html_url
stringlengths 48
51
| title
stringlengths 5
268
| comment
stringlengths 70
51.8k
| body
stringlengths 0
29.8k
| comment_length
int64 16
1.52k
| text
stringlengths 164
54.1k
| embeddings
listlengths 768
768
|
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/2128
|
Dialogue action slot name and value are reversed in MultiWoZ 2.2
|
Hi
Good catch ! Thanks for reporting
If you are interested in contributing, feel free to open a PR to fix this :)
|
Hi @yjernite, thank you for adding MultiWoZ 2.2 in the huggingface datasets platform. It is beneficial!
I spot an error that the order of Dialogue action slot names and values are reversed.
https://github.com/huggingface/datasets/blob/649b2c469779bc4221e1b6969aa2496d63eb5953/datasets/multi_woz_v22/multi_woz_v22.py#L251-L262
| 23
|
Dialogue action slot name and value are reversed in MultiWoZ 2.2
Hi @yjernite, thank you for adding MultiWoZ 2.2 in the huggingface datasets platform. It is beneficial!
I spot an error that the order of Dialogue action slot names and values are reversed.
https://github.com/huggingface/datasets/blob/649b2c469779bc4221e1b6969aa2496d63eb5953/datasets/multi_woz_v22/multi_woz_v22.py#L251-L262
Hi
Good catch ! Thanks for reporting
If you are interested in contributing, feel free to open a PR to fix this :)
|
[
0.42486849427223206,
-0.34569251537323,
0.017481327056884766,
0.4803563356399536,
-0.2102750688791275,
-0.007141368463635445,
0.18279775977134705,
0.11194005608558655,
-0.10078783333301544,
0.23865042626857758,
-0.3579919934272766,
0.13056416809558868,
0.023053614422678947,
0.392791748046875,
-0.02383812703192234,
-0.2758992314338684,
0.09429153054952621,
-0.013857061043381691,
0.04936766251921654,
0.13114458322525024,
-0.43564629554748535,
0.5747426152229309,
-0.5933912992477417,
0.6446864008903503,
-0.10716001689434052,
-0.014253106899559498,
0.06340191513299942,
0.11113513261079788,
-0.019426442682743073,
-0.05739003047347069,
0.0214846208691597,
0.08640333265066147,
-0.06867887079715729,
0.33537015318870544,
-0.00011619569704635069,
-0.2951154410839081,
0.2519223988056183,
0.11386766284704208,
0.017650848254561424,
-0.03080027364194393,
-0.26422178745269775,
0.08479457348585129,
-0.12489955127239227,
-0.13705866038799286,
0.23217609524726868,
0.18954342603683472,
-0.07462377846240997,
-0.08015922456979752,
0.27548861503601074,
-0.07842590659856796,
0.11571238934993744,
0.1648201048374176,
0.03574448078870773,
-0.05805354565382004,
-0.021583883091807365,
0.2198871225118637,
-0.08244325965642929,
0.19959573447704315,
0.02121838927268982,
0.12683966755867004,
0.0749814510345459,
0.3417919874191284,
-0.2010033279657364,
0.013219631277024746,
-0.1365135908126831,
0.13743694126605988,
-0.006453568581491709,
0.08071950078010559,
-0.09426076710224152,
0.3944840133190155,
0.12800167500972748,
-0.2043236345052719,
-0.25424811244010925,
-0.3739613890647888,
0.22522516548633575,
0.010793762281537056,
0.2898104190826416,
0.3622596263885498,
0.15706980228424072,
0.2073943167924881,
0.02189841866493225,
0.212363138794899,
0.2015572339296341,
-0.12399416416883469,
0.08488564193248749,
0.3029043674468994,
-0.1620902270078659,
0.08765300363302231,
-0.3311097323894501,
-0.24177958071231842,
0.006068530958145857,
0.24825040996074677,
-0.25158005952835083,
0.11569017171859741,
-0.42045262455940247,
0.20178717374801636,
0.033034548163414,
0.34250718355178833,
-0.009884740225970745,
-0.11900156736373901,
0.2433522343635559,
0.10677649825811386,
-0.1916656196117401,
-0.12373334169387817,
0.20643547177314758,
0.3674931228160858,
0.32112687826156616,
-0.25410643219947815,
-0.13708892464637756,
0.2693675756454468,
0.28844520449638367,
0.07144943624734879,
-0.013193879276514053,
-0.50804603099823,
-0.264976441860199,
0.05749912187457085,
0.38581177592277527,
0.07275514304637909,
-0.1866694837808609,
-0.11297633498907089,
-0.2294875532388687,
0.0604376345872879,
0.6087939739227295,
0.14586162567138672,
-0.31651774048805237,
0.45591193437576294,
0.182823047041893,
0.29859456419944763,
-0.03279067948460579,
0.07395312935113907,
-0.039536699652671814,
-0.21161922812461853,
-0.22458070516586304,
0.23889967799186707,
0.11425251513719559,
0.4980131983757019,
0.24823690950870514,
0.2565264403820038,
0.6652229428291321,
-0.02232332155108452,
-0.04907061532139778,
0.1431637555360794,
-0.0727885439991951,
-0.21910175681114197,
0.19805587828159332,
0.5540353059768677,
-0.08750764280557632,
0.22384296357631683,
0.039396338164806366,
-0.0764855295419693,
-0.5501947402954102,
-0.1435861736536026,
0.1170961782336235,
0.12500488758087158,
0.0781775489449501,
0.1016254648566246,
-0.0038590910844504833,
-0.1853639781475067,
0.2374023050069809,
-0.16186027228832245,
0.1959499567747116,
0.15657053887844086,
-0.21366840600967407,
-0.11770141869783401,
-0.17996685206890106,
0.03353572264313698,
0.2766280472278595,
0.04548335075378418,
0.1398208886384964,
0.02601228654384613,
0.08690977096557617,
0.21264638006687164,
-0.1619841754436493,
-0.12176332622766495,
-0.35245606303215027,
0.3236258029937744,
-0.10488639771938324,
-0.5939315557479858,
-0.028927000239491463,
-0.08068433403968811,
-0.32537299394607544,
0.0964091420173645,
0.20777712762355804,
-0.0007426506490446627,
-0.052292004227638245,
-0.23527048528194427,
0.32983317971229553,
0.05404123663902283,
0.25771522521972656,
0.2721789479255676,
-0.14927002787590027,
-0.25564637780189514,
0.4765293300151825,
-0.3049309551715851,
-0.25974369049072266,
0.062230367213487625,
-0.3183134198188782,
0.161495640873909,
0.5554067492485046,
-0.024431386962532997,
-0.14629772305488586,
0.05871499702334404,
-0.13424165546894073,
0.18563298881053925,
0.4008899927139282,
-0.059284210205078125,
-0.2871948480606079,
0.17100080847740173,
-0.7374224066734314,
-0.19462241232395172,
0.29399433732032776,
0.027317427098751068,
-0.02902948297560215,
-0.029599707573652267,
-0.3857566714286804,
-0.10960788279771805,
0.1072956770658493,
0.07467222213745117,
-0.1831601858139038,
-0.37497788667678833,
-0.20763568580150604,
0.7400960326194763,
0.05447700247168541,
0.14941082894802094,
-0.09582580626010895,
0.03850637003779411,
-0.0018467605113983154,
0.09115597605705261,
-0.028744634240865707,
0.3057428002357483,
0.41415759921073914,
0.17092768847942352,
-0.043063707649707794,
0.6762661933898926,
-0.01633237488567829,
0.20838399231433868,
-0.023159906268119812,
-0.21122069656848907,
0.08026877790689468,
-0.08808338642120361,
0.22062012553215027,
0.07090407609939575,
-0.19411414861679077,
0.10242245346307755,
-0.10426795482635498,
0.6511006951332092,
-0.24123042821884155,
0.002958025084808469,
-0.07783178985118866,
0.06698363274335861,
-0.024815961718559265,
-0.05098439380526543,
-0.41456642746925354,
-0.29641109704971313,
0.1980009227991104,
0.0032167427707463503,
-0.14465095102787018,
0.1842009425163269,
-0.4677918553352356,
0.018993573263287544,
0.5268554091453552,
0.003646352794021368,
0.11615817248821259,
-0.13444675505161285,
0.04936162382364273,
-0.19658119976520538,
0.14016322791576385,
0.3095352053642273,
0.21365997195243835,
0.15535806119441986,
-0.21793511509895325,
0.03338741138577461,
-0.14881470799446106,
0.007561889477074146,
0.2790917754173279,
-0.11654528230428696,
-0.0671326220035553,
0.1257621943950653,
0.17859295010566711,
0.08130369335412979,
-0.07080833613872528,
0.516391932964325,
0.20127157866954803,
-0.17686651647090912,
-0.4543139338493347,
-0.4007064998149872,
-0.38986730575561523,
-0.21145513653755188,
-0.3471466600894928,
-0.5310072898864746,
-0.21301206946372986,
-0.049122367054224014,
0.09001656621694565,
-0.16681411862373352,
0.1789441555738449,
0.21629759669303894,
0.22278861701488495,
0.0556245893239975,
0.009474234655499458,
0.4551241993904114,
-0.14282064139842987,
0.18387702107429504,
0.025618353858590126,
0.0008187938365153968,
-0.3795509338378906,
0.21412108838558197,
0.008938425220549107,
-0.1296355128288269,
-0.2861490547657013,
-0.2201647162437439,
-0.3470643162727356,
0.13661549985408783,
0.011150994338095188,
-0.23314933478832245,
0.13790388405323029,
-0.06103361025452614,
0.30588966608047485,
-0.34601297974586487,
0.286927193403244,
0.19757121801376343,
-0.07331035286188126,
0.25131964683532715,
-0.05235065147280693,
-0.18829013407230377,
-0.28629475831985474,
-0.051989614963531494,
0.14917907118797302,
-0.045723047107458115,
0.5657225847244263,
-0.061019204556941986,
0.15356458723545074,
0.21297591924667358,
-0.4396946132183075,
-0.1446075439453125,
-0.3862580955028534,
0.363907128572464,
-0.3491973876953125,
-0.37599676847457886,
0.2740391194820404,
-0.23828338086605072,
-0.00762484734877944,
-0.287404328584671,
0.08024429529905319,
0.08123068511486053,
-0.24731697142124176,
0.2349969893693924,
-0.42888984084129333,
-0.2434292733669281,
-0.22023721039295197,
0.2920057773590088,
0.0149222481995821,
0.14979781210422516,
0.16769760847091675,
0.03719509392976761,
-0.2795478403568268,
-0.35796353220939636,
0.4529721736907959,
0.4093860685825348,
0.3168846368789673,
0.14655810594558716,
-0.3183184862136841,
0.14415043592453003,
-0.13150565326213837,
0.19157232344150543,
0.42374980449676514,
-0.04034285247325897,
-0.054663900285959244,
-0.15758495032787323,
0.09401814639568329,
-0.42233040928840637,
0.4233854115009308,
0.09297578036785126,
0.2533920109272003,
0.13029465079307556,
0.18422669172286987,
-0.005336626432836056,
-0.0324566513299942,
0.2600775361061096,
-0.5889773964881897,
-0.24076774716377258,
-0.4462692439556122,
0.16366086900234222,
-0.07696749269962311,
-0.0008850277517922223,
-0.14934197068214417,
-0.38157105445861816,
-0.007778233848512173,
0.36460351943969727,
-0.06823592633008957,
-0.10933636873960495,
-0.2107592672109604,
-0.29211270809173584,
0.06834489852190018,
0.09841342270374298,
0.0979406088590622,
-0.003086367854848504,
0.0732315331697464,
0.2095308005809784,
-0.011196643114089966,
0.09096860885620117,
-0.0722905844449997,
0.8490322232246399,
0.38086992502212524,
0.15896081924438477,
-0.13715720176696777,
0.05859258398413658,
-0.3818635642528534,
-0.34671202301979065,
-0.20798033475875854,
0.21966701745986938,
0.10291557013988495,
0.22587285935878754,
0.013582385145127773,
-0.3630979061126709,
0.38290461897850037,
-0.4260428249835968,
-0.1406193971633911,
-0.2655021548271179,
-0.027305489405989647,
0.343902051448822,
-0.18935386836528778,
-0.4021928012371063,
-0.1628115028142929,
0.19362132251262665,
-0.07127363234758377,
-0.20609527826309204,
0.287833571434021,
0.019636601209640503,
0.1206144466996193,
-0.06545304507017136,
0.27330026030540466,
0.37060895562171936,
-0.07061285525560379,
0.1210649237036705,
0.25036585330963135,
-0.19851025938987732,
-0.0920986458659172,
0.2520001232624054,
-0.1673203408718109,
-0.1930323988199234,
-0.31559059023857117,
0.07802824676036835,
0.5454140901565552,
-0.354898065328598,
0.19366535544395447,
-0.05911355838179588,
0.34583136439323425,
-0.18935535848140717,
-0.17680370807647705,
0.6700114011764526,
0.2171916514635086,
0.059832751750946045,
-0.2858704626560211,
0.07239225506782532,
0.0444633774459362,
-0.3967032730579376,
0.16018614172935486,
0.3718761205673218,
-0.2270292490720749,
-0.3977591395378113,
0.06561340391635895,
0.9026173949241638,
0.07392281293869019,
-0.020497124642133713,
0.5355339646339417,
-0.27251049876213074,
0.18743617832660675,
-0.00834487285465002,
0.014412726275622845,
-0.027500346302986145,
0.27435097098350525,
-0.025841867551207542,
-0.08739699423313141,
-0.07415614277124405,
-0.05257650092244148,
-0.3574899137020111,
0.12987633049488068,
-0.07735835760831833,
-0.20541158318519592,
-0.3921942710876465,
-0.2816845774650574,
-0.05904776602983475,
-0.4611428380012512,
-0.12756510078907013,
0.04061981290578842,
0.026416664943099022,
-0.03527991473674774,
-0.16283026337623596,
-0.1320144087076187,
0.11652904003858566,
-0.05374074727296829,
-0.21623173356056213,
0.07811551541090012,
-0.6180955171585083,
-0.11730749905109406,
0.3643268346786499,
0.1441095620393753,
0.04893490672111511,
0.749352216720581,
0.39921924471855164,
0.1004936620593071,
-0.10190650820732117,
-0.034671179950237274,
0.03805902600288391,
0.14689940214157104,
-0.20573583245277405,
0.2596023678779602,
0.050052184611558914,
-0.09483916312456131,
-0.2738470137119293,
-0.39008498191833496,
0.2031746357679367,
0.22133588790893555,
-0.27029478549957275,
0.14766228199005127,
0.1704065054655075,
-0.1550683081150055,
-0.1391897052526474,
0.24862094223499298,
0.39796167612075806,
-0.11349091678857803,
0.07037324458360672,
0.03252524137496948,
-0.28525811433792114,
-0.075004942715168,
-0.1604665219783783,
-0.18529097735881805,
-0.03263413906097412,
0.3739668130874634,
-0.09919791668653488,
-0.20634014904499054,
0.25679558515548706,
0.3225001096725464,
-0.0970664918422699,
0.044321730732917786,
-0.042584776878356934,
-0.22754016518592834,
-0.13873706758022308,
-0.027631225064396858,
0.2397427260875702,
-0.3784750998020172,
-0.13648110628128052,
0.060839273035526276,
0.21789419651031494,
0.3661230802536011,
0.0013345524203032255,
-0.15553712844848633,
-0.10576224327087402,
0.21930287778377533,
0.2386520653963089,
-0.24830733239650726,
-0.14749307930469513,
0.022912535816431046,
0.2719474732875824,
-0.0955512747168541,
-0.26665619015693665,
0.22501999139785767,
-0.013729267753660679,
0.12349607795476913,
0.08066868036985397,
-0.27127909660339355,
0.04725860059261322,
0.014038913883268833,
0.1686255931854248,
-0.24455799162387848,
-0.07759308815002441,
-0.1566593050956726,
-0.23033170402050018,
0.09860450774431229,
-0.10597332566976547,
-0.18054591119289398,
0.2839011549949646,
-0.3058720827102661,
-0.025798484683036804,
-0.17839615046977997,
0.031036801636219025,
0.5340155363082886,
0.19806404411792755,
0.34273648262023926,
0.07379545271396637,
-0.2695980370044708,
-0.05488501489162445,
-0.016934603452682495,
-0.14950811862945557,
-0.25835201144218445,
-0.15437084436416626,
-0.010880803689360619,
-0.34706997871398926,
-0.0255427323281765,
0.20651112496852875,
0.15993766486644745,
-0.056614913046360016,
0.19925183057785034,
0.07567037642002106,
-0.41591697931289673,
-0.055566515773534775,
0.2746027708053589,
0.32026219367980957,
-0.21265313029289246,
0.15993890166282654,
-0.0379316620528698,
-0.06892747431993484,
0.11960483342409134,
-0.13381771743297577,
-0.10152057558298111,
0.12735943496227264,
-0.1396164447069168,
-0.15326403081417084,
0.02117878571152687,
-0.403520405292511,
-0.09856101870536804,
0.00961672980338335,
-0.053124286234378815,
0.02452736347913742,
-0.3315931260585785,
0.12228256464004517,
0.08533141016960144,
-0.11640428006649017,
0.24020680785179138,
0.3083598017692566,
0.11648417264223099,
0.16113893687725067,
0.13342787325382233,
0.30297499895095825,
0.023799873888492584,
0.08056527376174927,
0.4619537889957428,
0.48428770899772644,
-0.12081383168697357,
-0.4640152156352997,
0.253731369972229,
-0.23798389732837677,
0.16309581696987152,
0.1570432037115097,
0.6198300123214722,
-0.12271508574485779,
-0.08650980144739151,
-0.3934352993965149,
0.3281676769256592,
-0.20678217709064484,
-0.3310207724571228,
-0.28289374709129333,
-0.032240625470876694,
-0.13902805745601654,
-0.2844771146774292,
-0.07418917864561081,
0.23608353734016418,
0.4354279041290283,
0.18579110503196716,
-0.12638413906097412,
-0.5862566232681274,
-0.24767211079597473,
0.161483496427536,
0.15319311618804932,
-0.23232018947601318,
0.24588198959827423,
0.1750437170267105,
-0.09987398236989975,
0.2778567969799042,
0.405159592628479,
0.1902061551809311,
0.312346875667572,
-0.0923781767487526,
-0.036278195679187775,
0.08006850630044937,
0.04301325976848602,
0.0009693761239759624,
-0.18734844028949738,
0.28561049699783325,
0.2895570993423462,
-0.05679949373006821,
0.07398845255374908,
-0.19555114209651947,
0.13645924627780914,
-0.06085282936692238,
0.2052820473909378,
-0.122983917593956,
0.37804266810417175,
-0.4240855872631073,
-0.03206987306475639,
-0.2460831254720688,
0.08475063741207123,
-0.49779191613197327,
0.021752886474132538,
-0.13380178809165955,
0.08797967433929443,
-0.038384176790714264,
0.10691877454519272,
0.06770480424165726,
0.34950804710388184,
0.26720622181892395,
0.20330476760864258,
-0.05206673964858055,
-0.01902511902153492,
-0.0816776379942894,
-0.26358798146247864,
0.064821757376194,
0.5914791226387024,
0.4455242156982422,
0.10269948840141296,
-0.03898000717163086,
-0.06547856330871582,
-0.25872480869293213,
0.3318718373775482,
-0.0806487500667572,
0.07486502081155777,
-0.0159804318100214,
-0.39047273993492126,
0.35144707560539246,
0.41201815009117126,
0.10349135845899582,
0.29829129576683044,
0.04278844967484474,
0.138015016913414,
0.09909669309854507,
-0.06827381998300552,
0.10410372912883759,
0.36992430686950684,
-0.25380170345306396,
-0.46203845739364624,
-0.0537603385746479,
0.07159540802240372,
-0.10991551727056503,
-0.06809011846780777,
-0.06285425275564194,
-0.06395307928323746,
-0.05057572200894356,
-0.17505568265914917,
-0.22070962190628052,
-0.37779372930526733,
0.32294541597366333,
-0.26595523953437805,
-0.05384485051035881,
-0.1311866044998169,
-0.16329269111156464,
0.08749853074550629,
-0.18178263306617737,
-0.4835093915462494,
0.4868098497390747,
0.18750083446502686,
-0.07769887149333954,
0.15754996240139008,
-0.07477506995201111,
-0.041098546236753464,
0.24361586570739746,
-0.035681966692209244,
-0.280941367149353,
0.5687158703804016,
-0.252185583114624,
-0.055918414145708084,
-0.1319856196641922,
0.45106446743011475,
-0.38662204146385193,
-0.1106124073266983,
-0.2237977832555771,
-0.006583374924957752,
0.09025243669748306,
0.17364102602005005,
-0.1896892786026001,
0.20940588414669037,
-0.16016560792922974,
-0.257333904504776,
-0.12313339859247208,
-0.009901092387735844,
0.5217804312705994,
-0.34924551844596863,
0.2818288505077362,
0.11117444187402725
] |
https://github.com/huggingface/datasets/issues/2123
|
Problem downloading GEM wiki_auto_asset_turk dataset
|
Hi,
sadly I can't replicate the problem on my Windows machine. Try to update the library to the newest version with:
```bash
pip install git+https://github.com/huggingface/datasets
```
|
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
| 26
|
Problem downloading GEM wiki_auto_asset_turk dataset
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
Hi,
sadly I can't replicate the problem on my Windows machine. Try to update the library to the newest version with:
```bash
pip install git+https://github.com/huggingface/datasets
```
|
[
-0.0816882774233818,
-0.02807963266968727,
-0.04647590592503548,
0.44956451654434204,
0.2806953489780426,
0.11595889180898666,
0.31619423627853394,
0.177861288189888,
0.24703945219516754,
-0.11711584776639938,
0.176663339138031,
0.17229799926280975,
0.114234559237957,
-0.003352771745994687,
-0.1686285138130188,
-0.18245220184326172,
-0.015406370162963867,
-0.07302720099687576,
0.059767354279756546,
-0.18034754693508148,
-0.02590911276638508,
0.21450382471084595,
-0.10212230682373047,
-0.12988588213920593,
-0.299625426530838,
0.1392066478729248,
0.07057569175958633,
-0.057968802750110626,
-0.2835348844528198,
-0.08461632579565048,
0.5160748362541199,
0.015269327908754349,
0.05412520840764046,
0.3606871962547302,
-0.00011917751544388011,
-0.08839025348424911,
0.43472352623939514,
-0.0755552276968956,
-0.09628886729478836,
-0.4143657386302948,
-0.1749688684940338,
-0.4833085238933563,
0.10668962448835373,
-0.21663258969783783,
0.1262149214744568,
0.3857176899909973,
-0.08583489060401917,
0.18573229014873505,
0.05519968643784523,
0.006708258762955666,
0.18971316516399384,
0.3324503004550934,
0.10762232542037964,
-0.012392417527735233,
0.17071665823459625,
-0.44813618063926697,
-0.22145353257656097,
0.003314258996397257,
-0.1796579658985138,
0.13151182234287262,
0.03956139460206032,
0.1944483369588852,
-0.09390438348054886,
0.3865465819835663,
0.1432819366455078,
0.16569773852825165,
-0.11273200064897537,
-0.5313153862953186,
0.3458320200443268,
0.3503461182117462,
0.7223212122917175,
-0.13621893525123596,
-0.4294934868812561,
-0.1829371154308319,
0.010977436788380146,
0.07251673191785812,
0.14563202857971191,
0.44502678513526917,
-0.4367171823978424,
0.06262580305337906,
-0.4804292917251587,
-0.010817395523190498,
-0.050440069288015366,
0.19699740409851074,
-0.2779843211174011,
0.1538730263710022,
-0.18021723628044128,
0.027548637241125107,
0.022401761263608932,
-0.01934327371418476,
-0.5223583579063416,
-0.2752557396888733,
-0.19004562497138977,
0.3314405679702759,
-0.31892305612564087,
0.1227753683924675,
0.07557275146245956,
0.22142985463142395,
0.3313720226287842,
0.32134345173835754,
0.0606168694794178,
0.21028661727905273,
-0.2032114863395691,
0.06879962980747223,
0.12377125769853592,
0.340644508600235,
-0.018902035430073738,
-0.38975754380226135,
0.24350567162036896,
0.14552339911460876,
-0.009432288818061352,
0.06124797835946083,
-0.13621996343135834,
-0.05310791730880737,
0.2008870542049408,
-0.32214999198913574,
0.14963753521442413,
-0.10727246850728989,
-0.1480012834072113,
0.31968751549720764,
0.18031255900859833,
-0.08442944288253784,
-0.12697672843933105,
0.22174520790576935,
-0.30379244685173035,
-0.12069447338581085,
-0.17476843297481537,
0.3599667549133301,
-0.17787712812423706,
0.15025590360164642,
-0.0383375808596611,
-0.19554872810840607,
-0.07614566385746002,
-0.08926325291395187,
0.2936598062515259,
-0.3465358316898346,
0.43339741230010986,
0.1367747038602829,
-0.15265272557735443,
-0.11691181361675262,
-0.12875694036483765,
-0.03904230147600174,
0.09819671511650085,
0.3059737980365753,
0.13162580132484436,
0.8464611768722534,
-0.09537056088447571,
-0.19500182569026947,
-0.0023450260050594807,
-0.021980224177241325,
-0.22240106761455536,
-0.1721920520067215,
-0.16157065331935883,
0.11617258191108704,
-0.5253874659538269,
-0.24426938593387604,
-0.08053554594516754,
0.26233717799186707,
0.18200749158859253,
-0.13391152024269104,
-0.04985606297850609,
0.0547221340239048,
0.0323234498500824,
-0.206560418009758,
0.5081899762153625,
0.6407991051673889,
-0.18340584635734558,
-0.09221760183572769,
-0.06929643452167511,
0.04969225451350212,
0.4750286936759949,
0.027860034257173538,
0.056707169860601425,
-0.2645196318626404,
-0.07624631375074387,
0.3398230969905853,
0.15680663287639618,
0.04189983755350113,
-0.6642849445343018,
0.25932133197784424,
-0.11471323668956757,
0.34748947620391846,
0.04572885110974312,
0.1448649764060974,
0.07916796952486038,
0.21383418142795563,
-0.2915186882019043,
0.21786558628082275,
0.07796712219715118,
-0.16810853779315948,
-0.3459104299545288,
-0.506344735622406,
0.03269956633448601,
0.06524017453193665,
0.10508355498313904,
-0.03522558510303497,
0.09226900339126587,
-0.02971387282013893,
0.3413633704185486,
0.2768881618976593,
0.27601298689842224,
0.10049472004175186,
0.16943420469760895,
-0.19272315502166748,
-0.03915616124868393,
-0.1571129411458969,
-0.09866906702518463,
0.4336702525615692,
0.5681722164154053,
0.07558248192071915,
-0.04030565917491913,
0.05293377488851547,
-0.23217585682868958,
-0.09863618016242981,
-0.2844690978527069,
-0.061379168182611465,
0.03204122558236122,
0.1366153061389923,
0.27584415674209595,
0.3003496527671814,
0.0641762912273407,
0.058875467628240585,
-0.027384048327803612,
0.07695191353559494,
-0.03649738058447838,
0.1805674284696579,
0.11569670587778091,
-0.15360818803310394,
-0.17361776530742645,
-0.03807537257671356,
-0.02462048828601837,
0.12010299414396286,
-0.17403686046600342,
-0.0016028977697715163,
-0.25246462225914,
0.13768815994262695,
-0.0012001567520201206,
-0.042197518050670624,
0.18141861259937286,
0.09248615056276321,
-0.08200163394212723,
0.03425484150648117,
0.15879341959953308,
0.024061929434537888,
-0.048247236758470535,
0.11658413708209991,
0.19641420245170593,
0.3760875463485718,
-0.01566275954246521,
0.1976141780614853,
0.30159586668014526,
-0.023061484098434448,
-0.010158882476389408,
-0.04835842549800873,
0.3486323356628418,
-0.291757196187973,
-0.09285788238048553,
-0.05292872339487076,
-0.12221405655145645,
0.2972111701965332,
0.5440859198570251,
0.14406821131706238,
0.1042795479297638,
0.2706984281539917,
-0.34047961235046387,
0.05801534280180931,
0.007460745517164469,
0.5212212204933167,
0.27173763513565063,
0.12540872395038605,
0.2412404865026474,
-0.33571523427963257,
0.022784754633903503,
-0.22539015114307404,
0.0504494346678257,
0.34119513630867004,
0.03101348504424095,
0.4100665748119354,
0.11522591859102249,
0.15890398621559143,
-0.1292019933462143,
-0.0007824349449947476,
0.09249410778284073,
0.10122931003570557,
-0.06135692074894905,
-0.08277575671672821,
-0.27904096245765686,
0.25508010387420654,
0.019132617861032486,
-0.4520639181137085,
-0.18735980987548828,
-0.1690155416727066,
-0.11129153519868851,
0.06013564392924309,
0.014932075515389442,
-0.0829622894525528,
-0.12731361389160156,
-0.1843741089105606,
-0.0779932513833046,
-0.46612679958343506,
-0.3761630356311798,
-0.03931902348995209,
-0.3338099718093872,
-0.05436808243393898,
0.13496975600719452,
-0.10559767484664917,
0.34032678604125977,
-0.12592387199401855,
0.08955327421426773,
-0.1539134383201599,
-0.2383001148700714,
0.03642052039504051,
-0.03915448486804962,
0.4648880958557129,
-0.2274119108915329,
0.4167214334011078,
-0.2183644324541092,
-0.09464090317487717,
0.20818960666656494,
-0.011789868585765362,
0.011748699471354485,
0.16015318036079407,
0.10840021818876266,
-0.1841403841972351,
-0.12142516672611237,
-0.24914513528347015,
-0.33702516555786133,
-0.36700668931007385,
0.05549544095993042,
0.17506703734397888,
-0.06031462550163269,
0.12394975870847702,
0.23809374868869781,
0.050488319247961044,
0.07896944880485535,
0.059755370020866394,
-0.05466734245419502,
-0.31527867913246155,
0.7877441048622131,
-0.09810720384120941,
-0.45636221766471863,
0.2528221309185028,
0.019449444487690926,
0.32361480593681335,
0.11902119964361191,
-0.5418386459350586,
0.19383110105991364,
-0.2075992077589035,
0.25285619497299194,
0.31192323565483093,
0.1334056705236435,
0.0659782886505127,
-0.30063116550445557,
0.08505846560001373,
-0.14488428831100464,
-0.06482216715812683,
-0.05182817205786705,
0.03452998399734497,
0.25224658846855164,
0.04487905651330948,
0.28089043498039246,
0.07305269688367844,
0.84972083568573,
0.3471921384334564,
-0.12782523036003113,
0.4330379068851471,
0.022269701585173607,
0.12226351350545883,
0.027523726224899292,
-0.21620410680770874,
-0.18812775611877441,
-0.28012779355049133,
0.19280517101287842,
0.1971004158258438,
0.2568848133087158,
-0.19272065162658691,
-0.0705794095993042,
-0.035485249012708664,
-0.4562735855579376,
-0.3566123843193054,
-0.15646757185459137,
0.17494626343250275,
0.019850652664899826,
0.2528766095638275,
0.3252730965614319,
0.04196946322917938,
-0.31579023599624634,
0.07094766199588776,
0.6042266488075256,
-0.018090596422553062,
0.13276267051696777,
0.09600517153739929,
0.09638465195894241,
-0.6682868003845215,
0.08018975704908371,
-0.07313404232263565,
0.05244450271129608,
-0.05863238871097565,
0.07503329962491989,
0.155850350856781,
-0.16773498058319092,
0.21046632528305054,
-0.16857297718524933,
0.1192496120929718,
-0.18134242296218872,
-0.1501007080078125,
-0.2522386908531189,
-0.18857544660568237,
0.0301534291356802,
-0.01709946058690548,
0.4971937835216522,
0.06766119599342346,
-0.35471493005752563,
-0.04692951217293739,
0.031927186995744705,
0.19900643825531006,
-0.13856491446495056,
-0.24398082494735718,
-0.2731698155403137,
-0.45306503772735596,
-0.3138141632080078,
-0.16196174919605255,
-0.15990671515464783,
0.3852413296699524,
-0.18530502915382385,
-0.29510581493377686,
-0.0774150937795639,
0.24959906935691833,
0.1731633096933365,
-0.03361349552869797,
0.333549439907074,
0.1254868358373642,
0.4604851305484772,
0.09826326370239258,
-0.04912681132555008,
-0.205921933054924,
0.5613109469413757,
0.28769537806510925,
0.004021988715976477,
0.04033851623535156,
-0.30949991941452026,
0.0059942519292235374,
0.2227872610092163,
-0.19435979425907135,
0.008888396434485912,
-0.04279642924666405,
0.2556535601615906,
-0.23047186434268951,
0.004415730480104685,
0.26769453287124634,
-0.04390643164515495,
-0.16576553881168365,
-0.3439021110534668,
0.7110816240310669,
-0.18708938360214233,
0.007371131330728531,
0.18144701421260834,
0.31931227445602417,
0.11084608733654022,
0.19710463285446167,
-0.10536695271730423,
0.7823935747146606,
0.03102836385369301,
0.006850211415439844,
0.09072329849004745,
0.006608319468796253,
0.42809340357780457,
-0.18397283554077148,
0.10171625763177872,
-0.2968292236328125,
0.16755324602127075,
-0.11274494230747223,
0.06549880653619766,
-0.11942888051271439,
0.03177673742175102,
-0.11006719619035721,
0.1077064573764801,
-0.10439736396074295,
0.2221229374408722,
0.0014598354464396834,
0.058845262974500656,
-0.42587757110595703,
-0.15709573030471802,
-0.027179855853319168,
0.10529648512601852,
0.08115889877080917,
0.6855874061584473,
0.022678464651107788,
-0.24247430264949799,
-0.2606487572193146,
-0.10972018539905548,
-0.6135624051094055,
0.10319022834300995,
0.05003364756703377,
-0.10132433474063873,
-0.14354194700717926,
-0.4398382008075714,
0.010420029051601887,
0.40394729375839233,
0.010089189745485783,
0.14774265885353088,
-0.38379839062690735,
0.25928035378456116,
-0.35606810450553894,
-0.08079478144645691,
0.15738852322101593,
-0.09868355095386505,
0.09808473289012909,
-0.22208000719547272,
-0.2630314826965332,
-0.05209249630570412,
-0.10264939814805984,
0.28725671768188477,
-0.1842312514781952,
0.09939547628164291,
0.16687989234924316,
-0.0009767133742570877,
-0.32649099826812744,
0.08992071449756622,
-0.03641171008348465,
-0.10962571203708649,
0.10866554081439972,
0.11197710782289505,
0.07540466636419296,
0.22908368706703186,
0.11395321786403656,
-0.26539158821105957,
-0.22748006880283356,
0.4559679627418518,
-0.2483854740858078,
0.1248023733496666,
0.3189179599285126,
-0.03182825818657875,
-0.24073420464992523,
-0.09669069945812225,
-0.10995307564735413,
0.03593368083238602,
-0.7207140922546387,
-0.24189649522304535,
0.052649062126874924,
0.31255874037742615,
-0.11537810415029526,
-0.11670063436031342,
0.13478560745716095,
-0.43126389384269714,
-0.28943943977355957,
-0.45843592286109924,
0.18004539608955383,
0.10599306225776672,
-0.040889520198106766,
0.10172677040100098,
-0.43673667311668396,
-0.43327051401138306,
0.3100476861000061,
0.07613100111484528,
-0.17049409449100494,
0.0007379378657788038,
-0.10806221514940262,
-0.1516115814447403,
0.21512292325496674,
0.2728159725666046,
0.23047760128974915,
0.0991629958152771,
-0.015070410445332527,
0.08015275746583939,
-0.19008082151412964,
-0.138388991355896,
-0.17027553915977478,
0.19586609303951263,
0.14055511355400085,
0.021182572469115257,
0.1988038271665573,
-0.08945496380329132,
-0.21010306477546692,
-0.10730544477701187,
0.21274317800998688,
0.01083455141633749,
-0.04498985782265663,
0.053858544677495956,
0.06547491997480392,
0.417901873588562,
-0.41344836354255676,
0.10119913518428802,
-0.07695899903774261,
0.8318878412246704,
0.049831900745630264,
-0.022861815989017487,
0.5013246536254883,
0.11817390471696854,
-0.1698741763830185,
-0.16427500545978546,
-0.09662821143865585,
-0.11652477830648422,
0.31936952471733093,
-0.28749731183052063,
0.47920119762420654,
0.143808975815773,
0.12565948069095612,
0.3302173316478729,
-0.05931079387664795,
-0.05044826865196228,
0.20035545527935028,
0.22628800570964813,
-0.13594213128089905,
-0.14414550364017487,
0.016187669709324837,
0.028666585683822632,
-0.019942810758948326,
-0.08073975145816803,
0.12977726757526398,
-0.2770058810710907,
-0.210116446018219,
0.041408661752939224,
0.5093352794647217,
-0.1377749741077423,
-0.17086359858512878,
0.4947824776172638,
0.055908266454935074,
0.317951500415802,
-0.04975062981247902,
-0.05348428338766098,
-0.1506355255842209,
0.39666977524757385,
-0.1369430273771286,
0.3893027901649475,
0.020155901089310646,
0.12616291642189026,
-0.4025038778781891,
-0.47966277599334717,
-0.06442046165466309,
0.07339530438184738,
-0.12306340038776398,
0.28886938095092773,
0.08237482607364655,
0.38915830850601196,
0.07586183398962021,
0.004795189015567303,
-0.4773796498775482,
-0.01596045307815075,
0.040885236114263535,
-0.08416975289583206,
0.050466615706682205,
-0.3593042194843292,
-0.18008868396282196,
0.3654744327068329,
0.07559730857610703,
-0.16843900084495544,
0.3236731290817261,
0.1039581373333931,
-0.1719418466091156,
-0.6745166778564453,
-0.04642833024263382,
-0.07193639129400253,
0.06789328157901764,
-0.2763385474681854,
0.06873057037591934,
0.213711217045784,
-0.15656420588493347,
-0.07317638397216797,
0.07832301408052444,
0.3924461901187897,
0.3857099413871765,
0.08320149034261703,
-0.014165880158543587,
0.02950120158493519,
-0.03734125196933746,
-0.24442875385284424,
0.386662095785141,
0.24927395582199097,
-0.039812371134757996,
0.11741623282432556,
0.09380850195884705,
-0.2524932026863098,
0.13721604645252228,
0.03139672800898552,
-0.036642398685216904,
-0.22422979772090912,
0.6495131850242615,
-0.3568865656852722,
0.13878877460956573,
-0.13060994446277618,
-0.33635303378105164,
-0.38082167506217957,
-0.029644787311553955,
0.323725163936615,
0.0874633640050888,
0.06380824744701385,
-0.3256826102733612,
0.03429220989346504,
-0.21439571678638458,
0.2552117705345154,
0.10645700991153717,
0.14825601875782013,
-0.28218716382980347,
0.08133751153945923,
-0.7299485802650452,
-0.017394347116351128,
0.1375167816877365,
0.021475227549672127,
-0.05835844576358795,
0.2993563711643219,
-0.2897767126560211,
0.15072238445281982,
0.20902472734451294,
-0.09645526856184006,
0.25721508264541626,
0.3506220281124115,
-0.27753132581710815,
-0.0317806676030159,
-0.319412499666214,
-0.013292676769196987,
-0.07512909173965454,
-0.2688680589199066,
0.27876076102256775,
-0.579687774181366,
-0.0678596943616867,
-0.06517605483531952,
0.003957750741392374,
0.18400296568870544,
-0.3104114830493927,
0.7294000387191772,
0.028063373640179634,
0.3549140393733978,
-0.08167944848537445,
-0.10186809301376343,
-0.39294445514678955,
0.05223208665847778,
-0.0009314210619777441,
0.19370241463184357,
-0.14030399918556213,
0.297494113445282,
0.07829812914133072,
0.09302449226379395,
-0.13263171911239624,
-0.11258364468812943,
0.12304608523845673,
0.2825121283531189,
0.00017692780238576233,
-0.30038750171661377,
-0.04450489208102226,
0.08815602213144302,
0.22078701853752136,
0.3169260025024414,
-0.1306290626525879,
0.17513912916183472,
-0.1964048147201538,
-0.2953557074069977,
0.39677372574806213,
-0.3647966980934143,
-0.1716308295726776,
-0.08752862364053726,
0.1622871309518814,
0.34070274233818054,
-0.07468273490667343,
-0.5330118536949158,
0.012224133126437664,
0.2591095268726349,
-0.10607537627220154,
-0.25068145990371704,
0.15627430379390717,
0.06404657661914825,
-0.15459021925926208,
-0.029387107118964195,
0.24503479897975922,
0.031133325770497322,
-0.30946749448776245,
0.36450135707855225,
-0.1493784487247467
] |
https://github.com/huggingface/datasets/issues/2123
|
Problem downloading GEM wiki_auto_asset_turk dataset
|
Is there an error message ?
What stacktrace do you get if you interrupt the execution of the program while downloading ?
|
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
| 22
|
Problem downloading GEM wiki_auto_asset_turk dataset
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
Is there an error message ?
What stacktrace do you get if you interrupt the execution of the program while downloading ?
|
[
-0.13216310739517212,
0.014239362441003323,
-0.08156020194292068,
0.4399946928024292,
0.29924410581588745,
0.14021825790405273,
0.37947311997413635,
0.14778830111026764,
0.2320193350315094,
-0.04262938350439072,
0.2344701588153839,
0.1440671980381012,
0.10741304606199265,
-0.021876171231269836,
-0.19619180262088776,
-0.14184792339801788,
-0.0774906650185585,
-0.06995115429162979,
0.13318708539009094,
-0.15730035305023193,
-0.08628746122121811,
0.17461447417736053,
-0.16014361381530762,
-0.04029054567217827,
-0.2822537124156952,
0.03166466951370239,
0.1252022683620453,
0.030635910108685493,
-0.2620677649974823,
-0.15334837138652802,
0.5731257200241089,
0.05439663305878639,
0.07772906869649887,
0.4127722680568695,
-0.0001159479288617149,
-0.03705105185508728,
0.4838814437389374,
-0.08064298331737518,
-0.09327986091375351,
-0.43434780836105347,
-0.2929488718509674,
-0.4289582073688507,
0.1403425931930542,
-0.30423906445503235,
0.25898587703704834,
0.36995744705200195,
-0.04719429463148117,
0.12294147908687592,
0.12231528759002686,
0.06047024950385094,
0.20332734286785126,
0.26531052589416504,
0.09522996097803116,
0.012696516700088978,
0.2613682448863983,
-0.5051369071006775,
-0.15506918728351593,
0.03394131734967232,
-0.24034039676189423,
0.2069728672504425,
0.061353228986263275,
0.14254476130008698,
-0.14775171875953674,
0.4220525920391083,
0.07426554709672928,
0.10518594086170197,
-0.04626865312457085,
-0.6357184052467346,
0.32058027386665344,
0.4154243767261505,
0.7859736680984497,
-0.0836307629942894,
-0.34442847967147827,
-0.08040975779294968,
0.03735942393541336,
0.01711159385740757,
0.1368556022644043,
0.46560388803482056,
-0.4767643213272095,
0.049545302987098694,
-0.3980370759963989,
0.006769312079995871,
-0.040578294545412064,
0.19481223821640015,
-0.31154730916023254,
0.14012818038463593,
-0.1546684056520462,
0.07386598736047745,
-0.09895343333482742,
0.08637788146734238,
-0.2981092631816864,
-0.342728853225708,
-0.11500435322523117,
0.28186744451522827,
-0.4654184877872467,
0.11564406752586365,
0.13179945945739746,
0.0213575828820467,
0.24425314366817474,
0.2795453667640686,
0.06940753012895584,
0.21858307719230652,
-0.17330671846866608,
0.10269398987293243,
0.2011166661977768,
0.29092663526535034,
-0.10334175825119019,
-0.3722582757472992,
0.2547011375427246,
0.11483295261859894,
0.0021208154503256083,
0.04271005094051361,
-0.1206837072968483,
0.0035347887314856052,
0.2396802008152008,
-0.2869567275047302,
0.2340715229511261,
-0.12004035711288452,
-0.20408329367637634,
0.38727840781211853,
0.03142132610082626,
-0.0665435642004013,
-0.1857517510652542,
0.25593703985214233,
-0.1681704819202423,
-0.08811265230178833,
-0.14469213783740997,
0.3099091649055481,
-0.1549849957227707,
0.10476316511631012,
-0.08532457053661346,
-0.19816869497299194,
-0.03627642244100571,
-0.13007104396820068,
0.2148914784193039,
-0.2713974118232727,
0.34525442123413086,
0.12410565465688705,
-0.1539851874113083,
-0.15738095343112946,
-0.008105292916297913,
-0.11004296690225601,
0.1143702045083046,
0.3390207588672638,
0.1603045016527176,
0.8072761297225952,
-0.07441015541553497,
-0.10661293566226959,
-0.0066186790354549885,
0.08227182924747467,
-0.2562870681285858,
-0.23049995303153992,
-0.0900210440158844,
0.15751466155052185,
-0.4614281952381134,
-0.19368036091327667,
-0.04242061823606491,
0.21538786590099335,
0.16265466809272766,
-0.1899278610944748,
-0.08492343872785568,
-0.00995211023837328,
0.058062344789505005,
-0.25180649757385254,
0.4788053333759308,
0.5534899234771729,
-0.30834251642227173,
-0.02153707668185234,
-0.11117478460073471,
-0.01942862756550312,
0.45095688104629517,
0.003410325851291418,
0.002683766186237335,
-0.034290362149477005,
-0.0746413916349411,
0.38151782751083374,
0.305349737405777,
0.03751853480935097,
-0.6943235397338867,
0.27038198709487915,
-0.18996572494506836,
0.2698344588279724,
-0.06332671642303467,
0.14155086874961853,
0.13295304775238037,
0.1815430372953415,
-0.32579734921455383,
0.2547835111618042,
0.00731431832537055,
-0.1606893390417099,
-0.3478212356567383,
-0.5174871683120728,
0.10668326169252396,
0.09589718282222748,
0.1435384303331375,
-0.04423536732792854,
0.10809103399515152,
-0.024679983034729958,
0.3150688409805298,
0.29800137877464294,
0.20287248492240906,
0.1548972725868225,
0.13081158697605133,
-0.22103619575500488,
-0.09339841455221176,
-0.1403902918100357,
-0.005630913656204939,
0.3707253634929657,
0.5322458148002625,
0.06015758216381073,
-0.009158791974186897,
0.04869195073843002,
-0.30593547224998474,
-0.06592487543821335,
-0.2911714017391205,
-0.0881633535027504,
0.07568750530481339,
0.08474083244800568,
0.21083909273147583,
0.3549525737762451,
0.012400580570101738,
0.08669141680002213,
-0.06555047631263733,
0.0727587342262268,
0.044524047523736954,
0.21004651486873627,
0.04012960195541382,
-0.14693380892276764,
-0.21578527987003326,
-0.11209996789693832,
-0.035179927945137024,
0.04633669927716255,
-0.26124703884124756,
0.11823143810033798,
-0.23261655867099762,
0.0806271880865097,
-0.017480283975601196,
-0.17994756996631622,
0.08559906482696533,
0.07203894853591919,
-0.07704781740903854,
0.001003556651994586,
0.2271568328142166,
-0.02082863263785839,
0.06484254449605942,
0.04804782196879387,
0.22591708600521088,
0.38033103942871094,
-0.024913879111409187,
0.1595371663570404,
0.34193846583366394,
-0.064039446413517,
0.045371055603027344,
0.03324955701828003,
0.34000661969184875,
-0.18625034391880035,
-0.11970768868923187,
-0.16744059324264526,
-0.13240014016628265,
0.190776064991951,
0.5834688544273376,
0.07616595178842545,
0.07216933369636536,
0.21466612815856934,
-0.29844558238983154,
0.0452682264149189,
0.009208633564412594,
0.5815953016281128,
0.3240533173084259,
0.11710178107023239,
0.20980800688266754,
-0.3470679521560669,
0.06776253134012222,
-0.2248477041721344,
0.03454848751425743,
0.3847315311431885,
0.06527239084243774,
0.42563921213150024,
0.12019234895706177,
0.15149343013763428,
-0.08371884375810623,
-0.11623066663742065,
0.16352903842926025,
0.14167481660842896,
-0.006845255382359028,
-0.0428999625146389,
-0.23254363238811493,
0.15404948592185974,
0.05981924384832382,
-0.45422452688217163,
-0.1608746498823166,
-0.27003544569015503,
-0.11197461187839508,
-0.011542590335011482,
0.012017803266644478,
-0.03200856223702431,
-0.19505687057971954,
-0.17261840403079987,
-0.027159571647644043,
-0.3007718324661255,
-0.31058868765830994,
-0.1425122767686844,
-0.3204443156719208,
-0.05354692414402962,
0.13488443195819855,
-0.059687886387109756,
0.30729031562805176,
-0.10359586030244827,
0.09555189311504364,
-0.05904002487659454,
-0.19237251579761505,
0.15067245066165924,
0.020947327837347984,
0.3641681969165802,
-0.19459915161132812,
0.41042956709861755,
-0.14341890811920166,
-0.1419553905725479,
0.15348559617996216,
-0.016184240579605103,
0.009124718606472015,
0.23766839504241943,
0.13524585962295532,
-0.17965000867843628,
-0.11438874155282974,
-0.3453749418258667,
-0.3516608476638794,
-0.3800870478153229,
-0.0870521068572998,
0.15931911766529083,
-0.03950072079896927,
0.015103938058018684,
0.1947147250175476,
0.14413119852542877,
0.09858899563550949,
-0.03646145761013031,
-0.08534751832485199,
-0.34600526094436646,
0.7302364706993103,
-0.1546863615512848,
-0.3846495449542999,
0.29620054364204407,
-0.07900984585285187,
0.2984310984611511,
0.13664691150188446,
-0.5572385191917419,
0.27801695466041565,
-0.2417077124118805,
0.20900371670722961,
0.18660815060138702,
0.039876531809568405,
0.1015411987900734,
-0.2553364336490631,
0.05487331375479698,
-0.12689416110515594,
-0.04964546859264374,
0.008049583993852139,
0.08816135674715042,
0.31327009201049805,
0.0028213984332978725,
0.3143165409564972,
0.021727070212364197,
0.9094251394271851,
0.28008702397346497,
-0.11648139357566833,
0.3772400915622711,
0.05089600756764412,
0.07646425068378448,
0.0019649171736091375,
-0.13391287624835968,
-0.15276135504245758,
-0.22878694534301758,
0.030707821249961853,
0.13792835175991058,
0.10207252204418182,
-0.30402112007141113,
-0.10349898785352707,
0.008298526518046856,
-0.4625445604324341,
-0.4070030450820923,
-0.20329001545906067,
0.14943352341651917,
0.05583132058382034,
0.2711258828639984,
0.3171411156654358,
0.05343107879161835,
-0.1946011632680893,
-0.01396067813038826,
0.569013237953186,
-0.04949643835425377,
0.03507907688617706,
0.09903673082590103,
0.20035047829151154,
-0.5515702366828918,
0.10029792785644531,
-0.040599070489406586,
0.07728594541549683,
-0.07273434847593307,
0.09666114300489426,
0.16132913529872894,
-0.1698451042175293,
0.1840684562921524,
-0.26042088866233826,
0.08848763257265091,
-0.07463037222623825,
-0.05900982394814491,
-0.3061179518699646,
-0.2616584599018097,
-0.06274914741516113,
0.000180751463631168,
0.5773658752441406,
-0.08712862432003021,
-0.3358076512813568,
0.04492064565420151,
0.09695499390363693,
0.13663369417190552,
-0.17198239266872406,
-0.29329442977905273,
-0.2531774044036865,
-0.4875628650188446,
-0.343060165643692,
-0.09709630161523819,
-0.16722923517227173,
0.2974112331867218,
-0.24269865453243256,
-0.3157058656215668,
-0.10757081210613251,
0.3118191659450531,
0.09277050197124481,
0.021772364154458046,
0.2937597632408142,
0.04718825966119766,
0.3761807978153229,
0.08467572927474976,
-0.16190002858638763,
-0.08903906494379044,
0.5246003270149231,
0.4296536445617676,
0.022899776697158813,
0.09549575299024582,
-0.3499962389469147,
0.03995773568749428,
0.24792246520519257,
-0.19042523205280304,
0.016062581911683083,
-0.082502581179142,
0.2524568438529968,
-0.14524415135383606,
0.0414058156311512,
0.3016323447227478,
-0.04419217258691788,
-0.20935824513435364,
-0.34148019552230835,
0.6050922870635986,
-0.24462440609931946,
-0.045730896294116974,
0.11852607131004333,
0.14048129320144653,
0.15210627019405365,
0.26327913999557495,
-0.0781993567943573,
0.8599663972854614,
0.07722971588373184,
-0.0774460881948471,
0.0988997295498848,
-0.008411748334765434,
0.4027975797653198,
-0.29126501083374023,
0.1771302968263626,
-0.280323326587677,
0.01323841605335474,
-0.12996108829975128,
-0.015846537426114082,
-0.10592769831418991,
0.06550361961126328,
-0.14703111350536346,
0.06473030149936676,
-0.1514597088098526,
0.16608616709709167,
-0.028857439756393433,
0.0485919751226902,
-0.37817904353141785,
-0.12385040521621704,
0.06219320371747017,
0.14179332554340363,
0.010170554742217064,
0.6449929475784302,
-0.03195807337760925,
-0.2541671097278595,
-0.23285497725009918,
-0.09898500889539719,
-0.5923773050308228,
0.11343620717525482,
0.07270828634500504,
-0.08705753087997437,
-0.25816336274147034,
-0.4596543610095978,
0.050006091594696045,
0.3805044889450073,
-0.021177493035793304,
0.16245180368423462,
-0.31531256437301636,
0.2178957760334015,
-0.30717164278030396,
-0.06794843822717667,
0.1469363570213318,
-0.07498524338006973,
0.14096148312091827,
-0.15982627868652344,
-0.30134186148643494,
0.04540209472179413,
-0.11861932277679443,
0.29931405186653137,
-0.06795220822095871,
0.08145363628864288,
0.20126132667064667,
-0.1159827709197998,
-0.3673456609249115,
0.1397222876548767,
-0.042669594287872314,
-0.14235185086727142,
0.12724518775939941,
0.10442132502794266,
0.039662476629018784,
0.24158060550689697,
0.14277693629264832,
-0.3163485825061798,
-0.25932133197784424,
0.38708174228668213,
-0.20762838423252106,
0.21820180118083954,
0.394133985042572,
-0.07090062648057938,
-0.2479134351015091,
-0.11537231504917145,
-0.08830202370882034,
-0.10541822761297226,
-0.6121990084648132,
-0.218603253364563,
-0.02519252337515354,
0.35615435242652893,
-0.1614978164434433,
-0.13363562524318695,
0.10484996438026428,
-0.34908220171928406,
-0.3628375232219696,
-0.5235511064529419,
0.1306179016828537,
0.06568486243486404,
-0.02339945174753666,
0.17819666862487793,
-0.5028349161148071,
-0.3716754913330078,
0.3024100661277771,
0.08827076852321625,
-0.20605836808681488,
-0.00623402651399374,
-0.23635563254356384,
-0.13770028948783875,
0.23463062942028046,
0.22154191136360168,
0.18333804607391357,
-0.0016462161438539624,
0.013803667388856411,
0.06701967865228653,
-0.19243457913398743,
-0.1775328516960144,
-0.18763789534568787,
0.18687328696250916,
0.1435886025428772,
-0.004631596617400646,
0.2212841510772705,
-0.14536160230636597,
-0.1825261116027832,
-0.0043021310120821,
0.13728506863117218,
-0.062172140926122665,
-0.04820884391665459,
0.10476023703813553,
0.023688431829214096,
0.5183131098747253,
-0.5156234502792358,
0.1428273469209671,
-0.1296880841255188,
0.8146831393241882,
0.08470824360847473,
-0.004964010789990425,
0.5043008923530579,
0.12968096137046814,
-0.22719697654247284,
-0.239946186542511,
-0.06626883894205093,
-0.061918195337057114,
0.3137115240097046,
-0.379598468542099,
0.5551663041114807,
0.15599435567855835,
0.14055490493774414,
0.43731462955474854,
-0.1152111068367958,
-0.10677667707204819,
0.18595945835113525,
0.2554091513156891,
-0.13789629936218262,
-0.015941627323627472,
0.11334320902824402,
0.01644810102880001,
-0.10426977276802063,
-0.08873078972101212,
0.05887198820710182,
-0.17156675457954407,
-0.20143035054206848,
0.090303935110569,
0.4766492545604706,
-0.13435176014900208,
-0.11199143528938293,
0.4683956205844879,
-0.04340003430843353,
0.3703649640083313,
0.010678439401090145,
-0.07692627608776093,
-0.11061438918113708,
0.44710659980773926,
-0.1143283024430275,
0.3792327344417572,
0.05930079147219658,
0.14559675753116608,
-0.3888528347015381,
-0.5082741975784302,
-0.017625348642468452,
0.09170237928628922,
-0.15102072060108185,
0.2723233699798584,
0.11233080178499222,
0.24185097217559814,
0.06167528033256531,
0.040113892406225204,
-0.47178709506988525,
0.01856035180389881,
-0.019047614187002182,
0.06521937996149063,
0.12120887637138367,
-0.3413897752761841,
-0.09843290597200394,
0.30958572030067444,
0.08073977380990982,
-0.0661858469247818,
0.343912273645401,
0.16425925493240356,
-0.17806704342365265,
-0.6546586155891418,
0.06325708329677582,
-0.11672438681125641,
0.05965164303779602,
-0.30463385581970215,
0.00011182807065779343,
0.25763872265815735,
-0.11488845944404602,
-0.048651352524757385,
0.17230498790740967,
0.31718018651008606,
0.4272044003009796,
-0.09244639426469803,
-0.0012712439056485891,
0.11565104871988297,
-0.10014179348945618,
-0.1569688767194748,
0.3286306858062744,
0.2741544842720032,
0.07447849214076996,
0.21325312554836273,
0.12761439383029938,
-0.2593197822570801,
0.2150101512670517,
0.13190092146396637,
0.0374738946557045,
-0.27500951290130615,
0.6634891033172607,
-0.28225281834602356,
0.1430801898241043,
-0.18482129275798798,
-0.3486424386501312,
-0.36256083846092224,
-0.040461841970682144,
0.3105904161930084,
0.04054659605026245,
0.04890329763293266,
-0.28590142726898193,
0.043164487928152084,
-0.28184348344802856,
0.2512691915035248,
0.12808309495449066,
0.20278528332710266,
-0.30905959010124207,
0.13651955127716064,
-0.7200748920440674,
0.0663318932056427,
0.07202932238578796,
-0.07947871834039688,
0.013146599754691124,
0.33359354734420776,
-0.2754976451396942,
0.26150253415107727,
0.32449033856391907,
-0.13508611917495728,
0.13135282695293427,
0.48138126730918884,
-0.2831991910934448,
-0.07168761640787125,
-0.33858418464660645,
-0.11884328722953796,
-0.11764545738697052,
-0.29069387912750244,
0.2533263564109802,
-0.513552725315094,
-0.0406852550804615,
-0.03696868568658829,
-0.10295992344617844,
0.22872433066368103,
-0.33766835927963257,
0.7718411087989807,
0.02043277397751808,
0.4181734025478363,
-0.06258945912122726,
-0.047399405390024185,
-0.2577975392341614,
0.024953395128250122,
-0.04427328705787659,
0.19358231127262115,
-0.07008680701255798,
0.2800275683403015,
0.09499350935220718,
0.13585081696510315,
-0.15604877471923828,
-0.11389225721359253,
0.07983671128749847,
0.3366294205188751,
-0.0748942419886589,
-0.30741843581199646,
-0.011856943368911743,
0.07366178184747696,
0.3071098029613495,
0.2668800354003906,
-0.08829376101493835,
0.21867462992668152,
-0.18768174946308136,
-0.2498740553855896,
0.36289530992507935,
-0.21849425137043,
-0.19085580110549927,
-0.07032441347837448,
0.10192518681287766,
0.2778053879737854,
-0.02988474816083908,
-0.4902453124523163,
0.02068536914885044,
0.30254340171813965,
-0.14893367886543274,
-0.2680257558822632,
0.15092511475086212,
0.06311776489019394,
-0.12213754653930664,
-0.022394657135009766,
0.256604939699173,
-0.024709349498152733,
-0.25288283824920654,
0.27192679047584534,
-0.09673997759819031
] |
https://github.com/huggingface/datasets/issues/2123
|
Problem downloading GEM wiki_auto_asset_turk dataset
|
Sorry for the long time since my last comment, I tried again and don't seem to have the problem anymore, thanks for your support!
|
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
| 24
|
Problem downloading GEM wiki_auto_asset_turk dataset
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
Sorry for the long time since my last comment, I tried again and don't seem to have the problem anymore, thanks for your support!
|
[
-0.06903588771820068,
-0.009997600689530373,
-0.07155108451843262,
0.41626834869384766,
0.28227829933166504,
0.12228892743587494,
0.3851529657840729,
0.2134171724319458,
0.23347005248069763,
-0.11339297145605087,
0.24284979701042175,
0.16283492743968964,
0.13820390403270721,
-0.010502420365810394,
-0.18701060116291046,
-0.19104444980621338,
-0.03168878331780434,
-0.06828893721103668,
0.13739372789859772,
-0.22129105031490326,
-0.05428174138069153,
0.15335969626903534,
-0.12932568788528442,
-0.08461882174015045,
-0.2987637519836426,
0.13948683440685272,
0.10947972536087036,
-0.08538760989904404,
-0.3324194550514221,
-0.08430628478527069,
0.5183305144309998,
0.03745722398161888,
0.0902138501405716,
0.29673537611961365,
-0.00011769498087232932,
-0.1262204945087433,
0.44006842374801636,
-0.08007096499204636,
-0.08587251603603363,
-0.40321630239486694,
-0.28815340995788574,
-0.4585106670856476,
0.1159147322177887,
-0.25074106454849243,
0.15745283663272858,
0.36134064197540283,
-0.0828237384557724,
0.20398125052452087,
0.06026363745331764,
0.05383433401584625,
0.20150545239448547,
0.22034405171871185,
0.11197357624769211,
0.0012686678674072027,
0.17208874225616455,
-0.5136723518371582,
-0.19610650837421417,
-0.015646886080503464,
-0.2056456059217453,
0.11592775583267212,
0.07598654180765152,
0.153850257396698,
-0.11602086573839188,
0.4487341046333313,
0.10051009058952332,
0.13625817000865936,
-0.03330373391509056,
-0.5621499419212341,
0.3449825346469879,
0.38040316104888916,
0.8352507948875427,
-0.04415395110845566,
-0.38483548164367676,
-0.0902380645275116,
0.029774866998195648,
0.07768982648849487,
0.10122581571340561,
0.47960057854652405,
-0.40893957018852234,
0.05760633200407028,
-0.4534149169921875,
0.0004342017346061766,
-0.05406855046749115,
0.23076322674751282,
-0.35058844089508057,
0.20536847412586212,
-0.12813682854175568,
0.054048653692007065,
-0.05127077177166939,
-0.022917859256267548,
-0.38191917538642883,
-0.3187371790409088,
-0.1858951300382614,
0.3288648724555969,
-0.3765313923358917,
0.08764729648828506,
0.08180190622806549,
0.10130290687084198,
0.30656638741493225,
0.3332844376564026,
0.059593942016363144,
0.2026231735944748,
-0.24272321164608002,
0.09740427881479263,
0.13334566354751587,
0.34993815422058105,
-0.04962759464979172,
-0.3339032828807831,
0.23365379869937897,
0.08317676186561584,
-0.04100093990564346,
0.0889139398932457,
-0.1326998919248581,
-0.027362562716007233,
0.2532714605331421,
-0.291635125875473,
0.11386551707983017,
-0.12103504687547684,
-0.13299719989299774,
0.34467813372612,
0.13280846178531647,
-0.10357453674077988,
-0.17298679053783417,
0.21096712350845337,
-0.261423796415329,
-0.07485050708055496,
-0.15491759777069092,
0.37608274817466736,
-0.1342860907316208,
0.12455488741397858,
-0.055147476494312286,
-0.19463041424751282,
-0.03206387162208557,
-0.1308613419532776,
0.23591755330562592,
-0.2384808510541916,
0.39782261848449707,
0.11984547227621078,
-0.20694740116596222,
-0.1694876104593277,
-0.048203952610492706,
-0.06954490393400192,
0.08920343965291977,
0.30293238162994385,
0.15197059512138367,
0.8524770736694336,
-0.10556236654520035,
-0.15330758690834045,
0.027788545936346054,
0.02712344378232956,
-0.26662856340408325,
-0.2013564109802246,
-0.1391545534133911,
0.14495927095413208,
-0.48299723863601685,
-0.26518240571022034,
-0.05556690692901611,
0.2311144322156906,
0.22331783175468445,
-0.1439937949180603,
-0.08431627601385117,
0.008737166412174702,
0.06780600547790527,
-0.22312884032726288,
0.44627121090888977,
0.563144326210022,
-0.21545974910259247,
-0.027349309995770454,
-0.10237779468297958,
0.08290217071771622,
0.5172902941703796,
-0.013225694186985493,
0.017730221152305603,
-0.1962209790945053,
-0.05522938445210457,
0.3503415286540985,
0.23451384902000427,
0.06342881172895432,
-0.6698728203773499,
0.2986481189727783,
-0.1121714785695076,
0.26591920852661133,
0.03513956442475319,
0.172723188996315,
0.08820304274559021,
0.22885973751544952,
-0.2764083743095398,
0.3082541227340698,
0.07483033090829849,
-0.1855425238609314,
-0.3515211343765259,
-0.46879053115844727,
0.09075789898633957,
0.07790219783782959,
0.1690835952758789,
0.009552243165671825,
0.06664232909679413,
-0.054549816995859146,
0.33687537908554077,
0.29136037826538086,
0.22319316864013672,
0.05409592017531395,
0.1401037573814392,
-0.2684954106807709,
-0.03521610423922539,
-0.1048111543059349,
-0.01640978828072548,
0.4072796702384949,
0.5592104196548462,
0.06163454428315163,
0.010032523423433304,
0.09789703786373138,
-0.2644711136817932,
-0.12227372080087662,
-0.32134002447128296,
-0.01977841556072235,
0.052463531494140625,
0.09430810809135437,
0.21691271662712097,
0.2984943985939026,
0.03749806061387062,
0.0401897095143795,
-0.0420682393014431,
0.05235233157873154,
0.041619524359703064,
0.1940552294254303,
0.06743830442428589,
-0.13319548964500427,
-0.1795915812253952,
-0.10607863962650299,
0.016392724588513374,
0.14529511332511902,
-0.22919675707817078,
-0.002815843094140291,
-0.21875007450580597,
0.06336618959903717,
-0.04340745136141777,
-0.09142961353063583,
0.13793709874153137,
0.09818035364151001,
-0.07668556272983551,
0.032803427428007126,
0.16982227563858032,
-0.011578226462006569,
-0.0029615438543260098,
0.08538217097520828,
0.2800164222717285,
0.37551939487457275,
-0.015011507086455822,
0.2399064302444458,
0.3355824649333954,
-0.04062756150960922,
0.045428574085235596,
-0.01450269389897585,
0.3255585730075836,
-0.2656658887863159,
-0.14765138924121857,
-0.06809860467910767,
-0.09253494441509247,
0.27748867869377136,
0.52972412109375,
0.13248050212860107,
0.1280040144920349,
0.210636168718338,
-0.31841927766799927,
0.018946511670947075,
-0.014494156464934349,
0.5863617062568665,
0.26111775636672974,
0.09616003185510635,
0.20731274783611298,
-0.40861445665359497,
0.05701479688286781,
-0.21689987182617188,
0.04579778388142586,
0.32647210359573364,
0.06444255262613297,
0.39822694659233093,
0.10197587311267853,
0.1328805834054947,
-0.03716152906417847,
-0.038213085383176804,
0.12550108134746552,
0.13268040120601654,
-0.041086867451667786,
-0.08589784055948257,
-0.29366135597229004,
0.25677192211151123,
0.05996904894709587,
-0.4399896562099457,
-0.13027727603912354,
-0.2698111832141876,
-0.11212235689163208,
-0.019808804616332054,
0.032705504447221756,
-0.07706376910209656,
-0.1244315654039383,
-0.2014312595129013,
-0.05889008194208145,
-0.3738239109516144,
-0.3677840828895569,
-0.12521909177303314,
-0.33825621008872986,
-0.04270583391189575,
0.10715726763010025,
-0.09832838177680969,
0.2873532176017761,
-0.1204519048333168,
0.05737021192908287,
-0.09588602930307388,
-0.1930484175682068,
0.03984881192445755,
-0.004307142924517393,
0.3839714825153351,
-0.23778682947158813,
0.4564392864704132,
-0.16638106107711792,
-0.05971808731555939,
0.16636770963668823,
0.02435052953660488,
0.03658204898238182,
0.22206224501132965,
0.10517929494380951,
-0.21873512864112854,
-0.09858987480401993,
-0.28555893898010254,
-0.37993618845939636,
-0.3414306640625,
-0.08583228290081024,
0.20547349750995636,
-0.04306439682841301,
0.08825837075710297,
0.26352572441101074,
0.034782156348228455,
0.17442576587200165,
0.02501232549548149,
-0.04491747170686722,
-0.28686872124671936,
0.8346587419509888,
-0.08819040656089783,
-0.40693363547325134,
0.2835735082626343,
-0.0147732337936759,
0.3148869276046753,
0.10195212811231613,
-0.507225513458252,
0.21762610971927643,
-0.20977671444416046,
0.19553957879543304,
0.27958714962005615,
0.06570955365896225,
0.061091020703315735,
-0.3151112496852875,
0.08810640126466751,
-0.13943028450012207,
-0.014676546677947044,
-0.04873817786574364,
0.12441343069076538,
0.2875222861766815,
0.012268292717635632,
0.28431496024131775,
0.03793904185295105,
0.8390621542930603,
0.24179360270500183,
-0.13251908123493195,
0.4327159523963928,
0.03403038904070854,
0.022340528666973114,
0.02242395654320717,
-0.1650141328573227,
-0.2018042951822281,
-0.24948309361934662,
0.1537347286939621,
0.1278744339942932,
0.1948731690645218,
-0.2716965079307556,
-0.06613019853830338,
0.009020010009407997,
-0.4472624957561493,
-0.30241119861602783,
-0.19007152318954468,
0.15511727333068848,
0.007588861510157585,
0.29502320289611816,
0.32357659935951233,
0.045051731169223785,
-0.277640163898468,
0.036581363528966904,
0.5699439644813538,
0.0019073894945904613,
0.10237770527601242,
0.13668645918369293,
0.11840089410543442,
-0.5679133534431458,
0.09037517756223679,
-0.09081900864839554,
0.08219731599092484,
-0.09414703398942947,
0.11455686390399933,
0.14196012914180756,
-0.15934495627880096,
0.13754141330718994,
-0.31173622608184814,
0.13196758925914764,
-0.1461317092180252,
-0.10672515630722046,
-0.2218562364578247,
-0.2504522204399109,
0.040281571447849274,
-0.04452644661068916,
0.535395085811615,
-0.013035343959927559,
-0.328019380569458,
-0.006801127921789885,
0.07557771354913712,
0.17264220118522644,
-0.15903957188129425,
-0.27397364377975464,
-0.2760903835296631,
-0.42237523198127747,
-0.32009434700012207,
-0.20106887817382812,
-0.19570791721343994,
0.3888678252696991,
-0.2165103554725647,
-0.2829771339893341,
-0.1278849095106125,
0.2633860111236572,
0.11659311503171921,
-0.019234582781791687,
0.32951462268829346,
0.09847801178693771,
0.3884231746196747,
0.053244125097990036,
-0.12830781936645508,
-0.1797625571489334,
0.5015979409217834,
0.3309798836708069,
0.012376140803098679,
0.04137314856052399,
-0.33065295219421387,
0.006159331649541855,
0.16304545104503632,
-0.23099413514137268,
-0.054174039512872696,
-0.08373133838176727,
0.19610926508903503,
-0.1559121012687683,
-0.005332023836672306,
0.23692521452903748,
-0.0777205303311348,
-0.18336626887321472,
-0.4182691276073456,
0.6890944242477417,
-0.2060820311307907,
-0.01391017995774746,
0.15959958732128143,
0.15647314488887787,
0.14646735787391663,
0.2997371256351471,
-0.12611261010169983,
0.7728813290596008,
0.0346667543053627,
-0.03544304519891739,
0.07850000262260437,
0.08715149760246277,
0.34268268942832947,
-0.29029205441474915,
0.12753331661224365,
-0.3353436291217804,
0.15320825576782227,
-0.14065000414848328,
0.016548387706279755,
-0.12936894595623016,
0.08474153280258179,
-0.09100759774446487,
0.149993434548378,
-0.1677744835615158,
0.22577917575836182,
0.022238925099372864,
0.04465118423104286,
-0.34921663999557495,
-0.0817783921957016,
0.04472966119647026,
0.12728801369667053,
0.026972997933626175,
0.6393935680389404,
0.025891996920108795,
-0.2409828007221222,
-0.2464592456817627,
-0.08862874656915665,
-0.5789688229560852,
0.12532025575637817,
0.11260662972927094,
-0.07139060646295547,
-0.20295287668704987,
-0.4535737931728363,
0.013164909556508064,
0.4507683217525482,
-0.05832367017865181,
0.17903883755207062,
-0.3476180136203766,
0.2616400718688965,
-0.29323863983154297,
-0.0864887610077858,
0.1592838168144226,
-0.08328299224376678,
0.09261784702539444,
-0.19494658708572388,
-0.2863849699497223,
0.027871023863554,
-0.0813431590795517,
0.30395591259002686,
-0.1432853639125824,
0.11709700524806976,
0.221061572432518,
-0.004692783113569021,
-0.37297919392585754,
0.1475696563720703,
-0.05833517014980316,
-0.11621884256601334,
0.1300281584262848,
0.1151079311966896,
0.048140376806259155,
0.23778249323368073,
0.12296892702579498,
-0.2875984013080597,
-0.20234838128089905,
0.407786101102829,
-0.17034298181533813,
0.20588165521621704,
0.3319362998008728,
-0.06520932167768478,
-0.2308102548122406,
-0.11634501069784164,
-0.10781313478946686,
0.01934252306818962,
-0.6593102216720581,
-0.22204896807670593,
0.01550705824047327,
0.3092430830001831,
-0.14671102166175842,
-0.14997002482414246,
0.07674834877252579,
-0.38932549953460693,
-0.305218368768692,
-0.5143169164657593,
0.19345736503601074,
0.053085342049598694,
-0.08086668699979782,
0.10128124803304672,
-0.4944112300872803,
-0.4612376391887665,
0.31301653385162354,
0.1234043538570404,
-0.17996765673160553,
-0.013786230236291885,
-0.16721394658088684,
-0.14030145108699799,
0.15414397418498993,
0.2915671169757843,
0.12436050176620483,
0.06529255956411362,
0.0008925940492190421,
0.04524833709001541,
-0.17028270661830902,
-0.16823305189609528,
-0.14930817484855652,
0.19902808964252472,
0.1847807765007019,
0.008067158982157707,
0.1910301297903061,
-0.1320532262325287,
-0.211307555437088,
-0.0451427586376667,
0.12748761475086212,
-0.059308551251888275,
-0.030626613646745682,
0.09226745367050171,
0.08057653903961182,
0.4037784934043884,
-0.453748494386673,
0.11455430090427399,
-0.10151533037424088,
0.8488909602165222,
0.08576363325119019,
0.01589352637529373,
0.5661742091178894,
0.11793871223926544,
-0.23782579600811005,
-0.20620205998420715,
-0.1266627013683319,
-0.0977635383605957,
0.3483295440673828,
-0.34019777178764343,
0.5501437187194824,
0.11265140026807785,
0.08176366239786148,
0.3406641483306885,
-0.12665987014770508,
-0.06632766127586365,
0.17109860479831696,
0.2545170485973358,
-0.14756284654140472,
-0.1292319893836975,
0.05922281742095947,
0.09569786489009857,
-0.051792990416288376,
-0.11303170025348663,
0.1341896802186966,
-0.2904939353466034,
-0.2642151415348053,
0.06581974774599075,
0.4888227581977844,
-0.17143535614013672,
-0.1558443158864975,
0.4805557131767273,
0.02781219780445099,
0.3225766122341156,
-0.050469204783439636,
-0.06925707310438156,
-0.1912912279367447,
0.4133707880973816,
-0.10413956642150879,
0.39945894479751587,
0.11843149363994598,
0.09005194157361984,
-0.40284809470176697,
-0.48768287897109985,
-0.03911375626921654,
0.06211034581065178,
-0.14854778349399567,
0.24713413417339325,
0.11717143654823303,
0.23747305572032928,
0.12965315580368042,
0.03208012133836746,
-0.4850427508354187,
-0.03978736326098442,
0.02118868939578533,
-0.016623780131340027,
0.04589331895112991,
-0.35210075974464417,
-0.14652259647846222,
0.3644360899925232,
0.05292558670043945,
-0.11005839705467224,
0.30758562684059143,
0.15325278043746948,
-0.15214118361473083,
-0.6718460917472839,
0.04261896759271622,
-0.09222100675106049,
0.044221095740795135,
-0.32016104459762573,
0.02636677213013172,
0.20775684714317322,
-0.12011700123548508,
-0.039568375796079636,
0.031125687062740326,
0.357718825340271,
0.43404048681259155,
0.012424912303686142,
-0.01427584420889616,
0.04835260286927223,
-0.06983236223459244,
-0.20688115060329437,
0.3337102234363556,
0.25544875860214233,
0.005975184962153435,
0.13120219111442566,
0.11211638897657394,
-0.24718664586544037,
0.17611612379550934,
0.08230414241552353,
0.0013025484513491392,
-0.20615752041339874,
0.6831774115562439,
-0.2835211753845215,
0.11689307540655136,
-0.1556624174118042,
-0.3341280221939087,
-0.34877073764801025,
-0.019860893487930298,
0.34738507866859436,
0.15197773277759552,
0.07246389985084534,
-0.315814733505249,
0.033759571611881256,
-0.28070443868637085,
0.2559374272823334,
0.07406125217676163,
0.17233917117118835,
-0.3593786656856537,
0.13877825438976288,
-0.7013586759567261,
-0.00788133218884468,
0.09284311532974243,
-0.024513617157936096,
-0.02348180115222931,
0.3137417435646057,
-0.2782711684703827,
0.17132514715194702,
0.23884573578834534,
-0.034712329506874084,
0.24621239304542542,
0.4393145442008972,
-0.27189120650291443,
-0.04828408360481262,
-0.3086034953594208,
0.012658403255045414,
-0.1189720630645752,
-0.2704187035560608,
0.2698473334312439,
-0.5997474193572998,
-0.03560818359255791,
-0.041814595460891724,
-0.09727077931165695,
0.27816247940063477,
-0.2821836769580841,
0.7650132179260254,
0.014742392115294933,
0.3980955481529236,
-0.056781720370054245,
-0.038256607949733734,
-0.2995526194572449,
0.05353923141956329,
0.0010867430828511715,
0.17286601662635803,
-0.10071957111358643,
0.2720147371292114,
0.11959333717823029,
0.1841210275888443,
-0.14368201792240143,
-0.1453590840101242,
0.05131499841809273,
0.2917456030845642,
0.004772278945893049,
-0.3444969952106476,
-0.023924270644783974,
0.0892060324549675,
0.23690126836299896,
0.2461632490158081,
-0.120851069688797,
0.175633504986763,
-0.1573689877986908,
-0.25485759973526,
0.3296069800853729,
-0.277627557516098,
-0.21337489783763885,
-0.10318176448345184,
0.13213951885700226,
0.31716808676719666,
0.019823148846626282,
-0.478921115398407,
-0.0028053754940629005,
0.28053146600723267,
-0.14065586030483246,
-0.23521679639816284,
0.11493851989507675,
0.1322646588087082,
-0.1027846485376358,
-0.02495162934064865,
0.19478526711463928,
0.004423676524311304,
-0.2891601622104645,
0.2658875584602356,
-0.1413053572177887
] |
https://github.com/huggingface/datasets/issues/2123
|
Problem downloading GEM wiki_auto_asset_turk dataset
|
Great ! I'm closing the issue then. Feel free to re-open if you experience this issue again
|
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
| 17
|
Problem downloading GEM wiki_auto_asset_turk dataset
@yjernite
### Summary
I am currently working on the GEM datasets and do not manage to download the wiki_auto_asset_turk data, whereas all other datasets download well with the same code.
### Steps to reproduce
Code snippet:
from datasets import load_dataset
#dataset = load_dataset('gem', 'web_nlg_en')
dataset = load_dataset('gem', 'wiki_auto_asset_turk')
```
**Expected behavior:**
I expect the dataset to start downloading (download bar appears and progresses toward 100%)
**Actual behavior:**
Instead of seeing the download bar appearing, nothing happens; the following appears in the console as expected, but nothing more:
Downloading: 36.6kB [00:00, 37.2MB/s]
Downloading: 41.7kB [00:00, ?B/s]
Downloading and preparing dataset gem/wiki_auto_asset_turk (download: 121.37 MiB, generated: 145.69 MiB, post-processed: Unknown size, total: 267.07 MiB) to C:\Users\sfmil\.cache\huggingface\datasets\gem\wiki_auto_asset_turk\1.0.0\f252756d7f1b8f019aac71a1623b2950acfe10d25d956668ac4eae4e93c58b8d...
### Is this a regression?
No, it was the first time I was trying to download this dataset (same for the other ones).
### Debug info
- Python version: Python 3.8.2
- OS version: Windows 10 Family
Great ! I'm closing the issue then. Feel free to re-open if you experience this issue again
|
[
-0.06359162926673889,
0.005495846271514893,
-0.06998823583126068,
0.3975276052951813,
0.27048102021217346,
0.11177191138267517,
0.4051195979118347,
0.21254555881023407,
0.22199437022209167,
-0.09807135909795761,
0.24230346083641052,
0.16528946161270142,
0.14376799762248993,
-0.009437398053705692,
-0.18495510518550873,
-0.16919854283332825,
-0.02092715911567211,
-0.07800609618425369,
0.1397194117307663,
-0.2287253737449646,
-0.07188315689563751,
0.1454976499080658,
-0.11852750182151794,
-0.08834736794233322,
-0.29488006234169006,
0.146615132689476,
0.09713214635848999,
-0.07873950898647308,
-0.31266534328460693,
-0.09903658181428909,
0.515593409538269,
0.05686980113387108,
0.0788816437125206,
0.2951326072216034,
-0.00011708816600730643,
-0.1244741678237915,
0.4406701922416687,
-0.07180248200893402,
-0.11488975584506989,
-0.38135388493537903,
-0.2894222140312195,
-0.4607844054698944,
0.10173404216766357,
-0.2550838887691498,
0.15780027210712433,
0.35143324732780457,
-0.06956798583269119,
0.19091308116912842,
0.04113992303609848,
0.034797728061676025,
0.2039116770029068,
0.23453721404075623,
0.07736922800540924,
-0.009218940511345863,
0.1685435175895691,
-0.5081431269645691,
-0.20099085569381714,
-0.014970935881137848,
-0.19615407288074493,
0.11306287348270416,
0.05184025317430496,
0.17125700414180756,
-0.11127228289842606,
0.44505706429481506,
0.10927645862102509,
0.14754435420036316,
-0.039033565670251846,
-0.5593591928482056,
0.33862143754959106,
0.39142122864723206,
0.8110868334770203,
-0.034925706684589386,
-0.39098605513572693,
-0.11639336496591568,
0.01443968340754509,
0.08834151923656464,
0.10945669561624527,
0.47317519783973694,
-0.4042167067527771,
0.05800245702266693,
-0.44301843643188477,
0.01620541699230671,
-0.042406000196933746,
0.24012932181358337,
-0.35653507709503174,
0.20991119742393494,
-0.12181557714939117,
0.04951334744691849,
-0.05010426416993141,
-0.01939622312784195,
-0.3825843632221222,
-0.3250639736652374,
-0.17792853713035583,
0.3222634196281433,
-0.35956448316574097,
0.09452451765537262,
0.10821063071489334,
0.09445164352655411,
0.3044982850551605,
0.3384498059749603,
0.06502252072095871,
0.21793940663337708,
-0.24231310188770294,
0.09105155616998672,
0.12575824558734894,
0.3379725515842438,
-0.029796218499541283,
-0.3428627550601959,
0.2374138981103897,
0.09109682589769363,
-0.03903697803616524,
0.08945401757955551,
-0.14213413000106812,
-0.013626188971102238,
0.24005015194416046,
-0.29973894357681274,
0.10667552798986435,
-0.10618163645267487,
-0.13551196455955505,
0.354513943195343,
0.14365364611148834,
-0.10089293867349625,
-0.18195447325706482,
0.20962461829185486,
-0.2602636218070984,
-0.0793687030673027,
-0.15830408036708832,
0.3832474946975708,
-0.14806751906871796,
0.10889662057161331,
-0.06466638296842575,
-0.20237556099891663,
-0.04305107891559601,
-0.13503117859363556,
0.24246077239513397,
-0.21531181037425995,
0.3975873291492462,
0.10822776705026627,
-0.20192845165729523,
-0.16227896511554718,
-0.04827240854501724,
-0.06005187705159187,
0.10397178679704666,
0.3016757369041443,
0.13769355416297913,
0.8678779602050781,
-0.09837789088487625,
-0.14865635335445404,
0.021130520850419998,
0.03382484242320061,
-0.24868634343147278,
-0.1927579790353775,
-0.12435611337423325,
0.14960536360740662,
-0.5011076331138611,
-0.26119861006736755,
-0.04761238023638725,
0.24386800825595856,
0.2210112363100052,
-0.1569938212633133,
-0.0882687047123909,
0.008346615359187126,
0.057275284081697464,
-0.21883124113082886,
0.44347211718559265,
0.5722366571426392,
-0.22533288598060608,
-0.0457063727080822,
-0.11191971600055695,
0.08972623199224472,
0.5085417628288269,
-0.006720785982906818,
0.009111975319683552,
-0.1866525560617447,
-0.049239158630371094,
0.3607640564441681,
0.2355586290359497,
0.061382584273815155,
-0.6746478080749512,
0.2866031527519226,
-0.1267213374376297,
0.3046172559261322,
0.033651530742645264,
0.17984682321548462,
0.08866067975759506,
0.20867270231246948,
-0.26797574758529663,
0.3060261309146881,
0.08444000780582428,
-0.18121302127838135,
-0.35931888222694397,
-0.4738076627254486,
0.08326581865549088,
0.07173991948366165,
0.17198729515075684,
0.006771705579012632,
0.0662730410695076,
-0.05915731564164162,
0.34148985147476196,
0.2777414321899414,
0.22468912601470947,
0.05039457231760025,
0.14146122336387634,
-0.2738795280456543,
-0.03996683657169342,
-0.08558765798807144,
-0.024137839674949646,
0.4271656572818756,
0.5506242513656616,
0.06388597190380096,
0.014422613196074963,
0.09556300938129425,
-0.2469649463891983,
-0.1217614933848381,
-0.3224141001701355,
-0.04400690644979477,
0.05783682316541672,
0.12238074839115143,
0.2030845731496811,
0.30384233593940735,
0.047957297414541245,
0.0396658256649971,
-0.04111042246222496,
0.056443702429533005,
0.03909070044755936,
0.1793072372674942,
0.0879443883895874,
-0.13518941402435303,
-0.20177064836025238,
-0.09881626814603806,
0.005903096403926611,
0.13918636739253998,
-0.21594546735286713,
0.005830822046846151,
-0.23440344631671906,
0.08205065876245499,
-0.05095725879073143,
-0.0871935486793518,
0.14150407910346985,
0.1149081289768219,
-0.07094765454530716,
0.031120315194129944,
0.1603160798549652,
-0.01568100042641163,
-0.031179165467619896,
0.11398384720087051,
0.2691154479980469,
0.381482869386673,
-0.011624252423644066,
0.22204731404781342,
0.3370940089225769,
-0.04684656113386154,
0.03175191953778267,
-0.02292080596089363,
0.32300060987472534,
-0.2710411250591278,
-0.1394488513469696,
-0.06853765994310379,
-0.09483271837234497,
0.30442115664482117,
0.5473523736000061,
0.12828239798545837,
0.13619615137577057,
0.20581777393817902,
-0.3219829201698303,
0.016041841357946396,
-0.00902735535055399,
0.5947277545928955,
0.2657078802585602,
0.10152040421962738,
0.2187117487192154,
-0.3983238935470581,
0.04881718009710312,
-0.2300369143486023,
0.03764485940337181,
0.32525646686553955,
0.053455036133527756,
0.40301916003227234,
0.11339428275823593,
0.13850753009319305,
-0.049517396837472916,
-0.027943527325987816,
0.1278286725282669,
0.1014392226934433,
-0.04186331853270531,
-0.06878242641687393,
-0.2825419008731842,
0.2662616968154907,
0.06004185974597931,
-0.4334225356578827,
-0.13501714169979095,
-0.2884684205055237,
-0.10051961988210678,
-0.014482208527624607,
0.0014518762473016977,
-0.07701857388019562,
-0.1364593654870987,
-0.19269959628582,
-0.0802028477191925,
-0.3923884630203247,
-0.34975528717041016,
-0.125952810049057,
-0.3521958589553833,
-0.03853299841284752,
0.10137739777565002,
-0.09394238889217377,
0.2879146635532379,
-0.11684553325176239,
0.06566856801509857,
-0.08932884782552719,
-0.2068764716386795,
0.04480881616473198,
-0.009203747846186161,
0.38434892892837524,
-0.2553698420524597,
0.44145089387893677,
-0.16141697764396667,
-0.05818083509802818,
0.1734238862991333,
0.028333434835076332,
0.043290700763463974,
0.22235730290412903,
0.10870891064405441,
-0.199236199259758,
-0.09687821567058563,
-0.2927432060241699,
-0.36529460549354553,
-0.34515997767448425,
-0.07200069725513458,
0.19370977580547333,
-0.049067240208387375,
0.08926919102668762,
0.2577713131904602,
0.02754928171634674,
0.16370588541030884,
0.027468319982290268,
-0.05242615565657616,
-0.2859868109226227,
0.8228673934936523,
-0.09535001218318939,
-0.40278926491737366,
0.27158504724502563,
-0.03020809032022953,
0.31057009100914,
0.11237182468175888,
-0.5049176812171936,
0.22969788312911987,
-0.2130986452102661,
0.20327340066432953,
0.2825913429260254,
0.055016376078128815,
0.07148312777280807,
-0.31097257137298584,
0.0758320689201355,
-0.16275058686733246,
-0.004298924934118986,
-0.030058976262807846,
0.1257297694683075,
0.2862550616264343,
-0.0014697310980409384,
0.27289530634880066,
0.05015327408909798,
0.8432109951972961,
0.23583944141864777,
-0.13337628543376923,
0.4208795130252838,
0.045074984431266785,
0.03925421088933945,
0.022431883960962296,
-0.1539185494184494,
-0.19870512187480927,
-0.25617164373397827,
0.1470114141702652,
0.14910423755645752,
0.19901509582996368,
-0.26372024416923523,
-0.053710535168647766,
0.017791610211133957,
-0.4434628188610077,
-0.3303980529308319,
-0.16970521211624146,
0.15181028842926025,
0.00033180456375703216,
0.3040693700313568,
0.32810506224632263,
0.04036223143339157,
-0.2667132616043091,
0.03431636095046997,
0.542029619216919,
0.00010722497972892597,
0.08788961917161942,
0.1220373883843422,
0.12066946178674698,
-0.5723161101341248,
0.08297254890203476,
-0.08590181171894073,
0.07345674186944962,
-0.08413578569889069,
0.07621105015277863,
0.14125950634479523,
-0.16022178530693054,
0.14687557518482208,
-0.3039337694644928,
0.13903646171092987,
-0.14127777516841888,
-0.10382663458585739,
-0.22653591632843018,
-0.24756048619747162,
0.036686964333057404,
-0.05048157647252083,
0.5440039038658142,
-0.013245344161987305,
-0.3284938931465149,
-0.0015201831702142954,
0.06421274691820145,
0.18171389400959015,
-0.14818380773067474,
-0.25626176595687866,
-0.27630457282066345,
-0.42393991351127625,
-0.3175905644893646,
-0.19524432718753815,
-0.19393093883991241,
0.3753404915332794,
-0.23198960721492767,
-0.27436313033103943,
-0.12118508666753769,
0.27046501636505127,
0.12000969052314758,
-0.01996876671910286,
0.3140413165092468,
0.09624763578176498,
0.3911689221858978,
0.0729016587138176,
-0.13467614352703094,
-0.1737755686044693,
0.5136110186576843,
0.3388257324695587,
0.010585706681013107,
0.04282231628894806,
-0.33696454763412476,
-0.00595902930945158,
0.2090989649295807,
-0.21644146740436554,
-0.06499379128217697,
-0.07533939927816391,
0.1949354112148285,
-0.15415796637535095,
0.0030712324660271406,
0.23793628811836243,
-0.09631706029176712,
-0.18464608490467072,
-0.40837007761001587,
0.6840831637382507,
-0.2124333530664444,
-0.02039264887571335,
0.17482008039951324,
0.14948692917823792,
0.13983528316020966,
0.29750022292137146,
-0.10814835876226425,
0.7885547280311584,
0.030236102640628815,
-0.018024422228336334,
0.08938686549663544,
0.08929912000894547,
0.3508448898792267,
-0.3062093257904053,
0.13402992486953735,
-0.3522855341434479,
0.15353485941886902,
-0.13159732520580292,
0.021308770403265953,
-0.12815900146961212,
0.08694272488355637,
-0.07770252227783203,
0.1317061334848404,
-0.1633623242378235,
0.2356787472963333,
0.02974964678287506,
0.0323861800134182,
-0.35337117314338684,
-0.08884254842996597,
0.05738475173711777,
0.1310209333896637,
0.04159880056977272,
0.6429334282875061,
0.01674736477434635,
-0.2431701421737671,
-0.2635289132595062,
-0.08838432282209396,
-0.567474365234375,
0.13507062196731567,
0.11715585738420486,
-0.06638278067111969,
-0.20220056176185608,
-0.45542579889297485,
-0.021001510322093964,
0.43568602204322815,
-0.042197223752737045,
0.16825030744075775,
-0.3473181128501892,
0.2733457684516907,
-0.2823805510997772,
-0.07076473534107208,
0.17024601995944977,
-0.10230804234743118,
0.10108547657728195,
-0.1892511546611786,
-0.2828218638896942,
0.01594487763941288,
-0.09885220974683762,
0.29944777488708496,
-0.1585277020931244,
0.11146362125873566,
0.21264028549194336,
-0.006798679009079933,
-0.3708265721797943,
0.1454940140247345,
-0.06500089168548584,
-0.11681792140007019,
0.13534995913505554,
0.10497666895389557,
0.05661103129386902,
0.23033204674720764,
0.1094353049993515,
-0.2893569767475128,
-0.21703073382377625,
0.4203636646270752,
-0.1740403026342392,
0.1937129646539688,
0.32772889733314514,
-0.0734877735376358,
-0.22770245373249054,
-0.1194426566362381,
-0.1066802442073822,
0.01000840775668621,
-0.6670774221420288,
-0.22009822726249695,
0.003024600213393569,
0.2900630831718445,
-0.13758116960525513,
-0.13704203069210052,
0.07803474366664886,
-0.40268367528915405,
-0.31749266386032104,
-0.4946442246437073,
0.2114555686712265,
0.06812366843223572,
-0.07026755064725876,
0.09455852210521698,
-0.4956180155277252,
-0.45447012782096863,
0.3093896210193634,
0.11124475300312042,
-0.19062505662441254,
-0.020559756085276604,
-0.14614060521125793,
-0.13126946985721588,
0.14376500248908997,
0.3040231168270111,
0.15040402114391327,
0.06838278472423553,
0.002441906835883856,
0.04440852627158165,
-0.17900516092777252,
-0.17652863264083862,
-0.1509857475757599,
0.1962992399930954,
0.18605835735797882,
0.02245166152715683,
0.20053258538246155,
-0.11814194917678833,
-0.19939903914928436,
-0.0583077035844326,
0.13483819365501404,
-0.05637254938483238,
-0.04422052949666977,
0.0818949043750763,
0.07006697356700897,
0.43688225746154785,
-0.4313291013240814,
0.10963328927755356,
-0.10901892930269241,
0.8408143520355225,
0.0798129141330719,
0.009366539306938648,
0.5487750172615051,
0.11104632914066315,
-0.2143997997045517,
-0.2023211270570755,
-0.13576798141002655,
-0.07938209176063538,
0.3421775698661804,
-0.34324997663497925,
0.5485954880714417,
0.10368827730417252,
0.07684452831745148,
0.34530338644981384,
-0.12197568267583847,
-0.09082253277301788,
0.15421341359615326,
0.2604791224002838,
-0.13363318145275116,
-0.14168785512447357,
0.04483672231435776,
0.08193463087081909,
-0.042565591633319855,
-0.09729030728340149,
0.14318057894706726,
-0.29313117265701294,
-0.23916734755039215,
0.060963090509176254,
0.48136425018310547,
-0.1783904880285263,
-0.13189512491226196,
0.490529865026474,
0.011241075582802296,
0.3369818925857544,
-0.05129088833928108,
-0.08730048686265945,
-0.1786283701658249,
0.42023441195487976,
-0.09204113483428955,
0.4068499803543091,
0.12513281404972076,
0.08253781497478485,
-0.4138418138027191,
-0.5052164793014526,
-0.02406904846429825,
0.05521798133850098,
-0.14657868444919586,
0.2593785524368286,
0.10925884544849396,
0.22993360459804535,
0.12150534987449646,
0.041403498500585556,
-0.49752041697502136,
-0.03218606859445572,
0.02456776238977909,
-0.02785073034465313,
0.04522605612874031,
-0.3645437955856323,
-0.14286255836486816,
0.3663729429244995,
0.03849288076162338,
-0.10338800400495529,
0.31098198890686035,
0.14311403036117554,
-0.14732228219509125,
-0.6717373728752136,
0.036505959928035736,
-0.1164713203907013,
0.0497748963534832,
-0.30637696385383606,
0.024019846692681313,
0.21314099431037903,
-0.1313627064228058,
-0.01785830780863762,
0.02481062524020672,
0.3455335199832916,
0.4297320246696472,
0.016622019931674004,
-0.023358525708317757,
0.02785407193005085,
-0.0651850700378418,
-0.22580869495868683,
0.33900225162506104,
0.25499433279037476,
-0.0104680135846138,
0.14580288529396057,
0.12069004774093628,
-0.26161515712738037,
0.17222604155540466,
0.09335844218730927,
-0.010657397098839283,
-0.21045784652233124,
0.6825146079063416,
-0.29151514172554016,
0.1202344074845314,
-0.13513438403606415,
-0.34334781765937805,
-0.33907994627952576,
-0.030240947380661964,
0.34022170305252075,
0.15716320276260376,
0.08060992509126663,
-0.31188252568244934,
0.03849562630057335,
-0.2671257257461548,
0.26040971279144287,
0.04898266866803169,
0.15069830417633057,
-0.3443180322647095,
0.13533371686935425,
-0.7035642266273499,
0.0071809301152825356,
0.08433511108160019,
-0.02662617713212967,
-0.029489791020751,
0.32589423656463623,
-0.2704518735408783,
0.17942191660404205,
0.23767028748989105,
-0.036499664187431335,
0.2352367341518402,
0.4280111789703369,
-0.2742740213871002,
-0.050684742629528046,
-0.30236202478408813,
0.006889792159199715,
-0.12760359048843384,
-0.28263527154922485,
0.2721914052963257,
-0.5946939587593079,
-0.02793050929903984,
-0.0327485017478466,
-0.1132182627916336,
0.28615519404411316,
-0.283895343542099,
0.7775365710258484,
0.020164242014288902,
0.39108648896217346,
-0.054441578686237335,
-0.06426036357879639,
-0.32348066568374634,
0.056333597749471664,
0.006506315898150206,
0.18165867030620575,
-0.11244017630815506,
0.2903116047382355,
0.114325612783432,
0.17948223650455475,
-0.13710373640060425,
-0.1422661989927292,
0.07060088217258453,
0.29985618591308594,
-0.0024714195169508457,
-0.3307427763938904,
-0.020697051659226418,
0.09412272274494171,
0.23459848761558533,
0.26646170020103455,
-0.11944323778152466,
0.18120163679122925,
-0.1614154726266861,
-0.26351022720336914,
0.32506799697875977,
-0.28733476996421814,
-0.2141285538673401,
-0.11213713884353638,
0.13958321511745453,
0.29794231057167053,
0.01932261697947979,
-0.4697849154472351,
0.0013585559790953994,
0.275063693523407,
-0.13463275134563446,
-0.22876514494419098,
0.10920092463493347,
0.12852172553539276,
-0.1194901242852211,
-0.028306692838668823,
0.19605259597301483,
0.004283497110009193,
-0.292571485042572,
0.2687157988548279,
-0.14108243584632874
] |
https://github.com/huggingface/datasets/issues/2116
|
Creating custom dataset results in error while calling the map() function
|
Hi,
the `_data` attribute is missing due to `MyDataset.__init__` not calling the parent `__init__`. However, I don't think it's a good idea to subclass the `datasets.Dataset` class (e.g. it's kind of dangerous to override `datasets.Dataset.__getitem__`). Instead, it's better to follow the "association over inheritance" approach with a simple wrapper class that delegates calls to a wrapped `Dataset` (map, etc.). Btw, the library offers the `datasets.Dataset.from_pandas` class method to directly create a `datasets.Dataset` from the dataframe.
|
calling `map()` of `datasets` library results into an error while defining a Custom dataset.
Reproducible example:
```
import datasets
class MyDataset(datasets.Dataset):
def __init__(self, sentences):
"Initialization"
self.samples = sentences
def __len__(self):
"Denotes the total number of samples"
return len(self.samples)
def __getitem__(self, index):
"Generates one sample of data"
# Select sample
# Load data and get label
samples = self.samples[index]
return samples
def preprocess_function_train(examples):
inputs = examples
labels = [example+tokenizer.eos_token for example in examples ]
inputs = tokenizer(inputs, max_length=30, padding=True, truncation=True)
labels = tokenizer(labels, max_length=30, padding=True, truncation=True)
model_inputs = inputs
model_inputs["labels"] = labels["input_ids"]
print("about to return")
return model_inputs
##train["sentence"] is dataframe column
train_dataset = MyDataset(train['sentence'].values.tolist())
train_dataset = train_dataset.map(
preprocess_function,
batched = True,
batch_size=32
)
```
Stack trace of error:
```
Traceback (most recent call last):
File "dir/train_generate.py", line 362, in <module>
main()
File "dir/train_generate.py", line 245, in main
train_dataset = train_dataset.map(
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1244, in map
return self._map_single(
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 149, in wrapper
unformatted_columns = set(self.column_names) - set(self._format_columns or [])
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 526, in column_names
return self._data.column_names
AttributeError: 'MyDataset' object has no attribute '_data'
```
| 75
|
Creating custom dataset results in error while calling the map() function
calling `map()` of `datasets` library results into an error while defining a Custom dataset.
Reproducible example:
```
import datasets
class MyDataset(datasets.Dataset):
def __init__(self, sentences):
"Initialization"
self.samples = sentences
def __len__(self):
"Denotes the total number of samples"
return len(self.samples)
def __getitem__(self, index):
"Generates one sample of data"
# Select sample
# Load data and get label
samples = self.samples[index]
return samples
def preprocess_function_train(examples):
inputs = examples
labels = [example+tokenizer.eos_token for example in examples ]
inputs = tokenizer(inputs, max_length=30, padding=True, truncation=True)
labels = tokenizer(labels, max_length=30, padding=True, truncation=True)
model_inputs = inputs
model_inputs["labels"] = labels["input_ids"]
print("about to return")
return model_inputs
##train["sentence"] is dataframe column
train_dataset = MyDataset(train['sentence'].values.tolist())
train_dataset = train_dataset.map(
preprocess_function,
batched = True,
batch_size=32
)
```
Stack trace of error:
```
Traceback (most recent call last):
File "dir/train_generate.py", line 362, in <module>
main()
File "dir/train_generate.py", line 245, in main
train_dataset = train_dataset.map(
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1244, in map
return self._map_single(
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 149, in wrapper
unformatted_columns = set(self.column_names) - set(self._format_columns or [])
File "anaconda_dir/anaconda3/envs/env1/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 526, in column_names
return self._data.column_names
AttributeError: 'MyDataset' object has no attribute '_data'
```
Hi,
the `_data` attribute is missing due to `MyDataset.__init__` not calling the parent `__init__`. However, I don't think it's a good idea to subclass the `datasets.Dataset` class (e.g. it's kind of dangerous to override `datasets.Dataset.__getitem__`). Instead, it's better to follow the "association over inheritance" approach with a simple wrapper class that delegates calls to a wrapped `Dataset` (map, etc.). Btw, the library offers the `datasets.Dataset.from_pandas` class method to directly create a `datasets.Dataset` from the dataframe.
|
[
-0.3095273971557617,
0.1919829100370407,
-0.028081687167286873,
0.08091903477907181,
0.23226341605186462,
0.02445276826620102,
0.4063168466091156,
0.37322115898132324,
0.22326692938804626,
0.057967476546764374,
0.10709157586097717,
0.4760228097438812,
-0.3742123544216156,
-0.0511053204536438,
0.07849141955375671,
-0.00893629714846611,
0.055996447801589966,
0.185633584856987,
-0.1835913360118866,
-0.03899795562028885,
-0.3738660216331482,
0.19366395473480225,
-0.18245548009872437,
0.20544986426830292,
-0.2108696550130844,
-0.2884715795516968,
0.11174627393484116,
-0.08033373206853867,
-0.29302310943603516,
-0.38592463731765747,
0.3439577519893646,
-0.06871083378791809,
0.005372440908104181,
0.7015202045440674,
-0.00010453289723955095,
0.05418539419770241,
0.1606345772743225,
-0.054436009377241135,
-0.0714646428823471,
-0.2946873903274536,
-0.13007663190364838,
-0.05972902476787567,
0.06532245129346848,
-0.3553418517112732,
-0.07086306065320969,
-0.22665788233280182,
-0.22048862278461456,
-0.5003935694694519,
0.23764437437057495,
0.585728645324707,
0.30929163098335266,
0.006549513898789883,
0.01578395813703537,
-0.24255214631557465,
0.24067261815071106,
0.2789570689201355,
-0.16278588771820068,
0.12546229362487793,
0.10192650556564331,
-0.4344245493412018,
0.02112027443945408,
0.2214970886707306,
-0.051901668310165405,
0.017114227637648582,
0.22511060535907745,
-0.07298179715871811,
0.024742592126131058,
-0.3594277501106262,
0.033276382833719254,
0.1301148384809494,
0.41180574893951416,
-0.537583589553833,
-0.30023518204689026,
0.0617012083530426,
0.017713287845253944,
-0.17041616141796112,
0.2560875713825226,
0.07476039230823517,
-0.15732517838478088,
0.05294780805706978,
-0.07751311361789703,
0.13103176653385162,
-0.09681090712547302,
0.3694395124912262,
0.13062401115894318,
0.13703902065753937,
-0.1636960804462433,
0.2666485905647278,
0.1102193146944046,
-0.4297786355018616,
0.023280374705791473,
-0.10806501656770706,
0.079526387155056,
0.40800079703330994,
-0.3664746582508087,
-0.16686539351940155,
0.055879902094602585,
-0.4467197358608246,
0.14313577115535736,
-0.15204711258411407,
0.02264823019504547,
-0.1222037747502327,
0.14363202452659607,
0.13548804819583893,
0.23122753202915192,
0.15795579552650452,
-0.02010858803987503,
0.403840571641922,
-0.08760789781808853,
-0.0010172482579946518,
-0.26958078145980835,
-0.08378758281469345,
0.02951975166797638,
-0.22606894373893738,
0.08570374548435211,
0.06214972957968712,
0.16517968475818634,
0.020962271839380264,
0.09747204184532166,
0.0965920239686966,
-0.31748321652412415,
0.1343468278646469,
0.14404596388339996,
0.21852314472198486,
0.15411946177482605,
-0.16628049314022064,
-0.06253214180469513,
0.12992960214614868,
-0.11697987467050552,
0.20391950011253357,
-0.24680636823177338,
0.14858601987361908,
-0.3834017217159271,
0.00728619797155261,
0.17620022594928741,
0.154436856508255,
0.2860076129436493,
-0.00027327731368131936,
0.022702200338244438,
-0.14872083067893982,
0.18525023758411407,
-0.3488221764564514,
0.10497979819774628,
0.16054625809192657,
-0.09926306456327438,
0.21236445009708405,
0.28931477665901184,
-0.02254810370504856,
-0.14825038611888885,
0.076496921479702,
-0.130156472325325,
-0.36386486887931824,
-0.19158656895160675,
0.24965235590934753,
0.08307892084121704,
0.23957189917564392,
-0.11764693260192871,
0.22862213850021362,
0.43396300077438354,
-0.18812192976474762,
0.026985805481672287,
-0.19684353470802307,
-0.27002519369125366,
-0.3524686098098755,
-0.08463355898857117,
0.16187641024589539,
-0.39145809412002563,
0.1544373482465744,
-0.11991534382104874,
-0.052884891629219055,
-0.02149248495697975,
0.17910313606262207,
-0.3845657408237457,
0.5214554071426392,
-0.18569707870483398,
0.3085443675518036,
0.4751524031162262,
-0.19755615293979645,
-0.461696594953537,
0.1067751944065094,
-0.042960211634635925,
-0.08318974077701569,
-0.3642067611217499,
0.019702626392245293,
0.3551740050315857,
-0.06627439707517624,
0.19590304791927338,
0.01623614691197872,
-0.060098521411418915,
0.157696932554245,
0.04836469888687134,
-0.05160487815737724,
0.11969055235385895,
0.01658104918897152,
-0.013094364665448666,
0.12874306738376617,
0.22458195686340332,
-0.10519971698522568,
-0.0357205756008625,
-0.2099781185388565,
0.09279804676771164,
0.3010175824165344,
0.3053908348083496,
0.14114172756671906,
-0.10294599086046219,
-0.15108127892017365,
-0.2661786675453186,
0.15869882702827454,
0.16264916956424713,
0.17284204065799713,
-0.20333486795425415,
-0.11100614070892334,
-0.20701774954795837,
0.08602023869752884,
-0.18152467906475067,
-0.04414083808660507,
0.2680635452270508,
-0.05876873806118965,
0.10482130199670792,
0.006181518081575632,
-0.06091360002756119,
0.03787070885300636,
-0.36398807168006897,
0.1085459291934967,
-0.13080407679080963,
-0.056731779128313065,
0.028543369844555855,
-0.20342649519443512,
0.0002925591543316841,
0.13456851243972778,
0.11349543929100037,
0.021103715524077415,
-0.2943393290042877,
0.34830906987190247,
0.2806225121021271,
-0.19801688194274902,
-0.06840377300977707,
0.016222158446907997,
-0.15277411043643951,
-0.2838917672634125,
0.048884663730859756,
0.11197815090417862,
0.1651587188243866,
-0.12410815805196762,
0.002693885238841176,
0.15989647805690765,
0.08525541424751282,
0.048639051616191864,
-0.08658338338136673,
0.18376192450523376,
0.27779367566108704,
0.15569384396076202,
-0.13248100876808167,
-0.2694280445575714,
-0.16784797608852386,
0.06986875832080841,
0.3245130181312561,
0.016435515135526657,
0.0377558171749115,
-0.22199678421020508,
0.438350111246109,
0.13242724537849426,
0.17424152791500092,
0.12875235080718994,
-0.05004982650279999,
-0.06069601699709892,
0.042192243039608,
0.3934544622898102,
0.5440597534179688,
0.03579740598797798,
-0.15682516992092133,
0.08574263751506805,
-0.1568330079317093,
0.06005251407623291,
0.0551593191921711,
0.09215754270553589,
0.3318350315093994,
-0.05414510518312454,
0.04165492206811905,
0.024436339735984802,
-0.13464286923408508,
-0.31621289253234863,
0.0016257923562079668,
0.27990227937698364,
-0.17945753037929535,
-0.05671298876404762,
-0.06567248702049255,
-0.05797511711716652,
-0.07339005917310715,
-0.22757191956043243,
-0.04095000773668289,
-0.18282414972782135,
-0.2411838173866272,
-0.04841866344213486,
-0.03768252953886986,
0.26620644330978394,
0.004760192707180977,
-0.03485902026295662,
0.16778616607189178,
-0.3207720220088959,
0.3212358355522156,
-0.39437511563301086,
-0.12028257548809052,
0.1123843565583229,
0.09087738394737244,
-0.0423448272049427,
0.3318921625614166,
0.13083337247371674,
0.04041174426674843,
-0.2614424228668213,
-0.1993706077337265,
0.08414759486913681,
-0.09703738987445831,
0.10336565226316452,
0.3699519634246826,
0.014336569234728813,
-0.21000061929225922,
-0.180921733379364,
0.3269990384578705,
-0.15594327449798584,
-0.05989393964409828,
0.02471119910478592,
-0.11320643872022629,
-0.15558767318725586,
-0.17928306758403778,
-0.309329092502594,
-0.23788076639175415,
-0.2599627673625946,
0.08368375152349472,
-0.019355012103915215,
0.18145672976970673,
0.19992977380752563,
0.2797602117061615,
0.3256443738937378,
-0.01747109368443489,
-0.18350280821323395,
-0.2639647126197815,
-0.28202158212661743,
0.159514382481575,
-0.5192969441413879,
-0.1890832632780075,
0.15988832712173462,
-0.11968705803155899,
0.44780951738357544,
0.312394380569458,
-0.36659055948257446,
-0.033888090401887894,
-0.09887933731079102,
0.13863952457904816,
-0.09803976118564606,
-0.11123811453580856,
0.4257832169532776,
0.13439102470874786,
-0.02496924065053463,
-0.29750263690948486,
-0.4357222020626068,
0.2185884565114975,
-0.01202814094722271,
0.10790272802114487,
0.1871146857738495,
0.6236605048179626,
-0.021652767434716225,
0.7203986644744873,
0.3328927755355835,
-0.3126325011253357,
0.2853407859802246,
-0.19340093433856964,
0.24196472764015198,
-0.2737652361392975,
-0.368257999420166,
-0.007480992935597897,
0.009523455984890461,
-0.08642355352640152,
0.06656300276517868,
-0.17924785614013672,
-0.3093305826187134,
0.040392134338617325,
0.2701480984687805,
-0.3075179159641266,
-0.2517101466655731,
0.10835866630077362,
-0.19754533469676971,
0.3764651417732239,
0.006741371937096119,
0.1433410942554474,
-0.4830631911754608,
0.07406532764434814,
-0.03610650449991226,
-0.0577547512948513,
-0.047547176480293274,
0.034184254705905914,
-0.5273033976554871,
0.09967096149921417,
-0.38567614555358887,
0.1921502649784088,
0.16394947469234467,
0.43702390789985657,
-0.1329723447561264,
0.1676371544599533,
-0.1669902801513672,
0.29145458340644836,
0.3413008749485016,
-0.5667738914489746,
-0.33518657088279724,
0.22157780826091766,
0.03179363161325455,
-0.5315789580345154,
0.051585279405117035,
0.05819105729460716,
0.4367111325263977,
0.03125535696744919,
0.4528926908969879,
-0.1641843616962433,
-0.09607874602079391,
0.12807618081569672,
-0.07425331324338913,
0.0372077152132988,
-0.13915105164051056,
0.08312228322029114,
-0.31586864590644836,
-0.23924605548381805,
-0.07013216614723206,
0.1149531826376915,
0.1528116762638092,
0.23153036832809448,
-0.18244308233261108,
-0.04744916409254074,
0.03387593850493431,
0.03827157989144325,
0.13031618297100067,
0.27642393112182617,
0.04459249600768089,
0.16545094549655914,
0.0012368353782221675,
-0.12202465534210205,
0.2366405576467514,
0.3606569170951843,
-0.2667712867259979,
-0.40801000595092773,
-0.005506477784365416,
-0.035509683191776276,
0.258101224899292,
0.07405919581651688,
-0.18696007132530212,
-0.05645580217242241,
-0.29637715220451355,
0.011172455735504627,
-0.07145015895366669,
0.19028176367282867,
0.48042458295822144,
-0.07788478583097458,
-0.3768901824951172,
-0.6103813052177429,
0.16139300167560577,
0.1002553179860115,
0.014490226283669472,
0.5090954303741455,
-0.16841007769107819,
-0.26362285017967224,
0.4866536557674408,
0.09405747801065445,
0.6123242974281311,
-0.1272222101688385,
-0.08780968934297562,
0.14264489710330963,
0.11324728280305862,
0.3553886115550995,
-0.031267572194337845,
0.01675451174378395,
-0.4292018413543701,
-0.021339133381843567,
-0.06670355796813965,
-0.23316824436187744,
0.23041857779026031,
0.34857070446014404,
-0.18945859372615814,
0.11646774411201477,
0.006588836200535297,
0.4110311269760132,
-0.04011465236544609,
0.12078019976615906,
0.2615002989768982,
-0.4369434118270874,
-0.21263477206230164,
0.3301953971385956,
-0.1307961344718933,
0.0271140169352293,
-0.10175881534814835,
-0.05461686849594116,
-0.2210528403520584,
-0.28387391567230225,
-0.26767513155937195,
-0.04280697554349899,
-0.5681082606315613,
0.3580840229988098,
-0.028971131891012192,
0.028407815843820572,
0.28312647342681885,
0.3539127707481384,
0.1921074092388153,
0.29027363657951355,
-0.06442421674728394,
-0.028764821588993073,
0.1674303114414215,
0.14391537010669708,
-0.008015298284590244,
-0.0916820615530014,
0.12531280517578125,
0.04177851974964142,
-0.12906230986118317,
0.08961482346057892,
-0.08457277715206146,
-0.14933036267757416,
-0.12743577361106873,
-0.09916217625141144,
0.23952147364616394,
-0.5454422831535339,
-0.28356778621673584,
-0.2808876037597656,
-0.09224637597799301,
-0.17476744949817657,
0.19645142555236816,
0.014882365241646767,
0.01398326177150011,
0.3123820722103119,
-0.20659370720386505,
-0.26952385902404785,
0.06176580861210823,
0.1066494807600975,
-0.06982272863388062,
0.17050784826278687,
0.4268491864204407,
0.012101269327104092,
-0.04653362184762955,
-0.3360989987850189,
0.17951704561710358,
0.11918087303638458,
-0.3774205446243286,
0.17382889986038208,
-0.1010739877820015,
-0.015217232517898083,
0.06079232320189476,
0.22857870161533356,
0.10354810208082199,
0.11699623614549637,
0.21952210366725922,
-0.21816878020763397,
-0.3500107228755951,
-0.004109083209186792,
-0.20889976620674133,
0.3608579635620117,
0.10462252795696259,
0.2733376622200012,
-0.05056140571832657,
-0.0350838229060173,
-0.3905481696128845,
0.1263682097196579,
-0.1349468231201172,
0.16960754990577698,
0.22142645716667175,
0.12921269237995148,
0.1033269539475441,
0.03847083821892738,
0.15626177191734314,
0.3508366346359253,
-0.26355674862861633,
-0.2734266519546509,
-0.13937413692474365,
0.04894183203577995,
0.23699820041656494,
-0.1848822981119156,
0.10326135158538818,
-0.13236768543720245,
-0.30756255984306335,
-0.25865739583969116,
-0.056038662791252136,
0.24638526141643524,
-0.17265768349170685,
0.21216276288032532,
0.08827124536037445,
0.05334384739398956,
0.09318861365318298,
0.06736917048692703,
-0.06312265992164612,
0.011817533522844315,
0.003136923536658287,
0.15289080142974854,
0.1373869776725769,
-0.12226002663373947,
-0.11248020082712173,
0.10237790644168854,
0.011910565197467804,
0.08242592960596085,
0.15782448649406433,
-0.23289993405342102,
0.07446172833442688,
0.2115168422460556,
0.2725209593772888,
0.10736308991909027,
-0.4062049984931946,
-0.06516492366790771,
0.36745867133140564,
0.30921071767807007,
-0.1567988246679306,
-0.07733339816331863,
0.4437187612056732,
0.07174798101186752,
0.1419774889945984,
0.26143956184387207,
0.11257662624120712,
0.11575321853160858,
-0.25280529260635376,
-0.14448001980781555,
0.13031038641929626,
-0.13385187089443207,
0.35731732845306396,
0.48072195053100586,
-0.11130910366773605,
0.07381249964237213,
0.2318693846464157,
0.21450385451316833,
0.17987561225891113,
0.6407542824745178,
-0.10273126512765884,
0.4042505919933319,
0.15372048318386078,
-0.08888375759124756,
0.23937800526618958,
-0.42933762073516846,
0.323300838470459,
0.09969992190599442,
-0.12099213153123856,
0.1440589725971222,
-0.12154365330934525,
0.226836159825325,
-0.2595469355583191,
0.0063337842002511024,
-0.16517117619514465,
0.034844350069761276,
-0.28347331285476685,
-0.000353986892150715,
-0.09228191524744034,
-0.04600733518600464,
0.1485702246427536,
-0.2673064172267914,
-0.10607971996068954,
-0.18382102251052856,
0.24174728989601135,
-0.11520615965127945,
-0.008454186841845512,
-0.21452586352825165,
-0.12572935223579407,
0.11787518858909607,
-0.0035538848023861647,
-0.21240508556365967,
0.07510935515165329,
-0.151631698012352,
0.05784286558628082,
-0.1489555537700653,
0.3527967929840088,
0.36544984579086304,
0.5458372831344604,
-0.10880306363105774,
0.05832461267709732,
0.14973768591880798,
-0.052624862641096115,
0.13730935752391815,
0.09949099272489548,
0.13393040001392365,
0.03249068930745125,
0.42962852120399475,
0.17087578773498535,
-0.1730731576681137,
-0.10641047358512878,
0.15638655424118042,
0.3600681722164154,
-0.09987779706716537,
0.06028708443045616,
-0.13641150295734406,
-0.06251329183578491,
-0.18647754192352295,
0.28169965744018555,
-0.21341168880462646,
-0.16224312782287598,
0.605093240737915,
0.026961639523506165,
0.34532231092453003,
-0.24748264253139496,
0.1459154486656189,
-0.11328168213367462,
0.49642205238342285,
0.11371982097625732,
-0.02739502303302288,
-0.39463263750076294,
-0.30238646268844604,
-0.4063786268234253,
0.10228829085826874,
-0.3766292929649353,
0.07846879959106445,
-0.08807472884654999,
0.030101565644145012,
-0.03703061491250992,
0.06641051918268204,
0.12080013751983643,
-0.22224922478199005,
-0.1465127170085907,
0.27605029940605164,
-0.2253483235836029,
-0.2499588578939438,
-0.3256140649318695,
-0.08290094137191772,
0.3331919312477112,
-0.31612199544906616,
-0.08584859222173691,
0.0034049879759550095,
0.14386746287345886,
-0.2619490921497345,
0.029976367950439453,
0.08298405259847641,
-0.0884648784995079,
0.5856484770774841,
0.1630406677722931,
0.3099351227283478,
0.019262077286839485,
-0.0643438845872879,
-0.17921239137649536,
-0.17159150540828705,
-0.09057143330574036,
0.29272353649139404,
0.061685167253017426,
0.6076014637947083,
-0.1491551250219345,
-0.0012975485296919942,
-0.31157389283180237,
-0.10974989831447601,
0.16414254903793335,
-0.08573869615793228,
-0.2654811441898346,
0.2444043755531311,
-0.01813526637852192,
-0.04404817894101143,
0.10097169876098633,
0.24559438228607178,
-0.08197186887264252,
0.5150861740112305,
-0.008100706152617931,
-0.2914107143878937,
0.5103009939193726,
-0.5262163877487183,
-0.35048815608024597,
0.17920911312103271,
0.002452137880027294,
-0.07367053627967834,
-0.22782479226589203,
-0.5044868588447571,
0.09551417827606201,
0.39784660935401917,
-0.07570873200893402,
-0.09643542766571045,
0.05446210503578186,
-0.24283964931964874,
0.16268806159496307,
-0.027685245499014854,
0.2933385670185089,
-0.20391060411930084,
-0.10677344352006912,
0.21424216032028198,
-0.21253062784671783
] |
https://github.com/huggingface/datasets/issues/2106
|
WMT19 Dataset for Kazakh-English is not formatted correctly
|
Hi ! Thanks for reporting
By looking at the raw `news-commentary-v14.en-kk.tsv` file, it looks like there are at least 17 lines with this issue.
Moreover these issues are not always the same:
- L97 is only `kk` text and must be appended at the end of the `kk` text of the **next** line
- L2897 is only `kk` text and must be appended at the end of the `kk` text of the **previous** line
- L1247 and L1248 are only `kk` texts and must be inserted at the **beginning** of the `kk` text of the next line
- (and there are many others)
It would be nice to have a corrected version of this file ! The file is available in the `wmt/news-commentary` repository on the Datasets Hub here:
https://huggingface.co/datasets/wmt/news-commentary/tree/main/v14/training
Then maybe we can notify the WMT authors and host the corrected version somewhere
|
In addition to the bug of languages being switched from Issue @415, there are incorrect translations in the dataset because the English-Kazakh translations have a one off formatting error.
The News Commentary v14 parallel data set for kk-en from http://www.statmt.org/wmt19/translation-task.html has a bug here:
> Line 94. The Swiss National Bank, for its part, has been battling with the deflationary effects of the franc’s dramatic appreciation over the past few years. Швейцарияның Ұлттық банкі өз тарапынан, соңғы бірнеше жыл ішінде франк құнының қатты өсуінің дефляциялық әсерімен күресіп келеді.
>
> Line 95. Дефляциялық күштер 2008 жылы терең және ұзаққа созылған жаһандық дағдарысқа байланысты орын алған ірі экономикалық және қаржылық орын алмасулардың арқасында босатылды. Жеке қарыз қаражаты үлесінің қысқаруы орталық банктің рефляцияға жұмсалған күш-жігеріне тұрақты соққан қарсы желдей болды.
>
> Line 96. The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate. 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды.
As you can see, line 95 has only the Kazakh translation which should be part of line 96. This causes all of the following English-Kazakh translation pairs to be one off rendering ALL of those translations incorrect. This issue was not fixed when the dataset was imported to Huggingface. By running this code
```
import datasets
from datasets import load_dataset
dataset = load_dataset('wmt19', 'kk-en')
for key in dataset['train']['translation']:
if 'The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008.' in key['kk']:
print(key['en'])
print(key['kk'])
break
```
we get:
> 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды.
> The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate.
which shows that the issue still persists in the Huggingface dataset. The Kazakh sentence matches up to the next English sentence in the dataset instead of the current one.
Please let me know if there's you have any ideas to fix this one-off error from the dataset or if this can be fixed by Huggingface.
| 144
|
WMT19 Dataset for Kazakh-English is not formatted correctly
In addition to the bug of languages being switched from Issue @415, there are incorrect translations in the dataset because the English-Kazakh translations have a one off formatting error.
The News Commentary v14 parallel data set for kk-en from http://www.statmt.org/wmt19/translation-task.html has a bug here:
> Line 94. The Swiss National Bank, for its part, has been battling with the deflationary effects of the franc’s dramatic appreciation over the past few years. Швейцарияның Ұлттық банкі өз тарапынан, соңғы бірнеше жыл ішінде франк құнының қатты өсуінің дефляциялық әсерімен күресіп келеді.
>
> Line 95. Дефляциялық күштер 2008 жылы терең және ұзаққа созылған жаһандық дағдарысқа байланысты орын алған ірі экономикалық және қаржылық орын алмасулардың арқасында босатылды. Жеке қарыз қаражаты үлесінің қысқаруы орталық банктің рефляцияға жұмсалған күш-жігеріне тұрақты соққан қарсы желдей болды.
>
> Line 96. The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate. 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды.
As you can see, line 95 has only the Kazakh translation which should be part of line 96. This causes all of the following English-Kazakh translation pairs to be one off rendering ALL of those translations incorrect. This issue was not fixed when the dataset was imported to Huggingface. By running this code
```
import datasets
from datasets import load_dataset
dataset = load_dataset('wmt19', 'kk-en')
for key in dataset['train']['translation']:
if 'The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008.' in key['kk']:
print(key['en'])
print(key['kk'])
break
```
we get:
> 2009 жылы, алдыңғы қатарлы экономикалардың шамамен үштен бірі бағаның төмендеуін көрсетті, бұл соғыстан кейінгі жоғары деңгей болды.
> The deflationary forces were unleashed by the major economic and financial dislocations associated with the deep and protracted global crisis that erupted in 2008. Private deleveraging became a steady headwind to central bank efforts to reflate.
which shows that the issue still persists in the Huggingface dataset. The Kazakh sentence matches up to the next English sentence in the dataset instead of the current one.
Please let me know if there's you have any ideas to fix this one-off error from the dataset or if this can be fixed by Huggingface.
Hi ! Thanks for reporting
By looking at the raw `news-commentary-v14.en-kk.tsv` file, it looks like there are at least 17 lines with this issue.
Moreover these issues are not always the same:
- L97 is only `kk` text and must be appended at the end of the `kk` text of the **next** line
- L2897 is only `kk` text and must be appended at the end of the `kk` text of the **previous** line
- L1247 and L1248 are only `kk` texts and must be inserted at the **beginning** of the `kk` text of the next line
- (and there are many others)
It would be nice to have a corrected version of this file ! The file is available in the `wmt/news-commentary` repository on the Datasets Hub here:
https://huggingface.co/datasets/wmt/news-commentary/tree/main/v14/training
Then maybe we can notify the WMT authors and host the corrected version somewhere
|
[
-0.09533076733350754,
-0.5491949319839478,
-0.04321848228573799,
0.3162058889865875,
-0.08602796494960785,
0.010772157460451126,
0.1837916076183319,
0.17220935225486755,
-0.11406620591878891,
0.2022085189819336,
0.12895093858242035,
0.09879311174154282,
0.11172667890787125,
0.5228420495986938,
0.05024716630578041,
-0.21062816679477692,
0.11432009935379028,
-0.1941499263048172,
-0.25926926732063293,
-0.13412854075431824,
-0.06606040149927139,
0.10563099384307861,
-0.4930412173271179,
-0.054800089448690414,
-0.4117456376552582,
-0.11516443639993668,
-0.15023283660411835,
-0.07856183499097824,
-0.06588064134120941,
-0.1956116110086441,
0.07030430436134338,
0.1335621327161789,
-0.10531216859817505,
0.3510212302207947,
-0.00011126758909085765,
-0.24176254868507385,
0.0215643011033535,
-0.02972506918013096,
-0.16293610632419586,
0.07628967612981796,
-0.12577763199806213,
-0.8057075142860413,
-0.21128948032855988,
-0.12044364213943481,
-0.10379727184772491,
-0.4211297631263733,
-0.15734553337097168,
0.049836527556180954,
0.3065550923347473,
0.10483552515506744,
0.1853930801153183,
0.2881676256656647,
-0.0026125265285372734,
-0.11872974783182144,
-0.18591243028640747,
-0.020366419106721878,
-0.15856225788593292,
0.019884951412677765,
0.11007066071033478,
0.15269136428833008,
-0.11945080012083054,
0.658766508102417,
0.011842556297779083,
-0.11082064360380173,
-0.029941096901893616,
-0.11550267040729523,
-0.14760485291481018,
0.027158426120877266,
0.07761109620332718,
0.45032599568367004,
0.44131624698638916,
0.0170428603887558,
-0.051895689219236374,
-0.1849421262741089,
0.040448904037475586,
-0.3243749737739563,
0.07022994756698608,
0.1509532332420349,
-0.20879080891609192,
0.16877123713493347,
0.022209148854017258,
0.31000685691833496,
0.09863456338644028,
0.05401059612631798,
-0.20075881481170654,
0.46793317794799805,
-0.14769421517848969,
0.02706265263259411,
0.05422571301460266,
-0.04148704186081886,
-0.11182133853435516,
-0.06095206364989281,
-0.013525238260626793,
-0.1418362855911255,
-0.1481650173664093,
-0.0013133013853803277,
-0.09524136036634445,
-0.21983787417411804,
0.1539936065673828,
-0.5208001732826233,
-0.11590559780597687,
0.35599663853645325,
-0.2307446002960205,
-0.17779406905174255,
0.19275923073291779,
0.5753377079963684,
0.05765736475586891,
-0.3404279053211212,
0.14004293084144592,
0.16387128829956055,
0.005113101564347744,
-0.004276022780686617,
0.08582211285829544,
-0.42911389470100403,
-0.28519439697265625,
0.13752852380275726,
-0.05544263496994972,
-0.03889775648713112,
-0.09303086251020432,
0.12234722077846527,
0.1957932710647583,
-0.14406077563762665,
-0.23109190165996552,
0.019782042130827904,
-0.1138913705945015,
0.4291622042655945,
-0.16121305525302887,
0.06445658206939697,
-0.17765900492668152,
-0.16971515119075775,
-0.17972007393836975,
-0.13991473615169525,
-0.31851741671562195,
-0.03268785402178764,
-0.19182613492012024,
0.12692509591579437,
0.2599646747112274,
0.23285865783691406,
0.01058929692953825,
-0.08165784925222397,
-0.3358834981918335,
-0.07449106872081757,
0.4750348925590515,
0.23535111546516418,
-0.10940616577863693,
0.18947771191596985,
-0.06725359708070755,
0.08552341908216476,
0.0013111740117892623,
0.018461162224411964,
-0.3052264153957367,
0.2370886355638504,
-0.012715926393866539,
0.12227381020784378,
-0.1284806728363037,
-0.0958903506398201,
-0.2741917073726654,
0.5493562817573547,
0.023612985387444496,
-0.016498036682605743,
0.19536274671554565,
-0.10729218274354935,
-0.39070913195610046,
-0.1250796765089035,
0.2603444755077362,
0.1920645534992218,
-0.355953186750412,
-0.028467008844017982,
0.10109439492225647,
-0.05180036649107933,
0.49394986033439636,
0.4126816987991333,
0.10560174286365509,
0.14405836164951324,
-0.020315947011113167,
0.17872196435928345,
-0.07873613387346268,
0.040920112282037735,
-0.3128332495689392,
0.013484092429280281,
-0.2729092836380005,
0.46395277976989746,
-0.01561733428388834,
0.02886827662587166,
0.06042768433690071,
0.29151099920272827,
0.16218799352645874,
0.045751433819532394,
0.06714856624603271,
0.23639391362667084,
-0.286616712808609,
-0.36707308888435364,
0.6842615604400635,
-0.19204100966453552,
0.16208165884017944,
-0.34658461809158325,
0.023774631321430206,
-0.1346556395292282,
0.5904839634895325,
0.23877066373825073,
0.12028273940086365,
-0.13349616527557373,
-0.07767298072576523,
0.04834432154893875,
0.25634583830833435,
0.15257622301578522,
-0.2615073323249817,
0.20690615475177765,
0.19942080974578857,
0.49136584997177124,
0.23914064466953278,
0.1307506114244461,
-0.17878387868404388,
-0.1840573102235794,
-0.25602927803993225,
-0.3216756284236908,
0.21323175728321075,
0.08678986132144928,
-0.4696200489997864,
0.3506503701210022,
-0.06355683505535126,
-0.04470549151301384,
-0.06722427159547806,
-0.026002444326877594,
-0.2125885933637619,
-0.029750745743513107,
-0.008950061164796352,
-0.028549455106258392,
-0.1508801132440567,
0.2967279553413391,
0.24458062648773193,
0.1812209039926529,
-0.24099618196487427,
0.09130033850669861,
0.0638270303606987,
0.6336423754692078,
-0.11218806356191635,
-0.24152149260044098,
0.24191176891326904,
-0.7164648771286011,
0.03525286912918091,
0.11812645941972733,
-0.059329211711883545,
-0.09514115005731583,
0.12399685382843018,
0.43100666999816895,
-0.015163949690759182,
0.06345397233963013,
-0.1755184680223465,
0.08949193358421326,
0.25131580233573914,
-0.059186387807130814,
-0.07287169247865677,
-0.2587556540966034,
0.16871370375156403,
-0.23818328976631165,
-0.21763533353805542,
-0.03305315971374512,
-0.1434030830860138,
0.3936021625995636,
0.5164347887039185,
0.25172752141952515,
0.2264317274093628,
-0.10313265025615692,
-0.4107159674167633,
-0.1604100465774536,
0.3795120418071747,
0.21755565702915192,
-0.086941197514534,
0.0945359393954277,
0.1723041981458664,
0.2995277941226959,
0.1139068678021431,
-0.13244102895259857,
0.12955136597156525,
0.020617017522454262,
0.0954604372382164,
0.2805337905883789,
-0.10220915079116821,
0.020655475556850433,
-0.2630796432495117,
0.5188574194908142,
-0.13021595776081085,
0.04453262314200401,
-0.18247143924236298,
-0.17196618020534515,
-0.43524858355522156,
-0.08660522848367691,
-0.5954189300537109,
-0.3802390396595001,
-0.15609638392925262,
-0.4191432297229767,
0.02192414365708828,
-0.2171105295419693,
-0.28219860792160034,
0.27304190397262573,
0.5708180069923401,
0.13822604715824127,
-0.32887277007102966,
0.683456540107727,
-0.329160213470459,
-0.5311245322227478,
-0.1904897689819336,
0.07646064460277557,
0.23307614028453827,
0.5193151831626892,
0.10680443048477173,
-0.41996732354164124,
-0.14015857875347137,
-0.05760682001709938,
-0.6339115500450134,
0.14190703630447388,
-0.36917904019355774,
-0.06520438939332962,
-0.058294251561164856,
0.3191204369068146,
-0.2513330578804016,
-0.15171222388744354,
0.282158762216568,
-0.1380903124809265,
-0.0785941630601883,
0.3749207556247711,
-0.20439688861370087,
-0.1959826946258545,
-0.1805737018585205,
-0.4409830570220947,
-0.3408249616622925,
-0.15625545382499695,
0.2199530303478241,
-0.33375900983810425,
-0.26534974575042725,
0.41102755069732666,
0.23551912605762482,
0.014329437166452408,
-0.3028126657009125,
0.13742195069789886,
-0.22953926026821136,
-0.12518280744552612,
0.03687131404876709,
-0.07913894206285477,
-0.4876854717731476,
0.19587111473083496,
0.1955721229314804,
-0.1193506196141243,
-0.09728515893220901,
-0.19420884549617767,
0.4939141273498535,
-0.006795129738748074,
-0.16694799065589905,
0.1840139925479889,
0.13531695306301117,
0.011820388957858086,
-0.06235891953110695,
-0.002810112666338682,
-0.17534193396568298,
-0.2368914633989334,
-0.06167774274945259,
-0.013281106948852539,
0.16507314145565033,
-0.22056090831756592,
0.2217826098203659,
0.359853595495224,
0.27680227160453796,
0.14676031470298767,
0.23216961324214935,
-0.07834828644990921,
-0.08498309552669525,
0.3804531693458557,
-0.00702516408637166,
-0.1966293454170227,
-0.007207479793578386,
-0.2464371770620346,
0.09876235574483871,
0.534260630607605,
-0.03620303422212601,
0.3417951762676239,
-0.09598667174577713,
-0.4318203330039978,
-0.326005756855011,
-0.30057230591773987,
0.16341468691825867,
0.136578768491745,
0.22032198309898376,
0.193886861205101,
0.0029766219668090343,
-0.012141968123614788,
-0.2541388273239136,
0.011944683268666267,
0.18174779415130615,
-0.32332843542099,
0.14961445331573486,
-0.6493241786956787,
-0.39080145955085754,
-0.2101154625415802,
0.1783197820186615,
0.1908467561006546,
0.5266017317771912,
0.021693218499422073,
-0.08679039031267166,
0.014722161926329136,
0.004149928689002991,
0.12253029644489288,
0.11750966310501099,
-0.05267944931983948,
0.0036361210513859987,
-0.10444457828998566,
-0.2852303981781006,
-0.19018246233463287,
-0.18881069123744965,
-0.2742120027542114,
-0.16024388372898102,
0.38073354959487915,
-0.01782575249671936,
-0.053795941174030304,
-0.034060850739479065,
0.5762074589729309,
-0.4829656183719635,
0.054739657789468765,
-0.30976414680480957,
-0.24681678414344788,
-0.07788102328777313,
0.10562765598297119,
-0.08282826095819473,
-0.20355576276779175,
-0.24679645895957947,
0.17389871180057526,
0.33073073625564575,
0.21223919093608856,
-0.05118195712566376,
0.23937104642391205,
0.4279063940048218,
0.169732466340065,
-0.045973654836416245,
0.34365081787109375,
-0.18518126010894775,
0.5676717162132263,
0.325920432806015,
-0.10275064408779144,
-0.01686110347509384,
-0.41443517804145813,
-0.4195951223373413,
0.46778956055641174,
0.48748937249183655,
-0.14034537971019745,
0.25922808051109314,
0.5915625095367432,
-0.007006766740232706,
-0.28823453187942505,
-0.0628017708659172,
0.35770484805107117,
0.402875691652298,
-0.2360125184059143,
-0.03688320890069008,
0.12287740409374237,
-0.13774538040161133,
0.10441233217716217,
0.09242516756057739,
0.10913044959306717,
-0.1621648222208023,
0.18489615619182587,
-0.04335425794124603,
0.8865983486175537,
0.2256833016872406,
0.2615545094013214,
0.36029207706451416,
0.03307602182030678,
0.07390739768743515,
0.13859322667121887,
-0.16179324686527252,
-0.0941578820347786,
0.00458253500983119,
-0.046691104769706726,
0.2219846397638321,
0.15276803076267242,
-0.07321056723594666,
-0.32413148880004883,
0.2243206799030304,
0.10237304121255875,
0.58250892162323,
-0.14134931564331055,
-0.10165861248970032,
0.29417291283607483,
-0.06178208068013191,
-0.22734658420085907,
0.0887746810913086,
-0.14160393178462982,
0.04376400634646416,
-0.12338680773973465,
-0.18490998446941376,
-0.10140713304281235,
-0.15011700987815857,
-0.32511794567108154,
-0.024099910631775856,
-0.29458001255989075,
-0.10345053672790527,
-0.21351437270641327,
0.017954139038920403,
-0.002956356154754758,
0.018613090738654137,
0.4101051688194275,
0.20338985323905945,
-0.05462438613176346,
-0.037655606865882874,
0.24043315649032593,
0.20631852746009827,
0.014854461885988712,
-0.006598338950425386,
0.20286282896995544,
-0.22637878358364105,
-0.2533569931983948,
0.06463752686977386,
-0.11270841211080551,
0.23607027530670166,
-0.033952850848436356,
-0.05332767218351364,
-0.006304873153567314,
0.26339682936668396,
0.04964214563369751,
0.3528272807598114,
0.16206222772598267,
-0.42913636565208435,
0.10873187333345413,
-0.0865190327167511,
-0.16632463037967682,
0.3700791299343109,
0.2234918624162674,
-0.2619777321815491,
-0.17548242211341858,
0.06725598126649857,
0.21988622844219208,
0.1549965739250183,
0.3292734622955322,
0.322892963886261,
-0.15894795954227448,
-0.23085613548755646,
0.16419203579425812,
0.17833487689495087,
-0.3057086765766144,
0.0498167984187603,
-0.12268047779798508,
0.014501513913273811,
-0.24616925418376923,
0.7356245517730713,
0.24387606978416443,
-0.3041023015975952,
-0.10088959336280823,
-0.22220376133918762,
-0.2246762216091156,
0.46483877301216125,
0.21482083201408386,
0.02231685444712639,
0.27171003818511963,
0.3222666084766388,
0.0277982410043478,
0.15682870149612427,
-0.3618490993976593,
0.055300477892160416,
0.14750932157039642,
0.08929768949747086,
-0.23312406241893768,
0.12359581887722015,
0.0784093514084816,
-0.045986875891685486,
-0.049105484038591385,
0.04902258515357971,
-0.13689769804477692,
-0.17570139467716217,
-0.2522905766963959,
0.07033927738666534,
0.1060347855091095,
-0.20248295366764069,
0.12984433770179749,
-0.12092674523591995,
-0.010206633247435093,
-0.26063698530197144,
-0.039115000516176224,
0.3032337725162506,
0.02140577882528305,
0.6562046408653259,
0.5113461017608643,
0.3748394250869751,
-0.167658731341362,
0.030637113377451897,
0.14141421020030975,
0.04082923382520676,
-0.021517572924494743,
-0.07421955466270447,
0.05764085054397583,
-0.014036373235285282,
0.0181793961673975,
0.001982305897399783,
-0.07014172524213791,
0.31095975637435913,
0.0314573273062706,
-0.05690708011388779,
0.1499103307723999,
-0.07563072443008423,
0.2567426860332489,
0.23281721770763397,
-0.00617334246635437,
-0.13683168590068817,
0.13346776366233826,
0.12609021365642548,
-0.35533255338668823,
0.06958731263875961,
0.23154523968696594,
-0.2497904747724533,
0.22471216320991516,
-0.05470786988735199,
0.6976214051246643,
-0.17128413915634155,
0.12964271008968353,
-0.05975722894072533,
-0.1611146777868271,
-0.2872357964515686,
0.2644667327404022,
0.1709650307893753,
-0.09302029013633728,
0.26800090074539185,
-0.09163326025009155,
-0.0525616891682148,
-0.10023893415927887,
0.0008201037999242544,
0.18949444591999054,
0.36144089698791504,
0.3250838816165924,
-0.0061284760013222694,
-0.07622062414884567,
-0.17648304998874664,
0.39230990409851074,
0.26279348134994507,
-0.5786656737327576,
-0.011880847625434399,
0.315203458070755,
0.4003908932209015,
0.026182593777775764,
-0.2331152856349945,
-0.19602884352207184,
0.1454232633113861,
-0.4816761314868927,
0.09716834872961044,
-0.09881114214658737,
-0.15273258090019226,
-0.16370481252670288,
-0.1387464851140976,
-0.16914132237434387,
0.11892109364271164,
0.2113550454378128,
-0.05960182100534439,
-0.23627181351184845,
0.06460390239953995,
-0.3638756275177002,
-0.004196774214506149,
0.1547766476869583,
-0.23151026666164398,
0.17448681592941284,
0.25850439071655273,
-0.05606592446565628,
-0.02166479267179966,
0.41354045271873474,
0.14564070105552673,
0.2127307951450348,
0.020573072135448456,
-0.15733487904071808,
0.21029458940029144,
0.03123229183256626,
0.04501846432685852,
0.28437766432762146,
0.29462048411369324,
-0.07311399281024933,
0.1628478765487671,
0.14275585114955902,
-0.24512232840061188,
-0.10935840755701065,
0.40802544355392456,
-0.07035860419273376,
-0.14832733571529388,
-0.33654236793518066,
-0.22678405046463013,
0.010314706712961197,
-0.16614572703838348,
0.010660110041499138,
-0.062347348779439926,
0.044760677963495255,
0.44900572299957275,
-0.07464636117219925,
0.08885367959737778,
-0.1517065018415451,
0.12232960015535355,
0.22191551327705383,
0.6906309127807617,
0.2963453531265259,
-0.16482703387737274,
-0.008998601697385311,
-0.30205294489860535,
-0.7928382754325867,
0.28977489471435547,
-0.08511842042207718,
0.4469287693500519,
-0.08661691099405289,
-0.12004566192626953,
0.35751375555992126,
0.2640531063079834,
0.21364730596542358,
0.27240830659866333,
-0.18451020121574402,
-0.13937842845916748,
-0.48093223571777344,
0.0902019590139389,
0.3914109468460083,
-0.0330008901655674,
-0.08316858857870102,
-0.10770323127508163,
0.30519455671310425,
-0.11508681625127792,
0.08809805661439896,
-0.003988718148320913,
0.04518260434269905,
-0.3098977208137512,
0.20564007759094238,
0.22384712100028992,
0.07491401582956314,
0.39040371775627136,
-0.07487201690673828,
-0.15208536386489868,
-0.19489726424217224,
-0.11830046027898788,
-0.013815202750265598,
0.35374754667282104,
0.01098650973290205,
0.23066318035125732,
0.181950181722641,
-0.009917603805661201,
0.015073942951858044,
-0.009737824089825153,
0.19719786942005157,
-0.08326563984155655,
-0.3364754021167755,
0.27100929617881775,
0.19839315116405487,
-0.2360704094171524,
0.1953929364681244,
0.5181947350502014,
0.13699187338352203,
-0.08912605047225952,
-0.26694315671920776,
-0.29455259442329407,
0.10052233934402466,
-0.16925765573978424,
-0.2758890390396118,
-0.26253822445869446,
-0.13983474671840668,
0.33321890234947205,
0.04444994404911995,
-0.19319561123847961,
0.004304445348680019,
0.09157361835241318,
0.30104896426200867,
0.025111563503742218,
0.1065678596496582,
-0.28558993339538574,
-0.13504794239997864,
0.05771449953317642,
0.20764651894569397,
0.35846760869026184,
-0.28329020738601685,
-0.1735757440328598,
-0.09660143405199051
] |
https://github.com/huggingface/datasets/issues/2105
|
Request to remove S2ORC dataset
|
Hello @kyleclo! Currently, we are getting the data from your bucket, so if you remove it the HF script won't work anymore :)
Until you solve things on your end, @lhoestq suggested we just return a warning message when people try to load that dataset from HF. What would you like it to say?
|
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
| 54
|
Request to remove S2ORC dataset
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
Hello @kyleclo! Currently, we are getting the data from your bucket, so if you remove it the HF script won't work anymore :)
Until you solve things on your end, @lhoestq suggested we just return a warning message when people try to load that dataset from HF. What would you like it to say?
|
[
0.2497463822364807,
-0.35496246814727783,
-0.015487683936953545,
0.21698719263076782,
0.050978731364011765,
-0.05997980386018753,
0.015363710932433605,
0.17014656960964203,
0.3005095422267914,
0.06499643623828888,
-0.31514549255371094,
-0.24191607534885406,
-0.39715179800987244,
0.3670791685581207,
-0.20821402966976166,
0.14818377792835236,
-0.12109007686376572,
0.04734500125050545,
-0.2688441276550293,
-0.0216257032006979,
0.10517355799674988,
0.24627180397510529,
-0.05332823097705841,
0.33024126291275024,
-0.22048097848892212,
-0.1824883371591568,
0.0003756201476790011,
0.28808555006980896,
-0.16819612681865692,
-0.3303512930870056,
0.33430036902427673,
0.34460729360580444,
0.19433636963367462,
0.47829315066337585,
-0.00011910360626643524,
-0.2259054332971573,
-0.04494766145944595,
0.06342068314552307,
-0.33630383014678955,
-0.05038612335920334,
-0.06390724331140518,
0.08308994770050049,
-0.039045579731464386,
0.07060247659683228,
-0.17678405344486237,
-0.13289329409599304,
0.09462333470582962,
-0.11277525126934052,
0.45149508118629456,
0.22375980019569397,
0.1472906619310379,
0.5189124345779419,
-0.2679882049560547,
0.235634446144104,
0.08388730138540268,
0.5844478607177734,
-0.09682821482419968,
0.36131981015205383,
-0.1507352590560913,
-0.13441404700279236,
0.020634613931179047,
0.35446596145629883,
-0.4820707440376282,
-0.0808606818318367,
0.34238988161087036,
-0.28152307868003845,
-0.34630608558654785,
-0.2894933521747589,
0.19050543010234833,
0.3609243929386139,
0.5013286471366882,
-0.1849520057439804,
-0.008570554666221142,
0.03262641280889511,
0.05868404358625412,
0.07041500508785248,
0.09367629140615463,
0.1089077889919281,
0.06317455321550369,
0.4538690745830536,
-0.21326932311058044,
-0.5096271634101868,
-0.23869620263576508,
-0.1701662242412567,
-0.19189664721488953,
0.27411261200904846,
-0.23317503929138184,
-0.04427487775683403,
0.07564782351255417,
-0.012830673716962337,
0.124494269490242,
-0.14043530821800232,
-0.12709563970565796,
0.21188466250896454,
-0.12322071194648743,
-0.35875341296195984,
-0.1462821364402771,
0.09784220159053802,
0.3382323682308197,
-0.005484617315232754,
-0.033905863761901855,
-0.10314977914094925,
-0.3579530119895935,
0.16391821205615997,
0.269681841135025,
-0.10689905285835266,
0.16506120562553406,
0.08024458587169647,
0.20073595643043518,
0.3710959553718567,
0.26877859234809875,
0.10580044239759445,
0.200971782207489,
0.14377553761005402,
-0.2677749991416931,
0.020693078637123108,
0.4212612509727478,
-0.4505497217178345,
-0.49545958638191223,
0.37647396326065063,
-0.03962166979908943,
-0.12548448145389557,
0.1502399891614914,
0.27727580070495605,
0.10187327116727829,
-0.019524920731782913,
0.1454114019870758,
0.1165284737944603,
-0.18445204198360443,
-0.3579520285129547,
-0.16027994453907013,
0.20956742763519287,
-0.25122901797294617,
0.12039577960968018,
0.1802687793970108,
-0.13129563629627228,
0.12877608835697174,
0.11436653137207031,
0.6399707198143005,
0.24060913920402527,
-0.16660556197166443,
-0.1466243863105774,
0.2603835165500641,
0.12038711458444595,
-0.18112044036388397,
0.08020453155040741,
0.13704060018062592,
0.09619282931089401,
-0.2488338202238083,
0.08905954658985138,
-0.3099266588687897,
-0.28022512793540955,
-0.5160055756568909,
0.042054034769535065,
-0.15134617686271667,
0.0481921061873436,
-0.3567979037761688,
-0.05156819149851799,
-0.3598999083042145,
0.10257156193256378,
0.24367190897464752,
0.1525050848722458,
-0.45019853115081787,
-0.003485630266368389,
-0.19811901450157166,
0.5347210764884949,
-0.06696876138448715,
-0.004257377237081528,
0.3785065710544586,
-0.34934279322624207,
0.012876908294856548,
0.4040503203868866,
-0.2383316457271576,
-0.25350871682167053,
-0.43913811445236206,
-0.1414206326007843,
-0.5946811437606812,
-0.17445731163024902,
0.09928743541240692,
0.5375518798828125,
-0.2992702126502991,
0.21322809159755707,
0.009956223890185356,
-0.20312587916851044,
0.011321842670440674,
-0.556486189365387,
-0.09735343605279922,
-0.0895492434501648,
0.26819995045661926,
-0.22592516243457794,
-0.2278825342655182,
-0.32422828674316406,
0.06123223155736923,
-0.1026291698217392,
0.17503856122493744,
0.3118287920951843,
0.07676441967487335,
-0.0738641545176506,
0.6009218692779541,
0.05216312035918236,
0.07974996417760849,
0.37169960141181946,
0.2853858768939972,
0.24550002813339233,
-0.22530166804790497,
0.05605173110961914,
-0.1960522085428238,
-0.06475424021482468,
-0.025065753608942032,
-0.07495038211345673,
0.15512628853321075,
-0.2883821427822113,
-0.19028101861476898,
0.018364854156970978,
0.027183344587683678,
0.16156378388404846,
-0.06297579407691956,
-0.31820806860923767,
-0.017934290692210197,
-0.11124353855848312,
-0.36828240752220154,
0.6763767600059509,
-0.1507052779197693,
0.1577683985233307,
-0.17158626019954681,
0.15686705708503723,
0.05887306481599808,
0.28092461824417114,
0.22979678213596344,
0.08757858723402023,
0.22331304848194122,
-0.015002933330833912,
0.1429273635149002,
0.2585814297199249,
-0.1537294238805771,
0.08226165920495987,
0.22341735661029816,
0.4289998710155487,
0.1444980353116989,
-0.10488352924585342,
0.48097434639930725,
-0.08274171501398087,
-0.0540459081530571,
0.2035287618637085,
0.08712688088417053,
0.2614380717277527,
-0.3357446789741516,
0.05263574421405792,
-0.37714099884033203,
-0.17904406785964966,
0.1647440642118454,
-0.061529889702796936,
-0.1390991508960724,
0.01287599466741085,
0.11432453244924545,
0.15383972227573395,
-0.22779308259487152,
-0.08457271009683609,
-0.36207762360572815,
-0.1090874895453453,
-0.1644120216369629,
-0.2193988859653473,
-0.23505111038684845,
0.22999249398708344,
-0.015185071155428886,
-0.05782507359981537,
0.41762077808380127,
-0.011515996418893337,
0.2619355618953705,
0.1280815303325653,
-0.14512541890144348,
0.24112370610237122,
0.3163662552833557,
-0.07468486577272415,
0.24932686984539032,
0.08661941438913345,
-0.035513829439878464,
-0.06475824117660522,
0.10313395410776138,
0.08496084064245224,
-0.37300100922584534,
-0.28147849440574646,
-0.32630839943885803,
-0.08156146854162216,
-0.3990687429904938,
0.17052507400512695,
-0.18779495358467102,
-0.39824697375297546,
0.0312800370156765,
0.42271971702575684,
-0.600709080696106,
0.07258541136980057,
0.32272225618362427,
0.29350945353507996,
-0.10041947662830353,
-0.05415352061390877,
-0.29067906737327576,
0.3760771155357361,
-0.36065569519996643,
0.004277646075934172,
-0.1575550138950348,
0.15597501397132874,
-0.02309766598045826,
0.04896107688546181,
-0.05923163890838623,
-0.0755978524684906,
0.5918335318565369,
0.04839320480823517,
-0.19539248943328857,
-0.24204270541667938,
-0.028611525893211365,
0.25710585713386536,
0.022235583513975143,
-0.2735896706581116,
0.31103426218032837,
0.46640950441360474,
-0.19589585065841675,
0.08880971372127533,
-0.2306555211544037,
-0.315290629863739,
-0.07529225200414658,
-0.022192226722836494,
-0.010112633928656578,
0.16650594770908356,
-0.16605916619300842,
0.3509395122528076,
-0.11940639466047287,
-0.12063834071159363,
-0.1005801185965538,
-0.24982349574565887,
0.10176684707403183,
0.15613225102424622,
-0.24233119189739227,
-0.037789829075336456,
-0.4389009177684784,
-0.24120379984378815,
-0.47839587926864624,
-0.7775791883468628,
0.13222281634807587,
0.15510593354701996,
0.06194043532013893,
0.3001139760017395,
0.29070407152175903,
0.024335302412509918,
-0.24533961713314056,
-0.4676836431026459,
-0.2666756808757782,
0.11083601415157318,
0.029954800382256508,
-0.07119270414113998,
-0.03879101946949959,
0.13166949152946472,
-0.03253518417477608,
-0.04441618546843529,
0.020418336614966393,
-0.13656635582447052,
-0.24442805349826813,
-0.007504588458687067,
0.2517969012260437,
0.03253713622689247,
0.12610171735286713,
0.02279232069849968,
0.497338205575943,
0.1448773294687271,
0.08416764438152313,
0.4559582471847534,
0.17179831862449646,
0.3662775158882141,
0.02378794737160206,
-0.24252387881278992,
0.1033531129360199,
0.14164070785045624,
-0.30057474970817566,
0.24407266080379486,
-0.038381028920412064,
0.3073278069496155,
-0.008121916092932224,
-0.28716152906417847,
-0.02825726568698883,
-0.33995407819747925,
0.009104608558118343,
0.12800298631191254,
0.20550303161144257,
0.0248851478099823,
-0.2929014265537262,
0.2974545955657959,
-0.4071057140827179,
0.2614755630493164,
0.2595382034778595,
0.540958821773529,
-0.06826647371053696,
-0.33931493759155273,
0.04671895503997803,
-0.6888625025749207,
0.29796746373176575,
-0.27710476517677307,
-0.2801989018917084,
-0.2462516874074936,
0.17260131239891052,
0.22835570573806763,
0.24702805280685425,
0.4986189007759094,
0.2680117189884186,
0.023535845801234245,
-0.2184673398733139,
-0.1825600117444992,
-0.05820482596755028,
-0.036215174943208694,
-0.10567588359117508,
0.18816906213760376,
-0.10526244342327118,
0.05004262551665306,
-0.35045337677001953,
-0.5315486788749695,
0.2567065954208374,
-0.022587772458791733,
-0.17424128949642181,
-0.2361791431903839,
-0.2920241951942444,
-0.1977841705083847,
-0.34084388613700867,
0.16771887242794037,
0.30761632323265076,
0.015389648266136646,
-0.12531234323978424,
0.10183216631412506,
0.4349920451641083,
0.14730513095855713,
0.6156088709831238,
-0.21142083406448364,
0.019332755357027054,
0.34394195675849915,
-0.1309431940317154,
0.16889742016792297,
0.3511148989200592,
0.40988826751708984,
0.592330276966095,
0.14207269251346588,
-0.0819060280919075,
0.014036818407475948,
0.17262008786201477,
0.3772750794887543,
0.5314561128616333,
0.1444597691297531,
0.2339479774236679,
0.11103902757167816,
0.5215493440628052,
-0.4326656460762024,
-0.06308179348707199,
0.12062666565179825,
-0.3773059844970703,
-0.24970753490924835,
-0.09899590909481049,
0.20306649804115295,
-0.0780608206987381,
-0.11884619295597076,
-0.1410822868347168,
0.8098534345626831,
-0.1867149919271469,
0.15599124133586884,
0.15090243518352509,
1.3320152759552002,
-0.24792852997779846,
0.23575088381767273,
0.27129417657852173,
-0.1290408819913864,
0.4322175681591034,
-0.3908826410770416,
-0.17654399573802948,
-0.21185167133808136,
-0.01620829664170742,
-0.1631900817155838,
0.10252855718135834,
-0.06199980899691582,
0.14353063702583313,
0.26260796189308167,
0.3281179368495941,
-0.4982745051383972,
0.12903344631195068,
-0.2335585057735443,
0.2766577899456024,
-0.14086733758449554,
0.0030517226550728083,
-0.3498934805393219,
0.07449821382761002,
-0.17133085429668427,
0.416869193315506,
-0.21911907196044922,
-0.06716668605804443,
0.4257999360561371,
-0.3778281807899475,
-0.042463842779397964,
0.044731203466653824,
0.03883755952119827,
-0.15591229498386383,
-0.11129066348075867,
0.042509693652391434,
0.30111292004585266,
-0.05603451281785965,
0.3512805998325348,
0.02783692628145218,
-0.07267848402261734,
0.05139027163386345,
-0.1709357053041458,
-0.08419236540794373,
-0.29529109597206116,
0.08704450726509094,
-0.219111829996109,
0.04863705113530159,
-0.26084214448928833,
0.1357264369726181,
0.2565949261188507,
-0.01809551566839218,
-0.22274243831634521,
-0.04122452810406685,
-0.09896062314510345,
-0.3706768751144409,
0.03188084810972214,
0.11671212315559387,
0.29109230637550354,
0.15579916536808014,
0.05641908943653107,
0.3169155418872833,
-0.013824576511979103,
-0.3145054876804352,
0.3934535086154938,
-0.25519025325775146,
-0.2107519507408142,
0.28866085410118103,
-0.02721255272626877,
-0.26273635029792786,
0.30521827936172485,
0.16966912150382996,
-0.2657023072242737,
-0.3482816517353058,
-0.07542475312948227,
0.05891959369182587,
-0.597358226776123,
0.025417493656277657,
0.4354974627494812,
-0.16204364597797394,
-0.25261515378952026,
-0.21097742021083832,
0.05688026174902916,
-0.08898717164993286,
0.384884774684906,
-0.04498238489031792,
-0.19267672300338745,
0.20185956358909607,
-0.2169387936592102,
0.04823395609855652,
0.21394644677639008,
0.09330727159976959,
-0.37105026841163635,
-0.13202321529388428,
-0.26446452736854553,
0.016321122646331787,
0.10535628348588943,
-0.21731482446193695,
0.13357846438884735,
0.29355019330978394,
0.29100292921066284,
-0.27863603830337524,
-0.020313404500484467,
-0.09932119399309158,
-0.1770344376564026,
-0.074883833527565,
-0.29105934500694275,
0.22159962356090546,
-0.04490094259381294,
-0.1685597002506256,
-0.12218515574932098,
-0.18832306563854218,
0.023531226441264153,
-0.0048134964890778065,
0.4513416290283203,
0.743886411190033,
0.29886287450790405,
0.22163863480091095,
-0.03004463016986847,
-0.25974488258361816,
-0.31069105863571167,
0.005866061896085739,
0.28515347838401794,
0.43160271644592285,
0.2342325896024704,
0.03569548949599266,
-0.1349036991596222,
-0.1548624187707901,
-0.07751119136810303,
0.46670815348625183,
0.3720102906227112,
0.19542594254016876,
0.03206457570195198,
0.042228635400533676,
-0.13317936658859253,
-0.05893575772643089,
0.287042498588562,
-0.1698841005563736,
-0.27735960483551025,
-0.517462968826294,
0.09165867418050766,
0.09977910667657852,
-0.22055566310882568,
0.002081148326396942,
0.12063436210155487,
0.09960407018661499,
-0.2272839993238449,
0.25578567385673523,
0.032834988087415695,
0.2989804744720459,
0.23429936170578003,
0.04975908249616623,
0.10362951457500458,
0.04579121619462967,
0.005617909133434296,
-0.16312117874622345,
-0.3256458640098572,
-0.11764388531446457,
0.30441299080848694,
0.14181934297084808,
0.29579228162765503,
-0.10290952026844025,
-0.0012434710515663028,
0.2620559334754944,
0.11007198691368103,
0.3436683118343353,
0.0641130656003952,
-0.4404391348361969,
-0.19734613597393036,
0.4140305817127228,
0.0036726128309965134,
-0.035974614322185516,
0.21685609221458435,
0.19782695174217224,
0.07041499018669128,
-0.336260050535202,
-0.2519575357437134,
0.3827553391456604,
-0.017156584188342094,
0.16197922825813293,
0.14946798980236053,
0.0006608245312236249,
-0.23707543313503265,
0.03169265016913414,
0.010173289105296135,
-0.18942096829414368,
0.2951083779335022,
0.04105807840824127,
-0.16414330899715424,
-0.06305450201034546,
-0.0407240204513073,
0.2460598647594452,
0.11420467495918274,
0.08090917021036148,
-0.18025203049182892,
0.15582957863807678,
0.14664030075073242,
0.4085484743118286,
0.3081875443458557,
0.218709334731102,
-0.19309496879577637,
0.36257579922676086,
-0.03451600298285484,
-0.19153550267219543,
0.11511388421058655,
0.12955383956432343,
0.19884294271469116,
-0.15664221346378326,
0.15492498874664307,
0.06917749345302582,
0.034462735056877136,
0.00997078511863947,
-0.09981464594602585,
-0.01117998082190752,
0.2621311843395233,
-0.28027790784835815,
0.31535473465919495,
0.1543414443731308,
0.10420405119657516,
-0.18665443360805511,
-0.015701312571763992,
-0.17925547063350677,
0.03577788919210434,
0.2729763984680176,
0.019893808290362358,
0.21616122126579285,
-0.07569799572229385,
0.02297351509332657,
-0.11125711351633072,
0.07743947952985764,
0.5089766383171082,
0.01489582285284996,
-0.38314881920814514,
-0.02823597565293312,
-0.3676786422729492,
0.16428332030773163,
-0.17477796971797943,
-0.01076013408601284,
-0.07930260896682739,
-0.14459827542304993,
0.25987741351127625,
0.01912568137049675,
0.013753484934568405,
-0.4540664553642273,
-0.05592111498117447,
-0.14356392621994019,
0.06219420209527016,
0.29410743713378906,
-0.26627734303474426,
0.3607119917869568,
0.02323179505765438,
-0.06684934347867966,
0.05986568704247475,
0.0297870896756649,
-0.11445804685354233,
-0.26415133476257324,
0.32470327615737915,
-0.18466128408908844,
-0.4762776792049408,
0.2907905578613281,
0.1561374068260193,
0.06207635626196861,
-0.13174164295196533,
-0.3518444895744324,
0.11718914657831192,
-0.15194107592105865,
-0.06257826089859009,
-0.06014763563871384,
0.24169695377349854,
0.19816045463085175,
0.004298233427107334,
-0.19566313922405243,
-0.006511068437248468,
0.5049576759338379,
-0.23570571839809418,
0.3362911343574524,
-0.4627580940723419,
0.05054381117224693,
-0.21550868451595306,
0.23785583674907684,
-0.25116294622421265,
0.2846771776676178,
0.2050158679485321,
0.08586086332798004,
-0.22187815606594086,
-0.03778347373008728,
0.8010755777359009,
-0.24895034730434418,
-0.06273429095745087,
0.023046651855111122,
0.7974456548690796,
-0.12557090818881989,
-0.5456660985946655,
-0.6729077100753784,
0.3868613839149475,
-0.074224092066288,
0.09238816797733307,
-0.021473374217748642,
0.3568212687969208,
-0.2921837568283081,
0.0004407820524647832,
0.13473081588745117,
0.38544774055480957,
0.11253482848405838,
-0.11364908516407013,
0.21851034462451935,
-0.0870211124420166
] |
https://github.com/huggingface/datasets/issues/2105
|
Request to remove S2ORC dataset
|
Hi @kyleclo, as of today, you have not removed your bucket data yet, and therefore HuggingFace can download it from there.
Is it OK? Are you planning to eventually delete it? Thank you.
|
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
| 33
|
Request to remove S2ORC dataset
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
Hi @kyleclo, as of today, you have not removed your bucket data yet, and therefore HuggingFace can download it from there.
Is it OK? Are you planning to eventually delete it? Thank you.
|
[
0.495760440826416,
-0.33373183012008667,
-0.08406255394220352,
0.5156829953193665,
0.043856747448444366,
-0.10153315961360931,
-0.032693542540073395,
0.03290465101599693,
-0.0669206976890564,
0.035270776599645615,
-0.4459506869316101,
-0.15734650194644928,
-0.4066597521305084,
0.3072040379047394,
-0.21464112401008606,
0.10661305487155914,
-0.07043532282114029,
-0.02578153647482395,
-0.21454164385795593,
0.10671628266572952,
0.21573291718959808,
0.2247690111398697,
-0.1654159426689148,
0.05391727760434151,
-0.21042408049106598,
-0.238174170255661,
-0.11677777767181396,
0.1302071362733841,
-0.3192269504070282,
-0.035385530441999435,
0.35528767108917236,
0.2568557858467102,
0.018080295994877815,
0.5105398893356323,
-0.00012078939471393824,
-0.24995359778404236,
-0.18192870914936066,
0.027343271300196648,
-0.3482280671596527,
-0.08508357405662537,
-0.25392964482307434,
0.2486182600259781,
-0.08003754168748856,
0.04942118003964424,
-0.020039739087224007,
-0.08945054560899734,
0.06770716607570648,
-0.08240249752998352,
0.4551745355129242,
0.342540979385376,
0.17483040690422058,
0.46698030829429626,
-0.21673308312892914,
0.3688214421272278,
0.04647406190633774,
0.5212652087211609,
-0.10690152645111084,
0.44822534918785095,
-0.07730012387037277,
0.11778879910707474,
0.28766390681266785,
0.267089307308197,
-0.4529399573802948,
0.009457883425056934,
0.16811822354793549,
-0.17489928007125854,
-0.2927420139312744,
-0.34209364652633667,
0.4042113125324249,
0.20005808770656586,
0.5567817687988281,
-0.13562792539596558,
-0.07953576743602753,
0.17098838090896606,
0.1103692501783371,
0.02622528187930584,
0.11019846796989441,
0.33645424246788025,
0.12204139679670334,
0.4964207708835602,
-0.44708052277565,
-0.6174147725105286,
-0.19879260659217834,
-0.145707368850708,
-0.3737238049507141,
0.4520033895969391,
-0.40583133697509766,
-0.09163089841604233,
-0.10524255037307739,
0.04178732633590698,
0.16572649776935577,
-0.21527011692523956,
-0.04214637726545334,
0.1711713820695877,
-0.14798153936862946,
-0.19339698553085327,
-0.26699182391166687,
0.3302883505821228,
0.019349312409758568,
0.16992518305778503,
0.18287038803100586,
-0.26072612404823303,
-0.2533016800880432,
0.1017725020647049,
0.29115936160087585,
-0.023762743920087814,
0.03443072736263275,
0.162357896566391,
0.1257820725440979,
0.163188174366951,
0.32780998945236206,
0.1640235334634781,
0.1142655611038208,
0.3418653905391693,
-0.45614656805992126,
-0.10957904905080795,
0.5117800831794739,
-0.41405579447746277,
-0.3980412185192108,
0.21770308911800385,
-0.18945303559303284,
-0.05672862380743027,
0.29854148626327515,
0.03701739013195038,
0.04371727257966995,
-0.1946995109319687,
-0.002385340631008148,
0.029224960133433342,
-0.10953760892152786,
-0.28614574670791626,
-0.1512729823589325,
0.14697669446468353,
-0.07589464634656906,
-0.04229317605495453,
0.308778315782547,
-0.28564372658729553,
0.21271061897277832,
0.12097270786762238,
0.5065141320228577,
0.1983671486377716,
-0.13951259851455688,
-0.10038799047470093,
0.1341322958469391,
0.09416656941175461,
-0.2758983075618744,
0.19064873456954956,
-0.057891689240932465,
0.029338326305150986,
-0.16398605704307556,
-0.004058774560689926,
-0.43042072653770447,
-0.25189101696014404,
-0.5167302489280701,
0.025633739307522774,
-0.1676173061132431,
0.02795266918838024,
-0.2884707748889923,
-0.1311134397983551,
-0.15272799134254456,
0.047771621495485306,
0.20742978155612946,
0.2324860841035843,
-0.3048730194568634,
-0.10789436101913452,
-0.14572419226169586,
0.2310069352388382,
0.011455786414444447,
-0.04700422286987305,
0.4015561640262604,
-0.16968446969985962,
0.13483072817325592,
0.413764089345932,
-0.14440934360027313,
-0.24889206886291504,
-0.30524224042892456,
-0.19333302974700928,
-0.5849932432174683,
-0.17852023243904114,
-0.21864230930805206,
0.3066715598106384,
-0.29163649678230286,
0.06532398611307144,
0.0907888114452362,
-0.22503350675106049,
0.18677857518196106,
-0.3971126973628998,
-0.10509441792964935,
0.015019005164504051,
0.26155808568000793,
-0.3209238350391388,
-0.24464014172554016,
-0.21601459383964539,
0.02131761610507965,
-0.13899073004722595,
-0.05299757421016693,
0.25307729840278625,
-0.038850970566272736,
0.06552232801914215,
0.3861149847507477,
0.13721884787082672,
0.26755592226982117,
0.36794692277908325,
0.34192636609077454,
-0.0033928656484931707,
-0.2892647385597229,
0.02290002442896366,
-0.3031846284866333,
-0.0008265787619166076,
-0.10054396092891693,
0.014011837542057037,
0.10428132861852646,
-0.2691425085067749,
-0.1032082736492157,
-0.06748060137033463,
0.1229773759841919,
0.055216602981090546,
0.006069777067750692,
-0.33333927392959595,
0.13701319694519043,
-0.25589677691459656,
-0.27634233236312866,
0.5580832362174988,
-0.058724116533994675,
0.16932427883148193,
-0.37646177411079407,
0.12685522437095642,
0.0966544970870018,
0.2309933751821518,
0.29742327332496643,
0.08728448301553726,
0.05167994648218155,
-0.14871783554553986,
0.016744591295719147,
0.2936427593231201,
-0.19415608048439026,
0.2961038649082184,
0.19571460783481598,
0.5390321016311646,
0.2160010188817978,
-0.07518605887889862,
0.37759828567504883,
-0.06701622158288956,
0.05536910146474838,
0.17122496664524078,
-0.0678175762295723,
0.2758795917034149,
-0.24412313103675842,
0.09979038685560226,
-0.2766648828983307,
-0.05352095142006874,
0.29981687664985657,
-0.008476086892187595,
-0.21499578654766083,
0.05585245415568352,
0.20653709769248962,
0.12288683652877808,
-0.13819755613803864,
0.0391974151134491,
-0.2054740935564041,
-0.055135950446128845,
-0.4398139417171478,
-0.08224057406187057,
-0.25663086771965027,
0.08570542931556702,
-0.21975205838680267,
-0.15749841928482056,
0.40054160356521606,
0.06380587816238403,
0.3512217700481415,
0.11170246452093124,
0.05562576651573181,
0.10147955268621445,
0.6616281867027283,
-0.13144847750663757,
0.39226627349853516,
0.15145473182201385,
-0.08049064129590988,
-0.20016494393348694,
0.339449018239975,
0.156280517578125,
-0.28185364603996277,
-0.04427323490381241,
-0.23067863285541534,
0.04500362277030945,
-0.21205288171768188,
0.16668307781219482,
-0.36806944012641907,
-0.4625117778778076,
0.0466778539121151,
0.3735582232475281,
-0.6214091777801514,
0.11931778490543365,
0.1495128571987152,
0.2071433663368225,
0.05152316018939018,
-0.029417918995022774,
-0.11335858702659607,
0.4791504144668579,
-0.4406367838382721,
-0.006690357346087694,
-0.14656221866607666,
0.0948430523276329,
0.019655833020806313,
0.10456614196300507,
0.04369658976793289,
-0.02259840816259384,
0.5850805044174194,
0.08525324612855911,
-0.03972091153264046,
-0.2896203398704529,
-0.14602409303188324,
0.21138042211532593,
0.0025432666298002005,
-0.24891793727874756,
0.1970224231481552,
0.3608904182910919,
-0.4428425431251526,
0.22806668281555176,
-0.23991698026657104,
-0.3119661808013916,
-0.1648213118314743,
-0.13566182553768158,
0.02468794584274292,
0.18585830926895142,
-0.1512947827577591,
0.36778774857521057,
-0.1659555435180664,
-0.08513735234737396,
0.06244157627224922,
-0.06266047805547714,
0.041047368198633194,
0.008538915775716305,
-0.4504864811897278,
0.03011796437203884,
-0.29702630639076233,
-0.22892425954341888,
-0.41134464740753174,
-0.918947696685791,
0.15236574411392212,
0.11676651239395142,
0.019330257549881935,
0.29353204369544983,
0.40424174070358276,
0.31407585740089417,
-0.13401378691196442,
-0.2661591172218323,
-0.12247993052005768,
0.04876171797513962,
0.059525370597839355,
0.011806164868175983,
0.06519992649555206,
0.23543216288089752,
-0.04996175691485405,
0.027417991310358047,
0.05713113397359848,
-0.24746975302696228,
-0.3330620229244232,
0.3217722773551941,
0.3163861930370331,
0.043250374495983124,
-0.09048610925674438,
0.03233550116419792,
0.5703092217445374,
0.11930682510137558,
0.10819834470748901,
0.23371697962284088,
0.05844441056251526,
0.21079625189304352,
0.07743070274591446,
-0.32033586502075195,
0.2461826652288437,
0.11410895735025406,
-0.3820785582065582,
0.3038385510444641,
0.2107921540737152,
0.2345764935016632,
-0.09998324513435364,
-0.11759380996227264,
-0.3073514401912689,
-0.23891820013523102,
-0.09669744223356247,
0.16231904923915863,
0.38101261854171753,
0.14555254578590393,
-0.4143994450569153,
0.1838245838880539,
-0.62003093957901,
0.015311772003769875,
0.09938991069793701,
0.44578859210014343,
-0.1423610895872116,
-0.3448936343193054,
0.13891112804412842,
-0.7456732988357544,
0.33482566475868225,
-0.2592066526412964,
-0.401235967874527,
-0.042098645120859146,
0.32805898785591125,
0.3923143446445465,
0.2205260843038559,
0.45721641182899475,
0.39315375685691833,
-0.11581681668758392,
-0.3311362564563751,
-0.16434423625469208,
-0.14898568391799927,
0.05439934507012367,
-0.12028425931930542,
0.282807856798172,
0.16601286828517914,
0.01034653652459383,
-0.3399398624897003,
-0.398185133934021,
0.20158369839191437,
0.01271098293364048,
-0.2689375877380371,
-0.16030019521713257,
-0.19987744092941284,
-0.31155821681022644,
-0.13548427820205688,
-0.07023746520280838,
0.2671818733215332,
0.09041280299425125,
0.04116722568869591,
0.2658308744430542,
0.23427580296993256,
0.05487573891878128,
0.5304285287857056,
-0.389734148979187,
0.1439933478832245,
0.2950487434864044,
-0.049928952008485794,
0.21393173933029175,
0.37598058581352234,
0.30074170231819153,
0.6087446808815002,
0.15272708237171173,
-0.12227103114128113,
0.03996070474386215,
0.05561281740665436,
0.41906487941741943,
0.49383261799812317,
0.08408970385789871,
0.2226264625787735,
0.04346412047743797,
0.4279053509235382,
-0.37272730469703674,
-0.13422629237174988,
0.16826799511909485,
-0.33181625604629517,
-0.19917339086532593,
-0.06861305236816406,
0.1978190690279007,
0.1184224933385849,
-0.17559976875782013,
-0.10975634306669235,
0.7189229726791382,
-0.2271830141544342,
0.03849558159708977,
-0.0355745330452919,
1.3941184282302856,
-0.16022621095180511,
0.1949436068534851,
0.1941269487142563,
-0.11103665083646774,
0.6845203638076782,
-0.28743836283683777,
-0.0362650491297245,
-0.09688006341457367,
0.07661193609237671,
-0.17136919498443604,
0.17458154261112213,
0.023402554914355278,
0.1255308985710144,
0.3082103431224823,
0.21513859927654266,
-0.4961571991443634,
0.3687132000923157,
-0.18465274572372437,
0.22054865956306458,
-0.023817619308829308,
0.021894697099924088,
-0.5131446719169617,
0.07594352215528488,
-0.21000726521015167,
0.3007350564002991,
-0.16635413467884064,
-0.07312995940446854,
0.1509174406528473,
-0.24811339378356934,
-0.03938929736614227,
-0.12086919695138931,
0.15615214407444,
-0.02911929227411747,
-0.11156756430864334,
-0.11623434722423553,
0.12378978729248047,
0.11807068437337875,
0.22667795419692993,
-0.02203134261071682,
-0.2298935353755951,
0.14669668674468994,
-0.13104845583438873,
-0.12860853970050812,
-0.14857929944992065,
0.1618470996618271,
-0.5426872968673706,
-0.08907415717840195,
-0.08154358714818954,
0.08444373309612274,
0.2241683155298233,
-0.0464945025742054,
-0.1340244859457016,
0.0344788022339344,
-0.005843076389282942,
-0.29149219393730164,
-0.09736689180135727,
0.030325351282954216,
0.17029885947704315,
0.040191326290369034,
0.07083972543478012,
0.3123107850551605,
0.0006763201090507209,
-0.295925110578537,
0.2866969406604767,
-0.15378351509571075,
-0.23944875597953796,
0.4287189245223999,
0.19776369631290436,
-0.32254981994628906,
0.2857304811477661,
-0.0190903190523386,
-0.19047991931438446,
-0.27513381838798523,
0.20164558291435242,
-0.3425222635269165,
-0.5874431729316711,
0.1141279935836792,
0.31496644020080566,
0.036604903638362885,
-0.2915134131908417,
-0.19757738709449768,
0.11040034890174866,
-0.02649027667939663,
0.3168046176433563,
-0.05849509313702583,
-0.19469083845615387,
0.16527248919010162,
-0.09269879758358002,
-0.04144677892327309,
0.01760592870414257,
0.002785636577755213,
-0.30605247616767883,
-0.007844089530408382,
-0.2347194403409958,
0.2258279025554657,
0.1353635936975479,
-0.16502156853675842,
0.251409649848938,
0.26903167366981506,
0.18967115879058838,
-0.37529441714286804,
0.013990175910294056,
-0.15799856185913086,
-0.06285417824983597,
-0.12526531517505646,
-0.20232760906219482,
0.209225594997406,
0.013712762854993343,
-0.3652538061141968,
-0.14087539911270142,
0.010652887634932995,
-0.07876116037368774,
0.044938016682863235,
0.2707505226135254,
0.6551379561424255,
0.4446864128112793,
0.06954097747802734,
-0.1357014775276184,
-0.11608521640300751,
-0.20911505818367004,
0.12268020957708359,
0.2805313169956207,
0.3615545332431793,
0.27801513671875,
0.1833033412694931,
0.021082330495119095,
-0.21382881700992584,
-0.09889716655015945,
0.17728260159492493,
0.23022063076496124,
0.11336050927639008,
0.06414011865854263,
-0.05040042847394943,
0.016250871121883392,
-0.01658005453646183,
0.3196048140525818,
0.04195590317249298,
-0.22121678292751312,
-0.20519523322582245,
0.09416387230157852,
0.09665016829967499,
-0.239066019654274,
0.09124458581209183,
0.3166821002960205,
0.21786324679851532,
-0.24661868810653687,
0.18999630212783813,
0.00809067115187645,
0.37119296193122864,
-0.09919057041406631,
-0.04837122932076454,
0.10391169786453247,
0.11595997214317322,
0.06223485246300697,
-0.18576973676681519,
-0.0982564389705658,
-0.10459309071302414,
0.3679389953613281,
0.12112003564834595,
0.12774525582790375,
-0.1870659589767456,
0.012502300553023815,
0.31997957825660706,
0.13321293890476227,
0.378796249628067,
0.3281487226486206,
-0.30777421593666077,
-0.39094898104667664,
0.2668866813182831,
-0.01826716586947441,
0.10243603587150574,
0.2293848991394043,
0.40268999338150024,
-0.06706172227859497,
-0.41687020659446716,
-0.2844015061855316,
0.5166853070259094,
0.04858981817960739,
-0.03326314315199852,
0.11051645874977112,
-0.20091889798641205,
0.051962949335575104,
0.11806076765060425,
-0.15135504305362701,
-0.28856196999549866,
0.3093548119068146,
0.030390113592147827,
-0.19308260083198547,
-0.25871729850769043,
-0.13054798543453217,
0.2527625858783722,
0.14492850005626678,
0.08356256783008575,
-0.14494915306568146,
0.033327292650938034,
0.16585753858089447,
0.1370890587568283,
0.35445329546928406,
0.06753816455602646,
-0.3148903250694275,
0.31634825468063354,
-0.04514374956488609,
-0.16011486947536469,
0.02418898232281208,
0.0345299206674099,
0.3621998727321625,
-0.06356489658355713,
0.07394661754369736,
-0.07136007398366928,
0.017950836569070816,
-0.01556470338255167,
-0.025442663580179214,
0.08376888930797577,
0.3100966811180115,
-0.3714366555213928,
0.19920723140239716,
-0.07778516411781311,
-0.0018283589743077755,
-0.02051445096731186,
-0.14329734444618225,
-0.1920781135559082,
0.03056376799941063,
0.10919632017612457,
0.01729622483253479,
0.20126040279865265,
0.09178218245506287,
0.017233913764357567,
-0.20659708976745605,
0.125837042927742,
0.4229772984981537,
0.10773900896310806,
-0.301172137260437,
-0.28949370980262756,
-0.3903500735759735,
0.12697966396808624,
-0.10874480754137039,
0.050604596734046936,
-0.23557095229625702,
-0.0645277127623558,
0.28303688764572144,
0.15455324947834015,
-0.2088688313961029,
-0.40224894881248474,
-0.017184551805257797,
-0.06915345788002014,
-0.006384189240634441,
0.36154434084892273,
-0.2786245048046112,
0.3093093931674957,
0.044629648327827454,
-0.06584019958972931,
0.0928761288523674,
-0.006806216202676296,
-0.1091713085770607,
-0.3168361783027649,
0.3109952509403229,
-0.1654200553894043,
-0.33873093128204346,
0.24038122594356537,
0.13077621161937714,
-0.1046118289232254,
-0.021196536719799042,
-0.347257524728775,
-0.0699116587638855,
-0.09860005229711533,
0.10059698671102524,
0.054076358675956726,
0.22099366784095764,
0.1504024714231491,
-0.03791182115674019,
-0.010278120636940002,
0.04562259092926979,
0.5237255096435547,
-0.21178266406059265,
0.28872767090797424,
-0.432136595249176,
-0.09733379632234573,
-0.21588274836540222,
0.24359747767448425,
-0.17514878511428833,
0.24542838335037231,
0.0639057457447052,
-0.16149021685123444,
-0.28574979305267334,
0.0038836412131786346,
0.7217821478843689,
-0.3279651999473572,
-0.05236871913075447,
0.08034293353557587,
0.7390749454498291,
0.04821478947997093,
-0.47149524092674255,
-0.6054502129554749,
0.3153676390647888,
0.1254725307226181,
-0.19293326139450073,
-0.01648595929145813,
0.37647610902786255,
-0.2878522276878357,
-0.07118278741836548,
0.14214013516902924,
0.4748227000236511,
0.20327384769916534,
-0.02972980961203575,
0.2586493194103241,
0.0450952984392643
] |
https://github.com/huggingface/datasets/issues/2105
|
Request to remove S2ORC dataset
|
Hi! Sorry I missed @yjernite 's previous message, thanks for responding!
Is there an option where we can keep our data in our bucket, but the HF script no longer pulls data from it?
|
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
| 34
|
Request to remove S2ORC dataset
Hi! I was wondering if it's possible to remove [S2ORC](https://huggingface.co/datasets/s2orc) from hosting on Huggingface's platform? Unfortunately, there are some legal considerations about how we make this data available. Happy to add back to Huggingface's platform once we work out those hurdles! Thanks!
Hi! Sorry I missed @yjernite 's previous message, thanks for responding!
Is there an option where we can keep our data in our bucket, but the HF script no longer pulls data from it?
|
[
0.31470924615859985,
-0.20776529610157013,
-0.023903949186205864,
0.32826200127601624,
-0.014094811864197254,
-0.18290311098098755,
0.017519013956189156,
0.17257477343082428,
0.17710106074810028,
0.16214844584465027,
-0.40388017892837524,
-0.27868300676345825,
-0.31278735399246216,
0.45722660422325134,
-0.1433839052915573,
0.19450025260448456,
-0.07027050107717514,
0.052448466420173645,
-0.32020851969718933,
0.032445359975099564,
0.13017530739307404,
0.22618257999420166,
-0.08846820890903473,
0.06617268919944763,
-0.1380360722541809,
-0.11288268119096756,
-0.078206866979599,
0.1449863761663437,
-0.12552206218242645,
0.06940240412950516,
0.2610517740249634,
0.47054293751716614,
0.08008421957492828,
0.4339933693408966,
-0.00012458438868634403,
-0.32090699672698975,
-0.15400584042072296,
0.00561557337641716,
-0.40185216069221497,
-0.11300249397754669,
-0.07829583436250687,
0.26411744952201843,
-0.09085679054260254,
0.13977943360805511,
-0.05340546369552612,
-0.12628908455371857,
0.08416297286748886,
-0.15273545682430267,
0.318708598613739,
0.23425957560539246,
0.13144253194332123,
0.5757736563682556,
-0.4303693473339081,
0.27414393424987793,
0.12326301634311676,
0.608569324016571,
-0.15168799459934235,
0.3492448925971985,
-0.11992284655570984,
-0.10974328219890594,
0.21398907899856567,
0.33029913902282715,
-0.43579304218292236,
-0.09248080104589462,
0.24912545084953308,
-0.1535656601190567,
-0.39856886863708496,
-0.22529655694961548,
0.41426193714141846,
0.2827492952346802,
0.43308597803115845,
-0.21041350066661835,
-0.09047798067331314,
0.10222961753606796,
0.04743148013949394,
0.049489106982946396,
0.011687805876135826,
0.21442098915576935,
0.09602279216051102,
0.42893752455711365,
-0.31707850098609924,
-0.6390444040298462,
-0.23413994908332825,
-0.11406147480010986,
-0.30017492175102234,
0.3237966299057007,
-0.2973468601703644,
-0.0641859769821167,
-0.07382028549909592,
0.09143170714378357,
0.1797332614660263,
-0.2322835773229599,
0.012711160816252232,
0.15899604558944702,
-0.04315576329827309,
-0.31718382239341736,
-0.21787875890731812,
0.31260162591934204,
0.24485749006271362,
0.044557053595781326,
0.024387234821915627,
-0.16243816912174225,
-0.28454065322875977,
0.20509149134159088,
0.3105301558971405,
-0.09216583520174026,
0.04197179898619652,
0.09407221525907516,
0.27714604139328003,
0.25180935859680176,
0.25290951132774353,
0.07159674167633057,
0.19327746331691742,
0.2897890508174896,
-0.3893829584121704,
-0.15647946298122406,
0.5164507627487183,
-0.43009066581726074,
-0.4166102707386017,
0.35954347252845764,
-0.05528853461146355,
-0.06198146939277649,
0.15640762448310852,
0.30357781052589417,
0.11370991915464401,
-0.007001249585300684,
0.06981004774570465,
0.04365919157862663,
-0.21035891771316528,
-0.31352856755256653,
-0.16770172119140625,
0.1802438348531723,
-0.0791730210185051,
-0.01700906828045845,
0.24895912408828735,
-0.21333251893520355,
0.1953544318675995,
0.16867595911026,
0.5780780911445618,
0.2631820738315582,
-0.11073389649391174,
-0.2234826236963272,
0.3362012207508087,
0.17560456693172455,
-0.1483072191476822,
0.13141953945159912,
0.022515645250678062,
0.11812955886125565,
-0.25108206272125244,
0.029850373044610023,
-0.2922266721725464,
-0.17873382568359375,
-0.4848290681838989,
0.003008465049788356,
-0.12139365822076797,
0.05653150752186775,
-0.32289257645606995,
-0.08961011469364166,
-0.2625930905342102,
0.11477509886026382,
0.1649736613035202,
0.0599423348903656,
-0.33812418580055237,
-0.0675014853477478,
-0.13393083214759827,
0.34477508068084717,
-0.12912558019161224,
-0.0032782177440822124,
0.4492906332015991,
-0.2178834229707718,
-0.020204849541187286,
0.3893570005893707,
-0.18090596795082092,
-0.21905992925167084,
-0.3314698338508606,
-0.15685532987117767,
-0.4964410960674286,
-0.25059112906455994,
-0.02490980178117752,
0.34028032422065735,
-0.1744554191827774,
0.07529973983764648,
0.11963372677564621,
-0.23545445501804352,
0.21514227986335754,
-0.4574488699436188,
-0.25062549114227295,
-0.01613381877541542,
0.1885463297367096,
-0.2797204852104187,
-0.11014862358570099,
-0.31902432441711426,
-0.00621598307043314,
-0.1179455816745758,
0.11306217312812805,
0.1365053951740265,
-0.023083921521902084,
-0.0962609201669693,
0.4757196605205536,
0.039038658142089844,
0.2769918143749237,
0.33439910411834717,
0.25578802824020386,
0.19219690561294556,
-0.24534380435943604,
-0.0499248132109642,
-0.2992222011089325,
-0.09593744575977325,
-0.13047292828559875,
-0.1254463791847229,
0.16750141978263855,
-0.3209261894226074,
-0.05112268403172493,
-0.025298232212662697,
0.25932103395462036,
0.16864529252052307,
-0.05022675544023514,
-0.2897983193397522,
0.005914348177611828,
-0.18394842743873596,
-0.45569682121276855,
0.6220613718032837,
0.06635260581970215,
0.20313504338264465,
-0.25507503747940063,
0.2425270974636078,
0.08209332078695297,
0.17925718426704407,
0.26676511764526367,
0.1372845619916916,
0.13393515348434448,
-0.07804690301418304,
0.12096549570560455,
0.24988441169261932,
-0.12233278900384903,
0.1720346063375473,
0.2978726029396057,
0.5357643365859985,
0.13796548545360565,
0.041577525436878204,
0.4445876181125641,
-0.10420263558626175,
-0.01141393557190895,
0.17282848060131073,
-0.04464351385831833,
0.3055931627750397,
-0.24362251162528992,
0.21624267101287842,
-0.1580536961555481,
-0.13983790576457977,
0.2460269182920456,
-0.13753566145896912,
-0.16337892413139343,
-0.10405188798904419,
0.23511441051959991,
0.053456928580999374,
-0.12929357588291168,
-0.02763201668858528,
-0.3138295114040375,
0.08439135551452637,
-0.09282365441322327,
-0.1140943169593811,
-0.23467107117176056,
0.10194225609302521,
-0.21579618752002716,
-0.15784652531147003,
0.40946778655052185,
-0.0664002075791359,
0.29413825273513794,
0.15214556455612183,
-0.1029987558722496,
0.1443634033203125,
0.4886137545108795,
-0.13575993478298187,
0.29886165261268616,
0.11981666833162308,
-0.1439884752035141,
-0.09774681180715561,
0.2450707107782364,
0.114130899310112,
-0.4201134145259857,
-0.13390536606311798,
-0.29444098472595215,
-0.05893457680940628,
-0.23164741694927216,
0.19914822280406952,
-0.38036683201789856,
-0.3432619571685791,
0.036362066864967346,
0.38591840863227844,
-0.594088077545166,
-0.021153315901756287,
0.2378585934638977,
0.42333078384399414,
-0.032028574496507645,
-0.04364156350493431,
-0.22107218205928802,
0.41320979595184326,
-0.542617917060852,
0.020808516070246696,
-0.19793736934661865,
0.08646178990602493,
0.04013042151927948,
0.036017946898937225,
0.03785689175128937,
0.049585890024900436,
0.6460424661636353,
0.1960495412349701,
-0.2760610282421112,
-0.286888062953949,
-0.07529458403587341,
0.29341065883636475,
0.008015588857233524,
-0.27564921975135803,
0.23617729544639587,
0.42333897948265076,
-0.3549842834472656,
0.2639245092868805,
-0.265357106924057,
-0.4017898440361023,
-0.11571002006530762,
-0.029987521469593048,
-0.03881575167179108,
0.21176578104496002,
-0.12254517525434494,
0.3960278332233429,
-0.0757080540060997,
-0.19220437109470367,
-0.07433460652828217,
-0.15572182834148407,
0.10378332436084747,
0.03870821371674538,
-0.38791126012802124,
-0.04677010327577591,
-0.44298309087753296,
-0.28245067596435547,
-0.491232693195343,
-0.7781992554664612,
0.12074664980173111,
0.06990628689527512,
0.05720803141593933,
0.3320266306400299,
0.3459814190864563,
0.1114940494298935,
-0.1548403650522232,
-0.35899174213409424,
-0.27899351716041565,
0.14497114717960358,
0.07919370383024216,
-0.12495627999305725,
0.08728179335594177,
0.39094895124435425,
-0.04276581481099129,
-0.0010107755661010742,
-0.03174925968050957,
-0.13663385808467865,
-0.21409466862678528,
0.24232572317123413,
0.19925163686275482,
0.04558715224266052,
0.02574736997485161,
0.01069291215389967,
0.6046016812324524,
0.10108599066734314,
0.18449163436889648,
0.33974191546440125,
0.19424374401569366,
0.3856184482574463,
-0.055044207721948624,
-0.2325676530599594,
0.20940564572811127,
0.15106934309005737,
-0.35103973746299744,
0.4016517102718353,
0.15887455642223358,
0.33275264501571655,
-0.04862866550683975,
-0.2903553545475006,
-0.16254392266273499,
-0.35463032126426697,
0.04287449270486832,
0.14517807960510254,
0.32106316089630127,
0.1124970018863678,
-0.2528873682022095,
0.16188818216323853,
-0.47170376777648926,
0.1904236227273941,
0.16043393313884735,
0.528587281703949,
-0.14112770557403564,
-0.367676317691803,
0.07193338871002197,
-0.746740996837616,
0.36023926734924316,
-0.30947333574295044,
-0.39523109793663025,
-0.10685186088085175,
0.2692249119281769,
0.27462461590766907,
0.15114793181419373,
0.5630866885185242,
0.2909495532512665,
-0.09574867784976959,
-0.2798056900501251,
-0.3013555109500885,
-0.15526621043682098,
0.03757401183247566,
-0.11836086958646774,
0.1619006097316742,
0.0003919081937056035,
0.06605455279350281,
-0.38090357184410095,
-0.5336229205131531,
0.3014353811740875,
0.004394650459289551,
-0.2740962505340576,
-0.17038318514823914,
-0.12402888387441635,
-0.315556138753891,
-0.2255105972290039,
-0.10065729916095734,
0.23195788264274597,
-0.11879165470600128,
-0.015896156430244446,
0.17926567792892456,
0.270036518573761,
-0.08345884829759598,
0.5575606226921082,
-0.3295532464981079,
0.039323803037405014,
0.2972206771373749,
-0.13383208215236664,
0.22572535276412964,
0.29999616742134094,
0.4112849533557892,
0.5585445165634155,
0.14189834892749786,
-0.12390702217817307,
-0.010241663083434105,
0.19798895716667175,
0.5615344047546387,
0.5556917190551758,
0.1284770667552948,
0.36649876832962036,
0.09188033640384674,
0.5001993775367737,
-0.3880906403064728,
-0.09563807398080826,
0.1000046655535698,
-0.4081890881061554,
-0.16251058876514435,
-0.10494758933782578,
0.14177080988883972,
-0.06440888345241547,
-0.14931482076644897,
-0.2081586867570877,
0.7436941862106323,
-0.22829216718673706,
0.290329247713089,
-0.03462960943579674,
1.4422245025634766,
-0.15934967994689941,
0.305657297372818,
0.21188516914844513,
-0.25518670678138733,
0.5051165223121643,
-0.4148734509944916,
-0.2021963894367218,
-0.22952234745025635,
0.002103065373376012,
-0.16741648316383362,
0.17213758826255798,
-0.013244321569800377,
0.02746342308819294,
0.3120124638080597,
0.32415279746055603,
-0.5391008853912354,
0.3610619604587555,
-0.25708523392677307,
0.24585062265396118,
-0.10361362993717194,
-0.06809667497873306,
-0.38326287269592285,
0.040193647146224976,
-0.19981993734836578,
0.28532400727272034,
-0.21480104327201843,
0.008526214398443699,
0.30917343497276306,
-0.2910865843296051,
0.09380935877561569,
-0.10055407881736755,
0.051923882216215134,
-0.17135117948055267,
-0.1621168851852417,
-0.1322745829820633,
0.11806531250476837,
-0.05015568435192108,
0.3635026514530182,
0.033660296350717545,
-0.1031588762998581,
0.11896706372499466,
-0.11615808308124542,
-0.08455722033977509,
-0.17026956379413605,
0.11213182657957077,
-0.35579290986061096,
-0.0161619670689106,
-0.12063746899366379,
0.09030906111001968,
0.3170490264892578,
-0.07235992699861526,
-0.17636384069919586,
-0.08747866749763489,
-0.01703563705086708,
-0.34745490550994873,
-0.03312164545059204,
0.0889287069439888,
0.24747687578201294,
0.01672661490738392,
0.02452271804213524,
0.34894660115242004,
0.04866686463356018,
-0.20576168596744537,
0.2901417315006256,
-0.08111211657524109,
-0.3226543962955475,
0.4245268702507019,
0.17440004646778107,
-0.2102300226688385,
0.2772934138774872,
0.09304086863994598,
-0.24252213537693024,
-0.303507924079895,
0.06781674176454544,
-0.05458061024546623,
-0.5354096293449402,
0.15623337030410767,
0.36953529715538025,
-0.16229799389839172,
-0.31220731139183044,
-0.2166408896446228,
-0.07351987808942795,
-0.10833250731229782,
0.16864627599716187,
-0.06277759373188019,
-0.21727192401885986,
0.28267884254455566,
-0.05917133390903473,
0.02171732485294342,
0.21632084250450134,
0.10470253974199295,
-0.4611590802669525,
-0.014991202391684055,
-0.23777495324611664,
0.05563044175505638,
0.1930527687072754,
-0.12084919959306717,
0.19165897369384766,
0.24978196620941162,
0.2629213333129883,
-0.41450774669647217,
-0.014569888822734356,
-0.1985597461462021,
-0.07797947525978088,
-0.1024586409330368,
-0.33389124274253845,
0.24613194167613983,
-0.006389416754245758,
-0.18037335574626923,
-0.12648355960845947,
-0.08081499487161636,
-0.058718182146549225,
-0.10775421559810638,
0.36690932512283325,
0.7037878036499023,
0.3963146507740021,
0.10036851465702057,
-0.034386709332466125,
-0.17038750648498535,
-0.166285440325737,
0.10510903596878052,
0.30188441276550293,
0.42296096682548523,
0.13351880013942719,
0.09797700494527817,
-0.025635579600930214,
-0.17217592895030975,
-0.116904117166996,
0.3478448987007141,
0.3693529963493347,
0.1443410962820053,
0.08503486216068268,
-0.006866045296192169,
-0.15132205188274384,
-0.07054462283849716,
0.3867633640766144,
-0.07467366009950638,
-0.19844675064086914,
-0.3272586464881897,
0.1823558509349823,
0.05927698314189911,
-0.22977520525455475,
0.09364951401948929,
0.23199526965618134,
0.11313414573669434,
-0.1623992770910263,
0.24483442306518555,
0.04314363747835159,
0.30193406343460083,
0.06685146689414978,
-0.017400773242115974,
0.08136842399835587,
0.11126324534416199,
-0.015517765656113625,
-0.21622484922409058,
-0.1460534930229187,
-0.0467095747590065,
0.28930866718292236,
0.200283944606781,
0.20456603169441223,
-0.14252984523773193,
0.062684565782547,
0.2676790952682495,
0.1584058403968811,
0.3818683922290802,
0.2592196762561798,
-0.3135664761066437,
-0.3890516757965088,
0.3242783546447754,
0.043198954313993454,
0.03841734305024147,
0.13444741070270538,
0.321662038564682,
0.03294368460774422,
-0.42100703716278076,
-0.18127329647541046,
0.5291793942451477,
0.001219909987412393,
0.057515598833560944,
0.17242707312107086,
-0.04338787868618965,
-0.014376053586602211,
0.06847662478685379,
-0.056308336555957794,
-0.2920875549316406,
0.3737664222717285,
0.07835180312395096,
-0.10122174024581909,
-0.07714726775884628,
0.01783491112291813,
0.0991692766547203,
0.12109339982271194,
0.16706761717796326,
-0.20264512300491333,
-0.004234094638377428,
0.31945231556892395,
0.14136303961277008,
0.3663022220134735,
0.077181376516819,
-0.3462437093257904,
0.2414940744638443,
-0.07178062945604324,
-0.1055397242307663,
0.023886866867542267,
0.008083255030214787,
0.13347402215003967,
-0.12411259859800339,
0.15681816637516022,
-0.0017041969113051891,
-0.020303841680288315,
0.024002203717827797,
-0.05286561697721481,
0.05979599803686142,
0.23231810331344604,
-0.34922459721565247,
0.34076163172721863,
0.1535465121269226,
0.0007400938775390387,
-0.06732064485549927,
-0.18136660754680634,
-0.15667831897735596,
-0.04612607881426811,
0.14955328404903412,
-0.013755769468843937,
0.22112172842025757,
0.03342723101377487,
0.007947531528770924,
-0.20615039765834808,
0.07599607110023499,
0.34856635332107544,
-0.02640070766210556,
-0.27041029930114746,
-0.15428243577480316,
-0.2270946353673935,
0.07946621626615524,
-0.23774364590644836,
0.01047208346426487,
-0.2141760289669037,
-0.06898144632577896,
0.2982628345489502,
0.02712918259203434,
0.02216763235628605,
-0.5149399638175964,
0.039180170744657516,
-0.034018516540527344,
0.1177331954240799,
0.24467693269252777,
-0.39005693793296814,
0.32407698035240173,
0.06454474478960037,
-0.10555112361907959,
0.09179876744747162,
0.04277200996875763,
-0.15580449998378754,
-0.2495817393064499,
0.31246495246887207,
-0.008296206593513489,
-0.549211323261261,
0.3167095184326172,
0.11644449084997177,
-0.16664063930511475,
-0.12112710624933243,
-0.36161768436431885,
0.06606771051883698,
-0.06311189383268356,
-0.07844353467226028,
-0.11201635003089905,
0.14492502808570862,
0.1889980584383011,
-0.04454025253653526,
-0.19064055383205414,
0.13069525361061096,
0.4611993134021759,
-0.27864423394203186,
0.3786749839782715,
-0.3487752079963684,
0.0460125096142292,
-0.2282991260290146,
0.34093034267425537,
-0.16015885770320892,
0.2992236912250519,
0.07375936955213547,
-0.12084538489580154,
-0.36328303813934326,
0.0320410430431366,
0.7371156215667725,
-0.20606455206871033,
-0.17110346257686615,
0.009422249160706997,
0.762191891670227,
-0.10841084271669388,
-0.5149689316749573,
-0.5980625748634338,
0.2991890013217926,
-0.013980847783386707,
-0.06373143196105957,
-0.01696348376572132,
0.3832956552505493,
-0.29852235317230225,
-0.027507461607456207,
0.19871613383293152,
0.41875022649765015,
0.3243611454963684,
-0.06272628903388977,
0.2210434526205063,
0.018111620098352432
] |
https://github.com/huggingface/datasets/issues/2104
|
Trouble loading wiki_movies
|
Hi ! `wiki_movies` was added in `datasets==1.2.0`. However it looks like you have `datasets==1.1.2`.
To use `wiki_movies`, please update `datasets` with
```
pip install --upgrade datasets
```
|
Hello,
I am trying to load_dataset("wiki_movies") and it gives me this error -
`FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py`
Trying to do `python run_mlm.py \
--model_name_or_path roberta-base \
--dataset_name wiki_movies \` also gives the same error.
Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago.
Thank you!
| 27
|
Trouble loading wiki_movies
Hello,
I am trying to load_dataset("wiki_movies") and it gives me this error -
`FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py`
Trying to do `python run_mlm.py \
--model_name_or_path roberta-base \
--dataset_name wiki_movies \` also gives the same error.
Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago.
Thank you!
Hi ! `wiki_movies` was added in `datasets==1.2.0`. However it looks like you have `datasets==1.1.2`.
To use `wiki_movies`, please update `datasets` with
```
pip install --upgrade datasets
```
|
[
-0.20739784836769104,
-0.013515260070562363,
-0.04422030597925186,
0.38739025592803955,
0.28917545080184937,
0.19632667303085327,
0.16524042189121246,
0.29042449593544006,
0.16233479976654053,
-0.0591135248541832,
-0.06512996554374695,
0.03987053781747818,
0.03908262774348259,
0.009569374844431877,
0.21804042160511017,
-0.13361872732639313,
0.13193351030349731,
-0.06776467710733414,
0.0409923791885376,
-0.15195631980895996,
-0.2609511911869049,
0.1905122995376587,
-0.09478218853473663,
0.04936402663588524,
-0.30128368735313416,
-0.021326038986444473,
-0.08608826994895935,
0.3671923577785492,
-0.15540607273578644,
-0.30686578154563904,
0.4555048644542694,
-0.15636806190013885,
0.6124149560928345,
0.5570129156112671,
-0.00011541085405042395,
0.07930649816989899,
0.45570987462997437,
-0.04380388557910919,
-0.3138122856616974,
-0.23398607969284058,
0.19904306530952454,
-0.306693434715271,
0.30911922454833984,
-0.07188621163368225,
-0.11473720520734787,
-0.03578188642859459,
0.1456819772720337,
-0.16687151789665222,
0.10031615197658539,
0.08561620116233826,
0.17345157265663147,
0.2701103389263153,
0.28924763202667236,
-0.09111212939023972,
0.2961938679218292,
0.11403471231460571,
-0.020287100225687027,
0.41393744945526123,
0.26654505729675293,
-0.4807051718235016,
0.22149521112442017,
0.32795947790145874,
-0.31363552808761597,
-0.07041581720113754,
0.5433499217033386,
0.15342563390731812,
0.38241302967071533,
-0.3687487542629242,
0.1887974888086319,
0.35653433203697205,
0.6607333421707153,
-0.0828908383846283,
-0.39935073256492615,
-0.09774323552846909,
0.1088019609451294,
-0.13760846853256226,
0.22218294441699982,
0.2584241032600403,
-0.058801207691431046,
0.1871614307165146,
0.09678095579147339,
-0.33364272117614746,
0.05152124539017677,
0.5347654819488525,
0.09726204723119736,
0.49518588185310364,
-0.04586551710963249,
0.09776674956083298,
0.1348394751548767,
-0.21229563653469086,
-0.16361913084983826,
0.0070708561688661575,
-0.06413973867893219,
0.42425286769866943,
0.06844453513622284,
0.10384716093540192,
-0.008986110799014568,
0.48570936918258667,
-0.14397776126861572,
-0.0411236472427845,
-0.11507020890712738,
-0.041439469903707504,
0.05865012854337692,
0.2267344892024994,
0.3234928548336029,
0.05523055046796799,
-0.08663716912269592,
0.04978100210428238,
0.2694106698036194,
0.4145144522190094,
-0.1821439117193222,
-0.19867314398288727,
-0.18518537282943726,
-0.05721564590930939,
-0.36047473549842834,
-0.24580582976341248,
0.39580076932907104,
-0.11756480485200882,
-0.2839023172855377,
-0.013076545670628548,
-0.22001658380031586,
-0.22055640816688538,
0.25491368770599365,
0.5544273257255554,
-0.21364927291870117,
0.18678350746631622,
0.0356270857155323,
0.20334364473819733,
-0.23979061841964722,
0.19614504277706146,
-0.11057024449110031,
0.19121195375919342,
-0.19605159759521484,
0.2319418489933014,
0.3138671815395355,
-0.070066437125206,
0.43749383091926575,
-0.11687583476305008,
-0.001597387483343482,
-0.12125687301158905,
-0.006462130229920149,
0.03784946724772453,
-0.13490672409534454,
0.4637262225151062,
-0.009282165206968784,
0.2072143852710724,
0.324703574180603,
-0.31096524000167847,
-0.11529875546693802,
0.0831780955195427,
-0.23769709467887878,
-0.349151611328125,
-0.1643446385860443,
0.08720686286687851,
0.1324007660150528,
-0.19918544590473175,
-0.23507414758205414,
0.03100540116429329,
0.028177959844470024,
-0.5631129145622253,
-0.04732539504766464,
0.11319078505039215,
0.011842502281069756,
-0.2234300822019577,
0.34806668758392334,
0.6888155937194824,
-0.2556476891040802,
-0.05857233703136444,
-0.3802083730697632,
-0.008438093587756157,
-0.06837442517280579,
0.19906525313854218,
-0.2756037414073944,
0.05930120497941971,
-0.3056888282299042,
-0.06498724967241287,
0.1098080724477768,
-0.5922428965568542,
-0.23337265849113464,
0.28458109498023987,
-0.13655385375022888,
0.14096330106258392,
0.12516044080257416,
0.168818861246109,
-0.335746169090271,
-0.16600409150123596,
0.11067383736371994,
-0.05125489830970764,
0.07355558127164841,
-0.23409609496593475,
-0.17692093551158905,
-0.15211310982704163,
0.13469044864177704,
0.13202957808971405,
0.028643572703003883,
0.04038506746292114,
0.08666019886732101,
-0.028447074815630913,
0.2409081608057022,
0.04892926663160324,
-0.1485193520784378,
0.16289794445037842,
0.34917038679122925,
0.45640891790390015,
-0.038400664925575256,
-0.07419136166572571,
-0.4570271074771881,
0.18958261609077454,
-0.10701557993888855,
0.01734667271375656,
-0.1545144021511078,
-0.09614977985620499,
-0.061452142894268036,
0.04108976945281029,
-0.18084001541137695,
-0.22536498308181763,
0.08509746193885803,
0.054777592420578,
-0.05299796164035797,
0.16558481752872467,
-0.27090343832969666,
-0.19258356094360352,
-0.09476910531520844,
0.24718108773231506,
-0.40273037552833557,
0.25199949741363525,
-0.1455651968717575,
-0.006017261650413275,
-0.03191577270627022,
0.20651258528232574,
0.2627584934234619,
-0.14706307649612427,
0.15422871708869934,
0.39086630940437317,
-0.07810209691524506,
0.25082772970199585,
0.23394501209259033,
0.16453680396080017,
0.16419197618961334,
-0.06356825679540634,
0.23681600391864777,
0.17996248602867126,
0.23391979932785034,
0.025968438014388084,
-0.14431658387184143,
0.33703142404556274,
-0.009185627102851868,
0.25015437602996826,
0.21848495304584503,
0.008246811106801033,
0.1893141120672226,
0.05291329696774483,
-0.03983625769615173,
-0.22086863219738007,
0.4325351417064667,
0.20683445036411285,
0.11258891969919205,
-0.08955762535333633,
-0.2570348083972931,
-0.042556118220090866,
0.02720450982451439,
-0.08858589082956314,
0.2019987404346466,
0.05288289859890938,
-0.3966022729873657,
0.12875117361545563,
-0.006254409905523062,
0.1457241028547287,
0.3508633077144623,
0.18894800543785095,
-0.17483584582805634,
-0.0642646923661232,
-0.012219542637467384,
-0.20629993081092834,
0.26192593574523926,
0.17537908256053925,
0.07022916525602341,
0.17967528104782104,
-0.02038716711103916,
0.02319476753473282,
-0.26970311999320984,
0.03144901245832443,
-0.11168517172336578,
0.1491052210330963,
-0.25360220670700073,
0.160896435379982,
-0.29672232270240784,
-0.06861972063779831,
-0.2333279848098755,
-0.41960394382476807,
-0.3267812430858612,
-0.28189733624458313,
-0.036113522946834564,
0.31515902280807495,
0.20619703829288483,
0.07268378138542175,
0.028805101290345192,
-0.018883440643548965,
-0.3148035407066345,
-0.16474461555480957,
-0.10384673625230789,
-0.3200185000896454,
-0.261614590883255,
-0.012988543137907982,
0.5495473742485046,
-0.061136260628700256,
0.1579238921403885,
-0.10743364691734314,
-0.03756117820739746,
-0.279542475938797,
-0.5420342087745667,
-0.06478265672922134,
-0.10129404067993164,
0.5056609511375427,
0.017040079459547997,
0.37762483954429626,
-0.12833565473556519,
-0.3390272557735443,
0.3770360052585602,
-0.0025072735734283924,
0.11156533658504486,
-0.10314663499593735,
-0.054527342319488525,
-0.33542492985725403,
0.018241122364997864,
-0.4875994324684143,
-0.4276795983314514,
-0.18540073931217194,
0.14093631505966187,
0.23855893313884735,
-0.1262494921684265,
0.19269926846027374,
0.10578637570142746,
0.1727086901664734,
-0.17612682282924652,
0.027730584144592285,
-0.057136666029691696,
-0.32971468567848206,
0.3998125195503235,
-0.22612948715686798,
-0.24584251642227173,
0.40084314346313477,
0.021222585812211037,
0.019961552694439888,
-0.29649075865745544,
-0.5815375447273254,
-0.15690559148788452,
0.135325089097023,
0.06779823452234268,
0.18001879751682281,
0.10778534412384033,
0.19947749376296997,
-0.07318247109651566,
0.03348861262202263,
0.07572823762893677,
-0.1539245992898941,
-0.21853597462177277,
-0.13573230803012848,
0.2919262647628784,
-0.10594416409730911,
0.4867750108242035,
-0.42045706510543823,
0.7676132321357727,
0.03659391403198242,
0.08023574948310852,
0.3636787533760071,
-0.18587426841259003,
0.4716031849384308,
-0.09900069236755371,
-0.4413357675075531,
-0.07748682051897049,
-0.2061033993959427,
-0.1245732456445694,
0.29743438959121704,
0.14176304638385773,
-0.268399178981781,
-0.3975665867328644,
-0.09123252332210541,
-0.30862873792648315,
-0.22111450135707855,
0.035220809280872345,
0.31111422181129456,
0.0772455707192421,
0.2566119134426117,
0.17546549439430237,
-0.0801585391163826,
-0.38206225633621216,
0.1539735049009323,
0.7092061042785645,
0.10751785337924957,
0.0038925125263631344,
-0.4570857584476471,
-0.4015657603740692,
-0.2711564600467682,
0.33137819170951843,
-0.007760750595480204,
0.06973456591367722,
-0.10624382644891739,
-0.08695118874311447,
0.17400188744068146,
-0.162422776222229,
0.670609712600708,
-0.08377047628164291,
-0.13026097416877747,
0.020356200635433197,
0.05577896162867546,
-0.28218773007392883,
-0.1787356585264206,
0.06874500215053558,
0.2667482793331146,
0.025180481374263763,
0.4684511125087738,
-0.08572784811258316,
-0.14180944859981537,
0.23174162209033966,
0.14740177989006042,
-0.25206154584884644,
-0.16861586272716522,
-0.4849333167076111,
-0.21301940083503723,
-0.32042595744132996,
-0.29136034846305847,
-0.12534849345684052,
0.23908057808876038,
0.011321215890347958,
0.15626399219036102,
-0.016772102564573288,
0.07617286592721939,
0.18155081570148468,
0.04248486086726189,
0.3289705216884613,
0.24734440445899963,
0.0375465489923954,
0.29490870237350464,
0.42703041434288025,
0.3645467162132263,
0.5436071753501892,
-0.16975730657577515,
-0.07092493027448654,
-0.12149130553007126,
-0.028176533058285713,
0.2388250082731247,
0.3939891457557678,
-0.023203963413834572,
-0.1704535186290741,
0.35977885127067566,
-0.10969523340463638,
-0.39637893438339233,
-0.2588639557361603,
0.3368564248085022,
-0.09365202486515045,
-0.13895101845264435,
-0.4274090826511383,
0.7648707032203674,
0.02486719749867916,
0.08301039785146713,
0.05457191541790962,
0.27247047424316406,
-0.162816122174263,
0.047762490808963776,
-0.027206219732761383,
1.0328422784805298,
-0.18555574119091034,
0.3174363672733307,
0.34545889496803284,
0.23811838030815125,
0.31557849049568176,
-0.4082050323486328,
0.17199969291687012,
-0.29326310753822327,
0.058984626084566116,
-0.15293803811073303,
0.005000000819563866,
0.22916381061077118,
-0.022783951833844185,
-0.22226859629154205,
0.382942259311676,
-0.07458648085594177,
0.19836553931236267,
-0.20221851766109467,
0.1291627734899521,
-0.04729306697845459,
-0.03108392097055912,
-0.5368948578834534,
0.07278353720903397,
0.17967519164085388,
0.4815194010734558,
-0.2882342040538788,
0.002844670321792364,
-0.25579291582107544,
-0.1622881442308426,
-0.3092896640300751,
-0.07660781592130661,
-0.4254741668701172,
0.16060180962085724,
0.15784533321857452,
-0.17427369952201843,
-0.18637065589427948,
0.48309141397476196,
-0.03147803246974945,
-0.02406073547899723,
-0.3653794229030609,
0.17425140738487244,
-0.1446523219347,
-0.5440137982368469,
-0.28309550881385803,
0.02788604237139225,
0.3291454017162323,
-0.08256305754184723,
-0.22905150055885315,
0.07451719790697098,
-0.21450971066951752,
-0.033412832766771317,
-0.2611866593360901,
-0.04848332330584526,
0.19449743628501892,
-0.06298486143350601,
-0.5832729935646057,
0.0490509495139122,
-0.010297223925590515,
-0.055263057351112366,
0.08202806860208511,
0.06751898676156998,
-0.06863774359226227,
-0.19993595778942108,
0.21287056803703308,
-0.0681735947728157,
-0.14327558875083923,
0.6447450518608093,
-0.25349414348602295,
-0.0229543037712574,
0.6146342158317566,
0.4854165315628052,
-0.16409458220005035,
-0.15414994955062866,
0.23295719921588898,
0.15655936300754547,
-0.2674967646598816,
-0.11976879835128784,
0.5612853765487671,
0.2112635225057602,
0.20646394789218903,
0.1724262684583664,
0.2825322449207306,
-0.26189303398132324,
-0.08205395936965942,
-0.6242212653160095,
-0.07084093242883682,
0.4252011179924011,
0.03749542683362961,
-0.05219811201095581,
0.02492908202111721,
-0.07167749851942062,
0.19920818507671356,
-0.09418240934610367,
-0.24775616824626923,
0.13058975338935852,
-0.008799001574516296,
-0.026204055175185204,
0.5012254118919373,
0.1420453041791916,
0.32303711771965027,
0.1515270471572876,
0.0972069725394249,
-0.12008010596036911,
-0.14719125628471375,
-0.14467139542102814,
0.037956103682518005,
0.18273836374282837,
0.03982607275247574,
-0.16241425275802612,
0.009340428747236729,
-0.2885357737541199,
0.014515361748635769,
-0.14373113214969635,
-0.17961078882217407,
0.017927000299096107,
0.14621460437774658,
-0.05151776224374771,
0.11459377408027649,
0.05721471458673477,
-0.2607007622718811,
0.15460921823978424,
-0.1205400675535202,
0.2959577143192291,
0.1922035664319992,
-0.20047049224376678,
0.20750129222869873,
0.06342058628797531,
-0.00601000664755702,
-0.07796797901391983,
-0.2188488095998764,
0.11231499165296555,
0.4374074339866638,
-0.1960470974445343,
0.10596860200166702,
0.16385436058044434,
-0.00320215686224401,
0.479438841342926,
-0.16350409388542175,
0.2560341954231262,
0.2782731354236603,
0.12073806673288345,
-0.4208909571170807,
-0.009968756698071957,
0.39260736107826233,
-0.032233428210020065,
-0.11577460914850235,
0.17495176196098328,
0.09174979478120804,
0.11051350086927414,
-0.16100777685642242,
0.24740830063819885,
0.3215135633945465,
-0.26395320892333984,
0.2476574182510376,
0.24899493157863617,
0.14601098001003265,
0.0742935761809349,
-0.026990247890353203,
0.22594857215881348,
0.032110750675201416,
0.4658444821834564,
-0.34811684489250183,
0.2185344696044922,
-0.11391644924879074,
0.2591002583503723,
-0.19015510380268097,
-0.3677082061767578,
0.1250474900007248,
0.30366402864456177,
0.10841663181781769,
0.08282963931560516,
-0.2962629497051239,
0.37662258744239807,
-0.25663572549819946,
0.2435164898633957,
-0.2705172598361969,
0.255742609500885,
-0.15649190545082092,
-0.34607842564582825,
-0.11840438097715378,
-0.3570038080215454,
0.03426423296332359,
0.03636956587433815,
0.023547541350126266,
-0.1979915350675583,
-0.06233641877770424,
0.21271070837974548,
-0.1376572698354721,
-0.33414226770401,
-0.0650520920753479,
0.0843127891421318,
0.1563052386045456,
-0.10541533678770065,
0.07102213054895401,
0.3002878427505493,
-0.005879111122339964,
0.16460968554019928,
0.04616900533437729,
0.5031886696815491,
0.4529593586921692,
-0.36153343319892883,
0.15133558213710785,
-0.07663282006978989,
-0.16889463365077972,
0.04385685548186302,
0.2025814950466156,
0.1634930819272995,
0.1932375282049179,
0.023046141490340233,
0.1304176300764084,
-0.10902370512485504,
0.36217448115348816,
-0.05510428175330162,
0.2701666057109833,
-0.274711936712265,
0.08971144258975983,
-0.4953480362892151,
-0.07871118187904358,
-0.46549344062805176,
0.13089123368263245,
-0.43521952629089355,
0.20434045791625977,
0.3818309009075165,
0.08591712266206741,
-0.08244085311889648,
-0.12149638682603836,
0.0348881334066391,
-0.0609528049826622,
0.5068451166152954,
0.4655897319316864,
-0.004283650312572718,
-0.3190929591655731,
-0.04138721525669098,
-0.8435488343238831,
-0.0332941971719265,
-0.10079257935285568,
-0.09575443714857101,
-0.13980448246002197,
0.1500566303730011,
0.16670961678028107,
0.04047009348869324,
0.040353480726480484,
-0.510095477104187,
0.18486696481704712,
0.024007167667150497,
-0.12308521568775177,
-0.21987639367580414,
-0.2002841830253601,
0.20741334557533264,
-0.027175288647413254,
-0.004810130223631859,
-0.10528382658958435,
-0.43289098143577576,
-0.10447690635919571,
-0.2810303866863251,
-0.00022301003627944738,
-0.1893538385629654,
0.03832773119211197,
0.2756370007991791,
-0.15593662858009338,
0.47022005915641785,
0.05357854813337326,
-0.2973313331604004,
-0.43782445788383484,
-0.29577040672302246,
-0.04275115579366684,
0.2842930257320404,
0.001364702358841896,
0.4818752110004425,
-0.44174569845199585,
-0.07579430937767029,
-0.355706125497818,
0.19729973375797272,
0.012000124901533127,
0.0551021546125412,
-0.21703067421913147,
-0.13894392549991608,
0.05762646719813347,
-0.07875388115644455,
0.2426237314939499,
0.22710837423801422,
-0.057517461478710175,
0.27145665884017944,
-0.08605038374662399,
-0.12400054186582565,
0.6063525080680847,
-0.6618570685386658,
0.045096904039382935,
-0.021219635382294655,
0.0025199237279593945,
-0.20476198196411133,
-0.011349895969033241,
-0.6350097060203552,
0.14991424977779388,
0.29583480954170227,
0.19707567989826202,
-0.20562991499900818,
0.09557300806045532,
-0.013336418196558952,
-0.1813092827796936,
-0.11739679425954819,
-0.10598260909318924,
-0.021905522793531418,
-0.15658265352249146,
-0.029998570680618286,
-0.08643922954797745
] |
https://github.com/huggingface/datasets/issues/2104
|
Trouble loading wiki_movies
|
Thanks a lot! That solved it and I was able to upload a model trained on it as well :)
|
Hello,
I am trying to load_dataset("wiki_movies") and it gives me this error -
`FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py`
Trying to do `python run_mlm.py \
--model_name_or_path roberta-base \
--dataset_name wiki_movies \` also gives the same error.
Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago.
Thank you!
| 20
|
Trouble loading wiki_movies
Hello,
I am trying to load_dataset("wiki_movies") and it gives me this error -
`FileNotFoundError: Couldn't find file locally at wiki_movies/wiki_movies.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/wiki_movies/wiki_movies.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/wiki_movies/wiki_movies.py`
Trying to do `python run_mlm.py \
--model_name_or_path roberta-base \
--dataset_name wiki_movies \` also gives the same error.
Is this something on my end? From what I can tell, this dataset was re-added by @lhoestq a few months ago.
Thank you!
Thanks a lot! That solved it and I was able to upload a model trained on it as well :)
|
[
-0.11215613782405853,
-0.013994392938911915,
0.007302512880414724,
0.4026292860507965,
0.32103291153907776,
0.20782557129859924,
0.24287903308868408,
0.25469717383384705,
0.15914657711982727,
-0.12934032082557678,
-0.08096683770418167,
-0.0636572614312172,
-0.017482759431004524,
0.03714628517627716,
0.2689792811870575,
-0.1464957296848297,
0.14409153163433075,
-0.08042533695697784,
0.0386449471116066,
-0.1759173721075058,
-0.28590649366378784,
0.15602752566337585,
-0.09588205069303513,
0.05230410769581795,
-0.3731440603733063,
-0.0070691234432160854,
-0.13271404802799225,
0.4059879183769226,
-0.1415063887834549,
-0.21471816301345825,
0.4609835743904114,
-0.1746770143508911,
0.6153913736343384,
0.5836371183395386,
-0.00011640707816695794,
0.14894415438175201,
0.35993677377700806,
-0.11149117350578308,
-0.21624454855918884,
-0.19645030796527863,
0.20646896958351135,
-0.20073507726192474,
0.2710048258304596,
-0.09297101199626923,
-0.12473756074905396,
0.002490794286131859,
0.16381388902664185,
-0.1582215577363968,
0.06038587912917137,
0.16671104729175568,
0.17631413042545319,
0.2521989345550537,
0.21799135208129883,
-0.07627907395362854,
0.23253926634788513,
0.15300162136554718,
-0.05610359087586403,
0.4803479015827179,
0.194660946726799,
-0.5227851271629333,
0.15772628784179688,
0.2466915249824524,
-0.2417706847190857,
-0.11983519792556763,
0.5773372650146484,
0.15895090997219086,
0.3579041361808777,
-0.3634527623653412,
0.19962714612483978,
0.4087162911891937,
0.613501250743866,
0.007712370716035366,
-0.37056171894073486,
-0.1067446619272232,
0.1170772835612297,
-0.09478076547384262,
0.2538563907146454,
0.35915684700012207,
-0.032333239912986755,
0.22140000760555267,
0.09570582956075668,
-0.2623712420463562,
-0.007684531155973673,
0.44805172085762024,
0.05973035842180252,
0.4561134874820709,
-0.018844259902834892,
0.06589469313621521,
0.15434221923351288,
-0.19141794741153717,
-0.2707582116127014,
-0.012048348784446716,
-0.03758394718170166,
0.4495455026626587,
0.03339410573244095,
0.12868158519268036,
-0.011119083501398563,
0.47036516666412354,
-0.10067064315080643,
-0.04719185084104538,
-0.06577130407094955,
-0.0687851533293724,
0.024542691186070442,
0.19411323964595795,
0.29316282272338867,
0.06721587479114532,
-0.15210869908332825,
-0.0033023653086274862,
0.2521960139274597,
0.42580267786979675,
-0.2807632088661194,
-0.20498283207416534,
-0.2595454454421997,
-0.04853349179029465,
-0.4100686013698578,
-0.3608543872833252,
0.37824201583862305,
-0.14591988921165466,
-0.300681471824646,
0.053718503564596176,
-0.2405790239572525,
-0.20091837644577026,
0.23331701755523682,
0.5762199759483337,
-0.16118912398815155,
0.17289309203624725,
0.02661871165037155,
0.17844745516777039,
-0.2535416781902313,
0.15133915841579437,
-0.11372367292642593,
0.20676910877227783,
-0.23046761751174927,
0.22178156673908234,
0.27406710386276245,
-0.03689661994576454,
0.4466458261013031,
-0.16664071381092072,
0.013137178495526314,
-0.14063461124897003,
0.026450686156749725,
-0.005661744624376297,
-0.12386669218540192,
0.4525805413722992,
-0.04464863985776901,
0.1515556275844574,
0.3736087679862976,
-0.3536572754383087,
-0.10879182070493698,
0.08376859128475189,
-0.177693709731102,
-0.3517284393310547,
-0.10603484511375427,
0.08905059844255447,
0.07011951506137848,
-0.19326390326023102,
-0.21204204857349396,
0.11351727694272995,
0.000012018178495054599,
-0.4642556309700012,
-0.061467211693525314,
0.18105493485927582,
-0.07813689857721329,
-0.22760049998760223,
0.3975335657596588,
0.7473235130310059,
-0.2878173589706421,
-0.049601830542087555,
-0.290750652551651,
0.0037925641518086195,
-0.05797378346323967,
0.27029475569725037,
-0.2691887319087982,
0.15152058005332947,
-0.33905336260795593,
0.0829213336110115,
0.06626351177692413,
-0.45363837480545044,
-0.21665698289871216,
0.32757633924484253,
-0.17369608581066132,
0.13872087001800537,
0.05923598259687424,
0.16503478586673737,
-0.39824625849723816,
-0.17465269565582275,
0.17840920388698578,
0.02472683973610401,
0.07727132737636566,
-0.2549573481082916,
-0.2193601131439209,
-0.17622926831245422,
0.1955949366092682,
0.21313200891017914,
0.04169845208525658,
0.031792137771844864,
0.056355513632297516,
-0.06421360373497009,
0.25316736102104187,
-0.01908334717154503,
-0.20330910384655,
0.14632028341293335,
0.362100213766098,
0.38649871945381165,
-0.004920697305351496,
-0.009554032236337662,
-0.4130246639251709,
0.2022419273853302,
-0.10399472713470459,
0.03957189619541168,
-0.09819404780864716,
-0.07035215944051743,
-0.042012203484773636,
0.07176826149225235,
-0.26997098326683044,
-0.22918404638767242,
0.07397687435150146,
0.010678661055862904,
-0.1434473693370819,
0.2013350874185562,
-0.31673505902290344,
-0.20311059057712555,
-0.21503186225891113,
0.24044933915138245,
-0.3909485936164856,
0.2344643622636795,
-0.12049063295125961,
0.024204468354582787,
-0.040912605822086334,
0.17397496104240417,
0.21112294495105743,
-0.13631294667720795,
0.13316911458969116,
0.3344075083732605,
-0.08795025199651718,
0.19926717877388,
0.3177419900894165,
0.22899219393730164,
0.17114762961864471,
-0.07943049818277359,
0.19901342689990997,
0.21435341238975525,
0.24290557205677032,
-0.029391266405582428,
-0.1889043003320694,
0.3995214104652405,
-0.012683534994721413,
0.2303563505411148,
0.24644094705581665,
0.019083144143223763,
0.1926739513874054,
0.0369025394320488,
-0.053294677287340164,
-0.1471380740404129,
0.48257702589035034,
0.2494853436946869,
0.14423425495624542,
-0.012947597540915012,
-0.29993531107902527,
-0.1178666278719902,
-0.02639787271618843,
-0.12274987995624542,
0.21492722630500793,
0.05915847793221474,
-0.40933844447135925,
0.08535182476043701,
-0.04331418499350548,
0.10721030086278915,
0.39323189854621887,
0.12628398835659027,
-0.1545923799276352,
-0.07338093221187592,
-0.0033254476729780436,
-0.22501546144485474,
0.27333852648735046,
0.13820214569568634,
0.07632865756750107,
0.2013794332742691,
0.012928913347423077,
0.010094101540744305,
-0.3816269636154175,
0.009258999489247799,
-0.07799933105707169,
0.08100729435682297,
-0.22325295209884644,
0.17624717950820923,
-0.1877778321504593,
-0.02940560318529606,
-0.2262089103460312,
-0.30671679973602295,
-0.3279339671134949,
-0.2259705811738968,
-0.03766052424907684,
0.22227273881435394,
0.13733242452144623,
0.027958199381828308,
-0.07984013855457306,
0.07349072396755219,
-0.28746142983436584,
-0.1831967830657959,
-0.03588192164897919,
-0.29423853754997253,
-0.22935698926448822,
-0.015993770211935043,
0.6218870878219604,
-0.13504883646965027,
0.15901048481464386,
-0.09592466056346893,
-0.08933182060718536,
-0.21301613748073578,
-0.5159599184989929,
-0.04867541790008545,
-0.014200255274772644,
0.46154236793518066,
-0.036329180002212524,
0.41157811880111694,
-0.14963573217391968,
-0.3485880196094513,
0.40013042092323303,
0.061561521142721176,
0.13415269553661346,
-0.054528169333934784,
-0.035831425338983536,
-0.2908652126789093,
-0.00045833198237232864,
-0.4532824754714966,
-0.39325305819511414,
-0.1345372498035431,
0.17500519752502441,
0.218377485871315,
-0.13834065198898315,
0.2596433162689209,
0.07350412756204605,
0.20458000898361206,
-0.21763838827610016,
-0.005353702697902918,
-0.04456757754087448,
-0.37355247139930725,
0.4692225754261017,
-0.18740564584732056,
-0.3353832960128784,
0.4011888802051544,
0.005090586841106415,
-0.03720438852906227,
-0.3107055723667145,
-0.5931296348571777,
-0.09527014940977097,
0.12362836301326752,
0.06052669137716293,
0.20663532614707947,
0.04289400205016136,
0.18699438869953156,
-0.16183675825595856,
0.047986578196287155,
0.09441244602203369,
-0.12302444875240326,
-0.10392079502344131,
-0.0901137962937355,
0.3017454743385315,
-0.15615153312683105,
0.44667476415634155,
-0.420874685049057,
0.7149732112884521,
0.007886108942329884,
0.058137811720371246,
0.3880033493041992,
-0.14774605631828308,
0.43236836791038513,
-0.1417577713727951,
-0.3912597596645355,
-0.019208915531635284,
-0.21290652453899384,
-0.202949658036232,
0.37658584117889404,
0.21923421323299408,
-0.2898498773574829,
-0.39923056960105896,
-0.16116966307163239,
-0.23199529945850372,
-0.21615122258663177,
0.08005959540605545,
0.34336087107658386,
0.04767679050564766,
0.22428876161575317,
0.16651751101016998,
-0.027170056477189064,
-0.3645153045654297,
0.18730810284614563,
0.7527639269828796,
0.2025974690914154,
-0.039280641824007034,
-0.40314915776252747,
-0.36194655299186707,
-0.29747727513313293,
0.20643655955791473,
-0.09983032196760178,
0.0445735901594162,
-0.14027482271194458,
-0.1308005303144455,
0.19768817722797394,
-0.14951270818710327,
0.7062321305274963,
-0.015101557597517967,
-0.13036388158798218,
-0.023794541135430336,
0.010114443488419056,
-0.214374378323555,
-0.18739309906959534,
0.12637251615524292,
0.22558295726776123,
0.017590509727597237,
0.5091720223426819,
-0.022008150815963745,
-0.022552724927663803,
0.15746968984603882,
0.14665739238262177,
-0.2593088150024414,
-0.17712852358818054,
-0.45651575922966003,
-0.24025703966617584,
-0.26246461272239685,
-0.28557032346725464,
-0.10595336556434631,
0.24252228438854218,
0.09593959152698517,
0.21014828979969025,
-0.01172931119799614,
0.11879772692918777,
0.25320523977279663,
0.05920527130365372,
0.28568869829177856,
0.2365042120218277,
0.06108510121703148,
0.31715089082717896,
0.5217161178588867,
0.28338125348091125,
0.571885883808136,
-0.1491391658782959,
-0.10940304398536682,
-0.08250673115253448,
-0.06907234340906143,
0.2677212357521057,
0.43277913331985474,
0.0016415441641584039,
-0.1801280528306961,
0.4139871299266815,
-0.08106439560651779,
-0.43327122926712036,
-0.17004883289337158,
0.322460412979126,
-0.1302308589220047,
-0.20277228951454163,
-0.3941417634487152,
0.7360111474990845,
-0.0714675709605217,
0.12361519038677216,
0.03751714155077934,
0.24553503096103668,
-0.16672804951667786,
0.13851475715637207,
-0.03770553320646286,
1.1215846538543701,
-0.22035029530525208,
0.38000455498695374,
0.37966665625572205,
0.29590797424316406,
0.23635822534561157,
-0.4449305832386017,
0.14202478528022766,
-0.29013791680336,
-0.021331995725631714,
-0.169799342751503,
0.002000154461711645,
0.15968020260334015,
0.03625781834125519,
-0.1308235377073288,
0.30285730957984924,
-0.1104070246219635,
0.28782981634140015,
-0.16665492951869965,
0.09594157338142395,
0.05232113227248192,
-0.03514372929930687,
-0.5819416046142578,
0.04994342848658562,
0.2104516476392746,
0.4309826195240021,
-0.2776637673377991,
-0.03688500076532364,
-0.2028912454843521,
-0.10224171727895737,
-0.28530824184417725,
-0.04719358682632446,
-0.3949611485004425,
0.12975859642028809,
0.1322990357875824,
-0.15305083990097046,
-0.157463937997818,
0.522431492805481,
-0.02011597529053688,
-0.006963350344449282,
-0.41001954674720764,
0.1855684220790863,
-0.19163863360881805,
-0.5221065282821655,
-0.27410373091697693,
-0.014811627566814423,
0.3304520845413208,
-0.0886402577161789,
-0.1722726821899414,
0.03289813548326492,
-0.2435241937637329,
-0.021796228364109993,
-0.3195015490055084,
-0.06317126005887985,
0.1740749627351761,
-0.09996628016233444,
-0.6227611899375916,
0.05908835679292679,
0.014593266882002354,
-0.03347715362906456,
0.07720420509576797,
0.08829300105571747,
-0.10703711956739426,
-0.28597041964530945,
0.2736418843269348,
-0.08454160392284393,
-0.1445070058107376,
0.6002660989761353,
-0.23568806052207947,
0.030729664489626884,
0.6164124608039856,
0.509625256061554,
-0.16033220291137695,
-0.15090641379356384,
0.297533243894577,
0.25359460711479187,
-0.30250313878059387,
-0.08757559955120087,
0.5864003300666809,
0.196247398853302,
0.09810730069875717,
0.1826615333557129,
0.30164384841918945,
-0.3405367434024811,
-0.058885131031274796,
-0.6151732206344604,
-0.11463712900876999,
0.36771076917648315,
-0.01979420706629753,
-0.041286274790763855,
0.012152024544775486,
-0.08427312970161438,
0.20141007006168365,
-0.08307328075170517,
-0.22673027217388153,
0.1225782185792923,
-0.057313136756420135,
-0.09078235924243927,
0.4527485966682434,
0.141514852643013,
0.3529384732246399,
0.17074623703956604,
0.11577148735523224,
-0.09363775700330734,
-0.05376317352056503,
-0.13795524835586548,
-0.010354139842092991,
0.1959904134273529,
0.10636894404888153,
-0.15230919420719147,
0.04141524061560631,
-0.29550084471702576,
-0.04077122360467911,
-0.13864979147911072,
-0.18519169092178345,
0.018731627613306046,
0.1879851222038269,
-0.08984056115150452,
0.13966818153858185,
0.027205144986510277,
-0.3407527208328247,
0.1479416787624359,
-0.1170673668384552,
0.28909730911254883,
0.22245949506759644,
-0.29693564772605896,
0.16971197724342346,
0.0425909198820591,
-0.03842358663678169,
-0.04394196346402168,
-0.24816149473190308,
0.12284503877162933,
0.41636911034584045,
-0.2034340351819992,
0.09299644082784653,
0.13493217527866364,
0.02090882696211338,
0.4537683427333832,
-0.20055031776428223,
0.3117964267730713,
0.31880250573158264,
0.10283338278532028,
-0.47114259004592896,
-0.032246824353933334,
0.4285385310649872,
-0.09749334305524826,
-0.11771749705076218,
0.13290511071681976,
0.020304877310991287,
0.12759940326213837,
-0.25211113691329956,
0.20201027393341064,
0.24929295480251312,
-0.142389714717865,
0.1922290176153183,
0.22571216523647308,
0.13718284666538239,
0.09676697105169296,
-0.01863199472427368,
0.1762082576751709,
0.04344172775745392,
0.4835723638534546,
-0.3364115357398987,
0.16389457881450653,
-0.18986284732818604,
0.18456965684890747,
-0.145910382270813,
-0.36270686984062195,
0.11229481548070908,
0.33810755610466003,
0.08422176539897919,
0.0779014527797699,
-0.3157334625720978,
0.43243783712387085,
-0.25587812066078186,
0.20310546457767487,
-0.29422152042388916,
0.22798526287078857,
-0.1795710325241089,
-0.3268273174762726,
-0.1394120752811432,
-0.3754656910896301,
0.03630804270505905,
0.10294561088085175,
0.0061258589848876,
-0.1819605976343155,
-0.05573553964495659,
0.19912537932395935,
-0.11807122081518173,
-0.21435153484344482,
0.00589725561439991,
0.08655210584402084,
0.1842317283153534,
-0.12164049595594406,
0.031891997903585434,
0.27906304597854614,
0.02430848404765129,
0.2111031860113144,
0.0075357998721301556,
0.42326152324676514,
0.4421952962875366,
-0.3254859149456024,
0.21908067166805267,
-0.033356379717588425,
-0.15364041924476624,
0.06188996508717537,
0.20943081378936768,
0.2220916450023651,
0.22213658690452576,
0.08088493347167969,
0.09967126697301865,
-0.08422937244176865,
0.41986408829689026,
-0.05313951149582863,
0.2680288851261139,
-0.28026267886161804,
0.045918043702840805,
-0.4868519604206085,
-0.092336006462574,
-0.5042520761489868,
0.09258875250816345,
-0.3706071674823761,
0.21900810301303864,
0.37532752752304077,
0.11036840081214905,
-0.04956003278493881,
-0.06061818450689316,
0.021388793364167213,
-0.06462496519088745,
0.4957810640335083,
0.4861961901187897,
-0.015335310250520706,
-0.36406341195106506,
-0.019831113517284393,
-0.8502103090286255,
0.03214681148529053,
-0.08404901623725891,
-0.06414458155632019,
-0.10652296245098114,
0.12824945151805878,
0.2296139895915985,
-0.03547714650630951,
-0.019414113834500313,
-0.43987277150154114,
0.15875205397605896,
0.0537591278553009,
-0.11370200663805008,
-0.2470293492078781,
-0.25402185320854187,
0.25035277009010315,
-0.09197989851236343,
-0.014309640042483807,
-0.08672211319208145,
-0.415689080953598,
-0.08616907149553299,
-0.2571049928665161,
-0.05742346867918968,
-0.26726359128952026,
0.10490439087152481,
0.21188251674175262,
-0.13446162641048431,
0.4210889935493469,
0.03998105600476265,
-0.2676464915275574,
-0.4160706400871277,
-0.2614874243736267,
-0.05432353541254997,
0.1965259313583374,
-0.0077152736485004425,
0.4464063048362732,
-0.39799460768699646,
-0.03115818277001381,
-0.3330067992210388,
0.16708512604236603,
-0.0031124947126954794,
0.006522766314446926,
-0.31669944524765015,
-0.14738672971725464,
0.05370078980922699,
-0.07882128655910492,
0.294543594121933,
0.23429691791534424,
-0.10156631469726562,
0.13171833753585815,
-0.007374140899628401,
-0.07934557646512985,
0.6290507316589355,
-0.752262532711029,
0.03839540481567383,
0.03584995120763779,
-0.014808121137320995,
-0.1958952695131302,
0.036418367177248,
-0.6877138614654541,
0.10220517218112946,
0.26481395959854126,
0.1969151347875595,
-0.24377919733524323,
0.06410558521747589,
-0.018794992938637733,
-0.177249938249588,
-0.083994060754776,
-0.09263665974140167,
-0.0633513480424881,
-0.19782684743404388,
-0.03511260822415352,
-0.11550889909267426
] |
https://github.com/huggingface/datasets/issues/2103
|
citation, homepage, and license fields of `dataset_info.json` are duplicated many times
|
Thanks for reporting :)
Maybe we can concatenate fields only if they are different.
Currently this is done here:
https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/src/datasets/info.py#L180-L196
This can be a good first contribution to the library.
Please comment if you'd like to improve this and open a PR :)
|
This happens after a `map` operation when `num_proc` is set to `>1`. I tested this by cleaning up the json before running the `map` op on the dataset so it's unlikely it's coming from an earlier concatenation.
Example result:
```
"citation": "@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n
```
@lhoestq and I believe this is happening due to the fields being concatenated `num_proc` times.
| 43
|
citation, homepage, and license fields of `dataset_info.json` are duplicated many times
This happens after a `map` operation when `num_proc` is set to `>1`. I tested this by cleaning up the json before running the `map` op on the dataset so it's unlikely it's coming from an earlier concatenation.
Example result:
```
"citation": "@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n url = {https://dumps.wikimedia.org}\n}\n\n@ONLINE {wikidump,\n author = {Wikimedia Foundation},\n title = {Wikimedia Downloads},\n
```
@lhoestq and I believe this is happening due to the fields being concatenated `num_proc` times.
Thanks for reporting :)
Maybe we can concatenate fields only if they are different.
Currently this is done here:
https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/src/datasets/info.py#L180-L196
This can be a good first contribution to the library.
Please comment if you'd like to improve this and open a PR :)
|
[
0.13812267780303955,
0.013645601458847523,
-0.06308344006538391,
0.3942781686782837,
-0.00548150297254324,
0.07270891219377518,
0.22892546653747559,
0.3846519887447357,
-0.06935429573059082,
0.04314161837100983,
0.07733853161334991,
0.6607306599617004,
0.483460396528244,
-0.11136755347251892,
0.0986286923289299,
0.254014253616333,
0.07265440374612808,
0.03714650124311447,
0.1630939096212387,
-0.024760736152529716,
-0.14420399069786072,
0.3476743996143341,
-0.02845281921327114,
0.025611549615859985,
-0.22326870262622833,
-0.021375831216573715,
-0.2590201199054718,
0.2612616717815399,
-0.010787463746964931,
-0.29392340779304504,
-0.23025470972061157,
0.3371429145336151,
-0.344325989484787,
0.040967490524053574,
-0.00011347097461111844,
-0.10482025146484375,
0.09306253492832184,
0.0950627401471138,
-0.11593450605869293,
-0.10974366217851639,
-0.3312687575817108,
0.0067825112491846085,
0.12330569326877594,
-0.33014318346977234,
0.20310333371162415,
-0.09640558063983917,
-0.14377965033054352,
0.1015474870800972,
0.35785990953445435,
0.031473707407712936,
0.13444684445858002,
-0.3486805558204651,
-0.03641343489289284,
0.21179980039596558,
0.167062446475029,
0.5066614151000977,
0.2788800895214081,
-0.022538233548402786,
0.056786902248859406,
0.13726301491260529,
-0.03728659823536873,
0.3509618937969208,
-0.017439020797610283,
0.06897318363189697,
-0.08893939107656479,
0.01986558921635151,
0.37049612402915955,
-0.26389747858047485,
0.40294158458709717,
0.20362497866153717,
0.19983705878257751,
-0.21526724100112915,
-0.06498018652200699,
-0.15083029866218567,
0.2594078779220581,
0.043362125754356384,
0.011645832099020481,
0.12484372407197952,
0.2915681004524231,
0.09520889073610306,
-0.15236082673072815,
-0.12893226742744446,
0.01564810797572136,
-0.20766782760620117,
-0.10421815514564514,
0.13888248801231384,
0.054504018276929855,
0.2547242343425751,
0.4554471969604492,
-0.17569854855537415,
-0.009451428428292274,
-0.37329980731010437,
-0.36301854252815247,
-0.14886046946048737,
-0.11561055481433868,
-0.2586488127708435,
-0.0468386672437191,
-0.06977131962776184,
0.1238703727722168,
0.11882082372903824,
0.1158255934715271,
0.25331437587738037,
0.0044784038327634335,
0.19211193919181824,
0.49027568101882935,
-0.169282928109169,
-0.016740452498197556,
0.1683238297700882,
0.1627897173166275,
-0.1561911404132843,
-0.36214691400527954,
0.2883540987968445,
0.2324281483888626,
0.2500537931919098,
-0.28774401545524597,
-0.2357921004295349,
0.24995966255664825,
-0.12836816906929016,
-0.1634397804737091,
0.16446837782859802,
-0.2285560518503189,
-0.23358196020126343,
-0.07432513684034348,
-0.01270289532840252,
0.2380661964416504,
0.031106526032090187,
-0.08161880820989609,
-0.07619388401508331,
0.06148534640669823,
-0.127414733171463,
-0.13340336084365845,
-0.05733708664774895,
0.024981699883937836,
0.04474000632762909,
0.2108941376209259,
0.19580526649951935,
0.285268634557724,
0.438719242811203,
-0.24924392998218536,
-0.6506686210632324,
0.4075792133808136,
0.023532720282673836,
0.06093239411711693,
0.2766377925872803,
-0.06460224837064743,
0.2921260595321655,
0.056147947907447815,
-0.09859884530305862,
-0.18497063219547272,
0.20499178767204285,
-0.5609202980995178,
-0.17007477581501007,
-0.09849487990140915,
0.1963617503643036,
0.0690888911485672,
0.05841680243611336,
0.06919503957033157,
0.04308900237083435,
0.19062083959579468,
0.0887882262468338,
-0.0559142529964447,
0.0977039784193039,
-0.24199624359607697,
-0.001305036130361259,
-0.21798790991306305,
0.4913586676120758,
-0.2344307154417038,
0.030188731849193573,
-0.1352124810218811,
0.1047375425696373,
0.11585445702075958,
0.3253314793109894,
-0.30035099387168884,
0.4414007067680359,
-0.14080838859081268,
0.12484106421470642,
0.1913563758134842,
-0.2989720404148102,
-0.12609384953975677,
0.45493587851524353,
-0.2909889817237854,
-0.17406946420669556,
0.1084958091378212,
0.015191449783742428,
0.19847601652145386,
0.02995409443974495,
0.29033201932907104,
-0.16297408938407898,
0.2847077250480652,
0.18261776864528656,
-0.10787668079137802,
0.007740947883576155,
0.15976276993751526,
0.11049778759479523,
-0.528764009475708,
-0.19303487241268158,
0.07456490397453308,
0.10356573760509491,
-0.01008819043636322,
-0.17943769693374634,
-0.12885130941867828,
0.45329007506370544,
-0.00804384145885706,
-0.1855052262544632,
0.28046172857284546,
0.23614118993282318,
-0.16173221170902252,
-0.004741855897009373,
-0.21216587722301483,
-0.23743528127670288,
0.012612787075340748,
-0.3103969395160675,
0.13634085655212402,
0.057701967656612396,
-0.22587251663208008,
-0.0005590925575233996,
0.17188893258571625,
0.21674205362796783,
-0.1872628927230835,
-0.06630082428455353,
0.03443656116724014,
-0.006542126648128033,
-0.22947844862937927,
-0.05807271972298622,
-0.3690658211708069,
-0.22515694797039032,
-0.1929309219121933,
0.29020407795906067,
0.10012668371200562,
0.051658447831869125,
0.4500667154788971,
-0.07696384936571121,
-0.00836946815252304,
0.1213899776339531,
0.4090745747089386,
0.24136486649513245,
0.3329516351222992,
0.21671012043952942,
0.5112667083740234,
0.10913435369729996,
0.0661502331495285,
0.03208963945508003,
0.0376712866127491,
-0.38057073950767517,
-0.31771960854530334,
0.28667184710502625,
0.039954084903001785,
0.0024849646724760532,
-0.07714797556400299,
0.027787135913968086,
0.4658512771129608,
0.11280147731304169,
0.032810065895318985,
-0.4600546956062317,
-0.018492043018341064,
0.6355430483818054,
-0.22251281142234802,
0.4609508812427521,
0.062036238610744476,
0.5856886506080627,
0.4512520134449005,
-0.34115833044052124,
-0.12851041555404663,
-0.012676170095801353,
-0.12371133267879486,
-0.4660651981830597,
-0.028085708618164062,
0.3222881853580475,
0.2815464735031128,
0.14245016872882843,
-0.0743345320224762,
0.13085156679153442,
0.1566409319639206,
-0.22184820473194122,
0.35938143730163574,
0.005123964045196772,
0.07842648774385452,
0.07616759091615677,
0.29856061935424805,
-0.07614907622337341,
-0.439031720161438,
-0.21051353216171265,
0.5419506430625916,
0.18281897902488708,
-0.3398174047470093,
-0.07417205721139908,
-0.5753312110900879,
0.2566513121128082,
-0.20858684182167053,
0.07906864583492279,
-0.2199467122554779,
-0.3306317627429962,
0.19158625602722168,
0.5351452827453613,
-0.19175280630588531,
0.024805128574371338,
0.21897302567958832,
0.40549105405807495,
-0.04783535376191139,
0.03786761313676834,
-0.24211645126342773,
-0.2526845335960388,
-0.0021720577497035265,
0.000737961265258491,
0.16829197108745575,
-0.16670294106006622,
0.09854056686162949,
-0.0009685098775662482,
-0.061815548688173294,
-0.6569477915763855,
-0.3852786123752594,
0.20295526087284088,
-0.21768535673618317,
-0.08808937668800354,
0.060470134019851685,
-0.02292332425713539,
-0.4931528568267822,
-0.13603448867797852,
-0.2491190880537033,
0.41203150153160095,
-0.31686386466026306,
0.14583931863307953,
-0.23035311698913574,
-0.1695067584514618,
-0.30849388241767883,
-0.2869497239589691,
0.06225612759590149,
0.04284296929836273,
0.2375154048204422,
0.009266267530620098,
0.29034167528152466,
0.014734341762959957,
-0.24078868329524994,
-0.019459547474980354,
-0.12928134202957153,
0.16809315979480743,
-0.6054064035415649,
-0.3265313506126404,
-0.10082875937223434,
-0.1986563354730606,
-0.08405158668756485,
-0.07537328451871872,
0.29828399419784546,
-0.04947609454393387,
-0.10833325237035751,
-0.5357643365859985,
-0.13310833275318146,
0.1364545226097107,
0.031064216047525406,
-0.25958365201950073,
-0.026640208438038826,
0.3220060467720032,
0.35557880997657776,
-0.22427214682102203,
0.007574963383376598,
-0.06703608483076096,
0.22025436162948608,
0.31027916073799133,
0.2186117172241211,
-0.1807074248790741,
-0.14282628893852234,
-0.2503645122051239,
0.4967597424983978,
0.6802610754966736,
-0.08722385764122009,
-0.08124227076768875,
0.06481962651014328,
0.1408362090587616,
0.06725144386291504,
0.0875324234366417,
-0.12584853172302246,
-0.08808336406946182,
0.016133219003677368,
0.47071871161460876,
-0.08531390875577927,
-0.08353874832391739,
0.2374541014432907,
0.25000128149986267,
-0.3685612380504608,
-0.3060150742530823,
-0.053465794771909714,
-0.16192400455474854,
0.13604213297367096,
0.15804821252822876,
0.23787298798561096,
-0.004199986346065998,
-0.03729325532913208,
-0.0610608346760273,
-0.003530970076099038,
0.0607452467083931,
-0.28183141350746155,
-0.3054355978965759,
-0.39678528904914856,
-0.38373246788978577,
0.1832275539636612,
-0.10953938961029053,
0.04915693402290344,
-0.1281888484954834,
0.11258412897586823,
0.07217919081449509,
-0.10631167888641357,
0.8338921666145325,
-0.4579739570617676,
0.16768130660057068,
0.16767913103103638,
-0.2081480473279953,
-0.12398339062929153,
-0.08995893597602844,
-0.26451173424720764,
0.2085203379392624,
0.40783846378326416,
0.4869430661201477,
-0.15103040635585785,
0.23927249014377594,
0.11577906459569931,
0.005084186792373657,
-0.1674869805574417,
0.03842809051275253,
0.06592824310064316,
-0.38315317034721375,
-0.32291555404663086,
-0.1569056212902069,
-0.14590738713741302,
-0.017763903364539146,
-0.11311309784650803,
-0.20067957043647766,
0.20026928186416626,
0.15685781836509705,
0.1397445946931839,
0.23048700392246246,
0.18168148398399353,
0.18291960656642914,
0.15659071505069733,
0.013051874004304409,
-0.0504605695605278,
0.18620336055755615,
0.3360445499420166,
0.14463765919208527,
-0.09757353365421295,
0.06521586328744888,
-0.33867183327674866,
0.07437693327665329,
0.26828619837760925,
0.20989026129245758,
0.17820537090301514,
0.04160613194108009,
-0.1456054449081421,
-0.14588476717472076,
-0.23881766200065613,
0.26991695165634155,
-0.02645508572459221,
-0.1145344004034996,
0.03465305268764496,
0.16182824969291687,
0.22715908288955688,
-0.35049447417259216,
0.4041934311389923,
-0.23579956591129303,
-0.12183359265327454,
0.3312470018863678,
0.09877949208021164,
1.0419564247131348,
-0.26824337244033813,
-0.20272336900234222,
-0.27575671672821045,
-0.3043018579483032,
0.6576952934265137,
-0.29952308535575867,
0.11706192046403885,
-0.5067407488822937,
0.008006557822227478,
0.11762001365423203,
-0.07102661579847336,
-0.12930339574813843,
0.09759432077407837,
-0.4630866050720215,
-0.20395545661449432,
0.16384856402873993,
0.34483301639556885,
-0.19459129869937897,
0.4422995150089264,
0.30326786637306213,
-0.17494113743305206,
0.07026631385087967,
0.13494710624217987,
-0.19022123515605927,
-0.21425341069698334,
0.057089440524578094,
0.0328282006084919,
0.16930006444454193,
-0.23540107905864716,
-0.33416321873664856,
0.17253939807415009,
0.07725539058446884,
0.595544159412384,
-0.20487740635871887,
0.0061347223818302155,
-0.22872628271579742,
0.017348047345876694,
0.206151083111763,
0.2898860275745392,
-0.2459368258714676,
0.1247582659125328,
0.13471318781375885,
0.3820037543773651,
-0.1349067986011505,
-0.11989445239305496,
-0.082163505256176,
0.002130295382812619,
-0.34520223736763,
-0.34078359603881836,
0.19768083095550537,
-0.11503735184669495,
-0.33292365074157715,
0.09179803729057312,
-0.23689566552639008,
-0.022723356261849403,
0.08989627659320831,
0.2984761595726013,
-0.4994905889034271,
-0.2512393295764923,
0.05761783570051193,
-0.17962482571601868,
-0.29186275601387024,
0.330254465341568,
0.03613106906414032,
-0.5448489189147949,
-0.07784397155046463,
0.37363407015800476,
0.3602995276451111,
0.34969839453697205,
0.12379948049783707,
-0.050063200294971466,
-0.08679065108299255,
-0.3264317810535431,
0.180147185921669,
-0.4874100983142853,
0.019855279475450516,
0.15202085673809052,
-0.05633310601115227,
-0.11887891590595245,
0.0048144483007490635,
0.018651047721505165,
-0.23425035178661346,
0.6001555323600769,
-0.20111984014511108,
-0.2790076434612274,
-0.09272918105125427,
-0.08599469810724258,
0.0145783182233572,
0.2944093346595764,
0.3819890320301056,
-0.07693532854318619,
-0.27340954542160034,
0.30770155787467957,
-0.28193312883377075,
0.3402877151966095,
-0.12012380361557007,
0.19735990464687347,
-0.1631111353635788,
-0.0544109046459198,
-0.09365525841712952,
0.08719642460346222,
0.1969878077507019,
0.2647089958190918,
-0.07031840085983276,
-0.22481480240821838,
-0.05554677173495293,
0.15661011636257172,
0.0011508050374686718,
0.13341179490089417,
-0.2993565797805786,
-0.08966691792011261,
0.09871340543031693,
-0.18325750529766083,
0.14419418573379517,
-0.16583167016506195,
0.18171390891075134,
-0.05076879635453224,
-0.286710649728775,
-0.009659440256655216,
0.16973185539245605,
-0.15868839621543884,
-0.1601485311985016,
0.3902052044868469,
0.12444654852151871,
0.25721484422683716,
-0.18883316218852997,
-0.15114456415176392,
-0.4423001706600189,
0.05011100322008133,
0.08337455987930298,
-0.06577032059431076,
0.16481103003025055,
0.13095258176326752,
-0.3424825370311737,
0.04700994864106178,
0.2161823958158493,
0.3447577953338623,
-0.3605044186115265,
-0.297321081161499,
-0.31675705313682556,
0.13498713076114655,
-0.24027934670448303,
-0.4959188997745514,
0.3653346002101898,
0.02293706312775612,
-0.14228349924087524,
0.15553756058216095,
0.35994213819503784,
-0.3576846718788147,
-0.008019263856112957,
-0.10600351542234421,
0.6999675035476685,
-0.3942878842353821,
0.22644492983818054,
0.18565718829631805,
-0.24358348548412323,
-0.23956938087940216,
0.1625291258096695,
0.15687362849712372,
0.1077076718211174,
0.13652992248535156,
0.14037036895751953,
0.19751647114753723,
-0.028368888422846794,
-0.022169338539242744,
0.4178743362426758,
-0.181789830327034,
0.7519590854644775,
0.4424467980861664,
-0.03077855333685875,
0.2606287896633148,
0.40419355034828186,
-0.1422683745622635,
-0.14190822839736938,
-0.21617276966571808,
-0.379558265209198,
0.3629857003688812,
-0.2900504171848297,
-0.014579718932509422,
-0.09258396178483963,
-0.10023769736289978,
0.1920473575592041,
0.3459123969078064,
-0.01180303655564785,
0.03700286149978638,
0.4131362736225128,
0.15367132425308228,
-0.24897202849388123,
-0.5125787854194641,
0.3363230228424072,
-0.33036139607429504,
0.29230421781539917,
-0.40099677443504333,
0.06024879589676857,
0.08622150868177414,
-0.10403332859277725,
0.041675716638565063,
0.19909559190273285,
0.2763172388076782,
0.09480434656143188,
-0.007471990305930376,
0.1801673024892807,
-0.2811059355735779,
-0.05448893830180168,
0.08672147989273071,
0.08317403495311737,
-0.14208899438381195,
-0.36267703771591187,
0.18027468025684357,
0.04745260626077652,
0.06002194061875343,
-0.19081249833106995,
0.5934582352638245,
0.09974229335784912,
0.029736073687672615,
0.2293604463338852,
0.17298510670661926,
-0.15887929499149323,
0.14030559360980988,
0.16619853675365448,
-0.20623978972434998,
-0.3719596862792969,
0.4716150164604187,
0.13924860954284668,
0.2531032860279083,
-0.04886246845126152,
0.11163788288831711,
0.0022114142775535583,
0.5143998861312866,
0.014408549293875694,
-0.3647165298461914,
-0.16576895117759705,
-0.06493675708770752,
-0.17733855545520782,
0.12944746017456055,
-0.23140263557434082,
0.27027738094329834,
0.21816901862621307,
0.1608424037694931,
-0.04471152275800705,
0.06024632602930069,
0.08025138080120087,
-0.12262963503599167,
-0.2659403383731842,
0.02753773145377636,
-0.39321956038475037,
0.1051073744893074,
-0.04939497634768486,
-0.1722889095544815,
0.014040334150195122,
-0.10841882228851318,
0.6255810260772705,
-0.008962047286331654,
-0.042981863021850586,
-0.1360015869140625,
-0.09318219870328903,
-0.05058926343917847,
0.04106367006897926,
0.5731682181358337,
0.39529699087142944,
0.14022915065288544,
-0.19461624324321747,
-0.14874549210071564,
0.07404317706823349,
0.0988873541355133,
-0.1760595589876175,
0.37268704175949097,
0.24695563316345215,
-0.13552315533161163,
0.020072948187589645,
-0.24884815514087677,
-0.09504450857639313,
0.04444076493382454,
0.01667710766196251,
-0.12456681579351425,
-0.41535684466362,
-0.1074526309967041,
-0.04596230015158653,
0.1718655228614807,
-0.21515986323356628,
0.15354157984256744,
0.09296301007270813,
0.13795708119869232,
-0.00882447138428688,
-0.32025256752967834,
0.4107362926006317,
-0.10498876869678497,
-0.17414407432079315,
-0.1306244432926178,
0.5648161172866821,
-0.5690389275550842,
0.3015936613082886,
-0.5685530304908752,
-0.046622660011053085,
0.389292448759079,
-0.21565893292427063,
-0.38723790645599365,
0.22500942647457123,
-0.25005632638931274,
-0.08173787593841553,
-0.15711666643619537,
-0.09516094624996185,
0.18954676389694214,
-0.20680692791938782,
0.10895130038261414,
-0.12320318073034286
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
Hi !
Can you share more information about the features of your dataset ? You can get them by printing `my_dataset.features`
Can you also share the code of your `map` function ?
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 32
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
Hi !
Can you share more information about the features of your dataset ? You can get them by printing `my_dataset.features`
Can you also share the code of your `map` function ?
|
[
-0.3500205874443054,
-0.19821414351463318,
-0.054451506584882736,
0.27007293701171875,
0.32467135787010193,
0.05014684796333313,
0.42782488465309143,
0.19639818370342255,
0.7752036452293396,
-0.012891752645373344,
0.14788904786109924,
0.5318050384521484,
0.08684611320495605,
-0.08264320343732834,
0.1153065636754036,
0.09426981210708618,
0.35825955867767334,
0.2302626222372055,
0.4533495008945465,
-0.1887633353471756,
-0.27041980624198914,
-0.01620757207274437,
-0.13637197017669678,
0.05246158689260483,
-0.16783355176448822,
-0.13370877504348755,
-0.02351345121860504,
0.03526192530989647,
-0.13845598697662354,
-0.28633859753608704,
0.016208399087190628,
-0.05675195902585983,
0.276602178812027,
0.2574593722820282,
-0.00012687049456872046,
-0.25120705366134644,
0.03125866502523422,
0.17712794244289398,
-0.20249953866004944,
0.2449697107076645,
0.38638925552368164,
-0.4697508215904236,
0.21211811900138855,
-0.35348764061927795,
0.14570364356040955,
-0.3091152310371399,
-0.2663034200668335,
-0.28100061416625977,
-0.04313372075557709,
-0.1522447019815445,
0.04581174626946449,
0.443966805934906,
-0.2780002951622009,
0.07486026734113693,
-0.12939754128456116,
0.34574243426322937,
-0.1573248654603958,
0.04495992138981819,
0.540073573589325,
-0.07280604541301727,
-0.10513082891702652,
-0.08025898784399033,
-0.18709175288677216,
-0.10563018918037415,
0.37978678941726685,
0.07649384438991547,
0.27425745129585266,
0.10657040774822235,
0.08307871967554092,
0.12696407735347748,
0.5899764895439148,
-0.004145667422562838,
0.058561865240335464,
-0.25263455510139465,
-0.12502983212471008,
-0.29619118571281433,
0.38865193724632263,
0.005406027194112539,
-0.28819024562835693,
0.2031351923942566,
-0.07143780589103699,
-0.07310018688440323,
0.00885088462382555,
0.24375620484352112,
-0.18031799793243408,
-0.09903781116008759,
0.019583823159337044,
0.13288123905658722,
0.3168937861919403,
-0.16144637763500214,
0.023097876459360123,
-0.008252262137830257,
0.12345156073570251,
0.3986283242702484,
-0.4098909795284271,
-0.2113998979330063,
0.040018230676651,
0.08357527107000351,
-0.14352025091648102,
0.1120385006070137,
0.1514643132686615,
0.24894791841506958,
-0.1630486696958542,
0.0016309750499203801,
0.24220502376556396,
0.3972104787826538,
-0.1217978224158287,
0.13010497391223907,
0.0731816440820694,
-0.3419051766395569,
-0.0699738934636116,
-0.05604581907391548,
-0.22599221765995026,
-0.010650594718754292,
0.5112835764884949,
-0.47840338945388794,
-0.23394370079040527,
-0.14483389258384705,
-0.03338040038943291,
0.2067793905735016,
0.43175208568573,
-0.06417053192853928,
0.2521471381187439,
0.24105706810951233,
0.06419198215007782,
0.5306954383850098,
-0.11653441935777664,
0.01171805988997221,
-0.18960890173912048,
-0.16190358996391296,
-0.06514304876327515,
-0.30716100335121155,
-0.16844722628593445,
0.15985144674777985,
0.018116118386387825,
0.2619098722934723,
-0.1174444928765297,
0.17264123260974884,
-0.24809585511684418,
0.06744150817394257,
-0.10356410592794418,
-0.18663135170936584,
0.2897588312625885,
0.16197486221790314,
-0.08319620043039322,
0.22045545279979706,
0.16585198044776917,
-0.26048189401626587,
-0.4331319332122803,
0.3641846477985382,
-0.16852779686450958,
-0.38459450006484985,
-0.44577160477638245,
0.003988862037658691,
-0.22792111337184906,
-0.06108452379703522,
-0.38548120856285095,
-0.1208801120519638,
0.12009857594966888,
0.04422827437520027,
-0.03434732183814049,
-0.15244734287261963,
-0.14449164271354675,
-0.09936355799436569,
-0.03918587416410446,
0.12161078304052353,
-0.3704279065132141,
0.21216870844364166,
-0.23642784357070923,
0.2569216787815094,
0.3447548747062683,
0.6626866459846497,
-0.2571008503437042,
0.34253641963005066,
-0.2578444182872772,
0.31581154465675354,
0.5487085580825806,
-0.05780647322535515,
-0.38621318340301514,
0.733357846736908,
-0.10036994516849518,
-0.22489291429519653,
0.026534374803304672,
0.5490346550941467,
0.29243341088294983,
-0.08520612120628357,
0.10039447247982025,
0.6558299660682678,
0.15121181309223175,
0.2105395793914795,
-0.3910953402519226,
-0.027924126014113426,
0.09193011373281479,
0.4662359058856964,
-0.4127822518348694,
0.15882368385791779,
0.15381205081939697,
-0.044168662279844284,
0.15450391173362732,
0.0907558798789978,
-0.06596872955560684,
0.2432231307029724,
0.28316840529441833,
-0.03184879571199417,
0.01121748797595501,
0.2562735974788666,
-0.16813404858112335,
0.12455382943153381,
0.4642576575279236,
-0.22457586228847504,
0.04156806692481041,
-0.16816681623458862,
-0.34454840421676636,
0.31477054953575134,
-0.10547937452793121,
0.6033322215080261,
-0.18210704624652863,
0.0020357894245535135,
0.08046374469995499,
-0.14322638511657715,
-0.14951157569885254,
-0.11748743802309036,
-0.2531777620315552,
-0.11583193391561508,
-0.09024232625961304,
0.05184227228164673,
0.1564147025346756,
-0.015110953710973263,
-0.3498861491680145,
-0.06259649991989136,
0.057498153299093246,
0.04943707212805748,
-0.21099597215652466,
0.2840449810028076,
0.15213517844676971,
0.04790312051773071,
-0.04965275153517723,
0.1704576015472412,
0.13361357152462006,
0.002848090836778283,
0.3439745306968689,
-0.0021680560894310474,
0.20819447934627533,
-0.28900423645973206,
-0.12185444682836533,
0.4259040951728821,
-0.194290891289711,
0.20475983619689941,
-0.27101951837539673,
-0.07095323503017426,
0.42587050795555115,
0.12621548771858215,
0.15765036642551422,
-0.016416391357779503,
0.1865299493074417,
0.30950927734375,
0.2882075905799866,
0.27374371886253357,
-0.23974230885505676,
0.2617644965648651,
0.2991091310977936,
-0.345214307308197,
-0.061249468475580215,
0.19693739712238312,
0.036768265068531036,
-0.300702840089798,
0.006216586101800203,
-0.10396815091371536,
0.31005704402923584,
0.11593914777040482,
0.09584404528141022,
-0.3176049292087555,
-0.034781575202941895,
-0.14462614059448242,
0.08700644969940186,
-0.10017544776201248,
-0.0837552398443222,
0.1299339234828949,
-0.05377918481826782,
-0.13647115230560303,
-0.3259737193584442,
0.031815219670534134,
0.11181169748306274,
0.39601901173591614,
-0.3259373903274536,
0.1538783460855484,
-0.09075173735618591,
0.09902746975421906,
0.055990539491176605,
-0.2581121623516083,
0.1266690343618393,
-0.20272313058376312,
-0.22375896573066711,
0.23242950439453125,
-0.02616025321185589,
-0.14113034307956696,
-0.012471453286707401,
0.37623119354248047,
0.19173699617385864,
-0.4314819872379303,
-0.3557512164115906,
-0.2873740792274475,
-0.15344330668449402,
-0.14268407225608826,
0.44073718786239624,
0.16974647343158722,
0.2259090691804886,
-0.06290514767169952,
-0.16029998660087585,
-0.2504197657108307,
-0.14633949100971222,
-0.0980742871761322,
0.053878773003816605,
0.1577216535806656,
-0.18326705694198608,
0.3381580114364624,
-0.5823003649711609,
-0.03294019773602486,
0.26173120737075806,
-0.3245376944541931,
-0.24103909730911255,
0.3782646358013153,
-0.1310499608516693,
-0.3202223777770996,
0.01372073870152235,
0.11351444572210312,
-0.13313575088977814,
-0.23635156452655792,
0.2219310998916626,
0.036742035299539566,
0.14376193284988403,
-0.23374000191688538,
0.11274503916501999,
0.02598397061228752,
0.4734172224998474,
-0.24530327320098877,
-0.1945904791355133,
-0.2775591015815735,
0.6613599061965942,
0.002879394218325615,
-0.25967976450920105,
-0.0730995312333107,
0.11967577785253525,
-0.09988462179899216,
-0.024224087595939636,
-0.512188196182251,
0.23393623530864716,
-0.42046016454696655,
0.46940913796424866,
-0.2292626053094864,
0.06043167784810066,
0.13013872504234314,
-0.2692607343196869,
0.037708867341279984,
0.2235514223575592,
-0.10826300829648972,
0.20569753646850586,
0.1367427408695221,
0.08349300920963287,
0.08628875017166138,
0.6676977872848511,
-0.23784635961055756,
0.3274151086807251,
-0.2057068794965744,
-0.16079723834991455,
0.3523733913898468,
-0.013551624491810799,
0.19727537035942078,
-0.35785555839538574,
-0.17650513350963593,
-0.24382205307483673,
0.12171465158462524,
-0.3225127160549164,
0.19744041562080383,
-0.039084888994693756,
-0.35683584213256836,
0.023487377911806107,
-0.05291946977376938,
-0.05576418340206146,
-0.056558869779109955,
0.25412821769714355,
-0.002445447025820613,
0.08467879146337509,
-0.13588030636310577,
0.20293612778186798,
-0.38289421796798706,
-0.23283471167087555,
-0.0731368139386177,
0.0034170958679169416,
0.1737782508134842,
-0.24962136149406433,
-0.6529750823974609,
-0.004441723693162203,
-0.43162184953689575,
0.12334749847650528,
-0.1962357759475708,
0.44782865047454834,
0.01738577149808407,
-0.27790510654449463,
0.4295978546142578,
0.007991899736225605,
0.6057004332542419,
0.28461411595344543,
0.12633152306079865,
0.1792876273393631,
-0.17386437952518463,
-0.6647118330001831,
0.0659496858716011,
0.2427068054676056,
-0.030417518690228462,
0.3263402581214905,
0.7139405608177185,
-0.04325869679450989,
-0.13892261683940887,
-0.16244716942310333,
0.3244583010673523,
-0.21229563653469086,
-0.48731866478919983,
-0.11448407918214798,
-0.3401409387588501,
-0.09567194432020187,
0.16604335606098175,
0.17040608823299408,
0.47866594791412354,
0.4213179349899292,
-0.04928562045097351,
-0.2140694558620453,
-0.10681219398975372,
0.07438945025205612,
0.089778371155262,
0.3559323251247406,
-0.08360976725816727,
0.4325261414051056,
-0.3090116083621979,
0.16675150394439697,
-0.13158643245697021,
0.4047928750514984,
-0.1201711967587471,
-0.032873183488845825,
0.34738782048225403,
-0.20586419105529785,
0.02782633528113365,
0.3513393998146057,
0.20204325020313263,
0.04197685793042183,
-0.1166425570845604,
0.19260303676128387,
-0.22257745265960693,
-0.022443417459726334,
-0.19355253875255585,
-0.013262050226330757,
-0.01816156692802906,
-0.13265785574913025,
0.29762330651283264,
0.03679799661040306,
-0.03366916626691818,
0.2161799967288971,
-0.13917389512062073,
0.08047755807638168,
0.7127655744552612,
0.20998051762580872,
1.1476430892944336,
-0.47657865285873413,
-0.03675920143723488,
0.10554976016283035,
0.1875532567501068,
-0.09675359725952148,
-0.1556251049041748,
-0.35277605056762695,
-0.3770478367805481,
0.10472158342599869,
0.12526945769786835,
-0.22288286685943604,
-0.13517114520072937,
0.44464218616485596,
0.14574842154979706,
-0.1273881047964096,
-0.20854122936725616,
0.32458215951919556,
-0.33297616243362427,
0.47167515754699707,
0.030499476939439774,
-0.4644050896167755,
-0.5360877513885498,
-0.025649894028902054,
0.0021090263035148382,
-0.0625467449426651,
0.013471009209752083,
0.15044379234313965,
0.028022712096571922,
-0.16130127012729645,
-0.05559196695685387,
-0.16837991774082184,
0.13113027811050415,
0.15939515829086304,
0.21325866878032684,
-0.24297022819519043,
-0.06009216979146004,
0.4783615469932556,
0.39221441745758057,
-0.04883357137441635,
-0.028552914038300514,
0.17562253773212433,
0.10712260007858276,
0.1411292403936386,
0.08806117624044418,
-0.24716782569885254,
0.06472377479076385,
-0.12289061397314072,
0.0296004731208086,
-0.12666331231594086,
-0.1492755264043808,
-0.471504271030426,
-0.11046334356069565,
0.17280139029026031,
0.3435620963573456,
-0.16787861287593842,
-0.26201167702674866,
-0.2804320454597473,
0.1687622219324112,
-0.04698687791824341,
0.01083082053810358,
0.3402670621871948,
0.19190523028373718,
0.24742896854877472,
0.0004392982227727771,
-0.24706625938415527,
0.026229068636894226,
0.3180590569972992,
0.017531925812363625,
-0.25534868240356445,
0.27255845069885254,
0.03696446865797043,
-0.2449595034122467,
-0.20934349298477173,
0.36053887009620667,
0.29678502678871155,
-0.40772008895874023,
0.08610020577907562,
-0.042144592851400375,
0.0005220308667048812,
0.08121787756681442,
0.07930092513561249,
0.19449284672737122,
0.00048394332407042384,
-0.10940934717655182,
-0.23805637657642365,
-0.5587608814239502,
-0.05329247564077377,
0.17409062385559082,
0.09813681244850159,
0.19417814910411835,
-0.48320597410202026,
-0.23323769867420197,
0.08594679087400436,
-0.13559770584106445,
0.06227818876504898,
-0.05956726521253586,
0.1091921329498291,
0.040164586156606674,
-0.041579779237508774,
0.06777530908584595,
-0.1500794142484665,
0.04654397442936897,
-0.15257063508033752,
-0.010093485936522484,
-0.08015382289886475,
0.07200897485017776,
0.21140488982200623,
-0.01653336174786091,
-0.3091350793838501,
-0.20021291077136993,
-0.47526928782463074,
-0.18129318952560425,
-0.36019834876060486,
-0.1456630676984787,
0.056809380650520325,
-0.06762706488370895,
-0.34854990243911743,
0.3751351833343506,
0.11532938480377197,
-0.037848927080631256,
0.37070709466934204,
-0.05081019923090935,
0.4025701880455017,
-0.05549146607518196,
0.11913250386714935,
0.2175973504781723,
-0.19414068758487701,
-0.30111363530158997,
0.1783861368894577,
0.36504000425338745,
-0.15309225022792816,
0.3515729010105133,
-0.21737895905971527,
0.03927741199731827,
0.2798116207122803,
-0.03593902289867401,
0.11384617537260056,
-0.17386598885059357,
-0.2687503695487976,
0.2702849805355072,
0.05839141085743904,
-0.013030231930315495,
-0.2406967282295227,
0.00544794462621212,
-0.09607618302106857,
-0.22358933091163635,
0.28462541103363037,
0.4409002363681793,
-0.17945465445518494,
-0.123897485435009,
0.05017942190170288,
0.5539261698722839,
0.03413214161992073,
-0.4526456892490387,
0.5829259753227234,
-0.08260474354028702,
0.0033456396777182817,
0.17829754948616028,
0.2141115665435791,
-0.0035190756898373365,
0.5654754638671875,
-0.20794379711151123,
0.09839748591184616,
0.3606007397174835,
0.5861614346504211,
-0.38806599378585815,
-0.3600410223007202,
0.33705273270606995,
0.29442059993743896,
-0.24778421223163605,
-0.17212456464767456,
0.17444166541099548,
0.2293727993965149,
-0.17460478842258453,
-0.11719592660665512,
-0.21015256643295288,
0.2908446192741394,
-0.268051415681839,
0.050582077354192734,
-0.39626601338386536,
-0.003801205428317189,
-0.026349730789661407,
0.17091381549835205,
-0.27335405349731445,
0.005704247392714024,
-0.28574463725090027,
0.33777350187301636,
0.04373360797762871,
0.0874253585934639,
0.06786756962537766,
0.051694244146347046,
-0.026132816448807716,
-0.41818833351135254,
0.02407854236662388,
-0.3533771336078644,
-0.02662719413638115,
0.24782827496528625,
-0.27461037039756775,
0.3719305992126465,
0.5034908056259155,
-0.0068527632392942905,
0.05532451719045639,
-0.013331142254173756,
-0.06888440996408463,
0.02269252948462963,
0.13873104751110077,
-0.1509939581155777,
0.2419552206993103,
0.17698034644126892,
-0.10345771163702011,
-0.04398343712091446,
-0.41773882508277893,
-0.15736828744411469,
0.41496366262435913,
0.0925489217042923,
0.30434080958366394,
0.08825191110372543,
-0.31740236282348633,
-0.271719753742218,
0.0808454379439354,
-0.03302938863635063,
-0.145040363073349,
0.30158740282058716,
0.03791346028447151,
0.16235820949077606,
-0.056728482246398926,
-0.03640839830040932,
-0.37257516384124756,
0.564923107624054,
0.3192870020866394,
-0.39516642689704895,
-0.1880403459072113,
-0.3771694600582123,
-0.664729654788971,
0.08342141658067703,
0.05583168938755989,
-0.05272264778614044,
0.40768083930015564,
0.19828975200653076,
0.46166542172431946,
0.06102222204208374,
-0.1537916511297226,
0.07701599597930908,
-0.15672525763511658,
0.3889112174510956,
-0.0518685057759285,
0.05341999605298042,
0.03398996591567993,
0.22813956439495087,
-0.22263634204864502,
-0.4697469174861908,
0.4194076657295227,
0.21801422536373138,
-0.08978984504938126,
-0.13300754129886627,
0.059248246252536774,
-0.34146806597709656,
0.42561742663383484,
0.38614708185195923,
0.02569698914885521,
0.09220398962497711,
0.31250810623168945,
0.0879877582192421,
0.3015064597129822,
-0.02704152651131153,
0.06978192180395126,
0.24206876754760742,
-0.05613337457180023,
-0.03937586396932602,
-0.04046385735273361,
0.4130629003047943,
-0.17332297563552856,
-0.04441440477967262,
-0.2778548002243042,
-0.1421043425798416,
-0.1402694284915924,
-0.025870442390441895,
-0.21829625964164734,
0.2299896776676178,
0.26769933104515076,
-0.023984970524907112,
0.2052934318780899,
0.20322637259960175,
-0.24721801280975342,
-0.0509747676551342,
0.21245862543582916,
-0.008320901542901993,
-0.15520989894866943,
0.022493187338113785,
0.12438111752271652,
0.21345579624176025,
0.186595156788826,
-0.30397242307662964,
-0.17450006306171417,
0.23322418332099915,
-0.17034965753555298,
-0.09615189582109451,
0.38763493299484253,
-0.23462145030498505,
0.18991605937480927,
-0.17160210013389587,
0.242743119597435,
-0.07725536078214645,
-0.06954031437635422,
-0.4443519115447998,
-0.27115917205810547
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
It is actually just the tokenized `wikipedia` dataset with `input_ids`, `attention_mask`, etc, with one extra column which is a list of integers. The `text` column is removed during tokenization.
```
def add_len_and_seq(example):
end_idx = example['input_ids'].index(SEP)
example['actual_len'] = end_idx-1
seq_len = len(example['input_ids'])
example['seq'] = [PAD_ID] + [np.uint8(example['some_integer'])]*(end_idx-1) + [PAD_ID]*(seq_len-end_idx)
return example
```
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 51
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
It is actually just the tokenized `wikipedia` dataset with `input_ids`, `attention_mask`, etc, with one extra column which is a list of integers. The `text` column is removed during tokenization.
```
def add_len_and_seq(example):
end_idx = example['input_ids'].index(SEP)
example['actual_len'] = end_idx-1
seq_len = len(example['input_ids'])
example['seq'] = [PAD_ID] + [np.uint8(example['some_integer'])]*(end_idx-1) + [PAD_ID]*(seq_len-end_idx)
return example
```
|
[
-0.2723701596260071,
-0.1468658447265625,
-0.03886261209845543,
0.18744096159934998,
0.40003761649131775,
0.045344360172748566,
0.4641445279121399,
0.22945696115493774,
0.6530976891517639,
-0.039412971585989,
0.20311172306537628,
0.5122702121734619,
-0.024183489382267,
-0.1652987152338028,
0.1699286699295044,
0.1053495854139328,
0.34358182549476624,
0.18282075226306915,
0.5284669399261475,
-0.22277258336544037,
-0.208847314119339,
-0.0600210577249527,
-0.06578516960144043,
-0.027684666216373444,
-0.22054842114448547,
-0.04520748555660248,
-0.03130132704973221,
0.02276553399860859,
-0.13431577384471893,
-0.31946563720703125,
0.09288341552019119,
0.019302917644381523,
0.22875560820102692,
0.27818116545677185,
-0.00012817526294384152,
-0.17220330238342285,
0.0046072108671069145,
0.1535203605890274,
-0.14309698343276978,
0.26439720392227173,
0.4690793752670288,
-0.5940462350845337,
0.23838794231414795,
-0.3503435254096985,
0.06183747947216034,
-0.2827267646789551,
-0.3401736319065094,
-0.2147909700870514,
-0.0075523871928453445,
-0.11950131505727768,
0.015857866033911705,
0.36168769001960754,
-0.33374926447868347,
0.1539894938468933,
-0.0743316113948822,
0.19390051066875458,
-0.14342042803764343,
0.12581242620944977,
0.47293367981910706,
-0.19272147119045258,
0.002968269633129239,
0.022615183144807816,
-0.25099360942840576,
-0.09650266915559769,
0.38576337695121765,
0.07410294562578201,
0.19517752528190613,
0.04834074154496193,
0.05060930177569389,
0.14773140847682953,
0.5389363765716553,
-0.0009458684944547713,
-0.057760242372751236,
-0.32108792662620544,
-0.05546466261148453,
-0.3969581127166748,
0.3212765157222748,
0.030140262097120285,
-0.27679553627967834,
0.0759604349732399,
-0.10861026495695114,
-0.07882586866617203,
0.0298108272254467,
0.2188183218240738,
-0.21573379635810852,
0.04223166033625603,
0.08669459819793701,
0.19333288073539734,
0.318870484828949,
-0.10838165134191513,
-0.09875135123729706,
-0.008489740081131458,
0.19528864324092865,
0.43588539958000183,
-0.32837381958961487,
-0.24876806139945984,
0.032680291682481766,
-0.0019626005087047815,
-0.1444239765405655,
0.1964232623577118,
0.08892025798559189,
0.21061952412128448,
-0.10545836389064789,
0.005110936239361763,
0.23942779004573822,
0.4608980417251587,
-0.2296866774559021,
0.12118800729513168,
0.07784107327461243,
-0.3174985647201538,
-0.17822164297103882,
-0.0916159600019455,
-0.20832286775112152,
0.03591029718518257,
0.49787724018096924,
-0.5051923394203186,
-0.24282436072826385,
-0.11873230338096619,
-0.04305853322148323,
0.23675648868083954,
0.31780317425727844,
0.003801231738179922,
0.2405846267938614,
0.2986125946044922,
0.030291706323623657,
0.5268781185150146,
-0.07908295094966888,
0.1430351585149765,
-0.2173658311367035,
-0.023491622880101204,
-0.07065938413143158,
-0.2602773904800415,
-0.10747620463371277,
0.10863929986953735,
-0.02891891822218895,
0.3335447907447815,
-0.07398481667041779,
0.1510802060365677,
-0.1349659264087677,
0.009154438972473145,
-0.06717035919427872,
-0.1628105193376541,
0.23055046796798706,
0.20776896178722382,
-0.1655423790216446,
0.26592379808425903,
0.2583850026130676,
-0.33319926261901855,
-0.4613668918609619,
0.28536418080329895,
-0.17054055631160736,
-0.413783460855484,
-0.3964420557022095,
-0.006731708068400621,
-0.2626555562019348,
-0.0938730537891388,
-0.44854041934013367,
-0.04024216905236244,
0.17924249172210693,
0.043229423463344574,
-0.04301057755947113,
-0.21621793508529663,
-0.14515602588653564,
-0.1301589161157608,
0.05793100968003273,
0.07286403328180313,
-0.2945593297481537,
0.11277743428945541,
-0.2678591012954712,
0.355718731880188,
0.37708765268325806,
0.718087375164032,
-0.29196077585220337,
0.42021116614341736,
-0.217219740152359,
0.29973942041397095,
0.5369121432304382,
-0.1884538233280182,
-0.40423324704170227,
0.6187264323234558,
-0.1343868523836136,
0.04453478008508682,
0.03612498939037323,
0.49751174449920654,
0.2584005296230316,
-0.03947598859667778,
0.18378719687461853,
0.6960247755050659,
0.10998775064945221,
0.22766141593456268,
-0.40643230080604553,
-0.026787716895341873,
0.21991781890392303,
0.3522609770298004,
-0.3312681019306183,
0.151437446475029,
0.06536360830068588,
0.09053448587656021,
0.20923088490962982,
0.06162279471755028,
-0.10179403424263,
0.2813982665538788,
0.25829532742500305,
0.16434824466705322,
0.04343323037028313,
0.272075355052948,
-0.14407628774642944,
0.20028138160705566,
0.5107866525650024,
-0.07632137835025787,
-0.050087206065654755,
-0.24803754687309265,
-0.3892804980278015,
0.2931806147098541,
-0.14433401823043823,
0.32949110865592957,
-0.19607725739479065,
0.04049530252814293,
0.1306801438331604,
0.019619068130850792,
-0.10775234550237656,
-0.27304479479789734,
-0.25391533970832825,
-0.03182124346494675,
-0.014376151375472546,
0.04970802739262581,
0.1867186725139618,
-0.00479604909196496,
-0.4482596516609192,
0.11684869229793549,
0.056430090218782425,
0.03135962039232254,
-0.22208628058433533,
0.26881441473960876,
0.20777885615825653,
0.06802362948656082,
-0.049534380435943604,
0.20587627589702606,
0.10934890806674957,
0.03370971232652664,
0.2628691792488098,
0.07125986367464066,
0.1975323110818863,
-0.2217782884836197,
-0.1914292275905609,
0.5089945197105408,
-0.08551085740327835,
0.24813982844352722,
-0.2729075253009796,
-0.039667803794145584,
0.4773673117160797,
0.12427730858325958,
0.09854971617460251,
-0.02501300908625126,
0.20527797937393188,
0.27789556980133057,
0.2757311761379242,
0.11171972751617432,
-0.1666746735572815,
0.2718934714794159,
0.2947530448436737,
-0.2841123640537262,
-0.030434876680374146,
0.2060735672712326,
0.027487315237522125,
-0.31055161356925964,
-0.011695251800119877,
-0.1333330273628235,
0.25178205966949463,
0.11762718111276627,
0.10770169645547867,
-0.3004758059978485,
-0.06173574551939964,
-0.09899722784757614,
0.17740751802921295,
-0.08651953935623169,
-0.10136173665523529,
0.13030269742012024,
0.019488364458084106,
-0.08265213668346405,
-0.3771760165691376,
-0.052545011043548584,
0.06866268813610077,
0.4366832375526428,
-0.22056174278259277,
0.2747829854488373,
-0.05718233808875084,
0.19979922473430634,
-0.016439585015177727,
-0.301741361618042,
0.025130514055490494,
-0.31573042273521423,
-0.20386990904808044,
0.29086658358573914,
-0.044721078127622604,
-0.1348041594028473,
-0.0688580870628357,
0.2550400197505951,
0.2128172367811203,
-0.4541468322277069,
-0.27949610352516174,
-0.3061744272708893,
-0.11136326938867569,
-0.19728592038154602,
0.36977559328079224,
0.04897793009877205,
0.30081337690353394,
-0.013799646869301796,
-0.19552910327911377,
-0.22446726262569427,
-0.34116098284721375,
-0.10979411751031876,
-0.0475991852581501,
0.21397045254707336,
-0.18613462150096893,
0.3008182644844055,
-0.5481996536254883,
-0.06547058373689651,
0.3417081832885742,
-0.2881563901901245,
-0.17169521749019623,
0.3768145740032196,
-0.006421038880944252,
-0.16055631637573242,
0.10094424337148666,
0.10476592928171158,
-0.12692824006080627,
-0.18982185423374176,
0.251232773065567,
0.07065029442310333,
0.1390320062637329,
-0.2185506820678711,
0.06980268657207489,
0.021884623914957047,
0.4788022041320801,
-0.2052251547574997,
-0.19838747382164001,
-0.19576801359653473,
0.562879204750061,
0.044966768473386765,
-0.1830824464559555,
-0.11863889545202255,
0.03673950210213661,
-0.09357091784477234,
0.015528089366853237,
-0.5713308453559875,
0.16041888296604156,
-0.38069936633110046,
0.431745320558548,
-0.1833307445049286,
0.0472303181886673,
0.16627176105976105,
-0.2633867561817169,
0.04827575385570526,
0.18916110694408417,
0.020515985786914825,
0.10944607853889465,
0.07157186418771744,
0.030270136892795563,
-0.0074160960502922535,
0.7050043940544128,
-0.19107861816883087,
0.5004671216011047,
-0.2420644313097,
-0.049150917679071426,
0.3664197623729706,
-0.11206988245248795,
0.2564031481742859,
-0.34371325373649597,
-0.2357255220413208,
-0.2404973953962326,
0.09934066981077194,
-0.36503541469573975,
0.1803106963634491,
-0.010527697391808033,
-0.3311651051044464,
0.08198122680187225,
-0.0493076890707016,
-0.019012445583939552,
-0.15054456889629364,
0.3478381335735321,
-0.15159617364406586,
0.03684364631772041,
-0.11030642688274384,
0.2615596354007721,
-0.4225662052631378,
-0.24230998754501343,
-0.11795877665281296,
0.020795002579689026,
0.12375302612781525,
-0.23843041062355042,
-0.712393581867218,
-0.12284167110919952,
-0.5423582196235657,
0.12104062736034393,
-0.12562960386276245,
0.4711712598800659,
0.08129595965147018,
-0.30766603350639343,
0.43024176359176636,
-0.028957391157746315,
0.650766134262085,
0.12013136595487595,
0.09623356908559799,
0.19613437354564667,
-0.2613877058029175,
-0.7808231711387634,
0.02586890012025833,
0.1718290150165558,
0.03336711972951889,
0.34046879410743713,
0.758291482925415,
-0.07947416603565216,
-0.13212423026561737,
-0.19429060816764832,
0.4059045612812042,
-0.23309749364852905,
-0.2866651713848114,
-0.25198811292648315,
-0.3326842784881592,
-0.24242068827152252,
0.21683211624622345,
0.1198679655790329,
0.5127631425857544,
0.3655092716217041,
-0.05413166433572769,
-0.2658088505268097,
-0.07860464602708817,
0.11192271113395691,
0.1096714586019516,
0.3797813355922699,
-0.08637255430221558,
0.3377002775669098,
-0.2857832610607147,
0.06293044239282608,
-0.18406979739665985,
0.42624205350875854,
-0.18518953025341034,
-0.08629333972930908,
0.2065565586090088,
-0.09059881418943405,
0.07268255949020386,
0.4006847143173218,
0.2137315720319748,
0.08087362349033356,
-0.17397625744342804,
0.28016284108161926,
-0.35010161995887756,
0.08600424230098724,
-0.020465504378080368,
0.029996059834957123,
-0.034199900925159454,
-0.2859363257884979,
0.32740116119384766,
0.01670815981924534,
-0.06746547669172287,
0.2595987915992737,
-0.09517873078584671,
0.007013530470430851,
0.7409741282463074,
0.20203928649425507,
1.2241342067718506,
-0.43617597222328186,
0.10460224002599716,
0.15660393238067627,
0.2955695390701294,
0.04884655773639679,
-0.253730446100235,
-0.23290057480335236,
-0.35731402039527893,
0.13859941065311432,
0.13614290952682495,
-0.18217803537845612,
-0.18076173961162567,
0.36628028750419617,
0.11059321463108063,
-0.09532610327005386,
-0.3047891855239868,
0.3298872113227844,
-0.37554115056991577,
0.45099249482154846,
-0.03897571563720703,
-0.39508360624313354,
-0.548808753490448,
-0.04587535932660103,
0.09278573095798492,
0.016734009608626366,
-0.04190521687269211,
0.20789052546024323,
-0.01973370648920536,
-0.24736079573631287,
-0.15608607232570648,
-0.12239062786102295,
0.18826943635940552,
0.3284372389316559,
0.07796682417392731,
-0.335236519575119,
-0.20271830260753632,
0.45686012506484985,
0.3226779103279114,
0.017520420253276825,
-0.04675685614347458,
0.21618886291980743,
0.035756416618824005,
0.07851302623748779,
0.16229958832263947,
-0.2645242214202881,
0.11431854963302612,
-0.07481273263692856,
0.03757171332836151,
-0.1490100473165512,
-0.2162971943616867,
-0.5926701426506042,
-0.08498375117778778,
0.18309429287910461,
0.3696850538253784,
-0.21036319434642792,
-0.24647276103496552,
-0.18207840621471405,
0.18991737067699432,
-0.15196090936660767,
-0.026323311030864716,
0.24441464245319366,
0.13268780708312988,
0.23227308690547943,
-0.035507697612047195,
-0.29757705330848694,
0.05613980442285538,
0.36130133271217346,
0.12190347164869308,
-0.17635051906108856,
0.39436185359954834,
-0.045882392674684525,
-0.2334231436252594,
-0.22979551553726196,
0.2831096351146698,
0.32575419545173645,
-0.36785683035850525,
0.20204420387744904,
-0.05971091240644455,
-0.02615443989634514,
0.06124243885278702,
0.11170120537281036,
0.12266852706670761,
-0.052674710750579834,
-0.20482292771339417,
-0.29200026392936707,
-0.5180855989456177,
-0.014269822277128696,
0.22126586735248566,
0.18057624995708466,
0.1349378526210785,
-0.3628821074962616,
-0.2561192810535431,
0.11215465515851974,
-0.1135135143995285,
0.030167678371071815,
-0.10332511365413666,
0.1016063541173935,
0.08811113983392715,
-0.07948953658342361,
0.18998630344867706,
-0.12109538167715073,
0.024797473102808,
-0.16552679240703583,
0.0063723125495016575,
-0.06267447769641876,
-0.0018175768200308084,
0.23469600081443787,
-0.03139924630522728,
-0.27695098519325256,
-0.14272023737430573,
-0.38407623767852783,
-0.11960384994745255,
-0.44055798649787903,
-0.04668779298663139,
0.030899979174137115,
-0.05300084501504898,
-0.40756791830062866,
0.36228105425834656,
0.19740843772888184,
-0.027323663234710693,
0.2847127914428711,
-0.16923768818378448,
0.3989350497722626,
0.02055242471396923,
0.015639640390872955,
0.2750973701477051,
-0.15610672533512115,
-0.3168000280857086,
0.187391459941864,
0.4050491750240326,
-0.12893515825271606,
0.3607328534126282,
-0.1552075445652008,
0.06984709948301315,
0.2845451235771179,
0.012451168149709702,
0.21205459535121918,
-0.1705857813358307,
-0.3054560124874115,
0.34905487298965454,
0.03465208411216736,
-0.018131308257579803,
-0.30507105588912964,
-0.04511312022805214,
-0.15146800875663757,
-0.2121548354625702,
0.386955589056015,
0.43608781695365906,
-0.10362134873867035,
-0.2026679515838623,
0.01858067512512207,
0.563800573348999,
0.07442355901002884,
-0.3574279248714447,
0.5144116878509521,
-0.1318359524011612,
-0.04457113891839981,
0.13616681098937988,
0.15907876193523407,
0.08558274060487747,
0.5236275792121887,
-0.14408263564109802,
0.13838645815849304,
0.2728668749332428,
0.45841291546821594,
-0.41383621096611023,
-0.34180861711502075,
0.37595197558403015,
0.30291661620140076,
-0.17235156893730164,
-0.05995405092835426,
0.10500450432300568,
0.2829163074493408,
-0.2486308217048645,
-0.08711959421634674,
-0.21645556390285492,
0.4080298840999603,
-0.27871984243392944,
-0.004971600137650967,
-0.21018020808696747,
-0.008012808859348297,
0.009144405834376812,
0.19795995950698853,
-0.22256705164909363,
-0.010946853086352348,
-0.35670867562294006,
0.2962251305580139,
0.03816509619355202,
0.0487784706056118,
0.10872238129377365,
0.042662523686885834,
0.10824169218540192,
-0.43548235297203064,
-0.035779278725385666,
-0.2812226414680481,
-0.005410668905824423,
0.22186042368412018,
-0.24682216346263885,
0.4374469816684723,
0.4777424931526184,
-0.0077332924120128155,
0.0011962085263803601,
-0.006876618135720491,
-0.016529275104403496,
-0.06083383038640022,
0.17327870428562164,
-0.1783568561077118,
0.2844754755496979,
0.1485011726617813,
-0.12417389452457428,
-0.07217854261398315,
-0.45271775126457214,
-0.11139478534460068,
0.36792248487472534,
0.12524637579917908,
0.3018086850643158,
0.12301063537597656,
-0.24241520464420319,
-0.3305615484714508,
0.1317325383424759,
-0.046197813004255295,
-0.15222278237342834,
0.15015628933906555,
0.09004228562116623,
0.17354999482631683,
-0.04381083324551582,
-0.041920360177755356,
-0.2884950339794159,
0.545147180557251,
0.2815950810909271,
-0.37236568331718445,
-0.20561625063419342,
-0.37825560569763184,
-0.6515109539031982,
0.07166615128517151,
-0.10745808482170105,
-0.17140182852745056,
0.36804381012916565,
0.2453303039073944,
0.4008655250072479,
0.04305091127753258,
-0.14155742526054382,
0.02699034847319126,
-0.18252818286418915,
0.3073927164077759,
-0.05302250385284424,
0.11375950276851654,
0.018963651731610298,
0.18044129014015198,
-0.17745625972747803,
-0.5137276649475098,
0.3781638741493225,
0.20775316655635834,
-0.11003974080085754,
-0.05397413298487663,
0.01882382668554783,
-0.41609638929367065,
0.3677487075328827,
0.46635276079177856,
0.06756199896335602,
0.17664355039596558,
0.26040154695510864,
0.02366849221289158,
0.2030634880065918,
-0.07681670039892197,
-0.039201997220516205,
0.2884310483932495,
-0.11659107357263565,
0.028764847666025162,
-0.08110583573579788,
0.3949272036552429,
-0.19590985774993896,
0.08130424469709396,
-0.17033299803733826,
-0.266262412071228,
-0.13608935475349426,
-0.03538275137543678,
-0.18960964679718018,
0.33248645067214966,
0.16491176187992096,
0.11203515529632568,
0.20560884475708008,
0.2885063588619232,
-0.26440325379371643,
-0.15474511682987213,
0.3250332474708557,
-0.0914277583360672,
-0.1928684562444687,
-0.01041771937161684,
0.13008923828601837,
0.19259047508239746,
0.17209167778491974,
-0.3801365792751312,
-0.17498084902763367,
0.23548553884029388,
-0.060932643711566925,
-0.22688186168670654,
0.3500663936138153,
-0.21221984922885895,
0.07296915352344513,
-0.12630553543567657,
0.22088272869586945,
-0.14114439487457275,
-0.06373706459999084,
-0.3829975724220276,
-0.2339344024658203
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
Is `PAD_ID` a python integer ? You need all the integers in `example['seq']` to have the same type.
Does this work if you remove the `np.uint8` and use python integers instead ?
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 32
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
Is `PAD_ID` a python integer ? You need all the integers in `example['seq']` to have the same type.
Does this work if you remove the `np.uint8` and use python integers instead ?
|
[
-0.29434043169021606,
-0.22487910091876984,
-0.05711609125137329,
0.3033539950847626,
0.31564861536026,
0.04970037564635277,
0.44357743859291077,
0.24287566542625427,
0.679973840713501,
-0.018700838088989258,
0.1529642939567566,
0.5113562941551208,
0.08853224664926529,
-0.1085033267736435,
0.13383619487285614,
0.09860999137163162,
0.3429256081581116,
0.2060771882534027,
0.4759644865989685,
-0.165824756026268,
-0.2517739236354828,
0.00012996660370845348,
-0.13068483769893646,
0.023482682183384895,
-0.15882740914821625,
-0.08299148827791214,
-0.0751805379986763,
0.03506844863295555,
-0.15235956013202667,
-0.31554093956947327,
0.021622175350785255,
-0.04483155533671379,
0.28849151730537415,
0.20515303313732147,
-0.00012642792717088014,
-0.2548460066318512,
0.02162805385887623,
0.11730524152517319,
-0.24758101999759674,
0.28746721148490906,
0.4266410171985626,
-0.45231643319129944,
0.2212565839290619,
-0.36896467208862305,
0.13737107813358307,
-0.33822154998779297,
-0.3590531647205353,
-0.20980480313301086,
-0.018681123852729797,
-0.14110296964645386,
0.04449920728802681,
0.4352433979511261,
-0.28191858530044556,
0.03457885980606079,
-0.05285327881574631,
0.2976844906806946,
-0.16378606855869293,
0.046638794243335724,
0.5985642671585083,
-0.072557233273983,
-0.10194417834281921,
-0.08175479620695114,
-0.21824531257152557,
-0.10184475779533386,
0.3846518099308014,
0.07481060922145844,
0.25707751512527466,
0.16277357935905457,
0.06621266156435013,
0.1427181363105774,
0.5887849926948547,
-0.03528109937906265,
-0.0009132255217991769,
-0.24474720656871796,
-0.09524695575237274,
-0.28908953070640564,
0.36738118529319763,
0.012819641269743443,
-0.287127822637558,
0.18507695198059082,
-0.06020057573914528,
-0.07239179313182831,
-0.05015381798148155,
0.23306941986083984,
-0.12945206463336945,
-0.07575179636478424,
0.04343501850962639,
0.11633554100990295,
0.3337875306606293,
-0.15129375457763672,
0.06170235946774483,
0.035188138484954834,
0.11665771156549454,
0.3841659724712372,
-0.40372970700263977,
-0.20786796510219574,
-0.0331372432410717,
0.005369619000703096,
-0.14482054114341736,
0.1278422623872757,
0.23209458589553833,
0.24858422577381134,
-0.044929131865501404,
0.019751310348510742,
0.23991812765598297,
0.36787012219429016,
-0.11983625590801239,
0.14694955945014954,
0.07684081792831421,
-0.30855581164360046,
-0.028876345604658127,
-0.04060924053192139,
-0.2590746283531189,
0.0038073742762207985,
0.4785643517971039,
-0.4682093858718872,
-0.27038174867630005,
-0.16323520243167877,
-0.05246601998806,
0.24297012388706207,
0.3954811096191406,
-0.04334842413663864,
0.24236492812633514,
0.275617778301239,
0.04624440148472786,
0.4945312738418579,
-0.049298256635665894,
0.03745753690600395,
-0.15819115936756134,
-0.11492157727479935,
-0.06040971726179123,
-0.2971877157688141,
-0.1712869554758072,
0.14898712933063507,
0.041864894330501556,
0.350881427526474,
-0.12050487101078033,
0.1890936940908432,
-0.23291483521461487,
0.057835616171360016,
-0.09104986488819122,
-0.13270337879657745,
0.2696322798728943,
0.1806911677122116,
-0.0991709902882576,
0.2365834265947342,
0.16987061500549316,
-0.20173870027065277,
-0.44312047958374023,
0.3833533823490143,
-0.19583237171173096,
-0.39322537183761597,
-0.4349845349788666,
0.021876053884625435,
-0.2119773030281067,
-0.07928848266601562,
-0.4514285624027252,
-0.17955835163593292,
0.1182691901922226,
0.05899671092629433,
-0.019751809537410736,
-0.13087403774261475,
-0.08217372000217438,
-0.09233757108449936,
-0.047402456402778625,
0.09292348474264145,
-0.3962208032608032,
0.16686296463012695,
-0.2080177217721939,
0.28909239172935486,
0.34770819544792175,
0.622901201248169,
-0.29964500665664673,
0.3621346950531006,
-0.2523352801799774,
0.29769954085350037,
0.5223922729492188,
-0.10041844844818115,
-0.36436617374420166,
0.718965470790863,
-0.04725033417344093,
-0.1865953952074051,
0.10760585963726044,
0.5277527570724487,
0.3615669906139374,
-0.08061740547418594,
0.13155578076839447,
0.6244176030158997,
0.16546659171581268,
0.2055850476026535,
-0.4061889946460724,
-0.06124400720000267,
0.09190481156110764,
0.4283313453197479,
-0.3837224543094635,
0.1274900585412979,
0.14019064605236053,
-0.0290596354752779,
0.16923442482948303,
0.044532034546136856,
-0.07563544809818268,
0.28142648935317993,
0.26641538739204407,
-0.054477885365486145,
0.06772548705339432,
0.22657471895217896,
-0.19433695077896118,
0.151139035820961,
0.39558643102645874,
-0.18466323614120483,
0.03564473241567612,
-0.20989295840263367,
-0.3576277494430542,
0.3173821270465851,
-0.0696604996919632,
0.5633524060249329,
-0.16803692281246185,
-0.01616966910660267,
0.1312580406665802,
-0.16439074277877808,
-0.15637004375457764,
-0.10882455110549927,
-0.2634981572628021,
-0.09427785128355026,
-0.09078149497509003,
0.06053946539759636,
0.17378352582454681,
-0.04629708454012871,
-0.32902270555496216,
-0.0069327447563409805,
0.04908332601189613,
0.05802202224731445,
-0.18748679757118225,
0.3025076687335968,
0.21102949976921082,
-0.00949863251298666,
-0.008442789316177368,
0.2171446979045868,
0.12391545623540878,
0.04576965048909187,
0.2926032245159149,
0.04716752842068672,
0.18857887387275696,
-0.2624531090259552,
-0.11582472920417786,
0.4826088547706604,
-0.21196918189525604,
0.26362472772598267,
-0.21078753471374512,
-0.057061582803726196,
0.402544230222702,
0.17076954245567322,
0.13185858726501465,
-0.0161361712962389,
0.18077215552330017,
0.3143535554409027,
0.27505800127983093,
0.252008855342865,
-0.22949060797691345,
0.2636433243751526,
0.2475575953722,
-0.32918843626976013,
-0.07217919081449509,
0.22151808440685272,
0.03273726627230644,
-0.29255411028862,
0.0452846959233284,
-0.07460221648216248,
0.33986809849739075,
0.14167730510234833,
0.03313188999891281,
-0.3377303183078766,
-0.08074897527694702,
-0.17996560037136078,
0.15856482088565826,
-0.09636174142360687,
-0.16647203266620636,
0.07935309410095215,
-0.10491470992565155,
-0.14056742191314697,
-0.3333320915699005,
0.043147895485162735,
0.1139281690120697,
0.43403252959251404,
-0.3360700309276581,
0.18197542428970337,
-0.1398000866174698,
0.10065434128046036,
0.021430518478155136,
-0.31200551986694336,
0.09835635870695114,
-0.20607662200927734,
-0.16013212502002716,
0.2585889995098114,
-0.056833140552043915,
-0.12737923860549927,
-0.045707184821367264,
0.4071206748485565,
0.2142859846353531,
-0.40445125102996826,
-0.38062992691993713,
-0.30443087220191956,
-0.1384851485490799,
-0.1443675309419632,
0.4448210299015045,
0.16310839354991913,
0.25518009066581726,
-0.05694443732500076,
-0.1024082824587822,
-0.26880937814712524,
-0.1337071806192398,
-0.10840345174074173,
0.027754563838243484,
0.13665549457073212,
-0.14019471406936646,
0.3482022285461426,
-0.5923088788986206,
-0.06825555115938187,
0.2889496088027954,
-0.3040880262851715,
-0.2487548440694809,
0.4316578805446625,
-0.08981727063655853,
-0.3463103771209717,
0.021281352266669273,
0.10752759128808975,
-0.10652666538953781,
-0.2346155345439911,
0.19809691607952118,
0.022373273968696594,
0.19706027209758759,
-0.29031065106391907,
0.12006491422653198,
0.04754387214779854,
0.4194030463695526,
-0.2496536374092102,
-0.16063620150089264,
-0.22981727123260498,
0.6143161654472351,
0.005238286219537258,
-0.2826807200908661,
-0.03528783097863197,
0.1667381078004837,
-0.0689898356795311,
-0.0044363499619066715,
-0.5236104726791382,
0.2110101282596588,
-0.3914635479450226,
0.3879408836364746,
-0.250788152217865,
0.12951864302158356,
0.10062485188245773,
-0.2705985903739929,
0.027951011434197426,
0.2041386067867279,
-0.04704400524497032,
0.20307430624961853,
0.05088861286640167,
0.08711791783571243,
0.014601875096559525,
0.5647196769714355,
-0.22764551639556885,
0.36799734830856323,
-0.24218669533729553,
-0.11333709210157394,
0.3385271430015564,
-0.04579067975282669,
0.21862336993217468,
-0.32330459356307983,
-0.1835280805826187,
-0.254811555147171,
0.11488382518291473,
-0.32813653349876404,
0.20523445308208466,
-0.047052446752786636,
-0.3221099078655243,
0.0186664629727602,
0.038008417934179306,
-0.020691070705652237,
-0.07537157833576202,
0.2960328757762909,
-0.018960578367114067,
0.01571735367178917,
-0.15643565356731415,
0.2078135460615158,
-0.3696019947528839,
-0.2330315113067627,
-0.08291806280612946,
-0.04952717199921608,
0.14299897849559784,
-0.26202255487442017,
-0.6429181098937988,
-0.07819398492574692,
-0.41795679926872253,
0.17455679178237915,
-0.17232738435268402,
0.49948030710220337,
0.07360116392374039,
-0.3419005274772644,
0.44591227173805237,
0.000009687663805379998,
0.6106885075569153,
0.26106712222099304,
0.03134169429540634,
0.18374532461166382,
-0.14679646492004395,
-0.7164683938026428,
0.044678159058094025,
0.20528583228588104,
-0.06820981204509735,
0.2740399241447449,
0.6911303400993347,
-0.09546245634555817,
-0.1232026219367981,
-0.17538957297801971,
0.33051785826683044,
-0.19726324081420898,
-0.461015909910202,
-0.16125887632369995,
-0.33329203724861145,
-0.15775227546691895,
0.13620278239250183,
0.16247864067554474,
0.47644898295402527,
0.4036732316017151,
-0.07952570915222168,
-0.20109599828720093,
-0.1514114886522293,
0.076921746134758,
0.08575574308633804,
0.39588382840156555,
-0.16498342156410217,
0.4091666638851166,
-0.3334085941314697,
0.19235089421272278,
-0.08311396092176437,
0.3989641070365906,
-0.19174189865589142,
-0.06479230523109436,
0.3708527684211731,
-0.2073858082294464,
0.07603537291288376,
0.38807213306427,
0.1935630738735199,
0.13679173588752747,
-0.1403946578502655,
0.1752070188522339,
-0.24539251625537872,
-0.08063099533319473,
-0.1874668300151825,
-0.06697279214859009,
0.04248983785510063,
-0.16777898371219635,
0.2720344364643097,
0.04392741248011589,
-0.03317588195204735,
0.31233933568000793,
-0.12325416505336761,
0.07115703076124191,
0.7600039839744568,
0.23390671610832214,
1.2246544361114502,
-0.5035204291343689,
0.014371566474437714,
0.12161564826965332,
0.16561882197856903,
-0.11795946210622787,
-0.17604394257068634,
-0.3269805312156677,
-0.4070296585559845,
0.14823900163173676,
0.12771551311016083,
-0.22698454558849335,
-0.12355385720729828,
0.38870298862457275,
0.08601764589548111,
-0.1470339298248291,
-0.24622860550880432,
0.33355170488357544,
-0.3722386360168457,
0.4040268063545227,
-0.03818655386567116,
-0.47419291734695435,
-0.578267514705658,
-0.020984604954719543,
0.01572224125266075,
-0.13927313685417175,
-0.010478316806256771,
0.17384633421897888,
-0.036192189902067184,
-0.22240571677684784,
-0.1036519855260849,
-0.18612885475158691,
0.09071361273527145,
0.18179073929786682,
0.18823856115341187,
-0.2340187281370163,
-0.1706714630126953,
0.41671133041381836,
0.3755479156970978,
-0.0700843334197998,
-0.04018913954496384,
0.18236833810806274,
0.06473623961210251,
0.12248235940933228,
0.08131125569343567,
-0.2595708668231964,
0.08288583159446716,
-0.11897959560155869,
0.05726630240678787,
-0.06650164723396301,
-0.1295834630727768,
-0.5366302132606506,
-0.10993966460227966,
0.19924810528755188,
0.36545491218566895,
-0.19887393712997437,
-0.28445926308631897,
-0.2924722135066986,
0.15570630133152008,
-0.06586739420890808,
0.016282839700579643,
0.34010034799575806,
0.15908481180667877,
0.28238388895988464,
-0.047330789268016815,
-0.23567558825016022,
0.01750134862959385,
0.3600904643535614,
0.03810366615653038,
-0.29598715901374817,
0.22960424423217773,
0.034734226763248444,
-0.2232734113931656,
-0.22737731039524078,
0.3738378882408142,
0.3516615331172943,
-0.4658200740814209,
0.11343925446271896,
-0.0073061599396169186,
-0.05890406295657158,
0.08034978061914444,
0.15804894268512726,
0.20229101181030273,
0.017638204619288445,
-0.12114132940769196,
-0.20884041488170624,
-0.5282045006752014,
0.012261730618774891,
0.2407430112361908,
0.13404203951358795,
0.14193816483020782,
-0.5530788898468018,
-0.30323776602745056,
0.02765069715678692,
-0.14650650322437286,
0.08462508022785187,
-0.0470668263733387,
0.11702803522348404,
0.006663195788860321,
-0.03716489300131798,
0.10069608688354492,
-0.1650076061487198,
0.0521320179104805,
-0.12014561891555786,
0.0040522003546357155,
-0.09136098623275757,
0.06716711074113846,
0.21253374218940735,
-0.03263318911194801,
-0.2659916579723358,
-0.2516612410545349,
-0.45433440804481506,
-0.20500196516513824,
-0.35306796431541443,
-0.11673250794410706,
0.07792674005031586,
-0.10972654819488525,
-0.35467711091041565,
0.33842897415161133,
0.15328286588191986,
-0.045457929372787476,
0.3576585054397583,
-0.0494346097111702,
0.4739775061607361,
-0.01629888266324997,
0.0577736496925354,
0.14616644382476807,
-0.18948446214199066,
-0.23029638826847076,
0.2283012568950653,
0.32833144068717957,
-0.1512211412191391,
0.3985278308391571,
-0.20345184206962585,
0.03279370814561844,
0.25810956954956055,
0.024081937968730927,
0.20607498288154602,
-0.16618023812770844,
-0.29034048318862915,
0.315326988697052,
0.07676714658737183,
-0.004793832544237375,
-0.25005030632019043,
-0.042113106697797775,
-0.11861447989940643,
-0.24424736201763153,
0.35063186287879944,
0.4611361026763916,
-0.20662492513656616,
-0.0887795090675354,
0.031730201095342636,
0.5728582739830017,
0.014148961752653122,
-0.43938931822776794,
0.6040971875190735,
-0.04661120846867561,
-0.01924343779683113,
0.11247307062149048,
0.20825804769992828,
0.07880064100027084,
0.48826971650123596,
-0.21552202105522156,
0.11531377583742142,
0.3541576564311981,
0.5426253080368042,
-0.37402135133743286,
-0.34266796708106995,
0.3637274205684662,
0.27060389518737793,
-0.2007657289505005,
-0.11850054562091827,
0.1577220857143402,
0.2770215570926666,
-0.17849446833133698,
-0.1285785734653473,
-0.23225945234298706,
0.23740938305854797,
-0.2579989731311798,
0.0892985388636589,
-0.3661230504512787,
-0.02651168592274189,
-0.018316686153411865,
0.1205127015709877,
-0.2606545686721802,
0.010732991620898247,
-0.27620771527290344,
0.33234742283821106,
0.07596239447593689,
0.04788779467344284,
0.028743214905261993,
0.07793156057596207,
-0.016167860478162766,
-0.40891754627227783,
-0.003022388555109501,
-0.3486025333404541,
-0.052024781703948975,
0.2731175124645233,
-0.2664618492126465,
0.3906586766242981,
0.5201638340950012,
-0.003766135312616825,
0.05436320602893829,
-0.044044893234968185,
-0.03328225761651993,
0.006372491829097271,
0.20094066858291626,
-0.10435204952955246,
0.23175522685050964,
0.15208187699317932,
-0.1098473072052002,
-0.06810611486434937,
-0.41598188877105713,
-0.17415452003479004,
0.41642141342163086,
0.14080780744552612,
0.3191128075122833,
0.08411549031734467,
-0.33210599422454834,
-0.25628191232681274,
0.08224475383758545,
-0.09904707223176956,
-0.16936780512332916,
0.26534759998321533,
0.012196694500744343,
0.1619287133216858,
-0.04051382839679718,
-0.030177054926753044,
-0.33131566643714905,
0.5836267471313477,
0.34145215153694153,
-0.37228575348854065,
-0.20833052694797516,
-0.31581270694732666,
-0.6785955429077148,
0.08260082453489304,
0.0061991531401872635,
-0.029147837311029434,
0.40675225853919983,
0.24536949396133423,
0.4798530638217926,
0.07384099066257477,
-0.07451526820659637,
0.005892558954656124,
-0.14937372505664825,
0.3993549048900604,
-0.09187271445989609,
0.08013036102056503,
0.08654376119375229,
0.21330295503139496,
-0.2368369996547699,
-0.47474509477615356,
0.4323939383029938,
0.20449113845825195,
-0.09295647591352463,
-0.08721722662448883,
0.04338587820529938,
-0.2884816527366638,
0.38380613923072815,
0.3971134424209595,
0.002723885467275977,
0.11146360635757446,
0.32688820362091064,
0.06391342729330063,
0.2400357574224472,
-0.06436250358819962,
0.09693973511457443,
0.22319239377975464,
-0.07422283291816711,
-0.0774134024977684,
-0.049744538962841034,
0.3446442782878876,
-0.23184660077095032,
0.014853999949991703,
-0.23008868098258972,
-0.20268385112285614,
-0.13974975049495697,
0.02479712851345539,
-0.21421286463737488,
0.2600075304508209,
0.24277523159980774,
-0.0022030065301805735,
0.1724117547273636,
0.2694129943847656,
-0.24611319601535797,
-0.06343461573123932,
0.23410789668560028,
-0.0005445408751256764,
-0.178094744682312,
0.07496747374534607,
0.19974593818187714,
0.20118170976638794,
0.23281846940517426,
-0.3857898712158203,
-0.18357734382152557,
0.23232263326644897,
-0.13162851333618164,
-0.08513942360877991,
0.37602049112319946,
-0.20665469765663147,
0.21365882456302643,
-0.1630483716726303,
0.2711822986602783,
-0.08484295010566711,
-0.04765039682388306,
-0.41245371103286743,
-0.30802401900291443
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
yup I casted it to `np.uint8` outside the function where it was defined. It was originally using python integers.
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 19
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
yup I casted it to `np.uint8` outside the function where it was defined. It was originally using python integers.
|
[
-0.299747109413147,
-0.25231030583381653,
-0.04704448580741882,
0.2852843701839447,
0.32804402709007263,
0.021098947152495384,
0.42626091837882996,
0.21776598691940308,
0.7503631114959717,
-0.03946675732731819,
0.1555914282798767,
0.5000488758087158,
0.0829722136259079,
-0.08634095638990402,
0.14030805230140686,
0.11666933447122574,
0.3541415333747864,
0.21109844744205475,
0.4538331627845764,
-0.1608220338821411,
-0.28068777918815613,
0.004251969046890736,
-0.1241988092660904,
0.02084392122924328,
-0.1499309092760086,
-0.034160248935222626,
-0.029953038319945335,
0.04785987362265587,
-0.12425784021615982,
-0.3127472996711731,
0.03865358605980873,
-0.07079751789569855,
0.2723854184150696,
0.22555677592754364,
-0.00012783774582203478,
-0.24782738089561462,
0.013242483139038086,
0.15491753816604614,
-0.23426471650600433,
0.2983810603618622,
0.3765065371990204,
-0.4481578469276428,
0.24350067973136902,
-0.344562828540802,
0.13206525146961212,
-0.3008119463920593,
-0.3529144823551178,
-0.20314036309719086,
-0.060513753443956375,
-0.14307643473148346,
0.029551347717642784,
0.45549410581588745,
-0.30255961418151855,
0.08236638456583023,
-0.10583265125751495,
0.3159896731376648,
-0.15447697043418884,
0.07755094766616821,
0.562113881111145,
-0.04886810854077339,
-0.05324066802859306,
-0.053940653800964355,
-0.22005072236061096,
-0.08033936470746994,
0.37347540259361267,
0.06147712096571922,
0.25439706444740295,
0.14958837628364563,
0.08073772490024567,
0.10822343081235886,
0.5584248900413513,
-0.017339464277029037,
0.02341461554169655,
-0.24721594154834747,
-0.08520841598510742,
-0.3046398460865021,
0.38802191615104675,
-0.0014703016495332122,
-0.25715285539627075,
0.17644448578357697,
-0.04758218675851822,
-0.06876102834939957,
-0.014575810171663761,
0.24241071939468384,
-0.18652229011058807,
-0.05277077108621597,
0.020485950633883476,
0.11471614986658096,
0.3606213927268982,
-0.10244790464639664,
0.05722504481673241,
0.05434027686715126,
0.11026756465435028,
0.39178258180618286,
-0.41601017117500305,
-0.1962459832429886,
0.007881580851972103,
0.07621084153652191,
-0.19928736984729767,
0.10770024359226227,
0.21716567873954773,
0.2246498167514801,
-0.11344096809625626,
-0.016844242811203003,
0.25221747159957886,
0.35223090648651123,
-0.11968439072370529,
0.14811167120933533,
0.07866360992193222,
-0.27171942591667175,
-0.06364721804857254,
-0.034671343863010406,
-0.26987460255622864,
-0.044817667454481125,
0.5096774101257324,
-0.4679943025112152,
-0.24199868738651276,
-0.15962566435337067,
-0.08283443003892899,
0.23337717354297638,
0.43275681138038635,
-0.05280691012740135,
0.2506527304649353,
0.228675976395607,
0.03461631387472153,
0.5681970119476318,
-0.03609786927700043,
0.022178972139954567,
-0.1965542882680893,
-0.14127789437770844,
-0.04869494587182999,
-0.2828437387943268,
-0.17654728889465332,
0.14951132237911224,
0.045926015824079514,
0.2822544276714325,
-0.11788487434387207,
0.1888035535812378,
-0.21413679420948029,
0.02341187186539173,
-0.11388514190912247,
-0.14014790952205658,
0.2944337725639343,
0.20835894346237183,
-0.1148262768983841,
0.22615890204906464,
0.17710967361927032,
-0.2330547273159027,
-0.4272056519985199,
0.4167667031288147,
-0.19682900607585907,
-0.4156867563724518,
-0.48458054661750793,
0.0009357330854982138,
-0.25007107853889465,
-0.08828247338533401,
-0.41910967230796814,
-0.17019197344779968,
0.1220644935965538,
0.030738474801182747,
-0.011762459762394428,
-0.1612863391637802,
-0.11532130837440491,
-0.09937702864408493,
-0.047748152166604996,
0.1461007297039032,
-0.4231795072555542,
0.17303575575351715,
-0.2556326687335968,
0.2764590382575989,
0.3224271535873413,
0.6396910548210144,
-0.28013160824775696,
0.3539850115776062,
-0.24942678213119507,
0.23179230093955994,
0.5141899585723877,
-0.09798219799995422,
-0.406453400850296,
0.7154761552810669,
-0.07990322262048721,
-0.16850247979164124,
0.08013078570365906,
0.5803718566894531,
0.31936076283454895,
-0.07076751440763474,
0.1484772115945816,
0.6385690569877625,
0.18405616283416748,
0.2328278124332428,
-0.3932381868362427,
-0.02909746579825878,
0.07825026661157608,
0.44640201330184937,
-0.41053497791290283,
0.16327150166034698,
0.14069108664989471,
-0.0007511115982197225,
0.1959133744239807,
0.051931243389844894,
-0.08485028892755508,
0.26534396409988403,
0.24143026769161224,
-0.016480164602398872,
0.03773895278573036,
0.23709885776042938,
-0.16615989804267883,
0.13616687059402466,
0.4677124321460724,
-0.20218296349048615,
0.03263665735721588,
-0.1964564323425293,
-0.3855072557926178,
0.32654333114624023,
-0.09738176316022873,
0.5834561586380005,
-0.2067902833223343,
-0.02234606444835663,
0.09193883836269379,
-0.16232633590698242,
-0.1692388951778412,
-0.07819362729787827,
-0.28376564383506775,
-0.10431556403636932,
-0.06295513361692429,
0.05521851032972336,
0.198411226272583,
-0.03769852593541145,
-0.3756645917892456,
-0.022459035739302635,
0.023802699521183968,
0.057233214378356934,
-0.20016159117221832,
0.27308154106140137,
0.1836065798997879,
-0.031202172860503197,
-0.029440827667713165,
0.22632387280464172,
0.10675997287034988,
0.06800764054059982,
0.3422226905822754,
0.013678177259862423,
0.21213479340076447,
-0.2573305368423462,
-0.07577875256538391,
0.4699651002883911,
-0.19533123075962067,
0.2148159146308899,
-0.23500488698482513,
-0.09433712810277939,
0.3795802593231201,
0.16083146631717682,
0.14990128576755524,
-0.021849092096090317,
0.19160233438014984,
0.29301944375038147,
0.23110903799533844,
0.30507850646972656,
-0.25294822454452515,
0.26798075437545776,
0.2955799400806427,
-0.3433097302913666,
-0.05993490666151047,
0.2346319556236267,
0.021672843024134636,
-0.2941645383834839,
-0.024106523022055626,
-0.08608680218458176,
0.36561378836631775,
0.10096332430839539,
0.02320815809071064,
-0.32527369260787964,
-0.05099142715334892,
-0.19014166295528412,
0.15656816959381104,
-0.08559303730726242,
-0.15529775619506836,
0.12011459469795227,
-0.07849090546369553,
-0.14494973421096802,
-0.33782222867012024,
0.05295790359377861,
0.11459972709417343,
0.40823355317115784,
-0.3593495786190033,
0.2051282525062561,
-0.11272061616182327,
0.11539306491613388,
0.00012831628555431962,
-0.31077152490615845,
0.10942996293306351,
-0.22159871459007263,
-0.2033459097146988,
0.25411009788513184,
-0.051748935133218765,
-0.16136230528354645,
-0.06214286759495735,
0.34968170523643494,
0.19647803902626038,
-0.4854283332824707,
-0.3430968225002289,
-0.27453523874282837,
-0.11072222888469696,
-0.16612794995307922,
0.4014427363872528,
0.12671227753162384,
0.22307328879833221,
-0.059871118515729904,
-0.1314966082572937,
-0.21717393398284912,
-0.1485188603401184,
-0.13815073668956757,
0.030467020347714424,
0.1391078233718872,
-0.17232173681259155,
0.3341895341873169,
-0.5773810148239136,
-0.054648857563734055,
0.27611109614372253,
-0.32742974162101746,
-0.22200772166252136,
0.4210555851459503,
-0.10175509005784988,
-0.3189692199230194,
0.020626092329621315,
0.11821034550666809,
-0.11741277575492859,
-0.2252642661333084,
0.19395384192466736,
0.06011144071817398,
0.17464974522590637,
-0.27029287815093994,
0.12876339256763458,
0.020170725882053375,
0.4685710370540619,
-0.2537422180175781,
-0.17099326848983765,
-0.24629512429237366,
0.6392539143562317,
0.014165445230901241,
-0.254655122756958,
-0.021695086732506752,
0.1561199128627777,
-0.06782858073711395,
-0.01921534538269043,
-0.5329574942588806,
0.21371766924858093,
-0.41072267293930054,
0.4174290895462036,
-0.24035024642944336,
0.11014752089977264,
0.11097517609596252,
-0.270820289850235,
0.04011394456028938,
0.21738086640834808,
-0.047782592475414276,
0.17580582201480865,
0.08638697117567062,
0.045521222054958344,
0.022664861753582954,
0.5955453515052795,
-0.24430887401103973,
0.3329949378967285,
-0.2710854411125183,
-0.13617590069770813,
0.3635105788707733,
-0.03905815631151199,
0.19483903050422668,
-0.3454585373401642,
-0.19800426065921783,
-0.2656886875629425,
0.1232631653547287,
-0.3189104497432709,
0.19594529271125793,
-0.012941820546984673,
-0.33606961369514465,
0.016246460378170013,
-0.007709180470556021,
-0.05001835897564888,
-0.052719805389642715,
0.2995033264160156,
0.009621682576835155,
0.044325705617666245,
-0.1402287781238556,
0.20285114645957947,
-0.3820977509021759,
-0.24293340742588043,
-0.08646775782108307,
0.0005129710189066827,
0.1392790973186493,
-0.27106472849845886,
-0.5346096158027649,
-0.08098757266998291,
-0.40784192085266113,
0.16139861941337585,
-0.17256398499011993,
0.4567170739173889,
0.09026481956243515,
-0.3383491337299347,
0.4657460153102875,
-0.005345441401004791,
0.5948347449302673,
0.30841830372810364,
0.08276377618312836,
0.19233299791812897,
-0.20196151733398438,
-0.6922328472137451,
0.05362548679113388,
0.23208285868167877,
-0.05324403569102287,
0.3043700158596039,
0.6459019184112549,
-0.025588087737560272,
-0.13513439893722534,
-0.09985337406396866,
0.35062479972839355,
-0.21396590769290924,
-0.4529128074645996,
-0.18064959347248077,
-0.37299609184265137,
-0.13957153260707855,
0.13190698623657227,
0.1839437037706375,
0.48201972246170044,
0.41244959831237793,
-0.031332243233919144,
-0.20820564031600952,
-0.1388513445854187,
0.06311135739088058,
0.07521931082010269,
0.34152230620384216,
-0.09434003382921219,
0.42655861377716064,
-0.3278450667858124,
0.16688986122608185,
-0.16392451524734497,
0.45065170526504517,
-0.12491009384393692,
-0.055146101862192154,
0.35527342557907104,
-0.1789221316576004,
0.03738308697938919,
0.3945648968219757,
0.21304863691329956,
0.10879836976528168,
-0.12930983304977417,
0.17535382509231567,
-0.21597206592559814,
-0.07544722408056259,
-0.16391494870185852,
-0.03658468648791313,
0.03982364013791084,
-0.20665594935417175,
0.2804303765296936,
0.06470264494419098,
-0.039706774055957794,
0.2836982011795044,
-0.10288167744874954,
0.09373937547206879,
0.695608377456665,
0.19712994992733002,
1.2087383270263672,
-0.49198129773139954,
0.03366750478744507,
0.12981906533241272,
0.18626636266708374,
-0.12520509958267212,
-0.13926613330841064,
-0.3274517059326172,
-0.40561267733573914,
0.11823942512273788,
0.13328686356544495,
-0.22277787327766418,
-0.11083970963954926,
0.3779360353946686,
0.14213819801807404,
-0.145756796002388,
-0.28459832072257996,
0.3121120035648346,
-0.3484485447406769,
0.3731781542301178,
0.00014276268484536558,
-0.4662601351737976,
-0.5828537344932556,
-0.03655446320772171,
0.017629770562052727,
-0.10609345883131027,
-0.015920033678412437,
0.18359403312206268,
-0.015910862013697624,
-0.17612095177173615,
-0.06902259588241577,
-0.14809612929821014,
0.1852272003889084,
0.1799701452255249,
0.1777571737766266,
-0.22630912065505981,
-0.12023735791444778,
0.4478653073310852,
0.3832821846008301,
-0.06405574828386307,
0.007216844242066145,
0.19814299046993256,
0.07168728858232498,
0.14021803438663483,
0.11924409121274948,
-0.24170711636543274,
0.09063375741243362,
-0.10889580845832825,
0.008431454189121723,
-0.07127034664154053,
-0.12768355011940002,
-0.5348016619682312,
-0.0959501713514328,
0.22054994106292725,
0.34367525577545166,
-0.21527422964572906,
-0.2737526297569275,
-0.2669532597064972,
0.19507163763046265,
-0.06961759179830551,
0.001672954298555851,
0.345168799161911,
0.17466984689235687,
0.2470216602087021,
-0.08030782639980316,
-0.2670128047466278,
0.003418012522161007,
0.359774649143219,
0.05233919620513916,
-0.2441834956407547,
0.2246304154396057,
0.046305712312459946,
-0.23074285686016083,
-0.20692144334316254,
0.34075793623924255,
0.26516780257225037,
-0.4949904978275299,
0.13043034076690674,
0.035302095115184784,
-0.041880831122398376,
0.06730268895626068,
0.1329653114080429,
0.15851716697216034,
0.015713872388005257,
-0.13758748769760132,
-0.2012656033039093,
-0.527534544467926,
-0.029744254425168037,
0.23160338401794434,
0.09611177444458008,
0.15362460911273956,
-0.5203166604042053,
-0.26150408387184143,
0.012294424697756767,
-0.12918339669704437,
0.06790639460086823,
-0.021173371002078056,
0.13007144629955292,
0.02199271135032177,
-0.05493054538965225,
0.12728597223758698,
-0.17012609541416168,
0.04467508941888809,
-0.12151769548654556,
0.03534135967493057,
-0.07324644923210144,
0.059590864926576614,
0.2262461930513382,
-0.018358733505010605,
-0.2851129174232483,
-0.22976556420326233,
-0.4710473120212555,
-0.20373889803886414,
-0.3548014760017395,
-0.08405070006847382,
0.10967604070901871,
-0.08294466882944107,
-0.3674425482749939,
0.33247634768486023,
0.13708415627479553,
0.00975947268307209,
0.40622344613075256,
-0.06025141477584839,
0.49793916940689087,
-0.05861329287290573,
0.06563670933246613,
0.17789413034915924,
-0.1666075587272644,
-0.27065911889076233,
0.21734501421451569,
0.34300851821899414,
-0.11296436935663223,
0.3921236991882324,
-0.24535873532295227,
0.05556047335267067,
0.23457977175712585,
0.0072802831418812275,
0.19702467322349548,
-0.1595989614725113,
-0.288946270942688,
0.27707889676094055,
0.04972345381975174,
-0.009357129223644733,
-0.2795391082763672,
-0.04323646053671837,
-0.10914329439401627,
-0.25316113233566284,
0.3529641032218933,
0.42701229453086853,
-0.20799314975738525,
-0.08079111576080322,
0.04774780571460724,
0.5593769550323486,
0.014237935654819012,
-0.46188580989837646,
0.5625960826873779,
-0.028303692117333412,
-0.0195330623537302,
0.15429405868053436,
0.2069474458694458,
0.061477601528167725,
0.5321904420852661,
-0.20333315432071686,
0.05983661860227585,
0.3535827696323395,
0.5532020926475525,
-0.42826753854751587,
-0.3345469534397125,
0.35148489475250244,
0.25628921389579773,
-0.26428574323654175,
-0.12043586373329163,
0.17630070447921753,
0.19150522351264954,
-0.20004495978355408,
-0.09628955274820328,
-0.24199949204921722,
0.28567805886268616,
-0.22136858105659485,
0.061602216213941574,
-0.3761419951915741,
-0.0039551639929413795,
-0.029769692569971085,
0.1692756861448288,
-0.25970953702926636,
0.0175365898758173,
-0.2455751895904541,
0.34407928586006165,
0.06412126868963242,
0.0444134958088398,
0.058395642787218094,
0.060989536345005035,
0.000898541125934571,
-0.42273855209350586,
-0.023251809179782867,
-0.3469654619693756,
-0.032526787370443344,
0.2949279546737671,
-0.291064977645874,
0.370865136384964,
0.4920545518398285,
0.008085984736680984,
0.05341176688671112,
-0.05987856164574623,
-0.04628041386604309,
0.01904849335551262,
0.21012720465660095,
-0.10836616158485413,
0.34071463346481323,
0.1441577523946762,
-0.11360764503479004,
-0.06548672914505005,
-0.41708776354789734,
-0.16914302110671997,
0.4294933080673218,
0.08753824979066849,
0.371803343296051,
0.08222182095050812,
-0.31478628516197205,
-0.2893888056278229,
0.08420541137456894,
-0.09285783022642136,
-0.1836446076631546,
0.2388712465763092,
0.018664339557290077,
0.1382628083229065,
-0.05493958294391632,
-0.04436662420630455,
-0.3314496576786041,
0.5940255522727966,
0.31949251890182495,
-0.36270439624786377,
-0.18002553284168243,
-0.31111088395118713,
-0.6691555976867676,
0.07976097613573074,
0.05652854964137077,
-0.07673867791891098,
0.3885868191719055,
0.2282046675682068,
0.4421883225440979,
0.05083838105201721,
-0.10750079900026321,
0.01139657199382782,
-0.11682374775409698,
0.37020042538642883,
-0.03827124834060669,
0.03799019008874893,
0.046344298869371414,
0.20533278584480286,
-0.24364444613456726,
-0.4843665063381195,
0.4108680486679077,
0.1688484400510788,
-0.10001089423894882,
-0.11844216287136078,
0.003314830595627427,
-0.2772942781448364,
0.4129739999771118,
0.39025458693504333,
0.007205332163721323,
0.1270110160112381,
0.3299395740032196,
0.05923136696219444,
0.26134592294692993,
-0.09722194820642471,
0.06970302760601044,
0.24343404173851013,
-0.07782284915447235,
-0.04539276286959648,
-0.03461987152695656,
0.3828948140144348,
-0.19040776789188385,
0.010125341825187206,
-0.2644211947917938,
-0.16413791477680206,
-0.12261047959327698,
-0.012483508326113224,
-0.2296934872865677,
0.2783011496067047,
0.2322641760110855,
0.021879227831959724,
0.1775471717119217,
0.24545413255691528,
-0.2312735766172409,
-0.055425744503736496,
0.21426235139369965,
-0.018071627244353294,
-0.15502415597438812,
0.06023230776190758,
0.18807052075862885,
0.19684486091136932,
0.18797674775123596,
-0.3372844159603119,
-0.15184542536735535,
0.23160338401794434,
-0.12020467221736908,
-0.11695072054862976,
0.41540029644966125,
-0.24521088600158691,
0.19906853139400482,
-0.14447014033794403,
0.26338663697242737,
-0.10303331166505814,
-0.06553243845701218,
-0.4062342941761017,
-0.27565109729766846
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
Strangely, even when I manually created `np.arrays` of specific `dtypes`, the types in the final `dataset_info.json` that gets written are still `int64`.
Update: I tried creating lists of `int8`s and got the same result.
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 34
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
Strangely, even when I manually created `np.arrays` of specific `dtypes`, the types in the final `dataset_info.json` that gets written are still `int64`.
Update: I tried creating lists of `int8`s and got the same result.
|
[
-0.21739880740642548,
-0.18767179548740387,
-0.0520242340862751,
0.33667126297950745,
0.3299884796142578,
0.034900251775979996,
0.41539639234542847,
0.28230899572372437,
0.6786061525344849,
-0.1099483072757721,
0.13262319564819336,
0.5752300024032593,
0.19425326585769653,
-0.04714963585138321,
0.14439475536346436,
0.1174113005399704,
0.35872748494148254,
0.2722393274307251,
0.37639525532722473,
-0.17644260823726654,
-0.3060881495475769,
0.04754595831036568,
-0.037080638110637665,
-0.03199306130409241,
-0.0833016037940979,
-0.06509476900100708,
0.05674336105585098,
0.011635689996182919,
-0.19991499185562134,
-0.306885689496994,
0.10656194388866425,
-0.09480522572994232,
0.2616831064224243,
0.23809239268302917,
-0.0001292553497478366,
-0.18575073778629303,
0.12671047449111938,
0.0981941819190979,
-0.24223461747169495,
0.3243519067764282,
0.41630133986473083,
-0.4820282459259033,
0.2607605755329132,
-0.3481033146381378,
0.10999980568885803,
-0.4955380856990814,
-0.2719954550266266,
-0.3215942680835724,
-0.03164138272404671,
-0.13417071104049683,
0.024690603837370872,
0.4677755534648895,
-0.22414694726467133,
0.1327095329761505,
-0.201158806681633,
0.4392256438732147,
-0.21936286985874176,
-0.007172092795372009,
0.44250988960266113,
0.05829416215419769,
-0.04858046770095825,
-0.08653667569160461,
-0.14066936075687408,
-0.015830857679247856,
0.4063592851161957,
0.061501938849687576,
0.20554505288600922,
0.12287963181734085,
0.06945730000734329,
0.172819584608078,
0.6207131147384644,
0.03346208110451698,
-0.07076238840818405,
-0.24855513870716095,
-0.14892879128456116,
-0.2460750937461853,
0.4324035048484802,
0.036254528909921646,
-0.23574049770832062,
0.1717061698436737,
-0.1762751191854477,
-0.0015278956852853298,
-0.07333806157112122,
0.2504841387271881,
-0.13082683086395264,
-0.1616668850183487,
-0.011007469147443771,
0.15915252268314362,
0.35275405645370483,
-0.1964058130979538,
0.07741740345954895,
-0.015562133863568306,
0.009120815433561802,
0.30352693796157837,
-0.33834904432296753,
-0.2830926179885864,
0.05150614678859711,
-0.007968834601342678,
-0.07808633893728256,
0.06347215175628662,
0.16223859786987305,
0.24952994287014008,
-0.2331532984972,
-0.04721032455563545,
0.28911980986595154,
0.36087876558303833,
-0.032874610275030136,
0.0068864780478179455,
0.09100910276174545,
-0.3389003276824951,
0.06944720447063446,
0.02003411576151848,
-0.16763663291931152,
0.083018958568573,
0.3784153461456299,
-0.4967730939388275,
-0.2162381410598755,
-0.1500125378370285,
-0.020842617377638817,
0.24002480506896973,
0.36365196108818054,
0.016009749844670296,
0.17315416038036346,
0.18143901228904724,
0.07714714854955673,
0.6115530133247375,
-0.09769786894321442,
0.07282578945159912,
-0.16298392415046692,
-0.17398755252361298,
-0.01977115124464035,
-0.3106480538845062,
-0.11812593042850494,
0.08500836044549942,
0.14966744184494019,
0.37271782755851746,
-0.04596870392560959,
0.16710305213928223,
-0.2715293765068054,
0.01579378917813301,
-0.0969664677977562,
-0.11311335861682892,
0.31255632638931274,
0.22989317774772644,
-0.0987832248210907,
0.25574326515197754,
0.14606814086437225,
-0.28912872076034546,
-0.44971221685409546,
0.34252724051475525,
-0.13587361574172974,
-0.2943187355995178,
-0.4542929232120514,
-0.025024602189660072,
-0.2671666145324707,
-0.019693786278367043,
-0.439143568277359,
-0.10766682773828506,
0.13815590739250183,
0.02551698125898838,
-0.012243296019732952,
-0.20783661305904388,
-0.08296998590230942,
-0.1118214875459671,
-0.08856139332056046,
0.08495490252971649,
-0.4510551691055298,
0.17496268451213837,
-0.2742938995361328,
0.28475210070610046,
0.2883867621421814,
0.6702423691749573,
-0.20672719180583954,
0.22992974519729614,
-0.18603716790676117,
0.31891894340515137,
0.41101324558258057,
-0.09777366369962692,
-0.3115597665309906,
0.731545627117157,
-0.011709933169186115,
-0.14590410888195038,
0.13381022214889526,
0.5266267657279968,
0.24968934059143066,
-0.04259457439184189,
0.13652317225933075,
0.6743009686470032,
0.17488032579421997,
0.22158293426036835,
-0.29070839285850525,
-0.08665839582681656,
0.04817119985818863,
0.41379252076148987,
-0.48902109265327454,
0.12408893555402756,
0.12507684528827667,
-0.05447687953710556,
0.14717338979244232,
0.04561494663357735,
-0.0502898283302784,
0.23463104665279388,
0.25305888056755066,
-0.09900984168052673,
0.056477416306734085,
0.3052893877029419,
-0.3008289337158203,
0.10533830523490906,
0.3949739634990692,
-0.18056795001029968,
0.034325920045375824,
-0.204289972782135,
-0.2784739136695862,
0.3042502999305725,
-0.028972458094358444,
0.5546168088912964,
-0.1815519481897354,
0.08272843807935715,
0.08169881999492645,
-0.12093242257833481,
-0.15712857246398926,
-0.13328862190246582,
-0.2426028698682785,
-0.11021284013986588,
-0.18193159997463226,
0.008192958310246468,
0.23392650485038757,
-0.05043020099401474,
-0.3065255582332611,
-0.019636694341897964,
0.02690817601978779,
-0.03845645487308502,
-0.16304610669612885,
0.2365632802248001,
0.20025672018527985,
0.0035283181350678205,
-0.030896440148353577,
0.18774428963661194,
0.1519831269979477,
0.08071276545524597,
0.3181469440460205,
0.052873969078063965,
0.17471536993980408,
-0.2780155837535858,
-0.17613327503204346,
0.5037505030632019,
-0.1891395002603531,
0.22163106501102448,
-0.2732481360435486,
-0.07846789062023163,
0.45787087082862854,
0.1897338479757309,
0.08039109408855438,
-0.08699355274438858,
0.11228639632463455,
0.32190313935279846,
0.13431993126869202,
0.29105380177497864,
-0.23326967656612396,
0.34274113178253174,
0.41296443343162537,
-0.31113216280937195,
-0.07542476803064346,
0.20762740075588226,
0.016248460859060287,
-0.36574849486351013,
-0.00546575803309679,
-0.06875097006559372,
0.3628418445587158,
0.05588341876864433,
0.05078303813934326,
-0.3696977198123932,
-0.051743391901254654,
-0.18469427525997162,
0.12003573030233383,
-0.09367631375789642,
-0.034651029855012894,
0.09922605752944946,
-0.04280579835176468,
-0.28163737058639526,
-0.3656868636608124,
0.06514401733875275,
0.11084116250276566,
0.38885828852653503,
-0.3100929260253906,
0.2180461436510086,
-0.1968776285648346,
0.06926130503416061,
0.016817636787891388,
-0.286173939704895,
0.11095089465379715,
-0.17547442018985748,
-0.2048090398311615,
0.31620341539382935,
-0.07433813810348511,
-0.15240654349327087,
0.06496839970350266,
0.4230007529258728,
0.22769075632095337,
-0.40151309967041016,
-0.3833138644695282,
-0.23760275542736053,
-0.15682315826416016,
-0.17524252831935883,
0.3804139196872711,
0.10471120476722717,
0.17036360502243042,
-0.1451793611049652,
-0.155082568526268,
-0.22535352408885956,
-0.18281880021095276,
-0.10960803180932999,
0.045893456786870956,
0.25928860902786255,
-0.12746673822402954,
0.3801020681858063,
-0.5672901272773743,
0.05625550076365471,
0.2641809284687042,
-0.2876507043838501,
-0.28583595156669617,
0.3660443425178528,
-0.14748148620128632,
-0.3140190541744232,
-0.033716630190610886,
0.039367955178022385,
-0.09024272114038467,
-0.21559642255306244,
0.371366024017334,
0.07768695056438446,
0.1806081384420395,
-0.20342347025871277,
0.1504126489162445,
0.007472006604075432,
0.43695467710494995,
-0.22815962135791779,
-0.20467272400856018,
-0.23250018060207367,
0.6616541743278503,
-0.061055999249219894,
-0.24852250516414642,
-0.05579051002860069,
0.1784057468175888,
-0.10163644701242447,
-0.058727383613586426,
-0.5192948579788208,
0.1694786548614502,
-0.41420379281044006,
0.35849729180336,
-0.19351625442504883,
0.039552684873342514,
0.11611951887607574,
-0.2936944365501404,
0.04071469604969025,
0.1232164204120636,
-0.1552170217037201,
0.2262769639492035,
0.16841015219688416,
0.10852880030870438,
0.09711045026779175,
0.6675198674201965,
-0.2841605544090271,
0.23352780938148499,
-0.12840388715267181,
-0.24365736544132233,
0.31387510895729065,
0.004558817017823458,
0.2500697374343872,
-0.4183472692966461,
-0.0997265949845314,
-0.21405582129955292,
0.1322825700044632,
-0.27863985300064087,
0.20927338302135468,
-0.023074235767126083,
-0.35290393233299255,
0.05651906132698059,
0.05544712021946907,
-0.06459107249975204,
-0.05382782965898514,
0.2805732786655426,
0.07259968668222427,
-0.04823943227529526,
-0.09439690411090851,
0.32000356912612915,
-0.35327276587486267,
-0.21175767481327057,
-0.16105099022388458,
0.06506142020225525,
0.17115528881549835,
-0.1487724334001541,
-0.6796737313270569,
-0.16742801666259766,
-0.33323365449905396,
0.1392708718776703,
-0.25691887736320496,
0.5929823517799377,
0.022501042112708092,
-0.2331370860338211,
0.38181671500205994,
-0.026718659326434135,
0.5649265646934509,
0.23073674738407135,
0.1245875433087349,
0.1613277643918991,
-0.13293880224227905,
-0.6834194660186768,
0.07888369262218475,
0.2797004282474518,
-0.007019797805696726,
0.32912591099739075,
0.71257084608078,
-0.18116995692253113,
-0.09999590367078781,
-0.1415998339653015,
0.33655110001564026,
-0.18524354696273804,
-0.3992162048816681,
-0.14935800433158875,
-0.4388362765312195,
-0.0707891508936882,
0.07911986857652664,
0.21000199019908905,
0.44629523158073425,
0.34054702520370483,
-0.048659924417734146,
-0.2184113711118698,
-0.11732371151447296,
0.059951286762952805,
0.09862449020147324,
0.39265918731689453,
-0.08409499377012253,
0.3604739010334015,
-0.2897677719593048,
0.20884865522384644,
-0.03792259842157364,
0.39523205161094666,
-0.01418855506926775,
-0.013175085186958313,
0.3565961420536041,
-0.1868543028831482,
-0.040317486971616745,
0.39483487606048584,
0.21678675711154938,
-0.013731894083321095,
0.005016000475734472,
0.1383889764547348,
-0.20695079863071442,
-0.07618233561515808,
-0.13309279084205627,
-0.06194763630628586,
-0.0003995753941126168,
-0.2413397580385208,
0.34211090207099915,
0.045890673995018005,
0.03669823706150055,
0.21693304181098938,
-0.10645454376935959,
0.07308900356292725,
0.7005404233932495,
0.22822126746177673,
1.0924134254455566,
-0.43713057041168213,
0.041068803519010544,
0.15044626593589783,
0.1532883644104004,
0.04514772817492485,
-0.2118837684392929,
-0.26496052742004395,
-0.4133770763874054,
0.23593902587890625,
0.12915648519992828,
-0.24883867800235748,
-0.12277238816022873,
0.38235434889793396,
0.18170344829559326,
-0.17158813774585724,
-0.18666811287403107,
0.3809768557548523,
-0.3225500285625458,
0.4586813449859619,
-0.049850497394800186,
-0.5222054123878479,
-0.5489798784255981,
-0.052828848361968994,
-0.04924345389008522,
-0.08315881341695786,
0.0803816020488739,
0.04117830470204353,
-0.05312136933207512,
-0.15679588913917542,
-0.062462273985147476,
-0.2056078016757965,
0.3019210696220398,
0.1975012719631195,
0.253947913646698,
-0.26062968373298645,
-0.12551115453243256,
0.42298904061317444,
0.43248888850212097,
0.012652565725147724,
-0.12401001900434494,
0.175354465842247,
0.04935207590460777,
0.11191533505916595,
0.12975312769412994,
-0.2778567373752594,
0.0515650175511837,
-0.08931677788496017,
0.0382782481610775,
-0.19612233340740204,
-0.16360348463058472,
-0.45522281527519226,
-0.13676384091377258,
0.11209896951913834,
0.1615009903907776,
-0.20727993547916412,
-0.22477304935455322,
-0.33665230870246887,
0.11603795737028122,
-0.040557168424129486,
-0.005504470318555832,
0.3154764771461487,
0.19006066024303436,
0.2958981692790985,
0.006544917821884155,
-0.25809618830680847,
-0.01270019356161356,
0.3266020715236664,
0.11724680662155151,
-0.24926984310150146,
0.21667957305908203,
0.09228655695915222,
-0.24081818759441376,
-0.23052774369716644,
0.36328426003456116,
0.30625587701797485,
-0.3923351466655731,
0.17964567244052887,
0.006199864204972982,
-0.07763003557920456,
0.021030664443969727,
0.06448134034872055,
0.10662181675434113,
0.07950125634670258,
-0.11342202872037888,
-0.23397411406040192,
-0.5309728980064392,
0.0488857626914978,
0.15873903036117554,
0.14421184360980988,
0.1871335506439209,
-0.4553244411945343,
-0.28414684534072876,
-0.03012078069150448,
-0.10837716609239578,
0.03176925331354141,
-0.00224867626093328,
0.10258499532938004,
-0.04460926353931427,
-0.048617295920848846,
0.10317032039165497,
-0.15386159718036652,
0.014789434149861336,
-0.11884669214487076,
-0.050637442618608475,
-0.031735144555568695,
0.05758586898446083,
0.23092657327651978,
0.02438068389892578,
-0.30437132716178894,
-0.20058712363243103,
-0.5046973824501038,
-0.27507612109184265,
-0.3541993796825409,
-0.1433119922876358,
0.024826008826494217,
-0.05641581863164902,
-0.3651973605155945,
0.30959266424179077,
0.17716118693351746,
0.0478556789457798,
0.38211575150489807,
-0.03513869643211365,
0.5291305184364319,
-0.08385158330202103,
0.09064556658267975,
0.14198654890060425,
-0.14846737682819366,
-0.31300970911979675,
0.20569683611392975,
0.27491459250450134,
-0.07418215274810791,
0.36401447653770447,
-0.2556058466434479,
0.04516969993710518,
0.19686180353164673,
0.01708725281059742,
0.28046467900276184,
-0.17076368629932404,
-0.2876015603542328,
0.2010524570941925,
0.015196367166936398,
0.08783666044473648,
-0.21893204748630524,
-0.009042789228260517,
-0.0722837746143341,
-0.27557986974716187,
0.354584276676178,
0.4353604316711426,
-0.22656790912151337,
-0.10171812772750854,
0.007661540061235428,
0.6051025986671448,
0.05677644535899162,
-0.38784947991371155,
0.5591932535171509,
-0.12213075160980225,
-0.022498609498143196,
0.19008831679821014,
0.10206685215234756,
0.08795750886201859,
0.5890628099441528,
-0.15645240247249603,
0.04548714682459831,
0.39454132318496704,
0.5005427002906799,
-0.43877333402633667,
-0.2563959062099457,
0.2966635823249817,
0.30511927604675293,
-0.1579093486070633,
-0.030389852821826935,
0.2748245298862457,
0.24237966537475586,
-0.2620978355407715,
-0.09291021525859833,
-0.3873695731163025,
0.22686120867729187,
-0.28152838349342346,
-0.01161121018230915,
-0.4437786340713501,
-0.07701908051967621,
0.07869961112737656,
0.20585298538208008,
-0.31555500626564026,
0.04443570226430893,
-0.29540470242500305,
0.30631110072135925,
-0.004683395382016897,
-0.014125463552772999,
0.14626654982566833,
-0.05597599595785141,
-0.04381155967712402,
-0.3790053129196167,
0.04777845740318298,
-0.24339808523654938,
-0.05428757146000862,
0.2168339639902115,
-0.3252420127391815,
0.3133120834827423,
0.4564044177532196,
0.04468224197626114,
0.016498401761054993,
-0.06673574447631836,
-0.08281731605529785,
-0.008705743588507175,
0.20810925960540771,
-0.05901578068733215,
0.13942532241344452,
0.13059675693511963,
-0.10889016091823578,
0.005766755901277065,
-0.41327884793281555,
-0.17478039860725403,
0.38415804505348206,
0.13877619802951813,
0.33121928572654724,
0.04103294759988785,
-0.2562461793422699,
-0.2217213362455368,
0.03179192543029785,
-0.017943739891052246,
-0.19988371431827545,
0.24816149473190308,
0.10707078129053116,
0.14068098366260529,
-0.10539695620536804,
-0.04891892522573471,
-0.4211726188659668,
0.6321430206298828,
0.19316135346889496,
-0.45750194787979126,
-0.12101583182811737,
-0.2958076596260071,
-0.4957219064235687,
0.08989155292510986,
0.01853678561747074,
-0.08422943949699402,
0.37334203720092773,
0.29948607087135315,
0.4935484826564789,
0.04187904670834541,
-0.13970395922660828,
0.06137022003531456,
-0.0776107981801033,
0.4077976942062378,
-0.08410369604825974,
0.008401081897318363,
0.0422825925052166,
0.2542155385017395,
-0.21449488401412964,
-0.4766700565814972,
0.4295182526111603,
0.21776802837848663,
-0.11160735785961151,
-0.19582822918891907,
0.11958689987659454,
-0.23763012886047363,
0.4204726219177246,
0.35872048139572144,
0.1112731546163559,
0.08403129130601883,
0.32278671860694885,
-0.08306396007537842,
0.2185940146446228,
-0.12359213083982468,
0.07730057090520859,
0.33009347319602966,
-0.10250233113765717,
0.08245238661766052,
-0.08370601385831833,
0.4998011887073517,
-0.23689642548561096,
-0.031085245311260223,
-0.3372487723827362,
-0.09288407862186432,
-0.13427546620368958,
0.04731476306915283,
-0.33812689781188965,
0.17389704287052155,
0.23734359443187714,
-0.013334942050278187,
0.2018321454524994,
0.24961061775684357,
-0.2224586457014084,
-0.07287053018808365,
0.2571421265602112,
0.03017740324139595,
-0.20300263166427612,
0.14159545302391052,
0.06723976135253906,
0.1613488644361496,
0.16631612181663513,
-0.330064058303833,
-0.08233661949634552,
0.1679610162973404,
-0.1623270958662033,
-0.14814773201942444,
0.3159275949001312,
-0.26836925745010376,
0.07567398250102997,
-0.160504549741745,
0.29905399680137634,
-0.024385035037994385,
-0.13280615210533142,
-0.43342694640159607,
-0.28278663754463196
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
Yes this is a known issue: #625
We're working on making the precision kept for numpy :)
To specify the precision of the integers, currently one needs to specify the output features with `.map(..., features=output_features)`
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 35
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
Yes this is a known issue: #625
We're working on making the precision kept for numpy :)
To specify the precision of the integers, currently one needs to specify the output features with `.map(..., features=output_features)`
|
[
-0.2853323221206665,
-0.21878673136234283,
-0.02809837833046913,
0.2345818430185318,
0.3253430426120758,
0.06384386122226715,
0.453639417886734,
0.20494325459003448,
0.6538360118865967,
-0.033811893314123154,
0.1011127158999443,
0.4731721580028534,
0.12746283411979675,
-0.16990232467651367,
0.06348063051700592,
0.10077667236328125,
0.38457587361335754,
0.17021504044532776,
0.40072545409202576,
-0.2281004935503006,
-0.3928016126155853,
-0.02229231968522072,
-0.09566029161214828,
-0.02678372897207737,
-0.21283654868602753,
-0.10197847336530685,
-0.03614107519388199,
0.05445539951324463,
-0.10710366070270538,
-0.2511245012283325,
0.021518856287002563,
-0.13438653945922852,
0.33682915568351746,
0.23380345106124878,
-0.0001270738575840369,
-0.19987519085407257,
0.047525838017463684,
0.1346091777086258,
-0.22976985573768616,
0.35131555795669556,
0.4877157211303711,
-0.6189039945602417,
0.21659116446971893,
-0.38998544216156006,
0.1582985520362854,
-0.18954360485076904,
-0.30146750807762146,
-0.26657983660697937,
-0.036805253475904465,
-0.12143652886152267,
0.04507321119308472,
0.50765460729599,
-0.23216331005096436,
0.13931117951869965,
-0.28551462292671204,
0.30359506607055664,
-0.20538067817687988,
0.06531450152397156,
0.4982052445411682,
0.05492773279547691,
-0.03457865118980408,
-0.05178318917751312,
-0.16833212971687317,
-0.030210353434085846,
0.30905652046203613,
0.10794465988874435,
0.4078352153301239,
0.11713183671236038,
-0.008019582368433475,
0.11995740979909897,
0.49658873677253723,
0.033556368201971054,
-0.08468540757894516,
-0.34170201420783997,
-0.11129549890756607,
-0.41445448994636536,
0.32938122749328613,
0.09119191020727158,
-0.34903523325920105,
0.17240722477436066,
-0.04704790562391281,
-0.07980328798294067,
0.013933411799371243,
0.22459682822227478,
-0.15581214427947998,
-0.09137997031211853,
0.01973813585937023,
0.13173474371433258,
0.22764673829078674,
-0.1148117333650589,
0.08456487208604813,
0.010315586812794209,
0.21365776658058167,
0.42485302686691284,
-0.4246661067008972,
-0.23531651496887207,
0.020827654749155045,
0.014245700091123581,
-0.16532565653324127,
0.010203816927969456,
0.18224193155765533,
0.25157660245895386,
-0.18628473579883575,
0.021925413981080055,
0.31296294927597046,
0.4280666410923004,
-0.1733580231666565,
0.1863623410463333,
0.09277454018592834,
-0.2433655709028244,
0.14129555225372314,
0.015262995846569538,
-0.1005450189113617,
0.042258456349372864,
0.5480381846427917,
-0.46810588240623474,
-0.16331245005130768,
-0.13201667368412018,
-0.14220547676086426,
0.22771526873111725,
0.4887233376502991,
-0.041785165667533875,
0.15613314509391785,
0.14554531872272491,
0.08063499629497528,
0.5697731375694275,
-0.05629638954997063,
0.11948414891958237,
-0.18076792359352112,
-0.1578468680381775,
-0.08431904017925262,
-0.3356250822544098,
-0.05626433715224266,
0.1903008073568344,
0.04029892012476921,
0.3683847188949585,
-0.06836473941802979,
0.15411943197250366,
-0.19811628758907318,
0.06852531433105469,
-0.117170549929142,
-0.164500892162323,
0.23330344259738922,
0.18566426634788513,
-0.13804171979427338,
0.255790114402771,
0.1359822303056717,
-0.19318543374538422,
-0.4076717495918274,
0.4262596666812897,
-0.16461800038814545,
-0.340271919965744,
-0.4790651202201843,
0.009015725925564766,
-0.18660980463027954,
0.003799655009061098,
-0.3539023697376251,
-0.16919180750846863,
0.22021673619747162,
0.06959964334964752,
-0.0052033173851668835,
-0.24409392476081848,
-0.11406514793634415,
-0.15639728307724,
-0.049396026879549026,
0.07692654430866241,
-0.30920499563217163,
0.19040535390377045,
-0.17174018919467926,
0.3061508536338806,
0.30658283829689026,
0.7243397235870361,
-0.18923766911029816,
0.21684518456459045,
-0.28305384516716003,
0.23718324303627014,
0.46021807193756104,
-0.04600805416703224,
-0.35748645663261414,
0.6271563768386841,
-0.10661140829324722,
-0.07849729806184769,
0.0641867071390152,
0.5633760094642639,
0.2529533803462982,
-0.19016583263874054,
0.14849962294101715,
0.6897597312927246,
0.10922158509492874,
0.19916117191314697,
-0.4090479612350464,
-0.0733785405755043,
0.09521899372339249,
0.43981096148490906,
-0.4073921740055084,
0.13201367855072021,
0.07750247418880463,
-0.03250361979007721,
0.21448269486427307,
0.10833104699850082,
-0.06704836338758469,
0.2884329855442047,
0.22472287714481354,
-0.08269554376602173,
-0.01573244296014309,
0.27096033096313477,
-0.17981672286987305,
0.15948109328746796,
0.41643163561820984,
-0.16293221712112427,
-0.03835305944085121,
-0.17968060076236725,
-0.322957307100296,
0.3180887997150421,
-0.0788331925868988,
0.5116457939147949,
-0.1500651091337204,
0.023600490763783455,
0.12039751559495926,
-0.10227707773447037,
-0.07345794141292572,
-0.01742461696267128,
-0.282534122467041,
-0.09660246223211288,
-0.11306227743625641,
0.015497986227273941,
0.15252086520195007,
-0.07541469484567642,
-0.39991214871406555,
0.011529024690389633,
0.06480817496776581,
0.014565841294825077,
-0.22117206454277039,
0.3539468050003052,
0.13230670988559723,
-0.08655566722154617,
-0.11877461522817612,
0.26634132862091064,
0.18616816401481628,
0.07910790294408798,
0.39644619822502136,
0.09860721975564957,
0.20529380440711975,
-0.2505773901939392,
-0.11209883540868759,
0.48445063829421997,
-0.19625526666641235,
0.1562957465648651,
-0.2818818688392639,
-0.07454989850521088,
0.4282451272010803,
0.18920637667179108,
0.14951947331428528,
-0.0909324437379837,
0.17811693251132965,
0.32161378860473633,
0.21765699982643127,
0.2503773868083954,
-0.22431370615959167,
0.23972409963607788,
0.2951154112815857,
-0.34967711567878723,
0.04049085080623627,
0.22248594462871552,
0.04278187453746796,
-0.29082372784614563,
-0.02335790917277336,
-0.19918744266033173,
0.35784077644348145,
0.07376831769943237,
0.0659109428524971,
-0.2941616177558899,
-0.09750795364379883,
-0.19707292318344116,
0.0982198715209961,
-0.013992564752697945,
-0.09826264530420303,
0.08082114905118942,
-0.049545615911483765,
-0.16877615451812744,
-0.26800599694252014,
0.15393835306167603,
0.044660843908786774,
0.3528860807418823,
-0.3059110939502716,
0.09731942415237427,
-0.012762694619596004,
0.25217488408088684,
-0.060474567115306854,
-0.30141833424568176,
0.05523347854614258,
-0.2555602490901947,
-0.21184679865837097,
0.24825750291347504,
-0.04742518812417984,
-0.14370684325695038,
-0.08144857734441757,
0.3157680332660675,
0.2143785059452057,
-0.362174391746521,
-0.3067258596420288,
-0.23659799993038177,
-0.11833755671977997,
-0.16991716623306274,
0.3378155529499054,
0.08722183853387833,
0.19634276628494263,
-0.07358644157648087,
-0.1557130664587021,
-0.19352875649929047,
-0.09777529537677765,
-0.168015256524086,
0.08165320008993149,
0.19382089376449585,
-0.18364085257053375,
0.35602474212646484,
-0.5311705470085144,
0.03509407117962837,
0.2957320809364319,
-0.2823810577392578,
-0.16427966952323914,
0.3820289671421051,
-0.09026656299829483,
-0.3041521906852722,
0.05622450262308121,
0.14901970326900482,
-0.22807742655277252,
-0.22620652616024017,
0.14554740488529205,
0.05636321008205414,
0.11589299142360687,
-0.2805105149745941,
0.09015298634767532,
-0.028888771310448647,
0.46661171317100525,
-0.1933828592300415,
-0.251342236995697,
-0.18547585606575012,
0.6473259329795837,
0.03346598148345947,
-0.2793291211128235,
-0.14354443550109863,
0.0893823429942131,
-0.11679593473672867,
-0.0809701606631279,
-0.4640565812587738,
0.15442821383476257,
-0.39442721009254456,
0.5134151577949524,
-0.21227793395519257,
0.10998401790857315,
0.1466541290283203,
-0.31038355827331543,
0.048179976642131805,
0.21147237718105316,
-0.05940491333603859,
0.15112058818340302,
0.15545278787612915,
0.12057916820049286,
0.07825800031423569,
0.623723030090332,
-0.2136441022157669,
0.28854990005493164,
-0.1777595579624176,
-0.17282086610794067,
0.3498391807079315,
0.06958790123462677,
0.24160981178283691,
-0.3530932068824768,
-0.14647234976291656,
-0.2309066206216812,
0.07448376715183258,
-0.375937283039093,
0.1659778356552124,
-0.014044109731912613,
-0.2986569404602051,
0.030101118609309196,
-0.007599378935992718,
-0.13198398053646088,
-0.0708855539560318,
0.2679993510246277,
0.0446150042116642,
0.06900579482316971,
-0.08562954515218735,
0.2743787169456482,
-0.36196473240852356,
-0.22059601545333862,
-0.07804267853498459,
-0.010208169929683208,
0.16853144764900208,
-0.2418084740638733,
-0.5344130396842957,
-0.12252849340438843,
-0.4297580420970917,
0.17825981974601746,
-0.17698146402835846,
0.5807370543479919,
0.09802596271038055,
-0.33669885993003845,
0.3795429766178131,
0.06240062788128853,
0.63752681016922,
0.24693946540355682,
0.06084201857447624,
0.14157214760780334,
-0.13655801117420197,
-0.7212393283843994,
0.028624042868614197,
0.22835712134838104,
-0.11987440288066864,
0.36818328499794006,
0.6995574235916138,
-0.10672793537378311,
-0.09365247189998627,
-0.12645314633846283,
0.36356663703918457,
-0.2390453815460205,
-0.42941221594810486,
-0.145422101020813,
-0.3395490348339081,
-0.04866084083914757,
0.14128805696964264,
0.20775748789310455,
0.5102293491363525,
0.3965984582901001,
0.003108454868197441,
-0.209640771150589,
-0.047388169914484024,
-0.040211763232946396,
0.03798823431134224,
0.33841198682785034,
-0.05848325416445732,
0.367016077041626,
-0.2865023612976074,
0.21275748312473297,
-0.16021481156349182,
0.412699818611145,
-0.20220346748828888,
-0.07197562605142593,
0.33353251218795776,
-0.20522430539131165,
-0.011200438253581524,
0.3617824912071228,
0.2375919669866562,
-0.07244057953357697,
-0.13867676258087158,
0.2013561874628067,
-0.1970270574092865,
-0.13191232085227966,
-0.16177980601787567,
0.010737035423517227,
-0.02668399177491665,
-0.11307685822248459,
0.33122432231903076,
0.059906795620918274,
0.055409520864486694,
0.19731296598911285,
-0.25780028104782104,
0.10073237866163254,
0.6957809329032898,
0.20668219029903412,
1.0700023174285889,
-0.42970067262649536,
0.026172302663326263,
0.18307365477085114,
0.13322921097278595,
-0.06649448722600937,
-0.16220779716968536,
-0.29581063985824585,
-0.3466533422470093,
0.10414063930511475,
0.1430860012769699,
-0.20203948020935059,
-0.12702785432338715,
0.3857884407043457,
0.16550792753696442,
-0.07577025890350342,
-0.31934043765068054,
0.26464053988456726,
-0.3175811767578125,
0.3741784393787384,
0.027962611988186836,
-0.43718406558036804,
-0.5361624956130981,
-0.020622555166482925,
-0.002340717241168022,
-0.04538649693131447,
0.014670255593955517,
0.1655905842781067,
-0.017110222950577736,
-0.24218466877937317,
-0.03789135068655014,
-0.21569661796092987,
0.13155512511730194,
0.23879730701446533,
0.22911086678504944,
-0.3089767396450043,
-0.18665720522403717,
0.40683451294898987,
0.49679481983184814,
-0.14964377880096436,
-0.04507993534207344,
0.14935947954654694,
0.1311119943857193,
0.1146295964717865,
0.172549307346344,
-0.2026841640472412,
0.12100144475698471,
-0.0790863037109375,
0.11398611962795258,
-0.11977628618478775,
-0.2074473798274994,
-0.41526901721954346,
-0.16806405782699585,
0.09907681494951248,
0.29443415999412537,
-0.23488448560237885,
-0.2459644377231598,
-0.41135919094085693,
0.22559897601604462,
-0.08799298852682114,
0.017128266394138336,
0.3532116413116455,
0.12834979593753815,
0.2408352494239807,
-0.11670226603746414,
-0.20578552782535553,
-0.03693879023194313,
0.3736335039138794,
0.09633364528417587,
-0.382668673992157,
0.22738997638225555,
0.04788975417613983,
-0.23052844405174255,
-0.17430874705314636,
0.363232284784317,
0.247068852186203,
-0.4045790731906891,
0.16401562094688416,
0.016055764630436897,
-0.022865481674671173,
-0.03843230754137039,
0.12885427474975586,
0.21640871465206146,
0.022230030968785286,
-0.16494721174240112,
-0.2441234439611435,
-0.5539371371269226,
-0.07415914535522461,
0.23396998643875122,
0.0861404538154602,
0.17397145926952362,
-0.5396533608436584,
-0.22219400107860565,
0.05973903089761734,
-0.13641312718391418,
-0.034185994416475296,
-0.019056951627135277,
0.10441334545612335,
0.12571954727172852,
-0.007480956148356199,
0.14179502427577972,
-0.044320493936538696,
0.058747414499521255,
-0.14366306364536285,
-0.01127156987786293,
-0.06585909426212311,
0.10351374745368958,
0.1987861543893814,
-0.045675188302993774,
-0.316766619682312,
-0.18721866607666016,
-0.4499419927597046,
-0.16622412204742432,
-0.3511000871658325,
-0.17271684110164642,
0.05607489123940468,
-0.06593619287014008,
-0.2894797921180725,
0.37357744574546814,
0.12479225546121597,
0.039902105927467346,
0.37562522292137146,
-0.09260985255241394,
0.4059252440929413,
-0.059630025178194046,
0.13812360167503357,
0.21675162017345428,
-0.16988973319530487,
-0.3051186203956604,
0.14277301728725433,
0.24663643538951874,
-0.10162373632192612,
0.35796278715133667,
-0.2795628607273102,
0.03423936292529106,
0.2548421621322632,
0.0009385355515405536,
0.15598495304584503,
-0.20342707633972168,
-0.3396357297897339,
0.20076991617679596,
0.06537219136953354,
-0.02985590137541294,
-0.2698596119880676,
-0.004884864669293165,
-0.07078085839748383,
-0.2545436918735504,
0.3708547353744507,
0.4399251937866211,
-0.20431707799434662,
-0.12478211522102356,
0.0630112886428833,
0.5689046382904053,
-0.054268140345811844,
-0.4450156092643738,
0.7241817712783813,
-0.009848217479884624,
-0.015166716650128365,
0.17009085416793823,
0.08917442709207535,
0.05436769872903824,
0.511552095413208,
-0.24731944501399994,
0.10561369359493256,
0.33805277943611145,
0.46343302726745605,
-0.44253647327423096,
-0.28387975692749023,
0.34340187907218933,
0.2554889917373657,
-0.29005736112594604,
-0.1349402666091919,
0.17698542773723602,
0.24248318374156952,
-0.26569104194641113,
-0.07729319483041763,
-0.28439491987228394,
0.2597677409648895,
-0.30658188462257385,
0.07304433733224869,
-0.3176298141479492,
-0.014604978263378143,
0.03160026669502258,
0.08860977739095688,
-0.2566405236721039,
-0.017641006037592888,
-0.21503277122974396,
0.29638487100601196,
0.006170543842017651,
0.10566549748182297,
0.06638897955417633,
0.016994142904877663,
-0.05231832340359688,
-0.40440335869789124,
-0.03405483067035675,
-0.2851502299308777,
-0.04727168753743172,
0.2069103717803955,
-0.32413843274116516,
0.4127495586872101,
0.5296906232833862,
-0.01598113402724266,
0.11722563952207565,
0.04126499965786934,
-0.08098343759775162,
-0.02111976034939289,
0.15056946873664856,
-0.15377947688102722,
0.21459437906742096,
0.15045256912708282,
-0.09433828294277191,
-0.07718857377767563,
-0.32647237181663513,
-0.17219917476177216,
0.4279315173625946,
0.06872762739658356,
0.4512872099876404,
0.006875538732856512,
-0.34352678060531616,
-0.2708043158054352,
-0.01740288734436035,
0.019484149292111397,
-0.2078583985567093,
0.22002750635147095,
0.03675828501582146,
0.1026138961315155,
-0.013148892670869827,
-0.0386599563062191,
-0.3887903690338135,
0.516196608543396,
0.30528488755226135,
-0.4052085280418396,
-0.23700788617134094,
-0.275631308555603,
-0.6192657947540283,
0.10230041295289993,
0.08523087948560715,
-0.15629710257053375,
0.42013245820999146,
0.22998295724391937,
0.43417155742645264,
0.11455635726451874,
-0.12354303896427155,
0.12116365879774094,
-0.10239983350038528,
0.4559914171695709,
-0.07287358492612839,
0.031668521463871,
-0.01577846333384514,
0.17881621420383453,
-0.18815301358699799,
-0.4931190609931946,
0.42145228385925293,
0.2105385810136795,
-0.08320540934801102,
-0.14404354989528656,
0.11353094130754471,
-0.31831446290016174,
0.4916056990623474,
0.44174930453300476,
0.0854354277253151,
0.0012180113699287176,
0.3090946674346924,
0.03436160832643509,
0.2861712872982025,
-0.04965043440461159,
0.032520536333322525,
0.2648929953575134,
-0.14445266127586365,
-0.006359544117003679,
-0.09984859824180603,
0.35384470224380493,
-0.24459439516067505,
0.0030523405876010656,
-0.2362174689769745,
-0.19510041177272797,
-0.07650672644376755,
0.03176884725689888,
-0.2294909507036209,
0.21267777681350708,
0.32672685384750366,
-0.06659121811389923,
0.24039572477340698,
0.2829754650592804,
-0.2431834638118744,
-0.10565008968114853,
0.23058168590068817,
0.04047417640686035,
-0.14722393453121185,
0.004577551502734423,
0.15739771723747253,
0.024926019832491875,
0.15474309027194977,
-0.36738309264183044,
-0.13488076627254486,
0.2557358741760254,
-0.1095813661813736,
-0.12404975295066833,
0.3603813648223877,
-0.22748138010501862,
0.13320328295230865,
-0.13061974942684174,
0.27757325768470764,
-0.10017181187868118,
-0.07503025978803635,
-0.401541143655777,
-0.22522133588790894
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
Do you know what step is taking forever in the code ?
What happens if you interrupt the execution of the dataset loading ?
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 24
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
Do you know what step is taking forever in the code ?
What happens if you interrupt the execution of the dataset loading ?
|
[
-0.3577093183994293,
-0.19114480912685394,
-0.054289188235998154,
0.25220486521720886,
0.31780263781547546,
0.07409990578889847,
0.4124632179737091,
0.2019450068473816,
0.6933252811431885,
0.032103847712278366,
0.19329047203063965,
0.49876174330711365,
0.11994998902082443,
-0.0854376032948494,
0.07826466858386993,
0.1477900594472885,
0.33981749415397644,
0.23835532367229462,
0.44021064043045044,
-0.13399559259414673,
-0.30007192492485046,
-0.01537641417235136,
-0.14273619651794434,
0.04220304265618324,
-0.19942347705364227,
-0.15087547898292542,
-0.05226362496614456,
0.050290971994400024,
-0.14583010971546173,
-0.29063254594802856,
0.01900109089910984,
-0.01846364326775074,
0.273963987827301,
0.28162992000579834,
-0.00012624789087567478,
-0.2672604024410248,
0.06965156644582748,
0.19400717318058014,
-0.2356889694929123,
0.30611562728881836,
0.3798663020133972,
-0.44385650753974915,
0.20779244601726532,
-0.3478531837463379,
0.14909744262695312,
-0.27784714102745056,
-0.2573786973953247,
-0.3251238465309143,
-0.03732248768210411,
-0.16805733740329742,
0.04543730244040489,
0.446440190076828,
-0.30127954483032227,
0.08909010887145996,
-0.1744757890701294,
0.3106316328048706,
-0.12210533767938614,
0.03392902389168739,
0.5823898911476135,
-0.058395665138959885,
-0.0453893318772316,
-0.07516917586326599,
-0.17392657697200775,
-0.13054680824279785,
0.40716513991355896,
0.056238025426864624,
0.2787833511829376,
0.0998644009232521,
0.08400368690490723,
0.1261284202337265,
0.6219443082809448,
-0.020381340757012367,
0.05003746598958969,
-0.21612678468227386,
-0.07903704047203064,
-0.35771888494491577,
0.400055855512619,
0.003065202385187149,
-0.3239589035511017,
0.1873583346605301,
-0.08978226780891418,
-0.09547951072454453,
-0.0011592848459258676,
0.22606728971004486,
-0.1863955557346344,
-0.1411517709493637,
0.025637995451688766,
0.13442786037921906,
0.29870301485061646,
-0.11706981062889099,
0.05559187009930611,
-0.05631231516599655,
0.14978042244911194,
0.44450080394744873,
-0.4172326922416687,
-0.19118978083133698,
0.004219565074890852,
0.12442223727703094,
-0.17659617960453033,
0.10368210077285767,
0.14326655864715576,
0.21468251943588257,
-0.1279759407043457,
-0.01547288615256548,
0.2563340365886688,
0.37617430090904236,
-0.11284958571195602,
0.09652044624090195,
0.10396698862314224,
-0.32123681902885437,
-0.03959112614393234,
-0.0354098342359066,
-0.2497463822364807,
-0.018991734832525253,
0.48147958517074585,
-0.4471080005168915,
-0.20014971494674683,
-0.1323120892047882,
-0.05594350025057793,
0.2049456387758255,
0.4125044345855713,
-0.023576198145747185,
0.21817614138126373,
0.2371758073568344,
0.08638393878936768,
0.4874037504196167,
-0.09572774171829224,
-0.03337791934609413,
-0.208841472864151,
-0.14727357029914856,
-0.06814179569482803,
-0.2910842001438141,
-0.18551413714885712,
0.19314642250537872,
0.044880300760269165,
0.258633553981781,
-0.1528828740119934,
0.20156949758529663,
-0.21301224827766418,
0.0637810081243515,
-0.13228608667850494,
-0.15582354366779327,
0.2541336119174957,
0.1592627912759781,
-0.13267630338668823,
0.20268578827381134,
0.13484309613704681,
-0.3092461824417114,
-0.40581637620925903,
0.4017786383628845,
-0.1136581301689148,
-0.3545090854167938,
-0.4384789764881134,
0.01373959518969059,
-0.2659832239151001,
-0.03275875374674797,
-0.3687290847301483,
-0.0985773354768753,
0.09292645007371902,
0.04337907209992409,
-0.04096454009413719,
-0.1871863305568695,
-0.09545835107564926,
-0.04694369062781334,
0.005503453779965639,
0.19394727051258087,
-0.4462915062904358,
0.21342161297798157,
-0.22795668244361877,
0.22419473528862,
0.2977646291255951,
0.6412933468818665,
-0.27573010325431824,
0.336572527885437,
-0.2637674808502197,
0.27007389068603516,
0.49105995893478394,
-0.04065930098295212,
-0.3431296646595001,
0.7155477404594421,
-0.15045477449893951,
-0.19083549082279205,
0.021460888907313347,
0.5547387599945068,
0.28174924850463867,
-0.07814078032970428,
0.09288918226957321,
0.6829158663749695,
0.09842870384454727,
0.180847629904747,
-0.37085777521133423,
-0.05091133713722229,
0.07244332879781723,
0.4867713749408722,
-0.4286130368709564,
0.18167538940906525,
0.15299288928508759,
-0.016683099791407585,
0.19582541286945343,
0.05719887092709541,
-0.07413039356470108,
0.25891682505607605,
0.23102101683616638,
0.022632651031017303,
0.03710106015205383,
0.21786636114120483,
-0.21010805666446686,
0.12584619224071503,
0.5279899835586548,
-0.22420144081115723,
-0.008204836398363113,
-0.18919551372528076,
-0.3130004107952118,
0.33447808027267456,
-0.13242486119270325,
0.6150862574577332,
-0.18873408436775208,
0.011145112104713917,
0.05306401476264,
-0.15797854959964752,
-0.2006952315568924,
-0.02706831879913807,
-0.279372900724411,
-0.09781870990991592,
-0.12106366455554962,
0.006897717714309692,
0.14565560221672058,
-0.03321586921811104,
-0.4086242914199829,
-0.028824469074606895,
-0.011870610527694225,
0.006937173195183277,
-0.1949533373117447,
0.3073677122592926,
0.17596155405044556,
0.04970840364694595,
0.004962728824466467,
0.14394797384738922,
0.08917764574289322,
0.013555777259171009,
0.3173198401927948,
-0.03894740715622902,
0.2369769811630249,
-0.2791324555873871,
-0.08358544111251831,
0.4249716103076935,
-0.22614164650440216,
0.23904894292354584,
-0.2577948272228241,
-0.13333715498447418,
0.3874967694282532,
0.09807656705379486,
0.13150115311145782,
0.04210828244686127,
0.2405777871608734,
0.319724440574646,
0.2842444181442261,
0.29783275723457336,
-0.29332563281059265,
0.23341397941112518,
0.28156179189682007,
-0.39911776781082153,
-0.13067470490932465,
0.170673206448555,
0.08382442593574524,
-0.2651275098323822,
-0.037628792226314545,
-0.1081739291548729,
0.2923428416252136,
0.12961417436599731,
0.044421855360269547,
-0.3026948571205139,
-0.05116903409361839,
-0.17254655063152313,
0.13345171511173248,
-0.02856818586587906,
-0.06550262123346329,
0.0821656882762909,
-0.07907912880182266,
-0.1506347507238388,
-0.3358420431613922,
0.0008959630504250526,
0.11015734821557999,
0.40407025814056396,
-0.3022896945476532,
0.20848095417022705,
-0.10157511383295059,
0.06678007543087006,
-0.011514177545905113,
-0.21695548295974731,
0.13700754940509796,
-0.1746390461921692,
-0.2419867068529129,
0.21496744453907013,
-0.009561572223901749,
-0.13589948415756226,
-0.039819732308387756,
0.4075895845890045,
0.17402563989162445,
-0.41360607743263245,
-0.38833364844322205,
-0.292763352394104,
-0.15159425139427185,
-0.1457691192626953,
0.4902334213256836,
0.11442375183105469,
0.21297025680541992,
-0.02061172015964985,
-0.1446678638458252,
-0.21131262183189392,
-0.18238350749015808,
-0.11958834528923035,
0.04845240339636803,
0.17046158015727997,
-0.19400984048843384,
0.33330652117729187,
-0.544780969619751,
-0.03935622423887253,
0.21536985039710999,
-0.28547805547714233,
-0.2662697434425354,
0.35336244106292725,
-0.12887005507946014,
-0.3315472900867462,
0.008426571264863014,
0.08622004091739655,
-0.13683098554611206,
-0.20574282109737396,
0.2223113775253296,
-0.0022183533292263746,
0.11047763377428055,
-0.28180813789367676,
0.09971446543931961,
0.051280677318573,
0.44671452045440674,
-0.25791698694229126,
-0.17711104452610016,
-0.25613027811050415,
0.6002793312072754,
0.016811735928058624,
-0.2479853630065918,
-0.071955606341362,
0.10865125805139542,
-0.11674684286117554,
-0.04590533301234245,
-0.5427109599113464,
0.2715318500995636,
-0.46488040685653687,
0.4532857835292816,
-0.26373744010925293,
0.039822835475206375,
0.09440002590417862,
-0.25583967566490173,
0.03579801693558693,
0.23439742624759674,
-0.10717664659023285,
0.16613447666168213,
0.0742160752415657,
0.10167523473501205,
0.054877787828445435,
0.6813268065452576,
-0.22220659255981445,
0.31730419397354126,
-0.22168177366256714,
-0.1420523226261139,
0.3213469684123993,
0.014683447778224945,
0.27030476927757263,
-0.349272221326828,
-0.16007059812545776,
-0.252798855304718,
0.13922877609729767,
-0.3603523075580597,
0.1603136509656906,
-0.08257320523262024,
-0.37041208148002625,
0.02584109455347061,
0.02446131967008114,
-0.02700353041291237,
-0.03766388073563576,
0.21606355905532837,
-0.035276319831609726,
0.06757237762212753,
-0.09721870720386505,
0.19489578902721405,
-0.36135414242744446,
-0.23533278703689575,
-0.14725956320762634,
0.024484431371092796,
0.1677013635635376,
-0.23056244850158691,
-0.6383600234985352,
-0.06358686834573746,
-0.40902528166770935,
0.1462831348180771,
-0.1857919692993164,
0.44814956188201904,
0.031524658203125,
-0.27205297350883484,
0.4575553834438324,
-0.012817407958209515,
0.6455438137054443,
0.3132840692996979,
0.06610555946826935,
0.17901542782783508,
-0.16675230860710144,
-0.6522542238235474,
0.0510064996778965,
0.2501664161682129,
-0.07014826685190201,
0.35102465748786926,
0.6979835033416748,
-0.024868642911314964,
-0.1324615776538849,
-0.08564186841249466,
0.3518332242965698,
-0.23398157954216003,
-0.5040020942687988,
-0.15912523865699768,
-0.38021931052207947,
-0.11852465569972992,
0.2002326250076294,
0.14211435616016388,
0.5277094841003418,
0.3856261074542999,
-0.06890188902616501,
-0.17927291989326477,
-0.07304991781711578,
0.06714755296707153,
0.0946522057056427,
0.2961646616458893,
-0.07503299415111542,
0.4328199326992035,
-0.278957337141037,
0.13897939026355743,
-0.15386740863323212,
0.4000517427921295,
-0.11495594680309296,
-0.028303299099206924,
0.3496226370334625,
-0.2214355617761612,
0.09193959832191467,
0.43162381649017334,
0.22278641164302826,
0.06503401696681976,
-0.11203505843877792,
0.20198796689510345,
-0.2372809797525406,
-0.021790405735373497,
-0.17024987936019897,
0.03530516102910042,
-0.04366721957921982,
-0.15173333883285522,
0.2699771225452423,
0.03807569667696953,
-0.013592952862381935,
0.23790672421455383,
-0.07892686128616333,
0.12830859422683716,
0.6811946034431458,
0.14082351326942444,
1.1918375492095947,
-0.4987134635448456,
-0.008295156992971897,
0.09612385183572769,
0.14300313591957092,
-0.1005682572722435,
-0.15190550684928894,
-0.3217872977256775,
-0.33884236216545105,
0.08119024336338043,
0.148240327835083,
-0.24898798763751984,
-0.12329232692718506,
0.4238457679748535,
0.16370227932929993,
-0.12605121731758118,
-0.24017275869846344,
0.31486985087394714,
-0.34122127294540405,
0.4762759208679199,
0.008707393892109394,
-0.44261810183525085,
-0.4776327908039093,
-0.011277938261628151,
-0.015101314522325993,
-0.0698859766125679,
-0.0370834656059742,
0.17635223269462585,
0.018625659868121147,
-0.17604678869247437,
-0.039972785860300064,
-0.14250248670578003,
0.1810692548751831,
0.15281464159488678,
0.15709951519966125,
-0.23413488268852234,
-0.06175939366221428,
0.48833441734313965,
0.40867528319358826,
-0.008737941272556782,
-0.002723613753914833,
0.2221081703901291,
0.07054106146097183,
0.1289336085319519,
0.1028657779097557,
-0.250002384185791,
0.05714791640639305,
-0.1275210678577423,
0.042930662631988525,
-0.1080663651227951,
-0.15557365119457245,
-0.49906018376350403,
-0.11314013600349426,
0.16059757769107819,
0.35144472122192383,
-0.12129475921392441,
-0.22764086723327637,
-0.23955850303173065,
0.20340250432491302,
-0.0467718131840229,
0.018432023003697395,
0.3179137706756592,
0.17374290525913239,
0.2757478356361389,
-0.021258944645524025,
-0.2673329710960388,
0.016261445358395576,
0.3020540177822113,
0.017084037885069847,
-0.30223673582077026,
0.33094915747642517,
0.08656003326177597,
-0.24297881126403809,
-0.2007221132516861,
0.37778496742248535,
0.3468032479286194,
-0.4271838665008545,
0.11520589143037796,
-0.021538900211453438,
0.042957331985235214,
0.07889916002750397,
0.06875769793987274,
0.1683829128742218,
-0.013996124267578125,
-0.12388366460800171,
-0.2372080534696579,
-0.5546431541442871,
-0.050681862980127335,
0.18724079430103302,
0.14709649980068207,
0.21970252692699432,
-0.428313285112381,
-0.28385254740715027,
0.09445075690746307,
-0.14462800323963165,
0.07142527401447296,
-0.1175413578748703,
0.12903454899787903,
0.09725474566221237,
-0.06040908023715019,
0.07079693675041199,
-0.16169866919517517,
0.05735510587692261,
-0.10874031484127045,
0.027835868299007416,
-0.09041878581047058,
0.07738237082958221,
0.21503771841526031,
-0.035608209669589996,
-0.2600286602973938,
-0.18348567187786102,
-0.48418501019477844,
-0.17619633674621582,
-0.31145790219306946,
-0.13650231063365936,
0.017776459455490112,
-0.048217397183179855,
-0.40427184104919434,
0.3332410156726837,
0.17706848680973053,
0.013678884133696556,
0.3767217993736267,
-0.035872120410203934,
0.4288910925388336,
-0.05987570807337761,
0.12393465638160706,
0.2064659297466278,
-0.1862601488828659,
-0.29383888840675354,
0.1813880354166031,
0.34107330441474915,
-0.12960176169872284,
0.32391101121902466,
-0.2449260950088501,
0.06583969295024872,
0.2200419306755066,
-0.004793207626789808,
0.14786593616008759,
-0.12275103479623795,
-0.2767176032066345,
0.28963160514831543,
0.048109542578458786,
0.017740774899721146,
-0.22494536638259888,
-0.06192564591765404,
-0.13682867586612701,
-0.2501654624938965,
0.28540483117103577,
0.3567182123661041,
-0.12377869337797165,
-0.10791015625,
0.04490037262439728,
0.5746721029281616,
0.02023262344300747,
-0.4783284664154053,
0.5880818963050842,
-0.07038819044828415,
-0.038569748401641846,
0.22769096493721008,
0.23147594928741455,
-0.023740211501717567,
0.6256371736526489,
-0.2442820817232132,
0.06918065994977951,
0.34436243772506714,
0.6154093742370605,
-0.3641612231731415,
-0.34805727005004883,
0.3312951922416687,
0.2959240674972534,
-0.2161136269569397,
-0.16584432125091553,
0.17474843561649323,
0.1850937306880951,
-0.22197647392749786,
-0.13200721144676208,
-0.22781917452812195,
0.3173699378967285,
-0.2714671790599823,
0.109601229429245,
-0.37704846262931824,
0.008414522744715214,
0.015545972622931004,
0.19574610888957977,
-0.2598244845867157,
0.012041785754263401,
-0.28393861651420593,
0.2939409911632538,
0.045079924166202545,
0.07613644748926163,
0.0730992779135704,
0.00681837135925889,
-0.04834567755460739,
-0.4155162572860718,
-0.014570212922990322,
-0.35861700773239136,
-0.03203325718641281,
0.28371500968933105,
-0.29353025555610657,
0.34215396642684937,
0.4888450503349304,
-0.0014259290182963014,
0.07118810713291168,
-0.050182685256004333,
-0.09790941327810287,
0.05053343623876572,
0.1878013014793396,
-0.11988595128059387,
0.297021746635437,
0.19946478307247162,
-0.1026526466012001,
-0.05173938348889351,
-0.4618656039237976,
-0.14802218973636627,
0.4318401515483856,
0.059543427079916,
0.32712510228157043,
0.100613534450531,
-0.296132892370224,
-0.3213714063167572,
0.12290281057357788,
-0.0750291496515274,
-0.10753413289785385,
0.2633371651172638,
0.0025235700886696577,
0.09568199515342712,
-0.05168422684073448,
-0.03506043553352356,
-0.38847601413726807,
0.5839489102363586,
0.36170247197151184,
-0.35272178053855896,
-0.21704024076461792,
-0.3836134970188141,
-0.6794734597206116,
0.07334273308515549,
0.039468713104724884,
-0.0809103474020958,
0.4049057066440582,
0.23021003603935242,
0.4591103196144104,
0.05034537613391876,
-0.131979838013649,
0.1001790314912796,
-0.17489093542099,
0.39985987544059753,
-0.029578078538179398,
0.027893805876374245,
0.08285190165042877,
0.15512895584106445,
-0.26684316992759705,
-0.43601810932159424,
0.4621657431125641,
0.20742417871952057,
-0.10470609366893768,
-0.1270344853401184,
0.07791026681661606,
-0.3120558261871338,
0.39032405614852905,
0.35951510071754456,
0.006171596702188253,
0.12568281590938568,
0.3428463041782379,
0.10569778084754944,
0.2859571874141693,
-0.038630057126283646,
0.02404145523905754,
0.22898706793785095,
-0.08966237306594849,
-0.07773010432720184,
-0.05375281721353531,
0.41696697473526,
-0.1711570918560028,
-0.030059244483709335,
-0.299428790807724,
-0.10294181853532791,
-0.10976901650428772,
-0.07983602583408356,
-0.21384555101394653,
0.2689226567745209,
0.3082718849182129,
-0.005027481354773045,
0.20785999298095703,
0.2081073820590973,
-0.26288139820098877,
-0.021215122193098068,
0.24401739239692688,
0.018285149708390236,
-0.18102099001407623,
0.021585887297987938,
0.13004234433174133,
0.25620418787002563,
0.15014435350894928,
-0.26181891560554504,
-0.1183139979839325,
0.22754910588264465,
-0.15474113821983337,
-0.11179247498512268,
0.45114630460739136,
-0.24332080781459808,
0.18061493337154388,
-0.16490709781646729,
0.1835407018661499,
-0.08759292215108871,
-0.023800944909453392,
-0.4564530849456787,
-0.27922773361206055
] |
https://github.com/huggingface/datasets/issues/2099
|
load_from_disk takes a long time to load local dataset
|
After a synchronous discussion, we found that the cache file sizes have an enormous effect on the loading speed: smaller cache files result in faster load times. `num_proc` controls the number of cache files that are being written and is inversely proportional to the individual file size. In other words, increase `num_proc` for smaller cache files :)
Maybe this can be highlighted somewhere in the docs.
|
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
| 66
|
load_from_disk takes a long time to load local dataset
I have an extremely large tokenized dataset (24M examples) that loads in a few minutes. However, after adding a column similar to `input_ids` (basically a list of integers) and saving the dataset to disk, the load time goes to >1 hour. I've even tried using `np.uint8` after seeing #1985 but it doesn't seem to be helping (the total size seems to be smaller though).
Does anyone know what could be the issue? Or does the casting of that column to `int8` need to happen in the function that writes the arrow table instead of in the `map` where I create the list of integers?
Tagging @lhoestq since you seem to be working on these issues and PRs :)
After a synchronous discussion, we found that the cache file sizes have an enormous effect on the loading speed: smaller cache files result in faster load times. `num_proc` controls the number of cache files that are being written and is inversely proportional to the individual file size. In other words, increase `num_proc` for smaller cache files :)
Maybe this can be highlighted somewhere in the docs.
|
[
-0.3226240873336792,
-0.16081656515598297,
-0.07459086924791336,
0.24950341880321503,
0.2985532283782959,
0.03875795006752014,
0.42214062809944153,
0.2822898030281067,
0.7425705790519714,
-0.014207953587174416,
0.12869729101657867,
0.5218671560287476,
0.17107973992824554,
-0.06049439311027527,
0.10262901335954666,
0.1128978580236435,
0.33520951867103577,
0.24978645145893097,
0.4394032955169678,
-0.10520147532224655,
-0.24601399898529053,
0.04471324756741524,
-0.07327228784561157,
0.0021355468779802322,
-0.20164500176906586,
-0.07096530497074127,
0.049091886729002,
0.06037301942706108,
-0.15695901215076447,
-0.3110063970088959,
0.05762201547622681,
-0.030135974287986755,
0.248499795794487,
0.15607048571109772,
-0.00012407854956109077,
-0.25024867057800293,
0.0976850837469101,
0.16816456615924835,
-0.22154897451400757,
0.27775293588638306,
0.46923524141311646,
-0.45446643233299255,
0.20954188704490662,
-0.328671395778656,
0.10932020097970963,
-0.26154959201812744,
-0.2773522436618805,
-0.2344932109117508,
-0.1445317268371582,
-0.13924463093280792,
0.05780506879091263,
0.4935598075389862,
-0.33582407236099243,
0.03922903537750244,
-0.1054474487900734,
0.25247305631637573,
-0.21087652444839478,
0.027861058712005615,
0.5619878172874451,
-0.06428652256727219,
-0.15174777805805206,
-0.07232677191495895,
-0.1665259599685669,
-0.018640389665961266,
0.4654620587825775,
0.09135445952415466,
0.3007299602031708,
0.14813627302646637,
0.05861958488821983,
0.198486790060997,
0.6188423037528992,
0.06471934169530869,
0.0020859232172369957,
-0.2517004609107971,
-0.14467686414718628,
-0.3261279761791229,
0.4937446117401123,
-0.08503685146570206,
-0.28232645988464355,
0.1968882828950882,
-0.09191259741783142,
0.0032241197768598795,
-0.0007408537203446031,
0.18871672451496124,
-0.12726721167564392,
-0.137129008769989,
0.03568451851606369,
0.07392939180135727,
0.4173915982246399,
-0.08243420720100403,
0.09084844589233398,
0.081387959420681,
0.11084137856960297,
0.38068410754203796,
-0.44704097509384155,
-0.20224791765213013,
0.047486383467912674,
0.12675116956233978,
-0.15744344890117645,
0.12892146408557892,
0.2507868707180023,
0.2840559184551239,
-0.16239520907402039,
-0.014549581333994865,
0.19433581829071045,
0.48727962374687195,
-0.08866466581821442,
0.012222819030284882,
0.11127898842096329,
-0.2843339741230011,
-0.05222390592098236,
-0.025625523179769516,
-0.21610160171985626,
-0.08372344076633453,
0.45857080817222595,
-0.441186785697937,
-0.2838887870311737,
-0.15481585264205933,
-0.02633335441350937,
0.15212833881378174,
0.5146113634109497,
-0.08739901334047318,
0.21077953279018402,
0.22320066392421722,
0.07785113155841827,
0.6204010844230652,
-0.12894560396671295,
-0.04061971232295036,
-0.26988810300827026,
-0.19986601173877716,
-0.05552922934293747,
-0.30012011528015137,
-0.18921901285648346,
0.20598606765270233,
0.07792989164590836,
0.22827623784542084,
-0.06833362579345703,
0.16398650407791138,
-0.1342831254005432,
0.08258038014173508,
-0.11258817464113235,
-0.1415146142244339,
0.23631981015205383,
0.2305314540863037,
-0.12086942046880722,
0.1781396120786667,
0.1677367091178894,
-0.23451761901378632,
-0.46525728702545166,
0.33559513092041016,
-0.2128031700849533,
-0.41992807388305664,
-0.4273710548877716,
0.007253741379827261,
-0.2377501130104065,
-0.06519635021686554,
-0.3955851197242737,
-0.09143228083848953,
0.11735013872385025,
0.005325771868228912,
-0.042243584990501404,
-0.20466487109661102,
-0.16644583642482758,
-0.11673465371131897,
-0.043594397604465485,
0.1261853277683258,
-0.37849754095077515,
0.20955230295658112,
-0.16976523399353027,
0.24363233149051666,
0.3041912317276001,
0.7334476709365845,
-0.28414684534072876,
0.2297372668981552,
-0.21508270502090454,
0.30588385462760925,
0.4823358952999115,
-0.09054787456989288,
-0.3905162811279297,
0.6984345316886902,
-0.031540658324956894,
-0.19002388417720795,
0.12228111922740936,
0.5592473149299622,
0.3014049232006073,
-0.10817401856184006,
0.08447179943323135,
0.6842630505561829,
0.15197214484214783,
0.19316159188747406,
-0.44089722633361816,
-0.08897154778242111,
0.08636888861656189,
0.448525607585907,
-0.4481644630432129,
0.21063700318336487,
0.14923995733261108,
-0.05319679528474808,
0.13880762457847595,
0.06186420097947121,
-0.08243341743946075,
0.21827036142349243,
0.18041016161441803,
-0.05368606373667717,
0.08357081562280655,
0.2880488336086273,
-0.2089412957429886,
0.18035577237606049,
0.35682982206344604,
-0.2001405954360962,
0.1745307445526123,
-0.16228963434696198,
-0.2808540463447571,
0.2578670084476471,
-0.06381891667842865,
0.585084080696106,
-0.16558077931404114,
0.00026021446683444083,
0.12328241765499115,
-0.1895456314086914,
-0.18229496479034424,
0.005672986153513193,
-0.2607097625732422,
-0.13385723531246185,
-0.11870945990085602,
-0.05387017875909805,
0.14954589307308197,
-0.027685029432177544,
-0.34819939732551575,
-0.1139473021030426,
0.027414390817284584,
0.05044351890683174,
-0.23078329861164093,
0.3136666715145111,
0.23841558396816254,
0.07283037900924683,
-0.05409005284309387,
0.25362762808799744,
0.11779972165822983,
0.07992485165596008,
0.3854437470436096,
-0.034891221672296524,
0.15779633820056915,
-0.2845807373523712,
-0.11336161941289902,
0.4743834137916565,
-0.19458173215389252,
0.2044995278120041,
-0.23936179280281067,
-0.137626051902771,
0.411790668964386,
0.15338817238807678,
0.15237188339233398,
0.012217027135193348,
0.223919078707695,
0.32041749358177185,
0.3103180229663849,
0.35572800040245056,
-0.23611842095851898,
0.299849271774292,
0.27336281538009644,
-0.3111574053764343,
-0.16375009715557098,
0.1904306262731552,
0.06777206063270569,
-0.38967931270599365,
-0.04657748341560364,
-0.07187201082706451,
0.3178166449069977,
0.11086202412843704,
0.09678993374109268,
-0.3655157685279846,
-0.12630058825016022,
-0.268903911113739,
0.10357936471700668,
-0.09137237817049026,
-0.08132743090391159,
0.12685023248195648,
-0.08388341963291168,
-0.14077012240886688,
-0.3437017798423767,
0.07682246714830399,
0.05839370936155319,
0.3713032305240631,
-0.32269999384880066,
0.14422941207885742,
-0.11776465177536011,
0.10126491636037827,
0.08545789122581482,
-0.2584556043148041,
0.09924225509166718,
-0.19903326034545898,
-0.156940758228302,
0.23826143145561218,
-0.05954434722661972,
-0.22309327125549316,
0.015562620013952255,
0.3806127607822418,
0.16209523379802704,
-0.348373681306839,
-0.4424178898334503,
-0.2981948256492615,
-0.13660910725593567,
-0.1440678983926773,
0.40893518924713135,
0.18002218008041382,
0.12408920377492905,
-0.05146988108754158,
-0.1754905879497528,
-0.15410442650318146,
-0.1417028158903122,
-0.13396885991096497,
0.09719226509332657,
0.1634802520275116,
-0.20721925795078278,
0.2906838655471802,
-0.5274925827980042,
-0.04801909625530243,
0.24452179670333862,
-0.39203426241874695,
-0.2549419403076172,
0.36179301142692566,
-0.14786440134048462,
-0.30171096324920654,
-0.06069782003760338,
0.05052730813622475,
-0.1136070042848587,
-0.2817186415195465,
0.20053377747535706,
0.026803838089108467,
0.16294467449188232,
-0.16707223653793335,
0.08406873792409897,
0.024105707183480263,
0.43694832921028137,
-0.20906370878219604,
-0.20050854980945587,
-0.3366442024707794,
0.6655775308609009,
-0.06747353821992874,
-0.29439976811408997,
-0.11067131906747818,
0.16262005269527435,
-0.0999390110373497,
0.01767977699637413,
-0.4852062463760376,
0.17546865344047546,
-0.39910078048706055,
0.43612879514694214,
-0.18724869191646576,
0.023198232054710388,
0.09022131562232971,
-0.2943101227283478,
-0.010011578910052776,
0.19437964260578156,
-0.07355775684118271,
0.21525532007217407,
0.1402677744626999,
0.0760771781206131,
0.056654129177331924,
0.5815759897232056,
-0.20339272916316986,
0.293736070394516,
-0.19286632537841797,
-0.1441560983657837,
0.37971144914627075,
0.05088445171713829,
0.27698761224746704,
-0.3881303369998932,
-0.03853190690279007,
-0.23657330870628357,
0.07519116252660751,
-0.3433191478252411,
0.1972096860408783,
-0.041946809738874435,
-0.3988681137561798,
0.0004407695378176868,
0.011364081874489784,
0.0296951774507761,
-0.02585449628531933,
0.2768123149871826,
0.0031792286317795515,
0.0571150965988636,
-0.15805743634700775,
0.19552823901176453,
-0.3689616322517395,
-0.2207464724779129,
-0.03472144901752472,
0.0054609873332083225,
0.16753661632537842,
-0.2262936383485794,
-0.5818347334861755,
-0.045004893094301224,
-0.4573372006416321,
0.11027195304632187,
-0.15113279223442078,
0.431711882352829,
0.03268830105662346,
-0.32679542899131775,
0.4497906267642975,
0.016535969451069832,
0.599297821521759,
0.24267065525054932,
0.06538186967372894,
0.16910599172115326,
-0.19394320249557495,
-0.6289975643157959,
0.0009363196440972388,
0.2882150709629059,
-0.055801521986722946,
0.3640826940536499,
0.6817575097084045,
-0.02072858437895775,
-0.14278975129127502,
-0.17710280418395996,
0.29645442962646484,
-0.18256588280200958,
-0.4764576554298401,
-0.15646414458751678,
-0.3197125494480133,
-0.02988489158451557,
0.13619203865528107,
0.1223989725112915,
0.47304287552833557,
0.39702901244163513,
-0.05103088542819023,
-0.13971251249313354,
-0.0794898197054863,
0.0569177009165287,
0.10254618525505066,
0.3265591859817505,
-0.08313678950071335,
0.40170717239379883,
-0.26652660965919495,
0.17240680754184723,
-0.14368212223052979,
0.35782575607299805,
-0.15942615270614624,
0.03290308266878128,
0.3169454038143158,
-0.16907253861427307,
-0.03789335489273071,
0.4042503237724304,
0.21794463694095612,
0.023043952882289886,
-0.09226927161216736,
0.17553147673606873,
-0.12898483872413635,
-0.08146621286869049,
-0.2395368367433548,
-0.0894290879368782,
0.062100425362586975,
-0.1828177273273468,
0.3073568344116211,
0.03379562124609947,
0.02292511612176895,
0.2029401957988739,
-0.1777445524930954,
0.18034358322620392,
0.6944708824157715,
0.2402540147304535,
1.1032590866088867,
-0.5289760231971741,
-0.04971836879849434,
0.08036889880895615,
0.15873827040195465,
-0.06739278882741928,
-0.21954086422920227,
-0.33319270610809326,
-0.3431921899318695,
0.05123509466648102,
0.1407555639743805,
-0.23787547647953033,
-0.09885405749082565,
0.39704954624176025,
0.12442886084318161,
-0.13595286011695862,
-0.17075443267822266,
0.24944151937961578,
-0.36184582114219666,
0.4492161273956299,
0.008148390799760818,
-0.4845147728919983,
-0.5036967992782593,
-0.018047776073217392,
-0.02263188362121582,
-0.07017578929662704,
0.05730646476149559,
0.14298151433467865,
-0.013757418841123581,
-0.10829579830169678,
-0.04672488197684288,
-0.19438321888446808,
0.1463373452425003,
0.1657041311264038,
0.23849354684352875,
-0.24132177233695984,
-0.15733602643013,
0.45885515213012695,
0.4183019697666168,
-0.1278500258922577,
-0.05740617960691452,
0.2050832062959671,
0.09407702833414078,
0.1566057652235031,
0.14138546586036682,
-0.30122408270835876,
0.10084952414035797,
-0.1678159534931183,
0.04786382243037224,
-0.15835027396678925,
-0.180853009223938,
-0.5726485848426819,
-0.02930842712521553,
0.1275884062051773,
0.25929370522499084,
-0.08126794546842575,
-0.21702814102172852,
-0.2679765522480011,
0.16145184636116028,
-0.05603200942277908,
0.03012007102370262,
0.33568447828292847,
0.19790664315223694,
0.28787389397621155,
-0.06005389615893364,
-0.272539883852005,
0.02944156713783741,
0.33199700713157654,
0.06957776844501495,
-0.2590422034263611,
0.15963393449783325,
0.0203190129250288,
-0.24587614834308624,
-0.16670472919940948,
0.268549382686615,
0.256631463766098,
-0.38908496499061584,
0.13515280187129974,
-0.005458957049995661,
-0.07113900780677795,
0.11057329177856445,
0.09180048108100891,
0.21136313676834106,
0.08339495956897736,
-0.15342490375041962,
-0.20422707498073578,
-0.5619242787361145,
-0.06939353048801422,
0.1208488792181015,
0.11973609030246735,
0.20277443528175354,
-0.531030535697937,
-0.23142999410629272,
0.10634579509496689,
-0.14865948259830475,
0.02237827517092228,
-0.05147900432348251,
0.09781823307275772,
0.025089578703045845,
-0.09557783603668213,
0.0847087949514389,
-0.11041480302810669,
0.024597369134426117,
-0.12905998528003693,
-0.05820620059967041,
-0.09860104322433472,
0.06619101762771606,
0.20221047103405,
-0.02617250196635723,
-0.31348755955696106,
-0.21494656801223755,
-0.444640189409256,
-0.22297905385494232,
-0.40789416432380676,
-0.14215119183063507,
0.08219964057207108,
-0.11038418114185333,
-0.30815306305885315,
0.3577415347099304,
0.1771005243062973,
0.03944455087184906,
0.4326910674571991,
-0.03321127966046333,
0.41704261302948,
-0.051041379570961,
0.12919661402702332,
0.08428056538105011,
-0.19129306077957153,
-0.23470455408096313,
0.17771866917610168,
0.28689149022102356,
-0.14416953921318054,
0.30724844336509705,
-0.15401986241340637,
0.04070739075541496,
0.2540169656276703,
-0.05188396945595741,
0.12734277546405792,
-0.07524323463439941,
-0.2777113616466522,
0.18848828971385956,
0.05850110575556755,
0.03166984021663666,
-0.2745830714702606,
-0.0376397930085659,
-0.10892187803983688,
-0.22376760840415955,
0.30371537804603577,
0.5891481637954712,
-0.21708998084068298,
0.030527349561452866,
0.022010520100593567,
0.5801920294761658,
-0.07366647571325302,
-0.45400285720825195,
0.5093346238136292,
-0.027350468561053276,
-0.019356979057192802,
0.2056344449520111,
0.1050567626953125,
0.015576918609440327,
0.5493289232254028,
-0.18379414081573486,
0.07237882167100906,
0.3812025189399719,
0.6312502026557922,
-0.4592193067073822,
-0.26527976989746094,
0.3273637890815735,
0.3456687033176422,
-0.2631089389324188,
-0.16159482300281525,
0.21697789430618286,
0.2208641618490219,
-0.19872719049453735,
-0.07727092504501343,
-0.2528797686100006,
0.2544403374195099,
-0.247437983751297,
0.013734073378145695,
-0.36800649762153625,
-0.004722043871879578,
-0.0032449481077492237,
0.20309317111968994,
-0.29406556487083435,
0.059592559933662415,
-0.20641441643238068,
0.3588232398033142,
0.022591719403862953,
0.07798619568347931,
0.08460082113742828,
0.0032435967586934566,
0.008519792929291725,
-0.3517471253871918,
-0.02092338725924492,
-0.38507285714149475,
-0.04446903616189957,
0.31637832522392273,
-0.22346054017543793,
0.34417524933815,
0.4706111550331116,
0.01976379193365574,
0.00423034094274044,
-0.0007330507505685091,
-0.04439369589090347,
0.0451006144285202,
0.1677296906709671,
-0.10063128173351288,
0.21306096017360687,
0.13230378925800323,
-0.1080196276307106,
-0.07202120125293732,
-0.400667667388916,
-0.26584896445274353,
0.43889638781547546,
0.0698801577091217,
0.3287578821182251,
0.14105461537837982,
-0.30154353380203247,
-0.2264057993888855,
0.11611650139093399,
-0.04015370085835457,
-0.1296408325433731,
0.20200024545192719,
0.030520174652338028,
0.13413174450397491,
-0.018448516726493835,
-0.01976921781897545,
-0.34995362162590027,
0.6466867923736572,
0.3268614411354065,
-0.37646883726119995,
-0.15383364260196686,
-0.3429901599884033,
-0.6594375967979431,
0.09010366350412369,
0.13784053921699524,
0.010219828225672245,
0.433532178401947,
0.2976466417312622,
0.4147008955478668,
0.056510746479034424,
-0.09129375964403152,
0.06807438284158707,
-0.08045677840709686,
0.3307954967021942,
-0.044167518615722656,
0.09970299154520035,
0.0676344707608223,
0.15457767248153687,
-0.21727271378040314,
-0.4932132661342621,
0.4301351308822632,
0.24216683208942413,
-0.08559518307447433,
-0.16171883046627045,
0.07675456255674362,
-0.222402885556221,
0.5364179611206055,
0.3434116542339325,
0.04568571597337723,
0.04470086097717285,
0.3310733437538147,
0.051314905285835266,
0.18515771627426147,
-0.049181777983903885,
0.06881190836429596,
0.16044561564922333,
-0.11989633738994598,
-0.07201167941093445,
-0.10180918872356415,
0.35153287649154663,
-0.17718496918678284,
0.07386007905006409,
-0.3217805027961731,
-0.13483302295207977,
-0.10106253623962402,
-0.053811341524124146,
-0.25319474935531616,
0.22465810179710388,
0.25785139203071594,
-0.007414137478917837,
0.25337040424346924,
0.1613570898771286,
-0.29003408551216125,
-0.001464684959501028,
0.1636456847190857,
-0.015229892916977406,
-0.1333998739719391,
-0.0005018101073801517,
0.15477007627487183,
0.2593905031681061,
0.2119567096233368,
-0.3160809576511383,
-0.1988019496202469,
0.17412276566028595,
-0.12797227501869202,
-0.12736065685749054,
0.43631482124328613,
-0.23842717707157135,
0.2239922285079956,
-0.17760531604290009,
0.17252595722675323,
-0.0055296639911830425,
-0.06101725250482559,
-0.5113278031349182,
-0.2912899851799011
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
Hi ! We plan to add streaming features in the future.
This should allow to load a dataset instantaneously without generating the arrow table. The trade-off is that accessing examples from a streaming dataset must be done in an iterative way, and with an additional (but hopefully minor) overhead.
What do you think about this ?
If you have ideas or suggestions of what you expect from such features as a user, feel free to share them, this is really valuable to us !
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 84
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
Hi ! We plan to add streaming features in the future.
This should allow to load a dataset instantaneously without generating the arrow table. The trade-off is that accessing examples from a streaming dataset must be done in an iterative way, and with an additional (but hopefully minor) overhead.
What do you think about this ?
If you have ideas or suggestions of what you expect from such features as a user, feel free to share them, this is really valuable to us !
|
[
-0.3108791410923004,
-0.3046274781227112,
-0.10252195596694946,
-0.04797977954149246,
0.06876811385154724,
-0.07005523890256882,
0.1910863220691681,
-0.05083513259887695,
0.1361464560031891,
0.1569509506225586,
0.3037053942680359,
0.19406826794147491,
-0.18489879369735718,
0.373088002204895,
0.3175562620162964,
-0.007721430156379938,
0.12019223719835281,
0.4260939359664917,
-0.2305736243724823,
0.046886660158634186,
-0.00751519063487649,
-0.39150017499923706,
-0.10267184674739838,
-0.012018516659736633,
-0.023875577375292778,
-0.17914502322673798,
0.25617876648902893,
-0.22686725854873657,
-0.33283719420433044,
-0.29200541973114014,
-0.09484203159809113,
0.3715645968914032,
-0.14817118644714355,
0.162275031208992,
-0.00012079064617864788,
-0.04288877919316292,
0.13746416568756104,
0.059048544615507126,
-0.5849151015281677,
-0.10303369164466858,
-0.18410955369472504,
0.04250073432922363,
0.43694815039634705,
0.00758610712364316,
0.2101271003484726,
-0.3526916801929474,
-0.13963577151298523,
-0.4950590431690216,
0.10051606595516205,
-0.23421718180179596,
0.11558264493942261,
0.10272273421287537,
-0.309459388256073,
0.2336924821138382,
0.32989099621772766,
0.4536733329296112,
-0.542946994304657,
0.07202055305242538,
0.23247970640659332,
0.04313765838742256,
-0.121056467294693,
0.29749083518981934,
-0.2007707804441452,
-0.15289433300495148,
0.5350203514099121,
-0.0998745709657669,
-0.21070140600204468,
-0.4075067639350891,
-0.07281798124313354,
0.30704405903816223,
0.8722041845321655,
-0.2314077615737915,
-0.25882211327552795,
-0.30027851462364197,
0.295943945646286,
-0.2492590695619583,
0.019924931228160858,
0.26727306842803955,
-0.1843280792236328,
0.06387931108474731,
-0.4113723635673523,
-0.536726713180542,
-0.3401840329170227,
-0.08410322666168213,
0.5507421493530273,
-0.17499980330467224,
0.03721895441412926,
-0.006078324280679226,
0.19790631532669067,
0.022497685626149178,
0.6170968413352966,
-0.2264445573091507,
-0.2022962123155594,
0.1820370852947235,
-0.19227948784828186,
-0.2122168391942978,
-0.05639992281794548,
0.2362249344587326,
0.19039875268936157,
0.4510348439216614,
0.737574577331543,
-0.032986123114824295,
0.27553650736808777,
-0.10326999425888062,
-0.11773808300495148,
0.08252250403165817,
0.1956576704978943,
-0.19146177172660828,
0.2349567711353302,
0.1740177422761917,
0.2198190838098526,
0.01799970306456089,
0.12570802867412567,
-0.04695606976747513,
-0.10228591412305832,
-0.13419561088085175,
0.126261904835701,
-0.15157407522201538,
0.08116722851991653,
-0.0285396296530962,
-0.11625538766384125,
-0.07504293322563171,
0.2993289530277252,
0.05559258908033371,
0.188607320189476,
0.20442445576190948,
-0.1871050000190735,
0.3508717119693756,
-0.08049827814102173,
-0.2571527063846588,
0.008863060735166073,
-0.20003071427345276,
-0.16645434498786926,
0.4750285744667053,
0.36248138546943665,
-0.08760389685630798,
-0.12687930464744568,
0.3686201870441437,
-0.061152491718530655,
0.2437933385372162,
0.3272448480129242,
-0.2562057673931122,
0.09297265857458115,
0.3177514672279358,
-0.08122407644987106,
-0.21869781613349915,
-0.1118941530585289,
0.2880065441131592,
-0.08306997269392014,
0.3657187819480896,
0.005395052954554558,
-0.5483020544052124,
0.17088991403579712,
0.09285314381122589,
-0.1274678111076355,
-0.024637091904878616,
-0.7149608135223389,
0.46069514751434326,
-0.25793561339378357,
0.04016605019569397,
0.27836230397224426,
0.15707339346408844,
-0.04804078862071037,
-0.11016066372394562,
0.08580814301967621,
0.3789238929748535,
-0.2608044147491455,
-0.023244088515639305,
0.0542491152882576,
-0.13580594956874847,
0.12181083858013153,
-0.010606644675135612,
-0.4702015221118927,
0.20001570880413055,
0.04623458534479141,
-0.1331985741853714,
0.5498140454292297,
0.2194540649652481,
-0.11467976868152618,
0.3090103268623352,
-0.008036787621676922,
0.17397242784500122,
0.43680691719055176,
0.16380664706230164,
0.033226724714040756,
-0.07411002367734909,
-0.3550987243652344,
0.1997160166501999,
0.09997396916151047,
-0.15824857354164124,
0.03864395245909691,
-0.2926294207572937,
0.2996133267879486,
-0.05040100961923599,
-0.33034834265708923,
0.32041135430336,
0.15872928500175476,
-0.22192558646202087,
0.07071558386087418,
-0.30531203746795654,
-0.16526365280151367,
-0.14054681360721588,
0.2203620970249176,
0.13974058628082275,
-0.08334583789110184,
0.16561567783355713,
-0.5774096250534058,
0.2231903225183487,
0.16860471665859222,
-0.08162114769220352,
0.051751986145973206,
-0.2786858379840851,
0.2936157286167145,
0.25664687156677246,
0.006957807578146458,
0.29855188727378845,
-0.02267344668507576,
-0.4991951882839203,
-0.05248405411839485,
-0.282855749130249,
-0.42510494589805603,
0.13057349622249603,
-0.45861831307411194,
0.10972505062818527,
-0.3391101658344269,
0.18366824090480804,
0.3947964906692505,
0.0719572976231575,
-0.10096727311611176,
0.01970783993601799,
-0.09543915092945099,
0.12509427964687347,
-0.18202723562717438,
0.1980031132698059,
0.1273067444562912,
0.4344157576560974,
0.07195910066366196,
0.5853416323661804,
0.1416967362165451,
-0.3799532353878021,
0.3378417491912842,
-0.25955137610435486,
0.21714511513710022,
-0.05171848461031914,
-0.09173671901226044,
0.21843406558036804,
-0.3835190236568451,
0.40639248490333557,
0.22794677317142487,
-0.19133260846138,
-0.004030740819871426,
0.30141565203666687,
-0.28298118710517883,
-0.1211419329047203,
0.19923187792301178,
0.037268541753292084,
0.09407586604356766,
0.17320172488689423,
-0.26975107192993164,
-0.04037713259458542,
-0.15681587159633636,
-0.042713820934295654,
-0.07626591622829437,
0.15612436830997467,
-0.01092847902327776,
-0.32047420740127563,
0.2867368757724762,
-0.09277977049350739,
0.39641475677490234,
0.1984129548072815,
0.08209163695573807,
-0.06517684459686279,
0.0817173421382904,
-0.282446026802063,
0.4200906753540039,
0.12051884084939957,
0.3258141875267029,
0.030997106805443764,
-0.0969611182808876,
-0.003979669883847237,
-0.4386240839958191,
-0.10531662404537201,
-0.12238197773694992,
-0.17730459570884705,
-0.3413565158843994,
0.008996519260108471,
-0.1540699005126953,
-0.19557097554206848,
0.14674091339111328,
-0.11888975650072098,
-0.10218951851129532,
-0.012622520327568054,
0.23945362865924835,
0.18345926702022552,
-0.10758373141288757,
-0.10364331305027008,
-0.21733315289020538,
0.5270025730133057,
-0.1992480605840683,
-0.025171861052513123,
-0.5137592554092407,
-0.045212335884571075,
0.19889932870864868,
0.047259364277124405,
0.0032077436335384846,
0.06616875529289246,
0.4163734018802643,
0.1682760864496231,
0.137933611869812,
-0.3983548581600189,
-0.17448702454566956,
0.12065178155899048,
-0.036889947950839996,
-0.09634346514940262,
0.08704901486635208,
0.16242147982120514,
-0.08429062366485596,
-0.10471709817647934,
-0.09658286720514297,
-0.3372974097728729,
-0.07994503527879715,
0.10495235025882721,
-0.33262887597084045,
0.26695242524147034,
-0.06918618828058243,
0.056667737662792206,
-0.004463748540729284,
-0.27676090598106384,
0.27752241492271423,
0.04859798401594162,
0.06069064140319824,
0.14811775088310242,
0.07973551750183105,
0.023363225162029266,
0.16765399277210236,
0.09617052227258682,
-0.05212151259183884,
-0.30478334426879883,
0.2845376133918762,
-0.1672818958759308,
-0.16854965686798096,
0.0923689603805542,
0.06489449739456177,
0.034951101988554,
0.5637579560279846,
-0.6988595724105835,
0.31328678131103516,
-0.15345506370067596,
-0.01889740116894245,
-0.3195337653160095,
-0.18695196509361267,
0.13863736391067505,
0.14783062040805817,
0.007904522120952606,
-0.11868390440940857,
0.1993912309408188,
0.020772375166416168,
0.011829943396151066,
-0.045417871326208115,
0.16490040719509125,
0.47244352102279663,
-0.27996569871902466,
0.7499018311500549,
-0.2328367680311203,
0.20193229615688324,
0.25624117255210876,
0.06318610161542892,
0.2966482937335968,
-0.26360470056533813,
0.19229081273078918,
-0.28817903995513916,
-0.18367847800254822,
0.0131841404363513,
0.032852720469236374,
0.045457176864147186,
-0.32483214139938354,
-0.3126925826072693,
0.1917986422777176,
0.1270609200000763,
0.04175987467169762,
0.08217822760343552,
-0.8073259592056274,
0.10149525105953217,
-0.018574610352516174,
0.07638400793075562,
-0.1245129406452179,
-0.23421624302864075,
-0.019827164709568024,
-0.12750104069709778,
0.5562237501144409,
-0.1463591754436493,
-0.42324209213256836,
-0.06458380073308945,
-0.24796995520591736,
0.03823564574122429,
-0.03027980588376522,
0.12762105464935303,
0.03672471269965172,
-0.1858833283185959,
0.2239864021539688,
0.2786922752857208,
0.1654660850763321,
-0.0336545892059803,
-0.28041476011276245,
-0.1969592124223709,
-0.16349199414253235,
-0.31677496433258057,
0.1226155087351799,
0.024201173335313797,
0.1295226514339447,
-0.46522408723831177,
0.1284012794494629,
-0.006416958756744862,
-0.21356207132339478,
0.0068525876849889755,
0.3506617248058319,
-0.0871523916721344,
-0.19968204200267792,
-0.20587323606014252,
0.195633664727211,
-0.05089857801795006,
-0.052437178790569305,
-0.03787070885300636,
-0.23544971644878387,
-0.46451637148857117,
-0.273160845041275,
-0.23413020372390747,
0.08585776388645172,
0.12698665261268616,
0.06590014696121216,
0.2296319305896759,
-0.039550792425870895,
0.020317448303103447,
0.4007851481437683,
0.03711827099323273,
0.18473199009895325,
0.545171856880188,
0.22084513306617737,
-0.37568244338035583,
0.10306516289710999,
0.02477501891553402,
0.31935399770736694,
0.42435547709465027,
-0.16235356032848358,
0.3445616066455841,
0.026817413046956062,
0.029684122651815414,
-0.2936316430568695,
-0.27953487634658813,
0.01817617565393448,
-0.3120168149471283,
-0.12595853209495544,
-0.6251105070114136,
0.48530659079551697,
0.010801269672811031,
-0.11165390908718109,
0.7630060315132141,
0.07460682094097137,
-0.17695587873458862,
0.3175775706768036,
0.27841222286224365,
0.9641881585121155,
0.11812445521354675,
0.15168410539627075,
0.33790507912635803,
-0.11316195875406265,
0.19881051778793335,
-0.2497759759426117,
0.0938190296292305,
-0.025822805240750313,
-0.5687535405158997,
-0.15152062475681305,
-0.2918737530708313,
0.3007482886314392,
0.427074670791626,
-0.04354678466916084,
0.06066860258579254,
-0.26221558451652527,
0.2980571687221527,
-0.07337479293346405,
0.01678885705769062,
-0.25916871428489685,
-0.397475928068161,
-0.4063362181186676,
0.014231479726731777,
0.1067008227109909,
-0.279977411031723,
-0.08344349265098572,
0.14733457565307617,
0.25306054949760437,
-0.2305135279893875,
0.06952331960201263,
-0.050355080515146255,
-0.3953581154346466,
0.12179798632860184,
-0.2768034040927887,
-0.4214160442352295,
0.19074369966983795,
0.2504667341709137,
-0.2979563772678375,
-0.08297962695360184,
-0.13887672126293182,
0.06450437754392624,
0.44000861048698425,
0.304949551820755,
-0.4049285650253296,
0.18059055507183075,
0.06500131636857986,
-0.10865788161754608,
-0.13299676775932312,
0.23980672657489777,
-0.1366385668516159,
-0.22052623331546783,
0.014377908781170845,
-0.17166587710380554,
0.3094857335090637,
0.004568607080727816,
0.18126003444194794,
0.10243351757526398,
0.21576586365699768,
0.051808860152959824,
0.057043034583330154,
0.08117319643497467,
0.06955312192440033,
-0.06098293885588646,
0.12303602695465088,
-0.23937903344631195,
-0.16175039112567902,
0.10643799602985382,
0.20695795118808746,
-0.1210738942027092,
0.3754946291446686,
-0.052848443388938904,
-0.37892118096351624,
-0.2747311294078827,
0.28936058282852173,
0.13974054157733917,
-0.7035720944404602,
-0.0738167017698288,
0.14894922077655792,
0.04863063991069794,
0.0033596802968531847,
-0.0001005329831968993,
0.019045041874051094,
0.057889971882104874,
-0.1634993702173233,
0.10716201364994049,
-0.2024374157190323,
0.18517641723155975,
-0.03407277539372444,
0.24046237766742706,
-0.06951432675123215,
-0.7264938950538635,
0.18704001605510712,
0.13609877228736877,
-0.1877744495868683,
-0.2514921724796295,
0.4108283519744873,
-0.07025188952684402,
-0.06303714215755463,
0.38649964332580566,
-0.13464492559432983,
-0.01818692684173584,
-0.0302041694521904,
-0.1721293330192566,
-0.1750432848930359,
-0.09754133969545364,
-0.05440203845500946,
0.25132888555526733,
0.0059321061708033085,
-0.07124653458595276,
-0.2988916337490082,
-0.26559334993362427,
-0.33273953199386597,
-0.11609984934329987,
0.2361612319946289,
-0.11527177691459656,
0.01436551846563816,
-0.2170255184173584,
0.4655841588973999,
0.06960412859916687,
-0.4628809690475464,
0.22133955359458923,
0.07239030301570892,
0.37327903509140015,
0.10057002305984497,
-0.057967960834503174,
0.24261900782585144,
-0.20078663527965546,
-0.03347831964492798,
0.1931091547012329,
0.11669481545686722,
-0.020737312734127045,
0.0865892842411995,
-0.032057810574769974,
0.26660922169685364,
-0.26540979743003845,
-0.06682649254798889,
0.46973296999931335,
0.10043689608573914,
-0.4031163454055786,
0.3078168034553528,
0.07764853537082672,
-0.12277413159608841,
-0.22718723118305206,
-0.09826262295246124,
0.07897423207759857,
-0.10928351432085037,
0.20049184560775757,
0.3673202395439148,
0.040765430778265,
-0.163455531001091,
-0.02768380381166935,
-0.369668185710907,
-0.0030444839503616095,
0.2932273745536804,
0.4805445075035095,
-0.06047098711133003,
-0.09042993187904358,
-0.08803161978721619,
0.37101924419403076,
-0.06255104392766953,
-0.18688181042671204,
0.10751990228891373,
0.4149571657180786,
0.33883780241012573,
0.21240423619747162,
-0.02178928442299366,
-0.2971411943435669,
-0.49560481309890747,
0.019676292315125465,
-0.34219521284103394,
0.032554563134908676,
0.17445583641529083,
0.1863129734992981,
0.4558746814727783,
-0.24271002411842346,
-0.21879954636096954,
-0.2068069726228714,
0.13992728292942047,
0.06248650327324867,
-0.177452951669693,
-0.10074672102928162,
-0.10634934157133102,
0.019707802683115005,
-0.07569549232721329,
0.37637534737586975,
0.24802365899085999,
0.04866081476211548,
0.2859092950820923,
-0.07916294038295746,
0.5971515774726868,
0.24962379038333893,
0.32907670736312866,
0.1091703251004219,
-0.07604960352182388,
-0.05947459489107132,
0.22144730389118195,
0.0817481130361557,
0.18192292749881744,
-0.2918078899383545,
0.2225528061389923,
-0.05169716477394104,
0.009340226650238037,
0.31333792209625244,
-0.03942451998591423,
0.12309228628873825,
0.39165550470352173,
0.43071070313453674,
0.015573710203170776,
0.25030043721199036,
-0.03004329279065132,
0.06181797385215759,
0.2081742137670517,
0.11102554947137833,
0.23067200183868408,
-0.21839775145053864,
0.09348808974027634,
0.3168644607067108,
-0.24412745237350464,
0.15660619735717773,
0.01603841409087181,
0.004206646699458361,
0.05209870636463165,
0.5282914638519287,
-0.3212021589279175,
-0.2864099442958832,
-0.13845813274383545,
0.016480740159749985,
-0.07302778959274292,
0.7810718417167664,
0.018924064934253693,
0.25909146666526794,
-0.0830417349934578,
-0.21210215985774994,
-0.2754499316215515,
-0.2016739696264267,
0.050769440829753876,
0.39898020029067993,
0.40410682559013367,
0.04577597603201866,
0.23100464046001434,
0.44449275732040405,
-0.04954354092478752,
-0.4349988102912903,
-0.08375735580921173,
0.1848330795764923,
-0.08797797560691833,
-0.12957584857940674,
0.08802693337202072,
0.44340524077415466,
-0.536841869354248,
-0.14222723245620728,
0.08758822828531265,
0.08251882344484329,
-0.10412557423114777,
-0.011394166387617588,
0.11079404503107071,
0.15978756546974182,
0.35436996817588806,
0.4221051335334778,
-0.05286560580134392,
0.025452997535467148,
0.09592095762491226,
-0.005467010661959648,
-0.01674422062933445,
-0.4153023362159729,
-0.0394846573472023,
0.3166196644306183,
0.1445344090461731,
-0.1955687403678894,
-0.08334890007972717,
0.20498333871364594,
-0.006231989711523056,
-0.010439558885991573,
0.09066588431596756,
-0.0033317594788968563,
-0.39019548892974854,
0.04689107462763786,
-0.08758539706468582,
0.1657285988330841,
-0.04930243641138077,
-0.06772958487272263,
-0.05827152356505394,
0.03545316308736801,
0.046325527131557465,
0.03419969230890274,
0.4161967635154724,
0.05153977870941162,
0.02871590666472912,
0.1138903796672821,
0.2947539985179901,
0.5818414092063904,
0.006339949555695057,
-0.46825724840164185,
-0.04024484008550644,
0.2554456889629364,
-0.4561416208744049,
0.2449319064617157,
0.5373563170433044,
0.023358432576060295,
0.09140598773956299,
-0.1944378912448883,
0.3159260153770447,
-0.08797483891248703,
0.13859373331069946,
-0.26004332304000854,
-0.400644987821579
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
People mainly want this feature either because it takes too much time too make arrow tables, or they occupy too much memory on the disk. I think both the problem can be solved if we provide arrow tables themselves on datasets hub. Can we do this currently @lhoestq ?
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 49
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
People mainly want this feature either because it takes too much time too make arrow tables, or they occupy too much memory on the disk. I think both the problem can be solved if we provide arrow tables themselves on datasets hub. Can we do this currently @lhoestq ?
|
[
-0.2959384024143219,
-0.24903123080730438,
-0.10362096130847931,
0.2489064782857895,
-0.04503379762172699,
0.16052566468715668,
0.2928246259689331,
-0.021119674667716026,
0.3396778106689453,
0.29514724016189575,
0.03263452649116516,
0.48352697491645813,
0.02625042200088501,
0.017495054751634598,
0.24364393949508667,
0.15632915496826172,
-0.01424479577690363,
0.5176953673362732,
-0.36977434158325195,
-0.022994879633188248,
-0.06171904504299164,
-0.33045998215675354,
-0.02525973506271839,
0.14375589787960052,
-0.2534683644771576,
-0.16412951052188873,
0.19121712446212769,
-0.28786560893058777,
-0.4046609699726105,
-0.27993911504745483,
0.3027498424053192,
0.337161660194397,
-0.16495630145072937,
0.11342539638280869,
-0.00012246743426658213,
0.0932132750749588,
0.12142021209001541,
0.2131102979183197,
-0.444046288728714,
0.08413122594356537,
-0.29740187525749207,
-0.055627819150686264,
0.47938743233680725,
-0.002339671365916729,
0.25435933470726013,
-0.2447420209646225,
-0.27706974744796753,
-0.3397578299045563,
0.1714106798171997,
-0.132393479347229,
0.12153778970241547,
0.11227507889270782,
-0.1933119148015976,
0.09619980305433273,
0.4546322226524353,
0.3035832941532135,
-0.5730571150779724,
0.14015424251556396,
-0.03899848833680153,
0.004111494403332472,
-0.2913171947002411,
-0.10489114373922348,
-0.07123935967683792,
-0.13070252537727356,
0.3765471577644348,
-0.10007420927286148,
-0.256478488445282,
-0.30194777250289917,
0.09967254102230072,
0.21574188768863678,
0.7043817639350891,
-0.5096973180770874,
-0.18696339428424835,
-0.29608091711997986,
0.3445965051651001,
0.1056348904967308,
0.22619180381298065,
0.29630419611930847,
-0.11420750617980957,
0.11428077518939972,
-0.2742858827114105,
-0.6738189458847046,
-0.2642534077167511,
-0.1397591382265091,
0.3414146900177002,
-0.18459689617156982,
0.03853677213191986,
0.06449311226606369,
0.19610095024108887,
-0.04303901270031929,
0.7297340035438538,
-0.28258562088012695,
-0.3581555187702179,
0.13356377184391022,
-0.23412297666072845,
-0.28151819109916687,
-0.20189620554447174,
0.4096243977546692,
0.29007694125175476,
0.24829114973545074,
0.4759647250175476,
-0.02504819817841053,
0.04511182755231857,
-0.0968000590801239,
-0.1799193024635315,
0.18403121829032898,
0.3575596511363983,
0.096689872443676,
0.20825962722301483,
-0.05557715892791748,
0.2637525200843811,
0.05272321030497551,
0.04184665158390999,
-0.3272051215171814,
-0.019052604213356972,
0.006693055387586355,
-0.019830401986837387,
0.003047446021810174,
-0.007712234277278185,
-0.09444615989923477,
0.11076801270246506,
0.11299338936805725,
0.3573165237903595,
-0.04357075318694115,
0.2807617485523224,
0.02081950753927231,
-0.17917348444461823,
0.3096630275249481,
-0.19847933948040009,
-0.20925293862819672,
-0.04869987443089485,
-0.07808907330036163,
-0.18875648081302643,
0.411848783493042,
0.3620302379131317,
0.08371614664793015,
-0.2157825082540512,
0.4662017822265625,
-0.13235026597976685,
0.07526593655347824,
0.20606690645217896,
-0.23126114904880524,
0.032752010971307755,
0.4121609926223755,
0.030629083514213562,
-0.12484618276357651,
-0.11794938147068024,
0.13361984491348267,
-0.12408759444952011,
0.479047566652298,
-0.23716950416564941,
-0.3656121790409088,
0.05237557739019394,
0.047052737325429916,
-0.09244111180305481,
0.05025419965386391,
-0.8543156981468201,
0.1679316908121109,
-0.13893479108810425,
0.3042336702346802,
0.3795032501220703,
0.06279177218675613,
-0.11901365965604782,
-0.11598669737577438,
0.0628870278596878,
0.4255439341068268,
-0.2484675943851471,
0.09047673642635345,
-0.012012479826807976,
-0.22263112664222717,
-0.2038794904947281,
-0.0825042724609375,
-0.42817822098731995,
0.287290096282959,
-0.09541088342666626,
-0.07198836654424667,
0.4668309688568115,
-0.024769999086856842,
-0.1460667997598648,
-0.014644710347056389,
0.08941631019115448,
-0.1040184274315834,
0.10174059867858887,
0.04158860072493553,
-0.011555586941540241,
-0.024869000539183617,
-0.22595378756523132,
-0.012146763503551483,
0.18688538670539856,
-0.20421388745307922,
0.19192755222320557,
-0.3240952491760254,
0.05990143492817879,
-0.03378305584192276,
-0.2282288372516632,
0.21415583789348602,
0.21802543103694916,
-0.15468338131904602,
-0.01802627183496952,
-0.11640705913305283,
-0.00728961918503046,
0.09105771034955978,
0.04138510301709175,
-0.08666948229074478,
-0.0808139443397522,
0.08770009130239487,
-0.6414070129394531,
0.2503456771373749,
-0.10156978666782379,
-0.017497766762971878,
0.00423314468935132,
-0.25729337334632874,
0.13235291838645935,
0.2630302906036377,
-0.10186247527599335,
0.5300436615943909,
-0.02985071763396263,
-0.7860903739929199,
0.005940271075814962,
-0.27829453349113464,
-0.2895982265472412,
0.0892973467707634,
-0.4312279522418976,
0.253947377204895,
-0.3105941414833069,
0.28211769461631775,
0.3164215385913849,
0.0983438789844513,
0.05810202658176422,
0.1112547218799591,
-0.03164185211062431,
0.33222341537475586,
-0.14963220059871674,
0.16715998947620392,
0.17814497649669647,
0.17647549510002136,
0.1676567643880844,
0.3872048258781433,
0.10976684093475342,
-0.3977029025554657,
0.4344574511051178,
-0.4769648313522339,
-0.012566876597702503,
0.013870674185454845,
0.016540026292204857,
0.16645197570323944,
-0.38433071970939636,
0.3188406527042389,
-0.043942395597696304,
-0.00562673807144165,
-0.08756494522094727,
0.2539408802986145,
-0.19138674437999725,
-0.24318966269493103,
0.02555198222398758,
0.3106916844844818,
0.32944703102111816,
0.36398500204086304,
0.1657051295042038,
-0.1471252590417862,
-0.03908398002386093,
0.042374543845653534,
0.1576630026102066,
0.18849289417266846,
0.010643377900123596,
-0.10297155380249023,
0.1735067218542099,
0.03504044935107231,
0.24124018847942352,
0.15184952318668365,
0.06598325073719025,
0.016690565273165703,
-0.15179216861724854,
-0.218406081199646,
0.2604804039001465,
0.08942963927984238,
0.3960985839366913,
0.08501151204109192,
-0.0699940174818039,
-0.05428972467780113,
-0.4305778741836548,
-0.0012599119218066335,
-0.22881725430488586,
-0.10335078090429306,
-0.32879000902175903,
-0.17803141474723816,
-0.25843214988708496,
0.009594415314495564,
0.08611780405044556,
0.022759506478905678,
-0.4254288971424103,
0.04438958689570427,
0.2645105719566345,
-0.1380118727684021,
0.07855729758739471,
-0.019588252529501915,
-0.20975783467292786,
0.46307969093322754,
-0.16460470855236053,
-0.027495548129081726,
-0.5118435025215149,
-0.024354126304388046,
0.24379612505435944,
0.016312237828969955,
-0.027583301067352295,
0.14871346950531006,
0.27044209837913513,
-0.015570694580674171,
0.22656989097595215,
-0.3180452883243561,
0.10247930139303207,
0.15282349288463593,
-0.05610149726271629,
-0.14386259019374847,
0.2807643413543701,
0.10746114701032639,
-0.1540963351726532,
0.20220614969730377,
-0.1312023252248764,
-0.1807156205177307,
-0.08402840793132782,
0.08910950273275375,
-0.3830259144306183,
0.28473150730133057,
-0.06897133588790894,
0.12368541955947876,
0.05138522386550903,
-0.16025763750076294,
0.22373232245445251,
0.025875428691506386,
0.10768761485815048,
0.14757640659809113,
0.18394199013710022,
-0.023105371743440628,
-0.01981191150844097,
0.06666253507137299,
0.012908956035971642,
-0.3925453722476959,
0.40172675251960754,
-0.24079561233520508,
-0.0834747925400734,
0.20551835000514984,
0.11979082226753235,
0.2135043740272522,
0.30103811621665955,
-0.554085373878479,
0.34443941712379456,
-0.3526325225830078,
0.04883304610848427,
-0.2269190400838852,
0.05786842480301857,
0.193894162774086,
0.23277895152568817,
0.10753262788057327,
-0.20646816492080688,
0.0343339666724205,
0.2128230333328247,
-0.01648237556219101,
-0.2092975378036499,
0.06079830601811409,
0.22860760986804962,
-0.39459192752838135,
0.32633453607559204,
-0.13100366294384003,
0.17305199801921844,
0.1884274184703827,
0.06715911626815796,
0.4778153896331787,
-0.260235458612442,
0.26251277327537537,
-0.4720081686973572,
0.05131472274661064,
0.16551163792610168,
0.06422393769025803,
0.14459586143493652,
-0.09168875962495804,
-0.16876642405986786,
-0.09592403471469879,
0.16365037858486176,
-0.13910740613937378,
-0.16925424337387085,
-0.8409461975097656,
-0.006602240726351738,
0.021468432620167732,
-0.02709665149450302,
-0.16160398721694946,
-0.2039080262184143,
0.04212827607989311,
-0.172982856631279,
0.4614594876766205,
-0.16035810112953186,
-0.4641277492046356,
-0.21990609169006348,
-0.16159118711948395,
-0.033278096467256546,
-0.14954398572444916,
0.1606401950120926,
0.06868009269237518,
0.21213537454605103,
0.2860313951969147,
0.31725892424583435,
0.1961808204650879,
-0.17001552879810333,
-0.1128939613699913,
-0.20178069174289703,
0.03975262492895126,
-0.5741509795188904,
0.2088976800441742,
0.1850614994764328,
0.20390185713768005,
-0.6787976026535034,
0.10305451601743698,
-0.11656887084245682,
-0.2855759561061859,
-0.023527514189481735,
0.4652261435985565,
-0.24741651117801666,
-0.27975502610206604,
-0.2131311297416687,
0.12079989910125732,
0.04328968748450279,
-0.1333007961511612,
0.01934739574790001,
-0.2369772344827652,
-0.3839559555053711,
-0.3204473853111267,
-0.2770610749721527,
-0.22824083268642426,
0.164759561419487,
0.1295912116765976,
0.23086360096931458,
-0.008402918465435505,
0.0389997698366642,
0.26629599928855896,
-0.07612848281860352,
0.35630494356155396,
0.6240316033363342,
0.011075916700065136,
-0.33490028977394104,
0.0865769013762474,
-0.1905127465724945,
0.23693569004535675,
0.022842809557914734,
-0.15931324660778046,
0.3482831120491028,
-0.21249887347221375,
-0.14612479507923126,
-0.2357017993927002,
-0.35401687026023865,
-0.1109110489487648,
-0.25867679715156555,
-0.2403574287891388,
-0.38827913999557495,
0.4413149058818817,
0.07319707423448563,
-0.07627230882644653,
0.5744841694831848,
0.394292414188385,
-0.3450452983379364,
0.32462382316589355,
0.422564297914505,
0.7420528531074524,
-0.11314721405506134,
0.036006711423397064,
-0.017851002514362335,
-0.08108068257570267,
0.18778371810913086,
-0.18222828209400177,
-0.046794429421424866,
-0.20229335129261017,
-0.315926730632782,
-0.16325643658638,
-0.2784871757030487,
0.3447408676147461,
0.6192924380302429,
0.21664778888225555,
-0.017514154314994812,
-0.3532561659812927,
0.11485999822616577,
-0.13428708910942078,
0.0823705643415451,
-0.40925300121307373,
-0.3848983347415924,
-0.3651775121688843,
0.03894982114434242,
0.1036931723356247,
-0.2788296639919281,
-0.009284640662372112,
0.3134477138519287,
0.10036689788103104,
-0.13814423978328705,
0.032003216445446014,
-0.1144319549202919,
-0.22517965734004974,
0.1295303851366043,
-0.09979026019573212,
-0.24698077142238617,
0.3995576500892639,
0.37689295411109924,
0.04591042920947075,
0.09894470870494843,
-0.09095395356416702,
0.07643133401870728,
0.18363896012306213,
0.13444018363952637,
-0.3134600520133972,
0.2698403596878052,
-0.0851530209183693,
-0.06820810586214066,
-0.22742240130901337,
0.1610962152481079,
0.059865064918994904,
-0.25591400265693665,
0.17036966979503632,
-0.08275845646858215,
0.09106222540140152,
-0.0907428190112114,
0.27083301544189453,
-0.08571822941303253,
0.30016908049583435,
0.007266106549650431,
0.04261128604412079,
0.16523121297359467,
0.2661094069480896,
0.16436511278152466,
0.08702951669692993,
-0.37969595193862915,
-0.049984320998191833,
0.07776884734630585,
0.24797172844409943,
-0.040192246437072754,
0.2925240695476532,
-0.05699162930250168,
-0.32083991169929504,
-0.3159714937210083,
0.39080560207366943,
0.33198580145835876,
-0.8370419144630432,
-0.11289959400892258,
0.10871755331754684,
0.05982246249914169,
-0.08251222223043442,
-0.005794614553451538,
-0.05439547821879387,
0.12861336767673492,
-0.005460026208311319,
0.08113836497068405,
-0.16059714555740356,
0.251065731048584,
0.0607835091650486,
0.3145679533481598,
0.03695012256503105,
-0.6393616199493408,
0.06927619129419327,
0.08383657038211823,
-0.12562128901481628,
-0.0904996320605278,
0.2313750684261322,
-0.1532009392976761,
-0.40220263600349426,
0.4075809419155121,
-0.11020005494356155,
-0.15797504782676697,
-0.05874878913164139,
-0.09986625611782074,
-0.035966988652944565,
-0.08153878897428513,
-0.06368919461965561,
0.17248958349227905,
-0.08775447309017181,
0.11027383804321289,
-0.3056671917438507,
-0.3797583281993866,
-0.27044838666915894,
-0.17198523879051208,
0.20318731665611267,
0.09233389049768448,
0.0228985957801342,
-0.028987746685743332,
0.7183502316474915,
0.017395664006471634,
-0.44735628366470337,
0.09903845191001892,
0.1887398511171341,
0.33450356125831604,
0.04385695978999138,
-0.01049724780023098,
0.1380796879529953,
-0.11251015961170197,
-0.0017861098749563098,
0.28926369547843933,
0.11840363591909409,
-0.0798291340470314,
-0.08560428768396378,
0.05951475724577904,
0.29947805404663086,
-0.1719048172235489,
-0.05297651141881943,
0.36636096239089966,
0.07312435656785965,
-0.3403513729572296,
0.1992565393447876,
0.04907805845141411,
-0.003356780856847763,
-0.14727269113063812,
0.14135049283504486,
0.04532377049326897,
-0.09760642796754837,
0.2792837917804718,
0.1008363887667656,
0.18950004875659943,
-0.32417094707489014,
0.05414757505059242,
-0.14226087927818298,
0.07043050974607468,
0.03565040975809097,
0.43577608466148376,
0.005240540485829115,
-0.08882495015859604,
0.2888094186782837,
0.2855091392993927,
-0.03746838495135307,
0.06889130920171738,
0.1648099571466446,
0.5121224522590637,
0.4532754421234131,
0.14036092162132263,
0.14364159107208252,
-0.1542576104402542,
-0.37480658292770386,
-0.10037731379270554,
-0.12142105400562286,
-0.3154940605163574,
0.11276163905858994,
0.13537001609802246,
0.44306379556655884,
-0.20769229531288147,
-0.25580263137817383,
-0.14393892884254456,
0.007884872145950794,
0.021368224173784256,
-0.21267619729042053,
-0.05345003306865692,
0.05258344113826752,
-0.13478372991085052,
-0.07909982651472092,
0.13824884593486786,
0.1554538458585739,
0.010659306310117245,
0.22896923124790192,
0.09039434045553207,
0.6540075540542603,
0.3387291133403778,
0.09533626586198807,
0.22422535717487335,
-0.19468672573566437,
-0.2521743178367615,
0.23523607850074768,
0.04631083831191063,
0.2704988420009613,
-0.36650601029396057,
0.06160764396190643,
0.002265832619741559,
-0.1412229984998703,
0.3014586269855499,
-0.039731282740831375,
0.025154205039143562,
0.3092961013317108,
0.1441100835800171,
0.1605691760778427,
0.2176133245229721,
0.016246972605586052,
0.041301120072603226,
-0.1807834804058075,
0.02005145698785782,
0.4210739731788635,
-0.10394524037837982,
0.20985257625579834,
0.2836742699146271,
-0.2959516644477844,
0.237280935049057,
0.15314027667045593,
0.126616969704628,
0.017236165702342987,
0.6544226408004761,
-0.3165149688720703,
-0.3685065507888794,
-0.41017523407936096,
-0.0002381523372605443,
-0.11313951015472412,
0.7101011276245117,
0.015570534393191338,
0.37833264470100403,
0.0592985637485981,
-0.22512087225914001,
-0.1065516546368599,
-0.14254987239837646,
-0.03130088001489639,
0.2766115069389343,
0.3308050334453583,
-0.1430416852235794,
0.09999677538871765,
0.364289253950119,
0.19511090219020844,
-0.12514980137348175,
0.10981620848178864,
0.010613635182380676,
0.000484125514049083,
-0.02198464795947075,
0.006877057254314423,
0.28871336579322815,
-0.4466709792613983,
-0.26003918051719666,
0.018209615722298622,
0.2909232974052429,
-0.15688997507095337,
-0.04910168796777725,
0.13676917552947998,
0.32821670174598694,
0.26820123195648193,
0.43532872200012207,
-0.023537177592515945,
0.15079514682292938,
0.1068362295627594,
0.08927139639854431,
-0.04730483889579773,
-0.544535756111145,
0.0005120147252455354,
0.24070467054843903,
-0.012655884027481079,
-0.37783658504486084,
-0.17573226988315582,
0.17834851145744324,
0.1030278354883194,
-0.13778147101402283,
-0.006741029676049948,
0.4482303261756897,
-0.20714053511619568,
0.08780096471309662,
0.05547184869647026,
0.0166326817125082,
0.025327429175376892,
-0.14921152591705322,
0.10072558373212814,
0.1356729418039322,
0.18472321331501007,
0.0047007231041789055,
0.21200397610664368,
0.1417587250471115,
-0.009669789113104343,
0.228665292263031,
0.3601229786872864,
0.2433692216873169,
-0.3316453993320465,
-0.4114707410335541,
-0.07574642449617386,
0.3266928493976593,
-0.3170720636844635,
0.07376297563314438,
0.3929128646850586,
-0.09876365959644318,
0.2164568156003952,
-0.08823420107364655,
0.6065359115600586,
-0.14359959959983826,
0.2302946001291275,
-0.28167232871055603,
-0.35950180888175964
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
@lhoestq I think the ```try_from_hf_gcs``` provide the same functionality. What all datasets are available on HF GCS? Are all the datasets on huggingFace datasets hub are made available on GCS, automatically?
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 31
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
@lhoestq I think the ```try_from_hf_gcs``` provide the same functionality. What all datasets are available on HF GCS? Are all the datasets on huggingFace datasets hub are made available on GCS, automatically?
|
[
-0.06998051702976227,
-0.5376314520835876,
-0.060694050043821335,
0.26995497941970825,
0.031188692897558212,
0.1857699602842331,
0.20472118258476257,
-0.0738600417971611,
0.5251615643501282,
0.1915545016527176,
-0.20835715532302856,
0.2142615020275116,
0.14290183782577515,
0.06532808393239975,
0.25217488408088684,
0.07142281532287598,
0.06970236450433731,
0.31918036937713623,
-0.48510870337486267,
-0.26864302158355713,
-0.11092010885477066,
-0.03626058250665665,
-0.13807736337184906,
0.12889334559440613,
-0.2874600291252136,
-0.2463809847831726,
-0.01208404265344143,
-0.010751044377684593,
-0.25998950004577637,
-0.23137277364730835,
0.329043447971344,
0.39068877696990967,
-0.09853766858577728,
0.27854475378990173,
-0.0001202593557536602,
0.052239179611206055,
-0.04834850877523422,
0.037580981850624084,
-0.46674439311027527,
-0.05957619473338127,
-0.04330476000905037,
0.023283453658223152,
0.5407463908195496,
0.12720707058906555,
0.07930611819028854,
-0.2443220466375351,
-0.2729662358760834,
-0.36549296975135803,
0.3282223045825958,
-0.018144773319363594,
0.1577933132648468,
0.3644487261772156,
-0.23007936775684357,
-0.13111689686775208,
0.2805151045322418,
0.12333643436431885,
-0.47789955139160156,
0.25376659631729126,
0.05403134971857071,
0.06320282816886902,
-0.16135314106941223,
-0.02435053139925003,
-0.1481771171092987,
-0.058238912373781204,
0.37442031502723694,
-0.11067482084035873,
-0.25963592529296875,
-0.48175495862960815,
0.16579753160476685,
0.4390697181224823,
0.7818115949630737,
-0.36949416995048523,
-0.052463654428720474,
-0.28372707962989807,
0.15518206357955933,
0.12235336750745773,
0.1964028924703598,
0.38997969031333923,
-0.08611900359392166,
0.11965165287256241,
-0.1751594841480255,
-0.5157378315925598,
-0.22678235173225403,
-0.2266264408826828,
0.30752038955688477,
-0.13187146186828613,
-0.1225423812866211,
0.05854120850563049,
0.44785597920417786,
0.1124911680817604,
0.33232977986335754,
-0.17562846839427948,
-0.4155186414718628,
0.3108777701854706,
-0.4134176969528198,
-0.2898399233818054,
-0.11530763655900955,
0.42774268984794617,
0.3985426723957062,
0.23061752319335938,
0.31788596510887146,
0.12359710782766342,
0.05377120152115822,
-0.041122663766145706,
-0.05860510095953941,
0.15823869407176971,
0.1617196649312973,
0.07680493593215942,
0.09835243970155716,
-0.03685774281620979,
0.16415245831012726,
-0.03572295233607292,
0.0670008510351181,
-0.31818199157714844,
-0.2331129014492035,
-0.04348602518439293,
-0.07040302455425262,
-0.18526799976825714,
-0.07371608912944794,
0.009637909010052681,
0.3312656581401825,
0.04395032674074173,
0.3386301100254059,
0.27112463116645813,
0.3304353654384613,
-0.08821402490139008,
-0.15445955097675323,
0.3299463987350464,
-0.23816902935504913,
-0.23853753507137299,
-0.1456328183412552,
-0.13152599334716797,
-0.2118006944656372,
0.4393598139286041,
0.2759014964103699,
-0.050180308520793915,
-0.18493187427520752,
0.4688893258571625,
-0.044025443494319916,
0.1317593902349472,
-0.04922576993703842,
-0.30384311079978943,
0.2460276037454605,
0.4969671964645386,
-0.0509326197206974,
-0.056478600949048996,
0.15984220802783966,
0.20204412937164307,
-0.24831260740756989,
0.18331661820411682,
-0.332920104265213,
-0.39006975293159485,
-0.003592817345634103,
0.03222296014428139,
0.041228342801332474,
-0.040439534932374954,
-0.8469291925430298,
0.3460439145565033,
-0.34312912821769714,
0.37128129601478577,
0.4440462291240692,
0.11903779953718185,
-0.000557305000256747,
-0.17311426997184753,
0.03332111984491348,
0.5034140348434448,
-0.17007304728031158,
-0.008530594408512115,
0.17768676578998566,
-0.30547672510147095,
-0.10374266654253006,
0.04398973286151886,
-0.3630762994289398,
0.06950263679027557,
-0.12723301351070404,
-0.08578487485647202,
0.3792758882045746,
0.022877220064401627,
-0.052542559802532196,
0.08452622592449188,
0.17024749517440796,
-0.014818615280091763,
0.07116690278053284,
-0.17734213173389435,
-0.021825486794114113,
0.019965481013059616,
-0.44769880175590515,
0.15679165720939636,
0.21907494962215424,
-0.1982140690088272,
0.0974600538611412,
-0.24788694083690643,
0.0965181291103363,
-0.03246104344725609,
-0.13107141852378845,
0.23368148505687714,
0.25064796209335327,
-0.5099540948867798,
0.1355234533548355,
-0.14144739508628845,
-0.1844235509634018,
0.17860344052314758,
0.047062236815690994,
-0.013371814042329788,
-0.041113466024398804,
0.174254909157753,
-0.762387216091156,
0.3165924549102783,
-0.17888705432415009,
0.1900547444820404,
0.0594744011759758,
-0.18161386251449585,
0.1207253634929657,
0.25376856327056885,
-0.10285484790802002,
0.33562347292900085,
-0.034990519285202026,
-0.5231191515922546,
0.08467394858598709,
-0.3067096471786499,
-0.45649468898773193,
0.3038049638271332,
-0.35758504271507263,
0.3665589988231659,
-0.19588521122932434,
0.3150853216648102,
0.3337152302265167,
0.09932562708854675,
0.09236598759889603,
-0.019859597086906433,
0.10613401979207993,
0.08539079129695892,
-0.17771069705486298,
0.2503395974636078,
0.12156429886817932,
0.3644590675830841,
0.20295420289039612,
0.3083251416683197,
0.05760075896978378,
-0.46848219633102417,
0.3234202265739441,
-0.3931083679199219,
0.03753891959786415,
0.10425130277872086,
0.03867844492197037,
0.3395087420940399,
-0.2522577941417694,
0.30898672342300415,
0.14658686518669128,
-0.06601544469594955,
-0.09557560831308365,
0.13609810173511505,
-0.10972355306148529,
-0.11935898661613464,
0.16305039823055267,
0.16921687126159668,
0.37034720182418823,
0.36446747183799744,
-0.08221413940191269,
0.0035104048438370228,
0.06374940276145935,
-0.14417697489261627,
-0.028229080140590668,
0.142059326171875,
-0.09895621240139008,
-0.2244129478931427,
0.31184762716293335,
-0.20241320133209229,
0.09649890661239624,
0.19334319233894348,
0.1441754847764969,
0.05305086821317673,
-0.2020271271467209,
-0.27631959319114685,
0.2760869562625885,
0.04686466604471207,
0.39842504262924194,
-0.025529954582452774,
-0.014695298857986927,
-0.03029644303023815,
-0.633045494556427,
0.14735279977321625,
-0.2354976087808609,
-0.12068956345319748,
-0.30198994278907776,
0.07837093621492386,
-0.3228672444820404,
0.04183337464928627,
0.14468666911125183,
0.00714252982288599,
-0.5675163269042969,
0.002298203995451331,
0.2356797307729721,
-0.04046666622161865,
0.07017796486616135,
-0.0669180303812027,
-0.3137351870536804,
0.6049486994743347,
-0.2892225384712219,
-0.0028115760069340467,
-0.5583303570747375,
0.05973898991942406,
0.0854417011141777,
0.03071342036128044,
0.06905384361743927,
0.20969361066818237,
0.34109222888946533,
0.03483803942799568,
0.07125891745090485,
-0.2587752640247345,
0.13752038776874542,
0.3671415150165558,
-0.19721491634845734,
-0.08938248455524445,
0.020420299842953682,
0.14333868026733398,
-0.2664322257041931,
0.2388627827167511,
-0.10369526594877243,
-0.4493599832057953,
-0.037856344133615494,
0.16938267648220062,
-0.41390854120254517,
0.17224343121051788,
-0.03282958269119263,
0.056411221623420715,
-0.08669355511665344,
-0.18064966797828674,
0.2011307179927826,
-0.01306486502289772,
0.2047116756439209,
0.31518450379371643,
0.04983790963888168,
-0.03838254511356354,
-0.1923564076423645,
0.1486044079065323,
-0.16793906688690186,
-0.45872581005096436,
0.3519235849380493,
-0.17131604254245758,
-0.14779388904571533,
0.2070535570383072,
0.05516159161925316,
0.10599329322576523,
0.11612143367528915,
-0.6097694039344788,
0.28935983777046204,
-0.2824665307998657,
0.028124134987592697,
-0.08548764139413834,
0.03463304042816162,
0.309198260307312,
-0.05768318101763725,
0.016356978565454483,
-0.23209095001220703,
0.054094716906547546,
0.15641996264457703,
0.0065899742767214775,
-0.08317555487155914,
0.029919004067778587,
0.010405398905277252,
-0.39594995975494385,
0.4441450536251068,
-0.0389353483915329,
0.16810342669487,
0.39797908067703247,
0.10066090524196625,
0.48469480872154236,
-0.33323565125465393,
0.16860803961753845,
-0.34423771500587463,
-0.08424048870801926,
0.13253434002399445,
0.18423384428024292,
0.19620604813098907,
-0.05375581607222557,
-0.17223267257213593,
0.010592170991003513,
0.004405149258673191,
-0.22187639772891998,
-0.06112010404467583,
-0.5079460144042969,
0.01274535246193409,
0.0026007427368313074,
0.011491321958601475,
-0.18590955436229706,
-0.15083813667297363,
0.16933511197566986,
0.13342702388763428,
0.5717563629150391,
-0.13404729962348938,
-0.4638608396053314,
-0.02799808792769909,
-0.3130030930042267,
0.24422919750213623,
-0.2751084566116333,
-0.035908766090869904,
-0.11843172460794449,
-0.012828812934458256,
0.3601956069469452,
0.25604355335235596,
0.3104074001312256,
0.010717778466641903,
-0.23674936592578888,
-0.019160060212016106,
-0.02652406133711338,
-0.5356994271278381,
0.11735910922288895,
0.15103742480278015,
-0.002213625703006983,
-0.43684619665145874,
0.16541501879692078,
-0.1191505640745163,
-0.5349705815315247,
-0.08019042760133743,
0.285889595746994,
-0.14133265614509583,
-0.2020379602909088,
-0.2497859001159668,
0.09347077459096909,
0.06127122417092323,
-0.11749981343746185,
-0.045796990394592285,
-0.316514790058136,
-0.42115432024002075,
-0.055482733994722366,
-0.07054601609706879,
-0.12862686812877655,
0.20332524180412292,
0.10388293862342834,
0.21414883434772491,
0.10606372356414795,
-0.09341605752706528,
0.5110623836517334,
0.1661112904548645,
0.35815292596817017,
0.9107125401496887,
-0.04463990405201912,
-0.26563504338264465,
0.16372625529766083,
0.03446121886372566,
0.27408772706985474,
0.3277539908885956,
-0.009177783504128456,
0.3827396333217621,
-0.0922226831316948,
0.010211235843598843,
-0.2542283236980438,
-0.305677592754364,
-0.13650256395339966,
-0.1869208812713623,
-0.3803122341632843,
-0.31693944334983826,
0.5907812118530273,
0.008308586664497852,
-0.23174245655536652,
0.485432893037796,
0.5626722574234009,
-0.28785640001296997,
0.38577398657798767,
0.23584726452827454,
0.9838714599609375,
-0.17727135121822357,
0.08122202754020691,
0.13376080989837646,
-0.09768158197402954,
0.19054897129535675,
-0.296928733587265,
-0.04193374142050743,
-0.244794562458992,
-0.39988067746162415,
-0.21604444086551666,
-0.2909183204174042,
0.37660470604896545,
0.38909363746643066,
0.15210802853107452,
0.10697048157453537,
-0.32838958501815796,
0.17173461616039276,
-0.15240253508090973,
0.06094321981072426,
-0.35898473858833313,
-0.4290202260017395,
-0.4078105390071869,
0.09211325645446777,
0.19406840205192566,
0.02793821506202221,
-0.026897799223661423,
0.1983841210603714,
0.11675796657800674,
-0.19256648421287537,
-0.07272970676422119,
-0.08729835599660873,
-0.37186408042907715,
-0.09952712059020996,
0.21649928390979767,
-0.3137663006782532,
0.3319285809993744,
0.05948806554079056,
0.2201474905014038,
-0.07384876906871796,
-0.08672473579645157,
0.15551342070102692,
0.13600224256515503,
0.16619518399238586,
-0.45365825295448303,
0.2146766483783722,
0.20083066821098328,
0.0410221628844738,
-0.23086751997470856,
0.1811312735080719,
0.042148344218730927,
-0.24221035838127136,
-0.007910170592367649,
-0.23152676224708557,
-0.06489769369363785,
-0.07986705750226974,
0.23357561230659485,
-0.03165677562355995,
0.3375006914138794,
-0.010126820765435696,
0.05790216475725174,
-0.024983318522572517,
0.19413676857948303,
-0.02515377663075924,
0.22635017335414886,
-0.34525030851364136,
-0.1922556608915329,
0.06841732561588287,
0.1450197398662567,
-0.21888330578804016,
0.21546615660190582,
0.2166023701429367,
-0.3611488342285156,
-0.36728283762931824,
0.11458098143339157,
0.5732598304748535,
-0.820009171962738,
-0.035397231578826904,
0.13046912848949432,
-0.020136673003435135,
-0.10837596654891968,
0.2939615547657013,
0.09206780046224594,
0.03581554442644119,
-0.10646136850118637,
0.056769389659166336,
-0.2458825260400772,
0.2419511079788208,
-0.1274217814207077,
0.339080810546875,
0.050563689321279526,
-0.53035968542099,
0.13953417539596558,
0.18600402772426605,
-0.20861178636550903,
-0.022277791053056717,
0.16904141008853912,
-0.19582797586917877,
-0.06354772299528122,
0.20942892134189606,
-0.00450413953512907,
-0.2351350486278534,
-0.045619577169418335,
-0.16332420706748962,
-0.20755968987941742,
-0.13320432603359222,
-0.0886225476861,
0.20021533966064453,
-0.03262005373835564,
-0.07859619706869125,
-0.3392743468284607,
-0.4105198383331299,
-0.16770145297050476,
-0.20655980706214905,
0.2757326066493988,
0.10257796943187714,
0.030032943934202194,
-0.10218177735805511,
0.5886262655258179,
-0.09737719595432281,
-0.407410204410553,
0.0635477602481842,
0.23109179735183716,
0.40924587845802307,
0.1268719732761383,
-0.2562841475009918,
-0.018742233514785767,
-0.07997418940067291,
-0.010526437312364578,
0.48556986451148987,
0.2712603807449341,
-0.18432337045669556,
-0.05848420783877373,
0.03461487218737602,
0.18398088216781616,
-0.27719616889953613,
0.05254381522536278,
0.12204448878765106,
0.16182734072208405,
-0.24475102126598358,
0.21441145241260529,
0.05848843231797218,
-0.04814164713025093,
-0.19423112273216248,
0.11130402237176895,
0.06927230954170227,
-0.08403931558132172,
0.3382112681865692,
0.38103485107421875,
0.14062078297138214,
-0.08435504138469696,
0.027552779763936996,
0.02968250960111618,
0.29044726490974426,
0.1392166167497635,
0.20143072307109833,
-0.020984193310141563,
0.0038975365459918976,
0.46653321385383606,
0.3974306285381317,
-0.04179399833083153,
-0.1978871077299118,
-0.05515390262007713,
0.32301199436187744,
0.219361811876297,
0.10078433901071548,
0.16013379395008087,
-0.4338367283344269,
-0.24871130287647247,
-0.021213294938206673,
-0.10078988969326019,
-0.18394914269447327,
0.04398951679468155,
0.37037643790245056,
0.3934576213359833,
-0.5257896780967712,
-0.2690361738204956,
0.09103411436080933,
-0.008593080565333366,
-0.100766122341156,
-0.02354678325355053,
-0.16161119937896729,
-0.025904014706611633,
0.041081205010414124,
-0.0912402868270874,
-0.11197058111429214,
0.3176022171974182,
0.04117097705602646,
0.2570934295654297,
0.05191543698310852,
0.4102008044719696,
0.3513200581073761,
0.04754607751965523,
0.2566620409488678,
0.03020516224205494,
-0.24605147540569305,
0.19108466804027557,
0.14039216935634613,
0.16351176798343658,
-0.14301708340644836,
-0.035359617322683334,
-0.17100878059864044,
-0.12837298214435577,
0.303840696811676,
-0.03258337825536728,
0.11782001703977585,
0.26438963413238525,
0.07309482246637344,
0.012831592001020908,
0.16346429288387299,
0.03995661437511444,
0.008836885914206505,
-0.08459661900997162,
-0.1734226793050766,
0.49443456530570984,
-0.21570903062820435,
0.2471078485250473,
0.15379591286182404,
-0.12950286269187927,
0.10285723954439163,
0.08663064986467361,
0.029654057696461678,
0.14880426228046417,
0.5596109628677368,
-0.3162326216697693,
-0.15433910489082336,
-0.23965570330619812,
0.013285961002111435,
0.02082737348973751,
0.6919664740562439,
0.15885987877845764,
0.4518468976020813,
-0.1023019328713417,
-0.2958517372608185,
-0.13135075569152832,
-0.13652771711349487,
0.026949672028422356,
0.30406463146209717,
0.32473641633987427,
-0.2221435308456421,
0.36937054991722107,
0.285719633102417,
0.31693825125694275,
0.033494867384433746,
0.20229358971118927,
0.026314163580536842,
0.031735777854919434,
0.08654195815324783,
-0.22789978981018066,
0.31274187564849854,
-0.4761161506175995,
-0.23037345707416534,
0.019367819651961327,
0.17709313333034515,
-0.1575981229543686,
-0.1239934042096138,
0.2766910195350647,
0.21056528389453888,
0.05440653860569,
0.3564322590827942,
0.04603113979101181,
0.3243829905986786,
0.002236100845038891,
-0.01872311905026436,
0.014505776576697826,
-0.5402615070343018,
-0.0021698307245969772,
0.08119037747383118,
-0.10594897717237473,
-0.27950623631477356,
-0.030994318425655365,
-0.047840554267168045,
0.017875224351882935,
-0.13921277225017548,
0.1770956665277481,
0.4349817633628845,
-0.3496013283729553,
0.06981879472732544,
-0.1064135730266571,
-0.15676045417785645,
0.2592366933822632,
0.027197614312171936,
0.1648721545934677,
0.022875968366861343,
0.15800270438194275,
0.11005415767431259,
0.36882132291793823,
0.030172068625688553,
-0.04095708206295967,
0.08169380575418472,
0.39046812057495117,
0.36055856943130493,
-0.1757487803697586,
-0.5782339572906494,
-0.024174630641937256,
0.17883391678333282,
-0.3058335483074188,
0.008183591067790985,
0.38052070140838623,
-0.04245692864060402,
0.13224290311336517,
-0.13772331178188324,
0.5173614025115967,
0.019762679934501648,
0.11784030497074127,
-0.40716230869293213,
-0.31866514682769775
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
Only datasets like wikipedia, wiki40b, wiki_dpr and natural questions are available already processed on the HF google storage. This is used to download directly the arrow file instead of building it from the original data files.
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 36
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
Only datasets like wikipedia, wiki40b, wiki_dpr and natural questions are available already processed on the HF google storage. This is used to download directly the arrow file instead of building it from the original data files.
|
[
-0.1666768491268158,
-0.09972193837165833,
-0.06023569405078888,
0.25159624218940735,
-0.04688331112265587,
0.11431462317705154,
0.2708074748516083,
0.0048355404287576675,
0.4697789251804352,
0.16326726973056793,
-0.03707515448331833,
0.1923089325428009,
0.18890437483787537,
0.01693049632012844,
0.28638526797294617,
0.11644203960895538,
-0.025267578661441803,
0.4686413109302521,
-0.332859069108963,
-0.12431103736162186,
-0.19998496770858765,
-0.20282118022441864,
-0.07527820020914078,
0.07488623261451721,
-0.07131532579660416,
-0.2044890820980072,
0.17876079678535461,
-0.14324943721294403,
-0.30653607845306396,
-0.352885901927948,
0.17291879653930664,
0.38003236055374146,
-0.16420787572860718,
0.12443496286869049,
-0.00012614449951797724,
0.09429038316011429,
0.03292079642415047,
0.09487774968147278,
-0.5260351300239563,
0.006026589311659336,
-0.17463858425617218,
0.003173737321048975,
0.43793052434921265,
-0.018621496856212616,
0.2819119095802307,
-0.4082458019256592,
-0.1863086223602295,
-0.3450864553451538,
0.3139984905719757,
0.005322728306055069,
0.09058088809251785,
-0.07163673639297485,
-0.060489997267723083,
0.2094389796257019,
0.5697906017303467,
0.27334144711494446,
-0.4536009430885315,
0.2838582396507263,
-0.1603652983903885,
-0.045459505170583725,
-0.23303674161434174,
-0.019830353558063507,
-0.1649198979139328,
-0.01761496625840664,
0.3427162170410156,
-0.06580545008182526,
-0.2182612419128418,
-0.4648960828781128,
0.32531729340553284,
0.4471847414970398,
0.869011640548706,
-0.41029155254364014,
-0.07292229682207108,
-0.18445181846618652,
0.2027646005153656,
0.09730245172977448,
0.28563737869262695,
0.39905962347984314,
-0.10664787143468857,
0.07589452713727951,
-0.21273893117904663,
-0.6784487366676331,
-0.2574293613433838,
-0.07118221372365952,
0.26036447286605835,
-0.11534139513969421,
0.01833401620388031,
0.05015958100557327,
0.3017885982990265,
0.008116190321743488,
0.36866495013237,
-0.22384104132652283,
-0.36487117409706116,
0.27233415842056274,
-0.18427807092666626,
-0.21599657833576202,
-0.3739868104457855,
0.1744878739118576,
0.4409632980823517,
0.10098622739315033,
0.4295773208141327,
0.05032201111316681,
0.21707658469676971,
-0.07175098359584808,
-0.12527698278427124,
0.11283872276544571,
0.150420680642128,
0.05338773876428604,
0.2999635636806488,
0.007772034965455532,
0.12638044357299805,
-0.004751934669911861,
0.15714171528816223,
-0.28763240575790405,
-0.0752573013305664,
-0.13768954575061798,
-0.0675589069724083,
-0.15530076622962952,
0.04280539229512215,
0.03080618381500244,
-0.09682975709438324,
-0.08881456404924393,
0.14045751094818115,
0.17645061016082764,
0.23133985698223114,
-0.07162140309810638,
-0.0928623378276825,
0.39064115285873413,
-0.22450584173202515,
-0.16485147178173065,
0.06560371816158295,
-0.1498597413301468,
-0.13486602902412415,
0.4797787368297577,
0.40032482147216797,
0.05391748249530792,
-0.19645437598228455,
0.4721807837486267,
-0.23747214674949646,
0.016677699983119965,
0.36984843015670776,
-0.34477484226226807,
0.17944832146167755,
0.5079677104949951,
0.16433478891849518,
-0.1345519870519638,
-0.02877316065132618,
0.01668795570731163,
-0.14657525718212128,
0.37999027967453003,
-0.34862077236175537,
-0.2767963111400604,
-0.09162462502717972,
0.01928931474685669,
0.15607966482639313,
0.10551833361387253,
-0.854490339756012,
0.23417530953884125,
-0.06272867321968079,
0.19221822917461395,
0.3423014283180237,
0.13842645287513733,
-0.14748112857341766,
-0.19244518876075745,
0.1250511258840561,
0.46845054626464844,
-0.38851332664489746,
0.0869879350066185,
0.0318109467625618,
-0.15921922028064728,
-0.12263030558824539,
0.08673422038555145,
-0.3584824800491333,
0.2561990022659302,
-0.14132003486156464,
-0.08861231803894043,
0.42314857244491577,
0.10553040355443954,
-0.19324037432670593,
0.2495376616716385,
0.17169317603111267,
-0.047932010143995285,
0.13141250610351562,
-0.02838333696126938,
0.0007526506087742746,
0.06928496807813644,
-0.3884223401546478,
0.1332310289144516,
0.3127724826335907,
-0.14875458180904388,
0.12454847246408463,
-0.2645060420036316,
0.11710827052593231,
-0.12915192544460297,
-0.1417367160320282,
0.35763314366340637,
0.31578323245048523,
-0.22282400727272034,
0.1151500791311264,
-0.18697775900363922,
-0.05662064254283905,
0.24610084295272827,
0.09887013584375381,
0.06283573806285858,
-0.010571123100817204,
0.26776373386383057,
-0.7945263981819153,
0.17884843051433563,
-0.33600178360939026,
0.05766410008072853,
-0.01807156205177307,
-0.25924381613731384,
0.06954120099544525,
0.17328864336013794,
-0.08639012277126312,
0.2867392301559448,
-0.037766363471746445,
-0.5865474343299866,
0.02245175465941429,
-0.03371281549334526,
-0.1333196759223938,
0.05921901762485504,
-0.43707776069641113,
0.24248555302619934,
-0.23345479369163513,
0.3700753450393677,
0.20475877821445465,
0.11871146410703659,
0.07103992998600006,
-0.019832458347082138,
0.01751275733113289,
0.21956448256969452,
-0.15292054414749146,
0.11862615495920181,
0.1463339477777481,
0.20476005971431732,
0.16098059713840485,
0.38479286432266235,
0.04758539795875549,
-0.5845122337341309,
0.38881775736808777,
-0.3807123601436615,
0.04930739477276802,
-0.06865528225898743,
0.009146728552877903,
0.2706063687801361,
-0.03963126614689827,
0.3539588153362274,
0.14185482263565063,
-0.06842970103025436,
-0.040579888969659805,
0.1539786010980606,
-0.019824638962745667,
-0.30337268114089966,
0.053068436682224274,
0.29900893568992615,
0.4224362075328827,
0.3638787269592285,
-0.0066053373739123344,
-0.12191051989793777,
0.10779502987861633,
-0.036034323275089264,
0.20459581911563873,
0.3079279661178589,
-0.04412774741649628,
-0.32546722888946533,
0.07535035163164139,
-0.1600910723209381,
0.10069010406732559,
0.12845700979232788,
0.1205163449048996,
0.03442523628473282,
-0.1513557881116867,
-0.2663257420063019,
0.3290826380252838,
-0.02476734109222889,
0.45244258642196655,
0.19725538790225983,
0.052517157047986984,
-0.04291626065969467,
-0.5053242444992065,
0.11699633300304413,
-0.20846137404441833,
-0.06752180308103561,
-0.3271870017051697,
0.006736616138368845,
-0.23215018212795258,
-0.04294230043888092,
0.06923454999923706,
0.19742940366268158,
-0.5449177026748657,
-0.06463059037923813,
0.2237846851348877,
-0.0641593486070633,
0.12642771005630493,
-0.13845589756965637,
-0.2107720822095871,
0.36526644229888916,
-0.0992828831076622,
-0.17640075087547302,
-0.6031213998794556,
-0.024792583659291267,
0.11107063293457031,
-0.014648746699094772,
0.08773329108953476,
0.11834336072206497,
0.2117769420146942,
0.06547461450099945,
-0.07971693575382233,
-0.46501925587654114,
-0.10346975922584534,
0.2821800112724304,
-0.05975819006562233,
-0.1261894255876541,
0.14217860996723175,
0.2849065661430359,
-0.1957387626171112,
0.18195733428001404,
-0.13068264722824097,
-0.2314673811197281,
-0.15153314173221588,
0.2393716722726822,
-0.37112683057785034,
0.4133027493953705,
-0.04176356643438339,
-0.02850072830915451,
0.10133271664381027,
-0.052479907870292664,
0.16473615169525146,
0.1407790184020996,
0.21113258600234985,
0.13141284883022308,
0.16927362978458405,
-0.03282962739467621,
0.07236982136964798,
0.07042206823825836,
-0.12465428560972214,
-0.20965728163719177,
0.46505001187324524,
-0.2878260910511017,
-0.17769555747509003,
0.26963186264038086,
0.024888966232538223,
0.04819986969232559,
0.3943345546722412,
-0.7647736668586731,
0.46287956833839417,
-0.2994994521141052,
0.03855115920305252,
-0.30097055435180664,
-0.06571359932422638,
0.17792697250843048,
0.19023744761943817,
0.0707084909081459,
-0.20317012071609497,
0.14426657557487488,
0.30332252383232117,
-0.05196855962276459,
-0.12785717844963074,
0.24019618332386017,
0.3711484372615814,
-0.4483267664909363,
0.6514487862586975,
-0.21326687932014465,
0.2048831433057785,
0.3713414967060089,
0.06537529081106186,
0.4804437458515167,
-0.394052654504776,
0.3682643175125122,
-0.35338908433914185,
0.0440666526556015,
0.21675026416778564,
0.21281009912490845,
0.023932669311761856,
-0.2817354202270508,
-0.16364409029483795,
0.06639199703931808,
-0.0486382320523262,
-0.1369585245847702,
-0.06715591251850128,
-0.5520755648612976,
0.11954676359891891,
0.021016281098127365,
-0.045058175921440125,
-0.0029317995067685843,
-0.2983916699886322,
0.08291863650083542,
-0.06754112243652344,
0.4848746359348297,
-0.006818512454628944,
-0.2792013883590698,
-0.12406302988529205,
-0.330290287733078,
0.08922618627548218,
-0.11961157619953156,
0.11812068521976471,
-0.13290168344974518,
0.22433677315711975,
0.3356907069683075,
0.17444181442260742,
0.16544075310230255,
-0.20950627326965332,
-0.026709308847784996,
-0.0790943130850792,
0.038094520568847656,
-0.37114670872688293,
0.20801527798175812,
0.07160920649766922,
-0.06578406691551208,
-0.49439725279808044,
0.17160966992378235,
-0.15472552180290222,
-0.3168129324913025,
0.011583900079131126,
0.4513142704963684,
-0.20967960357666016,
-0.14794456958770752,
-0.3307111859321594,
-0.0254512969404459,
-0.05590813606977463,
-0.11776338517665863,
-0.04234245792031288,
-0.36548492312431335,
-0.4115673899650574,
-0.16794560849666595,
-0.21270042657852173,
-0.12154637277126312,
0.08065558224916458,
0.05653277412056923,
0.268374502658844,
0.04634947329759598,
-0.10717762261629105,
0.3505334258079529,
-0.03251513093709946,
0.5019230246543884,
0.6358843445777893,
0.05618607997894287,
-0.17299047112464905,
0.2044605314731598,
-0.15379029512405396,
0.1589082032442093,
0.11654063314199448,
-0.12324706465005875,
0.3661244213581085,
-0.013746078126132488,
-0.08906819671392441,
-0.16292215883731842,
-0.35578274726867676,
-0.07658623903989792,
-0.3086436092853546,
-0.3322862982749939,
-0.43123364448547363,
0.5538914203643799,
0.08693449199199677,
-0.12688252329826355,
0.5455656051635742,
0.4396701753139496,
-0.4222638010978699,
0.3849901556968689,
0.4214802384376526,
0.877450704574585,
-0.1859508752822876,
0.1373997926712036,
0.042010191828012466,
-0.1602698266506195,
0.05168410390615463,
-0.34752893447875977,
-0.05530887842178345,
-0.2762131989002228,
-0.24809405207633972,
-0.22088737785816193,
-0.2604961693286896,
0.3207477629184723,
0.5598608255386353,
0.07583049684762955,
-0.016810057684779167,
-0.38471585512161255,
0.04344717785716057,
-0.08949542045593262,
0.27762025594711304,
-0.298542320728302,
-0.30134546756744385,
-0.3294835686683655,
-0.001713370787911117,
0.08052051067352295,
-0.18589213490486145,
-0.012010592967271805,
0.19345781207084656,
0.1445700228214264,
-0.20845440030097961,
0.030949877575039864,
-0.052472636103630066,
-0.33979856967926025,
0.17621129751205444,
-0.20594853162765503,
-0.3090374171733856,
0.3525291383266449,
0.3789280354976654,
-0.03240932524204254,
0.1247444897890091,
-0.15079060196876526,
0.03421637415885925,
0.16416583955287933,
0.036457303911447525,
-0.4183196425437927,
0.29588884115219116,
-0.0074217417277395725,
-0.03258940577507019,
-0.22835339605808258,
0.23194058239459991,
-0.0671025961637497,
-0.24585725367069244,
0.026758423075079918,
-0.2021273821592331,
-0.0008235995192080736,
-0.030522678047418594,
0.2954298257827759,
-0.14715801179409027,
0.11764101684093475,
0.03508804365992546,
-0.004023082088679075,
-0.04347240924835205,
0.3414011001586914,
-0.14299456775188446,
0.1262928694486618,
-0.44556188583374023,
-0.16892611980438232,
0.21171025931835175,
0.2873641550540924,
0.05824906378984451,
0.4512856602668762,
0.11489749699831009,
-0.37264886498451233,
-0.3462502360343933,
0.23890258371829987,
0.2295851856470108,
-0.6402397155761719,
-0.11738982051610947,
0.18294772505760193,
0.08421263098716736,
-0.14427947998046875,
0.08590219914913177,
-0.14110131561756134,
0.12003668397665024,
0.03190702572464943,
-0.05932260677218437,
-0.13300849497318268,
0.24341511726379395,
-0.11369337886571884,
0.28190967440605164,
0.11488257348537445,
-0.6818987727165222,
0.22751720249652863,
0.2323226034641266,
-0.11188912391662598,
-0.08810077607631683,
0.23630699515342712,
-0.20889736711978912,
-0.1703198105096817,
0.3237917125225067,
-0.037816960364580154,
-0.12076053768396378,
-0.07702431827783585,
-0.16137352585792542,
-0.08197091519832611,
-0.06799086183309555,
-0.07869209349155426,
0.20692884922027588,
-0.0629199668765068,
-0.017049234360456467,
-0.30428099632263184,
-0.4994456171989441,
-0.23139148950576782,
-0.1766507774591446,
0.3165329098701477,
0.003767900401726365,
0.04658740013837814,
-0.09507215768098831,
0.539733350276947,
-0.03744609281420708,
-0.5059791803359985,
0.09490194171667099,
0.06813158839941025,
0.31203967332839966,
0.03451532498002052,
-0.14591975510120392,
0.1798989325761795,
-0.07848586142063141,
-0.1369377076625824,
0.2776886820793152,
0.163631409406662,
-0.1743118017911911,
-0.039098672568798065,
-0.08864842355251312,
0.1683627963066101,
-0.29079392552375793,
-0.04981346055865288,
0.3259469270706177,
0.0578673854470253,
-0.4079628884792328,
0.27482861280441284,
-0.025851165875792503,
-0.0484590120613575,
-0.16978886723518372,
0.19934353232383728,
-0.12152531743049622,
-0.11918727308511734,
0.2989690899848938,
0.27306926250457764,
0.05330392345786095,
-0.2868102788925171,
0.05345778912305832,
-0.22103068232536316,
0.015947619453072548,
0.00932870339602232,
0.32860371470451355,
0.012122678570449352,
-0.020832866430282593,
0.17274883389472961,
0.37379252910614014,
-0.00685087637975812,
-0.16174571216106415,
0.16351690888404846,
0.2933346629142761,
0.25267139077186584,
0.0588129423558712,
0.05663805454969406,
-0.22554028034210205,
-0.2934303879737854,
0.21542702615261078,
-0.3224659562110901,
-0.1408235728740692,
0.13553620874881744,
0.20707079768180847,
0.6086522340774536,
-0.2856200039386749,
-0.23229236900806427,
-0.021582122892141342,
0.03685177117586136,
-0.01529757585376501,
-0.15858575701713562,
-0.12383943796157837,
0.03293628618121147,
0.050057392567396164,
-0.012346453964710236,
-0.0004820376343559474,
0.22237685322761536,
0.13572651147842407,
0.17438390851020813,
-0.004715303424745798,
0.7997288703918457,
0.25980275869369507,
0.05425124987959862,
0.12621109187602997,
-0.08415502309799194,
-0.26833465695381165,
0.24776533246040344,
0.04146278277039528,
0.25548434257507324,
-0.27579939365386963,
0.11203797906637192,
-0.1659218817949295,
-0.25640738010406494,
0.3634272813796997,
-0.05574769526720047,
0.11212337762117386,
0.2614700198173523,
0.2424996793270111,
-0.09338422864675522,
0.30082300305366516,
-0.03795832395553589,
0.0355849452316761,
-0.24345754086971283,
0.1682693511247635,
0.49422454833984375,
0.006617489270865917,
-0.08793971687555313,
0.20700468122959137,
-0.21294429898262024,
0.2865089476108551,
-0.017346052452921867,
0.02514764666557312,
0.13618072867393494,
0.5175824165344238,
-0.19370591640472412,
-0.24391767382621765,
-0.27462461590766907,
-0.019890237599611282,
-0.09084325283765793,
0.720725953578949,
0.09938783943653107,
0.3605433404445648,
-0.04199841618537903,
-0.28704604506492615,
-0.17296037077903748,
-0.17099250853061676,
-0.20536108314990997,
0.24526803195476532,
0.34256887435913086,
0.004651904571801424,
0.18946488201618195,
0.36506766080856323,
0.2575702369213104,
-0.10267594456672668,
0.12707005441188812,
0.15550051629543304,
-0.022972267121076584,
-0.014991196803748608,
-0.057715512812137604,
0.34342652559280396,
-0.6017383337020874,
-0.3483433723449707,
0.03813617303967476,
0.189576655626297,
-0.12639418244361877,
-0.12013605237007141,
0.19930876791477203,
0.24552935361862183,
0.36677882075309753,
0.470102995634079,
0.04517679661512375,
0.23086898028850555,
-0.0662703886628151,
-0.026091961190104485,
0.1762671172618866,
-0.4044029414653778,
-0.00970055814832449,
0.2698427438735962,
0.021732445806264877,
-0.24805016815662384,
-0.07703863829374313,
0.1335386335849762,
0.035183291882276535,
0.04541361704468727,
0.060701820999383926,
0.4718453884124756,
-0.3078618347644806,
0.07112102955579758,
0.09820840507745743,
-0.047893233597278595,
0.055904872715473175,
-0.10702741891145706,
0.16134335100650787,
0.06454679369926453,
0.0472755990922451,
-0.05936665087938309,
0.19970202445983887,
-0.05510652810335159,
-0.01607339084148407,
0.2807050943374634,
0.42764076590538025,
0.2663156986236572,
-0.16418786346912384,
-0.42570599913597107,
0.08378507196903229,
0.33605697751045227,
-0.3001605272293091,
-0.07545674592256546,
0.25714758038520813,
-0.1475951224565506,
0.2642505466938019,
-0.18790215253829956,
0.5215159058570862,
-0.0773455947637558,
0.09868920594453812,
-0.5550127625465393,
-0.3778085708618164
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
@lhoestq How can we make sure that the data we upload on HuggingFace hub is available in form of preprocessed arrow files ?
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 23
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
@lhoestq How can we make sure that the data we upload on HuggingFace hub is available in form of preprocessed arrow files ?
|
[
-0.1100969910621643,
-0.45456966757774353,
-0.12453409284353256,
0.32752296328544617,
0.13850563764572144,
0.06664983183145523,
0.10800839215517044,
0.005187012255191803,
0.2907288670539856,
0.2163160890340805,
-0.0762581154704094,
0.3311561346054077,
0.07582574337720871,
0.26745668053627014,
0.31140953302383423,
0.0753525048494339,
-0.012606513686478138,
0.33741119503974915,
-0.47077471017837524,
-0.07295840978622437,
-0.02265075221657753,
-0.13127043843269348,
-0.02807963453233242,
0.14297305047512054,
-0.3697299063205719,
-0.12027650326490402,
0.1659027487039566,
0.13189251720905304,
-0.41147297620773315,
-0.3004585802555084,
0.2799258232116699,
0.39187201857566833,
-0.21103329956531525,
0.2840103209018707,
-0.00011852828174596652,
0.03479187935590744,
0.014841384254395962,
0.046942420303821564,
-0.42345312237739563,
-0.06300083547830582,
-0.10527905076742172,
-0.09001263976097107,
0.5526963472366333,
0.13635767996311188,
0.10499777644872665,
-0.40110543370246887,
-0.2245006263256073,
-0.14695556461811066,
0.49656960368156433,
-0.12214843183755875,
0.17080377042293549,
0.4002012014389038,
-0.036794595420360565,
0.001256679999642074,
0.21029677987098694,
0.3903619945049286,
-0.4905523359775543,
0.27775049209594727,
0.10352697968482971,
0.04219235107302666,
-0.20851172506809235,
-0.04912545904517174,
-0.004856880288571119,
-0.13731929659843445,
0.3756074905395508,
-0.0360604003071785,
-0.19853974878787994,
-0.4639989137649536,
0.07086504250764847,
0.3484271764755249,
0.5639094114303589,
-0.32971495389938354,
-0.144635409116745,
-0.35947832465171814,
0.24025867879390717,
-0.021607493981719017,
0.32936593890190125,
0.2255380004644394,
-0.15787647664546967,
0.06734731793403625,
-0.26633912324905396,
-0.5470796823501587,
-0.3333836793899536,
-0.2185755968093872,
0.5047817230224609,
-0.0769142434000969,
-0.10865405201911926,
-0.012990109622478485,
0.2491808831691742,
-0.0777415931224823,
0.2917517423629761,
-0.08054593950510025,
-0.2887800931930542,
0.21612754464149475,
-0.191463902592659,
-0.3093225955963135,
-0.281237930059433,
0.4735993444919586,
0.3961888551712036,
0.4002002477645874,
0.523962676525116,
0.09594099223613739,
0.07201139628887177,
-0.11747570335865021,
-0.03171847388148308,
0.15873008966445923,
0.1935529112815857,
-0.11553347855806351,
0.21199573576450348,
0.15828277170658112,
0.17208735644817352,
0.00982156302779913,
0.0601804293692112,
-0.3296579122543335,
-0.19554686546325684,
-0.02246738038957119,
0.15448328852653503,
-0.15538442134857178,
0.09394492954015732,
-0.13745300471782684,
0.2613371014595032,
0.06386935710906982,
0.3560953736305237,
0.056974973529577255,
0.18069276213645935,
-0.029547305777668953,
-0.17910462617874146,
0.3790056109428406,
-0.24808330833911896,
-0.27929219603538513,
-0.10474268347024918,
-0.16943824291229248,
-0.18060725927352905,
0.45860403776168823,
0.40906187891960144,
-0.11228744685649872,
-0.08871088922023773,
0.44870230555534363,
0.05722494795918465,
-0.01534324325621128,
0.04849018529057503,
-0.16983254253864288,
0.14901794493198395,
0.43786871433258057,
-0.0290966983884573,
-0.07057918608188629,
-0.09944088011980057,
0.12501712143421173,
-0.14652572572231293,
0.2650178372859955,
-0.36466819047927856,
-0.4418756365776062,
0.04447505623102188,
0.05431694537401199,
-0.044445592910051346,
0.018259059637784958,
-0.7932116389274597,
0.12924540042877197,
-0.29538044333457947,
0.3496227562427521,
0.2732410132884979,
0.18343384563922882,
-0.042446885257959366,
-0.201465904712677,
0.18595638871192932,
0.35229095816612244,
-0.18421106040477753,
0.09594392776489258,
0.1387869268655777,
-0.3303419053554535,
-0.1780180186033249,
0.11798898875713348,
-0.366770476102829,
0.24279233813285828,
-0.15447528660297394,
0.041644707322120667,
0.42121949791908264,
-0.09073419123888016,
-0.007726989686489105,
-0.0763678029179573,
-0.034323230385780334,
0.10334896296262741,
0.14719580113887787,
-0.10763537138700485,
-0.03807492181658745,
-0.12160032987594604,
-0.2622416317462921,
0.17543277144432068,
0.15813232958316803,
-0.18942643702030182,
0.0890524759888649,
-0.2200372964143753,
-0.04702092334628105,
0.015524155460298061,
-0.38545864820480347,
0.1361888200044632,
0.06948893517255783,
-0.3777519762516022,
0.061213891953229904,
-0.14471864700317383,
-0.10637392848730087,
0.07156645506620407,
-0.005490120500326157,
0.09059000760316849,
-0.027594469487667084,
0.2464645802974701,
-0.8245880007743835,
0.2613978683948517,
-0.12073222547769547,
-0.014408938586711884,
-0.12860803306102753,
-0.19913417100906372,
0.00657025258988142,
0.19677166640758514,
-0.1613357812166214,
0.41984373331069946,
0.04008560627698898,
-0.663068950176239,
0.12370271235704422,
-0.20789195597171783,
-0.43885380029678345,
0.12590020895004272,
-0.35886555910110474,
0.41691556572914124,
-0.5347792506217957,
0.1409386545419693,
0.279803991317749,
0.0023941639810800552,
0.10170810669660568,
0.08576840907335281,
-0.0059618717059493065,
0.12026549130678177,
-0.08339457958936691,
0.208268940448761,
0.20246078073978424,
0.45759037137031555,
0.30439698696136475,
0.41586482524871826,
0.15022729337215424,
-0.42506566643714905,
0.22534266114234924,
-0.43853476643562317,
-0.040062423795461655,
-0.006869019474834204,
-0.00012481898011174053,
0.26026466488838196,
-0.4774879813194275,
0.2487117350101471,
0.07176391780376434,
-0.07998480647802353,
-0.06402373313903809,
0.16097097098827362,
-0.26562345027923584,
-0.21457694470882416,
0.15596435964107513,
0.16313013434410095,
0.3208198547363281,
0.2711210250854492,
0.07313941419124603,
-0.03462444618344307,
0.018313873559236526,
-0.10535386204719543,
-0.05625176057219505,
0.13569143414497375,
0.014498205855488777,
-0.09409637749195099,
0.19219842553138733,
-0.102865070104599,
0.1302124708890915,
0.1553012579679489,
0.19307063519954681,
0.07490222901105881,
-0.17825627326965332,
-0.34132301807403564,
0.24328039586544037,
0.1592388153076172,
0.34052935242652893,
-0.0173163004219532,
-0.07344620674848557,
-0.07063094526529312,
-0.5441482067108154,
0.17751707136631012,
-0.3389022946357727,
-0.17543353140354156,
-0.3400019407272339,
-0.08054590970277786,
-0.2896674871444702,
0.0255497545003891,
0.07969983667135239,
-0.2292756885290146,
-0.5078171491622925,
0.04966273158788681,
0.32251477241516113,
-0.019066618755459785,
-0.09476462751626968,
-0.07931244373321533,
-0.058397259563207626,
0.5088115334510803,
-0.22794723510742188,
0.018519705161452293,
-0.5136078596115112,
0.10253586620092392,
0.1898595243692398,
0.041152290999889374,
0.13106942176818848,
0.11519771069288254,
0.37116193771362305,
-0.050433285534381866,
0.14801043272018433,
-0.27432364225387573,
0.05714118480682373,
0.2185664027929306,
-0.17487016320228577,
-0.08089859038591385,
0.06508103013038635,
0.2000829577445984,
-0.07124356180429459,
0.16529260575771332,
0.011965415440499783,
-0.28966036438941956,
-0.157896488904953,
0.0980069562792778,
-0.21792997419834137,
0.2611677944660187,
-0.1466183215379715,
0.07851079851388931,
0.0847812071442604,
-0.2372639924287796,
0.35609346628189087,
0.07276982069015503,
0.16594062745571136,
0.18217405676841736,
0.18537361919879913,
0.022503480315208435,
-0.23591911792755127,
0.13326632976531982,
-0.07921648770570755,
-0.43343546986579895,
0.4475569427013397,
-0.23340755701065063,
-0.26123160123825073,
0.3169558346271515,
0.12969326972961426,
0.23791654407978058,
0.11632351577281952,
-0.5254436135292053,
0.12586581707000732,
-0.17058759927749634,
0.031962040811777115,
-0.16008824110031128,
0.05619113892316818,
0.3184780776500702,
0.08640247583389282,
-0.0027332117315381765,
-0.14391537010669708,
0.10065709054470062,
0.307608425617218,
-0.04589476436376572,
-0.04212474077939987,
0.04266318678855896,
0.014901628717780113,
-0.41008034348487854,
0.43635812401771545,
-0.0640629455447197,
0.22185935080051422,
0.35286882519721985,
0.11279986053705215,
0.3964581787586212,
-0.29600951075553894,
0.28078970313072205,
-0.5286571383476257,
-0.08072325587272644,
0.21563366055488586,
0.13060665130615234,
0.42946961522102356,
0.13014477491378784,
-0.25061360001564026,
0.03702286258339882,
0.012281037867069244,
-0.22761951386928558,
0.08424906432628632,
-0.48711255192756653,
-0.10967674851417542,
-0.032992396503686905,
-0.07474244385957718,
-0.061087578535079956,
-0.20151947438716888,
0.14682403206825256,
-0.08547205477952957,
0.47839662432670593,
-0.15602771937847137,
-0.44612637162208557,
-0.1290581226348877,
-0.3959273397922516,
0.11367033421993256,
-0.12003062665462494,
-0.11012203991413116,
-0.013036769814789295,
-0.05119583383202553,
0.3627054691314697,
0.2612913250923157,
0.33813929557800293,
-0.017580758780241013,
-0.22695419192314148,
-0.1811377853155136,
-0.15221016108989716,
-0.5588304996490479,
0.27309638261795044,
-0.025002578273415565,
0.05304756388068199,
-0.4321380853652954,
0.23220625519752502,
-0.15905016660690308,
-0.48676979541778564,
-0.034731779247522354,
0.34220391511917114,
-0.16919031739234924,
-0.15656094253063202,
-0.25924545526504517,
0.007548569701611996,
0.009629621170461178,
-0.19625777006149292,
0.02380945347249508,
-0.33799096941947937,
-0.3770410120487213,
-0.23759976029396057,
-0.13673606514930725,
-0.07026302814483643,
0.06932619214057922,
0.13054868578910828,
0.3056545853614807,
-0.049102410674095154,
-0.05010722950100899,
0.6013352274894714,
0.13187195360660553,
0.33506855368614197,
0.7355260848999023,
0.04717792198061943,
-0.33114439249038696,
-0.0033868029713630676,
-0.04843303561210632,
0.30597060918807983,
0.3620959222316742,
-0.014642572961747646,
0.2749546766281128,
-0.11066435277462006,
-0.03423528000712395,
-0.49766576290130615,
-0.29902514815330505,
0.07015979290008545,
-0.26178786158561707,
-0.22272168099880219,
-0.21904505789279938,
0.5680631399154663,
0.018995925784111023,
-0.1520606279373169,
0.5435662269592285,
0.7026256322860718,
-0.28650882840156555,
0.3620838224887848,
0.2507554888725281,
1.018973708152771,
-0.12584258615970612,
0.1765022575855255,
0.16446013748645782,
-0.15961410105228424,
0.2215939611196518,
-0.15654397010803223,
-0.07281003892421722,
-0.11081868410110474,
-0.18128368258476257,
-0.11277208477258682,
-0.20244762301445007,
0.23494020104408264,
0.39574819803237915,
0.07975707203149796,
0.00022649050515610725,
-0.3505668044090271,
0.0246778205037117,
-0.2778593897819519,
0.14374065399169922,
-0.30004069209098816,
-0.509446382522583,
-0.5215586423873901,
0.09045444428920746,
0.14921338856220245,
-0.06680283695459366,
-0.060957010835409164,
0.17196933925151825,
0.07232291251420975,
-0.15978668630123138,
0.08206302672624588,
-0.15385811030864716,
-0.23088787496089935,
-0.05092380568385124,
0.17181135714054108,
-0.2952207922935486,
0.1772785186767578,
0.30743685364723206,
0.12403637170791626,
-0.06675049662590027,
-0.19363705813884735,
0.09378501772880554,
0.019896408542990685,
0.0419720821082592,
-0.45125719904899597,
0.18632356822490692,
0.0436507984995842,
-0.11459849029779434,
-0.1931348741054535,
-0.014963333494961262,
0.06897557526826859,
-0.16750213503837585,
0.05953807383775711,
-0.1282438188791275,
-0.026072287932038307,
-0.17716966569423676,
0.2504001259803772,
-0.10112004727125168,
0.2999171316623688,
0.04533238708972931,
0.0786275863647461,
0.11160777509212494,
0.19354811310768127,
-0.0053184316493570805,
0.35072603821754456,
-0.2922373414039612,
-0.10052963346242905,
0.1709352433681488,
0.12276875972747803,
-0.3113180696964264,
0.3636642396450043,
0.0727192834019661,
-0.30711832642555237,
-0.35103732347488403,
0.3143337368965149,
0.39192578196525574,
-0.8428544998168945,
-0.007308847736567259,
0.2356802374124527,
-0.07065286487340927,
-0.1913164258003235,
0.17815400660037994,
0.13873477280139923,
-0.071074940264225,
0.06333308666944504,
0.06305453926324844,
-0.33589062094688416,
0.3309187889099121,
0.11526236683130264,
0.22596564888954163,
-0.05699925869703293,
-0.7230480313301086,
0.1906857192516327,
0.23466366529464722,
-0.21086707711219788,
-0.011026287451386452,
0.14330433309078217,
-0.1370857208967209,
-0.19738048315048218,
0.21826623380184174,
0.08253151178359985,
-0.2296375334262848,
-0.031000550836324692,
-0.12594567239284515,
-0.2582263946533203,
-0.15487278997898102,
-0.14986982941627502,
0.1633935570716858,
-0.07319063693284988,
-0.10375166684389114,
-0.3107842206954956,
-0.3471997082233429,
-0.09703446179628372,
-0.17016005516052246,
0.24928434193134308,
0.059742894023656845,
0.1258670687675476,
-0.26831555366516113,
0.6817314624786377,
0.10243184119462967,
-0.42413130402565,
0.12370073795318604,
0.23055243492126465,
0.4535209834575653,
0.1163683831691742,
-0.3404822051525116,
-0.12076139450073242,
-0.19149304926395416,
0.2119704782962799,
0.3374480605125427,
0.3766680955886841,
-0.13558103144168854,
-0.11386913061141968,
0.046650130301713943,
0.1565055251121521,
-0.3454877436161041,
0.09470731019973755,
0.39995160698890686,
0.054244834929704666,
-0.25534388422966003,
0.25094205141067505,
0.08727258443832397,
0.046514056622982025,
-0.06088671833276749,
0.2509111166000366,
0.04695095494389534,
-0.10933037102222443,
0.2647147476673126,
0.235220804810524,
0.2208663821220398,
-0.102205790579319,
0.049036793410778046,
-0.14804190397262573,
0.14477328956127167,
0.030469536781311035,
0.11581785976886749,
-0.21760950982570648,
-0.08587229996919632,
0.33238932490348816,
0.4036594331264496,
-0.006565563380718231,
-0.04354909807443619,
-0.026686951518058777,
0.4827600419521332,
0.17136716842651367,
0.19139070808887482,
0.19797202944755554,
-0.2922002077102661,
-0.36436811089515686,
-0.027474289759993553,
-0.10327344387769699,
-0.15354853868484497,
0.15260057151317596,
0.4873875081539154,
0.3485183119773865,
-0.43626877665519714,
-0.27602216601371765,
-0.057155441492795944,
-0.030402211472392082,
-0.03833445534110069,
-0.17584332823753357,
-0.14531275629997253,
-0.01654282957315445,
-0.08562268316745758,
-0.08031483739614487,
-0.01605159044265747,
0.29371023178100586,
0.08977700769901276,
0.22874332964420319,
0.06396102160215378,
0.3939080238342285,
0.20611180365085602,
0.15102925896644592,
0.34092679619789124,
0.06315986812114716,
0.0059551638551056385,
0.32308587431907654,
0.09474749118089676,
0.26469430327415466,
-0.11242323368787766,
-0.050024859607219696,
-0.17274722456932068,
-0.008248030208051205,
0.30323702096939087,
-0.09250975400209427,
0.0496077761054039,
0.399367094039917,
0.17488230764865875,
0.13276192545890808,
0.13119594752788544,
0.07551181316375732,
-0.03727550804615021,
-0.194913849234581,
-0.0889999195933342,
0.4191943407058716,
-0.018863467499613762,
0.10955251753330231,
0.09706968814134598,
-0.21617092192173004,
-0.03509300574660301,
-0.03080788627266884,
-0.04942282661795616,
0.09700561314821243,
0.4881441295146942,
-0.29781731963157654,
-0.2739185094833374,
-0.2831568717956543,
0.0307261161506176,
0.05821605771780014,
0.8948065638542175,
0.24009698629379272,
0.26434049010276794,
0.01132113579660654,
-0.35473787784576416,
-0.23992465436458588,
-0.03300493210554123,
-0.07516994327306747,
0.271389901638031,
0.1888170838356018,
-0.1306464523077011,
0.2097877711057663,
0.49190351366996765,
0.24005094170570374,
-0.15731284022331238,
0.15948116779327393,
-0.0028056257870048285,
-0.06643126904964447,
0.01402396522462368,
0.03036400116980076,
0.19391943514347076,
-0.409389853477478,
-0.1508575677871704,
0.16415512561798096,
0.2551957964897156,
-0.1288655698299408,
0.060990653932094574,
0.29798242449760437,
0.04699578136205673,
0.26779159903526306,
0.35228103399276733,
0.10147807747125626,
0.13590461015701294,
0.0656997337937355,
-0.09644380211830139,
-0.05083126202225685,
-0.45656293630599976,
0.0010538101196289062,
0.22056497633457184,
-0.007412086706608534,
-0.3085285723209381,
-0.12220259755849838,
0.034590546041727066,
0.07050607353448868,
-0.008491111919283867,
0.003094939747825265,
0.2791022062301636,
-0.28368741273880005,
0.07359565794467926,
0.10593641549348831,
-0.055023543536663055,
0.190914124250412,
0.009986539371311665,
-0.005455996375530958,
0.016159649938344955,
0.04966632276773453,
0.04646313562989235,
0.4059772789478302,
0.06411009281873703,
-0.039820075035095215,
0.14553117752075195,
0.33637818694114685,
0.3294086158275604,
-0.1950823813676834,
-0.5431334972381592,
0.022327085956931114,
0.0680246651172638,
-0.3204878568649292,
-0.019294191151857376,
0.5207052826881409,
-0.1929073929786682,
0.07618441432714462,
-0.1330624669790268,
0.6729961037635803,
0.03514337167143822,
0.20699094235897064,
-0.27965638041496277,
-0.28609535098075867
] |
https://github.com/huggingface/datasets/issues/2092
|
How to disable making arrow tables in load_dataset ?
|
We're still working on this :) This will be available soon
Users will be able to put their processed arrow files on the Hub
|
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
| 24
|
How to disable making arrow tables in load_dataset ?
Is there a way to disable the construction of arrow tables, or to make them on the fly as the dataset is being used ?
We're still working on this :) This will be available soon
Users will be able to put their processed arrow files on the Hub
|
[
-0.3103681802749634,
-0.20938396453857422,
-0.14643245935440063,
0.26523593068122864,
0.034569669514894485,
0.06669434905052185,
0.27370917797088623,
0.11328824609518051,
0.3428298532962799,
0.22532954812049866,
0.022577719762921333,
0.5258627533912659,
0.02045079506933689,
0.13482196629047394,
0.21488356590270996,
0.21048636734485626,
-0.056754257529973984,
0.3835601508617401,
-0.370223730802536,
-0.02179347723722458,
-0.013230504468083382,
-0.24253427982330322,
-0.03695668280124664,
0.1654263287782669,
-0.3527931571006775,
-0.15165376663208008,
0.2050926685333252,
-0.0799776241183281,
-0.37333112955093384,
-0.35534271597862244,
0.28087472915649414,
0.37138625979423523,
-0.25695860385894775,
0.21407271921634674,
-0.00011598390847211704,
0.08175253123044968,
0.11647625267505646,
0.12940463423728943,
-0.35112667083740234,
0.02713392861187458,
-0.2709643542766571,
-0.050630562007427216,
0.5330004692077637,
0.04818909987807274,
0.17402131855487823,
-0.3140251934528351,
-0.32610517740249634,
-0.2373572587966919,
0.30755192041397095,
-0.10841751098632812,
0.19016169011592865,
0.13381437957286835,
-0.12586498260498047,
0.021422013640403748,
0.3372378647327423,
0.26441437005996704,
-0.5166214108467102,
0.17665627598762512,
0.002949231071397662,
0.01868629828095436,
-0.26830852031707764,
-0.06923975050449371,
-0.08066346496343613,
-0.1670563817024231,
0.27918460965156555,
-0.1535370945930481,
-0.1141776517033577,
-0.4275374412536621,
0.08030178397893906,
0.2599160969257355,
0.7489732503890991,
-0.3426678776741028,
-0.10134004801511765,
-0.22711993753910065,
0.23998422920703888,
0.046320222318172455,
0.2915193736553192,
0.24840186536312103,
-0.14381229877471924,
0.049291014671325684,
-0.32209160923957825,
-0.5807153582572937,
-0.33129629492759705,
-0.22875075042247772,
0.33896902203559875,
-0.10106876492500305,
-0.003177572973072529,
-0.004357998259365559,
0.27398982644081116,
-0.032246123999357224,
0.6454590559005737,
-0.09578275680541992,
-0.42266935110092163,
0.1684320718050003,
-0.2579939663410187,
-0.34510037302970886,
-0.2567856013774872,
0.3940759301185608,
0.2697528600692749,
0.3345087766647339,
0.525869607925415,
0.08301130682229996,
0.10218410193920135,
-0.06016026437282562,
-0.08298198878765106,
0.1526263952255249,
0.33083871006965637,
-0.05397478863596916,
0.27984729409217834,
-0.029062265530228615,
0.09410735219717026,
0.03007477894425392,
0.06839868426322937,
-0.4570539891719818,
-0.17364302277565002,
0.03212053328752518,
-0.0016697174869477749,
-0.18580998480319977,
0.054865285754203796,
-0.1981116235256195,
0.18231266736984253,
0.07439237087965012,
0.3349529504776001,
0.04474351927638054,
0.29450133442878723,
0.07408686727285385,
-0.18319450318813324,
0.2993350028991699,
-0.20953217148780823,
-0.1715037077665329,
-0.04727107286453247,
-0.207626610994339,
-0.24396224319934845,
0.32116225361824036,
0.3855164647102356,
0.021936587989330292,
-0.15190845727920532,
0.45058906078338623,
-0.06351333856582642,
0.017168698832392693,
0.2573396563529968,
-0.1818995326757431,
0.17044922709465027,
0.542336106300354,
0.009039709344506264,
-0.16206341981887817,
-0.11043351143598557,
0.02823982574045658,
-0.07017543166875839,
0.4509628117084503,
-0.41744333505630493,
-0.3716732859611511,
0.060093145817518234,
0.10577079653739929,
-0.07882514595985413,
-0.06295491755008698,
-0.7715762257575989,
0.04481424018740654,
-0.13295628130435944,
0.30943864583969116,
0.2648724913597107,
0.12426897883415222,
-0.07665547728538513,
-0.20447635650634766,
0.08952318131923676,
0.27950286865234375,
-0.33308908343315125,
0.18440206348896027,
-0.056063298135995865,
-0.20377308130264282,
-0.17547176778316498,
-0.0012654243037104607,
-0.4258306324481964,
0.2005186378955841,
-0.1304035633802414,
0.011865245178341866,
0.5192421674728394,
-0.06679478287696838,
-0.007045331876724958,
0.07265691459178925,
0.043677330017089844,
-0.09003724902868271,
0.1525602638721466,
-0.06359709799289703,
-0.028689833357930183,
-0.14478930830955505,
-0.294860303401947,
0.05170196667313576,
0.23704010248184204,
-0.16872826218605042,
0.10822080820798874,
-0.26828062534332275,
0.09478360414505005,
-0.09104033559560776,
-0.2780415713787079,
0.12101111561059952,
0.23022300004959106,
-0.23424667119979858,
0.15051349997520447,
-0.13245521485805511,
-0.1091560572385788,
0.1529873013496399,
0.09979674220085144,
-0.09653457254171371,
-0.002665931126102805,
0.17292922735214233,
-0.6459119915962219,
0.24462707340717316,
-0.13482342660427094,
-0.0035576713271439075,
-0.014318572357296944,
-0.2581923007965088,
0.05533643439412117,
0.12925377488136292,
-0.16762444376945496,
0.3968890309333801,
0.06442702561616898,
-0.7594504356384277,
-0.02104148454964161,
-0.27305367588996887,
-0.3172905445098877,
0.0633031502366066,
-0.3434703052043915,
0.20906692743301392,
-0.3996977210044861,
0.1945403516292572,
0.2741880714893341,
0.01755681447684765,
0.09690585732460022,
0.04658836871385574,
-0.0056082941591739655,
0.1921318918466568,
-0.182130366563797,
0.21623359620571136,
0.249595507979393,
0.3024963438510895,
0.2750137448310852,
0.39577731490135193,
0.0631694346666336,
-0.46250119805336,
0.43027666211128235,
-0.49334853887557983,
-0.050870444625616074,
-0.029959186911582947,
0.05758173391222954,
0.2281268835067749,
-0.43889397382736206,
0.27139395475387573,
0.014361952431499958,
-0.06406941264867783,
-0.0025120240170508623,
0.13787256181240082,
-0.1525086760520935,
-0.19673699140548706,
0.069966621696949,
0.25558292865753174,
0.2578306794166565,
0.29113101959228516,
0.15280644595623016,
-0.024494605138897896,
0.021673062816262245,
0.07969087362289429,
-0.0018175218719989061,
0.14290623366832733,
0.016256114467978477,
-0.1354294717311859,
0.11111273616552353,
0.0136047238484025,
0.22299402952194214,
0.17357294261455536,
0.0848781168460846,
-0.02124658226966858,
-0.1328100860118866,
-0.3586786389350891,
0.3063271641731262,
0.10056169331073761,
0.4162049889564514,
0.05292525142431259,
-0.02200423926115036,
-0.16834624111652374,
-0.5321388840675354,
0.10237232595682144,
-0.20034192502498627,
-0.11421866714954376,
-0.31292951107025146,
-0.10569935292005539,
-0.31635579466819763,
-0.008168822154402733,
0.07854828238487244,
-0.10673454403877258,
-0.4908864200115204,
-0.041364893317222595,
0.34475651383399963,
-0.038473401218652725,
-0.020731370896100998,
-0.01907358504831791,
-0.2208300530910492,
0.3961041271686554,
-0.12125879526138306,
0.06607659161090851,
-0.6435348987579346,
-0.022367892786860466,
0.24652041494846344,
0.10311594605445862,
0.06954038143157959,
0.11059653759002686,
0.2626502215862274,
0.09765461832284927,
0.19826388359069824,
-0.21043328940868378,
0.04421171173453331,
0.15285679697990417,
-0.08807718753814697,
-0.14030501246452332,
0.11372274905443192,
0.12617632746696472,
-0.09978636354207993,
0.12349209189414978,
-0.12224604934453964,
-0.25449106097221375,
-0.12007489800453186,
0.1681583970785141,
-0.2586192488670349,
0.2979016900062561,
-0.13292278349399567,
-0.015744058415293694,
0.10734526067972183,
-0.2231791764497757,
0.1770680546760559,
0.12415741384029388,
0.1861986368894577,
0.1440693438053131,
0.2328464686870575,
-0.01933743990957737,
-0.055662937462329865,
-0.07994990795850754,
-0.026209186762571335,
-0.3828010559082031,
0.4329156279563904,
-0.32281243801116943,
-0.19169127941131592,
0.34599828720092773,
0.20780064165592194,
0.3050369322299957,
0.18488551676273346,
-0.4744647741317749,
0.37932148575782776,
-0.21856796741485596,
0.012954959645867348,
-0.23853367567062378,
-0.020847845822572708,
0.24468894302845,
0.17603330314159393,
-0.04186904802918434,
-0.17610904574394226,
0.22955185174942017,
0.2544279098510742,
0.04376199468970299,
-0.05482751503586769,
0.025107374414801598,
0.07713726162910461,
-0.32374387979507446,
0.35637691617012024,
-0.12451054155826569,
0.14903847873210907,
0.22948388755321503,
0.026924578472971916,
0.3668168783187866,
-0.30669504404067993,
0.3087346851825714,
-0.44772639870643616,
-0.041546400636434555,
0.14450040459632874,
0.06411346793174744,
0.2390732318162918,
-0.12017550319433212,
-0.16019214689731598,
0.009651150554418564,
0.13191957771778107,
-0.1612614393234253,
-0.03461972996592522,
-0.7436394691467285,
-0.11734639108181,
-0.055833879858255386,
-0.04804698005318642,
-0.029278839007019997,
-0.2988172173500061,
0.15224386751651764,
-0.13564687967300415,
0.42779669165611267,
-0.2315807044506073,
-0.3994409143924713,
-0.0872974768280983,
-0.25610071420669556,
0.08360766619443893,
-0.18275326490402222,
0.010035705752670765,
-0.011882533319294453,
0.10195238888263702,
0.2888187766075134,
0.24737736582756042,
0.31610992550849915,
-0.2173173576593399,
-0.0904020369052887,
-0.016789695248007774,
0.02680739387869835,
-0.5356787443161011,
0.2516002058982849,
0.10035411268472672,
0.1265270859003067,
-0.5037957429885864,
0.15405233204364777,
0.03339020162820816,
-0.442829966545105,
-0.09433553367853165,
0.37205782532691956,
-0.2775091230869293,
-0.233915314078331,
-0.259772390127182,
0.11570461839437485,
-0.005064046010375023,
-0.14388246834278107,
0.06100123003125191,
-0.3092716336250305,
-0.5351694822311401,
-0.37125444412231445,
-0.21949909627437592,
-0.20148582756519318,
0.045149046927690506,
0.16970953345298767,
0.27554190158843994,
-0.057647883892059326,
-0.09010647237300873,
0.46450236439704895,
0.010013578459620476,
0.3138609826564789,
0.5680849552154541,
0.11471192538738251,
-0.2208569049835205,
0.10534735769033432,
-0.255528062582016,
0.3461345434188843,
0.1833430826663971,
-0.14667701721191406,
0.25893405079841614,
-0.12999723851680756,
-0.14730121195316315,
-0.26576706767082214,
-0.3406077027320862,
-0.07619980722665787,
-0.2886848449707031,
-0.19258418679237366,
-0.4018346667289734,
0.4588525891304016,
0.04647064954042435,
-0.19205248355865479,
0.6431564092636108,
0.3190082311630249,
-0.33946657180786133,
0.4343410134315491,
0.3548606336116791,
0.8494626879692078,
-0.11274953186511993,
0.09163358807563782,
0.021782519295811653,
-0.07937029749155045,
0.09846831858158112,
-0.2582961618900299,
-0.030872885137796402,
-0.2190084457397461,
-0.2396126091480255,
-0.15526899695396423,
-0.2967154383659363,
0.30317410826683044,
0.6141321659088135,
0.10159315168857574,
-0.0674714595079422,
-0.4352979063987732,
-0.06423139572143555,
-0.226058691740036,
0.14627444744110107,
-0.29505881667137146,
-0.34013527631759644,
-0.3785327970981598,
0.1125154048204422,
0.13483858108520508,
-0.2577756941318512,
0.01977076195180416,
0.18664757907390594,
0.04425213113427162,
-0.13104504346847534,
0.11500861495733261,
-0.00627334276214242,
-0.14191439747810364,
0.1525876224040985,
-0.1189708560705185,
-0.21750982105731964,
0.2758840322494507,
0.3597983121871948,
0.023815883323550224,
0.05252794548869133,
-0.14328941702842712,
0.20254556834697723,
0.16436856985092163,
0.1549888551235199,
-0.3488697111606598,
0.1979309767484665,
0.028943603858351707,
-0.12030567228794098,
-0.25547924637794495,
0.06468863785266876,
0.0931323915719986,
-0.2896295189857483,
0.21492348611354828,
-0.03537798672914505,
0.08911976218223572,
-0.1722819060087204,
0.2817966938018799,
-0.07680266350507736,
0.22136741876602173,
0.04204804077744484,
0.11818354576826096,
0.17779357731342316,
0.16221685707569122,
0.12484774738550186,
0.19563299417495728,
-0.34179890155792236,
0.005192662123590708,
0.18400785326957703,
0.2707309126853943,
-0.2205854058265686,
0.3048518896102905,
-0.00953306071460247,
-0.30667585134506226,
-0.4091406762599945,
0.4217352271080017,
0.31462639570236206,
-0.8149147033691406,
-0.05724256858229637,
0.2092866599559784,
-0.0014710630057379603,
-0.054096005856990814,
0.08220086246728897,
-0.05929873138666153,
0.12207113206386566,
-0.052236348390579224,
-0.014666642062366009,
-0.29082244634628296,
0.21154837310314178,
0.11225224286317825,
0.3109157383441925,
-0.08971275389194489,
-0.7034536600112915,
0.18048551678657532,
0.15363313257694244,
-0.21999390423297882,
-0.05999159812927246,
0.22686663269996643,
-0.10255952924489975,
-0.37320810556411743,
0.27899983525276184,
-0.028010429814457893,
-0.2221340835094452,
-0.001228750217705965,
-0.09534698724746704,
-0.13741499185562134,
-0.16942648589611053,
-0.14142702519893646,
0.14860649406909943,
-0.04524815082550049,
-0.027626583352684975,
-0.3236449658870697,
-0.39718493819236755,
-0.21675808727741241,
-0.07180144637823105,
0.22952257096767426,
0.019502753391861916,
0.07253847271203995,
-0.12252724170684814,
0.6832398772239685,
-0.02252526581287384,
-0.38176023960113525,
0.1587919443845749,
0.13563983142375946,
0.3880690932273865,
0.10009848326444626,
-0.15600237250328064,
0.02201138623058796,
-0.15475589036941528,
0.18189118802547455,
0.22451624274253845,
0.09303800016641617,
-0.011963333003222942,
-0.0983690693974495,
0.02726195566356182,
0.1843193918466568,
-0.3156687319278717,
0.027467364445328712,
0.39715149998664856,
0.09730831533670425,
-0.37813815474510193,
0.25858741998672485,
0.12905241549015045,
0.0012022454757243395,
-0.1575762778520584,
0.22288891673088074,
0.05662593990564346,
-0.13675807416439056,
0.15796992182731628,
0.23538941144943237,
0.06973636150360107,
-0.2357996106147766,
0.08002126961946487,
-0.11769390851259232,
-0.06431687623262405,
0.08031225204467773,
0.26742762327194214,
-0.17025542259216309,
-0.12276355177164078,
0.2504904568195343,
0.2941708266735077,
-0.01218706276267767,
0.13033545017242432,
0.13126850128173828,
0.42209112644195557,
0.46821215748786926,
0.06443101912736893,
0.08939319849014282,
-0.1402348130941391,
-0.3395059406757355,
-0.03896616771817207,
-0.19893009960651398,
-0.2140466868877411,
0.24710994958877563,
0.29832783341407776,
0.4900267422199249,
-0.31157955527305603,
-0.19525742530822754,
-0.05861527472734451,
0.0022103148512542248,
0.0599641315639019,
-0.251117080450058,
-0.1193671002984047,
0.028370480984449387,
-0.12943948805332184,
-0.07326861470937729,
0.1970205157995224,
0.28049901127815247,
0.1395815759897232,
0.2168688029050827,
0.13571690022945404,
0.6554519534111023,
0.277343213558197,
0.13340823352336884,
0.2608628571033478,
-0.08659514784812927,
-0.15077528357505798,
0.3010554909706116,
0.09828437864780426,
0.2140379250049591,
-0.21611344814300537,
0.012824874371290207,
-0.1068079024553299,
-0.014180540107190609,
0.3038367033004761,
-0.12288547307252884,
-0.002190148225054145,
0.37918713688850403,
0.1692742556333542,
0.15029384195804596,
0.19707044959068298,
0.08628809452056885,
-0.0042296466417610645,
-0.2414921522140503,
0.015735849738121033,
0.44445762038230896,
0.07769288867712021,
0.1533193588256836,
0.33109721541404724,
-0.35675179958343506,
0.11817395687103271,
0.007982807233929634,
0.0646660178899765,
0.05851812660694122,
0.6564621925354004,
-0.31637880206108093,
-0.279933899641037,
-0.38614702224731445,
0.036657270044088364,
-0.045219194144010544,
0.8656644821166992,
-0.008355735801160336,
0.27659517526626587,
0.04942809417843819,
-0.2842511832714081,
-0.22945475578308105,
-0.06622433662414551,
-0.047587089240550995,
0.34317800402641296,
0.2284073829650879,
-0.13737528026103973,
0.2349400371313095,
0.4011736512184143,
0.2569219172000885,
-0.1622016727924347,
0.20064380764961243,
0.09885518252849579,
-0.10666602849960327,
0.07743369042873383,
0.05706453695893288,
0.3371533155441284,
-0.5004721879959106,
-0.203907772898674,
0.10735726356506348,
0.27014896273612976,
-0.07490525394678116,
-0.004189277533441782,
0.13133691251277924,
0.300661563873291,
0.40708279609680176,
0.41924574971199036,
0.05416794866323471,
0.20036804676055908,
0.02732730284333229,
0.08396699279546738,
-0.025934437289834023,
-0.49608343839645386,
-0.0011237314902245998,
0.2126305252313614,
0.0638609379529953,
-0.38755446672439575,
-0.09279836714267731,
0.18315483629703522,
0.027768408879637718,
-0.16269096732139587,
-0.09975247830152512,
0.359546035528183,
-0.2504118084907532,
0.02405581623315811,
0.12899188697338104,
-0.007782786153256893,
0.0447147861123085,
-0.07870995253324509,
0.054205313324928284,
0.022709209471940994,
0.10669580847024918,
0.021029535681009293,
0.29800593852996826,
0.08335557579994202,
-0.11879081279039383,
0.23987552523612976,
0.3707801401615143,
0.2511378824710846,
-0.12867076694965363,
-0.36799395084381104,
-0.0019753826782107353,
0.2696499526500702,
-0.2883361279964447,
0.09059086441993713,
0.40259549021720886,
-0.07587988674640656,
0.14645636081695557,
-0.11018446832895279,
0.5680811405181885,
-0.015649624168872833,
0.1962846964597702,
-0.4282819330692291,
-0.3301558792591095
] |
https://github.com/huggingface/datasets/issues/2089
|
Add documentaton for dataset README.md files
|
Hi ! We are using the [datasets-tagging app](https://github.com/huggingface/datasets-tagging) to select the tags to add.
We are also adding the full list of tags in #2107
This covers multilinguality, language_creators, licenses, size_categories and task_categories.
In general if you want to add a tag that doesn't exist (for example for a custom license) you must make it start with `other-` and then a custom tag name.
edit (@theo-m) if you ever find yourself resorting to adding an `other-*` tag, please do ping us somewhere so we can think about adding it to the "official" list :)
|
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
| 94
|
Add documentaton for dataset README.md files
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
Hi ! We are using the [datasets-tagging app](https://github.com/huggingface/datasets-tagging) to select the tags to add.
We are also adding the full list of tags in #2107
This covers multilinguality, language_creators, licenses, size_categories and task_categories.
In general if you want to add a tag that doesn't exist (for example for a custom license) you must make it start with `other-` and then a custom tag name.
edit (@theo-m) if you ever find yourself resorting to adding an `other-*` tag, please do ping us somewhere so we can think about adding it to the "official" list :)
|
[
-0.20096608996391296,
0.25202322006225586,
-0.13049329817295074,
0.0798942968249321,
0.1809324026107788,
0.35714250802993774,
0.3119639456272125,
0.184983029961586,
0.16446061432361603,
-0.01634669117629528,
-0.021376004442572594,
0.3338298797607422,
-0.09630235284566879,
0.19838541746139526,
0.17110726237297058,
0.039982378482818604,
0.1146342009305954,
-0.06307878345251083,
0.3094637989997864,
-0.18129949271678925,
-0.20113438367843628,
-0.03297914192080498,
-0.05786116048693657,
-0.20018218457698822,
-0.3019798994064331,
-0.09221501648426056,
-0.20269393920898438,
0.03419443964958191,
-0.3976990878582001,
-0.6076433062553406,
0.024884013459086418,
0.3334512412548065,
0.17429666221141815,
0.07353460788726807,
-0.00010723503510234877,
-0.15966133773326874,
0.1788148730993271,
-0.2395665943622589,
-0.019152896478772163,
-0.15022720396518707,
-0.26503095030784607,
-0.42210355401039124,
-0.14403918385505676,
-0.07009881734848022,
0.07828181982040405,
-0.29904410243034363,
-0.04701973870396614,
-0.14260679483413696,
0.018922073766589165,
0.44771111011505127,
0.20506061613559723,
-0.2106180489063263,
0.3308577239513397,
-0.2609880864620209,
0.41784989833831787,
0.21136502921581268,
-0.10374096035957336,
0.3762677311897278,
0.4526177644729614,
0.09362633526325226,
0.03951388970017433,
0.17747698724269867,
-0.12393147498369217,
0.1795831173658371,
0.37494683265686035,
-0.04512222856283188,
0.35776033997535706,
-0.538664698600769,
0.22897155582904816,
0.39961862564086914,
1.1531599760055542,
-0.2931373417377472,
-0.3107595145702362,
-0.4575527012348175,
0.10562018305063248,
-0.10250803083181381,
0.198897585272789,
0.31950142979621887,
0.04213659465312958,
0.1530987024307251,
0.12388394773006439,
-0.3448566496372223,
-0.23809850215911865,
0.1258869618177414,
0.12088409066200256,
0.4693545699119568,
-0.049539316445589066,
-0.04617944732308388,
0.27386346459388733,
-0.07653830945491791,
0.09144526720046997,
-0.008607020601630211,
-0.23176425695419312,
0.1363537609577179,
0.15945805609226227,
-0.06463529169559479,
-0.284612238407135,
-0.1053549125790596,
0.24940483272075653,
-0.017172884196043015,
-0.03791965916752815,
0.012573454529047012,
-0.10575513541698456,
0.3409818112850189,
0.12435457110404968,
-0.1768716275691986,
0.16517740488052368,
0.21109117567539215,
0.1014956682920456,
-0.29157131910324097,
0.332811564207077,
-0.14480842649936676,
-0.15921123325824738,
-0.1529749184846878,
0.014806641265749931,
-0.002056764904409647,
-0.10872993618249893,
-0.21820107102394104,
0.038991767913103104,
-0.023660831153392792,
0.08686845749616623,
-0.18008075654506683,
0.014684678055346012,
0.16239355504512787,
0.14091306924819946,
-0.22575275599956512,
-0.2854689061641693,
0.17492620646953583,
0.06963228434324265,
-0.12727060914039612,
-0.024191927164793015,
0.22701451182365417,
-0.12852045893669128,
0.19157612323760986,
0.3013639450073242,
-0.03260407596826553,
0.2947970926761627,
0.22568082809448242,
-0.13695861399173737,
-0.11986634135246277,
0.20909272134304047,
-0.030132964253425598,
0.2764076292514801,
0.37866175174713135,
-0.02197277545928955,
0.07518374919891357,
-0.05913266912102699,
-0.4303906559944153,
-0.24761264026165009,
0.13326428830623627,
-0.4022582769393921,
-0.23956462740898132,
-0.4142962098121643,
0.22733372449874878,
-0.1181672140955925,
-0.04516879469156265,
-0.22617223858833313,
0.2805582880973816,
0.09361952543258667,
-0.14592543244361877,
0.24344459176063538,
0.2106742262840271,
-0.35684603452682495,
-0.2805345356464386,
0.0597088597714901,
0.43606215715408325,
-0.4021852910518646,
-0.005941729061305523,
-0.09240195155143738,
-0.022078922018408775,
-0.14535847306251526,
-0.11482483893632889,
-0.26231563091278076,
0.43306341767311096,
-0.34106504917144775,
0.2678826153278351,
0.4367043375968933,
-0.4631902277469635,
-0.24880193173885345,
0.1513606458902359,
0.024762636050581932,
-0.27386388182640076,
0.17683397233486176,
0.05101517587900162,
0.5288438200950623,
-0.1293230652809143,
-0.21330802142620087,
-0.03029029071331024,
-0.19845300912857056,
-0.10618721693754196,
-0.11989730596542358,
0.06889759004116058,
0.09747027605772018,
0.09274540841579437,
0.09355686604976654,
-0.039665281772613525,
0.42010560631752014,
0.12741009891033173,
-0.003821771126240492,
-0.07197605073451996,
0.18422190845012665,
0.3900681734085083,
0.2178647518157959,
0.22412873804569244,
-0.0349150225520134,
-0.08051334321498871,
-0.4012995958328247,
0.14364658296108246,
0.1019415631890297,
0.23965759575366974,
0.008704735897481441,
-0.27921679615974426,
-0.3434496521949768,
-0.18107399344444275,
-0.3265000581741333,
-0.3358737528324127,
0.13711223006248474,
0.09588335454463959,
-0.20061227679252625,
0.1670185774564743,
-0.13824492692947388,
0.2745993137359619,
0.06476733088493347,
0.12902170419692993,
-0.21279050409793854,
-0.035638388246297836,
-0.25177833437919617,
-0.00585261732339859,
0.22623133659362793,
0.06622142344713211,
0.264367938041687,
0.05708003416657448,
-0.03682604059576988,
0.24640552699565887,
0.19644878804683685,
0.2589338719844818,
0.26214104890823364,
0.5404530763626099,
0.4105025827884674,
-0.28653380274772644,
0.31151196360588074,
-0.33763670921325684,
0.11784309893846512,
-0.2898569405078888,
-0.3992733657360077,
0.07650922983884811,
-0.15428763628005981,
-0.1191549226641655,
-0.1171766072511673,
-0.05081119015812874,
0.18092724680900574,
0.015232880599796772,
-0.1221299022436142,
-0.43974006175994873,
-0.17119072377681732,
0.01065120194107294,
0.01779492385685444,
0.0007565364358015358,
0.20072080194950104,
0.18734663724899292,
0.6095918416976929,
-0.11334820091724396,
0.14764299988746643,
0.092364102602005,
-0.12582406401634216,
-0.028907205909490585,
0.18348395824432373,
0.20113345980644226,
0.13203023374080658,
0.23997564613819122,
0.2614583969116211,
0.08916307240724564,
-0.04477733373641968,
-0.28544721007347107,
0.14240609109401703,
-0.04162232205271721,
-0.02939719520509243,
0.23439361155033112,
-0.22527863085269928,
-0.08140194416046143,
-0.2844701409339905,
-0.10787148773670197,
0.19003358483314514,
0.3333035409450531,
-0.27338480949401855,
-0.22537639737129211,
-0.2778770923614502,
-0.08119889348745346,
-0.2023283690214157,
-0.2605321407318115,
-0.49377450346946716,
-0.3111182749271393,
0.09326431155204773,
0.2138170301914215,
0.0015658903867006302,
-0.002905120374634862,
-0.24562028050422668,
-0.02350907400250435,
-0.22653743624687195,
0.15712064504623413,
-0.20967479050159454,
-0.23613925278186798,
-0.10603880882263184,
0.08587808161973953,
0.4665773808956146,
0.45965492725372314,
0.5857223868370056,
-0.294528603553772,
0.29092735052108765,
-0.32503268122673035,
-0.4925016760826111,
0.10655037313699722,
-0.11116483062505722,
0.30616822838783264,
0.02784808725118637,
0.006420582998543978,
-0.03305136039853096,
-0.04312271252274513,
0.03250952437520027,
0.017020734027028084,
-0.08607947826385498,
-0.17267151176929474,
-0.05781920626759529,
-0.17689858376979828,
-0.04466849938035011,
-0.5428535342216492,
-0.18469274044036865,
-0.3722649812698364,
0.0926661267876625,
-0.14137916266918182,
0.14812670648097992,
0.10805945098400116,
0.06081888824701309,
0.20767289400100708,
-0.1641070395708084,
0.21284542977809906,
-0.25286275148391724,
-0.047161903232336044,
0.48315322399139404,
-0.37624409794807434,
-0.2860785126686096,
0.5221702456474304,
0.06184229627251625,
0.32838377356529236,
-0.2235671877861023,
-0.27523481845855713,
0.193880096077919,
0.20085977017879486,
0.06146086007356644,
-0.02040199376642704,
-0.08261960744857788,
0.2799643576145172,
0.21537145972251892,
0.0446467287838459,
-0.20331832766532898,
-0.20754747092723846,
-0.1618233621120453,
-0.06513193249702454,
-0.012048936448991299,
0.03916485235095024,
0.15181724727153778,
-0.0432339683175087,
0.41950714588165283,
0.03000629134476185,
0.18428561091423035,
0.3928285539150238,
-0.012864947319030762,
0.37919098138809204,
0.04704948887228966,
-0.38304001092910767,
0.19773195683956146,
0.04017792269587517,
0.18016889691352844,
0.2621793746948242,
0.08099658042192459,
0.14867658913135529,
-0.08856528997421265,
-0.1598266065120697,
-0.37692877650260925,
-0.2243565022945404,
0.1970243901014328,
-0.14069217443466187,
0.09613046050071716,
-0.1944379359483719,
0.011747597716748714,
-0.11416803300380707,
-0.20630428194999695,
0.20165494084358215,
0.8246321082115173,
-0.11588539183139801,
0.15930922329425812,
-0.3845018148422241,
0.2631749212741852,
-0.027377178892493248,
0.06666424125432968,
0.17261186242103577,
0.17817004024982452,
-0.35655003786087036,
0.21468418836593628,
-0.030537424609065056,
0.22489307820796967,
0.392848938703537,
-0.7406404614448547,
-0.05744240805506706,
0.20935900509357452,
0.17879341542720795,
0.1652439385652542,
-0.03934341296553612,
-0.08031241595745087,
0.10391052812337875,
0.12803947925567627,
0.23705856502056122,
-0.2050427347421646,
-0.1506267488002777,
-0.16255348920822144,
0.015761252492666245,
0.10637439042329788,
-0.2557659149169922,
-0.04093579575419426,
-0.25790300965309143,
-0.5642459392547607,
-0.0782637894153595,
0.15247294306755066,
-0.20037458837032318,
-0.2615467309951782,
-0.22121186554431915,
0.19587495923042297,
0.12038834393024445,
0.2747454345226288,
0.08231740444898605,
0.05887719988822937,
0.27901872992515564,
0.08772677183151245,
0.23928776383399963,
0.0709761306643486,
0.7544962763786316,
0.3973067104816437,
-0.23983801901340485,
-0.3075883090496063,
0.06013794615864754,
-0.807431161403656,
0.3809870779514313,
0.05400906130671501,
0.2422098070383072,
0.05585561692714691,
0.2597580850124359,
-0.44977372884750366,
-0.19207224249839783,
0.022050919011235237,
0.08745075762271881,
0.008011121302843094,
-0.36252349615097046,
-0.6086059212684631,
0.32062143087387085,
0.2070426046848297,
-0.05922248214483261,
0.21836525201797485,
-0.10706216096878052,
-0.39871305227279663,
-0.12904766201972961,
0.23114541172981262,
0.9148780703544617,
0.03085855208337307,
-0.17122364044189453,
-0.34515711665153503,
-0.4033828675746918,
0.15485289692878723,
-0.3034471273422241,
-0.08842206001281738,
-0.22180569171905518,
0.11094696074724197,
-0.09891729056835175,
-0.0335402749478817,
0.47105246782302856,
0.29119858145713806,
-0.29427430033683777,
0.07002724707126617,
0.2238093912601471,
0.20639540255069733,
-0.051806166768074036,
0.7011328935623169,
-0.3197641968727112,
-0.3344285786151886,
0.3089049160480499,
0.17336347699165344,
-0.015811871737241745,
0.015185046009719372,
-0.08822914958000183,
-0.4142892360687256,
-0.12561680376529694,
-0.021040307357907295,
-0.43361619114875793,
-0.29973965883255005,
-0.07214999198913574,
-0.26907092332839966,
-0.2709854245185852,
-0.06497415900230408,
0.4915100336074829,
0.2541735768318176,
0.526560366153717,
0.1324874460697174,
-0.4326535761356354,
0.04839237034320831,
0.03325120359659195,
-0.22024771571159363,
-0.1651027649641037,
-0.12303982675075531,
0.41455844044685364,
-0.12072683870792389,
-0.28636741638183594,
0.0005596692790277302,
-0.07331874966621399,
-0.028563858941197395,
-0.2847556471824646,
-0.08501309901475906,
0.20723313093185425,
-0.28113630414009094,
0.1283918172121048,
-0.1535322070121765,
-0.09041715413331985,
-0.20061075687408447,
0.18200244009494781,
0.21205511689186096,
-0.07147061824798584,
0.050692055374383926,
0.09958791732788086,
-0.08413916081190109,
-0.1222509816288948,
0.213997021317482,
-0.21509729325771332,
-0.005841776728630066,
0.07045808434486389,
0.1020490750670433,
-0.23531986773014069,
-0.3233809173107147,
0.07025282829999924,
0.0886445865035057,
-0.2820438742637634,
-0.30955907702445984,
0.061413154006004333,
-0.03524353355169296,
0.095056913793087,
0.1328800767660141,
0.20427066087722778,
-0.018508965149521828,
0.0005063324933871627,
-0.3790472745895386,
-0.370239794254303,
0.034223802387714386,
-0.26738494634628296,
0.15352582931518555,
-0.2898297905921936,
-0.26041802763938904,
0.22452333569526672,
0.11901498585939407,
-0.3590899705886841,
-0.05048491433262825,
-0.011053836904466152,
0.1322030872106552,
0.07998357713222504,
0.1367364525794983,
-0.21018265187740326,
-0.3123735785484314,
0.013298619538545609,
0.0580877959728241,
-0.2618285119533539,
-0.13959269225597382,
-0.15929807722568512,
0.14271001517772675,
0.05748145654797554,
0.01535486988723278,
-0.17454493045806885,
-0.2434617578983307,
-0.27246707677841187,
-0.07814113795757294,
0.09277413785457611,
-0.07850522547960281,
-0.011211387813091278,
0.257488876581192,
0.1386416256427765,
0.2418692260980606,
0.13233134150505066,
0.025511153042316437,
-0.03757761791348457,
0.18369168043136597,
0.02155052125453949,
-0.10928955674171448,
-0.12877218425273895,
0.098794125020504,
0.2268560230731964,
0.20505070686340332,
0.06786452978849411,
-0.08040570467710495,
0.3333838880062103,
-0.10494214296340942,
0.38145068287849426,
0.5024673342704773,
-0.04275357723236084,
0.17861491441726685,
-0.21686238050460815,
0.08695828914642334,
0.3599410355091095,
0.24236077070236206,
-0.1757742315530777,
-0.16005484759807587,
0.40797892212867737,
-0.10844755917787552,
0.03402344137430191,
0.24462243914604187,
0.6767519116401672,
0.09579131752252579,
-0.2147064357995987,
0.12337246537208557,
0.34821611642837524,
-0.1065710037946701,
0.10277744382619858,
0.3946227431297302,
-0.310171902179718,
0.0968427062034607,
0.3800020217895508,
0.33236971497535706,
-0.009231941774487495,
0.24480441212654114,
0.0727633386850357,
0.2660257816314697,
0.34106865525245667,
0.223711758852005,
0.30178236961364746,
-0.35409030318260193,
0.3159089684486389,
0.23098526895046234,
0.2680957317352295,
0.17326301336288452,
0.11945220082998276,
0.051271937787532806,
0.22352853417396545,
-0.20307493209838867,
-0.0023630927316844463,
0.04386194050312042,
-0.17174769937992096,
0.2513708770275116,
-0.10158419609069824,
-0.180225670337677,
-0.07697279006242752,
-0.12956887483596802,
0.047091349959373474,
-0.21334779262542725,
-0.06733622401952744,
-0.10051476955413818,
-0.18763186037540436,
-0.050834983587265015,
0.10214731842279434,
-0.05719838663935661,
-0.0003610250714700669,
-0.20932736992835999,
0.060658130794763565,
-0.08967971801757812,
-0.20436729490756989,
0.28440922498703003,
0.11651726067066193,
0.34165337681770325,
0.07791799306869507,
0.012577616609632969,
0.11708826571702957,
-0.056144535541534424,
-0.20062091946601868,
0.14991483092308044,
0.53874671459198,
0.07977738231420517,
0.16697512567043304,
0.1917848289012909,
0.13721589744091034,
-0.056848302483558655,
-0.008006109856069088,
-0.03287278860807419,
-0.16291022300720215,
0.10685627907514572,
-0.17786817252635956,
0.1730191558599472,
-0.19832997024059296,
-0.1582740694284439,
0.0420839861035347,
-0.22080352902412415,
-0.32856470346450806,
0.7464045286178589,
0.011462489143013954,
0.016664523631334305,
-0.22169312834739685,
0.08084344118833542,
0.21768103539943695,
0.257293164730072,
0.2359844446182251,
0.05112743005156517,
-0.07885085791349411,
0.04420879855751991,
-0.7780938148498535,
-0.0200142003595829,
-0.2156757265329361,
-0.00045865302672609687,
0.14601878821849823,
-0.2096683233976364,
0.30062541365623474,
0.21809041500091553,
0.21184737980365753,
0.015850406140089035,
0.13952238857746124,
0.1853693723678589,
-0.07829198241233826,
-0.2735227644443512,
0.07687804847955704,
0.18836569786071777,
-0.029858222231268883,
0.0039626481011509895,
0.24915502965450287,
0.16650666296482086,
0.061522431671619415,
-0.39080512523651123,
0.2039908915758133,
0.04182511940598488,
0.10137419402599335,
0.5442776679992676,
-0.09108063578605652,
0.5890612602233887,
-0.21084770560264587,
0.049678586423397064,
-0.008277283050119877,
0.33363184332847595,
-0.07405481487512589,
0.4311034679412842,
0.09659077972173691,
0.15719765424728394,
-0.12671998143196106,
-0.07822281122207642,
-0.27702564001083374,
0.19780847430229187,
-0.052199117839336395,
0.0593072809278965,
-0.5329076051712036,
0.0613829605281353,
0.06379950791597366,
-0.09557067602872849,
0.10468950867652893,
-0.1525370180606842,
0.01394603867083788,
-0.05399589613080025,
-0.15097084641456604,
-0.2541345953941345,
0.4322207272052765,
-0.05792558938264847,
-0.09954310953617096,
0.022174155339598656,
0.02016316168010235,
0.4060527980327606,
0.2004697620868683,
-0.8780807852745056,
0.0528763085603714,
0.47305548191070557,
-0.0019276926759630442,
-0.18710853159427643,
0.09645599871873856,
-0.015066726133227348,
0.0571802482008934,
-0.16430580615997314,
0.12521065771579742,
0.08836729824542999,
-0.1450260579586029,
-0.12717056274414062,
-0.1554463803768158
] |
https://github.com/huggingface/datasets/issues/2089
|
Add documentaton for dataset README.md files
|
@lhoestq hmm - ok thanks for the answer.
To be honest I am not sure if this issue can be closed now.
I just wanted to point out that this should either be documented or linked in the documentation.
If you feel like it is (will be) please just close this.
|
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
| 51
|
Add documentaton for dataset README.md files
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
@lhoestq hmm - ok thanks for the answer.
To be honest I am not sure if this issue can be closed now.
I just wanted to point out that this should either be documented or linked in the documentation.
If you feel like it is (will be) please just close this.
|
[
-0.18345031142234802,
0.2513650953769684,
-0.10896499454975128,
0.19743682444095612,
0.11071588844060898,
0.3312230408191681,
0.3745896518230438,
0.17199593782424927,
0.032084666192531586,
0.04731866717338562,
0.02834397740662098,
0.238267183303833,
-0.06312772631645203,
0.09270750731229782,
0.04482530057430267,
0.03255189582705498,
0.06774003803730011,
-0.020181966945528984,
0.2282109558582306,
-0.27177906036376953,
-0.18817786872386932,
-0.012063170783221722,
-0.19267433881759644,
-0.2600647509098053,
-0.2601349949836731,
-0.10619071871042252,
-0.16863219439983368,
0.16795143485069275,
-0.417514443397522,
-0.5190834403038025,
0.017021922394633293,
0.25920742750167847,
0.17945700883865356,
0.06925724446773529,
-0.00010868402023334056,
-0.23778340220451355,
0.22748835384845734,
-0.22224058210849762,
0.012414920143783092,
-0.003969687968492508,
-0.25637027621269226,
-0.39208289980888367,
-0.2011702060699463,
-0.18431423604488373,
0.08136381208896637,
-0.14341481029987335,
-0.11069189757108688,
-0.21706369519233704,
0.18811675906181335,
0.5700099468231201,
0.2062796950340271,
-0.25078991055488586,
0.3001178801059723,
-0.21435603499412537,
0.4646461606025696,
0.29640915989875793,
-0.14451734721660614,
0.3467399775981903,
0.5063989162445068,
0.1164301335811615,
0.05159961059689522,
0.16784971952438354,
-0.14614146947860718,
0.10657396912574768,
0.31189170479774475,
-0.1332368403673172,
0.44173386693000793,
-0.5099034309387207,
0.2496391087770462,
0.375616192817688,
1.1862664222717285,
-0.18973655998706818,
-0.14405660331249237,
-0.3056917190551758,
0.07485581934452057,
-0.04991525784134865,
0.161772683262825,
0.38970863819122314,
0.01417507790029049,
0.14416193962097168,
0.13837304711341858,
-0.3804762065410614,
-0.31814274191856384,
0.06084715202450752,
0.11162901669740677,
0.41954317688941956,
-0.0779644027352333,
-0.07542090117931366,
0.14781033992767334,
-0.08499258756637573,
0.2784852981567383,
0.0570354163646698,
-0.21419364213943481,
0.22595570981502533,
0.18925544619560242,
-0.11224003881216049,
-0.3635406196117401,
-0.19784140586853027,
0.2118554413318634,
-0.1735551357269287,
-0.05369572341442108,
0.030630825087428093,
-0.01668122410774231,
0.28244465589523315,
0.18403732776641846,
-0.09895364940166473,
0.15546336770057678,
0.2676412761211395,
0.10741889476776123,
-0.22809720039367676,
0.27068546414375305,
-0.06822669506072998,
-0.22818149626255035,
-0.1300102323293686,
-0.02502124011516571,
0.041349947452545166,
-0.06686796247959137,
-0.3455770015716553,
0.07656870037317276,
-0.043840568512678146,
0.07076465338468552,
-0.1483534723520279,
0.013145603239536285,
0.23653584718704224,
0.01936550810933113,
-0.15802665054798126,
-0.2276221364736557,
0.10914984345436096,
0.01316113118082285,
-0.11871834844350815,
0.019070610404014587,
0.23939311504364014,
-0.12263775616884232,
0.1904992163181305,
0.2675635814666748,
0.0570889487862587,
0.20644353330135345,
0.2571185231208801,
-0.06903886049985886,
-0.21326234936714172,
0.22078631818294525,
-0.03505804017186165,
0.3134296238422394,
0.3436414301395416,
-0.04393143579363823,
0.08691167086362839,
-0.08941113203763962,
-0.37844786047935486,
-0.18856997787952423,
0.19122745096683502,
-0.5235505104064941,
-0.2824641168117523,
-0.39530518651008606,
0.2059354931116104,
-0.07527878135442734,
0.04058622196316719,
-0.123884417116642,
0.22089916467666626,
0.12228411436080933,
-0.13116170465946198,
0.17067089676856995,
0.1315930336713791,
-0.3794529139995575,
-0.2931360602378845,
-0.014784712344408035,
0.41127467155456543,
-0.3530879616737366,
0.09206925332546234,
-0.14623253047466278,
0.06089044362306595,
-0.09736430644989014,
0.033893097192049026,
-0.3202521800994873,
0.31233450770378113,
-0.33753883838653564,
0.1994767040014267,
0.48653846979141235,
-0.6444002389907837,
-0.24905361235141754,
0.1680987924337387,
0.09969556331634521,
-0.33792850375175476,
0.19984056055545807,
-0.07615891098976135,
0.5245912075042725,
-0.24726153910160065,
-0.1961398422718048,
-0.10094501823186874,
-0.1206156462430954,
-0.04498855769634247,
-0.20566332340240479,
0.0024412109050899744,
-0.027993183583021164,
0.14339184761047363,
0.09304773062467575,
-0.008590939454734325,
0.5141074657440186,
0.11154858767986298,
0.11129972338676453,
-0.11304685473442078,
0.23500558733940125,
0.5121794939041138,
0.27800923585891724,
0.07337618619203568,
-0.0036747835110872984,
0.06019282341003418,
-0.3458774983882904,
0.10165400058031082,
0.03818027302622795,
0.29799777269363403,
0.022525595501065254,
-0.26973068714141846,
-0.3078661262989044,
-0.20985005795955658,
-0.30703890323638916,
-0.34663400053977966,
0.15091781318187714,
0.07213534414768219,
-0.28998103737831116,
0.17425714433193207,
-0.05838778614997864,
0.2585526704788208,
-0.022553885355591774,
-0.022961081936955452,
-0.18685293197631836,
0.014731897041201591,
-0.1795288771390915,
0.07141100615262985,
0.3635658621788025,
0.11799799650907516,
0.29346033930778503,
0.06731783598661423,
-0.05129639804363251,
0.1727045774459839,
0.1681957244873047,
0.186788871884346,
0.1970168799161911,
0.5089133977890015,
0.34858742356300354,
-0.3183600604534149,
0.3216235339641571,
-0.3319416642189026,
0.10595998913049698,
-0.29476237297058105,
-0.38234078884124756,
0.09375948458909988,
-0.08751456439495087,
-0.15624545514583588,
-0.09665390104055405,
-0.055042751133441925,
0.15599922835826874,
-0.043099816888570786,
-0.1213434562087059,
-0.4186559021472931,
-0.21394984424114227,
0.13826437294483185,
0.04924807697534561,
0.04335382208228111,
0.1525082290172577,
0.2591976821422577,
0.6951574683189392,
-0.08936498314142227,
0.12333732098340988,
0.047764621675014496,
-0.04440683871507645,
-0.04587788134813309,
0.23433040082454681,
0.17933671176433563,
0.250453919172287,
0.19508375227451324,
0.26885947585105896,
0.16851794719696045,
-0.02563856542110443,
-0.21547552943229675,
0.11437442898750305,
-0.1564905345439911,
0.05483434721827507,
0.18598760664463043,
-0.20926347374916077,
-0.0657513365149498,
-0.24087607860565186,
0.0019678687676787376,
0.1768084466457367,
0.3061313331127167,
-0.27528512477874756,
-0.30888038873672485,
-0.2675398588180542,
-0.010409237816929817,
-0.24294422566890717,
-0.14920011162757874,
-0.5167258977890015,
-0.1743377447128296,
0.06381084024906158,
0.11789972335100174,
0.037009309977293015,
-0.042978014796972275,
-0.18995842337608337,
0.16765445470809937,
-0.20038817822933197,
0.25058770179748535,
-0.18585887551307678,
-0.2149975448846817,
-0.22991697490215302,
0.07945828884840012,
0.4636726379394531,
0.5456970930099487,
0.5315335988998413,
-0.2386777698993683,
0.2786902189254761,
-0.3564068377017975,
-0.44068288803100586,
0.08587110787630081,
-0.04643216356635094,
0.3145126402378082,
-0.06198912858963013,
0.10288217663764954,
-0.04277731478214264,
0.0008720877813175321,
-0.019908348098397255,
0.11118213832378387,
-0.11034335196018219,
-0.2667790949344635,
0.0028237146325409412,
-0.3291392922401428,
-0.03901934623718262,
-0.59443598985672,
-0.15592652559280396,
-0.38573694229125977,
0.07302309572696686,
-0.19424313306808472,
0.20182976126670837,
0.07087001204490662,
-0.01171631645411253,
0.10064731538295746,
-0.14493806660175323,
0.17407935857772827,
-0.3098454475402832,
-0.10015184432268143,
0.47698479890823364,
-0.473463237285614,
-0.43427491188049316,
0.5254815220832825,
0.09347919374704361,
0.3927619755268097,
-0.14144304394721985,
-0.31363803148269653,
0.22512726485729218,
0.19277295470237732,
-0.20092719793319702,
-0.1818775236606598,
-0.020074523985385895,
0.32674679160118103,
0.21137015521526337,
0.06632190942764282,
-0.2078840434551239,
-0.24612101912498474,
-0.09685911983251572,
-0.008620128035545349,
0.0727904886007309,
-0.019776413217186928,
0.06846750527620316,
-0.004804187919944525,
0.33207011222839355,
-0.005123206879943609,
0.28670090436935425,
0.33411934971809387,
-0.00681254593655467,
0.3818553388118744,
0.11769355833530426,
-0.345697820186615,
0.2654702663421631,
0.052713461220264435,
0.14269974827766418,
0.32002851366996765,
0.12047567963600159,
-0.022080112248659134,
-0.10310661047697067,
-0.20675823092460632,
-0.4100356698036194,
-0.27123627066612244,
0.16203559935092926,
-0.11310892552137375,
0.18740296363830566,
-0.13714610040187836,
0.009537870064377785,
-0.11005552113056183,
-0.18937651813030243,
0.18816591799259186,
0.8119864463806152,
-0.19757196307182312,
0.15778090059757233,
-0.44996052980422974,
0.24279433488845825,
-0.02478061243891716,
0.04627041891217232,
0.20617572963237762,
0.28069183230400085,
-0.40208038687705994,
0.23966458439826965,
0.014630929566919804,
0.2007172703742981,
0.3344186842441559,
-0.694118857383728,
-0.03131023794412613,
0.2469894140958786,
0.2598074674606323,
0.18587209284305573,
-0.06271842122077942,
-0.05730040371417999,
0.14862874150276184,
0.09107453376054764,
0.2207513153553009,
-0.1442537009716034,
-0.20568811893463135,
-0.15842553973197937,
-0.04390221834182739,
0.00898226723074913,
-0.316191703081131,
-0.045506976544857025,
-0.2997608184814453,
-0.4207759499549866,
-0.11310146749019623,
0.2319418042898178,
-0.22695699334144592,
-0.3190457224845886,
-0.3087131083011627,
0.21100497245788574,
0.07801520079374313,
0.22069533169269562,
0.060887761414051056,
0.0806514248251915,
0.2518092691898346,
0.027545804157853127,
0.21405905485153198,
0.09650881588459015,
0.7797986268997192,
0.3743667006492615,
-0.23505175113677979,
-0.21117308735847473,
0.08049428462982178,
-0.8616188764572144,
0.3713947534561157,
0.20121438801288605,
0.1970299631357193,
-0.05219925194978714,
0.17093026638031006,
-0.42245998978614807,
-0.020234426483511925,
0.02215227298438549,
0.1396089643239975,
-0.04436945915222168,
-0.5320265889167786,
-0.6122272610664368,
0.284560889005661,
0.08952649682760239,
-0.056658875197172165,
0.2384878545999527,
-0.0280614010989666,
-0.3622272312641144,
-0.13422313332557678,
0.3018086552619934,
1.0777897834777832,
0.016522280871868134,
-0.12008092552423477,
-0.3285025954246521,
-0.36792030930519104,
0.14223648607730865,
-0.23368479311466217,
-0.10099675506353378,
-0.32888078689575195,
0.13679587841033936,
-0.09014711529016495,
-0.03498942032456398,
0.4635140597820282,
0.3538167178630829,
-0.3111809194087982,
0.017958108335733414,
0.32680821418762207,
0.08490876853466034,
-0.02090250514447689,
0.6265957355499268,
-0.28271645307540894,
-0.23741048574447632,
0.21875,
0.14732351899147034,
0.06292220205068588,
-0.04083091765642166,
-0.15253840386867523,
-0.44622963666915894,
-0.22234565019607544,
-0.07296139001846313,
-0.3919941186904907,
-0.24240507185459137,
-0.11591053754091263,
-0.21787472069263458,
-0.2231837958097458,
-0.055516317486763,
0.58162921667099,
0.21210061013698578,
0.47178351879119873,
0.22341108322143555,
-0.42942237854003906,
0.14945577085018158,
0.10075085610151291,
-0.2574827969074249,
-0.09952019900083542,
-0.07141925394535065,
0.369744211435318,
-0.20659732818603516,
-0.29428404569625854,
-0.04527995362877846,
-0.22114671766757965,
-0.030451802536845207,
-0.3569751977920532,
0.055931445211172104,
0.20223785936832428,
-0.26189112663269043,
0.06482382118701935,
-0.17668479681015015,
-0.13561378419399261,
-0.06110329180955887,
0.17544299364089966,
0.1777978539466858,
0.02573227509856224,
0.14139804244041443,
0.14363494515419006,
-0.10167629271745682,
-0.020080596208572388,
0.2583363950252533,
-0.07170740514993668,
-0.13645097613334656,
0.14516448974609375,
0.05539475753903389,
-0.1846817135810852,
-0.35552331805229187,
0.09283962100744247,
0.035953816026449203,
-0.16444076597690582,
-0.3201919198036194,
0.009408945217728615,
-0.04087677597999573,
0.13022223114967346,
0.1905418336391449,
0.14974120259284973,
-0.06663624942302704,
-0.008763221092522144,
-0.3896551728248596,
-0.39483359456062317,
0.019648561254143715,
-0.3371901512145996,
0.12659285962581635,
-0.30143895745277405,
-0.29307615756988525,
0.2061997950077057,
0.04585527628660202,
-0.35181790590286255,
0.04637551307678223,
-0.019559308886528015,
0.11416110396385193,
0.16156254708766937,
0.16691604256629944,
-0.20819558203220367,
-0.2656024396419525,
-0.004331075120717287,
0.09284273535013199,
-0.24211262166500092,
-0.14936663210391998,
-0.10269320756196976,
0.16237293183803558,
0.07018153369426727,
0.017804747447371483,
-0.14156395196914673,
-0.3763388395309448,
-0.29859355092048645,
0.025355147197842598,
0.036317113786935806,
-0.016991734504699707,
-0.025834204629063606,
0.2100515365600586,
0.14854571223258972,
0.250318706035614,
0.04773883894085884,
0.18123775720596313,
-0.03791568800806999,
0.1779112070798874,
-0.02923026867210865,
-0.022249560803174973,
-0.10179318487644196,
0.05603570118546486,
0.3677484691143036,
0.13312089443206787,
-0.0008754305890761316,
-0.010263096541166306,
0.3827049136161804,
-0.09804260730743408,
0.3971010148525238,
0.3668282926082611,
-0.11732462793588638,
0.24000157415866852,
-0.2710821032524109,
0.10942290723323822,
0.36412951350212097,
0.2230258733034134,
-0.12839572131633759,
-0.17669110000133514,
0.29058247804641724,
-0.17288926243782043,
-0.0529509112238884,
0.23693187534809113,
0.6858569979667664,
0.037559907883405685,
-0.1410789042711258,
0.1213957816362381,
0.3364260792732239,
-0.06688037514686584,
-0.006634063553065062,
0.36375775933265686,
-0.3210897147655487,
0.025863276794552803,
0.3457218408584595,
0.25614237785339355,
0.027066504582762718,
0.21122902631759644,
0.20784036815166473,
0.15717308223247528,
0.40673115849494934,
0.28545305132865906,
0.21396930515766144,
-0.3492383360862732,
0.3475610315799713,
0.22370971739292145,
0.260041743516922,
0.2057802528142929,
0.1239282637834549,
0.040488142520189285,
0.35501083731651306,
-0.20746424794197083,
-0.003864546539261937,
0.00897687952965498,
-0.16284121572971344,
0.2597951591014862,
0.01703488826751709,
-0.17253419756889343,
-0.10710302740335464,
-0.14658401906490326,
-0.047720421105623245,
-0.19302555918693542,
-0.19665749371051788,
-0.03880973160266876,
-0.13258424401283264,
0.0795847699046135,
0.14740166068077087,
0.06816837936639786,
-0.006493181921541691,
-0.180765300989151,
0.06240951642394066,
-0.11905330419540405,
-0.1388159543275833,
0.3226594924926758,
0.09853988140821457,
0.34257620573043823,
0.1869337111711502,
0.022783836349844933,
0.09965705871582031,
0.09196147322654724,
-0.19911247491836548,
0.1540692150592804,
0.49357327818870544,
0.15878251194953918,
0.22553205490112305,
0.15894173085689545,
0.11605093628168106,
-0.062088966369628906,
-0.010372242890298367,
-0.13676095008850098,
-0.22122903168201447,
0.12001822888851166,
-0.1878761649131775,
0.11107555031776428,
-0.27567988634109497,
-0.18334446847438812,
-0.10390502959489822,
-0.23057147860527039,
-0.3599987030029297,
0.7408986687660217,
-0.031477976590394974,
0.0653127059340477,
-0.2456749677658081,
0.09345003217458725,
0.1306944191455841,
0.32886576652526855,
0.272908091545105,
0.010977758094668388,
-0.0049299984239041805,
-0.12268400192260742,
-0.819624125957489,
0.052886538207530975,
-0.16500011086463928,
0.010589639656245708,
0.18238241970539093,
-0.17004841566085815,
0.29911333322525024,
0.1511562615633011,
0.20176532864570618,
-0.07784326374530792,
0.14874593913555145,
0.2435835301876068,
-0.16646112501621246,
-0.23811128735542297,
0.12856875360012054,
0.16550152003765106,
-0.05667697638273239,
-0.09221627563238144,
0.294996440410614,
0.23565882444381714,
0.06850369274616241,
-0.39966171979904175,
0.2636977732181549,
0.026878666132688522,
0.12684869766235352,
0.45623981952667236,
-0.0580279566347599,
0.5467064380645752,
-0.20635883510112762,
0.01991335302591324,
-0.0018063366878777742,
0.3925991356372833,
0.03960329294204712,
0.4238404631614685,
0.16679146885871887,
0.11109167337417603,
-0.10635882616043091,
-0.0735868588089943,
-0.23899057507514954,
0.2278808355331421,
-0.09455062448978424,
0.11505093425512314,
-0.5860775709152222,
0.05018189921975136,
0.08246497064828873,
-0.030645407736301422,
0.07943381369113922,
-0.11608225107192993,
-0.07485596090555191,
-0.09659142792224884,
-0.21339602768421173,
-0.18239329755306244,
0.46612364053726196,
-0.13445335626602173,
-0.14637477695941925,
0.10903579741716385,
0.11536897718906403,
0.26099854707717896,
0.16990792751312256,
-0.8375414609909058,
0.002446773461997509,
0.46868494153022766,
-0.045561306178569794,
-0.17496152222156525,
0.06438270211219788,
-0.09001004695892334,
0.06796335428953171,
-0.13422296941280365,
0.13632942736148834,
0.08322852849960327,
-0.1187564954161644,
-0.15180595219135284,
-0.1722620129585266
] |
https://github.com/huggingface/datasets/issues/2089
|
Add documentaton for dataset README.md files
|
We're still working on the validation+documentation in this.
Feel free to keep this issue open till we've added them
|
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
| 19
|
Add documentaton for dataset README.md files
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
We're still working on the validation+documentation in this.
Feel free to keep this issue open till we've added them
|
[
-0.21523329615592957,
0.26498207449913025,
-0.1258544623851776,
0.16833484172821045,
0.15319672226905823,
0.293340265750885,
0.2924136519432068,
0.19512248039245605,
0.031965360045433044,
0.020962726324796677,
0.05009433254599571,
0.2049104869365692,
-0.0792757049202919,
0.10062269866466522,
-0.00318893906660378,
0.022652050480246544,
0.04879115894436836,
-0.050570566207170486,
0.2097901701927185,
-0.25325173139572144,
-0.11106199771165848,
-0.07210648059844971,
-0.16808085143566132,
-0.21694156527519226,
-0.2796182930469513,
-0.14987145364284515,
-0.12106763571500778,
0.11174027621746063,
-0.5551055073738098,
-0.5625541806221008,
-0.056959107518196106,
0.32364293932914734,
0.20564717054367065,
0.07571246474981308,
-0.00010885612573474646,
-0.23723222315311432,
0.3131057024002075,
-0.19695326685905457,
0.041836224496364594,
-0.013444158248603344,
-0.31865745782852173,
-0.34877538681030273,
-0.14189082384109497,
-0.17904628813266754,
0.07340023666620255,
-0.16689936816692352,
-0.09706401079893112,
-0.12420360743999481,
0.21787920594215393,
0.6139638423919678,
0.1920519471168518,
-0.17682436108589172,
0.33373692631721497,
-0.16209039092063904,
0.3486066460609436,
0.2870316803455353,
-0.13875825703144073,
0.31517112255096436,
0.4389585852622986,
0.13280652463436127,
-0.0011081397533416748,
0.1729695051908493,
-0.08880307525396347,
0.07424672693014145,
0.354427307844162,
-0.1740669459104538,
0.4313993453979492,
-0.5642964243888855,
0.13734124600887299,
0.4447305500507355,
1.175717830657959,
-0.24660399556159973,
-0.14762939512729645,
-0.2829683721065521,
0.05953362584114075,
0.011893099173903465,
0.20217198133468628,
0.39365383982658386,
0.020163873210549355,
0.14828753471374512,
0.05237691104412079,
-0.2962442934513092,
-0.34641119837760925,
0.027329279109835625,
0.1638367772102356,
0.4449444115161896,
-0.04058682173490524,
-0.16214331984519958,
0.24062803387641907,
-0.07412075251340866,
0.28307607769966125,
-0.005720104556530714,
-0.22079366445541382,
0.27317485213279724,
0.17282509803771973,
-0.145778626203537,
-0.34484443068504333,
-0.11324512958526611,
0.2412935197353363,
-0.1358948051929474,
-0.059847693890333176,
0.0647018551826477,
-0.04550503194332123,
0.34572264552116394,
0.19969500601291656,
-0.08479563146829605,
0.18499170243740082,
0.24893562495708466,
0.11395606398582458,
-0.1927761435508728,
0.29918932914733887,
-0.0795428529381752,
-0.14906632900238037,
-0.1413852572441101,
0.05834169685840607,
0.1044754683971405,
-0.123285211622715,
-0.3599952161312103,
0.09388909488916397,
0.004855823237448931,
0.13185277581214905,
-0.20132280886173248,
0.06631255149841309,
0.19653210043907166,
0.022551530972123146,
-0.16815057396888733,
-0.3468322157859802,
0.07081121951341629,
0.0511128306388855,
-0.13526968657970428,
0.024648969992995262,
0.24359160661697388,
-0.14121577143669128,
0.1586899757385254,
0.2875902056694031,
-0.0040700314566493034,
0.2766813337802887,
0.1819743663072586,
-0.062002621591091156,
-0.20753195881843567,
0.2298634797334671,
-0.07405252754688263,
0.30655649304389954,
0.3483850955963135,
-0.06452258676290512,
-0.0704314336180687,
-0.1015462577342987,
-0.3342263400554657,
-0.22690454125404358,
0.11767933517694473,
-0.37486785650253296,
-0.329902321100235,
-0.360508531332016,
0.2099006026983261,
-0.0848119929432869,
0.07804882526397705,
-0.0824626162648201,
0.25969845056533813,
0.14491011202335358,
-0.0913853719830513,
0.18958105146884918,
0.13420458137989044,
-0.24407900869846344,
-0.24462567269802094,
-0.04876476898789406,
0.39327743649482727,
-0.30490395426750183,
0.1307738721370697,
-0.11829628050327301,
-0.036322545260190964,
-0.1880003809928894,
0.006995336152613163,
-0.3300696611404419,
0.3603720963001251,
-0.26026925444602966,
0.23140692710876465,
0.5233443975448608,
-0.6178895235061646,
-0.19089198112487793,
0.20195256173610687,
0.11889217048883438,
-0.3653543293476105,
0.19966526329517365,
-0.1225307285785675,
0.5625214576721191,
-0.3021687865257263,
-0.27607980370521545,
-0.0837177038192749,
-0.2096388339996338,
-0.08623497933149338,
-0.21599528193473816,
0.06583691388368607,
0.0004533608444035053,
0.09255502372980118,
0.08712548017501831,
-0.10190337896347046,
0.4954625070095062,
0.14965152740478516,
0.08101767301559448,
-0.13253669440746307,
0.18712325394153595,
0.4300883412361145,
0.3101048469543457,
0.005165020003914833,
-0.018790582194924355,
0.029771652072668076,
-0.31593888998031616,
0.006874623708426952,
0.07920084148645401,
0.3121460974216461,
0.0602492019534111,
-0.27359727025032043,
-0.30913811922073364,
-0.21665826439857483,
-0.3294515311717987,
-0.3489200472831726,
0.1617869734764099,
-0.012900076806545258,
-0.18123045563697815,
0.19812755286693573,
-0.14653380215168,
0.28032562136650085,
-0.06596321612596512,
0.046155691146850586,
-0.17053759098052979,
-0.024311816319823265,
-0.23450906574726105,
0.07657366245985031,
0.2834569811820984,
0.11288868635892868,
0.2357715666294098,
0.05974670127034187,
-0.037049707025289536,
0.27690455317497253,
0.2859250009059906,
0.13377316296100616,
0.12289559096097946,
0.5454456806182861,
0.40690839290618896,
-0.3052140772342682,
0.3498110771179199,
-0.36119526624679565,
0.005080345552414656,
-0.2370350956916809,
-0.39166200160980225,
0.09733757376670837,
-0.21997316181659698,
-0.13769374787807465,
-0.09118668735027313,
-0.09090649336576462,
0.14511430263519287,
-0.06856419891119003,
-0.21910420060157776,
-0.43120935559272766,
-0.24345090985298157,
0.06874015927314758,
0.012326527386903763,
0.06510288268327713,
0.09381481260061264,
0.15814127027988434,
0.6090507507324219,
-0.11356889456510544,
0.13350772857666016,
0.07392287254333496,
0.035770270973443985,
-0.10658057034015656,
0.22304533421993256,
0.20267842710018158,
0.18155334889888763,
0.13771939277648926,
0.20898360013961792,
0.18370835483074188,
-0.10694176703691483,
-0.23149678111076355,
0.174040749669075,
-0.1743573099374771,
0.043353792279958725,
0.19605784118175507,
-0.33038508892059326,
-0.01074024848639965,
-0.29644232988357544,
-0.029724452644586563,
0.1803777515888214,
0.3155515491962433,
-0.2707265317440033,
-0.27265384793281555,
-0.21625666320323944,
-0.020457569509744644,
-0.19647563993930817,
-0.11184220016002655,
-0.4751441776752472,
-0.2135227620601654,
0.10434047877788544,
0.14216743409633636,
0.03777668997645378,
-0.02223697490990162,
-0.2111302614212036,
0.09613100439310074,
-0.17436620593070984,
0.2197696566581726,
-0.20130421221256256,
-0.2292473465204239,
-0.1875767558813095,
0.09850261360406876,
0.4579510986804962,
0.5772258043289185,
0.4862649142742157,
-0.24764765799045563,
0.2650543749332428,
-0.2878774106502533,
-0.5216225981712341,
0.07349531352519989,
-0.0353737436234951,
0.29945674538612366,
-0.05133184418082237,
0.09527289122343063,
-0.017335250973701477,
0.02691962569952011,
-0.08144816011190414,
0.09984413534402847,
-0.18862153589725494,
-0.20197130739688873,
-0.015807166695594788,
-0.31079867482185364,
-0.028934217989444733,
-0.5464151501655579,
-0.17624710500240326,
-0.38261649012565613,
0.03500063344836235,
-0.21768121421337128,
0.17915047705173492,
0.06945959478616714,
0.029039034619927406,
0.08996346592903137,
-0.2129898965358734,
0.20342104136943817,
-0.2511436939239502,
-0.06053297221660614,
0.4775669276714325,
-0.4183160066604614,
-0.41148653626441956,
0.4373286962509155,
0.07203681766986847,
0.3632582426071167,
-0.17379675805568695,
-0.28051334619522095,
0.11504687368869781,
0.16192013025283813,
-0.12446200847625732,
-0.08411594480276108,
-0.005279866978526115,
0.344958633184433,
0.2725788652896881,
0.07193811237812042,
-0.16323228180408478,
-0.20965780317783356,
-0.14514893293380737,
0.029620317742228508,
0.13146020472049713,
-0.02441716007888317,
0.06787721067667007,
0.010066458955407143,
0.305253803730011,
0.054094284772872925,
0.19913533329963684,
0.3418988883495331,
0.06131516024470329,
0.4321846067905426,
0.1601075977087021,
-0.35946398973464966,
0.3082566559314728,
0.0489325076341629,
0.12972618639469147,
0.19273792207241058,
0.033530525863170624,
0.028104253113269806,
-0.09658008813858032,
-0.20877178013324738,
-0.4129323661327362,
-0.2539668381214142,
0.13163946568965912,
-0.195282980799675,
0.23154550790786743,
-0.13275252282619476,
0.022219039499759674,
0.05305355787277222,
-0.14922909438610077,
0.20176391303539276,
0.8191649913787842,
-0.12929007411003113,
0.12718465924263,
-0.4532560408115387,
0.22844503819942474,
-0.051644518971443176,
-0.015898745507001877,
0.17341433465480804,
0.2282455712556839,
-0.321829617023468,
0.2446129024028778,
-0.03931434825062752,
0.18634973466396332,
0.29715827107429504,
-0.7153290510177612,
-0.05428631976246834,
0.15259887278079987,
0.21561378240585327,
0.20752514898777008,
-0.0387248694896698,
-0.0837581679224968,
0.0629180371761322,
0.10479220002889633,
0.2673693597316742,
-0.21660266816616058,
-0.24554398655891418,
-0.1294277012348175,
-0.06404006481170654,
0.04815449193120003,
-0.3154792785644531,
-0.03239359334111214,
-0.3209095597267151,
-0.4009492099285126,
-0.051126331090927124,
0.19866971671581268,
-0.22765429317951202,
-0.33995768427848816,
-0.1832660734653473,
0.1877879649400711,
0.11658211052417755,
0.226171612739563,
0.1751224845647812,
0.12910065054893494,
0.13732168078422546,
0.011145750992000103,
0.20522840321063995,
0.0505247563123703,
0.7449353337287903,
0.2976517975330353,
-0.2528676688671112,
-0.20545990765094757,
-0.0036794221960008144,
-0.8008691668510437,
0.3690817952156067,
0.0956018939614296,
0.22409984469413757,
-0.12404841929674149,
0.18547433614730835,
-0.3875856399536133,
-0.049136824905872345,
0.10454108566045761,
0.0718088299036026,
-0.04678862541913986,
-0.5273839235305786,
-0.6166063547134399,
0.25386157631874084,
0.10034878551959991,
-0.07053309679031372,
0.17610134184360504,
-0.0395004004240036,
-0.37212640047073364,
-0.12663204967975616,
0.44686198234558105,
0.9914252161979675,
0.12628419697284698,
-0.2045719474554062,
-0.30647537112236023,
-0.3717348575592041,
0.05214167758822441,
-0.32246267795562744,
-0.14873094856739044,
-0.31639760732650757,
0.13552439212799072,
-0.10691936314105988,
-0.04836241528391838,
0.4740171730518341,
0.33955687284469604,
-0.3923225998878479,
0.04491417855024338,
0.3716101050376892,
0.0468900240957737,
-0.04553713649511337,
0.7784318923950195,
-0.31867942214012146,
-0.23674465715885162,
0.20474395155906677,
0.14856165647506714,
0.057169850915670395,
-0.08828886598348618,
-0.11424379050731659,
-0.4399161636829376,
-0.07120715826749802,
-0.12739084661006927,
-0.4061335623264313,
-0.2920456528663635,
-0.10561191290616989,
-0.23477578163146973,
-0.20928354561328888,
-0.0353597030043602,
0.5741905570030212,
0.218993678689003,
0.5228850245475769,
0.2558462917804718,
-0.4140736758708954,
0.12191838771104813,
0.14342820644378662,
-0.25668177008628845,
-0.13210922479629517,
-0.10003609955310822,
0.4088859260082245,
-0.19349320232868195,
-0.27502283453941345,
-0.10792089253664017,
-0.20196346938610077,
0.04913534224033356,
-0.2805176377296448,
0.007154710125178099,
0.12333481758832932,
-0.2930007576942444,
0.10044167935848236,
-0.21396970748901367,
-0.19780807197093964,
-0.04956381395459175,
0.18377067148685455,
0.13702090084552765,
-0.050151798874139786,
0.24504554271697998,
0.16588465869426727,
-0.029810192063450813,
-0.028801778331398964,
0.18475161492824554,
-0.159930020570755,
-0.14236827194690704,
0.02017236314713955,
0.012178633362054825,
-0.1760818064212799,
-0.38458478450775146,
0.13715682923793793,
0.08416431397199631,
-0.1237301453948021,
-0.3440849483013153,
-0.02462521381676197,
-0.13286156952381134,
0.13083304464817047,
0.1908024102449417,
0.2627682685852051,
-0.022268911823630333,
0.03868425637483597,
-0.36999189853668213,
-0.3957142233848572,
0.05286227539181709,
-0.2782192528247833,
0.14911611378192902,
-0.3459353744983673,
-0.3236502408981323,
0.1690552681684494,
0.11833104491233826,
-0.34984534978866577,
-0.01513912808150053,
0.044667650014162064,
0.16421771049499512,
0.12444053590297699,
0.10521938651800156,
-0.20404377579689026,
-0.2846583425998688,
-0.003975680097937584,
0.12827278673648834,
-0.2372678518295288,
-0.15945176780223846,
-0.09152524918317795,
0.16031499207019806,
0.104583241045475,
0.02812274359166622,
-0.21574066579341888,
-0.25519153475761414,
-0.35547223687171936,
0.0011785264359787107,
0.007399202324450016,
-0.09608002007007599,
-0.006895683705806732,
0.3142229914665222,
0.18403173983097076,
0.17503058910369873,
0.06715846061706543,
0.0826023742556572,
-0.04836593568325043,
0.19071756303310394,
0.043503422290086746,
-0.04020937904715538,
-0.04705290496349335,
0.03125406801700592,
0.3196416199207306,
0.22040070593357086,
0.06495460122823715,
-0.019618282094597816,
0.332784503698349,
-0.03253278136253357,
0.35357430577278137,
0.2818247079849243,
-0.022032691165804863,
0.3322060704231262,
-0.1898072361946106,
0.05792657658457756,
0.38029149174690247,
0.22996114194393158,
-0.1175772175192833,
-0.17092126607894897,
0.29429706931114197,
-0.1555047184228897,
-0.004347799811512232,
0.21263089776039124,
0.620154619216919,
0.12706667184829712,
-0.10949384421110153,
0.1265183836221695,
0.3498145639896393,
-0.08437961339950562,
0.045525554567575455,
0.37210679054260254,
-0.31278881430625916,
0.019933216273784637,
0.3568805456161499,
0.2236061841249466,
-0.006333381403237581,
0.18968264758586884,
0.24010762572288513,
0.18890172243118286,
0.3412063717842102,
0.27252551913261414,
0.23095673322677612,
-0.2262343317270279,
0.33668601512908936,
0.2455376386642456,
0.22246189415454865,
0.1677638739347458,
0.1381452977657318,
-0.01082339696586132,
0.3621063232421875,
-0.27137094736099243,
-0.08673273026943207,
0.0033024856820702553,
-0.12109014391899109,
0.2783873677253723,
-0.024226153269410133,
-0.2079208791255951,
-0.046838849782943726,
-0.13302086293697357,
0.04221280664205551,
-0.16679014265537262,
-0.12515881657600403,
-0.015796685591340065,
-0.11012014746665955,
0.010661459527909756,
0.21380749344825745,
0.12666982412338257,
0.028229644522070885,
-0.1807093471288681,
0.12522444128990173,
-0.06218015030026436,
-0.1493130922317505,
0.26484760642051697,
0.13934408128261566,
0.3062218129634857,
0.17576022446155548,
-0.03349445015192032,
0.10386199504137039,
0.030080607160925865,
-0.23531490564346313,
0.2081431895494461,
0.5127872228622437,
0.2062888741493225,
0.2292836308479309,
0.18893644213676453,
0.12856176495552063,
-0.023843849077820778,
0.05867302045226097,
-0.15861228108406067,
-0.2941412329673767,
0.11558575183153152,
-0.11737874895334244,
0.2776808440685272,
-0.2918075919151306,
-0.156141996383667,
-0.05700012668967247,
-0.24945878982543945,
-0.31932201981544495,
0.722665011882782,
-0.027660895138978958,
0.08749552816152573,
-0.30538520216941833,
0.08537468314170837,
0.2062305510044098,
0.39190948009490967,
0.2959226667881012,
0.01022876426577568,
-0.03856568783521652,
-0.11361471563577652,
-0.8005525469779968,
0.015500679612159729,
-0.14306238293647766,
0.005849358160048723,
0.2073902040719986,
-0.2092234045267105,
0.2151762843132019,
0.2566600739955902,
0.17570801079273224,
-0.06904499977827072,
0.09976347535848618,
0.25928276777267456,
-0.14794239401817322,
-0.15357573330402374,
0.14401721954345703,
0.2405226230621338,
-0.0750674456357956,
-0.03517184406518936,
0.28986066579818726,
0.19193831086158752,
0.06648508459329605,
-0.37752264738082886,
0.27470487356185913,
0.08228027075529099,
0.1815146654844284,
0.40610674023628235,
0.014021366834640503,
0.5782954692840576,
-0.18078522384166718,
0.028242483735084534,
0.010386896319687366,
0.4699591398239136,
-0.021353088319301605,
0.3975280821323395,
0.17314741015434265,
0.11621494591236115,
-0.07537747174501419,
-0.09730362147092819,
-0.26722320914268494,
0.2640329897403717,
-0.0881974846124649,
0.04047580808401108,
-0.5378917455673218,
-0.05442309379577637,
0.16393457353115082,
-0.10241995751857758,
0.06892908364534378,
-0.13003121316432953,
-0.04297469183802605,
-0.04174726828932762,
-0.19643549621105194,
-0.2542353868484497,
0.4476868808269501,
-0.08416393399238586,
-0.12622152268886566,
0.08385108411312103,
0.027125099673867226,
0.26436564326286316,
0.13285502791404724,
-0.9024056196212769,
0.04391925409436226,
0.4450138211250305,
-0.08125370740890503,
-0.19155998528003693,
0.07879595458507538,
0.054819680750370026,
0.055845215916633606,
-0.14660948514938354,
0.13135959208011627,
0.06189378723502159,
-0.14948512613773346,
-0.20700514316558838,
-0.11947580426931381
] |
https://github.com/huggingface/datasets/issues/2089
|
Add documentaton for dataset README.md files
|
Hi ! There's the tagging app at https://huggingface.co/datasets/tagging/ that you can use.
It shows the list of all the tags you can use.
It is based on all the tag sets defined in this folder:
https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources
|
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
| 36
|
Add documentaton for dataset README.md files
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
Hi ! There's the tagging app at https://huggingface.co/datasets/tagging/ that you can use.
It shows the list of all the tags you can use.
It is based on all the tag sets defined in this folder:
https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources
|
[
-0.2866162359714508,
0.09453244507312775,
-0.15884852409362793,
0.1930648535490036,
0.27684977650642395,
0.3156135678291321,
0.26611998677253723,
0.19319142401218414,
0.17165827751159668,
0.0233466736972332,
-0.1272898018360138,
0.24129468202590942,
-0.12643854320049286,
0.35970622301101685,
0.09149035066366196,
0.026762571185827255,
0.08608385920524597,
-0.10284018516540527,
0.15925902128219604,
-0.1845797598361969,
-0.16914530098438263,
0.01743035577237606,
-0.04486624523997307,
-0.1641509234905243,
-0.3286392092704773,
-0.16958650946617126,
-0.1266569048166275,
0.09945643693208694,
-0.41461509466171265,
-0.5925250053405762,
-0.05021046847105026,
0.311063289642334,
0.20414963364601135,
0.11580737680196762,
-0.00010105033288709819,
-0.21475423872470856,
0.20521743595600128,
-0.23523026704788208,
-0.013935497030615807,
-0.11267664283514023,
-0.17687742412090302,
-0.32792702317237854,
-0.060153163969516754,
-0.10672001540660858,
-0.05971953645348549,
-0.29257673025131226,
-0.08418019115924835,
-0.19045066833496094,
0.19795644283294678,
0.4205390512943268,
0.26861095428466797,
-0.11034999787807465,
0.34063783288002014,
-0.22505232691764832,
0.270668625831604,
0.16779816150665283,
-0.12398218363523483,
0.4374414384365082,
0.4900674521923065,
0.14727117121219635,
-0.027812354266643524,
0.2508871555328369,
-0.03732039034366608,
0.1873491108417511,
0.47236132621765137,
-0.08203159272670746,
0.24237850308418274,
-0.5768036842346191,
0.249701127409935,
0.3870514929294586,
1.0391316413879395,
-0.27808186411857605,
-0.25297507643699646,
-0.36921411752700806,
0.0836818516254425,
-0.14494305849075317,
0.1967422068119049,
0.31725823879241943,
0.024646932259202003,
0.1599287986755371,
-0.021521668881177902,
-0.36351296305656433,
-0.24900127947330475,
0.030808396637439728,
0.18050305545330048,
0.4041197896003723,
-0.11611386388540268,
-0.10122177004814148,
0.2309456765651703,
-0.1453728824853897,
-0.028074761852622032,
0.11795642226934433,
-0.18536318838596344,
0.1704554259777069,
0.1257975697517395,
-0.05641872063279152,
-0.3248486816883087,
-0.0684519037604332,
0.28508859872817993,
-0.025975270196795464,
-0.09027477353811264,
0.09604126214981079,
-0.05560006573796272,
0.2861756682395935,
0.15120664238929749,
-0.10179703682661057,
0.1857326477766037,
0.17611609399318695,
0.12154978513717651,
-0.17161960899829865,
0.21331043541431427,
-0.1562379002571106,
-0.15300771594047546,
-0.09065324813127518,
-0.027514802291989326,
-0.08233905583620071,
-0.15275655686855316,
-0.2826739251613617,
0.020032396540045738,
-0.11338798701763153,
0.09690054506063461,
-0.12563972175121307,
0.024313421919941902,
0.28541135787963867,
0.0740620493888855,
-0.21253544092178345,
-0.267131507396698,
0.18967631459236145,
-0.006165605504065752,
-0.14195987582206726,
-0.04664111137390137,
0.16654519736766815,
-0.1256679892539978,
0.20728668570518494,
0.2524135410785675,
-0.12575457990169525,
0.32803478837013245,
0.13523724675178528,
-0.0758284479379654,
-0.18535339832305908,
0.13547535240650177,
0.013786825351417065,
0.21637821197509766,
0.2859225571155548,
-0.020944248884916306,
0.005627304315567017,
-0.0394660085439682,
-0.4077005982398987,
-0.239408478140831,
-0.036906734108924866,
-0.41101643443107605,
-0.2267913669347763,
-0.36552220582962036,
0.2676388621330261,
-0.12431932985782623,
-0.04593207687139511,
-0.20273493230342865,
0.3219775855541229,
0.08121640235185623,
0.0450323112308979,
0.16628068685531616,
0.2537742853164673,
-0.3481643497943878,
-0.25761905312538147,
0.030252408236265182,
0.4434044063091278,
-0.26205554604530334,
-0.11566603928804398,
0.06252004206180573,
-0.08723442256450653,
-0.13355252146720886,
0.01852095127105713,
-0.25788089632987976,
0.2984248697757721,
-0.2528001368045807,
0.2648504376411438,
0.3774804472923279,
-0.46077820658683777,
-0.16829222440719604,
0.07593417912721634,
0.02100142277777195,
-0.3429533839225769,
0.15426716208457947,
-0.04579389840364456,
0.47413694858551025,
-0.1783982515335083,
-0.17363710701465607,
0.021554650738835335,
-0.1356048732995987,
0.03831534832715988,
-0.1707608848810196,
-0.026743780821561813,
0.042083773761987686,
0.1477927565574646,
0.09012404084205627,
-0.09279035031795502,
0.3923927843570709,
0.0840129554271698,
-0.006595861632376909,
-0.12466057389974594,
0.16669359803199768,
0.35407721996307373,
0.18077054619789124,
0.18788331747055054,
-0.009458089247345924,
-0.10037218779325485,
-0.4468111991882324,
0.10828185826539993,
0.07804898172616959,
0.29804548621177673,
-0.01816711574792862,
-0.3064984381198883,
-0.3663933277130127,
-0.24085338413715363,
-0.3977144658565521,
-0.36157312989234924,
0.18908756971359253,
0.030355611816048622,
-0.12492585927248001,
0.18898388743400574,
-0.17470820248126984,
0.209657222032547,
-0.026316355913877487,
0.1258702129125595,
-0.28288084268569946,
-0.05410587415099144,
-0.18976539373397827,
-0.012179592624306679,
0.353341281414032,
0.0889374315738678,
0.2029142826795578,
-0.004182481672614813,
-0.05476527661085129,
0.32213324308395386,
0.1733802706003189,
0.2728247046470642,
0.23411941528320312,
0.5424042344093323,
0.39437103271484375,
-0.30499666929244995,
0.2806552052497864,
-0.31872910261154175,
0.09828449040651321,
-0.2413090169429779,
-0.42534196376800537,
0.12179642170667648,
-0.21087078750133514,
-0.08557143062353134,
-0.08782359212636948,
-0.04318919777870178,
0.20232529938220978,
0.025789817795157433,
-0.14155694842338562,
-0.4092400372028351,
-0.19960814714431763,
-0.0929381251335144,
0.1340223103761673,
-0.014262152835726738,
0.07029072940349579,
0.15935595333576202,
0.6423454284667969,
-0.010372776538133621,
0.10533444583415985,
0.11136725544929504,
-0.11600892245769501,
0.018849588930606842,
0.23011983931064606,
0.1541106253862381,
0.08343429118394852,
0.26180577278137207,
0.2813131809234619,
0.19551225006580353,
0.012178364209830761,
-0.2820131778717041,
0.15821783244609833,
-0.08509077876806259,
-0.008878891356289387,
0.1671549677848816,
-0.20944759249687195,
-0.11370082199573517,
-0.29825359582901,
-0.013009360060095787,
0.10259703546762466,
0.29869771003723145,
-0.29725226759910583,
-0.21020621061325073,
-0.3044344484806061,
-0.19053994119167328,
-0.24613341689109802,
-0.24861043691635132,
-0.5396841764450073,
-0.2466229349374771,
0.08364324271678925,
0.06871361285448074,
0.018368640914559364,
0.0576096773147583,
-0.1129007562994957,
0.018598390743136406,
-0.22591513395309448,
0.2494393140077591,
-0.16715572774410248,
-0.21854260563850403,
-0.11166054755449295,
0.15299123525619507,
0.5170536041259766,
0.45685896277427673,
0.6414662599563599,
-0.35836881399154663,
0.2536119222640991,
-0.24703224003314972,
-0.4476354420185089,
0.12780386209487915,
-0.09855563193559647,
0.27601751685142517,
0.0628410056233406,
0.08695071190595627,
-0.0324179008603096,
0.03355991095304489,
0.1297656148672104,
-0.026086825877428055,
-0.12149343639612198,
-0.20699812471866608,
-0.021577971056103706,
-0.2263175994157791,
-0.062215302139520645,
-0.5958682894706726,
-0.21169240772724152,
-0.4526788592338562,
0.17332570254802704,
-0.11795082688331604,
0.16487053036689758,
0.18940670788288116,
-0.005530598573386669,
0.2414376437664032,
-0.22197365760803223,
0.25685492157936096,
-0.26771023869514465,
-0.1366792619228363,
0.3523489832878113,
-0.43664905428886414,
-0.31815996766090393,
0.5248669981956482,
0.2030135840177536,
0.4070849120616913,
-0.1904565989971161,
-0.22723722457885742,
0.039904363453388214,
0.1460726410150528,
-0.005459760781377554,
0.045652344822883606,
0.045084815472364426,
0.2071578949689865,
0.18424177169799805,
0.012663600966334343,
-0.14879652857780457,
-0.1339658945798874,
-0.1094263345003128,
-0.15330025553703308,
-0.04526261240243912,
0.00024424600997008383,
0.1260111778974533,
-0.01666375994682312,
0.41190624237060547,
0.20078045129776,
0.1465068906545639,
0.43319830298423767,
-0.038699302822351456,
0.34996163845062256,
0.00742033077403903,
-0.3237261474132538,
0.24139583110809326,
0.0319862999022007,
0.20891524851322174,
0.3521709442138672,
0.18117010593414307,
0.11117962747812271,
-0.1400914490222931,
-0.18476146459579468,
-0.4298868775367737,
-0.2474624067544937,
0.15734735131263733,
-0.07367198169231415,
0.14956992864608765,
-0.24708449840545654,
0.05990671366453171,
0.06619830429553986,
-0.20990906655788422,
0.26346805691719055,
0.7211689352989197,
-0.1686718761920929,
0.17189010977745056,
-0.4008204936981201,
0.13141083717346191,
-0.08367365598678589,
0.10110505670309067,
0.16514834761619568,
0.08817169815301895,
-0.3792561888694763,
0.15647011995315552,
0.0412231869995594,
0.17430812120437622,
0.3637601435184479,
-0.6297615766525269,
-0.05664574354887009,
0.16254475712776184,
0.15333959460258484,
0.16710878908634186,
0.06257031112909317,
-0.0757087767124176,
0.05977817252278328,
0.1686851531267166,
0.30571553111076355,
-0.32386595010757446,
-0.23826991021633148,
-0.19111983478069305,
0.0012678143102675676,
0.06947562843561172,
-0.19673682749271393,
-0.035806361585855484,
-0.24663473665714264,
-0.5505598783493042,
-0.06428708136081696,
0.155504509806633,
-0.17781643569469452,
-0.2148694545030594,
-0.18318316340446472,
0.15841792523860931,
0.11107882857322693,
0.21557694673538208,
0.2287559062242508,
0.13626736402511597,
0.18196611106395721,
0.05075499042868614,
0.31089386343955994,
0.07808168977499008,
0.6399568319320679,
0.4952014982700348,
-0.3066945970058441,
-0.2850320339202881,
-0.0071276091039180756,
-0.6396303176879883,
0.3948839008808136,
0.08349134027957916,
0.23949146270751953,
-0.057691607624292374,
0.22035431861877441,
-0.30841588973999023,
-0.18507081270217896,
0.04044891148805618,
0.015322926454246044,
0.07671595364809036,
-0.4257957935333252,
-0.5817586183547974,
0.38221707940101624,
0.14451256394386292,
-0.03738947957754135,
0.1783941388130188,
0.01916760951280594,
-0.36159297823905945,
-0.11244045197963715,
0.28350308537483215,
0.9116530418395996,
-0.034792106598615646,
-0.19592620432376862,
-0.2540159225463867,
-0.3699367344379425,
0.19584698975086212,
-0.25738459825515747,
-0.18428823351860046,
-0.24107126891613007,
0.12396461516618729,
-0.05341629683971405,
0.012265543453395367,
0.4137502908706665,
0.30914467573165894,
-0.38997286558151245,
0.17453642189502716,
0.28097406029701233,
0.07068081945180893,
-0.12508177757263184,
0.7324376702308655,
-0.30975809693336487,
-0.3987357020378113,
0.049938708543777466,
0.23093853890895844,
-0.09879973530769348,
0.026755521073937416,
-0.0631672739982605,
-0.4066273272037506,
-0.03120347484946251,
0.03071478381752968,
-0.3434131145477295,
-0.2780154347419739,
-0.1524256318807602,
-0.2990492284297943,
-0.14135801792144775,
0.00040175215690396726,
0.49978023767471313,
0.22156159579753876,
0.48009544610977173,
0.11989480257034302,
-0.450029194355011,
0.07063184678554535,
-0.03439456969499588,
-0.19115321338176727,
-0.1531999558210373,
-0.03265503793954849,
0.4229018986225128,
-0.17080210149288177,
-0.18037651479244232,
-0.08461885899305344,
0.016716845333576202,
0.11342602968215942,
-0.27832338213920593,
-0.07450275868177414,
0.14159560203552246,
-0.3183535635471344,
0.1876693069934845,
-0.22711335122585297,
-0.12580043077468872,
-0.14712627232074738,
0.22405269742012024,
0.14885322749614716,
-0.04573840647935867,
0.07887420058250427,
0.23666799068450928,
-0.06271448731422424,
-0.1444886177778244,
0.19926966726779938,
-0.19471479952335358,
-0.0680144652724266,
-0.0035507024731487036,
0.18395504355430603,
-0.2444027215242386,
-0.36528390645980835,
0.0715266540646553,
0.09708961844444275,
-0.29109734296798706,
-0.22420530021190643,
0.1269228458404541,
-0.08332932740449905,
0.08546585589647293,
0.21868129074573517,
0.18834756314754486,
-0.12387774139642715,
0.013476330786943436,
-0.3131450116634369,
-0.36366918683052063,
0.07124973833560944,
-0.13439205288887024,
0.17808213829994202,
-0.3083217740058899,
-0.226096510887146,
0.22046080231666565,
0.16329450905323029,
-0.42258313298225403,
-0.08447802066802979,
-0.026374422013759613,
0.10502347350120544,
0.1314014196395874,
0.08049733936786652,
-0.07601988315582275,
-0.20775069296360016,
0.03212631493806839,
0.1538887619972229,
-0.3212015628814697,
-0.2053704857826233,
-0.1563454568386078,
0.10448180884122849,
-0.026579832658171654,
-0.018757658079266548,
-0.1343594789505005,
-0.16242752969264984,
-0.27307289838790894,
-0.1060791090130806,
0.14215268194675446,
-0.07770863175392151,
-0.030681543052196503,
0.22768381237983704,
0.20365898311138153,
0.15462321043014526,
0.11255025863647461,
-0.023295283317565918,
0.034229766577482224,
0.2108043134212494,
0.03692030534148216,
-0.17079368233680725,
-0.15420295298099518,
0.01560506597161293,
0.24066729843616486,
0.245949387550354,
0.171839639544487,
-0.15324966609477997,
0.32326748967170715,
-0.07174880057573318,
0.3182331323623657,
0.44935163855552673,
0.0756743997335434,
0.23002806305885315,
-0.16026100516319275,
0.14817014336585999,
0.39298751950263977,
0.3036411702632904,
-0.13575483858585358,
-0.1440736949443817,
0.26807546615600586,
-0.1421370804309845,
0.059186842292547226,
0.30281609296798706,
0.5868409276008606,
0.11363080143928528,
-0.14705269038677216,
0.06025708466768265,
0.36139851808547974,
-0.13029630482196808,
0.1025848537683487,
0.27242937684059143,
-0.2673550844192505,
0.04267577454447746,
0.4261934757232666,
0.34828171133995056,
0.06479179114103317,
0.18362803757190704,
0.08377822488546371,
0.3153513967990875,
0.2759130299091339,
0.2919813096523285,
0.21431268751621246,
-0.2817299962043762,
0.19228985905647278,
0.2428547590970993,
0.23433168232440948,
0.19101658463478088,
0.06428558379411697,
0.23526132106781006,
0.2019619643688202,
-0.3495028018951416,
-0.02408110722899437,
0.18415725231170654,
-0.12169027328491211,
0.20931218564510345,
-0.04179787635803223,
-0.17389169335365295,
-0.1552828550338745,
-0.058514341711997986,
-0.02905852720141411,
-0.3398754894733429,
-0.0005951816565357149,
-0.09073562175035477,
-0.10265715420246124,
-0.14300140738487244,
-0.00010471097630215809,
0.004643894266337156,
0.1416657269001007,
-0.21702080965042114,
0.17822998762130737,
-0.03639638423919678,
-0.12864720821380615,
0.24890026450157166,
0.1796150952577591,
0.33871328830718994,
0.10642916709184647,
0.0049880389124155045,
0.12398719042539597,
-0.08109299093484879,
-0.18238495290279388,
0.06757812947034836,
0.484844446182251,
0.06366686522960663,
0.15579518675804138,
0.209610253572464,
0.15933305025100708,
-0.14251193404197693,
-0.042581841349601746,
-0.22611601650714874,
-0.06343123316764832,
0.08106905221939087,
-0.200315922498703,
0.0650959238409996,
-0.16560930013656616,
-0.20102329552173615,
-0.07082203030586243,
-0.36516299843788147,
-0.13574771583080292,
0.5536826848983765,
-0.05632922798395157,
0.05734492838382721,
-0.274526447057724,
0.11981789022684097,
0.2667571008205414,
0.37282267212867737,
0.18857505917549133,
0.11641440540552139,
-0.030619626864790916,
-0.08405081927776337,
-0.7492573857307434,
-0.07264593243598938,
-0.09139562398195267,
0.01375756599009037,
0.13573360443115234,
-0.17103996872901917,
0.20556406676769257,
0.2695922553539276,
0.12366882711648941,
0.01023122575134039,
0.165990948677063,
0.18994438648223877,
-0.11428060382604599,
-0.21078306436538696,
-0.011523835361003876,
0.1543956845998764,
0.05769410356879234,
0.033315401524305344,
0.234015554189682,
0.052460212260484695,
0.06890031695365906,
-0.32860222458839417,
0.2945060729980469,
-0.006518582813441753,
0.07377718389034271,
0.4180581569671631,
-0.08500488847494125,
0.47871583700180054,
-0.19538754224777222,
0.01740720309317112,
-0.022913414984941483,
0.19859910011291504,
-0.13946199417114258,
0.4079093635082245,
0.14807358384132385,
0.20087604224681854,
-0.09285075217485428,
-0.12453170120716095,
-0.27611804008483887,
0.20356538891792297,
-0.056591346859931946,
0.06933912634849548,
-0.41671785712242126,
0.012935529462993145,
0.12362580746412277,
-0.15462827682495117,
0.08530986309051514,
0.05087239667773247,
-0.007576830685138702,
-0.12888513505458832,
-0.1927994191646576,
-0.279475599527359,
0.47359955310821533,
-0.06923583894968033,
-0.11550493538379669,
0.12133602797985077,
0.009320306591689587,
0.4011228084564209,
0.06227090209722519,
-0.9307847619056702,
0.16765446960926056,
0.41409945487976074,
0.034472763538360596,
-0.22567437589168549,
0.17573782801628113,
-0.012938759289681911,
-0.015529013238847256,
-0.191481813788414,
0.18285997211933136,
0.07117226719856262,
-0.11266264319419861,
-0.06457210332155228,
-0.12526901066303253
] |
https://github.com/huggingface/datasets/issues/2089
|
Add documentaton for dataset README.md files
|
I don't think so. Feel free to take a look at the tags of other models (example [here](https://huggingface.co/bert-base-uncased/blob/main/README.md)). But we should definitely have some docs or an app to write the tags. Feel free to open an issue in the `transformers` repo or in the `huggingface_hub` repo so we can discuss this
|
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
| 52
|
Add documentaton for dataset README.md files
Hi,
the dataset README files have special headers.
Somehow a documenation of the allowed values and tags is missing.
Could you add that?
Just to give some concrete questions that should be answered imo:
- which values can be passted to multilinguality?
- what should be passed to language_creators?
- which values should licenses have? What do I say when it is a custom license? Should I add a link?
- how should I choose size_categories ? What are valid ranges?
- what are valid task_categories?
Thanks
Philip
I don't think so. Feel free to take a look at the tags of other models (example [here](https://huggingface.co/bert-base-uncased/blob/main/README.md)). But we should definitely have some docs or an app to write the tags. Feel free to open an issue in the `transformers` repo or in the `huggingface_hub` repo so we can discuss this
|
[
-0.1301446408033371,
-0.03524371609091759,
-0.053218595683574677,
0.24710485339164734,
0.29424193501472473,
0.2559410631656647,
0.41520005464553833,
0.12934251129627228,
0.09287900477647781,
-0.04842427372932434,
-0.17295494675636292,
0.07008929550647736,
-0.17187103629112244,
0.3322663903236389,
0.1102282777428627,
-0.07998733222484589,
0.07458192855119705,
-0.06401196867227554,
0.08292996138334274,
-0.342541366815567,
-0.12060006707906723,
0.04733123257756233,
0.008605841547250748,
-0.15901729464530945,
-0.3415013551712036,
-0.0647554025053978,
-0.10810932517051697,
0.08788254857063293,
-0.3661046624183655,
-0.44181886315345764,
0.034378331154584885,
0.3645282983779907,
0.275333046913147,
0.20002956688404083,
-0.00011224961053812876,
-0.08206808567047119,
0.20179834961891174,
-0.293722003698349,
0.08058547228574753,
-0.06951692700386047,
-0.13068367540836334,
-0.22356048226356506,
0.000253972684731707,
-0.1659981906414032,
-0.044372595846652985,
-0.11045625060796738,
-0.08385200798511505,
0.07290836423635483,
0.43704989552497864,
0.37518632411956787,
0.14813350141048431,
0.15687158703804016,
0.3579429090023041,
-0.07536210119724274,
0.39063379168510437,
0.5329566597938538,
-0.1721142679452896,
0.3704769015312195,
0.4002631902694702,
0.13447807729244232,
-0.00860208086669445,
0.3429560363292694,
0.010264686308801174,
0.08151141554117203,
0.5320785641670227,
0.061476461589336395,
0.4577290713787079,
-0.4999285340309143,
0.07460436224937439,
0.4968687891960144,
0.8872467279434204,
-0.2778627276420593,
-0.3920508921146393,
-0.4509524405002594,
0.05117311701178551,
-0.0022102503571659327,
0.12751635909080505,
0.22921428084373474,
-0.022325173020362854,
0.20233680307865143,
-0.03596240282058716,
-0.3970162868499756,
-0.2950108051300049,
-0.01644887402653694,
0.21325959265232086,
0.530397891998291,
-0.0830991193652153,
-0.04838858172297478,
0.20289269089698792,
-0.07507146894931793,
0.03790580853819847,
-0.02093038707971573,
-0.13303127884864807,
0.18088479340076447,
0.18294359743595123,
-0.27205774188041687,
-0.40238267183303833,
-0.00910558458417654,
0.28357988595962524,
-0.12887200713157654,
-0.09295739233493805,
0.010475048795342445,
-0.057026300579309464,
0.2156037986278534,
0.24617841839790344,
-0.07066511362791061,
-0.10412107408046722,
0.2844145894050598,
0.1489333063364029,
-0.06323697417974472,
0.35048627853393555,
-0.15371567010879517,
-0.1432400494813919,
0.03205157443881035,
-0.16252879798412323,
-0.058542244136333466,
-0.11972314119338989,
-0.2173474282026291,
0.1657671332359314,
-0.189499169588089,
0.2245894819498062,
-0.11914151906967163,
0.08653871715068817,
0.33142128586769104,
0.06748966127634048,
-0.13504932820796967,
-0.24036197364330292,
0.08499523997306824,
0.051267266273498535,
-0.13407042622566223,
-0.029530152678489685,
0.08564586192369461,
-0.13041599094867706,
0.25663459300994873,
0.23083485662937164,
-0.045377831906080246,
0.25714728236198425,
0.0018111889949068427,
0.11419133841991425,
-0.09511713683605194,
0.07907462120056152,
0.055301081389188766,
0.16968408226966858,
0.37545424699783325,
-0.21986286342144012,
0.0422181636095047,
-0.05932928994297981,
-0.3838607668876648,
-0.2995632290840149,
0.06807813793420792,
-0.36027973890304565,
-0.284546822309494,
-0.37642449140548706,
0.13326698541641235,
-0.1712680160999298,
0.0672328919172287,
-0.2517310678958893,
0.29263919591903687,
0.19820265471935272,
-0.09825076907873154,
0.271140992641449,
0.2577020227909088,
-0.2646197974681854,
-0.15254361927509308,
0.054329756647348404,
0.5442978739738464,
-0.15501756966114044,
-0.24142387509346008,
-0.012158896774053574,
-0.015332167968153954,
-0.25386178493499756,
0.15823256969451904,
-0.3104727268218994,
0.2880338430404663,
-0.21257932484149933,
0.19547083973884583,
0.3075239360332489,
-0.5969030857086182,
-0.28786739706993103,
0.1899212896823883,
0.04410190135240555,
-0.24301797151565552,
0.2752091586589813,
-0.009863496758043766,
0.436381071805954,
-0.22211286425590515,
-0.2216968685388565,
-0.11648136377334595,
-0.14547477662563324,
0.03004278428852558,
-0.17886602878570557,
-0.1824239194393158,
0.1801661252975464,
0.17706893384456635,
0.1427142322063446,
-0.00565258739516139,
0.2813098728656769,
0.3177356719970703,
0.18075960874557495,
-0.08943699300289154,
0.1050366759300232,
0.39709293842315674,
0.34766244888305664,
0.034450680017471313,
0.057608410716056824,
-0.09566575288772583,
-0.6226601004600525,
0.03699462115764618,
-0.040780749171972275,
0.39147040247917175,
-0.07539884746074677,
-0.3238521218299866,
-0.2640572786331177,
-0.25370803475379944,
-0.3115510046482086,
-0.44227334856987,
0.07669320702552795,
-0.049022920429706573,
-0.23233646154403687,
0.11212112009525299,
-0.2760213017463684,
0.3250449597835541,
0.08415763825178146,
0.17670223116874695,
-0.42315351963043213,
0.08792127668857574,
-0.302308589220047,
0.09816692769527435,
0.2412697970867157,
0.10989958047866821,
0.12735892832279205,
-0.09519889205694199,
0.009487688541412354,
0.2334364652633667,
-0.021051475778222084,
0.2175309807062149,
0.09824498742818832,
0.6624135971069336,
0.5612777471542358,
-0.30530431866645813,
0.1880616396665573,
-0.28353315591812134,
0.09846575558185577,
-0.18101049959659576,
-0.5105966329574585,
0.06831717491149902,
-0.18711337447166443,
-0.05704333260655403,
-0.002772602019831538,
-0.10046520829200745,
0.19076865911483765,
0.032071854919195175,
-0.28531670570373535,
-0.35564664006233215,
-0.23454338312149048,
0.09649663418531418,
0.23932282626628876,
0.09287602454423904,
0.19012896716594696,
0.06278450787067413,
0.7504205703735352,
-0.12580005824565887,
0.09177503734827042,
0.19571535289287567,
-0.22763215005397797,
-0.02126648835837841,
0.12587787210941315,
0.12219385802745819,
0.14490579068660736,
0.21344389021396637,
0.06042850390076637,
0.1615927815437317,
0.09863638132810593,
-0.17373047769069672,
0.1242917999625206,
0.03721283748745918,
-0.07002472132444382,
0.24286293983459473,
-0.23855724930763245,
0.011653757654130459,
-0.2925584018230438,
-0.023854808881878853,
0.13656409084796906,
0.2298056036233902,
-0.3926614820957184,
-0.16882342100143433,
0.05058201402425766,
0.03855764493346214,
-0.2868269085884094,
-0.25303611159324646,
-0.6583177447319031,
-0.1110897958278656,
0.09610466659069061,
0.028908317908644676,
0.056119438260793686,
0.06240976229310036,
0.06278196722269058,
0.19701923429965973,
-0.17628084123134613,
0.2620806097984314,
-0.339110791683197,
-0.2260826826095581,
-0.08661454170942307,
0.03838415816426277,
0.44318845868110657,
0.37959012389183044,
0.3404737412929535,
-0.323748916387558,
0.24067948758602142,
-0.11477992683649063,
-0.6005820631980896,
0.22577792406082153,
-0.138449028134346,
0.31395310163497925,
0.11847437173128128,
0.057580284774303436,
0.10743483901023865,
-0.11118581891059875,
0.13580559194087982,
-0.033465173095464706,
-0.12986035645008087,
-0.2549877464771271,
-0.033280372619628906,
-0.2619006931781769,
-0.12098069489002228,
-0.44457826018333435,
-0.24849483370780945,
-0.38264745473861694,
0.31222495436668396,
-0.1325090080499649,
0.055503182113170624,
0.3077590763568878,
-0.007762899622321129,
0.19767315685749054,
-0.24744419753551483,
0.1154811903834343,
-0.16999292373657227,
-0.09006574004888535,
0.4744247496128082,
-0.3464312255382538,
-0.2834532558917999,
0.2812023460865021,
0.052832260727882385,
0.2554825246334076,
-0.28435713052749634,
-0.24344097077846527,
0.0428091324865818,
0.0934884250164032,
-0.25095078349113464,
0.027617651969194412,
0.0766628161072731,
0.27477920055389404,
0.259076327085495,
0.11700117588043213,
-0.11309349536895752,
-0.17458577454090118,
-0.040185607969760895,
0.06214429810643196,
-0.002089456655085087,
-0.10460639744997025,
0.1465645730495453,
-0.07571341842412949,
0.362398624420166,
0.07720030844211578,
0.06155816465616226,
0.3316234350204468,
0.05718529224395752,
0.4331565797328949,
0.06602552533149719,
-0.35460296273231506,
0.20627251267433167,
0.006727392319589853,
0.08007839322090149,
0.37203845381736755,
0.0802137553691864,
0.1718418449163437,
-0.12518563866615295,
-0.31226763129234314,
-0.3093344569206238,
-0.38600969314575195,
0.10219132900238037,
0.2228017896413803,
0.09347173571586609,
-0.17058418691158295,
0.0037209016736596823,
-0.053382646292448044,
-0.16635261476039886,
0.35437244176864624,
0.8319625854492188,
-0.14103564620018005,
0.08831654489040375,
-0.280004620552063,
0.18883486092090607,
-0.22738265991210938,
0.02155454084277153,
0.1896587610244751,
0.012695967219769955,
-0.23343384265899658,
0.21133451163768768,
-0.007656507659703493,
0.15658794343471527,
0.5497596859931946,
-0.5247401595115662,
-0.06314895302057266,
0.01296009961515665,
0.01762072555720806,
0.11084423959255219,
0.06637350469827652,
-0.13729596138000488,
-0.09216128289699554,
0.13167804479599,
0.49496209621429443,
-0.4311369061470032,
-0.2816445529460907,
-0.08440088480710983,
-0.07658910006284714,
-0.06941987574100494,
-0.25303569436073303,
-0.09525873512029648,
-0.15937440097332,
-0.5372498035430908,
-0.12789210677146912,
0.2674383819103241,
-0.29539230465888977,
-0.17291805148124695,
-0.24302317202091217,
0.1832466423511505,
0.04559715464711189,
0.27723222970962524,
0.24631604552268982,
0.1555463671684265,
0.14078152179718018,
-0.021229561418294907,
0.3834700584411621,
0.07925441116094589,
0.6136360168457031,
0.40857937932014465,
-0.37804973125457764,
-0.3243059813976288,
0.03222184255719185,
-0.7105813026428223,
0.2947058379650116,
0.27573347091674805,
0.25166285037994385,
-0.06870002299547195,
0.4258861839771271,
-0.21192121505737305,
-0.1852732002735138,
0.05897325649857521,
0.1156475692987442,
0.019267555326223373,
-0.5070006847381592,
-0.5510514974594116,
0.4138433039188385,
-0.006082840263843536,
-0.037635333836078644,
0.012716530822217464,
0.26416024565696716,
-0.3906285762786865,
0.1536785215139389,
0.3243087828159332,
1.21517014503479,
-0.10245241969823837,
0.056401874870061874,
-0.30508044362068176,
-0.24167506396770477,
0.36782732605934143,
-0.41565650701522827,
-0.1234327107667923,
-0.26714983582496643,
0.014427698217332363,
-0.12643024325370789,
0.014587965793907642,
0.36296403408050537,
0.3674153983592987,
-0.38013163208961487,
0.06065734848380089,
0.3421325385570526,
0.20658396184444427,
-0.10841598361730576,
0.7030028700828552,
-0.13091927766799927,
-0.40529558062553406,
0.02179632894694805,
0.07646217197179794,
0.029423102736473083,
0.1367155760526657,
-0.0836406946182251,
-0.5859959125518799,
-0.07805533707141876,
-0.13613756000995636,
-0.3741076588630676,
-0.35254016518592834,
-0.20449639856815338,
-0.2110217809677124,
0.02392459660768509,
0.02466745674610138,
0.5534372925758362,
0.23665127158164978,
0.5483728647232056,
0.16215038299560547,
-0.640477180480957,
0.13559775054454803,
-0.12392377853393555,
-0.19570009410381317,
-0.22477930784225464,
0.04787516966462135,
0.36944517493247986,
-0.1299373209476471,
-0.2023039162158966,
-0.13304197788238525,
-0.06826882809400558,
-0.0005885655409656465,
-0.2465474009513855,
-0.1496177315711975,
0.10547862946987152,
-0.3484671413898468,
0.14427807927131653,
-0.19869397580623627,
-0.24113233387470245,
-0.14794765412807465,
0.13714008033275604,
0.03239312022924423,
-0.11512728780508041,
0.035100944340229034,
0.2759847939014435,
-0.15523108839988708,
-0.08789756894111633,
0.2337968498468399,
-0.19648799300193787,
-0.09904564917087555,
0.10551851987838745,
0.10040921717882156,
-0.239987313747406,
-0.29593920707702637,
-0.015673598274588585,
0.268515944480896,
-0.602806806564331,
-0.24544964730739594,
0.06272237002849579,
-0.18084537982940674,
0.012279901653528214,
0.3699568808078766,
0.3838860094547272,
-0.136374831199646,
-0.052135154604911804,
-0.22573775053024292,
-0.5842853784561157,
0.15385478734970093,
-0.14063386619091034,
0.16995488107204437,
-0.1889737993478775,
-0.11572693288326263,
0.1967945396900177,
0.21675804257392883,
-0.33001837134361267,
-0.13945209980010986,
-0.016645397990942,
0.04117393493652344,
0.16158881783485413,
-0.004522163420915604,
0.06755535304546356,
-0.3016514778137207,
-0.052399419248104095,
0.2579048275947571,
-0.27035292983055115,
-0.09995649755001068,
-0.24501484632492065,
0.17751000821590424,
0.02532191202044487,
0.014225384220480919,
-0.20254993438720703,
-0.023405231535434723,
-0.29657989740371704,
-0.12781581282615662,
0.21044693887233734,
0.04190655052661896,
0.14589589834213257,
0.25942716002464294,
0.2857022285461426,
0.16321775317192078,
-0.15039438009262085,
0.02794426679611206,
0.12850891053676605,
0.1703534871339798,
0.14813096821308136,
-0.15652237832546234,
-0.161142960190773,
0.10488223284482956,
0.3086877465248108,
0.23694205284118652,
0.21713858842849731,
-0.004965633619576693,
0.3991968035697937,
-0.007529602851718664,
0.2695426642894745,
0.34346431493759155,
0.11907321959733963,
0.19015519320964813,
-0.1295439898967743,
0.13850528001785278,
0.33683276176452637,
0.1772237867116928,
-0.2271174192428589,
-0.10551033169031143,
0.31891068816185,
-0.17776958644390106,
0.10208667814731598,
0.42212310433387756,
0.5702977776527405,
0.2688583433628082,
-0.017272083088755608,
0.12583814561367035,
0.46698135137557983,
0.025778451934456825,
0.09440762549638748,
0.4013032019138336,
-0.2711421847343445,
0.1281043142080307,
0.4452594518661499,
0.3683154284954071,
0.1730041652917862,
0.19133524596691132,
0.0918566882610321,
0.11472025513648987,
0.003472798503935337,
0.28812694549560547,
0.3339250087738037,
-0.15541695058345795,
0.18779303133487701,
0.15638580918312073,
0.42288950085639954,
0.20241552591323853,
0.07722271233797073,
0.07687458395957947,
0.31155267357826233,
-0.22703643143177032,
-0.12061499059200287,
0.11911557614803314,
-0.06484447419643402,
0.06646315008401871,
0.24246473610401154,
-0.12485115975141525,
-0.21646730601787567,
-0.10075665265321732,
-0.04001755267381668,
-0.32613927125930786,
-0.06290607899427414,
0.0003627758997026831,
-0.0012209437554702163,
0.09547664225101471,
-0.05731840059161186,
0.0683000385761261,
0.14246132969856262,
-0.23031720519065857,
0.13693542778491974,
0.17438527941703796,
-0.14686094224452972,
0.1629304438829422,
0.22211705148220062,
0.20917627215385437,
0.07199147343635559,
-0.025224311277270317,
0.20932042598724365,
0.04192781075835228,
-0.13462495803833008,
0.08987776190042496,
0.4182915687561035,
0.1899680644273758,
0.2705279588699341,
0.09561043232679367,
0.06139548122882843,
-0.11488891392946243,
-0.03881172090768814,
-0.2847312390804291,
-0.0863257423043251,
-0.009929013438522816,
0.06289610266685486,
-0.006866895593702793,
-0.24126403033733368,
-0.23674726486206055,
-0.12364315241575241,
-0.45291075110435486,
-0.08922088146209717,
0.5199382305145264,
-0.14344005286693573,
0.054425984621047974,
-0.18105539679527283,
0.05027013644576073,
0.20860417187213898,
0.42891237139701843,
0.2435460239648819,
0.027823612093925476,
-0.08885572105646133,
0.06259379535913467,
-0.7101930379867554,
-0.012415136210620403,
-0.019105831161141396,
0.12454571574926376,
0.18921908736228943,
-0.21410493552684784,
0.24092061817646027,
0.16184589266777039,
0.12125372141599655,
-0.07457467913627625,
-0.06715632975101471,
0.08009584993124008,
-0.07104817777872086,
-0.17404906451702118,
-0.2068473994731903,
0.1768306940793991,
0.12985527515411377,
0.013196749612689018,
0.19741176068782806,
0.34410279989242554,
-0.04799528419971466,
-0.4523765742778778,
0.35016489028930664,
-0.03307083621621132,
0.062109366059303284,
0.3149143159389496,
-0.08597395569086075,
0.4451013505458832,
-0.20298856496810913,
-0.13554076850414276,
0.06715420633554459,
0.24984510242938995,
-0.1163867861032486,
0.34994322061538696,
0.16672049462795258,
0.24665644764900208,
-0.24407407641410828,
-0.27460789680480957,
-0.46813249588012695,
0.058025989681482315,
-0.0034037218429148197,
-0.13275974988937378,
-0.6510515213012695,
0.0006265959818847477,
0.04648385941982269,
-0.22793489694595337,
0.21119607985019684,
0.054285451769828796,
-0.037128761410713196,
-0.11822263151407242,
-0.1886250227689743,
-0.13552136719226837,
0.6211872100830078,
-0.17263635993003845,
-0.14156945049762726,
0.1333971470594406,
-0.04546027258038521,
0.40835753083229065,
-0.017049163579940796,
-1.161651372909546,
0.13225696980953217,
0.31774595379829407,
0.02581261843442917,
-0.24813179671764374,
0.027504926547408104,
0.07884044200181961,
-0.0259972233325243,
-0.23171843588352203,
0.2802070379257202,
0.09768497198820114,
-0.15323930978775024,
-0.1820615977048874,
-0.17606990039348602
] |
https://github.com/huggingface/datasets/issues/2083
|
`concatenate_datasets` throws error when changing the order of datasets to concatenate
|
Hi,
this bug is related to `Dataset.{remove_columns, rename_column, flatten}` not propagating the change to the schema metadata when the info features are updated, so this line is the culprit:
```python
common_voice_train = common_voice_train.remove_columns(['client_id', 'up_votes', 'down_votes', 'age', 'gender', 'accent', 'locale', 'segment'])
```
The order is important because the resulting dataset inherits the schema metadata of the first dataset passed to the `concatenate_datasets(...)` function (`pa.concat_tables` [docs](https://arrow.apache.org/docs/python/generated/pyarrow.concat_tables.html)). I'll try to fix this ASAP.
|
Hey,
I played around with the `concatenate_datasets(...)` function: https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate_datasets#datasets.concatenate_datasets
and noticed that when the order in which the datasets are concatenated changes an error is thrown where it should not IMO.
Here is a google colab to reproduce the error: https://colab.research.google.com/drive/17VTFU4KQ735-waWZJjeOHS6yDTfV5ekK?usp=sharing
| 70
|
`concatenate_datasets` throws error when changing the order of datasets to concatenate
Hey,
I played around with the `concatenate_datasets(...)` function: https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate_datasets#datasets.concatenate_datasets
and noticed that when the order in which the datasets are concatenated changes an error is thrown where it should not IMO.
Here is a google colab to reproduce the error: https://colab.research.google.com/drive/17VTFU4KQ735-waWZJjeOHS6yDTfV5ekK?usp=sharing
Hi,
this bug is related to `Dataset.{remove_columns, rename_column, flatten}` not propagating the change to the schema metadata when the info features are updated, so this line is the culprit:
```python
common_voice_train = common_voice_train.remove_columns(['client_id', 'up_votes', 'down_votes', 'age', 'gender', 'accent', 'locale', 'segment'])
```
The order is important because the resulting dataset inherits the schema metadata of the first dataset passed to the `concatenate_datasets(...)` function (`pa.concat_tables` [docs](https://arrow.apache.org/docs/python/generated/pyarrow.concat_tables.html)). I'll try to fix this ASAP.
|
[
-0.07968534529209137,
-0.0035568734165281057,
0.04932403564453125,
0.09624529629945755,
0.40014275908470154,
0.20311032235622406,
0.14764681458473206,
0.16858915984630585,
-0.4686335623264313,
0.039034757763147354,
-0.11334405839443207,
0.2235860675573349,
0.18650904297828674,
0.22799545526504517,
-0.15247224271297455,
-0.37648823857307434,
0.18034419417381287,
-0.033542271703481674,
-0.031853023916482925,
0.1589728444814682,
-0.33061477541923523,
0.2782517373561859,
-0.4217683970928192,
0.1194009929895401,
-0.27704110741615295,
0.16557618975639343,
-0.28765854239463806,
0.2142007052898407,
-0.13174782693386078,
-0.3083036243915558,
0.22181865572929382,
0.2089255452156067,
0.02682430110871792,
0.48895424604415894,
-0.00010560233204159886,
-0.013124494813382626,
0.13945232331752777,
0.026906736195087433,
-0.26048752665519714,
-0.2272510528564453,
-0.22512651979923248,
-0.10867620259523392,
-0.1623244434595108,
0.037974562495946884,
0.14694452285766602,
-0.15970195829868317,
-0.24297307431697845,
-0.15025386214256287,
0.28379762172698975,
0.2774026393890381,
0.23799245059490204,
0.17553755640983582,
0.24264772236347198,
-0.38647037744522095,
0.11600624024868011,
-0.12717454135417938,
-0.03232841193675995,
0.08276982605457306,
-0.1578352302312851,
-0.21142183244228363,
0.1623140126466751,
0.2935608923435211,
-0.2205401211977005,
-0.37009429931640625,
0.048272356390953064,
0.1449316442012787,
-0.049099091440439224,
-0.13518798351287842,
-0.0003449777141213417,
0.07268814742565155,
0.41891419887542725,
-0.484794944524765,
-0.35306236147880554,
-0.2878318428993225,
0.37972965836524963,
-0.38484251499176025,
0.23351475596427917,
0.10796914994716644,
0.18085722625255585,
0.1601846069097519,
-0.11174211651086807,
-0.005286666564643383,
0.0029110938776284456,
0.007369379512965679,
-0.05433844402432442,
0.07949186861515045,
0.05774466320872307,
0.012179928831756115,
0.1555241495370865,
-0.30293095111846924,
0.07643090188503265,
-0.11394590139389038,
-0.27232176065444946,
0.11298225820064545,
-0.48198801279067993,
0.0012332698097452521,
0.043127305805683136,
-0.25255584716796875,
0.3593418300151825,
0.13042160868644714,
-0.021706251427531242,
-0.028369056060910225,
-0.09755532443523407,
0.11753219366073608,
0.253303200006485,
0.3586050868034363,
0.09566207975149155,
0.2279176115989685,
0.09096509963274002,
0.22172720730304718,
0.17812733352184296,
0.022759584710001945,
0.12297578155994415,
-0.293256551027298,
-0.0394408255815506,
0.10174181312322617,
0.3059566020965576,
0.060107845813035965,
-0.16822709143161774,
0.11039219051599503,
-0.12779630720615387,
0.09429574012756348,
0.045382801443338394,
0.17529475688934326,
0.041901595890522,
0.34785977005958557,
0.29252904653549194,
0.3554246723651886,
0.12511521577835083,
0.013612117618322372,
-0.15901613235473633,
-0.25402989983558655,
-0.10264067351818085,
0.29680296778678894,
-0.03791940584778786,
-0.11697062849998474,
-0.020782995969057083,
0.343950092792511,
0.172419473528862,
0.12119878828525543,
-0.23695281147956848,
0.016123495995998383,
-0.13190698623657227,
0.22034870088100433,
0.043935276567935944,
-0.007123252376914024,
0.06242699921131134,
-0.007491654716432095,
-0.1447688490152359,
-0.018962999805808067,
-0.2858019769191742,
-0.541671633720398,
-0.49751919507980347,
0.24818076193332672,
0.17606569826602936,
-0.08878356963396072,
0.0011423159157857299,
0.2109556943178177,
0.3790779411792755,
-0.21448646485805511,
-0.0100920544937253,
-0.13114656507968903,
-0.33378487825393677,
-0.17831316590309143,
-0.030650848522782326,
0.27281224727630615,
-0.07838758081197739,
0.0389479398727417,
0.16702581942081451,
0.028401535004377365,
-0.13531634211540222,
0.4119369685649872,
-0.13252954185009003,
-0.11950301378965378,
-0.1640450805425644,
0.2925846576690674,
0.21482251584529877,
-0.3234602212905884,
-0.19540029764175415,
0.015626799315214157,
-0.1306152045726776,
0.0493500642478466,
0.048813022673130035,
-0.13446395099163055,
-0.19321104884147644,
-0.13464602828025818,
0.3389661908149719,
0.3616018295288086,
0.017335232347249985,
0.05307924374938011,
-0.06397836655378342,
-0.07366548478603363,
0.22548392415046692,
-0.15547296404838562,
-0.44541484117507935,
0.2084556370973587,
-0.2820546627044678,
-0.1806512176990509,
0.3597206473350525,
-0.2028740495443344,
-0.0249185673892498,
0.33210188150405884,
0.19029587507247925,
0.10281841456890106,
0.22810949385166168,
0.03303195536136627,
-0.4944085478782654,
0.06920087337493896,
0.07796867191791534,
0.11204973608255386,
-0.2732647955417633,
-0.30516162514686584,
-0.1832835078239441,
-0.0261384267359972,
-0.32294851541519165,
0.10752645879983902,
0.18990103900432587,
0.019082726910710335,
0.10135789215564728,
-0.139077827334404,
-0.14069178700447083,
0.36014270782470703,
-0.04018785431981087,
0.11331757158041,
-0.4093930721282959,
0.2946321666240692,
-0.27571138739585876,
-0.005781102459877729,
0.09602080285549164,
0.28505849838256836,
0.15173061192035675,
0.09526042640209198,
-0.20580503344535828,
0.6714093089103699,
-0.22945533692836761,
-0.2981727421283722,
0.012951201759278774,
-0.0409918949007988,
0.006392497569322586,
0.06049014627933502,
-0.10195965319871902,
-0.010719751939177513,
-0.17606469988822937,
-0.05780909210443497,
-0.2104915976524353,
0.37961792945861816,
0.002770980354398489,
0.2878166437149048,
-0.0005505784065462649,
0.12733180820941925,
0.2976999580860138,
0.023618469014763832,
-0.05228160321712494,
-0.3162909150123596,
0.11106591671705246,
0.07204241305589676,
0.10836362838745117,
0.09133319556713104,
-0.5487779974937439,
0.1539592146873474,
0.6155301332473755,
-0.07234940677881241,
-0.020484663546085358,
0.07559995353221893,
-0.046993035823106766,
-0.004391454625874758,
0.02466249093413353,
-0.03429899364709854,
0.5151795148849487,
0.19222348928451538,
-0.14515182375907898,
0.3800707459449768,
-0.1407289057970047,
-0.12366468459367752,
0.12646350264549255,
0.008558203466236591,
0.18795716762542725,
0.37489640712738037,
0.41929808259010315,
0.25453534722328186,
-0.2852303385734558,
-0.21110720932483673,
0.002057682489976287,
0.012081441469490528,
-0.24824416637420654,
0.06619726866483688,
-0.2989223897457123,
-0.1473240703344345,
-0.21434453129768372,
-0.45592254400253296,
-0.5343992114067078,
-0.3646797239780426,
0.16372336447238922,
0.09510041028261185,
-0.23067331314086914,
0.3209129571914673,
-0.07332069426774979,
0.012632685713469982,
0.37993890047073364,
-0.08079104870557785,
-0.20833705365657806,
-0.030446892604231834,
0.022590840235352516,
-0.001523885177448392,
0.09681028127670288,
-0.13794440031051636,
0.006293413694947958,
-0.08259586989879608,
-0.020582426339387894,
-0.27170559763908386,
-0.2621477246284485,
0.025196371600031853,
-0.37972572445869446,
-0.07118804007768631,
0.20132963359355927,
-0.045153699815273285,
0.11325549334287643,
-0.43605345487594604,
0.43034636974334717,
0.15720660984516144,
-0.21472053229808807,
0.6075906157493591,
0.16842785477638245,
-0.18782734870910645,
-0.15362633764743805,
-0.4074486494064331,
-0.1293826848268509,
-0.4146421551704407,
0.2266930490732193,
-0.2033037692308426,
-0.004156701732426882,
0.5315068364143372,
0.13898839056491852,
-0.25139620900154114,
-0.16627144813537598,
0.19821666181087494,
-0.3319246768951416,
-0.22686225175857544,
0.11820529401302338,
-0.23562467098236084,
-0.35923516750335693,
-0.07965875416994095,
0.13989508152008057,
0.09865646064281464,
0.06354730576276779,
-0.13726387917995453,
-0.1302848607301712,
-0.10490258038043976,
0.28730523586273193,
-0.30987778306007385,
0.07583747804164886,
0.3729996979236603,
0.3206871449947357,
-0.11611970514059067,
-0.1279146820306778,
-0.18260513246059418,
-0.005853693932294846,
0.24480658769607544,
0.2611476182937622,
-0.1807270497083664,
0.3100433945655823,
-0.018821142613887787,
0.3491811454296112,
0.22836031019687653,
-0.00573746906593442,
0.14287514984607697,
0.040973227471113205,
0.343936026096344,
-0.26102644205093384,
-0.30319344997406006,
-0.1533001810312271,
-0.24642042815685272,
0.22554968297481537,
0.12361951917409897,
0.004114185459911823,
0.1353747695684433,
-0.041990749537944794,
0.33452916145324707,
0.06604181230068207,
-0.22682121396064758,
-0.008292129263281822,
-0.11548466980457306,
0.277418851852417,
0.1853940486907959,
-0.04681294038891792,
-0.21135486662387848,
-0.002703533973544836,
0.09342789649963379,
0.1489718109369278,
-0.16697154939174652,
-0.13121397793293,
-0.4330022931098938,
-0.1807783842086792,
-0.3780789077281952,
0.360748291015625,
0.14748623967170715,
0.319734662771225,
0.10556401312351227,
-0.11447650194168091,
-0.11437132954597473,
0.057304587215185165,
0.5016081929206848,
-0.07276202738285065,
-0.4048737585544586,
0.4655720293521881,
0.1853976547718048,
-0.22893734276294708,
-0.3301287293434143,
-0.1556289941072464,
0.19200120866298676,
0.09926215559244156,
0.3979496657848358,
-0.34229812026023865,
-0.16603724658489227,
0.3565298318862915,
0.2136688083410263,
0.11099056899547577,
-0.09127625823020935,
-0.36424002051353455,
-0.24687911570072174,
-0.3064168691635132,
-0.11257627606391907,
-0.05654448643326759,
0.4393947124481201,
-0.4744168519973755,
0.13601061701774597,
0.26297709345817566,
-0.20298956334590912,
-0.1302568018436432,
-0.09407536685466766,
0.27057576179504395,
0.006704834755510092,
0.17254742980003357,
0.05015287175774574,
0.22901897132396698,
0.31156104803085327,
0.5891234278678894,
0.05688949301838875,
-0.7131994962692261,
-0.14939801394939423,
0.0947638750076294,
0.11799334734678268,
0.17173710465431213,
-0.08632064610719681,
0.3397354483604431,
0.01984456740319729,
0.19312642514705658,
0.06509365886449814,
-0.1433602124452591,
0.6809394359588623,
-0.07629212737083435,
-0.6452262997627258,
-0.3143089711666107,
0.5154026746749878,
0.20800617337226868,
0.012077836319804192,
0.17499934136867523,
0.03679303824901581,
-0.2994355857372284,
0.2875846028327942,
-0.18846406042575836,
0.860755205154419,
0.048134803771972656,
0.3077598214149475,
0.3695952892303467,
0.09365350008010864,
0.30315321683883667,
-0.06616789847612381,
0.3982144892215729,
-0.37540602684020996,
-0.25330740213394165,
-0.004233974032104015,
-0.10321291536092758,
0.03570588305592537,
-0.07052189856767654,
-0.5698787569999695,
0.14377246797084808,
-0.399630606174469,
0.19864416122436523,
-0.19671064615249634,
0.13993580639362335,
-0.27988606691360474,
-0.1738884001970291,
-0.5225829482078552,
0.15423035621643066,
0.22646740078926086,
-0.12105194479227066,
-0.08645718544721603,
-0.05205217003822327,
-0.07783188670873642,
-0.27027490735054016,
-0.20367707312107086,
0.3030858039855957,
-0.2647877037525177,
0.3141859173774719,
0.16325272619724274,
-0.12286011874675751,
0.0996108129620552,
0.05653757601976395,
0.23408590257167816,
-0.06486742198467255,
-0.112312912940979,
0.0260392427444458,
0.13056409358978271,
0.06373174488544464,
-0.04091518744826317,
-0.12661297619342804,
0.33078446984291077,
0.1718055158853531,
-0.26440781354904175,
0.06152013689279556,
0.10782580822706223,
-0.20414362847805023,
-0.3926244378089905,
-0.012263991869986057,
-0.021586688235402107,
-0.4964890480041504,
0.19053667783737183,
0.154243603348732,
0.19226619601249695,
-0.2586194574832916,
0.17301246523857117,
0.09895171970129013,
-0.18779516220092773,
0.047173768281936646,
-0.1320604383945465,
-0.17403748631477356,
-0.008201871998608112,
0.3596714735031128,
-0.017424827441573143,
0.04025742784142494,
0.4046957492828369,
0.1664833277463913,
-0.09422159940004349,
-0.0620395690202713,
-0.026236701756715775,
-0.003496753051877022,
-0.29764237999916077,
0.12443102896213531,
0.08955777436494827,
0.00007955870387377217,
0.060054950416088104,
0.41029149293899536,
0.010927530936896801,
-0.09744885563850403,
0.014266414567828178,
-0.06839065253734589,
-0.20662322640419006,
0.21391309797763824,
0.19531051814556122,
0.06679049879312515,
-0.08407188951969147,
0.4412164092063904,
-0.03676293045282364,
0.011688378639519215,
-0.3577222526073456,
-0.0698247179389,
-0.1693757176399231,
0.2305312305688858,
0.13667942583560944,
-0.10886938869953156,
-0.019327109679579735,
-0.06540505588054657,
0.19003932178020477,
0.14874710142612457,
-0.06064409390091896,
-0.24065357446670532,
-0.07593347132205963,
0.072891965508461,
0.29582589864730835,
-0.005034632980823517,
-0.0025419406592845917,
-0.10384565591812134,
-0.1390249878168106,
-0.2507745027542114,
0.05855656415224075,
0.21111167967319489,
-0.026470225304365158,
-0.01141501683741808,
-0.01510869525372982,
0.11827952414751053,
0.32516777515411377,
0.1095736026763916,
0.07569202780723572,
-0.16584593057632446,
-0.17626577615737915,
0.2312309741973877,
-0.4591175317764282,
-0.025122689083218575,
0.04496772587299347,
0.27196547389030457,
0.1442512720823288,
0.050500255078077316,
0.09815030544996262,
-0.4305649399757385,
-0.11012610793113708,
-0.030727753415703773,
0.57662433385849,
0.4599277675151825,
-0.2510533034801483,
-0.09479188174009323,
0.19125355780124664,
0.25839096307754517,
-0.43330851197242737,
-0.29713237285614014,
0.11464875936508179,
-0.009314985945820808,
-0.0756293535232544,
-0.10084694623947144,
0.1585252434015274,
0.03542057052254677,
-0.0022583671379834414,
0.1471884697675705,
0.16259172558784485,
0.003957709763199091,
0.3635784089565277,
0.31418347358703613,
0.08729228377342224,
0.1776057481765747,
0.3767499327659607,
0.1845759153366089,
0.25600913166999817,
0.279078871011734,
0.007341933436691761,
0.17405830323696136,
0.17205926775932312,
-0.23795360326766968,
0.22013746201992035,
-0.3379870653152466,
-0.1055326834321022,
0.028396127745509148,
-0.01676088757812977,
-0.0702328234910965,
-0.05150536075234413,
0.5235235095024109,
-0.388411283493042,
-0.27739840745925903,
-0.1429593563079834,
0.3619556128978729,
-0.07249626517295837,
-0.07347016036510468,
0.10429098457098007,
0.050196003168821335,
-0.10112236440181732,
-0.1904466450214386,
0.05807895585894585,
-0.06879962235689163,
0.6510477066040039,
-0.16810236871242523,
-0.005469776690006256,
-0.5817865133285522,
0.19043384492397308,
0.27635255455970764,
0.21394477784633636,
-0.15543928742408752,
0.049878623336553574,
0.2739638388156891,
-0.1657039076089859,
0.3347490429878235,
0.23086902499198914,
0.6353487372398376,
0.2914366126060486,
0.02034349925816059,
0.04696664959192276,
-0.19692113995552063,
0.07244805246591568,
0.20944741368293762,
0.15267138183116913,
0.12008912861347198,
-0.2670755088329315,
0.22941768169403076,
0.13594433665275574,
-0.13427378237247467,
-0.09999474138021469,
0.26067304611206055,
0.31387707591056824,
-0.39107781648635864,
0.17737405002117157,
-0.2687886953353882,
-0.266406387090683,
-0.09359054267406464,
0.10297021269798279,
-0.21822980046272278,
0.08945997059345245,
0.5371326804161072,
0.3144436776638031,
0.16872407495975494,
-0.14769646525382996,
0.15682847797870636,
0.37261849641799927,
0.31288522481918335,
0.5908771753311157,
0.022830000147223473,
-0.15258309245109558,
-0.19915810227394104,
-0.44418346881866455,
0.10175926983356476,
0.06367430835962296,
0.23989389836788177,
-0.008514940738677979,
0.08075669407844543,
-0.017122982069849968,
-0.027106594294309616,
0.1293005496263504,
-0.1434699296951294,
-0.1768602579832077,
-0.036668937653303146,
-0.412482351064682,
-0.15874020755290985,
0.03806152567267418,
-0.20006798207759857,
0.10361742973327637,
-0.24335558712482452,
0.06443046033382416,
0.09861032664775848,
0.07846420258283615,
-0.11976106464862823,
0.18939413130283356,
0.11058048903942108,
-0.04218541085720062,
0.21632587909698486,
0.2280178666114807,
0.2743915617465973,
-0.02949519455432892,
-0.11765376478433609,
-0.2608785033226013,
-0.6040969491004944,
-0.41409000754356384,
0.1496843844652176,
-0.0973917692899704,
0.09836891293525696,
-0.06598405539989471,
-0.06658003479242325,
-0.1639699786901474,
0.1544451266527176,
0.15156865119934082,
-0.12185423076152802,
-0.4928677976131439,
0.22108785808086395,
0.08522707968950272,
0.0022876563016325235,
-0.11374316364526749,
0.20069383084774017,
0.019055718556046486,
0.5071306824684143,
-0.20358093082904816,
-0.606555163860321,
0.6595966815948486,
-0.0683465301990509,
-0.3848768472671509,
-0.03308719024062157,
0.09767785668373108,
0.08023075014352798,
-0.19775855541229248,
-0.542465329170227,
0.05946747586131096,
0.16862823069095612,
0.03952355682849884,
-0.27724793553352356,
0.20074976980686188,
-0.08647682517766953,
-0.04912916570901871,
-0.1112498790025711,
0.35446131229400635,
0.06072678789496422,
-0.441389262676239,
0.23297572135925293,
-0.10567095130681992
] |
https://github.com/huggingface/datasets/issues/2080
|
Multidimensional arrays in a Dataset
|
Hi !
This is actually supported ! but not yet in `from_pandas`.
You can use `from_dict` for now instead:
```python
from datasets import Dataset, Array2D, Features, Value
import pandas as pd
import numpy as np
dataset = {
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
}
dataset = Dataset.from_dict(dataset)
```
This will work but to use it with the torch formatter you must specify the `Array2D` feature type in order to tell the shape:
```python
from datasets import Dataset, Array2D, Features, Value
import pandas as pd
import numpy as np
dataset = {
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
}
dataset = Dataset.from_dict(dataset, features=Features({
"bbox": Array2D(shape=(3, 4), dtype="int64"),
"input_ids": Value("int64")
}))
dataset.set_format("torch")
print(dataset[0]['bbox'])
# tensor([[1, 2, 3, 4],
# [1, 2, 3, 4],
# [1, 2, 3, 4]])
```
If you don't specify the `Array2D` feature type, then the inferred type will be Sequence(Sequence(Value("int64"))) and therefore the torch formatter will return list of tensors
|
Hi,
I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row.
The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`)
```
from datasets import Dataset
import pandas as pd
import numpy as np
dataset = pd.DataFrame({
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
```
Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists.
```
import torch
from datasets import Dataset
import pandas as pd
dataset = pd.DataFrame({
'bbox': [
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]]
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
def test(examples):
return {'bbbox': torch.Tensor(examples['bbox'])}
dataset = dataset.map(test)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
def test2(examples):
return {'bbbox': torch.stack(examples['bbox'])}
dataset = dataset.map(test2)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
```
Is is possible to support n-D arrays/tensors in datasets?
It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
| 165
|
Multidimensional arrays in a Dataset
Hi,
I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row.
The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`)
```
from datasets import Dataset
import pandas as pd
import numpy as np
dataset = pd.DataFrame({
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
```
Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists.
```
import torch
from datasets import Dataset
import pandas as pd
dataset = pd.DataFrame({
'bbox': [
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]]
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
def test(examples):
return {'bbbox': torch.Tensor(examples['bbox'])}
dataset = dataset.map(test)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
def test2(examples):
return {'bbbox': torch.stack(examples['bbox'])}
dataset = dataset.map(test2)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
```
Is is possible to support n-D arrays/tensors in datasets?
It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
Hi !
This is actually supported ! but not yet in `from_pandas`.
You can use `from_dict` for now instead:
```python
from datasets import Dataset, Array2D, Features, Value
import pandas as pd
import numpy as np
dataset = {
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
}
dataset = Dataset.from_dict(dataset)
```
This will work but to use it with the torch formatter you must specify the `Array2D` feature type in order to tell the shape:
```python
from datasets import Dataset, Array2D, Features, Value
import pandas as pd
import numpy as np
dataset = {
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
}
dataset = Dataset.from_dict(dataset, features=Features({
"bbox": Array2D(shape=(3, 4), dtype="int64"),
"input_ids": Value("int64")
}))
dataset.set_format("torch")
print(dataset[0]['bbox'])
# tensor([[1, 2, 3, 4],
# [1, 2, 3, 4],
# [1, 2, 3, 4]])
```
If you don't specify the `Array2D` feature type, then the inferred type will be Sequence(Sequence(Value("int64"))) and therefore the torch formatter will return list of tensors
|
[
0.014902031980454922,
-0.25679412484169006,
-0.07993558049201965,
0.1915319412946701,
0.44956982135772705,
0.054927270859479904,
0.8991121053695679,
0.10109476000070572,
0.18042483925819397,
0.06782980263233185,
-0.11097797751426697,
0.3204258382320404,
-0.2819291353225708,
0.05221167579293251,
0.1784115582704544,
-0.45057547092437744,
0.16311496496200562,
0.29403743147850037,
-0.36806708574295044,
0.0973283052444458,
-0.056550681591033936,
-0.05634626746177673,
-0.2456141710281372,
-0.04192151129245758,
-0.3301548659801483,
-0.2008829414844513,
-0.14763687551021576,
-0.16403654217720032,
-0.06387574225664139,
-0.19787806272506714,
0.24091631174087524,
-0.17062592506408691,
0.2700609862804413,
0.2606250047683716,
-0.00011955087393289432,
0.22679902613162994,
0.02477365918457508,
-0.12928327918052673,
-0.03596722334623337,
-0.03934996575117111,
0.2725152373313904,
-0.6480605006217957,
-0.08060093969106674,
-0.4324750304222107,
0.008071303367614746,
-0.47120898962020874,
-0.26384323835372925,
-0.5005573630332947,
0.05139080807566643,
0.3928327262401581,
0.1141963005065918,
0.3314780592918396,
0.23635779321193695,
0.15799808502197266,
0.14627748727798462,
0.013281258754432201,
-0.17060130834579468,
-0.20054452121257782,
0.23939728736877441,
-0.20722447335720062,
0.03002890944480896,
0.09321028739213943,
-0.27981993556022644,
0.16612111032009125,
0.2681383192539215,
0.20493553578853607,
0.005800821352750063,
0.06113656237721443,
-0.03135799989104271,
0.12784387171268463,
0.42765873670578003,
-0.3980729877948761,
-0.3639860451221466,
-0.27933308482170105,
0.06869255751371384,
-0.11977427452802658,
-0.10952965170145035,
0.3258969783782959,
-0.12659978866577148,
0.09108100831508636,
-0.40610620379447937,
0.14080007374286652,
-0.3182474374771118,
0.33433234691619873,
-0.40434545278549194,
0.22822058200836182,
0.1337880939245224,
0.1612998992204666,
0.03959958627820015,
-0.13248658180236816,
0.73390793800354,
-0.024670878425240517,
0.3878369629383087,
0.07807266712188721,
-0.30604952573776245,
-0.02921047993004322,
-0.191121444106102,
-0.5545956492424011,
-0.03882437199354172,
-0.46041128039360046,
0.30823755264282227,
0.16633059084415436,
0.104389488697052,
0.19769287109375,
0.03535229340195656,
0.23832792043685913,
-0.43630746006965637,
0.41212138533592224,
-0.06724738329648972,
-0.23684968054294586,
0.48102766275405884,
0.09924781322479248,
-0.15616625547409058,
-0.15026575326919556,
0.14556244015693665,
0.006174324080348015,
-0.027242431417107582,
0.36841315031051636,
-0.22278741002082825,
0.007069356273859739,
-0.5160887837409973,
-0.008649141527712345,
0.036363039165735245,
0.1473621129989624,
0.10867162048816681,
0.3957217335700989,
0.04166868329048157,
0.3720449209213257,
0.1662515550851822,
-0.11952602863311768,
-0.07113934308290482,
0.32250016927719116,
-0.33917105197906494,
-0.03165672346949577,
0.163919597864151,
0.5651163458824158,
-0.09719046950340271,
0.020491402596235275,
0.20878037810325623,
-0.07643349468708038,
0.028903039172291756,
-0.08741717785596848,
0.29780423641204834,
0.2908816635608673,
-0.14165912568569183,
-0.04868130385875702,
0.04127306863665581,
0.24161313474178314,
-0.013037679716944695,
0.43922507762908936,
-0.07118530571460724,
-0.04718771576881409,
-0.36366909742355347,
-0.037488218396902084,
-0.09458968788385391,
-0.026413720101118088,
-0.19601693749427795,
0.18669001758098602,
0.4951617419719696,
-0.028208596631884575,
0.10754615813493729,
-0.508431077003479,
0.08893033862113953,
-0.20724479854106903,
0.1400899738073349,
-0.3502924144268036,
-0.3905947804450989,
0.20100264251232147,
0.24070262908935547,
0.3463234007358551,
0.09755949676036835,
0.28345099091529846,
-0.3449481427669525,
0.054058223962783813,
0.03290015086531639,
0.2473343461751938,
0.3387698531150818,
-0.04200034961104393,
-0.08711708337068558,
-0.16223911941051483,
-0.017324279993772507,
-0.0007183102425187826,
0.1112002432346344,
0.31683921813964844,
0.1397199183702469,
0.1958102583885193,
0.18611787259578705,
0.19720934331417084,
-0.038965657353401184,
0.35237962007522583,
-0.0916295275092125,
-0.21544672548770905,
0.46335655450820923,
0.25795799493789673,
0.30608001351356506,
-0.154896542429924,
0.017666010186076164,
0.05632724240422249,
0.09404373914003372,
-0.5431798696517944,
0.19490428268909454,
0.34915462136268616,
-0.018714284524321556,
-0.09863386303186417,
0.056441813707351685,
-0.44925791025161743,
-0.7101917862892151,
0.16086700558662415,
0.04830129072070122,
0.10653188079595566,
-0.18375717103481293,
-0.06632471084594727,
-0.10793957114219666,
0.11183172464370728,
0.072069451212883,
0.11789744347333908,
0.041749507188797,
0.03523322567343712,
-0.07352261990308762,
-0.39712563157081604,
-0.20474430918693542,
0.07765203714370728,
0.3375146687030792,
-0.08291786909103394,
-0.36451274156570435,
0.5928977131843567,
-0.10395270586013794,
-0.286294162273407,
0.010134952142834663,
0.446288138628006,
0.06118042767047882,
-0.04969821870326996,
0.1977584809064865,
0.22742365300655365,
0.1230933666229248,
-0.3832361400127411,
-0.4160248637199402,
0.47273802757263184,
0.25628846883773804,
-0.27218037843704224,
0.20368023216724396,
0.051142964512109756,
0.015731394290924072,
-0.008493416011333466,
-0.3207268714904785,
0.568791389465332,
-0.0014353261794894934,
-0.02610890567302704,
-0.27262839674949646,
0.19143876433372498,
0.08335409313440323,
0.09092944860458374,
-0.11715983599424362,
-0.06775768101215363,
-0.23000375926494598,
-0.21157293021678925,
0.09221553802490234,
-0.00455957418307662,
-0.38978391885757446,
0.05587039142847061,
0.26775532960891724,
-0.18925096094608307,
0.2653505504131317,
-0.13474979996681213,
-0.037585098296403885,
0.015087378211319447,
0.17935894429683685,
-0.03715299814939499,
0.1663658320903778,
0.20581118762493134,
0.11508660763502121,
-0.124819815158844,
-0.4518621861934662,
-0.13972820341587067,
0.05173096805810928,
-0.10792046785354614,
0.18124280869960785,
0.05186188966035843,
0.29553309082984924,
-0.16763584315776825,
-0.06370282173156738,
0.09142905473709106,
0.3197636604309082,
0.22884440422058105,
-0.40608301758766174,
0.16245998442173004,
-0.38741305470466614,
-0.06646565347909927,
-0.23047728836536407,
-0.26018083095550537,
0.0049733128398656845,
0.0868779718875885,
-0.08801998943090439,
0.2342037707567215,
0.08120488375425339,
0.16895850002765656,
0.02776763215661049,
-0.04500151798129082,
0.25488168001174927,
-0.24779613316059113,
-0.06248767673969269,
-0.13135384023189545,
-0.06415937840938568,
-0.0014592724619433284,
0.10308706015348434,
0.14193286001682281,
0.13379210233688354,
0.4435393214225769,
-0.05716219171881676,
-0.45929965376853943,
-0.03475075215101242,
-0.14632689952850342,
-0.20358912646770477,
-0.16977597773075104,
0.09047935903072357,
0.010606370866298676,
-0.11258712410926819,
-0.04038039967417717,
0.3096115291118622,
0.292779803276062,
0.03552129492163658,
0.3789583146572113,
0.20877717435359955,
-0.11533542722463608,
-0.1274017095565796,
-0.13282740116119385,
-0.14983123540878296,
-0.2656077444553375,
0.02125890925526619,
-0.39214539527893066,
0.10539449751377106,
-0.2647849917411804,
0.3787118196487427,
0.19258756935596466,
0.15870247781276703,
-0.2593987286090851,
0.07405789941549301,
0.3446679711341858,
0.6661356687545776,
-0.03519527241587639,
-0.39073851704597473,
-0.3848362863063812,
-0.16445840895175934,
0.058545004576444626,
0.701117217540741,
-0.2124486118555069,
-0.23206228017807007,
-0.1337759643793106,
-0.06269275397062302,
-0.1328708827495575,
-0.05993354320526123,
0.6345386505126953,
0.0861990824341774,
0.0013027256354689598,
-0.09038714319467545,
-0.1663149893283844,
0.0663040429353714,
0.15094836056232452,
0.09398087114095688,
-0.08139774948358536,
0.3435153663158417,
0.27535510063171387,
0.30177438259124756,
0.023156624287366867,
-0.20258010923862457,
0.25164031982421875,
-0.19077321887016296,
0.15490658581256866,
-0.029442673549056053,
-0.2573096454143524,
-0.07659023255109787,
-0.3783548176288605,
-0.16270782053470612,
-0.0877782553434372,
-0.21942254900932312,
-0.5588400363922119,
-0.01349578145891428,
0.3541654050350189,
-0.11286115646362305,
-0.06205468997359276,
0.4988285303115845,
-0.3866080343723297,
0.32880643010139465,
-0.0005445518181659281,
0.04916360601782799,
-0.34881460666656494,
-0.16227085888385773,
-0.18839618563652039,
-0.3264352083206177,
-0.1317928582429886,
0.02074091136455536,
-0.5361707806587219,
-0.26963624358177185,
0.1808830350637436,
0.12617777287960052,
0.3767220675945282,
0.7153758406639099,
0.1138264536857605,
0.040027081966400146,
0.2162436693906784,
-0.029535649344325066,
0.5638818740844727,
-0.07000623643398285,
-0.3026612401008606,
0.3299582302570343,
0.05557134747505188,
-0.5217559933662415,
-0.23254960775375366,
-0.3563007414340973,
-0.14398153126239777,
-0.09719502925872803,
0.4788837730884552,
-0.30853474140167236,
-0.23060044646263123,
0.19100643694400787,
0.18537387251853943,
-0.1017976775765419,
-0.07346166670322418,
-0.24735984206199646,
-0.25278982520103455,
-0.18897812068462372,
-0.14286759495735168,
0.4407951831817627,
0.31979483366012573,
0.2110811322927475,
-0.22339364886283875,
-0.10558085888624191,
-0.3295324146747589,
0.08868246525526047,
-0.03684048354625702,
0.08961251378059387,
0.1358519345521927,
-0.12473452836275101,
0.172671839594841,
0.2221599519252777,
0.4825519323348999,
0.09615236520767212,
-0.11076707392930984,
-0.013558760285377502,
0.17098939418792725,
-0.12790845334529877,
0.3795846998691559,
0.15185797214508057,
-0.10878089815378189,
-0.2579709589481354,
-0.08833248168230057,
0.0015153009444475174,
-0.1207929477095604,
-0.029729487374424934,
0.27561110258102417,
-0.03569554537534714,
-0.20736163854599,
-0.2779877483844757,
0.23433254659175873,
-0.02547498606145382,
0.11399886757135391,
0.17162306606769562,
0.2811609208583832,
-0.1681228131055832,
0.2883467376232147,
0.3334234356880188,
0.6774014234542847,
-0.5055260062217712,
0.3920152485370636,
0.47073686122894287,
-0.11079511791467667,
0.2089327722787857,
-0.13665878772735596,
0.3178480565547943,
-0.23953768610954285,
0.01992866024374962,
-0.2089606672525406,
-0.1850186586380005,
0.20928595960140228,
0.41864392161369324,
-0.02760331705212593,
0.08131063729524612,
0.04853140562772751,
0.21094754338264465,
0.191957488656044,
-0.08710594475269318,
0.1290745735168457,
-0.2450111210346222,
-0.07336901873350143,
0.07221487164497375,
-0.19499079883098602,
-0.3241550624370575,
-0.012673691846430302,
-0.2041715681552887,
-0.3422333002090454,
-0.020346401259303093,
-0.3445940315723419,
-0.1296943724155426,
-0.30061447620391846,
0.4228593707084656,
0.13846014440059662,
-0.4948454797267914,
0.04870546609163284,
0.5728115439414978,
0.025616079568862915,
-0.38159507513046265,
-0.14501507580280304,
-0.3738665282726288,
-0.23494784533977509,
-0.22082950174808502,
-0.04883228987455368,
-0.25580069422721863,
0.3040528893470764,
0.01565004698932171,
-0.07397438585758209,
0.16438420116901398,
-0.030416399240493774,
-0.3962722718715668,
-0.010892686434090137,
0.2503052353858948,
0.09720811992883682,
-0.24616339802742004,
-0.02537509612739086,
-0.18848088383674622,
0.14461152255535126,
-0.05003008991479874,
0.060431890189647675,
-0.0965677797794342,
-0.03862018510699272,
0.2899438142776489,
-0.04602053388953209,
0.07748564332723618,
0.1257362961769104,
0.22394263744354248,
0.11798172444105148,
-0.3031090795993805,
0.1812618374824524,
0.10925000160932541,
-0.3035007417201996,
-0.15382486581802368,
0.20045527815818787,
0.5446791648864746,
-0.06635192781686783,
0.02344522997736931,
-0.3518609404563904,
-0.3031121790409088,
-0.06839609891176224,
0.14840766787528992,
0.31319451332092285,
0.1276947408914566,
-0.1933952122926712,
-0.2029370218515396,
-0.2634927034378052,
0.4287034273147583,
0.379488080739975,
0.2747301161289215,
-0.035103313624858856,
0.2906455397605896,
-0.15980806946754456,
0.005199865438044071,
-0.2314174473285675,
-0.025941023603081703,
-0.0979500561952591,
0.27712106704711914,
-0.021553345024585724,
-0.32227540016174316,
-0.10669934004545212,
-0.10972390323877335,
0.08155164867639542,
-0.08753518015146255,
-0.11624878644943237,
-0.11119312793016434,
0.07811582833528519,
0.11954130232334137,
0.11838292330503464,
-0.003929343074560165,
0.025731166824698448,
-0.4714917838573456,
-0.3264595866203308,
-0.23633919656276703,
0.00800784770399332,
0.4533224105834961,
-0.0041549429297447205,
0.1654735803604126,
0.2998791038990021,
0.1157929077744484,
-0.07617592811584473,
-0.1688302457332611,
-0.1501292586326599,
-0.13836164772510529,
0.005039086099714041,
0.21832896769046783,
0.24846510589122772,
0.006619798950850964,
-0.2967958152294159,
0.13182076811790466,
0.07041127979755402,
-0.07402873039245605,
0.3137461543083191,
-0.3049808442592621,
-0.052751168608665466,
-0.1453639417886734,
0.4793770909309387,
-0.05444459989666939,
-0.3318723738193512,
0.042669449001550674,
0.15170468389987946,
0.08787274360656738,
-0.21297797560691833,
-0.34875646233558655,
0.12695682048797607,
0.034896545112133026,
0.14103543758392334,
0.5094707608222961,
0.3671322762966156,
0.19690507650375366,
0.1261751651763916,
-0.12476049363613129,
0.3551170229911804,
-0.13373862206935883,
-0.13591669499874115,
0.33050769567489624,
-0.047736018896102905,
-0.01595596969127655,
0.24967308342456818,
0.003281819401308894,
0.2069055438041687,
0.5683183073997498,
-0.047128330916166306,
0.2942132353782654,
0.4007832407951355,
0.1045907735824585,
-0.1734309047460556,
0.15799185633659363,
-0.09683126956224442,
-0.09427385777235031,
0.23897315561771393,
-0.14454609155654907,
-0.14823919534683228,
0.20992444455623627,
-0.12585966289043427,
-0.020398011431097984,
-0.11069341748952866,
0.09894107282161713,
-0.23362720012664795,
0.14432761073112488,
0.0261031836271286,
0.05436219274997711,
-0.09923338890075684,
-0.187188982963562,
-0.09873217344284058,
-0.07736221700906754,
0.33278772234916687,
-0.006064300425350666,
0.16445744037628174,
0.01036152895539999,
0.17952372133731842,
0.4636003077030182,
0.034380100667476654,
-0.18017126619815826,
0.28517037630081177,
0.317489892244339,
-0.16269060969352722,
-0.06692708283662796,
0.028594929724931717,
0.29329735040664673,
0.29059287905693054,
0.005514450836926699,
0.017847152426838875,
-0.15862230956554413,
-0.18521612882614136,
-0.07137994468212128,
0.042284008115530014,
0.03921858221292496,
0.27126452326774597,
0.279428631067276,
0.028664080426096916,
-0.06538157910108566,
0.17845316231250763,
-0.02358812652528286,
0.05135958269238472,
-0.14327411353588104,
0.29609400033950806,
-0.1465909481048584,
-0.5235888361930847,
0.18668487668037415,
-0.3249722719192505,
-0.34807446599006653,
0.029695073142647743,
0.3392663896083832,
-0.08028163760900497,
0.22140929102897644,
0.27699485421180725,
0.02038722112774849,
0.14600178599357605,
0.475907564163208,
0.09761101752519608,
0.3561220169067383,
-0.07670095562934875,
-0.06897309422492981,
-0.501239001750946,
0.13981769979000092,
-0.4139968454837799,
0.040844324976205826,
0.2894049286842346,
0.17247042059898376,
0.322506308555603,
0.28956323862075806,
0.03762255981564522,
0.1403893381357193,
-0.09687438607215881,
0.3843574523925781,
-0.22702935338020325,
-0.06456869095563889,
0.19505222141742706,
0.21187779307365417,
0.1090163141489029,
-0.23885709047317505,
0.32317087054252625,
0.29304930567741394,
0.02054903469979763,
-0.2603205740451813,
0.3992149233818054,
-0.1971798986196518,
0.30748268961906433,
-0.07281283289194107,
-0.13892431557178497,
0.5194200277328491,
0.2293461114168167,
0.22140462696552277,
-0.14397604763507843,
0.030003590509295464,
-0.09081222116947174,
0.3211362063884735,
0.14612875878810883,
0.49421226978302,
-0.4318765699863434,
-0.21084223687648773,
-0.054269447922706604,
0.1428690254688263,
0.024639859795570374,
-0.04252789542078972,
-0.18933820724487305,
0.25848719477653503,
-0.22036145627498627,
-0.01482320949435234,
0.05793408676981926,
0.03374341502785683,
0.07941137254238129,
0.21956655383110046,
-0.2821286618709564,
-0.4187391996383667,
0.42354029417037964,
-0.16833923757076263,
-0.5067201852798462,
0.17998163402080536,
-0.2447524070739746,
0.15599580109119415,
0.13811592757701874,
-0.5674664378166199,
-0.14944100379943848,
0.2118348926305771,
-0.15828633308410645,
-0.2038370966911316,
-0.03757064417004585,
-0.005842488259077072,
-0.16729138791561127,
-0.14893339574337006,
0.35477834939956665,
-0.10515475273132324,
-0.16717533767223358,
-0.4202939569950104,
-0.3254518508911133
] |
https://github.com/huggingface/datasets/issues/2080
|
Multidimensional arrays in a Dataset
|
Thanks for the explanation.
With my original DataFrame, I did
```
dataset = dataset.to_dict("list")
```
and then the rest of the transformation from dictionary works just fine.
|
Hi,
I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row.
The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`)
```
from datasets import Dataset
import pandas as pd
import numpy as np
dataset = pd.DataFrame({
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
```
Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists.
```
import torch
from datasets import Dataset
import pandas as pd
dataset = pd.DataFrame({
'bbox': [
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]]
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
def test(examples):
return {'bbbox': torch.Tensor(examples['bbox'])}
dataset = dataset.map(test)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
def test2(examples):
return {'bbbox': torch.stack(examples['bbox'])}
dataset = dataset.map(test2)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
```
Is is possible to support n-D arrays/tensors in datasets?
It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
| 27
|
Multidimensional arrays in a Dataset
Hi,
I'm trying to put together a `datasets.Dataset` to be used with LayoutLM which is available in `transformers`. This model requires as input the bounding boxes of each of the token of a sequence. This is when I realized that `Dataset` does not support multi-dimensional arrays as a value for a column in a row.
The following code results in conversion error in pyarrow (`pyarrow.lib.ArrowInvalid: ('Can only convert 1-dimensional array values', 'Conversion failed for column bbox with type object')`)
```
from datasets import Dataset
import pandas as pd
import numpy as np
dataset = pd.DataFrame({
'bbox': [
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]]),
np.array([[1,2,3,4],[1,2,3,4],[1,2,3,4]])
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
```
Since I wanted to use pytorch for the downstream training task, I also tried a few ways to directly put in a column of 2-D pytorch tensor in a formatted dataset, but I can only have a list of 1-D tensors, or a list of arrays, or a list of lists.
```
import torch
from datasets import Dataset
import pandas as pd
dataset = pd.DataFrame({
'bbox': [
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]],
[[1,2,3,4],[1,2,3,4],[1,2,3,4]]
],
'input_ids': [1, 2, 3, 4]
})
dataset = Dataset.from_pandas(dataset)
def test(examples):
return {'bbbox': torch.Tensor(examples['bbox'])}
dataset = dataset.map(test)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
dataset.set_format(type='torch', columns=['input_ids', 'bbox'], output_all_columns=True)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
def test2(examples):
return {'bbbox': torch.stack(examples['bbox'])}
dataset = dataset.map(test2)
print(dataset[0]['bbox'])
print(dataset[0]['bbbox'])
```
Is is possible to support n-D arrays/tensors in datasets?
It seems that it can also be useful for this [feature request](https://github.com/huggingface/datasets/issues/263).
Thanks for the explanation.
With my original DataFrame, I did
```
dataset = dataset.to_dict("list")
```
and then the rest of the transformation from dictionary works just fine.
|
[
0.014902031980454922,
-0.25679412484169006,
-0.07993558049201965,
0.1915319412946701,
0.44956982135772705,
0.054927270859479904,
0.8991121053695679,
0.10109476000070572,
0.18042483925819397,
0.06782980263233185,
-0.11097797751426697,
0.3204258382320404,
-0.2819291353225708,
0.05221167579293251,
0.1784115582704544,
-0.45057547092437744,
0.16311496496200562,
0.29403743147850037,
-0.36806708574295044,
0.0973283052444458,
-0.056550681591033936,
-0.05634626746177673,
-0.2456141710281372,
-0.04192151129245758,
-0.3301548659801483,
-0.2008829414844513,
-0.14763687551021576,
-0.16403654217720032,
-0.06387574225664139,
-0.19787806272506714,
0.24091631174087524,
-0.17062592506408691,
0.2700609862804413,
0.2606250047683716,
-0.00011955087393289432,
0.22679902613162994,
0.02477365918457508,
-0.12928327918052673,
-0.03596722334623337,
-0.03934996575117111,
0.2725152373313904,
-0.6480605006217957,
-0.08060093969106674,
-0.4324750304222107,
0.008071303367614746,
-0.47120898962020874,
-0.26384323835372925,
-0.5005573630332947,
0.05139080807566643,
0.3928327262401581,
0.1141963005065918,
0.3314780592918396,
0.23635779321193695,
0.15799808502197266,
0.14627748727798462,
0.013281258754432201,
-0.17060130834579468,
-0.20054452121257782,
0.23939728736877441,
-0.20722447335720062,
0.03002890944480896,
0.09321028739213943,
-0.27981993556022644,
0.16612111032009125,
0.2681383192539215,
0.20493553578853607,
0.005800821352750063,
0.06113656237721443,
-0.03135799989104271,
0.12784387171268463,
0.42765873670578003,
-0.3980729877948761,
-0.3639860451221466,
-0.27933308482170105,
0.06869255751371384,
-0.11977427452802658,
-0.10952965170145035,
0.3258969783782959,
-0.12659978866577148,
0.09108100831508636,
-0.40610620379447937,
0.14080007374286652,
-0.3182474374771118,
0.33433234691619873,
-0.40434545278549194,
0.22822058200836182,
0.1337880939245224,
0.1612998992204666,
0.03959958627820015,
-0.13248658180236816,
0.73390793800354,
-0.024670878425240517,
0.3878369629383087,
0.07807266712188721,
-0.30604952573776245,
-0.02921047993004322,
-0.191121444106102,
-0.5545956492424011,
-0.03882437199354172,
-0.46041128039360046,
0.30823755264282227,
0.16633059084415436,
0.104389488697052,
0.19769287109375,
0.03535229340195656,
0.23832792043685913,
-0.43630746006965637,
0.41212138533592224,
-0.06724738329648972,
-0.23684968054294586,
0.48102766275405884,
0.09924781322479248,
-0.15616625547409058,
-0.15026575326919556,
0.14556244015693665,
0.006174324080348015,
-0.027242431417107582,
0.36841315031051636,
-0.22278741002082825,
0.007069356273859739,
-0.5160887837409973,
-0.008649141527712345,
0.036363039165735245,
0.1473621129989624,
0.10867162048816681,
0.3957217335700989,
0.04166868329048157,
0.3720449209213257,
0.1662515550851822,
-0.11952602863311768,
-0.07113934308290482,
0.32250016927719116,
-0.33917105197906494,
-0.03165672346949577,
0.163919597864151,
0.5651163458824158,
-0.09719046950340271,
0.020491402596235275,
0.20878037810325623,
-0.07643349468708038,
0.028903039172291756,
-0.08741717785596848,
0.29780423641204834,
0.2908816635608673,
-0.14165912568569183,
-0.04868130385875702,
0.04127306863665581,
0.24161313474178314,
-0.013037679716944695,
0.43922507762908936,
-0.07118530571460724,
-0.04718771576881409,
-0.36366909742355347,
-0.037488218396902084,
-0.09458968788385391,
-0.026413720101118088,
-0.19601693749427795,
0.18669001758098602,
0.4951617419719696,
-0.028208596631884575,
0.10754615813493729,
-0.508431077003479,
0.08893033862113953,
-0.20724479854106903,
0.1400899738073349,
-0.3502924144268036,
-0.3905947804450989,
0.20100264251232147,
0.24070262908935547,
0.3463234007358551,
0.09755949676036835,
0.28345099091529846,
-0.3449481427669525,
0.054058223962783813,
0.03290015086531639,
0.2473343461751938,
0.3387698531150818,
-0.04200034961104393,
-0.08711708337068558,
-0.16223911941051483,
-0.017324279993772507,
-0.0007183102425187826,
0.1112002432346344,
0.31683921813964844,
0.1397199183702469,
0.1958102583885193,
0.18611787259578705,
0.19720934331417084,
-0.038965657353401184,
0.35237962007522583,
-0.0916295275092125,
-0.21544672548770905,
0.46335655450820923,
0.25795799493789673,
0.30608001351356506,
-0.154896542429924,
0.017666010186076164,
0.05632724240422249,
0.09404373914003372,
-0.5431798696517944,
0.19490428268909454,
0.34915462136268616,
-0.018714284524321556,
-0.09863386303186417,
0.056441813707351685,
-0.44925791025161743,
-0.7101917862892151,
0.16086700558662415,
0.04830129072070122,
0.10653188079595566,
-0.18375717103481293,
-0.06632471084594727,
-0.10793957114219666,
0.11183172464370728,
0.072069451212883,
0.11789744347333908,
0.041749507188797,
0.03523322567343712,
-0.07352261990308762,
-0.39712563157081604,
-0.20474430918693542,
0.07765203714370728,
0.3375146687030792,
-0.08291786909103394,
-0.36451274156570435,
0.5928977131843567,
-0.10395270586013794,
-0.286294162273407,
0.010134952142834663,
0.446288138628006,
0.06118042767047882,
-0.04969821870326996,
0.1977584809064865,
0.22742365300655365,
0.1230933666229248,
-0.3832361400127411,
-0.4160248637199402,
0.47273802757263184,
0.25628846883773804,
-0.27218037843704224,
0.20368023216724396,
0.051142964512109756,
0.015731394290924072,
-0.008493416011333466,
-0.3207268714904785,
0.568791389465332,
-0.0014353261794894934,
-0.02610890567302704,
-0.27262839674949646,
0.19143876433372498,
0.08335409313440323,
0.09092944860458374,
-0.11715983599424362,
-0.06775768101215363,
-0.23000375926494598,
-0.21157293021678925,
0.09221553802490234,
-0.00455957418307662,
-0.38978391885757446,
0.05587039142847061,
0.26775532960891724,
-0.18925096094608307,
0.2653505504131317,
-0.13474979996681213,
-0.037585098296403885,
0.015087378211319447,
0.17935894429683685,
-0.03715299814939499,
0.1663658320903778,
0.20581118762493134,
0.11508660763502121,
-0.124819815158844,
-0.4518621861934662,
-0.13972820341587067,
0.05173096805810928,
-0.10792046785354614,
0.18124280869960785,
0.05186188966035843,
0.29553309082984924,
-0.16763584315776825,
-0.06370282173156738,
0.09142905473709106,
0.3197636604309082,
0.22884440422058105,
-0.40608301758766174,
0.16245998442173004,
-0.38741305470466614,
-0.06646565347909927,
-0.23047728836536407,
-0.26018083095550537,
0.0049733128398656845,
0.0868779718875885,
-0.08801998943090439,
0.2342037707567215,
0.08120488375425339,
0.16895850002765656,
0.02776763215661049,
-0.04500151798129082,
0.25488168001174927,
-0.24779613316059113,
-0.06248767673969269,
-0.13135384023189545,
-0.06415937840938568,
-0.0014592724619433284,
0.10308706015348434,
0.14193286001682281,
0.13379210233688354,
0.4435393214225769,
-0.05716219171881676,
-0.45929965376853943,
-0.03475075215101242,
-0.14632689952850342,
-0.20358912646770477,
-0.16977597773075104,
0.09047935903072357,
0.010606370866298676,
-0.11258712410926819,
-0.04038039967417717,
0.3096115291118622,
0.292779803276062,
0.03552129492163658,
0.3789583146572113,
0.20877717435359955,
-0.11533542722463608,
-0.1274017095565796,
-0.13282740116119385,
-0.14983123540878296,
-0.2656077444553375,
0.02125890925526619,
-0.39214539527893066,
0.10539449751377106,
-0.2647849917411804,
0.3787118196487427,
0.19258756935596466,
0.15870247781276703,
-0.2593987286090851,
0.07405789941549301,
0.3446679711341858,
0.6661356687545776,
-0.03519527241587639,
-0.39073851704597473,
-0.3848362863063812,
-0.16445840895175934,
0.058545004576444626,
0.701117217540741,
-0.2124486118555069,
-0.23206228017807007,
-0.1337759643793106,
-0.06269275397062302,
-0.1328708827495575,
-0.05993354320526123,
0.6345386505126953,
0.0861990824341774,
0.0013027256354689598,
-0.09038714319467545,
-0.1663149893283844,
0.0663040429353714,
0.15094836056232452,
0.09398087114095688,
-0.08139774948358536,
0.3435153663158417,
0.27535510063171387,
0.30177438259124756,
0.023156624287366867,
-0.20258010923862457,
0.25164031982421875,
-0.19077321887016296,
0.15490658581256866,
-0.029442673549056053,
-0.2573096454143524,
-0.07659023255109787,
-0.3783548176288605,
-0.16270782053470612,
-0.0877782553434372,
-0.21942254900932312,
-0.5588400363922119,
-0.01349578145891428,
0.3541654050350189,
-0.11286115646362305,
-0.06205468997359276,
0.4988285303115845,
-0.3866080343723297,
0.32880643010139465,
-0.0005445518181659281,
0.04916360601782799,
-0.34881460666656494,
-0.16227085888385773,
-0.18839618563652039,
-0.3264352083206177,
-0.1317928582429886,
0.02074091136455536,
-0.5361707806587219,
-0.26963624358177185,
0.1808830350637436,
0.12617777287960052,
0.3767220675945282,
0.7153758406639099,
0.1138264536857605,
0.040027081966400146,
0.2162436693906784,
-0.029535649344325066,
0.5638818740844727,
-0.07000623643398285,
-0.3026612401008606,
0.3299582302570343,
0.05557134747505188,
-0.5217559933662415,
-0.23254960775375366,
-0.3563007414340973,
-0.14398153126239777,
-0.09719502925872803,
0.4788837730884552,
-0.30853474140167236,
-0.23060044646263123,
0.19100643694400787,
0.18537387251853943,
-0.1017976775765419,
-0.07346166670322418,
-0.24735984206199646,
-0.25278982520103455,
-0.18897812068462372,
-0.14286759495735168,
0.4407951831817627,
0.31979483366012573,
0.2110811322927475,
-0.22339364886283875,
-0.10558085888624191,
-0.3295324146747589,
0.08868246525526047,
-0.03684048354625702,
0.08961251378059387,
0.1358519345521927,
-0.12473452836275101,
0.172671839594841,
0.2221599519252777,
0.4825519323348999,
0.09615236520767212,
-0.11076707392930984,
-0.013558760285377502,
0.17098939418792725,
-0.12790845334529877,
0.3795846998691559,
0.15185797214508057,
-0.10878089815378189,
-0.2579709589481354,
-0.08833248168230057,
0.0015153009444475174,
-0.1207929477095604,
-0.029729487374424934,
0.27561110258102417,
-0.03569554537534714,
-0.20736163854599,
-0.2779877483844757,
0.23433254659175873,
-0.02547498606145382,
0.11399886757135391,
0.17162306606769562,
0.2811609208583832,
-0.1681228131055832,
0.2883467376232147,
0.3334234356880188,
0.6774014234542847,
-0.5055260062217712,
0.3920152485370636,
0.47073686122894287,
-0.11079511791467667,
0.2089327722787857,
-0.13665878772735596,
0.3178480565547943,
-0.23953768610954285,
0.01992866024374962,
-0.2089606672525406,
-0.1850186586380005,
0.20928595960140228,
0.41864392161369324,
-0.02760331705212593,
0.08131063729524612,
0.04853140562772751,
0.21094754338264465,
0.191957488656044,
-0.08710594475269318,
0.1290745735168457,
-0.2450111210346222,
-0.07336901873350143,
0.07221487164497375,
-0.19499079883098602,
-0.3241550624370575,
-0.012673691846430302,
-0.2041715681552887,
-0.3422333002090454,
-0.020346401259303093,
-0.3445940315723419,
-0.1296943724155426,
-0.30061447620391846,
0.4228593707084656,
0.13846014440059662,
-0.4948454797267914,
0.04870546609163284,
0.5728115439414978,
0.025616079568862915,
-0.38159507513046265,
-0.14501507580280304,
-0.3738665282726288,
-0.23494784533977509,
-0.22082950174808502,
-0.04883228987455368,
-0.25580069422721863,
0.3040528893470764,
0.01565004698932171,
-0.07397438585758209,
0.16438420116901398,
-0.030416399240493774,
-0.3962722718715668,
-0.010892686434090137,
0.2503052353858948,
0.09720811992883682,
-0.24616339802742004,
-0.02537509612739086,
-0.18848088383674622,
0.14461152255535126,
-0.05003008991479874,
0.060431890189647675,
-0.0965677797794342,
-0.03862018510699272,
0.2899438142776489,
-0.04602053388953209,
0.07748564332723618,
0.1257362961769104,
0.22394263744354248,
0.11798172444105148,
-0.3031090795993805,
0.1812618374824524,
0.10925000160932541,
-0.3035007417201996,
-0.15382486581802368,
0.20045527815818787,
0.5446791648864746,
-0.06635192781686783,
0.02344522997736931,
-0.3518609404563904,
-0.3031121790409088,
-0.06839609891176224,
0.14840766787528992,
0.31319451332092285,
0.1276947408914566,
-0.1933952122926712,
-0.2029370218515396,
-0.2634927034378052,
0.4287034273147583,
0.379488080739975,
0.2747301161289215,
-0.035103313624858856,
0.2906455397605896,
-0.15980806946754456,
0.005199865438044071,
-0.2314174473285675,
-0.025941023603081703,
-0.0979500561952591,
0.27712106704711914,
-0.021553345024585724,
-0.32227540016174316,
-0.10669934004545212,
-0.10972390323877335,
0.08155164867639542,
-0.08753518015146255,
-0.11624878644943237,
-0.11119312793016434,
0.07811582833528519,
0.11954130232334137,
0.11838292330503464,
-0.003929343074560165,
0.025731166824698448,
-0.4714917838573456,
-0.3264595866203308,
-0.23633919656276703,
0.00800784770399332,
0.4533224105834961,
-0.0041549429297447205,
0.1654735803604126,
0.2998791038990021,
0.1157929077744484,
-0.07617592811584473,
-0.1688302457332611,
-0.1501292586326599,
-0.13836164772510529,
0.005039086099714041,
0.21832896769046783,
0.24846510589122772,
0.006619798950850964,
-0.2967958152294159,
0.13182076811790466,
0.07041127979755402,
-0.07402873039245605,
0.3137461543083191,
-0.3049808442592621,
-0.052751168608665466,
-0.1453639417886734,
0.4793770909309387,
-0.05444459989666939,
-0.3318723738193512,
0.042669449001550674,
0.15170468389987946,
0.08787274360656738,
-0.21297797560691833,
-0.34875646233558655,
0.12695682048797607,
0.034896545112133026,
0.14103543758392334,
0.5094707608222961,
0.3671322762966156,
0.19690507650375366,
0.1261751651763916,
-0.12476049363613129,
0.3551170229911804,
-0.13373862206935883,
-0.13591669499874115,
0.33050769567489624,
-0.047736018896102905,
-0.01595596969127655,
0.24967308342456818,
0.003281819401308894,
0.2069055438041687,
0.5683183073997498,
-0.047128330916166306,
0.2942132353782654,
0.4007832407951355,
0.1045907735824585,
-0.1734309047460556,
0.15799185633659363,
-0.09683126956224442,
-0.09427385777235031,
0.23897315561771393,
-0.14454609155654907,
-0.14823919534683228,
0.20992444455623627,
-0.12585966289043427,
-0.020398011431097984,
-0.11069341748952866,
0.09894107282161713,
-0.23362720012664795,
0.14432761073112488,
0.0261031836271286,
0.05436219274997711,
-0.09923338890075684,
-0.187188982963562,
-0.09873217344284058,
-0.07736221700906754,
0.33278772234916687,
-0.006064300425350666,
0.16445744037628174,
0.01036152895539999,
0.17952372133731842,
0.4636003077030182,
0.034380100667476654,
-0.18017126619815826,
0.28517037630081177,
0.317489892244339,
-0.16269060969352722,
-0.06692708283662796,
0.028594929724931717,
0.29329735040664673,
0.29059287905693054,
0.005514450836926699,
0.017847152426838875,
-0.15862230956554413,
-0.18521612882614136,
-0.07137994468212128,
0.042284008115530014,
0.03921858221292496,
0.27126452326774597,
0.279428631067276,
0.028664080426096916,
-0.06538157910108566,
0.17845316231250763,
-0.02358812652528286,
0.05135958269238472,
-0.14327411353588104,
0.29609400033950806,
-0.1465909481048584,
-0.5235888361930847,
0.18668487668037415,
-0.3249722719192505,
-0.34807446599006653,
0.029695073142647743,
0.3392663896083832,
-0.08028163760900497,
0.22140929102897644,
0.27699485421180725,
0.02038722112774849,
0.14600178599357605,
0.475907564163208,
0.09761101752519608,
0.3561220169067383,
-0.07670095562934875,
-0.06897309422492981,
-0.501239001750946,
0.13981769979000092,
-0.4139968454837799,
0.040844324976205826,
0.2894049286842346,
0.17247042059898376,
0.322506308555603,
0.28956323862075806,
0.03762255981564522,
0.1403893381357193,
-0.09687438607215881,
0.3843574523925781,
-0.22702935338020325,
-0.06456869095563889,
0.19505222141742706,
0.21187779307365417,
0.1090163141489029,
-0.23885709047317505,
0.32317087054252625,
0.29304930567741394,
0.02054903469979763,
-0.2603205740451813,
0.3992149233818054,
-0.1971798986196518,
0.30748268961906433,
-0.07281283289194107,
-0.13892431557178497,
0.5194200277328491,
0.2293461114168167,
0.22140462696552277,
-0.14397604763507843,
0.030003590509295464,
-0.09081222116947174,
0.3211362063884735,
0.14612875878810883,
0.49421226978302,
-0.4318765699863434,
-0.21084223687648773,
-0.054269447922706604,
0.1428690254688263,
0.024639859795570374,
-0.04252789542078972,
-0.18933820724487305,
0.25848719477653503,
-0.22036145627498627,
-0.01482320949435234,
0.05793408676981926,
0.03374341502785683,
0.07941137254238129,
0.21956655383110046,
-0.2821286618709564,
-0.4187391996383667,
0.42354029417037964,
-0.16833923757076263,
-0.5067201852798462,
0.17998163402080536,
-0.2447524070739746,
0.15599580109119415,
0.13811592757701874,
-0.5674664378166199,
-0.14944100379943848,
0.2118348926305771,
-0.15828633308410645,
-0.2038370966911316,
-0.03757064417004585,
-0.005842488259077072,
-0.16729138791561127,
-0.14893339574337006,
0.35477834939956665,
-0.10515475273132324,
-0.16717533767223358,
-0.4202939569950104,
-0.3254518508911133
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Hi ! Thanks for reporting.
We're indeed using `jiwer` to compute the WER.
Maybe instead of calling `jiwer.wer` once for all the preditions/references we can compute the WER iteratively to avoid memory issues ? I'm not too familial with `jiwer` but this must be possible.
Currently the code to compute the WER is defined here:
https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/metrics/wer/wer.py#L93-L94
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 56
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Hi ! Thanks for reporting.
We're indeed using `jiwer` to compute the WER.
Maybe instead of calling `jiwer.wer` once for all the preditions/references we can compute the WER iteratively to avoid memory issues ? I'm not too familial with `jiwer` but this must be possible.
Currently the code to compute the WER is defined here:
https://github.com/huggingface/nlp/blob/349ac4398a3bcae6356f14c5754483383a60e8a4/metrics/wer/wer.py#L93-L94
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Hi,
I've just pushed a pull request that is related to this issue https://github.com/huggingface/datasets/pull/2169. It's not iterative, but it should avoid memory errors. It's based on the editdistance python library. An iterative implementation should be as easy as storing scores and words stepwise and dividing at the end.
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 48
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Hi,
I've just pushed a pull request that is related to this issue https://github.com/huggingface/datasets/pull/2169. It's not iterative, but it should avoid memory errors. It's based on the editdistance python library. An iterative implementation should be as easy as storing scores and words stepwise and dividing at the end.
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
I see, this was solved by other thread. Ok, let me know if you want to switch the implementation for any reason :)
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 23
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
I see, this was solved by other thread. Ok, let me know if you want to switch the implementation for any reason :)
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Thanks for diving into this anyway ^^'
As you said this actually got solved a few days ago
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 18
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Thanks for diving into this anyway ^^'
As you said this actually got solved a few days ago
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Someone created an issue https://github.com/jitsi/jiwer/issues/40 at jiwer which shows that this is still a problem in the current version. Would be curious to figure out how this can be fixed by jiwer... :) I assume that it runs of out memory because it's trying to compute the WER over (too many) test samples?
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 53
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Someone created an issue https://github.com/jitsi/jiwer/issues/40 at jiwer which shows that this is still a problem in the current version. Would be curious to figure out how this can be fixed by jiwer... :) I assume that it runs of out memory because it's trying to compute the WER over (too many) test samples?
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Hi !
It's computed iteratively so not sure what could go wrong
https://github.com/huggingface/datasets/blob/8afd0ba8c27800a55ea69d9fcd702dc97d9c16d8/metrics/wer/wer.py#L100-L106
@NiklasHoltmeyer what version of `datasets` are you running ?
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 22
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Hi !
It's computed iteratively so not sure what could go wrong
https://github.com/huggingface/datasets/blob/8afd0ba8c27800a55ea69d9fcd702dc97d9c16d8/metrics/wer/wer.py#L100-L106
@NiklasHoltmeyer what version of `datasets` are you running ?
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
One possible explanation might be that it is the user who is passing all the sentences in a single element to `wer.compute`?
As current implementation iterates over the elements of `predictions` and `references`, this can be problematic if `predictions` and `references` contain a single huge element each.
This could be the case, for example, with a single string with all sentences:
```python
result["predicted"] = "One sentence. Other sentence."
```
or with a __double__ nested list of sentence lists
```python
result["predicted"] = [[ ["One sentence."], ["Other sentence"] ]]
```
The user should check the dimensions of the data structure passed to `predictions` and `references`.
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 103
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
One possible explanation might be that it is the user who is passing all the sentences in a single element to `wer.compute`?
As current implementation iterates over the elements of `predictions` and `references`, this can be problematic if `predictions` and `references` contain a single huge element each.
This could be the case, for example, with a single string with all sentences:
```python
result["predicted"] = "One sentence. Other sentence."
```
or with a __double__ nested list of sentence lists
```python
result["predicted"] = [[ ["One sentence."], ["Other sentence"] ]]
```
The user should check the dimensions of the data structure passed to `predictions` and `references`.
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
Hi all,
in my case I was using and older version of datasets and, as @albertvillanova points out, passing the full list of sentences for the metric calculation. The problem was in the way jiwer implements WER, as it tries to compute WER for the full list at once instead of doing it element-wise. I think that with the latest implementation of datasets, or by using the alternative WER function that I've contributed on this [pull request](https://github.com/huggingface/datasets/pull/2169) there shouldn't be memory errors.
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 82
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
Hi all,
in my case I was using and older version of datasets and, as @albertvillanova points out, passing the full list of sentences for the metric calculation. The problem was in the way jiwer implements WER, as it tries to compute WER for the full list at once instead of doing it element-wise. I think that with the latest implementation of datasets, or by using the alternative WER function that I've contributed on this [pull request](https://github.com/huggingface/datasets/pull/2169) there shouldn't be memory errors.
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2078
|
MemoryError when computing WER metric
|
@lhoestq i was using Datasets==1.5.0 with 1.6.1 it worked (atleast the first run) but 1.5.0 is not compatible with my preprocessing. i cant save my dataset to a parquet file while using the latest datasets version
->
```
File "../preprocess_dataset.py", line 132, in <module>
pq.write_table(train_dataset.data, f'{resampled_data_dir}/{data_args.dataset_config_name}.train.parquet')
File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 1674, in write_table
writer.write_table(table, row_group_size=row_group_size)
File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 588, in write_table
self.writer.write_table(table, row_group_size=row_group_size)
TypeError: Argument 'table' has incorrect type (expected pyarrow.lib.Table, got ConcatenationTable)
```
if i do
```
import pyarrow.parquet as pq
...
...
pq.write_table(train_dataset.data, 'train.parquet')
pq.write_table(eval_dataset.data, 'eval.parquet')
```
while using 1.6.1. and its working with 1.5.0
|
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
| 96
|
MemoryError when computing WER metric
Hi, I'm trying to follow the ASR example to try Wav2Vec. This is the code that I use for WER calculation:
```
wer = load_metric("wer")
print(wer.compute(predictions=result["predicted"], references=result["target"]))
```
However, I receive the following exception:
`Traceback (most recent call last):
File "/home/diego/IpGlobal/wav2vec/test_wav2vec.py", line 51, in <module>
print(wer.compute(predictions=result["predicted"], references=result["target"]))
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/datasets/metric.py", line 403, in compute
output = self._compute(predictions=predictions, references=references, **kwargs)
File "/home/diego/.cache/huggingface/modules/datasets_modules/metrics/wer/73b2d32b723b7fb8f204d785c00980ae4d937f12a65466f8fdf78706e2951281/wer.py", line 94, in _compute
return wer(references, predictions)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 81, in wer
truth, hypothesis, truth_transform, hypothesis_transform, **kwargs
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 192, in compute_measures
H, S, D, I = _get_operation_counts(truth, hypothesis)
File "/home/diego/miniconda3/envs/wav2vec3.6/lib/python3.6/site-packages/jiwer/measures.py", line 273, in _get_operation_counts
editops = Levenshtein.editops(source_string, destination_string)
MemoryError`
My system has more than 10GB of available RAM. Looking at the code, I think that it could be related to the way jiwer does the calculation, as it is pasting all the sentences in a single string before calling Levenshtein editops function.
@lhoestq i was using Datasets==1.5.0 with 1.6.1 it worked (atleast the first run) but 1.5.0 is not compatible with my preprocessing. i cant save my dataset to a parquet file while using the latest datasets version
->
```
File "../preprocess_dataset.py", line 132, in <module>
pq.write_table(train_dataset.data, f'{resampled_data_dir}/{data_args.dataset_config_name}.train.parquet')
File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 1674, in write_table
writer.write_table(table, row_group_size=row_group_size)
File "/usr/local/lib/python3.8/dist-packages/pyarrow/parquet.py", line 588, in write_table
self.writer.write_table(table, row_group_size=row_group_size)
TypeError: Argument 'table' has incorrect type (expected pyarrow.lib.Table, got ConcatenationTable)
```
if i do
```
import pyarrow.parquet as pq
...
...
pq.write_table(train_dataset.data, 'train.parquet')
pq.write_table(eval_dataset.data, 'eval.parquet')
```
while using 1.6.1. and its working with 1.5.0
|
[
0.12497847527265549,
-0.20072945952415466,
0.05871808901429176,
0.3256509304046631,
0.43339383602142334,
0.07378914952278137,
-0.2180434763431549,
0.2950877249240875,
0.028831137344241142,
0.4309867024421692,
0.096529521048069,
-0.0946349948644638,
-0.3058878183364868,
-0.5752202868461609,
-0.17998357117176056,
-0.3347727358341217,
-0.13059130311012268,
-0.060313619673252106,
-0.09396832436323166,
0.26734718680381775,
-0.24140140414237976,
0.21814477443695068,
-0.348865807056427,
0.1229340136051178,
-0.07173319905996323,
-0.011054722592234612,
-0.1759239286184311,
0.1331792026758194,
-0.221271812915802,
-0.5667492747306824,
0.30259230732917786,
-0.30793869495391846,
0.19049066305160522,
0.359433650970459,
-0.00011427896242821589,
0.0282554030418396,
0.19010253250598907,
-0.1784472018480301,
-0.010960237123072147,
0.11745619028806686,
-0.12585362792015076,
-0.1865432858467102,
-0.13194023072719574,
-0.00925830565392971,
-0.03298761323094368,
0.03756627067923546,
0.10806853324174881,
-0.28800898790359497,
0.0632081925868988,
0.24494613707065582,
0.1992429494857788,
-0.060945264995098114,
0.29612404108047485,
-0.22950737178325653,
-0.12410866469144821,
-0.19057807326316833,
0.19770319759845734,
0.3163282573223114,
-0.27031418681144714,
-0.17763476073741913,
-0.27142542600631714,
0.25808846950531006,
-0.042777176946401596,
0.21431416273117065,
0.09361128509044647,
0.11575973033905029,
0.0853952020406723,
0.011004556901752949,
0.08476625382900238,
-0.2555571496486664,
0.26716920733451843,
-0.3263046443462372,
-0.030164241790771484,
0.20488817989826202,
-0.16143356263637543,
-0.42757168412208557,
0.16603022813796997,
0.1187264621257782,
-0.5047882199287415,
0.09756991267204285,
-0.20402687788009644,
-0.12048117816448212,
-0.3942309021949768,
0.12548097968101501,
-0.005826427135616541,
0.09103298932313919,
-0.1965169906616211,
0.1057426854968071,
0.33680588006973267,
0.1566447764635086,
0.060436248779296875,
0.2069690227508545,
-0.12335553020238876,
0.01252621877938509,
-0.3743099570274353,
-0.08814266324043274,
-0.05848664790391922,
-0.2326193004846573,
0.15802332758903503,
-0.5695321559906006,
0.582659125328064,
-0.08412762731313705,
0.35244253277778625,
0.4458707869052887,
-0.22183240950107574,
0.8173157572746277,
-0.09721864014863968,
0.07901593297719955,
0.041408099234104156,
0.07843857258558273,
-0.11529362946748734,
-0.24389265477657318,
-0.08986680954694748,
-0.38395988941192627,
0.2813360095024109,
0.18847543001174927,
-0.12351303547620773,
-0.1992422193288803,
-0.44008463621139526,
0.06396593898534775,
-0.04093595966696739,
0.11748221516609192,
0.12619534134864807,
0.31880810856819153,
0.1651473492383957,
0.4893714189529419,
0.3132432699203491,
0.07207343727350235,
-0.17832733690738678,
0.06215360388159752,
-0.2334485501050949,
0.2319100797176361,
-0.22424952685832977,
0.030898205935955048,
0.12527364492416382,
0.2297949194908142,
0.3616986870765686,
-0.23223330080509186,
0.21067647635936737,
-0.2574246823787689,
0.2766297161579132,
-0.110661581158638,
0.08386706560850143,
0.20263376832008362,
-0.09959270805120468,
-0.008728326298296452,
0.22977080941200256,
0.2736268937587738,
0.03456268832087517,
0.11659931391477585,
-0.21280311048030853,
-0.24320824444293976,
0.3005084693431854,
0.1580396145582199,
-0.05864981189370155,
0.06795725226402283,
-0.06455786526203156,
-0.005782144144177437,
0.2805482745170593,
-0.05489226430654526,
-0.3401750922203064,
0.08686551451683044,
-0.7389829158782959,
-0.26006051898002625,
0.1528932899236679,
0.006036445964127779,
-0.1756746917963028,
0.005463738460093737,
0.25586187839508057,
-0.012084214948117733,
0.24220988154411316,
0.033055633306503296,
0.06806521862745285,
0.12066821753978729,
-0.2044016718864441,
-0.1056598499417305,
0.34988558292388916,
-0.8443561792373657,
-0.15111765265464783,
-0.049968648701906204,
-0.1328813135623932,
-0.02565845102071762,
0.25595980882644653,
-0.21462377905845642,
0.1497689187526703,
0.11315930634737015,
0.37852969765663147,
-0.2864324152469635,
-0.17955301702022552,
0.024176349863409996,
-0.18985283374786377,
-0.11398806422948837,
0.1790429651737213,
-0.14133164286613464,
0.3943661153316498,
0.08920442312955856,
0.16556869447231293,
0.1407640427350998,
0.2155866026878357,
-0.027471978217363358,
0.14734604954719543,
0.2670482397079468,
0.24880114197731018,
-0.6484073400497437,
0.3060634136199951,
-0.06286490708589554,
0.15388357639312744,
0.18724963068962097,
-0.24212448298931122,
0.06600239872932434,
0.41590481996536255,
0.4293125569820404,
-0.13009975850582123,
0.016114775091409683,
0.06124338507652283,
-0.16782787442207336,
0.22022417187690735,
-0.06157922372221947,
0.30642515420913696,
-0.2538876533508301,
-0.004113322123885155,
0.07257891446352005,
-0.36131179332733154,
-0.08067750185728073,
-0.0067585832439363,
-0.23276793956756592,
-0.10887175798416138,
-0.2220417559146881,
0.29364389181137085,
0.19079236686229706,
0.20068587362766266,
0.17184749245643616,
-0.2917719781398773,
0.35057196021080017,
0.10633911192417145,
-0.01704813353717327,
0.18749383091926575,
0.18841210007667542,
-0.15443816781044006,
-0.4010765850543976,
0.2174311876296997,
-0.02829192578792572,
0.20304925739765167,
-0.11859267204999924,
0.23637346923351288,
-0.12500673532485962,
0.00563241820782423,
0.3543412685394287,
0.052725519984960556,
0.3139886260032654,
0.11357282102108002,
0.2762683928012848,
0.186698317527771,
0.1431766301393509,
0.3140134811401367,
-0.43407008051872253,
-0.25438135862350464,
-0.38941341638565063,
0.3616292178630829,
-0.314832866191864,
0.321028470993042,
0.15097676217556,
-0.14335304498672485,
0.4951443672180176,
-0.13738185167312622,
-0.17804935574531555,
-0.07750604301691055,
-0.3291461169719696,
0.4842245578765869,
0.024781538173556328,
0.06279189884662628,
0.11737324297428131,
-0.03683183714747429,
0.1472533941268921,
0.1195160523056984,
0.2113158255815506,
-0.10945596545934677,
-0.06268512457609177,
0.21121525764465332,
-0.4670901298522949,
0.15942518413066864,
0.12574903666973114,
0.10199631005525589,
0.33879509568214417,
-0.22001974284648895,
-0.1152891144156456,
0.2674160301685333,
0.2180287092924118,
-0.13208727538585663,
-0.043518710881471634,
-0.025864528492093086,
-0.2954537868499756,
-0.20420683920383453,
0.3511808216571808,
0.10404320806264877,
0.12942303717136383,
-0.0459420271217823,
0.23271578550338745,
0.24169668555259705,
0.42760446667671204,
0.21142564713954926,
-0.025501778349280357,
-0.18118010461330414,
0.059060126543045044,
0.021860575303435326,
-0.04970882087945938,
0.14635217189788818,
0.08624850958585739,
-0.049869995564222336,
-0.043571408838033676,
-0.1804245263338089,
-0.007156433071941137,
-0.0013983550015836954,
0.41044166684150696,
0.2205943763256073,
0.07273732125759125,
-0.23666538298130035,
-0.032221872359514236,
0.17432443797588348,
-0.2374212145805359,
-0.03849465772509575,
0.5531126856803894,
-0.05871109664440155,
0.08928070217370987,
-0.056556619703769684,
-0.17159271240234375,
-0.09363485872745514,
-0.39646708965301514,
-0.02070167101919651,
0.04138590395450592,
0.1471434235572815,
-0.11817440390586853,
0.140946164727211,
0.22467279434204102,
0.17087867856025696,
0.007946162484586239,
-0.2062762826681137,
-0.3394734263420105,
-0.026805583387613297,
-0.2306409478187561,
-0.15455374121665955,
0.06189315393567085,
0.017621604725718498,
0.6852977871894836,
0.13802054524421692,
-0.14058361947536469,
-0.45607271790504456,
0.0017376872710883617,
-0.2098913937807083,
-0.030375277623534203,
-0.016083963215351105,
0.26447218656539917,
-0.06265690177679062,
-0.15696237981319427,
-0.2842117249965668,
-0.05428886413574219,
0.21243223547935486,
0.11877484619617462,
-0.027383504435420036,
0.031765423715114594,
0.03221771866083145,
0.28308314085006714,
0.5209571123123169,
0.39533060789108276,
0.10299567133188248,
0.2838955819606781,
0.1921323537826538,
0.0036793218459933996,
0.09003424644470215,
-0.10751006007194519,
0.17946074903011322,
-0.10672508925199509,
-0.17375801503658295,
0.11602894961833954,
0.07035909593105316,
-0.1351741999387741,
-0.197344571352005,
-0.008782039396464825,
0.08463862538337708,
-0.1840716451406479,
-0.02147027850151062,
-0.01880587637424469,
0.5045293569564819,
0.09238473325967789,
0.047034285962581635,
-0.16068702936172485,
-0.39394059777259827,
0.10256146639585495,
-0.045961830765008926,
0.06707052141427994,
0.009927106089890003,
-0.059940434992313385,
-0.009009410627186298,
-0.7305291891098022,
0.2685505747795105,
0.11236027628183365,
0.4320125877857208,
-0.10201118886470795,
0.05228832736611366,
-0.1586071401834488,
0.11426737159490585,
0.42869672179222107,
-0.06445624679327011,
-0.1765279769897461,
0.05962155759334564,
0.05246537923812866,
-0.1683596819639206,
0.1471429020166397,
-0.17116637527942657,
-0.038416922092437744,
-0.26131075620651245,
-0.11688127368688583,
-0.08205921202898026,
0.04727397859096527,
-0.006219569593667984,
0.31311851739883423,
-0.16019894182682037,
-0.2500501275062561,
-0.34725040197372437,
-0.12205372750759125,
0.004391859285533428,
-0.21696864068508148,
-0.12264090031385422,
0.08955291658639908,
-0.21764108538627625,
0.25235122442245483,
0.022733567282557487,
-0.29524150490760803,
0.34826233983039856,
-0.11240631341934204,
0.1965746283531189,
-0.4322448670864105,
0.13328012824058533,
0.464443176984787,
-0.20728689432144165,
-0.017049187794327736,
0.11370665580034256,
0.06955116987228394,
-0.2817789316177368,
0.2407565712928772,
0.20175288617610931,
0.35957857966423035,
0.06757687032222748,
-0.2912522852420807,
0.2509201467037201,
-0.036182716488838196,
0.08534883707761765,
-0.577185869216919,
0.1801714450120926,
0.08866434544324875,
0.061339087784290314,
0.1381760537624359,
-0.06243622675538063,
0.23269741237163544,
0.05526486784219742,
-0.13690055906772614,
0.2892398238182068,
-0.01952163502573967,
-0.26961854100227356,
0.28251802921295166,
0.24875085055828094,
0.7941432595252991,
-0.14858892560005188,
-0.061065658926963806,
0.44586873054504395,
0.00839382316917181,
-0.08810526877641678,
-0.21181859076023102,
0.5530888438224792,
-0.15169763565063477,
-0.014636250212788582,
0.08713670819997787,
-0.22382864356040955,
-0.09138986468315125,
-0.25269025564193726,
-0.26054367423057556,
0.6565316319465637,
0.03891230747103691,
-0.1428084522485733,
0.08655369281768799,
-0.04743848368525505,
-0.11878702789545059,
-0.24658456444740295,
0.22224336862564087,
0.18422679603099823,
-0.18770672380924225,
-0.1483996957540512,
-0.03874557092785835,
0.0764232650399208,
0.0927690789103508,
-0.3213987350463867,
-0.21347519755363464,
0.009412734769284725,
-0.2341892570257187,
0.12290431559085846,
-0.28766700625419617,
0.1384740024805069,
-0.033819232136011124,
0.4129710793495178,
0.3505011200904846,
0.13478627800941467,
-0.04395073652267456,
0.06422172486782074,
-0.1409429907798767,
0.06738201528787613,
0.08167827129364014,
0.19362419843673706,
-0.07724756747484207,
-0.04236820340156555,
-0.23620325326919556,
0.32398131489753723,
0.03189965710043907,
-0.3035765290260315,
0.020979108288884163,
0.004150397144258022,
-0.06764137744903564,
-0.09274107962846756,
-0.09915610402822495,
-0.12263450771570206,
-0.40542736649513245,
-0.10168406367301941,
0.16659775376319885,
0.33585405349731445,
-0.6273193955421448,
0.3717978298664093,
0.05995834991335869,
-0.058107659220695496,
0.20397114753723145,
0.3034733831882477,
0.24020187556743622,
-0.37110310792922974,
0.5228550434112549,
-0.07030908018350601,
-0.06645014882087708,
-0.08496066927909851,
-0.3364017903804779,
-0.10577623546123505,
0.025123214349150658,
0.18758520483970642,
0.23094581067562103,
0.08632194995880127,
-0.21489551663398743,
0.12959854304790497,
0.07146285474300385,
0.2860015034675598,
0.14781874418258667,
-0.3211326599121094,
-0.5705013871192932,
0.19842876493930817,
-0.13433562219142914,
0.0697701945900917,
-0.4777335822582245,
-0.2928737998008728,
-0.5433308482170105,
0.01971171796321869,
-0.2649725079536438,
0.13094063103199005,
-0.46985065937042236,
0.1528991162776947,
-0.05602308735251427,
-0.1072276383638382,
0.24121473729610443,
0.16624125838279724,
0.13166196644306183,
0.48614925146102905,
-0.16091854870319366,
-0.11483319103717804,
0.013082108460366726,
0.07637642323970795,
-0.023865999653935432,
-0.10377201437950134,
0.23436222970485687,
0.07662486284971237,
-0.1278418004512787,
-0.12012943625450134,
-0.18036407232284546,
0.27237996459007263,
-0.24169938266277313,
0.08689609915018082,
-0.3836636543273926,
0.07315829396247864,
0.6001412868499756,
0.20373323559761047,
-0.021924130618572235,
0.24485968053340912,
0.06156831607222557,
0.2490888088941574,
-0.11190241575241089,
-0.05834636837244034,
0.21348758041858673,
0.10714434087276459,
-0.11078272014856339,
-0.24328604340553284,
0.19406306743621826,
-0.20063932240009308,
-0.23091425001621246,
-0.1189456582069397,
0.22506189346313477,
-0.17952845990657806,
-0.26971080899238586,
0.05126115307211876,
0.14574895799160004,
0.21089133620262146,
0.05138534680008888,
0.1789451539516449,
-0.1412656605243683,
0.08250600844621658,
0.05826253443956375,
0.2282673567533493,
0.17244239151477814,
-0.27106037735939026,
-0.05411567911505699,
-0.04304376617074013,
0.22778098285198212,
-0.3114747405052185,
-0.16496208310127258,
-0.24813292920589447,
-0.07835512608289719,
-0.12320330739021301,
-0.1370619684457779,
-0.0019346257904544473,
0.3038540184497833,
0.5290898680686951,
-0.2573443055152893,
0.4064505994319916,
-0.4600446820259094,
0.07677937299013138,
-0.07827362418174744,
-0.38954275846481323,
-0.3259209096431732,
0.3104039430618286,
0.03937932848930359,
0.3134312629699707,
-0.3366588354110718,
0.12215203046798706,
0.13134583830833435,
0.16834180057048798,
-0.15117645263671875,
-0.20366160571575165,
-0.11607317626476288,
0.06364208459854126,
0.15781138837337494,
-0.3073444068431854,
0.024631651118397713,
-0.050291210412979126,
0.3668295741081238,
-0.034252237528562546,
0.37427210807800293,
0.0016258996911346912,
-0.22364401817321777,
0.2601146101951599,
-0.01801319606602192,
0.5469648241996765,
0.010053405538201332,
-0.28326719999313354,
0.11461441963911057,
0.4181118607521057,
0.14264339208602905,
0.13862042129039764,
0.2846042513847351,
0.4829085171222687,
0.35884878039360046,
-0.2767455577850342,
0.21840231120586395,
-0.11270028352737427,
-0.12938091158866882,
-0.010321645997464657,
0.28464123606681824,
0.24546854197978973,
-0.0023280284367501736,
0.18504860997200012,
0.034816816449165344,
-0.03514109179377556,
-0.1497596651315689,
0.009958033449947834,
0.05680401623249054,
-0.22267304360866547,
0.057020604610443115,
-0.2153235673904419,
0.025584643706679344,
-0.22538313269615173,
-0.09231128543615341,
-0.3778285086154938,
0.22753912210464478,
0.009168538264930248,
-0.14014427363872528,
0.2049316018819809,
0.07737965136766434,
0.05607746168971062,
-0.26621773838996887,
0.36422333121299744,
-0.05091328173875809,
0.21516408026218414,
-0.6167619228363037,
-0.23420248925685883,
-0.17649859189987183,
0.1513812094926834,
-0.15935081243515015,
0.41298267245292664,
-0.13978351652622223,
0.09398555755615234,
-0.14025461673736572,
-0.02866237983107567,
-0.06776871532201767,
0.12308921664953232,
-0.10358768701553345,
0.27478936314582825,
-0.3578975200653076,
-0.2949349582195282,
0.22616948187351227,
-0.1421796977519989,
0.2543465495109558,
-0.43658480048179626,
-0.16024699807167053,
-0.23355932533740997,
0.010778520256280899,
-0.038984980434179306,
0.4080347716808319,
-0.0949811041355133,
0.5220327377319336,
0.06293807923793793,
0.3354315161705017,
0.5877153277397156,
-0.011794102378189564,
-0.2971830368041992,
-0.10959377884864807,
-0.17890650033950806,
-0.21372023224830627,
-0.4510132968425751,
-0.07933755964040756,
0.5294627547264099,
-0.17824357748031616,
-0.29557350277900696,
-0.2922704815864563,
0.3045111298561096,
-0.03914913162589073,
-0.027727296575903893,
-0.17961256206035614,
0.32392042875289917,
-0.20370268821716309,
0.28759312629699707,
0.25036489963531494,
0.0669565349817276,
0.15626618266105652,
0.41255566477775574,
-0.33015763759613037,
-0.0906284898519516,
0.5843927264213562,
-0.16096016764640808,
-0.3511349856853485,
0.09496854990720749,
0.27763181924819946,
0.1976286768913269,
-0.3637201189994812,
-0.8314568996429443,
-0.027012871578335762,
0.28776657581329346,
0.2366391271352768,
-0.10231146216392517,
0.04718320071697235,
0.07295184582471848,
-0.013490227982401848,
0.2048308402299881,
-0.08375301957130432,
-0.10401889681816101,
-0.17195852100849152,
0.11469893902540207,
-0.13320522010326385
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
Hi @XuhuiZhou, thanks for reporting this issue.
Indeed, the old links are no longer valid (404 Not Found error), and the script must be updated with the new links to Google Drive.
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 32
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
Hi @XuhuiZhou, thanks for reporting this issue.
Indeed, the old links are no longer valid (404 Not Found error), and the script must be updated with the new links to Google Drive.
|
[
-0.23376287519931793,
0.14580859243869781,
0.0028067745734006166,
-0.03095061331987381,
-0.027439594268798828,
0.08244889974594116,
0.3759456276893616,
0.2059570997953415,
0.15376001596450806,
0.014403410255908966,
0.18484759330749512,
-0.17239677906036377,
0.23396006226539612,
0.29691770672798157,
0.1645147204399109,
-0.07033604383468628,
0.11244352906942368,
0.039021506905555725,
-0.2078588455915451,
0.008446999825537205,
-0.3404219150543213,
0.20839980244636536,
-0.33606329560279846,
0.07765445858240128,
-0.13393661379814148,
0.10821687430143356,
-0.2342875599861145,
0.20461371541023254,
0.005303429905325174,
-0.5016639232635498,
0.185625359416008,
0.2496989667415619,
0.2551789879798889,
0.2303701639175415,
-0.00012611184502020478,
-0.026572102680802345,
0.43591588735580444,
-0.1366344690322876,
-0.2173588126897812,
0.09907938539981842,
-0.4538169801235199,
-0.22302080690860748,
-0.1618056297302246,
-0.33086922764778137,
0.26596102118492126,
-0.1933165043592453,
0.18024039268493652,
0.3238407075405121,
0.1627967357635498,
0.5249044895172119,
0.09545569121837616,
0.24404071271419525,
0.38326889276504517,
-0.01785886473953724,
0.029593244194984436,
-0.13988907635211945,
0.005616208538413048,
0.24311614036560059,
0.16717837750911713,
-0.13129855692386627,
0.193474680185318,
0.22652645409107208,
-0.02001863531768322,
0.09479808062314987,
0.24477285146713257,
0.08612892776727676,
0.22190235555171967,
-0.48314276337623596,
0.27529820799827576,
0.07405640929937363,
0.9506680965423584,
-0.3367390036582947,
-0.39530816674232483,
0.03425552323460579,
0.15370547771453857,
-0.03477328643202782,
0.21874158084392548,
-0.09934411197900772,
-0.0766189843416214,
0.19270426034927368,
-0.07197430729866028,
-0.4454040229320526,
-0.2641430199146271,
0.29488450288772583,
-0.0705396831035614,
0.6482895016670227,
0.20047177374362946,
0.1531992256641388,
0.19431357085704803,
-0.03140779957175255,
0.3032348155975342,
0.12023217976093292,
-0.1972554475069046,
-0.002012629294767976,
0.22401782870292664,
-0.22576497495174408,
-0.14258719980716705,
0.13211846351623535,
-0.03798648342490196,
0.09006606042385101,
-0.015838224440813065,
-0.08046295493841171,
-0.13139081001281738,
0.031803347170352936,
0.29774823784828186,
-0.025964653119444847,
-0.06394839286804199,
-0.13573497533798218,
0.5959558486938477,
0.43674734234809875,
0.1359967738389969,
-0.048465218394994736,
0.246738001704216,
-0.5086385607719421,
-0.08417618274688721,
0.12939876317977905,
0.3410675525665283,
-0.06490303575992584,
-0.24021190404891968,
-0.3356489837169647,
0.007835473865270615,
-0.11449816077947617,
-0.14299865067005157,
0.2463041990995407,
-0.02480560727417469,
0.09816141426563263,
0.04909884184598923,
0.1763303428888321,
-0.057982828468084335,
-0.2141541689634323,
0.06570015102624893,
0.18284273147583008,
0.07344548404216766,
0.057135552167892456,
0.19777652621269226,
0.23204998672008514,
-0.057220183312892914,
-0.04420092701911926,
-0.3850719630718231,
-0.21327495574951172,
-0.27796709537506104,
0.06555213034152985,
0.07058867067098618,
-0.0053244950249791145,
-0.0922137051820755,
0.11732838302850723,
-0.07566890120506287,
-0.19583095610141754,
-0.17426013946533203,
0.30082443356513977,
-0.40433183312416077,
-0.19224688410758972,
-0.11433975398540497,
-0.0011619634460657835,
-0.2243247926235199,
-0.3667364716529846,
0.10750013589859009,
0.020169392228126526,
-0.3128478229045868,
-0.38990023732185364,
-0.03868069499731064,
-0.08722830563783646,
-0.3737514019012451,
-0.18148627877235413,
0.1254693865776062,
0.7528216242790222,
-0.5478035807609558,
-0.2115304172039032,
-0.27931955456733704,
-0.21706394851207733,
0.022944344207644463,
0.2886829376220703,
-0.13259023427963257,
0.35535886883735657,
-0.4054448902606964,
0.1295458972454071,
0.5153893828392029,
-0.41720572113990784,
-0.7371990084648132,
0.14467844367027283,
-0.005949344485998154,
-0.1772407591342926,
0.11217953264713287,
0.18504191935062408,
0.12485253065824509,
-0.21033655107021332,
-0.48660150170326233,
0.11590108275413513,
-0.01619381457567215,
0.06335024535655975,
-0.11062193661928177,
-0.5575135350227356,
0.34048399329185486,
0.05587410181760788,
0.26345112919807434,
0.2367098033428192,
0.4612346291542053,
-0.020782887935638428,
0.406578928232193,
-0.06091773509979248,
0.10009660571813583,
0.38684043288230896,
0.47760459780693054,
0.044724225997924805,
0.23101234436035156,
0.08810851722955704,
-0.4134582281112671,
0.14870992302894592,
0.10350381582975388,
0.011276371777057648,
-0.3565676510334015,
-0.05821634456515312,
-0.44830578565597534,
-0.12142776697874069,
-0.26695358753204346,
0.014910449273884296,
-0.03210272639989853,
0.031587596982717514,
0.060546763241291046,
0.05010059475898743,
-0.14291298389434814,
0.0495220385491848,
-0.10356542468070984,
-0.019249100238084793,
0.08853574842214584,
0.5486964583396912,
-0.17578499019145966,
-0.09420831501483917,
0.1593250185251236,
0.12712059915065765,
0.23281291127204895,
-0.2303648144006729,
-0.12000913172960281,
0.4031561613082886,
-0.24895428121089935,
0.47722625732421875,
0.3295179605484009,
0.3072071373462677,
0.17016766965389252,
-0.40896761417388916,
0.29463326930999756,
0.45257678627967834,
0.012385757640004158,
0.057663317769765854,
-0.1450575590133667,
-0.16380932927131653,
0.07043614238500595,
0.24877497553825378,
0.059791531413793564,
0.0034611227456480265,
0.17701075971126556,
-0.25441327691078186,
0.05704623460769653,
-0.1840033233165741,
-0.3074972927570343,
-0.19615496695041656,
-0.0975593701004982,
-0.21416771411895752,
-0.02727252058684826,
0.1944444328546524,
0.5489951372146606,
-0.09812860190868378,
0.28541290760040283,
0.3537483811378479,
-0.013110136613249779,
-0.10599330812692642,
-0.18627065420150757,
0.6357641220092773,
0.3474356234073639,
-0.06941121071577072,
-0.1281580775976181,
0.1623583734035492,
0.22493301331996918,
-0.10266353189945221,
0.28648054599761963,
0.11012418568134308,
-0.20345613360404968,
0.14196640253067017,
-0.08073227852582932,
-0.10862985998392105,
-0.025958668440580368,
0.08843810856342316,
0.14897748827934265,
0.3354446589946747,
-0.37482285499572754,
-0.013394652865827084,
-0.35114607214927673,
-0.489899605512619,
-0.35589078068733215,
0.44115081429481506,
-0.2762390971183777,
-0.30603674054145813,
-0.02084752917289734,
0.3651294410228729,
-0.15540701150894165,
0.1203489750623703,
0.1482299417257309,
0.3038341999053955,
0.055049799382686615,
-0.021629054099321365,
-0.32504430413246155,
-0.09326017647981644,
-0.16459877789020538,
-0.06291397660970688,
0.3674086630344391,
0.04796186834573746,
0.09506990760564804,
-0.5916242599487305,
-0.08395693451166153,
-1.0300798416137695,
-0.07027783244848251,
0.06334745138883591,
0.1601601541042328,
0.14112570881843567,
0.21586009860038757,
0.39855504035949707,
0.1617068499326706,
-0.041331905871629715,
0.11028220504522324,
-0.25468483567237854,
0.1499241590499878,
-0.24341869354248047,
-0.14888876676559448,
0.13299131393432617,
0.002118896460160613,
-0.19312548637390137,
-0.550833523273468,
-0.127196803689003,
0.12041666358709335,
-0.06604400277137756,
0.08397474139928818,
-0.113225556910038,
0.2934362292289734,
-0.20332464575767517,
0.20353251695632935,
-0.3117199242115021,
0.12898336350917816,
0.3097100853919983,
0.4342478811740875,
-0.05756917968392372,
-0.3968016505241394,
0.2718311846256256,
0.11638489365577698,
-0.0004380530444905162,
-0.04364762827754021,
-0.514281690120697,
-0.19390630722045898,
0.01196060050278902,
0.2472352236509323,
-0.0632774606347084,
0.33591407537460327,
0.12727555632591248,
0.13652335107326508,
0.03280331939458847,
0.007583058439195156,
-0.22302505373954773,
-0.1242372989654541,
0.3777461647987366,
0.5201424956321716,
0.5347804427146912,
0.4276009202003479,
-0.15358984470367432,
0.2914149761199951,
-0.18111513555049896,
0.04892886430025101,
0.35926881432533264,
-0.3136158585548401,
0.29624462127685547,
0.1019996926188469,
-0.21165484189987183,
0.15932565927505493,
-0.1649797558784485,
0.06634238362312317,
0.23455987870693207,
-0.09059436619281769,
-0.03904091566801071,
-0.04101791977882385,
-0.26185762882232666,
-0.3001765012741089,
-0.4504913091659546,
-0.21433313190937042,
0.5330837368965149,
0.2515188455581665,
0.2891177535057068,
0.04856632277369499,
-0.25025489926338196,
-0.19673894345760345,
0.48428991436958313,
0.3863714337348938,
0.03300577029585838,
0.1109359934926033,
0.2658002972602844,
-0.15296709537506104,
-0.4952215254306793,
0.29372769594192505,
0.10645051300525665,
0.37043923139572144,
-0.03879254683852196,
0.1575813591480255,
0.053571879863739014,
-0.12423112243413925,
0.5772587060928345,
-0.25392061471939087,
0.2622443735599518,
0.06846292316913605,
0.4507426917552948,
0.23489035665988922,
-0.1190134659409523,
-0.12133460491895676,
0.23238328099250793,
0.27702903747558594,
0.04217655584216118,
-0.023223062977194786,
-0.27973607182502747,
0.4637603461742401,
0.39665618538856506,
-0.21983106434345245,
-0.16681553423404694,
0.03584848344326019,
-0.4945954382419586,
-0.5470482110977173,
-0.15878921747207642,
-0.04642048850655556,
-0.1277834177017212,
-0.20641012489795685,
0.14717838168144226,
0.21955372393131256,
-0.40503615140914917,
-0.12163154035806656,
-0.07957902550697327,
0.34729278087615967,
0.3004158139228821,
-0.17565181851387024,
0.09633919596672058,
-0.11355005949735641,
0.048453956842422485,
0.20510423183441162,
0.05588272213935852,
-0.09086738526821136,
-0.04058253765106201,
-0.2574215829372406,
-0.0985095426440239,
0.3127671480178833,
-0.09704478085041046,
0.062367651611566544,
0.09622473269701004,
0.09056531637907028,
-0.03731270506978035,
-0.0823156088590622,
0.4640595018863678,
-0.10070329159498215,
-0.3637641370296478,
-0.3087787330150604,
0.39285293221473694,
-0.1518969088792801,
-0.11302417516708374,
0.374321311712265,
0.25737622380256653,
-0.21761977672576904,
-0.12128571420907974,
-0.19085443019866943,
0.7290428280830383,
0.11899515241384506,
0.060818612575531006,
0.23246125876903534,
-0.1031741127371788,
0.39288610219955444,
0.044227734208106995,
0.18668612837791443,
-0.307291716337204,
0.013565451838076115,
-0.12691667675971985,
0.06993439793586731,
-0.2178966999053955,
0.3358348309993744,
-0.13968198001384735,
0.5958753824234009,
0.02642432041466236,
0.019653713330626488,
0.12239351868629456,
0.4716736078262329,
-0.16091576218605042,
0.13476750254631042,
0.02179292030632496,
0.01553100161254406,
0.005871267057955265,
0.37230828404426575,
-0.20406058430671692,
-0.1112758070230484,
0.14040502905845642,
-0.21479561924934387,
-0.5518473386764526,
0.031219322234392166,
-0.2196570485830307,
0.2581180930137634,
-0.12952494621276855,
-0.21454164385795593,
0.28329601883888245,
0.2206098735332489,
0.23766227066516876,
0.05116945877671242,
-0.397294282913208,
0.37646088004112244,
-0.16784733533859253,
-0.13425743579864502,
-0.01647074520587921,
0.42518678307533264,
-0.09328045696020126,
-0.12903620302677155,
-0.5057982802391052,
-0.06652625650167465,
-0.0633845403790474,
-0.43353012204170227,
0.035314157605171204,
-0.1436426043510437,
0.2073933184146881,
0.022326845675706863,
-0.2601282596588135,
-0.1609867811203003,
-0.2571832239627838,
-0.32026857137680054,
0.03219848498702049,
-0.1532752513885498,
0.25932222604751587,
0.22610239684581757,
-0.31661975383758545,
-0.09971178323030472,
0.022773616015911102,
0.3828008472919464,
-0.36258020997047424,
-0.17836657166481018,
0.7151679992675781,
0.27531081438064575,
0.03418852761387825,
-0.2545826733112335,
-0.10986541211605072,
-0.26678135991096497,
-0.502605676651001,
0.2774840295314789,
0.028333373367786407,
0.2976674437522888,
-0.14774735271930695,
0.39149829745292664,
-0.028155827894806862,
0.3012165129184723,
-0.3247282803058624,
-0.4623776972293854,
-0.11381487548351288,
0.16309382021427155,
0.3029041290283203,
0.20989973843097687,
-0.11545734107494354,
-0.12089463323354721,
0.2744278609752655,
-0.7727928161621094,
-0.1710740029811859,
0.17007668316364288,
0.10759031772613525,
-0.14919203519821167,
0.6299344897270203,
0.26350000500679016,
0.12232650816440582,
0.048203300684690475,
-0.015293306671082973,
-0.08895992487668991,
0.15786610543727875,
0.010765884071588516,
-0.18164817988872528,
0.19983680546283722,
-0.10187264531850815,
-0.30295443534851074,
-0.04351232200860977,
-0.38210898637771606,
-0.09147930890321732,
0.08920816332101822,
-0.07049358636140823,
0.19082896411418915,
-0.09541037678718567,
0.15955710411071777,
0.24074015021324158,
-0.21788673102855682,
-0.15271377563476562,
0.16999226808547974,
0.15817436575889587,
0.6770741939544678,
0.022498490288853645,
0.5906764268875122,
0.07154607027769089,
0.20816367864608765,
0.12682518362998962,
-0.02721216157078743,
-0.011810666881501675,
-0.09028273820877075,
0.28888869285583496,
-0.14998102188110352,
0.018156161531805992,
0.11296239495277405,
0.049913521856069565,
0.5606855154037476,
-0.3244291841983795,
-0.1388917714357376,
0.17533063888549805,
0.010301345959305763,
-0.31601259112358093,
-0.26412156224250793,
0.05859043821692467,
-0.10670549422502518,
-0.0889444500207901,
0.0581982247531414,
0.20039552450180054,
-0.17897799611091614,
0.27193406224250793,
0.13728107511997223,
0.5460571050643921,
-0.21839816868305206,
-0.0025365815963596106,
0.18309950828552246,
0.08392365276813507,
0.06388121843338013,
-0.12889447808265686,
-0.019584303721785545,
0.13154762983322144,
0.204542338848114,
-0.2031109780073166,
-0.18033231794834137,
0.05132990702986717,
0.2913494408130646,
-0.11827895045280457,
-0.30247044563293457,
0.03502552583813667,
-0.1756962388753891,
-0.005464253947138786,
-0.033173345029354095,
0.16363167762756348,
-0.03540491685271263,
0.009117650799453259,
0.017628971487283707,
-0.2669946551322937,
0.35068443417549133,
0.3031771779060364,
-0.13725930452346802,
-0.07526703178882599,
-0.26413923501968384,
-0.1847485601902008,
0.152607262134552,
-0.10083995014429092,
-0.1865110993385315,
-0.14940102398395538,
0.11718887090682983,
-0.028191061690449715,
0.0020580505952239037,
0.03971090912818909,
-0.18667051196098328,
0.3073958456516266,
-0.21392738819122314,
0.06510624289512634,
0.11433311551809311,
0.04194910451769829,
0.24956613779067993,
0.3084125220775604,
0.3976806104183197,
0.20473028719425201,
0.19327348470687866,
0.035363808274269104,
-0.051665883511304855,
-0.12821167707443237,
0.13006752729415894,
-0.03421660512685776,
0.06222796067595482,
0.014437003061175346,
0.18516544997692108,
0.06520719081163406,
0.012953114695847034,
-0.27338021993637085,
0.06990060955286026,
0.006742843426764011,
-0.05967140570282936,
0.13539771735668182,
-0.13592465221881866,
-0.17529454827308655,
-0.39133912324905396,
0.124734066426754,
-0.2187492549419403,
-0.22545088827610016,
0.29532361030578613,
-0.03707120567560196,
0.029527422040700912,
0.01593661867082119,
-0.013718491420149803,
-0.06351824849843979,
0.3564924895763397,
0.3876616358757019,
0.2662046253681183,
-0.27500829100608826,
-0.3162679076194763,
-0.6508069634437561,
0.05280503258109093,
-0.01151789166033268,
-0.046379391103982925,
-0.07172468304634094,
0.03461197018623352,
-0.4731679856777191,
-0.205836221575737,
0.6622764468193054,
0.32139042019844055,
0.06575687974691391,
0.09412503987550735,
-0.008843163028359413,
-0.2726203501224518,
-0.0666327178478241,
0.4215419590473175,
-0.05035761743783951,
-0.30914875864982605,
0.1369163542985916,
-0.2878565192222595,
-0.12077023088932037,
0.02655998058617115,
-0.16040803492069244,
-0.08961156755685806,
-0.16394297778606415,
0.429808109998703,
-0.032895177602767944,
0.3747122287750244,
-0.14140859246253967,
-0.2511017620563507,
-0.47560787200927734,
-0.30535420775413513,
-0.23962023854255676,
0.23572397232055664,
-0.0646790862083435,
0.040149152278900146,
0.048012763261795044,
0.32129406929016113,
-0.4206644296646118,
0.11668406426906586,
-0.11588810384273529,
0.29964885115623474,
-0.18119077384471893,
0.07390068471431732,
-0.05502002686262131,
0.1277778297662735,
0.3625875413417816,
-0.11977709084749222,
-0.1424407660961151,
0.00548062426969409,
-0.3037090003490448,
-0.06947869807481766,
0.34911495447158813,
0.0033647585660219193,
-0.13482163846492767,
-0.1744977831840515,
0.36340898275375366,
-0.06513133645057678,
-0.03283435106277466,
-0.2893851101398468,
0.02067365124821663,
0.13455042243003845,
0.29097697138786316,
0.008133159950375557,
-0.010697882622480392,
-0.08476940542459488,
0.09847979992628098,
0.18471668660640717,
-0.013101727701723576,
0.2195800095796585,
-0.3208526074886322,
-0.07768497616052628,
-0.05057176575064659
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
It would be nice to update the urls indeed !
To do this, you just need to replace the urls in `iwslt2017.py` and then update the dataset_infos.json file with
```
datasets-cli test ./datasets/iwslt2017 --all_configs --save_infos --ignore_verifications
```
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 37
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
It would be nice to update the urls indeed !
To do this, you just need to replace the urls in `iwslt2017.py` and then update the dataset_infos.json file with
```
datasets-cli test ./datasets/iwslt2017 --all_configs --save_infos --ignore_verifications
```
|
[
-0.26588037610054016,
0.12000523507595062,
-0.08369515836238861,
-0.10603141784667969,
-0.05615220218896866,
0.013199212029576302,
0.11352736502885818,
0.3138655722141266,
0.188304141163826,
-0.0665743350982666,
0.0962725505232811,
0.04737464711070061,
0.26303818821907043,
0.2957364618778229,
0.04103052616119385,
0.00876417476683855,
0.0977710708975792,
-0.012059666216373444,
-0.2833591103553772,
0.0477566160261631,
-0.4010067582130432,
0.18544824421405792,
-0.31265324354171753,
-0.0935627892613411,
-0.06016865372657776,
0.12591539323329926,
-0.3016754686832428,
0.11546776443719864,
-0.028102058917284012,
-0.626331627368927,
0.27200832962989807,
0.39135444164276123,
0.3162032663822174,
0.18803857266902924,
-0.00011581881699385121,
-0.12189740687608719,
0.3769318163394928,
-0.1369827389717102,
-0.2984441816806793,
0.04358375072479248,
-0.6287520527839661,
-0.34503600001335144,
-0.13607443869113922,
-0.27005356550216675,
0.22668218612670898,
-0.3958936631679535,
0.06924909353256226,
0.2054879516363144,
0.19028963148593903,
0.5130624771118164,
0.18357782065868378,
0.3192792534828186,
0.26411065459251404,
-0.06363999098539352,
-0.05983265861868858,
-0.02259533666074276,
0.0009520472376607358,
0.07057128846645355,
0.27307364344596863,
-0.11857276409864426,
0.24921199679374695,
0.2715389132499695,
-0.01523569505661726,
0.010092326439917088,
0.27887779474258423,
-0.07894641160964966,
0.2402890920639038,
-0.4742935299873352,
0.18149001896381378,
-0.02243497408926487,
0.8869271874427795,
-0.3021593689918518,
-0.46254733204841614,
0.13100802898406982,
0.08093244582414627,
-0.01634257845580578,
0.060764189809560776,
-0.0797373577952385,
-0.12188910692930222,
0.23704229295253754,
-0.17270125448703766,
-0.47225290536880493,
-0.24646365642547607,
0.3339923024177551,
0.14140750467777252,
0.6231674551963806,
0.16158606112003326,
0.18880699574947357,
0.1574316918849945,
-0.10412239283323288,
0.29519301652908325,
0.030480829998850822,
-0.23201903700828552,
0.025493217632174492,
-0.007401860784739256,
-0.29575449228286743,
-0.08897051960229874,
0.046894390136003494,
0.00844691414386034,
0.2330867052078247,
-0.06862512975931168,
0.03628402203321457,
-0.15879812836647034,
-0.004775921814143658,
0.21104928851127625,
0.04062701761722565,
0.19618186354637146,
-0.008839224465191364,
0.4371442198753357,
0.6046852469444275,
0.130649596452713,
-0.04187408834695816,
0.20249028503894806,
-0.37945985794067383,
-0.2645069658756256,
0.19085557758808136,
0.22636644542217255,
-0.10449284315109253,
-0.10375883430242538,
-0.22271479666233063,
0.044197436422109604,
-0.1268349140882492,
-0.0476008765399456,
0.2771441638469696,
-0.1958625614643097,
0.2930206060409546,
0.16149277985095978,
0.12689849734306335,
-0.022055907174944878,
-0.28483524918556213,
-0.0018294361652806401,
0.0769980177283287,
0.04301499202847481,
0.1160067617893219,
0.1961963176727295,
0.3151424527168274,
0.1433616578578949,
-0.09620069712400436,
-0.3094983398914337,
-0.1295173019170761,
-0.15711654722690582,
0.22096876800060272,
0.13127535581588745,
0.049155332148075104,
-0.12159581482410431,
0.23865655064582825,
-0.04399654269218445,
-0.022794360294938087,
-0.12351221591234207,
0.2856404185295105,
-0.25184085965156555,
-0.2053995281457901,
-0.19395893812179565,
0.09601243585348129,
-0.188402459025383,
-0.3877754807472229,
0.053603384643793106,
-0.05624867603182793,
-0.25817492604255676,
-0.35036081075668335,
0.014182282611727715,
-0.04623372480273247,
-0.30277499556541443,
-0.1621437966823578,
0.18414075672626495,
0.5909861326217651,
-0.45617347955703735,
-0.12290915846824646,
-0.18296416103839874,
-0.2061738222837448,
0.07107799500226974,
0.19800353050231934,
-0.19202931225299835,
0.17155872285366058,
-0.14588159322738647,
0.0955498144030571,
0.5259158611297607,
-0.4413204491138458,
-0.5953445434570312,
0.2981181740760803,
0.08023861795663834,
-0.13559317588806152,
0.05882763862609863,
0.2166195958852768,
0.026301832869648933,
-0.22332152724266052,
-0.5292854905128479,
0.14463168382644653,
-0.0034877818543463945,
0.11471466720104218,
-0.26481327414512634,
-0.5547557473182678,
0.26284536719322205,
0.05571214109659195,
0.09343796223402023,
0.14743095636367798,
0.2381831556558609,
0.12809501588344574,
0.5918654799461365,
-0.08849989622831345,
0.12062104046344757,
0.24473796784877777,
0.46027234196662903,
0.21887603402137756,
0.21805955469608307,
0.1307167112827301,
-0.315315842628479,
0.17674210667610168,
0.10156147927045822,
0.04563978314399719,
-0.346079558134079,
-0.15676665306091309,
-0.4196779727935791,
-0.062004007399082184,
-0.27418214082717896,
-0.21610645949840546,
0.06592021137475967,
0.15835966169834137,
0.1244073435664177,
-0.1213245689868927,
-0.25502270460128784,
0.169154554605484,
-0.20958785712718964,
-0.012071912176907063,
-0.01660638116300106,
0.4373685121536255,
-0.17229998111724854,
0.03742629662156105,
0.08343716710805893,
0.06163106858730316,
0.18083639442920685,
-0.2504224479198456,
-0.25792911648750305,
0.6097425222396851,
-0.21468746662139893,
0.2997121810913086,
0.42985525727272034,
0.1492435187101364,
0.12074422091245651,
-0.32507410645484924,
0.2012680321931839,
0.40720218420028687,
-0.008943445049226284,
0.17078740894794464,
-0.06720643490552902,
-0.18609285354614258,
-0.021302679553627968,
0.40604206919670105,
0.09327344596385956,
-0.000436789239756763,
0.17027373611927032,
-0.2249179482460022,
-0.08091830462217331,
-0.23271800577640533,
-0.29357385635375977,
-0.1963060200214386,
-0.25873011350631714,
-0.17212353646755219,
0.048945922404527664,
0.24774208664894104,
0.4090805947780609,
-0.0953662097454071,
0.05767050012946129,
0.3085023760795593,
0.06544533371925354,
-0.09701477736234665,
-0.11723227053880692,
0.6027163863182068,
0.33529114723205566,
-0.0526723638176918,
-0.24764059484004974,
0.14538168907165527,
0.21622516214847565,
-0.09102608263492584,
0.2975565493106842,
0.1390436589717865,
-0.08562613278627396,
0.04019402712583542,
-0.04818996787071228,
-0.08746492862701416,
0.018293948844075203,
-0.023771489039063454,
0.15000881254673004,
0.3771408200263977,
-0.28762683272361755,
-0.03231078013777733,
-0.39908817410469055,
-0.5441093444824219,
-0.25966861844062805,
0.22568464279174805,
-0.17870625853538513,
-0.3382880687713623,
0.03403503820300102,
0.2766580879688263,
-0.16629262268543243,
0.2912938892841339,
0.08308915048837662,
0.20723184943199158,
-0.02984178252518177,
0.12574149668216705,
-0.283158540725708,
-0.10417104512453079,
-0.1987840235233307,
-0.005161164794117212,
0.34394779801368713,
0.08792722970247269,
0.12586113810539246,
-0.5627506971359253,
-0.11831732094287872,
-0.8395574688911438,
-0.05981726571917534,
-0.10804949700832367,
0.17963361740112305,
0.1123821958899498,
0.2555801272392273,
0.47476688027381897,
0.24107332527637482,
-0.11113255470991135,
0.22540432214736938,
-0.16849184036254883,
0.2313164323568344,
-0.3595501184463501,
-0.08880864083766937,
0.05281061679124832,
-0.03160577267408371,
-0.337410032749176,
-0.4721331000328064,
-0.2592509388923645,
0.09980633109807968,
-0.0883103460073471,
0.13362769782543182,
-0.08369472622871399,
0.3151405155658722,
-0.25616732239723206,
0.03327667713165283,
-0.24387717247009277,
0.07641986012458801,
0.1267908662557602,
0.3804924488067627,
-0.18305553495883942,
-0.4039410650730133,
0.17340093851089478,
0.14668907225131989,
0.16304057836532593,
-0.12106284499168396,
-0.4460037350654602,
-0.21272315084934235,
0.05249771848320961,
0.1790834665298462,
-0.08791101723909378,
0.31455186009407043,
0.08667030185461044,
0.07738959789276123,
-0.06009865552186966,
-0.06049484759569168,
-0.12836770713329315,
-0.14227040112018585,
0.2520170509815216,
0.6086517572402954,
0.3990366756916046,
0.3653601109981537,
-0.014084482565522194,
0.2753281891345978,
-0.0019120078068226576,
-0.03315519914031029,
0.2885214686393738,
-0.27512267231941223,
0.2634458839893341,
0.18126609921455383,
-0.34730014204978943,
0.059985920786857605,
-0.13477803766727448,
0.13231529295444489,
0.18093650043010712,
-0.06346891820430756,
0.04719355329871178,
-0.08346797525882721,
-0.2222924679517746,
-0.20629173517227173,
-0.39798763394355774,
-0.10049013048410416,
0.47657454013824463,
0.2636375427246094,
0.35254108905792236,
0.08689850568771362,
-0.3535324037075043,
-0.10680028796195984,
0.402778297662735,
0.33366310596466064,
-0.003547488944604993,
0.06838168948888779,
0.022877395153045654,
-0.18783435225486755,
-0.38917383551597595,
0.3738919496536255,
0.11542151123285294,
0.3910488486289978,
0.12191271781921387,
0.08707521855831146,
0.007919305935502052,
-0.11955875903367996,
0.6106868386268616,
-0.42539182305336,
0.10430161654949188,
0.04889049381017685,
0.42686381936073303,
-0.11183656752109528,
-0.14188462495803833,
-0.04117070510983467,
0.2548781931400299,
0.2616063058376312,
0.09716463834047318,
0.03744390979409218,
-0.33996227383613586,
0.34745538234710693,
0.38044023513793945,
-0.27241867780685425,
-0.18041230738162994,
0.12989240884780884,
-0.4039519131183624,
-0.6693729758262634,
-0.2616959810256958,
-0.13124144077301025,
-0.11883103102445602,
-0.12768439948558807,
0.1464574933052063,
0.33425408601760864,
-0.13443805277347565,
-0.10071970522403717,
0.10443457216024399,
0.1917998045682907,
0.5774636268615723,
-0.08427055925130844,
-0.03539372235536575,
-0.13077667355537415,
0.16267621517181396,
0.17191718518733978,
-0.048525698482990265,
-0.19812239706516266,
-0.21730825304985046,
-0.12125518172979355,
0.03168172761797905,
0.28013157844543457,
-0.03378387540578842,
0.07147227972745895,
0.1753663867712021,
0.18171794712543488,
0.0264162328094244,
0.14698854088783264,
0.5127025842666626,
-0.19810138642787933,
-0.27748602628707886,
-0.5861614942550659,
0.38410574197769165,
-0.18134431540966034,
-0.09580955654382706,
0.3464309573173523,
0.09816227108240128,
-0.14926984906196594,
-0.012949806638062,
0.0048452639020979404,
0.629935622215271,
0.2925114035606384,
0.05223507061600685,
0.20482486486434937,
-0.028599344193935394,
0.5659816861152649,
0.005944359581917524,
0.1267867088317871,
-0.3390864133834839,
-0.03208022937178612,
-0.02871118299663067,
0.12288245558738708,
-0.119381383061409,
0.237873837351799,
-0.14340627193450928,
0.546370267868042,
-0.007888521067798138,
-0.09309332817792892,
0.14643780887126923,
0.48807892203330994,
-0.1445128619670868,
-0.023281583562493324,
-0.10622842609882355,
0.13166433572769165,
-0.048189327120780945,
0.3345893919467926,
-0.09512055665254593,
-0.12212985008955002,
0.07243574410676956,
-0.15104426443576813,
-0.42896708846092224,
0.10747378319501877,
-0.32212215662002563,
0.28529661893844604,
-0.12694624066352844,
0.1787620186805725,
0.20978008210659027,
0.2306780219078064,
0.20536155998706818,
0.17464864253997803,
-0.28706198930740356,
0.3699128031730652,
-0.07072465121746063,
-0.1091894656419754,
0.026630042120814323,
0.32303857803344727,
-0.04753711074590683,
-0.2259252667427063,
-0.5937919616699219,
-0.09512940794229507,
0.016321051865816116,
-0.29014313220977783,
0.1625821888446808,
-0.27025601267814636,
0.3704394996166229,
-0.11172362416982651,
-0.28160759806632996,
-0.05532890558242798,
-0.26417413353919983,
-0.2904844582080841,
0.09573226422071457,
-0.206889808177948,
0.07486340403556824,
0.34295687079429626,
-0.2037491351366043,
-0.0831962451338768,
0.022618748247623444,
0.3929961621761322,
-0.36181187629699707,
-0.15027934312820435,
0.6512705683708191,
0.24638685584068298,
0.10582321137189865,
-0.32337528467178345,
-0.0739869698882103,
-0.21347886323928833,
-0.5588191747665405,
0.13428370654582977,
0.12847483158111572,
0.2565959095954895,
-0.10763359814882278,
0.581569254398346,
0.06903542578220367,
0.3135829269886017,
-0.20300301909446716,
-0.4405824542045593,
-0.17726290225982666,
0.16001705825328827,
0.331624835729599,
0.20191799104213715,
-0.2039649486541748,
-0.11003577709197998,
0.10436669737100601,
-0.6226138472557068,
-0.26353707909584045,
0.07137353718280792,
0.07973223179578781,
-0.08309325575828552,
0.5312469005584717,
0.28115230798721313,
0.23593218624591827,
0.02461371012032032,
0.030604450032114983,
-0.11118056625127792,
0.0029792177956551313,
-0.08183342218399048,
-0.29523760080337524,
0.14336813986301422,
-0.007805227302014828,
-0.3700466454029083,
-0.06790222972631454,
-0.33827468752861023,
-0.1110142394900322,
0.012250015512108803,
-0.23593758046627045,
0.13236655294895172,
-0.0991358533501625,
0.3274616301059723,
0.1289876103401184,
-0.24558879435062408,
-0.07980913668870926,
0.22458748519420624,
0.2456071972846985,
0.6195124387741089,
0.08936931937932968,
0.5125223994255066,
0.03438388183712959,
0.034453682601451874,
0.19035135209560394,
0.012657525949180126,
-0.1068079024553299,
0.04017038270831108,
0.24099572002887726,
-0.06359199434518814,
0.1247478723526001,
0.2878757119178772,
0.14643888175487518,
0.723520815372467,
-0.16572900116443634,
-0.10740374773740768,
0.1783142387866974,
0.10752364993095398,
-0.2422151416540146,
-0.14800924062728882,
0.11442365497350693,
-0.060343291610479355,
-0.1510430872440338,
0.05077965930104256,
0.14598871767520905,
-0.2648039162158966,
0.32086965441703796,
0.1363304704427719,
0.4105601906776428,
-0.20913635194301605,
0.13901406526565552,
0.23261195421218872,
-0.04021885246038437,
0.010630476288497448,
-0.2607225477695465,
-0.016525236889719963,
0.14342530071735382,
0.07296042889356613,
-0.25908538699150085,
0.002166332909837365,
0.13597264885902405,
0.22145305573940277,
-0.12562355399131775,
-0.20924463868141174,
0.124416284263134,
-0.3079873323440552,
0.05313178524374962,
-0.07804050296545029,
0.15386871993541718,
0.09310023486614227,
0.06300842016935349,
-0.08376938104629517,
-0.18680688738822937,
0.44693610072135925,
0.36373358964920044,
-0.22845979034900665,
-0.33118557929992676,
-0.20893371105194092,
-0.2458161562681198,
-0.010843329131603241,
-0.1313478797674179,
-0.26734185218811035,
-0.042036838829517365,
0.02086910791695118,
-0.06512350589036942,
-0.2304658591747284,
-0.07953553646802902,
-0.1641400009393692,
0.34429946541786194,
-0.19868728518486023,
-0.034069713205099106,
0.3539019823074341,
0.01929657906293869,
0.29357820749282837,
0.16620807349681854,
0.38901299238204956,
0.3031672537326813,
0.28256043791770935,
0.13414084911346436,
-0.07474708557128906,
-0.07643763720989227,
0.13276474177837372,
-0.05155978351831436,
0.04852311313152313,
-0.016900330781936646,
0.22574768960475922,
0.12437105923891068,
-0.06338904798030853,
-0.21916843950748444,
-0.018853679299354553,
0.1339445412158966,
0.006630703341215849,
0.25884559750556946,
0.027420951053500175,
-0.09826431423425674,
-0.37974318861961365,
0.14979790151119232,
-0.25671541690826416,
-0.268522173166275,
0.2529696822166443,
-0.05819738283753395,
0.07543113827705383,
-0.05420602113008499,
0.04560663178563118,
-0.2022538185119629,
0.5885547995567322,
0.2964639961719513,
-0.01751982793211937,
-0.24980615079402924,
-0.3237139880657196,
-0.6692292094230652,
-0.02962653525173664,
0.11074291914701462,
-0.13532274961471558,
-0.1589658111333847,
0.04063674435019493,
-0.36853715777397156,
-0.17814205586910248,
0.4534996747970581,
0.06763840466737747,
0.07679841667413712,
0.20880185067653656,
-0.07425461709499359,
-0.16036958992481232,
-0.14252933859825134,
0.5685741901397705,
0.13273999094963074,
-0.24230316281318665,
0.0843382328748703,
-0.3750151991844177,
-0.03093469701707363,
0.024888232350349426,
-0.2898809015750885,
0.08561471104621887,
-0.26521754264831543,
0.3958438038825989,
0.015682604163885117,
0.3200853765010834,
-0.2106960415840149,
-0.2837999165058136,
-0.5346630811691284,
-0.3248722553253174,
-0.25055596232414246,
0.28242582082748413,
-0.04688735678792,
0.198687344789505,
0.05518797039985657,
0.3311002552509308,
-0.4635559022426605,
-0.02625289186835289,
-0.16265332698822021,
0.058861296623945236,
-0.12975260615348816,
0.04317878186702728,
0.06070656329393387,
0.061632189899683,
0.30753788352012634,
-0.07340909540653229,
-0.1837180107831955,
0.06409818679094315,
-0.2904731333255768,
-0.10001301765441895,
0.6150922775268555,
-0.05457890406250954,
-0.19013288617134094,
-0.176868736743927,
0.2843324840068817,
-0.15286055207252502,
-0.11105137318372726,
-0.27043798565864563,
0.003038807539269328,
0.1568036824464798,
0.30586373805999756,
-0.02437359094619751,
0.14282658696174622,
-0.15863563120365143,
0.12436969578266144,
0.0833778828382492,
-0.015175284817814827,
0.15026544034481049,
-0.34175974130630493,
-0.1232423186302185,
-0.023544752970337868
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
Is this a command to update my local files or fix the file Github repo in general? (I am not so familiar with the datasets-cli command here)
I also took a brief look at the **Sharing your dataset** section, looks like I could fix that locally and push it to the repo? I guess we are "canonical" category?
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 58
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
Is this a command to update my local files or fix the file Github repo in general? (I am not so familiar with the datasets-cli command here)
I also took a brief look at the **Sharing your dataset** section, looks like I could fix that locally and push it to the repo? I guess we are "canonical" category?
|
[
-0.328745037317276,
0.22784537076950073,
0.017168167978525162,
-0.14851029217243195,
-0.027822362259030342,
0.1295357644557953,
0.21594475209712982,
0.4029393792152405,
0.12522706389427185,
-0.053336869925260544,
0.12921790778636932,
-0.14838236570358276,
0.3661808371543884,
0.16260434687137604,
0.0930708646774292,
0.03713386878371239,
0.08825917541980743,
0.11645902693271637,
-0.14445525407791138,
-0.13932128250598907,
-0.27356407046318054,
0.051936469972133636,
-0.11367207765579224,
0.08188742399215698,
-0.09425291419029236,
0.007792030926793814,
-0.205900177359581,
0.1530776470899582,
-0.12789613008499146,
-0.4773187041282654,
0.373485803604126,
0.3872339427471161,
0.2581131160259247,
0.12172245234251022,
-0.00012119409802835435,
0.03537050262093544,
0.4054264426231384,
-0.0881665050983429,
-0.37058600783348083,
0.07656743377447128,
-0.573933482170105,
-0.43130066990852356,
-0.061145856976509094,
-0.25805914402008057,
0.18879643082618713,
-0.12985330820083618,
0.2098878026008606,
0.0811501070857048,
0.1162736639380455,
0.42627811431884766,
0.13024553656578064,
0.223063126206398,
0.3262277841567993,
-0.07375670969486237,
0.14890944957733154,
0.16815577447414398,
-0.013228406198322773,
0.3721025884151459,
0.43727895617485046,
-0.10926476120948792,
0.08603483438491821,
0.1534004509449005,
-0.08409127593040466,
0.2124539315700531,
0.35414087772369385,
0.049540989100933075,
0.4574349522590637,
-0.40485066175460815,
0.223441481590271,
0.03248997777700424,
0.8967593312263489,
-0.42277437448501587,
-0.3420684039592743,
0.08725836127996445,
0.009537206962704659,
-0.08982233703136444,
0.15861564874649048,
0.0859677717089653,
-0.200284942984581,
0.27785348892211914,
-0.18046864867210388,
-0.3604156970977783,
-0.1591276228427887,
0.3106374144554138,
-0.08730784803628922,
0.5873487591743469,
0.10104721039533615,
0.20822298526763916,
0.10319489985704422,
-0.05715532973408699,
-0.12740178406238556,
0.045968856662511826,
-0.22257335484027863,
0.0741778239607811,
0.11822472512722015,
-0.20778021216392517,
-0.12128577381372452,
-0.10250839591026306,
0.10666391998529434,
0.15324853360652924,
-0.1984608769416809,
-0.03694228082895279,
-0.17346449196338654,
0.07187711447477341,
0.40321534872055054,
-0.03816518187522888,
0.045721594244241714,
0.15480779111385345,
0.5666858553886414,
0.42308881878852844,
0.011265534907579422,
-0.017906391993165016,
0.1470717340707779,
-0.2979694902896881,
-0.0977264866232872,
0.1550770252943039,
0.4336479604244232,
-0.31210455298423767,
-0.23665641248226166,
-0.10287822782993317,
0.127101331949234,
-0.11445976793766022,
-0.0768238976597786,
0.1278250813484192,
-0.1613840013742447,
0.23570352792739868,
-0.1247178390622139,
0.04752572625875473,
-0.10263051837682724,
-0.300256609916687,
0.042724985629320145,
-0.03347894549369812,
0.1329362839460373,
0.11830907315015793,
0.012095699086785316,
0.0708032101392746,
0.05177588388323784,
-0.08319705724716187,
-0.012160266749560833,
-0.17916521430015564,
-0.2284107655286789,
0.1644672006368637,
-0.12868860363960266,
0.2666129469871521,
-0.224561408162117,
0.2676090598106384,
0.14484508335590363,
-0.3232680559158325,
-0.2828286588191986,
0.2915729880332947,
-0.2882515490055084,
-0.35670721530914307,
-0.32810139656066895,
0.03651987016201019,
-0.07125488668680191,
-0.1758403182029724,
-0.032455924898386,
-0.2105962336063385,
-0.15741749107837677,
-0.2907334864139557,
0.0741470605134964,
0.009883812628686428,
-0.1292329877614975,
-0.18717078864574432,
0.19530682265758514,
0.5042901039123535,
-0.6066132187843323,
-0.16143947839736938,
-0.2313721776008606,
-0.08165130019187927,
0.2087169587612152,
0.3378123641014099,
-0.276935338973999,
0.16993999481201172,
-0.1460842341184616,
0.027796123176813126,
0.5927797555923462,
-0.5152544379234314,
-0.6871724128723145,
0.2041892558336258,
-0.013071184046566486,
-0.22991734743118286,
-0.02140924707055092,
0.25202229619026184,
0.12314892560243607,
-0.34529930353164673,
-0.4743506908416748,
0.0846303403377533,
-0.12905579805374146,
0.09958695620298386,
-0.29557910561561584,
-0.5416891574859619,
0.16250646114349365,
0.1816478818655014,
0.04693185165524483,
0.18216048181056976,
0.39928409457206726,
0.17664074897766113,
0.3272172212600708,
0.05881976708769798,
0.20111607015132904,
0.21156013011932373,
0.5126594305038452,
0.1314494013786316,
0.1533079892396927,
0.22320348024368286,
-0.2943215072154999,
0.14696626365184784,
0.2489115446805954,
0.09496261179447174,
-0.3220589756965637,
-0.2608611583709717,
-0.4123033583164215,
-0.10208120197057724,
-0.34853020310401917,
-0.09098071604967117,
-0.017982332035899162,
0.18075764179229736,
0.11647886782884598,
-0.11034713685512543,
-0.3459629416465759,
0.30937889218330383,
-0.47632357478141785,
0.07452550530433655,
0.23373183608055115,
0.5755887627601624,
-0.16952800750732422,
-0.019681932404637337,
0.052026260644197464,
0.13012877106666565,
0.06396695226430893,
-0.2785018980503082,
-0.21435131132602692,
0.559336245059967,
-0.31272459030151367,
0.23414695262908936,
0.4399033188819885,
0.31176501512527466,
0.19402237236499786,
-0.32022181153297424,
0.11191069334745407,
0.28821665048599243,
-0.02260039746761322,
0.14902891218662262,
-0.17419765889644623,
-0.19895747303962708,
0.057651303708553314,
0.17081215977668762,
-0.06553329527378082,
0.00312663521617651,
0.2749858796596527,
-0.08327827602624893,
-0.14107216894626617,
-0.162251815199852,
-0.29216161370277405,
-0.02503080852329731,
-0.041508499532938004,
-0.04536409303545952,
-0.06046874076128006,
0.178566113114357,
0.5440235137939453,
-0.12384161353111267,
0.11657429486513138,
0.30034738779067993,
0.09525761008262634,
-0.05968847870826721,
-0.10998941957950592,
0.5564721822738647,
0.31042322516441345,
-0.15128576755523682,
-0.16971589624881744,
0.17909932136535645,
0.05786063149571419,
-0.03731052577495575,
0.04660002142190933,
0.19252796471118927,
-0.12007054686546326,
0.010961919091641903,
-0.04682556912302971,
-0.03721483424305916,
0.16952048242092133,
0.15831947326660156,
0.14741283655166626,
0.48395946621894836,
-0.24621781706809998,
-0.013301708735525608,
-0.36648693680763245,
-0.5353511571884155,
-0.3251516819000244,
0.31899645924568176,
-0.379026859998703,
-0.18590809404850006,
-0.04210646077990532,
0.17874380946159363,
-0.2107161581516266,
0.1901574730873108,
0.20432443916797638,
0.3172175884246826,
-0.07883139699697495,
0.0009445165051147342,
-0.1719421148300171,
-0.23169447481632233,
-0.33061477541923523,
-0.051932018250226974,
0.4443807005882263,
-0.04170834273099899,
0.1766374260187149,
-0.6509736180305481,
-0.10975547134876251,
-1.0360780954360962,
-0.016830582171678543,
-0.04611576721072197,
0.23167195916175842,
0.11536765843629837,
0.15930020809173584,
0.45374640822410583,
-0.01638399250805378,
-0.17074280977249146,
0.2607432007789612,
-0.040194395929574966,
0.21494634449481964,
-0.3174862861633301,
-0.17299990355968475,
0.01675322651863098,
0.04561362415552139,
-0.1350584626197815,
-0.5641149878501892,
-0.3411817252635956,
0.16009636223316193,
0.02410084940493107,
0.14497797191143036,
-0.050962336361408234,
0.043548282235860825,
-0.19061420857906342,
0.1358191967010498,
-0.2904103994369507,
0.15606646239757538,
-0.010705691762268543,
0.2633073925971985,
-0.14436401426792145,
-0.4014078378677368,
0.13297729194164276,
0.3028894364833832,
0.04684828966856003,
0.06647799164056778,
-0.5709301829338074,
-0.2596461772918701,
0.03024503029882908,
0.4149642586708069,
0.12011140584945679,
0.2456103265285492,
0.17481306195259094,
-0.0011631430825218558,
0.03836888074874878,
0.0454275980591774,
-0.19142940640449524,
-0.09535166621208191,
0.5123041272163391,
0.34170493483543396,
0.42939987778663635,
0.37546786665916443,
-0.1085304543375969,
0.5380149483680725,
0.0628192275762558,
-0.12036681175231934,
0.25916343927383423,
-0.16261260211467743,
0.3061211109161377,
-0.0002961787977255881,
-0.2931820750236511,
0.1956024169921875,
-0.15505561232566833,
-0.06570034474134445,
0.40995532274246216,
0.08926016837358475,
-0.03657561168074608,
-0.07392570376396179,
-0.18106882274150848,
-0.2698781192302704,
-0.49219876527786255,
-0.16279417276382446,
0.45992374420166016,
0.2576903998851776,
0.29418647289276123,
-0.13777445256710052,
-0.2924904525279999,
-0.16970530152320862,
0.4024110734462738,
0.6239667534828186,
-0.1235487163066864,
0.20654988288879395,
0.11472852528095245,
-0.17578034102916718,
-0.10044144093990326,
0.2647207975387573,
0.19807466864585876,
0.26627516746520996,
0.034254807978868484,
0.07944051176309586,
0.1008395105600357,
-0.11244897544384003,
0.4005720019340515,
-0.20484358072280884,
0.13915659487247467,
0.1369847059249878,
0.4236283302307129,
0.1360696405172348,
-0.27441924810409546,
0.020730573683977127,
0.4552537500858307,
0.20490413904190063,
0.07596354931592941,
-0.022156236693263054,
-0.31525492668151855,
0.34118416905403137,
0.37144824862480164,
-0.2002503126859665,
0.02197934128344059,
0.14671462774276733,
-0.40227389335632324,
-0.4977640211582184,
-0.22666846215724945,
-0.11953163146972656,
-0.23209823668003082,
-0.07223591208457947,
0.17652051150798798,
0.23329328000545502,
-0.15763156116008759,
-0.15367142856121063,
0.0030540458392351866,
0.2076948881149292,
0.49472352862358093,
-0.019830159842967987,
-0.008982601575553417,
0.01293161604553461,
0.09099714457988739,
0.30133047699928284,
0.07005386054515839,
-0.35108861327171326,
-0.1641145497560501,
-0.32057687640190125,
-0.09497068077325821,
0.20824387669563293,
0.1176925003528595,
-0.08273044228553772,
0.14482833445072174,
0.061636392027139664,
-0.0875907614827156,
0.11920711398124695,
0.35842952132225037,
-0.08495799452066422,
-0.5300592184066772,
-0.5256209969520569,
0.4085562825202942,
-0.11996443569660187,
-0.16549445688724518,
0.4003596007823944,
0.15636299550533295,
-0.03231474757194519,
-0.27358657121658325,
0.08305224776268005,
0.7465671300888062,
-0.022925646975636482,
0.03270573168992996,
-0.007563539315015078,
-0.09163203835487366,
0.6845273971557617,
-0.3556341826915741,
0.08036194741725922,
-0.23570238053798676,
0.044373318552970886,
-0.14003053307533264,
0.09372366219758987,
-0.03457805886864662,
0.12483396381139755,
-0.2527697682380676,
0.3953990340232849,
0.011126513592898846,
0.12812630832195282,
0.16780324280261993,
0.12678954005241394,
-0.03154097497463226,
0.005841728299856186,
-0.07438730448484421,
0.08309788256883621,
-0.16223879158496857,
0.4866463243961334,
-0.16988004744052887,
0.006892194505780935,
0.012457800097763538,
-0.11541134864091873,
-0.5681359767913818,
-0.06287422776222229,
-0.16646334528923035,
0.292001873254776,
-0.029978469014167786,
0.02100769430398941,
0.0415378138422966,
0.09921164065599442,
0.42923182249069214,
0.13215553760528564,
-0.20165711641311646,
0.3129695951938629,
-0.0059431856498122215,
0.06011264771223068,
0.00047919971984811127,
0.3338002562522888,
0.1579630970954895,
-0.24225376546382904,
-0.37794163823127747,
-0.14415718615055084,
-0.13427594304084778,
-0.38342833518981934,
0.023596996441483498,
-0.2298961877822876,
0.6278184652328491,
0.0004674964875448495,
-0.030487481504678726,
-0.05963953584432602,
-0.12158418446779251,
-0.22318775951862335,
0.018404973670840263,
-0.1535351276397705,
0.14163744449615479,
0.08167169243097305,
-0.2914769947528839,
-0.22446812689304352,
0.01916668564081192,
0.18952184915542603,
-0.1399024873971939,
-0.2665093243122101,
0.45474714040756226,
0.12190242856740952,
0.06394311785697937,
-0.19953936338424683,
-0.07254879176616669,
-0.1438470333814621,
-0.6568557024002075,
0.119108647108078,
-0.09676873683929443,
0.18281514942646027,
-0.10909989476203918,
0.5960336923599243,
0.2512528598308563,
0.16732896864414215,
-0.2896711826324463,
-0.4213560223579407,
-0.27155598998069763,
-0.0532647930085659,
0.33646509051322937,
0.15546613931655884,
-0.017615152522921562,
-0.16495059430599213,
0.19365385174751282,
-0.6747881770133972,
-0.16149301826953888,
0.009075826965272427,
-0.16926372051239014,
0.029619939625263214,
0.6704884767532349,
0.4356502890586853,
0.08699687570333481,
0.018852075561881065,
-0.06122786924242973,
-0.1750658005475998,
-0.0812862291932106,
-0.02569260634481907,
-0.13224881887435913,
0.20067967474460602,
-0.05579456686973572,
-0.43995359539985657,
0.05003420636057854,
-0.33748361468315125,
0.040605366230010986,
0.05728719383478165,
-0.10887837409973145,
0.03158077225089073,
-0.058990396559238434,
0.22444485127925873,
0.32976946234703064,
-0.09604234248399734,
-0.12662862241268158,
0.23704031109809875,
0.23531638085842133,
0.6963255405426025,
0.0479416623711586,
0.5046021342277527,
0.1246768906712532,
0.10585373640060425,
0.09729539602994919,
0.07866617292165756,
-0.08986610919237137,
-0.02163289114832878,
0.1773710697889328,
-0.18767069280147552,
0.21448372304439545,
0.2815777659416199,
0.21411755681037903,
0.525444507598877,
-0.1734643280506134,
-0.1531737595796585,
0.3730529546737671,
0.07362490892410278,
-0.17447727918624878,
-0.19686950743198395,
0.34199899435043335,
0.10919834673404694,
-0.05771395564079285,
0.047054678201675415,
0.3009069263935089,
-0.17800453305244446,
0.31037458777427673,
0.08932840079069138,
0.6003994345664978,
-0.22758248448371887,
0.14736568927764893,
0.42562341690063477,
0.18514098227024078,
0.07660257816314697,
-0.515152633190155,
-0.008838233537971973,
0.08593153953552246,
0.09102708846330643,
-0.3155486285686493,
-0.007645622361451387,
0.39047667384147644,
0.18822070956230164,
0.01951204240322113,
-0.28471922874450684,
0.45022323727607727,
-0.08681689947843552,
-0.006413383409380913,
-0.16028791666030884,
0.2936158776283264,
0.19380265474319458,
0.1545356661081314,
-0.21321916580200195,
-0.10559120774269104,
0.31995889544487,
0.21938371658325195,
-0.049965955317020416,
-0.2981789708137512,
-0.18535907566547394,
-0.21743445098400116,
0.04132015258073807,
-0.19675607979297638,
-0.06390821188688278,
0.10196692496538162,
-0.00001809889727155678,
-0.020976049825549126,
-0.09959650784730911,
0.08692438900470734,
-0.22545017302036285,
0.26970675587654114,
-0.1732001006603241,
0.03487471118569374,
0.26997774839401245,
-0.04491699859499931,
0.3573743999004364,
0.30325251817703247,
0.35110944509506226,
0.35063502192497253,
0.29564303159713745,
0.2215099036693573,
0.04628229886293411,
-0.02757961116731167,
-0.07052787393331528,
-0.14133962988853455,
-0.2378988116979599,
0.008592727594077587,
0.07536447048187256,
0.11463338881731033,
0.02223268151283264,
-0.08800328522920609,
-0.2414204627275467,
-0.09090827405452728,
-0.17667391896247864,
0.23094266653060913,
-0.12480234354734421,
-0.25024059414863586,
-0.17322848737239838,
0.16439785063266754,
-0.14074315130710602,
-0.23054437339305878,
0.3772287964820862,
0.055609896779060364,
0.049301907420158386,
0.10842515528202057,
0.018488580361008644,
-0.11838152259588242,
0.44385865330696106,
0.40539562702178955,
0.03935874253511429,
-0.050695937126874924,
-0.35498446226119995,
-0.6613138318061829,
0.25252893567085266,
0.043111711740493774,
-0.343435674905777,
0.020299555733799934,
-0.03655294328927994,
-0.24313899874687195,
-0.014977248385548592,
0.32159334421157837,
-0.19569869339466095,
-0.07188303023576736,
0.0016667074523866177,
-0.012256758287549019,
-0.3665524423122406,
-0.10385430604219437,
0.28377509117126465,
0.020628247410058975,
-0.30847638845443726,
0.17895984649658203,
-0.16885803639888763,
-0.07212523370981216,
0.003101164707913995,
-0.16266664862632751,
0.21847829222679138,
-0.44748079776763916,
0.22141538560390472,
0.0423123873770237,
0.3322555720806122,
0.01572432368993759,
-0.3238588869571686,
-0.45203056931495667,
-0.21656064689159393,
-0.24480405449867249,
0.28284952044487,
-0.3794674277305603,
0.16711142659187317,
-0.14895735681056976,
0.28271448612213135,
-0.5202068090438843,
-0.0893789678812027,
-0.14397269487380981,
0.35474255681037903,
-0.11200255155563354,
-0.056618209928274155,
-0.055804040282964706,
-0.13559021055698395,
0.39626428484916687,
-0.10837148129940033,
-0.007828804664313793,
-0.04984042048454285,
-0.3642442226409912,
-0.045476172119379044,
0.41134047508239746,
-0.2912551164627075,
-0.1576843559741974,
-0.19809505343437195,
0.27255749702453613,
-0.09348253905773163,
-0.18713834881782532,
-0.2544820010662079,
-0.07944271713495255,
0.29329949617385864,
0.25105828046798706,
-0.16497507691383362,
0.028510935604572296,
0.015741603448987007,
0.06465091556310654,
0.06831235438585281,
-0.08313000202178955,
0.028445269912481308,
-0.36816903948783875,
0.026878077536821365,
-0.16578124463558197
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
This command will update your local file. Then you can open a Pull Request to push your fix to the github repo :)
And yes you are right, it is a "canonical" dataset, i.e. a dataset script defined in this github repo (as opposed to dataset repositories of users on the huggingface hub)
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 53
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
This command will update your local file. Then you can open a Pull Request to push your fix to the github repo :)
And yes you are right, it is a "canonical" dataset, i.e. a dataset script defined in this github repo (as opposed to dataset repositories of users on the huggingface hub)
|
[
-0.23356692492961884,
-0.11886024475097656,
0.01896364800632,
-0.1395547091960907,
0.01611149124801159,
-0.00598343787714839,
0.17576420307159424,
0.3258335292339325,
0.20678576827049255,
-0.049147702753543854,
0.12043043971061707,
-0.04489609971642494,
0.209699347615242,
0.4580942392349243,
0.18855440616607666,
-0.08569958806037903,
0.07323198020458221,
0.004608464892953634,
-0.3236831724643707,
-0.038363777101039886,
-0.27027666568756104,
0.3223569393157959,
-0.1850290596485138,
0.13544942438602448,
-0.23891878128051758,
0.13539960980415344,
-0.1885150969028473,
0.19838419556617737,
-0.18058989942073822,
-0.4625663161277771,
0.5045477747917175,
0.24002620577812195,
0.15592913329601288,
0.19239933788776398,
-0.00010926471441052854,
-0.024588029831647873,
0.3951178193092346,
-0.1717742681503296,
-0.1087755486369133,
-0.011409077793359756,
-0.3153643310070038,
-0.3022521138191223,
0.010128670372068882,
-0.2516598403453827,
0.03988214209675789,
-0.10557116568088531,
0.1627427637577057,
0.2556881904602051,
0.21351760625839233,
0.4070448875427246,
0.25830012559890747,
0.42199447751045227,
0.4020577371120453,
-0.16563226282596588,
-0.09692429006099701,
0.045184265822172165,
-0.18396306037902832,
0.0846114382147789,
0.13925223052501678,
-0.16583937406539917,
-0.007946801371872425,
0.2628327012062073,
0.038065262138843536,
0.17740686237812042,
0.36837297677993774,
0.0332367904484272,
0.2770969271659851,
-0.4773368537425995,
0.17774850130081177,
0.24263451993465424,
0.7822636961936951,
-0.34990614652633667,
-0.2700638771057129,
0.083693727850914,
0.055504243820905685,
-0.08595804125070572,
0.14425791800022125,
0.08368261903524399,
-0.18380172550678253,
0.2145695835351944,
-0.027069371193647385,
-0.197406604886055,
-0.14740584790706635,
0.19893401861190796,
-0.11475817114114761,
0.47399038076400757,
-0.04183105006814003,
0.11007467657327652,
0.2187185138463974,
-0.1721973419189453,
-0.03838919475674629,
0.2162337750196457,
-0.12919150292873383,
0.09959043562412262,
0.027194524183869362,
-0.16127140820026398,
-0.039503034204244614,
0.12775211036205292,
0.2365034520626068,
0.12150812894105911,
-0.19188366830348969,
0.010319944471120834,
-0.19549356400966644,
-0.07490698993206024,
0.3661401867866516,
-0.024685611948370934,
0.037759263068437576,
-0.2054489403963089,
0.6392716765403748,
0.48783543705940247,
0.13467955589294434,
0.040579356253147125,
0.15307267010211945,
-0.3119666576385498,
-0.2728497385978699,
-0.020996417850255966,
0.4147319495677948,
-0.2358132153749466,
-0.194668710231781,
-0.22940215468406677,
0.2842096984386444,
0.048509012907743454,
-0.12422004342079163,
0.2408168464899063,
-0.06433172523975372,
0.22119252383708954,
-0.013327958062291145,
0.041408732533454895,
-0.1770205795764923,
-0.2442881315946579,
-0.13930602371692657,
0.037598323076963425,
0.1275276392698288,
0.026943473145365715,
0.13335676491260529,
-0.017166743054986,
0.205020934343338,
-0.0505635105073452,
-0.06817509233951569,
-0.09549880027770996,
-0.3666028380393982,
0.2655596435070038,
-0.03676595166325569,
0.22117210924625397,
-0.18859243392944336,
0.22258083522319794,
0.13221760094165802,
-0.15584711730480194,
-0.24495065212249756,
0.11672567576169968,
-0.242259681224823,
-0.33355554938316345,
-0.36201614141464233,
0.12754763662815094,
-0.32409176230430603,
-0.27065446972846985,
0.09014615416526794,
0.02858322486281395,
-0.24508877098560333,
-0.10809909552335739,
0.00435211043804884,
-0.043062418699264526,
-0.3726973235607147,
-0.17731204628944397,
0.28031399846076965,
0.5215450525283813,
-0.4167294204235077,
-0.2620272934436798,
-0.12027569860219955,
-0.24335946142673492,
0.07997763156890869,
0.34577128291130066,
-0.18079662322998047,
0.16309714317321777,
-0.2910604178905487,
0.24941623210906982,
0.24087585508823395,
-0.3563622236251831,
-0.673632025718689,
-0.024150174111127853,
-0.023421183228492737,
-0.10644746571779251,
-0.0478004589676857,
0.19576776027679443,
0.09924779087305069,
-0.26807525753974915,
-0.33196550607681274,
0.13649015128612518,
0.07735753059387207,
0.18631574511528015,
-0.22930340468883514,
-0.587364137172699,
0.15022100508213043,
0.07757779955863953,
0.07903195172548294,
-0.034824494272470474,
0.2630719244480133,
0.2338414341211319,
0.35383737087249756,
-0.022407112643122673,
0.09534280002117157,
0.2815830707550049,
0.40125274658203125,
0.17912326753139496,
0.21523573994636536,
0.0869176834821701,
-0.2827005386352539,
0.1946861743927002,
0.1992512345314026,
0.26348498463630676,
-0.23978011310100555,
-0.21289944648742676,
-0.5051891207695007,
-0.099764384329319,
-0.3482341468334198,
-0.25332245230674744,
0.13733026385307312,
0.06070118024945259,
0.037696193903684616,
-0.0402488075196743,
-0.36641189455986023,
0.35279586911201477,
-0.2735738754272461,
-0.01820497028529644,
-0.1620042622089386,
0.4413325786590576,
-0.17378078401088715,
-0.035893894731998444,
0.21600988507270813,
0.21365290880203247,
0.1147463247179985,
-0.21470093727111816,
-0.1133197620511055,
0.385525107383728,
-0.20433902740478516,
0.2543192505836487,
0.2713082730770111,
0.29598861932754517,
0.1429634988307953,
-0.4405149519443512,
0.07826503366231918,
0.26040157675743103,
0.002607472240924835,
0.12079057842493057,
-0.14127331972122192,
-0.03893780708312988,
0.03357084095478058,
0.10484563559293747,
-0.017928019165992737,
0.17264513671398163,
0.43519794940948486,
-0.14814338088035583,
-0.13889870047569275,
-0.22318385541439056,
-0.2020290344953537,
-0.27903005480766296,
-0.19091172516345978,
-0.12204155325889587,
-0.09434259682893753,
0.19531933963298798,
0.6526306867599487,
-0.08113434165716171,
0.19340580701828003,
0.30592429637908936,
-0.08804082125425339,
-0.08349180221557617,
-0.06569764763116837,
0.2408772110939026,
0.26778098940849304,
0.027258677408099174,
-0.15459054708480835,
0.18929407000541687,
0.017677066847682,
-0.07309462875127792,
0.10901601612567902,
0.0896601676940918,
-0.1755729466676712,
0.030162371695041656,
-0.0732034295797348,
-0.08097100257873535,
-0.2738889455795288,
0.29197850823402405,
-0.0533326230943203,
0.3131771683692932,
-0.2786053717136383,
-0.1210925281047821,
-0.3761153817176819,
-0.47344398498535156,
-0.280119925737381,
0.16655810177326202,
-0.3854687809944153,
-0.3420075476169586,
0.0037452317774295807,
0.25561460852622986,
-0.11190403997898102,
0.21810507774353027,
0.15161995589733124,
0.3672235906124115,
-0.10042382031679153,
0.1979852169752121,
-0.23050369322299957,
-0.2315601408481598,
-0.24340929090976715,
0.056247513741254807,
0.3037794828414917,
0.13997691869735718,
0.30244430899620056,
-0.6965798139572144,
-0.0006321950349956751,
-0.9145690202713013,
-0.28006765246391296,
0.11373072117567062,
0.07845430821180344,
0.23368600010871887,
0.3152011036872864,
0.47181186079978943,
0.036250170320272446,
-0.09299107640981674,
0.19160506129264832,
-0.33349061012268066,
0.044596146792173386,
-0.2865604758262634,
-0.2028501331806183,
0.03585484251379967,
-0.01497658807784319,
-0.1837148219347,
-0.48965179920196533,
-0.3156401216983795,
0.2744002938270569,
-0.02823905646800995,
0.030896123498678207,
0.029481401666998863,
0.0008586237672716379,
-0.06270711869001389,
0.011219026520848274,
-0.23042304813861847,
-0.1335797905921936,
0.1109149307012558,
0.40650486946105957,
-0.1313944309949875,
-0.5269100666046143,
0.23077307641506195,
0.15088821947574615,
0.1147911325097084,
-0.2585179805755615,
-0.5553164482116699,
-0.31045711040496826,
-0.04628778249025345,
0.416047602891922,
0.1070752665400505,
0.31481507420539856,
0.2358894646167755,
-0.04793454706668854,
-0.059330761432647705,
-0.05565446615219116,
-0.3613804876804352,
-0.046739913523197174,
0.3273715078830719,
0.3528592884540558,
0.38381674885749817,
0.2802630066871643,
-0.013092424720525742,
0.42801108956336975,
0.10910151153802872,
-0.042183008044958115,
0.2324945628643036,
-0.34164464473724365,
0.31441807746887207,
-0.10110588371753693,
-0.3127943277359009,
0.2138315737247467,
-0.21301224827766418,
0.24228957295417786,
0.36997348070144653,
0.1163373664021492,
0.1208556741476059,
-0.06257828325033188,
-0.22832244634628296,
-0.1877697855234146,
-0.4996323883533478,
-0.19159641861915588,
0.5330435633659363,
0.08644194155931473,
0.2457367330789566,
0.027589542791247368,
-0.3073691129684448,
-0.22191274166107178,
0.5058282017707825,
0.523897647857666,
-0.15147525072097778,
0.1856851726770401,
0.17079812288284302,
-0.012558221817016602,
-0.47555896639823914,
0.17101088166236877,
0.0400472991168499,
0.19654323160648346,
0.004943043924868107,
0.027560582384467125,
0.17324252426624298,
-0.07844275236129761,
0.6037282347679138,
-0.04728362709283829,
0.14951512217521667,
0.05079251155257225,
0.16442342102527618,
-0.07536917924880981,
-0.11667457967996597,
0.014950198121368885,
0.2956693172454834,
0.08638034760951996,
0.15832673013210297,
-0.12830640375614166,
-0.3624594807624817,
0.44384387135505676,
0.3782398998737335,
-0.24684053659439087,
-0.11089862883090973,
-0.017087422311306,
-0.6500025391578674,
-0.5062063932418823,
-0.1907251924276352,
0.03735142946243286,
-0.14126424491405487,
-0.061703845858573914,
0.24884486198425293,
0.13067954778671265,
-0.2411835938692093,
-0.09580182284116745,
0.13946327567100525,
0.2625065743923187,
0.4379013776779175,
-0.00974405836313963,
0.2182334065437317,
-0.13646136224269867,
-0.16538822650909424,
0.43128547072410583,
0.07310149818658829,
-0.4082482159137726,
-0.11754076927900314,
-0.2884831726551056,
-0.1285906583070755,
0.2834284007549286,
0.02847706340253353,
-0.02034163475036621,
0.08248049765825272,
0.07023190706968307,
-0.19803296029567719,
0.12828116118907928,
0.45345205068588257,
-0.07996460795402527,
-0.34480103850364685,
-0.3542914390563965,
0.4003821909427643,
-0.11478833109140396,
-0.07752116024494171,
0.37798044085502625,
0.3538377285003662,
-0.04986279085278511,
-0.08948475867509842,
-0.02485922910273075,
0.652633547782898,
0.11468406766653061,
0.0795666053891182,
0.24205265939235687,
-0.10198268294334412,
0.6518208384513855,
-0.04103987291455269,
0.12226328998804092,
-0.32572129368782043,
0.0006453800015151501,
-0.09963159263134003,
0.1505211740732193,
-0.24124735593795776,
-0.0039458125829696655,
-0.08474669605493546,
0.47756221890449524,
0.1514834463596344,
0.1945163756608963,
0.12787562608718872,
0.3077499568462372,
-0.054424017667770386,
-0.13557839393615723,
-0.2700294256210327,
0.21115002036094666,
-0.08851056545972824,
0.603712260723114,
-0.08928178995847702,
-0.16215385496616364,
0.20687592029571533,
-0.1975572407245636,
-0.5399242043495178,
0.04768531769514084,
-0.1331086903810501,
0.31734585762023926,
0.07731490582227707,
0.12148027122020721,
0.06887755542993546,
0.11820616573095322,
0.4526989161968231,
0.06699387729167938,
-0.37286174297332764,
0.26007208228111267,
-0.013128374703228474,
-0.10141759365797043,
-0.010123167186975479,
0.35540345311164856,
0.06443128734827042,
-0.31045010685920715,
-0.4030141830444336,
-0.19978855550289154,
-0.024761609733104706,
-0.22619692981243134,
0.05459767207503319,
-0.19797496497631073,
0.3774765729904175,
0.00336659187451005,
-0.07945944368839264,
-0.05265611410140991,
-0.005354701075702906,
-0.26004597544670105,
0.13644395768642426,
-0.12253966927528381,
0.021039264276623726,
0.12882408499717712,
-0.16153576970100403,
-0.10955827683210373,
-0.01844838447868824,
0.28167834877967834,
-0.27009183168411255,
-0.14042767882347107,
0.4918080270290375,
0.2861502766609192,
-0.016138751059770584,
-0.24394692480564117,
-0.07038690894842148,
-0.039730265736579895,
-0.7922112941741943,
0.11324717104434967,
0.06183334439992905,
0.09776563197374344,
-0.10278204083442688,
0.6565718650817871,
0.19023707509040833,
-0.08658546954393387,
-0.28092995285987854,
-0.41509121656417847,
-0.3234253525733948,
0.09809782356023788,
0.21709513664245605,
0.20838087797164917,
0.08412770926952362,
0.01564829982817173,
0.20161357522010803,
-0.5624886155128479,
-0.3321124017238617,
0.06501533836126328,
-0.08976316452026367,
-0.11266493797302246,
0.5341256260871887,
0.16139985620975494,
0.1736099123954773,
0.05908821150660515,
0.07962954789400101,
-0.04110274836421013,
-0.20694071054458618,
-0.16286830604076385,
-0.31245267391204834,
0.12378324568271637,
-0.1371288299560547,
-0.39706531167030334,
0.08432092517614365,
-0.22419807314872742,
-0.11130649596452713,
0.00924405362457037,
0.11313670873641968,
0.29319843649864197,
-0.007024417631328106,
0.22142164409160614,
0.3557652235031128,
-0.12193221598863602,
0.037872858345508575,
0.14404131472110748,
0.34904560446739197,
0.5711567401885986,
0.07518664002418518,
0.3948974609375,
-0.09187106788158417,
0.10505693405866623,
0.3819192051887512,
0.1560131162405014,
-0.04242528975009918,
-0.05192256718873978,
0.19178156554698944,
-0.17658570408821106,
0.07074286788702011,
0.1867441087961197,
0.16200613975524902,
0.5038244128227234,
-0.26135075092315674,
-0.11057828366756439,
0.2460012584924698,
0.1506226807832718,
-0.33462288975715637,
-0.18288001418113708,
0.26377198100090027,
0.09904651343822479,
-0.04410199820995331,
0.08312961459159851,
0.33452120423316956,
-0.17476212978363037,
0.28953203558921814,
0.09710579365491867,
0.5810632705688477,
-0.2587454319000244,
0.05366706848144531,
0.2354910522699356,
-0.04379598796367645,
0.000787485740147531,
-0.23221388459205627,
0.000957267708145082,
0.21139979362487793,
0.15078383684158325,
-0.20138554275035858,
-0.042767010629177094,
-0.009259050711989403,
0.2668437957763672,
0.0916845053434372,
-0.21972157061100006,
0.23249247670173645,
-0.1332148164510727,
0.03015047311782837,
-0.11367715895175934,
0.19474199414253235,
0.24234434962272644,
-0.032895009964704514,
-0.1802564114332199,
-0.3411659002304077,
0.46578317880630493,
0.15781062841415405,
-0.14608822762966156,
-0.11409212648868561,
-0.14455431699752808,
-0.14629660546779633,
0.1082797646522522,
-0.17094305157661438,
-0.11861193925142288,
0.09379745274782181,
-0.034346163272857666,
-0.07889045774936676,
-0.14610658586025238,
-0.15439118444919586,
-0.123294398188591,
0.37360575795173645,
-0.13283918797969818,
0.1162937730550766,
0.29698219895362854,
0.03825226426124573,
0.22124332189559937,
0.35342276096343994,
0.47453194856643677,
0.17893704771995544,
0.17254428565502167,
0.15857216715812683,
0.0046521322801709175,
-0.09924115985631943,
-0.017581451684236526,
-0.012458653189241886,
-0.08962196856737137,
0.12904927134513855,
0.23050636053085327,
0.18996183574199677,
-0.08551573753356934,
-0.20069043338298798,
-0.15549729764461517,
0.00441479729488492,
-0.11032823473215103,
0.07210829108953476,
-0.2311016023159027,
-0.05671962723135948,
-0.33285200595855713,
0.1490005999803543,
-0.17400117218494415,
-0.1544370800256729,
0.2945478558540344,
0.035046614706516266,
0.12691035866737366,
0.017495322972536087,
0.09802696853876114,
-0.12909696996212006,
0.5321989059448242,
0.3212457001209259,
0.037908926606178284,
-0.022243324667215347,
-0.313305526971817,
-0.7508368492126465,
0.1343325525522232,
0.011783823370933533,
-0.24444156885147095,
0.06562431901693344,
-0.06776172667741776,
-0.1610703319311142,
0.01625891588628292,
0.2551141083240509,
-0.08393944054841995,
0.015144732780754566,
-0.06346193701028824,
-0.059165388345718384,
-0.2827610969543457,
-0.08818034827709198,
0.2552609443664551,
0.11630803346633911,
-0.2039342224597931,
0.11726613342761993,
-0.12346694618463516,
0.018497705459594727,
0.07061101496219635,
-0.08587474375963211,
-0.02249499224126339,
-0.3802754580974579,
0.0649753138422966,
0.11107874661684036,
0.28183966875076294,
-0.186415433883667,
-0.24380852282047272,
-0.4563572108745575,
-0.24518421292304993,
-0.3523598313331604,
0.295723021030426,
-0.23104923963546753,
0.140018031001091,
0.0714985728263855,
0.11894886195659637,
-0.48063036799430847,
0.049963049590587616,
0.020512357354164124,
0.2524644434452057,
-0.25482088327407837,
0.15105897188186646,
-0.12150586396455765,
-0.021984154358506203,
0.3126189410686493,
0.0471850261092186,
-0.16361381113529205,
-0.08446148782968521,
-0.12417098134756088,
-0.17335247993469238,
0.6147264838218689,
-0.26983529329299927,
-0.12955032289028168,
-0.14464078843593597,
0.18612787127494812,
-0.08622725307941437,
-0.2793921232223511,
-0.37921851873397827,
0.15724949538707733,
0.08191615343093872,
0.29102346301078796,
-0.12665940821170807,
0.13687820732593536,
-0.15124377608299255,
0.02808544412255287,
0.0543360635638237,
0.06383490562438965,
0.22393113374710083,
-0.3455144464969635,
0.08397878706455231,
-0.18001599609851837
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
Hi, thanks for the answer.
I gave a try to the problem today. But I encountered an upload error:
```
git push -u origin fix_link_iwslt
Enter passphrase for key '/home2/xuhuizh/.ssh/id_rsa':
ERROR: Permission to huggingface/datasets.git denied to XuhuiZhou.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```
Any insight here?
By the way, when I run the datasets-cli command, it shows the following error, but does not seem to be the error coming from `iwslt.py`
```
Traceback (most recent call last):
File "/home2/xuhuizh/anaconda3/envs/UMT/bin/datasets-cli", line 33, in <module>
sys.exit(load_entry_point('datasets', 'console_scripts', 'datasets-cli')())
File "/home2/xuhuizh/projects/datasets/src/datasets/commands/datasets_cli.py", line 35, in main
service.run()
File "/home2/xuhuizh/projects/datasets/src/datasets/commands/test.py", line 141, in run
try_from_hf_gcs=False,
File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 579, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 639, in _download_and_prepare
self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files"
File "/home2/xuhuizh/projects/datasets/src/datasets/utils/info_utils.py", line 32, in verify_checksums
raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {'https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz'}
```
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 148
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
Hi, thanks for the answer.
I gave a try to the problem today. But I encountered an upload error:
```
git push -u origin fix_link_iwslt
Enter passphrase for key '/home2/xuhuizh/.ssh/id_rsa':
ERROR: Permission to huggingface/datasets.git denied to XuhuiZhou.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```
Any insight here?
By the way, when I run the datasets-cli command, it shows the following error, but does not seem to be the error coming from `iwslt.py`
```
Traceback (most recent call last):
File "/home2/xuhuizh/anaconda3/envs/UMT/bin/datasets-cli", line 33, in <module>
sys.exit(load_entry_point('datasets', 'console_scripts', 'datasets-cli')())
File "/home2/xuhuizh/projects/datasets/src/datasets/commands/datasets_cli.py", line 35, in main
service.run()
File "/home2/xuhuizh/projects/datasets/src/datasets/commands/test.py", line 141, in run
try_from_hf_gcs=False,
File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 579, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/home2/xuhuizh/projects/datasets/src/datasets/builder.py", line 639, in _download_and_prepare
self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files"
File "/home2/xuhuizh/projects/datasets/src/datasets/utils/info_utils.py", line 32, in verify_checksums
raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {'https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz'}
```
|
[
-0.17317768931388855,
-0.010390270501375198,
0.057309746742248535,
-0.03935610130429268,
0.053815655410289764,
-0.012416752986609936,
0.25630003213882446,
0.31276214122772217,
0.11338702589273453,
0.020173728466033936,
0.03134741634130478,
0.018983442336320877,
0.32400187849998474,
0.24096611142158508,
0.16553905606269836,
0.08329468220472336,
0.09354840219020844,
0.007020752876996994,
-0.29775524139404297,
-0.01818385161459446,
-0.24642227590084076,
0.20699523389339447,
-0.18713778257369995,
0.09840579330921173,
-0.06641411781311035,
0.09391527622938156,
-0.14374232292175293,
0.132330521941185,
0.07113351672887802,
-0.5863394141197205,
0.28371256589889526,
0.15161709487438202,
0.2967733144760132,
0.27966177463531494,
-0.00012162748316768557,
-0.02987988479435444,
0.2723467946052551,
-0.133408784866333,
-0.3635319173336029,
-0.02761087380349636,
-0.4098816215991974,
-0.4128105342388153,
-0.25031471252441406,
-0.26979225873947144,
0.12526264786720276,
-0.04704313352704048,
0.05262676253914833,
0.17822979390621185,
0.25513955950737,
0.447021484375,
0.11546438187360764,
0.35423991084098816,
0.40064433217048645,
-0.09960412979125977,
-0.07632767409086227,
0.062417734414339066,
-0.08089206367731094,
0.19452936947345734,
0.17656177282333374,
0.004310373682528734,
0.31907379627227783,
0.12492774426937103,
0.0774349644780159,
0.0930948331952095,
0.24388442933559418,
-0.09956477582454681,
0.4032194912433624,
-0.3919486701488495,
0.22263237833976746,
0.04671107977628708,
0.7577173113822937,
-0.2985821068286896,
-0.5799195170402527,
-0.044237203896045685,
0.15990352630615234,
0.04990506172180176,
0.18546375632286072,
0.04699195921421051,
-0.24841737747192383,
0.3061732053756714,
-0.15145087242126465,
-0.4920487403869629,
-0.2695292532444,
0.35240763425827026,
0.07799150794744492,
0.44475242495536804,
0.060792166739702225,
0.19503945112228394,
0.24973653256893158,
-0.14348594844341278,
0.030761556699872017,
0.11080721020698547,
-0.2411758452653885,
0.16072626411914825,
0.011444669216871262,
-0.10124686360359192,
-0.10412295907735825,
0.18923422694206238,
0.13511642813682556,
0.09794607758522034,
-0.2296358048915863,
-0.06818610429763794,
-0.09950510412454605,
-0.01011483184993267,
0.2546977698802948,
0.0938815027475357,
-0.0022863568738102913,
0.023488415405154228,
0.4250120520591736,
0.42841267585754395,
0.2059701681137085,
-0.06375803798437119,
0.08494199812412262,
-0.3227726221084595,
-0.3013027608394623,
0.0541350319981575,
0.28408053517341614,
-0.15110568702220917,
-0.2094743251800537,
-0.29371708631515503,
0.03997662663459778,
-0.010595675557851791,
-0.07029667496681213,
0.2206258475780487,
-0.1020837128162384,
0.1546015441417694,
0.016657400876283646,
0.14944037795066833,
-0.029269004240632057,
-0.34868156909942627,
0.020251870155334473,
-0.005920981988310814,
-0.008055946789681911,
0.15730959177017212,
0.17373307049274445,
-0.09852012246847153,
0.006229787599295378,
-0.008084425702691078,
-0.23371228575706482,
-0.17634078860282898,
-0.29842692613601685,
0.1085449755191803,
0.1047855019569397,
0.12625452876091003,
-0.1358729898929596,
0.2610061466693878,
0.03455904498696327,
-0.17501242458820343,
-0.06591525673866272,
0.12261264771223068,
-0.3552249073982239,
-0.24120421707630157,
-0.2473457157611847,
0.009010066278278828,
-0.2274763584136963,
-0.17258408665657043,
-0.15141485631465912,
-0.09464138746261597,
-0.1264714151620865,
-0.3580661714076996,
-0.007644870784133673,
0.01925497315824032,
-0.2257644087076187,
-0.1544502228498459,
0.2990475296974182,
0.5962194204330444,
-0.503997802734375,
-0.3450406491756439,
-0.27701637148857117,
-0.20290255546569824,
0.07892823219299316,
0.31904736161231995,
-0.2443765252828598,
0.22599713504314423,
-0.27951863408088684,
0.12838104367256165,
0.3324246108531952,
-0.5260115265846252,
-0.7665930390357971,
0.20688553154468536,
0.014696657657623291,
-0.024541817605495453,
0.01724606193602085,
0.08171872794628143,
0.09004561603069305,
-0.2895278036594391,
-0.6715384721755981,
0.05716551095247269,
0.07817717641592026,
0.11017713695764542,
-0.17484211921691895,
-0.5463123321533203,
0.14033162593841553,
-0.02096172235906124,
0.047642312943935394,
0.24661320447921753,
0.4528534710407257,
0.1625950038433075,
0.4841621518135071,
-0.10683218389749527,
0.2486439347267151,
0.18198804557323456,
0.51030033826828,
0.1815205067396164,
0.1283857524394989,
0.02679593116044998,
-0.32591551542282104,
0.25990617275238037,
0.2652183771133423,
0.11926741898059845,
-0.46959176659584045,
-0.0714317113161087,
-0.3838058412075043,
-0.07783482223749161,
-0.3433729410171509,
-0.10256403684616089,
-0.01724381558597088,
0.21398721635341644,
0.06952878832817078,
-0.019133808091282845,
-0.14085189998149872,
0.23319929838180542,
-0.12024156749248505,
-0.01354068610817194,
-0.09895764291286469,
0.34630823135375977,
-0.16212385892868042,
-0.02245422638952732,
-0.032579414546489716,
0.18843556940555573,
0.2230120599269867,
-0.22817640006542206,
-0.14157384634017944,
0.4947047233581543,
-0.41560760140419006,
0.3229227662086487,
0.25002625584602356,
0.11366482079029083,
0.17533515393733978,
-0.3674820363521576,
0.13240264356136322,
0.22340548038482666,
0.023048315197229385,
0.1755138784646988,
-0.10779275745153427,
-0.20794887840747833,
0.08238665014505386,
0.2169453203678131,
0.01224580779671669,
-0.0019041968043893576,
0.2869502007961273,
-0.16552694141864777,
-0.050465356558561325,
-0.19699448347091675,
-0.11621379852294922,
-0.1363355815410614,
-0.14994892477989197,
-0.1951587200164795,
-0.022400369867682457,
0.1898764669895172,
0.44475236535072327,
-0.07519799470901489,
0.1647152155637741,
0.30013248324394226,
0.04328036308288574,
0.06439321488142014,
-0.05509182810783386,
0.6107311248779297,
0.2716001570224762,
-0.14958001673221588,
-0.2571928799152374,
0.07107516378164291,
0.2623743414878845,
-0.15532396733760834,
0.19136446714401245,
0.06278315931558609,
-0.045987144112586975,
0.08775973320007324,
-0.047350071370601654,
-0.03950725123286247,
0.09108436852693558,
0.21501190960407257,
0.16799716651439667,
0.43879202008247375,
-0.4453454613685608,
-0.006193411536514759,
-0.4293614625930786,
-0.6389658451080322,
-0.20033492147922516,
0.2501915395259857,
-0.23662565648555756,
-0.18587228655815125,
-0.1833367943763733,
0.2103634774684906,
-0.0788784846663475,
0.20534539222717285,
0.03790445998311043,
0.31740614771842957,
-0.08435983955860138,
0.16590267419815063,
-0.2603977918624878,
-0.04834184795618057,
-0.20617014169692993,
-0.06137523055076599,
0.2968950867652893,
-0.07037341594696045,
0.2665001451969147,
-0.5192921757698059,
-0.10636898875236511,
-0.9385630488395691,
-0.040009770542383194,
0.044534310698509216,
0.08853612095117569,
0.24539326131343842,
0.12656539678573608,
0.47470957040786743,
0.1492173671722412,
-0.05959434062242508,
0.23810447752475739,
-0.1594688892364502,
0.12004684656858444,
-0.19298356771469116,
-0.08514440804719925,
0.06527619808912277,
-0.13783779740333557,
-0.1064784899353981,
-0.5346982479095459,
-0.2964922785758972,
0.3588104248046875,
-0.06602886319160461,
0.10812497138977051,
0.09742726385593414,
0.20436155796051025,
-0.07271938025951385,
-0.03734893724322319,
-0.1707760989665985,
0.023580167442560196,
0.040108516812324524,
0.26249024271965027,
-0.0981033444404602,
-0.4878207743167877,
0.13309235870838165,
0.36271488666534424,
0.24138042330741882,
-0.04054831713438034,
-0.40379905700683594,
-0.029323402792215347,
0.028239142149686813,
0.5150364637374878,
-0.0052890777587890625,
0.23201429843902588,
0.06923289597034454,
-0.02977733314037323,
0.07366929948329926,
-0.007637591566890478,
-0.158681720495224,
-0.06324684619903564,
0.23886679112911224,
0.4697847366333008,
0.5023784637451172,
0.5303527116775513,
-0.01605357602238655,
0.31576836109161377,
0.02317848615348339,
0.033022191375494,
0.4492395222187042,
-0.3102988004684448,
0.3521679937839508,
0.18781480193138123,
-0.4714174270629883,
0.18396764993667603,
-0.07332615554332733,
0.2329031378030777,
0.27796924114227295,
-0.0017415409674867988,
0.0659652128815651,
-0.17095015943050385,
-0.2562544047832489,
-0.24032390117645264,
-0.4881180226802826,
-0.23646001517772675,
0.4585447609424591,
0.27655336260795593,
0.28740349411964417,
0.06834450364112854,
-0.4240664839744568,
-0.2522808909416199,
0.4481956660747528,
0.33500200510025024,
0.08278733491897583,
0.16867336630821228,
0.04815613850951195,
-0.2130642980337143,
-0.4461751878261566,
0.2900397777557373,
0.14158688485622406,
0.44099515676498413,
-0.11990920454263687,
0.16558408737182617,
0.13902059197425842,
-0.0851583182811737,
0.5852237343788147,
-0.1715986579656601,
0.19933372735977173,
-0.13694143295288086,
0.3749867081642151,
-0.10454970598220825,
-0.11609724164009094,
0.08920729160308838,
0.27409371733665466,
0.4025425910949707,
0.291891485452652,
-0.16579164564609528,
-0.32085028290748596,
0.22142109274864197,
0.38307222723960876,
-0.22414760291576385,
-0.23012429475784302,
0.0008428151486441493,
-0.3451744019985199,
-0.6933261752128601,
-0.32811450958251953,
-0.0069824871607124805,
-0.08807039260864258,
0.051209039986133575,
0.2241971492767334,
0.2142447978258133,
-0.06778533011674881,
-0.10708429664373398,
-0.0017372806323692203,
0.22216980159282684,
0.4739634692668915,
-0.03938447684049606,
0.18468913435935974,
0.002314705168828368,
0.1761823445558548,
0.3277202546596527,
-0.010734255425632,
-0.25661635398864746,
-0.16085340082645416,
-0.25136470794677734,
-0.11396235227584839,
0.29039880633354187,
-0.032751768827438354,
0.19266277551651,
0.19498659670352936,
0.08923066407442093,
-0.034680966287851334,
-0.05789395421743393,
0.4571623206138611,
-0.11643221229314804,
-0.3752477765083313,
-0.4556732177734375,
0.336127907037735,
-0.24959401786327362,
-0.042885348200798035,
0.18452751636505127,
0.393738329410553,
-0.11252442002296448,
-0.2946992516517639,
-0.14756262302398682,
0.7340784072875977,
0.21023418009281158,
0.012989836744964123,
0.2700054347515106,
0.09168589115142822,
0.6499990224838257,
0.045956678688526154,
0.08656775951385498,
-0.21052195131778717,
0.07528738677501678,
-0.058931998908519745,
0.10290346294641495,
-0.24619528651237488,
0.09280639886856079,
-0.06102153658866882,
0.4542873799800873,
-0.0321815125644207,
0.027830878272652626,
0.16436165571212769,
0.4223261773586273,
-0.12499242275953293,
0.00006534961721627042,
-0.08982663601636887,
0.09600458294153214,
-0.07623451948165894,
0.39922091364860535,
-0.059567179530858994,
-0.17044715583324432,
-0.031148362904787064,
0.02643054537475109,
-0.5818718075752258,
0.194254532456398,
-0.27101102471351624,
0.23841042816638947,
-0.10241958498954773,
-0.001199830323457718,
0.36170104146003723,
0.15046894550323486,
0.35910308361053467,
0.049404896795749664,
-0.3497033715248108,
0.22351695597171783,
-0.1748243123292923,
-0.10817717760801315,
-0.10182873904705048,
0.363026887178421,
0.08838348835706711,
-0.2549305856227875,
-0.5241531729698181,
-0.008661900646984577,
-0.03612332046031952,
-0.23641300201416016,
0.10484223067760468,
-0.16675493121147156,
0.4092424213886261,
-0.0989622101187706,
-0.24618123471736908,
-0.20791220664978027,
-0.1235491931438446,
-0.2296190857887268,
0.021053992211818695,
-0.12083901464939117,
0.13677960634231567,
0.11031947284936905,
-0.26998937129974365,
-0.1645367443561554,
0.046283889561891556,
0.4265492260456085,
-0.45916590094566345,
-0.1281830370426178,
0.7964837551116943,
0.2921907901763916,
-0.06721901148557663,
-0.17165149748325348,
-0.1413627713918686,
-0.14426469802856445,
-0.9090529680252075,
0.06036163866519928,
0.15437866747379303,
0.26765236258506775,
-0.0645495057106018,
0.4446280896663666,
0.12250740081071854,
0.06262589246034622,
-0.21823656558990479,
-0.4203626215457916,
-0.10499237477779388,
0.004581325687468052,
0.2443038523197174,
0.10589892417192459,
-0.07365405559539795,
-0.07442890852689743,
0.1432601362466812,
-0.5616592764854431,
-0.18512354791164398,
0.0277129914611578,
0.004923905245959759,
-0.09340687841176987,
0.6767567992210388,
0.2900310456752777,
0.26093754172325134,
-0.09072719514369965,
-0.027165407314896584,
-0.03771979734301567,
0.0028267723973840475,
-0.02627074345946312,
-0.22351734340190887,
0.18334048986434937,
0.05950375273823738,
-0.4573157727718353,
-0.045393072068691254,
-0.3796970844268799,
0.005225935950875282,
0.02521849237382412,
-0.07692182064056396,
0.11974764615297318,
0.020843882113695145,
0.21083354949951172,
0.260032594203949,
-0.10266353189945221,
-0.04796164110302925,
0.3185768127441406,
0.258270263671875,
0.4589090943336487,
-0.041169825941324234,
0.5171276330947876,
-0.021903101354837418,
0.127280130982399,
-0.1412906050682068,
0.04473063722252846,
0.01381823793053627,
-0.0031939151231199503,
0.30173733830451965,
-0.23994535207748413,
0.19388699531555176,
0.27939650416374207,
0.025715425610542297,
0.3771667182445526,
-0.1780407577753067,
-0.17604872584342957,
0.20112395286560059,
0.0425303652882576,
-0.24722863733768463,
-0.12493786215782166,
0.12320422381162643,
-0.12593798339366913,
-0.10026003420352936,
0.06164234131574631,
0.13258714973926544,
-0.30968621373176575,
0.22274145483970642,
0.07609071582555771,
0.49696898460388184,
-0.1279917061328888,
0.0035035505425184965,
0.4426586925983429,
0.11138907074928284,
0.08243773877620697,
-0.23320069909095764,
0.10570769011974335,
0.10845483094453812,
0.12356632947921753,
-0.43348610401153564,
-0.17885246872901917,
0.13832230865955353,
0.24263352155685425,
0.010389363393187523,
-0.3338913023471832,
0.1450665444135666,
-0.18558499217033386,
-0.11396941542625427,
-0.15714196860790253,
0.11353770643472672,
0.2669583857059479,
0.05497714877128601,
-0.21656347811222076,
-0.175853431224823,
0.5872373580932617,
0.20287086069583893,
-0.04734908416867256,
-0.2904473841190338,
-0.23323695361614227,
-0.18760934472084045,
0.0005468660965561867,
-0.19722352921962738,
-0.2776614725589752,
-0.10445555299520493,
0.17969204485416412,
-0.14788390696048737,
-0.23401661217212677,
-0.10566067695617676,
-0.1362771838903427,
0.3717668652534485,
-0.13134153187274933,
0.09575200825929642,
0.19094601273536682,
-0.050035763531923294,
0.20885451138019562,
0.33420488238334656,
0.4915674030780792,
0.28665047883987427,
0.5088068246841431,
0.29473182559013367,
0.07301903516054153,
-0.027413975447416306,
0.13017068803310394,
-0.028519146144390106,
0.010105341672897339,
0.1617378294467926,
0.10697216540575027,
0.06603418290615082,
-0.005749511532485485,
-0.39652132987976074,
-0.08879248052835464,
0.09080012887716293,
-0.11412941664457321,
0.25069659948349,
-0.3444792926311493,
-0.25698885321617126,
-0.3263881802558899,
0.17862506210803986,
-0.14174361526966095,
0.06496347486972809,
0.3046621084213257,
-0.0245970506221056,
0.1086316779255867,
-0.11766713112592697,
0.02141970954835415,
-0.17237310111522675,
0.44637539982795715,
0.40362632274627686,
0.0717267319560051,
-0.1999134123325348,
-0.2780933976173401,
-0.6719227433204651,
0.08964646607637405,
0.02521212212741375,
-0.19610722362995148,
-0.06072818860411644,
-0.07233177125453949,
-0.29909390211105347,
-0.24015110731124878,
0.3871954381465912,
-0.014076821506023407,
0.19449356198310852,
0.1509941965341568,
0.03842401131987572,
-0.25995516777038574,
-0.03533640503883362,
0.3991888463497162,
0.08207917213439941,
-0.22985538840293884,
0.17500397562980652,
-0.3563651740550995,
-0.08082575350999832,
0.08152668923139572,
-0.13140259683132172,
-0.040538907051086426,
-0.30326277017593384,
0.19696176052093506,
0.028637275099754333,
0.28682011365890503,
-0.10246825218200684,
-0.3316037356853485,
-0.48109856247901917,
-0.2985092103481293,
-0.2880399823188782,
0.3028392791748047,
-0.15380308032035828,
0.08846303075551987,
0.05185634270310402,
0.28300541639328003,
-0.5554576516151428,
0.02058676816523075,
-0.11215955018997192,
0.20028872787952423,
-0.08680707216262817,
0.017459232360124588,
-0.011078732088208199,
-0.036352913826704025,
0.49126356840133667,
-0.15437474846839905,
-0.11633983254432678,
0.14052128791809082,
-0.35662126541137695,
-0.07357064634561539,
0.5362961292266846,
-0.35837191343307495,
-0.06597919762134552,
-0.08042191714048386,
0.39463546872138977,
-0.040471695363521576,
-0.2846670150756836,
-0.3354426324367523,
0.059370286762714386,
0.2304166704416275,
0.2856464982032776,
-0.08272955566644669,
0.0828808918595314,
-0.25857070088386536,
0.19653315842151642,
0.14691773056983948,
0.09618712216615677,
0.22465361654758453,
-0.3954991400241852,
0.19248782098293304,
0.06143726035952568
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
Hi ! To create a PR on this repo your must fork it and create a branch on your fork. See how to fork the repo [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md#start-by-preparing-your-environment).
And to make the command work without the `ExpectedMoreDownloadedFiles` error, you just need to use the `--ignore_verifications` flag.
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 45
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
Hi ! To create a PR on this repo your must fork it and create a branch on your fork. See how to fork the repo [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md#start-by-preparing-your-environment).
And to make the command work without the `ExpectedMoreDownloadedFiles` error, you just need to use the `--ignore_verifications` flag.
|
[
-0.2560879588127136,
-0.096769317984581,
0.01785370707511902,
-0.06596130132675171,
0.09448771923780441,
0.04959455505013466,
0.19209614396095276,
0.2611152231693268,
0.16361789405345917,
0.041937585920095444,
0.005066754296422005,
-0.013362361118197441,
0.2525419592857361,
0.39412549138069153,
0.3025111258029938,
-0.175423726439476,
0.15245866775512695,
0.07196957617998123,
-0.21727487444877625,
0.05435610190033913,
-0.20551928877830505,
0.2804815471172333,
-0.23036135733127594,
0.020961051806807518,
-0.11938333511352539,
0.1293286681175232,
-0.3126569092273712,
0.1732150912284851,
-0.17870083451271057,
-0.6029585003852844,
0.31057754158973694,
0.3934974670410156,
0.27431729435920715,
0.2377396672964096,
-0.00012351051555015147,
-0.02324061468243599,
0.3910421133041382,
-0.19182679057121277,
-0.2590366005897522,
-0.026731694117188454,
-0.3742636740207672,
-0.42014992237091064,
-0.14840267598628998,
-0.17796237766742706,
0.07972650974988937,
-0.2863835096359253,
0.10791480541229248,
0.37109848856925964,
0.21913962066173553,
0.3876250684261322,
0.12552185356616974,
0.43912991881370544,
0.5360850691795349,
-0.18453289568424225,
-0.07084095478057861,
0.1065436527132988,
-0.1627681404352188,
0.2750486135482788,
0.1780855506658554,
-0.08070549368858337,
0.20445893704891205,
0.1735396534204483,
-0.020943762734532356,
0.06422140449285507,
0.36604997515678406,
0.1444920003414154,
0.3109259307384491,
-0.41453295946121216,
0.190810427069664,
0.23902654647827148,
0.7586012482643127,
-0.3389018177986145,
-0.4380357265472412,
-0.08681082725524902,
0.1690298616886139,
-0.2703784704208374,
0.148896262049675,
-0.03615080192685127,
-0.1700425148010254,
0.2979435920715332,
-0.16484488546848297,
-0.40389880537986755,
-0.2858359217643738,
0.31313356757164,
0.0762062668800354,
0.44413959980010986,
0.012992873787879944,
0.13729874789714813,
0.4096084535121918,
-0.10149817168712616,
-0.047459643334150314,
0.1721402406692505,
-0.2839394807815552,
0.050690554082393646,
0.16916115581989288,
-0.28524070978164673,
-0.15912555158138275,
0.0787690281867981,
0.30092692375183105,
0.17591556906700134,
-0.32081639766693115,
-0.12623053789138794,
-0.19528743624687195,
-0.09716687351465225,
0.2797217071056366,
0.08892711251974106,
0.02872987650334835,
-0.05191272497177124,
0.4055679142475128,
0.6368991732597351,
0.22585079073905945,
-0.07371211796998978,
0.15132007002830505,
-0.30142942070961,
-0.297427773475647,
-0.08742555230855942,
0.27691328525543213,
-0.1878214329481125,
-0.08032909780740738,
-0.25142407417297363,
0.1449315994977951,
-0.16072280704975128,
-0.08611401915550232,
0.3290611803531647,
-0.11382313072681427,
0.1628999561071396,
0.02083698846399784,
0.170034721493721,
-0.1408056616783142,
-0.2607520520687103,
-0.023827405646443367,
0.03641774132847786,
0.0059570008888840675,
0.15469539165496826,
0.10649637877941132,
0.09815867245197296,
0.18053410947322845,
-0.09652180969715118,
-0.09712645411491394,
-0.18323063850402832,
-0.32976120710372925,
0.1840198040008545,
0.0529414564371109,
0.035384587943553925,
-0.15304715931415558,
0.11695156246423721,
0.02728165127336979,
-0.15503670275211334,
-0.2040175497531891,
0.22597958147525787,
-0.13150551915168762,
-0.3452875018119812,
-0.19030095636844635,
0.0012858626432716846,
-0.2778306305408478,
-0.44541534781455994,
-0.031339649111032486,
0.05218754708766937,
-0.24589958786964417,
-0.21384212374687195,
0.015332074835896492,
0.07654736936092377,
-0.3249956965446472,
-0.11814684420824051,
0.24165408313274384,
0.7265809178352356,
-0.5139046311378479,
-0.2789272964000702,
-0.07644373178482056,
-0.32775115966796875,
0.2245229333639145,
0.2515987753868103,
-0.1615433245897293,
0.24883751571178436,
-0.3000684678554535,
0.0010980133665725589,
0.33113735914230347,
-0.380442351102829,
-0.6101979613304138,
0.1879911720752716,
-0.05406322330236435,
-0.05055827274918556,
0.11244065314531326,
0.12940682470798492,
0.1397237628698349,
-0.32849812507629395,
-0.5146932005882263,
-0.015763288363814354,
-0.023205235600471497,
0.03065471164882183,
-0.1765313595533371,
-0.6106560230255127,
0.20204269886016846,
-0.004053699318319559,
0.06482652574777603,
0.2028806507587433,
0.21946077048778534,
0.25281277298927307,
0.467044860124588,
-0.06755121052265167,
0.09775982797145844,
0.2156457006931305,
0.4710692763328552,
0.2730851173400879,
0.06700912117958069,
0.06013255938887596,
-0.17628899216651917,
0.16271087527275085,
0.1490875482559204,
0.2279658019542694,
-0.21236014366149902,
-0.06180114299058914,
-0.5251757502555847,
-0.1285543441772461,
-0.32353124022483826,
-0.27175912261009216,
-0.028741465881466866,
0.09019281715154648,
0.2446555346250534,
-0.11216117441654205,
-0.25866955518722534,
0.2478957176208496,
-0.22944869101047516,
0.10921835899353027,
-0.12076365202665329,
0.4380159080028534,
-0.21300508081912994,
-0.011913455091416836,
-0.028282659128308296,
0.1945422738790512,
0.23810601234436035,
-0.32130980491638184,
-0.08599245548248291,
0.48237839341163635,
-0.30508923530578613,
0.276286780834198,
0.36184120178222656,
0.20527540147304535,
0.26006606221199036,
-0.42293286323547363,
0.2289717048406601,
0.12326352298259735,
-0.07466541975736618,
0.15778608620166779,
-0.18874995410442352,
-0.09270867705345154,
-0.008855439722537994,
0.26205170154571533,
-0.04181288927793503,
-0.02758048102259636,
0.334898978471756,
-0.19639965891838074,
-0.08839961886405945,
-0.25979679822921753,
-0.20728428661823273,
-0.24967354536056519,
-0.2829413414001465,
-0.2605142593383789,
0.01711701788008213,
0.21265441179275513,
0.41234058141708374,
-0.13853038847446442,
0.02950289659202099,
0.35908272862434387,
0.06739814579486847,
-0.006564238574355841,
-0.21854153275489807,
0.4872535467147827,
0.35764196515083313,
0.020248062908649445,
-0.17378902435302734,
0.19965535402297974,
0.16900596022605896,
-0.07507920265197754,
0.24545976519584656,
0.10359926521778107,
-0.17095184326171875,
0.05860213190317154,
-0.07979495078325272,
-0.047522541135549545,
-0.05193456634879112,
0.11764676868915558,
0.10865030437707901,
0.3397514224052429,
-0.2460729479789734,
-0.06746085733175278,
-0.3342815339565277,
-0.6024011969566345,
-0.34081006050109863,
0.16914746165275574,
-0.321959912776947,
-0.16436168551445007,
-0.03013584576547146,
0.2658134400844574,
-0.03774241358041763,
0.2160298079252243,
0.10990562289953232,
0.25934547185897827,
-0.08485829830169678,
0.14228561520576477,
-0.23889867961406708,
0.018831638619303703,
-0.15929082036018372,
-0.02875480242073536,
0.35455945134162903,
0.06279204040765762,
0.2899089753627777,
-0.5861012935638428,
-0.24623888731002808,
-1.0009719133377075,
-0.187899649143219,
0.11994844675064087,
0.0032078372314572334,
0.15407180786132812,
0.41573548316955566,
0.39132747054100037,
0.2890334129333496,
0.060322634875774384,
0.2781771123409271,
-0.23996864259243011,
0.1530866175889969,
-0.28307536244392395,
-0.1520245522260666,
0.09306354075670242,
-0.05928933247923851,
-0.25696825981140137,
-0.4589642882347107,
-0.22088271379470825,
0.29607662558555603,
0.13601328432559967,
0.11073517799377441,
0.04682718962430954,
0.24368733167648315,
-0.04830437898635864,
0.0023813878651708364,
-0.2082558423280716,
0.009636555798351765,
0.034433264285326004,
0.2957964539527893,
-0.1325063407421112,
-0.4118839204311371,
0.25555017590522766,
0.20018477737903595,
0.02811853401362896,
-0.2047906219959259,
-0.5103383660316467,
-0.3684631884098053,
-0.003445447189733386,
0.406212717294693,
0.05485837906599045,
0.46388188004493713,
0.18918806314468384,
0.06250953674316406,
-0.012223930098116398,
-0.010842678137123585,
-0.3678058683872223,
-0.08956847339868546,
0.197230264544487,
0.5582022070884705,
0.41642263531684875,
0.44344401359558105,
-0.1451856940984726,
0.5577755570411682,
0.08764240145683289,
0.00952041707932949,
0.2989998459815979,
-0.3636429011821747,
0.4048634171485901,
-0.04204416647553444,
-0.3322056233882904,
0.18261218070983887,
-0.19452674686908722,
0.3318018615245819,
0.3361845016479492,
0.14699433743953705,
0.104075126349926,
-0.09481819719076157,
-0.1702922135591507,
-0.13299359381198883,
-0.4028579294681549,
-0.14856339991092682,
0.5888515114784241,
0.14368967711925507,
0.2323761135339737,
0.022848699241876602,
-0.3772391974925995,
-0.14271698892116547,
0.4252016544342041,
0.3784032464027405,
0.030696894973516464,
0.09628413617610931,
0.1603618562221527,
0.00973836611956358,
-0.529910683631897,
0.20296910405158997,
0.05652623623609543,
0.17126396298408508,
0.022038036957383156,
0.08570760488510132,
0.15114982426166534,
-0.06974978744983673,
0.7038930654525757,
-0.1408512145280838,
0.08775091916322708,
-0.006686316337436438,
0.16290980577468872,
0.11044284701347351,
-0.05153092369437218,
-0.03849688544869423,
0.1824558973312378,
0.33319520950317383,
0.14456792175769806,
-0.25905686616897583,
-0.329652339220047,
0.550089955329895,
0.4340193271636963,
-0.18557091057300568,
-0.21353086829185486,
-0.006779761519283056,
-0.4758857190608978,
-0.6366716623306274,
-0.11366412788629532,
-0.05401833355426788,
-0.07404056191444397,
-0.15436795353889465,
0.11386144906282425,
0.256413072347641,
-0.17071066796779633,
-0.15566691756248474,
-0.0892779603600502,
0.1769656389951706,
0.4189609885215759,
-0.05610143765807152,
0.17634877562522888,
-0.05180545151233673,
0.1137763261795044,
0.3967263102531433,
-0.07797728478908539,
-0.387269526720047,
-0.12442710250616074,
-0.2225024402141571,
-0.10311072319746017,
0.3866264224052429,
0.09103717654943466,
0.10346968472003937,
0.2654758095741272,
0.17718522250652313,
-0.07700667530298233,
0.05650679022073746,
0.4585668444633484,
-0.07647427171468735,
-0.3969676196575165,
-0.45412757992744446,
0.3306320905685425,
-0.12287220358848572,
0.016230765730142593,
0.2529262602329254,
0.42267680168151855,
-0.10934657603502274,
-0.21920114755630493,
-0.1736411154270172,
0.9077016711235046,
0.08279340714216232,
0.03477344661951065,
0.27126798033714294,
-0.10254891216754913,
0.6737485527992249,
-0.131731316447258,
0.13284236192703247,
-0.2610991597175598,
-0.049231261014938354,
-0.08136827498674393,
0.1012214794754982,
-0.1558440774679184,
0.06356605887413025,
-0.126163050532341,
0.45672106742858887,
0.05989239737391472,
-0.014063773676753044,
0.19176733493804932,
0.4202847480773926,
-0.11783096939325333,
-0.1718248724937439,
-0.30968430638313293,
0.07607779651880264,
0.07585445046424866,
0.4237980842590332,
-0.12206768244504929,
-0.1469484269618988,
0.14396680891513824,
-0.21936528384685516,
-0.6025190353393555,
0.0687762051820755,
-0.20065028965473175,
0.08746641874313354,
0.13611166179180145,
0.07313630729913712,
0.24864910542964935,
0.1761370450258255,
0.41824978590011597,
0.09585118293762207,
-0.37947016954421997,
0.22383752465248108,
-0.15559522807598114,
-0.1785186380147934,
-0.0702657550573349,
0.32493484020233154,
-0.06142745167016983,
-0.25740888714790344,
-0.4357287287712097,
-0.2055083066225052,
-0.011179551482200623,
-0.29999998211860657,
0.1022261381149292,
-0.25200340151786804,
0.5220286846160889,
-0.11844679713249207,
-0.09680382162332535,
-0.07299011200666428,
-0.1612091213464737,
-0.34481704235076904,
0.018516497686505318,
-0.04427051916718483,
-0.11205453425645828,
0.03909311443567276,
-0.1782473623752594,
-0.05704211816191673,
-0.08962453901767731,
0.23396220803260803,
-0.3715411424636841,
-0.18170279264450073,
0.5752367377281189,
0.3446538746356964,
-0.015579953789710999,
-0.23055945336818695,
-0.2190043330192566,
-0.22226601839065552,
-0.8353118300437927,
0.18356700241565704,
0.29157793521881104,
0.1671949028968811,
-0.06725132465362549,
0.5296763181686401,
0.15224581956863403,
0.07857788354158401,
-0.1942712366580963,
-0.35216224193573,
-0.2618647515773773,
-0.002398028504103422,
0.23421676456928253,
0.19489651918411255,
-0.006325070280581713,
-0.00036732747685164213,
0.13841558992862701,
-0.47744879126548767,
-0.19389721751213074,
0.009214845485985279,
0.0637504905462265,
-0.09112554043531418,
0.6803831458091736,
0.1719939261674881,
0.26997098326683044,
0.025804342702031136,
0.00682506849989295,
0.036996908485889435,
-0.010118132457137108,
-0.011071029119193554,
-0.2875045835971832,
0.18071752786636353,
-0.13701286911964417,
-0.41305622458457947,
0.02677476964890957,
-0.10238905251026154,
-0.07607521861791611,
-0.03437264636158943,
0.0697002187371254,
0.1879001408815384,
-0.06361646205186844,
0.07086843252182007,
0.4111158549785614,
-0.14884352684020996,
-0.13037362694740295,
0.14191704988479614,
0.3417852818965912,
0.5433331727981567,
0.14605480432510376,
0.3977504372596741,
-0.09449129551649094,
0.08448483794927597,
0.1740996241569519,
0.12183289229869843,
0.2144075483083725,
0.046066150069236755,
0.3353443443775177,
-0.13723959028720856,
0.06465158611536026,
0.31660398840904236,
0.20939210057258606,
0.4750917851924896,
-0.10007373243570328,
-0.07563822716474533,
0.3047197163105011,
0.03431426361203194,
-0.32811814546585083,
-0.15996381640434265,
0.2656964063644409,
-0.04413185268640518,
-0.0775054395198822,
0.21222887933254242,
0.17083525657653809,
-0.15684391558170319,
0.33836549520492554,
0.11900685727596283,
0.40636730194091797,
-0.20767848193645477,
0.10749950259923935,
0.3448403477668762,
-0.018434036523103714,
0.0205213725566864,
-0.0840308740735054,
0.054331254214048386,
0.1479147970676422,
-0.006915890611708164,
-0.33258068561553955,
0.0007735195104032755,
-0.04410732537508011,
0.32875704765319824,
-0.06991271674633026,
-0.33609163761138916,
0.18083059787750244,
-0.1923002451658249,
0.12399197369813919,
-0.16254523396492004,
0.03267878293991089,
0.3966888189315796,
0.07305385172367096,
-0.12372398376464844,
-0.3008497655391693,
0.49384188652038574,
0.29632052779197693,
-0.17256556451320648,
-0.12682051956653595,
-0.1906031221151352,
-0.136384516954422,
0.06686268001794815,
-0.10833658277988434,
-0.32337772846221924,
0.09206940233707428,
0.004757741000503302,
-0.0773351863026619,
-0.4025574028491974,
-0.13643315434455872,
-0.22812776267528534,
0.328705757856369,
-0.13472488522529602,
0.11916150897741318,
0.22389350831508636,
-0.004815389867872,
0.2363279163837433,
0.2858153283596039,
0.466146856546402,
0.21528492867946625,
0.44491225481033325,
0.20521964132785797,
-0.06394869834184647,
-0.03247494623064995,
0.11891242861747742,
0.04383113235235214,
-0.051588088274002075,
0.1417495459318161,
0.056155458092689514,
0.029295023530721664,
-0.0215988177806139,
-0.3440892994403839,
-0.05173569545149803,
-0.06654352694749832,
-0.13672897219657898,
0.32351917028427124,
-0.0757751315832138,
-0.1349947452545166,
-0.49743109941482544,
0.18117927014827728,
-0.20728735625743866,
-0.050731826573610306,
0.20207370817661285,
-0.060568008571863174,
0.03585535287857056,
0.05794548988342285,
0.007143768947571516,
-0.08926548063755035,
0.3542533814907074,
0.39613503217697144,
0.057139378041028976,
-0.23316915333271027,
-0.13735049962997437,
-0.6080142855644226,
0.07228173315525055,
0.029527483507990837,
-0.2606548070907593,
-0.16070833802223206,
-0.0504690445959568,
-0.24220800399780273,
-0.006701042875647545,
0.3835417926311493,
-0.11394605040550232,
0.26810353994369507,
0.12058547139167786,
-0.03899354860186577,
-0.19143234193325043,
-0.12587635219097137,
0.4343542754650116,
0.10690787434577942,
-0.13476194441318512,
0.05513829365372658,
-0.11802081018686295,
-0.13624747097492218,
0.16710716485977173,
-0.03452760726213455,
-0.12864786386489868,
-0.3072926700115204,
0.14296001195907593,
0.07705742120742798,
0.37179040908813477,
-0.15293756127357483,
-0.3054274618625641,
-0.48343273997306824,
-0.2226255089044571,
-0.41714558005332947,
0.2702676057815552,
-0.08217181265354156,
0.071791872382164,
-0.03312213346362114,
0.1794092357158661,
-0.5594056844711304,
0.05336984619498253,
0.04798887297511101,
0.2227482795715332,
-0.20276899635791779,
0.14648230373859406,
-0.04881851747632027,
-0.03361409902572632,
0.41084352135658264,
-0.08755075931549072,
-0.11982708424329758,
-0.04907793924212456,
-0.24095518887043,
-0.009732761420309544,
0.6197202801704407,
-0.21841487288475037,
-0.10496404767036438,
-0.07501829415559769,
0.21928896009922028,
-0.03596895560622215,
-0.3054167926311493,
-0.432717889547348,
0.17024827003479004,
0.11237917840480804,
0.2900765538215637,
-0.07367365062236786,
0.21342915296554565,
-0.3135065734386444,
0.09390652179718018,
0.06361985951662064,
0.20414073765277863,
0.1747087985277176,
-0.3216531276702881,
0.033929843455553055,
-0.060759298503398895
] |
https://github.com/huggingface/datasets/issues/2076
|
Issue: Dataset download error
|
Hi @XuhuiZhou,
As @lhoestq has well explained, you need to fork HF's repository, create a feature branch in your fork, push your changes to it and then open a Pull Request to HF's upstream repository. This is so because at HuggingFace Datasets we follow a development model called "Fork and Pull Model". You can find more information here:
- [Understanding the GitHub flow](https://guides.github.com/introduction/flow/)
- [Forking Projects](https://guides.github.com/activities/forking/)
Alternatively, if you find all these steps too complicated, you can use the GitHub official command line tool: [GitHub CLI](https://cli.github.com/). Once installed, in order to create a Pull Request, you only need to use this command:
```shell
gh pr create --web
```
This utility will automatically create the fork, push your changes and open a Pull Request, under the hood.
|
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
| 126
|
Issue: Dataset download error
The download link in `iwslt2017.py` file does not seem to work anymore.
For example, `FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnted/texts/zh/en/zh-en.tgz`
Would be nice if we could modify it script and use the new downloadable link?
Hi @XuhuiZhou,
As @lhoestq has well explained, you need to fork HF's repository, create a feature branch in your fork, push your changes to it and then open a Pull Request to HF's upstream repository. This is so because at HuggingFace Datasets we follow a development model called "Fork and Pull Model". You can find more information here:
- [Understanding the GitHub flow](https://guides.github.com/introduction/flow/)
- [Forking Projects](https://guides.github.com/activities/forking/)
Alternatively, if you find all these steps too complicated, you can use the GitHub official command line tool: [GitHub CLI](https://cli.github.com/). Once installed, in order to create a Pull Request, you only need to use this command:
```shell
gh pr create --web
```
This utility will automatically create the fork, push your changes and open a Pull Request, under the hood.
|
[
-0.21108363568782806,
-0.23542602360248566,
0.053952205926179886,
-0.12035337835550308,
-0.016038542613387108,
0.05731792375445366,
0.07369124889373779,
0.3318694531917572,
0.27531033754348755,
0.03606083616614342,
-0.14635881781578064,
-0.1400410681962967,
0.32786691188812256,
0.3584645092487335,
0.2050696462392807,
-0.16436439752578735,
0.10162869095802307,
0.019257379695773125,
-0.34863969683647156,
-0.02590804733335972,
-0.20463180541992188,
0.16035360097885132,
-0.03233196586370468,
0.09144200384616852,
-0.028047552332282066,
0.019089045003056526,
-0.2939879298210144,
0.3911280632019043,
-0.036370474845170975,
-0.472815603017807,
0.40349507331848145,
0.37018224596977234,
0.20427976548671722,
0.34893155097961426,
-0.00011846523557323962,
0.014252767898142338,
0.23679561913013458,
-0.041091788560152054,
-0.21155492961406708,
-0.10773199051618576,
-0.26459062099456787,
-0.4390314817428589,
-0.13166265189647675,
-0.1381315439939499,
0.03440491855144501,
-0.09121772646903992,
0.158948615193367,
0.33693361282348633,
0.3802196681499481,
0.22557930648326874,
0.12584060430526733,
0.42302656173706055,
0.47105515003204346,
-0.21853847801685333,
0.0862680971622467,
0.06143878772854805,
-0.12821511924266815,
0.29364073276519775,
0.08984098583459854,
-0.059157561510801315,
0.03648846596479416,
0.21529020369052887,
0.07816533744335175,
0.24974477291107178,
0.42191290855407715,
0.0737004429101944,
0.16081632673740387,
-0.3957276940345764,
0.14156819880008698,
0.23851655423641205,
0.631109356880188,
-0.35475918650627136,
-0.37967002391815186,
-0.07608068734407425,
0.03332003578543663,
-0.11449048668146133,
0.14990577101707458,
0.026480937376618385,
-0.16599798202514648,
0.3294632136821747,
0.07866063714027405,
-0.5474177002906799,
-0.23950020968914032,
0.23119433224201202,
0.18107366561889648,
0.2853424847126007,
0.0017947800224646926,
0.0789150670170784,
0.3799142837524414,
-0.13235148787498474,
-0.13234351575374603,
0.15751391649246216,
-0.2554061710834503,
0.10316765308380127,
0.11078378558158875,
-0.2356531023979187,
-0.11034626513719559,
-0.055063147097826004,
0.4048174321651459,
0.061330705881118774,
-0.35432127118110657,
-0.04447432607412338,
-0.25737977027893066,
0.011176091618835926,
0.1744699776172638,
-0.014996797777712345,
-0.17847344279289246,
-0.059996627271175385,
0.4562727212905884,
0.4776795208454132,
0.1987164169549942,
-0.14513975381851196,
0.2203812599182129,
-0.22681736946105957,
-0.36702415347099304,
-0.20109181106090546,
0.4068787097930908,
-0.21968644857406616,
-0.07142037898302078,
-0.3043859601020813,
0.1304100751876831,
-0.05019718408584595,
-0.19430610537528992,
0.4044190049171448,
-0.12183944135904312,
0.03698355704545975,
0.0639912337064743,
0.28103581070899963,
-0.15741877257823944,
-0.21968689560890198,
-0.11348631978034973,
-0.07480090856552124,
0.19717565178871155,
0.18140055239200592,
0.0033577207941561937,
-0.010848574340343475,
0.062283705919981,
0.13432055711746216,
-0.19327327609062195,
-0.12674836814403534,
-0.21926210820674896,
0.2691924571990967,
-0.030507471412420273,
0.20955201983451843,
-0.024965325370430946,
0.21047593653202057,
0.1229594349861145,
-0.11837178468704224,
-0.16439586877822876,
-0.025780249387025833,
-0.22539769113063812,
-0.29729515314102173,
-0.34805572032928467,
0.04384443536400795,
-0.07913994044065475,
-0.30154743790626526,
-0.05415215715765953,
0.0778246596455574,
-0.3137892484664917,
-0.16406258940696716,
0.04726172238588333,
0.16169358789920807,
-0.29039084911346436,
-0.11994437873363495,
0.3145069181919098,
0.6965301632881165,
-0.24584007263183594,
-0.37736839056015015,
-0.1598859578371048,
-0.13595503568649292,
0.07212430238723755,
0.3017195165157318,
-0.14996984601020813,
0.11953358352184296,
-0.271319180727005,
0.16230449080467224,
0.26665589213371277,
-0.43560922145843506,
-0.5098182559013367,
0.22223281860351562,
-0.09000647813081741,
-0.05613439530134201,
0.03602701425552368,
0.09098945558071136,
0.135219007730484,
-0.20806950330734253,
-0.5479171872138977,
0.02845260128378868,
0.0575362853705883,
0.0603865385055542,
-0.2171858847141266,
-0.5456914901733398,
0.04745781794190407,
0.04272527992725372,
0.11204972863197327,
0.348154217004776,
0.416461318731308,
0.11774265021085739,
0.36453911662101746,
-0.18297502398490906,
0.13381685316562653,
0.28972890973091125,
0.5038344264030457,
0.4074417054653168,
0.007104480639100075,
0.030190646648406982,
-0.29823338985443115,
0.1431923657655716,
0.042315270751714706,
0.2540910243988037,
-0.12660707533359528,
-0.1244279220700264,
-0.4942825734615326,
-0.09517930448055267,
-0.2824366092681885,
-0.1889820694923401,
0.0047095646150410175,
0.0679038017988205,
0.06749183684587479,
-0.035571854561567307,
-0.13866066932678223,
0.3957066535949707,
-0.2146781086921692,
0.16613814234733582,
-0.13941393792629242,
0.5787012577056885,
-0.16046200692653656,
0.05813182145357132,
0.1075858399271965,
0.13328954577445984,
0.2444794774055481,
-0.22594106197357178,
-0.15143148601055145,
0.41786861419677734,
-0.42149707674980164,
0.24109569191932678,
0.5301557779312134,
0.20471014082431793,
0.24717393517494202,
-0.5035050511360168,
0.32562440633773804,
0.1582859605550766,
-0.052460480481386185,
0.11651930958032608,
-0.007210069335997105,
-0.03889176994562149,
0.0617162249982357,
0.224024698138237,
0.0515306293964386,
0.06389428675174713,
0.42885246872901917,
-0.22044779360294342,
-0.02487221173942089,
-0.11231424659490585,
-0.22109460830688477,
-0.4116818606853485,
-0.05366244539618492,
-0.3122767210006714,
-0.11003145575523376,
0.2835015058517456,
0.5371804237365723,
-0.13353031873703003,
0.1254919469356537,
0.4350457787513733,
-0.041251152753829956,
0.04135961830615997,
0.01925060525536537,
0.2674678564071655,
0.05427223816514015,
0.07374930381774902,
-0.12890173494815826,
0.2507378160953522,
0.043552741408348083,
0.026672761887311935,
0.15053148567676544,
0.1345542073249817,
-0.0677168220281601,
-0.04254312813282013,
-0.073745496571064,
-0.11197014898061752,
-0.03481993079185486,
0.03372843191027641,
-0.09661073237657547,
0.21125037968158722,
-0.368116557598114,
-0.034629303961992264,
-0.3610076308250427,
-0.6220444440841675,
-0.365547239780426,
0.1438065618276596,
-0.41965052485466003,
-0.25895923376083374,
-0.027066225185990334,
0.31427139043807983,
-0.10005097836256027,
0.15562207996845245,
0.12368346005678177,
0.17500783503055573,
-0.12230446189641953,
0.20792868733406067,
-0.25871238112449646,
-0.05621563270688057,
-0.16043907403945923,
-0.043736331164836884,
0.2674293518066406,
0.20799122750759125,
0.32055753469467163,
-0.5224844217300415,
-0.131716787815094,
-0.9016188979148865,
-0.11449510604143143,
0.21933302283287048,
0.0459599606692791,
0.11469542235136032,
0.32268208265304565,
0.4915752112865448,
0.1684914529323578,
0.0363825224339962,
0.28973597288131714,
-0.12805411219596863,
0.08441369980573654,
-0.27108636498451233,
-0.1807762235403061,
0.11455831676721573,
0.017579764127731323,
-0.0776856392621994,
-0.5018081068992615,
-0.3658221364021301,
0.3381372094154358,
0.0024155154824256897,
0.05087164789438248,
0.20508572459220886,
0.18856769800186157,
0.002441997407004237,
0.1367039531469345,
-0.1255958378314972,
0.009397031739354134,
0.05628935247659683,
0.31248757243156433,
-0.21251770853996277,
-0.342459499835968,
0.3461093604564667,
0.20880872011184692,
-0.06225458160042763,
-0.24583372473716736,
-0.5297688245773315,
-0.1404603123664856,
-0.0356178916990757,
0.5182737112045288,
0.015671303495764732,
0.49503642320632935,
0.17840315401554108,
-0.021653003990650177,
-0.008025397546589375,
-0.036884211003780365,
-0.22312279045581818,
0.05374513566493988,
0.2179124355316162,
0.38349220156669617,
0.4108887016773224,
0.4933069050312042,
-0.10120997577905655,
0.6489821672439575,
0.1351568102836609,
0.09926725178956985,
0.3816058933734894,
-0.2987951636314392,
0.39047786593437195,
-0.14697587490081787,
-0.29864293336868286,
-0.0016430324176326394,
-0.1519542932510376,
0.22343777120113373,
0.30478331446647644,
0.13894741237163544,
0.15923795104026794,
-0.09365414828062057,
-0.3841920495033264,
-0.10081075876951218,
-0.4200044274330139,
-0.1524869054555893,
0.36538034677505493,
0.13393674790859222,
0.22606071829795837,
-0.09653476625680923,
-0.3875349462032318,
-0.14477932453155518,
0.4546307921409607,
0.4856210947036743,
0.07883521169424057,
0.1901090443134308,
0.22115342319011688,
0.03646676242351532,
-0.4469137489795685,
0.290397971868515,
0.13200771808624268,
-0.0227106474339962,
-0.04538809508085251,
0.04289849475026131,
0.1085171326994896,
-0.14097575843334198,
0.5532923340797424,
0.011217842809855938,
0.21674653887748718,
-0.09854976087808609,
0.022988002747297287,
0.09941882640123367,
0.010795433074235916,
0.04371149465441704,
0.18378570675849915,
0.3269141614437103,
0.058639053255319595,
-0.4327535629272461,
-0.4608086049556732,
0.44640830159187317,
0.23598073422908783,
-0.19685928523540497,
-0.008538445457816124,
-0.04121078550815582,
-0.5688753724098206,
-0.7046006917953491,
-0.16785569489002228,
-0.007856636308133602,
-0.1879735291004181,
-0.12093091756105423,
0.07760578393936157,
0.1903197318315506,
-0.15689261257648468,
-0.19720792770385742,
0.007822430692613125,
0.18017779290676117,
0.2754974365234375,
-0.03637418523430824,
0.1566656529903412,
-0.02477143332362175,
0.10787325352430344,
0.49782368540763855,
0.0052096121944487095,
-0.20941045880317688,
-0.13687725365161896,
-0.05394650250673294,
-0.1945207417011261,
0.3270230293273926,
0.214918851852417,
0.279404878616333,
0.5513022541999817,
0.2594560980796814,
-0.2275274097919464,
0.005348748527467251,
0.3613305687904358,
-0.09192973375320435,
-0.34106841683387756,
-0.37209606170654297,
0.5128762722015381,
-0.291917622089386,
0.025315623730421066,
0.30095717310905457,
0.6141796708106995,
-0.04244145005941391,
-0.10704414546489716,
-0.21161481738090515,
0.8171705603599548,
0.1098039448261261,
0.023317482322454453,
0.3205428123474121,
-0.3169650435447693,
0.4993395507335663,
-0.18347463011741638,
-0.07007186859846115,
-0.22372117638587952,
-0.10225711762905121,
-0.12986914813518524,
0.16353677213191986,
-0.1475667506456375,
-0.021166181191802025,
-0.024892138317227364,
0.4875749349594116,
0.21942684054374695,
0.16643165051937103,
0.1990479677915573,
0.40019822120666504,
-0.14821681380271912,
-0.18413619697093964,
-0.3412175476551056,
0.13239192962646484,
-0.10164943337440491,
0.5201219916343689,
-0.04268338531255722,
-0.36069005727767944,
0.03999704495072365,
-0.16363060474395752,
-0.4959307610988617,
0.0977749228477478,
-0.21162118017673492,
0.13163654506206512,
0.06448794156312943,
0.1285906732082367,
0.1896415799856186,
-0.17682026326656342,
0.4203738868236542,
0.08910202980041504,
-0.3705146014690399,
0.2290140986442566,
-0.08219242095947266,
-0.08821677416563034,
-0.0938076302409172,
0.3628080487251282,
0.1292984038591385,
-0.29359763860702515,
-0.4153265953063965,
-0.11989151686429977,
-0.028805416077375412,
-0.39683404564857483,
0.15161897242069244,
-0.3641488254070282,
0.06774691492319107,
-0.04857949540019035,
-0.09872861951589584,
0.07227098196744919,
-0.07356621325016022,
-0.3161444365978241,
0.03890372812747955,
-0.15567035973072052,
-0.09972114115953445,
-0.1470518559217453,
-0.09519682824611664,
-0.004417960066348314,
-0.11973399668931961,
0.21529336273670197,
-0.4728776514530182,
0.02313319779932499,
0.47910070419311523,
0.4317132532596588,
-0.08307575434446335,
-0.13882875442504883,
-0.2956313490867615,
0.0571262501180172,
-0.8023335337638855,
0.2080293744802475,
-0.034723617136478424,
0.12687242031097412,
-0.23694919049739838,
0.5104192495346069,
0.18615059554576874,
0.030340107157826424,
-0.14084091782569885,
-0.3329780399799347,
-0.1892121285200119,
0.14324615895748138,
0.12135043740272522,
0.13899177312850952,
-0.015481370501220226,
0.13250350952148438,
0.1311819702386856,
-0.3261318802833557,
-0.24532726407051086,
-0.059215474873781204,
0.008889376185834408,
-0.14259324967861176,
0.5837334394454956,
0.06773773580789566,
0.3327382802963257,
0.038600072264671326,
-0.0028795076068490744,
-0.0786762684583664,
-0.15129238367080688,
-0.015380097553133965,
-0.3094742000102997,
0.12701848149299622,
-0.19380049407482147,
-0.34636715054512024,
-0.06613028049468994,
-0.2369440644979477,
-0.0994158685207367,
0.024590086191892624,
0.11646775156259537,
0.06737584620714188,
-0.09986791014671326,
0.10071105509996414,
0.32446861267089844,
-0.23288746178150177,
-0.18344171345233917,
0.11278229206800461,
0.4962286651134491,
0.5475101470947266,
-0.1123686134815216,
0.35273244976997375,
-0.21551397442817688,
0.036101631820201874,
0.007223270833492279,
0.15174683928489685,
0.24132396280765533,
-0.12308060377836227,
0.40924280881881714,
-0.09621493518352509,
0.03370830416679382,
0.19937898218631744,
0.27241581678390503,
0.21721811592578888,
-0.030128149315714836,
0.00025186690618284047,
0.19705834984779358,
0.03343041241168976,
-0.24071760475635529,
0.004387753549963236,
0.2773893475532532,
-0.3165879547595978,
0.00014838299830444157,
0.24450825154781342,
0.24342027306556702,
0.032687023282051086,
0.20975033938884735,
0.15460267663002014,
0.384366512298584,
-0.13548904657363892,
-0.005950251594185829,
0.2811078131198883,
-0.056638460606336594,
0.07233704626560211,
-0.14555756747722626,
0.14887648820877075,
0.26660946011543274,
0.08120884001255035,
-0.2176886349916458,
-0.019148703664541245,
-0.00005506362140295096,
0.26462018489837646,
0.06885869055986404,
-0.4345844089984894,
-0.01242870930582285,
-0.18144327402114868,
0.19808916747570038,
-0.12556669116020203,
0.0234945360571146,
0.2571660876274109,
0.07224465161561966,
-0.3908340632915497,
-0.18623249232769012,
0.6675004959106445,
0.2729695439338684,
-0.0067738317884504795,
-0.16179126501083374,
-0.17661583423614502,
-0.2412550002336502,
0.04725443571805954,
-0.1085464283823967,
-0.3009732663631439,
0.14662453532218933,
0.03428542613983154,
0.12586741149425507,
-0.21880657970905304,
-0.05671675503253937,
-0.15338288247585297,
0.355434775352478,
-0.10988558828830719,
0.14943508803844452,
0.3063855469226837,
-0.11608635634183884,
0.09941539913415909,
0.24215832352638245,
0.4903852641582489,
0.08804460614919662,
0.11182139813899994,
0.1783018261194229,
0.13034477829933167,
-0.16388340294361115,
0.14863994717597961,
-0.1357669234275818,
-0.1518826186656952,
0.11627240478992462,
0.10039127618074417,
0.054759301245212555,
-0.09635166823863983,
-0.2757139205932617,
-0.28074169158935547,
0.032741479575634,
-0.12580393254756927,
0.4316260814666748,
-0.18653999269008636,
-0.14931534230709076,
-0.2894165515899658,
0.029516026377677917,
-0.19190511107444763,
0.01205001212656498,
0.1910395622253418,
-0.2029007524251938,
0.01640516147017479,
0.03760053589940071,
0.030353520065546036,
-0.18488077819347382,
0.3830529451370239,
0.3688979148864746,
0.10847592353820801,
-0.040446534752845764,
-0.1493469476699829,
-0.5221024751663208,
-0.09119873493909836,
-0.06462842971086502,
-0.31108686327934265,
0.08188911527395248,
0.02166779339313507,
-0.13555234670639038,
-0.05172491446137428,
0.43420764803886414,
-0.30803996324539185,
0.360853910446167,
0.1353236436843872,
0.12330979108810425,
-0.21881315112113953,
-0.31928402185440063,
0.3344913423061371,
0.10198316723108292,
-0.18569126725196838,
0.10057555884122849,
0.02844185195863247,
-0.10476285219192505,
0.22863130271434784,
0.03140685707330704,
0.06853285431861877,
-0.721794843673706,
0.05771014839410782,
0.010810710489749908,
0.20157431066036224,
-0.2599639296531677,
-0.4110683500766754,
-0.2814140021800995,
-0.3405733108520508,
-0.32819846272468567,
0.10834022611379623,
-0.2560909688472748,
0.34937262535095215,
0.09750789403915405,
0.014631911180913448,
-0.5679985880851746,
0.03933209925889969,
0.1083650216460228,
0.12243573367595673,
-0.16011473536491394,
0.23942673206329346,
-0.21918244659900665,
-0.024632656946778297,
0.5274123549461365,
0.014111475087702274,
-0.08249948918819427,
0.056200988590717316,
-0.30227693915367126,
-0.13463054597377777,
0.5225571393966675,
-0.11658346652984619,
-0.08328624069690704,
-0.040124598890542984,
0.2780078053474426,
0.16978096961975098,
-0.3663470447063446,
-0.46278879046440125,
0.13638028502464294,
0.004142379853874445,
0.2846255898475647,
-0.05903137847781181,
0.2200995832681656,
-0.14469003677368164,
0.0008830518345348537,
0.10614866763353348,
0.18280644714832306,
0.16832946240901947,
-0.3448527753353119,
0.06166819855570793,
-0.01893984153866768
] |
https://github.com/huggingface/datasets/issues/2075
|
ConnectionError: Couldn't reach common_voice.py
|
Hi @LifaSun, thanks for reporting this issue.
Sometimes, GitHub has some connectivity problems. Could you confirm that the problem persists?
|
When I run:
from datasets import load_dataset, load_metric
common_voice_train = load_dataset("common_voice", "zh-CN", split="train+validation")
common_voice_test = load_dataset("common_voice", "zh-CN", split="test")
Got:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/common_voice/common_voice.py
Version:
1.4.1
Thanks! @lhoestq @LysandreJik @thomwolf
| 20
|
ConnectionError: Couldn't reach common_voice.py
When I run:
from datasets import load_dataset, load_metric
common_voice_train = load_dataset("common_voice", "zh-CN", split="train+validation")
common_voice_test = load_dataset("common_voice", "zh-CN", split="test")
Got:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/common_voice/common_voice.py
Version:
1.4.1
Thanks! @lhoestq @LysandreJik @thomwolf
Hi @LifaSun, thanks for reporting this issue.
Sometimes, GitHub has some connectivity problems. Could you confirm that the problem persists?
|
[
-0.48764675855636597,
-0.0846991315484047,
-0.07917778193950653,
-0.004803383722901344,
0.39035549759864807,
0.012986608780920506,
0.2704300582408905,
0.3016328513622284,
-0.0631878674030304,
0.3089756369590759,
-0.21267612278461456,
-0.13470576703548431,
0.12261822074651718,
0.017010046169161797,
-0.009428330697119236,
-0.09317857027053833,
-0.004479211289435625,
0.002983292331919074,
0.19253304600715637,
0.02476973459124565,
-0.038778115063905716,
0.08584340661764145,
-0.17600570619106293,
0.3123496472835541,
-0.1892666220664978,
-0.05078011006116867,
0.05891142785549164,
0.07704446464776993,
-0.21321910619735718,
-0.35607537627220154,
0.46765437722206116,
0.027778517454862595,
-0.041264113038778305,
0.819029688835144,
-0.00011300458572804928,
0.14519207179546356,
0.44140008091926575,
-0.06832507252693176,
-0.3076115548610687,
-0.49457257986068726,
-0.09048028290271759,
-0.016524244099855423,
0.13038752973079681,
0.16184356808662415,
-0.16147850453853607,
0.05184178054332733,
0.06876299530267715,
-0.23081298172473907,
0.3592006266117096,
0.35605916380882263,
0.21533694863319397,
0.20065172016620636,
0.3548300564289093,
-0.18685872852802277,
-0.05210893601179123,
-0.18926171958446503,
-0.02189420722424984,
0.815543532371521,
0.08653388917446136,
-0.2235868126153946,
0.2252187728881836,
0.13622595369815826,
0.11471379548311234,
-0.04245583340525627,
-0.09717196971178055,
-0.044606536626815796,
0.11514715105295181,
-0.30211141705513,
0.04659856855869293,
0.24857375025749207,
0.4080198109149933,
-0.4108532667160034,
-0.33932772278785706,
-0.009670527651906013,
0.06880050152540207,
-0.19190062582492828,
0.179437056183815,
0.07559692859649658,
-0.3747926950454712,
0.08969013392925262,
-0.43958184123039246,
-0.3170166611671448,
-0.16873908042907715,
0.22199517488479614,
-0.038802098482847214,
0.07056215405464172,
-0.11154959350824356,
0.07635311037302017,
0.1780451238155365,
0.00020368624245747924,
-0.34348824620246887,
0.17137977480888367,
0.002052648225799203,
0.40549319982528687,
-0.5099364519119263,
-0.02702988125383854,
-0.24460333585739136,
-0.3834083080291748,
0.3409881591796875,
-0.0012131112162023783,
-0.0660160556435585,
-0.04445831850171089,
-0.21843154728412628,
0.19570326805114746,
0.32386693358421326,
0.2319250851869583,
-0.014553723856806755,
0.22708071768283844,
0.41106322407722473,
0.21892130374908447,
-0.09508704394102097,
-0.04420881345868111,
-0.35073646903038025,
-0.36483234167099,
0.19443079829216003,
-0.013700931333005428,
0.38097378611564636,
-0.3023435175418854,
-0.26574671268463135,
0.09506792575120926,
-0.20451252162456512,
-0.02740144357085228,
-0.048688679933547974,
0.3798324763774872,
-0.13500374555587769,
0.03825416415929794,
-0.12368286401033401,
0.42219528555870056,
-0.11855924874544144,
0.08154066652059555,
-0.21664106845855713,
-0.09030966460704803,
-0.11282605677843094,
0.09766951948404312,
0.049312930554151535,
-0.39842545986175537,
0.20740081369876862,
0.037975702434778214,
0.35722625255584717,
-0.30740585923194885,
-0.08911021798849106,
-0.08565785735845566,
-0.5720183253288269,
0.16423004865646362,
0.053368598222732544,
0.21465130150318146,
0.2993554472923279,
-0.15875674784183502,
-0.11701251566410065,
-0.10496709495782852,
-0.30462446808815,
-0.47165602445602417,
0.048219289630651474,
0.2257327288389206,
-0.010269880294799805,
0.05696237459778786,
-0.40908434987068176,
-0.17717809975147247,
0.1486498862504959,
-0.2936161160469055,
-0.08806076645851135,
-0.30161353945732117,
0.05975670740008354,
-0.13160495460033417,
0.4870415925979614,
0.07138606160879135,
0.05277271568775177,
-0.16944877803325653,
-0.035119350999593735,
-0.10186166316270828,
0.05483149364590645,
0.5269745588302612,
-0.24845688045024872,
0.060139790177345276,
-0.22217799723148346,
0.15609705448150635,
0.5217105746269226,
-0.6526110172271729,
-0.48797306418418884,
0.4022218585014343,
-0.23586927354335785,
0.06717042624950409,
-0.09392882883548737,
-0.2874569892883301,
0.039274588227272034,
-0.03234383463859558,
0.5161749720573425,
0.11746394634246826,
-0.09799471497535706,
-0.19687767326831818,
0.040790803730487823,
-0.2047235518693924,
0.17068062722682953,
0.02111002616584301,
-0.009748202748596668,
0.07873991876840591,
0.1623612940311432,
-0.026978878304362297,
0.4164038300514221,
0.10372854024171829,
0.009008659981191158,
0.2248876541852951,
0.31085145473480225,
-0.22777697443962097,
-0.15559330582618713,
-0.15966373682022095,
0.15187089145183563,
0.1177363321185112,
0.2797791063785553,
0.36925962567329407,
-0.12914636731147766,
-0.12520731985569,
-0.44467562437057495,
-0.02578643523156643,
-0.2310217022895813,
0.062279604375362396,
0.0568089559674263,
0.03203100711107254,
0.06463208794593811,
0.21935458481311798,
-0.18407651782035828,
0.1622602641582489,
-0.28167179226875305,
0.10973357409238815,
-0.13200481235980988,
0.4692257046699524,
-0.2606521248817444,
-0.034806352108716965,
0.22117741405963898,
0.2767655551433563,
0.04564572498202324,
-0.07883913815021515,
-0.21470047533512115,
0.31529849767684937,
-0.31786036491394043,
0.2351754605770111,
0.12059727311134338,
0.2831670641899109,
0.11759522557258606,
-0.5911071300506592,
0.05918620154261589,
0.14855384826660156,
-0.02324059046804905,
0.04245750233530998,
0.37784382700920105,
0.23864097893238068,
0.17280267179012299,
0.4496585726737976,
0.0726332738995552,
0.08587426692247391,
0.29091042280197144,
0.24765679240226746,
-0.13427558541297913,
0.14535772800445557,
0.16169743239879608,
-0.1719188392162323,
0.31922972202301025,
-0.18308396637439728,
-0.34053221344947815,
-0.1651507019996643,
0.3829871118068695,
-0.08322277665138245,
0.10789357870817184,
0.11361577361822128,
-0.1390833705663681,
-0.11291010677814484,
-0.013241302222013474,
-0.008658877573907375,
0.23839350044727325,
0.09118857979774475,
0.010603698901832104,
0.3226592540740967,
-0.2620106339454651,
0.0036356966011226177,
0.054935749620199203,
0.0583229698240757,
0.1743076741695404,
0.2589447796344757,
0.022672584280371666,
-0.021720077842473984,
-0.04566703736782074,
-0.2580970525741577,
-0.20933540165424347,
0.14789052307605743,
-0.18081484735012054,
0.14808477461338043,
-0.08666375279426575,
0.013279901817440987,
-0.08053817600011826,
-0.30495402216911316,
-0.501579761505127,
-0.2510814964771271,
-0.1252114325761795,
0.10890142619609833,
0.3503384292125702,
0.26148897409439087,
-0.039820559322834015,
-0.10080470889806747,
0.190776988863945,
-0.2764281630516052,
0.06049630418419838,
-0.21828590333461761,
-0.22438913583755493,
0.07060550898313522,
0.08442439883947372,
-0.3123197555541992,
0.02334502898156643,
-0.22959071397781372,
-0.13746389746665955,
-0.0782046914100647,
-0.11752954870462418,
0.008350715041160583,
-0.24554815888404846,
0.30561724305152893,
0.18163368105888367,
0.39868131279945374,
0.2330407202243805,
-0.006506587844341993,
0.4217596650123596,
-0.21888145804405212,
-0.02199574001133442,
0.04424716904759407,
-0.06340449303388596,
0.02265634573996067,
0.176735982298851,
-0.2833002209663391,
-0.4118853211402893,
-0.3967006504535675,
0.23751209676265717,
-0.16988815367221832,
0.05010576173663139,
0.2355157732963562,
0.12342575192451477,
-0.04736370965838432,
0.07053414732217789,
0.3045693635940552,
-0.16424322128295898,
-0.3654208481311798,
0.04843001067638397,
-0.08567210286855698,
-0.1601700335741043,
0.17187075316905975,
0.23913253843784332,
0.5762714147567749,
-0.07253662496805191,
-0.4448832869529724,
-0.01685037463903427,
-0.053474608808755875,
0.324232816696167,
0.102110855281353,
-0.007224018219858408,
-0.017046932131052017,
-0.09059686213731766,
-0.05767205357551575,
0.140352264046669,
-0.23528465628623962,
-0.06298127770423889,
0.2043687105178833,
0.3051239848136902,
0.12385096400976181,
0.5398370027542114,
-0.13484497368335724,
0.6648238897323608,
0.2927265763282776,
0.15644332766532898,
0.18793277442455292,
-0.20863915979862213,
0.3413585126399994,
-0.20276907086372375,
-0.4419163167476654,
0.10327958315610886,
-0.1708291918039322,
-0.07576662302017212,
0.08268684148788452,
0.1749291718006134,
0.03571247309446335,
-0.37925970554351807,
-0.45151326060295105,
-0.14046305418014526,
-0.21201004087924957,
-0.23059643805027008,
-0.24948087334632874,
0.09731249511241913,
0.08861906826496124,
-0.02552831918001175,
-0.11314396560192108,
-0.0858873575925827,
-0.016193248331546783,
0.447689026594162,
-0.1347060203552246,
0.13764183223247528,
-0.23221814632415771,
-0.25183987617492676,
-0.30934765934944153,
0.18620304763317108,
0.05720239505171776,
0.41248413920402527,
-0.38715434074401855,
0.1881738156080246,
-0.10863550007343292,
0.023167183622717857,
0.17578603327274323,
-0.12606386840343475,
0.08961591869592667,
0.029684914276003838,
0.00751670403406024,
-0.18143384158611298,
-0.06715063005685806,
0.19485054910182953,
0.33338749408721924,
0.30827298760414124,
0.22687950730323792,
-0.1649070680141449,
0.043611954897642136,
0.15034623444080353,
0.4491622745990753,
0.05210793390870094,
0.03562230244278908,
-0.3161223232746124,
-0.2028128206729889,
-0.3019152283668518,
0.04516834020614624,
0.006408414337784052,
0.3169749975204468,
-0.1787024587392807,
0.0400933213531971,
0.3380238711833954,
-0.2488069385290146,
0.23509317636489868,
0.04588678106665611,
-0.07953854650259018,
-0.35746338963508606,
0.18483123183250427,
0.285829097032547,
0.041811008006334305,
0.06718585640192032,
0.747064471244812,
0.10480234026908875,
-0.5249837636947632,
0.015138113871216774,
0.21057967841625214,
0.3927270472049713,
0.3051038384437561,
0.014523946680128574,
0.21297810971736908,
0.276359885931015,
0.0847400575876236,
-0.027172982692718506,
0.1968185305595398,
0.33587104082107544,
0.33918318152427673,
-0.651229977607727,
-0.5451779961585999,
0.12402035295963287,
-0.1648368388414383,
-0.013387506827712059,
0.30717727541923523,
0.15525022149085999,
-0.13319183886051178,
0.05065187066793442,
-0.5677531957626343,
1.0728425979614258,
0.18511053919792175,
0.08114221692085266,
0.03696981072425842,
-0.04085715115070343,
-0.04295457527041435,
-0.3154565393924713,
0.07942906767129898,
-0.11256254464387894,
-0.10457456111907959,
-0.013575875200331211,
-0.20590798556804657,
0.0688680037856102,
-0.1962573528289795,
-0.07629134505987167,
0.48100194334983826,
-0.08708572387695312,
0.07263267785310745,
0.1857946664094925,
0.2683596909046173,
0.013669794425368309,
0.2445688247680664,
-0.2734527587890625,
0.1776365339756012,
-0.04878956452012062,
0.5176778435707092,
0.0022682601120322943,
-0.09417679160833359,
-0.24350546300411224,
-0.3722909390926361,
-0.36880987882614136,
0.2839079797267914,
-0.11938044428825378,
0.06717553734779358,
0.18565131723880768,
-0.2672017216682434,
0.20501577854156494,
0.17187434434890747,
0.35222476720809937,
0.29816558957099915,
-0.2847108840942383,
0.17621071636676788,
-0.007188440300524235,
-0.07783366739749908,
0.1546151340007782,
0.1250278204679489,
0.05214148387312889,
-0.16791212558746338,
-0.5022823214530945,
0.373226523399353,
-0.015688573941588402,
-0.39645281434059143,
-0.13001376390457153,
-0.244280606508255,
0.008855409920215607,
-0.16381503641605377,
0.20535388588905334,
-0.3347202241420746,
0.1721629500389099,
-0.32364919781684875,
0.1263960301876068,
0.18910273909568787,
-0.18805581331253052,
-0.15979091823101044,
0.20887064933776855,
-0.1925048977136612,
-0.05630253255367279,
0.24884513020515442,
0.04974432662129402,
-0.13858112692832947,
0.4595995843410492,
0.13962990045547485,
-0.04543842375278473,
-0.2443522959947586,
-0.05857230722904205,
0.5368094444274902,
-0.4719844460487366,
-0.028509782627224922,
-0.11123184859752655,
0.19442765414714813,
-0.16582374274730682,
0.44094565510749817,
0.20322121679782867,
-0.0784856528043747,
0.10249927639961243,
-0.46980467438697815,
-0.31293708086013794,
0.19365569949150085,
-0.06157822906970978,
0.20661821961402893,
-0.08160573989152908,
0.10829394310712814,
-0.006719786208122969,
-0.04455962032079697,
-0.2897930145263672,
-0.10779964923858643,
-0.3431861996650696,
0.020967386662960052,
0.3339730203151703,
-0.19140030443668365,
0.3850353956222534,
0.04021702706813812,
0.22577843070030212,
-0.2455054074525833,
-0.18081942200660706,
-0.14693231880664825,
0.02131854183971882,
0.12127604335546494,
0.019761551171541214,
-0.2533617913722992,
0.14565543830394745,
0.05645284429192543,
-0.14737145602703094,
-0.008608988486230373,
0.1858483850955963,
0.048035163432359695,
0.05523143336176872,
-0.13472358882427216,
-0.07230699807405472,
-0.11457978188991547,
0.05437086522579193,
0.11887329071760178,
0.03791969642043114,
0.4012286365032196,
-0.009239724837243557,
0.14576761424541473,
0.015802914276719093,
-0.2288106083869934,
-0.41039416193962097,
0.0634872168302536,
0.11047104746103287,
0.01887769252061844,
0.3517826199531555,
-0.3496556580066681,
0.06948363035917282,
0.048736970871686935,
0.6509898900985718,
0.102227121591568,
-0.35336577892303467,
0.2629568874835968,
0.25021126866340637,
0.15454569458961487,
-0.2229318469762802,
-0.024043353274464607,
0.1632440984249115,
-0.16365376114845276,
-0.017364347353577614,
0.11624293774366379,
0.18226854503154755,
0.05828623101115227,
-0.06752777844667435,
-0.09430434554815292,
0.4997420012950897,
-0.08563175052404404,
0.27289655804634094,
0.16341497004032135,
0.11910387873649597,
-0.00821369607001543,
0.1074972003698349,
0.1330449879169464,
0.04309043660759926,
0.348242849111557,
-0.5331624150276184,
0.09003158658742905,
0.06723014265298843,
-0.09371917694807053,
0.16207195818424225,
-0.17752332985401154,
0.1025068461894989,
0.0001447769463993609,
-0.3571624159812927,
-0.25713256001472473,
-0.19786103069782257,
0.40014907717704773,
-0.3733704090118408,
0.14291143417358398,
-0.23027421534061432,
0.105012446641922,
-0.0553167387843132,
-0.16856111586093903,
0.011749827302992344,
-0.286283940076828,
-0.20233413577079773,
-0.19512967765331268,
0.05820675566792488,
-0.06720263510942459,
0.20153920352458954,
-0.05340765416622162,
0.08703351020812988,
-0.301773339509964,
-0.14262299239635468,
0.2201748490333557,
-0.0625622570514679,
-0.10323256999254227,
0.3250928521156311,
0.10042086243629456,
-0.0980519950389862,
0.23330388963222504,
0.28251463174819946,
0.7588902115821838,
0.17233115434646606,
-0.07945405691862106,
0.21040484309196472,
0.12197796255350113,
-0.13088417053222656,
0.2585342228412628,
0.04861577972769737,
0.21713604032993317,
0.16467206180095673,
0.2685931324958801,
0.2097800225019455,
-0.12167584896087646,
0.22200007736682892,
-0.1417062133550644,
0.0521770678460598,
-0.33148929476737976,
0.4694361090660095,
-0.40282726287841797,
-0.1831299513578415,
-0.49033695459365845,
0.1656343638896942,
-0.4790591895580292,
-0.028008442372083664,
0.42500874400138855,
0.11373145133256912,
0.019625874236226082,
-0.40839675068855286,
0.08693614602088928,
-0.05387090891599655,
0.3900741636753082,
0.3639164865016937,
0.4856368601322174,
-0.10299748927354813,
-0.10191187262535095,
-0.4100945293903351,
0.34743648767471313,
-0.16953806579113007,
-0.06341556459665298,
-0.1056857481598854,
-0.10289352387189865,
0.03268955275416374,
0.2012595385313034,
0.22357474267482758,
-0.14115165174007416,
-0.19967149198055267,
0.012637120671570301,
-0.014284864068031311,
-0.2394854724407196,
-0.0034859557636082172,
0.13725969195365906,
-0.01842307485640049,
-0.21184492111206055,
0.1580020785331726,
-0.4327094256877899,
0.02513684704899788,
0.07089874893426895,
0.12021765112876892,
0.08790180087089539,
-0.3852398693561554,
0.29491353034973145,
0.164331316947937,
0.7388049960136414,
0.027025027200579643,
-0.194334477186203,
-0.08842410147190094,
-0.3569730520248413,
-0.15041106939315796,
-0.009831973351538181,
-0.21857936680316925,
0.43245306611061096,
-0.11282505840063095,
0.028594190254807472,
-0.3783828616142273,
-0.1291135996580124,
-0.033935919404029846,
-0.15412411093711853,
0.021120944991707802,
-0.06828220188617706,
0.038253817707300186,
0.014283544383943081,
0.22067274153232574,
-0.1315782219171524,
0.01659245416522026,
0.09292861074209213,
-0.13904966413974762,
-0.14976850152015686,
0.43212923407554626,
-0.1975659281015396,
-0.2928902506828308,
-0.3356841802597046,
0.2677125036716461,
0.013756576925516129,
-0.10377605259418488,
-0.4707442820072174,
0.27046820521354675,
0.42334434390068054,
0.3171429932117462,
-0.3321474492549896,
0.14375852048397064,
-0.08324194699525833,
0.12601926922798157,
0.16126056015491486,
0.20680460333824158,
-0.3250114619731903,
-0.25657570362091064,
0.09093289077281952,
-0.13418708741664886
] |
https://github.com/huggingface/datasets/issues/2070
|
ArrowInvalid issue for squad v2 dataset
|
Hi ! This error happens when you use `map` in batched mode and then your function doesn't return the same number of values per column.
Indeed since you're using `map` in batched mode, `prepare_validation_features` must take a batch as input (i.e. a dictionary of multiple rows of the dataset), and return a batch.
However it seems like `tokenized_examples` doesn't have the same number of elements in each field. One field seems to have `1180` elements while `candidate_attention_mask` only has `1178`.
|
Hello, I am using the huggingface official question answering example notebook (https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb).
In the prepare_validation_features function, I made some modifications to tokenize a new set of quesions with the original contexts and save them in three different list called candidate_input_dis, candidate_attetion_mask and candidate_token_type_ids. When I try to run the next cell for dataset.map, I got the following error:
`ArrowInvalid: Column 1 named candidate_attention_mask expected length 1180 but got length 1178`
My code is as follows:
```
def generate_candidate_questions(examples):
val_questions = examples["question"]
candididate_questions = random.sample(datasets["train"]["question"], len(val_questions))
candididate_questions = [x[:max_length] for x in candididate_questions]
return candididate_questions
def prepare_validation_features(examples, use_mixing=False):
pad_on_right = tokenizer.padding_side == "right"
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
if use_mixing:
candidate_questions = generate_candidate_questions(examples)
tokenized_candidates = tokenizer(
candidate_questions if pad_on_right else examples["context"],
examples["context"] if pad_on_right else candidate_questions,
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
tokenized_examples["example_id"] = []
if use_mixing:
tokenized_examples["candidate_input_ids"] = tokenized_candidates["input_ids"]
tokenized_examples["candidate_attention_mask"] = tokenized_candidates["attention_mask"]
tokenized_examples["candidate_token_type_ids"] = tokenized_candidates["token_type_ids"]
for i in range(len(tokenized_examples["input_ids"])):
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
tokenized_examples["offset_mapping"][i] = [
(o if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
validation_features = datasets["validation"].map(
lambda xs: prepare_validation_features(xs, True),
batched=True,
remove_columns=datasets["validation"].column_names
)
```
I guess this might happen because of the batched=True. I see similar issues in this repo related to arrow table length mismatch error, but in their cases, the numbers vary a lot. In my case, this error always happens when the expected length and unexpected length are very close. Thanks for the help!
| 80
|
ArrowInvalid issue for squad v2 dataset
Hello, I am using the huggingface official question answering example notebook (https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb).
In the prepare_validation_features function, I made some modifications to tokenize a new set of quesions with the original contexts and save them in three different list called candidate_input_dis, candidate_attetion_mask and candidate_token_type_ids. When I try to run the next cell for dataset.map, I got the following error:
`ArrowInvalid: Column 1 named candidate_attention_mask expected length 1180 but got length 1178`
My code is as follows:
```
def generate_candidate_questions(examples):
val_questions = examples["question"]
candididate_questions = random.sample(datasets["train"]["question"], len(val_questions))
candididate_questions = [x[:max_length] for x in candididate_questions]
return candididate_questions
def prepare_validation_features(examples, use_mixing=False):
pad_on_right = tokenizer.padding_side == "right"
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
if use_mixing:
candidate_questions = generate_candidate_questions(examples)
tokenized_candidates = tokenizer(
candidate_questions if pad_on_right else examples["context"],
examples["context"] if pad_on_right else candidate_questions,
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
tokenized_examples["example_id"] = []
if use_mixing:
tokenized_examples["candidate_input_ids"] = tokenized_candidates["input_ids"]
tokenized_examples["candidate_attention_mask"] = tokenized_candidates["attention_mask"]
tokenized_examples["candidate_token_type_ids"] = tokenized_candidates["token_type_ids"]
for i in range(len(tokenized_examples["input_ids"])):
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
tokenized_examples["offset_mapping"][i] = [
(o if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
validation_features = datasets["validation"].map(
lambda xs: prepare_validation_features(xs, True),
batched=True,
remove_columns=datasets["validation"].column_names
)
```
I guess this might happen because of the batched=True. I see similar issues in this repo related to arrow table length mismatch error, but in their cases, the numbers vary a lot. In my case, this error always happens when the expected length and unexpected length are very close. Thanks for the help!
Hi ! This error happens when you use `map` in batched mode and then your function doesn't return the same number of values per column.
Indeed since you're using `map` in batched mode, `prepare_validation_features` must take a batch as input (i.e. a dictionary of multiple rows of the dataset), and return a batch.
However it seems like `tokenized_examples` doesn't have the same number of elements in each field. One field seems to have `1180` elements while `candidate_attention_mask` only has `1178`.
|
[
0.19508576393127441,
-0.5012046098709106,
0.004113689996302128,
0.2735466957092285,
0.2830940783023834,
-0.0630856528878212,
0.29188692569732666,
0.12445488572120667,
-0.3849654495716095,
0.19322781264781952,
0.06840570271015167,
0.2712973356246948,
0.11750530451536179,
-0.27016159892082214,
-0.07083357870578766,
-0.19420117139816284,
0.0438765287399292,
-0.018505239859223366,
0.16635487973690033,
-0.07367383688688278,
-0.1644648164510727,
0.20849710702896118,
-0.4730282127857208,
0.3151918351650238,
-0.368192195892334,
-0.2792746424674988,
-0.06522932648658752,
-0.1413511484861374,
-0.2085028886795044,
-0.772421658039093,
0.1893930286169052,
-0.2526644468307495,
0.2286592423915863,
0.22693079710006714,
-0.00012930440425407141,
-0.07085087895393372,
0.054648254066705704,
-0.10822766274213791,
-0.22217625379562378,
0.05034635588526726,
0.20060107111930847,
-0.11575393378734589,
0.023500505834817886,
-0.15060292184352875,
0.08626125007867813,
-0.2532852590084076,
-0.2258588671684265,
-0.28372642397880554,
0.5048593878746033,
0.2183135449886322,
0.03984212130308151,
0.3087804913520813,
0.13261671364307404,
-0.01809651218354702,
0.025422416627407074,
0.020715832710266113,
-0.10039927810430527,
-0.06118924915790558,
0.2177814096212387,
-0.016630807891488075,
0.11068739742040634,
0.6158599853515625,
0.23637962341308594,
0.12036396563053131,
0.3287782669067383,
-0.08447179943323135,
0.05125155299901962,
-0.2424859255552292,
0.16215746104717255,
0.19877156615257263,
0.12032178044319153,
-0.08065573871135712,
-0.29923921823501587,
-0.308287113904953,
0.22351866960525513,
-0.017558448016643524,
0.14167693257331848,
-0.16003161668777466,
0.22672460973262787,
0.07995136827230453,
-0.021158721297979355,
0.2763737142086029,
-0.2309044450521469,
0.12465693801641464,
0.15557526051998138,
0.058197271078825,
-0.1273336112499237,
0.3357897698879242,
0.08436906337738037,
-0.43023180961608887,
-0.34508493542671204,
0.17992955446243286,
-0.17609325051307678,
0.3848995864391327,
-0.47207751870155334,
-0.1346983015537262,
-0.17840026319026947,
-0.23474054038524628,
0.33014947175979614,
-0.12976013123989105,
0.2012554258108139,
-0.08828431367874146,
0.35519424080848694,
0.021871497854590416,
0.07195786386728287,
0.3336799144744873,
0.3085637390613556,
0.4262859523296356,
-0.2180067002773285,
-0.3491991460323334,
0.12054822593927383,
-0.12062110006809235,
-0.25477319955825806,
-0.36651670932769775,
0.22097355127334595,
0.11672346293926239,
0.3846703767776489,
-0.0516374446451664,
-0.3939834237098694,
0.4682808220386505,
-0.7649686932563782,
0.08119802176952362,
-0.00581846758723259,
0.1781892478466034,
0.21982353925704956,
-0.00317098805680871,
-0.1204942986369133,
0.211358442902565,
-0.025923581793904305,
-0.2856937348842621,
-0.02051122672855854,
-0.07507947832345963,
-0.18580740690231323,
0.09066566824913025,
0.057144176214933395,
0.1531471312046051,
0.32493874430656433,
-0.10287400335073471,
0.37993672490119934,
-0.3787396252155304,
0.18798747658729553,
-0.18446876108646393,
0.34553322196006775,
-0.07274089753627777,
-0.30985507369041443,
0.14246241748332977,
0.05842827260494232,
-0.1654936820268631,
-0.053914062678813934,
-0.10272088646888733,
-0.18743441998958588,
-0.12619581818580627,
-0.2425883561372757,
-0.020873023197054863,
0.08112084120512009,
0.16297850012779236,
0.10433792322874069,
0.13195081055164337,
0.24595212936401367,
-0.09680712223052979,
0.3539920151233673,
-0.39053237438201904,
0.12057723850011826,
-0.014522186480462551,
-0.020583005622029305,
0.17087103426456451,
-0.3565441071987152,
-0.15422548353672028,
0.5501695275306702,
0.2950052320957184,
-0.200867161154747,
0.3871438801288605,
-0.15492144227027893,
0.07523655146360397,
-0.15557388961315155,
0.5609906315803528,
0.26752540469169617,
-0.7531763315200806,
-0.3551870584487915,
-0.05030667036771774,
-0.2858436703681946,
-0.05222742259502411,
0.08023221790790558,
-0.13080985844135284,
0.3515366017818451,
0.05596216395497322,
0.050203848630189896,
-0.022152790799736977,
-0.00175681640394032,
0.06744157522916794,
-0.17031115293502808,
-0.06606965512037277,
0.060195162892341614,
-0.05605154484510422,
-0.250439316034317,
-0.20833921432495117,
-0.11537989228963852,
-0.16533486545085907,
0.04653487727046013,
-0.0787101686000824,
0.2557051181793213,
0.3074447512626648,
0.3064410984516144,
0.03710802271962166,
0.2982434630393982,
-0.042451754212379456,
-0.519556999206543,
-0.06737970560789108,
-0.08614945411682129,
-0.05552709475159645,
-0.09347369521856308,
-0.39991918206214905,
-0.4834745526313782,
0.12283752858638763,
-0.25511404871940613,
-0.36266183853149414,
-0.01085718534886837,
0.05586579442024231,
0.15181227028369904,
-0.3138301968574524,
-0.06477899104356766,
0.08779581636190414,
-0.06719204038381577,
0.26884523034095764,
-0.12333695590496063,
-0.01600969024002552,
-0.05952756851911545,
-0.18051010370254517,
0.04528243839740753,
0.19545723497867584,
0.35561585426330566,
-0.06701119244098663,
-0.1062890887260437,
0.3517386019229889,
0.23181484639644623,
-0.10747478902339935,
0.11406443268060684,
-0.1387198567390442,
0.16964584589004517,
-0.25116604566574097,
-0.04637153074145317,
0.15813890099525452,
0.08317877352237701,
0.015389133244752884,
-0.1450784057378769,
0.49665144085884094,
0.08576949685811996,
0.3637124300003052,
-0.35845476388931274,
0.008389356546103954,
0.05687539651989937,
0.15088199079036713,
-0.4269774854183197,
-0.025651507079601288,
-0.12535378336906433,
0.14497622847557068,
0.4017029404640198,
-0.1017792746424675,
-0.05155588313937187,
0.04923376441001892,
0.33588501811027527,
0.035406023263931274,
-0.07634759694337845,
-0.024279924109578133,
-0.09252732992172241,
0.17318721115589142,
0.26312413811683655,
-0.044819850474596024,
0.2035185545682907,
0.12937650084495544,
-0.2184269279241562,
-0.019093673676252365,
-0.014703098684549332,
0.11196676641702652,
0.055593106895685196,
0.06475399434566498,
0.11833267658948898,
0.24950949847698212,
0.3302030563354492,
-0.030567592009902,
-0.18902774155139923,
0.03963816910982132,
0.13063132762908936,
0.09409051388502121,
-0.3066769242286682,
0.21547254920005798,
-0.12222156673669815,
0.19132298231124878,
-0.004255100153386593,
-0.2016807496547699,
-0.012732720002532005,
-0.1387365460395813,
-0.11069466918706894,
0.13547645509243011,
0.05070700868964195,
0.3411775231361389,
0.25397729873657227,
0.34785816073417664,
0.4629749059677124,
0.025127211585640907,
-0.0785272866487503,
-0.060910094529390335,
-0.12765520811080933,
-0.16250108182430267,
0.009655886329710484,
-0.17425964772701263,
0.04418034851551056,
0.27780112624168396,
-0.05065577104687691,
-0.46066880226135254,
-0.6184931993484497,
0.18876586854457855,
-0.14378312230110168,
0.14736832678318024,
0.2346590906381607,
0.1375781148672104,
-0.5523959398269653,
-0.14611369371414185,
0.2825927138328552,
0.1565438061952591,
-0.32983702421188354,
0.007880594581365585,
-0.10757201910018921,
-0.21124741435050964,
0.04802241548895836,
-0.29353082180023193,
-0.1629592627286911,
-0.06165761500597,
0.5795468688011169,
-0.3441350758075714,
-0.10954898595809937,
0.2096656709909439,
0.203957200050354,
0.02862550877034664,
-0.3302959203720093,
-0.14911571145057678,
-0.2724183201789856,
0.1424405723810196,
0.3052257299423218,
-0.31989622116088867,
-0.05327650532126427,
-0.06784879416227341,
-0.1944742500782013,
0.22944362461566925,
0.08545699715614319,
-0.08464576303958893,
-0.3280027508735657,
0.03639330714941025,
0.3106924593448639,
-0.25629663467407227,
0.13296115398406982,
0.49089738726615906,
-0.11662477999925613,
0.20662277936935425,
-0.09547089785337448,
-0.26469507813453674,
0.3713109791278839,
0.17105746269226074,
0.21165731549263,
-0.11923378705978394,
0.5886768102645874,
0.00938337855041027,
0.8307526111602783,
0.39694494009017944,
0.06312435120344162,
0.040792327374219894,
-0.17296434938907623,
0.008926747366786003,
-0.11185449361801147,
-0.1739920824766159,
0.2699998617172241,
-0.18900300562381744,
-0.06349923461675644,
-0.009526636451482773,
-0.030405860394239426,
-0.09425563365221024,
0.36928844451904297,
0.1485627293586731,
-0.3062993288040161,
-0.20044547319412231,
-0.07917024195194244,
0.2220521867275238,
0.22723619639873505,
0.23754934966564178,
0.12328551709651947,
-0.4511261284351349,
0.1228213831782341,
-0.018235810101032257,
-0.25093719363212585,
0.16504177451133728,
0.05178942531347275,
-0.8704369068145752,
-0.13904494047164917,
-0.14943285286426544,
0.4401816725730896,
0.3663049340248108,
0.44089004397392273,
0.14574304223060608,
-0.3024473786354065,
0.07414931058883667,
0.005939043592661619,
0.5031282901763916,
0.14114567637443542,
-0.2307073324918747,
0.0029423278756439686,
-0.1196790561079979,
-0.3873904049396515,
-0.2190169095993042,
-0.04968985542654991,
0.3620971441268921,
0.40475383400917053,
0.3142867386341095,
-0.35313501954078674,
-0.2044759839773178,
0.40256285667419434,
-0.1466725617647171,
0.03331761434674263,
0.09631527215242386,
-0.2732219099998474,
-0.12937407195568085,
-0.4035235643386841,
0.26790207624435425,
0.28892987966537476,
0.1370854675769806,
0.3320331871509552,
-0.0933263972401619,
-0.10252700001001358,
-0.15220962464809418,
-0.033202607184648514,
0.2846735715866089,
0.4153454601764679,
0.16012674570083618,
0.034891098737716675,
0.35114580392837524,
0.005356078501790762,
0.2843341529369354,
0.17841248214244843,
-0.041874539107084274,
-0.6814480423927307,
0.20470991730690002,
-0.3417014479637146,
0.4301435351371765,
0.6046101450920105,
-0.028857823461294174,
0.2293279469013214,
-0.1741837114095688,
0.22428378462791443,
-0.05510099604725838,
0.14782150089740753,
0.5106641054153442,
0.32197830080986023,
0.20628023147583008,
0.09650050848722458,
0.05332179367542267,
-0.11702428758144379,
-0.10833586752414703,
0.6720834374427795,
0.4695621430873871,
-0.19180169701576233,
0.0846828818321228,
0.16106939315795898,
0.9873971939086914,
0.47772416472435,
0.08410164713859558,
0.49319055676460266,
-0.18525207042694092,
-0.12188098579645157,
0.044841088354587555,
0.13393232226371765,
-0.4574373960494995,
-0.008354341611266136,
0.0889013335108757,
-0.20343273878097534,
0.058375243097543716,
0.13914109766483307,
-0.035873182117938995,
-0.13357186317443848,
0.020732810720801353,
0.3618418276309967,
-0.30896270275115967,
0.11128856241703033,
-0.2478877305984497,
-0.18838544189929962,
-0.20986813306808472,
-0.0012325370917096734,
-0.04582366347312927,
0.06953439116477966,
-0.13305845856666565,
-0.07580044865608215,
-0.4445621073246002,
-0.43264299631118774,
-0.11957551538944244,
-0.15561623871326447,
-0.675468385219574,
0.18905162811279297,
0.6171076893806458,
-0.12326016277074814,
0.12161601334810257,
0.208060622215271,
0.49218934774398804,
-0.015011054463684559,
-0.07538865506649017,
0.24311815202236176,
0.18003320693969727,
-0.020221667364239693,
-0.08254912495613098,
-0.10398793965578079,
-0.01038296613842249,
-0.08531039208173752,
-0.3040134310722351,
0.17918527126312256,
0.04158728942275047,
-0.24503225088119507,
-0.20428791642189026,
-0.052784454077482224,
0.22685720026493073,
-0.30412378907203674,
-0.023577772080898285,
-0.060093317180871964,
-0.09535698592662811,
-0.17262107133865356,
-0.05510830879211426,
-0.12531644105911255,
-0.2628074884414673,
-0.08216873556375504,
0.4602857530117035,
-0.20769238471984863,
0.2340303510427475,
0.26751405000686646,
-0.2994663715362549,
-0.13343340158462524,
0.7376736402511597,
-0.0894118919968605,
-0.07827213406562805,
-0.13009698688983917,
0.4939998984336853,
0.34985193610191345,
-0.4605630040168762,
-0.022965550422668457,
-0.09985891729593277,
-0.2655723989009857,
-0.1948385387659073,
0.5396845936775208,
0.41985023021698,
0.14911247789859772,
0.04354136809706688,
-0.13140231370925903,
-0.4555133283138275,
0.2382652312517166,
-0.23457543551921844,
0.1953030228614807,
0.04129320755600929,
0.012727203778922558,
-0.27948832511901855,
0.21704521775245667,
-0.165152445435524,
-0.010523628443479538,
-0.14175698161125183,
0.18641331791877747,
-0.1825532466173172,
-0.33213186264038086,
0.19943761825561523,
0.027631159871816635,
-0.12358874082565308,
0.43587708473205566,
-0.0907106101512909,
-0.045068588107824326,
-0.22408095002174377,
0.1943068951368332,
0.05535342916846275,
0.11422047764062881,
-0.24917779862880707,
-0.14086197316646576,
-0.10867328941822052,
-0.13331417739391327,
0.023994185030460358,
-0.0468277782201767,
0.3059265911579132,
0.13651669025421143,
-0.06728110462427139,
-0.08818931132555008,
0.12489013373851776,
-0.1457306146621704,
0.31263652443885803,
-0.08671284466981888,
0.20108181238174438,
0.19681432843208313,
-0.11013797670602798,
0.09049838781356812,
-0.1544698029756546,
0.3345195949077606,
0.16234950721263885,
0.01655965857207775,
0.007668310310691595,
-0.3720279335975647,
-0.20011058449745178,
0.07687963545322418,
-0.25256824493408203,
0.38602250814437866,
-0.21911968290805817,
-0.04795718193054199,
0.0093513373285532,
0.10444903373718262,
-0.12259121984243393,
0.15988734364509583,
0.41386497020721436,
-0.1265067309141159,
-0.009075569920241833,
0.24097487330436707,
-0.048312220722436905,
0.12635692954063416,
0.29024016857147217,
0.17671027779579163,
0.32593563199043274,
-0.21946799755096436,
-0.05031483992934227,
0.12131186574697495,
-0.15040215849876404,
0.029111934825778008,
0.6292271614074707,
0.0923180878162384,
0.3154918849468231,
-0.07256008684635162,
-0.22317875921726227,
0.22734002768993378,
-0.08147680014371872,
0.32948601245880127,
0.19372443854808807,
0.1792418360710144,
-0.32608264684677124,
0.12998662889003754,
0.09999306499958038,
-0.200018048286438,
0.1468994915485382,
0.5979397296905518,
0.14956139028072357,
-0.6717566847801208,
-0.16252757608890533,
0.09866712987422943,
-0.1824253648519516,
-0.14837932586669922,
-0.706481397151947,
0.025572465732693672,
-0.3008067011833191,
-0.10624904185533524,
-0.16844163835048676,
0.15865598618984222,
0.4834389090538025,
0.050359368324279785,
0.0037662475369870663,
-0.32653287053108215,
-0.25314390659332275,
0.3497822880744934,
0.2839297354221344,
-0.2735248804092407,
0.2680564820766449,
0.06577463448047638,
0.11802923679351807,
0.0959353819489479,
0.40898025035858154,
0.28656789660453796,
0.14551293849945068,
-0.15122497081756592,
-0.1514047086238861,
-0.17217998206615448,
0.0007869901601225138,
0.21963262557983398,
0.1611722856760025,
0.2842538058757782,
-0.10512182861566544,
0.11252713948488235,
-0.09577302634716034,
-0.030373590067029,
-0.10102930665016174,
0.13795813918113708,
-0.03242310881614685,
-0.18708038330078125,
-0.34910187125205994,
-0.42161205410957336,
-0.02410535141825676,
-0.2664981484413147,
0.07997424900531769,
-0.27984216809272766,
0.2792113125324249,
0.15074129402637482,
0.044560592621564865,
0.07161728292703629,
-0.017159052193164825,
-0.022984059527516365,
-0.16267922520637512,
0.24089044332504272,
0.38033246994018555,
-0.10531959682703018,
-0.2994273602962494,
-0.21079814434051514,
-0.5407534241676331,
0.047868359833955765,
-0.08951166272163391,
-0.03528956323862076,
0.2905209958553314,
0.2943837642669678,
0.2752106487751007,
0.1920376867055893,
0.3236570656299591,
-0.20218679308891296,
-0.18592795729637146,
0.2705163359642029,
-0.41199493408203125,
0.050498418509960175,
0.30895957350730896,
0.14703290164470673,
0.20467093586921692,
-0.2144489586353302,
0.08864753693342209,
0.3067508041858673,
-0.22059766948223114,
-0.04750901833176613,
-0.16360054910182953,
-0.3189326822757721,
-0.184443399310112,
0.2947009801864624,
0.11611727625131607,
0.1754457950592041,
0.22405500710010529,
-0.25720030069351196,
-0.13652478158473969,
-0.1764369159936905,
-0.13938184082508087,
0.14518463611602783,
0.11065860837697983,
0.6116538643836975,
-0.047383878380060196,
-0.1078154668211937,
-0.026738133281469345,
0.04441137611865997,
0.10386788845062256,
-0.38876962661743164,
-0.2920258939266205,
0.38628777861595154,
-0.2014169543981552,
0.2640107274055481,
-0.1644921898841858,
0.1330406814813614,
0.17618808150291443,
0.4649401009082794,
-0.24768774211406708,
-0.36716142296791077,
0.787360429763794,
-0.3886910676956177,
-0.3085351884365082,
0.2183813899755478,
0.18030819296836853,
0.612130343914032,
-0.32038643956184387,
-0.5169106721878052,
-0.04463529959321022,
0.2340017706155777,
-0.06431499123573303,
-0.30731746554374695,
0.11790089309215546,
0.004914197605103254,
0.08175309002399445,
-0.1735570728778839,
0.3225371837615967,
0.12918023765087128,
0.12591223418712616,
-0.11757544428110123,
-0.2294531911611557
] |
https://github.com/huggingface/datasets/issues/2068
|
PyTorch not available error on SageMaker GPU docker though it is installed
|
Hey @sivakhno,
how does your `requirements.txt` look like to install the `datasets` library and which version of it are you running? Can you try to install `datasets>=1.4.0`
|
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
| 27
|
PyTorch not available error on SageMaker GPU docker though it is installed
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
Hey @sivakhno,
how does your `requirements.txt` look like to install the `datasets` library and which version of it are you running? Can you try to install `datasets>=1.4.0`
|
[
-0.3578643798828125,
0.062430720776319504,
-0.0035596201196312904,
0.09239570796489716,
0.20111903548240662,
0.03464857488870621,
0.5519394278526306,
0.3234077990055084,
0.38562074303627014,
0.09295833110809326,
0.0008815711480565369,
0.39658239483833313,
-0.03543088585138321,
0.19524699449539185,
0.07368391007184982,
-0.26419660449028015,
-0.05602909252047539,
0.22846947610378265,
-0.31059643626213074,
0.026709143072366714,
0.1719546765089035,
0.11979144811630249,
-0.27410346269607544,
0.1857323795557022,
-0.3524917960166931,
-0.09300979226827621,
0.25065696239471436,
-0.06403957307338715,
-0.17889557778835297,
-0.4069884121417999,
0.2793971002101898,
-0.06136133521795273,
0.2397318184375763,
0.4969629943370819,
-0.00011404363613110036,
0.3032163977622986,
0.1815657913684845,
-0.052082084119319916,
-0.23396046459674835,
-0.494604229927063,
0.2693474292755127,
-0.21354909241199493,
0.2534042000770569,
-0.35874614119529724,
-0.25666916370391846,
-0.617671012878418,
-0.1617840975522995,
-0.10641372948884964,
0.18972769379615784,
0.4830082058906555,
0.17783862352371216,
0.23049044609069824,
0.37042492628097534,
-0.10688349604606628,
-0.021362457424402237,
-0.12868903577327728,
-0.19988417625427246,
0.1933845579624176,
0.06061308830976486,
-0.04771774262189865,
-0.221518874168396,
0.33062615990638733,
0.05328848958015442,
0.22218923270702362,
0.27468541264533997,
-0.02776007540524006,
0.3027734160423279,
-0.32847365736961365,
0.012804852798581123,
0.018637584522366524,
0.37838447093963623,
-0.16730733215808868,
-0.26154476404190063,
-0.1401573121547699,
0.2406659871339798,
-0.1856718808412552,
0.22584933042526245,
0.20116186141967773,
-0.2385987490415573,
-0.2307838350534439,
-0.09248661994934082,
-0.24481728672981262,
-0.4942287802696228,
0.0012732238974422216,
-0.14867685735225677,
0.6484249234199524,
-0.009730054065585136,
0.2958635985851288,
-0.10884818434715271,
0.031630054116249084,
0.10879861563444138,
-0.017453838139772415,
0.1367824524641037,
-0.1035541296005249,
-0.4412146806716919,
0.012114427052438259,
-0.1848011463880539,
-0.3475167751312256,
-0.15453141927719116,
0.17633070051670074,
0.024452082812786102,
0.03855200484395027,
0.46138906478881836,
0.23196420073509216,
-0.06487492471933365,
0.21338285505771637,
-0.1676812469959259,
0.2672366499900818,
0.3156031370162964,
0.17838363349437714,
0.058281611651182175,
-0.01102263480424881,
-0.2719786465167999,
-0.2618051767349243,
0.09198091924190521,
-0.040946103632450104,
0.1839134693145752,
-0.2599911689758301,
-0.18966993689537048,
-0.06472545862197876,
-0.22541669011116028,
-0.004806316923350096,
0.34276527166366577,
0.3794998824596405,
-0.3616907596588135,
0.021553896367549896,
0.39052140712738037,
0.0970226526260376,
-0.15715479850769043,
0.10861843079328537,
-0.06891734153032303,
0.3692385256290436,
-0.3053949475288391,
-0.16990400850772858,
0.2570924460887909,
-0.28327763080596924,
0.3190399408340454,
0.05212632566690445,
0.43821266293525696,
0.019435465335845947,
0.1652500331401825,
-0.03628462553024292,
-0.030519530177116394,
0.3495335578918457,
0.1684819757938385,
-0.09932267665863037,
0.06731508672237396,
-0.13105258345603943,
0.043559480458498,
0.16401070356369019,
-0.30271288752555847,
-0.17310433089733124,
-0.2777293622493744,
0.21805845201015472,
0.023980649188160896,
-0.08284666389226913,
-0.09560243040323257,
-0.23635943233966827,
0.13843360543251038,
-0.2462696135044098,
-0.19884151220321655,
-0.5774734020233154,
-0.1518833488225937,
0.10097452998161316,
0.3505595028400421,
-0.10600753873586655,
-0.25523898005485535,
-0.24292802810668945,
0.21696428954601288,
-0.04458307847380638,
0.19211429357528687,
0.16726894676685333,
-0.32135632634162903,
0.3641386032104492,
-0.22418004274368286,
-0.11627430468797684,
0.4368963837623596,
-0.15826405584812164,
-0.42749589681625366,
-0.05265365168452263,
-0.1317555457353592,
-0.18149060010910034,
0.24243535101413727,
-0.021030006930232048,
0.10271984338760376,
0.06948588043451309,
0.1587233692407608,
0.22124092280864716,
0.0550638809800148,
-0.0641469731926918,
0.07116202265024185,
-0.03011491149663925,
0.06930584460496902,
0.3470239043235779,
0.46969279646873474,
0.04051893576979637,
-0.2203277200460434,
0.10528267920017242,
0.0011498464737087488,
-0.33499276638031006,
-0.07290910929441452,
0.19361625611782074,
0.072602778673172,
0.19731752574443817,
0.23420488834381104,
-0.024150600656867027,
-0.284635454416275,
0.43725231289863586,
-0.40783920884132385,
0.22019743919372559,
-0.4012744426727295,
0.27992597222328186,
0.07399813830852509,
0.2309337854385376,
-0.440545916557312,
-0.02904960885643959,
0.07402155548334122,
0.27473244071006775,
0.14336620271205902,
-0.07164984941482544,
-0.04318801313638687,
0.1642148494720459,
-0.20154689252376556,
0.2570534646511078,
-0.029724549502134323,
0.16484405100345612,
-0.35224851965904236,
-0.28461840748786926,
-0.02677932381629944,
0.08328194171190262,
0.08678824454545975,
-0.13383547961711884,
-0.18519122898578644,
-0.022305818274617195,
0.05635141208767891,
-0.18563143908977509,
-0.40773922204971313,
0.010758637450635433,
0.2134343683719635,
-0.02648867480456829,
0.15463723242282867,
0.22619982063770294,
0.05350765585899353,
0.06594956666231155,
-0.05961354449391365,
0.2794197201728821,
0.07685229182243347,
0.33161911368370056,
0.1563587635755539,
0.12432699650526047,
0.35065656900405884,
0.17963245511054993,
-0.037097010761499405,
0.03125043958425522,
0.3116847276687622,
-0.181549534201622,
0.3884930908679962,
-0.28034093976020813,
-0.06709397584199905,
-0.22698767483234406,
0.05822150781750679,
0.09681825339794159,
0.20945163071155548,
-0.058418866246938705,
-0.26416832208633423,
-0.01971558667719364,
0.1655128300189972,
0.020151356235146523,
0.1763118952512741,
0.08555377274751663,
-0.20542757213115692,
-0.07315801084041595,
-0.2630322575569153,
-0.2853458523750305,
0.01994878053665161,
0.20545348525047302,
0.1803489327430725,
0.47726646065711975,
-0.02497725561261177,
-0.13536295294761658,
-0.20539727807044983,
-0.31538599729537964,
0.044233933091163635,
0.24649442732334137,
-0.01670108363032341,
0.1939786672592163,
0.02137947268784046,
-0.25878795981407166,
-0.15713468194007874,
0.06886659562587738,
-0.08306439965963364,
-0.07055921852588654,
-0.05671199411153793,
0.43709757924079895,
0.10463985800743103,
0.30158403515815735,
0.12426186352968216,
0.0017406116239726543,
0.09092961996793747,
-0.09151965379714966,
-0.10100427269935608,
-0.19977374374866486,
-0.10293103754520416,
0.09081483632326126,
0.0139184994623065,
-0.15220442414283752,
0.4530831277370453,
-0.022693626582622528,
0.23972898721694946,
-0.4752228558063507,
-0.45463624596595764,
0.2639148235321045,
0.09467174112796783,
0.0703558400273323,
0.08312833309173584,
-0.10046899318695068,
0.23054206371307373,
-0.11517611145973206,
0.2874085009098053,
-0.36674216389656067,
-0.009985311888158321,
0.17113074660301208,
-0.3040323555469513,
-0.0911603569984436,
-0.042921487241983414,
-0.23733657598495483,
-0.21311722695827484,
-0.24206985533237457,
-0.1625315546989441,
0.19256317615509033,
0.0692962184548378,
0.07107711583375931,
-0.04821181669831276,
0.23994992673397064,
0.06124007701873779,
0.4208257496356964,
-0.05052335187792778,
-0.014203748665750027,
0.3403250277042389,
-0.14491303265094757,
-0.4585410952568054,
0.1990785300731659,
-0.07102541625499725,
0.4873737394809723,
0.18767456710338593,
-0.3572615683078766,
-0.14321410655975342,
-0.08768533915281296,
-0.010406111367046833,
-0.23097239434719086,
-0.31549352407455444,
0.4347068965435028,
0.08586824685335159,
-0.0017581282882019877,
-0.0180873554199934,
-0.20988695323467255,
-0.005837100557982922,
-0.11618607491254807,
0.11075142025947571,
0.018056144937872887,
0.5218026638031006,
0.016134928911924362,
0.5054334998130798,
-0.14929437637329102,
-0.18492361903190613,
0.07876097410917282,
-0.09148094803094864,
0.13068203628063202,
-0.07774313539266586,
-0.35435932874679565,
0.090920589864254,
-0.07847628742456436,
0.042308956384658813,
-0.11436467617750168,
-0.23755088448524475,
-0.254567950963974,
-0.2243155986070633,
0.1367323398590088,
0.2056722491979599,
-0.07492297142744064,
0.14705680310726166,
-0.021851666271686554,
0.2347731590270996,
-0.10058342665433884,
0.2911742627620697,
-0.05826980993151665,
-0.020645925775170326,
-0.0068819159641861916,
0.400992214679718,
0.24711166322231293,
0.04054994881153107,
-0.35047027468681335,
-0.4177767038345337,
-0.3089734613895416,
0.1535237431526184,
0.11115579307079315,
0.43414202332496643,
-0.25353115797042847,
0.13533954322338104,
0.25182271003723145,
-0.07312937080860138,
0.13054989278316498,
0.20158866047859192,
-0.07694026827812195,
0.130447655916214,
-0.562946081161499,
-0.21404916048049927,
-0.4025839567184448,
-0.20411497354507446,
0.3084556460380554,
-0.1378352791070938,
0.2591097354888916,
-0.05218682065606117,
-0.23618321120738983,
0.3772250711917877,
-0.0014566248282790184,
-0.3549470007419586,
-0.16548803448677063,
-0.3093607425689697,
-0.007102865260094404,
-0.3891414701938629,
0.1418219804763794,
-0.1630353182554245,
0.1648111790418625,
0.10335037857294083,
0.18025241792201996,
-0.04782743752002716,
-0.06736205518245697,
-0.24184861779212952,
0.12516994774341583,
0.15085382759571075,
-0.17966678738594055,
0.020629579201340675,
0.258308470249176,
0.40353620052337646,
0.024662038311362267,
0.12517046928405762,
0.16587336361408234,
-0.6877135038375854,
0.227950781583786,
0.14377635717391968,
0.033754073083400726,
-0.0006099491729401052,
-0.2813970446586609,
-0.015133311972022057,
0.02886364236474037,
0.2616085410118103,
-0.2789117395877838,
0.2849283516407013,
0.43181002140045166,
0.04355494678020477,
-0.3361482322216034,
-0.51023268699646,
-0.02851272001862526,
0.11905385553836823,
0.13070866465568542,
0.10727313905954361,
-0.319769024848938,
-0.23879672586917877,
0.1009456142783165,
0.23397916555404663,
0.3998080790042877,
-0.1230272725224495,
0.16318801045417786,
0.36901769042015076,
-0.056278303265571594,
0.6690495610237122,
-0.0701482892036438,
0.5010364651679993,
-0.2964501976966858,
-0.02369564026594162,
-0.021966924890875816,
-0.3330349922180176,
0.12492458522319794,
-0.08943187445402145,
0.019606316462159157,
0.4615965485572815,
0.022741906344890594,
0.1879117637872696,
0.08244270086288452,
0.5432868003845215,
-0.05619310960173607,
-0.3151736557483673,
0.08934259414672852,
0.0824311375617981,
-0.47152724862098694,
0.45541948080062866,
-0.11191888153553009,
0.12960617244243622,
0.264618456363678,
-0.08538999408483505,
-0.20248618721961975,
0.3169836103916168,
-0.10351858288049698,
0.5135722160339355,
-0.2603098154067993,
-0.7178825736045837,
0.22172799706459045,
0.193501278758049,
0.047580450773239136,
-0.016390422359108925,
-0.08404293656349182,
0.2869560718536377,
-0.5260494947433472,
-0.26488813757896423,
-0.11868198961019516,
0.14465603232383728,
0.4126048684120178,
-0.17664086818695068,
-0.17508643865585327,
0.04569493234157562,
-0.020709050819277763,
-0.34803280234336853,
-0.14750556647777557,
0.022915348410606384,
0.5239815711975098,
0.05061189457774162,
0.13825833797454834,
-0.24367207288742065,
-0.19852827489376068,
-0.11875973641872406,
0.13928954303264618,
0.18644115328788757,
-0.1920209378004074,
0.009255193173885345,
0.11267008632421494,
-0.23677068948745728,
0.026779234409332275,
0.40350961685180664,
0.24857358634471893,
-0.07548437267541885,
0.7604895830154419,
0.27010026574134827,
-0.21533815562725067,
-0.1895250678062439,
-0.5757730603218079,
0.18806733191013336,
-0.4746958017349243,
0.0904073566198349,
0.0883798748254776,
-0.0010318801505491138,
-0.025246506556868553,
0.0832522064447403,
0.2404925525188446,
-0.31857675313949585,
-0.2064388394355774,
-0.49794524908065796,
-0.24460327625274658,
-0.012178200297057629,
-0.09707378596067429,
0.14469052851200104,
0.406099408864975,
0.021310530602931976,
-0.0374530591070652,
-0.11762163788080215,
-0.24866139888763428,
-0.08124573528766632,
-0.0857519805431366,
-0.017890937626361847,
0.028844185173511505,
-0.2464592158794403,
0.018050460144877434,
0.13395720720291138,
0.11658068001270294,
-0.016181325539946556,
-0.05232386663556099,
-0.1377304047346115,
-0.05938057228922844,
0.06380239129066467,
0.15011151134967804,
-0.18413199484348297,
-0.15671761333942413,
-0.3472015857696533,
-0.16869591176509857,
0.06193755939602852,
0.3511338531970978,
0.07319808006286621,
-0.03360229730606079,
0.10005582869052887,
-0.1815093457698822,
0.030569247901439667,
-0.23939502239227295,
0.19995446503162384,
-0.15811868011951447,
-0.03446071222424507,
0.2619600296020508,
0.21255406737327576,
0.04916205257177353,
0.17512017488479614,
-0.29674962162971497,
0.012221925891935825,
-0.22475232183933258,
0.0795711874961853,
0.38787397742271423,
-0.5469017028808594,
0.3201324939727783,
-0.11404629796743393,
0.32639315724372864,
0.24810223281383514,
-0.1112370565533638,
0.006944985594600439,
0.20776286721229553,
0.19299951195716858,
-0.3124340772628784,
-0.17502783238887787,
-0.204764261841774,
0.025552699342370033,
0.19517068564891815,
-0.033690739423036575,
0.033522408455610275,
0.20342522859573364,
0.24184280633926392,
0.21766789257526398,
0.3072523772716522,
-0.21943247318267822,
0.16087229549884796,
0.2555878758430481,
-0.031513795256614685,
0.18669362366199493,
0.4408336281776428,
0.28957831859588623,
0.03443017601966858,
0.20874279737472534,
-0.0501234233379364,
0.2683556079864502,
-0.035518694669008255,
0.049307938665151596,
0.27842867374420166,
-0.1406368762254715,
-0.1351006180047989,
0.15987148880958557,
-0.0666535422205925,
-0.09757288545370102,
-0.23563602566719055,
0.13799481093883514,
-0.5082178115844727,
-0.0016121090156957507,
-0.32769975066185,
-0.06167144700884819,
-0.36062926054000854,
0.13358010351657867,
-0.2579290568828583,
-0.023371389135718346,
0.07977570593357086,
0.17723067104816437,
0.1117880642414093,
0.10143518447875977,
-0.4469512701034546,
0.1259380728006363,
-0.40831735730171204,
0.044462013989686966,
-0.23946309089660645,
0.31014639139175415,
-0.12115266174077988,
-0.08415872603654861,
0.18983674049377441,
0.29036247730255127,
-0.12193857133388519,
-0.1150248646736145,
0.17517787218093872,
0.47628629207611084,
0.1457410603761673,
0.04347012937068939,
-0.08061514049768448,
-0.029295027256011963,
-0.03212525323033333,
-0.019082484766840935,
0.22487451136112213,
0.2004399448633194,
-0.03977743163704872,
0.15629155933856964,
0.15418465435504913,
-0.1182023212313652,
0.18917368352413177,
0.1260014921426773,
0.02410740777850151,
0.11597130447626114,
0.2661473751068115,
0.07353900372982025,
-0.1547980010509491,
-0.1336258202791214,
-0.026175372302532196,
-0.3192780613899231,
-0.15224887430667877,
0.3894210457801819,
0.21273402869701385,
-0.23531891405582428,
-0.11317843943834305,
0.07375629991292953,
0.015780294314026833,
0.4464920163154602,
0.12910450994968414,
0.0046014366671442986,
-0.12044170498847961,
0.039634641259908676,
-0.20766010880470276,
0.2196229249238968,
-0.023898188024759293,
0.016629045829176903,
0.12267646938562393,
0.09477809816598892,
-0.02647356502711773,
-0.025328367948532104,
0.30330532789230347,
-0.12534089386463165,
0.1207335814833641,
-0.14345625042915344,
-0.27566492557525635,
-0.057589273899793625,
0.3088063895702362,
0.08149795979261398,
0.07550439238548279,
-0.29460012912750244,
0.016119061037898064,
0.02222360484302044,
0.11124920845031738,
-0.27230533957481384,
0.05816345661878586,
0.09985163807868958,
-0.3974209725856781,
0.26796284317970276,
-0.08305112272500992,
0.7890294790267944,
0.09276098757982254,
-0.10290755331516266,
-0.004498192109167576,
-0.2056700736284256,
-0.34053999185562134,
0.27081653475761414,
0.09723298251628876,
0.5719097256660461,
0.1613239198923111,
-0.12863324582576752,
-0.4244961440563202,
0.3670113980770111,
-0.16975560784339905,
-0.6661802530288696,
-0.16411809623241425,
0.19225037097930908,
-0.11734050512313843,
0.2502700686454773,
0.22450220584869385,
0.10295512527227402,
0.30653074383735657,
-0.28956156969070435,
-0.35856786370277405,
-0.12028040736913681,
0.5804310441017151,
-0.2649385929107666,
-0.20652952790260315,
-0.2863224446773529,
0.14597272872924805,
-0.16293908655643463,
0.1301877498626709,
-0.16513273119926453,
0.11296167969703674,
0.026145366951823235,
-0.003978056367486715,
-0.01535076554864645,
0.20361316204071045,
0.24844445288181305,
0.16647297143936157,
-0.14003951847553253,
0.4426271915435791,
-0.14893010258674622,
-0.23235394060611725,
-0.3859891891479492,
-0.24707618355751038
] |
https://github.com/huggingface/datasets/issues/2068
|
PyTorch not available error on SageMaker GPU docker though it is installed
|
Hi @philschmid - thanks for suggestion. I am using `datasets==1.4.1`.
I have also tried using `torch=1.6.0` (docker `763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.6.0-gpu-py3 `), but the error is the same.
|
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
| 25
|
PyTorch not available error on SageMaker GPU docker though it is installed
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
Hi @philschmid - thanks for suggestion. I am using `datasets==1.4.1`.
I have also tried using `torch=1.6.0` (docker `763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.6.0-gpu-py3 `), but the error is the same.
|
[
-0.3578643798828125,
0.062430720776319504,
-0.0035596201196312904,
0.09239570796489716,
0.20111903548240662,
0.03464857488870621,
0.5519394278526306,
0.3234077990055084,
0.38562074303627014,
0.09295833110809326,
0.0008815711480565369,
0.39658239483833313,
-0.03543088585138321,
0.19524699449539185,
0.07368391007184982,
-0.26419660449028015,
-0.05602909252047539,
0.22846947610378265,
-0.31059643626213074,
0.026709143072366714,
0.1719546765089035,
0.11979144811630249,
-0.27410346269607544,
0.1857323795557022,
-0.3524917960166931,
-0.09300979226827621,
0.25065696239471436,
-0.06403957307338715,
-0.17889557778835297,
-0.4069884121417999,
0.2793971002101898,
-0.06136133521795273,
0.2397318184375763,
0.4969629943370819,
-0.00011404363613110036,
0.3032163977622986,
0.1815657913684845,
-0.052082084119319916,
-0.23396046459674835,
-0.494604229927063,
0.2693474292755127,
-0.21354909241199493,
0.2534042000770569,
-0.35874614119529724,
-0.25666916370391846,
-0.617671012878418,
-0.1617840975522995,
-0.10641372948884964,
0.18972769379615784,
0.4830082058906555,
0.17783862352371216,
0.23049044609069824,
0.37042492628097534,
-0.10688349604606628,
-0.021362457424402237,
-0.12868903577327728,
-0.19988417625427246,
0.1933845579624176,
0.06061308830976486,
-0.04771774262189865,
-0.221518874168396,
0.33062615990638733,
0.05328848958015442,
0.22218923270702362,
0.27468541264533997,
-0.02776007540524006,
0.3027734160423279,
-0.32847365736961365,
0.012804852798581123,
0.018637584522366524,
0.37838447093963623,
-0.16730733215808868,
-0.26154476404190063,
-0.1401573121547699,
0.2406659871339798,
-0.1856718808412552,
0.22584933042526245,
0.20116186141967773,
-0.2385987490415573,
-0.2307838350534439,
-0.09248661994934082,
-0.24481728672981262,
-0.4942287802696228,
0.0012732238974422216,
-0.14867685735225677,
0.6484249234199524,
-0.009730054065585136,
0.2958635985851288,
-0.10884818434715271,
0.031630054116249084,
0.10879861563444138,
-0.017453838139772415,
0.1367824524641037,
-0.1035541296005249,
-0.4412146806716919,
0.012114427052438259,
-0.1848011463880539,
-0.3475167751312256,
-0.15453141927719116,
0.17633070051670074,
0.024452082812786102,
0.03855200484395027,
0.46138906478881836,
0.23196420073509216,
-0.06487492471933365,
0.21338285505771637,
-0.1676812469959259,
0.2672366499900818,
0.3156031370162964,
0.17838363349437714,
0.058281611651182175,
-0.01102263480424881,
-0.2719786465167999,
-0.2618051767349243,
0.09198091924190521,
-0.040946103632450104,
0.1839134693145752,
-0.2599911689758301,
-0.18966993689537048,
-0.06472545862197876,
-0.22541669011116028,
-0.004806316923350096,
0.34276527166366577,
0.3794998824596405,
-0.3616907596588135,
0.021553896367549896,
0.39052140712738037,
0.0970226526260376,
-0.15715479850769043,
0.10861843079328537,
-0.06891734153032303,
0.3692385256290436,
-0.3053949475288391,
-0.16990400850772858,
0.2570924460887909,
-0.28327763080596924,
0.3190399408340454,
0.05212632566690445,
0.43821266293525696,
0.019435465335845947,
0.1652500331401825,
-0.03628462553024292,
-0.030519530177116394,
0.3495335578918457,
0.1684819757938385,
-0.09932267665863037,
0.06731508672237396,
-0.13105258345603943,
0.043559480458498,
0.16401070356369019,
-0.30271288752555847,
-0.17310433089733124,
-0.2777293622493744,
0.21805845201015472,
0.023980649188160896,
-0.08284666389226913,
-0.09560243040323257,
-0.23635943233966827,
0.13843360543251038,
-0.2462696135044098,
-0.19884151220321655,
-0.5774734020233154,
-0.1518833488225937,
0.10097452998161316,
0.3505595028400421,
-0.10600753873586655,
-0.25523898005485535,
-0.24292802810668945,
0.21696428954601288,
-0.04458307847380638,
0.19211429357528687,
0.16726894676685333,
-0.32135632634162903,
0.3641386032104492,
-0.22418004274368286,
-0.11627430468797684,
0.4368963837623596,
-0.15826405584812164,
-0.42749589681625366,
-0.05265365168452263,
-0.1317555457353592,
-0.18149060010910034,
0.24243535101413727,
-0.021030006930232048,
0.10271984338760376,
0.06948588043451309,
0.1587233692407608,
0.22124092280864716,
0.0550638809800148,
-0.0641469731926918,
0.07116202265024185,
-0.03011491149663925,
0.06930584460496902,
0.3470239043235779,
0.46969279646873474,
0.04051893576979637,
-0.2203277200460434,
0.10528267920017242,
0.0011498464737087488,
-0.33499276638031006,
-0.07290910929441452,
0.19361625611782074,
0.072602778673172,
0.19731752574443817,
0.23420488834381104,
-0.024150600656867027,
-0.284635454416275,
0.43725231289863586,
-0.40783920884132385,
0.22019743919372559,
-0.4012744426727295,
0.27992597222328186,
0.07399813830852509,
0.2309337854385376,
-0.440545916557312,
-0.02904960885643959,
0.07402155548334122,
0.27473244071006775,
0.14336620271205902,
-0.07164984941482544,
-0.04318801313638687,
0.1642148494720459,
-0.20154689252376556,
0.2570534646511078,
-0.029724549502134323,
0.16484405100345612,
-0.35224851965904236,
-0.28461840748786926,
-0.02677932381629944,
0.08328194171190262,
0.08678824454545975,
-0.13383547961711884,
-0.18519122898578644,
-0.022305818274617195,
0.05635141208767891,
-0.18563143908977509,
-0.40773922204971313,
0.010758637450635433,
0.2134343683719635,
-0.02648867480456829,
0.15463723242282867,
0.22619982063770294,
0.05350765585899353,
0.06594956666231155,
-0.05961354449391365,
0.2794197201728821,
0.07685229182243347,
0.33161911368370056,
0.1563587635755539,
0.12432699650526047,
0.35065656900405884,
0.17963245511054993,
-0.037097010761499405,
0.03125043958425522,
0.3116847276687622,
-0.181549534201622,
0.3884930908679962,
-0.28034093976020813,
-0.06709397584199905,
-0.22698767483234406,
0.05822150781750679,
0.09681825339794159,
0.20945163071155548,
-0.058418866246938705,
-0.26416832208633423,
-0.01971558667719364,
0.1655128300189972,
0.020151356235146523,
0.1763118952512741,
0.08555377274751663,
-0.20542757213115692,
-0.07315801084041595,
-0.2630322575569153,
-0.2853458523750305,
0.01994878053665161,
0.20545348525047302,
0.1803489327430725,
0.47726646065711975,
-0.02497725561261177,
-0.13536295294761658,
-0.20539727807044983,
-0.31538599729537964,
0.044233933091163635,
0.24649442732334137,
-0.01670108363032341,
0.1939786672592163,
0.02137947268784046,
-0.25878795981407166,
-0.15713468194007874,
0.06886659562587738,
-0.08306439965963364,
-0.07055921852588654,
-0.05671199411153793,
0.43709757924079895,
0.10463985800743103,
0.30158403515815735,
0.12426186352968216,
0.0017406116239726543,
0.09092961996793747,
-0.09151965379714966,
-0.10100427269935608,
-0.19977374374866486,
-0.10293103754520416,
0.09081483632326126,
0.0139184994623065,
-0.15220442414283752,
0.4530831277370453,
-0.022693626582622528,
0.23972898721694946,
-0.4752228558063507,
-0.45463624596595764,
0.2639148235321045,
0.09467174112796783,
0.0703558400273323,
0.08312833309173584,
-0.10046899318695068,
0.23054206371307373,
-0.11517611145973206,
0.2874085009098053,
-0.36674216389656067,
-0.009985311888158321,
0.17113074660301208,
-0.3040323555469513,
-0.0911603569984436,
-0.042921487241983414,
-0.23733657598495483,
-0.21311722695827484,
-0.24206985533237457,
-0.1625315546989441,
0.19256317615509033,
0.0692962184548378,
0.07107711583375931,
-0.04821181669831276,
0.23994992673397064,
0.06124007701873779,
0.4208257496356964,
-0.05052335187792778,
-0.014203748665750027,
0.3403250277042389,
-0.14491303265094757,
-0.4585410952568054,
0.1990785300731659,
-0.07102541625499725,
0.4873737394809723,
0.18767456710338593,
-0.3572615683078766,
-0.14321410655975342,
-0.08768533915281296,
-0.010406111367046833,
-0.23097239434719086,
-0.31549352407455444,
0.4347068965435028,
0.08586824685335159,
-0.0017581282882019877,
-0.0180873554199934,
-0.20988695323467255,
-0.005837100557982922,
-0.11618607491254807,
0.11075142025947571,
0.018056144937872887,
0.5218026638031006,
0.016134928911924362,
0.5054334998130798,
-0.14929437637329102,
-0.18492361903190613,
0.07876097410917282,
-0.09148094803094864,
0.13068203628063202,
-0.07774313539266586,
-0.35435932874679565,
0.090920589864254,
-0.07847628742456436,
0.042308956384658813,
-0.11436467617750168,
-0.23755088448524475,
-0.254567950963974,
-0.2243155986070633,
0.1367323398590088,
0.2056722491979599,
-0.07492297142744064,
0.14705680310726166,
-0.021851666271686554,
0.2347731590270996,
-0.10058342665433884,
0.2911742627620697,
-0.05826980993151665,
-0.020645925775170326,
-0.0068819159641861916,
0.400992214679718,
0.24711166322231293,
0.04054994881153107,
-0.35047027468681335,
-0.4177767038345337,
-0.3089734613895416,
0.1535237431526184,
0.11115579307079315,
0.43414202332496643,
-0.25353115797042847,
0.13533954322338104,
0.25182271003723145,
-0.07312937080860138,
0.13054989278316498,
0.20158866047859192,
-0.07694026827812195,
0.130447655916214,
-0.562946081161499,
-0.21404916048049927,
-0.4025839567184448,
-0.20411497354507446,
0.3084556460380554,
-0.1378352791070938,
0.2591097354888916,
-0.05218682065606117,
-0.23618321120738983,
0.3772250711917877,
-0.0014566248282790184,
-0.3549470007419586,
-0.16548803448677063,
-0.3093607425689697,
-0.007102865260094404,
-0.3891414701938629,
0.1418219804763794,
-0.1630353182554245,
0.1648111790418625,
0.10335037857294083,
0.18025241792201996,
-0.04782743752002716,
-0.06736205518245697,
-0.24184861779212952,
0.12516994774341583,
0.15085382759571075,
-0.17966678738594055,
0.020629579201340675,
0.258308470249176,
0.40353620052337646,
0.024662038311362267,
0.12517046928405762,
0.16587336361408234,
-0.6877135038375854,
0.227950781583786,
0.14377635717391968,
0.033754073083400726,
-0.0006099491729401052,
-0.2813970446586609,
-0.015133311972022057,
0.02886364236474037,
0.2616085410118103,
-0.2789117395877838,
0.2849283516407013,
0.43181002140045166,
0.04355494678020477,
-0.3361482322216034,
-0.51023268699646,
-0.02851272001862526,
0.11905385553836823,
0.13070866465568542,
0.10727313905954361,
-0.319769024848938,
-0.23879672586917877,
0.1009456142783165,
0.23397916555404663,
0.3998080790042877,
-0.1230272725224495,
0.16318801045417786,
0.36901769042015076,
-0.056278303265571594,
0.6690495610237122,
-0.0701482892036438,
0.5010364651679993,
-0.2964501976966858,
-0.02369564026594162,
-0.021966924890875816,
-0.3330349922180176,
0.12492458522319794,
-0.08943187445402145,
0.019606316462159157,
0.4615965485572815,
0.022741906344890594,
0.1879117637872696,
0.08244270086288452,
0.5432868003845215,
-0.05619310960173607,
-0.3151736557483673,
0.08934259414672852,
0.0824311375617981,
-0.47152724862098694,
0.45541948080062866,
-0.11191888153553009,
0.12960617244243622,
0.264618456363678,
-0.08538999408483505,
-0.20248618721961975,
0.3169836103916168,
-0.10351858288049698,
0.5135722160339355,
-0.2603098154067993,
-0.7178825736045837,
0.22172799706459045,
0.193501278758049,
0.047580450773239136,
-0.016390422359108925,
-0.08404293656349182,
0.2869560718536377,
-0.5260494947433472,
-0.26488813757896423,
-0.11868198961019516,
0.14465603232383728,
0.4126048684120178,
-0.17664086818695068,
-0.17508643865585327,
0.04569493234157562,
-0.020709050819277763,
-0.34803280234336853,
-0.14750556647777557,
0.022915348410606384,
0.5239815711975098,
0.05061189457774162,
0.13825833797454834,
-0.24367207288742065,
-0.19852827489376068,
-0.11875973641872406,
0.13928954303264618,
0.18644115328788757,
-0.1920209378004074,
0.009255193173885345,
0.11267008632421494,
-0.23677068948745728,
0.026779234409332275,
0.40350961685180664,
0.24857358634471893,
-0.07548437267541885,
0.7604895830154419,
0.27010026574134827,
-0.21533815562725067,
-0.1895250678062439,
-0.5757730603218079,
0.18806733191013336,
-0.4746958017349243,
0.0904073566198349,
0.0883798748254776,
-0.0010318801505491138,
-0.025246506556868553,
0.0832522064447403,
0.2404925525188446,
-0.31857675313949585,
-0.2064388394355774,
-0.49794524908065796,
-0.24460327625274658,
-0.012178200297057629,
-0.09707378596067429,
0.14469052851200104,
0.406099408864975,
0.021310530602931976,
-0.0374530591070652,
-0.11762163788080215,
-0.24866139888763428,
-0.08124573528766632,
-0.0857519805431366,
-0.017890937626361847,
0.028844185173511505,
-0.2464592158794403,
0.018050460144877434,
0.13395720720291138,
0.11658068001270294,
-0.016181325539946556,
-0.05232386663556099,
-0.1377304047346115,
-0.05938057228922844,
0.06380239129066467,
0.15011151134967804,
-0.18413199484348297,
-0.15671761333942413,
-0.3472015857696533,
-0.16869591176509857,
0.06193755939602852,
0.3511338531970978,
0.07319808006286621,
-0.03360229730606079,
0.10005582869052887,
-0.1815093457698822,
0.030569247901439667,
-0.23939502239227295,
0.19995446503162384,
-0.15811868011951447,
-0.03446071222424507,
0.2619600296020508,
0.21255406737327576,
0.04916205257177353,
0.17512017488479614,
-0.29674962162971497,
0.012221925891935825,
-0.22475232183933258,
0.0795711874961853,
0.38787397742271423,
-0.5469017028808594,
0.3201324939727783,
-0.11404629796743393,
0.32639315724372864,
0.24810223281383514,
-0.1112370565533638,
0.006944985594600439,
0.20776286721229553,
0.19299951195716858,
-0.3124340772628784,
-0.17502783238887787,
-0.204764261841774,
0.025552699342370033,
0.19517068564891815,
-0.033690739423036575,
0.033522408455610275,
0.20342522859573364,
0.24184280633926392,
0.21766789257526398,
0.3072523772716522,
-0.21943247318267822,
0.16087229549884796,
0.2555878758430481,
-0.031513795256614685,
0.18669362366199493,
0.4408336281776428,
0.28957831859588623,
0.03443017601966858,
0.20874279737472534,
-0.0501234233379364,
0.2683556079864502,
-0.035518694669008255,
0.049307938665151596,
0.27842867374420166,
-0.1406368762254715,
-0.1351006180047989,
0.15987148880958557,
-0.0666535422205925,
-0.09757288545370102,
-0.23563602566719055,
0.13799481093883514,
-0.5082178115844727,
-0.0016121090156957507,
-0.32769975066185,
-0.06167144700884819,
-0.36062926054000854,
0.13358010351657867,
-0.2579290568828583,
-0.023371389135718346,
0.07977570593357086,
0.17723067104816437,
0.1117880642414093,
0.10143518447875977,
-0.4469512701034546,
0.1259380728006363,
-0.40831735730171204,
0.044462013989686966,
-0.23946309089660645,
0.31014639139175415,
-0.12115266174077988,
-0.08415872603654861,
0.18983674049377441,
0.29036247730255127,
-0.12193857133388519,
-0.1150248646736145,
0.17517787218093872,
0.47628629207611084,
0.1457410603761673,
0.04347012937068939,
-0.08061514049768448,
-0.029295027256011963,
-0.03212525323033333,
-0.019082484766840935,
0.22487451136112213,
0.2004399448633194,
-0.03977743163704872,
0.15629155933856964,
0.15418465435504913,
-0.1182023212313652,
0.18917368352413177,
0.1260014921426773,
0.02410740777850151,
0.11597130447626114,
0.2661473751068115,
0.07353900372982025,
-0.1547980010509491,
-0.1336258202791214,
-0.026175372302532196,
-0.3192780613899231,
-0.15224887430667877,
0.3894210457801819,
0.21273402869701385,
-0.23531891405582428,
-0.11317843943834305,
0.07375629991292953,
0.015780294314026833,
0.4464920163154602,
0.12910450994968414,
0.0046014366671442986,
-0.12044170498847961,
0.039634641259908676,
-0.20766010880470276,
0.2196229249238968,
-0.023898188024759293,
0.016629045829176903,
0.12267646938562393,
0.09477809816598892,
-0.02647356502711773,
-0.025328367948532104,
0.30330532789230347,
-0.12534089386463165,
0.1207335814833641,
-0.14345625042915344,
-0.27566492557525635,
-0.057589273899793625,
0.3088063895702362,
0.08149795979261398,
0.07550439238548279,
-0.29460012912750244,
0.016119061037898064,
0.02222360484302044,
0.11124920845031738,
-0.27230533957481384,
0.05816345661878586,
0.09985163807868958,
-0.3974209725856781,
0.26796284317970276,
-0.08305112272500992,
0.7890294790267944,
0.09276098757982254,
-0.10290755331516266,
-0.004498192109167576,
-0.2056700736284256,
-0.34053999185562134,
0.27081653475761414,
0.09723298251628876,
0.5719097256660461,
0.1613239198923111,
-0.12863324582576752,
-0.4244961440563202,
0.3670113980770111,
-0.16975560784339905,
-0.6661802530288696,
-0.16411809623241425,
0.19225037097930908,
-0.11734050512313843,
0.2502700686454773,
0.22450220584869385,
0.10295512527227402,
0.30653074383735657,
-0.28956156969070435,
-0.35856786370277405,
-0.12028040736913681,
0.5804310441017151,
-0.2649385929107666,
-0.20652952790260315,
-0.2863224446773529,
0.14597272872924805,
-0.16293908655643463,
0.1301877498626709,
-0.16513273119926453,
0.11296167969703674,
0.026145366951823235,
-0.003978056367486715,
-0.01535076554864645,
0.20361316204071045,
0.24844445288181305,
0.16647297143936157,
-0.14003951847553253,
0.4426271915435791,
-0.14893010258674622,
-0.23235394060611725,
-0.3859891891479492,
-0.24707618355751038
] |
https://github.com/huggingface/datasets/issues/2068
|
PyTorch not available error on SageMaker GPU docker though it is installed
|
Could paste the code you use the start your training job and the fine-tuning script you run?
|
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
| 17
|
PyTorch not available error on SageMaker GPU docker though it is installed
I get en error when running data loading using SageMaker SDK
```
File "main.py", line 34, in <module>
run_training()
File "main.py", line 25, in run_training
dm.setup('fit')
File "/opt/conda/lib/python3.6/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/opt/ml/code/data_module.py", line 103, in setup
self.dataset[split].set_format(type="torch", columns=self.columns)
File "/opt/conda/lib/python3.6/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 995, in set_format
_ = get_formatter(type, **format_kwargs)
File "/opt/conda/lib/python3.6/site-packages/datasets/formatting/__init__.py", line 114, in get_formatter
raise _FORMAT_TYPES_ALIASES_UNAVAILABLE[format_type]
ValueError: PyTorch needs to be installed to be able to return PyTorch tensors.
```
when trying to execute dataset loading using this notebook https://github.com/PyTorchLightning/pytorch-lightning/blob/master/notebooks/04-transformers-text-classification.ipynb, specifically lines
```
self.columns = [c for c in self.dataset[split].column_names if c in self.loader_columns]
self.dataset[split].set_format(type="torch", columns=self.columns)
```
The SageMaker docker image used is 763104351884.dkr.ecr.eu-central-1.amazonaws.com/pytorch-training:1.4.0-gpu-py3 .
By running container interactively I have checked that torch loading completes successfully by executing `https://github.com/huggingface/datasets/blob/master/src/datasets/config.py#L39`.
Also as a first line in the data loading module I have
```
import os
os.environ["USE_TF"] = "0"
os.environ["USE_TORCH"] = "1"
````
But unfortunately the error stills persists. Any suggestions would be appreciated as I am stack.
Many Thanks!
Could paste the code you use the start your training job and the fine-tuning script you run?
|
[
-0.3578643798828125,
0.062430720776319504,
-0.0035596201196312904,
0.09239570796489716,
0.20111903548240662,
0.03464857488870621,
0.5519394278526306,
0.3234077990055084,
0.38562074303627014,
0.09295833110809326,
0.0008815711480565369,
0.39658239483833313,
-0.03543088585138321,
0.19524699449539185,
0.07368391007184982,
-0.26419660449028015,
-0.05602909252047539,
0.22846947610378265,
-0.31059643626213074,
0.026709143072366714,
0.1719546765089035,
0.11979144811630249,
-0.27410346269607544,
0.1857323795557022,
-0.3524917960166931,
-0.09300979226827621,
0.25065696239471436,
-0.06403957307338715,
-0.17889557778835297,
-0.4069884121417999,
0.2793971002101898,
-0.06136133521795273,
0.2397318184375763,
0.4969629943370819,
-0.00011404363613110036,
0.3032163977622986,
0.1815657913684845,
-0.052082084119319916,
-0.23396046459674835,
-0.494604229927063,
0.2693474292755127,
-0.21354909241199493,
0.2534042000770569,
-0.35874614119529724,
-0.25666916370391846,
-0.617671012878418,
-0.1617840975522995,
-0.10641372948884964,
0.18972769379615784,
0.4830082058906555,
0.17783862352371216,
0.23049044609069824,
0.37042492628097534,
-0.10688349604606628,
-0.021362457424402237,
-0.12868903577327728,
-0.19988417625427246,
0.1933845579624176,
0.06061308830976486,
-0.04771774262189865,
-0.221518874168396,
0.33062615990638733,
0.05328848958015442,
0.22218923270702362,
0.27468541264533997,
-0.02776007540524006,
0.3027734160423279,
-0.32847365736961365,
0.012804852798581123,
0.018637584522366524,
0.37838447093963623,
-0.16730733215808868,
-0.26154476404190063,
-0.1401573121547699,
0.2406659871339798,
-0.1856718808412552,
0.22584933042526245,
0.20116186141967773,
-0.2385987490415573,
-0.2307838350534439,
-0.09248661994934082,
-0.24481728672981262,
-0.4942287802696228,
0.0012732238974422216,
-0.14867685735225677,
0.6484249234199524,
-0.009730054065585136,
0.2958635985851288,
-0.10884818434715271,
0.031630054116249084,
0.10879861563444138,
-0.017453838139772415,
0.1367824524641037,
-0.1035541296005249,
-0.4412146806716919,
0.012114427052438259,
-0.1848011463880539,
-0.3475167751312256,
-0.15453141927719116,
0.17633070051670074,
0.024452082812786102,
0.03855200484395027,
0.46138906478881836,
0.23196420073509216,
-0.06487492471933365,
0.21338285505771637,
-0.1676812469959259,
0.2672366499900818,
0.3156031370162964,
0.17838363349437714,
0.058281611651182175,
-0.01102263480424881,
-0.2719786465167999,
-0.2618051767349243,
0.09198091924190521,
-0.040946103632450104,
0.1839134693145752,
-0.2599911689758301,
-0.18966993689537048,
-0.06472545862197876,
-0.22541669011116028,
-0.004806316923350096,
0.34276527166366577,
0.3794998824596405,
-0.3616907596588135,
0.021553896367549896,
0.39052140712738037,
0.0970226526260376,
-0.15715479850769043,
0.10861843079328537,
-0.06891734153032303,
0.3692385256290436,
-0.3053949475288391,
-0.16990400850772858,
0.2570924460887909,
-0.28327763080596924,
0.3190399408340454,
0.05212632566690445,
0.43821266293525696,
0.019435465335845947,
0.1652500331401825,
-0.03628462553024292,
-0.030519530177116394,
0.3495335578918457,
0.1684819757938385,
-0.09932267665863037,
0.06731508672237396,
-0.13105258345603943,
0.043559480458498,
0.16401070356369019,
-0.30271288752555847,
-0.17310433089733124,
-0.2777293622493744,
0.21805845201015472,
0.023980649188160896,
-0.08284666389226913,
-0.09560243040323257,
-0.23635943233966827,
0.13843360543251038,
-0.2462696135044098,
-0.19884151220321655,
-0.5774734020233154,
-0.1518833488225937,
0.10097452998161316,
0.3505595028400421,
-0.10600753873586655,
-0.25523898005485535,
-0.24292802810668945,
0.21696428954601288,
-0.04458307847380638,
0.19211429357528687,
0.16726894676685333,
-0.32135632634162903,
0.3641386032104492,
-0.22418004274368286,
-0.11627430468797684,
0.4368963837623596,
-0.15826405584812164,
-0.42749589681625366,
-0.05265365168452263,
-0.1317555457353592,
-0.18149060010910034,
0.24243535101413727,
-0.021030006930232048,
0.10271984338760376,
0.06948588043451309,
0.1587233692407608,
0.22124092280864716,
0.0550638809800148,
-0.0641469731926918,
0.07116202265024185,
-0.03011491149663925,
0.06930584460496902,
0.3470239043235779,
0.46969279646873474,
0.04051893576979637,
-0.2203277200460434,
0.10528267920017242,
0.0011498464737087488,
-0.33499276638031006,
-0.07290910929441452,
0.19361625611782074,
0.072602778673172,
0.19731752574443817,
0.23420488834381104,
-0.024150600656867027,
-0.284635454416275,
0.43725231289863586,
-0.40783920884132385,
0.22019743919372559,
-0.4012744426727295,
0.27992597222328186,
0.07399813830852509,
0.2309337854385376,
-0.440545916557312,
-0.02904960885643959,
0.07402155548334122,
0.27473244071006775,
0.14336620271205902,
-0.07164984941482544,
-0.04318801313638687,
0.1642148494720459,
-0.20154689252376556,
0.2570534646511078,
-0.029724549502134323,
0.16484405100345612,
-0.35224851965904236,
-0.28461840748786926,
-0.02677932381629944,
0.08328194171190262,
0.08678824454545975,
-0.13383547961711884,
-0.18519122898578644,
-0.022305818274617195,
0.05635141208767891,
-0.18563143908977509,
-0.40773922204971313,
0.010758637450635433,
0.2134343683719635,
-0.02648867480456829,
0.15463723242282867,
0.22619982063770294,
0.05350765585899353,
0.06594956666231155,
-0.05961354449391365,
0.2794197201728821,
0.07685229182243347,
0.33161911368370056,
0.1563587635755539,
0.12432699650526047,
0.35065656900405884,
0.17963245511054993,
-0.037097010761499405,
0.03125043958425522,
0.3116847276687622,
-0.181549534201622,
0.3884930908679962,
-0.28034093976020813,
-0.06709397584199905,
-0.22698767483234406,
0.05822150781750679,
0.09681825339794159,
0.20945163071155548,
-0.058418866246938705,
-0.26416832208633423,
-0.01971558667719364,
0.1655128300189972,
0.020151356235146523,
0.1763118952512741,
0.08555377274751663,
-0.20542757213115692,
-0.07315801084041595,
-0.2630322575569153,
-0.2853458523750305,
0.01994878053665161,
0.20545348525047302,
0.1803489327430725,
0.47726646065711975,
-0.02497725561261177,
-0.13536295294761658,
-0.20539727807044983,
-0.31538599729537964,
0.044233933091163635,
0.24649442732334137,
-0.01670108363032341,
0.1939786672592163,
0.02137947268784046,
-0.25878795981407166,
-0.15713468194007874,
0.06886659562587738,
-0.08306439965963364,
-0.07055921852588654,
-0.05671199411153793,
0.43709757924079895,
0.10463985800743103,
0.30158403515815735,
0.12426186352968216,
0.0017406116239726543,
0.09092961996793747,
-0.09151965379714966,
-0.10100427269935608,
-0.19977374374866486,
-0.10293103754520416,
0.09081483632326126,
0.0139184994623065,
-0.15220442414283752,
0.4530831277370453,
-0.022693626582622528,
0.23972898721694946,
-0.4752228558063507,
-0.45463624596595764,
0.2639148235321045,
0.09467174112796783,
0.0703558400273323,
0.08312833309173584,
-0.10046899318695068,
0.23054206371307373,
-0.11517611145973206,
0.2874085009098053,
-0.36674216389656067,
-0.009985311888158321,
0.17113074660301208,
-0.3040323555469513,
-0.0911603569984436,
-0.042921487241983414,
-0.23733657598495483,
-0.21311722695827484,
-0.24206985533237457,
-0.1625315546989441,
0.19256317615509033,
0.0692962184548378,
0.07107711583375931,
-0.04821181669831276,
0.23994992673397064,
0.06124007701873779,
0.4208257496356964,
-0.05052335187792778,
-0.014203748665750027,
0.3403250277042389,
-0.14491303265094757,
-0.4585410952568054,
0.1990785300731659,
-0.07102541625499725,
0.4873737394809723,
0.18767456710338593,
-0.3572615683078766,
-0.14321410655975342,
-0.08768533915281296,
-0.010406111367046833,
-0.23097239434719086,
-0.31549352407455444,
0.4347068965435028,
0.08586824685335159,
-0.0017581282882019877,
-0.0180873554199934,
-0.20988695323467255,
-0.005837100557982922,
-0.11618607491254807,
0.11075142025947571,
0.018056144937872887,
0.5218026638031006,
0.016134928911924362,
0.5054334998130798,
-0.14929437637329102,
-0.18492361903190613,
0.07876097410917282,
-0.09148094803094864,
0.13068203628063202,
-0.07774313539266586,
-0.35435932874679565,
0.090920589864254,
-0.07847628742456436,
0.042308956384658813,
-0.11436467617750168,
-0.23755088448524475,
-0.254567950963974,
-0.2243155986070633,
0.1367323398590088,
0.2056722491979599,
-0.07492297142744064,
0.14705680310726166,
-0.021851666271686554,
0.2347731590270996,
-0.10058342665433884,
0.2911742627620697,
-0.05826980993151665,
-0.020645925775170326,
-0.0068819159641861916,
0.400992214679718,
0.24711166322231293,
0.04054994881153107,
-0.35047027468681335,
-0.4177767038345337,
-0.3089734613895416,
0.1535237431526184,
0.11115579307079315,
0.43414202332496643,
-0.25353115797042847,
0.13533954322338104,
0.25182271003723145,
-0.07312937080860138,
0.13054989278316498,
0.20158866047859192,
-0.07694026827812195,
0.130447655916214,
-0.562946081161499,
-0.21404916048049927,
-0.4025839567184448,
-0.20411497354507446,
0.3084556460380554,
-0.1378352791070938,
0.2591097354888916,
-0.05218682065606117,
-0.23618321120738983,
0.3772250711917877,
-0.0014566248282790184,
-0.3549470007419586,
-0.16548803448677063,
-0.3093607425689697,
-0.007102865260094404,
-0.3891414701938629,
0.1418219804763794,
-0.1630353182554245,
0.1648111790418625,
0.10335037857294083,
0.18025241792201996,
-0.04782743752002716,
-0.06736205518245697,
-0.24184861779212952,
0.12516994774341583,
0.15085382759571075,
-0.17966678738594055,
0.020629579201340675,
0.258308470249176,
0.40353620052337646,
0.024662038311362267,
0.12517046928405762,
0.16587336361408234,
-0.6877135038375854,
0.227950781583786,
0.14377635717391968,
0.033754073083400726,
-0.0006099491729401052,
-0.2813970446586609,
-0.015133311972022057,
0.02886364236474037,
0.2616085410118103,
-0.2789117395877838,
0.2849283516407013,
0.43181002140045166,
0.04355494678020477,
-0.3361482322216034,
-0.51023268699646,
-0.02851272001862526,
0.11905385553836823,
0.13070866465568542,
0.10727313905954361,
-0.319769024848938,
-0.23879672586917877,
0.1009456142783165,
0.23397916555404663,
0.3998080790042877,
-0.1230272725224495,
0.16318801045417786,
0.36901769042015076,
-0.056278303265571594,
0.6690495610237122,
-0.0701482892036438,
0.5010364651679993,
-0.2964501976966858,
-0.02369564026594162,
-0.021966924890875816,
-0.3330349922180176,
0.12492458522319794,
-0.08943187445402145,
0.019606316462159157,
0.4615965485572815,
0.022741906344890594,
0.1879117637872696,
0.08244270086288452,
0.5432868003845215,
-0.05619310960173607,
-0.3151736557483673,
0.08934259414672852,
0.0824311375617981,
-0.47152724862098694,
0.45541948080062866,
-0.11191888153553009,
0.12960617244243622,
0.264618456363678,
-0.08538999408483505,
-0.20248618721961975,
0.3169836103916168,
-0.10351858288049698,
0.5135722160339355,
-0.2603098154067993,
-0.7178825736045837,
0.22172799706459045,
0.193501278758049,
0.047580450773239136,
-0.016390422359108925,
-0.08404293656349182,
0.2869560718536377,
-0.5260494947433472,
-0.26488813757896423,
-0.11868198961019516,
0.14465603232383728,
0.4126048684120178,
-0.17664086818695068,
-0.17508643865585327,
0.04569493234157562,
-0.020709050819277763,
-0.34803280234336853,
-0.14750556647777557,
0.022915348410606384,
0.5239815711975098,
0.05061189457774162,
0.13825833797454834,
-0.24367207288742065,
-0.19852827489376068,
-0.11875973641872406,
0.13928954303264618,
0.18644115328788757,
-0.1920209378004074,
0.009255193173885345,
0.11267008632421494,
-0.23677068948745728,
0.026779234409332275,
0.40350961685180664,
0.24857358634471893,
-0.07548437267541885,
0.7604895830154419,
0.27010026574134827,
-0.21533815562725067,
-0.1895250678062439,
-0.5757730603218079,
0.18806733191013336,
-0.4746958017349243,
0.0904073566198349,
0.0883798748254776,
-0.0010318801505491138,
-0.025246506556868553,
0.0832522064447403,
0.2404925525188446,
-0.31857675313949585,
-0.2064388394355774,
-0.49794524908065796,
-0.24460327625274658,
-0.012178200297057629,
-0.09707378596067429,
0.14469052851200104,
0.406099408864975,
0.021310530602931976,
-0.0374530591070652,
-0.11762163788080215,
-0.24866139888763428,
-0.08124573528766632,
-0.0857519805431366,
-0.017890937626361847,
0.028844185173511505,
-0.2464592158794403,
0.018050460144877434,
0.13395720720291138,
0.11658068001270294,
-0.016181325539946556,
-0.05232386663556099,
-0.1377304047346115,
-0.05938057228922844,
0.06380239129066467,
0.15011151134967804,
-0.18413199484348297,
-0.15671761333942413,
-0.3472015857696533,
-0.16869591176509857,
0.06193755939602852,
0.3511338531970978,
0.07319808006286621,
-0.03360229730606079,
0.10005582869052887,
-0.1815093457698822,
0.030569247901439667,
-0.23939502239227295,
0.19995446503162384,
-0.15811868011951447,
-0.03446071222424507,
0.2619600296020508,
0.21255406737327576,
0.04916205257177353,
0.17512017488479614,
-0.29674962162971497,
0.012221925891935825,
-0.22475232183933258,
0.0795711874961853,
0.38787397742271423,
-0.5469017028808594,
0.3201324939727783,
-0.11404629796743393,
0.32639315724372864,
0.24810223281383514,
-0.1112370565533638,
0.006944985594600439,
0.20776286721229553,
0.19299951195716858,
-0.3124340772628784,
-0.17502783238887787,
-0.204764261841774,
0.025552699342370033,
0.19517068564891815,
-0.033690739423036575,
0.033522408455610275,
0.20342522859573364,
0.24184280633926392,
0.21766789257526398,
0.3072523772716522,
-0.21943247318267822,
0.16087229549884796,
0.2555878758430481,
-0.031513795256614685,
0.18669362366199493,
0.4408336281776428,
0.28957831859588623,
0.03443017601966858,
0.20874279737472534,
-0.0501234233379364,
0.2683556079864502,
-0.035518694669008255,
0.049307938665151596,
0.27842867374420166,
-0.1406368762254715,
-0.1351006180047989,
0.15987148880958557,
-0.0666535422205925,
-0.09757288545370102,
-0.23563602566719055,
0.13799481093883514,
-0.5082178115844727,
-0.0016121090156957507,
-0.32769975066185,
-0.06167144700884819,
-0.36062926054000854,
0.13358010351657867,
-0.2579290568828583,
-0.023371389135718346,
0.07977570593357086,
0.17723067104816437,
0.1117880642414093,
0.10143518447875977,
-0.4469512701034546,
0.1259380728006363,
-0.40831735730171204,
0.044462013989686966,
-0.23946309089660645,
0.31014639139175415,
-0.12115266174077988,
-0.08415872603654861,
0.18983674049377441,
0.29036247730255127,
-0.12193857133388519,
-0.1150248646736145,
0.17517787218093872,
0.47628629207611084,
0.1457410603761673,
0.04347012937068939,
-0.08061514049768448,
-0.029295027256011963,
-0.03212525323033333,
-0.019082484766840935,
0.22487451136112213,
0.2004399448633194,
-0.03977743163704872,
0.15629155933856964,
0.15418465435504913,
-0.1182023212313652,
0.18917368352413177,
0.1260014921426773,
0.02410740777850151,
0.11597130447626114,
0.2661473751068115,
0.07353900372982025,
-0.1547980010509491,
-0.1336258202791214,
-0.026175372302532196,
-0.3192780613899231,
-0.15224887430667877,
0.3894210457801819,
0.21273402869701385,
-0.23531891405582428,
-0.11317843943834305,
0.07375629991292953,
0.015780294314026833,
0.4464920163154602,
0.12910450994968414,
0.0046014366671442986,
-0.12044170498847961,
0.039634641259908676,
-0.20766010880470276,
0.2196229249238968,
-0.023898188024759293,
0.016629045829176903,
0.12267646938562393,
0.09477809816598892,
-0.02647356502711773,
-0.025328367948532104,
0.30330532789230347,
-0.12534089386463165,
0.1207335814833641,
-0.14345625042915344,
-0.27566492557525635,
-0.057589273899793625,
0.3088063895702362,
0.08149795979261398,
0.07550439238548279,
-0.29460012912750244,
0.016119061037898064,
0.02222360484302044,
0.11124920845031738,
-0.27230533957481384,
0.05816345661878586,
0.09985163807868958,
-0.3974209725856781,
0.26796284317970276,
-0.08305112272500992,
0.7890294790267944,
0.09276098757982254,
-0.10290755331516266,
-0.004498192109167576,
-0.2056700736284256,
-0.34053999185562134,
0.27081653475761414,
0.09723298251628876,
0.5719097256660461,
0.1613239198923111,
-0.12863324582576752,
-0.4244961440563202,
0.3670113980770111,
-0.16975560784339905,
-0.6661802530288696,
-0.16411809623241425,
0.19225037097930908,
-0.11734050512313843,
0.2502700686454773,
0.22450220584869385,
0.10295512527227402,
0.30653074383735657,
-0.28956156969070435,
-0.35856786370277405,
-0.12028040736913681,
0.5804310441017151,
-0.2649385929107666,
-0.20652952790260315,
-0.2863224446773529,
0.14597272872924805,
-0.16293908655643463,
0.1301877498626709,
-0.16513273119926453,
0.11296167969703674,
0.026145366951823235,
-0.003978056367486715,
-0.01535076554864645,
0.20361316204071045,
0.24844445288181305,
0.16647297143936157,
-0.14003951847553253,
0.4426271915435791,
-0.14893010258674622,
-0.23235394060611725,
-0.3859891891479492,
-0.24707618355751038
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
Hi ! Thanks for reporting.
This looks like a bug, could you try to provide a minimal code example that reproduces the issue ? This would be very helpful !
Otherwise I can try to run the wav2vec2 code above on my side but probably not this week..
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 48
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
Hi ! Thanks for reporting.
This looks like a bug, could you try to provide a minimal code example that reproduces the issue ? This would be very helpful !
Otherwise I can try to run the wav2vec2 code above on my side but probably not this week..
|
[
-0.058142922818660736,
-0.4536781907081604,
-0.0355624258518219,
0.25699254870414734,
0.08609415590763092,
-0.003773584496229887,
0.11553133279085159,
-0.06296036392450333,
0.040804699063301086,
0.3191870152950287,
0.2538118362426758,
0.0701289176940918,
-0.30725613236427307,
-0.04254625365138054,
-0.22199472784996033,
-0.24634692072868347,
0.18920780718326569,
-0.1294749528169632,
0.3075389862060547,
0.3353133201599121,
-0.42579737305641174,
0.5416622161865234,
-0.40262115001678467,
0.19734902679920197,
-0.4143264889717102,
0.005931675899773836,
-0.25838425755500793,
0.4944562017917633,
0.38945430517196655,
-0.35672619938850403,
0.07124754041433334,
-0.3931775391101837,
0.15090146660804749,
0.15283885598182678,
-0.00012249733845237643,
-0.12420672178268433,
0.03992481157183647,
-0.04017924517393112,
0.4106861352920532,
0.23250646889209747,
0.2327500283718109,
0.11603306978940964,
-0.0896717756986618,
-0.00013678190589416772,
0.1803089827299118,
0.317689448595047,
0.023025620728731155,
-0.04366401955485344,
0.3788876235485077,
0.24942289292812347,
0.10863520950078964,
0.2697453498840332,
0.058482080698013306,
-0.017271863296628,
-0.3373917043209076,
-0.4087218940258026,
-0.03560689464211464,
0.18798868358135223,
0.4800274074077606,
-0.388068825006485,
0.2081041783094406,
0.22986112534999847,
-0.24762263894081116,
0.02224528230726719,
-0.3043948709964752,
0.0047377487644553185,
0.37761610746383667,
-0.5156351923942566,
0.07045798003673553,
-0.089327871799469,
-0.10664314776659012,
-0.19181030988693237,
0.3175114095211029,
0.0956241711974144,
0.12410446256399155,
-0.8489116430282593,
0.11942223459482193,
0.2649236023426056,
-0.3856465816497803,
0.09654607623815536,
-0.03316838666796684,
0.0699978768825531,
-0.060278475284576416,
-0.1735411137342453,
0.1558324098587036,
-0.05035722628235817,
0.05991983413696289,
0.1652521789073944,
0.129703089594841,
0.3123299181461334,
-0.2853076159954071,
0.2992669939994812,
-0.0785926878452301,
0.056382305920124054,
-0.4582308530807495,
-0.010789440013468266,
0.02455993741750717,
0.21383313834667206,
-0.31557396054267883,
-0.21936996281147003,
-0.07228187471628189,
0.0577097088098526,
0.21032974123954773,
0.1877656877040863,
0.2185826450586319,
-0.1882558912038803,
0.04422939196228981,
-0.5686362981796265,
0.1675228774547577,
-0.5050089359283447,
-0.14249537885189056,
-0.08116783201694489,
-0.008025047369301319,
-0.5607304573059082,
0.3573496639728546,
0.39950084686279297,
0.23021544516086578,
-0.10807277262210846,
-0.33860787749290466,
0.21012160181999207,
-0.04086467623710632,
0.2901066839694977,
0.27346545457839966,
0.297185480594635,
0.31468337774276733,
0.7152159214019775,
-0.017782019451260567,
0.2513945698738098,
-0.5292394161224365,
0.06867306679487228,
0.07883480191230774,
0.12384270131587982,
-0.276554137468338,
0.10745815187692642,
0.21243679523468018,
0.018771814182400703,
0.1902925670146942,
0.13903489708900452,
0.2973746061325073,
-0.36881449818611145,
-0.01845237985253334,
-0.2097492665052414,
-0.17067398130893707,
0.21967469155788422,
0.23052367568016052,
0.1968378871679306,
-0.009325830265879631,
0.06100766360759735,
0.023853808641433716,
0.22543418407440186,
-0.3823585510253906,
-0.3544295132160187,
-0.12698842585086823,
0.025281377136707306,
0.39795443415641785,
0.4406103193759918,
0.34505143761634827,
-0.10687278211116791,
0.3525732457637787,
-0.32990792393684387,
-0.12402620911598206,
-0.42047205567359924,
-0.36169835925102234,
-0.3426900804042816,
-0.08012598752975464,
0.29534903168678284,
0.030153660103678703,
0.31209349632263184,
0.3005545139312744,
-0.05833347514271736,
0.18983112275600433,
0.3420277237892151,
0.23217637836933136,
-0.1541692018508911,
-0.14279086887836456,
-0.051297400146722794,
-0.20754627883434296,
-0.2447626292705536,
0.02872689999639988,
0.10450839251279831,
-0.08764811605215073,
-0.077046237885952,
0.24264311790466309,
0.09129346162080765,
-0.1405433565378189,
-0.3693987727165222,
0.4593506455421448,
-0.24297088384628296,
-0.1423669457435608,
0.25211116671562195,
-0.18322084844112396,
0.08267677575349808,
-0.03617872670292854,
0.01555157732218504,
0.05547037348151207,
-0.03935294970870018,
-0.06999735534191132,
-0.07501653581857681,
0.2342378795146942,
0.12123493105173111,
0.007190088741481304,
0.29431915283203125,
0.2643739581108093,
-0.025583110749721527,
0.047280024737119675,
-0.3173389136791229,
0.025003433227539062,
0.09443105012178421,
-0.18373428285121918,
-0.05931684374809265,
0.44183945655822754,
0.14879758656024933,
0.1914484202861786,
0.2850687801837921,
-0.1577911525964737,
-0.28667718172073364,
0.007583154831081629,
-0.08880997449159622,
0.03141556680202484,
-0.20195797085762024,
0.041602347046136856,
0.5415989756584167,
0.09244802594184875,
-0.20502124726772308,
-0.07755643129348755,
-0.04324519261717796,
-0.32791316509246826,
-0.34416311979293823,
-0.0958043560385704,
0.30613479018211365,
0.23242402076721191,
0.21318209171295166,
0.09310895949602127,
0.22492548823356628,
0.17834877967834473,
-0.1250429004430771,
-0.1788376122713089,
-0.01898488588631153,
0.16573143005371094,
-0.309358149766922,
0.09457572549581528,
0.023397983983159065,
0.1686376929283142,
-0.2740837633609772,
0.4795754551887512,
0.11126416176557541,
-0.03925081714987755,
0.24645262956619263,
-0.16478827595710754,
0.18577639758586884,
0.12391465902328491,
0.08680595457553864,
0.2500815689563751,
0.29579833149909973,
0.35409849882125854,
0.07377691566944122,
-0.09430735558271408,
-0.37737107276916504,
-0.32852843403816223,
0.06343412399291992,
0.1519416719675064,
0.2393573820590973,
-0.025990687310695648,
0.058411531150341034,
-0.1990373432636261,
0.20179735124111176,
-0.016758045181632042,
-0.4524725079536438,
0.7369390726089478,
0.07086830586194992,
-0.15863730013370514,
0.3013821840286255,
-0.3818293511867523,
-0.10298284143209457,
0.25647130608558655,
0.0558754988014698,
0.014250395819544792,
0.1514873504638672,
-0.07932110875844955,
-0.07018546760082245,
0.015665335580706596,
-0.06301702558994293,
-0.1121387854218483,
0.024523351341485977,
-0.33668553829193115,
0.14371240139007568,
-0.07035277783870697,
0.5119796991348267,
-0.3930775821208954,
-0.4185870587825775,
-0.01586407795548439,
-0.14486511051654816,
0.07371028512716293,
0.4412176012992859,
-0.1272929608821869,
-0.0961327999830246,
0.016549693420529366,
0.00429797638207674,
0.12297510355710983,
0.2859154939651489,
0.3148193061351776,
-0.04218185320496559,
-0.10145625472068787,
-0.09973635524511337,
0.2983364164829254,
-0.1647484451532364,
0.20879927277565002,
0.3532308340072632,
-0.03722481429576874,
0.0849432572722435,
0.16452656686306,
-0.009509141556918621,
0.057612694799900055,
0.2622983753681183,
0.04403488337993622,
0.03750041127204895,
0.17676696181297302,
-0.41250696778297424,
0.09985996782779694,
-0.31872475147247314,
0.19152134656906128,
0.2610323429107666,
0.1713409572839737,
-0.39749622344970703,
-0.27629247307777405,
-0.028309237211942673,
-0.4276900589466095,
-0.18109484016895294,
0.05519925430417061,
-0.1846834123134613,
0.2561767101287842,
-0.25474581122398376,
0.09003853797912598,
0.08470553904771805,
0.26424193382263184,
-0.20377036929130554,
-0.14338074624538422,
0.17167939245700836,
-0.08444176614284515,
-0.2580585181713104,
-0.1759232133626938,
0.2507467269897461,
0.16632701456546783,
0.03406030312180519,
-0.23007521033287048,
-0.18440578877925873,
-0.31759992241859436,
0.01960892230272293,
0.032272279262542725,
-0.05728013068437576,
0.2107924222946167,
0.38464057445526123,
0.11097635328769684,
-0.09155084937810898,
0.024196365848183632,
-0.1118699237704277,
0.12265493720769882,
0.025052988901734352,
0.14209963381290436,
0.22012455761432648,
0.07127350568771362,
-0.16959817707538605,
0.541844367980957,
0.5851695537567139,
0.12319667637348175,
0.3024081885814667,
0.11544601619243622,
0.01676959916949272,
0.03435270115733147,
-0.18132755160331726,
0.04325813800096512,
-0.453823447227478,
-0.1846063882112503,
0.1852770745754242,
0.13678866624832153,
-0.3691617548465729,
-0.2682444155216217,
0.20604464411735535,
-0.34498369693756104,
-0.11765480041503906,
0.08894509822130203,
0.09459468722343445,
0.21256354451179504,
-0.20404042303562164,
-0.03361121937632561,
0.0981822982430458,
0.0672459825873375,
-0.19226796925067902,
0.1643068939447403,
-0.18594200909137726,
-0.2114783376455307,
-0.005840230733156204,
-0.5571396946907043,
-0.38482314348220825,
0.32805928587913513,
0.12192299216985703,
0.5821325778961182,
-0.06776509433984756,
-0.1720130890607834,
-0.07614452391862869,
-0.3084477484226227,
0.8612216711044312,
-0.1240648403763771,
-0.1728719174861908,
0.2027512788772583,
0.21316958963871002,
0.04803290590643883,
-0.19543401896953583,
-0.20255924761295319,
0.3766903877258301,
0.058496031910181046,
-0.08274000883102417,
0.3347225785255432,
0.014659329317510128,
0.057753097265958786,
-0.07586374878883362,
-0.1576247662305832,
-0.11390329897403717,
-0.3956276774406433,
-0.26471972465515137,
0.07986962795257568,
0.29542338848114014,
0.06083288788795471,
0.01832347735762596,
-0.4867067337036133,
0.05888700857758522,
0.1265333592891693,
-0.047633152455091476,
0.2799249291419983,
-0.10757334530353546,
0.10518866777420044,
-0.19546619057655334,
0.20812848210334778,
-0.30918124318122864,
0.3162393271923065,
-0.2209806740283966,
-0.030439293012022972,
-0.11674061417579651,
0.2173628956079483,
0.3433980345726013,
-0.11157748103141785,
0.4617956876754761,
0.48352253437042236,
0.1073465645313263,
0.04665733873844147,
-0.30233970284461975,
0.39546123147010803,
-0.2997349202632904,
-0.2929951548576355,
0.3063987195491791,
0.22527346014976501,
0.10647693276405334,
0.3608357906341553,
0.26589497923851013,
0.12518629431724548,
-0.09708265215158463,
0.5405080914497375,
-0.29468584060668945,
-0.06812050938606262,
-0.057851552963256836,
0.09798214584589005,
0.9706496000289917,
0.16721779108047485,
0.1279154121875763,
0.06668739020824432,
-0.49592992663383484,
-0.20375579595565796,
-0.1253499835729599,
0.32115355134010315,
-0.25029832124710083,
-0.20166349411010742,
0.04836601763963699,
-0.10472137480974197,
0.15142954885959625,
-0.11486214399337769,
-0.3159129023551941,
0.43448418378829956,
0.08562653511762619,
-0.24076829850673676,
-0.10794233530759811,
-0.33933377265930176,
-0.06388461589813232,
-0.16768182814121246,
0.05291767045855522,
0.033336617052555084,
0.12992127239704132,
-0.07859530299901962,
-0.29019299149513245,
0.160325288772583,
0.43778088688850403,
-0.38648170232772827,
-0.5973953008651733,
0.05852556973695755,
-0.2218552529811859,
0.12962126731872559,
0.024700133129954338,
0.21419507265090942,
0.11333940923213959,
0.345757395029068,
0.18833135068416595,
-0.06397387385368347,
-0.25100916624069214,
0.03704078868031502,
0.41175466775894165,
-0.025216424837708473,
-0.12669962644577026,
0.01861380599439144,
-0.12159758806228638,
-0.1454344242811203,
-0.2624291479587555,
0.3467596173286438,
-0.17873995006084442,
-0.05812818184494972,
-0.35538551211357117,
0.39691075682640076,
0.06647766381502151,
0.22348226606845856,
-0.1788855940103531,
0.25911590456962585,
-0.09721501916646957,
-0.1863848865032196,
0.07092640548944473,
0.08987592160701752,
-0.5308449268341064,
0.49425995349884033,
-0.599137544631958,
-0.08748627454042435,
0.04042305052280426,
0.08994730561971664,
-0.004493432585150003,
-0.14277894794940948,
0.144073948264122,
0.27404436469078064,
-0.03753362596035004,
-0.18937787413597107,
-0.08322609961032867,
-0.5538091063499451,
-0.06391781568527222,
-0.03810371458530426,
0.38454344868659973,
-0.1365794539451599,
0.1988963484764099,
-0.2631211280822754,
0.034352030605077744,
0.08596712350845337,
0.00007651455234736204,
-0.416637659072876,
-0.15240618586540222,
-0.08183570951223373,
-0.108916737139225,
0.0761638656258583,
-0.06807415187358856,
0.04931051656603813,
0.12972654402256012,
0.030705858021974564,
-0.22120429575443268,
0.049631938338279724,
-0.14512938261032104,
0.10468753427267075,
0.05240871384739876,
-0.19594259560108185,
-0.11743026971817017,
0.17339102923870087,
-0.013985765166580677,
0.33724236488342285,
-0.27686628699302673,
-0.07661060243844986,
0.03116164356470108,
0.12523581087589264,
-0.1028776615858078,
-0.012092686258256435,
0.14433114230632782,
0.11662014573812485,
0.04616507142782211,
0.07222195714712143,
0.13746066391468048,
0.07058527320623398,
-0.28639572858810425,
0.10496658831834793,
-0.036860961467027664,
0.266977459192276,
0.140118807554245,
0.2992386221885681,
-0.11956937611103058,
0.4209008514881134,
0.07167261093854904,
0.01219302136451006,
0.10211020708084106,
-0.003100462956354022,
-0.021077480167150497,
0.007285434752702713,
-0.15871834754943848,
-0.18283696472644806,
-0.17833450436592102,
-0.1451348215341568,
-0.2222430557012558,
-0.1602768898010254,
0.1800926774740219,
0.2320832908153534,
-0.18912503123283386,
0.35960397124290466,
0.3616650700569153,
0.18559303879737854,
-0.1767398566007614,
0.10094934701919556,
-0.08479512482881546,
-0.11321435123682022,
-0.20288017392158508,
0.31185638904571533,
0.19511458277702332,
-0.4828316271305084,
0.31244587898254395,
0.07684601843357086,
0.21621572971343994,
-0.3997159004211426,
-0.32706406712532043,
0.09996301680803299,
0.21165154874324799,
0.15683995187282562,
-0.11750622093677521,
-0.16229881346225739,
0.028910744935274124,
0.5074875354766846,
-0.010263110511004925,
0.1445215493440628,
-0.16567224264144897,
0.060352589935064316,
-0.09376887232065201,
-0.21056529879570007,
-0.28168678283691406,
0.11445903778076172,
-0.30638328194618225,
0.40820425748825073,
-0.26976877450942993,
0.4192984700202942,
-0.5900569558143616,
-0.3131828010082245,
-0.3440949320793152,
0.3409809470176697,
-0.28858068585395813,
-0.12610448896884918,
0.13793595135211945,
0.013824637979269028,
0.029238691553473473,
0.10499546676874161,
0.33503344655036926,
0.10359334200620651,
0.5011772513389587,
0.18397873640060425,
-0.12753690779209137,
-0.024708108976483345,
-0.2411273866891861,
0.24837951362133026,
0.014742746017873287,
-0.20528411865234375,
0.19892488420009613,
0.4318736493587494,
-0.07154858857393265,
-0.16164153814315796,
-0.017357563599944115,
0.5543359518051147,
0.37768644094467163,
-0.7202734351158142,
-0.05498087778687477,
0.1337956339120865,
0.16199079155921936,
0.03909587860107422,
0.1831469088792801,
0.18679751455783844,
0.27722659707069397,
-0.03018982894718647,
-0.0359303243458271,
-0.057224661111831665,
0.03358910232782364,
0.30758336186408997,
0.2061607986688614,
-0.02191869169473648,
0.24361887574195862,
-0.17959076166152954,
-0.1927604228258133,
0.09783583879470825,
0.14973030984401703,
-0.597499430179596,
0.03358394652605057,
0.24083539843559265,
-0.34228670597076416,
0.06265969574451447,
0.10909027606248856,
0.023920204490423203,
-0.045377179980278015,
0.37042301893234253,
-0.07111496478319168,
0.330256849527359,
-0.23252268135547638,
-0.20240187644958496,
-0.3596879839897156,
0.06607438623905182,
0.030629495158791542,
0.08327756077051163,
-0.1472667157649994,
-0.16488274931907654,
-0.09343811124563217,
0.15572094917297363,
0.06484516710042953,
0.14286771416664124,
0.26117825508117676,
0.724750280380249,
-0.6224195957183838,
0.28864994645118713,
0.3918006122112274,
-0.029621049761772156,
0.2471475750207901,
-0.40015119314193726,
0.1693505048751831,
0.010367143899202347,
0.0022284104488790035,
-0.17733371257781982,
0.15398955345153809,
-0.16941548883914948,
0.4468982219696045,
0.15492793917655945,
0.06436415761709213,
0.2695634961128235,
0.033614542335271835,
-0.11734810471534729,
0.01934068836271763,
0.2997877299785614,
0.3006204068660736,
-0.5452708601951599,
0.21351449191570282,
0.07730772346258163,
-0.4484579563140869,
-0.01995720900595188,
0.009789327159523964,
-0.0015114482957869768,
0.11823778599500656,
0.13964217901229858,
-0.15437377989292145,
0.01912830024957657,
-0.09322124719619751,
0.14225931465625763,
0.031706541776657104,
0.3753741383552551,
-0.03673161193728447,
0.17894358932971954,
-0.237819105386734,
0.05141321197152138,
0.08945547789335251,
-0.17669066786766052,
-0.3162965178489685,
-0.36098840832710266,
0.5703047513961792,
-0.48236578702926636,
0.10833194106817245,
-0.05669950321316719,
-0.1274661421775818,
-0.052769243717193604,
0.07121545821428299,
-0.6215378046035767,
0.2518405318260193,
-0.36082422733306885,
-0.6840994954109192,
0.1833939254283905,
-0.1227838546037674,
0.11387933790683746,
-0.04787082597613335,
0.2918035387992859,
-0.18875743448734283
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
```
from datasets import load_dataset
dataset = load_dataset('glue', 'mrpc', split='train')
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
```
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 22
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
```
from datasets import load_dataset
dataset = load_dataset('glue', 'mrpc', split='train')
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
```
|
[
-0.21642187237739563,
-0.2695315182209015,
-0.030776364728808403,
0.1850232630968094,
0.17840170860290527,
0.13764165341854095,
0.05756884813308716,
-0.0025022393092513084,
0.008718346245586872,
0.2766419053077698,
0.1489739716053009,
0.16106019914150238,
-0.2854520082473755,
-0.102318175137043,
-0.12377582490444183,
-0.18284755945205688,
0.19459763169288635,
-0.16329848766326904,
0.26388707756996155,
0.3403261601924896,
-0.41507047414779663,
0.47927969694137573,
-0.3459639847278595,
0.0734495148062706,
-0.5422175526618958,
-0.1041577160358429,
-0.29761505126953125,
0.43964606523513794,
0.19728915393352509,
-0.45179978013038635,
-0.013877306133508682,
-0.18383295834064484,
0.21812516450881958,
0.1776026487350464,
-0.00012069214426446706,
-0.10656488686800003,
0.05752470716834068,
-0.021633945405483246,
0.33318662643432617,
0.22948458790779114,
0.09891513735055923,
0.028636984527111053,
-0.0890321135520935,
-0.08559701591730118,
0.17400580644607544,
0.2978877127170563,
0.09632822871208191,
-0.12827393412590027,
0.5274696946144104,
0.38252323865890503,
0.07585737854242325,
0.22729699313640594,
0.08764857798814774,
0.007820614613592625,
-0.18784070014953613,
-0.28881385922431946,
0.020355673506855965,
0.20242662727832794,
0.5406011939048767,
-0.30690014362335205,
0.08761031925678253,
0.2608904242515564,
-0.3369738459587097,
0.005855597089976072,
-0.3788699805736542,
-0.0015100627206265926,
0.34097525477409363,
-0.49721500277519226,
0.13559597730636597,
-0.06810180842876434,
-0.013013040646910667,
-0.32198047637939453,
0.15283724665641785,
-0.02167375385761261,
0.18630655109882355,
-0.8767050504684448,
-0.011593768373131752,
0.19895799458026886,
-0.314475953578949,
0.07411740720272064,
-0.15295590460300446,
-0.05945562943816185,
-0.04081264138221741,
-0.11914345622062683,
0.18302656710147858,
0.02304585836827755,
0.04270678386092186,
0.16738452017307281,
0.24123811721801758,
0.22891750931739807,
-0.19544658064842224,
0.273668110370636,
-0.10218030214309692,
0.13654278218746185,
-0.5750370025634766,
-0.003419414395466447,
-0.03584320843219757,
0.11982890963554382,
-0.24780482053756714,
-0.36532872915267944,
-0.010134407319128513,
0.06694251298904419,
0.29347822070121765,
0.16941946744918823,
0.26303568482398987,
-0.1541760265827179,
0.050552308559417725,
-0.5396238565444946,
0.23374693095684052,
-0.49707332253456116,
-0.17936155200004578,
-0.03974805399775505,
-0.03935297951102257,
-0.5704110860824585,
0.32871320843696594,
0.43256786465644836,
0.2949966788291931,
-0.07710858434438705,
-0.3808992803096771,
0.1982301026582718,
-0.03431284427642822,
0.1575935333967209,
0.18641549348831177,
0.2853853404521942,
0.3009820282459259,
0.6022756695747375,
-0.10891091078519821,
0.24309752881526947,
-0.5615467429161072,
-0.02491876110434532,
0.006589895114302635,
0.026332441717386246,
-0.36802250146865845,
0.1488277167081833,
0.2685832679271698,
0.05363570898771286,
0.12491892278194427,
0.1504218578338623,
0.13725385069847107,
-0.37017199397087097,
-0.13979339599609375,
-0.23612947762012482,
-0.2652803659439087,
0.22847484052181244,
0.21428705751895905,
0.23830612003803253,
-0.047464508563280106,
-0.023805486038327217,
0.026291092857718468,
0.3022710978984833,
-0.3516976237297058,
-0.3986409902572632,
-0.12663839757442474,
0.031595379114151,
0.3112644851207733,
0.2649722993373871,
0.08642086386680603,
0.1411968618631363,
0.41623589396476746,
-0.2684277892112732,
-0.15045785903930664,
-0.39686891436576843,
-0.2766779959201813,
-0.3078664243221283,
-0.06563867628574371,
0.4170377850532532,
-0.13652700185775757,
0.2900330126285553,
0.29609161615371704,
0.03144361078739166,
0.19459304213523865,
0.3655439615249634,
0.1552819162607193,
-0.08138471841812134,
-0.05056971311569214,
0.08323578536510468,
-0.02055939845740795,
-0.2881670594215393,
-0.19922414422035217,
0.17603819072246552,
-0.07383128255605698,
-0.09783843159675598,
0.31559157371520996,
0.16299200057983398,
0.08186879754066467,
-0.2875581979751587,
0.49074235558509827,
-0.1638597995042801,
-0.1147923395037651,
0.21943260729312897,
-0.17016801238059998,
0.1143035888671875,
0.0020510051399469376,
0.05975357070565224,
0.005503672640770674,
-0.10012282431125641,
-0.07470453530550003,
-0.08218623697757721,
0.37259823083877563,
0.04935293272137642,
0.03293251246213913,
0.42883241176605225,
0.12511391937732697,
0.042679063975811005,
-0.03800295293331146,
-0.44120070338249207,
-0.14103901386260986,
0.036427177488803864,
-0.14548355340957642,
0.12022089958190918,
0.21549130976200104,
0.012320035137236118,
0.14365452527999878,
0.27996671199798584,
-0.17073269188404083,
-0.36521369218826294,
0.026243744418025017,
-0.08552781492471695,
0.04704219847917557,
-0.25363582372665405,
-0.07403355091810226,
0.5049316883087158,
-0.04102999344468117,
-0.06585244834423065,
-0.1183074414730072,
-0.0357053279876709,
-0.27683326601982117,
-0.4343211054801941,
-0.03777405619621277,
0.3438783288002014,
0.2160581648349762,
0.14897559583187103,
0.048038970679044724,
0.3426545262336731,
0.18630512058734894,
0.008138676173985004,
-0.15192659199237823,
-0.06055954471230507,
0.21190351247787476,
-0.3094344139099121,
0.09223520010709763,
0.04352657496929169,
0.16802316904067993,
-0.1974242478609085,
0.33086296916007996,
0.05125219374895096,
0.04555806145071983,
0.30312472581863403,
-0.13086451590061188,
0.1274561733007431,
0.1350085437297821,
0.12182919681072235,
0.1568623185157776,
0.15459854900836945,
0.27939867973327637,
0.07498373091220856,
-0.027178166434168816,
-0.264630526304245,
-0.30501407384872437,
0.024809537455439568,
0.27887389063835144,
0.1574844866991043,
0.007560631725937128,
0.04768078774213791,
-0.32259631156921387,
0.1222754418849945,
-0.022054335102438927,
-0.3254919946193695,
0.7709751725196838,
0.139693483710289,
-0.09179239720106125,
0.2921943664550781,
-0.437214732170105,
-0.10928619652986526,
0.28873875737190247,
0.09581449627876282,
0.01829158142209053,
0.12131565809249878,
-0.07258738577365875,
-0.006696182768791914,
-0.1947636604309082,
-0.0800308957695961,
0.0012707278365269303,
0.16168312728405,
-0.3943111300468445,
0.056745368987321854,
-0.14572666585445404,
0.3488924205303192,
-0.38662371039390564,
-0.4130350351333618,
-0.04369283467531204,
-0.20898279547691345,
-0.0044997576624155045,
0.34860101342201233,
-0.008753773756325245,
0.09810566902160645,
0.05097007006406784,
-0.15003295242786407,
0.14289356768131256,
0.1455201655626297,
0.266249418258667,
-0.0906180888414383,
-0.12540940940380096,
-0.1048678457736969,
0.39536744356155396,
-0.14870774745941162,
0.2262793928384781,
0.2536703944206238,
0.05338018387556076,
-0.022771229967474937,
0.12295691668987274,
-0.10322170704603195,
0.0013775223633274436,
0.36771276593208313,
0.034486498683691025,
0.07142648845911026,
0.07288840413093567,
-0.3751200735569,
0.1372561752796173,
-0.3081074655056,
0.18053869903087616,
0.14202727377414703,
0.1769641786813736,
-0.428165078163147,
-0.15453515946865082,
-0.23902173340320587,
-0.44915178418159485,
-0.20150426030158997,
0.04727337136864662,
-0.26944500207901,
0.2583691477775574,
-0.26008349657058716,
0.1403764933347702,
0.12281886488199234,
0.3062790036201477,
-0.10060568153858185,
-0.19496145844459534,
0.2093828320503235,
-0.053371161222457886,
-0.26595592498779297,
-0.21523518860340118,
0.09531882405281067,
0.149229496717453,
-0.008938262239098549,
-0.07561446726322174,
-0.20120184123516083,
-0.30009326338768005,
-0.1328931748867035,
-0.004121818579733372,
-0.0031258787494152784,
0.3379203975200653,
0.5044849514961243,
0.15376582741737366,
-0.08958570659160614,
0.02805631421506405,
-0.19149374961853027,
0.081686832010746,
0.14494659006595612,
0.14349506795406342,
0.1560184806585312,
0.18274983763694763,
-0.12496546655893326,
0.4865586459636688,
0.6543418765068054,
-0.0066313971765339375,
0.3675025403499603,
0.000898050086107105,
0.019104227423667908,
0.0103920828551054,
-0.25582611560821533,
0.07087832689285278,
-0.4434511363506317,
-0.0943344458937645,
0.19675201177597046,
0.14017410576343536,
-0.3902764618396759,
-0.25334033370018005,
0.19719332456588745,
-0.36843767762184143,
-0.16614887118339539,
0.167674720287323,
0.028736216947436333,
0.2189527004957199,
-0.09089910984039307,
-0.08637717366218567,
0.017486371099948883,
0.023345084860920906,
-0.14181998372077942,
0.14240576326847076,
-0.1911933422088623,
-0.20005159080028534,
-0.1622467041015625,
-0.4725302755832672,
-0.546419084072113,
0.442081093788147,
0.19025036692619324,
0.5572495460510254,
-0.00041867257095873356,
-0.10336250811815262,
-0.0077228122390806675,
-0.24831797182559967,
0.9616143107414246,
-0.2557919919490814,
-0.23216313123703003,
0.26235607266426086,
0.3185877501964569,
-0.14501045644283295,
-0.06318160146474838,
-0.3186498284339905,
0.33449506759643555,
0.15415836870670319,
0.07220283895730972,
0.24508050084114075,
-0.12325934320688248,
0.1116064190864563,
-0.096440888941288,
-0.16937784850597382,
-0.12990324199199677,
-0.3090291917324066,
-0.29477012157440186,
-0.10303527116775513,
0.2547098696231842,
0.07254447042942047,
0.06472329795360565,
-0.28760114312171936,
-0.030470261350274086,
0.055719561874866486,
-0.08929787576198578,
0.3242608606815338,
-0.05140519514679909,
0.17787477374076843,
-0.008767313323915005,
0.12907211482524872,
-0.3243992328643799,
0.33588603138923645,
-0.10609304904937744,
0.06696884334087372,
-0.2574522793292999,
0.12268289923667908,
0.24834410846233368,
-0.08436530083417892,
0.5241113305091858,
0.4933408796787262,
0.055774468928575516,
-0.007918918505311012,
-0.3167232275009155,
0.4300366938114166,
-0.31851717829704285,
-0.09908726066350937,
0.4587622284889221,
0.4184078276157379,
-0.05520935356616974,
0.09673528373241425,
0.34633317589759827,
0.2058129459619522,
-0.1845182180404663,
0.38745853304862976,
-0.19013340771198273,
-0.18937928974628448,
0.09835592657327652,
0.11404632031917572,
1.0056912899017334,
0.020904459059238434,
0.19676299393177032,
-0.03634701296687126,
-0.41719937324523926,
-0.0878034383058548,
-0.16305005550384521,
0.3706018030643463,
-0.1769149899482727,
-0.19231580197811127,
0.018592195585370064,
-0.06885536015033722,
0.2651751935482025,
0.03026888519525528,
-0.3834739923477173,
0.5674394369125366,
0.1610328108072281,
-0.22661004960536957,
-0.09264169633388519,
-0.15821261703968048,
-0.14060665667057037,
-0.2820173501968384,
-0.09943264722824097,
0.01546472031623125,
0.05810980871319771,
-0.15246497094631195,
-0.24077045917510986,
0.16428734362125397,
0.39620453119277954,
-0.35484787821769714,
-0.58555668592453,
-0.022485103458166122,
-0.3942808210849762,
0.15943731367588043,
-0.14407211542129517,
0.15301990509033203,
0.07048556208610535,
0.5233265161514282,
0.11553613841533661,
-0.026822218671441078,
-0.19012854993343353,
0.028518695384263992,
0.47664913535118103,
-0.04358725622296333,
0.0016891296254470944,
0.03641602769494057,
0.10923992097377777,
-0.1305309683084488,
-0.3378489017486572,
0.2988407015800476,
-0.15085209906101227,
-0.09667838364839554,
-0.29320085048675537,
0.17584282159805298,
0.13696937263011932,
0.05068456754088402,
-0.22250379621982574,
0.2744402587413788,
-0.06368069350719452,
-0.24752944707870483,
0.04863978177309036,
0.036910008639097214,
-0.46898820996284485,
0.6542810797691345,
-0.5486724972724915,
-0.16867956519126892,
0.007155672647058964,
0.19733044505119324,
0.0030330121517181396,
-0.14461949467658997,
0.2444833219051361,
0.29996824264526367,
-0.02373475767672062,
-0.19717134535312653,
-0.12121637165546417,
-0.44432327151298523,
-0.08502156287431717,
-0.021260377019643784,
0.33506789803504944,
-0.11419577151536942,
0.20376211404800415,
-0.19730766117572784,
0.12672747671604156,
0.11229222267866135,
0.013611610978841782,
-0.46400097012519836,
-0.30026835203170776,
0.025988120585680008,
0.019407425075769424,
0.14997979998588562,
0.002245576586574316,
0.1353279948234558,
0.1626274734735489,
0.0826311931014061,
-0.2359638661146164,
0.08792725950479507,
-0.07344264537096024,
0.13715104758739471,
0.23724707961082458,
-0.22291354835033417,
-0.06192623823881149,
0.14099222421646118,
0.0177726149559021,
0.3506108224391937,
-0.30065008997917175,
-0.11034376919269562,
0.04416403919458389,
0.09413875639438629,
-0.16228117048740387,
0.009097772650420666,
0.09834714233875275,
0.05766703560948372,
0.0028959119226783514,
-0.005353122018277645,
0.18688754737377167,
0.16726632416248322,
-0.3175894618034363,
0.12896473705768585,
0.03370806202292442,
0.22497819364070892,
0.15657594799995422,
0.24356059730052948,
-0.19329620897769928,
0.2854987680912018,
0.11263760924339294,
0.0922873318195343,
0.1190694123506546,
-0.025029713287949562,
-0.011419210582971573,
-0.0004564372939057648,
0.02247471548616886,
-0.24089287221431732,
-0.12089766561985016,
-0.20999951660633087,
-0.2908896803855896,
-0.09293978661298752,
0.3533414900302887,
0.36654913425445557,
-0.16368739306926727,
0.26027870178222656,
0.3331288993358612,
0.16327443718910217,
-0.2968601584434509,
0.0894981101155281,
0.08522788435220718,
-0.11769984662532806,
-0.11734061688184738,
0.3039795458316803,
0.24681377410888672,
-0.3369468152523041,
0.12802228331565857,
0.06805319339036942,
0.26440295577049255,
-0.3204003870487213,
-0.3003343939781189,
0.21818970143795013,
0.23228546977043152,
0.11487097293138504,
-0.05666203051805496,
0.016687102615833282,
0.10038100183010101,
0.5405625104904175,
-0.12635450065135956,
0.22187086939811707,
-0.14423339068889618,
0.1424398571252823,
-0.10318690538406372,
-0.1945929229259491,
-0.16628791391849518,
0.15636999905109406,
-0.2756229341030121,
0.4519437551498413,
-0.2314280867576599,
0.6587275266647339,
-0.3951893150806427,
-0.40380677580833435,
-0.2709187865257263,
0.4613666236400604,
-0.289326012134552,
-0.3082684278488159,
0.08060045540332794,
0.033760953694581985,
0.005071508698165417,
0.06756135076284409,
0.1498347520828247,
0.015895137563347816,
0.5080642700195312,
0.10549985617399216,
-0.04460462927818298,
-0.1712995171546936,
-0.24807803332805634,
0.14823614060878754,
0.03292703256011009,
-0.20410983264446259,
0.3403048515319824,
0.3946780264377594,
-0.0350881963968277,
-0.11266367882490158,
0.030420921742916107,
0.6076419353485107,
0.3532488942146301,
-0.6928081512451172,
0.07804176211357117,
0.12278176844120026,
0.14453774690628052,
0.0442245751619339,
0.14379586279392242,
0.20571830868721008,
0.32899588346481323,
0.09885130822658539,
-0.02180156670510769,
-0.06857770681381226,
0.04141535982489586,
0.19230107963085175,
0.2604732811450958,
0.037893835455179214,
0.18811309337615967,
-0.03409418836236,
-0.2330763190984726,
0.06357841193675995,
0.04360894486308098,
-0.6348348259925842,
-0.029289131984114647,
0.4114499092102051,
-0.4903601109981537,
0.08885253965854645,
0.08270173519849777,
0.04200887307524681,
-0.060456693172454834,
0.3990843594074249,
0.01153305359184742,
0.3016088604927063,
-0.26736968755722046,
-0.16884420812129974,
-0.5573811531066895,
0.01297783199697733,
0.10036760568618774,
-0.020198702812194824,
-0.1829359531402588,
-0.17103096842765808,
-0.04339355602860451,
0.2719517648220062,
0.17122583091259003,
0.08285626024007797,
0.1784495860338211,
0.7048636078834534,
-0.6334085464477539,
0.3171170949935913,
0.25103315711021423,
0.10438073426485062,
0.29635313153266907,
-0.379983514547348,
0.17815737426280975,
0.07620680332183838,
-0.0277445986866951,
-0.2803592085838318,
0.19653892517089844,
-0.11784172058105469,
0.368712455034256,
0.27998223900794983,
0.06566863507032394,
0.37509533762931824,
-0.0018229171400889754,
-0.007641864940524101,
-0.09023973345756531,
0.30530181527137756,
0.1900223046541214,
-0.45329585671424866,
0.29295045137405396,
0.1708463728427887,
-0.5065390467643738,
0.0706268921494484,
0.04877423867583275,
-0.050721753388643265,
0.16621747612953186,
-0.0040195053443312645,
-0.2534012794494629,
0.032921042293310165,
0.008797350339591503,
0.07153477519750595,
0.07296676933765411,
0.4877990782260895,
-0.05636260285973549,
0.28838232159614563,
-0.20618809759616852,
-0.13642746210098267,
0.15666493773460388,
-0.24870294332504272,
-0.3022477328777313,
-0.35128501057624817,
0.4295424818992615,
-0.33484748005867004,
0.11135251820087433,
-0.24484534561634064,
-0.0816364511847496,
0.023803310468792915,
0.05709639564156532,
-0.6880543828010559,
0.37993577122688293,
-0.3070548176765442,
-0.6153403520584106,
0.10814392566680908,
-0.040942128747701645,
0.08435980975627899,
-0.1582704335451126,
0.10822674632072449,
-0.33475974202156067
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
I was able to copy some of the shell
This is repeating every half second
Win 10, Anaconda with python 3.8, datasets installed from main branche
```
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
_check_not_importing_main()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 134, in _check_not_importing_main
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
exitcode = _main(fd, parent_sentinel)
raise RuntimeError('''
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 125, in _main
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. return _run_module_code(code, init_globals, run_name,
prepare(preparation_data)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 236, in prepare
_run_code(code, mod_globals, init_globals,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\test.py", line 6, in <module>
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1370, in map
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
with Pool(num_proc, initargs=(RLock(),), initializer=tqdm.set_lock) as pool:
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 119, in Pool
return _run_module_code(code, init_globals, run_name,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
return Pool(processes, initializer, initargs, maxtasksperchild,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 212, in __init__
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\test.py", line 6, in <module>
self._repopulate_pool()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 303, in _repopulate_pool
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1370, in map
return self._repopulate_pool_static(self._ctx, self.Process,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 326, in _repopulate_pool_static
with Pool(num_proc, initargs=(RLock(),), initializer=tqdm.set_lock) as pool:
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 119, in Pool
w.start()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\process.py", line 121, in start
return Pool(processes, initializer, initargs, maxtasksperchild,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 212, in __init__
self._popen = self._Popen(self)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 327, in _Popen
self._repopulate_pool()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 303, in _repopulate_pool
return Popen(process_obj)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\popen_spawn_win32.py", line 45, in __init__
return self._repopulate_pool_static(self._ctx, self.Process,
prep_data = spawn.get_preparation_data(process_obj._name)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 326, in _repopulate_pool_static
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 134, in _check_not_importing_main
w.start()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\process.py", line 121, in start
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
```
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 433
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
I was able to copy some of the shell
This is repeating every half second
Win 10, Anaconda with python 3.8, datasets installed from main branche
```
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
_check_not_importing_main()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 134, in _check_not_importing_main
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
exitcode = _main(fd, parent_sentinel)
raise RuntimeError('''
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 125, in _main
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. return _run_module_code(code, init_globals, run_name,
prepare(preparation_data)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 236, in prepare
_run_code(code, mod_globals, init_globals,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\test.py", line 6, in <module>
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1370, in map
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
with Pool(num_proc, initargs=(RLock(),), initializer=tqdm.set_lock) as pool:
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 119, in Pool
return _run_module_code(code, init_globals, run_name,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
return Pool(processes, initializer, initargs, maxtasksperchild,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 212, in __init__
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\test.py", line 6, in <module>
self._repopulate_pool()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 303, in _repopulate_pool
updated_dataset = dataset.map(lambda example: {'sentence1': 'My sentence: ' + example['sentence1']}, num_proc=4)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1370, in map
return self._repopulate_pool_static(self._ctx, self.Process,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 326, in _repopulate_pool_static
with Pool(num_proc, initargs=(RLock(),), initializer=tqdm.set_lock) as pool:
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 119, in Pool
w.start()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\process.py", line 121, in start
return Pool(processes, initializer, initargs, maxtasksperchild,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 212, in __init__
self._popen = self._Popen(self)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\context.py", line 327, in _Popen
self._repopulate_pool()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 303, in _repopulate_pool
return Popen(process_obj)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\popen_spawn_win32.py", line 45, in __init__
return self._repopulate_pool_static(self._ctx, self.Process,
prep_data = spawn.get_preparation_data(process_obj._name)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\pool.py", line 326, in _repopulate_pool_static
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 134, in _check_not_importing_main
w.start()
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\process.py", line 121, in start
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
```
|
[
-0.18814757466316223,
-0.3144044876098633,
-0.03913545235991478,
0.19852516055107117,
0.11119958013296127,
0.004422943107783794,
0.14738065004348755,
0.052242767065763474,
0.007206806447356939,
0.15420645475387573,
0.03806076571345329,
-0.036998338997364044,
-0.23013293743133545,
0.004947885870933533,
-0.16412611305713654,
-0.20177365839481354,
0.12297143787145615,
-0.14779657125473022,
0.10826992243528366,
0.31760019063949585,
-0.4681927263736725,
0.4709619879722595,
-0.28188636898994446,
0.18571718037128448,
-0.1982048749923706,
-0.05356625095009804,
-0.28123739361763,
0.5518498420715332,
0.22895173728466034,
-0.5014716386795044,
0.10334029793739319,
-0.3695961833000183,
0.205366849899292,
0.19286800920963287,
-0.00011916283256141469,
-0.09571631997823715,
0.12401031702756882,
0.01722888834774494,
0.2794227600097656,
0.2258310467004776,
0.25998586416244507,
0.04340389370918274,
0.009118017740547657,
-0.022887837141752243,
0.21117644011974335,
0.23331061005592346,
0.02885296940803528,
-0.14627712965011597,
0.4757119417190552,
0.19967250525951385,
0.0683799460530281,
0.1587364375591278,
0.12234802544116974,
-0.01791978068649769,
-0.3447389006614685,
-0.2424105405807495,
-0.007487047463655472,
0.2551131248474121,
0.487438440322876,
-0.31832388043403625,
0.2209872305393219,
0.14779983460903168,
-0.2789097726345062,
0.08369617909193039,
-0.4995916485786438,
0.038538962602615356,
0.6404624581336975,
-0.5573276877403259,
0.012313705869019032,
0.003934187814593315,
-0.13714058697223663,
-0.17225994169712067,
0.14125099778175354,
-0.07143843919038773,
0.20487041771411896,
-0.8496659398078918,
-0.05665785074234009,
0.22381015121936798,
-0.4533587396144867,
0.07005729526281357,
0.03761381655931473,
0.1382511705160141,
0.021122338250279427,
-0.12296987324953079,
0.1787138134241104,
0.04805761203169823,
0.02410675212740898,
0.21374113857746124,
0.26111236214637756,
0.25689852237701416,
-0.29014360904693604,
0.30600494146347046,
-0.16565729677677155,
0.11107674986124039,
-0.5593212842941284,
0.043565452098846436,
-0.08759161829948425,
0.13957512378692627,
-0.26038965582847595,
-0.09112724661827087,
-0.1450677365064621,
-0.001092565362341702,
0.24373817443847656,
0.12246241420507431,
0.16437998414039612,
-0.22492535412311554,
0.016275601461529732,
-0.575461745262146,
0.076300248503685,
-0.3193162977695465,
-0.01927103102207184,
-0.06312617659568787,
-0.039632026106119156,
-0.5433813333511353,
0.16386941075325012,
0.4754500091075897,
0.31273820996284485,
-0.09082908183336258,
-0.40876495838165283,
0.004649605136364698,
0.054896995425224304,
0.15910619497299194,
0.32630276679992676,
0.37854987382888794,
0.2375258207321167,
0.649327278137207,
0.11646686494350433,
0.30086860060691833,
-0.49835658073425293,
0.2498881220817566,
0.10552643984556198,
-0.009915194474160671,
-0.2646809220314026,
0.28402894735336304,
0.2015824317932129,
-0.10501779615879059,
0.19191265106201172,
0.09136749058961868,
0.2648678421974182,
-0.19339175522327423,
-0.05482363700866699,
-0.17752443253993988,
-0.18757687509059906,
0.2483479380607605,
0.10397782176733017,
0.2727550268173218,
0.07822313159704208,
0.06140107288956642,
-0.058839961886405945,
0.12170519679784775,
-0.2332020103931427,
-0.3323017358779907,
-0.2908742129802704,
0.048795104026794434,
0.345598042011261,
0.41071441769599915,
0.3590705394744873,
-0.18269917368888855,
0.3697882294654846,
-0.11411148309707642,
-0.11491088569164276,
-0.3369792699813843,
-0.3605939745903015,
-0.2536892890930176,
0.0559893473982811,
0.357756644487381,
-0.011711396276950836,
0.26251357793807983,
0.13361796736717224,
-0.02340160496532917,
0.17300939559936523,
0.2555251121520996,
0.15292853116989136,
-0.04413842037320137,
-0.15998485684394836,
-0.18454016745090485,
-0.2531793415546417,
-0.46924299001693726,
0.2813514769077301,
-0.05319966748356819,
-0.09472362697124481,
0.014414113014936447,
0.26352590322494507,
-0.09240551292896271,
0.08414134383201599,
-0.35987332463264465,
0.4103756844997406,
-0.1397634744644165,
-0.000028872225811937824,
0.15640084445476532,
-0.21342584490776062,
-0.01893875002861023,
-0.2104984074831009,
0.15808004140853882,
-0.14157964289188385,
-0.171714648604393,
-0.14690470695495605,
-0.08877266943454742,
0.2672275900840759,
0.13230444490909576,
0.0029336572624742985,
0.2626320719718933,
0.3290083408355713,
-0.050473131239414215,
0.07051171362400055,
-0.23542577028274536,
-0.14109699428081512,
0.14495940506458282,
-0.0926920622587204,
0.061489224433898926,
0.2999994456768036,
0.21506014466285706,
0.18447068333625793,
0.2884703576564789,
-0.2682793438434601,
-0.3507544696331024,
0.05383384972810745,
-0.010149967856705189,
0.17598587274551392,
-0.1773446500301361,
0.013145380653440952,
0.5986754298210144,
-0.12336254864931107,
0.013616449199616909,
-0.23588769137859344,
-0.11504334211349487,
-0.3619888424873352,
-0.2789749205112457,
-0.010338906198740005,
0.3257576525211334,
0.1760942041873932,
0.054438382387161255,
0.13654984533786774,
0.2462070733308792,
0.14905114471912384,
-0.15969757735729218,
-0.15653768181800842,
-0.16658121347427368,
0.16942687332630157,
-0.2053370177745819,
0.15456299483776093,
0.06258202344179153,
0.09267932176589966,
-0.257030725479126,
0.4300045073032379,
0.051626838743686676,
-0.033903613686561584,
0.375666081905365,
-0.089095339179039,
0.1873246729373932,
0.15252959728240967,
-0.012662867084145546,
0.2188519537448883,
0.14794199168682098,
0.34595179557800293,
0.16920210421085358,
0.1437893509864807,
-0.4511522650718689,
-0.15191848576068878,
0.1961415559053421,
0.21035420894622803,
0.0790235698223114,
-0.12226628512144089,
0.11418875306844711,
-0.1815059334039688,
0.18329879641532898,
-0.015374976210296154,
-0.18706151843070984,
0.7362313866615295,
0.04742766171693802,
-0.11041686683893204,
0.28050917387008667,
-0.4284936785697937,
-0.09395471960306168,
0.3900589644908905,
0.061292864382267,
0.23311947286128998,
0.1693289577960968,
-0.12495775520801544,
-0.04593368247151375,
-0.02916761301457882,
-0.2392554134130478,
-0.036273956298828125,
0.08005813509225845,
-0.3402794599533081,
0.06126381456851959,
-0.09240899980068207,
0.4969222843647003,
-0.411416620016098,
-0.4017829895019531,
0.022753404453396797,
-0.13638725876808167,
-0.05357345566153526,
0.46729549765586853,
-0.13143977522850037,
0.023619946092367172,
-0.03626886010169983,
-0.011387346312403679,
0.038844577968120575,
0.33477285504341125,
0.15677957236766815,
-0.021787002682685852,
-0.08814752846956253,
-0.07520725578069687,
0.39876893162727356,
-0.062161143869161606,
0.20753516256809235,
0.28543663024902344,
-0.05746794492006302,
0.2356499582529068,
0.042125459760427475,
-0.03568175062537193,
0.026267502456903458,
0.3805265426635742,
0.030133824795484543,
0.17326383292675018,
0.18485845625400543,
-0.5782231688499451,
0.16267485916614532,
-0.1635514199733734,
0.11817322671413422,
0.1189880296587944,
0.02758108638226986,
-0.40578705072402954,
-0.19389021396636963,
-0.03974828124046326,
-0.48830723762512207,
-0.29656413197517395,
0.03225402906537056,
-0.03258102759718895,
0.1934858113527298,
-0.006459667347371578,
0.10031186789274216,
0.1495269238948822,
0.07365664839744568,
-0.13815189898014069,
-0.12205713242292404,
0.07685169577598572,
-0.06147630885243416,
-0.22393573820590973,
-0.048726074397563934,
0.03444880247116089,
0.0997961014509201,
0.053810663521289825,
-0.24581654369831085,
-0.10847367346286774,
-0.2988753616809845,
-0.11471228301525116,
0.04348208010196686,
0.04231898486614227,
0.21405936777591705,
0.4646473526954651,
0.2451166808605194,
-0.1603361964225769,
0.11727091670036316,
0.035431358963251114,
0.1138494536280632,
0.014147191308438778,
0.15711863338947296,
0.12900866568088531,
0.03884090110659599,
-0.27464380860328674,
0.5560705661773682,
0.7195622324943542,
0.0079739298671484,
0.21176309883594513,
0.172587051987648,
0.12813326716423035,
-0.08887273818254471,
-0.2836926579475403,
0.018999915570020676,
-0.33203569054603577,
-0.04751906916499138,
0.1152627021074295,
0.11908498406410217,
-0.19437257945537567,
-0.22585716843605042,
0.29844918847084045,
-0.36099135875701904,
-0.21443329751491547,
0.09131200611591339,
-0.003126886673271656,
0.1068490520119667,
-0.28716447949409485,
-0.0014673647237941623,
0.08855905383825302,
0.09020605683326721,
-0.16380253434181213,
0.23482148349285126,
-0.2531653940677643,
-0.31022030115127563,
-0.28064385056495667,
-0.4974419176578522,
-0.4011017978191376,
0.3255923390388489,
0.1121685579419136,
0.5273094773292542,
0.03844069316983223,
-0.18095159530639648,
-0.08018466085195541,
-0.2546060085296631,
0.9073621034622192,
-0.2285795360803604,
-0.236572265625,
0.2589760720729828,
0.3240394592285156,
-0.0839829370379448,
-0.15961270034313202,
-0.18575097620487213,
0.27604901790618896,
0.17242562770843506,
0.003793882904574275,
0.1194249764084816,
-0.18723249435424805,
0.12223945558071136,
0.023930910974740982,
-0.1323913335800171,
-0.05034162849187851,
-0.3534949719905853,
-0.3537787199020386,
-0.1054341048002243,
0.19528914988040924,
-0.03938286751508713,
0.08093821257352829,
-0.5451447367668152,
-0.04103006422519684,
0.1071588546037674,
-0.06516380608081818,
0.1058608889579773,
0.042530473321676254,
0.09357070177793503,
-0.036701224744319916,
0.41841623187065125,
-0.2705127000808716,
0.2269546538591385,
-0.1325380951166153,
0.10206375271081924,
-0.23105257749557495,
-0.011166878044605255,
0.17635349929332733,
-0.059363771229982376,
0.36248528957366943,
0.49112021923065186,
0.11737257242202759,
-0.038103409111499786,
-0.3317421078681946,
0.46320024132728577,
-0.24249444901943207,
-0.23250755667686462,
0.3120759427547455,
0.2526548206806183,
0.09631645679473877,
0.3037537634372711,
0.26207271218299866,
0.012033175677061081,
-0.13212159276008606,
0.6690807938575745,
-0.2865632176399231,
-0.13096867501735687,
0.0915626585483551,
0.2670028507709503,
0.9803851246833801,
0.0002807292912621051,
0.10366553068161011,
0.13536497950553894,
-0.345093309879303,
0.016871683299541473,
0.1485300064086914,
0.2275090366601944,
-0.2147378772497177,
-0.09211782366037369,
0.15342025458812714,
-0.06922449171543121,
0.27982237935066223,
-0.1486622393131256,
-0.33063510060310364,
0.27782928943634033,
0.19790977239608765,
-0.2983666658401489,
-0.10884644091129303,
-0.15597890317440033,
-0.03051467053592205,
-0.38702189922332764,
0.11181246489286423,
0.0050118411891162395,
0.08030576258897781,
-0.022694846615195274,
-0.2418224811553955,
0.14739342033863068,
0.4167765974998474,
-0.32222315669059753,
-0.5853481888771057,
0.07997868955135345,
-0.2500567138195038,
0.09879859536886215,
-0.10646316409111023,
0.07899971306324005,
-0.020688414573669434,
0.2738601565361023,
0.2924277186393738,
-0.15867197513580322,
-0.13832591474056244,
0.059691935777664185,
0.31770041584968567,
-0.10671184211969376,
-0.028785353526473045,
-0.18386104702949524,
-0.0780223160982132,
-0.045229602605104446,
-0.35013213753700256,
0.21716292202472687,
-0.12747640907764435,
0.04023946449160576,
-0.23606319725513458,
0.3128051459789276,
-0.006030862685292959,
0.23740491271018982,
-0.16927142441272736,
0.39721861481666565,
-0.12809476256370544,
-0.16259199380874634,
0.07923829555511475,
-0.0392376184463501,
-0.46987906098365784,
0.5655835270881653,
-0.6352735757827759,
-0.1246335357427597,
0.06849895417690277,
0.04319288581609726,
0.05121699348092079,
0.09850269556045532,
0.3221239745616913,
0.29667866230010986,
-0.012474726885557175,
-0.21096183359622955,
-0.11226209998130798,
-0.5198851823806763,
-0.1286487728357315,
-0.12323403358459473,
0.4179432690143585,
-0.1153106838464737,
0.24548029899597168,
-0.35137319564819336,
-0.055074647068977356,
-0.07554277032613754,
-0.06762922555208206,
-0.4756988286972046,
-0.08656477183103561,
0.044637735933065414,
-0.21823477745056152,
0.0746476948261261,
-0.14402928948402405,
0.20002074539661407,
0.07883349806070328,
0.11628597229719162,
-0.24530205130577087,
-0.019225195050239563,
-0.1059388816356659,
0.12911784648895264,
0.0657602846622467,
-0.2747892439365387,
0.05254247784614563,
0.1484900861978531,
0.011602113023400307,
0.2926313579082489,
-0.25244736671447754,
-0.133888840675354,
0.06126125529408455,
0.098305843770504,
-0.15294227004051208,
-0.13970115780830383,
0.20244362950325012,
0.03764164820313454,
0.03203554078936577,
-0.0035300091840326786,
0.038498155772686005,
-0.028224678710103035,
-0.1952824890613556,
0.02851177379488945,
-0.04439383000135422,
0.3265421390533447,
0.15904369950294495,
0.26065099239349365,
-0.1510520577430725,
0.37367236614227295,
0.13645492494106293,
0.07309781014919281,
0.013139788061380386,
-0.04617185518145561,
-0.11992555111646652,
-0.05686073750257492,
-0.10784117877483368,
-0.048093996942043304,
-0.09491103887557983,
0.045889031141996384,
-0.3931429982185364,
-0.3150412440299988,
0.13228964805603027,
0.5207769274711609,
-0.09063594788312912,
0.2684797942638397,
0.38605788350105286,
0.15171171724796295,
-0.1998002827167511,
0.10718674212694168,
-0.09235874563455582,
-0.23282919824123383,
-0.13682599365711212,
0.3245006501674652,
0.06443999707698822,
-0.5508657097816467,
0.47705593705177307,
0.06959565728902817,
0.3834382891654968,
-0.33265420794487,
-0.15849575400352478,
0.31987839937210083,
0.32084742188453674,
0.03784878924489021,
-0.015056736767292023,
-0.09156351536512375,
0.20715855062007904,
0.4593246281147003,
-0.13113267719745636,
0.20141415297985077,
-0.32387685775756836,
0.15788577497005463,
-0.08962088078260422,
-0.23982912302017212,
-0.11022894084453583,
0.16570672392845154,
-0.19131547212600708,
0.29365095496177673,
-0.18995600938796997,
0.4689156413078308,
-0.5960270762443542,
-0.3746597170829773,
-0.35921093821525574,
0.39309078454971313,
-0.13363775610923767,
-0.18629398941993713,
-0.10753680020570755,
0.08869501948356628,
0.12827159464359283,
0.08796814829111099,
0.3019335865974426,
-0.10858104377985,
0.6149492263793945,
0.11132293194532394,
-0.2190859168767929,
-0.17365439236164093,
-0.385172575712204,
0.2245023101568222,
-0.00937850121408701,
-0.13110126554965973,
0.3541279435157776,
0.6124851107597351,
-0.06549335271120071,
-0.29773905873298645,
0.1973147839307785,
0.5848494172096252,
0.44690409302711487,
-0.6962708830833435,
0.14492151141166687,
0.12279924750328064,
0.11265740543603897,
-0.013165883719921112,
0.14674322307109833,
0.10204114764928818,
0.19147923588752747,
0.0405677929520607,
0.025395091623067856,
-0.07160520553588867,
-0.10150809586048126,
0.35187795758247375,
-0.02696310542523861,
0.16271242499351501,
0.18046651780605316,
-0.10238568484783173,
-0.15777099132537842,
0.11368214339017868,
0.10082387179136276,
-0.6489606499671936,
0.19411738216876984,
0.23407576978206635,
-0.5234289169311523,
0.013580231927335262,
0.127542182803154,
0.04889335483312607,
-0.10518430173397064,
0.4409926235675812,
-0.03856229782104492,
0.2765514552593231,
-0.20485883951187134,
-0.2142634391784668,
-0.31337809562683105,
-0.10799914598464966,
-0.12541355192661285,
-0.05371025204658508,
-0.189531147480011,
-0.06216008961200714,
0.038629237562417984,
0.2744988799095154,
0.02735317125916481,
0.10421990603208542,
0.2254256010055542,
0.6995902061462402,
-0.6562345027923584,
0.18319956958293915,
0.3876347839832306,
0.006753417197614908,
0.21496173739433289,
-0.49835947155952454,
0.16738176345825195,
0.11966267228126526,
-0.002962441649287939,
-0.018107501789927483,
0.23067420721054077,
-0.15683560073375702,
0.11183767765760422,
0.20749449729919434,
0.10575752705335617,
0.08677289634943008,
0.01408564206212759,
-0.20202171802520752,
-0.11717001348733902,
0.25256916880607605,
0.25924113392829895,
-0.3225487470626831,
0.34697166085243225,
0.09998408704996109,
-0.42859694361686707,
-0.1827358454465866,
-0.03777822107076645,
-0.08706773817539215,
0.18137145042419434,
0.16606402397155762,
-0.13059140741825104,
0.03302746266126633,
0.060789406299591064,
0.1322125941514969,
0.049253374338150024,
0.39778590202331543,
-0.034906577318906784,
0.2151019424200058,
-0.28336089849472046,
-0.04562285542488098,
0.16445498168468475,
-0.14221373200416565,
-0.2171931117773056,
-0.25302624702453613,
0.3797123432159424,
-0.49967116117477417,
0.20783236622810364,
-0.21363958716392517,
0.004006580915302038,
-0.016012759879231453,
-0.001264378777705133,
-0.5598611235618591,
0.32903388142585754,
-0.15347017347812653,
-0.7110193967819214,
0.06677446514368057,
-0.099605493247509,
0.11392589658498764,
-0.10345131158828735,
0.25280481576919556,
-0.04946363344788551
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
Thanks this is really helpful !
I'll try to reproduce on my side and come back to you
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 18
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
Thanks this is really helpful !
I'll try to reproduce on my side and come back to you
|
[
-0.15062808990478516,
-0.46654337644577026,
-0.08509174734354019,
0.2313079684972763,
0.08652736246585846,
0.010160348378121853,
0.03361441195011139,
-0.03073279559612274,
0.02308821491897106,
0.2842899262905121,
0.12158510088920593,
0.06673721224069595,
-0.3062891364097595,
0.016049278900027275,
-0.19413025677204132,
-0.1727219671010971,
0.09843377023935318,
-0.14653582870960236,
0.25174450874328613,
0.32427358627319336,
-0.46028441190719604,
0.48658519983291626,
-0.31012892723083496,
0.1724269837141037,
-0.4106290340423584,
-0.04608074948191643,
-0.20039282739162445,
0.48422762751579285,
0.254955530166626,
-0.3877050578594208,
-0.0000798893379396759,
-0.3113575279712677,
0.15096719563007355,
0.140442356467247,
-0.00011554679076652974,
-0.1447126269340515,
0.014057437889277935,
-0.015594406053423882,
0.39141643047332764,
0.2356821596622467,
0.1747710108757019,
0.015411509200930595,
-0.09307289868593216,
-0.027862686663866043,
0.13276247680187225,
0.2751012444496155,
0.04753433167934418,
0.003651474369689822,
0.40369924902915955,
0.30191874504089355,
0.1590738743543625,
0.25883376598358154,
0.10206881910562515,
0.04358888790011406,
-0.3204165995121002,
-0.389620840549469,
-0.050901662558317184,
0.2563920319080353,
0.5162345767021179,
-0.2866710126399994,
0.17486439645290375,
0.2624707520008087,
-0.2407967448234558,
0.03738849237561226,
-0.31694281101226807,
-0.009436583146452904,
0.43163198232650757,
-0.5044822096824646,
0.05305064469575882,
-0.0857313945889473,
-0.0860014483332634,
-0.17231932282447815,
0.31721165776252747,
0.1498878300189972,
0.10572315007448196,
-0.8734202980995178,
0.03737150877714157,
0.22369590401649475,
-0.36084672808647156,
0.06360847502946854,
-0.07681667804718018,
0.00048622049507685006,
-0.07338486611843109,
-0.20570269227027893,
0.10647623240947723,
-0.04202454909682274,
0.05887550488114357,
0.16216637194156647,
0.15678754448890686,
0.25811436772346497,
-0.26608142256736755,
0.3123067319393158,
-0.08954698592424393,
0.08247199654579163,
-0.506733775138855,
-0.013057398609817028,
0.02448710985481739,
0.21075093746185303,
-0.2819766700267792,
-0.2238527238368988,
-0.039880286902189255,
0.1608053743839264,
0.2515890598297119,
0.1812392771244049,
0.20875273644924164,
-0.16379638016223907,
0.057795509696006775,
-0.5973329544067383,
0.22775614261627197,
-0.46975815296173096,
-0.14188264310359955,
-0.09084923565387726,
0.059057075530290604,
-0.5761109590530396,
0.30175143480300903,
0.4158446788787842,
0.1878659576177597,
-0.10296653211116791,
-0.3051147162914276,
0.22791756689548492,
0.038791242986917496,
0.24441653490066528,
0.26768752932548523,
0.30374181270599365,
0.32954084873199463,
0.6703646779060364,
0.004698954522609711,
0.13553649187088013,
-0.5587135553359985,
0.13538523018360138,
0.0535595566034317,
0.09622206538915634,
-0.3082447350025177,
0.12394178658723831,
0.2694670259952545,
0.00776226632297039,
0.1641474962234497,
0.1423988789319992,
0.2745945453643799,
-0.3172975182533264,
-0.043189745396375656,
-0.22459927201271057,
-0.17050372064113617,
0.24020478129386902,
0.21702997386455536,
0.1954389214515686,
-0.049146611243486404,
0.07716941088438034,
0.003331927815452218,
0.2177010327577591,
-0.3714394271373749,
-0.3710872232913971,
-0.0780068039894104,
0.09104011952877045,
0.4564346969127655,
0.41241559386253357,
0.2775185704231262,
-0.04148391634225845,
0.29973411560058594,
-0.28989604115486145,
-0.13954509794712067,
-0.44177934527397156,
-0.27530235052108765,
-0.3028675615787506,
-0.07706346362829208,
0.2549551725387573,
-0.013891641981899738,
0.3129969835281372,
0.3275550901889801,
-0.05392066016793251,
0.1966933310031891,
0.36464792490005493,
0.2357981950044632,
-0.2295779585838318,
-0.07652825862169266,
-0.015417835675179958,
-0.16920483112335205,
-0.21643441915512085,
-0.025646142661571503,
0.12488052994012833,
-0.0502488911151886,
-0.1582026332616806,
0.2369348257780075,
0.13968497514724731,
-0.04210449010133743,
-0.32541507482528687,
0.4733920693397522,
-0.18739907443523407,
-0.13803830742835999,
0.2417542040348053,
-0.2508317232131958,
0.1379857361316681,
-0.09019172936677933,
0.07464005798101425,
0.07859579473733902,
-0.13082094490528107,
-0.07585973292589188,
-0.09138218313455582,
0.2532755434513092,
0.12118301540613174,
-0.028854502364993095,
0.33728283643722534,
0.1698225885629654,
-0.018871303647756577,
0.045216064900159836,
-0.37478840351104736,
0.0022803423926234245,
0.026933612301945686,
-0.28051936626434326,
0.03848810866475105,
0.36048775911331177,
0.1296924203634262,
0.13331736624240875,
0.26046764850616455,
-0.1930650919675827,
-0.27324435114860535,
0.0716794803738594,
-0.09738048911094666,
0.06371289491653442,
-0.20183753967285156,
-0.011838012374937534,
0.49875059723854065,
0.042145177721977234,
-0.1541193425655365,
-0.14277701079845428,
-0.07498124986886978,
-0.39869460463523865,
-0.32538068294525146,
-0.02155527099967003,
0.3518849313259125,
0.20702363550662994,
0.148741215467453,
0.12298200279474258,
0.21700870990753174,
0.09771701693534851,
-0.1447269320487976,
-0.14345301687717438,
-0.026722349226474762,
0.22109121084213257,
-0.25651049613952637,
0.09199272096157074,
0.01546870730817318,
0.15548615157604218,
-0.22372879087924957,
0.4834909737110138,
0.07802555710077286,
-0.05178632587194443,
0.2152555137872696,
-0.13560853898525238,
0.17570213973522186,
0.16611135005950928,
0.02687300555408001,
0.28289657831192017,
0.26998698711395264,
0.36017099022865295,
0.12102774530649185,
-0.09841914474964142,
-0.33581405878067017,
-0.3411458432674408,
0.07871956378221512,
0.20476464927196503,
0.18563124537467957,
-0.049433935433626175,
0.03445201739668846,
-0.19756001234054565,
0.14808818697929382,
-0.029666220769286156,
-0.4081709086894989,
0.6608489751815796,
0.12903521955013275,
-0.12387952208518982,
0.2896993160247803,
-0.4168238341808319,
-0.12867654860019684,
0.26919135451316833,
0.018979953601956367,
-0.04852393642067909,
0.18378227949142456,
-0.10219097137451172,
-0.13058684766292572,
-0.06270837783813477,
-0.09599337726831436,
-0.08359237015247345,
0.09055007994174957,
-0.31120309233665466,
0.0754137858748436,
-0.0683123916387558,
0.48188355565071106,
-0.38817477226257324,
-0.4849453866481781,
-0.03638492152094841,
-0.20109409093856812,
0.09337160736322403,
0.3769929111003876,
-0.06604016572237015,
-0.03695356845855713,
0.06397992372512817,
-0.0753781870007515,
0.1353939026594162,
0.3412627875804901,
0.22414430975914001,
-0.0824953094124794,
-0.07570081204175949,
-0.04271220788359642,
0.3543701171875,
-0.10736393183469772,
0.24517789483070374,
0.3000586926937103,
-0.008040136657655239,
0.12378548830747604,
0.1547091156244278,
-0.07087404280900955,
0.04973732680082321,
0.25461238622665405,
-0.0004120302328374237,
0.10001859813928604,
0.1898927241563797,
-0.40145188570022583,
0.0981200560927391,
-0.3271218538284302,
0.21639415621757507,
0.2593774199485779,
0.13897007703781128,
-0.3894452154636383,
-0.2654171586036682,
-0.15316560864448547,
-0.4650588035583496,
-0.19334439933300018,
0.01584504172205925,
-0.16555951535701752,
0.2833053767681122,
-0.2524057626724243,
0.06245226040482521,
0.1090322956442833,
0.3357037305831909,
-0.1297421157360077,
-0.16851799190044403,
0.22008934617042542,
-0.03230977803468704,
-0.30713143944740295,
-0.2082277089357376,
0.2030310332775116,
0.22799083590507507,
0.06289061158895493,
-0.24706928431987762,
-0.1562487930059433,
-0.32932978868484497,
-0.01544152945280075,
-0.01879284903407097,
-0.03828325495123863,
0.24966712296009064,
0.3877025544643402,
0.17064811289310455,
-0.16931453347206116,
0.13691933453083038,
-0.08770707994699478,
0.03437047451734543,
0.03547710180282593,
0.1656457930803299,
0.22348971664905548,
0.09420013427734375,
-0.17432640492916107,
0.47982603311538696,
0.5712586641311646,
0.06822241842746735,
0.284014493227005,
0.11666266620159149,
-0.027976466342806816,
0.019736332818865776,
-0.19869276881217957,
0.10416825860738754,
-0.4029533863067627,
-0.11826974898576736,
0.1622437834739685,
0.1221751794219017,
-0.3131990134716034,
-0.2602485716342926,
0.2312442511320114,
-0.2988223433494568,
-0.11104632169008255,
0.08930480480194092,
0.07151588052511215,
0.16652812063694,
-0.19119976460933685,
-0.10864327102899551,
0.07486799359321594,
0.07243669033050537,
-0.1262529045343399,
0.1831802874803543,
-0.2587573826313019,
-0.23379026353359222,
-0.0494503378868103,
-0.5941680073738098,
-0.4766450524330139,
0.410118967294693,
0.10824946314096451,
0.5226671695709229,
-0.00823190063238144,
-0.11495240032672882,
-0.017629431560635567,
-0.29641881585121155,
0.8070996999740601,
-0.14313511550426483,
-0.18302857875823975,
0.21156345307826996,
0.20903468132019043,
-0.0098491869866848,
-0.12212539464235306,
-0.2269449532032013,
0.2996322810649872,
0.11281526833772659,
-0.06017681583762169,
0.25137054920196533,
-0.06675874441862106,
0.06760483980178833,
-0.10732143372297287,
-0.1688714623451233,
-0.11656248569488525,
-0.3311620354652405,
-0.28840208053588867,
0.04856841638684273,
0.2625977098941803,
-0.012628547847270966,
0.033249109983444214,
-0.42101556062698364,
-0.019150443375110626,
0.1351582407951355,
-0.06856859475374222,
0.29477474093437195,
-0.07266255468130112,
0.11756904423236847,
-0.14219684898853302,
0.14283747971057892,
-0.27324485778808594,
0.36754339933395386,
-0.13512681424617767,
-0.014486294239759445,
-0.18907661736011505,
0.19652695953845978,
0.2784039378166199,
-0.11024226993322372,
0.37292078137397766,
0.3814227283000946,
0.13603505492210388,
0.013594796881079674,
-0.3704008460044861,
0.49397987127304077,
-0.24522002041339874,
-0.2091415673494339,
0.33250653743743896,
0.2664669156074524,
0.08148089796304703,
0.26498159766197205,
0.3170454502105713,
0.12603606283664703,
-0.09224672615528107,
0.47757279872894287,
-0.32150620222091675,
-0.0968964472413063,
-0.028977055102586746,
0.1434212177991867,
0.9238149523735046,
0.08469007909297943,
0.10809414833784103,
0.012066389434039593,
-0.4905243515968323,
-0.23254729807376862,
-0.17031541466712952,
0.3275728225708008,
-0.269382506608963,
-0.14813193678855896,
0.03045220673084259,
-0.038265857845544815,
0.13222356140613556,
-0.10534791648387909,
-0.3409653902053833,
0.4729434549808502,
0.09779854118824005,
-0.2913333773612976,
-0.17942488193511963,
-0.23554551601409912,
-0.07401788979768753,
-0.1805988997220993,
0.0021827055606991053,
0.07861731946468353,
0.07835567742586136,
-0.14484679698944092,
-0.26793402433395386,
0.13463404774665833,
0.44917258620262146,
-0.3302668035030365,
-0.48555880784988403,
-0.017164189368486404,
-0.19901010394096375,
0.1551017016172409,
-0.055215369910001755,
0.1623106747865677,
0.0668271854519844,
0.38106757402420044,
0.1539159119129181,
-0.08298184722661972,
-0.24850666522979736,
0.019129611551761627,
0.3927862346172333,
-0.047860294580459595,
-0.11059585958719254,
0.04631965607404709,
-0.0188998281955719,
-0.15032052993774414,
-0.28966134786605835,
0.39260509610176086,
-0.12284868955612183,
-0.014035413041710854,
-0.32583197951316833,
0.3156881332397461,
0.09106044471263885,
0.17131459712982178,
-0.1278265416622162,
0.24406662583351135,
-0.12443015724420547,
-0.16772709786891937,
0.1221420094370842,
0.049855563789606094,
-0.5294668078422546,
0.6521231532096863,
-0.5616599321365356,
-0.09329446405172348,
0.0055158366449177265,
0.06846487522125244,
0.01469870749861002,
-0.055759210139513016,
0.15932492911815643,
0.27149736881256104,
-0.10283417254686356,
-0.23033511638641357,
-0.1057627871632576,
-0.46701404452323914,
-0.05513053014874458,
-0.03599245473742485,
0.45476531982421875,
-0.14249755442142487,
0.24890543520450592,
-0.21289226412773132,
0.05839424952864647,
0.044527746737003326,
-0.024720793589949608,
-0.3333127498626709,
-0.22526724636554718,
-0.0753386914730072,
-0.082565538585186,
0.153194397687912,
-0.0569259412586689,
0.09209228307008743,
0.10993737727403641,
0.07900101691484451,
-0.2915712296962738,
0.047388266772031784,
-0.2277825027704239,
0.10021380335092545,
0.0793205052614212,
-0.26634469628334045,
-0.09752930700778961,
0.21097297966480255,
0.06406066566705704,
0.34590643644332886,
-0.35061925649642944,
-0.14852815866470337,
0.07907048612833023,
0.07172519713640213,
-0.0964214876294136,
-0.043766893446445465,
0.07988874614238739,
0.08568950742483139,
0.029014963656663895,
0.0750720351934433,
0.14411455392837524,
0.09008956700563431,
-0.28540292382240295,
0.11945433169603348,
-0.05024537816643715,
0.20434018969535828,
0.1899694949388504,
0.2846985161304474,
-0.16668576002120972,
0.3932839632034302,
0.10646927356719971,
0.006347620859742165,
0.052351903170347214,
-0.032125670462846756,
-0.06871718913316727,
0.056164029985666275,
-0.08454287797212601,
-0.23933306336402893,
-0.10153484344482422,
-0.11302506178617477,
-0.2827160358428955,
-0.10894007980823517,
0.282698392868042,
0.2960796654224396,
-0.16479794681072235,
0.28692707419395447,
0.29953208565711975,
0.22782324254512787,
-0.21487438678741455,
0.0480528362095356,
-0.14786063134670258,
-0.12486347556114197,
-0.13604354858398438,
0.26848313212394714,
0.18237435817718506,
-0.4664892256259918,
0.3124735653400421,
0.07060933113098145,
0.18491734564304352,
-0.40602606534957886,
-0.36748719215393066,
0.07825670391321182,
0.22648634016513824,
0.1041753813624382,
0.028775427490472794,
-0.08638236671686172,
0.05678698793053627,
0.4952467978000641,
-0.05111481994390488,
0.18857203423976898,
-0.22598302364349365,
0.07755483686923981,
-0.1170276328921318,
-0.17093172669410706,
-0.2531672716140747,
0.09213785082101822,
-0.36942335963249207,
0.4250571131706238,
-0.2324753999710083,
0.44614920020103455,
-0.5816571116447449,
-0.3129299581050873,
-0.31357482075691223,
0.4110402762889862,
-0.26170238852500916,
-0.1249566376209259,
0.10125431418418884,
0.011575046926736832,
0.10345872491598129,
0.084933802485466,
0.30991825461387634,
0.08892172574996948,
0.5263193249702454,
0.22620467841625214,
-0.08248884975910187,
-0.034043069928884506,
-0.2684047222137451,
0.22713254392147064,
-0.019557936117053032,
-0.19740290939807892,
0.18820072710514069,
0.49590936303138733,
-0.0470256432890892,
-0.17214396595954895,
-0.0020349458791315556,
0.5398036241531372,
0.3772578239440918,
-0.7378939390182495,
0.008080605417490005,
0.16012205183506012,
0.14591653645038605,
0.04354875907301903,
0.1561661958694458,
0.1998271644115448,
0.2554299533367157,
0.04833865165710449,
0.020367978140711784,
-0.12424805760383606,
-0.004573657177388668,
0.264178603887558,
0.2241324633359909,
0.11288397014141083,
0.24460075795650482,
-0.0508275032043457,
-0.23040322959423065,
0.04607963189482689,
0.07317531853914261,
-0.640163004398346,
-0.024127613753080368,
0.23481270670890808,
-0.3941695988178253,
0.05079389363527298,
0.03993171826004982,
0.06694178283214569,
-0.07539623230695724,
0.4105224609375,
-0.0549469068646431,
0.2512805759906769,
-0.26375699043273926,
-0.15871578454971313,
-0.3679075837135315,
0.013018613681197166,
0.15248003602027893,
-0.010223152115941048,
-0.19380353391170502,
-0.1669093370437622,
-0.06895971298217773,
0.11177510023117065,
0.08638567477464676,
0.09763789176940918,
0.31911084055900574,
0.6845184564590454,
-0.6055822372436523,
0.37467944622039795,
0.3027549088001251,
-0.02537691965699196,
0.2710229158401489,
-0.3583439886569977,
0.21160462498664856,
0.021200230345129967,
0.06363008916378021,
-0.22554397583007812,
0.2101653665304184,
-0.10306771844625473,
0.4734407961368561,
0.18190521001815796,
0.048528850078582764,
0.2563314437866211,
0.000786300515756011,
-0.06254636496305466,
0.12063637375831604,
0.35171881318092346,
0.2666049301624298,
-0.5823009610176086,
0.27648958563804626,
0.08330738544464111,
-0.36275622248649597,
-0.06199328228831291,
-0.026734907180070877,
-0.016134023666381836,
0.066721610724926,
0.10257323086261749,
-0.10872552543878555,
0.0047639780677855015,
-0.005073304288089275,
0.04120289161801338,
0.041345834732055664,
0.4595129191875458,
0.012710535898804665,
0.20372290909290314,
-0.2745138108730316,
-0.016232628375291824,
0.09233303368091583,
-0.06165678799152374,
-0.31615564227104187,
-0.31002190709114075,
0.5059926509857178,
-0.5154692530632019,
0.13328136503696442,
-0.08988171070814133,
-0.07879666239023209,
-0.08065242320299149,
0.016878830268979073,
-0.661068856716156,
0.27085748314857483,
-0.30672112107276917,
-0.6747816801071167,
0.13711576163768768,
-0.16303318738937378,
0.18355557322502136,
-0.01999751478433609,
0.20530323684215546,
-0.17068596184253693
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
if __name__ == '__main__':
This line before calling the map function stops the error but the script still repeats endless
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 20
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
if __name__ == '__main__':
This line before calling the map function stops the error but the script still repeats endless
|
[
-0.11089112609624863,
-0.43928685784339905,
-0.08853837847709656,
0.20902161300182343,
0.06226300075650215,
0.038856152445077896,
0.005569904576987028,
0.03431248292326927,
0.1305549591779709,
0.3507118225097656,
0.1845911294221878,
0.11303365230560303,
-0.2703491151332855,
-0.06256050616502762,
-0.16307058930397034,
-0.0991828665137291,
0.0958346426486969,
-0.05586270987987518,
0.2845197021961212,
0.30602359771728516,
-0.5200816988945007,
0.472044438123703,
-0.32901912927627563,
0.1505490094423294,
-0.3321796655654907,
-0.026869049295783043,
-0.12737156450748444,
0.4326398968696594,
0.27772602438926697,
-0.44788530468940735,
-0.033036429435014725,
-0.3090701401233673,
0.11824079602956772,
0.11319780349731445,
-0.00011938094394281507,
-0.15792036056518555,
-0.014200604520738125,
-0.06126994267106056,
0.4552116394042969,
0.1623024344444275,
0.17969827353954315,
0.09623286873102188,
-0.14072835445404053,
-0.13648365437984467,
0.21329237520694733,
0.3244238495826721,
0.11804231256246567,
-0.0536649189889431,
0.4028443992137909,
0.26556578278541565,
0.1118750050663948,
0.20554956793785095,
0.09391965717077255,
0.07542407512664795,
-0.2695273756980896,
-0.3726019561290741,
-0.056422002613544464,
0.2890230715274811,
0.5033326745033264,
-0.3819994032382965,
0.1414167732000351,
0.3143703043460846,
-0.3030374050140381,
0.03751322999596596,
-0.2931319773197174,
-0.06406693160533905,
0.5305406451225281,
-0.5780697464942932,
0.09767395257949829,
-0.11051595956087112,
-0.17095012962818146,
-0.22018320858478546,
0.3771389126777649,
0.16103969514369965,
0.05074248090386391,
-0.8099097013473511,
0.027595853433012962,
0.13647182285785675,
-0.4156230092048645,
0.030588610097765923,
-0.14913205802440643,
0.013582143932580948,
-0.026838786900043488,
-0.146784245967865,
0.09750920534133911,
0.0018128331284970045,
0.06741118431091309,
0.2221696823835373,
0.25119954347610474,
0.26765793561935425,
-0.31723907589912415,
0.3002198040485382,
-0.06850359588861465,
0.11611608415842056,
-0.44230949878692627,
-0.03575220704078674,
0.07734481245279312,
0.18877685070037842,
-0.2333679348230362,
-0.26917436718940735,
0.010994819924235344,
0.13863831758499146,
0.24985161423683167,
0.21389687061309814,
0.2139109969139099,
-0.19126224517822266,
0.12676261365413666,
-0.6191257834434509,
0.2186715006828308,
-0.43479520082473755,
-0.10451512038707733,
-0.048007842153310776,
0.06859748065471649,
-0.540185272693634,
0.3463863730430603,
0.4573226571083069,
0.2797255516052246,
-0.10791443288326263,
-0.2896053194999695,
0.2956331968307495,
0.0119022810831666,
0.20198291540145874,
0.2572353184223175,
0.30277934670448303,
0.3510758876800537,
0.6872217655181885,
-0.030258173123002052,
0.07495276629924774,
-0.5382586717605591,
0.170901820063591,
0.10131140798330307,
0.14047871530056,
-0.32609206438064575,
0.15111017227172852,
0.25566110014915466,
0.06633223593235016,
0.1399955153465271,
0.07152758538722992,
0.26466014981269836,
-0.31943434476852417,
-0.10164681822061539,
-0.2185533493757248,
-0.023928925395011902,
0.21936871111392975,
0.1559511125087738,
0.2279537469148636,
-0.05148328095674515,
0.07511578500270844,
-0.028001481667160988,
0.22884780168533325,
-0.3791951537132263,
-0.3146425485610962,
0.005625386256724596,
0.060884878039360046,
0.4742709696292877,
0.48001545667648315,
0.306234747171402,
-0.09772314876317978,
0.29952895641326904,
-0.38370978832244873,
-0.06158901005983353,
-0.4407130181789398,
-0.3253921866416931,
-0.33491024374961853,
-0.10956166684627533,
0.33428671956062317,
0.016576917842030525,
0.3336036503314972,
0.3500518798828125,
-0.005989784374833107,
0.10591115057468414,
0.25976648926734924,
0.21961374580860138,
-0.246907576918602,
-0.13908566534519196,
-0.007935216650366783,
-0.16829198598861694,
-0.1990412473678589,
-0.027466848492622375,
0.15580706298351288,
-0.0895247757434845,
-0.13953536748886108,
0.20325906574726105,
0.08983666449785233,
0.009012090973556042,
-0.3770289719104767,
0.4743014872074127,
-0.261034220457077,
-0.1601276397705078,
0.22331152856349945,
-0.18870791792869568,
0.16288577020168304,
-0.09736482053995132,
-0.0018651965074241161,
0.04767977073788643,
-0.0739370584487915,
-0.04609895497560501,
-0.09430719166994095,
0.25385579466819763,
0.14620839059352875,
-0.03734893351793289,
0.29308605194091797,
0.14268261194229126,
-0.04409822076559067,
0.04125390946865082,
-0.38036519289016724,
-0.036957718431949615,
0.0419524721801281,
-0.2586926817893982,
-0.03181362897157669,
0.27387601137161255,
0.11006635427474976,
0.153383269906044,
0.2823152244091034,
-0.17858090996742249,
-0.18333536386489868,
0.0399046465754509,
-0.08018437027931213,
0.05703098699450493,
-0.22649405896663666,
-0.04175042361021042,
0.3700152337551117,
0.013644125312566757,
-0.1833055466413498,
-0.16898952424526215,
-0.11473023146390915,
-0.38202589750289917,
-0.3083169460296631,
-0.06276515871286392,
0.35027801990509033,
0.2317861169576645,
0.09700257331132889,
0.08906746655702591,
0.23483014106750488,
0.11957844346761703,
-0.14746789634227753,
-0.15316660702228546,
0.02742469497025013,
0.19046148657798767,
-0.2588339149951935,
0.058097388595342636,
0.07131244987249374,
0.18490470945835114,
-0.24339598417282104,
0.48062455654144287,
0.063829705119133,
-0.03179332613945007,
0.2943502962589264,
-0.1405334621667862,
0.16324129700660706,
0.11012141406536102,
-0.006384066306054592,
0.2178623080253601,
0.14911676943302155,
0.3250441551208496,
0.15160605311393738,
-0.0632992833852768,
-0.31502196192741394,
-0.28454503417015076,
0.05274887755513191,
0.2794170379638672,
0.12303806096315384,
-0.08621114492416382,
-0.011348189786076546,
-0.14561884105205536,
0.19358892738819122,
-0.03295254334807396,
-0.4224091172218323,
0.6393159031867981,
0.09582644701004028,
-0.13604314625263214,
0.2696187198162079,
-0.41967150568962097,
-0.11508730053901672,
0.24200086295604706,
0.03873513638973236,
0.016444863751530647,
0.1887713521718979,
-0.18156909942626953,
-0.13241255283355713,
-0.08717721700668335,
-0.19706520438194275,
-0.08164283633232117,
0.03463957458734512,
-0.25954169034957886,
0.06127161160111427,
-0.04897889867424965,
0.4968198835849762,
-0.3601056933403015,
-0.4657553434371948,
-0.04275791719555855,
-0.19183899462223053,
0.04476067051291466,
0.4225374162197113,
-0.09103593230247498,
0.00036954207462258637,
0.04836585745215416,
-0.07523173838853836,
0.12536261975765228,
0.20830996334552765,
0.18872226774692535,
-0.13002172112464905,
-0.017663652077317238,
-0.09031273424625397,
0.4238033592700958,
-0.2149706482887268,
0.23657158017158508,
0.23880165815353394,
-0.03603672236204147,
0.0988377034664154,
0.16305550932884216,
-0.013102964498102665,
0.024332212284207344,
0.15732088685035706,
0.054088614881038666,
0.17232728004455566,
0.16418717801570892,
-0.33355388045310974,
0.09462844580411911,
-0.4251771569252014,
0.20395179092884064,
0.2498658448457718,
0.13483431935310364,
-0.47967541217803955,
-0.30310362577438354,
-0.15875111520290375,
-0.34296664595603943,
-0.21281583607196808,
0.08128610253334045,
-0.1794176548719406,
0.30700749158859253,
-0.30429208278656006,
0.12313561141490936,
0.08398724347352982,
0.26122915744781494,
-0.16303260624408722,
-0.21925465762615204,
0.24093028903007507,
0.0028172535821795464,
-0.24715909361839294,
-0.1566561907529831,
0.24605312943458557,
0.19747662544250488,
0.03510566055774689,
-0.18082760274410248,
-0.15189047157764435,
-0.3317200839519501,
0.006831937003880739,
0.01142489816993475,
-0.008176775649189949,
0.2596695125102997,
0.43913140892982483,
0.19965800642967224,
-0.1285461038351059,
0.11514878273010254,
-0.10724532604217529,
0.03880215436220169,
0.0945962443947792,
0.12175296992063522,
0.335600346326828,
0.12429563701152802,
-0.1919824481010437,
0.39640846848487854,
0.585052490234375,
0.06698397547006607,
0.2981483042240143,
0.07127821445465088,
0.07230062782764435,
-0.008435660973191261,
-0.16406972706317902,
0.07009128481149673,
-0.39941948652267456,
-0.1546178013086319,
0.15362761914730072,
0.036105912178754807,
-0.3688908517360687,
-0.2827153503894806,
0.27067384123802185,
-0.31770965456962585,
-0.16785691678524017,
0.12709812819957733,
0.06909402459859848,
0.13070324063301086,
-0.17401374876499176,
-0.03491416200995445,
0.05919821187853813,
0.10014001280069351,
-0.11127465218305588,
0.18108300864696503,
-0.16932858526706696,
-0.24026069045066833,
-0.06780754774808884,
-0.5501954555511475,
-0.46817898750305176,
0.4201434850692749,
0.15057022869586945,
0.5695863366127014,
-0.002304735826328397,
-0.15351977944374084,
-0.059757720679044724,
-0.29354333877563477,
0.8496725559234619,
-0.1981756091117859,
-0.19344398379325867,
0.21818308532238007,
0.26585710048675537,
-0.002650735666975379,
-0.07989252358675003,
-0.1824520379304886,
0.3223553001880646,
0.1083102598786354,
-0.053681645542383194,
0.2510606050491333,
-0.07569429278373718,
0.11799249053001404,
-0.09274828433990479,
-0.17282627522945404,
-0.09142467379570007,
-0.33677831292152405,
-0.29600733518600464,
-0.05457083880901337,
0.2718886435031891,
0.025783078745007515,
-0.06298097223043442,
-0.328390896320343,
0.009556536562740803,
0.20257702469825745,
-0.10107256472110748,
0.3030548393726349,
-0.010993278585374355,
0.1442427784204483,
-0.10021533071994781,
0.0600254088640213,
-0.26076987385749817,
0.2963292598724365,
-0.1633317470550537,
-0.0030016270466148853,
-0.19227775931358337,
0.24048522114753723,
0.3096616268157959,
-0.0918831080198288,
0.39292359352111816,
0.44573524594306946,
0.14240683615207672,
-0.12339411675930023,
-0.3963153660297394,
0.4940877854824066,
-0.27963337302207947,
-0.21912264823913574,
0.27299249172210693,
0.2718498408794403,
0.0476514995098114,
0.2530598044395447,
0.24642500281333923,
0.10823816061019897,
-0.10779562592506409,
0.4929203689098358,
-0.365534245967865,
-0.07493032515048981,
0.03562789782881737,
0.13043077290058136,
0.9967212677001953,
0.04332078993320465,
0.11891134828329086,
-0.059443701058626175,
-0.4330742359161377,
-0.2991344630718231,
-0.15476058423519135,
0.3376130759716034,
-0.24754907190799713,
-0.14417250454425812,
-0.010779928416013718,
-0.03274646773934364,
0.13657043874263763,
-0.048198338598012924,
-0.3108741044998169,
0.5423759818077087,
0.2191963940858841,
-0.15520809590816498,
-0.1597222238779068,
-0.24490675330162048,
-0.0447629876434803,
-0.20884670317173004,
0.12534737586975098,
0.02601904794573784,
0.08246834576129913,
-0.10332828015089035,
-0.27087995409965515,
0.16086089611053467,
0.47827520966529846,
-0.4204185903072357,
-0.4470713138580322,
0.022219864651560783,
-0.29245394468307495,
0.15170074999332428,
-0.15103380382061005,
0.28365564346313477,
0.00822187028825283,
0.39334994554519653,
0.08621404320001602,
-0.03390678018331528,
-0.20030972361564636,
-0.05124799162149429,
0.5149096250534058,
-0.07340323179960251,
-0.1548953652381897,
0.046951647847890854,
-0.06450127810239792,
-0.08828014135360718,
-0.2245570719242096,
0.3278425633907318,
-0.1464335173368454,
-0.016719261184334755,
-0.460233211517334,
0.3510599732398987,
0.1427759826183319,
0.2157936990261078,
-0.15387336909770966,
0.23852421343326569,
-0.20421645045280457,
-0.13417068123817444,
0.0876108929514885,
-0.05200273171067238,
-0.45584169030189514,
0.6648209095001221,
-0.5725059509277344,
-0.16524478793144226,
0.01571495085954666,
0.03855613246560097,
0.025659115985035896,
-0.08238441497087479,
0.09131317585706711,
0.18073925375938416,
-0.07983256876468658,
-0.24971579015254974,
-0.10019183903932571,
-0.4476299285888672,
-0.05906079337000847,
-0.01409725658595562,
0.41319671273231506,
-0.15561248362064362,
0.1912045031785965,
-0.2220640331506729,
0.0293210968375206,
0.12806002795696259,
-0.0034403216559439898,
-0.3608272671699524,
-0.20596559345722198,
0.004135787487030029,
-0.03844360262155533,
0.1840740293264389,
0.0003690854646265507,
0.09033995866775513,
0.11456821858882904,
0.0433800183236599,
-0.26995113492012024,
0.023775886744260788,
-0.20484650135040283,
0.15200583636760712,
0.08224327862262726,
-0.23548871278762817,
-0.10316625982522964,
0.1423008143901825,
0.038522832095623016,
0.4069344103336334,
-0.411188542842865,
-0.10574283450841904,
0.11333741992712021,
0.09243277460336685,
-0.08201214671134949,
0.019856777042150497,
0.07017368823289871,
0.038681305944919586,
0.09402680397033691,
-0.030610466375947,
0.11765998601913452,
0.08484385907649994,
-0.2991258502006531,
0.07463351637125015,
-0.02880074456334114,
0.20660004019737244,
0.16399425268173218,
0.265965074300766,
-0.1864546537399292,
0.43945494294166565,
0.09814932942390442,
0.023513680323958397,
0.0044681294821202755,
-0.010096595622599125,
-0.05544162169098854,
0.07107103615999222,
-0.09209200739860535,
-0.24259093403816223,
-0.10499060899019241,
-0.0773678869009018,
-0.31473714113235474,
-0.12281513959169388,
0.23543918132781982,
0.3333846628665924,
-0.2171500325202942,
0.2746221721172333,
0.30431559681892395,
0.17820125818252563,
-0.21593347191810608,
0.06132090091705322,
-0.024280808866024017,
-0.11040747910737991,
-0.0702875629067421,
0.33602797985076904,
0.21716761589050293,
-0.5155624151229858,
0.3308364450931549,
0.05071224644780159,
0.18113499879837036,
-0.4108894169330597,
-0.35991838574409485,
0.15165136754512787,
0.2669437527656555,
0.12570686638355255,
0.04989691823720932,
-0.03196728974580765,
0.09228117018938065,
0.46222642064094543,
-0.0737486258149147,
0.23013682663440704,
-0.24037998914718628,
0.14718304574489594,
-0.09885731339454651,
-0.17089183628559113,
-0.17929424345493317,
0.12338404357433319,
-0.32529932260513306,
0.49417614936828613,
-0.11517635732889175,
0.355194628238678,
-0.5752065777778625,
-0.3193901479244232,
-0.30001530051231384,
0.3833569288253784,
-0.2761048972606659,
-0.09426162391901016,
0.07312068343162537,
-0.0046291109174489975,
0.08488419651985168,
0.10959888249635696,
0.337564617395401,
0.07305887341499329,
0.6472610235214233,
0.2219407856464386,
-0.09655628353357315,
0.06163761764764786,
-0.32276999950408936,
0.13968220353126526,
0.048346228897571564,
-0.24886161088943481,
0.227209210395813,
0.4413462281227112,
-0.015042945742607117,
-0.25591546297073364,
-0.07868906110525131,
0.5184314846992493,
0.3973654806613922,
-0.7148280143737793,
0.0073226140812039375,
0.17652317881584167,
0.13485509157180786,
0.024689245969057083,
0.11713337898254395,
0.12649507820606232,
0.27126166224479675,
0.03230360895395279,
0.008261212147772312,
-0.09023760259151459,
-0.01762964017689228,
0.31474602222442627,
0.21560291945934296,
0.23376306891441345,
0.16078796982765198,
-0.005443447735160589,
-0.20687955617904663,
0.0349385142326355,
0.10918541252613068,
-0.6795333027839661,
-0.03062182478606701,
0.1634548306465149,
-0.4358775317668915,
0.08229990303516388,
0.034672755748033524,
0.05644704028964043,
-0.03175761550664902,
0.32027751207351685,
-0.0608234666287899,
0.21359261870384216,
-0.29250988364219666,
-0.18115755915641785,
-0.37693995237350464,
0.013010305352509022,
0.10314419120550156,
0.013752192258834839,
-0.11987632513046265,
-0.15812529623508453,
-0.03815227001905441,
0.16780297458171844,
0.10597026348114014,
0.09036658704280853,
0.25108450651168823,
0.717980682849884,
-0.5408717393875122,
0.3911234140396118,
0.38142675161361694,
0.005104529671370983,
0.2969387173652649,
-0.40280258655548096,
0.23933622241020203,
-0.032980989664793015,
0.04916929826140404,
-0.2540530264377594,
0.27568984031677246,
-0.15997318923473358,
0.4374828338623047,
0.2795366644859314,
0.027304766699671745,
0.1966373473405838,
-0.09661605209112167,
-0.09495817124843597,
0.10995510220527649,
0.41399267315864563,
0.30055561661720276,
-0.5189868807792664,
0.3097033202648163,
0.01986919902265072,
-0.4053829312324524,
-0.09641643613576889,
-0.051048729568719864,
-0.06677684187889099,
0.060623008757829666,
0.17480264604091644,
-0.096103735268116,
0.039178647100925446,
-0.005900068674236536,
0.11203993856906891,
-0.03579377010464668,
0.45218154788017273,
0.007308260537683964,
0.20617811381816864,
-0.20738090574741364,
-0.059918154031038284,
0.18641681969165802,
-0.03062489815056324,
-0.3157818615436554,
-0.23768362402915955,
0.47641128301620483,
-0.5554812550544739,
0.09870617091655731,
-0.12815822660923004,
-0.06185072287917137,
-0.1075519397854805,
0.030357133597135544,
-0.728594958782196,
0.26026198267936707,
-0.4314197301864624,
-0.6321410536766052,
0.10898486524820328,
-0.09538214653730392,
0.19439801573753357,
-0.09242207556962967,
0.2282528132200241,
-0.1962151825428009
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
Indeed you needed `if __name__ == '__main__'` since accoding to [this stackoverflow post](https://stackoverflow.com/a/18205006):
> On Windows the subprocesses will import (i.e. execute) the main module at start. You need to insert an if __name__ == '__main__': guard in the main module to avoid creating subprocesses recursively.
Regarding the hanging issue, can you try to update `dill` and `multiprocess` ?
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 59
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
Indeed you needed `if __name__ == '__main__'` since accoding to [this stackoverflow post](https://stackoverflow.com/a/18205006):
> On Windows the subprocesses will import (i.e. execute) the main module at start. You need to insert an if __name__ == '__main__': guard in the main module to avoid creating subprocesses recursively.
Regarding the hanging issue, can you try to update `dill` and `multiprocess` ?
|
[
-0.13518139719963074,
-0.4226137101650238,
-0.11948443204164505,
-0.017613716423511505,
0.10806308686733246,
-0.09601191431283951,
0.1320633739233017,
0.0308469720184803,
-0.10139163583517075,
0.36021992564201355,
-0.0551886148750782,
0.09468977153301239,
-0.37365978956222534,
-0.14211727678775787,
-0.15793895721435547,
-0.019645310938358307,
0.032983407378196716,
-0.11282789707183838,
0.04787851870059967,
0.09045549482107162,
-0.33944442868232727,
0.40241914987564087,
-0.27139341831207275,
0.02680455520749092,
-0.4019666612148285,
0.07968901842832565,
-0.061742231249809265,
0.5093013048171997,
0.019132671877741814,
-0.3639242351055145,
-0.10211631655693054,
-0.21955528855323792,
0.23864001035690308,
0.13217340409755707,
-0.00010341062443330884,
-0.18186835944652557,
0.020588526502251625,
0.004690884612500668,
0.18553782999515533,
0.07881557941436768,
0.3621463179588318,
-0.22690746188163757,
0.07145415246486664,
-0.0414673388004303,
0.04452155902981758,
0.2184213101863861,
0.0055286153219640255,
0.07621873170137405,
0.4799882471561432,
0.22934377193450928,
0.26367345452308655,
0.0895201787352562,
0.18868842720985413,
0.14080144464969635,
-0.1524415910243988,
-0.28533580899238586,
-0.11970684677362442,
0.41747093200683594,
0.39942726492881775,
-0.1610606610774994,
0.07929500192403793,
0.23220999538898468,
-0.1770661175251007,
0.08595400303602219,
-0.23217202723026276,
-0.0009670463623479009,
0.4042540490627289,
-0.40599754452705383,
0.01564045064151287,
0.001249545719474554,
-0.09211595356464386,
-0.10740423947572708,
0.22775086760520935,
0.1052803322672844,
0.22892598807811737,
-0.8124303817749023,
0.016680072993040085,
0.04725823178887367,
-0.3250296115875244,
0.0808490663766861,
0.14108316600322723,
-0.1242966279387474,
-0.02202477492392063,
-0.21458236873149872,
-0.042825788259506226,
0.10053809732198715,
0.1382361501455307,
0.05714885890483856,
0.14644795656204224,
0.007800317369401455,
-0.23720157146453857,
0.38696831464767456,
-0.011507151648402214,
0.08500893414020538,
-0.41477397084236145,
0.07705695927143097,
0.15524257719516754,
0.005167452152818441,
-0.23439857363700867,
-0.2477203905582428,
-0.026692798361182213,
0.13809211552143097,
0.29674336314201355,
0.19356250762939453,
0.131011962890625,
-0.09735064208507538,
0.10964749753475189,
-0.5587248802185059,
0.35675981640815735,
-0.40955522656440735,
-0.06583978235721588,
0.11630108952522278,
-0.06646765023469925,
-0.48124873638153076,
0.21113918721675873,
0.36409610509872437,
0.13876377046108246,
-0.17857199907302856,
-0.24128872156143188,
0.2611696422100067,
0.07610472291707993,
0.1619967818260193,
0.17483633756637573,
0.37315577268600464,
0.27030402421951294,
0.63239586353302,
0.12113312631845474,
0.039570245891809464,
-0.5594884157180786,
0.3015013337135315,
0.05858073756098747,
0.07654047012329102,
-0.19993987679481506,
-0.036708805710077286,
0.21904385089874268,
0.04800082743167877,
0.10932761430740356,
0.08066989481449127,
0.19756962358951569,
-0.12940941751003265,
-0.029919415712356567,
-0.11909099668264389,
-0.01933460310101509,
0.19678658246994019,
0.1208982840180397,
0.2237982153892517,
-0.042053356766700745,
0.04691018536686897,
-0.1270226687192917,
0.2816561758518219,
-0.17049334943294525,
-0.21695852279663086,
-0.09667066484689713,
0.20641788840293884,
0.3183298110961914,
0.33028149604797363,
0.406903475522995,
0.020221322774887085,
0.07875716686248779,
-0.3521765470504761,
-0.2129664123058319,
-0.42627790570259094,
-0.15322190523147583,
-0.22043828666210175,
0.1979791522026062,
0.20152363181114197,
-0.2252456396818161,
0.2377130091190338,
0.12155832350254059,
-0.10782891511917114,
0.20431584119796753,
0.2541863024234772,
0.2908354103565216,
-0.279876708984375,
0.006535145919770002,
-0.029729316011071205,
-0.09138036519289017,
-0.20779229700565338,
-0.03437758982181549,
0.08676797896623611,
-0.09551934152841568,
-0.1293615698814392,
0.06543072313070297,
0.10552733391523361,
0.15566617250442505,
-0.15468722581863403,
0.38358354568481445,
0.025228237733244896,
0.06254763156175613,
0.16705945134162903,
-0.38131970167160034,
0.1540873795747757,
-0.10821101069450378,
0.13254788517951965,
-0.015302678570151329,
-0.30981943011283875,
-0.18585112690925598,
-0.04401857405900955,
0.3126034736633301,
0.11230336874723434,
-0.0583186075091362,
0.31770890951156616,
0.21398131549358368,
-0.04294852539896965,
0.03301724046468735,
-0.2787879407405853,
-0.0473925955593586,
-0.03262605145573616,
-0.28363046050071716,
0.11097978800535202,
0.28546997904777527,
0.12765896320343018,
0.08359191566705704,
0.26655784249305725,
-0.15759100019931793,
-0.29247036576271057,
0.20162004232406616,
0.061783138662576675,
0.05847649648785591,
-0.09083785116672516,
-0.11905156821012497,
0.2270740419626236,
0.10035579651594162,
-0.19432194530963898,
-0.12135200202465057,
-0.11391957104206085,
-0.48692524433135986,
-0.28643888235092163,
0.06169193983078003,
0.40436676144599915,
0.08701266348361969,
0.07157840579748154,
0.011979172937572002,
0.28059378266334534,
0.12024557590484619,
-0.1503610461950302,
-0.056233469396829605,
-0.11173295229673386,
0.16334709525108337,
-0.16659986972808838,
0.08657276630401611,
0.19662705063819885,
0.10605262219905853,
-0.19405123591423035,
0.36740779876708984,
0.09487578272819519,
0.11143354326486588,
0.28851979970932007,
-0.01157139241695404,
0.16564741730690002,
0.15551844239234924,
0.09891396760940552,
0.12689432501792908,
0.09782330691814423,
0.4008502662181854,
0.11412867903709412,
0.10210616141557693,
-0.2333517074584961,
-0.28678783774375916,
0.10279329866170883,
0.2684319317340851,
0.0992114320397377,
-0.0008462660480290651,
0.12027210742235184,
-0.13316303491592407,
0.09464400261640549,
-0.04415640980005264,
-0.40500882267951965,
0.330118328332901,
0.17663905024528503,
0.08090205490589142,
0.24930371344089508,
-0.45328274369239807,
-0.11890917271375656,
0.2047949880361557,
-0.10696981847286224,
-0.14982259273529053,
0.25401580333709717,
-0.11364611238241196,
-0.17808398604393005,
-0.10862282663583755,
-0.1908419132232666,
-0.14637744426727295,
0.10596837848424911,
-0.12255258858203888,
-0.11240245401859283,
-0.20606182515621185,
0.5869619250297546,
-0.3379528224468231,
-0.5343273282051086,
-0.2172735631465912,
-0.24002939462661743,
0.2002074420452118,
0.295700341463089,
-0.15511943399906158,
0.17678627371788025,
0.17040032148361206,
-0.14770744740962982,
0.1539742797613144,
0.24463050067424774,
0.10547900199890137,
-0.1966184675693512,
-0.09115741401910782,
0.06455986946821213,
0.3895754814147949,
0.05363575741648674,
0.27198824286460876,
0.2185661494731903,
-0.08400047570466995,
0.1159336119890213,
0.017936846241354942,
-0.11763888597488403,
0.006587643641978502,
0.2527398467063904,
0.05239693820476532,
0.08706098794937134,
0.23333142697811127,
-0.40075820684432983,
0.16903628408908844,
-0.4145233631134033,
0.19899286329746246,
0.21554139256477356,
0.1596938967704773,
-0.2973800301551819,
-0.3184909522533417,
-0.3417879641056061,
-0.4226316213607788,
-0.4237925112247467,
-0.004603762645274401,
-0.10884270071983337,
0.18924076855182648,
-0.30537790060043335,
0.09388266503810883,
0.162689670920372,
0.47640708088874817,
0.10991796851158142,
-0.10979148000478745,
0.3985261619091034,
0.11492164433002472,
-0.42328450083732605,
-0.3036077618598938,
0.0739746242761612,
0.08624843508005142,
0.000541194633115083,
-0.34873443841934204,
-0.09381004422903061,
-0.26053938269615173,
-0.04027021676301956,
-0.0411948636174202,
0.0168386772274971,
0.1922752410173416,
0.3205171525478363,
0.21998198330402374,
-0.19749008119106293,
0.12539851665496826,
-0.10872085392475128,
0.010256094858050346,
0.021746929734945297,
0.06424976140260696,
0.1324179470539093,
-0.008241850882768631,
-0.32528918981552124,
0.5187209844589233,
0.2988130450248718,
0.0430273562669754,
0.2415018528699875,
0.14956437051296234,
0.07384878396987915,
-0.11256556957960129,
-0.11497879028320312,
0.2159842550754547,
-0.18123868107795715,
-0.12338236719369888,
0.33854496479034424,
0.06372959166765213,
-0.34406301379203796,
-0.385246217250824,
0.333448588848114,
-0.2241058498620987,
-0.21686409413814545,
0.10376640409231186,
-0.012533975765109062,
-0.0054064118303358555,
-0.06726952642202377,
-0.005300476681441069,
0.05924874544143677,
0.15132871270179749,
-0.01571773737668991,
0.1620752364397049,
-0.198182612657547,
-0.226150780916214,
-0.08535130321979523,
-0.556027889251709,
-0.5261830687522888,
0.3601524829864502,
0.16126008331775665,
0.40454110503196716,
-0.02795698679983616,
-0.312298983335495,
0.11046651005744934,
-0.31534698605537415,
0.6050419211387634,
-0.10408145189285278,
-0.23101627826690674,
0.29576146602630615,
0.1977669596672058,
-0.12131726741790771,
-0.12236450612545013,
-0.2776653468608856,
0.016612384468317032,
0.2755774259567261,
-0.23397453129291534,
-0.018775397911667824,
-0.07732678949832916,
0.04086029529571533,
-0.09627313166856766,
-0.18764269351959229,
-0.12303496152162552,
-0.31883078813552856,
-0.28523144125938416,
-0.12988513708114624,
0.14000895619392395,
-0.08760779350996017,
0.11716772615909576,
-0.45471659302711487,
0.009068692103028297,
0.08787377178668976,
-0.0814703181385994,
0.1576920598745346,
0.11931668967008591,
0.16751722991466522,
-0.14903946220874786,
0.2297845035791397,
-0.15331123769283295,
0.5115940570831299,
-0.042526356875896454,
-0.009961173869669437,
-0.283764123916626,
0.16254153847694397,
0.42910826206207275,
-0.17897339165210724,
0.2091461420059204,
0.33569061756134033,
0.16791944205760956,
0.0008685491629876196,
-0.4147987961769104,
0.491894394159317,
-0.2210264801979065,
-0.03654792904853821,
0.3737972676753998,
0.3164685070514679,
0.1306280940771103,
0.07211820036172867,
0.2689933180809021,
0.050337277352809906,
-0.11903578788042068,
0.2975531816482544,
-0.34392601251602173,
0.0228009931743145,
0.09795283526182175,
0.11228238791227341,
0.9095657467842102,
0.12733280658721924,
0.0503460057079792,
0.17708681523799896,
-0.45765799283981323,
-0.2464912086725235,
-0.2452305555343628,
0.21504148840904236,
-0.3452490568161011,
-0.00769425742328167,
0.12789976596832275,
-0.01612449623644352,
-0.036416660994291306,
-0.13833606243133545,
-0.32750239968299866,
0.3317166268825531,
0.01446185540407896,
-0.21456214785575867,
-0.2669152319431305,
-0.0233469121158123,
-0.06674236804246902,
-0.1558235138654709,
-0.004671473056077957,
0.19189424812793732,
0.23176226019859314,
-0.09813117980957031,
-0.2949546277523041,
0.08838706463575363,
0.30909448862075806,
-0.3657182455062866,
-0.2679751515388489,
-0.004426844418048859,
-0.049530819058418274,
0.1375204622745514,
-0.132258802652359,
-0.12631577253341675,
-0.11116386204957962,
0.4085240960121155,
0.06417319923639297,
0.03526400774717331,
-0.2122754454612732,
0.07628174126148224,
0.22853387892246246,
0.0259711891412735,
-0.0888751670718193,
0.10099038481712341,
0.006215711589902639,
-0.19283968210220337,
-0.2835329473018646,
0.2746957242488861,
-0.09334702789783478,
0.052820853888988495,
-0.19578616321086884,
0.3317496180534363,
0.11355925351381302,
0.18402588367462158,
-0.08954691141843796,
0.3004462420940399,
-0.23431016504764557,
-0.16870136559009552,
0.22054454684257507,
-0.0026309138629585505,
-0.5343692302703857,
0.6597445011138916,
-0.35835203528404236,
-0.042800985276699066,
-0.03230796754360199,
0.048882924020290375,
0.020763948559761047,
0.1505814641714096,
0.1778145432472229,
0.259949266910553,
-0.2313382923603058,
-0.26107922196388245,
-0.13002195954322815,
-0.3829304873943329,
0.022849686443805695,
-0.03134077414870262,
0.5056548118591309,
-0.2653225064277649,
0.17490056157112122,
-0.23434264957904816,
-0.026295308023691177,
-0.005346560850739479,
-0.17591050267219543,
-0.1204579696059227,
-0.1555926352739334,
0.02131112664937973,
-0.05038401484489441,
0.23290178179740906,
-0.11262834817171097,
0.16652217507362366,
0.0070863268338143826,
0.10559269785881042,
-0.4100169241428375,
0.01227268110960722,
-0.2944076955318451,
0.08156890422105789,
-0.039819229394197464,
-0.42134997248649597,
0.04316289350390434,
0.25666260719299316,
0.2082241326570511,
0.3661237359046936,
-0.306091845035553,
-0.272167831659317,
-0.006681493949145079,
0.031099900603294373,
-0.16692520678043365,
0.02603227272629738,
0.087576724588871,
0.05002150684595108,
-0.04315303638577461,
-0.03946777433156967,
0.07173388451337814,
-0.029592065140604973,
-0.19600671529769897,
0.13999305665493011,
-0.07123278081417084,
0.26360324025154114,
0.30905085802078247,
0.40095409750938416,
-0.12668266892433167,
0.4257562756538391,
-0.022359753027558327,
0.012097167782485485,
0.014173533767461777,
-0.08428724855184555,
-0.042848508805036545,
0.04615746811032295,
-0.06829570978879929,
-0.19552968442440033,
0.014597255736589432,
0.1875312179327011,
-0.23917657136917114,
-0.1456569880247116,
0.5542569160461426,
0.4825509488582611,
-0.048680368810892105,
0.13916102051734924,
0.4199681282043457,
0.30927401781082153,
-0.23189234733581543,
0.08464343100786209,
-0.18092751502990723,
-0.19136901199817657,
0.09318549931049347,
0.15904156863689423,
0.06163023039698601,
-0.3784908354282379,
0.20297303795814514,
0.14721129834651947,
-0.043364185839891434,
-0.2426804006099701,
-0.5065708756446838,
0.18881262838840485,
0.16775189340114594,
0.057042304426431656,
0.05237870663404465,
-0.10789064317941666,
0.162452831864357,
0.4125854969024658,
-0.1772700846195221,
0.21987566351890564,
-0.3080129027366638,
0.11130338162183762,
-0.06153027340769768,
-0.23009243607521057,
-0.10264429450035095,
0.10077236592769623,
-0.20142628252506256,
0.27180373668670654,
-0.16079221665859222,
0.45022356510162354,
-0.5096836686134338,
-0.3224600851535797,
-0.2438453733921051,
0.4145312011241913,
-0.20010189712047577,
-0.09695737808942795,
0.08955513685941696,
0.02708173543214798,
0.07426466792821884,
0.06356105953454971,
0.2658015489578247,
0.15403196215629578,
0.412788063287735,
0.30116453766822815,
0.06638439744710922,
-0.1835925281047821,
-0.26126036047935486,
-0.012426132336258888,
0.04518751800060272,
-0.1576484590768814,
0.19586321711540222,
0.5646466612815857,
0.06718059629201889,
-0.19348859786987305,
0.02779453992843628,
0.49505898356437683,
0.4522050619125366,
-0.7212643027305603,
0.05560636147856712,
0.07716317474842072,
0.08330777287483215,
-0.18172818422317505,
0.18735311925411224,
0.08585069328546524,
0.1851806491613388,
0.20491142570972443,
0.14457236230373383,
-0.2454434484243393,
-0.0605243481695652,
0.19238299131393433,
0.1505834013223648,
0.246146097779274,
0.14846739172935486,
0.024956628680229187,
-0.10381434857845306,
-0.13544785976409912,
-0.09551766514778137,
-0.6611921191215515,
-0.04938999563455582,
0.05820443108677864,
-0.28900378942489624,
0.08858711272478104,
-0.15878646075725555,
0.12018557637929916,
-0.1778050661087036,
0.4030877351760864,
0.08895682543516159,
0.41242530941963196,
-0.11652261763811111,
-0.14268337190151215,
-0.5166681408882141,
0.09031342715024948,
0.08724760264158249,
-0.12556742131710052,
-0.31899595260620117,
-0.10613209754228592,
0.04900127649307251,
0.11520957946777344,
0.05792536213994026,
0.04309157282114029,
0.22172249853610992,
0.6491619348526001,
-0.6396926641464233,
0.37076276540756226,
0.12191955745220184,
-0.10667705535888672,
0.23207950592041016,
-0.37244924902915955,
0.19260184466838837,
-0.01878419890999794,
0.14915332198143005,
-0.11501133441925049,
0.18880891799926758,
-0.12741927802562714,
0.5095840692520142,
0.2310604304075241,
0.14374516904354095,
0.2511385679244995,
-0.1507161259651184,
-0.13586218655109406,
0.10073625296354294,
0.3031366169452667,
0.1630823314189911,
-0.5176231861114502,
0.29951348900794983,
0.08904598653316498,
-0.22535426914691925,
-0.21223664283752441,
-0.07191548496484756,
0.26952648162841797,
0.028627002611756325,
0.17644044756889343,
-0.10585334897041321,
-0.024252332746982574,
0.10536298155784607,
0.02219334989786148,
-0.026565691456198692,
0.46887773275375366,
0.0108466986566782,
0.21764060854911804,
-0.37263116240501404,
-0.10973293334245682,
0.24909357726573944,
0.1428985446691513,
-0.19557717442512512,
-0.343661367893219,
0.3892376720905304,
-0.38142359256744385,
0.09864598512649536,
-0.19773893058300018,
-0.027596112340688705,
-0.15115264058113098,
0.0076968311332166195,
-0.5447810888290405,
0.2385076880455017,
-0.22838766872882843,
-0.5854178667068481,
-0.014366784133017063,
-0.14195330440998077,
0.25172632932662964,
0.037958983331918716,
0.1321123093366623,
-0.2587895393371582
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
```
Traceback (most recent call last):
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 791, in move
os.rename(src, real_dst)
FileExistsError: [WinError 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\tmpx9fl_jg8' -> 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\cache-9b4f203a63742dfc.arrow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 125, in _main
prepare(preparation_data)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\cvtrain.py", line 243, in <module>
common_voice_train = common_voice_train.map(remove_special_characters, remove_columns=["sentence"])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1339, in map
return self._map_single(
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 203, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1646, in _map_single
shutil.move(tmp_file.name, cache_file_name)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 805, in move
copy_function(src, real_dst)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 435, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
0%| | 0/27771 [00:00<?, ?ex/s]
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
OSError: [Errno 22] Invalid argument: 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\cache-9b4f203a63742dfc.arrow'
```
I was adding freeze support before calling the mapping function like this
if __name__ == '__main__':
freeze_support()
dataset.map(....)
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 224
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
```
Traceback (most recent call last):
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 791, in move
os.rename(src, real_dst)
FileExistsError: [WinError 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\tmpx9fl_jg8' -> 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\cache-9b4f203a63742dfc.arrow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 125, in _main
prepare(preparation_data)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\multiprocess\spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "F:\Codes\Python Apps\asr\cvtrain.py", line 243, in <module>
common_voice_train = common_voice_train.map(remove_special_characters, remove_columns=["sentence"])
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1339, in map
return self._map_single(
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 203, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\datasets\arrow_dataset.py", line 1646, in _map_single
shutil.move(tmp_file.name, cache_file_name)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 805, in move
copy_function(src, real_dst)
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 435, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
0%| | 0/27771 [00:00<?, ?ex/s]
File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
OSError: [Errno 22] Invalid argument: 'D:\\huggingfacecache\\common_voice\\de\\6.1.0\\0041e06ab061b91d0a23234a2221e87970a19cf3a81b20901474cffffeb7869f\\cache-9b4f203a63742dfc.arrow'
```
I was adding freeze support before calling the mapping function like this
if __name__ == '__main__':
freeze_support()
dataset.map(....)
|
[
-0.01263749785721302,
-0.38743433356285095,
-0.054023098200559616,
0.20228061079978943,
0.1353468894958496,
0.018755387514829636,
0.09084818512201309,
0.07784958928823471,
0.039303943514823914,
0.2612571716308594,
0.011652940884232521,
-0.07170037180185318,
-0.30014753341674805,
-0.07750216126441956,
-0.12498040497303009,
-0.21812871098518372,
0.1993369311094284,
-0.12250053882598877,
0.26984673738479614,
0.35690876841545105,
-0.45309755206108093,
0.5776940584182739,
-0.3369620144367218,
0.2170221209526062,
-0.3738829493522644,
-0.01770072802901268,
-0.2501494884490967,
0.632182240486145,
0.3016952574253082,
-0.37666285037994385,
-0.04099281132221222,
-0.3141244947910309,
0.11254695057868958,
0.1129688248038292,
-0.00011927906598430127,
-0.08996886014938354,
-0.05254639312624931,
-0.06090505048632622,
0.3652591407299042,
0.29030749201774597,
0.2686348557472229,
0.07078525424003601,
-0.14726868271827698,
0.015483693219721317,
0.2896392345428467,
0.2888118028640747,
-0.006915336940437555,
-0.11513663083314896,
0.5103626251220703,
0.3108974099159241,
0.09642788022756577,
0.23058456182479858,
0.21015778183937073,
0.005321544595062733,
-0.2566916346549988,
-0.3280823528766632,
-0.04261604696512222,
0.32656896114349365,
0.42580902576446533,
-0.3297039866447449,
0.1285303831100464,
0.20437033474445343,
-0.2732011675834656,
-0.034686703234910965,
-0.468979150056839,
0.06657109409570694,
0.43873679637908936,
-0.515155017375946,
0.1164582371711731,
-0.035132020711898804,
-0.286020964384079,
-0.12608899176120758,
0.1404026448726654,
-0.029867110773921013,
0.16665221750736237,
-0.7686852812767029,
0.05509950593113899,
0.1580192744731903,
-0.3607037365436554,
0.09105189889669418,
-0.10800182819366455,
0.07679474353790283,
-0.010495757684111595,
-0.18621382117271423,
0.21114617586135864,
-0.0008118256228044629,
-0.019245153293013573,
0.15762169659137726,
0.2552621066570282,
0.20312997698783875,
-0.39227494597435,
0.34484928846359253,
-0.0837172269821167,
0.08033598959445953,
-0.5561105608940125,
0.07550613582134247,
0.003968092147260904,
0.31539034843444824,
-0.2706432342529297,
-0.2075480818748474,
-0.0714283213019371,
0.03568309172987938,
0.2324637770652771,
0.12227559834718704,
0.023067524656653404,
-0.004825744312256575,
0.051711760461330414,
-0.6401053071022034,
0.18031547963619232,
-0.23319561779499054,
-0.0265008844435215,
-0.014605244621634483,
-0.07061354070901871,
-0.6683467626571655,
0.15157514810562134,
0.4514995217323303,
0.23569566011428833,
-0.11434050649404526,
-0.3852728307247162,
0.08358834683895111,
-0.03057646006345749,
0.22308246791362762,
0.35938161611557007,
0.3545980751514435,
0.3032059967517853,
0.7513996958732605,
0.00429917499423027,
0.20045068860054016,
-0.4899941682815552,
0.11667054891586304,
0.07200676202774048,
0.13231655955314636,
-0.2918364703655243,
0.3349352180957794,
0.21567681431770325,
-0.023938842117786407,
0.13697321712970734,
0.164311021566391,
0.3601229786872864,
-0.33163249492645264,
-0.14117853343486786,
-0.13079185783863068,
-0.16646349430084229,
0.2033265233039856,
0.07661277055740356,
0.18893098831176758,
0.0378992073237896,
0.05539378896355629,
0.021619025617837906,
0.008960999548435211,
-0.27764299511909485,
-0.41423261165618896,
-0.15737268328666687,
0.05475092679262161,
0.30955639481544495,
0.4490520656108856,
0.3361917734146118,
-0.040479626506567,
0.33493882417678833,
-0.24009986221790314,
-0.08123025298118591,
-0.32799479365348816,
-0.3805387616157532,
-0.3011346459388733,
0.09364622831344604,
0.32416754961013794,
-0.0066854869946837425,
0.22896191477775574,
0.3274361491203308,
-0.06843435019254684,
0.10324402153491974,
0.2970837652683258,
0.2495618313550949,
-0.17600437998771667,
-0.19116511940956116,
-0.03647664561867714,
-0.2446785271167755,
-0.36508333683013916,
0.10489153116941452,
0.046758994460105896,
-0.08037218451499939,
0.06395785510540009,
0.33711448311805725,
-0.10187848657369614,
-0.052426572889089584,
-0.35928165912628174,
0.4140956699848175,
-0.25768086314201355,
-0.09189651906490326,
0.1771702915430069,
-0.2155270129442215,
0.06012142449617386,
-0.203685462474823,
0.021024178713560104,
-0.16435743868350983,
-0.09897541999816895,
-0.09986376762390137,
-0.007844863459467888,
0.22196225821971893,
0.0970822125673294,
0.07694412022829056,
0.288982629776001,
0.14347530901432037,
0.025914391502738,
0.08733256906270981,
-0.2389001101255417,
-0.22752904891967773,
0.19199031591415405,
-0.19814138114452362,
0.06894958019256592,
0.28050705790519714,
0.1310913860797882,
0.12735594809055328,
0.22483624517917633,
-0.2467910200357437,
-0.3968264162540436,
0.047763895243406296,
-0.014367758296430111,
0.18686453998088837,
-0.19708868861198425,
0.008471306413412094,
0.506297767162323,
0.016517143696546555,
-0.0949583500623703,
-0.2039623111486435,
-0.1696045696735382,
-0.3601672649383545,
-0.3072245121002197,
-0.1549808382987976,
0.32382816076278687,
0.18394547700881958,
0.06574852019548416,
0.1309623420238495,
0.3159966468811035,
0.07974564284086227,
-0.040970880538225174,
-0.149273082613945,
0.00901465117931366,
0.09806593507528305,
-0.15741434693336487,
0.10815037041902542,
-0.03865364193916321,
0.13153213262557983,
-0.21997910737991333,
0.48346081376075745,
0.15237388014793396,
-0.09314735978841782,
0.4009237587451935,
-0.18080252408981323,
0.12606918811798096,
0.12157663702964783,
0.1076730340719223,
0.2794555127620697,
0.1402684897184372,
0.41863733530044556,
0.07216692715883255,
0.07829981297254562,
-0.4159418046474457,
-0.2257855236530304,
0.0954066663980484,
0.11772561073303223,
0.09038790315389633,
-0.07448321580886841,
0.04602653533220291,
-0.10725904256105423,
0.1049705520272255,
-0.09480217844247818,
-0.3587934672832489,
0.75200355052948,
0.027897952124476433,
-0.045960623770952225,
0.3025043308734894,
-0.33547455072402954,
-0.13554909825325012,
0.29629725217819214,
0.02797704190015793,
0.12415371090173721,
0.21673738956451416,
-0.13887919485569,
-0.00013510901771951467,
-0.09641334414482117,
-0.16872094571590424,
-0.04499568045139313,
-0.007134531624615192,
-0.4066469371318817,
-0.024321062490344048,
-0.024864263832569122,
0.5111107230186462,
-0.39092203974723816,
-0.4135298728942871,
-0.13593317568302155,
-0.2026248276233673,
-0.008605496026575565,
0.41502586007118225,
-0.0883471742272377,
0.025291455909609795,
0.0009816762758418918,
-0.00153696583583951,
0.02864210307598114,
0.3189961612224579,
0.06606972962617874,
0.02430988848209381,
-0.10141319781541824,
-0.08528755605220795,
0.30367687344551086,
-0.16883522272109985,
0.11682315915822983,
0.22834762930870056,
0.0036361038219183683,
0.09864181280136108,
0.021067064255475998,
0.03009585477411747,
-0.04242357611656189,
0.3005993962287903,
0.11826542764902115,
0.10364911705255508,
0.1613977551460266,
-0.4868737757205963,
0.22387677431106567,
-0.3242422938346863,
0.11138169467449188,
0.15318900346755981,
0.09359315037727356,
-0.3151875138282776,
-0.27492865920066833,
-0.020557593554258347,
-0.4393348693847656,
-0.29004770517349243,
0.13684691488742828,
-0.20230987668037415,
0.164399653673172,
-0.1601552516222,
-0.06264209002256393,
0.18905887007713318,
0.14490972459316254,
0.005139022134244442,
-0.13388784229755402,
0.13562221825122833,
-0.09229091554880142,
-0.21089595556259155,
-0.040601953864097595,
0.07500971108675003,
0.12158171087503433,
0.05314504727721214,
-0.22957216203212738,
-0.09803193062543869,
-0.4399682283401489,
-0.03518952801823616,
-0.025090448558330536,
-0.01861037313938141,
0.11209418624639511,
0.43570035696029663,
0.2380376011133194,
-0.14818745851516724,
0.07480315119028091,
-0.105873703956604,
0.1633775383234024,
0.039648961275815964,
0.11932674795389175,
0.14622950553894043,
0.07309038192033768,
-0.14291657507419586,
0.4496080279350281,
0.6301870942115784,
0.15406058728694916,
0.30962473154067993,
0.06989435106515884,
0.07270286977291107,
0.002679757308214903,
-0.21790969371795654,
0.14456690847873688,
-0.37797245383262634,
-0.07185670733451843,
0.1821051985025406,
0.1512402445077896,
-0.09807664901018143,
-0.3083452880382538,
0.2642951011657715,
-0.36750108003616333,
-0.21951737999916077,
0.1537081003189087,
0.1010352149605751,
0.21805830299854279,
-0.34576648473739624,
-0.03790922835469246,
0.2031930685043335,
0.053093455731868744,
-0.07012008875608444,
0.2888403832912445,
-0.24505536258220673,
-0.2483462691307068,
-0.14415356516838074,
-0.4103236794471741,
-0.4801647663116455,
0.5223146080970764,
0.1933961659669876,
0.5758069157600403,
-0.030215008184313774,
-0.21908369660377502,
-0.10334816575050354,
-0.250175416469574,
0.9639765620231628,
-0.09104792773723602,
-0.2613954544067383,
0.1880388855934143,
0.2521209418773651,
0.06966190040111542,
-0.14966212213039398,
-0.21069225668907166,
0.22681361436843872,
0.14989539980888367,
-0.012071511708199978,
0.18206562101840973,
-0.10185138881206512,
0.0908237025141716,
-0.006483777426183224,
-0.16290660202503204,
-0.0651547908782959,
-0.36942803859710693,
-0.23092278838157654,
-0.06250908970832825,
0.1814616322517395,
-0.02265126444399357,
0.09202452749013901,
-0.4059786796569824,
0.10616784542798996,
0.2339821606874466,
-0.1739506721496582,
0.20424583554267883,
-0.011072502471506596,
0.10493982583284378,
0.019305670633912086,
0.15222975611686707,
-0.17002879083156586,
0.30723026394844055,
-0.3097630441188812,
0.04766454920172691,
-0.2791028916835785,
-0.013028843328356743,
0.2011612057685852,
0.013235225342214108,
0.3436428904533386,
0.5690300464630127,
0.09851337969303131,
-0.047939084470272064,
-0.25606027245521545,
0.4918910264968872,
-0.2900902330875397,
-0.11554698646068573,
0.3786429762840271,
0.16696341335773468,
0.12300226092338562,
0.3054516315460205,
0.2370200753211975,
0.06819451600313187,
-0.18518038094043732,
0.4037948548793793,
-0.0732700452208519,
-0.17303135991096497,
-0.03462043032050133,
0.14394959807395935,
1.0082626342773438,
0.06596694141626358,
0.14274020493030548,
0.08594966679811478,
-0.3662242591381073,
-0.012762301601469517,
0.09895403683185577,
0.2966795265674591,
-0.18210510909557343,
-0.1507103592157364,
0.07726748287677765,
-0.01641290821135044,
0.15283802151679993,
-0.08372717350721359,
-0.30510374903678894,
0.5029768943786621,
0.2373085469007492,
-0.24550868570804596,
-0.18257611989974976,
-0.28113996982574463,
-0.10204605013132095,
-0.3525357246398926,
-0.015313668176531792,
0.014993642456829548,
0.016746992245316505,
-0.04915126785635948,
-0.24288861453533173,
0.21792703866958618,
0.45799970626831055,
-0.32757362723350525,
-0.5520533323287964,
0.0970430001616478,
-0.3538520932197571,
0.12544243037700653,
-0.10177063196897507,
0.1560165137052536,
-0.01457227859646082,
0.3209192752838135,
0.26058873534202576,
-0.2092815339565277,
-0.14039143919944763,
0.06808096915483475,
0.4210488498210907,
-0.02756625972688198,
-0.052523788064718246,
-0.01861559972167015,
-0.04601168632507324,
-0.07147132605314255,
-0.20839741826057434,
0.23694610595703125,
-0.2361133098602295,
0.0567144900560379,
-0.4017169177532196,
0.29216426610946655,
0.18183396756649017,
0.1981840431690216,
-0.13079959154129028,
0.23023010790348053,
-0.09914668649435043,
-0.15831147134304047,
0.06418374925851822,
0.01711047627031803,
-0.4364333748817444,
0.388458251953125,
-0.6675553321838379,
-0.1721232831478119,
0.0229790098965168,
0.09336230903863907,
-0.15144473314285278,
-0.21838873624801636,
0.25545331835746765,
0.2942562699317932,
-0.04138084501028061,
-0.1620466560125351,
-0.06785948574542999,
-0.5027360320091248,
-0.24374864995479584,
-0.02382885292172432,
0.4997006356716156,
-0.18137583136558533,
0.266070693731308,
-0.18200558423995972,
0.15364685654640198,
0.06845894455909729,
0.04829159006476402,
-0.45309457182884216,
-0.16922828555107117,
0.04136045649647713,
-0.10644194483757019,
0.1275702565908432,
-0.11533329635858536,
0.013379598967730999,
0.09076841920614243,
0.029497329145669937,
-0.23644599318504333,
-0.050363361835479736,
-0.18197079002857208,
0.06837519258260727,
0.13644035160541534,
-0.2566855549812317,
0.0624016635119915,
0.22162464261054993,
0.05301729962229729,
0.3549651503562927,
-0.31327927112579346,
-0.09963817149400711,
0.044046174734830856,
0.09952156245708466,
-0.15422864258289337,
-0.06049102917313576,
0.13130731880664825,
0.1940491497516632,
0.06776010245084763,
-0.03679163008928299,
0.12096626311540604,
0.08614322543144226,
-0.2097531259059906,
0.0010949012357741594,
-0.156916081905365,
0.3232271373271942,
0.19265900552272797,
0.2262534201145172,
-0.152066171169281,
0.4106249511241913,
0.18054546415805817,
0.002689923392608762,
-0.02247401513159275,
-0.05897960811853409,
0.0302354097366333,
0.023804035037755966,
-0.07920320332050323,
-0.2004014253616333,
-0.17165972292423248,
-0.04449029639363289,
-0.4174911081790924,
-0.23035578429698944,
0.23377260565757751,
0.41215381026268005,
-0.1131717711687088,
0.26894789934158325,
0.35899680852890015,
0.14175938069820404,
-0.15087474882602692,
0.13509340584278107,
-0.10227158665657043,
-0.2268356829881668,
-0.15456454455852509,
0.3098667562007904,
0.08775264769792557,
-0.4268258810043335,
0.40175116062164307,
0.10556921362876892,
0.2037154585123062,
-0.3465670943260193,
-0.3353351354598999,
0.12483097612857819,
0.2816450595855713,
0.14357827603816986,
0.020688267424702644,
-0.0954233855009079,
0.13402816653251648,
0.4247790277004242,
-0.22974877059459686,
0.19625629484653473,
-0.421892374753952,
0.2481362670660019,
0.06722994148731232,
-0.223598450422287,
-0.2706955671310425,
0.18429169058799744,
-0.31104230880737305,
0.44558218121528625,
-0.28037381172180176,
0.5137367844581604,
-0.7224974036216736,
-0.37786948680877686,
-0.29431548714637756,
0.36820948123931885,
-0.18513935804367065,
-0.18656158447265625,
0.17712560296058655,
0.05981333181262016,
-0.03879377990961075,
0.10012969374656677,
0.2823716104030609,
-0.000969418091699481,
0.5339968204498291,
0.1389392614364624,
-0.11509779095649719,
-0.1258363127708435,
-0.5283544659614563,
0.21127180755138397,
0.061875730752944946,
-0.187281996011734,
0.3285221755504608,
0.6931876540184021,
-0.07393623888492584,
-0.15328116714954376,
0.07625757157802582,
0.5918375849723816,
0.35020893812179565,
-0.6384207606315613,
0.08129151910543442,
0.14673234522342682,
0.19461801648139954,
0.026823414489626884,
0.1508607417345047,
0.19525295495986938,
0.26287931203842163,
-0.008512311615049839,
-0.0017495721112936735,
-0.08430700749158859,
-0.15174588561058044,
0.23414736986160278,
0.21143966913223267,
0.21197064220905304,
0.3036626875400543,
-0.1803758293390274,
-0.10488433390855789,
0.007672757841646671,
0.17847903072834015,
-0.6597296595573425,
0.09433041512966156,
0.04670620709657669,
-0.4122408926486969,
0.022911889478564262,
0.15297742187976837,
0.0503075085580349,
0.04590225964784622,
0.4579339623451233,
-0.03732684627175331,
0.2521832585334778,
-0.22651277482509613,
-0.24710635840892792,
-0.34947046637535095,
0.001282671932131052,
0.2340715527534485,
0.03216955065727234,
-0.2694218158721924,
-0.13984018564224243,
0.006717541255056858,
0.17224770784378052,
-0.00917577464133501,
0.0029838623013347387,
0.33016130328178406,
0.5812103748321533,
-0.5686641931533813,
0.36249974370002747,
0.42132338881492615,
-0.023311948403716087,
0.3072616755962372,
-0.40777039527893066,
0.21793492138385773,
0.0659811720252037,
-0.018494321033358574,
-0.11867998540401459,
0.261279821395874,
-0.2128612995147705,
0.30405858159065247,
0.14489136636257172,
0.11290478706359863,
0.15317517518997192,
-0.04027014598250389,
-0.15078003704547882,
-0.06878918409347534,
0.2566033601760864,
0.2663232982158661,
-0.36583879590034485,
0.18593953549861908,
0.10334841161966324,
-0.3721548616886139,
-0.06252744048833847,
-0.0690460279583931,
0.028853321447968483,
0.15285445749759674,
0.13545769453048706,
-0.22018280625343323,
0.10538959503173828,
0.07798732817173004,
0.11020693928003311,
0.1067337840795517,
0.46930816769599915,
0.03133877366781235,
0.17244960367679596,
-0.2965089976787567,
-0.10135166347026825,
0.2214188426733017,
-0.20226775109767914,
-0.2384635955095291,
-0.189353346824646,
0.5010425448417664,
-0.45496198534965515,
0.04831181466579437,
-0.24511484801769257,
0.006588395219296217,
-0.04835665225982666,
0.12495297938585281,
-0.6412273645401001,
0.24507074058055878,
-0.36316224932670593,
-0.7568073868751526,
0.11770748347043991,
-0.18736553192138672,
0.17633549869060516,
-0.12206421792507172,
0.3575660288333893,
-0.1268756091594696
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
Usually OSError of an arrow file on windows means that the file is currently opened as a dataset object, so you can't overwrite it until the dataset object falls out of scope.
Can you make sure that there's no dataset object that loaded the `cache-9b4f203a63742dfc.arrow` file ?
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 47
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
Usually OSError of an arrow file on windows means that the file is currently opened as a dataset object, so you can't overwrite it until the dataset object falls out of scope.
Can you make sure that there's no dataset object that loaded the `cache-9b4f203a63742dfc.arrow` file ?
|
[
-0.30129942297935486,
-0.28886792063713074,
-0.08387675881385803,
0.1985548883676529,
0.024325987324118614,
-0.05253184586763382,
0.06525424122810364,
-0.01469771470874548,
0.08489977568387985,
0.2829810678958893,
0.17037838697433472,
0.2638416290283203,
-0.3119594156742096,
-0.10786577314138412,
-0.3288586139678955,
-0.15838108956813812,
0.006989498622715473,
-0.0020372476428747177,
0.13822846114635468,
0.2635192573070526,
-0.4521369934082031,
0.44120165705680847,
-0.2616143226623535,
0.29266294836997986,
-0.39326637983322144,
-0.21155239641666412,
-0.13868074119091034,
0.44381532073020935,
0.06617747247219086,
-0.4786926805973053,
0.000565625203307718,
-0.41433754563331604,
0.17441774904727936,
0.1870649755001068,
-0.00011593154340516776,
-0.06843360513448715,
0.042629923671483994,
0.04080939292907715,
0.2628774046897888,
0.20875392854213715,
0.22274507582187653,
-0.04344989359378815,
0.08066301047801971,
-0.06293710321187973,
0.36007001996040344,
0.12845098972320557,
-0.0207271259278059,
-0.12253979593515396,
0.459821879863739,
0.4392015039920807,
0.16873422265052795,
0.29018354415893555,
0.17811398208141327,
0.09790671616792679,
-0.15735583007335663,
-0.33542072772979736,
-0.10237126052379608,
0.24539075791835785,
0.3822473883628845,
-0.2205757200717926,
0.02419210784137249,
0.2357574701309204,
-0.19614166021347046,
0.14147959649562836,
-0.3374696373939514,
-0.0767129585146904,
0.4196661710739136,
-0.453409343957901,
0.10920044779777527,
-0.0303227249532938,
0.08269131183624268,
-0.14161933958530426,
0.20353561639785767,
0.07132557779550552,
0.07536361366510391,
-0.8428003191947937,
0.0727439746260643,
0.22416451573371887,
-0.35164931416511536,
0.023474950343370438,
0.09541957080364227,
-0.07229579240083694,
-0.12136730551719666,
-0.08558958023786545,
0.07451938092708588,
0.007409773301333189,
0.022639736533164978,
0.21464727818965912,
0.24427181482315063,
0.2144131064414978,
-0.09972325712442398,
0.3688185214996338,
-0.1694309115409851,
0.07757711410522461,
-0.4725199043750763,
0.1255834847688675,
-0.11036667227745056,
0.1066858246922493,
-0.2916966676712036,
-0.035226669162511826,
0.1370086967945099,
0.16704460978507996,
0.19984963536262512,
0.20739327371120453,
0.20345786213874817,
-0.06746554374694824,
0.0927732065320015,
-0.5522868633270264,
0.11399800330400467,
-0.42616474628448486,
-0.1662348061800003,
-0.07750412821769714,
-0.05830807238817215,
-0.6734828948974609,
0.3865687847137451,
0.38237908482551575,
0.28394216299057007,
-0.10320338606834412,
-0.308317631483078,
0.19888201355934143,
-0.012898842804133892,
0.14736491441726685,
0.22528238594532013,
0.22565747797489166,
0.3258143961429596,
0.7511101961135864,
0.01783699356019497,
0.19315306842327118,
-0.5615141987800598,
0.10340643674135208,
0.12310393154621124,
0.07905448973178864,
-0.3985116481781006,
0.14476141333580017,
0.1824885755777359,
0.006602817680686712,
0.19230204820632935,
-0.01376358326524496,
0.23525889217853546,
-0.27884820103645325,
0.0069425939582288265,
-0.22928540408611298,
-0.058315496891736984,
0.23405824601650238,
0.12576508522033691,
0.24751001596450806,
0.04950299486517906,
0.09672987461090088,
0.04791466146707535,
0.32630282640457153,
-0.40668028593063354,
-0.4346696436405182,
-0.21207165718078613,
0.08558313548564911,
0.33187565207481384,
0.3249844014644623,
0.19219671189785004,
-0.1262160986661911,
0.2943275570869446,
-0.23135486245155334,
0.03850678727030754,
-0.4561123549938202,
-0.20425283908843994,
-0.3638225197792053,
-0.09649069607257843,
0.2022486925125122,
-0.19776993989944458,
0.2708093523979187,
0.18462687730789185,
-0.060892488807439804,
0.15179307758808136,
0.4130904972553253,
0.10462196916341782,
-0.2259472757577896,
-0.17287296056747437,
0.07342425733804703,
0.021049227565526962,
-0.11634411662817001,
-0.18030914664268494,
0.05924764275550842,
-0.13591377437114716,
-0.12486323714256287,
0.18887710571289062,
0.08124251663684845,
-0.03298310562968254,
-0.14429256319999695,
0.25047194957733154,
-0.1793413907289505,
-0.0492125079035759,
0.13649344444274902,
-0.260232537984848,
0.15887291729450226,
-0.2608005106449127,
0.08280934393405914,
0.015311247669160366,
-0.2696186304092407,
0.0008569129859097302,
-0.30500897765159607,
0.31336700916290283,
0.09782659262418747,
-0.01985342986881733,
0.3342059850692749,
0.2149980366230011,
-0.04928634688258171,
0.11614355444908142,
-0.2854301333427429,
-0.05914771556854248,
0.036108147352933884,
-0.17027121782302856,
-0.009401658549904823,
0.1469453126192093,
0.15020114183425903,
0.1828622967004776,
0.38164106011390686,
-0.26322588324546814,
-0.2783365845680237,
0.06171763315796852,
-0.08594845980405807,
0.08824936300516129,
-0.22278612852096558,
-0.09870130568742752,
0.4120539724826813,
0.014544934965670109,
-0.09103614836931229,
-0.09435094147920609,
-0.0471293069422245,
-0.3684729337692261,
-0.39643338322639465,
-0.16426193714141846,
0.22398114204406738,
0.08592492341995239,
0.18449673056602478,
-0.025565234944224358,
0.26498332619667053,
0.07452978938817978,
-0.17389164865016937,
-0.12687045335769653,
0.0038348515518009663,
0.12433741986751556,
-0.4475935995578766,
0.14770105481147766,
0.12275853008031845,
0.0794965848326683,
-0.14095436036586761,
0.49054816365242004,
0.17057019472122192,
-0.0011537013342604041,
0.29867956042289734,
-0.1256648451089859,
0.2619835138320923,
0.1233760192990303,
0.1530245542526245,
0.10671164095401764,
0.1765260398387909,
0.5011736154556274,
-0.011043200269341469,
0.017213981598615646,
-0.30966177582740784,
-0.22303403913974762,
0.061208903789520264,
0.3033384382724762,
0.17092552781105042,
0.08340932428836823,
0.04709271341562271,
-0.3043578565120697,
0.21679100394248962,
-0.024834131821990013,
-0.2864580452442169,
0.6092162132263184,
0.09398128092288971,
-0.0480903685092926,
0.23172976076602936,
-0.37340134382247925,
-0.1023523136973381,
0.26433414220809937,
0.09586691856384277,
0.22973333299160004,
0.16502101719379425,
-0.14047114551067352,
-0.0639905110001564,
-0.1730160415172577,
-0.2523156702518463,
-0.17248156666755676,
0.09481530636548996,
-0.30478885769844055,
0.1145617812871933,
-0.10763025283813477,
0.47116395831108093,
-0.4364023208618164,
-0.5715096592903137,
-0.021258193999528885,
-0.228716641664505,
0.09436529129743576,
0.3082370460033417,
-0.06786049902439117,
0.008180338889360428,
-0.10764352232217789,
-0.04292377084493637,
0.19493810832500458,
0.20072223246097565,
0.20718057453632355,
-0.1450234204530716,
-0.15353722870349884,
-0.05266930162906647,
0.341960608959198,
-0.15405169129371643,
0.22488486766815186,
0.27569493651390076,
0.19287271797657013,
-0.025050492957234383,
0.1833360493183136,
-0.08843176066875458,
0.14626891911029816,
0.08712255954742432,
0.0022802494931966066,
0.14897222816944122,
0.02449292503297329,
-0.45729732513427734,
0.17402751743793488,
-0.4738190174102783,
0.09655363112688065,
0.18646323680877686,
0.12732510268688202,
-0.27302518486976624,
-0.154893159866333,
-0.16576147079467773,
-0.4591579735279083,
-0.37351348996162415,
0.11616921424865723,
-0.13510218262672424,
0.32599130272865295,
-0.1724887639284134,
0.16580793261528015,
0.1888139843940735,
0.28408145904541016,
-0.11599802225828171,
-0.04642850160598755,
0.2811425030231476,
0.027478963136672974,
-0.27554813027381897,
-0.20809952914714813,
0.18010768294334412,
0.12718521058559418,
0.07160238921642303,
-0.06430496275424957,
-0.2595272958278656,
-0.2846129834651947,
-0.08324017375707626,
0.100858673453331,
-0.1380184441804886,
0.23870113492012024,
0.47708114981651306,
0.2313636690378189,
-0.1933695375919342,
0.1174183189868927,
-0.09190303832292557,
0.04584622383117676,
-0.07040191441774368,
0.12000206112861633,
0.20528185367584229,
0.2294614315032959,
-0.21555909514427185,
0.6325457692146301,
0.45821547508239746,
0.03079347312450409,
0.36804264783859253,
0.12409795820713043,
0.06560143083333969,
0.0024613323621451855,
-0.16062504053115845,
0.09120079129934311,
-0.4899178147315979,
-0.061286818236112595,
0.15343523025512695,
0.12727022171020508,
-0.32576775550842285,
-0.19799888134002686,
0.30065837502479553,
-0.36996862292289734,
-0.17699335515499115,
0.24304087460041046,
-0.15699024498462677,
0.04421992599964142,
-0.2551780045032501,
-0.028715405613183975,
0.002402412472292781,
0.13843534886837006,
0.027594421058893204,
0.1333397626876831,
-0.23778556287288666,
-0.21519015729427338,
-0.09155231714248657,
-0.47520479559898376,
-0.4621409773826599,
0.4245848059654236,
0.05956733971834183,
0.5636236667633057,
0.12640804052352905,
-0.23057492077350616,
-0.05311906337738037,
-0.3705175220966339,
0.6991211771965027,
-0.03580343350768089,
-0.27617475390434265,
0.2132500261068344,
0.24029025435447693,
-0.2465522140264511,
-0.15890656411647797,
-0.2612958252429962,
0.4468974769115448,
0.02082389034330845,
-0.061285097151994705,
0.2832246422767639,
-0.05139932036399841,
-0.03357771784067154,
-0.04753384739160538,
-0.22288504242897034,
-0.04920069873332977,
-0.3412741720676422,
-0.30611178278923035,
-0.08095262944698334,
0.2572227716445923,
0.012557988986372948,
0.03787148743867874,
-0.3442624509334564,
0.09753512591123581,
-0.06850548088550568,
-0.14399974048137665,
0.05118611082434654,
-0.14449883997440338,
0.21843072772026062,
-0.2485877275466919,
0.06269481778144836,
-0.21415837109088898,
0.5296192765235901,
0.09320712834596634,
0.24483972787857056,
-0.16846801340579987,
0.01716800220310688,
0.3049795627593994,
-0.16243822872638702,
0.31078898906707764,
0.36421483755111694,
0.15948589146137238,
0.03423458710312843,
-0.3147214949131012,
0.41392332315444946,
-0.07657540589570999,
-0.19695208966732025,
0.2823006212711334,
0.2887905538082123,
0.09021571278572083,
0.3220941722393036,
0.4193084239959717,
0.16124218702316284,
-0.09387300908565521,
0.6326377391815186,
-0.140452042222023,
-0.01563934050500393,
0.14913222193717957,
0.15728095173835754,
0.9113286137580872,
0.042601682245731354,
0.15453830361366272,
0.057916782796382904,
-0.5945172309875488,
-0.09509845077991486,
-0.034239791333675385,
0.2679256796836853,
-0.27661702036857605,
-0.12284422665834427,
0.06868413090705872,
-0.1280003935098648,
0.10484983772039413,
0.011140435934066772,
-0.2543613910675049,
0.3314647376537323,
0.12192113697528839,
-0.3869195580482483,
-0.09594246000051498,
-0.2051420956850052,
-0.06873997300863266,
-0.20717361569404602,
0.045601874589920044,
0.05802801623940468,
0.07268324494361877,
-0.0864243283867836,
-0.22334487736225128,
0.13298127055168152,
0.3250904083251953,
-0.3729439675807953,
-0.4827312231063843,
0.023227296769618988,
-0.43377184867858887,
0.17459267377853394,
0.022565854713320732,
-0.08599969744682312,
0.068915955722332,
0.3463538885116577,
0.09829138219356537,
-0.2405615597963333,
-0.1729925274848938,
0.009952427819371223,
0.6274526119232178,
-0.18285055458545685,
-0.054227858781814575,
-0.040660612285137177,
0.07883664965629578,
-0.13679899275302887,
-0.26354262232780457,
0.43349984288215637,
-0.18024389445781708,
-0.21501970291137695,
-0.09455430507659912,
0.34973961114883423,
0.1278553605079651,
0.2987194061279297,
-0.12524990737438202,
0.12567639350891113,
-0.15283796191215515,
-0.19789351522922516,
0.10090802609920502,
0.1182359904050827,
-0.42161035537719727,
0.5439652800559998,
-0.35333529114723206,
-0.204412579536438,
0.05905158072710037,
0.000225897878408432,
-0.05947967991232872,
-0.035739265382289886,
0.3162470757961273,
0.26560458540916443,
-0.15355472266674042,
-0.25512075424194336,
-0.0701265037059784,
-0.1949213743209839,
-0.29661431908607483,
-0.07747288048267365,
0.3323444128036499,
-0.14654041826725006,
0.3233770430088043,
-0.2738432288169861,
0.19831985235214233,
0.18776728212833405,
-0.14367283880710602,
-0.37004122138023376,
-0.2890408933162689,
0.0241241492331028,
-0.14047159254550934,
0.1258220374584198,
-0.12967000901699066,
-0.20566798746585846,
0.13240456581115723,
0.1287682056427002,
-0.28371545672416687,
0.10014687478542328,
-0.14400765299797058,
0.0519295260310173,
0.020209742709994316,
-0.24936600029468536,
-0.03263552859425545,
0.2872554063796997,
0.03530282899737358,
0.2821318507194519,
-0.3100243806838989,
-0.16930748522281647,
0.1292802095413208,
0.06830296665430069,
-0.10674947500228882,
-0.11516396701335907,
0.10554742813110352,
0.04321900010108948,
0.06281633675098419,
0.04557635635137558,
0.0033490662463009357,
0.013754650019109249,
-0.3649230897426605,
0.046433448791503906,
0.05917436629533768,
0.16977901756763458,
0.04442889243364334,
0.3481205999851227,
-0.20076143741607666,
0.5282015800476074,
0.07793139666318893,
0.09939103573560715,
0.09371071308851242,
-0.028598332777619362,
0.066354900598526,
-0.01692196913063526,
-0.1050371304154396,
-0.2167130410671234,
-0.23096448183059692,
-0.25782883167266846,
-0.34219685196876526,
-0.24380603432655334,
0.3617061674594879,
0.3917313516139984,
-0.14032906293869019,
0.22375550866127014,
0.34428563714027405,
0.19312895834445953,
-0.1998022049665451,
0.03414696082472801,
-0.0357937216758728,
-0.15095600485801697,
-0.059453703463077545,
0.3008083701133728,
0.19468165934085846,
-0.47322511672973633,
0.31335118412971497,
0.07270429283380508,
-0.00998775102198124,
-0.33097562193870544,
-0.3665042817592621,
0.14886967837810516,
0.17790603637695312,
0.032045938074588776,
0.09838718175888062,
-0.050274405628442764,
0.1627897322177887,
0.41601479053497314,
-0.13464604318141937,
0.2728448808193207,
0.022548330947756767,
0.05025302246212959,
-0.18949298560619354,
-0.22025440633296967,
-0.35022932291030884,
-0.010717678815126419,
-0.2131245881319046,
0.31823667883872986,
-0.09381312876939774,
0.5318554639816284,
-0.4747651517391205,
-0.3978483974933624,
-0.1704750657081604,
0.22448894381523132,
-0.23336850106716156,
-0.12339583039283752,
-0.09333788603544235,
0.016054196283221245,
0.044554196298122406,
0.0683886781334877,
0.22330227494239807,
0.12027408182621002,
0.5587493777275085,
0.2086465209722519,
-0.07056783884763718,
-0.10671424120664597,
-0.2640000581741333,
0.216512531042099,
-0.037336669862270355,
-0.14359529316425323,
0.26020658016204834,
0.4493570625782013,
-0.026981806382536888,
-0.2066357433795929,
0.09954318404197693,
0.5852429270744324,
0.3542620837688446,
-0.749406635761261,
0.03258870169520378,
0.16793225705623627,
0.12839654088020325,
-0.009751939214766026,
0.061059705913066864,
0.20161277055740356,
0.02646205574274063,
0.13230007886886597,
0.04440942406654358,
-0.13274767994880676,
0.13571275770664215,
0.13487271964550018,
0.2581344544887543,
0.23414243757724762,
-0.01965496502816677,
-0.061067141592502594,
-0.24029329419136047,
0.052975159138441086,
-0.05173349007964134,
-0.5167419910430908,
-0.07341940701007843,
0.31252777576446533,
-0.4496435225009918,
0.0072220247238874435,
0.07332587987184525,
0.07023407518863678,
-0.12850826978683472,
0.4187529981136322,
0.23823246359825134,
0.592127799987793,
-0.1890989989042282,
-0.19179730117321014,
-0.3901137411594391,
0.16200366616249084,
-0.024250611662864685,
-0.0806807428598404,
-0.1342097967863083,
-0.11724136024713516,
0.028715210035443306,
0.18571829795837402,
0.30217766761779785,
0.2262205183506012,
0.4093025326728821,
0.7774037718772888,
-0.7687116265296936,
0.3445771038532257,
0.5484130382537842,
0.016611136496067047,
0.28839555382728577,
-0.45768260955810547,
0.10553061962127686,
0.0982179194688797,
0.07010310143232346,
-0.16295568645000458,
0.1360926777124405,
-0.11129719018936157,
0.48549821972846985,
0.4085141122341156,
0.009463239461183548,
0.2190803587436676,
0.0452287457883358,
-0.09948292374610901,
-0.006925455294549465,
0.2882494628429413,
0.15700241923332214,
-0.3998837471008301,
0.38992348313331604,
0.15097782015800476,
-0.3530235290527344,
-0.013395980931818485,
-0.03811848908662796,
-0.06989257037639618,
0.028414512053132057,
0.1696028709411621,
-0.06961269676685333,
0.1263611763715744,
0.02309141680598259,
-0.050387732684612274,
0.039020828902721405,
0.3577439486980438,
0.0982685536146164,
0.1786690503358841,
-0.2670303285121918,
0.0021824717987328768,
0.18038134276866913,
-0.0868263766169548,
-0.21477051079273224,
-0.21072709560394287,
0.44495314359664917,
-0.291439026594162,
0.1601673662662506,
-0.18850143253803253,
-0.10797446221113205,
-0.08246384561061859,
-0.03700113669037819,
-0.7148557305335999,
0.004623261280357838,
-0.3284468650817871,
-0.530284583568573,
0.09871841222047806,
0.21862377226352692,
0.0992487370967865,
-0.01717139035463333,
0.05487511307001114,
-0.23082861304283142
] |
https://github.com/huggingface/datasets/issues/2067
|
Multiprocessing windows error
|
Now I understand
The error occures because the script got restarted in another thread, so the object is already loaded.
Still don't have an idea why a new thread starts the whole script again
|
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
| 34
|
Multiprocessing windows error
As described here https://huggingface.co/blog/fine-tune-xlsr-wav2vec2
When using the num_proc argument on windows the whole Python environment crashes and hanging in loop.
For example at the map_to_array part.
An error occures because the cache file already exists and windows throws and error. After this the log crashes into an loop
Now I understand
The error occures because the script got restarted in another thread, so the object is already loaded.
Still don't have an idea why a new thread starts the whole script again
|
[
-0.17128026485443115,
-0.6625723242759705,
-0.01566752791404724,
0.3150128126144409,
-0.010368343442678452,
-0.0258935634046793,
0.13373933732509613,
-0.13210520148277283,
0.08812741935253143,
0.2671470642089844,
0.23279514908790588,
0.06817066669464111,
-0.12538093328475952,
-0.06737613677978516,
-0.14131855964660645,
-0.09390480071306229,
0.09127543866634369,
-0.01726740412414074,
0.21231704950332642,
0.2924870550632477,
-0.44892266392707825,
0.4319571852684021,
-0.2962609827518463,
0.16191057860851288,
-0.4213714599609375,
-0.030850984156131744,
-0.24378331005573273,
0.5600062012672424,
0.3595532476902008,
-0.4632331430912018,
-0.030815446749329567,
-0.361660361289978,
0.24211391806602478,
0.13949114084243774,
-0.00012223649537190795,
-0.120799221098423,
0.004493950866162777,
0.03348231315612793,
0.4292657971382141,
0.26171231269836426,
0.2565514147281647,
0.1222393587231636,
0.04992784559726715,
-0.0862632691860199,
0.2329554259777069,
0.359296977519989,
0.12694892287254333,
-0.014465595595538616,
0.4354674816131592,
0.20341233909130096,
0.0813901424407959,
0.355528324842453,
-0.08576223254203796,
0.005675064865499735,
-0.3969971835613251,
-0.5251865386962891,
0.004694104194641113,
0.2967621088027954,
0.5274698138237,
-0.3028678596019745,
0.0461273156106472,
0.19458767771720886,
-0.2724516689777374,
0.14175228774547577,
-0.2901111841201782,
-0.05031939595937729,
0.45125386118888855,
-0.4748886227607727,
0.10354141891002655,
-0.04334329813718796,
-0.053687140345573425,
-0.13524408638477325,
0.35857006907463074,
0.0834646001458168,
0.07281704246997833,
-0.7990482449531555,
0.010399125516414642,
0.1902167648077011,
-0.25534284114837646,
0.09689994156360626,
0.028348935768008232,
0.01781507395207882,
0.01805940829217434,
-0.20192913711071014,
0.21417005360126495,
-0.08249358832836151,
0.06191080063581467,
0.2800357937812805,
0.14667107164859772,
0.5134990811347961,
-0.1706380993127823,
0.2777179479598999,
-0.08766933530569077,
0.0011061253026127815,
-0.3932274281978607,
0.03701692447066307,
0.17745767533779144,
0.2775428295135498,
-0.2528113126754761,
-0.09795449674129486,
-0.017656546086072922,
0.12527963519096375,
0.19392260909080505,
0.11671631783246994,
0.29556119441986084,
-0.20593541860580444,
0.09392622113227844,
-0.7193554639816284,
0.23746433854103088,
-0.3886648416519165,
-0.3085566759109497,
-0.12623557448387146,
0.012017200700938702,
-0.4726986587047577,
0.5541792511940002,
0.43475812673568726,
0.30901387333869934,
0.027784472331404686,
-0.32814058661460876,
0.20836925506591797,
-0.034788187593221664,
0.07829982787370682,
0.1989106386899948,
0.23923425376415253,
0.2733897864818573,
0.7265431880950928,
-0.0037446601781994104,
0.08543825894594193,
-0.6531367301940918,
0.12511153519153595,
0.012079284526407719,
0.07539206743240356,
-0.2927769720554352,
0.2110491693019867,
0.18642763793468475,
-0.0895860493183136,
0.24648740887641907,
0.2471141666173935,
0.20024734735488892,
-0.4891737997531891,
-0.04086117073893547,
-0.15185943245887756,
-0.1792343258857727,
0.2111969143152237,
0.3016979396343231,
0.18575751781463623,
0.029187384992837906,
0.11410073190927505,
-0.016073312610387802,
0.2811366021633148,
-0.4462318420410156,
-0.4116548001766205,
-0.10339187830686569,
0.019580507650971413,
0.4211146831512451,
0.4560448229312897,
0.2546272277832031,
-0.18947464227676392,
0.2538906931877136,
-0.2814016044139862,
-0.054410796612501144,
-0.4615583121776581,
-0.34251153469085693,
-0.3588590919971466,
-0.21772624552249908,
0.38950029015541077,
0.04938292130827904,
0.2522602081298828,
0.30385759472846985,
-0.12818259000778198,
0.03149839863181114,
0.2952198386192322,
0.11017578095197678,
-0.057212453335523605,
-0.2617497444152832,
-0.037498775869607925,
-0.3009817600250244,
-0.25485706329345703,
-0.025291258469223976,
0.13735230267047882,
-0.1725195199251175,
0.05162036046385765,
0.2739418148994446,
0.19592291116714478,
-0.06756990402936935,
-0.2892932891845703,
0.42288902401924133,
-0.36355042457580566,
-0.19169124960899353,
0.19802089035511017,
-0.12816540896892548,
0.2224152386188507,
-0.14051614701747894,
-0.0704602375626564,
0.028590640053153038,
-0.01409749872982502,
0.0600581057369709,
-0.07477837800979614,
0.31666457653045654,
0.06928926706314087,
-0.15563251078128815,
0.220243901014328,
0.12032342702150345,
0.07674556970596313,
0.1401015669107437,
-0.28235799074172974,
-0.15259431302547455,
0.08151774853467941,
-0.14640522003173828,
-0.06481260806322098,
0.4011061489582062,
0.07771189510822296,
0.14141863584518433,
0.27707546949386597,
-0.16337843239307404,
-0.21560609340667725,
-0.02405567094683647,
0.06271423399448395,
-0.11233547329902649,
-0.2868496775627136,
-0.0649837926030159,
0.564604640007019,
-0.09672502428293228,
-0.15015363693237305,
-0.17920993268489838,
-0.0841849222779274,
-0.3506613075733185,
-0.22866633534431458,
-0.09002559632062912,
0.3098002076148987,
0.3073633909225464,
0.05686638131737709,
0.13225433230400085,
0.28616756200790405,
0.16924181580543518,
-0.19247446954250336,
-0.19994691014289856,
-0.004285136703401804,
0.1124609187245369,
-0.22499358654022217,
0.14712952077388763,
-0.09611374884843826,
0.18650788068771362,
-0.34683316946029663,
0.5800678133964539,
0.06727545708417892,
0.01321248896420002,
0.17503590881824493,
-0.09669158607721329,
0.05443819239735603,
0.09182272106409073,
-0.07464801520109177,
0.18072864413261414,
0.17118600010871887,
0.38685187697410583,
0.24447743594646454,
-0.09281463176012039,
-0.25726616382598877,
-0.41583412885665894,
0.03375193104147911,
0.21617640554904938,
0.19494673609733582,
0.015319728292524815,
-0.02029106579720974,
-0.15017658472061157,
0.18987296521663666,
-0.18341530859470367,
-0.43302640318870544,
0.7109694480895996,
0.050039175897836685,
-0.2200760692358017,
0.3194890022277832,
-0.39098021388053894,
-0.15995042026042938,
0.1458376795053482,
0.07038404047489166,
0.27382099628448486,
0.1810697615146637,
-0.1337863951921463,
-0.07073485106229782,
-0.16081130504608154,
-0.1408383548259735,
-0.11027123779058456,
0.031002668663859367,
-0.31587979197502136,
0.154657244682312,
-0.055671144276857376,
0.5288819074630737,
-0.5717425346374512,
-0.29651036858558655,
0.10394518822431564,
-0.14314818382263184,
-0.02625337988138199,
0.4722512364387512,
0.04340950399637222,
-0.16026367247104645,
0.10588045418262482,
-0.008490512147545815,
0.05332023650407791,
0.46782970428466797,
0.2351030707359314,
-0.10785796493291855,
-0.08093715459108353,
-0.1481267511844635,
0.27205199003219604,
-0.26539793610572815,
0.2656961679458618,
0.276462197303772,
0.021755393594503403,
0.08741983771324158,
0.11472264677286148,
-0.07549227029085159,
0.07892344892024994,
0.2230226993560791,
0.03630025312304497,
0.13915573060512543,
0.24826057255268097,
-0.31958910822868347,
0.07396141439676285,
-0.33152318000793457,
0.16129809617996216,
0.18166205286979675,
0.040537308901548386,
-0.47109320759773254,
-0.19506575167179108,
-0.19011737406253815,
-0.2966616451740265,
-0.04531758278608322,
0.03243996202945709,
-0.1622374951839447,
0.24621622264385223,
-0.2940748929977417,
0.04607987776398659,
0.05802721530199051,
0.30046144127845764,
-0.1297500729560852,
-0.1775105744600296,
0.15522024035453796,
-0.2279862016439438,
-0.18656191229820251,
-0.17709040641784668,
0.2402941733598709,
0.09299460798501968,
0.05296313017606735,
-0.24804405868053436,
-0.3508501350879669,
-0.4391506612300873,
-0.031079087406396866,
0.01632779836654663,
-0.09752652794122696,
0.2750753164291382,
0.3872759938240051,
0.1705068200826645,
-0.10096674412488937,
0.05550661310553551,
-0.20206661522388458,
-0.04022861644625664,
-0.02344980277121067,
0.04237404838204384,
0.2111394703388214,
0.2805837094783783,
-0.10635439306497574,
0.3829609155654907,
0.4770342707633972,
0.04140574112534523,
0.2799219489097595,
0.012513031251728535,
0.07769371569156647,
-0.0477391742169857,
-0.2113068848848343,
0.003753644647076726,
-0.4706317186355591,
-0.21451450884342194,
0.1437373161315918,
0.08389510959386826,
-0.2886592149734497,
-0.22166894376277924,
0.14426074922084808,
-0.35006120800971985,
-0.079358771443367,
0.05413523316383362,
0.03398081660270691,
0.09217369556427002,
-0.10497527569532394,
-0.059694454073905945,
0.11241627484560013,
0.18113763630390167,
-0.17170819640159607,
0.22319956123828888,
-0.09511546790599823,
-0.27064934372901917,
-0.14064034819602966,
-0.5947116017341614,
-0.34995296597480774,
0.3417297899723053,
0.1260494440793991,
0.5890116691589355,
0.08959072828292847,
-0.06416831165552139,
0.08162166178226471,
-0.3378753662109375,
0.8207416534423828,
-0.06554055958986282,
-0.12960413098335266,
0.1744304597377777,
0.1124793291091919,
-0.03124580904841423,
-0.09491310268640518,
-0.13499586284160614,
0.38415512442588806,
0.16490910947322845,
-0.05572381615638733,
0.3446400463581085,
-0.002125499537214637,
0.1797371804714203,
-0.03457287326455116,
-0.2909969389438629,
-0.17934107780456543,
-0.3707653284072876,
-0.36367952823638916,
-0.1076551079750061,
0.20950517058372498,
-0.12748587131500244,
-0.023697078227996826,
-0.4341156482696533,
0.04189712181687355,
0.17327401041984558,
-0.07983021438121796,
0.14047104120254517,
-0.08377618342638016,
0.014860287308692932,
-0.10358836501836777,
0.11901616305112839,
-0.34240368008613586,
0.3403814435005188,
-0.12294021248817444,
0.05511406064033508,
-0.12247820198535919,
0.25700604915618896,
0.264335572719574,
-0.044844336807727814,
0.3813435733318329,
0.3954417407512665,
0.1493104100227356,
-0.016190411522984505,
-0.2516626715660095,
0.41584694385528564,
-0.2576271891593933,
-0.29469630122184753,
0.3450636565685272,
0.23403260111808777,
0.021379241719841957,
0.21163950860500336,
0.29325294494628906,
0.1255912184715271,
-0.08133470267057419,
0.5608868598937988,
-0.4173092842102051,
0.04707418009638786,
-0.05993523821234703,
0.03355555981397629,
0.9265294075012207,
0.03585461154580116,
0.08676820993423462,
0.008221843279898167,
-0.5504255890846252,
-0.28224873542785645,
-0.04516500234603882,
0.32867899537086487,
-0.3502974808216095,
-0.13611933588981628,
0.00897024106234312,
-0.12741568684577942,
0.1531512588262558,
-0.10189945250749588,
-0.1959354132413864,
0.4001801311969757,
0.1483275145292282,
-0.3079221248626709,
-0.1486436426639557,
-0.09666062891483307,
-0.16463857889175415,
-0.07118866592645645,
0.25689563155174255,
-0.024165717884898186,
0.08934064209461212,
0.02837648056447506,
-0.32982954382896423,
0.2616397440433502,
0.5286327004432678,
-0.43120113015174866,
-0.5639269351959229,
-0.0004579727246891707,
-0.20299018919467926,
0.15603771805763245,
-0.08686499297618866,
0.19479571282863617,
-0.026230821385979652,
0.26577967405319214,
0.14196836948394775,
-0.12945829331874847,
-0.05892137810587883,
0.07339591532945633,
0.45705151557922363,
-0.11654786765575409,
-0.09106661379337311,
-0.06545926630496979,
0.097885362803936,
-0.07436011731624603,
-0.31049811840057373,
0.29912883043289185,
-0.07400313019752502,
-0.1595821976661682,
-0.3790304958820343,
0.5051355957984924,
0.15668074786663055,
0.1328507512807846,
-0.20496290922164917,
0.35063764452934265,
-0.13902907073497772,
-0.2063416987657547,
0.04445913806557655,
0.094835065305233,
-0.35001233220100403,
0.5624651908874512,
-0.6116796135902405,
-0.23837967216968536,
0.006032966077327728,
0.032115690410137177,
0.16798627376556396,
-0.1139451414346695,
0.15241096913814545,
0.3349120318889618,
-0.07597235590219498,
-0.19078806042671204,
-0.10885999351739883,
-0.3942107558250427,
-0.12000709772109985,
0.03893638774752617,
0.43790122866630554,
0.0002705815713852644,
0.2621942162513733,
-0.2192179411649704,
-0.07778841257095337,
0.17110683023929596,
-0.01492775697261095,
-0.4175885319709778,
-0.1179724782705307,
-0.11425156146287918,
-0.07142677903175354,
0.18894103169441223,
0.161269873380661,
0.20097026228904724,
0.11117614060640335,
0.16408047080039978,
-0.21953780949115753,
0.08231628686189651,
-0.04740883409976959,
0.14645275473594666,
0.1621139943599701,
-0.199069544672966,
-0.1465606391429901,
0.2585711181163788,
0.024545352905988693,
0.4314078688621521,
-0.28681638836860657,
-0.0769871175289154,
0.05707087367773056,
0.1320335417985916,
-0.06447507441043854,
-0.0365762934088707,
-0.035391874611377716,
0.009597976692020893,
0.20402784645557404,
0.05827559903264046,
0.2116212397813797,
0.1442628651857376,
-0.26770472526550293,
0.1681726723909378,
0.1561318337917328,
0.24946923553943634,
0.16216140985488892,
0.24577544629573822,
-0.3181510865688324,
0.5134376883506775,
0.11246786266565323,
-0.027822384610772133,
-0.0005710818222723901,
0.040009260177612305,
-0.1952534317970276,
-0.05106694996356964,
0.056431785225868225,
-0.09846743941307068,
-0.14987300336360931,
-0.08407904207706451,
-0.2677922546863556,
-0.22555629909038544,
0.20832887291908264,
0.23342670500278473,
-0.2001180648803711,
0.24247539043426514,
0.18907372653484344,
0.1392059624195099,
-0.19340655207633972,
0.05251636356115341,
-0.04523732513189316,
-0.1418333351612091,
-0.1784321814775467,
0.3279663324356079,
0.1838320940732956,
-0.4275364875793457,
0.26509028673171997,
0.014986575581133366,
0.2709154784679413,
-0.48793745040893555,
-0.30589717626571655,
-0.07975129038095474,
0.2495059072971344,
0.009532877244055271,
0.07674965262413025,
-0.036494478583335876,
0.10260599851608276,
0.44383618235588074,
0.054363034665584564,
0.09175308793783188,
-0.15110798180103302,
0.08789762854576111,
-0.08651138097047806,
-0.24482755362987518,
-0.2210739403963089,
0.131374329328537,
-0.3052622377872467,
0.32628756761550903,
-0.15483787655830383,
0.23474539816379547,
-0.4640164375305176,
-0.13890407979488373,
-0.3260335624217987,
0.3793192505836487,
-0.31932777166366577,
-0.14428114891052246,
0.08012907207012177,
0.053332872688770294,
0.25404372811317444,
0.19097575545310974,
0.32025477290153503,
0.09937562048435211,
0.4818061888217926,
0.19111007452011108,
-0.24947023391723633,
-0.001237056334502995,
-0.2800089418888092,
0.14488032460212708,
-0.05725349113345146,
-0.20167948305606842,
0.17517369985580444,
0.46240589022636414,
0.09028220921754837,
-0.21439526975154877,
0.028951026499271393,
0.5371643900871277,
0.37602031230926514,
-0.6026487350463867,
0.02540072798728943,
0.1568649262189865,
0.15015079081058502,
0.01149849221110344,
0.08235625177621841,
0.11651092767715454,
0.41389158368110657,
-0.07263657450675964,
-0.010402843356132507,
-0.0806678757071495,
0.07769370824098587,
0.3648620545864105,
0.09871040284633636,
0.07979677617549896,
0.2144235521554947,
-0.049042195081710815,
-0.21852540969848633,
0.009937655180692673,
0.32689422369003296,
-0.5410408973693848,
-0.07424890995025635,
0.2720128893852234,
-0.4377063512802124,
-0.015520530752837658,
-0.06754720956087112,
0.039259545505046844,
-0.10365530103445053,
0.22380663454532623,
0.1228390634059906,
0.24155612289905548,
-0.3114246726036072,
-0.15317365527153015,
-0.36782562732696533,
0.11484231799840927,
0.04064227268099785,
0.010597305372357368,
-0.10386878252029419,
0.018081936985254288,
-0.20687930285930634,
0.016151130199432373,
0.14468879997730255,
0.07866223156452179,
0.3608987033367157,
0.6846516132354736,
-0.47152790427207947,
0.2879040539264679,
0.29352256655693054,
-0.08751879632472992,
0.17422859370708466,
-0.2717556953430176,
0.21508201956748962,
-0.1240830346941948,
0.035903990268707275,
-0.2507127523422241,
0.16394634544849396,
-0.020691534504294395,
0.45213577151298523,
0.3375706374645233,
0.008204290643334389,
0.22944912314414978,
-0.07574155926704407,
-0.014094465412199497,
0.06961466372013092,
0.23636619746685028,
0.24771805107593536,
-0.4594486355781555,
0.2727328836917877,
-0.0016635734355077147,
-0.3605324625968933,
0.04710516333580017,
-0.020984327420592308,
-0.059732697904109955,
0.010535440407693386,
0.09093551337718964,
-0.018148476257920265,
0.07596094161272049,
-0.09917151182889938,
0.09925326704978943,
0.029600845649838448,
0.5115144848823547,
0.10610005259513855,
0.2029327005147934,
-0.15986555814743042,
-0.026217227801680565,
0.10001697391271591,
-0.0006496954010799527,
-0.26219630241394043,
-0.3264180123806,
0.5467155575752258,
-0.6228095889091492,
0.1241501048207283,
-0.052309904247522354,
-0.07802631705999374,
0.030311020091176033,
0.053356658667325974,
-0.712100625038147,
0.29885366559028625,
-0.30980417132377625,
-0.5994613170623779,
0.2013067901134491,
-0.10339787602424622,
0.16415908932685852,
-0.118436798453331,
0.22329376637935638,
-0.16116946935653687
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Hi ! Thanks for reporting.
Currently there's no way to specify this.
When loading/processing a dataset, the arrow file is written using a temporary file. Then once writing is finished, it's moved to the cache directory (using `shutil.move` [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1646))
That means it keeps the permissions specified by the `tempfile.NamedTemporaryFile` object, i.e. `-rw-------` instead of `-rw-r--r--`. Improving this could be a nice first contribution to the library :)
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 67
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Hi ! Thanks for reporting.
Currently there's no way to specify this.
When loading/processing a dataset, the arrow file is written using a temporary file. Then once writing is finished, it's moved to the cache directory (using `shutil.move` [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1646))
That means it keeps the permissions specified by the `tempfile.NamedTemporaryFile` object, i.e. `-rw-------` instead of `-rw-r--r--`. Improving this could be a nice first contribution to the library :)
|
[
-0.11390181630849838,
0.28156778216362,
-0.07893506437540054,
0.11773692071437836,
-0.025968020781874657,
0.09056608378887177,
0.4060141146183014,
0.1146637499332428,
-0.09347965568304062,
-0.07899955660104752,
-0.17398123443126678,
0.12208785861730576,
-0.059026870876550674,
-0.20906688272953033,
-0.021160228177905083,
0.06701567769050598,
0.1375492960214615,
0.11998001486063004,
-0.020917454734444618,
-0.07752198725938797,
-0.0809951201081276,
-0.06338853389024734,
-0.07038183510303497,
-0.022465618327260017,
-0.1490500420331955,
-0.22742348909378052,
0.26361897587776184,
0.2165788859128952,
0.050527796149253845,
-0.24894723296165466,
0.3933267295360565,
0.5603935122489929,
0.07887216657400131,
0.0368107408285141,
-0.00011671095853671432,
-0.12581485509872437,
0.003283293917775154,
-0.10008148849010468,
0.010360228829085827,
0.15622536838054657,
0.003882972290739417,
-0.19657982885837555,
0.055896203964948654,
-0.10560974478721619,
-0.07175718992948532,
-0.009751126170158386,
0.0705217570066452,
-0.6625339388847351,
0.5320057272911072,
0.09112218767404556,
0.16123414039611816,
-0.00266041187569499,
-0.19055438041687012,
0.23747287690639496,
0.33617302775382996,
0.049537379294633865,
-0.29998132586479187,
0.12372174859046936,
0.2532833516597748,
-0.15942829847335815,
-0.09955295920372009,
0.14856749773025513,
-0.25215286016464233,
0.14002501964569092,
0.27181220054626465,
-0.09976181387901306,
-0.417600154876709,
-0.4772850275039673,
0.08092072606086731,
0.29606273770332336,
0.7476203441619873,
-0.23502835631370544,
-0.6028376817703247,
-0.3080017566680908,
0.054423823952674866,
0.041343025863170624,
0.423434853553772,
0.3541363775730133,
0.08775734901428223,
0.26511842012405396,
-0.26069799065589905,
-0.0438045971095562,
-0.2725635766983032,
0.07077585905790329,
0.3593457341194153,
-0.06164040043950081,
-0.08565133810043335,
0.14999020099639893,
0.1002015545964241,
-0.11125334352254868,
0.12715847790241241,
0.1506170928478241,
-0.3372899293899536,
0.47440454363822937,
-0.3153335154056549,
0.10501652210950851,
-0.23029054701328278,
0.2877422273159027,
0.1954169124364853,
0.42090272903442383,
0.23299027979373932,
0.20707879960536957,
-0.00530273700132966,
0.17053906619548798,
0.11389543116092682,
0.20385178923606873,
0.33601585030555725,
0.3591209352016449,
0.5324925780296326,
-0.27015677094459534,
-0.024705080315470695,
-0.04275886341929436,
0.03125445172190666,
-0.3672647774219513,
0.10352227091789246,
0.1941135972738266,
0.03017127700150013,
-0.22662819921970367,
0.2046467810869217,
0.07793458551168442,
-0.10022693127393723,
-0.16751697659492493,
0.08205894380807877,
0.27203989028930664,
0.07984594255685806,
0.012807550840079784,
0.06589985638856888,
0.17474429309368134,
0.009433361701667309,
-0.21593806147575378,
0.013143680058419704,
-0.31834158301353455,
-0.3558557629585266,
0.42907795310020447,
0.4010545313358307,
-0.2912052273750305,
0.09799373894929886,
0.18066400289535522,
0.11769447475671768,
-0.1855781227350235,
0.4365369975566864,
-0.1271783858537674,
0.46565738320350647,
0.4169456958770752,
0.1208038181066513,
0.33177274465560913,
0.02657408080995083,
0.09284119307994843,
-0.19259332120418549,
0.28295448422431946,
-0.2726331651210785,
-0.2166966050863266,
0.17521792650222778,
-0.026947394013404846,
-0.12245139479637146,
0.29854387044906616,
-0.4154498279094696,
0.038429271429777145,
0.5024690628051758,
-0.13701535761356354,
0.5040844678878784,
0.23932433128356934,
-0.0870370864868164,
-0.4691595137119293,
-0.119987353682518,
0.3807283937931061,
-0.2105463445186615,
-0.040214553475379944,
-0.13332845270633698,
-0.05463194474577904,
-0.08191653341054916,
0.4235099256038666,
-0.10997189581394196,
0.045570891350507736,
-0.10043717175722122,
0.2615794241428375,
0.5675196051597595,
-0.17852777242660522,
-0.557805061340332,
0.02429591864347458,
0.2172670066356659,
-0.13523134589195251,
0.11793366074562073,
0.0860399454832077,
0.12297479063272476,
-0.12732596695423126,
-0.28405365347862244,
0.3851826786994934,
0.2767726182937622,
0.23493732511997223,
0.13426440954208374,
-0.09281924366950989,
0.0077567193657159805,
-0.04636615142226219,
-0.0722493976354599,
0.08978933095932007,
0.37588778138160706,
-0.356341689825058,
0.24645213782787323,
-0.22437523305416107,
0.2806277871131897,
0.4626380205154419,
0.14989103376865387,
-0.012264687567949295,
-0.004741108510643244,
-0.06460347026586533,
-0.5048744678497314,
0.2847755253314972,
-0.10485914349555969,
-0.3897148072719574,
-0.06088864803314209,
-0.4528689980506897,
0.102899469435215,
-0.18952228128910065,
-0.26362359523773193,
-0.1018766313791275,
0.017187342047691345,
-0.15850310027599335,
0.05394022539258003,
-0.341131329536438,
0.07773026823997498,
0.37286603450775146,
0.12564706802368164,
0.09265026450157166,
-0.31702202558517456,
0.11527613550424576,
0.04766228795051575,
-0.10843417048454285,
-0.20969121158123016,
0.06054425239562988,
0.17266173660755157,
-0.0020277739968150854,
-0.28621262311935425,
0.3028353750705719,
0.11271027475595474,
0.11897153407335281,
-0.07513247430324554,
0.31477099657058716,
-0.005037777125835419,
-0.04768066853284836,
0.13103753328323364,
-0.22224372625350952,
-0.0586356520652771,
-0.07012210786342621,
-0.24423754215240479,
0.43774452805519104,
-0.11959203332662582,
0.03034927137196064,
-0.22492749989032745,
0.18315015733242035,
0.13236276805400848,
0.04657183215022087,
-0.21255961060523987,
-0.18153683841228485,
-0.034594275057315826,
0.19693803787231445,
0.3852103054523468,
0.13864673674106598,
0.013944687321782112,
0.029780415818095207,
0.40344521403312683,
0.2228405922651291,
0.14700178802013397,
-0.020292047411203384,
-0.25163447856903076,
0.03678795322775841,
0.3316290080547333,
0.3446897268295288,
0.2373872995376587,
0.02398068457841873,
0.290221631526947,
-0.24865998327732086,
0.305589497089386,
-0.11376053094863892,
0.020350979641079903,
-0.090983547270298,
0.14598453044891357,
-0.17945466935634613,
-0.10968388617038727,
-0.03309175744652748,
-0.13410738110542297,
0.233939990401268,
0.015326359309256077,
0.08919153362512589,
-0.33979174494743347,
-0.10280552506446838,
-0.23078416287899017,
-0.14999012649059296,
0.22172242403030396,
-0.13832950592041016,
-0.5088285207748413,
-0.028105927631258965,
-0.21925510466098785,
0.2135237753391266,
-0.07016514986753464,
0.13670401275157928,
-0.35606786608695984,
0.09111338108778,
-0.05069160833954811,
-0.2864057719707489,
-0.2728370428085327,
0.11885586380958557,
0.08051445335149765,
-0.021158194169402122,
0.240040123462677,
-0.5178109407424927,
0.21122156083583832,
0.11596538871526718,
0.23162749409675598,
-0.32987797260284424,
0.004156311973929405,
-0.1636853665113449,
0.008273222483694553,
0.08844044059515,
-0.2788848876953125,
0.14764195680618286,
-0.15844909846782684,
-0.03145795315504074,
-0.1058916375041008,
-0.31525689363479614,
-0.21384935081005096,
0.0034112983848899603,
-0.03788948431611061,
0.11635299026966095,
-0.25802159309387207,
-0.19514071941375732,
-0.18018853664398193,
-0.18529963493347168,
0.6918115019798279,
0.12873990833759308,
0.22761985659599304,
0.16147035360336304,
-0.1822325736284256,
-0.2958168387413025,
-0.28857940435409546,
0.18393640220165253,
-0.35510939359664917,
-0.46157994866371155,
0.3765580952167511,
-0.4756704866886139,
-0.3748244047164917,
0.1581176519393921,
0.08230273425579071,
0.14959824085235596,
0.42214104533195496,
-0.020189879462122917,
-0.06831353157758713,
-0.28802689909935,
0.25202178955078125,
-0.23040767014026642,
0.19999393820762634,
0.07817979902029037,
0.09895670413970947,
0.1633317470550537,
-0.04324663057923317,
-0.18222030997276306,
0.15200957655906677,
-0.029681401327252388,
-0.22164733707904816,
0.18750876188278198,
0.09897084534168243,
0.08296637237071991,
0.8199108242988586,
0.40766552090644836,
0.2582356035709381,
0.30228185653686523,
0.3216722011566162,
0.6892601847648621,
0.01740102656185627,
-0.07833868265151978,
0.17679515480995178,
-0.04833697900176048,
0.024217240512371063,
0.07917975634336472,
0.13210739195346832,
-0.13525311648845673,
0.09370807558298111,
0.05077590420842171,
-0.2705009877681732,
-0.4704999029636383,
-0.15254642069339752,
-0.23571351170539856,
0.11073889583349228,
0.03676287457346916,
0.06436574459075928,
-0.23486363887786865,
-0.2928420305252075,
0.026822518557310104,
0.35341307520866394,
0.18919140100479126,
0.2868805527687073,
-0.25679853558540344,
0.04825267195701599,
-0.2922350764274597,
0.3158981204032898,
-0.060293685644865036,
0.4820709228515625,
-0.08320875465869904,
0.15534909069538116,
0.22872576117515564,
0.3111588656902313,
0.3185232877731323,
-0.34724313020706177,
0.16434693336486816,
-0.1408587396144867,
0.28535500168800354,
0.10828438401222229,
-0.20878934860229492,
0.4010732173919678,
0.3412347137928009,
-0.03380976617336273,
0.0638154149055481,
0.011096276342868805,
-0.283474326133728,
-0.41901451349258423,
-0.10381563007831573,
-0.05510100722312927,
-0.10895270109176636,
0.06914602220058441,
0.14114350080490112,
-0.2338651865720749,
-0.07339158654212952,
0.2750280499458313,
-0.38930967450141907,
-0.07735222578048706,
-0.10780809819698334,
-0.15990965068340302,
0.08545465022325516,
-0.0013962439261376858,
0.007604006212204695,
0.47253260016441345,
-0.0421459786593914,
0.03401237726211548,
0.49623048305511475,
-0.019877929240465164,
0.1219225525856018,
0.4359242618083954,
-0.24144166707992554,
0.20701290667057037,
-0.2778049111366272,
-0.19873543083667755,
0.331071138381958,
0.0602579303085804,
-0.4291301667690277,
0.12762919068336487,
0.02011159434914589,
-0.20264582335948944,
-0.18884208798408508,
-0.028349684551358223,
-0.07126932591199875,
0.054335784167051315,
-0.12405465543270111,
-0.6317939162254333,
0.35048261284828186,
0.562196671962738,
-0.3145400583744049,
0.4633356034755707,
-0.07606709003448486,
-0.33739256858825684,
0.1291893571615219,
0.19390544295310974,
0.7914400100708008,
-0.24127236008644104,
0.3664577603340149,
-0.3410951495170593,
-0.17551331222057343,
0.21100173890590668,
-0.2823658883571625,
0.059607382863759995,
-0.5691588521003723,
-0.13155165314674377,
-0.109026700258255,
-0.12614119052886963,
0.04644168168306351,
0.3606363534927368,
0.12352126836776733,
0.15014149248600006,
-0.09420526027679443,
-0.1214994341135025,
-0.2578493654727936,
-0.13363121449947357,
-0.19908754527568817,
-0.4416543245315552,
0.10405569523572922,
0.08687525987625122,
-0.2521279752254486,
0.03337695449590683,
0.007297812029719353,
-0.07975441962480545,
-0.17536118626594543,
0.19465751945972443,
-0.351072758436203,
0.009486252442002296,
-0.7321102023124695,
0.055546924471855164,
-0.08023332804441452,
-0.07469818741083145,
0.28356489539146423,
0.24199092388153076,
0.2655460834503174,
0.2817913591861725,
-0.06898421049118042,
-0.030594661831855774,
0.30155572295188904,
0.07781512290239334,
-0.24952492117881775,
0.09094251692295074,
0.3329409956932068,
0.15678967535495758,
0.14417056739330292,
-0.2441054880619049,
-0.23369139432907104,
-0.309714674949646,
-0.13368567824363708,
0.16790112853050232,
0.06779663264751434,
-0.21807248890399933,
0.0714007318019867,
-0.12524697184562683,
-0.028052151203155518,
0.05175633355975151,
0.03432227671146393,
0.512465238571167,
-0.013218898326158524,
0.465654581785202,
-0.26728156208992004,
-0.26421114802360535,
0.08396812528371811,
0.43224239349365234,
-0.046950068324804306,
-0.144273579120636,
0.3026229739189148,
-0.16809244453907013,
-0.23748986423015594,
-0.13432402908802032,
0.18463961780071259,
0.21246320009231567,
-0.4013368785381317,
0.014873813837766647,
0.17951883375644684,
-0.12597136199474335,
0.17920514941215515,
-0.32755306363105774,
0.02131110243499279,
0.1581573486328125,
0.04977839067578316,
-0.38073351979255676,
-0.5134580135345459,
-0.19813323020935059,
-0.4549815058708191,
0.30898553133010864,
0.14540602266788483,
-0.5356976389884949,
0.11617041379213333,
0.033056966960430145,
-0.18897853791713715,
-0.1897200495004654,
0.07237213104963303,
0.07741884887218475,
0.29646119475364685,
0.09872758388519287,
0.049640536308288574,
-0.18795529007911682,
-0.14916977286338806,
0.0007803419721312821,
-0.1911090910434723,
-0.11849117279052734,
-0.15992632508277893,
0.17779657244682312,
0.14365844428539276,
-0.4071885645389557,
0.06357662379741669,
-0.48779863119125366,
-0.0730009377002716,
-0.47531452775001526,
0.0746760368347168,
0.2586325705051422,
0.20494362711906433,
0.29999804496765137,
0.15832747519016266,
0.01452980563044548,
-0.22637663781642914,
0.17821398377418518,
-0.1482938975095749,
-0.2318185716867447,
-0.20764978229999542,
0.23733992874622345,
-0.3053377568721771,
-0.07932885736227036,
0.14033855497837067,
-0.08588149398565292,
0.15460830926895142,
0.02719411440193653,
0.0724041685461998,
-0.013103201054036617,
-0.17536169290542603,
0.08596033602952957,
0.3437347114086151,
0.14271889626979828,
-0.007609090302139521,
0.006148587446659803,
0.2816981375217438,
0.03918880224227905,
0.03774997591972351,
-0.16422416269779205,
0.1490292102098465,
-0.15912798047065735,
0.06123949587345123,
0.3540746867656708,
0.24517913162708282,
-0.20894765853881836,
0.08639376610517502,
-0.09960556030273438,
-0.06322123110294342,
-0.3870142102241516,
0.379975289106369,
0.056249264627695084,
0.03370055556297302,
0.03280359506607056,
0.45858126878738403,
0.22095555067062378,
0.16946280002593994,
0.3566683828830719,
0.10391367971897125,
0.20195095241069794,
0.37039580941200256,
-0.3335016965866089,
0.12434044480323792,
-0.6093457341194153,
-0.02810075879096985,
0.004825587384402752,
0.14108620584011078,
0.33325693011283875,
0.156231090426445,
0.3620609641075134,
0.060689777135849,
-0.3311571776866913,
0.0909838080406189,
-0.06582727283239365,
-0.08247996121644974,
-0.19363917410373688,
0.07948359102010727,
0.13199496269226074,
0.014935189858078957,
-0.2887561321258545,
-0.2105185091495514,
-0.2986363172531128,
0.24385231733322144,
0.21417009830474854,
0.16174934804439545,
0.03011617437005043,
0.04339775815606117,
0.24816575646400452,
0.11134900152683258,
-0.14658226072788239,
-0.0988863855600357,
-0.4035571217536926,
-0.1335451453924179,
0.07920486479997635,
0.059820372611284256,
0.08888031542301178,
-0.021252579987049103,
0.12809300422668457,
0.2367846518754959,
0.3385293781757355,
0.052406635135412216,
-0.1756233125925064,
0.3021794557571411,
-0.08642897754907608,
-0.3494778871536255,
0.08305563032627106,
-0.05351373925805092,
-0.036273207515478134,
-0.05120540410280228,
-0.23408164083957672,
0.04991437494754791,
0.08195401728153229,
0.08205045759677887,
-0.16320279240608215,
-0.510790228843689,
0.035226501524448395,
-0.02568974532186985,
0.23290957510471344,
0.02534645050764084,
0.6404659748077393,
0.013388454914093018,
0.1071329340338707,
-0.5667572021484375,
0.004858550149947405,
0.40310609340667725,
0.3281868100166321,
0.40972399711608887,
-0.018414974212646484,
-0.043703123927116394,
0.10094188898801804,
-0.4795345664024353,
0.05234815180301666,
0.20270280539989471,
0.30641692876815796,
-0.04474050551652908,
-0.15516096353530884,
0.1562250405550003,
-0.06147945672273636,
0.5907251834869385,
-0.15865558385849,
0.5455061197280884,
0.3326397240161896,
-0.18617893755435944,
-0.2207086682319641,
0.14997588098049164,
-0.029015637934207916,
0.14110511541366577,
-0.4260401725769043,
0.10802606493234634,
0.14583562314510345,
-0.03432604297995567,
-0.20179173350334167,
-0.13926690816879272,
0.1758231818675995,
0.4092654883861542,
0.5364007949829102,
0.25656917691230774,
-0.07387344539165497,
0.06878045201301575,
0.2827925682067871,
-0.45587924122810364,
0.09724101424217224,
-0.2218225598335266,
-0.10098005086183548,
-0.2170020341873169,
0.14114299416542053,
-0.48706722259521484,
-0.0799453854560852,
-0.42249587178230286,
-0.04249311611056328,
-0.14119236171245575,
0.2920132875442505,
0.0026112094055861235,
0.19954974949359894,
-0.10776373744010925,
0.07741311937570572,
0.2919275462627411,
0.2175254076719284,
-0.12326648086309433,
0.27093446254730225,
-0.5050197243690491,
-0.2647055685520172,
0.37975847721099854,
-0.3792257606983185,
-0.13790911436080933,
0.1169528067111969,
0.4003455638885498,
0.2882566452026367,
-0.19263242185115814,
-0.2629813253879547,
0.2095758616924286,
0.26266199350357056,
-0.34461504220962524,
-0.14465510845184326,
-0.09224453568458557,
-0.31162673234939575,
0.14022031426429749,
-0.16826584935188293,
0.5989023447036743,
0.09177788347005844,
-0.17893186211585999,
0.06500076502561569,
-0.26153701543807983
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Hi @lhoestq,
I looked into this and yes you're right. The `NamedTemporaryFile` is always created with mode 0600, which prevents group from reading the file. Should we change the permissions of `tmp_file.name` [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1871) and [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1590), post creation to 0644 inorder for group and others to read it?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 47
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Hi @lhoestq,
I looked into this and yes you're right. The `NamedTemporaryFile` is always created with mode 0600, which prevents group from reading the file. Should we change the permissions of `tmp_file.name` [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1871) and [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1590), post creation to 0644 inorder for group and others to read it?
|
[
0.0629381388425827,
0.03597985580563545,
-0.11017110198736191,
0.25814300775527954,
0.06019889563322067,
0.13293133676052094,
0.3463626205921173,
0.09343492984771729,
-0.2962670624256134,
-0.030303552746772766,
-0.28031861782073975,
-0.052603766322135925,
0.0845717117190361,
-0.3134351372718811,
-0.02088364027440548,
0.0789133608341217,
0.09932570904493332,
0.04658597707748413,
0.094051793217659,
-0.024799002334475517,
-0.1166851818561554,
-0.05449928343296051,
-0.04500482603907585,
0.022196296602487564,
-0.3177744150161743,
-0.10338137298822403,
0.1908847540616989,
0.2698514461517334,
0.15086856484413147,
-0.20025821030139923,
0.24972306191921234,
0.46947965025901794,
0.05987117066979408,
0.3494139611721039,
-0.00011459898087196052,
-0.11247079074382782,
0.011985323391854763,
-0.13530129194259644,
0.11816288530826569,
0.1928911954164505,
-0.018245866522192955,
-0.2213333547115326,
-0.11130284518003464,
-0.15296794474124908,
-0.1610855609178543,
0.08375446498394012,
0.18465250730514526,
-0.5527178049087524,
0.5385578870773315,
0.12456125020980835,
0.17208231985569,
0.005743610672652721,
-0.19514916837215424,
0.20095416903495789,
0.24075579643249512,
0.0036835242062807083,
-0.32625284790992737,
0.03021823614835739,
0.2792111933231354,
-0.045448530465364456,
0.0020831520669162273,
0.11008705943822861,
-0.3180335760116577,
0.05319642648100853,
0.2149990051984787,
-0.05662210285663605,
-0.37090057134628296,
-0.5180928707122803,
0.0947926864027977,
0.1781875491142273,
0.6756842732429504,
-0.11138566583395004,
-0.5353286862373352,
-0.2812223732471466,
-0.08956111967563629,
0.0903988629579544,
0.48960164189338684,
0.31815654039382935,
0.02304612100124359,
0.3016810715198517,
-0.3137834370136261,
0.0671202540397644,
-0.32293903827667236,
-0.044580407440662384,
0.2822050452232361,
-0.08712856471538544,
-0.17311778664588928,
0.08098438382148743,
-0.06322876363992691,
-0.10685533285140991,
0.04290872439742088,
0.04627205431461334,
-0.21842455863952637,
0.3654842972755432,
-0.1981412172317505,
0.15554866194725037,
-0.18002216517925262,
0.26785996556282043,
0.11119922250509262,
0.19440902769565582,
0.28351137042045593,
0.19638009369373322,
0.030971406027674675,
0.19386371970176697,
0.024696584790945053,
0.14630918204784393,
0.2879435420036316,
0.3549536466598511,
0.5183433294296265,
-0.34961873292922974,
-0.19950388371944427,
-0.061019886285066605,
-0.028424791991710663,
-0.32108274102211,
0.04149896278977394,
0.15820153057575226,
-0.03549421206116676,
-0.23281177878379822,
0.262095183134079,
0.0351257398724556,
-0.07126212120056152,
-0.16066299378871918,
0.04065918177366257,
0.19719959795475006,
0.048061542212963104,
-0.08666794747114182,
0.0407203808426857,
0.1288425773382187,
-0.02694104053080082,
-0.29828497767448425,
-0.02837301231920719,
-0.46034422516822815,
-0.35417723655700684,
0.47440651059150696,
0.3691008388996124,
-0.2717595398426056,
0.09368181228637695,
0.08429349958896637,
0.1707916557788849,
-0.2367335855960846,
0.34128227829933167,
-0.13340014219284058,
0.5103937983512878,
0.40801921486854553,
0.22218844294548035,
0.35227468609809875,
0.0669591873884201,
0.04418155923485756,
-0.11798727512359619,
0.29868200421333313,
-0.30137401819229126,
-0.26370128989219666,
0.3343157172203064,
0.014955404214560986,
-0.08016569912433624,
0.379569411277771,
-0.2512303292751312,
0.01857929117977619,
0.6816846132278442,
-0.17098067700862885,
0.35156476497650146,
0.23202306032180786,
-0.23747439682483673,
-0.5314832925796509,
-0.15169526636600494,
0.37802860140800476,
-0.1693858653306961,
0.07424318790435791,
0.035791728645563126,
-0.06749183684587479,
-0.10188601911067963,
0.4217512905597687,
0.008362337946891785,
0.0582156702876091,
-0.1198587417602539,
0.2898952066898346,
0.47256913781166077,
-0.19399100542068481,
-0.542864203453064,
0.12677882611751556,
0.1299714744091034,
-0.06647336483001709,
0.3089483082294464,
0.046478599309921265,
-0.04274149239063263,
-0.29180189967155457,
-0.18042221665382385,
0.19159355759620667,
0.21203316748142242,
0.19017404317855835,
-0.02476646937429905,
0.043212033808231354,
-0.0482289083302021,
-0.062235116958618164,
-0.13002565503120422,
0.19859445095062256,
0.3295988142490387,
-0.3414551019668579,
0.21429727971553802,
-0.17138120532035828,
0.210812509059906,
0.41860321164131165,
0.0736301988363266,
0.06690392643213272,
0.029122496023774147,
-0.01633104868233204,
-0.46104228496551514,
0.25557538866996765,
-0.02185179851949215,
-0.4010995924472809,
0.005440875887870789,
-0.49144047498703003,
0.12901398539543152,
-0.3363105058670044,
-0.34060919284820557,
-0.06479760259389877,
0.06326708197593689,
0.01835879124701023,
0.07618710398674011,
-0.3664517402648926,
0.20445187389850616,
0.5146684646606445,
0.13388092815876007,
0.028247203677892685,
-0.2692759037017822,
0.03940804302692413,
-0.13395759463310242,
-0.08652721345424652,
-0.2505773901939392,
0.04640566557645798,
0.27394092082977295,
-0.04653436690568924,
-0.26616281270980835,
0.29702600836753845,
0.08234734833240509,
0.16736143827438354,
-0.1172354593873024,
0.39387091994285583,
-0.07880836725234985,
0.07129289209842682,
0.0673537403345108,
-0.23244225978851318,
-0.01858903095126152,
-0.18734246492385864,
-0.20111984014511108,
0.39713048934936523,
-0.07320038974285126,
-0.02776152268052101,
-0.22257079184055328,
0.019858215004205704,
0.11116914451122284,
0.03759656473994255,
-0.22989970445632935,
-0.13365407288074493,
0.0004845394869334996,
0.26114681363105774,
0.30526643991470337,
0.14624130725860596,
0.019276166334748268,
0.058169905096292496,
0.3956893980503082,
0.17367421090602875,
0.010814807377755642,
-0.129141703248024,
-0.14726804196834564,
0.006796043366193771,
0.20614966750144958,
0.18643413484096527,
0.2714276909828186,
0.0716429129242897,
0.32545360922813416,
-0.1534225195646286,
0.3050526976585388,
-0.20417548716068268,
0.030148401856422424,
0.043461963534355164,
0.08676210790872574,
-0.12322594970464706,
-0.1194547787308693,
-0.011352242901921272,
0.03477572649717331,
0.3009342849254608,
0.11343851685523987,
0.04652510583400726,
-0.4610219895839691,
-0.08700631558895111,
-0.07429075986146927,
-0.24540379643440247,
0.1902787983417511,
0.03198666870594025,
-0.5370314717292786,
-0.06656038761138916,
-0.2675877511501312,
0.27924516797065735,
-0.03336865454912186,
0.07614023983478546,
-0.294659823179245,
0.12340287864208221,
-0.017506008967757225,
-0.1909065544605255,
-0.3536761999130249,
0.12227144092321396,
0.0023418734781444073,
0.0004375434073153883,
0.2619785964488983,
-0.6254082918167114,
0.2411462962627411,
-0.08823396265506744,
0.2667474150657654,
-0.09684903174638748,
0.050075314939022064,
-0.11856783181428909,
-0.10745925456285477,
0.14769040048122406,
-0.4817639887332916,
0.11097346991300583,
-0.1808299422264099,
0.09870883077383041,
0.028932495042681694,
-0.23331034183502197,
-0.2578209340572357,
-0.016946541145443916,
0.0593109130859375,
-0.0710197314620018,
-0.23321378231048584,
-0.22738507390022278,
-0.18991035223007202,
-0.1511591672897339,
0.5195329189300537,
0.10571565479040146,
0.2691638171672821,
0.2244831919670105,
-0.34144893288612366,
-0.25076621770858765,
-0.2969985902309418,
0.2749946117401123,
-0.4282778799533844,
-0.5996946692466736,
0.3007459044456482,
-0.547554612159729,
-0.44641128182411194,
0.1092200055718422,
0.25047847628593445,
0.13467498123645782,
0.38458052277565,
-0.04074229672551155,
-0.12197348475456238,
-0.19172509014606476,
0.32237744331359863,
-0.20720960199832916,
0.1761515587568283,
0.06593918055295944,
0.08321532607078552,
0.17084676027297974,
-0.09174834191799164,
-0.12169602513313293,
0.06546808034181595,
-0.057765159755945206,
-0.19072367250919342,
0.21624544262886047,
0.15687815845012665,
0.1997005045413971,
0.7097828984260559,
0.563109815120697,
0.32395023107528687,
0.2527140974998474,
0.21945029497146606,
0.676372766494751,
0.031847868114709854,
-0.17410387098789215,
0.2044820636510849,
-0.04733523353934288,
-0.09003712981939316,
0.20304876565933228,
0.16689954698085785,
-0.04017988592386246,
-0.0374593548476696,
0.07815210521221161,
-0.40975669026374817,
-0.4254501461982727,
-0.24076026678085327,
-0.03597866743803024,
0.2223149687051773,
0.14999906718730927,
0.04314567893743515,
-0.30634111166000366,
-0.3333995044231415,
-0.044589195400476456,
0.48862823843955994,
0.15173619985580444,
0.23711314797401428,
-0.3397945165634155,
0.03461817651987076,
-0.24036720395088196,
0.3305445909500122,
0.0667024701833725,
0.49265968799591064,
-0.14938315749168396,
0.15003667771816254,
0.27660253643989563,
0.30186727643013,
0.49114561080932617,
-0.3915998339653015,
0.24844501912593842,
-0.03509578853845596,
0.26652470231056213,
0.28472813963890076,
-0.11261225491762161,
0.2927291691303253,
0.40710532665252686,
0.18647515773773193,
0.21050554513931274,
0.0934801995754242,
-0.2875424921512604,
-0.4842904210090637,
-0.09761091321706772,
-0.09730131179094315,
-0.18682633340358734,
0.022341027855873108,
0.15136931836605072,
-0.024544762447476387,
-0.12555858492851257,
0.29028502106666565,
-0.3091266453266144,
-0.12327798455953598,
0.023029958829283714,
-0.04871467873454094,
0.16580325365066528,
0.01272511761635542,
0.05917510390281677,
0.336514413356781,
0.024908944964408875,
0.08567627519369125,
0.49466651678085327,
0.09832984209060669,
0.0767081156373024,
0.4088817238807678,
-0.2843139171600342,
0.29724207520484924,
-0.21154457330703735,
-0.31953972578048706,
0.34782904386520386,
0.1500844657421112,
-0.34698063135147095,
-0.11149758845567703,
-0.03039475902915001,
-0.19061525166034698,
-0.23682324588298798,
-0.08686212450265884,
0.024001065641641617,
0.011149240657687187,
-0.2902590334415436,
-0.6117971539497375,
0.3529457449913025,
0.5719923973083496,
-0.35932987928390503,
0.20938549935817719,
-0.2003002166748047,
-0.32641735672950745,
0.08290423452854156,
0.007740146946161985,
0.9369333982467651,
-0.2257833480834961,
0.4095994830131531,
-0.2878207564353943,
-0.05821950361132622,
0.11933840811252594,
-0.3725878596305847,
0.12212934345006943,
-0.4467967748641968,
-0.27390968799591064,
-0.07542067766189575,
-0.07833421230316162,
0.07348597794771194,
0.43239691853523254,
0.12319890409708023,
0.11684368550777435,
0.04312162846326828,
0.005522199906408787,
-0.2057720124721527,
-0.16884908080101013,
-0.06320429593324661,
-0.2718174159526825,
0.09073681384325027,
0.09236600250005722,
-0.14872892200946808,
0.1255583018064499,
0.06064515560865402,
-0.04318132996559143,
-0.2532046139240265,
0.27302899956703186,
-0.21867181360721588,
-0.00006238681817194447,
-0.6532599925994873,
0.02610992081463337,
-0.18720825016498566,
-0.11619028449058533,
0.17836759984493256,
0.25107476115226746,
0.3610565662384033,
0.32282307744026184,
-0.0859161764383316,
-0.0651187002658844,
0.37879547476768494,
0.1497548371553421,
-0.25263118743896484,
0.08368837088346481,
0.3546638488769531,
0.1261635273694992,
0.13579319417476654,
-0.28782185912132263,
-0.2010754942893982,
-0.2188825160264969,
-0.37609007954597473,
0.06573658436536789,
0.12402001023292542,
-0.3765001893043518,
0.0364593006670475,
-0.13044410943984985,
0.007648347411304712,
0.03305348753929138,
0.0685630589723587,
0.39425671100616455,
-0.07367834448814392,
0.5132037401199341,
-0.32886308431625366,
-0.3334292769432068,
0.10960504412651062,
0.5619508624076843,
0.04519055783748627,
-0.17901405692100525,
0.22133931517601013,
-0.1282033622264862,
-0.3107994496822357,
-0.12084148079156876,
0.2919037342071533,
0.034254614263772964,
-0.23281154036521912,
-0.0831228569149971,
0.26278749108314514,
-0.07399486750364304,
0.19875919818878174,
-0.3054344952106476,
0.11786266416311264,
0.048276592046022415,
0.14809302985668182,
-0.3466264009475708,
-0.4610140025615692,
-0.3081025183200836,
-0.28178346157073975,
0.19721797108650208,
0.2503431737422943,
-0.3422867953777313,
0.07724250853061676,
0.03996115177869797,
-0.2249227613210678,
-0.16540126502513885,
0.07964581251144409,
0.12472976744174957,
0.32864654064178467,
0.06106891483068466,
0.07143040746450424,
-0.18531468510627747,
-0.1063137874007225,
0.0644666850566864,
-0.16224150359630585,
-0.15813152492046356,
-0.050692953169345856,
0.15579697489738464,
0.264182448387146,
-0.41238465905189514,
-0.032917123287916183,
-0.5092152953147888,
-0.1598360538482666,
-0.4260944724082947,
0.09914733469486237,
0.3299741744995117,
0.2834780812263489,
0.3346816599369049,
0.1255447417497635,
0.09007063508033752,
-0.10735339671373367,
0.30298835039138794,
-0.27267175912857056,
-0.12949427962303162,
-0.22070226073265076,
0.19965940713882446,
-0.34899985790252686,
-0.024183042347431183,
0.04743124544620514,
-0.11728965491056442,
0.14306029677391052,
0.03963354974985123,
0.137874037027359,
-0.14587995409965515,
-0.017939241603016853,
0.11825912445783615,
0.2574119567871094,
0.09928736835718155,
-0.04563868045806885,
0.007557337637990713,
0.3028247356414795,
0.05584108084440231,
0.11224789172410965,
-0.10609275847673416,
0.21483217179775238,
-0.20889966189861298,
0.059026509523391724,
0.4215768277645111,
0.2109963744878769,
-0.07082486897706985,
0.13393546640872955,
-0.10053282976150513,
0.1809752732515335,
-0.3331480026245117,
0.3611840605735779,
0.020433764904737473,
0.1567518413066864,
0.10773107409477234,
0.39926302433013916,
0.27078959345817566,
-0.038683339953422546,
0.39473462104797363,
0.235213503241539,
0.16767828166484833,
0.28503671288490295,
-0.24648961424827576,
0.12940140068531036,
-0.6257700324058533,
0.021626347675919533,
0.09707392007112503,
-0.053484853357076645,
0.38459381461143494,
0.04298679530620575,
0.20830319821834564,
-0.13420964777469635,
-0.23444277048110962,
0.0805567279458046,
-0.0950385183095932,
-0.16137142479419708,
-0.2004227638244629,
0.09211380779743195,
0.04543324559926987,
0.056163303554058075,
-0.32394400238990784,
-0.20235414803028107,
-0.18294574320316315,
0.13009531795978546,
0.268038272857666,
0.10000894963741302,
0.1839531511068344,
-0.08263080567121506,
0.21006734669208527,
0.1451139599084854,
-0.15465402603149414,
0.030120860785245895,
-0.4989067018032074,
-0.07506390661001205,
0.17681100964546204,
0.035089462995529175,
0.12879401445388794,
-0.03806999325752258,
0.10888887941837311,
0.14094731211662292,
0.2628345787525177,
-0.0033163707703351974,
-0.21789485216140747,
0.3813557028770447,
-0.17831014096736908,
-0.408547967672348,
0.10229046642780304,
-0.026367561891674995,
-0.020762378349900246,
-0.1616538166999817,
-0.14248742163181305,
-0.06847891956567764,
0.01987011916935444,
0.07455194741487503,
-0.3266844153404236,
-0.5774413347244263,
0.10149036347866058,
-0.11915494501590729,
0.06921321153640747,
0.06743665784597397,
0.5840865969657898,
-0.010356275364756584,
0.20939980447292328,
-0.5183776021003723,
0.03700273483991623,
0.3841400742530823,
0.2993955612182617,
0.45699766278266907,
-0.22007262706756592,
0.01791238784790039,
0.05339330434799194,
-0.4461086094379425,
0.23656363785266876,
0.21841058135032654,
0.24415025115013123,
-0.11446616798639297,
-0.19232702255249023,
0.09105533361434937,
-0.07614032179117203,
0.40970027446746826,
-0.2829534709453583,
0.4167273938655853,
0.3628411889076233,
-0.1739063411951065,
-0.2969468832015991,
0.12107913941144943,
-0.0020828223787248135,
0.10126404464244843,
-0.3733639419078827,
0.18259738385677338,
0.23044079542160034,
0.024224642664194107,
-0.2581583559513092,
0.015023550018668175,
0.16721341013908386,
0.4510229527950287,
0.4619293510913849,
0.28305089473724365,
0.008550908416509628,
0.08074305951595306,
0.19793228805065155,
-0.3707926273345947,
0.15165062248706818,
-0.1683863252401352,
-0.019381757825613022,
-0.19128137826919556,
0.040817294269800186,
-0.5298503041267395,
-0.17727357149124146,
-0.3872585892677307,
-0.08815889805555344,
-0.19004563987255096,
0.30714717507362366,
0.10424188524484634,
0.07736081629991531,
-0.09271249175071716,
0.047635193914175034,
0.3853415250778198,
0.2807735204696655,
-0.157833531498909,
0.35761675238609314,
-0.5059365034103394,
-0.29339519143104553,
0.3969256579875946,
-0.3856600224971771,
-0.17344987392425537,
0.09973230957984924,
0.46791255474090576,
0.10503368079662323,
-0.16987530887126923,
-0.1375110000371933,
0.11445318162441254,
0.3514275550842285,
-0.34373560547828674,
-0.10909077525138855,
-0.005255312193185091,
-0.3375084102153778,
0.03781892731785774,
-0.19253958761692047,
0.5049104690551758,
0.03801710531115532,
-0.19609984755516052,
0.13039137423038483,
-0.12354955822229385
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Good idea :) we could even update the permissions after the file has been moved by shutil.move [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1899) and [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1646) actually.
Apparently they set the default 0600 for temporary files for security reasons, so let's update the umask only after the file has been moved
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 45
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Good idea :) we could even update the permissions after the file has been moved by shutil.move [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1899) and [here](https://github.com/huggingface/datasets/blob/f6b8251eb975f66a568356d2a40d86442c03beb9/src/datasets/arrow_dataset.py#L1646) actually.
Apparently they set the default 0600 for temporary files for security reasons, so let's update the umask only after the file has been moved
|
[
-0.14866788685321808,
0.1404377520084381,
-0.07720538973808289,
0.029416780918836594,
0.12957939505577087,
0.04635780677199364,
0.3478867709636688,
0.03462342545390129,
-0.1299448311328888,
0.02007579617202282,
-0.13891711831092834,
-0.06765900552272797,
0.018578698858618736,
-0.2712922692298889,
-0.03812156245112419,
0.18400724232196808,
0.18726703524589539,
-0.05057220160961151,
0.026001745834946632,
-0.15043768286705017,
-0.17447476089000702,
-0.20320162177085876,
-0.12159361690282822,
-0.08834195137023926,
-0.2847408056259155,
-0.14733757078647614,
0.14211073517799377,
0.2907128930091858,
-0.02680286392569542,
-0.20534327626228333,
0.3806237280368805,
0.6655223369598389,
0.1290060132741928,
0.1411432921886444,
-0.0001143173867603764,
-0.1695263832807541,
0.014489559456706047,
-0.09893066436052322,
-0.04808824136853218,
0.16560710966587067,
0.00561841856688261,
-0.17683637142181396,
-0.16704031825065613,
-0.12490933388471603,
-0.11642865091562271,
0.06794492900371552,
0.15166066586971283,
-0.636847972869873,
0.4671248495578766,
0.23607727885246277,
0.17518608272075653,
-0.08754577487707138,
-0.1900075078010559,
0.09389397501945496,
0.29602620005607605,
0.034091174602508545,
-0.15580183267593384,
0.1395673155784607,
0.31707772612571716,
-0.24802637100219727,
-0.07458295673131943,
0.052134688943624496,
-0.27016082406044006,
0.04134679213166237,
0.1690550446510315,
-0.1223844364285469,
-0.4245990812778473,
-0.5232911705970764,
0.1400275081396103,
0.14017634093761444,
0.587678074836731,
-0.13202528655529022,
-0.6810215711593628,
-0.17925848066806793,
0.09880904108285904,
0.15776018798351288,
0.34853026270866394,
0.3710080683231354,
0.15107351541519165,
0.31285324692726135,
-0.4745202660560608,
0.02690122462809086,
-0.17940694093704224,
0.06495629996061325,
0.25949129462242126,
0.02272873744368553,
-0.05612853541970253,
0.12273366749286652,
0.039380352944135666,
-0.1470482498407364,
0.22662925720214844,
0.13502530753612518,
-0.2991216778755188,
0.4194132685661316,
-0.245516836643219,
0.17749303579330444,
-0.22311149537563324,
0.43769410252571106,
0.17998555302619934,
0.4181918203830719,
0.08723828196525574,
0.20305494964122772,
0.07782627642154694,
0.1625785082578659,
-0.053440943360328674,
0.2625301778316498,
0.37959203124046326,
0.43616560101509094,
0.5410411953926086,
-0.17192243039608002,
-0.17750144004821777,
-0.03190981596708298,
0.03931960463523865,
-0.38631340861320496,
0.02167845331132412,
0.30150386691093445,
0.04887012019753456,
-0.1432591825723648,
0.10215992480516434,
0.05347653478384018,
-0.14530271291732788,
-0.14893852174282074,
0.02507084235548973,
0.3009737730026245,
0.04306530952453613,
-0.0739554911851883,
0.13843978941440582,
0.2581043839454651,
-0.028779715299606323,
-0.2274983525276184,
-0.041152965277433395,
-0.3239300549030304,
-0.28176581859588623,
0.40881964564323425,
0.36779341101646423,
-0.18788963556289673,
0.10118786245584488,
0.2275790274143219,
0.12572801113128662,
-0.19510433077812195,
0.4349652826786041,
-0.06727392226457596,
0.43826985359191895,
0.40450045466423035,
0.1662750393152237,
0.2871086299419403,
0.11790423840284348,
-0.003036992624402046,
-0.07218164950609207,
0.23935756087303162,
-0.24091589450836182,
-0.21447668969631195,
0.32115352153778076,
0.02232467383146286,
-0.11687710136175156,
0.2934524714946747,
-0.22961245477199554,
-0.0007313929381780326,
0.4634186029434204,
-0.03612404689192772,
0.459125280380249,
0.207007497549057,
-0.23148667812347412,
-0.38735708594322205,
-0.0402340404689312,
0.43321800231933594,
0.029907993972301483,
-0.08639192581176758,
-0.12368027865886688,
0.0183937419205904,
-0.04818737506866455,
0.39934903383255005,
-0.04717424511909485,
0.05483086034655571,
-0.15305586159229279,
0.1871628761291504,
0.4613816440105438,
-0.258733868598938,
-0.6373530626296997,
0.07264814525842667,
0.14655426144599915,
-0.07867979258298874,
0.2618921399116516,
0.08661781251430511,
0.03771282732486725,
-0.19498763978481293,
0.004364061169326305,
0.34235846996307373,
0.24051989614963531,
0.2537205219268799,
0.06634966284036636,
-0.007734204642474651,
-0.06023527309298515,
0.02000771276652813,
0.0013896824093535542,
0.29039350152015686,
0.37424352765083313,
-0.3105025291442871,
0.2526363134384155,
-0.18244487047195435,
0.24964101612567902,
0.5188258290290833,
0.1698431521654129,
-0.0004986252752132714,
-0.02316255494952202,
0.006813798565417528,
-0.5052882432937622,
0.28012898564338684,
-0.09908246994018555,
-0.3432284891605377,
-0.017061760649085045,
-0.5464768409729004,
0.0339362807571888,
-0.29512691497802734,
-0.2967863380908966,
-0.19558735191822052,
0.05668395012617111,
-0.07011411339044571,
0.06905154883861542,
-0.25280189514160156,
0.15932539105415344,
0.38450655341148376,
0.16054078936576843,
0.056641947478055954,
-0.14579343795776367,
0.1346713751554489,
-0.0816500186920166,
-0.12074921280145645,
-0.18074491620063782,
-0.049220457673072815,
0.30018502473831177,
-0.05706137791275978,
-0.27750715613365173,
0.33852237462997437,
0.17911683022975922,
0.07632406800985336,
0.0040689981542527676,
0.25480252504348755,
0.023038363084197044,
0.20919179916381836,
0.08595338463783264,
-0.22230353951454163,
-0.1074582189321518,
-0.08142393827438354,
-0.25974029302597046,
0.45295029878616333,
-0.0995970293879509,
-0.06421323120594025,
-0.1837930530309677,
0.2674837112426758,
0.17736712098121643,
-0.009665885008871555,
-0.16972970962524414,
-0.16190271079540253,
0.05024276301264763,
0.2686874568462372,
0.38280394673347473,
0.1910722404718399,
0.0564030222594738,
0.028907326981425285,
0.4421549141407013,
0.22898811101913452,
0.14016102254390717,
-0.051192525774240494,
-0.13171698153018951,
0.08945377916097641,
0.2256499081850052,
0.36718085408210754,
0.29419249296188354,
0.0511351116001606,
0.2727995812892914,
-0.12565350532531738,
0.3981510400772095,
-0.18897822499275208,
-0.02325216494500637,
-0.058945123106241226,
0.030311280861496925,
-0.13923925161361694,
-0.10111378878355026,
-0.017982028424739838,
-0.13651971518993378,
0.3469213843345642,
0.05435311421751976,
0.16543419659137726,
-0.3396596908569336,
-0.12098243087530136,
-0.1977425217628479,
-0.134122833609581,
0.23950771987438202,
-0.024376966059207916,
-0.5376531481742859,
-0.07394611090421677,
-0.18177613615989685,
0.20304709672927856,
-0.08115110546350479,
0.20604312419891357,
-0.19020670652389526,
0.03855525329709053,
-0.014493492431938648,
-0.07309948652982712,
-0.290483295917511,
0.09845517575740814,
0.10592231899499893,
-0.006964520551264286,
0.23050382733345032,
-0.6279547214508057,
0.17806454002857208,
0.0020351246930658817,
0.25537556409835815,
-0.4001026153564453,
-0.03423440828919411,
-0.25473520159721375,
-0.008198135532438755,
0.0870366171002388,
-0.3297150731086731,
0.08619149029254913,
-0.15027286112308502,
0.058318376541137695,
0.008336848579347134,
-0.2916874587535858,
-0.20983874797821045,
0.031151574105024338,
0.0012743418337777257,
0.013298317790031433,
-0.2869871258735657,
-0.13879932463169098,
-0.19226257503032684,
-0.2366519272327423,
0.6767063140869141,
0.1732080727815628,
0.12165481597185135,
-0.047319523990154266,
-0.17078366875648499,
-0.4097977578639984,
-0.22928519546985626,
0.1703750491142273,
-0.33442580699920654,
-0.5908141732215881,
0.3133070468902588,
-0.45030677318573,
-0.41572433710098267,
0.0389995202422142,
0.15101559460163116,
0.05546623468399048,
0.4662562608718872,
-0.020336870104074478,
-0.23315507173538208,
-0.30584824085235596,
0.22120144963264465,
-0.21928350627422333,
0.1822490692138672,
0.014100366272032261,
0.041410937905311584,
0.1408328264951706,
0.02442534826695919,
-0.1305050104856491,
0.1217968612909317,
-0.018033238127827644,
-0.3016531765460968,
0.08221074193716049,
0.20108778774738312,
0.20492412149906158,
0.5803416967391968,
0.41039949655532837,
0.2980840802192688,
0.2216835767030716,
0.18894575536251068,
0.6551340818405151,
0.021019505336880684,
-0.2211460918188095,
0.24251948297023773,
-0.03966740891337395,
-0.04716388136148453,
0.05398613587021828,
0.04498744010925293,
0.0420311838388443,
0.037869252264499664,
0.013037554919719696,
-0.23989573121070862,
-0.5029901266098022,
-0.2120031863451004,
-0.19949425756931305,
0.09044981747865677,
0.09919008612632751,
0.12031958252191544,
-0.22870446741580963,
-0.22254973649978638,
0.03507431596517563,
0.29911062121391296,
0.17769046127796173,
0.3196597695350647,
-0.3608705699443817,
0.1082676574587822,
-0.19857315719127655,
0.4802364408969879,
-0.012387007474899292,
0.5126089453697205,
-0.15565066039562225,
0.18745779991149902,
0.21411800384521484,
0.3622051179409027,
0.4309043288230896,
-0.4064315855503082,
0.19574624300003052,
-0.1144280880689621,
0.13608406484127045,
0.12786950170993805,
-0.2462312877178192,
0.33912989497184753,
0.41845473647117615,
0.19343356788158417,
0.2180483043193817,
0.12385891377925873,
-0.18207766115665436,
-0.38306254148483276,
-0.19496266543865204,
-0.0845632255077362,
-0.12239908427000046,
0.019401444122195244,
0.09197807312011719,
-0.2639193832874298,
-0.03844727575778961,
0.26746296882629395,
-0.4127899706363678,
-0.2445773184299469,
0.003987811505794525,
-0.1975441724061966,
0.12053251266479492,
-0.07658764719963074,
-0.17166605591773987,
0.38381266593933105,
-0.01901434175670147,
0.0007577843498438597,
0.4223491847515106,
-0.11193481832742691,
0.18203316628932953,
0.44540974497795105,
-0.28941619396209717,
0.15306439995765686,
-0.29050037264823914,
-0.25870054960250854,
0.330809623003006,
0.09025908261537552,
-0.3466542065143585,
0.01193625945597887,
0.20443737506866455,
-0.06436271220445633,
-0.286259263753891,
-0.08649635314941406,
0.04355250671505928,
0.049952562898397446,
-0.13651829957962036,
-0.6606180667877197,
0.2589046359062195,
0.5378466248512268,
-0.28049761056900024,
0.23544546961784363,
-0.12158733606338501,
-0.37394219636917114,
0.08993552625179291,
0.12441239506006241,
0.7908814549446106,
-0.19477638602256775,
0.38480690121650696,
-0.40298283100128174,
-0.008862089365720749,
0.12853838503360748,
-0.4445779621601105,
0.08155246078968048,
-0.5112552046775818,
-0.3367190659046173,
-0.06414233148097992,
-0.13370946049690247,
0.033064693212509155,
0.37079355120658875,
-0.04970628768205643,
0.15437254309654236,
-0.1544705331325531,
-0.05729061737656593,
-0.16368885338306427,
-0.15316492319107056,
-0.3730820119380951,
-0.23707839846611023,
0.1458006054162979,
0.09375712275505066,
-0.14706218242645264,
0.1671079844236374,
0.050702132284641266,
-0.0046257274225354195,
-0.2059447169303894,
0.2701794505119324,
-0.30426281690597534,
0.020090525969862938,
-0.7715394496917725,
0.2240673005580902,
-0.1763983964920044,
0.044541988521814346,
0.08037296682596207,
0.3250466287136078,
0.4931790828704834,
0.35522183775901794,
-0.03897639736533165,
0.08926299214363098,
0.3555329442024231,
0.11776769906282425,
-0.16836969554424286,
0.0776086375117302,
0.3183532655239105,
0.17128939926624298,
0.10535483807325363,
-0.31856203079223633,
-0.16088131070137024,
-0.26626360416412354,
-0.352258563041687,
0.1789836883544922,
-0.057051122188568115,
-0.2564051151275635,
0.0495348758995533,
-0.15366633236408234,
-0.04810973256826401,
0.0013126368867233396,
0.05055933818221092,
0.43362921476364136,
0.00609807251021266,
0.5138247013092041,
-0.38613027334213257,
-0.3219294846057892,
0.046353839337825775,
0.6867850422859192,
-0.12127068638801575,
-0.17530034482479095,
0.25780197978019714,
-0.22702714800834656,
-0.2255561351776123,
-0.15342718362808228,
0.12180352956056595,
0.1055649071931839,
-0.27155566215515137,
0.08940670639276505,
0.11677060276269913,
-0.08391115069389343,
0.2019042670726776,
-0.4685644805431366,
0.05259817838668823,
0.044713083654642105,
0.080133356153965,
-0.36716973781585693,
-0.47778400778770447,
-0.24790778756141663,
-0.2256655991077423,
0.21675428748130798,
0.21463164687156677,
-0.48041245341300964,
0.15370282530784607,
-0.017409134656190872,
-0.21900027990341187,
-0.11487236618995667,
-0.06034316495060921,
0.10701653361320496,
0.28442618250846863,
0.011101101525127888,
0.008008547127246857,
-0.19909532368183136,
-0.11154145002365112,
-0.0861450731754303,
-0.13666953146457672,
-0.15925319492816925,
-0.1084480881690979,
0.15009717643260956,
0.15915583074092865,
-0.3309411108493805,
0.05986741557717323,
-0.4955001175403595,
-0.08865364640951157,
-0.4539221525192261,
0.029223673045635223,
0.41491952538490295,
0.18819698691368103,
0.32451140880584717,
0.09235550463199615,
0.056050945073366165,
-0.07511790096759796,
0.15026530623435974,
-0.2506343424320221,
-0.30604663491249084,
-0.20193633437156677,
0.22434914112091064,
-0.2615666091442108,
-0.012210833840072155,
0.230712428689003,
-0.14341193437576294,
0.08363961428403854,
0.07022053003311157,
0.1397668868303299,
-0.06603825837373734,
-0.036429520696401596,
0.012190498411655426,
0.3226590156555176,
0.13969303667545319,
-0.06910961121320724,
-0.010676320642232895,
0.28282320499420166,
0.07459370791912079,
0.033400971442461014,
-0.23584894835948944,
0.25279292464256287,
-0.1717260777950287,
0.07322271168231964,
0.29590702056884766,
0.19935306906700134,
-0.2549945116043091,
0.08986131101846695,
-0.04004992917180061,
0.054151471704244614,
-0.42458730936050415,
0.33970174193382263,
-0.09816865622997284,
0.11988180130720139,
0.09367184340953827,
0.2689906656742096,
0.19475586712360382,
0.10341246426105499,
0.35013914108276367,
0.16343849897384644,
0.23263497650623322,
0.21079814434051514,
-0.3692205250263214,
0.19714203476905823,
-0.6348793506622314,
0.09334102272987366,
0.0562867633998394,
-0.08659838140010834,
0.3066340386867523,
0.15212157368659973,
0.30388033390045166,
0.004367779474705458,
-0.25963881611824036,
0.05651135370135307,
-0.07708212733268738,
-0.10694128274917603,
-0.1304062157869339,
0.06529059261083603,
0.11955535411834717,
-0.016908232122659683,
-0.2276173233985901,
-0.14215447008609772,
-0.15242700278759003,
0.12549594044685364,
0.2167191356420517,
0.1407480239868164,
0.1779337376356125,
-0.08393605798482895,
0.16795703768730164,
0.11249721795320511,
-0.2065458446741104,
-0.1242290511727333,
-0.23509401082992554,
-0.15807777643203735,
0.2427181750535965,
0.08407797664403915,
0.2005331665277481,
0.013467881828546524,
0.11361977458000183,
0.29425597190856934,
0.3542519509792328,
0.02978299930691719,
-0.3016219735145569,
0.35247480869293213,
-0.11501697450876236,
-0.3615794777870178,
0.07311072200536728,
0.01234916877001524,
-0.0762355849146843,
-0.10622736811637878,
-0.22836525738239288,
-0.01784357614815235,
0.11968658119440079,
0.03880738094449043,
-0.13913415372371674,
-0.5474355816841125,
0.032991886138916016,
0.013050769455730915,
0.1663212925195694,
0.07378567010164261,
0.4963419437408447,
0.027946947142481804,
0.2006753385066986,
-0.563328742980957,
0.03455609828233719,
0.4846206307411194,
0.2992676794528961,
0.4735639989376068,
-0.1852981001138687,
-0.019008927047252655,
-0.009206844493746758,
-0.4812476634979248,
0.07532349973917007,
0.23967905342578888,
0.3669992685317993,
-0.03173058107495308,
-0.21184766292572021,
0.08985540270805359,
-0.1715332567691803,
0.44357892870903015,
-0.3060115575790405,
0.42684146761894226,
0.3170054256916046,
-0.2341449111700058,
-0.2756790220737457,
0.17601138353347778,
-0.014743960462510586,
0.16408178210258484,
-0.4100310206413269,
0.2371118664741516,
0.003371537895873189,
0.040764112025499344,
-0.19057413935661316,
-0.019830012694001198,
0.16663911938667297,
0.4183311462402344,
0.4170881509780884,
0.24839967489242554,
-0.04172689467668533,
0.06294981390237808,
0.2919254004955292,
-0.43171101808547974,
0.13779039680957794,
-0.23352386057376862,
-0.10244474560022354,
-0.2049257755279541,
0.09117303788661957,
-0.5365710258483887,
-0.25655463337898254,
-0.40641292929649353,
0.08364055305719376,
-0.12799498438835144,
0.26292043924331665,
0.05298187583684921,
0.1703781932592392,
-0.059997688978910446,
0.09543953835964203,
0.30645138025283813,
0.24371680617332458,
-0.11010465025901794,
0.3391706943511963,
-0.4970090687274933,
-0.2819468379020691,
0.40789005160331726,
-0.32864460349082947,
-0.18217135965824127,
-0.005823632702231407,
0.39234471321105957,
0.15608850121498108,
-0.23638474941253662,
-0.04348157346248627,
0.1604723185300827,
0.3031429648399353,
-0.31538698077201843,
-0.13804811239242554,
0.05526653304696083,
-0.2985894978046417,
0.08156450092792511,
-0.15724702179431915,
0.40837663412094116,
0.08653070777654648,
-0.22822639346122742,
0.10883386433124542,
-0.13530726730823517
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Would it be possible to actually set the umask based on a user provided argument? For example, a popular usecase my team has is using a shared file-system for processing datasets. This may involve writing/deleting other files, or changing filenames, which a -rw-r--r-- wouldn't fix.
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 45
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Would it be possible to actually set the umask based on a user provided argument? For example, a popular usecase my team has is using a shared file-system for processing datasets. This may involve writing/deleting other files, or changing filenames, which a -rw-r--r-- wouldn't fix.
|
[
-0.1471501886844635,
0.09206637740135193,
-0.05052259564399719,
-0.05057469755411148,
-0.10244114696979523,
0.06507504731416702,
0.27706271409988403,
0.0333130769431591,
-0.12057281285524368,
0.07548229396343231,
-0.08884090930223465,
-0.12017839401960373,
0.0910978764295578,
-0.4219699501991272,
-0.1925661712884903,
0.23253364861011505,
0.1333577036857605,
-0.01766323484480381,
0.15074780583381653,
-0.1546306610107422,
-0.21149742603302002,
-0.013695956207811832,
-0.08542565256357193,
-0.07912423461675644,
-0.3535497784614563,
-0.17215469479560852,
0.16812771558761597,
0.27066490054130554,
-0.056583113968372345,
-0.0785234272480011,
0.22508230805397034,
0.6471478939056396,
0.14977164566516876,
0.05381028354167938,
-0.00011989402992185205,
-0.2870416045188904,
0.0061742160469293594,
-0.15166786313056946,
-0.06340328603982925,
0.1870574802160263,
0.08874699473381042,
0.06735064834356308,
-0.10307928174734116,
-0.1247900053858757,
-0.0944090187549591,
0.22612035274505615,
0.18142203986644745,
-0.7467898726463318,
0.3664300739765167,
0.17482124269008636,
0.10952548682689667,
-0.19688798487186432,
-0.38635876774787903,
0.027792969718575478,
0.17780715227127075,
0.1226096823811531,
-0.12850971519947052,
0.049099795520305634,
0.4465579092502594,
-0.2761487662792206,
-0.09581675380468369,
-0.0698409229516983,
-0.267317533493042,
0.09566041827201843,
0.16451598703861237,
-0.13033515214920044,
-0.24298200011253357,
-0.3994428217411041,
0.14509017765522003,
0.11066684126853943,
0.6790685653686523,
-0.11666104942560196,
-0.5629661083221436,
-0.11351440846920013,
0.11431477963924408,
0.3843246400356293,
0.32925936579704285,
0.27660271525382996,
-0.16324134171009064,
0.34129849076271057,
-0.4492841362953186,
0.18957698345184326,
-0.15688373148441315,
0.10351216793060303,
0.1970236748456955,
0.10236816108226776,
0.0025069823022931814,
0.06778746843338013,
0.011500862427055836,
-0.028823968023061752,
0.22652332484722137,
0.058140747249126434,
-0.2915637493133545,
0.45325592160224915,
-0.1634398251771927,
0.044815439730882645,
-0.20364263653755188,
0.42428940534591675,
0.22303900122642517,
0.3683878779411316,
0.2776872217655182,
0.2417338639497757,
-0.04897988960146904,
0.3250260353088379,
0.002622318221256137,
0.22215048968791962,
0.43809184432029724,
0.30346184968948364,
0.5250225067138672,
-0.3199169933795929,
-0.11069909483194351,
0.05349186062812805,
0.028156161308288574,
-0.31997406482696533,
0.00044955636258237064,
0.27183160185813904,
-0.025618577376008034,
-0.23009879887104034,
0.15154702961444855,
0.007420120760798454,
-0.25161662697792053,
-0.22014620900154114,
-0.014600753784179688,
0.3301812708377838,
0.11046396940946579,
0.021260878071188927,
0.17417696118354797,
0.25906240940093994,
-0.04705425351858139,
-0.2397485226392746,
0.06585557758808136,
-0.3669917583465576,
-0.3004579246044159,
0.44151249527931213,
0.42177650332450867,
0.09304054826498032,
0.05566166713833809,
0.1959335058927536,
0.1799553632736206,
-0.2045561522245407,
0.40452840924263,
-0.010559380985796452,
0.4755045175552368,
0.2911123037338257,
0.4127853512763977,
0.3071923553943634,
0.15261052548885345,
-0.1512579470872879,
-0.1715553104877472,
0.3212669789791107,
-0.23732683062553406,
-0.13875821232795715,
0.32561689615249634,
-0.009579400531947613,
-0.06720432639122009,
0.2984544634819031,
-0.2900683581829071,
0.04070580378174782,
0.46712368726730347,
-0.034304432570934296,
0.46793484687805176,
0.23952703177928925,
-0.1093883290886879,
-0.37183696031570435,
-0.1533467322587967,
0.2511177957057953,
0.012816354632377625,
-0.15370549261569977,
-0.1496698409318924,
0.027478640899062157,
-0.11709469556808472,
0.5004413723945618,
-0.010764503851532936,
0.06908223032951355,
-0.17807325720787048,
0.20327100157737732,
0.4645266830921173,
-0.05213814973831177,
-0.5090233683586121,
0.06843540072441101,
0.242068812251091,
-0.004206259734928608,
0.30276358127593994,
0.1540338397026062,
-0.1393565982580185,
-0.15940982103347778,
0.13486994802951813,
0.34900084137916565,
0.14409205317497253,
0.1884935051202774,
0.06461269408464432,
0.005975231993943453,
-0.1699061244726181,
-0.02775358036160469,
0.037337951362133026,
0.2557498514652252,
0.3359966576099396,
-0.34381866455078125,
0.3285372257232666,
-0.2910955548286438,
0.2032375931739807,
0.39478251338005066,
0.19779843091964722,
-0.021380530670285225,
-0.03698013722896576,
0.0734885185956955,
-0.301843523979187,
0.24685294926166534,
-0.11586363613605499,
-0.23524297773838043,
0.16871847212314606,
-0.5432305932044983,
0.18679453432559967,
-0.26269909739494324,
-0.05731430649757385,
-0.1396663635969162,
-0.02101755142211914,
0.1543939858675003,
-0.042526017874479294,
-0.30756813287734985,
0.08693495392799377,
0.32201340794563293,
0.1850200593471527,
-0.007995644584298134,
-0.13419349491596222,
0.025867458432912827,
-0.07608572393655777,
-0.09818772226572037,
-0.17632001638412476,
-0.09620051831007004,
0.235463947057724,
0.12450313568115234,
-0.2654781639575958,
0.3121873736381531,
0.19754056632518768,
-0.05068514496088028,
-0.19365844130516052,
0.29766619205474854,
-0.06724303960800171,
0.18819621205329895,
0.09365566819906235,
-0.1430312842130661,
-0.12927614152431488,
-0.14050011336803436,
-0.3475039303302765,
0.5174829959869385,
-0.08013428002595901,
-0.12006128579378128,
-0.1488008350133896,
0.29071271419525146,
0.18238800764083862,
-0.035216446965932846,
-0.11652665585279465,
-0.10509324073791504,
0.13710473477840424,
0.1894478052854538,
0.41158804297447205,
0.13009831309318542,
0.13904112577438354,
-0.019923247396945953,
0.3039119839668274,
0.1520860344171524,
0.1559000462293625,
0.06406740844249725,
-0.05928519368171692,
0.1174716204404831,
0.257426381111145,
0.3071279227733612,
0.3168766498565674,
0.0771375298500061,
0.24864964187145233,
-0.1861853450536728,
0.29943764209747314,
-0.17617683112621307,
-0.014917587861418724,
-0.07440675795078278,
-0.19402775168418884,
-0.1732611358165741,
-0.21222883462905884,
-0.07874689996242523,
-0.036578428000211716,
0.19738200306892395,
-0.10330389440059662,
0.05942999944090843,
-0.392262727022171,
-0.1274551898241043,
-0.10771975666284561,
-0.1807710975408554,
0.25953319668769836,
0.0036948365159332752,
-0.510474443435669,
-0.12437623739242554,
-0.05584881827235222,
0.26982393860816956,
-0.04690629616379738,
0.2797729969024658,
-0.20464684069156647,
0.25116488337516785,
-0.1471158117055893,
-0.02175173908472061,
-0.1354895979166031,
0.1627022922039032,
0.13629813492298126,
-0.011604481376707554,
0.22514961659908295,
-0.5673701763153076,
0.11501247435808182,
0.009725297801196575,
0.19682584702968597,
-0.26957130432128906,
0.018731798976659775,
-0.1757623255252838,
0.0869116485118866,
0.07481247931718826,
-0.36060333251953125,
-0.04618396610021591,
-0.2265409231185913,
-0.09107617288827896,
-0.08368752896785736,
-0.3345741629600525,
-0.11628908663988113,
-0.02342626079916954,
0.16397520899772644,
-0.13111446797847748,
-0.22629117965698242,
0.020182203501462936,
-0.14110200107097626,
-0.12894654273986816,
0.5307950973510742,
0.13322733342647552,
0.22470985352993011,
-0.17567215859889984,
-0.1722618192434311,
-0.4226783812046051,
-0.12573625147342682,
0.1453992873430252,
-0.32454636693000793,
-0.617448627948761,
0.3266461193561554,
-0.4711765646934509,
-0.31621211767196655,
-0.007634407840669155,
0.15871183574199677,
0.07544412463903427,
0.5489590167999268,
0.06612534075975418,
-0.18262383341789246,
-0.2251124233007431,
0.11580141633749008,
-0.190520241856575,
0.10722282528877258,
-0.0054893954657018185,
0.034658417105674744,
0.14487521350383759,
-0.0102740079164505,
-0.14964528381824493,
0.10108616948127747,
-0.1054440438747406,
-0.28457334637641907,
0.17953355610370636,
0.10752474516630173,
0.19620142877101898,
0.53202223777771,
0.4016359746456146,
0.449649840593338,
0.23469917476177216,
0.322468101978302,
0.6212495565414429,
0.1091480553150177,
0.007069401443004608,
0.10998550057411194,
0.05644524097442627,
-0.1976519674062729,
0.1928110271692276,
0.13784068822860718,
-0.14251823723316193,
0.025061599910259247,
-0.07512076944112778,
-0.16839008033275604,
-0.5382798314094543,
-0.022607577964663506,
-0.38737475872039795,
0.08684896677732468,
-0.026056310161948204,
0.19592858850955963,
-0.26851171255111694,
-0.18003161251544952,
0.030775323510169983,
0.3571227490901947,
0.1517266035079956,
0.3505578637123108,
-0.6412394046783447,
0.09082280099391937,
-0.3167809844017029,
0.47198954224586487,
-0.042503323405981064,
0.45213353633880615,
-0.24611511826515198,
0.2270354926586151,
0.16411741077899933,
0.327558308839798,
0.327100545167923,
-0.4988216161727905,
0.32677945494651794,
0.009353050962090492,
0.008740331046283245,
0.1913572996854782,
-0.11924980580806732,
0.3321491479873657,
0.36683014035224915,
0.09374263137578964,
0.1542961299419403,
0.16097575426101685,
-0.09152385592460632,
-0.5370305180549622,
-0.3308063745498657,
-0.11164345592260361,
-0.23677043616771698,
0.217008575797081,
0.10543958842754364,
-0.186261847615242,
-0.016410211101174355,
0.3671911656856537,
-0.47056883573532104,
-0.09947565197944641,
0.027423791587352753,
-0.3810950517654419,
0.2071993499994278,
0.15393252670764923,
-0.1085578128695488,
0.23312421143054962,
-0.04775765538215637,
-0.14715108275413513,
0.3043542504310608,
-0.028973838314414024,
0.3442012667655945,
0.3182343542575836,
-0.26730409264564514,
0.2928967773914337,
-0.21886588633060455,
-0.33129939436912537,
0.4388861656188965,
0.08419381082057953,
-0.2857551574707031,
-0.0908563882112503,
0.24059279263019562,
-0.08958543837070465,
-0.22429722547531128,
-0.143464595079422,
-0.13657979667186737,
0.06769958883523941,
-0.1706235110759735,
-0.6507311463356018,
0.21933786571025848,
0.6206007599830627,
-0.35468924045562744,
0.27531370520591736,
-0.06872130930423737,
-0.4185909330844879,
0.3697207272052765,
0.17524375021457672,
0.8520855903625488,
-0.19543014466762543,
0.43178078532218933,
-0.539302408695221,
0.05618121847510338,
-0.009326210245490074,
-0.5421406030654907,
0.09541759639978409,
-0.48270952701568604,
-0.3196132183074951,
-0.15986567735671997,
-0.1152694970369339,
0.09652773290872574,
0.5368814468383789,
-0.0007463492220267653,
0.08837893605232239,
-0.05653950199484825,
-0.1894967406988144,
-0.04728449136018753,
-0.17385633289813995,
-0.44327691197395325,
-0.2074543684720993,
0.25500690937042236,
0.04838956892490387,
-0.08105359226465225,
0.018403885886073112,
0.07283824682235718,
0.08736459165811539,
-0.26215076446533203,
0.17075663805007935,
-0.3432575762271881,
-0.03462311998009682,
-0.7361094355583191,
0.05973976105451584,
-0.14826898276805878,
0.04141729697585106,
0.1948917657136917,
0.43655508756637573,
0.419099897146225,
0.36781609058380127,
0.003450358984991908,
0.1286638081073761,
0.2911278307437897,
0.19329847395420074,
-0.11876790225505829,
0.005705535411834717,
0.267921507358551,
0.19809366762638092,
0.08601858466863632,
-0.2034710943698883,
-0.12119606137275696,
-0.3485173285007477,
-0.3933887481689453,
0.05394318699836731,
0.10855024307966232,
-0.26800066232681274,
-0.09995579719543457,
-0.31097474694252014,
-0.055523134768009186,
0.0946824848651886,
0.020819760859012604,
0.43372049927711487,
-0.011769110336899757,
0.5506778359413147,
-0.3282584846019745,
-0.2934187650680542,
0.06344734877347946,
0.6677953600883484,
-0.1944482922554016,
-0.24920707941055298,
0.1311030238866806,
-0.29617783427238464,
-0.21818527579307556,
-0.12238974869251251,
0.08971013128757477,
0.28303855657577515,
-0.22775673866271973,
-0.06522956490516663,
-0.007819992490112782,
-0.1830441653728485,
0.24903880059719086,
-0.4417334794998169,
0.12383954972028732,
0.2165519744157791,
0.08228813856840134,
-0.3332439661026001,
-0.301597535610199,
-0.275930255651474,
-0.18185082077980042,
0.2280920445919037,
0.2955189347267151,
-0.6359655261039734,
0.13830269873142242,
0.1753513514995575,
-0.1639893352985382,
-0.23781181871891022,
0.010697998106479645,
0.1082938089966774,
0.0529198981821537,
0.14607657492160797,
-0.13914111256599426,
-0.17091666162014008,
-0.14047230780124664,
-0.05739641934633255,
0.04525964334607124,
-0.09434205293655396,
-0.07158219069242477,
0.189633309841156,
0.16896715760231018,
-0.42973610758781433,
0.24337446689605713,
-0.4658852219581604,
-0.07275474816560745,
-0.5211846232414246,
0.03723285347223282,
0.44001173973083496,
0.09621769934892654,
0.32772302627563477,
0.17764338850975037,
-0.016768354922533035,
-0.31440120935440063,
0.14125680923461914,
-0.1770421415567398,
-0.2571637034416199,
-0.21366667747497559,
0.18408475816249847,
-0.3134494721889496,
-0.08584312349557877,
0.34309104084968567,
-0.022758034989237785,
0.16735759377479553,
0.12697851657867432,
0.03578383848071098,
0.06504136323928833,
-0.04157857596874237,
0.011366811580955982,
0.2966184914112091,
-0.1352153867483139,
-0.05555858835577965,
0.020754843950271606,
0.3500751554965973,
0.02641374245285988,
0.1389428675174713,
-0.24979358911514282,
0.21742166578769684,
-0.12841033935546875,
0.02364717423915863,
0.4656292498111725,
0.15407992899417877,
-0.4179784655570984,
0.18083344399929047,
-0.19816096127033234,
0.14398746192455292,
-0.34733259677886963,
0.28579065203666687,
0.003998300526291132,
0.04702675715088844,
0.12415651977062225,
0.14425235986709595,
0.07800302654504776,
0.24470576643943787,
0.24671930074691772,
0.20318639278411865,
0.21009771525859833,
0.2925574779510498,
-0.3740953505039215,
0.15250776708126068,
-0.6392159461975098,
0.09233146905899048,
0.05736895650625229,
0.03862977772951126,
0.3066132366657257,
0.12077688425779343,
0.045515671372413635,
0.14421884715557098,
-0.1720227748155594,
0.08899202942848206,
-0.17066644132137299,
-0.08452015370130539,
-0.16405881941318512,
-0.02271939627826214,
0.07303841412067413,
-0.16714411973953247,
-0.22943812608718872,
-0.3076394200325012,
-0.1627291589975357,
0.13992314040660858,
0.29154741764068604,
0.1834622174501419,
0.21290619671344757,
-0.012916973792016506,
0.07763966917991638,
0.04924006760120392,
-0.29989734292030334,
-0.20141832530498505,
-0.3289656639099121,
-0.07475561648607254,
0.3622370660305023,
0.04532832279801369,
0.14281253516674042,
0.09104534983634949,
0.14894823729991913,
0.2524823546409607,
0.21232084929943085,
0.08967503905296326,
-0.30447903275489807,
0.16894786059856415,
-0.01945500448346138,
-0.3877969980239868,
0.032374441623687744,
-0.011439886875450611,
-0.0327792726457119,
-0.07193207740783691,
-0.18534444272518158,
-0.11226849257946014,
0.020880145952105522,
0.03750190883874893,
-0.10523808002471924,
-0.42902272939682007,
0.15870487689971924,
-0.03382927551865578,
0.19280388951301575,
0.0421411395072937,
0.3670752942562103,
0.026292607188224792,
0.21010452508926392,
-0.39655357599258423,
-0.005846751853823662,
0.42311692237854004,
0.1866992861032486,
0.46271997690200806,
-0.18756617605686188,
0.03949063643813133,
-0.14629992842674255,
-0.3878421187400818,
0.1253441423177719,
0.24416202306747437,
0.3161039650440216,
-0.028806263580918312,
-0.35110336542129517,
0.19668635725975037,
-0.07667428255081177,
0.5007020831108093,
-0.11721447855234146,
0.22036577761173248,
0.4526956081390381,
-0.28068387508392334,
-0.29369398951530457,
0.2575284540653229,
-0.011424687691032887,
0.13738545775413513,
-0.42555028200149536,
0.1505647748708725,
0.06130610406398773,
0.017689824104309082,
-0.1303207278251648,
-0.1569136381149292,
0.16898702085018158,
0.5910173058509827,
0.31619301438331604,
0.2963951826095581,
-0.055100273340940475,
-0.029119588434696198,
0.4183228611946106,
-0.28775471448898315,
0.24198926985263824,
-0.240780770778656,
-0.13497096300125122,
-0.16516058146953583,
0.1666346937417984,
-0.6858278512954712,
-0.25403323769569397,
-0.34173494577407837,
0.02973146177828312,
-0.16837026178836823,
0.219937264919281,
0.046232957392930984,
0.2281644642353058,
-0.1728629171848297,
0.1377336084842682,
0.3757641613483429,
0.38087886571884155,
-0.14946295320987701,
0.4492858350276947,
-0.4867345094680786,
-0.00734111201018095,
0.25010761618614197,
-0.22293145954608917,
-0.170930877327919,
-0.08036620914936066,
0.35175684094429016,
0.12708888947963715,
-0.2698920965194702,
0.1220112219452858,
0.027054516598582268,
0.3331514894962311,
-0.27217331528663635,
-0.10104351490736008,
0.006984713487327099,
-0.24729590117931366,
-0.04898453876376152,
-0.15640278160572052,
0.3385000228881836,
0.1570708155632019,
-0.21794837713241577,
0.03385007008910179,
-0.3073437809944153
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Note that you can get the cache files of a dataset with the `cache_files` attributes.
Then you can `chmod` those files and all the other cache files in the same directory.
Moreover we can probably keep the same permissions after each transform. This way you just need to set the permissions once after doing `load_dataset` for example, and then all the new transformed cached files will have the same permissions.
What do you think ?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 75
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Note that you can get the cache files of a dataset with the `cache_files` attributes.
Then you can `chmod` those files and all the other cache files in the same directory.
Moreover we can probably keep the same permissions after each transform. This way you just need to set the permissions once after doing `load_dataset` for example, and then all the new transformed cached files will have the same permissions.
What do you think ?
|
[
-0.11946822702884674,
0.2594236135482788,
-0.09670425206422806,
0.030385535210371017,
0.023178527131676674,
0.10834940522909164,
0.33913007378578186,
0.21172551810741425,
-0.33623436093330383,
-0.036823540925979614,
-0.14438743889331818,
0.022060565650463104,
0.010938557796180248,
-0.2525072991847992,
-0.030132489278912544,
0.07438836991786957,
0.22781069576740265,
0.120813749730587,
-0.11842923611402512,
-0.0778089389204979,
-0.07537411898374557,
-0.15563026070594788,
-0.06453379988670349,
-0.06881535798311234,
-0.2214253693819046,
-0.15285561978816986,
0.234474316239357,
0.14636830985546112,
0.06782680749893188,
-0.04603462293744087,
0.2212156504392624,
0.530070960521698,
0.13943685591220856,
0.12973152101039886,
-0.00011139969865325838,
-0.15181270241737366,
-0.0184242594987154,
-0.08940361440181732,
0.05359089747071266,
0.1944095641374588,
-0.13250476121902466,
-0.20936733484268188,
-0.276407390832901,
-0.15941061079502106,
-0.1122247502207756,
0.11670488864183426,
0.16420894861221313,
-0.6036273837089539,
0.5433731079101562,
0.14046134054660797,
0.19184932112693787,
-0.17892618477344513,
-0.4104807674884796,
0.08267687261104584,
0.2436182200908661,
0.07859372347593307,
-0.1785171926021576,
0.04801543429493904,
0.2731805443763733,
-0.07998073101043701,
-0.049896206706762314,
0.14044632017612457,
-0.2539244294166565,
0.023676671087741852,
0.23574431240558624,
-0.14084985852241516,
-0.27387017011642456,
-0.5522379875183105,
0.14366862177848816,
0.08342599868774414,
0.6017304062843323,
-0.1232600212097168,
-0.511813759803772,
-0.20266565680503845,
0.10506782680749893,
0.20665250718593597,
0.2712252140045166,
0.3691612482070923,
0.09368306398391724,
0.2965429723262787,
-0.5677489638328552,
-0.049612972885370255,
-0.17337197065353394,
-0.044534504413604736,
0.20272882282733917,
-0.11691927909851074,
-0.035912275314331055,
0.057854726910591125,
-0.02208649180829525,
-0.061276860535144806,
0.24351966381072998,
0.16879943013191223,
-0.36481302976608276,
0.3007422089576721,
-0.1860244870185852,
0.08122967928647995,
-0.2589001953601837,
0.4488408863544464,
0.1628776639699936,
0.3240204155445099,
0.09202989190816879,
0.1952231526374817,
0.07095842063426971,
0.14084261655807495,
-0.0613676980137825,
0.2960297167301178,
0.2489764243364334,
0.439375638961792,
0.49831539392471313,
-0.392860472202301,
-0.23317581415176392,
0.02595742978155613,
-0.0032003901433199644,
-0.3885253369808197,
0.04230460897088051,
0.3014147877693176,
0.005866604391485453,
-0.19410568475723267,
0.23180995881557465,
0.023073021322488785,
0.02777545526623726,
-0.20674850046634674,
0.034829530864953995,
0.2914711534976959,
0.13738244771957397,
-0.04859419912099838,
0.03129766508936882,
0.15315768122673035,
0.08779026567935944,
-0.40739890933036804,
-0.014228836633265018,
-0.3188684582710266,
-0.4200412929058075,
0.42487019300460815,
0.4544430077075958,
-0.15314942598342896,
-0.057280030101537704,
0.2649719715118408,
0.2661161720752716,
-0.19074317812919617,
0.2379845678806305,
-0.02167043276131153,
0.4578372538089752,
0.3296439051628113,
0.19381915032863617,
0.31199464201927185,
0.07201163470745087,
0.06076186150312424,
-0.14678619801998138,
0.2923784852027893,
-0.2984639108181,
-0.10558294504880905,
0.3784651458263397,
0.05579393729567528,
-0.01330274622887373,
0.3157949447631836,
-0.3977428674697876,
0.05883839726448059,
0.5510911345481873,
-0.17793792486190796,
0.37047693133354187,
0.2052340805530548,
-0.027376122772693634,
-0.3665218949317932,
-0.15808363258838654,
0.32506170868873596,
0.008228431455790997,
-0.033245377242565155,
0.01707707718014717,
0.029468923807144165,
-0.07307588309049606,
0.27708306908607483,
-0.07740640640258789,
0.08949695527553558,
-0.13274022936820984,
0.10823361575603485,
0.5130738615989685,
0.0005705352523364127,
-0.5620498657226562,
0.1342482715845108,
0.19256341457366943,
-0.17343290150165558,
0.2454901486635208,
0.009697086177766323,
0.11853360384702682,
-0.2128256857395172,
-0.2583194375038147,
0.35647380352020264,
0.17735779285430908,
0.25360825657844543,
0.1109803318977356,
0.0733589380979538,
0.04106880724430084,
-0.13297417759895325,
0.11544153839349747,
0.43330374360084534,
0.2992609441280365,
-0.18246261775493622,
0.1617094874382019,
-0.376642644405365,
0.2751658260822296,
0.4555325508117676,
-0.036531709134578705,
-0.10155171900987625,
-0.01766267605125904,
-0.007352218963205814,
-0.39465734362602234,
0.24729812145233154,
-0.31838977336883545,
-0.3896825611591339,
0.07556544244289398,
-0.4126987159252167,
0.04926477000117302,
-0.3918960690498352,
-0.16421326994895935,
-0.09876581281423569,
0.10220509767532349,
0.028506319969892502,
0.01248078141361475,
-0.36704421043395996,
0.13142727315425873,
0.46215954422950745,
0.23610670864582062,
-0.011071168817579746,
-0.16298924386501312,
0.13592927157878876,
-0.0919632837176323,
-0.03928370028734207,
-0.23354145884513855,
-0.022505026310682297,
0.3091943860054016,
-0.07419900596141815,
-0.2938153147697449,
0.21663407981395721,
0.018628768622875214,
0.17117971181869507,
-0.10681882500648499,
0.3129371702671051,
0.038264233618974686,
0.0255692508071661,
0.13222099840641022,
-0.28721094131469727,
-0.13486379384994507,
-0.11010872572660446,
-0.1841520369052887,
0.31229275465011597,
-0.15726995468139648,
-0.0030585997737944126,
-0.17040404677391052,
0.22141000628471375,
0.17165735363960266,
-0.07357034832239151,
-0.19878189265727997,
-0.16610659658908844,
-0.08806068450212479,
0.15407013893127441,
0.4002363085746765,
0.19949108362197876,
0.1589411348104477,
0.06835580617189407,
0.3487054407596588,
0.1581219583749771,
0.07298470288515091,
-0.03985948488116264,
-0.12381257861852646,
0.11629576236009598,
0.11393124610185623,
0.42159005999565125,
0.24963834881782532,
0.062409576028585434,
0.3382241725921631,
-0.1299830824136734,
0.32259103655815125,
-0.1342460811138153,
-0.011377166956663132,
-0.15507808327674866,
0.07260311394929886,
-0.12519600987434387,
-0.19601674377918243,
0.02529401145875454,
0.013151210732758045,
0.24325156211853027,
0.1521943062543869,
0.07365423440933228,
-0.32087552547454834,
-0.053104743361473083,
-0.24785974621772766,
-0.19402123987674713,
0.21869239211082458,
-0.053188808262348175,
-0.4666418731212616,
0.035102419555187225,
-0.21372658014297485,
0.12077613174915314,
-0.042089298367500305,
0.2620496153831482,
-0.217908576130867,
0.18830150365829468,
-0.0940762311220169,
-0.09550199657678604,
-0.29508963227272034,
0.2740039527416229,
-0.016244931146502495,
0.014099218882620335,
0.2692718207836151,
-0.7202321887016296,
0.08227661997079849,
-0.10379200428724289,
0.33514297008514404,
-0.33260056376457214,
-0.0013954289024695754,
-0.16773664951324463,
-0.058396194130182266,
0.04000044986605644,
-0.5119998455047607,
0.0790732353925705,
-0.13213232159614563,
0.0055725411511957645,
-0.1503351330757141,
-0.23887933790683746,
-0.17516343295574188,
0.06383317708969116,
-0.008444470353424549,
-0.06307506561279297,
-0.26914307475090027,
-0.1105911061167717,
-0.07486456632614136,
-0.1529543399810791,
0.4172167181968689,
0.024253075942397118,
0.22104491293430328,
0.07125448435544968,
-0.2961517870426178,
-0.4592249095439911,
-0.17086665332317352,
0.3224811851978302,
-0.3507021963596344,
-0.46637359261512756,
0.3746475279331207,
-0.46524864435195923,
-0.39194998145103455,
0.008976202458143234,
0.15250593423843384,
0.09564749151468277,
0.5313199758529663,
0.008107870817184448,
0.006563988048583269,
-0.21562214195728302,
0.16428542137145996,
-0.24481238424777985,
0.1427266150712967,
0.06333962827920914,
0.1203007623553276,
0.12329304218292236,
-0.0262694600969553,
-0.14194127917289734,
0.003966012969613075,
0.00273249507881701,
-0.19794625043869019,
0.05590048059821129,
-0.023403350263834,
0.24712418019771576,
0.6841844916343689,
0.4743022918701172,
0.2400142103433609,
0.2036276012659073,
0.33891651034355164,
0.6224412322044373,
0.12087693810462952,
-0.19565309584140778,
0.1466694474220276,
-0.039500776678323746,
-0.1463399976491928,
0.07162902504205704,
0.024372871965169907,
-0.25798553228378296,
-0.004330004099756479,
0.011358797550201416,
-0.30836886167526245,
-0.42030006647109985,
-0.14789053797721863,
-0.3541891872882843,
0.22554880380630493,
0.14202986657619476,
0.07216132432222366,
-0.2001122683286667,
-0.1761271357536316,
0.06706371903419495,
0.34976619482040405,
0.21497675776481628,
0.26235291361808777,
-0.3020283579826355,
-0.09926152229309082,
-0.21138279139995575,
0.3652653694152832,
-0.061690956354141235,
0.4255649447441101,
-0.17671819031238556,
0.11119359731674194,
0.15212121605873108,
0.35739946365356445,
0.39182835817337036,
-0.34120190143585205,
0.25674745440483093,
-0.01871810480952263,
0.14706237614154816,
0.34583190083503723,
-0.2633599042892456,
0.40203920006752014,
0.33507317304611206,
0.027894550934433937,
0.16372250020503998,
0.1002294197678566,
-0.11537560075521469,
-0.4289383590221405,
-0.12455140799283981,
-0.1558934450149536,
-0.13362036645412445,
0.15550968050956726,
0.20040354132652283,
-0.12734933197498322,
-0.08463822305202484,
0.2400328665971756,
-0.35448458790779114,
-0.24178743362426758,
0.02081366628408432,
-0.21397827565670013,
0.08737976104021072,
0.07659260928630829,
0.0004739886790048331,
0.3266933262348175,
0.11235741525888443,
-0.009301990270614624,
0.37241488695144653,
0.06925123184919357,
0.08343228697776794,
0.29792654514312744,
-0.1996045857667923,
0.29971662163734436,
-0.24800199270248413,
-0.1883944869041443,
0.2906959354877472,
0.011079269461333752,
-0.40315577387809753,
-0.24411621689796448,
0.11843395233154297,
-0.17410239577293396,
-0.27032315731048584,
-0.054562970995903015,
-0.1482560634613037,
-0.007920302450656891,
-0.2335669994354248,
-0.6500524282455444,
0.24102143943309784,
0.5714662075042725,
-0.3636011481285095,
0.2110612690448761,
-0.2989894151687622,
-0.3920723795890808,
0.09975983947515488,
0.12468072026968002,
0.8228700160980225,
-0.20013852417469025,
0.3372618854045868,
-0.4360775947570801,
0.09147044271230698,
0.03386249393224716,
-0.5424810647964478,
0.1335105150938034,
-0.36492273211479187,
-0.4845438301563263,
-0.13968734443187714,
-0.17535249888896942,
0.032905396074056625,
0.4268993139266968,
-0.05034073442220688,
0.13176211714744568,
-0.11103441566228867,
-0.11787865310907364,
-0.1576698124408722,
-0.24483323097229004,
-0.1609952747821808,
-0.3166029453277588,
0.28711172938346863,
0.12592937052249908,
-0.31888121366500854,
0.0841602310538292,
-0.037275444716215134,
-0.04422399774193764,
-0.20891833305358887,
0.32659655809402466,
-0.25530335307121277,
0.10092177987098694,
-0.5163568258285522,
0.1025337502360344,
-0.2737675607204437,
-0.04475774988532066,
0.17235912382602692,
0.344840407371521,
0.3541644215583801,
0.32867297530174255,
0.012814512476325035,
0.04265979677438736,
0.29861244559288025,
0.20196183025836945,
-0.24757377803325653,
0.038196343928575516,
0.3198317289352417,
0.16093669831752777,
0.13653722405433655,
-0.27374568581581116,
-0.13164769113063812,
-0.21735550463199615,
-0.35807543992996216,
0.19739152491092682,
0.01425905991345644,
-0.23012346029281616,
0.06756946444511414,
0.1013537272810936,
0.028969094157218933,
0.08282163739204407,
0.09048771113157272,
0.43653056025505066,
-0.07310158014297485,
0.6100836396217346,
-0.3113512098789215,
-0.3697415590286255,
0.07226601243019104,
0.4648299515247345,
-0.005138884764164686,
-0.27982085943222046,
0.16849370300769806,
-0.35993123054504395,
-0.23812180757522583,
-0.15420112013816833,
0.2033013254404068,
0.05478113517165184,
-0.21829448640346527,
-0.031656332314014435,
0.017933327704668045,
-0.04947509989142418,
0.19124366343021393,
-0.4619818329811096,
0.11503832787275314,
0.10760597884654999,
0.12729892134666443,
-0.32271233201026917,
-0.41833287477493286,
-0.22698675096035004,
-0.33664390444755554,
0.20104888081550598,
0.19143319129943848,
-0.45845669507980347,
0.13387739658355713,
0.1464458554983139,
-0.223975270986557,
-0.20061905682086945,
0.07434415817260742,
0.14637811481952667,
0.2006078064441681,
-0.0028394609689712524,
-0.21178710460662842,
-0.19916006922721863,
-0.09704714268445969,
-0.030966417863965034,
-0.06590058654546738,
-0.17207404971122742,
-0.09704617410898209,
0.1412351131439209,
0.232350692152977,
-0.25121304392814636,
0.000126971528516151,
-0.4172831177711487,
-0.10244447737932205,
-0.4633616507053375,
-0.00010147943248739466,
0.2615754306316376,
0.22683922946453094,
0.4361836314201355,
0.1285552978515625,
0.010205983184278011,
-0.19425490498542786,
0.14103542268276215,
-0.13068361580371857,
-0.2108350545167923,
-0.17807698249816895,
0.2598567605018616,
-0.1998671442270279,
-0.08927798271179199,
-0.1135672852396965,
-0.10939984768629074,
0.1918189972639084,
0.147910937666893,
0.15830184519290924,
0.02865496091544628,
0.05887230485677719,
0.1932995468378067,
0.22126667201519012,
0.042596250772476196,
-0.1043287068605423,
0.04193144291639328,
0.3557138442993164,
0.1250350922346115,
0.0776878222823143,
-0.22863467037677765,
0.2644413709640503,
-0.09766826778650284,
-0.007672697305679321,
0.3514910936355591,
0.2559176981449127,
-0.2805989682674408,
0.15996912121772766,
-0.12966902554035187,
0.10930957645177841,
-0.3585638701915741,
0.4870337247848511,
0.05164439231157303,
0.14297690987586975,
0.09765388816595078,
0.4060679078102112,
0.2815798223018646,
0.018711412325501442,
0.3793063461780548,
0.19096529483795166,
0.25330305099487305,
0.31729555130004883,
-0.28739020228385925,
0.19725856184959412,
-0.5817476511001587,
0.08462278544902802,
-0.01084733847528696,
0.0909678116440773,
0.3315359950065613,
0.014952683821320534,
0.008035685867071152,
0.021772854030132294,
-0.33734533190727234,
-0.004947273526340723,
-0.024764815345406532,
-0.10730159282684326,
-0.11211174726486206,
0.13842882215976715,
0.10986211895942688,
0.06098346784710884,
-0.2639666497707367,
-0.11712458729743958,
-0.20149631798267365,
0.22644200921058655,
0.3205139636993408,
0.06936446577310562,
0.3160952031612396,
0.09332115948200226,
0.19555377960205078,
0.029904529452323914,
-0.1829393208026886,
-0.04712710529565811,
-0.43747442960739136,
-0.12146063894033432,
0.24904169142246246,
0.055610332638025284,
0.0474584735929966,
0.15167048573493958,
0.12877033650875092,
0.2249506115913391,
0.2636338174343109,
0.09833042323589325,
-0.28860244154930115,
0.3832428753376007,
-0.10387593507766724,
-0.3053627908229828,
-0.013281202875077724,
0.014080761931836605,
-0.07107061892747879,
-0.04404683783650398,
-0.2996082603931427,
0.05610249191522598,
0.08518727123737335,
0.07608632743358612,
-0.06158466264605522,
-0.46788832545280457,
0.11242558807134628,
-0.046719808131456375,
0.12676791846752167,
0.14598830044269562,
0.6005497574806213,
-0.01575334742665291,
0.18274559080600739,
-0.4610283374786377,
0.05804574862122536,
0.5085271000862122,
0.26668402552604675,
0.37154775857925415,
-0.14362069964408875,
-0.04093356058001518,
0.022577106952667236,
-0.335152804851532,
0.12018059939146042,
0.31902262568473816,
0.4509511888027191,
-0.06665730476379395,
-0.17844557762145996,
0.08207986503839493,
-0.15176646411418915,
0.6258020401000977,
-0.33845165371894836,
0.3094954788684845,
0.3757592737674713,
-0.1707223802804947,
-0.22273452579975128,
0.1644442081451416,
0.057920657098293304,
0.11502371728420258,
-0.29969921708106995,
0.27373096346855164,
0.2559906542301178,
0.06746340543031693,
-0.12319695949554443,
-0.1630067676305771,
0.23239003121852875,
0.4792931377887726,
0.4996342360973358,
0.2923945486545563,
-0.09206441789865494,
0.017052356153726578,
0.3724164366722107,
-0.42593780159950256,
0.11669601500034332,
-0.16584154963493347,
-0.09417000412940979,
-0.17014673352241516,
-0.07975918054580688,
-0.6363078951835632,
-0.2001446783542633,
-0.41480252146720886,
-0.09239067882299423,
-0.07236350327730179,
0.25211256742477417,
-0.038940779864788055,
0.03509518876671791,
-0.15928153693675995,
0.037023432552814484,
0.2998327314853668,
0.31706273555755615,
-0.131977379322052,
0.3499926030635834,
-0.43780118227005005,
-0.20046716928482056,
0.2926461100578308,
-0.3081223666667938,
-0.31085532903671265,
0.042785756289958954,
0.35672590136528015,
0.0808170735836029,
-0.17759834229946136,
0.05961083620786667,
0.1286211907863617,
0.3334871828556061,
-0.3825703263282776,
-0.04940790310502052,
0.04624418914318085,
-0.39224880933761597,
0.0021785316057503223,
-0.1448623239994049,
0.519730269908905,
0.028205597773194313,
-0.24265500903129578,
0.009650090709328651,
-0.2224133014678955
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
This means we'll check the permissions of other `cache_files` already created for a dataset before setting permissions for new `cache_files`?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 20
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
This means we'll check the permissions of other `cache_files` already created for a dataset before setting permissions for new `cache_files`?
|
[
-0.1428568959236145,
0.24719133973121643,
-0.1365760713815689,
0.02183854952454567,
-0.061133675277233124,
0.15197932720184326,
0.2972179651260376,
0.17494088411331177,
-0.2172030657529831,
-0.021546373143792152,
-0.08393682539463043,
-0.05868107080459595,
0.031784240156412125,
-0.2856927514076233,
-0.0319775715470314,
0.13326023519039154,
0.1821877360343933,
0.044353682547807693,
0.09654867649078369,
-0.06093202903866768,
-0.10181376338005066,
-0.11741332709789276,
-0.02727164514362812,
-0.09650810807943344,
-0.28729984164237976,
-0.17005029320716858,
0.2464345097541809,
0.13951075077056885,
-0.003383899573236704,
-0.16781476140022278,
0.3220139741897583,
0.5283098220825195,
0.10398931801319122,
0.12328295409679413,
-0.00011132274812553078,
-0.17444196343421936,
0.03319260850548744,
-0.09607396274805069,
0.07746975868940353,
0.1945362389087677,
-0.17945197224617004,
-0.17812713980674744,
-0.15436306595802307,
-0.14460983872413635,
-0.0952899307012558,
0.16484901309013367,
0.16694191098213196,
-0.6869984269142151,
0.4415384531021118,
0.18916745483875275,
0.20912571251392365,
-0.20135186612606049,
-0.37774109840393066,
0.04954197630286217,
0.25101110339164734,
0.0257304348051548,
-0.15162132680416107,
0.12944622337818146,
0.21568366885185242,
-0.18244552612304688,
-0.03240996599197388,
0.04044942557811737,
-0.3017325699329376,
0.142157182097435,
0.15948227047920227,
-0.11642459779977798,
-0.3029301166534424,
-0.5466198921203613,
0.11512041836977005,
0.10166846215724945,
0.7427783012390137,
-0.13046354055404663,
-0.5221772193908691,
-0.22474780678749084,
0.02603934518992901,
0.14676378667354584,
0.3395377993583679,
0.30943724513053894,
0.032056502997875214,
0.26447969675064087,
-0.4822487235069275,
-0.06032722443342209,
-0.12340083718299866,
-0.014905238524079323,
0.21071036159992218,
-0.057812340557575226,
-0.054318446666002274,
0.05110267177224159,
0.008981073275208473,
-0.03147466108202934,
0.16985495388507843,
0.12233738601207733,
-0.38393479585647583,
0.332278311252594,
-0.21739518642425537,
0.04769865795969963,
-0.2045629769563675,
0.4771677255630493,
0.24695047736167908,
0.325693815946579,
0.18476121127605438,
0.18957729637622833,
0.048352792859077454,
0.21009863913059235,
-0.013756399042904377,
0.20427027344703674,
0.36645615100860596,
0.3078046441078186,
0.5489121079444885,
-0.36861452460289,
-0.15094943344593048,
-0.00885296892374754,
0.08776438981294632,
-0.3914700448513031,
0.12542711198329926,
0.29928603768348694,
0.01444936916232109,
-0.17913749814033508,
0.15739654004573822,
0.1027253195643425,
-0.07055314630270004,
-0.299788236618042,
0.04228372126817703,
0.25415095686912537,
0.08511476963758469,
-0.07631775736808777,
-0.07229411602020264,
0.14653418958187103,
0.03246597945690155,
-0.34025585651397705,
-0.024212686344981194,
-0.29637521505355835,
-0.33050107955932617,
0.45240265130996704,
0.47468024492263794,
-0.21685516834259033,
0.04920446500182152,
0.2484591156244278,
0.1645348072052002,
-0.1960698366165161,
0.3496303856372833,
-0.0917864590883255,
0.3922550678253174,
0.32559698820114136,
0.23617538809776306,
0.3156212270259857,
0.026767488569021225,
0.027248358353972435,
-0.13476000726222992,
0.267780601978302,
-0.3485307991504669,
-0.13942056894302368,
0.2724350392818451,
0.06985146552324295,
-0.041447803378105164,
0.26830580830574036,
-0.4000053405761719,
0.09638964384794235,
0.5820570588111877,
-0.1821669042110443,
0.3664317727088928,
0.3113210201263428,
-0.18424154818058014,
-0.3967319130897522,
-0.13905999064445496,
0.3455350697040558,
-0.08557301014661789,
-0.020813792943954468,
-0.03436873108148575,
0.024370141327381134,
-0.05822093412280083,
0.285880446434021,
-0.033543091267347336,
0.21493415534496307,
-0.15700465440750122,
0.19005954265594482,
0.4625106751918793,
-0.03948694095015526,
-0.5458710789680481,
0.10020740330219269,
0.20192483067512512,
-0.1777590811252594,
0.17420737445354462,
0.008129280060529709,
0.09090302139520645,
-0.1267564743757248,
-0.11230581253767014,
0.31092751026153564,
0.14371609687805176,
0.22104167938232422,
0.12055855989456177,
0.08345867693424225,
0.020955633372068405,
-0.10795657336711884,
0.07762305438518524,
0.34903502464294434,
0.3411442041397095,
-0.2767297923564911,
0.1331038475036621,
-0.25447288155555725,
0.2185060977935791,
0.4260055124759674,
0.07472497969865799,
-0.14569401741027832,
-0.02688935399055481,
-0.07905213534832001,
-0.4902147948741913,
0.2971683144569397,
-0.16276943683624268,
-0.45365893840789795,
0.10622676461935043,
-0.4373440146446228,
0.03761821985244751,
-0.34692636132240295,
-0.19416433572769165,
-0.0228367168456316,
0.10047070682048798,
0.024615462869405746,
0.03708028420805931,
-0.3169470727443695,
0.1327248066663742,
0.4763793647289276,
0.24243663251399994,
-0.009325725957751274,
-0.0706990584731102,
0.10997865349054337,
-0.08905235677957535,
-0.06834696233272552,
-0.25530508160591125,
-0.08746179938316345,
0.25828102231025696,
-0.012773522175848484,
-0.25271618366241455,
0.2583005726337433,
0.122044138610363,
0.04324831813573837,
-0.038615867495536804,
0.28506243228912354,
0.026318591088056564,
0.10677572339773178,
0.03340095281600952,
-0.2647304832935333,
-0.08487340062856674,
-0.1350855827331543,
-0.2590275704860687,
0.3348565399646759,
-0.05610475316643715,
-0.09973953664302826,
-0.19693470001220703,
0.1580212265253067,
0.17150558531284332,
-0.028748901560902596,
-0.08909477293491364,
-0.1804482787847519,
-0.01969483122229576,
0.14615696668624878,
0.4113468825817108,
0.1597369760274887,
0.07700297981500626,
-0.006259777583181858,
0.33783310651779175,
0.15220341086387634,
0.12286534160375595,
-0.05160333216190338,
-0.035643357783555984,
0.09733345359563828,
0.18139420449733734,
0.40606239438056946,
0.2397598773241043,
0.039043448865413666,
0.37149137258529663,
-0.21523922681808472,
0.2886905372142792,
-0.17117998003959656,
-0.03373636305332184,
-0.119108647108078,
-0.027964243665337563,
-0.09001144021749496,
-0.1263747364282608,
-0.03206004574894905,
-0.05657799169421196,
0.291867196559906,
0.12021109461784363,
0.09077931940555573,
-0.3121081590652466,
-0.10801175981760025,
-0.21185247600078583,
-0.21459493041038513,
0.26022887229919434,
-0.025187231600284576,
-0.5517674088478088,
-0.04754675552248955,
-0.17020833492279053,
0.15399543941020966,
0.012137711979448795,
0.18693363666534424,
-0.3203648030757904,
0.1947363168001175,
-0.07455556094646454,
-0.12966014444828033,
-0.22497454285621643,
0.23782262206077576,
0.08942783623933792,
0.046100031584501266,
0.3092416822910309,
-0.6353916525840759,
0.17016831040382385,
-0.019094044342637062,
0.29571732878685,
-0.30638760328292847,
0.05945539474487305,
-0.14945991337299347,
0.005106234457343817,
0.10520115494728088,
-0.5079748630523682,
0.08962634950876236,
-0.1639080047607422,
0.014955616556107998,
-0.1765126734972,
-0.18535609543323517,
-0.21128858625888824,
-0.040804099291563034,
-0.013155389577150345,
-0.005392242223024368,
-0.2753220498561859,
-0.07769300043582916,
-0.09433834999799728,
-0.11514561623334885,
0.4051736295223236,
0.11053390800952911,
0.22176145017147064,
0.01204406563192606,
-0.3030835688114166,
-0.3747808635234833,
-0.24461644887924194,
0.26335299015045166,
-0.36764082312583923,
-0.6070098280906677,
0.35932669043540955,
-0.47670528292655945,
-0.34569239616394043,
0.043366484344005585,
0.13311956822872162,
0.0991721898317337,
0.42971307039260864,
-0.004109987989068031,
-0.02115509659051895,
-0.22804979979991913,
0.221016064286232,
-0.19640403985977173,
0.11390049010515213,
0.03188633173704147,
0.0017945573199540377,
0.1376158744096756,
-0.034489694982767105,
-0.10622181743383408,
0.04730039834976196,
0.006585049908608198,
-0.257219523191452,
0.11314968764781952,
0.03605031594634056,
0.16075696051120758,
0.7411164045333862,
0.43887147307395935,
0.3008576035499573,
0.332471638917923,
0.31142526865005493,
0.6650048494338989,
0.09719505161046982,
-0.11344494670629501,
0.13567207753658295,
-0.03173079341650009,
-0.10317768156528473,
0.06249954178929329,
0.02724154107272625,
-0.22289244830608368,
-0.0018458854174241424,
0.06449764221906662,
-0.28019049763679504,
-0.38812991976737976,
-0.2747066915035248,
-0.3506070375442505,
0.18380063772201538,
0.1102318987250328,
0.08564328402280807,
-0.22238244116306305,
-0.21600112318992615,
0.010568075813353062,
0.34640073776245117,
0.2470167875289917,
0.22854915261268616,
-0.36712998151779175,
-0.019349923357367516,
-0.2943573594093323,
0.374213308095932,
0.022745145484805107,
0.4750358462333679,
-0.22462360560894012,
0.21389377117156982,
0.12893398106098175,
0.3377271592617035,
0.33862775564193726,
-0.43783146142959595,
0.22747212648391724,
-0.05677590146660805,
0.23456242680549622,
0.4198518991470337,
-0.23324188590049744,
0.43523669242858887,
0.47182753682136536,
0.0020435256883502007,
0.1408073604106903,
0.1549377143383026,
-0.1456117033958435,
-0.4588286578655243,
-0.19672566652297974,
-0.10025274008512497,
-0.15991522371768951,
0.14191587269306183,
0.2106594443321228,
-0.03961820527911186,
-0.02291976660490036,
0.29281875491142273,
-0.32811281085014343,
-0.11986903101205826,
-0.0302737969905138,
-0.1894744634628296,
0.18527643382549286,
0.10966762900352478,
-0.030438467860221863,
0.30705204606056213,
0.08747132867574692,
0.03221409022808075,
0.3932322561740875,
0.02376403473317623,
0.10954946279525757,
0.3567063510417938,
-0.2256632298231125,
0.31067436933517456,
-0.16414926946163177,
-0.21359077095985413,
0.3364750146865845,
-0.04244391247630119,
-0.3806397020816803,
-0.1152462437748909,
0.10904666036367416,
-0.18746398389339447,
-0.23661842942237854,
-0.07660523802042007,
-0.12061169743537903,
0.02888147346675396,
-0.27136415243148804,
-0.6071838736534119,
0.24860665202140808,
0.6297305226325989,
-0.32286974787712097,
0.29443955421447754,
-0.30779412388801575,
-0.3462807238101959,
0.04732705280184746,
0.0954122245311737,
0.6720288991928101,
-0.20862321555614471,
0.31010517477989197,
-0.44270482659339905,
0.08982401341199875,
0.03082616627216339,
-0.4978622496128082,
0.11848293989896774,
-0.4083603620529175,
-0.40581026673316956,
-0.15482938289642334,
-0.10489445179700851,
0.0994069054722786,
0.43950173258781433,
0.028823845088481903,
0.1583297848701477,
-0.09289317578077316,
-0.027312280610203743,
-0.17797917127609253,
-0.16550466418266296,
-0.1810852289199829,
-0.3043151795864105,
0.3318411111831665,
0.13568024337291718,
-0.2932889461517334,
0.06253951787948608,
-0.03697923570871353,
0.02404719963669777,
-0.16085803508758545,
0.22992536425590515,
-0.29784196615219116,
0.02676568739116192,
-0.5783841013908386,
0.08103061467409134,
-0.20238123834133148,
-0.03716888278722763,
0.14416374266147614,
0.3316223919391632,
0.3499905467033386,
0.3177770674228668,
-0.006427315063774586,
0.02792697586119175,
0.32962098717689514,
0.1519300639629364,
-0.27062854170799255,
0.04943991079926491,
0.23874133825302124,
0.1717916578054428,
0.09230989962816238,
-0.2741939425468445,
-0.16872821748256683,
-0.28621721267700195,
-0.340472012758255,
0.24411596357822418,
-0.015216072089970112,
-0.18599525094032288,
-0.002659117802977562,
-0.055279068648815155,
0.09385202080011368,
0.03968644142150879,
0.09528661519289017,
0.447276771068573,
-0.0191488079726696,
0.5354326367378235,
-0.3422572612762451,
-0.2824060320854187,
0.04968632012605667,
0.5333949327468872,
-0.010319498367607594,
-0.2313678115606308,
0.12325948476791382,
-0.3668890595436096,
-0.2851037383079529,
-0.16423533856868744,
0.21335022151470184,
0.07579823583364487,
-0.08060689270496368,
-0.07032817602157593,
-0.0012584708165377378,
-0.03178016096353531,
0.22647689282894135,
-0.4863905608654022,
0.06760678440332413,
0.1558583378791809,
0.17845621705055237,
-0.37884220480918884,
-0.41659340262413025,
-0.2663302719593048,
-0.40019750595092773,
0.2526357173919678,
0.224173903465271,
-0.5527942776679993,
0.13620634377002716,
0.10731704533100128,
-0.21616202592849731,
-0.2127675712108612,
0.045928072184324265,
0.10709361732006073,
0.21278861165046692,
0.05317245051264763,
-0.1336916983127594,
-0.20462341606616974,
-0.07298840582370758,
-0.014485166408121586,
-0.07330512255430222,
-0.20269732177257538,
-0.02405829355120659,
0.1368885189294815,
0.2004261165857315,
-0.2765811085700989,
0.09283745288848877,
-0.4106265902519226,
-0.12571905553340912,
-0.4405405819416046,
0.015069061890244484,
0.2330179661512375,
0.2287788689136505,
0.3906271755695343,
0.17725569009780884,
-0.03442024439573288,
-0.1514316350221634,
0.15404261648654938,
-0.10499085485935211,
-0.22961954772472382,
-0.20433686673641205,
0.24281471967697144,
-0.24282394349575043,
-0.0497148297727108,
0.0680806040763855,
-0.07700027525424957,
0.10460356622934341,
0.07888302206993103,
0.030503451824188232,
-0.04535513371229172,
0.019007233902812004,
0.25344786047935486,
0.27146148681640625,
-0.005942320451140404,
-0.09741105884313583,
0.07275190204381943,
0.36550596356391907,
0.10998642444610596,
0.07624152302742004,
-0.28454601764678955,
0.41509994864463806,
-0.08765130490064621,
0.09153493493795395,
0.3425651788711548,
0.26782751083374023,
-0.2353949099779129,
0.14936907589435577,
-0.09801854193210602,
0.06926058977842331,
-0.390286386013031,
0.44815221428871155,
-0.02402867004275322,
0.1472298502922058,
0.057455409318208694,
0.42317086458206177,
0.2290755808353424,
0.04661183059215546,
0.40670421719551086,
0.24815629422664642,
0.26051759719848633,
0.3397054374217987,
-0.34585946798324585,
0.12767863273620605,
-0.7042201161384583,
0.12755997478961945,
-0.019752804189920425,
0.05612916126847267,
0.2758685052394867,
0.0758725181221962,
0.042382434010505676,
-0.014358638785779476,
-0.31971877813339233,
-0.018011445179581642,
-0.12879592180252075,
-0.14074364304542542,
-0.11641599237918854,
0.11532775312662125,
0.11066069453954697,
0.10543736070394516,
-0.28727009892463684,
-0.1392526775598526,
-0.21335084736347198,
0.1835160106420517,
0.19806350767612457,
0.044895004481077194,
0.30905279517173767,
0.07020249962806702,
0.15362079441547394,
0.010562844574451447,
-0.15876764059066772,
-0.050560493022203445,
-0.49937671422958374,
-0.15934835374355316,
0.14925096929073334,
0.08371634036302567,
0.02459431067109108,
0.10813619196414948,
0.14143270254135132,
0.15919959545135498,
0.2794622778892517,
0.068491630256176,
-0.2762520909309387,
0.33506476879119873,
-0.10864486545324326,
-0.38578885793685913,
0.07748180627822876,
0.02896592766046524,
-0.05310879647731781,
0.00607733428478241,
-0.18144962191581726,
0.04735611006617546,
0.04595717042684555,
-0.08644618093967438,
-0.18572895228862762,
-0.4063056409358978,
0.12037985771894455,
0.02077503502368927,
0.14911366999149323,
0.045672547072172165,
0.584521472454071,
0.036346789449453354,
0.18517160415649414,
-0.48936203122138977,
0.041437406092882156,
0.3916393220424652,
0.25771698355674744,
0.37249791622161865,
-0.04592626914381981,
-0.048546623438596725,
0.030619800090789795,
-0.41428449749946594,
0.10012345761060715,
0.16233482956886292,
0.4591633975505829,
-0.053163908421993256,
-0.17159974575042725,
0.09715147316455841,
-0.0935882106423378,
0.6016917824745178,
-0.24670128524303436,
0.3261895477771759,
0.33336326479911804,
-0.21556410193443298,
-0.30299219489097595,
0.13789111375808716,
-0.06600029021501541,
0.08547952026128769,
-0.35162353515625,
0.2646268904209137,
0.14755120873451233,
0.06463201344013214,
-0.11059966683387756,
-0.20442235469818115,
0.22349274158477783,
0.4779510498046875,
0.4655919671058655,
0.23241449892520905,
-0.007799168117344379,
-0.000946386600844562,
0.43179333209991455,
-0.3745238482952118,
0.1243581473827362,
-0.16574282944202423,
-0.09362956136465073,
-0.20614828169345856,
0.056370463222265244,
-0.6335000395774841,
-0.14521043002605438,
-0.386338472366333,
0.01962224394083023,
-0.11994864791631699,
0.24215061962604523,
0.06491302698850632,
0.020602772012352943,
-0.1433662623167038,
0.033257994800806046,
0.2996160387992859,
0.2286003977060318,
-0.14489303529262543,
0.3779785931110382,
-0.4137226641178131,
-0.10177554190158844,
0.28888505697250366,
-0.27195653319358826,
-0.20223815739154816,
-0.06339477747678757,
0.3643735349178314,
0.180768221616745,
-0.2005176842212677,
0.06393884867429733,
0.08666536957025528,
0.3763289153575897,
-0.3834569454193115,
-0.08459270000457764,
0.03433243930339813,
-0.35141733288764954,
0.06721416115760803,
-0.13584427535533905,
0.5006893277168274,
0.02981177344918251,
-0.23900404572486877,
0.0479474812746048,
-0.22294792532920837
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
> This way you just need to set the permissions once after doing load_dataset for example, and then all the new transformed cached files will have the same permissions.
I was referring to this. Ensuring that newly generated `cache_files` have the same permissions
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 43
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
> This way you just need to set the permissions once after doing load_dataset for example, and then all the new transformed cached files will have the same permissions.
I was referring to this. Ensuring that newly generated `cache_files` have the same permissions
|
[
-0.1649944931268692,
0.2504466474056244,
-0.131180539727211,
0.001854022848419845,
0.016402948647737503,
0.0696852058172226,
0.3859349191188812,
0.20129276812076569,
-0.24317578971385956,
-0.026852833107113838,
-0.08324341475963593,
0.031756240874528885,
0.008832549676299095,
-0.20328469574451447,
-0.05662231147289276,
0.12449315190315247,
0.22513850033283234,
0.10585663467645645,
-0.046913422644138336,
-0.07590410113334656,
-0.10049797594547272,
-0.15619917213916779,
0.002029708819463849,
-0.13827447593212128,
-0.2803071141242981,
-0.1393665075302124,
0.25090107321739197,
0.18544843792915344,
0.024344518780708313,
-0.15512922406196594,
0.24018588662147522,
0.558687686920166,
0.11958897858858109,
0.12781217694282532,
-0.00010850898252101615,
-0.1533878594636917,
-0.05511762946844101,
-0.08041165769100189,
0.027140893042087555,
0.19290673732757568,
-0.07473466545343399,
-0.19690820574760437,
-0.19173096120357513,
-0.1530260592699051,
-0.13575837016105652,
0.15548688173294067,
0.1004970520734787,
-0.6505793929100037,
0.5274171829223633,
0.11681662499904633,
0.21939776837825775,
-0.20994646847248077,
-0.3844195008277893,
0.0381099209189415,
0.22510308027267456,
0.04798496887087822,
-0.16841109097003937,
0.12000159174203873,
0.22474578022956848,
-0.11875803023576736,
-0.04395516961812973,
0.13324077427387238,
-0.30487141013145447,
0.10426702350378036,
0.20586080849170685,
-0.13825540244579315,
-0.24433398246765137,
-0.556390643119812,
0.046992890536785126,
0.08757707476615906,
0.6264381408691406,
-0.09978604316711426,
-0.5162672400474548,
-0.2456735372543335,
0.10344871878623962,
0.1492295116186142,
0.298302561044693,
0.30472123622894287,
0.05447009950876236,
0.23999488353729248,
-0.5317007303237915,
-0.06254425644874573,
-0.159340962767601,
-0.05855760723352432,
0.23578232526779175,
-0.10489481687545776,
0.008251728489995003,
0.023670481517910957,
0.020711150020360947,
-0.07963050156831741,
0.1798669695854187,
0.18958427011966705,
-0.40093275904655457,
0.32938113808631897,
-0.2059287428855896,
0.05832887068390846,
-0.22781343758106232,
0.44059258699417114,
0.24914266169071198,
0.31865400075912476,
0.15853433310985565,
0.20333212614059448,
0.07824096083641052,
0.13837632536888123,
-0.10317382961511612,
0.2567600905895233,
0.3083619475364685,
0.3042289614677429,
0.5483263731002808,
-0.3730146288871765,
-0.22165073454380035,
0.03263217955827713,
0.03258316591382027,
-0.36786389350891113,
0.09040108323097229,
0.30389270186424255,
0.09474074095487595,
-0.17617173492908478,
0.2136986404657364,
0.1021992638707161,
-0.004824284464120865,
-0.23515444993972778,
-0.04218769446015358,
0.23202869296073914,
0.15459737181663513,
-0.05397604778409004,
0.04529637470841408,
0.15120229125022888,
-0.04800591245293617,
-0.3640175461769104,
-0.010202228091657162,
-0.3659336268901825,
-0.39534565806388855,
0.4914133548736572,
0.4919765293598175,
-0.15804313123226166,
-0.03121539205312729,
0.28635936975479126,
0.189248725771904,
-0.17330525815486908,
0.2945374846458435,
0.009413058869540691,
0.4202324151992798,
0.2606208026409149,
0.19658611714839935,
0.29760611057281494,
0.051644109189510345,
0.02674989402294159,
-0.07834339886903763,
0.32221719622612,
-0.3108764588832855,
-0.10915562510490417,
0.27799826860427856,
0.09381434321403503,
-0.04762030020356178,
0.2909798324108124,
-0.36717623472213745,
0.07755371183156967,
0.5478352904319763,
-0.16281171143054962,
0.3683684170246124,
0.2572856545448303,
-0.09550102800130844,
-0.35539910197257996,
-0.18840831518173218,
0.3907544016838074,
-0.028187720105051994,
-0.023180656135082245,
0.006880978588014841,
-0.001233337796293199,
-0.10358358919620514,
0.2831074893474579,
-0.0647815465927124,
0.12355940043926239,
-0.1371365636587143,
0.16073548793792725,
0.4129783809185028,
0.01671910472214222,
-0.4896356463432312,
0.11583985388278961,
0.15469445288181305,
-0.11525304615497589,
0.22078649699687958,
0.009419295005500317,
0.10010045766830444,
-0.17191018164157867,
-0.16121113300323486,
0.3214649558067322,
0.21989858150482178,
0.29709914326667786,
0.07045070827007294,
0.07795187085866928,
0.06670151650905609,
-0.18115636706352234,
0.09246251732110977,
0.41824713349342346,
0.29406094551086426,
-0.22950689494609833,
0.1312013566493988,
-0.3995586037635803,
0.25766459107398987,
0.354922890663147,
0.05610419809818268,
-0.1388370245695114,
-0.022786801680922508,
0.01519391406327486,
-0.465315043926239,
0.2769152820110321,
-0.22630222141742706,
-0.38466930389404297,
0.10977153480052948,
-0.46397820115089417,
0.05450604110956192,
-0.3579561710357666,
-0.18131688237190247,
-0.0714326873421669,
0.1170310378074646,
-0.0007733298698440194,
0.008554765023291111,
-0.3308461606502533,
0.1423320174217224,
0.4758354723453522,
0.21525585651397705,
0.01060279831290245,
-0.16979122161865234,
0.08890831470489502,
-0.08401071280241013,
-0.05511432886123657,
-0.23125597834587097,
-0.031829603016376495,
0.3413783311843872,
-0.03631749376654625,
-0.28758591413497925,
0.24205061793327332,
0.0710616409778595,
0.10216344892978668,
-0.0845879316329956,
0.26789188385009766,
0.0363493487238884,
0.12628503143787384,
0.11690693348646164,
-0.3277267515659332,
-0.10602562129497528,
-0.10146240890026093,
-0.17382679879665375,
0.3757098913192749,
-0.09455505758523941,
-0.055638279765844345,
-0.2235659956932068,
0.1533215194940567,
0.14442691206932068,
-0.06400290131568909,
-0.12712012231349945,
-0.1657223403453827,
-0.018903175368905067,
0.1657901406288147,
0.3277019262313843,
0.21675226092338562,
0.11227625608444214,
0.12250687927007675,
0.2859784960746765,
0.17968329787254333,
0.03276491165161133,
-0.01685083843767643,
-0.024493340402841568,
0.10011088103055954,
0.1447473019361496,
0.4372527003288269,
0.26202118396759033,
0.057568587362766266,
0.27275195717811584,
-0.13112394511699677,
0.3154357969760895,
-0.18056106567382812,
-0.008116167970001698,
-0.16011670231819153,
0.0520058311522007,
-0.06723430007696152,
-0.17808856070041656,
-0.012712725438177586,
-0.04668715223670006,
0.2545974552631378,
0.16357390582561493,
0.06347553431987762,
-0.34073877334594727,
-0.08512390404939651,
-0.22086048126220703,
-0.1682957112789154,
0.22485996782779694,
-0.06772921234369278,
-0.541103720664978,
-0.0004614094796124846,
-0.16864366829395294,
0.15752434730529785,
-0.01669997349381447,
0.2290785312652588,
-0.2502921521663666,
0.2309420108795166,
-0.05176765099167824,
-0.10686308145523071,
-0.2852391302585602,
0.1904078722000122,
0.03187752142548561,
0.03915618360042572,
0.26481926441192627,
-0.6819689869880676,
0.10821713507175446,
-0.04981974512338638,
0.3214014768600464,
-0.336250364780426,
-0.006585677620023489,
-0.19647949934005737,
-0.031205184757709503,
0.09321066737174988,
-0.5233699083328247,
0.11066796630620956,
-0.099989153444767,
-0.0006881673471070826,
-0.19436581432819366,
-0.25179603695869446,
-0.2066129744052887,
-0.005506997462362051,
-0.034970302134752274,
-0.05342146009206772,
-0.2905816435813904,
-0.1511860489845276,
-0.06140652671456337,
-0.1431296020746231,
0.4335407316684723,
0.08511152863502502,
0.2298048436641693,
0.08961628377437592,
-0.2578110992908478,
-0.48100313544273376,
-0.16152846813201904,
0.32981905341148376,
-0.4195418655872345,
-0.5174463391304016,
0.32482200860977173,
-0.5282970666885376,
-0.3527773916721344,
0.02358517050743103,
0.10813549906015396,
0.09741462767124176,
0.5158904790878296,
0.011687494814395905,
-0.04205715283751488,
-0.17285123467445374,
0.21454991400241852,
-0.2988656163215637,
0.09960410743951797,
0.02613394521176815,
0.06068991869688034,
0.09768091142177582,
-0.04869919642806053,
-0.12227047234773636,
0.046208083629608154,
-0.035747040063142776,
-0.21091029047966003,
0.0705685019493103,
0.015197280794382095,
0.15743409097194672,
0.6721856594085693,
0.3958398997783661,
0.27181491255760193,
0.28191378712654114,
0.25980687141418457,
0.6446478962898254,
0.09285810589790344,
-0.11205168813467026,
0.09377710521221161,
-0.04349038749933243,
-0.11485062539577484,
-0.007650891784578562,
-0.01347457803785801,
-0.21596713364124298,
0.01485314592719078,
0.061508774757385254,
-0.2859523296356201,
-0.413394570350647,
-0.1890837401151657,
-0.39305809140205383,
0.20430786907672882,
0.1477510631084442,
0.11174270510673523,
-0.20246680080890656,
-0.18917788565158844,
0.017769569531083107,
0.321245402097702,
0.2525002956390381,
0.20857970416545868,
-0.35712093114852905,
-0.03252926468849182,
-0.25359219312667847,
0.38595935702323914,
-0.04132748395204544,
0.4713119864463806,
-0.19285477697849274,
0.06167161837220192,
0.13504093885421753,
0.34209004044532776,
0.4331669211387634,
-0.3725542724132538,
0.17922228574752808,
-0.056720100343227386,
0.22478486597537994,
0.3942974805831909,
-0.3113521337509155,
0.46752193570137024,
0.388084352016449,
-0.0016568002756685019,
0.17092224955558777,
0.10481403023004532,
-0.13306590914726257,
-0.4171789288520813,
-0.20210693776607513,
-0.12940935790538788,
-0.14666424691677094,
0.10253070294857025,
0.23653143644332886,
-0.11272233724594116,
-0.04776709899306297,
0.2065165936946869,
-0.3365298807621002,
-0.2709621787071228,
0.005045671947300434,
-0.2208542823791504,
0.1627899557352066,
0.1010994166135788,
0.017234068363904953,
0.3342783451080322,
0.1163221001625061,
0.03957117348909378,
0.3923634886741638,
0.028025075793266296,
0.047522105276584625,
0.3474337160587311,
-0.2491832971572876,
0.36885571479797363,
-0.22018611431121826,
-0.2018558233976364,
0.274272084236145,
0.041948772966861725,
-0.38011038303375244,
-0.1346425861120224,
0.09521498531103134,
-0.14628449082374573,
-0.3152117133140564,
-0.09260159730911255,
-0.1412157267332077,
-0.050810057669878006,
-0.24012812972068787,
-0.6445428133010864,
0.21525707840919495,
0.5688720941543579,
-0.34299442172050476,
0.22127462923526764,
-0.3352551758289337,
-0.35946711897850037,
0.1160675659775734,
0.1292540580034256,
0.7586535215377808,
-0.17006146907806396,
0.33388084173202515,
-0.3670008182525635,
0.1270795613527298,
0.023538051173090935,
-0.4897474944591522,
0.09701766073703766,
-0.42805102467536926,
-0.35200339555740356,
-0.13495466113090515,
-0.1423649936914444,
0.03065750189125538,
0.4354759454727173,
-0.01213676668703556,
0.10666313022375107,
-0.10661578923463821,
-0.09492841362953186,
-0.21079368889331818,
-0.16999444365501404,
-0.20216818153858185,
-0.3152822256088257,
0.28599080443382263,
0.15210014581680298,
-0.3186124861240387,
0.07003412395715714,
-0.06123333424329758,
-0.03165888041257858,
-0.13536682724952698,
0.22441087663173676,
-0.2181382179260254,
0.07599814981222153,
-0.5058136582374573,
0.09524142742156982,
-0.18062326312065125,
-0.0695648044347763,
0.11364361643791199,
0.2644082009792328,
0.2961454689502716,
0.28167909383773804,
0.01902499608695507,
0.04067550227046013,
0.3031321167945862,
0.22017349302768707,
-0.2503168284893036,
-0.02569245547056198,
0.34893688559532166,
0.1968005895614624,
0.09932329505681992,
-0.31265828013420105,
-0.12626390159130096,
-0.21249495446681976,
-0.3996906578540802,
0.18700796365737915,
0.000702030083630234,
-0.2862551510334015,
0.09420091658830643,
0.05129129812121391,
0.06472758203744888,
0.07653621584177017,
0.10846062004566193,
0.3929048180580139,
-0.08629655092954636,
0.5915572047233582,
-0.28619563579559326,
-0.3366989493370056,
0.07604295760393143,
0.5156167149543762,
-0.0015917799901217222,
-0.264831006526947,
0.14391480386257172,
-0.3756627142429352,
-0.2430400848388672,
-0.16842076182365417,
0.18517807126045227,
0.08967757970094681,
-0.1936163753271103,
-0.005899470765143633,
0.06442082673311234,
-0.027754811570048332,
0.24190810322761536,
-0.48683589696884155,
0.07666876167058945,
0.1860872060060501,
0.20712502300739288,
-0.32045599818229675,
-0.35785338282585144,
-0.29235363006591797,
-0.38404348492622375,
0.2802538573741913,
0.24928970634937286,
-0.46456554532051086,
0.10486837476491928,
0.13954462110996246,
-0.24410711228847504,
-0.1916096806526184,
0.12409260123968124,
0.15810319781303406,
0.19496320188045502,
-0.021558677777647972,
-0.1759301722049713,
-0.20685459673404694,
-0.06861619651317596,
0.028729796409606934,
-0.06469564139842987,
-0.19900138676166534,
-0.10469415038824081,
0.11341796070337296,
0.1913425326347351,
-0.24480366706848145,
0.03402402251958847,
-0.3747052550315857,
-0.09023622423410416,
-0.415933221578598,
0.048829659819602966,
0.244596928358078,
0.1655195653438568,
0.3717605471611023,
0.1695115566253662,
0.004058284219354391,
-0.148057758808136,
0.12896905839443207,
-0.13618189096450806,
-0.17486995458602905,
-0.161959707736969,
0.24600441753864288,
-0.3091617524623871,
-0.038860514760017395,
-0.031295765191316605,
-0.08945516496896744,
0.1638978123664856,
0.11824078112840652,
0.08391820639371872,
0.006505345460027456,
-0.009380447678267956,
0.16490188241004944,
0.27475595474243164,
0.0907517820596695,
-0.13948479294776917,
0.01619098149240017,
0.37323758006095886,
0.13462209701538086,
0.09576410800218582,
-0.2577313184738159,
0.3211333155632019,
-0.15775583684444427,
0.00950540415942669,
0.3665996789932251,
0.310798704624176,
-0.278163343667984,
0.12290032207965851,
-0.08181684464216232,
0.07879940420389175,
-0.38408634066581726,
0.4889890253543854,
-0.06067732349038124,
0.09781947731971741,
0.028836620971560478,
0.4561585485935211,
0.2342558056116104,
0.012876433320343494,
0.39483562111854553,
0.19139236211776733,
0.28034600615501404,
0.31553250551223755,
-0.29569417238235474,
0.09327057003974915,
-0.6603912115097046,
0.12708227336406708,
-0.013350307010114193,
0.03513619303703308,
0.31754517555236816,
0.047076351940631866,
0.030849333852529526,
0.0010085620451718569,
-0.3721481263637543,
-0.035786814987659454,
-0.028815871104598045,
-0.1293785274028778,
-0.1112954318523407,
0.1116010844707489,
0.09496811032295227,
0.06348337233066559,
-0.2576340436935425,
-0.1162927970290184,
-0.1733265221118927,
0.20956772565841675,
0.3084505796432495,
0.06061970815062523,
0.24291928112506866,
0.03436180576682091,
0.16613677144050598,
0.06296399235725403,
-0.1984054446220398,
-0.05869459733366966,
-0.4229191243648529,
-0.13995328545570374,
0.21670520305633545,
0.06524936854839325,
0.07712455093860626,
0.1780669242143631,
0.15263618528842926,
0.2093234360218048,
0.29923203587532043,
0.10385648906230927,
-0.23057851195335388,
0.38609349727630615,
-0.06366938352584839,
-0.2987658977508545,
-0.009126914665102959,
0.04105403646826744,
-0.0676221251487732,
-0.01387756410986185,
-0.20730897784233093,
0.024930519983172417,
0.09936834126710892,
0.0009110968676395714,
-0.004614924546331167,
-0.3906281292438507,
0.02790282666683197,
-0.025913547724485397,
0.1253703385591507,
0.08215368539094925,
0.6104057431221008,
0.03066840022802353,
0.1854172646999359,
-0.5288830399513245,
0.06893432885408401,
0.5035285949707031,
0.31435680389404297,
0.32922160625457764,
-0.13998457789421082,
-0.07386044412851334,
0.057714156806468964,
-0.38139885663986206,
0.10410468280315399,
0.24452339112758636,
0.48903366923332214,
-0.0709785521030426,
-0.1197342574596405,
0.03860772028565407,
-0.13649530708789825,
0.5329036116600037,
-0.3225671052932739,
0.2944773733615875,
0.3345530331134796,
-0.23734335601329803,
-0.2263549268245697,
0.16481851041316986,
-0.041113659739494324,
0.10476458072662354,
-0.29335927963256836,
0.27889901399612427,
0.21830810606479645,
0.07906965166330338,
-0.10363558679819107,
-0.17700015008449554,
0.23642300069332123,
0.4915592074394226,
0.5217708349227905,
0.29911407828330994,
-0.06436382979154587,
0.027417084202170372,
0.4217236340045929,
-0.474215567111969,
0.05947808921337128,
-0.19547365605831146,
-0.10818493366241455,
-0.12176094204187393,
-0.05821871757507324,
-0.5593054890632629,
-0.1412607729434967,
-0.438093364238739,
0.009638393297791481,
-0.08177030831575394,
0.2550703287124634,
-0.011718195863068104,
0.023388821631669998,
-0.09026860445737839,
0.033452846109867096,
0.2685430645942688,
0.33784249424934387,
-0.11839152872562408,
0.4349152445793152,
-0.44858604669570923,
-0.18201297521591187,
0.32861006259918213,
-0.2922586500644684,
-0.238498255610466,
-0.0066265081986784935,
0.4036853313446045,
0.11225403845310211,
-0.21815742552280426,
0.014423241838812828,
0.12852010130882263,
0.35363125801086426,
-0.3826272785663605,
-0.02026417851448059,
0.11703985184431076,
-0.3663051426410675,
0.030219335108995438,
-0.13885870575904846,
0.448225200176239,
0.006810410413891077,
-0.22192315757274628,
0.049189627170562744,
-0.2370273917913437
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Yes exactly
I imagine users can first do `load_dataset`, then chmod on the arrow files. After that all the new cache files could have the same permissions as the first arrow files. Opinions on this ?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 36
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Yes exactly
I imagine users can first do `load_dataset`, then chmod on the arrow files. After that all the new cache files could have the same permissions as the first arrow files. Opinions on this ?
|
[
-0.0982319638133049,
0.26637911796569824,
-0.12864342331886292,
0.08532903343439102,
-0.13202041387557983,
0.044673800468444824,
0.3324164152145386,
0.11853087693452835,
-0.23568885028362274,
-0.06214830279350281,
-0.09892147034406662,
0.03703184053301811,
0.019582731649279594,
-0.24613891541957855,
-0.08055903762578964,
0.08728214353322983,
0.12276184558868408,
0.10728417336940765,
-0.03325137868523598,
-0.0952986478805542,
-0.024028025567531586,
-0.17155781388282776,
-0.03518151864409447,
-0.03326735645532608,
-0.18963447213172913,
-0.22902682423591614,
0.27390965819358826,
0.21339201927185059,
0.030916258692741394,
-0.2010471224784851,
0.23493334650993347,
0.5016703009605408,
0.10135576128959656,
0.2010830044746399,
-0.00011473565245978534,
-0.26589033007621765,
0.033874064683914185,
-0.057564057409763336,
0.007844647392630577,
0.26694604754447937,
-0.11617287248373032,
-0.21001200377941132,
-0.070428267121315,
-0.13357239961624146,
0.036522962152957916,
0.05457280948758125,
0.09103524684906006,
-0.7105933427810669,
0.5204788446426392,
0.012275954708456993,
0.1791728436946869,
-0.19389142096042633,
-0.40238648653030396,
0.08328691124916077,
0.2860996127128601,
0.0430656373500824,
-0.1606016308069229,
0.17302869260311127,
0.31030961871147156,
-0.13610771298408508,
-0.0524347648024559,
0.10569524019956589,
-0.22002747654914856,
0.09869541227817535,
0.2257886528968811,
-0.1704334318637848,
-0.2636166512966156,
-0.45948177576065063,
0.07593794167041779,
0.13658633828163147,
0.8266537189483643,
-0.11984027922153473,
-0.48207294940948486,
-0.2638084292411804,
0.07331358641386032,
0.1983562856912613,
0.29364416003227234,
0.3246241807937622,
0.0016639683162793517,
0.20019106566905975,
-0.35822948813438416,
-0.1222781091928482,
-0.19945082068443298,
-0.02338157407939434,
0.24687178432941437,
-0.14065247774124146,
-0.05007736384868622,
0.05355303734540939,
0.02497670240700245,
-0.0849352702498436,
0.2674470543861389,
0.09495330601930618,
-0.34146225452423096,
0.38008376955986023,
-0.1853988766670227,
0.09960798174142838,
-0.27714595198631287,
0.4416390061378479,
0.1848989874124527,
0.3671000003814697,
0.3062273859977722,
0.26154741644859314,
0.020835813134908676,
0.1910763382911682,
0.014086997136473656,
0.2300598919391632,
0.3232109248638153,
0.33523741364479065,
0.4978232681751251,
-0.41373395919799805,
-0.1270289421081543,
0.06572607904672623,
-0.06331118941307068,
-0.41951659321784973,
0.04750765115022659,
0.24544116854667664,
-0.027808403596282005,
-0.20976115763187408,
0.22296716272830963,
0.13239313662052155,
-0.06059844791889191,
-0.2762783169746399,
0.02713680826127529,
0.30392178893089294,
0.09225450456142426,
0.012480049394071102,
-0.02684345655143261,
0.15328845381736755,
0.03319349139928818,
-0.3798213601112366,
0.033765412867069244,
-0.38710838556289673,
-0.42007121443748474,
0.4929872155189514,
0.4044267237186432,
-0.17652787268161774,
-0.033104244619607925,
0.20855258405208588,
0.24250482022762299,
-0.16365718841552734,
0.3366357088088989,
-0.04259157180786133,
0.37922999262809753,
0.2863859534263611,
0.17989566922187805,
0.3634326756000519,
0.019831649959087372,
0.07667875289916992,
-0.1069897785782814,
0.3586045503616333,
-0.33423739671707153,
-0.14673815667629242,
0.2806132137775421,
0.030429333448410034,
-0.04770824313163757,
0.28896552324295044,
-0.45689156651496887,
0.0635591447353363,
0.4904050827026367,
-0.18348078429698944,
0.41052669286727905,
0.25865229964256287,
-0.06671196222305298,
-0.466575026512146,
-0.20355330407619476,
0.4040680229663849,
-0.15679989755153656,
-0.043656181544065475,
-0.051135916262865067,
0.06210607662796974,
-0.12808802723884583,
0.3088611960411072,
-0.12447874248027802,
0.11409712582826614,
-0.13283002376556396,
0.16971254348754883,
0.6214052438735962,
-0.055419791489839554,
-0.5478651523590088,
0.1586872935295105,
0.18929751217365265,
-0.10273507237434387,
0.21742407977581024,
-0.024229969829320908,
0.025966448709368706,
-0.12591175734996796,
-0.21561528742313385,
0.2760070264339447,
0.24079987406730652,
0.1559189110994339,
0.10188578814268112,
0.027028871700167656,
-0.030064087361097336,
-0.08314956724643707,
0.022523045539855957,
0.2714841365814209,
0.42653000354766846,
-0.4358932077884674,
0.2547700107097626,
-0.29616430401802063,
0.24311089515686035,
0.4442704916000366,
0.08521614968776703,
-0.07153143733739853,
-0.0012006093747913837,
-0.02026558853685856,
-0.5487944483757019,
0.28938978910446167,
-0.17686417698860168,
-0.5273404717445374,
0.08091460913419724,
-0.40743887424468994,
0.03927334398031235,
-0.28975561261177063,
-0.1810075044631958,
0.0466868057847023,
0.04112634062767029,
0.03388381004333496,
-0.08872517198324203,
-0.41439518332481384,
0.11624734103679657,
0.3877354860305786,
0.23590335249900818,
0.03151555731892586,
-0.06985600292682648,
0.08419055491685867,
-0.07125630229711533,
-0.037409380078315735,
-0.2687808573246002,
-0.049305904656648636,
0.17686113715171814,
0.03499839827418327,
-0.25300946831703186,
0.2679133117198944,
0.06014683097600937,
0.14415737986564636,
-0.08025050908327103,
0.2444084882736206,
0.030431926250457764,
-0.01411829236894846,
0.1684848964214325,
-0.2584223747253418,
-0.08733689785003662,
-0.13048028945922852,
-0.25036540627479553,
0.3609985113143921,
-0.17857222259044647,
-0.033462341874837875,
-0.11107438057661057,
0.13987226784229279,
0.08430889248847961,
0.016224443912506104,
-0.14756688475608826,
-0.12998296320438385,
0.05275977402925491,
0.2098972499370575,
0.437820702791214,
0.23618045449256897,
0.0789467990398407,
0.11878451704978943,
0.26837092638015747,
0.13183078169822693,
0.11817249655723572,
-0.07360965013504028,
-0.13770519196987152,
0.1421777904033661,
0.24718813598155975,
0.3656269907951355,
0.21778228878974915,
0.039798710495233536,
0.3672136664390564,
-0.2019687294960022,
0.35537832975387573,
-0.16106975078582764,
-0.04602871090173721,
-0.1480804830789566,
0.135539248585701,
-0.06480813771486282,
-0.1560852825641632,
-0.059693094342947006,
0.018103186041116714,
0.23832766711711884,
0.1332813799381256,
0.008143150247633457,
-0.3435696065425873,
-0.1004171222448349,
-0.15086202323436737,
-0.151152566075325,
0.17552617192268372,
-0.1299465298652649,
-0.4722997844219208,
0.058378517627716064,
-0.22198154032230377,
0.11329737305641174,
-0.023351497948169708,
0.19733792543411255,
-0.3970785140991211,
0.29177695512771606,
-0.12870247662067413,
-0.12234953790903091,
-0.24814742803573608,
0.2301945984363556,
0.08504541218280792,
-0.001760807354003191,
0.3133164346218109,
-0.6097182631492615,
0.08887597918510437,
0.08850481361150742,
0.37889811396598816,
-0.2676578760147095,
0.04291798174381256,
-0.17264613509178162,
0.08731520175933838,
-0.02657235413789749,
-0.5216043591499329,
0.03757116571068764,
-0.21702513098716736,
-0.05585625395178795,
-0.1870141476392746,
-0.2340088039636612,
-0.22171644866466522,
-0.07729356735944748,
-0.028651902452111244,
-0.011366602964699268,
-0.21435889601707458,
-0.0855843797326088,
-0.1366392821073532,
-0.18322259187698364,
0.5226246118545532,
0.1414615511894226,
0.25604891777038574,
-0.0023055935744196177,
-0.2259359061717987,
-0.400226354598999,
-0.22433768212795258,
0.32155779004096985,
-0.35465535521507263,
-0.4346245527267456,
0.3281570076942444,
-0.5130249261856079,
-0.34168124198913574,
0.03007655031979084,
0.12407377362251282,
0.1058705747127533,
0.5141773819923401,
-0.02607101947069168,
0.08564093708992004,
-0.218670055270195,
0.20146708190441132,
-0.3087972104549408,
0.15353156626224518,
-0.00309154880233109,
0.11963745206594467,
0.14666858315467834,
-0.053318463265895844,
-0.047131918370723724,
0.07801448553800583,
-0.08128269761800766,
-0.2787155210971832,
0.11234458535909653,
-0.01896919496357441,
0.1544206738471985,
0.8165988326072693,
0.41802942752838135,
0.3073637783527374,
0.2578551769256592,
0.35547471046447754,
0.6551370620727539,
0.14289475977420807,
-0.04724809154868126,
0.11539477109909058,
-0.06108929589390755,
-0.07311583310365677,
0.05846294388175011,
0.07613158226013184,
-0.2318723052740097,
0.019900362938642502,
0.10935948044061661,
-0.2403733879327774,
-0.35661232471466064,
-0.14287929236888885,
-0.45253756642341614,
0.14258918166160583,
0.10790929198265076,
0.04641652852296829,
-0.26672521233558655,
-0.20124296844005585,
0.03688831999897957,
0.2855025827884674,
0.21451252698898315,
0.2000105232000351,
-0.4393434524536133,
0.023218629881739616,
-0.291389137506485,
0.38255003094673157,
0.02403791807591915,
0.3767935633659363,
-0.15953123569488525,
0.08786732703447342,
0.142217755317688,
0.30853989720344543,
0.19916027784347534,
-0.368886798620224,
0.21759501099586487,
-0.07229191809892654,
0.313390851020813,
0.19357973337173462,
-0.2300417423248291,
0.42392683029174805,
0.416735976934433,
-0.06499907374382019,
0.08801045268774033,
0.10432355105876923,
-0.16244874894618988,
-0.46114248037338257,
-0.16291987895965576,
-0.14005149900913239,
-0.1490301489830017,
0.12778428196907043,
0.3009723126888275,
-0.05919014662504196,
-0.05070637911558151,
0.2749479413032532,
-0.38872504234313965,
-0.1966957151889801,
-0.05698912963271141,
-0.2175356149673462,
0.18359020352363586,
0.058551885187625885,
0.003190018003806472,
0.3556636571884155,
0.06189009174704552,
-0.02418983168900013,
0.4219595491886139,
0.1054665595293045,
0.19056181609630585,
0.45010998845100403,
-0.2394208014011383,
0.2526359558105469,
-0.19633783400058746,
-0.25360724329948425,
0.3440067172050476,
0.12800951302051544,
-0.3881407678127289,
-0.09134090691804886,
0.09488365054130554,
-0.24097782373428345,
-0.17852728068828583,
-0.14679285883903503,
-0.1393214911222458,
-0.00035031905281357467,
-0.17939287424087524,
-0.5722702741622925,
0.29934820532798767,
0.5455885529518127,
-0.3873962163925171,
0.40948614478111267,
-0.18224401772022247,
-0.2915198504924774,
0.12440310418605804,
0.08555389940738678,
0.8844544887542725,
-0.18662886321544647,
0.3774622678756714,
-0.3722924590110779,
-0.007860694080591202,
0.03431783244013786,
-0.3573719263076782,
0.04801126942038536,
-0.4815058708190918,
-0.3130871057510376,
-0.1221834346652031,
-0.18200765550136566,
-0.0026541613042354584,
0.4709046185016632,
0.09557492285966873,
0.08884642273187637,
-0.16639013588428497,
-0.09674427658319473,
-0.12405724823474884,
-0.18569867312908173,
-0.17455463111400604,
-0.2546981871128082,
0.3172064423561096,
0.09955496340990067,
-0.21953079104423523,
0.03810836374759674,
-0.10165657848119736,
-0.004811340477317572,
-0.29588571190834045,
0.2237449735403061,
-0.2637997269630432,
0.06633448600769043,
-0.6536071300506592,
0.08840052783489227,
-0.18417951464653015,
-0.19166944921016693,
0.1924733817577362,
0.32334819436073303,
0.2500447630882263,
0.19081580638885498,
0.010780667886137962,
0.08489744365215302,
0.3455127775669098,
0.15134841203689575,
-0.2724236845970154,
0.04242628440260887,
0.2580711841583252,
0.15148988366127014,
0.10236846655607224,
-0.1992271989583969,
-0.19654391705989838,
-0.3692891001701355,
-0.3049929738044739,
0.26065561175346375,
0.02037879079580307,
-0.1966235339641571,
0.016765670850872993,
0.00965601671487093,
0.019398055970668793,
0.13386374711990356,
0.06413815915584564,
0.4409192204475403,
0.01141973864287138,
0.5084752440452576,
-0.1870284527540207,
-0.26639431715011597,
0.12125428766012192,
0.4861813485622406,
-0.05171433463692665,
-0.2246519774198532,
0.20013777911663055,
-0.3566204309463501,
-0.2840154469013214,
-0.15740157663822174,
0.20584049820899963,
0.2287733107805252,
-0.27392569184303284,
-0.09786075353622437,
-0.05001402646303177,
-0.12075629085302353,
0.20877863466739655,
-0.44000640511512756,
0.1652744561433792,
0.22251957654953003,
0.14455579221248627,
-0.3259631395339966,
-0.37025555968284607,
-0.15570969879627228,
-0.38027289509773254,
0.16940198838710785,
0.09819485247135162,
-0.632349967956543,
0.08480581641197205,
0.1589227169752121,
-0.1927313506603241,
-0.08594609797000885,
0.1824985146522522,
0.05552775412797928,
0.19178195297718048,
0.018382402136921883,
-0.12139470875263214,
-0.1498742252588272,
-0.1152234673500061,
-0.027148542925715446,
-0.05677957087755203,
-0.16411584615707397,
-0.039801668375730515,
0.16794848442077637,
0.1820959895849228,
-0.35793888568878174,
0.034081269055604935,
-0.4784618616104126,
-0.09294502437114716,
-0.37258630990982056,
-0.006916174199432135,
0.1440308690071106,
0.19840744137763977,
0.26554709672927856,
0.15833674371242523,
0.026544256135821342,
-0.2508029341697693,
0.2939375638961792,
-0.08326441049575806,
-0.14578615128993988,
-0.178561732172966,
0.24872781336307526,
-0.25602999329566956,
-0.06890987604856491,
0.12114927172660828,
-0.05345383286476135,
0.15995441377162933,
0.08766033500432968,
0.032949771732091904,
-0.03971831128001213,
0.013644048944115639,
0.09037665277719498,
0.3623426556587219,
0.14798463881015778,
-0.07483092695474625,
0.0384250245988369,
0.33301806449890137,
0.08940225839614868,
0.09641364961862564,
-0.25485658645629883,
0.2557438313961029,
-0.1211252212524414,
-0.013889125548303127,
0.35890844464302063,
0.24857667088508606,
-0.2838551998138428,
0.10822112113237381,
-0.11171421408653259,
-0.024606695398688316,
-0.34298840165138245,
0.41847479343414307,
0.005170109216123819,
0.09477712959051132,
0.031619273126125336,
0.49151700735092163,
0.2797824740409851,
0.133629709482193,
0.3028978705406189,
0.12477937340736389,
0.15891698002815247,
0.48482105135917664,
-0.33692866563796997,
0.13640902936458588,
-0.7019546627998352,
0.04022977501153946,
0.0643203929066658,
0.15008299052715302,
0.23707744479179382,
0.09208165109157562,
0.1744421273469925,
0.07026243954896927,
-0.38571983575820923,
0.05375516042113304,
-0.21500468254089355,
-0.10690265893936157,
-0.17355073988437653,
0.05256856605410576,
0.010166256688535213,
0.023593410849571228,
-0.2575088143348694,
-0.23583979904651642,
-0.2523629665374756,
0.2380780726671219,
0.2800004780292511,
0.1252831369638443,
0.14734487235546112,
0.1435045748949051,
0.23822632431983948,
0.05187100172042847,
-0.13955432176589966,
-0.04918402433395386,
-0.44378212094306946,
-0.12354622781276703,
0.22235968708992004,
0.07071664929389954,
0.00821418035775423,
0.14155656099319458,
0.08432287722826004,
0.1917475163936615,
0.3114390969276428,
0.1031469777226448,
-0.2605125904083252,
0.2802606523036957,
0.031389184296131134,
-0.42639943957328796,
0.049565792083740234,
-0.011882713064551353,
-0.06616418063640594,
0.039600055664777756,
-0.1653691828250885,
-0.014356780797243118,
0.025708479806780815,
-0.09648644924163818,
-0.23720169067382812,
-0.48594337701797485,
0.12182684242725372,
-0.02876434661448002,
0.17254671454429626,
0.09981420636177063,
0.6371155977249146,
-0.03502822294831276,
0.13578417897224426,
-0.5039876699447632,
0.02360246144235134,
0.42247888445854187,
0.30497223138809204,
0.4329586923122406,
0.08612941950559616,
0.04179564490914345,
-0.004052554257214069,
-0.4279853403568268,
0.1783246546983719,
0.19301730394363403,
0.4480087459087372,
-0.04991235211491585,
-0.07186905294656754,
0.0979914516210556,
-0.09945832937955856,
0.694808840751648,
-0.1792333424091339,
0.42050573229789734,
0.37504202127456665,
-0.2903125286102295,
-0.1950789988040924,
0.34420180320739746,
-0.003693666774779558,
0.07947460561990738,
-0.3978527784347534,
0.2591150403022766,
0.20873256027698517,
0.013708649203181267,
-0.061612196266651154,
-0.25497016310691833,
0.18347685039043427,
0.5491980910301208,
0.5960668325424194,
0.13804271817207336,
-0.03731954097747803,
0.07789438962936401,
0.29394346475601196,
-0.427229106426239,
0.0046472023241221905,
-0.13356342911720276,
-0.01107220258563757,
-0.12245088070631027,
-0.08022258430719376,
-0.587181806564331,
-0.08369377255439758,
-0.34477585554122925,
-0.07141384482383728,
-0.08326397091150284,
0.295282781124115,
0.0031483613420277834,
0.012489406391978264,
-0.12588930130004883,
0.048419754952192307,
0.23229262232780457,
0.25874075293540955,
-0.1776358038187027,
0.35602596402168274,
-0.44207239151000977,
-0.04285633936524391,
0.3386682868003845,
-0.2681597173213959,
-0.132593035697937,
0.04721146076917648,
0.37212106585502625,
0.33016324043273926,
-0.1808747798204422,
0.01672784797847271,
0.08681619167327881,
0.38081490993499756,
-0.39203476905822754,
-0.09910698980093002,
-0.017148954793810844,
-0.43552708625793457,
-0.008211974985897541,
-0.13836261630058289,
0.6257171630859375,
-0.012277495115995407,
-0.1993691474199295,
-0.036148760467767715,
-0.28007060289382935
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Sounds nice but I feel this is a sub-part of the approach mentioned by @siddk. Instead of letting the user set new permissions by itself first and then making sure newly generated files have same permissions why don't we ask the user initially only what they want? What are your thoughts?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 51
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Sounds nice but I feel this is a sub-part of the approach mentioned by @siddk. Instead of letting the user set new permissions by itself first and then making sure newly generated files have same permissions why don't we ask the user initially only what they want? What are your thoughts?
|
[
-0.021506724879145622,
0.3034674823284149,
-0.1613318771123886,
-0.0614498108625412,
-0.09430043399333954,
0.011614618822932243,
0.3593588173389435,
0.2102663367986679,
-0.2881746292114258,
0.06739798188209534,
0.021829281002283096,
-0.12377895414829254,
0.010428127832710743,
-0.22285756468772888,
-0.1488351821899414,
0.14299924671649933,
0.12253960222005844,
0.17538465559482574,
0.06430023163557053,
-0.08523398637771606,
-0.09200543910264969,
-0.25709134340286255,
0.0005784467211924493,
-0.08612679690122604,
-0.3042488992214203,
-0.1460857391357422,
0.13763602077960968,
0.1973123997449875,
-0.036980040371418,
-0.176752507686615,
0.14547079801559448,
0.5835264325141907,
0.060447610914707184,
0.17002299427986145,
-0.00011381301010260358,
-0.22992023825645447,
0.033086761832237244,
-0.043664488941431046,
0.016513384878635406,
0.212236225605011,
-0.07354828715324402,
-0.1644747406244278,
-0.19431668519973755,
-0.24330122768878937,
-0.04620490223169327,
0.19971159100532532,
0.19790925085544586,
-0.6541275978088379,
0.5026416778564453,
-0.036366622895002365,
0.16959147155284882,
-0.2603197395801544,
-0.45810240507125854,
0.11497915536165237,
0.2927059531211853,
0.15541307628154755,
-0.1459861546754837,
0.10887406021356583,
0.4278711974620819,
-0.2223551869392395,
-0.04904589802026749,
0.10521458089351654,
-0.3066338002681732,
0.10899416357278824,
0.14398597180843353,
-0.11898968368768692,
-0.2343180924654007,
-0.5785055160522461,
0.0060193962417542934,
0.11863744258880615,
0.7419643998146057,
-0.04143962264060974,
-0.5000022649765015,
-0.32804325222969055,
0.11570662260055542,
0.2075066864490509,
0.22223924100399017,
0.31634271144866943,
-0.14469014108181,
0.2639746069908142,
-0.4496845602989197,
-0.09392987191677094,
-0.1393086314201355,
-0.04971207305788994,
0.21923312544822693,
-0.11797595769166946,
-0.037181220948696136,
0.04568261653184891,
-0.03500077500939369,
0.017657142132520676,
0.2272626906633377,
0.11444192379713058,
-0.3335208296775818,
0.3299401104450226,
-0.11125405132770538,
-0.0360918752849102,
-0.21023336052894592,
0.47186756134033203,
0.24617111682891846,
0.3557564914226532,
0.28728973865509033,
0.22514201700687408,
0.04573648422956467,
0.14566604793071747,
0.0792325958609581,
0.13846391439437866,
0.34339067339897156,
0.1938127875328064,
0.5769109129905701,
-0.34865298867225647,
-0.06219232454895973,
0.09783695638179779,
0.08037333935499191,
-0.3098670542240143,
0.10347380489110947,
0.38156092166900635,
-0.020867856219410896,
-0.11773211508989334,
0.16763852536678314,
0.13820837438106537,
-0.14002519845962524,
-0.407058984041214,
-0.03864805027842522,
0.20555150508880615,
0.04587208107113838,
-0.07817259430885315,
-0.0050330329686403275,
0.15225614607334137,
0.03638547286391258,
-0.35490819811820984,
0.03992766886949539,
-0.3292350769042969,
-0.39531126618385315,
0.48182201385498047,
0.507962167263031,
-0.21053855121135712,
-0.018609656020998955,
0.27448132634162903,
0.1505054384469986,
-0.10569652915000916,
0.3306504189968109,
-0.060582708567380905,
0.3992084562778473,
0.23702216148376465,
0.16559602320194244,
0.3706306219100952,
-0.023712866008281708,
-0.011130044236779213,
-0.12172847241163254,
0.369678795337677,
-0.33211830258369446,
-0.1372835636138916,
0.37285932898521423,
0.054055724292993546,
-0.0034280242398381233,
0.3053080439567566,
-0.3055225610733032,
0.0975189059972763,
0.47499117255210876,
-0.18785017728805542,
0.264522910118103,
0.32645705342292786,
-0.15082547068595886,
-0.4486914277076721,
-0.1300678551197052,
0.42786693572998047,
-0.05205267295241356,
0.03652269020676613,
-0.01965504325926304,
0.056593410670757294,
-0.12230261415243149,
0.2681514620780945,
-0.09357018023729324,
0.3671371638774872,
-0.1649930328130722,
0.19476284086704254,
0.4293018877506256,
-0.010686168447136879,
-0.43890202045440674,
0.19467926025390625,
0.16961586475372314,
-0.03502924367785454,
0.20525023341178894,
0.026507964357733727,
0.056823503226041794,
-0.21158729493618011,
-0.14297939836978912,
0.24177205562591553,
0.006836944725364447,
0.2508009970188141,
0.021711774170398712,
-0.013912631198763847,
0.08089331537485123,
-0.12157092988491058,
0.05804089084267616,
0.33860981464385986,
0.41516920924186707,
-0.31771060824394226,
0.2092595398426056,
-0.3718043565750122,
0.21216313540935516,
0.2398814558982849,
0.12879660725593567,
-0.13514444231987,
-0.14058038592338562,
0.009482690133154392,
-0.48765596747398376,
0.321515291929245,
-0.15778499841690063,
-0.3858756422996521,
0.14581555128097534,
-0.38155627250671387,
0.11969443410634995,
-0.35533469915390015,
-0.03481515869498253,
-0.010742584243416786,
0.06416726857423782,
0.011808784678578377,
-0.12380704283714294,
-0.38398680090904236,
0.06631433963775635,
0.4213305413722992,
0.18840257823467255,
0.010892908088862896,
-0.03260980173945427,
0.07937322556972504,
-0.16226384043693542,
0.036655064672231674,
-0.3233988583087921,
-0.1027960255742073,
0.18932963907718658,
-0.028943931683897972,
-0.15412607789039612,
0.2733412981033325,
0.08489398658275604,
0.059843551367521286,
-0.07643844932317734,
0.2839990556240082,
0.07125493139028549,
0.18368959426879883,
0.05055468901991844,
-0.22414502501487732,
-0.05895565077662468,
-0.24230504035949707,
-0.3031647801399231,
0.3828916549682617,
-0.0749819353222847,
-0.09968411922454834,
-0.19925835728645325,
0.09801807999610901,
-0.009871223010122776,
-0.12722332775592804,
-0.13046252727508545,
-0.09987261146306992,
-0.06741268187761307,
0.26010456681251526,
0.27914685010910034,
0.2810332775115967,
0.0791931077837944,
0.05996670573949814,
0.31852903962135315,
0.12961043417453766,
0.07910565286874771,
-0.06052706018090248,
0.0566110797226429,
0.09245932102203369,
0.1974957287311554,
0.3689725995063782,
0.2394685298204422,
0.05540509521961212,
0.26864245533943176,
-0.18336543440818787,
0.3721334636211395,
-0.16428163647651672,
-0.05011564493179321,
-0.0609721913933754,
0.027087340131402016,
-0.06077896058559418,
-0.1656581312417984,
0.0488092377781868,
0.060255683958530426,
0.22639717161655426,
0.041244734078645706,
-0.04559788107872009,
-0.28761133551597595,
-0.1677027940750122,
-0.11976929008960724,
-0.21050971746444702,
0.28824931383132935,
-0.03896350413560867,
-0.4841921627521515,
0.028695814311504364,
-0.11276867240667343,
0.1295774132013321,
-0.07897140830755234,
0.124395951628685,
-0.2907027304172516,
0.3436158299446106,
-0.16356907784938812,
-0.06601090729236603,
-0.16507266461849213,
0.26535162329673767,
0.0996401235461235,
0.026729773730039597,
0.3398624658584595,
-0.6474869251251221,
0.23540166020393372,
0.02416752465069294,
0.3293391466140747,
-0.2896655201911926,
-0.08471480756998062,
-0.12014864385128021,
-0.061976417899131775,
0.10821215808391571,
-0.48975181579589844,
0.0002004356065299362,
-0.15993016958236694,
-0.02409498393535614,
-0.2729267179965973,
-0.18905332684516907,
-0.16934281587600708,
-0.1547234207391739,
0.07602395862340927,
0.020944882184267044,
-0.3150222599506378,
-0.11581023037433624,
-0.06778855621814728,
-0.13333295285701752,
0.41519472002983093,
0.12574519217014313,
0.28715065121650696,
0.04310792312026024,
-0.2571907639503479,
-0.4677899181842804,
-0.254893958568573,
0.43329569697380066,
-0.2978619933128357,
-0.5735901594161987,
0.2667667865753174,
-0.3667280673980713,
-0.2950366139411926,
-0.05477014556527138,
0.05342317745089531,
0.04966035112738609,
0.5260616540908813,
-0.02804269641637802,
-0.07100652903318405,
-0.17278127372264862,
0.2378222793340683,
-0.3201945126056671,
0.17601454257965088,
0.05077023804187775,
0.04431194067001343,
0.1043994277715683,
-0.005994439125061035,
-0.06301724165678024,
0.09955448657274246,
-0.07241106033325195,
-0.33263787627220154,
0.21056991815567017,
0.054405707865953445,
0.2172199934720993,
0.8299288153648376,
0.39297935366630554,
0.3720267117023468,
0.2671797573566437,
0.3564843237400055,
0.6644085049629211,
0.10482287406921387,
-0.07250265777111053,
0.1425323337316513,
-0.036480870097875595,
-0.07174437493085861,
0.06949595361948013,
0.08119729906320572,
-0.2659107446670532,
-0.020788662135601044,
0.11085043102502823,
-0.312213659286499,
-0.43893226981163025,
-0.10266294330358505,
-0.37607598304748535,
0.17619679868221283,
0.1192987859249115,
0.10657244920730591,
-0.19952762126922607,
-0.15441447496414185,
-0.021066704764962196,
0.2632158398628235,
0.35578253865242004,
0.17476829886436462,
-0.4637182056903839,
0.03692979738116264,
-0.34986260533332825,
0.26904961466789246,
0.08917568624019623,
0.4185876250267029,
-0.1488756686449051,
0.058161377906799316,
0.17525768280029297,
0.2864215075969696,
0.3135204315185547,
-0.370207279920578,
0.08215568214654922,
-0.12423903495073318,
0.17687365412712097,
0.382826030254364,
-0.1949600726366043,
0.43289971351623535,
0.4933442175388336,
0.07729193568229675,
0.14912723004817963,
0.029571235179901123,
-0.14380063116550446,
-0.42993414402008057,
-0.15536914765834808,
-0.03878914937376976,
-0.17530246078968048,
0.2569076418876648,
0.27648499608039856,
-0.07020597159862518,
-0.054804477840662,
0.3186103105545044,
-0.4268200695514679,
-0.17721551656723022,
0.012555180117487907,
-0.14447107911109924,
0.33343106508255005,
0.10702476650476456,
-0.09562595188617706,
0.1886480450630188,
0.08685564249753952,
0.04013270512223244,
0.3317945897579193,
0.08293788880109787,
0.010429935529828072,
0.43790900707244873,
-0.26340484619140625,
0.46450844407081604,
-0.12028364837169647,
-0.3070557713508606,
0.37997984886169434,
0.20018593966960907,
-0.28212836384773254,
-0.14608146250247955,
0.1002369225025177,
-0.14741097390651703,
-0.3917487859725952,
-0.1683853566646576,
-0.08401212841272354,
-0.1172889918088913,
-0.2973451614379883,
-0.6107852458953857,
0.20313158631324768,
0.5352292656898499,
-0.3493174612522125,
0.28023529052734375,
-0.19767378270626068,
-0.31997501850128174,
0.11576759815216064,
0.08997088670730591,
0.8514472842216492,
-0.11891961097717285,
0.4581419825553894,
-0.3852829337120056,
0.09061893820762634,
0.030065054073929787,
-0.4793524742126465,
0.018477901816368103,
-0.44177189469337463,
-0.39649391174316406,
-0.15739206969738007,
-0.12645788490772247,
0.061155665665864944,
0.5074997544288635,
0.06994787603616714,
0.13193389773368835,
-0.03122859075665474,
-0.01570098102092743,
-0.08057692646980286,
-0.09558351337909698,
-0.2434277981519699,
-0.25305405259132385,
0.4673326313495636,
0.10352255403995514,
-0.21097135543823242,
0.04167427122592926,
-0.10588755458593369,
-0.019194232299923897,
-0.23024499416351318,
0.11745745688676834,
-0.19701986014842987,
-0.014703629538416862,
-0.5546614527702332,
0.014660187065601349,
-0.15090510249137878,
-0.05323101207613945,
0.1978963315486908,
0.24674545228481293,
0.25951215624809265,
0.36908912658691406,
0.019892830401659012,
-0.003785407869145274,
0.3759627044200897,
0.28652113676071167,
-0.13384656608104706,
0.03504633158445358,
0.29505375027656555,
0.19529567658901215,
0.14185063540935516,
-0.2592483162879944,
-0.1916336566209793,
-0.3534179627895355,
-0.5514910817146301,
0.2923973500728607,
0.036290235817432404,
-0.21550628542900085,
-0.029629677534103394,
0.07614496350288391,
0.07581765204668045,
0.09350807964801788,
0.07118476927280426,
0.4465315341949463,
0.032539743930101395,
0.5419027805328369,
-0.34804823994636536,
-0.2729814648628235,
0.017171014100313187,
0.456242173910141,
-0.008790723979473114,
-0.27993693947792053,
0.12193500995635986,
-0.42470020055770874,
-0.2871577739715576,
-0.18389858305454254,
0.21658536791801453,
0.09926439821720123,
-0.1942407190799713,
-0.14537987112998962,
0.00393720855936408,
-0.05367023125290871,
0.2282114028930664,
-0.5018802285194397,
0.13641178607940674,
0.06311316788196564,
0.24044424295425415,
-0.22328704595565796,
-0.3366979658603668,
-0.22224856913089752,
-0.28165358304977417,
0.28781425952911377,
0.17481665313243866,
-0.5316983461380005,
0.03425223380327225,
0.11167870461940765,
-0.22042889893054962,
-0.16174481809139252,
0.23769311606884003,
0.17678287625312805,
0.23742461204528809,
0.06450311094522476,
-0.211753711104393,
-0.1975311040878296,
-0.08688315749168396,
-0.09584164619445801,
-0.07334447652101517,
-0.183997243642807,
-0.02204316481947899,
0.1630772203207016,
0.1925928145647049,
-0.3057270050048828,
0.11555945873260498,
-0.4096888601779938,
-0.12166594713926315,
-0.41835686564445496,
0.06019802764058113,
0.25593817234039307,
0.20846815407276154,
0.2805693447589874,
0.20270685851573944,
-0.034054942429065704,
-0.13114647567272186,
0.27177372574806213,
-0.14904136955738068,
-0.16151060163974762,
-0.24046790599822998,
0.25738948583602905,
-0.2780953347682953,
-0.02717979997396469,
0.08812014013528824,
-0.022540166974067688,
0.08418332785367966,
0.1487891525030136,
0.06394156068563461,
0.02386707067489624,
0.07194504141807556,
0.17729777097702026,
0.30382007360458374,
-0.039574746042490005,
-0.12946905195713043,
0.059762708842754364,
0.4733665883541107,
0.13258904218673706,
0.16427287459373474,
-0.22115232050418854,
0.29639530181884766,
-0.19676922261714935,
0.03971409797668457,
0.43831518292427063,
0.26169106364250183,
-0.187612846493721,
0.19473685324192047,
-0.1431865096092224,
0.028601473197340965,
-0.4217783212661743,
0.4083341956138611,
-0.026062458753585815,
0.08359048515558243,
-0.009268122725188732,
0.45398634672164917,
0.12057321518659592,
0.005917172413319349,
0.2759360074996948,
0.23596908152103424,
0.22518017888069153,
0.398024320602417,
-0.32554659247398376,
0.03716801106929779,
-0.6843454241752625,
0.15872760117053986,
0.06637334823608398,
0.1399267613887787,
0.26491445302963257,
0.06534425169229507,
0.09818948805332184,
-0.008854927495121956,
-0.32725533843040466,
0.0779380351305008,
-0.22234970331192017,
-0.1073075383901596,
-0.09256379306316376,
0.09254837781190872,
-0.006445738021284342,
0.04140383005142212,
-0.24350860714912415,
-0.23931777477264404,
-0.2039107084274292,
0.1722232848405838,
0.2994830906391144,
0.02680068649351597,
0.2390526533126831,
-0.005768167320638895,
0.022745011374354362,
0.10521798580884933,
-0.23051808774471283,
-0.08860009163618088,
-0.5490129590034485,
-0.15878042578697205,
0.19637936353683472,
0.15768975019454956,
-0.0024714982137084007,
0.2507822811603546,
0.11550725251436234,
0.11430391669273376,
0.21051552891731262,
0.14106731116771698,
-0.3057367503643036,
0.3160785734653473,
-0.07843174785375595,
-0.37269747257232666,
0.020579621195793152,
0.013396428897976875,
-0.05569535866379738,
0.02130436897277832,
-0.14174610376358032,
-0.06974007189273834,
-0.10422724485397339,
-0.05915897339582443,
-0.001265373663045466,
-0.36471793055534363,
0.19289632141590118,
-0.024681108072400093,
0.09962856024503708,
0.0929890125989914,
0.5304291248321533,
-0.08010342717170715,
0.21318984031677246,
-0.5350332856178284,
0.04062258452177048,
0.4460456073284149,
0.09690346568822861,
0.4369758069515228,
-0.06026984378695488,
-0.1579895168542862,
0.0823487639427185,
-0.39734527468681335,
0.06723137199878693,
0.20588551461696625,
0.4810693562030792,
-0.04739617556333542,
-0.1647845208644867,
0.16033364832401276,
-0.020102843642234802,
0.5293861031532288,
-0.3117317259311676,
0.23099826276302338,
0.3042067289352417,
-0.2668895125389099,
-0.16463442146778107,
0.20025397837162018,
-0.05599672347307205,
0.02556990087032318,
-0.33615773916244507,
0.2876141667366028,
0.2087487429380417,
0.05664210021495819,
-0.11867592483758926,
-0.20095421373844147,
0.18941232562065125,
0.5180320143699646,
0.4471514821052551,
0.22346462309360504,
-0.12816713750362396,
-0.014497213996946812,
0.3214609622955322,
-0.4525112211704254,
0.12045624107122421,
-0.18588152527809143,
-0.14332343637943268,
-0.1372976154088974,
0.023263001814484596,
-0.5915029048919678,
-0.14097946882247925,
-0.39000096917152405,
-0.05416366830468178,
-0.0959736779332161,
0.36697569489479065,
0.05747506022453308,
-0.004772855434566736,
-0.09926749020814896,
0.03496619313955307,
0.25794947147369385,
0.3559638559818268,
-0.1373482644557953,
0.43684226274490356,
-0.4264827370643616,
-0.007700766436755657,
0.2884613871574402,
-0.20155271887779236,
-0.14667396247386932,
-0.01740250177681446,
0.34916943311691284,
0.1621316820383072,
-0.10716567933559418,
0.05842792987823486,
-0.06407587975263596,
0.3837527334690094,
-0.4046953022480011,
-0.060007788240909576,
0.12962259352207184,
-0.4057175815105438,
-0.16226671636104584,
-0.05850723385810852,
0.5083824396133423,
-0.04596685990691185,
-0.2583736181259155,
0.013549637980759144,
-0.23338858783245087
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Yes sounds good. Should this be a parameter in `load_dataset` ? Or an env variable ? Or use the value of `os.umask` ?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 23
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Yes sounds good. Should this be a parameter in `load_dataset` ? Or an env variable ? Or use the value of `os.umask` ?
|
[
-0.11572445929050446,
0.19156569242477417,
-0.1204444020986557,
0.010219357907772064,
-0.004657112527638674,
0.07383725792169571,
0.3548935055732727,
0.08304734528064728,
-0.0977410152554512,
0.023423494771122932,
-0.10515791922807693,
0.11370668560266495,
0.07436934858560562,
-0.27142149209976196,
-0.06072571128606796,
0.15252088010311127,
0.2136562466621399,
0.02426842413842678,
0.03140178695321083,
-0.1150258406996727,
-0.16827604174613953,
-0.05777653679251671,
-0.10900553315877914,
-0.0970224142074585,
-0.23154416680335999,
-0.12353002279996872,
0.24491660296916962,
0.2954758107662201,
-0.012376931495964527,
-0.15839122235774994,
0.234373539686203,
0.55872642993927,
0.1839403361082077,
0.06645524501800537,
-0.00011460713722044602,
-0.13733316957950592,
0.02459942176938057,
-0.1300731599330902,
0.03299298137426376,
0.21298080682754517,
-0.01983349211513996,
-0.13540008664131165,
-0.10632820427417755,
-0.210783913731575,
-0.1455824077129364,
0.18454906344413757,
0.08641023933887482,
-0.6697397232055664,
0.4485447406768799,
0.24989289045333862,
0.18491189181804657,
-0.1789574921131134,
-0.34196582436561584,
0.13277922570705414,
0.24984228610992432,
0.10166380554437637,
-0.12130945175886154,
0.06444629281759262,
0.2906062602996826,
-0.1677001267671585,
-0.033417411148548126,
-0.006596920546144247,
-0.29961642622947693,
0.06730642169713974,
0.20020756125450134,
-0.0560004785656929,
-0.2622169256210327,
-0.5426021814346313,
0.07750005275011063,
0.06789964437484741,
0.7661517262458801,
-0.08331213146448135,
-0.5185657739639282,
-0.1043550968170166,
0.09090135991573334,
0.22546088695526123,
0.38256070017814636,
0.345504492521286,
-0.02178538776934147,
0.3150944709777832,
-0.5068022608757019,
0.01054983027279377,
-0.22921037673950195,
0.04996947944164276,
0.15380272269248962,
0.014186703599989414,
-0.0012821624986827374,
0.11215434968471527,
0.06971801817417145,
-0.08665875345468521,
0.19569551944732666,
0.11379374563694,
-0.32449859380722046,
0.3942146897315979,
-0.2211424857378006,
0.037048324942588806,
-0.21995724737644196,
0.464030921459198,
0.23840461671352386,
0.28795498609542847,
0.21114295721054077,
0.18489988148212433,
0.007535852026194334,
0.22916005551815033,
-0.03341127932071686,
0.14296723902225494,
0.39445382356643677,
0.2765602767467499,
0.5267388820648193,
-0.37817370891571045,
-0.11038438230752945,
0.031558774411678314,
-0.051687587052583694,
-0.3931075632572174,
0.07375135272741318,
0.23955821990966797,
0.04035887122154236,
-0.20363184809684753,
0.12828366458415985,
0.08213556557893753,
-0.11160875856876373,
-0.27733272314071655,
0.031325723975896835,
0.3696843087673187,
0.11353369057178497,
-0.11508271098136902,
0.03989097848534584,
0.25309398770332336,
-0.04551780968904495,
-0.3753739893436432,
0.011407904326915741,
-0.3871249556541443,
-0.2792077958583832,
0.403325617313385,
0.47523242235183716,
-0.12668071687221527,
0.03748127818107605,
0.25778499245643616,
0.12955474853515625,
-0.24772776663303375,
0.3621709942817688,
-0.04419829696416855,
0.3986063301563263,
0.36695078015327454,
0.2635763883590698,
0.2514338791370392,
0.09833937883377075,
0.02832629717886448,
-0.10791465640068054,
0.4005107879638672,
-0.35579341650009155,
-0.15484167635440826,
0.29789796471595764,
0.056241169571876526,
-0.07005726546049118,
0.22293026745319366,
-0.3771531879901886,
0.10080863535404205,
0.5208302736282349,
-0.0400719940662384,
0.3602370321750641,
0.24578362703323364,
-0.20405906438827515,
-0.4434044361114502,
-0.07133226841688156,
0.27098968625068665,
-0.1343940943479538,
-0.058517370373010635,
-0.0877230167388916,
-0.06524711102247238,
0.026164479553699493,
0.35079875588417053,
-0.027253879234194756,
0.22788365185260773,
-0.09130118787288666,
0.16322281956672668,
0.49358072876930237,
-0.02708139643073082,
-0.5619920492172241,
0.12315724045038223,
0.2241758406162262,
-0.14953386783599854,
0.1917969137430191,
0.025275535881519318,
0.03262793645262718,
-0.05484558641910553,
-0.08132269978523254,
0.3807576894760132,
0.2587207555770874,
0.2704673707485199,
0.1384899914264679,
0.1101890504360199,
0.051644857972860336,
-0.01870901882648468,
0.04095733165740967,
0.349569171667099,
0.3849887549877167,
-0.3570512533187866,
0.25088971853256226,
-0.2888384759426117,
0.23769164085388184,
0.4559270441532135,
0.09419778734445572,
-0.12704962491989136,
0.02412906102836132,
0.044178370386362076,
-0.3931052088737488,
0.25041770935058594,
-0.09992995113134384,
-0.4025929570198059,
0.09857220947742462,
-0.47680410742759705,
0.0507054477930069,
-0.22610720992088318,
-0.15048305690288544,
-0.087673120200634,
0.049878932535648346,
0.006995007861405611,
-0.0551142655313015,
-0.3226660192012787,
0.13724271953105927,
0.37892165780067444,
0.20706595480442047,
-0.007192443590611219,
-0.12559914588928223,
0.1369626820087433,
-0.07973804324865341,
-0.07548070698976517,
-0.23614557087421417,
-0.0997985452413559,
0.2494993805885315,
0.014924393966794014,
-0.291936457157135,
0.30108994245529175,
0.2039221227169037,
0.003709026612341404,
-0.1793103814125061,
0.1579236537218094,
-0.03162270784378052,
0.07925175130367279,
0.09224732965230942,
-0.18836647272109985,
-0.07806731015443802,
-0.17187559604644775,
-0.299730509519577,
0.37964490056037903,
-0.10709898918867111,
-0.09612898528575897,
-0.2705846428871155,
0.18759770691394806,
0.12346573919057846,
0.0009862411534413695,
-0.13685931265354156,
-0.10228555649518967,
0.037552401423454285,
0.1670028567314148,
0.38140952587127686,
0.23003190755844116,
0.08533962070941925,
-0.02088037133216858,
0.3448319137096405,
0.16703933477401733,
0.06479686498641968,
0.014318030327558517,
-0.06580657511949539,
0.0711301863193512,
0.248819962143898,
0.2583675980567932,
0.3715967535972595,
0.04792730137705803,
0.27921444177627563,
-0.16851069033145905,
0.37133240699768066,
-0.13287845253944397,
0.02692578174173832,
-0.09192444384098053,
-0.057960692793130875,
-0.20321683585643768,
-0.21280962228775024,
-0.06406521052122116,
-0.001840694691054523,
0.26516175270080566,
0.1012498140335083,
0.08389025926589966,
-0.410876601934433,
-0.11331097036600113,
-0.19674107432365417,
-0.13376343250274658,
0.3249424993991852,
0.004600732121616602,
-0.5532533526420593,
-0.05593441426753998,
-0.19945049285888672,
0.20222966372966766,
-0.03307723253965378,
0.20917460322380066,
-0.20461337268352509,
0.20343859493732452,
-0.031007817015051842,
-0.15471024811267853,
-0.19210515916347504,
0.20373134315013885,
0.09176213294267654,
0.012129844166338444,
0.17262697219848633,
-0.5726962685585022,
0.1163189634680748,
-0.05812462046742439,
0.28658416867256165,
-0.28652551770210266,
0.03540899604558945,
-0.17413267493247986,
-0.0007080736686475575,
0.12356626987457275,
-0.43856295943260193,
0.05180986598134041,
-0.23574364185333252,
0.007002330385148525,
-0.13073433935642242,
-0.2610493302345276,
-0.2307143360376358,
-0.03241471201181412,
0.1210661306977272,
-0.02359403483569622,
-0.26379144191741943,
-0.09451907128095627,
-0.1961846649646759,
-0.15844453871250153,
0.4723941683769226,
0.15273761749267578,
0.2521527111530304,
-0.014710158109664917,
-0.2428230494260788,
-0.4192594885826111,
-0.14235493540763855,
0.28217369318008423,
-0.39609506726264954,
-0.5978463888168335,
0.3621940016746521,
-0.49484044313430786,
-0.40881606936454773,
0.06481876224279404,
0.19022534787654877,
0.08736884593963623,
0.4965352714061737,
-0.020667664706707,
-0.032720860093832016,
-0.13035844266414642,
0.21105831861495972,
-0.3021690845489502,
0.14907079935073853,
-0.01832345314323902,
-0.003331342013552785,
0.1987176090478897,
-0.061613209545612335,
-0.2049262970685959,
0.015770725905895233,
-0.0018585595535114408,
-0.24356724321842194,
0.173383891582489,
0.18040154874324799,
0.0368577279150486,
0.6638666987419128,
0.40061095356941223,
0.3711782991886139,
0.34473472833633423,
0.24606525897979736,
0.6566478610038757,
0.12778699398040771,
-0.0983547642827034,
0.13288050889968872,
0.030742578208446503,
-0.13441962003707886,
0.1476207971572876,
0.05073592811822891,
-0.22453655302524567,
0.008627037517726421,
-0.030515937134623528,
-0.25278976559638977,
-0.41455012559890747,
-0.1356722116470337,
-0.2857635021209717,
0.09068123251199722,
0.012083962559700012,
0.2275610864162445,
-0.25447556376457214,
-0.19963015615940094,
0.01572434790432453,
0.34981390833854675,
0.19017694890499115,
0.2888486981391907,
-0.501157820224762,
0.03220636397600174,
-0.33754763007164,
0.40715399384498596,
-0.11288377642631531,
0.4579402804374695,
-0.23471902310848236,
0.12266385555267334,
0.2193192094564438,
0.3533584475517273,
0.4206817150115967,
-0.42602255940437317,
0.21917521953582764,
0.024685289710760117,
0.15916715562343597,
0.2435564249753952,
-0.18747578561306,
0.402434766292572,
0.45823603868484497,
0.038700513541698456,
0.10106074064970016,
0.13917464017868042,
-0.12691456079483032,
-0.4196951985359192,
-0.21219372749328613,
-0.08873679488897324,
-0.31152576208114624,
0.08655262738466263,
0.194670170545578,
-0.11844449490308762,
-0.0838518738746643,
0.2580324709415436,
-0.319693386554718,
-0.192800372838974,
0.013564921915531158,
-0.23596186935901642,
0.21445713937282562,
0.08823952823877335,
-0.023360611870884895,
0.37499791383743286,
0.029077760875225067,
-0.01387361902743578,
0.3818992078304291,
0.007433168590068817,
0.18246693909168243,
0.4704219698905945,
-0.27579599618911743,
0.2875596284866333,
-0.1840997040271759,
-0.27682414650917053,
0.4023545980453491,
-0.020774202421307564,
-0.3571343421936035,
-0.15686926245689392,
0.17439886927604675,
-0.19305585324764252,
-0.26741325855255127,
-0.011144266463816166,
-0.1028447151184082,
0.07495468109846115,
-0.280111163854599,
-0.6301462650299072,
0.20233777165412903,
0.5458947420120239,
-0.36912980675697327,
0.2700279653072357,
-0.3061346113681793,
-0.3580113649368286,
0.21224597096443176,
0.1006002277135849,
0.7887313365936279,
-0.24648606777191162,
0.353695809841156,
-0.4175289273262024,
0.12697403132915497,
0.021606259047985077,
-0.43904373049736023,
0.0716993510723114,
-0.4734862744808197,
-0.3681216835975647,
-0.11364569514989853,
-0.1103551983833313,
0.06010827049612999,
0.534005880355835,
-0.04494509845972061,
0.09782911837100983,
-0.0706806555390358,
-0.10433942079544067,
-0.17646972835063934,
-0.18742452561855316,
-0.16082921624183655,
-0.3270982801914215,
0.2392129898071289,
0.1140989437699318,
-0.23129718005657196,
0.055835891515016556,
-0.03652561083436012,
0.012198923155665398,
-0.18671815097332,
0.19567450881004333,
-0.1977064460515976,
0.06846293061971664,
-0.6160361170768738,
0.06822387129068375,
-0.15474070608615875,
-0.08785635977983475,
0.13093693554401398,
0.4158764183521271,
0.298632949590683,
0.34836113452911377,
-0.013634332455694675,
0.02926941029727459,
0.34767866134643555,
0.20694321393966675,
-0.2035665512084961,
0.03422744944691658,
0.26275134086608887,
0.17587292194366455,
0.02145886793732643,
-0.2505779564380646,
-0.17453508079051971,
-0.3691312372684479,
-0.26917192339897156,
0.23845508694648743,
0.0540878102183342,
-0.29711243510246277,
-0.054593294858932495,
-0.19234630465507507,
0.09659379720687866,
0.10192432254552841,
0.066256083548069,
0.5287200212478638,
-0.03303205221891403,
0.5756503343582153,
-0.3444020748138428,
-0.39049261808395386,
0.03175140172243118,
0.5647515058517456,
-0.06697992980480194,
-0.23681630194187164,
0.15458041429519653,
-0.3134383261203766,
-0.24850092828273773,
-0.15708863735198975,
0.25009095668792725,
0.19428496062755585,
-0.12300574034452438,
-0.08774387836456299,
0.06847412139177322,
-0.06959831714630127,
0.19410066306591034,
-0.47713589668273926,
0.04617767408490181,
0.17641963064670563,
0.13000991940498352,
-0.37803128361701965,
-0.4907992482185364,
-0.3061337471008301,
-0.3063039183616638,
0.22666238248348236,
0.3198889493942261,
-0.640857458114624,
0.10105347633361816,
-0.01602310501039028,
-0.19973799586296082,
-0.234714075922966,
0.07675424218177795,
0.09674843400716782,
0.17769663035869598,
0.04678034782409668,
-0.091950424015522,
-0.20288611948490143,
-0.0703609511256218,
-0.11170686781406403,
-0.05338625609874725,
-0.1622435450553894,
-0.04699062183499336,
0.15024450421333313,
0.17538903653621674,
-0.3635748028755188,
0.1325896680355072,
-0.49738070368766785,
-0.12543001770973206,
-0.4760817885398865,
0.060250215232372284,
0.3147100806236267,
0.19373808801174164,
0.31904175877571106,
0.1800256073474884,
0.000422744604293257,
-0.21742495894432068,
0.17613379657268524,
-0.18475650250911713,
-0.13352011144161224,
-0.256671667098999,
0.24962681531906128,
-0.29182684421539307,
-0.04422059282660484,
0.09593355655670166,
-0.05256727710366249,
0.16841569542884827,
0.09684658795595169,
0.10871435701847076,
0.007795566692948341,
0.02100902795791626,
0.08257261663675308,
0.2972572445869446,
0.0636642724275589,
-0.18530023097991943,
0.06969798356294632,
0.3839075267314911,
0.0971769466996193,
0.13140639662742615,
-0.25719553232192993,
0.34482133388519287,
-0.10688207298517227,
0.00003150215343339369,
0.39787471294403076,
0.16171878576278687,
-0.28939932584762573,
0.15615993738174438,
-0.10308753699064255,
0.15655717253684998,
-0.2774789035320282,
0.3243851959705353,
-0.04051424562931061,
0.041586387902498245,
0.10162389278411865,
0.3367091715335846,
0.2523677945137024,
0.05845178663730621,
0.3339827060699463,
0.18653641641139984,
0.19963976740837097,
0.38674604892730713,
-0.3236471116542816,
0.10586915165185928,
-0.7008696794509888,
0.07364162057638168,
-0.0000709680825821124,
-0.0661134198307991,
0.30085667967796326,
0.10887768119573593,
0.025684338063001633,
0.0033403232228010893,
-0.28859850764274597,
-0.008892441168427467,
-0.12784670293331146,
-0.1557435840368271,
-0.15204285085201263,
0.04880858585238457,
0.13508030772209167,
0.03524770587682724,
-0.2344057410955429,
-0.199081152677536,
-0.27422067523002625,
0.1608574092388153,
0.2585534155368805,
0.09712590277194977,
0.1773429960012436,
0.022862577810883522,
0.11487650871276855,
-0.026497555896639824,
-0.23956409096717834,
-0.057744305580854416,
-0.5136404037475586,
-0.09907668828964233,
0.34573623538017273,
-0.0201041791588068,
0.08735077828168869,
0.151155024766922,
0.18201705813407898,
0.15139810740947723,
0.30527395009994507,
0.10705406963825226,
-0.29392990469932556,
0.2839924395084381,
-0.08076430857181549,
-0.23189190030097961,
0.10092862695455551,
-0.002920089988037944,
-0.01538882777094841,
-0.12727850675582886,
-0.14178429543972015,
-0.010508233681321144,
0.05530158057808876,
-0.06679289788007736,
-0.13647238910198212,
-0.43917837738990784,
0.11450225114822388,
-0.042341116815805435,
0.16523492336273193,
0.04230957478284836,
0.49039390683174133,
0.09768655151128769,
0.23875461518764496,
-0.4316914677619934,
0.020140761509537697,
0.3464188277721405,
0.2648148536682129,
0.38241341710090637,
-0.008526027202606201,
-0.024271642789244652,
0.05640111863613129,
-0.408849835395813,
0.13770300149917603,
0.20878583192825317,
0.3114929497241974,
0.019944924861192703,
-0.23325321078300476,
0.12491658329963684,
-0.06819839775562286,
0.5730346441268921,
-0.24754151701927185,
0.25766363739967346,
0.3815858066082001,
-0.24729236960411072,
-0.3133665919303894,
0.20093946158885956,
-0.02123786136507988,
0.07515119761228561,
-0.3698139786720276,
0.30972546339035034,
0.06144745647907257,
0.027292270213365555,
-0.16798348724842072,
-0.1955743432044983,
0.19881542026996613,
0.5369480848312378,
0.49672773480415344,
0.19375774264335632,
-0.003343411721289158,
0.028840184211730957,
0.4734134376049042,
-0.3762732446193695,
0.11907617747783661,
-0.20652438700199127,
-0.03094230778515339,
-0.1803780347108841,
0.02470325119793415,
-0.5975063443183899,
-0.2022424042224884,
-0.36346814036369324,
0.04675518348813057,
-0.15678554773330688,
0.1914331614971161,
0.08119730651378632,
0.10098171979188919,
-0.10090973973274231,
0.027402594685554504,
0.31333136558532715,
0.256112277507782,
-0.14451797306537628,
0.37934014201164246,
-0.3996715843677521,
-0.12392778694629669,
0.2655772268772125,
-0.2716207206249237,
-0.17954999208450317,
-0.08242011815309525,
0.3575582504272461,
0.14352113008499146,
-0.177156463265419,
-0.02165873907506466,
0.09055402129888535,
0.3699931204319,
-0.436089426279068,
-0.13805115222930908,
0.046088121831417084,
-0.3514811098575592,
0.07301152497529984,
-0.14634287357330322,
0.452574759721756,
-0.005270893219858408,
-0.23065516352653503,
0.06801623851060867,
-0.28779926896095276
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Ideally it should be a parameter in `load_dataset` but I'm not sure how important it is for the users (considering only important things should go into `load_dataset` parameters)
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 28
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Ideally it should be a parameter in `load_dataset` but I'm not sure how important it is for the users (considering only important things should go into `load_dataset` parameters)
|
[
-0.13602767884731293,
0.23576781153678894,
-0.13112719357013702,
0.06138236075639725,
-0.05536625161767006,
0.09406471252441406,
0.3185184597969055,
0.13793021440505981,
-0.17317324876785278,
0.02125946618616581,
-0.026156924664974213,
0.02686096727848053,
0.060325637459754944,
-0.25843188166618347,
-0.04040434584021568,
0.08521915227174759,
0.14060258865356445,
0.046948134899139404,
0.041757382452487946,
-0.06367640942335129,
-0.12455466389656067,
-0.12614712119102478,
-0.04929228499531746,
-0.09561888873577118,
-0.20342367887496948,
-0.13657553493976593,
0.3221457004547119,
0.2506712079048157,
0.03736181557178497,
-0.11351320892572403,
0.2764500677585602,
0.5581899881362915,
0.12196344882249832,
0.08786667883396149,
-0.00011505590373417363,
-0.18164469301700592,
0.0381917878985405,
-0.13210149109363556,
0.03251960128545761,
0.19419346749782562,
-0.1203790158033371,
-0.13452832400798798,
-0.12162671238183975,
-0.15873926877975464,
-0.1057853028178215,
0.16504861414432526,
0.1044895276427269,
-0.6469734311103821,
0.44606664776802063,
0.1828894019126892,
0.18591859936714172,
-0.22565537691116333,
-0.3946872651576996,
0.0816640630364418,
0.24886435270309448,
0.10169864445924759,
-0.14621001482009888,
0.11210838705301285,
0.2739812731742859,
-0.15141090750694275,
-0.004422825761139393,
0.000006194929028424667,
-0.31308674812316895,
0.051226526498794556,
0.18301543593406677,
-0.15878072381019592,
-0.2716630697250366,
-0.5145754218101501,
0.1429125964641571,
0.07301256060600281,
0.7643355131149292,
-0.10474458336830139,
-0.4819130003452301,
-0.18476948142051697,
0.022309867665171623,
0.2133847177028656,
0.3478793501853943,
0.2973603308200836,
0.013678320683538914,
0.30959606170654297,
-0.49085789918899536,
-0.06570050120353699,
-0.1992790549993515,
-0.0027750281151384115,
0.18805207312107086,
-0.05139929801225662,
-0.038164254277944565,
0.1153755709528923,
-0.0053001088090240955,
-0.05313071608543396,
0.14054957032203674,
0.11952071636915207,
-0.3659529685974121,
0.37801235914230347,
-0.17781786620616913,
0.07182120531797409,
-0.19305133819580078,
0.4293602705001831,
0.2333185076713562,
0.32623472809791565,
0.2667444348335266,
0.20923547446727753,
0.08265518397092819,
0.22483545541763306,
0.009438253939151764,
0.1519303172826767,
0.4054579734802246,
0.27429327368736267,
0.5419010519981384,
-0.3882973790168762,
-0.06627305597066879,
0.029087036848068237,
-0.028464598581194878,
-0.39237233996391296,
0.1260014921426773,
0.24526821076869965,
0.012825118377804756,
-0.21031741797924042,
0.18210244178771973,
0.09224310517311096,
-0.0493149533867836,
-0.2737078368663788,
0.030683675780892372,
0.316608726978302,
0.05915636941790581,
-0.08724818378686905,
0.0076862215064466,
0.11340309679508209,
0.024647412821650505,
-0.40424299240112305,
-0.0034628156572580338,
-0.3750953674316406,
-0.35898730158805847,
0.4641408622264862,
0.45779770612716675,
-0.24482715129852295,
0.07822663336992264,
0.21907547116279602,
0.16372893750667572,
-0.24047823250293732,
0.3377043604850769,
-0.0499824583530426,
0.3577246367931366,
0.4029451906681061,
0.28281715512275696,
0.31075823307037354,
0.038994647562503815,
0.03981249779462814,
-0.09940316528081894,
0.3312430679798126,
-0.36996981501579285,
-0.15438096225261688,
0.2854825258255005,
0.0420135036110878,
-0.035283688455820084,
0.2946752905845642,
-0.4751754403114319,
0.10141763091087341,
0.558377206325531,
-0.1506776660680771,
0.3145245313644409,
0.26509371399879456,
-0.22191201150417328,
-0.45027676224708557,
-0.07729803770780563,
0.3010309934616089,
-0.1203642189502716,
-0.04772529378533363,
-0.03489471599459648,
-0.01499804388731718,
-0.007837374694645405,
0.2800576686859131,
-0.0775761604309082,
0.24296045303344727,
-0.07062115520238876,
0.18844468891620636,
0.5337373614311218,
-0.04774896800518036,
-0.5750142931938171,
0.18836456537246704,
0.1889154016971588,
-0.17983204126358032,
0.18912599980831146,
-0.015231303870677948,
0.11238904297351837,
-0.0776219591498375,
-0.06679210811853409,
0.35436415672302246,
0.22729624807834625,
0.2602185308933258,
0.17824818193912506,
0.11460163444280624,
0.045651547610759735,
-0.054002437740564346,
0.03777362406253815,
0.39338845014572144,
0.38316410779953003,
-0.30895015597343445,
0.1788143515586853,
-0.25111180543899536,
0.2620522677898407,
0.4649667739868164,
0.03070109151303768,
-0.1328858584165573,
-0.007729706354439259,
-0.04659877344965935,
-0.4959968328475952,
0.2730865180492401,
-0.11014775186777115,
-0.4933684170246124,
0.09161298722028732,
-0.4283296763896942,
-0.01831967756152153,
-0.27269649505615234,
-0.14480336010456085,
0.00646411394700408,
0.04308324679732323,
-0.009461856447160244,
-0.07963287830352783,
-0.3605629801750183,
0.17586639523506165,
0.42979109287261963,
0.20504659414291382,
-0.03769854083657265,
-0.1288127601146698,
0.08651532977819443,
-0.04655009135603905,
-0.10049605369567871,
-0.2174246609210968,
-0.12288931757211685,
0.26936015486717224,
0.030232086777687073,
-0.2796190083026886,
0.2872931659221649,
0.16084977984428406,
0.07640115916728973,
-0.10817471891641617,
0.2295517772436142,
-0.0259981919080019,
0.0941334068775177,
0.03479572758078575,
-0.260845422744751,
-0.0801374763250351,
-0.1637900173664093,
-0.24255356192588806,
0.36754119396209717,
-0.1197708398103714,
-0.08492282778024673,
-0.22203023731708527,
0.1864243447780609,
0.16167576611042023,
0.008741989731788635,
-0.16251526772975922,
-0.08696442097425461,
-0.01259551290422678,
0.19249433279037476,
0.40178894996643066,
0.2435416579246521,
0.010119632817804813,
-0.024201098829507828,
0.3577234745025635,
0.15390753746032715,
0.08204914629459381,
-0.028346549719572067,
-0.08045968413352966,
0.05781641602516174,
0.24341492354869843,
0.2833215594291687,
0.3093888759613037,
0.04716019332408905,
0.29912927746772766,
-0.2422783225774765,
0.31656572222709656,
-0.16359756886959076,
-0.01053844764828682,
-0.10634830594062805,
0.0025095087476074696,
-0.11187636852264404,
-0.19961950182914734,
-0.050507739186286926,
-0.012642471119761467,
0.2895020544528961,
0.10809502005577087,
0.05649806931614876,
-0.3899313509464264,
-0.07095296680927277,
-0.206517294049263,
-0.11479447782039642,
0.29457393288612366,
-0.09223338216543198,
-0.5483306050300598,
-0.0536423996090889,
-0.23545415699481964,
0.2290988266468048,
-0.011039665900170803,
0.16331778466701508,
-0.2583613693714142,
0.2286829948425293,
-0.07558105140924454,
-0.1648588329553604,
-0.25068017840385437,
0.24843528866767883,
0.04606591537594795,
-0.002424431499093771,
0.18467341363430023,
-0.5759427547454834,
0.1644122451543808,
-0.02960352413356304,
0.33230486512184143,
-0.25135326385498047,
0.09493789076805115,
-0.15344934165477753,
0.021091341972351074,
0.150896817445755,
-0.486103355884552,
0.12404556572437286,
-0.15866726636886597,
0.021837366744875908,
-0.1734282374382019,
-0.18745383620262146,
-0.17317259311676025,
-0.02139880508184433,
0.02784496173262596,
-0.03109867125749588,
-0.31033849716186523,
-0.10544538497924805,
-0.13274753093719482,
-0.14335176348686218,
0.39123499393463135,
0.11559983342885971,
0.23248673975467682,
0.007975748740136623,
-0.21877843141555786,
-0.4117318391799927,
-0.2179626226425171,
0.3084762394428253,
-0.3918883800506592,
-0.6182734966278076,
0.3513799011707306,
-0.5044493675231934,
-0.40094903111457825,
0.047519758343696594,
0.21513928472995758,
0.12408099323511124,
0.5143627524375916,
0.0238785557448864,
0.03365214914083481,
-0.1428755819797516,
0.18070213496685028,
-0.3144264221191406,
0.09165950119495392,
0.015675138682127,
0.04900665953755379,
0.19609662890434265,
-0.06676042079925537,
-0.16998200118541718,
0.054724834859371185,
-0.0005292968126013875,
-0.22207415103912354,
0.17491264641284943,
0.13274110853672028,
0.06348156183958054,
0.784999668598175,
0.3883143961429596,
0.3106004297733307,
0.31299343705177307,
0.28404781222343445,
0.6152811050415039,
0.13492152094841003,
-0.09277297556400299,
0.13802728056907654,
0.019420862197875977,
-0.09256409853696823,
0.13469289243221283,
0.02323947101831436,
-0.2210254967212677,
-0.01662115566432476,
-0.03666340187191963,
-0.30929145216941833,
-0.3717311918735504,
-0.20269396901130676,
-0.3159172236919403,
0.15721747279167175,
0.064225934445858,
0.12353261560201645,
-0.2987569570541382,
-0.1908790022134781,
-0.016998885199427605,
0.3514702618122101,
0.23010645806789398,
0.27050265669822693,
-0.33799758553504944,
-0.029576390981674194,
-0.302621990442276,
0.35957100987434387,
-0.035289473831653595,
0.4659922420978546,
-0.2662653625011444,
0.21068230271339417,
0.1673324704170227,
0.37459152936935425,
0.4072612226009369,
-0.42634594440460205,
0.24267463386058807,
-0.054112907499074936,
0.20291787385940552,
0.2937226891517639,
-0.21152083575725555,
0.4624212086200714,
0.47302883863449097,
-0.039950575679540634,
0.08543956279754639,
0.12794427573680878,
-0.1748681366443634,
-0.43383586406707764,
-0.22166389226913452,
-0.14412082731723785,
-0.23560862243175507,
0.08513839542865753,
0.18468724191188812,
-0.0517430454492569,
-0.10392940044403076,
0.3252379298210144,
-0.31535041332244873,
-0.17910896241664886,
-0.05113223195075989,
-0.18276600539684296,
0.18007373809814453,
0.09176482260227203,
0.03563394024968147,
0.3379082977771759,
0.09019437432289124,
-0.04779409244656563,
0.4214034974575043,
0.041199591010808945,
0.12376121431589127,
0.3518931567668915,
-0.19401901960372925,
0.33216995000839233,
-0.16830424964427948,
-0.2559119164943695,
0.46732378005981445,
-0.03537258878350258,
-0.43216463923454285,
-0.12901422381401062,
0.12494652718305588,
-0.2334095686674118,
-0.28912270069122314,
-0.021046964451670647,
-0.06850484013557434,
0.005855135153979063,
-0.2907111644744873,
-0.6374558806419373,
0.22265437245368958,
0.5671569108963013,
-0.39725443720817566,
0.3289403021335602,
-0.36935102939605713,
-0.3797779977321625,
0.10752540081739426,
0.10928758233785629,
0.7499819397926331,
-0.20780989527702332,
0.31304430961608887,
-0.4576827585697174,
0.1495300829410553,
-0.014685534872114658,
-0.3989044427871704,
0.04197755828499794,
-0.4142237603664398,
-0.3809765875339508,
-0.14495988190174103,
-0.11035241186618805,
0.04861705005168915,
0.4917733371257782,
0.03186945989727974,
0.14249254763126373,
-0.11799221485853195,
-0.09488290548324585,
-0.146101176738739,
-0.1570734679698944,
-0.07805099338293076,
-0.3369981050491333,
0.26864516735076904,
0.10369323939085007,
-0.29246655106544495,
0.03831953927874565,
-0.025842992588877678,
0.0023596235550940037,
-0.16954006254673004,
0.23919366300106049,
-0.21511459350585938,
0.042800746858119965,
-0.5830398797988892,
0.027675719931721687,
-0.1792508065700531,
0.0034092010464519262,
0.17122642695903778,
0.3849395215511322,
0.22640182077884674,
0.33922532200813293,
-0.013462354429066181,
0.02576366625726223,
0.23697985708713531,
0.16994719207286835,
-0.2879483997821808,
0.13460524380207062,
0.28973883390426636,
0.17683815956115723,
0.03756335377693176,
-0.19058342278003693,
-0.17056943476200104,
-0.29608386754989624,
-0.3060019612312317,
0.20485447347164154,
0.020406045019626617,
-0.22920985519886017,
-0.04110301658511162,
-0.1447502225637436,
0.1306888908147812,
0.08932729810476303,
0.06525220721960068,
0.508628249168396,
0.00848156027495861,
0.5539228916168213,
-0.2621818780899048,
-0.3646315336227417,
0.050299812108278275,
0.5522649884223938,
-0.04778183251619339,
-0.2210426777601242,
0.14842039346694946,
-0.38084667921066284,
-0.21666505932807922,
-0.14911094307899475,
0.22139859199523926,
0.10412181913852692,
-0.11338762193918228,
-0.07027000933885574,
0.05289200693368912,
-0.0642346516251564,
0.17087708413600922,
-0.4494752883911133,
0.04657011479139328,
0.10838329792022705,
0.138225257396698,
-0.39071887731552124,
-0.4287426769733429,
-0.28642788529396057,
-0.35782861709594727,
0.20639286935329437,
0.3053351044654846,
-0.5955711007118225,
0.10725119709968567,
0.041355207562446594,
-0.19101788103580475,
-0.24284127354621887,
0.06657923758029938,
0.09134159237146378,
0.24664323031902313,
0.10412728041410446,
-0.1178688183426857,
-0.16241519153118134,
-0.10323475301265717,
-0.08166517317295074,
-0.028734277933835983,
-0.1598639190196991,
-0.0934290662407875,
0.15712107717990875,
0.18777067959308624,
-0.24601230025291443,
0.08207138627767563,
-0.48387962579727173,
-0.12698936462402344,
-0.4443703591823578,
0.059760697185993195,
0.24012146890163422,
0.26979872584342957,
0.3521523177623749,
0.20598071813583374,
0.02798612043261528,
-0.19351693987846375,
0.2300647646188736,
-0.13042692840099335,
-0.16756103932857513,
-0.25440409779548645,
0.25287359952926636,
-0.278814435005188,
-0.10303717851638794,
0.01316666416823864,
-0.08073114603757858,
0.17690537869930267,
0.03763864189386368,
0.08238357305526733,
0.01703059673309326,
0.07687319070100784,
0.14473621547222137,
0.2402605414390564,
0.027330271899700165,
-0.13486625254154205,
0.06755322962999344,
0.3256238102912903,
0.08256904780864716,
0.16619251668453217,
-0.23734460771083832,
0.3468433618545532,
-0.13270233571529388,
0.017686106264591217,
0.35700562596321106,
0.21006768941879272,
-0.2102583795785904,
0.13175421953201294,
-0.14890100061893463,
0.09543365985155106,
-0.31536322832107544,
0.3432011306285858,
-0.04719625413417816,
0.11398477852344513,
0.11444247514009476,
0.42260003089904785,
0.27171650528907776,
0.06564732640981674,
0.3585302233695984,
0.21712206304073334,
0.22837796807289124,
0.36186346411705017,
-0.3181792199611664,
0.08361673355102539,
-0.6983569264411926,
0.11383488029241562,
0.026524970307946205,
-0.04052361473441124,
0.30497753620147705,
0.08281420916318893,
0.07336678355932236,
-0.0011712749255821109,
-0.24862611293792725,
-0.032970499247312546,
-0.12350580841302872,
-0.1306837648153305,
-0.20327381789684296,
0.010620572604238987,
0.08069178462028503,
0.03138446807861328,
-0.2732299566268921,
-0.1574329435825348,
-0.2429819256067276,
0.2137710154056549,
0.21328896284103394,
0.042822662740945816,
0.25038179755210876,
0.025199707597494125,
0.15015621483325958,
-0.031144898384809494,
-0.17002958059310913,
-0.04181893542408943,
-0.5771833062171936,
-0.11352216452360153,
0.28091272711753845,
-0.025245239958167076,
0.018653763458132744,
0.11693770438432693,
0.17245285212993622,
0.11156366765499115,
0.35799261927604675,
0.0717485323548317,
-0.2909567356109619,
0.341048926115036,
-0.06309326738119125,
-0.2622021436691284,
0.07155559211969376,
0.011965048499405384,
-0.03192080557346344,
-0.10767138749361038,
-0.12333904206752777,
0.05852892994880676,
0.07323907315731049,
-0.03327304869890213,
-0.16956014931201935,
-0.46067625284194946,
0.08838579058647156,
-0.02305501140654087,
0.15167327225208282,
0.05338703468441963,
0.5730987191200256,
0.07576732337474823,
0.20852479338645935,
-0.4813010096549988,
0.024260492995381355,
0.3927842080593109,
0.3333717882633209,
0.33984777331352234,
-0.034554895013570786,
0.020379334688186646,
0.04888264834880829,
-0.418889582157135,
0.15953795611858368,
0.2577325999736786,
0.44445839524269104,
0.04898747429251671,
-0.18772773444652557,
0.0786522775888443,
-0.0804448127746582,
0.5692910552024841,
-0.2544926702976227,
0.3134140968322754,
0.3377062678337097,
-0.1995338350534439,
-0.32160231471061707,
0.11964920163154602,
0.0005236905999481678,
0.0797111913561821,
-0.3342706859111786,
0.2815951108932495,
0.1148243248462677,
0.03739574924111366,
-0.23286214470863342,
-0.23094645142555237,
0.20432889461517334,
0.5594164729118347,
0.47421061992645264,
0.17282485961914062,
-0.01848152093589306,
0.0043146805837750435,
0.4483705461025238,
-0.3441608250141144,
0.13362503051757812,
-0.14622953534126282,
-0.10852502286434174,
-0.21921637654304504,
-0.015866950154304504,
-0.5714676380157471,
-0.12905916571617126,
-0.38294869661331177,
0.006542811635881662,
-0.12747426331043243,
0.23693513870239258,
0.02313048392534256,
0.0051630958914756775,
-0.10581427067518234,
-0.0039866310544312,
0.2990211546421051,
0.23565229773521423,
-0.17780251801013947,
0.3501918911933899,
-0.36551639437675476,
-0.07331324368715286,
0.2907475233078003,
-0.28732624650001526,
-0.20612218976020813,
-0.021319229155778885,
0.35308128595352173,
0.10355515778064728,
-0.16244854032993317,
0.0034143123775720596,
0.13045313954353333,
0.39351192116737366,
-0.4170919358730316,
-0.0632617175579071,
0.07567429542541504,
-0.41337868571281433,
0.10534530878067017,
-0.11921759694814682,
0.48560085892677307,
-0.00026867209817282856,
-0.1820434033870697,
0.05509299784898758,
-0.23371948301792145
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
I think it's fairly important; for context, our team uses a shared file-system where many folks run experiments based on datasets that are cached by other users.
For example, I might start a training run, downloading a dataset. Then, a couple of days later, a collaborator using the same repository might want to use the same dataset on the same shared filesystem, but won't be able to under the default permissions.
Being able to specify directly in the top-level `load_dataset()` call seems important, but an equally valid option would be to just inherit from the running user's `umask` (this should probably be the default anyway).
So basically, argument that takes a custom set of permissions, and by default, use the running user's umask!
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 123
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
I think it's fairly important; for context, our team uses a shared file-system where many folks run experiments based on datasets that are cached by other users.
For example, I might start a training run, downloading a dataset. Then, a couple of days later, a collaborator using the same repository might want to use the same dataset on the same shared filesystem, but won't be able to under the default permissions.
Being able to specify directly in the top-level `load_dataset()` call seems important, but an equally valid option would be to just inherit from the running user's `umask` (this should probably be the default anyway).
So basically, argument that takes a custom set of permissions, and by default, use the running user's umask!
|
[
-0.13351979851722717,
0.26387014985084534,
-0.0887797549366951,
-0.013650319539010525,
-0.04832032322883606,
0.10477660596370697,
0.35522156953811646,
0.11916112899780273,
-0.1658601611852646,
0.03788451850414276,
-0.10652424395084381,
-0.02486707828938961,
-0.019192107021808624,
-0.31371384859085083,
-0.11798026412725449,
0.1778145581483841,
0.1263328492641449,
0.08586304634809494,
0.06025099381804466,
-0.10857079923152924,
-0.10097820311784744,
-0.13891087472438812,
0.005434038117527962,
-0.12483018636703491,
-0.2158825546503067,
-0.1946878582239151,
0.23527343571186066,
0.28539949655532837,
0.020385460928082466,
-0.09336308389902115,
0.3288930356502533,
0.5935888290405273,
0.10814075171947479,
0.12022272497415543,
-0.00011267022637184709,
-0.17279039323329926,
-0.019603189080953598,
-0.13695582747459412,
-0.06871339678764343,
0.12229497730731964,
-0.005035174544900656,
-0.10523191839456558,
-0.08020683377981186,
-0.18733690679073334,
-0.0884162038564682,
0.18419407308101654,
0.14396493136882782,
-0.7255423069000244,
0.4894120395183563,
0.09566255658864975,
0.1734696328639984,
-0.18604952096939087,
-0.3902595639228821,
0.05281604826450348,
0.19768746197223663,
0.025073368102312088,
-0.11621003597974777,
0.16605494916439056,
0.33358490467071533,
-0.17338190972805023,
-0.07963678240776062,
-0.004756746347993612,
-0.3949330449104309,
0.0934966579079628,
0.17915409803390503,
-0.1684725135564804,
-0.2764594554901123,
-0.4620147943496704,
0.09160781651735306,
0.15910837054252625,
0.6701861023902893,
-0.18893195688724518,
-0.48843562602996826,
-0.2769797742366791,
0.09458897262811661,
0.26307711005210876,
0.3322444260120392,
0.2956203520298004,
-0.07024677097797394,
0.29430118203163147,
-0.49629396200180054,
0.024975908920168877,
-0.11430734395980835,
0.0711589902639389,
0.24404390156269073,
-0.07765109091997147,
-0.02213333360850811,
0.06353261321783066,
0.05890972539782524,
-0.0742982029914856,
0.12987589836120605,
0.05135137587785721,
-0.2814579904079437,
0.33800357580184937,
-0.14418761432170868,
0.06838580220937729,
-0.15463151037693024,
0.3203951418399811,
0.25610315799713135,
0.33868056535720825,
0.2594947814941406,
0.20574480295181274,
0.026084816083312035,
0.2732976973056793,
0.03646914288401604,
0.14713940024375916,
0.3354698419570923,
0.29815128445625305,
0.5131573677062988,
-0.3563103675842285,
-0.07896030694246292,
0.08036444336175919,
0.0015167469391599298,
-0.32969561219215393,
0.05325261503458023,
0.27542027831077576,
-0.03482067957520485,
-0.16845670342445374,
0.1972968429327011,
0.043387964367866516,
-0.13758563995361328,
-0.2175009548664093,
0.0006877066334709525,
0.2218640148639679,
0.14357970654964447,
-0.04193539917469025,
0.05069752037525177,
0.15690001845359802,
-0.02983851358294487,
-0.34748324751853943,
-0.0023438534699380398,
-0.38361552357673645,
-0.3437668979167938,
0.45384302735328674,
0.5025845170021057,
-0.15039373934268951,
0.025982355698943138,
0.22861886024475098,
0.1914968192577362,
-0.17621558904647827,
0.3555217981338501,
-0.07030420005321503,
0.3695273697376251,
0.29530325531959534,
0.3104320764541626,
0.37904778122901917,
0.1347995549440384,
-0.038478363305330276,
-0.18579542636871338,
0.29253441095352173,
-0.31896117329597473,
-0.1988268345594406,
0.33061566948890686,
0.02523619495332241,
-0.12940552830696106,
0.3491242825984955,
-0.43530139327049255,
0.05392782762646675,
0.4892047643661499,
-0.13390660285949707,
0.39490005373954773,
0.2284998744726181,
-0.16042542457580566,
-0.4301353096961975,
-0.09706166386604309,
0.3187611997127533,
-0.0068237693049013615,
-0.08611226081848145,
-0.09709101170301437,
-0.004426306113600731,
-0.10462348908185959,
0.3345024585723877,
-0.08757752180099487,
0.1819879412651062,
-0.07394635677337646,
0.19628563523292542,
0.430847704410553,
-0.11925552785396576,
-0.562524139881134,
0.0856463611125946,
0.20815415680408478,
0.020019235089421272,
0.1798257827758789,
0.033290620893239975,
0.0928122028708458,
-0.17953598499298096,
-0.013074483722448349,
0.37487319111824036,
0.1747642308473587,
0.23365084826946259,
0.13467860221862793,
-0.02111920528113842,
-0.010762895457446575,
-0.07375062257051468,
0.01622406765818596,
0.29220619797706604,
0.3899531066417694,
-0.28114357590675354,
0.23321950435638428,
-0.34695127606391907,
0.22649966180324554,
0.38750436902046204,
0.08866888284683228,
-0.03212707117199898,
-0.0775921419262886,
-0.012540708296000957,
-0.46494919061660767,
0.3139134645462036,
-0.019518472254276276,
-0.37431150674819946,
0.0781526044011116,
-0.44275206327438354,
0.15277333557605743,
-0.3058960735797882,
-0.07854170352220535,
-0.05900900810956955,
0.06843987107276917,
-0.016934338957071304,
-0.06267248094081879,
-0.28712666034698486,
0.13865213096141815,
0.3976772725582123,
0.15690454840660095,
-0.0005136427353136241,
-0.1833372563123703,
0.11588875949382782,
-0.020737119019031525,
-0.09010909497737885,
-0.20965971052646637,
-0.0049836174584925175,
0.21074482798576355,
0.05387444794178009,
-0.24752689898014069,
0.3181377649307251,
0.13600221276283264,
0.08789385110139847,
-0.2036237269639969,
0.31332066655158997,
-0.05959151312708855,
0.14397850632667542,
0.08008915185928345,
-0.2660573422908783,
-0.08184677362442017,
-0.13202716410160065,
-0.2821064591407776,
0.4214650094509125,
-0.19823837280273438,
-0.09842941164970398,
-0.22741255164146423,
0.19852040708065033,
0.1358628123998642,
-0.05311018228530884,
-0.16890989243984222,
-0.10185334086418152,
0.059244316071271896,
0.23334206640720367,
0.43524396419525146,
0.24166381359100342,
0.08636637777090073,
-0.07348364591598511,
0.2969387173652649,
0.16679196059703827,
0.1391649693250656,
-0.024861648678779602,
-0.11738671362400055,
0.07132478058338165,
0.2680757939815521,
0.31931155920028687,
0.2627226412296295,
0.0815073773264885,
0.30298545956611633,
-0.1794043779373169,
0.3617702126502991,
-0.12802717089653015,
-0.05331328138709068,
-0.06382900476455688,
-0.009618839249014854,
-0.1516229808330536,
-0.2004455327987671,
0.03831418976187706,
-0.010299389250576496,
0.28322508931159973,
0.01393947284668684,
0.031058549880981445,
-0.3533724248409271,
-0.08511073887348175,
-0.15696634352207184,
-0.14395596086978912,
0.3133099675178528,
-0.04096861183643341,
-0.5186007022857666,
-0.03372504189610481,
-0.21192026138305664,
0.2901798486709595,
-0.06791821867227554,
0.20439918339252472,
-0.297617107629776,
0.27228525280952454,
-0.14647147059440613,
-0.2100931704044342,
-0.18332059681415558,
0.15806853771209717,
0.049778539687395096,
0.019046062603592873,
0.3156294822692871,
-0.5992066860198975,
0.14617949724197388,
-0.0014801467768847942,
0.25872868299484253,
-0.1778872013092041,
0.07171465456485748,
-0.18567854166030884,
0.03946920484304428,
0.08482332527637482,
-0.44045376777648926,
0.08270526677370071,
-0.16660499572753906,
-0.055218927562236786,
-0.14951792359352112,
-0.25872981548309326,
-0.14902979135513306,
0.016552552580833435,
0.0491502545773983,
0.012648536823689938,
-0.2662486732006073,
-0.0743446946144104,
-0.16460396349430084,
-0.16094201803207397,
0.5063878297805786,
0.12581366300582886,
0.2180754691362381,
0.01777060143649578,
-0.20475807785987854,
-0.4433545470237732,
-0.2076898068189621,
0.3096783459186554,
-0.32853761315345764,
-0.5994928479194641,
0.31292271614074707,
-0.43929222226142883,
-0.2962850034236908,
-0.002491203136742115,
0.11771725118160248,
0.0771656334400177,
0.5081126689910889,
0.014137230813503265,
-0.09991316497325897,
-0.14937184751033783,
0.2239401638507843,
-0.2263972908258438,
0.13150182366371155,
0.009230706840753555,
0.08067742735147476,
0.18332870304584503,
-0.021676605567336082,
-0.10745483636856079,
0.05994381383061409,
-0.08068347722291946,
-0.35608044266700745,
0.1849571019411087,
0.04483931511640549,
0.22105492651462555,
0.688346803188324,
0.4353189468383789,
0.3087542653083801,
0.19470296800136566,
0.33110541105270386,
0.6988669037818909,
0.07147081196308136,
-0.09679841250181198,
0.16014036536216736,
-0.05993633717298508,
-0.13914719223976135,
0.15302981436252594,
0.026865670457482338,
-0.15990328788757324,
0.03622875362634659,
0.02092520147562027,
-0.29748958349227905,
-0.5224308371543884,
-0.11706706881523132,
-0.36312010884284973,
0.07461973279714584,
0.08410954475402832,
0.09509584307670593,
-0.3080647885799408,
-0.2294778823852539,
0.021505635231733322,
0.3599602282047272,
0.14095951616764069,
0.35384997725486755,
-0.4579850137233734,
0.09316746890544891,
-0.2501485049724579,
0.3669542372226715,
-0.03592910245060921,
0.4248615503311157,
-0.16445694863796234,
0.17303653061389923,
0.12089099735021591,
0.36936914920806885,
0.28320634365081787,
-0.3664073050022125,
0.24122895300388336,
-0.06564662605524063,
0.1311788111925125,
0.3079434931278229,
-0.20378662645816803,
0.4263635575771332,
0.36839747428894043,
0.0024626683443784714,
0.09108157455921173,
0.08153726160526276,
-0.12990346550941467,
-0.48991987109184265,
-0.1961282640695572,
-0.0934181958436966,
-0.18368074297904968,
0.17939341068267822,
0.16022424399852753,
-0.143817737698555,
-0.10863959789276123,
0.2946445941925049,
-0.3695817291736603,
-0.20430146157741547,
0.06765750050544739,
-0.23850421607494354,
0.2018129527568817,
0.1579183042049408,
-0.0005513809155672789,
0.2536379098892212,
0.007178424391895533,
-0.04590209200978279,
0.503819465637207,
-0.032504018396139145,
0.22366087138652802,
0.39211687445640564,
-0.3262415826320648,
0.30092090368270874,
-0.25349700450897217,
-0.23266837000846863,
0.34819138050079346,
0.010959066450595856,
-0.3378424346446991,
-0.1636282056570053,
0.15951284766197205,
-0.21597397327423096,
-0.35877376794815063,
-0.06275996565818787,
-0.13377724587917328,
0.024638209491968155,
-0.2204277664422989,
-0.7126745581626892,
0.19239991903305054,
0.605789840221405,
-0.3955475389957428,
0.28066134452819824,
-0.2725967764854431,
-0.37733882665634155,
0.16799446940422058,
0.11623162031173706,
0.777419924736023,
-0.23494698107242584,
0.43849873542785645,
-0.43472835421562195,
0.12212623655796051,
0.06753275543451309,
-0.504132866859436,
0.08521292358636856,
-0.40164217352867126,
-0.3306935429573059,
-0.12110311537981033,
-0.11567851901054382,
0.06000806763768196,
0.4919947385787964,
0.09544315934181213,
0.1253553032875061,
-0.02637980505824089,
-0.08192276954650879,
-0.11302219331264496,
-0.20941725373268127,
-0.15737806260585785,
-0.3598348796367645,
0.24072501063346863,
0.11782323569059372,
-0.22395272552967072,
0.0005104207084514201,
0.017883379012346268,
0.025251617655158043,
-0.19550679624080658,
0.18524782359600067,
-0.24853983521461487,
0.02305477485060692,
-0.6235010027885437,
0.056412652134895325,
-0.1469196230173111,
0.01117534376680851,
0.14157626032829285,
0.3558230698108673,
0.27997124195098877,
0.3346358835697174,
0.007863327860832214,
0.006831984035670757,
0.26419228315353394,
0.2242458164691925,
-0.24965965747833252,
0.04370034113526344,
0.359723299741745,
0.22903265058994293,
0.13695028424263,
-0.1850263476371765,
-0.14168469607830048,
-0.3284039795398712,
-0.3017076551914215,
0.18121160566806793,
0.08327065408229828,
-0.2500019669532776,
-0.039496295154094696,
-0.10445394366979599,
0.10080866515636444,
0.10584649443626404,
0.04665215313434601,
0.4602089822292328,
0.022213509306311607,
0.5224816203117371,
-0.3837365508079529,
-0.32559505105018616,
0.054460279643535614,
0.5755966305732727,
-0.012459305115044117,
-0.26756587624549866,
0.1389061063528061,
-0.35798174142837524,
-0.21121567487716675,
-0.1237868145108223,
0.20738759636878967,
0.15841104090213776,
-0.13320083916187286,
-0.10825827717781067,
0.007202976383268833,
-0.10467510670423508,
0.21624170243740082,
-0.4664973020553589,
0.10118957608938217,
0.1262037307024002,
0.224245086312294,
-0.29777273535728455,
-0.35130563378334045,
-0.23997150361537933,
-0.2813031077384949,
0.27547115087509155,
0.3540201187133789,
-0.540936291217804,
0.03508114814758301,
0.05114692449569702,
-0.20954938232898712,
-0.16608820855617523,
0.0907011553645134,
0.10389015078544617,
0.2778424322605133,
0.10223368555307388,
-0.08266094326972961,
-0.22002191841602325,
-0.10283675789833069,
-0.06922949105501175,
-0.06799764186143875,
-0.1563987135887146,
-0.10394138097763062,
0.1390436887741089,
0.19004638493061066,
-0.33337491750717163,
0.14765149354934692,
-0.4402855634689331,
-0.09770841896533966,
-0.5249466300010681,
0.07263117283582687,
0.3600778579711914,
0.2148396372795105,
0.3033680319786072,
0.14838330447673798,
0.10281891375780106,
-0.2563411593437195,
0.20475894212722778,
-0.19271919131278992,
-0.15735623240470886,
-0.2231711894273758,
0.25883176922798157,
-0.2905416786670685,
-0.034423936158418655,
0.08842512220144272,
-0.03164829686284065,
0.24694059789180756,
0.07837586849927902,
0.12196138501167297,
0.03826489672064781,
0.032822784036397934,
0.11217211186885834,
0.26357731223106384,
-0.037372514605522156,
-0.17414332926273346,
0.02909214422106743,
0.3594096601009369,
0.08633588254451752,
0.1663934886455536,
-0.22129219770431519,
0.30226144194602966,
-0.12140458077192307,
0.04446819797158241,
0.4241454601287842,
0.20056594908237457,
-0.2796056866645813,
0.04106619954109192,
-0.18484456837177277,
0.13998006284236908,
-0.2930707633495331,
0.41418537497520447,
-0.0449211411178112,
0.11246257275342941,
0.026001662015914917,
0.2568047046661377,
0.27287766337394714,
0.18062061071395874,
0.3987119793891907,
0.16788825392723083,
0.22691534459590912,
0.3246507942676544,
-0.388221800327301,
0.10904356092214584,
-0.7499384880065918,
0.11600096523761749,
0.06431656330823898,
0.055267613381147385,
0.2924709916114807,
0.00479145860299468,
0.03241829574108124,
0.033951375633478165,
-0.24219565093517303,
0.07316984981298447,
-0.1951645016670227,
-0.10713057219982147,
-0.12312869727611542,
0.09842522442340851,
0.06174565479159355,
-0.05804397910833359,
-0.27583131194114685,
-0.21017986536026,
-0.2737849950790405,
0.22289612889289856,
0.2543894350528717,
0.10763102024793625,
0.17955179512500763,
-0.035411085933446884,
0.16808250546455383,
-0.030583221465349197,
-0.25263720750808716,
-0.13559512794017792,
-0.44398316740989685,
-0.1797695755958557,
0.2402365505695343,
0.04287383332848549,
0.10802099853754044,
0.0699906051158905,
0.2003018707036972,
0.14651986956596375,
0.31044167280197144,
0.14608889818191528,
-0.3191908001899719,
0.24800148606300354,
-0.06395193934440613,
-0.2943795919418335,
0.03170739486813545,
0.032566577196121216,
-0.03881172835826874,
-0.06344413757324219,
-0.17981673777103424,
-0.06884974986314774,
-0.021502850577235222,
-0.055379074066877365,
-0.08784771710634232,
-0.3917624056339264,
0.14573951065540314,
0.0017109939362853765,
0.21607738733291626,
0.07255088537931442,
0.5099496841430664,
0.11272735148668289,
0.2034333497285843,
-0.4516066610813141,
0.03930862620472908,
0.4775203764438629,
0.22241052985191345,
0.3928312659263611,
-0.17548002302646637,
0.01947977766394615,
0.048133622854948044,
-0.409870982170105,
0.16935184597969055,
0.16149966418743134,
0.36723363399505615,
-0.05028310418128967,
-0.2409631907939911,
0.21379707753658295,
-0.03420426696538925,
0.43390488624572754,
-0.2005826085805893,
0.26351481676101685,
0.31188464164733887,
-0.18936008214950562,
-0.32025766372680664,
0.1547321379184723,
-0.12538155913352966,
0.10534153133630753,
-0.37827616930007935,
0.1674530804157257,
0.07022929191589355,
0.062499549239873886,
-0.14002536237239838,
-0.2013218104839325,
0.244703471660614,
0.5015894770622253,
0.4458535313606262,
0.2797791659832001,
-0.051331497728824615,
0.04556445777416229,
0.33949580788612366,
-0.33622410893440247,
0.17568710446357727,
-0.19201329350471497,
-0.08336217701435089,
-0.24300427734851837,
0.009313893504440784,
-0.6937607526779175,
-0.12205714732408524,
-0.3894573748111725,
-0.024661101400852203,
-0.11877173185348511,
0.18422061204910278,
-0.0180334635078907,
0.07513102889060974,
-0.14447902143001556,
0.0782490149140358,
0.33163517713546753,
0.34937575459480286,
-0.1586182862520218,
0.45144015550613403,
-0.44118982553482056,
-0.018856365233659744,
0.25542783737182617,
-0.3255089819431305,
-0.14996778964996338,
-0.09593530744314194,
0.36417436599731445,
0.11326195299625397,
-0.1313413679599762,
0.027132799848914146,
0.13046635687351227,
0.36076173186302185,
-0.3851848244667053,
-0.10990263521671295,
-0.011672625318169594,
-0.3629736006259918,
-0.024913733825087547,
-0.11872673034667969,
0.3934583067893982,
0.01864301599562168,
-0.24286212027072906,
0.13579681515693665,
-0.26895880699157715
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Maybe let's start by defaulting to the user's umask !
Do you want to give it a try @bhavitvyamalik ?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 20
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Maybe let's start by defaulting to the user's umask !
Do you want to give it a try @bhavitvyamalik ?
|
[
-0.18029512465000153,
0.19892717897891998,
-0.10556551069021225,
-0.08582361042499542,
0.010978948324918747,
0.0972135066986084,
0.30967968702316284,
0.07195937633514404,
-0.16494083404541016,
0.08733565360307693,
-0.08067429065704346,
0.0011491955956444144,
0.06524651497602463,
-0.2650192081928253,
-0.05875381827354431,
0.1390800029039383,
0.1544884890317917,
-0.008077575825154781,
-0.010349340736865997,
-0.05308555066585541,
-0.12471143156290054,
-0.0811091884970665,
-0.09391080588102341,
-0.02448175475001335,
-0.32020989060401917,
-0.2104617953300476,
0.27092576026916504,
0.245660200715065,
-0.1097428947687149,
-0.17014646530151367,
0.2531248927116394,
0.5244037508964539,
0.09508047997951508,
0.13622204959392548,
-0.00011029204324586317,
-0.2203177660703659,
0.05721032992005348,
-0.09839382022619247,
0.07178530097007751,
0.1836269348859787,
-0.008160172030329704,
-0.05786481872200966,
-0.15265057981014252,
-0.13338619470596313,
-0.19021783769130707,
0.21768057346343994,
0.13477472960948944,
-0.6735305786132812,
0.37578725814819336,
0.18010632693767548,
0.22847634553909302,
-0.16688881814479828,
-0.28782621026039124,
0.04124433919787407,
0.24508555233478546,
0.053614187985658646,
-0.16401509940624237,
0.012387500144541264,
0.3500927686691284,
-0.2160431146621704,
-0.03958441689610481,
0.03380918502807617,
-0.27679768204689026,
0.09187252819538116,
0.11124072968959808,
-0.09001488238573074,
-0.2701263725757599,
-0.5084242224693298,
0.1664370894432068,
0.09999795258045197,
0.7544165849685669,
-0.12956327199935913,
-0.49877482652664185,
-0.04658202826976776,
0.10720548778772354,
0.3296332061290741,
0.33151721954345703,
0.3367740511894226,
-0.03774075210094452,
0.3057039678096771,
-0.5110289454460144,
0.07167419046163559,
-0.15498116612434387,
0.05145677924156189,
0.2104099839925766,
0.010816057212650776,
-0.03958996385335922,
0.06902492046356201,
0.006346150767058134,
-0.16615718603134155,
0.17081229388713837,
0.10887361317873001,
-0.33579909801483154,
0.3499302864074707,
-0.13664542138576508,
0.023440193384885788,
-0.16858965158462524,
0.39939919114112854,
0.20737382769584656,
0.30331820249557495,
0.25167664885520935,
0.24964022636413574,
0.11499076336622238,
0.22818179428577423,
-0.04684945568442345,
0.19806577265262604,
0.4191334843635559,
0.2782430052757263,
0.6045434474945068,
-0.27152547240257263,
-0.1065620556473732,
0.014115770347416401,
0.09088985621929169,
-0.38451024889945984,
0.04309641942381859,
0.3155738115310669,
0.034755658358335495,
-0.2312793880701065,
0.20053371787071228,
0.07536876201629639,
-0.10988269746303558,
-0.19897900521755219,
0.017187997698783875,
0.3396974205970764,
0.11323576420545578,
-0.09138898551464081,
0.09452012181282043,
0.1875850111246109,
-0.0253984946757555,
-0.34732764959335327,
-0.028196867555379868,
-0.3111823797225952,
-0.33067435026168823,
0.41592758893966675,
0.47432729601860046,
-0.10798551142215729,
0.015021579340100288,
0.24906675517559052,
0.12994524836540222,
-0.19098977744579315,
0.3414694368839264,
-0.0159485824406147,
0.41943326592445374,
0.30740371346473694,
0.2932578921318054,
0.28077879548072815,
0.08494728803634644,
-0.025000227615237236,
-0.10676576942205429,
0.3163594901561737,
-0.26796168088912964,
-0.18258270621299744,
0.3279303014278412,
0.0949653908610344,
0.014849619939923286,
0.26118406653404236,
-0.317710280418396,
0.05779671669006348,
0.4880385994911194,
-0.06695453077554703,
0.4080168902873993,
0.3107382655143738,
-0.1341862678527832,
-0.4094077944755554,
-0.06297005712985992,
0.2717759311199188,
-0.08655780553817749,
-0.008627550676465034,
-0.10934364050626755,
-0.039295993745326996,
-0.05114171281456947,
0.3505498468875885,
-0.0363033302128315,
0.1679966151714325,
-0.13791215419769287,
0.21797311305999756,
0.434888631105423,
-0.07851875573396683,
-0.5814698934555054,
0.08013185113668442,
0.19611503183841705,
-0.12391764670610428,
0.15254536271095276,
0.018069632351398468,
-0.04934835433959961,
-0.12705062329769135,
-0.011266508139669895,
0.3844028115272522,
0.21746984124183655,
0.2480633556842804,
0.05296485498547554,
0.020045755431056023,
-0.06103195250034332,
-0.005723383743315935,
0.07578370720148087,
0.33188411593437195,
0.33291858434677124,
-0.37268975377082825,
0.1883387267589569,
-0.30011624097824097,
0.26192232966423035,
0.4566677510738373,
0.16206270456314087,
-0.09560242295265198,
-0.041821304708719254,
-0.044719256460666656,
-0.3741737902164459,
0.2506232261657715,
-0.1500745266675949,
-0.3351980149745941,
0.028306512162089348,
-0.5107870697975159,
0.0638444796204567,
-0.27871009707450867,
-0.1423337608575821,
-0.09060357511043549,
0.11436605453491211,
-0.013112921267747879,
-0.01668175682425499,
-0.27777138352394104,
0.21080106496810913,
0.31331151723861694,
0.2674195170402527,
-0.01969051919877529,
-0.10412421077489853,
0.11479771882295609,
-0.14560332894325256,
-0.10466207563877106,
-0.18806405365467072,
-0.057057276368141174,
0.26821020245552063,
0.03398791700601578,
-0.3065505921840668,
0.3243800401687622,
0.14562229812145233,
0.026442812755703926,
-0.17774656414985657,
0.16638687252998352,
-0.06539175659418106,
0.10112660378217697,
0.038499556481838226,
-0.1685674488544464,
-0.08430042862892151,
-0.13990268111228943,
-0.29333555698394775,
0.4097209870815277,
-0.07113444060087204,
-0.14763303101062775,
-0.23064875602722168,
0.23773819208145142,
0.15639889240264893,
-0.051702070981264114,
-0.0797412320971489,
-0.18492747843265533,
0.02974938601255417,
0.1552097350358963,
0.35909056663513184,
0.15209408104419708,
0.0944395363330841,
0.0355214923620224,
0.3280807435512543,
0.19836801290512085,
0.14460840821266174,
-0.03384871408343315,
-0.07876890152692795,
0.11322373896837234,
0.2217770665884018,
0.3202681839466095,
0.28255951404571533,
0.06879914551973343,
0.28785187005996704,
-0.17685627937316895,
0.3473743200302124,
-0.19267548620700836,
-0.0030036037787795067,
-0.07183924317359924,
-0.0644497200846672,
-0.15405550599098206,
-0.14141090214252472,
-0.058421093970537186,
-0.08712677657604218,
0.3273705244064331,
0.03993852064013481,
0.114734947681427,
-0.3470172882080078,
-0.15865367650985718,
-0.18612149357795715,
-0.23966501653194427,
0.36502644419670105,
-0.005739016458392143,
-0.49326765537261963,
-0.08676990121603012,
-0.09443126618862152,
0.16543139517307281,
-0.11291109025478363,
0.25466659665107727,
-0.14317801594734192,
0.19120165705680847,
-0.08932185173034668,
-0.04256551340222359,
-0.28246641159057617,
0.1512669026851654,
0.09664909541606903,
0.07328019291162491,
0.250041663646698,
-0.5685625076293945,
0.16639907658100128,
0.008766409941017628,
0.31426119804382324,
-0.33419862389564514,
-0.015175585635006428,
-0.19845861196517944,
0.07176285237073898,
0.07946987450122833,
-0.4089493155479431,
0.043694544583559036,
-0.16865412890911102,
-0.07089643180370331,
-0.05949696525931358,
-0.30480629205703735,
-0.23991015553474426,
0.03283027559518814,
0.048013802617788315,
-0.11452989280223846,
-0.25824064016342163,
-0.07899875193834305,
-0.13546273112297058,
-0.1996627300977707,
0.4575274586677551,
0.12658658623695374,
0.1798209398984909,
-0.12310685962438583,
-0.2027318775653839,
-0.41674983501434326,
-0.1443793922662735,
0.24375590682029724,
-0.35758891701698303,
-0.6189981698989868,
0.38606590032577515,
-0.5305787920951843,
-0.42610442638397217,
0.061199214309453964,
0.20090655982494354,
0.11197537928819656,
0.4502738416194916,
0.027293642982840538,
-0.07193329930305481,
-0.2201867550611496,
0.16993501782417297,
-0.14901083707809448,
0.10468608140945435,
0.021951977163553238,
0.05742919072508812,
0.09260961413383484,
0.020703576505184174,
-0.18796271085739136,
0.04267006367444992,
-0.06830853968858719,
-0.264070063829422,
0.10493505746126175,
0.12356958538293839,
0.23209317028522491,
0.6044672131538391,
0.41372084617614746,
0.3512725830078125,
0.26188018918037415,
0.323172003030777,
0.5492522120475769,
-0.001772719668224454,
-0.11612771451473236,
0.12863926589488983,
-0.030105164274573326,
-0.06338323652744293,
0.11069567501544952,
0.07157067954540253,
-0.21636609733104706,
0.026005882769823074,
-0.033411361277103424,
-0.21929103136062622,
-0.509373664855957,
-0.18879371881484985,
-0.32854434847831726,
0.07891128212213516,
0.07448016107082367,
0.12746670842170715,
-0.23767288029193878,
-0.1932530552148819,
0.08262693136930466,
0.3176465928554535,
0.1346714198589325,
0.317875474691391,
-0.5666818618774414,
0.1274264007806778,
-0.33562856912612915,
0.4427449703216553,
-0.04635194316506386,
0.4909648299217224,
-0.2584388256072998,
0.15719959139823914,
0.20637571811676025,
0.33307746052742004,
0.3566008508205414,
-0.5286794900894165,
0.27245664596557617,
-0.05111352726817131,
0.11264625191688538,
0.2861064076423645,
-0.20463834702968597,
0.40982285141944885,
0.46415582299232483,
0.15297959744930267,
0.1525813341140747,
0.12735092639923096,
-0.1262141317129135,
-0.4393824338912964,
-0.33904415369033813,
-0.07512938231229782,
-0.23911133408546448,
0.14866092801094055,
0.1858578622341156,
-0.1596784144639969,
-0.0376083180308342,
0.31535500288009644,
-0.3611546754837036,
-0.12337201833724976,
-0.025022955611348152,
-0.28186511993408203,
0.21629223227500916,
0.06395650655031204,
-0.09318564087152481,
0.2871547341346741,
-0.04018573835492134,
-0.009804856963455677,
0.3608038127422333,
0.02141628786921501,
0.2246810644865036,
0.3886461853981018,
-0.23253129422664642,
0.3059430718421936,
-0.17446011304855347,
-0.3109087646007538,
0.35676339268684387,
0.01519839745014906,
-0.34052562713623047,
-0.15273451805114746,
0.19994597136974335,
-0.11154046654701233,
-0.23772844672203064,
-0.14108073711395264,
-0.11331640183925629,
0.05598645657300949,
-0.27632081508636475,
-0.5705083608627319,
0.1906406432390213,
0.5891579389572144,
-0.3231376111507416,
0.26003846526145935,
-0.2334696650505066,
-0.3531176447868347,
0.20260709524154663,
0.10341071337461472,
0.8043714761734009,
-0.1996919810771942,
0.36964455246925354,
-0.42107781767845154,
0.029993632808327675,
0.032941170036792755,
-0.46636852622032166,
0.07393846660852432,
-0.4748358130455017,
-0.3609425723552704,
-0.11394616216421127,
-0.13616690039634705,
0.07482211291790009,
0.5008001923561096,
-0.050909481942653656,
0.07050271332263947,
-0.0446627102792263,
-0.11759445071220398,
-0.12405730783939362,
-0.14333659410476685,
-0.2436743676662445,
-0.2804813086986542,
0.28341490030288696,
0.1546861082315445,
-0.22076044976711273,
0.04180435836315155,
-0.010515231639146805,
-0.008270424790680408,
-0.19304633140563965,
0.22633200883865356,
-0.2536783814430237,
0.09765373915433884,
-0.6266340017318726,
0.15447376668453217,
-0.17002221941947937,
-0.04800839349627495,
0.15893957018852234,
0.3637180030345917,
0.3779089152812958,
0.38054928183555603,
-0.04930577799677849,
0.1027275025844574,
0.38619881868362427,
0.19457104802131653,
-0.21208038926124573,
0.01807270385324955,
0.28001904487609863,
0.11794247478246689,
0.059492550790309906,
-0.2931743264198303,
-0.135892853140831,
-0.3070354759693146,
-0.3386479914188385,
0.15630516409873962,
0.0740320235490799,
-0.2711714804172516,
-0.06312018632888794,
-0.1831536740064621,
0.05663759633898735,
0.02959487959742546,
0.12105245143175125,
0.42319315671920776,
0.00023091024195309728,
0.5362331867218018,
-0.3272687494754791,
-0.3025864064693451,
0.05780759081244469,
0.6893185973167419,
-0.08276163041591644,
-0.19790838658809662,
0.1402798444032669,
-0.23005610704421997,
-0.3200797140598297,
-0.2083713859319687,
0.14285805821418762,
0.17299945652484894,
-0.1417027860879898,
-0.042754366993904114,
0.02861965447664261,
-0.1275174617767334,
0.299699991941452,
-0.4429401159286499,
0.08043577522039413,
0.10465627908706665,
0.17337124049663544,
-0.30322039127349854,
-0.4135521352291107,
-0.2953563928604126,
-0.2933429777622223,
0.22460712492465973,
0.2591477036476135,
-0.5468912720680237,
0.1559993028640747,
0.11689118295907974,
-0.2534259855747223,
-0.16812126338481903,
-0.005045308731496334,
0.10278498381376266,
0.14808933436870575,
0.0008403139072470367,
-0.12425068765878677,
-0.18248014152050018,
-0.06376657634973526,
-0.03129342570900917,
-0.08484778553247452,
-0.22074826061725616,
-0.0021492112427949905,
0.10942332446575165,
0.21092431247234344,
-0.41199758648872375,
0.15228234231472015,
-0.38532379269599915,
-0.13259844481945038,
-0.428509920835495,
0.04759131744503975,
0.35907724499702454,
0.15282079577445984,
0.3160889744758606,
0.19288000464439392,
-0.0775802880525589,
-0.20471684634685516,
0.15889893472194672,
-0.179681196808815,
-0.2339087873697281,
-0.21316388249397278,
0.16661186516284943,
-0.32213252782821655,
-0.0782366693019867,
0.19221080839633942,
-0.06240243837237358,
0.12686693668365479,
0.1094140112400055,
0.11524106562137604,
-0.06628254801034927,
-0.03425202518701553,
0.06756671518087387,
0.2566536068916321,
-0.07713592797517776,
-0.13991743326187134,
0.00496371416375041,
0.3268654942512512,
0.12838657200336456,
0.10420023649930954,
-0.31076279282569885,
0.33650946617126465,
-0.13644252717494965,
0.06468204408884048,
0.29913562536239624,
0.18675924837589264,
-0.3084295094013214,
0.13264326751232147,
-0.08440706878900528,
0.11735960841178894,
-0.3579935133457184,
0.4131154417991638,
-0.13507205247879028,
0.04317454248666763,
0.05436936020851135,
0.30326589941978455,
0.23240186274051666,
0.0289030522108078,
0.30378788709640503,
0.22821931540966034,
0.1596163809299469,
0.3071667551994324,
-0.32689109444618225,
0.14335907995700836,
-0.6421843767166138,
0.14181393384933472,
0.04886802285909653,
-0.019503183662891388,
0.2297234684228897,
0.1978282481431961,
0.05003461614251137,
0.0529765747487545,
-0.3077777922153473,
0.00207903771661222,
-0.1514120101928711,
-0.14492200314998627,
-0.08564884215593338,
0.04824075847864151,
0.11917252093553543,
0.038653887808322906,
-0.2337677925825119,
-0.2303375005722046,
-0.1831648051738739,
0.15437009930610657,
0.24878433346748352,
0.11427531391382217,
0.18978947401046753,
0.05087701976299286,
0.0736701488494873,
0.03931896761059761,
-0.21077008545398712,
-0.07654837518930435,
-0.43620193004608154,
-0.16385400295257568,
0.2595517635345459,
0.07628855854272842,
0.08968526870012283,
0.11240261793136597,
0.1307538002729416,
0.20923927426338196,
0.28673118352890015,
0.027161072939634323,
-0.31191515922546387,
0.3066923916339874,
-0.013535888865590096,
-0.3385621905326843,
0.10685819387435913,
0.07552631944417953,
-0.0768263190984726,
-0.09265850484371185,
-0.16843833029270172,
0.02893867902457714,
0.12102264910936356,
-0.06403747200965881,
-0.17382799088954926,
-0.4742431342601776,
0.16101722419261932,
-0.07207915931940079,
0.11717989295721054,
0.02343752421438694,
0.4542990028858185,
0.007974435575306416,
0.2162090241909027,
-0.5413378477096558,
0.050131767988204956,
0.44071394205093384,
0.2609604597091675,
0.4043421447277069,
-0.1206955686211586,
-0.01953260228037834,
-0.07042717933654785,
-0.3925541937351227,
0.10421126335859299,
0.21705107390880585,
0.42518118023872375,
-0.0046341740526258945,
-0.22882895171642303,
0.11266898363828659,
-0.08040962368249893,
0.5458399057388306,
-0.19884765148162842,
0.20657576620578766,
0.40432754158973694,
-0.27934762835502625,
-0.20902784168720245,
0.21959368884563446,
-0.04046844318509102,
0.12010925263166428,
-0.3593001365661621,
0.27566206455230713,
0.11339409649372101,
0.12771940231323242,
-0.15609778463840485,
-0.131435364484787,
0.1653333306312561,
0.516116201877594,
0.42360153794288635,
0.23579536378383636,
-0.0478280670940876,
-0.03211776912212372,
0.4266493618488312,
-0.31599515676498413,
0.1327677220106125,
-0.17340916395187378,
-0.05895030125975609,
-0.1084841936826706,
0.09718869626522064,
-0.57526695728302,
-0.22167764604091644,
-0.3395991027355194,
0.03968987613916397,
-0.18518342077732086,
0.2644907236099243,
0.04611293226480484,
0.1106870099902153,
-0.12167907506227493,
0.08933442831039429,
0.27386394143104553,
0.27840301394462585,
-0.17846740782260895,
0.3664807379245758,
-0.47193077206611633,
-0.13271869719028473,
0.28130778670310974,
-0.18206046521663666,
-0.1882600039243698,
-0.050383277237415314,
0.3723697066307068,
0.19195716083049774,
-0.19982583820819855,
0.10451403260231018,
0.08149535953998566,
0.2974185049533844,
-0.3783486485481262,
-0.09641386568546295,
0.1138458251953125,
-0.37511205673217773,
0.043581459671258926,
-0.210797980427742,
0.44399788975715637,
0.06982487440109253,
-0.22439786791801453,
0.016382955014705658,
-0.26192507147789
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Yeah sure! Instead of using default `0o644` should I first extract umask of current user and then use `os.umask` on it? We can do it inside `Dataset` class so that all folders/files created during the call use running user's umask
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 40
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Yeah sure! Instead of using default `0o644` should I first extract umask of current user and then use `os.umask` on it? We can do it inside `Dataset` class so that all folders/files created during the call use running user's umask
|
[
-0.22427308559417725,
0.22611255943775177,
-0.08175302296876907,
0.009476362727582455,
0.04713521897792816,
0.01497570052742958,
0.26341554522514343,
0.0719238668680191,
-0.19149571657180786,
0.04072980582714081,
-0.13415303826332092,
0.0863361805677414,
0.04939359799027443,
-0.3142188787460327,
-0.11674555391073227,
0.1358983814716339,
0.15292608737945557,
-0.0015893293311819434,
-0.0006155084702186286,
-0.09638607501983643,
-0.22393502295017242,
-0.08623984456062317,
-0.10348688811063766,
-0.03367739915847778,
-0.3453720211982727,
-0.21795588731765747,
0.21195116639137268,
0.231493279337883,
-0.08823630958795547,
-0.19050145149230957,
0.24261581897735596,
0.6062229871749878,
0.18005384504795074,
0.19833900034427643,
-0.00011554135562619194,
-0.21691907942295074,
0.08840569853782654,
-0.09585808962583542,
0.050230104476213455,
0.22526466846466064,
0.013323931023478508,
-0.06527631729841232,
-0.1900801658630371,
-0.18337339162826538,
-0.2362525910139084,
0.15678037703037262,
0.10035727173089981,
-0.718268096446991,
0.3611298203468323,
0.2002628594636917,
0.17233321070671082,
-0.2232723981142044,
-0.23739565908908844,
0.08882461488246918,
0.2409689724445343,
0.11561105400323868,
-0.0989535003900528,
0.012623440474271774,
0.33203935623168945,
-0.16687147319316864,
-0.06901270896196365,
0.0343172624707222,
-0.28084543347358704,
0.003179572056978941,
0.15464241802692413,
-0.07794580608606339,
-0.2983675003051758,
-0.5014808773994446,
0.1238657757639885,
0.11868726462125778,
0.7641478776931763,
-0.11712873727083206,
-0.5640261769294739,
-0.04962167516350746,
0.12958724796772003,
0.2901589572429657,
0.3258308470249176,
0.3054429590702057,
-0.0033053786028176546,
0.3387884795665741,
-0.5569103956222534,
0.09167873859405518,
-0.22945980727672577,
0.10124439746141434,
0.19670052826404572,
0.03669871762394905,
-0.06704099476337433,
0.1275736689567566,
0.006228524725884199,
-0.18615014851093292,
0.2320862114429474,
0.02419956400990486,
-0.3480374813079834,
0.3791959583759308,
-0.09579383581876755,
-0.012521362863481045,
-0.15371018648147583,
0.5009949207305908,
0.23905609548091888,
0.2913283407688141,
0.17131824791431427,
0.27433136105537415,
0.050613805651664734,
0.17303326725959778,
-0.031695201992988586,
0.18152162432670593,
0.4626691937446594,
0.2795349359512329,
0.5615987777709961,
-0.28980112075805664,
-0.1274811029434204,
0.020110616460442543,
0.04611581191420555,
-0.30728667974472046,
0.05473308637738228,
0.2786271274089813,
0.039836909621953964,
-0.174010768532753,
0.23153921961784363,
0.06332148611545563,
-0.1945551037788391,
-0.19721806049346924,
0.0998353511095047,
0.3442131280899048,
0.0919303223490715,
-0.07219221442937851,
0.056253012269735336,
0.17367812991142273,
-0.0946674570441246,
-0.35689231753349304,
-0.009011796675622463,
-0.32806289196014404,
-0.2786846160888672,
0.39777007699012756,
0.42687293887138367,
-0.059040617197752,
0.04829093813896179,
0.2228620946407318,
0.13982245326042175,
-0.161517933011055,
0.4451653063297272,
-0.10490822792053223,
0.40175819396972656,
0.31263065338134766,
0.2725580632686615,
0.24428211152553558,
0.061980027705430984,
0.03934646397829056,
-0.11383891850709915,
0.3360450267791748,
-0.3299661874771118,
-0.19835741817951202,
0.3492933213710785,
0.060447193682193756,
-0.04218024015426636,
0.2782876491546631,
-0.2858787477016449,
0.06827874481678009,
0.49929285049438477,
-0.07010570913553238,
0.3984583616256714,
0.1958024501800537,
-0.2189561277627945,
-0.4167911410331726,
-0.07103797048330307,
0.27807706594467163,
-0.04803737625479698,
-0.040020983666181564,
-0.1446881890296936,
-0.005447227507829666,
0.012144939042627811,
0.33048194646835327,
-0.03063257411122322,
0.23235878348350525,
-0.16232912242412567,
0.19568146765232086,
0.4786151647567749,
-0.1494106501340866,
-0.6601568460464478,
0.09333400428295135,
0.1913600116968155,
-0.1107342541217804,
0.18149885535240173,
0.08801166713237762,
-0.051197659224271774,
-0.10903849452733994,
0.017031298950314522,
0.296263188123703,
0.1734897345304489,
0.26796257495880127,
0.07821344584226608,
0.014511723071336746,
-0.10270632803440094,
0.011118713766336441,
0.03512929379940033,
0.26383525133132935,
0.3305090367794037,
-0.3714771270751953,
0.24938590824604034,
-0.32689064741134644,
0.2354726791381836,
0.45267969369888306,
0.2369101494550705,
-0.12376965582370758,
0.008880707435309887,
0.007716345600783825,
-0.33047735691070557,
0.22193853557109833,
-0.11207805573940277,
-0.33663272857666016,
0.035385966300964355,
-0.5332356095314026,
0.11614483594894409,
-0.2586069405078888,
-0.18350109457969666,
-0.10280042141675949,
0.058974020183086395,
-0.013190782628953457,
0.04314909130334854,
-0.26654550433158875,
0.19841082394123077,
0.29968124628067017,
0.22091040015220642,
0.04676959663629532,
-0.11864933371543884,
0.08673366904258728,
-0.09542138874530792,
-0.13099150359630585,
-0.24010038375854492,
-0.03713361918926239,
0.27250906825065613,
-0.03682167828083038,
-0.24581024050712585,
0.31385672092437744,
0.24805542826652527,
-0.04371427744626999,
-0.22443141043186188,
0.2249997854232788,
-0.002051497343927622,
0.0791349783539772,
0.09314794093370438,
-0.1511031687259674,
-0.08382697403430939,
-0.11979920417070389,
-0.2827204763889313,
0.5314024686813354,
-0.0913303792476654,
-0.19639186561107635,
-0.28487858176231384,
0.21990858018398285,
0.1736142784357071,
-0.03928106278181076,
-0.13756699860095978,
-0.12513257563114166,
0.025919726118445396,
0.23248453438282013,
0.38763442635536194,
0.1938306838274002,
0.13233256340026855,
0.05045052990317345,
0.3756450414657593,
0.1494709849357605,
0.13090576231479645,
-0.03740235045552254,
-0.04677929729223251,
0.048779916018247604,
0.25715702772140503,
0.27764061093330383,
0.37995705008506775,
0.07391804456710815,
0.27699434757232666,
-0.138766348361969,
0.3776821792125702,
-0.10414353013038635,
-0.010229423642158508,
-0.015165233984589577,
-0.08966950327157974,
-0.16363641619682312,
-0.2192457616329193,
-0.07278179377317429,
-0.02252279222011566,
0.29860764741897583,
0.06836037337779999,
0.14790092408657074,
-0.3589761257171631,
-0.15647181868553162,
-0.12776465713977814,
-0.26560184359550476,
0.3322512209415436,
0.004739117808640003,
-0.43010297417640686,
-0.04678533226251602,
-0.1731012612581253,
0.26267606019973755,
-0.05561365932226181,
0.2959820628166199,
-0.15583384037017822,
0.21583765745162964,
-0.01572858914732933,
-0.030306633561849594,
-0.18985503911972046,
0.1892223358154297,
0.08219648152589798,
0.023258525878190994,
0.23475056886672974,
-0.6215865015983582,
0.10955247282981873,
-0.05365774407982826,
0.2752890884876251,
-0.3888063430786133,
-0.05420077219605446,
-0.1635517030954361,
0.0965685173869133,
0.08274628967046738,
-0.33418920636177063,
-0.0747670829296112,
-0.2251957505941391,
-0.004624404013156891,
-0.09555093944072723,
-0.3325318396091461,
-0.22389280796051025,
0.008983920328319073,
0.011030266061425209,
-0.03325781598687172,
-0.2029949426651001,
-0.06104230508208275,
-0.15554450452327728,
-0.12675288319587708,
0.48594197630882263,
0.15491241216659546,
0.23119379580020905,
-0.20376946032047272,
-0.2212676703929901,
-0.32932135462760925,
-0.1553507000207901,
0.19970884919166565,
-0.34681183099746704,
-0.6803945899009705,
0.30595389008522034,
-0.5067751407623291,
-0.3965730369091034,
0.011727919802069664,
0.10945235937833786,
0.11936094611883163,
0.507933497428894,
0.06978414952754974,
-0.21127410233020782,
-0.18970157206058502,
0.28614622354507446,
-0.21724028885364532,
0.148874431848526,
-0.010220171883702278,
0.01842970959842205,
0.16938598453998566,
-0.01389245968312025,
-0.15424905717372894,
0.04585767164826393,
-0.03915055841207504,
-0.27793869376182556,
0.1855640858411789,
0.18912968039512634,
0.1423262506723404,
0.5497561693191528,
0.4713602662086487,
0.366560161113739,
0.269602507352829,
0.2861096262931824,
0.6051006317138672,
0.07836414128541946,
-0.10193983465433121,
0.1641363948583603,
0.07850628346204758,
-0.09389067441225052,
0.15884709358215332,
0.09094174951314926,
-0.1556548923254013,
0.05858323723077774,
-0.10559506714344025,
-0.25638341903686523,
-0.49862396717071533,
-0.1460418850183487,
-0.2895289361476898,
0.04659171402454376,
0.0067774103954434395,
0.21247178316116333,
-0.2476469874382019,
-0.20216235518455505,
0.060707539319992065,
0.29616767168045044,
0.1324816197156906,
0.2858162224292755,
-0.6697198152542114,
0.11266772449016571,
-0.34763389825820923,
0.46435078978538513,
-0.025068968534469604,
0.46305379271507263,
-0.18300433456897736,
0.1925455629825592,
0.20004260540008545,
0.304537296295166,
0.41237449645996094,
-0.5408956408500671,
0.3032758831977844,
-0.03484966978430748,
0.04470675066113472,
0.24858719110488892,
-0.15070538222789764,
0.3441006541252136,
0.52854323387146,
0.11640030145645142,
0.12702125310897827,
0.13039664924144745,
-0.12364623695611954,
-0.42735716700553894,
-0.29871034622192383,
-0.08370280265808105,
-0.26713451743125916,
0.19202490150928497,
0.10251499712467194,
-0.0579172819852829,
-0.044982537627220154,
0.2800469696521759,
-0.31022894382476807,
-0.1342487633228302,
-0.006063423585146666,
-0.31040963530540466,
0.165164515376091,
0.08257834613323212,
-0.149812713265419,
0.3525906801223755,
-0.04457597807049751,
-0.052952248603105545,
0.38788869976997375,
-0.009542029350996017,
0.363096684217453,
0.41984841227531433,
-0.28885596990585327,
0.22729873657226562,
-0.1554991751909256,
-0.34465673565864563,
0.3685612976551056,
0.003525304375216365,
-0.2869550287723541,
-0.15785211324691772,
0.18331095576286316,
-0.0863533467054367,
-0.25822871923446655,
-0.10712800174951553,
-0.10990656912326813,
0.153314471244812,
-0.28692153096199036,
-0.6173257827758789,
0.14577484130859375,
0.6142492294311523,
-0.34090301394462585,
0.2515208125114441,
-0.14575563371181488,
-0.40505486726760864,
0.22268624603748322,
0.14972437918186188,
0.8280975222587585,
-0.12416242808103561,
0.4132508635520935,
-0.39656397700309753,
0.05327235162258148,
0.16006389260292053,
-0.47668737173080444,
0.0904369205236435,
-0.5270591974258423,
-0.3178490698337555,
-0.10731744021177292,
-0.13086020946502686,
0.10582190752029419,
0.4674869477748871,
-0.09536988288164139,
0.10564067214727402,
-0.06905597448348999,
-0.19045642018318176,
-0.1384861022233963,
-0.13928212225437164,
-0.2735181152820587,
-0.2676408886909485,
0.2913936972618103,
0.1141192838549614,
-0.17767569422721863,
0.06268012523651123,
-0.00401043426245451,
0.06088944151997566,
-0.21836155652999878,
0.20517602562904358,
-0.2044142782688141,
0.027717584744095802,
-0.6304149627685547,
0.13335156440734863,
-0.14402344822883606,
-0.038787972182035446,
0.1345824897289276,
0.4161991477012634,
0.384662926197052,
0.3360762298107147,
-0.04933561012148857,
0.06204681843519211,
0.3749549686908722,
0.24933642148971558,
-0.13668279349803925,
-0.06681019812822342,
0.32735833525657654,
0.17554928362369537,
0.08586620539426804,
-0.24303169548511505,
-0.14040407538414001,
-0.2752971351146698,
-0.2996562719345093,
0.05285276100039482,
0.09273625910282135,
-0.3620995283126831,
-0.06945423036813736,
-0.2669887840747833,
0.03559153899550438,
0.08178064227104187,
0.05848199501633644,
0.47536501288414,
-0.061574291437864304,
0.5999330282211304,
-0.3380891680717468,
-0.37074655294418335,
0.023254336789250374,
0.6508815288543701,
-0.07489755004644394,
-0.19198837876319885,
0.16107836365699768,
-0.28530094027519226,
-0.25632619857788086,
-0.16115900874137878,
0.2668006718158722,
0.3067179024219513,
-0.10843175649642944,
-0.1093948632478714,
0.06219201534986496,
-0.09284883737564087,
0.26042303442955017,
-0.5158432126045227,
0.07800682634115219,
0.19464178383350372,
0.09907005727291107,
-0.27846285700798035,
-0.47670021653175354,
-0.27960872650146484,
-0.17932099103927612,
0.17434044182300568,
0.2712535262107849,
-0.5941867232322693,
0.13451513648033142,
0.02289683185517788,
-0.20462088286876678,
-0.17612051963806152,
0.03751750662922859,
0.07089813798666,
0.14855888485908508,
0.024730753153562546,
-0.11508402228355408,
-0.18911609053611755,
-0.08162581920623779,
-0.10842444002628326,
-0.10958590358495712,
-0.15185952186584473,
-0.07168006151914597,
0.12747929990291595,
0.19319769740104675,
-0.4675961136817932,
0.1774010956287384,
-0.4139457046985626,
-0.12337720394134521,
-0.425443559885025,
0.05730945244431496,
0.39090386033058167,
0.17317664623260498,
0.31082549691200256,
0.2425539344549179,
-0.062131304293870926,
-0.2998085021972656,
0.19314102828502655,
-0.2430422604084015,
-0.22434896230697632,
-0.24551819264888763,
0.2626124620437622,
-0.30394381284713745,
-0.08838920295238495,
0.2513171136379242,
-0.08788543939590454,
0.1320446878671646,
0.07705258578062057,
0.09454022347927094,
-0.026254644617438316,
0.022861745208501816,
0.11023270338773727,
0.29238361120224,
-0.055226340889930725,
-0.16602130234241486,
-0.03230222687125206,
0.30398163199424744,
0.09585022181272507,
0.1196824386715889,
-0.32978254556655884,
0.27826929092407227,
-0.16583316028118134,
0.02629769966006279,
0.3702867031097412,
0.08672227710485458,
-0.2481263428926468,
0.08565995842218399,
-0.15531592071056366,
0.17045095562934875,
-0.27832865715026855,
0.39024174213409424,
-0.10391457378864288,
0.028177116066217422,
0.07272264361381531,
0.3354696035385132,
0.2010548710823059,
0.027895791456103325,
0.2980979084968567,
0.15194791555404663,
0.20824961364269257,
0.3124467432498932,
-0.2757875919342041,
0.16940681636333466,
-0.6644005179405212,
0.09758390486240387,
0.09667638689279556,
-0.034690625965595245,
0.22680938243865967,
0.16621001064777374,
0.06404080986976624,
-0.036796312779188156,
-0.29753199219703674,
0.0596022829413414,
-0.161054790019989,
-0.19091880321502686,
-0.11529423296451569,
0.004600947722792625,
0.08133246749639511,
0.04552317410707474,
-0.20061591267585754,
-0.26223495602607727,
-0.1746814101934433,
0.09283141791820526,
0.276619553565979,
0.07422531396150589,
0.16581635177135468,
-0.008980767801404,
0.07607901096343994,
0.021803857758641243,
-0.25044387578964233,
-0.041088491678237915,
-0.4445382058620453,
-0.111905537545681,
0.2693793475627899,
0.08465106785297394,
0.11982803791761398,
0.12646718323230743,
0.18062329292297363,
0.17191675305366516,
0.3239757716655731,
0.08220914751291275,
-0.29455384612083435,
0.23478175699710846,
0.012774581089615822,
-0.35224464535713196,
0.05308380722999573,
0.033213067799806595,
-0.01393304206430912,
-0.10169131308794022,
-0.14421163499355316,
-0.046167414635419846,
0.09762509167194366,
-0.01474469993263483,
-0.13178937137126923,
-0.49606946110725403,
0.165049210190773,
-0.009006871841847897,
0.1675388067960739,
0.031126482412219048,
0.4447348713874817,
0.016027746722102165,
0.2173563838005066,
-0.47129473090171814,
0.024617768824100494,
0.39449286460876465,
0.20755986869335175,
0.37149468064308167,
-0.15327845513820648,
-0.05140940472483635,
-0.05017752945423126,
-0.3450668454170227,
0.1659603863954544,
0.22714191675186157,
0.29729947447776794,
-0.0110219307243824,
-0.22641532123088837,
0.05165804177522659,
-0.11250531673431396,
0.4493536055088043,
-0.17990683019161224,
0.2619471848011017,
0.3611069321632385,
-0.32416194677352905,
-0.21587398648262024,
0.21939557790756226,
-0.00904892198741436,
0.10063737630844116,
-0.4241228997707367,
0.3100617825984955,
0.06446684151887894,
0.06311172246932983,
-0.12998706102371216,
-0.1061268225312233,
0.15137392282485962,
0.5122235417366028,
0.3870992660522461,
0.2622056305408478,
-0.005772924982011318,
0.01566479168832302,
0.46086856722831726,
-0.2425290197134018,
0.19813548028469086,
-0.2715996205806732,
-0.00816607940942049,
-0.11495082080364227,
0.12258690595626831,
-0.5734192132949829,
-0.21235060691833496,
-0.3278990685939789,
0.024995947256684303,
-0.181475430727005,
0.2328227311372757,
0.030917491763830185,
0.1897108554840088,
-0.12885890901088715,
0.02322632074356079,
0.2941924035549164,
0.30199846625328064,
-0.12385841459035873,
0.3862368166446686,
-0.46853601932525635,
-0.07660762220621109,
0.31012409925460815,
-0.25809624791145325,
-0.11882340162992477,
-0.13129334151744843,
0.35411372780799866,
0.18922194838523865,
-0.2718222439289093,
0.1366860568523407,
0.07334428280591965,
0.38322117924690247,
-0.38989850878715515,
-0.10430607944726944,
0.05370562896132469,
-0.3147772550582886,
0.050226133316755295,
-0.1929299384355545,
0.45303818583488464,
0.046752918511629105,
-0.23462074995040894,
0.08102617412805557,
-0.23312708735466003
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
You can get the umask using `os.umask` and then I guess you can just use `os.chmod` as in your previous PR, but with the right permissions depending on the umask.
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 30
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
You can get the umask using `os.umask` and then I guess you can just use `os.chmod` as in your previous PR, but with the right permissions depending on the umask.
|
[
-0.1857261061668396,
0.1737920194864273,
-0.10752758383750916,
-0.1851036101579666,
-0.00817015953361988,
0.08390461653470993,
0.35653746128082275,
0.07572751492261887,
-0.11083195358514786,
0.10525510460138321,
-0.22693881392478943,
0.1543245017528534,
0.10393175482749939,
-0.2934494614601135,
-0.06498054414987564,
0.2179354429244995,
0.09003181010484695,
-0.03514803200960159,
-0.051952626556158066,
-0.008975064381957054,
-0.13901576399803162,
-0.10628912597894669,
-0.09730735421180725,
-0.0220770463347435,
-0.21672135591506958,
-0.1977166086435318,
0.16959615051746368,
0.33889657258987427,
-0.05083765462040901,
-0.2708572447299957,
0.19472378492355347,
0.5540147423744202,
0.024419497698545456,
0.10413135588169098,
-0.00010545818804530427,
-0.1182967945933342,
0.025944799184799194,
-0.0766807571053505,
0.0837036743760109,
0.25447770953178406,
0.06165681779384613,
-0.05995388329029083,
-0.24193590879440308,
-0.17216747999191284,
-0.24745811522006989,
0.19508478045463562,
0.12710173428058624,
-0.5841304659843445,
0.3706356883049011,
0.261909157037735,
0.2632210850715637,
0.004186361562460661,
-0.2159227430820465,
0.08270753175020218,
0.2322055995464325,
0.03945719450712204,
-0.18446694314479828,
0.004055383149534464,
0.3705589473247528,
-0.08177252858877182,
-0.029460864141583443,
0.044710759073495865,
-0.19668300449848175,
0.07993853092193604,
0.1410066932439804,
-0.049285732209682465,
-0.22016394138336182,
-0.49668845534324646,
0.17104829847812653,
0.06864024698734283,
0.7374110817909241,
-0.05055777728557587,
-0.525809645652771,
0.05153167247772217,
0.16334886848926544,
0.2687792181968689,
0.35489746928215027,
0.3101961612701416,
-0.054366592317819595,
0.3213352859020233,
-0.4402199387550354,
0.14287340641021729,
-0.21385805308818817,
0.02315571717917919,
0.21602094173431396,
0.10436730831861496,
-0.013858569785952568,
0.11856074631214142,
0.13126234710216522,
-0.17238184809684753,
0.1273888647556305,
0.22209790349006653,
-0.28417444229125977,
0.4184725284576416,
-0.08035419881343842,
0.0213505607098341,
-0.17957736551761627,
0.42771169543266296,
0.19308294355869293,
0.1829824596643448,
0.2210569679737091,
0.26310524344444275,
0.03993574157357216,
0.2481011152267456,
-0.11073311418294907,
0.08761528134346008,
0.3066403865814209,
0.3309396207332611,
0.6004152297973633,
-0.27535146474838257,
-0.17739804089069366,
0.03613901138305664,
-0.004083008039742708,
-0.40077561140060425,
-0.007575260940939188,
0.26173242926597595,
0.10331499576568604,
-0.24115310609340668,
0.219720259308815,
-0.01437342632561922,
-0.05039476975798607,
-0.13524022698402405,
0.05547725036740303,
0.41304832696914673,
0.21592316031455994,
-0.20108909904956818,
0.13299818336963654,
0.1610400527715683,
0.0002651918330229819,
-0.23621177673339844,
-0.009621399454772472,
-0.28264033794403076,
-0.3536849021911621,
0.308427631855011,
0.42392176389694214,
0.028192995116114616,
-0.005930297542363405,
0.21353945136070251,
0.16407273709774017,
-0.2162482738494873,
0.3558659851551056,
0.0013643621932715178,
0.4887394607067108,
0.3780566453933716,
0.22980520129203796,
0.12427974492311478,
0.07132788747549057,
0.007000473793596029,
-0.13565464317798615,
0.3754257261753082,
-0.16858460009098053,
-0.15591929852962494,
0.29856106638908386,
0.14401790499687195,
0.05176514759659767,
0.23537516593933105,
-0.17600472271442413,
0.003402969567105174,
0.4222278296947479,
0.019279321655631065,
0.47307097911834717,
0.26343846321105957,
-0.18115529417991638,
-0.3831006586551666,
-0.0662584975361824,
0.16072548925876617,
-0.12459448724985123,
-0.0031764735467731953,
-0.20331169664859772,
-0.12253401428461075,
-0.06388251483440399,
0.322544127702713,
-0.034948304295539856,
0.1460779905319214,
-0.15300311148166656,
0.17999787628650665,
0.49439579248428345,
-0.10541990399360657,
-0.5366951823234558,
0.017922062426805496,
0.14209485054016113,
-0.15751056373119354,
0.25536131858825684,
0.0699414387345314,
-0.08621774613857269,
-0.12054850161075592,
-0.0840221717953682,
0.3386441171169281,
0.24014067649841309,
0.19527877867221832,
0.07592203468084335,
0.06185261905193329,
-0.1156337559223175,
0.0749073252081871,
0.0716748759150505,
0.3632020950317383,
0.32135722041130066,
-0.3289194405078888,
0.28205448389053345,
-0.30497393012046814,
0.23714548349380493,
0.4326987564563751,
0.22957924008369446,
-0.045722708106040955,
0.03914990648627281,
-0.0006196469767019153,
-0.28058263659477234,
0.29856163263320923,
-0.2028413712978363,
-0.24086876213550568,
0.056275442242622375,
-0.5901842713356018,
0.05552744120359421,
-0.21220949292182922,
-0.13978496193885803,
-0.16166728734970093,
0.15870040655136108,
0.02429240010678768,
0.10341637581586838,
-0.33600109815597534,
0.22343949973583221,
0.2746566832065582,
0.2683148682117462,
-0.012135302647948265,
-0.03983522951602936,
0.02671855501830578,
-0.2164900004863739,
-0.12059127539396286,
-0.19340506196022034,
0.014575320295989513,
0.18436560034751892,
-0.01789569854736328,
-0.2853241562843323,
0.35351043939590454,
0.18522989749908447,
0.020363790914416313,
-0.20013362169265747,
0.10850391536951065,
-0.10562022030353546,
0.1050097793340683,
0.03597265109419823,
-0.18668515980243683,
-0.10000351071357727,
-0.0848841518163681,
-0.27447348833084106,
0.3847476840019226,
-0.08446718007326126,
-0.18054132163524628,
-0.2337639331817627,
0.20747193694114685,
0.17458082735538483,
-0.06095828860998154,
-0.08518495410680771,
-0.1573992818593979,
-0.026576286181807518,
0.17657242715358734,
0.31829822063446045,
0.1446734070777893,
0.13709990680217743,
0.057625945657491684,
0.2981221675872803,
0.18632270395755768,
0.06545248627662659,
-0.03010019101202488,
-0.01312735304236412,
0.1375167816877365,
0.20893126726150513,
0.26192015409469604,
0.3403192460536957,
0.12406112253665924,
0.3443056046962738,
-0.07577137649059296,
0.3184893727302551,
-0.0739089846611023,
0.033875010907649994,
-0.11102106422185898,
-0.1256035715341568,
-0.1951058804988861,
-0.18303200602531433,
-0.09045230597257614,
-0.13623785972595215,
0.27235859632492065,
0.07900620996952057,
0.12836113572120667,
-0.30071571469306946,
-0.17031589150428772,
-0.13531190156936646,
-0.20514026284217834,
0.351392537355423,
0.06783927977085114,
-0.5054528117179871,
-0.08965811133384705,
-0.051606230437755585,
0.20657208561897278,
-0.19157850742340088,
0.3344325125217438,
-0.18281440436840057,
0.12996116280555725,
0.026353972032666206,
-0.03701246902346611,
-0.25180530548095703,
0.12041673064231873,
0.15029825270175934,
0.11035128682851791,
0.1937013864517212,
-0.5752263069152832,
0.1569739580154419,
-0.04485250264406204,
0.22562682628631592,
-0.3547337055206299,
0.0017734988359734416,
-0.13116078078746796,
-0.07155581563711166,
-0.04301644489169121,
-0.31775927543640137,
-0.03994808346033096,
-0.19784393906593323,
-0.0918910801410675,
-0.009718036279082298,
-0.38439247012138367,
-0.31322136521339417,
-0.030798088759183884,
0.14639396965503693,
-0.0677192434668541,
-0.34141847491264343,
-0.05935226380825043,
-0.13897161185741425,
-0.27760517597198486,
0.4889320135116577,
0.11934161931276321,
0.23467394709587097,
-0.07312247902154922,
-0.330290824174881,
-0.29860538244247437,
-0.037501413375139236,
0.16940107941627502,
-0.42593422532081604,
-0.5024008750915527,
0.33950096368789673,
-0.5373860597610474,
-0.42634257674217224,
0.1487535685300827,
0.2579759657382965,
0.1109810620546341,
0.45551571249961853,
0.057256944477558136,
-0.13292814791202545,
-0.15703542530536652,
0.21102745831012726,
-0.23340055346488953,
0.11519726365804672,
0.04402211308479309,
0.039984092116355896,
0.03301691636443138,
-0.0285793449729681,
-0.16773255169391632,
0.043416786938905716,
-0.04409180209040642,
-0.25628533959388733,
0.029994400218129158,
0.11308883130550385,
0.18586623668670654,
0.5306417942047119,
0.28623273968696594,
0.36381691694259644,
0.26221027970314026,
0.2171134501695633,
0.6401684880256653,
0.008903524838387966,
-0.07042642682790756,
0.1620161384344101,
0.04736799746751785,
-0.07264669984579086,
0.20920245349407196,
0.05824467912316322,
-0.24569053947925568,
0.09009985625743866,
-0.009650577791035175,
-0.16035500168800354,
-0.5348589420318604,
-0.1364099234342575,
-0.273877888917923,
0.08831724524497986,
-0.014095612801611423,
0.14472003281116486,
-0.22620084881782532,
-0.10985126346349716,
0.1252882182598114,
0.2826583981513977,
0.0938108041882515,
0.28226834535598755,
-0.5877391695976257,
0.1400507688522339,
-0.4001906216144562,
0.4587439298629761,
-0.10892405360937119,
0.4167461693286896,
-0.23806244134902954,
0.05568266659975052,
0.22818493843078613,
0.2692910134792328,
0.371799111366272,
-0.5058966875076294,
0.3724426329135895,
0.05637282133102417,
0.1023869514465332,
0.25381892919540405,
-0.18486206233501434,
0.337785542011261,
0.47536349296569824,
0.17431463301181793,
0.20081056654453278,
0.12678919732570648,
-0.07152235507965088,
-0.3775749206542969,
-0.3198564648628235,
-0.03799835219979286,
-0.27077531814575195,
0.08474763482809067,
0.12335477024316788,
-0.2259894609451294,
0.0749150812625885,
0.2653070092201233,
-0.32109183073043823,
-0.12866507470607758,
0.03733958676457405,
-0.21655642986297607,
0.211147278547287,
-0.031339894980192184,
-0.05306907370686531,
0.26631927490234375,
0.037025317549705505,
-0.02293665148317814,
0.28628844022750854,
0.027783533558249474,
0.2220788300037384,
0.4201596975326538,
-0.2369469851255417,
0.3318755328655243,
-0.17029039561748505,
-0.336882621049881,
0.29438889026641846,
0.024181252345442772,
-0.2756517827510834,
-0.2143302857875824,
0.21075810492038727,
-0.11100507527589798,
-0.1910562813282013,
-0.030451687052845955,
-0.118282251060009,
0.0806012824177742,
-0.2883733808994293,
-0.47267892956733704,
0.09792012721300125,
0.5448182821273804,
-0.33146777749061584,
0.2728613615036011,
-0.14083676040172577,
-0.38697877526283264,
0.26609525084495544,
0.10943954437971115,
0.7270161509513855,
-0.274971067905426,
0.34889888763427734,
-0.4370080232620239,
0.04076392203569412,
0.03231106698513031,
-0.4445154368877411,
0.08480105549097061,
-0.4014926850795746,
-0.41333380341529846,
-0.059545110911130905,
-0.18931350111961365,
0.04021957144141197,
0.4990392029285431,
-0.14653067290782928,
-0.022270847111940384,
-0.017848433926701546,
-0.07636591047048569,
-0.16301321983337402,
-0.1716431975364685,
-0.3598254919052124,
-0.28086671233177185,
0.22873257100582123,
0.2174026221036911,
-0.18892070651054382,
0.09513719379901886,
-0.030471263453364372,
0.0031741757411509752,
-0.16273605823516846,
0.2038646936416626,
-0.21756577491760254,
0.08925493061542511,
-0.5943808555603027,
0.13763658702373505,
-0.21811561286449432,
0.02480871044099331,
0.08807049691677094,
0.31571322679519653,
0.4517298936843872,
0.43675586581230164,
0.002666062442585826,
0.11915910989046097,
0.441731721162796,
0.19773943722248077,
-0.19067156314849854,
-0.07739363610744476,
0.20276173949241638,
0.1221274808049202,
0.07919634133577347,
-0.2834095358848572,
-0.12047101557254791,
-0.4084972143173218,
-0.20664997398853302,
0.13601872324943542,
0.04267687723040581,
-0.2759864032268524,
-0.00684379693120718,
-0.1643596887588501,
0.004657520912587643,
0.0218642745167017,
0.15644341707229614,
0.3987322151660919,
-0.2099609375,
0.4780237674713135,
-0.4339785575866699,
-0.3344350755214691,
0.08629370480775833,
0.6166927814483643,
-0.08992911130189896,
-0.17606112360954285,
0.12322652339935303,
-0.20642681419849396,
-0.20423941314220428,
-0.2376878410577774,
0.13174842298030853,
0.20236189663410187,
-0.11868695914745331,
-0.002915365854278207,
0.12985089421272278,
-0.20156674087047577,
0.2526230216026306,
-0.40550416707992554,
0.051546163856983185,
0.21097254753112793,
0.03567105531692505,
-0.26729971170425415,
-0.557994544506073,
-0.2802613079547882,
-0.2669661343097687,
0.21887163817882538,
0.23629482090473175,
-0.44258731603622437,
0.12865792214870453,
0.0033928127959370613,
-0.30724382400512695,
-0.162712961435318,
-0.03624704107642174,
0.12240884453058243,
0.18379458785057068,
-0.07669605314731598,
-0.03252444043755531,
-0.18415077030658722,
-0.000342379993526265,
-0.018425311893224716,
-0.09415268152952194,
-0.25664156675338745,
-0.007245923858135939,
0.0827958956360817,
0.19266635179519653,
-0.405609130859375,
0.18345409631729126,
-0.40277695655822754,
-0.10519631952047348,
-0.37070855498313904,
0.11699684709310532,
0.37332576513290405,
0.10564412921667099,
0.22041434049606323,
0.1463722437620163,
-0.06429215520620346,
-0.0891348347067833,
0.1361052542924881,
-0.22072823345661163,
-0.2519523501396179,
-0.2602122128009796,
0.218669131398201,
-0.3524954319000244,
-0.08475339412689209,
0.2697776257991791,
-0.08074334263801575,
0.11063732951879501,
0.10640358179807663,
0.13498082756996155,
0.0692940354347229,
-0.08487799018621445,
-0.002687043510377407,
0.36892804503440857,
-0.07101686298847198,
-0.03557194396853447,
-0.014939638786017895,
0.30702298879623413,
0.16887237131595612,
0.07946440577507019,
-0.30349209904670715,
0.28150373697280884,
-0.2608579397201538,
0.11384157836437225,
0.320625364780426,
0.1516408771276474,
-0.31002455949783325,
0.16788774728775024,
-0.05533146485686302,
0.14276018738746643,
-0.28543031215667725,
0.372597336769104,
-0.03705331310629845,
-0.024243857711553574,
0.10646703094244003,
0.3017579913139343,
0.2455569952726364,
0.006734791211783886,
0.17861540615558624,
0.1392194777727127,
0.20599587261676788,
0.316148966550827,
-0.377920538187027,
0.2491225153207779,
-0.5594161152839661,
0.04847932979464531,
0.008231879211962223,
0.0325455442070961,
0.31141942739486694,
0.10863032937049866,
-0.014919139444828033,
-0.06773698329925537,
-0.3752584159374237,
-0.024696923792362213,
-0.06113123521208763,
-0.22305376827716827,
-0.09553126245737076,
0.04468504339456558,
0.1791997253894806,
-0.007664010394364595,
-0.16676627099514008,
-0.1541597843170166,
-0.18143367767333984,
0.07941069453954697,
0.19913922250270844,
0.16236644983291626,
0.2552841901779175,
0.039083145558834076,
0.03437170013785362,
-0.021818870678544044,
-0.2530500888824463,
-0.07371301203966141,
-0.466095894575119,
-0.11477874964475632,
0.3790404498577118,
0.0014311954146251082,
0.13229034841060638,
0.026340976357460022,
0.0815611258149147,
0.24082881212234497,
0.2220025360584259,
0.0782456248998642,
-0.4063870906829834,
0.30512112379074097,
-0.0724509209394455,
-0.32997438311576843,
0.1291544884443283,
0.0806962102651596,
-0.12951022386550903,
-0.18495121598243713,
-0.29258647561073303,
-0.07619364559650421,
0.16652855277061462,
-0.07964873313903809,
-0.1766749769449234,
-0.5326673984527588,
0.1927373707294464,
-0.036425333470106125,
0.13453002274036407,
0.05835888907313347,
0.3334975838661194,
0.014784482307732105,
0.1852365881204605,
-0.49018749594688416,
0.0773783028125763,
0.34754183888435364,
0.2903096675872803,
0.4328676164150238,
-0.17943476140499115,
0.006789540871977806,
-0.05881637707352638,
-0.37550610303878784,
0.07901819795370102,
0.240337073802948,
0.20122121274471283,
-0.04350409284234047,
-0.23689480125904083,
0.11399126797914505,
-0.173188716173172,
0.6218093037605286,
-0.28110361099243164,
0.152700275182724,
0.36376604437828064,
-0.21879731118679047,
-0.16947849094867706,
0.232568621635437,
-0.012817307375371456,
0.10897848010063171,
-0.4467694163322449,
0.23510771989822388,
0.1090218722820282,
0.1445736438035965,
-0.07534244656562805,
-0.1449451446533203,
0.17994341254234314,
0.47122979164123535,
0.461650550365448,
0.22167710959911346,
-0.05271830037236214,
0.00867100153118372,
0.38595640659332275,
-0.39134514331817627,
0.07963795214891434,
-0.22224196791648865,
-0.07899767905473709,
-0.09578248113393784,
0.0782984122633934,
-0.5545237064361572,
-0.23053261637687683,
-0.28880125284194946,
0.03866483271121979,
-0.16136956214904785,
0.20811758935451508,
0.13037998974323273,
0.15682794153690338,
-0.1873612254858017,
0.122209832072258,
0.36092931032180786,
0.27846112847328186,
-0.08927023410797119,
0.2829231023788452,
-0.49971145391464233,
-0.2178991138935089,
0.24888435006141663,
-0.18255819380283356,
-0.23234708607196808,
-0.06422416865825653,
0.37068936228752136,
0.18942521512508392,
-0.23456665873527527,
0.10134875774383545,
0.12627479434013367,
0.2508760094642639,
-0.35420969128608704,
-0.15102121233940125,
0.040862224996089935,
-0.30039992928504944,
0.006255046930164099,
-0.25020360946655273,
0.39766451716423035,
0.03913385421037674,
-0.23910902440547943,
-0.03542274609208107,
-0.29173144698143005
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
FWIW, we have this issue with other caches - e.g. `transformers` model files. So probably will need to backport this into `transformers` as well.
thanks @thomwolf for the pointer.
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 29
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
FWIW, we have this issue with other caches - e.g. `transformers` model files. So probably will need to backport this into `transformers` as well.
thanks @thomwolf for the pointer.
|
[
-0.12074419856071472,
0.211061492562294,
-0.08410488814115524,
0.04681878536939621,
-0.002863519825041294,
0.14593715965747833,
0.3854048550128937,
0.13916075229644775,
-0.2011679857969284,
-0.05856752023100853,
-0.13547801971435547,
-0.01762249507009983,
0.1156202182173729,
-0.2905225157737732,
-0.03995046019554138,
0.11758850514888763,
0.13374294340610504,
0.0035107461735606194,
-0.03668725863099098,
-0.08392466604709625,
-0.09984152019023895,
-0.07524964958429337,
-0.08505246043205261,
-0.07264067977666855,
-0.36150285601615906,
-0.13297604024410248,
0.2650977373123169,
0.22551466524600983,
0.009047026745975018,
-0.12460482865571976,
0.30474328994750977,
0.43336212635040283,
0.07846902310848236,
0.12999704480171204,
-0.00011065086437156424,
-0.13994558155536652,
0.048794206231832504,
-0.06425351649522781,
0.0905679315328598,
0.271478533744812,
-0.13215920329093933,
-0.07617495954036713,
-0.16861742734909058,
-0.10695907473564148,
-0.11066945642232895,
0.2972264289855957,
0.12265661358833313,
-0.5791892409324646,
0.4974913001060486,
0.1974838823080063,
0.22749431431293488,
-0.05385119095444679,
-0.34133031964302063,
0.05404415354132652,
0.29268351197242737,
0.08097545057535172,
-0.22436395287513733,
0.05525287240743637,
0.2692470848560333,
-0.1958603411912918,
-0.0183212012052536,
0.05518591031432152,
-0.2950381338596344,
0.11538360267877579,
0.15488751232624054,
-0.1219126433134079,
-0.23909403383731842,
-0.5055350065231323,
0.1950543373823166,
0.06200048699975014,
0.7401835918426514,
-0.0504375584423542,
-0.49785640835762024,
-0.13246124982833862,
0.018821371719241142,
0.2531052231788635,
0.4132612943649292,
0.3396551012992859,
-0.001401364104822278,
0.27197906374931335,
-0.5397584438323975,
0.007285797502845526,
-0.13828924298286438,
-0.04479137435555458,
0.15223625302314758,
-0.0007977087516337633,
-0.013266860507428646,
0.08481597900390625,
-0.020190978422760963,
-0.09226666390895844,
0.09072621911764145,
0.08481895178556442,
-0.37720993161201477,
0.3344874978065491,
-0.17496193945407867,
0.0818711370229721,
-0.1774613857269287,
0.41313326358795166,
0.14112147688865662,
0.2401571273803711,
0.21636705100536346,
0.2027893364429474,
0.09417712688446045,
0.2004716694355011,
-0.003246903885155916,
0.1715724915266037,
0.37084856629371643,
0.3696022629737854,
0.5744595527648926,
-0.39038655161857605,
-0.1783680021762848,
0.007954506203532219,
0.04430624842643738,
-0.3267359733581543,
0.10369318723678589,
0.25648099184036255,
0.018813643604516983,
-0.22691243886947632,
0.1517632007598877,
0.1165381371974945,
-0.05086198449134827,
-0.21000415086746216,
0.04284460470080376,
0.25550779700279236,
0.16835927963256836,
-0.14306694269180298,
0.030289793387055397,
0.14450037479400635,
0.033596914261579514,
-0.40303468704223633,
-0.029799211770296097,
-0.34231501817703247,
-0.4116484522819519,
0.3594991862773895,
0.4779581129550934,
-0.16394338011741638,
-0.04077712818980217,
0.22205516695976257,
0.10618250072002411,
-0.24785493314266205,
0.26982876658439636,
-0.03839658945798874,
0.477181077003479,
0.3560427725315094,
0.14116555452346802,
0.34388595819473267,
0.07714015990495682,
-0.00275436881929636,
-0.06629396229982376,
0.36061152815818787,
-0.2789533734321594,
-0.06231238692998886,
0.30917641520500183,
0.060003627091646194,
-0.02597242034971714,
0.23416073620319366,
-0.30029764771461487,
0.0653686597943306,
0.6256067752838135,
-0.12017352879047394,
0.4150089621543884,
0.30775871872901917,
-0.1959591805934906,
-0.3834023177623749,
-0.14926104247570038,
0.3160615563392639,
-0.11996367573738098,
-0.030518244951963425,
-0.06051857769489288,
-0.03976720944046974,
-0.04604256898164749,
0.28011661767959595,
-0.03839460760354996,
0.17914754152297974,
-0.09199125319719315,
0.18464933335781097,
0.41499650478363037,
-0.026284079998731613,
-0.5820006132125854,
0.10691899806261063,
0.15091745555400848,
-0.1628614366054535,
0.13184157013893127,
-0.01729630120098591,
0.016342753544449806,
-0.07305200397968292,
-0.1057642325758934,
0.3387129604816437,
0.19759966433048248,
0.2817472517490387,
0.09357072412967682,
0.11249452829360962,
0.04624633118510246,
-0.08973861485719681,
0.13491980731487274,
0.4027236998081207,
0.279572993516922,
-0.23796400427818298,
0.17360523343086243,
-0.22973056137561798,
0.30012476444244385,
0.4829811155796051,
0.08825819939374924,
-0.15607601404190063,
0.00941961258649826,
-0.08818565309047699,
-0.446341335773468,
0.30595681071281433,
-0.17696529626846313,
-0.3649235665798187,
0.09362297505140305,
-0.38643574714660645,
0.023462802171707153,
-0.2765290141105652,
-0.2104598730802536,
-0.08247020095586777,
0.09919235855340958,
0.0023034168407320976,
-0.016041070222854614,
-0.38875284790992737,
0.22744335234165192,
0.38311275839805603,
0.3045077621936798,
-0.030099228024482727,
-0.09522248059511185,
0.12346797436475754,
-0.12746912240982056,
-0.07492735236883163,
-0.2616177499294281,
-0.04066358134150505,
0.2922343313694,
0.008162761107087135,
-0.3218156397342682,
0.23080755770206451,
0.116216279566288,
0.056713979691267014,
-0.08736672252416611,
0.24935850501060486,
-0.03523210063576698,
0.08070244640111923,
0.04281887784600258,
-0.1840929538011551,
-0.053948722779750824,
-0.1325841248035431,
-0.28538063168525696,
0.2740252614021301,
-0.03705335780978203,
-0.06514745950698853,
-0.23755121231079102,
0.2129858285188675,
0.14217528700828552,
-0.017198901623487473,
-0.0711246207356453,
-0.17824165523052216,
-0.06359647959470749,
0.16447842121124268,
0.31539952754974365,
0.22288928925991058,
0.11953110247850418,
0.04577519744634628,
0.40264394879341125,
0.2261165827512741,
0.11566075682640076,
-0.022561941295862198,
-0.1593441665172577,
0.06627443432807922,
0.17170350253582,
0.3607623279094696,
0.2226933389902115,
0.014555202797055244,
0.3567918539047241,
-0.2121683955192566,
0.28471481800079346,
-0.180504709482193,
0.021203558892011642,
-0.03299728035926819,
-0.02820439822971821,
-0.15032002329826355,
-0.09305880963802338,
0.00976200308650732,
-0.10507529228925705,
0.3722713589668274,
0.16793784499168396,
0.09143894165754318,
-0.3406541049480438,
-0.10411279648542404,
-0.2076186239719391,
-0.1616506278514862,
0.2695322036743164,
-0.019201548770070076,
-0.6123396754264832,
-0.08510143309831619,
-0.15969541668891907,
0.1629982590675354,
-0.04658316820859909,
0.15715950727462769,
-0.2691047191619873,
0.204025998711586,
-0.02345310151576996,
-0.11805504560470581,
-0.32134756445884705,
0.161380797624588,
0.03320540487766266,
0.05376505106687546,
0.256073534488678,
-0.6495652794837952,
0.09173022955656052,
0.026991097256541252,
0.31859782338142395,
-0.23262496292591095,
0.05958446115255356,
-0.14622804522514343,
-0.07154805958271027,
0.03931083157658577,
-0.5172539949417114,
0.1141473799943924,
-0.14510852098464966,
0.03794993460178375,
-0.09774742275476456,
-0.24739448726177216,
-0.2224617898464203,
0.03857588768005371,
0.05515521019697189,
-0.1070951595902443,
-0.3245077431201935,
-0.04226956143975258,
-0.02628909982740879,
-0.15691539645195007,
0.4347926676273346,
0.05267026275396347,
0.1734730452299118,
0.11916721612215042,
-0.30777665972709656,
-0.3521294891834259,
-0.22859686613082886,
0.24584728479385376,
-0.4041653275489807,
-0.542407751083374,
0.36127233505249023,
-0.481920063495636,
-0.4319622218608856,
0.07868795096874237,
0.21857835352420807,
0.07978830486536026,
0.41521933674812317,
0.04380016401410103,
0.08299566805362701,
-0.2696129083633423,
0.16147132217884064,
-0.19297541677951813,
0.07663867622613907,
0.05157656595110893,
0.04904995486140251,
0.11126440763473511,
-0.08585850894451141,
-0.19441622495651245,
0.10116253793239594,
0.02000574767589569,
-0.2241315245628357,
0.032373327761888504,
-0.004167946521192789,
0.17052242159843445,
0.6693530082702637,
0.39006075263023376,
0.2593129277229309,
0.2666672170162201,
0.3642522990703583,
0.5709921717643738,
0.04902591183781624,
-0.1328877955675125,
0.11909538507461548,
-0.04693983867764473,
-0.08855435252189636,
0.09056760370731354,
0.046360813081264496,
-0.25627562403678894,
0.03027752973139286,
0.06508676707744598,
-0.22953841090202332,
-0.463031530380249,
-0.25075650215148926,
-0.3004628121852875,
0.14451834559440613,
0.15810321271419525,
0.12501446902751923,
-0.23618224263191223,
-0.16316993534564972,
0.05864755064249039,
0.26056864857673645,
0.2015032321214676,
0.2332783341407776,
-0.3842124044895172,
-0.010405795648694038,
-0.2581263780593872,
0.3752666413784027,
-0.023439962416887283,
0.5265206694602966,
-0.23640021681785583,
0.11084889620542526,
0.19920440018177032,
0.3797493278980255,
0.4119972586631775,
-0.43674108386039734,
0.3121190071105957,
-0.029036492109298706,
0.17296631634235382,
0.349486768245697,
-0.2548169493675232,
0.4342043101787567,
0.4451819956302643,
0.09644327312707901,
0.12089365720748901,
0.15034164488315582,
-0.16601577401161194,
-0.40233293175697327,
-0.2793966233730316,
-0.09916476160287857,
-0.19781425595283508,
0.10596098750829697,
0.3193880319595337,
-0.04683835059404373,
-0.033153094351291656,
0.3301815092563629,
-0.34474977850914,
-0.19546963274478912,
-0.010512333363294601,
-0.11847597360610962,
0.16097071766853333,
0.051606081426143646,
-0.05859046429395676,
0.29947444796562195,
0.06005515530705452,
0.05660754442214966,
0.4806610643863678,
0.03944729268550873,
0.025031009688973427,
0.3715108335018158,
-0.18798716366291046,
0.3247101604938507,
-0.13711856305599213,
-0.29705342650413513,
0.33791276812553406,
0.040753323584795,
-0.3488026261329651,
-0.15309028327465057,
0.10462606698274612,
-0.25818344950675964,
-0.26180827617645264,
-0.15632326900959015,
-0.10677879303693771,
0.04925311729311943,
-0.2082592397928238,
-0.4934578239917755,
0.2734440565109253,
0.49778151512145996,
-0.3501679301261902,
0.2535853981971741,
-0.3135165274143219,
-0.3273329734802246,
0.1499069631099701,
0.03243207931518555,
0.7552205324172974,
-0.247095987200737,
0.31697285175323486,
-0.46004295349121094,
0.067167267203331,
0.008200326934456825,
-0.39945799112319946,
0.12340656667947769,
-0.42508289217948914,
-0.35805103182792664,
-0.1449171006679535,
-0.14111275970935822,
0.018852587789297104,
0.4696406126022339,
0.0408208929002285,
0.039894796907901764,
-0.15101034939289093,
0.02158481813967228,
-0.0914280042052269,
-0.25676921010017395,
-0.09558772295713425,
-0.30434057116508484,
0.31245142221450806,
0.1515037566423416,
-0.23435625433921814,
0.09908546507358551,
-0.029833892360329628,
-0.05360088497400284,
-0.2279217392206192,
0.22256870567798615,
-0.33973050117492676,
0.129185289144516,
-0.5191612243652344,
0.1301494836807251,
-0.10927407443523407,
0.013815035112202168,
0.20910468697547913,
0.29992061853408813,
0.3164103627204895,
0.36177897453308105,
-0.06359818577766418,
0.13563133776187897,
0.3436046838760376,
0.2180132418870926,
-0.25843435525894165,
0.10389620065689087,
0.2954522371292114,
0.16152414679527283,
0.03941499814391136,
-0.28530049324035645,
-0.19333890080451965,
-0.2738260328769684,
-0.32357871532440186,
0.2683517038822174,
0.0029199840500950813,
-0.19891873002052307,
0.024277955293655396,
-0.11087825894355774,
0.06100236624479294,
0.015559534542262554,
0.11573442071676254,
0.42386630177497864,
-0.020926330238580704,
0.5243268013000488,
-0.3454035520553589,
-0.34921035170555115,
0.06384268403053284,
0.6376698017120361,
-0.07075262069702148,
-0.17710988223552704,
0.19358307123184204,
-0.2559058964252472,
-0.2988436818122864,
-0.19648222625255585,
0.13733245432376862,
0.0616035982966423,
-0.18593581020832062,
-0.04017000272870064,
0.03373343497514725,
-0.1001516804099083,
0.22257418930530548,
-0.4149351119995117,
0.0018218919867649674,
0.0836658626794815,
0.0938212051987648,
-0.35159581899642944,
-0.42222562432289124,
-0.33980223536491394,
-0.43312856554985046,
0.1447085589170456,
0.20511020720005035,
-0.4737238585948944,
0.2301027923822403,
0.09232762455940247,
-0.23309865593910217,
-0.23269622027873993,
0.01795630343258381,
0.1307041496038437,
0.2646760046482086,
-0.0388004407286644,
-0.09755386412143707,
-0.2362692505121231,
-0.086092509329319,
0.0690356194972992,
-0.04647209122776985,
-0.21748954057693481,
-0.02038602903485298,
0.13343822956085205,
0.2556906044483185,
-0.35238683223724365,
0.09479811042547226,
-0.368051141500473,
-0.1311710774898529,
-0.423109769821167,
0.04217815026640892,
0.30700790882110596,
0.14832495152950287,
0.37425497174263,
0.18870900571346283,
-0.008383240550756454,
-0.12447453290224075,
0.14814235270023346,
-0.1677156388759613,
-0.20918044447898865,
-0.2064446657896042,
0.1940435916185379,
-0.27293872833251953,
-0.05008230358362198,
-0.006316141225397587,
-0.061619143933057785,
0.06531885266304016,
0.05509263277053833,
0.1459691822528839,
-0.07096488773822784,
-0.006733212620019913,
0.13860462605953217,
0.23728248476982117,
-0.0020310033578425646,
-0.05026956647634506,
-0.010389679111540318,
0.23755893111228943,
0.12212827056646347,
0.12178578227758408,
-0.2690325379371643,
0.3627377450466156,
-0.134963721036911,
0.05760248005390167,
0.28760412335395813,
0.23206283152103424,
-0.279446005821228,
0.18336914479732513,
-0.039009347558021545,
0.10569752007722855,
-0.36096858978271484,
0.47300517559051514,
-0.059437964111566544,
0.1213221475481987,
0.10098869353532791,
0.41833317279815674,
0.21286927163600922,
-0.019625959917902946,
0.3656489849090576,
0.32692569494247437,
0.10126960277557373,
0.27613407373428345,
-0.3488720953464508,
0.14090654253959656,
-0.6575967669487,
0.09694304317235947,
-0.038614872843027115,
0.01681325025856495,
0.3265792727470398,
0.07763668894767761,
0.009059312753379345,
-0.03212452307343483,
-0.29682421684265137,
-0.11237984150648117,
-0.08420202881097794,
-0.12608084082603455,
-0.11413317918777466,
0.11896685510873795,
0.1017138883471489,
0.048132698982954025,
-0.25133654475212097,
-0.12841886281967163,
-0.1908622533082962,
0.23669607937335968,
0.1894712746143341,
0.022542443126440048,
0.2310846596956253,
0.027326399460434914,
0.07066798210144043,
-0.01913439854979515,
-0.22098109126091003,
-0.05422559380531311,
-0.5139693021774292,
-0.11813254654407501,
0.26715487241744995,
0.021915292367339134,
0.0516740046441555,
0.11157430708408356,
0.09486329555511475,
0.1615164875984192,
0.25077271461486816,
0.010993676260113716,
-0.30547910928726196,
0.45928964018821716,
-0.11786819249391556,
-0.35373246669769287,
0.09376532584428787,
0.02102065272629261,
-0.07841088622808456,
-0.1089811772108078,
-0.21710501611232758,
0.1453210711479187,
0.13752944767475128,
-0.0040117716416716576,
-0.25612345337867737,
-0.5012047290802002,
0.07708413898944855,
-0.08053050190210342,
0.1889166235923767,
0.07087470591068268,
0.546710193157196,
0.033171236515045166,
0.20297515392303467,
-0.551682710647583,
0.0514182485640049,
0.4038562774658203,
0.3221230208873749,
0.4221474528312683,
-0.1119193434715271,
-0.03752068057656288,
0.06983384490013123,
-0.3635551929473877,
0.12411540001630783,
0.24848662316799164,
0.5065734386444092,
0.0020056585781276226,
-0.1873561590909958,
0.11791256815195084,
-0.2155752182006836,
0.6327934861183167,
-0.2546352744102478,
0.2672390341758728,
0.3509070873260498,
-0.22996756434440613,
-0.20000572502613068,
0.11872100830078125,
-0.07960795611143112,
0.10355236381292343,
-0.38369685411453247,
0.32404834032058716,
0.21627284586429596,
0.09568838775157928,
-0.20023730397224426,
-0.2255232185125351,
0.18380600214004517,
0.4727127254009247,
0.45948687195777893,
0.22867217659950256,
0.03395189344882965,
0.03512079641222954,
0.3650701940059662,
-0.4535728991031647,
0.05475878715515137,
-0.14160393178462982,
-0.09210091084241867,
-0.20047788321971893,
0.08679166436195374,
-0.5620113611221313,
-0.1265316754579544,
-0.3722982406616211,
0.01742553897202015,
-0.19917930662631989,
0.26977795362472534,
0.017330151051282883,
0.022968333214521408,
-0.22987958788871765,
0.09924160689115524,
0.305050790309906,
0.202769935131073,
-0.11153028160333633,
0.35025137662887573,
-0.48403292894363403,
-0.15117348730564117,
0.3006489872932434,
-0.2600475251674652,
-0.32856953144073486,
-0.013344497419893742,
0.3732890188694,
0.14726237952709198,
-0.21728365123271942,
0.010692883282899857,
0.062619149684906,
0.3245004713535309,
-0.3747304379940033,
-0.0860438123345375,
-0.02251151017844677,
-0.364633709192276,
0.09160338342189789,
-0.17821303009986877,
0.5489761233329773,
-0.009466038085520267,
-0.20975878834724426,
0.07207978516817093,
-0.21575799584388733
] |
https://github.com/huggingface/datasets/issues/2065
|
Only user permission of saved cache files, not group
|
Hi @stas00,
For this should we use the same umask code in the respective model directory inside `TRANSFORMERS_CACHE`?
|
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
| 18
|
Only user permission of saved cache files, not group
Hello,
It seems when a cached file is saved from calling `dataset.map` for preprocessing, it gets the user permissions and none of the user's group permissions. As we share data files across members of our team, this is causing a bit of an issue as we have to continually reset the permission of the files. Do you know any ways around this or a way to correctly set the permissions?
Hi @stas00,
For this should we use the same umask code in the respective model directory inside `TRANSFORMERS_CACHE`?
|
[
-0.20815686881542206,
0.11179495602846146,
-0.06123635545372963,
0.040737397968769073,
-0.006120617967098951,
0.12794151902198792,
0.3894423246383667,
0.057159554213285446,
-0.21278126537799835,
-0.04198882728815079,
-0.19218574464321136,
-0.12315928190946579,
0.10957252234220505,
-0.3343218266963959,
-0.06807153671979904,
0.1472347378730774,
0.18238915503025055,
-0.003114312421530485,
-0.036521971225738525,
-0.1263751983642578,
-0.12844429910182953,
-0.08202153444290161,
-0.03726065158843994,
-0.09275690466165543,
-0.44900819659233093,
-0.13689568638801575,
0.24837380647659302,
0.15584689378738403,
-0.007316954899579287,
-0.06543344259262085,
0.288989782333374,
0.5932965874671936,
0.2336149960756302,
0.14486482739448547,
-0.00011699361493811011,
-0.1180790513753891,
0.03912721946835518,
-0.1211671307682991,
0.04570934921503067,
0.25009435415267944,
0.025078656151890755,
0.09063726663589478,
-0.13915593922138214,
-0.09568379819393158,
-0.19041475653648376,
0.3318999707698822,
0.11942500621080399,
-0.578518807888031,
0.5322914719581604,
0.1401568502187729,
0.130933940410614,
-0.014124155044555664,
-0.34080931544303894,
0.1006273627281189,
0.20941928029060364,
0.17732925713062286,
-0.14003552496433258,
0.018630482256412506,
0.31942033767700195,
-0.21089674532413483,
-0.07113412767648697,
0.09768310934305191,
-0.21373064815998077,
0.08673537522554398,
0.1340910941362381,
-0.07249666750431061,
-0.13304723799228668,
-0.5008392333984375,
0.1076870784163475,
0.005132236052304506,
0.7109177112579346,
-0.14236600697040558,
-0.6123542189598083,
-0.05606357380747795,
-0.03371435031294823,
0.3846222460269928,
0.3383273780345917,
0.28567028045654297,
-0.04502841457724571,
0.37556588649749756,
-0.5367852449417114,
0.06849177181720734,
-0.2287135124206543,
-0.04216128960251808,
0.1386987566947937,
0.2050120085477829,
-0.009668296203017235,
0.08899693936109543,
-0.08278556913137436,
-0.09615900367498398,
0.2455018162727356,
-0.00535224424675107,
-0.30072715878486633,
0.3485354483127594,
-0.18207821249961853,
-0.042630381882190704,
-0.22020883858203888,
0.33568909764289856,
0.16676636040210724,
0.34362444281578064,
0.18892642855644226,
0.17372070252895355,
0.1336095631122589,
0.22004243731498718,
0.00780170364305377,
0.2346305102109909,
0.37913408875465393,
0.5106109976768494,
0.524203360080719,
-0.3071649372577667,
-0.20087742805480957,
-0.03526647761464119,
0.05759135261178017,
-0.2570670247077942,
0.030738666653633118,
0.357110857963562,
-0.015262773260474205,
-0.18888826668262482,
0.21967586874961853,
-0.03493153676390648,
-0.06663993746042252,
-0.2599717080593109,
0.07115615904331207,
0.3590392768383026,
0.14529187977313995,
-0.03909865394234657,
0.01239103451371193,
0.14154180884361267,
-0.0037331285420805216,
-0.338056355714798,
-0.013078493997454643,
-0.3680547773838043,
-0.32548293471336365,
0.4648858904838562,
0.4442012310028076,
0.0891529992222786,
0.039675384759902954,
0.13464494049549103,
0.20656973123550415,
-0.2064390927553177,
0.3750052750110626,
0.001363242045044899,
0.40037357807159424,
0.4353658854961395,
0.24599580466747284,
0.3363809287548065,
0.015127882361412048,
-0.08096276223659515,
-0.14400696754455566,
0.3134811818599701,
-0.24287690222263336,
-0.19312593340873718,
0.4719353914260864,
0.03606146201491356,
-0.04369112476706505,
0.27894213795661926,
-0.26688289642333984,
0.026329614222049713,
0.6654945015907288,
-0.09026828408241272,
0.40759405493736267,
0.37252575159072876,
-0.11058623343706131,
-0.4050097167491913,
-0.06724532693624496,
0.34890738129615784,
-0.01027762796729803,
-0.1288803219795227,
-0.014125935733318329,
-0.006050804629921913,
-0.09852293878793716,
0.4630622863769531,
-0.09636367112398148,
0.1696593165397644,
-0.09435100853443146,
0.0977955013513565,
0.5256640315055847,
-0.17327402532100677,
-0.649061918258667,
0.15004925429821014,
0.20325157046318054,
-0.10298237204551697,
0.2669634222984314,
0.01399280410259962,
-0.06500362604856491,
-0.13462616503238678,
-0.07697571814060211,
0.37909430265426636,
0.13223837316036224,
0.2626497447490692,
0.034448400139808655,
0.024826563894748688,
0.016653310507535934,
-0.030001306906342506,
0.1266821026802063,
0.36901119351387024,
0.2432257980108261,
-0.19309571385383606,
0.3039463460445404,
-0.22943229973316193,
0.26386579871177673,
0.484060674905777,
0.1777201145887375,
-0.16016869246959686,
0.08624020963907242,
-0.018962591886520386,
-0.41716113686561584,
0.2549881339073181,
-0.3125743567943573,
-0.319302499294281,
-0.007653097156435251,
-0.5207279324531555,
0.07624565064907074,
-0.24448183178901672,
-0.20630231499671936,
-0.2149774432182312,
0.022807611152529716,
-0.04470302164554596,
0.10496977716684341,
-0.41116195917129517,
0.11102848500013351,
0.3464648425579071,
0.31154024600982666,
0.049517672508955,
-0.19320081174373627,
0.18174202740192413,
-0.18960626423358917,
-0.06894415616989136,
-0.33766970038414,
-0.11105939000844955,
0.20502574741840363,
-0.01927453652024269,
-0.28877347707748413,
0.2957591414451599,
0.1430363804101944,
0.00783137883991003,
-0.14203836023807526,
0.3261234760284424,
0.07837292551994324,
0.047081828117370605,
0.059409551322460175,
-0.10946594923734665,
-0.12912847101688385,
-0.10178925842046738,
-0.3648778200149536,
0.3784066140651703,
-0.08484461158514023,
-0.0770210400223732,
-0.17340481281280518,
0.2051723748445511,
0.15647675096988678,
0.007501806132495403,
-0.13633140921592712,
-0.1656581163406372,
-0.061260759830474854,
0.1625009924173355,
0.4034816026687622,
0.21031984686851501,
0.2471066266298294,
-0.025976810604333878,
0.3793478310108185,
0.1497160643339157,
0.06588158011436462,
-0.06585091352462769,
-0.19658628106117249,
0.07033011317253113,
0.18888886272907257,
0.32149913907051086,
0.2710375487804413,
0.013843727298080921,
0.29410266876220703,
-0.21107573807239532,
0.4143136441707611,
-0.159963920712471,
0.010028604418039322,
0.043276347219944,
-0.08962742984294891,
-0.13113798201084137,
-0.1703387200832367,
-0.03574506193399429,
-0.011598951183259487,
0.284964919090271,
0.09546177089214325,
0.07645442336797714,
-0.30828914046287537,
-0.06911710649728775,
-0.006001997273415327,
-0.12060646712779999,
0.21134628355503082,
0.00883714109659195,
-0.5343104004859924,
0.013432443141937256,
-0.15192249417304993,
0.18065790832042694,
-0.045663561671972275,
0.269270122051239,
-0.0677056834101677,
0.17025817930698395,
-0.016708627343177795,
0.0004546017153188586,
-0.32005834579467773,
0.13854916393756866,
0.11853299289941788,
0.0039669545367360115,
0.20436027646064758,
-0.6563025712966919,
-0.027507595717906952,
0.04605047404766083,
0.3301202952861786,
-0.2155577391386032,
-0.05562228709459305,
-0.16080690920352936,
0.09058210998773575,
0.0782441794872284,
-0.49640393257141113,
0.0002068747708108276,
-0.10861644893884659,
-0.06543601304292679,
-0.07265425473451614,
-0.29980888962745667,
-0.1591833531856537,
0.029574085026979446,
-0.022271625697612762,
-0.09887215495109558,
-0.22201788425445557,
-0.048008400946855545,
-0.1937408298254013,
-0.12970878183841705,
0.47647812962532043,
0.11653479933738708,
0.1581728756427765,
-0.00767742283642292,
-0.24292874336242676,
-0.4943932890892029,
-0.19731323421001434,
0.21325261890888214,
-0.24778413772583008,
-0.5221070051193237,
0.40467315912246704,
-0.5165217518806458,
-0.404202401638031,
-0.03789164125919342,
0.1206362321972847,
0.10276398062705994,
0.4209194779396057,
0.12237042933702469,
0.010921142995357513,
-0.2580072283744812,
0.06677833199501038,
-0.14466160535812378,
0.07875934988260269,
-0.03008762001991272,
0.019384222105145454,
0.19900625944137573,
0.028443828225135803,
-0.09901361912488937,
0.04244472458958626,
-0.018903106451034546,
-0.16154979169368744,
-0.002379286801442504,
0.11946690827608109,
0.15785770118236542,
0.5748947858810425,
0.5152831077575684,
0.3354962170124054,
0.1676902174949646,
0.40239277482032776,
0.45401090383529663,
0.10085451602935791,
-0.0585562139749527,
0.04098070412874222,
0.020249946042895317,
-0.2165098935365677,
0.12308397889137268,
0.09020639210939407,
-0.1655685007572174,
0.015207604505121708,
-0.06411818414926529,
-0.18576990067958832,
-0.531941831111908,
-0.14086933434009552,
-0.27218079566955566,
0.16162700951099396,
0.15762391686439514,
0.12660466134548187,
-0.2879582643508911,
-0.10875086486339569,
0.11601554602384567,
0.3581834137439728,
0.10022483766078949,
0.3036814033985138,
-0.5236630439758301,
-0.01166670210659504,
-0.2940405011177063,
0.3712223172187805,
-0.05267458036541939,
0.47818413376808167,
-0.14045773446559906,
0.1359281688928604,
0.17580127716064453,
0.2980240285396576,
0.4374076724052429,
-0.5280729532241821,
0.2366173416376114,
-0.08742009848356247,
0.01761624403297901,
0.29041916131973267,
-0.2159900963306427,
0.3345872759819031,
0.3485826551914215,
0.15344470739364624,
0.2327318638563156,
0.11842381954193115,
-0.19433072209358215,
-0.4178481698036194,
-0.34189853072166443,
-0.19988596439361572,
-0.28100454807281494,
0.0884593054652214,
0.2675311863422394,
-0.15634602308273315,
-0.12384510040283203,
0.33864372968673706,
-0.42431893944740295,
-0.1691783368587494,
-0.030951132997870445,
-0.25322675704956055,
0.15163376927375793,
0.12433800101280212,
0.038024235516786575,
0.31626787781715393,
-0.08698485791683197,
-0.04933369904756546,
0.4028511643409729,
-0.06701898574829102,
0.19036656618118286,
0.33168497681617737,
-0.2163175493478775,
0.2620125412940979,
-0.14156733453273773,
-0.3252265453338623,
0.36780449748039246,
-0.013759222812950611,
-0.2971777617931366,
-0.12931643426418304,
0.240900456905365,
-0.15910814702510834,
-0.21081982553005219,
-0.16389015316963196,
-0.1980968713760376,
0.11509713530540466,
-0.24453891813755035,
-0.6280335783958435,
0.20983195304870605,
0.5318974256515503,
-0.305616170167923,
0.09316122531890869,
-0.3135228455066681,
-0.3025103807449341,
0.44241148233413696,
0.06268998980522156,
0.8635251522064209,
-0.2236684262752533,
0.3869573473930359,
-0.5408219695091248,
0.070035919547081,
0.09280043840408325,
-0.6927381753921509,
0.16626520454883575,
-0.4834660291671753,
-0.3403412401676178,
-0.15004658699035645,
-0.12808842957019806,
0.05170844495296478,
0.5709946751594543,
-0.02226082794368267,
0.11497777700424194,
-0.036574237048625946,
-0.02719656378030777,
-0.10760656744241714,
-0.19043289124965668,
-0.11430066078901291,
-0.2419588565826416,
0.3502938747406006,
0.06272566318511963,
-0.12591595947742462,
0.15669552981853485,
-0.04389055445790291,
-0.08002536743879318,
-0.2501607835292816,
0.1729678511619568,
-0.25420495867729187,
0.06477221846580505,
-0.6468896269798279,
0.21808293461799622,
-0.08377156406641006,
-0.025066832080483437,
0.1623343974351883,
0.42169106006622314,
0.40394166111946106,
0.36500146985054016,
-0.03147018700838089,
0.10828559100627899,
0.3321976363658905,
0.1446734070777893,
-0.32376131415367126,
0.0723179280757904,
0.29410454630851746,
0.15437902510166168,
0.015209436416625977,
-0.2700217366218567,
-0.15848669409751892,
-0.3013111650943756,
-0.30815792083740234,
0.08675086498260498,
0.10680508613586426,
-0.3021414577960968,
0.07851573079824448,
-0.14903505146503448,
-0.08905168622732162,
0.058759622275829315,
0.05041095241904259,
0.3910543918609619,
-0.09511058032512665,
0.5340362191200256,
-0.3091872036457062,
-0.33108967542648315,
0.035924747586250305,
0.6514381766319275,
-0.0453694686293602,
-0.19395890831947327,
0.15757890045642853,
-0.2966136336326599,
-0.2723998725414276,
-0.1678062230348587,
0.06826913356781006,
0.24388271570205688,
-0.39637047052383423,
-0.06856904178857803,
-0.0029537295922636986,
-0.23362228274345398,
0.24513369798660278,
-0.38474881649017334,
0.16896401345729828,
0.16393660008907318,
0.024643881246447563,
-0.2654286026954651,
-0.5594645738601685,
-0.28349870443344116,
-0.21646273136138916,
0.20274333655834198,
0.23690979182720184,
-0.48877471685409546,
0.10686646401882172,
0.1887083351612091,
-0.1841539889574051,
-0.3159104883670807,
-0.06301719695329666,
0.10146205872297287,
0.09158593416213989,
-0.08826126903295517,
-0.08400960266590118,
-0.13789784908294678,
-0.11527597904205322,
0.04915080592036247,
-0.07116091251373291,
-0.14313462376594543,
-0.023029668256640434,
0.1677423119544983,
0.2187340408563614,
-0.3538271486759186,
0.03717200085520744,
-0.2598276436328888,
-0.08852729201316833,
-0.43739795684814453,
0.10551556199789047,
0.2622191309928894,
0.2569030225276947,
0.3842914402484894,
0.26791179180145264,
-0.0695105567574501,
-0.3964485824108124,
0.16652461886405945,
-0.12369954586029053,
-0.2651294469833374,
-0.12650839984416962,
0.22971069812774658,
-0.3186560869216919,
-0.0610189251601696,
0.07647333294153214,
-0.1375407874584198,
0.21350160241127014,
0.09467339515686035,
0.14673088490962982,
-0.0578690804541111,
-0.03367311507463455,
0.0651392936706543,
0.19825859367847443,
-0.025997700169682503,
-0.044946152716875076,
0.013300164602696896,
0.17370149493217468,
0.08412850648164749,
0.1291261613368988,
-0.25643956661224365,
0.25240594148635864,
-0.15157350897789001,
0.042819537222385406,
0.42363348603248596,
0.2772773504257202,
-0.20707567036151886,
0.3170785903930664,
-0.0381493903696537,
0.18263675272464752,
-0.25521939992904663,
0.36624786257743835,
-0.006494829431176186,
0.14935074746608734,
0.18991944193840027,
0.3061319887638092,
0.2371295541524887,
0.07023224979639053,
0.27719393372535706,
0.21583767235279083,
0.14196275174617767,
0.17075899243354797,
-0.33480104804039,
0.17456524074077606,
-0.6335681080818176,
0.06741747260093689,
-0.07875727862119675,
0.04582298547029495,
0.2807556390762329,
0.17738813161849976,
-0.1100371703505516,
0.11525314301252365,
-0.1991172879934311,
-0.011748295277357101,
-0.19578059017658234,
-0.09850874543190002,
-0.2010093480348587,
0.16800981760025024,
0.12251923978328705,
-0.03012855164706707,
-0.27151331305503845,
-0.17863793671131134,
-0.12180429697036743,
0.1585361659526825,
0.2640945017337799,
0.1430709958076477,
0.3340466618537903,
0.05513306334614754,
0.15709993243217468,
-0.017794091254472733,
-0.243978813290596,
-0.07396671921014786,
-0.32067734003067017,
-0.1343298703432083,
0.2049991935491562,
0.0000672781461616978,
0.05799304321408272,
0.05112171173095703,
0.1186688169836998,
0.31056836247444153,
0.3402501344680786,
0.01789073273539543,
-0.29191678762435913,
0.29634299874305725,
-0.08277834951877594,
-0.30416786670684814,
-0.0184308048337698,
0.0021151024848222733,
-0.0544857457280159,
-0.18349309265613556,
-0.24120481312274933,
0.042990345507860184,
0.09394852072000504,
0.09257816523313522,
-0.17818821966648102,
-0.5503033399581909,
0.09452757984399796,
-0.06584474444389343,
0.07024819403886795,
0.09410012513399124,
0.47450944781303406,
-0.05911167338490486,
0.1857350468635559,
-0.4849858283996582,
0.0060690524987876415,
0.42308950424194336,
0.3215773403644562,
0.41205811500549316,
-0.0990036278963089,
-0.04431213438510895,
-0.029115090146660805,
-0.30547618865966797,
0.16314005851745605,
0.28378912806510925,
0.5087829232215881,
-0.023890389129519463,
-0.18261705338954926,
0.060606881976127625,
-0.16701483726501465,
0.5149815678596497,
-0.2089090347290039,
0.13681617379188538,
0.4491738975048065,
-0.21774280071258545,
-0.21925446391105652,
0.10720290243625641,
0.04069787263870239,
0.1862439513206482,
-0.3907717764377594,
0.27387839555740356,
0.2794930040836334,
0.04585710167884827,
-0.22873196005821228,
-0.1771533042192459,
0.25125229358673096,
0.5285201668739319,
0.40625032782554626,
0.24997422099113464,
0.007982902228832245,
-0.05233159288764,
0.3134748637676239,
-0.32604676485061646,
0.1364387720823288,
-0.16926226019859314,
-0.137376070022583,
-0.18826736509799957,
0.13720470666885376,
-0.5929567217826843,
-0.2624831795692444,
-0.38542598485946655,
-0.09654416143894196,
-0.1314244121313095,
0.04822494089603424,
0.0445372499525547,
0.07566777616739273,
-0.20004764199256897,
0.11093395948410034,
0.4055047631263733,
0.3100297451019287,
-0.1148727759718895,
0.3489426374435425,
-0.40454941987991333,
-0.06102658435702324,
0.3257157504558563,
-0.23062051832675934,
-0.21781346201896667,
-0.07273232191801071,
0.3382941484451294,
0.13069820404052734,
-0.216745987534523,
-0.09889242798089981,
0.10647614300251007,
0.3080402612686157,
-0.36443135142326355,
-0.12644778192043304,
0.04999459534883499,
-0.14133185148239136,
0.023439059033989906,
-0.21859526634216309,
0.5168432593345642,
0.025842607021331787,
-0.21618668735027313,
0.012243754230439663,
-0.2569963037967682
] |
https://github.com/huggingface/datasets/issues/2061
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
|
@lhoestq Adding "_" to the class labels in the dataset script will fix the issue.
The bigger issue IMO is that the data files are in conll format, but the examples are tokens, not sentences.
|
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
| 35
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
@lhoestq Adding "_" to the class labels in the dataset script will fix the issue.
The bigger issue IMO is that the data files are in conll format, but the examples are tokens, not sentences.
|
[
-0.34640321135520935,
-0.07528585195541382,
0.0026138187386095524,
0.4443906545639038,
0.3713293671607971,
0.06911856681108475,
0.24056805670261383,
0.03947611525654793,
0.5101773738861084,
0.20612454414367676,
-0.35890647768974304,
0.052705515176057816,
0.08609618246555328,
0.08086588233709335,
0.11441200971603394,
-0.31510502099990845,
-0.06024918705224991,
0.0173563864082098,
-0.2503683269023895,
-0.06550467759370804,
-0.41051653027534485,
-0.06232599914073944,
-0.30465787649154663,
0.10954347252845764,
-0.17110350728034973,
0.20645789802074432,
0.014145668596029282,
0.16473329067230225,
-0.3150217831134796,
-0.4950226843357086,
0.5633597373962402,
0.018032751977443695,
0.5800750255584717,
0.2213219404220581,
-0.00012534325651358813,
0.10603886842727661,
0.486179381608963,
-0.06130572035908699,
-0.3452341854572296,
-0.4049587845802307,
-0.41898834705352783,
-0.13159696757793427,
-0.06906158477067947,
-0.09646546095609665,
0.10452702641487122,
-0.004400121048092842,
-0.08233421295881271,
-0.25856247544288635,
0.3321037292480469,
0.36787620186805725,
0.0941704660654068,
0.37202906608581543,
0.06185844913125038,
-0.22116492688655853,
0.47571995854377747,
-0.04227038845419884,
-0.14890751242637634,
0.15637493133544922,
0.42710012197494507,
-0.3246799111366272,
0.18014538288116455,
0.12462521344423294,
-0.2091393917798996,
0.22491686046123505,
-0.16371780633926392,
0.056006062775850296,
0.18213486671447754,
-0.25835120677948,
0.23912440240383148,
0.1349656730890274,
0.84123295545578,
-0.15123841166496277,
-0.4147818088531494,
0.018239760771393776,
-0.1014062687754631,
-0.35548195242881775,
0.1830146312713623,
0.0008583236485719681,
-0.057886939495801926,
0.07884176820516586,
-0.07679978013038635,
-0.0602424256503582,
0.050375327467918396,
0.28907251358032227,
-0.14345668256282806,
0.2910374402999878,
0.054120905697345734,
0.1338614821434021,
0.3239519000053406,
-0.108920156955719,
0.490139901638031,
0.0979418084025383,
-0.07307194918394089,
0.2410612851381302,
-0.3231167197227478,
0.2865317165851593,
-0.07560572773218155,
-0.30378761887550354,
0.23896385729312897,
-0.10459823161363602,
-0.10120802372694016,
0.00395576236769557,
-0.1443641632795334,
0.32955503463745117,
0.4467014968395233,
0.2585923671722412,
0.3614315092563629,
0.28999775648117065,
0.10725457221269608,
0.15876829624176025,
-0.05657362565398216,
-0.06338683515787125,
-0.44746145606040955,
-0.21606262028217316,
0.08579277992248535,
-0.02712877281010151,
0.15717042982578278,
-0.4506184756755829,
-0.5827975273132324,
0.044834453612565994,
-0.16290177404880524,
-0.21788430213928223,
0.058349814265966415,
0.2688891589641571,
0.154563307762146,
0.4297787845134735,
0.04586246609687805,
0.4458412826061249,
-0.49627944827079773,
-0.2659796476364136,
-0.054424215108156204,
0.16876327991485596,
-0.4189637303352356,
0.058513663709163666,
0.14394308626651764,
0.005286522675305605,
0.21485836803913116,
0.016775792464613914,
0.265674352645874,
-0.2452542781829834,
0.12882907688617706,
-0.23588629066944122,
-0.24442198872566223,
0.3540518283843994,
0.3105238378047943,
0.12189783900976181,
0.2711307406425476,
-0.374675989151001,
-0.07859864830970764,
0.28915613889694214,
-0.22251096367835999,
-0.23501160740852356,
0.0909438356757164,
0.03285488858819008,
-0.17969073355197906,
0.055020954459905624,
-1.0357829332351685,
-0.07645831257104874,
0.08510275930166245,
0.10693341493606567,
-0.015508991666138172,
-0.2755291759967804,
-0.17121098935604095,
0.0025955489836633205,
0.28480637073516846,
0.53557950258255,
-0.2868709862232208,
-0.0464065819978714,
-0.14083902537822723,
-0.040090128779411316,
0.33559396862983704,
0.3613089621067047,
-0.33579447865486145,
0.07375544309616089,
-0.12798519432544708,
0.10571204125881195,
0.19821463525295258,
-0.5150759816169739,
-0.48036572337150574,
0.1640976369380951,
0.05092797800898552,
-0.016188377514481544,
-0.0857607051730156,
-0.3274514675140381,
0.23931744694709778,
0.03572097793221474,
0.19531221687793732,
0.25892385840415955,
0.05809810385107994,
-0.09088777750730515,
-0.17510180175304413,
-0.09859536588191986,
0.13611331582069397,
0.4271910786628723,
0.29112508893013,
0.14539936184883118,
0.2614879906177521,
0.43923619389533997,
0.04362211376428604,
0.016575446352362633,
0.013182013295590878,
0.3216632902622223,
0.033360496163368225,
0.09020087867975235,
0.036241043359041214,
-0.05934513360261917,
-0.4222894608974457,
0.2021973729133606,
-0.09310097992420197,
-0.0453711599111557,
0.09755386412143707,
0.18124066293239594,
-0.38971149921417236,
0.1230216845870018,
-0.3247455060482025,
-0.31970444321632385,
-0.09428910911083221,
0.08660359680652618,
-0.09641291946172714,
-0.08180759102106094,
-0.16979941725730896,
0.08066805452108383,
-0.07154873013496399,
0.11032085865736008,
-0.3754511773586273,
0.41911953687667847,
0.049577001482248306,
-0.06489010900259018,
0.08072444051504135,
0.2062990367412567,
0.22998042404651642,
-0.1260806769132614,
-0.17538148164749146,
0.18774192035198212,
0.6032567024230957,
-0.179182767868042,
0.1357361078262329,
-0.0441046841442585,
0.30425870418548584,
-0.388569712638855,
0.19620245695114136,
-0.027380909770727158,
0.11872146278619766,
0.11306492984294891,
0.059830836951732635,
0.25418949127197266,
-0.03597504645586014,
0.18406373262405396,
-0.1281905621290207,
0.12247228622436523,
0.3874262869358063,
0.00222687772475183,
0.06135895475745201,
-0.2924953103065491,
0.5102493762969971,
0.32502928376197815,
0.3184410631656647,
0.05247931554913521,
-0.1459861844778061,
-0.22427397966384888,
-0.11093033850193024,
-0.15162956714630127,
0.08167213946580887,
0.15157009661197662,
-0.22369971871376038,
0.044475916773080826,
0.2037220001220703,
0.2373359501361847,
0.3294338285923004,
0.021466834470629692,
0.07584705948829651,
-0.04680314287543297,
0.023762822151184082,
0.0701776072382927,
-0.009797139093279839,
-0.07181677222251892,
-0.10157506167888641,
0.06444121152162552,
0.0008363492088392377,
-0.2057572901248932,
-0.22481228411197662,
0.07293962687253952,
0.23779740929603577,
0.4230693578720093,
-0.30031618475914,
0.04732242971658707,
-0.42317840456962585,
-0.15952956676483154,
0.1389959752559662,
-0.08027948439121246,
-0.03872982785105705,
-0.14833667874336243,
-0.3189135491847992,
0.27781587839126587,
0.33826711773872375,
0.12882284820079803,
0.10791012644767761,
-0.2398637980222702,
-0.024733228608965874,
-0.20222757756710052,
0.16747793555259705,
-0.1916826069355011,
-0.136323943734169,
-0.11427720636129379,
0.23435373604297638,
0.1731065958738327,
0.09741111844778061,
-0.34083420038223267,
-0.045414261519908905,
-0.23199760913848877,
-0.05559564009308815,
0.23203052580356598,
-0.002664407482370734,
0.3095875382423401,
-0.07700081169605255,
0.14246365427970886,
-0.35867607593536377,
0.03647153824567795,
0.36613965034484863,
0.02121705189347267,
-0.16788020730018616,
0.26772740483283997,
-0.012352678924798965,
-0.12510521709918976,
0.023681318387389183,
-0.14731276035308838,
-0.2998109459877014,
-0.20938488841056824,
0.017121493816375732,
0.048265643417835236,
0.02390541136264801,
-0.047114863991737366,
0.039598412811756134,
0.038049329072237015,
0.1774875968694687,
-0.17492899298667908,
-0.34034353494644165,
-0.43195754289627075,
0.4691961705684662,
-0.27102506160736084,
-0.24750062823295593,
0.08169696480035782,
0.04735590144991875,
0.20141132175922394,
0.3418821692466736,
-0.46034061908721924,
-0.0737864077091217,
-0.11739327758550644,
0.16462582349777222,
0.07586124539375305,
0.1864938586950302,
0.046967219561338425,
-0.1311488151550293,
0.15852035582065582,
-0.07704099267721176,
-0.3395662307739258,
-0.10581022500991821,
0.24256320297718048,
0.25783902406692505,
-0.10521620512008667,
0.4483572840690613,
-0.2508382797241211,
0.23939409852027893,
-0.012945580296218395,
0.28911012411117554,
0.542640209197998,
-0.08933346718549728,
0.15291237831115723,
-0.32179397344589233,
-0.3143531382083893,
-0.09971089661121368,
-0.19487491250038147,
-0.1389894336462021,
0.04835664480924606,
0.02696456015110016,
-0.1491464376449585,
-0.2706751525402069,
-0.052909452468156815,
-0.0879613533616066,
-0.17469966411590576,
-0.05534343048930168,
-0.06937692314386368,
0.3293856084346771,
-0.05049324408173561,
0.279150128364563,
0.01361731719225645,
-0.04041857272386551,
-0.1539400815963745,
0.22464264929294586,
0.12359996885061264,
0.22255247831344604,
-0.3244829475879669,
0.10718350112438202,
-0.27057692408561707,
0.35297051072120667,
-0.04078745096921921,
0.7153819799423218,
-0.14472655951976776,
0.3261335492134094,
0.11281796544790268,
0.03812691941857338,
0.10555636137723923,
-0.2915956974029541,
0.11077997088432312,
0.025910265743732452,
-0.4394378960132599,
-0.05718190595507622,
-0.032719846814870834,
-0.04879230633378029,
-0.06406958401203156,
-0.02919035777449608,
0.2615410089492798,
-0.24738426506519318,
-0.10460541397333145,
-0.021286576986312866,
0.3048672080039978,
-0.042113643139600754,
-0.24261845648288727,
-0.39496880769729614,
-0.541218638420105,
-0.4392508864402771,
-0.18904872238636017,
0.1465299278497696,
0.15771327912807465,
-0.07987231016159058,
0.2045392096042633,
-0.15882836282253265,
0.10533103346824646,
0.22422859072685242,
0.08409157395362854,
0.2725593149662018,
-0.033014632761478424,
0.15348732471466064,
0.26823410391807556,
-0.16656020283699036,
0.7140184044837952,
0.7792872190475464,
-0.1654723733663559,
-0.3519221246242523,
0.2531231939792633,
-0.07657020539045334,
0.021768411621451378,
-0.05635621026158333,
-0.026279183104634285,
0.047360002994537354,
-0.19933433830738068,
-0.17018291354179382,
-0.04642119258642197,
0.19832217693328857,
0.19671973586082458,
0.15442399680614471,
-0.2928844094276428,
-0.7532661557197571,
0.5231233835220337,
0.07335087656974792,
0.11949087679386139,
0.29480430483818054,
-0.09946582466363907,
-0.18771131336688995,
0.2691771984100342,
0.1097407266497612,
0.7309184670448303,
-0.4024427831172943,
0.06639973074197769,
0.12552519142627716,
0.03905341401696205,
0.0969482958316803,
-0.03893934562802315,
-0.25493744015693665,
-0.18996460735797882,
-0.21341687440872192,
-0.14643672108650208,
-0.16306573152542114,
0.2815156877040863,
0.1523406058549881,
-0.07434515655040741,
0.28194671869277954,
-0.1734502613544464,
-0.028556527569890022,
0.23774781823158264,
0.11795438081026077,
-0.08527348190546036,
-0.3346661925315857,
-0.5701620578765869,
0.06952616572380066,
-0.17449261248111725,
0.21966493129730225,
-0.02292829006910324,
0.04462633654475212,
-0.07708942145109177,
-0.05582146719098091,
-0.39172959327697754,
0.3648402690887451,
-0.2748183608055115,
0.33849018812179565,
-0.13014844059944153,
-0.34946930408477783,
0.18923364579677582,
0.4507750868797302,
0.2284574657678604,
0.14010967314243317,
-0.15276658535003662,
0.07425982505083084,
0.2642700970172882,
-0.25238412618637085,
-0.030453069135546684,
-0.1002172976732254,
-0.0693557858467102,
-0.02304358221590519,
-0.27320051193237305,
0.14196482300758362,
-0.07024753093719482,
-0.22475425899028778,
-0.07429367303848267,
0.13919152319431305,
0.02874239906668663,
-0.09942988306283951,
-0.341354638338089,
-0.07189048081636429,
0.03511820733547211,
-0.1643306016921997,
-0.006722313817590475,
0.20912578701972961,
-0.09398116171360016,
0.011096026748418808,
0.05714951455593109,
-0.33624082803726196,
0.020826321095228195,
0.45987045764923096,
-0.0671357661485672,
-0.10354143381118774,
0.5126209855079651,
0.22076310217380524,
-0.20533393323421478,
-0.1291893720626831,
0.26687440276145935,
0.34327635169029236,
-0.24352392554283142,
0.02479257807135582,
-0.10152814537286758,
0.122639000415802,
0.016964776441454887,
0.019083963707089424,
0.23217569291591644,
-0.35060879588127136,
0.3566073179244995,
-0.5912511944770813,
-0.37390559911727905,
0.19041480123996735,
-0.18425311148166656,
0.020910317078232765,
-0.023006893694400787,
0.011409679427742958,
-0.15387137234210968,
-0.08554008603096008,
-0.11315369606018066,
0.11046376079320908,
-0.355530321598053,
0.05317528918385506,
0.23331156373023987,
-0.003837204072624445,
0.026617374271154404,
-0.17022109031677246,
0.008407285436987877,
0.13824717700481415,
0.03584594652056694,
-0.038531746715307236,
-0.18231603503227234,
0.21420973539352417,
0.12910152971744537,
-0.3466270864009857,
0.009542508982121944,
-0.217316135764122,
-0.04067792370915413,
-0.14563404023647308,
0.17523370683193207,
0.4642312526702881,
-0.05088510364294052,
0.11629224568605423,
0.2020445466041565,
0.11926424503326416,
-0.36100488901138306,
0.37733766436576843,
-0.05974750593304634,
0.21923987567424774,
0.1052808165550232,
0.19968564808368683,
0.22618839144706726,
0.12845350801944733,
-0.29863977432250977,
-0.091861292719841,
0.2543623149394989,
-0.020749198272824287,
0.27848780155181885,
-0.4246552288532257,
0.38469764590263367,
0.09340160340070724,
0.1392688900232315,
0.4423634707927704,
-0.27087026834487915,
0.06683087348937988,
0.3226248025894165,
0.02777186967432499,
-0.23967885971069336,
-0.1068030297756195,
0.11431541293859482,
0.0567224957048893,
-0.13262473046779633,
0.317436546087265,
0.39816388487815857,
0.06588403135538101,
-0.14058350026607513,
0.036622658371925354,
0.06292004138231277,
-0.14363758265972137,
0.05199224129319191,
0.6180892586708069,
0.01825869455933571,
0.21215316653251648,
0.06275222450494766,
0.22510571777820587,
-0.026153622195124626,
0.3331252336502075,
-0.157718226313591,
0.44614315032958984,
0.21345630288124084,
0.19085954129695892,
-0.327781617641449,
-0.5346595048904419,
-0.16996894776821136,
0.32047975063323975,
0.09440114349126816,
-0.025713007897138596,
-0.20863912999629974,
0.24226467311382294,
-0.18227149546146393,
0.15879733860492706,
-0.06975613534450531,
0.1305380016565323,
-0.03403614088892937,
-0.18388554453849792,
-0.13292376697063446,
-0.15208213031291962,
-0.5502743124961853,
0.1870926469564438,
-0.24702031910419464,
-0.12653781473636627,
0.19390389323234558,
0.1568966805934906,
-0.13298112154006958,
-0.3558677136898041,
-0.05096118152141571,
0.3773247003555298,
-0.34378570318222046,
-0.34007197618484497,
0.3964487612247467,
0.017727483063936234,
0.017270324751734734,
0.24953140318393707,
0.13938015699386597,
0.33069825172424316,
0.4204998314380646,
-0.36088860034942627,
-0.11548519879579544,
0.06133844703435898,
0.07740107923746109,
0.07656591385602951,
0.19793108105659485,
0.019553158432245255,
0.20653805136680603,
0.37098637223243713,
-0.01140994019806385,
-0.0139406006783247,
-0.03165686875581741,
0.15727077424526215,
-0.22972619533538818,
-0.0879768580198288,
0.2299749106168747,
-0.04816102236509323,
0.19987648725509644,
-0.1176382526755333,
0.02451004832983017,
-0.24237334728240967,
0.02178628370165825,
0.575178325176239,
0.010340024717152119,
0.10682881623506546,
0.05929098278284073,
-0.05274613946676254,
-0.18448787927627563,
0.3957372009754181,
0.6384896636009216,
0.3486230671405792,
-0.4021959900856018,
-0.19086429476737976,
-0.723846435546875,
0.05981111153960228,
-0.4783249497413635,
-0.2568788528442383,
0.5058496594429016,
-0.07415750622749329,
0.10183081030845642,
0.3912001848220825,
-0.09394044429063797,
0.2525460720062256,
0.1857648342847824,
0.2951032221317291,
-0.2620003819465637,
-0.2589086890220642,
0.41634559631347656,
0.20900410413742065,
-0.1786017268896103,
-0.49365875124931335,
-0.010533231310546398,
0.042623121291399,
-0.09226170182228088,
-0.1824922263622284,
0.041756272315979004,
0.14125743508338928,
0.3790919780731201,
0.1933654546737671,
0.05841178447008133,
0.7760942578315735,
-0.025724191218614578,
-0.06480161100625992,
-0.07898185402154922,
-0.6323973536491394,
-0.054236628115177155,
0.06052009016275406,
0.06495650112628937,
0.1296207159757614,
-0.10221341252326965,
-0.112685427069664,
-0.38247305154800415,
0.30614104866981506,
-0.1255754679441452,
-0.1483527272939682,
-0.2318834811449051,
-0.0043641612865030766,
-0.05085045471787453,
-0.06284959614276886,
-0.02813294529914856,
0.06108858808875084,
0.12244793027639389,
0.35521724820137024,
-0.1259651929140091,
-0.22627858817577362,
0.39892566204071045,
-0.05346246808767319,
-0.4505836069583893,
0.07258151471614838,
-0.1192314550280571,
0.33506497740745544,
-0.21185743808746338,
-0.4614241421222687,
0.19214048981666565,
0.22828267514705658,
-0.14500664174556732,
-0.3645925223827362,
0.035404354333877563,
0.14406464993953705,
0.10550975799560547,
-0.11913527548313141,
0.6080470085144043,
0.006813668180257082,
-0.1588614583015442,
0.10727068036794662,
-0.17213556170463562
] |
https://github.com/huggingface/datasets/issues/2061
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
|
Hi ! Thanks for reporting @adzcodez
> @lhoestq Adding "_" to the class labels in the dataset script will fix the issue.
>
> The bigger issue IMO is that the data files are in conll format, but the examples are tokens, not sentences.
You're right: "_" should be added to the list of labels, and the examples must be sequences of tokens, not singles tokens.
|
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
| 66
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
Hi ! Thanks for reporting @adzcodez
> @lhoestq Adding "_" to the class labels in the dataset script will fix the issue.
>
> The bigger issue IMO is that the data files are in conll format, but the examples are tokens, not sentences.
You're right: "_" should be added to the list of labels, and the examples must be sequences of tokens, not singles tokens.
|
[
-0.34640321135520935,
-0.07528585195541382,
0.0026138187386095524,
0.4443906545639038,
0.3713293671607971,
0.06911856681108475,
0.24056805670261383,
0.03947611525654793,
0.5101773738861084,
0.20612454414367676,
-0.35890647768974304,
0.052705515176057816,
0.08609618246555328,
0.08086588233709335,
0.11441200971603394,
-0.31510502099990845,
-0.06024918705224991,
0.0173563864082098,
-0.2503683269023895,
-0.06550467759370804,
-0.41051653027534485,
-0.06232599914073944,
-0.30465787649154663,
0.10954347252845764,
-0.17110350728034973,
0.20645789802074432,
0.014145668596029282,
0.16473329067230225,
-0.3150217831134796,
-0.4950226843357086,
0.5633597373962402,
0.018032751977443695,
0.5800750255584717,
0.2213219404220581,
-0.00012534325651358813,
0.10603886842727661,
0.486179381608963,
-0.06130572035908699,
-0.3452341854572296,
-0.4049587845802307,
-0.41898834705352783,
-0.13159696757793427,
-0.06906158477067947,
-0.09646546095609665,
0.10452702641487122,
-0.004400121048092842,
-0.08233421295881271,
-0.25856247544288635,
0.3321037292480469,
0.36787620186805725,
0.0941704660654068,
0.37202906608581543,
0.06185844913125038,
-0.22116492688655853,
0.47571995854377747,
-0.04227038845419884,
-0.14890751242637634,
0.15637493133544922,
0.42710012197494507,
-0.3246799111366272,
0.18014538288116455,
0.12462521344423294,
-0.2091393917798996,
0.22491686046123505,
-0.16371780633926392,
0.056006062775850296,
0.18213486671447754,
-0.25835120677948,
0.23912440240383148,
0.1349656730890274,
0.84123295545578,
-0.15123841166496277,
-0.4147818088531494,
0.018239760771393776,
-0.1014062687754631,
-0.35548195242881775,
0.1830146312713623,
0.0008583236485719681,
-0.057886939495801926,
0.07884176820516586,
-0.07679978013038635,
-0.0602424256503582,
0.050375327467918396,
0.28907251358032227,
-0.14345668256282806,
0.2910374402999878,
0.054120905697345734,
0.1338614821434021,
0.3239519000053406,
-0.108920156955719,
0.490139901638031,
0.0979418084025383,
-0.07307194918394089,
0.2410612851381302,
-0.3231167197227478,
0.2865317165851593,
-0.07560572773218155,
-0.30378761887550354,
0.23896385729312897,
-0.10459823161363602,
-0.10120802372694016,
0.00395576236769557,
-0.1443641632795334,
0.32955503463745117,
0.4467014968395233,
0.2585923671722412,
0.3614315092563629,
0.28999775648117065,
0.10725457221269608,
0.15876829624176025,
-0.05657362565398216,
-0.06338683515787125,
-0.44746145606040955,
-0.21606262028217316,
0.08579277992248535,
-0.02712877281010151,
0.15717042982578278,
-0.4506184756755829,
-0.5827975273132324,
0.044834453612565994,
-0.16290177404880524,
-0.21788430213928223,
0.058349814265966415,
0.2688891589641571,
0.154563307762146,
0.4297787845134735,
0.04586246609687805,
0.4458412826061249,
-0.49627944827079773,
-0.2659796476364136,
-0.054424215108156204,
0.16876327991485596,
-0.4189637303352356,
0.058513663709163666,
0.14394308626651764,
0.005286522675305605,
0.21485836803913116,
0.016775792464613914,
0.265674352645874,
-0.2452542781829834,
0.12882907688617706,
-0.23588629066944122,
-0.24442198872566223,
0.3540518283843994,
0.3105238378047943,
0.12189783900976181,
0.2711307406425476,
-0.374675989151001,
-0.07859864830970764,
0.28915613889694214,
-0.22251096367835999,
-0.23501160740852356,
0.0909438356757164,
0.03285488858819008,
-0.17969073355197906,
0.055020954459905624,
-1.0357829332351685,
-0.07645831257104874,
0.08510275930166245,
0.10693341493606567,
-0.015508991666138172,
-0.2755291759967804,
-0.17121098935604095,
0.0025955489836633205,
0.28480637073516846,
0.53557950258255,
-0.2868709862232208,
-0.0464065819978714,
-0.14083902537822723,
-0.040090128779411316,
0.33559396862983704,
0.3613089621067047,
-0.33579447865486145,
0.07375544309616089,
-0.12798519432544708,
0.10571204125881195,
0.19821463525295258,
-0.5150759816169739,
-0.48036572337150574,
0.1640976369380951,
0.05092797800898552,
-0.016188377514481544,
-0.0857607051730156,
-0.3274514675140381,
0.23931744694709778,
0.03572097793221474,
0.19531221687793732,
0.25892385840415955,
0.05809810385107994,
-0.09088777750730515,
-0.17510180175304413,
-0.09859536588191986,
0.13611331582069397,
0.4271910786628723,
0.29112508893013,
0.14539936184883118,
0.2614879906177521,
0.43923619389533997,
0.04362211376428604,
0.016575446352362633,
0.013182013295590878,
0.3216632902622223,
0.033360496163368225,
0.09020087867975235,
0.036241043359041214,
-0.05934513360261917,
-0.4222894608974457,
0.2021973729133606,
-0.09310097992420197,
-0.0453711599111557,
0.09755386412143707,
0.18124066293239594,
-0.38971149921417236,
0.1230216845870018,
-0.3247455060482025,
-0.31970444321632385,
-0.09428910911083221,
0.08660359680652618,
-0.09641291946172714,
-0.08180759102106094,
-0.16979941725730896,
0.08066805452108383,
-0.07154873013496399,
0.11032085865736008,
-0.3754511773586273,
0.41911953687667847,
0.049577001482248306,
-0.06489010900259018,
0.08072444051504135,
0.2062990367412567,
0.22998042404651642,
-0.1260806769132614,
-0.17538148164749146,
0.18774192035198212,
0.6032567024230957,
-0.179182767868042,
0.1357361078262329,
-0.0441046841442585,
0.30425870418548584,
-0.388569712638855,
0.19620245695114136,
-0.027380909770727158,
0.11872146278619766,
0.11306492984294891,
0.059830836951732635,
0.25418949127197266,
-0.03597504645586014,
0.18406373262405396,
-0.1281905621290207,
0.12247228622436523,
0.3874262869358063,
0.00222687772475183,
0.06135895475745201,
-0.2924953103065491,
0.5102493762969971,
0.32502928376197815,
0.3184410631656647,
0.05247931554913521,
-0.1459861844778061,
-0.22427397966384888,
-0.11093033850193024,
-0.15162956714630127,
0.08167213946580887,
0.15157009661197662,
-0.22369971871376038,
0.044475916773080826,
0.2037220001220703,
0.2373359501361847,
0.3294338285923004,
0.021466834470629692,
0.07584705948829651,
-0.04680314287543297,
0.023762822151184082,
0.0701776072382927,
-0.009797139093279839,
-0.07181677222251892,
-0.10157506167888641,
0.06444121152162552,
0.0008363492088392377,
-0.2057572901248932,
-0.22481228411197662,
0.07293962687253952,
0.23779740929603577,
0.4230693578720093,
-0.30031618475914,
0.04732242971658707,
-0.42317840456962585,
-0.15952956676483154,
0.1389959752559662,
-0.08027948439121246,
-0.03872982785105705,
-0.14833667874336243,
-0.3189135491847992,
0.27781587839126587,
0.33826711773872375,
0.12882284820079803,
0.10791012644767761,
-0.2398637980222702,
-0.024733228608965874,
-0.20222757756710052,
0.16747793555259705,
-0.1916826069355011,
-0.136323943734169,
-0.11427720636129379,
0.23435373604297638,
0.1731065958738327,
0.09741111844778061,
-0.34083420038223267,
-0.045414261519908905,
-0.23199760913848877,
-0.05559564009308815,
0.23203052580356598,
-0.002664407482370734,
0.3095875382423401,
-0.07700081169605255,
0.14246365427970886,
-0.35867607593536377,
0.03647153824567795,
0.36613965034484863,
0.02121705189347267,
-0.16788020730018616,
0.26772740483283997,
-0.012352678924798965,
-0.12510521709918976,
0.023681318387389183,
-0.14731276035308838,
-0.2998109459877014,
-0.20938488841056824,
0.017121493816375732,
0.048265643417835236,
0.02390541136264801,
-0.047114863991737366,
0.039598412811756134,
0.038049329072237015,
0.1774875968694687,
-0.17492899298667908,
-0.34034353494644165,
-0.43195754289627075,
0.4691961705684662,
-0.27102506160736084,
-0.24750062823295593,
0.08169696480035782,
0.04735590144991875,
0.20141132175922394,
0.3418821692466736,
-0.46034061908721924,
-0.0737864077091217,
-0.11739327758550644,
0.16462582349777222,
0.07586124539375305,
0.1864938586950302,
0.046967219561338425,
-0.1311488151550293,
0.15852035582065582,
-0.07704099267721176,
-0.3395662307739258,
-0.10581022500991821,
0.24256320297718048,
0.25783902406692505,
-0.10521620512008667,
0.4483572840690613,
-0.2508382797241211,
0.23939409852027893,
-0.012945580296218395,
0.28911012411117554,
0.542640209197998,
-0.08933346718549728,
0.15291237831115723,
-0.32179397344589233,
-0.3143531382083893,
-0.09971089661121368,
-0.19487491250038147,
-0.1389894336462021,
0.04835664480924606,
0.02696456015110016,
-0.1491464376449585,
-0.2706751525402069,
-0.052909452468156815,
-0.0879613533616066,
-0.17469966411590576,
-0.05534343048930168,
-0.06937692314386368,
0.3293856084346771,
-0.05049324408173561,
0.279150128364563,
0.01361731719225645,
-0.04041857272386551,
-0.1539400815963745,
0.22464264929294586,
0.12359996885061264,
0.22255247831344604,
-0.3244829475879669,
0.10718350112438202,
-0.27057692408561707,
0.35297051072120667,
-0.04078745096921921,
0.7153819799423218,
-0.14472655951976776,
0.3261335492134094,
0.11281796544790268,
0.03812691941857338,
0.10555636137723923,
-0.2915956974029541,
0.11077997088432312,
0.025910265743732452,
-0.4394378960132599,
-0.05718190595507622,
-0.032719846814870834,
-0.04879230633378029,
-0.06406958401203156,
-0.02919035777449608,
0.2615410089492798,
-0.24738426506519318,
-0.10460541397333145,
-0.021286576986312866,
0.3048672080039978,
-0.042113643139600754,
-0.24261845648288727,
-0.39496880769729614,
-0.541218638420105,
-0.4392508864402771,
-0.18904872238636017,
0.1465299278497696,
0.15771327912807465,
-0.07987231016159058,
0.2045392096042633,
-0.15882836282253265,
0.10533103346824646,
0.22422859072685242,
0.08409157395362854,
0.2725593149662018,
-0.033014632761478424,
0.15348732471466064,
0.26823410391807556,
-0.16656020283699036,
0.7140184044837952,
0.7792872190475464,
-0.1654723733663559,
-0.3519221246242523,
0.2531231939792633,
-0.07657020539045334,
0.021768411621451378,
-0.05635621026158333,
-0.026279183104634285,
0.047360002994537354,
-0.19933433830738068,
-0.17018291354179382,
-0.04642119258642197,
0.19832217693328857,
0.19671973586082458,
0.15442399680614471,
-0.2928844094276428,
-0.7532661557197571,
0.5231233835220337,
0.07335087656974792,
0.11949087679386139,
0.29480430483818054,
-0.09946582466363907,
-0.18771131336688995,
0.2691771984100342,
0.1097407266497612,
0.7309184670448303,
-0.4024427831172943,
0.06639973074197769,
0.12552519142627716,
0.03905341401696205,
0.0969482958316803,
-0.03893934562802315,
-0.25493744015693665,
-0.18996460735797882,
-0.21341687440872192,
-0.14643672108650208,
-0.16306573152542114,
0.2815156877040863,
0.1523406058549881,
-0.07434515655040741,
0.28194671869277954,
-0.1734502613544464,
-0.028556527569890022,
0.23774781823158264,
0.11795438081026077,
-0.08527348190546036,
-0.3346661925315857,
-0.5701620578765869,
0.06952616572380066,
-0.17449261248111725,
0.21966493129730225,
-0.02292829006910324,
0.04462633654475212,
-0.07708942145109177,
-0.05582146719098091,
-0.39172959327697754,
0.3648402690887451,
-0.2748183608055115,
0.33849018812179565,
-0.13014844059944153,
-0.34946930408477783,
0.18923364579677582,
0.4507750868797302,
0.2284574657678604,
0.14010967314243317,
-0.15276658535003662,
0.07425982505083084,
0.2642700970172882,
-0.25238412618637085,
-0.030453069135546684,
-0.1002172976732254,
-0.0693557858467102,
-0.02304358221590519,
-0.27320051193237305,
0.14196482300758362,
-0.07024753093719482,
-0.22475425899028778,
-0.07429367303848267,
0.13919152319431305,
0.02874239906668663,
-0.09942988306283951,
-0.341354638338089,
-0.07189048081636429,
0.03511820733547211,
-0.1643306016921997,
-0.006722313817590475,
0.20912578701972961,
-0.09398116171360016,
0.011096026748418808,
0.05714951455593109,
-0.33624082803726196,
0.020826321095228195,
0.45987045764923096,
-0.0671357661485672,
-0.10354143381118774,
0.5126209855079651,
0.22076310217380524,
-0.20533393323421478,
-0.1291893720626831,
0.26687440276145935,
0.34327635169029236,
-0.24352392554283142,
0.02479257807135582,
-0.10152814537286758,
0.122639000415802,
0.016964776441454887,
0.019083963707089424,
0.23217569291591644,
-0.35060879588127136,
0.3566073179244995,
-0.5912511944770813,
-0.37390559911727905,
0.19041480123996735,
-0.18425311148166656,
0.020910317078232765,
-0.023006893694400787,
0.011409679427742958,
-0.15387137234210968,
-0.08554008603096008,
-0.11315369606018066,
0.11046376079320908,
-0.355530321598053,
0.05317528918385506,
0.23331156373023987,
-0.003837204072624445,
0.026617374271154404,
-0.17022109031677246,
0.008407285436987877,
0.13824717700481415,
0.03584594652056694,
-0.038531746715307236,
-0.18231603503227234,
0.21420973539352417,
0.12910152971744537,
-0.3466270864009857,
0.009542508982121944,
-0.217316135764122,
-0.04067792370915413,
-0.14563404023647308,
0.17523370683193207,
0.4642312526702881,
-0.05088510364294052,
0.11629224568605423,
0.2020445466041565,
0.11926424503326416,
-0.36100488901138306,
0.37733766436576843,
-0.05974750593304634,
0.21923987567424774,
0.1052808165550232,
0.19968564808368683,
0.22618839144706726,
0.12845350801944733,
-0.29863977432250977,
-0.091861292719841,
0.2543623149394989,
-0.020749198272824287,
0.27848780155181885,
-0.4246552288532257,
0.38469764590263367,
0.09340160340070724,
0.1392688900232315,
0.4423634707927704,
-0.27087026834487915,
0.06683087348937988,
0.3226248025894165,
0.02777186967432499,
-0.23967885971069336,
-0.1068030297756195,
0.11431541293859482,
0.0567224957048893,
-0.13262473046779633,
0.317436546087265,
0.39816388487815857,
0.06588403135538101,
-0.14058350026607513,
0.036622658371925354,
0.06292004138231277,
-0.14363758265972137,
0.05199224129319191,
0.6180892586708069,
0.01825869455933571,
0.21215316653251648,
0.06275222450494766,
0.22510571777820587,
-0.026153622195124626,
0.3331252336502075,
-0.157718226313591,
0.44614315032958984,
0.21345630288124084,
0.19085954129695892,
-0.327781617641449,
-0.5346595048904419,
-0.16996894776821136,
0.32047975063323975,
0.09440114349126816,
-0.025713007897138596,
-0.20863912999629974,
0.24226467311382294,
-0.18227149546146393,
0.15879733860492706,
-0.06975613534450531,
0.1305380016565323,
-0.03403614088892937,
-0.18388554453849792,
-0.13292376697063446,
-0.15208213031291962,
-0.5502743124961853,
0.1870926469564438,
-0.24702031910419464,
-0.12653781473636627,
0.19390389323234558,
0.1568966805934906,
-0.13298112154006958,
-0.3558677136898041,
-0.05096118152141571,
0.3773247003555298,
-0.34378570318222046,
-0.34007197618484497,
0.3964487612247467,
0.017727483063936234,
0.017270324751734734,
0.24953140318393707,
0.13938015699386597,
0.33069825172424316,
0.4204998314380646,
-0.36088860034942627,
-0.11548519879579544,
0.06133844703435898,
0.07740107923746109,
0.07656591385602951,
0.19793108105659485,
0.019553158432245255,
0.20653805136680603,
0.37098637223243713,
-0.01140994019806385,
-0.0139406006783247,
-0.03165686875581741,
0.15727077424526215,
-0.22972619533538818,
-0.0879768580198288,
0.2299749106168747,
-0.04816102236509323,
0.19987648725509644,
-0.1176382526755333,
0.02451004832983017,
-0.24237334728240967,
0.02178628370165825,
0.575178325176239,
0.010340024717152119,
0.10682881623506546,
0.05929098278284073,
-0.05274613946676254,
-0.18448787927627563,
0.3957372009754181,
0.6384896636009216,
0.3486230671405792,
-0.4021959900856018,
-0.19086429476737976,
-0.723846435546875,
0.05981111153960228,
-0.4783249497413635,
-0.2568788528442383,
0.5058496594429016,
-0.07415750622749329,
0.10183081030845642,
0.3912001848220825,
-0.09394044429063797,
0.2525460720062256,
0.1857648342847824,
0.2951032221317291,
-0.2620003819465637,
-0.2589086890220642,
0.41634559631347656,
0.20900410413742065,
-0.1786017268896103,
-0.49365875124931335,
-0.010533231310546398,
0.042623121291399,
-0.09226170182228088,
-0.1824922263622284,
0.041756272315979004,
0.14125743508338928,
0.3790919780731201,
0.1933654546737671,
0.05841178447008133,
0.7760942578315735,
-0.025724191218614578,
-0.06480161100625992,
-0.07898185402154922,
-0.6323973536491394,
-0.054236628115177155,
0.06052009016275406,
0.06495650112628937,
0.1296207159757614,
-0.10221341252326965,
-0.112685427069664,
-0.38247305154800415,
0.30614104866981506,
-0.1255754679441452,
-0.1483527272939682,
-0.2318834811449051,
-0.0043641612865030766,
-0.05085045471787453,
-0.06284959614276886,
-0.02813294529914856,
0.06108858808875084,
0.12244793027639389,
0.35521724820137024,
-0.1259651929140091,
-0.22627858817577362,
0.39892566204071045,
-0.05346246808767319,
-0.4505836069583893,
0.07258151471614838,
-0.1192314550280571,
0.33506497740745544,
-0.21185743808746338,
-0.4614241421222687,
0.19214048981666565,
0.22828267514705658,
-0.14500664174556732,
-0.3645925223827362,
0.035404354333877563,
0.14406464993953705,
0.10550975799560547,
-0.11913527548313141,
0.6080470085144043,
0.006813668180257082,
-0.1588614583015442,
0.10727068036794662,
-0.17213556170463562
] |
https://github.com/huggingface/datasets/issues/2061
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
|
@lhoestq Can you please label this issue with the "good first issue" label? I'm not sure I'll find time to fix this.
To resolve it, the user should:
1. add `"_"` to the list of labels
2. transform the udpos subset to the conll format (I think the preprocessing logic can be borrowed from [the original repo](https://github.com/google-research/xtreme/blob/58a76a0d02458c4b3b6a742d3fd4ffaca80ff0de/utils_preprocess.py#L187-L204))
3. update the dummy data
4. update the dataset info
5. [optional] add info about the data fields structure of the udpos subset to the dataset readme
|
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
| 84
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
@lhoestq Can you please label this issue with the "good first issue" label? I'm not sure I'll find time to fix this.
To resolve it, the user should:
1. add `"_"` to the list of labels
2. transform the udpos subset to the conll format (I think the preprocessing logic can be borrowed from [the original repo](https://github.com/google-research/xtreme/blob/58a76a0d02458c4b3b6a742d3fd4ffaca80ff0de/utils_preprocess.py#L187-L204))
3. update the dummy data
4. update the dataset info
5. [optional] add info about the data fields structure of the udpos subset to the dataset readme
|
[
-0.34640321135520935,
-0.07528585195541382,
0.0026138187386095524,
0.4443906545639038,
0.3713293671607971,
0.06911856681108475,
0.24056805670261383,
0.03947611525654793,
0.5101773738861084,
0.20612454414367676,
-0.35890647768974304,
0.052705515176057816,
0.08609618246555328,
0.08086588233709335,
0.11441200971603394,
-0.31510502099990845,
-0.06024918705224991,
0.0173563864082098,
-0.2503683269023895,
-0.06550467759370804,
-0.41051653027534485,
-0.06232599914073944,
-0.30465787649154663,
0.10954347252845764,
-0.17110350728034973,
0.20645789802074432,
0.014145668596029282,
0.16473329067230225,
-0.3150217831134796,
-0.4950226843357086,
0.5633597373962402,
0.018032751977443695,
0.5800750255584717,
0.2213219404220581,
-0.00012534325651358813,
0.10603886842727661,
0.486179381608963,
-0.06130572035908699,
-0.3452341854572296,
-0.4049587845802307,
-0.41898834705352783,
-0.13159696757793427,
-0.06906158477067947,
-0.09646546095609665,
0.10452702641487122,
-0.004400121048092842,
-0.08233421295881271,
-0.25856247544288635,
0.3321037292480469,
0.36787620186805725,
0.0941704660654068,
0.37202906608581543,
0.06185844913125038,
-0.22116492688655853,
0.47571995854377747,
-0.04227038845419884,
-0.14890751242637634,
0.15637493133544922,
0.42710012197494507,
-0.3246799111366272,
0.18014538288116455,
0.12462521344423294,
-0.2091393917798996,
0.22491686046123505,
-0.16371780633926392,
0.056006062775850296,
0.18213486671447754,
-0.25835120677948,
0.23912440240383148,
0.1349656730890274,
0.84123295545578,
-0.15123841166496277,
-0.4147818088531494,
0.018239760771393776,
-0.1014062687754631,
-0.35548195242881775,
0.1830146312713623,
0.0008583236485719681,
-0.057886939495801926,
0.07884176820516586,
-0.07679978013038635,
-0.0602424256503582,
0.050375327467918396,
0.28907251358032227,
-0.14345668256282806,
0.2910374402999878,
0.054120905697345734,
0.1338614821434021,
0.3239519000053406,
-0.108920156955719,
0.490139901638031,
0.0979418084025383,
-0.07307194918394089,
0.2410612851381302,
-0.3231167197227478,
0.2865317165851593,
-0.07560572773218155,
-0.30378761887550354,
0.23896385729312897,
-0.10459823161363602,
-0.10120802372694016,
0.00395576236769557,
-0.1443641632795334,
0.32955503463745117,
0.4467014968395233,
0.2585923671722412,
0.3614315092563629,
0.28999775648117065,
0.10725457221269608,
0.15876829624176025,
-0.05657362565398216,
-0.06338683515787125,
-0.44746145606040955,
-0.21606262028217316,
0.08579277992248535,
-0.02712877281010151,
0.15717042982578278,
-0.4506184756755829,
-0.5827975273132324,
0.044834453612565994,
-0.16290177404880524,
-0.21788430213928223,
0.058349814265966415,
0.2688891589641571,
0.154563307762146,
0.4297787845134735,
0.04586246609687805,
0.4458412826061249,
-0.49627944827079773,
-0.2659796476364136,
-0.054424215108156204,
0.16876327991485596,
-0.4189637303352356,
0.058513663709163666,
0.14394308626651764,
0.005286522675305605,
0.21485836803913116,
0.016775792464613914,
0.265674352645874,
-0.2452542781829834,
0.12882907688617706,
-0.23588629066944122,
-0.24442198872566223,
0.3540518283843994,
0.3105238378047943,
0.12189783900976181,
0.2711307406425476,
-0.374675989151001,
-0.07859864830970764,
0.28915613889694214,
-0.22251096367835999,
-0.23501160740852356,
0.0909438356757164,
0.03285488858819008,
-0.17969073355197906,
0.055020954459905624,
-1.0357829332351685,
-0.07645831257104874,
0.08510275930166245,
0.10693341493606567,
-0.015508991666138172,
-0.2755291759967804,
-0.17121098935604095,
0.0025955489836633205,
0.28480637073516846,
0.53557950258255,
-0.2868709862232208,
-0.0464065819978714,
-0.14083902537822723,
-0.040090128779411316,
0.33559396862983704,
0.3613089621067047,
-0.33579447865486145,
0.07375544309616089,
-0.12798519432544708,
0.10571204125881195,
0.19821463525295258,
-0.5150759816169739,
-0.48036572337150574,
0.1640976369380951,
0.05092797800898552,
-0.016188377514481544,
-0.0857607051730156,
-0.3274514675140381,
0.23931744694709778,
0.03572097793221474,
0.19531221687793732,
0.25892385840415955,
0.05809810385107994,
-0.09088777750730515,
-0.17510180175304413,
-0.09859536588191986,
0.13611331582069397,
0.4271910786628723,
0.29112508893013,
0.14539936184883118,
0.2614879906177521,
0.43923619389533997,
0.04362211376428604,
0.016575446352362633,
0.013182013295590878,
0.3216632902622223,
0.033360496163368225,
0.09020087867975235,
0.036241043359041214,
-0.05934513360261917,
-0.4222894608974457,
0.2021973729133606,
-0.09310097992420197,
-0.0453711599111557,
0.09755386412143707,
0.18124066293239594,
-0.38971149921417236,
0.1230216845870018,
-0.3247455060482025,
-0.31970444321632385,
-0.09428910911083221,
0.08660359680652618,
-0.09641291946172714,
-0.08180759102106094,
-0.16979941725730896,
0.08066805452108383,
-0.07154873013496399,
0.11032085865736008,
-0.3754511773586273,
0.41911953687667847,
0.049577001482248306,
-0.06489010900259018,
0.08072444051504135,
0.2062990367412567,
0.22998042404651642,
-0.1260806769132614,
-0.17538148164749146,
0.18774192035198212,
0.6032567024230957,
-0.179182767868042,
0.1357361078262329,
-0.0441046841442585,
0.30425870418548584,
-0.388569712638855,
0.19620245695114136,
-0.027380909770727158,
0.11872146278619766,
0.11306492984294891,
0.059830836951732635,
0.25418949127197266,
-0.03597504645586014,
0.18406373262405396,
-0.1281905621290207,
0.12247228622436523,
0.3874262869358063,
0.00222687772475183,
0.06135895475745201,
-0.2924953103065491,
0.5102493762969971,
0.32502928376197815,
0.3184410631656647,
0.05247931554913521,
-0.1459861844778061,
-0.22427397966384888,
-0.11093033850193024,
-0.15162956714630127,
0.08167213946580887,
0.15157009661197662,
-0.22369971871376038,
0.044475916773080826,
0.2037220001220703,
0.2373359501361847,
0.3294338285923004,
0.021466834470629692,
0.07584705948829651,
-0.04680314287543297,
0.023762822151184082,
0.0701776072382927,
-0.009797139093279839,
-0.07181677222251892,
-0.10157506167888641,
0.06444121152162552,
0.0008363492088392377,
-0.2057572901248932,
-0.22481228411197662,
0.07293962687253952,
0.23779740929603577,
0.4230693578720093,
-0.30031618475914,
0.04732242971658707,
-0.42317840456962585,
-0.15952956676483154,
0.1389959752559662,
-0.08027948439121246,
-0.03872982785105705,
-0.14833667874336243,
-0.3189135491847992,
0.27781587839126587,
0.33826711773872375,
0.12882284820079803,
0.10791012644767761,
-0.2398637980222702,
-0.024733228608965874,
-0.20222757756710052,
0.16747793555259705,
-0.1916826069355011,
-0.136323943734169,
-0.11427720636129379,
0.23435373604297638,
0.1731065958738327,
0.09741111844778061,
-0.34083420038223267,
-0.045414261519908905,
-0.23199760913848877,
-0.05559564009308815,
0.23203052580356598,
-0.002664407482370734,
0.3095875382423401,
-0.07700081169605255,
0.14246365427970886,
-0.35867607593536377,
0.03647153824567795,
0.36613965034484863,
0.02121705189347267,
-0.16788020730018616,
0.26772740483283997,
-0.012352678924798965,
-0.12510521709918976,
0.023681318387389183,
-0.14731276035308838,
-0.2998109459877014,
-0.20938488841056824,
0.017121493816375732,
0.048265643417835236,
0.02390541136264801,
-0.047114863991737366,
0.039598412811756134,
0.038049329072237015,
0.1774875968694687,
-0.17492899298667908,
-0.34034353494644165,
-0.43195754289627075,
0.4691961705684662,
-0.27102506160736084,
-0.24750062823295593,
0.08169696480035782,
0.04735590144991875,
0.20141132175922394,
0.3418821692466736,
-0.46034061908721924,
-0.0737864077091217,
-0.11739327758550644,
0.16462582349777222,
0.07586124539375305,
0.1864938586950302,
0.046967219561338425,
-0.1311488151550293,
0.15852035582065582,
-0.07704099267721176,
-0.3395662307739258,
-0.10581022500991821,
0.24256320297718048,
0.25783902406692505,
-0.10521620512008667,
0.4483572840690613,
-0.2508382797241211,
0.23939409852027893,
-0.012945580296218395,
0.28911012411117554,
0.542640209197998,
-0.08933346718549728,
0.15291237831115723,
-0.32179397344589233,
-0.3143531382083893,
-0.09971089661121368,
-0.19487491250038147,
-0.1389894336462021,
0.04835664480924606,
0.02696456015110016,
-0.1491464376449585,
-0.2706751525402069,
-0.052909452468156815,
-0.0879613533616066,
-0.17469966411590576,
-0.05534343048930168,
-0.06937692314386368,
0.3293856084346771,
-0.05049324408173561,
0.279150128364563,
0.01361731719225645,
-0.04041857272386551,
-0.1539400815963745,
0.22464264929294586,
0.12359996885061264,
0.22255247831344604,
-0.3244829475879669,
0.10718350112438202,
-0.27057692408561707,
0.35297051072120667,
-0.04078745096921921,
0.7153819799423218,
-0.14472655951976776,
0.3261335492134094,
0.11281796544790268,
0.03812691941857338,
0.10555636137723923,
-0.2915956974029541,
0.11077997088432312,
0.025910265743732452,
-0.4394378960132599,
-0.05718190595507622,
-0.032719846814870834,
-0.04879230633378029,
-0.06406958401203156,
-0.02919035777449608,
0.2615410089492798,
-0.24738426506519318,
-0.10460541397333145,
-0.021286576986312866,
0.3048672080039978,
-0.042113643139600754,
-0.24261845648288727,
-0.39496880769729614,
-0.541218638420105,
-0.4392508864402771,
-0.18904872238636017,
0.1465299278497696,
0.15771327912807465,
-0.07987231016159058,
0.2045392096042633,
-0.15882836282253265,
0.10533103346824646,
0.22422859072685242,
0.08409157395362854,
0.2725593149662018,
-0.033014632761478424,
0.15348732471466064,
0.26823410391807556,
-0.16656020283699036,
0.7140184044837952,
0.7792872190475464,
-0.1654723733663559,
-0.3519221246242523,
0.2531231939792633,
-0.07657020539045334,
0.021768411621451378,
-0.05635621026158333,
-0.026279183104634285,
0.047360002994537354,
-0.19933433830738068,
-0.17018291354179382,
-0.04642119258642197,
0.19832217693328857,
0.19671973586082458,
0.15442399680614471,
-0.2928844094276428,
-0.7532661557197571,
0.5231233835220337,
0.07335087656974792,
0.11949087679386139,
0.29480430483818054,
-0.09946582466363907,
-0.18771131336688995,
0.2691771984100342,
0.1097407266497612,
0.7309184670448303,
-0.4024427831172943,
0.06639973074197769,
0.12552519142627716,
0.03905341401696205,
0.0969482958316803,
-0.03893934562802315,
-0.25493744015693665,
-0.18996460735797882,
-0.21341687440872192,
-0.14643672108650208,
-0.16306573152542114,
0.2815156877040863,
0.1523406058549881,
-0.07434515655040741,
0.28194671869277954,
-0.1734502613544464,
-0.028556527569890022,
0.23774781823158264,
0.11795438081026077,
-0.08527348190546036,
-0.3346661925315857,
-0.5701620578765869,
0.06952616572380066,
-0.17449261248111725,
0.21966493129730225,
-0.02292829006910324,
0.04462633654475212,
-0.07708942145109177,
-0.05582146719098091,
-0.39172959327697754,
0.3648402690887451,
-0.2748183608055115,
0.33849018812179565,
-0.13014844059944153,
-0.34946930408477783,
0.18923364579677582,
0.4507750868797302,
0.2284574657678604,
0.14010967314243317,
-0.15276658535003662,
0.07425982505083084,
0.2642700970172882,
-0.25238412618637085,
-0.030453069135546684,
-0.1002172976732254,
-0.0693557858467102,
-0.02304358221590519,
-0.27320051193237305,
0.14196482300758362,
-0.07024753093719482,
-0.22475425899028778,
-0.07429367303848267,
0.13919152319431305,
0.02874239906668663,
-0.09942988306283951,
-0.341354638338089,
-0.07189048081636429,
0.03511820733547211,
-0.1643306016921997,
-0.006722313817590475,
0.20912578701972961,
-0.09398116171360016,
0.011096026748418808,
0.05714951455593109,
-0.33624082803726196,
0.020826321095228195,
0.45987045764923096,
-0.0671357661485672,
-0.10354143381118774,
0.5126209855079651,
0.22076310217380524,
-0.20533393323421478,
-0.1291893720626831,
0.26687440276145935,
0.34327635169029236,
-0.24352392554283142,
0.02479257807135582,
-0.10152814537286758,
0.122639000415802,
0.016964776441454887,
0.019083963707089424,
0.23217569291591644,
-0.35060879588127136,
0.3566073179244995,
-0.5912511944770813,
-0.37390559911727905,
0.19041480123996735,
-0.18425311148166656,
0.020910317078232765,
-0.023006893694400787,
0.011409679427742958,
-0.15387137234210968,
-0.08554008603096008,
-0.11315369606018066,
0.11046376079320908,
-0.355530321598053,
0.05317528918385506,
0.23331156373023987,
-0.003837204072624445,
0.026617374271154404,
-0.17022109031677246,
0.008407285436987877,
0.13824717700481415,
0.03584594652056694,
-0.038531746715307236,
-0.18231603503227234,
0.21420973539352417,
0.12910152971744537,
-0.3466270864009857,
0.009542508982121944,
-0.217316135764122,
-0.04067792370915413,
-0.14563404023647308,
0.17523370683193207,
0.4642312526702881,
-0.05088510364294052,
0.11629224568605423,
0.2020445466041565,
0.11926424503326416,
-0.36100488901138306,
0.37733766436576843,
-0.05974750593304634,
0.21923987567424774,
0.1052808165550232,
0.19968564808368683,
0.22618839144706726,
0.12845350801944733,
-0.29863977432250977,
-0.091861292719841,
0.2543623149394989,
-0.020749198272824287,
0.27848780155181885,
-0.4246552288532257,
0.38469764590263367,
0.09340160340070724,
0.1392688900232315,
0.4423634707927704,
-0.27087026834487915,
0.06683087348937988,
0.3226248025894165,
0.02777186967432499,
-0.23967885971069336,
-0.1068030297756195,
0.11431541293859482,
0.0567224957048893,
-0.13262473046779633,
0.317436546087265,
0.39816388487815857,
0.06588403135538101,
-0.14058350026607513,
0.036622658371925354,
0.06292004138231277,
-0.14363758265972137,
0.05199224129319191,
0.6180892586708069,
0.01825869455933571,
0.21215316653251648,
0.06275222450494766,
0.22510571777820587,
-0.026153622195124626,
0.3331252336502075,
-0.157718226313591,
0.44614315032958984,
0.21345630288124084,
0.19085954129695892,
-0.327781617641449,
-0.5346595048904419,
-0.16996894776821136,
0.32047975063323975,
0.09440114349126816,
-0.025713007897138596,
-0.20863912999629974,
0.24226467311382294,
-0.18227149546146393,
0.15879733860492706,
-0.06975613534450531,
0.1305380016565323,
-0.03403614088892937,
-0.18388554453849792,
-0.13292376697063446,
-0.15208213031291962,
-0.5502743124961853,
0.1870926469564438,
-0.24702031910419464,
-0.12653781473636627,
0.19390389323234558,
0.1568966805934906,
-0.13298112154006958,
-0.3558677136898041,
-0.05096118152141571,
0.3773247003555298,
-0.34378570318222046,
-0.34007197618484497,
0.3964487612247467,
0.017727483063936234,
0.017270324751734734,
0.24953140318393707,
0.13938015699386597,
0.33069825172424316,
0.4204998314380646,
-0.36088860034942627,
-0.11548519879579544,
0.06133844703435898,
0.07740107923746109,
0.07656591385602951,
0.19793108105659485,
0.019553158432245255,
0.20653805136680603,
0.37098637223243713,
-0.01140994019806385,
-0.0139406006783247,
-0.03165686875581741,
0.15727077424526215,
-0.22972619533538818,
-0.0879768580198288,
0.2299749106168747,
-0.04816102236509323,
0.19987648725509644,
-0.1176382526755333,
0.02451004832983017,
-0.24237334728240967,
0.02178628370165825,
0.575178325176239,
0.010340024717152119,
0.10682881623506546,
0.05929098278284073,
-0.05274613946676254,
-0.18448787927627563,
0.3957372009754181,
0.6384896636009216,
0.3486230671405792,
-0.4021959900856018,
-0.19086429476737976,
-0.723846435546875,
0.05981111153960228,
-0.4783249497413635,
-0.2568788528442383,
0.5058496594429016,
-0.07415750622749329,
0.10183081030845642,
0.3912001848220825,
-0.09394044429063797,
0.2525460720062256,
0.1857648342847824,
0.2951032221317291,
-0.2620003819465637,
-0.2589086890220642,
0.41634559631347656,
0.20900410413742065,
-0.1786017268896103,
-0.49365875124931335,
-0.010533231310546398,
0.042623121291399,
-0.09226170182228088,
-0.1824922263622284,
0.041756272315979004,
0.14125743508338928,
0.3790919780731201,
0.1933654546737671,
0.05841178447008133,
0.7760942578315735,
-0.025724191218614578,
-0.06480161100625992,
-0.07898185402154922,
-0.6323973536491394,
-0.054236628115177155,
0.06052009016275406,
0.06495650112628937,
0.1296207159757614,
-0.10221341252326965,
-0.112685427069664,
-0.38247305154800415,
0.30614104866981506,
-0.1255754679441452,
-0.1483527272939682,
-0.2318834811449051,
-0.0043641612865030766,
-0.05085045471787453,
-0.06284959614276886,
-0.02813294529914856,
0.06108858808875084,
0.12244793027639389,
0.35521724820137024,
-0.1259651929140091,
-0.22627858817577362,
0.39892566204071045,
-0.05346246808767319,
-0.4505836069583893,
0.07258151471614838,
-0.1192314550280571,
0.33506497740745544,
-0.21185743808746338,
-0.4614241421222687,
0.19214048981666565,
0.22828267514705658,
-0.14500664174556732,
-0.3645925223827362,
0.035404354333877563,
0.14406464993953705,
0.10550975799560547,
-0.11913527548313141,
0.6080470085144043,
0.006813668180257082,
-0.1588614583015442,
0.10727068036794662,
-0.17213556170463562
] |
https://github.com/huggingface/datasets/issues/2061
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
|
I tried fixing this issue, but its working fine in the dev version : "1.6.2.dev0"
I think somebody already fixed it.
|
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
| 21
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
I tried fixing this issue, but its working fine in the dev version : "1.6.2.dev0"
I think somebody already fixed it.
|
[
-0.34640321135520935,
-0.07528585195541382,
0.0026138187386095524,
0.4443906545639038,
0.3713293671607971,
0.06911856681108475,
0.24056805670261383,
0.03947611525654793,
0.5101773738861084,
0.20612454414367676,
-0.35890647768974304,
0.052705515176057816,
0.08609618246555328,
0.08086588233709335,
0.11441200971603394,
-0.31510502099990845,
-0.06024918705224991,
0.0173563864082098,
-0.2503683269023895,
-0.06550467759370804,
-0.41051653027534485,
-0.06232599914073944,
-0.30465787649154663,
0.10954347252845764,
-0.17110350728034973,
0.20645789802074432,
0.014145668596029282,
0.16473329067230225,
-0.3150217831134796,
-0.4950226843357086,
0.5633597373962402,
0.018032751977443695,
0.5800750255584717,
0.2213219404220581,
-0.00012534325651358813,
0.10603886842727661,
0.486179381608963,
-0.06130572035908699,
-0.3452341854572296,
-0.4049587845802307,
-0.41898834705352783,
-0.13159696757793427,
-0.06906158477067947,
-0.09646546095609665,
0.10452702641487122,
-0.004400121048092842,
-0.08233421295881271,
-0.25856247544288635,
0.3321037292480469,
0.36787620186805725,
0.0941704660654068,
0.37202906608581543,
0.06185844913125038,
-0.22116492688655853,
0.47571995854377747,
-0.04227038845419884,
-0.14890751242637634,
0.15637493133544922,
0.42710012197494507,
-0.3246799111366272,
0.18014538288116455,
0.12462521344423294,
-0.2091393917798996,
0.22491686046123505,
-0.16371780633926392,
0.056006062775850296,
0.18213486671447754,
-0.25835120677948,
0.23912440240383148,
0.1349656730890274,
0.84123295545578,
-0.15123841166496277,
-0.4147818088531494,
0.018239760771393776,
-0.1014062687754631,
-0.35548195242881775,
0.1830146312713623,
0.0008583236485719681,
-0.057886939495801926,
0.07884176820516586,
-0.07679978013038635,
-0.0602424256503582,
0.050375327467918396,
0.28907251358032227,
-0.14345668256282806,
0.2910374402999878,
0.054120905697345734,
0.1338614821434021,
0.3239519000053406,
-0.108920156955719,
0.490139901638031,
0.0979418084025383,
-0.07307194918394089,
0.2410612851381302,
-0.3231167197227478,
0.2865317165851593,
-0.07560572773218155,
-0.30378761887550354,
0.23896385729312897,
-0.10459823161363602,
-0.10120802372694016,
0.00395576236769557,
-0.1443641632795334,
0.32955503463745117,
0.4467014968395233,
0.2585923671722412,
0.3614315092563629,
0.28999775648117065,
0.10725457221269608,
0.15876829624176025,
-0.05657362565398216,
-0.06338683515787125,
-0.44746145606040955,
-0.21606262028217316,
0.08579277992248535,
-0.02712877281010151,
0.15717042982578278,
-0.4506184756755829,
-0.5827975273132324,
0.044834453612565994,
-0.16290177404880524,
-0.21788430213928223,
0.058349814265966415,
0.2688891589641571,
0.154563307762146,
0.4297787845134735,
0.04586246609687805,
0.4458412826061249,
-0.49627944827079773,
-0.2659796476364136,
-0.054424215108156204,
0.16876327991485596,
-0.4189637303352356,
0.058513663709163666,
0.14394308626651764,
0.005286522675305605,
0.21485836803913116,
0.016775792464613914,
0.265674352645874,
-0.2452542781829834,
0.12882907688617706,
-0.23588629066944122,
-0.24442198872566223,
0.3540518283843994,
0.3105238378047943,
0.12189783900976181,
0.2711307406425476,
-0.374675989151001,
-0.07859864830970764,
0.28915613889694214,
-0.22251096367835999,
-0.23501160740852356,
0.0909438356757164,
0.03285488858819008,
-0.17969073355197906,
0.055020954459905624,
-1.0357829332351685,
-0.07645831257104874,
0.08510275930166245,
0.10693341493606567,
-0.015508991666138172,
-0.2755291759967804,
-0.17121098935604095,
0.0025955489836633205,
0.28480637073516846,
0.53557950258255,
-0.2868709862232208,
-0.0464065819978714,
-0.14083902537822723,
-0.040090128779411316,
0.33559396862983704,
0.3613089621067047,
-0.33579447865486145,
0.07375544309616089,
-0.12798519432544708,
0.10571204125881195,
0.19821463525295258,
-0.5150759816169739,
-0.48036572337150574,
0.1640976369380951,
0.05092797800898552,
-0.016188377514481544,
-0.0857607051730156,
-0.3274514675140381,
0.23931744694709778,
0.03572097793221474,
0.19531221687793732,
0.25892385840415955,
0.05809810385107994,
-0.09088777750730515,
-0.17510180175304413,
-0.09859536588191986,
0.13611331582069397,
0.4271910786628723,
0.29112508893013,
0.14539936184883118,
0.2614879906177521,
0.43923619389533997,
0.04362211376428604,
0.016575446352362633,
0.013182013295590878,
0.3216632902622223,
0.033360496163368225,
0.09020087867975235,
0.036241043359041214,
-0.05934513360261917,
-0.4222894608974457,
0.2021973729133606,
-0.09310097992420197,
-0.0453711599111557,
0.09755386412143707,
0.18124066293239594,
-0.38971149921417236,
0.1230216845870018,
-0.3247455060482025,
-0.31970444321632385,
-0.09428910911083221,
0.08660359680652618,
-0.09641291946172714,
-0.08180759102106094,
-0.16979941725730896,
0.08066805452108383,
-0.07154873013496399,
0.11032085865736008,
-0.3754511773586273,
0.41911953687667847,
0.049577001482248306,
-0.06489010900259018,
0.08072444051504135,
0.2062990367412567,
0.22998042404651642,
-0.1260806769132614,
-0.17538148164749146,
0.18774192035198212,
0.6032567024230957,
-0.179182767868042,
0.1357361078262329,
-0.0441046841442585,
0.30425870418548584,
-0.388569712638855,
0.19620245695114136,
-0.027380909770727158,
0.11872146278619766,
0.11306492984294891,
0.059830836951732635,
0.25418949127197266,
-0.03597504645586014,
0.18406373262405396,
-0.1281905621290207,
0.12247228622436523,
0.3874262869358063,
0.00222687772475183,
0.06135895475745201,
-0.2924953103065491,
0.5102493762969971,
0.32502928376197815,
0.3184410631656647,
0.05247931554913521,
-0.1459861844778061,
-0.22427397966384888,
-0.11093033850193024,
-0.15162956714630127,
0.08167213946580887,
0.15157009661197662,
-0.22369971871376038,
0.044475916773080826,
0.2037220001220703,
0.2373359501361847,
0.3294338285923004,
0.021466834470629692,
0.07584705948829651,
-0.04680314287543297,
0.023762822151184082,
0.0701776072382927,
-0.009797139093279839,
-0.07181677222251892,
-0.10157506167888641,
0.06444121152162552,
0.0008363492088392377,
-0.2057572901248932,
-0.22481228411197662,
0.07293962687253952,
0.23779740929603577,
0.4230693578720093,
-0.30031618475914,
0.04732242971658707,
-0.42317840456962585,
-0.15952956676483154,
0.1389959752559662,
-0.08027948439121246,
-0.03872982785105705,
-0.14833667874336243,
-0.3189135491847992,
0.27781587839126587,
0.33826711773872375,
0.12882284820079803,
0.10791012644767761,
-0.2398637980222702,
-0.024733228608965874,
-0.20222757756710052,
0.16747793555259705,
-0.1916826069355011,
-0.136323943734169,
-0.11427720636129379,
0.23435373604297638,
0.1731065958738327,
0.09741111844778061,
-0.34083420038223267,
-0.045414261519908905,
-0.23199760913848877,
-0.05559564009308815,
0.23203052580356598,
-0.002664407482370734,
0.3095875382423401,
-0.07700081169605255,
0.14246365427970886,
-0.35867607593536377,
0.03647153824567795,
0.36613965034484863,
0.02121705189347267,
-0.16788020730018616,
0.26772740483283997,
-0.012352678924798965,
-0.12510521709918976,
0.023681318387389183,
-0.14731276035308838,
-0.2998109459877014,
-0.20938488841056824,
0.017121493816375732,
0.048265643417835236,
0.02390541136264801,
-0.047114863991737366,
0.039598412811756134,
0.038049329072237015,
0.1774875968694687,
-0.17492899298667908,
-0.34034353494644165,
-0.43195754289627075,
0.4691961705684662,
-0.27102506160736084,
-0.24750062823295593,
0.08169696480035782,
0.04735590144991875,
0.20141132175922394,
0.3418821692466736,
-0.46034061908721924,
-0.0737864077091217,
-0.11739327758550644,
0.16462582349777222,
0.07586124539375305,
0.1864938586950302,
0.046967219561338425,
-0.1311488151550293,
0.15852035582065582,
-0.07704099267721176,
-0.3395662307739258,
-0.10581022500991821,
0.24256320297718048,
0.25783902406692505,
-0.10521620512008667,
0.4483572840690613,
-0.2508382797241211,
0.23939409852027893,
-0.012945580296218395,
0.28911012411117554,
0.542640209197998,
-0.08933346718549728,
0.15291237831115723,
-0.32179397344589233,
-0.3143531382083893,
-0.09971089661121368,
-0.19487491250038147,
-0.1389894336462021,
0.04835664480924606,
0.02696456015110016,
-0.1491464376449585,
-0.2706751525402069,
-0.052909452468156815,
-0.0879613533616066,
-0.17469966411590576,
-0.05534343048930168,
-0.06937692314386368,
0.3293856084346771,
-0.05049324408173561,
0.279150128364563,
0.01361731719225645,
-0.04041857272386551,
-0.1539400815963745,
0.22464264929294586,
0.12359996885061264,
0.22255247831344604,
-0.3244829475879669,
0.10718350112438202,
-0.27057692408561707,
0.35297051072120667,
-0.04078745096921921,
0.7153819799423218,
-0.14472655951976776,
0.3261335492134094,
0.11281796544790268,
0.03812691941857338,
0.10555636137723923,
-0.2915956974029541,
0.11077997088432312,
0.025910265743732452,
-0.4394378960132599,
-0.05718190595507622,
-0.032719846814870834,
-0.04879230633378029,
-0.06406958401203156,
-0.02919035777449608,
0.2615410089492798,
-0.24738426506519318,
-0.10460541397333145,
-0.021286576986312866,
0.3048672080039978,
-0.042113643139600754,
-0.24261845648288727,
-0.39496880769729614,
-0.541218638420105,
-0.4392508864402771,
-0.18904872238636017,
0.1465299278497696,
0.15771327912807465,
-0.07987231016159058,
0.2045392096042633,
-0.15882836282253265,
0.10533103346824646,
0.22422859072685242,
0.08409157395362854,
0.2725593149662018,
-0.033014632761478424,
0.15348732471466064,
0.26823410391807556,
-0.16656020283699036,
0.7140184044837952,
0.7792872190475464,
-0.1654723733663559,
-0.3519221246242523,
0.2531231939792633,
-0.07657020539045334,
0.021768411621451378,
-0.05635621026158333,
-0.026279183104634285,
0.047360002994537354,
-0.19933433830738068,
-0.17018291354179382,
-0.04642119258642197,
0.19832217693328857,
0.19671973586082458,
0.15442399680614471,
-0.2928844094276428,
-0.7532661557197571,
0.5231233835220337,
0.07335087656974792,
0.11949087679386139,
0.29480430483818054,
-0.09946582466363907,
-0.18771131336688995,
0.2691771984100342,
0.1097407266497612,
0.7309184670448303,
-0.4024427831172943,
0.06639973074197769,
0.12552519142627716,
0.03905341401696205,
0.0969482958316803,
-0.03893934562802315,
-0.25493744015693665,
-0.18996460735797882,
-0.21341687440872192,
-0.14643672108650208,
-0.16306573152542114,
0.2815156877040863,
0.1523406058549881,
-0.07434515655040741,
0.28194671869277954,
-0.1734502613544464,
-0.028556527569890022,
0.23774781823158264,
0.11795438081026077,
-0.08527348190546036,
-0.3346661925315857,
-0.5701620578765869,
0.06952616572380066,
-0.17449261248111725,
0.21966493129730225,
-0.02292829006910324,
0.04462633654475212,
-0.07708942145109177,
-0.05582146719098091,
-0.39172959327697754,
0.3648402690887451,
-0.2748183608055115,
0.33849018812179565,
-0.13014844059944153,
-0.34946930408477783,
0.18923364579677582,
0.4507750868797302,
0.2284574657678604,
0.14010967314243317,
-0.15276658535003662,
0.07425982505083084,
0.2642700970172882,
-0.25238412618637085,
-0.030453069135546684,
-0.1002172976732254,
-0.0693557858467102,
-0.02304358221590519,
-0.27320051193237305,
0.14196482300758362,
-0.07024753093719482,
-0.22475425899028778,
-0.07429367303848267,
0.13919152319431305,
0.02874239906668663,
-0.09942988306283951,
-0.341354638338089,
-0.07189048081636429,
0.03511820733547211,
-0.1643306016921997,
-0.006722313817590475,
0.20912578701972961,
-0.09398116171360016,
0.011096026748418808,
0.05714951455593109,
-0.33624082803726196,
0.020826321095228195,
0.45987045764923096,
-0.0671357661485672,
-0.10354143381118774,
0.5126209855079651,
0.22076310217380524,
-0.20533393323421478,
-0.1291893720626831,
0.26687440276145935,
0.34327635169029236,
-0.24352392554283142,
0.02479257807135582,
-0.10152814537286758,
0.122639000415802,
0.016964776441454887,
0.019083963707089424,
0.23217569291591644,
-0.35060879588127136,
0.3566073179244995,
-0.5912511944770813,
-0.37390559911727905,
0.19041480123996735,
-0.18425311148166656,
0.020910317078232765,
-0.023006893694400787,
0.011409679427742958,
-0.15387137234210968,
-0.08554008603096008,
-0.11315369606018066,
0.11046376079320908,
-0.355530321598053,
0.05317528918385506,
0.23331156373023987,
-0.003837204072624445,
0.026617374271154404,
-0.17022109031677246,
0.008407285436987877,
0.13824717700481415,
0.03584594652056694,
-0.038531746715307236,
-0.18231603503227234,
0.21420973539352417,
0.12910152971744537,
-0.3466270864009857,
0.009542508982121944,
-0.217316135764122,
-0.04067792370915413,
-0.14563404023647308,
0.17523370683193207,
0.4642312526702881,
-0.05088510364294052,
0.11629224568605423,
0.2020445466041565,
0.11926424503326416,
-0.36100488901138306,
0.37733766436576843,
-0.05974750593304634,
0.21923987567424774,
0.1052808165550232,
0.19968564808368683,
0.22618839144706726,
0.12845350801944733,
-0.29863977432250977,
-0.091861292719841,
0.2543623149394989,
-0.020749198272824287,
0.27848780155181885,
-0.4246552288532257,
0.38469764590263367,
0.09340160340070724,
0.1392688900232315,
0.4423634707927704,
-0.27087026834487915,
0.06683087348937988,
0.3226248025894165,
0.02777186967432499,
-0.23967885971069336,
-0.1068030297756195,
0.11431541293859482,
0.0567224957048893,
-0.13262473046779633,
0.317436546087265,
0.39816388487815857,
0.06588403135538101,
-0.14058350026607513,
0.036622658371925354,
0.06292004138231277,
-0.14363758265972137,
0.05199224129319191,
0.6180892586708069,
0.01825869455933571,
0.21215316653251648,
0.06275222450494766,
0.22510571777820587,
-0.026153622195124626,
0.3331252336502075,
-0.157718226313591,
0.44614315032958984,
0.21345630288124084,
0.19085954129695892,
-0.327781617641449,
-0.5346595048904419,
-0.16996894776821136,
0.32047975063323975,
0.09440114349126816,
-0.025713007897138596,
-0.20863912999629974,
0.24226467311382294,
-0.18227149546146393,
0.15879733860492706,
-0.06975613534450531,
0.1305380016565323,
-0.03403614088892937,
-0.18388554453849792,
-0.13292376697063446,
-0.15208213031291962,
-0.5502743124961853,
0.1870926469564438,
-0.24702031910419464,
-0.12653781473636627,
0.19390389323234558,
0.1568966805934906,
-0.13298112154006958,
-0.3558677136898041,
-0.05096118152141571,
0.3773247003555298,
-0.34378570318222046,
-0.34007197618484497,
0.3964487612247467,
0.017727483063936234,
0.017270324751734734,
0.24953140318393707,
0.13938015699386597,
0.33069825172424316,
0.4204998314380646,
-0.36088860034942627,
-0.11548519879579544,
0.06133844703435898,
0.07740107923746109,
0.07656591385602951,
0.19793108105659485,
0.019553158432245255,
0.20653805136680603,
0.37098637223243713,
-0.01140994019806385,
-0.0139406006783247,
-0.03165686875581741,
0.15727077424526215,
-0.22972619533538818,
-0.0879768580198288,
0.2299749106168747,
-0.04816102236509323,
0.19987648725509644,
-0.1176382526755333,
0.02451004832983017,
-0.24237334728240967,
0.02178628370165825,
0.575178325176239,
0.010340024717152119,
0.10682881623506546,
0.05929098278284073,
-0.05274613946676254,
-0.18448787927627563,
0.3957372009754181,
0.6384896636009216,
0.3486230671405792,
-0.4021959900856018,
-0.19086429476737976,
-0.723846435546875,
0.05981111153960228,
-0.4783249497413635,
-0.2568788528442383,
0.5058496594429016,
-0.07415750622749329,
0.10183081030845642,
0.3912001848220825,
-0.09394044429063797,
0.2525460720062256,
0.1857648342847824,
0.2951032221317291,
-0.2620003819465637,
-0.2589086890220642,
0.41634559631347656,
0.20900410413742065,
-0.1786017268896103,
-0.49365875124931335,
-0.010533231310546398,
0.042623121291399,
-0.09226170182228088,
-0.1824922263622284,
0.041756272315979004,
0.14125743508338928,
0.3790919780731201,
0.1933654546737671,
0.05841178447008133,
0.7760942578315735,
-0.025724191218614578,
-0.06480161100625992,
-0.07898185402154922,
-0.6323973536491394,
-0.054236628115177155,
0.06052009016275406,
0.06495650112628937,
0.1296207159757614,
-0.10221341252326965,
-0.112685427069664,
-0.38247305154800415,
0.30614104866981506,
-0.1255754679441452,
-0.1483527272939682,
-0.2318834811449051,
-0.0043641612865030766,
-0.05085045471787453,
-0.06284959614276886,
-0.02813294529914856,
0.06108858808875084,
0.12244793027639389,
0.35521724820137024,
-0.1259651929140091,
-0.22627858817577362,
0.39892566204071045,
-0.05346246808767319,
-0.4505836069583893,
0.07258151471614838,
-0.1192314550280571,
0.33506497740745544,
-0.21185743808746338,
-0.4614241421222687,
0.19214048981666565,
0.22828267514705658,
-0.14500664174556732,
-0.3645925223827362,
0.035404354333877563,
0.14406464993953705,
0.10550975799560547,
-0.11913527548313141,
0.6080470085144043,
0.006813668180257082,
-0.1588614583015442,
0.10727068036794662,
-0.17213556170463562
] |
https://github.com/huggingface/datasets/issues/2061
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
|
Hi,
after #2326, the lines with pos tags equal to `"_"` are filtered out when generating the dataset, so this fixes the KeyError described above. However, the udpos subset should be in the conll format i.e. it should yield sequences of tokens and not single tokens, so it would be great to see this fixed (feel free to borrow the logic from [here](https://github.com/google-research/xtreme/blob/58a76a0d02458c4b3b6a742d3fd4ffaca80ff0de/utils_preprocess.py#L187-L204) if you decide to work on this).
|
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
| 70
|
Cannot load udpos subsets from xtreme dataset using load_dataset()
Hello,
I am trying to load the udpos English subset from xtreme dataset, but this faces an error during loading. I am using datasets v1.4.1, pip install. I have tried with other udpos languages which also fail, though loading a different subset altogether (such as XNLI) has no issue. I have also tried on Colab and faced the same error.
Reprex is:
`from datasets import load_dataset `
`dataset = load_dataset('xtreme', 'udpos.English')`
The error is:
`KeyError: '_'`
The full traceback is:
KeyError Traceback (most recent call last)
<ipython-input-5-7181359ea09d> in <module>
1 from datasets import load_dataset
----> 2 dataset = load_dataset('xtreme', 'udpos.English')
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
738
739 # Download and prepare data
--> 740 builder_instance.download_and_prepare(
741 download_config=download_config,
742 download_mode=download_mode,
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
576 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
577 if not downloaded_from_gcs:
--> 578 self._download_and_prepare(
579 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
580 )
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
654 try:
655 # Prepare split will record examples associated to the split
--> 656 self._prepare_split(split_generator, **prepare_split_kwargs)
657 except OSError as e:
658 raise OSError(
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\builder.py in _prepare_split(self, split_generator)
977 generator, unit=" examples", total=split_info.num_examples, leave=False, disable=not_verbose
978 ):
--> 979 example = self.info.features.encode_example(record)
980 writer.write(example)
981 finally:
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example)
946 def encode_example(self, example):
947 example = cast_to_python_objects(example)
--> 948 return encode_nested_example(self, example)
949
950 def encode_batch(self, batch):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
840 # Nested structures: we allow dict, list/tuples, sequences
841 if isinstance(schema, dict):
--> 842 return {
843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in <dictcomp>(.0)
841 if isinstance(schema, dict):
842 return {
--> 843 k: encode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in utils.zip_dict(schema, obj)
844 }
845 elif isinstance(schema, (list, tuple)):
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_nested_example(schema, obj)
868 # ClassLabel will convert from string to int, TranslationVariableLanguages does some checks
869 elif isinstance(schema, (ClassLabel, TranslationVariableLanguages, Value, _ArrayXD)):
--> 870 return schema.encode_example(obj)
871 # Other object should be directly convertible to a native Arrow type (like Translation and Translation)
872 return obj
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in encode_example(self, example_data)
647 # If a string is given, convert to associated integer
648 if isinstance(example_data, str):
--> 649 example_data = self.str2int(example_data)
650
651 # Allowing -1 to mean no label.
~\Anaconda3\envs\mlenv\lib\site-packages\datasets\features.py in str2int(self, values)
605 if value not in self._str2int:
606 value = value.strip()
--> 607 output.append(self._str2int[str(value)])
608 else:
609 # No names provided, try to integerize
KeyError: '_'
Hi,
after #2326, the lines with pos tags equal to `"_"` are filtered out when generating the dataset, so this fixes the KeyError described above. However, the udpos subset should be in the conll format i.e. it should yield sequences of tokens and not single tokens, so it would be great to see this fixed (feel free to borrow the logic from [here](https://github.com/google-research/xtreme/blob/58a76a0d02458c4b3b6a742d3fd4ffaca80ff0de/utils_preprocess.py#L187-L204) if you decide to work on this).
|
[
-0.34640321135520935,
-0.07528585195541382,
0.0026138187386095524,
0.4443906545639038,
0.3713293671607971,
0.06911856681108475,
0.24056805670261383,
0.03947611525654793,
0.5101773738861084,
0.20612454414367676,
-0.35890647768974304,
0.052705515176057816,
0.08609618246555328,
0.08086588233709335,
0.11441200971603394,
-0.31510502099990845,
-0.06024918705224991,
0.0173563864082098,
-0.2503683269023895,
-0.06550467759370804,
-0.41051653027534485,
-0.06232599914073944,
-0.30465787649154663,
0.10954347252845764,
-0.17110350728034973,
0.20645789802074432,
0.014145668596029282,
0.16473329067230225,
-0.3150217831134796,
-0.4950226843357086,
0.5633597373962402,
0.018032751977443695,
0.5800750255584717,
0.2213219404220581,
-0.00012534325651358813,
0.10603886842727661,
0.486179381608963,
-0.06130572035908699,
-0.3452341854572296,
-0.4049587845802307,
-0.41898834705352783,
-0.13159696757793427,
-0.06906158477067947,
-0.09646546095609665,
0.10452702641487122,
-0.004400121048092842,
-0.08233421295881271,
-0.25856247544288635,
0.3321037292480469,
0.36787620186805725,
0.0941704660654068,
0.37202906608581543,
0.06185844913125038,
-0.22116492688655853,
0.47571995854377747,
-0.04227038845419884,
-0.14890751242637634,
0.15637493133544922,
0.42710012197494507,
-0.3246799111366272,
0.18014538288116455,
0.12462521344423294,
-0.2091393917798996,
0.22491686046123505,
-0.16371780633926392,
0.056006062775850296,
0.18213486671447754,
-0.25835120677948,
0.23912440240383148,
0.1349656730890274,
0.84123295545578,
-0.15123841166496277,
-0.4147818088531494,
0.018239760771393776,
-0.1014062687754631,
-0.35548195242881775,
0.1830146312713623,
0.0008583236485719681,
-0.057886939495801926,
0.07884176820516586,
-0.07679978013038635,
-0.0602424256503582,
0.050375327467918396,
0.28907251358032227,
-0.14345668256282806,
0.2910374402999878,
0.054120905697345734,
0.1338614821434021,
0.3239519000053406,
-0.108920156955719,
0.490139901638031,
0.0979418084025383,
-0.07307194918394089,
0.2410612851381302,
-0.3231167197227478,
0.2865317165851593,
-0.07560572773218155,
-0.30378761887550354,
0.23896385729312897,
-0.10459823161363602,
-0.10120802372694016,
0.00395576236769557,
-0.1443641632795334,
0.32955503463745117,
0.4467014968395233,
0.2585923671722412,
0.3614315092563629,
0.28999775648117065,
0.10725457221269608,
0.15876829624176025,
-0.05657362565398216,
-0.06338683515787125,
-0.44746145606040955,
-0.21606262028217316,
0.08579277992248535,
-0.02712877281010151,
0.15717042982578278,
-0.4506184756755829,
-0.5827975273132324,
0.044834453612565994,
-0.16290177404880524,
-0.21788430213928223,
0.058349814265966415,
0.2688891589641571,
0.154563307762146,
0.4297787845134735,
0.04586246609687805,
0.4458412826061249,
-0.49627944827079773,
-0.2659796476364136,
-0.054424215108156204,
0.16876327991485596,
-0.4189637303352356,
0.058513663709163666,
0.14394308626651764,
0.005286522675305605,
0.21485836803913116,
0.016775792464613914,
0.265674352645874,
-0.2452542781829834,
0.12882907688617706,
-0.23588629066944122,
-0.24442198872566223,
0.3540518283843994,
0.3105238378047943,
0.12189783900976181,
0.2711307406425476,
-0.374675989151001,
-0.07859864830970764,
0.28915613889694214,
-0.22251096367835999,
-0.23501160740852356,
0.0909438356757164,
0.03285488858819008,
-0.17969073355197906,
0.055020954459905624,
-1.0357829332351685,
-0.07645831257104874,
0.08510275930166245,
0.10693341493606567,
-0.015508991666138172,
-0.2755291759967804,
-0.17121098935604095,
0.0025955489836633205,
0.28480637073516846,
0.53557950258255,
-0.2868709862232208,
-0.0464065819978714,
-0.14083902537822723,
-0.040090128779411316,
0.33559396862983704,
0.3613089621067047,
-0.33579447865486145,
0.07375544309616089,
-0.12798519432544708,
0.10571204125881195,
0.19821463525295258,
-0.5150759816169739,
-0.48036572337150574,
0.1640976369380951,
0.05092797800898552,
-0.016188377514481544,
-0.0857607051730156,
-0.3274514675140381,
0.23931744694709778,
0.03572097793221474,
0.19531221687793732,
0.25892385840415955,
0.05809810385107994,
-0.09088777750730515,
-0.17510180175304413,
-0.09859536588191986,
0.13611331582069397,
0.4271910786628723,
0.29112508893013,
0.14539936184883118,
0.2614879906177521,
0.43923619389533997,
0.04362211376428604,
0.016575446352362633,
0.013182013295590878,
0.3216632902622223,
0.033360496163368225,
0.09020087867975235,
0.036241043359041214,
-0.05934513360261917,
-0.4222894608974457,
0.2021973729133606,
-0.09310097992420197,
-0.0453711599111557,
0.09755386412143707,
0.18124066293239594,
-0.38971149921417236,
0.1230216845870018,
-0.3247455060482025,
-0.31970444321632385,
-0.09428910911083221,
0.08660359680652618,
-0.09641291946172714,
-0.08180759102106094,
-0.16979941725730896,
0.08066805452108383,
-0.07154873013496399,
0.11032085865736008,
-0.3754511773586273,
0.41911953687667847,
0.049577001482248306,
-0.06489010900259018,
0.08072444051504135,
0.2062990367412567,
0.22998042404651642,
-0.1260806769132614,
-0.17538148164749146,
0.18774192035198212,
0.6032567024230957,
-0.179182767868042,
0.1357361078262329,
-0.0441046841442585,
0.30425870418548584,
-0.388569712638855,
0.19620245695114136,
-0.027380909770727158,
0.11872146278619766,
0.11306492984294891,
0.059830836951732635,
0.25418949127197266,
-0.03597504645586014,
0.18406373262405396,
-0.1281905621290207,
0.12247228622436523,
0.3874262869358063,
0.00222687772475183,
0.06135895475745201,
-0.2924953103065491,
0.5102493762969971,
0.32502928376197815,
0.3184410631656647,
0.05247931554913521,
-0.1459861844778061,
-0.22427397966384888,
-0.11093033850193024,
-0.15162956714630127,
0.08167213946580887,
0.15157009661197662,
-0.22369971871376038,
0.044475916773080826,
0.2037220001220703,
0.2373359501361847,
0.3294338285923004,
0.021466834470629692,
0.07584705948829651,
-0.04680314287543297,
0.023762822151184082,
0.0701776072382927,
-0.009797139093279839,
-0.07181677222251892,
-0.10157506167888641,
0.06444121152162552,
0.0008363492088392377,
-0.2057572901248932,
-0.22481228411197662,
0.07293962687253952,
0.23779740929603577,
0.4230693578720093,
-0.30031618475914,
0.04732242971658707,
-0.42317840456962585,
-0.15952956676483154,
0.1389959752559662,
-0.08027948439121246,
-0.03872982785105705,
-0.14833667874336243,
-0.3189135491847992,
0.27781587839126587,
0.33826711773872375,
0.12882284820079803,
0.10791012644767761,
-0.2398637980222702,
-0.024733228608965874,
-0.20222757756710052,
0.16747793555259705,
-0.1916826069355011,
-0.136323943734169,
-0.11427720636129379,
0.23435373604297638,
0.1731065958738327,
0.09741111844778061,
-0.34083420038223267,
-0.045414261519908905,
-0.23199760913848877,
-0.05559564009308815,
0.23203052580356598,
-0.002664407482370734,
0.3095875382423401,
-0.07700081169605255,
0.14246365427970886,
-0.35867607593536377,
0.03647153824567795,
0.36613965034484863,
0.02121705189347267,
-0.16788020730018616,
0.26772740483283997,
-0.012352678924798965,
-0.12510521709918976,
0.023681318387389183,
-0.14731276035308838,
-0.2998109459877014,
-0.20938488841056824,
0.017121493816375732,
0.048265643417835236,
0.02390541136264801,
-0.047114863991737366,
0.039598412811756134,
0.038049329072237015,
0.1774875968694687,
-0.17492899298667908,
-0.34034353494644165,
-0.43195754289627075,
0.4691961705684662,
-0.27102506160736084,
-0.24750062823295593,
0.08169696480035782,
0.04735590144991875,
0.20141132175922394,
0.3418821692466736,
-0.46034061908721924,
-0.0737864077091217,
-0.11739327758550644,
0.16462582349777222,
0.07586124539375305,
0.1864938586950302,
0.046967219561338425,
-0.1311488151550293,
0.15852035582065582,
-0.07704099267721176,
-0.3395662307739258,
-0.10581022500991821,
0.24256320297718048,
0.25783902406692505,
-0.10521620512008667,
0.4483572840690613,
-0.2508382797241211,
0.23939409852027893,
-0.012945580296218395,
0.28911012411117554,
0.542640209197998,
-0.08933346718549728,
0.15291237831115723,
-0.32179397344589233,
-0.3143531382083893,
-0.09971089661121368,
-0.19487491250038147,
-0.1389894336462021,
0.04835664480924606,
0.02696456015110016,
-0.1491464376449585,
-0.2706751525402069,
-0.052909452468156815,
-0.0879613533616066,
-0.17469966411590576,
-0.05534343048930168,
-0.06937692314386368,
0.3293856084346771,
-0.05049324408173561,
0.279150128364563,
0.01361731719225645,
-0.04041857272386551,
-0.1539400815963745,
0.22464264929294586,
0.12359996885061264,
0.22255247831344604,
-0.3244829475879669,
0.10718350112438202,
-0.27057692408561707,
0.35297051072120667,
-0.04078745096921921,
0.7153819799423218,
-0.14472655951976776,
0.3261335492134094,
0.11281796544790268,
0.03812691941857338,
0.10555636137723923,
-0.2915956974029541,
0.11077997088432312,
0.025910265743732452,
-0.4394378960132599,
-0.05718190595507622,
-0.032719846814870834,
-0.04879230633378029,
-0.06406958401203156,
-0.02919035777449608,
0.2615410089492798,
-0.24738426506519318,
-0.10460541397333145,
-0.021286576986312866,
0.3048672080039978,
-0.042113643139600754,
-0.24261845648288727,
-0.39496880769729614,
-0.541218638420105,
-0.4392508864402771,
-0.18904872238636017,
0.1465299278497696,
0.15771327912807465,
-0.07987231016159058,
0.2045392096042633,
-0.15882836282253265,
0.10533103346824646,
0.22422859072685242,
0.08409157395362854,
0.2725593149662018,
-0.033014632761478424,
0.15348732471466064,
0.26823410391807556,
-0.16656020283699036,
0.7140184044837952,
0.7792872190475464,
-0.1654723733663559,
-0.3519221246242523,
0.2531231939792633,
-0.07657020539045334,
0.021768411621451378,
-0.05635621026158333,
-0.026279183104634285,
0.047360002994537354,
-0.19933433830738068,
-0.17018291354179382,
-0.04642119258642197,
0.19832217693328857,
0.19671973586082458,
0.15442399680614471,
-0.2928844094276428,
-0.7532661557197571,
0.5231233835220337,
0.07335087656974792,
0.11949087679386139,
0.29480430483818054,
-0.09946582466363907,
-0.18771131336688995,
0.2691771984100342,
0.1097407266497612,
0.7309184670448303,
-0.4024427831172943,
0.06639973074197769,
0.12552519142627716,
0.03905341401696205,
0.0969482958316803,
-0.03893934562802315,
-0.25493744015693665,
-0.18996460735797882,
-0.21341687440872192,
-0.14643672108650208,
-0.16306573152542114,
0.2815156877040863,
0.1523406058549881,
-0.07434515655040741,
0.28194671869277954,
-0.1734502613544464,
-0.028556527569890022,
0.23774781823158264,
0.11795438081026077,
-0.08527348190546036,
-0.3346661925315857,
-0.5701620578765869,
0.06952616572380066,
-0.17449261248111725,
0.21966493129730225,
-0.02292829006910324,
0.04462633654475212,
-0.07708942145109177,
-0.05582146719098091,
-0.39172959327697754,
0.3648402690887451,
-0.2748183608055115,
0.33849018812179565,
-0.13014844059944153,
-0.34946930408477783,
0.18923364579677582,
0.4507750868797302,
0.2284574657678604,
0.14010967314243317,
-0.15276658535003662,
0.07425982505083084,
0.2642700970172882,
-0.25238412618637085,
-0.030453069135546684,
-0.1002172976732254,
-0.0693557858467102,
-0.02304358221590519,
-0.27320051193237305,
0.14196482300758362,
-0.07024753093719482,
-0.22475425899028778,
-0.07429367303848267,
0.13919152319431305,
0.02874239906668663,
-0.09942988306283951,
-0.341354638338089,
-0.07189048081636429,
0.03511820733547211,
-0.1643306016921997,
-0.006722313817590475,
0.20912578701972961,
-0.09398116171360016,
0.011096026748418808,
0.05714951455593109,
-0.33624082803726196,
0.020826321095228195,
0.45987045764923096,
-0.0671357661485672,
-0.10354143381118774,
0.5126209855079651,
0.22076310217380524,
-0.20533393323421478,
-0.1291893720626831,
0.26687440276145935,
0.34327635169029236,
-0.24352392554283142,
0.02479257807135582,
-0.10152814537286758,
0.122639000415802,
0.016964776441454887,
0.019083963707089424,
0.23217569291591644,
-0.35060879588127136,
0.3566073179244995,
-0.5912511944770813,
-0.37390559911727905,
0.19041480123996735,
-0.18425311148166656,
0.020910317078232765,
-0.023006893694400787,
0.011409679427742958,
-0.15387137234210968,
-0.08554008603096008,
-0.11315369606018066,
0.11046376079320908,
-0.355530321598053,
0.05317528918385506,
0.23331156373023987,
-0.003837204072624445,
0.026617374271154404,
-0.17022109031677246,
0.008407285436987877,
0.13824717700481415,
0.03584594652056694,
-0.038531746715307236,
-0.18231603503227234,
0.21420973539352417,
0.12910152971744537,
-0.3466270864009857,
0.009542508982121944,
-0.217316135764122,
-0.04067792370915413,
-0.14563404023647308,
0.17523370683193207,
0.4642312526702881,
-0.05088510364294052,
0.11629224568605423,
0.2020445466041565,
0.11926424503326416,
-0.36100488901138306,
0.37733766436576843,
-0.05974750593304634,
0.21923987567424774,
0.1052808165550232,
0.19968564808368683,
0.22618839144706726,
0.12845350801944733,
-0.29863977432250977,
-0.091861292719841,
0.2543623149394989,
-0.020749198272824287,
0.27848780155181885,
-0.4246552288532257,
0.38469764590263367,
0.09340160340070724,
0.1392688900232315,
0.4423634707927704,
-0.27087026834487915,
0.06683087348937988,
0.3226248025894165,
0.02777186967432499,
-0.23967885971069336,
-0.1068030297756195,
0.11431541293859482,
0.0567224957048893,
-0.13262473046779633,
0.317436546087265,
0.39816388487815857,
0.06588403135538101,
-0.14058350026607513,
0.036622658371925354,
0.06292004138231277,
-0.14363758265972137,
0.05199224129319191,
0.6180892586708069,
0.01825869455933571,
0.21215316653251648,
0.06275222450494766,
0.22510571777820587,
-0.026153622195124626,
0.3331252336502075,
-0.157718226313591,
0.44614315032958984,
0.21345630288124084,
0.19085954129695892,
-0.327781617641449,
-0.5346595048904419,
-0.16996894776821136,
0.32047975063323975,
0.09440114349126816,
-0.025713007897138596,
-0.20863912999629974,
0.24226467311382294,
-0.18227149546146393,
0.15879733860492706,
-0.06975613534450531,
0.1305380016565323,
-0.03403614088892937,
-0.18388554453849792,
-0.13292376697063446,
-0.15208213031291962,
-0.5502743124961853,
0.1870926469564438,
-0.24702031910419464,
-0.12653781473636627,
0.19390389323234558,
0.1568966805934906,
-0.13298112154006958,
-0.3558677136898041,
-0.05096118152141571,
0.3773247003555298,
-0.34378570318222046,
-0.34007197618484497,
0.3964487612247467,
0.017727483063936234,
0.017270324751734734,
0.24953140318393707,
0.13938015699386597,
0.33069825172424316,
0.4204998314380646,
-0.36088860034942627,
-0.11548519879579544,
0.06133844703435898,
0.07740107923746109,
0.07656591385602951,
0.19793108105659485,
0.019553158432245255,
0.20653805136680603,
0.37098637223243713,
-0.01140994019806385,
-0.0139406006783247,
-0.03165686875581741,
0.15727077424526215,
-0.22972619533538818,
-0.0879768580198288,
0.2299749106168747,
-0.04816102236509323,
0.19987648725509644,
-0.1176382526755333,
0.02451004832983017,
-0.24237334728240967,
0.02178628370165825,
0.575178325176239,
0.010340024717152119,
0.10682881623506546,
0.05929098278284073,
-0.05274613946676254,
-0.18448787927627563,
0.3957372009754181,
0.6384896636009216,
0.3486230671405792,
-0.4021959900856018,
-0.19086429476737976,
-0.723846435546875,
0.05981111153960228,
-0.4783249497413635,
-0.2568788528442383,
0.5058496594429016,
-0.07415750622749329,
0.10183081030845642,
0.3912001848220825,
-0.09394044429063797,
0.2525460720062256,
0.1857648342847824,
0.2951032221317291,
-0.2620003819465637,
-0.2589086890220642,
0.41634559631347656,
0.20900410413742065,
-0.1786017268896103,
-0.49365875124931335,
-0.010533231310546398,
0.042623121291399,
-0.09226170182228088,
-0.1824922263622284,
0.041756272315979004,
0.14125743508338928,
0.3790919780731201,
0.1933654546737671,
0.05841178447008133,
0.7760942578315735,
-0.025724191218614578,
-0.06480161100625992,
-0.07898185402154922,
-0.6323973536491394,
-0.054236628115177155,
0.06052009016275406,
0.06495650112628937,
0.1296207159757614,
-0.10221341252326965,
-0.112685427069664,
-0.38247305154800415,
0.30614104866981506,
-0.1255754679441452,
-0.1483527272939682,
-0.2318834811449051,
-0.0043641612865030766,
-0.05085045471787453,
-0.06284959614276886,
-0.02813294529914856,
0.06108858808875084,
0.12244793027639389,
0.35521724820137024,
-0.1259651929140091,
-0.22627858817577362,
0.39892566204071045,
-0.05346246808767319,
-0.4505836069583893,
0.07258151471614838,
-0.1192314550280571,
0.33506497740745544,
-0.21185743808746338,
-0.4614241421222687,
0.19214048981666565,
0.22828267514705658,
-0.14500664174556732,
-0.3645925223827362,
0.035404354333877563,
0.14406464993953705,
0.10550975799560547,
-0.11913527548313141,
0.6080470085144043,
0.006813668180257082,
-0.1588614583015442,
0.10727068036794662,
-0.17213556170463562
] |
https://github.com/huggingface/datasets/issues/2059
|
Error while following docs to load the `ted_talks_iwslt` dataset
|
This has been fixed in #2064 by @mariosasko (thanks again !)
The fix is available on the master branch and we'll do a new release very soon :)
|
I am currently trying to load the `ted_talks_iwslt` dataset into google colab.
The [docs](https://huggingface.co/datasets/ted_talks_iwslt) mention the following way of doing so.
```python
dataset = load_dataset("ted_talks_iwslt", language_pair=("it", "pl"), year="2014")
```
Executing it results in the error attached below.
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-6-7dcc67154ef9> in <module>()
----> 1 dataset = load_dataset("ted_talks_iwslt", language_pair=("it", "pl"), year="2014")
4 frames
/usr/local/lib/python3.7/dist-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
730 hash=hash,
731 features=features,
--> 732 **config_kwargs,
733 )
734
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in __init__(self, writer_batch_size, *args, **kwargs)
927
928 def __init__(self, *args, writer_batch_size=None, **kwargs):
--> 929 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
930 # Batch size used by the ArrowWriter
931 # It defines the number of samples that are kept in memory before writing them
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs)
241 name,
242 custom_features=features,
--> 243 **config_kwargs,
244 )
245
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _create_builder_config(self, name, custom_features, **config_kwargs)
337 if "version" not in config_kwargs and hasattr(self, "VERSION") and self.VERSION:
338 config_kwargs["version"] = self.VERSION
--> 339 builder_config = self.BUILDER_CONFIG_CLASS(**config_kwargs)
340
341 # otherwise use the config_kwargs to overwrite the attributes
/root/.cache/huggingface/modules/datasets_modules/datasets/ted_talks_iwslt/024d06b1376b361e59245c5878ab8acf9a7576d765f2d0077f61751158e60914/ted_talks_iwslt.py in __init__(self, language_pair, year, **kwargs)
219 description=description,
220 version=datasets.Version("1.1.0", ""),
--> 221 **kwargs,
222 )
223
TypeError: __init__() got multiple values for keyword argument 'version'
```
How to resolve this?
PS: Thanks a lot @huggingface team for creating this great library!
| 28
|
Error while following docs to load the `ted_talks_iwslt` dataset
I am currently trying to load the `ted_talks_iwslt` dataset into google colab.
The [docs](https://huggingface.co/datasets/ted_talks_iwslt) mention the following way of doing so.
```python
dataset = load_dataset("ted_talks_iwslt", language_pair=("it", "pl"), year="2014")
```
Executing it results in the error attached below.
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-6-7dcc67154ef9> in <module>()
----> 1 dataset = load_dataset("ted_talks_iwslt", language_pair=("it", "pl"), year="2014")
4 frames
/usr/local/lib/python3.7/dist-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, script_version, use_auth_token, **config_kwargs)
730 hash=hash,
731 features=features,
--> 732 **config_kwargs,
733 )
734
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in __init__(self, writer_batch_size, *args, **kwargs)
927
928 def __init__(self, *args, writer_batch_size=None, **kwargs):
--> 929 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
930 # Batch size used by the ArrowWriter
931 # It defines the number of samples that are kept in memory before writing them
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs)
241 name,
242 custom_features=features,
--> 243 **config_kwargs,
244 )
245
/usr/local/lib/python3.7/dist-packages/datasets/builder.py in _create_builder_config(self, name, custom_features, **config_kwargs)
337 if "version" not in config_kwargs and hasattr(self, "VERSION") and self.VERSION:
338 config_kwargs["version"] = self.VERSION
--> 339 builder_config = self.BUILDER_CONFIG_CLASS(**config_kwargs)
340
341 # otherwise use the config_kwargs to overwrite the attributes
/root/.cache/huggingface/modules/datasets_modules/datasets/ted_talks_iwslt/024d06b1376b361e59245c5878ab8acf9a7576d765f2d0077f61751158e60914/ted_talks_iwslt.py in __init__(self, language_pair, year, **kwargs)
219 description=description,
220 version=datasets.Version("1.1.0", ""),
--> 221 **kwargs,
222 )
223
TypeError: __init__() got multiple values for keyword argument 'version'
```
How to resolve this?
PS: Thanks a lot @huggingface team for creating this great library!
This has been fixed in #2064 by @mariosasko (thanks again !)
The fix is available on the master branch and we'll do a new release very soon :)
|
[
-0.21400995552539825,
0.12844441831111908,
0.0485113151371479,
0.20013175904750824,
0.031290121376514435,
0.0933726355433464,
0.6712163686752319,
0.19440893828868866,
0.12410221993923187,
-0.0619182251393795,
-0.049576207995414734,
0.33810508251190186,
-0.2910546660423279,
0.41904035210609436,
0.07738834619522095,
-0.2890881597995758,
0.09974709153175354,
0.07318181544542313,
-0.055958494544029236,
0.20605060458183289,
-0.3254213035106659,
0.21240410208702087,
-0.41520655155181885,
0.012750577181577682,
-0.25466129183769226,
-0.20342060923576355,
0.04681381955742836,
0.2763826251029968,
-0.26611652970314026,
-0.3130570650100708,
0.3886881172657013,
-0.019433604553341866,
0.42278891801834106,
0.4655913710594177,
-0.0001143110785051249,
0.10717160254716873,
0.5188994407653809,
-0.13663914799690247,
-0.5111309885978699,
-0.3482477366924286,
-0.4282778203487396,
0.056435685604810715,
0.1920461505651474,
-0.14138568937778473,
0.04061070457100868,
0.19225776195526123,
0.15502393245697021,
0.07070401310920715,
0.24104484915733337,
0.40136608481407166,
0.1814023107290268,
0.38041290640830994,
0.2313809096813202,
-0.23516684770584106,
0.15459546446800232,
0.024850793182849884,
-0.09788819402456284,
0.5647633671760559,
-0.04707564413547516,
-0.11410117894411087,
0.128696471452713,
0.34895026683807373,
-0.1531592458486557,
0.1483009159564972,
0.22718143463134766,
0.03715334087610245,
-0.20694565773010254,
-0.25338807702064514,
0.16995318233966827,
0.14380040764808655,
0.655597448348999,
-0.24688635766506195,
-0.2574801445007324,
-0.03358893468976021,
0.009955460205674171,
-0.2570730149745941,
0.20090137422084808,
0.16026732325553894,
-0.08147545903921127,
0.04400746524333954,
-0.08265505731105804,
-0.020636575296521187,
-0.2317153364419937,
0.24862848222255707,
-0.11926815658807755,
0.37885960936546326,
-0.1296508014202118,
0.22923420369625092,
0.19096414744853973,
-0.1613064408302307,
0.4198671281337738,
0.06734586507081985,
-0.0003748783783521503,
0.12366557866334915,
-0.17200563848018646,
0.09205871820449829,
0.07430608570575714,
0.2679716944694519,
0.005041107535362244,
-0.1803123652935028,
-0.04619218781590462,
-0.17313525080680847,
0.07009507715702057,
0.3650496304035187,
0.41405847668647766,
0.17184191942214966,
0.03645572066307068,
0.2923623323440552,
0.2413598746061325,
0.35009682178497314,
-0.01868790201842785,
0.005767757538706064,
-0.2672670781612396,
-0.16435806453227997,
0.13001175224781036,
0.004981708247214556,
0.45909664034843445,
-0.042384278029203415,
-0.4038470685482025,
-0.00037666026037186384,
-0.3010183274745941,
0.08247107267379761,
0.0890626534819603,
0.37044572830200195,
0.02785566635429859,
-0.00011178338172612712,
0.20959581434726715,
0.18170106410980225,
-0.1293831169605255,
-0.04316691681742668,
-0.1425672322511673,
0.41911953687667847,
-0.13191474974155426,
0.14973710477352142,
0.2187040001153946,
0.07675878703594208,
0.1410081386566162,
-0.13793915510177612,
0.22206862270832062,
0.04464522749185562,
-0.026825828477740288,
-0.10824419558048248,
-0.17722737789154053,
0.28559792041778564,
0.1986791044473648,
0.11575774848461151,
0.2717033326625824,
-0.44622114300727844,
-0.2021680623292923,
0.1938810646533966,
-0.3336772322654724,
-0.438097208738327,
-0.24774926900863647,
0.1399911493062973,
-0.1422351598739624,
-0.08078170567750931,
-0.6888030171394348,
0.09705308824777603,
0.32038047909736633,
-0.23664873838424683,
-0.11768284440040588,
-0.34629788994789124,
-0.4640255570411682,
-0.17704302072525024,
0.10388956218957901,
0.6105263233184814,
-0.40280261635780334,
-0.10324431955814362,
-0.21073153614997864,
0.13067497313022614,
0.17038021981716156,
0.2542802393436432,
-0.30408012866973877,
0.43800532817840576,
-0.1264621913433075,
0.16866815090179443,
0.027214214205741882,
-0.21677543222904205,
-0.24424338340759277,
0.0688679963350296,
0.14411421120166779,
0.1390659362077713,
-0.10066266357898712,
-0.11116163432598114,
0.19637750089168549,
-0.11561712622642517,
0.4870835244655609,
0.2835546135902405,
-0.15320438146591187,
0.04930335283279419,
-0.17282365262508392,
-0.15911775827407837,
0.26521798968315125,
0.22183547914028168,
0.16024522483348846,
0.10630325227975845,
0.020408272743225098,
0.16329817473888397,
-0.07608644664287567,
-0.16157321631908417,
-0.10271955281496048,
0.10231507569551468,
0.3372313976287842,
0.04572056606411934,
-0.057675622403621674,
0.07024198770523071,
-0.6290011405944824,
0.11771470308303833,
-0.08998719602823257,
0.4876345694065094,
-0.23781488835811615,
-0.07815009355545044,
-0.3759538233280182,
0.2315170019865036,
-0.25866299867630005,
0.021196838468313217,
0.10279268026351929,
0.13754524290561676,
-0.3405931293964386,
0.10958585888147354,
0.002486256882548332,
0.3937724232673645,
-0.1800977736711502,
-0.0502062626183033,
-0.5546491146087646,
0.35066330432891846,
-0.24768686294555664,
-0.2609456479549408,
0.23602016270160675,
0.012841139920055866,
0.1512276828289032,
-0.08523748070001602,
-0.10424301773309708,
0.22084225714206696,
0.08386286348104477,
0.17825423181056976,
-0.04154294729232788,
0.04982825368642807,
0.08662272989749908,
-0.24700292944908142,
-0.05025374889373779,
0.28001442551612854,
0.3062436580657959,
-0.022259853780269623,
0.007283021695911884,
0.33882391452789307,
0.21452823281288147,
0.06179610267281532,
-0.10642877966165543,
0.0869063213467598,
0.1529313027858734,
-0.03219418600201607,
-0.015446286648511887,
-0.10980137437582016,
0.09408199042081833,
0.30776283144950867,
-0.21735110878944397,
-0.006536482367664576,
-0.3673062324523926,
0.10656856000423431,
0.347286581993103,
-0.040676090866327286,
0.10630760341882706,
0.20048607885837555,
-0.04580804705619812,
-0.2589941620826721,
0.15289413928985596,
-0.09880880266427994,
0.3416546881198883,
-0.0652160719037056,
-0.19084472954273224,
-0.020092226564884186,
0.09835441410541534,
0.00004189442188362591,
0.11114522069692612,
0.13056041300296783,
0.2045358270406723,
-0.021802427247166634,
0.1338372379541397,
0.04691122844815254,
-0.163605198264122,
-0.17263491451740265,
0.0007487507537007332,
0.4891520142555237,
-0.4590347707271576,
0.3445880115032196,
-0.08381420373916626,
-0.3980560004711151,
-0.11777898669242859,
-0.021256979554891586,
-0.09370923042297363,
-0.3758856952190399,
-0.14979936182498932,
0.4769558310508728,
-0.0163296926766634,
0.06470578163862228,
0.33187058568000793,
0.30939221382141113,
0.34348732233047485,
-0.1801777184009552,
-0.09137020260095596,
-0.3669152855873108,
-0.29368656873703003,
0.03223017230629921,
0.46657171845436096,
0.11508482694625854,
0.21030312776565552,
-0.2565611004829407,
-0.07440348714590073,
-0.1555277705192566,
-0.3767439126968384,
0.19776669144630432,
-0.282094269990921,
0.5574061274528503,
0.19279325008392334,
0.4036373496055603,
-0.4021497666835785,
-0.41708093881607056,
0.216542586684227,
-0.21592731773853302,
0.0228552408516407,
0.06007031723856926,
-0.2575766444206238,
-0.169545516371727,
-0.07805419713258743,
-0.21543677151203156,
-0.38806623220443726,
-0.33348479866981506,
0.04117973521351814,
0.02349090948700905,
0.10877859592437744,
0.4082963764667511,
0.10399532318115234,
0.08261459320783615,
0.500186026096344,
-0.12017900496721268,
-0.22048169374465942,
-0.18961194157600403,
0.3713565170764923,
-0.267973929643631,
-0.2996506094932556,
0.057434506714344025,
-0.11184541136026382,
-0.03453853726387024,
-0.1277008354663849,
-0.3979894816875458,
-0.16795356571674347,
-0.07960034906864166,
0.03434807062149048,
0.0870102271437645,
0.004683507606387138,
0.09030617028474808,
0.040993139147758484,
0.01650950126349926,
-0.14446048438549042,
-0.39719516038894653,
-0.044706765562295914,
0.2862803339958191,
0.18965201079845428,
0.3199494481086731,
0.152780219912529,
-0.24658498167991638,
0.4933197498321533,
0.12704072892665863,
-0.18350648880004883,
0.34924107789993286,
0.025061869993805885,
0.17540040612220764,
-0.3715401291847229,
-0.43684616684913635,
0.23761668801307678,
-0.1879223734140396,
-0.2280784696340561,
0.29793208837509155,
-0.2045455127954483,
-0.3474063277244568,
-0.2248646765947342,
0.043815065175294876,
-0.17799188196659088,
-0.43774721026420593,
0.2583797574043274,
0.33082082867622375,
0.1570838987827301,
0.07716540992259979,
-0.22236160933971405,
-0.23641009628772736,
-0.1451248824596405,
-0.00931665301322937,
0.4067433476448059,
0.03520835191011429,
0.02375355362892151,
0.2685161828994751,
-0.019639983773231506,
-0.6131853461265564,
0.26197272539138794,
0.35988911986351013,
0.2567755877971649,
-0.18409977853298187,
-0.006344886962324381,
0.003963362891227007,
0.08356965333223343,
0.10820010304450989,
-0.10933832824230194,
-0.01083778589963913,
0.15193535387516022,
0.03918439522385597,
-0.026343317702412605,
-0.07902716100215912,
-0.34495192766189575,
0.31723716855049133,
0.18619175255298615,
0.2938254475593567,
-0.3232550024986267,
0.10216455161571503,
0.2999723255634308,
0.15344269573688507,
-0.14502912759780884,
-0.14219456911087036,
-0.3056732416152954,
-0.5755371451377869,
-0.4369584918022156,
-0.1568484902381897,
0.22918559610843658,
0.30465835332870483,
-0.04450343921780586,
0.2770192325115204,
0.11607018113136292,
-0.024973809719085693,
0.2497914880514145,
0.19063130021095276,
0.2642819285392761,
0.2793494462966919,
-0.0030471496284008026,
-0.10238885879516602,
-0.08830512315034866,
0.3251290023326874,
0.574000358581543,
0.07658430188894272,
-0.3027883768081665,
0.15344451367855072,
-0.0007595669012516737,
-0.035131603479385376,
0.14200294017791748,
-0.22359627485275269,
-0.11904025077819824,
-0.07917273789644241,
0.1191912367939949,
0.09210794419050217,
0.3412063419818878,
0.11211073398590088,
0.004006574396044016,
-0.6925352811813354,
-0.49811801314353943,
0.4090968072414398,
-0.007239764090627432,
0.01927938684821129,
0.4975596070289612,
0.18674135208129883,
-0.29832735657691956,
0.3348345458507538,
0.12213742733001709,
0.8771525025367737,
-0.110994353890419,
0.1701841950416565,
0.704840898513794,
0.3051096498966217,
0.3482861816883087,
0.12937234342098236,
0.19868063926696777,
-0.2439756691455841,
-0.010168845765292645,
-0.17797717452049255,
-0.03473210334777832,
-0.10598533600568771,
-0.1789800524711609,
-0.5133099555969238,
0.1631123125553131,
-0.13956056535243988,
0.15329816937446594,
0.19626420736312866,
0.20550891757011414,
-0.08526420593261719,
-0.2222532331943512,
-0.4470222592353821,
0.13574321568012238,
-0.18915066123008728,
0.15252892673015594,
-0.16985076665878296,
-0.19998778402805328,
-0.04225235432386398,
-0.2237294614315033,
-0.443129301071167,
-0.01014148909598589,
-0.3017940819263458,
0.28785741329193115,
0.1285059154033661,
-0.3540186285972595,
0.38213589787483215,
0.08731413632631302,
0.20936889946460724,
-0.08612489700317383,
-0.26303744316101074,
0.07961469143629074,
-0.042287617921829224,
-0.18228662014007568,
-0.2927994430065155,
-0.0839490294456482,
0.3890058994293213,
0.01042218692600727,
-0.055534329265356064,
-0.10493619740009308,
-0.021770119667053223,
-0.3225516974925995,
-0.02104385383427143,
0.10696877539157867,
-0.11464114487171173,
-0.35907262563705444,
-0.18639706075191498,
-0.05656500533223152,
-0.08024483919143677,
-0.14241507649421692,
0.10516457259654999,
-0.023029347881674767,
-0.04527027904987335,
-0.058276232331991196,
0.0906594768166542,
-0.2889917194843292,
-0.013359665870666504,
0.21082273125648499,
-0.016983235254883766,
0.20195433497428894,
0.5059760212898254,
0.3231053650379181,
-0.14874497056007385,
-0.15561585128307343,
0.09032119810581207,
0.037092678248882294,
-0.17664507031440735,
0.36801594495773315,
0.07644879072904587,
0.1777413934469223,
-0.11764166504144669,
0.7146797180175781,
0.004975358955562115,
0.1166740134358406,
0.20426179468631744,
-0.6232945919036865,
-0.1541110724210739,
0.27463653683662415,
-0.299416184425354,
0.12327265739440918,
0.10352813452482224,
0.16691172122955322,
0.029756199568510056,
-0.29670029878616333,
-0.28170400857925415,
0.029734602198004723,
-0.34226465225219727,
0.11655755341053009,
0.5153738856315613,
-0.14487150311470032,
0.2689288556575775,
0.05185728147625923,
0.10478972643613815,
0.01063309982419014,
0.01300351694226265,
-0.21687158942222595,
-0.15621256828308105,
0.1366969496011734,
-0.0015322744147852063,
-0.27761131525039673,
-0.10310451686382294,
-0.023294825106859207,
-0.20414797961711884,
-0.12578924000263214,
0.23979896306991577,
0.2675267159938812,
-0.20158445835113525,
0.08861842006444931,
-0.05847423896193504,
0.09012944996356964,
0.028978737071156502,
0.2691268026828766,
0.057618457823991776,
0.362466961145401,
0.07588629424571991,
0.2564900815486908,
0.12191412597894669,
0.06191471964120865,
0.16047164797782898,
0.3062049448490143,
0.17935220897197723,
0.08066850155591965,
0.19381572306156158,
-0.46662187576293945,
0.08489643037319183,
-0.30389100313186646,
0.14713963866233826,
0.34802326560020447,
-0.34218019247055054,
0.02925039641559124,
0.15270131826400757,
0.0747290849685669,
-0.14069969952106476,
0.08473215997219086,
0.209751695394516,
-0.1218290627002716,
-0.03639295697212219,
0.337007999420166,
0.09527026861906052,
0.16075290739536285,
-0.13024239242076874,
-0.00916918646544218,
0.2860705256462097,
0.27424195408821106,
0.11559545993804932,
-0.03151168301701546,
-0.16545870900154114,
0.1139838844537735,
0.017962748184800148,
0.18741701543331146,
0.18310360610485077,
0.061497509479522705,
-0.12294258922338486,
0.19942888617515564,
-0.2232537418603897,
0.0014122487045824528,
0.28006669878959656,
-0.5291483402252197,
0.04188614338636398,
0.08801576495170593,
0.1026342585682869,
0.07133837044239044,
0.0034233673941344023,
0.40991532802581787,
-0.24650411307811737,
-0.08768834918737411,
-0.20129171013832092,
0.12133479118347168,
-0.17159982025623322,
-0.022015701979398727,
-0.10884706676006317,
-0.08512993156909943,
-0.31598660349845886,
0.13819947838783264,
-0.042683929204940796,
-0.09509027004241943,
0.20096123218536377,
0.3130768835544586,
-0.07814688235521317,
-0.2880219519138336,
0.061291374266147614,
0.2677081227302551,
-0.12422764301300049,
-0.14697563648223877,
0.23574887216091156,
0.01084099616855383,
-0.10583946853876114,
-0.05096772313117981,
0.2660689651966095,
0.7285702228546143,
0.31925222277641296,
-0.2551068365573883,
0.07731249928474426,
-0.06903734058141708,
-0.14059217274188995,
0.027850685641169548,
0.0032026413828134537,
0.18342383205890656,
0.1844136267900467,
0.32544103264808655,
0.16188375651836395,
-0.09495226293802261,
0.15286007523536682,
0.08831712603569031,
-0.07674842327833176,
-0.04484628885984421,
-0.0696902722120285,
-0.3189106285572052,
0.11084228754043579,
-0.24432004988193512,
0.05556819215416908,
-0.3604247570037842,
0.0488564595580101,
0.3898128271102905,
0.06134631857275963,
0.14078973233699799,
0.09845457226037979,
0.04323255270719528,
-0.08916065841913223,
0.7480607032775879,
0.42452868819236755,
0.57011878490448,
-0.46068286895751953,
-0.20809587836265564,
-0.45835503935813904,
0.1459202915430069,
-0.06892251968383789,
-0.04683775082230568,
-0.03262131288647652,
0.01077444851398468,
0.07430566102266312,
0.21332141757011414,
-0.19009806215763092,
-0.15466466546058655,
-0.10806987434625626,
-0.048900049179792404,
-0.12394137680530548,
-0.3723287284374237,
0.05557683855295181,
-0.16658106446266174,
-0.09454995393753052,
-0.3566226661205292,
-0.0013351566158235073,
-0.36932721734046936,
0.03915438801050186,
-0.3989435136318207,
-0.27288517355918884,
-0.01155068539083004,
-0.04818267002701759,
0.16782309114933014,
0.18031105399131775,
0.6532691717147827,
-0.15871262550354004,
-0.13813516497612,
-0.06256698817014694,
-0.369478315114975,
-0.12168873101472855,
0.17177124321460724,
0.02656538225710392,
0.4272368550300598,
-0.004724673926830292,
0.20101754367351532,
-0.4344121515750885,
0.33396875858306885,
0.01414482295513153,
-0.11431065201759338,
-0.40614911913871765,
0.037544239312410355,
-0.28081026673316956,
0.059157125651836395,
-0.005676062777638435,
0.09538669884204865,
-0.102174773812294,
0.14464952051639557,
-0.17786206305027008,
-0.3812478184700012,
0.7138023376464844,
-0.6547105312347412,
-0.5138834118843079,
-0.01732305996119976,
-0.19665147364139557,
-0.13080598413944244,
0.03360987454652786,
-0.7398447394371033,
0.1849343627691269,
0.049194712191820145,
-0.02367950603365898,
-0.36724838614463806,
0.17213311791419983,
0.10165838152170181,
0.09488026052713394,
-0.14820538461208344,
0.27442342042922974,
0.038956187665462494,
-0.18225376307964325,
-0.12327940762042999,
-0.2610340416431427
] |
https://github.com/huggingface/datasets/issues/2056
|
issue with opus100/en-fr dataset
|
@lhoestq I also deleted the cache and redownload the file and still the same issue, I appreciate any help on this. thanks
|
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
| 22
|
issue with opus100/en-fr dataset
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
@lhoestq I also deleted the cache and redownload the file and still the same issue, I appreciate any help on this. thanks
|
[
-0.4117374122142792,
-0.1673513799905777,
-0.01564525067806244,
0.3972491919994354,
0.11825664341449738,
0.08237657696008682,
0.1922522336244583,
0.2819980978965759,
-0.14314964413642883,
0.25799277424812317,
-0.24243609607219696,
-0.02489512227475643,
0.13222387433052063,
0.3834212124347687,
-0.23991388082504272,
-0.1725851148366928,
-0.07827144861221313,
0.12080908566713333,
-0.4165080487728119,
-0.12028901278972626,
-0.45594799518585205,
0.22388361394405365,
-0.1563929319381714,
0.22976739704608917,
0.3186609148979187,
-0.07025560736656189,
0.15184487402439117,
0.057933639734983444,
-0.290581613779068,
-0.393868088722229,
-0.15120141208171844,
-0.29925206303596497,
0.39835667610168457,
0.24866068363189697,
-0.00012405677989590913,
0.013962910510599613,
0.1579875946044922,
-0.03846229240298271,
0.08096027374267578,
-0.059218309819698334,
0.10003768652677536,
0.14733245968818665,
-0.028712425380945206,
-0.30514100193977356,
0.037181686609983444,
-0.2251007854938507,
-0.3708876371383667,
-0.2680359184741974,
0.28802207112312317,
0.3753129243850708,
0.0867759957909584,
0.5228815078735352,
0.3373614549636841,
-0.14620737731456757,
0.1830139309167862,
-0.042298462241888046,
0.05866168811917305,
-0.06936082988977432,
0.32348009943962097,
-0.22807659208774567,
0.36842453479766846,
0.29935115575790405,
-0.11020451784133911,
-0.13651463389396667,
0.22037602961063385,
-0.25636574625968933,
0.6804651618003845,
-0.5535479187965393,
0.01111686136573553,
0.3440341353416443,
0.07399079203605652,
0.023066457360982895,
-0.07224708795547485,
0.028433624655008316,
-0.014741829596459866,
-0.8122333884239197,
-0.09168184548616409,
0.11365081369876862,
-0.042663417756557465,
0.16671200096607208,
-0.3281247019767761,
0.05663517117500305,
0.08465038239955902,
0.18013499677181244,
0.034303583204746246,
0.3327212631702423,
0.006103610619902611,
0.2988554835319519,
0.25027230381965637,
-0.2295202910900116,
-0.40942227840423584,
0.2705807685852051,
-0.10853216052055359,
0.287166029214859,
-0.4670937657356262,
-0.043989237397909164,
0.07007364928722382,
-0.13623705506324768,
0.49467217922210693,
0.21325618028640747,
-0.513116180896759,
-0.16267961263656616,
0.4100394546985626,
-0.006745944265276194,
0.2849922478199005,
0.2695944607257843,
-0.011114894412457943,
0.02303210273385048,
0.20296618342399597,
0.02152697555720806,
0.12237739562988281,
-0.05726482719182968,
-0.04050134867429733,
-0.29401224851608276,
-0.2561846375465393,
-0.07253240048885345,
0.13846446573734283,
-0.4892800450325012,
-0.24090173840522766,
0.3880996108055115,
-0.3146696984767914,
-0.05952981486916542,
0.5197179913520813,
0.33393093943595886,
0.1966288536787033,
-0.11512981355190277,
-0.092835932970047,
0.2790853679180145,
-0.3406355082988739,
0.002183399396017194,
-0.01806965470314026,
-0.03179829940199852,
-0.03664238005876541,
0.015990937128663063,
-0.033779654651880264,
-0.6434465050697327,
0.2684483528137207,
0.16194181144237518,
0.5190966129302979,
-0.4269465506076813,
0.11982414871454239,
-0.21992464363574982,
-0.016850942745804787,
0.27759867906570435,
-0.057195160537958145,
0.15401217341423035,
0.36323273181915283,
0.003250730223953724,
-0.059038665145635605,
0.05319290608167648,
-0.46135413646698,
-0.40597453713417053,
-0.34449008107185364,
0.04951008781790733,
-0.1387336701154709,
0.4477998912334442,
0.17568917572498322,
-0.016650836914777756,
0.4423443078994751,
-0.18727010488510132,
0.20435144007205963,
-0.18262778222560883,
-0.30206039547920227,
0.051863230764865875,
0.38997456431388855,
0.13991977274417877,
0.026558293029665947,
0.14844143390655518,
0.21942466497421265,
0.21275343000888824,
0.3668293058872223,
0.518698513507843,
-0.272702693939209,
-0.001518914825282991,
-0.4783475995063782,
0.23124846816062927,
0.0005189551156945527,
-0.46240299940109253,
-0.24266792833805084,
-0.12475135922431946,
-0.2872532904148102,
-0.29446569085121155,
0.05536546930670738,
-0.17813844978809357,
0.6758922338485718,
-0.04526740312576294,
0.21899008750915527,
0.0732167512178421,
0.045953329652547836,
-0.18631960451602936,
-0.25548550486564636,
0.00772185530513525,
0.3513787090778351,
-0.1988130360841751,
0.008261148817837238,
-0.023290328681468964,
-0.04938158020377159,
-0.14823444187641144,
0.11013396084308624,
-0.060543302446603775,
0.13232421875,
0.2601272463798523,
0.21079379320144653,
0.07425974309444427,
0.2487873136997223,
-0.06112442538142204,
0.15357787907123566,
-0.050814684480428696,
-0.46939539909362793,
0.2518238425254822,
-0.07836098223924637,
0.007922925986349583,
-0.3655869960784912,
0.09754893183708191,
-0.10309811681509018,
-0.26556795835494995,
-0.003169952891767025,
-0.21165454387664795,
0.11131016165018082,
0.10974995791912079,
0.1644177883863449,
-0.19832992553710938,
-0.0019176308996975422,
0.22059980034828186,
-0.3111981749534607,
0.39915841817855835,
-0.24424339830875397,
-0.01849062740802765,
0.029028795659542084,
0.35713115334510803,
0.39084234833717346,
-0.27590179443359375,
-0.16444474458694458,
0.23479507863521576,
0.02237054519355297,
-0.29064837098121643,
-0.28947579860687256,
0.31550323963165283,
0.16784515976905823,
-0.3867722451686859,
0.002416864736005664,
-0.28256916999816895,
0.030420390889048576,
-0.03282107040286064,
0.19351832568645477,
0.527335524559021,
-0.1704331934452057,
0.39848268032073975,
-0.2610984742641449,
0.11004029959440231,
0.025460490956902504,
0.1451854705810547,
0.00047463641385547817,
-0.17782062292099,
0.3125905692577362,
0.3107436001300812,
0.11199995875358582,
0.06752679497003555,
-0.12413443624973297,
-0.05015649273991585,
0.29827645421028137,
0.011672348715364933,
0.10620634257793427,
0.049867067486047745,
-0.0823502242565155,
-0.018343739211559296,
0.15081116557121277,
-0.29985809326171875,
0.1713980883359909,
0.13587628304958344,
-0.05479719489812851,
0.012238268740475178,
-0.0049689882434904575,
-0.01210802886635065,
0.25571775436401367,
0.02125248685479164,
0.3840565085411072,
0.1920323520898819,
0.00134890282060951,
-0.08902867883443832,
-0.15624798834323883,
-0.1054883822798729,
0.12330593168735504,
0.4478662610054016,
-0.2748390734195709,
0.0627053827047348,
-0.08543304353952408,
0.01974090002477169,
-0.12271352857351303,
-0.3330763876438141,
-0.6193646192550659,
-0.18884065747261047,
0.11142870783805847,
0.03654039278626442,
0.030960166826844215,
0.05615678057074547,
0.14872784912586212,
-0.07035553455352783,
0.2286866158246994,
0.1457810252904892,
0.1693616509437561,
-0.06298232078552246,
-0.18236106634140015,
-0.1482488065958023,
0.1953941136598587,
-0.01633778028190136,
0.047110091894865036,
0.13649988174438477,
-0.09677186608314514,
-0.03259601071476936,
-0.5894057750701904,
0.31065234541893005,
-0.05681292340159416,
0.3301674425601959,
0.049123119562864304,
0.11473555117845535,
-0.06338682770729065,
-0.1362311840057373,
0.19130119681358337,
0.09951227903366089,
-0.21204347908496857,
0.08224718272686005,
-0.0835593044757843,
0.2379559874534607,
-0.13266776502132416,
-0.09505429863929749,
-0.23275357484817505,
-0.4111003577709198,
0.29145172238349915,
-0.19135940074920654,
0.05871456488966942,
0.27945148944854736,
-0.15641480684280396,
-0.020588917657732964,
0.07979770004749298,
-0.13913056254386902,
-0.3224678337574005,
0.10247301310300827,
0.3471241891384125,
-0.2841896116733551,
-0.2615582048892975,
-0.23280350863933563,
0.17448744177818298,
0.21096406877040863,
-0.10368366539478302,
-0.41394537687301636,
-0.02161014825105667,
-0.12470473349094391,
0.07976087927818298,
-0.23714369535446167,
0.14708910882472992,
0.3746407926082611,
-0.14691393077373505,
-0.0013893789146095514,
-0.10652287304401398,
-0.12483332306146622,
0.18233691155910492,
-0.09005297720432281,
0.005625572055578232,
-0.04081582650542259,
0.7449668049812317,
-0.14146244525909424,
0.5462420582771301,
0.11663868278265,
0.046352535486221313,
0.3334830105304718,
-0.18536044657230377,
0.3638513386249542,
-0.09257938712835312,
-0.3035503625869751,
0.2539813816547394,
0.2515977919101715,
-0.23978833854198456,
0.16352543234825134,
-0.16276949644088745,
0.09147959202528,
-0.06578873842954636,
-0.10140658915042877,
0.05493925139307976,
-0.28107988834381104,
-0.11901534348726273,
0.4435959458351135,
0.3401423692703247,
0.07350552082061768,
0.41277241706848145,
-0.0851290225982666,
-0.157809317111969,
0.10607733577489853,
-0.03022722341120243,
-0.03831227123737335,
0.14158883690834045,
-0.6263704299926758,
-0.4313117563724518,
-0.5289626717567444,
0.415520578622818,
0.07415804266929626,
0.7487245798110962,
-0.18716727197170258,
0.10062401741743088,
0.0712517574429512,
0.06396183371543884,
0.7198225259780884,
0.20710813999176025,
-0.021301059052348137,
-0.03991708904504776,
-0.14771726727485657,
-0.24231040477752686,
-0.14080020785331726,
-0.02783842943608761,
0.5661052465438843,
0.024069467559456825,
0.6595684289932251,
-0.2567322254180908,
-0.2979440689086914,
0.39163216948509216,
0.13204912841320038,
-0.167975053191185,
-0.06061285361647606,
-0.19553585350513458,
-0.3098437488079071,
-0.26393812894821167,
0.3379356563091278,
0.19405461847782135,
0.5438355207443237,
-0.12344861030578613,
-0.01589033007621765,
0.16314370930194855,
-0.1943347305059433,
0.10991379618644714,
0.16430020332336426,
0.4007403552532196,
0.07970428466796875,
0.08985644578933716,
0.2112817019224167,
-0.05589471012353897,
0.59501713514328,
0.10406846553087234,
-0.060418762266635895,
-0.09154077619314194,
0.19391317665576935,
0.013167348690330982,
0.32541602849960327,
0.13910195231437683,
0.09675745666027069,
0.10802078992128372,
0.1463075876235962,
0.383047491312027,
-0.2549983859062195,
-0.027253780514001846,
0.21922172605991364,
0.2564145624637604,
-0.3760877251625061,
0.0446612648665905,
0.05866873636841774,
0.05657999590039253,
-0.01721072383224964,
0.2615415155887604,
0.3256263732910156,
-0.16925548017024994,
0.19657376408576965,
0.43724626302719116,
1.125348687171936,
-0.29563361406326294,
-0.07804092019796371,
-0.12701843678951263,
-0.33612003922462463,
0.6042557954788208,
-0.2630302608013153,
-0.04624972492456436,
-0.3473004400730133,
-0.12856005132198334,
0.029081501066684723,
-0.18670134246349335,
-0.009771076031029224,
-0.2190956175327301,
-0.09976603835821152,
0.15271376073360443,
-0.2251032143831253,
-0.15809527039527893,
-0.218285471200943,
0.22694610059261322,
0.32245752215385437,
-0.23322048783302307,
-0.15305323898792267,
-0.03276841714978218,
-0.06460624188184738,
0.17142760753631592,
-0.21025337278842926,
-0.17223139107227325,
0.19709955155849457,
-0.23681873083114624,
-0.22999534010887146,
-0.14150860905647278,
-0.4525684416294098,
0.29463833570480347,
0.020806623622775078,
-0.3227229714393616,
0.3300318717956543,
0.13362082839012146,
0.12281586974859238,
0.43253037333488464,
-0.22025801241397858,
-0.02687695436179638,
-0.006368045229464769,
-0.10939355939626694,
-0.08678978681564331,
0.06745381653308868,
0.04466698318719864,
-0.11347632110118866,
-0.41933488845825195,
0.1008554995059967,
-0.04158575087785721,
-0.037232499569654465,
-0.11821627616882324,
0.15145398676395416,
0.1590326875448227,
-0.23313578963279724,
0.31063374876976013,
0.029277032241225243,
-0.10713905841112137,
-0.23913054168224335,
-0.06054949387907982,
0.1102108359336853,
-0.43077918887138367,
0.01954520307481289,
0.09354855120182037,
-0.4853806495666504,
0.008994878269731998,
0.4414260685443878,
-0.021724024787545204,
-0.12563352286815643,
0.5604749321937561,
0.3870258331298828,
-0.08330083638429642,
-0.08913151919841766,
0.06656011193990707,
0.3794836401939392,
-0.3428507447242737,
-0.02067885734140873,
-0.026881080120801926,
0.03663838654756546,
-0.03188502416014671,
0.07719406485557556,
0.14659078419208527,
-0.00556681165471673,
-0.10012522339820862,
-0.49277499318122864,
-0.45021864771842957,
0.10503583401441574,
-0.14111937582492828,
0.0919768288731575,
0.17323075234889984,
0.05336887016892433,
-0.21244332194328308,
-0.061937060207128525,
-0.15852174162864685,
-0.06348571926355362,
-0.4207339286804199,
0.23240827023983002,
0.10087387263774872,
-0.43121543526649475,
0.03964369371533394,
-0.023309996351599693,
-0.09351987391710281,
0.19028303027153015,
-0.3172392249107361,
-0.002802469301968813,
-0.15535447001457214,
0.23936232924461365,
-0.09555027633905411,
-0.5256471633911133,
0.0028380276635289192,
-0.14026311039924622,
-0.12862467765808105,
-0.14502453804016113,
-0.06846451014280319,
0.1721588373184204,
0.06603243201971054,
-0.28441163897514343,
0.27853086590766907,
-0.25254666805267334,
-0.18024812638759613,
0.07354968786239624,
0.2667730748653412,
0.18055109679698944,
-0.03122379258275032,
0.42722973227500916,
0.04696930572390556,
-0.1794167160987854,
-0.444358766078949,
0.08446444571018219,
0.24035975337028503,
-0.3084861636161804,
0.0818074494600296,
-0.22725556790828705,
-0.10024089366197586,
0.4624744951725006,
0.439532607793808,
0.39526209235191345,
0.005478729028254747,
-0.06401035189628601,
0.259330689907074,
0.06969135999679565,
-0.16714544594287872,
-0.13681185245513916,
0.2515745759010315,
-0.004936792887747288,
-0.06902987509965897,
0.42978736758232117,
0.2808299660682678,
0.09137901663780212,
0.06304425746202469,
0.0423075333237648,
0.26335984468460083,
0.14250780642032623,
0.08284610509872437,
0.128472238779068,
-0.0913553237915039,
-0.03809013217687607,
0.2750045657157898,
-0.06232118606567383,
0.4039415121078491,
0.32543811202049255,
-0.19078271090984344,
0.12841889262199402,
0.4210970103740692,
0.12743109464645386,
0.136622816324234,
-0.26246288418769836,
-0.11232403665781021,
0.2244540899991989,
0.23466871678829193,
0.11280590295791626,
-0.11134439706802368,
0.7335336208343506,
-0.08745097368955612,
-0.3345426321029663,
-0.025738202035427094,
0.45917242765426636,
-0.27478355169296265,
-0.0890226736664772,
-0.1561344861984253,
-0.13246719539165497,
-0.032246485352516174,
-0.06878943741321564,
0.1778811514377594,
0.05892562493681908,
-0.022229770198464394,
0.02339266613125801,
-0.22225609421730042,
-0.31031888723373413,
-0.545028805732727,
0.5357752442359924,
-0.029344024136662483,
-0.32211872935295105,
0.33281394839286804,
0.3862287402153015,
-0.10732758790254593,
0.16935379803180695,
0.3321024477481842,
0.5232440829277039,
0.232700377702713,
-0.10366339981555939,
-0.07962509244680405,
0.06393535435199738,
0.1587664783000946,
-0.03278421610593796,
-0.08394818753004074,
0.0879548117518425,
0.1356116682291031,
0.08774524927139282,
-0.06674506515264511,
-0.052109260112047195,
-0.04493854194879532,
0.20361807942390442,
0.05954180657863617,
0.09976494312286377,
-0.5444079041481018,
-0.15487299859523773,
-0.13108842074871063,
-0.3298226296901703,
0.028838733211159706,
-0.1454806923866272,
0.28424590826034546,
0.30095428228378296,
-0.0438532680273056,
0.03395428508520126,
0.03676576167345047,
0.002388402121141553,
-0.18562453985214233,
0.4092006981372833,
0.40662604570388794,
0.011280864477157593,
-0.26852041482925415,
-0.1344897300004959,
-0.40660014748573303,
0.2426147311925888,
-0.31824833154678345,
-0.10872964560985565,
0.41685953736305237,
0.15101610124111176,
0.038253530859947205,
0.045190367847681046,
0.4998105764389038,
-0.24657052755355835,
-0.1361924707889557,
0.21101443469524384,
-0.32377952337265015,
-0.03807700052857399,
-0.21836724877357483,
-0.058094363659620285,
0.15897533297538757,
0.013718248344957829,
0.32723143696784973,
-0.057101208716630936,
-0.07973600924015045,
-0.3092332184314728,
0.22657544910907745,
-0.3428739905357361,
-0.09711423516273499,
0.18312402069568634,
0.409259170293808,
0.26037323474884033,
0.14658521115779877,
0.08634726703166962,
0.1715346723794937,
-0.298376202583313,
-0.05593830347061157,
0.2614245116710663,
0.025976983830332756,
0.018820110708475113,
-0.12802377343177795,
-0.7292582392692566,
-0.4894466996192932,
0.16183100640773773,
0.018607189878821373,
-0.21612095832824707,
-0.25871098041534424,
0.3220772445201874,
-0.08697587251663208,
0.01817421242594719,
0.14647720754146576,
0.3136507570743561,
0.39151254296302795,
0.2425844818353653,
-0.26417139172554016,
-0.414734810590744,
0.6981277465820312,
-0.5851542353630066,
-0.20280373096466064,
-0.2027405947446823,
0.2233407348394394,
0.5235942006111145,
-0.37091314792633057,
-0.31158775091171265,
-0.05131782963871956,
0.21268031001091003,
0.23461109399795532,
-0.43005672097206116,
-0.04790681600570679,
-0.27599072456359863,
-0.08745477348566055,
0.026260478422045708,
-0.02552676759660244,
0.16173604130744934,
-0.2601887583732605,
0.26983362436294556,
-0.047677889466285706
] |
https://github.com/huggingface/datasets/issues/2056
|
issue with opus100/en-fr dataset
|
Here please find the minimal code to reproduce the issue @lhoestq note this only happens with MT5TokenizerFast
```
from datasets import load_dataset
from transformers import MT5TokenizerFast
def get_tokenized_dataset(dataset_name, dataset_config_name, tokenizer):
datasets = load_dataset(dataset_name, dataset_config_name, script_version="master")
column_names = datasets["train"].column_names
text_column_name = "translation"
def process_dataset(datasets):
def process_function(examples):
lang = "fr"
return {"src_texts": [example[lang] for example in examples[text_column_name]]}
datasets = datasets.map(
process_function,
batched=True,
num_proc=None,
remove_columns=column_names,
load_from_cache_file=True,
)
return datasets
datasets = process_dataset(datasets)
text_column_name = "src_texts"
column_names = ["src_texts"]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=None,
remove_columns=column_names,
load_from_cache_file=True
)
if __name__ == "__main__":
tokenizer_kwargs = {
"cache_dir": None,
"use_fast": True,
"revision": "main",
"use_auth_token": None
}
tokenizer = MT5TokenizerFast.from_pretrained("google/mt5-small", **tokenizer_kwargs)
get_tokenized_dataset(dataset_name="opus100", dataset_config_name="en-fr", tokenizer=tokenizer)
~
```
|
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
| 114
|
issue with opus100/en-fr dataset
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
Here please find the minimal code to reproduce the issue @lhoestq note this only happens with MT5TokenizerFast
```
from datasets import load_dataset
from transformers import MT5TokenizerFast
def get_tokenized_dataset(dataset_name, dataset_config_name, tokenizer):
datasets = load_dataset(dataset_name, dataset_config_name, script_version="master")
column_names = datasets["train"].column_names
text_column_name = "translation"
def process_dataset(datasets):
def process_function(examples):
lang = "fr"
return {"src_texts": [example[lang] for example in examples[text_column_name]]}
datasets = datasets.map(
process_function,
batched=True,
num_proc=None,
remove_columns=column_names,
load_from_cache_file=True,
)
return datasets
datasets = process_dataset(datasets)
text_column_name = "src_texts"
column_names = ["src_texts"]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=None,
remove_columns=column_names,
load_from_cache_file=True
)
if __name__ == "__main__":
tokenizer_kwargs = {
"cache_dir": None,
"use_fast": True,
"revision": "main",
"use_auth_token": None
}
tokenizer = MT5TokenizerFast.from_pretrained("google/mt5-small", **tokenizer_kwargs)
get_tokenized_dataset(dataset_name="opus100", dataset_config_name="en-fr", tokenizer=tokenizer)
~
```
|
[
-0.4117374122142792,
-0.1673513799905777,
-0.01564525067806244,
0.3972491919994354,
0.11825664341449738,
0.08237657696008682,
0.1922522336244583,
0.2819980978965759,
-0.14314964413642883,
0.25799277424812317,
-0.24243609607219696,
-0.02489512227475643,
0.13222387433052063,
0.3834212124347687,
-0.23991388082504272,
-0.1725851148366928,
-0.07827144861221313,
0.12080908566713333,
-0.4165080487728119,
-0.12028901278972626,
-0.45594799518585205,
0.22388361394405365,
-0.1563929319381714,
0.22976739704608917,
0.3186609148979187,
-0.07025560736656189,
0.15184487402439117,
0.057933639734983444,
-0.290581613779068,
-0.393868088722229,
-0.15120141208171844,
-0.29925206303596497,
0.39835667610168457,
0.24866068363189697,
-0.00012405677989590913,
0.013962910510599613,
0.1579875946044922,
-0.03846229240298271,
0.08096027374267578,
-0.059218309819698334,
0.10003768652677536,
0.14733245968818665,
-0.028712425380945206,
-0.30514100193977356,
0.037181686609983444,
-0.2251007854938507,
-0.3708876371383667,
-0.2680359184741974,
0.28802207112312317,
0.3753129243850708,
0.0867759957909584,
0.5228815078735352,
0.3373614549636841,
-0.14620737731456757,
0.1830139309167862,
-0.042298462241888046,
0.05866168811917305,
-0.06936082988977432,
0.32348009943962097,
-0.22807659208774567,
0.36842453479766846,
0.29935115575790405,
-0.11020451784133911,
-0.13651463389396667,
0.22037602961063385,
-0.25636574625968933,
0.6804651618003845,
-0.5535479187965393,
0.01111686136573553,
0.3440341353416443,
0.07399079203605652,
0.023066457360982895,
-0.07224708795547485,
0.028433624655008316,
-0.014741829596459866,
-0.8122333884239197,
-0.09168184548616409,
0.11365081369876862,
-0.042663417756557465,
0.16671200096607208,
-0.3281247019767761,
0.05663517117500305,
0.08465038239955902,
0.18013499677181244,
0.034303583204746246,
0.3327212631702423,
0.006103610619902611,
0.2988554835319519,
0.25027230381965637,
-0.2295202910900116,
-0.40942227840423584,
0.2705807685852051,
-0.10853216052055359,
0.287166029214859,
-0.4670937657356262,
-0.043989237397909164,
0.07007364928722382,
-0.13623705506324768,
0.49467217922210693,
0.21325618028640747,
-0.513116180896759,
-0.16267961263656616,
0.4100394546985626,
-0.006745944265276194,
0.2849922478199005,
0.2695944607257843,
-0.011114894412457943,
0.02303210273385048,
0.20296618342399597,
0.02152697555720806,
0.12237739562988281,
-0.05726482719182968,
-0.04050134867429733,
-0.29401224851608276,
-0.2561846375465393,
-0.07253240048885345,
0.13846446573734283,
-0.4892800450325012,
-0.24090173840522766,
0.3880996108055115,
-0.3146696984767914,
-0.05952981486916542,
0.5197179913520813,
0.33393093943595886,
0.1966288536787033,
-0.11512981355190277,
-0.092835932970047,
0.2790853679180145,
-0.3406355082988739,
0.002183399396017194,
-0.01806965470314026,
-0.03179829940199852,
-0.03664238005876541,
0.015990937128663063,
-0.033779654651880264,
-0.6434465050697327,
0.2684483528137207,
0.16194181144237518,
0.5190966129302979,
-0.4269465506076813,
0.11982414871454239,
-0.21992464363574982,
-0.016850942745804787,
0.27759867906570435,
-0.057195160537958145,
0.15401217341423035,
0.36323273181915283,
0.003250730223953724,
-0.059038665145635605,
0.05319290608167648,
-0.46135413646698,
-0.40597453713417053,
-0.34449008107185364,
0.04951008781790733,
-0.1387336701154709,
0.4477998912334442,
0.17568917572498322,
-0.016650836914777756,
0.4423443078994751,
-0.18727010488510132,
0.20435144007205963,
-0.18262778222560883,
-0.30206039547920227,
0.051863230764865875,
0.38997456431388855,
0.13991977274417877,
0.026558293029665947,
0.14844143390655518,
0.21942466497421265,
0.21275343000888824,
0.3668293058872223,
0.518698513507843,
-0.272702693939209,
-0.001518914825282991,
-0.4783475995063782,
0.23124846816062927,
0.0005189551156945527,
-0.46240299940109253,
-0.24266792833805084,
-0.12475135922431946,
-0.2872532904148102,
-0.29446569085121155,
0.05536546930670738,
-0.17813844978809357,
0.6758922338485718,
-0.04526740312576294,
0.21899008750915527,
0.0732167512178421,
0.045953329652547836,
-0.18631960451602936,
-0.25548550486564636,
0.00772185530513525,
0.3513787090778351,
-0.1988130360841751,
0.008261148817837238,
-0.023290328681468964,
-0.04938158020377159,
-0.14823444187641144,
0.11013396084308624,
-0.060543302446603775,
0.13232421875,
0.2601272463798523,
0.21079379320144653,
0.07425974309444427,
0.2487873136997223,
-0.06112442538142204,
0.15357787907123566,
-0.050814684480428696,
-0.46939539909362793,
0.2518238425254822,
-0.07836098223924637,
0.007922925986349583,
-0.3655869960784912,
0.09754893183708191,
-0.10309811681509018,
-0.26556795835494995,
-0.003169952891767025,
-0.21165454387664795,
0.11131016165018082,
0.10974995791912079,
0.1644177883863449,
-0.19832992553710938,
-0.0019176308996975422,
0.22059980034828186,
-0.3111981749534607,
0.39915841817855835,
-0.24424339830875397,
-0.01849062740802765,
0.029028795659542084,
0.35713115334510803,
0.39084234833717346,
-0.27590179443359375,
-0.16444474458694458,
0.23479507863521576,
0.02237054519355297,
-0.29064837098121643,
-0.28947579860687256,
0.31550323963165283,
0.16784515976905823,
-0.3867722451686859,
0.002416864736005664,
-0.28256916999816895,
0.030420390889048576,
-0.03282107040286064,
0.19351832568645477,
0.527335524559021,
-0.1704331934452057,
0.39848268032073975,
-0.2610984742641449,
0.11004029959440231,
0.025460490956902504,
0.1451854705810547,
0.00047463641385547817,
-0.17782062292099,
0.3125905692577362,
0.3107436001300812,
0.11199995875358582,
0.06752679497003555,
-0.12413443624973297,
-0.05015649273991585,
0.29827645421028137,
0.011672348715364933,
0.10620634257793427,
0.049867067486047745,
-0.0823502242565155,
-0.018343739211559296,
0.15081116557121277,
-0.29985809326171875,
0.1713980883359909,
0.13587628304958344,
-0.05479719489812851,
0.012238268740475178,
-0.0049689882434904575,
-0.01210802886635065,
0.25571775436401367,
0.02125248685479164,
0.3840565085411072,
0.1920323520898819,
0.00134890282060951,
-0.08902867883443832,
-0.15624798834323883,
-0.1054883822798729,
0.12330593168735504,
0.4478662610054016,
-0.2748390734195709,
0.0627053827047348,
-0.08543304353952408,
0.01974090002477169,
-0.12271352857351303,
-0.3330763876438141,
-0.6193646192550659,
-0.18884065747261047,
0.11142870783805847,
0.03654039278626442,
0.030960166826844215,
0.05615678057074547,
0.14872784912586212,
-0.07035553455352783,
0.2286866158246994,
0.1457810252904892,
0.1693616509437561,
-0.06298232078552246,
-0.18236106634140015,
-0.1482488065958023,
0.1953941136598587,
-0.01633778028190136,
0.047110091894865036,
0.13649988174438477,
-0.09677186608314514,
-0.03259601071476936,
-0.5894057750701904,
0.31065234541893005,
-0.05681292340159416,
0.3301674425601959,
0.049123119562864304,
0.11473555117845535,
-0.06338682770729065,
-0.1362311840057373,
0.19130119681358337,
0.09951227903366089,
-0.21204347908496857,
0.08224718272686005,
-0.0835593044757843,
0.2379559874534607,
-0.13266776502132416,
-0.09505429863929749,
-0.23275357484817505,
-0.4111003577709198,
0.29145172238349915,
-0.19135940074920654,
0.05871456488966942,
0.27945148944854736,
-0.15641480684280396,
-0.020588917657732964,
0.07979770004749298,
-0.13913056254386902,
-0.3224678337574005,
0.10247301310300827,
0.3471241891384125,
-0.2841896116733551,
-0.2615582048892975,
-0.23280350863933563,
0.17448744177818298,
0.21096406877040863,
-0.10368366539478302,
-0.41394537687301636,
-0.02161014825105667,
-0.12470473349094391,
0.07976087927818298,
-0.23714369535446167,
0.14708910882472992,
0.3746407926082611,
-0.14691393077373505,
-0.0013893789146095514,
-0.10652287304401398,
-0.12483332306146622,
0.18233691155910492,
-0.09005297720432281,
0.005625572055578232,
-0.04081582650542259,
0.7449668049812317,
-0.14146244525909424,
0.5462420582771301,
0.11663868278265,
0.046352535486221313,
0.3334830105304718,
-0.18536044657230377,
0.3638513386249542,
-0.09257938712835312,
-0.3035503625869751,
0.2539813816547394,
0.2515977919101715,
-0.23978833854198456,
0.16352543234825134,
-0.16276949644088745,
0.09147959202528,
-0.06578873842954636,
-0.10140658915042877,
0.05493925139307976,
-0.28107988834381104,
-0.11901534348726273,
0.4435959458351135,
0.3401423692703247,
0.07350552082061768,
0.41277241706848145,
-0.0851290225982666,
-0.157809317111969,
0.10607733577489853,
-0.03022722341120243,
-0.03831227123737335,
0.14158883690834045,
-0.6263704299926758,
-0.4313117563724518,
-0.5289626717567444,
0.415520578622818,
0.07415804266929626,
0.7487245798110962,
-0.18716727197170258,
0.10062401741743088,
0.0712517574429512,
0.06396183371543884,
0.7198225259780884,
0.20710813999176025,
-0.021301059052348137,
-0.03991708904504776,
-0.14771726727485657,
-0.24231040477752686,
-0.14080020785331726,
-0.02783842943608761,
0.5661052465438843,
0.024069467559456825,
0.6595684289932251,
-0.2567322254180908,
-0.2979440689086914,
0.39163216948509216,
0.13204912841320038,
-0.167975053191185,
-0.06061285361647606,
-0.19553585350513458,
-0.3098437488079071,
-0.26393812894821167,
0.3379356563091278,
0.19405461847782135,
0.5438355207443237,
-0.12344861030578613,
-0.01589033007621765,
0.16314370930194855,
-0.1943347305059433,
0.10991379618644714,
0.16430020332336426,
0.4007403552532196,
0.07970428466796875,
0.08985644578933716,
0.2112817019224167,
-0.05589471012353897,
0.59501713514328,
0.10406846553087234,
-0.060418762266635895,
-0.09154077619314194,
0.19391317665576935,
0.013167348690330982,
0.32541602849960327,
0.13910195231437683,
0.09675745666027069,
0.10802078992128372,
0.1463075876235962,
0.383047491312027,
-0.2549983859062195,
-0.027253780514001846,
0.21922172605991364,
0.2564145624637604,
-0.3760877251625061,
0.0446612648665905,
0.05866873636841774,
0.05657999590039253,
-0.01721072383224964,
0.2615415155887604,
0.3256263732910156,
-0.16925548017024994,
0.19657376408576965,
0.43724626302719116,
1.125348687171936,
-0.29563361406326294,
-0.07804092019796371,
-0.12701843678951263,
-0.33612003922462463,
0.6042557954788208,
-0.2630302608013153,
-0.04624972492456436,
-0.3473004400730133,
-0.12856005132198334,
0.029081501066684723,
-0.18670134246349335,
-0.009771076031029224,
-0.2190956175327301,
-0.09976603835821152,
0.15271376073360443,
-0.2251032143831253,
-0.15809527039527893,
-0.218285471200943,
0.22694610059261322,
0.32245752215385437,
-0.23322048783302307,
-0.15305323898792267,
-0.03276841714978218,
-0.06460624188184738,
0.17142760753631592,
-0.21025337278842926,
-0.17223139107227325,
0.19709955155849457,
-0.23681873083114624,
-0.22999534010887146,
-0.14150860905647278,
-0.4525684416294098,
0.29463833570480347,
0.020806623622775078,
-0.3227229714393616,
0.3300318717956543,
0.13362082839012146,
0.12281586974859238,
0.43253037333488464,
-0.22025801241397858,
-0.02687695436179638,
-0.006368045229464769,
-0.10939355939626694,
-0.08678978681564331,
0.06745381653308868,
0.04466698318719864,
-0.11347632110118866,
-0.41933488845825195,
0.1008554995059967,
-0.04158575087785721,
-0.037232499569654465,
-0.11821627616882324,
0.15145398676395416,
0.1590326875448227,
-0.23313578963279724,
0.31063374876976013,
0.029277032241225243,
-0.10713905841112137,
-0.23913054168224335,
-0.06054949387907982,
0.1102108359336853,
-0.43077918887138367,
0.01954520307481289,
0.09354855120182037,
-0.4853806495666504,
0.008994878269731998,
0.4414260685443878,
-0.021724024787545204,
-0.12563352286815643,
0.5604749321937561,
0.3870258331298828,
-0.08330083638429642,
-0.08913151919841766,
0.06656011193990707,
0.3794836401939392,
-0.3428507447242737,
-0.02067885734140873,
-0.026881080120801926,
0.03663838654756546,
-0.03188502416014671,
0.07719406485557556,
0.14659078419208527,
-0.00556681165471673,
-0.10012522339820862,
-0.49277499318122864,
-0.45021864771842957,
0.10503583401441574,
-0.14111937582492828,
0.0919768288731575,
0.17323075234889984,
0.05336887016892433,
-0.21244332194328308,
-0.061937060207128525,
-0.15852174162864685,
-0.06348571926355362,
-0.4207339286804199,
0.23240827023983002,
0.10087387263774872,
-0.43121543526649475,
0.03964369371533394,
-0.023309996351599693,
-0.09351987391710281,
0.19028303027153015,
-0.3172392249107361,
-0.002802469301968813,
-0.15535447001457214,
0.23936232924461365,
-0.09555027633905411,
-0.5256471633911133,
0.0028380276635289192,
-0.14026311039924622,
-0.12862467765808105,
-0.14502453804016113,
-0.06846451014280319,
0.1721588373184204,
0.06603243201971054,
-0.28441163897514343,
0.27853086590766907,
-0.25254666805267334,
-0.18024812638759613,
0.07354968786239624,
0.2667730748653412,
0.18055109679698944,
-0.03122379258275032,
0.42722973227500916,
0.04696930572390556,
-0.1794167160987854,
-0.444358766078949,
0.08446444571018219,
0.24035975337028503,
-0.3084861636161804,
0.0818074494600296,
-0.22725556790828705,
-0.10024089366197586,
0.4624744951725006,
0.439532607793808,
0.39526209235191345,
0.005478729028254747,
-0.06401035189628601,
0.259330689907074,
0.06969135999679565,
-0.16714544594287872,
-0.13681185245513916,
0.2515745759010315,
-0.004936792887747288,
-0.06902987509965897,
0.42978736758232117,
0.2808299660682678,
0.09137901663780212,
0.06304425746202469,
0.0423075333237648,
0.26335984468460083,
0.14250780642032623,
0.08284610509872437,
0.128472238779068,
-0.0913553237915039,
-0.03809013217687607,
0.2750045657157898,
-0.06232118606567383,
0.4039415121078491,
0.32543811202049255,
-0.19078271090984344,
0.12841889262199402,
0.4210970103740692,
0.12743109464645386,
0.136622816324234,
-0.26246288418769836,
-0.11232403665781021,
0.2244540899991989,
0.23466871678829193,
0.11280590295791626,
-0.11134439706802368,
0.7335336208343506,
-0.08745097368955612,
-0.3345426321029663,
-0.025738202035427094,
0.45917242765426636,
-0.27478355169296265,
-0.0890226736664772,
-0.1561344861984253,
-0.13246719539165497,
-0.032246485352516174,
-0.06878943741321564,
0.1778811514377594,
0.05892562493681908,
-0.022229770198464394,
0.02339266613125801,
-0.22225609421730042,
-0.31031888723373413,
-0.545028805732727,
0.5357752442359924,
-0.029344024136662483,
-0.32211872935295105,
0.33281394839286804,
0.3862287402153015,
-0.10732758790254593,
0.16935379803180695,
0.3321024477481842,
0.5232440829277039,
0.232700377702713,
-0.10366339981555939,
-0.07962509244680405,
0.06393535435199738,
0.1587664783000946,
-0.03278421610593796,
-0.08394818753004074,
0.0879548117518425,
0.1356116682291031,
0.08774524927139282,
-0.06674506515264511,
-0.052109260112047195,
-0.04493854194879532,
0.20361807942390442,
0.05954180657863617,
0.09976494312286377,
-0.5444079041481018,
-0.15487299859523773,
-0.13108842074871063,
-0.3298226296901703,
0.028838733211159706,
-0.1454806923866272,
0.28424590826034546,
0.30095428228378296,
-0.0438532680273056,
0.03395428508520126,
0.03676576167345047,
0.002388402121141553,
-0.18562453985214233,
0.4092006981372833,
0.40662604570388794,
0.011280864477157593,
-0.26852041482925415,
-0.1344897300004959,
-0.40660014748573303,
0.2426147311925888,
-0.31824833154678345,
-0.10872964560985565,
0.41685953736305237,
0.15101610124111176,
0.038253530859947205,
0.045190367847681046,
0.4998105764389038,
-0.24657052755355835,
-0.1361924707889557,
0.21101443469524384,
-0.32377952337265015,
-0.03807700052857399,
-0.21836724877357483,
-0.058094363659620285,
0.15897533297538757,
0.013718248344957829,
0.32723143696784973,
-0.057101208716630936,
-0.07973600924015045,
-0.3092332184314728,
0.22657544910907745,
-0.3428739905357361,
-0.09711423516273499,
0.18312402069568634,
0.409259170293808,
0.26037323474884033,
0.14658521115779877,
0.08634726703166962,
0.1715346723794937,
-0.298376202583313,
-0.05593830347061157,
0.2614245116710663,
0.025976983830332756,
0.018820110708475113,
-0.12802377343177795,
-0.7292582392692566,
-0.4894466996192932,
0.16183100640773773,
0.018607189878821373,
-0.21612095832824707,
-0.25871098041534424,
0.3220772445201874,
-0.08697587251663208,
0.01817421242594719,
0.14647720754146576,
0.3136507570743561,
0.39151254296302795,
0.2425844818353653,
-0.26417139172554016,
-0.414734810590744,
0.6981277465820312,
-0.5851542353630066,
-0.20280373096466064,
-0.2027405947446823,
0.2233407348394394,
0.5235942006111145,
-0.37091314792633057,
-0.31158775091171265,
-0.05131782963871956,
0.21268031001091003,
0.23461109399795532,
-0.43005672097206116,
-0.04790681600570679,
-0.27599072456359863,
-0.08745477348566055,
0.026260478422045708,
-0.02552676759660244,
0.16173604130744934,
-0.2601887583732605,
0.26983362436294556,
-0.047677889466285706
] |
https://github.com/huggingface/datasets/issues/2056
|
issue with opus100/en-fr dataset
|
as per https://github.com/huggingface/tokenizers/issues/626 this looks like to be the tokenizer bug, I therefore, reported it there https://github.com/huggingface/tokenizers/issues/626 and I am closing this one.
|
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
| 23
|
issue with opus100/en-fr dataset
Hi
I am running run_mlm.py code of huggingface repo with opus100/fr-en pair, I am getting this error, note that this error occurs for only this pairs and not the other pairs. Any idea why this is occurring? and how I can solve this?
Thanks a lot @lhoestq for your help in advance.
`
thread '<unnamed>' panicked at 'index out of bounds: the len is 617 but the index is 617', /__w/tokenizers/tokenizers/tokenizers/src/tokenizer/normalizer.rs:382:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
63%|██████████████████████████████████████████████████████████▊ | 626/1000 [00:27<00:16, 22.69ba/s]
Traceback (most recent call last):
File "run_mlm.py", line 550, in <module>
main()
File "run_mlm.py", line 412, in main
in zip(data_args.dataset_name, data_args.dataset_config_name)]
File "run_mlm.py", line 411, in <listcomp>
logger) for dataset_name, dataset_config_name\
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 96, in get_tokenized_dataset
load_from_cache_file=not data_args.overwrite_cache,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in map
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/dataset_dict.py", line 448, in <dictcomp>
for k, dataset in self.items()
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1309, in map
update_data=update_data,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 204, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/fingerprint.py", line 337, in wrapper
out = func(self, *args, **kwargs)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1574, in _map_single
batch, indices, check_same_num_examples=len(self.list_indexes()) > 0, offset=offset
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1490, in apply_function_on_filtered_inputs
function(*fn_args, effective_indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
File "/user/dara/dev/codes/seq2seq/data/tokenize_datasets.py", line 89, in tokenize_function
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2347, in __call__
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_base.py", line 2532, in batch_encode_plus
**kwargs,
File "/user/dara/libs/anaconda3/envs/fast/lib/python3.7/site-packages/transformers/tokenization_utils_fast.py", line 384, in _batch_encode_plus
is_pretokenized=is_split_into_words,
pyo3_runtime.PanicException: index out of bounds: the len is 617 but the index is 617
`
as per https://github.com/huggingface/tokenizers/issues/626 this looks like to be the tokenizer bug, I therefore, reported it there https://github.com/huggingface/tokenizers/issues/626 and I am closing this one.
|
[
-0.4117374122142792,
-0.1673513799905777,
-0.01564525067806244,
0.3972491919994354,
0.11825664341449738,
0.08237657696008682,
0.1922522336244583,
0.2819980978965759,
-0.14314964413642883,
0.25799277424812317,
-0.24243609607219696,
-0.02489512227475643,
0.13222387433052063,
0.3834212124347687,
-0.23991388082504272,
-0.1725851148366928,
-0.07827144861221313,
0.12080908566713333,
-0.4165080487728119,
-0.12028901278972626,
-0.45594799518585205,
0.22388361394405365,
-0.1563929319381714,
0.22976739704608917,
0.3186609148979187,
-0.07025560736656189,
0.15184487402439117,
0.057933639734983444,
-0.290581613779068,
-0.393868088722229,
-0.15120141208171844,
-0.29925206303596497,
0.39835667610168457,
0.24866068363189697,
-0.00012405677989590913,
0.013962910510599613,
0.1579875946044922,
-0.03846229240298271,
0.08096027374267578,
-0.059218309819698334,
0.10003768652677536,
0.14733245968818665,
-0.028712425380945206,
-0.30514100193977356,
0.037181686609983444,
-0.2251007854938507,
-0.3708876371383667,
-0.2680359184741974,
0.28802207112312317,
0.3753129243850708,
0.0867759957909584,
0.5228815078735352,
0.3373614549636841,
-0.14620737731456757,
0.1830139309167862,
-0.042298462241888046,
0.05866168811917305,
-0.06936082988977432,
0.32348009943962097,
-0.22807659208774567,
0.36842453479766846,
0.29935115575790405,
-0.11020451784133911,
-0.13651463389396667,
0.22037602961063385,
-0.25636574625968933,
0.6804651618003845,
-0.5535479187965393,
0.01111686136573553,
0.3440341353416443,
0.07399079203605652,
0.023066457360982895,
-0.07224708795547485,
0.028433624655008316,
-0.014741829596459866,
-0.8122333884239197,
-0.09168184548616409,
0.11365081369876862,
-0.042663417756557465,
0.16671200096607208,
-0.3281247019767761,
0.05663517117500305,
0.08465038239955902,
0.18013499677181244,
0.034303583204746246,
0.3327212631702423,
0.006103610619902611,
0.2988554835319519,
0.25027230381965637,
-0.2295202910900116,
-0.40942227840423584,
0.2705807685852051,
-0.10853216052055359,
0.287166029214859,
-0.4670937657356262,
-0.043989237397909164,
0.07007364928722382,
-0.13623705506324768,
0.49467217922210693,
0.21325618028640747,
-0.513116180896759,
-0.16267961263656616,
0.4100394546985626,
-0.006745944265276194,
0.2849922478199005,
0.2695944607257843,
-0.011114894412457943,
0.02303210273385048,
0.20296618342399597,
0.02152697555720806,
0.12237739562988281,
-0.05726482719182968,
-0.04050134867429733,
-0.29401224851608276,
-0.2561846375465393,
-0.07253240048885345,
0.13846446573734283,
-0.4892800450325012,
-0.24090173840522766,
0.3880996108055115,
-0.3146696984767914,
-0.05952981486916542,
0.5197179913520813,
0.33393093943595886,
0.1966288536787033,
-0.11512981355190277,
-0.092835932970047,
0.2790853679180145,
-0.3406355082988739,
0.002183399396017194,
-0.01806965470314026,
-0.03179829940199852,
-0.03664238005876541,
0.015990937128663063,
-0.033779654651880264,
-0.6434465050697327,
0.2684483528137207,
0.16194181144237518,
0.5190966129302979,
-0.4269465506076813,
0.11982414871454239,
-0.21992464363574982,
-0.016850942745804787,
0.27759867906570435,
-0.057195160537958145,
0.15401217341423035,
0.36323273181915283,
0.003250730223953724,
-0.059038665145635605,
0.05319290608167648,
-0.46135413646698,
-0.40597453713417053,
-0.34449008107185364,
0.04951008781790733,
-0.1387336701154709,
0.4477998912334442,
0.17568917572498322,
-0.016650836914777756,
0.4423443078994751,
-0.18727010488510132,
0.20435144007205963,
-0.18262778222560883,
-0.30206039547920227,
0.051863230764865875,
0.38997456431388855,
0.13991977274417877,
0.026558293029665947,
0.14844143390655518,
0.21942466497421265,
0.21275343000888824,
0.3668293058872223,
0.518698513507843,
-0.272702693939209,
-0.001518914825282991,
-0.4783475995063782,
0.23124846816062927,
0.0005189551156945527,
-0.46240299940109253,
-0.24266792833805084,
-0.12475135922431946,
-0.2872532904148102,
-0.29446569085121155,
0.05536546930670738,
-0.17813844978809357,
0.6758922338485718,
-0.04526740312576294,
0.21899008750915527,
0.0732167512178421,
0.045953329652547836,
-0.18631960451602936,
-0.25548550486564636,
0.00772185530513525,
0.3513787090778351,
-0.1988130360841751,
0.008261148817837238,
-0.023290328681468964,
-0.04938158020377159,
-0.14823444187641144,
0.11013396084308624,
-0.060543302446603775,
0.13232421875,
0.2601272463798523,
0.21079379320144653,
0.07425974309444427,
0.2487873136997223,
-0.06112442538142204,
0.15357787907123566,
-0.050814684480428696,
-0.46939539909362793,
0.2518238425254822,
-0.07836098223924637,
0.007922925986349583,
-0.3655869960784912,
0.09754893183708191,
-0.10309811681509018,
-0.26556795835494995,
-0.003169952891767025,
-0.21165454387664795,
0.11131016165018082,
0.10974995791912079,
0.1644177883863449,
-0.19832992553710938,
-0.0019176308996975422,
0.22059980034828186,
-0.3111981749534607,
0.39915841817855835,
-0.24424339830875397,
-0.01849062740802765,
0.029028795659542084,
0.35713115334510803,
0.39084234833717346,
-0.27590179443359375,
-0.16444474458694458,
0.23479507863521576,
0.02237054519355297,
-0.29064837098121643,
-0.28947579860687256,
0.31550323963165283,
0.16784515976905823,
-0.3867722451686859,
0.002416864736005664,
-0.28256916999816895,
0.030420390889048576,
-0.03282107040286064,
0.19351832568645477,
0.527335524559021,
-0.1704331934452057,
0.39848268032073975,
-0.2610984742641449,
0.11004029959440231,
0.025460490956902504,
0.1451854705810547,
0.00047463641385547817,
-0.17782062292099,
0.3125905692577362,
0.3107436001300812,
0.11199995875358582,
0.06752679497003555,
-0.12413443624973297,
-0.05015649273991585,
0.29827645421028137,
0.011672348715364933,
0.10620634257793427,
0.049867067486047745,
-0.0823502242565155,
-0.018343739211559296,
0.15081116557121277,
-0.29985809326171875,
0.1713980883359909,
0.13587628304958344,
-0.05479719489812851,
0.012238268740475178,
-0.0049689882434904575,
-0.01210802886635065,
0.25571775436401367,
0.02125248685479164,
0.3840565085411072,
0.1920323520898819,
0.00134890282060951,
-0.08902867883443832,
-0.15624798834323883,
-0.1054883822798729,
0.12330593168735504,
0.4478662610054016,
-0.2748390734195709,
0.0627053827047348,
-0.08543304353952408,
0.01974090002477169,
-0.12271352857351303,
-0.3330763876438141,
-0.6193646192550659,
-0.18884065747261047,
0.11142870783805847,
0.03654039278626442,
0.030960166826844215,
0.05615678057074547,
0.14872784912586212,
-0.07035553455352783,
0.2286866158246994,
0.1457810252904892,
0.1693616509437561,
-0.06298232078552246,
-0.18236106634140015,
-0.1482488065958023,
0.1953941136598587,
-0.01633778028190136,
0.047110091894865036,
0.13649988174438477,
-0.09677186608314514,
-0.03259601071476936,
-0.5894057750701904,
0.31065234541893005,
-0.05681292340159416,
0.3301674425601959,
0.049123119562864304,
0.11473555117845535,
-0.06338682770729065,
-0.1362311840057373,
0.19130119681358337,
0.09951227903366089,
-0.21204347908496857,
0.08224718272686005,
-0.0835593044757843,
0.2379559874534607,
-0.13266776502132416,
-0.09505429863929749,
-0.23275357484817505,
-0.4111003577709198,
0.29145172238349915,
-0.19135940074920654,
0.05871456488966942,
0.27945148944854736,
-0.15641480684280396,
-0.020588917657732964,
0.07979770004749298,
-0.13913056254386902,
-0.3224678337574005,
0.10247301310300827,
0.3471241891384125,
-0.2841896116733551,
-0.2615582048892975,
-0.23280350863933563,
0.17448744177818298,
0.21096406877040863,
-0.10368366539478302,
-0.41394537687301636,
-0.02161014825105667,
-0.12470473349094391,
0.07976087927818298,
-0.23714369535446167,
0.14708910882472992,
0.3746407926082611,
-0.14691393077373505,
-0.0013893789146095514,
-0.10652287304401398,
-0.12483332306146622,
0.18233691155910492,
-0.09005297720432281,
0.005625572055578232,
-0.04081582650542259,
0.7449668049812317,
-0.14146244525909424,
0.5462420582771301,
0.11663868278265,
0.046352535486221313,
0.3334830105304718,
-0.18536044657230377,
0.3638513386249542,
-0.09257938712835312,
-0.3035503625869751,
0.2539813816547394,
0.2515977919101715,
-0.23978833854198456,
0.16352543234825134,
-0.16276949644088745,
0.09147959202528,
-0.06578873842954636,
-0.10140658915042877,
0.05493925139307976,
-0.28107988834381104,
-0.11901534348726273,
0.4435959458351135,
0.3401423692703247,
0.07350552082061768,
0.41277241706848145,
-0.0851290225982666,
-0.157809317111969,
0.10607733577489853,
-0.03022722341120243,
-0.03831227123737335,
0.14158883690834045,
-0.6263704299926758,
-0.4313117563724518,
-0.5289626717567444,
0.415520578622818,
0.07415804266929626,
0.7487245798110962,
-0.18716727197170258,
0.10062401741743088,
0.0712517574429512,
0.06396183371543884,
0.7198225259780884,
0.20710813999176025,
-0.021301059052348137,
-0.03991708904504776,
-0.14771726727485657,
-0.24231040477752686,
-0.14080020785331726,
-0.02783842943608761,
0.5661052465438843,
0.024069467559456825,
0.6595684289932251,
-0.2567322254180908,
-0.2979440689086914,
0.39163216948509216,
0.13204912841320038,
-0.167975053191185,
-0.06061285361647606,
-0.19553585350513458,
-0.3098437488079071,
-0.26393812894821167,
0.3379356563091278,
0.19405461847782135,
0.5438355207443237,
-0.12344861030578613,
-0.01589033007621765,
0.16314370930194855,
-0.1943347305059433,
0.10991379618644714,
0.16430020332336426,
0.4007403552532196,
0.07970428466796875,
0.08985644578933716,
0.2112817019224167,
-0.05589471012353897,
0.59501713514328,
0.10406846553087234,
-0.060418762266635895,
-0.09154077619314194,
0.19391317665576935,
0.013167348690330982,
0.32541602849960327,
0.13910195231437683,
0.09675745666027069,
0.10802078992128372,
0.1463075876235962,
0.383047491312027,
-0.2549983859062195,
-0.027253780514001846,
0.21922172605991364,
0.2564145624637604,
-0.3760877251625061,
0.0446612648665905,
0.05866873636841774,
0.05657999590039253,
-0.01721072383224964,
0.2615415155887604,
0.3256263732910156,
-0.16925548017024994,
0.19657376408576965,
0.43724626302719116,
1.125348687171936,
-0.29563361406326294,
-0.07804092019796371,
-0.12701843678951263,
-0.33612003922462463,
0.6042557954788208,
-0.2630302608013153,
-0.04624972492456436,
-0.3473004400730133,
-0.12856005132198334,
0.029081501066684723,
-0.18670134246349335,
-0.009771076031029224,
-0.2190956175327301,
-0.09976603835821152,
0.15271376073360443,
-0.2251032143831253,
-0.15809527039527893,
-0.218285471200943,
0.22694610059261322,
0.32245752215385437,
-0.23322048783302307,
-0.15305323898792267,
-0.03276841714978218,
-0.06460624188184738,
0.17142760753631592,
-0.21025337278842926,
-0.17223139107227325,
0.19709955155849457,
-0.23681873083114624,
-0.22999534010887146,
-0.14150860905647278,
-0.4525684416294098,
0.29463833570480347,
0.020806623622775078,
-0.3227229714393616,
0.3300318717956543,
0.13362082839012146,
0.12281586974859238,
0.43253037333488464,
-0.22025801241397858,
-0.02687695436179638,
-0.006368045229464769,
-0.10939355939626694,
-0.08678978681564331,
0.06745381653308868,
0.04466698318719864,
-0.11347632110118866,
-0.41933488845825195,
0.1008554995059967,
-0.04158575087785721,
-0.037232499569654465,
-0.11821627616882324,
0.15145398676395416,
0.1590326875448227,
-0.23313578963279724,
0.31063374876976013,
0.029277032241225243,
-0.10713905841112137,
-0.23913054168224335,
-0.06054949387907982,
0.1102108359336853,
-0.43077918887138367,
0.01954520307481289,
0.09354855120182037,
-0.4853806495666504,
0.008994878269731998,
0.4414260685443878,
-0.021724024787545204,
-0.12563352286815643,
0.5604749321937561,
0.3870258331298828,
-0.08330083638429642,
-0.08913151919841766,
0.06656011193990707,
0.3794836401939392,
-0.3428507447242737,
-0.02067885734140873,
-0.026881080120801926,
0.03663838654756546,
-0.03188502416014671,
0.07719406485557556,
0.14659078419208527,
-0.00556681165471673,
-0.10012522339820862,
-0.49277499318122864,
-0.45021864771842957,
0.10503583401441574,
-0.14111937582492828,
0.0919768288731575,
0.17323075234889984,
0.05336887016892433,
-0.21244332194328308,
-0.061937060207128525,
-0.15852174162864685,
-0.06348571926355362,
-0.4207339286804199,
0.23240827023983002,
0.10087387263774872,
-0.43121543526649475,
0.03964369371533394,
-0.023309996351599693,
-0.09351987391710281,
0.19028303027153015,
-0.3172392249107361,
-0.002802469301968813,
-0.15535447001457214,
0.23936232924461365,
-0.09555027633905411,
-0.5256471633911133,
0.0028380276635289192,
-0.14026311039924622,
-0.12862467765808105,
-0.14502453804016113,
-0.06846451014280319,
0.1721588373184204,
0.06603243201971054,
-0.28441163897514343,
0.27853086590766907,
-0.25254666805267334,
-0.18024812638759613,
0.07354968786239624,
0.2667730748653412,
0.18055109679698944,
-0.03122379258275032,
0.42722973227500916,
0.04696930572390556,
-0.1794167160987854,
-0.444358766078949,
0.08446444571018219,
0.24035975337028503,
-0.3084861636161804,
0.0818074494600296,
-0.22725556790828705,
-0.10024089366197586,
0.4624744951725006,
0.439532607793808,
0.39526209235191345,
0.005478729028254747,
-0.06401035189628601,
0.259330689907074,
0.06969135999679565,
-0.16714544594287872,
-0.13681185245513916,
0.2515745759010315,
-0.004936792887747288,
-0.06902987509965897,
0.42978736758232117,
0.2808299660682678,
0.09137901663780212,
0.06304425746202469,
0.0423075333237648,
0.26335984468460083,
0.14250780642032623,
0.08284610509872437,
0.128472238779068,
-0.0913553237915039,
-0.03809013217687607,
0.2750045657157898,
-0.06232118606567383,
0.4039415121078491,
0.32543811202049255,
-0.19078271090984344,
0.12841889262199402,
0.4210970103740692,
0.12743109464645386,
0.136622816324234,
-0.26246288418769836,
-0.11232403665781021,
0.2244540899991989,
0.23466871678829193,
0.11280590295791626,
-0.11134439706802368,
0.7335336208343506,
-0.08745097368955612,
-0.3345426321029663,
-0.025738202035427094,
0.45917242765426636,
-0.27478355169296265,
-0.0890226736664772,
-0.1561344861984253,
-0.13246719539165497,
-0.032246485352516174,
-0.06878943741321564,
0.1778811514377594,
0.05892562493681908,
-0.022229770198464394,
0.02339266613125801,
-0.22225609421730042,
-0.31031888723373413,
-0.545028805732727,
0.5357752442359924,
-0.029344024136662483,
-0.32211872935295105,
0.33281394839286804,
0.3862287402153015,
-0.10732758790254593,
0.16935379803180695,
0.3321024477481842,
0.5232440829277039,
0.232700377702713,
-0.10366339981555939,
-0.07962509244680405,
0.06393535435199738,
0.1587664783000946,
-0.03278421610593796,
-0.08394818753004074,
0.0879548117518425,
0.1356116682291031,
0.08774524927139282,
-0.06674506515264511,
-0.052109260112047195,
-0.04493854194879532,
0.20361807942390442,
0.05954180657863617,
0.09976494312286377,
-0.5444079041481018,
-0.15487299859523773,
-0.13108842074871063,
-0.3298226296901703,
0.028838733211159706,
-0.1454806923866272,
0.28424590826034546,
0.30095428228378296,
-0.0438532680273056,
0.03395428508520126,
0.03676576167345047,
0.002388402121141553,
-0.18562453985214233,
0.4092006981372833,
0.40662604570388794,
0.011280864477157593,
-0.26852041482925415,
-0.1344897300004959,
-0.40660014748573303,
0.2426147311925888,
-0.31824833154678345,
-0.10872964560985565,
0.41685953736305237,
0.15101610124111176,
0.038253530859947205,
0.045190367847681046,
0.4998105764389038,
-0.24657052755355835,
-0.1361924707889557,
0.21101443469524384,
-0.32377952337265015,
-0.03807700052857399,
-0.21836724877357483,
-0.058094363659620285,
0.15897533297538757,
0.013718248344957829,
0.32723143696784973,
-0.057101208716630936,
-0.07973600924015045,
-0.3092332184314728,
0.22657544910907745,
-0.3428739905357361,
-0.09711423516273499,
0.18312402069568634,
0.409259170293808,
0.26037323474884033,
0.14658521115779877,
0.08634726703166962,
0.1715346723794937,
-0.298376202583313,
-0.05593830347061157,
0.2614245116710663,
0.025976983830332756,
0.018820110708475113,
-0.12802377343177795,
-0.7292582392692566,
-0.4894466996192932,
0.16183100640773773,
0.018607189878821373,
-0.21612095832824707,
-0.25871098041534424,
0.3220772445201874,
-0.08697587251663208,
0.01817421242594719,
0.14647720754146576,
0.3136507570743561,
0.39151254296302795,
0.2425844818353653,
-0.26417139172554016,
-0.414734810590744,
0.6981277465820312,
-0.5851542353630066,
-0.20280373096466064,
-0.2027405947446823,
0.2233407348394394,
0.5235942006111145,
-0.37091314792633057,
-0.31158775091171265,
-0.05131782963871956,
0.21268031001091003,
0.23461109399795532,
-0.43005672097206116,
-0.04790681600570679,
-0.27599072456359863,
-0.08745477348566055,
0.026260478422045708,
-0.02552676759660244,
0.16173604130744934,
-0.2601887583732605,
0.26983362436294556,
-0.047677889466285706
] |
https://github.com/huggingface/datasets/issues/2055
|
is there a way to override a dataset object saved with save_to_disk?
|
I tried this way, but when there is a mapping process to the dataset, it again uses a random cache name. atm, I am trying to use the following method by setting an exact cache file,
```
dataset_with_embedding =csv_dataset.map(
partial(self.embed, ctx_encoder=ctx_encoder, ctx_tokenizer=self.context_tokenizer),
batched=True,
batch_size=1,
features=new_features,
cache_file_name=cache_arrow_path,
load_from_cache_file=False
)
```
So here we set a cache_file_name , after this it uses the same file name when saving again and again.
|
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
| 69
|
is there a way to override a dataset object saved with save_to_disk?
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
I tried this way, but when there is a mapping process to the dataset, it again uses a random cache name. atm, I am trying to use the following method by setting an exact cache file,
```
dataset_with_embedding =csv_dataset.map(
partial(self.embed, ctx_encoder=ctx_encoder, ctx_tokenizer=self.context_tokenizer),
batched=True,
batch_size=1,
features=new_features,
cache_file_name=cache_arrow_path,
load_from_cache_file=False
)
```
So here we set a cache_file_name , after this it uses the same file name when saving again and again.
|
[
0.01877647452056408,
-0.1548900306224823,
-0.014641503803431988,
-0.03985261172056198,
0.24491655826568604,
0.27030274271965027,
0.14376677572727203,
0.12786000967025757,
0.11003638058900833,
0.17715488374233246,
0.35045111179351807,
0.45321062207221985,
-0.20381179451942444,
-0.03623693808913231,
0.24566799402236938,
0.1528114527463913,
0.4748813211917877,
-0.020253986120224,
-0.02560718171298504,
0.2713928818702698,
-0.4494594633579254,
0.22619403898715973,
0.28899645805358887,
-0.042447779327631,
-0.15775150060653687,
-0.10205522924661636,
0.05107120797038078,
-0.19240064918994904,
0.17306768894195557,
-0.4009982645511627,
0.28723326325416565,
0.17241622507572174,
0.00013248762115836143,
0.14868862926959991,
-0.00012018569395877421,
-0.1788834184408188,
-0.03008456528186798,
-0.11758067458868027,
-0.24674595892429352,
0.1999170333147049,
-0.20805904269218445,
-0.30767425894737244,
0.05577786639332771,
-0.526829719543457,
0.23348991572856903,
0.0689515545964241,
0.23015795648097992,
-0.3817868232727051,
0.1915484368801117,
-0.1445045918226242,
0.1007295623421669,
-0.13988929986953735,
0.017928244546055794,
0.24298608303070068,
0.06843338906764984,
-0.025822613388299942,
-0.24005915224552155,
0.2939269542694092,
0.0257167536765337,
0.3028886616230011,
0.10996156185865402,
0.05428633838891983,
-0.16942133009433746,
0.048051513731479645,
0.685513973236084,
-0.02583981864154339,
-0.22123900055885315,
-0.049067720770835876,
0.21122479438781738,
0.030193058773875237,
0.660709023475647,
-0.4477227032184601,
-0.1442876160144806,
-0.06010201573371887,
-0.05916059389710426,
-0.4760395288467407,
0.2344963401556015,
-0.2521851360797882,
0.09125903248786926,
0.12441674619913101,
-0.14751698076725006,
-0.567284107208252,
-0.13889922201633453,
0.041307155042886734,
0.2410668581724167,
-0.4322017729282379,
-0.1471637338399887,
0.22764407098293304,
0.20357923209667206,
-0.004079840146005154,
0.430621862411499,
-0.39345583319664,
-0.38423290848731995,
-0.20308275520801544,
-0.20610280334949493,
-0.14626851677894592,
-0.3850921392440796,
0.29053232073783875,
0.025624748319387436,
0.19891105592250824,
0.46178269386291504,
0.22646421194076538,
-0.00004157053990638815,
0.24840062856674194,
0.042742207646369934,
0.28690195083618164,
0.05077800154685974,
0.014792798087000847,
0.09575553983449936,
-0.22342070937156677,
-0.21465790271759033,
-0.1435914933681488,
0.2676699459552765,
-0.3017743229866028,
0.6434223055839539,
-0.12056907266378403,
0.09178047627210617,
-0.1733262985944748,
0.1807957887649536,
-0.04652991518378258,
0.2298896759748459,
0.21853862702846527,
-0.11403793096542358,
-0.01729387789964676,
0.016586661338806152,
-0.028530791401863098,
-0.1195976510643959,
0.009990486316382885,
0.1471550017595291,
0.15090250968933105,
0.022468475624918938,
-0.1985740214586258,
0.18764694035053253,
0.42620179057121277,
0.11722848564386368,
0.06192189082503319,
0.08144690096378326,
-0.17453159391880035,
0.07543780654668808,
-0.1534610390663147,
0.23291197419166565,
0.04196179285645485,
0.4006009101867676,
-0.1149875670671463,
-0.13123714923858643,
0.27299293875694275,
0.023958371952176094,
-0.2295750379562378,
-0.14664049446582794,
0.22716175019741058,
-0.36770886182785034,
-0.3400830328464508,
0.10101053863763809,
0.02359805442392826,
-0.3579708933830261,
-0.07785036414861679,
-0.5644944310188293,
0.05334750562906265,
0.06241687759757042,
-0.22272944450378418,
0.2458755224943161,
0.2875830829143524,
-0.18625116348266602,
-0.31759893894195557,
-0.08985499292612076,
0.26367270946502686,
-0.3861011862754822,
-0.002347132656723261,
-0.0945778638124466,
0.06422149389982224,
-0.33520230650901794,
-0.06237310916185379,
-0.13913775980472565,
-0.23023709654808044,
-0.3009423017501831,
-0.06634291261434555,
0.3127152919769287,
-0.25702646374702454,
-0.6499443650245667,
-0.041911594569683075,
-0.045766912400722504,
-0.03692398592829704,
0.1332407146692276,
0.3977482318878174,
0.20849750936031342,
-0.017514916136860847,
-0.30629581212997437,
0.06421982496976852,
0.035924892872571945,
-0.24910978972911835,
-0.1534540206193924,
-0.15861347317695618,
-0.1160493716597557,
-0.2702702581882477,
-0.2579096257686615,
0.3812936544418335,
-0.046005729585886,
-0.18067806959152222,
0.054484590888023376,
0.07456936687231064,
0.2152923345565796,
0.458814412355423,
0.3959975838661194,
-0.17526325583457947,
-0.05872039124369621,
-0.10273247957229614,
-0.45251762866973877,
0.05953766405582428,
0.43587037920951843,
-0.4237768352031708,
0.10291974246501923,
-0.2893718481063843,
0.03037935309112072,
0.058804746717214584,
-0.18575900793075562,
0.09301026165485382,
-0.049470555037260056,
0.32066357135772705,
0.06824313849210739,
-0.1817135512828827,
-0.22546052932739258,
0.3056721091270447,
0.08194907009601593,
0.08078696578741074,
-0.19695937633514404,
-0.08394546806812286,
0.04762009158730507,
-0.09040921181440353,
-0.46442463994026184,
-0.20129282772541046,
0.1987292319536209,
-0.18827657401561737,
-0.16134607791900635,
0.49102941155433655,
-0.1910768449306488,
0.20470990240573883,
0.15690122544765472,
0.41192570328712463,
-0.041173551231622696,
-0.32912346720695496,
0.2022394835948944,
0.09879619628190994,
0.0716337040066719,
0.06592787057161331,
-0.17339983582496643,
0.28702476620674133,
0.04870383441448212,
0.07851666212081909,
-0.059983886778354645,
0.13260507583618164,
0.2257099598646164,
-0.0373641662299633,
-0.19950909912586212,
-0.23793728649616241,
-0.34044545888900757,
0.1995522826910019,
0.3960496485233307,
-0.10044275224208832,
-0.11891971528530121,
0.17763836681842804,
0.5097334384918213,
0.03745654970407486,
0.11998296529054642,
-0.038212668150663376,
-0.3550260663032532,
-0.13047486543655396,
-0.09800411015748978,
0.6063181161880493,
0.35699647665023804,
0.11721821129322052,
0.05783243477344513,
-0.2137330174446106,
0.11268197000026703,
0.005105228163301945,
0.24538299441337585,
0.10024326294660568,
0.2005966305732727,
-0.021801484748721123,
0.22792194783687592,
-0.17441126704216003,
-0.21179699897766113,
0.17030780017375946,
0.08767154812812805,
-0.03935664892196655,
0.0572534017264843,
0.17788520455360413,
-0.14062902331352234,
-0.002529085148125887,
-0.35940808057785034,
0.14179958403110504,
-0.3370630741119385,
-0.27885130047798157,
-0.07003915309906006,
0.5343760848045349,
0.08573063462972641,
0.13416403532028198,
-0.08170592784881592,
0.4854322075843811,
-0.18191535770893097,
-0.48021116852760315,
-0.06354617327451706,
0.0765659362077713,
-0.12301860749721527,
-0.09750396013259888,
0.019039161503314972,
-0.4540117084980011,
0.2778128385543823,
0.11079618334770203,
0.21130843460559845,
-0.6378809809684753,
0.10112343728542328,
-0.10673461109399796,
0.3585086762905121,
0.2471572309732437,
-0.14796295762062073,
0.11346004903316498,
-0.2218860536813736,
-0.017292069271206856,
-0.07114041596651077,
-0.022930802777409554,
0.0792185366153717,
-0.020404400303959846,
0.0352686308324337,
0.17450343072414398,
0.05406507849693298,
0.12567518651485443,
-0.23164011538028717,
-0.15923234820365906,
0.1551637351512909,
-0.11619630455970764,
-0.005928868893533945,
-0.12075981497764587,
0.0031597139313817024,
-0.05896981433033943,
0.10948812961578369,
-0.4539574384689331,
-0.23082159459590912,
-0.6659774780273438,
0.5767191052436829,
-0.2546722888946533,
-0.03100661002099514,
0.1016663908958435,
-0.09430525451898575,
-0.010053238831460476,
0.20117390155792236,
-0.33979910612106323,
-0.1034175306558609,
-0.10087579488754272,
0.22342872619628906,
0.09485073387622833,
-0.3411523103713989,
0.2415471076965332,
0.5115863680839539,
-0.05404879152774811,
-0.0983426496386528,
-0.5508156418800354,
0.2543376684188843,
0.24408872425556183,
0.4389621317386627,
0.3565303385257721,
0.18323299288749695,
0.042617376893758774,
0.46084296703338623,
-0.2074299454689026,
0.025448674336075783,
0.48777878284454346,
0.10067935287952423,
0.39070963859558105,
0.051401712000370026,
-0.058957576751708984,
-0.20134034752845764,
-0.3123380243778229,
-0.14260199666023254,
-0.026809614151716232,
-0.011530605144798756,
-0.015669118613004684,
0.2334083914756775,
0.050427161157131195,
-0.029805012047290802,
-0.3346698582172394,
0.007739382330328226,
-0.29269489645957947,
0.1200680360198021,
0.043367188423871994,
-0.1981494128704071,
-0.4714185297489166,
-0.21493177115917206,
0.08723531663417816,
0.39123404026031494,
0.1272733211517334,
-0.08267433196306229,
-0.504913866519928,
-0.011739606037735939,
-0.4805620610713959,
0.4296466112136841,
-0.24959111213684082,
0.11662157624959946,
0.0442127101123333,
0.05845478177070618,
-0.10807999968528748,
-0.08460278064012527,
0.8759824633598328,
-0.1353384554386139,
0.1624019294977188,
-0.08969046920537949,
0.19077268242835999,
-0.0841154083609581,
0.08783373981714249,
0.4205208718776703,
0.43673378229141235,
-0.2517588138580322,
0.2692506015300751,
0.25714513659477234,
-0.08063790947198868,
-0.11693622171878815,
0.3535144627094269,
-0.5934963822364807,
-0.12064095586538315,
0.2151964157819748,
-0.08269187062978745,
-0.057954732328653336,
-0.3540087342262268,
0.18011656403541565,
0.02306746318936348,
0.1058659479022026,
-0.0819569006562233,
-0.4227654039859772,
-0.03434315696358681,
0.04526448994874954,
-0.28902024030685425,
0.46801963448524475,
-0.15452830493450165,
0.006952952593564987,
-0.08506094664335251,
0.2909597158432007,
0.38533398509025574,
0.2827947437763214,
-0.3384394347667694,
-0.34476038813591003,
-0.06374844163656235,
-0.1411982625722885,
0.18372710049152374,
0.11235328763723373,
-0.06052364036440849,
0.24211321771144867,
0.1979689747095108,
-0.18805210292339325,
-0.00577784376218915,
0.10275507718324661,
-0.09243990480899811,
0.33343592286109924,
-0.1502130925655365,
-0.4014713168144226,
0.3741706609725952,
0.2887119650840759,
-0.0066098980605602264,
0.2434082329273224,
0.11077169328927994,
-0.4094190001487732,
0.46833959221839905,
0.02381117269396782,
0.6857132911682129,
0.03289548307657242,
0.3769574761390686,
-0.23155950009822845,
-0.31670618057250977,
0.15255683660507202,
-0.08917300403118134,
0.0909283459186554,
-0.12173900753259659,
-0.2212105691432953,
-0.029123080894351006,
0.09530587494373322,
0.3272649943828583,
0.48221245408058167,
-0.05027387663722038,
0.36619997024536133,
-0.15191420912742615,
0.09645065665245056,
-0.2594844400882721,
0.0771627426147461,
-0.1766582727432251,
-0.1769028753042221,
0.14726361632347107,
0.05715256556868553,
0.011741792783141136,
-0.13702890276908875,
0.10000787675380707,
-0.07602730393409729,
0.07868453115224838,
-0.00020417837367858738,
-0.1984478235244751,
-0.22507476806640625,
-0.17406044900417328,
-0.21318380534648895,
-0.2469968944787979,
-0.46276769042015076,
0.012171774171292782,
0.27712664008140564,
0.3272084593772888,
0.07560483366250992,
-0.013923938386142254,
0.18026728928089142,
0.22201783955097198,
0.05467626079916954,
-0.24646511673927307,
-0.07678628712892532,
0.16959494352340698,
0.044829413294792175,
0.043645214289426804,
0.035059645771980286,
0.07267256081104279,
-0.46163642406463623,
0.33409079909324646,
-0.1473330557346344,
0.16426919400691986,
-0.047640036791563034,
-0.5405944585800171,
-0.16174982488155365,
-0.23076756298542023,
-0.32116833329200745,
0.05243578180670738,
-0.10108551383018494,
-0.05425660312175751,
0.35960695147514343,
-0.23788844048976898,
-0.08767861127853394,
0.1408545970916748,
0.3142167031764984,
-0.1157858595252037,
-0.19486527144908905,
0.6367978453636169,
-0.4938902258872986,
0.04823681712150574,
-0.10501622408628464,
0.24237003922462463,
0.1008894219994545,
-0.07805947959423065,
0.17577335238456726,
-0.1397123634815216,
0.11407795548439026,
-0.06659842282533646,
-0.1368858963251114,
0.11697020381689072,
0.32026538252830505,
-0.26146525144577026,
-0.19220571219921112,
-0.47880950570106506,
-0.10562606900930405,
0.22392228245735168,
0.33668017387390137,
-0.07045689225196838,
-0.4245378077030182,
-0.14245735108852386,
-0.04767332598567009,
-0.14465908706188202,
0.038507360965013504,
0.019960442557930946,
-0.03279369696974754,
0.2165953516960144,
0.4628368616104126,
0.058529604226350784,
-0.09027692675590515,
-0.0717540755867958,
-0.022866109386086464,
-0.06308989971876144,
-0.13425126671791077,
-0.2262953817844391,
0.1888587325811386,
-0.1266930103302002,
-0.23237384855747223,
-0.17361019551753998,
-0.30626964569091797,
0.2362324744462967,
-0.07037584483623505,
-0.23084697127342224,
0.18916553258895874,
0.10714716464281082,
0.2860001027584076,
-0.03353505954146385,
0.11150004714727402,
0.01476786844432354,
-0.16621094942092896,
0.21845407783985138,
0.38393187522888184,
0.17907768487930298,
0.21594789624214172,
-0.05187821388244629,
-0.06886129826307297,
-0.14276403188705444,
-0.11996994912624359,
-0.051873527467250824,
-0.018768761307001114,
-0.19140465557575226,
-0.10523000359535217,
-0.07207390666007996,
0.46259820461273193,
0.10934171825647354,
0.010646998882293701,
-0.2217104136943817,
-0.1483030468225479,
0.38193005323410034,
0.0556834451854229,
0.06220154091715813,
-0.35569438338279724,
0.4837988615036011,
-0.3391484320163727,
0.026101253926753998,
0.11974780261516571,
0.1509525030851364,
0.09486404061317444,
-0.2867468297481537,
-0.10768266767263412,
0.3201240301132202,
-0.41626104712486267,
0.27648329734802246,
0.11644896119832993,
0.14284490048885345,
0.12206366658210754,
0.4623328745365143,
0.3871825337409973,
0.3841487765312195,
0.7751973867416382,
-0.011257507838308811,
0.006685752887278795,
0.45954573154449463,
-0.08496293425559998,
-0.010279690846800804,
-0.16493061184883118,
0.14950121939182281,
-0.10435560345649719,
-0.0656164363026619,
0.5459072589874268,
0.4420742094516754,
0.00765862176194787,
0.009714399464428425,
-0.3250497877597809,
0.09481430798768997,
-0.009107314050197601,
0.06004065275192261,
-0.3881415128707886,
0.20453707873821259,
0.02078925259411335,
0.17572064697742462,
0.2321552336215973,
-0.2062300443649292,
-0.31995680928230286,
0.3652496933937073,
-0.1482032835483551,
0.04979472979903221,
0.23166431486606598,
0.26917406916618347,
-0.11201007664203644,
0.18320682644844055,
-0.03725613281130791,
-0.12611450254917145,
-0.3010326623916626,
-0.07761017978191376,
0.09200649708509445,
-0.02614949829876423,
-0.19294770061969757,
-0.1082378700375557,
0.03872495889663696,
0.16818590462207794,
-0.03581608086824417,
-0.02563556469976902,
-0.11809386312961578,
-0.31947341561317444,
0.010823925025761127,
-0.32047075033187866,
0.1494801640510559,
0.05596274510025978,
0.05986267328262329,
0.19303129613399506,
0.21737311780452728,
0.4506451487541199,
-0.22841355204582214,
-0.13949526846408844,
0.29048582911491394,
-0.4147697687149048,
-0.010719451121985912,
0.11113391071557999,
-0.07370220124721527,
-0.38332417607307434,
0.7265043258666992,
0.00430640485137701,
0.09014429152011871,
0.08397132158279419,
0.04552250728011131,
-0.13259567320346832,
0.35786890983581543,
-0.1725378930568695,
-0.0425371490418911,
-0.2654029130935669,
-0.030788009986281395,
-0.38123640418052673,
0.13566741347312927,
0.3085465729236603,
0.08378089219331741,
-0.10383841395378113,
-0.07070735841989517,
-0.01794525235891342,
-0.039577022194862366,
0.1623760461807251,
-0.05705350264906883,
0.18178720772266388,
0.5798848271369934,
-0.2913219630718231,
-0.284371018409729,
0.20689965784549713,
0.37730148434638977,
0.26174113154411316,
-0.40934285521507263,
-0.10808216780424118,
0.34449708461761475,
-0.08644986152648926,
0.04784625396132469,
-0.04410947859287262,
-0.02653193287551403,
0.05159645527601242,
0.5468360781669617,
0.0009368402534164488,
0.02411191537976265,
-0.13043835759162903,
0.032968826591968536,
0.2813895642757416,
0.1347508430480957,
-0.38424015045166016,
0.007321042474359274,
0.09670479595661163,
0.1371992528438568,
-0.4002993702888489,
0.322599858045578,
-0.13269180059432983,
-0.09202704578638077,
-0.012856513261795044,
-0.1971447914838791,
-0.1830766499042511,
0.2361605167388916,
0.21111729741096497,
-0.1121966540813446,
0.38442784547805786,
0.4035888612270355,
-0.007087488193064928,
0.4863259792327881,
-0.3266408145427704,
0.41294801235198975,
0.42595353722572327,
-0.06598145514726639,
-0.08501853793859482,
0.284004807472229,
0.1194756031036377,
0.2796066403388977,
-0.20274008810520172,
-0.24166244268417358,
-0.1621982753276825,
0.3066488206386566,
-0.2225731760263443,
-0.1236332431435585,
0.2972763776779175,
-0.43943798542022705,
0.21390028297901154,
0.0830426886677742,
0.9734266400337219,
0.23760512471199036,
0.004845047369599342,
-0.2613397538661957,
-0.1835113763809204
] |
https://github.com/huggingface/datasets/issues/2055
|
is there a way to override a dataset object saved with save_to_disk?
|
I'm not sure I understand your issue, can you elaborate ?
`cache_file_name` is indeed an argument you can set to specify the cache file that will be used for the processed dataset. By default the file is named with something like `cache-<fingerprint>.arrow` where the fingerprint is a hash.
|
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
| 48
|
is there a way to override a dataset object saved with save_to_disk?
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
I'm not sure I understand your issue, can you elaborate ?
`cache_file_name` is indeed an argument you can set to specify the cache file that will be used for the processed dataset. By default the file is named with something like `cache-<fingerprint>.arrow` where the fingerprint is a hash.
|
[
0.005880763288587332,
-0.07092957943677902,
-0.04539558291435242,
0.009186085313558578,
0.27734947204589844,
0.25272393226623535,
0.2612769901752472,
0.24260614812374115,
-0.05356954410672188,
0.10696225613355637,
0.3020354211330414,
0.4447041451931,
-0.16169260442256927,
-0.12795774638652802,
0.20591743290424347,
0.006319940090179443,
0.3146956264972687,
-0.1188138797879219,
-0.09844007343053818,
0.17643176019191742,
-0.3626471161842346,
0.277818500995636,
0.2146424502134323,
0.06288913637399673,
-0.3578140437602997,
-0.10515071451663971,
0.15915358066558838,
0.0235737357288599,
0.07123392075300217,
-0.498101145029068,
0.24882462620735168,
0.24388407170772552,
0.0018545163329690695,
0.044608719646930695,
-0.00011317698226775974,
-0.19219397008419037,
0.1759776622056961,
-0.1021558865904808,
-0.31822502613067627,
0.1989142745733261,
-0.29044580459594727,
-0.20708000659942627,
-0.015776103362441063,
-0.53798508644104,
0.3022143542766571,
0.04794105887413025,
0.13909748196601868,
-0.30580443143844604,
0.1568404734134674,
-0.08517447859048843,
0.1883067488670349,
-0.191319540143013,
0.09578124433755875,
0.18047741055488586,
0.06810072064399719,
0.08023194223642349,
-0.24384377896785736,
0.2512899339199066,
0.021615078672766685,
0.2512311637401581,
0.04886718839406967,
0.13685448467731476,
-0.09259407967329025,
-0.048456139862537384,
0.5817070007324219,
-0.05710987374186516,
-0.11386416107416153,
0.038006510585546494,
0.31238633394241333,
0.1523033082485199,
0.7274105548858643,
-0.4069981276988983,
-0.08807255327701569,
-0.09351036697626114,
-0.10649051517248154,
-0.2785569429397583,
0.2970905601978302,
-0.2870461344718933,
0.03141166269779205,
0.15819036960601807,
-0.14430645108222961,
-0.5655373334884644,
-0.15787817537784576,
0.04541167989373207,
0.29255568981170654,
-0.3315790891647339,
-0.18472011387348175,
0.2547595798969269,
0.22459043562412262,
0.006203980650752783,
0.45882153511047363,
-0.2787892818450928,
-0.4055848717689514,
-0.20954200625419617,
-0.2231871485710144,
-0.09952592849731445,
-0.3349796533584595,
0.40456995368003845,
0.06757053732872009,
0.22593219578266144,
0.43451306223869324,
0.30985027551651,
0.03749944642186165,
0.19407245516777039,
0.10989361256361008,
0.2558329701423645,
0.09144921600818634,
-0.014535535126924515,
0.07534527778625488,
-0.25802963972091675,
-0.33994260430336,
-0.19699090719223022,
0.21016603708267212,
-0.3805343508720398,
0.7020929455757141,
-0.18384353816509247,
0.19405174255371094,
-0.3050471842288971,
0.19084598124027252,
-0.08428722620010376,
0.2190541923046112,
0.06759335100650787,
0.07819424569606781,
0.012820063158869743,
0.06677961349487305,
0.06489026546478271,
-0.08880206197500229,
0.05613318458199501,
0.0615244060754776,
0.09737832844257355,
-0.06420350819826126,
-0.2585115432739258,
0.10586473345756531,
0.3715216815471649,
0.07006204128265381,
0.11341703683137894,
0.0457308255136013,
-0.14827711880207062,
0.13644321262836456,
-0.053476788103580475,
0.38807615637779236,
-0.05207208916544914,
0.4737301170825958,
-0.06155455484986305,
-0.1686994433403015,
0.2550692856311798,
0.008135423064231873,
-0.15644203126430511,
-0.13753792643547058,
0.3093265891075134,
-0.3865033984184265,
-0.42399656772613525,
0.09990281611680984,
0.0781673714518547,
-0.399931401014328,
-0.0620710551738739,
-0.5250163674354553,
-0.0384053960442543,
0.11651520431041718,
-0.14374950528144836,
0.23817263543605804,
0.20408235490322113,
-0.1525629758834839,
-0.38734495639801025,
-0.052669767290353775,
0.22917456924915314,
-0.4178425073623657,
0.051124028861522675,
-0.24416062235832214,
-0.021136684343218803,
-0.2414739429950714,
-0.16096298396587372,
-0.2630751132965088,
-0.10548076778650284,
-0.34666603803634644,
0.06447307765483856,
0.30768224596977234,
-0.34735390543937683,
-0.6475954055786133,
-0.059336625039577484,
-0.06429693847894669,
0.028301546350121498,
0.04752517119050026,
0.3307836949825287,
0.0566512830555439,
-0.10223578661680222,
-0.40126803517341614,
0.1012970358133316,
-0.020024778321385384,
-0.30654534697532654,
-0.27808502316474915,
-0.008048036135733128,
-0.10573962330818176,
-0.14617526531219482,
-0.22025121748447418,
0.36576178669929504,
-0.0380266010761261,
-0.028425028547644615,
0.07239028066396713,
0.20119422674179077,
0.20468440651893616,
0.47139114141464233,
0.48455482721328735,
-0.16239851713180542,
0.028085768222808838,
-0.05227957293391228,
-0.3321332037448883,
0.14716635644435883,
0.3700072467327118,
-0.39392125606536865,
0.0009512759279459715,
-0.2499643862247467,
0.01634441688656807,
0.0734221562743187,
-0.13498273491859436,
0.154103621840477,
0.028037840500473976,
0.3183521628379822,
0.07306239008903503,
-0.27113643288612366,
-0.1399843394756317,
0.41567403078079224,
-0.03538490831851959,
-0.035253673791885376,
-0.10526701807975769,
-0.045929353684186935,
0.0036337499041110277,
-0.058122433722019196,
-0.4752205014228821,
-0.26565465331077576,
0.18388693034648895,
-0.12955458462238312,
-0.2298542857170105,
0.5186129212379456,
-0.09121991693973541,
0.053474221378564835,
0.26853781938552856,
0.4209367632865906,
-0.15085208415985107,
-0.4421950876712799,
0.2504708766937256,
-0.0025528434198349714,
0.027371294796466827,
-0.005546317435801029,
-0.1252521127462387,
0.17774885892868042,
-0.07860224694013596,
0.05803065001964569,
-0.1963469386100769,
0.13800063729286194,
0.28741520643234253,
-0.07805629819631577,
-0.17351779341697693,
-0.23932676017284393,
-0.31351548433303833,
0.07501336932182312,
0.46131306886672974,
-0.08207649737596512,
-0.21109429001808167,
0.30250847339630127,
0.5622271299362183,
0.058873627334833145,
0.10138773173093796,
0.0364006832242012,
-0.2644160985946655,
-0.12854063510894775,
-0.10247255116701126,
0.6723657250404358,
0.5421394109725952,
0.19201253354549408,
0.14051887392997742,
-0.21334965527057648,
0.09585479646921158,
-0.03835289180278778,
0.13248994946479797,
0.15438666939735413,
0.21471774578094482,
-0.10201320797204971,
0.14431871473789215,
-0.18217773735523224,
-0.13386978209018707,
0.15965470671653748,
0.11188582330942154,
0.011033433489501476,
-0.006397109013050795,
0.18882524967193604,
-0.1927693486213684,
-0.027813278138637543,
-0.29504257440567017,
-0.031935639679431915,
-0.4077278673648834,
-0.3630104064941406,
0.06693345308303833,
0.32692646980285645,
0.08980968594551086,
0.14906102418899536,
-0.11566010117530823,
0.5042233467102051,
-0.17349469661712646,
-0.42046496272087097,
-0.17506836354732513,
-0.03110961802303791,
-0.23258312046527863,
-0.022364960983395576,
0.0742441937327385,
-0.2729964554309845,
0.22917604446411133,
-0.01663263700902462,
0.2555154263973236,
-0.5720791816711426,
0.029357915744185448,
-0.05678805708885193,
0.27256709337234497,
0.3326309025287628,
-0.06666459143161774,
0.18522270023822784,
-0.22872355580329895,
0.0670948252081871,
-0.015786955133080482,
-0.07919055223464966,
0.01584271527826786,
-0.016247909516096115,
0.11656028032302856,
0.08001282811164856,
0.03783898055553436,
0.2091633677482605,
-0.15199752151966095,
-0.2444860339164734,
0.1520078033208847,
-0.10921266674995422,
0.06126442551612854,
-0.05126696452498436,
0.01588178239762783,
-0.011744614690542221,
0.0459352470934391,
-0.36172473430633545,
-0.37313634157180786,
-0.8067598342895508,
0.5466672778129578,
-0.34494665265083313,
-0.09707147628068924,
0.14652946591377258,
0.05424833297729492,
0.14215406775474548,
0.21201375126838684,
-0.3342685103416443,
-0.28006359934806824,
-0.05283813551068306,
0.21753662824630737,
-0.019075457006692886,
-0.2813303768634796,
0.22583313286304474,
0.4095545709133148,
-0.09718350321054459,
-0.24838563799858093,
-0.5289538502693176,
0.39878544211387634,
0.17175354063510895,
0.5748052597045898,
0.26109063625335693,
0.09203895926475525,
0.05475156381726265,
0.5059795379638672,
-0.28286439180374146,
0.011398890987038612,
0.4043930768966675,
0.19014868140220642,
0.3782539963722229,
0.016227293759584427,
-0.13098126649856567,
-0.14134955406188965,
-0.21674631536006927,
-0.07607657462358475,
-0.04978283867239952,
0.08787230402231216,
0.019035622477531433,
0.26730960607528687,
0.05653679370880127,
-0.1562475860118866,
-0.3716947138309479,
0.08744926750659943,
-0.25969916582107544,
0.11596363037824631,
0.04225275665521622,
-0.14290277659893036,
-0.5049209594726562,
-0.14481408894062042,
0.18704505264759064,
0.3815196454524994,
0.11402899026870728,
-0.08515369147062302,
-0.5466575026512146,
0.1567203253507614,
-0.35723403096199036,
0.4369421899318695,
-0.20017941296100616,
0.11978742480278015,
-0.1039200946688652,
-0.049807995557785034,
-0.021226955577731133,
-0.05035517364740372,
0.8804527521133423,
-0.17385531961917877,
0.15856976807117462,
0.06297636777162552,
0.1106298640370369,
-0.13148051500320435,
0.09822286665439606,
0.4506983160972595,
0.44932273030281067,
-0.14583002030849457,
0.10646029561758041,
0.09412771463394165,
-0.22352342307567596,
-0.1733308732509613,
0.33696654438972473,
-0.5265505909919739,
-0.21755489706993103,
0.15228401124477386,
-0.14505062997341156,
-0.00765124149620533,
-0.26757246255874634,
0.2054927498102188,
0.013174193911254406,
0.08131881803274155,
0.020820926874876022,
-0.4381811022758484,
-0.13319431245326996,
-0.0034740709234029055,
-0.19506974518299103,
0.5359506011009216,
-0.2286982387304306,
0.03768061101436615,
-0.02251121588051319,
0.252862811088562,
0.3890487551689148,
0.29474353790283203,
-0.3565084636211395,
-0.20212280750274658,
-0.035450275987386703,
-0.24817360937595367,
0.017841631546616554,
0.25990745425224304,
-0.07626621425151825,
0.16641078889369965,
0.20399177074432373,
-0.1703595072031021,
-0.014015774242579937,
0.14869751036167145,
-0.1441231518983841,
0.252745121717453,
-0.19160020351409912,
-0.34991133213043213,
0.3759487569332123,
0.26006484031677246,
-0.06482130289077759,
0.3666512668132782,
0.17466746270656586,
-0.3780333697795868,
0.41979750990867615,
0.09013502299785614,
0.9501267671585083,
-0.03703664615750313,
0.29729166626930237,
-0.3037034571170807,
-0.37265321612358093,
0.029851743951439857,
-0.0703391581773758,
-0.027123022824525833,
-0.13109636306762695,
-0.20191003382205963,
0.009243365377187729,
0.06998159736394882,
0.23412419855594635,
0.5468810200691223,
-0.03995862975716591,
0.09492955356836319,
-0.22739534080028534,
-0.18618448078632355,
-0.25740694999694824,
0.23814500868320465,
-0.1397058516740799,
-0.11309869587421417,
0.08044543862342834,
0.1651391237974167,
-0.06124849244952202,
-0.15383365750312805,
0.060801465064287186,
-0.21775054931640625,
0.0214244332164526,
-0.03025073930621147,
-0.17269468307495117,
-0.18976335227489471,
-0.16834929585456848,
-0.20468862354755402,
-0.07041322439908981,
-0.40955236554145813,
0.018540197983384132,
0.20188100636005402,
0.4421580135822296,
-0.027357108891010284,
-0.056506186723709106,
0.3041878044605255,
0.17455530166625977,
0.07351922243833542,
-0.22492051124572754,
-0.1495259553194046,
0.25833335518836975,
-0.04373926296830177,
-0.01928631216287613,
0.0022183768451213837,
0.07708403468132019,
-0.6202130913734436,
0.20670859515666962,
-0.09972480684518814,
0.1300428807735443,
-0.09175001829862595,
-0.49442189931869507,
-0.16466550529003143,
-0.2461182326078415,
-0.3005340099334717,
0.14192244410514832,
0.2287473827600479,
-0.10757887363433838,
0.41414204239845276,
-0.17702431976795197,
-0.045160528272390366,
0.1554749459028244,
0.2797190248966217,
-0.21761830151081085,
-0.13779571652412415,
0.5094903111457825,
-0.3504287004470825,
0.014818454161286354,
-0.13858924806118011,
0.06893439590930939,
0.048716407269239426,
-0.14854173362255096,
0.1494796872138977,
-0.1786646991968155,
0.1388302892446518,
-0.03225446864962578,
-0.23614656925201416,
0.15131665766239166,
0.3105774223804474,
-0.25917500257492065,
-0.1748179942369461,
-0.5221590399742126,
-0.08173864334821701,
0.06593890488147736,
0.30631333589553833,
-0.0762275755405426,
-0.4527076482772827,
-0.06304134428501129,
0.08879992365837097,
-0.25305840373039246,
0.0121614970266819,
-0.04532650113105774,
0.02716037444770336,
0.1892688125371933,
0.24538053572177887,
0.1555827260017395,
-0.18648096919059753,
-0.018708737567067146,
0.001740182749927044,
-0.17256323993206024,
-0.19922947883605957,
-0.26648449897766113,
0.17183490097522736,
-0.0936255231499672,
-0.2779681086540222,
-0.13104762136936188,
-0.3101249635219574,
0.21159231662750244,
-0.04758726805448532,
-0.19591961801052094,
0.1781342327594757,
0.03733687847852707,
0.2285759001970291,
0.07218758016824722,
0.0019584293477237225,
0.0486016571521759,
-0.17980733513832092,
0.19921965897083282,
0.3495188057422638,
0.16640664637088776,
0.1258149892091751,
-0.014021499082446098,
-0.06620319187641144,
-0.0015538788866251707,
-0.10242157429456711,
-0.10554058849811554,
-0.030421294271945953,
-0.19015353918075562,
-0.06388790905475616,
-0.03787744790315628,
0.4332273602485657,
0.16732870042324066,
0.040572404861450195,
-0.21002118289470673,
-0.1713738590478897,
0.3683488070964813,
0.13414764404296875,
0.10618890821933746,
-0.4036818742752075,
0.4270188510417938,
-0.2677612602710724,
-0.0381481908261776,
0.08706751465797424,
0.14651939272880554,
0.19512446224689484,
-0.16844531893730164,
-0.005548908840864897,
0.25671467185020447,
-0.47140493988990784,
0.16896091401576996,
0.05270863696932793,
-0.013302751816809177,
0.08110843598842621,
0.537456214427948,
0.38648614287376404,
0.309164822101593,
0.7966073751449585,
0.014929120428860188,
0.15868991613388062,
0.40579965710639954,
-0.033406876027584076,
-0.01274796947836876,
-0.15422950685024261,
0.029058324173092842,
-0.046488236635923386,
-0.043182358145713806,
0.4586322009563446,
0.2863246500492096,
0.13279509544372559,
0.12383382767438889,
-0.3554237186908722,
0.17328299582004547,
-0.028987381607294083,
0.020851880311965942,
-0.3102227449417114,
0.0797463059425354,
0.020531650632619858,
0.12603724002838135,
0.10968083888292313,
-0.19416186213493347,
-0.2527124881744385,
0.4634748101234436,
-0.13702157139778137,
0.04314550384879112,
0.16839174926280975,
0.1710462123155594,
-0.06856883317232132,
0.1286361664533615,
-0.039517831057310104,
-0.09981393814086914,
-0.2691246569156647,
-0.13453243672847748,
0.25959286093711853,
0.0021046793553978205,
-0.16875781118869781,
-0.054204221814870834,
0.04296235367655754,
0.08154241740703583,
-0.04110332578420639,
-0.07923971116542816,
-0.22621867060661316,
-0.2022952288389206,
0.0682450458407402,
-0.32621878385543823,
0.20055411756038666,
0.13870203495025635,
0.012176738120615482,
0.1334889829158783,
0.14365161955356598,
0.3790527284145355,
-0.1472219079732895,
-0.12710237503051758,
0.30257448554039,
-0.3633199632167816,
-0.1216893121600151,
0.11718019098043442,
-0.07057711482048035,
-0.3746965825557709,
0.7522788047790527,
0.04258465766906738,
0.04917612299323082,
-0.05408753082156181,
0.06759653985500336,
-0.17592094838619232,
0.44890061020851135,
-0.01877760887145996,
-0.013621090911328793,
-0.29236912727355957,
-0.11836713552474976,
-0.39467599987983704,
0.13727910816669464,
0.10895540565252304,
0.08539179712533951,
0.06721170246601105,
-0.053131140768527985,
0.03180290758609772,
0.013865229673683643,
0.2937547564506531,
0.0810592770576477,
0.15609639883041382,
0.5610342621803284,
-0.39069199562072754,
-0.17117342352867126,
0.3270382583141327,
0.29722222685813904,
0.26711443066596985,
-0.3106234669685364,
-0.11763171851634979,
0.4650084674358368,
0.021207112818956375,
0.003783957101404667,
-0.09938934445381165,
0.0067931655794382095,
0.23261071741580963,
0.5678701400756836,
-0.018731296062469482,
0.06856395304203033,
-0.0676010325551033,
0.015210394747555256,
0.1250116229057312,
0.10045724362134933,
-0.32796967029571533,
-0.0648333728313446,
0.07880812883377075,
0.15042203664779663,
-0.3691149055957794,
0.31056782603263855,
-0.21345724165439606,
0.0019577278289943933,
-0.12338615953922272,
-0.07383740693330765,
-0.20916295051574707,
0.217723086476326,
0.1516338288784027,
-0.027065278962254524,
0.4272915720939636,
0.4429096281528473,
0.046219222247600555,
0.41745272278785706,
-0.4453119933605194,
0.3533113896846771,
0.5391595363616943,
-0.00788679625838995,
-0.16565944254398346,
0.28881019353866577,
0.15099892020225525,
0.27138274908065796,
-0.2632125914096832,
-0.3472704589366913,
-0.2103033810853958,
0.2743269205093384,
-0.17121872305870056,
-0.07675914466381073,
0.2778632342815399,
-0.33336734771728516,
0.30099451541900635,
0.10581870377063751,
0.8167821764945984,
0.17162097990512848,
0.08846431970596313,
-0.3020498752593994,
-0.09666590392589569
] |
https://github.com/huggingface/datasets/issues/2055
|
is there a way to override a dataset object saved with save_to_disk?
|
Let's say I am updating a set of embedding in a dataset that is around 40GB inside a training loop every 500 steps (Ex: calculating the embeddings in updated ctx_encoder in RAG and saving it to the passage path). So when we use **dataset_object.save_to_disk('passage_path_directory')** it will save the new dataset object every time with a random file name, especially when we do some transformations to dataset objects such as map or shards. This way, we keep collecting unwanted files that will eventually eat up all the disk space.
But if we can save the dataset object every time by a single name like **data_shard_1.arrow**, it will automatically remove the previous file and save the new one in the same directory. I found the above-mentioned code snippet useful to complete this task.
Is this clear?
|
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
| 134
|
is there a way to override a dataset object saved with save_to_disk?
At the moment when I use save_to_disk, it uses the arbitrary name for the arrow file. Is there a way to override such an object?
Let's say I am updating a set of embedding in a dataset that is around 40GB inside a training loop every 500 steps (Ex: calculating the embeddings in updated ctx_encoder in RAG and saving it to the passage path). So when we use **dataset_object.save_to_disk('passage_path_directory')** it will save the new dataset object every time with a random file name, especially when we do some transformations to dataset objects such as map or shards. This way, we keep collecting unwanted files that will eventually eat up all the disk space.
But if we can save the dataset object every time by a single name like **data_shard_1.arrow**, it will automatically remove the previous file and save the new one in the same directory. I found the above-mentioned code snippet useful to complete this task.
Is this clear?
|
[
0.045734092593193054,
-0.03652136027812958,
-0.006559810601174831,
-0.06631366908550262,
0.2652105391025543,
0.14675529301166534,
0.05342152342200279,
0.13368818163871765,
-0.13232551515102386,
0.33304351568222046,
0.32839643955230713,
0.4801914691925049,
-0.38887012004852295,
0.09337825328111649,
0.2319840043783188,
0.07448269426822662,
0.3734700679779053,
-0.06701848655939102,
-0.12541887164115906,
0.18103069067001343,
-0.41791248321533203,
0.04415059834718704,
0.21091611683368683,
0.015982989221811295,
-0.08205045014619827,
-0.026436856016516685,
0.00046795420348644257,
-0.2508096694946289,
0.0576561838388443,
-0.43080878257751465,
0.22839926183223724,
0.2565988600254059,
0.11991386860609055,
0.13861939311027527,
-0.00012125579814892262,
-0.06955809146165848,
0.00953355710953474,
-0.06924394518136978,
-0.4169010818004608,
0.09945913404226303,
-0.06093582510948181,
-0.4046187102794647,
-0.04314615949988365,
-0.4321480989456177,
0.3878166675567627,
-0.249652698636055,
0.2778484523296356,
-0.16768354177474976,
0.10130995512008667,
-0.13045001029968262,
0.07575678080320358,
-0.07309482246637344,
0.19105549156665802,
0.20928919315338135,
0.13046780228614807,
0.28380000591278076,
-0.10730334371328354,
0.24099938571453094,
0.053617071360349655,
0.2485482543706894,
0.004452811554074287,
0.10470183938741684,
-0.03989768400788307,
-0.09036493301391602,
0.7107024788856506,
0.039754271507263184,
-0.08300156146287918,
-0.06894075125455856,
0.06325577944517136,
0.1232704147696495,
0.508764386177063,
-0.533944845199585,
-0.131535142660141,
-0.17497560381889343,
0.1265871226787567,
-0.3090950548648834,
0.26923471689224243,
-0.21145927906036377,
-0.06950164586305618,
0.020906614139676094,
-0.08521731942892075,
-0.6508274674415588,
-0.19854453206062317,
0.25564900040626526,
0.25916019082069397,
-0.539164662361145,
-0.06641227006912231,
0.2288219928741455,
0.31623169779777527,
0.007682111579924822,
0.31619563698768616,
-0.3927268385887146,
-0.22382734715938568,
-0.33842548727989197,
-0.12807247042655945,
-0.1810760796070099,
-0.3935980200767517,
0.22917580604553223,
0.05545392632484436,
0.3497769236564636,
0.436136394739151,
0.13568107783794403,
-0.06774338334798813,
0.22032886743545532,
0.10183136910200119,
0.023384230211377144,
-0.04052526503801346,
0.12682239711284637,
0.0779920220375061,
-0.0195700041949749,
-0.16979190707206726,
-0.030151380226016045,
0.24583758413791656,
-0.31121519207954407,
0.39212363958358765,
-0.2665879726409912,
0.25726908445358276,
0.05812706798315048,
0.0073827290907502174,
-0.07744114845991135,
-0.041978925466537476,
0.10957825928926468,
-0.0056768194772303104,
-0.13095955550670624,
0.2353038191795349,
-0.12215043604373932,
-0.10053958743810654,
0.13820554316043854,
0.1775680035352707,
0.14519816637039185,
0.08032853901386261,
-0.176116943359375,
0.10483314841985703,
0.4112701416015625,
0.038988761603832245,
0.17242926359176636,
-0.04522531479597092,
-0.22017844021320343,
0.04123637452721596,
-0.07174985110759735,
0.18356244266033173,
0.0025432195980101824,
0.403722882270813,
-0.09839940816164017,
-0.19462527334690094,
0.19454297423362732,
-0.16546107828617096,
-0.18618547916412354,
-0.22887861728668213,
0.249187171459198,
-0.23980160057544708,
-0.27971699833869934,
-0.02157851681113243,
0.0262741856276989,
-0.22498099505901337,
-0.10489149391651154,
-0.517710268497467,
0.16233226656913757,
-0.13106757402420044,
-0.260024756193161,
0.21265727281570435,
0.27725476026535034,
-0.2532309293746948,
-0.26264718174934387,
-0.0001717898267088458,
0.11682248115539551,
-0.33830034732818604,
-0.04738548398017883,
-0.13282428681850433,
-0.026851803064346313,
-0.36206454038619995,
-0.13258476555347443,
-0.2609148621559143,
-0.01061968132853508,
-0.295156329870224,
-0.021145816892385483,
0.3409300744533539,
-0.1320463865995407,
-0.590820848941803,
-0.227828249335289,
-0.1508212387561798,
-0.005292060319334269,
-0.006743393372744322,
0.5044078826904297,
0.14414285123348236,
-0.05760400742292404,
-0.5045732259750366,
0.053438570350408554,
0.06197427958250046,
-0.35005030035972595,
-0.06069209799170494,
-0.14419318735599518,
-0.19763238728046417,
-0.17175284028053284,
-0.29816967248916626,
0.21977582573890686,
-0.05560445040464401,
0.025111215189099312,
0.2167978286743164,
0.07321241497993469,
0.2401829957962036,
0.44855648279190063,
0.4341869652271271,
-0.11549526453018188,
-0.16888688504695892,
-0.1425730437040329,
-0.3905545473098755,
-0.03195512667298317,
0.5924932956695557,
-0.45889580249786377,
0.11325778812170029,
-0.20739352703094482,
0.17470446228981018,
0.12304657697677612,
-0.196837916970253,
0.23522311449050903,
-0.0548228845000267,
0.31227797269821167,
-0.0037066296208649874,
-0.15668579936027527,
-0.36193808913230896,
0.06743944436311722,
-0.1729990839958191,
0.18043993413448334,
-0.13488243520259857,
0.14646397531032562,
0.10231822729110718,
-0.04585295543074608,
-0.3633916974067688,
-0.1533871740102768,
-0.10640469193458557,
-0.09650957584381104,
-0.07514873147010803,
0.4044417142868042,
-0.24641479551792145,
0.1191931888461113,
0.17265811562538147,
0.4314655065536499,
-0.061940599232912064,
-0.3676759898662567,
0.21724411845207214,
0.23570625483989716,
0.0893717110157013,
0.12281009554862976,
-0.3586912155151367,
0.12104485183954239,
-0.0270181093364954,
0.17449598014354706,
-0.06124018505215645,
0.13847169280052185,
0.0513608492910862,
-0.05097110942006111,
-0.3274538218975067,
-0.22608163952827454,
-0.34945574402809143,
0.1841985583305359,
0.4219745099544525,
-0.06836357712745667,
-0.1296260803937912,
0.10653432458639145,
0.6030346751213074,
-0.10114822536706924,
0.06264353543519974,
0.1921168714761734,
-0.29575875401496887,
-0.08019188046455383,
-0.2568453550338745,
0.8007146120071411,
0.3792867660522461,
0.07458478212356567,
0.17229418456554413,
-0.2163548469543457,
0.07660799473524094,
-0.0620700940489769,
0.18343272805213928,
0.3528279662132263,
0.23133766651153564,
0.06898243725299835,
0.21714891493320465,
-0.0842008888721466,
-0.23273032903671265,
0.02291584201157093,
0.031018562614917755,
-0.004507796373218298,
-0.03112594038248062,
0.06366540491580963,
-0.05425797030329704,
0.06262622028589249,
-0.44378504157066345,
0.09744247049093246,
-0.25830963253974915,
-0.19728703796863556,
0.023963596671819687,
0.32983192801475525,
-0.06332079321146011,
0.18094459176063538,
0.29266437888145447,
0.41979315876960754,
-0.26441025733947754,
-0.3293955624103546,
0.02350558154284954,
0.20389969646930695,
-0.15381786227226257,
-0.1272316575050354,
0.17784157395362854,
-0.33151134848594666,
0.3227919042110443,
0.13448792695999146,
0.16412554681301117,
-0.7020509839057922,
0.07245029509067535,
-0.1511766016483307,
0.23630179464817047,
0.12264498323202133,
-0.011349025182425976,
0.06700915098190308,
-0.22855527698993683,
0.06878121197223663,
-0.021281402558088303,
0.020753242075443268,
0.03845415636897087,
-0.03633682057261467,
0.05666154995560646,
0.29141098260879517,
0.12042386084794998,
0.21167628467082977,
-0.16903212666511536,
-0.12929844856262207,
0.18942435085773468,
-0.09246835112571716,
-0.012782467529177666,
-0.1523365080356598,
0.2509375810623169,
0.07163183391094208,
-0.020515592768788338,
-0.3927159309387207,
0.009466132149100304,
-0.664311408996582,
0.35992375016212463,
-0.06304199248552322,
0.0037832881789654493,
-0.02448687143623829,
-0.037779808044433594,
-0.04360000789165497,
0.27273401618003845,
-0.3989459276199341,
-0.24523916840553284,
-0.03983592614531517,
0.1406460404396057,
-0.07629901170730591,
-0.18810805678367615,
0.17330171167850494,
0.4887492060661316,
-0.020688505843281746,
0.027586011216044426,
-0.47499313950538635,
0.26546093821525574,
0.18003152310848236,
0.34966179728507996,
0.2071925699710846,
0.1719934642314911,
0.11533604562282562,
0.3271215856075287,
-0.0671859085559845,
-0.13642723858356476,
0.4031304121017456,
0.15849415957927704,
0.36158499121665955,
0.06978048384189606,
-0.05791058763861656,
-0.16819941997528076,
-0.21034231781959534,
-0.10223190486431122,
-0.008655603043735027,
-0.06917407363653183,
0.23026104271411896,
0.37292295694351196,
-0.031575512140989304,
0.07506884634494781,
-0.3564733564853668,
0.13017094135284424,
-0.19902683794498444,
0.08180568367242813,
-0.024536170065402985,
-0.13954195380210876,
-0.2211085557937622,
-0.15810205042362213,
0.09656635671854019,
0.3935684859752655,
0.20685218274593353,
-0.06041989475488663,
-0.6695660948753357,
-0.15483039617538452,
-0.3504045605659485,
0.2457047700881958,
-0.3112828731536865,
-0.05304569751024246,
0.14817245304584503,
0.03196476027369499,
0.013765190728008747,
-0.06690530478954315,
0.646992564201355,
0.000005586991392192431,
0.0835069864988327,
-0.19046418368816376,
0.18431080877780914,
-0.18998439610004425,
0.09440816938877106,
0.31971684098243713,
0.3267335891723633,
-0.343404620885849,
0.413331538438797,
0.10805989801883698,
-0.23383782804012299,
0.09097280353307724,
0.45993366837501526,
-0.5098073482513428,
-0.05794603377580643,
0.22145749628543854,
-0.29966026544570923,
-0.14803707599639893,
-0.37490230798721313,
0.09971228986978531,
0.0366375558078289,
0.2042607218027115,
-0.2132812887430191,
-0.36606428027153015,
-0.12378576397895813,
0.14252869784832,
-0.3959299921989441,
0.40690845251083374,
-0.06542936712503433,
-0.0009565508808009326,
-0.06640497595071793,
0.39823803305625916,
0.6073398590087891,
0.24179086089134216,
-0.4718923568725586,
-0.3955789804458618,
-0.11286591738462448,
-0.1703765094280243,
0.23260465264320374,
0.23936864733695984,
0.012221986427903175,
0.19662576913833618,
0.123860202729702,
-0.1339849978685379,
-0.26124367117881775,
0.18208777904510498,
0.11945664882659912,
0.3022393584251404,
-0.17342068254947662,
-0.31737422943115234,
0.4509800970554352,
0.27494022250175476,
0.04777133837342262,
0.19783642888069153,
0.35384875535964966,
-0.37766820192337036,
0.36735987663269043,
0.11812759190797806,
0.6669087409973145,
-0.018206173554062843,
0.496853232383728,
-0.09859243780374527,
-0.36633384227752686,
-0.035009827464818954,
0.018320683389902115,
0.08022943884134293,
-0.07115866988897324,
-0.1028738021850586,
-0.016790218651294708,
0.08193888515233994,
0.2323686182498932,
0.5184141993522644,
-0.047984953969717026,
0.21587902307510376,
-0.14983728528022766,
0.08524490892887115,
-0.3729455769062042,
0.20463994145393372,
-0.19102182984352112,
-0.1594380885362625,
0.041062772274017334,
0.02376197651028633,
0.08883341401815414,
-0.13317960500717163,
0.14963434636592865,
-0.0856834426522255,
0.09177720546722412,
-0.059695854783058167,
-0.1656387597322464,
-0.40726953744888306,
-0.14811234176158905,
-0.20734387636184692,
-0.19550564885139465,
-0.5290104150772095,
0.038595762103796005,
0.4284880459308624,
0.19724300503730774,
0.06067132577300072,
0.08352641016244888,
0.2208258956670761,
0.04842080920934677,
0.12394296377897263,
-0.16686861217021942,
-0.18230800330638885,
0.18798178434371948,
0.0752461850643158,
0.027371859177947044,
0.02504848875105381,
0.11285533756017685,
-0.4212212860584259,
0.0675835907459259,
-0.11932626366615295,
0.2632942199707031,
-0.030707379803061485,
-0.33659717440605164,
-0.1666625440120697,
-0.31787824630737305,
-0.42648234963417053,
0.037002082914114,
-0.06813552975654602,
-0.009189064614474773,
0.41550350189208984,
-0.19749945402145386,
-0.12379048019647598,
0.19595874845981598,
0.17169146239757538,
-0.14904840290546417,
0.0487341582775116,
0.7534677982330322,
-0.44080638885498047,
0.11565989255905151,
-0.14747761189937592,
0.4632139801979065,
0.2551521956920624,
-0.15433372557163239,
0.3137848973274231,
-0.15445005893707275,
0.23591618239879608,
-0.05554017052054405,
-0.12518437206745148,
0.05002953112125397,
0.10265016555786133,
-0.3332239091396332,
-0.09578373283147812,
-0.3727159798145294,
0.045964036136865616,
0.36311450600624084,
0.4548835754394531,
-0.1544358879327774,
-0.3133366107940674,
-0.17455022037029266,
-0.062389571219682693,
-0.12903587520122528,
0.1928519457578659,
0.11156442761421204,
-0.03378696367144585,
0.08926869928836823,
0.5190911889076233,
0.0927499383687973,
-0.04397733137011528,
-0.0874972864985466,
-0.08117794990539551,
0.04906913638114929,
-0.06776996701955795,
-0.2429116666316986,
0.21718008816242218,
-0.16237835586071014,
-0.09614614397287369,
-0.12649531662464142,
-0.2579060196876526,
0.16735318303108215,
-0.109962098300457,
-0.3237510919570923,
0.14333191514015198,
0.15162992477416992,
0.19258762896060944,
0.03932597488164902,
0.13731007277965546,
0.23044240474700928,
-0.1271108239889145,
0.2648395895957947,
0.34154534339904785,
0.1894303262233734,
0.25977233052253723,
0.11799674481153488,
-0.16691510379314423,
-0.2726459503173828,
0.030675137415528297,
0.11636413633823395,
-0.12077899277210236,
-0.24514958262443542,
0.0025421970058232546,
-0.1187877357006073,
0.32894399762153625,
0.1872164011001587,
0.2814938724040985,
-0.29396697878837585,
-0.28095775842666626,
0.39675483107566833,
0.03278417885303497,
0.0694618746638298,
-0.3122707009315491,
0.4320266544818878,
-0.28864023089408875,
-0.024498455226421356,
0.06490571796894073,
-0.11048129945993423,
0.16356177628040314,
-0.6306905150413513,
-0.13157062232494354,
-0.0050376043654978275,
-0.17571724951267242,
0.183641254901886,
0.36215686798095703,
0.03519574552774429,
-0.011380215175449848,
0.29982122778892517,
0.3326321244239807,
0.4769550859928131,
0.7568998336791992,
-0.1946566253900528,
0.32137879729270935,
0.3584156334400177,
-0.1121046170592308,
0.1665574163198471,
-0.13363441824913025,
0.006257308647036552,
0.01908028870820999,
0.08390466123819351,
0.3280991315841675,
0.41325366497039795,
0.07035785913467407,
0.16777613759040833,
-0.30831894278526306,
0.07716458290815353,
-0.02105436660349369,
0.11728965491056442,
-0.40653955936431885,
0.05210733786225319,
-0.0315600223839283,
0.1487143486738205,
0.2962122857570648,
-0.18620000779628754,
-0.4566996097564697,
0.34145790338516235,
-0.17093512415885925,
0.09259190410375595,
0.2572569251060486,
0.2887907922267914,
-0.1281079798936844,
-0.010504310950636864,
-0.05942877009510994,
-0.29133689403533936,
-0.1945282518863678,
0.04013322293758392,
0.15205566585063934,
-0.06601297855377197,
-0.2403426617383957,
-0.15928223729133606,
0.01147334836423397,
0.14670169353485107,
-0.1973903775215149,
0.04333289712667465,
-0.19931288063526154,
-0.33476725220680237,
0.007289546076208353,
-0.1861639767885208,
0.35767656564712524,
0.0067861550487577915,
0.10362258553504944,
0.040026262402534485,
0.2810911238193512,
0.42036762833595276,
-0.4444260597229004,
0.057653047144412994,
0.15058857202529907,
-0.3244646489620209,
-0.022769134491682053,
0.023983003571629524,
-0.02297978661954403,
-0.42383450269699097,
0.7393187284469604,
0.04736951366066933,
0.009485432878136635,
0.12373433262109756,
0.03141963109374046,
-0.26728248596191406,
0.372907429933548,
-0.09125477820634842,
-0.24424350261688232,
-0.2016931176185608,
-0.14765584468841553,
-0.4075844883918762,
0.08890380710363388,
0.12139391899108887,
-0.001450239447876811,
-0.08974277973175049,
-0.08085142821073532,
0.07443871349096298,
-0.10164400935173035,
0.22575265169143677,
-0.14257030189037323,
0.0313427671790123,
0.5929243564605713,
-0.26936906576156616,
-0.23293247818946838,
0.10447557270526886,
0.42496535181999207,
0.270713210105896,
-0.3766428232192993,
-0.05877133458852768,
0.2983452379703522,
-0.09468767046928406,
0.05556388199329376,
0.1400139480829239,
-0.11160118877887726,
0.09867465496063232,
0.6502912044525146,
-0.14440582692623138,
-0.12456811219453812,
-0.16748417913913727,
-0.14602674543857574,
0.18600472807884216,
0.2573995590209961,
-0.4718901813030243,
0.24579182267189026,
-0.04504697024822235,
0.28271517157554626,
-0.41670843958854675,
0.5806437134742737,
-0.07726740092039108,
-0.3462802767753601,
-0.11110691726207733,
-0.15648652613162994,
-0.17295292019844055,
0.21776722371578217,
0.3041042983531952,
-0.009966223500669003,
0.37121570110321045,
0.3615013360977173,
0.051732826977968216,
0.39543724060058594,
-0.4144781827926636,
0.37055325508117676,
0.5090780854225159,
0.09489782899618149,
-0.053297773003578186,
0.27230823040008545,
-0.0018011057982221246,
0.2699888348579407,
-0.12410597503185272,
-0.48965707421302795,
-0.21826612949371338,
0.3479810059070587,
-0.13332805037498474,
-0.13732238113880157,
0.2824608087539673,
-0.2615495026111603,
0.12498509138822556,
0.0714559257030487,
0.8420632481575012,
0.18220758438110352,
-0.1185954362154007,
-0.1620350480079651,
-0.20015445351600647
] |
https://github.com/huggingface/datasets/issues/2054
|
Could not find file for ZEST dataset
|
This has been fixed in #2057 by @matt-peters (thanks again !)
The fix is available on the master branch and we'll do a new release very soon :)
|
I am trying to use zest dataset from Allen AI using below code in colab,
```
!pip install -q datasets
from datasets import load_dataset
dataset = load_dataset("zest")
```
I am getting the following error,
```
Using custom data configuration default
Downloading and preparing dataset zest/default (download: 5.53 MiB, generated: 19.96 MiB, post-processed: Unknown size, total: 25.48 MiB) to /root/.cache/huggingface/datasets/zest/default/0.0.0/1f7a230fbfc964d979bbca0f0130fbab3259fce547ee758ad8aa4f9c9bec6cca...
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-6-18dbbc1a4b8a> in <module>()
1 from datasets import load_dataset
2
----> 3 dataset = load_dataset("zest")
9 frames
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token)
612 )
613 elif response is not None and response.status_code == 404:
--> 614 raise FileNotFoundError("Couldn't find file at {}".format(url))
615 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
616 raise ConnectionError("Couldn't reach {}".format(url))
FileNotFoundError: Couldn't find file at https://ai2-datasets.s3-us-west-2.amazonaws.com/zest/zest.zip
```
| 28
|
Could not find file for ZEST dataset
I am trying to use zest dataset from Allen AI using below code in colab,
```
!pip install -q datasets
from datasets import load_dataset
dataset = load_dataset("zest")
```
I am getting the following error,
```
Using custom data configuration default
Downloading and preparing dataset zest/default (download: 5.53 MiB, generated: 19.96 MiB, post-processed: Unknown size, total: 25.48 MiB) to /root/.cache/huggingface/datasets/zest/default/0.0.0/1f7a230fbfc964d979bbca0f0130fbab3259fce547ee758ad8aa4f9c9bec6cca...
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-6-18dbbc1a4b8a> in <module>()
1 from datasets import load_dataset
2
----> 3 dataset = load_dataset("zest")
9 frames
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token)
612 )
613 elif response is not None and response.status_code == 404:
--> 614 raise FileNotFoundError("Couldn't find file at {}".format(url))
615 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
616 raise ConnectionError("Couldn't reach {}".format(url))
FileNotFoundError: Couldn't find file at https://ai2-datasets.s3-us-west-2.amazonaws.com/zest/zest.zip
```
This has been fixed in #2057 by @matt-peters (thanks again !)
The fix is available on the master branch and we'll do a new release very soon :)
|
[
-0.5492258071899414,
-0.1562173217535019,
-0.09730520844459534,
0.36410725116729736,
0.30120477080345154,
0.0931079164147377,
0.03187316656112671,
0.22301289439201355,
0.23836351931095123,
0.43103501200675964,
-0.20342214405536652,
-0.00974983349442482,
-0.11628168821334839,
0.12189744412899017,
-0.08435032516717911,
0.24477578699588776,
-0.23085437715053558,
0.43426695466041565,
0.43542876839637756,
0.08094700425863266,
-0.14630722999572754,
0.32276105880737305,
-0.03295710310339928,
0.013457363471388817,
-0.2296869456768036,
-0.026670655235648155,
0.064969502389431,
0.22698964178562164,
-0.24693617224693298,
-0.4500764012336731,
0.5318315029144287,
-0.20409634709358215,
0.382145494222641,
0.48626405000686646,
-0.00011926757724722847,
0.07678323984146118,
0.2923077344894409,
-0.1723961979150772,
-0.2772035598754883,
-0.6352195739746094,
-0.5189527869224548,
-0.10691595822572708,
0.022783268243074417,
-0.17459940910339355,
-0.49875831604003906,
0.1419638693332672,
0.09058009833097458,
0.08448980748653412,
0.13186168670654297,
0.4710635244846344,
0.13234758377075195,
-0.025551041588187218,
0.4266812801361084,
-0.2614114582538605,
0.6230577230453491,
0.06759706884622574,
-0.13573305308818817,
0.09859864413738251,
0.288570761680603,
0.2700989544391632,
0.4061024487018585,
0.13121837377548218,
-0.020903650671243668,
0.16053952276706696,
0.1259361207485199,
0.005102226044982672,
0.21551154553890228,
-0.3926915228366852,
0.29013127088546753,
0.20277884602546692,
0.7724488377571106,
-0.29378482699394226,
-0.30405446887016296,
0.11151622980833054,
0.08118236064910889,
-0.46641793847084045,
0.21704953908920288,
0.1507623940706253,
-0.28026148676872253,
0.20951169729232788,
0.19018268585205078,
-0.05832670256495476,
-0.1123313456773758,
0.34512731432914734,
0.087982177734375,
0.1269715130329132,
-0.1504742056131363,
0.005552831571549177,
-0.02377932518720627,
-0.15012678503990173,
0.27117347717285156,
-0.03890184313058853,
-0.08413945138454437,
0.1122516393661499,
-0.2754402160644531,
-0.16042697429656982,
0.016655001789331436,
0.24369707703590393,
-0.022371288388967514,
0.13066396117210388,
0.05929000303149223,
-0.20011477172374725,
0.10216408967971802,
0.1904093474149704,
0.062277451157569885,
0.15417014062404633,
-0.07592187821865082,
-0.34096238017082214,
0.22468753159046173,
0.1661466509103775,
-0.2793198823928833,
-0.2687012851238251,
-0.16671784222126007,
-0.24948984384536743,
-0.1447475254535675,
-0.0926702544093132,
0.1913479119539261,
-0.35045552253723145,
-0.47221893072128296,
-0.22922644019126892,
-0.5416935682296753,
0.08711995929479599,
0.19218580424785614,
0.39423808455467224,
0.08774242550134659,
-0.2509031295776367,
-0.0993422269821167,
-0.04067212715744972,
-0.2872307598590851,
-0.03263510763645172,
-0.14258116483688354,
0.298575758934021,
-0.10216760635375977,
0.0024051573127508163,
0.2607375979423523,
0.08077020943164825,
0.579279363155365,
-0.28433361649513245,
0.008404030464589596,
-0.02332650125026703,
0.2975994944572449,
-0.20748774707317352,
0.052137378603219986,
0.42887550592422485,
0.3808628022670746,
0.016163626685738564,
-0.09825275093317032,
-0.4445382356643677,
-0.30563580989837646,
0.3296528458595276,
-0.43945884704589844,
-0.46575331687927246,
-0.13549715280532837,
0.07438960671424866,
-0.4352439343929291,
0.0035238212440162897,
0.0006509855156764388,
-0.2347809076309204,
0.16041702032089233,
-0.3929879069328308,
-0.02172398753464222,
-0.35154929757118225,
-0.04343319684267044,
-0.2112884670495987,
0.2502278983592987,
0.3778165280818939,
-0.6014792323112488,
0.012842308729887009,
-0.3805817663669586,
0.15508124232292175,
0.11993007361888885,
0.19890765845775604,
-0.16859756410121918,
0.5266982316970825,
-0.27139297127723694,
-0.09150125086307526,
0.6319549679756165,
-0.6368849277496338,
-0.8415305018424988,
-0.16621440649032593,
-0.06234705448150635,
-0.04912981390953064,
0.23308642208576202,
0.29539015889167786,
0.17698702216148376,
-0.2069675624370575,
0.0053657409735023975,
0.028005093336105347,
-0.1691206991672516,
-0.11351998150348663,
-0.16122634708881378,
-0.1857517808675766,
-0.33770889043807983,
0.14517489075660706,
-0.04247475042939186,
-0.1901911199092865,
0.39484333992004395,
-0.029917055740952492,
-0.028317907825112343,
0.03570755943655968,
0.004188687540590763,
0.13330717384815216,
0.5193718671798706,
0.18914993107318878,
-0.004240017384290695,
0.02311784215271473,
-0.30822739005088806,
0.04484786465764046,
-0.10940816253423691,
0.06475012749433517,
-0.3085501492023468,
-0.04041047766804695,
-0.2715921401977539,
-0.3036615550518036,
-0.44246581196784973,
-0.26365217566490173,
0.02114451862871647,
-0.034180618822574615,
0.33905208110809326,
0.08272260427474976,
-0.04095372557640076,
0.04637428745627403,
-0.03916181996464729,
0.03713449090719223,
-0.181670680642128,
0.13812395930290222,
-0.15153689682483673,
-0.3019537925720215,
-0.052705928683280945,
0.2655144929885864,
-0.07926402986049652,
0.005150015000253916,
-0.15738435089588165,
0.1158524751663208,
0.17054122686386108,
-0.1826970875263214,
0.20291057229042053,
0.24538271129131317,
0.2108668088912964,
-0.2708522081375122,
0.18898606300354004,
-0.008235937915742397,
0.14061903953552246,
0.022456368431448936,
-0.02651386708021164,
0.1814837008714676,
0.06429903954267502,
-0.09261751174926758,
0.01420386042445898,
-0.15763644874095917,
0.39497628808021545,
-0.041394755244255066,
0.0071037872694432735,
-0.06916432827711105,
0.10237080603837967,
0.26018428802490234,
0.268690288066864,
0.0029977404046803713,
-0.1557588279247284,
0.018281493335962296,
0.5315014123916626,
0.11428235471248627,
0.006991485133767128,
0.05304276943206787,
-0.1327369064092636,
0.09639016538858414,
0.2903292179107666,
0.47292962670326233,
0.6047758460044861,
0.33208611607551575,
-0.2014877200126648,
-0.15123693645000458,
0.09975369274616241,
-0.13108296692371368,
0.09551753103733063,
0.10108707845211029,
0.21358589828014374,
0.24875356256961823,
0.09122787415981293,
0.08356727659702301,
-0.05029650032520294,
-0.5824815034866333,
-0.05930779501795769,
0.3502298891544342,
-0.15611298382282257,
-0.1299247145652771,
-0.16298499703407288,
-0.4231376647949219,
0.012132065370678902,
-0.2939905822277069,
0.15316151082515717,
-0.041180118918418884,
-0.01248347107321024,
0.2793315649032593,
0.3121996819972992,
0.15062379837036133,
-0.12417726963758469,
0.1046559289097786,
0.033312391489744186,
-0.5073767304420471,
-0.10873551666736603,
-0.08982531726360321,
-0.11686430871486664,
0.026091940701007843,
0.4296647906303406,
0.09903135895729065,
0.2851300537586212,
-0.4056554436683655,
0.14470329880714417,
-0.27275949716567993,
-0.14654351770877838,
0.20223468542099,
0.049583010375499725,
0.3368259072303772,
0.1884137988090515,
0.1252976953983307,
-0.2552153468132019,
-0.027409736067056656,
0.2641094923019409,
-0.0612308531999588,
-0.14085565507411957,
-0.09807297587394714,
-0.26897862553596497,
-0.055456437170505524,
0.05292736366391182,
-0.343838095664978,
-0.563911497592926,
-0.2585718333721161,
-0.18110327422618866,
0.18918733298778534,
0.18297334015369415,
0.09828051179647446,
0.16704630851745605,
0.17943952977657318,
0.034123025834560394,
-0.06522586196660995,
0.0789480060338974,
-0.5655248165130615,
0.41930314898490906,
-0.5766730308532715,
-0.12473171949386597,
0.4705352783203125,
-0.1488470733165741,
0.5684301257133484,
0.02059916965663433,
-0.25603240728378296,
-0.08911459147930145,
-0.15989543497562408,
0.44588518142700195,
-0.18850429356098175,
0.039676424115896225,
0.33153003454208374,
-0.014748850837349892,
0.0430484265089035,
0.0007887213723734021,
-0.002412460744380951,
-0.06214876472949982,
0.04070691019296646,
0.6619489789009094,
0.19210076332092285,
0.4910692572593689,
-0.23922687768936157,
0.5676380395889282,
0.07564137130975723,
-0.04420822113752365,
0.42629921436309814,
-0.1783234179019928,
0.2219613939523697,
-0.5061762928962708,
-0.1453304886817932,
0.16482768952846527,
0.18551236391067505,
-0.12602345645427704,
0.12721651792526245,
0.2610468864440918,
-0.049368664622306824,
-0.2332870066165924,
0.09220188111066818,
-0.3493930399417877,
-0.04005883261561394,
0.015092560090124607,
0.2960335910320282,
0.16702385246753693,
0.0034788877237588167,
0.004649882670491934,
-0.11226385086774826,
-0.4151184558868408,
0.013592416420578957,
0.48287007212638855,
-0.07880103588104248,
0.2738882303237915,
0.21619963645935059,
-0.43098628520965576,
-0.3567708432674408,
0.20085228979587555,
0.2648075520992279,
-0.18657390773296356,
-0.17549985647201538,
0.1863679587841034,
0.16184040904045105,
0.15472903847694397,
0.4447733163833618,
-0.03233503922820091,
0.0782783031463623,
0.18021582067012787,
-0.024722138419747353,
-0.0252111554145813,
-0.02994469925761223,
-0.1443335860967636,
0.29977425932884216,
0.25181540846824646,
0.1430126577615738,
-0.08639300614595413,
-0.17898645997047424,
0.16665630042552948,
0.10228469222784042,
-0.12280859798192978,
0.025752529501914978,
-0.10046827048063278,
-0.5379289388656616,
-0.37526166439056396,
-0.15745635330677032,
0.040652498602867126,
0.24525409936904907,
0.15218891203403473,
-0.08701950311660767,
0.05696595832705498,
0.09639377146959305,
0.07277369499206543,
0.2335210144519806,
0.506045401096344,
-0.03604799136519432,
0.025024719536304474,
-0.015061361715197563,
-0.3126758933067322,
0.6949633955955505,
0.4729435443878174,
0.056789446622133255,
-0.2865799367427826,
0.034060683101415634,
-0.14374175667762756,
0.14735251665115356,
-0.010250667110085487,
-0.0963011384010315,
-0.24351803958415985,
-0.49355560541152954,
0.06725656241178513,
0.2556270956993103,
0.16148079931735992,
0.17357859015464783,
0.021342987194657326,
-0.3130952715873718,
-0.27292272448539734,
0.18261133134365082,
0.03270724415779114,
0.2156350165605545,
0.3947993814945221,
0.24933217465877533,
-0.19055932760238647,
0.45910191535949707,
-0.03581821918487549,
0.8300558924674988,
0.03587101399898529,
0.11063911020755768,
0.17122337222099304,
0.11616512387990952,
0.42429327964782715,
-0.15242747962474823,
0.3545798063278198,
-0.17720134556293488,
-0.06231404095888138,
-0.15703865885734558,
-0.16647456586360931,
0.08439595997333527,
0.2573533356189728,
-0.22871939837932587,
0.35694512724876404,
0.3331587016582489,
0.10487315058708191,
-0.032396189868450165,
0.1906481236219406,
-0.24529045820236206,
0.08188589662313461,
-0.1570233702659607,
0.07918400317430496,
-0.15490998327732086,
0.6620945930480957,
-0.08413396775722504,
-0.16756011545658112,
-0.5331501364707947,
-0.06499402970075607,
-0.16655701398849487,
-0.14219550788402557,
-0.5519364476203918,
0.2744600772857666,
-0.1833067685365677,
-0.8469375371932983,
0.09232135862112045,
0.2916695475578308,
-0.11294830590486526,
0.10487235337495804,
-0.3378615081310272,
0.22168610990047455,
0.33708131313323975,
-0.2387389987707138,
0.18347084522247314,
0.15307985246181488,
0.1034664511680603,
-0.2592194676399231,
-0.2260497808456421,
0.04140148311853409,
0.1249217614531517,
-0.37343382835388184,
0.11934792995452881,
-0.18216338753700256,
0.07808342576026917,
-0.12100551277399063,
-0.4089341461658478,
-0.1684286743402481,
-0.14271917939186096,
-0.05412590131163597,
0.08819622546434402,
0.06457830965518951,
0.06243155524134636,
0.23282217979431152,
-0.201910138130188,
-0.26595911383628845,
-0.18750765919685364,
0.09928204119205475,
-0.2765612304210663,
0.41140738129615784,
0.521531343460083,
0.022476280108094215,
-0.16648168861865997,
-0.11050833761692047,
0.21718499064445496,
-0.1608552187681198,
-0.3135444223880768,
0.025799361988902092,
0.10303272306919098,
0.2682363986968994,
0.002201329218223691,
0.3596259355545044,
0.33833011984825134,
-0.19767482578754425,
-0.06653479486703873,
-0.5111650824546814,
-0.17946551740169525,
0.2216680943965912,
0.2026062160730362,
0.31320345401763916,
-0.18025611340999603,
0.20945429801940918,
0.17142173647880554,
-0.4007716476917267,
-0.2214142084121704,
0.17996586859226227,
-0.08622969686985016,
0.05072961375117302,
-0.03413568437099457,
0.14435763657093048,
0.3577927350997925,
0.09807128459215164,
-0.006873725913465023,
-0.13185782730579376,
-0.1616237312555313,
-0.2157357931137085,
0.14197006821632385,
0.142949178814888,
-0.018536945804953575,
0.010515323840081692,
-0.06889539211988449,
-0.06051230803132057,
-0.08238741755485535,
-0.030012307688593864,
0.15197190642356873,
0.22906173765659332,
-0.009497820399701595,
0.19909793138504028,
0.06018691882491112,
-0.07607465237379074,
-0.11694222688674927,
0.3815579414367676,
0.13565073907375336,
0.17045854032039642,
0.16903901100158691,
0.2944318652153015,
0.05125698819756508,
-0.031167779117822647,
-0.009320736862719059,
-0.1481216698884964,
-0.3203984797000885,
0.021011684089899063,
0.1947287768125534,
-0.18557755649089813,
0.01627192832529545,
0.2852480113506317,
0.07029739767313004,
0.05839508771896362,
-0.08021503686904907,
0.1453118771314621,
0.2804790139198303,
0.06195719912648201,
-0.21226294338703156,
0.1061512902379036,
0.3297358453273773,
0.21417291462421417,
0.05806250497698784,
0.24907691776752472,
-0.0242482740432024,
0.05696016922593117,
0.034028392285108566,
0.1954723596572876,
0.758529543876648,
-0.20845259726047516,
-0.09514464437961578,
0.2974693775177002,
-0.04863402247428894,
0.2966541647911072,
0.015200251713395119,
0.03201292082667351,
0.08893230557441711,
0.45209023356437683,
-0.1312088668346405,
0.3690887987613678,
-0.1816405951976776,
0.1036190465092659,
-0.01686984859406948,
-0.47768765687942505,
-0.3266054093837738,
-0.2345929890871048,
-0.15999692678451538,
-0.16802185773849487,
-0.001395970699377358,
0.5693009495735168,
0.020611317828297615,
0.12685927748680115,
-0.27679386734962463,
0.03554690629243851,
-0.3136083483695984,
0.22280274331569672,
-0.2753288149833679,
-0.21705636382102966,
0.248983234167099,
0.04732701554894447,
0.028721533715724945,
0.08381189405918121,
-0.12339458614587784,
0.21483363211154938,
-0.2976413667201996,
0.1965068131685257,
0.056975748389959335,
0.07582908868789673,
-0.050015226006507874,
-0.07995431125164032,
0.35217592120170593,
0.05489702522754669,
-0.09956429153680801,
-0.14382800459861755,
0.28923919796943665,
0.47523751854896545,
0.30812713503837585,
-0.005723492242395878,
-0.10636219382286072,
-0.019874397665262222,
-0.2170754373073578,
-0.11123555153608322,
0.023558001965284348,
0.10226670652627945,
-0.02056381292641163,
-0.011728018522262573,
0.14690051972866058,
-0.06780257076025009,
0.04238928481936455,
0.06828784942626953,
-0.09842036664485931,
-0.05919080972671509,
0.0013843944761902094,
-0.08751079440116882,
-0.2262164205312729,
-0.14558911323547363,
0.06451418995857239,
-0.33057913184165955,
0.07007571309804916,
-0.03510407358407974,
0.026613814756274223,
-0.009222499094903469,
-0.05505141243338585,
0.020776063203811646,
-0.2382718324661255,
0.09306631237268448,
0.2795320749282837,
0.354504257440567,
-0.43598294258117676,
-0.16758427023887634,
-0.5266880393028259,
0.08687223494052887,
-0.11022106558084488,
-0.1636725664138794,
-0.19490855932235718,
0.15380914509296417,
-0.4237283766269684,
0.08209864795207977,
0.3141464591026306,
0.0027324333786964417,
0.2736634612083435,
0.31615597009658813,
-0.16671092808246613,
-0.2694205045700073,
-0.0941864550113678,
-0.07495260238647461,
-0.004556193016469479,
-0.2586074471473694,
0.03182575851678848,
-0.14932948350906372,
-0.06178994104266167,
-0.18872055411338806,
-0.24973593652248383,
0.1526002585887909,
-0.025648074224591255,
0.49468979239463806,
-0.17386823892593384,
0.5443029999732971,
-0.14266400039196014,
0.18135255575180054,
0.09708676487207413,
-0.013570744544267654,
-0.0842953771352768,
0.08932614326477051,
0.14161144196987152,
0.35052210092544556,
-0.2550508677959442,
-0.01575017161667347,
-0.2995869517326355,
0.19756460189819336,
-0.05927496775984764,
-0.034118134528398514,
-0.0428285114467144,
-0.11274966597557068,
-0.28469687700271606,
0.2559107542037964,
0.16056446731090546,
0.02306891605257988,
-0.16983434557914734,
0.12079690396785736,
-0.31960561871528625,
-0.11808749288320541,
0.5395073294639587,
-0.1812964230775833,
0.14852850139141083,
-0.16438710689544678,
0.02869303710758686,
-0.0790732279419899,
-0.26236292719841003,
0.059234000742435455,
0.0853305459022522,
0.21876291930675507,
0.1401185244321823,
-0.17868807911872864,
0.29414868354797363,
0.11966235190629959,
0.03512163832783699,
0.1572336107492447,
0.5685510039329529,
0.04337907209992409,
-0.023019608110189438,
-0.2887488603591919,
-0.18519441783428192
] |
https://github.com/huggingface/datasets/issues/2052
|
Timit_asr dataset repeats examples
|
Hi,
this was fixed by #1995, so you can wait for the next release or install the package directly from the master branch with the following command:
```bash
pip install git+https://github.com/huggingface/datasets
```
|
Summary
When loading timit_asr dataset on datasets 1.4+, every row in the dataset is the same
Steps to reproduce
As an example, on this code there is the text from the training part:
Code snippet:
```
from datasets import load_dataset, load_metric
timit = load_dataset("timit_asr")
timit['train']['text']
#['Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
```
The same behavior happens for other columns
Expected behavior:
Different info on the actual timit_asr dataset
Actual behavior:
When loading timit_asr dataset on datasets 1.4+, every row in the dataset is the same. I've checked datasets 1.3 and the rows are different
Debug info
Streamlit version: (get it with $ streamlit version)
Python version: Python 3.6.12
Using Conda? PipEnv? PyEnv? Pex? Using pip
OS version: Centos-release-7-9.2009.1.el7.centos.x86_64
Additional information
You can check the same behavior on https://huggingface.co/datasets/viewer/?dataset=timit_asr
| 32
|
Timit_asr dataset repeats examples
Summary
When loading timit_asr dataset on datasets 1.4+, every row in the dataset is the same
Steps to reproduce
As an example, on this code there is the text from the training part:
Code snippet:
```
from datasets import load_dataset, load_metric
timit = load_dataset("timit_asr")
timit['train']['text']
#['Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
# 'Would such an act of refusal be useful?',
```
The same behavior happens for other columns
Expected behavior:
Different info on the actual timit_asr dataset
Actual behavior:
When loading timit_asr dataset on datasets 1.4+, every row in the dataset is the same. I've checked datasets 1.3 and the rows are different
Debug info
Streamlit version: (get it with $ streamlit version)
Python version: Python 3.6.12
Using Conda? PipEnv? PyEnv? Pex? Using pip
OS version: Centos-release-7-9.2009.1.el7.centos.x86_64
Additional information
You can check the same behavior on https://huggingface.co/datasets/viewer/?dataset=timit_asr
Hi,
this was fixed by #1995, so you can wait for the next release or install the package directly from the master branch with the following command:
```bash
pip install git+https://github.com/huggingface/datasets
```
|
[
0.06932347267866135,
-0.23608100414276123,
0.01432157400995493,
0.3875424861907959,
0.2564869225025177,
-0.05277547612786293,
0.3894462585449219,
0.1509237289428711,
-0.35309356451034546,
0.21451406180858612,
0.03625631704926491,
0.38388684391975403,
-0.19141148030757904,
0.3149213492870331,
0.1428200602531433,
0.08972382545471191,
-0.0645078644156456,
0.17462976276874542,
-0.5109458565711975,
-0.20785430073738098,
0.15595951676368713,
0.10734941065311432,
-0.044199731200933456,
-0.021940788254141808,
-0.19256408512592316,
0.25162452459335327,
0.03453304246068001,
-0.2753400206565857,
0.028873464092612267,
-0.6021391749382019,
0.21523542702198029,
0.08594055473804474,
0.16023623943328857,
0.5223378539085388,
-0.00012033859093207866,
0.0850626602768898,
-0.10062476992607117,
-0.05858974903821945,
-0.44371411204338074,
-0.33151406049728394,
-0.12937358021736145,
-0.00985901802778244,
0.4994368553161621,
-0.1294315606355667,
-0.35388025641441345,
-0.26584240794181824,
0.02285906672477722,
0.16789893805980682,
0.138713538646698,
0.1977490782737732,
0.14429986476898193,
0.20762881636619568,
-0.48522821068763733,
-0.059883926063776016,
0.17897501587867737,
0.09279722720384598,
-0.0897972583770752,
0.18346057832241058,
-0.11458980292081833,
0.34348076581954956,
-0.08619286119937897,
0.2969878613948822,
0.047215163707733154,
0.3001305162906647,
-0.032589320093393326,
0.03432855382561684,
0.08034320175647736,
-0.13857920467853546,
0.05308711901307106,
0.30745193362236023,
0.6112808585166931,
-0.19117330014705658,
-0.006163771729916334,
-0.23796722292900085,
0.28091081976890564,
-0.00891747698187828,
0.13152211904525757,
0.22823762893676758,
-0.15788958966732025,
0.1716044545173645,
-0.4439932405948639,
0.16408133506774902,
-0.22206133604049683,
0.10229070484638214,
-0.07236449420452118,
-0.4805184006690979,
-0.24315179884433746,
0.08900681883096695,
-0.19932453334331512,
-0.1923932135105133,
0.20144887268543243,
-0.21418751776218414,
0.15944288671016693,
0.0345592200756073,
-0.26224061846733093,
0.10921687632799149,
-0.03982257470488548,
0.2607026994228363,
0.043721504509449005,
0.21765834093093872,
0.7037334442138672,
0.19501909613609314,
-0.16518788039684296,
-0.12095208466053009,
0.11112617701292038,
0.21426282823085785,
0.1403149962425232,
-0.10361155867576599,
0.0006799479015171528,
0.14066143333911896,
-0.3247901499271393,
0.016144344583153725,
-0.09482069313526154,
0.3506809175014496,
0.29835444688796997,
-0.45947563648223877,
0.2485123723745346,
-0.24131637811660767,
-0.4751429259777069,
0.1753270924091339,
-0.4329759478569031,
-0.18622083961963654,
-0.03017144836485386,
0.12821319699287415,
-0.03281788155436516,
0.28878799080848694,
-0.06715250760316849,
-0.14361858367919922,
0.033126428723335266,
-0.1429733783006668,
-0.17336983978748322,
-0.2447233498096466,
-0.2997198700904846,
0.31736019253730774,
0.18309278786182404,
-0.5795413255691528,
0.17554372549057007,
0.5316570997238159,
-0.09798575937747955,
-0.05995212495326996,
0.1499052494764328,
0.04843359440565109,
0.06053833290934563,
0.05278782919049263,
-0.09169158339500427,
0.21545420587062836,
0.04532449692487717,
0.19597099721431732,
-0.004551290068775415,
0.09920675307512283,
0.00600814213976264,
0.08487226068973541,
0.5086861848831177,
0.1952255666255951,
-0.3254632353782654,
-0.14162935316562653,
-0.13613159954547882,
0.1503882110118866,
-0.13097088038921356,
-0.10115475207567215,
0.07903463393449783,
-0.2211149036884308,
-0.17905624210834503,
-0.1774928718805313,
0.06750606000423431,
0.34320318698883057,
-0.3481612801551819,
-0.17978568375110626,
0.3411162197589874,
0.06732207536697388,
0.12096048146486282,
0.017069000750780106,
-0.03977096453309059,
0.254791259765625,
-0.1584249585866928,
-0.06254962086677551,
0.019833028316497803,
-0.18381479382514954,
-0.2675591707229614,
0.1368083506822586,
-0.03174898400902748,
0.4677163064479828,
0.018071373924613,
-0.045796629041433334,
0.32518240809440613,
0.372059166431427,
0.08713579177856445,
-0.046907976269721985,
0.4046125113964081,
-0.037094052881002426,
-0.41913095116615295,
-0.0683908686041832,
0.1653861105442047,
0.19854284822940826,
-0.17358963191509247,
0.2753484845161438,
0.11031065881252289,
-0.06502285599708557,
0.34849250316619873,
-0.11650232970714569,
-0.147974893450737,
-0.13332708179950714,
0.09105473011732101,
0.1553092896938324,
0.16576315462589264,
-0.3785128593444824,
-0.13619878888130188,
-0.013141871429979801,
0.2551575005054474,
0.19182659685611725,
0.3550342321395874,
-0.03331873193383217,
-0.3664957284927368,
-0.2809579372406006,
-0.39505019783973694,
-0.03785653039813042,
0.10212478041648865,
0.5243576765060425,
-0.02065207064151764,
0.24048496782779694,
0.025403272360563278,
0.6545199155807495,
-0.48340147733688354,
0.15544822812080383,
-0.11687257885932922,
0.18298226594924927,
0.07460753619670868,
-0.008381535299122334,
0.023886270821094513,
0.08530441671609879,
0.18199218809604645,
-0.14323394000530243,
0.11976837366819382,
0.3222540318965912,
0.060844581574201584,
-0.0229388028383255,
-0.22276899218559265,
-0.19323332607746124,
0.25956350564956665,
-0.19837673008441925,
-0.15344150364398956,
0.18771909177303314,
0.117983378469944,
0.03574317693710327,
-0.09552078694105148,
0.309662789106369,
0.010377834551036358,
0.14830608665943146,
0.22136545181274414,
0.07385142147541046,
0.02117520198225975,
-0.08089970797300339,
-0.36857330799102783,
-0.4152877628803253,
0.411594033241272,
-0.044559188187122345,
0.06609666347503662,
0.1735987365245819,
-0.41374462842941284,
0.1797868013381958,
0.09577266126871109,
-0.12905751168727875,
-0.13192690908908844,
0.19785436987876892,
-0.15852287411689758,
0.24808742105960846,
0.04894297197461128,
0.30099549889564514,
0.22301574051380157,
0.1953904777765274,
-0.0019306595204398036,
0.07476739585399628,
-0.2692958116531372,
-0.1935736984014511,
0.14332252740859985,
0.01934429071843624,
-0.2603229582309723,
0.4037386178970337,
0.21911561489105225,
-0.017681710422039032,
-0.614321231842041,
-0.08849039673805237,
0.21711908280849457,
0.29743871092796326,
-0.2661314606666565,
0.08534989506006241,
-0.4890749454498291,
-0.045006610453128815,
-0.30117490887641907,
-0.1606365144252777,
0.10408703237771988,
0.0812579020857811,
0.03938340023159981,
0.20805776119232178,
0.19908159971237183,
0.20264548063278198,
-0.39721110463142395,
0.298189640045166,
-0.06823371350765228,
0.43915751576423645,
-0.0972706601023674,
0.24798089265823364,
-0.33489370346069336,
0.04246152937412262,
-0.08527257293462753,
0.12156693637371063,
0.26888400316238403,
-0.48625871539115906,
0.09935421496629715,
-0.31780311465263367,
-0.3299524188041687,
0.3918777108192444,
-0.14891904592514038,
0.4757387340068817,
0.2216869443655014,
0.07834682613611221,
-0.19708555936813354,
-0.25063231587409973,
0.010232432745397091,
-0.14002972841262817,
-0.20912252366542816,
0.12644121050834656,
-0.05641976743936539,
0.07044700533151627,
-0.170755535364151,
-0.532076358795166,
0.13262055814266205,
-0.17592495679855347,
0.4266982078552246,
0.19295863807201385,
0.1590535044670105,
0.5182477831840515,
0.027614187449216843,
0.33342066407203674,
0.11542799323797226,
0.25479018688201904,
-0.4598688781261444,
-0.25513824820518494,
0.22258928418159485,
-0.05883580073714256,
-0.13104316592216492,
-0.15293025970458984,
0.020457644015550613,
0.06936662644147873,
0.2738560438156128,
-0.6682435274124146,
-0.059467069804668427,
-0.23475968837738037,
0.06697401404380798,
0.009898443706333637,
0.06578558683395386,
0.1793263852596283,
-0.08590258657932281,
-0.03529683127999306,
-0.1392114758491516,
-0.0137346051633358,
0.202699676156044,
-0.08505315333604813,
-0.05056654289364815,
0.05240129679441452,
0.15729129314422607,
0.09333085268735886,
0.19903266429901123,
0.4609866440296173,
-0.10917063057422638,
0.294864684343338,
-0.09480146318674088,
0.5107043981552124,
-0.07972454279661179,
-0.17769864201545715,
-0.21116453409194946,
-0.11231061816215515,
0.012511638924479485,
0.2650344669818878,
-0.14423364400863647,
0.18554283678531647,
-0.05280248075723648,
-0.007716306019574404,
0.05567697435617447,
-0.27030330896377563,
-0.2283935546875,
-0.40313929319381714,
0.3369256258010864,
0.19738158583641052,
0.14733664691448212,
0.023982519283890724,
-0.15989133715629578,
-0.23915010690689087,
0.27519524097442627,
0.10585448890924454,
-0.05467528477311134,
-0.7649237513542175,
-0.20497500896453857,
-0.4185813069343567,
0.2463742345571518,
0.3461545705795288,
0.35249748826026917,
0.0982511043548584,
-0.28501880168914795,
0.4231264889240265,
0.08939705789089203,
0.5272783637046814,
-0.4261736571788788,
-0.12258317321538925,
0.07816086709499359,
0.07081090658903122,
-0.5122361779212952,
-0.1821727752685547,
-0.3769615888595581,
-0.10747963190078735,
0.10667602717876434,
0.3323649764060974,
-0.14470018446445465,
-0.2569247782230377,
0.2897033095359802,
0.2483830600976944,
-0.1374627947807312,
-0.21363626420497894,
-0.0776473879814148,
-0.07472039759159088,
0.06465288251638412,
-0.0018657593755051494,
-0.24642375111579895,
-0.12127599120140076,
-0.3947782814502716,
0.012344432063400745,
-0.29855650663375854,
0.16598540544509888,
0.5115218758583069,
0.26981911063194275,
0.4900933802127838,
0.009169754572212696,
0.30909809470176697,
0.37323305010795593,
-0.051160749047994614,
0.18707579374313354,
0.5713590383529663,
-0.3596918284893036,
-0.0047075338661670685,
0.1924046128988266,
-0.26983901858329773,
0.1046854630112648,
0.4873083531856537,
-0.06086457148194313,
0.2108048051595688,
-0.21177655458450317,
-0.018489602953195572,
-0.13532568514347076,
0.2354850471019745,
0.2572874128818512,
0.008318168111145496,
0.089765764772892,
-0.6204379796981812,
0.26613855361938477,
0.008617729879915714,
-0.24674369394779205,
0.2705604135990143,
0.07447081804275513,
-0.09553173184394836,
0.15971259772777557,
-0.27956631779670715,
0.808722972869873,
0.12414535880088806,
0.5083402991294861,
0.37288784980773926,
0.027652457356452942,
0.05371764302253723,
-0.1236921101808548,
0.07817868143320084,
-0.20461677014827728,
-0.2007225900888443,
-0.12225153297185898,
-0.16528943181037903,
-0.042689159512519836,
0.11962058395147324,
-0.3727232813835144,
0.05507957562804222,
-0.040088824927806854,
0.21999293565750122,
0.11894778162240982,
0.030929140746593475,
-0.24421845376491547,
0.09775900095701218,
-0.04436534643173218,
0.05916966125369072,
0.06498780101537704,
0.11208033561706543,
0.10477589815855026,
0.15554991364479065,
0.3324558734893799,
-0.26762691140174866,
-0.288350909948349,
0.025152897462248802,
-0.11853037029504776,
-0.12339411675930023,
0.015088170766830444,
-0.5537109375,
-0.05436357483267784,
0.022717803716659546,
0.037664636969566345,
0.08256281167268753,
0.019677821546792984,
-0.18978455662727356,
0.14448213577270508,
0.28915756940841675,
-0.26729193329811096,
-0.04021967202425003,
0.5374184250831604,
0.23137876391410828,
-0.32568687200546265,
0.14734944701194763,
0.2718450129032135,
-0.0018397218082100153,
-0.3763459324836731,
0.13288269937038422,
-0.2728017568588257,
-0.683497428894043,
0.09932567924261093,
0.018812481313943863,
-0.05487813055515289,
-0.2263854444026947,
0.07696611434221268,
-0.3152380585670471,
-0.16917414963245392,
0.24659550189971924,
0.3125600218772888,
-0.4311826229095459,
-0.1518791913986206,
0.40578693151474,
0.38992249965667725,
-0.0322275348007679,
0.4833846688270569,
-0.05535736307501793,
-0.09314925223588943,
-0.24477210640907288,
0.08967757225036621,
0.1940062940120697,
-0.2671206295490265,
0.0831897184252739,
-0.21828597784042358,
0.23541902005672455,
0.21104763448238373,
0.24754968285560608,
0.058213166892528534,
-0.03755485266447067,
-0.3182401657104492,
-0.2167699784040451,
0.05500934645533562,
0.1399964988231659,
0.23366573452949524,
0.374697744846344,
-0.04931743070483208,
0.28860828280448914,
-0.012801612727344036,
-0.12172732502222061,
-0.22595059871673584,
0.3694861829280853,
0.071782685816288,
0.23209261894226074,
0.047673143446445465,
-0.2835385799407959,
0.2777881324291229,
-0.003746622009202838,
0.08948680758476257,
0.2811300754547119,
-0.15671920776367188,
-0.10799458622932434,
-0.3754080533981323,
0.12338269501924515,
0.0319674015045166,
0.06226418912410736,
-0.21430423855781555,
0.04906822368502617,
0.1448477953672409,
-0.008011795580387115,
0.20082001388072968,
0.2167954444885254,
0.03449207916855812,
0.18003085255622864,
-0.06338248401880264,
0.16113823652267456,
0.07557641714811325,
-0.1940610706806183,
-0.08796563744544983,
0.026581212878227234,
0.3356514871120453,
-0.11457022279500961,
-0.36869093775749207,
0.12558600306510925,
-0.29089799523353577,
0.13725854456424713,
0.2278490513563156,
-0.06070355325937271,
0.006029509473592043,
-0.22502192854881287,
-0.005733903031796217,
0.09072724729776382,
0.2555992603302002,
0.5138307213783264,
-0.20996974408626556,
-0.33901143074035645,
0.05770335718989372,
0.11519381403923035,
-0.1063016727566719,
-0.1141086146235466,
-0.14807350933551788,
0.12495208531618118,
0.16584265232086182,
0.30901899933815,
0.051454730331897736,
-0.4245746433734894,
0.4315131902694702,
-0.12581005692481995,
0.24995140731334686,
-0.2317192405462265,
0.2440091371536255,
0.4143303632736206,
-0.060328010469675064,
-0.14760646224021912,
0.26019084453582764,
0.1235288754105568,
-0.2130861133337021,
0.5466445088386536,
-0.060372479259967804,
0.02902369759976864,
-0.35412341356277466,
-0.0248367078602314,
0.08989410102367401,
-0.10185711085796356,
-0.08028123527765274,
0.230349600315094,
-0.2128084897994995,
0.3305298388004303,
0.11463119089603424,
0.40664809942245483,
-0.0408456064760685,
-0.081056609749794,
-0.3341461718082428,
-0.27296173572540283,
-0.2580869197845459,
-0.1305445283651352,
-0.30988988280296326,
-0.40515047311782837,
-0.06257651001214981,
0.05754273757338524,
-0.19616423547267914,
0.05446109548211098,
0.499790757894516,
0.1460046023130417,
-0.00825988408178091,
-0.7142170071601868,
-0.2702362537384033,
0.11079078912734985,
0.29334017634391785,
0.04919133707880974,
0.4703093469142914,
0.13401588797569275,
0.017815355211496353,
0.08531156927347183,
0.19573047757148743,
0.23974379897117615,
0.18891865015029907,
0.12251261621713638,
0.11020584404468536,
-0.37644800543785095,
0.07457493245601654,
0.06370358169078827,
0.30705907940864563,
0.07657859474420547,
-0.27329105138778687,
0.10728686302900314,
0.03339792415499687,
-0.07894250750541687,
0.2780897915363312,
0.06807002425193787,
-0.026469707489013672,
-0.8032150864601135,
0.35196202993392944,
0.01927376538515091,
0.24204190075397491,
0.05272730439901352,
-0.03528747707605362,
-0.4574173092842102,
0.49311381578445435,
0.3092862665653229,
0.032106589525938034,
0.053053468465805054,
-0.2545381784439087,
0.07379980385303497,
-0.24975773692131042,
0.2542211711406708,
0.13473205268383026,
-0.019086331129074097,
-0.12400400638580322,
-0.16254328191280365,
-0.6735637784004211,
0.0717218890786171,
-0.2230779081583023,
-0.012495717965066433,
0.15405839681625366,
0.06003936007618904,
-0.05185534060001373,
0.08834352344274521,
0.17885515093803406,
0.08643896877765656,
-0.4328092634677887,
0.04753761738538742,
-0.4010687470436096,
-0.13230526447296143,
0.12054970115423203,
0.06344155222177505,
-0.07101950794458389,
-0.11094803363084793,
0.04704985022544861,
-0.10677211731672287,
-0.039010655134916306,
-0.04584004729986191,
0.0019417430739849806,
-0.0850791409611702,
0.18566010892391205,
-0.01132778637111187,
-0.045815374702215195,
0.31904733180999756,
0.13763543963432312,
-0.13626953959465027,
-0.3025186359882355,
-0.39429622888565063,
-0.13271023333072662,
0.41039392352104187,
0.16523192822933197,
0.13514651358127594,
-0.1027049645781517,
-0.5430192351341248,
0.029053691774606705,
0.05960981920361519,
0.31606173515319824,
0.10682988166809082,
0.03542141243815422,
0.002878905273973942,
-0.2154761403799057,
0.16014303267002106,
0.027387399226427078,
0.648561954498291,
0.10671884566545486,
0.16071629524230957,
-0.19408023357391357,
-0.6553234457969666,
0.4583488404750824,
-0.6851574778556824,
-0.3094446361064911,
-0.12231697887182236,
0.17611205577850342,
0.13547104597091675,
-0.20740526914596558,
-0.716070294380188,
-0.010618573054671288,
0.5319483280181885,
-0.17390255630016327,
-0.07667401432991028,
0.3915337920188904,
-0.042910464107990265,
0.0192747563123703,
-0.26808688044548035,
0.622516930103302,
0.44846493005752563,
-0.3485529124736786,
0.1075248122215271,
-0.3683796525001526
] |
https://github.com/huggingface/datasets/issues/2050
|
Build custom dataset to fine-tune Wav2Vec2
|
Sure you can use the json loader
```python
data_files = {"train": "path/to/your/train_data.json", "test": "path/to/your/test_data.json"}
train_dataset = load_dataset("json", data_files=data_files, split="train")
test_dataset = load_dataset("json", data_files=data_files, split="test")
```
You just need to make sure that the data contain the paths to the audio files.
If not, feel free to use `.map()` to add them.
|
Thank you for your recent tutorial on how to finetune Wav2Vec2 on a custom dataset. The example you gave here (https://huggingface.co/blog/fine-tune-xlsr-wav2vec2) was on the CommonVoice dataset. However, what if I want to load my own dataset? I have a manifest (transcript and their audio files) in a JSON file.
| 51
|
Build custom dataset to fine-tune Wav2Vec2
Thank you for your recent tutorial on how to finetune Wav2Vec2 on a custom dataset. The example you gave here (https://huggingface.co/blog/fine-tune-xlsr-wav2vec2) was on the CommonVoice dataset. However, what if I want to load my own dataset? I have a manifest (transcript and their audio files) in a JSON file.
Sure you can use the json loader
```python
data_files = {"train": "path/to/your/train_data.json", "test": "path/to/your/test_data.json"}
train_dataset = load_dataset("json", data_files=data_files, split="train")
test_dataset = load_dataset("json", data_files=data_files, split="test")
```
You just need to make sure that the data contain the paths to the audio files.
If not, feel free to use `.map()` to add them.
|
[
-0.08610376715660095,
0.025273194536566734,
0.013138344511389732,
0.05659659206867218,
-0.015416208654642105,
-0.00169714807998389,
0.04018595069646835,
0.16728025674819946,
0.11139770597219467,
-0.03239339962601662,
-0.21395619213581085,
0.41688716411590576,
-0.21583864092826843,
0.11425543576478958,
-0.026624353602528572,
0.02597160078585148,
-0.1856238692998886,
0.22579340636730194,
0.1270134150981903,
-0.02979327365756035,
-0.23030969500541687,
0.1505400687456131,
-0.08918678015470505,
-0.07079186290502548,
-0.1212112158536911,
0.11651986092329025,
0.1776769906282425,
0.40993425250053406,
-0.135895773768425,
-0.3398262858390808,
0.4074673056602478,
0.32653379440307617,
0.16456173360347748,
0.3329024314880371,
-0.0000988554020295851,
-0.1569032520055771,
-0.014650039374828339,
-0.28889909386634827,
0.06872457265853882,
0.1292685866355896,
-0.4952060878276825,
-0.15905839204788208,
-0.1031421348452568,
-0.059849560260772705,
-0.29747503995895386,
-0.18606272339820862,
-0.2987942397594452,
-0.26631835103034973,
0.7216199636459351,
0.3141845166683197,
0.2168494611978531,
-0.3120064437389374,
0.02877838909626007,
-0.01626613363623619,
0.07489711791276932,
0.04785437136888504,
0.06622160971164703,
0.4144847095012665,
0.2814674973487854,
0.0652274638414383,
0.25806596875190735,
0.0439039021730423,
-0.30998608469963074,
0.11274533718824387,
0.26555055379867554,
-0.0027988518122583628,
-0.4111701250076294,
-0.21625904738903046,
-0.09577477723360062,
0.5772789716720581,
0.48425722122192383,
-0.5012125968933105,
-0.19859175384044647,
-0.18904978036880493,
0.19998621940612793,
-0.48067018389701843,
-0.04145561531186104,
0.045825596898794174,
-0.17021407186985016,
0.3052021563053131,
-0.025695089250802994,
-0.36197972297668457,
-0.2076646238565445,
-0.09060604870319366,
0.045435819774866104,
0.05279737338423729,
-0.1664787083864212,
-0.05893223360180855,
0.04236110299825668,
-0.05130809172987938,
-0.19570648670196533,
0.03931634873151779,
-0.21923601627349854,
0.3246356248855591,
-0.4265647828578949,
-0.39581865072250366,
-0.09535811841487885,
-0.44234421849250793,
0.05045953020453453,
0.03388537839055061,
0.3694802522659302,
0.1431516408920288,
-0.11746233701705933,
0.151201531291008,
0.02186804823577404,
0.010642606765031815,
0.00323306187056005,
-0.17320160567760468,
0.09869611263275146,
-0.4326671361923218,
-0.03505390137434006,
0.02642630785703659,
-0.21804383397102356,
-0.04325735569000244,
-0.34277960658073425,
0.056650906801223755,
0.1485424041748047,
-0.31402823328971863,
-0.30479955673217773,
-0.08908628672361374,
-0.1365511417388916,
0.011078097857534885,
0.06657502055168152,
0.40890300273895264,
0.10105642676353455,
0.05411355569958687,
-0.05696731433272362,
0.39808210730552673,
0.1612129658460617,
0.018826747313141823,
0.04396411404013634,
0.2589761018753052,
0.3334707021713257,
0.18256963789463043,
0.3748437464237213,
0.0000858629064168781,
0.40367773175239563,
-0.198259636759758,
0.20774437487125397,
-0.1387876719236374,
-0.03273197263479233,
0.1331544667482376,
-0.28262773156166077,
-0.056191861629486084,
-0.0048100645653903484,
0.18394975364208221,
-0.10191099345684052,
0.03159838169813156,
-0.33354851603507996,
-0.0936332419514656,
-0.369488924741745,
-0.30462267994880676,
0.11106342822313309,
0.22222274541854858,
-0.22404888272285461,
-0.15878555178642273,
-0.1389632523059845,
0.06356041878461838,
-0.10522236675024033,
-0.2892742455005646,
-0.28542518615722656,
-0.033618681132793427,
-0.2655044198036194,
-0.16192476451396942,
0.1819533258676529,
-0.09873552620410919,
-0.6757560968399048,
0.08975699543952942,
-0.1216200739145279,
0.1931479573249817,
0.00010707481123972684,
0.27648237347602844,
-0.047363802790641785,
0.5055435299873352,
-0.09600188583135605,
0.35634365677833557,
0.26185739040374756,
-0.43316903710365295,
-0.23427729308605194,
0.32785704731941223,
-0.19370052218437195,
0.1395896077156067,
0.11194999516010284,
-0.05385033041238785,
0.41802161931991577,
-0.3144518733024597,
0.2169782817363739,
0.41478419303894043,
0.1870000809431076,
0.010119277983903885,
0.14761124551296234,
-0.04951866343617439,
0.18541018664836884,
0.04959705471992493,
-0.3701097071170807,
-0.06951949745416641,
-0.11357802897691727,
-0.033527642488479614,
0.26872518658638,
-0.15524248778820038,
0.06290923804044724,
0.1805388480424881,
0.24526958167552948,
-0.2102159559726715,
0.01335794199258089,
0.10913871228694916,
0.044773202389478683,
0.10262325406074524,
-0.11043309420347214,
0.0059726727195084095,
0.3424812853336334,
0.07177601009607315,
-0.2754266858100891,
-0.20761743187904358,
-0.3448881208896637,
-0.3608688712120056,
0.18591120839118958,
0.1474173367023468,
0.22125738859176636,
-0.47529274225234985,
-0.41220715641975403,
0.080768883228302,
-0.09431054443120956,
-0.14273089170455933,
-0.245833620429039,
-0.036767903715372086,
0.35013753175735474,
0.007016327232122421,
0.3941417932510376,
0.3947722911834717,
0.13259240984916687,
0.140810027718544,
-0.03190381079912186,
0.4642845392227173,
0.20633243024349213,
0.370231956243515,
0.1435031145811081,
0.2380601465702057,
-0.12490752339363098,
-0.46438080072402954,
0.3657498061656952,
0.35372596979141235,
0.25121480226516724,
-0.07665134221315384,
-0.30082544684410095,
0.37310200929641724,
0.2522541582584381,
0.36343345046043396,
-0.04814184084534645,
-0.11686987429857254,
0.3635120987892151,
0.12616179883480072,
-0.2628049850463867,
0.10926751047372818,
-0.09144692122936249,
-0.08087271451950073,
0.40645310282707214,
-0.2065780907869339,
-0.06838610768318176,
0.08453608304262161,
0.20536266267299652,
-0.07506567984819412,
0.08099649101495743,
0.15361250936985016,
-0.42576897144317627,
-0.11885731667280197,
-0.11343321204185486,
0.17895594239234924,
0.420305460691452,
0.3598628044128418,
-0.07085655629634857,
-0.06625550240278244,
-0.05268704891204834,
-0.12654253840446472,
0.10803259909152985,
-0.11571267247200012,
-0.09399673342704773,
0.30897367000579834,
0.10585183650255203,
-0.18341319262981415,
-0.1501329243183136,
-0.06047676503658295,
-0.31328240036964417,
0.07474201917648315,
-0.3948694169521332,
-0.40678244829177856,
-0.10294774919748306,
0.3815218210220337,
-0.18755748867988586,
-0.354524701833725,
0.05327964201569557,
0.18062597513198853,
0.24974839389324188,
0.0836811512708664,
-0.07800645381212234,
0.0876748338341713,
0.04974953085184097,
0.4142819941043854,
0.03944067284464836,
-0.36893177032470703,
0.23870423436164856,
-0.050712477415800095,
0.0788014829158783,
0.2575671672821045,
0.120686374604702,
0.29052162170410156,
0.11380863189697266,
0.2241349071264267,
0.09197800606489182,
0.04077900946140289,
0.19825002551078796,
0.047472093254327774,
-0.12987147271633148,
0.15060418844223022,
0.020096691325306892,
0.2760106921195984,
0.3697797954082489,
-0.13450312614440918,
-0.17770059406757355,
0.15849269926548004,
-0.0070838346146047115,
-0.036513734608888626,
0.032760053873062134,
0.0971883162856102,
0.1346779763698578,
-0.5730343461036682,
-0.22289012372493744,
-0.40192562341690063,
0.3425261080265045,
0.14321748912334442,
0.08253879100084305,
-0.26970839500427246,
0.06700588017702103,
0.05959969013929367,
0.0927964299917221,
0.31656327843666077,
-0.2320631742477417,
-0.26773709058761597,
0.4775477647781372,
-0.2591696083545685,
-0.03458667919039726,
0.13618294894695282,
-0.10529356449842453,
0.36926132440567017,
-0.15067332983016968,
-0.047736044973134995,
0.20836426317691803,
0.09224101155996323,
-0.1593063622713089,
0.19819463789463043,
0.003394703147932887,
0.29962146282196045,
0.020197419449687004,
-0.03168269246816635,
-0.21387195587158203,
-0.18478849530220032,
0.1399834007024765,
0.3487141728401184,
0.09344814717769623,
0.23761500418186188,
0.01136352214962244,
-0.6527880430221558,
0.545133650302887,
0.20036813616752625,
0.10474256426095963,
0.025591295212507248,
-0.10376935452222824,
0.06882607936859131,
-0.11412613838911057,
0.05983126163482666,
0.11200302094221115,
0.06393593549728394,
-0.15246310830116272,
0.4134085178375244,
0.34614264965057373,
-0.051675498485565186,
-0.1652647852897644,
0.14130161702632904,
-0.4106561839580536,
-0.030501635745167732,
0.15082021057605743,
0.06086219102144241,
0.048441097140312195,
-0.020279021933674812,
0.35358208417892456,
0.12425421178340912,
-0.1363377869129181,
0.12396810203790665,
-0.07205094397068024,
0.32600322365760803,
-0.23983751237392426,
-0.23587237298488617,
-0.19871702790260315,
-0.33377665281295776,
0.14438651502132416,
-0.17390857636928558,
0.28544262051582336,
0.07270602136850357,
-0.10581939667463303,
-0.18047134578227997,
-0.14427097141742706,
0.2879540026187897,
-0.3175032138824463,
-0.0472840778529644,
0.028110140934586525,
0.19462954998016357,
-0.048672568053007126,
0.18913771212100983,
-0.22580891847610474,
-0.16269467771053314,
-0.32319676876068115,
-0.00860071461647749,
-0.14874102175235748,
-0.04038867726922035,
-0.03593696281313896,
0.3147672414779663,
-0.19581428170204163,
-0.27175644040107727,
0.12497841566801071,
-0.015453127212822437,
-0.2908773720264435,
-0.238644078373909,
-0.2708974778652191,
0.06675620377063751,
-0.35134610533714294,
0.007052154745906591,
-0.003219201695173979,
-0.040830861777067184,
0.43045774102211,
0.1467394232749939,
0.4306110739707947,
0.1621554046869278,
0.24974270164966583,
0.1420549750328064,
-0.13930420577526093,
0.09200688451528549,
0.4196508526802063,
0.13453726470470428,
-0.2270633429288864,
0.03262786939740181,
-0.050733618438243866,
0.2912413775920868,
0.06416208297014236,
-0.09209993481636047,
0.1154700517654419,
-0.191617950797081,
-0.1043759435415268,
-0.4369691014289856,
0.18507058918476105,
0.29092079401016235,
-0.1390724778175354,
-0.0982920378446579,
-0.5546116828918457,
0.5026660561561584,
-0.05736502259969711,
-0.13408653438091278,
-0.10586162656545639,
-0.16971896588802338,
-0.3697133958339691,
0.3407272696495056,
0.03015277348458767,
0.6115977764129639,
0.18311183154582977,
0.0765375941991806,
0.4470011591911316,
-0.27075305581092834,
0.1296693980693817,
-0.749460756778717,
-0.060162466019392014,
-0.257071852684021,
0.21567462384700775,
-0.15641658008098602,
0.08757634460926056,
-0.11791472136974335,
0.3387048542499542,
-0.1610487550497055,
0.253044456243515,
0.23001420497894287,
-0.23072008788585663,
-0.016456035897135735,
0.12588296830654144,
0.1463286429643631,
-0.477015882730484,
-0.33299142122268677,
0.20376381278038025,
-0.028125310316681862,
-0.05177333578467369,
0.1280701905488968,
-0.060156650841236115,
-0.11790396273136139,
-0.31576788425445557,
-0.24662205576896667,
0.021974964067339897,
-0.01808319427073002,
-0.23308056592941284,
0.006721470504999161,
-0.21605521440505981,
0.12981925904750824,
0.15258418023586273,
-0.2598612606525421,
0.3411211371421814,
-0.4805774390697479,
0.15432165563106537,
0.0876808911561966,
0.12640729546546936,
-0.0937604010105133,
0.011987308040261269,
-0.09263559430837631,
0.030984358862042427,
-0.010269866324961185,
0.39726659655570984,
-0.055979810655117035,
-0.22092555463314056,
0.10964150726795197,
-0.10847638547420502,
0.08884748071432114,
-0.11131048947572708,
-0.4517175853252411,
0.2794420123100281,
0.08208319544792175,
-0.14479389786720276,
0.1789727360010147,
0.39351290464401245,
-0.4975099563598633,
0.29644468426704407,
-0.06631412357091904,
-0.2111896425485611,
-0.022386079654097557,
0.03835607320070267,
0.1171053797006607,
-0.17204298079013824,
0.46637144684791565,
-0.012349473312497139,
0.1118697002530098,
-0.4094528555870056,
0.2964841425418854,
0.25642481446266174,
-0.031208885833621025,
-0.11142201721668243,
0.42968857288360596,
-0.16722039878368378,
-0.0986039787530899,
0.08398758620023727,
0.04396733269095421,
-0.057121578603982925,
-0.09338579326868057,
-0.5307204127311707,
-0.402114599943161,
0.09154530614614487,
0.22936052083969116,
0.3262869119644165,
-0.2629680931568146,
-0.024399850517511368,
-0.27128052711486816,
0.07423603534698486,
-0.4020577669143677,
-0.025342291221022606,
0.18347050249576569,
-0.10529972612857819,
0.20613758265972137,
0.5022357106208801,
0.05881420522928238,
0.11267513781785965,
0.21390578150749207,
-0.0593331903219223,
-0.3235197067260742,
-0.23815985023975372,
-0.12083535641431808,
0.13649195432662964,
0.05211103707551956,
0.07500738650560379,
0.03217201679944992,
0.06139708682894707,
-0.29576316475868225,
-0.2528940737247467,
0.002180968876928091,
-0.11841271072626114,
0.028022654354572296,
0.1504424512386322,
-0.07981251925230026,
-0.145813450217247,
-0.17369204759597778,
0.07435783743858337,
0.08438263833522797,
0.07484599947929382,
0.27037492394447327,
0.13073034584522247,
-0.14918936789035797,
-0.1101873591542244,
0.3103749454021454,
0.3500753939151764,
0.1600986123085022,
-0.08669582009315491,
0.22119085490703583,
-0.05603119358420372,
0.12509499490261078,
0.19102008640766144,
0.32226207852363586,
0.47563284635543823,
-0.25230616331100464,
0.09990716725587845,
0.38649117946624756,
0.3116898238658905,
-0.14334183931350708,
0.1414838284254074,
0.060621511191129684,
-0.17224083840847015,
0.1818787157535553,
0.17396703362464905,
-0.1242595911026001,
-0.10342960059642792,
-0.36249902844429016,
-0.038029663264751434,
0.14870694279670715,
-0.1853960156440735,
-0.1252020001411438,
0.24221044778823853,
-0.12279900908470154,
-0.16726158559322357,
-0.2144629955291748,
0.021159790456295013,
0.21130183339118958,
0.2708626091480255,
-0.2979027330875397,
0.15759581327438354,
0.06375792622566223,
-0.05097172036767006,
0.010926795192062855,
-0.4018688201904297,
-0.009968125261366367,
0.28170013427734375,
-0.0491192601621151,
0.1850629299879074,
0.15288689732551575,
0.26747041940689087,
-0.0995553657412529,
-0.08078733831644058,
-0.18032796680927277,
0.086612269282341,
0.20350423455238342,
-0.39233535528182983,
-0.11499867588281631,
-0.22279563546180725,
-0.0547100305557251,
-0.02871035411953926,
-0.0006919314037077129,
-0.1335810273885727,
-0.21467745304107666,
-0.2621062099933624,
0.11035177111625671,
-0.11228448897600174,
0.2066517174243927,
-0.028974706307053566,
-0.2205854207277298,
-0.18239058554172516,
0.2438371628522873,
0.053271859884262085,
0.03311728313565254,
0.43680307269096375,
0.11476393789052963,
0.261725515127182,
0.15666045248508453,
-0.3266106843948364,
0.14192652702331543,
-0.07258420437574387,
-0.05909254401922226,
0.07470352947711945,
0.2985954284667969,
-0.14157401025295258,
0.1084059402346611,
0.2894107699394226,
0.26089251041412354,
-0.13588954508304596,
0.08382459729909897,
0.1716749221086502,
-0.03093835711479187,
-0.17295078933238983,
0.09442514181137085,
0.1896502524614334,
-0.05103675648570061,
0.0038928440771996975,
-0.06377825140953064,
-0.37982773780822754,
-0.22906823456287384,
0.21554534137248993,
0.2613808512687683,
0.14030490815639496,
0.22258345782756805,
0.16336050629615784,
-0.25354963541030884,
0.40662717819213867,
0.011654325760900974,
0.2219262570142746,
-0.13080419600009918,
-0.05238969996571541,
-0.41056710481643677,
-0.02382766082882881,
-0.0015743894036859274,
-0.20075573027133942,
-0.36325979232788086,
0.03392324596643448,
0.575501561164856,
0.43401405215263367,
-0.1519070714712143,
-0.017475752159953117,
-0.030790381133556366,
0.2664519250392914,
-0.14703112840652466,
-0.03221363201737404,
0.20227159559726715,
0.5466473698616028,
0.11089526116847992,
-0.3682801425457001,
-0.3397103548049927,
0.16163049638271332,
0.06108769774436951,
0.18651624023914337,
0.17794865369796753,
-0.1060706302523613,
-0.3083725571632385,
0.34972259402275085,
-0.14797881245613098,
0.4285060167312622,
-0.3451281487941742,
0.05633187294006348,
-0.15844614803791046,
0.119535893201828,
-0.16927234828472137,
-0.15639247000217438,
0.027549879625439644,
0.5028764605522156,
-0.11127122491598129,
0.1065119057893753,
-0.18195778131484985,
-0.18965022265911102,
0.08312061429023743,
-0.216520294547081,
-0.4016494154930115,
0.2057695835828781,
-0.2983716130256653,
0.05188807100057602,
-0.08007048070430756,
-0.10550373792648315,
-0.08492105454206467,
0.12458160519599915,
0.05092998966574669,
0.06496948003768921,
0.6319298148155212,
0.009270038455724716,
-0.04613553732633591,
0.15776820480823517,
0.4638562500476837,
-0.17956048250198364,
0.14043878018856049,
-0.39251577854156494,
0.32277360558509827,
0.2682937681674957,
0.044746287167072296,
0.019824007526040077,
0.0708591416478157,
-0.12542568147182465,
-0.1551360934972763,
-0.028950557112693787,
0.20285776257514954,
0.08566424250602722,
-0.041792042553424835,
-0.23123712837696075,
-0.44469282031059265
] |
https://github.com/huggingface/datasets/issues/2046
|
add_faisis_index gets very slow when doing it interatively
|
I think faiss automatically sets the number of threads to use to build the index.
Can you check how many CPU cores are being used when you build the index in `use_own_knowleldge_dataset` as compared to this script ? Are there other programs running (maybe for rank>0) ?
|
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
| 47
|
add_faisis_index gets very slow when doing it interatively
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
I think faiss automatically sets the number of threads to use to build the index.
Can you check how many CPU cores are being used when you build the index in `use_own_knowleldge_dataset` as compared to this script ? Are there other programs running (maybe for rank>0) ?
|
[
-0.49882516264915466,
-0.26827844977378845,
-0.024500647559762,
0.1282288283109665,
0.05943915247917175,
0.20778384804725647,
0.12146306037902832,
0.42412909865379333,
0.291742742061615,
0.2924974858760834,
-0.11882596462965012,
0.188315287232399,
0.13721296191215515,
0.08582107722759247,
-0.13625605404376984,
0.17504271864891052,
0.23703299462795258,
0.08533414453268051,
0.2607974112033844,
-0.13441404700279236,
-0.32748016715049744,
-0.30906423926353455,
-0.15891285240650177,
-0.2578621208667755,
-0.40069231390953064,
-0.0958191454410553,
-0.24362172186374664,
-0.08205042779445648,
0.19824793934822083,
-0.47291648387908936,
-0.13753199577331543,
0.1398429572582245,
0.34025880694389343,
0.25829288363456726,
-0.00012204969971207902,
0.05567667633295059,
0.22800785303115845,
0.06546277552843094,
-0.22299717366695404,
0.6411961913108826,
0.3400721848011017,
-0.06948856264352798,
-0.1751103401184082,
-0.3107718527317047,
-0.14555537700653076,
-0.11104141920804977,
0.08107940107584,
-0.04693025350570679,
-0.1663648784160614,
0.19430120289325714,
0.026624172925949097,
-0.05828629806637764,
0.05225489288568497,
-0.015400421805679798,
0.40251225233078003,
-0.0755910724401474,
-0.06917734444141388,
0.3174716532230377,
0.16351284086704254,
-0.07223645597696304,
0.09974305331707001,
0.44810786843299866,
0.120641328394413,
-0.22677703201770782,
0.10890348255634308,
0.20516164600849152,
0.7838155627250671,
0.022439492866396904,
0.06526804715394974,
0.15266908705234528,
0.0153404101729393,
-0.09055348485708237,
-0.4430079758167267,
-0.10290209203958511,
0.42571401596069336,
-0.618060290813446,
-0.06740108132362366,
-0.08374133706092834,
-0.1014745682477951,
0.053860053420066833,
0.1745847463607788,
-0.03023025207221508,
0.03631783649325371,
0.04745028540492058,
0.17490026354789734,
0.1653580665588379,
0.3874707520008087,
-0.05990183725953102,
0.5584331750869751,
0.04244775325059891,
-0.11685464531183243,
0.04488201439380646,
-0.09207794815301895,
0.012196076102554798,
-0.6050311923027039,
0.08808470517396927,
-0.03091667965054512,
-0.09933095425367355,
-0.09268633276224136,
0.017801547423005104,
-0.369486540555954,
0.006166044622659683,
0.2365611046552658,
0.0033363329712301493,
-0.18306593596935272,
-0.09025747328996658,
-0.5061047077178955,
0.05588063597679138,
0.0839017927646637,
0.10628657042980194,
-0.3780882656574249,
0.0992341935634613,
-0.0033384810667485,
-0.004310553427785635,
-0.3259795606136322,
-0.29813456535339355,
-0.2288902997970581,
0.2228073924779892,
-0.1811421811580658,
0.07718756049871445,
-0.40396761894226074,
-0.25227686762809753,
0.20507250726222992,
0.41622263193130493,
-0.1177443340420723,
-0.07613808661699295,
0.010839538648724556,
-0.0346161313354969,
-0.23442824184894562,
0.17616769671440125,
-0.22201746702194214,
0.23066066205501556,
-0.03196385130286217,
0.5045983195304871,
-0.029106812551617622,
-0.22139428555965424,
-0.08906889706850052,
-0.021730387583374977,
0.08396376669406891,
-0.007842501625418663,
-0.044163525104522705,
-0.2998936176300049,
0.24666738510131836,
0.07492349296808243,
-0.2632139325141907,
-0.06768488138914108,
-0.09395243972539902,
0.12111043930053711,
-0.22782295942306519,
0.22150807082653046,
-0.21739515662193298,
-0.36510276794433594,
0.02715766429901123,
0.019331108778715134,
0.3086777627468109,
-0.06309196352958679,
0.4208211898803711,
0.11439678817987442,
0.17301812767982483,
0.16133496165275574,
0.15917611122131348,
-0.13144302368164062,
-0.2680220901966095,
0.08318619430065155,
0.22678479552268982,
0.36273834109306335,
0.09372176975011826,
0.03477165475487709,
0.29801318049430847,
0.39013007283210754,
0.2124062031507492,
0.39999398589134216,
-0.11594938486814499,
0.6762606501579285,
-0.3200046122074127,
0.0842917189002037,
0.24512167274951935,
-0.25537896156311035,
-0.2924267649650574,
0.18690502643585205,
-0.16636398434638977,
-0.07732699066400528,
0.3296641707420349,
0.5182709693908691,
0.3120293617248535,
0.0870155468583107,
0.34109240770339966,
0.306255578994751,
0.009027169086039066,
-0.031247030943632126,
-0.4050689935684204,
-0.05827190726995468,
0.2639197111129761,
0.3804077208042145,
-0.3354529142379761,
0.10174088925123215,
-0.040180955082178116,
-0.32988083362579346,
0.6009742617607117,
-0.47610604763031006,
-0.12176156044006348,
0.06805816292762756,
0.3615746796131134,
0.33938536047935486,
0.23287023603916168,
0.2761097848415375,
0.14954109489917755,
0.16262610256671906,
0.09601332247257233,
0.09878852963447571,
0.17015457153320312,
-0.4183504581451416,
0.21562930941581726,
-0.025750624015927315,
-0.21819405257701874,
0.10788168013095856,
-0.060978226363658905,
0.15002486109733582,
-0.0456758476793766,
-0.19987328350543976,
-0.15688666701316833,
0.5427843928337097,
-0.6157973408699036,
0.02794579230248928,
-0.24889647960662842,
-0.15608301758766174,
0.007014264818280935,
-0.21342624723911285,
-0.034243520349264145,
0.14295808970928192,
0.05249642953276634,
-0.3868671655654907,
-0.05383381247520447,
0.1028614491224289,
0.12662534415721893,
-0.18767660856246948,
0.5111070871353149,
-0.11369690299034119,
-0.03703640028834343,
0.2962217926979065,
0.044953539967536926,
-0.15126429498195648,
0.10901732742786407,
-0.19376131892204285,
-0.001878442708402872,
0.4852038323879242,
0.3487831652164459,
0.24583370983600616,
-0.021493786945939064,
-0.23320868611335754,
0.047029927372932434,
-0.040650516748428345,
-0.0793866366147995,
0.2275259643793106,
0.0799434557557106,
0.13025416433811188,
0.4091724455356598,
-0.03333542123436928,
-0.333244651556015,
0.23246285319328308,
0.18577763438224792,
-0.20312979817390442,
-0.43140751123428345,
0.2710413634777069,
0.3516988754272461,
-0.03689730539917946,
-0.3497079610824585,
-0.5220080614089966,
0.2360263615846634,
0.31859853863716125,
0.18839207291603088,
-0.07165347784757614,
-0.02765061892569065,
-0.24728116393089294,
0.1691095381975174,
0.056553300470113754,
-0.04837125912308693,
0.10004880279302597,
0.1766422837972641,
-0.21454474329948425,
-0.20678958296775818,
-0.25529661774635315,
-0.13639618456363678,
0.4286453127861023,
-0.044338617473840714,
0.3094404935836792,
0.1777622401714325,
0.27718648314476013,
-0.12472555786371231,
-0.12497524172067642,
0.28875258564949036,
0.008841033093631268,
0.04161049425601959,
-0.10893584042787552,
-0.03623782843351364,
0.19311049580574036,
-0.046948667615652084,
0.36491823196411133,
0.19579406082630157,
-0.32509127259254456,
0.01984449289739132,
-0.09847081452608109,
-0.12149550020694733,
-0.0789787694811821,
0.12100574374198914,
-0.15054965019226074,
0.11740070581436157,
0.04394659399986267,
-0.052580177783966064,
-0.18513722717761993,
-0.08627106249332428,
-0.1575879454612732,
-0.0794762670993805,
-0.29745039343833923,
-0.166235089302063,
-0.24606873095035553,
-0.1250382661819458,
-0.11964553594589233,
0.004331060219556093,
0.0005506000597961247,
-0.010688086971640587,
-0.04048744589090347,
-0.2826750874519348,
-0.1588369756937027,
0.06079479679465294,
-0.2936345934867859,
-0.21670210361480713,
-0.17391933500766754,
0.22814054787158966,
-0.0244003813713789,
0.09305927157402039,
-0.11566969007253647,
0.06675161421298981,
0.12224036455154419,
-0.09570088982582092,
-0.15432998538017273,
-0.05346102640032768,
-0.23314324021339417,
0.2917102873325348,
0.14917171001434326,
0.046830914914608,
-0.07943687587976456,
-0.41229644417762756,
-0.014396199956536293,
0.49690350890159607,
-0.5218707323074341,
-0.04079889878630638,
-0.3583913743495941,
0.2859601080417633,
-0.3150937557220459,
0.4582992196083069,
0.05670711398124695,
-0.24624811112880707,
-0.13801313936710358,
0.3644829988479614,
0.1745101511478424,
0.3875305652618408,
-0.061713509261608124,
0.0549771673977375,
-0.0879170224070549,
0.2675457298755646,
-0.11497589945793152,
0.5162416696548462,
0.32723188400268555,
-0.2136986255645752,
-0.04781858250498772,
-0.2623961865901947,
0.11595138162374496,
0.05277024209499359,
-0.13988201320171356,
0.29652485251426697,
0.08347855508327484,
-0.3149944543838501,
0.1665271818637848,
-0.2887454032897949,
-0.4117940366268158,
0.03204282000660896,
-0.05276046693325043,
0.19824540615081787,
-0.24431051313877106,
0.3169921636581421,
0.0489506833255291,
0.49109935760498047,
-0.17805087566375732,
0.2910947799682617,
-0.2383597493171692,
-0.1767042875289917,
0.19751496613025665,
0.2727537453174591,
0.2449004352092743,
-0.16755744814872742,
0.02649623341858387,
-0.5409102439880371,
-0.4216776490211487,
0.2834407389163971,
0.1674797385931015,
0.23528403043746948,
0.2791200578212738,
-0.10083381086587906,
0.5258057713508606,
-0.15621161460876465,
0.7999860644340515,
0.020683541893959045,
-0.3363373279571533,
0.3844906985759735,
-0.1618194878101349,
0.05287637189030647,
-0.21779318153858185,
-0.1827090084552765,
-0.0659896582365036,
0.23377461731433868,
0.4407466650009155,
-0.09317793697118759,
-0.24796512722969055,
0.6446048021316528,
0.06708817183971405,
-0.14724896848201752,
-0.3441525995731354,
-0.1861822009086609,
-0.35430601239204407,
-0.04121949523687363,
0.7678549289703369,
-0.12169075012207031,
0.15569071471691132,
0.1822197437286377,
-0.051234640181064606,
-0.38188865780830383,
0.15986618399620056,
0.23867441713809967,
-0.005120040848851204,
0.050583358854055405,
0.455783873796463,
0.4348106384277344,
0.07141595333814621,
0.0007325740880332887,
0.11927373707294464,
-0.03691220283508301,
-0.30439624190330505,
0.07315177470445633,
-0.18884620070457458,
-0.25568538904190063,
0.37994295358657837,
0.7006723880767822,
0.18687665462493896,
0.24840828776359558,
-0.21023093163967133,
0.3775888681411743,
-0.19144584238529205,
0.024531345814466476,
0.43831244111061096,
-0.0020621030125766993,
-0.17877259850502014,
-0.5383256673812866,
0.31127867102622986,
0.2034226506948471,
0.07330293953418732,
0.06086021289229393,
-0.07573039829730988,
-0.01638045720756054,
0.3021714985370636,
0.1250007152557373,
0.9838237762451172,
-0.02691991813480854,
0.1929827183485031,
0.50630784034729,
0.004840462934225798,
-0.24390368163585663,
-0.6487336754798889,
0.3692772090435028,
-0.33292150497436523,
-0.22415265440940857,
0.19311641156673431,
-0.10114186257123947,
-0.08476849645376205,
0.073533795773983,
-0.03934306278824806,
0.09914674609899521,
-0.04727573320269585,
-0.08625645935535431,
-0.2586022615432739,
0.38955432176589966,
0.31519457697868347,
-0.42784005403518677,
0.024883409962058067,
0.001350741251371801,
0.271456241607666,
-0.09871555119752884,
0.12781597673892975,
-0.16340002417564392,
-0.1108853816986084,
0.018441425636410713,
0.12517376244068146,
-0.07911400496959686,
-0.12837839126586914,
0.01305884774774313,
-0.048773329704999924,
-0.08731187880039215,
-0.23292511701583862,
-0.32441654801368713,
0.46041998267173767,
-0.029945844784379005,
0.09953469038009644,
0.081583671271801,
-0.09911026805639267,
0.07216382026672363,
-0.08676977455615997,
-0.49708321690559387,
0.22654052078723907,
0.08081196248531342,
-0.17367833852767944,
0.14937090873718262,
0.07872676849365234,
-0.3227708339691162,
-0.14609792828559875,
0.17442995309829712,
0.020576778799295425,
0.0075490353628993034,
-0.03673763945698738,
0.3179985284805298,
-0.26263749599456787,
-0.2335655391216278,
0.020059769973158836,
0.09207716584205627,
-0.4317528009414673,
0.5605180263519287,
-0.3023817241191864,
-0.3800688683986664,
-0.05465592443943024,
0.016695475205779076,
0.3058086335659027,
0.056038208305835724,
0.2623710334300995,
-0.0891200453042984,
-0.30488115549087524,
-0.1546768993139267,
-0.30242931842803955,
0.06128295511007309,
0.03862416744232178,
0.09388736635446548,
0.30242154002189636,
-0.006130733527243137,
0.025399265810847282,
-0.23266436159610748,
-0.3227173089981079,
-0.14176863431930542,
-0.3823906481266022,
0.11460041254758835,
-0.3576410114765167,
-0.18506810069084167,
0.2572275698184967,
0.38368457555770874,
0.036018408834934235,
0.23422428965568542,
-0.4448956251144409,
0.2590486705303192,
-0.21766982972621918,
-0.06533944606781006,
-0.031240707263350487,
0.2600192129611969,
-0.03270907327532768,
-0.25742706656455994,
0.17543961107730865,
0.21627074480056763,
0.11998891830444336,
0.14120365679264069,
0.03736565262079239,
-0.11179859936237335,
0.10294927656650543,
0.1834249496459961,
-0.11074750125408173,
0.16845054924488068,
0.08115518093109131,
-0.1483062207698822,
-0.3009878098964691,
-0.2652977406978607,
0.13436627388000488,
-0.11070363968610764,
-0.025854967534542084,
-0.13035929203033447,
-0.12170838564634323,
-0.11248856782913208,
0.3323756754398346,
0.27382513880729675,
0.20400471985340118,
0.28330788016319275,
-0.0734994113445282,
0.07670175284147263,
-0.24283291399478912,
-0.26539337635040283,
-0.05103801190853119,
0.19032369554042816,
0.061644669622182846,
0.08636713773012161,
-0.09186553955078125,
-0.17318761348724365,
-0.37994787096977234,
-0.038117554038763046,
0.03176838532090187,
0.44989216327667236,
0.04249455779790878,
-0.2883666753768921,
0.18529678881168365,
0.03793703019618988,
-0.27972111105918884,
-0.19527681171894073,
0.3624269962310791,
-0.4507017433643341,
0.20022889971733093,
0.40171751379966736,
0.26457515358924866,
0.16572430729866028,
-0.48327431082725525,
0.09376382827758789,
-0.23451673984527588,
0.09630513191223145,
-0.4337080121040344,
-0.0904514268040657,
0.3514752984046936,
-0.19489936530590057,
0.20412589609622955,
0.3052140772342682,
0.23111960291862488,
0.6089180111885071,
0.03142336755990982,
0.2752900719642639,
0.18787720799446106,
0.21332722902297974,
-0.32170307636260986,
-0.17983660101890564,
0.2906690835952759,
0.23226889967918396,
-0.03177434206008911,
-0.20784573256969452,
0.00909457542002201,
0.23473390936851501,
0.24403607845306396,
-0.516964316368103,
-0.2611277401447296,
0.16302168369293213,
-0.12202011793851852,
-0.12818151712417603,
0.41174861788749695,
0.056770890951156616,
-0.2780810296535492,
0.2270267903804779,
0.07766445726156235,
0.19237421452999115,
-0.12724758684635162,
0.20087450742721558,
0.2934531569480896,
0.22120140492916107,
-0.023113934323191643,
0.0910249873995781,
0.4337705373764038,
-0.33673936128616333,
-0.20791392028331757,
-0.011149626225233078,
-0.0027164847124367952,
0.023589259013533592,
-0.15122254192829132,
0.2809453010559082,
0.24482552707195282,
-0.05550317466259003,
0.2687216103076935,
-0.050441090017557144,
-0.008870884776115417,
0.04380457103252411,
-0.034400876611471176,
-0.10841280966997147,
-0.10039331018924713,
0.10061687231063843,
-0.0908767506480217,
-0.12853354215621948,
-0.12072346359491348,
-0.2426328808069229,
0.20261327922344208,
-0.18042470514774323,
0.0230691060423851,
0.3459421992301941,
-0.09754059463739395,
-0.3948054313659668,
0.09524179250001907,
-0.28330305218696594,
0.06918125599622726,
0.10627059638500214,
-0.3566013276576996,
-0.08913571387529373,
0.2603062689304352,
-0.001633998821489513,
-0.4257487952709198,
0.5468892455101013,
0.1724044531583786,
0.1286822259426117,
-0.3299420177936554,
-0.0014343556249514222,
-0.32078811526298523,
-0.03450939431786537,
-0.5890913009643555,
0.11263563483953476,
0.11768347769975662,
0.4403546452522278,
0.07392508536577225,
-0.0703551396727562,
0.40310826897621155,
-0.40797093510627747,
0.09924033284187317,
0.3735489249229431,
-0.1734420359134674,
-0.030622417107224464,
-0.4397854804992676,
-0.07384704053401947,
0.042283251881599426,
-0.3743230998516083,
0.28479641675949097,
-0.12820668518543243,
-0.014769596047699451,
0.19237110018730164,
-0.020268801599740982,
0.12265168130397797,
0.06268194317817688,
0.5298777222633362,
-0.09794456511735916,
0.000055181335483212024,
-0.09645427763462067,
0.008635740727186203,
-0.23218899965286255,
0.12195920199155807,
-0.20707820355892181,
0.008574522100389004,
-0.02188759483397007,
0.1733759194612503,
-0.2073739618062973,
-0.3919595181941986,
-0.18153439462184906,
0.4176577925682068,
0.31262972950935364,
-0.41869619488716125,
0.19802796840667725,
0.152659073472023,
-0.155827596783638,
0.47959375381469727,
0.15036313235759735,
0.22828395664691925,
0.14673328399658203,
-0.034050654619932175,
-0.3561272919178009,
-0.10542063415050507,
0.6236687898635864,
-0.18829402327537537,
-0.029361551627516747,
-0.34943896532058716,
0.254902184009552,
0.4437912702560425,
0.5510439872741699,
-0.26457640528678894,
0.08623872697353363,
0.12194323539733887,
0.053574010729789734,
-0.2103939801454544,
0.5777605772018433,
0.18686193227767944,
0.014771755784749985,
-0.07378310710191727,
-0.26480746269226074,
-0.06308902055025101,
-0.0029667862690985203,
-0.3532107174396515,
-0.28143104910850525
] |
https://github.com/huggingface/datasets/issues/2046
|
add_faisis_index gets very slow when doing it interatively
|
Hi,
I am running the add_faiss_index during the training process of the RAG from the master process (rank 0). But at the exact moment, I do not run any other process since I do it in every 5000 training steps.
I think what you say is correct. It depends on the number of CPU cores. I did an experiment to compare the time taken to finish the add_faiss_index process on use_own_knowleldge_dataset.py vs the training loop thing. The training loop thing takes 40 mins more. It might be natural right?
at the moment it uses around 40 cores of a 96 core machine (I am fine-tuning the entire process).
|
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
| 108
|
add_faisis_index gets very slow when doing it interatively
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
Hi,
I am running the add_faiss_index during the training process of the RAG from the master process (rank 0). But at the exact moment, I do not run any other process since I do it in every 5000 training steps.
I think what you say is correct. It depends on the number of CPU cores. I did an experiment to compare the time taken to finish the add_faiss_index process on use_own_knowleldge_dataset.py vs the training loop thing. The training loop thing takes 40 mins more. It might be natural right?
at the moment it uses around 40 cores of a 96 core machine (I am fine-tuning the entire process).
|
[
-0.49882516264915466,
-0.26827844977378845,
-0.024500647559762,
0.1282288283109665,
0.05943915247917175,
0.20778384804725647,
0.12146306037902832,
0.42412909865379333,
0.291742742061615,
0.2924974858760834,
-0.11882596462965012,
0.188315287232399,
0.13721296191215515,
0.08582107722759247,
-0.13625605404376984,
0.17504271864891052,
0.23703299462795258,
0.08533414453268051,
0.2607974112033844,
-0.13441404700279236,
-0.32748016715049744,
-0.30906423926353455,
-0.15891285240650177,
-0.2578621208667755,
-0.40069231390953064,
-0.0958191454410553,
-0.24362172186374664,
-0.08205042779445648,
0.19824793934822083,
-0.47291648387908936,
-0.13753199577331543,
0.1398429572582245,
0.34025880694389343,
0.25829288363456726,
-0.00012204969971207902,
0.05567667633295059,
0.22800785303115845,
0.06546277552843094,
-0.22299717366695404,
0.6411961913108826,
0.3400721848011017,
-0.06948856264352798,
-0.1751103401184082,
-0.3107718527317047,
-0.14555537700653076,
-0.11104141920804977,
0.08107940107584,
-0.04693025350570679,
-0.1663648784160614,
0.19430120289325714,
0.026624172925949097,
-0.05828629806637764,
0.05225489288568497,
-0.015400421805679798,
0.40251225233078003,
-0.0755910724401474,
-0.06917734444141388,
0.3174716532230377,
0.16351284086704254,
-0.07223645597696304,
0.09974305331707001,
0.44810786843299866,
0.120641328394413,
-0.22677703201770782,
0.10890348255634308,
0.20516164600849152,
0.7838155627250671,
0.022439492866396904,
0.06526804715394974,
0.15266908705234528,
0.0153404101729393,
-0.09055348485708237,
-0.4430079758167267,
-0.10290209203958511,
0.42571401596069336,
-0.618060290813446,
-0.06740108132362366,
-0.08374133706092834,
-0.1014745682477951,
0.053860053420066833,
0.1745847463607788,
-0.03023025207221508,
0.03631783649325371,
0.04745028540492058,
0.17490026354789734,
0.1653580665588379,
0.3874707520008087,
-0.05990183725953102,
0.5584331750869751,
0.04244775325059891,
-0.11685464531183243,
0.04488201439380646,
-0.09207794815301895,
0.012196076102554798,
-0.6050311923027039,
0.08808470517396927,
-0.03091667965054512,
-0.09933095425367355,
-0.09268633276224136,
0.017801547423005104,
-0.369486540555954,
0.006166044622659683,
0.2365611046552658,
0.0033363329712301493,
-0.18306593596935272,
-0.09025747328996658,
-0.5061047077178955,
0.05588063597679138,
0.0839017927646637,
0.10628657042980194,
-0.3780882656574249,
0.0992341935634613,
-0.0033384810667485,
-0.004310553427785635,
-0.3259795606136322,
-0.29813456535339355,
-0.2288902997970581,
0.2228073924779892,
-0.1811421811580658,
0.07718756049871445,
-0.40396761894226074,
-0.25227686762809753,
0.20507250726222992,
0.41622263193130493,
-0.1177443340420723,
-0.07613808661699295,
0.010839538648724556,
-0.0346161313354969,
-0.23442824184894562,
0.17616769671440125,
-0.22201746702194214,
0.23066066205501556,
-0.03196385130286217,
0.5045983195304871,
-0.029106812551617622,
-0.22139428555965424,
-0.08906889706850052,
-0.021730387583374977,
0.08396376669406891,
-0.007842501625418663,
-0.044163525104522705,
-0.2998936176300049,
0.24666738510131836,
0.07492349296808243,
-0.2632139325141907,
-0.06768488138914108,
-0.09395243972539902,
0.12111043930053711,
-0.22782295942306519,
0.22150807082653046,
-0.21739515662193298,
-0.36510276794433594,
0.02715766429901123,
0.019331108778715134,
0.3086777627468109,
-0.06309196352958679,
0.4208211898803711,
0.11439678817987442,
0.17301812767982483,
0.16133496165275574,
0.15917611122131348,
-0.13144302368164062,
-0.2680220901966095,
0.08318619430065155,
0.22678479552268982,
0.36273834109306335,
0.09372176975011826,
0.03477165475487709,
0.29801318049430847,
0.39013007283210754,
0.2124062031507492,
0.39999398589134216,
-0.11594938486814499,
0.6762606501579285,
-0.3200046122074127,
0.0842917189002037,
0.24512167274951935,
-0.25537896156311035,
-0.2924267649650574,
0.18690502643585205,
-0.16636398434638977,
-0.07732699066400528,
0.3296641707420349,
0.5182709693908691,
0.3120293617248535,
0.0870155468583107,
0.34109240770339966,
0.306255578994751,
0.009027169086039066,
-0.031247030943632126,
-0.4050689935684204,
-0.05827190726995468,
0.2639197111129761,
0.3804077208042145,
-0.3354529142379761,
0.10174088925123215,
-0.040180955082178116,
-0.32988083362579346,
0.6009742617607117,
-0.47610604763031006,
-0.12176156044006348,
0.06805816292762756,
0.3615746796131134,
0.33938536047935486,
0.23287023603916168,
0.2761097848415375,
0.14954109489917755,
0.16262610256671906,
0.09601332247257233,
0.09878852963447571,
0.17015457153320312,
-0.4183504581451416,
0.21562930941581726,
-0.025750624015927315,
-0.21819405257701874,
0.10788168013095856,
-0.060978226363658905,
0.15002486109733582,
-0.0456758476793766,
-0.19987328350543976,
-0.15688666701316833,
0.5427843928337097,
-0.6157973408699036,
0.02794579230248928,
-0.24889647960662842,
-0.15608301758766174,
0.007014264818280935,
-0.21342624723911285,
-0.034243520349264145,
0.14295808970928192,
0.05249642953276634,
-0.3868671655654907,
-0.05383381247520447,
0.1028614491224289,
0.12662534415721893,
-0.18767660856246948,
0.5111070871353149,
-0.11369690299034119,
-0.03703640028834343,
0.2962217926979065,
0.044953539967536926,
-0.15126429498195648,
0.10901732742786407,
-0.19376131892204285,
-0.001878442708402872,
0.4852038323879242,
0.3487831652164459,
0.24583370983600616,
-0.021493786945939064,
-0.23320868611335754,
0.047029927372932434,
-0.040650516748428345,
-0.0793866366147995,
0.2275259643793106,
0.0799434557557106,
0.13025416433811188,
0.4091724455356598,
-0.03333542123436928,
-0.333244651556015,
0.23246285319328308,
0.18577763438224792,
-0.20312979817390442,
-0.43140751123428345,
0.2710413634777069,
0.3516988754272461,
-0.03689730539917946,
-0.3497079610824585,
-0.5220080614089966,
0.2360263615846634,
0.31859853863716125,
0.18839207291603088,
-0.07165347784757614,
-0.02765061892569065,
-0.24728116393089294,
0.1691095381975174,
0.056553300470113754,
-0.04837125912308693,
0.10004880279302597,
0.1766422837972641,
-0.21454474329948425,
-0.20678958296775818,
-0.25529661774635315,
-0.13639618456363678,
0.4286453127861023,
-0.044338617473840714,
0.3094404935836792,
0.1777622401714325,
0.27718648314476013,
-0.12472555786371231,
-0.12497524172067642,
0.28875258564949036,
0.008841033093631268,
0.04161049425601959,
-0.10893584042787552,
-0.03623782843351364,
0.19311049580574036,
-0.046948667615652084,
0.36491823196411133,
0.19579406082630157,
-0.32509127259254456,
0.01984449289739132,
-0.09847081452608109,
-0.12149550020694733,
-0.0789787694811821,
0.12100574374198914,
-0.15054965019226074,
0.11740070581436157,
0.04394659399986267,
-0.052580177783966064,
-0.18513722717761993,
-0.08627106249332428,
-0.1575879454612732,
-0.0794762670993805,
-0.29745039343833923,
-0.166235089302063,
-0.24606873095035553,
-0.1250382661819458,
-0.11964553594589233,
0.004331060219556093,
0.0005506000597961247,
-0.010688086971640587,
-0.04048744589090347,
-0.2826750874519348,
-0.1588369756937027,
0.06079479679465294,
-0.2936345934867859,
-0.21670210361480713,
-0.17391933500766754,
0.22814054787158966,
-0.0244003813713789,
0.09305927157402039,
-0.11566969007253647,
0.06675161421298981,
0.12224036455154419,
-0.09570088982582092,
-0.15432998538017273,
-0.05346102640032768,
-0.23314324021339417,
0.2917102873325348,
0.14917171001434326,
0.046830914914608,
-0.07943687587976456,
-0.41229644417762756,
-0.014396199956536293,
0.49690350890159607,
-0.5218707323074341,
-0.04079889878630638,
-0.3583913743495941,
0.2859601080417633,
-0.3150937557220459,
0.4582992196083069,
0.05670711398124695,
-0.24624811112880707,
-0.13801313936710358,
0.3644829988479614,
0.1745101511478424,
0.3875305652618408,
-0.061713509261608124,
0.0549771673977375,
-0.0879170224070549,
0.2675457298755646,
-0.11497589945793152,
0.5162416696548462,
0.32723188400268555,
-0.2136986255645752,
-0.04781858250498772,
-0.2623961865901947,
0.11595138162374496,
0.05277024209499359,
-0.13988201320171356,
0.29652485251426697,
0.08347855508327484,
-0.3149944543838501,
0.1665271818637848,
-0.2887454032897949,
-0.4117940366268158,
0.03204282000660896,
-0.05276046693325043,
0.19824540615081787,
-0.24431051313877106,
0.3169921636581421,
0.0489506833255291,
0.49109935760498047,
-0.17805087566375732,
0.2910947799682617,
-0.2383597493171692,
-0.1767042875289917,
0.19751496613025665,
0.2727537453174591,
0.2449004352092743,
-0.16755744814872742,
0.02649623341858387,
-0.5409102439880371,
-0.4216776490211487,
0.2834407389163971,
0.1674797385931015,
0.23528403043746948,
0.2791200578212738,
-0.10083381086587906,
0.5258057713508606,
-0.15621161460876465,
0.7999860644340515,
0.020683541893959045,
-0.3363373279571533,
0.3844906985759735,
-0.1618194878101349,
0.05287637189030647,
-0.21779318153858185,
-0.1827090084552765,
-0.0659896582365036,
0.23377461731433868,
0.4407466650009155,
-0.09317793697118759,
-0.24796512722969055,
0.6446048021316528,
0.06708817183971405,
-0.14724896848201752,
-0.3441525995731354,
-0.1861822009086609,
-0.35430601239204407,
-0.04121949523687363,
0.7678549289703369,
-0.12169075012207031,
0.15569071471691132,
0.1822197437286377,
-0.051234640181064606,
-0.38188865780830383,
0.15986618399620056,
0.23867441713809967,
-0.005120040848851204,
0.050583358854055405,
0.455783873796463,
0.4348106384277344,
0.07141595333814621,
0.0007325740880332887,
0.11927373707294464,
-0.03691220283508301,
-0.30439624190330505,
0.07315177470445633,
-0.18884620070457458,
-0.25568538904190063,
0.37994295358657837,
0.7006723880767822,
0.18687665462493896,
0.24840828776359558,
-0.21023093163967133,
0.3775888681411743,
-0.19144584238529205,
0.024531345814466476,
0.43831244111061096,
-0.0020621030125766993,
-0.17877259850502014,
-0.5383256673812866,
0.31127867102622986,
0.2034226506948471,
0.07330293953418732,
0.06086021289229393,
-0.07573039829730988,
-0.01638045720756054,
0.3021714985370636,
0.1250007152557373,
0.9838237762451172,
-0.02691991813480854,
0.1929827183485031,
0.50630784034729,
0.004840462934225798,
-0.24390368163585663,
-0.6487336754798889,
0.3692772090435028,
-0.33292150497436523,
-0.22415265440940857,
0.19311641156673431,
-0.10114186257123947,
-0.08476849645376205,
0.073533795773983,
-0.03934306278824806,
0.09914674609899521,
-0.04727573320269585,
-0.08625645935535431,
-0.2586022615432739,
0.38955432176589966,
0.31519457697868347,
-0.42784005403518677,
0.024883409962058067,
0.001350741251371801,
0.271456241607666,
-0.09871555119752884,
0.12781597673892975,
-0.16340002417564392,
-0.1108853816986084,
0.018441425636410713,
0.12517376244068146,
-0.07911400496959686,
-0.12837839126586914,
0.01305884774774313,
-0.048773329704999924,
-0.08731187880039215,
-0.23292511701583862,
-0.32441654801368713,
0.46041998267173767,
-0.029945844784379005,
0.09953469038009644,
0.081583671271801,
-0.09911026805639267,
0.07216382026672363,
-0.08676977455615997,
-0.49708321690559387,
0.22654052078723907,
0.08081196248531342,
-0.17367833852767944,
0.14937090873718262,
0.07872676849365234,
-0.3227708339691162,
-0.14609792828559875,
0.17442995309829712,
0.020576778799295425,
0.0075490353628993034,
-0.03673763945698738,
0.3179985284805298,
-0.26263749599456787,
-0.2335655391216278,
0.020059769973158836,
0.09207716584205627,
-0.4317528009414673,
0.5605180263519287,
-0.3023817241191864,
-0.3800688683986664,
-0.05465592443943024,
0.016695475205779076,
0.3058086335659027,
0.056038208305835724,
0.2623710334300995,
-0.0891200453042984,
-0.30488115549087524,
-0.1546768993139267,
-0.30242931842803955,
0.06128295511007309,
0.03862416744232178,
0.09388736635446548,
0.30242154002189636,
-0.006130733527243137,
0.025399265810847282,
-0.23266436159610748,
-0.3227173089981079,
-0.14176863431930542,
-0.3823906481266022,
0.11460041254758835,
-0.3576410114765167,
-0.18506810069084167,
0.2572275698184967,
0.38368457555770874,
0.036018408834934235,
0.23422428965568542,
-0.4448956251144409,
0.2590486705303192,
-0.21766982972621918,
-0.06533944606781006,
-0.031240707263350487,
0.2600192129611969,
-0.03270907327532768,
-0.25742706656455994,
0.17543961107730865,
0.21627074480056763,
0.11998891830444336,
0.14120365679264069,
0.03736565262079239,
-0.11179859936237335,
0.10294927656650543,
0.1834249496459961,
-0.11074750125408173,
0.16845054924488068,
0.08115518093109131,
-0.1483062207698822,
-0.3009878098964691,
-0.2652977406978607,
0.13436627388000488,
-0.11070363968610764,
-0.025854967534542084,
-0.13035929203033447,
-0.12170838564634323,
-0.11248856782913208,
0.3323756754398346,
0.27382513880729675,
0.20400471985340118,
0.28330788016319275,
-0.0734994113445282,
0.07670175284147263,
-0.24283291399478912,
-0.26539337635040283,
-0.05103801190853119,
0.19032369554042816,
0.061644669622182846,
0.08636713773012161,
-0.09186553955078125,
-0.17318761348724365,
-0.37994787096977234,
-0.038117554038763046,
0.03176838532090187,
0.44989216327667236,
0.04249455779790878,
-0.2883666753768921,
0.18529678881168365,
0.03793703019618988,
-0.27972111105918884,
-0.19527681171894073,
0.3624269962310791,
-0.4507017433643341,
0.20022889971733093,
0.40171751379966736,
0.26457515358924866,
0.16572430729866028,
-0.48327431082725525,
0.09376382827758789,
-0.23451673984527588,
0.09630513191223145,
-0.4337080121040344,
-0.0904514268040657,
0.3514752984046936,
-0.19489936530590057,
0.20412589609622955,
0.3052140772342682,
0.23111960291862488,
0.6089180111885071,
0.03142336755990982,
0.2752900719642639,
0.18787720799446106,
0.21332722902297974,
-0.32170307636260986,
-0.17983660101890564,
0.2906690835952759,
0.23226889967918396,
-0.03177434206008911,
-0.20784573256969452,
0.00909457542002201,
0.23473390936851501,
0.24403607845306396,
-0.516964316368103,
-0.2611277401447296,
0.16302168369293213,
-0.12202011793851852,
-0.12818151712417603,
0.41174861788749695,
0.056770890951156616,
-0.2780810296535492,
0.2270267903804779,
0.07766445726156235,
0.19237421452999115,
-0.12724758684635162,
0.20087450742721558,
0.2934531569480896,
0.22120140492916107,
-0.023113934323191643,
0.0910249873995781,
0.4337705373764038,
-0.33673936128616333,
-0.20791392028331757,
-0.011149626225233078,
-0.0027164847124367952,
0.023589259013533592,
-0.15122254192829132,
0.2809453010559082,
0.24482552707195282,
-0.05550317466259003,
0.2687216103076935,
-0.050441090017557144,
-0.008870884776115417,
0.04380457103252411,
-0.034400876611471176,
-0.10841280966997147,
-0.10039331018924713,
0.10061687231063843,
-0.0908767506480217,
-0.12853354215621948,
-0.12072346359491348,
-0.2426328808069229,
0.20261327922344208,
-0.18042470514774323,
0.0230691060423851,
0.3459421992301941,
-0.09754059463739395,
-0.3948054313659668,
0.09524179250001907,
-0.28330305218696594,
0.06918125599622726,
0.10627059638500214,
-0.3566013276576996,
-0.08913571387529373,
0.2603062689304352,
-0.001633998821489513,
-0.4257487952709198,
0.5468892455101013,
0.1724044531583786,
0.1286822259426117,
-0.3299420177936554,
-0.0014343556249514222,
-0.32078811526298523,
-0.03450939431786537,
-0.5890913009643555,
0.11263563483953476,
0.11768347769975662,
0.4403546452522278,
0.07392508536577225,
-0.0703551396727562,
0.40310826897621155,
-0.40797093510627747,
0.09924033284187317,
0.3735489249229431,
-0.1734420359134674,
-0.030622417107224464,
-0.4397854804992676,
-0.07384704053401947,
0.042283251881599426,
-0.3743230998516083,
0.28479641675949097,
-0.12820668518543243,
-0.014769596047699451,
0.19237110018730164,
-0.020268801599740982,
0.12265168130397797,
0.06268194317817688,
0.5298777222633362,
-0.09794456511735916,
0.000055181335483212024,
-0.09645427763462067,
0.008635740727186203,
-0.23218899965286255,
0.12195920199155807,
-0.20707820355892181,
0.008574522100389004,
-0.02188759483397007,
0.1733759194612503,
-0.2073739618062973,
-0.3919595181941986,
-0.18153439462184906,
0.4176577925682068,
0.31262972950935364,
-0.41869619488716125,
0.19802796840667725,
0.152659073472023,
-0.155827596783638,
0.47959375381469727,
0.15036313235759735,
0.22828395664691925,
0.14673328399658203,
-0.034050654619932175,
-0.3561272919178009,
-0.10542063415050507,
0.6236687898635864,
-0.18829402327537537,
-0.029361551627516747,
-0.34943896532058716,
0.254902184009552,
0.4437912702560425,
0.5510439872741699,
-0.26457640528678894,
0.08623872697353363,
0.12194323539733887,
0.053574010729789734,
-0.2103939801454544,
0.5777605772018433,
0.18686193227767944,
0.014771755784749985,
-0.07378310710191727,
-0.26480746269226074,
-0.06308902055025101,
-0.0029667862690985203,
-0.3532107174396515,
-0.28143104910850525
] |
https://github.com/huggingface/datasets/issues/2046
|
add_faisis_index gets very slow when doing it interatively
|
Can you try to set the number of threads manually ?
If you set the same number of threads for both the `use_own_knowledge_dataset.py` and RAG training, it should take the same amount of time.
You can see how to set the number of thread in the faiss wiki: https://github.com/facebookresearch/faiss/wiki/Threads-and-asynchronous-calls
|
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
| 49
|
add_faisis_index gets very slow when doing it interatively
As the below code suggests, I want to run add_faisis_index in every nth interaction from the training loop. I have 7.2 million documents. Usually, it takes 2.5 hours (if I run an as a separate process similar to the script given in rag/use_own_knowleldge_dataset.py). Now, this takes usually 5hrs. Is this normal? Any way to make this process faster?
@lhoestq
```
def training_step(self, batch, batch_idx) -> Dict:
if (not batch_idx==0) and (batch_idx%5==0):
print("******************************************************")
ctx_encoder=self.trainer.model.module.module.model.rag.ctx_encoder
model_copy =type(ctx_encoder)(self.config_dpr) # get a new instance #this will be load in the CPU
model_copy.load_state_dict(ctx_encoder.state_dict()) # copy weights and stuff
list_of_gpus = ['cuda:2','cuda:3']
c_dir='/custom/cache/dir'
kb_dataset = load_dataset("csv", data_files=[self.custom_config.csv_path], split="train", delimiter="\t", column_names=["title", "text"],cache_dir=c_dir)
print(kb_dataset)
n=len(list_of_gpus) #nunber of dedicated GPUs
kb_list=[kb_dataset.shard(n, i, contiguous=True) for i in range(n)]
#kb_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/haha-dir')
print(self.trainer.global_rank)
dataset_shards = self.re_encode_kb(model_copy.to(device=list_of_gpus[self.trainer.global_rank]),kb_list[self.trainer.global_rank])
output = [None for _ in list_of_gpus]
#self.trainer.accelerator_connector.accelerator.barrier("embedding_process")
dist.all_gather_object(output, dataset_shards)
#This creation and re-initlaization of the new index
if (self.trainer.global_rank==0): #saving will be done in the main process
combined_dataset = concatenate_datasets(output)
passages_path =self.config.passages_path
logger.info("saving the dataset with ")
#combined_dataset.save_to_disk('/hpc/gsir059/MY-Test/RAY/transformers/examples/research_projects/rag/MY-Passage')
combined_dataset.save_to_disk(passages_path)
logger.info("Add faiss index to the dataset that consist of embeddings")
embedding_dataset=combined_dataset
index = faiss.IndexHNSWFlat(768, 128, faiss.METRIC_INNER_PRODUCT)
embedding_dataset.add_faiss_index("embeddings", custom_index=index)
embedding_dataset.get_index("embeddings").save(self.config.index_path)
Can you try to set the number of threads manually ?
If you set the same number of threads for both the `use_own_knowledge_dataset.py` and RAG training, it should take the same amount of time.
You can see how to set the number of thread in the faiss wiki: https://github.com/facebookresearch/faiss/wiki/Threads-and-asynchronous-calls
|
[
-0.49882516264915466,
-0.26827844977378845,
-0.024500647559762,
0.1282288283109665,
0.05943915247917175,
0.20778384804725647,
0.12146306037902832,
0.42412909865379333,
0.291742742061615,
0.2924974858760834,
-0.11882596462965012,
0.188315287232399,
0.13721296191215515,
0.08582107722759247,
-0.13625605404376984,
0.17504271864891052,
0.23703299462795258,
0.08533414453268051,
0.2607974112033844,
-0.13441404700279236,
-0.32748016715049744,
-0.30906423926353455,
-0.15891285240650177,
-0.2578621208667755,
-0.40069231390953064,
-0.0958191454410553,
-0.24362172186374664,
-0.08205042779445648,
0.19824793934822083,
-0.47291648387908936,
-0.13753199577331543,
0.1398429572582245,
0.34025880694389343,
0.25829288363456726,
-0.00012204969971207902,
0.05567667633295059,
0.22800785303115845,
0.06546277552843094,
-0.22299717366695404,
0.6411961913108826,
0.3400721848011017,
-0.06948856264352798,
-0.1751103401184082,
-0.3107718527317047,
-0.14555537700653076,
-0.11104141920804977,
0.08107940107584,
-0.04693025350570679,
-0.1663648784160614,
0.19430120289325714,
0.026624172925949097,
-0.05828629806637764,
0.05225489288568497,
-0.015400421805679798,
0.40251225233078003,
-0.0755910724401474,
-0.06917734444141388,
0.3174716532230377,
0.16351284086704254,
-0.07223645597696304,
0.09974305331707001,
0.44810786843299866,
0.120641328394413,
-0.22677703201770782,
0.10890348255634308,
0.20516164600849152,
0.7838155627250671,
0.022439492866396904,
0.06526804715394974,
0.15266908705234528,
0.0153404101729393,
-0.09055348485708237,
-0.4430079758167267,
-0.10290209203958511,
0.42571401596069336,
-0.618060290813446,
-0.06740108132362366,
-0.08374133706092834,
-0.1014745682477951,
0.053860053420066833,
0.1745847463607788,
-0.03023025207221508,
0.03631783649325371,
0.04745028540492058,
0.17490026354789734,
0.1653580665588379,
0.3874707520008087,
-0.05990183725953102,
0.5584331750869751,
0.04244775325059891,
-0.11685464531183243,
0.04488201439380646,
-0.09207794815301895,
0.012196076102554798,
-0.6050311923027039,
0.08808470517396927,
-0.03091667965054512,
-0.09933095425367355,
-0.09268633276224136,
0.017801547423005104,
-0.369486540555954,
0.006166044622659683,
0.2365611046552658,
0.0033363329712301493,
-0.18306593596935272,
-0.09025747328996658,
-0.5061047077178955,
0.05588063597679138,
0.0839017927646637,
0.10628657042980194,
-0.3780882656574249,
0.0992341935634613,
-0.0033384810667485,
-0.004310553427785635,
-0.3259795606136322,
-0.29813456535339355,
-0.2288902997970581,
0.2228073924779892,
-0.1811421811580658,
0.07718756049871445,
-0.40396761894226074,
-0.25227686762809753,
0.20507250726222992,
0.41622263193130493,
-0.1177443340420723,
-0.07613808661699295,
0.010839538648724556,
-0.0346161313354969,
-0.23442824184894562,
0.17616769671440125,
-0.22201746702194214,
0.23066066205501556,
-0.03196385130286217,
0.5045983195304871,
-0.029106812551617622,
-0.22139428555965424,
-0.08906889706850052,
-0.021730387583374977,
0.08396376669406891,
-0.007842501625418663,
-0.044163525104522705,
-0.2998936176300049,
0.24666738510131836,
0.07492349296808243,
-0.2632139325141907,
-0.06768488138914108,
-0.09395243972539902,
0.12111043930053711,
-0.22782295942306519,
0.22150807082653046,
-0.21739515662193298,
-0.36510276794433594,
0.02715766429901123,
0.019331108778715134,
0.3086777627468109,
-0.06309196352958679,
0.4208211898803711,
0.11439678817987442,
0.17301812767982483,
0.16133496165275574,
0.15917611122131348,
-0.13144302368164062,
-0.2680220901966095,
0.08318619430065155,
0.22678479552268982,
0.36273834109306335,
0.09372176975011826,
0.03477165475487709,
0.29801318049430847,
0.39013007283210754,
0.2124062031507492,
0.39999398589134216,
-0.11594938486814499,
0.6762606501579285,
-0.3200046122074127,
0.0842917189002037,
0.24512167274951935,
-0.25537896156311035,
-0.2924267649650574,
0.18690502643585205,
-0.16636398434638977,
-0.07732699066400528,
0.3296641707420349,
0.5182709693908691,
0.3120293617248535,
0.0870155468583107,
0.34109240770339966,
0.306255578994751,
0.009027169086039066,
-0.031247030943632126,
-0.4050689935684204,
-0.05827190726995468,
0.2639197111129761,
0.3804077208042145,
-0.3354529142379761,
0.10174088925123215,
-0.040180955082178116,
-0.32988083362579346,
0.6009742617607117,
-0.47610604763031006,
-0.12176156044006348,
0.06805816292762756,
0.3615746796131134,
0.33938536047935486,
0.23287023603916168,
0.2761097848415375,
0.14954109489917755,
0.16262610256671906,
0.09601332247257233,
0.09878852963447571,
0.17015457153320312,
-0.4183504581451416,
0.21562930941581726,
-0.025750624015927315,
-0.21819405257701874,
0.10788168013095856,
-0.060978226363658905,
0.15002486109733582,
-0.0456758476793766,
-0.19987328350543976,
-0.15688666701316833,
0.5427843928337097,
-0.6157973408699036,
0.02794579230248928,
-0.24889647960662842,
-0.15608301758766174,
0.007014264818280935,
-0.21342624723911285,
-0.034243520349264145,
0.14295808970928192,
0.05249642953276634,
-0.3868671655654907,
-0.05383381247520447,
0.1028614491224289,
0.12662534415721893,
-0.18767660856246948,
0.5111070871353149,
-0.11369690299034119,
-0.03703640028834343,
0.2962217926979065,
0.044953539967536926,
-0.15126429498195648,
0.10901732742786407,
-0.19376131892204285,
-0.001878442708402872,
0.4852038323879242,
0.3487831652164459,
0.24583370983600616,
-0.021493786945939064,
-0.23320868611335754,
0.047029927372932434,
-0.040650516748428345,
-0.0793866366147995,
0.2275259643793106,
0.0799434557557106,
0.13025416433811188,
0.4091724455356598,
-0.03333542123436928,
-0.333244651556015,
0.23246285319328308,
0.18577763438224792,
-0.20312979817390442,
-0.43140751123428345,
0.2710413634777069,
0.3516988754272461,
-0.03689730539917946,
-0.3497079610824585,
-0.5220080614089966,
0.2360263615846634,
0.31859853863716125,
0.18839207291603088,
-0.07165347784757614,
-0.02765061892569065,
-0.24728116393089294,
0.1691095381975174,
0.056553300470113754,
-0.04837125912308693,
0.10004880279302597,
0.1766422837972641,
-0.21454474329948425,
-0.20678958296775818,
-0.25529661774635315,
-0.13639618456363678,
0.4286453127861023,
-0.044338617473840714,
0.3094404935836792,
0.1777622401714325,
0.27718648314476013,
-0.12472555786371231,
-0.12497524172067642,
0.28875258564949036,
0.008841033093631268,
0.04161049425601959,
-0.10893584042787552,
-0.03623782843351364,
0.19311049580574036,
-0.046948667615652084,
0.36491823196411133,
0.19579406082630157,
-0.32509127259254456,
0.01984449289739132,
-0.09847081452608109,
-0.12149550020694733,
-0.0789787694811821,
0.12100574374198914,
-0.15054965019226074,
0.11740070581436157,
0.04394659399986267,
-0.052580177783966064,
-0.18513722717761993,
-0.08627106249332428,
-0.1575879454612732,
-0.0794762670993805,
-0.29745039343833923,
-0.166235089302063,
-0.24606873095035553,
-0.1250382661819458,
-0.11964553594589233,
0.004331060219556093,
0.0005506000597961247,
-0.010688086971640587,
-0.04048744589090347,
-0.2826750874519348,
-0.1588369756937027,
0.06079479679465294,
-0.2936345934867859,
-0.21670210361480713,
-0.17391933500766754,
0.22814054787158966,
-0.0244003813713789,
0.09305927157402039,
-0.11566969007253647,
0.06675161421298981,
0.12224036455154419,
-0.09570088982582092,
-0.15432998538017273,
-0.05346102640032768,
-0.23314324021339417,
0.2917102873325348,
0.14917171001434326,
0.046830914914608,
-0.07943687587976456,
-0.41229644417762756,
-0.014396199956536293,
0.49690350890159607,
-0.5218707323074341,
-0.04079889878630638,
-0.3583913743495941,
0.2859601080417633,
-0.3150937557220459,
0.4582992196083069,
0.05670711398124695,
-0.24624811112880707,
-0.13801313936710358,
0.3644829988479614,
0.1745101511478424,
0.3875305652618408,
-0.061713509261608124,
0.0549771673977375,
-0.0879170224070549,
0.2675457298755646,
-0.11497589945793152,
0.5162416696548462,
0.32723188400268555,
-0.2136986255645752,
-0.04781858250498772,
-0.2623961865901947,
0.11595138162374496,
0.05277024209499359,
-0.13988201320171356,
0.29652485251426697,
0.08347855508327484,
-0.3149944543838501,
0.1665271818637848,
-0.2887454032897949,
-0.4117940366268158,
0.03204282000660896,
-0.05276046693325043,
0.19824540615081787,
-0.24431051313877106,
0.3169921636581421,
0.0489506833255291,
0.49109935760498047,
-0.17805087566375732,
0.2910947799682617,
-0.2383597493171692,
-0.1767042875289917,
0.19751496613025665,
0.2727537453174591,
0.2449004352092743,
-0.16755744814872742,
0.02649623341858387,
-0.5409102439880371,
-0.4216776490211487,
0.2834407389163971,
0.1674797385931015,
0.23528403043746948,
0.2791200578212738,
-0.10083381086587906,
0.5258057713508606,
-0.15621161460876465,
0.7999860644340515,
0.020683541893959045,
-0.3363373279571533,
0.3844906985759735,
-0.1618194878101349,
0.05287637189030647,
-0.21779318153858185,
-0.1827090084552765,
-0.0659896582365036,
0.23377461731433868,
0.4407466650009155,
-0.09317793697118759,
-0.24796512722969055,
0.6446048021316528,
0.06708817183971405,
-0.14724896848201752,
-0.3441525995731354,
-0.1861822009086609,
-0.35430601239204407,
-0.04121949523687363,
0.7678549289703369,
-0.12169075012207031,
0.15569071471691132,
0.1822197437286377,
-0.051234640181064606,
-0.38188865780830383,
0.15986618399620056,
0.23867441713809967,
-0.005120040848851204,
0.050583358854055405,
0.455783873796463,
0.4348106384277344,
0.07141595333814621,
0.0007325740880332887,
0.11927373707294464,
-0.03691220283508301,
-0.30439624190330505,
0.07315177470445633,
-0.18884620070457458,
-0.25568538904190063,
0.37994295358657837,
0.7006723880767822,
0.18687665462493896,
0.24840828776359558,
-0.21023093163967133,
0.3775888681411743,
-0.19144584238529205,
0.024531345814466476,
0.43831244111061096,
-0.0020621030125766993,
-0.17877259850502014,
-0.5383256673812866,
0.31127867102622986,
0.2034226506948471,
0.07330293953418732,
0.06086021289229393,
-0.07573039829730988,
-0.01638045720756054,
0.3021714985370636,
0.1250007152557373,
0.9838237762451172,
-0.02691991813480854,
0.1929827183485031,
0.50630784034729,
0.004840462934225798,
-0.24390368163585663,
-0.6487336754798889,
0.3692772090435028,
-0.33292150497436523,
-0.22415265440940857,
0.19311641156673431,
-0.10114186257123947,
-0.08476849645376205,
0.073533795773983,
-0.03934306278824806,
0.09914674609899521,
-0.04727573320269585,
-0.08625645935535431,
-0.2586022615432739,
0.38955432176589966,
0.31519457697868347,
-0.42784005403518677,
0.024883409962058067,
0.001350741251371801,
0.271456241607666,
-0.09871555119752884,
0.12781597673892975,
-0.16340002417564392,
-0.1108853816986084,
0.018441425636410713,
0.12517376244068146,
-0.07911400496959686,
-0.12837839126586914,
0.01305884774774313,
-0.048773329704999924,
-0.08731187880039215,
-0.23292511701583862,
-0.32441654801368713,
0.46041998267173767,
-0.029945844784379005,
0.09953469038009644,
0.081583671271801,
-0.09911026805639267,
0.07216382026672363,
-0.08676977455615997,
-0.49708321690559387,
0.22654052078723907,
0.08081196248531342,
-0.17367833852767944,
0.14937090873718262,
0.07872676849365234,
-0.3227708339691162,
-0.14609792828559875,
0.17442995309829712,
0.020576778799295425,
0.0075490353628993034,
-0.03673763945698738,
0.3179985284805298,
-0.26263749599456787,
-0.2335655391216278,
0.020059769973158836,
0.09207716584205627,
-0.4317528009414673,
0.5605180263519287,
-0.3023817241191864,
-0.3800688683986664,
-0.05465592443943024,
0.016695475205779076,
0.3058086335659027,
0.056038208305835724,
0.2623710334300995,
-0.0891200453042984,
-0.30488115549087524,
-0.1546768993139267,
-0.30242931842803955,
0.06128295511007309,
0.03862416744232178,
0.09388736635446548,
0.30242154002189636,
-0.006130733527243137,
0.025399265810847282,
-0.23266436159610748,
-0.3227173089981079,
-0.14176863431930542,
-0.3823906481266022,
0.11460041254758835,
-0.3576410114765167,
-0.18506810069084167,
0.2572275698184967,
0.38368457555770874,
0.036018408834934235,
0.23422428965568542,
-0.4448956251144409,
0.2590486705303192,
-0.21766982972621918,
-0.06533944606781006,
-0.031240707263350487,
0.2600192129611969,
-0.03270907327532768,
-0.25742706656455994,
0.17543961107730865,
0.21627074480056763,
0.11998891830444336,
0.14120365679264069,
0.03736565262079239,
-0.11179859936237335,
0.10294927656650543,
0.1834249496459961,
-0.11074750125408173,
0.16845054924488068,
0.08115518093109131,
-0.1483062207698822,
-0.3009878098964691,
-0.2652977406978607,
0.13436627388000488,
-0.11070363968610764,
-0.025854967534542084,
-0.13035929203033447,
-0.12170838564634323,
-0.11248856782913208,
0.3323756754398346,
0.27382513880729675,
0.20400471985340118,
0.28330788016319275,
-0.0734994113445282,
0.07670175284147263,
-0.24283291399478912,
-0.26539337635040283,
-0.05103801190853119,
0.19032369554042816,
0.061644669622182846,
0.08636713773012161,
-0.09186553955078125,
-0.17318761348724365,
-0.37994787096977234,
-0.038117554038763046,
0.03176838532090187,
0.44989216327667236,
0.04249455779790878,
-0.2883666753768921,
0.18529678881168365,
0.03793703019618988,
-0.27972111105918884,
-0.19527681171894073,
0.3624269962310791,
-0.4507017433643341,
0.20022889971733093,
0.40171751379966736,
0.26457515358924866,
0.16572430729866028,
-0.48327431082725525,
0.09376382827758789,
-0.23451673984527588,
0.09630513191223145,
-0.4337080121040344,
-0.0904514268040657,
0.3514752984046936,
-0.19489936530590057,
0.20412589609622955,
0.3052140772342682,
0.23111960291862488,
0.6089180111885071,
0.03142336755990982,
0.2752900719642639,
0.18787720799446106,
0.21332722902297974,
-0.32170307636260986,
-0.17983660101890564,
0.2906690835952759,
0.23226889967918396,
-0.03177434206008911,
-0.20784573256969452,
0.00909457542002201,
0.23473390936851501,
0.24403607845306396,
-0.516964316368103,
-0.2611277401447296,
0.16302168369293213,
-0.12202011793851852,
-0.12818151712417603,
0.41174861788749695,
0.056770890951156616,
-0.2780810296535492,
0.2270267903804779,
0.07766445726156235,
0.19237421452999115,
-0.12724758684635162,
0.20087450742721558,
0.2934531569480896,
0.22120140492916107,
-0.023113934323191643,
0.0910249873995781,
0.4337705373764038,
-0.33673936128616333,
-0.20791392028331757,
-0.011149626225233078,
-0.0027164847124367952,
0.023589259013533592,
-0.15122254192829132,
0.2809453010559082,
0.24482552707195282,
-0.05550317466259003,
0.2687216103076935,
-0.050441090017557144,
-0.008870884776115417,
0.04380457103252411,
-0.034400876611471176,
-0.10841280966997147,
-0.10039331018924713,
0.10061687231063843,
-0.0908767506480217,
-0.12853354215621948,
-0.12072346359491348,
-0.2426328808069229,
0.20261327922344208,
-0.18042470514774323,
0.0230691060423851,
0.3459421992301941,
-0.09754059463739395,
-0.3948054313659668,
0.09524179250001907,
-0.28330305218696594,
0.06918125599622726,
0.10627059638500214,
-0.3566013276576996,
-0.08913571387529373,
0.2603062689304352,
-0.001633998821489513,
-0.4257487952709198,
0.5468892455101013,
0.1724044531583786,
0.1286822259426117,
-0.3299420177936554,
-0.0014343556249514222,
-0.32078811526298523,
-0.03450939431786537,
-0.5890913009643555,
0.11263563483953476,
0.11768347769975662,
0.4403546452522278,
0.07392508536577225,
-0.0703551396727562,
0.40310826897621155,
-0.40797093510627747,
0.09924033284187317,
0.3735489249229431,
-0.1734420359134674,
-0.030622417107224464,
-0.4397854804992676,
-0.07384704053401947,
0.042283251881599426,
-0.3743230998516083,
0.28479641675949097,
-0.12820668518543243,
-0.014769596047699451,
0.19237110018730164,
-0.020268801599740982,
0.12265168130397797,
0.06268194317817688,
0.5298777222633362,
-0.09794456511735916,
0.000055181335483212024,
-0.09645427763462067,
0.008635740727186203,
-0.23218899965286255,
0.12195920199155807,
-0.20707820355892181,
0.008574522100389004,
-0.02188759483397007,
0.1733759194612503,
-0.2073739618062973,
-0.3919595181941986,
-0.18153439462184906,
0.4176577925682068,
0.31262972950935364,
-0.41869619488716125,
0.19802796840667725,
0.152659073472023,
-0.155827596783638,
0.47959375381469727,
0.15036313235759735,
0.22828395664691925,
0.14673328399658203,
-0.034050654619932175,
-0.3561272919178009,
-0.10542063415050507,
0.6236687898635864,
-0.18829402327537537,
-0.029361551627516747,
-0.34943896532058716,
0.254902184009552,
0.4437912702560425,
0.5510439872741699,
-0.26457640528678894,
0.08623872697353363,
0.12194323539733887,
0.053574010729789734,
-0.2103939801454544,
0.5777605772018433,
0.18686193227767944,
0.014771755784749985,
-0.07378310710191727,
-0.26480746269226074,
-0.06308902055025101,
-0.0029667862690985203,
-0.3532107174396515,
-0.28143104910850525
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.