html_url
stringlengths
47
49
title
stringlengths
4
111
comments
stringlengths
71
20.4k
body
stringlengths
0
12.9k
comment_length_in_words
int64
16
1.61k
text
stringlengths
100
20.5k
embedding
sequencelengths
768
768
https://github.com/huggingface/datasets/pull/2023
Add Romanian to XQuAD
You're right, you needed the `--ignore_verifications` flag ! Thanks for updating them :) Although I just noticed that the new dummy_data.zip files are quite big (170KB each) because they contain the json files of all the languages, while only one json file per language is necessary. Could you remove the unnecessary json files to reduce the size of the dummy_data.zip files if you don't mind ?
On Jan 18, XQuAD was updated with a new Romanian validation file ([xquad commit link](https://github.com/deepmind/xquad/commit/60cac411649156efb6aab9dd4c9cde787a2c0345))
66
text: Add Romanian to XQuAD On Jan 18, XQuAD was updated with a new Romanian validation file ([xquad commit link](https://github.com/deepmind/xquad/commit/60cac411649156efb6aab9dd4c9cde787a2c0345)) You're right, you needed the `--ignore_verifications` flag ! Thanks for updating them :) Although I just noticed that the new dummy_data.zip files are quite big (170KB each) because they contain the json files of all the languages, while only one json file per language is necessary. Could you remove the unnecessary json files to reduce the size of the dummy_data.zip files if you don't mind ?
[ -0.14838874340057373, 0.28968408703804016, -0.12593179941177368, -0.011257551610469818, 0.14610083401203156, -0.15293475985527039, 0.088997021317482, 0.514288604259491, 0.24402642250061035, 0.41525977849960327, 0.032866381108760834, -0.15646995604038239, 0.04403657466173172, 0.054623544216156006, -0.2331165373325348, 0.38077211380004883, 0.16587534546852112, 0.12589767575263977, 0.11155995726585388, -0.3542254567146301, -0.1916280835866928, -0.013107126578688622, 0.12200090289115906, -0.06428751349449158, -0.5632611513137817, 0.0287511944770813, -0.1415984332561493, 0.0794365406036377, -0.467192679643631, -0.22342175245285034, -0.04947711527347565, 0.24693416059017181, -0.11803212761878967, 0.11621473729610443, -0.00010783001926029101, -0.11246082931756973, 0.3064644932746887, -0.22011588513851166, 0.2980046272277832, 0.24552831053733826, -0.3346579372882843, -0.455689013004303, -0.34437182545661926, -0.2561105787754059, 0.16885453462600708, -0.10512397438287735, -0.13500317931175232, 0.060445696115493774, 0.33037757873535156, 0.4291609823703766, 0.2591875493526459, 0.11883383989334106, -0.05081082880496979, -0.08487949520349503, -0.21166357398033142, -0.1185147613286972, 0.2156694084405899, 0.34808939695358276, 0.33526161313056946, 0.24557656049728394, 0.16500483453273773, 0.3159126043319702, -0.05009719729423523, -0.417356938123703, -0.2518311142921448, -0.3269199728965759, -0.03749871253967285, -0.2975060045719147, 0.11593861132860184, 0.34664642810821533, 0.060750700533390045, 0.08907550573348999, -0.011423153802752495, 0.003648698329925537, -0.06562984734773636, -0.28470560908317566, 0.3870101273059845, -0.027853788807988167, -0.03071572817862034, -0.017888695001602173, -0.07287818938493729, -0.34724175930023193, -0.0429018996655941, 0.13086043298244476, 0.015045545995235443, 0.3452783524990082, 0.025254186242818832, -0.06413411349058151, 0.14717997610569, -0.1897914558649063, -0.035675790160894394, -0.22084064781665802, -0.09615923464298248, 0.0929766371846199, -0.2350577563047409, -0.4301937222480774, -0.08517523854970932, 0.002502061426639557, 0.3496254086494446, -0.0151907280087471, -0.19312165677547455, 0.18618661165237427, -0.10020343214273453, 0.10781364142894745, -0.07175076007843018, 0.6698909401893616, 0.30436617136001587, -0.07176287472248077, 0.2846868932247162, 0.0985550805926323, 0.11075885593891144, 0.0747184082865715, -0.24817346036434174, -0.12363334745168686, -0.24451282620429993, 0.36517196893692017, 0.02506013959646225, -0.23549900949001312, 0.11143258959054947, 0.010732180438935757, -0.05055437982082367, -0.0955115407705307, -0.14588043093681335, 0.214778870344162, 0.15142430365085602, 0.2718442380428314, -0.377006471157074, 0.0800456702709198, -0.3599608838558197, -0.3930005729198456, -0.11596217751502991, 0.5044712424278259, -0.030840538442134857, -0.10378574579954147, 0.05028969421982765, -0.09023748338222504, 0.23860353231430054, -0.007305862382054329, 0.34890955686569214, 0.1769431233406067, 0.1038915365934372, -0.2112383097410202, 0.19952839612960815, 0.10914058983325958, -0.03532528877258301, -0.15458115935325623, 0.12574870884418488, -0.33524954319000244, -0.16552948951721191, 0.2978817820549011, -0.09578872472047806, -0.22515201568603516, -0.2879117429256439, 0.27410581707954407, -0.3191741704940796, -0.0797463059425354, -0.016507163643836975, 0.5332632064819336, 0.018299981951713562, 0.013784591108560562, 0.15815064311027527, 0.16753773391246796, 0.09827317297458649, -0.07694214582443237, -0.06798803061246872, 0.28708726167678833, -0.5684025287628174, 0.20381641387939453, -0.17769096791744232, -0.18172237277030945, -0.06540227681398392, 0.34924477338790894, -0.1594047248363495, 0.21577668190002441, -0.20341338217258453, 0.3756478428840637, 0.19462907314300537, -0.3463245630264282, -0.2314053624868393, 0.026369981467723846, -0.039952777326107025, 0.04373858869075775, 0.07172104716300964, -0.1329420655965805, 0.3274363577365875, -0.11263967305421829, -0.30352529883384705, -0.03175649046897888, 0.008150860667228699, -0.08004429191350937, -0.3231189548969269, -0.2970198094844818, 0.1526591032743454, 0.11521711945533752, 0.225303515791893, -0.005118697881698608, 0.20911037921905518, 0.1345636546611786, 0.10735926777124405, -0.3277331590652466, -0.07921243458986282, 0.2872910499572754, 0.3652401566505432, -0.29867273569107056, 0.04737381637096405, -0.08892606943845749, -0.08004168421030045, 0.07689826935529709, -0.07197104394435883, 0.24789391458034515, 0.13809537887573242, -0.22145284712314606, -0.2047290802001953, -0.3356989026069641, -0.19682426750659943, -0.23386302590370178, 0.2999681234359741, 0.08428255468606949, 0.28204473853111267, 0.036306846886873245, -0.2583156228065491, 0.05675517022609711, -0.017780199646949768, -0.08720920979976654, -0.18247374892234802, -0.28820452094078064, -0.18559801578521729, -0.03667930141091347, 0.05944672226905823, 0.16959835588932037, -0.05567624419927597, -0.3062831461429596, -0.07985135912895203, 0.23758739233016968, -0.18323801457881927, -0.18005026876926422, 0.16216906905174255, 0.3307386636734009, 0.34841805696487427, -0.21281297504901886, 0.2191166877746582, 0.10524815320968628, -0.05977252498269081, -0.02957995980978012, 0.06644181162118912, 0.30236750841140747, -0.13329321146011353, -0.03511220961809158, -0.261773020029068, -0.21839246153831482, 0.3104339838027954, -0.11290115118026733, -0.18230102956295013, -0.203881174325943, 0.27409645915031433, 0.8543420433998108, 0.04273967817425728, 0.35320746898651123, -0.11819033324718475, 0.02234269678592682, 0.8004882335662842, 0.024684809148311615, -0.05778409540653229, 0.12181109189987183, 0.2701416313648224, -0.004756718873977661, 0.2607373893260956, 0.14047358930110931, 0.2903617024421692, 0.10609082877635956, -0.04230191186070442, 0.18182113766670227, -0.06795329600572586, -0.23497535288333893, 0.004693940281867981, -0.22861312329769135, -0.22008094191551208, 0.12153039127588272, -0.007105924654752016, -0.07429194450378418, -0.43949398398399353, 0.262912780046463, 0.12517568469047546, 0.04739390313625336, 0.12511879205703735, -0.07485739886760712, -0.0966535285115242, -0.2446463406085968, -0.13091608881950378, -0.19908487796783447, -0.581291139125824, -0.08820381760597229, 0.35185617208480835, -0.45624446868896484, -0.1693791151046753, 0.5226975083351135, 0.2692570090293884, 0.3222956657409668, -0.1963212639093399, -0.14991123974323273, 0.056625619530677795, 0.010421564802527428, -0.2592177987098694, 0.1605597883462906, 0.1027444452047348, 0.08817390352487564, 0.20315493643283844, -0.2667384445667267, 0.14146216213703156, -0.08518155664205551, -0.5867222547531128, -0.05996357649564743, -0.1819128692150116, 0.07431617379188538, -0.12869560718536377, 0.07003718614578247, -0.0961931049823761, -0.26327982544898987, -0.07062181085348129, 0.16362006962299347, -0.14255540072917938, 0.10657383501529694, -0.20972926914691925, 0.1385004222393036, -0.1909410059452057, -0.35452383756637573, -0.12749439477920532, -0.3105663061141968, 0.12650851905345917, -0.17049343883991241, 0.06047705560922623, -0.13596616685390472, 0.24509161710739136, 0.14535576105117798, -0.20366433262825012, -0.31548011302948, -0.15308666229248047, -0.33386269211769104, 0.5552875399589539, -0.11427997797727585, -0.24695302546024323, 0.2908734381198883, -0.21069440245628357, 0.5479379892349243, -0.2501900792121887, 0.08396469056606293, -0.32285335659980774, -0.2644513249397278, 0.11633828282356262, 0.06665296852588654, -0.17028295993804932, 0.6230896711349487, -0.2619720697402954, -0.025006037205457687, -0.11149973422288895, -0.13481877744197845, 0.0488201342523098, 0.052473749965429306, 0.3127051889896393, -0.14355912804603577, 0.3238469660282135, 0.23677599430084229, 0.36174720525741577, 0.1674189269542694, 0.30877774953842163, 0.16279079020023346, 0.4085491895675659, 0.5454732179641724, 0.030738186091184616, -0.27622371912002563, 0.25498345494270325, 0.0652453601360321, -0.12835031747817993, 0.06681708246469498, -0.23422184586524963, 0.3391333818435669, -0.02061198651790619, 0.14998100697994232, -0.053908806294202805, 0.012030422687530518, 0.2542980909347534, -0.2669597268104553, 0.08254926651716232, 0.19595712423324585, -0.21020379662513733, -0.10291755199432373, 0.03239782154560089, 0.1260107457637787, 0.2604890763759613, -0.0508124902844429, 0.10225515067577362, -0.7571092844009399, -0.29282739758491516, -0.23473593592643738, 0.37684130668640137, 0.013724341988563538, 0.07441756874322891, 0.017506007105112076, 0.15819281339645386, -0.03858734667301178, -0.0327678881585598, 0.05967561528086662, -0.3436018228530884, -0.5192556977272034, 0.1651698350906372, -0.14196349680423737, -0.018118927255272865, -0.10115112364292145, -0.05836070328950882, -0.36657199263572693, 0.5045908689498901, 0.29712799191474915, -0.5737541317939758, 0.141593798995018, -0.11306941509246826, 0.3349326252937317, -0.08886787295341492, -0.058908216655254364, -0.4249292016029358, -0.15233463048934937, -0.5561959147453308, 0.1381496787071228, 0.28249913454055786, 0.1416851431131363, -0.21599838137626648, -0.013075308874249458, 0.2560756504535675, -0.055083513259887695, 0.14884883165359497, 0.029109153896570206, 0.01720236986875534, 0.01819186843931675, -0.40691938996315, -0.12174254655838013, -0.07232816517353058, -0.3828431963920593, 0.2869652509689331, 0.10884329676628113, -0.7708399891853333, -0.3249076008796692, -0.36405640840530396, 0.40087538957595825, 0.1957763433456421, 0.09445571154356003, -0.00036728382110595703, -0.033063407987356186, 0.02030239999294281, 0.10886771976947784, 0.5331522226333618, 0.03856116905808449, -0.03284209966659546, 0.07493694871664047, -0.02658771723508835, -0.13651025295257568, -0.10382869839668274, 0.10369567573070526, 0.43325257301330566, -0.0677858293056488, 0.020058156922459602, 0.0067964158952236176, 0.25047051906585693, 0.8682515025138855, 0.3004886209964752, -0.1933756023645401, 0.05000708997249603, -0.2250649333000183, 0.42597129940986633, -0.20689120888710022, -0.00888131931424141, -0.1392759382724762, 0.19685214757919312, 0.08112577348947525, 0.1159503310918808, 0.2608586549758911, 0.20057231187820435, -0.42476195096969604, 0.4063241183757782, -0.0530242919921875, -0.0562337227165699, 0.01938825100660324, 0.36665651202201843, -0.15525805950164795, -0.21517819166183472, 0.0725543349981308, 0.18106631934642792, 0.02817113697528839, -0.2530790865421295, -0.1343386173248291, -0.2002183347940445, 0.17395301163196564, -0.36037325859069824, -0.10460637509822845, -0.0506894588470459, -0.2840714752674103, 0.07642392814159393, -0.08246928453445435, 0.0868864506483078, -0.06065428629517555, 0.18321220576763153, 0.5538599491119385, 0.2777354419231415, 0.0049540456384420395, 0.16420800983905792, 0.26655229926109314, 0.006073211785405874, -0.06485102325677872, -0.3972058594226837, 0.11060120165348053, -0.1772029995918274, -0.19872766733169556, 0.30448147654533386, -0.3313062787055969, -0.24038949608802795, -0.35324764251708984, 0.020999882370233536, -0.012856654822826385, 0.1007593497633934, 0.014107784256339073, -0.02125266194343567, -0.09050403535366058, -0.1597444862127304, 0.20316137373447418, 0.16352298855781555, 0.11133536696434021, -0.053882353007793427, -0.09221239387989044, -0.2391713410615921, -0.1412481814622879, 0.051884524524211884, 0.050996508449316025, -0.31476065516471863, 0.17169687151908875, -0.3004499673843384, -0.12890470027923584, -0.17748889327049255, 0.006065681576728821, -0.0017257763538509607, -0.2914428412914276, -0.1699572205543518, -0.09568267315626144, -0.38574743270874023, -0.38012945652008057, 0.1694737821817398, 0.27468448877334595, 0.2092837691307068, 0.0596625991165638, -0.1673136055469513, -0.37173017859458923, 0.23062309622764587, -0.08684107661247253, 0.03156109154224396, -0.08399687707424164, 0.14122460782527924, 0.06601904332637787, 0.13571274280548096, -0.3343753516674042, 0.05440715700387955, -0.2671267092227936, -0.06293134391307831, -0.2218264639377594, 0.01842920482158661, 0.02619505487382412, 0.2014467567205429, -0.07293599098920822, 0.3047962784767151, -0.2484675645828247, -0.21350324153900146, -0.010449669323861599, 0.09088946878910065, 0.3462536931037903, 0.14847993850708008, 0.38387331366539, 0.2313891500234604, 0.04272358864545822, 0.09158618003129959, 0.014425583183765411, -0.3717993497848511, -0.09965090453624725, 0.3550872802734375, -0.06184123083949089, -0.025835789740085602, -0.025360368192195892, -0.2278580665588379, 0.22731010615825653, 0.24782441556453705, 0.11507321149110794, -0.07290787994861603, 0.0828162357211113, -0.14171761274337769, -0.10592512041330338, 0.11356079578399658, 0.03659987077116966, 0.11151115596294403, -0.09128374606370926, 0.1940285861492157, 0.21125540137290955, 0.33884182572364807, -0.061716608703136444, 0.2902284860610962, -0.385833740234375, -0.029006969183683395, 0.21384620666503906, 0.2576235830783844, -0.20341764390468597, 0.03955155238509178, -0.22726067900657654, 0.054536718875169754, 0.0012449175119400024, 0.04878582805395126, 0.3980875611305237, -0.22624829411506653, 0.8567083477973938, 0.06937998533248901, -0.04578666388988495, -0.3623422384262085, 0.20215179026126862, 0.13047420978546143, -0.4012627601623535, -0.03370406851172447, 0.32485803961753845, -0.14176353812217712, -0.009680509567260742, 0.2926812171936035, 0.08022335916757584, 0.22377517819404602, 0.10487624257802963, 0.2380584329366684, -0.17061775922775269, -0.003501610830426216, 0.06839825958013535, 0.27270805835723877, -0.12151090800762177, -0.040620021522045135, 0.1277346909046173, 0.015878833830356598, -0.11874676495790482, -0.01409962773323059, -0.2794102728366852, 0.013082241639494896, -0.1600387990474701, 0.4092564284801483, 0.18051737546920776, 0.022987738251686096, -0.21366427838802338, 0.17407649755477905, 0.21442784368991852, 0.27780768275260925, 0.0713852196931839, 0.027045007795095444, -0.6121063232421875, -0.17429465055465698, 0.17962199449539185, -0.006782352924346924, -0.022707171738147736, -0.12345902621746063, 0.198937326669693, 0.2984340190887451, 0.06932775676250458, 0.22160197794437408, 0.4935915768146515, 0.11925648152828217, 0.14632561802864075, 0.16971208155155182, 0.33312660455703735, -0.3843343257904053, 0.0019790977239608765, 0.08801454305648804, 0.4271247386932373, 0.38725805282592773, 0.44776618480682373, 0.1992197483778, 0.1327245831489563, -0.2303897887468338, -0.09282486140727997, -0.10850925743579865, -0.22262805700302124, -0.2488122135400772, 0.08585770428180695, 0.2775360345840454, 0.16330698132514954, -0.374836266040802, 0.07489509135484695, -0.4630705714225769, 0.0873597040772438, -0.05702050402760506, 0.0429408885538578, -0.06066776439547539, -0.46471476554870605, 0.10176364332437515, -0.2250787913799286, 0.27120333909988403, 0.11642695218324661, -0.2756930887699127, -0.2750883400440216, -0.48725634813308716, -0.7550038695335388, 0.15180690586566925, -0.07576149702072144, 0.1764809787273407, -0.09841617941856384, 0.08506466448307037, 0.061275139451026917, 0.19011232256889343, -0.34127306938171387, 0.1282089352607727, -0.054488956928253174, -0.3919767141342163, -0.47877568006515503, 0.3939952552318573, 0.3492403030395508, 0.17091920971870422, 0.06530103832483292, -0.07928646355867386, 0.46143341064453125, 0.3466891050338745, 0.0751219093799591, 0.25059974193573, -0.19988372921943665, 0.22327151894569397, 0.5035459995269775, 0.30574914813041687, 0.5004265308380127, 0.2939327359199524, -0.10551051795482635, 0.07388760149478912, -0.09800881147384644, 0.24847383797168732, -0.33025532960891724, 0.37553301453590393, 0.09136133641004562, 0.3003952205181122, -0.1403266191482544, 0.2606686055660248, -0.10998592525720596, 0.34882980585098267, -0.07840529084205627, -0.33712682127952576, -0.12087622284889221, -0.016223004087805748, 0.29212334752082825, 0.19992367923259735, 0.13425187766551971, 0.2629671096801758, 0.04564785957336426, -0.0007317252457141876, -0.24609537422657013, -0.058202341198921204, 0.1450386643409729, 0.32950279116630554, -0.2929040193557739, -0.0435066893696785, 0.2560083270072937, 0.1918383240699768, -0.16836762428283691, -0.2430635392665863, -0.09663131833076477, 0.2876073122024536, 0.23200073838233948, -0.040179312229156494, 0.19687336683273315, 0.17705704271793365, 0.12793651223182678, -0.10726834833621979, 0.09133903682231903, 0.0284444447606802, -0.03799184784293175, 0.3053986728191376, -0.227919340133667 ]
https://github.com/huggingface/datasets/pull/2019
Replace print with logging in dataset scripts
@lhoestq Maybe a script or even a test in `test_dataset_common.py` that verifies that a dataset script meets some set of quality standards (print calls and todos from the dataset script template are not present, etc.) could be added?
Replaces `print(...)` in the dataset scripts with the library logger.
38
text: Replace print with logging in dataset scripts Replaces `print(...)` in the dataset scripts with the library logger. @lhoestq Maybe a script or even a test in `test_dataset_common.py` that verifies that a dataset script meets some set of quality standards (print calls and todos from the dataset script template are not present, etc.) could be added?
[ -0.45541465282440186, 0.12985515594482422, -0.03510233759880066, -0.30390024185180664, 0.16174127161502838, 0.15929973125457764, 0.29367026686668396, 0.3266415297985077, 0.10197620093822479, 0.09763943403959274, 0.3513026833534241, 0.3519827425479889, -0.15252727270126343, 0.2223021537065506, -0.02522500976920128, 0.168226957321167, 0.045221950858831406, 0.28184574842453003, -0.19380763173103333, -0.04416186362504959, -0.1836860030889511, 0.004044029861688614, 0.018579773604869843, 0.10644494742155075, -0.06375497579574585, -0.08937855809926987, 0.3686419427394867, -0.05335841327905655, 0.060828469693660736, -0.5845170617103577, 0.08861621469259262, 0.41761285066604614, -0.08844964951276779, 0.0667402520775795, -0.00010505877435207367, -0.0437634140253067, 0.3319249153137207, 0.2211686223745346, -0.2706905007362366, -0.0025692731142044067, -0.3621588945388794, -0.41270726919174194, 0.274045467376709, -0.2463872730731964, 0.10518375784158707, -0.1476723551750183, 0.2206706553697586, -0.34104111790657043, 0.10970307886600494, 0.298856258392334, 0.24795305728912354, 0.1970495581626892, -0.5648170113563538, -0.019846223294734955, 0.06871594488620758, 0.39172422885894775, -0.03857278451323509, 0.19105222821235657, 0.3814143240451813, -0.13606733083724976, -0.14221036434173584, 0.38018956780433655, -0.1417890340089798, -0.10354778170585632, 0.2757580578327179, -0.086953304708004, 0.013159405440092087, -0.11954502761363983, 0.014759570360183716, 0.43439170718193054, 0.4753146469593048, -0.7643643617630005, -0.15622159838676453, -0.16799825429916382, 0.003419275162741542, -0.19427096843719482, 0.00038883835077285767, -0.045562878251075745, -0.1355404555797577, 0.1150352954864502, -0.260873407125473, -0.3832639157772064, -0.006597414612770081, -0.3528238534927368, 0.1666034609079361, -0.054469868540763855, 0.17258259654045105, -0.04951797425746918, -0.27028313279151917, 0.26411938667297363, 0.1384018510580063, 0.15445059537887573, -0.19508764147758484, -0.29945534467697144, -0.20823906362056732, -0.29028594493865967, 0.20954647660255432, 0.15785923600196838, 0.31555768847465515, 0.13044008612632751, 0.07819197326898575, 0.18996858596801758, 0.017867982387542725, 0.15869256854057312, 0.046210020780563354, -0.15130111575126648, 0.21790823340415955, 0.3389122486114502, 0.18354980647563934, 0.12807214260101318, -0.021300867199897766, -0.05896858870983124, 0.4397960305213928, -0.3303556442260742, 0.5701841115951538, 0.04849172383546829, 0.6070205569267273, -0.24131295084953308, -0.34167832136154175, 0.14502669870853424, 0.19513645768165588, -0.20515812933444977, -0.13852661848068237, 0.22662892937660217, 0.17759795486927032, 0.07400742918252945, 0.2448512464761734, 0.058419808745384216, -0.06628207117319107, -0.050928086042404175, -0.16274374723434448, 0.13027097284793854, 0.019351135939359665, 0.05270522087812424, -0.13067536056041718, 0.07128649950027466, 0.06529784202575684, 0.2517969310283661, 0.03903599828481674, 0.04048765450716019, 0.23400646448135376, 0.10280078649520874, 0.0592227466404438, 0.07786059379577637, -0.349795937538147, -0.08523719757795334, 0.19117584824562073, 0.04031280428171158, -0.26723235845565796, 0.12957066297531128, 0.11504067480564117, -0.23794232308864594, -0.18556606769561768, 0.27585357427597046, -0.00476624071598053, -0.10070016980171204, 0.2213146835565567, -0.06282149255275726, -0.13665169477462769, -0.2639147639274597, 0.42236506938934326, -0.2170725166797638, 0.05543223395943642, -0.03431401401758194, 0.056830935180187225, 0.5772641897201538, -0.38819804787635803, -0.1156192421913147, -0.2573491334915161, -0.2726863920688629, 0.13557098805904388, 0.15365596115589142, -0.1360287368297577, 0.2908138036727905, -0.1703505665063858, -0.22273240983486176, 0.4028685688972473, -0.5284490585327148, 0.017835907638072968, 0.2193959802389145, -0.08160575479269028, 0.1485966145992279, 0.35799992084503174, 0.2902570366859436, 0.2590508759021759, -0.2423872947692871, -0.15893375873565674, -0.1880718320608139, -0.09311976283788681, -0.06168496608734131, -0.2089587152004242, -0.007910596206784248, 0.17404401302337646, 0.1176719218492508, 0.014869872480630875, -0.04170282930135727, -0.09629444032907486, 0.035817358642816544, 0.10239940881729126, -0.040899742394685745, -0.2277863472700119, 0.0029657725244760513, 0.40409624576568604, -0.13926638662815094, -0.04867766425013542, -0.003814350813627243, -0.07844335585832596, -0.011611081659793854, -0.16493257880210876, 0.02487027272582054, -0.010025165975093842, -0.5279086828231812, -0.1457526981830597, 0.16699934005737305, -0.07166066765785217, -0.06975677609443665, 0.14144644141197205, 0.04648437350988388, -0.15627379715442657, 0.22871263325214386, -0.24988050758838654, 0.08331500738859177, -0.5268531441688538, 0.10642325133085251, -0.2486194521188736, -0.2919192612171173, 0.018991921097040176, 0.16300475597381592, 0.08703385293483734, 0.1987057626247406, -0.21299120783805847, 0.10324543714523315, 0.10557673126459122, 0.590366005897522, -0.16064339876174927, 0.4594419598579407, -0.0778658464550972, 0.24633464217185974, -0.07039137929677963, -0.23138833045959473, 0.07391943037509918, 0.1682819426059723, -0.15996113419532776, 0.1140563115477562, -0.30068719387054443, 0.1448998600244522, 0.027852065861225128, -0.12396318465471268, 0.024883076548576355, -0.07789194583892822, -0.1889089196920395, -0.21443615853786469, -0.2793865501880646, -0.19107720255851746, 0.0905427485704422, -0.025209810584783554, 0.2783426344394684, 0.10423241555690765, -0.331073522567749, 0.07766538858413696, 0.5333612561225891, -0.1660609245300293, 0.2925024926662445, 0.1670200675725937, 0.06622692197561264, 0.007750649005174637, 0.2170369029045105, 0.15994077920913696, 0.20694619417190552, 0.28708311915397644, -0.1371774673461914, 0.23887109756469727, -0.08487565815448761, -0.15138141810894012, 0.2457713484764099, -0.09564904868602753, -0.35686832666397095, 0.17218175530433655, -0.17572520673274994, 0.0512881763279438, -0.18868184089660645, -0.13224945962429047, -0.21801429986953735, 0.05037045478820801, -0.28087490797042847, -0.03162115067243576, -0.17201459407806396, 0.030854158103466034, -0.3511672616004944, 0.32464298605918884, 0.004116682335734367, -0.48210975527763367, 0.5150575637817383, -0.13207179307937622, -0.18016988039016724, 0.3759010136127472, -0.1936526596546173, 0.3395262062549591, 0.026123156771063805, -0.19249731302261353, -0.29464149475097656, -0.1975754052400589, -0.009558767080307007, 0.1119164377450943, 0.003601387143135071, 0.1575937718153, 0.5657511353492737, -0.33444979786872864, -0.06533586233854294, -0.5517054200172424, -0.11331823468208313, 0.029106687754392624, -0.03910557180643082, 0.07997510582208633, 0.4976387917995453, 0.18847936391830444, 0.20385174453258514, 0.03201920539140701, -0.1516418755054474, -0.1072714775800705, -0.052619852125644684, -0.03151779994368553, -0.09736454486846924, -0.02029390074312687, -0.09210242331027985, -0.4722285568714142, -0.2374354749917984, -0.41603243350982666, -0.021381184458732605, -0.1883014738559723, 0.14589227735996246, -0.061596035957336426, 0.01506913360208273, 0.04897807165980339, -0.21736976504325867, 0.21768517792224884, 0.057660263031721115, -0.21090130507946014, -0.03170811012387276, 0.042880307883024216, 0.14159764349460602, 0.0805947482585907, 0.12675537168979645, 0.03122565895318985, -0.1794367879629135, -0.6063534617424011, -0.2877592444419861, -0.15458033978939056, 0.11052268743515015, -0.062269531190395355, -0.10177603363990784, 0.22943319380283356, 0.38615846633911133, -0.21578232944011688, -0.01667412370443344, -0.13788272440433502, -0.05768313258886337, -0.47729411721229553, -0.0069404467940330505, 0.1374022364616394, 0.4869915246963501, -0.16921737790107727, 0.17693424224853516, 0.06923343241214752, -0.22921697795391083, -0.10624361038208008, -0.3097015917301178, 0.6987321972846985, 0.21622449159622192, -0.14611123502254486, 0.05023757740855217, 0.3327254056930542, -0.16409003734588623, 0.1357039511203766, -0.33056190609931946, 0.2737208902835846, 0.26506906747817993, -0.12661464512348175, -0.1237393170595169, -0.3835166096687317, 0.12680336833000183, -0.485048770904541, 0.1762353479862213, -0.07524281740188599, 0.22559326887130737, 0.13539107143878937, 0.02794358879327774, 0.2506980299949646, 0.323358416557312, 0.41561394929885864, -0.1952579915523529, -0.3286120593547821, -0.20578403770923615, -0.3745691776275635, 0.20454591512680054, -0.15549775958061218, 0.17550581693649292, -0.3221281170845032, -0.2315322756767273, -0.07382899522781372, 0.15541087090969086, 0.4029145836830139, -0.4819074273109436, -0.06491152197122574, 0.0732288658618927, 0.14017251133918762, 0.017239613458514214, -0.020994732156395912, -0.17216536402702332, 0.2686179578304291, 0.02138899266719818, 0.12306774407625198, -0.3240739703178406, -0.12045598030090332, 0.249582901597023, 0.046155769377946854, -0.19930912554264069, -0.0968785360455513, -0.1532691866159439, -0.17216184735298157, -0.26056885719299316, 0.047669071704149246, -0.0984991192817688, -0.2812005579471588, -0.3320521116256714, -0.026873942464590073, 0.12302112579345703, 0.10913486033678055, 0.507879376411438, 0.17687727510929108, 0.11780953407287598, -0.23584869503974915, -0.03847244754433632, -0.21534496545791626, 0.1812969297170639, 0.24294154345989227, 0.28768402338027954, -0.17611064016819, -0.26105815172195435, -0.1821410357952118, 0.10120091587305069, 0.28976473212242126, 0.21027353405952454, 0.028240758925676346, 0.22863849997520447, 0.040875278413295746, 0.0352335162460804, -0.0655818060040474, -0.17166942358016968, 0.11766310036182404, 0.11595363914966583, -0.6655774116516113, -0.10502064973115921, 0.2952593266963959, 0.34607142210006714, -0.09580441564321518, 0.046307001262903214, -0.06204695999622345, -0.3639586865901947, 0.1591901332139969, 0.15221086144447327, 0.7885439395904541, -0.09421959519386292, 0.18245035409927368, -0.006029359996318817, -0.21533827483654022, 0.5083526372909546, 0.029992416501045227, -0.09999996423721313, -0.42388978600502014, -0.274353563785553, -0.06969403475522995, -0.16767825186252594, 0.2971627414226532, 0.0036036334931850433, -0.5356635451316833, 0.13726477324962616, -0.2901579737663269, 0.06981231272220612, -0.0293931532651186, 0.25801345705986023, -0.3154025077819824, 0.0035077687352895737, -0.11630237102508545, 0.19962161779403687, 0.06923098862171173, -0.1350269764661789, -0.12823811173439026, -0.07966375350952148, 0.36473947763442993, -0.10107854008674622, -0.25261908769607544, -0.2535972595214844, 0.16821818053722382, -0.33079057931900024, 0.3169386088848114, -0.14124566316604614, 0.2679811716079712, 0.27215391397476196, 0.2895755171775818, 0.3594832718372345, -0.08846773207187653, 0.11678038537502289, -0.09905146807432175, 0.30398932099342346, 0.34506234526634216, 0.21441955864429474, 0.37857747077941895, 0.2010674774646759, -0.12348009645938873, 0.42741233110427856, -0.06246200576424599, -0.31030917167663574, -0.34436172246932983, -0.15032218396663666, 0.04896869137883186, -0.6500115990638733, -0.09340307116508484, -0.23645246028900146, -0.1887819617986679, -0.1149357259273529, 0.19760672748088837, 0.0881815254688263, 0.0653650239109993, 0.4990665316581726, -0.011523079127073288, -0.32970529794692993, -0.10796593129634857, -0.1570284068584442, -0.08211501687765121, 0.09900480508804321, 0.3561426103115082, -0.018514297902584076, -0.07929551601409912, -0.3763970732688904, -0.011265300214290619, 0.5327447652816772, -0.14938919246196747, 0.14553821086883545, 0.02998470515012741, 0.06074650585651398, 0.16905812919139862, 0.06028997153043747, 0.05674925446510315, 0.09780250489711761, -0.2549414038658142, -0.20699995756149292, -0.2251293808221817, 0.24795182049274445, 0.46917688846588135, 0.44799238443374634, -0.10079643130302429, 0.013112125918269157, -0.1765749603509903, 0.055819518864154816, -0.41104018688201904, -0.31428205966949463, -0.2656242549419403, 0.19313105940818787, 0.1916155219078064, 0.3381277620792389, -0.05903499945998192, -0.031239118427038193, 0.23339757323265076, 0.029411615803837776, -0.020690977573394775, -0.2520194351673126, -0.050508055835962296, 0.12262305617332458, -0.3202844262123108, 0.20702946186065674, 0.0787249431014061, 0.09386797249317169, -0.06292304396629333, -0.04715191200375557, 0.06872357428073883, 0.09799935668706894, -0.2327171117067337, 0.27884426712989807, 0.011027563363313675, 0.0029806047677993774, -0.15837515890598297, -0.29454734921455383, -0.15812146663665771, 0.16407041251659393, -0.24569864571094513, 0.0468938909471035, -0.11357280611991882, -0.09897161275148392, 0.245439350605011, 0.20371031761169434, 0.5196537375450134, 0.23888841271400452, 0.20699560642242432, 0.2493419200181961, 0.011342432349920273, 0.16837142407894135, 0.4861004054546356, 0.12066571414470673, -0.44383805990219116, -0.0991865023970604, -0.04592514410614967, 0.26921647787094116, -0.26881763339042664, -0.043790873140096664, 0.0022600628435611725, -0.2627773582935333, 0.13604798913002014, 0.2643144726753235, -0.019500304013490677, -0.08216811716556549, 0.4671984314918518, 0.012494288384914398, 0.33490267395973206, -0.5894894003868103, 0.14603844285011292, 0.2022978663444519, -0.2208557277917862, -0.14317169785499573, 0.33174774050712585, 0.19241243600845337, 0.2438790500164032, 0.111182302236557, 0.07448068261146545, 0.408066987991333, 0.16655081510543823, 0.13667549192905426, 0.010310299694538116, -0.1585281789302826, 0.4503413438796997, 0.25866901874542236, 0.019496142864227295, 0.11044810712337494, 0.24839866161346436, -0.07612784951925278, -0.14375044405460358, 0.14464029669761658, 0.00859522633254528, 0.17499332129955292, -0.14382007718086243, 0.06806692481040955, -0.00890297070145607, 0.07142018526792526, 0.018857017159461975, -0.202594593167305, 0.15835890173912048, -0.12444353103637695, 0.020195573568344116, 0.17535483837127686, -0.15644441545009613, -0.05872096121311188, 0.3317519724369049, -0.2872019410133362, 0.3002389371395111, -0.21978142857551575, -0.044322624802589417, -0.019663944840431213, 0.03909299895167351, 0.4335886538028717, 0.6375276446342468, 0.48608845472335815, 0.32234060764312744, 0.18682928383350372, 0.16277968883514404, -0.3580338954925537, 0.07563625276088715, 0.043593570590019226, 0.19731804728507996, -0.25747808814048767, -0.0759541392326355, 0.0810222327709198, 0.2636798322200775, -0.08269433677196503, 0.33397260308265686, -0.22753934562206268, -0.14132879674434662, -0.30324095487594604, 0.5120724439620972, 0.2698175013065338, -0.20450082421302795, -0.45060378313064575, 0.12512873113155365, -0.45050621032714844, -0.4711795151233673, 0.4898976981639862, 0.23404744267463684, 0.12428662925958633, -0.41834700107574463, 0.13216599822044373, 0.17203199863433838, 0.054378315806388855, 0.3643430471420288, 0.02589689940214157, -0.03005022183060646, 0.08400282263755798, -0.43306952714920044, 0.11421364545822144, -0.025718774646520615, -0.4131132662296295, 0.2845365107059479, -0.2618277370929718, -0.005303807556629181, 0.11716180294752121, 0.2710721492767334, -0.04796721786260605, -0.3714018166065216, -0.22585749626159668, -0.08494788408279419, -0.1481524407863617, -0.08091729879379272, -0.1110919862985611, -0.09033284336328506, -0.12068549543619156, 0.3450723886489868, -0.22300244867801666, 0.16846990585327148, -0.12607423961162567, 0.043864235281944275, 0.24865058064460754, 0.050702765583992004, 0.35610345005989075, 0.2213541865348816, 0.04883382469415665, -0.17403408885002136, -0.11295648664236069, 0.18777401745319366, -0.07489482313394547, -0.3520267605781555, 0.3272685110569, 0.053017131984233856, 0.045845672488212585, 0.05487331748008728, -0.3535629212856293, -0.16118822991847992, 0.17831602692604065, -0.008836869150400162, -0.37193161249160767, -0.24919971823692322, -0.05766171216964722, 0.05360190570354462, -0.03268670290708542, 0.024677608162164688, 0.12676078081130981, 0.08429862558841705, 0.33239030838012695, -0.4293097257614136, -0.3298073709011078, 0.3071541488170624, -0.19314876198768616, 0.0043585412204265594, -0.12143078446388245, 0.3868125081062317, -0.25209614634513855, 0.038143862038850784, -0.4616059958934784, -0.030864670872688293, 0.3085426390171051, 0.08209508657455444, 0.33587178587913513, 0.28702008724212646, 0.08737142384052277, 0.30718111991882324, 0.003120534121990204, 0.3070462942123413, -0.024155277758836746, 0.13017766177654266, -0.06311272829771042, -0.20424850285053253 ]
https://github.com/huggingface/datasets/pull/2018
Md gender card update
Ahah that's what I wanted to say @lhoestq, thanks for fixing. Not used to review the Datasets side ;-)
I updated the descriptions of the datasets as they appear in the HF repo and the descriptions of the source datasets according to what I could find from the paper and the references. I'm still a little unclear about some of the fields of the different configs, and there was little info on the word list and name list. I'll contact the authors to see if they have any additional information or suggested changes.
19
text: Md gender card update I updated the descriptions of the datasets as they appear in the HF repo and the descriptions of the source datasets according to what I could find from the paper and the references. I'm still a little unclear about some of the fields of the different configs, and there was little info on the word list and name list. I'll contact the authors to see if they have any additional information or suggested changes. Ahah that's what I wanted to say @lhoestq, thanks for fixing. Not used to review the Datasets side ;-)
[ 0.14396308362483978, -0.1150418370962143, -0.2105400413274765, -0.11087274551391602, 0.18091394007205963, 0.04389476776123047, 0.17248903214931488, 0.09472645819187164, -0.14662645757198334, 0.00964885950088501, -0.11252013593912125, -0.06365066021680832, 0.10916212946176529, 0.23934955894947052, 0.10405305027961731, -0.0195615291595459, 0.0069149211049079895, 0.2351936399936676, -0.354934424161911, -0.3064996004104614, -0.08663763105869293, 0.08061724901199341, -0.061896923929452896, 0.260023295879364, 0.23268866539001465, -0.13705207407474518, -0.12316780537366867, 0.4201762080192566, -0.4905714988708496, -0.1781184822320938, 0.10142628848552704, 0.45932602882385254, -0.34471243619918823, 0.05853322148323059, -0.00010458097676746547, -0.3649965524673462, 0.07145245373249054, -0.028621938079595566, 0.05134352669119835, -0.04312214255332947, -0.2659217119216919, -0.3599238097667694, -0.014863962307572365, -0.24181169271469116, 0.3459319770336151, -0.3608688712120056, 0.084683358669281, 0.034100182354450226, -0.15317074954509735, -0.15477147698402405, 0.30412837862968445, -0.041263043880462646, -0.22935113310813904, -0.15092824399471283, 0.36141806840896606, 0.46194058656692505, 0.0256264116615057, -0.0877266526222229, 0.4613417983055115, -0.10507380962371826, -0.13295131921768188, 0.3283599317073822, 0.06140470504760742, -0.10096120834350586, 0.33299294114112854, -0.2428426295518875, 0.33741897344589233, -0.2863418161869049, 0.18427816033363342, 0.4448806643486023, 0.5423969626426697, -0.11667031794786453, -0.050873152911663055, -0.029651757329702377, -0.20532990992069244, 0.05973447114229202, 0.22538375854492188, 0.18083658814430237, -0.16209368407726288, -0.35006409883499146, -0.27104637026786804, -0.18836842477321625, -0.10690367221832275, -0.1878650039434433, -0.13526833057403564, 0.35116106271743774, -0.011685564182698727, -0.08049880713224411, -0.11552497744560242, -0.21473124623298645, 0.159651979804039, 0.03416481241583824, -0.13292062282562256, -0.018340472131967545, -0.02468179538846016, -0.17064014077186584, -0.189872145652771, -0.1994589865207672, 0.16400441527366638, -0.035936735570430756, -0.056079089641571045, 0.33020490407943726, 0.05172652006149292, -0.002688072621822357, 0.03264423459768295, -0.11782819032669067, 0.15771910548210144, 0.19988273084163666, -0.18649587035179138, 0.030999723821878433, 0.09013538062572479, 0.07544079422950745, 0.04543641582131386, -0.1394488513469696, -0.38390329480171204, -0.06882105022668839, -0.44283294677734375, -0.3102337419986725, -0.02177523449063301, 0.34639081358909607, 0.17172446846961975, -0.09806431829929352, -0.051807794719934464, 0.5036882758140564, -0.022481895983219147, 0.192739337682724, 0.18197710812091827, -0.11765751242637634, 0.03558856248855591, 0.04877737909555435, -0.24049563705921173, 0.1682746857404709, -0.2831546366214752, -0.16664205491542816, 0.050720762461423874, 0.30470627546310425, 0.2745508551597595, -0.00046927761286497116, 0.2540404796600342, 0.2482045292854309, -0.15372982621192932, 0.02827475592494011, 0.6052672863006592, 0.22698552906513214, 0.02451029047369957, 0.2831409275531769, 0.040590547025203705, 0.18920676410198212, 0.009038463234901428, -0.021187037229537964, -0.05467873811721802, 0.02387906238436699, -0.015949437394738197, 0.31545692682266235, -0.06171579658985138, -0.08096516132354736, 0.23617872595787048, 0.3691604733467102, -0.0530487522482872, -0.12935031950473785, 0.28648972511291504, -0.020719211548566818, -0.317564994096756, -0.19704669713974, 0.16682502627372742, 0.08682382106781006, -0.25265994668006897, -0.005469329655170441, 0.29101958870887756, 0.10613973438739777, 0.2094036340713501, -0.07342751324176788, -0.11413887143135071, 0.13060413300991058, -0.0008074827492237091, 0.2347872406244278, 0.4601632356643677, -0.09257194399833679, -0.09261050820350647, 0.010373021475970745, 0.09895162284374237, -0.08931101858615875, -0.03017725795507431, -0.24300463497638702, 0.40646350383758545, -0.14791515469551086, 0.14401468634605408, -0.10106667876243591, -0.09973351657390594, 0.04180055856704712, -0.24135269224643707, -0.3656366765499115, -0.2190316766500473, 0.010446913540363312, 0.13117046654224396, -0.18622013926506042, 0.06964640319347382, -0.03949284180998802, 0.6108483672142029, -0.20305117964744568, 0.001101235393434763, 0.16486990451812744, 0.2369583249092102, 0.28742945194244385, 0.1870437115430832, 0.1641276478767395, 0.028431154787540436, -0.13719360530376434, -0.21280339360237122, 0.16917017102241516, 0.11313031613826752, 0.04950554668903351, -0.250522643327713, -0.21104389429092407, 0.035471320152282715, 0.017086554318666458, 0.3498052954673767, 0.03658629581332207, -0.2243431955575943, -0.16896522045135498, -0.03021092340350151, 0.2005704641342163, -0.4840128719806671, -0.06037161499261856, 0.0021348726004362106, 0.21487604081630707, -0.14853590726852417, 0.05073445662856102, 0.09428194165229797, 0.1910332292318344, -0.03491342067718506, 0.12896844744682312, 0.027709435671567917, 0.13686177134513855, -0.231954425573349, 0.14454792439937592, 0.46934470534324646, 0.45910024642944336, 0.03199302405118942, -0.2699549198150635, 0.21725860238075256, -0.26348552107810974, 0.19015930593013763, 0.03166057914495468, -0.253298282623291, 0.1895875632762909, -0.3150656521320343, -0.09945187717676163, 0.19011834263801575, 0.06712205708026886, 0.1661514937877655, 0.05757846310734749, 0.03901486098766327, -0.27912235260009766, 0.2156819999217987, 0.30180662870407104, -0.055848270654678345, -0.20593568682670593, -0.41738593578338623, 0.22799330949783325, 0.6390173435211182, 0.12569448351860046, -0.115805484354496, -0.0605849027633667, -0.19254839420318604, -0.16754573583602905, -0.12441113591194153, 0.36577773094177246, 0.10404220968484879, 0.3455319106578827, 0.03249629959464073, 0.11134397238492966, 0.06660279631614685, -0.10157494246959686, 0.30415722727775574, 0.21402797102928162, -0.14941532909870148, 0.2796477973461151, -0.04536475986242294, 0.2527753412723541, -0.41324710845947266, 0.19163233041763306, 0.19245977699756622, 0.13199448585510254, -0.24852702021598816, 0.004531404003500938, -0.006435288116335869, -0.29220548272132874, 0.06208581104874611, -0.15195633471012115, 0.02683747000992298, -0.43986138701438904, 0.025505486875772476, -0.11189776659011841, -0.1362147182226181, 0.13134023547172546, -0.020228777080774307, 0.3133074641227722, -0.11762963235378265, 0.1757989227771759, -0.12344954907894135, 0.23479360342025757, 0.10634825378656387, 0.2496146261692047, 0.2458828240633011, 0.18239261209964752, 0.43440642952919006, -0.3104712963104248, 0.15350712835788727, -0.24047833681106567, -0.6681854128837585, 0.10512819141149521, -0.0757349506020546, -0.12818698585033417, 0.4710274636745453, 0.06794298440217972, -0.18044829368591309, -0.13300558924674988, 0.09998030215501785, -0.31647711992263794, -0.1165691614151001, -0.05864144116640091, -0.21770721673965454, -0.14837752282619476, -0.24014632403850555, -0.4066595733165741, -0.12157922238111496, -0.019276883453130722, -0.08675476908683777, -0.21256664395332336, 0.37739819288253784, 0.107433021068573, -0.14273306727409363, -0.12741981446743011, -0.3850891888141632, 0.028881745412945747, -0.311551034450531, -0.2798025906085968, 0.22795526683330536, -0.1861611008644104, -0.44767338037490845, 0.033517006784677505, 0.24580298364162445, 0.17452839016914368, -0.09248001128435135, -0.25646263360977173, -0.03225121647119522, -0.02214588038623333, -0.21729029715061188, 0.003883976489305496, 0.05589865520596504, 0.405744343996048, -0.1301717609167099, -0.3112914562225342, -0.35750895738601685, -0.09260547161102295, 0.05394793301820755, 0.13857096433639526, 0.18971219658851624, -0.403011679649353, -0.08879807591438293, 0.02395659312605858, -0.008625969290733337, -0.01466280035674572, 0.1775139570236206, 0.11115716397762299, 0.14672653377056122, 0.10667425394058228, 0.2042895406484604, -0.3086593747138977, 0.08061132580041885, -0.18723520636558533, 0.27251577377319336, 0.45208603143692017, -0.2285454273223877, -0.2693313956260681, -0.10879035294055939, 0.09384608268737793, -0.2864223122596741, -0.1550096720457077, 0.313264936208725, -0.18581901490688324, -0.04609055817127228, 0.21385517716407776, -0.2395937740802765, -0.35644108057022095, -0.09944382309913635, -0.05444801226258278, 0.3833913207054138, -0.28291594982147217, -0.08385884016752243, -0.16774103045463562, -0.002170388586819172, -0.20055586099624634, -0.014557570219039917, -0.027775617316365242, -0.02073366940021515, -0.19209137558937073, 0.04674059897661209, 0.030198775231838226, -0.23046134412288666, 0.20096728205680847, -0.31814274191856384, 0.14613191783428192, -0.02647978812456131, 0.07763838768005371, -0.09916608780622482, 0.01835855469107628, -0.4161489009857178, -0.17033910751342773, 0.27144956588745117, 0.13543999195098877, -0.15864364802837372, -0.28592145442962646, 0.0025260671973228455, -0.3586423993110657, -0.15790270268917084, -0.14356417953968048, 0.04585268720984459, 0.1333414912223816, -0.11369630694389343, -0.10672416538000107, -0.08553232252597809, -0.10719677060842514, -0.23274487257003784, -0.22463162243366241, 0.3562697470188141, 0.25125110149383545, 0.3942253589630127, 0.35019177198410034, -0.09147592633962631, -0.11632667481899261, -0.1608605533838272, 0.3575143814086914, 0.329888254404068, 0.23749172687530518, 0.2758474349975586, -0.030973825603723526, 0.27138128876686096, 0.3737890124320984, -0.4002775549888611, 0.37314197421073914, 0.3818145990371704, 0.13487452268600464, 0.08863763511180878, -0.16991518437862396, 0.09299895167350769, -0.2993338108062744, 0.0365162268280983, 0.2732173800468445, 0.023093421012163162, -0.17343218624591827, -0.5196143388748169, 0.22025156021118164, -0.1283675730228424, -0.3100771903991699, 0.26918622851371765, 0.6624135971069336, -0.18609194457530975, -0.0037922305054962635, 0.20615285634994507, 0.977867066860199, 0.008375652134418488, 0.11091992259025574, -0.19773462414741516, -0.4530615210533142, 0.27503249049186707, -0.1731896847486496, -0.28008192777633667, -0.4200356900691986, -0.01796910911798477, -0.10508942604064941, -0.08115726709365845, 0.12266004830598831, -0.02225089818239212, -0.37147459387779236, -0.16935275495052338, 0.22485889494419098, 0.18162083625793457, 0.03507765382528305, 0.16196309030056, -0.07596222311258316, -0.21932455897331238, -0.23855867981910706, 0.26046350598335266, 0.07179184257984161, -0.35941192507743835, -0.0963539406657219, -0.15795265138149261, -0.43156787753105164, -0.10403156280517578, -0.17936109006404877, -0.04987078905105591, -0.20924964547157288, -0.29307711124420166, -0.16610705852508545, 0.012616969645023346, 0.49479809403419495, -0.1255798637866974, 0.2839646637439728, 0.13796566426753998, -0.16027431190013885, 0.21133951842784882, 0.019101612269878387, 0.16289427876472473, 0.009460877627134323, 0.02599349245429039, 0.16903156042099, -0.20712819695472717, -0.2665475308895111, -0.037167541682720184, -0.0601239912211895, 0.02868785709142685, -0.09753246605396271, -0.043996527791023254, 0.19443070888519287, -0.306064248085022, 0.08648568391799927, 0.18193969130516052, 0.015300121158361435, -0.1902811974287033, 0.23578809201717377, -0.020476698875427246, -0.15341700613498688, 0.45018014311790466, 0.3721253573894501, -0.09780001640319824, -0.03297561779618263, -0.0747273787856102, 0.0966176986694336, 0.04459013789892197, 0.3086748719215393, -0.022101065143942833, -0.27888405323028564, -0.5084291696548462, -0.0330834798514843, 0.3866780996322632, -0.4402768313884735, -0.38885238766670227, -0.22952736914157867, -0.35514479875564575, 0.30604782700538635, 0.47757086157798767, 0.15307971835136414, 0.1793697625398636, 0.03182712569832802, -0.33645978569984436, -0.23285502195358276, 0.3288305997848511, -0.4982534348964691, 0.18603165447711945, -0.008805004879832268, 0.1356435865163803, -0.07035702466964722, 0.28182756900787354, -0.49882107973098755, 0.078014075756073, -0.032664358615875244, 0.09283438324928284, -0.17231358587741852, -0.32333096861839294, 0.3210490643978119, -0.27235713601112366, 0.1597674936056137, -0.01158035546541214, -0.34903398156166077, -0.3091422915458679, -0.1495278924703598, 0.08057581633329391, -0.004246791824698448, -0.1953931301832199, 0.15738877654075623, 0.032156262546777725, -0.3037250339984894, 0.1960020512342453, 0.06183693930506706, -0.022422945126891136, 0.16200289130210876, 0.14762112498283386, 0.20236189663410187, 0.10581602156162262, -0.2371835708618164, -0.05516103655099869, 0.30662089586257935, -0.03746862709522247, -0.021891023963689804, -0.02694851905107498, -0.3289400041103363, -0.17011848092079163, 0.17301948368549347, 0.5471746921539307, 0.15127882361412048, 0.035739462822675705, 0.3057487905025482, 0.10466554015874863, 0.1757267713546753, 0.12954701483249664, 0.19527187943458557, 0.1517658829689026, 0.0375920794904232, -0.334800660610199, -0.23829379677772522, 0.3296370506286621, -0.15819768607616425, -0.04315340146422386, -0.08608722686767578, 0.08512682467699051, 0.12230247259140015, 0.09442450106143951, 0.6289028525352478, -0.230663001537323, -0.11672620475292206, 0.009971663355827332, 0.4697539508342743, -0.27073413133621216, 0.20511510968208313, 0.39352136850357056, -0.058734480291604996, 0.024462588131427765, 0.20319980382919312, 0.34682974219322205, -0.05768249183893204, 0.6006553769111633, 0.3477901816368103, 0.07050005346536636, 0.27730005979537964, 0.16646789014339447, 0.13112235069274902, 0.02542419731616974, 0.24688681960105896, 0.376994252204895, 0.1383507251739502, 0.14481940865516663, -0.060757383704185486, -0.019091695547103882, 0.2532687485218048, -0.13982127606868744, -0.04011388123035431, -0.0030991993844509125, -0.06996165961027145, -0.14118364453315735, -0.4163385033607483, -0.31165096163749695, -0.187859445810318, -0.17662851512432098, -0.015188604593276978, -0.08923064172267914, 0.42679592967033386, -0.12612082064151764, 0.015163511037826538, 0.012643353082239628, -0.07491591572761536, 0.15672555565834045, 0.2519279718399048, -0.23858261108398438, 0.10941092669963837, 0.42142724990844727, -0.08650542795658112, 0.43892955780029297, 0.323391318321228, 0.23639445006847382, 0.004548309370875359, 0.027827944606542587, -0.10586325079202652, -0.22696155309677124, -0.20581994950771332, 0.08060871064662933, 0.03464023768901825, 0.24534742534160614, -0.2016332447528839, 0.0882231593132019, 0.27945181727409363, -0.24517203867435455, -0.16589264571666718, 0.28465837240219116, 0.2349756360054016, 0.3459632098674774, -0.049626462161540985, 0.10588475316762924, 0.0412607416510582, -0.024623077362775803, 0.154078409075737, -0.3877713978290558, 0.009702000766992569, 0.37483152747154236, 0.1322537064552307, 0.25222912430763245, 0.09133749455213547, 0.16466999053955078, 0.16242699325084686, 0.41781458258628845, 0.09496316313743591, -0.284451961517334, 0.052705422043800354, -0.48125022649765015, -0.29791784286499023, 0.13055767118930817, 0.3854849338531494, -0.005985984578728676, 0.09655047208070755, 0.1918468028306961, 0.4368954598903656, -0.4974812865257263, 0.2476358562707901, 0.21457237005233765, -0.056278955191373825, 0.11231398582458496, -0.2577829957008362, 0.10888727009296417, -0.025426723062992096, 0.1978936344385147, -0.09867163002490997, 0.1579173505306244, 0.07165442407131195, 0.07867299020290375, 0.14828622341156006, -0.10472515225410461, -0.016435161232948303, 0.07640396058559418, 0.1908688098192215, -0.04288928955793381, 0.06061563640832901, 0.403362900018692, -0.28006505966186523, -0.31436723470687866, 0.16979919373989105, 0.07923077046871185, -0.2549598217010498, 0.4244764745235443, 0.2549367845058441, 0.5411509275436401, 0.10643476247787476, 0.00006298720836639404, 0.21921274065971375, -0.05063386261463165, -0.10953307896852493, -0.2166132926940918, -0.3946998119354248, 0.26804694533348083, 0.43968504667282104, -0.0371316634118557, -0.26389187574386597, 0.2614063620567322, 0.2323291003704071, 0.004491742700338364, -0.38284772634506226, -0.3285849392414093, 0.5644182562828064, 0.14952316880226135, -0.22484682500362396, -0.14379805326461792, 0.05543636903166771, -0.026445649564266205, 0.33156007528305054, -0.9337751269340515, 0.006766714155673981, 0.055583808571100235, -0.12309033423662186, -0.10210280120372772, 0.19319622218608856, -0.0703440010547638, -0.08264468610286713, -0.14751476049423218, 0.4540097713470459, 0.05062691122293472, -0.22994957864284515, -0.3246136009693146, -0.08155205845832825 ]
https://github.com/huggingface/datasets/pull/2008
Fix various typos/grammer in the docs
What do yo think of the documentation btw ? What parts would you like to see improved ?
This PR: * fixes various typos/grammer I came across while reading the docs * adds the "Install with conda" installation instructions Closes #1959
18
text: Fix various typos/grammer in the docs This PR: * fixes various typos/grammer I came across while reading the docs * adds the "Install with conda" installation instructions Closes #1959 What do yo think of the documentation btw ? What parts would you like to see improved ?
[ 0.13891193270683289, -0.22447574138641357, -0.12715457379817963, -0.004684679210186005, -0.053846269845962524, -0.07561066001653671, -0.17121312022209167, 0.02267887443304062, -0.5866135954856873, -0.1331995278596878, 0.1750442534685135, 0.10455873608589172, 0.10560018569231033, 0.10261108726263046, 0.035159531980752945, -0.13219036161899567, 0.15890751779079437, 0.1858270764350891, 0.07887730002403259, -0.08918404579162598, -0.1866430640220642, 0.13714954257011414, -0.24081724882125854, 0.01298128068447113, -0.15423612296581268, -0.07411889731884003, 0.04913134127855301, -0.06605754047632217, -0.5108979344367981, -0.36905261874198914, -0.06023218482732773, 0.18025805056095123, 0.1339392215013504, 0.2548956274986267, -0.00010518614726606756, -0.39034444093704224, 0.40836101770401, 0.2102053165435791, -0.1279088258743286, 0.5473383665084839, -0.23276472091674805, -0.12083769589662552, -0.07353589683771133, 0.038223035633563995, 0.1561473309993744, -0.08078502863645554, -0.25221556425094604, 0.11011125147342682, -0.03315459191799164, 0.2339317500591278, 0.23722511529922485, -0.07308155298233032, 0.36470937728881836, 0.010086932219564915, -0.0016007348895072937, 0.12919966876506805, -0.29191479086875916, 0.2818974256515503, 0.37089258432388306, -0.010431664995849133, 0.24274888634681702, 0.30633336305618286, -0.18437224626541138, -0.3496640622615814, 0.14728328585624695, -0.049699168652296066, 0.43900221586227417, -0.3044898808002472, -0.004439454525709152, 0.16656087338924408, 0.7647807598114014, -0.0646677315235138, -0.06333957612514496, 0.19557344913482666, -0.07300607860088348, -0.31339216232299805, 0.16783207654953003, 0.0035390621051192284, -0.13590987026691437, 0.14701521396636963, -0.0348605178296566, -0.29130157828330994, -0.355837881565094, -0.28005367517471313, -0.10562066733837128, 0.26990291476249695, 0.1050829291343689, -0.2250690460205078, 0.26446816325187683, 0.015112098306417465, 0.39077329635620117, 0.3710325360298157, -0.21291467547416687, 0.15605546534061432, 0.12167584151029587, -0.3122403919696808, 0.015623174607753754, 0.15257486701011658, 0.25347900390625, -0.1112285703420639, -0.06273271143436432, 0.07809975743293762, -0.032730832695961, 0.1032002866268158, -0.14459988474845886, 0.08420434594154358, 0.4104127287864685, 0.4646201431751251, 0.17499537765979767, 0.20294517278671265, 0.2953033745288849, 0.08020226657390594, -0.03313658758997917, -0.2181432545185089, -0.3046253025531769, -0.007627841085195541, -0.13210132718086243, -0.3481917977333069, -0.07878104597330093, 0.47950926423072815, 0.11700861901044846, -0.06814108043909073, -0.011917338706552982, 0.11344432830810547, 0.029205188155174255, 0.2604183852672577, 0.15363261103630066, -0.2872507572174072, 0.059856779873371124, -0.11644263565540314, -0.050753384828567505, 0.12260277569293976, -0.2525070905685425, 0.13431116938591003, -0.09965122491121292, 0.09660589694976807, 0.3691992163658142, -0.14241230487823486, 0.19140127301216125, -0.042400915175676346, -0.21345174312591553, 0.1595824509859085, 0.01840471476316452, 0.39495372772216797, -0.28367140889167786, -0.23880235850811005, -0.1961076855659485, 0.056649819016456604, -0.06031446158885956, 0.31764233112335205, -0.0012469589710235596, -0.3879755735397339, -0.609382152557373, 0.25978121161460876, 0.23079483211040497, -0.09630835056304932, 0.44345712661743164, -0.10761013627052307, -0.018373556435108185, -0.12297323346138, 0.43823134899139404, 0.1881808340549469, 0.15486757457256317, -0.20497572422027588, 0.1216394230723381, 0.25852900743484497, -0.2006930410861969, 0.2849581837654114, 0.26523149013519287, -0.17761185765266418, 0.19963863492012024, 0.11873172223567963, 0.04999450966715813, 0.24250102043151855, 0.05729915201663971, -0.032271046191453934, 0.27002063393592834, -0.4844413101673126, 0.18472246825695038, 0.08582698553800583, 0.22170652449131012, -0.1113348975777626, -0.027725763618946075, -0.28737908601760864, 0.14599646627902985, -0.014587926678359509, 0.12537303566932678, -0.02731369063258171, -0.06563180685043335, -0.1672585904598236, -0.518519401550293, 0.0026639048010110855, -0.2372884899377823, -0.04783656448125839, -0.05620148405432701, -0.015768475830554962, -0.1538798213005066, 0.1917506754398346, 0.47914963960647583, 0.25918489694595337, -0.18577519059181213, 0.008243352174758911, 0.33404603600502014, 0.06202837452292442, 0.04412019997835159, 0.34972432255744934, -0.006577037274837494, -0.20554465055465698, 0.14696669578552246, 0.1793069988489151, 0.25295931100845337, -0.14761583507061005, 0.014738894999027252, 0.051475487649440765, 0.18225759267807007, -0.532386839389801, 0.2436440885066986, -0.15152564644813538, -0.1453423798084259, -0.019853554666042328, -0.32805290818214417, 0.12062779068946838, -0.23557031154632568, 0.1537456512451172, 0.23262307047843933, -0.3780040740966797, -0.29814136028289795, 0.17488718032836914, -0.1776430755853653, 0.17639058828353882, 0.06009993702173233, 0.043060798197984695, 0.055361174046993256, 0.3804759383201599, 0.012358475476503372, -0.1355362832546234, 0.01807582378387451, 0.08825228363275528, 0.3739224076271057, 0.0014981739223003387, 0.07845376431941986, -0.22751227021217346, -0.09643667936325073, -0.02169889211654663, -0.2803919017314911, -0.17472918331623077, 0.06417358666658401, -0.05667722970247269, 0.16136756539344788, 0.11940493434667587, 0.020992746576666832, 0.013677652925252914, -0.2003316432237625, 0.02321983128786087, 0.07600134611129761, 0.11424003541469574, -0.011030104011297226, 0.06976177543401718, -0.20837849378585815, 0.10828417539596558, 0.18253090977668762, -0.41733497381210327, -0.3084005117416382, 0.25092244148254395, 0.20728373527526855, 0.03425237908959389, 0.10029536485671997, -0.1271807998418808, 0.03883141279220581, 0.11384233087301254, 0.2491150051355362, 0.2094048410654068, -0.14670903980731964, -0.0026290705427527428, 0.29770565032958984, -0.0157400444149971, -0.04868583381175995, 0.07706285268068314, -0.420632004737854, 0.17341801524162292, 0.07542994618415833, -0.19344164431095123, -0.20434100925922394, 0.3704335689544678, -0.09825871884822845, -0.13809171319007874, 0.1375778466463089, -0.06711389124393463, -0.1145705133676529, -0.2669481337070465, 0.0806846097111702, -0.06353211402893066, 0.24846772849559784, -0.17911307513713837, -0.039595406502485275, 0.2594810426235199, 0.0817234069108963, 0.449191153049469, -0.2684977352619171, 0.27122214436531067, -0.12552407383918762, 0.05653176084160805, -0.09382665902376175, 0.22191673517227173, 0.12222920358181, -0.18291166424751282, 0.14925110340118408, -0.3662445545196533, -0.03914475440979004, -0.12292585521936417, -0.5845997929573059, 0.06653577089309692, -0.14233838021755219, 0.03179696202278137, 0.23485787212848663, 0.3510854244232178, -0.04341315105557442, -0.3108135461807251, -0.1996016651391983, -0.02004675567150116, 0.001265333965420723, -0.3830730617046356, 0.023215923458337784, -0.5449418425559998, -0.442883163690567, -0.47197791934013367, 0.13847951591014862, -0.24150466918945312, 0.31095290184020996, -0.12237076461315155, 0.2963869869709015, 0.010822124779224396, 0.0033983569592237473, 0.12027989327907562, -0.11570309847593307, 0.183424711227417, 0.12107913196086884, -0.2790183126926422, 0.14881299436092377, -0.16990916430950165, -0.07445864379405975, 0.08635568618774414, 0.35443001985549927, 0.15095674991607666, -0.24696724116802216, -0.41585779190063477, 0.3166794180870056, 0.1598961502313614, -0.08743569999933243, -0.012097388505935669, -0.009694395586848259, 0.3874891996383667, 0.31866827607154846, -0.12050934880971909, -0.052734557539224625, -0.40978488326072693, -0.2056739330291748, -0.12397424131631851, 0.4401649832725525, -0.1741873025894165, 0.0021552927792072296, -0.2158477008342743, -0.03758583217859268, 0.007279407232999802, 0.18657942116260529, -0.12025319039821625, 0.2834043800830841, 0.3161425292491913, -0.030279070138931274, 0.09900881350040436, 0.35181277990341187, 0.01400311291217804, -0.09166349470615387, 0.17404764890670776, 0.21064496040344238, -0.46914634108543396, -0.26598870754241943, -0.11014442145824432, -0.2968476116657257, 0.019088614732027054, 0.08026264607906342, -0.137608140707016, 0.16945520043373108, -0.17871588468551636, 0.11772771924734116, 0.2278016060590744, 0.27688345313072205, 0.05204912647604942, 0.3483979105949402, 0.10818411409854889, -0.005198610946536064, -0.0500040240585804, 0.05278797075152397, -0.2167057991027832, 0.012425422668457031, -0.20344282686710358, 0.06324224174022675, -0.18435713648796082, -0.21889916062355042, 0.04923901706933975, 0.04515821114182472, 0.4123414158821106, -0.2628413438796997, -0.36923474073410034, 0.07708869874477386, 0.4668083190917969, 0.3639647364616394, -0.11478567123413086, 0.026120375841856003, 0.013367263600230217, 0.31294897198677063, 0.17269110679626465, -0.1456966996192932, 0.006572035141289234, 0.503685712814331, -0.24612237513065338, 0.062375422567129135, -0.0013519814237952232, -0.031110815703868866, -0.28625932335853577, -0.033873818814754486, 0.19206881523132324, -0.01029486209154129, -0.258944034576416, -0.09685324877500534, -0.11449109017848969, 0.4108704924583435, 0.2039814293384552, 0.045471999794244766, 0.47351309657096863, 0.1518295705318451, -0.1742170751094818, 0.20778991281986237, 0.1621243953704834, 0.13633917272090912, 0.5716238021850586, -0.1253471076488495, -0.35693085193634033, -0.06631991267204285, -0.07182508707046509, -0.38175174593925476, 0.39634665846824646, 0.24538344144821167, 0.24064481258392334, -0.1990322768688202, -0.1903756707906723, -0.0006994009017944336, 0.25124165415763855, -0.21083062887191772, 0.3609146475791931, 0.16561481356620789, -0.4875028431415558, -0.28935444355010986, 0.3080238997936249, 0.24830041825771332, -0.344044029712677, 0.2630980908870697, 0.4694875478744507, -0.06855901330709457, 0.19589722156524658, 0.346161812543869, 1.1898024082183838, 0.24135291576385498, -0.07126608490943909, -0.09019067883491516, -0.328582227230072, 0.15234597027301788, -0.4715802073478699, -0.029135536402463913, -0.22699995338916779, 0.15992286801338196, -0.11506273597478867, 0.0511309839785099, 0.2679639160633087, -0.3227267265319824, -0.6324954032897949, -0.015008142217993736, -0.28930413722991943, -0.26141157746315, 0.42401620745658875, 0.093007892370224, 0.17551080882549286, 0.038230083882808685, 0.2880606949329376, 0.11318987607955933, 0.17009395360946655, -0.031161677092313766, -0.3680478036403656, -0.1554238200187683, -0.03591211885213852, -0.197689488530159, -0.5452041625976562, -0.1253872513771057, 0.18337394297122955, -0.2720212936401367, 0.131438210606575, 0.18209831416606903, -0.06950326263904572, 0.08690060675144196, 0.5175684094429016, 0.19447332620620728, -0.292938768863678, 0.11316892504692078, 0.3408312499523163, -0.16360491514205933, 0.11598822474479675, -0.07865390181541443, -0.0382080003619194, -0.2382669746875763, -0.4925645589828491, 0.058280497789382935, -0.26229536533355713, -0.12993291020393372, -0.2504470646381378, -0.03489915281534195, 0.0990862250328064, 0.025973903015255928, 0.0832577496767044, 0.3087937533855438, -0.3141903579235077, -0.14948409795761108, 0.25735601782798767, -0.055818766355514526, -0.2591613829135895, 0.3185625970363617, 0.24521292746067047, -0.07465951889753342, -0.08962932229042053, -0.4133163094520569, 0.08861687779426575, -0.14850294589996338, -0.15690387785434723, -0.17745736241340637, -0.48018187284469604, -0.33676764369010925, -0.07352721691131592, -0.17775465548038483, 0.044259779155254364, -0.36054864525794983, -0.01846381649374962, -0.29109612107276917, 0.2100166231393814, 0.153402179479599, 0.15418991446495056, 0.10749706625938416, -0.0692097619175911, -0.04748532548546791, -0.1659666895866394, 0.11094832420349121, -0.5030058026313782, 0.2415332943201065, -0.37701907753944397, 0.21995440125465393, 0.25725746154785156, -0.013058299198746681, -0.37870243191719055, 0.009395347908139229, -0.07332630455493927, -0.0911809578537941, 0.021065903827548027, 0.24727317690849304, -0.22412730753421783, -0.33094173669815063, 0.14972025156021118, 0.3185126781463623, 0.1370334029197693, -0.19611135125160217, -0.14724981784820557, 0.11756214499473572, 0.07826636731624603, -0.20000432431697845, 0.28920212388038635, 0.2372138351202011, -0.13633093237876892, 0.21938392519950867, -0.2045915126800537, -0.18504956364631653, 0.2213127613067627, 0.32785049080848694, 0.1658657044172287, 0.6589388847351074, 0.07752153277397156, 0.1081857979297638, 0.2461702823638916, 0.27542388439178467, -0.01798669807612896, -0.0716346949338913, -0.21810613572597504, -0.28747332096099854, 0.44153696298599243, 0.3564333915710449, -0.04076571762561798, 0.2765287458896637, 0.26071032881736755, 0.047206394374370575, 0.13582046329975128, -0.206184983253479, 0.09452604502439499, 0.48043450713157654, -0.1656939685344696, -0.2026413232088089, 0.3567180931568146, 0.3320632874965668, -0.12682877480983734, -0.2096838504076004, -0.1923617124557495, -0.17462633550167084, -0.19678226113319397, 0.11336898803710938, 0.18211333453655243, -0.2772313356399536, 0.13709142804145813, 0.16694313287734985, 0.07212439924478531, -0.25812143087387085, 0.024527642875909805, 0.24636368453502655, -0.36056631803512573, -0.09144574403762817, 0.1158977597951889, 0.04110560566186905, 0.020698197185993195, 0.1484401524066925, -0.12450628727674484, -0.02489754743874073, 0.2605791389942169, 0.17924457788467407, -0.12428063899278641, 0.2981373071670532, 0.2358458787202835, -0.05579179525375366, 0.011261090636253357, -0.14088866114616394, 0.15262281894683838, -0.24576279520988464, 0.2571163773536682, -0.15555237233638763, -0.10075772553682327, -0.32690340280532837, 0.005747701972723007, -0.1048450767993927, -0.058199502527713776, -0.09246030449867249, 0.04537180811166763, -0.14073960483074188, 0.2982661724090576, -0.06257438659667969, 0.44593021273612976, -0.1559617668390274, -0.0953226238489151, -0.030928047373890877, 0.07610413432121277, -0.2215135097503662, 0.2531650960445404, -0.08877511322498322, 0.09462536126375198, 0.06832205504179001, -0.06225103139877319, -0.04179045185446739, 0.3717264235019684, 0.35275736451148987, 0.4666776657104492, -0.2360478937625885, 0.014145825058221817, -0.30124038457870483, 0.12101836502552032, 0.15985214710235596, 0.2976042628288269, 0.3660978078842163, -0.26231351494789124, -0.3164893388748169, 0.1360870599746704, -0.16181328892707825, 0.5756931304931641, -0.10010746121406555, 0.034099332988262177, 0.17720091342926025, -0.26414957642555237, 0.2984297275543213, -0.2012055516242981, 0.01724882610142231, 0.015477538108825684, -0.21134483814239502, 0.11808854341506958, 0.25796252489089966, 0.2238287478685379, 0.016205821186304092, 0.13628700375556946, 0.10960017144680023, 0.35892245173454285, 0.589260458946228, 0.22642429172992706, -0.016247056424617767, -0.09853927046060562, -0.3305544853210449, -0.3058582544326782, -0.024845145642757416, 0.025822868570685387, 0.03698931634426117, 0.14929521083831787, -0.17973965406417847, 0.10655566304922104, 0.148433119058609, 0.04823894053697586, -0.3367561995983124, -0.0991758406162262, 0.0141940638422966, -0.28313902020454407, 0.1328599750995636, 0.3008412718772888, 0.14507435262203217, -0.18112695217132568, -0.0870351493358612, 0.41854986548423767, -0.2051032930612564, 0.11050450056791306, -0.15160053968429565, 0.1829432249069214, 0.5165930986404419, 0.8029404878616333, 0.10330355167388916, 0.17042580246925354, 0.20969638228416443, -0.15533870458602905, -0.44942429661750793, -0.22351667284965515, 0.01450947392731905, -0.09623578935861588, 0.16435681283473969, 0.2511950433254242, -0.3873962163925171, -0.034772105515003204, -0.5804181098937988, -0.29486897587776184, 0.10283760726451874, 0.03272717446088791, 0.3535609543323517, -0.4131636917591095, -0.04370913282036781, 0.39904922246932983, -0.14749775826931, -0.1036582961678505, -0.013043135404586792, -0.2280389368534088, -0.16313757002353668, -0.4650716781616211, -0.23948995769023895, 0.615700364112854, 0.18461190164089203, 0.09433045983314514, -0.05046151950955391, -0.09749972820281982, 0.17983639240264893, 0.22529691457748413, -0.88060462474823, -0.24758461117744446, 0.11554492264986038, -0.04696125537157059, -0.692703366279602, 0.264081209897995, 0.029445713385939598, -0.15722715854644775, -0.18748459219932556, 0.6403566598892212, -0.1174151673913002, -0.12595900893211365, -0.09042505919933319, -0.2756109833717346 ]
https://github.com/huggingface/datasets/pull/2008
Fix various typos/grammer in the docs
I like how concise and straightforward the docs are. Few things that would further improve the docs IMO: * the usage example of `Dataset.formatted_as` in https://huggingface.co/docs/datasets/master/processing.html * the "Open in Colab" button would be nice where it makes sense (we can borrow this from the transformers project + link to HF Forum)
This PR: * fixes various typos/grammer I came across while reading the docs * adds the "Install with conda" installation instructions Closes #1959
52
text: Fix various typos/grammer in the docs This PR: * fixes various typos/grammer I came across while reading the docs * adds the "Install with conda" installation instructions Closes #1959 I like how concise and straightforward the docs are. Few things that would further improve the docs IMO: * the usage example of `Dataset.formatted_as` in https://huggingface.co/docs/datasets/master/processing.html * the "Open in Colab" button would be nice where it makes sense (we can borrow this from the transformers project + link to HF Forum)
[ 0.015056800097227097, -0.271806538105011, -0.03474109247326851, 0.06039698049426079, 0.059965167194604874, 0.039407312870025635, -0.176632359623909, 0.1447429656982422, -0.47719478607177734, 0.004690110683441162, 0.011442086659371853, 0.09881425648927689, 0.00636765081435442, 0.3122629225254059, 0.061203960329294205, -0.29965925216674805, 0.15992048382759094, 0.3257823586463928, -0.029558785259723663, -0.28338623046875, 0.05546657741069794, 0.15109480917453766, -0.1615951955318451, 0.05603066086769104, -0.5857244729995728, -0.19010575115680695, 0.01810315065085888, 0.04291655123233795, -0.5592671632766724, -0.22708849608898163, 0.09159768372774124, 0.4201788604259491, 0.18711164593696594, 0.4815140664577484, -0.00011938918032683432, -0.19943617284297943, 0.36251693964004517, 0.0057219769805669785, -0.28270116448402405, 0.2717103064060211, -0.14426501095294952, -0.3440895080566406, 0.14165541529655457, -0.11991113424301147, 0.05684308707714081, -0.0535341277718544, -0.07191498577594757, 0.12838700413703918, 0.3112967014312744, 0.17125077545642853, 0.11076177656650543, 0.37273970246315, 0.033976245671510696, -0.049144282937049866, -0.11919350177049637, 0.533355712890625, -0.269855797290802, 0.2682417631149292, 0.3174189031124115, -0.01969965547323227, 0.10122089087963104, 0.44187355041503906, -0.34876009821891785, -0.2741101384162903, 0.19219282269477844, -0.0035829730331897736, 0.03952199965715408, -0.3393191695213318, 0.057498134672641754, 0.09134761989116669, 0.67682945728302, -0.39139091968536377, -0.376047819852829, -0.24331524968147278, -0.14956222474575043, -0.3443542420864105, 0.014021150767803192, -0.03290753811597824, -0.17549893260002136, 0.32388848066329956, -0.19451509416103363, -0.3590579926967621, -0.09759646654129028, -0.19783686101436615, 0.0922284871339798, 0.22303584218025208, -0.02338629961013794, -0.2814781963825226, 0.247791588306427, -0.0032757483422756195, 0.5977947115898132, 0.22785162925720215, -0.11570730805397034, 0.12461408972740173, -0.06756554543972015, -0.3178742825984955, -0.08940129727125168, 0.10315403342247009, 0.2656906545162201, -0.1750367283821106, -0.08196856826543808, -0.02117069810628891, -0.1346752643585205, 0.07160747051239014, 0.007780885323882103, 0.07436594367027283, 0.33126887679100037, 0.49322953820228577, 0.25366464257240295, 0.28199055790901184, 0.31747809052467346, 0.08007550239562988, -0.06984993070363998, -0.17126046121120453, -0.20755255222320557, -0.004533013328909874, -0.0002021845430135727, -0.37851691246032715, -0.09364250302314758, 0.2374195158481598, 0.3328087031841278, -0.2917902171611786, -0.18740031123161316, 0.37581923604011536, 0.041045498102903366, 0.4033152461051941, 0.17649365961551666, -0.18549209833145142, -0.18993797898292542, -0.2911781966686249, -0.11729087680578232, -0.08104406297206879, -0.2921651601791382, 0.32813212275505066, -0.0007993504405021667, 0.06630441546440125, 0.3016623854637146, 0.011355499736964703, 0.1656946837902069, -0.10483986139297485, -0.17791101336479187, 0.08443711698055267, 0.030355706810951233, 0.5685877203941345, -0.19664716720581055, -0.004290061071515083, 0.05657836049795151, -0.10053543001413345, -0.08420705795288086, 0.29010340571403503, -0.1416308879852295, -0.35349372029304504, -0.6758472323417664, 0.06662780791521072, -0.13580653071403503, -0.08956153690814972, -0.03132069855928421, 0.11381621658802032, 0.12560336291790009, -0.16414377093315125, 0.27058145403862, 0.1223771795630455, 0.0490538589656353, -0.1314515918493271, 0.22359788417816162, 0.5336723327636719, -0.1504158228635788, -0.06235257536172867, 0.31500643491744995, -0.1024928092956543, 0.3142322301864624, 0.43346574902534485, -0.017612438648939133, 0.4736328721046448, 0.09424620121717453, -0.06349524110555649, 0.3066881000995636, -0.2995442748069763, -0.0977897197008133, 0.09853444248437881, 0.2589437961578369, 0.04665522277355194, 0.0011090338230133057, -0.3535866439342499, 0.36376193165779114, 0.052506763488054276, 0.15495514869689941, -0.08706551045179367, 0.05307214707136154, 0.10137061029672623, -0.49660947918891907, -0.21826574206352234, -0.15461169183254242, -0.04614102840423584, 0.06659343838691711, 0.23213675618171692, -0.14609235525131226, 0.14289590716362, 0.5379884839057922, -0.10203391313552856, -0.12250865250825882, 0.19788844883441925, 0.261231392621994, 0.012653224170207977, 0.052161578088998795, 0.06654833257198334, -0.4399567246437073, -0.32528722286224365, 0.23025700449943542, 0.19569016993045807, -0.1798604279756546, -0.438882052898407, -0.20275112986564636, 0.08189354091882706, 0.09954945743083954, -0.4201453626155853, 0.035088375210762024, -0.17658188939094543, -0.12236516177654266, 0.032534901052713394, -0.4164523184299469, 0.29833945631980896, -0.14233967661857605, 0.30738359689712524, 0.056578222662210464, 0.09515149146318436, -0.23726700246334076, -0.08176318556070328, 0.014629796147346497, 0.1576898694038391, 0.036335572600364685, -0.05138924717903137, -0.18055689334869385, 0.3564962148666382, -0.05157908424735069, 0.11803682148456573, 0.021189648658037186, 0.3866473436355591, 0.4965115189552307, -0.06398487836122513, 0.043378040194511414, -0.21235930919647217, -0.06797323375940323, 0.13945797085762024, -0.4987128674983978, -0.051847830414772034, -0.23488600552082062, -0.02514861524105072, 0.10800467431545258, 0.025913318619132042, 0.11161971092224121, 0.10940563678741455, -0.24432264268398285, 0.04062257707118988, 0.10443463921546936, 0.05005885660648346, 0.01000366359949112, 0.21633149683475494, -0.20751580595970154, 0.12103206664323807, 0.457378625869751, -0.40619799494743347, -0.25998634099960327, 0.3224433362483978, 0.030456624925136566, 0.04897691309452057, 0.22996503114700317, 0.06339086592197418, -0.004705190658569336, 0.17470815777778625, -0.1616949886083603, 0.1075100526213646, -0.017881769686937332, 0.06586867570877075, 0.18593959510326385, 0.2549571394920349, 0.15032550692558289, 0.26806968450546265, -0.2546832263469696, 0.2786957919597626, -0.13502588868141174, -0.1571459323167801, -0.14284870028495789, 0.3845779001712799, -0.3077940046787262, -0.07011903077363968, 0.08757699280977249, -0.13653063774108887, -0.08652936667203903, -0.08196482062339783, -0.11268909275531769, -0.18452781438827515, 0.048330336809158325, -0.12146863341331482, -0.14741450548171997, 0.24768248200416565, 0.15995581448078156, 0.6501396894454956, -0.10286248475313187, 0.13691088557243347, -0.31669533252716064, -0.004586086142808199, -0.08143392950296402, -0.0025072619318962097, 0.1547631472349167, -0.0035825292579829693, 0.0893501564860344, -0.5864436626434326, 0.11085851490497589, -0.2131565809249878, -0.4255056083202362, 0.2842165231704712, 0.010720837861299515, 0.2155887484550476, 0.30602627992630005, 0.5470972061157227, -0.20882228016853333, -0.36384302377700806, -0.10603484511375427, -0.101727195084095, 0.012458307668566704, -0.4110223948955536, 0.029451675713062286, -0.3783104121685028, -0.27602970600128174, -0.37214648723602295, -0.030243447050452232, -0.3352569341659546, 0.20908161997795105, -0.2798289954662323, 0.33333784341812134, 0.09099926799535751, 0.183013454079628, 0.08107665926218033, -0.16643041372299194, 0.02738155424594879, 0.039558831602334976, -0.37340351939201355, 0.2782575488090515, -0.08311942964792252, -0.18596628308296204, -0.1644066870212555, 0.04926695674657822, -0.035617414861917496, -0.25848567485809326, -0.2043909877538681, 0.18096263706684113, -0.14459119737148285, -0.038113679736852646, 0.04796424135565758, 0.3209353983402252, 0.37936627864837646, 0.3322162926197052, 0.049232497811317444, -0.08310708403587341, -0.56048583984375, -0.28077706694602966, -0.015705477446317673, 0.3149568736553192, -0.14554238319396973, 0.1392911970615387, -0.011165814474225044, 0.25612103939056396, 0.17877575755119324, 0.07322309911251068, -0.10207870602607727, 0.16275931894779205, 0.35963618755340576, 0.08173741400241852, -0.275712251663208, 0.06357921659946442, -0.02929408848285675, -0.21934771537780762, 0.2913020849227905, 0.13574880361557007, -0.01941000483930111, -0.022995183244347572, -0.10121548175811768, -0.36280062794685364, -0.2167486995458603, 0.1728409081697464, 0.08576297014951706, 0.15589866042137146, -0.02954445406794548, 0.13953617215156555, 0.07071805000305176, 0.28668370842933655, 0.16597813367843628, 0.5327702760696411, 0.20809468626976013, 0.1954336017370224, 0.1776120662689209, -0.02447260357439518, -0.43176859617233276, 0.050439365208148956, -0.0033526066690683365, 0.051887743175029755, -0.10145851969718933, -0.013055844232439995, 0.13288478553295135, 0.22867877781391144, 0.7848972678184509, -0.24157194793224335, -0.4929613471031189, 0.013631649315357208, 0.20374277234077454, 0.19023114442825317, -0.051094383001327515, -0.07943218946456909, 0.029621150344610214, 0.28541693091392517, 0.4268698990345001, -0.3380507826805115, -0.39617908000946045, 0.4092028737068176, -0.16288205981254578, -0.04684389382600784, -0.08473838865756989, -0.051019322127103806, -0.270648717880249, -0.44582903385162354, 0.23804152011871338, 0.17156079411506653, -0.1446767896413803, -0.04329511523246765, 0.06878112256526947, 0.29360729455947876, 0.4770391583442688, 0.11674236506223679, 0.4523124396800995, 0.36066654324531555, -0.034980643540620804, -0.1278717815876007, 0.4313458502292633, 0.15755552053451538, 0.35917001962661743, 0.21751444041728973, -0.4004139006137848, -0.2982918322086334, 0.13050484657287598, -0.23795105516910553, 0.4366331696510315, 0.38939327001571655, 0.28797391057014465, -0.12374771386384964, 0.1665959358215332, 0.24028180539608002, 0.07510005682706833, 0.1305137276649475, 0.21046718955039978, 0.3280784487724304, -0.7472338676452637, -0.34858885407447815, 0.551013171672821, 0.2729268968105316, -0.21022415161132812, 0.1022750660777092, 0.5769867897033691, -0.06853188574314117, 0.49788999557495117, 0.25120824575424194, 1.3433570861816406, -0.26371026039123535, 0.11973543465137482, -0.038161732256412506, -0.20731791853904724, 0.5386844873428345, -0.5282931327819824, -0.125792995095253, -0.23004817962646484, -0.08093533664941788, -0.13356325030326843, 0.06102978065609932, 0.07537190616130829, -0.1319553405046463, -0.7321876883506775, 0.28983619809150696, -0.26665258407592773, -0.0669841319322586, 0.4485848844051361, 0.16556398570537567, 0.28258657455444336, -0.2811630964279175, 0.09740200638771057, -0.03328900411725044, -0.0766192078590393, 0.28504037857055664, -0.1977178156375885, -0.2949792742729187, -0.03077009879052639, -0.22193755209445953, -0.5938647389411926, -0.2887294292449951, -0.02802262455224991, -0.4674813747406006, 0.22249673306941986, 0.06580768525600433, 0.13055741786956787, 0.24178540706634521, 0.29356080293655396, 0.3681343197822571, -0.38490599393844604, -0.0126563161611557, -0.04316682368516922, -0.03879278525710106, -0.04626062139868736, 0.024558361619710922, 0.20537345111370087, -0.03208860009908676, -0.23877665400505066, -0.20190027356147766, -0.19261819124221802, -0.06567421555519104, 0.09094691276550293, -0.19609569013118744, 0.03904028981924057, -0.3392907679080963, 0.0025978991761803627, 0.19563347101211548, -0.3207421600818634, -0.13371515274047852, 0.10399511456489563, -0.009865254163742065, -0.14364536106586456, 0.23196840286254883, 0.43277204036712646, -0.1334860622882843, -0.1257655769586563, -0.22399106621742249, 0.10258538275957108, -0.4279979169368744, -0.011682931333780289, -0.006442449986934662, -0.46036720275878906, -0.29247811436653137, -0.22404146194458008, -0.018321873620152473, -0.24774396419525146, 0.05865490436553955, -0.2406894713640213, -0.320564866065979, -0.07147859781980515, 0.2429320067167282, 0.427559494972229, -0.06136231869459152, -0.21834991872310638, -0.2111925631761551, -0.3849126994609833, 0.15346559882164001, -0.3574311435222626, 0.23732523620128632, 0.0062354132533073425, 0.4263026714324951, 0.09464487433433533, 0.08581320941448212, -0.2537934184074402, -0.026012033224105835, -0.02954455278813839, -0.16374918818473816, 0.22218938171863556, 0.21712011098861694, -0.06296071410179138, -0.38453495502471924, -0.07280373573303223, 0.2256963849067688, 0.07379995286464691, -0.09603852778673172, -0.305033415555954, 0.1642943024635315, 0.01411235611885786, -0.03338035196065903, 0.37749966979026794, 0.3542426824569702, 0.04723595082759857, -0.13443632423877716, 0.02462857961654663, -0.0682978630065918, 0.19870378077030182, 0.37107008695602417, 0.20420034229755402, 0.26317307353019714, -0.10340380668640137, -0.11661672592163086, 0.3549138903617859, 0.07755114883184433, -0.010589417070150375, 0.18247845768928528, -0.16844181716442108, -0.046658094972372055, 0.5329906940460205, 0.2664101719856262, 0.2677041292190552, 0.20512622594833374, 0.33206868171691895, -0.11089900135993958, 0.0754370242357254, -0.04611505940556526, 0.2742195129394531, 0.2502089738845825, -0.1572508066892624, -0.15814891457557678, 0.27984854578971863, 0.1426745504140854, -0.16522842645645142, -0.16103795170783997, -0.027136843651533127, -0.10364584624767303, -0.19298110902309418, 0.236862912774086, 0.2500457465648651, -0.09113751351833344, 0.15804477035999298, 0.21326947212219238, 0.2476755529642105, -0.309684693813324, 0.22569864988327026, 0.34721896052360535, -0.23177805542945862, 0.061700399965047836, 0.3866208493709564, -0.0858340710401535, 0.016578465700149536, 0.19234642386436462, 0.049314919859170914, -0.021397149190306664, 0.05132865160703659, 0.3287297189235687, -0.18636614084243774, 0.004371084272861481, 0.2634848952293396, -0.08663630485534668, 0.011376343667507172, -0.021128132939338684, 0.01530766487121582, -0.07472618669271469, 0.21040235459804535, -0.261910080909729, -0.15644286572933197, -0.004920285195112228, -0.14827871322631836, -0.12198293209075928, 0.16477468609809875, -0.05791367590427399, -0.0037310048937797546, -0.15481404960155487, 0.06121854484081268, -0.19907666742801666, 0.3939320743083954, -0.1318930983543396, 0.06487714499235153, -0.12290570139884949, -0.01334250345826149, -0.054895080626010895, 0.3758949339389801, -0.14242279529571533, 0.19441936910152435, -0.0486973375082016, -0.21973106265068054, -0.35162365436553955, 0.6665693521499634, 0.48925870656967163, 0.3379990756511688, -0.009861953556537628, -0.0041090985760092735, -0.3791298568248749, 0.12518131732940674, 0.22317840158939362, 0.23389297723770142, 0.1283624768257141, -0.37506502866744995, -0.08367422223091125, 0.06071721762418747, -0.1829937994480133, 0.1151796281337738, -0.2770792543888092, -0.021427646279335022, 0.055777911096811295, -0.1608915627002716, 0.2074144184589386, -0.29309630393981934, 0.050499506294727325, -0.08017957955598831, -0.25760897994041443, 0.28093066811561584, 0.44050702452659607, -0.06849496811628342, 0.08700517565011978, 0.08227929472923279, 0.05117505043745041, 0.3114638030529022, 0.611122190952301, 0.5649747252464294, 0.21762478351593018, -0.1753813773393631, -0.11077931523323059, -0.37666910886764526, -0.2804310619831085, 0.19778618216514587, 0.0649927407503128, 0.34217655658721924, -0.18327376246452332, 0.07631431519985199, 0.2470635622739792, -0.028732165694236755, -0.2472309172153473, -0.07121592015028, -0.13161197304725647, -0.30299901962280273, 0.10066838562488556, -0.02853657305240631, 0.10541573166847229, 0.041372038424015045, -0.11862276494503021, 0.29460608959198, 0.022558651864528656, -0.08036394417285919, -0.32464319467544556, 0.3969776928424835, 0.28014427423477173, 0.233746737241745, -0.038299307227134705, 0.3898824453353882, 0.27438247203826904, -0.228427916765213, -0.27454617619514465, -0.19495102763175964, -0.15409636497497559, -0.23462341725826263, 0.1759597361087799, 0.1877964437007904, -0.018892403692007065, -0.11139638721942902, -0.449443519115448, -0.3868807852268219, 0.1047436073422432, 0.24861983954906464, 0.25819867849349976, -0.39887577295303345, -0.04825962334871292, 0.15178611874580383, -0.288657009601593, -0.011707265861332417, 0.23396062850952148, -0.17569051682949066, 0.12036137282848358, -0.3677380681037903, -0.26720961928367615, 0.789337158203125, -0.07854484766721725, -0.21572624146938324, -0.010015677660703659, 0.10357403755187988, 0.4432983100414276, 0.02127564139664173, -0.876236617565155, -0.13851144909858704, -0.029939763247966766, -0.09550812840461731, -0.6095821261405945, 0.5270572900772095, -0.042543426156044006, -0.025107432156801224, -0.1394670158624649, 0.9152950048446655, -0.07070817798376083, -0.29376694560050964, -0.176845520734787, -0.36011242866516113 ]
https://github.com/huggingface/datasets/pull/2002
MOROCO
@lhoestq Thank you for all the feedback. I've added the suggested changes in my last commit.
Add MOROCO to huggingface datasets.
16
text: MOROCO Add MOROCO to huggingface datasets. @lhoestq Thank you for all the feedback. I've added the suggested changes in my last commit.
[ -0.15462064743041992, -0.3326774835586548, -0.18198524415493011, -0.09971238672733307, 0.1664193570613861, -0.1257566511631012, 0.11590360850095749, 0.13643261790275574, -0.23896507918834686, 0.2761451303958893, -0.23704290390014648, 0.45902806520462036, 0.029155224561691284, 0.46135061979293823, 0.1435704380273819, -0.22671887278556824, 0.038525648415088654, 0.15437999367713928, -0.3239153027534485, -0.008715134114027023, -0.210213765501976, 0.14987070858478546, 0.14410585165023804, -0.23715929687023163, 0.019408026710152626, 0.04479809105396271, -0.14766500890254974, 0.2087232768535614, -0.30029773712158203, -0.1403665393590927, 0.017428746446967125, 0.41651755571365356, -0.1763613224029541, 0.05177951976656914, -0.00009729383600642905, -0.05442052334547043, 0.06683134287595749, -0.04319078475236893, 0.030626188963651657, -0.14067961275577545, 0.12795445322990417, -0.3221142888069153, -0.0759643167257309, -0.0036623626947402954, -0.31779468059539795, 0.19363676011562347, 0.2109028846025467, -0.22113646566867828, 0.3026731014251709, 0.04056237265467644, 0.2874346375465393, 0.3690553307533264, 0.1718675196170807, -0.28501638770103455, 0.046211931854486465, 0.4940780997276306, -0.3369043469429016, 0.06482838094234467, 0.1899888664484024, 0.058511458337306976, 0.1783207207918167, 0.4883282482624054, -0.0800219252705574, 0.027072951197624207, 0.3404085338115692, -0.0094178831204772, 0.04333818331360817, 0.019777262583374977, 0.08263730257749557, 0.37475135922431946, 0.11070547252893448, -0.046680279076099396, -0.05187264084815979, -0.08048850297927856, 0.022151213139295578, -0.4730684459209442, 0.08102766424417496, 0.04506656527519226, 0.020455099642276764, 0.08945183455944061, -0.19066458940505981, -0.18877583742141724, -0.1596694439649582, 0.1504254937171936, -0.11738245189189911, -0.023702852427959442, -0.15769821405410767, -0.18526571989059448, 0.43711715936660767, -0.14842624962329865, -0.3693947196006775, 0.2597610354423523, -0.11984027922153473, -0.18690629303455353, -0.09853248298168182, -0.10471871495246887, 0.07550809532403946, 0.21965932846069336, 0.45824623107910156, 0.0024399682879447937, 0.13127800822257996, 0.10110700130462646, -0.0704287514090538, 0.06014725938439369, -0.04845007136464119, -0.09126299619674683, 0.1816149652004242, -0.07869085669517517, 0.23614761233329773, 0.2726571559906006, 0.15877693891525269, -0.125817209482193, 0.14364907145500183, -0.20738287270069122, -0.17028377950191498, -0.09157251566648483, 0.2822580933570862, -0.14610211551189423, -0.12009946256875992, -0.13872608542442322, 0.060958392918109894, -0.07447187602519989, 0.05609588697552681, 0.5181341767311096, 0.030954547226428986, -0.10308044403791428, 0.14706335961818695, 0.34358006715774536, 0.029924968257546425, -0.17370618879795074, -0.2527339458465576, -0.0005104020237922668, -0.1431308388710022, 0.21356800198554993, 0.2309657782316208, -0.14504693448543549, 0.28296539187431335, -0.17320722341537476, 0.29346778988838196, -0.06859949231147766, -0.19497083127498627, 0.192240908741951, 0.09119988232851028, 0.10390647500753403, -0.1302689164876938, -0.172526553273201, 0.0007804110646247864, 0.3896799087524414, -0.20130136609077454, 0.0000029578804969787598, -0.18258604407310486, -0.10941921919584274, -0.3999332785606384, 0.31046417355537415, 0.005920799449086189, -0.4090283513069153, 0.0819762721657753, 0.22786159813404083, -0.13002794981002808, -0.020774414762854576, 0.21215960383415222, 0.3124275803565979, -0.31915920972824097, 0.05469011515378952, 0.1292826533317566, 0.28194141387939453, 0.18124382197856903, -0.2783271074295044, -0.2879053056240082, -0.17742709815502167, 0.38407236337661743, 0.14822112023830414, 0.1229500100016594, -0.1926226019859314, -0.07612551748752594, -0.11836236715316772, -0.029934652149677277, -0.1708236038684845, -0.03917528688907623, -0.152158722281456, -0.22243839502334595, -0.04699881002306938, 0.21875756978988647, -0.03164659067988396, -0.11379333585500717, 0.10335339605808258, 0.09235194325447083, 0.06885572522878647, -0.03586128354072571, 0.05701424181461334, -0.10901322960853577, -0.15370050072669983, 0.054389383643865585, 0.33229556679725647, 0.02916085347533226, 0.07452566921710968, -0.00546775758266449, -0.19838938117027283, 0.08365629613399506, -0.05049900338053703, -0.03933238983154297, 0.14862702786922455, 0.3613791763782501, 0.09183888137340546, -0.049882225692272186, 0.059421516954898834, -0.3109864890575409, -0.19895216822624207, 0.16773875057697296, 0.3506805896759033, -0.07599040865898132, -0.23320116102695465, -0.19943654537200928, 0.0026167333126068115, -0.0022607147693634033, -0.27672433853149414, 0.22846561670303345, 0.04981642961502075, -0.2578125596046448, 0.11953793466091156, -0.031833548098802567, 0.2383108288049698, 0.011620892211794853, 0.25082990527153015, -0.31373801827430725, 0.0462772399187088, -0.13210292160511017, -0.012068268842995167, 0.07628557831048965, 0.2610574960708618, -0.04181978851556778, -0.009987115859985352, 0.13388793170452118, 0.3497709035873413, -0.2441357523202896, 0.5403857827186584, -0.055071599781513214, 0.21802140772342682, 0.2738267779350281, -0.3045814037322998, 0.06240427494049072, -0.32825949788093567, -0.07618017494678497, 0.11796776205301285, -0.19799938797950745, 0.21210621297359467, 0.013226006180047989, -0.22317421436309814, -0.09957142174243927, 0.009638339281082153, 0.041330255568027496, -0.14467044174671173, -0.1812538355588913, -0.37105709314346313, 0.3358178436756134, 0.14136800169944763, 0.15423917770385742, 0.045743267983198166, -0.4480876326560974, 0.16874192655086517, 0.24716156721115112, -0.046548135578632355, 0.250689297914505, 0.19696980714797974, -0.1721571385860443, 0.0014719776809215546, -0.013706108555197716, -0.18258316814899445, 0.17662237584590912, 0.37142112851142883, 0.07342422008514404, 0.17891867458820343, 0.19933271408081055, -0.3164098858833313, 0.18981879949569702, 0.10168790072202682, 0.08049248158931732, -0.06955800205469131, 0.30483266711235046, 0.017407961189746857, -0.5570601224899292, 0.1917991191148758, -0.23083117604255676, 0.08692484349012375, -0.07865435630083084, -0.13855110108852386, -0.23823480308055878, -0.2567753493785858, -0.08666057884693146, 0.06717714667320251, -0.2297229766845703, -0.13476169109344482, 0.3179985284805298, 0.02030414156615734, -0.27897292375564575, 0.24590185284614563, 0.30034515261650085, 0.5144306421279907, -0.19395476579666138, -0.09643152356147766, -0.3960127532482147, -0.07299423217773438, 0.16061526536941528, 0.2428046464920044, -0.199204683303833, -0.26291245222091675, 0.4917490780353546, -0.45658886432647705, 0.26441043615341187, -0.19342857599258423, -0.5207934975624084, 0.13612991571426392, -0.06074650585651398, -0.11515253782272339, 0.2766198515892029, 0.15877488255500793, 0.11129544675350189, -0.18061710894107819, 0.2932174503803253, -0.449860543012619, -0.4000599682331085, -0.18594743311405182, -0.17000626027584076, 0.170949324965477, -0.37139877676963806, -0.16146406531333923, 0.009340919554233551, -0.4063599109649658, 0.42638081312179565, -0.056417614221572876, 0.0075515881180763245, 0.41812098026275635, 0.005394754000008106, 0.033046506345272064, -0.4246334433555603, 0.15332457423210144, -0.36016756296157837, -0.34175264835357666, 0.23815590143203735, -0.2844885289669037, -0.10459356009960175, -0.13852722942829132, 0.11133897304534912, 0.07239390164613724, -0.3088202476501465, -0.20193128287792206, -0.44599664211273193, -0.17892636358737946, 0.16504144668579102, 0.1561410129070282, -0.04908432811498642, 0.22954107820987701, 0.06583629548549652, -0.327831506729126, -0.20883393287658691, -0.4222765266895294, 0.16411204636096954, 0.1922275424003601, 0.10600289702415466, -0.2766953110694885, 0.26038315892219543, -0.015790116041898727, 0.22937795519828796, -0.1028340756893158, -0.10778734087944031, 0.48835301399230957, -0.19369815289974213, 0.4667092263698578, -0.09690391272306442, -0.48563748598098755, 0.2238692045211792, 0.16659292578697205, 0.060351014137268066, 0.30757057666778564, 0.020776666700839996, -0.011187249794602394, -0.14959371089935303, -0.23258577287197113, -0.15101611614227295, -0.2481791377067566, -0.13579919934272766, 0.3623727262020111, -0.04269324243068695, -0.07153093814849854, -0.23480236530303955, -0.16736024618148804, -0.17432978749275208, 0.2593730092048645, 0.3411811888217926, 0.04408487305045128, -0.06667737662792206, -0.42484137415885925, 0.1987624317407608, -0.6158564686775208, 0.3417113423347473, -0.15231119096279144, -0.19194506108760834, -0.3176192343235016, -0.23910385370254517, -0.016756519675254822, 0.1280921995639801, 0.7313346266746521, 0.1615639179944992, -0.11150705814361572, -0.22287032008171082, -0.2794930338859558, -0.013695213943719864, 0.2881641983985901, -0.04245305061340332, 0.003360916394740343, 0.38989710807800293, 0.40236759185791016, -0.3915911316871643, -0.12830089032649994, 0.5574736595153809, -0.25153663754463196, 0.1291087567806244, -0.1869276762008667, -0.22944693267345428, -0.23829489946365356, -0.3122977912425995, -0.041303493082523346, 0.12082945555448532, 0.3020039200782776, 0.07542828470468521, -0.21987783908843994, 0.13233411312103271, -0.027420422062277794, 0.18101736903190613, 0.18365785479545593, 0.07705675810575485, 0.2402406930923462, 0.06408044695854187, 0.29784420132637024, 0.29832810163497925, 0.34953227639198303, 0.31742063164711, -0.24438145756721497, -0.4598456621170044, -0.007882300764322281, -0.04157869890332222, 0.29821938276290894, 0.1327587217092514, 0.2125556319952011, 0.16524255275726318, 0.06890881061553955, 0.11746887862682343, -0.2783573865890503, 0.22888796031475067, 0.09599394351243973, 0.20565494894981384, -0.18422110378742218, -0.1331043690443039, 0.32569506764411926, 0.05560219660401344, 0.0022436529397964478, 0.06391748040914536, 0.326205313205719, -0.15553727746009827, -0.2225286364555359, 0.24221771955490112, 0.9624857902526855, -0.30018651485443115, 0.1176052987575531, 0.14328274130821228, -0.09353728592395782, 0.45593324303627014, -0.10798479616641998, 0.07940949499607086, -0.07717382907867432, -0.04334491491317749, 0.12174087762832642, 0.043848294764757156, 0.22009021043777466, -0.19883613288402557, -0.2923811078071594, -0.19937415421009064, 0.17916680872440338, 0.007903840392827988, -0.1378079652786255, -0.1309734284877777, -0.047860465943813324, -0.3829215466976166, -0.05507483333349228, 0.2052375227212906, -0.021790392696857452, 0.3166642487049103, -0.015872685238718987, -0.228263258934021, 0.10823452472686768, -0.042658887803554535, -0.05673845112323761, -0.10052746534347534, -0.24251629412174225, -0.27916449308395386, 0.22049659490585327, -0.048661813139915466, -0.05895896255970001, 0.43453770875930786, 0.5331643223762512, 0.05030487850308418, -0.20376883447170258, 0.25976115465164185, -0.23369890451431274, -0.0873332992196083, -0.07033605128526688, 0.03310175612568855, -0.015688421204686165, -0.3118903934955597, -0.13898944854736328, -0.16554024815559387, 0.26096412539482117, -0.23864063620567322, -0.14926865696907043, -0.0739838033914566, -0.14059330523014069, -0.027570027858018875, 0.003026772290468216, 0.18537622690200806, 0.23689764738082886, -0.40332356095314026, 0.22102132439613342, 0.19296804070472717, -0.039532385766506195, -0.2956746518611908, 0.19913342595100403, -0.29237449169158936, -0.1787009835243225, 0.3176018297672272, -0.20952454209327698, -0.052368950098752975, 0.25611090660095215, 0.17789427936077118, -0.11320061981678009, -0.41375473141670227, -0.01885782927274704, 0.3721427023410797, -0.228565514087677, 0.0855564996600151, 0.22161270678043365, -0.3343295454978943, 0.05343860387802124, 0.5049946904182434, -0.040669940412044525, -0.07553493231534958, 0.17770710587501526, -0.13986212015151978, -0.44916674494743347, 0.09183117747306824, -0.19177070260047913, 0.2600476145744324, 0.3535267114639282, 0.3015689551830292, 0.05749685317277908, 0.16913653910160065, -0.5111815929412842, -0.11960934847593307, -0.032501980662345886, -0.224694162607193, 0.20852629840373993, -0.18876567482948303, 0.1467275172472, -0.1418057084083557, 0.240534245967865, -0.016585785895586014, -0.30572715401649475, -0.3005657196044922, -0.1708761602640152, 0.09751841425895691, -0.22143635153770447, -0.02597842738032341, 0.16003653407096863, 0.08750395476818085, -0.19070874154567719, -0.13358715176582336, 0.17801357805728912, 0.044993989169597626, 0.06554917991161346, 0.27405744791030884, -0.1432701051235199, 0.12784190475940704, 0.267764151096344, -0.23899799585342407, 0.18102949857711792, -0.0955612063407898, 0.047747962176799774, -0.13217557966709137, -0.1917228400707245, -0.14228825271129608, 0.6970540285110474, 0.1113642007112503, 0.3738028407096863, 0.1625450849533081, 0.02453717589378357, 0.1381143480539322, -0.2829459011554718, 0.042777471244335175, 0.17386740446090698, -0.1579853594303131, -0.14301727712154388, 0.1547756940126419, 0.05579359456896782, 0.3227076530456543, -0.437359482049942, -0.022463053464889526, 0.39721420407295227, -0.11674395948648453, 0.27518948912620544, 0.22427964210510254, 0.11533468961715698, 0.3580942749977112, 0.14345020055770874, 0.13215330243110657, 0.001341729424893856, 0.10923425853252411, 0.1799474060535431, -0.0035099759697914124, -0.23744140565395355, 0.04966893792152405, 0.4349316954612732, 0.3842267692089081, 0.3404262065887451, 0.15608477592468262, 0.033159032464027405, 0.5982913374900818, 0.09746358543634415, 0.36425602436065674, 0.5573421120643616, -0.11386191844940186, 0.17904219031333923, 0.012748539447784424, -0.059138357639312744, 0.24528512358665466, 0.09602627158164978, 0.21208760142326355, -0.11651129275560379, -0.1619306206703186, -0.320756196975708, 0.17034612596035004, -0.031393587589263916, -0.30002743005752563, -0.13261248171329498, -0.1729407012462616, -0.057483263313770294, -0.12232242524623871, 0.1454947292804718, -0.18785710632801056, 0.2651420831680298, -0.12105374038219452, 0.06375577300786972, -0.2263011634349823, -0.19451001286506653, -0.014107529073953629, 0.30186986923217773, -0.12729512155056, -0.032343074679374695, 0.0495518334209919, -0.3191598057746887, 0.30432936549186707, 0.40271830558776855, 0.15462681651115417, -0.08716525137424469, 0.4142966866493225, 0.11151408404111862, -0.25579145550727844, -0.2287139892578125, -0.22416076064109802, 0.15805956721305847, 0.22658146917819977, 0.1866680234670639, 0.07117405533790588, 0.2651605010032654, -0.32173964381217957, 0.09747450798749924, 0.06180328503251076, 0.12041652202606201, -0.13922622799873352, -0.0746171697974205, -0.1497168242931366, -0.15574970841407776, -0.30001410841941833, 0.0026519224047660828, -0.07874515652656555, -0.053131937980651855, 0.048510998487472534, -0.09047259390354156, -0.090728759765625, -0.15182150900363922, 0.1572328358888626, 0.2259545922279358, 0.31944355368614197, 0.2637643814086914, -0.06194717437028885, 0.0712570995092392, -0.22524231672286987, -0.3590248227119446, 0.21521729230880737, 0.23901592195034027, -0.06326556950807571, -0.02791113406419754, -0.11681666970252991, 0.3817327618598938, -0.027909889817237854, 0.14238715171813965, -0.25187948346138, 0.3580162823200226, -0.16136015951633453, -0.38606926798820496, 0.13584136962890625, 0.06094498559832573, -0.0844682827591896, 0.3375140428543091, 0.14012131094932556, 0.10091827809810638, -0.059719305485486984, 0.19658172130584717, -0.27157872915267944, 0.27567505836486816, -0.34143516421318054, -0.2582847476005554, 0.23235993087291718, 0.07489515841007233, -0.03530535101890564, -0.3029361665248871, -0.16953971982002258, 0.11121498048305511, -0.14175213873386383, -0.3417825996875763, 0.1444515883922577, 0.18612141907215118, 0.16153843700885773, 0.0021271072328090668, -0.20297911763191223, -0.002945670858025551, 0.4070787727832794, 0.20966990292072296, -0.41085025668144226, -0.26586800813674927, 0.44800814986228943, 0.24009355902671814, -0.2560991048812866, -0.12357357889413834, 0.28916236758232117, 0.08311758935451508, -0.2813335955142975, -0.22783349454402924, -0.35691794753074646, 0.4607042372226715, -0.1457420438528061, -0.06390641629695892, -0.18884605169296265, 0.014759570360183716, 0.4793865382671356, 0.029889121651649475, -0.7826741933822632, 0.1600831151008606, 0.006477253045886755, 0.1334395408630371, -0.12962917983531952, 0.4895084500312805, -0.06942729651927948, -0.04123456031084061, -0.1143578588962555, 0.28083744645118713, 0.2800631821155548, -0.03869069740176201, 0.04336996749043465, -0.1905159056186676 ]
https://github.com/huggingface/datasets/pull/1998
Add -DOCSTART- note to dataset card of conll-like datasets
Nice catch! Yes I didn't check the actual data, instead I was just looking for the `if line.startswith("-DOCSTART-")` pattern.
Closes #1983
19
text: Add -DOCSTART- note to dataset card of conll-like datasets Closes #1983 Nice catch! Yes I didn't check the actual data, instead I was just looking for the `if line.startswith("-DOCSTART-")` pattern.
[ -0.19337032735347748, 0.11999642848968506, -0.09886063635349274, 0.12611809372901917, 0.14833025634288788, -0.08394276350736618, 0.23000793159008026, 0.26998382806777954, 0.13409657776355743, -0.13827969133853912, 0.4375630021095276, 0.400727778673172, 0.17004261910915375, 0.23617731034755707, 0.06989192962646484, 0.22405806183815002, 0.16556286811828613, 0.23884765803813934, 0.05862494558095932, -0.04101211205124855, -0.2969011068344116, 0.20882396399974823, -0.30075618624687195, 0.01369977742433548, -0.38471290469169617, 0.12333329766988754, 0.11594615876674652, 0.35412585735321045, 0.099771648645401, -0.211206316947937, 0.13018886744976044, 0.10828639566898346, -0.046390142291784286, 0.4503682553768158, -0.00010480622586328536, -0.30774715542793274, 0.017903070896863937, -0.024180499836802483, -0.29985472559928894, -0.0355297327041626, -0.39151737093925476, -0.3073962926864624, -0.2276521921157837, -0.26104894280433655, 0.052994661033153534, -0.1086852103471756, 0.07048899680376053, -0.49215003848075867, 0.038465507328510284, 0.33478742837905884, 0.22034311294555664, 0.19478647410869598, 0.19875900447368622, 0.000920584483537823, 0.36725106835365295, -0.11078950762748718, 0.018242718651890755, 0.17241503298282623, 0.22300684452056885, -0.24387264251708984, 0.2985793352127075, 0.32735395431518555, -0.23903131484985352, -0.13703490793704987, 0.11113902926445007, 0.05666929483413696, 0.10753927379846573, 0.2286992222070694, 0.1908043622970581, 0.23094689846038818, 0.5256456732749939, -0.45056506991386414, 0.17330119013786316, -0.21412062644958496, -0.14279164373874664, -0.36255010962486267, 0.10712006688117981, -0.037518687546253204, -0.2479330152273178, 0.08429402112960815, 0.17943090200424194, -0.1640247404575348, -0.3073079586029053, 0.0627373531460762, -0.16574278473854065, 0.14964400231838226, -0.09700186550617218, -0.08300981670618057, 0.24043652415275574, 0.016664298251271248, 0.11794551461935043, 0.14739352464675903, -0.32925650477409363, 0.17707017064094543, 0.001379411667585373, -0.1684587150812149, 0.05463659018278122, 0.14595814049243927, 0.43380308151245117, 0.01008046604692936, 0.18451382219791412, 0.24516314268112183, 0.0436791330575943, 0.10377748310565948, 0.1832038164138794, -0.09582091867923737, 0.362309068441391, 0.12808862328529358, 0.049410466104745865, -0.06089174374938011, -0.1653478443622589, 0.02942132204771042, -0.13411062955856323, -0.23598481714725494, 0.24794836342334747, 0.03063470497727394, 0.369070827960968, -0.18855434656143188, -0.10544990003108978, 0.48516735434532166, -0.1583232879638672, -0.09401093423366547, -0.12373670190572739, 0.3865819275379181, 0.20412996411323547, -0.019422776997089386, 0.4256274104118347, -0.17453350126743317, -0.15693072974681854, 0.06452474743127823, -0.17771658301353455, -0.03400832414627075, -0.07226700335741043, -0.18232429027557373, -0.021837882697582245, -0.0774582028388977, -0.08843635022640228, -0.0807306170463562, -0.3857256770133972, -0.11608776450157166, 0.1887294352054596, -0.09923212230205536, 0.3204987049102783, 0.23071058094501495, -0.20968148112297058, -0.024101445451378822, 0.02793673798441887, 0.013640567660331726, 0.08574200421571732, 0.4486568868160248, -0.04310742765665054, -0.09917938709259033, -0.3902231752872467, 0.35750988125801086, -0.023665400221943855, -0.19001461565494537, 0.1891983300447464, -0.011848490685224533, 0.20659497380256653, -0.4090035557746887, 0.2675279974937439, -0.05614399164915085, -0.10093097388744354, 0.03155865892767906, 0.09269946813583374, 0.4430176615715027, -0.32899370789527893, 0.0013097897171974182, -0.05682746320962906, -0.2029602825641632, -0.04774508625268936, 0.11611227691173553, -0.0068564461544156075, 0.3083248734474182, -0.27222731709480286, 0.21537993848323822, 0.27465271949768066, -0.09699346870183945, -0.1127123087644577, 0.259272962808609, -0.34497302770614624, -0.30748963356018066, -0.014819346368312836, 0.04451389238238335, -0.07486438006162643, -0.15262606739997864, 0.031496286392211914, -0.2670668363571167, 0.03172061964869499, -0.04731149971485138, -0.18364791572093964, 0.1647375375032425, -0.17836236953735352, -0.3210427165031433, 0.02304329350590706, -0.2537441849708557, -0.13836956024169922, 0.27983778715133667, 0.5341347455978394, 0.16419094800949097, -0.20421993732452393, -0.0828666239976883, 0.4304875135421753, 0.08626813441514969, 0.09019824117422104, -0.2403201162815094, -0.2439766824245453, -0.13119077682495117, 0.24623119831085205, -0.18848247826099396, 0.14026935398578644, -0.21205930411815643, -0.4306485950946808, 0.3873080015182495, 0.1507878303527832, 0.06413088738918304, 0.29617810249328613, 0.3041362762451172, -0.2639678120613098, 0.06089736148715019, -0.2666703760623932, 0.12159619480371475, -0.22963647544384003, 0.09428267180919647, 0.045973215252161026, -0.09584010392427444, 0.1287168264389038, 0.07906515151262283, -0.3297334611415863, 0.010495059192180634, 0.15092433989048004, -0.011294634081423283, 0.026144184172153473, 0.4568813443183899, 0.06426011025905609, 0.16590458154678345, -0.07035941630601883, -0.06641748547554016, -0.2535342872142792, -0.002125583589076996, -0.1975415050983429, 0.044913679361343384, 0.18533197045326233, -0.0017544254660606384, -0.3632292151451111, -0.25440311431884766, 0.0665397047996521, 0.01933753490447998, 0.18805205821990967, -0.10757637023925781, -0.0815841555595398, -0.24480870366096497, 0.11959075182676315, -0.46664828062057495, 0.14479517936706543, 0.42225542664527893, -0.062120579183101654, 0.19856351613998413, -0.29360824823379517, 0.06877666711807251, 0.5285394787788391, -0.0832882821559906, 0.31678318977355957, 0.21302157640457153, -0.1330524981021881, 0.19563689827919006, -0.044944681227207184, -0.00839914008975029, 0.20009063184261322, 0.29342177510261536, 0.1840764731168747, 0.24635928869247437, -0.03390566259622574, -0.32637423276901245, 0.3126066327095032, 0.2781095802783966, -0.06570839136838913, 0.3916887044906616, 0.09238820523023605, -0.0948178693652153, -0.41820666193962097, 0.08855102956295013, -0.09794748574495316, 0.03436359763145447, -0.41431301832199097, 0.23068208992481232, 0.05065018683671951, -0.21205246448516846, -0.32984036207199097, -0.4427536129951477, 0.24850843846797943, -0.32085534930229187, 0.27524423599243164, 0.23608073592185974, -0.1620660424232483, 0.16495485603809357, -0.3403928577899933, 0.2613009512424469, -0.14470355212688446, -0.2571820020675659, -0.027940919622778893, -0.20135976374149323, -0.12361634522676468, 0.1562320590019226, 0.2577412724494934, 0.17052170634269714, 0.4613569676876068, -0.3294104337692261, -0.058552905917167664, -0.2969759404659271, -0.3082321584224701, 0.21013164520263672, -0.15440350770950317, 0.15740908682346344, 0.3002799153327942, 0.4208364486694336, -0.040419433265924454, -0.0756809413433075, -0.1626940220594406, -0.0579536035656929, -0.13601328432559967, -0.3059040606021881, 0.17404881119728088, 0.0056715430691838264, -0.4135282039642334, -0.49584558606147766, 0.3951444625854492, -0.412410169839859, 0.2954643964767456, -0.08441229164600372, 0.0723339319229126, -0.006219620816409588, -0.020018603652715683, 0.2500360906124115, -0.05949300155043602, 0.010016145184636116, -0.3162100315093994, -0.017868109047412872, 0.014521226286888123, 0.0022429167293012142, -0.2027747482061386, 0.2446061670780182, -0.07090868055820465, 0.06408140063285828, -0.14193230867385864, -0.2408198118209839, 0.3361545205116272, 0.012590018101036549, -0.2270406037569046, -0.15162920951843262, -0.13544906675815582, 0.5633838772773743, -0.13694719970226288, -0.19048093259334564, -0.4925997257232666, 0.006375037133693695, 0.17906677722930908, -0.34869131445884705, 0.12057149410247803, -0.03610923886299133, 0.3844933807849884, -0.06335224211215973, 0.04545370861887932, -0.2017066329717636, -0.06268621981143951, 0.15702742338180542, -0.27122762799263, 0.41863423585891724, -0.15875837206840515, -0.1146959587931633, -0.17270931601524353, 0.09500983357429504, -0.15722133219242096, 0.16764560341835022, -0.05771336704492569, -0.189813494682312, -0.09428709745407104, 0.01126302033662796, -0.2880308926105499, -0.2678403854370117, 0.20198683440685272, -0.001925043761730194, 0.0953427255153656, -0.0025489628314971924, 0.16789093613624573, -0.3333384096622467, 0.10897967219352722, -0.2650699317455292, 0.18254190683364868, 0.31436190009117126, -0.19818520545959473, -0.21012358367443085, 0.34916549921035767, -0.05313342064619064, 0.4086136817932129, 0.04167113080620766, 0.006299538537859917, -0.19497142732143402, -0.556125283241272, -0.0570380836725235, -0.21358150243759155, 0.48271071910858154, 0.19088564813137054, 0.002543766051530838, 0.2704949975013733, 0.460962176322937, -0.22013214230537415, 0.08194606006145477, -0.24029743671417236, -0.17342327535152435, 0.4469366669654846, 0.23492267727851868, -0.2841798961162567, 0.04152865335345268, 0.4587707817554474, -0.17498047649860382, 0.09192463755607605, -0.24731886386871338, -0.11731043457984924, -0.27801814675331116, -0.19028277695178986, 0.2912406921386719, 0.2717224657535553, -0.19167682528495789, -0.04115483909845352, -0.10411477088928223, 0.1850920021533966, -0.21950796246528625, 0.13124004006385803, 0.11639738082885742, 0.29727259278297424, 0.19730283319950104, 0.21301531791687012, 0.06712320446968079, 0.28829115629196167, 0.3427179455757141, 0.3474004566669464, -0.05146448686718941, -0.12307041883468628, 0.037195369601249695, -0.4111540913581848, 0.3860960900783539, 0.2774861752986908, -0.09542709589004517, 0.21408042311668396, -0.056582070887088776, 0.07277606427669525, -0.06892965734004974, 0.12816792726516724, 0.2568717300891876, 0.2691894769668579, -0.4681794345378876, -0.3654942810535431, 0.4132928252220154, -0.012928548268973827, -0.26432889699935913, 0.19204095005989075, 0.002563074231147766, -0.2738873064517975, 0.076801598072052, -0.19603481888771057, 0.8608155250549316, 0.1621551364660263, 0.09539717435836792, 0.12834250926971436, -0.5033935904502869, 0.37136533856391907, -0.008395697921514511, 0.05411630496382713, -0.2542548179626465, -0.047209177166223526, -0.04570131003856659, -0.17144133150577545, -0.06032739579677582, -0.03635875880718231, -0.23955698311328888, -0.08342660218477249, -0.3939480781555176, -0.02900666370987892, 0.11188148707151413, -0.0039349086582660675, -0.3712046444416046, 0.06336843967437744, -0.14302538335323334, 0.1788565218448639, 0.03520811349153519, 0.08629277348518372, -0.29079392552375793, -0.2237742394208908, 0.1433451920747757, -0.4181503653526306, -0.2079165279865265, -0.021299052983522415, -0.35695990920066833, -0.3223962187767029, -0.2155779004096985, -0.11084789782762527, -0.23882824182510376, 0.05663919076323509, 0.4669744372367859, 0.2356576770544052, -0.1451440006494522, 0.2604031264781952, 0.3097284734249115, -0.10107376426458359, 0.07830467820167542, -0.1287374645471573, 0.4247668981552124, -0.05928561091423035, -0.1276453137397766, -0.023358412086963654, -0.09095054864883423, -0.16172847151756287, -0.21826356649398804, 0.11936505138874054, 0.26246774196624756, -0.3616711497306824, -0.24339385330677032, 0.1509220004081726, -0.06348096579313278, -0.21019376814365387, 0.23694992065429688, 0.04991719499230385, 0.07307205349206924, -0.023085102438926697, -0.11948509514331818, -0.12347569316625595, -0.08658476173877716, 0.2578674554824829, -0.23983800411224365, 0.10870431363582611, 0.4301915466785431, 0.22785593569278717, -0.17126823961734772, -0.37359538674354553, 0.05751977860927582, 0.2579610347747803, -0.27480486035346985, 0.02612999454140663, 0.33778926730155945, -0.11020663380622864, 0.32389894127845764, 0.4964873790740967, -0.06813384592533112, 0.05476824939250946, -0.09225454181432724, -0.2571851909160614, -0.4205433428287506, 0.009409293532371521, -0.19646653532981873, 0.313344806432724, 0.2711920738220215, 0.2895714342594147, 0.09999788552522659, -0.22280831634998322, -0.4241774082183838, 0.1953599900007248, -0.10233957320451736, 0.08591574430465698, 0.34715065360069275, 0.2971116304397583, 0.16002462804317474, -0.2401919811964035, 0.22844985127449036, 0.42061662673950195, -0.17916499078273773, -0.33837100863456726, -0.12165282666683197, 0.054357171058654785, -0.07972623407840729, -0.17706336081027985, -0.008943168446421623, -0.11186494678258896, 0.0744365006685257, -0.1316772848367691, 0.15125784277915955, 0.0982476994395256, -0.1230890303850174, 0.08053620904684067, -0.03631027415394783, 0.3272920250892639, -0.07961523532867432, 0.03271990269422531, 0.1148410215973854, 0.09066259115934372, -0.21313486993312836, -0.15550464391708374, -0.5393193364143372, 0.042128823697566986, 0.4023561179637909, 0.23083549737930298, 0.09040746837854385, 0.29248371720314026, 0.25931867957115173, -0.05691362917423248, -0.09814903140068054, 0.10271706432104111, 0.1632639318704605, 0.09248816221952438, -0.38270026445388794, -0.07626153528690338, -0.0905519500374794, 0.3879970908164978, -0.2665978968143463, -0.10592899471521378, -0.05514201149344444, -0.16889995336532593, 0.161331444978714, 0.1841767579317093, -0.05684418976306915, -0.35832881927490234, -0.3189625144004822, 0.4590591788291931, 0.16254253685474396, -0.16341491043567657, -0.02000977285206318, 0.27721965312957764, -0.34302398562431335, 0.15080270171165466, 0.004917198792099953, 0.11125113070011139, 0.3130519986152649, 0.32962900400161743, 0.3617229163646698, 0.3422272801399231, 0.3771780729293823, 0.15363067388534546, -0.0003253817558288574, -0.2281290888786316, 0.15523222088813782, 0.337493360042572, -0.07799077033996582, 0.3545873165130615, 0.21193808317184448, -0.062335677444934845, 0.17955395579338074, 0.2844223380088806, -0.18336115777492523, -0.07506279647350311, -0.27236324548721313, -0.09709224104881287, -0.3255890905857086, -0.11814786493778229, 0.21393293142318726, -0.2613019347190857, 0.10120116919279099, 0.07981499284505844, -0.06485842168331146, -0.012185007333755493, -0.09722404181957245, 0.19999508559703827, -0.053486041724681854, -0.04126237332820892, -0.00021941214799880981, -0.5219115018844604, 0.04692161828279495, -0.035702094435691833, -0.07409180700778961, 0.2793998718261719, 0.2626281678676605, 0.3616030514240265, 0.2295549511909485, 0.16089187562465668, 0.08964862674474716, -0.23743517696857452, -0.07059050351381302, -0.10854382067918777, 0.20778898894786835, 0.17094331979751587, -0.05877592787146568, 0.17725755274295807, 0.309628963470459, -0.2641500234603882, 0.5980179905891418, 0.2971875071525574, 0.12243551015853882, -0.23018528521060944, -0.2604023516178131, 0.034225475043058395, -0.12379240989685059, -0.4706716239452362, 0.006897479295730591, -0.10357102751731873, -0.01987224444746971, 0.43835774064064026, 0.07328170537948608, 0.4180125296115875, 0.0984794944524765, 0.17684102058410645, 0.28244686126708984, -0.018845971673727036, 0.0020446330308914185, -0.09809967130422592, -0.06710737198591232, -0.30117329955101013, -0.5522080659866333, 0.13856922090053558, 0.08513940870761871, 0.024030858650803566, 0.13445286452770233, -0.3536412715911865, 0.3457101583480835, -0.12695612013339996, 0.1767289936542511, -0.09460987150669098, -0.3145984411239624, -0.08293375372886658, -0.15671007335186005, -0.3002263307571411, 0.16432584822177887, -0.1906067132949829, 0.1170901209115982, -0.31226637959480286, 0.13166937232017517, -0.25429877638816833, 0.26097211241722107, 0.04829742759466171, 0.03365372121334076, 0.01581477001309395, 0.21247439086437225, 0.16672343015670776, 0.05086100101470947, 0.5622544288635254, -0.20201829075813293, 0.2914220988750458, -0.044675927609205246, 0.04297498241066933, -0.2733188569545746, 0.33517172932624817, 0.18069736659526825, 0.16249307990074158, -0.132459819316864, -0.012058775871992111, 0.04230816289782524, -0.12787605822086334, 0.0048156119883060455, -0.05097442865371704, -0.4666859209537506, 0.047303467988967896, -0.03423693776130676, 0.01570383459329605, -0.06896990537643433, 0.3236597776412964, -0.15208786725997925, 0.04750097543001175, -0.06140921264886856, -0.5505407452583313, 0.5897151827812195, -0.20360660552978516, -0.288666695356369, -0.17765361070632935, 0.3692512512207031, 0.03282628208398819, -0.07499797642230988, -0.5746927857398987, -0.01544547826051712, 0.45894336700439453, 0.0827367827296257, -0.5579683184623718, -0.04884948581457138, -0.18456080555915833, 0.1899559497833252, 0.04197998717427254, 0.6608638763427734, 0.2506973147392273, -0.01172323152422905, -0.12490402162075043, -0.34179824590682983 ]
https://github.com/huggingface/datasets/pull/1991
Adding the conllpp dataset
Thanks for the reviews! A note that I have addressed the comments, and waiting for a further review.
Adding the conllpp dataset, is a revision from https://github.com/huggingface/datasets/pull/1910.
18
text: Adding the conllpp dataset Adding the conllpp dataset, is a revision from https://github.com/huggingface/datasets/pull/1910. Thanks for the reviews! A note that I have addressed the comments, and waiting for a further review.
[ -0.1876673549413681, -0.2504580616950989, -0.20714080333709717, -0.09201914072036743, -0.11424693465232849, -0.0177479051053524, 0.04966292530298233, 0.07920341193675995, -0.2963216006755829, 0.07908808439970016, -0.1874738186597824, 0.20065267384052277, 0.06005645543336868, 0.37895092368125916, 0.24865038692951202, -0.11334727704524994, 0.20216533541679382, 0.2834116816520691, 0.03971576318144798, -0.0820431187748909, -0.4035784900188446, 0.25217291712760925, -0.08712311089038849, -0.1511397659778595, -0.1273101419210434, -0.0433804988861084, -0.12008453160524368, 0.2684819996356964, -0.21596814692020416, -0.44325006008148193, 0.30141153931617737, 0.21374888718128204, -0.22991977632045746, 0.20916002988815308, -0.00009772852354217321, -0.17834681272506714, 0.17651596665382385, -0.10078165680170059, 0.011112064123153687, 0.11870594322681427, -0.1679544597864151, -0.40459302067756653, -0.05192919075489044, -0.023208312690258026, -0.11319687962532043, 0.10943488031625748, 0.0020872000604867935, 0.10167136788368225, 0.08449464291334152, 0.09775477647781372, 0.37457019090652466, 0.23704922199249268, 0.1950131505727768, -0.3315254747867584, 0.19670012593269348, 0.05928828567266464, -0.263720840215683, -0.050649311393499374, 0.33200934529304504, 0.04158097505569458, 0.005616039037704468, 0.2873624563217163, 0.10310392081737518, -0.21878963708877563, 0.24368542432785034, 0.0034153619781136513, -0.018795065581798553, -0.12067049741744995, 0.09644214808940887, 0.16083073616027832, 0.48734068870544434, -0.19987165927886963, -0.17067572474479675, -0.12790271639823914, 0.1488349437713623, -0.3640098571777344, -0.04784493148326874, -0.10125403851270676, -0.04557141661643982, 0.08020788431167603, -0.051386427134275436, -0.4084917902946472, -0.15140068531036377, -0.04782012104988098, -0.05413869395852089, 0.19958704710006714, -0.04001510515809059, -0.19192567467689514, 0.05647224932909012, 0.005070747807621956, -0.1655479371547699, 0.0901978611946106, -0.08582545816898346, 0.04070198908448219, -0.05204486474394798, -0.22256046533584595, 0.18968617916107178, -0.08909878879785538, 0.2703952491283417, 0.13687270879745483, -0.15349650382995605, -0.045717351138591766, -0.2835058867931366, 0.06308133900165558, -0.10746948421001434, 0.014151068404316902, 0.28811612725257874, -0.026149339973926544, 0.18402999639511108, 0.044431041926145554, 0.4311390817165375, -0.0052960216999053955, 0.2100183069705963, -0.024403013288974762, -0.43334951996803284, -0.1413075029850006, 0.05627134442329407, -0.19953535497188568, -0.21087892353534698, 0.13238133490085602, 0.08255092054605484, -0.29685649275779724, -0.03920338675379753, 0.23757269978523254, 0.05106906220316887, -0.027979623526334763, 0.19383129477500916, 0.15006904304027557, 0.0383208692073822, -0.1286676824092865, -0.29824280738830566, 0.0288139246404171, -0.09911350905895233, -0.019722959026694298, 0.12507125735282898, -0.3113052248954773, 0.27851539850234985, -0.07513803243637085, 0.025382250547409058, 0.22328531742095947, -0.11080938577651978, 0.231246680021286, 0.1645495891571045, 0.2082500010728836, -0.09190188348293304, -0.15709389746189117, 0.020646056160330772, -0.07856424152851105, -0.2334595024585724, 0.03687187284231186, 0.058273766189813614, -0.15268778800964355, -0.41575875878334045, 0.3220043182373047, 0.028934475034475327, -0.49748358130455017, 0.10723625123500824, 0.4183742105960846, -0.0514911487698555, -0.13194982707500458, 0.19088494777679443, 0.24751174449920654, -0.1455550640821457, -0.059080012142658234, 0.20046330988407135, 0.24792823195457458, -0.30836522579193115, -0.22164148092269897, 0.03040674701333046, -0.39553478360176086, 0.20923282206058502, 0.0376257486641407, -0.06602253764867783, -0.004634067416191101, -0.060274139046669006, 0.10792607069015503, 0.22113081812858582, 0.0023837536573410034, -0.32884401082992554, 0.023277783766388893, -0.19119882583618164, -0.02392229065299034, -0.0007143542170524597, 0.07402210682630539, -0.03939078748226166, 0.034127384424209595, 0.18544089794158936, -0.08433841913938522, 0.12708644568920135, -0.17926248908042908, -0.24845483899116516, -0.060983940958976746, 0.07892660051584244, 0.11086365580558777, -0.0015425346791744232, 0.07656871527433395, 0.1829262673854828, -0.1968080848455429, 0.3575439453125, -0.0637054592370987, 0.07467623800039291, 0.2718766927719116, 0.5855855345726013, 0.09909742325544357, -0.08458033949136734, -0.03421806916594505, -0.30207979679107666, -0.06787720322608948, -0.10572762787342072, 0.2459275722503662, 0.15986666083335876, -0.1694471687078476, -0.3960317373275757, 0.03643828630447388, -0.033238861709833145, -0.3394245505332947, 0.2532641291618347, 0.17428424954414368, -0.2537938356399536, 0.08052924275398254, -0.05175032094120979, 0.40050172805786133, 0.01478285901248455, -0.040758755058050156, -0.18162786960601807, 0.14228008687496185, -0.13511481881141663, 0.052757956087589264, 0.009207669645547867, 0.2831103801727295, -0.02614521235227585, -0.04830749332904816, 0.09147340804338455, 0.2864718437194824, -0.12252393364906311, 0.06124943122267723, 0.4675041139125824, -0.04985561966896057, 0.2776382863521576, 0.05388006195425987, -0.07781429588794708, -0.3335011899471283, -0.040937863290309906, -0.04458194971084595, -0.1904774010181427, 0.2033531367778778, 0.48523974418640137, -0.22604528069496155, -0.00724468007683754, 0.11312606185674667, 0.25387442111968994, -0.0590728260576725, -0.021093212068080902, -0.2271437793970108, 0.18740735948085785, 0.2954730987548828, 0.365121990442276, -0.04293181002140045, -0.5009657144546509, 0.19610068202018738, 0.3164864480495453, -0.28718411922454834, -0.07479620724916458, 0.3074234127998352, -0.11623599380254745, -0.03685735911130905, 0.15008458495140076, 0.02733566239476204, 0.10734230279922485, 0.3365664780139923, 0.14423805475234985, 0.0778893455862999, -0.08964980393648148, -0.21185727417469025, 0.21412935853004456, 0.10465435683727264, 0.11078157275915146, 0.1427675485610962, 0.23838236927986145, 0.051752377301454544, -0.5265400409698486, -0.1762390434741974, -0.07714789360761642, 0.09276560693979263, 0.10237088799476624, -0.28941094875335693, -0.13793130218982697, -0.19360753893852234, -0.049320705235004425, -0.3004905879497528, -0.2924772799015045, -0.4380316138267517, 0.1805368959903717, -0.06505198776721954, -0.12572649121284485, 0.3773305416107178, -0.010717533528804779, 0.5300633311271667, -0.1228732317686081, -0.050746023654937744, -0.2158435434103012, -0.03461199253797531, -0.015405289828777313, 0.3385064899921417, -0.0503774993121624, -0.363576203584671, 0.5097214579582214, -0.2458457499742508, 0.29379767179489136, -0.31776052713394165, -0.6397219300270081, 0.15465965867042542, -0.3230801224708557, -0.08452969044446945, 0.3298344016075134, 0.025056086480617523, -0.08619770407676697, -0.2188866138458252, 0.06416182219982147, -0.20999479293823242, -0.39567574858665466, -0.384855180978775, -0.11299419403076172, -0.042621124535799026, -0.2653229832649231, -0.44930729269981384, -0.13314735889434814, -0.30546078085899353, 0.5251136422157288, -0.04807279258966446, 0.009826406836509705, 0.10046494007110596, -0.1387011855840683, 0.20877189934253693, -0.07149363309144974, 0.09847668558359146, -0.3660757839679718, -0.21240796148777008, 0.14368873834609985, -0.34374910593032837, -0.16906385123729706, 0.016188498586416245, 0.07331699877977371, 0.1338958740234375, -0.26531630754470825, -0.4753798842430115, -0.24895934760570526, -0.09139897674322128, 0.47519242763519287, -0.015957970172166824, 0.12230600416660309, 0.2834165394306183, 0.1939079463481903, -0.2787773311138153, -0.31722375750541687, -0.37976717948913574, -0.033433325588703156, 0.11640004813671112, 0.29530635476112366, -0.2106752097606659, 0.15260568261146545, -0.02182738110423088, 0.4814971089363098, 0.18553835153579712, 0.01685994304716587, 0.24279676377773285, -0.1402493566274643, 0.44275468587875366, -0.13426750898361206, -0.16767627000808716, 0.11405543982982635, -0.006288215517997742, 0.20167094469070435, 0.3599224090576172, 0.1432061791419983, -0.2898070216178894, -0.11121035367250443, -0.20965217053890228, -0.1167786568403244, -0.07112665474414825, -0.2901868522167206, 0.31030482053756714, 0.2052370309829712, 0.0844092071056366, -0.21385440230369568, -0.34642893075942993, 0.032569508999586105, -0.027048056945204735, 0.3368632197380066, 0.048283305019140244, -0.05310962349176407, -0.14684775471687317, 0.20068374276161194, -0.8741881847381592, 0.27895528078079224, 0.05188038945198059, -0.2028455138206482, -0.25702816247940063, -0.2762033939361572, 0.08074674010276794, 0.010921373963356018, 0.5473739504814148, -0.1158270314335823, -0.39377182722091675, 0.1118617057800293, 0.04860185086727142, -0.15426264703273773, 0.14793133735656738, -0.17578846216201782, 0.03888378664851189, 0.8574457764625549, 0.34141871333122253, -0.14571310579776764, -0.10620670765638351, 0.37135735154151917, -0.04177885502576828, -0.008438177406787872, -0.07614085078239441, -0.1700557917356491, -0.37407830357551575, -0.1498149335384369, 0.04726412147283554, -0.04665215685963631, 0.1787492334842682, 0.12694789469242096, 0.008779153227806091, 0.3088480830192566, 0.019394315779209137, 0.16486263275146484, 0.15527835488319397, 0.17970356345176697, 0.29107508063316345, 0.03941318020224571, 0.05111950635910034, 0.33943066000938416, 0.2520036995410919, 0.39024290442466736, -0.37194061279296875, -0.23415139317512512, 0.08378058671951294, -0.34727486968040466, 0.5034154057502747, 0.13597536087036133, 0.15487080812454224, 0.13485118746757507, 0.05282546952366829, 0.15126726031303406, -0.22165998816490173, 0.15589353442192078, 0.16618283092975616, 0.07961428165435791, -0.2826094329357147, -0.27434825897216797, 0.3686576783657074, -0.0013638995587825775, -0.24811360239982605, 0.21005472540855408, 0.0996650829911232, -0.13692006468772888, -0.0717446431517601, 0.02930307760834694, 0.8865721225738525, 0.0518854595720768, 0.2113659828901291, 0.21287581324577332, -0.3471473455429077, 0.21606943011283875, -0.20978327095508575, 0.17078468203544617, -0.1954384595155716, -0.15279272198677063, -0.042728256434202194, 0.017312895506620407, 0.000043839216232299805, -0.1732121706008911, -0.20862069725990295, -0.05583566799759865, 0.12051646411418915, -0.13134407997131348, 0.0823746845126152, 0.18037278950214386, 0.08754128962755203, -0.2696317732334137, -0.07805068045854568, 0.2892410159111023, 0.20371149480342865, 0.13499753177165985, -0.20665153861045837, -0.21950314939022064, -0.11638283729553223, -0.2396034598350525, -0.23478028178215027, 0.08305608481168747, 0.0008255592547357082, 0.11338897049427032, 0.4121577739715576, -0.30902114510536194, -0.0804557055234909, 0.15543816983699799, 0.3489231467247009, -0.0443425215780735, -0.19734929502010345, 0.2459958791732788, 0.012265034019947052, 0.10393856465816498, 0.03776906058192253, 0.2013206034898758, 0.12710875272750854, -0.2667616009712219, -0.2616666257381439, -0.03867386281490326, -0.11043142527341843, -0.4278397560119629, -0.21912305057048798, 0.05567565932869911, 0.009526114910840988, -0.22224310040473938, 0.2529090642929077, 0.4919651448726654, 0.08832637965679169, -0.46845686435699463, 0.23333945870399475, 0.19318415224552155, -0.05496571585536003, -0.1589253544807434, 0.008120156824588776, -0.2911645174026489, -0.23717577755451202, 0.13690263032913208, 0.004848496988415718, -0.20633645355701447, 0.2752676010131836, 0.0792766660451889, -0.2981090545654297, -0.383891224861145, -0.03275004401803017, 0.05092514306306839, -0.1440834105014801, -0.053069841116666794, 0.1671282947063446, -0.24701043963432312, 0.09980420023202896, 0.4682125747203827, 0.17460750043392181, 0.0886022076010704, -0.06335636973381042, -0.10647846013307571, -0.41691118478775024, 0.07751449197530746, -0.25340554118156433, 0.5274277925491333, 0.0380060151219368, 0.5594676733016968, 0.21476557850837708, -0.0524173229932785, -0.5129917860031128, 0.027282556518912315, -0.06924296170473099, -0.10105407238006592, 0.20798993110656738, -0.21671158075332642, 0.22872139513492584, 0.000332430936396122, 0.2528424859046936, -0.09733152389526367, -0.41080671548843384, -0.29438984394073486, -0.13483400642871857, 0.03900189697742462, -0.11164338141679764, -0.15306532382965088, -0.07369883358478546, 0.27378565073013306, -0.1827283650636673, 0.060753751546144485, 0.30461975932121277, 0.07884418964385986, 0.05527537316083908, 0.3544708490371704, -0.1442335695028305, 0.0096205472946167, 0.22332359850406647, -0.029770083725452423, 0.3958541452884674, 0.17743873596191406, -0.0465313158929348, 0.10238254070281982, -0.28959619998931885, 0.04463978111743927, 0.3832288980484009, 0.32221993803977966, 0.16283753514289856, 0.18173879384994507, 0.04611305892467499, 0.006397366523742676, -0.17129603028297424, 0.2031395584344864, 0.28371405601501465, -0.22160056233406067, -0.16645188629627228, 0.016286717727780342, 0.1624925136566162, 0.3731395900249481, -0.42321282625198364, -0.13571175932884216, 0.3822993040084839, 0.14931850135326385, 0.2053322196006775, 0.015511170029640198, 0.26370078325271606, 0.08653853833675385, 0.2894035577774048, 0.09293682128190994, 0.20657101273536682, -0.131985604763031, 0.32843154668807983, -0.13056540489196777, 0.006227385252714157, 0.07381206750869751, 0.18839800357818604, 0.252267062664032, 0.1297682672739029, 0.1229068860411644, 0.19847479462623596, 0.11447382718324661, -0.1446976661682129, 0.18768522143363953, 0.24989864230155945, -0.2872123122215271, 0.4710533916950226, 0.1497822403907776, -0.17689931392669678, 0.20662382245063782, 0.2169559746980667, 0.5261090397834778, -0.21338412165641785, -0.03945236653089523, -0.3390711545944214, 0.304745614528656, -0.10188806802034378, -0.3077195882797241, 0.14772279560565948, -0.18880145251750946, 0.19083699584007263, -0.10738518834114075, 0.13144072890281677, -0.04369543492794037, 0.2791028618812561, -0.12661537528038025, 0.071319080889225, -0.11035630106925964, 0.08374899625778198, 0.02756568230688572, 0.2831078767776489, 0.012198138982057571, 0.11108136177062988, 0.2329646646976471, -0.18226605653762817, 0.15094588696956635, 0.3131985068321228, 0.1690310835838318, -0.2278652787208557, 0.2548676133155823, 0.0977126732468605, -0.12064391374588013, 0.04026397317647934, -0.11168409138917923, 0.06807370483875275, 0.1958024948835373, -0.06963789463043213, 0.22755149006843567, 0.2775299847126007, -0.23480138182640076, 0.2843112051486969, 0.1712825894355774, 0.17746391892433167, -0.07206988334655762, 0.012169748544692993, -0.14536409080028534, -0.31027573347091675, -0.14032140374183655, 0.21164749562740326, -0.15677498281002045, 0.08715681731700897, 0.24854841828346252, -0.007061622105538845, 0.13549816608428955, -0.05410941690206528, 0.17786429822444916, -0.051239971071481705, 0.24909599125385284, 0.29461565613746643, 0.04191230237483978, 0.11155878752470016, -0.43347233533859253, -0.2738637328147888, 0.22650209069252014, 0.19381113350391388, -0.15704983472824097, -0.07063410431146622, -0.06760532408952713, 0.17116843163967133, -0.22222350537776947, 0.34357887506484985, -0.35260510444641113, -0.15583835542201996, -0.41524165868759155, -0.3355507254600525, 0.10271601378917694, 0.3572794795036316, -0.0018899701535701752, 0.1997195929288864, 0.22570091485977173, -0.0324007086455822, 0.011515197344124317, 0.2420538365840912, -0.34920382499694824, 0.04136188328266144, -0.1245039850473404, 0.01001664251089096, 0.20807503163814545, 0.21218803524971008, 0.17213451862335205, -0.49329259991645813, -0.243258535861969, 0.08997690677642822, -0.3525969088077545, -0.15946848690509796, 0.12495429813861847, -0.056889940053224564, 0.2858603298664093, -0.1638476401567459, -0.2796090245246887, 0.13714462518692017, 0.4447191655635834, 0.2595236301422119, 0.009343468584120274, -0.3280923664569855, 0.24748900532722473, 0.043303899466991425, -0.22848831117153168, -0.043963562697172165, 0.37536901235580444, 0.05991925299167633, -0.020614098757505417, -0.21367870271205902, -0.34316080808639526, 0.4699321687221527, 0.058480508625507355, -0.13719770312309265, -0.18588224053382874, 0.02462732046842575, 0.06787557899951935, 0.03495392948389053, -0.6833418011665344, -0.052966538816690445, 0.27924394607543945, 0.12938615679740906, -0.3926860988140106, 0.38123491406440735, -0.09766891598701477, -0.22844727337360382, -0.07916055619716644, 0.5773046016693115, 0.058993879705667496, -0.33876216411590576, 0.1245616227388382, -0.24832108616828918 ]
https://github.com/huggingface/datasets/pull/1985
Optimize int precision
@lhoestq, are the tests OK? Some other cases I missed? Do you agree with this approach?
Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861.
16
text: Optimize int precision Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861. @lhoestq, are the tests OK? Some other cases I missed? Do you agree with this approach?
[ -0.08079218864440918, -0.21496668457984924, -0.30627310276031494, 0.2196078598499298, -0.2904081344604492, -0.18431778252124786, 0.10236974060535431, 0.31958070397377014, -0.04809175431728363, 0.05058877170085907, 0.11732804775238037, -0.08632580935955048, -0.09148992598056793, -0.006577232852578163, -0.27610263228416443, 0.028904665261507034, 0.008695289492607117, 0.1694602072238922, -0.27492040395736694, -0.11923197656869888, -0.40011006593704224, 0.15674863755702972, -0.3416473865509033, -0.16613467037677765, 0.2363184243440628, 0.14949069917201996, -0.036179352551698685, 0.33242541551589966, 0.11679360270500183, 0.004306658171117306, -0.2753589153289795, 0.23901617527008057, -0.1626899540424347, 0.2661767899990082, -0.00010516712791286409, -0.41484206914901733, 0.0005387105047702789, -0.0869964212179184, -0.19620013236999512, 0.5658168196678162, -0.032230086624622345, -0.28992223739624023, -0.23313720524311066, -0.4258289337158203, 0.023719269782304764, 0.15553274750709534, 0.01949203759431839, -0.5625763535499573, 0.45942139625549316, 0.47047191858291626, 0.2547478675842285, 0.26927119493484497, -0.020415395498275757, 0.19889022409915924, -0.04431015998125076, 0.16259458661079407, -0.038071032613515854, 0.005667221732437611, 0.2540578544139862, 0.20468267798423767, 0.061035607010126114, 0.10520488023757935, 0.06895717233419418, -0.05053437873721123, 0.12928372621536255, -0.1598098874092102, 0.09135931730270386, 0.06848950684070587, 0.17274191975593567, 0.06624548882246017, 0.34596502780914307, -0.10798471421003342, -0.11061222851276398, -0.06482905894517899, -0.3726096451282501, -0.5076834559440613, 0.053274527192115784, -0.1585875302553177, 0.039498161524534225, -0.038468439131975174, -0.6134603023529053, -0.4296415448188782, -0.16202962398529053, -0.30081886053085327, -0.006524760276079178, -0.10803890228271484, -0.1205090880393982, -0.18754905462265015, 0.021170608699321747, -0.28368598222732544, -0.24994394183158875, -0.09349186718463898, -0.18579506874084473, 0.1687195897102356, -0.16633059084415436, -0.37619292736053467, -0.09888503700494766, 0.10074389725923538, 0.29971230030059814, -0.035317935049533844, 0.1597745269536972, 0.26823705434799194, 0.2893620431423187, -0.23225721716880798, 0.08262212574481964, 0.33062925934791565, 0.359773725271225, -0.03582899272441864, -0.00991927832365036, -0.0018713700119405985, -0.2072385996580124, 0.194624125957489, 0.19743241369724274, -0.48541244864463806, 0.11618740856647491, 0.08303302526473999, -0.15716169774532318, -0.34477558732032776, -0.13428059220314026, 0.27251043915748596, -0.19663593173027039, -0.4769943058490753, -0.08128150552511215, 0.11647740006446838, 0.2026844024658203, -0.1106245145201683, -0.04965801164507866, 0.18344685435295105, -0.38417693972587585, -0.16520367562770844, -0.27935582399368286, 0.2866382300853729, 0.07013551890850067, -0.09326944500207901, 0.02117389813065529, 0.3165450096130371, -0.2261984795331955, 0.039492540061473846, -0.01703793555498123, -0.15051397681236267, 0.06800906360149384, -0.14369957149028778, 0.2009122222661972, 0.13390973210334778, -0.20477059483528137, -0.05670422315597534, -0.24234561622142792, -0.1961924284696579, -0.27093812823295593, 0.5465190410614014, 0.01445351168513298, -0.13961529731750488, -0.11967998743057251, 0.3316304683685303, -0.16107279062271118, 0.07623299956321716, 0.1289326697587967, 0.20007580518722534, 0.11461936682462692, -0.016724688932299614, 0.26837825775146484, -0.34930646419525146, -0.004138186573982239, -0.17252686619758606, 0.2046162188053131, 0.4972512722015381, -0.24483253061771393, 0.023358918726444244, -0.24405242502689362, -0.009736258536577225, 0.31765156984329224, 0.4284197688102722, 0.12151263654232025, 0.3554363250732422, -0.20325088500976562, 0.2996692657470703, 0.48625820875167847, -0.07865476608276367, -0.05397879332304001, 0.2877436876296997, -0.17498710751533508, -0.034699127078056335, 0.17670175433158875, -0.24400149285793304, 0.12041660398244858, -0.34218597412109375, 0.011737994849681854, -0.21066074073314667, 0.00825984962284565, -0.24622032046318054, -0.48187461495399475, 0.1361280381679535, 0.0701734870672226, 0.25671136379241943, 0.06702142208814621, -0.291201651096344, 0.009993679821491241, -0.07825849205255508, 0.24520426988601685, -0.16447684168815613, -0.12063944339752197, 0.13531816005706787, 0.0651588961482048, -0.41765666007995605, -0.21969565749168396, 0.135101318359375, 0.039036937057971954, -0.057866789400577545, -0.04765540361404419, -0.006843335926532745, 0.588703989982605, 0.027690283954143524, -0.20060384273529053, -0.14600621163845062, 0.2929805815219879, -0.16309505701065063, 0.18311807513237, -0.10301120579242706, -0.10183854401111603, -0.0721747949719429, 0.0565391443669796, 0.15943443775177002, -0.1402340680360794, -0.11721881479024887, 0.1251143217086792, -0.4399903416633606, 0.03477277606725693, 0.12348426878452301, -0.12162746489048004, 0.05638737976551056, 0.08311797678470612, -0.2640647292137146, 0.02445487678050995, 0.2627961039543152, -0.05851591005921364, -0.1665642410516739, 0.2520642578601837, 0.4938132166862488, 0.08314520120620728, -0.03834487497806549, 0.28603395819664, -0.1144414097070694, -0.0467599481344223, -0.13942894339561462, -0.346402645111084, 0.361860454082489, -0.12538042664527893, -0.22787782549858093, 0.06457848846912384, -0.2584451138973236, 0.05865829437971115, -0.3709527254104614, -0.07728638499975204, 0.1648806482553482, 0.40111973881721497, 0.37813282012939453, -0.13852711021900177, 0.199366495013237, -0.22015023231506348, -0.002936527132987976, 0.1532762199640274, -0.29599112272262573, 0.0767085999250412, 0.4109346568584442, 0.3055891990661621, -0.02484375610947609, -0.05001167207956314, -0.2904474437236786, 0.583565354347229, 0.1443917453289032, 0.22514568269252777, 0.11644592881202698, 0.1962796151638031, -0.11191879212856293, 0.4662259519100189, 0.1247204914689064, -0.18516544997692108, 0.18438145518302917, -0.1744977980852127, 0.31533172726631165, -0.06213403865695, -0.22751931846141815, -0.09307438880205154, -0.09766193479299545, -0.4895591139793396, -0.06636355817317963, 0.14226378500461578, 0.041836947202682495, -0.2465265691280365, 0.1544322967529297, 0.053411662578582764, -0.14708548784255981, 0.12041879445314407, -0.3205154240131378, -0.27352508902549744, 0.02387946844100952, -0.1161433756351471, 0.934952974319458, -0.1179310753941536, -0.01732250489294529, 0.038881272077560425, 0.2061765193939209, -0.25555992126464844, 0.22479870915412903, 0.1904224157333374, 0.10508361458778381, 0.40232720971107483, -0.32418835163116455, 0.19865339994430542, -0.19089171290397644, -0.2741203308105469, -0.06319613754749298, -0.11397482454776764, 0.2518119215965271, 0.16884693503379822, 0.12621386349201202, -0.5330036878585815, 0.1442490667104721, -0.08430477976799011, 0.18247050046920776, -0.019114822149276733, -0.40124595165252686, 0.34152206778526306, -0.1372121125459671, -0.30775660276412964, -0.2837643623352051, -0.06594422459602356, -0.2393472045660019, 0.35505837202072144, 0.13615268468856812, 0.20935600996017456, -0.008582447655498981, -0.19470380246639252, 0.19254761934280396, 0.20068559050559998, 0.09069095551967621, -0.11656909435987473, -0.1516088992357254, -0.03569098189473152, -0.004855582024902105, -0.18699069321155548, -0.150978222489357, 0.22195680439472198, 0.08304299414157867, -0.04591819643974304, -0.25468552112579346, 0.12903256714344025, -0.0729394182562828, 0.058614056557416916, -0.2646465599536896, 0.1704508513212204, 0.18369674682617188, -0.18444503843784332, -0.16674979031085968, -0.15222617983818054, -0.22522912919521332, 0.17613103985786438, -0.11512019485235214, 0.24713853001594543, -0.048395685851573944, 0.0952964723110199, -0.17989981174468994, 0.22841531038284302, 0.14328068494796753, -0.08433212339878082, -0.02350834757089615, 0.19045817852020264, -0.04229189082980156, 0.1322636902332306, 0.024112915620207787, 0.5099974870681763, 0.19975055754184723, -0.32289302349090576, 0.24475334584712982, -0.19887083768844604, 0.11848636716604233, -0.055236004292964935, -0.12178841233253479, -0.4264833331108093, -0.23031410574913025, 0.4331098794937134, -0.13144570589065552, 0.10950565338134766, -0.20979981124401093, 0.008294858038425446, 0.04218558967113495, 0.1265260875225067, -0.07451432943344116, 0.042476724833250046, 0.404241681098938, -0.44702446460723877, -0.21724823117256165, -0.1646748036146164, -0.3387896418571472, 0.5799391269683838, -0.28143373131752014, 0.4597700536251068, -0.10148541629314423, -0.3634968400001526, -0.23974542319774628, -0.15903709828853607, 0.5318847298622131, 0.15484324097633362, -0.019744478166103363, 0.28565821051597595, 0.04183664172887802, 0.03890174627304077, -0.06837742030620575, -0.3906009793281555, 0.12993887066841125, 0.34527820348739624, 0.22543828189373016, -0.27406302094459534, -0.09955962002277374, 0.23144479095935822, -0.07667279243469238, 0.11631198227405548, -0.12058670073747635, 0.19211597740650177, -0.27735018730163574, 0.1905786544084549, 0.3639666736125946, 0.13545812666416168, 0.04873598366975784, -0.3567158579826355, 0.3529547154903412, 0.05944065749645233, -0.14481529593467712, 0.35852837562561035, -0.0925409346818924, 0.33275583386421204, -0.15559516847133636, 0.09163866937160492, -0.25558608770370483, -0.21919959783554077, -0.06075746566057205, 0.21489083766937256, -0.2604369819164276, -0.07336726784706116, 0.2611095905303955, -0.2569739818572998, 0.5200365781784058, 0.30945098400115967, 0.21986721456050873, -0.18047508597373962, -0.3044280707836151, 0.39532893896102905, -0.2428874671459198, -0.004798106849193573, 0.03311415761709213, 0.17515456676483154, -0.2764585018157959, 0.1417064517736435, 0.22765418887138367, 0.13484473526477814, -0.11798648536205292, 0.3472990393638611, -0.04652874171733856, -0.41734012961387634, 0.003449232317507267, 0.4844556450843811, 1.0433257818222046, 0.03657900169491768, 0.06851617246866226, -0.2300277054309845, -0.21933729946613312, -0.05299348011612892, -0.24541929364204407, 0.020635897293686867, -0.33544212579727173, -0.30198487639427185, 0.12379314005374908, -0.13320307433605194, 0.24996250867843628, 0.0662047266960144, -0.5773285627365112, 0.15139555931091309, -0.16364553570747375, -0.06102214381098747, -0.004553871229290962, 0.1113881915807724, -0.08337010443210602, 0.1142875999212265, -0.24208992719650269, 0.1427827775478363, 0.1040833443403244, -0.0943221002817154, -0.25001195073127747, 0.024395965039730072, 0.009500492364168167, -0.35383909940719604, -0.01691717654466629, -0.1969151496887207, -0.04031576216220856, -0.06182151287794113, -0.04526975378394127, -0.12298521399497986, 0.31238865852355957, 0.1625645011663437, 0.37632322311401367, 0.3324976861476898, -0.07902629673480988, 0.15480460226535797, 0.24469980597496033, 0.4557951092720032, 0.4764604866504669, 0.0706118568778038, 0.00972961075603962, -0.1346016526222229, 0.31977468729019165, -0.02959880232810974, -0.16367219388484955, -0.005368378013372421, -0.3092304766178131, 0.009613275527954102, -0.08855175971984863, -0.4602043032646179, -0.18826861679553986, -0.150348499417305, -0.3593553602695465, 0.03032960370182991, 0.22836899757385254, 0.22513672709465027, 0.07666072249412537, 0.44479402899742126, -0.10785233974456787, -0.35329610109329224, -0.16313083469867706, 0.09144734591245651, -0.17195823788642883, -0.28323686122894287, 0.2935054898262024, -0.07380321621894836, -0.1597042977809906, -0.3669823408126831, 0.26269352436065674, -0.002205629600211978, 0.0460919588804245, 0.1237303614616394, -0.3512893319129944, -0.04251536726951599, 0.07997458428144455, 0.4182322919368744, 0.26518514752388, -0.018266834318637848, 0.06384594738483429, -0.2530466914176941, -0.15531036257743835, 0.18302758038043976, -0.1384749412536621, 0.37400022149086, -0.1055564135313034, -0.12057828903198242, 0.014278816059231758, 0.05464477837085724, -0.41242632269859314, -0.04537690430879593, -0.13298426568508148, -0.20716769993305206, -0.05636008083820343, 0.18785244226455688, 0.011359411291778088, 0.012841980904340744, 0.22947320342063904, 0.19853834807872772, -0.28490105271339417, -0.29164770245552063, 0.17894484102725983, 0.12558874487876892, -0.318927526473999, -0.24567820131778717, 0.06247147545218468, -0.007828067988157272, -0.03391942381858826, 0.043680254369974136, -0.31875476241111755, -0.3216535151004791, 0.04879074543714523, 0.29443830251693726, 0.22956275939941406, -0.10616566985845566, -0.04605652019381523, -0.03393138200044632, 0.2681969106197357, 0.3566991090774536, -0.07157009094953537, 0.22810694575309753, 0.1043410450220108, -0.32443779706954956, -0.03548494353890419, 0.15745456516742706, 0.24151800572872162, 0.03816341981291771, -0.09935121983289719, 0.111456960439682, -0.11265549063682556, 0.10390269011259079, 0.12754905223846436, 0.5595505237579346, -0.5810335278511047, -0.1708601862192154, -0.08155421912670135, 0.350023478269577, 0.021921291947364807, -0.05056732892990112, -0.07299098372459412, -0.02383459359407425, -0.24265220761299133, 0.3244188129901886, -0.008216902613639832, -0.20504650473594666, -0.0004891008138656616, 0.14134642481803894, 0.22000959515571594, -0.09718745201826096, -0.08714920282363892, 0.414858877658844, -0.29178258776664734, -0.0012156330049037933, 0.23628193140029907, -0.018546849489212036, 0.12851010262966156, 0.18295197188854218, 0.2253720760345459, 0.3481985032558441, -0.028960518538951874, 0.4243518114089966, -0.2374950349330902, -0.2395458072423935, 0.32281479239463806, 0.3059535622596741, -0.3544461131095886, 0.2398969829082489, 0.18464471399784088, 0.20509988069534302, -0.07238737493753433, -0.2251642495393753, -0.1430804580450058, -0.012523278594017029, -0.1726401150226593, -0.0381639301776886, 0.07355470955371857, -0.1824372410774231, -0.16477906703948975, -0.09868365526199341, -0.18129916489124298, 0.25433987379074097, 0.23979349434375763, 0.10564886778593063, 0.28372400999069214, 0.3542402386665344, 0.01619366928935051, -0.23244506120681763, 0.11518625915050507, -0.48237746953964233, 0.1531665325164795, 0.3645052909851074, 0.0875682458281517, 0.19751709699630737, 0.16910158097743988, 0.5167622566223145, 0.15931247174739838, -0.0006927307695150375, -0.08444422483444214, -0.2565878927707672, 0.10150256752967834, -0.054078973829746246, 0.20486564934253693, 0.2371087670326233, -0.1707596629858017, 0.16243666410446167, 0.2848660349845886, -0.14182128012180328, 0.6582762002944946, 0.07347846031188965, -0.18616628646850586, -0.45795390009880066, -0.015185005962848663, 0.38353046774864197, -0.26442399621009827, 0.01953616365790367, -0.31504765152931213, 0.03217560052871704, 0.008982925675809383, 0.004774277098476887, 0.11858118325471878, 0.2592068314552307, 0.22551389038562775, 0.15924128890037537, 0.2548631727695465, 0.37883809208869934, 0.06900598108768463, 0.388897180557251, -0.4851977527141571, -0.3918496370315552, -0.393137127161026, -0.17835894227027893, 0.3321129083633423, -0.1001787856221199, 0.4519740641117096, 0.18636968731880188, 0.20340445637702942, -0.1759480983018875, 0.2554667592048645, -0.14153112471103668, 0.06556160002946854, -0.014215879142284393, -0.35218340158462524, 0.1190604716539383, 0.012895125895738602, 0.09285195916891098, -0.04046151041984558, -0.10360760241746902, 0.5592175126075745, -0.1862587034702301, 0.15634813904762268, -0.14772166311740875, 0.12788720428943634, 0.5980246067047119, 0.4135266840457916, 0.11125504970550537, 0.07807711511850357, 0.452021986246109, -0.09357082843780518, -0.07834751904010773, 0.1838299185037613, 0.4028100073337555, 0.13580730557441711, 0.009456902742385864, 0.17741185426712036, -0.1498432159423828, -0.034808289259672165, 0.10766948759555817, 0.12550947070121765, 0.11369114369153976, -0.12866657972335815, 0.11036776006221771, -0.07829654961824417, -0.18166856467723846, 0.28988000750541687, -0.12888915836811066, 0.22331900894641876, 0.47455546259880066, -0.1653766632080078, 0.19801412522792816, -0.4420360326766968, -0.10335349291563034, 0.4532151222229004, 0.07170283794403076, -0.05735357850790024, -0.2969107925891876, 0.442743718624115, -0.4538176655769348, 0.05355040729045868, -0.6055948138237, -0.3502325713634491, 0.5069975256919861, 0.06992068886756897, -0.22761356830596924, 0.3877035081386566, 0.04689469560980797, -0.03891352191567421, 0.04583689197897911, 0.5080989599227905, -0.09661022573709488, 0.20438545942306519, -0.2015117108821869, -0.2582591772079468 ]
https://github.com/huggingface/datasets/pull/1985
Optimize int precision
I just tested this and it works like a charm :) However tokenizing and then setting the format to "torch" to feed the tokens into a model doesn't seem to work anymore, since the pytorch tensors have the int32/int8 precisions instead of int64 that is required as model inputs. For example: ```python import torch from datasets import Dataset from transformers import BertModel, BertTokenizer torch.set_grad_enabled(False) tokenizer = BertTokenizer.from_pretrained("bert-base-uncased") model = BertModel.from_pretrained("bert-base-uncased") dataset = Dataset.from_dict({"text": ["hello there !"]}) dataset = dataset.map(tokenizer, input_columns="text", remove_columns=dataset.column_names) dataset = dataset.with_format("torch") print(dataset.features) # {'attention_mask': Sequence(feature=Value(dtype='int8', id=None), length=-1, id=None), # 'input_ids': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), # this should be int32 though # 'token_type_ids': Sequence(feature=Value(dtype='int8', id=None), length=-1, id=None)} model(**dataset[:1]) # RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.CharTensor instead (while checking arguments for embedding) dataset = dataset.with_format("torch", dtype=torch.int64) model(**dataset[:1]) # works as expected ``` Pinging @sgugger here to make sure we take the right decision here. Do we want the "torch" format to always return int64 ? Or does it have to keep the precision defined by the `dataset.features` and therefore we would need to specify "torch" with `dtype=torch.int64` ?
Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861.
188
text: Optimize int precision Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861. I just tested this and it works like a charm :) However tokenizing and then setting the format to "torch" to feed the tokens into a model doesn't seem to work anymore, since the pytorch tensors have the int32/int8 precisions instead of int64 that is required as model inputs. For example: ```python import torch from datasets import Dataset from transformers import BertModel, BertTokenizer torch.set_grad_enabled(False) tokenizer = BertTokenizer.from_pretrained("bert-base-uncased") model = BertModel.from_pretrained("bert-base-uncased") dataset = Dataset.from_dict({"text": ["hello there !"]}) dataset = dataset.map(tokenizer, input_columns="text", remove_columns=dataset.column_names) dataset = dataset.with_format("torch") print(dataset.features) # {'attention_mask': Sequence(feature=Value(dtype='int8', id=None), length=-1, id=None), # 'input_ids': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), # this should be int32 though # 'token_type_ids': Sequence(feature=Value(dtype='int8', id=None), length=-1, id=None)} model(**dataset[:1]) # RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.CharTensor instead (while checking arguments for embedding) dataset = dataset.with_format("torch", dtype=torch.int64) model(**dataset[:1]) # works as expected ``` Pinging @sgugger here to make sure we take the right decision here. Do we want the "torch" format to always return int64 ? Or does it have to keep the precision defined by the `dataset.features` and therefore we would need to specify "torch" with `dtype=torch.int64` ?
[ -0.1325448453426361, -0.5955802202224731, 0.03845139220356941, 0.11837805062532425, 0.13116824626922607, -0.16816996037960052, 0.5704475045204163, 0.31044501066207886, -0.165355384349823, -0.0041352808475494385, 0.03531350940465927, 0.09299556165933609, -0.1445351243019104, -0.27487483620643616, -0.22941000759601593, -0.3790901303291321, 0.23020893335342407, 0.005496911704540253, 0.08110697567462921, -0.1531999260187149, -0.212354838848114, -0.23955945670604706, -0.14700017869472504, -0.05729438364505768, -0.509521484375, 0.12924623489379883, 0.1080506294965744, -0.10308750718832016, -0.005452562123537064, -0.08962198346853256, 0.03142677992582321, -0.050513844937086105, 0.41198310256004333, 0.37698397040367126, -0.00012747607252094895, -0.12857478857040405, 0.17334210872650146, -0.09806840866804123, -0.09833760559558868, 0.32513993978500366, 0.46249648928642273, -0.24794930219650269, 0.02288135513663292, -0.3418433964252472, -0.026562504470348358, 0.04872296750545502, 0.0029344819486141205, -0.3554154336452484, 0.20469900965690613, 0.2699228525161743, 0.03229731693863869, 0.5703803300857544, 0.13808661699295044, 0.16844061017036438, -0.2684042155742645, 0.2971828579902649, -0.07187284529209137, -0.22937484085559845, -0.053247079253196716, 0.42163345217704773, -0.02548561990261078, 0.3916478753089905, -0.2274167388677597, 0.15556830167770386, 0.4581775367259979, -0.011763873510062695, -0.16196712851524353, -0.16914936900138855, 0.05790741741657257, 0.05281919240951538, 0.13118866086006165, -0.172084242105484, -0.3903253674507141, -0.2651554346084595, -0.2715689539909363, -0.30605679750442505, -0.056926943361759186, 0.06763656437397003, 0.12511613965034485, -0.11940531432628632, -0.2555554509162903, -0.06102137267589569, -0.145320326089859, 0.13266253471374512, -0.2488931119441986, 0.5347995758056641, 0.05020112916827202, 0.08905865997076035, -0.07263725996017456, -0.4778636693954468, -0.1759250909090042, -0.11375874280929565, 0.19367648661136627, 0.1990564912557602, 0.05772541090846062, -0.19006313383579254, -0.2836672067642212, -0.3056633770465851, 0.040000028908252716, -0.3135541081428528, -0.15810826420783997, 0.2860459089279175, -0.012739893980324268, -0.0600140243768692, 0.13814391195774078, 0.264839231967926, 0.129014790058136, 0.4484976530075073, 0.02078106254339218, -0.20292705297470093, 0.13920170068740845, 0.09489474445581436, 0.0843382254242897, -0.11058437079191208, 0.15862181782722473, -0.06832730025053024, 0.06274306029081345, 0.07532164454460144, -0.11849739402532578, 0.2044181376695633, -0.28615984320640564, -0.03684273362159729, 0.16575181484222412, 0.02320214733481407, -0.22452473640441895, 0.4348680078983307, -0.09987355768680573, 0.2888432741165161, -0.32055461406707764, -0.06587693840265274, -0.004579508677124977, -0.11840908229351044, 0.03643401339650154, -0.18645469844341278, 0.20040000975131989, 0.1095607578754425, 0.20811112225055695, 0.15106520056724548, 0.3055134415626526, 0.11182326078414917, 0.09069700539112091, -0.07587097585201263, 0.5251457691192627, 0.16532573103904724, -0.2909468114376068, 0.29781678318977356, 0.030613481998443604, 0.06219012290239334, -0.24254092574119568, 0.3970028758049011, -0.3817874491214752, -0.10698440670967102, -0.5438953638076782, 0.060087479650974274, -0.20337295532226562, -0.12406237423419952, 0.11297296732664108, 0.1866975873708725, 0.5462095737457275, 0.01706686243414879, 0.27133888006210327, -0.638002336025238, 0.1600576788187027, -0.15601906180381775, 0.30283069610595703, 0.09125077724456787, -0.23616963624954224, -0.2696092128753662, 0.38434898853302, 0.4047205150127411, 0.4766961932182312, 0.5108537673950195, -0.1202484592795372, 0.11110895872116089, 0.023774517700076103, 0.48654645681381226, 0.18649974465370178, -0.3451530635356903, -0.36288151144981384, -0.1670951545238495, 0.2134775072336197, 0.052542753517627716, 0.2297767996788025, -0.040716592222452164, 0.2950407862663269, -0.06910748034715652, 0.18215060234069824, -0.016312986612319946, 0.05969396233558655, 0.07920859009027481, -0.28112539649009705, -0.04267297685146332, 0.4431461691856384, 0.15685826539993286, 0.24528025090694427, -0.35876283049583435, -0.3327469825744629, 0.5162115693092346, 0.1314152479171753, -0.14846929907798767, -0.02563183195888996, -0.21288762986660004, -0.1104632019996643, -0.1713988035917282, 0.18414893746376038, 0.10041291266679764, -0.1205231174826622, -0.06280362606048584, 0.08147178590297699, -0.027054034173488617, 0.17194122076034546, -0.22595830261707306, 0.11790471524000168, 0.025684891268610954, -0.06826277077198029, -0.1985669732093811, -0.06120283156633377, -0.1925731599330902, -0.074200339615345, -0.10292841494083405, -0.2507210969924927, -0.3305951952934265, 0.0034416113048791885, 0.11924363672733307, -0.0897001177072525, -0.28982096910476685, -0.053730353713035583, -0.1889631599187851, -0.3082609474658966, 0.33284470438957214, 0.16195261478424072, 0.07329633831977844, -0.029500670731067657, 0.16225530207157135, 0.1174030527472496, -0.3087593913078308, -0.31501471996307373, 0.6417438983917236, 0.4439648985862732, -0.05098681151866913, 0.44353097677230835, 0.2772575914859772, -0.12525662779808044, 0.028167158365249634, -0.1197105422616005, 0.40716326236724854, 0.37546929717063904, 0.08950335532426834, -0.16556179523468018, -0.08397641032934189, 0.0761035829782486, 0.18730731308460236, -0.4106888473033905, -0.13417556881904602, -0.04201135411858559, -0.011049166321754456, 0.10306873917579651, 0.07550270855426788, -0.41159623861312866, 0.04403416067361832, 0.4009822905063629, -0.1315174400806427, 0.19067808985710144, 0.22610297799110413, -0.4066944718360901, -0.21245220303535461, 0.15486963093280792, -0.6658134460449219, 0.19107618927955627, 0.03192547336220741, 0.15823347866535187, -0.13896147906780243, -0.16913993656635284, -0.07658401876688004, 0.265381783246994, 0.3556540012359619, -0.4406639337539673, -0.10247873514890671, -0.13544800877571106, 0.22952744364738464, 0.0029432550072669983, 0.10300467908382416, -0.2005510926246643, -0.10150391608476639, -0.41013771295547485, 0.20049096643924713, 0.03030250407755375, 0.14202946424484253, -0.310130774974823, -0.666786789894104, -0.2077905237674713, -0.08255334943532944, 0.13611140847206116, -0.08947227895259857, -0.11413724720478058, 0.26265448331832886, 0.011505838483572006, 0.5593205094337463, 0.2123749703168869, -0.12692250311374664, -0.05985354259610176, 0.08709034323692322, -0.2775181829929352, -0.1334892064332962, -0.08537011593580246, -0.33083897829055786, 0.2535076141357422, -0.1790916919708252, 0.1831314116716385, -0.23765069246292114, -0.4993966221809387, 0.004832897335290909, -0.03629331290721893, 0.02375335991382599, 0.14922483265399933, -0.02966883033514023, -0.42599910497665405, -0.0734211876988411, 0.09620498865842819, 0.08876995742321014, 0.2435106635093689, 0.022180519998073578, -0.14700756967067719, -0.03221053630113602, 0.004702582955360413, -0.07503002136945724, -0.08328873664140701, 0.08518801629543304, 0.02744174376130104, 0.040235485881567, 0.0675661712884903, 0.14350543916225433, 0.19548706710338593, 0.06845185905694962, 0.03856050223112106, 0.03402508795261383, -0.25632432103157043, -0.1724463403224945, 0.5022826790809631, -0.27428051829338074, -0.30769261717796326, -0.2630716860294342, -0.028549470007419586, 0.045079898089170456, 0.13396362960338593, 0.07734577357769012, -0.1801435798406601, -0.22894398868083954, 0.15804488956928253, -0.1122879683971405, 0.32463303208351135, 0.18093526363372803, -0.09322960674762726, 0.18778100609779358, -0.030193062499165535, -0.004469728097319603, 0.14938092231750488, -0.12852883338928223, 0.38066983222961426, -0.044348716735839844, 0.2056613564491272, 0.10379540920257568, 0.903705894947052, -0.05096163600683212, -0.6401697397232056, -0.038974083960056305, 0.08175123482942581, 0.12437652051448822, -0.16841700673103333, -0.08849459886550903, 0.3396744430065155, 0.05499173700809479, -0.02682493068277836, 0.1769990622997284, -0.08281851559877396, 0.16838280856609344, 0.27709099650382996, 0.134935200214386, -0.23161086440086365, -0.26374486088752747, 0.47250956296920776, -0.19645753502845764, 0.18727779388427734, -0.053934112191200256, 0.526907742023468, -0.3696894347667694, -0.09524857997894287, 0.07187286019325256, 0.10742025077342987, 0.25569742918014526, 0.029276618734002113, -0.004486590623855591, -0.3525572121143341, -0.4506760239601135, 0.5103874206542969, -0.007469996809959412, 0.7930459380149841, 0.18962672352790833, -0.3719557821750641, -0.002486027777194977, 0.11902384459972382, 0.2518691420555115, 0.3313894271850586, -0.3229740262031555, -0.12314219772815704, -0.041934866458177567, -0.2788051664829254, -0.22803466022014618, -0.03329634666442871, 0.14487847685813904, 0.34884902834892273, 0.5731344223022461, -0.375246524810791, -0.17361153662204742, 0.17251189053058624, 0.11121562868356705, -0.08318500965833664, 0.04490463808178902, -0.06771591305732727, 0.041012078523635864, -0.17243681848049164, 0.18511676788330078, 0.3106352388858795, 0.15685199201107025, 0.138301283121109, 0.10884493589401245, -0.36928197741508484, -0.2349303662776947, 0.18880361318588257, 0.022014781832695007, 0.27199965715408325, 0.1057872474193573, -0.06565026938915253, 0.20809926092624664, 0.2412693351507187, 0.1279786080121994, -0.09224565327167511, -0.08016209304332733, -0.5191172957420349, 0.18312856554985046, -0.059506259858608246, 0.33677390217781067, 0.24620488286018372, 0.13501310348510742, -0.05092916637659073, -0.1282331645488739, 0.3936253786087036, -0.4445836544036865, 0.4388014078140259, 0.22697122395038605, 0.1566345989704132, -0.5789148211479187, -0.28238725662231445, 0.006410159170627594, 0.05163414403796196, 0.20836134254932404, 0.0714709460735321, -0.10533787310123444, -0.2505062222480774, 0.40148383378982544, 0.6572037935256958, 0.9994549751281738, 0.19891469180583954, 0.2669641077518463, -0.012165892869234085, 0.1462978720664978, 0.24327664077281952, -0.23318104445934296, 0.14973260462284088, -0.40040406584739685, 0.21457010507583618, 0.015696385875344276, -0.0601932555437088, -0.13826525211334229, -0.1135932058095932, -0.15190014243125916, 0.011935031041502953, -0.32039016485214233, 0.3386158347129822, 0.01852603815495968, 0.16598913073539734, -0.053636737167835236, -0.3985242247581482, 0.06915609538555145, -0.021043654531240463, -0.17858554422855377, 0.145477756857872, -0.023630015552043915, 0.02008095383644104, -0.04455239698290825, -0.44565075635910034, -0.03339529037475586, -0.3010532855987549, -0.24578282237052917, 0.09495745599269867, -0.058339674025774, -0.5452004075050354, -0.010101168416440487, 0.4118756651878357, 0.6476263999938965, 0.26307952404022217, -0.11101987957954407, 0.08498986065387726, -0.0012240931391716003, -0.12026240676641464, 0.09238897264003754, -0.10861778259277344, 0.2939026653766632, 0.05491997301578522, 0.2604667544364929, 0.07796341180801392, 0.038331810384988785, -0.03148750960826874, -0.4568997323513031, -0.21472276747226715, 0.662071704864502, -0.4532671570777893, 0.0023853089660406113, -0.43625330924987793, 0.026058755815029144, 0.027555394917726517, 0.007845558226108551, 0.03682510182261467, 0.13517697155475616, 0.28258517384529114, -0.13544344902038574, -0.1725946068763733, -0.09917071461677551, 0.220178484916687, 0.017351895570755005, -0.43539172410964966, 0.5098080635070801, 0.0009633339941501617, -0.25776436924934387, -0.04538677632808685, 0.28893664479255676, 0.2469051033258438, -0.44336941838264465, 0.00678066723048687, 0.035066500306129456, -0.1781930923461914, -0.22214862704277039, 0.38771992921829224, 0.2075740396976471, -0.17930632829666138, -0.26604217290878296, 0.11340896785259247, -0.4492495357990265, -0.0011927559971809387, -0.20263099670410156, 0.3587783873081207, 0.25141534209251404, 0.06798852980136871, -0.21123526990413666, -0.0836726576089859, -0.15414777398109436, -0.135762020945549, 0.2401474118232727, -0.0048810020089149475, -0.34096676111221313, 0.09186777472496033, 0.013136637397110462, -0.007773499935865402, -0.11549409478902817, 0.16336943209171295, 0.034922078251838684, -0.06698007881641388, -0.2700386345386505, 0.18877984583377838, 0.18866735696792603, -0.32638052105903625, -0.08587613701820374, 0.06931723654270172, 0.0037057437002658844, -0.24229931831359863, -0.10247372090816498, 0.2535504698753357, 0.12334589660167694, 0.40211594104766846, 0.3610958755016327, 0.23039397597312927, 0.043403737246990204, -0.0999499261379242, 0.33433476090431213, 0.5019199252128601, 0.11097422987222672, 0.28061187267303467, -0.020369401201605797, -0.10134232044219971, -0.15151070058345795, 0.31374064087867737, 0.42659109830856323, 0.1708819568157196, -0.002090439200401306, -0.21573354303836823, 0.049002084881067276, 0.02832774631679058, -0.04791358858346939, 0.3689750134944916, -0.3970523476600647, -0.4146709442138672, 0.3768704831600189, 0.07849787175655365, 0.12768109142780304, -0.1601562649011612, -0.2122115045785904, -0.05750332772731781, -0.29712754487991333, 0.2069767415523529, 0.11755768954753876, 0.3098316192626953, -0.14558598399162292, 0.04616135358810425, 0.07096817344427109, 0.01090594194829464, 0.14360646903514862, 0.558788537979126, -0.07603282481431961, 0.031329818069934845, 0.41086655855178833, -0.21830633282661438, 0.2410496175289154, 0.061202846467494965, -0.08127603679895401, 0.5994261503219604, 0.31092384457588196, 0.03648236393928528, 0.0770537480711937, 0.06647628545761108, -0.24622945487499237, -0.31072986125946045, -0.008176930248737335, 0.3448127210140228, 0.06295448541641235, 0.6772324442863464, -0.29220953583717346, -0.3028833866119385, -0.1276070773601532, 0.10674475133419037, -0.2833554446697235, -0.12076488137245178, -0.09987347573041916, -0.06857887655496597, 0.07918734848499298, -0.058798760175704956, -0.3600080907344818, 0.2014649361371994, 0.039702411741018295, 0.08848544210195541, -0.18652014434337616, 0.19143621623516083, -0.1376148760318756, -0.04466409236192703, 0.08073160797357559, -0.18224428594112396, 0.05155843496322632, 0.10893363505601883, -0.03255867213010788, 0.03217439725995064, 0.23709549009799957, 0.34468579292297363, 0.32764771580696106, -0.18759846687316895, -0.0011836979538202286, -0.030281919986009598, 0.06810415536165237, -0.04624834656715393, 0.17196911573410034, 0.2797016501426697, -0.4101015031337738, 0.18955586850643158, 0.06025572866201401, -0.08419332653284073, 0.07491481304168701, -0.30523547530174255, -0.04592170938849449, 0.025875315070152283, 0.23032769560813904, 0.1248917356133461, -0.15069462358951569, 0.07621832191944122, -0.2932586073875427, -0.2866678535938263, 0.0261109359562397, 0.3024098575115204, 0.21982510387897491, -0.04427993297576904, -0.2514983117580414, 0.004112847149372101, 0.10104203224182129, 0.44002240896224976, 0.2582572400569916, 0.07609899342060089, -0.3708881735801697, 0.14788931608200073, -0.09349125623703003, 0.10545247793197632, 0.3320860266685486, 0.013379430398344994, 0.22341078519821167, 0.04343122988939285, 0.06690080463886261, 0.09268306940793991, 0.22473151981830597, -0.4062632620334625, 0.0062349410727620125, 0.2695299983024597, 0.07747678458690643, 0.2811761498451233, -0.29306942224502563, 0.2516285181045532, 0.10110776126384735, -0.2069060206413269, 0.3193623125553131, 0.003337280824780464, -0.025094354525208473, -0.42831873893737793, 0.07602725923061371, 0.39139148592948914, 0.04858096316456795, 0.43330875039100647, 0.2509326636791229, 0.3224336504936218, -0.007736027240753174, -0.10955651104450226, -0.12913113832473755, 0.23479750752449036, -0.34935706853866577, -0.07100040465593338, -0.2753813862800598, 0.29934653639793396, -0.09771997481584549, -0.18297936022281647, -0.3711051940917969, 0.12698175013065338, -0.0010218322277069092, -0.3665863275527954, -0.15698915719985962, 0.30024224519729614, -0.25941768288612366, -0.3018600344657898, 0.17732633650302887, 0.4829789698123932, 0.05848219618201256, 0.3753659129142761, -0.41877615451812744, -0.23783014714717865, 0.4690816402435303, -0.42873889207839966, -0.15568910539150238, -0.3460352122783661, 0.1507466733455658, 0.1086178570985794, 0.15688662230968475, -1.0053491592407227, -0.14066831767559052, 0.19114431738853455, 0.10638705641031265, -0.35320809483528137, -0.042286910116672516, 0.25582534074783325, 0.04561777040362358, -0.22885732352733612, 0.8479937314987183, -0.10421890765428543, -0.003975164145231247, -0.10053446888923645, -0.32010263204574585 ]
https://github.com/huggingface/datasets/pull/1985
Optimize int precision
From a user perspective, I think it's fine if the "torch" format converts all ints types to `torch.int64` by default since it's what the model will need almost all the time. I don't see a case where you would want to keep the low precision at the top of my head, and one can always write a custom transform for an edge case.
Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861.
63
text: Optimize int precision Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861. From a user perspective, I think it's fine if the "torch" format converts all ints types to `torch.int64` by default since it's what the model will need almost all the time. I don't see a case where you would want to keep the low precision at the top of my head, and one can always write a custom transform for an edge case.
[ -0.2813507318496704, -0.4950184226036072, -0.08233579993247986, -0.02920328825712204, 0.20507070422172546, 0.040880315005779266, 0.2378900945186615, 0.4123899042606354, -0.028489872813224792, 0.15958799421787262, 0.036434173583984375, 0.08743871003389359, 0.07984229922294617, 0.04396733641624451, -0.49563655257225037, -0.07176177203655243, 0.1085197776556015, 0.3130617141723633, -0.23612621426582336, -0.09579865634441376, -0.4834924638271332, -0.10013100504875183, 0.014369361102581024, 0.09182748943567276, 0.005440272390842438, 0.23990583419799805, 0.37861666083335876, 0.19137439131736755, -0.1029982641339302, -0.12441419064998627, -0.061977319419384, -0.0360829196870327, 0.2395847737789154, 0.14798714220523834, -0.00010980389197356999, -0.18264876306056976, 0.08918428421020508, -0.18836060166358948, -0.3033194839954376, 0.443478524684906, 0.3201063275337219, -0.38790363073349, 0.16537976264953613, -0.4427454471588135, -0.11346836388111115, 0.21909667551517487, 0.2413230687379837, -0.32499971985816956, 0.13301879167556763, 0.18932457268238068, 0.18455778062343597, 0.15279586613178253, 0.020860236138105392, 0.09916829317808151, -0.3538607656955719, 0.42831528186798096, -0.1710563600063324, 0.09210032224655151, -0.22840529680252075, 0.6613364219665527, 0.0283539816737175, 0.38109904527664185, -0.1296415627002716, 0.1369185596704483, 0.47744446992874146, -0.1968587189912796, 0.21746313571929932, -0.05747159570455551, 0.1515921652317047, 0.2661251127719879, 0.24520769715309143, -0.05959491431713104, -0.16367021203041077, -0.05274595320224762, -0.2432144731283188, -0.4854574501514435, -0.0646543875336647, 0.288985937833786, 0.08837108314037323, 0.20463168621063232, -0.29142385721206665, -0.23164355754852295, -0.1674080789089203, -0.3300533890724182, -0.14963267743587494, 0.16184812784194946, -0.060328200459480286, 0.023268356919288635, 0.16199228167533875, -0.4953955411911011, -0.13552594184875488, 0.054451994597911835, -0.14751091599464417, -0.09654796123504639, 0.08514751493930817, -0.3004162013530731, -0.27054449915885925, 0.3312801718711853, 0.14556944370269775, -0.24552007019519806, 0.0472671203315258, 0.3184802234172821, 0.3267090618610382, -0.15940693020820618, 0.04865367338061333, -0.07748007774353027, 0.3447730541229248, 0.0669173076748848, 0.29924237728118896, -0.19329261779785156, 0.19169506430625916, 0.05562320351600647, 0.21997064352035522, -0.23816944658756256, 0.06158318743109703, 0.050849754363298416, -0.002336958423256874, -0.25452062487602234, -0.16023759543895721, 0.010010192170739174, 0.26141756772994995, -0.01818087510764599, -0.02629968151450157, 0.1092110127210617, 0.1317380964756012, 0.26452115178108215, -0.013155259191989899, 0.16719156503677368, -0.24625496566295624, -0.45016705989837646, -0.05656472593545914, -0.15607991814613342, 0.0018248558044433594, -0.2971761226654053, -0.12380136549472809, -0.06904253363609314, 0.0841449648141861, 0.1373220533132553, -0.20908989012241364, 0.2788262963294983, 0.0844230055809021, -0.017258930951356888, 0.3356304168701172, 0.350557804107666, -0.11525334417819977, 0.08855944871902466, -0.061443034559488297, -0.08059481531381607, -0.3108711540699005, 0.5235531330108643, -0.30062758922576904, -0.24437405169010162, -0.6117167472839355, 0.21353216469287872, -0.12461034208536148, -0.006355699151754379, 0.2400786280632019, 0.23670022189617157, 0.22160476446151733, -0.11539925634860992, 0.30943211913108826, -0.4127722382545471, -0.1135297566652298, -0.32263731956481934, -0.00965724978595972, 0.36604249477386475, -0.3138722777366638, 0.02373390644788742, 0.016202978789806366, -0.15731550753116608, 0.3284798264503479, 0.47092410922050476, -0.06856948137283325, -0.11833053082227707, -0.10083986073732376, 0.18483637273311615, 0.33343634009361267, 0.04899481311440468, -0.20449379086494446, 0.23832356929779053, 0.05626632273197174, -0.17672716081142426, 0.2841663062572479, 0.23073525726795197, 0.01887238398194313, -0.4455825686454773, 0.13239142298698425, -0.007525334134697914, -0.009397456422448158, 0.0405137836933136, -0.3483194410800934, -0.0043494123965501785, 0.45336103439331055, 0.11263568699359894, -0.1109343022108078, 0.085628941655159, -0.07295108586549759, 0.13028518855571747, 0.22197890281677246, -0.21273267269134521, -0.40298527479171753, -0.07781435549259186, -0.04932861402630806, -0.2976531982421875, 0.03895185515284538, 0.20069286227226257, -0.11842725425958633, -0.11971326917409897, 0.07825695723295212, -0.233180433511734, 0.4436075687408447, -0.1394120156764984, 0.077605240046978, -0.1291225105524063, 0.18052642047405243, 0.10682223737239838, 0.08004453033208847, -0.13915249705314636, -0.28933292627334595, -0.1457662433385849, -0.04364737495779991, -0.0538225919008255, -0.3760816752910614, 0.05192875117063522, -0.03835950419306755, -0.7547631859779358, -0.05765204131603241, 0.09956994652748108, -0.2808452844619751, -0.0033718496561050415, 0.11115004122257233, 0.008739134296774864, -0.10546424984931946, 0.4749114215373993, -0.0534074492752552, -0.1206187754869461, 0.011887770146131516, 0.826995849609375, 0.309272825717926, 0.26781588792800903, 0.4356572926044464, 0.1852700561285019, 0.025150232017040253, 0.026186414062976837, -0.46141567826271057, 0.5608757734298706, 0.2568659782409668, -0.1623097062110901, -0.19045346975326538, -0.1848219633102417, 0.0742819681763649, 0.040931422263383865, -0.26501062512397766, -0.1451023817062378, -0.05878959968686104, 0.30445706844329834, -0.06137710064649582, 0.3516221046447754, -0.626282811164856, 0.0401129387319088, 0.4488963186740875, -0.11301232874393463, 0.2537011206150055, 0.5921159982681274, 0.015295006334781647, -0.07290780544281006, -0.00555063970386982, -0.41102299094200134, 0.5344340801239014, 0.20001089572906494, 0.028339948505163193, -0.11872582882642746, -0.08282119035720825, -0.15777269005775452, 0.5244291424751282, 0.05573175102472305, -0.08041305840015411, -0.04070771485567093, -0.15457220375537872, 0.08766413480043411, -0.15796934068202972, 0.10502681136131287, -0.3545043170452118, -0.05653224140405655, -0.2731407582759857, -0.05016503483057022, 0.024903124198317528, 0.0707891583442688, -0.2607932984828949, -0.07786738127470016, -0.016005564481019974, -0.09665177017450333, 0.15366050601005554, -0.2307600975036621, -0.37152040004730225, 0.09248542040586472, -0.05500839278101921, 0.6801148056983948, 0.04907640069723129, 0.32906317710876465, -0.11535803973674774, 0.06260591000318527, -0.286577433347702, 0.04471612349152565, 0.16166448593139648, -0.3275322914123535, 0.10108469426631927, -0.3033354580402374, 0.17139920592308044, -0.26802659034729004, -0.5086456537246704, -0.16342206299304962, 0.09271933138370514, 0.15759383141994476, 0.5360575914382935, 0.2860918641090393, -0.08545910567045212, 0.09935247153043747, 0.012485004961490631, 0.08467420935630798, 0.18820610642433167, -0.05486828461289406, -0.28771889209747314, -0.07181255519390106, -0.23352286219596863, 0.031142275780439377, -0.05547219514846802, -0.28804242610931396, 0.15124309062957764, 0.02549726516008377, 0.1426394134759903, -0.031202644109725952, 0.2031731903553009, -0.26786258816719055, 0.2379823476076126, 0.09202469140291214, -0.04959092661738396, -0.2255879044532776, 0.4287424385547638, -0.13030093908309937, -0.27481409907341003, -0.09326662123203278, 0.16205397248268127, -0.06033750995993614, -0.057406485080718994, -0.0767507404088974, 0.05240153893828392, -0.22039726376533508, 0.04105481132864952, -0.29847073554992676, 0.1814037412405014, 0.020423859357833862, -0.1318444311618805, -0.10295815765857697, -0.06055540218949318, -0.19630824029445648, 0.27395129203796387, -0.19719722867012024, 0.312527596950531, 0.0007978379726409912, 0.3086578845977783, -0.08103257417678833, 0.20386427640914917, -0.11710493266582489, -0.559583306312561, -0.30210965871810913, 0.3341098725795746, 0.22831003367900848, -0.20274195075035095, 0.21814006567001343, 0.32170167565345764, 0.19762015342712402, -0.04717429727315903, 0.3004016578197479, -0.17453888058662415, 0.005516469478607178, 0.15833966434001923, -0.10180677473545074, -0.20398032665252686, -0.19270522892475128, 0.5350509285926819, 0.024805380031466484, -0.06485377997159958, -0.1668914407491684, 0.3032722771167755, -0.3111744225025177, 0.022822946310043335, 0.15858709812164307, 0.1680794507265091, 0.19404560327529907, -0.06606948375701904, 0.1614084243774414, -0.5234808325767517, -0.2929535210132599, 0.4706433415412903, -0.36091792583465576, 0.3573046028614044, 0.04380600526928902, -0.4452069103717804, -0.19887904822826385, 0.13326328992843628, 0.2359504997730255, 0.2123047411441803, -0.161595419049263, -0.0726376473903656, 0.1348462700843811, -0.23842217028141022, -0.1894584447145462, 0.0552593432366848, 0.310491144657135, 0.3522655665874481, 0.20251527428627014, -0.4297230541706085, -0.28641095757484436, 0.12538474798202515, -0.04899187386035919, -0.22095701098442078, 0.05333554372191429, -0.1307322233915329, -0.047119203954935074, 0.15474338829517365, 0.16101333498954773, 0.2566704750061035, -0.2369888573884964, -0.1803208738565445, 0.22836442291736603, -0.3501029908657074, 0.00679464265704155, 0.14051707088947296, 0.04495701938867569, 0.41113877296447754, -0.004712048918008804, -0.25161468982696533, -0.09585221111774445, 0.2031279355287552, 0.0008950773626565933, 0.1735249012708664, -0.08318047225475311, -0.12291280925273895, 0.32404395937919617, -0.30362623929977417, 0.24275749921798706, 0.34710603952407837, 0.21573802828788757, -0.27565255761146545, -0.0046426672488451, 0.5255691409111023, -0.38598868250846863, -0.0486832931637764, -0.18177010118961334, -0.09572482854127884, -0.37320297956466675, -0.10347730666399002, 0.29541683197021484, 0.03279619663953781, 0.10781203210353851, 0.09918907284736633, -0.11759530007839203, -0.20557136833667755, 0.22232326865196228, 0.8176339864730835, 0.9564979672431946, 0.027546662837266922, 0.20665721595287323, -0.09928520768880844, -0.22630031406879425, 0.056747663766145706, -0.3703523278236389, -0.038031160831451416, -0.5296410322189331, -0.03387508913874626, 0.03217947483062744, 0.1092185527086258, 0.180166095495224, -0.03654502332210541, -0.2313423901796341, 0.012291711755096912, -0.2520604729652405, -0.0012927614152431488, -0.05467763543128967, 0.27146267890930176, -0.24488967657089233, -0.21283620595932007, -0.14676375687122345, 0.08225925266742706, -0.11991195380687714, -0.21972644329071045, -0.08672330528497696, -0.23599502444267273, 0.23009568452835083, -0.44293880462646484, -0.05231427401304245, -0.38301876187324524, -0.12510809302330017, 0.22755350172519684, -0.13996732234954834, -0.3141974210739136, 0.17080484330654144, 0.31707656383514404, 0.4767310619354248, 0.2560286819934845, -0.08084320276975632, 0.09035534411668777, 0.23009225726127625, 0.1860346645116806, 0.0118942279368639, 0.0955066829919815, 0.1461162120103836, -0.10695848613977432, 0.32701167464256287, -0.0018032193183898926, -0.10553847998380661, 0.1579750031232834, -0.28741398453712463, -0.1457749903202057, 0.12954525649547577, -0.49104782938957214, -0.19678065180778503, -0.45428842306137085, -0.1431845724582672, -0.040533363819122314, 0.13266298174858093, 0.0869799554347992, 0.24078916013240814, 0.18546581268310547, -0.03463549539446831, -0.2522456645965576, -0.23601903021335602, 0.037397608160972595, 0.19292330741882324, -0.26232850551605225, 0.2754293382167816, -0.09244263917207718, -0.26512056589126587, -0.28800371289253235, 0.4472507834434509, 0.15890955924987793, -0.29952090978622437, 0.2697129249572754, -0.09754672646522522, -0.32901301980018616, -0.023735813796520233, 0.4164818823337555, 0.15073339641094208, -0.05267184227705002, -0.2315755933523178, 0.11542339622974396, -0.20881670713424683, -0.013381436467170715, -0.28730061650276184, 0.3618398606777191, -0.0608397051692009, -0.3108157813549042, -0.01264760922640562, -0.25337114930152893, -0.3313240706920624, -0.1065676286816597, 0.13336704671382904, -0.13350999355316162, -0.017663832753896713, 0.38395240902900696, -0.30842506885528564, 0.1842506229877472, 0.06119507551193237, 0.2659626007080078, -0.21511873602867126, -0.21089079976081848, -0.13761460781097412, 0.1258544921875, -0.2912924885749817, -0.1771342158317566, 0.13220757246017456, 0.051749326288700104, -0.14006292819976807, 0.03984367847442627, -0.19041556119918823, 0.014232594519853592, 0.17608553171157837, 0.3856598436832428, 0.20016495883464813, 0.06293278187513351, 0.2327963262796402, -0.0673949345946312, 0.3995888829231262, 0.4224032163619995, 0.09407401084899902, 0.3212299346923828, -0.17691008746623993, -0.19721975922584534, 0.033817291259765625, 0.3106597661972046, 0.1543189287185669, 0.1450560986995697, -0.11150117963552475, 0.055534571409225464, 0.05378035083413124, 0.34070467948913574, -0.11494719237089157, 0.39963236451148987, -0.4464031755924225, -0.4056577682495117, -0.024425365030765533, 0.23950503766536713, -0.06025347113609314, -0.16801634430885315, -0.1769433617591858, -0.1769864857196808, -0.253056138753891, 0.2571010887622833, 0.29004815220832825, 0.09048746526241302, -0.07051359117031097, 0.013523794710636139, -0.11807059496641159, -0.2781655788421631, 0.009157046675682068, 0.5799492001533508, -0.012594353407621384, -0.14494502544403076, 0.32044318318367004, -0.02258014678955078, 0.3300497829914093, 0.3493262529373169, 0.16149863600730896, 0.455691397190094, 0.23350772261619568, 0.15918898582458496, -0.23569953441619873, -0.2220437228679657, 0.26607969403266907, -0.016912803053855896, -0.40808242559432983, 0.16963617503643036, 0.510755717754364, 0.25086510181427, -0.17761635780334473, -0.28822192549705505, -0.2586628198623657, -0.015514008700847626, -0.3340713083744049, -0.2571072280406952, 0.10376670956611633, -0.07416193187236786, 0.06128528714179993, 0.018449798226356506, -0.35049864649772644, 0.2969006896018982, 0.3543124496936798, 0.17534564435482025, 0.3243587017059326, 0.30394497513771057, 0.07865241169929504, -0.04327128827571869, 0.213072270154953, -0.31993135809898376, -0.15322177112102509, 0.4696098566055298, -0.16960877180099487, 0.2845717668533325, 0.14265213906764984, 0.3963349759578705, 0.31085404753685, -0.006384542211890221, 0.03286898508667946, -0.06198173388838768, -0.03220579773187637, -0.04715390130877495, -0.00967039167881012, 0.41070112586021423, 0.03215106204152107, 0.19355200231075287, 0.25555619597435, -0.06927722692489624, 0.48202070593833923, -0.35581809282302856, 0.08364252746105194, -0.0850321501493454, -0.008067138493061066, 0.4840487539768219, -0.31052258610725403, 0.028027314692735672, -0.14858105778694153, -0.10812315344810486, -0.11192946135997772, 0.08203639090061188, 0.21293801069259644, -0.08264394104480743, -0.20135994255542755, 0.09545417129993439, 0.3190229833126068, 0.5223745703697205, -0.15261825919151306, 0.061529453843832016, -0.4188515245914459, -0.05675254017114639, 0.046836018562316895, -0.1187356486916542, 0.35139158368110657, 0.13963596522808075, 0.4884563088417053, 0.15688711404800415, 0.09905696660280228, 0.06467927992343903, 0.2973446249961853, -0.13684962689876556, 0.09561245143413544, 0.25650954246520996, 0.007719200104475021, 0.1946529597043991, -0.1532059907913208, -0.005265828222036362, -0.0334569551050663, -0.16583584249019623, 0.37616488337516785, -0.0677449032664299, 0.21650224924087524, -0.4644584655761719, 0.19584864377975464, 0.4858560562133789, 0.416794091463089, 0.39018020033836365, 0.16702918708324432, -0.006580464541912079, -0.024035455659031868, -0.3267284631729126, 0.1401747316122055, 0.36266034841537476, -0.34581732749938965, -0.02103780210018158, 0.1325765699148178, 0.1760202944278717, -0.1696143001317978, -0.10581430792808533, -0.19940507411956787, 0.1435946375131607, -0.08941254764795303, -0.007260798942297697, -0.273210346698761, 0.2706971764564514, -0.08275945484638214, -0.22371765971183777, 0.09920690208673477, 0.3408070206642151, 0.13298729062080383, 0.17112129926681519, -0.21494624018669128, -0.07532482594251633, 0.3518226146697998, 0.17061254382133484, -0.06755179166793823, -0.1957632452249527, 0.33560702204704285, -0.0711941346526146, 0.37478411197662354, -1.0358635187149048, -0.12455233931541443, 0.11448727548122406, -0.026786014437675476, -0.27662819623947144, 0.2938368320465088, 0.01764441654086113, -0.10634912550449371, -0.1411125361919403, 0.761086106300354, -0.10093580931425095, -0.14341101050376892, -0.3049069941043854, -0.501107394695282 ]
https://github.com/huggingface/datasets/pull/1985
Optimize int precision
Sounds good to me ! For consistency maybe we should make the float precision fixed as well (float32, I guess)
Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861.
20
text: Optimize int precision Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861. Sounds good to me ! For consistency maybe we should make the float precision fixed as well (float32, I guess)
[ -0.29104185104370117, -0.37808758020401, -0.25996994972229004, -0.018539369106292725, 0.0033433809876441956, -0.2003512978553772, -0.0260397307574749, 0.24589896202087402, -0.11670373380184174, 0.26395493745803833, 0.12268868088722229, -0.02736399695277214, 0.22562089562416077, 0.15982496738433838, -0.5239386558532715, -0.022214241325855255, 0.009330399334430695, 0.27382004261016846, -0.07622511684894562, -0.09688574075698853, -0.4072859287261963, 0.06337159872055054, -0.2788678705692291, -0.10680119693279266, 0.2186913937330246, 0.15817652642726898, 0.14763978123664856, 0.18071144819259644, -0.17764875292778015, -0.09711997956037521, -0.20552271604537964, 0.20496146380901337, 0.00794488750398159, 0.08522777259349823, -0.00009941295138560236, -0.34030574560165405, 0.1008174940943718, -0.11170140653848648, -0.20737706124782562, 0.5921096205711365, -0.09824258089065552, -0.4738445580005646, -0.13263721764087677, -0.506914496421814, 0.10496213287115097, 0.11644639074802399, 0.14714626967906952, -0.5105223655700684, 0.4522692561149597, 0.16724014282226562, 0.3057568073272705, 0.08825814723968506, 0.12770861387252808, 0.0767132118344307, -0.3062521517276764, 0.04708698019385338, -0.1538521647453308, 0.040312014520168304, 0.05676807835698128, 0.19580240547657013, 0.05316462367773056, 0.3459816873073578, -0.1531670242547989, -0.04250932112336159, 0.31382161378860474, -0.10110156983137131, 0.2327905297279358, -0.08587570488452911, 0.18761199712753296, 0.1962730884552002, 0.35278570652008057, -0.26154664158821106, -0.045540474355220795, -0.1439659744501114, -0.21532006561756134, -0.49057337641716003, -0.1515374779701233, 0.07176676392555237, -0.006827930919826031, -0.010214831680059433, -0.28690198063850403, -0.31183454394340515, -0.3242338001728058, -0.2393323928117752, 0.07569180428981781, 0.1765834093093872, -0.1277943104505539, -0.02795003354549408, 0.30041784048080444, -0.3297120928764343, -0.20708070695400238, 0.05019557848572731, -0.041255805641412735, 0.06449436396360397, -0.14609384536743164, -0.27476412057876587, -0.11232312768697739, 0.056467317044734955, 0.28052452206611633, -0.09586678445339203, 0.1432044953107834, 0.20955079793930054, 0.36826780438423157, -0.012279905378818512, 0.18224216997623444, 0.09414653480052948, 0.2676045894622803, -0.00520159350708127, 0.1576305627822876, 0.023793617263436317, -0.016509272158145905, 0.1445685178041458, 0.28507059812545776, -0.5496006608009338, 0.16414421796798706, 0.14232684671878815, -0.047988127917051315, -0.14600518345832825, -0.26403331756591797, 0.24823269248008728, 0.04848572611808777, -0.22096505761146545, -0.17182917892932892, 0.11379139125347137, 0.039990123361349106, 0.004582414403557777, 0.04842658340930939, 0.009808285161852837, -0.383468359708786, -0.24992519617080688, -0.2023189514875412, 0.19669410586357117, -0.12499643862247467, -0.17098404467105865, -0.14705818891525269, 0.12893280386924744, -0.11431591212749481, 0.25372999906539917, -0.02764555811882019, -0.09624623507261276, 0.14762453734874725, -0.23160578310489655, 0.2051435112953186, 0.25401708483695984, -0.009418787434697151, -0.08433660864830017, -0.13032279908657074, -0.20635493099689484, -0.22373899817466736, 0.446231484413147, -0.18157780170440674, 0.04828682169318199, -0.4810452461242676, 0.3750712275505066, -0.1110570877790451, -0.16591188311576843, 0.16675662994384766, 0.13410460948944092, 0.14508482813835144, -0.06952245533466339, 0.27754509449005127, -0.27435821294784546, -0.16663384437561035, -0.3540749251842499, 0.24433651566505432, 0.37693655490875244, -0.3160938620567322, 0.1858849823474884, -0.25760912895202637, -0.15510107576847076, 0.34504199028015137, 0.5136924982070923, 0.1664116233587265, 0.1131906807422638, -0.10704997181892395, 0.39172452688217163, 0.2824990451335907, -0.09223977476358414, -0.09750090539455414, 0.20207668840885162, -0.182308629155159, -0.2703026533126831, 0.13190573453903198, 0.07442309707403183, 0.17434820532798767, -0.16160117089748383, 0.12194907665252686, -0.048307865858078, -0.03324044495820999, -0.0980912297964096, -0.29928070306777954, 0.02089289389550686, -0.015065774321556091, 0.10572721064090729, -0.08134238421916962, -0.21317389607429504, 0.023418590426445007, 0.06784430891275406, 0.31419825553894043, -0.08258135616779327, -0.20523443818092346, 0.23072348535060883, 0.24856556951999664, -0.21341891586780548, -0.17055758833885193, 0.06695980578660965, -0.07475637644529343, -0.1849401593208313, 0.11481769382953644, -0.12016735970973969, 0.427314817905426, -0.190333753824234, -0.1978316307067871, -0.11668954789638519, 0.14338266849517822, -0.05214870348572731, 0.2835124731063843, -0.16937705874443054, -0.14138208329677582, -0.1702210158109665, 0.013669397681951523, 0.12880316376686096, -0.29396727681159973, -0.06216265633702278, 0.23953503370285034, -0.4887246787548065, -0.03652036190032959, 0.07241880148649216, -0.1331704556941986, 0.09130598604679108, 0.2060009241104126, -0.009965610690414906, 0.11873314529657364, 0.536324143409729, 0.06600102037191391, -0.1598956137895584, 0.12248793244361877, 0.528169572353363, 0.02288677543401718, 0.14370614290237427, 0.18172985315322876, 0.08146585524082184, -0.05180728808045387, 0.07990256696939468, -0.35077983140945435, 0.3139827251434326, 0.07949447631835938, -0.14756757020950317, 0.059110336005687714, -0.21332046389579773, -0.025547506287693977, -0.20262843370437622, -0.050036974251270294, -0.01873021200299263, 0.12237854301929474, 0.3195759952068329, -0.07462351024150848, 0.352056086063385, -0.4529787600040436, 0.12558569014072418, 0.3844811022281647, -0.22073905169963837, 0.2702321708202362, 0.4573013484477997, 0.2945546805858612, -0.0855703204870224, 0.008096572943031788, -0.03234370797872543, 0.49717676639556885, 0.23250576853752136, 0.010467447340488434, 0.10934280604124069, -0.06793033331632614, -0.1709441989660263, 0.4504491686820984, 0.0632898136973381, 0.05161431059241295, 0.15528902411460876, -0.33116620779037476, 0.20109935104846954, -0.2591034173965454, -0.20845939218997955, -0.3264084756374359, 0.08136151731014252, -0.23000866174697876, -0.11776115745306015, 0.0806858018040657, -0.07235722243785858, -0.285300076007843, 0.2615366280078888, -0.05625538155436516, -0.21104098856449127, 0.06827042996883392, -0.15171022713184357, -0.4305807948112488, 0.007250740192830563, -0.1663140207529068, 0.6783133745193481, 0.0075838882476091385, 0.18346205353736877, 0.019692949950695038, 0.20610478520393372, -0.26102006435394287, 0.17144931852817535, 0.03935316577553749, -0.10247708857059479, 0.3148006200790405, -0.22174862027168274, 0.16813760995864868, -0.339412122964859, -0.394601434469223, -0.10729385912418365, 0.01562785543501377, 0.1434258669614792, 0.2783350944519043, 0.516243040561676, -0.3810597062110901, -0.08148424327373505, -0.04419217258691788, 0.221278116106987, 0.02432822622358799, -0.48553863167762756, 0.052418556064367294, -0.032802484929561615, -0.2884894907474518, -0.1701454222202301, -0.09638682752847672, -0.4133504331111908, 0.20575803518295288, -0.0910571813583374, 0.2540847659111023, 0.10998014360666275, 0.06912011653184891, -0.003943615593016148, 0.1601266711950302, 0.19419358670711517, -0.12712019681930542, -0.06746862828731537, 0.10621620714664459, -0.07269684970378876, -0.2591688632965088, -0.07383449375629425, 0.2289806455373764, 0.08872783929109573, -0.125258207321167, -0.12596343457698822, 0.08900737017393112, -0.15747715532779694, -0.14755019545555115, -0.41936635971069336, 0.368984192609787, 0.026779577136039734, -0.09660249203443527, -0.2615840435028076, -0.1230505034327507, -0.30015355348587036, 0.1869223564863205, -0.23381811380386353, 0.14670786261558533, -0.1020221933722496, 0.16495171189308167, -0.009538104757666588, 0.09033442288637161, 0.10877300798892975, -0.07961712777614594, -0.09463275969028473, 0.10874490439891815, 0.2406662255525589, 0.010182157158851624, 0.09807536751031876, 0.4749397337436676, 0.3365890383720398, -0.2507423758506775, 0.17171823978424072, -0.13052532076835632, 0.03674079477787018, 0.12710599601268768, -0.14868800342082977, -0.42807769775390625, -0.22980695962905884, 0.37698084115982056, 0.40833157300949097, 0.07898595184087753, -0.24846388399600983, 0.0817888006567955, -0.16803374886512756, 0.1497195065021515, -0.12225039303302765, 0.07798811793327332, 0.20058465003967285, -0.11708896607160568, -0.13906867802143097, -0.3888181746006012, -0.36687830090522766, 0.4736552834510803, -0.23207004368305206, 0.403629332780838, -0.08845049142837524, -0.23410868644714355, -0.139988973736763, 0.04072554409503937, 0.34060025215148926, 0.0758705735206604, -0.17305465042591095, 0.016137361526489258, 0.20001302659511566, -0.10696210712194443, -0.09055277705192566, -0.0792086124420166, 0.23561854660511017, 0.48738184571266174, 0.19396008551120758, -0.4027296304702759, -0.20006680488586426, 0.2202044427394867, -0.040768980979919434, -0.006882511079311371, -0.20331121981143951, 0.08522182703018188, -0.31124648451805115, 0.14766882359981537, 0.262805312871933, 0.3177204430103302, 0.008864296600222588, -0.028768319636583328, 0.18985503911972046, 0.0212093573063612, -0.26557615399360657, 0.12863405048847198, -0.06309039890766144, 0.3962346017360687, 0.09697698801755905, -0.18887032568454742, -0.19484466314315796, -0.09255141019821167, -0.01131749339401722, 0.18834751844406128, -0.18996629118919373, -0.12911821901798248, 0.20120391249656677, -0.25410521030426025, 0.3163447082042694, 0.21863937377929688, 0.3069223463535309, -0.09478061646223068, -0.05364653468132019, 0.6076601147651672, -0.36875835061073303, -0.038801442831754684, -0.06477750092744827, 0.17439347505569458, -0.34809210896492004, -0.06896553188562393, 0.33942222595214844, 0.12204329669475555, -0.06662943959236145, 0.29609039425849915, -0.010999277234077454, -0.21413904428482056, -0.015586000867187977, 0.553887128829956, 0.9055593609809875, 0.10068191587924957, 0.03290209919214249, -0.11493856459856033, -0.32624608278274536, 0.12885648012161255, -0.3186953067779541, 0.0015929639339447021, -0.3523133099079132, -0.24069760739803314, 0.11366669833660126, 0.0246601365506649, 0.11294673383235931, -0.12000636756420135, -0.48515570163726807, 0.0373401865363121, -0.2630528211593628, -0.14570225775241852, -0.0570221021771431, 0.291074275970459, -0.2142980545759201, -0.030414551496505737, -0.20631425082683563, 0.17631669342517853, 0.04502570256590843, -0.05188917741179466, -0.23704659938812256, -0.14170017838478088, 0.15544627606868744, -0.2884076237678528, -0.17514175176620483, -0.27489423751831055, -0.15768751502037048, 0.0778774544596672, -0.1475680023431778, 0.03817489743232727, 0.0488165058195591, 0.05046661198139191, 0.4090271592140198, 0.3048504590988159, -0.009266817942261696, 0.16016997396945953, 0.2563742697238922, 0.24064414203166962, 0.2728627026081085, -0.052554816007614136, 0.1588338017463684, -0.11292953789234161, 0.1215890422463417, 0.05108404904603958, -0.023837801069021225, -0.016974911093711853, -0.2979141175746918, 0.040884509682655334, -0.07154521346092224, -0.3268332779407501, -0.23456263542175293, -0.3102535307407379, -0.21382303535938263, 0.01495577022433281, 0.2506979703903198, 0.3256648778915405, 0.26849082112312317, 0.3768759071826935, -0.04067525640130043, -0.358757346868515, -0.12272638082504272, 0.2493581771850586, 0.09024444222450256, -0.34899869561195374, 0.14081022143363953, -0.11027805507183075, -0.2636718153953552, -0.38468030095100403, 0.30441585183143616, -0.021981270983815193, 0.06644994765520096, 0.15311980247497559, -0.09182772785425186, -0.20179738104343414, 0.04670637845993042, 0.41747352480888367, 0.18772560358047485, 0.06546127796173096, -0.08885525166988373, -0.21902696788311005, -0.25201064348220825, 0.08827272802591324, -0.20067694783210754, 0.2832210958003998, 0.0584450364112854, -0.09958258271217346, 0.19251000881195068, -0.22334526479244232, -0.4637463688850403, -0.0839734598994255, -0.10658072680234909, -0.29007819294929504, 0.06821129471063614, 0.20226499438285828, -0.12036991119384766, 0.08690391480922699, 0.25313419103622437, 0.38021838665008545, -0.2766081690788269, -0.3063689172267914, -0.007473058998584747, 0.10477537661790848, -0.35761135816574097, -0.12773194909095764, 0.14434534311294556, -0.1334773451089859, -0.15052872896194458, 0.03608039766550064, -0.2450311928987503, -0.1093130111694336, 0.07488389313220978, 0.290114164352417, -0.012682173401117325, 0.020610220730304718, 0.2967085838317871, -0.14601080119609833, 0.25851190090179443, 0.397540807723999, 0.03809244558215141, 0.32387807965278625, -0.046101246029138565, -0.19867700338363647, 0.08270967751741409, 0.09597024321556091, 0.10839283466339111, -0.05828963965177536, -0.09167873114347458, 0.17609962821006775, -0.08036147058010101, 0.2716387212276459, 0.14188086986541748, 0.5087155103683472, -0.46146082878112793, -0.36104410886764526, -0.036758195608854294, 0.4417007267475128, -0.10247179120779037, -0.15681114792823792, -0.03563593700528145, 0.022836746647953987, -0.12214109301567078, 0.2251456081867218, -0.016553498804569244, -0.11435873061418533, -0.0016789510846138, 0.14701056480407715, 0.1775534600019455, -0.3094818592071533, 0.11388775706291199, 0.36213457584381104, -0.12692025303840637, -0.12100312113761902, 0.15549181401729584, -0.04316789284348488, 0.3691217005252838, 0.38277459144592285, 0.17454485595226288, 0.27692776918411255, 0.11905387043952942, 0.3131316006183624, -0.30162203311920166, -0.24925737082958221, 0.3267030119895935, 0.392137348651886, -0.39576318860054016, 0.17907893657684326, 0.3803108036518097, 0.08945856988430023, -0.05259067937731743, -0.04024774581193924, -0.07600955665111542, 0.018282003700733185, -0.3039216697216034, -0.10211311280727386, -0.038564227521419525, -0.12006452679634094, -0.05848453938961029, -0.15055841207504272, -0.08281226456165314, 0.10697199404239655, 0.33816689252853394, -0.07877112925052643, 0.29040277004241943, 0.34857872128486633, -0.13246417045593262, 0.05829611048102379, 0.22023320198059082, -0.47421491146087646, -0.1508578509092331, 0.2650259733200073, -0.028422825038433075, 0.19116896390914917, 0.1638311892747879, 0.5854638814926147, 0.41936519742012024, 0.004156121052801609, -0.004118966870009899, -0.06365923583507538, 0.018867788836359978, -0.2227756530046463, -0.10821627080440521, 0.3216875195503235, -0.039159733802080154, 0.18730664253234863, 0.3447789251804352, -0.2249763458967209, 0.43499183654785156, 0.00025717541575431824, -0.03630766272544861, -0.13794231414794922, -0.1889905035495758, 0.4991629123687744, -0.18620729446411133, -0.05409324914216995, -0.23231256008148193, -0.20101940631866455, -0.13966327905654907, 0.072527214884758, 0.08862461894750595, 0.1502959430217743, -0.13537301123142242, 0.18427607417106628, 0.174745112657547, 0.39270859956741333, -0.008801225572824478, 0.12174206972122192, -0.4026060700416565, -0.353304386138916, -0.2970879375934601, -0.011439859867095947, 0.2522066831588745, -0.29390382766723633, 0.4850989282131195, 0.27506721019744873, 0.006741411983966827, 0.05352559685707092, 0.3564164638519287, -0.08621595054864883, 0.17399543523788452, -0.026810631155967712, -0.31889450550079346, 0.2617470324039459, 0.02747441455721855, -0.035322725772857666, 0.1123521476984024, -0.18166157603263855, 0.5214074850082397, -0.27542418241500854, 0.29631397128105164, -0.26809221506118774, 0.1659901738166809, 0.42301762104034424, 0.43364235758781433, 0.24356280267238617, 0.09356557577848434, 0.17288941144943237, -0.26733332872390747, -0.18811196088790894, 0.13897083699703217, 0.5287523865699768, -0.22967830300331116, 0.031068213284015656, 0.27881941199302673, 0.03656795993447304, -0.07964224368333817, 0.0126563161611557, -0.14252975583076477, 0.12567952275276184, -0.10675612092018127, 0.14004607498645782, -0.13603129982948303, 0.16145355999469757, 0.3244892358779907, -0.02564735896885395, -0.07148867100477219, 0.17398086190223694, -0.033704206347465515, 0.2287084013223648, -0.35816365480422974, -0.3227038085460663, 0.42299342155456543, 0.052082039415836334, -0.1307392567396164, -0.21540935337543488, 0.47834908962249756, -0.3589518964290619, 0.2147151082754135, -0.6063240766525269, -0.07879354059696198, 0.32389846444129944, 0.10367079824209213, -0.4205404222011566, 0.28942054510116577, -0.23539869487285614, -0.1250762939453125, 0.18067903816699982, 0.6490159034729004, 0.04304153472185135, -0.07244755327701569, -0.11689038574695587, -0.4763995409011841 ]
https://github.com/huggingface/datasets/pull/1985
Optimize int precision
Yes I we should do the same for tensorflow as well since tf models would have the same issue Thanks for adding this :)
Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861.
24
text: Optimize int precision Optimize int precision to reduce dataset file size. Close #1973, close #1825, close #861. Yes I we should do the same for tensorflow as well since tf models would have the same issue Thanks for adding this :)
[ -0.2774243950843811, -0.456332802772522, -0.26366516947746277, 0.0018611326813697815, 0.21978133916854858, -0.040260106325149536, 0.1337413340806961, 0.49371275305747986, -0.025279942899942398, 0.39592576026916504, 0.031040554866194725, 0.10980382561683655, 0.045007381588220596, 0.3316827118396759, -0.14059220254421234, -0.15649424493312836, 0.05367586016654968, 0.20163273811340332, -0.1196022778749466, -0.12662121653556824, -0.31293854117393494, -0.021235326305031776, -0.08961302042007446, -0.15235084295272827, 0.0619809590280056, 0.13477759063243866, 0.22057577967643738, -0.015030190348625183, 0.10244095325469971, 0.00018959958106279373, -0.09480784833431244, -0.02319607511162758, -0.031270019710063934, 0.1481151580810547, -0.00010082277003675699, 0.043730638921260834, 0.04743286222219467, -0.06340247392654419, 0.006918508559465408, 0.38061749935150146, -0.010509688407182693, -0.4285818934440613, -0.03634720295667648, -0.4374193847179413, 0.001154933124780655, 0.1573745757341385, 0.13928575813770294, -0.0967378318309784, 0.36614489555358887, 0.30555814504623413, 0.26448917388916016, 0.3857654333114624, 0.18063098192214966, 0.17613384127616882, -0.2114875316619873, 0.15803350508213043, -0.2906966209411621, 0.08495470881462097, -0.14335303008556366, 0.2648858428001404, 0.023710787296295166, 0.5359023809432983, 0.014417717233300209, 0.10993540287017822, 0.42684438824653625, -0.00457045529037714, 0.3524796664714813, -0.26580503582954407, -0.09824325889348984, 0.2398070991039276, 0.2590688467025757, -0.237339586019516, -0.23885877430438995, -0.24653631448745728, 0.020381886512041092, -0.5229083895683289, -0.051830925047397614, 0.1092924252152443, -0.15648725628852844, 0.09856101870536804, -0.3482498228549957, -0.33946898579597473, -0.2689484655857086, -0.09484972059726715, 0.13271194696426392, 0.06801237165927887, -0.01970083639025688, -0.08621541410684586, 0.176087886095047, -0.2718709111213684, -0.20455461740493774, -0.0645124614238739, 0.19294391572475433, -0.04507938399910927, -0.28597500920295715, -0.41167977452278137, -0.22132658958435059, -0.3171080946922302, 0.14336428046226501, -0.30161619186401367, 0.22296734154224396, 0.16075676679611206, 0.18443764746189117, 0.02582550421357155, 0.05134470760822296, 0.23289607465267181, 0.059470243752002716, 0.13624776899814606, 0.22500716149806976, -0.13707856833934784, -0.10223357379436493, 0.07413360476493835, 0.1670849472284317, -0.41669347882270813, 0.009642787277698517, 0.09816781431436539, 0.009155582636594772, 0.041902657598257065, -0.2454545944929123, 0.049085065722465515, 0.08514495939016342, -0.0880841463804245, -0.004020211286842823, 0.04457320645451546, -0.013872879557311535, 0.2136269509792328, -0.0053138285875320435, -0.07621583342552185, -0.4238339960575104, -0.22647039592266083, -0.16697779297828674, 0.1090463250875473, 0.09363219141960144, -0.13496725261211395, -0.08571098744869232, 0.05482422932982445, -0.09083440154790878, 0.010986174456775188, 0.13147205114364624, -0.032356519252061844, 0.277824729681015, -0.21811404824256897, 0.03733236342668533, 0.43542712926864624, -0.1749337911605835, -0.15277065336704254, -0.09917517006397247, -0.07610989362001419, -0.34354105591773987, 0.5531138181686401, -0.46923911571502686, -0.23750102519989014, -0.3979676067829132, 0.33282479643821716, 0.03954894095659256, -0.2125481367111206, -0.00812491774559021, 0.3373808264732361, 0.32173952460289, -0.027457956224679947, 0.29646435379981995, -0.3479200005531311, -0.32224854826927185, -0.2415468543767929, 0.185858815908432, 0.05451183021068573, -0.4254959523677826, -0.11215078085660934, -0.06408168375492096, -0.15670378506183624, 0.3432527184486389, 0.7390446662902832, 0.028737375512719154, 0.24888521432876587, -0.08763369917869568, 0.35966622829437256, 0.5524494051933289, -0.15853844583034515, -0.1899142563343048, 0.051909901201725006, -0.20044416189193726, -0.1532854288816452, 0.06947579979896545, 0.029055751860141754, 0.10579235106706619, -0.07154999673366547, 0.02292168140411377, 0.06680495291948318, -0.04623199254274368, -0.05903250724077225, -0.3453512191772461, -0.16974955797195435, 0.15789593756198883, 0.2663222849369049, 0.041166309267282486, -0.21745705604553223, -0.13884899020195007, 0.18885907530784607, 0.1346333920955658, -0.2246604859828949, -0.2280033677816391, 0.13907036185264587, 0.14939287304878235, -0.12459877133369446, -0.021229010075330734, 0.04160231351852417, -0.10654707998037338, -0.06272242218255997, 0.05531559884548187, -0.16267012059688568, 0.5007182955741882, -0.3147880434989929, 0.04943881928920746, -0.0951128751039505, 0.2564884424209595, 0.10343572497367859, 0.21711604297161102, -0.2909795045852661, -0.09919093549251556, 0.05435844883322716, -0.13620659708976746, 0.037823088467121124, -0.6426336765289307, -0.030123302713036537, 0.19163042306900024, -0.3276624083518982, -0.04472089558839798, 0.005122070200741291, -0.22125740349292755, 0.18679776787757874, -0.1608392596244812, -0.05309431627392769, -0.13281181454658508, 0.36731481552124023, -0.13343366980552673, -0.048120081424713135, -0.015653520822525024, 0.7247238159179688, 0.33864766359329224, 0.13171251118183136, 0.07830628007650375, 0.04942256957292557, -0.19500672817230225, -0.057086698710918427, -0.2066313624382019, 0.27154970169067383, 0.16152504086494446, -0.11961754411458969, 0.11101101338863373, -0.21264609694480896, -0.00016710348427295685, -0.12348349392414093, 0.05175942927598953, -0.03331579640507698, 0.013745956122875214, 0.12806254625320435, -0.0940232053399086, 0.24380996823310852, -0.5074545741081238, 0.14687977731227875, 0.8075883984565735, -0.14147323369979858, 0.3044448792934418, 0.5226905941963196, 0.27178114652633667, -0.050590600818395615, -0.0624118372797966, -0.1338193267583847, 0.4137190580368042, 0.2303737848997116, 0.04537703096866608, 0.1285656839609146, 0.037392325699329376, -0.28611651062965393, 0.42750072479248047, 0.1700071394443512, 0.05940954014658928, 0.23880666494369507, -0.268059104681015, 0.22989746928215027, -0.313367635011673, -0.19008181989192963, -0.17245401442050934, 0.0501088947057724, -0.28234055638313293, -0.23928438127040863, 0.00915755145251751, -0.1258239895105362, -0.10918688029050827, 0.13408388197422028, -0.07101501524448395, -0.07527120411396027, 0.2101757526397705, -0.16032545268535614, -0.37892937660217285, 0.12228564918041229, -0.06287159025669098, 0.7130247950553894, 0.17282846570014954, 0.2856002151966095, -0.11114850640296936, 0.1484733521938324, -0.2640945017337799, 0.13624100387096405, 0.113515205681324, -0.18952339887619019, 0.23502537608146667, -0.280029833316803, 0.2613074779510498, -0.09655450284481049, -0.575864851474762, -0.017787374556064606, -0.04238288104534149, 0.033191390335559845, 0.11342374980449677, 0.32463330030441284, -0.2944399118423462, -0.1341831386089325, -0.06655312329530716, 0.15268824994564056, -0.021382436156272888, -0.4431462287902832, -0.07203560322523117, 0.008910980075597763, -0.3870755732059479, -0.2800697088241577, -0.2508387863636017, -0.5721120238304138, 0.33823317289352417, -0.11100514233112335, 0.21457025408744812, 0.349590003490448, 0.17335167527198792, 0.16152769327163696, 0.12302125245332718, 0.2338782399892807, -0.08427385985851288, -0.2922958433628082, 0.18586425483226776, -0.20423707365989685, -0.33535534143447876, -0.09867703169584274, 0.24759618937969208, 0.18753932416439056, -0.12835121154785156, -0.3988944888114929, -0.09184230118989944, -0.20357394218444824, 0.05909980461001396, -0.3334958851337433, 0.1667492389678955, -0.12138837575912476, -0.22782737016677856, -0.18984121084213257, -0.011079076677560806, -0.021487580612301826, 0.27443796396255493, -0.11309876292943954, 0.07818777114152908, -0.10752151161432266, 0.3173917531967163, 0.05316975340247154, 0.2918868958950043, -0.007798044942319393, -0.20807351171970367, -0.10900972783565521, 0.11559843271970749, 0.13997314870357513, -0.0966222807765007, 0.14529447257518768, 0.4677143096923828, 0.18188679218292236, -0.08603359758853912, 0.24015752971172333, -0.11785923689603806, 0.04168550670146942, 0.28235557675361633, -0.2782069444656372, -0.2134527862071991, -0.2763510048389435, 0.365737646818161, 0.17860452830791473, 0.055507592856884, -0.18172504007816315, -0.002894718199968338, -0.27610522508621216, 0.11256133019924164, 0.1539890170097351, 0.23696283996105194, 0.16464592516422272, -0.1830022931098938, -0.05935601890087128, -0.5156305432319641, -0.3042452931404114, 0.3401305675506592, -0.14642588794231415, 0.4253735840320587, -0.1181480884552002, -0.2919284701347351, -0.15858779847621918, 0.09187816083431244, 0.550509512424469, 0.08828665316104889, -0.4391610622406006, -0.12765876948833466, -0.05478919297456741, -0.07072795182466507, -0.13845552504062653, 0.03742951527237892, -0.005210248753428459, 0.46664896607398987, 0.3615599572658539, -0.21715852618217468, -0.34651175141334534, 0.3205726742744446, -0.11980357766151428, -0.06797683238983154, -0.20707079768180847, 0.08665013313293457, -0.11713029444217682, 0.004465086385607719, 0.17408597469329834, 0.15380264818668365, -0.14362704753875732, -0.08635736256837845, -0.051736731082201004, -0.0651661828160286, -0.06959041953086853, 0.1875235140323639, -0.04060704633593559, 0.2550400495529175, 0.17379972338676453, -0.12082216143608093, -0.1846349537372589, -0.21748653054237366, 0.012554154731333256, 0.034732867032289505, -0.20762191712856293, -0.4705533981323242, 0.12308677285909653, -0.20173528790473938, 0.1933024525642395, 0.09335320442914963, 0.06187913566827774, -0.007472462952136993, -0.15047575533390045, 0.5714513063430786, -0.35053983330726624, 0.10772935301065445, 0.019184771925210953, 0.20185808837413788, -0.16752371191978455, -0.20682291686534882, 0.2911284565925598, 0.18840551376342773, 0.21243993937969208, 0.3586564362049103, -0.1998223513364792, -0.21339890360832214, 0.016908880323171616, 0.5974593162536621, 0.8151944279670715, -0.04955807328224182, 0.11705330014228821, 0.07243022322654724, 0.014563210308551788, 0.28455400466918945, -0.6229467988014221, 0.09317603707313538, -0.08383823931217194, -0.46140360832214355, 0.058561451733112335, 0.0772935301065445, 0.14785319566726685, 0.08561606705188751, -0.24698422849178314, -0.024781810119748116, -0.05556677281856537, -0.17638379335403442, -0.18782512843608856, 0.30598750710487366, -0.1398802250623703, -0.22560203075408936, -0.13637225329875946, 0.1414116472005844, -0.013862848281860352, -0.07791207730770111, -0.0507250614464283, -0.1020638644695282, 0.18729712069034576, -0.10515451431274414, -0.010718472301959991, -0.19192788004875183, -0.20132963359355927, 0.36039525270462036, -0.1098957359790802, -0.05797050893306732, 0.2233491837978363, 0.13280263543128967, 0.4149215817451477, 0.26791444420814514, -0.11652399599552155, 0.10421419143676758, 0.17472727596759796, 0.25073036551475525, 0.13959521055221558, -0.02680237963795662, 0.25761088728904724, -0.14735418558120728, 0.2337227761745453, -0.09409860521554947, 0.02598448470234871, 0.007140167057514191, -0.3139704167842865, -0.16153568029403687, -0.04866386204957962, -0.14514419436454773, -0.2635049521923065, -0.2114173173904419, -0.3948565721511841, 0.0636044442653656, 0.23428882658481598, 0.025862503796815872, 0.09994282573461533, 0.3105604350566864, -0.028807681053876877, -0.4254378080368042, -0.11962264776229858, 0.04846123978495598, 0.38341084122657776, -0.21333728730678558, 0.4363678991794586, -0.22510124742984772, -0.2762296795845032, -0.29696959257125854, 0.16449669003486633, -0.03519146889448166, -0.06855452805757523, 0.23330633342266083, -0.08446580171585083, -0.13907161355018616, -0.05326773598790169, 0.34454068541526794, 0.11157241463661194, 0.17260563373565674, -0.17550809681415558, -0.07964875549077988, -0.43675851821899414, 0.1536358892917633, -0.24234123528003693, 0.3628210723400116, -0.037384528666734695, 0.05418103560805321, 0.09220677614212036, -0.13614694774150848, -0.40235868096351624, -0.27175959944725037, -0.06056798994541168, -0.254555881023407, 0.08301772177219391, 0.16231226921081543, 0.03820380941033363, 0.12406128644943237, 0.1329576075077057, 0.33121079206466675, -0.19762369990348816, -0.3144685626029968, -0.01889772154390812, 0.06731662154197693, -0.22615385055541992, 0.02013596147298813, 0.19445845484733582, 0.052190765738487244, -0.15465085208415985, 0.010803704150021076, 0.001321490854024887, -0.12769633531570435, -0.02469499409198761, 0.48969584703445435, 0.0286201573908329, -0.11226003617048264, 0.32509738206863403, -0.0645802766084671, 0.2378394454717636, 0.3267027735710144, 0.09366043657064438, 0.25547003746032715, -0.13102702796459198, -0.1314122974872589, -0.19938433170318604, 0.0649990439414978, 0.12845973670482635, -0.0617235004901886, -0.01235818862915039, 0.07095048576593399, -0.029532309621572495, 0.18241450190544128, -0.11119190603494644, 0.32882702350616455, -0.4711498022079468, -0.27918362617492676, -0.03471257537603378, 0.2964105010032654, -0.05786135792732239, -0.12449419498443604, 0.02304498665034771, -0.08565957099199295, -0.06959913671016693, 0.05447584390640259, 0.06254728138446808, 0.25197750329971313, -0.06455756723880768, 0.17291444540023804, -0.06962046027183533, -0.32267671823501587, 0.1476718634366989, 0.5046244859695435, -0.09494093060493469, 0.0013559311628341675, 0.09442576766014099, -0.08789290487766266, 0.2792844772338867, 0.31913524866104126, 0.081548772752285, 0.32380324602127075, 0.08986988663673401, 0.23750551044940948, -0.10444452613592148, -0.320840984582901, 0.1552085429430008, 0.25109004974365234, -0.4913504123687744, 0.3471229374408722, 0.2657632827758789, -0.0806078240275383, 0.25035810470581055, -0.22506028413772583, -0.05650706589221954, 0.1838022768497467, -0.27260616421699524, -0.030758902430534363, -0.008317673578858376, 0.11938711255788803, 0.13288936018943787, -0.13814406096935272, 0.0030197352170944214, 0.1476038098335266, 0.10212497413158417, 0.19988586008548737, 0.13206103444099426, 0.5093647241592407, -0.04436430335044861, -0.01330682635307312, 0.2791025638580322, -0.2739001214504242, -0.08435551822185516, 0.27914607524871826, -0.13380390405654907, -0.1307171881198883, 0.2386612445116043, 0.40121990442276, 0.35921213030815125, 0.2004004269838333, 0.06181938201189041, 0.12366741895675659, 0.051844194531440735, -0.06990444660186768, 0.08125543594360352, 0.3893929123878479, 0.041392527520656586, 0.13779504597187042, 0.27136969566345215, -0.24181917309761047, 0.4873696565628052, -0.10882881283760071, 0.1148320883512497, -0.45206278562545776, -0.05661379545927048, 0.4720342755317688, -0.18810614943504333, -0.13645011186599731, -0.20574134588241577, -0.19770920276641846, -0.10903379321098328, 0.49285030364990234, -0.008370527997612953, 0.010573826730251312, -0.17062322795391083, 0.14369119703769684, 0.06304460763931274, 0.5899662971496582, 0.1505088210105896, 0.2129414677619934, -0.31117644906044006, -0.01932646334171295, -0.11162818223237991, 0.087333083152771, 0.2149314433336258, 0.14508067071437836, 0.6200745105743408, 0.2570773959159851, -0.044965408742427826, -0.0028924234211444855, 0.2892477512359619, -0.4052569568157196, -0.0382206067442894, -0.04145754128694534, -0.3320305049419403, 0.1917305439710617, -0.44587457180023193, -0.07489077001810074, 0.2120734006166458, -0.3001273572444916, 0.5275959968566895, -0.10703440010547638, 0.13142171502113342, -0.27820849418640137, 0.4371458888053894, 0.496909499168396, 0.5697157382965088, 0.36907893419265747, 0.0039232149720191956, 0.15129795670509338, -0.14365264773368835, -0.22050686180591583, 0.16279634833335876, 0.11362411826848984, -0.32082608342170715, 0.19607245922088623, 0.050374846905469894, 0.0802977904677391, -0.16940201818943024, -0.14291411638259888, -0.0846562460064888, 0.06801249086856842, -0.10391081869602203, -0.33919602632522583, 0.04811818152666092, 0.04130646586418152, 0.2661508321762085, -0.0770270824432373, 0.2835909426212311, 0.38824936747550964, 0.0018279366195201874, 0.11203578114509583, -0.3689526319503784, -0.20629948377609253, 0.3873203992843628, -0.022158794105052948, -0.0904926210641861, -0.13602593541145325, 0.33931756019592285, -0.3589242994785309, 0.1747439205646515, -0.885825514793396, -0.22089636325836182, 0.4118146002292633, 0.084984689950943, -0.2984265387058258, 0.4016049802303314, 0.11484809219837189, 0.08801649510860443, -0.0005204379558563232, 0.5346783399581909, -0.1615411639213562, -0.18551655113697052, -0.08102528750896454, -0.4708658456802368 ]
https://github.com/huggingface/datasets/pull/1982
Fix NestedDataStructure.data for empty dict
still facing the same issue or similar: from datasets import load_dataset wtm14_test = load_dataset('wmt14',"de-en",cache_dir='./datasets') ~\.cache\huggingface\modules\datasets_modules\datasets\wmt14\43e717d978d2261502b0194999583acb874ba73b0f4aed0ada2889d1bb00f36e\wmt_utils.py in _split_generators(self, dl_manager) 758 # Extract manually downloaded files. 759 manual_files = dl_manager.extract(manual_paths_dict) --> 760 extraction_map = dict(downloaded_files, **manual_files) 761 762 for language in self.config.language_pair: TypeError: type object argument after ** must be a mapping, not list
Fix #1981
52
text: Fix NestedDataStructure.data for empty dict Fix #1981 still facing the same issue or similar: from datasets import load_dataset wtm14_test = load_dataset('wmt14',"de-en",cache_dir='./datasets') ~\.cache\huggingface\modules\datasets_modules\datasets\wmt14\43e717d978d2261502b0194999583acb874ba73b0f4aed0ada2889d1bb00f36e\wmt_utils.py in _split_generators(self, dl_manager) 758 # Extract manually downloaded files. 759 manual_files = dl_manager.extract(manual_paths_dict) --> 760 extraction_map = dict(downloaded_files, **manual_files) 761 762 for language in self.config.language_pair: TypeError: type object argument after ** must be a mapping, not list
[ -0.33899369835853577, -0.13277004659175873, -0.041671112179756165, 0.453538179397583, 0.2292463183403015, 0.03704342991113663, 0.3815484344959259, 0.4933333396911621, 0.33297351002693176, 0.14949828386306763, -0.038460128009319305, 0.19265440106391907, -0.2758958637714386, 0.484613835811615, -0.260802686214447, 0.16412988305091858, -0.08267774432897568, -0.03383319079875946, -0.21556681394577026, -0.026899980381131172, -0.45058566331863403, 0.32264235615730286, -0.2576664388179779, -0.18106703460216522, -0.25457677245140076, -0.06541009992361069, 0.023307954892516136, 0.31983619928359985, -0.09385684132575989, -0.3902377784252167, 0.41808822751045227, -0.14782162010669708, -0.01811699941754341, 0.31898632645606995, -0.00010941575601464137, 0.10019083321094513, 0.31253206729888916, -0.13574688136577606, -0.39003488421440125, -0.31983649730682373, -0.11572092026472092, -0.08086312562227249, 0.07424385845661163, -0.11397876590490341, -0.08101917803287506, -0.23557499051094055, -0.13082511723041534, -0.20291054248809814, 0.5323178768157959, 0.3319482207298279, 0.194817453622818, 0.0076258014887571335, 0.104548379778862, -0.40920424461364746, 0.2625367343425751, 0.3178609013557434, 0.032507963478565216, -0.06131180003285408, 0.18414443731307983, -0.14784707129001617, 0.10748010873794556, 0.238938570022583, -0.23199127614498138, 0.08709831535816193, -0.079572893679142, 0.10361143201589584, 0.16099101305007935, -0.4305376410484314, 0.11927034705877304, 0.28352412581443787, 0.4038088619709015, -0.12617811560630798, -0.23085610568523407, -0.08895308524370193, -0.23541295528411865, -0.26712900400161743, 0.05504891648888588, 0.23048432171344757, -0.2715790271759033, 0.3101062774658203, 0.3908218741416931, 0.005113043822348118, 0.05984443426132202, 0.14905884861946106, -0.23964056372642517, 0.3348402678966522, -0.08198103308677673, -0.014120951294898987, 0.1493772715330124, -0.07327290624380112, 0.2033899426460266, -0.07743945717811584, -0.08320462703704834, 0.09616197645664215, -0.16963720321655273, -0.035674288868904114, 0.18923282623291016, -0.032671257853507996, -0.004813211038708687, 0.03474994748830795, -0.15196053683757782, 0.11165719479322433, -0.08346854895353317, 0.19835391640663147, 0.1621062457561493, 0.03631824254989624, 0.20053181052207947, -0.032211143523454666, 0.04645843058824539, 0.03268890082836151, -0.08886873722076416, -0.0792519599199295, -0.09507522732019424, -0.24240344762802124, -0.2431289404630661, 0.12248941510915756, 0.5370156168937683, 0.1197042167186737, -0.3804830312728882, -0.034217339009046555, -0.23169702291488647, -0.1937125325202942, -0.044922493398189545, 0.3660289943218231, 0.07868020236492157, 0.18917986750602722, 0.24802266061306, 0.3345314860343933, -0.17889857292175293, -0.08560267090797424, -0.2941837012767792, 0.11927029490470886, -0.03715275973081589, -0.19094020128250122, 0.03725002333521843, 0.5214723348617554, 0.14887996017932892, 0.20754405856132507, -0.11943812668323517, -0.052843526005744934, 0.13772819936275482, -0.11717414855957031, 0.23931962251663208, 0.3141680657863617, 0.13481205701828003, 0.16499711573123932, 0.5329934358596802, -0.42342036962509155, -0.05147617682814598, 0.17010429501533508, -0.27818477153778076, -0.2513132393360138, -0.09526073932647705, 0.261936753988266, -0.10519591718912125, 0.12389658391475677, -0.146988183259964, 0.14543941617012024, 0.1453336775302887, -0.01453450508415699, -0.21622464060783386, -0.209792360663414, -0.3595326542854309, -0.24713356792926788, 0.17413850128650665, 0.664114773273468, -0.4405665397644043, -0.03211740404367447, -0.4459890127182007, -0.08877691626548767, 0.24182337522506714, 0.11587083339691162, -0.14966003596782684, 0.43519869446754456, -0.37350237369537354, 0.30739057064056396, 0.13028393685817719, -0.35527902841567993, -0.18426841497421265, 0.04289734363555908, -0.14368531107902527, 0.2133897989988327, 0.23379474878311157, -0.10915036499500275, 0.2529265284538269, -0.15959031879901886, 0.25618231296539307, 0.05512913689017296, 0.019192397594451904, -0.16324204206466675, -0.21342608332633972, -0.16816532611846924, 0.41727906465530396, -0.12253817915916443, 0.08728795498609543, 0.1065104529261589, 0.07246401160955429, 0.12444572895765305, 0.2902720272541046, -0.1822182685136795, 0.1517619490623474, 0.14247888326644897, 0.46340808272361755, 0.0552409291267395, -0.10666638612747192, -0.12197451293468475, -0.5367569327354431, 0.1419726014137268, -0.15141969919204712, 0.3570792078971863, -0.4103541374206543, -0.13616904616355896, -0.13196757435798645, 0.1531560868024826, -0.43549486994743347, -0.2962644398212433, 0.23376888036727905, -0.026684686541557312, -0.15349705517292023, 0.02052031084895134, -0.0077188871800899506, 0.024394173175096512, -0.08769810944795609, 0.16048002243041992, -0.15967057645320892, 0.24281255900859833, -0.1124434545636177, -0.17905832827091217, 0.03623557090759277, 0.2396436631679535, 0.12859049439430237, -0.09459378570318222, -0.02603713423013687, 0.019462991505861282, 0.5960862636566162, -0.08775249123573303, -0.15549245476722717, -0.03910462558269501, 0.04006458818912506, -0.4735338091850281, 0.07281582802534103, 0.157889723777771, 0.29143282771110535, -0.34154507517814636, 0.05914602056145668, 0.25339365005493164, 0.27220553159713745, 0.28738781809806824, -0.04824941232800484, 0.2845572531223297, 0.15066410601139069, -0.08880309015512466, 0.20183707773685455, -0.45603522658348083, -0.19231855869293213, 0.07739347219467163, 0.19690486788749695, -0.04288142919540405, 0.0683344304561615, 0.12655009329319, 0.44949600100517273, 0.22506755590438843, 0.14079217612743378, 0.08317942917346954, -0.17810651659965515, -0.10694685578346252, -0.23664233088493347, 0.2616957128047943, 0.31722113490104675, 0.20425377786159515, 0.10355392098426819, 0.2105531543493271, 0.35713088512420654, -0.09202931821346283, 0.44483107328414917, -0.011404626071453094, 0.07271092385053635, 0.1677655577659607, -0.11378343403339386, -0.10507998615503311, -0.3343324363231659, 0.0328315831720829, -0.13160760700702667, 0.2728404104709625, -0.1672823131084442, -0.2275073528289795, -0.35680362582206726, -0.12121101468801498, -0.31255874037742615, -0.34615540504455566, -0.21462485194206238, -0.34377846121788025, -0.23484842479228973, -0.018015149980783463, -0.2951217591762543, 0.30386167764663696, 0.46105238795280457, -0.07621826231479645, 0.06218043714761734, -0.15518587827682495, -0.076361283659935, -0.37879011034965515, -0.1567956507205963, 0.07223854959011078, 0.33030828833580017, -0.07591179758310318, 0.07108449935913086, -0.22884076833724976, -0.1623106449842453, 0.008284171111881733, -0.3987165689468384, 0.1678408980369568, -0.12118561565876007, 0.14139486849308014, 0.4278647005558014, 0.4325717091560364, 0.31268125772476196, -0.23289984464645386, 0.3250217139720917, 0.07393854111433029, -0.1726866364479065, 0.11962370574474335, 0.17854399979114532, 0.09804461151361465, -0.2692490816116333, -0.4353187382221222, -0.5330180525779724, -0.45355668663978577, -0.027962513267993927, 0.13634561002254486, 0.21158063411712646, 0.1283555030822754, 0.10851456969976425, 0.14083823561668396, 0.026731694117188454, -0.005791831761598587, -0.21728911995887756, 0.08000682294368744, 0.14077045023441315, -0.24580390751361847, -0.17317207157611847, 0.14766524732112885, -0.31109970808029175, 0.3513665199279785, -0.14663851261138916, -0.2205108404159546, -0.11462201923131943, -0.18611563742160797, 0.08935092389583588, 0.05434155836701393, 0.2584121525287628, 0.36986997723579407, 0.43356338143348694, -0.09197750687599182, -0.22310733795166016, -0.06252481788396835, 0.24463659524917603, -0.17155009508132935, -0.002091646194458008, 0.1073078066110611, 0.04946679249405861, 0.015284005552530289, 0.34491556882858276, 0.31331393122673035, 0.1913868635892868, 0.3204048275947571, -0.033515118062496185, 0.24692220985889435, -0.26737266778945923, -0.34975698590278625, -0.1702931672334671, -0.02385687828063965, -0.029276730492711067, 0.2514132261276245, -0.12480802088975906, -0.022710179910063744, -0.15031585097312927, -0.04741183668375015, -0.33257821202278137, -0.30621111392974854, 0.05877842754125595, -0.10974682867527008, 0.1056298241019249, 0.0588238425552845, -0.011527173221111298, -0.14355529844760895, 0.13269361853599548, 0.008287863805890083, 0.139631986618042, -0.07047609239816666, 0.01832127943634987, -0.19366052746772766, -0.016026480123400688, -0.2633327543735504, 0.36815345287323, -0.0001290712971240282, 0.0826922282576561, -0.007761135697364807, -0.3307129442691803, -0.18232761323451996, 0.04920557141304016, 0.6613392233848572, -0.2999531030654907, 0.1035584956407547, 0.20073841512203217, -0.14926433563232422, -0.13312837481498718, -0.054962582886219025, -0.2942207157611847, -0.09803039580583572, 0.3291463851928711, 0.282184362411499, -0.35318830609321594, -0.33753183484077454, 0.03518687188625336, 0.32330232858657837, -0.18713736534118652, 0.229018896818161, 0.06300608813762665, -0.40261921286582947, -0.2919967770576477, -0.12144691497087479, 0.3732473850250244, 0.383348673582077, 0.010189807042479515, 0.03561088815331459, -0.14003679156303406, -0.12474871426820755, 0.1592637598514557, -0.025960426777601242, 0.4820335805416107, -0.2396780252456665, 0.04113173112273216, -0.05036868900060654, 0.15852198004722595, 0.4892333745956421, 0.6402111053466797, -0.24434271454811096, -0.22347721457481384, -0.22427567839622498, -0.2585110664367676, 0.3407789468765259, 0.19854670763015747, -0.1891288459300995, 0.2026222050189972, -0.2231285721063614, 0.098151296377182, -0.5313572287559509, 0.045183032751083374, 0.3146476149559021, -0.01403506938368082, -0.11622936278581619, -0.38588863611221313, 0.03728333115577698, 0.01435195654630661, 0.04582658410072327, 0.25261062383651733, -0.014607392251491547, -0.4786885976791382, 0.4449350833892822, -0.18675771355628967, 0.6162145733833313, 0.251057505607605, 0.15272779762744904, 0.2710859179496765, 0.06295178085565567, 0.10669245570898056, 0.18672971427440643, -0.07956049591302872, -0.34002479910850525, 0.06862150877714157, -0.06468807905912399, -0.06205189973115921, 0.10411401093006134, 0.2619935870170593, -0.3673757016658783, 0.12447818368673325, -0.2571910619735718, 0.2517516314983368, 0.04188785329461098, 0.12229333817958832, 0.08397793024778366, -0.04503751918673515, 0.1070665642619133, 0.15650254487991333, 0.03768405318260193, 0.27489861845970154, -0.061044733971357346, -0.32254862785339355, -0.011373847723007202, -0.3947126865386963, -0.32971465587615967, 0.08371617645025253, -0.43520587682724, 0.18425284326076508, 0.07948416471481323, -0.12149210274219513, 0.3800480365753174, 0.3976598083972931, -0.03829560428857803, 0.2976870834827423, -0.14308467507362366, -0.06590181589126587, -0.0646204724907875, 0.12393566220998764, 0.07267884910106659, 0.05312762036919594, 0.37521862983703613, -0.04879480227828026, -0.1129259541630745, -0.0955071672797203, -0.1478632241487503, 0.2533855438232422, 0.0904930830001831, -0.029301784932613373, -0.13785293698310852, -0.3255462944507599, -0.4559755325317383, 0.11767274141311646, -0.062326639890670776, -0.2930889129638672, 0.17357945442199707, -0.007901124656200409, -0.5271620750427246, 0.3109186589717865, -0.13294747471809387, -0.16818450391292572, 0.0851966142654419, 0.3039033114910126, 0.014618968591094017, 0.19849036633968353, 0.5618255138397217, 0.24962131679058075, -0.02202664315700531, -0.3998167812824249, 0.16838032007217407, 0.09300735592842102, -0.2657194435596466, 0.5435081124305725, 0.09994092583656311, -0.06181001663208008, -0.06791375577449799, 0.40510672330856323, 0.08422236144542694, 0.14539600908756256, -0.09021182358264923, -0.4768301248550415, -0.09969887882471085, 0.24759933352470398, -0.11818026006221771, 0.10741232335567474, -0.20077067613601685, 0.4743950664997101, 0.09394462406635284, 0.07569914311170578, -0.40289947390556335, 0.3172178268432617, -0.11237391829490662, 0.18967756628990173, -0.05070561170578003, -0.2523290514945984, 0.3490234911441803, 0.11191138625144958, 0.1269054114818573, -0.0757744088768959, -0.3001117706298828, -0.26748892664909363, -0.29473352432250977, 0.11414813250303268, -0.10573803633451462, -0.08505371958017349, 0.36840030550956726, -0.07273927330970764, 0.0036843661218881607, -0.18236255645751953, 0.06116924807429314, 0.05805082619190216, -0.21768029034137726, 0.5120711326599121, 0.10076272487640381, 0.24875691533088684, -0.1552300900220871, 0.08476687967777252, -0.09680776298046112, 0.036104392260313034, -0.15728643536567688, 0.05294468253850937, -0.03922818973660469, -0.09640605747699738, 0.46376314759254456, 0.10023356974124908, -0.17249973118305206, -0.06009267270565033, 0.3472062647342682, -0.07742303609848022, -0.12739044427871704, 0.09396710246801376, 0.42062854766845703, 0.28115314245224, -0.09313689172267914, 0.18708130717277527, 0.06729988753795624, 0.22624151408672333, -0.4546758830547333, 0.13155537843704224, 0.5138152241706848, 0.019015565514564514, 0.20968490839004517, 0.32424381375312805, 0.1809854507446289, -0.09364613890647888, -0.14857237040996552, -0.009924845770001411, 0.1908189058303833, -0.1985192745923996, 0.3005202114582062, 0.43728870153427124, -0.139724463224411, 0.2048686146736145, 0.12375081330537796, 0.0412210151553154, 0.2237185835838318, 0.6666913628578186, -0.15731164813041687, 0.29959636926651, -0.06909807026386261, -0.1594456434249878, 0.14194855093955994, -0.5214470624923706, 0.2958182990550995, 0.15531910955905914, -0.06043437123298645, -0.1775873303413391, -0.2182927131652832, 0.15978609025478363, -0.12358010560274124, -0.04104432463645935, 0.15502415597438812, 0.22196786105632782, -0.26885950565338135, -0.1604016125202179, 0.01193295419216156, -0.1450236588716507, -0.23199792206287384, -0.27515557408332825, 0.10849657654762268, -0.19127069413661957, 0.03908034414052963, -0.02767285704612732, 0.0917372852563858, -0.00920131616294384, -0.06935930997133255, -0.1363973319530487, -0.10022640973329544, -0.42417657375335693, 0.16742029786109924, 0.36841851472854614, 0.03214818984270096, -0.0038205645978450775, 0.263326495885849, 0.5784909725189209, 0.37588220834732056, -0.45880573987960815, -0.17318516969680786, -0.11304713785648346, -0.22903835773468018, -0.3068315088748932, 0.11206082999706268, -0.1505822390317917, 0.312224417924881, 0.3302020728588104, 0.17869645357131958, -0.2167283445596695, -0.2167196124792099, 0.2181956022977829, -0.21014223992824554, -0.0037725248839706182, 0.5055930018424988, -0.026420727372169495, -0.19838610291481018, -0.25279712677001953, 0.08051430433988571, -0.349494606256485, -0.022389192134141922, 0.6406877636909485, 0.14977586269378662, 0.2601989209651947, 0.029418516904115677, 0.1254986822605133, 0.009577296674251556, 0.49076181650161743, 0.16204659640789032, -0.03174087405204773, -0.22786806523799896, -0.20438219606876373, -0.6262382864952087, 0.0168168768286705, -0.187803253531456, 0.1290358006954193, -0.04586317017674446, 0.13566558063030243, 0.23266899585723877, 0.21547743678092957, 0.052663110196590424, 0.11352015286684036, -0.10053098946809769, -0.041229911148548126, -0.38409656286239624, -0.13722699880599976, 0.008132800459861755, 0.020718691870570183, 0.1090470552444458, -0.3349817097187042, -0.12739448249340057, -0.09664060920476913, 0.13804367184638977, -0.23566226661205292, -0.04181262105703354, -0.03748325631022453, -0.22889232635498047, 0.13694486021995544, 0.22520378232002258, 0.1783371865749359, -0.14136314392089844, 0.027085816487669945, -0.0019607804715633392, -0.12505382299423218, -0.12818627059459686, 0.309090256690979, 0.1330571323633194, 0.4270161986351013, -0.27372512221336365, 0.02182936482131481, -0.3424655497074127, 0.07105576246976852, 0.24795223772525787, -0.07183889299631119, -0.4247261881828308, 0.4188850522041321, -0.13324159383773804, -0.024202128872275352, 0.03306687995791435, 0.3108381927013397, -0.1920231729745865, 0.16866272687911987, -0.33770373463630676, -0.4363677501678467, 0.3264977037906647, -0.1273539513349533, -0.48533764481544495, -0.08312727510929108, 0.11242140084505081, -0.18343481421470642, -0.01973058097064495, -0.2104201316833496, 0.13096287846565247, 0.3446972370147705, -0.1103912815451622, -0.38335105776786804, 0.29717040061950684, -0.03438519686460495, -0.17088879644870758, 0.0526219941675663, 0.08216625452041626, 0.28941410779953003, -0.1445833295583725, -0.05895461142063141, -0.22212311625480652 ]
https://github.com/huggingface/datasets/pull/1982
Fix NestedDataStructure.data for empty dict
Hi @sabania We released a patch version that fixes this issue (1.4.1), can you try with the new version please ? ``` pip install --upgrade datasets ```
Fix #1981
27
text: Fix NestedDataStructure.data for empty dict Fix #1981 Hi @sabania We released a patch version that fixes this issue (1.4.1), can you try with the new version please ? ``` pip install --upgrade datasets ```
[ -0.47208306193351746, -0.17606571316719055, -0.21255840361118317, 0.29343169927597046, 0.24258875846862793, -0.11963814496994019, 0.13265185058116913, 0.29822030663490295, 0.20947201550006866, 0.2602091133594513, -0.0050234198570251465, 0.2526417076587677, 0.13024091720581055, 0.5145735144615173, -0.3396339416503906, 0.11423060297966003, -0.03175891190767288, 0.21660113334655762, -0.05238679051399231, -0.04839605093002319, -0.1893814653158188, 0.3117503225803375, -0.21961958706378937, -0.0029048919677734375, -0.08368347585201263, -0.008456612005829811, 0.036851994693279266, 0.258916974067688, -0.3257215619087219, -0.4612945318222046, 0.4652118682861328, -0.05206156149506569, -0.34763917326927185, 0.2736392319202423, -0.00010405718057882041, 0.23445837199687958, 0.6139094829559326, -0.010653646662831306, -0.31980273127555847, -0.23686297237873077, 0.05448765307664871, -0.32577499747276306, 0.13673949241638184, -0.11533765494823456, -0.1558241993188858, 0.046262793242931366, -0.0026926789432764053, 0.0585760697722435, 0.4613993763923645, 0.14845718443393707, 0.29780125617980957, 0.1570461392402649, 0.4674533009529114, -0.23754914104938507, 0.2657155692577362, 0.08972722291946411, 0.09238366782665253, 0.020974958315491676, 0.2624381184577942, -0.03972955048084259, 0.09184610843658447, 0.2906496226787567, -0.26438549160957336, -0.0225810706615448, -0.225886732339859, -0.09639856964349747, 0.2198481261730194, -0.2834516763687134, 0.12196813523769379, 0.22448506951332092, 0.522656261920929, -0.2681814432144165, -0.2640363276004791, 0.11103586107492447, -0.1304585188627243, -0.25450488924980164, 0.0256987102329731, 0.16297289729118347, -0.17636825144290924, 0.1702076941728592, 0.3210645616054535, -0.1216425746679306, -0.13779708743095398, 0.026478461921215057, -0.19225667417049408, 0.36779898405075073, -0.10862763971090317, -0.060543231666088104, -0.04583558812737465, -0.25124526023864746, 0.1952507197856903, 0.08273500204086304, -0.28917714953422546, -0.0694599524140358, -0.06383074820041656, -0.18899236619472504, -0.01487104594707489, -0.04031907021999359, -0.03295823559165001, 0.05495111644268036, -0.01615190878510475, 0.1964610517024994, 0.0711607113480568, 0.21615520119667053, 0.29109686613082886, -0.15340431034564972, 0.2520233392715454, 0.09697951376438141, 0.10143217444419861, -0.044148482382297516, -0.06771652400493622, -0.15081384778022766, 0.02955685555934906, -0.1201096773147583, -0.4099568724632263, 0.054342374205589294, 0.5138694047927856, -0.04859438166022301, -0.43755432963371277, 0.08067622780799866, -0.04753710329532623, 0.07765505462884903, 0.07170359790325165, 0.4003762900829315, -0.06982052326202393, 0.0642274022102356, 0.20428280532360077, 0.1543254256248474, -0.28623637557029724, 0.006272963248193264, -0.3292943239212036, 0.08138768374919891, 0.11326536536216736, -0.38314884901046753, -0.03413016349077225, 0.24427403509616852, 0.300489217042923, 0.28720369935035706, -0.06442978978157043, 0.040188029408454895, 0.02573137916624546, -0.10803917050361633, -0.011249236762523651, 0.5864707231521606, 0.15926018357276917, -0.07396460324525833, 0.29952800273895264, -0.29429733753204346, 0.10115305334329605, 0.23116937279701233, -0.3077554404735565, -0.2796299457550049, -0.2875393033027649, 0.32213783264160156, -0.1630520224571228, -0.06214504688978195, -0.04556237906217575, 0.1377348154783249, 0.08071979880332947, -0.31449857354164124, -0.11208786815404892, -0.05578211694955826, -0.14777086675167084, -0.18603713810443878, 0.14118583500385284, 0.3316653072834015, -0.18371449410915375, -0.07444162666797638, -0.34440577030181885, -0.2513748109340668, 0.09099368005990982, -0.03362977132201195, 0.07070201635360718, 0.17641279101371765, -0.2091740071773529, 0.09135998785495758, 0.06849975883960724, -0.5581195950508118, -0.41528135538101196, 0.03456700220704079, -0.004585102200508118, -0.2054416388273239, 0.005327403545379639, -0.05410632863640785, 0.014988338574767113, -0.02254565805196762, 0.10171385109424591, -0.13308750092983246, 0.08920634537935257, -0.04763125628232956, -0.31773313879966736, -0.006048351526260376, -0.024444498121738434, -0.004703834652900696, -0.01366448774933815, -0.029479235410690308, -0.0677909329533577, -0.018891287967562675, 0.15411412715911865, -0.014462839812040329, 0.036449313163757324, 0.38761091232299805, 0.6851800084114075, 0.04669690132141113, 0.025125054642558098, -0.08608405292034149, -0.5206568241119385, 0.06904299557209015, -0.19884468615055084, 0.08633044362068176, -0.39373260736465454, -0.1817212849855423, -0.2146531343460083, 0.19857917726039886, -0.18753334879875183, -0.19378043711185455, 0.357089102268219, -0.1620463877916336, 0.10082697868347168, -0.15118826925754547, -0.06228046864271164, 0.04461856186389923, -0.12538649141788483, 0.2395516335964203, 0.019228657707571983, 0.4119299650192261, -0.13732601702213287, -0.18413755297660828, 0.015735890716314316, 0.1425420641899109, 0.15317799150943756, 0.006806688383221626, 0.03940778225660324, 0.2690977156162262, 0.2945444881916046, -0.07748152315616608, -0.1527099311351776, -0.21283166110515594, -0.07247543334960938, -0.3392651677131653, 0.052663374692201614, 0.17093411087989807, 0.2090347707271576, -0.1359565556049347, -0.026437893509864807, 0.11498817056417465, 0.11081314086914062, 0.20215173065662384, -0.009700808674097061, 0.18088094890117645, 0.14301009476184845, -0.15497121214866638, 0.0940493792295456, -0.34844493865966797, -0.21209920942783356, 0.17711703479290009, 0.4592439532279968, -0.18221190571784973, -0.07232408225536346, 0.04259629547595978, 0.03193369880318642, 0.19837911427021027, 0.08105877041816711, 0.10608936846256256, -0.06411140412092209, -0.08791740238666534, -0.029188474640250206, 0.22182397544384003, 0.21201002597808838, 0.3588976263999939, 0.029805921018123627, 0.2552250921726227, 0.2121744602918625, -0.10296470671892166, 0.36081263422966003, 0.09530597925186157, -0.06636297702789307, 0.2375451922416687, 0.16034835577011108, -0.24817128479480743, -0.5073238611221313, -0.011667272076010704, -0.041221439838409424, 0.29921072721481323, -0.21534478664398193, -0.19712090492248535, -0.13097365200519562, -0.17663246393203735, 0.11492101848125458, -0.28499308228492737, -0.11544187366962433, -0.26270753145217896, -0.006824813783168793, 0.11293286085128784, -0.34319183230400085, 0.19777663052082062, 0.4907706081867218, -0.09962736070156097, 0.18406331539154053, 0.06622220575809479, -0.22871500253677368, -0.2614850699901581, -0.06129233539104462, 0.1850532591342926, 0.004593743942677975, 0.051711197942495346, 0.07954227179288864, -0.12667305767536163, 0.031808700412511826, -0.15625068545341492, -0.5776526927947998, 0.18027818202972412, -0.2473849207162857, 0.2634173035621643, 0.3580264747142792, 0.4083119034767151, -0.011386662721633911, -0.10157239437103271, 0.3482781648635864, 0.0013254322111606598, -0.32735875248908997, 0.017777148634195328, 0.15207679569721222, -0.012063144706189632, -0.3160718083381653, -0.17547151446342468, -0.395107626914978, -0.41793903708457947, 0.1356179416179657, 0.02327171340584755, 0.21825304627418518, 0.07694872468709946, 0.153963103890419, 0.04449303075671196, 0.002043253742158413, -0.06216523051261902, -0.16994255781173706, -0.07599969208240509, 0.03801427409052849, -0.1561153084039688, -0.1572735607624054, 0.13938768208026886, -0.18546843528747559, 0.5072312355041504, -0.1989026814699173, -0.42081218957901, -0.35445597767829895, -0.11375978589057922, 0.05301818624138832, -0.0483677014708519, 0.15443770587444305, 0.30185747146606445, 0.32123681902885437, -0.2058228701353073, -0.2441379725933075, -0.02461976744234562, 0.06216006353497505, -0.11629132181406021, -0.10764317959547043, -0.16635823249816895, 0.1881546676158905, -0.04782434552907944, 0.30237385630607605, 0.39303821325302124, 0.2029251605272293, 0.21174494922161102, -0.14705754816532135, 0.5641219019889832, -0.22084316611289978, -0.1918123960494995, -0.2102029174566269, 0.15985006093978882, -0.06864364445209503, 0.0653347373008728, -0.020595107227563858, 0.03555753454566002, -0.1351580023765564, -0.08815030753612518, -0.13088953495025635, -0.1497344970703125, -0.10134248435497284, -0.05147685110569, 0.1149003803730011, 0.08700712025165558, -0.031009826809167862, -0.1380271166563034, 0.08102855086326599, -0.0807901918888092, -0.019127629697322845, -0.12562215328216553, -0.145978182554245, -0.2349962443113327, -0.2416170835494995, -0.13635045289993286, 0.34742724895477295, -0.12330196052789688, -0.04407080262899399, 0.024011697620153427, -0.07305283844470978, -0.02361816167831421, -0.07617021352052689, 0.4869435429573059, -0.30206117033958435, -0.008720505982637405, 0.3404364287853241, -0.08844248950481415, -0.446126252412796, 0.05133122578263283, -0.32072561979293823, 0.2779618799686432, 0.2728753685951233, 0.17787450551986694, -0.5157328248023987, -0.14977240562438965, 0.25097715854644775, 0.07527033984661102, -0.046112317591905594, 0.1033729538321495, -0.057504940778017044, -0.3537454903125763, -0.22271457314491272, 0.13776928186416626, 0.32846325635910034, 0.18188349902629852, 0.13160938024520874, -0.03675452992320061, -0.15873292088508606, -0.04577093571424484, -0.05883041024208069, -0.09194569289684296, 0.5916130542755127, -0.34871619939804077, 0.19171296060085297, -0.20761322975158691, -0.10302174091339111, 0.40800341963768005, 0.7823266386985779, -0.12824033200740814, -0.058383598923683167, -0.14689043164253235, 0.04914693161845207, 0.29212427139282227, 0.08625548332929611, 0.04396580532193184, 0.14234872162342072, -0.32080304622650146, 0.11044822633266449, -0.15035437047481537, 0.04877444729208946, -0.0004493650048971176, 0.09335998445749283, 0.07969097048044205, -0.14803041517734528, 0.23234990239143372, 0.03404746577143669, 0.05343945324420929, 0.16751036047935486, 0.2183132767677307, -0.18977944552898407, 0.335909366607666, -0.1346624493598938, 0.5257373452186584, 0.3317449688911438, -0.03115152195096016, 0.2873953878879547, -0.00918998196721077, 0.01750423014163971, 0.11140018701553345, -0.07237910479307175, -0.3983529508113861, -0.05856046825647354, 0.04990530014038086, 0.023281175643205643, 0.07140694558620453, 0.13726383447647095, -0.4218047261238098, 0.11917669326066971, 0.01706072688102722, 0.2131979763507843, -0.08560065180063248, 0.06374446302652359, -0.11067304760217667, 0.10496543347835541, 0.031114257872104645, 0.28416547179222107, -0.015763819217681885, 0.2103436440229416, -0.1218181923031807, -0.08953870087862015, -0.04091852903366089, -0.4499954581260681, -0.3142976760864258, 0.07563154399394989, -0.3599659204483032, 0.31434279680252075, 0.25477656722068787, -0.21635155379772186, -0.025034327059984207, 0.26731225848197937, 0.11527189612388611, 0.4627653658390045, -0.28957599401474, 0.24067236483097076, 0.11543700098991394, 0.007953007705509663, 0.13482527434825897, 0.22597850859165192, 0.02938816137611866, -0.1599554419517517, -0.2399469017982483, -0.1869908571243286, -0.20630142092704773, 0.12057937681674957, 0.16507422924041748, 0.027893397957086563, -0.032215990126132965, -0.30394303798675537, -0.24383914470672607, 0.12626543641090393, -0.041101209819316864, -0.30755865573883057, 0.24080738425254822, 0.1425284594297409, -0.18699660897254944, 0.18053701519966125, 0.07559342682361603, -0.3437822461128235, 0.13328789174556732, 0.2775600254535675, 0.10154871642589569, 0.08447199314832687, 0.509801983833313, -0.0014494545757770538, -0.11038964241743088, -0.365265429019928, 0.0027254298329353333, -0.1459575742483139, -0.14033958315849304, 0.6303434371948242, 0.08947741985321045, -0.09293222427368164, 0.17985031008720398, 0.1983412206172943, -0.017082706093788147, 0.12449188530445099, -0.25001052021980286, -0.09508897364139557, -0.32884782552719116, 0.346047580242157, -0.052743565291166306, 0.24699081480503082, -0.09877565503120422, 0.07143332809209824, 0.14756418764591217, -0.14541155099868774, -0.4616420567035675, 0.28667935729026794, -0.23821961879730225, 0.15294182300567627, -0.017584729939699173, -0.2785347104072571, 0.11990822106599808, -0.1632985919713974, 0.26060155034065247, -0.11296385526657104, -0.2483317255973816, -0.3605639636516571, 0.0010944567620754242, 0.0648021325469017, -0.05295180529356003, 0.05655696243047714, 0.17516867816448212, 0.05601569265127182, -0.1486024409532547, -0.036219339817762375, 0.1217421293258667, 0.0970098152756691, -0.11250542104244232, 0.32936471700668335, 0.08962508291006088, 0.23008444905281067, 0.00973571091890335, 0.04285624623298645, 0.03602490946650505, 0.055371563881635666, -0.2177465558052063, 0.08824485540390015, -0.050499092787504196, -0.08694837987422943, 0.5896854400634766, 0.05163945257663727, 0.03221360221505165, -0.03144341707229614, 0.3308145999908447, -0.046379148960113525, -0.17996208369731903, -0.019564226269721985, 0.3387921452522278, 0.16454613208770752, -0.12022045254707336, 0.1294601857662201, 0.09376339614391327, 0.37452811002731323, -0.4469979405403137, 0.1284712851047516, 0.2316637933254242, 0.15639476478099823, 0.27017655968666077, 0.04208239167928696, 0.2354980707168579, -0.2550863027572632, 0.09792500734329224, 0.29724037647247314, 0.3582994043827057, -0.1781165897846222, 0.2268284559249878, 0.37795740365982056, -0.18978561460971832, -0.06865964829921722, 0.12191125005483627, 0.07776667922735214, 0.23081114888191223, 0.6643635034561157, 0.10502791404724121, 0.24042437970638275, 0.19821873307228088, -0.08384788036346436, 0.09609218686819077, -0.20705506205558777, 0.14009340107440948, 0.004080474376678467, 0.08361084759235382, -0.14664822816848755, 0.08090737462043762, 0.10605362802743912, -0.08063501119613647, 0.016992660239338875, -0.060381464660167694, 0.13033351302146912, -0.3282671272754669, -0.31210288405418396, -0.0930359959602356, 0.04473152011632919, 0.000174790620803833, -0.14644144475460052, 0.04274972528219223, -0.10484902560710907, -0.011284135282039642, -0.16453368961811066, 0.07580579817295074, -0.11031487584114075, 0.06750933825969696, 0.24580615758895874, -0.08870736509561539, -0.2810235917568207, 0.40796610713005066, 0.45129889249801636, -0.17936170101165771, 0.02899997867643833, 0.5695737600326538, 0.7378262281417847, 0.1508868932723999, -0.3116515576839447, -0.02808327227830887, -0.13139967620372772, -0.2889562249183655, -0.28332775831222534, 0.1798095405101776, -0.03979417681694031, 0.2653144299983978, 0.20486024022102356, 0.29524925351142883, -0.30871421098709106, -0.14867374300956726, 0.13326039910316467, 0.046300794929265976, 0.049282293766736984, 0.23350346088409424, -0.028654437512159348, -0.20299577713012695, -0.19079653918743134, -0.1009751483798027, -0.5667604207992554, -0.4775749444961548, 0.37172839045524597, 0.054720256477594376, 0.12052049487829208, -0.09056985378265381, 0.16299283504486084, -0.13174882531166077, 0.4756661355495453, 0.20180945098400116, -0.0810832604765892, -0.0771048367023468, -0.23153316974639893, -0.49207839369773865, 0.05819973349571228, -0.25196313858032227, -0.026953650638461113, 0.03271035850048065, -0.04648609459400177, 0.08192066103219986, 0.03696027398109436, 0.08742938935756683, -0.04675600305199623, -0.2527853548526764, -0.20866921544075012, -0.508336067199707, 0.09250505268573761, 0.05505339801311493, -0.10689380764961243, 0.20237332582473755, -0.17445477843284607, -0.0934298038482666, 0.21779441833496094, 0.1935826539993286, -0.009502578526735306, -0.08055804669857025, -0.06878194957971573, -0.3125985860824585, 0.1704246997833252, 0.05112273246049881, 0.2202923595905304, -0.19029128551483154, -0.009104878641664982, -0.05304558202624321, -0.2740047872066498, -0.174691841006279, 0.3818039000034332, 0.2724888324737549, 0.34311556816101074, -0.1325135976076126, -0.011623017489910126, 0.014082963578402996, -0.18162569403648376, 0.11169099807739258, -0.021344970911741257, -0.2067144811153412, 0.4603140950202942, -0.054122697561979294, 0.0785338431596756, -0.3567112684249878, 0.05463120713829994, -0.08160412311553955, 0.08275309950113297, -0.28260427713394165, -0.7155346870422363, 0.5609244108200073, 0.12935739755630493, -0.3023737370967865, -0.08644979447126389, 0.1536051332950592, 0.07664750516414642, -0.017058053985238075, -0.31442543864250183, 0.14782178401947021, 0.2475571483373642, -0.11166469007730484, -0.3942806124687195, 0.22998054325580597, -0.18434418737888336, -0.10210980474948883, -0.03511188551783562, 0.4032195806503296, 0.26883870363235474, -0.22703973948955536, -0.04778660833835602, -0.2640852928161621 ]
https://github.com/huggingface/datasets/pull/1980
Loading all answers from drop
Nice thanks for the change ! This looks all good to me Before we merge can you just update the dataset_infos.json file of drop ? You can do it by running ``` datasets-cli test ./datasets/drop --all_configs --save_infos --ignore_verifications ```
Hello all, I propose this change to the DROP loading script so that all answers are loaded no matter their type. Currently, only "span" answers are loaded, which excludes a significant amount of answers from drop (i.e. "number" and "date"). I updated the script with the version I use for my work. However, I couldn't find a way to verify that all is working when integrated with the datasets repo, since the `load_dataset` method seems to always download the script from github and not local files. Note that 9 items from the train set have no answers, as well as 1 from the validation set. The script I propose simply do not load them. Let me know if there is anything else I can do, Clément
39
text: Loading all answers from drop Hello all, I propose this change to the DROP loading script so that all answers are loaded no matter their type. Currently, only "span" answers are loaded, which excludes a significant amount of answers from drop (i.e. "number" and "date"). I updated the script with the version I use for my work. However, I couldn't find a way to verify that all is working when integrated with the datasets repo, since the `load_dataset` method seems to always download the script from github and not local files. Note that 9 items from the train set have no answers, as well as 1 from the validation set. The script I propose simply do not load them. Let me know if there is anything else I can do, Clément Nice thanks for the change ! This looks all good to me Before we merge can you just update the dataset_infos.json file of drop ? You can do it by running ``` datasets-cli test ./datasets/drop --all_configs --save_infos --ignore_verifications ```
[ -0.3008444011211395, 0.48600298166275024, -0.023333609104156494, 0.1800282895565033, -0.006115715950727463, -0.14474016427993774, 0.32441872358322144, 0.6331900358200073, 0.3709107041358948, 0.004279091954231262, -0.08951202780008316, 0.593293309211731, 0.018693387508392334, 0.3956086337566376, 0.029820477589964867, 0.27758485078811646, 0.0958126112818718, 0.2236001342535019, -0.40791255235671997, -0.19291952252388, -0.0039175525307655334, 0.17893095314502716, -0.31133222579956055, -0.1970091015100479, -0.0565844364464283, 0.24138538539409637, -0.057608604431152344, 0.27829045057296753, -0.28177890181541443, -0.3408801555633545, 0.5279258489608765, 0.6248252987861633, 0.056620873510837555, 0.4302672743797302, -0.00012115850404370576, -0.0024124309420585632, 0.4982951283454895, -0.22501307725906372, -0.6535792946815491, -0.2399177998304367, -0.692179262638092, -0.12439155578613281, 0.28116747736930847, -0.021232567727565765, 0.13987776637077332, 0.1037883535027504, -0.32621219754219055, -0.2846786677837372, 0.362690269947052, 0.2791309058666229, 0.031212544068694115, 0.28625935316085815, 0.028390299528837204, -0.056409385055303574, 0.3758021295070648, 0.09884138405323029, 0.2290349304676056, 0.6952325701713562, 0.3216508626937866, -0.3722827732563019, 0.03707483410835266, -0.028924930840730667, -0.09103963524103165, -0.36138391494750977, 0.07888650894165039, -0.2285303771495819, 0.16718707978725433, -0.36659762263298035, -0.14566835761070251, 0.38098838925361633, 0.6110784411430359, -0.03152672201395035, -0.15613143146038055, -0.3526110053062439, 0.025067642331123352, 0.014691928401589394, 0.292341023683548, -0.17800207436084747, -0.10591700673103333, 0.18166036903858185, -0.47042450308799744, -0.03293782100081444, -0.01920567825436592, 0.24830548465251923, -0.16420742869377136, 0.4867134988307953, 0.08577114343643188, -0.01306576281785965, 0.2837745249271393, 0.07060963660478592, 0.2996925413608551, -0.26283061504364014, -0.3091571629047394, -0.021201390773057938, -0.333096444606781, -0.4411862790584564, -0.22447752952575684, 0.00882101058959961, 0.45651715993881226, 0.6175838112831116, 0.0006360234692692757, 0.2811824381351471, -0.009428583085536957, 0.057383544743061066, 0.5147336721420288, 0.5199882984161377, 0.41414329409599304, -0.275969922542572, 0.2656543254852295, 0.24269334971904755, 0.04617622122168541, -0.003472413867712021, -0.1985095888376236, 0.14105553925037384, -0.3865940272808075, -0.05439046770334244, 0.4631214141845703, -0.3431457579135895, -0.35639578104019165, -0.048266056925058365, -0.16419541835784912, -0.49958354234695435, 0.05079367756843567, 0.21879640221595764, -0.16049420833587646, 0.9858834147453308, 0.129520446062088, 0.2758556604385376, -0.15625177323818207, -0.3345228433609009, -0.008143619634211063, -0.006557496264576912, -0.07085913419723511, -0.022276395931839943, 0.27029871940612793, 0.1465376317501068, -0.0040115052834153175, 0.17800869047641754, 0.1865982562303543, 0.01639062911272049, -0.2309788018465042, 0.11331766843795776, 0.20874983072280884, 0.16359077394008636, 0.07500100135803223, -0.12980587780475616, 0.41130176186561584, -0.44928139448165894, -0.07483071833848953, 0.4931245446205139, -0.18791401386260986, -0.20027925074100494, -0.16528668999671936, 0.12056908756494522, -0.32705986499786377, -0.16339661180973053, -0.42799457907676697, 0.20679879188537598, -0.08779370039701462, 0.058822404593229294, 0.18817661702632904, -0.022108808159828186, 0.22611796855926514, 0.08518925309181213, 0.42477938532829285, 0.3619469404220581, -0.4769473075866699, -0.20045346021652222, -0.18888814747333527, -0.24500322341918945, 0.2560727596282959, -0.1020011454820633, -0.2470596581697464, -0.03946041315793991, -0.2648440897464752, -0.1050780788064003, 0.2962533235549927, -0.2639158368110657, -0.1819908767938614, 0.48274314403533936, 0.17208804190158844, 0.1812109649181366, -0.04331798106431961, -0.292386531829834, 0.26213669776916504, -0.20664605498313904, 0.24354620277881622, 0.18052111566066742, -0.09708261489868164, -0.1267932951450348, -0.31987303495407104, -0.07130878418684006, 0.11026052385568619, 0.24007801711559296, 0.04827837273478508, 0.19536292552947998, -0.09075679630041122, -0.15353617072105408, 0.3216129541397095, 0.1810390204191208, -0.21755094826221466, 0.15802869200706482, 0.34880363941192627, -0.09356656670570374, 0.012423690408468246, 0.06207382678985596, -0.483423113822937, 0.18940609693527222, 0.1821630299091339, -0.07549417018890381, 0.14912858605384827, -0.2831408381462097, -0.5476508736610413, -0.009583177976310253, -0.21561230719089508, 0.015995005145668983, -0.07337115705013275, 0.17678382992744446, -0.07552608847618103, 0.19077277183532715, -0.5353020429611206, 0.17635482549667358, -0.2664549946784973, -0.04106650874018669, -0.35317879915237427, 0.3925952911376953, 0.03246721252799034, 0.170212984085083, -0.09782201051712036, 0.07277144491672516, -0.09880242496728897, -0.22048471868038177, -0.18986624479293823, 0.5023288130760193, -0.21226705610752106, -0.11625339090824127, 0.23756831884384155, 0.12984339892864227, 0.10539650917053223, -0.1745736449956894, -0.07561980187892914, 0.05225150287151337, 0.10330886393785477, -0.01648658514022827, -0.33440446853637695, 0.4250178933143616, -0.6173539161682129, 0.22174504399299622, 0.04788973182439804, -0.14082776010036469, 0.22554567456245422, -0.37754660844802856, -0.5848544239997864, -0.022407669574022293, -0.18251067399978638, -0.13126280903816223, 0.399227112531662, 0.09485406428575516, -0.28944769501686096, -0.15043649077415466, 0.6626426577568054, -0.20449472963809967, -0.08251535147428513, 0.13527074456214905, -0.061159513890743256, -0.212266206741333, -0.011211281642317772, 0.3217043876647949, 0.5964244604110718, 0.14520145952701569, 0.16664858162403107, -0.028826570138335228, 0.4045579731464386, -0.06994903087615967, 0.273809552192688, 0.08929447084665298, -0.04542369022965431, 0.35243821144104004, 0.03213886544108391, 0.008240818977355957, -0.27037835121154785, 0.19312913715839386, 0.02906460128724575, 0.12519852817058563, -0.40430834889411926, 0.13501130044460297, -0.2526496350765228, -0.058337800204753876, 0.04611370712518692, -0.24237193167209625, -0.37905365228652954, -0.4734613597393036, 0.20445133745670319, 0.06769993156194687, -0.06671396642923355, 0.40457236766815186, -0.12865936756134033, 0.4623408615589142, 0.0076624732464551926, -0.15016871690750122, -0.37335309386253357, -0.07061988115310669, -0.24729633331298828, 0.03532937541604042, 0.3166379928588867, -0.041037190705537796, 0.12897935509681702, -0.34800031781196594, -0.5161499381065369, 0.05436442047357559, -0.2553940415382385, 0.24485661089420319, -0.1517328917980194, -0.19878467917442322, -0.08152797818183899, 0.1903916895389557, 0.05171328783035278, -0.1359136402606964, 0.006877901032567024, -0.4484040439128876, -0.27261120080947876, 0.032594989985227585, 0.058612506836652756, 0.0008961264975368977, -0.36096322536468506, -0.4803846776485443, -0.043167680501937866, -0.4417751133441925, 0.05034829303622246, 0.0978308916091919, -0.10879108309745789, -0.021723538637161255, 0.07410916686058044, -0.18147429823875427, 0.057401057332754135, -0.3199197053909302, -0.21564531326293945, -0.46919605135917664, 0.11084455996751785, 0.16647058725357056, -0.11573511362075806, 0.20891934633255005, -0.10647767037153244, -0.0016054771840572357, -0.1740613430738449, -0.17473465204238892, -0.2908722162246704, -0.18410317599773407, 0.11002650856971741, -0.015311840921640396, 0.019184142351150513, 0.23022526502609253, -0.1911512166261673, 0.02744697965681553, -0.07943649590015411, -0.10023035109043121, 0.029547996819019318, 0.0592392235994339, 0.17691098153591156, 0.25165820121765137, 0.4092258810997009, -0.0032659582793712616, 0.7440201640129089, -0.009803731925785542, -0.10786215960979462, 0.1473814696073532, -0.04970715939998627, 0.5645291209220886, -0.009756378829479218, -0.3056928217411041, -0.21201395988464355, 0.16256672143936157, 0.18671323359012604, 0.1480802744626999, -0.2787340581417084, -0.10645829141139984, -0.38935714960098267, 0.06811676919460297, -0.10253149271011353, -0.2635493874549866, 0.25199857354164124, -0.45602548122406006, -0.18950623273849487, -0.048908479511737823, 0.02939952164888382, 0.32924914360046387, 0.01709294505417347, 0.1646699458360672, 0.28718048334121704, 0.2841818630695343, -0.07320123165845871, -0.6231489181518555, 0.1646433025598526, -0.14390069246292114, 0.3347165584564209, -0.26650533080101013, 0.2110268771648407, 0.1301729530096054, -0.42408859729766846, 0.0013408288359642029, -0.02041970193386078, 0.5844498872756958, 0.020865842700004578, -0.1380046159029007, 0.3193792998790741, 0.06134089082479477, -0.057151079177856445, -0.2038436233997345, -0.27374762296676636, -0.015693316236138344, 0.17075464129447937, 0.08783682435750961, -0.5274873375892639, -0.4554392695426941, 0.33176690340042114, -0.06471434235572815, 0.0685080736875534, -0.16026078164577484, -0.18203088641166687, -0.056609757244586945, -0.6319274306297302, 0.13242512941360474, 0.2635047733783722, -0.009047790430486202, -0.8205288648605347, -0.032122910022735596, 0.16887739300727844, -0.003157181665301323, 0.27131110429763794, 0.18664275109767914, 0.147722065448761, 0.34388527274131775, 0.06658308207988739, -0.15000100433826447, -0.01591726392507553, 0.4243045747280121, 0.7333179712295532, -0.07675938308238983, 0.0017459169030189514, 0.14364534616470337, 0.06945019960403442, 0.3831479847431183, 0.4090649485588074, -0.01875714212656021, -0.24395951628684998, 0.0528230145573616, -0.07029984891414642, -0.04307813569903374, 0.21379508078098297, -0.006933895871043205, -0.14368191361427307, -0.2817806601524353, -0.37565454840660095, 0.26809242367744446, -0.009801628068089485, -0.047169506549835205, -0.0028336606919765472, -0.027500703930854797, -0.015608388930559158, 0.1029704138636589, -0.13678354024887085, 1.1349245309829712, 0.05987527593970299, 0.11207365244626999, 0.1617652177810669, 0.31415534019470215, -0.10515829920768738, -0.3230329751968384, 0.0161275751888752, -0.364025741815567, 0.09360336512327194, -0.06397666037082672, -0.07513594627380371, -0.11135221272706985, 0.17379318177700043, -0.35948872566223145, 0.21354791522026062, -0.08180210739374161, 0.12295383214950562, 0.01755719818174839, 0.35827597975730896, -0.15470513701438904, -0.020395442843437195, -0.24102476239204407, -0.02302645333111286, 0.030436348170042038, 0.2620202600955963, -0.03290797024965286, -0.26591867208480835, 0.14560441672801971, -0.2736450731754303, -0.20636466145515442, 0.33544921875, 0.13850100338459015, -0.09999410808086395, 0.11359785497188568, -0.2651440501213074, 0.04155730828642845, 0.3651476204395294, 0.270659863948822, 0.10527634620666504, 0.12894722819328308, 0.36141008138656616, -0.23801133036613464, 0.21353679895401, 0.017299985513091087, 0.1406307816505432, 0.1356433779001236, -0.07196301221847534, -0.3293951153755188, -0.22874024510383606, -0.1354031264781952, -0.25561603903770447, -0.19267314672470093, 0.2726286053657532, 0.34409886598587036, -0.44790828227996826, -0.2508441209793091, 0.13000619411468506, 0.09786158800125122, -0.19822542369365692, 0.0598711296916008, 0.07816411554813385, 0.02760223113000393, 0.157316654920578, 0.1544734388589859, -0.12779217958450317, -0.023784946650266647, 0.25897449254989624, -0.10371077805757523, 0.19621272385120392, 0.35700657963752747, -0.01770149916410446, 0.1988542079925537, -0.15173181891441345, 0.02703399956226349, 0.3823431134223938, -0.1990240216255188, 0.1176132932305336, -0.08929064124822617, -0.03904181718826294, 0.07817738503217697, 0.25637519359588623, 0.05944862961769104, 0.20118603110313416, 0.27526381611824036, -0.25480902194976807, -0.19173721969127655, 0.3589242696762085, 0.3121786117553711, 0.3069695830345154, 0.1332898736000061, -0.37647321820259094, -0.17161457240581512, -0.007879352197051048, -0.22756487131118774, -0.03414855897426605, -0.2604072093963623, -0.04036220163106918, 0.0719626322388649, -0.02973448485136032, 0.2915695607662201, -0.20323340594768524, -0.004499740898609161, -0.1667262464761734, -0.018738651648163795, -0.1271979808807373, 0.09770075976848602, 0.20684455335140228, 0.03504325821995735, 0.0032183590810745955, 0.0032189367339015007, -0.005850343033671379, -0.2060006856918335, -0.09241341054439545, 0.17668677866458893, -0.28126174211502075, -0.02533368021249771, 0.3452596366405487, 0.13212677836418152, 0.19107608497142792, -0.14652809500694275, -0.014822937548160553, 0.08320438116788864, 0.32481029629707336, -0.026875317096710205, 0.12108173221349716, -0.08505675941705704, -0.09249667823314667, -0.10879841446876526, 0.17978531122207642, 0.3796505331993103, 0.2745400667190552, 0.15370504558086395, -0.18925349414348602, -0.02086767740547657, -0.11740387976169586, 0.06419705599546432, 0.4721989035606384, -0.31392988562583923, 0.12288360297679901, 0.0365881510078907, 0.11005052924156189, -0.16277913749217987, 0.015799161046743393, 0.24728460609912872, 0.04084276035428047, -0.0069914646446704865, 0.16619344055652618, 0.12837743759155273, -0.4004804491996765, 0.28834402561187744, 0.3077023923397064, 0.35616862773895264, 0.2590964436531067, 0.3260538876056671, 0.24015626311302185, -0.2832654118537903, 0.04715491831302643, -0.061485812067985535, 0.029365621507167816, 0.03252584487199783, -0.25674617290496826, -0.02333194762468338, 0.17016279697418213, -0.02196979895234108, 0.10602956265211105, -0.12157129496335983, -0.3292088508605957, 0.23483960330486298, 0.44880059361457825, -0.03336106240749359, 0.07945653796195984, 0.43109795451164246, -0.09526825696229935, 0.07449208199977875, -0.21181584894657135, 0.032942697405815125, -0.07666866481304169, 0.26328548789024353, 0.18194051086902618, -0.31679561734199524, -0.27431657910346985, -0.13400891423225403, -0.09741515666246414, -0.07257811725139618, -0.24423851072788239, 0.17300955951213837, 0.19986996054649353, -0.23735781013965607, -0.30143147706985474, 0.15348413586616516, 0.16577401757240295, 0.14462459087371826, -0.12796969711780548, 0.19461311399936676, 0.249676913022995, 0.14667826890945435, 0.3689803183078766, 0.15799565613269806, 0.3427887260913849, 0.17561453580856323, 0.2026415318250656, 0.07389678806066513, 0.25230908393859863, -0.19256946444511414, -0.0746864303946495, 0.05986562743782997, 0.32300853729248047, -0.03978738561272621, -0.026595205068588257, 0.15106379985809326, -0.04443233460187912, 0.0914120227098465, -0.19388441741466522, -0.08618377149105072, -0.33866745233535767, 0.16973142325878143, 0.5916666984558105, 0.008168771862983704, -0.35267022252082825, 0.08962421864271164, -0.29696202278137207, -0.29043886065483093, 0.1271442174911499, 0.4389873445034027, 0.10956377536058426, -0.08134298771619797, 0.05421757698059082, 0.11531329154968262, -0.08909466862678528, 0.22456184029579163, -0.1097557470202446, 0.08029857277870178, -0.2609784007072449, -0.4538707435131073, 0.04220088571310043, 0.2670755088329315, 0.22513392567634583, 0.23842835426330566, 0.10965536534786224, 0.4584569036960602, 0.07183634489774704, 0.03861682862043381, -0.4900382459163666, 0.11111997812986374, -0.11177012324333191, -0.45943236351013184, 0.06388232856988907, -0.20767073333263397, 0.29499462246894836, 0.05031445622444153, -0.07634079456329346, 0.03518840670585632, 0.18005770444869995, -0.14479154348373413, 0.3067569136619568, 0.16905920207500458, 0.19910751283168793, -0.05281268060207367, -0.10486765205860138, 0.07179363816976547, 0.5286734700202942, 0.052679821848869324, 0.040980078279972076, 0.14685308933258057, -0.08443167805671692, -0.45513349771499634, 0.19462734460830688, -0.13341882824897766, 0.08268030732870102, 0.03337860107421875, 0.0913611352443695, -0.20672155916690826, 0.12958720326423645, -0.13209259510040283, -0.22502365708351135, -0.3058048486709595, -0.2008248120546341, 0.2732475996017456, 0.05890580266714096, 0.03876963630318642, 0.09915857017040253, -0.12599056959152222, 0.004538305103778839, -0.5560010671615601, -0.03873357176780701, 0.44165244698524475, -0.09636585414409637, -0.37156280875205994, -0.3130379021167755, 0.2401963174343109, -0.2810697555541992, -0.01509086973965168, -0.39228251576423645, 0.1324220597743988, 0.2877342998981476, -0.3495810031890869, -0.008261458948254585, 0.3332478702068329, 0.0853242427110672, 0.4349609613418579, -0.13896042108535767, 0.014114174991846085, 0.2425403892993927, -0.14108285307884216, -0.1542186439037323, -0.31818652153015137 ]
https://github.com/huggingface/datasets/pull/1979
Add article_id and process test set template for semeval 2020 task 11…
Thanks ! Now to fix the CI the only thing left is to add a dummy `test-task-tc-template.out` file inside the `dummy_data.zip` at `./datasets/sem_eval_2020_task_11/dummy/1.1.0` It must contain the labels template for each dummy article of the test set included in `dummy_data.zip` After that we should be good to merge this one :)
… dataset - `article_id` is needed to create the submission file for the task at https://propaganda.qcri.org/semeval2020-task11/ - The `technique classification` task provides the span indices in a template for the test set that is necessary to complete the task. This PR implements processing of that template for the dataset.
51
text: Add article_id and process test set template for semeval 2020 task 11… … dataset - `article_id` is needed to create the submission file for the task at https://propaganda.qcri.org/semeval2020-task11/ - The `technique classification` task provides the span indices in a template for the test set that is necessary to complete the task. This PR implements processing of that template for the dataset. Thanks ! Now to fix the CI the only thing left is to add a dummy `test-task-tc-template.out` file inside the `dummy_data.zip` at `./datasets/sem_eval_2020_task_11/dummy/1.1.0` It must contain the labels template for each dummy article of the test set included in `dummy_data.zip` After that we should be good to merge this one :)
[ -0.36456039547920227, -0.010431498289108276, -0.0204108078032732, -0.008903689682483673, 0.018018117174506187, 0.1209176704287529, 0.17369750142097473, 0.30387037992477417, -0.25897932052612305, 0.2744311988353729, -0.07623451948165894, 0.2258853018283844, 0.13907469809055328, 0.5948094725608826, -0.11025452613830566, 0.09414549916982651, -0.08903918415307999, 0.004907958209514618, 0.2555912733078003, 0.17263878881931305, -0.3307391405105591, 0.36152029037475586, 0.0011801645159721375, 0.05228813365101814, 0.0776967778801918, -0.24468553066253662, -0.12783634662628174, 0.2050859034061432, -0.310522198677063, -0.4033496379852295, 0.20224052667617798, 0.14548151195049286, 0.047832198441028595, 0.03432139754295349, -0.00010755201219581068, -0.052213139832019806, 0.324293315410614, -0.1661953330039978, -0.03362669795751572, -0.006411999464035034, -0.2265130877494812, -0.20310954749584198, -0.18573296070098877, -0.18565768003463745, -0.17420503497123718, -0.00031345244497060776, -0.21606799960136414, 0.1774885058403015, 0.24269217252731323, 0.4383835196495056, 0.21366146206855774, -0.10564319789409637, 0.16855360567569733, -0.23647211492061615, 0.08935880661010742, 0.05717811733484268, -0.12101513892412186, -0.2567097246646881, 0.3166911005973816, 0.2585560977458954, 0.19952616095542908, 0.3788023591041565, 0.16627217829227448, -0.43702709674835205, 0.14879071712493896, -0.27412664890289307, 0.5063040256500244, -0.38965699076652527, 0.24057364463806152, -0.09740913659334183, 0.7261021733283997, 0.010748997330665588, 0.17704446613788605, 0.43930983543395996, 0.17075380682945251, -0.5507650375366211, 0.11379645764827728, 0.03835168108344078, 0.02476423978805542, 0.13735203444957733, 0.08725983649492264, -0.11097355931997299, -0.23193024098873138, -0.3428652286529541, 0.0035766810178756714, 0.13759666681289673, -0.0028797946870326996, 0.07335995137691498, -0.01038673147559166, -0.06822864711284637, 0.1711774617433548, 0.07383716106414795, -0.16417564451694489, 0.04388684034347534, -0.06445661187171936, -0.1441587507724762, -0.013286367058753967, -0.07461196929216385, 0.07501284778118134, 0.39543843269348145, -0.05830750614404678, -0.07301144301891327, 0.5829139947891235, 0.22429344058036804, -0.027694810181856155, 0.37864843010902405, -0.06817563623189926, 0.21301692724227905, -0.12154342234134674, 0.04151526466012001, 0.05939727649092674, -0.05512339621782303, -0.10578382760286331, -0.4053138792514801, 0.0036262832581996918, 0.07014058530330658, -0.03910809010267258, -0.2886683940887451, -0.3231273591518402, 0.1364191770553589, -0.07476396858692169, 0.07832171022891998, -0.17477694153785706, 0.16200724244117737, 0.013936803676187992, 0.07024689763784409, 0.4592602252960205, -0.0587882399559021, -0.07816611230373383, -0.19543595612049103, -0.1589076817035675, 0.22863532602787018, -0.18397735059261322, -0.14492639899253845, -0.027908774092793465, -0.3139118552207947, -0.05761492997407913, 0.09540820866823196, 0.42850494384765625, -0.3011030852794647, 0.09901673346757889, 0.36199572682380676, 0.2940915524959564, 0.19465872645378113, 0.32083624601364136, -0.0018824897706508636, 0.22389964759349823, -0.41473203897476196, -0.11663354188203812, 0.09091338515281677, -0.573081910610199, -0.3403225839138031, 0.04546904191374779, 0.2530944049358368, 0.07014047354459763, 0.2271362543106079, 0.17021071910858154, 0.08407644927501678, -0.016355469822883606, 0.12481528520584106, -0.19515496492385864, -0.06198589503765106, -0.2561085522174835, -0.040260277688503265, 0.29286086559295654, 0.20896345376968384, -0.3767678439617157, -0.022984161972999573, -0.10564295202493668, 0.03551705926656723, 0.06215421482920647, 0.04683768004179001, -0.10842806845903397, 0.21312367916107178, -0.3117165267467499, -0.128886878490448, 0.46220239996910095, -0.5172414779663086, -0.051881179213523865, 0.38561636209487915, -0.2838706970214844, -0.14586050808429718, 0.2100542038679123, -0.08807926625013351, 0.27146172523498535, -0.09653645008802414, 0.105092853307724, -0.15899038314819336, -0.2500830292701721, -0.07446204870939255, -0.3692702353000641, 0.2847983241081238, -0.004707392305135727, -0.032761555165052414, 0.015514519065618515, -0.010584481060504913, -0.04061933606863022, -0.16229559481143951, 0.010393597185611725, -0.03141209855675697, 0.20174409449100494, 0.3719007968902588, 0.20145292580127716, -0.2786189317703247, 0.26885032653808594, 0.33853334188461304, -0.02085651457309723, -0.09934166073799133, 0.08487091958522797, 0.2590470612049103, 0.3577895760536194, -0.32188159227371216, -0.7873024940490723, -0.09593012928962708, -0.2757727801799774, -0.7039980292320251, 0.13229766488075256, -0.07883322238922119, -0.008986176922917366, -0.477719783782959, -0.006213881075382233, 0.33616727590560913, -0.23451371490955353, -0.12238803505897522, -0.09370826184749603, -0.07207631319761276, -0.4185948967933655, 0.10248895734548569, 0.1425265520811081, 0.16226643323898315, 0.1379542201757431, 0.07608350366353989, -0.042228929698467255, 0.31800439953804016, -0.025746719911694527, -0.0019916072487831116, 0.07270890474319458, 0.035099536180496216, -0.1202617809176445, -0.6067605018615723, -0.32473501563072205, -0.1585959643125534, -0.16375218331813812, -0.04098481684923172, -0.27713772654533386, 0.452803373336792, 0.1376093029975891, 0.18784812092781067, -0.0745743066072464, 0.16360151767730713, 0.19687016308307648, -0.036356858909130096, -0.5435658097267151, -0.025898467749357224, 0.08660174906253815, 0.05563966557383537, 0.21416044235229492, -0.05877982825040817, -0.2002849280834198, 0.15999583899974823, 0.2593468427658081, 0.151960089802742, -0.3135063350200653, 0.03503650054335594, 0.12970946729183197, 0.17888277769088745, -0.2356356680393219, 0.02124028280377388, 0.23677071928977966, 0.2423684149980545, 0.025850042700767517, 0.2946368157863617, -0.15842285752296448, -0.07036249339580536, 0.2626684010028839, 0.09445363283157349, -0.08477098494768143, 0.26711463928222656, 0.11034926772117615, -0.025062698870897293, -0.029831603169441223, -0.006553288549184799, 0.04396704584360123, 0.13955876231193542, -0.31898194551467896, 0.10486679524183273, 0.08692878484725952, -0.1342591941356659, -0.3907290995121002, 0.4466071128845215, -0.024702925235033035, -0.3830507695674896, 0.26508253812789917, -0.011705324053764343, -0.03899259492754936, 0.40888509154319763, 0.1306607872247696, 0.49156099557876587, -0.011900179088115692, 0.27956172823905945, -0.06894566863775253, -0.14029598236083984, -0.09699095040559769, 0.18221557140350342, 0.08452458679676056, -0.0936562716960907, 0.11061996221542358, -0.40950721502304077, 0.43718773126602173, -0.2122999131679535, -0.4617072343826294, 0.26572978496551514, -0.1441580355167389, 0.14048245549201965, 0.31750431656837463, 0.04828767850995064, -0.1922379732131958, -0.24894161522388458, 0.09712487459182739, 0.15564578771591187, -0.3392973244190216, -0.1368725597858429, -0.11916957795619965, -0.042605090886354446, -0.3318137228488922, -0.7137580513954163, -0.06560619920492172, -0.4300479292869568, -0.04357105493545532, -0.1398828625679016, 0.14678232371807098, 0.10054025799036026, -0.10645141452550888, -0.23923926055431366, 0.3399572968482971, 0.06183425337076187, -0.2182399183511734, -0.4554454982280731, 0.13137811422348022, -0.40916797518730164, -0.25028401613235474, 0.32923129200935364, -0.05039390176534653, 0.7099460363388062, -0.0425955206155777, 0.012991808354854584, 0.00011744443327188492, 0.32035699486732483, -0.3021826148033142, -0.11631791293621063, -0.043609268963336945, 0.31703245639801025, 0.10356348752975464, -0.193926602602005, -0.19252151250839233, -0.011837393045425415, 0.19941797852516174, -0.11911506205797195, 0.3546719253063202, -0.1992579698562622, 0.24846506118774414, -0.0844050794839859, 0.4320497512817383, 0.5078357458114624, 0.14840441942214966, 0.030654501169919968, 0.19968877732753754, 0.3327774703502655, 0.09976250678300858, -0.2525888681411743, 0.13983280956745148, 0.1284361332654953, -0.17327314615249634, 0.1899888813495636, 0.06554150581359863, -0.018856791779398918, -0.1228032261133194, 0.09114280343055725, 0.05282489210367203, -0.20871572196483612, 0.20378802716732025, 0.12706494331359863, 0.5787166357040405, -0.13159164786338806, -0.2222151756286621, -0.3057464361190796, 0.0200272835791111, 0.1430053561925888, 0.6738198399543762, 0.09391141682863235, 0.18789595365524292, -0.014371681958436966, -0.10013701021671295, -0.13242268562316895, 0.2081894874572754, 0.26722076535224915, -0.0915442630648613, -0.20569558441638947, -0.20330682396888733, -0.03595885634422302, -0.048741135746240616, 0.4185450077056885, -0.6703237891197205, -0.29202908277511597, 0.4402020573616028, 0.3112469017505646, -0.12736056745052338, -0.16990156471729279, -0.03985610231757164, -0.25942742824554443, 0.4742441773414612, 0.3040415048599243, -0.08691217005252838, -0.18048352003097534, 0.11441764235496521, -0.11997950822114944, -0.3374253809452057, -0.13373751938343048, -0.3566357493400574, -0.47388404607772827, -0.46556559205055237, 0.3689613938331604, 0.5817239284515381, 0.17098678648471832, -0.1436280757188797, 0.015028990805149078, -0.03959142416715622, -0.2108933925628662, 0.1701032519340515, 0.027516160160303116, 0.22051310539245605, 0.17457713186740875, -0.06547065824270248, -0.2306046485900879, 0.31333205103874207, 0.1347244530916214, 0.2985844314098358, -0.30208054184913635, 0.10819641500711441, 0.392351359128952, -0.341409295797348, 0.48757389187812805, 0.1822431981563568, -0.05979280546307564, -0.14458349347114563, -0.2778710722923279, -0.014928765594959259, -0.28037503361701965, 0.28920814394950867, -0.12481090426445007, 0.045529115945100784, -0.36972787976264954, -0.19276094436645508, -0.24496260285377502, 0.3069857060909271, -0.19742509722709656, 0.08027555048465729, -0.1773747354745865, -0.16014571487903595, 0.06995939463376999, 0.1255275160074234, 0.9742653369903564, 0.21785208582878113, -0.016043033450841904, -0.2209787666797638, 0.014827698469161987, 0.04406639561057091, -0.30545520782470703, 0.11757732927799225, -0.21990260481834412, -0.4813075065612793, -0.024139313027262688, -0.1640559285879135, 0.10343960672616959, 0.09847307205200195, -0.33189520239830017, 0.27699774503707886, 0.11392293870449066, 0.2564173936843872, 0.08132971823215485, 0.3776809871196747, 0.029070980846881866, -0.0900498628616333, 0.0836215540766716, 0.13424433767795563, -0.03757338225841522, 0.17068052291870117, -0.15693068504333496, -0.20657455921173096, -0.006927561014890671, -0.2601367235183716, -0.08532575517892838, 0.09111256152391434, -0.03772097826004028, 0.1085343137383461, -0.022345859557390213, -0.1848311722278595, 0.4520719647407532, 0.02039310708642006, 0.588646650314331, 0.20155943930149078, -0.05334953963756561, 0.2799146771430969, 0.4570600092411041, 0.012238596566021442, -0.17524921894073486, -0.15432500839233398, 0.3494662344455719, -0.36006659269332886, -0.024557948112487793, 0.11023108661174774, -0.20762325823307037, -0.06379859894514084, -0.16563597321510315, -0.07759079337120056, 0.3894459009170532, -0.38525936007499695, 0.2925707995891571, 0.016326315701007843, -0.09071539342403412, -0.37196919322013855, 0.1377251148223877, -0.12361206114292145, -0.269988089799881, 0.05216459929943085, 0.12078666687011719, -0.16355499625205994, 0.19742193818092346, -0.05539662390947342, -0.045685723423957825, -0.13590511679649353, 0.22321383655071259, 0.005583498626947403, -0.013305552303791046, -0.2813129723072052, -0.05184762552380562, 0.3906139135360718, -0.28230103850364685, 0.049320731312036514, -0.19078655540943146, -0.20910251140594482, 0.02441556192934513, 0.7844810485839844, 0.1845056414604187, 0.3119150698184967, -0.11662811040878296, -0.19701434671878815, -0.45174917578697205, 0.026529580354690552, 0.07644490897655487, 0.3034403920173645, -0.13039514422416687, 0.5110837817192078, 0.08483843505382538, 0.19825540482997894, -0.40082913637161255, -0.2620248794555664, -0.334717720746994, 0.20886269211769104, 0.4709629416465759, -0.046855390071868896, 0.0744989886879921, -0.03793630748987198, -0.011769372969865799, 0.39397621154785156, -0.21704062819480896, -0.24148786067962646, -0.12986034154891968, 0.10567385703325272, -0.16951698064804077, 0.021154895424842834, 0.257100909948349, 0.28311479091644287, -0.03541690856218338, 0.17601732909679413, 0.08343838155269623, -0.5272232890129089, 0.18669643998146057, -0.06874948740005493, -0.48805102705955505, 0.23415324091911316, -0.12674018740653992, -0.1870596706867218, 0.19730626046657562, 0.3391150236129761, -0.10340870916843414, 0.031185146421194077, -0.3029724955558777, -0.10791034251451492, -0.006851435173302889, 0.1988164186477661, 0.21118958294391632, 0.19577524065971375, -0.027587756514549255, 0.13087376952171326, -0.20408982038497925, 0.08180813491344452, 0.14186306297779083, -0.0010167062282562256, -0.18179963529109955, -0.039842404425144196, 0.1971116065979004, 0.2298853099346161, -0.26509541273117065, 0.09387195855379105, -0.12105622887611389, -0.10755843669176102, 0.008859004825353622, 0.383077472448349, 0.4376160204410553, -0.04258754476904869, 0.11826741695404053, 0.24000176787376404, 0.23684795200824738, -0.39939117431640625, 0.2427956759929657, 0.1233355849981308, 0.0219988115131855, 0.21094602346420288, 0.18390123546123505, -0.09720242023468018, -0.004767283797264099, -0.13059741258621216, 0.06610112637281418, 0.404829204082489, 0.38030141592025757, 0.2382706254720688, 0.1849646270275116, 0.0023800618946552277, 0.3269684910774231, -0.011619776487350464, 0.16536371409893036, 0.17579440772533417, 0.33655866980552673, 0.2779066562652588, 0.19995234906673431, -0.4839491546154022, -0.0066801514476537704, 0.42694708704948425, -0.24416840076446533, 0.005376167595386505, -0.4428274631500244, -0.17373012006282806, -0.21757391095161438, 0.0802808403968811, 0.3183055818080902, 0.2848758101463318, 0.15064430236816406, -0.0020438283681869507, 0.15723609924316406, 0.06241840869188309, -0.4417131245136261, 0.3220359981060028, 0.18545225262641907, -0.34389352798461914, 0.33719077706336975, 0.05520295351743698, -0.3196144700050354, 0.2646791934967041, 0.12297171354293823, 0.45001402497291565, -0.12270736694335938, 0.17851988971233368, -0.19926230609416962, 0.05933232232928276, -0.10309526324272156, 0.025468122214078903, -0.18256108462810516, 0.0453110970556736, -0.23665161430835724, 0.2127077877521515, 0.15762755274772644, -0.13491924107074738, -0.17190957069396973, -0.1644657850265503, -0.005144532769918442, -0.08609123528003693, 0.13453975319862366, 0.2280406355857849, -0.03813345357775688, -0.3293628990650177, 0.19926832616329193, -0.13413786888122559, 0.06151673570275307, 0.13565382361412048, 0.14536301791667938, 0.13939526677131653, -0.1558178812265396, 0.1372908502817154, 0.051478318870067596, 0.1737368255853653, 0.22429923713207245, -0.33001989126205444, -0.37856289744377136, -0.42129892110824585, -0.4801369607448578, 0.28746187686920166, -0.0018849074840545654, -0.20754307508468628, 0.0812598466873169, 0.18104028701782227, -0.052510909736156464, -0.02237778902053833, 0.12077686190605164, -0.16508562862873077, 0.12507911026477814, 0.07166507840156555, -0.4904378354549408, 0.0691777914762497, 0.3287731409072876, -0.08599312603473663, 0.2983950972557068, 0.10717234760522842, -0.13204607367515564, 0.40278178453445435, 0.19657325744628906, -0.0811997726559639, -0.43456679582595825, 0.17850945889949799, 0.09424635767936707, 0.09052881598472595, -0.02942846156656742, 0.1667594015598297, -0.22924703359603882, -0.06835963577032089, 0.09348873794078827, 0.10414661467075348, -0.1487516164779663, 0.515627920627594, 0.1659497171640396, 0.25749561190605164, -0.18699724972248077, -0.10302627086639404, -0.4517633020877838, -0.21266552805900574, 0.09611007571220398, -0.22111646831035614, -0.23354393243789673, 0.16405005753040314, -0.11418941617012024, 0.24035236239433289, 0.09024975448846817, 0.34558629989624023, 0.09463419020175934, 0.010577388107776642, -0.2097596675157547, -0.7123205065727234, 0.38148173689842224, -0.05335457623004913, -0.46918871998786926, 0.08030754327774048, 0.2514811158180237, 0.046605389565229416, 0.29728981852531433, -0.2790551781654358, -0.083946093916893, 0.08718575537204742, -0.022260069847106934, -0.143873393535614, 0.15746086835861206, -0.1043706089258194, 0.009836766868829727, -0.05707785487174988, 0.17454518377780914, 0.2889905273914337, -0.1480593979358673, -0.16377267241477966, -0.3204857110977173 ]
https://github.com/huggingface/datasets/pull/1979
Add article_id and process test set template for semeval 2020 task 11…
@lhoestq Made the changes! The failure now seems to be unrelated to the changes. Any idea what's going on?
… dataset - `article_id` is needed to create the submission file for the task at https://propaganda.qcri.org/semeval2020-task11/ - The `technique classification` task provides the span indices in a template for the test set that is necessary to complete the task. This PR implements processing of that template for the dataset.
19
text: Add article_id and process test set template for semeval 2020 task 11… … dataset - `article_id` is needed to create the submission file for the task at https://propaganda.qcri.org/semeval2020-task11/ - The `technique classification` task provides the span indices in a template for the test set that is necessary to complete the task. This PR implements processing of that template for the dataset. @lhoestq Made the changes! The failure now seems to be unrelated to the changes. Any idea what's going on?
[ -0.19119051098823547, 0.12448519468307495, -0.1025875061750412, -0.10731621086597443, 0.12474385648965836, -0.1548452377319336, 0.4429270923137665, 0.2271975576877594, -0.12662900984287262, 0.3008011281490326, 0.36720871925354004, 0.18936125934123993, 0.011138629168272018, 0.22319526970386505, 0.11924062669277191, -0.12122061848640442, 0.011482581496238708, 0.043342772871255875, 0.18207350373268127, 0.20130528509616852, -0.3588014245033264, 0.2784592807292938, -0.22524511814117432, 0.10729368031024933, -0.11068713665008545, 0.1296073943376541, -0.20436403155326843, 0.22198030352592468, -0.14362424612045288, -0.696509063243866, 0.21016521751880646, -0.04481850937008858, -0.23950020968914032, 0.05126938223838806, -0.00011028503649868071, 0.05311638116836548, 0.34241247177124023, -0.0033791381865739822, 0.012554507702589035, 0.19487713277339935, -0.49311262369155884, -0.2691013216972351, -0.18352191150188446, -0.03662848845124245, -0.028850208967924118, -0.17509344220161438, -0.03254685550928116, 0.24523943662643433, 0.21774590015411377, 0.6486746072769165, 0.2037464827299118, -0.019745321944355965, 0.34270355105400085, -0.3637038767337799, 0.22342965006828308, -0.10924001038074493, -0.2258394956588745, -0.33100494742393494, 0.2926427125930786, 0.12446573376655579, 0.1569717824459076, 0.06384231150150299, 0.058783456683158875, -0.1674046516418457, 0.060702282935380936, -0.2437422126531601, 0.3259539306163788, -0.13798445463180542, 0.42617833614349365, -0.0499667227268219, 0.6213425993919373, 0.08137697726488113, -0.09351319819688797, 0.16789695620536804, 0.10212566703557968, -0.4875006079673767, 0.2832730710506439, -0.18686874210834503, 0.1735343486070633, 0.2870546579360962, 0.1808246374130249, -0.1869363933801651, -0.2639673352241516, -0.20125482976436615, -0.0847679004073143, 0.025830864906311035, 0.023421678692102432, 0.06417786329984665, -0.21477080881595612, 0.14964348077774048, 0.1639067679643631, 0.31859952211380005, -0.03755127266049385, 0.036147214472293854, -0.17320838570594788, -0.011932309716939926, 0.23196741938591003, -0.1584981083869934, 0.016171645373106003, 0.03229564055800438, 0.1192856878042221, 0.1396281123161316, 0.4841400682926178, 0.253146231174469, -0.266865998506546, 0.5176056623458862, -0.20937570929527283, -0.008399269543588161, 0.06750772148370743, 0.058489710092544556, 0.12401896715164185, 0.05797858536243439, 0.13955722749233246, -0.4037790596485138, 0.11030082404613495, 0.13388150930404663, 0.0793396458029747, -0.16037091612815857, -0.3395117223262787, 0.42229828238487244, -0.38877663016319275, -0.24194075167179108, -0.4037746489048004, 0.16942474246025085, 0.23979748785495758, -0.017393697053194046, 0.34671878814697266, 0.1057872548699379, -0.02638733573257923, -0.13090386986732483, -0.25625455379486084, 0.32075104117393494, -0.3507787585258484, 0.09791738539934158, 0.10436418652534485, -0.08302709460258484, -0.006734935566782951, 0.023899398744106293, -0.05184192210435867, -0.2076827436685562, 0.21575705707073212, 0.4668079912662506, 0.2595035433769226, 0.2052338421344757, -0.08532131463289261, 0.20350846648216248, 0.2469061315059662, -0.08085005730390549, 0.15541335940361023, 0.0011056289076805115, -0.2899615168571472, -0.5305582284927368, 0.19245430827140808, 0.2071789652109146, 0.21544314920902252, 0.015314796939492226, 0.2692191004753113, 0.30139368772506714, 0.08525186777114868, -0.050996117293834686, 0.07055220007896423, -0.3462006449699402, -0.29280662536621094, -0.12348803877830505, 0.18149223923683167, 0.3956710696220398, -0.47753748297691345, 0.017094828188419342, -0.07802306115627289, 0.17933817207813263, 0.13189071416854858, 0.06866778433322906, -0.19147026538848877, 0.3900468945503235, -0.1491967737674713, 0.08562974631786346, 0.1571880578994751, -0.12366491556167603, -0.11235477030277252, 0.18318194150924683, -0.2897292971611023, -0.061868637800216675, 0.2455615997314453, -0.33279281854629517, 0.0690455213189125, -0.2760418653488159, 0.05066319555044174, -0.5967897176742554, 0.07530739158391953, -0.17342494428157806, -0.3607152998447418, 0.1494322419166565, 0.1708856076002121, -0.017692845314741135, 0.36021336913108826, 0.2757366895675659, 0.11271768808364868, 0.13572117686271667, -0.12193701416254044, -0.22861835360527039, 0.31985679268836975, 0.28881293535232544, 0.3310425579547882, -0.11557440459728241, 0.26598790287971497, 0.10369240492582321, 0.08054153621196747, 0.040770240128040314, 0.034972190856933594, 0.23876595497131348, 0.41556042432785034, 0.04317806661128998, -0.7962859272956848, -0.049533452838659286, -0.21751804649829865, -1.0631026029586792, 0.18001125752925873, 0.21489199995994568, -0.1072060763835907, -0.136774480342865, -0.32454660534858704, 0.24170252680778503, -0.30407044291496277, -0.1898384988307953, -0.12549497187137604, -0.13362137973308563, -0.3843596875667572, -0.15258051455020905, -0.04757285118103027, 0.20579534769058228, 0.28726276755332947, -0.03712466359138489, -0.10887128114700317, 0.42039909958839417, -0.025744440034031868, -0.12977105379104614, 0.1469312310218811, -0.014712035655975342, -0.08656696230173111, -0.5707502961158752, 0.16981494426727295, -0.10135883092880249, -0.12849195301532745, -0.0763721689581871, 0.014821778982877731, 0.23144420981407166, 0.0665765032172203, 0.12182717025279999, -0.15248386561870575, -0.03887570649385452, 0.0889878049492836, -0.09185898303985596, -0.3325740396976471, 0.001181088387966156, 0.17969995737075806, 0.1737656593322754, 0.20511123538017273, -0.13900050520896912, -0.44151145219802856, 0.029398389160633087, 0.237846240401268, 0.12846168875694275, -0.10527180880308151, 0.10551708936691284, 0.3691253066062927, -0.0915733054280281, -0.13708364963531494, 0.03954806551337242, 0.29046255350112915, 0.0234997421503067, 0.050986096262931824, 0.3346714377403259, -0.30390676856040955, -0.2623099088668823, 0.19650796055793762, 0.05684269964694977, -0.21054750680923462, 0.4376565217971802, 0.2611895501613617, 0.13677045702934265, -0.4336768686771393, -0.1989523470401764, 0.1507367342710495, 0.19286656379699707, -0.45951831340789795, 0.10561311990022659, -0.05831864848732948, 0.08819807320833206, -0.3059317171573639, 0.22876515984535217, 0.0952325314283371, -0.35485613346099854, 0.49699270725250244, -0.22321408987045288, 0.021292153745889664, 0.2829292416572571, 0.1589101403951645, 0.39561593532562256, -0.09099369496107101, 0.5650622844696045, -0.2434159368276596, -0.12485094368457794, -0.0733552873134613, 0.16144652664661407, -0.04196113348007202, -0.05003219097852707, -0.11609625816345215, -0.23690654337406158, -0.04934125393629074, -0.39814358949661255, -0.45968660712242126, 0.1114187240600586, -0.23812763392925262, 0.1427253633737564, 0.38396576046943665, 0.14494363963603973, -0.19494107365608215, -0.06097815930843353, 0.20310549437999725, -0.0701419785618782, -0.21893440186977386, -0.016191978007555008, -0.012179302051663399, 0.09633482992649078, -0.2656448483467102, -0.6175218224525452, 0.11843719333410263, -0.37610548734664917, 0.22186590731143951, -0.04756125807762146, 0.03738672286272049, 0.015772458165884018, 0.17847369611263275, 0.16367506980895996, 0.1944350302219391, 0.19921086728572845, -0.2081908881664276, -0.15274213254451752, 0.11186594516038895, -0.3568948209285736, -0.409648597240448, 0.16528382897377014, 0.19945649802684784, 0.5037608742713928, 0.06850683689117432, -0.12877117097377777, -0.07328671962022781, 0.12207481265068054, -0.2939891815185547, -0.13915972411632538, 0.07327824831008911, 0.48170849680900574, -0.019211696460843086, -0.2770465314388275, -0.241715669631958, 0.015145152807235718, 0.0016691908240318298, 0.018366601318120956, 0.3033502995967865, -0.17370328307151794, 0.3197758197784424, -0.03776729851961136, 0.6633636355400085, 0.11250486969947815, 0.011945739388465881, 0.411259263753891, 0.07625499367713928, 0.2810603380203247, -0.27037644386291504, -0.23119619488716125, 0.2887188196182251, -0.184754878282547, -0.22366154193878174, 0.010895639657974243, -0.21442896127700806, -0.10079210996627808, -0.05051762983202934, 0.12240292131900787, -0.018024910241365433, -0.004288528114557266, 0.17621375620365143, 0.22122375667095184, 0.669163703918457, 0.1173180639743805, 0.08111640065908432, -0.17350855469703674, 0.2204994559288025, 0.09758785367012024, 0.47793811559677124, 0.3132700026035309, -0.04788099229335785, -0.16729165613651276, -0.06613896787166595, -0.328010618686676, 0.16721928119659424, 0.001090609235689044, 0.2791755497455597, -0.5475156307220459, -0.20265355706214905, 0.07296068221330643, -0.16589178144931793, 0.6135051250457764, -0.8133043646812439, -0.21005068719387054, 0.37594807147979736, 0.12702566385269165, -0.0009745508432388306, -0.12602823972702026, -0.20385432243347168, -0.11363381892442703, 0.4425961673259735, 0.13731169700622559, -0.14559230208396912, -0.09140387922525406, 0.22995127737522125, -0.18875136971473694, -0.07057822495698929, 0.14706839621067047, -0.3166707158088684, -0.36924201250076294, -0.3533318340778351, 0.18102198839187622, 0.422925740480423, -0.05558128282427788, -0.013985857367515564, 0.060855742543935776, -0.027230767533183098, -0.13689009845256805, -0.09934474527835846, -0.06548672914505005, 0.07154111564159393, 0.006380504462867975, -0.11530375480651855, -0.12198838591575623, 0.2833862900733948, 0.13498450815677643, 0.11217276006937027, -0.3170153498649597, 0.15064571797847748, 0.5007810592651367, -0.32473230361938477, 0.45122382044792175, 0.5181487798690796, -0.07728143036365509, -0.02232535183429718, -0.15481825172901154, 0.09210900217294693, -0.1339932233095169, 0.11522410809993744, 0.3914543390274048, 0.012050624005496502, -0.16655004024505615, -0.4573518633842468, -0.024684131145477295, 0.009292269125580788, -0.09923987090587616, 0.14110398292541504, 0.2161720246076584, -0.1427733302116394, 0.15883168578147888, 0.25988784432411194, 0.9030346274375916, 0.3019992709159851, 0.0775218978524208, -0.19955116510391235, -0.09514480829238892, -0.06938469409942627, -0.10025529563426971, 0.15406237542629242, -0.22377505898475647, -0.29372555017471313, -0.15380927920341492, -0.17994171380996704, 0.3237364590167999, 0.10803081840276718, -0.36670157313346863, 0.3043825030326843, 0.3190361261367798, 0.05709315836429596, 0.07165602594614029, 0.1674625128507614, -0.3018474280834198, 0.14107678830623627, -0.033543605357408524, 0.1326712667942047, 0.1928488165140152, 0.18445706367492676, -0.11656372994184494, -0.10333320498466492, -0.10781184583902359, -0.25308090448379517, -0.2527320683002472, -0.0368511900305748, -0.0224919393658638, 0.01778380759060383, 0.21272653341293335, -0.39365434646606445, 0.5512703657150269, 0.05400848761200905, 0.5447596907615662, 0.00450592115521431, -0.25335806608200073, 0.27092814445495605, 0.22814801335334778, 0.05146156996488571, -0.0201408751308918, 0.03835005313158035, 0.31817513704299927, -0.21641188859939575, -0.08107933402061462, 0.19680112600326538, -0.35926705598831177, -0.25523993372917175, -0.37111997604370117, -0.06390419602394104, 0.2560255229473114, -0.36565056443214417, 0.16837656497955322, 0.013375699520111084, -0.04169424623250961, -0.5192369818687439, 0.16825011372566223, -0.11296562850475311, -0.09816012531518936, 0.11756657063961029, -0.07589901983737946, -0.14425776898860931, 0.036651551723480225, 0.17744417488574982, -0.3388800621032715, 0.16108176112174988, 0.519157350063324, 0.1556059718132019, -0.08403757959604263, -0.27330806851387024, -0.32889410853385925, 0.4119783937931061, -0.4031772017478943, 0.05090423300862312, -0.46163058280944824, -0.18929918110370636, 0.1875065565109253, 0.6254759430885315, 0.03437608852982521, 0.23343610763549805, -0.18306958675384521, -0.301489919424057, -0.07928014546632767, 0.11563931405544281, 0.21178290247917175, 0.3935167193412781, -0.27518731355667114, 0.37732890248298645, 0.23541811108589172, -0.13144992291927338, -0.37966227531433105, -0.11794587969779968, -0.3026656210422516, 0.14635533094406128, 0.38134145736694336, -0.20620909333229065, 0.11956469714641571, 0.11816981434822083, 0.014230852946639061, 0.37610507011413574, -0.21581575274467468, -0.1504642367362976, -0.08890581130981445, 0.1398630440235138, 0.00780072994530201, 0.12795014679431915, 0.036219093948602676, 0.15346644818782806, -0.1306891292333603, 0.21404074132442474, 0.08252754807472229, -0.2460690438747406, -0.1531514972448349, 0.19635285437107086, -0.06913378834724426, 0.23701027035713196, 0.05690387636423111, -0.3282027840614319, 0.1574518084526062, -0.014112085103988647, -0.15575341880321503, 0.06676960736513138, -0.12432635575532913, -0.06356729567050934, -0.22085320949554443, 0.38601958751678467, -0.08791059255599976, 0.14025220274925232, 0.15874147415161133, -0.10970436036586761, -0.035512179136276245, -0.16926786303520203, 0.41355952620506287, 0.3269437253475189, -0.14746275544166565, -0.05682972073554993, 0.06391938030719757, 0.165655717253685, -0.08792787790298462, 0.04548623040318489, -0.13050298392772675, -0.08087442815303802, 0.011983204632997513, 0.10525444149971008, 0.5640935897827148, -0.2068532109260559, -0.04420723021030426, 0.4043757915496826, 0.15739060938358307, -0.5478509664535522, -0.1969800889492035, 0.11749953031539917, -0.142110213637352, 0.3123833239078522, 0.34165188670158386, -0.16606058180332184, -0.007486008107662201, 0.3286057114601135, 0.35571664571762085, 0.42036283016204834, 0.30041685700416565, 0.3333835005760193, -0.11615823954343796, 0.13544195890426636, 0.36851316690444946, -0.030646950006484985, 0.26416540145874023, -0.0015989616513252258, 0.325074166059494, 0.36152201890945435, 0.05909455195069313, -0.12898869812488556, -0.02456776797771454, 0.35513654351234436, -0.24389296770095825, -0.22208669781684875, -0.5264763832092285, -0.3537890911102295, -0.09348463267087936, 0.07433871924877167, 0.023497913032770157, 0.34342432022094727, 0.3445250391960144, -0.13307316601276398, -0.0532575398683548, -0.2622547745704651, -0.1391124427318573, -0.16975697875022888, 0.2373386025428772, -0.2237938791513443, 0.2961013913154602, 0.06818412244319916, -0.36356887221336365, 0.41741564869880676, 0.3118695616722107, 0.4677910804748535, -0.12257936596870422, -0.015492912381887436, -0.047481831163167953, -0.2080293446779251, -0.17860561609268188, 0.20646531879901886, 0.19616948068141937, 0.07132232189178467, 0.07230299711227417, 0.07813398540019989, 0.07846681773662567, -0.15299749374389648, -0.19924573600292206, -0.07694201171398163, 0.22076891362667084, -0.264535516500473, 0.236363023519516, 0.06985318660736084, -0.016041241586208344, -0.20793582499027252, 0.05651336908340454, -0.16310231387615204, 0.1084585189819336, -0.008116776123642921, -0.026555120944976807, 0.08229144662618637, -0.13516458868980408, 0.12855826318264008, -0.11033408343791962, 0.27137085795402527, 0.23174911737442017, -0.33184003829956055, -0.20949037373065948, -0.29600679874420166, -0.7285385131835938, 0.2934960722923279, 0.011139936745166779, -0.12609480321407318, 0.11183030903339386, 0.17632772028446198, -0.13171082735061646, -0.036995746195316315, 0.3832046389579773, 0.041488874703645706, -0.09911467880010605, 0.3135071098804474, -0.436049222946167, 0.0907374918460846, 0.2575909197330475, 0.047977425158023834, 0.023777808994054794, 0.16439634561538696, 0.024021640419960022, 0.24771761894226074, 0.16813430190086365, -0.028783973306417465, -0.5451772212982178, -0.04272250458598137, 0.2938191890716553, 0.22489319741725922, -0.08032333105802536, 0.21220959722995758, -0.19139063358306885, -0.13786843419075012, -0.2880866527557373, -0.18738657236099243, -0.020808931440114975, 0.462136447429657, -0.0509607307612896, 0.2952229976654053, 0.012191655114293098, -0.24613232910633087, -0.29704949259757996, 0.19077937304973602, 0.08071549236774445, -0.11048073321580887, -0.4536903202533722, 0.323359876871109, 0.06672272831201553, 0.03965140879154205, 0.09729094058275223, 0.2321045994758606, 0.21734823286533356, 0.028602460399270058, -0.49914485216140747, -0.5749853849411011, 0.48070797324180603, -0.248057022690773, -0.5060228109359741, 0.03276156261563301, 0.1001071035861969, -0.056125156581401825, 0.03268181160092354, -0.48990583419799805, -0.30383792519569397, 0.0854141041636467, 0.06952452659606934, -0.1937800645828247, 0.07762664556503296, -0.15758271515369415, -0.13057705760002136, -0.07490801066160202, 0.12144911289215088, 0.1714247167110443, 0.12370537221431732, -0.06691903620958328, -0.21230138838291168 ]
https://github.com/huggingface/datasets/pull/1978
Adding ro sts dataset
@lhoestq thank you very much for the quick review and useful comments! I have tried to address them all, and a few comments that you left for ro_sts I have applied to the ro_sts_parallel as well (in read-me: fixed source_datasets, links to homepage, repository, leaderboard, thanks to me message, in ro_sts_parallel.py changed to camel case as well). In the ro_sts_parallel I have changed the order on the languages, also in the example, as you said order doesn't matter, but just to have them listed in the readme in the same order. I have commented above on why we would like to keep them as separate datasets, hope it makes sense. If there is anything else I should change please let me know. Thanks again!
Adding [RO-STS](https://github.com/dumitrescustefan/RO-STS) dataset
124
text: Adding ro sts dataset Adding [RO-STS](https://github.com/dumitrescustefan/RO-STS) dataset @lhoestq thank you very much for the quick review and useful comments! I have tried to address them all, and a few comments that you left for ro_sts I have applied to the ro_sts_parallel as well (in read-me: fixed source_datasets, links to homepage, repository, leaderboard, thanks to me message, in ro_sts_parallel.py changed to camel case as well). In the ro_sts_parallel I have changed the order on the languages, also in the example, as you said order doesn't matter, but just to have them listed in the readme in the same order. I have commented above on why we would like to keep them as separate datasets, hope it makes sense. If there is anything else I should change please let me know. Thanks again!
[ 0.05241217836737633, -0.2973983585834503, -0.09664846956729889, 0.1015673577785492, 0.19136326014995575, 0.13046810030937195, 0.21485695242881775, -0.0881597101688385, -0.18969327211380005, 0.011527866125106812, -0.15828345715999603, 0.17953838407993317, 0.283740758895874, -0.10785365849733353, 0.19267018139362335, -0.09456135332584381, 0.2247810661792755, -0.058442845940589905, 0.04604566842317581, -0.26048871874809265, -0.13321569561958313, 0.38794705271720886, 0.013505958020687103, -0.2722085118293762, -0.024687036871910095, 0.0410187765955925, -0.022898849099874496, -0.005368657410144806, -0.16758543252944946, -0.638191282749176, -0.02179727703332901, 0.42184996604919434, 0.18979960680007935, 0.3959810733795166, -0.00010766897321445867, -0.12896424531936646, 0.13629788160324097, -0.09703987836837769, 0.050370413810014725, -0.2369241863489151, -0.32802653312683105, -0.4052974283695221, -0.06814616918563843, -0.2433103322982788, -0.13434483110904694, -0.31124335527420044, -0.13588793575763702, -0.4856240749359131, 0.033231355249881744, 0.21048614382743835, 0.29650208353996277, 0.21752864122390747, 0.112867072224617, -0.15007342398166656, 0.47587811946868896, -0.15650998055934906, -0.13585233688354492, 0.18388904631137848, 0.04439366236329079, 0.22588111460208893, 0.056059639900922775, 0.3869372010231018, 0.02200503461062908, -0.2178952544927597, 0.010788731276988983, -0.09014853835105896, -0.0033375918865203857, -0.20060060918331146, 0.0335208997130394, 0.11729565262794495, 0.5214909315109253, -0.20680546760559082, -0.16864533722400665, 0.19575846195220947, -0.030954301357269287, -0.12785588204860687, 0.01613100990653038, 0.4591921865940094, 0.17435137927532196, 0.13230302929878235, 0.06681884825229645, -0.16182371973991394, -0.2402637004852295, 0.07555831968784332, 0.12097018957138062, 0.553390383720398, 0.13892237842082977, 0.010834787040948868, 0.017826974391937256, 0.1363120675086975, 0.16000047326087952, -0.05396652966737747, -0.09992881119251251, 0.04755951836705208, -0.434404194355011, -0.04986921697854996, 0.31936320662498474, 0.11524281650781631, 0.1367320418357849, -0.030486397445201874, -0.08541743457317352, -0.008814159780740738, -0.01927018165588379, 0.09579800069332123, -0.3416039049625397, 0.14850206673145294, 0.1629595160484314, 0.133510559797287, 0.08870555460453033, -0.11674746870994568, 0.2545640170574188, 0.041317377239465714, 0.05570165067911148, -0.22972288727760315, -0.4006183445453644, 0.15129336714744568, -0.038751836866140366, -0.14878064393997192, 0.006474548950791359, 0.041699107736349106, -0.0004957057535648346, -0.3846947252750397, -0.16027383506298065, 0.38416650891304016, 0.022559333592653275, 0.19811302423477173, 0.05708879977464676, 0.3127148151397705, -0.20207850635051727, 0.09770816564559937, -0.1316896229982376, 0.2348208725452423, -0.3583192825317383, 0.1914297640323639, -0.23858658969402313, 0.05723269656300545, 0.04985857009887695, 0.14522641897201538, 0.06727156788110733, 0.08764627575874329, 0.06945856660604477, -0.05361601337790489, 0.3708144724369049, 0.07672418653964996, 0.18935580551624298, 0.3899836838245392, -0.0025448426604270935, 0.08986397087574005, -0.3569236993789673, 0.2679142355918884, -0.1648370623588562, -0.3373580276966095, -0.22253857553005219, 0.266117125749588, -0.30787479877471924, -0.3594900667667389, 0.05316031724214554, 0.36976125836372375, 0.05690787360072136, -0.10551673173904419, 0.11411599069833755, 0.024572908878326416, -0.25958359241485596, -0.2912013828754425, 0.018094243481755257, 0.3973640203475952, -0.3368312120437622, 0.10438945889472961, 0.08865806460380554, -0.12421640753746033, 0.4111705422401428, 0.25923264026641846, -0.2147248089313507, 0.0538654699921608, -0.1371527910232544, 0.15307648479938507, 0.23165249824523926, -0.25105777382850647, -0.15836703777313232, 0.12703977525234222, -0.1680431067943573, -0.23674504458904266, 0.2649558186531067, 0.17828655242919922, 0.2377462536096573, 0.14033737778663635, -0.010324716567993164, -0.013225056231021881, -0.07207956165075302, 0.25288188457489014, -0.391136109828949, -0.10013672709465027, 0.3292555809020996, 0.19812434911727905, 0.1531209796667099, -0.20852500200271606, 0.15368340909481049, -0.20551928877830505, 0.5318264365196228, -0.24496689438819885, 0.07076981663703918, 0.2695058584213257, 0.28906354308128357, 0.1253587305545807, 0.17417313158512115, 0.11116944998502731, -0.06592563539743423, 0.16331785917282104, 0.23346129059791565, 0.5436782836914062, 0.1812548041343689, -0.08931286633014679, -0.14997577667236328, -0.2468338906764984, -0.2626459300518036, -0.1762094795703888, 0.17243191599845886, 0.15568220615386963, -0.09044269472360611, 0.023184161633253098, -0.035088200122117996, 0.14774596691131592, -0.23744890093803406, -0.06305230408906937, -0.21572113037109375, 0.44595134258270264, -0.3659052848815918, -0.025975611060857773, -0.04530999809503555, 0.16089025139808655, 0.1731606125831604, -0.08192681521177292, -0.16948306560516357, 0.2793571352958679, 0.11872553825378418, 0.2365807145833969, 0.29673776030540466, 0.07049675285816193, 0.2316780388355255, -0.3443814814090729, 0.09555863589048386, 0.1906467229127884, 0.03926560655236244, 0.08318652957677841, -0.07914824038743973, 0.28334730863571167, -0.04655548557639122, 0.11506199836730957, 0.18035055696964264, -0.03325410187244415, 0.27044299244880676, 0.07204249501228333, -0.4230916500091553, 0.08051778376102448, 0.36308661103248596, 0.14787660539150238, 0.00884629413485527, -0.032347261905670166, -0.41157349944114685, 0.27289482951164246, 0.4415608048439026, 0.012656904757022858, -0.151605486869812, 0.0707455724477768, -0.01138770580291748, 0.0791049376130104, 0.17590564489364624, 0.44907858967781067, 0.05495235323905945, 0.3447929918766022, 0.058234233409166336, -0.17206083238124847, 0.10622294247150421, -0.20381292700767517, 0.104668028652668, 0.15296174585819244, 0.1509520262479782, 0.21720314025878906, 0.10102174431085587, 0.07963063567876816, -0.3327951431274414, -0.2694602310657501, -0.2688339352607727, -0.040160179138183594, -0.04035208001732826, -0.09314888715744019, 0.061011701822280884, 0.1839006543159485, -0.5478150844573975, -0.3744017481803894, -0.2900739014148712, -0.2828502655029297, 0.2973438501358032, -0.3354441821575165, -0.20184560120105743, 0.32366251945495605, 0.13285575807094574, 0.11506611108779907, -0.20777037739753723, 0.133351132273674, 0.13805504143238068, -0.2978386878967285, 0.10062175989151001, 0.1717880219221115, 0.00674112793058157, -0.030559416860342026, 0.6961268782615662, -0.3666413724422455, -0.20545174181461334, -0.06990960985422134, -0.46589529514312744, 0.03535650670528412, -0.3124222159385681, -0.2944255769252777, -0.07934512197971344, 0.11327245831489563, 0.057233043015003204, -0.16468669474124908, 0.07111385464668274, -0.2933613061904907, -0.11927615106105804, -0.10097329318523407, -0.26642051339149475, -0.26586228609085083, -0.2310156375169754, -0.8082868456840515, -0.24510015547275543, -0.45826271176338196, -0.030664458870887756, -0.03329361230134964, 0.10514961928129196, -0.37171098589897156, 0.24918094277381897, -0.18754921853542328, 0.012150612659752369, 0.10458911955356598, -0.09896500408649445, -0.2620006501674652, 0.49211153388023376, -0.2628999650478363, -0.47429338097572327, 0.2511337697505951, 0.04300760477781296, 0.23006655275821686, -0.14201878011226654, -0.25571420788764954, 0.014091511256992817, -0.20205341279506683, 0.01500440388917923, 0.07453454285860062, 0.39044246077537537, 0.5344829559326172, 0.1586470901966095, -0.1416335105895996, -0.049387428909540176, -0.3008660078048706, -0.0217452272772789, -0.11655024439096451, 0.2546161413192749, -0.2129276990890503, 0.2397666871547699, 0.0665169209241867, 0.8931782841682434, 0.34859177470207214, 0.17926408350467682, 0.05016881227493286, 0.14714209735393524, 0.1289747804403305, 0.1026434525847435, -0.23916833102703094, 0.1108015701174736, 0.08605385571718216, -0.16511477530002594, 0.4103826880455017, 0.06933900713920593, -0.1146095022559166, 0.03161362558603287, 0.13858436048030853, -0.3091314733028412, -0.08295571804046631, 0.25492098927497864, 0.05027778819203377, 0.394698828458786, -0.19737328588962555, -0.2615428566932678, -0.13638007640838623, -0.08987484872341156, -0.0570153184235096, 0.49802738428115845, -0.14145728945732117, 0.1005857065320015, -0.8272222280502319, -0.10827944427728653, -0.42172279953956604, 0.15919716656208038, 0.27478131651878357, -0.15238453447818756, 0.07726459205150604, -0.18812331557273865, 0.1675640046596527, -0.2040085643529892, -0.05290141701698303, 0.09208808839321136, -0.5139665603637695, 0.08273079991340637, 0.08949187397956848, -0.2636086642742157, -0.15252356231212616, -0.15420612692832947, -0.04209364205598831, 0.2616543769836426, -0.11099584400653839, -0.3393004238605499, -0.07489915937185287, 0.11661296337842941, -0.004955668933689594, -0.14408086240291595, -0.4153895378112793, -0.286948025226593, -0.3478616178035736, -0.4194610118865967, 0.02816055715084076, -0.0319272056221962, -0.02869581989943981, -0.4129672050476074, -0.08176667988300323, 0.5452160835266113, 0.030943989753723145, 0.2605360448360443, 0.16569794714450836, 0.2849818170070648, 0.094200499355793, -0.05784478783607483, 0.2105875164270401, -0.14570142328739166, 0.2958570420742035, 0.5103305578231812, -0.07487256824970245, -0.0779542326927185, 0.0037888269871473312, -0.30720654129981995, 0.2680397629737854, 0.46349966526031494, 0.008161165751516819, 0.32299715280532837, -0.06131085753440857, 0.02302416041493416, -0.2387973964214325, -0.017875108867883682, 0.11011597514152527, 0.10162562876939774, -0.2628346383571625, -0.5803939700126648, 0.07110978662967682, -0.1428246647119522, -0.2120535671710968, -0.05482359230518341, 0.2796540856361389, -0.1237001121044159, 0.43535107374191284, 0.03308231011033058, 1.2449299097061157, -0.03713835030794144, 0.31318509578704834, 0.07834521681070328, -0.0678061917424202, 0.03769673779606819, -0.33957433700561523, 0.0712585300207138, -0.45381850004196167, 0.2845880687236786, -0.00391029380261898, -0.18510206043720245, 0.011729542165994644, 0.08060567080974579, -0.320438951253891, 0.02268151007592678, 0.2123708575963974, 0.09252844750881195, -0.1831865757703781, 0.30549049377441406, 0.3021833896636963, -0.13461878895759583, -0.2225930392742157, 0.19125990569591522, 0.039487212896347046, -0.1651458740234375, -0.19883766770362854, -0.16887804865837097, -0.2592846155166626, -0.17744992673397064, -0.15820683538913727, -0.06399932503700256, -0.09386839717626572, -0.0225847028195858, -0.15023086965084076, -0.34374040365219116, 0.28432342410087585, 0.38184306025505066, 0.3245760202407837, -0.009672693908214569, 0.030034122988581657, 0.006249379366636276, 0.0764094889163971, -0.16853000223636627, -0.12051300704479218, -0.22875644266605377, 0.012013392522931099, -0.12627765536308289, -0.31214001774787903, 0.0895504504442215, 0.05820085108280182, -0.13096177577972412, -0.4907011091709137, 0.10761868953704834, 0.2275661677122116, -0.08560563623905182, 0.20853054523468018, 0.6497256755828857, -0.07861721515655518, -0.2879962623119354, 0.2301178127527237, 0.2088061422109604, -0.2947940528392792, 0.2957203686237335, -0.11754876375198364, -0.03497221693396568, -0.14807893335819244, 0.16628780961036682, 0.4126286506652832, -0.1014963686466217, -0.047893352806568146, 0.2537473440170288, -0.3141017556190491, -0.2878803014755249, 0.024576976895332336, -0.10944709181785583, -0.24121075868606567, -0.15641702711582184, -0.2247011959552765, -0.10191334784030914, -0.28294259309768677, 0.02711966261267662, 0.33625930547714233, 0.1201598197221756, 0.036581676453351974, -0.10002309083938599, -0.19104689359664917, 0.0861295610666275, -0.02076057717204094, 0.3396095335483551, -0.07313431799411774, 0.09310820698738098, -0.19063124060630798, 0.3181206285953522, -0.4529472589492798, 0.05641596019268036, -0.1073191910982132, 0.19089072942733765, 0.3329925239086151, -0.13067829608917236, 0.14776895940303802, -0.131005197763443, 0.13745276629924774, -0.152005136013031, -0.15217164158821106, -0.24316611886024475, -0.10070660710334778, 0.1378663182258606, 0.1712283194065094, -0.21665875613689423, 0.22193093597888947, -0.10226496309041977, 0.10173608362674713, 0.01725555583834648, 0.1860770583152771, 0.2121928632259369, -0.1328544169664383, 0.44158855080604553, -0.01803487166762352, 0.05777926370501518, -0.06236990541219711, 0.05917433649301529, 0.07860571891069412, 0.35594385862350464, 0.22111676633358002, 0.19218312203884125, 0.011168553493916988, -0.12394307553768158, 0.19489315152168274, 0.31577268242836, 0.47453969717025757, 0.45680931210517883, -0.036059506237506866, -0.028549231588840485, 0.16410371661186218, -0.08191914856433868, 0.4330300986766815, -0.0121874138712883, -0.28153836727142334, 0.055607497692108154, 0.05220908671617508, 0.3113565444946289, -0.26795604825019836, -0.18977051973342896, 0.18741653859615326, -0.16250550746917725, 0.24114465713500977, 0.23136550188064575, 0.30548128485679626, 0.2800742983818054, 0.32783740758895874, 0.20290261507034302, 0.14265422523021698, -0.07604800164699554, 0.4184630513191223, -0.4545370638370514, -0.16674520075321198, 0.2737535834312439, 0.3264772891998291, -0.11889275908470154, -0.03580491989850998, 0.3124934434890747, 0.18666017055511475, 0.7642687559127808, 0.304573118686676, -0.032497797161340714, 0.04284210130572319, 0.021804649382829666, 0.3044031858444214, -0.09960342943668365, 0.006659269332885742, -0.19074085354804993, 0.34529635310173035, 0.07352256774902344, 0.053688839077949524, -0.1438453495502472, -0.16309496760368347, -0.015656743198633194, -0.1427203118801117, -0.13554127514362335, 0.047041311860084534, -0.21955090761184692, -0.21935485303401947, -0.10331472754478455, -0.008953526616096497, -0.023579925298690796, 0.49655041098594666, 0.06036794185638428, 0.15330195426940918, -0.24652673304080963, 0.018751133233308792, 0.14677008986473083, 0.059581004083156586, -0.1707054078578949, 0.023930910974740982, 0.16848580539226532, -0.2836051881313324, -0.05654936656355858, 0.24230404198169708, 0.3038230240345001, 0.18016545474529266, 0.18887774646282196, 0.017716046422719955, 0.08254945278167725, 0.009088872000575066, 0.18519577383995056, 0.056962043046951294, -0.1496366262435913, -0.05507954582571983, 0.20512431859970093, 0.21963398158550262, -0.2831294536590576, 0.3036723732948303, 0.105211541056633, -0.3974083364009857, 0.0894286036491394, 0.1888466775417328, -0.21352286636829376, -0.24049422144889832, -0.24594610929489136, 0.03731909766793251, -0.25444021821022034, -0.0034092189744114876, 0.4681848883628845, 0.030718527734279633, -0.003569134511053562, -0.5242336988449097, 0.11478784680366516, 0.19014859199523926, 0.2666495442390442, 0.2780698537826538, 0.1676209717988968, -0.41722816228866577, -0.3665117025375366, -0.3632670044898987, 0.14011041820049286, -0.10272552073001862, 0.30895692110061646, -0.4911220967769623, 0.2384234517812729, 0.1909787803888321, 0.009026957675814629, 0.33323314785957336, -0.30750811100006104, -0.03576279804110527, 0.2778448462486267, -0.262637734413147, 0.2181246280670166, 0.2206772118806839, -0.0776522308588028, -0.0014606919139623642, 0.07212471216917038, -0.19617699086666107, 0.013513854704797268, 0.19734817743301392, -0.3108060956001282, -0.07891525328159332, 0.3055088520050049, -0.14056967198848724, 0.12077610194683075, 0.17126087844371796, 0.5298150777816772, -0.34412071108818054, -0.12120689451694489, 0.09941144287586212, -0.32577231526374817, -0.17445938289165497, 0.11416135728359222, -0.05330730602145195, 0.6254756450653076, -0.1094382181763649, -0.4026823937892914, -0.19915035367012024, -0.07150298357009888, -0.1372663378715515, -0.0314902700483799, -0.3481264114379883, 0.41894885897636414, -0.04024863988161087, 0.012351423501968384, -0.12149915844202042, 0.3028518557548523, 0.19786643981933594, 0.024501347914338112, -0.2784111499786377, -0.36614561080932617, 0.13461525738239288, -0.031032387167215347, -0.14670071005821228, -0.11829729378223419, 0.01644527167081833, 0.062498435378074646, 0.47985848784446716, -0.3853827118873596, 0.053039081394672394, 0.18992432951927185, 0.12170226126909256, -0.2094559520483017, 0.40534183382987976, 0.16931453347206116, -0.14454665780067444, -0.10978595912456512, -0.06045156717300415, 0.1078273206949234, -0.16500066220760345, -0.08230721950531006, -0.42831283807754517 ]
https://github.com/huggingface/datasets/pull/1978
Adding ro sts dataset
@lhoestq I tried to adjust the ro_sts_parallel, locally when I run the tests they are passing, but somewhere it has the old name of rosts-parallel-ro-en which I am trying to change to ro_sts_parallel. I don't think I have left anything related to rosts-parallel-ro-en, but when the dataset_infos.json is regenerated it adds it. Could you please help me out, how can I fix this? Thanks in advance!
Adding [RO-STS](https://github.com/dumitrescustefan/RO-STS) dataset
66
text: Adding ro sts dataset Adding [RO-STS](https://github.com/dumitrescustefan/RO-STS) dataset @lhoestq I tried to adjust the ro_sts_parallel, locally when I run the tests they are passing, but somewhere it has the old name of rosts-parallel-ro-en which I am trying to change to ro_sts_parallel. I don't think I have left anything related to rosts-parallel-ro-en, but when the dataset_infos.json is regenerated it adds it. Could you please help me out, how can I fix this? Thanks in advance!
[ -0.0969393253326416, -0.3068820536136627, -0.17113249003887177, -0.09305213391780853, 0.07933545857667923, 0.15910840034484863, 0.0949486643075943, 0.22118401527404785, -0.2871217429637909, 0.373807430267334, 0.1549157053232193, 0.28359121084213257, 0.3171321451663971, -0.28153395652770996, -0.14694161713123322, 0.08816470205783844, 0.22155718505382538, 0.08865053951740265, 0.29802143573760986, -0.09815270453691483, -0.30054688453674316, 0.3640223741531372, -0.07831515371799469, -0.11919945478439331, -0.06006073206663132, 0.09023826569318771, 0.11544661223888397, -0.09261906892061234, -0.05407841503620148, -0.5121096968650818, -0.08142651617527008, 0.4790019094944, 0.15000469982624054, 0.6860073804855347, -0.0001228246110258624, -0.1692086160182953, 0.32955968379974365, -0.15746347606182098, -0.033025141805410385, -0.08612561225891113, -0.432929128408432, -0.19094420969486237, 0.10715386271476746, -0.3671492636203766, -0.004774646833539009, -0.33774182200431824, 0.037315599620342255, -0.8071810603141785, -0.10450474917888641, 0.33527299761772156, 0.1559973806142807, 0.05480807274580002, -0.09134258329868317, -0.1471056193113327, 0.3535606861114502, 0.06636802107095718, 0.013186236843466759, 0.31519263982772827, 0.03724124655127525, -0.02958252839744091, 0.17911246418952942, 0.27092742919921875, 0.027044473215937614, 0.2422107458114624, 0.048011936247348785, -0.09092866629362106, 0.18418219685554504, 0.11546748131513596, 0.43960458040237427, -0.14744162559509277, 0.6363922357559204, -0.2154351770877838, 0.11799143999814987, 0.3323288559913635, 0.11994951963424683, -0.037709034979343414, -0.007858507335186005, -0.023982858285307884, 0.138743594288826, -0.14486859738826752, -0.27632302045822144, -0.6219809055328369, -0.021829575300216675, 0.2537737190723419, 0.24695831537246704, 0.4918191134929657, 0.18833883106708527, 0.22019726037979126, 0.08507876098155975, -0.10630787909030914, 0.14342018961906433, 0.15658694505691528, -0.2854841649532318, -0.04467688500881195, -0.268231600522995, 0.18921639025211334, 0.06693985313177109, -0.1119687482714653, -0.17850622534751892, 0.04096836596727371, -0.068243607878685, 0.03490982577204704, 0.17441445589065552, 0.09279658645391464, -0.36954933404922485, 0.22714872658252716, 0.6596280932426453, 0.07639602571725845, -0.08136361837387085, 0.21319399774074554, -0.08245421946048737, 0.025929100811481476, 0.13464078307151794, -0.18519282341003418, -0.34261754155158997, -0.08475852757692337, 0.29535287618637085, -0.08240099251270294, 0.08677023649215698, 0.18132717907428741, -0.3156662583351135, -0.16172057390213013, -0.07218959927558899, 0.20124879479408264, 0.0883350670337677, 0.12863878905773163, 0.24560709297657013, -0.017048541456460953, -0.07645103335380554, 0.10601573437452316, -0.14682947099208832, 0.03505362197756767, -0.14081330597400665, 0.08066555857658386, -0.12643390893936157, 0.02267158403992653, 0.48754122853279114, -0.18233747780323029, -0.06888794898986816, -0.3170620799064636, -0.26272061467170715, 0.31837090849876404, 0.26566311717033386, 0.15846237540245056, -0.17052939534187317, 0.32068008184432983, -0.058891747146844864, -0.1684291958808899, -0.16654449701309204, 0.3510180711746216, -0.496204674243927, -0.33073702454566956, -0.20934085547924042, 0.13807103037834167, 0.02592005580663681, -0.30762943625450134, 0.2836080491542816, 0.24883221089839935, 0.07642289996147156, -0.1708473116159439, 0.24942299723625183, -0.2352648824453354, -0.026955757290124893, -0.04879212751984596, 0.1308971643447876, 0.25301963090896606, -0.3474173843860626, -0.012745849788188934, -0.09265091270208359, 0.03263990208506584, 0.4593334197998047, 0.10713064670562744, 0.02076055109500885, 0.03102937340736389, -0.09606622904539108, -0.0797436535358429, 0.08321979641914368, -0.27882668375968933, -0.11281895637512207, -0.1405489593744278, -0.36087167263031006, -0.47686290740966797, 0.10175033658742905, -0.0827520340681076, -0.22118091583251953, 0.45521673560142517, 0.04619550332427025, -0.3637412190437317, -0.13332562148571014, 0.043831825256347656, -0.26093941926956177, 0.0003023538738489151, 0.06673362106084824, 0.09168234467506409, 0.16358941793441772, 0.08963937312364578, -0.009539492428302765, -0.19801796972751617, 0.49370744824409485, 0.06334289908409119, 0.01926875114440918, 0.3092089295387268, 0.4143284559249878, 0.21759532392024994, 0.24803978204727173, 0.08572954684495926, -0.27567213773727417, -0.13174769282341003, 0.10160291194915771, 0.012949001044034958, 0.31838423013687134, -0.0777311623096466, -0.3499012291431427, -0.08731169253587723, 0.05865038186311722, 0.21654105186462402, -0.025550242513418198, 0.4587855637073517, -0.20486484467983246, -0.28458166122436523, 0.002357169985771179, -0.22868220508098602, -0.3044412136077881, 0.06301040202379227, -0.5357353091239929, 0.038695819675922394, -0.0024717990309000015, -0.05963002145290375, -0.27032697200775146, 0.0017694905400276184, 0.2716900110244751, -0.14673706889152527, -0.29024091362953186, 0.5459445714950562, 0.0739443376660347, 0.1486710011959076, 0.5094647407531738, 0.023861944675445557, -0.2651239335536957, -0.11682840436697006, 0.03950165957212448, 0.24819743633270264, -0.08970858156681061, 0.17420101165771484, -0.13385426998138428, -0.15635044872760773, -0.37669509649276733, 0.29895085096359253, -0.24557439982891083, -0.03622095286846161, 0.216146782040596, -0.17148740589618683, -0.32630255818367004, -0.14367035031318665, 0.30861610174179077, 0.12057803571224213, -0.06337438523769379, -0.23116405308246613, -0.3962862491607666, -0.03498821705579758, 0.15718182921409607, -0.07505354285240173, -0.3624078333377838, 0.14192454516887665, -0.09996820241212845, -0.024190787225961685, 0.04920881986618042, 0.4941082298755646, 0.25454866886138916, 0.20140179991722107, 0.07913932204246521, 0.041335027664899826, 0.2332748919725418, -0.23243704438209534, 0.1816040277481079, 0.43896573781967163, 0.1751149743795395, 0.04251357913017273, 0.244337260723114, -0.3293810188770294, -0.344101220369339, -0.35560640692710876, 0.11909807473421097, 0.3520452678203583, -0.06902343034744263, 0.14663556218147278, -0.2918638288974762, 0.4310169517993927, -0.6208142638206482, -0.37837642431259155, -0.17072762548923492, -0.373881995677948, 0.26557493209838867, -0.08059096336364746, -0.2872093915939331, 0.3918550908565521, 0.33019664883613586, 0.1527983844280243, -0.31247472763061523, -0.3972821831703186, -0.17990928888320923, -0.41586726903915405, -0.08073912560939789, -0.0209960974752903, -0.227516308426857, -0.12560813128948212, 0.32978034019470215, -0.3669049143791199, -0.13557717204093933, -0.40057799220085144, -0.2839910387992859, -0.20497837662696838, -0.0772974044084549, -0.01786358468234539, -0.0707273930311203, 0.13708540797233582, -0.04778856411576271, -0.25162678956985474, 0.19390863180160522, -0.4557774066925049, 0.01895383931696415, -0.2745077311992645, -0.20389366149902344, -0.015627259388566017, -0.20832088589668274, -0.749875009059906, 0.030930574983358383, -0.12541578710079193, 0.1897481381893158, -0.10847492516040802, -0.028235062956809998, -0.17675988376140594, 0.15877608954906464, -0.23302938044071198, -0.1575045883655548, -0.007308829575777054, -0.3115633726119995, -0.42931368947029114, 0.18454161286354065, -0.2069607675075531, 0.027836982160806656, 0.26463085412979126, 0.20135214924812317, 0.37612655758857727, -0.021428698673844337, -0.13852304220199585, 0.00962988194078207, 0.009020893834531307, 0.17509528994560242, 0.09816946089267731, 0.236234650015831, 0.5467091798782349, 0.17572654783725739, -0.12407822906970978, 0.015158802270889282, -0.5184608101844788, 0.11446906626224518, 0.12330678105354309, 0.5454906225204468, 0.05360063537955284, 0.35527679324150085, -0.41863706707954407, 0.6555209159851074, -0.024062564596533775, -0.13978098332881927, 0.051379118114709854, -0.1664823442697525, 0.10260199755430222, 0.012463569641113281, -0.09275270998477936, -0.006921763066202402, 0.11421345174312592, -0.39685380458831787, 0.2301149219274521, -0.17726600170135498, -0.06562668830156326, 0.19420252740383148, 0.07496309280395508, -0.2758626341819763, -0.0960247740149498, 0.007446648553013802, -0.15098248422145844, 0.37766945362091064, 0.005589436739683151, -0.3103637099266052, -0.27988240122795105, -0.3103911876678467, -0.0037588290870189667, 0.3724063038825989, -0.1750394105911255, -0.06069491058588028, -1.138735294342041, -0.16604599356651306, -0.17016905546188354, 0.601656973361969, 0.1654338389635086, 0.38403141498565674, 0.04743986204266548, -0.09139668941497803, 0.18274572491645813, -0.14200395345687866, 0.2181316763162613, 0.12172877788543701, -0.23037217557430267, 0.15517237782478333, 0.10213154554367065, -0.26535025238990784, -0.3653702735900879, -0.18301306664943695, 0.17233926057815552, 0.4220295548439026, -0.18406376242637634, 0.11434245854616165, -0.21505630016326904, 0.46684062480926514, -0.0065805381163954735, -0.2615736722946167, -0.1908009797334671, -0.4660642445087433, -0.485499769449234, -0.10737188160419464, -0.004617251455783844, -0.2687727212905884, 0.32625502347946167, 0.09350819140672684, 0.158909410238266, 0.20105652511119843, -0.1950693428516388, 0.2618424892425537, 0.08831861615180969, 0.36179131269454956, 0.33918485045433044, -0.0970039963722229, 0.2642097473144531, 0.04555963724851608, 0.4866718649864197, 0.23490045964717865, -0.07311561703681946, 0.012241758406162262, -0.020227991044521332, -0.007763698697090149, 0.7203899621963501, 0.38537633419036865, 0.05691152811050415, 0.5181810855865479, 0.05852864682674408, 0.31895530223846436, -0.34121131896972656, 0.2772653102874756, 0.2530134320259094, 0.2048657089471817, 0.009161381050944328, -0.3086262345314026, 0.172826886177063, -0.00816588755697012, -0.16253122687339783, 0.1564919352531433, 0.09403204917907715, -0.2338135540485382, 0.22681139409542084, -0.026242069900035858, 1.0498238801956177, -0.041557200253009796, -0.16161946952342987, -0.20716923475265503, -0.18388773500919342, -0.001628027530387044, -0.5145653486251831, 0.3566274046897888, -0.49340111017227173, 0.29762041568756104, 0.12928783893585205, 0.017542455345392227, 0.4480059742927551, 0.033130817115306854, 0.03395858034491539, 0.10367109626531601, 0.02645595371723175, 0.39195516705513, -0.046961843967437744, 0.185066819190979, 0.47716787457466125, 0.020576586946845055, 0.012899958528578281, -0.0025155097246170044, -0.135794997215271, -0.027395915240049362, 0.026648182421922684, 0.19818007946014404, -0.20222152769565582, -0.2613590359687805, -0.14274948835372925, -0.34923693537712097, 0.21117742359638214, -0.11022157967090607, 0.10064971446990967, -0.33650508522987366, -0.08491210639476776, 0.3175155818462372, 0.3755905032157898, 0.4098852276802063, -0.09912971407175064, 0.5282737612724304, -0.14567407965660095, -0.19478727877140045, -0.16830246150493622, -0.0058202920481562614, -0.2316504418849945, -0.04687226563692093, -0.4743903577327728, 0.27826765179634094, 0.04672042280435562, -0.4263784885406494, -0.4780425727367401, -0.03655224293470383, 0.13922375440597534, -0.21336540579795837, 0.2076309323310852, 0.30457204580307007, 0.29355257749557495, -0.2417464554309845, 0.05246009677648544, -0.0490252748131752, -0.3901410698890686, 0.37039294838905334, -0.014115400612354279, -0.2767137885093689, -0.10043223202228546, 0.31584274768829346, 0.35212111473083496, -0.08768364042043686, 0.469730406999588, -0.07799647748470306, 0.10045716166496277, -0.18495982885360718, -0.012879237532615662, 0.1682461053133011, -0.00413300096988678, -0.012420409359037876, 0.05675092712044716, -0.3305525779724121, -0.0045862384140491486, -0.08314633369445801, 0.23853226006031036, 0.385750949382782, -0.1303531378507614, -0.08352545648813248, -0.5193244814872742, -0.022419840097427368, 0.04663046449422836, 0.46357589960098267, 0.20129990577697754, -0.04529360681772232, -0.1797756552696228, 0.30486905574798584, -0.2232452929019928, 0.14700177311897278, -0.17785868048667908, 0.4262635111808777, 0.1371660828590393, 0.06934282928705215, 0.14686676859855652, -0.22931228578090668, 0.08180642873048782, -0.2517493963241577, 0.025516007095575333, -0.1387815624475479, -0.17893093824386597, 0.15258373320102692, -0.043648794293403625, 0.11080918461084366, -0.0466868057847023, -0.19260649383068085, 0.1483374983072281, -0.066656194627285, -0.06911828368902206, 0.12230216711759567, 0.1519996076822281, 0.7166008353233337, 0.10618512332439423, -0.2337048053741455, 0.2452102154493332, 0.02252158895134926, 0.17457979917526245, 0.547974169254303, -0.014022594317793846, 0.24974963068962097, -0.01661951094865799, -0.19478431344032288, -0.14432398974895477, 0.21952906250953674, 0.23193034529685974, 0.3800950348377228, -0.17130550742149353, -0.02965938299894333, -0.024291014298796654, -0.19410817325115204, 0.34719574451446533, 0.30663084983825684, -0.1385517418384552, -0.20155732333660126, 0.22143059968948364, 0.11060506850481033, -0.24699367582798004, -0.2915290594100952, 0.5353060364723206, 0.03552689775824547, 0.11102363467216492, 0.2059573233127594, 0.1690746396780014, 0.03384185582399368, 0.10561159253120422, 0.21265491843223572, 0.09644103050231934, -0.09632235020399094, 0.24387460947036743, -0.497990220785141, -0.1280139833688736, 0.005130939185619354, 0.3763270676136017, -0.015115566551685333, -0.08797948807477951, 0.5798884630203247, 0.21087858080863953, 0.7191652655601501, 0.2980978786945343, 0.023787375539541245, 0.11383504420518875, 0.12829409539699554, 0.1434950977563858, -0.06669364869594574, -0.010136410593986511, 0.08807317167520523, 0.3072134852409363, 0.13200095295906067, 0.1849549412727356, -0.09893610328435898, -0.21903091669082642, -0.09698985517024994, -0.09681851416826248, -0.601527214050293, -0.1720099151134491, -0.3171694576740265, 0.06831887364387512, 0.08431191742420197, 0.18111427128314972, 0.08396518975496292, 0.8005733489990234, -0.18348370492458344, -0.006836734712123871, -0.31394094228744507, 0.1066189706325531, 0.021818969398736954, -0.0036476552486419678, -0.23748651146888733, -0.07081776857376099, 0.07451711595058441, -0.39723655581474304, 0.2880449593067169, 0.17225885391235352, 0.05322422459721565, -0.10811105370521545, 0.17381756007671356, 0.030850999057292938, -0.13081073760986328, -0.1811397671699524, 0.18545730412006378, 0.23334214091300964, 0.042992591857910156, -0.30397412180900574, -0.0827411562204361, 0.12088467180728912, -0.13036487996578217, 0.42149123549461365, 0.09992334246635437, 0.008538363501429558, 0.07871665060520172, 0.09800323843955994, 0.17896541953086853, -0.047181811183691025, -0.30985352396965027, -0.022116348147392273, -0.0653434619307518, -0.29723748564720154, 0.37128451466560364, -0.03091117925941944, -0.04809262603521347, -0.1510198563337326, 0.008953532204031944, -0.0672050267457962, 0.45177245140075684, 0.04100823402404785, 0.03421742469072342, -0.31049078702926636, -0.5178057551383972, -0.11157017946243286, 0.2559851109981537, 0.14791767299175262, 0.1143084317445755, -0.226731538772583, 0.06604498624801636, 0.0808207094669342, -0.21347109973430634, 0.4548184871673584, -0.37228426337242126, -0.07801157236099243, 0.3344670236110687, -0.13751360774040222, 0.2551526725292206, 0.02462925761938095, -0.032600611448287964, 0.44991374015808105, -0.008658405393362045, -0.0801672488451004, -0.2204429656267166, -0.16178646683692932, -0.3331345319747925, -0.08153048902750015, 0.39407873153686523, -0.2762908637523651, 0.16747641563415527, 0.0026285480707883835, 0.4225054383277893, -0.340909868478775, 0.06390166282653809, -0.17630387842655182, -0.33106547594070435, -0.2725770175457001, 0.2651630938053131, -0.022237557917833328, 0.5790417194366455, -0.17828769981861115, 0.09171053767204285, -0.16123256087303162, 0.11363755166530609, -0.030598046258091927, 0.08307984471321106, -0.28487634658813477, 0.22259235382080078, 0.039006561040878296, 0.20779073238372803, 0.22081388533115387, 0.2301730513572693, 0.34926092624664307, 0.48292678594589233, -0.37683600187301636, -0.033770836889743805, 0.593079686164856, 0.011751881800591946, -0.3695410192012787, -0.23066242039203644, 0.06706851720809937, 0.10047806799411774, 0.0941033661365509, -0.4376440644264221, -0.03851846605539322, 0.3231671154499054, 0.18132808804512024, -0.2415929138660431, 0.3665502965450287, -0.050386082381010056, 0.05049654468894005, 0.027557898312807083, 0.11377865076065063, 0.2534795105457306, -0.03397200629115105, -0.16619305312633514, -0.2242421656847 ]
https://github.com/huggingface/datasets/pull/1971
Fix ArrowWriter closes stream at exit
Oh nice thanks for adding the context manager ! All the streams and RecordBatchWriter will be properly closed now. Hopefully this gives a better experience on windows on which it's super important to close stuff. Not sure about the error, it looks like a process crashed silently. Let me take a look
Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit.
52
text: Fix ArrowWriter closes stream at exit Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit. Oh nice thanks for adding the context manager ! All the streams and RecordBatchWriter will be properly closed now. Hopefully this gives a better experience on windows on which it's super important to close stuff. Not sure about the error, it looks like a process crashed silently. Let me take a look
[ -0.3688759207725525, -0.2234378159046173, -0.0435967780649662, 0.044082000851631165, -0.07620503753423691, -0.1733212172985077, 0.2924253046512604, -0.014234591275453568, -0.07191812992095947, 0.07645711302757263, 0.011652644723653793, 0.0341593436896801, -0.143279567360878, -0.10993925482034683, -0.3225613832473755, -0.2839948832988739, 0.03425358235836029, 0.3054697513580322, 0.17810428142547607, 0.11650353670120239, -0.2325989156961441, 0.2515714466571808, -0.42947691679000854, 0.36787569522857666, 0.0010877700988203287, -0.1996067613363266, 0.2257574200630188, 0.30804285407066345, -0.06817109882831573, -0.28275176882743835, -0.1933489292860031, -0.06036677584052086, -0.12969261407852173, 0.1644141972064972, -0.00010088780254591256, -0.12082511931657791, 0.5738630294799805, 0.023046931251883507, -0.30556797981262207, 0.3456137776374817, -0.03365059942007065, 0.22773568332195282, 0.09509637951850891, 0.035700030624866486, 0.4140988886356354, -0.17104098200798035, 0.15789435803890228, -0.33265626430511475, 0.4226278066635132, 0.08354193717241287, 0.28286677598953247, 0.22290591895580292, 0.4424622654914856, 0.08419963717460632, 0.14897292852401733, -0.08231087028980255, -0.21325185894966125, 0.13401900231838226, 0.3234880268573761, 0.002313307486474514, -0.3085583746433258, 0.33874180912971497, -0.28746435046195984, -0.003878483548760414, 0.1502091884613037, -0.18264885246753693, 0.21371424198150635, -0.08304976671934128, 0.18260496854782104, -0.026328980922698975, 0.31844615936279297, -0.07235977053642273, 0.15502937138080597, -0.14019998908042908, 0.020217817276716232, -0.4456700384616852, 0.28316131234169006, 0.21606053411960602, -0.44715508818626404, -0.013336177915334702, 0.1609364151954651, -0.12030906230211258, -0.18066588044166565, -0.07371817529201508, 0.21309354901313782, 0.08792998641729355, -0.1261812001466751, 0.10879406332969666, 0.08479081094264984, 0.21137778460979462, 0.41264811158180237, -0.1413891613483429, -0.4467570185661316, -0.07230217009782791, -0.21303321421146393, 0.09393569827079773, -0.04960904270410538, 0.1516980230808258, -0.2154105305671692, -0.01777104288339615, 0.5255453586578369, 0.17363256216049194, 0.35810089111328125, 0.19063732028007507, 0.3229407072067261, 0.03227159008383751, 0.1449253261089325, -0.16318611800670624, 0.19524909555912018, 0.0335521437227726, 0.04827452823519707, -0.04050835222005844, 0.08013271540403366, -0.493847519159317, 0.16570496559143066, 0.04538349062204361, 0.2697005867958069, -0.12949128448963165, -0.04296116903424263, 0.21454095840454102, -0.19598957896232605, 0.05132608115673065, -0.1707731932401657, 0.18770471215248108, 0.2530854344367981, 0.27983930706977844, 0.28278106451034546, -0.1157107949256897, -0.19754457473754883, 0.0352078378200531, 0.007182170171290636, -0.09307493269443512, -0.21251574158668518, -0.07020821422338486, 0.013149134814739227, -0.12013518810272217, 0.15192265808582306, 0.05419280380010605, -0.5031960010528564, -0.08610613644123077, 0.3759046196937561, -0.24314752221107483, -0.001359492540359497, 0.1343802809715271, 0.14950165152549744, 0.07773860543966293, -0.12398089468479156, -0.08896257728338242, 0.13841161131858826, 0.19588157534599304, 0.05748331546783447, -0.14833739399909973, -0.30115070939064026, 0.3566446304321289, 0.15103492140769958, 0.152066171169281, -0.307883620262146, -0.055414218455553055, -0.0666026696562767, -0.1580468714237213, 0.2793375253677368, -0.041653506457805634, 0.03812437132000923, -0.10141776502132416, -0.07515731453895569, 0.150011345744133, -0.19987231492996216, -0.0052732862532138824, -0.5452797412872314, -0.2662643492221832, 0.3684319257736206, 0.12267187237739563, -0.11276061832904816, 0.3910789489746094, -0.32490769028663635, 0.18771590292453766, 0.17021963000297546, 0.024410758167505264, -0.0797947496175766, 0.08424548804759979, -0.2839881181716919, -0.04430776089429855, -0.13458123803138733, -0.09365586936473846, 0.35881197452545166, -0.035276152193546295, 0.13037030398845673, -0.02691340073943138, 0.02381150797009468, -0.11948253959417343, -0.3134818375110626, 0.09050972759723663, -0.2766765356063843, -0.014864012598991394, -0.10237902402877808, -0.28350597620010376, 0.13339370489120483, 0.05602451413869858, 0.1709686517715454, 0.08577732741832733, 0.3054659962654114, 0.18320050835609436, 0.16745473444461823, 0.09118697047233582, -0.18691980838775635, -0.03452307730913162, 0.030860144644975662, -0.15130485594272614, -0.22611209750175476, -0.14791271090507507, 0.08333102613687515, 0.09623034298419952, -0.014139235019683838, 0.13270258903503418, -0.10918599367141724, -0.13155077397823334, 0.30499494075775146, 0.36608871817588806, -0.378680020570755, 0.10221187770366669, -0.14844846725463867, 0.1868056058883667, -0.2662753164768219, -0.02540709637105465, 0.10996542870998383, -0.27252450585365295, -0.22357212007045746, -0.1498577743768692, -0.08402348309755325, 0.004611767828464508, 0.036870118230581284, 0.07927582412958145, -0.1947871744632721, 0.4625413715839386, -0.2856188416481018, 0.2497972846031189, -0.16060671210289001, -0.23549936711788177, -0.13290584087371826, -0.3364156484603882, 0.06495057046413422, 0.2374655157327652, 0.19107520580291748, -0.16363534331321716, 0.161443829536438, -0.021435678005218506, 0.11846216022968292, 0.0940239429473877, 0.02001158893108368, 0.034287579357624054, -0.06442426145076752, -0.06826867908239365, 0.21088512241840363, 0.2201564610004425, 0.04909012094140053, 0.13161706924438477, -0.06912557780742645, -0.09668508172035217, -0.011301904916763306, -0.23193037509918213, 0.46278947591781616, 0.07722589373588562, 0.12661223113536835, 0.23166847229003906, -0.33382606506347656, 0.0978151261806488, 0.4792400002479553, 0.18988706171512604, 0.6363093256950378, 0.12695269286632538, -0.0025004036724567413, 0.2500288784503937, 0.21880769729614258, -0.21840308606624603, 0.622966468334198, 0.24537448585033417, -0.10094036906957626, 0.40350139141082764, -0.0592942088842392, 0.00331913772970438, -0.3542892038822174, -0.05249672383069992, -0.07893846929073334, -0.11179742217063904, -0.1504898965358734, -0.19885480403900146, 0.04273637384176254, 0.0014732740819454193, -0.2966054081916809, 0.09912099689245224, 0.1410408467054367, -0.14880777895450592, 0.17922556400299072, 0.26484960317611694, -0.29367148876190186, 0.10576309263706207, -0.23609592020511627, 0.32496756315231323, -0.14092454314231873, 0.5177878737449646, -0.06560215353965759, 0.00427767401561141, -0.30900493264198303, 0.18825113773345947, 0.3463955521583557, -0.1530466079711914, 0.1524825245141983, 0.3102794587612152, 0.10385860502719879, -0.3053344786167145, -0.006121821701526642, 0.021026670932769775, 0.011259062215685844, -0.2125098556280136, 0.16310380399227142, 0.19200947880744934, -0.20404615998268127, -0.6041181087493896, 0.004645614884793758, 0.029589904472231865, -0.12309879809617996, 0.06762762367725372, 0.21668924391269684, -0.12703976035118103, -0.2481081783771515, -0.08987446874380112, -0.03554372489452362, -0.5662976503372192, 0.37267422676086426, -0.3593813180923462, 0.1309049427509308, 0.1532904952764511, -0.12475702166557312, 0.2248762547969818, -0.07050164043903351, 0.12654753029346466, 0.07583601772785187, -0.09487316757440567, 0.0530456006526947, -0.2373213768005371, -0.08092671632766724, 0.38504502177238464, 0.1483156681060791, 0.1369355171918869, -0.11575116217136383, -0.31076955795288086, 0.3215593695640564, 0.17082396149635315, -0.25432881712913513, -0.19645054638385773, 0.13885068893432617, 0.29825788736343384, 0.29221972823143005, -0.26219332218170166, -0.03642779961228371, -0.007937924936413765, -0.06242559105157852, -0.42316100001335144, 0.40301012992858887, -0.11919199675321579, 0.26544469594955444, -0.18925723433494568, 0.4849904775619507, -0.09643633663654327, 0.25839993357658386, 0.12827946245670319, 0.28859931230545044, 0.0550718754529953, -0.14931553602218628, 0.009503034874796867, 0.2211296111345291, -0.23840567469596863, -0.024162858724594116, 0.1526988446712494, -0.03687123954296112, -0.23517833650112152, -0.11311003565788269, 0.02585265040397644, -0.31982189416885376, -0.3457513451576233, 0.04084011912345886, 0.12270414084196091, 0.268917977809906, -0.25988879799842834, 0.09012400358915329, 0.2145727127790451, 0.06347037851810455, 0.2461908757686615, 0.11538176238536835, -0.022195778787136078, -0.2919374406337738, -0.09431669116020203, 0.1529543101787567, -0.06699369102716446, 0.3245590627193451, -0.3144143223762512, 0.35999158024787903, -0.08472338318824768, -0.1724972128868103, -0.013391852378845215, -0.055916573852300644, 0.11284326761960983, 0.11239638924598694, -0.17090435326099396, 0.052837517112493515, 0.6183826923370361, -0.11091683804988861, -0.2797253429889679, 0.030815016478300095, 0.6030938625335693, -0.1199483573436737, -0.32829904556274414, -0.11631633341312408, 0.010040980763733387, 0.010071521624922752, -0.2424962967634201, -0.1002015694975853, -0.03464208170771599, -0.1539887636899948, -0.04029518738389015, -0.09718046337366104, 0.16323503851890564, -0.0052589233964681625, -0.06878110021352768, -0.21567319333553314, -0.1800810694694519, 0.060210153460502625, -0.08298476785421371, -0.1488409787416458, -0.1544756293296814, 0.17930305004119873, -0.12893694639205933, -0.06848302483558655, -0.05204398185014725, 0.35656002163887024, -0.03307217359542847, 0.12223494797945023, 0.11878855526447296, -0.018468454480171204, 0.35289090871810913, -0.16030973196029663, 0.25690287351608276, 0.3005179166793823, 0.032615777105093, 0.4338565766811371, 0.4509425759315491, 0.31801843643188477, -0.1236424371600151, 0.042991574853658676, 0.22985269129276276, 0.07577947527170181, 0.14161282777786255, 0.2320156991481781, 0.1930609941482544, -0.12552323937416077, -0.15755994617938995, 0.6890419721603394, 0.18268172442913055, -0.22810249030590057, 0.14596186578273773, 0.0239524245262146, 0.8915796279907227, 0.22585764527320862, -0.08112448453903198, -0.13350218534469604, -0.8998554348945618, -0.1636880785226822, -0.14744576811790466, 0.1939762681722641, -0.061366353183984756, 0.24029859900474548, 0.1194310188293457, -0.09746618568897247, 0.0452401340007782, -0.24603046476840973, -0.4464225769042969, -0.1933141052722931, -0.0037187859416007996, -0.006899576634168625, -0.11438107490539551, 0.12364538013935089, -0.3924982249736786, -0.1914404034614563, -0.060127049684524536, 0.2377019226551056, -0.09111256897449493, 0.04750771448016167, -0.39464709162712097, -0.1785309612751007, 0.37987422943115234, -0.1870298981666565, -0.4218047261238098, -0.09541571885347366, -0.47309398651123047, 0.01342749409377575, -0.1910998374223709, -0.03576759994029999, 0.22706538438796997, -0.2145984172821045, -0.11887170374393463, -0.052455294877290726, -0.0053305719047784805, 0.26729831099510193, 0.3015284836292267, 0.21066893637180328, -0.04723343625664711, -0.09067639708518982, -0.005896734073758125, -0.12115763127803802, -0.03834076225757599, 0.5287137031555176, -0.1741606444120407, -0.37905991077423096, 0.07356461882591248, 0.13826003670692444, 0.49411123991012573, -0.07165659219026566, -0.07669688761234283, -0.19083335995674133, -0.3537052869796753, 0.03540949895977974, 0.27933117747306824, 0.018155235797166824, -0.03081069141626358, 0.043060626834630966, -0.3372756838798523, 0.0831180065870285, 0.02833409048616886, 0.028194546699523926, -0.28886234760284424, 0.1582242101430893, 0.48964908719062805, 0.11525841057300568, -0.13273218274116516, -0.23381522297859192, -0.1758236289024353, -0.06027431786060333, -0.3222464919090271, 0.2522008419036865, 0.19112525880336761, -0.22716712951660156, 0.09322282671928406, 0.4212733209133148, 0.06513935327529907, 0.07992606610059738, -0.2814873456954956, -0.16367360949516296, -0.5632801651954651, 0.15795670449733734, -0.29017993807792664, 0.2859633266925812, -0.24772432446479797, 0.02922922745347023, 0.28242576122283936, -0.17959104478359222, -0.432297945022583, -0.13665415346622467, -0.1629142016172409, -0.02911827340722084, -0.2716453969478607, -0.21194684505462646, -0.16795864701271057, -0.12933306396007538, 0.19687114655971527, 0.4032430052757263, -0.1315954029560089, -0.3143215477466583, 0.17562422156333923, 0.1087912768125534, 0.08942116796970367, -0.24465274810791016, -0.11261049658060074, -0.16868853569030762, 0.11519862711429596, 0.2367468774318695, 0.00978502631187439, -0.0030989497900009155, -0.2319323867559433, -0.05197034776210785, 0.15658019483089447, -0.07443859428167343, -0.2095712274312973, -0.20231002569198608, -0.06909976899623871, 0.3128906488418579, -0.030184024944901466, -0.15984393656253815, 0.10584364086389542, -0.1305319368839264, 0.05662864074110985, 0.12748703360557556, 0.156651571393013, 0.006612755358219147, 0.42459818720817566, -0.15564419329166412, -0.3509463667869568, 0.046722542494535446, 0.21532590687274933, 0.2612113654613495, -0.15896224975585938, -0.04335730895400047, 0.04360557347536087, 0.35712966322898865, -0.01914173737168312, 0.03729774430394173, -0.42776796221733093, -0.18833686411380768, -0.24167995154857635, -0.27145957946777344, -0.06632412225008011, -0.522197425365448, -0.16951800882816315, 0.4523642063140869, -0.23807837069034576, -0.14873042702674866, 0.08721953630447388, 0.12258775532245636, -0.12551511824131012, -0.013799253851175308, 0.21744804084300995, -0.3199550211429596, 0.30199605226516724, 0.0345214307308197, 0.05801894888281822, 0.06361940503120422, 0.15263952314853668, 0.3122767508029938, -0.003168858587741852, -0.3321487307548523, 0.0836351215839386, -0.05487900972366333, -0.09515893459320068, 0.40013664960861206, 0.2145574390888214, 0.21295785903930664, 0.02152683585882187, -0.1754031926393509, -0.08411432057619095, 0.10230176895856857, -0.37714123725891113, -0.028375783935189247, -0.24213044345378876, -0.03440536558628082, 0.11086644232273102, 0.16008305549621582, 0.05319150537252426, 0.27993714809417725, 0.06627732515335083, 0.10193446278572083, -0.221959188580513, 0.12994112074375153, -0.21912503242492676, 0.3509214222431183, 0.35440388321876526, -0.22603970766067505, 0.03634266182780266, 0.46284347772598267, 0.012870308011770248, -0.1781795173883438, 0.470016747713089, 0.2198987603187561, 0.3310055434703827, -0.49834394454956055, 0.20887643098831177, 0.2422829270362854, 0.08894803375005722, 0.03810286521911621, 0.23786388337612152, 0.44349268078804016, -0.04549100622534752, 0.0099495779722929, 0.2820770740509033, -0.24854280054569244, 0.27833092212677, 0.13385535776615143, -0.0563998706638813, -0.025492873042821884, -0.18377703428268433, 0.12702742218971252, -0.27488571405410767, -0.25826263427734375, -0.10730651766061783, -0.27764052152633667, 0.005175795406103134, 0.3978816866874695, -0.0947251245379448, -0.0959308072924614, -0.2800416350364685, 0.1489764153957367, 0.17458967864513397, 0.3606482148170471, 0.2762379050254822, 0.37985384464263916, -0.2762466371059418, -0.41327089071273804, -0.3049800395965576, 0.12545588612556458, -0.08234803378582001, -0.016446135938167572, 0.16315965354442596, -0.06986446678638458, 0.056184329092502594, -0.024926461279392242, 0.22734475135803223, -0.009146828204393387, -0.05678187310695648, 0.07778672873973846, -0.39806076884269714, 0.1369619071483612, 0.4852145314216614, -0.17928950488567352, -0.047896623611450195, -0.35748419165611267, 0.4210125505924225, 0.1081738993525505, 0.21830439567565918, 0.09555239230394363, 0.06970645487308502, 0.1382719725370407, 0.21041467785835266, 0.22593453526496887, -0.07874921709299088, -0.21971586346626282, 0.027307022362947464, -0.0980580523610115, -0.04880736395716667, 0.08174970000982285, -0.05708068236708641, -0.3519803285598755, 0.25251588225364685, 0.37921056151390076, 0.023293880745768547, 0.025539463385939598, -0.3212660551071167, 0.10186447948217392, -0.08315172791481018, -0.061632174998521805, -0.4903790354728699, 0.1810084730386734, -0.042788803577423096, 0.23019051551818848, 0.18763196468353271, 0.07087456434965134, -0.10121622681617737, -0.08126933872699738, -0.6628227829933167, -0.32805562019348145, 0.39355674386024475, -0.08131863921880722, -0.1513867825269699, 0.37593430280685425, 0.3888457715511322, 0.08573649078607559, 0.3201201856136322, -0.6201968193054199, -0.2948412299156189, 0.25388607382774353, -0.04337204247713089, -0.15052999556064606, 0.060912132263183594, -0.011559275910258293, -0.15272697806358337, 0.15762630105018616, 0.22619089484214783, 0.11579278856515884, -0.0061995722353458405, -0.07974319905042648, -0.27264538407325745 ]
https://github.com/huggingface/datasets/pull/1971
Fix ArrowWriter closes stream at exit
> Hopefully this gives a better experience on windows on which it's super important to close stuff. Exactly! On Windows, you got: > PermissionError: [WinError 32] The process cannot access the file because it is being used by another process when trying to access the unclosed `stream` file, e.g. by `with incomplete_dir(self._cache_dir) as tmp_data_dir`: `shutil.rmtree(tmp_dir)` The reason is: https://docs.python.org/3/library/os.html#os.remove > On Windows, attempting to remove a file that is in use causes an exception to be raised; on Unix, the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use.
Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit.
104
text: Fix ArrowWriter closes stream at exit Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit. > Hopefully this gives a better experience on windows on which it's super important to close stuff. Exactly! On Windows, you got: > PermissionError: [WinError 32] The process cannot access the file because it is being used by another process when trying to access the unclosed `stream` file, e.g. by `with incomplete_dir(self._cache_dir) as tmp_data_dir`: `shutil.rmtree(tmp_dir)` The reason is: https://docs.python.org/3/library/os.html#os.remove > On Windows, attempting to remove a file that is in use causes an exception to be raised; on Unix, the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use.
[ -0.06515762954950333, -0.05130774527788162, -0.08166009187698364, 0.03139680624008179, -0.05228526145219803, -0.21497893333435059, 0.17786362767219543, -0.05592849478125572, -0.006665416061878204, 0.2181137651205063, -0.09079243242740631, 0.28191322088241577, -0.1607728898525238, -0.2655005156993866, -0.43371742963790894, -0.11842788755893707, -0.11300820857286453, 0.15510600805282593, 0.27763912081718445, -0.07550344616174698, -0.1513267308473587, 0.1740071028470993, -0.30568569898605347, 0.3409267067909241, 0.18072481453418732, -0.24893352389335632, 0.21059195697307587, 0.5174093842506409, -0.15629541873931885, -0.24980179965496063, -0.20084148645401, -0.04101384058594704, -0.11976472288370132, 0.3707370162010193, -0.00010186248255195096, -0.005613058805465698, 0.3441534638404846, 0.08224071562290192, -0.34544429183006287, -0.009640857577323914, 0.2639809548854828, 0.17095942795276642, 0.2710363566875458, 0.007730163633823395, 0.3282865285873413, -0.11926107853651047, 0.05602935701608658, -0.296992689371109, 0.5183500647544861, 0.3141860365867615, 0.26664021611213684, 0.12491653859615326, 0.3674693703651428, 0.3120880424976349, 0.29579994082450867, -0.0538201779127121, -0.20963484048843384, 0.3008330464363098, 0.1904037445783615, -0.09602552652359009, -0.1574174165725708, 0.29768532514572144, -0.2697601318359375, -0.009931530803442001, 0.022543281316757202, -0.11135042458772659, 0.11115817725658417, -0.4064171016216278, 0.18376827239990234, -0.04645530879497528, 0.23018860816955566, -0.14235588908195496, -0.14140072464942932, -0.13285258412361145, -0.06953338533639908, -0.516126811504364, 0.2438262403011322, 0.3530142605304718, -0.3571724593639374, 0.16742026805877686, 0.29895228147506714, -0.14566582441329956, -0.31523633003234863, 0.027597811073064804, 0.31216004490852356, 0.2841947078704834, -0.07580847293138504, 0.1402265727519989, 0.20748171210289001, 0.09138437360525131, 0.34993427991867065, -0.10436031222343445, -0.18046845495700836, 0.1573338657617569, -0.07016491889953613, 0.3121766448020935, -0.024117983877658844, 0.3140072524547577, -0.21734493970870972, 0.2453441172838211, 0.38369134068489075, 0.04311875253915787, 0.25003111362457275, 0.26177868247032166, 0.22519704699516296, 0.13731902837753296, -0.1789245307445526, 0.09782280772924423, 0.28577983379364014, -0.07240636646747589, -0.16351614892482758, 0.0028903111815452576, 0.0780496895313263, -0.4131993353366852, 0.22633932530879974, 0.08740531653165817, 0.4695764183998108, -0.06263098120689392, -0.07513633370399475, 0.14946936070919037, -0.31589266657829285, 0.15242129564285278, -0.07579946517944336, 0.23204731941223145, 0.13342340290546417, 0.19574782252311707, 0.28540122509002686, 0.024395078420639038, -0.3144974410533905, 0.2956562936306, 0.03991899639368057, 0.09521383047103882, -0.33164191246032715, -0.4308232367038727, -0.13681721687316895, -0.32936540246009827, 0.0945471003651619, 0.05634051561355591, -0.15907832980155945, -0.163732647895813, 0.4133492112159729, -0.15974298119544983, 0.11632648855447769, 0.2957901358604431, 0.16445069015026093, 0.11015906184911728, 0.07353509962558746, -0.2041686326265335, 0.16017284989356995, 0.31460779905319214, -0.08932927995920181, -0.1621081829071045, -0.3143850564956665, 0.3379235863685608, 0.05850186198949814, 0.11429513245820999, 0.08050736784934998, -0.2912628650665283, -0.011031337082386017, -0.026205765083432198, 0.39771124720573425, -0.11082516610622406, 0.025171365588903427, -0.3797236680984497, -0.10874971747398376, 0.28754544258117676, -0.21063940227031708, 0.10313750803470612, -0.4685247540473938, -0.158634752035141, 0.35373982787132263, 0.3046688437461853, -0.02506508305668831, 0.34611213207244873, -0.2307666689157486, 0.09788455069065094, 0.5663734674453735, -0.14955534040927887, -0.42608046531677246, 0.18899263441562653, -0.27498191595077515, 0.21385414898395538, -0.0023832693696022034, -0.05997978150844574, 0.1309732347726822, 0.04375159740447998, 0.10413282364606857, 0.035177409648895264, 0.12372191250324249, -0.1274166852235794, -0.3274743854999542, 0.05161002278327942, -0.11968488991260529, -0.09860198199748993, -0.005559317767620087, -0.2432849407196045, 0.2439749836921692, -0.28712186217308044, 0.3674226999282837, 0.06975212693214417, 0.3378699719905853, 0.2624841034412384, 0.41401275992393494, 0.31109482049942017, -0.07364490628242493, -0.057953089475631714, 0.1501406729221344, 0.050470270216464996, -0.11751371622085571, -0.13792943954467773, -0.26326072216033936, -0.030013836920261383, 0.04388725757598877, 0.20715731382369995, -0.3629978597164154, -0.26605460047721863, 0.25324204564094543, 0.235103577375412, 0.0964553952217102, 0.12816525995731354, -0.256093829870224, 0.03273262083530426, -0.2218410223722458, 0.1983421891927719, 0.08013314008712769, -0.1990804523229599, -0.21896466612815857, -0.2568110227584839, -0.3634799122810364, -0.028981231153011322, -0.012905985116958618, 0.006147559732198715, -0.3071676790714264, 0.4642601013183594, 0.05671323090791702, 0.22147029638290405, -0.3460427522659302, -0.10366861522197723, -0.24137189984321594, 0.015994299203157425, 0.12647338211536407, 0.5248759388923645, 0.08737851679325104, 0.09041235595941544, 0.04089057072997093, 0.12381881475448608, 0.06306889653205872, 0.05640559270977974, 0.13384543359279633, 0.02120351232588291, -0.13789702951908112, 0.06585061550140381, 0.1949518769979477, 0.19533491134643555, 0.2867162525653839, 0.09425131976604462, 0.14403557777404785, -0.17600326240062714, 0.02500390261411667, -0.2741275131702423, 0.3468687832355499, 0.09685315191745758, 0.07976015657186508, 0.23356226086616516, -0.24879387021064758, 0.09479106217622757, 0.26459625363349915, 0.37214264273643494, 0.5539197325706482, 0.09432607889175415, 0.12079935520887375, 0.25693070888519287, 0.3505270779132843, -0.16889101266860962, 0.44627824425697327, 0.3654640316963196, 0.03261292353272438, 0.32625678181648254, -0.030160149559378624, 0.11353494971990585, -0.2966143786907196, -0.22596527636051178, -0.2220059186220169, 0.1204882562160492, -0.06383024156093597, -0.013978765346109867, 0.022343220189213753, -0.010263277217745781, -0.14312569797039032, -0.14509360492229462, 0.07102955877780914, -0.13734447956085205, 0.19358183443546295, 0.2906886637210846, -0.319880872964859, 0.11730168014764786, -0.23337344825267792, -0.13940830528736115, 0.04664098471403122, 0.1741914451122284, -0.08245092630386353, -0.011641699820756912, -0.0848236232995987, 0.1450989842414856, 0.19384022057056427, -0.17918217182159424, 0.11164278537034988, 0.24812962114810944, -0.011078792624175549, -0.24649301171302795, -0.22461849451065063, -0.05726929008960724, -0.04135032743215561, -0.08012622594833374, 0.21327191591262817, 0.09002462774515152, -0.05233905091881752, -0.26375800371170044, 0.043754320591688156, -0.24476084113121033, -0.2285306304693222, 0.070658378303051, 0.254142165184021, -0.012922520749270916, -0.3207351267337799, -0.03902209550142288, -0.2503402829170227, -0.7243450880050659, 0.6112207174301147, 0.0429178811609745, 0.2023010402917862, 0.30475735664367676, -0.10615053027868271, 0.1779770851135254, 0.1763988435268402, 0.2426362782716751, 0.09132083505392075, -0.0382143072783947, -0.10554032027721405, -0.33055344223976135, -0.2769855856895447, 0.37196388840675354, 0.14669787883758545, 0.12675540149211884, 0.029763389378786087, -0.13759618997573853, 0.0979355201125145, -0.07563712447881699, -0.2182386815547943, -0.4228905439376831, 0.12878988683223724, 0.3276287317276001, 0.17017774283885956, -0.18662865459918976, 0.016691967844963074, 0.2771667242050171, -0.08386612683534622, -0.21049681305885315, 0.04320415481925011, -0.10873381048440933, 0.44029027223587036, -0.03186151012778282, 0.31852054595947266, 0.0359690897166729, 0.40049102902412415, 0.11965060234069824, 0.19305212795734406, 0.16019997000694275, -0.1942911148071289, 0.02385384775698185, 0.12180804461240768, -0.10612225532531738, -0.35811299085617065, 0.1420755535364151, 0.11404736340045929, 0.027274638414382935, 0.00787544995546341, -0.2519286870956421, -0.2915668487548828, -0.35273945331573486, 0.08539792150259018, 0.09242001920938492, 0.11277465522289276, -0.2579463720321655, 0.06257741898298264, 0.1634712517261505, -0.024259744212031364, 0.11232024431228638, 0.3511562943458557, 0.055709172040224075, -0.13022342324256897, -0.13938987255096436, 0.1227906197309494, -0.21149221062660217, 0.39055585861206055, -0.19257761538028717, 0.09817270189523697, -0.013279493898153305, -0.22945457696914673, 0.1782670021057129, -0.07373678684234619, 0.010807685554027557, 0.13050416111946106, -0.1779964715242386, 0.0324285663664341, 0.33800020813941956, -0.2140016108751297, -0.14761754870414734, -0.060045842081308365, 0.5591368079185486, 0.03369523584842682, -0.1257273107767105, -0.03158808499574661, -0.035029336810112, -0.22113649547100067, -0.1170555129647255, -0.14389315247535706, -0.08822120726108551, -0.42020466923713684, -0.11098094284534454, -0.5353896617889404, 0.26279309391975403, 0.17529842257499695, -0.10866768658161163, -0.10154923051595688, -0.008887305855751038, 0.09014779329299927, -0.24879664182662964, -0.09252150356769562, -0.1785566657781601, 0.28671354055404663, -0.3858316242694855, -0.23347589373588562, -0.08130045980215073, 0.21153689920902252, -0.013196149840950966, 0.40130937099456787, -0.07187265157699585, -0.09915114939212799, 0.18477797508239746, 0.02130524069070816, 0.1405857354402542, 0.13928616046905518, -0.09514982998371124, 0.47341710329055786, 0.1305379867553711, 0.22265149652957916, -0.01181724201887846, -0.09674952179193497, 0.18341736495494843, -0.049656715244054794, 0.10212918370962143, -0.12137496471405029, -0.03217808157205582, -0.2601543366909027, -0.1267959624528885, 0.569339394569397, 0.13343483209609985, -0.22014294564723969, 0.32251209020614624, -0.09683264046907425, 0.8471997976303101, 0.14936354756355286, 0.17407649755477905, -0.10042386502027512, -0.6339186429977417, -0.006631261203438044, 0.03505288064479828, 0.22900687158107758, -0.17349040508270264, 0.15113097429275513, 0.11809605360031128, 0.0039040222764015198, -0.03962397575378418, -0.20607377588748932, -0.18263082206249237, -0.06288938969373703, -0.13806280493736267, 0.013294711709022522, -0.1544831246137619, 0.2076822817325592, -0.3873678147792816, 0.019186075776815414, -0.3074769079685211, 0.22214481234550476, 0.059047821909189224, 0.1652899980545044, -0.3274311423301697, -0.08807096630334854, 0.09554272890090942, -0.1492031365633011, -0.09338916838169098, 0.08968651294708252, -0.6551113128662109, 0.1998273730278015, -0.30521130561828613, -0.436168909072876, -0.1565762609243393, 0.08361112326383591, -0.23507557809352875, 0.01876554824411869, 0.13542301952838898, 0.3067778944969177, 0.34874406456947327, -0.03552038595080376, -0.03255428373813629, 0.020448997616767883, 0.13760925829410553, -0.11665568500757217, -0.006903395056724548, 0.30195897817611694, -0.15521401166915894, -0.5028095245361328, 0.16390696167945862, 0.2498224377632141, 0.45497214794158936, -0.06367841362953186, -0.15368691086769104, -0.39349547028541565, -0.5537228584289551, -0.027545280754566193, 0.21789509057998657, 0.136991485953331, -0.13817718625068665, -0.074735127389431, -0.3648463785648346, -0.22981058061122894, -0.03203267604112625, 0.044625476002693176, -0.14565974473953247, 0.23324275016784668, 0.5569906234741211, 0.04007856920361519, -0.1985159069299698, -0.1945679485797882, -0.1373603790998459, -0.1812358796596527, -0.2979438602924347, 0.33174195885658264, 0.14521193504333496, 0.0938313901424408, 0.16094650328159332, 0.16149024665355682, 0.0341125912964344, 0.06440679728984833, -0.4777933955192566, -0.26633983850479126, -0.6107391119003296, 0.09425509721040726, -0.1321384459733963, 0.1854420155286789, -0.2269180417060852, -0.08912982046604156, 0.1543269008398056, -0.29327699542045593, -0.4106851816177368, -0.01860175095498562, -0.09273010492324829, -0.13298603892326355, -0.022328514605760574, -0.16930028796195984, 0.12280286848545074, -0.05145014449954033, 0.17788204550743103, 0.43545258045196533, -0.08108622580766678, -0.3041698932647705, -0.005612671375274658, 0.09786956757307053, 0.11019424349069595, -0.2088460475206375, -0.015099774114787579, -0.305624783039093, 0.09617672860622406, 0.10475797206163406, 0.09940533339977264, 0.08856149762868881, -0.14666742086410522, -0.04729451984167099, 0.16689537465572357, 0.07452158629894257, -0.20164591073989868, -0.08283853530883789, -0.446570485830307, 0.20091503858566284, 0.0631665512919426, -0.1211380809545517, 0.04127049446105957, -0.03362079709768295, -0.09128388017416, -0.07788077741861343, 0.268038272857666, 0.07356609404087067, 0.17854568362236023, -0.10730838775634766, -0.24176356196403503, -0.43777185678482056, 0.4602610468864441, 0.26524651050567627, -0.06890585273504257, -0.038561057299375534, 0.28817039728164673, 0.30514413118362427, -0.07082632184028625, 0.10860811173915863, -0.38101208209991455, -0.28724750876426697, -0.01365942507982254, 0.05620492994785309, -0.2583831250667572, -0.1634569764137268, -0.11100171506404877, 0.35280004143714905, -0.1254706233739853, -0.18515166640281677, -0.02318701334297657, 0.15003646910190582, -0.18374566733837128, 0.028262216597795486, 0.18759353458881378, -0.16603173315525055, 0.3578791618347168, 0.2465129941701889, -0.010994993150234222, 0.1942773461341858, 0.2540653347969055, -0.0401647575199604, -0.021204523742198944, -0.3574298322200775, -0.15621007978916168, -0.17041879892349243, -0.09962120652198792, 0.37980568408966064, 0.13212880492210388, 0.16348153352737427, -0.10504184663295746, -0.015044353902339935, 0.09382827579975128, 0.2615765929222107, -0.30364131927490234, -0.11263927817344666, -0.07298683375120163, -0.011382721364498138, 0.11206230521202087, 0.1249542087316513, -0.023185167461633682, 0.24714860320091248, -0.19269388914108276, 0.08700289577245712, -0.00927802175283432, 0.1556953638792038, -0.3879401683807373, 0.24981984496116638, 0.2987709045410156, -0.3415393829345703, -0.07616923004388809, 0.42913568019866943, 0.1594359427690506, -0.2906796336174011, 0.08579560369253159, 0.426809698343277, 0.23342746496200562, -0.48832833766937256, 0.14850963652133942, 0.2249995470046997, 0.07132149487733841, -0.026469582691788673, 0.3557635545730591, 0.36509227752685547, 0.35523587465286255, -0.011053916066884995, 0.25214770436286926, -0.30439895391464233, 0.16595056653022766, 0.10197103768587112, -0.06765812635421753, -0.11861887574195862, 0.05996576324105263, 0.14914296567440033, -0.4375961720943451, -0.340248167514801, -0.1300378441810608, -0.2831856906414032, -0.0518743060529232, 0.13589520752429962, 0.03844090551137924, -0.06873570382595062, -0.24186678230762482, 0.14649152755737305, 0.2880972921848297, 0.24346166849136353, 0.4805191159248352, 0.435361385345459, -0.1673208773136139, -0.2772412598133087, -0.36014583706855774, 0.24355155229568481, -0.3479938209056854, -0.22296321392059326, -0.05961534380912781, -0.09319540113210678, -0.15771442651748657, -0.010542944073677063, 0.23121044039726257, -0.02394399605691433, 0.05005563050508499, 0.12415546178817749, -0.2499328851699829, 0.001165136694908142, 0.3443523049354553, -0.2585851848125458, 0.12412901222705841, -0.5147143602371216, 0.05763692408800125, -0.044267501682043076, 0.2306225299835205, -0.032655082643032074, 0.017614424228668213, 0.14456909894943237, 0.07996686547994614, 0.44754084944725037, 0.06770974397659302, -0.2694661021232605, -0.0816611722111702, -0.4270086884498596, -0.16302049160003662, 0.09040679037570953, -0.18797577917575836, -0.2965894043445587, 0.22614634037017822, 0.3917284309864044, 0.019936800003051758, -0.21544508635997772, -0.3812370002269745, 0.18536850810050964, -0.14566469192504883, -0.14975328743457794, -0.19001731276512146, 0.19756744801998138, 0.17441284656524658, 0.30966120958328247, 0.02391088753938675, 0.22690808773040771, -0.09957373142242432, -0.1698945015668869, -0.6432619690895081, -0.2459545135498047, 0.5499098300933838, -0.36783087253570557, -0.26227477192878723, 0.478394091129303, 0.2539209723472595, 0.079900823533535, 0.059303492307662964, -0.6533182263374329, 0.012704513967037201, 0.15140733122825623, -0.013035498559474945, -0.30458930134773254, 0.002728814259171486, -0.13494203984737396, -0.08022589236497879, 0.23914837837219238, 0.23061929643154144, 0.23120537400245667, -0.03955232352018356, 0.14464302361011505, -0.2567617893218994 ]
https://github.com/huggingface/datasets/pull/1971
Fix ArrowWriter closes stream at exit
The test passes on my windows. This was probably a circleCI issue. I re-ran the circleCI tests
Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit.
17
text: Fix ArrowWriter closes stream at exit Current implementation of ArrowWriter does not properly release the `stream` resource (by closing it) if its `finalize()` method is not called and/or an Exception is raised before/during the call to its `finalize()` method. Therefore, ArrowWriter should be used as a context manager that properly closes its `stream` resource at exit. The test passes on my windows. This was probably a circleCI issue. I re-ran the circleCI tests
[ -0.24338169395923615, -0.3970443606376648, -0.09048154950141907, 0.10042889416217804, -0.16431398689746857, -0.28223612904548645, 0.4090730845928192, -0.12839855253696442, -0.18481259047985077, 0.2068461924791336, 0.2715657353401184, 0.16763795912265778, 0.02841281145811081, -0.008851073682308197, -0.4586547613143921, -0.22422057390213013, -0.03894660621881485, 0.3183826208114624, 0.010174989700317383, 0.13915643095970154, -0.11321032047271729, 0.3271700143814087, -0.41645413637161255, 0.2514801621437073, 0.04204069450497627, -0.3290582299232483, 0.04768472909927368, 0.2868226170539856, -0.03236997872591019, -0.40946078300476074, -0.03938084840774536, 0.06788889318704605, -0.4025903642177582, 0.26005983352661133, -0.00010633365309331566, -0.12271790206432343, 0.6001712679862976, 0.05798038840293884, -0.18155133724212646, 0.22588764131069183, 0.3764367997646332, 0.35763609409332275, 0.2175856977701187, -0.12801270186901093, 0.1171465590596199, 0.3939235508441925, -0.03541143983602524, -0.2887333035469055, 0.348697692155838, 0.21934214234352112, 0.2374657243490219, 0.3479239046573639, 0.2670888602733612, 0.17088067531585693, -0.007218077778816223, -0.05550509691238403, -0.16487157344818115, -0.05472235009074211, 0.33012962341308594, 0.04957173764705658, -0.3826262652873993, 0.36565691232681274, 0.08766317367553711, 0.2168845385313034, -0.10645506531000137, -0.15801721811294556, 0.09609399735927582, -0.2017534375190735, 0.2766912877559662, 0.01698940247297287, 0.34920138120651245, -0.12351009994745255, 0.19877889752388, 0.08641206473112106, -0.08666940778493881, -0.2619015872478485, 0.4153548777103424, 0.01207723654806614, -0.42538514733314514, -0.04721793159842491, 0.1457630693912506, -0.011873085051774979, -0.2923223376274109, -0.07476456463336945, -0.14622998237609863, 0.10945110768079758, -0.10025273263454437, 0.16484582424163818, 0.12015889585018158, 0.1395065039396286, 0.2583962380886078, -0.11175161600112915, -0.41514119505882263, -0.1157657653093338, -0.05624843016266823, 0.011373162269592285, 0.0020380020141601562, 0.36042875051498413, -0.057144954800605774, 0.1669856160879135, 0.30641356110572815, 0.20073813199996948, 0.3562324047088623, 0.22627845406532288, 0.24245226383209229, -0.08461076021194458, 0.21464568376541138, 0.0834701657295227, 0.2404046505689621, 0.10345491766929626, -0.13961410522460938, 0.005999883636832237, 0.22304780781269073, -0.37696027755737305, 0.10733115673065186, 0.012284711003303528, 0.11692388355731964, -0.2970353960990906, -0.08965814113616943, 0.21702849864959717, -0.38979899883270264, 0.1591489315032959, -0.04573286697268486, 0.3691616356372833, 0.13734273612499237, 0.39370113611221313, 0.32137227058410645, 0.052825503051280975, -0.28665992617607117, 0.12609341740608215, 0.013332489877939224, -0.13876517117023468, -0.10904471576213837, -0.1194029375910759, 0.08180142939090729, -0.061586130410432816, 0.3047817647457123, -0.08771177381277084, -0.18979458510875702, -0.1378040313720703, 0.38535118103027344, -0.18125082552433014, 0.3324490487575531, 0.08689936250448227, 0.28805992007255554, 0.09265518933534622, -0.10732291638851166, -0.008529715240001678, 0.017953306436538696, 0.16483521461486816, 0.07666676491498947, 0.12619656324386597, 0.06469511240720749, 0.33304986357688904, 0.08200277388095856, 0.0015320256352424622, 0.1584792584180832, -0.14594720304012299, 0.07318958640098572, 0.006681118160486221, 0.4470421373844147, -0.09374436736106873, -0.04440873861312866, 0.03142651915550232, -0.06106133013963699, 0.34886008501052856, -0.0910956859588623, -0.001668304204940796, -0.5388058423995972, -0.2561265230178833, 0.1741144061088562, 0.1981818675994873, -0.05160144716501236, 0.2517780661582947, -0.41041088104248047, 0.27942198514938354, 0.3162853717803955, -0.23321625590324402, -0.2359817773103714, 0.16112133860588074, -0.28078895807266235, 0.05555960536003113, -0.16003379225730896, -0.24539592862129211, 0.11219038814306259, 0.08262272924184799, 0.2005758285522461, -0.04818738251924515, 0.089214026927948, 0.0914267897605896, -0.39442604780197144, 0.1377975195646286, -0.13917605578899384, -0.1734948456287384, -0.005666904151439667, -0.4755014181137085, 0.08583632111549377, -0.3639453649520874, 0.2840699255466461, 0.050895534455776215, 0.1308487504720688, 0.13894423842430115, 0.3740808665752411, -0.13762809336185455, 0.06591757386922836, 0.1871706247329712, 0.2150377333164215, -0.04468419775366783, -0.288234144449234, -0.04735475033521652, 0.07758373767137527, 0.04782823473215103, -0.16787385940551758, 0.20201899111270905, -0.029042545706033707, -0.13882841169834137, 0.2500866651535034, 0.3019636869430542, -0.06637521088123322, 0.26683467626571655, 0.0722775012254715, 0.16743019223213196, -0.35367339849472046, -0.001043766038492322, 0.38375675678253174, -0.23398692905902863, -0.228629931807518, -0.11035378277301788, -0.08662296831607819, -0.09652193635702133, -0.04715576022863388, -0.06136434152722359, -0.2525901198387146, 0.3550752103328705, -0.04942989721894264, 0.18058060109615326, -0.2104683518409729, -0.310183048248291, -0.15353667736053467, -0.4479208290576935, -0.0878429040312767, 0.40523025393486023, 0.03964553028345108, -0.11596179008483887, 0.038237977772951126, 0.21348342299461365, 0.31379714608192444, 0.1739560067653656, 0.04176068305969238, 0.060651667416095734, 0.06564928591251373, -0.10962541401386261, 0.15712501108646393, 0.046386778354644775, 0.30929675698280334, 0.07742004096508026, 0.2342674881219864, -0.1654730588197708, -0.10945115983486176, -0.139187753200531, 0.377300888299942, 0.051297593861818314, 0.19207701086997986, 0.221485435962677, -0.2540522813796997, 0.014972273260354996, 0.3438117802143097, 0.158364400267601, 0.5409493446350098, 0.08514056354761124, 0.14833422005176544, 0.21850371360778809, 0.07628703862428665, -0.3021451532840729, 0.5596421957015991, 0.17784379422664642, -0.1680353879928589, 0.4260643422603607, -0.024318424984812737, -0.1259804517030716, -0.44397974014282227, -0.02335113286972046, -0.07124488055706024, -0.06566625833511353, -0.3350801169872284, 0.0014581717550754547, 0.09029369801282883, 0.06475133448839188, -0.14164948463439941, 0.2543402314186096, 0.21972689032554626, -0.18000829219818115, 0.229009747505188, 0.29252153635025024, -0.2629029452800751, 0.06441432237625122, -0.3362754285335541, 0.4686167240142822, 0.04043230414390564, 0.09943448752164841, -0.3190578520298004, -0.09464173018932343, -0.41029372811317444, 0.20153693854808807, 0.41614121198654175, -0.11058544367551804, 0.2627556324005127, 0.042267441749572754, 0.2726067304611206, -0.16243578493595123, -0.2339704930782318, 0.10541996359825134, 0.09014951437711716, -0.03774845600128174, 0.09797639399766922, 0.11503449082374573, -0.21557290852069855, -0.3330991864204407, 0.011511684395372868, -0.3173641860485077, -0.2991894781589508, 0.01658589392900467, 0.23566922545433044, -0.224351167678833, -0.40505096316337585, -0.2311820387840271, 0.13530130684375763, -0.4151415526866913, 0.29575103521347046, -0.2376091629266739, 0.017124399542808533, 0.12821975350379944, -0.11901406198740005, 0.23970681428909302, 0.07076281309127808, 0.001832643523812294, -0.04699630290269852, -0.13401377201080322, 0.05752366781234741, -0.3217872977256775, -0.31756842136383057, 0.24480745196342468, 0.008393485099077225, 0.3451234698295593, 0.03545361012220383, -0.3296726942062378, 0.30733779072761536, 0.13049563765525818, -0.0753059983253479, -0.13926735520362854, 0.01482984609901905, 0.16188307106494904, 0.20049579441547394, -0.26021844148635864, -0.14818435907363892, 0.16300560534000397, 0.08292286843061447, -0.18542683124542236, 0.29893410205841064, -0.12160473316907883, 0.22181284427642822, -0.0395924374461174, 0.4161107540130615, 0.06664294004440308, 0.13567174971103668, 0.1330762803554535, 0.1646379679441452, 0.07363233715295792, -0.23860222101211548, 0.10999509692192078, 0.1963815689086914, -0.05845242738723755, -0.2003978192806244, 0.2230025827884674, -0.0522446408867836, -0.4695517122745514, -0.08021995425224304, 0.0669039636850357, -0.2528337836265564, -0.3557192385196686, 0.10812931507825851, -0.049598872661590576, 0.37522998452186584, -0.2564522325992584, 0.20471316576004028, 0.18200600147247314, 0.06615114957094193, 0.32592082023620605, 0.1680343747138977, -0.011516369879245758, -0.3307160437107086, -0.29090484976768494, 0.058135587722063065, -0.19913840293884277, 0.3081057071685791, -0.018261464312672615, 0.3808872103691101, -0.2142200618982315, -0.27492448687553406, 0.035828035324811935, -0.3192249536514282, 0.07404450327157974, -0.05409590154886246, -0.0455329492688179, 0.27649906277656555, 0.33594217896461487, -0.146182581782341, -0.12952184677124023, -0.21506191790103912, 0.38009223341941833, -0.28021472692489624, -0.2565613090991974, -0.04977523162961006, -0.07131926715373993, -0.1580941379070282, -0.2458209991455078, -0.1532263308763504, -0.0036315456964075565, -0.2859465777873993, -0.21643835306167603, -0.19466212391853333, 0.5242498517036438, -0.0658189132809639, -0.09978412836790085, -0.28390854597091675, -0.11386443674564362, 0.011972115375101566, -0.2204204797744751, -0.23813743889331818, 0.13933488726615906, 0.2527598440647125, -0.34274551272392273, -0.08437080681324005, -0.03626556694507599, -0.06985633075237274, -0.010709023103117943, 0.1030072569847107, 0.18383373320102692, 0.272891104221344, 0.2950340807437897, -0.2585202753543854, 0.23872461915016174, 0.20977577567100525, -0.08287673443555832, 0.3213917016983032, 0.07349959015846252, 0.16321930289268494, -0.24573329091072083, 0.23344163596630096, 0.15811558067798615, 0.12658768892288208, 0.1881438046693802, 0.371225506067276, -0.030260160565376282, -0.20885397493839264, -0.15405626595020294, 0.7868906259536743, 0.09617205709218979, -0.3229360282421112, 0.11092489957809448, 0.09968172758817673, 0.7144321799278259, 0.20976421236991882, -0.05376613512635231, 0.08544477820396423, -0.6012892723083496, -0.39008355140686035, 0.15999555587768555, 0.09632167220115662, -0.19611719250679016, 0.4956403076648712, 0.04014056175947189, -0.14989051222801208, 0.1684853434562683, -0.33075714111328125, -0.5454307794570923, -0.3352896273136139, 0.07357877492904663, -0.031966742128133774, -0.13133583962917328, 0.2664516270160675, -0.4605236053466797, 0.04356968402862549, 0.01706116832792759, 0.2732820510864258, 0.1836281269788742, 0.2004672735929489, -0.3335094749927521, 0.04681224003434181, 0.028898831456899643, -0.4695369005203247, -0.23911036550998688, 0.02740824595093727, -0.521203875541687, 0.07360094785690308, -0.1875479519367218, -0.3013644814491272, 0.2745588719844818, -0.12734569609165192, -0.052068740129470825, -0.013560377061367035, -0.11912143230438232, 0.37516555190086365, 0.19496572017669678, 0.16491232812404633, 0.3493886888027191, -0.016639109700918198, 0.019390463829040527, -0.14852860569953918, -0.1411011964082718, 0.44123101234436035, -0.21853014826774597, -0.3563188910484314, 0.2083105444908142, 0.12575632333755493, 0.27483218908309937, -0.10536450147628784, 0.054664261639118195, -0.28074678778648376, -0.47946855425834656, 0.04518670216202736, 0.2367340326309204, -0.14506623148918152, -0.13972428441047668, 0.051473841071128845, -0.14854241907596588, -0.12098127603530884, 0.06948962807655334, -0.06745252758264542, -0.41753676533699036, 0.18370305001735687, 0.405886709690094, -0.03099968098104, -0.026047460734844208, -0.38591912388801575, 0.043540894985198975, 0.03208689019083977, -0.09354923665523529, 0.20132853090763092, 0.1598721146583557, -0.2373027801513672, 0.09831168502569199, 0.6962926983833313, -0.04677458852529526, 0.1547246128320694, -0.4218863844871521, -0.1356278359889984, -0.5928217172622681, 0.012511804699897766, -0.28436800837516785, 0.26480957865715027, -0.14450056850910187, 0.00427652895450592, 0.4114282727241516, -0.20682115852832794, -0.39045479893684387, -0.08264340460300446, -0.268986314535141, 0.08081631362438202, -0.39523494243621826, -0.31524741649627686, 0.08050653338432312, -0.015894219279289246, 0.1932489275932312, 0.41119515895843506, -0.18162493407726288, -0.32515349984169006, 0.07237601280212402, 0.07432355731725693, 0.07215264439582825, -0.19798439741134644, 0.043728187680244446, 0.01597263664007187, 0.2615324556827545, 0.06429153680801392, 0.09711334109306335, -0.18862643837928772, -0.29717928171157837, -0.01911788061261177, 0.09783169627189636, 0.03293277695775032, -0.5369235277175903, -0.16473108530044556, -0.16282592713832855, 0.1364113688468933, 0.001575747039169073, -0.12450557947158813, 0.02884029410779476, -0.1316681057214737, 0.29523545503616333, 0.2831023633480072, 0.22339709103107452, 0.14595837891101837, 0.10666878521442413, 0.01605939120054245, -0.23723801970481873, -0.1947944015264511, 0.13310419023036957, 0.47297170758247375, -0.2014971822500229, -0.014699209481477737, 0.14251920580863953, 0.3372012674808502, 0.09520656615495682, 0.10529418289661407, -0.28270232677459717, -0.307985782623291, 0.031115490943193436, -0.15703433752059937, -0.016267549246549606, -0.5885911583900452, 0.10317482054233551, 0.36798858642578125, -0.0474703274667263, -0.290519118309021, 0.06880702078342438, 0.02014908939599991, -0.2617643177509308, 0.2119293063879013, 0.18557924032211304, -0.32564157247543335, 0.2781441807746887, -0.06386557221412659, 0.2643238604068756, 0.19072231650352478, -0.08141062408685684, 0.4316229224205017, -0.07349146157503128, -0.1369331330060959, 0.058265041559934616, -0.33628538250923157, -0.09588859975337982, 0.41934528946876526, 0.2715020775794983, 0.21725529432296753, -0.103558249771595, -0.22789384424686432, -0.33052220940589905, -0.20649977028369904, -0.36924678087234497, -0.1945820152759552, -0.40859827399253845, 0.017596572637557983, -0.00513632595539093, 0.24791264533996582, 0.20096874237060547, 0.4312160611152649, 0.18247157335281372, 0.21554389595985413, -0.09453700482845306, 0.07877647876739502, -0.40483421087265015, 0.26632586121559143, 0.3221700191497803, -0.380077064037323, 0.13565780222415924, 0.2863692045211792, 0.06475750356912613, -0.19504660367965698, 0.12152945250272751, 0.2953612208366394, 0.11603416502475739, -0.44617754220962524, -0.006253238767385483, -0.05931812897324562, 0.07790099829435349, -0.044411785900592804, 0.1989518702030182, 0.3491021990776062, -0.10503078997135162, 0.1020611971616745, 0.2832421660423279, -0.2488979995250702, 0.21176797151565552, 0.20804154872894287, -0.16085343062877655, -0.189028799533844, -0.20809045433998108, 0.1061808243393898, -0.12329760193824768, -0.43532273173332214, -0.11616670340299606, -0.22257429361343384, 0.2503158152103424, 0.16979698836803436, -0.21935567259788513, -0.08696749806404114, -0.18024584650993347, 0.13449855148792267, 0.3235437273979187, 0.43891263008117676, 0.14527258276939392, 0.34430837631225586, -0.2540932893753052, -0.5701379179954529, -0.2573677897453308, 0.11067862808704376, 0.032705552875995636, 0.1447598934173584, 0.029148835688829422, 0.07001335173845291, -0.03803352266550064, -0.052008792757987976, 0.19027110934257507, 0.03873051330447197, 0.048918239772319794, 0.03398405760526657, -0.2884367108345032, 0.20373046398162842, 0.3204130530357361, -0.33896905183792114, -0.0025842860341072083, -0.377157986164093, 0.22501111030578613, 0.007362249307334423, 0.18702223896980286, 0.2699365019798279, -0.18733206391334534, 0.1597001999616623, -0.007916644215583801, 0.31403037905693054, -0.03099183924496174, 0.08723278343677521, -0.054326560348272324, -0.0008006766438484192, -0.12652388215065002, -0.006524843629449606, -0.0017647873610258102, -0.3021048307418823, 0.19139350950717926, 0.34528520703315735, 0.0009468542411923409, -0.05895162746310234, -0.155800923705101, 0.07276428490877151, 0.11883197724819183, -0.16723750531673431, -0.11008904874324799, 0.18403227627277374, -0.04829901084303856, 0.2619518041610718, -0.04392647743225098, 0.3011268973350525, -0.058826565742492676, -0.10563773661851883, -0.4482991099357605, -0.2987273037433624, 0.36725497245788574, -0.03766898810863495, -0.16150826215744019, 0.222378209233284, 0.3893655240535736, -0.028091207146644592, 0.07733745872974396, -0.5862478613853455, -0.28887832164764404, 0.18879801034927368, 0.0018974877893924713, -0.2817785441875458, 0.006486974190920591, 0.22997143864631653, 0.019020725041627884, -0.008242860436439514, 0.51762455701828, 0.10399075597524643, 0.14814379811286926, 0.036798376590013504, -0.22198185324668884 ]
https://github.com/huggingface/datasets/pull/1966
Fix metrics collision in separate multiprocessed experiments
Since the failure was originally intermittent, there is no 100% telling that the problem is gone. But if my artificial race condition setup https://github.com/huggingface/datasets/issues/1942#issuecomment-787124529 is to be the litmus test then the problem has been fixed, as with this PR branch that particular race condition is taken care of correctly. Thank you for taking care of this, @lhoestq - locking can be very tricky to do right!
As noticed in #1942 , there's a issue with locks if you run multiple separate evaluation experiments in a multiprocessed setup. Indeed there is a time span in Metric._finalize() where the process 0 loses its lock before re-acquiring it. This is bad since the lock of the process 0 tells the other process that the corresponding cache file is available for writing/reading/deleting: we end up having one metric cache that collides with another one. This can raise FileNotFound errors when a metric tries to read the cache file and if the second conflicting metric deleted it. To fix that I made sure that the lock file of the process 0 stays acquired from the cache file creation to the end of the metric computation. This way the other metrics can simply sample a new hashing name in order to avoid the collision. Finally I added missing tests for separate experiments in distributed setup.
67
text: Fix metrics collision in separate multiprocessed experiments As noticed in #1942 , there's a issue with locks if you run multiple separate evaluation experiments in a multiprocessed setup. Indeed there is a time span in Metric._finalize() where the process 0 loses its lock before re-acquiring it. This is bad since the lock of the process 0 tells the other process that the corresponding cache file is available for writing/reading/deleting: we end up having one metric cache that collides with another one. This can raise FileNotFound errors when a metric tries to read the cache file and if the second conflicting metric deleted it. To fix that I made sure that the lock file of the process 0 stays acquired from the cache file creation to the end of the metric computation. This way the other metrics can simply sample a new hashing name in order to avoid the collision. Finally I added missing tests for separate experiments in distributed setup. Since the failure was originally intermittent, there is no 100% telling that the problem is gone. But if my artificial race condition setup https://github.com/huggingface/datasets/issues/1942#issuecomment-787124529 is to be the litmus test then the problem has been fixed, as with this PR branch that particular race condition is taken care of correctly. Thank you for taking care of this, @lhoestq - locking can be very tricky to do right!
[ -0.2152194231748581, 0.1526201069355011, 0.011226966977119446, 0.38162994384765625, 0.19818133115768433, -0.18861564993858337, 0.3292001485824585, 0.3652983009815216, 0.25747641921043396, 0.3040941059589386, 0.015427491627633572, -0.040628720074892044, -0.18774043023586273, -0.06209547817707062, -0.28445106744766235, 0.060143791139125824, 0.06331251561641693, -0.14697155356407166, -0.31872278451919556, 0.18274271488189697, -0.21457970142364502, 0.3649210035800934, -0.17153975367546082, -0.03657720983028412, -0.5612685680389404, -0.044864073395729065, -0.07481063902378082, 0.23363849520683289, 0.02919192425906658, -0.4240453243255615, -0.0548810213804245, 0.4149245321750641, -0.3189379572868347, 0.6293792724609375, -0.00010077181650558487, -0.11808206140995026, 0.21362362802028656, -0.009363936260342598, 0.10368070006370544, 0.021564528346061707, 0.0015850216150283813, -0.18223577737808228, -0.05121719092130661, -0.15436489880084991, 0.17597919702529907, -0.08634714782238007, 0.013862283900380135, -0.3126318156719208, 0.45009881258010864, -0.15458516776561737, 0.2356909066438675, 0.2950887084007263, 0.024440575391054153, -0.11893942952156067, -0.18300163745880127, -0.404011070728302, -0.05563303828239441, 0.19567260146141052, 0.07277946919202805, -0.28837937116622925, -0.33988845348358154, 0.2214938998222351, 0.0418674498796463, 0.1902349889278412, -0.09083690494298935, 0.010590752586722374, 0.21630287170410156, -0.032338619232177734, -0.08205071091651917, 0.24610483646392822, -0.16637524962425232, -0.18597811460494995, -0.21624545753002167, -0.15714335441589355, -0.05181453749537468, -0.5190659165382385, 0.4139309227466583, -0.1775704324245453, -0.21903526782989502, 0.10746261477470398, -0.13609741628170013, -0.0595896951854229, -0.012727431952953339, -0.1676698625087738, 0.005837112665176392, 0.09261006116867065, 0.04314785450696945, 0.06406161189079285, 0.03674013912677765, 0.4040403366088867, -0.12657438218593597, 0.07839655131101608, -0.17377819120883942, -0.20396143198013306, -0.39725378155708313, -0.021312832832336426, 0.07044146209955215, 0.18921878933906555, 0.16283926367759705, 0.09199050068855286, 0.12068023532629013, 0.24747005105018616, 0.2964407801628113, 0.03281727433204651, 0.04128364473581314, 0.10619890689849854, -0.057638950645923615, -0.054072558879852295, 0.40578579902648926, 0.18119095265865326, -0.3736015856266022, 0.01680109091103077, 0.2173151671886444, -0.41420266032218933, 0.12988290190696716, 0.27854979038238525, 0.005122411996126175, -0.22198636829853058, -0.13029111921787262, 0.4430004358291626, -0.2703160345554352, -0.1611458659172058, -0.03726227581501007, 0.09526717662811279, 0.026656437665224075, 0.21726658940315247, 0.08642245829105377, 0.13023138046264648, -0.28768157958984375, 0.021910138428211212, -0.3682868778705597, -0.023954685777425766, -0.3036156892776489, 0.2663404643535614, 0.08982962369918823, 0.1359768658876419, 0.25864070653915405, 0.23741087317466736, 0.4269155263900757, -0.28637760877609253, 0.11632943153381348, 0.03822430595755577, 0.13140448927879333, 0.07121602445840836, 0.1992131471633911, -0.11562439054250717, 0.16785328090190887, -0.06770654767751694, -0.018050670623779297, -0.1016363576054573, -0.08489789813756943, -0.10672737658023834, 0.3012680113315582, 0.18935970962047577, -0.40469491481781006, 0.35459229350090027, 0.38884735107421875, 0.14561285078525543, 0.05213648080825806, 0.024706978350877762, 0.11615703999996185, -0.1895286589860916, -0.10885201394557953, -0.24539098143577576, 0.14232414960861206, 0.48479896783828735, 0.011921647936105728, 0.05331655591726303, 0.20752251148223877, -0.0848173201084137, -0.015232034027576447, 0.17478904128074646, -0.07881727069616318, 0.14568117260932922, -0.2309899479150772, -0.07607629150152206, 0.16826672852039337, -0.2965526580810547, -0.4158676266670227, -0.11195643246173859, -0.2775728106498718, 0.2946954369544983, 0.09818292409181595, -0.027608763426542282, 0.14129798114299774, -0.05880901962518692, 0.10428205132484436, -0.09866194427013397, -0.24954667687416077, -0.07283104956150055, -0.4758756756782532, 0.007587822154164314, -0.06114930659532547, -0.12169170379638672, 0.3478923439979553, -0.2730357050895691, -0.045128531754016876, 0.36891815066337585, 0.12907284498214722, 0.12387192249298096, 0.17805013060569763, 0.21326155960559845, 0.04431900009512901, -0.02093532681465149, 0.13392125070095062, -0.15512849390506744, -0.1621670126914978, 0.31197187304496765, -0.4310787320137024, 0.04199384152889252, 0.3933819532394409, -0.045320216566324234, 0.021677765995264053, -0.17117783427238464, -0.12185131013393402, -0.24649780988693237, 0.2485644817352295, -0.1008654236793518, -0.09851087629795074, 0.05122721567749977, -0.1494186669588089, 0.8585816025733948, -0.03170771151781082, 0.01467609591782093, -0.09567154943943024, 0.055016010999679565, -0.18842333555221558, -0.38815373182296753, -0.05218838155269623, 0.3157225251197815, 0.08422775566577911, -0.09779763966798782, -0.18702983856201172, 0.3905940651893616, 0.13898615539073944, 0.0637015700340271, 0.30116212368011475, 0.42202574014663696, 0.12635622918605804, -0.006192151457071304, -0.16262219846248627, -0.38343149423599243, -0.11653153598308563, -0.11823912709951401, 0.05890544876456261, 0.48682159185409546, 0.02124200388789177, -0.18640613555908203, -0.1632545292377472, -0.0037258602678775787, 0.011676916852593422, -0.21287848055362701, -0.1762963980436325, -0.021696191281080246, 0.32211023569107056, -0.06532630324363708, -0.15224279463291168, -0.10845719277858734, -0.05864764004945755, -0.0029313862323760986, 0.48100700974464417, 0.3697223961353302, -0.0819496139883995, -0.16782331466674805, 0.0501164011657238, -0.11153890937566757, -0.4196827709674835, 0.0068776048719882965, 0.5703688859939575, 0.2513365149497986, 0.13755521178245544, 0.25231796503067017, -0.11154297739267349, -0.19198006391525269, 0.0876961499452591, 0.0827082097530365, -0.11322660744190216, 0.40200355648994446, 0.17782548069953918, 0.16264142096042633, -0.058759622275829315, 0.01804962009191513, 0.2775067687034607, 0.004320764914155006, -0.20389145612716675, -0.11383818835020065, -0.3232777416706085, 0.36681365966796875, -0.22336545586585999, -0.021378375589847565, -0.26764681935310364, -0.29745030403137207, 0.33792203664779663, 0.3409181237220764, -0.13343478739261627, 0.32900068163871765, -0.07992237061262131, 0.4931987524032593, -0.16552773118019104, 0.5013066530227661, 0.1137300580739975, -0.312186062335968, -0.24361297488212585, 0.06823505461215973, 0.35807836055755615, 0.04760894551873207, 0.37996673583984375, 0.025810977444052696, -0.29003679752349854, -0.23594114184379578, -0.41865959763526917, -0.0961889773607254, -0.28924089670181274, 0.42985886335372925, 0.14769887924194336, -0.004838958382606506, -0.1962709277868271, 0.08027133345603943, 0.17713207006454468, -0.26610860228538513, -0.2478799968957901, -0.0867040753364563, 0.09755535423755646, -0.11174421012401581, -0.3908447027206421, -0.3703405559062958, 0.3481594920158386, -0.32284507155418396, 0.10057900100946426, -0.33963504433631897, 0.014385513961315155, -0.3598717749118805, -0.27795127034187317, 0.12056078016757965, -0.04743136465549469, -0.2190796285867691, -0.4213259518146515, -0.43173500895500183, -0.13999569416046143, -0.1655438244342804, -0.2504917085170746, -0.13391545414924622, 0.19006067514419556, -0.05311911925673485, -0.027145303785800934, -0.3042079210281372, -0.748929500579834, 0.23271559178829193, 0.11641135811805725, 0.008628543466329575, -0.0657133162021637, 0.31315335631370544, -0.0992211326956749, -0.21074281632900238, -0.35945194959640503, 0.026198100298643112, 0.5896459817886353, -0.03830098360776901, 0.14925208687782288, 0.0144899170845747, 0.023563338443636894, 0.2731476128101349, 0.6747134327888489, 0.44271060824394226, 0.2217070460319519, 0.22341211140155792, 0.24298806488513947, 0.19973193109035492, -0.04243173450231552, -0.08808375149965286, 0.2561032474040985, 0.09181219339370728, -0.05367368459701538, 0.16818618774414062, -0.08922804892063141, 0.07769829034805298, -0.08861031383275986, 0.2780430316925049, -0.1751907467842102, -0.46437975764274597, -0.0024222005158662796, -0.29937174916267395, 0.13270050287246704, 0.15433825552463531, -0.20602184534072876, -0.13585206866264343, 0.10603909939527512, 0.2001623660326004, 0.21254590153694153, -0.03768434375524521, 0.06612533330917358, -0.10476738959550858, 0.2589934766292572, -0.30131590366363525, 0.34126025438308716, 0.16008467972278595, 0.24660131335258484, -0.26229313015937805, -0.09712962806224823, -0.0019811391830444336, -0.06794223934412003, 0.6461507081985474, -0.1597665250301361, -0.1099027693271637, 0.05157135799527168, -0.14585548639297485, 0.11689776927232742, -0.2278725653886795, -0.2582333981990814, 0.047842804342508316, 0.4286766052246094, 0.43905171751976013, -0.34867843985557556, -0.32952186465263367, -0.24681469798088074, -0.16585023701190948, -0.16559097170829773, -0.2409925013780594, -0.23823322355747223, -0.04807312786579132, -0.18436415493488312, 0.42133355140686035, 0.17545142769813538, 0.11262308061122894, -0.27909526228904724, -0.21535374224185944, -0.045855358242988586, 0.048937439918518066, 0.16756078600883484, -0.009940942749381065, 0.07867253571748734, -0.24610839784145355, 0.2674913704395294, 0.28757914900779724, 0.11200535297393799, -0.0030630826950073242, 0.031597644090652466, -0.010896068066358566, 0.05872108042240143, 0.27799955010414124, -0.21231384575366974, 0.002664610743522644, 0.576903760433197, 0.09122157841920853, 0.02124594897031784, 0.08068995922803879, 0.1976296454668045, -0.20135118067264557, 0.15518374741077423, 0.12339092791080475, 0.1892995536327362, -0.15305408835411072, 0.14542941749095917, -0.05441588908433914, 0.2626819312572479, -0.1804473102092743, 0.5687711834907532, 0.030638154596090317, -0.12165418267250061, 0.09874999523162842, 0.1126708909869194, 0.7821105122566223, -0.03411500155925751, -0.11548526585102081, 0.1535167694091797, -0.22075515985488892, 0.1908663511276245, -0.11146015673875809, 0.23625388741493225, -0.35665401816368103, -0.2956208288669586, -0.015217045322060585, -0.1245160698890686, 0.24290025234222412, -0.3958231210708618, -0.01640772446990013, 0.1543118804693222, 0.00896366685628891, -0.174765944480896, -0.2362581193447113, -0.04213862866163254, -0.13177485764026642, -0.029457949101924896, 0.30914372205734253, 0.19423098862171173, -0.01829313486814499, 0.23947593569755554, -0.18607354164123535, -0.2250690758228302, -0.13645614683628082, -0.1829131543636322, -0.43721121549606323, -0.17452362179756165, 0.006731636356562376, 0.026491448283195496, 0.2505039870738983, 0.09096688032150269, -0.1303725391626358, 0.1816088855266571, 0.6409685611724854, 0.06635848432779312, -0.13935907185077667, 0.16100364923477173, -0.1140894666314125, 0.05888829007744789, 0.17182327806949615, -0.11873184144496918, 0.22591425478458405, -0.16956070065498352, -0.2707844376564026, -0.18672066926956177, -0.046246230602264404, -0.11939127743244171, -0.020061790943145752, 0.09183744341135025, 0.3049893379211426, 0.10225289314985275, -0.02290418930351734, 0.09540887922048569, -0.03693163022398949, -0.2767295241355896, 0.2158804088830948, -0.030929848551750183, -0.11603746563196182, 0.41396066546440125, -0.08932889997959137, -0.2938598692417145, 0.08647048473358154, 0.29912692308425903, -0.10147274285554886, -0.10386918485164642, 0.24988089501857758, 0.02260681614279747, -0.10302777588367462, -0.1839134395122528, -0.2728932797908783, 0.17048165202140808, -0.22892409563064575, 0.14282678067684174, -0.06058729067444801, -0.020761437714099884, 0.29884347319602966, 0.10488803684711456, 0.23199859261512756, 0.008001230657100677, -0.12210191786289215, -0.34078219532966614, -0.061744362115859985, 0.09634896367788315, -0.5043675899505615, 0.34376710653305054, -0.07357817888259888, 0.46846407651901245, -0.36736661195755005, 0.4230119287967682, -0.4120660722255707, 0.13612911105155945, -0.35553157329559326, -0.08939314633607864, -0.07365518808364868, -0.2549506425857544, -0.01148640364408493, 0.03572314605116844, 0.06826166808605194, 0.39149928092956543, -0.39422696828842163, -0.24085116386413574, -0.3058115243911743, 0.07488342374563217, -0.07613235712051392, 0.06811600178480148, 0.051408037543296814, 0.04028664529323578, 0.09709824621677399, 0.08616111427545547, 0.21311725676059723, 0.38655340671539307, -0.14918842911720276, -0.06216803193092346, 0.25440555810928345, 0.45392927527427673, 0.01730557531118393, 0.057715609669685364, 0.09841541200876236, -0.2007126659154892, -0.11464791744947433, 0.04643237590789795, -0.12093496322631836, -0.05051124840974808, -0.20112714171409607, -0.05375120788812637, 0.10257425159215927, 0.13397181034088135, 0.07030269503593445, 0.222447469830513, -0.3101695775985718, 0.37854433059692383, 0.31469637155532837, -0.08174693584442139, -0.1307152658700943, -0.16374868154525757, 0.11721395701169968, 0.2313363254070282, -0.10353551805019379, -0.024148004129529, 0.25482049584388733, 0.12890490889549255, -0.02684289589524269, 0.24414294958114624, 0.5801064968109131, 0.030472703278064728, -0.14053140580654144, 0.15118855237960815, 0.1778222620487213, -0.36002159118652344, 0.0898057371377945, -0.30424579977989197, 0.06600038707256317, 0.23503932356834412, 0.5633902549743652, -0.17664526402950287, 0.12904907763004303, 0.0129474438726902, -0.12254825979471207, 0.14931923151016235, -0.04130694270133972, 0.18102937936782837, -0.17532318830490112, -0.19540122151374817, -0.023056384176015854, -0.0020531117916107178, -0.009942881762981415, 0.10140496492385864, -0.3715868592262268, 0.31798630952835083, -0.3211982250213623, -0.12914319336414337, -0.24804212152957916, 0.2827717363834381, -0.2242366075515747, -0.10315307974815369, 0.17841802537441254, -0.19909310340881348, 0.023686543107032776, 0.023392964154481888, 0.2821893095970154, 0.38350188732147217, 0.5437923073768616, 0.11381955444812775, 0.04376647248864174, -0.15870533883571625, -0.39100316166877747, 0.18415093421936035, 0.2831629514694214, -0.24949215352535248, -0.021916644647717476, 0.2724016010761261, -0.3040441572666168, 0.022135920822620392, 0.29583072662353516, 0.19709420204162598, 0.11894746124744415, -0.18151991069316864, -0.21597453951835632, 0.106874018907547, 0.2945287525653839, -0.24737310409545898, 0.3954620957374573, -0.04072536528110504, -0.4223138093948364, 0.098467156291008, 0.17308907210826874, -0.17548374831676483, 0.19638501107692719, -0.022471290081739426, 0.32829639315605164, -0.21737760305404663, 0.41056159138679504, 0.03132181987166405, 0.4016726315021515, 0.1979387253522873, 0.13842566311359406, -0.2908176779747009, -0.039971716701984406, -0.022048436105251312, 0.06361440569162369, 0.06181950122117996, -0.25262483954429626, 0.14773297309875488, 0.008376208133995533, 0.30346399545669556, 0.44196856021881104, -0.26024937629699707, -0.4629960358142853, -0.06779490411281586, -0.5810985565185547, 0.5405476689338684, -0.0024315007030963898, 0.29861822724342346, -0.06994088739156723, 0.20850606262683868, -0.22083771228790283, -0.0030105747282505035, 0.17977194488048553, -0.26490893959999084, 0.1134960725903511, 0.2980465292930603, -0.8455383777618408, 0.3891397714614868, 0.11411137878894806, -0.48524725437164307, 0.2234853208065033, 0.0741446390748024, 0.13049431145191193, 0.18917964398860931, 0.07786973565816879, 0.21081456542015076, -0.1508721560239792, 0.19734354317188263, 0.18982873857021332, 0.05531712621450424, 0.22025012969970703, 0.23807626962661743, -0.04736381769180298, -0.11972454935312271, -0.3235030472278595, 0.04948344826698303, -0.1295860856771469, -0.3872661292552948, -0.2687984108924866, 0.28665319085121155, -0.3694203794002533, -0.15258923172950745, -0.07705867290496826, 0.377906858921051, 0.025848887860774994, 0.04083146154880524, -0.3484313488006592, -0.035680923610925674, 0.05132743716239929, 0.13861216604709625, 0.300123393535614, 0.6087830066680908, 0.2061997652053833, 0.3604692816734314, -0.37069058418273926, -0.10867970436811447, 0.4834505319595337, -0.2802981436252594, -0.1685536801815033, -0.255573570728302, 0.3334375321865082, 0.19745497405529022, -0.1826385110616684, -0.5728698372840881, -0.1868070363998413, 0.10242609679698944, -0.05451038479804993, -0.3547719120979309, 0.3407113552093506, -0.40506511926651, -0.07925563305616379, 0.1052016168832779, -0.3217966854572296, 0.04733731225132942, -0.10743477940559387, 0.22075611352920532, 0.23097862303256989 ]
https://github.com/huggingface/datasets/pull/1962
Fix unused arguments
@lhoestq Re-added the arg. The ConnectionError in CI seems unrelated to this PR (the same test fails on master as well).
Noticed some args in the codebase are not used, so managed to find all such occurrences with Pylance and fix them.
21
text: Fix unused arguments Noticed some args in the codebase are not used, so managed to find all such occurrences with Pylance and fix them. @lhoestq Re-added the arg. The ConnectionError in CI seems unrelated to this PR (the same test fails on master as well).
[ -0.31662166118621826, 0.19677689671516418, -0.032967451959848404, -0.04047084599733353, 0.13704274594783783, -0.2787371873855591, 0.3626868724822998, 0.09519341588020325, -0.13802406191825867, 0.34415286779403687, 0.11195817589759827, 0.1846827268600464, 0.0034720851108431816, 0.09170068055391312, -0.18903867900371552, 0.10510097444057465, -0.35722702741622925, 0.11933482438325882, -0.17497244477272034, 0.1341589391231537, -0.03547109663486481, 0.3832016587257385, -0.23592905700206757, -0.030292443931102753, 0.0888521745800972, 0.14989525079727173, 0.07016927003860474, 0.13287177681922913, 0.1597372144460678, -0.5102916955947876, 0.0922219529747963, 0.3115141689777374, -0.27467748522758484, 0.02957811951637268, -0.00009771526674740016, 0.26862573623657227, 0.37358230352401733, -0.11182499676942825, -0.3073272407054901, -0.08649368584156036, 0.12796470522880554, 0.16663897037506104, 0.14847800135612488, -0.055577367544174194, -0.4351416826248169, 0.32384008169174194, 0.11841332912445068, -0.04495054855942726, 0.22398169338703156, 0.6116024255752563, 0.35272878408432007, 0.26133859157562256, 0.08016727864742279, -0.2323082536458969, 0.16430775821208954, -0.178851917386055, 0.0973653569817543, 0.08357174694538116, 0.22467485070228577, 0.07289473712444305, -0.15985983610153198, -0.10617281496524811, 0.2605772018432617, -0.16962817311286926, 0.07095950841903687, -0.1643247902393341, 0.1667994111776352, 0.10675876587629318, 0.2747710347175598, -0.10843782871961594, 0.13134117424488068, 0.037007130682468414, 0.18685512244701385, 0.34534114599227905, -0.04592260718345642, -0.13160665333271027, 0.335460364818573, -0.1407822221517563, -0.20244449377059937, 0.06519007682800293, -0.2759454548358917, -0.17075243592262268, -0.398771733045578, 0.08184453845024109, -0.01194363459944725, -0.11009304225444794, -0.011871698312461376, 0.10667023807764053, 0.1349136382341385, -0.0750257819890976, -0.20197588205337524, 0.0421249195933342, -0.22817814350128174, -0.05408443138003349, -0.02587868645787239, -0.013551898300647736, 0.3672945499420166, 0.15752911567687988, -0.068672314286232, 0.04116636887192726, 0.006600480526685715, 0.22009265422821045, 0.31800776720046997, 0.20182090997695923, 0.06598645448684692, 0.04572949931025505, 0.31627482175827026, 0.10258696973323822, 0.313709557056427, 0.3171941041946411, -0.1378745138645172, -0.09223184734582901, 0.12719528377056122, -0.3902689516544342, -0.17313513159751892, 0.09611814469099045, 0.16939224302768707, -0.22404851019382477, 0.012091265991330147, 0.09006043523550034, -0.018719639629125595, 0.10491921752691269, 0.09680851548910141, 0.47742655873298645, -0.05061905458569527, -0.11639053374528885, 0.4111654758453369, 0.030130082741379738, -0.1572539359331131, -0.15895013511180878, -0.271234393119812, 0.09576556086540222, -0.13704907894134521, -0.3374335467815399, 0.09248875081539154, 0.17184744775295258, 0.18955682218074799, 0.07030665874481201, 0.27720391750335693, 0.011798609048128128, 0.12366870045661926, 0.24442316591739655, 0.1193656176328659, 0.16041764616966248, 0.2138323187828064, -0.3657338619232178, 0.21775715053081512, -0.3493953347206116, 0.006720997393131256, 0.04032241553068161, -0.08426561206579208, -0.397763729095459, -0.08074603974819183, 0.3556383550167084, -0.14481884241104126, 0.08909699320793152, 0.2457059919834137, -0.11121213436126709, -0.011938206851482391, -0.16266807913780212, -0.10036250203847885, -0.344749391078949, 0.016681361943483353, -0.12144210934638977, 0.1386754810810089, 0.2518712282180786, -0.011285081505775452, -0.16058802604675293, 0.13568854331970215, -0.18443208932876587, 0.15810644626617432, 0.0015587974339723587, -0.3173629939556122, 0.03253497928380966, -0.30446189641952515, -0.2103092521429062, 0.46661463379859924, -0.5165778994560242, -0.03860087692737579, 0.2941196858882904, -0.1584678441286087, -0.20927223563194275, -0.16370368003845215, -0.19171205163002014, 0.3531641960144043, 0.05771864578127861, 0.24835574626922607, -0.010839175432920456, -0.19993956387043, 0.029599452391266823, -0.3785359859466553, -0.08309492468833923, -0.3349394202232361, -0.0914306491613388, 0.19986112415790558, 0.18767397105693817, 0.14755895733833313, -0.17718562483787537, 0.2996706962585449, -0.08838407695293427, 0.08150696754455566, 0.15194740891456604, 0.4072394371032715, -0.03986157476902008, -0.07501927018165588, 0.5637381076812744, 0.13606956601142883, 0.2206445038318634, 0.03569471836090088, 0.43111652135849, 0.16296270489692688, 0.11371570825576782, -0.04680350422859192, 0.056633882224559784, -0.0405285470187664, -0.16897010803222656, 0.3248354196548462, 0.21480298042297363, -0.05880218744277954, -0.022432589903473854, 0.15682007372379303, -0.176368847489357, -0.2036510556936264, -0.06459178030490875, -0.10557404160499573, -0.11503788083791733, -0.5039125680923462, -0.1419409066438675, 0.08900611102581024, -0.1319543421268463, 0.09085871279239655, -0.1920124590396881, -0.14831498265266418, 0.3172801434993744, 0.04229101538658142, -0.059221431612968445, 0.0530514270067215, 0.11788858473300934, -0.056689292192459106, -0.28013381361961365, -0.036964625120162964, 0.1563742756843567, -0.054352495819330215, -0.0733877643942833, -0.1834293007850647, 0.3933625817298889, 0.03146666660904884, 0.12241212278604507, 0.1823125034570694, 0.20002728700637817, 0.2438715398311615, -0.10025690495967865, -0.20827031135559082, 0.00802796334028244, 0.2514689564704895, 0.03084183856844902, -0.06618592143058777, -0.13128255307674408, -0.13710981607437134, 0.013284996151924133, -0.09534516930580139, 0.12754851579666138, -0.12448995560407639, 0.06366783380508423, 0.33337831497192383, -0.11301752179861069, 0.049378953874111176, -0.0483119934797287, 0.31165164709091187, 0.1582922488451004, -0.011404898017644882, 0.22082306444644928, -0.004219012334942818, -0.22020190954208374, 0.4188075661659241, -0.15613776445388794, -0.2972638010978699, 0.08298572152853012, 0.13478022813796997, -0.13760073482990265, -0.19294029474258423, -0.07760278880596161, -0.12088040262460709, 0.17672690749168396, -0.38248735666275024, 0.05056241899728775, -0.22747479379177094, 0.12105125933885574, 0.1761918067932129, 0.2248714417219162, -0.03109404817223549, -0.3355405926704407, 0.212551549077034, 0.24352461099624634, -0.3622136116027832, 0.32042887806892395, -0.2059808373451233, 0.34878844022750854, 0.1508329063653946, -0.18208304047584534, 0.10207043588161469, -0.24303583800792694, -0.3838200569152832, 0.23562902212142944, 0.03790987282991409, -0.23221109807491302, 0.21692955493927002, -0.16081202030181885, -0.19384154677391052, -0.08134649693965912, -0.4863395690917969, 0.015760652720928192, 0.019869619980454445, 0.41819268465042114, 0.5508766174316406, 0.05234823003411293, 0.16323430836200714, -0.10681777447462082, 0.39137449860572815, -0.33853235840797424, -0.11010827869176865, 0.035310570150613785, 0.00527513213455677, -0.2608424127101898, -0.45410245656967163, -0.3469046950340271, 0.10502525418996811, -0.3287118077278137, 0.015063542872667313, 0.09521722793579102, 0.17271223664283752, 0.23447774350643158, 0.09720923006534576, -0.0586286261677742, -0.18247458338737488, 0.028009820729494095, -0.23578307032585144, -0.3221254348754883, 0.013666808605194092, -0.22659888863563538, -0.4009036719799042, 0.25279831886291504, 0.0015973635017871857, 0.43249356746673584, -0.22732017934322357, -0.532105565071106, -0.43114855885505676, 0.30219388008117676, 0.4251307547092438, 0.06924725323915482, -0.1789359152317047, 0.15146362781524658, 0.10918675363063812, -0.18895255029201508, -0.11473431438207626, -0.27779436111450195, 0.3432082235813141, 0.12536948919296265, 0.34830722212791443, -0.07209955155849457, 0.4356245696544647, -0.18904884159564972, 0.4368547797203064, -0.19444335997104645, 0.11151103675365448, 0.02631225809454918, -0.2951229512691498, 0.3950132429599762, 0.020173795521259308, -0.13732674717903137, 0.37883248925209045, 0.21253134310245514, -0.3193247318267822, 0.4865264892578125, -0.18660736083984375, -0.26021361351013184, -0.24210716784000397, -0.009002568200230598, 0.1248447373509407, -0.5097324252128601, 0.2785394489765167, -0.4410484731197357, 0.08449462056159973, -0.0030067078769207, 0.06823062151670456, -0.22580307722091675, 0.02815917506814003, -0.08178021013736725, 0.08726897835731506, -0.04102190583944321, -0.09389039874076843, -0.24089720845222473, 0.0118128452450037, -0.30825430154800415, 0.18433766067028046, -0.27566322684288025, 0.3757420480251312, -0.3745136857032776, -0.2529814541339874, -0.01739697903394699, -0.1703433394432068, 0.338445246219635, -0.22093109786510468, -0.13100552558898926, 0.4199841618537903, -0.0068695880472660065, 0.04420729726552963, -0.21294794976711273, -0.1353883147239685, 0.10971632599830627, 0.2493470460176468, 0.0582059845328331, -0.054563190788030624, -0.01852223463356495, 0.19653873145580292, -0.34810397028923035, -0.15216845273971558, 0.15544219315052032, -0.30638328194618225, -0.4621221721172333, -0.27097684144973755, 0.23521390557289124, -0.1031552255153656, -0.01848560757935047, -0.02971505932509899, 0.24114124476909637, 0.2843111753463745, -0.0918668806552887, -0.09451267123222351, 0.13376793265342712, -0.08128060400485992, -0.27981114387512207, 0.2156413197517395, -0.16887886822223663, -0.11831864714622498, 0.09609955549240112, 0.15039125084877014, 0.028558671474456787, 0.04141136258840561, 0.14400868117809296, -0.1678466945886612, 0.38658472895622253, 0.2337351143360138, -0.048041291534900665, 0.19268107414245605, -0.15368327498435974, 0.28459709882736206, 0.1504506915807724, 0.13652490079402924, 0.03821011260151863, -0.14997081458568573, 0.04306133836507797, 0.14650896191596985, -0.3960682451725006, -0.4346018135547638, -0.12214845418930054, -0.17876818776130676, -0.10421004891395569, -0.21881097555160522, 0.3838404417037964, 0.11462093144655228, 0.7938677072525024, 0.23724091053009033, 0.040960464626550674, 0.08280809223651886, -0.28174710273742676, 0.11857910454273224, 0.0919470489025116, 0.2515908181667328, -0.35475170612335205, 0.014701216481626034, 0.09138651192188263, -0.043141722679138184, 0.03207707032561302, -0.12300187349319458, -0.5235511064529419, 0.18463607132434845, -0.023700561374425888, 0.40735021233558655, 0.1500510573387146, -0.1343720257282257, 0.09050045162439346, 0.2208903431892395, 0.013115212321281433, 0.34647443890571594, 0.03950345516204834, 0.13445943593978882, -0.16612648963928223, -0.21497339010238647, 0.13993850350379944, -0.4954376816749573, -0.06865441799163818, 0.17561420798301697, -0.38184884190559387, -0.08023421466350555, 0.21449321508407593, 0.11431193351745605, -0.025414757430553436, 0.09825046360492706, -0.04471477121114731, 0.2850513458251953, -0.03732765465974808, 0.3470463156700134, -0.017496488988399506, 0.07540719956159592, 0.18880578875541687, 0.15676888823509216, -0.2164178192615509, -0.2044132947921753, -0.2842654287815094, 0.3732898533344269, -0.12505796551704407, -0.4268808960914612, 0.0541558712720871, 0.12283100187778473, -0.09519210457801819, -0.09407988935709, 0.06048232689499855, -0.1631236970424652, -0.2162063717842102, -0.14657998085021973, 0.25907400250434875, -0.046673841774463654, -0.19202616810798645, 0.24446970224380493, 0.05083441734313965, -0.0951339602470398, 0.02149861678481102, 0.08517139405012131, -0.12928643822669983, 0.07917865365743637, 0.3020091950893402, 0.039677221328020096, 0.00966041162610054, -0.35731130838394165, -0.20078250765800476, -0.13589683175086975, -0.08846722543239594, 0.16709624230861664, 0.04242723062634468, -0.2360418736934662, 0.20189888775348663, 0.35339173674583435, 0.09743443131446838, 0.3390481472015381, -0.00028756633400917053, -0.039190974086523056, -0.3892090916633606, -0.13878875970840454, -0.04723873361945152, 0.23357991874217987, -0.083697110414505, 0.26160064339637756, -0.02990002930164337, 0.10343322902917862, -0.49847376346588135, -0.09828462451696396, -0.6270471215248108, 0.18754395842552185, 0.017362795770168304, -0.41624021530151367, 0.20738397538661957, -0.18886208534240723, 0.24833565950393677, -0.24384532868862152, -0.24173790216445923, -0.2919110953807831, 0.09972882270812988, 0.04927524924278259, -0.07678265124559402, 0.04767393320798874, -0.02923038974404335, 0.050934337079524994, -0.06759315729141235, 0.1553347259759903, 0.05633706972002983, -0.12533631920814514, -0.24899424612522125, -0.049423106014728546, -0.1760849803686142, 0.03185354545712471, -0.004781398922204971, 0.036733437329530716, 0.3106006979942322, 0.4379952549934387, -0.1259080171585083, 0.10096414387226105, -0.31027382612228394, -0.31114721298217773, 0.4671635031700134, 0.31382420659065247, -0.1822413057088852, 0.30257394909858704, 0.31027355790138245, 0.12606969475746155, -0.3883194327354431, -0.08316311240196228, 0.11959084868431091, 0.1416507065296173, -0.21401914954185486, 0.1071968823671341, -0.12920090556144714, 0.37032702565193176, -0.10127678513526917, 0.11646994948387146, 0.034224122762680054, 0.048223596066236496, 0.21156716346740723, 0.10726484656333923, 0.017215508967638016, -0.4289180040359497, 0.4169929027557373, 0.2696768343448639, 0.32060670852661133, -0.31626731157302856, -0.12008024752140045, 0.08048796653747559, -0.34345725178718567, 0.05176990479230881, 0.21558170020580292, -0.13548153638839722, 0.18225160241127014, -0.008163578808307648, -0.2381114363670349, 0.2205696552991867, 0.17629438638687134, 0.04004611074924469, 0.10659153759479523, -0.10866677761077881, 0.13495594263076782, 0.03990750014781952, 0.08311561495065689, -0.061232827603816986, 0.033227402716875076, 0.08994276076555252, -0.09546875953674316, -0.21487925946712494, -0.2649199068546295, 0.19888150691986084, -0.35323432087898254, -0.23654726147651672, -0.32105207443237305, -0.1034025326371193, -0.46277767419815063, 0.034053195267915726, 0.2652895450592041, 0.3104402422904968, 0.12326555699110031, 0.08040633052587509, -0.01745179295539856, -0.17407794296741486, -0.2274358868598938, -0.13396751880645752, -0.10400991886854172, -0.1946963220834732, 0.4010935425758362, 0.14045780897140503, 0.014999382197856903, 0.31353873014450073, 0.16448964178562164, 0.682724118232727, 0.11945725977420807, 0.224943608045578, 0.16179680824279785, -0.009024402126669884, 0.09412848204374313, -0.22198189795017242, 0.13848547637462616, 0.2454427182674408, 0.12704287469387054, 0.17440077662467957, 0.2675850987434387, -0.2449844777584076, 0.5648121237754822, -0.31519126892089844, -0.26712727546691895, 0.06711947917938232, 0.1666601002216339, 0.30186671018600464, -0.18481877446174622, -0.3763572871685028, 0.005235061049461365, -0.2186330258846283, 0.06536979973316193, 0.07880442589521408, 0.07020293176174164, 0.24306222796440125, -0.19521452486515045, 0.18194615840911865, 0.10317935049533844, 0.5164679288864136, 0.09132696688175201, 0.08332566171884537, -0.28566330671310425, -0.2465617060661316, -0.28185415267944336, 0.30338501930236816, -0.13394756615161896, 0.137992724776268, -0.18259254097938538, 0.2885504364967346, 0.2982640266418457, -0.16628563404083252, 0.017806552350521088, -0.21557822823524475, -0.07046385854482651, -0.23044171929359436, -0.24933768808841705, 0.11376377940177917, 0.2136179804801941, -0.20371447503566742, 0.06608045846223831, -0.06376615911722183, 0.1909993588924408, -0.050824932754039764, 0.3111536204814911, 0.07570471614599228, -0.25475814938545227, 0.3555423319339752, -0.13900648057460785, 0.0402560755610466, 0.2159958779811859, 0.3996880054473877, -0.1396999955177307, 0.12118979543447495, -0.15616779029369354, -0.20403572916984558, -0.11172705143690109, -0.2602062523365021, 0.09019835293292999, -0.03517651557922363, 0.2548753321170807, 0.07503348588943481, -0.27059078216552734, 0.1356271356344223, 0.13130012154579163, 0.20774713158607483, 0.0049120038747787476, 0.17777545750141144, -0.13261228799819946, 0.2621556222438812, -0.1625702977180481, 0.011462848633527756, -0.0038532912731170654, -0.02571244165301323, -0.3602581024169922, -0.32304736971855164, 0.5074187517166138, -0.08053360879421234, -0.16192124783992767, -0.34190306067466736, 0.23139333724975586, -0.34130561351776123, 0.039547499269247055, -0.11982016265392303, -0.006500072777271271, 0.14527945220470428, -0.14716878533363342, -0.36519891023635864, 0.2881925106048584, 0.058162108063697815, 0.17523378133773804, 0.05006100609898567, 0.23897042870521545, 0.021447572857141495, -0.0024966225028038025, -0.2628251910209656, -0.020047785714268684 ]
https://github.com/huggingface/datasets/pull/1960
Allow stateful function in dataset.map
@lhoestq Added a test. If you can come up with a better stateful callable, I'm all ears 😄.
Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this.
18
text: Allow stateful function in dataset.map Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this. @lhoestq Added a test. If you can come up with a better stateful callable, I'm all ears 😄.
[ -0.28369712829589844, -0.05058637261390686, -0.21327504515647888, -0.1377713829278946, 0.1188320517539978, -0.33674508333206177, 0.15541300177574158, 0.46454721689224243, 0.12145279347896576, 0.02629285305738449, -0.1467585563659668, 0.6419336199760437, 0.0299055278301239, 0.3132009506225586, 0.005590993911027908, 0.09095913916826248, -0.08471093326807022, 0.43893560767173767, -0.2080117166042328, -0.29832887649536133, -0.49265965819358826, -0.16278953850269318, -0.4005982279777527, 0.1307152807712555, 0.013422375544905663, -0.17091359198093414, 0.16513212025165558, 0.08184067904949188, -0.2554113268852234, -0.37751901149749756, 0.1326810121536255, 0.07937213778495789, -0.23785433173179626, 0.22383636236190796, -0.0000981096236500889, -0.08519254624843597, 0.3861597776412964, -0.15855750441551208, 0.2135748714208603, -0.2832508087158203, -0.5102712512016296, -0.037135444581508636, 0.0513402596116066, -0.16353365778923035, 0.05725332349538803, -0.4123825132846832, -0.04756052792072296, -0.42337748408317566, 0.41257399320602417, 0.3477482795715332, 0.31827884912490845, 0.1955811232328415, 0.019869070500135422, 0.040848344564437866, 0.18321117758750916, 0.22733592987060547, 0.14890289306640625, 0.02362956292927265, 0.2726103663444519, -0.26332831382751465, -0.10305941849946976, 0.117998868227005, -0.07512925565242767, -0.054622288793325424, 0.2648635506629944, -0.23604902625083923, 0.1324019730091095, -0.24958685040473938, 0.044192876666784286, 0.1862943172454834, 0.5254396200180054, -0.13339662551879883, 0.008030763827264309, -0.035057391971349716, -0.18680089712142944, 0.22496448457241058, 0.2593068778514862, -0.2181137353181839, -0.40313032269477844, 0.09112808108329773, -0.19695593416690826, -0.015079183503985405, -0.2204112410545349, 0.049411941319704056, -0.14178867638111115, 0.3045318126678467, 0.011499021202325821, 0.1659550964832306, 0.05047108232975006, 0.1417698860168457, 0.08318448066711426, -0.11656513810157776, 0.23051822185516357, 0.22320806980133057, -0.004325989633798599, -0.21921564638614655, 0.27768000960350037, 0.03229156509041786, 0.23906639218330383, -0.15277767181396484, 0.02195378579199314, 0.18044668436050415, -0.527110755443573, 0.19959750771522522, 0.3379829525947571, 0.11702819168567657, 0.229914128780365, 0.21284157037734985, 0.24649497866630554, -0.2864094376564026, 0.03841237351298332, 0.022196952253580093, 0.21010051667690277, -0.3285396993160248, 0.14612914621829987, 0.1019357442855835, 0.24445737898349762, -0.4278976321220398, -0.1694478839635849, 0.05703110247850418, -0.3263587951660156, -0.09488248825073242, 0.04557177051901817, 0.26466748118400574, 0.05670821666717529, 0.18754789233207703, -0.015775229781866074, -0.057598188519477844, 0.08799219131469727, -0.1386960744857788, -0.16405560076236725, -0.07944437861442566, -0.295164555311203, -0.1579437404870987, -0.019350459799170494, 0.09022951126098633, 0.057061947882175446, 0.15703046321868896, -0.21497322618961334, 0.20093891024589539, 0.17992402613162994, -0.20016907155513763, 0.6997664570808411, 0.029294678941369057, -0.3169240355491638, -0.048303671181201935, 0.3343886137008667, -0.3652023673057556, -0.1431688666343689, 0.21396809816360474, -0.07794060558080673, -0.31991130113601685, -0.026745019480586052, 0.28510794043540955, 0.04444053769111633, 0.2082081437110901, 0.08333110064268112, 0.27871423959732056, 0.04730182886123657, -0.2975415587425232, 0.3586269021034241, -0.23415999114513397, 0.05845198407769203, -0.3000514507293701, -0.05839040130376816, 0.2910595238208771, -0.3989200294017792, 0.022259727120399475, -0.16603848338127136, -0.38475489616394043, 0.28512972593307495, 0.09496787190437317, -0.3524169921875, 0.292024165391922, -0.19910156726837158, 0.23782239854335785, 0.3627908527851105, -0.2049616277217865, -0.13657858967781067, 0.5277062654495239, -0.3221284747123718, -0.0585053414106369, -0.2506568431854248, -0.18312576413154602, 0.18036504089832306, -0.04030352458357811, 0.45282474160194397, 0.10673502832651138, -0.12283021211624146, 0.008433019742369652, -0.3137965798377991, -0.062189750373363495, 0.2563237249851227, -0.22414197027683258, 0.14041021466255188, 0.3504277169704437, 0.15155479311943054, -0.2540949285030365, 0.41944634914398193, -0.042143527418375015, 0.16553129255771637, -0.1739688664674759, 0.6802100539207458, -0.21044115722179413, -0.23053641617298126, -0.19055038690567017, -0.27322861552238464, -0.04486615210771561, -0.3092257082462311, 0.17003092169761658, 0.05538955330848694, -0.1059514731168747, -0.13596297800540924, 0.11654173582792282, -0.21073894202709198, 0.004008214920759201, 0.3825729191303253, -0.03444886952638626, -0.13666199147701263, 0.19529573619365692, -0.05533402040600777, -0.11316267400979996, 0.09655049443244934, -0.10457934439182281, 0.11969906091690063, -0.0077311331406235695, 0.1056269183754921, 0.13053861260414124, 0.0058906190097332, -0.0023415684700012207, 0.20166632533073425, -0.056357014924287796, -0.4099767208099365, 0.3423542380332947, 0.028958981856703758, -0.09952418506145477, -0.1740170419216156, 0.14605456590652466, -0.16245901584625244, -0.05096099153161049, 0.0009958650916814804, 0.003762001171708107, 0.24644574522972107, -0.37494978308677673, -0.017384879291057587, 0.3680780529975891, -0.00761660560965538, 0.10530929267406464, -0.156075581908226, 0.11997240036725998, 0.1701197326183319, -0.02725912071764469, -0.24988864362239838, -0.26892951130867004, -0.13342392444610596, -0.053979258984327316, 0.1250125914812088, 0.02316240593791008, -0.177092045545578, -0.08816783875226974, 0.20681516826152802, -0.11449630558490753, 0.153403177857399, -0.1124139353632927, -0.06445173174142838, -0.15889722108840942, 0.38612809777259827, 0.43068450689315796, 0.465278685092926, 0.14885443449020386, 0.026190392673015594, 0.0478663370013237, 0.044984493404626846, -0.0986013412475586, 0.24533143639564514, 0.00789138674736023, 0.2605510950088501, 0.22262653708457947, 0.16747215390205383, -0.1494596302509308, -0.19057640433311462, -0.057357825338840485, 0.09921224415302277, 0.11731541156768799, -0.10292312502861023, -0.0634869933128357, -0.28121399879455566, -0.01648350991308689, -0.0462050661444664, 0.09126382321119308, -0.01846831664443016, -0.30479371547698975, 0.007218973711133003, 0.05700979381799698, -0.2607654333114624, 0.19035744667053223, -0.026699377223849297, 0.3707771897315979, 0.11651960015296936, -0.159514918923378, -0.07466213405132294, -0.1587788313627243, -0.11457424610853195, 0.2538122832775116, 0.16291967034339905, 0.010110506787896156, 0.34571218490600586, 0.102138452231884, -0.03948085382580757, -0.11352559179067612, -0.2044878900051117, 0.2265181988477707, -0.3107944130897522, 0.011668099090456963, 0.503338634967804, 0.12471127510070801, -0.04670722037553787, 0.1551990956068039, 0.10741467028856277, -0.3489774465560913, -0.06702356785535812, -0.219344362616539, -0.2574608325958252, 0.08061438798904419, -0.28783032298088074, -0.19587358832359314, -0.08347021788358688, -0.35962367057800293, 0.5358239412307739, -0.0743124857544899, 0.05611869692802429, 0.0572371780872345, 0.1035245731472969, 0.381799578666687, -0.215639129281044, -0.17647777497768402, -0.3890605568885803, -0.06037967652082443, 0.20159561932086945, -0.22519992291927338, -0.2617417871952057, -0.11159299314022064, 0.01957108825445175, 0.4415169358253479, 0.046859271824359894, -0.1827208548784256, -0.286375492811203, 0.10056763142347336, 0.34911873936653137, -0.2458801567554474, -0.16413328051567078, 0.2867230772972107, 0.12242122739553452, -0.26075121760368347, -0.2278062105178833, -0.0849001333117485, 0.06535260379314423, 0.30117878317832947, -0.09319557994604111, 0.216007798910141, 0.12414353340864182, 0.1990189403295517, 0.20190945267677307, 0.11098155379295349, -0.04665793105959892, 0.10894041508436203, 0.08969522267580032, 0.06458867341279984, -0.0687611922621727, -0.08000704646110535, -0.04046263545751572, -0.08161872625350952, -0.21170993149280548, -0.0384608656167984, -0.2914782762527466, -0.42806968092918396, -0.06732480973005295, -0.19617719948291779, -0.1501954346895218, -0.13845114409923553, 0.3201701045036316, 0.06700429320335388, 0.16204605996608734, 0.1533578634262085, -0.03773147240281105, -0.3589458763599396, 0.17924830317497253, 0.1581462025642395, -0.23196958005428314, 0.33260244131088257, -0.2055821716785431, -0.26663491129875183, -0.017480483278632164, -0.20000430941581726, 0.280620813369751, 0.2044161856174469, 0.13237467408180237, -0.11561012268066406, -0.26249319314956665, -0.047823816537857056, 0.18135228753089905, 0.4685678482055664, -0.307339608669281, 0.09751960635185242, 0.2446863353252411, 0.029615923762321472, -0.047282926738262177, 0.1781274825334549, -0.24674828350543976, 0.4785271883010864, -0.020353656262159348, 0.21267513930797577, -0.2051638662815094, -0.06583362817764282, -0.03283948451280594, -0.11507675796747208, -0.03272693604230881, -0.27846407890319824, 0.15014131367206573, 0.2045464813709259, -0.3285022974014282, 0.2588506042957306, 0.1366712599992752, -0.3573659360408783, -0.26434755325317383, -0.09210951626300812, 0.19453808665275574, 0.4063189625740051, -0.04102775454521179, 0.12920618057250977, 0.17280903458595276, -0.19739705324172974, -0.26878097653388977, 0.1634889841079712, 0.07982946187257767, 0.05454318970441818, 0.39543625712394714, -0.1362690031528473, 0.025914788246154785, 0.09316212683916092, -0.10100431740283966, 0.3475074768066406, 0.28955554962158203, -0.017439451068639755, -0.019650660455226898, 0.29581594467163086, 0.05264090374112129, -0.09372188150882721, 0.22189363837242126, 0.14319603145122528, -0.09067419171333313, -0.13801299035549164, -0.48970553278923035, 0.3262486457824707, -0.10662993788719177, -0.4414551258087158, 0.29147592186927795, 0.26319438219070435, -0.24323521554470062, 0.40001147985458374, 0.38284221291542053, 0.9016531109809875, -0.01605113595724106, -0.11705701053142548, 0.27846261858940125, 0.01567281037569046, 0.05122000724077225, -0.16504403948783875, -0.18239720165729523, -0.14277899265289307, 0.19123005867004395, -0.10414256900548935, -0.149640291929245, 0.011787798255681992, 0.09966245293617249, -0.41959860920906067, -0.05351090803742409, 0.25571155548095703, 0.4820959270000458, 0.05125247687101364, -0.04721760004758835, 0.33355891704559326, -0.14347386360168457, -0.05360257625579834, 0.2903955578804016, 0.06567525863647461, 0.00015069544315338135, -0.12335192412137985, -0.33298182487487793, 0.07881595194339752, -0.1875920593738556, 0.11295151710510254, -0.20062264800071716, -0.5977721810340881, 0.202165424823761, 0.018651913851499557, 0.17582301795482635, 0.35799363255500793, 0.2957814931869507, -0.09791883826255798, 0.12416552007198334, -0.2984043061733246, -0.243422731757164, 0.51044100522995, 0.4612504839897156, -0.01145549863576889, -0.10237456113100052, 0.41233816742897034, 0.004542417824268341, -0.15637828409671783, 0.10362668335437775, -0.1858513057231903, -0.029801176860928535, -0.2945331633090973, 0.2061384916305542, 0.20664940774440765, -0.40521320700645447, -0.12091284990310669, -0.03946162760257721, -0.03909093141555786, -0.12751775979995728, 0.2552770674228668, 0.07689564675092697, 0.12272130697965622, 0.10017340630292892, 0.25662750005722046, -0.10533282160758972, 0.031137054786086082, 0.27048611640930176, 0.05127909034490585, 0.2690804600715637, 0.16915062069892883, -0.1989431083202362, -0.22799448668956757, -0.4486716687679291, 0.01624774932861328, 0.29338932037353516, -0.3081384003162384, 0.18085141479969025, -0.254721075296402, -0.10251283645629883, -0.1721317023038864, 0.3709023892879486, 0.065012127161026, 0.25707167387008667, -0.20606878399848938, 0.10959683358669281, -0.4364038109779358, 0.1489037275314331, -0.11666791141033173, 0.16820546984672546, -0.12739397585391998, 0.5233810544013977, 0.0439920648932457, 0.1583361029624939, -0.49329742789268494, -0.07679537683725357, -0.018821964040398598, 0.11431961506605148, -0.12085555493831635, 0.1384163796901703, -0.09151533991098404, -0.14480184018611908, 0.1684156209230423, 0.45961540937423706, -0.2797553837299347, -0.3777073621749878, 0.0961250364780426, 0.13341017067432404, 0.24800655245780945, -0.14850015938282013, 0.0002628304064273834, -0.1344020962715149, -0.10465359687805176, 0.00531734898686409, 0.048009660094976425, -0.028498252853751183, -0.11932285130023956, 0.28485819697380066, 0.16462524235248566, -0.15209132432937622, 0.04859110713005066, -0.04604104161262512, -0.026354767382144928, -0.2093176394701004, -0.20229703187942505, 0.042422711849212646, -0.16734600067138672, -0.13877011835575104, 0.04668870568275452, 0.3134836256504059, 0.3934630751609802, 0.45330584049224854, 0.11299972236156464, -0.019857876002788544, -0.19336076080799103, 0.037317898124456406, 0.20953679084777832, -0.09410503506660461, -0.3566056787967682, 0.02016388438642025, 0.16374710202217102, 0.37325745820999146, -0.17628641426563263, 0.02854563668370247, 0.11426383256912231, -0.1375928521156311, 0.3358841836452484, 0.15468430519104004, 0.21267065405845642, -0.1526484489440918, -0.05002054572105408, 0.015490848571062088, 0.017595330253243446, -0.33003735542297363, 0.13892097771167755, 0.26836028695106506, -0.2943277060985565, 0.046129658818244934, 0.33085697889328003, 0.29465144872665405, 0.08556148409843445, 0.33750730752944946, 0.17189593613147736, 0.1482023298740387, -0.03973546624183655, 0.08173210918903351, 0.27152714133262634, -0.3405090272426605, 0.3686097264289856, 0.4269193112850189, -0.3644496202468872, 0.36197978258132935, 0.3845673203468323, 0.08708694577217102, -0.27952873706817627, -0.18444779515266418, -0.23864680528640747, -0.107294961810112, -0.2943283021450043, 0.10222367942333221, -0.1111927330493927, -0.35267898440361023, -0.025229502469301224, -0.123847097158432, -0.13162784278392792, 0.10691665858030319, 0.4283009171485901, -0.13770252466201782, 0.0790705531835556, 0.07447485625743866, -0.19131043553352356, -0.0853353813290596, 0.19846749305725098, -0.24003124237060547, -0.2760237455368042, 0.14026111364364624, -0.026285439729690552, -0.03468111529946327, 0.21228621900081635, 0.14284884929656982, 0.3496992886066437, -0.15011443197727203, -0.102126844227314, -0.2685355246067047, -0.11519014835357666, -0.18457187712192535, 0.19002097845077515, -0.023948170244693756, -0.12194712460041046, 0.37062910199165344, 0.3579927682876587, -0.17756706476211548, 0.2848181426525116, -0.05642763152718544, 0.20978626608848572, -0.04299646243453026, 0.05901506170630455, 0.17664490640163422, -0.22288936376571655, -0.03546425700187683, -0.08683428913354874, -0.013258714228868484, -0.0776103287935257, 0.09431006014347076, -0.12372008711099625, 0.4316619634628296, -0.15932978689670563, 0.1745494306087494, 0.048762086778879166, 0.12821601331233978, -0.052843544632196426, 0.02621723711490631, -0.2937702238559723, -0.2154376059770584, -0.48119986057281494, 0.1959260106086731, 0.09259319305419922, 0.014448316767811775, 0.04775905981659889, -0.0351966917514801, 0.2473171055316925, 0.03758181631565094, -0.14440156519412994, -0.262813925743103, -0.1249639168381691, -0.0676751509308815, -0.16578885912895203, -0.05653443560004234, -0.06838877499103546, -0.026238905265927315, 0.17636525630950928, -0.24385607242584229, 0.32383403182029724, 0.018784165382385254, 0.27349385619163513, -0.409201979637146, 0.25075584650039673, -0.03916057571768761, 0.2076016664505005, 0.46553102135658264, 0.4022931456565857, 0.06181022524833679, -0.21120968461036682, -0.03320224583148956, 0.04253774136304855, 0.13227848708629608, -0.14453665912151337, 0.07719148695468903, -0.11110785603523254, 0.2664353549480438, -0.0014980500563979149, -0.058415453881025314, -0.20449313521385193, -0.30277130007743835, -0.0026617348194122314, 0.2947392761707306, -0.6577742099761963, 0.15860174596309662, -0.08484729379415512, -0.13347510993480682, -0.12848326563835144, 0.17530784010887146, 0.06726143509149551, 0.010554315522313118, -0.101557157933712, -0.29582804441452026, 0.6237870454788208, -0.13701985776424408, -0.39274993538856506, 0.11016971617937088, 0.21440252661705017, -0.06378176063299179, -0.05373933166265488, -0.45840248465538025, -0.26470956206321716, 0.36346176266670227, -0.009376756846904755, -0.09876306354999542, 0.13297730684280396, -0.2351621687412262, -0.00590461865067482, -0.3204186260700226, 0.11090368032455444, 0.046622488647699356, -0.0815935954451561, 0.18966446816921234, -0.22576279938220978 ]
https://github.com/huggingface/datasets/pull/1960
Allow stateful function in dataset.map
Sorry I said earlier that it was good to have it inside the loop, my mistake !
Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this.
17
text: Allow stateful function in dataset.map Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this. Sorry I said earlier that it was good to have it inside the loop, my mistake !
[ -0.22879751026630402, -0.09131690859794617, -0.23452742397785187, -0.08263285458087921, -0.05210722237825394, -0.3415369987487793, 0.1277262419462204, 0.4206187129020691, 0.2879113256931305, 0.09398743510246277, -0.1420806497335434, 0.6898200511932373, 0.0426316037774086, 0.307626336812973, -0.02430890128016472, 0.05338076129555702, -0.0477600172162056, 0.3390244245529175, -0.32852423191070557, -0.3179914355278015, -0.4219307005405426, -0.15110011398792267, -0.44641542434692383, 0.10226099193096161, 0.04409100487828255, -0.28940171003341675, 0.17544828355312347, 0.16916754841804504, -0.24414090812206268, -0.3467578589916229, 0.024445196613669395, 0.10293624550104141, -0.13979560136795044, 0.1957322359085083, -0.00010000773909268901, -0.06496790796518326, 0.3124908208847046, -0.13851769268512726, 0.2039651870727539, -0.28671491146087646, -0.449669748544693, -0.00788949802517891, -0.0029232539236545563, -0.16914978623390198, 0.007810827344655991, -0.302529901266098, -0.04276907444000244, -0.47014862298965454, 0.37393295764923096, 0.32869192957878113, 0.31087425351142883, 0.21061234176158905, -0.025818783789873123, 0.06593876332044601, 0.18330202996730804, 0.19091930985450745, 0.1977769285440445, 0.014578164555132389, 0.3650352358818054, -0.24090474843978882, -0.14715954661369324, 0.26040470600128174, -0.013110724277794361, -0.03405366465449333, 0.2127702534198761, -0.22197173535823822, 0.19529131054878235, -0.222951740026474, 0.01604846864938736, 0.15143460035324097, 0.47352901101112366, -0.09414232522249222, 0.02583524025976658, 0.10520107299089432, -0.1441403180360794, 0.21051335334777832, 0.16885143518447876, -0.23522554337978363, -0.43888920545578003, 0.1252145916223526, -0.2550986707210541, -0.05509859323501587, -0.24590077996253967, 0.051921457052230835, -0.15699569880962372, 0.3772536516189575, 0.05173204094171524, 0.14254352450370789, -0.06060456112027168, 0.21057145297527313, 0.118499256670475, -0.13298152387142181, 0.36143139004707336, 0.2440985143184662, -0.038434434682130814, -0.21510741114616394, 0.23629826307296753, 0.1917809545993805, 0.25506970286369324, -0.16484586894512177, 0.049929067492485046, 0.16539281606674194, -0.35580065846443176, 0.2110196352005005, 0.35466912388801575, -0.05227210372686386, 0.08720722049474716, 0.24734587967395782, 0.15499413013458252, -0.3229547441005707, -0.0611201748251915, 0.061123818159103394, 0.24835827946662903, -0.31676459312438965, 0.1512254923582077, 0.08476396650075912, 0.25696080923080444, -0.390908420085907, -0.1498589813709259, 0.1567092388868332, -0.4414465129375458, -0.16571249067783356, 0.007174203637987375, 0.3182334303855896, 0.12906643748283386, 0.104142926633358, -0.010126346722245216, -0.03974226117134094, 0.044289663434028625, -0.016702255234122276, -0.2168935388326645, -0.010169647634029388, -0.29334378242492676, -0.218329057097435, -0.06536394357681274, 0.11912673711776733, 0.050325535237789154, 0.1798977255821228, -0.10784094035625458, 0.13011294603347778, 0.18074248731136322, -0.1320832073688507, 0.7914660573005676, 0.009933579713106155, -0.2940358817577362, -0.03381042927503586, 0.24764861166477203, -0.2288370132446289, -0.16928218305110931, 0.2702450156211853, -0.11668819934129715, -0.2573190927505493, -0.12351328134536743, 0.27700862288475037, -0.042019207030534744, 0.15919539332389832, 0.16779592633247375, 0.27824801206588745, -0.03565538674592972, -0.24180305004119873, 0.29196393489837646, -0.2290271669626236, 0.09268145263195038, -0.31230008602142334, -0.02056388556957245, 0.23560301959514618, -0.40748104453086853, 0.06621354818344116, -0.1803286224603653, -0.4075922966003418, 0.17681369185447693, 0.1449097841978073, -0.33513233065605164, 0.42443326115608215, -0.24076463282108307, 0.24406789243221283, 0.457534521818161, -0.17861129343509674, -0.08937240391969681, 0.5037453174591064, -0.2850129008293152, 0.13472270965576172, -0.26493000984191895, -0.15314264595508575, 0.062462519854307175, -0.01672077365219593, 0.3229370713233948, 0.07825862616300583, -0.17416785657405853, -0.014325752854347229, -0.4227443337440491, -0.0012044887989759445, 0.407823383808136, -0.14635184407234192, 0.10989721119403839, 0.40407708287239075, 0.23932194709777832, -0.349881649017334, 0.4304639399051666, -0.05950265750288963, 0.11652481555938721, -0.11441266536712646, 0.6124570369720459, -0.13470587134361267, -0.23962345719337463, -0.27877408266067505, -0.3509514331817627, -0.13179969787597656, -0.27952104806900024, 0.09164327383041382, 0.062043700367212296, -0.10468737035989761, -0.24272558093070984, 0.027800949290394783, -0.13283143937587738, 0.0364452600479126, 0.3769075572490692, -0.03705909103155136, -0.08138711750507355, 0.10791674256324768, -0.053901057690382004, -0.11127128452062607, 0.16658523678779602, -0.19381484389305115, -0.009037721902132034, -0.026667116209864616, 0.0301006231456995, 0.14583547413349152, -0.029495587572455406, 0.04834838584065437, 0.10596412420272827, -0.09853465110063553, -0.3068757653236389, 0.3940126597881317, -0.06618493795394897, -0.09340642392635345, -0.10084714740514755, 0.15978392958641052, -0.20634214580059052, -0.11971552670001984, 0.027880944311618805, -0.061110515147447586, 0.18499621748924255, -0.24799209833145142, -0.005363091826438904, 0.377147912979126, 0.00797387957572937, 0.01854419708251953, -0.26677268743515015, 0.08417345583438873, 0.07757220417261124, -0.09797251969575882, -0.3462844789028168, -0.15821100771427155, -0.08183646202087402, -0.025767732411623, 0.06037546321749687, -0.011346651241183281, -0.21010060608386993, -0.11157821863889694, 0.09515190869569778, -0.16697975993156433, 0.12034894526004791, -0.09142491966485977, 0.05216114968061447, -0.028908761218190193, 0.22113890945911407, 0.3801322877407074, 0.46160948276519775, 0.18333812057971954, 0.10080209374427795, 0.005160057917237282, 0.060678012669086456, -0.11085788160562515, 0.2040066421031952, -0.014523953199386597, 0.25821930170059204, 0.2362530529499054, 0.11888981610536575, -0.0958581492304802, -0.19170957803726196, -0.13036082684993744, 0.028791269287467003, 0.18523381650447845, -0.18147987127304077, -0.015976760536432266, -0.24446482956409454, 0.01092725619673729, -0.043077465146780014, 0.1388637125492096, 0.025414686650037766, -0.30157914757728577, 0.07961177825927734, -0.021458309143781662, -0.31818291544914246, 0.2235770970582962, 0.04594831541180611, 0.38320794701576233, 0.1350817233324051, -0.1374916434288025, -0.1167081817984581, -0.16187551617622375, -0.07113879919052124, 0.2857159674167633, 0.13599558174610138, 0.03368721902370453, 0.34856218099594116, 0.1189580038189888, -0.07477270066738129, -0.07047201693058014, -0.19452983140945435, 0.1148134097456932, -0.3424167037010193, 0.09602311253547668, 0.49293437600135803, 0.18208354711532593, -0.1651664674282074, 0.07484706491231918, 0.07640086859464645, -0.4091762602329254, -0.08442693948745728, -0.28300127387046814, -0.13737814128398895, 0.14249663054943085, -0.31342631578445435, -0.29929834604263306, -0.1714315563440323, -0.3617226481437683, 0.3292006850242615, -0.10383729636669159, 0.10815539956092834, -0.039669785648584366, 0.12619313597679138, 0.32546094059944153, -0.23429954051971436, -0.17638160288333893, -0.4344172179698944, -0.20680980384349823, 0.29018858075141907, -0.2171194851398468, -0.22371022403240204, -0.1514551341533661, -0.026176299899816513, 0.3480490446090698, 0.1138368770480156, -0.2156575322151184, -0.31620362401008606, 0.12394185364246368, 0.36054179072380066, -0.3247756361961365, 0.04437562823295593, 0.21723711490631104, 0.08979592472314835, -0.2457946538925171, -0.22628268599510193, -0.03383442386984825, -0.0004014149308204651, 0.1751626431941986, -0.05746937543153763, 0.10709045827388763, 0.06348708271980286, 0.15802522003650665, 0.1766047477722168, 0.17118819057941437, -0.04213491454720497, 0.07845648378133774, 0.09008800238370895, 0.08027565479278564, 0.02320929244160652, 0.01082705520093441, -0.013355454429984093, 0.023812711238861084, -0.2891252636909485, -0.057274892926216125, -0.3240271210670471, -0.5016502141952515, -0.01953856647014618, -0.09863083064556122, -0.3861967921257019, -0.14355839788913727, 0.4308944344520569, -0.01587941125035286, 0.1814451515674591, 0.153503879904747, -0.08805426955223083, -0.3051548898220062, 0.195100337266922, 0.071616530418396, -0.15027529001235962, 0.39860478043556213, -0.19575804471969604, -0.38483306765556335, -0.08880230039358139, -0.18140673637390137, 0.2942405343055725, 0.23489458858966827, 0.0702408030629158, -0.1834186166524887, -0.31886059045791626, 0.018600285053253174, 0.170658677816391, 0.5339404940605164, -0.3901697099208832, -0.01516852155327797, 0.14713704586029053, -0.009366132318973541, 0.08913522958755493, 0.17308320105075836, -0.4029729962348938, 0.42984509468078613, 0.0019858479499816895, 0.30648213624954224, -0.11255863308906555, -0.14316534996032715, 0.07029429823160172, -0.13449284434318542, 0.03356544300913811, -0.31770336627960205, 0.1175559014081955, 0.07610827684402466, -0.35008227825164795, 0.32884666323661804, 0.2520035207271576, -0.2041449397802353, -0.2596862316131592, -0.14250172674655914, 0.22069181501865387, 0.4740777015686035, 0.02098602056503296, 0.1799406260251999, 0.22704929113388062, -0.10538391768932343, -0.34541842341423035, 0.199076846241951, 0.14154627919197083, 0.07715624570846558, 0.2639685273170471, -0.16107085347175598, 0.3235728442668915, 0.1495189070701599, -0.0843442752957344, 0.43928778171539307, 0.35538747906684875, -0.007636213209480047, -0.07436349242925644, 0.21207654476165771, 0.0834055095911026, -0.18326666951179504, 0.17242690920829773, 0.07627491652965546, -0.08267149329185486, -0.04890866577625275, -0.35103243589401245, 0.26193785667419434, -0.14739900827407837, -0.4641493558883667, 0.2817605137825012, 0.19744667410850525, -0.23649533092975616, 0.4250207543373108, 0.29654619097709656, 0.8878892660140991, -0.03969666361808777, -0.15047456324100494, 0.22342950105667114, -0.010265588760375977, 0.08039753139019012, -0.06794235110282898, -0.15479081869125366, -0.14135542511940002, 0.12565477192401886, -0.06984461843967438, -0.20550724864006042, 0.08006157726049423, 0.15431660413742065, -0.37011203169822693, -0.0916195884346962, 0.2625156044960022, 0.4713687598705292, -0.004654852673411369, -0.02944343164563179, 0.20297090709209442, 0.09004348516464233, -0.02920103445649147, 0.265674889087677, 0.08680514991283417, 0.04914925619959831, -0.2130160927772522, -0.3039308190345764, -0.029619328677654266, -0.23338237404823303, 0.15154704451560974, -0.24065342545509338, -0.5137718319892883, 0.1448911428451538, 0.16217032074928284, 0.07848069071769714, 0.3393925428390503, 0.4059477746486664, -0.07028292119503021, 0.1302938461303711, -0.22118046879768372, -0.20042531192302704, 0.5331147313117981, 0.5166466236114502, 0.047607678920030594, -0.050397809594869614, 0.3216222822666168, 0.0037567727267742157, -0.18918487429618835, 0.12752217054367065, -0.2019742727279663, -0.13023468852043152, -0.27598536014556885, 0.19974744319915771, 0.23794987797737122, -0.3299955725669861, -0.0440482422709465, -0.014607153832912445, -0.04347890242934227, -0.08643381297588348, 0.2442406713962555, 0.16005001962184906, 0.00417526438832283, 0.2509478032588959, 0.2841135859489441, -0.1567949652671814, 0.06469619274139404, 0.1981097161769867, 0.10748103260993958, 0.20104987919330597, 0.19064940512180328, -0.21623261272907257, -0.18944451212882996, -0.4981043338775635, 0.017450399696826935, 0.3379095494747162, -0.22543394565582275, 0.17159658670425415, -0.22641004621982574, -0.13449223339557648, -0.18800628185272217, 0.409525603055954, 0.034220654517412186, 0.2529539465904236, -0.24164704978466034, -0.047068335115909576, -0.3019828200340271, 0.19301018118858337, -0.11400459706783295, 0.28620752692222595, -0.16489148139953613, 0.5632818937301636, -0.07379289716482162, 0.2153434157371521, -0.5177978277206421, -0.05711410194635391, -0.07496193796396255, 0.1993718445301056, -0.22146430611610413, 0.15300172567367554, -0.0035556096117943525, -0.10824841260910034, 0.17766273021697998, 0.4594923257827759, -0.3927001655101776, -0.3925270140171051, 0.18844598531723022, 0.12626922130584717, 0.09014987200498581, -0.1372591108083725, 0.0767294317483902, -0.054288141429424286, -0.020388558506965637, 0.0914955735206604, 0.08428972959518433, -0.08073112368583679, -0.05930161476135254, 0.38110482692718506, 0.13772529363632202, -0.13340702652931213, 0.1010349839925766, -0.1365434229373932, -0.03806006908416748, -0.22415338456630707, -0.1969594806432724, 0.05977743864059448, -0.16745679080486298, -0.20888467133045197, 0.06109170615673065, 0.30319613218307495, 0.35958194732666016, 0.5737999677658081, 0.1003277599811554, 0.07287424057722092, -0.2376602739095688, 0.04298965260386467, 0.21178603172302246, -0.07310730218887329, -0.4190307557582855, 0.01438058726489544, 0.11787619441747665, 0.3915542960166931, -0.13375753164291382, 0.14751708507537842, 0.20779260993003845, -0.13006998598575592, 0.3123771846294403, 0.2445441335439682, 0.20128020644187927, -0.07739271223545074, -0.02928253263235092, -0.013715114444494247, 0.02799825370311737, -0.2259146124124527, 0.08829478919506073, 0.328861266374588, -0.3179669976234436, -0.015469077974557877, 0.22942009568214417, 0.21064722537994385, -0.022351033985614777, 0.43821245431900024, 0.3192279040813446, 0.15552210807800293, -0.1424221396446228, 0.17237241566181183, 0.14123651385307312, -0.282003253698349, 0.46347567439079285, 0.4370235502719879, -0.3557923138141632, 0.3557017147541046, 0.38065651059150696, 0.03452639654278755, -0.20662198960781097, -0.2971680164337158, -0.20086906850337982, -0.1320999562740326, -0.299506276845932, 0.023278210312128067, -0.2555088400840759, -0.35508960485458374, -0.12619544565677643, -0.1514950692653656, -0.10204428434371948, 0.12195952236652374, 0.5415542125701904, -0.09184251725673676, 0.1281512975692749, 0.07591560482978821, -0.19157394766807556, -0.1081354096531868, 0.1981235146522522, -0.19558271765708923, -0.17864106595516205, 0.055821165442466736, -0.023455895483493805, 0.03720499202609062, 0.20719066262245178, 0.12585102021694183, 0.322233110666275, -0.2003660351037979, -0.034159108996391296, -0.25727158784866333, -0.15138769149780273, -0.16635574400424957, 0.18925422430038452, 0.05971301347017288, -0.08281631767749786, 0.41633889079093933, 0.3424692749977112, -0.2044367641210556, 0.32460275292396545, 0.02180549129843712, 0.1737576276063919, -0.015384240075945854, 0.08682987093925476, 0.17061017453670502, -0.12773826718330383, -0.004317436367273331, -0.17581325769424438, -0.050535015761852264, -0.14451096951961517, -0.08468340337276459, -0.20175878703594208, 0.41255900263786316, -0.08802181482315063, 0.16928455233573914, 0.04012281820178032, 0.2258371263742447, 0.028139054775238037, 0.13988302648067474, -0.4063251316547394, -0.25932538509368896, -0.4830370843410492, 0.1436491459608078, 0.07196585088968277, 0.05722010135650635, 0.0325072705745697, 0.14932022988796234, 0.246444433927536, 0.10018660128116608, -0.07453957200050354, -0.29381075501441956, -0.19210116565227509, 0.06645850837230682, -0.18193896114826202, 0.010376036167144775, -0.12010526657104492, -0.007580939680337906, 0.1541702300310135, -0.21423110365867615, 0.29209381341934204, -0.014425002038478851, 0.29244476556777954, -0.2931467294692993, 0.0702284723520279, -0.08160139620304108, 0.16239102184772491, 0.43627235293388367, 0.37454500794410706, -0.07335264980792999, -0.25982698798179626, -0.05126752704381943, -0.01591775193810463, 0.12372083216905594, -0.15405698120594025, 0.05683267489075661, -0.008049633353948593, 0.3703967332839966, -0.04717124253511429, 0.0020105764269828796, -0.09260351955890656, -0.17652122676372528, 0.028302036225795746, 0.21683421730995178, -0.47620534896850586, 0.14003464579582214, -0.04332973062992096, -0.0994923785328865, -0.11413648724555969, 0.25602400302886963, 0.11176921427249908, 0.060492709279060364, -0.1805345118045807, -0.23146706819534302, 0.5538443326950073, -0.1102072075009346, -0.44806307554244995, 0.03926526755094528, 0.24359112977981567, 0.033626969903707504, -0.11606643348932266, -0.5169991850852966, -0.23338738083839417, 0.30725160241127014, -0.03853609412908554, -0.07298063486814499, 0.2525126039981842, -0.24126505851745605, -0.09885986149311066, -0.2590793967247009, 0.062378011643886566, 0.02298710308969021, -0.00827089138329029, 0.05451193079352379, -0.30007755756378174 ]
https://github.com/huggingface/datasets/pull/1960
Allow stateful function in dataset.map
@lhoestq Okay, did some refactoring and now the "cache" part comes before the for loop. Thanks for the guidance. Think this is ready for the final review.
Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this.
27
text: Allow stateful function in dataset.map Removes the "test type" section in Dataset.map which would modify the state of the stateful function. Now, the return type of the map function is inferred after processing the first example. Fixes #1940 @lhoestq Not very happy with the usage of `nonlocal`. Would like to hear your opinion on this. @lhoestq Okay, did some refactoring and now the "cache" part comes before the for loop. Thanks for the guidance. Think this is ready for the final review.
[ -0.10506682842969894, -0.06188483536243439, -0.23302611708641052, 0.06624966859817505, -0.09484453499317169, -0.23489508032798767, 0.169696643948555, 0.37164339423179626, 0.39209243655204773, -0.0623144656419754, -0.0769091472029686, 0.3920687437057495, 0.07884117215871811, 0.1582392454147339, 0.04270331561565399, 0.11133509129285812, 0.04472421854734421, 0.22705918550491333, -0.14765146374702454, -0.2230532467365265, -0.2942846417427063, -0.07731075584888458, -0.34491825103759766, -0.08403277397155762, -0.15398579835891724, -0.26948022842407227, 0.04358804225921631, 0.10275864601135254, -0.1623244732618332, -0.4885024428367615, 0.1268654763698578, 0.16303323209285736, -0.1225309744477272, 0.20381787419319153, -0.00010020566696766764, -0.15603047609329224, 0.29637598991394043, -0.1343434751033783, 0.1454704850912094, -0.06386908888816833, -0.4576292335987091, -0.01270570419728756, 0.05234437435865402, -0.21163655817508698, -0.03975706547498703, -0.07971382141113281, -0.06449586898088455, -0.7058266401290894, 0.37155479192733765, 0.26353719830513, 0.321452260017395, 0.10357321053743362, -0.15104472637176514, 0.06581693142652512, 0.19074925780296326, 0.012120965868234634, 0.07466577738523483, -0.11519370973110199, 0.47391751408576965, -0.17544259130954742, -0.4130055904388428, 0.37823009490966797, -0.0022067800164222717, 0.10062219202518463, 0.3279065489768982, -0.23809653520584106, 0.19095198810100555, -0.19875481724739075, -0.024338290095329285, 0.05165237560868263, 0.7080883383750916, -0.07388702034950256, -0.074541375041008, -0.014158032834529877, -0.25644129514694214, 0.0769033208489418, 0.2050158977508545, -0.2569859027862549, -0.39823248982429504, 0.18746277689933777, -0.32646721601486206, -0.11882826685905457, -0.06814198940992355, -0.06859217584133148, -0.038254495710134506, 0.17875206470489502, 0.02673458680510521, 0.012923408299684525, -0.07609744369983673, 0.10290448367595673, 0.2783639132976532, -0.06616324931383133, 0.1634427011013031, 0.20332443714141846, -0.1396636664867401, -0.1989939659833908, 0.310160756111145, 0.24583080410957336, 0.22324663400650024, -0.030893556773662567, 0.11189990490674973, 0.16877374053001404, -0.19512224197387695, 0.14099878072738647, 0.3165898025035858, 0.19517017900943756, 0.20014804601669312, 0.0804675817489624, 0.00567689910531044, -0.31626370549201965, -0.1407003551721573, -0.026796720921993256, 0.20951277017593384, -0.2743336856365204, 0.3684300482273102, 0.22819507122039795, 0.056896671652793884, -0.5175321102142334, -0.008449960500001907, 0.06791949272155762, -0.13995219767093658, -0.2032792717218399, 0.13061349093914032, 0.4303354322910309, 0.02732951194047928, 0.14186377823352814, 0.06010310351848602, -0.08371775597333908, 0.04134828597307205, 0.0017147501930594444, -0.26513904333114624, -0.08054769039154053, -0.24797110259532928, -0.025173811241984367, 0.12248280644416809, 0.08728599548339844, 0.2107163667678833, 0.03177487850189209, -0.03705266863107681, 0.1168183982372284, 0.21579623222351074, -0.1605370044708252, 0.9184434413909912, 0.03039759397506714, -0.26206162571907043, -0.040924519300460815, 0.21703267097473145, -0.14303520321846008, -0.12126366794109344, 0.17915014922618866, -0.15089941024780273, -0.334667444229126, -0.017912423238158226, 0.24391670525074005, -0.06877313554286957, 0.0973265990614891, 0.31212761998176575, 0.31201010942459106, 0.23702126741409302, -0.20591332018375397, 0.2651933431625366, -0.10389335453510284, -0.0447617843747139, -0.3459693193435669, -0.05496656894683838, 0.3553024232387543, -0.24701979756355286, 0.13775236904621124, -0.11371184140443802, -0.2571104168891907, 0.0709352046251297, 0.06215560436248779, -0.30852261185646057, 0.2391398549079895, -0.2619631588459015, 0.2628030776977539, 0.3959086537361145, -0.17880858480930328, -0.2618770897388458, 0.4679846465587616, -0.21580179035663605, 0.10908692330121994, -0.10387750715017319, -0.06576024740934372, 0.10825815796852112, -0.17066752910614014, 0.34158825874328613, 0.0734989270567894, -0.17751432955265045, 0.07191438227891922, -0.40731561183929443, 0.04400217533111572, 0.41557055711746216, -0.14698688685894012, 0.08501165360212326, 0.4486629068851471, 0.06611519306898117, -0.307418555021286, 0.3011803925037384, -0.030330482870340347, 0.15581448376178741, 0.04749026894569397, 0.5326902866363525, -0.13786771893501282, -0.059505581855773926, -0.1896074414253235, -0.4220941364765167, 0.02953881025314331, -0.2871120572090149, -0.07992270588874817, 0.11928439885377884, -0.11237969249486923, -0.15330466628074646, -0.010819020681083202, -0.1529354304075241, -0.05166495218873024, 0.34557563066482544, -0.0537731796503067, 0.05269112065434456, -0.08862875401973724, -0.05552714318037033, 0.08596426248550415, 0.23625673353672028, -0.2456188052892685, -0.009792635217308998, -0.0893077477812767, -0.041518159210681915, 0.07094117254018784, -0.09428709000349045, -0.011933892965316772, 0.28968364000320435, -0.004691773094236851, -0.2805202007293701, 0.38172009587287903, 0.010649072006344795, -0.09100772440433502, 0.010290399193763733, 0.26865097880363464, -0.14394259452819824, -0.008617371320724487, 0.11111292243003845, -0.038187380880117416, 0.12828339636325836, -0.3234657645225525, -0.02431611716747284, 0.42242366075515747, 0.023574095219373703, 0.009948566555976868, -0.21992868185043335, 0.008799472823739052, 0.2129187136888504, -0.06335331499576569, -0.24045416712760925, -0.1563437283039093, -0.042589399963617325, -0.14120708405971527, 0.1584465354681015, -0.02432061918079853, -0.07388968765735626, 0.07457185536623001, 0.198168084025383, 0.03384256735444069, 0.1367882788181305, -0.08602159470319748, 0.08506089448928833, -0.21023163199424744, 0.30658504366874695, 0.25933146476745605, 0.3945135474205017, 0.1682872474193573, 0.23334456980228424, -0.09390503913164139, 0.13799908757209778, -0.027588162571191788, 0.25965723395347595, -0.1237870305776596, 0.25941747426986694, 0.2047354280948639, 0.24840739369392395, -0.18877552449703217, -0.19058921933174133, -0.0868023931980133, 0.07856722176074982, 0.21899926662445068, -0.14965388178825378, -0.08505506813526154, -0.17172527313232422, -0.040870703756809235, 0.041561778634786606, 0.1494198590517044, -0.06622998416423798, -0.3548760712146759, 0.08647893369197845, -0.02376474067568779, -0.20502133667469025, 0.2809244692325592, -0.08159146457910538, 0.49590641260147095, 0.1387569010257721, -0.04400653392076492, -0.328130304813385, -0.2628505825996399, -0.013760581612586975, 0.2537887692451477, 0.07881245017051697, -0.02534388191998005, 0.34336093068122864, 0.10069507360458374, 0.04474677890539169, -0.06500023603439331, -0.13111411035060883, 0.16442710161209106, -0.21019010245800018, -0.015163609758019447, 0.3078375458717346, 0.22556398808956146, -0.20965826511383057, 0.1312362104654312, 0.006770997308194637, -0.4762080907821655, -0.1974058449268341, -0.2777136564254761, -0.030820531770586967, 0.14623980224132538, -0.24131926894187927, -0.2775585949420929, -0.1130932942032814, -0.3598823547363281, 0.3273353576660156, -0.12029135227203369, 0.08654041588306427, 0.022304905578494072, 0.1174929141998291, 0.24143923819065094, -0.12287676334381104, -0.09848576784133911, -0.5655127763748169, -0.405030220746994, 0.33108946681022644, -0.20469313859939575, -0.17568141222000122, -0.14536058902740479, -0.005677392706274986, 0.1822313517332077, 0.242829829454422, -0.2532843053340912, -0.3287804126739502, 0.1258431375026703, 0.3161729872226715, -0.18109087646007538, -0.01462504081428051, 0.33552685379981995, 0.047743819653987885, -0.245697483420372, -0.30729833245277405, -0.08522151410579681, 0.0864337906241417, 0.05209953337907791, 0.06798648834228516, 0.20479997992515564, -0.024746239185333252, 0.2686156928539276, 0.3608642816543579, 0.17400816082954407, -0.014767389744520187, 0.07621940225362778, 0.29256412386894226, 0.14159083366394043, -0.0036233216524124146, -0.06002126634120941, -0.0416131317615509, -0.09621898829936981, -0.3024080991744995, -0.12064886093139648, -0.13292357325553894, -0.6192569136619568, -0.09372523427009583, 0.10661934316158295, -0.3551606237888336, -0.12370717525482178, 0.3722967207431793, -0.14791414141654968, 0.24803116917610168, 0.18396809697151184, -0.05049263313412666, -0.4939662516117096, 0.22386828064918518, 0.13073992729187012, -0.17640246450901031, 0.47207239270210266, -0.18932217359542847, -0.28812840580940247, 0.04998771846294403, -0.3637149930000305, 0.26244595646858215, 0.2372152954339981, 0.11383923143148422, -0.17090843617916107, -0.2522784173488617, -0.08540686964988708, 0.07779408246278763, 0.6503306031227112, -0.5114445686340332, 0.04835878685116768, 0.20841120183467865, -0.11401083320379257, 0.20248015224933624, 0.2315400093793869, -0.20655272901058197, 0.4626711905002594, 0.08937770128250122, 0.1842549741268158, -0.15594393014907837, -0.13007016479969025, -0.05878254771232605, -0.1365145444869995, 0.03704619035124779, -0.3501918613910675, 0.12926962971687317, 0.16361144185066223, -0.24691040813922882, 0.2987762987613678, 0.34348219633102417, -0.30189356207847595, -0.1422843486070633, -0.07639259099960327, 0.16620738804340363, 0.49685102701187134, -0.08350133895874023, 0.06928682327270508, 0.34284231066703796, -0.12640440464019775, -0.2695150375366211, 0.27356112003326416, 0.055051662027835846, -0.06944392621517181, 0.3056836426258087, -0.2541826367378235, 0.37310728430747986, 0.12529778480529785, -0.04707355797290802, 0.21349164843559265, 0.4608399569988251, -0.04044386371970177, -0.18624070286750793, 0.14692533016204834, 0.026996590197086334, -0.13382606208324432, 0.09470905363559723, -0.019284384325146675, -0.12324970215559006, -0.02283427119255066, -0.512663722038269, 0.27241960167884827, -0.040780164301395416, -0.43090832233428955, 0.37034425139427185, -0.056321486830711365, -0.23846833407878876, 0.4591575264930725, 0.16320934891700745, 0.969735860824585, -0.06198239326477051, -0.06269901990890503, 0.11283046007156372, 0.13028424978256226, 0.02566918544471264, -0.23499524593353271, -0.04610250145196915, -0.20045191049575806, -0.03217021003365517, -0.093588687479496, -0.2401159256696701, -0.05737388879060745, 0.14874869585037231, -0.3402671813964844, 0.061580199748277664, 0.22831840813159943, 0.4944884777069092, 0.05063395947217941, -0.008818596601486206, 0.17646107077598572, -0.06277720630168915, -0.0017019584774971008, 0.2854250967502594, 0.04311811923980713, -0.04225647822022438, -0.2012660801410675, -0.24077923595905304, 0.003651045262813568, -0.2033410668373108, -0.03031805157661438, -0.12054888159036636, -0.5759670734405518, 0.19873492419719696, 0.03693712130188942, 0.03552175313234329, 0.11704632639884949, 0.30054983496665955, -0.0034442096948623657, 0.05851510539650917, -0.26341626048088074, -0.11843881011009216, 0.6028313636779785, 0.42379042506217957, -0.022504298016428947, -0.0667182132601738, 0.29765602946281433, 0.002020314335823059, -0.08510845899581909, -0.02527083456516266, -0.2784525454044342, -0.24377822875976562, -0.2057153731584549, 0.1773633360862732, 0.235763281583786, -0.2933323383331299, -0.08108675479888916, 0.12104075402021408, -0.0928870365023613, -0.1052277535200119, 0.25282686948776245, 0.2119651734828949, -0.08556366711854935, 0.15282419323921204, 0.24760636687278748, -0.03926610201597214, 0.07066886126995087, 0.2900031507015228, 0.19911593198776245, 0.02966902405023575, 0.14104881882667542, -0.13287249207496643, -0.2931027412414551, -0.44724175333976746, -0.17064940929412842, 0.26604169607162476, -0.3022761642932892, 0.17257873713970184, -0.38349607586860657, -0.26390305161476135, -0.17691418528556824, 0.18481244146823883, 0.047283563762903214, 0.3061075508594513, -0.18687833845615387, 0.035588108003139496, -0.38118255138397217, 0.07249898463487625, -0.2265273779630661, 0.29433050751686096, -0.2212739884853363, 0.27564361691474915, -0.1036219447851181, 0.3199378252029419, -0.5167529582977295, -0.04836927354335785, -0.06010659784078598, 0.12321601808071136, -0.20632502436637878, 0.05438978970050812, 0.03595375269651413, -0.13659176230430603, 0.1364355832338333, 0.5424241423606873, -0.47461777925491333, -0.3954651951789856, 0.25234201550483704, 0.12274722754955292, 0.15108028054237366, -0.1863265037536621, -0.058573778718709946, -0.0804867222905159, -0.04769779369235039, -0.05825411528348923, 0.034228600561618805, -0.020869217813014984, -0.006839223206043243, 0.3058769106864929, 0.3366343080997467, -0.13855567574501038, 0.1227235198020935, -0.17223723232746124, -0.058212682604789734, -0.2314661592245102, -0.22847141325473785, 0.04634032025933266, -0.18866635859012604, -0.16188497841358185, 0.22641044855117798, 0.344162255525589, 0.26939302682876587, 0.4339240491390228, 0.26925650238990784, -0.06883949041366577, -0.25104495882987976, 0.1690060943365097, 0.2507176697254181, -0.10334165394306183, -0.29356199502944946, 0.004661630839109421, 0.07535919547080994, 0.38593795895576477, -0.18276876211166382, 0.02605310268700123, 0.1828482747077942, 0.024710778146982193, 0.2289436161518097, 0.2680383324623108, 0.3476051688194275, -0.1818646490573883, 0.18815873563289642, 0.0946391224861145, 0.2817458510398865, -0.3793116807937622, 0.07934550940990448, -0.006040439009666443, -0.10066065192222595, -0.06220470741391182, 0.35498306155204773, 0.3564220368862152, 0.07359518110752106, 0.24121367931365967, 0.37797442078590393, 0.23443087935447693, 0.01560056209564209, 0.1693427711725235, -0.10163619369268417, -0.35762062668800354, 0.4373650848865509, 0.491411954164505, -0.279172420501709, 0.37493759393692017, 0.24043194949626923, -0.006138451397418976, -0.14874164760112762, -0.39604803919792175, -0.19244511425495148, -0.08443573117256165, -0.32183054089546204, -0.02985387295484543, 0.04294970631599426, -0.3138096332550049, -0.0908656045794487, -0.10496039688587189, -0.11083365976810455, 0.09829525649547577, 0.6081513166427612, -0.1458471417427063, 0.2170652449131012, 0.012016049586236477, -0.09435852617025375, -0.15637534856796265, 0.33821648359298706, -0.22961066663265228, -0.016970934346318245, 0.11728151887655258, -0.12060520052909851, 0.02089928649365902, 0.21785612404346466, 0.17678353190422058, 0.2955523431301117, -0.23305071890354156, -0.020658444613218307, -0.2140231877565384, -0.14325155317783356, -0.2728874683380127, 0.26483604311943054, 0.03593169152736664, -0.2113846391439438, 0.3534490466117859, 0.29090121388435364, -0.1412498652935028, 0.32504329085350037, 0.0017232410609722137, 0.21368591487407684, -0.044068872928619385, 0.03436385840177536, 0.20598694682121277, -0.10092984139919281, 0.034003786742687225, -0.1689964234828949, -0.21563830971717834, -0.14580528438091278, 0.024455027654767036, -0.2863187789916992, 0.37372368574142456, -0.047534726560115814, 0.1591058224439621, -0.02771751955151558, 0.24543988704681396, 0.09585864841938019, 0.059211309999227524, -0.4813874065876007, -0.24664820730686188, -0.46480920910835266, 0.11968551576137543, 0.06469708681106567, 0.15563148260116577, 0.08152291178703308, 0.27002549171447754, 0.18769985437393188, 0.15374836325645447, -0.04510544240474701, -0.3271259367465973, -0.09491755068302155, 0.021668046712875366, -0.37805038690567017, 0.00935126282274723, -0.024795234203338623, 0.003486642614006996, 0.2859271168708801, -0.20000910758972168, 0.1805066019296646, 0.0692540854215622, 0.3185889720916748, -0.24515794217586517, -0.0731368437409401, 0.11082503199577332, 0.20797713100910187, 0.38152188062667847, 0.25834721326828003, -0.12820544838905334, -0.17934486269950867, -0.0634944811463356, -0.10475300252437592, -0.013173012062907219, -0.06874579191207886, -0.11142119020223618, 0.03707133233547211, 0.32380008697509766, -0.22548770904541016, -0.08590050041675568, -0.1689567118883133, -0.06865609437227249, -0.007528677582740784, 0.25129613280296326, -0.449800044298172, 0.15401090681552887, -0.09577575325965881, 0.04755384102463722, -0.14117935299873352, 0.3124564290046692, 0.008178725838661194, 0.1843401938676834, -0.25114691257476807, -0.19624674320220947, 0.5889084339141846, -0.15684951841831207, -0.36773809790611267, 0.12812235951423645, 0.2526969313621521, 0.18205958604812622, -0.1910625696182251, -0.4953722655773163, -0.1556977480649948, 0.24497194588184357, -0.05527173727750778, -0.12009862065315247, 0.21402950584888458, -0.37041032314300537, 0.0239717997610569, -0.2528100609779358, 0.16872408986091614, 0.06657236069440842, -0.0709259882569313, -0.03978513553738594, -0.275270938873291 ]
https://github.com/huggingface/datasets/pull/1952
Handle timeouts
I never said the calls were hanging indefinitely, what we need is quite different - in the firewalled env with a network, there should be no network calls or they should fail instantly. To make this work I suppose on top of this PR we need: 1. `DATASETS_OFFLINE` env var to force set timeout to 0 globally (or to 0.0001 if 0 has a special meaning of no timeout) 2. `DATASETS_OFFLINE` should guard against failing network calls and not fail the program if it has all the data it needs locally. Bottom line - if the logic wants to check online if the local file matches online dataset name, let it go wild, but it should fail instantly, recover and use the local file - if one is specified explicitly or cache if there is one. And only if neither was found only then assert. I hope this makes sense and is doable. I have started on the same approach for transformers https://github.com/huggingface/transformers/pull/10407 Thank you, @lhoestq
As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it).
166
text: Handle timeouts As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it). I never said the calls were hanging indefinitely, what we need is quite different - in the firewalled env with a network, there should be no network calls or they should fail instantly. To make this work I suppose on top of this PR we need: 1. `DATASETS_OFFLINE` env var to force set timeout to 0 globally (or to 0.0001 if 0 has a special meaning of no timeout) 2. `DATASETS_OFFLINE` should guard against failing network calls and not fail the program if it has all the data it needs locally. Bottom line - if the logic wants to check online if the local file matches online dataset name, let it go wild, but it should fail instantly, recover and use the local file - if one is specified explicitly or cache if there is one. And only if neither was found only then assert. I hope this makes sense and is doable. I have started on the same approach for transformers https://github.com/huggingface/transformers/pull/10407 Thank you, @lhoestq
[ -0.2582200765609741, -0.15477168560028076, -0.08048316836357117, -0.010955199599266052, 0.25396406650543213, -0.28340163826942444, 0.48744192719459534, -0.0017741955816745758, 0.13651393353939056, 0.15025468170642853, -0.06378783285617828, -0.024558544158935547, 0.18269382417201996, 0.2598538398742676, -0.044469501823186874, -0.002500522881746292, -0.13951048254966736, 0.0859392061829567, -0.24434849619865417, 0.046782150864601135, -0.02962539903819561, 0.109627366065979, -0.24841107428073883, -0.046305060386657715, -0.15798090398311615, -0.09402647614479065, 0.0010948088020086288, -0.12064092606306076, -0.002389088273048401, -0.25390490889549255, 0.4385354816913605, 0.28373873233795166, 0.017699185758829117, 0.4415413439273834, -0.00010714394738897681, 0.02200266718864441, 0.24351535737514496, -0.00777142308652401, -0.3622600734233856, -0.08274635672569275, -0.19726386666297913, -0.2488539069890976, 0.24744679033756256, -0.23726236820220947, -0.11684081703424454, -0.02365821599960327, 0.12663181126117706, -0.3747076690196991, 0.5156607627868652, -0.08275869488716125, 0.15735524892807007, 0.5590176582336426, -0.01712443307042122, -0.0798134133219719, -0.10514754801988602, 0.1334395557641983, -0.16684608161449432, 0.2959400415420532, 0.3971638083457947, -0.23857776820659637, -0.04518430680036545, 0.04264148697257042, 0.059758514165878296, 0.09682606160640717, 0.3681192398071289, -0.13544809818267822, -0.3834962546825409, -0.059172287583351135, -0.16533944010734558, 0.5071781873703003, 0.3862357437610626, -0.024984456598758698, -0.38465678691864014, -0.4650946855545044, -0.048036593943834305, 0.027974626049399376, 0.4838201403617859, -0.05775419622659683, -0.4223080277442932, 0.23430132865905762, -0.6069534420967102, -0.03464050963521004, -0.3300256133079529, 0.12632346153259277, -0.22793346643447876, 0.16425096988677979, -0.07087118178606033, 0.27653536200523376, -0.0509536974132061, -0.03975928574800491, -0.05035437270998955, -0.35415831208229065, 0.16815008223056793, -0.10755864530801773, -0.2591550648212433, -0.15737932920455933, 0.19395290315151215, 0.28927960991859436, 0.33416736125946045, 0.13546350598335266, -0.3191176950931549, -0.02088545635342598, 0.024947289377450943, 0.07589323073625565, 0.3318251669406891, 0.24727381765842438, 0.23057851195335388, -0.10118290036916733, 0.46410703659057617, 0.2214834988117218, -0.22647279500961304, 0.04216312617063522, 0.22457444667816162, -0.07127047330141068, 0.11190791428089142, -0.15040940046310425, 0.4392107129096985, -0.31460726261138916, 0.23811247944831848, 0.16091202199459076, 0.03053876757621765, 0.0896855890750885, 0.27244630455970764, 0.4800834357738495, -0.43953001499176025, -0.005355086177587509, 0.23812879621982574, -0.27366089820861816, -0.3147295415401459, -0.1413934826850891, -0.10118328034877777, -0.1996472328901291, -0.19127120077610016, -0.15856830775737762, 0.29558563232421875, 0.05286334455013275, 0.142033189535141, -0.14814162254333496, 0.2649916112422943, 0.09894561767578125, 0.1996385157108307, -0.13170990347862244, 0.2867502272129059, 0.18702273070812225, -0.20647022128105164, -0.09848842769861221, 0.09314636886119843, 0.14084088802337646, -0.046624865382909775, -0.16809791326522827, 0.19599038362503052, -0.41162723302841187, 0.13600707054138184, 0.18777111172676086, -0.40584641695022583, -0.08412161469459534, 0.16070647537708282, -0.2608257830142975, -0.1188231036067009, -0.5017333030700684, 0.22153784334659576, -0.041784197092056274, 0.0361970029771328, 0.14671288430690765, 0.35929805040359497, 0.48765724897384644, -0.2560247778892517, 0.00777868926525116, -0.002339807106181979, -0.1822381168603897, -0.13628578186035156, 0.22673863172531128, -0.3830978572368622, 0.05459143966436386, -0.3767833709716797, -0.28828543424606323, 0.12431692332029343, -0.21939009428024292, -0.37830984592437744, 0.5364402532577515, -0.1264025866985321, 0.1335417926311493, -0.08744689077138901, 0.2059926986694336, 0.30178043246269226, -0.08567499369382858, -0.012337587773799896, 0.2994764447212219, -0.29623982310295105, 0.03304605185985565, -0.19678346812725067, -0.1895911991596222, -0.10934609174728394, 0.08323180675506592, 0.06407006084918976, -0.14335548877716064, -0.11612752825021744, -0.032492972910404205, 0.07967332005500793, 0.12718674540519714, 0.21250486373901367, 0.0212062019854784, 0.14206859469413757, 0.22180479764938354, 0.09000669419765472, 0.10963251441717148, -0.7588874697685242, 0.30987951159477234, -0.04870407283306122, 0.17825627326965332, -0.3965151906013489, -0.2863577604293823, -0.0866343230009079, 0.17506131529808044, -0.035128626972436905, -0.07167299091815948, 0.03012453019618988, 0.19265440106391907, -0.0525653138756752, 0.13579927384853363, -0.04232387617230415, 0.10926058143377304, 0.0066522266715765, 0.16254490613937378, -0.25988712906837463, 0.1874987930059433, -0.09281395375728607, 0.15689566731452942, -0.3440808951854706, -0.1663489043712616, -0.09657027572393417, -0.23952482640743256, -0.24025896191596985, 0.4505128562450409, -0.26719337701797485, 0.46662265062332153, 0.0066947415471076965, 0.20027874410152435, 0.2901347875595093, -0.208550363779068, 0.030383223667740822, 0.1478131264448166, 0.18860675394535065, 0.07533823698759079, -0.6461611986160278, 0.4453929662704468, -0.2670019865036011, 0.4664041996002197, 0.1447279304265976, -0.18949168920516968, 0.30558380484580994, -0.1026797890663147, -0.5167952179908752, 0.07424262166023254, 0.17549988627433777, 0.01057032123208046, 0.2998725473880768, 0.026482556015253067, -0.41163063049316406, 0.10663242638111115, 0.2943273186683655, -0.05282317101955414, 0.014338511973619461, -0.009288229048252106, 0.2651197016239166, -0.14341646432876587, 0.416879802942276, 0.23191912472248077, 0.2185177505016327, 0.2921561598777771, 0.11204121261835098, 0.14326152205467224, -0.23183861374855042, -0.26654067635536194, 0.23704198002815247, 0.13339129090309143, -0.09677199274301529, 0.3706009089946747, 0.03146963566541672, -0.06363200396299362, -0.38412028551101685, -0.5366132855415344, -0.0427863746881485, -0.05214143544435501, -0.2245585322380066, 0.2769433856010437, -0.15526220202445984, -0.45473167300224304, -0.12377513945102692, -0.016215309500694275, -0.48791128396987915, -0.35667484998703003, 0.1434619426727295, 0.12624086439609528, -0.4320138990879059, 0.3541792631149292, -0.023237405344843864, 0.3493233025074005, 0.12265302240848541, -0.30847033858299255, -0.21207772195339203, -0.31446537375450134, -0.09976785629987717, -0.0000866428017616272, 0.21268220245838165, 0.0718354806303978, 0.48501765727996826, 0.10200905054807663, -0.3395801782608032, -0.25258249044418335, -0.2956131398677826, 0.3396974503993988, -0.10179714858531952, 0.43020036816596985, 0.23058101534843445, 0.3352276384830475, -0.0937999039888382, -0.08787297457456589, 0.2983682155609131, -0.3645608723163605, 0.11732129752635956, -0.046195682138204575, 0.10601421445608139, 0.11326376348733902, -0.2592278718948364, -0.5321081876754761, -0.2010473906993866, -0.4561299979686737, 0.4191427230834961, -0.3854336142539978, -0.08483809232711792, 0.34322869777679443, -0.016714446246623993, 0.3270777463912964, 0.016348065808415413, 0.13341011106967926, -0.08246766030788422, -0.5254040360450745, 0.22113144397735596, 0.024782132357358932, -0.09322652220726013, -0.10279242694377899, -0.05046793073415756, -0.012584544718265533, 0.16303075850009918, -0.4674205183982849, -0.37849074602127075, -0.0081858541816473, 0.20974481105804443, 0.04806757718324661, -0.20669658482074738, 0.4111012816429138, -0.23630669713020325, -0.11037404090166092, 0.01902933418750763, 0.20619091391563416, 0.33220624923706055, -0.05556494742631912, 0.17079809308052063, 0.03722020983695984, 0.6940094232559204, -0.11183218657970428, 0.37453049421310425, -0.1308256834745407, 0.23561953008174896, 0.2513478994369507, 0.07188566029071808, 0.4820067286491394, -0.2165149450302124, -0.09930328279733658, 0.043338458985090256, 0.1079464852809906, -0.3572220802307129, 0.173895925283432, 0.048355862498283386, 0.10080750286579132, -0.3299286365509033, -0.42140865325927734, -0.041581880301237106, -0.6003504395484924, 0.154073566198349, 0.07693429291248322, 0.17713651061058044, 0.10317613184452057, 0.14758294820785522, -0.11036062240600586, -0.03605702891945839, -0.09829847514629364, 0.12077087163925171, 0.15279419720172882, -0.20319846272468567, -0.3692163825035095, 0.07632014155387878, -0.2663278579711914, 0.19101588428020477, 0.04668038338422775, 0.487077534198761, -0.022052478045225143, -0.1332063376903534, 0.24085783958435059, -0.17661665380001068, 0.7296420931816101, 0.10912065953016281, 0.252738893032074, -0.10050857067108154, -0.10263185203075409, -0.42402979731559753, 0.02219930663704872, 0.028501082211732864, -0.1167856976389885, 0.08600462973117828, 0.21748708188533783, -0.2864844799041748, -0.37010759115219116, -0.04174039512872696, 0.15514011681079865, -0.10816600173711777, -0.38197171688079834, -0.07218211889266968, 0.08609182387590408, -0.5579991340637207, 0.40450724959373474, -0.10770174115896225, -0.2598363757133484, 0.0013012902345508337, -0.43430086970329285, -0.02094694785773754, 0.4123585522174835, -0.1548837274312973, 0.18144893646240234, 0.07372215390205383, -0.48692694306373596, 0.36580324172973633, 0.08181735128164291, 0.1089845597743988, 0.06452283263206482, 0.34200718998908997, -0.04673271253705025, -0.19380345940589905, 0.12337609380483627, 0.11987628042697906, 0.004965856671333313, 0.5496814250946045, 0.14161653816699982, -0.22622233629226685, 0.1741013079881668, 0.5547951459884644, -0.30017465353012085, 0.07727564126253128, 0.04768557846546173, 0.17162522673606873, -0.2323596179485321, -0.03352891653776169, 0.12616263329982758, -0.23235419392585754, -0.16665571928024292, 0.34126460552215576, 0.48325473070144653, -0.09160128235816956, 0.42106980085372925, -0.06090842932462692, 1.1251894235610962, 0.08151097595691681, 0.21841242909431458, 0.32960811257362366, 0.14851348102092743, 0.5478524565696716, -0.36940884590148926, 0.12409095466136932, -0.061727359890937805, -0.08660408109426498, -0.14836899936199188, -0.0741080641746521, 0.10543642938137054, 0.06847023963928223, -0.3790559768676758, 0.3796927332878113, 0.12151023745536804, 0.23524543642997742, -0.3928336501121521, 0.3123353123664856, -0.22021666169166565, -0.24064409732818604, -0.30354878306388855, 0.16195367276668549, 0.0473756305873394, 0.32865166664123535, -0.18819478154182434, -0.013841014355421066, 0.17957563698291779, -0.1409999430179596, -0.03677898272871971, 0.14526492357254028, 0.09282884746789932, 0.09353712946176529, 0.16951081156730652, 0.15043412148952484, -0.02588709071278572, 0.2480296641588211, -0.002315603196620941, 0.3590790629386902, -0.3666552007198334, 0.25285637378692627, -0.30374079942703247, 0.15546487271785736, 0.0006650018040090799, -0.03284662589430809, 0.25324878096580505, -0.0908321887254715, -0.44446974992752075, -0.0970521941781044, -0.3136488199234009, -0.13121666014194489, 0.31505605578422546, -0.07161638140678406, 0.0457427054643631, -0.26210904121398926, 0.13061651587486267, -0.05548696219921112, -0.08911500871181488, -0.13833145797252655, 0.12520278990268707, -0.010591000318527222, -0.19049550592899323, 0.26832857728004456, 0.13603223860263824, -0.2575744390487671, -0.13603845238685608, 0.5096036195755005, -0.22890755534172058, 0.26906618475914, 0.36480456590652466, 0.2639749348163605, -0.22350306808948517, -0.33360037207603455, -0.10724273324012756, 0.0742831826210022, -0.3840629458427429, 0.24149873852729797, -0.09802726656198502, -0.02086767554283142, 0.2505260109901428, 0.1511097401380539, 0.27479830384254456, -0.04715755581855774, -0.07589773833751678, -0.31922125816345215, -0.24379825592041016, 0.20800434052944183, 0.16840869188308716, 0.31276002526283264, 0.4078163802623749, 0.1349603235721588, 0.18973343074321747, 0.06371870636940002, -0.3445050120353699, -0.21163922548294067, -0.5885514616966248, 0.1900702714920044, 0.13361912965774536, -0.36316561698913574, 0.2921294569969177, -0.352683424949646, 0.042376041412353516, 0.2100265771150589, -0.5484374761581421, -0.17809805274009705, -0.06073731929063797, 0.17918239533901215, -0.06476836651563644, -0.12640073895454407, -0.14198797941207886, -0.29279232025146484, -0.03564958646893501, -0.1605386584997177, 0.10231491923332214, 0.0661061629652977, -0.07538284361362457, -0.26425325870513916, 0.09225684404373169, 0.21703186631202698, -0.12274626642465591, 0.16073006391525269, 0.20417636632919312, -0.17041458189487457, 0.07089660316705704, 0.08971518278121948, -0.16000616550445557, -0.15505316853523254, -0.16126930713653564, 0.37497571110725403, 0.20457929372787476, 0.09898653626441956, 0.5446874499320984, 0.25119858980178833, -0.1561613529920578, 0.22608476877212524, 0.5646145343780518, 0.24705460667610168, 0.08423153311014175, -0.008874715305864811, 0.18684184551239014, 0.22547514736652374, -0.24525777995586395, -0.04577714949846268, 0.1807214319705963, -0.06029839068651199, 0.2541286051273346, 0.06416540592908859, 0.0837903618812561, 0.04488234221935272, 0.30244481563568115, 0.2770586311817169, 0.579242467880249, -0.1731949895620346, 0.10060897469520569, 0.19485627114772797, -0.1171516627073288, 0.12045411765575409, 0.23407770693302155, 0.12824465334415436, 0.4725678861141205, -0.10976779460906982, -0.36063241958618164, -0.03789620101451874, -0.32857072353363037, 0.6969726085662842, 0.15127530694007874, -0.522515594959259, 0.038193486630916595, -0.07533644139766693, -0.26076167821884155, -0.08498639613389969, -0.10325884819030762, 0.253230482339859, -0.3456856608390808, -0.10541597753763199, -0.15231451392173767, 0.6132292747497559, -0.1284637451171875, -0.08746971189975739, -0.05084599554538727, -0.12634068727493286, -0.07187977433204651, 0.03651784732937813, 0.1030229777097702, 0.011242538690567017, 0.06263874471187592, 0.2131972461938858, 0.2717025876045227, -0.26122230291366577, 0.1544581949710846, -0.15557414293289185, 0.1406722068786621, -0.18074560165405273, 0.24618089199066162, 0.5174344778060913, -0.13394339382648468, -0.08206754922866821, 0.2820991277694702, 0.2260252982378006, -0.07828140258789062, 0.07690156996250153, 0.35352468490600586, -0.0034105032682418823, 0.021236436441540718, -0.250872939825058, 0.12058766186237335, -0.1963091492652893, 0.21523627638816833, 0.31391334533691406, 0.1668117493391037, -0.14569245278835297, 0.14217232167720795, -0.2949482202529907, -0.16134881973266602, -0.28370073437690735, 0.2573036551475525, 0.34687453508377075, 0.09214247018098831, -0.30416131019592285, -0.11351927369832993, -0.37645423412323, 0.04043107107281685, 0.21879103779792786, -0.2030293494462967, 0.07183331996202469, -0.08568039536476135, 0.08268097788095474, -0.23568502068519592, 0.4989498555660248, 0.2960672080516815, 0.37705692648887634, -0.08397959917783737, -0.0532817468047142, -0.6417655348777771, -0.014133818447589874, -0.017307039350271225, 0.012996861711144447, 0.20781439542770386, 0.17660805583000183, 0.13018712401390076, -0.028681255877017975, -0.1363115757703781, 0.0005298787727952003, -0.020936954766511917, -0.1796424239873886, -0.22911575436592102, 0.018827131018042564, 0.16139593720436096, -0.11129002273082733, 0.10807637870311737, -0.4090540409088135, 0.3029633164405823, 0.048187293112277985, -0.06950093805789948, 0.20381034910678864, 0.00802507996559143, -0.06008852645754814, -0.2668580114841461, 0.26760751008987427, 0.07982055842876434, 0.32186615467071533, 0.13530340790748596, 0.006961824372410774, -0.04548424109816551, -0.09948566555976868, 0.0014333110302686691, -0.07489658147096634, 0.09291814267635345, 0.22460269927978516, -0.2272546887397766, -0.08802591264247894, -0.19122402369976044, -0.10682865977287292, -0.17609144747257233, 0.0863838791847229, -0.13328373432159424, -0.20490005612373352, -0.35417690873146057, 0.2900887727737427, -0.06787265092134476, 0.187721848487854, 0.09199719876050949, 0.12171022593975067, -0.2508692145347595, -0.22498251497745514, 0.665137767791748, 0.049740198999643326, -0.06340879201889038, -0.2893446683883667, 0.12067516148090363, 0.18328149616718292, -0.2125675529241562, -0.3912072777748108, -0.056030649691820145, 0.15598808228969574, 0.00694674625992775, -0.12580376863479614, 0.06321980059146881, 0.1115202009677887, 0.1379123032093048, -0.23104657232761383, 0.4503542482852936, 0.07200517505407333, -0.1602519303560257, 0.022836584597826004, -0.10722978413105011 ]
https://github.com/huggingface/datasets/pull/1952
Handle timeouts
Yes that was the first step to add DATASETS_OFFLINE :) With this PR, if a request times out (which couldn't happen before because no time out was set), it falls back on the local files with no error. As you said, setting the timeout to something like 1e-16 makes the requests fail instantly, which is one step forward. One last thing left is to disable request retries and everything will be instant !
As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it).
73
text: Handle timeouts As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it). Yes that was the first step to add DATASETS_OFFLINE :) With this PR, if a request times out (which couldn't happen before because no time out was set), it falls back on the local files with no error. As you said, setting the timeout to something like 1e-16 makes the requests fail instantly, which is one step forward. One last thing left is to disable request retries and everything will be instant !
[ -0.4177889823913574, -0.12863758206367493, -0.11077284812927246, -0.0460079088807106, 0.16788899898529053, -0.2850407660007477, 0.22599396109580994, 0.14779280126094818, 0.07565237581729889, 0.2908968925476074, -0.08566739410161972, -0.0015784993302077055, 0.18048016726970673, 0.35619473457336426, -0.08437802642583847, 0.04653245210647583, -0.16406747698783875, 0.13258343935012817, -0.16045285761356354, 0.11186821758747101, 0.026781857013702393, 0.05454041808843613, -0.11364936083555222, -0.053032562136650085, -0.17739300429821014, -0.182355597615242, 0.011578721925616264, 0.08400306850671768, -0.2358897477388382, -0.35822659730911255, 0.2096901684999466, 0.3605349659919739, -0.02747824601829052, 0.33786487579345703, -0.00010332059900974855, -0.018397945910692215, 0.32529711723327637, 0.12768389284610748, -0.4040907323360443, -0.09346005320549011, -0.21146568655967712, -0.26597273349761963, 0.3145992159843445, -0.04418285936117172, -0.08065076917409897, -0.05079584941267967, 0.07998818159103394, -0.34329408407211304, 0.43525612354278564, 0.04577647149562836, 0.23956279456615448, 0.4606529176235199, -0.13397718966007233, -0.2598837912082672, -0.0347132608294487, 0.09617941081523895, -0.2605164349079132, 0.24446368217468262, 0.35994774103164673, -0.15045416355133057, 0.015689775347709656, 0.026663579046726227, 0.07086250185966492, 0.10328899323940277, 0.2831340730190277, -0.06629356741905212, -0.3123353123664856, -0.13511615991592407, -0.02432979643344879, 0.3705746829509735, 0.40433940291404724, -0.00997985526919365, -0.24185842275619507, -0.35322123765945435, 0.08017512410879135, -0.1658688634634018, 0.43919456005096436, -0.0549435019493103, -0.35423198342323303, 0.35741302371025085, -0.5020433068275452, -0.14000488817691803, -0.21336503326892853, 0.11671071499586105, -0.12630081176757812, -0.1291036307811737, -0.04794897511601448, 0.13954207301139832, 0.1783868670463562, -0.13969512283802032, -0.08326510339975357, -0.08296206593513489, 0.0613253079354763, -0.09625652432441711, -0.23023195564746857, -0.03533633425831795, 0.2784661650657654, 0.3319065570831299, 0.37092292308807373, 0.1882624328136444, -0.0707099512219429, 0.1533726155757904, 0.010855012573301792, 0.10226649791002274, 0.20011134445667267, 0.09792254865169525, 0.2187727391719818, -0.3605971336364746, 0.7003353238105774, 0.2269221395254135, -0.059361256659030914, 0.03484290838241577, 0.3030935525894165, -0.1002606526017189, -0.07881372421979904, -0.20460280776023865, 0.45175033807754517, -0.34177106618881226, 0.2674795091152191, 0.1345498114824295, 0.21745061874389648, 0.0894661396741867, 0.08317864686250687, 0.39022040367126465, -0.3388006389141083, -0.0043319351971149445, 0.3252063989639282, -0.22449396550655365, -0.3106779456138611, -0.21391211450099945, -0.20226724445819855, -0.3643234074115753, -0.0968230739235878, 0.18018843233585358, 0.2697168290615082, -0.1382533609867096, 0.06939404457807541, 0.014068947173655033, 0.1365412175655365, 0.17329011857509613, 0.19752906262874603, -0.12120643258094788, 0.127422496676445, 0.2594248354434967, -0.05170251801609993, -0.02137569896876812, 0.04158299043774605, -0.017473887652158737, 0.0617746040225029, -0.15348857641220093, 0.17009496688842773, -0.37351903319358826, 0.022155165672302246, 0.2673707604408264, -0.13163697719573975, 0.0038915686309337616, -0.05230238288640976, -0.06478223204612732, -0.2608991265296936, -0.3288821876049042, 0.04554496705532074, -0.016428127884864807, -0.07317403703927994, 0.16228768229484558, 0.3162859380245209, 0.423320472240448, -0.3133885860443115, 0.12252414226531982, 0.17170476913452148, -0.2949344217777252, 0.006224803626537323, 0.2238372564315796, -0.27374133467674255, -0.021953418850898743, -0.2792729139328003, 0.03188064694404602, 0.20734316110610962, -0.09739670157432556, -0.3082095980644226, 0.38491547107696533, -0.18187984824180603, -0.11719834059476852, -0.18950676918029785, 0.1232050210237503, 0.399178683757782, 0.10734391957521439, 0.16559092700481415, 0.4462243914604187, -0.1943264752626419, 0.11620470136404037, -0.3282204866409302, -0.23807886242866516, -0.21923263370990753, 0.08704636991024017, -0.11957593262195587, 0.044476550072431564, 0.15062618255615234, -0.10297150909900665, 0.0009628310799598694, 0.055507842451334, 0.2030113935470581, 0.11949250102043152, 0.16071900725364685, 0.25173914432525635, -0.0507095642387867, 0.13470757007598877, -0.5932497382164001, 0.22620883584022522, 0.11154842376708984, 0.24940958619117737, -0.32826805114746094, -0.3508177399635315, -0.12416743487119675, 0.06992461532354355, -0.06872308254241943, 0.1361268311738968, 0.10653647780418396, 0.17992979288101196, 0.04007457569241524, 0.29438409209251404, -0.24211718142032623, 0.14440543949604034, -0.17009218037128448, 0.1680150330066681, -0.3211502432823181, 0.11570705473423004, -0.07115257531404495, -0.13374926149845123, -0.046897824853658676, -0.30423325300216675, -0.08143045753240585, -0.15804336965084076, -0.21576690673828125, 0.4646182954311371, -0.16168831288814545, 0.45224595069885254, 0.11446589231491089, 0.09800722450017929, 0.19237832725048065, 0.027940381318330765, 0.08533141016960144, -0.027352377772331238, 0.04845203086733818, -0.11285720020532608, -0.46948304772377014, 0.4046579599380493, -0.16166943311691284, 0.38348323106765747, 0.09802597761154175, -0.22509942948818207, 0.4031987488269806, -0.04173889011144638, -0.3665274977684021, 0.12803241610527039, 0.16220586001873016, -0.16252252459526062, 0.36721062660217285, 0.04124720022082329, -0.49185386300086975, 0.3280455470085144, 0.26132556796073914, -0.10226666927337646, 0.016091201454401016, 0.0866517424583435, 0.29418137669563293, -0.21681606769561768, 0.37655919790267944, 0.07928359508514404, 0.2886306047439575, 0.2816561758518219, 0.27991756796836853, 0.221910297870636, -0.20214250683784485, -0.30115142464637756, 0.13424469530582428, -0.032993242144584656, -0.09471222013235092, 0.21505072712898254, 0.10217893123626709, -0.1484251320362091, -0.50605708360672, -0.35354527831077576, -0.14981354773044586, 0.18333609402179718, -0.17869791388511658, 0.06767052412033081, -0.2993994355201721, -0.3262091279029846, 0.21427865326404572, -0.06396083533763885, -0.48613327741622925, -0.4394846260547638, 0.18062818050384521, 0.218844473361969, -0.3928771913051605, 0.2005900889635086, 0.01535041257739067, 0.5623618960380554, 0.17526647448539734, -0.07149513065814972, -0.34650272130966187, -0.2401944249868393, -0.06886789947748184, 0.02247387170791626, 0.26749342679977417, 0.2470698356628418, 0.5149731040000916, -0.002085290849208832, -0.3306484818458557, -0.26506277918815613, -0.1353750377893448, 0.22382503747940063, 0.07754603773355484, 0.3226763904094696, 0.2876606583595276, 0.5377579927444458, 0.04723013937473297, 0.047731898725032806, 0.36142536997795105, -0.3332478106021881, -0.09331250190734863, -0.07174013555049896, 0.006637389771640301, 0.20373640954494476, -0.357892781496048, -0.38962358236312866, -0.26951780915260315, -0.5650925636291504, 0.4440486431121826, -0.24343740940093994, 0.03310889005661011, 0.12741735577583313, 0.13556215167045593, 0.36255109310150146, -0.23168465495109558, 0.14523831009864807, -0.1885269731283188, -0.73381507396698, 0.13842584192752838, -0.22530215978622437, -0.22834710776805878, 0.07818625867366791, 0.2556917071342468, -0.002676311880350113, 0.03766048699617386, -0.5604401230812073, -0.4130873680114746, -0.1562948077917099, 0.36796683073043823, 0.06774546951055527, -0.10926243662834167, 0.3763887286186218, -0.2417123019695282, -0.22173118591308594, 0.049401357769966125, 0.09174966812133789, 0.17348219454288483, -0.03163495659828186, -0.025163017213344574, 0.06414085626602173, 0.6111237406730652, -0.0780998170375824, 0.42049217224121094, -0.0016263946890830994, 0.20189164578914642, 0.29336899518966675, -0.06601392477750778, 0.4518197476863861, -0.404947429895401, 0.012873893603682518, 0.03424324467778206, 0.12741489708423615, -0.1963202953338623, 0.2528216242790222, 0.2746410369873047, -0.017644694074988365, -0.36689963936805725, -0.3306998908519745, -0.0930226743221283, -0.4164612293243408, 0.025769978761672974, 0.24077722430229187, 0.023071378469467163, 0.10811015963554382, -0.015428755432367325, -0.023322101682424545, -0.02596231922507286, -0.009540613740682602, 0.17201262712478638, 0.1253131777048111, -0.13272906839847565, -0.4923238754272461, 0.17814423143863678, -0.5827921628952026, 0.19299539923667908, -0.06342452019453049, 0.33064988255500793, -0.1607688069343567, -0.21922045946121216, 0.30009329319000244, -0.16718852519989014, 0.5225602388381958, -0.048192091286182404, 0.04463007673621178, -0.044781651347875595, -0.12785789370536804, -0.34044474363327026, 0.104662224650383, 0.1497034728527069, 0.03292487561702728, 0.2205630987882614, 0.4120505452156067, -0.2646622955799103, -0.4031897485256195, -0.0834670215845108, 0.19310691952705383, -0.12192930281162262, -0.19808728992938995, -0.13307404518127441, -0.24998128414154053, -0.32387495040893555, 0.262272447347641, -0.1518481820821762, -0.10988026857376099, -0.019163168966770172, -0.4279591739177704, 0.07260183244943619, 0.3071058988571167, -0.2473689466714859, 0.2059217244386673, -0.052631717175245285, -0.38021790981292725, 0.31241628527641296, 0.16335609555244446, 0.1292872428894043, 0.08192256838083267, 0.4390627145767212, -0.13567039370536804, -0.15460984408855438, 0.17058229446411133, 0.00788728054612875, 0.0015281885862350464, 0.5323201417922974, 0.15019814670085907, -0.009250648319721222, 0.15966421365737915, 0.6865869760513306, -0.2912521958351135, 0.15775097906589508, 0.04471571743488312, -0.015122530981898308, -0.06920993328094482, -0.1342466026544571, 0.15683618187904358, -0.15405571460723877, -0.14018207788467407, 0.39879703521728516, 0.45581895112991333, -0.07605719566345215, 0.2573602795600891, -0.2055765986442566, 0.9882587194442749, -0.06586244702339172, 0.20006299018859863, 0.260017067193985, 0.1071082055568695, 0.5255970358848572, -0.3095986843109131, 0.0022588884457945824, 0.011353161185979843, -0.15179473161697388, -0.022319160401821136, 0.04465809836983681, 0.09347512573003769, -0.04164478927850723, -0.2343783676624298, 0.1751086413860321, 0.0666886568069458, 0.1256570816040039, -0.32787495851516724, 0.3250066936016083, -0.2445593774318695, -0.2338193655014038, -0.4390481114387512, 0.2761853039264679, 0.17858454585075378, 0.10348252952098846, -0.17108583450317383, 0.08048280328512192, 0.2166326940059662, -0.10331618040800095, 0.15913043916225433, 0.0694400742650032, -0.10058839619159698, -0.04835023730993271, -0.03476376459002495, 0.1287582963705063, -0.2148074358701706, 0.09331022948026657, 0.016811031848192215, 0.2609279751777649, -0.339874267578125, 0.1250172257423401, -0.3646290600299835, 0.1861879527568817, -0.10316214710474014, -0.11692346632480621, 0.16371959447860718, -0.22417202591896057, -0.20458680391311646, -0.09480331093072891, -0.24970705807209015, -0.16892796754837036, 0.20286577939987183, -0.08435307443141937, -0.1749851107597351, -0.21377651393413544, 0.06832174956798553, -0.07708384096622467, 0.0953991711139679, -0.17257684469223022, 0.20041592419147491, 0.07735731452703476, -0.2120143324136734, 0.27718040347099304, 0.17530272901058197, -0.19869095087051392, -0.1209498941898346, 0.5336546301841736, -0.3359149098396301, 0.029707103967666626, 0.16161596775054932, 0.336496502161026, -0.3335697650909424, -0.36716917157173157, 0.0611775666475296, 0.10555101186037064, -0.2378942370414734, 0.3004014492034912, -0.09119486063718796, 0.1103503555059433, 0.17291957139968872, 0.3374805450439453, 0.12492367625236511, -0.2122710943222046, -0.03127124160528183, -0.2141784429550171, -0.2157522588968277, 0.14408676326274872, 0.17789316177368164, 0.309741735458374, 0.32366710901260376, -0.022226639091968536, 0.134455144405365, 0.005638794973492622, -0.40845394134521484, -0.022461779415607452, -0.5177557468414307, 0.14229117333889008, 0.17550069093704224, -0.26637721061706543, 0.2832094728946686, -0.25700807571411133, 0.09205767512321472, 0.22773313522338867, -0.3507373631000519, -0.2455882728099823, 0.05745662376284599, 0.12994062900543213, -0.07049508392810822, -0.11498278379440308, -0.0317002609372139, -0.3662158250808716, -0.25770434737205505, -0.017125684767961502, 0.3042190670967102, 0.0567762553691864, -0.16496963798999786, -0.48113614320755005, 0.0828983262181282, 0.2056598961353302, -0.049846451729536057, 0.2289406806230545, 0.25522854924201965, -0.00004935264587402344, -0.06804805248975754, 0.03447472304105759, -0.27498483657836914, -0.1517655849456787, 0.14733943343162537, 0.40676721930503845, 0.1215534657239914, 0.0613429993391037, 0.5329461693763733, 0.053863342851400375, -0.2276826947927475, 0.213766947388649, 0.7081955671310425, 0.21504223346710205, 0.02040664292871952, 0.020949719473719597, 0.20656436681747437, 0.2816289961338043, -0.14262276887893677, -0.24595433473587036, 0.30358943343162537, -0.05439331382513046, 0.11362294852733612, -0.049631036818027496, 0.1251891553401947, 0.018505938351154327, 0.010169662535190582, 0.23954206705093384, 0.42368775606155396, -0.1371467411518097, -0.14214442670345306, -0.02042001113295555, -0.2567801773548126, -0.054285597056150436, 0.2552018165588379, 0.06713375449180603, 0.21218810975551605, 0.1486978828907013, -0.35132601857185364, 0.1925051361322403, -0.23237469792366028, 0.5994622111320496, -0.019818522036075592, -0.540255606174469, 0.18344669044017792, 0.04578918218612671, -0.21675580739974976, -0.18887069821357727, -0.17864766716957092, 0.30917155742645264, -0.40190011262893677, -0.30643123388290405, -0.08095008134841919, 0.5580649971961975, -0.09126833826303482, 0.006611231714487076, -0.1432393193244934, -0.181315615773201, 0.04249167442321777, 0.026622463017702103, 0.0876808762550354, 0.05719097703695297, 0.2289900928735733, 0.15711985528469086, 0.2914879620075226, -0.31243225932121277, -0.10201039165258408, -0.2084423005580902, 0.2247314155101776, -0.12440469861030579, 0.16418759524822235, 0.19923514127731323, -0.04066302627325058, 0.001497063785791397, 0.2756311893463135, 0.3025471866130829, 0.14850862324237823, 0.024688152596354485, 0.3929433822631836, -0.018935076892375946, -0.022195665165781975, -0.26749810576438904, 0.10573470592498779, 0.024075686931610107, 0.12301121652126312, 0.30882152915000916, 0.2015102207660675, -0.21951918303966522, 0.13843531906604767, -0.338103711605072, -0.013895699754357338, -0.2627321481704712, 0.10951319336891174, 0.2755722403526306, -0.02127194032073021, -0.31850045919418335, -0.09269387274980545, -0.30983996391296387, 0.05736754462122917, 0.24256673455238342, -0.28426992893218994, 0.14271408319473267, -0.30999553203582764, 0.11772669851779938, -0.25752174854278564, 0.5712165832519531, 0.2971603572368622, 0.3007899820804596, 0.05886893346905708, -0.24618856608867645, -0.5200537443161011, -0.08696333318948746, -0.1704244315624237, 0.12176136672496796, 0.13791203498840332, 0.2885091006755829, 0.03629600256681442, 0.1437486708164215, -0.012288987636566162, 0.03150561824440956, -0.052105557173490524, -0.14215491712093353, -0.25856637954711914, 0.09720155596733093, 0.008673656731843948, -0.17217613756656647, 0.0015021990984678268, -0.34526365995407104, 0.43547236919403076, -0.15080967545509338, 0.036525286734104156, 0.13425952196121216, 0.19489020109176636, -0.11904911696910858, -0.14223162829875946, 0.32576099038124084, 0.18455566465854645, 0.09105983376502991, 0.08741321414709091, -0.019677013158798218, -0.21339565515518188, -0.16092485189437866, 0.026715900748968124, -0.152726411819458, 0.025714561343193054, 0.158804252743721, -0.09575057029724121, -0.16263924539089203, -0.261535108089447, 0.10519368201494217, -0.029597824439406395, 0.19373685121536255, -0.02231152541935444, -0.10244587063789368, -0.24743139743804932, 0.2165047824382782, -0.09091221541166306, 0.12666726112365723, 0.08481286466121674, -0.002337619662284851, -0.21893185377120972, -0.21917815506458282, 0.597385048866272, 0.01851535215973854, -0.07595948129892349, -0.24925801157951355, 0.19593936204910278, 0.29986414313316345, -0.14830440282821655, -0.4227617383003235, -0.014500908553600311, 0.08633287250995636, 0.07274730503559113, -0.16124507784843445, 0.4082927107810974, -0.01084912195801735, 0.07848703861236572, -0.19323109090328217, 0.25925350189208984, 0.08678929507732391, -0.10533113032579422, -0.015156349167227745, -0.18719209730625153 ]
https://github.com/huggingface/datasets/pull/1952
Handle timeouts
Ah, fantastic. Thank you for elucidating that this PR is part of a bigger master plan!
As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it).
16
text: Handle timeouts As noticed in https://github.com/huggingface/datasets/issues/1939, timeouts were not properly handled when loading a dataset. This caused the connection to hang indefinitely when working in a firewalled environment cc @stas00 I added a default timeout, and included an option to our offline environment for tests to be able to simulate both connection errors and timeout errors (previously it was simulating connection errors only). Now networks calls don't hang indefinitely. The default timeout is set to 10sec (we might reduce it). Ah, fantastic. Thank you for elucidating that this PR is part of a bigger master plan!
[ -0.2935982644557953, -0.26598894596099854, -0.11375918984413147, -0.046840593218803406, 0.27847349643707275, -0.2783343195915222, 0.25047168135643005, -0.04707804694771767, -0.04482044279575348, 0.2662936747074127, -0.10022778809070587, 0.041009772568941116, 0.24829229712486267, 0.3111128509044647, -0.0770762637257576, -0.05856277048587799, -0.09341535717248917, -0.0006763935089111328, -0.0006748810410499573, 0.2500966191291809, -0.13703852891921997, 0.2512991428375244, -0.1379731297492981, 0.0553211010992527, -0.32762610912323, -0.10059987753629684, 0.09599190950393677, 0.011543333530426025, -0.21052765846252441, -0.38594961166381836, 0.16409799456596375, 0.2941361963748932, -0.2294347882270813, 0.26034238934516907, -0.00010193559865001589, 0.002388797700405121, 0.4843806028366089, 0.0940130352973938, -0.3653893768787384, 0.05598016083240509, -0.08771748095750809, -0.11006901413202286, 0.23487010598182678, 0.05762713402509689, -0.2434689700603485, 0.10840710997581482, -0.005628814920783043, -0.09050792455673218, 0.4438132047653198, 0.06917465478181839, 0.29996374249458313, 0.4685976207256317, -0.056284449994564056, -0.33462849259376526, -0.1456109881401062, -0.04325848072767258, -0.2857789397239685, 0.3053704500198364, 0.43016865849494934, -0.09768828004598618, -0.026219315826892853, -0.009477850049734116, 0.18372313678264618, 0.034236736595630646, 0.2971242368221283, -0.14039786159992218, -0.1352030336856842, -0.22047185897827148, 0.15324848890304565, 0.2831535041332245, 0.3895975649356842, 0.14841602742671967, -0.030298737809062004, -0.2927589416503906, 0.10971584916114807, -0.18599437177181244, 0.40745553374290466, -0.1175917536020279, -0.3825821578502655, 0.20974092185497284, -0.4686024785041809, -0.06309627741575241, -0.17341043055057526, 0.02001890540122986, -0.2617107033729553, -0.0609382688999176, -0.15192171931266785, 0.23128506541252136, 0.09377285838127136, -0.10304273664951324, -0.15866778790950775, -0.03206126019358635, 0.08118479698896408, -0.271007239818573, -0.20568640530109406, 0.10724760591983795, 0.3799937665462494, 0.2972596287727356, 0.2792821228504181, 0.13362595438957214, -0.23289722204208374, 0.05878438800573349, 0.11871513724327087, 0.08322951197624207, 0.19416633248329163, 0.04301859810948372, 0.1795794665813446, -0.3307414948940277, 0.4550333619117737, 0.2658268213272095, 0.004121262580156326, -0.046808548271656036, 0.2854817807674408, -0.045050691813230515, -0.11670635640621185, -0.35289597511291504, 0.41203588247299194, -0.25435781478881836, 0.1081719622015953, 0.17896601557731628, 0.15463048219680786, 0.13191509246826172, 0.010432275012135506, 0.4564245939254761, -0.22334347665309906, -0.004888720810413361, 0.2695956826210022, -0.21992240846157074, -0.22887757420539856, -0.09511098265647888, -0.28835710883140564, -0.3598390519618988, -0.32686859369277954, 0.03916986286640167, 0.2039344310760498, -0.0037271715700626373, 0.15167219936847687, 0.03420644253492355, 0.3045976161956787, 0.006368286907672882, 0.05208869278430939, 0.0029971273615956306, 0.2215864360332489, 0.3247362971305847, -0.020152900367975235, -0.07386520504951477, 0.05247076228260994, 0.007959119975566864, -0.002479054033756256, -0.13575512170791626, 0.06458982080221176, -0.35699135065078735, -0.03675026446580887, 0.28139254450798035, -0.052093859761953354, -0.002033226191997528, 0.1105656698346138, -0.011136393994092941, -0.20299693942070007, -0.2789083421230316, 0.19098953902721405, -0.1984391063451767, -0.10600462555885315, 0.15795442461967468, 0.26671192049980164, 0.2508563995361328, -0.19040797650814056, -0.012021694332361221, 0.20343652367591858, -0.3169710338115692, 0.03133103996515274, 0.33145052194595337, -0.2276507169008255, -0.18531256914138794, -0.2257539927959442, 0.08995282649993896, 0.05580470710992813, -0.0841645896434784, -0.304100900888443, 0.24519936740398407, -0.2448444813489914, -0.043503228574991226, -0.13565635681152344, 0.009536443278193474, 0.3134981095790863, 0.08935368806123734, 0.2965860962867737, 0.24275560677051544, -0.2009572982788086, 0.015852292999625206, -0.23759086430072784, -0.0813990905880928, -0.15598610043525696, 0.10200683772563934, -0.047134239226579666, -0.05003780871629715, -0.12993782758712769, 0.008519205264747143, 0.13553152978420258, 0.18071365356445312, 0.22912301123142242, 0.04053133726119995, 0.11754082143306732, 0.3143662214279175, -0.07013116031885147, 0.2340312898159027, -0.4153527319431305, 0.09207025915384293, 0.17337799072265625, 0.3445759415626526, -0.20327399671077728, -0.2627631425857544, -0.24985003471374512, 0.05916648358106613, -0.012003142386674881, -0.0807606428861618, 0.13432687520980835, 0.18968120217323303, -0.0034037362784147263, 0.1718754768371582, -0.0843309611082077, 0.15333329141139984, -0.26214098930358887, 0.13587206602096558, -0.26701420545578003, 0.08601459115743637, -0.17196308076381683, -0.12593230605125427, -0.04163866117596626, -0.08206894248723984, -0.030769772827625275, -0.13276027143001556, -0.15967196226119995, 0.35495635867118835, -0.1432286947965622, 0.2902657985687256, -0.05601894110441208, 0.10960207879543304, 0.15299654006958008, -0.0183425173163414, 0.048663947731256485, -0.06140941008925438, 0.09273649752140045, -0.19108939170837402, -0.3492205739021301, 0.2714661955833435, -0.05181572213768959, 0.32669031620025635, 0.04856131225824356, -0.08101223409175873, 0.3959047794342041, 0.0004025697708129883, -0.35156822204589844, 0.18109272420406342, 0.06661136448383331, -0.09209880232810974, 0.2383219450712204, 0.10774415731430054, -0.6577805280685425, 0.3997766375541687, 0.3976934850215912, -0.20714744925498962, -0.19148173928260803, 0.16394394636154175, 0.3201034367084503, -0.34249347448349, 0.17050454020500183, 0.03043803945183754, 0.20453953742980957, 0.2203003168106079, 0.16447813808918, 0.22394470870494843, -0.12208638340234756, -0.36288219690322876, 0.2520647346973419, 0.01700510084629059, -0.13081929087638855, 0.236251562833786, 0.08434280008077621, -0.1662893444299698, -0.4891981780529022, -0.33009010553359985, -0.08676721900701523, 0.14510895311832428, -0.20204196870326996, 0.13454042375087738, -0.0815349668264389, -0.36039116978645325, 0.12299542874097824, -0.11095958203077316, -0.5074860453605652, -0.5288941264152527, 0.020859263837337494, 0.16570866107940674, -0.2401987910270691, 0.2647371292114258, 0.014840185642242432, 0.6351026892662048, 0.21274134516716003, 0.15507157146930695, -0.45015835762023926, -0.22346074879169464, -0.15487068891525269, 0.09402650594711304, 0.03696172684431076, 0.08802265673875809, 0.4211156368255615, -0.09981716424226761, -0.3355582356452942, -0.22962947189807892, -0.33155742287635803, 0.2910444140434265, -0.21448113024234772, 0.2778502106666565, 0.38270333409309387, 0.4435266852378845, -0.014019912108778954, 0.01902996376156807, 0.3794792592525482, -0.3274177312850952, -0.07933205366134644, -0.15528002381324768, 0.006575028412044048, 0.11585744470357895, -0.2974435091018677, -0.3642606735229492, -0.14320774376392365, -0.4747394919395447, 0.5574836730957031, -0.28915587067604065, -0.07979297637939453, 0.14481240510940552, -0.08028721809387207, 0.37659376859664917, -0.24936792254447937, 0.016663208603858948, -0.3912372887134552, -0.6645721197128296, 0.01102236658334732, -0.16750618815422058, -0.23655615746974945, 0.032265547662973404, 0.3426477909088135, 0.09251432865858078, -0.17487862706184387, -0.5538517832756042, -0.37798362970352173, -0.08532703667879105, 0.39969730377197266, 0.08086755871772766, -0.21766947209835052, 0.16377215087413788, -0.2510296106338501, -0.2756711542606354, 0.019558146595954895, -0.1400817334651947, 0.10929569602012634, 0.004584785550832748, 0.0716961920261383, 0.05397823452949524, 0.52043217420578, -0.24601967632770538, 0.3158762454986572, 0.12521545588970184, 0.2358902394771576, 0.19917117059230804, -0.0876181572675705, 0.5541278123855591, -0.4859926998615265, 0.08335041999816895, 0.24389103055000305, 0.10006693005561829, -0.1468246579170227, 0.2709481120109558, 0.17703521251678467, -0.04918767511844635, -0.19679266214370728, -0.34239131212234497, 0.06574694067239761, -0.4556853771209717, 0.06379582732915878, 0.22517697513103485, 0.020158428698778152, 0.126750648021698, 0.038471728563308716, 0.02075035497546196, 0.044732049107551575, -0.07124462723731995, 0.07383745163679123, 0.11714063584804535, -0.1517026275396347, -0.390036016702652, 0.23912450671195984, -0.6795295476913452, 0.0765676349401474, -0.0987786054611206, 0.40336525440216064, -0.2887476980686188, -0.11033595353364944, 0.3710479736328125, -0.15479108691215515, 0.6004114151000977, -0.017004134133458138, 0.05574718862771988, 0.12027445435523987, -0.10575152188539505, -0.30370837450027466, 0.08512009680271149, 0.0651751160621643, 0.06028510630130768, 0.27889132499694824, 0.27183017134666443, -0.21228963136672974, -0.47832629084587097, 0.06566060334444046, -0.04410357028245926, -0.07025838643312454, -0.13510988652706146, -0.14001162350177765, -0.27036407589912415, -0.22858291864395142, 0.4278014302253723, 0.12615710496902466, -0.017122842371463776, -0.04992283880710602, -0.3511616587638855, 0.20841063559055328, 0.19559618830680847, -0.23162402212619781, 0.18118517100811005, -0.03994075953960419, -0.27021902799606323, 0.2440115511417389, 0.1533399224281311, 0.0822119414806366, -0.013937687501311302, 0.4287462532520294, -0.14545276761054993, -0.1970711648464203, 0.3201866149902344, -0.08649887144565582, 0.09436529874801636, 0.5467499494552612, 0.23576244711875916, 0.012890540063381195, 0.022052209824323654, 0.7466127276420593, -0.24577772617340088, 0.05973893031477928, 0.21380840241909027, 0.0744878277182579, -0.1655491441488266, -0.04989239573478699, 0.11193683743476868, -0.12389419972896576, -0.1519569754600525, 0.3541100323200226, 0.532726526260376, -0.009874671697616577, 0.1593323051929474, -0.1893843412399292, 1.0188156366348267, 0.050784800201654434, 0.2872515022754669, 0.37127044796943665, 0.043501466512680054, 0.4630143642425537, -0.3624735474586487, 0.10013440251350403, 0.007334817200899124, -0.03424033522605896, -0.04157636687159538, 0.050627995282411575, -0.011903181672096252, -0.18005776405334473, -0.2705622911453247, 0.1015460416674614, -0.09245701134204865, 0.10605684667825699, -0.16170048713684082, 0.1399735063314438, -0.3179242014884949, -0.13429825007915497, -0.36260634660720825, 0.28898879885673523, 0.12814584374427795, 0.09316053986549377, -0.17135918140411377, 0.093967504799366, 0.21087658405303955, -0.19706250727176666, -0.08390875160694122, -0.00732731819152832, 0.05142524838447571, -0.13249005377292633, 0.23248250782489777, 0.1745939701795578, -0.05833616480231285, 0.06189323961734772, -0.033455200493335724, 0.16902828216552734, -0.3754824101924896, 0.2829931676387787, -0.31597134470939636, 0.022338692098855972, -0.032856106758117676, -0.14133577048778534, 0.166616752743721, -0.18646225333213806, -0.3621894121170044, -0.00917074829339981, -0.2511155605316162, -0.09843909740447998, 0.044417351484298706, 0.08821867406368256, -0.14585834741592407, -0.299507200717926, 0.09001888334751129, -0.12116199731826782, -0.059711918234825134, -0.2092326134443283, 0.22059589624404907, 0.004485994577407837, -0.24824942648410797, 0.20203813910484314, 0.2914673388004303, -0.31807640194892883, -0.17693321406841278, 0.3886392116546631, -0.20353573560714722, 0.21519935131072998, 0.3123284876346588, 0.26633235812187195, -0.3072068691253662, -0.3537537157535553, -0.1400761902332306, 0.24620996415615082, -0.21369361877441406, 0.21621067821979523, 0.015955286100506783, -0.009681016206741333, 0.2381327599287033, 0.35669922828674316, 0.14205536246299744, -0.0472109392285347, -0.1092909723520279, -0.2477489858865738, -0.20208393037319183, 0.013743072748184204, 0.051326602697372437, 0.30017590522766113, 0.19222092628479004, 0.10150566697120667, 0.292232483625412, -0.07989039272069931, -0.41321074962615967, -0.006347069516777992, -0.6360074281692505, 0.2446606159210205, 0.2736924886703491, -0.47459468245506287, 0.21355833113193512, -0.25781580805778503, 0.12801572680473328, 0.3003159761428833, -0.424110472202301, -0.27380767464637756, 0.029515482485294342, 0.10855482518672943, -0.036492690443992615, -0.07344848662614822, -0.08795452862977982, -0.07648703455924988, -0.25095999240875244, 0.032348714768886566, 0.3372196853160858, 0.0409642830491066, -0.057856008410453796, -0.47808215022087097, 0.01202012225985527, 0.15791837871074677, 0.10990145802497864, 0.19523313641548157, 0.36607956886291504, 0.09720493853092194, -0.06644612550735474, -0.0659850463271141, -0.2911711037158966, -0.12676718831062317, 0.09218555688858032, 0.4676094353199005, 0.10574139654636383, 0.10044842958450317, 0.49668097496032715, 0.10639938712120056, -0.17423854768276215, 0.04922201484441757, 0.6014076471328735, 0.37286800146102905, -0.016860485076904297, -0.1931340992450714, 0.09377358853816986, 0.30956971645355225, -0.11234331876039505, -0.1941062957048416, 0.19477888941764832, -0.017803329974412918, 0.1160125583410263, -0.06738827377557755, 0.19984564185142517, 0.016537226736545563, -0.03002629429101944, 0.2651729881763458, 0.4450518786907196, -0.2502080798149109, -0.0610325001180172, -0.005997739732265472, -0.24089737236499786, 0.01980123296380043, 0.5007539391517639, 0.058332815766334534, 0.15723435580730438, 0.07522442936897278, -0.25300273299217224, 0.19638778269290924, -0.22304096817970276, 0.566918671131134, 0.11845807731151581, -0.3374898135662079, 0.15513695776462555, 0.02076965570449829, -0.4098852872848511, -0.15241339802742004, -0.09405113756656647, 0.2688492238521576, -0.41195088624954224, -0.3078826367855072, -0.13953596353530884, 0.5441713929176331, -0.26275700330734253, -0.08289042115211487, -0.0568464919924736, -0.10818097740411758, -0.017698965966701508, 0.10086831450462341, 0.08064764738082886, 0.10452751815319061, 0.4217822849750519, 0.10651475191116333, 0.27213147282600403, -0.3134801685810089, -0.19194918870925903, -0.374297559261322, 0.290114164352417, -0.15107397735118866, 0.1989510953426361, 0.12601834535598755, -0.08181759715080261, 0.14369195699691772, 0.33845067024230957, 0.5681933760643005, 0.03636886179447174, 0.11516417562961578, 0.2863069474697113, 0.007069452665746212, 0.008068090304732323, -0.22938737273216248, 0.20085641741752625, 0.23677653074264526, 0.06274247169494629, 0.2721100449562073, 0.2115550935268402, -0.24230556190013885, 0.1225651204586029, -0.19429199397563934, -0.038066018372774124, -0.2265356481075287, 0.1689009964466095, 0.09699242562055588, -0.03775923699140549, -0.4569607675075531, 0.06618379801511765, -0.37271732091903687, 0.11604155600070953, 0.18192583322525024, -0.2579769492149353, 0.14330637454986572, -0.32385554909706116, 0.13358017802238464, -0.20419739186763763, 0.7583192586898804, 0.18334874510765076, 0.28033125400543213, -0.023057200014591217, -0.2347094565629959, -0.3824121654033661, 0.03203778713941574, -0.05819958075881004, 0.06083860993385315, 0.14142470061779022, 0.12712830305099487, 0.06584083288908005, 0.05102960392832756, -0.005760326981544495, -0.019601862877607346, -0.059304215013980865, -0.22312641143798828, -0.293209046125412, 0.22570501267910004, 0.2752133011817932, -0.12439464032649994, 0.03785235434770584, -0.1971226930618286, 0.44431498646736145, -0.10002850741147995, 0.08024860173463821, 0.017245827242732048, 0.11490947008132935, -0.0623948760330677, 0.014447644352912903, 0.18763309717178345, 0.2664954662322998, 0.17466533184051514, 0.06009364873170853, -0.12304344028234482, -0.147808238863945, -0.26187577843666077, 0.09426475316286087, -0.025744229555130005, 0.05111698806285858, 0.004287416115403175, 0.02945668064057827, -0.13599342107772827, -0.1987679898738861, 0.06563360244035721, -0.08589282631874084, 0.2900771200656891, -0.10544992983341217, -0.10203568637371063, -0.2702959477901459, 0.2066488265991211, 0.0018575144931674004, 0.17356246709823608, 0.1295517235994339, -0.021828288212418556, -0.21501119434833527, -0.3373951017856598, 0.6708439588546753, 0.06072563678026199, -0.23176655173301697, -0.2858922779560089, 0.14544805884361267, 0.2529296278953552, -0.21639391779899597, -0.4603729248046875, 0.018029794096946716, 0.08100324869155884, 0.05202777683734894, -0.32564446330070496, 0.3729855716228485, -0.04458910971879959, 0.04466083273291588, -0.23262688517570496, 0.4401718080043793, 0.07674078643321991, -0.14268355071544647, 0.0691901445388794, -0.14153802394866943 ]
https://github.com/huggingface/datasets/pull/1944
Add Turkish News Category Dataset (270K - Lite Version)
> Thanks for changing to ClassLabel :) > This is all good now ! > > However I can see changes in other files than the ones for interpress_news_category_tr_lite, can you please fix that ? > To do so you can create another branch and another PR to only include the interpress_news_category_tr_lite files. > > Maybe this happened because of a git rebase ? Once you've already pushed your code, please use git merge instead of rebase in order to avoid this. Thanks for the feedback. New PR https://github.com/huggingface/datasets/pull/1967
This PR adds the Turkish News Categories Dataset (270K - Lite Version) dataset which is a text classification dataset by me, @basakbuluz and @serdarakyol. This dataset contains the same news from the current [interpress_news_category_tr dataset](https://huggingface.co/datasets/interpress_news_category_tr) but contains less information, OCR errors are reduced, can be easily separated, and can be divided into 10 classes ("kültürsanat", "ekonomi", "siyaset", "eğitim", "dünya", "spor", "teknoloji", "magazin", "sağlık", "gündem") were rearranged. @SBrandeis @lhoestq, can you please review this PR?
89
text: Add Turkish News Category Dataset (270K - Lite Version) This PR adds the Turkish News Categories Dataset (270K - Lite Version) dataset which is a text classification dataset by me, @basakbuluz and @serdarakyol. This dataset contains the same news from the current [interpress_news_category_tr dataset](https://huggingface.co/datasets/interpress_news_category_tr) but contains less information, OCR errors are reduced, can be easily separated, and can be divided into 10 classes ("kültürsanat", "ekonomi", "siyaset", "eğitim", "dünya", "spor", "teknoloji", "magazin", "sağlık", "gündem") were rearranged. @SBrandeis @lhoestq, can you please review this PR? > Thanks for changing to ClassLabel :) > This is all good now ! > > However I can see changes in other files than the ones for interpress_news_category_tr_lite, can you please fix that ? > To do so you can create another branch and another PR to only include the interpress_news_category_tr_lite files. > > Maybe this happened because of a git rebase ? Once you've already pushed your code, please use git merge instead of rebase in order to avoid this. Thanks for the feedback. New PR https://github.com/huggingface/datasets/pull/1967
[ 0.010983623564243317, -0.1302081197500229, -0.15327386558055878, 0.17546729743480682, 0.17595286667346954, 0.09832633286714554, 0.01997227966785431, 0.1849895417690277, -0.5246479511260986, -0.11500471830368042, -0.13561204075813293, 0.18907035887241364, -0.038741230964660645, 0.08493286371231079, -0.028023816645145416, -0.30107957124710083, 0.07131767272949219, -0.06357765197753906, 0.11206753551959991, -0.004514463245868683, -0.17690618336200714, 0.4422122836112976, -0.024353448301553726, 0.023128926753997803, -0.3782497048377991, -0.06250669807195663, -0.28571856021881104, 0.03818856179714203, -0.13498790562152863, -0.5504241585731506, 0.2381773144006729, 0.14654797315597534, -0.01366341020911932, 0.4625369608402252, -0.00010780047887237743, -0.029232114553451538, -0.20616887509822845, -0.13426928222179413, 0.027063783258199692, -0.09524630010128021, 0.2858538031578064, -0.5221009850502014, -0.24993903934955597, -0.31331878900527954, -0.11953519284725189, -0.21809209883213043, -0.23357687890529633, 0.10590499639511108, 0.2267613410949707, 0.3453921675682068, 0.22852814197540283, -0.27114227414131165, 0.048091720789670944, -0.015304028987884521, 0.193980872631073, 0.11597345769405365, -0.09549904614686966, 0.03805907070636749, 0.08056554198265076, 0.29770633578300476, 0.2621707022190094, 0.5266672372817993, -0.15421229600906372, -0.34945008158683777, 0.13839009404182434, -0.1077171266078949, 0.1101343184709549, -0.4056664705276489, 0.283724844455719, -0.08208262175321579, 0.31243905425071716, -0.31849607825279236, -0.1796415001153946, -0.3284214437007904, 0.15155835449695587, -0.5466597676277161, 0.07890283316373825, 0.30810442566871643, 0.14185629785060883, 0.2794690430164337, 0.06531011313199997, -0.023183923214673996, -0.3297536075115204, 0.11468887329101562, 0.013563498854637146, 0.20093978941440582, -0.08248439431190491, -0.011410750448703766, -0.009326707571744919, 0.25139909982681274, 0.022445285692811012, -0.0825992226600647, -0.4614321291446686, 0.12163276970386505, -0.08844642341136932, -0.12258999049663544, -0.1761295199394226, 0.2658880650997162, -0.011818749830126762, -0.016564860939979553, -0.16971851885318756, 0.13320522010326385, -0.048375412821769714, -0.07888671010732651, -0.04669278487563133, 0.3224051296710968, 0.3900712728500366, 0.2829201817512512, -0.06948557496070862, -0.04360419139266014, -0.0072373636066913605, 0.0018777400255203247, 0.03225966915488243, -0.16637055575847626, 0.0014116130769252777, 0.11539731174707413, 0.06711062043905258, -0.07682055979967117, 0.05575285106897354, 0.20971797406673431, -0.17596831917762756, -0.19089734554290771, -0.2732331454753876, 0.35814210772514343, 0.0006900751031935215, 0.1827312707901001, 0.18892520666122437, 0.22963254153728485, -0.050434306263923645, -0.1166074350476265, -0.083802230656147, 0.1116693913936615, -0.35714462399482727, 0.05678345263004303, -0.04954872652888298, -0.079827681183815, 0.12475419789552689, 0.10345921665430069, -0.19804643094539642, -0.22973757982254028, -0.3741588592529297, 0.08398815989494324, 0.45632708072662354, 0.17184513807296753, -0.2664293050765991, 0.12109749764204025, 0.24912969768047333, -0.15682044625282288, -0.19816827774047852, 0.3810507655143738, -0.15755870938301086, -0.4003540277481079, -0.3181779682636261, 0.21590009331703186, -0.028709977865219116, -0.06013373285531998, 0.1286989003419876, 0.4615437686443329, 0.16429954767227173, -0.0384942851960659, 0.27840396761894226, -0.03660231828689575, -0.0818021297454834, -0.027399491518735886, -0.17594242095947266, 0.1205204427242279, -0.24922554194927216, -0.3206979036331177, -0.14972837269306183, 0.07928016036748886, 0.3724110722541809, 0.18994653224945068, -0.07400514930486679, 0.07201265543699265, -0.05709129571914673, -0.03708085045218468, 0.4142114222049713, -0.07358808815479279, -0.5390037298202515, -0.1881825029850006, -0.2340182363986969, 0.07078525424003601, 0.4202973246574402, 0.23017102479934692, -0.118877112865448, -0.11705498397350311, -0.10937997698783875, -0.21360215544700623, 0.21153303980827332, 0.12933696806430817, -0.43496832251548767, -0.08130652457475662, -0.13050995767116547, -0.03698679804801941, 0.08748139441013336, 0.14083871245384216, -0.004823960363864899, 0.00033223070204257965, 0.3915209174156189, -0.14219588041305542, 0.002537322696298361, 0.3907729983329773, 0.4544801414012909, 0.32872557640075684, 0.07188877463340759, -0.13392028212547302, -0.026992321014404297, -0.06120169907808304, 0.10003970563411713, 0.3976331949234009, 0.2277718335390091, -0.5007973909378052, -0.28090542554855347, -0.17648862302303314, -0.26077237725257874, -0.46522966027259827, 0.18826355040073395, 0.41187992691993713, 0.04643036797642708, 0.17974811792373657, -0.0381280742585659, 0.49060535430908203, -0.15192756056785583, 0.08724891394376755, 0.0028655529022216797, 0.16488315165042877, -0.40338531136512756, -0.08439138531684875, -0.20859134197235107, 0.2921939790248871, 0.11708074808120728, -0.1768791526556015, -0.09391296654939651, 0.11311499029397964, -0.24773763120174408, -0.14509662985801697, 0.015047214925289154, 0.2847387194633484, 0.22251878678798676, -0.2225187122821808, -0.07790425419807434, -0.33136212825775146, -0.29997017979621887, 0.11514628678560257, -0.05296894907951355, 0.3919030427932739, 0.15819163620471954, -0.1354072093963623, -0.009451594203710556, -0.3380831182003021, -0.008048661053180695, -0.22676675021648407, 0.04009243845939636, -0.08045679330825806, 0.28596803545951843, 0.04637026786804199, -0.1274348348379135, 0.2070889174938202, -0.13833820819854736, 0.3192453682422638, 0.7267546057701111, -0.02344542369246483, -0.04830942302942276, 0.3175238370895386, -0.22729596495628357, 0.11458685249090195, -0.04830874502658844, 0.3156556189060211, 0.10363810509443283, 0.27946823835372925, -0.1893642246723175, 0.35384947061538696, 0.2708972096443176, -0.21543797850608826, 0.28843942284584045, 0.20019282400608063, -0.0236552432179451, 0.22337517142295837, 0.275954931974411, 0.46098092198371887, -0.2748255431652069, 0.10421891510486603, -0.004496944136917591, 0.1521117240190506, -0.1130400076508522, 0.09168162941932678, 0.06852222234010696, -0.3999752700328827, -0.3146589696407318, -0.014813351444900036, -0.103872150182724, -0.15231476724147797, 0.20072714984416962, -0.1992555856704712, 0.05079234763979912, 0.23442503809928894, 0.41665562987327576, 0.19385382533073425, -0.0904068797826767, 0.06343603879213333, -0.08432963490486145, -0.18833573162555695, -0.29786381125450134, 0.12009766697883606, 0.1923123598098755, -0.1956869661808014, 0.40119701623916626, -0.31141197681427, -0.17720293998718262, -0.1497504711151123, -0.854174792766571, 0.10700176656246185, -0.2537845969200134, -0.13018521666526794, -0.030251264572143555, 0.2037895917892456, -0.21604284644126892, -0.3648213744163513, 0.17361502349376678, 0.017409952357411385, -0.25421762466430664, -0.07962451875209808, -0.259487122297287, 0.11209942400455475, -0.16227301955223083, -0.6893161535263062, -0.3529850244522095, -0.34547778964042664, 0.37057238817214966, 0.05265438184142113, 0.054239340126514435, 0.24329818785190582, 0.036767005920410156, -0.2774956524372101, -0.08423545211553574, 0.2545073628425598, -0.2581539750099182, -0.03545662760734558, -0.05750451609492302, -0.083990678191185, -0.2736346423625946, -0.011288229376077652, 0.027528923004865646, -0.1526290476322174, -0.42624402046203613, -0.5540367960929871, -0.2779916524887085, -0.10654622316360474, 0.31396856904029846, 0.1027342900633812, 0.23038358986377716, 0.3955816924571991, 0.16198353469371796, -0.12993137538433075, 0.07473689317703247, -0.2304956316947937, -0.20288294553756714, -0.13523271679878235, 0.12378571182489395, -0.31934481859207153, 0.19855272769927979, 0.16590365767478943, 0.3747679591178894, 0.21030662953853607, -0.29258963465690613, 0.23704521358013153, 0.028860121965408325, 0.4349346160888672, -0.31685829162597656, -0.42721912264823914, 0.13722334802150726, -0.19525322318077087, 0.12058725953102112, 0.4437354803085327, -0.13342538475990295, -0.1255275160074234, 0.07451590895652771, -0.07610398530960083, -0.3114379048347473, -0.1617717295885086, 0.22586891055107117, 0.31286734342575073, 0.14261962473392487, -0.10845716297626495, -0.3982211649417877, -0.2857879102230072, -0.1848852038383484, 0.23920400440692902, 0.36992770433425903, -0.32871323823928833, 0.10862081497907639, -0.6562330722808838, -0.10503401607275009, -0.3445046544075012, 0.2182571440935135, 0.09668906033039093, -0.3707944452762604, -0.17538604140281677, -0.08556462079286575, 0.1160132959485054, 0.07318000495433807, 0.16089795529842377, -0.26403695344924927, -0.1476534903049469, 0.20131799578666687, -0.006224513053894043, 0.05836239457130432, -0.2000122219324112, -0.18695352971553802, 0.2670224606990814, 0.8367350697517395, 0.23625463247299194, -0.24250590801239014, 0.0017792677972465754, 0.23654794692993164, -0.020676756277680397, -0.01815386861562729, 0.0017600813880562782, -0.2806967794895172, -0.20158398151397705, -0.4653477966785431, 0.17624688148498535, 0.11699578911066055, 0.22176077961921692, -0.3926847577095032, 0.11545494198799133, 0.21480514109134674, 0.1416795551776886, 0.08590057492256165, -0.023684777319431305, 0.18168911337852478, 0.2815978229045868, -0.28311124444007874, -0.14468973875045776, 0.22132983803749084, 0.22232577204704285, 0.7771176695823669, -0.023101434111595154, -0.6988261342048645, 0.09059759229421616, -0.20450754463672638, 0.22776277363300323, 0.28949713706970215, 0.3403644859790802, 0.2627984583377838, -0.032255783677101135, 0.18580485880374908, -0.006856638006865978, 0.11529278010129929, 0.27255779504776, 0.10252353549003601, -0.33724576234817505, -0.20162028074264526, 0.41872358322143555, -0.009851747192442417, -0.24321214854717255, 0.030959654599428177, 0.1702713668346405, -0.2163269966840744, 0.4023827314376831, 0.05051383376121521, 1.1318238973617554, 0.0901801809668541, 0.31294116377830505, -0.025906160473823547, -0.021203741431236267, 0.5791946053504944, -0.2536733150482178, 0.16076359152793884, -0.49335387349128723, -0.06699787825345993, 0.09422498196363449, 0.030271124094724655, 0.14066819846630096, 0.003884159028530121, -0.33082661032676697, -0.1758836805820465, -0.09851418435573578, -0.09533068537712097, 0.0644749104976654, 0.12509088218212128, 0.057132184505462646, 0.004599983803927898, -0.46627020835876465, 0.08638755232095718, 0.20476844906806946, 0.31695756316185, -0.1406959891319275, -0.11761526763439178, -0.4009433090686798, -0.003440968692302704, -0.4414692521095276, -0.3175009489059448, -0.28460317850112915, -0.17864257097244263, -0.05032990500330925, -0.2437848001718521, 0.09999652206897736, 0.5331275463104248, 0.8756365776062012, 0.020553110167384148, 0.12895800173282623, 0.14476463198661804, -0.010272033512592316, -0.10841400176286697, 0.3343501091003418, 0.00831081997603178, 0.1981566697359085, -0.12839668989181519, -0.3448683023452759, 0.2463865876197815, -0.0007600290700793266, -0.15188711881637573, -0.24606633186340332, -0.17867277562618256, 0.13824613392353058, -0.2803099453449249, -0.014897878281772137, 0.17742055654525757, -0.12124620378017426, -0.25856807827949524, 0.16981545090675354, -0.22316955029964447, -0.26254791021347046, -0.19075950980186462, 0.0522162951529026, -0.30827710032463074, -0.12423886358737946, 0.133202463388443, 0.37752434611320496, 0.09552384912967682, 0.38140392303466797, 0.032965537160634995, -0.011898709461092949, -0.21969592571258545, 0.05290113389492035, 0.3619934022426605, -0.3633725941181183, -0.22081738710403442, 0.13644349575042725, -0.3946513533592224, 0.2883232831954956, 0.3968331515789032, 0.35139548778533936, 0.2904241681098938, -0.24135354161262512, -0.166967511177063, -0.10239020735025406, 0.03197899088263512, 0.17402318120002747, 0.22173479199409485, 0.041089728474617004, 0.32257509231567383, -0.012419071979820728, 0.3499671220779419, -0.38336002826690674, -0.15160927176475525, -0.09387939423322678, 0.08963204175233841, 0.10513900220394135, -0.01586676388978958, -0.03602055460214615, 0.04708458483219147, 0.0949656069278717, 0.21252261102199554, -0.18837548792362213, -0.2403382658958435, 0.019092679023742676, 0.13489453494548798, -0.0041395146399736404, 0.2356289029121399, -0.1826058030128479, 0.24868150055408478, 0.22648029029369354, 0.027052605524659157, 0.20883366465568542, -0.027546774595975876, 0.06290791183710098, 0.41677701473236084, -0.14678213000297546, 0.09705156832933426, 0.13945429027080536, -0.21248017251491547, -0.20316630601882935, 0.17296171188354492, 0.2695697247982025, 0.0633949562907219, -0.14341960847377777, 0.05246038734912872, -0.041420433670282364, 0.011561349034309387, 0.13682714104652405, 0.2024235725402832, 0.09476211667060852, -0.32796210050582886, 0.2021988183259964, 0.29990366101264954, 0.053710244596004486, -0.12131433188915253, -0.3043953478336334, -0.05790744721889496, 0.0038897478953003883, 0.2749783396720886, -0.43155571818351746, -0.290094792842865, 0.24413985013961792, -0.33552640676498413, 0.016126979142427444, 0.13047973811626434, 0.4222874343395233, 0.17844194173812866, 0.2896941900253296, 0.12252666801214218, 0.5000528693199158, -0.0044801607728004456, 0.26507067680358887, 0.11976969242095947, -0.07078761607408524, 0.05465041100978851, 0.23053434491157532, 0.08976855129003525, -0.044541336596012115, 0.12166385352611542, 0.07769331336021423, 0.286861389875412, -0.1252606213092804, 0.0474071130156517, 0.08715754002332687, 0.011623967438936234, 0.4789979159832001, 0.2916843295097351, 0.01947356015443802, 0.11884026229381561, 0.0758228749036789, -0.09071411937475204, 0.009262940846383572, -0.46152204275131226, -0.08934774249792099, 0.2673031687736511, -0.1729993224143982, 0.13303731381893158, -0.19625751674175262, -0.06280741095542908, 0.20443204045295715, -0.08667322993278503, -0.13924632966518402, -0.04656168818473816, 0.36742666363716125, 0.017133254557847977, -0.3540232181549072, -0.06221925467252731, -0.36712315678596497, -0.1419355869293213, 0.5357739925384521, -0.0535908006131649, 0.3661491870880127, 0.12306459993124008, -0.29747363924980164, 0.2246919870376587, 0.3280225694179535, 0.3659954071044922, 0.11689545214176178, 0.3321162164211273, 0.10375965386629105, -0.1376694291830063, -0.06294717639684677, 0.127864807844162, -0.008265390992164612, 0.32627975940704346, 0.06155041232705116, -0.04798994958400726, 0.15133582055568695, -0.14133480191230774, 0.028775500133633614, 0.15389332175254822, 0.07589232921600342, -0.00850679911673069, -0.09065394848585129, -0.14960063993930817, -0.48086145520210266, -0.10541202127933502, 0.015792816877365112, -0.08979436010122299, 0.07610879838466644, 0.31256863474845886, 0.06779573857784271, 0.14946666359901428, -0.19570836424827576, 0.13551092147827148, 0.24524399638175964, 0.27817484736442566, 0.30622339248657227, -0.08450483530759811, 0.0014833444729447365, -0.37608766555786133, -0.4934043288230896, 0.36637184023857117, 0.1630861759185791, -0.17472659051418304, 0.03619052469730377, -0.2246580719947815, 0.21598419547080994, 0.005846623331308365, 0.06035010516643524, -0.36729559302330017, 0.21126221120357513, 0.06595064699649811, -0.6516649127006531, 0.20971152186393738, 0.43315136432647705, 0.18931221961975098, 0.014299586415290833, -0.0324605256319046, 0.13979972898960114, -0.011605191975831985, 0.08054245263338089, -0.21506382524967194, 0.19454357028007507, -0.06867340207099915, 0.21698066592216492, 0.18656966090202332, 0.1287536770105362, 0.2996426224708557, -0.23388171195983887, -0.18175923824310303, 0.25120067596435547, -0.1792510598897934, -0.2705664038658142, 0.47621387243270874, 0.04869896546006203, 0.53681480884552, -0.1847587525844574, -0.31016114354133606, 0.08785049617290497, 0.10796956717967987, 0.3820648789405823, -0.11548109352588654, -0.29781386256217957, -0.08016515523195267, 0.30835381150245667, 0.09509628266096115, 0.2796984016895294, 0.4800589978694916, 0.18378807604312897, 0.06521203368902206, -0.3592092990875244, -0.37524351477622986, 0.5486901998519897, -0.3263554573059082, -0.10416454076766968, 0.1963159739971161, 0.09675061702728271, 0.08295204490423203, 0.047138068825006485, -0.49079859256744385, -0.010273255407810211, 0.37341323494911194, 0.012269506230950356, -0.2883256673812866, 0.2973323166370392, -0.1943502277135849, -0.0554569847881794, 0.0034672096371650696, 0.25978630781173706, -0.016583222895860672, -0.2923264503479004, 0.06019098684191704, -0.2849801182746887 ]
https://github.com/huggingface/datasets/pull/1943
Implement Dataset from JSON and JSON Lines
Thanks @lhoestq. I was trying to follow @thomwolf suggestion about integrating that script but as `from_json` method... > Note that I don't think this is necessary a breaking change, we can still keep the old scripts around Do you think there is a better way of doing it? I was trying to implement more or less the same logic as in the script, but I confess I assumed the target was in-memory only...
Implement `Dataset.from_jsonl`.
73
text: Implement Dataset from JSON and JSON Lines Implement `Dataset.from_jsonl`. Thanks @lhoestq. I was trying to follow @thomwolf suggestion about integrating that script but as `from_json` method... > Note that I don't think this is necessary a breaking change, we can still keep the old scripts around Do you think there is a better way of doing it? I was trying to implement more or less the same logic as in the script, but I confess I assumed the target was in-memory only...
[ -0.15741857886314392, 0.06263300776481628, -0.19035905599594116, -0.06688524782657623, -0.08574233204126358, -0.22915229201316833, -0.03082822635769844, 0.3533594012260437, 0.23598873615264893, -0.0719241052865982, 0.36958828568458557, 0.5801677107810974, -0.055622443556785583, 0.2992580235004425, 0.1274874359369278, 0.22975510358810425, -0.06857553869485855, 0.2158896028995514, -0.48972150683403015, 0.05952133238315582, -0.20910832285881042, 0.03784025087952614, -0.027108430862426758, -0.283727765083313, 0.2855561077594757, -0.14387521147727966, 0.08728437125682831, 0.16485705971717834, -0.07928327471017838, -0.3568623661994934, 0.049537017941474915, 0.11102329194545746, -0.13529837131500244, 0.10653690248727798, -0.00010638606909196824, -0.07550179213285446, 0.3283047676086426, -0.3041931092739105, -0.09365975856781006, 0.05218656361103058, -0.3067808449268341, -0.17302969098091125, 0.17564618587493896, -0.4460986852645874, 0.2322484254837036, 0.20051413774490356, 0.11907917261123657, -0.3064785301685333, 0.46094489097595215, 0.10860777646303177, 0.26848888397216797, -0.052790042012929916, 0.07062773406505585, 0.06901489198207855, -0.05938797444105148, 0.20201115310192108, 0.13337059319019318, -0.0009995754808187485, 0.2592366933822632, 0.19651608169078827, 0.11591734737157822, 0.11943627893924713, -0.17408302426338196, -0.44650962948799133, 0.5294249057769775, -0.2838572561740875, -0.31296849250793457, 0.04089777171611786, -0.1083979681134224, -0.1451624631881714, 0.40361487865448, -0.2863285541534424, -0.059386447072029114, 0.026494726538658142, -0.35851359367370605, -0.2030174881219864, -0.11888139694929123, -0.19898957014083862, -0.20084229111671448, 0.3216048777103424, -0.17797069251537323, -0.5499285459518433, -0.27897709608078003, -0.0008955895900726318, 0.15463398396968842, 0.23024386167526245, 0.0721588283777237, 0.05541427806019783, 0.0005330033600330353, 0.14456549286842346, 0.2692054212093353, 0.30572274327278137, -0.10860933363437653, 0.00877205841243267, 0.09475445747375488, -0.2549939453601837, 0.16762229800224304, -0.25825539231300354, 0.17657732963562012, 0.26071587204933167, 0.439156174659729, 0.14638300240039825, -0.09883686900138855, 0.23457571864128113, 0.2579379081726074, -0.060367047786712646, 0.13359324634075165, -0.09931475669145584, 0.27447718381881714, 0.05792766436934471, -0.0007936730980873108, -0.08615555614233017, -0.04910145327448845, -0.1564587652683258, 0.14410287141799927, 0.0823521614074707, 0.18752875924110413, -0.06949697434902191, -0.16436554491519928, -0.2101062685251236, -0.3777620792388916, -0.32132217288017273, -0.1884409636259079, 0.19590838253498077, 0.16877403855323792, 0.3970208168029785, 0.4864940047264099, -0.16299228370189667, 0.052177466452121735, -0.19393065571784973, -0.07624174654483795, 0.48811057209968567, -0.02067447453737259, -0.12838812172412872, -0.09243893623352051, 0.3121103048324585, 0.07766374200582504, -0.12487775832414627, -0.011453419923782349, -0.05029236152768135, 0.2103552669286728, 0.07792505621910095, 0.361091673374176, -0.11890414357185364, -0.05140208080410957, -0.2663746476173401, -0.005299460142850876, 0.06375795602798462, -0.3003790080547333, 0.31288355588912964, -0.27110135555267334, -0.19311614334583282, 0.25177404284477234, 0.25482505559921265, 0.019577976316213608, -0.2373809814453125, -0.17212766408920288, 0.2795388996601105, -0.2554309666156769, -0.1265997439622879, -0.012860901653766632, 0.08695295453071594, 0.10290747880935669, -0.247569277882576, -0.04465498775243759, 0.32964521646499634, -0.7680537700653076, 0.21238353848457336, 0.123412124812603, -0.19791506230831146, 0.016102761030197144, -0.13475999236106873, -0.33709150552749634, 0.5387882590293884, -0.24270839989185333, -0.08290599286556244, 0.3936353027820587, -0.4580135643482208, -0.009461315348744392, 0.3530604839324951, -0.1003047376871109, -0.09682358801364899, 0.35041549801826477, 0.16304369270801544, 0.11615011841058731, 0.0011796567123383284, 0.31138020753860474, 0.24293051660060883, 0.0033302605152130127, 0.07021748274564743, -0.03860487788915634, -0.29395195841789246, 0.005538716912269592, 0.041194308549165726, 0.16213682293891907, 0.08700557053089142, 0.021618850529193878, 0.07628849893808365, 0.3452483117580414, -0.08279897272586823, -0.009809273295104504, 0.10101888328790665, 0.3314080238342285, -0.245868518948555, -0.0107882684096694, -0.11884555965662003, -0.2513124942779541, -0.243341326713562, 0.15594279766082764, 0.04034190624952316, -0.024156853556632996, -0.24231339991092682, -0.1426689326763153, 0.1276504397392273, 0.10111097246408463, -0.028186585754156113, 0.19443538784980774, 0.04804902896285057, -0.09733244776725769, -0.5533973574638367, -0.46920979022979736, 0.23592308163642883, 0.22210152447223663, -0.23278629779815674, -0.38673681020736694, 0.09752921015024185, -0.06654178351163864, -0.06851691007614136, 0.22392722964286804, -0.11636736243963242, -0.0631474182009697, -0.24056358635425568, 0.1410561203956604, 0.2905612587928772, 0.1593182533979416, 0.17443445324897766, 0.05910513550043106, 0.058236926794052124, -0.2499590814113617, -0.02661309391260147, 0.12144041806459427, 0.18136383593082428, 0.11415691673755646, -0.02298251911997795, 0.066761814057827, 0.32719820737838745, -0.0718197375535965, 0.22999045252799988, 0.1724977344274521, -0.2627958655357361, 0.11339035630226135, -0.10922165960073471, -0.21662048995494843, -0.1713392734527588, -0.220123752951622, 0.3734445869922638, -0.29400119185447693, -0.005961647257208824, -0.3984290659427643, 0.02436266839504242, 0.6497094631195068, -0.010013500228524208, 0.048949211835861206, 0.1009422242641449, 0.2420644760131836, -0.09361252188682556, -0.09266498684883118, 0.1447852998971939, 0.25816118717193604, 0.35744839906692505, -0.27448761463165283, 0.35682955384254456, 0.45240360498428345, -0.12685859203338623, 0.1381559669971466, 0.1007477194070816, 0.30930671095848083, -0.0049162358045578, 0.043281931430101395, -0.2031354010105133, -0.13310213387012482, -0.37816616892814636, -0.0351383350789547, -0.041600994765758514, -0.17312118411064148, 0.0489986389875412, -0.2341638207435608, -0.05304001644253731, -0.31460320949554443, -0.003901643678545952, 0.13525374233722687, -0.349473237991333, -0.08522175252437592, 0.19205866754055023, -0.3446545898914337, 0.09858231991529465, -0.1845213770866394, 0.4213958978652954, -0.19553688168525696, -0.12958817183971405, -0.09176662564277649, -0.07294800877571106, 0.10910259932279587, 0.13661959767341614, 0.21945737302303314, 0.13279713690280914, 0.47440052032470703, -0.21712848544120789, -0.1467083990573883, 0.04904019087553024, -0.18876294791698456, 0.15841105580329895, 0.05868781358003616, 0.041555434465408325, 0.5232217311859131, 0.08093493431806564, -0.05730550363659859, -0.1271868348121643, -0.1789579689502716, -0.2749493420124054, -0.23319721221923828, -0.4604022800922394, -0.03201694041490555, 0.09346423298120499, -0.20305438339710236, -0.4875103533267975, -0.0657825618982315, -0.5479951500892639, 0.2619640827178955, 0.11476719379425049, 0.28586533665657043, -0.3512321412563324, -0.22730155289173126, 0.20064058899879456, 0.23709425330162048, 0.10278260707855225, -0.004575321450829506, 0.0931822657585144, 0.24760553240776062, -0.24028651416301727, 0.05500756949186325, 0.24605301022529602, -0.08501886576414108, 0.4155498445034027, -0.01828736625611782, -0.2585175633430481, -0.3514476418495178, 0.1675863415002823, -0.048217497766017914, -0.25701016187667847, 0.02745247259736061, 0.38763442635536194, 0.06069933623075485, -0.2921392619609833, -0.2164292335510254, -0.3035162091255188, 0.27011731266975403, -0.24873685836791992, -0.16121137142181396, 0.38092514872550964, 0.7091137766838074, 0.007641807198524475, 0.2835580110549927, -0.1842450648546219, 0.003596331924200058, 0.17626968026161194, -0.14598844945430756, 0.05547575280070305, -0.07136445492506027, 0.0038650259375572205, -0.16931922733783722, 0.04368946701288223, -0.39431536197662354, -0.0945986658334732, -0.2694494426250458, -0.04464941471815109, -0.3821358382701874, -0.23706556856632233, -0.40154796838760376, -0.2244744747877121, 0.2914336323738098, -0.02729896456003189, -0.01789054274559021, -0.030923275277018547, 0.007165871560573578, -0.02903224714100361, 0.40235620737075806, 0.03735967352986336, -0.016010574996471405, 0.40480178594589233, -0.07222060114145279, -0.7007220983505249, -0.24110369384288788, -0.21890315413475037, 0.35061585903167725, -0.0722561925649643, 0.08601749688386917, 0.03414994850754738, -0.2557048499584198, -0.14618273079395294, -0.4634675085544586, 0.5797078013420105, 0.07973890751600266, -0.13033807277679443, 0.08050580322742462, -0.08975334465503693, 0.005212768912315369, 0.25688430666923523, -0.29416653513908386, 0.23538966476917267, 0.4029923677444458, -0.13075177371501923, -0.4342116117477417, -0.029376527294516563, 0.3400195240974426, -0.025963779538869858, -0.028984664008021355, -0.16584664583206177, -0.008817870169878006, -0.5001434683799744, -0.5819374322891235, -0.03934673219919205, 0.5025727152824402, -0.04303130879998207, 0.016382507979869843, -0.21706975996494293, 0.2200566828250885, -0.19336095452308655, 0.24529658257961273, -0.017376061528921127, 0.2050173580646515, -0.04771733656525612, -0.16687621176242828, -0.41778722405433655, 0.3303288221359253, 0.42776668071746826, 0.5128837823867798, 0.04299446567893028, -0.10430461168289185, 0.07481563836336136, -0.04223309084773064, 0.7826205492019653, 0.30353063344955444, 0.13084352016448975, 0.45888814330101013, -0.04274044185876846, -0.015886172652244568, 0.053268350660800934, -0.284174382686615, -0.19641438126564026, -0.20681904256343842, -0.07251245528459549, -0.39933252334594727, 0.23424038290977478, 0.028160247951745987, -0.05463193729519844, -0.1394413709640503, -0.1461261808872223, -0.520746111869812, 0.31159937381744385, 0.162847638130188, 1.0041708946228027, 0.3626794219017029, 0.04627421498298645, 0.17524272203445435, -0.14938172698020935, 0.385682076215744, -0.14934155344963074, 0.08128650486469269, -0.4678820073604584, 0.4621778130531311, -0.10733049362897873, -0.24927349388599396, 0.06403681635856628, 0.11620571464300156, -0.4660545289516449, 0.19453515112400055, -0.3304211497306824, 0.07957176864147186, -0.17644169926643372, 0.4260898530483246, -0.16101400554180145, -0.11620615422725677, -0.3628920018672943, 0.10049104690551758, -0.05652167648077011, -0.3350902199745178, -0.2761959731578827, -0.2986297607421875, -0.04308110848069191, -0.17089614272117615, 0.0026081353425979614, 0.08837712556123734, 0.05696042999625206, 0.08238592743873596, 0.03915674239397049, 0.21260760724544525, 0.2539215683937073, 0.0552305169403553, 0.27060699462890625, 0.24785038828849792, 0.037721939384937286, 0.15908467769622803, -0.22652050852775574, 0.01637669838964939, 0.05226024612784386, 0.05611554533243179, 0.4084831476211548, -0.30796530842781067, -0.3151395618915558, 0.12694749236106873, -0.15211786329746246, -0.614775538444519, -0.18587392568588257, 0.09669405221939087, 0.10107794404029846, -0.16624370217323303, -0.4659237265586853, 0.4425255358219147, -0.12498360872268677, -0.1574210226535797, 0.17252404987812042, 0.21683795750141144, -0.10636189579963684, 0.11149744689464569, 0.2561635673046112, 0.00917479395866394, -0.0042338259518146515, -0.02294737845659256, 0.05155353993177414, -0.05814383178949356, 0.355108380317688, 0.20577378571033478, -0.1375504583120346, -0.39390435814857483, 0.0388299897313118, 0.6789562702178955, 0.08023325353860855, 0.06584323942661285, 0.10302983224391937, 0.0012823790311813354, 0.03363828733563423, 0.3087766170501709, -0.0007788091897964478, 0.4042825400829315, -0.23274458944797516, -0.21688368916511536, -0.32480883598327637, 0.5139248967170715, 0.17184361815452576, 0.06957852840423584, 0.1578056812286377, 0.11158771812915802, -0.2233302891254425, 0.19638215005397797, -0.4132804870605469, -0.006237081252038479, 0.10866423696279526, 0.11703378707170486, 0.12090930342674255, 0.004729509353637695, -0.04014042764902115, 0.02172795496881008, 0.17442092299461365, 0.28218895196914673, -0.3171772360801697, -0.1791079342365265, 0.04802775755524635, 0.10436685383319855, -0.065181665122509, -0.0348539724946022, 0.0249238982796669, -0.21321584284305573, -0.25273072719573975, 0.192690908908844, 0.0487748347222805, -0.04184328764677048, -0.012258268892765045, 0.23508533835411072, 0.17325520515441895, 0.041856952011585236, -0.1903637945652008, -0.058437660336494446, 0.1446220427751541, 0.5871827602386475, -0.3341754376888275, 0.28139418363571167, -0.23778954148292542, -0.05145695060491562, -0.1450868397951126, 0.2956453859806061, 0.3867453336715698, 0.7712621092796326, 0.11362704634666443, -0.021043628454208374, -0.09552846848964691, -0.03753012791275978, 0.24045118689537048, 0.3238376975059509, -0.34974023699760437, 0.2524748742580414, -0.002422807738184929, 0.3107214868068695, -0.1730761080980301, 0.21673941612243652, -0.08666978776454926, -0.43698909878730774, -0.09752604365348816, 0.29428938031196594, 0.04821320250630379, 0.02931496500968933, 0.10686153173446655, -0.0013830140233039856, 0.3870101571083069, -0.09651834517717361, -0.09118816256523132, -0.0518563948571682, -0.32491335272789, -0.1333397775888443, 0.16542355716228485, 0.30682653188705444, 0.4161611795425415, 0.3075936436653137, 0.08178308606147766, 0.26979705691337585, 0.26299193501472473, 0.24985407292842865, -0.0278034508228302, 0.13508078455924988, 0.146663635969162, 0.39933595061302185, 0.2549540102481842, 0.24566864967346191, 0.2385936975479126, 0.08168026804924011, 0.2047540694475174, 0.010415511205792427, 0.116496242582798, 0.15363329648971558, 0.06744717806577682, 0.025815293192863464, -0.4086122214794159, -0.10979405790567398, -0.12227797508239746, -0.139874666929245, 0.06325969845056534, 0.017383195459842682, -0.18415629863739014, 0.1040925681591034, 0.053407829254865646, 0.21708367764949799, 0.4248405992984772, -0.4545004069805145, 0.40257933735847473, -0.3935120701789856, -0.10928057879209518, 0.014699593186378479, 0.19378603994846344, 0.15329574048519135, 0.13677752017974854, 0.22601476311683655, 0.366814523935318, 0.11702141165733337, -0.12329014390707016, -0.22171342372894287, -0.11287062615156174, -0.23685531318187714, -0.1572628617286682, 0.32443752884864807, 0.03310185670852661, 0.2826880216598511, 0.25100016593933105, -0.2291891872882843, 0.14157763123512268, 0.3659173250198364, -0.09596000611782074, -0.04630020633339882, 0.27450326085090637, 0.3570755422115326, -0.31061851978302, -0.08181028813123703, 0.11508579552173615, -0.30445241928100586, -0.5007534027099609, 0.006760140880942345, -0.23503723740577698, 0.023829061537981033, -0.12408678978681564, 0.15239086747169495, -0.010800473392009735, 0.22076363861560822, 0.04145073518157005, 0.10295648872852325, 0.15400291979312897, -0.172065868973732, -0.20738373696804047, -0.008505091071128845, 0.34709692001342773, -0.14403735101222992, -0.052681419998407364, 0.10638110339641571, 0.2864682376384735, -0.12901140749454498, -0.05696581304073334, -0.19898852705955505, -0.17726339399814606, -0.08295270800590515, -0.17401377856731415, -0.021520540118217468, 0.20072327554225922, 0.09573406726121902, 0.20091645419597626, -0.09212575107812881, -0.12754474580287933, -0.22039540112018585, 0.1776934564113617, -0.3166224956512451, 0.04574333131313324, 0.25748735666275024, 0.1956092119216919, 0.3730428218841553, 0.13601775467395782, 0.3505476117134094, -0.32805511355400085, -0.26224884390830994, 0.3028937876224518, -0.18869386613368988, -0.369371622800827, 0.3268679976463318, 0.12606050074100494, 0.2578233480453491, -0.0843990221619606, 0.043138954788446426, -0.14625678956508636, -0.08498402684926987, -0.49273252487182617, -0.06469089537858963, -0.31634965538978577, 0.1810794472694397, -0.2747247517108917, 0.1213865727186203, -0.10580457001924515, 0.12864381074905396, -0.0037140995264053345, -0.16581471264362335, -0.36771851778030396, 0.10645347833633423, 0.46266406774520874, 0.39953160285949707, -0.3036171495914459, 0.0637640655040741, 0.1977980136871338, -0.26945728063583374, -0.09660768508911133, -0.37832075357437134, -0.01970815658569336, 0.25181207060813904, 0.15090632438659668, 0.008334875106811523, 0.46136990189552307, -0.06012433394789696, -0.07953909039497375, -0.11321702599525452, 0.10457773506641388, 0.06498564779758453, -0.11901256442070007, -0.36463662981987, -0.1855614185333252 ]
https://github.com/huggingface/datasets/pull/1943
Implement Dataset from JSON and JSON Lines
Basically, I was trying to reimplement `Json(datasets.ArrowBasedBuilder)._generate_tables`, and no writing to arrow file (I assumed only in-memory usage). I started with the first "else" clause... I was planning to remove my `_cast_table_to_info_features` and use `paj.read_json(parse_options=...)` instead (like in the script).
Implement `Dataset.from_jsonl`.
40
text: Implement Dataset from JSON and JSON Lines Implement `Dataset.from_jsonl`. Basically, I was trying to reimplement `Json(datasets.ArrowBasedBuilder)._generate_tables`, and no writing to arrow file (I assumed only in-memory usage). I started with the first "else" clause... I was planning to remove my `_cast_table_to_info_features` and use `paj.read_json(parse_options=...)` instead (like in the script).
[ 0.015113148838281631, 0.026783153414726257, -0.1233903169631958, 0.11327436566352844, 0.2000429928302765, -0.04351180046796799, -0.26354730129241943, 0.400434672832489, -0.11586697399616241, -0.07970283925533295, 0.474537193775177, 0.7758729457855225, 0.06787650287151337, -0.1644037365913391, 0.06915637850761414, -0.014251261949539185, 0.11581064760684967, 0.5046737194061279, 0.20297494530677795, 0.11801321804523468, -0.4628641903400421, 0.2540583610534668, -0.15944038331508636, 0.08007411658763885, 0.1821272075176239, 0.022975565865635872, -0.056832052767276764, 0.05253830924630165, -0.31395745277404785, -0.3816642463207245, -0.11264477670192719, -0.09989407658576965, -0.21429800987243652, -0.10698630660772324, -0.0001123614129028283, 0.025903746485710144, 0.19376274943351746, -0.11227837204933167, -0.10500733554363251, 0.13504041731357574, -0.2367350161075592, -0.04664037376642227, 0.24557867646217346, -0.28003668785095215, 0.19876843690872192, -0.7220824360847473, 0.07227340340614319, -0.16530469059944153, 0.21054285764694214, 0.17865397036075592, 0.22632695734500885, -0.18146607279777527, 0.05388069525361061, 0.038272272795438766, 0.1774401068687439, 0.27810996770858765, -0.2007225751876831, 0.13732615113258362, 0.15294857323169708, 0.2180403769016266, 0.06264926493167877, 0.21281768381595612, -0.3333939015865326, -0.05870268866419792, 0.43114882707595825, -0.08467404544353485, 0.07182665914297104, 0.08532999455928802, 0.27623796463012695, -0.19932696223258972, 0.5602588057518005, -0.3913204073905945, -0.008768385276198387, 0.09042928367853165, 0.02008383348584175, -0.24382686614990234, 0.03260864317417145, -0.05318254232406616, -0.19633980095386505, 0.13777191936969757, -0.044531796127557755, -0.39444759488105774, -0.2267177253961563, -0.140841543674469, 0.09573397040367126, 0.1190759614109993, -0.08629368990659714, 0.1460726261138916, 0.15330290794372559, 0.05174160748720169, 0.2199159413576126, 0.09367161989212036, -0.4383879005908966, 0.015271112322807312, 0.1596636325120926, -0.04791126400232315, 0.1915130615234375, -0.2784830331802368, 0.12654009461402893, 0.12831144034862518, 0.5412741899490356, 0.132427379488945, 0.14301669597625732, 0.07731246948242188, 0.3057461678981781, 0.01592751406133175, 0.1819751113653183, 0.14257945120334625, -0.10071685910224915, 0.047274649143218994, -0.048353370279073715, -0.19312411546707153, -0.023314237594604492, -0.16909919679164886, 0.3129400312900543, -0.06836266070604324, 0.3418911099433899, -0.12434236705303192, -0.013204896822571754, 0.371908575296402, -0.379574179649353, -0.19077949225902557, -0.035284463316202164, 0.1687898337841034, 0.19145123660564423, -0.05972570180892944, 0.45343923568725586, 0.025712452828884125, -0.008507470600306988, -0.09969349205493927, -0.11542155593633652, 0.231284037232399, -0.39084985852241516, -0.2311822772026062, 0.009361207485198975, 0.48029810190200806, 0.22537274658679962, 0.1096852719783783, -0.1507100909948349, -0.16326074302196503, 0.33168959617614746, 0.09635363519191742, 0.36026981472969055, 0.2926023006439209, -0.012835618108510971, -0.11087998002767563, 0.1864725798368454, 0.08833147585391998, -0.17113284766674042, 0.5787572860717773, -0.05368226766586304, -0.31941521167755127, 0.07652077078819275, 0.2548888027667999, -0.1582498401403427, 0.06657416373491287, -0.47318634390830994, 0.08260909467935562, 0.0255562886595726, -0.2730245888233185, 0.3034497797489166, -0.1072312742471695, 0.17591579258441925, -0.2980775237083435, -0.008582377806305885, 0.3079812526702881, -0.5849247574806213, 0.2514807879924774, -0.2536592185497284, -0.09784199297428131, 0.09911749511957169, 0.07900819182395935, -0.34957355260849, 0.6311938762664795, -0.20463770627975464, 0.14137642085552216, 0.5542480945587158, 0.09067374467849731, 0.06102990359067917, 0.5227037668228149, -0.042957380414009094, -0.11398828774690628, 0.16888375580310822, 0.004913680255413055, -0.03956940397620201, 0.3599031865596771, 0.15802663564682007, -0.3963608145713806, 0.052461981773376465, -0.13961590826511383, -0.07593567669391632, -0.09025919437408447, -0.09781832993030548, -0.13098369538784027, -0.09168301522731781, 0.05208926275372505, -0.20506644248962402, -0.09409414231777191, 0.36174914240837097, -0.2162628173828125, -0.05902475118637085, 0.19275438785552979, 0.3498537540435791, -0.13980580866336823, 0.0706024020910263, -0.07550355792045593, -0.09613756090402603, -0.024392204359173775, -0.18662923574447632, -0.09152787923812866, -0.18568100035190582, 0.09001892805099487, -0.10538977384567261, 0.24414952099323273, -0.05775299295783043, -0.0794668197631836, 0.20034559071063995, -0.16635282337665558, -0.10891708731651306, -0.48415374755859375, -0.39049237966537476, -0.14534544944763184, -0.11165931075811386, -0.05814337357878685, -0.3311016857624054, 0.0035835448652505875, -0.12703952193260193, -0.18854868412017822, -0.08124664425849915, 0.03258718550205231, 0.08619555830955505, 0.08528034389019012, -0.01375887542963028, 0.2339332401752472, 0.20244941115379333, 0.05069737508893013, 0.04495976120233536, -0.13510461151599884, -0.3428938090801239, -0.3124692142009735, 0.16746942698955536, 0.015065589919686317, 0.1529173105955124, -0.09235186874866486, 0.010726511478424072, 0.2132839411497116, -0.05474512651562691, 0.2779378890991211, -0.02915704995393753, -0.22996078431606293, 0.1209801733493805, 0.10695479810237885, -0.11674246191978455, -0.27984243631362915, 0.1412300318479538, 0.44159024953842163, -0.30937013030052185, 0.18534255027770996, -0.34027835726737976, 0.08365705609321594, 0.4468419849872589, -0.0794641524553299, -0.07191292196512222, 0.0029549039900302887, 0.3035799562931061, -0.1442311406135559, 0.08496519923210144, 0.02101920172572136, 0.35362857580184937, 0.27088114619255066, -0.1977197527885437, 0.13753442466259003, 0.051588188856840134, -0.18876798450946808, 0.439209908246994, -0.09369313716888428, 0.2425919622182846, 0.034246496856212616, -0.15451551973819733, -0.24058859050273895, -0.33271095156669617, -0.3798643946647644, 0.09055301547050476, 0.27489370107650757, -0.2403530776500702, 0.10071850568056107, -0.35015028715133667, -0.0516391359269619, -0.033658742904663086, 0.2210485190153122, 0.07694569230079651, -0.3988773822784424, 0.028899984434247017, 0.060746245086193085, -0.3067968487739563, -0.05969060957431793, -0.6190346479415894, -0.012552782893180847, -0.1311105191707611, -0.1662631630897522, -0.12179368734359741, -0.21611341834068298, -0.08620451390743256, 0.1326623558998108, 0.08619411289691925, 0.34690549969673157, 0.194308802485466, -0.2985454797744751, -0.011907916516065598, -0.3118082582950592, -0.007529266178607941, 0.1594412922859192, -0.3420528173446655, -0.05072785168886185, 0.4350026547908783, 0.1691131889820099, -0.23735976219177246, -0.16579672694206238, 0.03208828344941139, 0.04950842261314392, -0.1681891828775406, 0.2631048560142517, 0.10107538849115372, -0.1537601500749588, -0.18228492140769958, -0.467586487531662, 0.5178259015083313, -0.45629191398620605, 0.4633500576019287, 0.03568463400006294, 0.29736998677253723, 0.032017938792705536, 0.3007826805114746, 0.3969716727733612, 0.22197815775871277, 0.071661077439785, -0.17098869383335114, 0.12162205576896667, 0.05868913233280182, 0.049236152321100235, 0.020866382867097855, 0.33330973982810974, 0.09720892459154129, 0.3769305348396301, -0.16774234175682068, -0.41575151681900024, -0.04000353068113327, 0.06362327188253403, -0.00862005352973938, -0.379316508769989, -0.17388854920864105, 0.22695381939411163, 0.3496364653110504, -0.2787629961967468, -0.35188814997673035, -0.37046417593955994, 0.2740444540977478, -0.08947165310382843, -0.10414373129606247, -0.0010507330298423767, 0.6020114421844482, -0.48173531889915466, 0.33925771713256836, -0.03642753139138222, 0.08875024318695068, 0.26194220781326294, -0.0746401846408844, 0.3658193051815033, -0.2502182424068451, -0.17612352967262268, -0.46618542075157166, 0.08687146753072739, -0.27958083152770996, -0.0341324508190155, -0.24049943685531616, -0.13684338331222534, -0.059591345489025116, 0.07720544934272766, -0.19762510061264038, -0.29207518696784973, 0.2992883622646332, -0.40588587522506714, -0.029887333512306213, -0.17411252856254578, -0.03243940323591232, -0.28385087847709656, 0.4649944305419922, -0.21197332441806793, -0.00014267116785049438, 0.3237575590610504, -0.26210343837738037, -0.5894286036491394, -0.31586167216300964, -0.06362100690603256, 0.29300135374069214, -0.3180908262729645, 0.23710030317306519, -0.1045481264591217, -0.08631056547164917, 0.24775582551956177, -0.3389420807361603, 0.5389108657836914, -0.18860472738742828, -0.08158130943775177, 0.29581236839294434, 0.18693867325782776, -0.20080173015594482, 0.106223925948143, -0.16534501314163208, 0.5373247861862183, 0.08234907686710358, 0.06470338255167007, -0.3270014524459839, -0.1249837726354599, 0.254136860370636, 0.15216714143753052, 0.024209681898355484, -0.1671433001756668, -0.36752253770828247, -0.4826357066631317, -0.25374022126197815, 0.06945192813873291, 0.3682279586791992, 0.02904430590569973, 0.22459185123443604, -0.18184614181518555, 0.23157401382923126, -0.1799117624759674, 0.06012768670916557, 0.005560176447033882, 0.2135157585144043, -0.38325631618499756, -0.16629618406295776, -0.2786152958869934, -0.005755126476287842, 0.5466599464416504, 0.7308704257011414, 0.23156927525997162, 0.008702822029590607, 0.4217093288898468, 0.050992581993341446, 0.4599950909614563, 0.20648357272148132, 0.01305349636822939, 0.3244665265083313, 0.29039883613586426, 0.019832979887723923, 0.21980047225952148, -0.4329606890678406, 0.227118119597435, -0.2368457019329071, 0.01889398694038391, -0.33854687213897705, 0.34043267369270325, 0.13846614956855774, -0.030861172825098038, 0.21033309400081635, 0.26406657695770264, -0.22095851600170135, 0.4154272675514221, 0.4301292300224304, 1.1374332904815674, 0.24341079592704773, -0.054960016161203384, 0.2979206144809723, -0.41299617290496826, 0.2675454914569855, -0.41797178983688354, 0.24555784463882446, -0.3887166678905487, 0.35466286540031433, -0.025368131697177887, -0.30131563544273376, 0.3538009226322174, 0.061029862612485886, -0.3617292046546936, -0.09556140750646591, -0.24903851747512817, 0.1712118238210678, 0.028089044615626335, 0.21877488493919373, -0.5348197221755981, 0.016669832170009613, -0.2973823845386505, 0.05914079397916794, -0.01222161203622818, -0.5938113927841187, -0.18328732252120972, -0.1855783611536026, -0.16937634348869324, -0.18479205667972565, -0.29383280873298645, 0.1495700180530548, -0.016237987205386162, 0.12197060883045197, 0.16453984379768372, 0.05676206946372986, 0.2448449432849884, -0.057988446205854416, 0.017688319087028503, 0.16018101572990417, -0.22214391827583313, -0.07650774717330933, 0.19797873497009277, -0.028882520273327827, -0.20737089216709137, -0.07218103110790253, 0.2202262431383133, -0.1601201891899109, -0.4204326272010803, 0.058030299842357635, -0.24780908226966858, -0.27824947237968445, -0.18698519468307495, 0.2607792615890503, 0.09600604325532913, -0.47241589426994324, -0.32339268922805786, 0.13346683979034424, -0.22846251726150513, -0.20464955270290375, 0.12753745913505554, 0.22403915226459503, -0.09274470806121826, 0.005828067660331726, 0.13284476101398468, -0.2832956612110138, -0.0534108467400074, -0.11476639658212662, 0.43711337447166443, 0.17647211253643036, 0.46986114978790283, -0.14441479742527008, -0.07827286422252655, -0.4196840226650238, -0.003935512155294418, 0.5329146385192871, -0.4634474813938141, 0.1334533989429474, 0.04067375510931015, -0.13613905012607574, 0.3809487819671631, 0.12441599369049072, 0.08146997541189194, 0.41529345512390137, -0.2443484663963318, 0.03537505865097046, -0.32741785049438477, 0.646730363368988, 0.19726066291332245, 0.28654706478118896, -0.02663509175181389, 0.12011368572711945, -0.0668773353099823, -0.028383156284689903, -0.348976731300354, 0.04570662975311279, -0.16250894963741302, 0.34350141882896423, -0.17305484414100647, 0.02334664948284626, -0.2471923977136612, -0.0461062490940094, 0.2076609879732132, 0.14619684219360352, -0.3684370219707489, -0.16358765959739685, 0.10977455973625183, 0.14552193880081177, 0.28783872723579407, -0.13381093740463257, -0.19779565930366516, -0.22340689599514008, -0.13742731511592865, 0.011807583272457123, -0.18418090045452118, -0.07153847813606262, -0.10866674780845642, -0.1050591692328453, 0.42070141434669495, -0.008997566998004913, -0.0633092150092125, -0.12179215252399445, -0.09979784488677979, 0.12706752121448517, -0.08472438901662827, 0.039064183831214905, -0.1794370412826538, -0.07587911188602448, -0.02412429451942444, 0.32180318236351013, -0.023956626653671265, 0.38100746273994446, 0.2311861515045166, -0.03601938486099243, -0.03922818973660469, -0.399321049451828, 0.20321981608867645, 0.3095625340938568, -0.026357410475611687, -0.22755952179431915, -0.18761396408081055, 0.19755293428897858, -0.17068079113960266, -0.19288408756256104, 0.04964941740036011, -0.17586947977542877, -0.07665908336639404, 0.2615847587585449, 0.04767004773020744, 0.005001619458198547, 0.26495957374572754, 0.0033561810851097107, 0.18444225192070007, 0.11035453528165817, -0.01977456919848919, 0.32731199264526367, -0.47854340076446533, -0.014203671365976334, 0.28956857323646545, 0.261679470539093, 0.4326193630695343, 0.06581000983715057, 0.016832508146762848, 0.180001899600029, 0.4886520504951477, 0.18425904214382172, -0.07333952933549881, -0.2562831938266754, 0.11333626508712769, -0.029219910502433777, 0.1122991219162941, 0.26642972230911255, 0.15898749232292175, 0.08595066517591476, 0.2031811624765396, 0.22149530053138733, 0.05685184895992279, 0.20104597508907318, -0.29219168424606323, -0.07287810742855072, -0.355435311794281, -0.3742513060569763, 0.00011607259511947632, -0.18767371773719788, 0.017318585887551308, 0.07485327124595642, -0.029904112219810486, -0.08426716923713684, -0.05291278660297394, -0.010088194161653519, 0.6248123049736023, -0.2948802709579468, 0.027186647057533264, -0.29843613505363464, 0.10724249482154846, 0.03066837042570114, -0.0706670880317688, 0.038895733654499054, 0.12498944997787476, 0.4200766682624817, 0.4545433223247528, 0.09423907101154327, -0.09166543185710907, 0.21858054399490356, -0.17411446571350098, -0.1740490198135376, 0.1414022147655487, 0.32504481077194214, -0.045165304094552994, 0.11070722341537476, 0.21272286772727966, -0.0668216198682785, -0.03298735246062279, 0.5061481595039368, 0.21154683828353882, 0.07822996377944946, 0.23789271712303162, 0.20952920615673065, -0.28495582938194275, 0.14818423986434937, 0.2973923981189728, -0.3899348974227905, -0.40620797872543335, 0.11794720590114594, -0.06154773011803627, -0.15704306960105896, -0.05076604709029198, 0.11832717061042786, -0.10105080902576447, 0.2996906638145447, 0.2070593684911728, -0.0146394744515419, -0.3944896459579468, 0.09941290318965912, -0.23743915557861328, 0.13546839356422424, -0.16571994125843048, 0.0538613498210907, 0.29096704721450806, 0.177513986825943, 0.3508552312850952, -0.26366567611694336, 0.15911412239074707, 0.12830522656440735, -0.27121561765670776, 0.20193220674991608, -0.07992169260978699, -0.018576260656118393, 0.281292200088501, 0.1993645429611206, -0.11619897186756134, -0.18227139115333557, 0.18354469537734985, 0.10099632292985916, 0.1910111904144287, -0.2727423310279846, -0.4018020033836365, 0.41840800642967224, 0.38398653268814087, 0.3690682053565979, 0.08705668151378632, 0.20088551938533783, -0.0810837596654892, -0.2854372262954712, 0.0006495267152786255, -0.23841693997383118, -0.05161753669381142, 0.4732736647129059, 0.32000821828842163, 0.2574729919433594, -0.14910218119621277, 0.06566454470157623, -0.2795950472354889, 0.03777976706624031, -0.42449307441711426, 0.12026834487915039, -0.2570546269416809, 0.33296144008636475, -0.245282381772995, 0.16278977692127228, -0.18723586201667786, -0.1381271481513977, 0.06282804161310196, 0.17702296376228333, -0.5593047142028809, -0.11242274194955826, 0.5726072788238525, 0.30432382225990295, -0.32694101333618164, 0.3710516095161438, 0.34481897950172424, 0.14271318912506104, -0.11868288367986679, -0.5482162237167358, -0.20192298293113708, 0.36284059286117554, -0.07482916116714478, -0.05054921656847, 0.1708741933107376, -0.176370307803154, -0.058244477957487106, -0.049695804715156555, 0.34994813799858093, -0.08320189267396927, -0.14030034840106964, -0.13237284123897552, -0.25262999534606934 ]
https://github.com/huggingface/datasets/pull/1943
Implement Dataset from JSON and JSON Lines
What's the issue exactly ? Apparently it's correctly passed to as_dataset so I don't find the issue
Implement `Dataset.from_jsonl`.
17
text: Implement Dataset from JSON and JSON Lines Implement `Dataset.from_jsonl`. What's the issue exactly ? Apparently it's correctly passed to as_dataset so I don't find the issue
[ -0.0513899028301239, -0.2689301371574402, -0.19381006062030792, 0.1913466453552246, 0.17991875112056732, -0.2547304630279541, 0.4040266275405884, 0.1982431858778, 0.14616553485393524, 0.038632363080978394, 0.6206621527671814, 0.5679547190666199, 0.03912193328142166, 0.13323122262954712, -0.0923069417476654, 0.13117572665214539, 0.12197402864694595, 0.16978982090950012, -0.27631816267967224, -0.29304301738739014, -0.2274191677570343, 0.24771219491958618, -0.18024617433547974, -0.012844346463680267, 0.029322272166609764, -0.09641427546739578, 0.1888972818851471, 0.1807641088962555, -0.3845515549182892, -0.1472328007221222, -0.02818208374083042, -0.20259243249893188, -0.237910196185112, 0.2919567823410034, -0.000094143848400563, -0.01179695874452591, 0.294270396232605, -0.0160361398011446, -0.18574263155460358, -0.10255609452724457, -0.3706563115119934, -0.05325131118297577, 0.1918664574623108, -0.30467426776885986, 0.21610218286514282, -0.10755151510238647, -0.23695947229862213, -0.17641189694404602, 0.3748948574066162, 0.22745156288146973, 0.39515620470046997, 0.07491099834442139, -0.09479726850986481, -0.11395691335201263, -0.06859984248876572, 0.15252766013145447, -0.054244622588157654, -0.07102230191230774, 0.043926551938056946, 0.30372291803359985, 0.21110546588897705, 0.015029050409793854, -0.0641636848449707, -0.16624683141708374, 0.3252197802066803, -0.15470333397388458, -0.057716868817806244, 0.09665481746196747, 0.12508024275302887, -0.14119619131088257, 0.4966442286968231, -0.1690407693386078, -0.03649771958589554, 0.12145032733678818, -0.22472608089447021, -0.03411227837204933, 0.02275475487112999, 0.03775224834680557, -0.07561631500720978, 0.16692903637886047, -0.08853791654109955, -0.25247514247894287, -0.1813698410987854, 0.13818827271461487, 0.009965576231479645, 0.12592047452926636, -0.2683508098125458, 0.15363162755966187, -0.08193282783031464, 0.008742032572627068, 0.16686978936195374, -0.12525847554206848, 0.03545603156089783, 0.12572884559631348, 0.018342431634664536, 0.09122468531131744, 0.23249095678329468, -0.23179855942726135, 0.2656872868537903, 0.008104493841528893, 0.34553277492523193, 0.0898064523935318, -0.05624807998538017, 0.41034042835235596, 0.3901289999485016, 0.24411524832248688, 0.2858736515045166, 0.11423461884260178, 0.13399291038513184, 0.006584858056157827, -0.09205237030982971, 0.022485755383968353, -0.09794563800096512, -0.04994531720876694, -0.10103632509708405, -0.1683494746685028, 0.28414928913116455, -0.3569575846195221, -0.2702966630458832, -0.004618828184902668, -0.3333797752857208, -0.1701340228319168, 0.04339880868792534, 0.18902048468589783, 0.1439586877822876, 0.02515530213713646, 0.3924764394760132, 0.051778413355350494, -0.047843754291534424, -0.07372307032346725, -0.346025675535202, 0.12984640896320343, -0.3010224401950836, -0.2764175534248352, -0.12158852815628052, 0.1703178435564041, 0.395061731338501, 0.13116754591464996, -0.07647711038589478, -0.15778741240501404, 0.1677464246749878, 0.20413009822368622, 0.16917572915554047, 0.06920697540044785, -0.060702718794345856, 0.05508028715848923, 0.0186926256865263, -0.09974585473537445, -0.03343385457992554, 0.17294412851333618, -0.2921939492225647, -0.034106116741895676, 0.02180086448788643, 0.4097054898738861, -0.07296968996524811, 0.01868348941206932, 0.05527029186487198, 0.1419098824262619, 0.02898404747247696, -0.06830334663391113, -0.07363446801900864, -0.08407720178365707, -0.04580548778176308, -0.3973219394683838, -0.022083258256316185, 0.033885300159454346, -0.4763542115688324, 0.08761303126811981, 0.1650795191526413, -0.19052758812904358, 0.09106864035129547, 0.2591714859008789, -0.3806690573692322, 0.2671447992324829, -0.17419451475143433, 0.11726304888725281, 0.368969202041626, -0.0745231956243515, -0.13489499688148499, 0.5227585434913635, -0.12960997223854065, -0.11931633949279785, 0.04344614967703819, -0.14495471119880676, 0.08052610605955124, -0.07253117114305496, 0.1849541813135147, 0.24597661197185516, 0.14150114357471466, -0.09148570150136948, -0.35463130474090576, 0.02563081495463848, -0.1287882924079895, -0.08145102858543396, -0.37479332089424133, 0.40767356753349304, 0.18994221091270447, 0.13674858212471008, 0.10931070894002914, -0.17719975113868713, -0.05941994488239288, 0.24585606157779694, 0.2447218894958496, -0.18797312676906586, 0.06723298132419586, 0.16328799724578857, -0.31079331040382385, -0.2222495675086975, 0.06060875952243805, 0.05234634131193161, 0.08831194043159485, -0.13193698227405548, -0.22334948182106018, 0.21265371143817902, 0.060417160391807556, -0.038019586354494095, 0.30016207695007324, 0.13616065680980682, -0.17896082997322083, -0.16998806595802307, -0.22553882002830505, 0.12818050384521484, -0.1732984483242035, -0.15282714366912842, -0.17989270389080048, -0.03468852490186691, -0.21552160382270813, -0.03681598976254463, 0.10882964730262756, 0.06348482519388199, 0.14407825469970703, -0.017181089147925377, 0.018512053415179253, 0.3023029863834381, 0.0851544514298439, -0.22481371462345123, -0.11327014118432999, 0.009263724088668823, -0.1382102072238922, 0.07053327560424805, 0.08318251371383667, 0.17660462856292725, 0.1807926744222641, -0.17101328074932098, -0.17896348237991333, 0.34705203771591187, 0.03592707961797714, 0.18289026618003845, 0.16387902200222015, -0.02253771387040615, 0.08849555999040604, 0.06761021912097931, -0.16439785063266754, -0.14302463829517365, 0.20645032823085785, 0.1558479517698288, -0.07962547242641449, 0.08755291253328323, -0.5238133668899536, 0.13704702258110046, 0.6920078992843628, 0.029060516506433487, 0.16176775097846985, 0.030229194089770317, 0.1655457317829132, -0.020693842321634293, -0.04915785789489746, 0.339934378862381, 0.39465975761413574, 0.23432059586048126, -0.14909085631370544, 0.0675654411315918, -0.08661025017499924, -0.23100048303604126, 0.0952235758304596, -0.1067735105752945, 0.2411646991968155, 0.028447141870856285, -0.13595184683799744, -0.25841397047042847, -0.3791258931159973, -0.2345367968082428, 0.0808030441403389, 0.19528505206108093, -0.32197678089141846, 0.11866899579763412, -0.310082346200943, 0.017912041395902634, -0.33270227909088135, -0.10498051345348358, 0.017922479659318924, -0.3758004903793335, -0.10386565327644348, 0.03654559701681137, -0.24385155737400055, 0.0020056404173374176, -0.23756006360054016, 0.17678283154964447, 0.040384843945503235, -0.013377128168940544, 0.06519799679517746, -0.08692867308855057, -0.3015473484992981, 0.1892610490322113, 0.04922712966799736, 0.2577015459537506, 0.24141865968704224, 0.027263538911938667, 0.06050766259431839, 0.04212766885757446, -0.4031309187412262, 0.12142226845026016, -0.048514172434806824, 0.37892946600914, 0.42928510904312134, 0.1354646384716034, -0.1965106725692749, -0.19627906382083893, 0.18468733131885529, -0.1718607097864151, -0.2734299302101135, -0.05703013390302658, 0.04432171955704689, -0.3415318429470062, -0.4532846510410309, -0.5992888808250427, 0.1852010190486908, -0.3626232445240021, 0.17171093821525574, 0.007355760782957077, 0.19080673158168793, 0.06412342190742493, 0.2752200663089752, 0.25681769847869873, 0.13405419886112213, 0.053002603352069855, -0.2215413600206375, -0.21676482260227203, 0.19635549187660217, -0.33711305260658264, -0.3632015883922577, 0.17069993913173676, 0.11652761697769165, 0.31407982110977173, 0.013214319944381714, -0.2628927528858185, -0.17188790440559387, 0.11108508706092834, -0.04616973549127579, -0.22889000177383423, 0.06496705859899521, 0.16460898518562317, 0.0641481801867485, -0.24226903915405273, -0.6038039326667786, -0.5591495037078857, 0.41661491990089417, -0.2476728856563568, 0.19713979959487915, 0.14852654933929443, 0.5065462589263916, 0.07256768643856049, 0.20621003210544586, -0.013583818450570107, -0.1757797747850418, 0.26015615463256836, -0.024453578516840935, 0.11664459854364395, -0.0956331416964531, -0.19715991616249084, -0.11904723197221756, 0.05486995726823807, -0.10789418965578079, 0.21787261962890625, -0.022891473025083542, -0.2652699947357178, -0.10236623883247375, 0.012465722858905792, -0.3557914197444916, -0.0541238933801651, 0.04171611741185188, 0.11847984045743942, 0.15927815437316895, 0.22910627722740173, 0.1692546010017395, -0.028119124472141266, 0.33365392684936523, -0.07443001866340637, 0.11158423870801926, 0.12223098427057266, 0.07427729666233063, -0.7032944560050964, -0.23425813019275665, -0.18277093768119812, 0.25240594148635864, -0.035791341215372086, 0.3743826746940613, -0.23465260863304138, -0.022791380062699318, 0.015098385512828827, -0.22054363787174225, 0.5428733825683594, -0.1532968431711197, -0.11449939012527466, 0.1527939736843109, 0.06812520325183868, -0.20305204391479492, 0.24597714841365814, -0.10679249465465546, 0.4000534117221832, 0.2358323186635971, -0.10057300329208374, -0.3358291983604431, -0.18214450776576996, 0.17780673503875732, -0.06962195038795471, -0.07608439028263092, -0.09851870685815811, -0.1491638869047165, -0.6113876700401306, -0.27291029691696167, -0.23389962315559387, 0.15962934494018555, 0.13219527900218964, -0.10014553368091583, 0.058525461703538895, 0.10425807535648346, -0.003119915723800659, 0.007784612476825714, -0.01866171881556511, 0.4428003430366516, -0.3005964756011963, -0.00782238133251667, -0.06104065477848053, 0.33372965455055237, 0.22724086046218872, 0.6162339448928833, -0.03817232325673103, -0.10436864197254181, 0.17628204822540283, -0.2991701364517212, 0.5294838547706604, 0.16519242525100708, 0.04873792454600334, 0.29247623682022095, -0.0688486322760582, -0.2415451854467392, 0.33231210708618164, -0.15685373544692993, 0.2960289716720581, -0.10027682781219482, 0.04959259554743767, -0.4818458557128906, 0.16887769103050232, -0.05613184720277786, -0.03698438033461571, 0.03437748923897743, -0.012611716985702515, -0.28155648708343506, 0.44977903366088867, -0.06895334273576736, 0.710783839225769, 0.34916889667510986, -0.03984611853957176, 0.2209627330303192, -0.21371018886566162, 0.3264472484588623, -0.22291366755962372, -0.011327546089887619, -0.4352220594882965, 0.2702753245830536, -0.046729639172554016, -0.23193539679050446, 0.234317809343338, 0.367309033870697, -0.50453782081604, -0.03717834874987602, -0.2033320963382721, 0.1307884156703949, 0.026511915028095245, 0.2793656587600708, -0.06768868863582611, 0.02804332971572876, -0.36821189522743225, 0.30763891339302063, 0.024408843368291855, -0.24912506341934204, -0.11848387122154236, -0.27962589263916016, -0.12314796447753906, -0.47979921102523804, 0.020385339856147766, 0.21821638941764832, 0.1401519924402237, 0.06574329733848572, 0.2156694382429123, 0.05020779371261597, 0.2053418755531311, -0.0515613816678524, 0.17342938482761383, 0.09308594465255737, -0.13251100480556488, 0.14959102869033813, -0.12500205636024475, 0.13144069910049438, -0.12250391393899918, 0.11609220504760742, 0.35110822319984436, -0.21680870652198792, -0.2512979507446289, -0.026844635605812073, -0.18649207055568695, -0.4734540581703186, -0.34656667709350586, 0.21438109874725342, -0.06618541479110718, -0.403133362531662, -0.19259199500083923, 0.28103867173194885, 0.008903585374355316, -0.22502197325229645, 0.2726200819015503, 0.2399519681930542, -0.21187400817871094, 0.15432953834533691, 0.3155616521835327, -0.0992412269115448, 0.029081063345074654, 0.1465848982334137, 0.044288039207458496, 0.11674939095973969, 0.45049840211868286, 0.08357670903205872, -0.17957676947116852, -0.384733647108078, -0.10764636844396591, 0.42674195766448975, -0.1732710301876068, 0.09822800010442734, -0.252962589263916, -0.07778337597846985, 0.14475701749324799, 0.46188682317733765, -0.1293303221464157, 0.1525912582874298, -0.2339746057987213, -0.48327305912971497, -0.12312858551740646, 0.2167425900697708, -0.23149143159389496, 0.09140489995479584, -0.0360039621591568, 0.15437893569469452, 0.1215076595544815, -0.01456301100552082, -0.5028523206710815, 0.10532943159341812, -0.03938950598239899, 0.2942083179950714, 0.2248152792453766, -0.15625998377799988, 0.13621707260608673, 0.21794933080673218, 0.2543826699256897, 0.12777532637119293, -0.3105378746986389, -0.36442723870277405, -0.18674738705158234, 0.08785848319530487, 0.13605517148971558, 0.10207216441631317, -0.04913493990898132, -0.1583978235721588, -0.2566837668418884, 0.21044521033763885, -0.05089523643255234, -0.009802820160984993, -0.1536225825548172, 0.03883346542716026, 0.009090378880500793, 0.45416784286499023, 0.12187370657920837, -0.09547965228557587, 0.16683842241764069, 0.2668905556201935, -0.054834235459566116, -0.05981409549713135, -0.1529318243265152, -0.03293528035283089, 0.06625071167945862, 0.027687177062034607, 0.11560826748609543, 0.46770066022872925, 0.24634593725204468, -0.3545530438423157, 0.2827965021133423, -0.14582061767578125, 0.23343616724014282, 0.32688578963279724, -0.2635558247566223, 0.09714627265930176, -0.018719322979450226, 0.36060789227485657, 0.026924192905426025, -0.08708792179822922, 0.1698140799999237, -0.07883528620004654, -0.14983227849006653, 0.20208455622196198, 0.23603668808937073, 0.08898654580116272, 0.20462879538536072, 0.05336272716522217, 0.26603424549102783, -0.03367127105593681, -0.12724003195762634, 0.18432340025901794, -0.4467719793319702, 0.19434085488319397, 0.08251988887786865, 0.17185479402542114, 0.14605632424354553, 0.5735295414924622, 0.24447405338287354, 0.08024739474058151, 0.214394211769104, 0.016296520829200745, -0.04033360630273819, -0.06344037503004074, 0.3259704113006592, 0.19843238592147827, 0.3121105432510376, 0.41024860739707947, 0.07730790227651596, 0.1263563632965088, 0.017078006640076637, 0.0058925277553498745, -0.000842588022351265, 0.050967659801244736, -0.3033256530761719, -0.20236586034297943, -0.4962972104549408, -0.14276301860809326, -0.0710461214184761, -0.058879584074020386, -0.025927510112524033, 0.14090746641159058, 0.018464960157871246, -0.20146824419498444, -0.07429881393909454, -0.21952512860298157, 0.06456752121448517, -0.10220742970705032, -0.024379409849643707, -0.19539737701416016, 0.2607417106628418, -0.18747730553150177, -0.006499685347080231, 0.19180355966091156, 0.08855943381786346, 0.250129371881485, 0.5416593551635742, 0.042255502194166183, -0.30229100584983826, -0.20647624135017395, -0.14787741005420685, -0.13109076023101807, 0.1438078135251999, 0.1892089545726776, 0.013667605817317963, 0.3602321743965149, 0.27116185426712036, -0.27151548862457275, 0.15732482075691223, 0.33151495456695557, 0.1247396320104599, 0.014882223680615425, 0.06341539323329926, -0.1591007262468338, -0.1333901584148407, -0.24536404013633728, -0.026938512921333313, -0.38147786259651184, -0.28174006938934326, 0.15147502720355988, 0.0029271936509758234, 0.028793849050998688, -0.353312224149704, 0.20593379437923431, -0.03165082633495331, 0.41277235746383667, 0.11596570909023285, 0.15695174038410187, -0.024113129824399948, -0.25965815782546997, -0.22176650166511536, 0.12985378503799438, 0.010786157101392746, -0.09832921624183655, -0.10726284980773926, 0.3129085302352905, 0.15122546255588531, -0.03797195106744766, 0.0019554048776626587, -0.046292632818222046, -0.04929922893643379, 0.12314602732658386, -0.19380630552768707, -0.18811194598674774, 0.18736764788627625, -0.12462759017944336, 0.17346405982971191, -0.21974977850914001, -0.08422157168388367, -0.22925440967082977, 0.29280489683151245, -0.4372100830078125, 0.005363814532756805, 0.02991090714931488, -0.014178760349750519, 0.3012942373752594, 0.2406608611345291, 0.5195485353469849, -0.12150982022285461, -0.18263202905654907, -0.09790635108947754, -0.3132762908935547, -0.14992910623550415, 0.3387320637702942, 0.1727590560913086, 0.3565303087234497, -0.049638740718364716, 0.046745769679546356, -0.1592186987400055, 0.04604389891028404, 0.02369939535856247, -0.13195204734802246, -0.18418414890766144, 0.31825143098831177, -0.30799779295921326, 0.07048092037439346, -0.03905574977397919, 0.11932380497455597, -0.006654918193817139, -0.018686214461922646, -0.22392797470092773, -0.1453625112771988, 0.5347540974617004, -0.19150285422801971, -0.35556939244270325, 0.27564719319343567, 0.05783206224441528, -0.01708577573299408, -0.5072402954101562, -0.4254975914955139, -0.15765127539634705, 0.2514690160751343, -0.08701074123382568, -0.20025035738945007, 0.20828795433044434, -0.029416751116514206, -0.0833093449473381, -0.0055744946002960205, 0.29136398434638977, 0.158918559551239, -0.2840370237827301, 0.17505881190299988, -0.08042894303798676 ]
https://github.com/huggingface/datasets/pull/1943
Implement Dataset from JSON and JSON Lines
<s>merging master into this branch should fix the CI issue :)</s> Oops I didn't refresh the page sorry ^^' Looks all good !
Implement `Dataset.from_jsonl`.
23
text: Implement Dataset from JSON and JSON Lines Implement `Dataset.from_jsonl`. <s>merging master into this branch should fix the CI issue :)</s> Oops I didn't refresh the page sorry ^^' Looks all good !
[ -0.19107797741889954, 0.16315260529518127, -0.2013227641582489, -0.011157438158988953, 0.11484464257955551, -0.04855947941541672, 0.1849675327539444, 0.2841698229312897, 0.01843186467885971, 0.19491611421108246, 0.245100200176239, 0.3350386619567871, 0.17559148371219635, 0.5094067454338074, -0.2942541241645813, 0.25434064865112305, -0.04340272396802902, 0.19273114204406738, -0.3078348934650421, -0.06111946702003479, -0.060138292610645294, 0.29364994168281555, 0.01226893812417984, -0.052586689591407776, 0.06913807988166809, -0.12691472470760345, 0.16808180510997772, 0.20680344104766846, -0.4777494966983795, -0.29156073927879333, 0.08795540779829025, 0.12038147449493408, -0.22984489798545837, 0.3380562663078308, -0.00009506032802164555, 0.13593028485774994, 0.41962701082229614, -0.062032461166381836, -0.23339565098285675, -0.13168205320835114, -0.26990264654159546, -0.058655790984630585, 0.2898271381855011, -0.21510003507137299, -0.092193603515625, 0.03219381719827652, -0.06204640865325928, -0.023935556411743164, 0.35454636812210083, 0.2589056193828583, 0.42645055055618286, 0.01873786374926567, -0.022577375173568726, -0.16898329555988312, -0.09636194258928299, 0.21473418176174164, -0.0005833245813846588, -0.006018884479999542, 0.17337319254875183, 0.14998498558998108, -0.0416974201798439, 0.21799814701080322, 0.19371451437473297, -0.21731537580490112, 0.06974183768033981, -0.24367405474185944, 0.08185435831546783, -0.16720019280910492, 0.17130804061889648, -0.20800459384918213, 0.5208704471588135, 0.023284347727894783, 0.11781618744134903, 0.23042985796928406, -0.08042764663696289, -0.017067907378077507, 0.21027284860610962, -0.11313759535551071, -0.06058811396360397, 0.02017502300441265, -0.2741970419883728, -0.3549624979496002, -0.17498601973056793, 0.0004323720932006836, -0.06870371848344803, 0.2681933641433716, -0.055716417729854584, -0.06024444103240967, 0.17669014632701874, -0.13553738594055176, 0.04101146385073662, 0.08422927558422089, -0.18656617403030396, -0.021083224564790726, 0.12526251375675201, -0.1186756044626236, 0.28512364625930786, -0.020635612308979034, 0.010213494300842285, 0.2586163580417633, 0.1730525642633438, 0.10055235028266907, 0.12375850975513458, 0.24528592824935913, 0.38902559876441956, 0.11515185236930847, 0.1198716014623642, 0.10337451100349426, 0.38997477293014526, 0.1252335011959076, -0.10036180168390274, 0.01867017149925232, -0.06754376739263535, -0.1968182772397995, -0.2902057468891144, 0.08803080022335052, 0.20774336159229279, -0.27160021662712097, 0.01783878169953823, -0.0689961165189743, -0.14928460121154785, -0.09767060726881027, 0.0029281042516231537, 0.19656957685947418, 0.0053385598585009575, 0.05839310586452484, 0.36870062351226807, 0.00853411853313446, -0.0417940616607666, -0.09232975542545319, -0.29023492336273193, 0.030725546181201935, -0.3225375711917877, -0.36763495206832886, 0.12471278011798859, -0.0831078588962555, 0.32120582461357117, 0.01599181815981865, 0.19313129782676697, -0.11896497756242752, 0.14036165177822113, 0.2952183783054352, 0.10828053206205368, 0.14598380029201508, 0.20605748891830444, -0.11235586553812027, 0.275439590215683, -0.28327691555023193, 0.03254528343677521, 0.04500367492437363, -0.3921792805194855, -0.19420133531093597, -0.25668448209762573, 0.4234125316143036, 0.011301267892122269, -0.03352806717157364, -0.10160782188177109, 0.0477059930562973, 0.05682552605867386, -0.004733126610517502, -0.11318954080343246, 0.014571646228432655, 0.28410857915878296, -0.07900064438581467, 0.059714652597904205, 0.06782161444425583, -0.2521136403083801, -0.054045647382736206, -0.07312531769275665, -0.270995557308197, 0.006230764091014862, 0.20401477813720703, -0.316842257976532, 0.3094801902770996, -0.1738104522228241, 0.019631385803222656, 0.3602904677391052, -0.4198002219200134, -0.16747941076755524, 0.42793789505958557, -0.1889640986919403, -0.29323312640190125, -0.01727163791656494, -0.2045111209154129, 0.29673221707344055, -0.03522967919707298, 0.07384555041790009, 0.19058769941329956, -0.13606183230876923, 0.15625175833702087, -0.2471010386943817, -0.08516854047775269, -0.3448876142501831, -0.02358967624604702, -0.06434126198291779, 0.2781860828399658, 0.2581162452697754, -0.07087305933237076, 0.29205521941185, -0.19395741820335388, 0.024150753393769264, 0.3401830196380615, 0.3333266079425812, -0.219319686293602, -0.03273509815335274, 0.29192107915878296, -0.21682164072990417, -0.17318063974380493, 0.0453522652387619, 0.37937039136886597, 0.07451385259628296, -0.07673826813697815, -0.2703815698623657, 0.004176326096057892, -0.1809530109167099, -0.005756698548793793, 0.42318934202194214, 0.11127571761608124, -0.21071457862854004, -0.26544713973999023, -0.04493597149848938, 0.004117378033697605, -0.0685073733329773, -0.10492371767759323, -0.24936430156230927, 0.06603192538022995, -0.35713163018226624, 0.013734478503465652, 0.22077524662017822, -0.063445083796978, 0.07649493217468262, -0.16945958137512207, -0.25649261474609375, 0.2319689393043518, -0.15891247987747192, 0.031251974403858185, 0.13140079379081726, 0.17925292253494263, -0.04753781855106354, -0.08273802697658539, -0.10512427240610123, 0.19890740513801575, 0.008371306583285332, 0.008960247039794922, -0.1539698839187622, 0.3233281970024109, -0.04116811975836754, 0.1564634144306183, 0.11982101202011108, 0.0206643994897604, 0.4055989384651184, -0.08689974248409271, -0.26524367928504944, -0.39765670895576477, 0.0710151270031929, 0.174146369099617, -0.32425591349601746, -0.012994823977351189, -0.18869270384311676, 0.0486694872379303, 0.41021743416786194, 0.14949052035808563, 0.024836435914039612, 0.06422264128923416, 0.1829918622970581, -0.09612460434436798, 0.01942194439470768, 0.44452139735221863, 0.23058491945266724, 0.20836009085178375, 0.024836543947458267, 0.11903400719165802, 0.235383078455925, -0.2084045559167862, 0.2818579077720642, -0.09934288263320923, 0.24347463250160217, 0.20509850978851318, 0.11241628229618073, -0.25061526894569397, -0.30503833293914795, -0.07119892537593842, 0.06641922891139984, 0.22436858713626862, -0.22999559342861176, 0.005625233054161072, -0.40539589524269104, -0.09328289330005646, 0.0951927974820137, -0.11573276668787003, 0.025653105229139328, -0.423573762178421, 0.03263678029179573, 0.2142433375120163, -0.42886650562286377, 0.2579062879085541, -0.1447487622499466, 0.2507683038711548, 0.005627268925309181, 0.1124202311038971, -0.05716109275817871, -0.2985815107822418, -0.16527706384658813, 0.28680145740509033, 0.15780697762966156, -0.044950563460588455, 0.16973601281642914, -0.21136318147182465, 0.14377877116203308, -0.246089905500412, -0.47245392203330994, 0.2701851725578308, 0.003368217498064041, 0.2471408098936081, 0.26688462495803833, 0.042597535997629166, -0.10141031444072723, -0.27584585547447205, 0.1280461996793747, -0.11763996630907059, -0.40857887268066406, -0.23819111287593842, -0.127846360206604, -0.1835431158542633, -0.3305247724056244, -0.48480263352394104, -0.009382903575897217, -0.4084615111351013, 0.07286231964826584, -0.05550215393304825, 0.19244921207427979, 0.12018264085054398, -0.018209025263786316, -0.1397419571876526, 0.11704071611166, -0.09809929132461548, -0.3238600492477417, -0.467752069234848, 0.15865449607372284, -0.5514540672302246, -0.3410766124725342, 0.35127899050712585, 0.10515479743480682, 0.525618851184845, -0.10450002551078796, -0.20790798962116241, -0.09363870322704315, 0.13929574191570282, 0.014066502451896667, -0.07630624622106552, -0.027175074443221092, 0.1659972071647644, 0.1498461663722992, -0.2833247780799866, -0.29515019059181213, -0.3960866332054138, 0.2432447373867035, -0.0033457130193710327, 0.29245248436927795, -0.29606252908706665, 0.5563798546791077, -0.07053815573453903, 0.3554902672767639, 0.002755163237452507, 0.014322489500045776, 0.06847120076417923, 0.07151533663272858, 0.25456827878952026, -0.016029059886932373, -0.20062431693077087, 0.09918355196714401, 0.013250619173049927, -0.13003744184970856, 0.3538541793823242, 0.011408396996557713, -0.32082751393318176, -0.17167437076568604, 0.041230279952287674, -0.3488389253616333, -0.311769962310791, 0.03972143679857254, -0.09321175515651703, 0.17767241597175598, 0.09870634973049164, -0.03778093308210373, -0.21599742770195007, 0.1958528757095337, -0.03564367815852165, 0.19301877915859222, 0.05404430255293846, -0.03276204690337181, -0.4037070572376251, -0.34851157665252686, -0.08202569931745529, 0.1108170673251152, -0.10332265496253967, 0.1271047294139862, -0.15165339410305023, -0.0711534172296524, 0.015907272696495056, -0.23825082182884216, 0.30831676721572876, -0.12765511870384216, -0.16037000715732574, 0.156691774725914, -0.15282100439071655, 0.11278382688760757, 0.011994905769824982, 0.010262701660394669, 0.4856717586517334, 0.39451175928115845, 0.05256643891334534, -0.19928288459777832, -0.2532644271850586, 0.2535286247730255, -0.27509742975234985, -0.16470672190189362, 0.002144593745470047, -0.16408471763134003, -0.5351420044898987, -0.46249812841415405, 0.03652017191052437, 0.19279836118221283, 0.007195763755589724, -0.08137961477041245, -0.12257245182991028, 0.12575674057006836, -0.05441737174987793, -0.07739585638046265, 0.22223833203315735, 0.22404885292053223, -0.05902361124753952, -0.08753151446580887, -0.21991387009620667, 0.3031943440437317, 0.3565521240234375, 0.48536407947540283, 0.14064833521842957, 0.04511868581175804, 0.33063414692878723, -0.21752800047397614, 0.3283374309539795, 0.11507360637187958, 0.09956496953964233, 0.1908455789089203, 0.09686344861984253, 0.11868152767419815, 0.20383231341838837, 0.012562766671180725, -0.0902743935585022, -0.08015821874141693, -0.07216165959835052, -0.055968254804611206, 0.027057502418756485, -0.08360099792480469, -0.1338145136833191, 0.041469428688287735, -0.13777631521224976, -0.2762138843536377, 0.018456123769283295, 0.20454750955104828, 0.6651223301887512, 0.287240207195282, -0.09225332736968994, 0.052664753049612045, -0.1863926649093628, 0.27452513575553894, -0.1772836446762085, 0.10630205273628235, -0.3580949306488037, 0.0378250889480114, 0.014201967045664787, -0.05289077013731003, 0.07430167496204376, 0.18348601460456848, -0.4468180239200592, -0.023838289082050323, -0.14024797081947327, 0.30020469427108765, -0.007732175290584564, 0.15524506568908691, -0.02153146080672741, -0.12393125891685486, -0.11525575816631317, 0.3350556194782257, -0.09892928600311279, -0.028762664645910263, -0.2602877616882324, -0.3399520516395569, -0.07798723876476288, -0.19589413702487946, -0.0738431066274643, 0.2726845145225525, -0.021842602640390396, 0.24064376950263977, 0.1398715227842331, -0.03425856679677963, 0.1841813027858734, -0.13250626623630524, 0.3777257204055786, 0.20498071610927582, -0.151976078748703, 0.365591824054718, 0.011310160160064697, 0.04375683516263962, -0.244033083319664, 0.04329916089773178, 0.15346847474575043, -0.4514678716659546, -0.2570079565048218, -0.09017679840326309, -0.10716428607702255, -0.3773449659347534, -0.15635797381401062, 0.21379782259464264, -0.13334064185619354, -0.12151315063238144, -0.000644452404230833, 0.15351688861846924, -0.10550528764724731, -0.24234776198863983, 0.2965914309024811, 0.04146905243396759, -0.08975200355052948, 0.08269230276346207, 0.3188217878341675, -0.034385137259960175, -0.005793984979391098, 0.07242988049983978, 0.19493195414543152, -0.1587192416191101, 0.3965012729167938, 0.05933939293026924, -0.09567634761333466, -0.46684378385543823, -0.010119762271642685, 0.3278372585773468, 0.005949527025222778, 0.16169829666614532, -0.02788914367556572, -0.41122210025787354, 0.17090286314487457, 0.541528582572937, 0.03798040375113487, 0.4018707275390625, -0.11825467646121979, -0.19664128124713898, -0.5285729765892029, 0.20248198509216309, -0.3380596339702606, 0.06743434816598892, -0.09950685501098633, 0.24635490775108337, 0.14122317731380463, 0.09939529746770859, -0.5374178886413574, 0.03383198007941246, -0.3909345865249634, 0.14042378962039948, 0.2845050096511841, -0.2059459686279297, 0.08246413618326187, -0.12325514853000641, 0.22134986519813538, -0.00867563858628273, -0.2912692427635193, -0.3779473304748535, 0.12371473014354706, 0.04976820945739746, 0.10731882601976395, 0.07639437168836594, 0.14378473162651062, 0.07746271789073944, -0.234635591506958, 0.20344780385494232, 0.041043031960725784, -0.19400978088378906, 0.1297113597393036, -0.04351559653878212, -0.20859478414058685, -0.040636323392391205, 0.04165782779455185, -0.1857374906539917, 0.28098687529563904, 0.29040461778640747, -0.18042519688606262, 0.02010737918317318, -0.17734599113464355, -0.1551460325717926, 0.009599283337593079, 0.24541085958480835, 0.04402542859315872, 0.6584813594818115, 0.2844565212726593, -0.25138741731643677, -0.0985269695520401, 0.1276465207338333, 0.06416085362434387, -0.061499252915382385, -0.1105223074555397, 0.08525387942790985, 0.03421248495578766, 0.4403105676174164, -0.1330420970916748, 0.031327441334724426, 0.06707078218460083, -0.21271337568759918, 0.09360602498054504, 0.04021082818508148, 0.1332543045282364, -0.2047157883644104, 0.15408331155776978, 0.26826605200767517, 0.25319552421569824, -0.06433280557394028, 0.16697511076927185, 0.1571616679430008, -0.4050244092941284, 0.031671516597270966, 0.19923457503318787, -0.010439548641443253, 0.19791966676712036, 0.19490264356136322, 0.21293872594833374, 0.25762125849723816, 0.2924498915672302, 0.11197385936975479, 0.13612444698810577, -0.09471362829208374, 0.28257039189338684, 0.051922425627708435, 0.2528168559074402, 0.13443079590797424, 0.2711637020111084, -0.06526190787553787, 0.04299410805106163, -0.2763587534427643, -0.25343796610832214, 0.2079048901796341, -0.21324950456619263, -0.07659690082073212, -0.6888731718063354, -0.20169313251972198, -0.06117243319749832, 0.053745295852422714, 0.004941914230585098, 0.2794418931007385, -0.06362785398960114, 0.026401005685329437, -0.03710797429084778, -0.21396008133888245, -0.08516716212034225, -0.0009774193167686462, 0.02113712579011917, -0.1235455721616745, 0.35286441445350647, -0.019847773015499115, -0.22554951906204224, 0.08353486657142639, 0.14758160710334778, 0.3346676826477051, 0.28072696924209595, 0.13105706870555878, -0.14368614554405212, -0.04503132030367851, -0.21501727402210236, -0.15768787264823914, -0.035764429718256, 0.3530385196208954, -0.07414545118808746, 0.13006095588207245, 0.35158219933509827, -0.31555867195129395, 0.20832058787345886, -0.001953408122062683, -0.1905343383550644, 0.24716857075691223, 0.054322220385074615, 0.24539674818515778, -0.1772838979959488, -0.07444291561841965, -0.017083168029785156, -0.33242902159690857, -0.3415350914001465, 0.19449643790721893, -0.0511619932949543, 0.07536797225475311, -0.28746113181114197, 0.20885513722896576, 0.09105950593948364, 0.4534483551979065, 0.061142172664403915, -0.01438070833683014, 0.07272439450025558, -0.3859797716140747, -0.2264299839735031, 0.11775831878185272, 0.08941447734832764, 0.043538086116313934, -0.09921848028898239, 0.24543507397174835, 0.3210035264492035, -0.053993865847587585, 0.16372066736221313, -0.22105111181735992, 0.031475890427827835, -0.22798436880111694, -0.3542884290218353, 0.07566657662391663, 0.21531198918819427, 0.00237833708524704, 0.12772174179553986, -0.10385224968194962, -0.06494668126106262, 0.1311509609222412, 0.33343416452407837, -0.12484967708587646, -0.1065235584974289, 0.06466503441333771, -0.1488705277442932, 0.24339242279529572, 0.29865318536758423, 0.3119392395019531, -0.26423823833465576, -0.1418280303478241, 0.012255076318979263, -0.23791629076004028, -0.23102465271949768, 0.3897058069705963, 0.22277989983558655, 0.41317325830459595, -0.039685770869255066, 0.24369005858898163, -0.3178364634513855, -0.22543293237686157, -0.04078909382224083, 0.038010869175195694, -0.19382427632808685, 0.3404099941253662, -0.09688594937324524, 0.1522594839334488, -0.008276186883449554, 0.14374637603759766, 0.013898849487304688, -0.020627522841095924, -0.29013270139694214, -0.23365293443202972, 0.5564290285110474, 0.028248995542526245, -0.37084391713142395, -0.0050553386099636555, 0.19292494654655457, -0.1631215512752533, -0.06960053741931915, -0.16166898608207703, 0.08425786346197128, 0.05838434770703316, -0.009923629462718964, -0.2178145945072174, 0.25040361285209656, -0.0008604712784290314, 0.022512007504701614, -0.07369264960289001, 0.2579241394996643, 0.19888940453529358, -0.2330869734287262, -0.14535994827747345, -0.017893504351377487 ]
https://github.com/huggingface/datasets/pull/1943
Implement Dataset from JSON and JSON Lines
Good job ! I think we can merge after the last changes regarding the error message and the docstring above :)
Implement `Dataset.from_jsonl`.
21
text: Implement Dataset from JSON and JSON Lines Implement `Dataset.from_jsonl`. Good job ! I think we can merge after the last changes regarding the error message and the docstring above :)
[ -0.13399896025657654, 0.022097736597061157, -0.2017824947834015, -0.09970206022262573, 0.04533199965953827, -0.09156720340251923, 0.1642298698425293, 0.3711898922920227, -0.021790457889437675, -0.038478702306747437, 0.29332420229911804, 0.33825454115867615, 0.0025109639391303062, 0.269191175699234, -0.09595268964767456, 0.12614426016807556, 0.07042571157217026, 0.24758309125900269, -0.16249637305736542, 0.08819298446178436, -0.1705586463212967, 0.2577555775642395, 0.004966579377651215, 0.07517500221729279, 0.09522952139377594, -0.10628706961870193, 0.16726194322109222, 0.2889590263366699, -0.5182706117630005, -0.40458428859710693, 0.24153615534305573, -0.008450184017419815, -0.22505877912044525, 0.2715080976486206, -0.00009232163574779406, 0.07158492505550385, 0.30867278575897217, 0.00099237821996212, 0.024567078799009323, -0.06988628208637238, -0.29580122232437134, -0.12640798091888428, 0.22283127903938293, -0.15617841482162476, 0.19290569424629211, -0.20057795941829681, -0.1685609221458435, -0.12670986354351044, 0.33186161518096924, 0.3078627288341522, 0.39353233575820923, -0.011881595477461815, 0.20140837132930756, -0.09156966954469681, -0.026260018348693848, 0.10504152625799179, 0.058956295251846313, -0.01442348025739193, 0.17901304364204407, 0.0898827314376831, 0.06884387135505676, 0.2246793955564499, 0.041276633739471436, -0.2528519630432129, 0.25475212931632996, -0.35464102029800415, -0.06457874923944473, 0.006230555474758148, 0.019021395593881607, 0.006412014365196228, 0.565764844417572, -0.11783354729413986, 0.07319624722003937, 0.1507347822189331, -0.12519635260105133, -0.16697829961776733, 0.11751925945281982, -0.08549901843070984, -0.03147381544113159, 0.04550135135650635, -0.1433722972869873, -0.5186284780502319, -0.23900039494037628, -0.10026094317436218, -0.04619906097650528, 0.27385562658309937, 0.046483952552080154, -0.04432317614555359, 0.06589478999376297, -0.19449687004089355, 0.11761300265789032, 0.13833831250667572, -0.16932985186576843, -0.013056757859885693, 0.10484550148248672, -0.16164520382881165, 0.16008178889751434, -0.4799618422985077, 0.27560552954673767, 0.0038617849349975586, 0.27586743235588074, 0.012318689376115799, 0.004558487795293331, 0.25596514344215393, 0.3758832514286041, 0.06162279471755028, 0.281191885471344, 0.056411176919937134, 0.24771864712238312, -0.012376241385936737, 0.06025271490216255, 0.04756668582558632, 0.08387614786624908, -0.28754085302352905, -0.17946338653564453, 0.019118158146739006, 0.21967655420303345, -0.28626227378845215, -0.02542649768292904, -0.03278946503996849, -0.27117297053337097, -0.13690176606178284, -0.106351837515831, 0.08802975714206696, 0.09047755599021912, 0.11752817779779434, 0.45964014530181885, -0.03646646440029144, 0.026263190433382988, 0.0037745991721749306, -0.1818966120481491, 0.2642349898815155, -0.18796822428703308, -0.25450822710990906, -0.028216280043125153, 0.09510760009288788, 0.21327605843544006, -0.04328980669379234, 0.11704002320766449, -0.020372409373521805, 0.11277036368846893, 0.20126619935035706, 0.18863382935523987, -0.02206375077366829, 0.11805902421474457, -0.21168819069862366, 0.04415321722626686, -0.11461620032787323, -0.16328971087932587, 0.10941816121339798, -0.3841628432273865, -0.34869882464408875, -0.21890422701835632, 0.4189944267272949, 0.05183505266904831, -0.05996411293745041, -0.018041566014289856, 0.2767800986766815, -0.0516042485833168, -0.19750039279460907, -0.14518314599990845, 0.07788296788930893, 0.1177629679441452, -0.16405054926872253, 0.031340040266513824, -0.0155220627784729, -0.42480358481407166, 0.04732891172170639, 0.11540938168764114, -0.3241056203842163, -0.15324518084526062, 0.272318959236145, -0.4322082996368408, 0.24813640117645264, -0.24008667469024658, 0.3089402914047241, 0.3109990954399109, -0.3392220139503479, 0.04618437588214874, 0.35659828782081604, -0.06977446377277374, -0.23014195263385773, 0.007830068469047546, -0.35129213333129883, 0.2341095209121704, 0.009508037939667702, 0.33471813797950745, 0.15007063746452332, -0.10696922242641449, 0.055530108511447906, -0.2837783694267273, -0.1459980010986328, -0.13132913410663605, -0.16752459108829498, -0.10009756684303284, 0.09294097870588303, 0.123164102435112, 0.1658659279346466, 0.23458638787269592, -0.21793851256370544, -0.06291331350803375, 0.40007466077804565, 0.3322404623031616, -0.17902496457099915, -0.06071837246417999, 0.00392218679189682, -0.3561142683029175, -0.33380624651908875, 0.023697584867477417, 0.2613241374492645, 0.1206183061003685, -0.17360028624534607, -0.280504047870636, 0.013893714174628258, 0.027605511248111725, -0.12690477073192596, 0.38800838589668274, -0.026185743510723114, -0.08606766164302826, -0.26056963205337524, -0.2917531132698059, 0.20532941818237305, -0.18154530227184296, -0.0504465326666832, -0.25933730602264404, 0.05260664224624634, -0.28768953680992126, -0.03882138431072235, 0.33375799655914307, -0.05323290079832077, -0.06455452740192413, -0.024756258353590965, -0.053258828818798065, 0.3687411844730377, -0.13444776833057404, -0.0015074163675308228, 0.128891721367836, 0.061365216970443726, 0.057272471487522125, -0.09159132838249207, -0.0814916118979454, -0.0753169059753418, -0.011104807257652283, 0.06651326268911362, -0.13768476247787476, 0.20007440447807312, -0.04804554209113121, 0.10438363999128342, 0.2702522277832031, -0.14511388540267944, 0.25681567192077637, 0.040700871497392654, -0.21138300001621246, -0.19837190210819244, 0.011431533843278885, 0.12552222609519958, -0.1431434005498886, -0.00041807442903518677, -0.4034312069416046, -0.025152534246444702, 0.5702029466629028, 0.03096146136522293, 0.041369639337062836, 0.13316571712493896, 0.2689834237098694, -0.1881161630153656, -0.1501660943031311, 0.2556006908416748, 0.2313559651374817, 0.2734982371330261, -0.07549379765987396, 0.10230493545532227, 0.0383116751909256, -0.09208454191684723, 0.25548484921455383, -0.042625777423381805, 0.3286757171154022, 0.29325249791145325, -0.004915948491543531, -0.22859518229961395, -0.4000057280063629, -0.2548159658908844, -0.018017329275608063, 0.12633974850177765, -0.21443209052085876, -0.12146324664354324, -0.24246729910373688, -0.09351843595504761, -0.23208215832710266, -0.2175530195236206, -0.20854833722114563, -0.4447782337665558, 0.03344980627298355, 0.09700001031160355, -0.36270642280578613, 0.16065941751003265, -0.02655300684273243, 0.17748579382896423, 0.041329525411129, 0.1437058299779892, -0.06171954423189163, -0.11687503755092621, -0.06452775001525879, 0.31275615096092224, 0.052008554339408875, 0.10430040210485458, 0.22261255979537964, -0.21714037656784058, -0.04951194301247597, -0.07640647143125534, -0.4663654863834381, 0.2672432065010071, -0.04652383178472519, 0.11181201040744781, 0.5485631227493286, 0.1487373411655426, -0.030449675396084785, -0.43068888783454895, 0.08870653063058853, -0.08864899724721909, -0.3658994436264038, -0.3432561159133911, 0.0085561228916049, 0.031154675409197807, -0.27104654908180237, -0.7645570635795593, 0.0024516507983207703, -0.4645892083644867, 0.12300238013267517, -0.15752242505550385, 0.21074561774730682, -0.048621222376823425, 0.07171737402677536, 0.15523861348628998, -0.01262315921485424, 0.046787112951278687, -0.15348811447620392, -0.2939440906047821, 0.15212799608707428, -0.3539889454841614, -0.2152586132287979, 0.1792883276939392, 0.14606112241744995, 0.39364737272262573, -0.09447219967842102, -0.116059809923172, -0.11360067874193192, 0.24789245426654816, -0.05750570446252823, -0.07111429423093796, -0.1068362444639206, 0.19993332028388977, 0.2838207185268402, -0.29563379287719727, -0.3070555627346039, -0.4646996855735779, 0.2544032037258148, -0.06558620184659958, 0.19651558995246887, -0.0008289162069559097, 0.46773308515548706, -0.087663434445858, 0.29410767555236816, -0.04139856994152069, -0.023289043456315994, 0.18609128892421722, 0.08280467987060547, 0.1812627762556076, -0.06322566419839859, -0.11260783672332764, -0.10663922876119614, -0.01102466881275177, -0.022530468180775642, 0.12046670913696289, 0.03094467893242836, -0.14193348586559296, -0.17032605409622192, -0.029898658394813538, -0.4287841320037842, -0.18328332901000977, 0.049108803272247314, 0.1932128220796585, 0.10007695108652115, 0.085587278008461, -0.1949913501739502, -0.16059209406375885, 0.3822157680988312, 0.09349682927131653, 0.2803639769554138, 0.1543651819229126, 0.06896675378084183, -0.4866505265235901, -0.12449109554290771, -0.2918694019317627, 0.20109888911247253, -0.01926356926560402, 0.13736778497695923, -0.09992583841085434, -0.15778571367263794, -0.2447195202112198, -0.4180572032928467, 0.4155530333518982, -0.15795603394508362, -0.24322237074375153, 0.077640101313591, 0.06084234267473221, 0.16601520776748657, 0.17102189362049103, 0.06511785089969635, 0.26983335614204407, 0.47329702973365784, 0.1591096818447113, -0.4208785593509674, -0.19853270053863525, 0.19507834315299988, -0.10962147265672684, -0.07673526555299759, -0.04853750392794609, -0.10103297233581543, -0.484041690826416, -0.45142242312431335, -0.1667880415916443, 0.2132776379585266, 0.16997601091861725, -0.008319954387843609, -0.10775084793567657, 0.17077724635601044, -0.16507229208946228, 0.048734527081251144, 0.13743601739406586, 0.3338366150856018, -0.32488080859184265, -0.09277346730232239, -0.280337929725647, 0.3548141121864319, 0.4512743055820465, 0.5114951133728027, -0.009648721665143967, -0.07144865393638611, 0.16864749789237976, -0.21826930344104767, 0.3880089819431305, 0.0595613569021225, 0.09824257344007492, 0.29921767115592957, -0.027817096561193466, -0.004097066819667816, 0.2075599879026413, 0.0324796587228775, 0.1454368531703949, -0.04424837976694107, -0.08883197605609894, -0.23664095997810364, 0.10549589991569519, 0.12445500493049622, -0.11934724450111389, 0.07284882664680481, 0.020084746181964874, -0.4415016174316406, 0.09464897960424423, 0.13449227809906006, 0.7195075750350952, 0.31138408184051514, -0.09173218905925751, 0.20916104316711426, -0.3744302988052368, 0.4295409917831421, -0.32247889041900635, 0.043303705751895905, -0.29474595189094543, 0.27717259526252747, 0.009134234860539436, -0.13619355857372284, 0.19123783707618713, 0.1382882297039032, -0.3880707919597626, -0.003190021961927414, -0.11680403351783752, 0.09135890007019043, -0.1755216121673584, 0.5073824524879456, -0.0067415423691272736, -0.03982752189040184, -0.42791518568992615, 0.2711678743362427, -0.11447705328464508, -0.28929343819618225, -0.26555606722831726, -0.38411378860473633, -0.021523289382457733, -0.393629789352417, -0.0886143147945404, 0.22435149550437927, 0.28644102811813354, 0.24994158744812012, 0.030158549547195435, 0.10014122724533081, 0.16452783346176147, -0.1109868586063385, 0.26482340693473816, 0.0681392103433609, -0.13974584639072418, 0.1996418982744217, -0.0008939579129219055, -0.060715656727552414, -0.2799854278564453, 0.0359855517745018, 0.24098779261112213, -0.4411439895629883, -0.2516506612300873, 0.031064581125974655, -0.18602557480335236, -0.3947843313217163, -0.2609746754169464, 0.097227543592453, -0.004944272339344025, -0.316868394613266, -0.06653398275375366, 0.42407357692718506, -0.13353966176509857, -0.22623929381370544, 0.2866668999195099, 0.1415887176990509, -0.1730189025402069, 0.07429445534944534, 0.26145488023757935, -0.01610487699508667, -0.055735956877470016, -0.030663922429084778, 0.21132078766822815, -0.03463440760970116, 0.2621753513813019, 0.11481648683547974, -0.20718565583229065, -0.4106900990009308, -0.053714949637651443, 0.5031877756118774, -0.1991959810256958, 0.17938265204429626, 0.024545714259147644, -0.22802579402923584, 0.13040074706077576, 0.29650309681892395, 0.07760028541088104, 0.39816194772720337, -0.05541365221142769, -0.13279707729816437, -0.4278024137020111, 0.40454041957855225, -0.2891864478588104, 0.18936020135879517, 0.06827931851148605, 0.2679513096809387, 0.008662603795528412, 0.17919889092445374, -0.5275528430938721, 0.0982765257358551, -0.1691725105047226, 0.15957048535346985, 0.05851397290825844, -0.16791173815727234, 0.053008951246738434, -0.11312419176101685, 0.26041075587272644, 0.1851910650730133, -0.31173762679100037, -0.34543195366859436, 0.09019559621810913, 0.052549391984939575, 0.10925734043121338, 0.009054776281118393, 0.07278426736593246, 0.011485416442155838, -0.15732906758785248, 0.3532455265522003, 0.06504468619823456, -0.1506728082895279, 0.077004574239254, 0.06231182441115379, 0.04040960967540741, 0.12698867917060852, 0.12060000002384186, -0.06399236619472504, 0.2827875018119812, 0.30822643637657166, -0.17783117294311523, 0.047402337193489075, -0.2972795367240906, -0.11773107945919037, 0.07354702055454254, 0.15907755494117737, 0.12167420983314514, 0.45490097999572754, 0.15829554200172424, -0.22099165618419647, -0.14728648960590363, -0.1529139280319214, 0.25343266129493713, 0.27880269289016724, -0.22261804342269897, 0.035936690866947174, -0.0346514955163002, 0.40477946400642395, -0.23976466059684753, -0.020463015884160995, -0.02712494507431984, -0.2277258187532425, -0.03836001828312874, -0.05299060791730881, 0.10895015299320221, 0.016934193670749664, 0.05285140872001648, 0.2809159755706787, 0.23545920848846436, -0.08338086307048798, 0.053554002195596695, 0.10242974758148193, -0.49620407819747925, -0.04941711202263832, 0.06891316920518875, 0.19579043984413147, 0.38724908232688904, 0.21327261626720428, 0.17125540971755981, 0.19268962740898132, 0.2356415092945099, 0.02615494653582573, 0.1537703275680542, 0.10072419047355652, 0.3264943063259125, 0.3205766975879669, 0.2619565725326538, 0.1950707733631134, 0.4602067470550537, 0.004897646605968475, 0.12824837863445282, -0.16699011623859406, 0.047317177057266235, 0.2216680943965912, -0.12322241812944412, -0.11327220499515533, -0.3821226954460144, -0.1603178083896637, 0.00707496702671051, -0.08269639313220978, 0.09448361396789551, 0.11119060963392258, 0.018858015537261963, -0.060349613428115845, 0.07091958075761795, -0.12409570813179016, 0.17960262298583984, -0.05552604794502258, 0.06217184662818909, -0.07718569785356522, 0.19908155500888824, 0.1440737098455429, -0.21941131353378296, 0.14487721025943756, 0.2945931553840637, 0.33267825841903687, 0.3106951117515564, 0.01635492406785488, -0.21124772727489471, -0.027332380414009094, -0.0532141774892807, 0.020583927631378174, -0.07153692841529846, 0.2845448851585388, -0.14047284424304962, 0.4164848327636719, 0.34110236167907715, -0.2733859121799469, 0.16673298180103302, 0.03098880872130394, -0.04853522405028343, 0.17133107781410217, 0.01795434206724167, 0.1589851975440979, -0.1357502043247223, 0.0283497404307127, 0.005441538989543915, -0.3152792751789093, -0.3593664765357971, 0.1648751199245453, 0.11167709529399872, 0.05727658420801163, -0.23490041494369507, 0.20787662267684937, 0.11771972477436066, 0.4043106436729431, 0.1607946753501892, 0.025950558483600616, 0.0989212617278099, -0.23744416236877441, -0.28020352125167847, 0.0441761389374733, 0.00893036276102066, -0.019092991948127747, -0.04645548760890961, 0.23279495537281036, 0.27644988894462585, -0.04087315499782562, 0.0913182869553566, -0.045847464352846146, -0.07252993434667587, -0.13452008366584778, -0.3780199885368347, 0.11146441102027893, 0.3264404535293579, 0.060435548424720764, 0.20469699800014496, -0.0834578275680542, 0.007634643465280533, -0.007076035253703594, 0.2918630838394165, -0.3173811435699463, 0.02935853600502014, 0.2728402018547058, 0.1589725911617279, 0.10379362851381302, 0.2798554003238678, 0.2779585123062134, -0.35247787833213806, -0.35803961753845215, 0.20063170790672302, -0.23065419495105743, -0.29069721698760986, 0.43611016869544983, 0.28738489747047424, 0.3501821756362915, -0.09564359486103058, 0.01627674326300621, -0.23046118021011353, -0.06230500712990761, -0.21755041182041168, 0.012094033882021904, -0.2737455368041992, 0.23024025559425354, 0.08577152341604233, -0.04771358147263527, -0.1523449718952179, 0.06664346903562546, 0.026610247790813446, 0.031313732266426086, -0.29211732745170593, -0.215711310505867, 0.5519270300865173, 0.16048909723758698, -0.19175519049167633, 0.09801312536001205, 0.0853535607457161, 0.10996663570404053, -0.07628875225782394, -0.6731423735618591, -0.023300550878047943, 0.2129918336868286, 0.006508504971861839, -0.15362194180488586, 0.0931255966424942, -0.10773971676826477, -0.16046260297298431, -0.11208236217498779, 0.21588627994060516, 0.1977214813232422, -0.2772936224937439, -0.07436006516218185, -0.13091233372688293 ]
https://github.com/huggingface/datasets/pull/1936
[WIP] Adding Support for Reading Pandas Category
Thanks ! could you maybe add a few tests in test_arrow_dataset.py to make sure from_pandas works as expected with categorical types ? In particular I'm pretty sure that if you now try to `cast` the dataset to the same features at its current features, it will break instead of just being a no-op. This is because `features.type` returns an arrow int64 type for the classlabel column instead of the arrow dictionary type that you have in the arrow table. There are two issues in this case: - it will try to replace the arrow type from dictionary to int64 instead of being a no-op - it will crash because pyarrow is not able to cast a dictionary to int64 (even if it's actually possible do cast the column by hand by accessing the sub-array of the dictionary array containing the indices/integers) It would be awesome to fix this case ! Ideally the arrow `pa_type` of classlabel ([here](https://github.com/huggingface/datasets/blob/7072e1becd69d421d863374b825e3da4c6551798/src/datasets/features.py#L558)) should be an arrow dictionary type. This should fix the issue. Then we can start working on backward compatibility. Let me know if you have questions or if I can help. In particular if there is some glue-ing to do I can take care of that if you want ;) -------------- Also just a few information regarding the functions you mentioned `int2str` and `str2int` are used by users to transforms the labels if they want to. Here sine ClassLabel is instantiated without the class names, they would crash. I was about to make a PR to disallow the creation of an empty ClassLabel feature type. Therefore can you provide class_names= when creating the ClassLabel ? `encode_example` is mostly used with a dataset builder (e.g. squad.py) so it's not used when using .from_pandas.
@lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself.
289
text: [WIP] Adding Support for Reading Pandas Category @lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself. Thanks ! could you maybe add a few tests in test_arrow_dataset.py to make sure from_pandas works as expected with categorical types ? In particular I'm pretty sure that if you now try to `cast` the dataset to the same features at its current features, it will break instead of just being a no-op. This is because `features.type` returns an arrow int64 type for the classlabel column instead of the arrow dictionary type that you have in the arrow table. There are two issues in this case: - it will try to replace the arrow type from dictionary to int64 instead of being a no-op - it will crash because pyarrow is not able to cast a dictionary to int64 (even if it's actually possible do cast the column by hand by accessing the sub-array of the dictionary array containing the indices/integers) It would be awesome to fix this case ! Ideally the arrow `pa_type` of classlabel ([here](https://github.com/huggingface/datasets/blob/7072e1becd69d421d863374b825e3da4c6551798/src/datasets/features.py#L558)) should be an arrow dictionary type. This should fix the issue. Then we can start working on backward compatibility. Let me know if you have questions or if I can help. In particular if there is some glue-ing to do I can take care of that if you want ;) -------------- Also just a few information regarding the functions you mentioned `int2str` and `str2int` are used by users to transforms the labels if they want to. Here sine ClassLabel is instantiated without the class names, they would crash. I was about to make a PR to disallow the creation of an empty ClassLabel feature type. Therefore can you provide class_names= when creating the ClassLabel ? `encode_example` is mostly used with a dataset builder (e.g. squad.py) so it's not used when using .from_pandas.
[ 0.16333875060081482, 0.2155211865901947, -0.02832713909447193, 0.40813738107681274, 0.45524805784225464, -0.04258578270673752, 0.3266637921333313, 0.0771775171160698, -0.15723302960395813, -0.18670152127742767, -0.27820587158203125, 0.37012919783592224, -0.018584411591291428, 0.2872501611709595, -0.16637656092643738, -0.38479042053222656, 0.30153942108154297, -0.16226667165756226, -0.11573825776576996, 0.13787323236465454, -0.2836361527442932, 0.02559155598282814, -0.18501807749271393, 0.189680814743042, -0.1582231968641281, -0.25418365001678467, -0.375275582075119, 0.11629517376422882, -0.32969316840171814, -0.6008245944976807, 0.5874985456466675, 0.2990885078907013, 0.2794331908226013, 0.4555491507053375, -0.0001192565105156973, -0.023298684507608414, 0.07815062999725342, -0.07230740040540695, 0.14757858216762543, -0.04165983200073242, 0.28032171726226807, -0.11239754408597946, 0.3354361057281494, -0.20702022314071655, -0.03727465495467186, -0.5523690581321716, -0.2383461743593216, 0.0496068149805069, 0.01144523173570633, 0.08888107538223267, 0.14059658348560333, -0.11845489591360092, 0.27447083592414856, 0.01354910247027874, -0.06312280148267746, 0.19745823740959167, 0.017686283215880394, 0.4135134816169739, 0.031800590455532074, 0.1107424721121788, -0.09274805337190628, 0.03380817174911499, -0.10677263885736465, -0.16173632442951202, 0.6840332746505737, 0.03419634699821472, 0.008064217865467072, -0.45448872447013855, -0.07299398630857468, 0.1500791609287262, 0.6950471997261047, -0.40120628476142883, -0.5055633783340454, -0.31191322207450867, -0.1718519628047943, -0.299556165933609, 0.09088367968797684, -0.1599598079919815, 0.017376374453306198, 0.4003216028213501, 0.3620867133140564, -0.11700034886598587, -0.43044522404670715, 0.16801665723323822, -0.28582683205604553, 0.06723076850175858, -0.051526330411434174, 0.0008145645260810852, 0.027959389612078667, -0.037250712513923645, 0.08262760937213898, 0.03040945529937744, -0.07170407474040985, -0.008652149699628353, 0.20029841363430023, -0.15150505304336548, 0.10322019457817078, 0.1464191973209381, 0.015451159328222275, -0.1892370730638504, -0.13862216472625732, 0.06225673481822014, -0.20755386352539062, -0.07203150540590286, 0.4318966865539551, 0.0002490496262907982, -0.07244088500738144, -0.0027553201653063297, 0.10223214328289032, 0.03388441354036331, 0.035924527794122696, -0.08514116704463959, -0.11630421876907349, 0.0016849846579134464, -0.03553139418363571, -0.05987344682216644, 0.3724164366722107, -0.025905128568410873, -0.07374467700719833, 0.02988964319229126, -0.3194462060928345, -0.06975939869880676, -0.08049735426902771, 0.22590628266334534, -0.06308439373970032, 0.584895670413971, 0.09933924674987793, 0.33816033601760864, -0.016629086807370186, -0.029002539813518524, -0.06840182840824127, 0.015091793611645699, -0.16082048416137695, -0.08785498887300491, -0.13963843882083893, 0.24802765250205994, -0.06772539764642715, 0.10214847326278687, 0.07248780876398087, 0.23535370826721191, -0.4521806240081787, 0.015468515455722809, 0.3189031183719635, 0.1765446960926056, -0.396687388420105, 0.08205351233482361, 0.30458611249923706, -0.4117092490196228, -0.34168368577957153, 0.36104288697242737, 0.1896824836730957, -0.3214981257915497, -0.4165533185005188, 0.04903443530201912, -0.308515727519989, -0.020458202809095383, -0.2755638360977173, 0.4833078980445862, -0.1223040297627449, -0.09039612114429474, 0.3045752942562103, -0.15199394524097443, 0.20980077981948853, -0.44003090262413025, -0.06000369042158127, 0.292170912027359, -0.5807243585586548, 0.08171150088310242, 0.05176221579313278, -0.08021584153175354, 0.23192206025123596, 0.05760415643453598, -0.260759174823761, 0.035364117473363876, 0.09081777930259705, 0.19959740340709686, 0.33311933279037476, -0.3496442139148712, -0.3928971290588379, 0.045007430016994476, 0.1536773443222046, 0.19516412913799286, 0.2981424331665039, 0.04110897332429886, 0.04363999143242836, -0.1426818072795868, -0.14174450933933258, -0.012062828987836838, -0.16433924436569214, -0.021041683852672577, -0.13939860463142395, -0.10341120511293411, 0.4591226577758789, -0.0104217529296875, 0.10974516719579697, 0.24320244789123535, 0.15436150133609772, 0.09697697311639786, 0.40741220116615295, -0.15932448208332062, -0.028289256617426872, -0.25638967752456665, 0.46745073795318604, 0.3793613314628601, 0.10288001596927643, -0.052991557866334915, -0.4606174826622009, 0.057625919580459595, 0.24118706583976746, 0.36260950565338135, -0.18178172409534454, -0.4657290577888489, 0.004417264834046364, 0.10400449484586716, 0.0738188624382019, -0.14960363507270813, -0.004987405613064766, -0.07241353392601013, 0.019570842385292053, 0.07270923256874084, -0.2901057302951813, 0.003412109799683094, -0.17656250298023224, 0.3196893632411957, 0.09668812155723572, 0.1254752278327942, -0.04106900840997696, -0.15930448472499847, -0.1269765943288803, 0.2113029956817627, 0.03658962994813919, -0.09845580160617828, -0.016980111598968506, 0.24537348747253418, 0.06269621849060059, -0.016012482345104218, -0.3200077712535858, 0.5025497078895569, 0.24951627850532532, -0.06464935839176178, 0.1621079444885254, -0.10342812538146973, 0.1619000881910324, 0.03747555613517761, -0.08656755834817886, 0.41903382539749146, -0.23588185012340546, 0.08303693681955338, 0.021495789289474487, -0.04405117779970169, 0.07634072750806808, 0.12103782594203949, -0.35171979665756226, 0.11373789608478546, -0.37412428855895996, 0.1170295923948288, -0.3655184507369995, 0.18588821589946747, -0.49208685755729675, 0.4279213547706604, 0.3636218309402466, -0.10169370472431183, -0.040188953280448914, 0.10953928530216217, -0.0454583466053009, -0.1751197874546051, 0.38555410504341125, 0.03049330785870552, 0.3949527144432068, 0.2228017896413803, 0.18739713728427887, 0.12807562947273254, -0.11215682327747345, -0.01670370064675808, 0.3330039381980896, 0.24818749725818634, 0.08303647488355637, -0.30573412775993347, 0.11800514161586761, 0.20407438278198242, -0.07922761142253876, -0.187760591506958, -0.12750257551670074, 0.11727967113256454, -0.39118412137031555, 0.2337024062871933, -0.009255889803171158, -0.5410978198051453, 0.09779493510723114, -0.6138530969619751, 0.07894079387187958, -0.280991792678833, -0.18968386948108673, 0.23653684556484222, -0.20709538459777832, 0.1410875767469406, -0.29615530371665955, 0.2616159915924072, -0.05962391942739487, -0.12295303493738174, -0.0866534411907196, -0.20037125051021576, -0.22903972864151, 0.017042536288499832, 0.0931837186217308, -0.047129228711128235, 0.2652689516544342, 0.13210196793079376, 0.005134282633662224, 0.0037796786054968834, -0.5696117877960205, 0.06780372560024261, -0.30806833505630493, 0.2978093922138214, 0.21907253563404083, 0.11330185830593109, -0.27469271421432495, -0.2439301759004593, 0.20834141969680786, 0.022711561992764473, -0.07369834184646606, -0.24611881375312805, -0.03907790035009384, 0.03153989091515541, -0.12687736749649048, -0.35409989953041077, -0.316057026386261, -0.40497228503227234, 0.4803169369697571, -0.0193769671022892, 0.04424552246928215, 0.30012840032577515, 0.15205685794353485, 0.10862540453672409, 0.32176268100738525, 0.023955415934324265, -0.12815457582473755, 0.07178892195224762, 0.21743521094322205, -0.19713808596134186, -0.23117457330226898, 0.0358440987765789, -0.23220224678516388, 0.2116524577140808, -0.16609355807304382, -0.29450178146362305, -0.4776403307914734, -0.08525843918323517, 0.6851456761360168, 0.13155204057693481, 0.10051548480987549, 0.2779858708381653, 0.2700013518333435, -0.001974593847990036, 0.015057168900966644, -0.157415971159935, -0.10279034823179245, 0.06678572297096252, -0.20905625820159912, 0.17823153734207153, 0.11741718649864197, 0.01842685043811798, 0.39059770107269287, -0.05960956588387489, -0.05098137632012367, 0.41330307722091675, -0.10438822954893112, 0.46257638931274414, 0.023988522589206696, -0.2809377610683441, -0.0036028658505529165, -0.3531462848186493, 0.008222665637731552, 0.20838052034378052, -0.12708455324172974, -0.29447418451309204, -0.10203365981578827, -0.06454530358314514, -0.307241290807724, -0.3650740385055542, 0.21002425253391266, -0.06111852079629898, -0.04224276542663574, -0.07125551998615265, -0.04755726456642151, -0.2877962291240692, -0.007761642802506685, 0.13824008405208588, 0.24990172684192657, -0.023130469024181366, 0.01799476332962513, -0.18356136977672577, -0.20036636292934418, -0.417133629322052, 0.20982186496257782, 0.1715993881225586, -0.06908810883760452, 0.15788918733596802, -0.3094351887702942, 0.1019730493426323, 0.029919268563389778, 0.5297168493270874, -0.07446376234292984, -0.2507311701774597, 0.3459364175796509, 0.06832116097211838, -0.3238702416419983, 0.02904413267970085, -0.22598949074745178, 0.1576293706893921, 0.3436853289604187, -0.12773102521896362, -0.48319900035858154, -0.17082396149635315, 0.22389985620975494, -0.19301074743270874, 0.032792750746011734, -0.06414544582366943, -0.08660662174224854, -0.4875434339046478, -0.11772671341896057, 0.06910848617553711, 0.47647979855537415, 0.30382850766181946, -0.40984952449798584, 0.08393204212188721, -0.17647820711135864, -0.006167324259877205, 0.3094886541366577, 0.15053141117095947, 0.22642800211906433, 0.008297344669699669, -0.21662047505378723, -0.035735465586185455, 0.35442790389060974, 0.30830758810043335, 0.5383265018463135, -0.05036790296435356, -0.6085839867591858, 0.04469037428498268, 0.15273262560367584, 0.42764490842819214, 0.5040020942687988, 0.05530061572790146, 0.13627412915229797, -0.14180226624011993, -0.1551891565322876, -0.3046903908252716, 0.16588620841503143, 0.2487114816904068, 0.023952431976795197, -0.2818760275840759, -0.46539947390556335, 0.5618224143981934, -0.03382109850645065, -0.2703697681427002, 0.10514853894710541, 0.8912201523780823, -0.56305330991745, 0.3910297155380249, 0.22047460079193115, 1.1919375658035278, 0.2130228877067566, 0.25640085339546204, 0.6309164762496948, 0.02342105656862259, 0.7500919699668884, 0.2372756451368332, 0.13289448618888855, -0.3395969271659851, 0.19854073226451874, -0.11683125048875809, 0.05611712113022804, 0.16514386236667633, -0.030641645193099976, -0.3974762558937073, 0.025789445266127586, -0.1703701913356781, -0.017125021666288376, 0.039547309279441833, 0.11843816936016083, -0.16463324427604675, -0.2074507474899292, -0.4777204096317291, -0.022044142708182335, 0.2774101793766022, -0.11409172415733337, -0.0126631585881114, -0.34756457805633545, -0.4246634244918823, -0.03321335092186928, -0.36595380306243896, -0.4267137944698334, -0.22155797481536865, -0.16197697818279266, 0.2750647962093353, 0.036763519048690796, 0.29357776045799255, 0.6681860685348511, 0.4890369772911072, -0.35109031200408936, -0.1394607573747635, -0.14189060032367706, -0.27401822805404663, -0.06955810636281967, 0.3359183073043823, -0.09196119010448456, 0.6701480150222778, 0.15171116590499878, 0.0024975091218948364, 0.04812781140208244, -0.09459616243839264, 0.012416083365678787, -0.3189558982849121, -0.2046910673379898, 0.11986906826496124, -0.727541446685791, 0.018471552059054375, -0.3254438638687134, -0.07141347229480743, -0.0805206447839737, 0.03033776953816414, 0.06001102179288864, -0.014628438279032707, 0.14542707800865173, 0.04417356103658676, -0.04118091240525246, -0.12594608962535858, -0.02259586751461029, 0.16016045212745667, 0.2124105989933014, 0.05073485150933266, 0.18941360712051392, -0.31552618741989136, 0.0638216957449913, 0.05690741539001465, 0.2999838888645172, -0.34261777997016907, 0.058830417692661285, 0.16725628077983856, -0.2199656367301941, -0.20115259289741516, 0.4574664533138275, 0.24449412524700165, 0.29941457509994507, -0.24035300314426422, 0.02667035162448883, -0.3065381944179535, 0.5192360877990723, 0.005920141935348511, 0.18761105835437775, -0.17486104369163513, 0.02913166582584381, 0.0086590014398098, -0.1387546807527542, -0.23710697889328003, -0.02947508729994297, 0.04999525845050812, -0.057455599308013916, 0.2800569236278534, 0.08118166029453278, 0.08229228109121323, -0.12198181450366974, 0.06749020516872406, 0.008791476488113403, 0.005213790573179722, -0.006092233583331108, -0.20578409731388092, 0.15359847247600555, 0.0710778683423996, -0.15263383090496063, 0.1389332264661789, -0.006734998896718025, -0.17289280891418457, -0.13397058844566345, 0.11866684257984161, 0.0718083456158638, -0.060306698083877563, 0.13816562294960022, 0.21617962419986725, 0.3493195176124573, -0.018819600343704224, 0.28300899267196655, 0.06782537698745728, 0.60945063829422, -0.012698591686785221, 0.06972362846136093, -0.14046582579612732, -0.06784291565418243, 0.327099084854126, 0.2421545386314392, 0.05447215214371681, -0.028768807649612427, 0.3078206181526184, -0.1124626100063324, 0.042643409222364426, 0.06999586522579193, 0.42180633544921875, 0.2227499932050705, -0.0366327166557312, -0.016883037984371185, 0.35816264152526855, 0.08188024163246155, -0.23023074865341187, 0.07200821489095688, -0.023099292069673538, -0.22704526782035828, -0.03770242631435394, 0.5572076439857483, 0.20933189988136292, 0.2820127606391907, -0.2718384265899658, -0.0256304033100605, 0.3682577610015869, 0.33208298683166504, 0.006976674310863018, 0.19845104217529297, -0.3662555515766144, 0.04851578176021576, 0.7010810971260071, 0.3114684224128723, 0.26915663480758667, 0.2644030749797821, 0.0633697509765625, 0.1266283094882965, -0.08371516317129135, 0.12098619341850281, 0.0594286173582077, -0.1666126400232315, 0.19414590299129486, 0.28069037199020386, 0.04505089670419693, 0.028962288051843643, -0.004729263484477997, 0.21897375583648682, -0.23715589940547943, -0.14565064013004303, 0.14730054140090942, 0.057051438838243484, -0.29192864894866943, -0.08209355175495148, 0.1852586567401886, -0.2784389555454254, 0.040149979293346405, -0.0850040465593338, -0.3857245445251465, -0.4077434539794922, 0.28381776809692383, -0.10148489475250244, -0.015254907310009003, -0.421914279460907, 0.025693796575069427, -0.37929701805114746, 0.4363391399383545, 0.02599843218922615, 0.058294542133808136, 0.031513579189777374, -0.24602556228637695, 0.10063499212265015, 0.3849104940891266, 0.5392625331878662, 0.2695695757865906, -0.2205662578344345, -0.19728605449199677, -0.17313207685947418, -0.28108394145965576, 0.13413803279399872, -0.02521740272641182, 0.3620348572731018, 0.3092215955257416, -0.004855014383792877, 0.09039373695850372, 0.019551623612642288, -0.003646247088909149, -0.025397922843694687, 0.18291865289211273, -0.18231672048568726, 0.6367910504341125, -0.06479354202747345, -0.25683507323265076, 0.1789647489786148, -0.09407899528741837, -0.18981701135635376, -0.30389735102653503, 0.12938399612903595, -0.04083041474223137, 0.13542479276657104, -0.13306036591529846, 0.026844337582588196, 0.33699411153793335, 0.3155503273010254, 0.2514979839324951, 0.332164466381073, -0.03612843155860901, 0.12437883019447327, -0.47405821084976196, 0.07633249461650848, 0.37285980582237244, -0.2863108515739441, 0.21426579356193542, 0.10650081932544708, 0.1590823382139206, 0.2323465347290039, -0.1481836885213852, -0.16523075103759766, 0.32799825072288513, 0.2567508816719055, -0.19212189316749573, -0.07192184031009674, 0.043050654232501984, 0.1912892609834671, -0.18555928766727448, -0.08664987981319427, 0.31486207246780396, -0.10245389491319656, -0.0459674708545208, -0.28758472204208374, 0.277587890625, 0.05755176022648811, 0.054564252495765686, 0.3400910794734955, 0.27655553817749023, 0.31449177861213684, 0.13415294885635376, -0.22596552968025208, -0.0829978734254837, -0.1569342017173767, -0.4372672438621521, 0.317610502243042, -0.32501912117004395, 0.48561975359916687, -0.3056909143924713, -0.15803740918636322, -0.14919273555278778, -0.03697444498538971, 0.06196624040603638, 0.07606659829616547, -0.49543988704681396, 0.22295022010803223, -0.21990826725959778, -0.18654315173625946, 0.028800491243600845, 0.313341349363327, 0.06008954718708992, 0.31778013706207275, -0.2952824831008911, -0.3465362787246704, 0.6857607364654541, -0.5838356614112854, -0.19356852769851685, 0.05293140560388565, -0.06258592009544373, 0.27610817551612854, -0.030878117308020592, -0.5588116645812988, -0.08465474098920822, 0.19643276929855347, 0.13093224167823792, -0.36002928018569946, 0.14285485446453094, -0.09850917756557465, -0.12776264548301697, -0.34771206974983215, 0.22893886268138885, -0.29607704281806946, -0.053599514067173004, -0.18967990577220917, -0.31905174255371094 ]
https://github.com/huggingface/datasets/pull/1936
[WIP] Adding Support for Reading Pandas Category
Got it - that's super helpful, I was trying to figure out what would break! I think there are two issues we're discussing here: 1. modifying the pa_type of ClassLabel: totally agree with you on that one if that's OK from a back-compat perspective. (i.e. are users of `datasets` not supposed to access or use the .pa_type attribute of ClassLabel?) 2. creating a ClassLabel requires information that's not present on the pa.DictionaryType object: I think the crux of the problem is that at this line (https://github.com/huggingface/datasets/pull/1936/files#diff-54081ede051fd0a7ef65748c481cc06f90209f01bb89968747089d13a2ca052bR933) - you only have access to the `pa_type`, which is `DictionaryType[int8, string]`. I've unpacked it and looked at all of the available methods, and I don't believe that any of the actual values ("names") are present - those are stored on the `pyarrow.DictArray.dictionary` attribute (i.e. as data, not on the pyarrow.DataType) - so in order to actually be able to instantiate the ClassLabel with the names= parameter, we need to pass in more information to this method. We *could* mostly accomplish this by modifying https://github.com/huggingface/datasets/pull/1936/files#diff-54081ede051fd0a7ef65748c481cc06f90209f01bb89968747089d13a2ca052bR909 to accept a pyarrow Table in addition to the type, and it's not too difficult to do, but it feels a little bit off to me: - It feels a bit off that a "schema" definition will change depending on what data gets added to the dataset. In particular, if someone adds rows or concatenates two datasets, the ClassLabel "names" will also need to change, right? I think maybe we're getting around this because a Dataset is immutable (I think?) and so any new dataset is freshly constructed, but for example - I think this check wouldn't work for `ClassLabel`s if we were to compare the `Dataset.features` instead of the underlying pyarrow type https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L2664 - To that end I wonder if ClassLabel should actually just be the "type" akin to Category, and the "names" should be considered "data" and not part of the "type"? Similar to how pyarrow maintains two data objects - the array of indices and the array of string values. With that in mind, I'm wondering if you *should* allow an empty ClassLabel (and`int2str`, etc. can be updated to have more descriptive error messages if labels aren't provided or inferred), and if the underlying data is a pa.DictionaryType, then the names can be inferred and applied at these points in the code: - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L274 - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L686 - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L673 I think perhaps the mismatch here is when the data is stored on disk as an int there should be a convenient way of saying "this is a dictionary and here are some explicitly provided labels", whereas when it's stored as a string, we'd ideally like to say "this is a Category and please condense the representation and automatically infer the labels". Sorry for the long comment! Hopefully my thoughts make sense - thanks for taking the time to discuss!
@lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself.
472
text: [WIP] Adding Support for Reading Pandas Category @lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself. Got it - that's super helpful, I was trying to figure out what would break! I think there are two issues we're discussing here: 1. modifying the pa_type of ClassLabel: totally agree with you on that one if that's OK from a back-compat perspective. (i.e. are users of `datasets` not supposed to access or use the .pa_type attribute of ClassLabel?) 2. creating a ClassLabel requires information that's not present on the pa.DictionaryType object: I think the crux of the problem is that at this line (https://github.com/huggingface/datasets/pull/1936/files#diff-54081ede051fd0a7ef65748c481cc06f90209f01bb89968747089d13a2ca052bR933) - you only have access to the `pa_type`, which is `DictionaryType[int8, string]`. I've unpacked it and looked at all of the available methods, and I don't believe that any of the actual values ("names") are present - those are stored on the `pyarrow.DictArray.dictionary` attribute (i.e. as data, not on the pyarrow.DataType) - so in order to actually be able to instantiate the ClassLabel with the names= parameter, we need to pass in more information to this method. We *could* mostly accomplish this by modifying https://github.com/huggingface/datasets/pull/1936/files#diff-54081ede051fd0a7ef65748c481cc06f90209f01bb89968747089d13a2ca052bR909 to accept a pyarrow Table in addition to the type, and it's not too difficult to do, but it feels a little bit off to me: - It feels a bit off that a "schema" definition will change depending on what data gets added to the dataset. In particular, if someone adds rows or concatenates two datasets, the ClassLabel "names" will also need to change, right? I think maybe we're getting around this because a Dataset is immutable (I think?) and so any new dataset is freshly constructed, but for example - I think this check wouldn't work for `ClassLabel`s if we were to compare the `Dataset.features` instead of the underlying pyarrow type https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L2664 - To that end I wonder if ClassLabel should actually just be the "type" akin to Category, and the "names" should be considered "data" and not part of the "type"? Similar to how pyarrow maintains two data objects - the array of indices and the array of string values. With that in mind, I'm wondering if you *should* allow an empty ClassLabel (and`int2str`, etc. can be updated to have more descriptive error messages if labels aren't provided or inferred), and if the underlying data is a pa.DictionaryType, then the names can be inferred and applied at these points in the code: - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L274 - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L686 - https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L673 I think perhaps the mismatch here is when the data is stored on disk as an int there should be a convenient way of saying "this is a dictionary and here are some explicitly provided labels", whereas when it's stored as a string, we'd ideally like to say "this is a Category and please condense the representation and automatically infer the labels". Sorry for the long comment! Hopefully my thoughts make sense - thanks for taking the time to discuss!
[ 0.16333875060081482, 0.2155211865901947, -0.02832713909447193, 0.40813738107681274, 0.45524805784225464, -0.04258578270673752, 0.3266637921333313, 0.0771775171160698, -0.15723302960395813, -0.18670152127742767, -0.27820587158203125, 0.37012919783592224, -0.018584411591291428, 0.2872501611709595, -0.16637656092643738, -0.38479042053222656, 0.30153942108154297, -0.16226667165756226, -0.11573825776576996, 0.13787323236465454, -0.2836361527442932, 0.02559155598282814, -0.18501807749271393, 0.189680814743042, -0.1582231968641281, -0.25418365001678467, -0.375275582075119, 0.11629517376422882, -0.32969316840171814, -0.6008245944976807, 0.5874985456466675, 0.2990885078907013, 0.2794331908226013, 0.4555491507053375, -0.0001192565105156973, -0.023298684507608414, 0.07815062999725342, -0.07230740040540695, 0.14757858216762543, -0.04165983200073242, 0.28032171726226807, -0.11239754408597946, 0.3354361057281494, -0.20702022314071655, -0.03727465495467186, -0.5523690581321716, -0.2383461743593216, 0.0496068149805069, 0.01144523173570633, 0.08888107538223267, 0.14059658348560333, -0.11845489591360092, 0.27447083592414856, 0.01354910247027874, -0.06312280148267746, 0.19745823740959167, 0.017686283215880394, 0.4135134816169739, 0.031800590455532074, 0.1107424721121788, -0.09274805337190628, 0.03380817174911499, -0.10677263885736465, -0.16173632442951202, 0.6840332746505737, 0.03419634699821472, 0.008064217865467072, -0.45448872447013855, -0.07299398630857468, 0.1500791609287262, 0.6950471997261047, -0.40120628476142883, -0.5055633783340454, -0.31191322207450867, -0.1718519628047943, -0.299556165933609, 0.09088367968797684, -0.1599598079919815, 0.017376374453306198, 0.4003216028213501, 0.3620867133140564, -0.11700034886598587, -0.43044522404670715, 0.16801665723323822, -0.28582683205604553, 0.06723076850175858, -0.051526330411434174, 0.0008145645260810852, 0.027959389612078667, -0.037250712513923645, 0.08262760937213898, 0.03040945529937744, -0.07170407474040985, -0.008652149699628353, 0.20029841363430023, -0.15150505304336548, 0.10322019457817078, 0.1464191973209381, 0.015451159328222275, -0.1892370730638504, -0.13862216472625732, 0.06225673481822014, -0.20755386352539062, -0.07203150540590286, 0.4318966865539551, 0.0002490496262907982, -0.07244088500738144, -0.0027553201653063297, 0.10223214328289032, 0.03388441354036331, 0.035924527794122696, -0.08514116704463959, -0.11630421876907349, 0.0016849846579134464, -0.03553139418363571, -0.05987344682216644, 0.3724164366722107, -0.025905128568410873, -0.07374467700719833, 0.02988964319229126, -0.3194462060928345, -0.06975939869880676, -0.08049735426902771, 0.22590628266334534, -0.06308439373970032, 0.584895670413971, 0.09933924674987793, 0.33816033601760864, -0.016629086807370186, -0.029002539813518524, -0.06840182840824127, 0.015091793611645699, -0.16082048416137695, -0.08785498887300491, -0.13963843882083893, 0.24802765250205994, -0.06772539764642715, 0.10214847326278687, 0.07248780876398087, 0.23535370826721191, -0.4521806240081787, 0.015468515455722809, 0.3189031183719635, 0.1765446960926056, -0.396687388420105, 0.08205351233482361, 0.30458611249923706, -0.4117092490196228, -0.34168368577957153, 0.36104288697242737, 0.1896824836730957, -0.3214981257915497, -0.4165533185005188, 0.04903443530201912, -0.308515727519989, -0.020458202809095383, -0.2755638360977173, 0.4833078980445862, -0.1223040297627449, -0.09039612114429474, 0.3045752942562103, -0.15199394524097443, 0.20980077981948853, -0.44003090262413025, -0.06000369042158127, 0.292170912027359, -0.5807243585586548, 0.08171150088310242, 0.05176221579313278, -0.08021584153175354, 0.23192206025123596, 0.05760415643453598, -0.260759174823761, 0.035364117473363876, 0.09081777930259705, 0.19959740340709686, 0.33311933279037476, -0.3496442139148712, -0.3928971290588379, 0.045007430016994476, 0.1536773443222046, 0.19516412913799286, 0.2981424331665039, 0.04110897332429886, 0.04363999143242836, -0.1426818072795868, -0.14174450933933258, -0.012062828987836838, -0.16433924436569214, -0.021041683852672577, -0.13939860463142395, -0.10341120511293411, 0.4591226577758789, -0.0104217529296875, 0.10974516719579697, 0.24320244789123535, 0.15436150133609772, 0.09697697311639786, 0.40741220116615295, -0.15932448208332062, -0.028289256617426872, -0.25638967752456665, 0.46745073795318604, 0.3793613314628601, 0.10288001596927643, -0.052991557866334915, -0.4606174826622009, 0.057625919580459595, 0.24118706583976746, 0.36260950565338135, -0.18178172409534454, -0.4657290577888489, 0.004417264834046364, 0.10400449484586716, 0.0738188624382019, -0.14960363507270813, -0.004987405613064766, -0.07241353392601013, 0.019570842385292053, 0.07270923256874084, -0.2901057302951813, 0.003412109799683094, -0.17656250298023224, 0.3196893632411957, 0.09668812155723572, 0.1254752278327942, -0.04106900840997696, -0.15930448472499847, -0.1269765943288803, 0.2113029956817627, 0.03658962994813919, -0.09845580160617828, -0.016980111598968506, 0.24537348747253418, 0.06269621849060059, -0.016012482345104218, -0.3200077712535858, 0.5025497078895569, 0.24951627850532532, -0.06464935839176178, 0.1621079444885254, -0.10342812538146973, 0.1619000881910324, 0.03747555613517761, -0.08656755834817886, 0.41903382539749146, -0.23588185012340546, 0.08303693681955338, 0.021495789289474487, -0.04405117779970169, 0.07634072750806808, 0.12103782594203949, -0.35171979665756226, 0.11373789608478546, -0.37412428855895996, 0.1170295923948288, -0.3655184507369995, 0.18588821589946747, -0.49208685755729675, 0.4279213547706604, 0.3636218309402466, -0.10169370472431183, -0.040188953280448914, 0.10953928530216217, -0.0454583466053009, -0.1751197874546051, 0.38555410504341125, 0.03049330785870552, 0.3949527144432068, 0.2228017896413803, 0.18739713728427887, 0.12807562947273254, -0.11215682327747345, -0.01670370064675808, 0.3330039381980896, 0.24818749725818634, 0.08303647488355637, -0.30573412775993347, 0.11800514161586761, 0.20407438278198242, -0.07922761142253876, -0.187760591506958, -0.12750257551670074, 0.11727967113256454, -0.39118412137031555, 0.2337024062871933, -0.009255889803171158, -0.5410978198051453, 0.09779493510723114, -0.6138530969619751, 0.07894079387187958, -0.280991792678833, -0.18968386948108673, 0.23653684556484222, -0.20709538459777832, 0.1410875767469406, -0.29615530371665955, 0.2616159915924072, -0.05962391942739487, -0.12295303493738174, -0.0866534411907196, -0.20037125051021576, -0.22903972864151, 0.017042536288499832, 0.0931837186217308, -0.047129228711128235, 0.2652689516544342, 0.13210196793079376, 0.005134282633662224, 0.0037796786054968834, -0.5696117877960205, 0.06780372560024261, -0.30806833505630493, 0.2978093922138214, 0.21907253563404083, 0.11330185830593109, -0.27469271421432495, -0.2439301759004593, 0.20834141969680786, 0.022711561992764473, -0.07369834184646606, -0.24611881375312805, -0.03907790035009384, 0.03153989091515541, -0.12687736749649048, -0.35409989953041077, -0.316057026386261, -0.40497228503227234, 0.4803169369697571, -0.0193769671022892, 0.04424552246928215, 0.30012840032577515, 0.15205685794353485, 0.10862540453672409, 0.32176268100738525, 0.023955415934324265, -0.12815457582473755, 0.07178892195224762, 0.21743521094322205, -0.19713808596134186, -0.23117457330226898, 0.0358440987765789, -0.23220224678516388, 0.2116524577140808, -0.16609355807304382, -0.29450178146362305, -0.4776403307914734, -0.08525843918323517, 0.6851456761360168, 0.13155204057693481, 0.10051548480987549, 0.2779858708381653, 0.2700013518333435, -0.001974593847990036, 0.015057168900966644, -0.157415971159935, -0.10279034823179245, 0.06678572297096252, -0.20905625820159912, 0.17823153734207153, 0.11741718649864197, 0.01842685043811798, 0.39059770107269287, -0.05960956588387489, -0.05098137632012367, 0.41330307722091675, -0.10438822954893112, 0.46257638931274414, 0.023988522589206696, -0.2809377610683441, -0.0036028658505529165, -0.3531462848186493, 0.008222665637731552, 0.20838052034378052, -0.12708455324172974, -0.29447418451309204, -0.10203365981578827, -0.06454530358314514, -0.307241290807724, -0.3650740385055542, 0.21002425253391266, -0.06111852079629898, -0.04224276542663574, -0.07125551998615265, -0.04755726456642151, -0.2877962291240692, -0.007761642802506685, 0.13824008405208588, 0.24990172684192657, -0.023130469024181366, 0.01799476332962513, -0.18356136977672577, -0.20036636292934418, -0.417133629322052, 0.20982186496257782, 0.1715993881225586, -0.06908810883760452, 0.15788918733596802, -0.3094351887702942, 0.1019730493426323, 0.029919268563389778, 0.5297168493270874, -0.07446376234292984, -0.2507311701774597, 0.3459364175796509, 0.06832116097211838, -0.3238702416419983, 0.02904413267970085, -0.22598949074745178, 0.1576293706893921, 0.3436853289604187, -0.12773102521896362, -0.48319900035858154, -0.17082396149635315, 0.22389985620975494, -0.19301074743270874, 0.032792750746011734, -0.06414544582366943, -0.08660662174224854, -0.4875434339046478, -0.11772671341896057, 0.06910848617553711, 0.47647979855537415, 0.30382850766181946, -0.40984952449798584, 0.08393204212188721, -0.17647820711135864, -0.006167324259877205, 0.3094886541366577, 0.15053141117095947, 0.22642800211906433, 0.008297344669699669, -0.21662047505378723, -0.035735465586185455, 0.35442790389060974, 0.30830758810043335, 0.5383265018463135, -0.05036790296435356, -0.6085839867591858, 0.04469037428498268, 0.15273262560367584, 0.42764490842819214, 0.5040020942687988, 0.05530061572790146, 0.13627412915229797, -0.14180226624011993, -0.1551891565322876, -0.3046903908252716, 0.16588620841503143, 0.2487114816904068, 0.023952431976795197, -0.2818760275840759, -0.46539947390556335, 0.5618224143981934, -0.03382109850645065, -0.2703697681427002, 0.10514853894710541, 0.8912201523780823, -0.56305330991745, 0.3910297155380249, 0.22047460079193115, 1.1919375658035278, 0.2130228877067566, 0.25640085339546204, 0.6309164762496948, 0.02342105656862259, 0.7500919699668884, 0.2372756451368332, 0.13289448618888855, -0.3395969271659851, 0.19854073226451874, -0.11683125048875809, 0.05611712113022804, 0.16514386236667633, -0.030641645193099976, -0.3974762558937073, 0.025789445266127586, -0.1703701913356781, -0.017125021666288376, 0.039547309279441833, 0.11843816936016083, -0.16463324427604675, -0.2074507474899292, -0.4777204096317291, -0.022044142708182335, 0.2774101793766022, -0.11409172415733337, -0.0126631585881114, -0.34756457805633545, -0.4246634244918823, -0.03321335092186928, -0.36595380306243896, -0.4267137944698334, -0.22155797481536865, -0.16197697818279266, 0.2750647962093353, 0.036763519048690796, 0.29357776045799255, 0.6681860685348511, 0.4890369772911072, -0.35109031200408936, -0.1394607573747635, -0.14189060032367706, -0.27401822805404663, -0.06955810636281967, 0.3359183073043823, -0.09196119010448456, 0.6701480150222778, 0.15171116590499878, 0.0024975091218948364, 0.04812781140208244, -0.09459616243839264, 0.012416083365678787, -0.3189558982849121, -0.2046910673379898, 0.11986906826496124, -0.727541446685791, 0.018471552059054375, -0.3254438638687134, -0.07141347229480743, -0.0805206447839737, 0.03033776953816414, 0.06001102179288864, -0.014628438279032707, 0.14542707800865173, 0.04417356103658676, -0.04118091240525246, -0.12594608962535858, -0.02259586751461029, 0.16016045212745667, 0.2124105989933014, 0.05073485150933266, 0.18941360712051392, -0.31552618741989136, 0.0638216957449913, 0.05690741539001465, 0.2999838888645172, -0.34261777997016907, 0.058830417692661285, 0.16725628077983856, -0.2199656367301941, -0.20115259289741516, 0.4574664533138275, 0.24449412524700165, 0.29941457509994507, -0.24035300314426422, 0.02667035162448883, -0.3065381944179535, 0.5192360877990723, 0.005920141935348511, 0.18761105835437775, -0.17486104369163513, 0.02913166582584381, 0.0086590014398098, -0.1387546807527542, -0.23710697889328003, -0.02947508729994297, 0.04999525845050812, -0.057455599308013916, 0.2800569236278534, 0.08118166029453278, 0.08229228109121323, -0.12198181450366974, 0.06749020516872406, 0.008791476488113403, 0.005213790573179722, -0.006092233583331108, -0.20578409731388092, 0.15359847247600555, 0.0710778683423996, -0.15263383090496063, 0.1389332264661789, -0.006734998896718025, -0.17289280891418457, -0.13397058844566345, 0.11866684257984161, 0.0718083456158638, -0.060306698083877563, 0.13816562294960022, 0.21617962419986725, 0.3493195176124573, -0.018819600343704224, 0.28300899267196655, 0.06782537698745728, 0.60945063829422, -0.012698591686785221, 0.06972362846136093, -0.14046582579612732, -0.06784291565418243, 0.327099084854126, 0.2421545386314392, 0.05447215214371681, -0.028768807649612427, 0.3078206181526184, -0.1124626100063324, 0.042643409222364426, 0.06999586522579193, 0.42180633544921875, 0.2227499932050705, -0.0366327166557312, -0.016883037984371185, 0.35816264152526855, 0.08188024163246155, -0.23023074865341187, 0.07200821489095688, -0.023099292069673538, -0.22704526782035828, -0.03770242631435394, 0.5572076439857483, 0.20933189988136292, 0.2820127606391907, -0.2718384265899658, -0.0256304033100605, 0.3682577610015869, 0.33208298683166504, 0.006976674310863018, 0.19845104217529297, -0.3662555515766144, 0.04851578176021576, 0.7010810971260071, 0.3114684224128723, 0.26915663480758667, 0.2644030749797821, 0.0633697509765625, 0.1266283094882965, -0.08371516317129135, 0.12098619341850281, 0.0594286173582077, -0.1666126400232315, 0.19414590299129486, 0.28069037199020386, 0.04505089670419693, 0.028962288051843643, -0.004729263484477997, 0.21897375583648682, -0.23715589940547943, -0.14565064013004303, 0.14730054140090942, 0.057051438838243484, -0.29192864894866943, -0.08209355175495148, 0.1852586567401886, -0.2784389555454254, 0.040149979293346405, -0.0850040465593338, -0.3857245445251465, -0.4077434539794922, 0.28381776809692383, -0.10148489475250244, -0.015254907310009003, -0.421914279460907, 0.025693796575069427, -0.37929701805114746, 0.4363391399383545, 0.02599843218922615, 0.058294542133808136, 0.031513579189777374, -0.24602556228637695, 0.10063499212265015, 0.3849104940891266, 0.5392625331878662, 0.2695695757865906, -0.2205662578344345, -0.19728605449199677, -0.17313207685947418, -0.28108394145965576, 0.13413803279399872, -0.02521740272641182, 0.3620348572731018, 0.3092215955257416, -0.004855014383792877, 0.09039373695850372, 0.019551623612642288, -0.003646247088909149, -0.025397922843694687, 0.18291865289211273, -0.18231672048568726, 0.6367910504341125, -0.06479354202747345, -0.25683507323265076, 0.1789647489786148, -0.09407899528741837, -0.18981701135635376, -0.30389735102653503, 0.12938399612903595, -0.04083041474223137, 0.13542479276657104, -0.13306036591529846, 0.026844337582588196, 0.33699411153793335, 0.3155503273010254, 0.2514979839324951, 0.332164466381073, -0.03612843155860901, 0.12437883019447327, -0.47405821084976196, 0.07633249461650848, 0.37285980582237244, -0.2863108515739441, 0.21426579356193542, 0.10650081932544708, 0.1590823382139206, 0.2323465347290039, -0.1481836885213852, -0.16523075103759766, 0.32799825072288513, 0.2567508816719055, -0.19212189316749573, -0.07192184031009674, 0.043050654232501984, 0.1912892609834671, -0.18555928766727448, -0.08664987981319427, 0.31486207246780396, -0.10245389491319656, -0.0459674708545208, -0.28758472204208374, 0.277587890625, 0.05755176022648811, 0.054564252495765686, 0.3400910794734955, 0.27655553817749023, 0.31449177861213684, 0.13415294885635376, -0.22596552968025208, -0.0829978734254837, -0.1569342017173767, -0.4372672438621521, 0.317610502243042, -0.32501912117004395, 0.48561975359916687, -0.3056909143924713, -0.15803740918636322, -0.14919273555278778, -0.03697444498538971, 0.06196624040603638, 0.07606659829616547, -0.49543988704681396, 0.22295022010803223, -0.21990826725959778, -0.18654315173625946, 0.028800491243600845, 0.313341349363327, 0.06008954718708992, 0.31778013706207275, -0.2952824831008911, -0.3465362787246704, 0.6857607364654541, -0.5838356614112854, -0.19356852769851685, 0.05293140560388565, -0.06258592009544373, 0.27610817551612854, -0.030878117308020592, -0.5588116645812988, -0.08465474098920822, 0.19643276929855347, 0.13093224167823792, -0.36002928018569946, 0.14285485446453094, -0.09850917756557465, -0.12776264548301697, -0.34771206974983215, 0.22893886268138885, -0.29607704281806946, -0.053599514067173004, -0.18967990577220917, -0.31905174255371094 ]
https://github.com/huggingface/datasets/pull/1936
[WIP] Adding Support for Reading Pandas Category
Yes that makes sense. I completely forgot that the label names of an arrow Dictionary type were not stored in the type but in the DictionaryArray. This is made me realize that it's actually pretty unpractical and I feel that handling this can add unnecessary complexity in the handling of dtypes. More specifically: - it's not possible to create a DictionaryArray from a call to pyarrow.array with python objects, which is the function we use to convert python objects to pyarrow objects (or we would need to convert the python objects to pandas categorical series beforehand but it doesn't work for nested types) - casting nested types containing Dictionary types would require a lot of array manipulations since it's not compatible with pyarrow.array.cast I feel like the original feature request (support of pandas Categorical) should be addressable without adding so much complexity to the library. If we admit that we don't want to deal with arrow Dictionary type, maybe we can simply convert the pandas categorical series to an int64 series and set the feature type to the right ClassLabel in `from_pandas`. We can have the reverse operation in `to_pandas`. This way we don't need to support the arrow DictionaryType and so we can keep simple/accessible code for conversion from python to arrow and also for type casting. Let me know what you think. In the future depending on the usage of the ClassLabel types with pandas/pyarrow we might reconsider this but for now I believe this simple solution is enough.
@lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself.
251
text: [WIP] Adding Support for Reading Pandas Category @lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself. Yes that makes sense. I completely forgot that the label names of an arrow Dictionary type were not stored in the type but in the DictionaryArray. This is made me realize that it's actually pretty unpractical and I feel that handling this can add unnecessary complexity in the handling of dtypes. More specifically: - it's not possible to create a DictionaryArray from a call to pyarrow.array with python objects, which is the function we use to convert python objects to pyarrow objects (or we would need to convert the python objects to pandas categorical series beforehand but it doesn't work for nested types) - casting nested types containing Dictionary types would require a lot of array manipulations since it's not compatible with pyarrow.array.cast I feel like the original feature request (support of pandas Categorical) should be addressable without adding so much complexity to the library. If we admit that we don't want to deal with arrow Dictionary type, maybe we can simply convert the pandas categorical series to an int64 series and set the feature type to the right ClassLabel in `from_pandas`. We can have the reverse operation in `to_pandas`. This way we don't need to support the arrow DictionaryType and so we can keep simple/accessible code for conversion from python to arrow and also for type casting. Let me know what you think. In the future depending on the usage of the ClassLabel types with pandas/pyarrow we might reconsider this but for now I believe this simple solution is enough.
[ 0.16333875060081482, 0.2155211865901947, -0.02832713909447193, 0.40813738107681274, 0.45524805784225464, -0.04258578270673752, 0.3266637921333313, 0.0771775171160698, -0.15723302960395813, -0.18670152127742767, -0.27820587158203125, 0.37012919783592224, -0.018584411591291428, 0.2872501611709595, -0.16637656092643738, -0.38479042053222656, 0.30153942108154297, -0.16226667165756226, -0.11573825776576996, 0.13787323236465454, -0.2836361527442932, 0.02559155598282814, -0.18501807749271393, 0.189680814743042, -0.1582231968641281, -0.25418365001678467, -0.375275582075119, 0.11629517376422882, -0.32969316840171814, -0.6008245944976807, 0.5874985456466675, 0.2990885078907013, 0.2794331908226013, 0.4555491507053375, -0.0001192565105156973, -0.023298684507608414, 0.07815062999725342, -0.07230740040540695, 0.14757858216762543, -0.04165983200073242, 0.28032171726226807, -0.11239754408597946, 0.3354361057281494, -0.20702022314071655, -0.03727465495467186, -0.5523690581321716, -0.2383461743593216, 0.0496068149805069, 0.01144523173570633, 0.08888107538223267, 0.14059658348560333, -0.11845489591360092, 0.27447083592414856, 0.01354910247027874, -0.06312280148267746, 0.19745823740959167, 0.017686283215880394, 0.4135134816169739, 0.031800590455532074, 0.1107424721121788, -0.09274805337190628, 0.03380817174911499, -0.10677263885736465, -0.16173632442951202, 0.6840332746505737, 0.03419634699821472, 0.008064217865467072, -0.45448872447013855, -0.07299398630857468, 0.1500791609287262, 0.6950471997261047, -0.40120628476142883, -0.5055633783340454, -0.31191322207450867, -0.1718519628047943, -0.299556165933609, 0.09088367968797684, -0.1599598079919815, 0.017376374453306198, 0.4003216028213501, 0.3620867133140564, -0.11700034886598587, -0.43044522404670715, 0.16801665723323822, -0.28582683205604553, 0.06723076850175858, -0.051526330411434174, 0.0008145645260810852, 0.027959389612078667, -0.037250712513923645, 0.08262760937213898, 0.03040945529937744, -0.07170407474040985, -0.008652149699628353, 0.20029841363430023, -0.15150505304336548, 0.10322019457817078, 0.1464191973209381, 0.015451159328222275, -0.1892370730638504, -0.13862216472625732, 0.06225673481822014, -0.20755386352539062, -0.07203150540590286, 0.4318966865539551, 0.0002490496262907982, -0.07244088500738144, -0.0027553201653063297, 0.10223214328289032, 0.03388441354036331, 0.035924527794122696, -0.08514116704463959, -0.11630421876907349, 0.0016849846579134464, -0.03553139418363571, -0.05987344682216644, 0.3724164366722107, -0.025905128568410873, -0.07374467700719833, 0.02988964319229126, -0.3194462060928345, -0.06975939869880676, -0.08049735426902771, 0.22590628266334534, -0.06308439373970032, 0.584895670413971, 0.09933924674987793, 0.33816033601760864, -0.016629086807370186, -0.029002539813518524, -0.06840182840824127, 0.015091793611645699, -0.16082048416137695, -0.08785498887300491, -0.13963843882083893, 0.24802765250205994, -0.06772539764642715, 0.10214847326278687, 0.07248780876398087, 0.23535370826721191, -0.4521806240081787, 0.015468515455722809, 0.3189031183719635, 0.1765446960926056, -0.396687388420105, 0.08205351233482361, 0.30458611249923706, -0.4117092490196228, -0.34168368577957153, 0.36104288697242737, 0.1896824836730957, -0.3214981257915497, -0.4165533185005188, 0.04903443530201912, -0.308515727519989, -0.020458202809095383, -0.2755638360977173, 0.4833078980445862, -0.1223040297627449, -0.09039612114429474, 0.3045752942562103, -0.15199394524097443, 0.20980077981948853, -0.44003090262413025, -0.06000369042158127, 0.292170912027359, -0.5807243585586548, 0.08171150088310242, 0.05176221579313278, -0.08021584153175354, 0.23192206025123596, 0.05760415643453598, -0.260759174823761, 0.035364117473363876, 0.09081777930259705, 0.19959740340709686, 0.33311933279037476, -0.3496442139148712, -0.3928971290588379, 0.045007430016994476, 0.1536773443222046, 0.19516412913799286, 0.2981424331665039, 0.04110897332429886, 0.04363999143242836, -0.1426818072795868, -0.14174450933933258, -0.012062828987836838, -0.16433924436569214, -0.021041683852672577, -0.13939860463142395, -0.10341120511293411, 0.4591226577758789, -0.0104217529296875, 0.10974516719579697, 0.24320244789123535, 0.15436150133609772, 0.09697697311639786, 0.40741220116615295, -0.15932448208332062, -0.028289256617426872, -0.25638967752456665, 0.46745073795318604, 0.3793613314628601, 0.10288001596927643, -0.052991557866334915, -0.4606174826622009, 0.057625919580459595, 0.24118706583976746, 0.36260950565338135, -0.18178172409534454, -0.4657290577888489, 0.004417264834046364, 0.10400449484586716, 0.0738188624382019, -0.14960363507270813, -0.004987405613064766, -0.07241353392601013, 0.019570842385292053, 0.07270923256874084, -0.2901057302951813, 0.003412109799683094, -0.17656250298023224, 0.3196893632411957, 0.09668812155723572, 0.1254752278327942, -0.04106900840997696, -0.15930448472499847, -0.1269765943288803, 0.2113029956817627, 0.03658962994813919, -0.09845580160617828, -0.016980111598968506, 0.24537348747253418, 0.06269621849060059, -0.016012482345104218, -0.3200077712535858, 0.5025497078895569, 0.24951627850532532, -0.06464935839176178, 0.1621079444885254, -0.10342812538146973, 0.1619000881910324, 0.03747555613517761, -0.08656755834817886, 0.41903382539749146, -0.23588185012340546, 0.08303693681955338, 0.021495789289474487, -0.04405117779970169, 0.07634072750806808, 0.12103782594203949, -0.35171979665756226, 0.11373789608478546, -0.37412428855895996, 0.1170295923948288, -0.3655184507369995, 0.18588821589946747, -0.49208685755729675, 0.4279213547706604, 0.3636218309402466, -0.10169370472431183, -0.040188953280448914, 0.10953928530216217, -0.0454583466053009, -0.1751197874546051, 0.38555410504341125, 0.03049330785870552, 0.3949527144432068, 0.2228017896413803, 0.18739713728427887, 0.12807562947273254, -0.11215682327747345, -0.01670370064675808, 0.3330039381980896, 0.24818749725818634, 0.08303647488355637, -0.30573412775993347, 0.11800514161586761, 0.20407438278198242, -0.07922761142253876, -0.187760591506958, -0.12750257551670074, 0.11727967113256454, -0.39118412137031555, 0.2337024062871933, -0.009255889803171158, -0.5410978198051453, 0.09779493510723114, -0.6138530969619751, 0.07894079387187958, -0.280991792678833, -0.18968386948108673, 0.23653684556484222, -0.20709538459777832, 0.1410875767469406, -0.29615530371665955, 0.2616159915924072, -0.05962391942739487, -0.12295303493738174, -0.0866534411907196, -0.20037125051021576, -0.22903972864151, 0.017042536288499832, 0.0931837186217308, -0.047129228711128235, 0.2652689516544342, 0.13210196793079376, 0.005134282633662224, 0.0037796786054968834, -0.5696117877960205, 0.06780372560024261, -0.30806833505630493, 0.2978093922138214, 0.21907253563404083, 0.11330185830593109, -0.27469271421432495, -0.2439301759004593, 0.20834141969680786, 0.022711561992764473, -0.07369834184646606, -0.24611881375312805, -0.03907790035009384, 0.03153989091515541, -0.12687736749649048, -0.35409989953041077, -0.316057026386261, -0.40497228503227234, 0.4803169369697571, -0.0193769671022892, 0.04424552246928215, 0.30012840032577515, 0.15205685794353485, 0.10862540453672409, 0.32176268100738525, 0.023955415934324265, -0.12815457582473755, 0.07178892195224762, 0.21743521094322205, -0.19713808596134186, -0.23117457330226898, 0.0358440987765789, -0.23220224678516388, 0.2116524577140808, -0.16609355807304382, -0.29450178146362305, -0.4776403307914734, -0.08525843918323517, 0.6851456761360168, 0.13155204057693481, 0.10051548480987549, 0.2779858708381653, 0.2700013518333435, -0.001974593847990036, 0.015057168900966644, -0.157415971159935, -0.10279034823179245, 0.06678572297096252, -0.20905625820159912, 0.17823153734207153, 0.11741718649864197, 0.01842685043811798, 0.39059770107269287, -0.05960956588387489, -0.05098137632012367, 0.41330307722091675, -0.10438822954893112, 0.46257638931274414, 0.023988522589206696, -0.2809377610683441, -0.0036028658505529165, -0.3531462848186493, 0.008222665637731552, 0.20838052034378052, -0.12708455324172974, -0.29447418451309204, -0.10203365981578827, -0.06454530358314514, -0.307241290807724, -0.3650740385055542, 0.21002425253391266, -0.06111852079629898, -0.04224276542663574, -0.07125551998615265, -0.04755726456642151, -0.2877962291240692, -0.007761642802506685, 0.13824008405208588, 0.24990172684192657, -0.023130469024181366, 0.01799476332962513, -0.18356136977672577, -0.20036636292934418, -0.417133629322052, 0.20982186496257782, 0.1715993881225586, -0.06908810883760452, 0.15788918733596802, -0.3094351887702942, 0.1019730493426323, 0.029919268563389778, 0.5297168493270874, -0.07446376234292984, -0.2507311701774597, 0.3459364175796509, 0.06832116097211838, -0.3238702416419983, 0.02904413267970085, -0.22598949074745178, 0.1576293706893921, 0.3436853289604187, -0.12773102521896362, -0.48319900035858154, -0.17082396149635315, 0.22389985620975494, -0.19301074743270874, 0.032792750746011734, -0.06414544582366943, -0.08660662174224854, -0.4875434339046478, -0.11772671341896057, 0.06910848617553711, 0.47647979855537415, 0.30382850766181946, -0.40984952449798584, 0.08393204212188721, -0.17647820711135864, -0.006167324259877205, 0.3094886541366577, 0.15053141117095947, 0.22642800211906433, 0.008297344669699669, -0.21662047505378723, -0.035735465586185455, 0.35442790389060974, 0.30830758810043335, 0.5383265018463135, -0.05036790296435356, -0.6085839867591858, 0.04469037428498268, 0.15273262560367584, 0.42764490842819214, 0.5040020942687988, 0.05530061572790146, 0.13627412915229797, -0.14180226624011993, -0.1551891565322876, -0.3046903908252716, 0.16588620841503143, 0.2487114816904068, 0.023952431976795197, -0.2818760275840759, -0.46539947390556335, 0.5618224143981934, -0.03382109850645065, -0.2703697681427002, 0.10514853894710541, 0.8912201523780823, -0.56305330991745, 0.3910297155380249, 0.22047460079193115, 1.1919375658035278, 0.2130228877067566, 0.25640085339546204, 0.6309164762496948, 0.02342105656862259, 0.7500919699668884, 0.2372756451368332, 0.13289448618888855, -0.3395969271659851, 0.19854073226451874, -0.11683125048875809, 0.05611712113022804, 0.16514386236667633, -0.030641645193099976, -0.3974762558937073, 0.025789445266127586, -0.1703701913356781, -0.017125021666288376, 0.039547309279441833, 0.11843816936016083, -0.16463324427604675, -0.2074507474899292, -0.4777204096317291, -0.022044142708182335, 0.2774101793766022, -0.11409172415733337, -0.0126631585881114, -0.34756457805633545, -0.4246634244918823, -0.03321335092186928, -0.36595380306243896, -0.4267137944698334, -0.22155797481536865, -0.16197697818279266, 0.2750647962093353, 0.036763519048690796, 0.29357776045799255, 0.6681860685348511, 0.4890369772911072, -0.35109031200408936, -0.1394607573747635, -0.14189060032367706, -0.27401822805404663, -0.06955810636281967, 0.3359183073043823, -0.09196119010448456, 0.6701480150222778, 0.15171116590499878, 0.0024975091218948364, 0.04812781140208244, -0.09459616243839264, 0.012416083365678787, -0.3189558982849121, -0.2046910673379898, 0.11986906826496124, -0.727541446685791, 0.018471552059054375, -0.3254438638687134, -0.07141347229480743, -0.0805206447839737, 0.03033776953816414, 0.06001102179288864, -0.014628438279032707, 0.14542707800865173, 0.04417356103658676, -0.04118091240525246, -0.12594608962535858, -0.02259586751461029, 0.16016045212745667, 0.2124105989933014, 0.05073485150933266, 0.18941360712051392, -0.31552618741989136, 0.0638216957449913, 0.05690741539001465, 0.2999838888645172, -0.34261777997016907, 0.058830417692661285, 0.16725628077983856, -0.2199656367301941, -0.20115259289741516, 0.4574664533138275, 0.24449412524700165, 0.29941457509994507, -0.24035300314426422, 0.02667035162448883, -0.3065381944179535, 0.5192360877990723, 0.005920141935348511, 0.18761105835437775, -0.17486104369163513, 0.02913166582584381, 0.0086590014398098, -0.1387546807527542, -0.23710697889328003, -0.02947508729994297, 0.04999525845050812, -0.057455599308013916, 0.2800569236278534, 0.08118166029453278, 0.08229228109121323, -0.12198181450366974, 0.06749020516872406, 0.008791476488113403, 0.005213790573179722, -0.006092233583331108, -0.20578409731388092, 0.15359847247600555, 0.0710778683423996, -0.15263383090496063, 0.1389332264661789, -0.006734998896718025, -0.17289280891418457, -0.13397058844566345, 0.11866684257984161, 0.0718083456158638, -0.060306698083877563, 0.13816562294960022, 0.21617962419986725, 0.3493195176124573, -0.018819600343704224, 0.28300899267196655, 0.06782537698745728, 0.60945063829422, -0.012698591686785221, 0.06972362846136093, -0.14046582579612732, -0.06784291565418243, 0.327099084854126, 0.2421545386314392, 0.05447215214371681, -0.028768807649612427, 0.3078206181526184, -0.1124626100063324, 0.042643409222364426, 0.06999586522579193, 0.42180633544921875, 0.2227499932050705, -0.0366327166557312, -0.016883037984371185, 0.35816264152526855, 0.08188024163246155, -0.23023074865341187, 0.07200821489095688, -0.023099292069673538, -0.22704526782035828, -0.03770242631435394, 0.5572076439857483, 0.20933189988136292, 0.2820127606391907, -0.2718384265899658, -0.0256304033100605, 0.3682577610015869, 0.33208298683166504, 0.006976674310863018, 0.19845104217529297, -0.3662555515766144, 0.04851578176021576, 0.7010810971260071, 0.3114684224128723, 0.26915663480758667, 0.2644030749797821, 0.0633697509765625, 0.1266283094882965, -0.08371516317129135, 0.12098619341850281, 0.0594286173582077, -0.1666126400232315, 0.19414590299129486, 0.28069037199020386, 0.04505089670419693, 0.028962288051843643, -0.004729263484477997, 0.21897375583648682, -0.23715589940547943, -0.14565064013004303, 0.14730054140090942, 0.057051438838243484, -0.29192864894866943, -0.08209355175495148, 0.1852586567401886, -0.2784389555454254, 0.040149979293346405, -0.0850040465593338, -0.3857245445251465, -0.4077434539794922, 0.28381776809692383, -0.10148489475250244, -0.015254907310009003, -0.421914279460907, 0.025693796575069427, -0.37929701805114746, 0.4363391399383545, 0.02599843218922615, 0.058294542133808136, 0.031513579189777374, -0.24602556228637695, 0.10063499212265015, 0.3849104940891266, 0.5392625331878662, 0.2695695757865906, -0.2205662578344345, -0.19728605449199677, -0.17313207685947418, -0.28108394145965576, 0.13413803279399872, -0.02521740272641182, 0.3620348572731018, 0.3092215955257416, -0.004855014383792877, 0.09039373695850372, 0.019551623612642288, -0.003646247088909149, -0.025397922843694687, 0.18291865289211273, -0.18231672048568726, 0.6367910504341125, -0.06479354202747345, -0.25683507323265076, 0.1789647489786148, -0.09407899528741837, -0.18981701135635376, -0.30389735102653503, 0.12938399612903595, -0.04083041474223137, 0.13542479276657104, -0.13306036591529846, 0.026844337582588196, 0.33699411153793335, 0.3155503273010254, 0.2514979839324951, 0.332164466381073, -0.03612843155860901, 0.12437883019447327, -0.47405821084976196, 0.07633249461650848, 0.37285980582237244, -0.2863108515739441, 0.21426579356193542, 0.10650081932544708, 0.1590823382139206, 0.2323465347290039, -0.1481836885213852, -0.16523075103759766, 0.32799825072288513, 0.2567508816719055, -0.19212189316749573, -0.07192184031009674, 0.043050654232501984, 0.1912892609834671, -0.18555928766727448, -0.08664987981319427, 0.31486207246780396, -0.10245389491319656, -0.0459674708545208, -0.28758472204208374, 0.277587890625, 0.05755176022648811, 0.054564252495765686, 0.3400910794734955, 0.27655553817749023, 0.31449177861213684, 0.13415294885635376, -0.22596552968025208, -0.0829978734254837, -0.1569342017173767, -0.4372672438621521, 0.317610502243042, -0.32501912117004395, 0.48561975359916687, -0.3056909143924713, -0.15803740918636322, -0.14919273555278778, -0.03697444498538971, 0.06196624040603638, 0.07606659829616547, -0.49543988704681396, 0.22295022010803223, -0.21990826725959778, -0.18654315173625946, 0.028800491243600845, 0.313341349363327, 0.06008954718708992, 0.31778013706207275, -0.2952824831008911, -0.3465362787246704, 0.6857607364654541, -0.5838356614112854, -0.19356852769851685, 0.05293140560388565, -0.06258592009544373, 0.27610817551612854, -0.030878117308020592, -0.5588116645812988, -0.08465474098920822, 0.19643276929855347, 0.13093224167823792, -0.36002928018569946, 0.14285485446453094, -0.09850917756557465, -0.12776264548301697, -0.34771206974983215, 0.22893886268138885, -0.29607704281806946, -0.053599514067173004, -0.18967990577220917, -0.31905174255371094 ]
https://github.com/huggingface/datasets/pull/1936
[WIP] Adding Support for Reading Pandas Category
OK! I just whipped up the `from_pandas()` portion of this PR, and it works, though I'm not *super* familiar with the available APIs so I'm not sure if there's a more "vectorized" way of doing all of these updates - so happy to get some feedback and iterate! Apologies for multiple commits - I realized how to solve a few different problems right after I gave up and pushed with the intent to ask for help :-) I wanted to get some guidance on how to handle the reverse direction: I think there are two main areas to look at, `.to_pandas()` and also `.set_format('pandas')` and then pulling out a dataframe like so: `dataset[:]`. Is there a single place where I can handle both of these cases at once or do these need to be handled independently?
@lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself.
136
text: [WIP] Adding Support for Reading Pandas Category @lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself. OK! I just whipped up the `from_pandas()` portion of this PR, and it works, though I'm not *super* familiar with the available APIs so I'm not sure if there's a more "vectorized" way of doing all of these updates - so happy to get some feedback and iterate! Apologies for multiple commits - I realized how to solve a few different problems right after I gave up and pushed with the intent to ask for help :-) I wanted to get some guidance on how to handle the reverse direction: I think there are two main areas to look at, `.to_pandas()` and also `.set_format('pandas')` and then pulling out a dataframe like so: `dataset[:]`. Is there a single place where I can handle both of these cases at once or do these need to be handled independently?
[ 0.16333875060081482, 0.2155211865901947, -0.02832713909447193, 0.40813738107681274, 0.45524805784225464, -0.04258578270673752, 0.3266637921333313, 0.0771775171160698, -0.15723302960395813, -0.18670152127742767, -0.27820587158203125, 0.37012919783592224, -0.018584411591291428, 0.2872501611709595, -0.16637656092643738, -0.38479042053222656, 0.30153942108154297, -0.16226667165756226, -0.11573825776576996, 0.13787323236465454, -0.2836361527442932, 0.02559155598282814, -0.18501807749271393, 0.189680814743042, -0.1582231968641281, -0.25418365001678467, -0.375275582075119, 0.11629517376422882, -0.32969316840171814, -0.6008245944976807, 0.5874985456466675, 0.2990885078907013, 0.2794331908226013, 0.4555491507053375, -0.0001192565105156973, -0.023298684507608414, 0.07815062999725342, -0.07230740040540695, 0.14757858216762543, -0.04165983200073242, 0.28032171726226807, -0.11239754408597946, 0.3354361057281494, -0.20702022314071655, -0.03727465495467186, -0.5523690581321716, -0.2383461743593216, 0.0496068149805069, 0.01144523173570633, 0.08888107538223267, 0.14059658348560333, -0.11845489591360092, 0.27447083592414856, 0.01354910247027874, -0.06312280148267746, 0.19745823740959167, 0.017686283215880394, 0.4135134816169739, 0.031800590455532074, 0.1107424721121788, -0.09274805337190628, 0.03380817174911499, -0.10677263885736465, -0.16173632442951202, 0.6840332746505737, 0.03419634699821472, 0.008064217865467072, -0.45448872447013855, -0.07299398630857468, 0.1500791609287262, 0.6950471997261047, -0.40120628476142883, -0.5055633783340454, -0.31191322207450867, -0.1718519628047943, -0.299556165933609, 0.09088367968797684, -0.1599598079919815, 0.017376374453306198, 0.4003216028213501, 0.3620867133140564, -0.11700034886598587, -0.43044522404670715, 0.16801665723323822, -0.28582683205604553, 0.06723076850175858, -0.051526330411434174, 0.0008145645260810852, 0.027959389612078667, -0.037250712513923645, 0.08262760937213898, 0.03040945529937744, -0.07170407474040985, -0.008652149699628353, 0.20029841363430023, -0.15150505304336548, 0.10322019457817078, 0.1464191973209381, 0.015451159328222275, -0.1892370730638504, -0.13862216472625732, 0.06225673481822014, -0.20755386352539062, -0.07203150540590286, 0.4318966865539551, 0.0002490496262907982, -0.07244088500738144, -0.0027553201653063297, 0.10223214328289032, 0.03388441354036331, 0.035924527794122696, -0.08514116704463959, -0.11630421876907349, 0.0016849846579134464, -0.03553139418363571, -0.05987344682216644, 0.3724164366722107, -0.025905128568410873, -0.07374467700719833, 0.02988964319229126, -0.3194462060928345, -0.06975939869880676, -0.08049735426902771, 0.22590628266334534, -0.06308439373970032, 0.584895670413971, 0.09933924674987793, 0.33816033601760864, -0.016629086807370186, -0.029002539813518524, -0.06840182840824127, 0.015091793611645699, -0.16082048416137695, -0.08785498887300491, -0.13963843882083893, 0.24802765250205994, -0.06772539764642715, 0.10214847326278687, 0.07248780876398087, 0.23535370826721191, -0.4521806240081787, 0.015468515455722809, 0.3189031183719635, 0.1765446960926056, -0.396687388420105, 0.08205351233482361, 0.30458611249923706, -0.4117092490196228, -0.34168368577957153, 0.36104288697242737, 0.1896824836730957, -0.3214981257915497, -0.4165533185005188, 0.04903443530201912, -0.308515727519989, -0.020458202809095383, -0.2755638360977173, 0.4833078980445862, -0.1223040297627449, -0.09039612114429474, 0.3045752942562103, -0.15199394524097443, 0.20980077981948853, -0.44003090262413025, -0.06000369042158127, 0.292170912027359, -0.5807243585586548, 0.08171150088310242, 0.05176221579313278, -0.08021584153175354, 0.23192206025123596, 0.05760415643453598, -0.260759174823761, 0.035364117473363876, 0.09081777930259705, 0.19959740340709686, 0.33311933279037476, -0.3496442139148712, -0.3928971290588379, 0.045007430016994476, 0.1536773443222046, 0.19516412913799286, 0.2981424331665039, 0.04110897332429886, 0.04363999143242836, -0.1426818072795868, -0.14174450933933258, -0.012062828987836838, -0.16433924436569214, -0.021041683852672577, -0.13939860463142395, -0.10341120511293411, 0.4591226577758789, -0.0104217529296875, 0.10974516719579697, 0.24320244789123535, 0.15436150133609772, 0.09697697311639786, 0.40741220116615295, -0.15932448208332062, -0.028289256617426872, -0.25638967752456665, 0.46745073795318604, 0.3793613314628601, 0.10288001596927643, -0.052991557866334915, -0.4606174826622009, 0.057625919580459595, 0.24118706583976746, 0.36260950565338135, -0.18178172409534454, -0.4657290577888489, 0.004417264834046364, 0.10400449484586716, 0.0738188624382019, -0.14960363507270813, -0.004987405613064766, -0.07241353392601013, 0.019570842385292053, 0.07270923256874084, -0.2901057302951813, 0.003412109799683094, -0.17656250298023224, 0.3196893632411957, 0.09668812155723572, 0.1254752278327942, -0.04106900840997696, -0.15930448472499847, -0.1269765943288803, 0.2113029956817627, 0.03658962994813919, -0.09845580160617828, -0.016980111598968506, 0.24537348747253418, 0.06269621849060059, -0.016012482345104218, -0.3200077712535858, 0.5025497078895569, 0.24951627850532532, -0.06464935839176178, 0.1621079444885254, -0.10342812538146973, 0.1619000881910324, 0.03747555613517761, -0.08656755834817886, 0.41903382539749146, -0.23588185012340546, 0.08303693681955338, 0.021495789289474487, -0.04405117779970169, 0.07634072750806808, 0.12103782594203949, -0.35171979665756226, 0.11373789608478546, -0.37412428855895996, 0.1170295923948288, -0.3655184507369995, 0.18588821589946747, -0.49208685755729675, 0.4279213547706604, 0.3636218309402466, -0.10169370472431183, -0.040188953280448914, 0.10953928530216217, -0.0454583466053009, -0.1751197874546051, 0.38555410504341125, 0.03049330785870552, 0.3949527144432068, 0.2228017896413803, 0.18739713728427887, 0.12807562947273254, -0.11215682327747345, -0.01670370064675808, 0.3330039381980896, 0.24818749725818634, 0.08303647488355637, -0.30573412775993347, 0.11800514161586761, 0.20407438278198242, -0.07922761142253876, -0.187760591506958, -0.12750257551670074, 0.11727967113256454, -0.39118412137031555, 0.2337024062871933, -0.009255889803171158, -0.5410978198051453, 0.09779493510723114, -0.6138530969619751, 0.07894079387187958, -0.280991792678833, -0.18968386948108673, 0.23653684556484222, -0.20709538459777832, 0.1410875767469406, -0.29615530371665955, 0.2616159915924072, -0.05962391942739487, -0.12295303493738174, -0.0866534411907196, -0.20037125051021576, -0.22903972864151, 0.017042536288499832, 0.0931837186217308, -0.047129228711128235, 0.2652689516544342, 0.13210196793079376, 0.005134282633662224, 0.0037796786054968834, -0.5696117877960205, 0.06780372560024261, -0.30806833505630493, 0.2978093922138214, 0.21907253563404083, 0.11330185830593109, -0.27469271421432495, -0.2439301759004593, 0.20834141969680786, 0.022711561992764473, -0.07369834184646606, -0.24611881375312805, -0.03907790035009384, 0.03153989091515541, -0.12687736749649048, -0.35409989953041077, -0.316057026386261, -0.40497228503227234, 0.4803169369697571, -0.0193769671022892, 0.04424552246928215, 0.30012840032577515, 0.15205685794353485, 0.10862540453672409, 0.32176268100738525, 0.023955415934324265, -0.12815457582473755, 0.07178892195224762, 0.21743521094322205, -0.19713808596134186, -0.23117457330226898, 0.0358440987765789, -0.23220224678516388, 0.2116524577140808, -0.16609355807304382, -0.29450178146362305, -0.4776403307914734, -0.08525843918323517, 0.6851456761360168, 0.13155204057693481, 0.10051548480987549, 0.2779858708381653, 0.2700013518333435, -0.001974593847990036, 0.015057168900966644, -0.157415971159935, -0.10279034823179245, 0.06678572297096252, -0.20905625820159912, 0.17823153734207153, 0.11741718649864197, 0.01842685043811798, 0.39059770107269287, -0.05960956588387489, -0.05098137632012367, 0.41330307722091675, -0.10438822954893112, 0.46257638931274414, 0.023988522589206696, -0.2809377610683441, -0.0036028658505529165, -0.3531462848186493, 0.008222665637731552, 0.20838052034378052, -0.12708455324172974, -0.29447418451309204, -0.10203365981578827, -0.06454530358314514, -0.307241290807724, -0.3650740385055542, 0.21002425253391266, -0.06111852079629898, -0.04224276542663574, -0.07125551998615265, -0.04755726456642151, -0.2877962291240692, -0.007761642802506685, 0.13824008405208588, 0.24990172684192657, -0.023130469024181366, 0.01799476332962513, -0.18356136977672577, -0.20036636292934418, -0.417133629322052, 0.20982186496257782, 0.1715993881225586, -0.06908810883760452, 0.15788918733596802, -0.3094351887702942, 0.1019730493426323, 0.029919268563389778, 0.5297168493270874, -0.07446376234292984, -0.2507311701774597, 0.3459364175796509, 0.06832116097211838, -0.3238702416419983, 0.02904413267970085, -0.22598949074745178, 0.1576293706893921, 0.3436853289604187, -0.12773102521896362, -0.48319900035858154, -0.17082396149635315, 0.22389985620975494, -0.19301074743270874, 0.032792750746011734, -0.06414544582366943, -0.08660662174224854, -0.4875434339046478, -0.11772671341896057, 0.06910848617553711, 0.47647979855537415, 0.30382850766181946, -0.40984952449798584, 0.08393204212188721, -0.17647820711135864, -0.006167324259877205, 0.3094886541366577, 0.15053141117095947, 0.22642800211906433, 0.008297344669699669, -0.21662047505378723, -0.035735465586185455, 0.35442790389060974, 0.30830758810043335, 0.5383265018463135, -0.05036790296435356, -0.6085839867591858, 0.04469037428498268, 0.15273262560367584, 0.42764490842819214, 0.5040020942687988, 0.05530061572790146, 0.13627412915229797, -0.14180226624011993, -0.1551891565322876, -0.3046903908252716, 0.16588620841503143, 0.2487114816904068, 0.023952431976795197, -0.2818760275840759, -0.46539947390556335, 0.5618224143981934, -0.03382109850645065, -0.2703697681427002, 0.10514853894710541, 0.8912201523780823, -0.56305330991745, 0.3910297155380249, 0.22047460079193115, 1.1919375658035278, 0.2130228877067566, 0.25640085339546204, 0.6309164762496948, 0.02342105656862259, 0.7500919699668884, 0.2372756451368332, 0.13289448618888855, -0.3395969271659851, 0.19854073226451874, -0.11683125048875809, 0.05611712113022804, 0.16514386236667633, -0.030641645193099976, -0.3974762558937073, 0.025789445266127586, -0.1703701913356781, -0.017125021666288376, 0.039547309279441833, 0.11843816936016083, -0.16463324427604675, -0.2074507474899292, -0.4777204096317291, -0.022044142708182335, 0.2774101793766022, -0.11409172415733337, -0.0126631585881114, -0.34756457805633545, -0.4246634244918823, -0.03321335092186928, -0.36595380306243896, -0.4267137944698334, -0.22155797481536865, -0.16197697818279266, 0.2750647962093353, 0.036763519048690796, 0.29357776045799255, 0.6681860685348511, 0.4890369772911072, -0.35109031200408936, -0.1394607573747635, -0.14189060032367706, -0.27401822805404663, -0.06955810636281967, 0.3359183073043823, -0.09196119010448456, 0.6701480150222778, 0.15171116590499878, 0.0024975091218948364, 0.04812781140208244, -0.09459616243839264, 0.012416083365678787, -0.3189558982849121, -0.2046910673379898, 0.11986906826496124, -0.727541446685791, 0.018471552059054375, -0.3254438638687134, -0.07141347229480743, -0.0805206447839737, 0.03033776953816414, 0.06001102179288864, -0.014628438279032707, 0.14542707800865173, 0.04417356103658676, -0.04118091240525246, -0.12594608962535858, -0.02259586751461029, 0.16016045212745667, 0.2124105989933014, 0.05073485150933266, 0.18941360712051392, -0.31552618741989136, 0.0638216957449913, 0.05690741539001465, 0.2999838888645172, -0.34261777997016907, 0.058830417692661285, 0.16725628077983856, -0.2199656367301941, -0.20115259289741516, 0.4574664533138275, 0.24449412524700165, 0.29941457509994507, -0.24035300314426422, 0.02667035162448883, -0.3065381944179535, 0.5192360877990723, 0.005920141935348511, 0.18761105835437775, -0.17486104369163513, 0.02913166582584381, 0.0086590014398098, -0.1387546807527542, -0.23710697889328003, -0.02947508729994297, 0.04999525845050812, -0.057455599308013916, 0.2800569236278534, 0.08118166029453278, 0.08229228109121323, -0.12198181450366974, 0.06749020516872406, 0.008791476488113403, 0.005213790573179722, -0.006092233583331108, -0.20578409731388092, 0.15359847247600555, 0.0710778683423996, -0.15263383090496063, 0.1389332264661789, -0.006734998896718025, -0.17289280891418457, -0.13397058844566345, 0.11866684257984161, 0.0718083456158638, -0.060306698083877563, 0.13816562294960022, 0.21617962419986725, 0.3493195176124573, -0.018819600343704224, 0.28300899267196655, 0.06782537698745728, 0.60945063829422, -0.012698591686785221, 0.06972362846136093, -0.14046582579612732, -0.06784291565418243, 0.327099084854126, 0.2421545386314392, 0.05447215214371681, -0.028768807649612427, 0.3078206181526184, -0.1124626100063324, 0.042643409222364426, 0.06999586522579193, 0.42180633544921875, 0.2227499932050705, -0.0366327166557312, -0.016883037984371185, 0.35816264152526855, 0.08188024163246155, -0.23023074865341187, 0.07200821489095688, -0.023099292069673538, -0.22704526782035828, -0.03770242631435394, 0.5572076439857483, 0.20933189988136292, 0.2820127606391907, -0.2718384265899658, -0.0256304033100605, 0.3682577610015869, 0.33208298683166504, 0.006976674310863018, 0.19845104217529297, -0.3662555515766144, 0.04851578176021576, 0.7010810971260071, 0.3114684224128723, 0.26915663480758667, 0.2644030749797821, 0.0633697509765625, 0.1266283094882965, -0.08371516317129135, 0.12098619341850281, 0.0594286173582077, -0.1666126400232315, 0.19414590299129486, 0.28069037199020386, 0.04505089670419693, 0.028962288051843643, -0.004729263484477997, 0.21897375583648682, -0.23715589940547943, -0.14565064013004303, 0.14730054140090942, 0.057051438838243484, -0.29192864894866943, -0.08209355175495148, 0.1852586567401886, -0.2784389555454254, 0.040149979293346405, -0.0850040465593338, -0.3857245445251465, -0.4077434539794922, 0.28381776809692383, -0.10148489475250244, -0.015254907310009003, -0.421914279460907, 0.025693796575069427, -0.37929701805114746, 0.4363391399383545, 0.02599843218922615, 0.058294542133808136, 0.031513579189777374, -0.24602556228637695, 0.10063499212265015, 0.3849104940891266, 0.5392625331878662, 0.2695695757865906, -0.2205662578344345, -0.19728605449199677, -0.17313207685947418, -0.28108394145965576, 0.13413803279399872, -0.02521740272641182, 0.3620348572731018, 0.3092215955257416, -0.004855014383792877, 0.09039373695850372, 0.019551623612642288, -0.003646247088909149, -0.025397922843694687, 0.18291865289211273, -0.18231672048568726, 0.6367910504341125, -0.06479354202747345, -0.25683507323265076, 0.1789647489786148, -0.09407899528741837, -0.18981701135635376, -0.30389735102653503, 0.12938399612903595, -0.04083041474223137, 0.13542479276657104, -0.13306036591529846, 0.026844337582588196, 0.33699411153793335, 0.3155503273010254, 0.2514979839324951, 0.332164466381073, -0.03612843155860901, 0.12437883019447327, -0.47405821084976196, 0.07633249461650848, 0.37285980582237244, -0.2863108515739441, 0.21426579356193542, 0.10650081932544708, 0.1590823382139206, 0.2323465347290039, -0.1481836885213852, -0.16523075103759766, 0.32799825072288513, 0.2567508816719055, -0.19212189316749573, -0.07192184031009674, 0.043050654232501984, 0.1912892609834671, -0.18555928766727448, -0.08664987981319427, 0.31486207246780396, -0.10245389491319656, -0.0459674708545208, -0.28758472204208374, 0.277587890625, 0.05755176022648811, 0.054564252495765686, 0.3400910794734955, 0.27655553817749023, 0.31449177861213684, 0.13415294885635376, -0.22596552968025208, -0.0829978734254837, -0.1569342017173767, -0.4372672438621521, 0.317610502243042, -0.32501912117004395, 0.48561975359916687, -0.3056909143924713, -0.15803740918636322, -0.14919273555278778, -0.03697444498538971, 0.06196624040603638, 0.07606659829616547, -0.49543988704681396, 0.22295022010803223, -0.21990826725959778, -0.18654315173625946, 0.028800491243600845, 0.313341349363327, 0.06008954718708992, 0.31778013706207275, -0.2952824831008911, -0.3465362787246704, 0.6857607364654541, -0.5838356614112854, -0.19356852769851685, 0.05293140560388565, -0.06258592009544373, 0.27610817551612854, -0.030878117308020592, -0.5588116645812988, -0.08465474098920822, 0.19643276929855347, 0.13093224167823792, -0.36002928018569946, 0.14285485446453094, -0.09850917756557465, -0.12776264548301697, -0.34771206974983215, 0.22893886268138885, -0.29607704281806946, -0.053599514067173004, -0.18967990577220917, -0.31905174255371094 ]
https://github.com/huggingface/datasets/pull/1936
[WIP] Adding Support for Reading Pandas Category
Thanks ! This is awesome :) Could you also add a test ? There is already `test_to_pandas` in test_arrow_dataset.py Feel free to complete this test to make sure it works for Categorical :) To make it work with the "pandas" formating (when you do `set_format("pandas")` and then query `dataset[0]`, `dataset[:]`, etc.), you can take a look and the `PandasFormatter` in formatting.py It takes a pyarrow table as input of its formatting methods (one method for rows, one for columns and one for batches) and returns a pandas DataFrame (or a Series for the method for formatting a column). You can cast to Categorical in each one of the formatter methods and it should work directly when you use a pandas-formatted dataset. This formatter can then also be used in `to_pandas` (currently it does `pa_table.to_pandas()` but `PandasFormatter().format_batch(pa_table)` can be used instead).
@lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself.
140
text: [WIP] Adding Support for Reading Pandas Category @lhoestq - continuing our conversation from https://github.com/huggingface/datasets/issues/1906#issuecomment-784247014 The goal of this PR is to support `Dataset.from_pandas(df)` where the dataframe contains a Category. Just the 4 line change below actually does seem to work: ``` >>> from datasets import Dataset >>> import pandas as pd >>> df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) >>> ds = Dataset.from_pandas(df) >>> ds.to_pandas() 0 0 a 1 b 2 c 3 a >>> ds.to_pandas().dtypes 0 category dtype: object ``` save_to_disk, etc. all seem to work as well. The main things that are theoretically "incorrect" if we leave this are: ``` >>> ds.features.type StructType(struct<0: int64>) ``` there are a decent number of references to this property in the library, but I can't find anything that seems to actually break as a result of this being int64 vs. dictionary? I think the gist of my question is: a) do we *need* to change the dtype of Classlabel and have get_nested_type return a pyarrow.DictionaryType instead of int64? and b) do you *want* it to change? The biggest challenge I see to implementing this correctly is that the data will need to be passed in along with the pyarrow schema when instantiating the Classlabel (I *think* this is unavoidable, since the type itself doesn't contain the actual label values) which could be a fairly intrusive change - e.g. `from_arrow_schema`'s interface would need to change to include optional arrow data? Once we start going down this path of modifying the public interfaces I am admittedly feeling a little bit outside of my comfort zone Additionally I think `int2str`, `str2int`, and `encode_example` probably won't work - but I can't find any usages of them in the library itself. Thanks ! This is awesome :) Could you also add a test ? There is already `test_to_pandas` in test_arrow_dataset.py Feel free to complete this test to make sure it works for Categorical :) To make it work with the "pandas" formating (when you do `set_format("pandas")` and then query `dataset[0]`, `dataset[:]`, etc.), you can take a look and the `PandasFormatter` in formatting.py It takes a pyarrow table as input of its formatting methods (one method for rows, one for columns and one for batches) and returns a pandas DataFrame (or a Series for the method for formatting a column). You can cast to Categorical in each one of the formatter methods and it should work directly when you use a pandas-formatted dataset. This formatter can then also be used in `to_pandas` (currently it does `pa_table.to_pandas()` but `PandasFormatter().format_batch(pa_table)` can be used instead).
[ 0.16333875060081482, 0.2155211865901947, -0.02832713909447193, 0.40813738107681274, 0.45524805784225464, -0.04258578270673752, 0.3266637921333313, 0.0771775171160698, -0.15723302960395813, -0.18670152127742767, -0.27820587158203125, 0.37012919783592224, -0.018584411591291428, 0.2872501611709595, -0.16637656092643738, -0.38479042053222656, 0.30153942108154297, -0.16226667165756226, -0.11573825776576996, 0.13787323236465454, -0.2836361527442932, 0.02559155598282814, -0.18501807749271393, 0.189680814743042, -0.1582231968641281, -0.25418365001678467, -0.375275582075119, 0.11629517376422882, -0.32969316840171814, -0.6008245944976807, 0.5874985456466675, 0.2990885078907013, 0.2794331908226013, 0.4555491507053375, -0.0001192565105156973, -0.023298684507608414, 0.07815062999725342, -0.07230740040540695, 0.14757858216762543, -0.04165983200073242, 0.28032171726226807, -0.11239754408597946, 0.3354361057281494, -0.20702022314071655, -0.03727465495467186, -0.5523690581321716, -0.2383461743593216, 0.0496068149805069, 0.01144523173570633, 0.08888107538223267, 0.14059658348560333, -0.11845489591360092, 0.27447083592414856, 0.01354910247027874, -0.06312280148267746, 0.19745823740959167, 0.017686283215880394, 0.4135134816169739, 0.031800590455532074, 0.1107424721121788, -0.09274805337190628, 0.03380817174911499, -0.10677263885736465, -0.16173632442951202, 0.6840332746505737, 0.03419634699821472, 0.008064217865467072, -0.45448872447013855, -0.07299398630857468, 0.1500791609287262, 0.6950471997261047, -0.40120628476142883, -0.5055633783340454, -0.31191322207450867, -0.1718519628047943, -0.299556165933609, 0.09088367968797684, -0.1599598079919815, 0.017376374453306198, 0.4003216028213501, 0.3620867133140564, -0.11700034886598587, -0.43044522404670715, 0.16801665723323822, -0.28582683205604553, 0.06723076850175858, -0.051526330411434174, 0.0008145645260810852, 0.027959389612078667, -0.037250712513923645, 0.08262760937213898, 0.03040945529937744, -0.07170407474040985, -0.008652149699628353, 0.20029841363430023, -0.15150505304336548, 0.10322019457817078, 0.1464191973209381, 0.015451159328222275, -0.1892370730638504, -0.13862216472625732, 0.06225673481822014, -0.20755386352539062, -0.07203150540590286, 0.4318966865539551, 0.0002490496262907982, -0.07244088500738144, -0.0027553201653063297, 0.10223214328289032, 0.03388441354036331, 0.035924527794122696, -0.08514116704463959, -0.11630421876907349, 0.0016849846579134464, -0.03553139418363571, -0.05987344682216644, 0.3724164366722107, -0.025905128568410873, -0.07374467700719833, 0.02988964319229126, -0.3194462060928345, -0.06975939869880676, -0.08049735426902771, 0.22590628266334534, -0.06308439373970032, 0.584895670413971, 0.09933924674987793, 0.33816033601760864, -0.016629086807370186, -0.029002539813518524, -0.06840182840824127, 0.015091793611645699, -0.16082048416137695, -0.08785498887300491, -0.13963843882083893, 0.24802765250205994, -0.06772539764642715, 0.10214847326278687, 0.07248780876398087, 0.23535370826721191, -0.4521806240081787, 0.015468515455722809, 0.3189031183719635, 0.1765446960926056, -0.396687388420105, 0.08205351233482361, 0.30458611249923706, -0.4117092490196228, -0.34168368577957153, 0.36104288697242737, 0.1896824836730957, -0.3214981257915497, -0.4165533185005188, 0.04903443530201912, -0.308515727519989, -0.020458202809095383, -0.2755638360977173, 0.4833078980445862, -0.1223040297627449, -0.09039612114429474, 0.3045752942562103, -0.15199394524097443, 0.20980077981948853, -0.44003090262413025, -0.06000369042158127, 0.292170912027359, -0.5807243585586548, 0.08171150088310242, 0.05176221579313278, -0.08021584153175354, 0.23192206025123596, 0.05760415643453598, -0.260759174823761, 0.035364117473363876, 0.09081777930259705, 0.19959740340709686, 0.33311933279037476, -0.3496442139148712, -0.3928971290588379, 0.045007430016994476, 0.1536773443222046, 0.19516412913799286, 0.2981424331665039, 0.04110897332429886, 0.04363999143242836, -0.1426818072795868, -0.14174450933933258, -0.012062828987836838, -0.16433924436569214, -0.021041683852672577, -0.13939860463142395, -0.10341120511293411, 0.4591226577758789, -0.0104217529296875, 0.10974516719579697, 0.24320244789123535, 0.15436150133609772, 0.09697697311639786, 0.40741220116615295, -0.15932448208332062, -0.028289256617426872, -0.25638967752456665, 0.46745073795318604, 0.3793613314628601, 0.10288001596927643, -0.052991557866334915, -0.4606174826622009, 0.057625919580459595, 0.24118706583976746, 0.36260950565338135, -0.18178172409534454, -0.4657290577888489, 0.004417264834046364, 0.10400449484586716, 0.0738188624382019, -0.14960363507270813, -0.004987405613064766, -0.07241353392601013, 0.019570842385292053, 0.07270923256874084, -0.2901057302951813, 0.003412109799683094, -0.17656250298023224, 0.3196893632411957, 0.09668812155723572, 0.1254752278327942, -0.04106900840997696, -0.15930448472499847, -0.1269765943288803, 0.2113029956817627, 0.03658962994813919, -0.09845580160617828, -0.016980111598968506, 0.24537348747253418, 0.06269621849060059, -0.016012482345104218, -0.3200077712535858, 0.5025497078895569, 0.24951627850532532, -0.06464935839176178, 0.1621079444885254, -0.10342812538146973, 0.1619000881910324, 0.03747555613517761, -0.08656755834817886, 0.41903382539749146, -0.23588185012340546, 0.08303693681955338, 0.021495789289474487, -0.04405117779970169, 0.07634072750806808, 0.12103782594203949, -0.35171979665756226, 0.11373789608478546, -0.37412428855895996, 0.1170295923948288, -0.3655184507369995, 0.18588821589946747, -0.49208685755729675, 0.4279213547706604, 0.3636218309402466, -0.10169370472431183, -0.040188953280448914, 0.10953928530216217, -0.0454583466053009, -0.1751197874546051, 0.38555410504341125, 0.03049330785870552, 0.3949527144432068, 0.2228017896413803, 0.18739713728427887, 0.12807562947273254, -0.11215682327747345, -0.01670370064675808, 0.3330039381980896, 0.24818749725818634, 0.08303647488355637, -0.30573412775993347, 0.11800514161586761, 0.20407438278198242, -0.07922761142253876, -0.187760591506958, -0.12750257551670074, 0.11727967113256454, -0.39118412137031555, 0.2337024062871933, -0.009255889803171158, -0.5410978198051453, 0.09779493510723114, -0.6138530969619751, 0.07894079387187958, -0.280991792678833, -0.18968386948108673, 0.23653684556484222, -0.20709538459777832, 0.1410875767469406, -0.29615530371665955, 0.2616159915924072, -0.05962391942739487, -0.12295303493738174, -0.0866534411907196, -0.20037125051021576, -0.22903972864151, 0.017042536288499832, 0.0931837186217308, -0.047129228711128235, 0.2652689516544342, 0.13210196793079376, 0.005134282633662224, 0.0037796786054968834, -0.5696117877960205, 0.06780372560024261, -0.30806833505630493, 0.2978093922138214, 0.21907253563404083, 0.11330185830593109, -0.27469271421432495, -0.2439301759004593, 0.20834141969680786, 0.022711561992764473, -0.07369834184646606, -0.24611881375312805, -0.03907790035009384, 0.03153989091515541, -0.12687736749649048, -0.35409989953041077, -0.316057026386261, -0.40497228503227234, 0.4803169369697571, -0.0193769671022892, 0.04424552246928215, 0.30012840032577515, 0.15205685794353485, 0.10862540453672409, 0.32176268100738525, 0.023955415934324265, -0.12815457582473755, 0.07178892195224762, 0.21743521094322205, -0.19713808596134186, -0.23117457330226898, 0.0358440987765789, -0.23220224678516388, 0.2116524577140808, -0.16609355807304382, -0.29450178146362305, -0.4776403307914734, -0.08525843918323517, 0.6851456761360168, 0.13155204057693481, 0.10051548480987549, 0.2779858708381653, 0.2700013518333435, -0.001974593847990036, 0.015057168900966644, -0.157415971159935, -0.10279034823179245, 0.06678572297096252, -0.20905625820159912, 0.17823153734207153, 0.11741718649864197, 0.01842685043811798, 0.39059770107269287, -0.05960956588387489, -0.05098137632012367, 0.41330307722091675, -0.10438822954893112, 0.46257638931274414, 0.023988522589206696, -0.2809377610683441, -0.0036028658505529165, -0.3531462848186493, 0.008222665637731552, 0.20838052034378052, -0.12708455324172974, -0.29447418451309204, -0.10203365981578827, -0.06454530358314514, -0.307241290807724, -0.3650740385055542, 0.21002425253391266, -0.06111852079629898, -0.04224276542663574, -0.07125551998615265, -0.04755726456642151, -0.2877962291240692, -0.007761642802506685, 0.13824008405208588, 0.24990172684192657, -0.023130469024181366, 0.01799476332962513, -0.18356136977672577, -0.20036636292934418, -0.417133629322052, 0.20982186496257782, 0.1715993881225586, -0.06908810883760452, 0.15788918733596802, -0.3094351887702942, 0.1019730493426323, 0.029919268563389778, 0.5297168493270874, -0.07446376234292984, -0.2507311701774597, 0.3459364175796509, 0.06832116097211838, -0.3238702416419983, 0.02904413267970085, -0.22598949074745178, 0.1576293706893921, 0.3436853289604187, -0.12773102521896362, -0.48319900035858154, -0.17082396149635315, 0.22389985620975494, -0.19301074743270874, 0.032792750746011734, -0.06414544582366943, -0.08660662174224854, -0.4875434339046478, -0.11772671341896057, 0.06910848617553711, 0.47647979855537415, 0.30382850766181946, -0.40984952449798584, 0.08393204212188721, -0.17647820711135864, -0.006167324259877205, 0.3094886541366577, 0.15053141117095947, 0.22642800211906433, 0.008297344669699669, -0.21662047505378723, -0.035735465586185455, 0.35442790389060974, 0.30830758810043335, 0.5383265018463135, -0.05036790296435356, -0.6085839867591858, 0.04469037428498268, 0.15273262560367584, 0.42764490842819214, 0.5040020942687988, 0.05530061572790146, 0.13627412915229797, -0.14180226624011993, -0.1551891565322876, -0.3046903908252716, 0.16588620841503143, 0.2487114816904068, 0.023952431976795197, -0.2818760275840759, -0.46539947390556335, 0.5618224143981934, -0.03382109850645065, -0.2703697681427002, 0.10514853894710541, 0.8912201523780823, -0.56305330991745, 0.3910297155380249, 0.22047460079193115, 1.1919375658035278, 0.2130228877067566, 0.25640085339546204, 0.6309164762496948, 0.02342105656862259, 0.7500919699668884, 0.2372756451368332, 0.13289448618888855, -0.3395969271659851, 0.19854073226451874, -0.11683125048875809, 0.05611712113022804, 0.16514386236667633, -0.030641645193099976, -0.3974762558937073, 0.025789445266127586, -0.1703701913356781, -0.017125021666288376, 0.039547309279441833, 0.11843816936016083, -0.16463324427604675, -0.2074507474899292, -0.4777204096317291, -0.022044142708182335, 0.2774101793766022, -0.11409172415733337, -0.0126631585881114, -0.34756457805633545, -0.4246634244918823, -0.03321335092186928, -0.36595380306243896, -0.4267137944698334, -0.22155797481536865, -0.16197697818279266, 0.2750647962093353, 0.036763519048690796, 0.29357776045799255, 0.6681860685348511, 0.4890369772911072, -0.35109031200408936, -0.1394607573747635, -0.14189060032367706, -0.27401822805404663, -0.06955810636281967, 0.3359183073043823, -0.09196119010448456, 0.6701480150222778, 0.15171116590499878, 0.0024975091218948364, 0.04812781140208244, -0.09459616243839264, 0.012416083365678787, -0.3189558982849121, -0.2046910673379898, 0.11986906826496124, -0.727541446685791, 0.018471552059054375, -0.3254438638687134, -0.07141347229480743, -0.0805206447839737, 0.03033776953816414, 0.06001102179288864, -0.014628438279032707, 0.14542707800865173, 0.04417356103658676, -0.04118091240525246, -0.12594608962535858, -0.02259586751461029, 0.16016045212745667, 0.2124105989933014, 0.05073485150933266, 0.18941360712051392, -0.31552618741989136, 0.0638216957449913, 0.05690741539001465, 0.2999838888645172, -0.34261777997016907, 0.058830417692661285, 0.16725628077983856, -0.2199656367301941, -0.20115259289741516, 0.4574664533138275, 0.24449412524700165, 0.29941457509994507, -0.24035300314426422, 0.02667035162448883, -0.3065381944179535, 0.5192360877990723, 0.005920141935348511, 0.18761105835437775, -0.17486104369163513, 0.02913166582584381, 0.0086590014398098, -0.1387546807527542, -0.23710697889328003, -0.02947508729994297, 0.04999525845050812, -0.057455599308013916, 0.2800569236278534, 0.08118166029453278, 0.08229228109121323, -0.12198181450366974, 0.06749020516872406, 0.008791476488113403, 0.005213790573179722, -0.006092233583331108, -0.20578409731388092, 0.15359847247600555, 0.0710778683423996, -0.15263383090496063, 0.1389332264661789, -0.006734998896718025, -0.17289280891418457, -0.13397058844566345, 0.11866684257984161, 0.0718083456158638, -0.060306698083877563, 0.13816562294960022, 0.21617962419986725, 0.3493195176124573, -0.018819600343704224, 0.28300899267196655, 0.06782537698745728, 0.60945063829422, -0.012698591686785221, 0.06972362846136093, -0.14046582579612732, -0.06784291565418243, 0.327099084854126, 0.2421545386314392, 0.05447215214371681, -0.028768807649612427, 0.3078206181526184, -0.1124626100063324, 0.042643409222364426, 0.06999586522579193, 0.42180633544921875, 0.2227499932050705, -0.0366327166557312, -0.016883037984371185, 0.35816264152526855, 0.08188024163246155, -0.23023074865341187, 0.07200821489095688, -0.023099292069673538, -0.22704526782035828, -0.03770242631435394, 0.5572076439857483, 0.20933189988136292, 0.2820127606391907, -0.2718384265899658, -0.0256304033100605, 0.3682577610015869, 0.33208298683166504, 0.006976674310863018, 0.19845104217529297, -0.3662555515766144, 0.04851578176021576, 0.7010810971260071, 0.3114684224128723, 0.26915663480758667, 0.2644030749797821, 0.0633697509765625, 0.1266283094882965, -0.08371516317129135, 0.12098619341850281, 0.0594286173582077, -0.1666126400232315, 0.19414590299129486, 0.28069037199020386, 0.04505089670419693, 0.028962288051843643, -0.004729263484477997, 0.21897375583648682, -0.23715589940547943, -0.14565064013004303, 0.14730054140090942, 0.057051438838243484, -0.29192864894866943, -0.08209355175495148, 0.1852586567401886, -0.2784389555454254, 0.040149979293346405, -0.0850040465593338, -0.3857245445251465, -0.4077434539794922, 0.28381776809692383, -0.10148489475250244, -0.015254907310009003, -0.421914279460907, 0.025693796575069427, -0.37929701805114746, 0.4363391399383545, 0.02599843218922615, 0.058294542133808136, 0.031513579189777374, -0.24602556228637695, 0.10063499212265015, 0.3849104940891266, 0.5392625331878662, 0.2695695757865906, -0.2205662578344345, -0.19728605449199677, -0.17313207685947418, -0.28108394145965576, 0.13413803279399872, -0.02521740272641182, 0.3620348572731018, 0.3092215955257416, -0.004855014383792877, 0.09039373695850372, 0.019551623612642288, -0.003646247088909149, -0.025397922843694687, 0.18291865289211273, -0.18231672048568726, 0.6367910504341125, -0.06479354202747345, -0.25683507323265076, 0.1789647489786148, -0.09407899528741837, -0.18981701135635376, -0.30389735102653503, 0.12938399612903595, -0.04083041474223137, 0.13542479276657104, -0.13306036591529846, 0.026844337582588196, 0.33699411153793335, 0.3155503273010254, 0.2514979839324951, 0.332164466381073, -0.03612843155860901, 0.12437883019447327, -0.47405821084976196, 0.07633249461650848, 0.37285980582237244, -0.2863108515739441, 0.21426579356193542, 0.10650081932544708, 0.1590823382139206, 0.2323465347290039, -0.1481836885213852, -0.16523075103759766, 0.32799825072288513, 0.2567508816719055, -0.19212189316749573, -0.07192184031009674, 0.043050654232501984, 0.1912892609834671, -0.18555928766727448, -0.08664987981319427, 0.31486207246780396, -0.10245389491319656, -0.0459674708545208, -0.28758472204208374, 0.277587890625, 0.05755176022648811, 0.054564252495765686, 0.3400910794734955, 0.27655553817749023, 0.31449177861213684, 0.13415294885635376, -0.22596552968025208, -0.0829978734254837, -0.1569342017173767, -0.4372672438621521, 0.317610502243042, -0.32501912117004395, 0.48561975359916687, -0.3056909143924713, -0.15803740918636322, -0.14919273555278778, -0.03697444498538971, 0.06196624040603638, 0.07606659829616547, -0.49543988704681396, 0.22295022010803223, -0.21990826725959778, -0.18654315173625946, 0.028800491243600845, 0.313341349363327, 0.06008954718708992, 0.31778013706207275, -0.2952824831008911, -0.3465362787246704, 0.6857607364654541, -0.5838356614112854, -0.19356852769851685, 0.05293140560388565, -0.06258592009544373, 0.27610817551612854, -0.030878117308020592, -0.5588116645812988, -0.08465474098920822, 0.19643276929855347, 0.13093224167823792, -0.36002928018569946, 0.14285485446453094, -0.09850917756557465, -0.12776264548301697, -0.34771206974983215, 0.22893886268138885, -0.29607704281806946, -0.053599514067173004, -0.18967990577220917, -0.31905174255371094 ]
https://github.com/huggingface/datasets/pull/1931
add m_lama (multilingual lama) dataset
Hi, it seems I am somewhat stuck here. The failed test `ci/circleci: run_dataset_script_tests_pyarrow_1_WIN` seems to be caused by some broken connection (`ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host`). Any help on this is appreciated. Edit: Seems to be resolved now.
Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf
46
text: add m_lama (multilingual lama) dataset Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf Hi, it seems I am somewhat stuck here. The failed test `ci/circleci: run_dataset_script_tests_pyarrow_1_WIN` seems to be caused by some broken connection (`ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host`). Any help on this is appreciated. Edit: Seems to be resolved now.
[ -0.4487534165382385, 0.21071916818618774, -0.0952361524105072, 0.06350114941596985, -0.07388130575418472, -0.01914689689874649, 0.31619203090667725, 0.12027008831501007, -0.44496282935142517, 0.2744884788990021, 0.10729801654815674, 0.1892957091331482, -0.11290084570646286, 0.3152278661727905, 0.16448760032653809, -0.3160945177078247, -0.04698503762483597, -0.04499824345111847, 0.019669849425554276, 0.2431403249502182, -0.21459725499153137, 0.31169185042381287, -0.25757524371147156, -0.06835314631462097, 0.06652854382991791, -0.20194725692272186, -0.16236087679862976, 0.1410057693719864, -0.258748859167099, -0.5359407663345337, -0.027989350259304047, 0.2751895785331726, -0.02238411456346512, 0.5562707185745239, -0.00011688623635564, -0.20218048989772797, 0.3031710386276245, -0.13311657309532166, -0.17157648503780365, -0.10661938786506653, 0.059629954397678375, 0.04355710744857788, -0.0202898308634758, -0.17454776167869568, 0.03993517905473709, 0.2649872601032257, 0.022980308160185814, -0.06488204747438431, -0.07404178380966187, 0.5423234105110168, 0.18830429017543793, 0.43960702419281006, -0.047558579593896866, -0.2187611311674118, 0.1387881636619568, -0.12229928374290466, -0.13583040237426758, 0.7043492794036865, 0.4803387224674225, 0.09731356799602509, -0.1076081320643425, 0.22306320071220398, 0.07214059680700302, -0.029921341687440872, -0.2914749085903168, -0.14219710230827332, 0.057079773396253586, -0.25369948148727417, 0.2945176661014557, 0.020131319761276245, 0.5013668537139893, -0.40723907947540283, -0.050367653369903564, 0.40029242634773254, -0.015721380710601807, -0.3274279832839966, 0.10795028507709503, 0.10617007315158844, -0.3717804253101349, 0.11768311262130737, -0.01928102783858776, -0.10338889807462692, -0.22067798674106598, 0.06524618715047836, -0.1018170714378357, 0.19746223092079163, 0.18822087347507477, 0.16670778393745422, 0.27858686447143555, 0.20688815414905548, 0.1592271625995636, 0.16491706669330597, -0.1657886505126953, 0.17364926636219025, 0.08861412107944489, -0.16809719800949097, 0.08876118063926697, 0.562075674533844, 0.33024486899375916, 0.19002586603164673, -0.05347946286201477, 0.2443709671497345, 0.18472817540168762, 0.170344278216362, -0.09896641969680786, 0.1722041666507721, 0.016974490135908127, -0.0023771030828356743, 0.21926525235176086, 0.29897621273994446, 0.02210933342576027, 0.12107158452272415, -0.06810206919908524, -0.5970299243927002, -0.095041424036026, 0.3494281768798828, 0.07787631452083588, -0.09174983948469162, -0.016701240092515945, 0.019929178059101105, -0.1833370327949524, -0.4087551534175873, -0.06151994690299034, 0.4093363583087921, -0.15551050007343292, 0.05610032007098198, -0.03912322223186493, 0.22950436174869537, -0.156733438372612, -0.25863853096961975, -0.003279173979535699, 0.12989367544651031, -0.4400237500667572, 0.14412638545036316, 0.3890798091888428, -0.2426268458366394, 0.1241818442940712, -0.0759388878941536, 0.2883104085922241, -0.03087775968015194, 0.36211588978767395, -0.034627191722393036, 0.2077527791261673, 0.036335065960884094, 0.46261128783226013, 0.05017061531543732, 0.0013251528143882751, -0.17960859835147858, -0.08142247051000595, 0.3380575180053711, -0.13212385773658752, -0.11591063439846039, -0.2157614827156067, 0.15758278965950012, -0.07312318682670593, -0.057927846908569336, 0.09235329180955887, 0.2222001999616623, -0.06252504140138626, -0.2498222440481186, 0.16348648071289062, -0.06058531254529953, -0.34067949652671814, -0.13344533741474152, 0.32473835349082947, 0.49737173318862915, -0.6022534966468811, 0.17453186213970184, -0.049628131091594696, -0.21096821129322052, 0.07398883998394012, 0.15349340438842773, -0.22645066678524017, 0.4101199209690094, -0.2818451523780823, 0.14135630428791046, 0.32312870025634766, -0.4286915957927704, -0.2669394016265869, -0.04779510572552681, -0.16915461421012878, -0.0394018180668354, 0.0745006576180458, -0.2565043568611145, 0.35565313696861267, -0.04303961619734764, 0.3350357413291931, -0.08871831744909286, -0.2263782024383545, -0.1441078633069992, -0.18080982565879822, -0.05277423560619354, 0.25723010301589966, 0.0574926994740963, 0.339249849319458, -0.04678540676832199, 0.37663573026657104, -0.4087936282157898, 0.3946699798107147, -0.1001736968755722, 0.12919317185878754, 0.10742897540330887, 0.301340788602829, -0.2845376133918762, 0.2018885463476181, 0.15682122111320496, 0.11701660603284836, 0.30070799589157104, -0.10482551157474518, 0.7265637516975403, -0.2722817063331604, -0.00922897458076477, -0.4961656332015991, -0.07142268866300583, -0.11944133043289185, -0.03317946568131447, 0.11850917339324951, 0.07886303216218948, 0.002952277660369873, 0.272865891456604, 0.07090747356414795, -0.019456366077065468, -0.01421026885509491, -0.145722895860672, -0.11648735404014587, 0.08958491683006287, -0.5072001218795776, -0.3187480568885803, -0.07626625895500183, -0.12764906883239746, 0.08853362500667572, -0.12628915905952454, -0.08998823910951614, 0.15732985734939575, -0.07865620404481888, 0.049062203615903854, 0.41091373562812805, -0.011839807033538818, -0.07626605778932571, -0.6279875040054321, 0.18284423649311066, 0.006850310601294041, -0.05548125132918358, 0.01306501030921936, -0.07858336716890335, 0.5623034238815308, 0.14812998473644257, -0.009414136409759521, 0.025204360485076904, 0.01187785156071186, 0.3524837791919708, 0.026840131729841232, -0.20323620736598969, -0.045747045427560806, 0.5031625032424927, 0.28412047028541565, 0.23856382071971893, -0.2606697976589203, -0.19561241567134857, -0.05412399023771286, 0.23415300250053406, -0.3111042380332947, 0.16031718254089355, 0.1618519425392151, 0.19715553522109985, 0.0029098931699991226, 0.041801050305366516, 0.14826242625713348, 0.4902077913284302, 0.1358744502067566, 0.3203766644001007, 0.2989727556705475, -0.17188453674316406, -0.08723398298025131, 0.08174419403076172, -0.13927826285362244, 0.03017801232635975, 0.30393949151039124, 0.0008089537732303143, -0.25741711258888245, -0.3298647105693817, -0.2323581725358963, 0.18305672705173492, 0.45286116003990173, -0.23141831159591675, 0.14899401366710663, 0.06247749179601669, -0.04389122501015663, -0.2435949742794037, 0.17095834016799927, -0.27919143438339233, -0.09213611483573914, 0.10776058584451675, 0.04571108520030975, 0.16531029343605042, 0.386534184217453, -0.0974578708410263, 0.5323718190193176, -0.21220342814922333, -0.09447631239891052, -0.18299610912799835, -0.3031919300556183, -0.18604034185409546, 0.09324149787425995, 0.3847944140434265, -0.0149574875831604, 0.2932181656360626, -0.5994961261749268, 0.13194473087787628, -0.004673872143030167, -0.4634482264518738, 0.1632276177406311, -0.19536040723323822, 0.23387445509433746, 0.16252124309539795, 0.25718238949775696, -0.107174351811409, -0.19625984132289886, 0.2178444266319275, -0.13664944469928741, -0.2194269597530365, -0.07104803621768951, -0.21437297761440277, -0.14808306097984314, -0.15441939234733582, -0.44107499718666077, -0.19148463010787964, -0.21839678287506104, 0.140278160572052, 0.08101804554462433, 0.1543266475200653, -0.16968348622322083, 0.3725563883781433, 0.0964963287115097, -0.04531681537628174, -0.22876538336277008, -0.1756204068660736, -0.2501203715801239, 0.034080956131219864, -0.34754660725593567, -0.42446720600128174, 0.31583160161972046, -0.05058785527944565, 0.5863363742828369, -0.17309115827083588, -0.2694088816642761, 0.1509387493133545, 0.34213322401046753, 0.27690958976745605, 0.02253136783838272, -0.061971671879291534, 0.29401928186416626, 0.07565175741910934, -0.10141875594854355, -0.12511885166168213, -0.14634786546230316, -0.04609284549951553, -0.06115593761205673, 0.20336200296878815, -0.20791462063789368, 0.14583615958690643, 0.06667804718017578, 0.4075276255607605, -0.03789471089839935, 0.16538302600383759, 0.1495416760444641, -0.11104310303926468, 0.35788047313690186, 0.06453189253807068, -0.1842937171459198, 0.1669493168592453, -0.15657159686088562, -0.24712593853473663, 0.2549836039543152, -0.07027196884155273, -0.5476827025413513, -0.2451677918434143, -0.17479711771011353, -0.16284939646720886, -0.29616814851760864, 0.3580223321914673, -0.4586760997772217, 0.3093424439430237, -0.08211703598499298, -0.2958667576313019, -0.3321983516216278, 0.06548382341861725, 0.2797481119632721, 0.29940640926361084, -0.3267436921596527, -0.07395976036787033, -0.47030749917030334, 0.09478673338890076, -0.5997616052627563, 0.2926703989505768, 0.08906523883342743, 0.31138142943382263, -0.38256117701530457, 0.17296555638313293, 0.05129010230302811, -0.26903828978538513, 0.46577537059783936, -0.5029230117797852, -0.027235470712184906, 0.31630241870880127, 0.4115428030490875, -0.19066552817821503, -0.05955884978175163, -0.4235445261001587, 0.15797653794288635, -0.022400449961423874, 0.32772308588027954, 0.03042406588792801, 0.058305952697992325, 0.2645018696784973, 0.3005236089229584, -0.2088371068239212, 0.0736730694770813, -0.49571892619132996, -0.7513536810874939, -0.21718694269657135, 0.2830188274383545, 0.11614438146352768, 0.04528242349624634, -0.006082979496568441, 0.07659164071083069, 0.46146881580352783, 0.015269152820110321, 0.005254864692687988, 0.23308932781219482, -0.021620426326990128, 0.24388816952705383, -0.046479128301143646, -0.1393974870443344, -0.1901945173740387, -0.01213161088526249, 0.2327340990304947, -0.191161647439003, -0.08430124819278717, 0.17083275318145752, -0.22982029616832733, 0.3788464069366455, 0.1968369483947754, 0.05908815562725067, 0.14085209369659424, 0.22199666500091553, 0.019998524338006973, -0.13095159828662872, 0.29913124442100525, 0.19455814361572266, 0.16422884166240692, -0.23393885791301727, 0.008345825597643852, -0.10120075196027756, -0.14470034837722778, -0.11194264888763428, 0.5460528135299683, -0.04642289876937866, -0.2236514836549759, 0.27309930324554443, 0.14842599630355835, 1.1318751573562622, -0.039230942726135254, 0.1117144376039505, 0.19157147407531738, -0.24767744541168213, -0.26966941356658936, 0.12377618253231049, -0.01660306379199028, -0.30832165479660034, 0.23193521797657013, -0.0569472536444664, -0.12486863136291504, 0.15101908147335052, -0.07331801950931549, -0.6062461137771606, -0.03253301605582237, 0.0444980263710022, -0.44764378666877747, 0.2720002233982086, 0.28517889976501465, -0.20818927884101868, 0.04399468004703522, 0.29087865352630615, 0.14774426817893982, 0.01907132938504219, 0.11834029853343964, -0.302449107170105, 0.020597904920578003, -0.17734010517597198, -0.2840639054775238, -0.2634965181350708, 0.03221011906862259, -0.5759403109550476, -0.19525152444839478, -0.2725749611854553, -0.4339812994003296, 0.1942252516746521, 0.019120514392852783, 0.4271824359893799, -0.046865951269865036, -0.08159710466861725, 0.34447935223579407, -0.02555941790342331, -0.1045575737953186, 0.3843967318534851, -0.22885750234127045, 0.20354561507701874, -0.24515300989151, -0.6601868867874146, 0.2319709062576294, -0.03362535312771797, -0.09206139296293259, 0.18316131830215454, -0.04203236103057861, -0.12335038185119629, -0.06051221862435341, 0.04171248525381088, -0.020847707986831665, -0.031290434300899506, -0.30870068073272705, 0.1265241503715515, 0.07585437595844269, -0.23775655031204224, 0.29350996017456055, -0.12942259013652802, -0.19027169048786163, 0.04946938157081604, 0.21427971124649048, -0.05650118738412857, -0.19158850610256195, 0.1301683932542801, 0.4461157023906708, 0.029241017997264862, -0.2761530578136444, 0.07500831037759781, 0.1479777693748474, -0.5375941395759583, -0.16546189785003662, -0.17681121826171875, 0.09913192689418793, -0.09713637828826904, 0.47879230976104736, 0.11978939920663834, 0.10892036557197571, -0.21637076139450073, -0.27942371368408203, -0.3348233103752136, 0.23021340370178223, 0.3867074251174927, 0.09226389229297638, 0.04812212288379669, 0.07719603180885315, 0.29461905360221863, 0.03453594446182251, -0.34254521131515503, 0.07288170605897903, -0.2913203835487366, 0.2927854359149933, 0.12345105409622192, -0.09597455710172653, 0.16532465815544128, -0.009659690782427788, 0.10368533432483673, 0.015041077509522438, -0.11782574653625488, -0.17715203762054443, -0.05900782719254494, 0.10405422747135162, -0.024793412536382675, -0.13591904938220978, 0.2455717921257019, -0.030703958123922348, 0.13910086452960968, 0.13099536299705505, 0.011051077395677567, -0.03378118947148323, -0.23763523995876312, -0.07002914696931839, -0.19600091874599457, 0.16579842567443848, -0.37095504999160767, -0.20978210866451263, 0.0542881041765213, 0.24778316915035248, 0.22999516129493713, 0.2121310532093048, 0.00028348597697913647, -0.09187523275613785, 0.14151285588741302, 0.3277170956134796, 0.14012157917022705, 0.27264484763145447, 0.04015939310193062, -0.09300434589385986, -0.03398078680038452, -0.4044913649559021, 0.4357285499572754, -0.012109480798244476, -0.3192833662033081, 0.051884278655052185, 0.4185590147972107, 0.152672678232193, -0.26337069272994995, -0.11036180704832077, 0.0839618444442749, -0.3676809072494507, 0.17303651571273804, 0.12533746659755707, 0.06310175359249115, 0.03349699079990387, 0.11210671067237854, -0.08307774364948273, 0.22184447944164276, -0.025203879922628403, -0.08903346955776215, 0.1074928492307663, -0.16949431598186493, 0.15537627041339874, 0.24538029730319977, -0.011175896972417831, 0.09213291108608246, 0.038318879902362823, -0.11244998127222061, 0.5679579973220825, -0.295267254114151, 0.2746756672859192, 0.02554512768983841, -0.026974236592650414, 0.35383474826812744, -0.2473909854888916, 0.06926529109477997, -0.017396122217178345, 0.18893226981163025, 0.3871152102947235, -0.26958751678466797, -0.2138221561908722, -0.21043755114078522, -0.08964818716049194, 0.0024895668029785156, -0.05857309699058533, -0.42919155955314636, -0.23714259266853333, -0.20532622933387756, 0.0872168242931366, 0.2455383837223053, 0.24689100682735443, 0.21428807079792023, 0.1442679613828659, -0.11984826624393463, 0.09149345010519028, -0.4661451578140259, 0.012455226853489876, -0.1896650493144989, -0.1617502123117447, 0.3378569781780243, 0.17447614669799805, -0.14198380708694458, -0.1823866367340088, 0.2617938816547394, 0.4901862144470215, -0.14812147617340088, -0.02313830703496933, -0.08674266189336777, -0.2666451334953308, 0.17223650217056274, -0.03577607870101929, -0.01469532772898674, 0.6003272533416748, 0.3259853422641754, 0.09175215661525726, 0.18342247605323792, -0.19817069172859192, 0.09655875712633133, 0.4435434937477112, -0.41087403893470764, 0.08045154809951782, -0.09355805069208145, -0.08737146109342575, -0.2100389003753662, -0.32113155722618103, 0.2428458333015442, -0.40631210803985596, 0.43933597207069397, 0.29508936405181885, -0.1903925985097885, -0.10137209296226501, -0.11378311365842819, 0.04953863471746445, 0.220012828707695, 0.7053216695785522, 0.1641506403684616, 0.5923406481742859, -0.5027912855148315, -0.5723335146903992, -0.5980787873268127, 0.3047271966934204, -0.11664381623268127, 0.06528571248054504, -0.18660689890384674, 0.11027909815311432, 0.3037315011024475, 0.1901187300682068, 0.4007164239883423, 0.09444356709718704, 0.004687528125941753, 0.06027445197105408, -0.22356832027435303, 0.07483837008476257, -0.027690619230270386, 0.09591138362884521, -0.2740057110786438, -0.08503706753253937, -0.013135913759469986, -0.19360104203224182, 0.11136174947023392, -0.20334318280220032, -0.53699791431427, 0.2638845145702362, -0.204122394323349, 0.5881175994873047, -0.11726641654968262, 0.7482961416244507, -0.17420771718025208, 0.11718986183404922, -0.07850439846515656, -0.02484367974102497, 0.21655136346817017, 0.16588230431079865, 0.13787710666656494, 0.11422145366668701, -0.029397698119282722, -0.0074444301426410675, -0.19072435796260834, 0.28710511326789856, 0.13869260251522064, 0.055341050028800964, 0.06636876612901688, 0.18010543286800385, 0.24639716744422913, -0.05886642634868622, 0.12160004675388336, 0.2729080319404602, 0.04229585826396942, 0.02713223733007908, -0.48570072650909424, 0.0859583169221878, 0.39509648084640503, -0.18498951196670532, -0.2775145471096039, -0.2774331867694855, 0.12305521965026855, -0.3089049756526947, -0.07982052117586136, -0.5588486194610596, 0.16913911700248718, 0.028970971703529358, 0.29975274205207825, -0.3924432694911957, 0.3324970304965973, -0.09287865459918976, 0.10225999355316162, 0.13855183124542236, 0.12781262397766113, -0.11364457756280899, -0.08077920973300934, -0.14912861585617065, -0.17720310389995575 ]
https://github.com/huggingface/datasets/pull/1931
add m_lama (multilingual lama) dataset
I guess the `dummy_data.zip` is too large. I can reduce the languages that are contained there, but when testing it, it obviously throws an error, as not all files can be found. I guess I can either i) change the default value regarding which languages are loaded or ii) let the `_generate_examples` silently skip any language for which it cannot find files. Both solutions are not really pretty - is there another way around this?
Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf
75
text: add m_lama (multilingual lama) dataset Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf I guess the `dummy_data.zip` is too large. I can reduce the languages that are contained there, but when testing it, it obviously throws an error, as not all files can be found. I guess I can either i) change the default value regarding which languages are loaded or ii) let the `_generate_examples` silently skip any language for which it cannot find files. Both solutions are not really pretty - is there another way around this?
[ -0.2812815308570862, -0.12092731893062592, -0.0684690922498703, 0.5115125775337219, 0.10325058549642563, 0.1056949719786644, 0.05373834818601608, 0.4905499517917633, -0.3559878170490265, 0.5237692594528198, 0.28563186526298523, 0.1399165540933609, -0.14300033450126648, 0.06905858963727951, 0.03779697045683861, -0.3001135289669037, -0.03974447399377823, -0.0034900307655334473, 0.032585326582193375, 0.14413470029830933, -0.2837252616882324, 0.34878525137901306, -0.13071608543395996, -0.3077050447463989, -0.015638211742043495, 0.017087791115045547, 0.02454357035458088, 0.20706188678741455, -0.1939871460199356, -0.1749558299779892, -0.25128644704818726, 0.060216449201107025, 0.06565134227275848, 0.22069001197814941, -0.00012064244947396219, -0.15735557675361633, 0.34299325942993164, -0.4254715144634247, -0.24879074096679688, -0.058453381061553955, 0.11871998757123947, -0.31271958351135254, -0.3454280495643616, -0.23034891486167908, 0.0616772398352623, 0.023093275725841522, 0.08788628876209259, -0.29570043087005615, 0.09841512888669968, 0.47851482033729553, 0.14341861009597778, 0.3059921860694885, -0.19866324961185455, -0.12041369825601578, 0.2328730821609497, 0.020358696579933167, -0.16433319449424744, 0.579362154006958, 0.1780802458524704, 0.3724795877933502, -0.10562822967767715, 0.32770442962646484, 0.11704303324222565, 0.09726624190807343, -0.2038523256778717, -0.23391063511371613, 0.14394325017929077, -0.26890748739242554, 0.39246806502342224, 0.4576692283153534, 0.3708248734474182, -0.12114948779344559, -0.06012485921382904, -0.019535619765520096, -0.07135532796382904, -0.16706278920173645, 0.14047662913799286, 0.3360859453678131, -0.11211679875850677, 0.1490345150232315, 0.054471492767333984, -0.17020787298679352, 0.0428897887468338, 0.11997145414352417, 0.15709277987480164, 0.1296655386686325, -0.016711730509996414, 0.1189265176653862, 0.5029250383377075, 0.11149036884307861, 0.1474580615758896, 0.009186241775751114, -0.10424140095710754, 0.05202643945813179, 0.18996091187000275, -0.1382376104593277, -0.0014780908823013306, -0.1922406256198883, 0.3515694737434387, -0.26771777868270874, 0.14313586056232452, 0.27445289492607117, 0.030423540621995926, 0.02944130450487137, 0.022467346861958504, 0.10735200345516205, 0.05394850671291351, 0.16742593050003052, 0.09594515711069107, 0.38897329568862915, 0.32402828335762024, -0.010733738541603088, -0.22648784518241882, -0.42776912450790405, -0.25271958112716675, 0.2311166524887085, -0.14066609740257263, -0.020190291106700897, -0.06146329641342163, -0.08103179186582565, -0.3142586052417755, -0.2319784164428711, -0.12609924376010895, 0.1691720187664032, -0.02517525851726532, 0.3443956673145294, -0.20768950879573822, 0.16922636330127716, -0.2847604751586914, -0.60508131980896, -0.061831943690776825, 0.14797534048557281, -0.35738202929496765, 0.2134329229593277, 0.17681081593036652, -0.08828668296337128, 0.39210376143455505, -0.19029709696769714, 0.12110815942287445, -0.12654215097427368, 0.5591452717781067, -0.21867386996746063, 0.15154598653316498, 0.020133543759584427, 0.21801501512527466, 0.016759896650910378, -0.0034287869930267334, 0.0717596560716629, -0.3861920237541199, 0.28380927443504333, -0.31506699323654175, -0.12269100546836853, -0.1161002516746521, 0.07677242904901505, -0.08046071231365204, 0.5777105093002319, 0.007639020681381226, 0.5736243724822998, 0.05095803737640381, -0.20725660026073456, 0.22201403975486755, -0.07274118065834045, -0.3965403735637665, -0.12453511357307434, 0.17895622551441193, 0.6232812404632568, -0.6856759190559387, 0.08740860223770142, -0.19165094196796417, -0.02831529825925827, 0.25030317902565, 0.19652779400348663, -0.24229826033115387, 0.3859572112560272, -0.4161829650402069, 0.05160059034824371, 0.20332223176956177, -0.22527466714382172, -0.28172099590301514, 0.05704796314239502, -0.13873514533042908, 0.12050550431013107, 0.40596628189086914, 0.04474226385354996, 0.028212929144501686, -0.13730525970458984, 0.287916362285614, 0.01232114527374506, -0.06756233423948288, -0.24379798769950867, -0.2666415572166443, -0.39965683221817017, 0.21804490685462952, -0.019193988293409348, 0.14840121567249298, -0.0849081501364708, 0.14104896783828735, 0.10343173146247864, 0.07989359647035599, -0.1788932830095291, 0.020349541679024696, 0.41213005781173706, -0.1173596978187561, -0.326953649520874, 0.030015312135219574, 0.20676669478416443, -0.08185971528291702, 0.22817513346672058, -0.2701824903488159, 0.31582704186439514, 0.11124421656131744, -0.16939793527126312, -0.18945276737213135, -0.33762648701667786, 0.09667978435754776, -0.11230646073818207, 0.08220384269952774, 0.06443072855472565, 0.06919936835765839, 0.054363664239645004, 0.31383681297302246, 0.11723010987043381, -0.20492787659168243, -0.14590489864349365, -0.7783677577972412, -0.1770225316286087, -0.101949043571949, -0.058578453958034515, 0.2238348424434662, -0.047843657433986664, -0.06206873804330826, -0.27561166882514954, -0.0762714073061943, 0.012941330671310425, 0.1068834513425827, -0.06740064918994904, 0.27852606773376465, 0.08237586915493011, -0.03021950088441372, -0.46259185671806335, 0.28278490900993347, 0.2914983630180359, -0.09639528393745422, 0.023884981870651245, -0.3642999827861786, 0.4894416928291321, 0.27792295813560486, 0.0005017220973968506, 0.07601198554039001, -0.1531326174736023, 0.4652581512928009, -0.09300374984741211, -0.23409724235534668, -0.20622779428958893, 0.3378085196018219, 0.605996310710907, 0.4558887481689453, 0.24071672558784485, -0.24619773030281067, -0.09264839440584183, 0.42836660146713257, -0.16676387190818787, 0.11084441840648651, 0.4190969169139862, -0.05348258465528488, -0.19246333837509155, 0.09438896179199219, 0.0717427134513855, 0.4470338225364685, 0.2551502287387848, 0.43175289034843445, 0.029094886034727097, 0.002935700584203005, -0.27159804105758667, 0.00199311226606369, -0.033175915479660034, -0.057617831975221634, 0.1906011700630188, -0.06322812288999557, -0.1445775181055069, -0.43590328097343445, 0.22459083795547485, 0.1572304517030716, 0.3906693756580353, -0.15454155206680298, 0.26781201362609863, -0.3048376739025116, -0.17982736229896545, -0.2632797956466675, 0.36871063709259033, -0.3808383345603943, -0.028637928888201714, 0.23479370772838593, -0.09140421450138092, -0.17915388941764832, 0.0810394212603569, 0.21244172751903534, 0.4898924231529236, -0.06718090921640396, 0.014003368094563484, 0.086448535323143, -0.004171667154878378, -0.365090548992157, 0.05411537364125252, 0.5951283574104309, 0.25299352407455444, 0.35107091069221497, -0.5634064674377441, -0.21993203461170197, -0.04056254029273987, -0.2479701042175293, 0.05108261480927467, 0.17465388774871826, 0.3189203441143036, 0.09772423654794693, 0.18563902378082275, -0.016576839610934258, -0.08860330283641815, -0.012582654133439064, 0.10825848579406738, -0.17784948647022247, 0.1145208328962326, -0.32964929938316345, 0.17256060242652893, -0.1731121689081192, -0.4490906894207001, 0.11441026628017426, -0.39761659502983093, -0.08963203430175781, -0.09245658665895462, 0.28354763984680176, -0.17799904942512512, 0.5679718255996704, 0.1506190448999405, -0.12743133306503296, -0.34856095910072327, -0.31554773449897766, -0.41599777340888977, 0.39402270317077637, -0.2342073768377304, -0.36724838614463806, 0.20478084683418274, -0.2975307106971741, 0.6670079231262207, -0.054785750806331635, -0.444177508354187, 0.05376004800200462, 0.03810986876487732, -0.008434642106294632, -0.18164855241775513, 0.03627387061715126, 0.31722933053970337, -0.08092981576919556, -0.10921131819486618, -0.0003277696669101715, -0.10927361249923706, 0.14029721915721893, 0.060452695935964584, 0.5298694372177124, -0.12635454535484314, 0.022875472903251648, 0.05163763836026192, 0.543675422668457, 0.27633312344551086, 0.27114808559417725, 0.20272080600261688, 0.2359311580657959, 0.5137510299682617, -0.05127934366464615, 0.09918948262929916, 0.055441323667764664, -0.03230227530002594, 0.07201902568340302, 0.5254917740821838, 0.050263017416000366, -0.11145130544900894, 0.02205941081047058, -0.15986588597297668, -0.006548237055540085, -0.20793339610099792, 0.6040933132171631, -0.4333818852901459, 0.10540537536144257, -0.032974690198898315, -0.33126428723335266, -0.35205405950546265, 0.059282951056957245, 0.07772485911846161, 0.007474683225154877, -0.07345915585756302, 0.14071722328662872, -0.27814435958862305, 0.24035663902759552, -0.37597543001174927, 0.14135204255580902, 0.08748490363359451, 0.2728583514690399, -0.14188037812709808, 0.20711499452590942, -0.029683060944080353, -0.10944991558790207, 0.5309293866157532, -0.466037780046463, -0.1474061906337738, 0.25819265842437744, 0.27857550978660583, -0.26424306631088257, -0.01542765274643898, -0.31538817286491394, 0.044060830026865005, 0.2317531257867813, 0.3406693935394287, -0.2995697557926178, 0.023291951045393944, -0.00041274912655353546, 0.5812627673149109, -0.2272791713476181, -0.005493182223290205, -0.5613732933998108, -0.5210728049278259, -0.33371415734291077, 0.05174369737505913, 0.3319634199142456, 0.07546332478523254, 0.07725320756435394, -0.2072611153125763, 0.3746156096458435, -0.22529444098472595, 0.11769532412290573, 0.015841428190469742, 0.20861095190048218, 0.2335178703069687, -0.11111684143543243, 0.09642249345779419, -0.027493230998516083, -0.12187573313713074, 0.5663904547691345, -0.1388678252696991, -0.24952960014343262, 0.14958882331848145, -0.25108593702316284, 0.26613715291023254, 0.462688148021698, 0.008558396250009537, 0.11715042591094971, 0.02575649507343769, 0.10053222626447678, -0.12717768549919128, 0.3956993818283081, 0.13448815047740936, -0.02273627370595932, -0.12659351527690887, -0.2339329868555069, 0.05994067341089249, 0.04909566417336464, 0.08625321090221405, 0.8501534461975098, -0.3944675326347351, -0.13845661282539368, -0.006140626035630703, 0.3292790651321411, 1.09215247631073, -0.21572504937648773, 0.0999315083026886, 0.04584966599941254, 0.10743820667266846, 0.0563151016831398, -0.22363708913326263, 0.11453243345022202, 0.0764572024345398, 0.10905694961547852, 0.027056017890572548, 0.04302917793393135, 0.24589571356773376, 0.25444740056991577, -0.39491069316864014, 0.17452435195446014, -0.07553369551897049, -0.5260233879089355, -0.003247864544391632, 0.37115320563316345, -0.1675865352153778, -0.11634333431720734, 0.17347954213619232, -0.012119455263018608, 0.11118213832378387, -0.13870574533939362, -0.11399736255407333, -0.18946082890033722, -0.2202019840478897, -0.37644582986831665, -0.048368070274591446, -0.17145437002182007, -0.36718451976776123, -0.2581198215484619, -0.1424313485622406, -0.03868066519498825, 0.16827958822250366, -0.1062207818031311, 0.3085365891456604, 0.1028871238231659, -0.21825666725635529, -0.06441037356853485, -0.1800878942012787, -0.21426087617874146, 0.039822883903980255, -0.16006581485271454, -0.06213738024234772, -0.1303066611289978, -0.2241591215133667, 0.2532602846622467, -0.09499144554138184, 0.08653867244720459, 0.206730455160141, -0.2093762904405594, 0.05101114884018898, 0.05130402371287346, -0.2174145132303238, 0.014608293771743774, -0.24844896793365479, -0.20752981305122375, 0.09438216686248779, 0.2249760925769806, -0.2918054461479187, -0.07994052022695541, 0.0109550841152668, -0.2627738118171692, -0.014528661966323853, 0.15486110746860504, 0.08603617548942566, -0.08583733439445496, -0.011443961411714554, 0.09320750832557678, -0.040488794445991516, -0.1485452502965927, 0.25858327746391296, 0.1846451461315155, -0.5053543448448181, 0.04584613814949989, -0.04932158440351486, -0.2661910355091095, -0.23772381246089935, 0.19883465766906738, 0.1803264319896698, -0.09307924658060074, -0.23512175679206848, -0.06273648887872696, -0.3124047815799713, 0.18824341893196106, 0.047313205897808075, 0.1084861159324646, -0.20181745290756226, -0.32596370577812195, 0.2212504744529724, 0.49476709961891174, -0.2301608920097351, -0.009035112336277962, -0.29156494140625, 0.17974244058132172, -0.050595417618751526, 0.21958401799201965, -0.03370607644319534, 0.10453906655311584, -0.05724474787712097, 0.07376803457736969, -0.23553882539272308, -0.1521502137184143, -0.1981758028268814, 0.16897445917129517, -0.0956006795167923, -0.07534665614366531, 0.5914044380187988, -0.216063991189003, -0.11512522399425507, -0.10061429440975189, -0.13889548182487488, -0.17269322276115417, -0.0404009148478508, 0.11962506175041199, -0.16316479444503784, 0.1438237726688385, -0.21203050017356873, 0.034930646419525146, 0.06216835230588913, 0.4278672933578491, 0.17618121206760406, 0.005619265139102936, 0.24290940165519714, -0.0685197189450264, -0.105123370885849, 0.11621520668268204, -0.06689220666885376, 0.12052161991596222, -0.158687025308609, 0.204899400472641, 0.17752361297607422, -0.13673940300941467, -0.1754920482635498, 0.12723463773727417, -0.26411643624305725, 0.10547272861003876, 0.5209771394729614, 0.06479240953922272, -0.544133186340332, -0.30247119069099426, -0.056223828345537186, -0.3607251048088074, 0.08448998630046844, 0.19366289675235748, 0.3752897083759308, -0.050737012177705765, 0.28167957067489624, -0.19697803258895874, -0.3657268285751343, 0.1405763030052185, 0.0020193345844745636, 0.5810580849647522, -0.09677471220493317, 0.1376938670873642, 0.170686736702919, -0.060082849115133286, 0.28705593943595886, 0.1592574119567871, 0.21293529868125916, 0.6984912157058716, -0.22558480501174927, 0.3811104893684387, -0.3545992970466614, -0.2719074785709381, 0.2950165867805481, 0.20161613821983337, 0.18497228622436523, 0.2012452781200409, 0.025217711925506592, 0.2703961730003357, -0.20042261481285095, 0.03556134179234505, -0.10081334412097931, -0.24887199699878693, 0.027300424873828888, 0.046012189239263535, 0.07274293154478073, -0.055100634694099426, -0.398525595664978, 0.15383490920066833, 0.2557397484779358, -0.04551517218351364, 0.3190981149673462, 0.03506941348314285, -0.20182089507579803, 0.30276504158973694, -0.13982275128364563, -0.13360032439231873, -0.23691582679748535, -0.3965455889701843, 0.19700276851654053, 0.009399406611919403, -0.14624975621700287, -0.10526633262634277, 0.17163336277008057, 0.17262980341911316, 0.010258017107844353, 0.12881508469581604, -0.17925147712230682, -0.08184850215911865, 0.17323248088359833, -0.34068357944488525, 0.1428259015083313, 0.4445509910583496, 0.024199439212679863, 0.08699560165405273, -0.008334098383784294, -0.1987663209438324, 0.06867145001888275, 0.40748274326324463, -0.4427647888660431, -0.16598083078861237, 0.13796918094158173, -0.14587171375751495, -0.06256889551877975, -0.2239922285079956, 0.02970801293849945, -0.49409645795822144, 0.38106784224510193, 0.3326409161090851, -0.3145005404949188, -0.0009597651660442352, -0.1534203737974167, 0.01186911016702652, -0.14626683294773102, 0.6451029777526855, 0.16072548925876617, 0.22236862778663635, -0.5149584412574768, -0.41017234325408936, -0.8032809495925903, 0.34233003854751587, -0.6862740516662598, 0.24528449773788452, 0.1470220386981964, 0.2000006139278412, 0.33706721663475037, 0.47032827138900757, 0.21185889840126038, 0.07654023915529251, 0.09145919233560562, 0.026500893756747246, -0.32624512910842896, -0.29305434226989746, -0.011810459196567535, 0.2073882520198822, -0.1486826241016388, -0.3869663178920746, 0.2031983733177185, -0.12033488601446152, -0.012870989739894867, 0.004450356587767601, -0.23072420060634613, 0.17370355129241943, 0.32855209708213806, 0.4446936547756195, 0.03441968932747841, 0.09678491204977036, -0.17049965262413025, 0.018738387152552605, -0.02767389640212059, 0.5859300494194031, 0.22120781242847443, 0.00922016054391861, 0.36043494939804077, 0.11663435399532318, -0.47902238368988037, 0.15049758553504944, -0.2065161019563675, 0.2748144567012787, 0.17641864717006683, 0.1825726330280304, -0.287271112203598, 0.18136242032051086, 0.03665204346179962, 0.07235106825828552, 0.12401221692562103, 0.21749886870384216, -0.08228513598442078, -0.44815367460250854, -0.22441522777080536, 0.30625054240226746, 0.2291680872440338, -0.06592152267694473, -0.21192491054534912, -0.16145484149456024, 0.05872392654418945, 0.035831987857818604, -0.06351897865533829, -0.4442697763442993, 0.1877233386039734, 0.17273399233818054, 0.41033831238746643, 0.013848911970853806, 0.31036245822906494, -0.24935534596443176, 0.00743609294295311, 0.03101833537220955, 0.11048074066638947, 0.04841651767492294, 0.04061220586299896, 0.140324205160141, -0.4080734848976135 ]
https://github.com/huggingface/datasets/pull/1931
add m_lama (multilingual lama) dataset
Thanks for the review and the constructive comments :) ! I tried to address them, and reduced the number of lines in the dummy data to 1 to reduce its size.
Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf
31
text: add m_lama (multilingual lama) dataset Add a multilingual (machine translated and automatically generated) version of the LAMA benchmark. For details see the paper https://arxiv.org/pdf/2102.00894.pdf Thanks for the review and the constructive comments :) ! I tried to address them, and reduced the number of lines in the dummy data to 1 to reduce its size.
[ -0.1418919861316681, -0.13669556379318237, -0.2517073154449463, 0.23941440880298615, -0.01410197839140892, -0.11547652631998062, 0.23306404054164886, 0.2035948485136032, -0.47951221466064453, 0.26007962226867676, 0.01913134753704071, 0.1324543058872223, -0.11058773845434189, 0.03244619071483612, 0.13932716846466064, -0.3480147123336792, -0.014724746346473694, 0.019571453332901, -0.09173193573951721, 0.01632874459028244, -0.2651301622390747, 0.17566020786762238, -0.1932758241891861, -0.17999319732189178, 0.09572974592447281, -0.03820197284221649, -0.014743775129318237, 0.15740281343460083, -0.25816479325294495, -0.3620603382587433, -0.1088690385222435, 0.08676955103874207, -0.2629733979701996, 0.37971144914627075, -0.000101127901871223, -0.24233506619930267, 0.19817960262298584, -0.14537110924720764, 0.017921023070812225, 0.22445502877235413, -0.04036802053451538, -0.2741990387439728, -0.20466551184654236, -0.33030498027801514, -0.031027760356664658, -0.01017028372734785, -0.06806318461894989, -0.23295967280864716, 0.044146932661533356, 0.27930131554603577, 0.33543506264686584, 0.23635995388031006, -0.26074233651161194, -0.12145032733678818, 0.026500198990106583, -0.1585683673620224, -0.15460655093193054, 0.5112223625183105, 0.30141788721084595, 0.28383398056030273, -0.28784728050231934, 0.4190872609615326, 0.14384378492832184, -0.0354594811797142, -0.08255007117986679, -0.35575610399246216, 0.12025758624076843, -0.02710019052028656, 0.2936806082725525, 0.419226735830307, 0.4561162292957306, -0.22918009757995605, -0.002533338498324156, 0.15804055333137512, -0.08656972646713257, -0.148019939661026, -0.048671089112758636, 0.2149667739868164, -0.0439784973859787, 0.06792445480823517, -0.01956626959145069, -0.11044300347566605, -0.16856995224952698, -0.19676323235034943, -0.011505119502544403, 0.11520452052354813, -0.0694347396492958, -0.09114832431077957, 0.18397392332553864, -0.01139581948518753, -0.051478248089551926, -0.06774706393480301, -0.09372732043266296, 0.12485570460557938, -0.0027500204741954803, -0.18029196560382843, 0.19406244158744812, -0.09684515744447708, 0.2684921324253082, -0.2651359438896179, 0.37371429800987244, 0.31569966673851013, 0.01314226072281599, -0.023599252104759216, 0.02352985553443432, 0.15012489259243011, -0.011901319026947021, -0.004836536478251219, -0.09803518652915955, 0.29224103689193726, 0.24792420864105225, 0.08691450208425522, 0.07938030362129211, -0.29671287536621094, -0.1808403581380844, 0.164169579744339, -0.25650423765182495, -0.2173861861228943, -0.02408701926469803, 0.12371420115232468, -0.14127950370311737, -0.3103908598423004, -0.1362452507019043, 0.2849789559841156, -0.14972521364688873, 0.2636813521385193, -0.14729706943035126, -0.045960910618305206, -0.20864805579185486, -0.26057788729667664, -0.23960113525390625, 0.2132105678319931, -0.4599631428718567, 0.1509498506784439, -0.03061450645327568, -0.16528694331645966, 0.2330656796693802, -0.13778962194919586, 0.09017609059810638, -0.056787922978401184, 0.34646689891815186, -0.1534108966588974, 0.33247843384742737, -0.1501656472682953, 0.20151449739933014, -0.14380483329296112, -0.09875987470149994, 0.023138806223869324, -0.22357401251792908, 0.09945018589496613, -0.06930803507566452, -0.072794109582901, -0.18918122351169586, 0.31565138697624207, -0.0028482358902692795, 0.19391009211540222, 0.1801724135875702, 0.5355321764945984, 0.045353133231401443, -0.10683274269104004, 0.3825731575489044, 0.10555416345596313, -0.46778038144111633, -0.23170557618141174, 0.15760844945907593, 0.3317728638648987, -0.4525177776813507, -0.016226425766944885, -0.061308667063713074, -0.12773413956165314, 0.34590527415275574, 0.2816064953804016, -0.20968037843704224, 0.28965118527412415, -0.09515494108200073, 0.26427584886550903, 0.2428993284702301, -0.29149940609931946, -0.1861659586429596, 0.049662213772535324, -0.08611487597227097, 0.08407324552536011, 0.2351168394088745, -0.03380224481225014, 0.2537001371383667, -0.053544361144304276, 0.38527193665504456, 0.0014428216964006424, 0.0655742958188057, -0.09827393293380737, -0.3557451665401459, -0.2764863967895508, 0.000285271555185318, 0.1326213777065277, 0.13211941719055176, -0.14403969049453735, 0.30900225043296814, 0.05421820282936096, 0.24401280283927917, -0.11463446915149689, 0.027487818151712418, 0.28945833444595337, 0.08254273235797882, -0.2760595679283142, 0.12692710757255554, 0.18013125658035278, 0.12485408782958984, 0.1125824823975563, -0.1763581782579422, 0.5433013439178467, 0.14830878376960754, -0.03281976655125618, -0.3330049514770508, -0.24439434707164764, 0.06204655393958092, -0.21233387291431427, 0.3353760540485382, -0.16432881355285645, -0.23785516619682312, 0.3535800278186798, 0.23939909040927887, 0.21190737187862396, -0.3103395998477936, -0.27343693375587463, -0.3228459060192108, 0.008523685857653618, -0.17737595736980438, -0.06972143799066544, 0.1848284751176834, 0.09798403829336166, -0.18147894740104675, 0.049111463129520416, -0.0835266262292862, 0.07859347760677338, -0.08368870615959167, 0.21133962273597717, 0.4771086871623993, 0.2576439380645752, 0.028803709894418716, -0.4419797956943512, 0.31348344683647156, -0.02670348808169365, 0.1432380974292755, -0.08099701255559921, -0.144626647233963, 0.5840529799461365, 0.21419993042945862, -0.23039352893829346, 0.10071724653244019, -0.11542245745658875, 0.23117581009864807, -0.08952546864748001, -0.13783638179302216, -0.13420793414115906, 0.4827820360660553, 0.5754254460334778, 0.33750176429748535, 0.028592132031917572, -0.2968572974205017, -0.030534766614437103, 0.4047675132751465, -0.08048713207244873, 0.13522952795028687, 0.19465649127960205, -0.10884816199541092, -0.2916334271430969, 0.0854841098189354, 0.12765945494174957, 0.29643872380256653, 0.31243380904197693, 0.49596360325813293, 0.16733592748641968, -0.04964490607380867, -0.22104911506175995, 0.052241258323192596, -0.05660736560821533, -0.05826045945286751, 0.2651510238647461, -0.05195609852671623, -0.07287316769361496, -0.4616529941558838, 0.10685181617736816, 0.017468737438321114, 0.2721266746520996, -0.10932567715644836, 0.03240549564361572, -0.01715099811553955, -0.20910710096359253, -0.1999034881591797, 0.10151868313550949, -0.26678186655044556, -0.13367709517478943, 0.11440087854862213, -0.17983755469322205, -0.05782685801386833, 0.1891973912715912, 0.03607342019677162, 0.6533831357955933, -0.013179253786802292, 0.10793408751487732, 0.016573965549468994, -0.2028149962425232, -0.10702111572027206, 0.3092491924762726, 0.2622798681259155, 0.27507269382476807, 0.4491429328918457, -0.4338855445384979, 0.10879509150981903, 0.05161101371049881, -0.29000598192214966, 0.10230255126953125, 0.01965796947479248, 0.05014767497777939, 0.13925966620445251, 0.04490005597472191, -0.0387684628367424, -0.14785894751548767, -0.12243955582380295, -0.010439679957926273, -0.2267654985189438, -0.18873727321624756, -0.2868939936161041, -0.019882282242178917, -0.16654911637306213, -0.4138696491718292, 0.23814502358436584, -0.3945963978767395, 0.0691017210483551, -0.03768100589513779, 0.28815969824790955, -0.29197877645492554, 0.2873961329460144, 0.3783687353134155, -0.20286603271961212, -0.17915141582489014, -0.41690748929977417, -0.2953168749809265, 0.16510070860385895, -0.17584897577762604, -0.47354140877723694, -0.013937298208475113, -0.02663799189031124, 0.5878923535346985, -0.25584012269973755, -0.2944623827934265, 0.029175791889429092, 0.20710724592208862, 0.0035588443279266357, 0.07639550417661667, -0.03056935779750347, 0.23709768056869507, -0.06891258805990219, -0.28907278180122375, -0.18250426650047302, -0.1733371615409851, 0.06089002266526222, 0.037461284548044205, 0.24821248650550842, -0.1122274175286293, 0.12097541242837906, 0.2794223129749298, 0.4534798860549927, 0.16832415759563446, 0.09792531281709671, 0.18970468640327454, 0.0902799740433693, 0.3158285915851593, 0.05840247869491577, -0.09346037358045578, 0.19473198056221008, -0.06967277824878693, 0.15164466202259064, 0.49168360233306885, 0.011637229472398758, -0.37225040793418884, -0.08326636254787445, -0.2930220663547516, -0.0778639167547226, -0.16953231394290924, 0.2466925084590912, -0.3427989184856415, 0.16631491482257843, -0.04420601576566696, -0.3340267241001129, -0.4258093535900116, 0.01503053866326809, 0.06952056288719177, 0.11503985524177551, -0.3133619725704193, -0.1496535688638687, -0.20987169444561005, 0.5025120973587036, -0.5480266809463501, 0.10900416970252991, 0.1872960478067398, 0.14305229485034943, -0.23115234076976776, 0.033026352524757385, 0.06598704308271408, -0.10666554421186447, 0.29532116651535034, -0.39035308361053467, -0.1114765852689743, 0.04007600620388985, 0.23840919137001038, -0.28196749091148376, 0.15032829344272614, -0.3844894766807556, 0.031828317791223526, 0.35284528136253357, 0.20285259187221527, -0.17620103061199188, 0.019215423613786697, 0.026267344132065773, 0.11692658066749573, -0.17551079392433167, -0.027024421840906143, -0.384204238653183, -0.3823976516723633, -0.12389615178108215, 0.1828565001487732, 0.1302027553319931, 0.06476941704750061, 0.15177106857299805, -0.10954906046390533, 0.4745244085788727, 0.04424634575843811, 0.13355104625225067, 0.17437605559825897, -0.010543294250965118, 0.1335621327161789, -0.05153290927410126, -0.008014529943466187, -0.09129729866981506, -0.16041450202465057, 0.3803797662258148, -0.22207796573638916, -0.07799538969993591, 0.17291420698165894, -0.42756855487823486, 0.21312090754508972, 0.26073646545410156, 0.2029908299446106, 0.15506498515605927, 0.17890948057174683, 0.10672008246183395, -0.14332523941993713, 0.249498650431633, 0.18855558335781097, 0.13458827137947083, -0.1760517656803131, -0.25167155265808105, 0.202885702252388, -0.011663252487778664, -0.13011159002780914, 0.6379837393760681, -0.09840810298919678, -0.16786721348762512, 0.026169072836637497, 0.3715020418167114, 0.9429131150245667, 0.052730493247509, 0.09901756048202515, 0.22560930252075195, -0.29872554540634155, -0.13731426000595093, -0.030590396374464035, -0.07129822671413422, -0.17291361093521118, 0.13074210286140442, -0.028633546084165573, -0.05413549765944481, 0.24932456016540527, -0.03730197995901108, -0.4559708833694458, -0.1524360179901123, 0.16285091638565063, -0.5199662446975708, 0.028850747272372246, 0.22033411264419556, -0.05655389279127121, -0.06446033716201782, 0.2585054934024811, 0.21550682187080383, 0.16154702007770538, -0.19036714732646942, -0.19774827361106873, -0.18878749012947083, -0.2256542146205902, -0.11866192519664764, -0.12866109609603882, -0.0913349837064743, -0.07074760645627975, -0.1684180647134781, -0.16569341719150543, -0.16278992593288422, 0.28724637627601624, -0.15426936745643616, 0.25081491470336914, -0.22000296413898468, -0.15815941989421844, 0.23915503919124603, -0.04491644352674484, 0.00248660147190094, 0.222580686211586, -0.08548068255186081, 0.240097776055336, -0.267118901014328, -0.3263685703277588, 0.2093910574913025, 0.08642171323299408, -0.002937179058790207, 0.1022121012210846, -0.011104218661785126, -0.1790398359298706, -0.14040936529636383, -0.13067711889743805, 0.2795711159706116, -0.1674753874540329, -0.15091872215270996, 0.3001142144203186, 0.1261865496635437, -0.2160363644361496, 0.26117461919784546, 0.1855740249156952, -0.17935533821582794, -0.0638502836227417, 0.28903594613075256, 0.20227402448654175, -0.09234033524990082, -0.09893421828746796, 0.13012918829917908, -0.26092517375946045, -0.3794676661491394, 0.0019875317811965942, 0.2436768263578415, -0.4394788444042206, -0.15420423448085785, -0.35077258944511414, -0.15129901468753815, 0.04807346686720848, 0.20376351475715637, 0.1873473972082138, 0.010119661688804626, -0.22970841825008392, -0.0002317875623703003, -0.21803811192512512, 0.2172781229019165, -0.16835945844650269, 0.14179766178131104, -0.23947575688362122, 0.08413916826248169, 0.18891948461532593, 0.3808706998825073, -0.506401538848877, 0.15515930950641632, -0.29557642340660095, 0.08739905804395676, 0.13026881217956543, -0.10414841026067734, -0.007340616546571255, 0.052868522703647614, 0.19537626206874847, -0.05724696069955826, -0.4815702438354492, -0.3359517753124237, -0.16173210740089417, 0.05979543924331665, -0.23589065670967102, -0.12927550077438354, 0.2596437335014343, -0.03094363771378994, -0.262877881526947, 0.11194061487913132, -0.14516475796699524, -0.09579844772815704, -0.1327926516532898, 0.23947899043560028, -0.048814449459314346, 0.10211138427257538, -0.19531990587711334, -0.08877352625131607, 0.06264383345842361, 0.15942174196243286, 0.13301034271717072, 0.049716707319021225, -0.03849080204963684, -0.13857242465019226, 0.06286285072565079, 0.27092626690864563, 0.13061539828777313, 0.10142297297716141, 0.1889462172985077, 0.12728573381900787, 0.08876416087150574, -0.14082768559455872, 0.10591927915811539, -0.09107330441474915, -0.3137410283088684, -0.18160594999790192, 0.2547106146812439, 0.32222214341163635, -0.3753576874732971, -0.28333407640457153, 0.018163835629820824, -0.30550646781921387, 0.2461356520652771, 0.04185439646244049, 0.44699177145957947, 0.08112393319606781, 0.08174914121627808, -0.09278266131877899, -0.04435225948691368, -0.16301989555358887, -0.07178126275539398, 0.23648039996623993, 0.015604738146066666, 0.10325551778078079, 0.32931196689605713, 0.1356683224439621, 0.22596171498298645, 0.24954599142074585, 0.2864437401294708, 0.6538029313087463, -0.14242252707481384, 0.4361960291862488, -0.27209359407424927, 0.026920095086097717, 0.42723485827445984, 0.2675498127937317, -0.21398907899856567, 0.1731138527393341, 0.25980323553085327, 0.23096486926078796, -0.0742078423500061, -0.024879716336727142, -0.177407905459404, -0.05062449350953102, -0.0884503498673439, -0.07918153703212738, -0.014750100672245026, -0.2538183033466339, -0.2829476594924927, -0.07827381789684296, 0.19856378436088562, 0.2546082139015198, 0.2956446409225464, -0.011440396308898926, 0.010526217520236969, 0.29846054315567017, -0.4040601849555969, -0.0784614309668541, 0.16283470392227173, -0.318103164434433, 0.08242548257112503, 0.07805058360099792, -0.11555114388465881, -0.11800168454647064, 0.3115828037261963, 0.25590431690216064, -0.22405630350112915, 0.09333238005638123, -0.16234353184700012, -0.07352732121944427, 0.11890175938606262, -0.0664367526769638, 0.0455537773668766, 0.5399388074874878, 0.012081608176231384, 0.09731408953666687, 0.24844959378242493, -0.31177252531051636, 0.0749502032995224, 0.5033131837844849, -0.3227480947971344, -0.0479588508605957, 0.0959455668926239, -0.11658959090709686, -0.1650967001914978, -0.1903635710477829, 0.14666247367858887, -0.4255579113960266, 0.37450656294822693, 0.3154394030570984, -0.27659985423088074, 0.01152878999710083, -0.17779208719730377, 0.1410776525735855, 0.06519223749637604, 0.6198214292526245, 0.05420892685651779, 0.28134995698928833, -0.20063543319702148, -0.5463005900382996, -0.6408864259719849, 0.2795020639896393, -0.1065669059753418, 0.07532653957605362, 0.08437775075435638, 0.2956749498844147, 0.232217937707901, 0.21677109599113464, 0.17315202951431274, 0.05449335649609566, 0.011670750565826893, -0.11709776520729065, -0.4518735408782959, 0.008310448378324509, -0.009666353464126587, 0.11614064872264862, -0.23853139579296112, -0.049362022429704666, 0.0040111243724823, -0.1371494084596634, 0.30746474862098694, -0.13791954517364502, -0.3583601117134094, 0.25438475608825684, 0.3636166453361511, 0.2923906445503235, -0.10794837772846222, 0.13188761472702026, -0.23340418934822083, -0.055173300206661224, 0.12976738810539246, 0.3212507963180542, 0.3125072121620178, 0.03584576025605202, 0.3644125461578369, 0.1514393836259842, -0.12411805987358093, -0.05540955439209938, 0.13101452589035034, 0.4459323287010193, 0.08624990284442902, -0.0028381505981087685, -0.2470376193523407, 0.12678943574428558, 0.3404603600502014, -0.05806291103363037, -0.17491088807582855, 0.4333190321922302, 0.040440209209918976, -0.10516601800918579, -0.27542388439178467, 0.07590657472610474, 0.3116287589073181, -0.07826973497867584, -0.053905896842479706, -0.07087194174528122, 0.12940876185894012, -0.06399562209844589, -0.09151119738817215, -0.7586014270782471, 0.05293973535299301, 0.16675390303134918, 0.3229435682296753, -0.13730014860630035, 0.3408590853214264, -0.22879377007484436, 0.07474943995475769, -0.01425781287252903, -0.05481308698654175, -0.1015678122639656, -0.1059625968337059, -0.03197507560253143, -0.3729091286659241 ]
https://github.com/huggingface/datasets/pull/1930
updated the wino_bias dataset
Hi @JieyuZhao ! Have you had a chance to add the different configurations ? Thanks again for your help on this !
Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features
22
text: updated the wino_bias dataset Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features Hi @JieyuZhao ! Have you had a chance to add the different configurations ? Thanks again for your help on this !
[ -0.5823460221290588, -0.3335850238800049, -0.18298284709453583, -0.04791811853647232, 0.06703634560108185, -0.20161154866218567, 0.1253049224615097, 0.19159843027591705, 0.22721731662750244, 0.22591643035411835, -0.18375535309314728, 0.2552737295627594, 0.17664916813373566, 0.2690546214580536, -0.06760980188846588, -0.22704070806503296, 0.048736389726400375, 0.4211037755012512, 0.08028092980384827, -0.19879823923110962, -0.27092093229293823, 0.220086932182312, -0.22150102257728577, 0.052601393312215805, -0.3255767822265625, -0.1704910397529602, -0.28240665793418884, 0.32693949341773987, -0.24742279946804047, -0.39960959553718567, 0.10202187299728394, 0.24697569012641907, -0.32373160123825073, 0.3461286723613739, -0.00009961241448763758, -0.09404121339321136, 0.22644613683223724, 0.030234968289732933, 0.017748810350894928, 0.2751641869544983, 0.28060123324394226, -0.23186352849006653, -0.05569586157798767, -0.20534747838974, -0.2697499394416809, -0.04999883472919464, -0.02082444168627262, 0.15272553265094757, 0.16415390372276306, 0.3949471712112427, 0.32000941038131714, 0.4533030688762665, 0.2581372559070587, -0.3109482526779175, 0.30579373240470886, -0.03542047739028931, -0.19183991849422455, 0.13430118560791016, 0.2662895619869232, -0.17081040143966675, -0.2142464816570282, 0.24638816714286804, -0.008960701525211334, -0.011779453605413437, -0.10295987874269485, -0.04740580543875694, 0.1340395212173462, -0.16490495204925537, -0.01433582603931427, -0.03771217167377472, 0.034018974751234055, 0.09392222762107849, -0.18340593576431274, -0.013513792306184769, -0.020740285515785217, -0.8175510168075562, -0.09000218659639359, 0.02348478138446808, -0.026015983894467354, -0.10599149763584137, 0.15234334766864777, -0.021073030307888985, -0.1577024757862091, 0.07028453052043915, -0.11587695777416229, 0.48027539253234863, -0.020084768533706665, -0.006621398031711578, 0.1272691786289215, 0.1784404218196869, 0.07142163068056107, 0.19478876888751984, -0.2707161009311676, -0.1353592574596405, -0.35886725783348083, -0.2268925905227661, -0.016679711639881134, 0.5119742751121521, 0.0008477121591567993, 0.002644304186105728, -0.11814267933368683, 0.09865420311689377, 0.008571990765631199, -0.051074422895908356, 0.05300930514931679, 0.11746399104595184, -0.08083955198526382, 0.01781131699681282, 0.18741627037525177, -0.02570982649922371, -0.10551807284355164, 0.024855053052306175, 0.08996771275997162, -0.522395133972168, -0.03226085752248764, -0.037307269871234894, 0.19060499966144562, 0.04678504541516304, -0.378523588180542, -0.2058405727148056, 0.3492584526538849, -0.10096338391304016, 0.08008652925491333, 0.2136285901069641, -0.026624705642461777, 0.10194277763366699, -0.02721248008310795, 0.3353828191757202, -0.5693422555923462, -0.23763425648212433, -0.4027411639690399, 0.29886311292648315, -0.3154332935810089, -0.278352290391922, 0.27901721000671387, -0.030710168182849884, 0.4387553036212921, -0.0696944147348404, 0.05182357132434845, -0.04050172492861748, -0.11156366765499115, -0.03637523204088211, 0.11877469718456268, 0.13355828821659088, 0.1347968578338623, -0.014178663492202759, 0.17995314300060272, 0.21283911168575287, -0.047708459198474884, -0.0511111244559288, -0.19655585289001465, -0.2358391135931015, 0.08664002269506454, 0.2911054790019989, -0.10610543191432953, -0.25629910826683044, 0.1136004626750946, 0.1929044872522354, -0.06968339532613754, 0.028002317994832993, 0.001980915665626526, -0.22125698626041412, -0.300846666097641, -0.09372027963399887, 0.3426123261451721, 0.24205109477043152, -0.22406578063964844, 0.24622571468353271, -0.05043444409966469, -0.2565491199493408, 0.1877184510231018, 0.11813969910144806, -0.023871885612607002, 0.10763733088970184, -0.10352589190006256, 0.05744136869907379, 0.07171313464641571, -0.4203591048717499, -0.4606562852859497, -0.10698062181472778, -0.20093747973442078, -0.27678659558296204, 0.12929625809192657, 0.11176493763923645, 0.14085038006305695, 0.1966741532087326, 0.008063651621341705, 0.20584404468536377, -0.09257693588733673, 0.1025899276137352, -0.27524253726005554, -0.10365381091833115, 0.07289834320545197, 0.2391517013311386, 0.30137330293655396, -0.005039878189563751, 0.08649760484695435, -0.11244127154350281, 0.3671947419643402, 0.041278861463069916, 0.12227113544940948, -0.1749122589826584, 0.32706189155578613, -0.155277281999588, 0.19975395500659943, -0.1667064130306244, 0.052702680230140686, 0.06963477283716202, -0.10146629065275192, 0.2545396089553833, 0.3884671926498413, -0.07167048752307892, -0.3833991587162018, 0.0003459453582763672, -0.2442462295293808, -0.11990967392921448, 0.35066309571266174, -0.02386680245399475, 0.24669921398162842, -0.01348099298775196, 0.01593097671866417, 0.009404389187693596, -0.09446730464696884, 0.11643129587173462, 0.3094501793384552, 0.20725959539413452, -0.25949159264564514, -0.2955784797668457, 0.2960498332977295, 0.30421513319015503, 0.11854231357574463, -0.11850930750370026, -0.04908709600567818, 0.4555451571941376, 0.01824359968304634, 0.2555931806564331, 0.27254706621170044, -0.10124270617961884, 0.12616820633411407, -0.29846981167793274, 0.24387963116168976, -0.009034696966409683, -0.03741211071610451, -0.027230825275182724, 0.1004144698381424, 0.22134153544902802, -0.03810597583651543, 0.008480638265609741, -0.07537983357906342, 0.06078392267227173, 0.2762812674045563, -0.24945412576198578, 0.0781756192445755, -0.04682762175798416, 0.09865272045135498, -0.2627653181552887, -0.16957706212997437, -0.24986620247364044, -0.28798365592956543, 0.2855771481990814, 0.35563671588897705, 0.030499394983053207, 0.08605492115020752, -0.06395244598388672, -0.21848031878471375, -0.17371827363967896, -0.263937383890152, 0.0017550475895404816, 0.3506556749343872, 0.2646839916706085, 0.03310108184814453, 0.04526219516992569, -0.09710054099559784, -0.08531969785690308, 0.3857966661453247, 0.21509815752506256, -0.05763757973909378, 0.20638951659202576, 0.0005202083848416805, -0.23705317080020905, -0.4761445224285126, -0.08866211771965027, 0.0035596732050180435, 0.21560408174991608, 0.098605215549469, -0.35327860713005066, 0.006689848378300667, -0.029670149087905884, 0.06861542910337448, -0.11028065532445908, -0.10880041122436523, -0.38877302408218384, 0.2551229000091553, 0.3128947615623474, -0.05253398418426514, 0.3291543424129486, -0.16335198283195496, 0.5074348449707031, 0.26444485783576965, 0.4070673882961273, -0.10105739533901215, -0.12143795192241669, -0.1655181646347046, 0.17889249324798584, -0.19905829429626465, -0.05982406809926033, 0.3485530912876129, -0.13385450839996338, 0.30235713720321655, -0.199226975440979, -0.014505308121442795, 0.11906936019659042, -0.07907102257013321, 0.1970921903848648, 0.19695580005645752, 0.1655881702899933, 0.09693391621112823, -0.3566678762435913, 0.3362742066383362, -0.5330877304077148, -0.12083204090595245, -0.0600803941488266, -0.10866955667734146, -0.11981301009654999, -0.15580126643180847, -0.3942919373512268, -0.22922177612781525, -0.390957772731781, -0.0021340250968933105, 0.0997878909111023, 0.21844236552715302, 0.09370820224285126, 0.04741322621703148, 0.0155820706859231, 0.020299598574638367, -0.19459617137908936, -0.2488233894109726, -0.23359490931034088, 0.32354193925857544, -0.45791441202163696, -0.26607614755630493, 0.061288174241781235, -0.1081053614616394, 0.31817618012428284, -0.3090641498565674, -0.27651911973953247, -0.10102818161249161, -0.22619302570819855, 0.024490799754858017, 0.10328750312328339, 0.20720067620277405, 0.39082100987434387, -0.063003771007061, -0.3345719277858734, -0.20362496376037598, -0.10384196043014526, -0.015661433339118958, -0.041027262806892395, 0.07515724003314972, -0.16454648971557617, -0.1062069907784462, -0.14569519460201263, 0.4929429888725281, 0.021996859461069107, -0.232686385512352, 0.28776872158050537, -0.052646636962890625, 0.2315007746219635, -0.13924142718315125, -0.3340050280094147, 0.1575804352760315, -0.01319749653339386, 0.22341637313365936, 0.48716288805007935, 0.06632542610168457, -0.28308677673339844, -0.10593347251415253, -0.299306184053421, -0.23017984628677368, -0.23220638930797577, -0.09502708911895752, 0.006634794175624847, 0.07761590927839279, -0.04364177584648132, 0.018248051404953003, -0.19988706707954407, -0.10364510118961334, 0.19832347333431244, 0.17608195543289185, -0.0013757199048995972, -0.14969320595264435, -0.25912368297576904, -0.2229592204093933, -0.4636303782463074, 0.12073157727718353, -0.41708439588546753, -0.10283991694450378, 0.05415556952357292, -0.09878870844841003, 0.03101840615272522, -0.16470250487327576, 0.48039811849594116, -0.3928479552268982, 0.22488129138946533, 0.2944951355457306, 0.08427463471889496, 0.011702699586749077, -0.15979962050914764, -0.3556956648826599, 0.4859161078929901, 0.31114062666893005, 0.31919729709625244, 0.022942155599594116, -0.16668254137039185, 0.4589707553386688, -0.045144300907850266, -0.20653827488422394, -0.19543851912021637, -0.035744309425354004, -0.02950883097946644, -0.01670962944626808, 0.41364097595214844, 0.15711483359336853, 0.22375217080116272, -0.3898858428001404, 0.041149821132421494, -0.017762834206223488, 0.054901354014873505, 0.0515669509768486, 0.043226782232522964, 0.29889336228370667, 0.20421874523162842, 0.1048402488231659, 0.11453849822282791, 0.2983003258705139, -0.014465192332863808, 0.18032206594944, 0.07673604786396027, 0.15732285380363464, -0.040059350430965424, -0.19145509600639343, 0.3457419276237488, 0.17856013774871826, 0.18261712789535522, -0.07568284124135971, -0.18939822912216187, 0.25749117136001587, -0.34159818291664124, 0.19096499681472778, 0.299793541431427, 0.014119581319391727, 0.07514224946498871, -0.0030139945447444916, 0.1167946606874466, -0.1624068021774292, -0.22491908073425293, 0.2624130845069885, 0.35443776845932007, -0.23477914929389954, 0.474733829498291, 0.009758055210113525, 0.8119124174118042, 0.183195561170578, 0.08676939457654953, 0.15532639622688293, -0.09930066764354706, 0.3550192713737488, -0.06839534640312195, 0.2716100811958313, -0.26530686020851135, -0.13749058544635773, 0.17936046421527863, -0.05030280351638794, 0.07442405074834824, -0.00004095584154129028, -0.4227328598499298, 0.005099952220916748, -0.07103918492794037, -0.13228923082351685, -0.12437935173511505, 0.15568864345550537, 0.14773541688919067, -0.14513421058654785, 0.2783649265766144, 0.2828882336616516, 0.0136166512966156, 0.222735196352005, -0.05415453761816025, 0.03215792402625084, 0.02923007681965828, -0.11894194036722183, -0.18315300345420837, 0.13020187616348267, -0.10116568207740784, 0.04974381625652313, -0.29135724902153015, -0.09015190601348877, 0.05861605331301689, 0.0916777104139328, 0.4682009220123291, 0.1856023669242859, -0.08992119878530502, 0.3128355145454407, 0.2780730426311493, -0.14895717799663544, -0.024630766361951828, -0.03700481355190277, 0.06486382335424423, -0.1801554262638092, -0.5215091109275818, -0.09314719587564468, -0.12568281590938568, -0.24366889894008636, -0.17625243961811066, -0.15352199971675873, -0.10914905369281769, -0.2249087393283844, -0.1110551506280899, 0.1313568502664566, -0.08633473515510559, -0.28978797793388367, 0.2627356946468353, 0.23985031247138977, -0.2268718183040619, 0.33497369289398193, 0.10519342124462128, -0.2120957374572754, -0.03815854713320732, 0.20335635542869568, 0.03824871405959129, -0.16069678962230682, 0.43549662828445435, -0.022456681355834007, -0.10421156883239746, -0.45010873675346375, -0.38665416836738586, 0.20735706388950348, -0.2126719355583191, -0.07274068146944046, 0.050645943731069565, -0.07115495949983597, 0.28103339672088623, 0.26671385765075684, 0.15959414839744568, 0.3689820170402527, -0.1074681431055069, -0.32906806468963623, -0.22854337096214294, -0.06083741784095764, -0.019441019743680954, 0.32685649394989014, -0.08397197723388672, -0.004127148538827896, 0.25118839740753174, 0.20764759182929993, -0.5090950727462769, -0.026027780026197433, 0.03928598761558533, 0.0649605467915535, -0.072880819439888, -0.35433587431907654, 0.0771951675415039, 0.10218188166618347, 0.2919144034385681, -0.12140649557113647, -0.2467961311340332, -0.33119916915893555, -0.13109369575977325, 0.08664566278457642, -0.02103576809167862, -0.1410190910100937, 0.11650552600622177, 0.034957196563482285, -0.1229981929063797, 0.10848285257816315, 0.010852601379156113, 0.08578009158372879, -0.12187737226486206, 0.19033469259738922, -0.055503930896520615, 0.19560492038726807, 0.23752860724925995, -0.08240114897489548, 0.035961441695690155, 0.15430285036563873, -0.008647814393043518, 0.14212992787361145, 0.033955853432416916, -0.3110864758491516, 0.2063271552324295, 0.05882670730352402, -0.1612369865179062, 0.30258408188819885, 0.09547172486782074, -0.016109198331832886, -0.1934252381324768, 0.319419801235199, 0.5314757823944092, 0.045428477227687836, 0.023257367312908173, -0.05951707065105438, 0.11590547114610672, 0.4509015679359436, -0.4847323000431061, -0.01352941058576107, 0.4028708040714264, -0.016690775752067566, 0.2973681390285492, -0.086143858730793, 0.3639575242996216, -0.22999636828899384, -0.11292864382266998, 0.12870168685913086, 0.49491026997566223, -0.3086150884628296, 0.07799112796783447, 0.032482050359249115, -0.11862634122371674, -0.19781728088855743, 0.28394943475723267, 0.17889690399169922, 0.1237519159913063, 0.47456270456314087, 0.11696217954158783, 0.3319164514541626, 0.0861307680606842, 0.1417304277420044, 0.15393763780593872, 0.10266576707363129, 0.05736231058835983, -0.07813838124275208, -0.30096545815467834, -0.031712159514427185, -0.19532901048660278, 0.3999331295490265, -0.34915897250175476, -0.03660684451460838, -0.5477869510650635, 0.04325653612613678, -0.2788809537887573, -0.1938217431306839, -0.5607849955558777, -0.128800168633461, -0.0509951114654541, -0.19230663776397705, 0.26715222001075745, 0.2201407551765442, 0.3108861446380615, -0.12512002885341644, -0.10198278725147247, 0.14006081223487854, 0.05245859548449516, 0.0586199015378952, 0.37273791432380676, -0.22076831758022308, 0.05686803162097931, 0.24445001780986786, -0.07060098648071289, 0.0157526396214962, 0.3745238482952118, 0.3742634654045105, 0.18579256534576416, -0.290177583694458, 0.02952907234430313, -0.04410368949174881, -0.18226437270641327, -0.18314827978610992, 0.046788305044174194, 0.13201190531253815, 0.15402869880199432, 0.3013693392276764, 0.302975594997406, -0.24699141085147858, 0.0973198190331459, 0.19597384333610535, -0.014017390087246895, 0.0472470298409462, 0.02456771582365036, 0.3700524866580963, -0.40180009603500366, -0.09010220319032669, 0.0597531795501709, -0.3492611050605774, -0.21629999577999115, 0.11817394196987152, -0.06974507123231888, 0.009011151269078255, -0.4399956464767456, 0.1597088873386383, -0.013479948043823242, 0.5391221642494202, -0.029405970126390457, 0.0730198472738266, -0.24122560024261475, -0.20582222938537598, -0.3279881179332733, 0.15647979080677032, -0.05003976449370384, -0.2052522450685501, -0.1967444121837616, 0.2914372980594635, -0.03274449706077576, -0.10677748918533325, 0.284774512052536, -0.08563315123319626, 0.0890003889799118, 0.1619085669517517, -0.45261555910110474, 0.2030094563961029, -0.04070107638835907, 0.14281731843948364, 0.29560089111328125, -0.07896600663661957, 0.06368883699178696, 0.027870159596204758, 0.2517233192920685, 0.0337650291621685, 0.0016915947198867798, 0.3293582499027252, 0.09259919822216034, 0.13855570554733276, 0.02098972350358963, 0.32630836963653564, -0.16904163360595703, 0.1797771006822586, -0.4074643850326538, -0.11090756952762604, -0.4203355312347412, -0.02467680722475052, 0.22131475806236267, 0.17786462604999542, -0.03990170359611511, -0.4372749626636505, 0.06781744211912155, 0.17151916027069092, 0.18471521139144897, -0.23037518560886383, 0.06625458598136902, 0.348425030708313, 0.21180951595306396, -0.18955543637275696, 0.1331000030040741, 0.15848025679588318, -0.006769157946109772, -0.08556795120239258, -0.23401561379432678, -0.4851192235946655, 0.25093141198158264, -0.2794468104839325, -0.15211720764636993, -0.36914941668510437, 0.4162677228450775, 0.2431689202785492, 0.33169177174568176, 0.0668943002820015, 0.0890144631266594, 0.11952155083417892, 0.09882792830467224, -0.09607759118080139, 0.2941845953464508, 0.004376851953566074, -0.2741539180278778, 0.08118936419487, 0.37736356258392334, 0.13918912410736084, -0.19505588710308075, -0.2432158887386322, -0.25301593542099 ]
https://github.com/huggingface/datasets/pull/1930
updated the wino_bias dataset
> Hi @JieyuZhao ! Have you had a chance to add the different configurations ? > Thanks again for your help on this ! Hi @lhoestq Yes, I've updated the code. Now the configuration will have dev/test splits.
Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features
38
text: updated the wino_bias dataset Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features > Hi @JieyuZhao ! Have you had a chance to add the different configurations ? > Thanks again for your help on this ! Hi @lhoestq Yes, I've updated the code. Now the configuration will have dev/test splits.
[ -0.6441249251365662, -0.3340972065925598, -0.18812663853168488, -0.08770160377025604, 0.06693048775196075, -0.18019728362560272, 0.1510939598083496, 0.2245890200138092, 0.1935330480337143, 0.29412585496902466, -0.152934730052948, 0.25146248936653137, 0.13468164205551147, 0.3187977373600006, 0.021754838526248932, -0.2076236605644226, -0.020494773983955383, 0.3452145457267761, -0.00003224611282348633, -0.049434248358011246, -0.26070526242256165, 0.15137334167957306, -0.2374332696199417, 0.10227112472057343, -0.2148623764514923, -0.30407553911209106, -0.27467718720436096, 0.2954643666744232, -0.19239524006843567, -0.2954707145690918, 0.10550537705421448, 0.299546480178833, -0.3053272068500519, 0.24986422061920166, -0.00010128587746294215, -0.06187383458018303, 0.27907299995422363, -0.021368978545069695, 0.01886686310172081, 0.36510202288627625, 0.2517569661140442, -0.1168852373957634, -0.12650279700756073, -0.18264761567115784, -0.30227088928222656, -0.07775826007127762, -0.03822728991508484, 0.04179932922124863, 0.25921207666397095, 0.4107097089290619, 0.2792400121688843, 0.4671938419342041, 0.21007059514522552, -0.27081167697906494, 0.291926771402359, 0.07767649739980698, -0.24729198217391968, 0.15892690420150757, 0.24012015759944916, -0.13964590430259705, -0.13769656419754028, 0.15806351602077484, 0.06638165563344955, 0.016959035769104958, -0.20030075311660767, 0.0035262303426861763, 0.2920174300670624, -0.19862061738967896, 0.008491775020956993, -0.021928362548351288, -0.02777477353811264, 0.041373562067747116, -0.13604168593883514, -0.00998009368777275, 0.029513705521821976, -0.7857245802879333, -0.08602414280176163, 0.07425457239151001, -0.06779694557189941, -0.06478631496429443, -0.0021391641348600388, -0.026948580518364906, -0.12908107042312622, 0.025568421930074692, -0.20652756094932556, 0.33032160997390747, -0.07303624600172043, 0.036662496626377106, 0.08182013779878616, 0.22457364201545715, 0.12353354692459106, 0.14308124780654907, -0.3184189796447754, -0.1835792064666748, -0.3070058226585388, -0.2694035470485687, -0.09116440266370773, 0.35443565249443054, 0.14000597596168518, 0.04722549393773079, -0.2885456085205078, 0.022044748067855835, -0.05840252712368965, -0.08725764602422714, 0.1247006207704544, 0.16836607456207275, 0.021892644464969635, 0.24139975011348724, 0.11838748306035995, -0.023113152012228966, -0.052199579775333405, 0.12255249917507172, 0.12696468830108643, -0.5930689573287964, -0.15885983407497406, 0.04553171992301941, 0.23712854087352753, 0.054364968091249466, -0.3791504204273224, -0.3173544704914093, 0.26577162742614746, -0.09113994985818863, 0.13673149049282074, 0.2606632113456726, 0.0649263933300972, 0.03475692495703697, -0.11469552665948868, 0.39273518323898315, -0.594488263130188, -0.23377327620983124, -0.3942556381225586, 0.2983698844909668, -0.34209561347961426, -0.1804044246673584, 0.1844283789396286, 0.03675694763660431, 0.3834957182407379, 0.03603442758321762, 0.173828125, -0.11013225466012955, -0.10675932466983795, 0.05948186293244362, 0.11176551133394241, 0.12022331357002258, 0.07691220939159393, -0.06818921864032745, 0.08112937211990356, 0.12108421325683594, -0.15517182648181915, 0.027690447866916656, -0.21730393171310425, -0.259607195854187, 0.2454671859741211, 0.25984901189804077, -0.1430501937866211, -0.1355597823858261, 0.11845074594020844, 0.21273048222064972, -0.0925336554646492, -0.004077650606632233, 0.09841138869524002, -0.21184128522872925, -0.16682493686676025, -0.10287043452262878, 0.45726367831230164, 0.2848222851753235, -0.1807657778263092, 0.11731769144535065, -0.012516064569354057, -0.3043400049209595, 0.29292771220207214, 0.04228408262133598, 0.013805023394525051, 0.09948327392339706, -0.17047928273677826, 0.039618588984012604, 0.13876914978027344, -0.3974093794822693, -0.3332010507583618, -0.05928284302353859, -0.2296598106622696, -0.4104668200016022, 0.160085529088974, -0.002285783411934972, 0.20123228430747986, 0.1639079451560974, -0.08804713189601898, 0.2995482087135315, -0.2053941786289215, 0.15751153230667114, -0.3347039222717285, -0.09470857679843903, 0.06755759567022324, 0.24271665513515472, 0.3487032949924469, -0.12842831015586853, -0.015872694551944733, -0.03521857410669327, 0.4437282681465149, -0.003001902252435684, 0.2124423384666443, -0.2941941022872925, 0.26168668270111084, -0.28149110078811646, 0.13561272621154785, -0.27588996291160583, 0.035426512360572815, 0.041994087398052216, -0.14564944803714752, 0.13345059752464294, 0.5234667062759399, -0.09504368901252747, -0.4948219060897827, 0.002520538866519928, -0.26518672704696655, -0.27783527970314026, 0.3015071451663971, -0.05211031436920166, 0.23266521096229553, -0.00506119430065155, -0.0040625594556331635, -0.0777323767542839, -0.18038658797740936, 0.11030123382806778, 0.29003459215164185, 0.36070623993873596, -0.23817841708660126, -0.27531513571739197, 0.17457860708236694, 0.29873576760292053, 0.05345319211483002, -0.18635478615760803, -0.03613832965493202, 0.4913093149662018, 0.12395650893449783, 0.2123657763004303, 0.2942509353160858, -0.17698033154010773, 0.27944689989089966, -0.24823929369449615, 0.14416687190532684, -0.08506254851818085, -0.13268038630485535, -0.022227950394153595, 0.04628343880176544, 0.3313727378845215, -0.19851170480251312, 0.04044002667069435, -0.13420961797237396, 0.04882074147462845, 0.28405171632766724, -0.30248668789863586, 0.0712914988398552, -0.14238300919532776, -0.007863309234380722, -0.33577385544776917, -0.16095642745494843, -0.3307259678840637, -0.23733402788639069, 0.31171509623527527, 0.2548903226852417, -0.0438443198800087, 0.024742837995290756, -0.15739011764526367, -0.11643858999013901, -0.11299365758895874, -0.2896166145801544, 0.09740276634693146, 0.4657410979270935, 0.2539028823375702, 0.1298462152481079, 0.0282655768096447, -0.08599693328142166, -0.038905125111341476, 0.46837785840034485, 0.1830422282218933, -0.11197216808795929, 0.17008379101753235, -0.11256805807352066, -0.3557767868041992, -0.3113762438297272, -0.025755565613508224, 0.12379946559667587, 0.10736679285764694, 0.027665797621011734, -0.3522181510925293, -0.0009284801781177521, 0.007913801819086075, -0.13564589619636536, -0.12010661512613297, -0.07564817368984222, -0.3125215470790863, 0.31604164838790894, 0.17738351225852966, -0.12826776504516602, 0.35212352871894836, -0.11463458836078644, 0.47050046920776367, 0.23326103389263153, 0.3883468210697174, -0.07546817511320114, -0.10223213583230972, -0.10582935065031052, 0.1834259033203125, -0.08807890117168427, 0.059679266065359116, 0.3910538852214813, -0.09317302703857422, 0.17904558777809143, -0.17374686896800995, 0.020419389009475708, 0.14284192025661469, -0.08085665851831436, 0.25146007537841797, 0.24441367387771606, 0.08198279142379761, 0.199893519282341, -0.29105979204177856, 0.25399789214134216, -0.5890421271324158, -0.22327764332294464, -0.15567851066589355, 0.018494900315999985, -0.0035872142761945724, -0.27214884757995605, -0.4887966811656952, -0.13684304058551788, -0.331426203250885, -0.062239870429039, 0.03347816690802574, 0.1688423901796341, 0.0819544866681099, 0.07072772085666656, 0.004020078107714653, 0.14272069931030273, -0.29313018918037415, -0.2902950942516327, -0.07958942651748657, 0.10617213696241379, -0.6118195652961731, -0.18431974947452545, 0.0785394161939621, -0.19945938885211945, 0.3001572787761688, -0.2894267439842224, -0.18072383105754852, -0.08431234210729599, -0.15332265198230743, 0.05499499663710594, 0.022624744102358818, 0.21941626071929932, 0.42367541790008545, -0.06955160945653915, -0.26645028591156006, -0.14699624478816986, -0.03718693554401398, -0.041674040257930756, -0.0020019151270389557, 0.045074183493852615, -0.13576090335845947, -0.10505195707082748, -0.23247802257537842, 0.5947620272636414, 0.13627839088439941, -0.14405858516693115, 0.04611995816230774, -0.17777976393699646, 0.20649124681949615, -0.16673880815505981, -0.2094242125749588, 0.19399617612361908, 0.08826816082000732, 0.07792868465185165, 0.4680665135383606, 0.0639498233795166, -0.25559303164482117, -0.02008167654275894, -0.2977195084095001, -0.1965673863887787, -0.30049169063568115, -0.020892532542347908, -0.06087849289178848, 0.05119580402970314, -0.19467243552207947, 0.004259005188941956, -0.14255115389823914, -0.03869261592626572, 0.08999316394329071, 0.21205446124076843, -0.07732459157705307, -0.09717480838298798, -0.289122074842453, -0.12938906252384186, -0.3903694748878479, 0.14765024185180664, -0.37841513752937317, -0.06172625720500946, 0.042410191148519516, -0.08715355396270752, 0.07167668640613556, -0.16886916756629944, 0.4643973112106323, -0.358723908662796, 0.3326736092567444, 0.34903383255004883, 0.10712642967700958, 0.08190584927797318, -0.21670134365558624, -0.33271610736846924, 0.45886820554733276, 0.26016005873680115, 0.19491499662399292, -0.050701823085546494, -0.3052159547805786, 0.49225538969039917, -0.10643262416124344, -0.20920005440711975, -0.15504303574562073, -0.05791861191391945, -0.10344286262989044, 0.10607138276100159, 0.5331834554672241, 0.29366040229797363, 0.1999337077140808, -0.4838674068450928, 0.06330730020999908, -0.087761789560318, -0.02513534016907215, 0.013278007507324219, 0.024863209575414658, 0.2939186692237854, 0.1533457189798355, 0.05910905823111534, 0.13079404830932617, 0.20818981528282166, -0.011636374518275261, 0.07139329612255096, 0.14467251300811768, 0.27738577127456665, -0.05968908220529556, -0.20734497904777527, 0.3551352918148041, 0.26104235649108887, 0.14379163086414337, -0.19735920429229736, -0.2727455198764801, 0.24396060407161713, -0.3929268419742584, 0.1992073953151703, 0.3140011131763458, -0.0317302867770195, 0.10595420002937317, -0.013742800801992416, 0.05433201789855957, -0.17727720737457275, -0.239271342754364, 0.373243123292923, 0.33522945642471313, -0.36785873770713806, 0.4454064965248108, 0.086644247174263, 0.819823145866394, 0.11272206157445908, 0.03505539521574974, 0.19757899641990662, -0.21237504482269287, 0.3499084413051605, -0.13571199774742126, 0.3175661563873291, -0.2496117800474167, -0.11008481681346893, 0.23909084498882294, -0.08817726373672485, 0.1367691159248352, -0.0020502470433712006, -0.4401227831840515, -0.001991232391446829, -0.03981612250208855, -0.09576697647571564, -0.09714145958423615, 0.016328781843185425, 0.10757362097501755, -0.055445101112127304, 0.2446528673171997, 0.21804998815059662, 0.03187406063079834, 0.16499781608581543, -0.016108045354485512, 0.007117307744920254, 0.037821557372808456, -0.017200978472828865, -0.1479291468858719, 0.057866618037223816, -0.044044848531484604, -0.0017636846750974655, -0.300674706697464, -0.021447397768497467, 0.15929123759269714, 0.18727709352970123, 0.40470659732818604, 0.2264879196882248, -0.03846476972103119, 0.28972792625427246, 0.17340943217277527, -0.1555313766002655, -0.028615256771445274, -0.062350545078516006, 0.09297945350408554, -0.18828848004341125, -0.5798771977424622, -0.1492258608341217, -0.1806039810180664, -0.14834441244602203, -0.11969786137342453, -0.0303119495511055, -0.02034195512533188, -0.3284587562084198, -0.001629602164030075, 0.1448386311531067, -0.05214371159672737, -0.2933262586593628, 0.23256775736808777, 0.12663200497627258, -0.36949422955513, 0.3505920171737671, 0.022273095324635506, -0.19946926832199097, -0.03382312133908272, 0.08803127706050873, 0.10892907530069351, -0.07709324359893799, 0.40792346000671387, -0.1344936341047287, -0.007077392190694809, -0.4842269718647003, -0.14625397324562073, 0.2761654257774353, -0.2577907145023346, -0.01038291398435831, 0.05320212244987488, -0.13046440482139587, 0.37837672233581543, 0.2959268391132355, 0.13463526964187622, 0.4279076159000397, -0.2209354192018509, -0.3147239089012146, -0.15166494250297546, -0.136376291513443, -0.042007360607385635, 0.41419801115989685, -0.04906047135591507, 0.11563703417778015, 0.16124284267425537, 0.30306342244148254, -0.470257967710495, 0.003675521817058325, -0.09006943553686142, 0.11442439258098602, -0.1884835660457611, -0.3104177713394165, 0.1010250523686409, 0.1059252917766571, 0.23302066326141357, -0.2237476259469986, -0.24689581990242004, -0.3087879419326782, -0.0499577671289444, 0.09869305044412613, -0.16654282808303833, -0.01512075588107109, 0.15008747577667236, 0.1266099512577057, -0.07910476624965668, 0.1423409879207611, 0.21736681461334229, 0.0700724795460701, -0.07240782678127289, 0.2663634121417999, 0.025061175227165222, 0.22014042735099792, 0.04065588861703873, 0.08636224269866943, 0.040479812771081924, 0.2352677434682846, -0.040129173547029495, 0.24121788144111633, 0.03191857039928436, -0.3347863256931305, 0.17510566115379333, 0.13108684122562408, -0.11635005474090576, 0.29992005228996277, 0.048780255019664764, 0.050584085285663605, -0.25230997800827026, 0.3292258083820343, 0.5405411720275879, 0.1566585898399353, 0.0659136176109314, 0.06420127302408218, 0.02218298241496086, 0.4063208997249603, -0.35632169246673584, 0.07018240541219711, 0.4780196249485016, -0.026684869080781937, 0.31587377190589905, 0.059234827756881714, 0.2906438410282135, -0.18211007118225098, -0.09885203838348389, 0.09753400087356567, 0.427435964345932, -0.307431697845459, 0.20886406302452087, 0.14451365172863007, -0.21930058300495148, -0.1886884868144989, 0.24249553680419922, -0.010762866586446762, 0.16711075603961945, 0.330984890460968, 0.10992558300495148, 0.483264684677124, 0.09669555723667145, 0.20686540007591248, 0.3151312470436096, 0.09045706689357758, 0.12073573470115662, -0.09337420761585236, -0.39187338948249817, -0.03797578811645508, -0.2513262629508972, 0.4461376368999481, -0.39984530210494995, -0.10511976480484009, -0.483005166053772, 0.017383089289069176, -0.22052836418151855, -0.14045347273349762, -0.5591303706169128, -0.14380712807178497, -0.13118460774421692, -0.22292667627334595, 0.3023914694786072, 0.19436635076999664, 0.28259843587875366, -0.074525848031044, -0.13496695458889008, 0.2879364490509033, 0.17625835537910461, 0.022229136899113655, 0.3296240568161011, -0.33295416831970215, 0.02112215757369995, 0.2175765037536621, -0.058801546692848206, 0.0628456175327301, 0.37750738859176636, 0.35466131567955017, 0.18921266496181488, -0.32402870059013367, -0.12996262311935425, 0.06524708867073059, -0.08491654694080353, -0.11664073914289474, 0.06436601281166077, 0.0481548011302948, 0.09902812540531158, 0.35940197110176086, 0.32090234756469727, -0.1953962743282318, 0.03782225772738457, 0.20753732323646545, -0.13247288763523102, -0.05160142853856087, 0.09308083355426788, 0.2832982540130615, -0.29012271761894226, -0.10942205786705017, 0.030654937028884888, -0.309045672416687, -0.1507638394832611, 0.034962207078933716, -0.2287966012954712, 0.0377124585211277, -0.3490893840789795, 0.1453879028558731, -0.015900228172540665, 0.556379497051239, -0.15099038183689117, 0.003760881721973419, -0.19272159039974213, -0.2192835956811905, -0.14040124416351318, 0.1912226676940918, 0.019784631207585335, -0.32870641350746155, -0.16608141362667084, 0.35211655497550964, 0.011485204100608826, -0.02762560546398163, 0.20424805581569672, -0.10576553642749786, 0.19427897036075592, 0.3492736518383026, -0.39058586955070496, 0.20101197063922882, -0.052976250648498535, 0.08756028115749359, 0.31084883213043213, -0.19694271683692932, 0.05029519647359848, 0.007462632842361927, 0.15096929669380188, 0.23384316265583038, 0.12098085880279541, 0.5130823850631714, 0.036943040788173676, 0.022027533501386642, 0.0516362190246582, 0.37916502356529236, -0.09168484807014465, 0.2133651226758957, -0.46062082052230835, -0.13762617111206055, -0.4643515348434448, -0.02917543798685074, 0.2236739695072174, 0.06527215242385864, -0.10467793047428131, -0.4868979752063751, -0.04322507977485657, 0.21206045150756836, 0.3159756660461426, -0.15200747549533844, 0.18229229748249054, 0.2907726764678955, 0.14106819033622742, -0.20599108934402466, 0.3150840997695923, 0.296464204788208, -0.10355532169342041, -0.12220610678195953, -0.12787725031375885, -0.545393705368042, 0.11886130273342133, -0.2343052625656128, -0.12134844064712524, -0.40476542711257935, 0.4668571650981903, 0.2482733428478241, 0.28154227137565613, -0.01965206116437912, 0.06845032423734665, 0.10510023683309555, 0.05204113572835922, -0.04629598557949066, 0.28246405720710754, 0.12466493248939514, -0.31199774146080017, 0.03078429028391838, 0.3902322053909302, 0.17879194021224976, -0.10133752226829529, -0.14663292467594147, -0.28086620569229126 ]
https://github.com/huggingface/datasets/pull/1930
updated the wino_bias dataset
> Cool thanks ! > This looks perfect this way. > > Now we just need to update the dataset_infos.json (it contains the metadata of the dataset) and add dummy data to be able to test this script automatically. > > To update the dataset_infos.json you just need delete the current one at `./datasets/wino_biais/dataset_infos.json`, and then run this command: > > ``` > datasets-cli test ./datasets/wino_biais --save_infos --all_configs --ignore_verifications > ``` > > To add the dummy data there's also a tool to add them automatically. > First delete the folder at `./datasets/wino_biais/dummy` and then run > > ``` > datasets-cli dummy_data ./datasets/wino_biais --auto_generate --match_text_files "*conll" --n_lines 15 > ``` > > Let me know if you have questions :) > Also don't forget to run `make style` to format the code properly. Thanks for the instruction! I've updated the metadata and the dummy data and also do the formatting. Please let me know if more is needed. :)
Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features
159
text: updated the wino_bias dataset Updated the wino_bias.py script. - updated the data_url - added different configurations for different data splits - added the coreference_cluster to the data features > Cool thanks ! > This looks perfect this way. > > Now we just need to update the dataset_infos.json (it contains the metadata of the dataset) and add dummy data to be able to test this script automatically. > > To update the dataset_infos.json you just need delete the current one at `./datasets/wino_biais/dataset_infos.json`, and then run this command: > > ``` > datasets-cli test ./datasets/wino_biais --save_infos --all_configs --ignore_verifications > ``` > > To add the dummy data there's also a tool to add them automatically. > First delete the folder at `./datasets/wino_biais/dummy` and then run > > ``` > datasets-cli dummy_data ./datasets/wino_biais --auto_generate --match_text_files "*conll" --n_lines 15 > ``` > > Let me know if you have questions :) > Also don't forget to run `make style` to format the code properly. Thanks for the instruction! I've updated the metadata and the dummy data and also do the formatting. Please let me know if more is needed. :)
[ -0.64705491065979, -0.037797629833221436, -0.1496802270412445, -0.012415856122970581, -0.12766127288341522, -0.10487066209316254, 0.1979462057352066, 0.27496665716171265, 0.23835381865501404, 0.08860699087381363, -0.1287514865398407, 0.40387552976608276, 0.0571586899459362, 0.25090476870536804, 0.006966027431190014, -0.19689014554023743, -0.019587069749832153, 0.3914114236831665, 0.0013251155614852905, -0.11559532582759857, -0.2092633843421936, 0.04286825656890869, -0.14315655827522278, 0.017689324915409088, -0.12104158848524094, -0.20681588351726532, -0.43089279532432556, 0.36241674423217773, -0.3922158181667328, -0.3458314836025238, 0.058832816779613495, 0.5389793515205383, -0.10494466871023178, 0.3261277675628662, -0.00010228486644336954, -0.27582839131355286, 0.14329743385314941, 0.00629195012152195, -0.036159858107566833, 0.2289159893989563, -0.0230355653911829, -0.0062295421957969666, -0.21092528104782104, -0.36130595207214355, -0.25902920961380005, -0.1807202696800232, -0.08629939705133438, -0.005912318825721741, 0.2638339698314667, 0.3955850899219513, 0.22916029393672943, 0.3995387852191925, 0.14160656929016113, -0.18870118260383606, 0.3465234041213989, 0.11279001832008362, -0.19907940924167633, 0.14898304641246796, 0.2639732360839844, -0.19967186450958252, -0.10844100266695023, 0.30429956316947937, -0.059931352734565735, -0.03936966136097908, 0.10082682967185974, -0.018916219472885132, 0.27669793367385864, -0.10829909145832062, -0.08489731699228287, 0.06335560977458954, 0.025127694010734558, -0.19166195392608643, -0.3077508509159088, -0.08382419496774673, -0.008185185492038727, -0.74045330286026, -0.11326580494642258, 0.07595089077949524, 0.037149254232645035, -0.054842475801706314, 0.06201447173953056, -0.08542153984308243, -0.2981153726577759, 0.02291122078895569, 0.031707294285297394, 0.45077553391456604, 0.007837860845029354, -0.014851979911327362, 0.14027714729309082, 0.061567485332489014, 0.2025924175977707, -0.12726429104804993, -0.3594866096973419, 0.04360339418053627, -0.2050066441297531, -0.31842052936553955, -0.029426172375679016, 0.6322743892669678, 0.26279446482658386, 0.10020140558481216, -0.04846973717212677, 0.1326598823070526, -0.1172473207116127, 0.002255663275718689, 0.09567034244537354, 0.18107657134532928, 0.08963315933942795, -0.009500828571617603, 0.0037184208631515503, 0.04015008360147476, -0.07046092301607132, 0.12338288873434067, 0.12038962543010712, -0.4115678369998932, -0.05762149393558502, 0.14650645852088928, 0.3078101873397827, -0.05264279246330261, -0.32194823026657104, -0.1868412345647812, 0.33870819211006165, -0.1502549797296524, 0.06728105992078781, 0.19886131584644318, -0.09735032916069031, 0.07090247422456741, 0.025306977331638336, 0.29941684007644653, -0.5189311504364014, -0.1822819709777832, -0.24175117909908295, 0.3383033275604248, -0.24120843410491943, -0.09597542881965637, 0.2949846088886261, 0.0430765300989151, 0.27472496032714844, -0.05731341615319252, -0.026325978338718414, 0.026219405233860016, 0.14781454205513, 0.04145240783691406, 0.25833162665367126, -0.060434792190790176, 0.09992240369319916, -0.12270663678646088, 0.08119487762451172, -0.08638879656791687, -0.20886150002479553, 0.08038945496082306, -0.004897803068161011, -0.16028539836406708, -0.0035074707120656967, 0.2502070665359497, -0.2856755256652832, -0.22067910432815552, 0.10374360531568527, 0.30199575424194336, -0.09123622626066208, -0.08411230891942978, 0.10142000764608383, -0.16396988928318024, -0.2884981334209442, -0.039945974946022034, 0.39602479338645935, 0.5395235419273376, -0.37251248955726624, 0.18851971626281738, -0.03751872107386589, -0.24209237098693848, 0.02016828954219818, -0.20297260582447052, 0.11813122779130936, 0.15435555577278137, -0.1535624861717224, -0.05626760423183441, 0.10280440002679825, -0.28468939661979675, -0.22743088006973267, -0.07821094244718552, -0.14405588805675507, -0.24151581525802612, 0.19856570661067963, 0.1738487333059311, 0.10884027183055878, 0.02002030238509178, -0.038995422422885895, 0.22626464068889618, -0.22649088501930237, 0.12702573835849762, -0.286126047372818, -0.1615639328956604, 0.072111114859581, 0.26513296365737915, 0.17120951414108276, -0.08840835839509964, -0.017802946269512177, -0.07023200392723083, 0.4136524200439453, -0.09068381786346436, 0.14213107526302338, -0.20530904829502106, 0.3242000937461853, -0.20662622153759003, 0.12128996849060059, -0.30814042687416077, -0.07652986794710159, 0.09567325562238693, -0.1241690143942833, 0.27698594331741333, 0.30440008640289307, -0.2644787132740021, -0.39606598019599915, 0.03645320236682892, -0.250652551651001, -0.042182791978120804, 0.30441129207611084, 0.08512665331363678, 0.2522508203983307, -0.1826951950788498, -0.04625215381383896, 0.03953719511628151, -0.15322265028953552, 0.12195409089326859, -0.05692936107516289, 0.2753073573112488, -0.23140577971935272, -0.20340633392333984, 0.23067334294319153, 0.3463164269924164, 0.07323110848665237, -0.22053611278533936, 0.015423712320625782, 0.4803147315979004, -0.006286479998379946, 0.24248315393924713, 0.3259340822696686, 0.11231053620576859, 0.20408254861831665, -0.2204028069972992, 0.2846897840499878, -0.011150266975164413, -0.04740793630480766, 0.0007307752966880798, -0.0732838585972786, 0.3532693684101105, -0.2569080591201782, 0.04399652034044266, -0.11472230404615402, -0.036064714193344116, 0.20175419747829437, -0.2797437310218811, -0.1660671830177307, -0.1354120671749115, 0.032314397394657135, -0.17881616950035095, -0.26408880949020386, -0.24793322384357452, -0.13877150416374207, 0.47847461700439453, 0.38150933384895325, 0.030837800353765488, -0.0018985271453857422, -0.15605759620666504, -0.1802872121334076, 0.008615057915449142, -0.24873101711273193, 0.08574256300926208, 0.3670217990875244, 0.22925826907157898, 0.055700287222862244, 0.16462594270706177, 0.02280478924512863, 0.04663197696208954, 0.37906718254089355, 0.16615279018878937, -0.1804848462343216, 0.08485320210456848, -0.13565246760845184, -0.09000028669834137, -0.25590643286705017, -0.22240863740444183, -0.10934983938932419, 0.26350530982017517, -0.06854517757892609, -0.18878233432769775, 0.24994689226150513, -0.026335541158914566, -0.11617359519004822, -0.1516927033662796, 0.00830552913248539, -0.12829217314720154, 0.28619062900543213, 0.22703152894973755, -0.1278190016746521, 0.37955740094184875, -0.10195977985858917, 0.6763551235198975, 0.2228192538022995, 0.13840708136558533, -0.0401621088385582, -0.13215671479701996, -0.048992834985256195, 0.17855000495910645, 0.03294000402092934, 0.0789121463894844, 0.47018536925315857, -0.2940831482410431, 0.2782737612724304, -0.17211754620075226, -0.12224914133548737, 0.021522700786590576, -0.11889755725860596, 0.30682075023651123, 0.21790440380573273, 0.16549819707870483, 0.12099099159240723, -0.2984732687473297, 0.12736442685127258, -0.5066704750061035, -0.14057667553424835, -0.14160874485969543, -0.01986907236278057, -0.11297768354415894, -0.33514201641082764, -0.45761099457740784, -0.1707601696252823, -0.34610050916671753, 0.059107884764671326, 0.2648319602012634, 0.15852870047092438, -0.057341404259204865, 0.20065054297447205, 0.080750972032547, 0.10792776197195053, -0.11483602225780487, -0.18227604031562805, -0.2891181409358978, 0.2813817858695984, -0.5197794437408447, -0.2201569825410843, 0.1154664158821106, -0.2286449819803238, 0.2531673312187195, -0.35362708568573, -0.153250589966774, -0.1384536474943161, -0.18324404954910278, 0.07871167361736298, 0.09617254883050919, 0.39732611179351807, 0.46853530406951904, 0.12145804613828659, -0.19357065856456757, -0.11173439025878906, -0.13705265522003174, -0.04114890843629837, -0.15459784865379333, 0.06346231698989868, -0.10255774110555649, -0.15975850820541382, -0.1918337345123291, 0.4237188696861267, 0.15403321385383606, -0.3897441625595093, 0.10977934300899506, -0.12970609962940216, 0.30408692359924316, 0.05984455347061157, -0.39965876936912537, 0.1354140192270279, 0.06023158133029938, 0.11592470109462738, 0.4983745217323303, -0.07537008821964264, -0.22739842534065247, -0.17405973374843597, -0.12908755242824554, -0.365649938583374, -0.2687368392944336, 0.1026916578412056, -0.1554017812013626, 0.06274312734603882, -0.029521923512220383, 0.07949674874544144, -0.2884345054626465, -0.18596982955932617, 0.10286428034305573, 0.1737542748451233, 0.06075747683644295, -0.19514040648937225, -0.33777573704719543, -0.04943282902240753, -0.3484286367893219, 0.2303663194179535, -0.3484152853488922, -0.2391415238380432, 0.13686859607696533, -0.06230437755584717, -0.11079460382461548, -0.3346090018749237, 0.4115363359451294, -0.37595126032829285, 0.3001161217689514, 0.23933559656143188, 0.25351575016975403, 0.051753930747509, -0.05022247135639191, -0.456094354391098, 0.3577628433704376, 0.285859078168869, 0.32966017723083496, -0.19827276468276978, -0.23133373260498047, 0.4817301332950592, 0.104392871260643, -0.22341759502887726, -0.24963833391666412, -0.025813501328229904, -0.05210604891180992, -0.06791599839925766, 0.42310279607772827, 0.0401638001203537, 0.1507512629032135, -0.5429888367652893, 0.08149927854537964, 0.014973845332860947, 0.12524834275245667, 0.17311905324459076, 0.16480620205402374, 0.2568698525428772, 0.38254016637802124, 0.07803210616111755, 0.07948391139507294, 0.08953186869621277, -0.0092591792345047, 0.24251094460487366, 0.08762234449386597, 0.1789209544658661, -0.2017841339111328, -0.1252296268939972, 0.32543328404426575, 0.21356594562530518, 0.1862654685974121, -0.23980656266212463, -0.12290649116039276, 0.1732265055179596, -0.4911072254180908, 0.24003618955612183, 0.19144517183303833, 0.025376591831445694, 0.07134652137756348, -0.2730456590652466, 0.18691737949848175, -0.0811634287238121, -0.2568647265434265, 0.19102810323238373, 0.4629809856414795, -0.3197574019432068, 0.5386127233505249, 0.1050068810582161, 0.930705189704895, 0.20355726778507233, 0.16734236478805542, 0.13672542572021484, -0.17385366559028625, 0.5086032152175903, -0.15120071172714233, 0.09549512714147568, -0.33550742268562317, -0.12074267864227295, 0.12193450331687927, -0.11890387535095215, 0.13283954560756683, 0.10949145257472992, -0.6045461297035217, -0.0414491668343544, -0.07602962851524353, -0.159441277384758, -0.05319489538669586, 0.2948244512081146, 0.07462666928768158, -0.2058354765176773, 0.18327713012695312, 0.21204447746276855, 0.016480185091495514, -0.04741271212697029, -0.062020204961299896, -0.03448179364204407, 0.004543133080005646, -0.1303035020828247, -0.17668168246746063, 0.17517387866973877, -0.15805503726005554, -0.21421051025390625, -0.3523816168308258, 0.10803984105587006, 0.2415962517261505, 0.15458355844020844, 0.5722646117210388, 0.2887161672115326, -0.03171300143003464, 0.22153671085834503, 0.25735872983932495, -0.07021740078926086, 0.08102892339229584, -0.0734727680683136, 0.18379147350788116, -0.08757133781909943, -0.5106617212295532, -0.0415194034576416, -0.09728331118822098, -0.09768117219209671, -0.17572343349456787, -0.23856501281261444, -0.058839842677116394, -0.2883225083351135, -0.06725301593542099, 0.2467871457338333, -0.17355959117412567, -0.16580501198768616, 0.21274961531162262, 0.2559254765510559, -0.5142385959625244, 0.4272311329841614, 0.059764277189970016, -0.11861267685890198, -0.014099355787038803, 0.058167118579149246, -0.09767995029687881, -0.0921996608376503, 0.2821487784385681, 0.07110074162483215, 0.11094909906387329, -0.460165798664093, -0.27998486161231995, 0.2540590465068817, -0.10903274267911911, -0.3129326403141022, 0.04009001702070236, -0.1402142196893692, 0.24773845076560974, 0.18149174749851227, 0.22326132655143738, 0.40116992592811584, 0.11029073596000671, -0.37645676732063293, -0.22783702611923218, -0.09306713938713074, 0.1897154003381729, 0.43060600757598877, -0.02268141508102417, -0.07270489633083344, 0.0017784368246793747, 0.2760964632034302, -0.4989997446537018, -0.06664098799228668, 0.11687669903039932, 0.13496807217597961, -0.0409284383058548, -0.15274366736412048, 0.010184556245803833, -0.015334036201238632, 0.21752755343914032, -0.12829887866973877, -0.24908456206321716, -0.32748278975486755, -0.16158495843410492, 0.10583512485027313, -0.09948564320802689, -0.19982688128948212, 0.10926119983196259, 0.00999700278043747, -0.07565456628799438, 0.023357804864645004, 0.09353148937225342, -0.05924278497695923, -0.11252860724925995, 0.26745209097862244, -0.14912477135658264, 0.16390258073806763, 0.1560639590024948, -0.07752089202404022, 0.11166176199913025, 0.22046461701393127, -0.015305045992136002, 0.4605914354324341, -0.13433746993541718, -0.37180811166763306, 0.312339186668396, 0.1873181313276291, 0.00466388463973999, 0.4751463830471039, 0.03762216120958328, -0.013849228620529175, -0.15431851148605347, 0.28184574842453003, 0.6254671812057495, 0.31475597620010376, 0.05901876837015152, 0.05019523948431015, -0.0018761884421110153, 0.42093324661254883, -0.3945213854312897, 0.16614647209644318, 0.46359312534332275, -0.07253424823284149, 0.41353219747543335, 0.12136147916316986, 0.16318708658218384, -0.20235306024551392, -0.16447396576404572, 0.1671927571296692, 0.4191936254501343, -0.26513969898223877, 0.11377207934856415, 0.107534259557724, -0.21728123724460602, -0.2099376767873764, 0.11024896055459976, 0.2904227077960968, 0.1358569860458374, 0.4222182631492615, 0.13266754150390625, 0.5400298237800598, 0.11740853637456894, 0.2393035888671875, 0.1632308065891266, 0.2019118368625641, 0.10863815248012543, -0.1205417811870575, -0.15787464380264282, 0.06998760998249054, -0.025361426174640656, 0.3661034405231476, -0.27343079447746277, -0.3003465533256531, -0.3931829333305359, -0.0657174289226532, -0.017563581466674805, -0.09872595965862274, -0.6715310215950012, -0.19398579001426697, -0.015479732304811478, -0.36826634407043457, 0.2770978808403015, 0.08876768499612808, 0.2340640425682068, -0.09962695837020874, -0.04550245404243469, 0.13041310012340546, 0.16559851169586182, 0.1432805061340332, 0.3136594891548157, -0.298369824886322, -0.06980010122060776, 0.33214011788368225, -0.0023148581385612488, -0.132038414478302, 0.45135927200317383, 0.27822181582450867, 0.2418576329946518, -0.405640572309494, 0.12667584419250488, -0.24227000772953033, -0.1582307368516922, -0.14713172614574432, -0.006958361715078354, 0.046934161335229874, -0.05236593261361122, 0.34748175740242004, 0.2875221371650696, -0.17857909202575684, 0.08171750605106354, 0.21233198046684265, -0.2212887406349182, 0.08240710198879242, -0.042864955961704254, 0.4113749861717224, -0.27476003766059875, -0.14661484956741333, -0.042537786066532135, -0.3833875358104706, -0.27364611625671387, 0.2881380617618561, -0.07823818176984787, 0.0804583802819252, -0.35668647289276123, 0.14092974364757538, 0.05972248315811157, 0.4525255262851715, 0.05752662196755409, 0.26507294178009033, -0.2653886675834656, -0.10768589377403259, -0.42312872409820557, 0.050978537648916245, 0.17046061158180237, -0.22101815044879913, -0.25064027309417725, 0.25430911779403687, 0.05964687466621399, -0.10949200391769409, 0.059551842510700226, -0.15927693247795105, 0.12806476652622223, 0.22460973262786865, -0.5336437225341797, 0.1014612689614296, -0.22412915527820587, 0.1842893362045288, 0.3159855604171753, -0.18869686126708984, -0.10142028331756592, -0.08584533631801605, 0.1580095887184143, 0.15969373285770416, 0.050999127328395844, 0.252975732088089, 0.02091306634247303, 0.13259828090667725, 0.10666396468877792, 0.3414773941040039, -0.16008958220481873, 0.11675737053155899, -0.5002565383911133, 0.05590793490409851, -0.4709063768386841, 0.05506134405732155, 0.24985136091709137, 0.2171316146850586, -0.10806522518396378, -0.3837939202785492, -0.06718499958515167, 0.024207759648561478, 0.23027484118938446, -0.40486466884613037, 0.006941989064216614, 0.3071620762348175, 0.1197272315621376, 0.018429726362228394, 0.043293070048093796, 0.30464857816696167, -0.14890022575855255, 0.10321450978517532, -0.04314682260155678, -0.2917174696922302, 0.35496848821640015, -0.28696995973587036, -0.1550481766462326, -0.2896709144115448, 0.4526572525501251, 0.21081063151359558, 0.20085081458091736, 0.02020343393087387, 0.21602770686149597, 0.08812572062015533, 0.00903923250734806, -0.11143644154071808, 0.2431587129831314, -0.07149490714073181, -0.2079283446073532, -0.05638080835342407, 0.3047115206718445, 0.11625126004219055, 0.037697933614254, -0.14494018256664276, -0.31319373846054077 ]
https://github.com/huggingface/datasets/pull/1925
Fix: Wiki_dpr - fix when with_embeddings is False or index_name is "no_index"
Hi @lhoestq , I am running into an issue now when trying to run RAG. Running exactly as described [here](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage) I get the error below. Wondering if it's related to this. Running Transformers 4.3.2 with datasets installed from source from `master` branch. ```bash (venv) sergey_mkrtchyan datasets (master) $ python Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration >>> tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq") >>> retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True) Using custom data configuration dummy.psgs_w100.nq.no_index-dummy=True,with_index=False Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.no_index-dummy=True,with_index=False/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) Using custom data configuration dummy.psgs_w100.nq.exact-50b6cda57ff32ab4 Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.exact-50b6cda57ff32ab4/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) 0%| | 0/10 [00:00<?, ?it/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 425, in from_pretrained return cls( File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 387, in __init__ self.init_retrieval() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 458, in init_retrieval self.index.init_index() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 284, in init_index self.dataset = load_dataset( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/load.py", line 750, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 734, in as_dataset datasets = utils.map_nested( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/utils/py_utils.py", line 195, in map_nested return function(data_struct) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 769, in _build_single_dataset post_processed = self._post_process(ds, resources_paths) File "/Users/sergey_mkrtchyan/.cache/huggingface/modules/datasets_modules/datasets/wiki_dpr/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb/wiki_dpr.py", line 205, in _post_process dataset.add_faiss_index("embeddings", custom_index=index) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/arrow_dataset.py", line 2516, in add_faiss_index super().add_faiss_index( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 416, in add_faiss_index faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=faiss_verbose) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 281, in add_vectors self.faiss_index.add(vecs) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/__init__.py", line 104, in replacement_add self.add_c(n, swig_ptr(x)) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/swigfaiss.py", line 3263, in add return _swigfaiss.IndexHNSW_add(self, n, x) RuntimeError: Error in virtual void faiss::IndexHNSW::add(faiss::Index::idx_t, const float *) at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexHNSW.cpp:356: Error: 'is_trained' failed >>> ``` The error message is hinting that it could be related to this, but I might be wrong. Any ideas? Edit: Can confirm it's working fine with datasets==1.2.0 Double Edit: Did some further digging. The issue is related to this commit: 8c5220307c33f00e01c3bf7b8. I opened a separate issue #1941 for proper tracking.
Fix the bugs noticed in #1915 There was a bug when `with_embeddings=False` where the configuration name was the same as if `with_embeddings=True`, which led the dataset builder to do bad verifications (for example it used to expect to download the embeddings for `with_embeddings=False`). Another issue was that setting `index_name="no_index"` didn't set `with_index` to False. I fixed both of them and added dummy data for those configurations for testing.
306
text: Fix: Wiki_dpr - fix when with_embeddings is False or index_name is "no_index" Fix the bugs noticed in #1915 There was a bug when `with_embeddings=False` where the configuration name was the same as if `with_embeddings=True`, which led the dataset builder to do bad verifications (for example it used to expect to download the embeddings for `with_embeddings=False`). Another issue was that setting `index_name="no_index"` didn't set `with_index` to False. I fixed both of them and added dummy data for those configurations for testing. Hi @lhoestq , I am running into an issue now when trying to run RAG. Running exactly as described [here](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage) I get the error below. Wondering if it's related to this. Running Transformers 4.3.2 with datasets installed from source from `master` branch. ```bash (venv) sergey_mkrtchyan datasets (master) $ python Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration >>> tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq") >>> retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True) Using custom data configuration dummy.psgs_w100.nq.no_index-dummy=True,with_index=False Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.no_index-dummy=True,with_index=False/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) Using custom data configuration dummy.psgs_w100.nq.exact-50b6cda57ff32ab4 Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.exact-50b6cda57ff32ab4/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) 0%| | 0/10 [00:00<?, ?it/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 425, in from_pretrained return cls( File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 387, in __init__ self.init_retrieval() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 458, in init_retrieval self.index.init_index() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 284, in init_index self.dataset = load_dataset( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/load.py", line 750, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 734, in as_dataset datasets = utils.map_nested( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/utils/py_utils.py", line 195, in map_nested return function(data_struct) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 769, in _build_single_dataset post_processed = self._post_process(ds, resources_paths) File "/Users/sergey_mkrtchyan/.cache/huggingface/modules/datasets_modules/datasets/wiki_dpr/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb/wiki_dpr.py", line 205, in _post_process dataset.add_faiss_index("embeddings", custom_index=index) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/arrow_dataset.py", line 2516, in add_faiss_index super().add_faiss_index( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 416, in add_faiss_index faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=faiss_verbose) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 281, in add_vectors self.faiss_index.add(vecs) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/__init__.py", line 104, in replacement_add self.add_c(n, swig_ptr(x)) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/swigfaiss.py", line 3263, in add return _swigfaiss.IndexHNSW_add(self, n, x) RuntimeError: Error in virtual void faiss::IndexHNSW::add(faiss::Index::idx_t, const float *) at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexHNSW.cpp:356: Error: 'is_trained' failed >>> ``` The error message is hinting that it could be related to this, but I might be wrong. Any ideas? Edit: Can confirm it's working fine with datasets==1.2.0 Double Edit: Did some further digging. The issue is related to this commit: 8c5220307c33f00e01c3bf7b8. I opened a separate issue #1941 for proper tracking.
[ -0.21176326274871826, -0.1455526500940323, 0.04729792848229408, 0.11182264983654022, 0.3186517357826233, 0.17378464341163635, 0.4269326627254486, 0.33086830377578735, -0.05577880144119263, 0.020337529480457306, 0.04899083077907562, 0.08294664323329926, 0.014534370973706245, -0.19262531399726868, -0.10636824369430542, -0.12332195043563843, 0.17395034432411194, 0.23102422058582306, 0.07590184360742569, 0.08903482556343079, -0.18162375688552856, 0.11834128946065903, -0.4712420701980591, 0.09432479739189148, -0.617138683795929, 0.04096052795648575, 0.042585112154483795, 0.045569270849227905, -0.17895057797431946, -0.6797157526016235, 0.4999276399612427, -0.13239522278308868, 0.2073693722486496, 0.18067722022533417, -0.00011498762614792213, 0.23685495555400848, 0.47252774238586426, -0.1372104436159134, -0.11129112541675568, 0.07278891652822495, 0.22684207558631897, -0.07788927108049393, -0.06281660497188568, -0.2218359410762787, 0.048150449991226196, -0.33673375844955444, 0.10173801332712173, 0.19155848026275635, 0.1990601122379303, 0.2500309646129608, 0.15253715217113495, 0.24525079131126404, 0.00014366209506988525, -0.30864742398262024, 0.37262505292892456, -0.16131962835788727, -0.16569213569164276, 0.17022942006587982, -0.07089149951934814, -0.17034275829792023, -0.19061407446861267, 0.30998989939689636, -0.09811961650848389, 0.13965147733688354, 0.17267999053001404, -0.040130846202373505, 0.10415628552436829, -0.04450718313455582, 0.11816361546516418, 0.13922208547592163, 0.6990882754325867, -0.24862194061279297, -0.17694705724716187, 0.02485497295856476, -0.05072132125496864, 0.1715807020664215, 0.49196407198905945, -0.21738062798976898, -0.026477038860321045, 0.1797368973493576, -0.16514211893081665, 0.03427504748106003, 0.01975513994693756, 0.11728599667549133, -0.15548309683799744, 0.5180000066757202, 0.10219532251358032, 0.13867752254009247, -0.09457224607467651, -0.1546289026737213, 0.10526158660650253, -0.027589451521635056, -0.15225283801555634, 0.01444734912365675, -0.29317572712898254, -0.15076695382595062, -0.04391559213399887, -0.08341079205274582, 0.0697331428527832, 0.252958208322525, -0.36813223361968994, -0.04016415774822235, 0.2779047191143036, 0.13940241932868958, 0.11564473807811737, 0.16471557319164276, -0.28254806995391846, 0.5833102464675903, 0.42820388078689575, 0.22976692020893097, -0.05562447011470795, -0.038642168045043945, -0.02466021105647087, -0.3334839940071106, -0.1424582451581955, -0.09353562444448471, 0.06778710335493088, -0.009104188531637192, -0.22592172026634216, 0.18739192187786102, -0.40530282258987427, -0.0268119964748621, -0.0760587677359581, 0.4347372055053711, 0.07647691667079926, 0.11427336931228638, 0.26583439111709595, 0.1547888070344925, -0.06010621041059494, 0.13785488903522491, -0.06855286657810211, -0.10723868012428284, -0.2777860164642334, -0.2025364637374878, 0.24547238647937775, -0.04518250748515129, 0.4355715811252594, 0.05978836119174957, 0.22653186321258545, 0.17640596628189087, -0.00006417185068130493, -0.0576423741877079, 0.24993765354156494, 0.4495530128479004, -0.2106814682483673, 0.1395755112171173, 0.3303506076335907, -0.20535244047641754, -0.09161659330129623, 0.0788024514913559, -0.048954904079437256, -0.479413777589798, 0.018780896440148354, 0.17146247625350952, -0.1492047756910324, 0.08609016984701157, 0.34789368510246277, -0.0708606094121933, 0.21433688700199127, -0.3783300817012787, 0.19067397713661194, -0.09785370528697968, -0.3533288836479187, -0.12482576072216034, 0.20510567724704742, 0.3619837164878845, -0.5362797379493713, -0.19221337139606476, -0.033772148191928864, -0.06731162965297699, 0.01372615247964859, 0.10550296306610107, -0.3279987871646881, 0.3861882984638214, -0.44962823390960693, 0.18977029621601105, 0.1478753685951233, -0.37518543004989624, -0.513132631778717, 0.09323031455278397, 0.10811913013458252, 0.19850441813468933, 0.007846377789974213, 0.008864329196512699, 0.28301355242729187, -0.08916416019201279, -0.026231952011585236, 0.12275008112192154, 0.11127776652574539, -0.004895053803920746, -0.30945146083831787, -0.4038003087043762, 0.4421035647392273, 0.17059996724128723, 0.23319390416145325, 0.01100863516330719, -0.19209083914756775, 0.36767497658729553, 0.12790699303150177, -0.1398322731256485, 0.1478099226951599, 0.022223182022571564, 0.17752830684185028, 0.09386815875768661, 0.3827354907989502, -0.10718217492103577, -0.2753463089466095, 0.27527233958244324, -0.26461100578308105, 0.45365625619888306, 0.09255429357290268, -0.12953805923461914, -0.3926554024219513, -0.044861458241939545, -0.26449277997016907, -0.4486582279205322, 0.14289729297161102, 0.22483320534229279, 0.03133291006088257, -0.09824253618717194, -0.30786654353141785, -0.10205898433923721, -0.246498703956604, 0.1739751547574997, -0.1389363706111908, 0.3423352837562561, -0.38344576954841614, -0.12338384985923767, -0.04189865291118622, 0.09333188831806183, 0.1725807636976242, 0.061495184898376465, -0.01149260625243187, 0.26085445284843445, 0.030872546136379242, -0.24592198431491852, 0.09149026870727539, 0.06907544285058975, 0.09954548627138138, -0.561839759349823, -0.008141720667481422, 0.5569844841957092, 0.12078744173049927, -0.05040641501545906, -0.07999549061059952, 0.2170942723751068, -0.04930216446518898, 0.16646143794059753, -0.3041890859603882, 0.1918167620897293, 0.2194136083126068, -0.1847027689218521, -0.06946451961994171, -0.1627604067325592, 0.05150838941335678, 0.2543247640132904, 0.043473098427057266, -0.20565231144428253, 0.18510538339614868, -0.17646706104278564, 0.0991920530796051, 0.014883775264024734, -0.01936708390712738, 0.03747274726629257, -0.02047768235206604, -0.03186599165201187, 0.04714008793234825, -0.16177572309970856, 0.3877469301223755, 0.03605495020747185, -0.20466303825378418, 0.1519186943769455, -0.1015193834900856, -0.14480122923851013, 0.37141045928001404, 0.1544235199689865, -0.14017973840236664, 0.5576630234718323, 0.22269153594970703, 0.11750980466604233, -0.265238881111145, 0.018965627998113632, 0.178663432598114, 0.17158077657222748, -0.37203386425971985, 0.06049880385398865, -0.12525223195552826, 0.12223384529352188, -0.0685088038444519, -0.12702229619026184, -0.5041021108627319, -0.38677316904067993, 0.3232828378677368, -0.22983601689338684, -0.24947954714298248, 0.6509650349617004, 0.07405886054039001, 0.14044523239135742, -0.021313602104783058, -0.1035202369093895, -0.18404339253902435, -0.21852034330368042, -0.37729018926620483, 0.0004792436957359314, 0.02421266958117485, 0.07393833249807358, 0.12276868522167206, 0.04985816031694412, -0.1652500480413437, -0.42454472184181213, -0.4100680947303772, 0.2342163771390915, -0.018550612032413483, 0.23442856967449188, 0.45167919993400574, 0.13442352414131165, -0.04569924622774124, -0.39066359400749207, 0.3349769115447998, -0.19782117009162903, -0.005310608074069023, -0.08989059925079346, 0.08600929379463196, 0.2447148710489273, -0.12741722166538239, -0.37875160574913025, -0.09711270034313202, -0.4187655746936798, -0.26017534732818604, -0.05134326219558716, 0.06035507097840309, 0.0380529947578907, 0.08087224513292313, 0.06503890454769135, 0.17163163423538208, -0.08414222300052643, -0.3555183708667755, 0.05067218467593193, 0.42212218046188354, -0.2054228037595749, -0.14733128249645233, 0.11131496727466583, -0.2550317049026489, -0.16751150786876678, 0.16506963968276978, -0.4113312363624573, -0.4197103977203369, -0.06206321716308594, 0.25235050916671753, 0.011460460722446442, 0.3485810160636902, 0.32377511262893677, 0.12641744315624237, -0.0584622323513031, -0.24049556255340576, -0.06369443237781525, 0.13271421194076538, -0.35507071018218994, 0.37656399607658386, 0.10006541758775711, 0.12770235538482666, -0.13911648094654083, 0.9027642011642456, 0.3652789294719696, 0.07147479802370071, 0.16410422325134277, -0.015097340568900108, 0.23455242812633514, -0.12277204543352127, -0.0008319132030010223, 0.16572998464107513, -0.11980599164962769, 0.026895280927419662, 0.23447516560554504, -0.18952393531799316, 0.030562907457351685, -0.03014323301613331, 0.18876774609088898, -0.041487693786621094, -0.2338646650314331, 0.1932060420513153, -0.05891769379377365, 0.31839293241500854, 0.07430082559585571, 0.26268625259399414, -0.07628214359283447, 0.07436757534742355, 0.39354193210601807, 0.09860528260469437, 0.003556758165359497, -0.09048859775066376, -0.2308947890996933, -0.16795037686824799, -0.1699097752571106, 0.19731828570365906, 0.14265434443950653, 0.3615860641002655, -0.05854465439915657, 0.04210146516561508, 0.050264663994312286, -0.008638929575681686, 0.7436684370040894, -0.7621584534645081, 0.10345180332660675, 0.24787700176239014, 0.14387501776218414, -0.09863714128732681, -0.42547130584716797, -0.18809658288955688, -0.2266838103532791, 0.2856423258781433, 0.44861486554145813, -0.4885839819908142, 0.17081467807292938, 0.5028311610221863, -0.16193366050720215, -0.1429164558649063, -0.23853494226932526, -0.3464721441268921, -0.13963505625724792, -0.3361567556858063, 0.025309212505817413, 0.13028478622436523, 0.2764812409877777, -0.056769438087940216, 0.39045315980911255, -0.37472471594810486, 0.1450498104095459, -0.045984089374542236, 0.1848001629114151, 0.2527346909046173, 0.07193762063980103, 0.08162829279899597, 0.26990360021591187, 0.0062308646738529205, 0.02317390777170658, 0.53324294090271, 0.04901372641324997, -0.3289949893951416, 0.030445711687207222, 0.2227620929479599, -0.013288356363773346, 0.35688909888267517, -0.031760137528181076, -0.09837927669286728, -0.09016752988100052, 0.1517210602760315, -0.33955827355384827, -0.22554069757461548, 0.19423970580101013, -0.136619433760643, -0.016838155686855316, -0.16294656693935394, 0.46558988094329834, -0.017887920141220093, 0.11056819558143616, 0.04526892676949501, 0.4647604823112488, -0.25815269351005554, 0.7485225200653076, 0.2699729800224304, 1.032505750656128, 0.30214792490005493, 0.004259802401065826, 0.2644413411617279, -0.2210415005683899, 0.40028560161590576, -0.5111486911773682, 0.2750319242477417, -0.46879276633262634, -0.1991346776485443, -0.11766522377729416, -0.1806478649377823, 0.16610503196716309, 0.2317611128091812, -0.5950384736061096, 0.07283113151788712, -0.14784789085388184, 0.46906909346580505, 0.022083941847085953, 0.13348042964935303, -0.05479495972394943, -0.10764917731285095, -0.1553144007921219, 0.07736843824386597, 0.0894576907157898, 0.3801444172859192, -0.16262295842170715, -0.0933910459280014, -0.10874281078577042, -0.3381379246711731, -0.5174907445907593, 0.07950376719236374, -0.16189813613891602, 0.2627449035644531, 0.5743699073791504, -0.06949232518672943, 0.32957693934440613, 0.13265442848205566, 0.49802935123443604, 0.23653501272201538, -0.2457725703716278, 0.41520488262176514, 0.08249099552631378, -0.15271098911762238, 0.09090562164783478, 0.05585814267396927, 0.2664667069911957, -0.015519369393587112, -0.42900368571281433, 0.08858723938465118, -0.3635624051094055, -0.02852506749331951, -0.02812369167804718, -0.053213343024253845, 0.13541759550571442, -0.47101065516471863, 0.07736653089523315, -0.019069842994213104, 0.04308104142546654, -0.27581095695495605, 0.1354513317346573, -0.25042957067489624, -0.24138537049293518, 0.041051484644412994, 0.03193292021751404, -0.01927345246076584, 0.16083501279354095, 0.38649529218673706, -0.12680664658546448, 0.12600237131118774, 0.5572172403335571, 0.001156933605670929, -0.3273254632949829, -0.06508439779281616, -0.2201608121395111, 0.24661560356616974, -0.5678560733795166, 0.09018304944038391, 0.04767525568604469, -0.41815972328186035, -0.12955063581466675, 0.3028983473777771, 0.22531594336032867, 0.28020012378692627, -0.29532691836357117, -0.3070756196975708, -0.2135559320449829, 0.14707034826278687, 0.1444929838180542, 0.34407666325569153, -0.1045512780547142, 0.0932484120130539, 0.07924073934555054, 0.1327313631772995, -0.28023990988731384, 0.017959430813789368, -0.5309022665023804, 0.3230893909931183, -0.49388471245765686, -0.45118096470832825, -0.06745324283838272, 0.08118477463722229, -0.023499637842178345, 0.27562084794044495, -0.2547641396522522, -0.08301271498203278, -0.21061785519123077, 0.2092360556125641, 0.16668421030044556, -0.326047420501709, -0.03494337573647499, 0.014511104673147202, -0.19303345680236816, -0.13796819746494293, 0.20587633550167084, 0.19673699140548706, -0.013381466269493103, 0.17174839973449707, 0.1916281282901764, -0.13127276301383972, -0.1840495765209198, -0.007506698369979858, 0.16235622763633728, 0.23377270996570587, 0.2659171223640442, 0.07445670664310455, -0.3896726071834564, -0.02249753102660179, 0.006070265546441078, 0.38975977897644043, 0.10032052546739578, 0.07393652200698853, 0.3550768494606018, -0.4047970175743103, -0.18547703325748444, 0.14072412252426147, 0.3867526650428772, 0.37865403294563293, -0.3313678801059723, -0.1874544322490692, 0.18857362866401672, 0.1136852279305458, -0.4697331190109253, -0.17023420333862305, 0.1706516593694687, -0.07016479969024658, 0.021486762911081314, -0.047103963792324066, 0.3181575834751129, -0.30707621574401855, 0.021509338170289993, 0.16619253158569336, 0.34435003995895386, -0.42147499322891235, 0.19225184619426727, 0.1389971226453781, -0.12722578644752502, 0.02096426486968994, 0.20436429977416992, -0.19698208570480347, 0.3538385033607483, 0.09311600029468536, -0.022561192512512207, 0.1515427529811859, 0.030491454526782036, 0.07831326127052307, 0.003966346383094788, -0.23939432203769684, 0.24546553194522858, 0.33793556690216064, 0.0984475389122963, -0.15026584267616272, -0.006261266767978668, -0.17151135206222534, -0.006883530877530575, -0.009027624502778053, -0.30358991026878357, 0.06490949541330338, -0.13717755675315857, -0.1825585663318634, -0.0705282986164093, 0.0012569725513458252, -0.2822369337081909, 0.1937536746263504, 0.012865163385868073, -0.19869668781757355, 0.1196695864200592, 0.01923559233546257, -0.34803521633148193, -0.16964633762836456, 0.1558891236782074, 0.0999007597565651, 0.19868656992912292, -0.3066115379333496, 0.046129658818244934, 0.3544688820838928, 0.016980577260255814, 0.29770752787590027, 0.49726077914237976, 0.5249501466751099, 0.14774176478385925, -0.20847675204277039, -0.006617346778512001, -0.1515989601612091, 0.14997369050979614, 0.02722068876028061, 0.3415696620941162, -0.014964848756790161, 0.06291935592889786, 0.29447486996650696, 0.02297031693160534, -0.22954198718070984, -0.5440701246261597, 0.010795202106237411, 0.14491598308086395, -0.09498853981494904, 0.08189313113689423, -0.042677342891693115, -0.025270242244005203, 0.04336833953857422, 0.05895993486046791, -0.32961419224739075, 0.3884228467941284, 0.362957239151001, 0.18080320954322815, 0.2142179310321808, 0.14853064715862274, 0.07534985989332199, -0.24614831805229187, 0.36104315519332886, 0.5578445196151733, -0.350553035736084, -0.4608100950717926, -0.22151510417461395, -0.5164605379104614, 0.22255676984786987, -0.07265254855155945, -0.05746772885322571, 0.40970247983932495, 0.3083650469779968, -0.06494291871786118, 0.06909644603729248, -0.030152976512908936, -0.15844197571277618, 0.009180779568850994, 0.28541338443756104, -0.04907148703932762, -0.06703545153141022, -0.2570425868034363, -0.07274626940488815, 0.06544408202171326, -0.5373722314834595, 0.06295419484376907, 0.21783995628356934, 0.010136131197214127, 0.17421717941761017, -0.24058425426483154, 0.15514521300792694, -0.03458237648010254, 0.223262220621109, 0.1445906162261963, 0.21185541152954102, -0.013160716742277145, 0.18117469549179077, -0.41593384742736816, -0.16682541370391846, -0.1983156055212021, 0.1648351550102234, -0.17740046977996826, 0.3401392996311188, -0.1863602250814438, 0.06682334095239639, -0.37309321761131287, -0.09299267828464508, 0.08876894414424896, 0.34922558069229126, -0.29516762495040894, 0.05729592591524124, -0.1351536512374878, 0.2635745108127594, 0.013288124464452267, 0.0814228355884552, -0.018371395766735077, 0.1761549860239029, -0.46222764253616333, -0.47819453477859497, 0.7123615741729736, -0.4896262288093567, -0.37627148628234863, 0.09269414097070694, 0.17950567603111267, -0.003376096487045288, 0.02785961516201496, -0.8572040796279907, -0.028473831713199615, 0.30216184258461, 0.02529226243495941, -0.2808215618133545, -0.23071247339248657, 0.14848846197128296, 0.16246964037418365, -0.09877368807792664, -0.03506024181842804, 0.0542280487716198, -0.03893480449914932, -0.18441127240657806, -0.20612503588199615 ]
https://github.com/huggingface/datasets/pull/1921
Standardizing datasets dtypes
@lhoestq - apologies for the multiple PRs, my previous one (#1905) got mangled due to some merge conflicts that I had trouble resolving so I just cherry-picked my changes onto a fresh branch here.
This PR follows up on discussion in #1900 to have an explicit set of basic dtypes for datasets. This moves away from str(pyarrow.DataType) as the method of choice for creating dtypes, favoring an explicit mapping to a list of supported Value dtypes. I believe in practice this should be backward compatible, since anyone previously using Value() would only have been able to use dtypes that had an identically named pyarrow factory function, which are all explicitly supported here, with `float32` and `float64` acting as the official datasets dtypes, which resolves the tension between `double` being the pyarrow dtype and `float64` being the pyarrow type factory function.
34
text: Standardizing datasets dtypes This PR follows up on discussion in #1900 to have an explicit set of basic dtypes for datasets. This moves away from str(pyarrow.DataType) as the method of choice for creating dtypes, favoring an explicit mapping to a list of supported Value dtypes. I believe in practice this should be backward compatible, since anyone previously using Value() would only have been able to use dtypes that had an identically named pyarrow factory function, which are all explicitly supported here, with `float32` and `float64` acting as the official datasets dtypes, which resolves the tension between `double` being the pyarrow dtype and `float64` being the pyarrow type factory function. @lhoestq - apologies for the multiple PRs, my previous one (#1905) got mangled due to some merge conflicts that I had trouble resolving so I just cherry-picked my changes onto a fresh branch here.
[ -0.23722141981124878, -0.014181770384311676, -0.04291114956140518, -0.23800481855869293, 0.551629364490509, -0.11343319714069366, 0.22403006255626678, 0.445648193359375, -0.4491332471370697, 0.24666772782802582, -0.10424471646547318, 0.445635050535202, -0.07013441622257233, 0.16555972397327423, 0.08495188504457474, -0.37980443239212036, 0.22626647353172302, 0.2665270268917084, -0.0758613646030426, 0.15475542843341827, -0.2639172673225403, -0.006329581141471863, -0.13255468010902405, 0.17504878342151642, 0.00684004183858633, 0.12535199522972107, 0.09378206729888916, -0.05699168145656586, -0.3035981059074402, -0.44205060601234436, 0.0520617812871933, 0.07847253978252411, 0.382232666015625, 0.17318125069141388, -0.00011108419130323455, -0.08214321732521057, 0.2634287178516388, -0.06353437900543213, -0.04683854430913925, 0.08542492985725403, 0.20293408632278442, -0.041199855506420135, 0.24585820734500885, 0.024299517273902893, -0.12095776200294495, -0.6098591685295105, 0.030324287712574005, -0.02770959585905075, -0.013223834335803986, 0.07868846505880356, 0.23907218873500824, -0.0013621728867292404, 0.4403202533721924, -0.11554516851902008, 0.16679543256759644, 0.29688093066215515, -0.13323962688446045, 0.7348078489303589, 0.28554245829582214, 0.20919758081436157, 0.049030423164367676, -0.0853409469127655, -0.08468779921531677, 0.16920572519302368, 0.2821466624736786, 0.009838605299592018, 0.25201356410980225, -0.17197415232658386, 0.07021905481815338, 0.2792125344276428, 0.6718158721923828, -0.48702606558799744, -0.08971558511257172, 0.0012598633766174316, -0.1769709438085556, -0.43803903460502625, -0.10802187770605087, -0.004912562668323517, -0.22188249230384827, 0.16443558037281036, 0.25617966055870056, -0.09918703883886337, -0.1379391849040985, 0.10838659107685089, -0.29463064670562744, 0.30247795581817627, 0.02509133517742157, 0.1162242442369461, -0.005759790539741516, -0.14445017278194427, 0.20743650197982788, -0.09525546431541443, 0.18283337354660034, -0.239948570728302, 0.1575605869293213, -0.2173594981431961, 0.042273834347724915, -0.03138362616300583, 0.22037246823310852, -0.2823999524116516, -0.14483806490898132, 0.22971123456954956, 0.038356684148311615, -0.0071951523423194885, -0.06970006227493286, 0.02207288146018982, -0.10565958172082901, -0.07394588738679886, 0.426690936088562, -0.09309942275285721, 0.2787822186946869, 0.10970091819763184, 0.06071697175502777, -0.24553288519382477, 0.13006293773651123, 0.08309856057167053, 0.21929782629013062, -0.16987371444702148, -0.24505965411663055, -0.06252821534872055, -0.2123996913433075, -0.12083428353071213, -0.09854018688201904, 0.29188424348831177, 0.16300012171268463, 0.41174182295799255, -0.21122457087039948, -0.018099963665008545, -0.06670359522104263, -0.14261195063591003, -0.08840371668338776, -0.10609285533428192, -0.1069340780377388, -0.15155372023582458, 0.09780830144882202, -0.07574957609176636, 0.10066299140453339, 0.4338374137878418, 0.240585058927536, 0.10732947289943695, 0.12170359492301941, 0.10410572588443756, 0.3170316517353058, 0.1908464878797531, -0.34130585193634033, -0.13278058171272278, 0.1457846313714981, -0.27317747473716736, -0.367989182472229, 0.5063241720199585, -0.05871850997209549, -0.47974443435668945, -0.5897293090820312, 0.19635096192359924, -0.2137324959039688, -0.12378396093845367, -0.010782107710838318, 0.45545414090156555, 0.017340466380119324, -0.24794284999370575, 0.40328913927078247, -0.4864152669906616, 0.16112802922725677, -0.39353546500205994, 0.04763069748878479, -0.08674032986164093, -0.7091392874717712, 0.09100469946861267, 0.23114636540412903, -0.3478669822216034, 0.35262614488601685, -0.03960729017853737, -0.40949034690856934, 0.014450952410697937, -0.04943596571683884, 0.04984031617641449, 0.14841163158416748, -0.08476731181144714, 0.06660125404596329, -0.14070037007331848, 0.12664858996868134, -0.22426410019397736, 0.09276974946260452, -0.13383740186691284, 0.2654224634170532, -0.08452585339546204, 0.04664156213402748, -0.19798336923122406, -0.24162796139717102, -0.07853255420923233, -0.07508303225040436, -0.013674347661435604, 0.48937034606933594, 0.05958220735192299, -0.014523666352033615, -0.15241816639900208, -0.014686986804008484, -0.05092298984527588, 0.1172121912240982, -0.2831178605556488, 0.05180733650922775, -0.2066187709569931, 0.5069105625152588, 0.057205066084861755, 0.18695171177387238, -0.04511421546339989, -0.4761110544204712, -0.1011664867401123, -0.14997857809066772, 0.19851113855838776, 0.061966896057128906, -0.28755033016204834, 0.009784968569874763, -0.0919143334031105, 0.04844001308083534, -0.044859033077955246, 0.12671028077602386, -0.09363457560539246, -0.15981535613536835, 0.11436726152896881, -0.263388454914093, -0.2649645209312439, -0.067650206387043, 0.19067434966564178, 0.24570007622241974, 0.25384804606437683, -0.13873064517974854, -0.14401668310165405, -0.20338569581508636, 0.2916528880596161, 0.05285855010151863, -0.1611611396074295, -0.030604399740695953, 0.4406927227973938, 0.36500146985054016, -0.1434793770313263, -0.2820454239845276, 0.5075225234031677, 0.39054596424102783, -0.10021370649337769, 0.24249261617660522, 0.1797860562801361, 0.10452535003423691, 0.09150572866201401, -0.20854347944259644, 0.4967837333679199, 0.07395938038825989, -0.18257734179496765, -0.13734249770641327, -0.1991203874349594, 0.18847648799419403, 0.26440009474754333, -0.13938181102275848, -0.023720722645521164, -0.4147944152355194, 0.07345344126224518, 0.10744071006774902, 0.21200814843177795, -0.5948127508163452, 0.3069537580013275, 0.22350071370601654, -0.24595294892787933, 0.1712152063846588, 0.25200656056404114, -0.23790979385375977, -0.32055097818374634, 0.42416056990623474, -0.04004672169685364, 0.37238794565200806, 0.25719475746154785, 0.12908145785331726, -0.038160935044288635, -0.1364927589893341, -0.1317157745361328, 0.3919040560722351, -0.030548356473445892, -0.07706298679113388, 0.17624706029891968, 0.1209692507982254, 0.22045207023620605, -0.4494088292121887, 0.03774082288146019, 0.09531812369823456, 0.3499608039855957, -0.38036370277404785, -0.278467059135437, -0.2990088164806366, -0.1512533724308014, -0.16322274506092072, 0.06644149124622345, -0.07967756688594818, -0.3862597346305847, 0.055448248982429504, -0.02497824653983116, -0.17469920217990875, 0.26860177516937256, 0.14724726974964142, 0.49859797954559326, -0.09965991228818893, -0.03661128878593445, -0.12330183386802673, -0.039208922535181046, -0.3184250593185425, 0.14503435790538788, -0.16773779690265656, -0.18121010065078735, 0.3114708364009857, 0.14502738416194916, -0.004020225256681442, -0.43807730078697205, -1.019582986831665, 0.10998259484767914, -0.21631301939487457, 0.03722584247589111, 0.47615739703178406, 0.04975559189915657, 0.04915434867143631, -0.15546126663684845, -0.05723308399319649, -0.23095083236694336, -0.23224285244941711, -0.124998539686203, -0.42551571130752563, 0.07129634916782379, -0.3304690718650818, -0.32074376940727234, -0.14833195507526398, -0.2937603294849396, 0.12043051421642303, -0.15545937418937683, 0.09907396882772446, 0.08420007675886154, -0.08073972165584564, 0.01919141784310341, -0.2056507170200348, -0.15406493842601776, -0.275398313999176, 0.16780267655849457, 0.04152970761060715, -0.331510066986084, -0.08084061741828918, -0.10525546967983246, 0.003205282613635063, -0.10769237577915192, -0.11969366669654846, -0.03896426782011986, -0.5940960645675659, -0.16425102949142456, 0.6792168021202087, -0.04297606647014618, 0.2244458943605423, 0.23737850785255432, 0.35822373628616333, -0.1504008024930954, 0.07869770377874374, -0.33119291067123413, -0.2773329019546509, 0.15137720108032227, -0.021137990057468414, 0.33101314306259155, 0.1853683888912201, 0.018549662083387375, 0.5020148158073425, 0.13471484184265137, -0.5375268459320068, 0.19849291443824768, -0.27336642146110535, 0.5103850364685059, -0.33254939317703247, 0.10314401984214783, 0.2406705915927887, -0.0848856270313263, 0.07880748063325882, 0.2467041015625, -0.1409468948841095, -0.13038849830627441, 0.06060091406106949, 0.12265951931476593, -0.08699261397123337, -0.15855672955513, 0.13628891110420227, -0.03229804337024689, 0.17009350657463074, -0.03264269977807999, -0.03713614493608475, -0.259185254573822, -0.03295980393886566, 0.11663800477981567, 0.14193925261497498, 0.002765178680419922, -0.02746446058154106, -0.11202248185873032, 0.20275351405143738, -0.5309695601463318, 0.34495115280151367, 0.10005142539739609, 0.1477307230234146, -0.0194559246301651, -0.22070258855819702, -0.026058882474899292, 0.10439509153366089, 0.32475975155830383, -0.08332817256450653, -0.11043000221252441, -0.13004973530769348, 0.027711287140846252, 0.036974623799324036, -0.1110062301158905, -0.15443569421768188, 0.26169323921203613, -0.1415420025587082, 0.18458285927772522, -0.4668023884296417, -0.364546537399292, 0.4259600043296814, -0.07647953182458878, 0.11005565524101257, -0.10947652906179428, -0.10888934135437012, -0.2862797975540161, 0.05037882179021835, -0.1299116313457489, 0.32489728927612305, -0.011521045118570328, -0.3578079044818878, 0.0913209617137909, 0.09970571100711823, 0.0487554669380188, 0.16828927397727966, 0.11452598869800568, 0.3104918897151947, 0.11014761030673981, -0.2400367558002472, -0.007358480244874954, 0.07038439810276031, 0.22739332914352417, 0.20729756355285645, -0.2633405029773712, -0.42033594846725464, 0.22944095730781555, -0.03545317426323891, 0.44484689831733704, 0.36111313104629517, -0.10238524526357651, -0.10697243362665176, -0.25309088826179504, 0.07017640769481659, -0.24326515197753906, 0.07011118531227112, 0.17432785034179688, -0.015585719607770443, -0.22043098509311676, -0.24040694534778595, 0.3206275999546051, 0.0807780921459198, -0.27836042642593384, 0.11374403536319733, 0.31327152252197266, -0.1473674774169922, 0.2687990069389343, 0.4628289043903351, 0.9642435908317566, 0.01841375231742859, 0.33285874128341675, 0.5237786769866943, -0.2344861477613449, 0.36999741196632385, -0.1155380979180336, -0.06893192231655121, -0.34825611114501953, 0.08881857991218567, -0.0975201204419136, -0.12457275390625, 0.03417123109102249, -0.07702411711215973, -0.4307902455329895, 0.031188221648335457, -0.0020236894488334656, 0.5283935070037842, 0.3715933859348297, 0.20440489053726196, -0.055597178637981415, 0.06592303514480591, 0.27052074670791626, 0.12343992292881012, -0.3535209894180298, -0.22285926342010498, -0.23037031292915344, -0.14168043434619904, 0.10491292178630829, -0.21005994081497192, -0.37905675172805786, -0.3820716142654419, -0.1992366909980774, 0.009539232589304447, 0.1454051434993744, -0.1217103973031044, 0.1521405577659607, 0.18165548145771027, 0.3384517431259155, 0.01761242188513279, -0.17530719935894012, -0.016625866293907166, 0.12154631316661835, 0.3263925611972809, 0.15161985158920288, -0.05492289736866951, 0.2635933756828308, -0.030807049944996834, -0.07054872065782547, 0.09020340442657471, 0.012607702054083347, -0.05162956193089485, -0.6105237007141113, -0.01995125412940979, 0.011271893978118896, -0.5137297511100769, 0.19142641127109528, -0.16420626640319824, -0.0052027516067028046, -0.15514713525772095, 0.11707702279090881, -0.0028301626443862915, -0.03284329175949097, 0.23028716444969177, -0.027542036026716232, -0.27511513233184814, -0.11706602573394775, -0.07552770525217056, -0.005747850984334946, 0.01316491886973381, 0.07188480347394943, 0.12785398960113525, -0.24432635307312012, -0.12226258218288422, 0.21982347965240479, 0.29696810245513916, -0.41907742619514465, 0.26651936769485474, -0.180520698428154, -0.08538655936717987, 0.09563478827476501, 0.35937637090682983, 0.3749752640724182, 0.22889983654022217, -0.12502606213092804, 0.1387542188167572, -0.11024153977632523, 0.16018053889274597, -0.07936936616897583, 0.36203640699386597, -0.0451144203543663, 0.3572193682193756, -0.010481295175850391, -0.3158276677131653, -0.37314048409461975, 0.22985397279262543, 0.43664607405662537, 0.11922577768564224, -0.22474773228168488, -0.24248066544532776, -0.2626916766166687, 0.07927152514457703, 0.15386050939559937, -0.03463570773601532, -0.16383957862854004, -0.20884010195732117, -0.20269300043582916, 0.15428532660007477, -0.04640354961156845, -0.04873131215572357, -0.0010438919998705387, -0.04660094156861305, -0.3425660729408264, 0.08360014855861664, 0.1113179475069046, 0.14204013347625732, -0.27117985486984253, 0.43615326285362244, 0.4583834111690521, 0.07830899953842163, 0.3415830135345459, -0.0070122964680194855, 0.1733531951904297, 0.5170120596885681, 0.25657597184181213, 0.2847425937652588, -0.24168413877487183, 0.031256407499313354, 0.01378350704908371, 0.37722745537757874, 0.3071054220199585, -0.25286349654197693, 0.1593187153339386, 0.012266106903553009, -0.22924819588661194, -0.2721424698829651, 0.4562697112560272, 0.3244085907936096, -0.23061849176883698, -0.10508635640144348, 0.17327865958213806, 0.20197510719299316, -0.19361652433872223, 0.08101018518209457, 0.06074728071689606, 0.26765176653862, 0.007899191230535507, 0.23063671588897705, 0.42743921279907227, 0.24044355750083923, -0.003542289137840271, -0.02311588078737259, 0.45241779088974, -0.19754154980182648, 0.06029365956783295, 0.39598003029823303, -0.05462298169732094, 0.04023996740579605, 0.45657747983932495, 0.2348743975162506, 0.08104996383190155, 0.12107360363006592, 0.21593722701072693, 0.2646167576313019, -0.05417051166296005, -0.12639464437961578, 0.4296092391014099, -0.23140554130077362, 0.22039960324764252, 0.27814197540283203, -0.06574028730392456, -0.05102451145648956, 0.44457554817199707, 0.3552236557006836, 0.05583956465125084, -0.20929604768753052, -0.1767784059047699, -0.015281405299901962, -0.2691252529621124, -0.24972032010555267, 0.15742775797843933, -0.26108354330062866, -0.17383402585983276, -0.0341668501496315, -0.37480998039245605, -0.04454560577869415, 0.5767616033554077, 0.16633453965187073, -0.003440864384174347, -0.4365006983280182, 0.27807852625846863, -0.13527509570121765, 0.24912235140800476, 0.11464954912662506, 0.13280624151229858, 0.4069371223449707, -0.34805887937545776, -0.0040900371968746185, 0.3783641755580902, 0.5107073783874512, 0.2992360293865204, -0.465075820684433, -0.3183518052101135, -0.3886387348175049, 0.020709814503788948, -0.007108275778591633, -0.018170002847909927, 0.24260520935058594, -0.0029397569596767426, 0.19126801192760468, 0.22481156885623932, -0.0038920706138014793, 0.12804816663265228, 0.04277757555246353, -0.1157495528459549, -0.1799064427614212, 0.2496059536933899, 0.30464524030685425, -0.08545485138893127, 0.3653060495853424, 0.2012583315372467, -0.26009953022003174, -0.14566375315189362, 0.4230058491230011, 0.19045354425907135, -0.13865430653095245, -0.2347852885723114, 0.09350074827671051, 0.31108859181404114, 0.2436913698911667, 0.14429575204849243, 0.35417109727859497, -0.30389031767845154, 0.019872285425662994, -0.2650527358055115, 0.22116968035697937, 0.2206525355577469, 0.014541355893015862, 0.15660560131072998, 0.10908302664756775, 0.33417847752571106, 0.11152524501085281, 0.004145227372646332, -0.04579705372452736, 0.06925179064273834, -0.16127493977546692, -0.1590770035982132, 0.04686088114976883, 0.13604721426963806, -0.01555231399834156, -0.10339075326919556, -0.21015611290931702, 0.23954516649246216, -0.09601620584726334, 0.09133782237768173, -0.6267004609107971, 0.056973814964294434, 0.2864583432674408, -0.012100383639335632, 0.2933156192302704, 0.37438473105430603, 0.17345355451107025, 0.06488267332315445, -0.03990687429904938, 0.06234300136566162, -0.0908529981970787, -0.3502528667449951, 0.3298468589782715, -0.32901665568351746, -0.1703188717365265, -0.021347593516111374, -0.3297881484031677, -0.20139217376708984, -0.0599810816347599, -0.05132542550563812, 0.11501940339803696, -0.5610490441322327, 0.1894613802433014, -0.09243784844875336, -0.3090345561504364, -0.10485736280679703, 0.18219631910324097, 0.037836652249097824, 0.25494834780693054, -0.2598247528076172, -0.38372159004211426, 0.4312354326248169, -0.14799457788467407, -0.13334111869335175, -0.16221559047698975, -0.010912090539932251, 0.08136416226625443, 0.022628234699368477, -0.5721921324729919, -0.035837989300489426, 0.3509765863418579, 0.1053035631775856, -0.5092281103134155, 0.32094329595565796, 0.03744176775217056, -0.179756298661232, -0.285203218460083, 0.570210337638855, -0.16079220175743103, 0.1065472960472107, -0.2571142017841339, -0.4483674168586731 ]
https://github.com/huggingface/datasets/pull/1920
Fix save_to_disk issue
So I was curious why the issue reported at #1919 wasn't caught in [this test](https://github.com/huggingface/datasets/blob/248104c4bdb2e01c036b7578867199191fbff181/tests/test_arrow_dataset.py#L209), so I did some digging. I tried to save to a temporary directory (just like in the test), like this: ```python with tempfile.TemporaryDirectory() as requested_tempdir: squad.save_to_disk(requested_tempdir) # no error ``` and it executes succesfuly without problems. So why does it work, but this doesn't? ```python squad.save_to_disk("./squad") # error ``` It's because `save_to_disk` also creates a temporary directory (let's call it `tempdir`), and since `tempdir` and `requested_tempdir` share the same parents, the `Path.joinpath` method [(here)](https://github.com/huggingface/datasets/blob/248104c4bdb2e01c036b7578867199191fbff181/src/datasets/arrow_dataset.py#L469) will keep `requested_tempdir` as it is and the *train* directory will be created under `requested_tempdir` and hence no errors will arise. But in the second case (where we are saving to a local dir), the *train* directory is created under *squad* which in turn is created under `tempdir`, not under `.` (current dir). So, all of this probably doesn't help solving the issue but it might help creating a better test, and it also makes me wonder why are we saving to a temporary dir in `save_to_disk` anyway? I mean, won't it be removed with all its contents upon execution completion? what's the point then?
Fixes #1919
194
text: Fix save_to_disk issue Fixes #1919 So I was curious why the issue reported at #1919 wasn't caught in [this test](https://github.com/huggingface/datasets/blob/248104c4bdb2e01c036b7578867199191fbff181/tests/test_arrow_dataset.py#L209), so I did some digging. I tried to save to a temporary directory (just like in the test), like this: ```python with tempfile.TemporaryDirectory() as requested_tempdir: squad.save_to_disk(requested_tempdir) # no error ``` and it executes succesfuly without problems. So why does it work, but this doesn't? ```python squad.save_to_disk("./squad") # error ``` It's because `save_to_disk` also creates a temporary directory (let's call it `tempdir`), and since `tempdir` and `requested_tempdir` share the same parents, the `Path.joinpath` method [(here)](https://github.com/huggingface/datasets/blob/248104c4bdb2e01c036b7578867199191fbff181/src/datasets/arrow_dataset.py#L469) will keep `requested_tempdir` as it is and the *train* directory will be created under `requested_tempdir` and hence no errors will arise. But in the second case (where we are saving to a local dir), the *train* directory is created under *squad* which in turn is created under `tempdir`, not under `.` (current dir). So, all of this probably doesn't help solving the issue but it might help creating a better test, and it also makes me wonder why are we saving to a temporary dir in `save_to_disk` anyway? I mean, won't it be removed with all its contents upon execution completion? what's the point then?
[ 0.14145080745220184, -0.07061168551445007, 0.01063556969165802, 0.07870692759752274, 0.5214661359786987, 0.10873673111200333, 0.26316437125205994, 0.19735272228717804, -0.18548601865768433, 0.13769610226154327, -0.046104706823825836, 0.10423599183559418, 0.02974681183695793, -0.4938300848007202, 0.014122498221695423, -0.06642990559339523, 0.2417173683643341, 0.014786571264266968, 0.0838618353009224, 0.0023475438356399536, -0.17971184849739075, 0.2105972170829773, -0.02347157895565033, 0.14837001264095306, -0.5009832978248596, 0.044130053371191025, -0.25868576765060425, 0.35773295164108276, 0.1713765412569046, -0.20762565732002258, 0.2606423795223236, -0.2035839557647705, 0.12630781531333923, 0.6728721261024475, -0.0001206881133839488, 0.1584949940443039, 0.19719776511192322, -0.19539682567119598, -0.505670964717865, -0.18452201783657074, 0.04477659612894058, -0.056863993406295776, 0.037983238697052, -0.3172607719898224, 0.23380053043365479, 0.06552208960056305, 0.22411230206489563, -0.4750525951385498, 0.14176663756370544, 0.08671584725379944, 0.1546197235584259, 0.500457763671875, -0.16591618955135345, -0.0997505635023117, 0.09711465239524841, 0.30915215611457825, -0.4413934648036957, 0.31462976336479187, 0.025802314281463623, -0.1252020299434662, 0.17493322491645813, -0.034650180488824844, 0.23802176117897034, -0.2476692944765091, 0.2378968894481659, 0.34290802478790283, 0.1820005476474762, -0.32601335644721985, -0.0318591445684433, -0.01954498142004013, 0.19832465052604675, -0.4537523686885834, -0.37375691533088684, -0.028042931109666824, -0.16314835846424103, 0.2139127403497696, 0.2140154242515564, 0.24144431948661804, -0.052558235824108124, 0.05248148366808891, 0.11160118877887726, 0.08722799271345139, -0.18935374915599823, 0.010484613478183746, 0.17463712394237518, -0.06873613595962524, -0.12652815878391266, 0.08571949601173401, 0.14047570526599884, 0.17810475826263428, 0.0044238632544875145, -0.3615250587463379, 0.09426377713680267, 0.13886688649654388, 0.04127561300992966, -0.04144781827926636, -0.12433233112096786, -0.11153071373701096, -0.08902044594287872, 0.05612832307815552, 0.3681924641132355, -0.07930637896060944, 0.08326240628957748, 0.14158795773983002, 0.17219792306423187, 0.052714984863996506, 0.2640330195426941, 0.30696365237236023, 0.33517521619796753, 0.2701582610607147, -0.20684079825878143, 0.023154564201831818, 0.29508858919143677, -0.24010249972343445, 0.36882510781288147, -0.11272571235895157, 0.44719040393829346, -0.026495829224586487, -0.2356952577829361, 0.12494626641273499, -0.14723125100135803, 0.11184646934270859, 0.037064336240291595, 0.31476452946662903, 0.35278165340423584, -0.014809813350439072, 0.02431352436542511, 0.3762783408164978, -0.09586173295974731, 0.6332412958145142, -0.14471203088760376, 0.002120964229106903, 0.049584534019231796, 0.0298316553235054, -0.011633604764938354, -0.157124862074852, 0.3342861831188202, -0.14096036553382874, 0.16752660274505615, -0.08470577001571655, -0.0783505067229271, -0.19970019161701202, 0.16200849413871765, 0.3022597134113312, 0.22683119773864746, 0.2656746208667755, -0.07111859321594238, -0.30499267578125, -0.10032933950424194, 0.25359559059143066, -0.03450658172369003, -0.37518519163131714, 0.2299269437789917, 0.10670457035303116, -0.055793289095163345, 0.1150253638625145, -0.027867160737514496, -0.15382729470729828, 0.03334079682826996, -0.20476670563220978, 0.3049348294734955, 0.10988976061344147, -0.2741234004497528, -0.3719838857650757, 0.1855328381061554, 0.32995760440826416, -0.30033981800079346, 0.11387595534324646, 0.2753506898880005, -0.18135711550712585, 0.023762859404087067, 0.36093729734420776, -0.0566231794655323, 0.10095934569835663, -0.4027276039123535, 0.40916794538497925, 0.4718775451183319, -0.5571417808532715, -0.28675130009651184, 0.060506634414196014, -0.3177858889102936, -0.0987483337521553, -0.041635505855083466, 0.1673392504453659, -0.1925242841243744, -0.30198934674263, -0.025857850909233093, 0.20137181878089905, -0.08426793664693832, 0.13837625086307526, -0.6985089182853699, 0.2037256956100464, -0.07278448343276978, -0.15438240766525269, -0.3618927299976349, -0.05226723104715347, 0.173211932182312, 0.1218738928437233, 0.3201897442340851, -0.022281136363744736, 0.24678339064121246, 0.22002200782299042, 0.47804540395736694, -0.2077666074037552, -0.10186253488063812, 0.23087993264198303, -0.6376256346702576, 0.1661512553691864, -0.08209261298179626, -0.21009406447410583, 0.08549147844314575, -0.2228616178035736, -0.23871570825576782, -0.0018854960799217224, -0.4043426215648651, -0.034542765468358994, 0.012879747897386551, 0.10511193424463272, 0.21663258969783783, 0.00013993680477142334, -0.0794009268283844, -0.02826087363064289, -0.2925386130809784, 0.18637731671333313, -0.01372591033577919, 0.4179351031780243, -0.2901076078414917, -0.23079267144203186, -0.47769173979759216, 0.17384620010852814, -0.053154356777668, -0.3136543035507202, -0.0878840982913971, 0.6523164510726929, -0.14906686544418335, 0.4510226845741272, 0.09368178248405457, -0.11904938519001007, -0.013942742720246315, -0.15701806545257568, -0.09447508305311203, 0.31779441237449646, 0.258192241191864, -0.070868581533432, -0.4329718351364136, 0.2397432029247284, -0.1271267831325531, 0.3069809377193451, 0.2234858125448227, -0.16933059692382812, -0.02610153518617153, 0.07292290031909943, -0.17534424364566803, -0.07653861492872238, -0.0004685744643211365, 0.39526572823524475, 0.255658894777298, -0.09959255158901215, -0.19370949268341064, 0.19567745923995972, 0.0751999169588089, 0.07975739240646362, 0.2864386737346649, -0.029152020812034607, -0.011870607733726501, -0.15206274390220642, -0.3308619558811188, 0.2655581533908844, 0.780289888381958, -0.08923184871673584, 0.443032830953598, 0.025257974863052368, -0.029883936047554016, -0.2814067006111145, 0.40179187059402466, 0.3169194459915161, 0.001295597292482853, 0.2789757251739502, 0.36270731687545776, 0.008566733449697495, -0.10479117929935455, 0.21633204817771912, -0.12587784230709076, -0.10486070066690445, -0.32203152775764465, 0.13058197498321533, 0.06014302372932434, -0.04512806236743927, -0.3556976020336151, -0.15789338946342468, 0.02988656610250473, -0.48088809847831726, 0.08431096374988556, 0.18750184774398804, -0.39836665987968445, -0.08754289150238037, 0.040361370891332626, 0.2609037756919861, -0.14077819883823395, -0.3363803029060364, -0.2439798265695572, 0.14995229244232178, -0.25135281682014465, -0.0640505775809288, 0.11598403751850128, -0.06053158640861511, 0.28699782490730286, -0.13230010867118835, -0.05119629576802254, -0.42678141593933105, -0.08715883642435074, -0.16046461462974548, -0.08548763394355774, 0.41845235228538513, 0.048082273453474045, 0.3941206932067871, -0.12996971607208252, -0.10473836213350296, 0.2931007146835327, -0.251388818025589, -0.23371608555316925, -0.013511259108781815, 0.2323513925075531, 0.1443728357553482, -0.38492387533187866, -0.2853063642978668, -0.11154111474752426, -0.31317371129989624, 0.2995803952217102, -0.17691729962825775, 0.046578917652368546, 0.045312296599149704, 0.07788459211587906, 0.24093645811080933, 0.005912472493946552, -0.21278242766857147, -0.0856708362698555, -0.3754146695137024, 0.4608788788318634, -0.1612909883260727, -0.2811317443847656, 0.03730274364352226, -0.04804396256804466, -0.12208394706249237, -0.2694808840751648, -0.3885077238082886, -0.5544124245643616, -0.04101099818944931, 0.3280121386051178, 0.09468267858028412, 0.31834307312965393, 0.380860298871994, -0.20710442960262299, -0.07109879702329636, -0.15298433601856232, -0.25647035241127014, 0.20537063479423523, 0.35542070865631104, 0.30467715859413147, -0.3179406225681305, 0.18736612796783447, 0.13391892611980438, 0.6840450763702393, 0.11216051876544952, 0.24127896130084991, 0.34972134232521057, -0.05889126658439636, 0.5282694697380066, -0.4301435649394989, -0.16324710845947266, -0.12273736298084259, -0.2083418071269989, -0.3211709260940552, 0.03820495307445526, 0.3598062992095947, 0.09451200067996979, 0.13970932364463806, 0.06572829186916351, 0.023281805217266083, -0.4864353537559509, 0.09005066007375717, 0.10266174376010895, -0.015422917902469635, 0.12386858463287354, -0.08165568113327026, 0.14846356213092804, 0.018354695290327072, 0.07128341495990753, 0.5582448840141296, 0.25707417726516724, 0.09900464117527008, -0.42288729548454285, -0.1654677540063858, -0.3080064654350281, 0.13399280607700348, 0.2893471121788025, 0.5086296200752258, 0.12452062964439392, -0.37717509269714355, 0.13990241289138794, -0.0341871976852417, 0.5132831335067749, 0.0516819953918457, 0.055841993540525436, 0.10588963329792023, 0.20480550825595856, -0.6581436395645142, -0.17319239675998688, 0.24425891041755676, 0.08644719421863556, 0.1644659787416458, 0.53094083070755, 0.03931661695241928, -0.17151056230068207, -0.11747433245182037, 0.42025548219680786, -0.10205275565385818, 0.16273170709609985, -0.45259594917297363, -0.39513495564460754, -0.1444949358701706, -0.06902065128087997, 0.10593163222074509, -0.06887263059616089, 0.16261199116706848, 0.009964000433683395, 0.17818114161491394, -0.3218267261981964, -0.11998280882835388, -0.2044019252061844, 0.4039585590362549, -0.24945008754730225, 0.190097838640213, 0.1283520758152008, -0.011878982186317444, -0.1807570457458496, 0.4934038817882538, -0.4419373869895935, -0.009781874716281891, 0.3076048791408539, 0.005729426629841328, 0.3577597439289093, 0.6381300687789917, -0.08070572465658188, -0.1468876302242279, -0.4835805594921112, -0.03261358290910721, -0.2295241355895996, 0.002768309321254492, 0.19902904331684113, -0.11541779339313507, 0.1075318306684494, 0.07379621267318726, 0.2802972197532654, 0.04999857768416405, 0.05491793155670166, 0.08648450672626495, 0.2973807454109192, -0.17987120151519775, 0.31977856159210205, -0.24359408020973206, 0.9118594527244568, 0.22925682365894318, 0.5746374130249023, 0.3867838680744171, -0.46715086698532104, 0.016641905531287193, 0.037622012197971344, 0.19441871345043182, -0.35737448930740356, 0.11770737916231155, 0.08554865419864655, -0.20289257168769836, -0.1089349016547203, -0.07463838160037994, -0.11950759589672089, 0.1228957250714302, -0.24265775084495544, 0.29339084029197693, -0.03420198708772659, 0.043816424906253815, -0.3653671145439148, -0.12855201959609985, -0.25714969635009766, 0.04769652336835861, 0.5146953463554382, 0.20938831567764282, -0.12384434789419174, 0.02364734746515751, -0.43625110387802124, -0.34488213062286377, 0.008501127362251282, 0.07438891381025314, -0.4622770845890045, 0.20923493802547455, -0.006144899874925613, -0.4603346586227417, -0.05925522372126579, 0.4513985812664032, 0.24462634325027466, -0.08566948771476746, -0.03777245432138443, -0.03956085070967674, 0.13633966445922852, 0.4046249985694885, 0.0213125329464674, -0.2703322470188141, 0.15111015737056732, 0.016179058700799942, 0.3064139783382416, -0.2359296679496765, -0.4470618665218353, -0.23935353755950928, -0.5213550925254822, 0.2942609190940857, 0.1281036138534546, -0.29848092794418335, -0.2668642997741699, -0.05569714307785034, -0.2742709517478943, -0.3193299174308777, 0.07039482891559601, -0.094288170337677, 0.028265783563256264, 0.10065461695194244, -0.2503829896450043, -0.27493810653686523, 0.17686134576797485, 0.3670557141304016, -0.33431845903396606, 0.04176165908575058, 0.5527784824371338, -0.29428210854530334, -0.00505099818110466, -0.17186897993087769, 0.5725260376930237, 0.12870414555072784, -0.3757261037826538, 0.4400703012943268, -0.2764647603034973, -0.18554328382015228, -0.08489087969064713, 0.10456894338130951, 0.18248336017131805, -0.2936687767505646, -0.3731447160243988, -0.2957288324832916, -0.444333553314209, 0.052765265107154846, 0.2837735414505005, 0.4006351828575134, -0.0974380373954773, 0.1941966414451599, -0.02440369687974453, -0.3017517328262329, -0.20482483506202698, 0.21592149138450623, 0.015270886942744255, 0.08413343131542206, -0.08900991827249527, 0.05137994512915611, 0.48049870133399963, -0.0916968584060669, 0.019796276465058327, 0.28995758295059204, -0.11112619936466217, -0.15557104349136353, -0.04885610193014145, 0.17130476236343384, -0.046503521502017975, -0.026921691372990608, -0.05771714821457863, -0.140648752450943, 0.2801247835159302, -0.07051727920770645, -0.10339623689651489, 0.23144277930259705, 0.016507983207702637, -0.15106257796287537, 0.005762334913015366, 0.33665066957473755, 0.06473643332719803, 0.04885537177324295, -0.0534980446100235, 0.2856280207633972, -0.05016673356294632, 0.07639952003955841, -0.2753935754299164, -0.1362868696451187, -0.15866142511367798, 0.01571175456047058, 0.043329477310180664, 0.46960893273353577, -0.1320570707321167, -0.10401731729507446, -0.14541509747505188, -0.25530317425727844, 0.24442297220230103, 0.37646597623825073, -0.3441201448440552, -0.03366052359342575, -0.07615182548761368, 0.0794142410159111, 0.12368825078010559, -0.1489114910364151, 0.1031452864408493, -0.15252596139907837, 0.06405375897884369, 0.31344926357269287, 0.07947024703025818, 0.12958483397960663, -0.19336988031864166, 0.0610620453953743, 0.18658216297626495, 0.03895078971982002, 0.05633854120969772, 0.33368948101997375, -0.11864486336708069, 0.334987074136734, -0.03682677447795868, -0.37592580914497375, 0.13487595319747925, 0.12579047679901123, -0.13178449869155884, 0.5948601365089417, 0.06566022336483002, -0.14625364542007446, 0.1795470416545868, 0.01895059645175934, -0.08714734017848969, -0.19640898704528809, -0.03531835973262787, 0.10924173146486282, 0.1214028000831604, 0.7516801953315735, -0.677139163017273, -0.0858822613954544, 0.11080846935510635, -0.1294979751110077, -0.1565246284008026, -0.3267458379268646, 0.12362006306648254, -0.23240354657173157, 0.1494336724281311, -0.07710553705692291, -0.17520248889923096, -0.010916776955127716, -0.08087895810604095, -0.06383223831653595, 0.1231403648853302, 0.2998256981372833, 0.17628422379493713, 0.10904545336961746, 0.0961928740143776, -0.2006918489933014, 0.07004638016223907, 0.0782504677772522, -0.10959072411060333, -0.12424010038375854, 0.17528824508190155, 0.4614771604537964, 0.19905179738998413, 0.0002811700105667114, 0.14816613495349884, -0.004015494138002396, -0.011668512597680092, 0.10934503376483917, 0.04940205439925194, -0.11224868893623352, -0.3769419491291046, 0.33390000462532043, 0.11482200026512146, -0.018753979355096817, 0.11279287934303284, 0.271526038646698, 0.15704365074634552, -0.1873628944158554, 0.37714797258377075, -0.4119373857975006, -0.24995997548103333, -0.017460640519857407, 0.08888829499483109, 0.07536938041448593, -0.10368993878364563, 0.0980893224477768, -0.14898358285427094, 0.16281074285507202, -0.16914668679237366, 0.052627354860305786, 0.14099161326885223, 0.43095681071281433, 0.19668622314929962, -0.5148487091064453, -0.41544848680496216, 0.0009617134928703308, -0.6379660367965698, 0.046056024730205536, 0.274399995803833, 0.34773850440979004, -0.2631624937057495, 0.3490646183490753, -0.16543757915496826, -0.03763013333082199, 0.29490363597869873, -0.05266464874148369, -0.022827383130788803, 0.2944979667663574, -0.13025973737239838, -0.13586805760860443, -0.024454988539218903, -0.0717020183801651, 0.17399713397026062, -0.4962124824523926, 0.07885012030601501, 0.047942519187927246, -0.008759520947933197, 0.06601282954216003, -0.08412005007266998, 0.019102253019809723, 0.19573719799518585, 0.30423009395599365, 0.010528051294386387, -0.08889032900333405, -0.04297764226794243, -0.33237192034721375, -0.21901357173919678, -0.027352692559361458, 0.04561629518866539, -0.049692586064338684, -0.05958001688122749, 0.2951504588127136, -0.2994973957538605, 0.0009309090673923492, -0.35754692554473877, -0.25698477029800415, 0.10790683329105377, 0.15043309330940247, -0.06324506551027298, 0.139144167304039, -0.17964105308055878, 0.3056030571460724, 0.206822007894516, 0.3926572799682617, -0.07390257716178894, 0.2946969270706177, -0.4233406186103821, -0.5090156197547913, 0.560989260673523, 0.05529768019914627, -0.21540887653827667, 0.09632447361946106, 0.4054342806339264, 0.36119526624679565, 0.12027079612016678, -0.6117554903030396, -0.3262527883052826, 0.21724915504455566, -0.0927141010761261, -0.32872483134269714, 0.05686115473508835, -0.2012505829334259, 0.08281731605529785, 0.07605516910552979, 0.5399273633956909, 0.035216111689805984, 0.07911515980958939, 0.392826110124588, -0.38851720094680786 ]
https://github.com/huggingface/datasets/pull/1913
Add keep_linebreaks parameter to text loader
Just so I understand how it can be used in practice, do you have an example showing how to load a text dataset with this option?
As asked in #870 and https://github.com/huggingface/transformers/issues/10269 there should be a parameter to keep the linebreaks when loading a text dataset. cc @sgugger @jncasey
26
text: Add keep_linebreaks parameter to text loader As asked in #870 and https://github.com/huggingface/transformers/issues/10269 there should be a parameter to keep the linebreaks when loading a text dataset. cc @sgugger @jncasey Just so I understand how it can be used in practice, do you have an example showing how to load a text dataset with this option?
[ -0.3964960277080536, -0.2384832501411438, 0.0015617962926626205, 0.1988772302865982, 0.21776822209358215, -0.32939624786376953, 0.6472477912902832, -0.11351968348026276, 0.10231991112232208, 0.14802424609661102, 0.14136797189712524, 0.06479433923959732, 0.15968360006809235, 0.23413310945034027, 0.018486158922314644, -0.5057491064071655, -0.28396865725517273, 0.09037262946367264, -0.21615943312644958, 0.16673065721988678, -0.0017785094678401947, 0.19315695762634277, -0.12730500102043152, -0.32192522287368774, -0.4038918614387512, 0.10893169790506363, 0.12285993993282318, 0.0044263266026973724, 0.1676536202430725, -0.02893023192882538, 0.15555927157402039, 0.22937661409378052, 0.04234839230775833, 0.21885167062282562, -0.00011319546320009977, 0.063658207654953, 0.07987850904464722, -0.15379872918128967, -0.3771370053291321, -0.21969376504421234, -0.19626572728157043, -0.22958490252494812, 0.0009112900588661432, -0.10047442466020584, -0.1832031011581421, 0.46778255701065063, -0.24522043764591217, -0.029397444799542427, 0.6495442390441895, 0.19153639674186707, 0.1738060861825943, 0.3985045254230499, -0.24405212700366974, -0.01008477620780468, 0.20046523213386536, 0.24959266185760498, -0.1748860776424408, -0.05804504081606865, 0.16863329708576202, 0.42683568596839905, -0.08037900179624557, 0.25223270058631897, -0.16481658816337585, -0.21078841388225555, 0.24638578295707703, 0.0628480538725853, -0.061687178909778595, 0.07406745851039886, -0.055051542818546295, 0.4837368130683899, 0.4601919651031494, -0.32378312945365906, -0.07032746821641922, -0.5450259447097778, 0.03255799785256386, -0.03852953016757965, 0.20333823561668396, -0.08787821233272552, -0.27234965562820435, 0.18497787415981293, -0.4595356285572052, -0.6672517657279968, -0.43482711911201477, -0.14230431616306305, -0.0629197210073471, 0.07672412693500519, -0.23894986510276794, -0.09414065629243851, 0.3061801493167877, 0.17897115647792816, -0.1996220499277115, -0.17347481846809387, 0.19267240166664124, 0.21235701441764832, 0.14942319691181183, -0.17603528499603271, -0.4104650616645813, -0.10878362506628036, 0.11655924469232559, 0.12372367084026337, 0.026035120710730553, 0.010230572894215584, 0.004933606833219528, 0.03315531089901924, -0.020615458488464355, 0.14881828427314758, 0.3549264967441559, 0.025532633066177368, 0.31244462728500366, 0.14276398718357086, 0.1719936579465866, -0.24150025844573975, 0.037847332656383514, -0.14346468448638916, 0.08831317722797394, -0.21421048045158386, 0.4022374749183655, -0.02620866894721985, 0.09310311824083328, -0.12234573811292648, 0.11020760983228683, -0.35793089866638184, 0.0896197035908699, 0.19276371598243713, 0.12116996198892593, 0.11016663163900375, 0.16007599234580994, 0.055093299597501755, -0.11241396516561508, -0.3193688988685608, -0.23422041535377502, -0.320674866437912, -0.1060047298669815, 0.2992907762527466, 0.18064942955970764, -0.28736430406570435, 0.07085426151752472, 0.21099743247032166, -0.23874108493328094, 0.08427491784095764, -0.2837950587272644, 0.12516357004642487, -0.27255040407180786, 0.2026444673538208, -0.048130474984645844, -0.022438975051045418, -0.046677980571985245, -0.02495104819536209, -0.10646846145391464, 0.4434104263782501, -0.2886744737625122, -0.16483287513256073, 0.03360867500305176, 0.19544830918312073, 0.003918014466762543, -0.15354397892951965, -0.16022369265556335, 0.11724233627319336, 0.32416900992393494, 0.017879467457532883, 0.4461282789707184, -0.032640643417835236, -0.2633706331253052, -0.049197833985090256, 0.23294267058372498, 0.441989541053772, -0.297086238861084, -0.5773107409477234, 0.2507573664188385, -0.3100736141204834, 0.12755346298217773, 0.4433566927909851, -0.12458086013793945, 0.029147125780582428, 0.047632358968257904, 0.18524159491062164, 0.6061465740203857, 0.19197368621826172, -0.2651567757129669, 0.4437130093574524, 0.018127791583538055, 0.14117205142974854, 0.15313686430454254, -0.13882088661193848, 0.4175396263599396, 0.10570728778839111, -0.22849974036216736, 0.591532289981842, 0.12774701416492462, 0.2018047571182251, -0.07631750404834747, -0.0360698401927948, 0.1401425302028656, 0.089466392993927, -0.26818549633026123, -0.10246583074331284, -0.05378708988428116, 0.34291473031044006, 0.2723654806613922, -0.002918113023042679, 0.17324629426002502, 0.007498115301132202, 0.14732156693935394, 0.17555858194828033, 0.15239281952381134, -0.018601248040795326, -0.5831471085548401, -0.06760749220848083, 0.06777754426002502, -0.06874210387468338, -0.11328817903995514, -0.10178875178098679, -0.13921722769737244, 0.028432613238692284, 0.007738765329122543, -0.11683465540409088, -0.042786505073308945, 0.0013658851385116577, -0.3252792954444885, 0.09095506370067596, -0.20073384046554565, 0.29378262162208557, -0.11963094770908356, 0.37334808707237244, -0.23933912813663483, 0.4056669771671295, 0.20592686533927917, -0.12761208415031433, -0.32475006580352783, 0.035489149391651154, -0.09909211844205856, -0.13878133893013, -0.14935839176177979, 0.5444268584251404, -0.011393455788493156, 0.41580116748809814, -0.45912566781044006, 0.06669192016124725, 0.4922826588153839, -0.1892758309841156, 0.13730010390281677, -0.05475078150629997, -0.034343965351581573, -0.14438727498054504, -0.3037620186805725, 0.17514578998088837, -0.23863716423511505, 0.5102974772453308, 0.04243076592683792, -0.10205832868814468, -0.12323436141014099, -0.24855099618434906, -0.19540363550186157, -0.16147786378860474, 0.2860133945941925, -0.010600624606013298, 0.5058111548423767, 0.3108220398426056, -0.10530443489551544, -0.025644920766353607, 0.572144627571106, -0.18282751739025116, 0.2087165117263794, 0.47566258907318115, -0.17558246850967407, -0.028649738058447838, -0.09480027854442596, -0.005023609846830368, 0.12713861465454102, 0.21935227513313293, -0.07643431425094604, 0.1504558026790619, -0.02592741698026657, -0.3400789797306061, 0.4622439742088318, 0.21242086589336395, 0.07208449393510818, 0.11153784394264221, -0.24924224615097046, 0.08855746686458588, -0.27304336428642273, -0.053529076278209686, -0.12162396311759949, -0.22116993367671967, -0.26794132590293884, 0.1297396570444107, -0.08953003585338593, -0.05663978308439255, -0.5151130557060242, -0.3314721882343292, -0.4350487291812897, -0.023994099348783493, 0.0015543270856142044, -0.06804043054580688, -0.22097378969192505, 0.2137838453054428, 0.18827620148658752, 0.7296345829963684, 0.1429758369922638, -0.2561366558074951, -0.2253284603357315, -0.08116106688976288, -0.02340112254023552, 0.08764910697937012, -0.0840475782752037, -0.0363520085811615, 0.07748174667358398, -0.06472799181938171, 0.17438362538814545, 0.09966503828763962, -0.012348320335149765, 0.2921751141548157, -0.11229178309440613, 0.026647385209798813, 0.18272057175636292, 0.27958977222442627, 0.18287393450737, -0.22996312379837036, -0.0071191806346178055, -0.3735419511795044, -0.08313032984733582, -0.06591105461120605, -0.01940106973052025, 0.07815545797348022, -0.27745091915130615, -0.23565298318862915, -0.014898711815476418, -0.3993329405784607, 0.2849957346916199, -0.22479654848575592, -0.05796821415424347, 0.4074133634567261, 0.05528395250439644, 0.27737361192703247, 0.14066213369369507, 0.1445753574371338, -0.059651561081409454, -0.12103629857301712, 0.17247454822063446, -0.09454668313264847, -0.12912562489509583, -0.1473410576581955, 0.10262903571128845, -0.13382139801979065, 0.031522467732429504, -0.3647046685218811, 0.3446681797504425, -0.2042175531387329, 0.040330614894628525, -0.048008061945438385, 0.40867605805397034, 0.33357110619544983, -0.12372169643640518, 0.0788598507642746, -0.1462317705154419, 0.007854048162698746, 0.3061533570289612, -0.26650333404541016, 0.33379408717155457, -0.07347422093153, 0.47845569252967834, -0.07801816612482071, 0.49747389554977417, -0.11897797882556915, 0.17900662124156952, 0.11842070519924164, 0.0039189960807561874, 0.2648348808288574, -0.04301268607378006, -0.1777738332748413, -0.13793885707855225, -0.016196981072425842, 0.0362851656973362, 0.17689184844493866, 0.32024434208869934, 0.18786117434501648, -0.0406811460852623, -0.7038962244987488, 0.31883880496025085, -0.5081269145011902, 0.18405526876449585, 0.21453967690467834, 0.12083575874567032, -0.20488983392715454, 0.1372174322605133, 0.06307120621204376, -0.13315525650978088, -0.004262357950210571, 0.38234853744506836, 0.1664697825908661, -0.11688464134931564, -0.1698082536458969, 0.43152183294296265, -0.40531685948371887, 0.049719639122486115, 0.1990775316953659, -0.11255032569169998, 0.08313369750976562, -0.32561278343200684, 0.018246062099933624, 0.28868409991264343, 0.8567222356796265, 0.2692069411277771, -0.27235227823257446, -0.11627097427845001, -0.12360099703073502, -0.32686665654182434, 0.10927586257457733, -0.12715812027454376, 0.13413551449775696, 0.3071895241737366, 0.11395813524723053, -0.12172435969114304, -0.15788081288337708, 0.263038694858551, -0.08477842807769775, -0.11012965440750122, -0.39388880133628845, -0.12445870041847229, 0.13339096307754517, -0.32105860114097595, 0.14236381649971008, 0.06879639625549316, 0.2432364970445633, -0.2977018356323242, 0.08952803909778595, 0.16549764573574066, -0.401304692029953, 0.05315067246556282, -0.026920530945062637, 0.20255661010742188, -0.010194460861384869, -0.15620088577270508, 0.33615967631340027, -0.05920211225748062, -0.31184396147727966, 0.4501214921474457, -0.21025650203227997, -0.42258232831954956, -0.006977418437600136, -0.06469055265188217, 0.7285062074661255, 0.1662377268075943, 0.07670627534389496, 0.09044592827558517, 0.11147399246692657, 0.16775670647621155, -0.07637006789445877, -0.052809033542871475, -0.1029035821557045, -0.011405281722545624, -0.34397581219673157, -0.354320764541626, 0.5223191976547241, -0.2043299823999405, 0.05138795077800751, 0.06834060698747635, 0.17995575070381165, -0.4287542402744293, 0.31258755922317505, 0.03678588196635246, 0.9706138968467712, 0.09405183047056198, 0.3186187148094177, -0.10398776084184647, 0.17348934710025787, 0.5638214349746704, -0.2579631805419922, -0.10204954445362091, -0.14035853743553162, 0.12491781264543533, -0.038401536643505096, 0.0003383159637451172, 0.18280738592147827, -0.15332302451133728, -0.49215632677078247, -0.09861952811479568, 0.15094757080078125, -0.12272024154663086, -0.058349914848804474, 0.09235678613185883, -0.556975781917572, -0.4478793442249298, -0.0842379778623581, -0.025569725781679153, -0.026668444275856018, 0.11330223083496094, -0.005541780963540077, 0.08360355347394943, 0.47371581196784973, -0.3320006728172302, -0.2735234498977661, 0.03513118624687195, -0.0829739049077034, -0.03170697018504143, 0.5124221444129944, -0.2362281233072281, 0.431810587644577, 0.19200150668621063, 0.27379757165908813, 0.1926494836807251, -0.16003112494945526, 0.2024744302034378, -0.35552772879600525, -0.07768290489912033, -0.19218182563781738, 0.1661013811826706, 0.3988962471485138, 0.09188146144151688, -0.31190425157546997, 0.03130974993109703, 0.11305147409439087, -0.46260738372802734, 0.03354519605636597, -0.3461202383041382, -0.06766444444656372, -0.5817581415176392, 0.13771554827690125, -0.013983622193336487, 0.3048582077026367, -0.20338669419288635, 0.0571369007229805, 0.17180824279785156, 0.05253143981099129, -0.05659762769937515, 0.20380426943302155, -0.2610572278499603, -0.15090888738632202, 0.4075327217578888, 0.011350177228450775, -0.14252027869224548, 0.33299940824508667, 0.4992545247077942, -0.17768579721450806, -0.24417844414710999, 0.31771522760391235, 0.2504204213619232, -0.5841019749641418, 0.23921672999858856, 0.12245671451091766, -0.08598898351192474, -0.07190154492855072, 0.7180587649345398, -0.11467047035694122, 0.12719111144542694, -0.1590995341539383, -0.3983330726623535, -0.3131234645843506, -0.042667314410209656, 0.15632420778274536, 0.17804574966430664, 0.21932771801948547, -0.08139637112617493, 0.16451554000377655, 0.09987498074769974, -0.2620622515678406, 0.0038784348871558905, 0.20797014236450195, -0.14476723968982697, 0.28529730439186096, -0.27812424302101135, 0.2545393109321594, -0.12245623767375946, -0.05029180645942688, 0.3110894560813904, -0.018679728731513023, -0.18529891967773438, -0.5030773878097534, 0.13298103213310242, -0.11171504110097885, -0.22287477552890778, -0.3784511983394623, 0.12552814185619354, 0.15017367899417877, -0.11342421174049377, 0.4301677942276001, 0.0990435853600502, -0.05924855172634125, 0.28198757767677307, 0.10151448845863342, 0.12713980674743652, -0.37366509437561035, -0.04615427553653717, -0.10589329898357391, 0.3226078152656555, 0.3128139078617096, 0.0008249878883361816, -0.43659961223602295, 0.036679722368717194, -0.13331404328346252, 0.2691138982772827, 0.8044590950012207, 0.1537124067544937, 0.18249109387397766, -0.019670896232128143, -0.03924476355314255, -0.1326756775379181, 0.11985474824905396, 0.04109340161085129, -0.32805585861206055, -0.014133247546851635, 0.07415890693664551, 0.23895640671253204, -0.030408989638090134, -0.02440769411623478, -0.04927181079983711, -0.10622434318065643, 0.0174209363758564, 0.3068273663520813, 0.04523133113980293, 0.20047590136528015, 0.19643759727478027, 0.09203235805034637, 0.6126266121864319, 0.11057564616203308, 0.06804555654525757, 0.254793256521225, -0.2697422504425049, -0.0622604601085186, 0.10351713001728058, 0.23565606772899628, 0.25680238008499146, -0.1605755090713501, -0.3062080442905426, 0.18139302730560303, -0.4159936010837555, 0.250773549079895, -0.02238795906305313, -0.2757589519023895, 0.2166917622089386, 0.08996395021677017, -0.4226149916648865, 0.12854167819023132, -0.034319810569286346, 0.2579953670501709, 0.014869321137666702, 0.11590676754713058, -0.09899087250232697, 0.2227986752986908, -0.14844703674316406, -0.38860374689102173, -0.22911933064460754, -0.08459433168172836, -0.19944801926612854, -0.00893203541636467, -0.02142215147614479, -0.12126503884792328, 0.11371410638093948, 0.024202365428209305, 0.15239782631397247, 0.007084168493747711, 0.12261606007814407, -0.2527099847793579, 0.11561574786901474, -0.13032710552215576, 0.25925564765930176, -0.0512365996837616, 0.23446524143218994, 0.22630810737609863, 0.010535350069403648, 0.007636215537786484, -0.08372468501329422, 0.19765332341194153, 0.24663370847702026, -0.341570645570755, -0.06301252543926239, 0.04468654841184616, 0.15774676203727722, 0.034360725432634354, 0.32454216480255127, 0.11555282771587372, 0.0775599330663681, -0.21044327318668365, 0.5902150273323059, -0.07630476355552673, -0.08680391311645508, -0.38300812244415283, 0.3325191140174866, 0.204087495803833, -0.130132794380188, -0.43497273325920105, -0.1258176565170288, -0.14049634337425232, -0.20286275446414948, 0.32305416464805603, -0.3497839570045471, -0.11666697263717651, -0.12464012950658798, 0.06415171176195145, 0.19107964634895325, 0.4902459681034088, 0.3891993463039398, 0.1738664209842682, 0.18442635238170624, -0.044154271483421326, -0.22832049429416656, -0.06414789706468582, 0.22522224485874176, 0.004791403189301491, 0.25906044244766235, -0.2152242511510849, 0.03567192330956459, 0.24128404259681702, -0.04888930916786194, 0.193475142121315, -0.1382601410150528, -0.5769290924072266, 0.017356887459754944, 0.05057596415281296, 0.23313620686531067, 0.09839767217636108, -0.031170032918453217, 0.04231460392475128, 0.2305886596441269, 0.12381637096405029, -0.08541259169578552, -0.3540131449699402, 0.34482741355895996, 0.2840830683708191, 0.08779449015855789, -0.11065793037414551, -0.015788590535521507, 0.016208358108997345, -0.09335917234420776, 0.2264440357685089, 0.18358369171619415, -0.05789874121546745, -0.02546161226928234, -0.3361359238624573, 0.117317333817482, 0.16107860207557678, -0.15557974576950073, -0.42347246408462524, -0.09394477307796478, 0.2018548995256424, 0.034888848662376404, -0.039744988083839417, -0.3911866247653961, -0.055690549314022064, -0.32261762022972107, -0.027227792888879776, 0.14009955525398254, 0.24830561876296997, -0.1513301134109497, -0.10593841969966888, 0.04122461378574371, -0.2239656150341034, 0.3380797505378723, -0.17984998226165771, -0.14870718121528625, -0.2990231215953827, 0.046496279537677765, 0.16404828429222107, -0.06235466152429581, -0.9948847889900208, -0.14387117326259613, 0.2739924192428589, -0.1508764624595642, -0.35166996717453003, 0.36824437975883484, 0.38108766078948975, 0.16818684339523315, -0.13425244390964508, 0.7354960441589355, 0.12908370792865753, -0.1525408774614334, -0.13535843789577484, -0.2955015301704407 ]
https://github.com/huggingface/datasets/pull/1913
Add keep_linebreaks parameter to text loader
Sure ! Here is an example: ```python from datasets import load_dataset load_dataset("text", keep_linebreaks=True, data_files=...) ``` I'll update the documentation to explain this
As asked in #870 and https://github.com/huggingface/transformers/issues/10269 there should be a parameter to keep the linebreaks when loading a text dataset. cc @sgugger @jncasey
22
text: Add keep_linebreaks parameter to text loader As asked in #870 and https://github.com/huggingface/transformers/issues/10269 there should be a parameter to keep the linebreaks when loading a text dataset. cc @sgugger @jncasey Sure ! Here is an example: ```python from datasets import load_dataset load_dataset("text", keep_linebreaks=True, data_files=...) ``` I'll update the documentation to explain this
[ -0.4252622425556183, -0.27357569336891174, -0.024951791390776634, 0.170696422457695, 0.35824280977249146, -0.32086145877838135, 0.5388250946998596, 0.06591782718896866, 0.12163330614566803, 0.13465885818004608, 0.012797032482922077, 0.12831196188926697, 0.049305304884910583, 0.24507074058055878, -0.05849737673997879, -0.3158985674381256, -0.15253180265426636, 0.21732188761234283, -0.32621270418167114, 0.06267568469047546, -0.035535670816898346, 0.20378102362155914, -0.0011937692761421204, -0.2511349320411682, -0.48413461446762085, 0.19619904458522797, 0.1375855654478073, 0.05448354408144951, 0.051390327513217926, -0.1242499127984047, 0.1300876885652542, 0.2332940399646759, 0.025908783078193665, 0.33337533473968506, -0.00010235956142423674, 0.030406802892684937, 0.008832134306430817, -0.06083211302757263, -0.2704789638519287, -0.16409285366535187, -0.04119383543729782, -0.28460928797721863, 0.17080532014369965, -0.08983805030584335, -0.24755218625068665, 0.20335006713867188, -0.17560423910617828, 0.020769380033016205, 0.6491421461105347, 0.2221846729516983, 0.293139785528183, 0.5146394968032837, -0.12953773140907288, 0.008963579311966896, 0.1958707571029663, 0.14769461750984192, -0.11714600771665573, 0.01138883363455534, 0.04109799116849899, 0.21987441182136536, -0.23086154460906982, 0.39546555280685425, -0.13081979751586914, -0.13251665234565735, 0.16242894530296326, 0.13213004171848297, -0.055752865970134735, 0.05387729033827782, -0.11085236817598343, 0.36966532468795776, 0.22423022985458374, -0.3523808717727661, -0.32997971773147583, -0.5769562721252441, -0.0796913132071495, -0.13790513575077057, 0.21557071805000305, -0.007808240130543709, -0.16625119745731354, 0.20595334470272064, -0.32835808396339417, -0.43846064805984497, -0.22513271868228912, -0.18715451657772064, -0.26682913303375244, 0.21613116562366486, -0.14955253899097443, -0.24812772870063782, 0.24948424100875854, 0.03307501971721649, -0.1398254781961441, 0.08703204989433289, -0.0451999194920063, 0.062470439821481705, 0.06587959825992584, -0.18575061857700348, -0.31932759284973145, -0.1901218593120575, 0.13954749703407288, 0.08210952579975128, 0.03529949113726616, 0.11442245543003082, -0.034177351742982864, 0.011759966611862183, 0.09427548944950104, 0.13603724539279938, 0.13645385205745697, 0.027913536876440048, 0.3886280059814453, 0.1842195987701416, 0.06148284301161766, -0.30469459295272827, 0.05453777313232422, -0.21208395063877106, 0.05409582331776619, -0.09976860135793686, 0.3208712935447693, -0.0016057714819908142, 0.10683619230985641, -0.115116186439991, 0.27075204253196716, -0.1050756424665451, 0.007338537834584713, 0.25690704584121704, 0.05461607500910759, 0.2826113700866699, 0.23032031953334808, 0.14204475283622742, -0.1971782147884369, -0.2710903584957123, -0.29492709040641785, -0.2184022068977356, -0.04036488011479378, 0.11533799767494202, 0.18541593849658966, -0.1297646462917328, 0.1394229531288147, 0.15058593451976776, -0.04528065025806427, -0.04626292362809181, -0.27595433592796326, 0.08249001204967499, -0.12003175169229507, 0.23458002507686615, 0.0024757198989391327, 0.041350483894348145, 0.026963116601109505, -0.17052674293518066, -0.016700953245162964, 0.2053183913230896, -0.21712639927864075, -0.009431794285774231, -0.1303275227546692, 0.3206827640533447, -0.03629671037197113, -0.10030370950698853, -0.04461061209440231, -0.015449639409780502, 0.2761390209197998, -0.04288174584507942, 0.3143172264099121, -0.10190802812576294, -0.1754879504442215, 0.07124842703342438, 0.24593830108642578, 0.4597030282020569, -0.1720242202281952, -0.5028068423271179, 0.30774345993995667, -0.3102344870567322, 0.020472824573516846, 0.4836648404598236, -0.003062408184632659, 0.024197574704885483, -0.028789253905415535, 0.16433483362197876, 0.32283544540405273, -0.016121070832014084, -0.3456651270389557, 0.3911854326725006, -0.12403436005115509, 0.1994476616382599, 0.1280118077993393, -0.1510721892118454, 0.2815404236316681, 0.15509048104286194, 0.006015211343765259, 0.491333544254303, 0.15231680870056152, 0.40181851387023926, -0.17764773964881897, -0.14918382465839386, 0.04495646432042122, 0.06669716536998749, -0.056862082332372665, -0.006506182253360748, -0.20917382836341858, 0.2119319587945938, 0.4162028431892395, -0.06056354567408562, 0.1640508621931076, 0.09190939366817474, 0.1489366739988327, 0.09941129386425018, 0.04879208654165268, -0.1332685649394989, -0.4504460096359253, -0.11049649864435196, 0.035063862800598145, 0.1836329847574234, -0.2909165024757385, -0.2691938281059265, -0.14199018478393555, -0.04229583218693733, -0.06225487217307091, -0.19377167522907257, 0.17702695727348328, -0.0375516340136528, -0.16163985431194305, 0.051091331988573074, -0.06368929892778397, 0.3705970048904419, 0.04418395459651947, 0.4341193437576294, -0.3009008765220642, 0.3772795498371124, 0.10024843364953995, -0.17466533184051514, -0.1147351861000061, 0.15350034832954407, -0.06343516707420349, -0.07447169721126556, -0.1266835629940033, 0.5100106596946716, -0.03861408308148384, 0.4444270730018616, -0.4502335488796234, 0.09317997097969055, 0.418166846036911, -0.1302824169397354, 0.042561545968055725, 0.1672363579273224, -0.04029930382966995, -0.008729904890060425, -0.37110012769699097, 0.2877279818058014, -0.17270861566066742, 0.2966358959674835, 0.15741920471191406, -0.01742936670780182, 0.08139818906784058, -0.2749708294868469, -0.1401967704296112, -0.2741563320159912, 0.18714328110218048, -0.0254199355840683, 0.3816174566745758, 0.21591663360595703, -0.09540754556655884, -0.021049581468105316, 0.4924612045288086, -0.010688487440347672, 0.17559407651424408, 0.3637274503707886, -0.2875349223613739, 0.09230301529169083, -0.07913773506879807, 0.12317219376564026, -0.02072720229625702, 0.29136407375335693, -0.006399352103471756, 0.17777574062347412, 0.08212751895189285, -0.33346837759017944, 0.28586268424987793, 0.1488136649131775, -0.0002891499316319823, 0.2471092939376831, -0.014465667307376862, 0.04571382701396942, -0.43320271372795105, 0.012434601783752441, -0.3002026379108429, -0.09695165604352951, -0.22571279108524323, 0.14256760478019714, -0.07407677918672562, -0.14017993211746216, -0.451890230178833, -0.15575852990150452, -0.37499043345451355, -0.147304967045784, 0.12872403860092163, 0.17063793540000916, -0.3195006549358368, 0.26776638627052307, 0.2257101833820343, 0.3677785098552704, 0.2129521369934082, -0.13588550686836243, -0.21749967336654663, -0.11505494266748428, 0.037699244916439056, 0.1846541166305542, -0.044794030487537384, -0.049466636031866074, 0.06059893220663071, -0.0718839094042778, 0.19752033054828644, 0.05128108710050583, -0.06560694426298141, 0.22067628800868988, -0.024144168943166733, -0.01755804382264614, 0.1699097752571106, 0.35514914989471436, 0.2222193330526352, -0.21099743247032166, 0.17570887506008148, -0.3928784728050232, -0.11135644465684891, -0.03352538123726845, 0.06869913637638092, 0.07457911968231201, -0.33855995535850525, -0.24017128348350525, -0.04237455129623413, -0.5052333474159241, 0.30855119228363037, -0.09436342865228653, -0.019063696265220642, 0.41459786891937256, 0.1170775443315506, -0.03036254271864891, 0.07076716423034668, 0.15760475397109985, -0.010049835778772831, -0.08968311548233032, 0.25385069847106934, -0.18096554279327393, -0.2640761733055115, -0.3010719120502472, -0.01670146733522415, -0.08590550720691681, 0.08056343346834183, -0.3384745121002197, 0.1288175731897354, -0.3153461217880249, 0.03146428242325783, -0.005292870104312897, 0.25041547417640686, 0.2914484143257141, 0.0218347255140543, -0.10636952519416809, -0.11161908507347107, 0.1213921308517456, 0.19120720028877258, -0.24933075904846191, 0.07187514007091522, -0.2894505560398102, 0.2736080586910248, -0.10581816732883453, 0.3914129137992859, 0.03189821541309357, 0.12344485521316528, 0.0848102793097496, -0.18015548586845398, 0.30912479758262634, -0.07080831378698349, -0.2745201885700226, -0.19789017736911774, -0.043642401695251465, 0.06854908913373947, 0.26567280292510986, 0.3448058068752289, 0.2071313112974167, -0.031242508441209793, -0.42493537068367004, -0.0033262930810451508, -0.5827100872993469, 0.19163459539413452, 0.19191041588783264, 0.05035065859556198, -0.07164683192968369, 0.154912531375885, -0.005517559126019478, -0.14010384678840637, 0.04636097699403763, 0.2666057348251343, 0.04196111485362053, -0.23755577206611633, -0.11054956912994385, 0.3090263307094574, -0.44675564765930176, 0.0209074467420578, 0.19105951488018036, -0.044809866696596146, 0.09809590876102448, -0.3502732515335083, -0.14102505147457123, 0.06669957935810089, 0.7871668338775635, 0.17404773831367493, -0.20917485654354095, -0.14592236280441284, -0.12135335803031921, -0.35902318358421326, 0.13184711337089539, -0.20238043367862701, 0.045243144035339355, 0.37776705622673035, 0.3103923201560974, -0.2556217312812805, -0.18532158434391022, 0.17898695170879364, 0.07777414470911026, -0.1782064437866211, -0.2263103723526001, -0.23417320847511292, 0.12865233421325684, -0.2861500382423401, 0.1218409389257431, 0.15229454636573792, 0.191398486495018, -0.25450029969215393, 0.03590092435479164, 0.09690812230110168, -0.31999140977859497, 0.09501078724861145, 0.14522729814052582, 0.35332363843917847, -0.17628146708011627, -0.05788784101605415, 0.22779646515846252, 0.07809016853570938, -0.29164817929267883, 0.4784761667251587, -0.18164126574993134, -0.47231000661849976, -0.11372996121644974, -0.17230628430843353, 0.4183402955532074, 0.21215017139911652, 0.033115990459918976, 0.16705085337162018, 0.11156783252954483, 0.3312697410583496, -0.24699464440345764, -0.011268250644207, -0.020404787734150887, 0.06721990555524826, -0.1793808788061142, -0.32672181725502014, 0.4434664845466614, -0.208415225148201, 0.10828705132007599, 0.024279821664094925, 0.16614249348640442, -0.39883366227149963, 0.425300657749176, -0.06095663458108902, 0.8200410008430481, 0.07820148766040802, 0.3716050386428833, 0.11087886989116669, 0.1266927719116211, 0.5331859588623047, -0.2730073630809784, 0.027494162321090698, -0.23978333175182343, -0.052176058292388916, 0.020150164142251015, 0.1048470288515091, 0.07539954781532288, -0.13325132429599762, -0.34345126152038574, 0.030273841693997383, 0.09481100738048553, -0.11930593848228455, -0.10023496299982071, 0.25038933753967285, -0.40751585364341736, -0.4970559775829315, -0.3208869993686676, 0.0916861966252327, -0.010759972035884857, 0.16169601678848267, -0.06500011682510376, -0.004396001808345318, 0.2710626721382141, -0.3805747628211975, -0.25336456298828125, 0.11886516958475113, -0.019656721502542496, 0.015438574366271496, 0.40772557258605957, -0.17822502553462982, 0.10834173858165741, 0.2028077393770218, 0.34545886516571045, 0.24367518723011017, -0.243849515914917, 0.2276238352060318, -0.3140200972557068, -0.0029913955368101597, -0.11866050213575363, 0.2177318036556244, 0.2595749497413635, 0.020488884299993515, -0.23689180612564087, -0.20306098461151123, 0.18460537493228912, -0.3292810320854187, 0.19092926383018494, -0.27931249141693115, -0.16296251118183136, -0.6132408380508423, 0.22946514189243317, -0.05802015960216522, 0.18849816918373108, -0.29110848903656006, 0.1895160675048828, 0.08592155575752258, -0.02681753970682621, -0.10156048089265823, 0.3428541421890259, -0.2697911858558655, -0.22419901192188263, 0.5198157429695129, -0.036841750144958496, -0.13093073666095734, 0.37834835052490234, 0.49693554639816284, -0.25497472286224365, -0.3862806558609009, 0.1335631012916565, 0.28938260674476624, -0.6332874298095703, 0.23599570989608765, -0.03552614524960518, -0.19433487951755524, -0.05422648414969444, 0.48709169030189514, -0.08098733425140381, 0.01387012004852295, -0.07666700333356857, -0.309578001499176, -0.3450368642807007, 0.07907327264547348, 0.1715012639760971, 0.19375737011432648, 0.1951165795326233, 0.09055405855178833, 0.012250931933522224, 0.06166410446166992, -0.4172252416610718, 0.08835773915052414, 0.0171749759465456, -0.10929828882217407, 0.1606941521167755, -0.378440260887146, 0.39061737060546875, -0.1787354052066803, 0.1588096022605896, 0.24731825292110443, -0.07018040865659714, -0.3378029763698578, -0.4624183475971222, 0.041220858693122864, -0.14964032173156738, -0.15883974730968475, -0.18919850885868073, 0.2953947186470032, 0.08651445060968399, -0.21895357966423035, 0.5028574466705322, 0.12335192412137985, 0.036970868706703186, 0.32144948840141296, 0.03925558179616928, 0.21986335515975952, -0.2928154468536377, -0.1326167732477188, -0.14979849755764008, 0.20808114111423492, 0.27984705567359924, -0.03256116807460785, -0.3628308176994324, 0.13295374810695648, 0.015293332748115063, 0.26668882369995117, 0.5940979719161987, 0.22062233090400696, 0.23379749059677124, -0.06704108417034149, -0.1328403204679489, 0.07243883609771729, 0.36858034133911133, 0.10126370936632156, -0.3541477918624878, 0.05575045943260193, 0.01884809322655201, 0.3862208425998688, -0.22453735768795013, -0.0019811862148344517, 0.014496175572276115, -0.19649095833301544, 0.24400678277015686, 0.3393653333187103, -0.01931551843881607, -0.010437950491905212, 0.16854065656661987, 0.21697387099266052, 0.45193302631378174, -0.04791169613599777, 0.11664348840713501, 0.267183780670166, -0.10468102991580963, -0.06548811495304108, 0.1319567859172821, 0.23355285823345184, 0.21718242764472961, 0.12863925099372864, -0.2502928078174591, 0.17595797777175903, -0.42152905464172363, 0.15386413037776947, -0.034796975553035736, -0.17381200194358826, 0.054439984261989594, -0.0052590519189834595, -0.20729178190231323, -0.03148613125085831, 0.00041225552558898926, 0.23713529109954834, -0.10389415174722672, 0.06641534715890884, -0.17367269098758698, 0.21114574372768402, -0.19231826066970825, -0.3100322186946869, 0.05881877243518829, -0.0068978965282440186, -0.22794266045093536, -0.07447059452533722, 0.043745290488004684, -0.11991100013256073, 0.0219607874751091, 0.05834904685616493, 0.20147818326950073, -0.12137399613857269, 0.08120878785848618, -0.20760712027549744, 0.22692149877548218, -0.22030827403068542, 0.21538175642490387, 0.21999454498291016, 0.17631512880325317, 0.16657400131225586, 0.17127014696598053, 0.18219363689422607, 0.020077260211110115, 0.07356056571006775, 0.14446358382701874, -0.4206920862197876, -0.15737126767635345, -0.12117544561624527, 0.1583433449268341, 0.060793619602918625, 0.43968746066093445, 0.1765393316745758, 0.2590278685092926, -0.3618817627429962, 0.36777910590171814, -0.043732959777116776, -0.0902690440416336, -0.21911302208900452, 0.33545729517936707, 0.1459675431251526, -0.11596185714006424, -0.34928393363952637, -0.31336522102355957, -0.3156358003616333, -0.09633256494998932, 0.2532515823841095, -0.24760250747203827, 0.07047459483146667, -0.10838582366704941, 0.1457555741071701, 0.3251435160636902, 0.3750680088996887, 0.3428214192390442, 0.20423242449760437, 0.07659181207418442, -0.03475256636738777, -0.3677883446216583, 0.006440699100494385, 0.02023210935294628, 0.006331140175461769, 0.06700995564460754, -0.07317652553319931, 0.02667991816997528, 0.26677313446998596, -0.13295237720012665, 0.11037158966064453, -0.12420998513698578, -0.5198901891708374, -0.15589988231658936, 0.0729687511920929, 0.1267959475517273, 0.014313159510493279, 0.09160272777080536, -0.09564556181430817, 0.17959356307983398, 0.08171258866786957, 0.0911148265004158, -0.1539931744337082, 0.31886371970176697, 0.030052997171878815, -0.13240936398506165, -0.06403777003288269, 0.01844722405076027, 0.05562734976410866, -0.26146841049194336, -0.013917646370828152, 0.008756544440984726, -0.23366981744766235, -0.15733787417411804, -0.10729000717401505, 0.17975904047489166, 0.4121590256690979, -0.09455922991037369, -0.36823713779449463, -0.20087650418281555, 0.20022763311862946, 0.05090960115194321, -0.03997808322310448, -0.3316018581390381, 0.1333727091550827, -0.03918438404798508, -0.0891415923833847, -0.07560325413942337, 0.25037074089050293, -0.18841756880283356, -0.07423362880945206, 0.07396554946899414, -0.4477072060108185, 0.4401679039001465, -0.26998138427734375, -0.227647066116333, -0.1736658364534378, 0.1327819675207138, 0.19005075097084045, -0.10501175373792648, -0.8579110503196716, 0.13664355874061584, 0.10405545681715012, -0.08948823809623718, -0.37423837184906006, 0.30982479453086853, 0.26605507731437683, 0.06273104250431061, -0.1524619460105896, 0.6131941080093384, 0.20824959874153137, -0.19819585978984833, -0.06245393306016922, -0.24323879182338715 ]
https://github.com/huggingface/datasets/pull/1910
Adding CoNLLpp dataset.
It looks like this PR now includes changes to many other files than the ones for CoNLLpp. To fix that feel free to create another branch and another PR. This was probably caused by a git rebase. You can avoid this issue by using git merge if you've already pushed your branch.
52
text: Adding CoNLLpp dataset. It looks like this PR now includes changes to many other files than the ones for CoNLLpp. To fix that feel free to create another branch and another PR. This was probably caused by a git rebase. You can avoid this issue by using git merge if you've already pushed your branch.
[ -0.24541758000850677, -0.030034951865673065, -0.16065442562103271, -0.03674257546663284, 0.2962571382522583, -0.05947059392929077, -0.08224751055240631, 0.2126544564962387, -0.30617111921310425, 0.03739728778600693, 0.04811125248670578, 0.24104540050029755, 0.16058744490146637, 0.0815257579088211, 0.034268077462911606, 0.1328650265932083, 0.11866666376590729, 0.33519572019577026, 0.04785066097974777, -0.04744081571698189, -0.26016879081726074, 0.14675967395305634, 0.03242012858390808, 0.14297136664390564, -0.35169297456741333, -0.20917204022407532, -0.07133381813764572, 0.344133585691452, -0.13631324470043182, -0.39155057072639465, -0.08354806154966354, 0.15222316980361938, -0.2110687494277954, 0.023505471646785736, -0.00009486691851634532, 0.021927356719970703, 0.17354537546634674, -0.0485914871096611, -0.311391144990921, 0.19089017808437347, -0.27297335863113403, -0.3358513116836548, -0.03168254345655441, -0.15146729350090027, 0.040585748851299286, -0.04983169212937355, 0.001947019249200821, 0.13263016939163208, 0.1083030179142952, 0.38928258419036865, 0.4251890480518341, -0.05817417800426483, 0.1926351934671402, -0.3097965717315674, 0.369297057390213, 0.0423634797334671, -0.008535601198673248, -0.18835090100765228, 0.1806241273880005, 0.10155466198921204, 0.23053434491157532, 0.1251351535320282, 0.017703952267766, -0.18246154487133026, 0.1711326688528061, -0.21447768807411194, 0.28264307975769043, -0.2708722949028015, 0.19688546657562256, -0.1647571325302124, 0.306651771068573, -0.19423821568489075, -0.01836075820028782, -0.1575200855731964, 0.10236919671297073, -0.4468359351158142, 0.0725456103682518, 0.10932992398738861, -0.10148128867149353, 0.05907692015171051, 0.0005296312156133354, -0.372090607881546, 0.04380754381418228, -0.03139391541481018, 0.003995545208454132, 0.12305095046758652, -0.005528789013624191, 0.05160296708345413, 0.08423646539449692, 0.14438633620738983, -0.17205968499183655, 0.11852540075778961, -0.38915786147117615, -0.14933519065380096, 0.1697695553302765, 0.007019542157649994, 0.1069689616560936, -0.011673428118228912, 0.07420835644006729, 0.1810135841369629, -0.3493691086769104, -0.040997639298439026, -0.20067600905895233, 0.1334158182144165, 0.22520992159843445, 0.07150308787822723, 0.1367175579071045, 0.3828030526638031, 0.0538489930331707, -0.2063267081975937, 0.12725059688091278, -0.03916642814874649, 0.03458509221673012, -0.0195448137819767, -0.37283679842948914, -0.06627843528985977, 0.172150656580925, -0.18130682408809662, -0.1296003758907318, 0.09370532631874084, -0.024788206443190575, -0.14524470269680023, -0.28196489810943604, 0.18576368689537048, 0.1955631822347641, 0.06531825661659241, 0.12921133637428284, 0.12474238127470016, 0.046870067715644836, -0.000161818228662014, -0.3004591763019562, -0.05123147740960121, -0.3439234495162964, -0.0810554176568985, -0.039295777678489685, -0.18713591992855072, 0.30233877897262573, 0.0604410246014595, -0.1910877674818039, -0.2730371057987213, -0.050458766520023346, 0.24776814877986908, 0.12085922062397003, 0.3700474202632904, -0.10349865257740021, -0.02185218222439289, 0.1885814219713211, -0.25911062955856323, -0.04906732216477394, 0.37850555777549744, -0.13331112265586853, -0.25684624910354614, -0.2728150486946106, 0.37823349237442017, -0.05655336380004883, -0.12041103839874268, 0.10799824446439743, 0.13763852417469025, 0.10163448750972748, -0.04877937212586403, 0.1766783595085144, -0.03696214407682419, 0.05078857019543648, -0.07802750170230865, 0.079730324447155, 0.2291588932275772, -0.253601610660553, -0.11820627748966217, -0.05216091498732567, -0.33937546610832214, 0.2554468810558319, 0.2929006516933441, -0.1865556836128235, 0.2360510230064392, -0.17652276158332825, -0.005648322403430939, 0.3468475341796875, -0.1528012752532959, -0.2967567443847656, 0.0811724066734314, -0.2852948307991028, -0.1894395798444748, -0.16500967741012573, 0.07552942633628845, -0.049195170402526855, -0.1230434849858284, -0.08277022838592529, -0.360162615776062, 0.06715957820415497, 0.0759371742606163, -0.2997032105922699, -0.011814909987151623, -0.22840316593647003, -0.16958843171596527, 0.0025934241712093353, 0.4013963043689728, 0.05845625326037407, 0.0007405765354633331, 0.27826032042503357, -0.08630910515785217, 0.13748383522033691, 0.3621721863746643, 0.5079808831214905, 0.28113317489624023, -0.15449193120002747, -0.09707033634185791, 0.006251037120819092, -0.16463837027549744, -0.0054277703166007996, 0.22415630519390106, 0.16930311918258667, -0.13791710138320923, -0.24875539541244507, -0.06484552472829819, -0.17425455152988434, -0.4506262242794037, 0.3033718168735504, 0.31831908226013184, -0.2242855280637741, -0.23652169108390808, -0.011398658156394958, 0.14336074888706207, -0.03301597014069557, -0.11524403095245361, -0.0123705193400383, -0.08609933406114578, -0.3286345899105072, -0.08550850301980972, 0.024847380816936493, 0.2977364659309387, 0.055873386561870575, -0.03935374692082405, -0.04880889132618904, 0.24755555391311646, -0.07541321963071823, -0.1376701295375824, 0.4016755223274231, 0.025569036602973938, -0.0122374277561903, -0.014421861618757248, -0.21584022045135498, -0.38991209864616394, -0.03720547631382942, 0.006854332983493805, -0.10991431027650833, 0.06136332079768181, 0.4465658962726593, -0.297181099653244, -0.11781969666481018, -0.013664670288562775, 0.3781168460845947, -0.1873159259557724, 0.24560445547103882, -0.18576756119728088, -0.0029138848185539246, 0.5063524842262268, 0.1491815149784088, 0.08824402838945389, -0.2929019629955292, 0.18323349952697754, 0.24629534780979156, -0.15111422538757324, -0.037237152457237244, 0.23132768273353577, 0.04557422548532486, 0.033626556396484375, -0.14926812052726746, 0.14368289709091187, 0.21497751772403717, 0.3313339352607727, -0.07562403380870819, 0.15182529389858246, 0.1705465018749237, -0.2534330487251282, 0.3884197175502777, 0.24608659744262695, 0.07899335026741028, -0.006396204233169556, 0.21112628281116486, -0.02142827957868576, -0.25035083293914795, 0.029584120959043503, -0.00966525636613369, 0.46912965178489685, -0.08360904455184937, -0.12951557338237762, -0.3000759780406952, -0.23150959610939026, -0.09304133802652359, -0.09381600469350815, 0.0053724199533462524, -0.33075278997421265, 0.20646178722381592, -0.1727282851934433, -0.20401394367218018, 0.3978404104709625, 0.12327595055103302, 0.1452380120754242, -0.07432786375284195, 0.08717140555381775, -0.21366003155708313, -0.2121591717004776, -0.07993395626544952, 0.3148828148841858, 0.07289204746484756, -0.20082375407218933, 0.4611406624317169, -0.17342832684516907, -0.041195280849933624, -0.4147612154483795, -0.37901708483695984, 0.13025793433189392, -0.3201904296875, -0.15188798308372498, 0.20744678378105164, 0.17008037865161896, 0.11446380615234375, -0.2436537742614746, -0.04033666476607323, -0.04055448994040489, -0.3031723201274872, -0.23580938577651978, -0.15732036530971527, -0.12852980196475983, -0.365159809589386, -0.5077875256538391, -0.035612352192401886, -0.37811896204948425, 0.4883193373680115, 0.14562375843524933, 0.08688288182020187, 0.13085052371025085, -0.013761567883193493, 0.03682490065693855, 0.016163352876901627, 0.004085663706064224, -0.27853578329086304, -0.035866834223270416, -0.12818410992622375, -0.070933036506176, -0.1337084174156189, 0.2737732231616974, 0.21461890637874603, -0.10200847685337067, -0.15356287360191345, -0.5273895859718323, -0.03518878296017647, -0.08029595762491226, 0.44019949436187744, -0.01115046814084053, -0.1344439536333084, 0.2560458183288574, 0.23234760761260986, -0.37196528911590576, -0.14893564581871033, -0.3056944012641907, 0.004785038530826569, -0.1396762728691101, 0.3029016852378845, -0.42867743968963623, -0.018942940980196, -0.27579638361930847, 0.3357490301132202, 0.22526517510414124, -0.027565088123083115, 0.16939640045166016, -0.1833522915840149, 0.4703558087348938, -0.2298954427242279, -0.12334460020065308, 0.19001361727714539, -0.09796728193759918, -0.03005853295326233, 0.3854180574417114, -0.10373658686876297, -0.2870534658432007, 0.061091452836990356, -0.03636130318045616, -0.16269201040267944, -0.14015519618988037, -0.06195975840091705, 0.009151101112365723, 0.1527479588985443, 0.13221034407615662, -0.1997605860233307, -0.2326401025056839, -0.040517766028642654, -0.1016002893447876, 0.24507269263267517, -0.0037799999117851257, -0.002816945780068636, -0.18587927520275116, 0.03378520533442497, -0.2882189154624939, 0.15585041046142578, -0.10477469116449356, -0.18755120038986206, -0.27310243248939514, -0.057713404297828674, 0.14230036735534668, 0.03743516653776169, 0.3561393618583679, -0.07337961345911026, -0.33224427700042725, 0.027670569717884064, 0.20788468420505524, 0.15729638934135437, -0.14577580988407135, -0.2635824680328369, 0.37403604388237, 0.9469361901283264, 0.3885018825531006, -0.11709295213222504, -0.015654431656003, 0.20503462851047516, 0.04141436144709587, -0.014457449316978455, 0.000052111223340034485, -0.29925888776779175, -0.3131319284439087, -0.5330037474632263, -0.0063080862164497375, 0.11477486044168472, -0.020126020535826683, -0.05617840588092804, -0.07820725440979004, 0.23402327299118042, 0.15297731757164001, 0.014178596436977386, -0.11355692148208618, 0.30351534485816956, 0.1009662002325058, -0.1496225744485855, -0.18539927899837494, 0.2652599811553955, 0.48682427406311035, 0.534233033657074, -0.157957524061203, -0.08381979167461395, 0.18467092514038086, -0.3617635667324066, 0.20574739575386047, 0.15266458690166473, 0.2686499059200287, 0.17597632110118866, -0.0397941991686821, 0.22784453630447388, 0.022885289043188095, 0.16314759850502014, 0.26725542545318604, 0.08410181850194931, -0.2464793175458908, -0.30899566411972046, 0.15528534352779388, 0.012127716094255447, -0.18629419803619385, 0.16921240091323853, -0.23108552396297455, 0.0018398072570562363, -0.10417526215314865, 0.009674899280071259, 0.876224935054779, 0.10155609250068665, -0.018999356776475906, 0.1170724481344223, -0.35491442680358887, 0.25977811217308044, -0.17629662156105042, 0.12424147129058838, -0.3042317032814026, -0.07340181618928909, 0.1236020177602768, -0.10736604779958725, -0.010903432965278625, -0.08490803837776184, -0.3833238184452057, -0.06177849695086479, -0.12513825297355652, -0.17101562023162842, 0.2212015688419342, 0.18509770929813385, 0.21625283360481262, 0.08256328105926514, 0.006192953325808048, 0.28949642181396484, -0.07321774959564209, 0.2348824143409729, -0.11109452694654465, -0.22630494832992554, -0.17520442605018616, -0.06403923779726028, -0.5224792957305908, 0.11523518711328506, -0.03845307230949402, 0.05438430979847908, 0.15908434987068176, 0.014146268367767334, -0.1435156613588333, 0.21442607045173645, 0.26302284002304077, 0.16229355335235596, -0.11906971037387848, 0.3931064009666443, 0.11713974177837372, -0.005893867928534746, 0.007334605325013399, 0.12868589162826538, -0.058399759232997894, -0.20516157150268555, -0.4636521637439728, 0.06549718230962753, -0.3263096213340759, -0.21352069079875946, -0.43888065218925476, 0.21061168611049652, 0.06323419511318207, -0.03428510203957558, 0.16434411704540253, 0.31220048666000366, -0.14936575293540955, -0.42124614119529724, 0.2768325209617615, 0.02759791538119316, -0.042489517480134964, -0.02993970364332199, -0.04353689029812813, -0.39718762040138245, -0.2300579696893692, -0.09386678785085678, 0.11676394194364548, -0.05693451315164566, 0.52708899974823, -0.10813945531845093, -0.1598089039325714, -0.4008501172065735, -0.06266391277313232, -0.2741365432739258, -0.17078208923339844, 0.03380824998021126, 0.14193764328956604, -0.31941530108451843, 0.19492284953594208, 0.356363981962204, 0.10786564648151398, 0.23607733845710754, -0.21181714534759521, -0.09046278148889542, -0.4977268576622009, -0.257108211517334, -0.1690111756324768, 0.3085564970970154, 0.0035822540521621704, 0.5593625903129578, 0.2123197466135025, 0.3277267813682556, -0.5014268159866333, -0.03027341328561306, -0.3548296093940735, 0.2612515091896057, 0.08812422305345535, -0.22030994296073914, 0.12641586363315582, -0.1782584935426712, 0.23520541191101074, 0.04129781201481819, -0.251455694437027, -0.37237653136253357, 0.024008598178625107, 0.05851227790117264, -0.019188903272151947, -0.014173854142427444, -0.04705432802438736, 0.2399643510580063, 0.1826685220003128, 0.06273900717496872, 0.10812035202980042, 0.027279697358608246, -0.007982894778251648, 0.15911062061786652, -0.016256678849458694, 0.04508473351597786, 0.4114300608634949, -0.19931888580322266, 0.1186746284365654, 0.24024748802185059, -0.01979684829711914, 0.13340502977371216, -0.11999024450778961, -0.039896950125694275, 0.02654927223920822, 0.09939570724964142, 0.013204194605350494, 0.4984603524208069, 0.012338276952505112, -0.087465301156044, -0.041210874915122986, 0.15168343484401703, 0.12171021103858948, -0.03505628556013107, -0.13139308989048004, -0.1896795779466629, 0.05734153091907501, 0.41936013102531433, -0.343147337436676, -0.1000518724322319, 0.324197918176651, -0.09884627163410187, -0.004778459668159485, 0.15797728300094604, 0.16643065214157104, -0.311193585395813, 0.19956237077713013, 0.23278313875198364, 0.26163655519485474, -0.2357742339372635, 0.060707926750183105, 0.10710181295871735, -0.21769636869430542, -0.06093781068921089, 0.04975106567144394, 0.13150635361671448, -0.03212212771177292, 0.4555327892303467, 0.20504283905029297, 0.1234409511089325, 0.01674109324812889, -0.10009349882602692, 0.15263965725898743, -0.23270852863788605, 0.5268941521644592, 0.06917224079370499, -0.05866160988807678, 0.07249026745557785, 0.37002187967300415, 0.24189409613609314, -0.01020773034542799, -0.14010709524154663, -0.009648183360695839, 0.3727478086948395, -0.31945979595184326, 0.0662083625793457, -0.08776983618736267, -0.08297856897115707, 0.2712405323982239, 0.03159837797284126, 0.09584443271160126, 0.058578331023454666, 0.15201808512210846, 0.07482665032148361, -0.2594078779220581, -0.12701299786567688, 0.27880337834358215, -0.16253182291984558, 0.1273273229598999, -0.08179943263530731, 0.27242568135261536, 0.06572197377681732, -0.2148873507976532, 0.26467639207839966, 0.0609855055809021, 0.5032437443733215, 0.3098237216472626, 0.43192145228385925, 0.1261606514453888, 0.08267281949520111, -0.07485499978065491, -0.17582926154136658, 0.07837618887424469, 0.21064560115337372, 0.1625199168920517, 0.16528336703777313, 0.2873810827732086, -0.27649548649787903, 0.09220492839813232, 0.08716606348752975, 0.11875277757644653, 0.13471092283725739, 0.14863482117652893, -0.014881882816553116, -0.47153446078300476, -0.1501486450433731, 0.17759811878204346, -0.021932922303676605, 0.20802342891693115, 0.29050418734550476, -0.02716725878417492, 0.09730591624975204, -0.07771603018045425, 0.2167828232049942, 0.022209063172340393, 0.2991635799407959, 0.3666718602180481, 0.009201690554618835, -0.08483991026878357, -0.26157572865486145, -0.24688312411308289, 0.43780291080474854, -0.24885988235473633, -0.2642016112804413, -0.10403138399124146, -0.16897618770599365, 0.15702524781227112, -0.25099271535873413, 0.2119656652212143, -0.21637733280658722, -0.005409101024270058, -0.07259930670261383, -0.33166560530662537, 0.15954525768756866, 0.22851482033729553, 0.09678490459918976, 0.3219357132911682, 0.020652227103710175, 0.2449609935283661, 0.1926017850637436, 0.376488596200943, -0.19249486923217773, -0.06494489312171936, -0.05719545856118202, 0.31446608901023865, 0.026599831879138947, 0.3182606101036072, 0.37581971287727356, -0.37813901901245117, -0.04348553717136383, 0.136621356010437, -0.3408442735671997, -0.27879154682159424, 0.14911487698554993, 0.06794054806232452, 0.04365534335374832, -0.017094507813453674, -0.06499989330768585, -0.20829936861991882, 0.26143646240234375, 0.23044972121715546, 0.2688573896884918, -0.1617874801158905, 0.08368068933486938, 0.13119331002235413, 0.12362901866436005, 0.03580119088292122, 0.173166424036026, 0.19079911708831787, -0.09726402163505554, -0.355594277381897, -0.21333028376102448, 0.546413004398346, 0.18319012224674225, -0.32364657521247864, 0.05645113065838814, 0.13442587852478027, 0.08500833809375763, -0.016040610149502754, -0.42887020111083984, -0.14812259376049042, 0.3893556594848633, -0.0925302505493164, -0.5141263604164124, 0.09813334047794342, -0.325222909450531, -0.16936226189136505, 0.12117202579975128, 0.41430920362472534, 0.026459315791726112, -0.41005587577819824, 0.21054384112358093, -0.17707127332687378 ]
https://github.com/huggingface/datasets/pull/1905
Standardizing datasets.dtypes
Also - I took a stab at updating the docs, but I'm not sure how to actually check the outputs to see if it's formatted properly.
This PR was further branched off of jdy-str-to-pyarrow-parsing, so it depends on https://github.com/huggingface/datasets/pull/1900 going first for the diff to be up-to-date (I'm not sure if there's a way for me to use jdy-str-to-pyarrow-parsing as a base branch while having it appear in the pull requests here). This moves away from `str(pyarrow.DataType)` as the method of choice for creating dtypes, favoring an explicit mapping to a list of supported Value dtypes. I believe in practice this should be backward compatible, since anyone previously using Value() would only have been able to use dtypes that had an identically named pyarrow factory function, which are all explicitly supported here.
26
text: Standardizing datasets.dtypes This PR was further branched off of jdy-str-to-pyarrow-parsing, so it depends on https://github.com/huggingface/datasets/pull/1900 going first for the diff to be up-to-date (I'm not sure if there's a way for me to use jdy-str-to-pyarrow-parsing as a base branch while having it appear in the pull requests here). This moves away from `str(pyarrow.DataType)` as the method of choice for creating dtypes, favoring an explicit mapping to a list of supported Value dtypes. I believe in practice this should be backward compatible, since anyone previously using Value() would only have been able to use dtypes that had an identically named pyarrow factory function, which are all explicitly supported here. Also - I took a stab at updating the docs, but I'm not sure how to actually check the outputs to see if it's formatted properly.
[ -0.09037098288536072, -0.18103058636188507, -0.01837865635752678, -0.04923906922340393, 0.43400120735168457, -0.17147666215896606, 0.07085014879703522, 0.39038094878196716, -0.3953664302825928, 0.10935593396425247, -0.21878671646118164, 0.5000521540641785, -0.0029177190735936165, 0.2803761065006256, 0.09252358973026276, -0.2404254972934723, 0.20302069187164307, 0.2446262687444687, -0.02408851683139801, 0.15276381373405457, -0.11759267747402191, 0.2999415993690491, -0.061417389661073685, 0.3122366666793823, -0.09910966455936432, 0.050621941685676575, -0.006268003955483437, 0.017958126962184906, -0.31626611948013306, -0.4895462691783905, 0.21685312688350677, 0.1941322237253189, 0.1368367224931717, 0.08549243956804276, -0.0001094796898541972, -0.03225379064679146, 0.13469916582107544, -0.0462581031024456, 0.03950727730989456, 0.16385754942893982, 0.1300773322582245, -0.06039171665906906, 0.27041736245155334, 0.008306309580802917, -0.175689697265625, -0.5617790222167969, -0.0037444066256284714, -0.0007560811936855316, 0.14391756057739258, 0.16571089625358582, 0.24271176755428314, 0.05804397165775299, 0.30371370911598206, -0.004357256926596165, 0.22559094429016113, 0.45584094524383545, -0.046426329761743546, 0.6394709944725037, 0.2255440056324005, 0.1269070953130722, -0.08395346254110336, -0.1335737109184265, -0.049007318913936615, 0.07026628404855728, 0.46857187151908875, 0.07058236747980118, 0.13093158602714539, -0.178252175450325, 0.09965227544307709, 0.21328389644622803, 0.5663629174232483, -0.501396656036377, -0.12021682411432266, -0.10393069684505463, -0.1915750354528427, -0.42726415395736694, 0.020786859095096588, -0.05448836088180542, -0.3340184986591339, 0.2819364368915558, 0.08792699128389359, -0.08140307664871216, -0.18490350246429443, -0.0561930313706398, -0.17355091869831085, 0.20883825421333313, -0.03670022264122963, -0.01581982523202896, -0.006433635950088501, -0.1130736917257309, 0.14773854613304138, -0.12160788476467133, 0.05780855938792229, -0.07251569628715515, -0.017834734171628952, -0.23384663462638855, 0.13319751620292664, -0.033305659890174866, 0.26817387342453003, -0.18591833114624023, -0.014143197797238827, 0.2577785849571228, 0.16077084839344025, -0.03942542523145676, -0.14019109308719635, 0.040040239691734314, 0.14484082162380219, -0.13742204010486603, 0.3759315013885498, -0.02405960112810135, 0.42534154653549194, 0.14410066604614258, 0.20913366973400116, -0.2583409249782562, 0.0036491453647613525, 0.03676566481590271, 0.32709723711013794, -0.17466719448566437, -0.20764192938804626, -0.05704614520072937, -0.16039445996284485, -0.18800456821918488, -0.1385032683610916, 0.16717097163200378, 0.13400226831436157, 0.20002269744873047, -0.006618376821279526, 0.02415591850876808, -0.024708479642868042, -0.20817245543003082, -0.14142920076847076, -0.014391053467988968, -0.179754376411438, -0.10456621646881104, 0.01024467870593071, -0.00020046718418598175, -0.008288722485303879, 0.3552350401878357, 0.1485728770494461, 0.04403741657733917, -0.18331041932106018, 0.32256510853767395, 0.32688605785369873, 0.11938552558422089, -0.4530912935733795, -0.14504671096801758, 0.18213535845279694, -0.23964278399944305, -0.3522047996520996, 0.42167118191719055, -0.03713991492986679, -0.3744170665740967, -0.36816030740737915, 0.21371585130691528, -0.3219607472419739, -0.21230414509773254, -0.22459664940834045, 0.5561369061470032, -0.07122486084699631, -0.11038355529308319, 0.36069098114967346, -0.2474246472120285, 0.16582699120044708, -0.4523027241230011, 0.18708205223083496, 0.07575026899576187, -0.7218781113624573, -0.043606147170066833, 0.26543429493904114, -0.37577423453330994, 0.3365027606487274, 0.028475772589445114, -0.37449854612350464, 0.08138736337423325, -0.12875491380691528, 0.26726818084716797, 0.09585338830947876, -0.07935597002506256, 0.03758992627263069, 0.05206628888845444, 0.12793375551700592, -0.11628100275993347, 0.1326262503862381, -0.17800317704677582, 0.27831077575683594, 0.0064756181091070175, -0.04152095317840576, -0.08913157135248184, -0.11588816344738007, 0.025141337886452675, -0.16029216349124908, 0.10508839786052704, 0.27676039934158325, 0.003992542624473572, -0.06815309822559357, -0.0881793424487114, 0.007321082055568695, -0.1644211858510971, 0.28540003299713135, -0.26933255791664124, 0.1564730405807495, -0.13427728414535522, 0.37835851311683655, 0.14802774786949158, 0.04980532452464104, -0.059750109910964966, -0.48212897777557373, -0.06373338401317596, -0.33427122235298157, 0.25833404064178467, -0.11312000453472137, -0.40492212772369385, -0.1262652724981308, -0.0024993475526571274, -0.04136435315012932, -0.13862760365009308, 0.09921711683273315, -0.018620260059833527, -0.001053033396601677, 0.10206101834774017, -0.20798510313034058, -0.1188725009560585, -0.05293174460530281, 0.2718028724193573, 0.01102849468588829, 0.2778814136981964, -0.1013655886054039, -0.15796813368797302, -0.06163027137517929, 0.3161132037639618, -0.07199127227067947, -0.2818929851055145, -0.012494958937168121, 0.5051932334899902, 0.2369251549243927, -0.06345197558403015, -0.15096503496170044, 0.3706318438053131, 0.30479729175567627, -0.16419431567192078, 0.2557271122932434, 0.10623043775558472, 0.06008406728506088, 0.016776487231254578, -0.2933230400085449, 0.5951786637306213, 0.11390802264213562, -0.16398698091506958, -0.1208612471818924, -0.1822381168603897, 0.19549739360809326, 0.16938722133636475, -0.1787409782409668, 0.06525282561779022, -0.4123364984989166, -0.032774753868579865, 0.09254239499568939, 0.15872074663639069, -0.7502044439315796, 0.3393265902996063, 0.2797018885612488, -0.3103087842464447, 0.07234057784080505, 0.29248419404029846, -0.11248243600130081, -0.3660205900669098, 0.24228836596012115, -0.13219980895519257, 0.2293497920036316, 0.25414183735847473, 0.11889617890119553, 0.0791679322719574, 0.012043816037476063, -0.14589737355709076, 0.4368951618671417, 0.1140233501791954, -0.10136160254478455, 0.14568035304546356, 0.11755041033029556, 0.07846046984195709, -0.5135989189147949, -0.054840460419654846, -0.02853218838572502, 0.27335506677627563, -0.3381458818912506, -0.081377774477005, -0.2063494324684143, -0.2694244682788849, -0.2754844129085541, -0.13243384659290314, -0.20872047543525696, -0.4288981258869171, 0.07049408555030823, -0.013568058609962463, -0.12528374791145325, 0.3375278413295746, 0.31192082166671753, 0.5269783735275269, -0.050407975912094116, -0.18340933322906494, -0.29906392097473145, -0.08412963896989822, -0.28123170137405396, 0.14080804586410522, -0.006885279901325703, -0.05894799903035164, 0.28306278586387634, -0.18411417305469513, 0.07865220308303833, -0.5440139770507812, -0.7908083200454712, 0.15956750512123108, -0.49137675762176514, 0.004275155253708363, 0.48103758692741394, 0.023477278649806976, 0.04182721674442291, -0.03348393365740776, -0.006704005878418684, -0.25680115818977356, -0.38736721873283386, -0.031862080097198486, -0.20253795385360718, 0.03842083364725113, -0.2228304147720337, -0.43201103806495667, -0.009030409157276154, -0.3315223753452301, 0.2894588112831116, -0.1685473471879959, 0.1453026831150055, 0.07386612147092819, -0.011292336508631706, 0.14389511942863464, -0.0945502370595932, -0.07892432808876038, -0.18157027661800385, -0.06706546992063522, 0.060278721153736115, -0.1725037842988968, -0.1509474664926529, 0.10921993851661682, 0.10348038375377655, -0.05630740150809288, -0.20096296072006226, -0.10450825095176697, -0.35901162028312683, -0.128345787525177, 0.7320741415023804, 0.1310928910970688, 0.12156862765550613, 0.25102344155311584, 0.29793038964271545, -0.15793924033641815, 0.13011902570724487, -0.4686095118522644, -0.3037181496620178, -0.0416707769036293, -0.006999902427196503, 0.37746185064315796, 0.207933247089386, -0.07406263053417206, 0.48755544424057007, 0.012997288256883621, -0.4105866253376007, 0.11127375811338425, -0.2677774131298065, 0.5158451199531555, -0.15722185373306274, 0.06472968310117722, 0.15124645829200745, -0.0674659013748169, 0.093775175511837, 0.3265758752822876, -0.1267048716545105, -0.1330503225326538, 0.025519907474517822, -0.02857021801173687, -0.12514594197273254, -0.2592168152332306, 0.14133840799331665, -0.08247797191143036, 0.13482800126075745, -0.04650614410638809, -0.02926565706729889, -0.13598985970020294, 0.03676014393568039, 0.190887913107872, 0.2160833477973938, -0.018956966698169708, 0.043616216629743576, -0.17503422498703003, 0.22389130294322968, -0.6142615079879761, 0.39952605962753296, -0.011741863563656807, 0.07820230722427368, 0.042786967009305954, -0.35172271728515625, 0.14899566769599915, 0.02562141977250576, 0.5241757035255432, -0.07362189143896103, -0.04220062494277954, -0.021042892709374428, -0.04478960111737251, 0.1471051275730133, -0.12710419297218323, -0.16032364964485168, 0.12498291581869125, -0.0111827552318573, 0.2506566345691681, -0.4681903123855591, -0.5288466215133667, 0.39594510197639465, -0.12449323385953903, -0.010083939880132675, -0.012245230376720428, -0.11891065537929535, -0.3577735424041748, 0.020547324791550636, 0.0001719146966934204, 0.267361044883728, 0.1418142020702362, -0.0494968444108963, 0.13202792406082153, 0.07476657629013062, 0.01235973834991455, 0.13467314839363098, 0.31188422441482544, 0.24033722281455994, -0.028414586558938026, -0.33989423513412476, -0.021732207387685776, 0.04680591821670532, 0.22287224233150482, 0.2582831084728241, -0.2732138931751251, -0.40754085779190063, 0.21927306056022644, -0.027331985533237457, 0.4670535922050476, 0.2951408326625824, -0.14207428693771362, -0.1756500005722046, -0.1318761110305786, 0.04235243424773216, -0.2934720516204834, 0.06976659595966339, 0.3160032331943512, 0.13432829082012177, -0.3275013566017151, -0.15615962445735931, 0.30919116735458374, 0.17606961727142334, -0.3174438774585724, -0.09589222073554993, 0.5189545750617981, -0.27495160698890686, 0.19201086461544037, 0.3611469864845276, 0.9688096046447754, -0.0344463512301445, 0.3574731647968292, 0.6220478415489197, -0.4039347171783447, 0.3791692554950714, -0.06557127833366394, 0.027450818568468094, -0.4493388533592224, 0.13733357191085815, -0.13572649657726288, -0.1142987608909607, 0.0444558784365654, 0.033543676137924194, -0.273610919713974, 0.08705539256334305, 0.040683045983314514, 0.4331194758415222, 0.2943313419818878, 0.20541489124298096, 0.029380522668361664, -0.02161814272403717, -0.01259925588965416, 0.14867602288722992, -0.3904905319213867, -0.13857004046440125, -0.19789943099021912, -0.29990530014038086, -0.0019621960818767548, -0.21866098046302795, -0.3496835231781006, -0.27914825081825256, 0.08332943171262741, -0.1280214786529541, 0.38289809226989746, -0.16895011067390442, 0.14396750926971436, 0.14087416231632233, 0.23837080597877502, -0.0666147768497467, -0.11860616505146027, -0.1552819013595581, -0.164743572473526, 0.2813275158405304, 0.0528840608894825, -0.04250185936689377, 0.49167296290397644, 0.05564422905445099, 0.04300222545862198, 0.11697869002819061, 0.02286907285451889, -0.06748976558446884, -0.4541289508342743, -0.030896522104740143, -0.1149420291185379, -0.579140305519104, 0.25945818424224854, -0.22231420874595642, -0.046909671276807785, -0.2047015130519867, 0.1294715851545334, 0.06479954719543457, -0.18835914134979248, 0.14373235404491425, -0.04062226042151451, -0.23285038769245148, -0.11380933225154877, -0.03990717977285385, 0.045870378613471985, -0.07606774568557739, -0.10323876142501831, 0.25896796584129333, -0.2965964674949646, -0.1913357377052307, 0.05328492075204849, 0.3506993055343628, -0.41866329312324524, 0.3107722997665405, -0.1438896507024765, -0.11036226153373718, 0.033990878611803055, 0.4615124464035034, 0.43033289909362793, 0.32371392846107483, -0.08193337917327881, 0.056891925632953644, -0.17951840162277222, 0.15420588850975037, -0.09529495239257812, 0.4740983247756958, 0.042114391922950745, 0.44382137060165405, 0.0700114518404007, -0.2505697011947632, -0.3803066909313202, 0.13164405524730682, 0.29953792691230774, -0.03462156653404236, -0.0037976447492837906, -0.15748798847198486, 0.08614906668663025, -0.002461508382111788, 0.13253304362297058, 0.012374458834528923, -0.1735435575246811, -0.14367300271987915, -0.13366596400737762, 0.14336684346199036, -0.07603275030851364, 0.04926619678735733, 0.14359574019908905, 0.13372695446014404, -0.2225254625082016, 0.033769845962524414, 0.22852879762649536, 0.12767288088798523, -0.2153274565935135, 0.3379456400871277, 0.466067373752594, 0.09086500108242035, 0.3474729657173157, -0.10365788638591766, 0.2986961603164673, 0.40681225061416626, 0.09345901012420654, 0.16012050211429596, -0.3872527778148651, -0.10238522291183472, 0.12012815475463867, 0.5692967176437378, 0.35133498907089233, -0.1685125231742859, 0.32593393325805664, -0.08914324641227722, -0.2748175859451294, -0.24621006846427917, 0.5235841274261475, 0.3035452663898468, -0.12732522189617157, -0.20531171560287476, 0.14753380417823792, 0.1722177118062973, -0.264351487159729, -0.010813385248184204, 0.03678824007511139, 0.12816286087036133, -0.03365500643849373, 0.2984244227409363, 0.28346604108810425, 0.22590896487236023, -0.09327104687690735, 0.026962731033563614, 0.5972623229026794, -0.1134829968214035, -0.046838682144880295, 0.2255300134420395, -0.16390664875507355, 0.025704525411128998, 0.8667866587638855, 0.402116060256958, 0.1853891909122467, 0.018308088183403015, 0.005195558071136475, 0.23984357714653015, -0.1629503071308136, -0.06141417846083641, 0.2112298309803009, -0.19536426663398743, 0.14432640373706818, 0.2475917488336563, -0.038826823234558105, -0.01290065050125122, 0.34627944231033325, 0.5113798975944519, 0.05825318768620491, -0.20170623064041138, -0.042287327349185944, 0.25156813859939575, -0.26720571517944336, -0.15872354805469513, 0.16049730777740479, -0.2788557708263397, -0.13359355926513672, -0.14795687794685364, -0.31366002559661865, -0.18796221911907196, 0.6890398263931274, -0.046760402619838715, 0.06480220705270767, -0.41565343737602234, 0.3202950358390808, -0.3327506482601166, 0.24274468421936035, 0.027579445391893387, 0.15471163392066956, 0.1184690073132515, -0.3220159113407135, -0.01751314103603363, 0.34449008107185364, 0.511279821395874, 0.09906698018312454, -0.3563753664493561, -0.23633742332458496, -0.48608794808387756, 0.06886586546897888, 0.08503603935241699, 0.1669008433818817, 0.11748746782541275, -0.030724238604307175, 0.13917642831802368, 0.23580071330070496, -0.0007232790812849998, 0.14363570511341095, 0.06905015558004379, -0.048019904643297195, -0.019855450838804245, 0.34275272488594055, 0.21651828289031982, -0.1778952181339264, 0.21526199579238892, 0.19145527482032776, -0.24563968181610107, -0.26567524671554565, 0.2555653154850006, 0.31363216042518616, -0.08934272825717926, -0.19336286187171936, 0.10551382601261139, 0.381032794713974, 0.3384157717227936, 0.2404501736164093, 0.234037846326828, -0.24559912085533142, 0.06695537269115448, -0.3070344030857086, 0.14003783464431763, 0.353683739900589, -0.08643292635679245, 0.05771497264504433, 0.1436849981546402, 0.33667439222335815, -0.005016103386878967, -0.03464376926422119, -0.09901928156614304, -0.1076585128903389, -0.28430405259132385, -0.0668213814496994, 0.09574326872825623, 0.03725169599056244, -0.09764020889997482, -0.08215294778347015, -0.07400114834308624, 0.2884005904197693, -0.06613349914550781, 0.07715637236833572, -0.5531318783760071, 0.11497116088867188, 0.18159796297550201, -0.13197483122348785, 0.020747315138578415, 0.31410396099090576, -0.004144296050071716, 0.09878035634756088, -0.11034965515136719, 0.07480091601610184, -0.10909688472747803, -0.2863037586212158, 0.5150592923164368, -0.2866072654724121, -0.03492722660303116, 0.054444484412670135, -0.2997855842113495, -0.35762494802474976, -0.004604651592671871, 0.010706238448619843, -0.07519160211086273, -0.519110918045044, 0.2974512279033661, -0.18269747495651245, -0.20946289598941803, 0.044314365833997726, 0.2808704376220703, 0.03486606106162071, 0.2314964234828949, -0.40518027544021606, -0.4332120716571808, 0.42533981800079346, -0.18984650075435638, -0.1971024125814438, -0.008030151948332787, 0.10631388425827026, 0.17494049668312073, -0.01853528805077076, -0.5843480825424194, 0.06594040244817734, 0.2621036767959595, 0.04533635824918747, -0.4786224961280823, 0.3138924241065979, -0.14059670269489288, -0.13881972432136536, -0.24313300848007202, 0.4472024738788605, -0.0672086626291275, 0.07358693331480026, -0.2643738389015198, -0.5111863613128662 ]
https://github.com/huggingface/datasets/pull/1903
Initial commit for the addition of TIMIT dataset
@lhoestq Thank you so much for your comments and for patiently reviewing the code. Have _hopefully_ included all the suggested changes. Let me know if any more changes are required. Sorry the code had lots of silly errors from my side!:' Will be more careful from next time! :)
Below points needs to be addressed: - Creation of dummy dataset is failing - Need to check on the data representation - License is not creative commons. Copyright: Portions © 1993 Trustees of the University of Pennsylvania Also the links (_except the download_) point to the ami corpus! ;-) @patrickvonplaten Requesting your comments, will be happy to address them!
49
text: Initial commit for the addition of TIMIT dataset Below points needs to be addressed: - Creation of dummy dataset is failing - Need to check on the data representation - License is not creative commons. Copyright: Portions © 1993 Trustees of the University of Pennsylvania Also the links (_except the download_) point to the ami corpus! ;-) @patrickvonplaten Requesting your comments, will be happy to address them! @lhoestq Thank you so much for your comments and for patiently reviewing the code. Have _hopefully_ included all the suggested changes. Let me know if any more changes are required. Sorry the code had lots of silly errors from my side!:' Will be more careful from next time! :)
[ -0.17082449793815613, -0.0661383643746376, -0.19880490005016327, -0.05688357353210449, 0.10422157496213913, -0.053036488592624664, 0.0494033619761467, 0.10300049185752869, -0.39869290590286255, 0.016872920095920563, 0.05724896490573883, 0.20841093361377716, 0.0386398546397686, 0.28407689929008484, 0.18928560614585876, -0.05464237928390503, 0.01993226259946823, 0.09455312043428421, -0.2574421763420105, -0.11258988082408905, -0.16281671822071075, 0.3099271059036255, -0.10586079955101013, -0.0993230789899826, -0.09506762027740479, 0.04091150313615799, -0.22755704820156097, 0.22488915920257568, -0.159176304936409, -0.30591899156570435, -0.05054836720228195, 0.2635575234889984, -0.3859032094478607, 0.3718532919883728, -0.00010063546505989507, -0.030592985451221466, 0.2860472798347473, -0.12069729715585709, -0.13411660492420197, 0.28966790437698364, 0.028609812259674072, 0.0516587495803833, -0.28983214497566223, -0.13357889652252197, -0.2574881911277771, 0.1585768610239029, -0.04428424686193466, -0.23971417546272278, 0.1819920390844345, 0.16162046790122986, 0.35279974341392517, 0.10163220018148422, 0.4897872805595398, -0.21616066992282867, 0.18667049705982208, 0.332475483417511, -0.1565466970205307, 0.08105456829071045, 0.15357181429862976, -0.020193394273519516, 0.21430784463882446, 0.1103060245513916, 0.13381518423557281, -0.1954682320356369, 0.1857142150402069, -0.22225145995616913, 0.23171013593673706, -0.30904823541641235, 0.0031127259135246277, -0.12694546580314636, 0.9379153847694397, -0.27212491631507874, -0.29531747102737427, 0.33639633655548096, 0.03558138757944107, 0.09862247109413147, 0.08636608719825745, 0.1307651400566101, 0.019589070230722427, 0.13298951089382172, -0.0895138531923294, -0.1386442631483078, -0.44643187522888184, 0.11900117993354797, 0.005674682557582855, -0.2961658239364624, -0.0671117976307869, 0.055732063949108124, -0.08426639437675476, -0.019470423460006714, -0.2206573635339737, 0.07830274105072021, -0.13412882387638092, 0.08638713508844376, 0.26135358214378357, -0.37997040152549744, 0.0017048045992851257, -0.17517387866973877, 0.294464647769928, 0.35385966300964355, 0.10520537942647934, -0.014099586755037308, -0.21953286230564117, -0.028492972254753113, 0.08229175955057144, 0.01227356307208538, -0.23367264866828918, 0.026387345045804977, 0.14123870432376862, -0.13706785440444946, 0.018246177583932877, 0.044077154248952866, -0.04073069989681244, -0.05980660393834114, 0.02020294964313507, 0.009877042844891548, 0.08520641922950745, -0.3616521656513214, -0.2798118591308594, 0.1643275022506714, -0.1102805808186531, -0.017838021740317345, -0.17952969670295715, 0.34069016575813293, 0.008393360301852226, -0.05050881952047348, 0.1539747714996338, 0.19330520927906036, -0.1359008401632309, -0.0760669857263565, -0.22247031331062317, 0.07629361748695374, -0.21452884376049042, -0.3400518000125885, 0.22809667885303497, -0.04903760924935341, 0.244785875082016, -0.011075686663389206, 0.08566740155220032, 0.09649206697940826, 0.04661483317613602, -0.0639217346906662, 0.23921442031860352, 0.2757914066314697, -0.05827503651380539, -0.09025520086288452, -0.09748171269893646, 0.0007125958800315857, -0.023054957389831543, 0.15252143144607544, -0.018181905150413513, -0.057959768921136856, -0.22140024602413177, 0.3138960599899292, -0.1576015204191208, -0.19332469999790192, 0.19661357998847961, 0.19908404350280762, 0.06998895108699799, 0.04187694564461708, -0.08080830425024033, 0.165326327085495, -0.1147744432091713, -0.23607830703258514, 0.34521764516830444, 0.5675379633903503, -0.5464507341384888, 0.09742401540279388, 0.033125992864370346, -0.24828162789344788, 0.17234164476394653, 0.25952664017677307, 0.05604489892721176, 0.38192880153656006, -0.10805871337652206, 0.17013679444789886, -0.006174005568027496, -0.10401451587677002, -0.22557219862937927, 0.008628330193459988, -0.18085217475891113, -0.31138259172439575, -0.05560537427663803, 0.06063429266214371, -0.1623619794845581, -0.10660816729068756, 0.03775037080049515, 0.0723542794585228, -0.018534937873482704, 0.018194427713751793, -0.4328290522098541, -0.13615229725837708, -0.069223552942276, 0.17550525069236755, 0.060107454657554626, -0.03130894899368286, 0.16043156385421753, 0.08967922627925873, 0.13419029116630554, -0.050920408219099045, 0.13910523056983948, 0.3041614294052124, 0.4870856702327728, -0.03978011757135391, 0.013414645567536354, -0.0948806181550026, 0.25871846079826355, -0.20139914751052856, 0.027463365346193314, 0.5112821459770203, 0.19407376646995544, 0.11828090250492096, -0.4922664165496826, 0.0110499057918787, -0.1433200240135193, -0.09961986541748047, 0.31250712275505066, 0.21592743694782257, -0.10995523631572723, 0.13077569007873535, 0.016162361949682236, 0.18886703252792358, -0.13770262897014618, -0.11196347326040268, -0.1389760822057724, 0.1180671751499176, -0.35051459074020386, -0.04064873233437538, 0.049636632204055786, 0.28312161564826965, -0.024581849575042725, -0.1855858713388443, -0.0018377071246504784, 0.29260727763175964, -0.12962867319583893, 0.10959131270647049, 0.31223002076148987, -0.022753208875656128, 0.22928714752197266, -0.5357938408851624, 0.09293998777866364, -0.0033890269696712494, 0.15705105662345886, -0.14700548350811005, -0.04851474612951279, 0.03414908051490784, -0.27899134159088135, -0.3711162209510803, -0.09185894578695297, -0.038160935044288635, 0.07860159873962402, -0.1363053023815155, -0.029989272356033325, -0.2506469786167145, 0.2582976818084717, 0.21648000180721283, -0.04500308260321617, -0.29368576407432556, -0.012185648083686829, 0.17006033658981323, -0.020465057343244553, -0.16352616250514984, -0.007734701037406921, 0.04096178337931633, -0.14338910579681396, 0.13637325167655945, -0.05227716267108917, 0.0382624976336956, 0.19067621231079102, 0.2761085033416748, -0.022433612495660782, -0.10841970890760422, 0.08837547898292542, -0.04537545144557953, 0.40410012006759644, -0.07329824566841125, -0.3362544775009155, 0.18837594985961914, -0.028798190876841545, 0.0669131651520729, -0.36109858751296997, 0.07772906124591827, -0.024620521813631058, 0.34272655844688416, -0.32520821690559387, -0.29099398851394653, 0.16186393797397614, -0.274909645318985, 0.02532319538295269, 0.1716596931219101, 0.18881124258041382, -0.14182531833648682, 0.16611617803573608, 0.29112619161605835, -0.3085995614528656, 0.16829326748847961, -0.10925249755382538, 0.17891907691955566, 0.012493612244725227, 0.10697117447853088, -0.143328458070755, -0.039286572486162186, -0.09392201155424118, 0.3579894006252289, 0.1864156872034073, 0.08083271235227585, 0.6076700687408447, -0.48110732436180115, 0.20693695545196533, -0.10851440578699112, -0.39153990149497986, 0.16386353969573975, -0.3184860348701477, 0.335813045501709, 0.18146902322769165, 0.33081722259521484, -0.20063941180706024, -0.15893539786338806, 0.1324862688779831, -0.218317911028862, -0.39741337299346924, 0.03828518092632294, 0.007014939561486244, -0.2978137135505676, -0.42702800035476685, -0.5130717158317566, 0.014834568835794926, -0.25371575355529785, 0.2855571508407593, 0.17697860300540924, 0.06862781196832657, 0.42335957288742065, 0.20983855426311493, 0.06019746884703636, 0.3151271343231201, 0.16957411170005798, -0.45513755083084106, -0.3097202479839325, 0.2773611843585968, -0.2834490239620209, -0.48145386576652527, 0.1926366090774536, 0.074681855738163, 0.012984704226255417, -0.053687576204538345, -0.3820464015007019, -0.04209514707326889, 0.18069642782211304, 0.008985098451375961, -0.1446608304977417, 0.1918369084596634, 0.16925176978111267, 0.1804853230714798, -0.3450774848461151, -0.2779404819011688, -0.048084236681461334, 0.08436766266822815, 0.0868404358625412, 0.19560283422470093, -0.01063879206776619, 0.17390534281730652, -0.15373891592025757, 0.5721271634101868, 0.28887736797332764, 0.050479110330343246, 0.39385300874710083, 0.04552147537469864, 0.39228829741477966, 0.06019056588411331, -0.29134273529052734, 0.24595393240451813, 0.22666269540786743, 0.012035265564918518, 0.16289657354354858, 0.0016438933089375496, -0.24005292356014252, -0.040822673588991165, 0.20066051185131073, -0.16156822443008423, -0.2293986678123474, 0.06381547451019287, -0.24873122572898865, 0.28471019864082336, -0.05342738330364227, -0.10162554681301117, -0.12531132996082306, -0.007776267826557159, 0.12748503684997559, 0.07696933299303055, 0.06647923588752747, -0.12314355373382568, -0.38469892740249634, 0.0855436697602272, -0.5079335570335388, 0.054969482123851776, -0.00589065020903945, 0.20812074840068817, -0.3425963819026947, -0.18318653106689453, 0.1352834552526474, 0.0646408349275589, 0.5635428428649902, -0.49847960472106934, -0.21910564601421356, 0.20646712183952332, 0.31658780574798584, -0.1266416311264038, 0.09949009120464325, -0.3145120143890381, 0.23180042207241058, 0.11464773118495941, 0.0018466487526893616, -0.32972729206085205, 0.045445092022418976, 0.19083939492702484, 0.14222000539302826, -0.040010966360569, -0.002171464264392853, -0.10789866745471954, -0.39999303221702576, -0.33677807450294495, 0.1470233052968979, 0.21886013448238373, -0.033426687121391296, 0.18767988681793213, -0.022726042196154594, 0.08181685209274292, 0.13073575496673584, 0.3105790615081787, 0.08567580580711365, 0.4021628201007843, 0.10082809627056122, 0.20505265891551971, 0.035645075142383575, -0.2810438275337219, 0.40066778659820557, 0.3494647443294525, -0.05951875075697899, 0.2097039371728897, 0.18724918365478516, -0.36914393305778503, 0.2083318829536438, 0.13322700560092926, 0.17910867929458618, -0.21614393591880798, -0.1874365508556366, 0.005271531641483307, -0.24536150693893433, 0.2754780352115631, 0.1393650323152542, -0.09175211936235428, -0.14867867529392242, -0.3109475076198578, -0.176251620054245, -0.17060664296150208, -0.07343224436044693, 0.29015016555786133, 0.1125708520412445, -0.16030456125736237, 0.41596198081970215, 0.3051717281341553, 1.0173959732055664, 0.08609550446271896, -0.02385077252984047, 0.0476202517747879, 0.010354168713092804, -0.12959010899066925, -0.30832356214523315, -0.02839086204767227, -0.39150792360305786, 0.05204975977540016, -0.03467094525694847, -0.16983304917812347, -0.20971280336380005, 0.08479268103837967, -0.4062096178531647, -0.14562654495239258, 0.1149682104587555, 0.2527826130390167, 0.1252230554819107, 0.33506110310554504, 0.1215825229883194, 0.04281461983919144, 0.5082981586456299, 0.2920432388782501, 0.02966626174747944, 0.16826274991035461, -0.08848385512828827, -0.36693519353866577, -0.2800700068473816, 0.054352693259716034, -0.4969170093536377, 0.02525549754500389, -0.35771772265434265, -0.03187108412384987, -0.10496771335601807, -0.2573680281639099, 0.35693493485450745, -0.0411304272711277, 0.46890348196029663, 0.2700350880622864, -0.2766916751861572, -0.06266060471534729, 0.2690747082233429, -0.09567656368017197, 0.06380537152290344, 0.1767384260892868, 0.08382007479667664, -0.30721381306648254, -0.28650975227355957, 0.08694055676460266, -0.12814059853553772, -0.1184491217136383, -0.27855172753334045, -0.21205027401447296, 0.12261667847633362, -0.5120074152946472, 0.2460736185312271, 0.27415186166763306, -0.19275467097759247, -0.2478235512971878, 0.26173135638237, 0.2830381989479065, -0.03709523379802704, 0.21059003472328186, 0.19116279482841492, -0.23450540006160736, -0.09965729713439941, 0.1606026291847229, 0.04354841634631157, 0.20685969293117523, 0.35298919677734375, -0.22498364746570587, -0.09642446041107178, -0.48076343536376953, -0.06226133555173874, -0.20050683617591858, -0.6551602482795715, -0.040406256914138794, 0.03732847794890404, -0.12284771353006363, 0.14649531245231628, 0.2402130663394928, 0.1660829782485962, 0.16836142539978027, -0.1745239496231079, -0.10824017226696014, -0.48617494106292725, 0.1846574991941452, 0.020632633939385414, 0.39700964093208313, 0.0547005757689476, 0.38365089893341064, 0.03180873394012451, -0.09957956522703171, -0.5126382112503052, -0.055541858077049255, -0.1927616447210312, 0.07158980518579483, 0.005586355924606323, -0.3028995394706726, -0.025519920513033867, -0.211752787232399, 0.28739434480667114, 0.05344805121421814, -0.4870350956916809, -0.29503360390663147, 0.05350102111697197, 0.11395681649446487, -0.040984563529491425, -0.17220540344715118, -0.08052696287631989, 0.04888424277305603, -0.06070076301693916, 0.20787660777568817, -0.07113127410411835, -0.2059076726436615, -0.05226792395114899, 0.16071897745132446, 0.2844619154930115, 0.168043315410614, -0.10362095385789871, -0.1461990475654602, 0.1677093207836151, 0.09469770640134811, -0.09035420417785645, 0.06651703268289566, -0.17051242291927338, -0.25343284010887146, -0.015058440156280994, 0.2938580811023712, 0.2747876048088074, 0.12747639417648315, 0.053612127900123596, -0.10003802180290222, -0.09462463110685349, 0.18843573331832886, 0.07546798884868622, 0.1780538558959961, -0.3014969527721405, -0.12261396646499634, 0.15147024393081665, 0.393399715423584, -0.23128250241279602, 0.005424982868134975, -0.2374657690525055, -0.2105543464422226, 0.10205447673797607, 0.03366313874721527, 0.3397306799888611, -0.12689299881458282, 0.44975751638412476, 0.15706422924995422, 0.14220091700553894, 0.010194994509220123, -0.11741511523723602, 0.35417458415031433, -0.3566979169845581, 0.023049674928188324, -0.04071400314569473, -0.01661118119955063, -0.06851590424776077, 0.20024122297763824, 0.2679416537284851, 0.07748281955718994, -0.02998661994934082, 0.09847018867731094, 0.06736613810062408, 0.12105104327201843, 0.1646980345249176, 0.07792357355356216, 0.15323689579963684, 0.2748653292655945, 0.4014526307582855, 0.6401390433311462, -0.06950041651725769, -0.4240780174732208, -0.29368680715560913, 0.06575089693069458, -0.34605252742767334, 0.1037774384021759, -0.4376140832901001, -0.17089024186134338, 0.019259192049503326, -0.123270183801651, -0.15358594059944153, 0.023393165320158005, 0.20901057124137878, -0.0009622052311897278, -0.09206444025039673, -0.19182002544403076, -0.06911066919565201, 0.03423774614930153, 0.38509809970855713, -0.2672666907310486, 0.2225879430770874, 0.2899332046508789, -0.21752139925956726, -0.058043982833623886, 0.47196996212005615, 0.5323059558868408, -0.08059661835432053, -0.05823434516787529, 0.055232733488082886, 0.07858243584632874, -0.08862340450286865, 0.08701283484697342, 0.316790372133255, 0.2421843558549881, -0.24017365276813507, 0.35623663663864136, 0.19503115117549896, -0.14266473054885864, -0.273086279630661, 0.2647784352302551, -0.14336951076984406, -0.10711780190467834, -0.0031403228640556335, -0.19737178087234497, -0.23027455806732178, -0.045629166066646576, -0.15260085463523865, -0.09372449666261673, 0.15829728543758392, 0.23951230943202972, -0.24492722749710083, -0.043886274099349976, -0.2455173134803772, 0.16353070735931396, 0.02918979339301586, 0.484632670879364, 0.3598361909389496, 0.0135202556848526, -0.4202696979045868, -0.3748815655708313, -0.4515111446380615, 0.3141345977783203, 0.03573264181613922, 0.10616332292556763, -0.1520921289920807, -0.012062013149261475, 0.3424379229545593, 0.07666841149330139, 0.1985263079404831, -0.07761219143867493, -0.15752166509628296, 0.43048548698425293, -0.36570557951927185, 0.2693924605846405, 0.09011615812778473, 0.13724620640277863, 0.10760059952735901, -0.20218497514724731, 0.03885405510663986, 0.06249291077256203, 0.25400811433792114, -0.1962796300649643, -0.12591537833213806, 0.14129510521888733, 0.39560291171073914, 0.29112929105758667, 0.015908464789390564, 0.24836063385009766, -0.2625406086444855, -0.11216676980257034, 0.0019839145243167877, -0.2855231463909149, -0.04190114885568619, 0.27750518918037415, 0.31578323245048523, 0.13050806522369385, 0.06562350690364838, -0.13924968242645264, 0.13388624787330627, 0.1067107617855072, 0.09273239970207214, 0.3118995130062103, -0.3276670575141907, 0.10688558965921402, -0.021290995180606842, -0.06816285103559494, -0.023209016770124435, 0.15688863396644592, 0.12175565212965012, 0.03719167411327362, -0.4150170087814331, -0.5291904211044312, 0.3806673288345337, 0.05319967865943909, -0.04313559830188751, 0.12313612550497055, -0.01611533761024475, 0.07150010019540787, 0.10491085052490234, -0.6345657706260681, 0.06463166326284409, 0.22691293060779572, 0.09094084799289703, -0.2755786180496216, 0.5047253370285034, -0.0378463938832283, -0.05981692671775818, -0.02232079952955246, 0.8487238883972168, 0.040834758430719376, -0.18972574174404144, 0.09970436990261078, -0.2648383378982544 ]
https://github.com/huggingface/datasets/pull/1900
Issue #1895: Bugfix for string_to_arrow timestamp[ns] support
OK! Thank you for the review - I will follow up with a separate PR for the comments here (https://github.com/huggingface/datasets/pull/1900#discussion_r578319725)!
Should resolve https://github.com/huggingface/datasets/issues/1895 The main part of this PR adds additional parsing in `string_to_arrow` to convert the timestamp dtypes that result from `str(pa_type)` back into the pa.DataType TimestampType. While adding unit-testing, I noticed that support for the double/float types also don't invert correctly, so I added them, which I believe would hypothetically make this section of `Value` redundant: ``` def __post_init__(self): if self.dtype == "double": # fix inferred type self.dtype = "float64" if self.dtype == "float": # fix inferred type self.dtype = "float32" ``` However, since I think Value.dtype is part of the public interface, removing that would result in a backward-incompatible change, so I didn't muck with that. The rest of the PR consists of docstrings that I added while developing locally so I could keep track of which functions were supposed to be inverses of each other, and thought I'd include them initially in case you want to keep them around, but I'm happy to delete or remove any of them at your request!
20
text: Issue #1895: Bugfix for string_to_arrow timestamp[ns] support Should resolve https://github.com/huggingface/datasets/issues/1895 The main part of this PR adds additional parsing in `string_to_arrow` to convert the timestamp dtypes that result from `str(pa_type)` back into the pa.DataType TimestampType. While adding unit-testing, I noticed that support for the double/float types also don't invert correctly, so I added them, which I believe would hypothetically make this section of `Value` redundant: ``` def __post_init__(self): if self.dtype == "double": # fix inferred type self.dtype = "float64" if self.dtype == "float": # fix inferred type self.dtype = "float32" ``` However, since I think Value.dtype is part of the public interface, removing that would result in a backward-incompatible change, so I didn't muck with that. The rest of the PR consists of docstrings that I added while developing locally so I could keep track of which functions were supposed to be inverses of each other, and thought I'd include them initially in case you want to keep them around, but I'm happy to delete or remove any of them at your request! OK! Thank you for the review - I will follow up with a separate PR for the comments here (https://github.com/huggingface/datasets/pull/1900#discussion_r578319725)!
[ -0.06783582270145416, -0.23860442638397217, -0.11329427361488342, -0.10569590330123901, 0.14759323000907898, -0.07410769909620285, 0.159006729722023, 0.04493886977434158, -0.21690696477890015, 0.06582793593406677, 0.16847114264965057, 0.4300846457481384, -0.14391303062438965, 0.07528885453939438, -0.14079001545906067, -0.19367976486682892, 0.03690803050994873, 0.3292955458164215, -0.15558353066444397, 0.20253528654575348, -0.16867037117481232, 0.23455286026000977, -0.2700640559196472, 0.055474501103162766, 0.08269740641117096, -0.27102652192115784, 0.12620820105075836, 0.13910679519176483, -0.20881572365760803, -0.48146551847457886, 0.1286049634218216, -0.09131655097007751, -0.18285779654979706, 0.501814603805542, -0.00010986412962665781, 0.00835147500038147, 0.33576637506484985, 0.11272184550762177, -0.25598108768463135, 0.253711462020874, 0.023873239755630493, 0.17925602197647095, 0.2692643105983734, 0.03806491941213608, -0.17441979050636292, -0.07969899475574493, -0.13924337923526764, -0.39814284443855286, 0.3368600606918335, 0.4929828345775604, 0.21295693516731262, 0.23923319578170776, 0.30579984188079834, -0.09930909425020218, 0.22688043117523193, 0.29863882064819336, -0.2741289734840393, 0.15149658918380737, 0.24014487862586975, 0.4318205714225769, 0.2214960753917694, 0.1953383833169937, 0.1240205317735672, -0.14998328685760498, 0.23600521683692932, -0.1775578260421753, 0.1056174486875534, -0.15320169925689697, -0.1576969027519226, 0.01240847259759903, 0.31902623176574707, -0.2576938271522522, -0.3422466516494751, -0.11633175611495972, -0.1901552528142929, -0.4848383665084839, 0.15498390793800354, -0.19639670848846436, -0.026447676122188568, 0.2602490484714508, 0.2285909205675125, 0.007525568827986717, -0.21668551862239838, 0.04674796015024185, -0.17852923274040222, 0.1830202043056488, -0.15624594688415527, -0.016019217669963837, -0.14784826338291168, -0.24126024544239044, -0.21190327405929565, 0.26375603675842285, 0.08466055989265442, -0.04909532144665718, 0.2033826857805252, -0.08471222966909409, 0.019259825348854065, -0.20188257098197937, 0.09326086938381195, 0.08714056015014648, 0.08228322118520737, 0.21286848187446594, -0.3203384280204773, 0.06840790808200836, 0.11078175902366638, 0.24598006904125214, -0.006582096219062805, 0.21161162853240967, 0.15294086933135986, 0.1946542114019394, 0.17394760251045227, -0.03630230575799942, 0.3764621317386627, -0.36633768677711487, -0.053074806928634644, 0.015117716044187546, 0.5304285883903503, -0.43851208686828613, -0.20057131350040436, 0.09075535833835602, -0.08575424551963806, 0.09701056778430939, 0.03873727470636368, 0.06193220987915993, -0.004983837716281414, 0.5076831579208374, 0.18801771104335785, -0.04755302518606186, -0.1510370671749115, 0.04397762194275856, -0.27396658062934875, -0.04542488977313042, -0.23206914961338043, 0.0064993747510015965, -0.029499132186174393, -0.12092062830924988, 0.16229663789272308, 0.36307293176651, -0.10100512206554413, 0.019039198756217957, -0.1826392561197281, 0.12917691469192505, 0.37703728675842285, 0.3309399485588074, -0.42837053537368774, 0.026997236534953117, 0.02552925981581211, -0.26972460746765137, -0.33319148421287537, 0.08115114271640778, -0.22122254967689514, -0.31114739179611206, -0.16178324818611145, 0.258794903755188, -0.13103404641151428, -0.2286711037158966, -0.1189785823225975, 0.3114781677722931, 0.02286994457244873, -0.3011825680732727, 0.31723007559776306, -0.1983477920293808, -0.2749285101890564, -0.18631862103939056, 0.19989892840385437, -0.024606674909591675, -0.35410991311073303, -0.02671603113412857, 0.07343708723783493, -0.30055469274520874, 0.15076199173927307, 0.35881394147872925, 0.12825950980186462, -0.20989665389060974, -0.22429154813289642, -0.029801618307828903, 0.23484203219413757, -0.3722183406352997, 0.05234929174184799, -0.05950829014182091, -0.1936918944120407, -0.05788298696279526, -0.12886694073677063, -0.10274255275726318, -0.17481788992881775, -0.1861620545387268, 0.23497092723846436, 0.037289731204509735, -0.12047556042671204, -0.05489419773221016, -0.5278493762016296, -0.09314661473035812, 0.019215954467654228, 0.015495039522647858, -0.168594092130661, 0.10755058377981186, -0.12242304533720016, -0.36150532960891724, 0.16863039135932922, -0.013583172112703323, 0.13693049550056458, 0.1897297203540802, 0.38683977723121643, 0.17446570098400116, 0.08628316223621368, -0.21048730611801147, -0.21042057871818542, -0.08585503697395325, 0.05356629937887192, 0.3239864706993103, -0.06443969905376434, -0.13003693521022797, -0.2787032425403595, 0.22231550514698029, 0.048142217099666595, -0.13788868486881256, 0.12938351929187775, -0.1678144931793213, 0.00636647641658783, 0.3986966609954834, -0.0874987244606018, -0.05427587032318115, -0.21996232867240906, 0.2417178601026535, -0.3724786341190338, -0.19953425228595734, -0.08520764857530594, -0.03570891544222832, -0.12950319051742554, 0.4065771698951721, 0.09179416298866272, 0.1186285987496376, -0.21660387516021729, 0.3181370198726654, 0.18480417132377625, 0.3319109082221985, -0.11149635165929794, 0.1291140913963318, 0.3062424957752228, -0.4425651431083679, -0.21627885103225708, 0.3809971809387207, 0.0742373839020729, -0.021896474063396454, -0.2636878490447998, 0.4346276521682739, -0.2309003621339798, 0.13448283076286316, -0.10021907091140747, -0.017894739285111427, 0.08707867562770844, -0.05216879025101662, -0.4264279305934906, -0.06470552086830139, -0.06865465641021729, -0.16250045597553253, 0.34762319922447205, -0.07080996781587601, -0.2405175119638443, 0.1522102802991867, 0.04274001345038414, -0.07111462950706482, -0.16060328483581543, 0.2367943525314331, -0.17454755306243896, -0.22156530618667603, 0.10254493355751038, 0.183558389544487, 0.22583355009555817, 0.31098687648773193, 0.1945107877254486, 0.05982556939125061, -0.036923155188560486, -0.06351371854543686, 0.34684184193611145, 0.1156950294971466, 0.09271612018346786, 0.17413827776908875, 0.3547241985797882, 0.3710235357284546, -0.2693357467651367, -0.2760869264602661, -0.435016006231308, 0.21225811541080475, -0.5056179761886597, -0.14033596217632294, -0.3010767698287964, 0.025720946490764618, -0.16095557808876038, 0.11373455077409744, 0.025394324213266373, -0.5346691012382507, 0.10148739069700241, -0.06720198690891266, -0.44181275367736816, 0.18737779557704926, -0.21752792596817017, 0.5510558485984802, 0.12717550992965698, 0.07905232906341553, -0.36565572023391724, -0.09270258247852325, -0.18418550491333008, 0.1095915138721466, -0.00517556956037879, 0.13736221194267273, 0.4406556785106659, -0.01903936266899109, -0.1199643462896347, -0.08711973577737808, -0.8136148452758789, 0.18459661304950714, -0.12043635547161102, 0.1870277374982834, 0.27021682262420654, 0.046069130301475525, 0.06327037513256073, -0.2742599546909332, 0.1878335177898407, -0.40606850385665894, -0.3475947976112366, -0.1427377164363861, -0.14620549976825714, 0.27415692806243896, -0.4193449318408966, -0.2478426992893219, -0.04289313405752182, -0.4474736154079437, 0.6547419428825378, 0.0912076085805893, 0.006986644119024277, 0.5681981444358826, 0.06600822508335114, 0.13479630649089813, -0.07315092533826828, 0.22909919917583466, -0.38759639859199524, -0.0660230815410614, 0.032995667308568954, -0.26414477825164795, -0.1907656490802765, -0.11714684218168259, 0.058620281517505646, -0.21939513087272644, 0.00976469460874796, -0.26486730575561523, -0.5491063594818115, -0.11325545608997345, 0.11575749516487122, -0.16196799278259277, 0.018885202705860138, 0.15537357330322266, 0.16575920581817627, -0.24568234384059906, -0.1193416565656662, -0.3680707812309265, 0.08776267617940903, -0.05955066531896591, -0.1356540024280548, 0.3102102279663086, 0.10099150240421295, -0.10047218203544617, 0.521630048751831, 0.3201465606689453, -0.20972390472888947, 0.04326895251870155, -0.24746549129486084, 0.40488335490226746, -0.19611197710037231, 0.005477525293827057, -0.19137901067733765, 0.1800680160522461, -0.1049666777253151, 0.040006235241889954, 0.11219331622123718, -0.0396612212061882, 0.07107443362474442, 0.15581345558166504, -0.3046856224536896, -0.36045777797698975, 0.03403524309396744, -0.02485763281583786, 0.056860215961933136, -0.18634842336177826, -0.13908815383911133, -0.2575010657310486, 0.07369481772184372, 0.2821078896522522, -0.028747379779815674, -0.1268056333065033, -0.18774941563606262, -0.1163989007472992, 0.17186696827411652, -0.5634542107582092, 0.11457549780607224, -0.06972004473209381, 0.40540164709091187, -0.21361753344535828, -0.3561703562736511, 0.04710427671670914, 0.060901954770088196, 0.24635665118694305, -0.22739510238170624, 0.05469192564487457, 0.21449755132198334, 0.09094603359699249, -0.2057102620601654, 0.10181377828121185, -0.2746357321739197, 0.14855897426605225, -0.1540875881910324, 0.41588953137397766, -0.3202968239784241, -0.3654709756374359, 0.23075589537620544, -0.2597438395023346, 0.09525403380393982, 0.011901228688657284, -0.013492844998836517, -0.3529185652732849, 0.01726364903151989, 0.24155625700950623, 0.3479755222797394, 0.053005706518888474, -0.0288410484790802, -0.031958919018507004, -0.04717257618904114, 0.3399646580219269, 0.11322161555290222, -0.04830814525485039, 0.39681556820869446, -0.21039609611034393, -0.08217543363571167, 0.10077958554029465, -0.08595709502696991, 0.24583056569099426, 0.47298669815063477, 0.011680424213409424, 0.12060929834842682, 0.08032175898551941, 0.028665967285633087, 0.08900239318609238, 0.5307501554489136, -0.054890312254428864, -0.1145857647061348, 0.18392226099967957, 0.43366044759750366, -0.3276478946208954, 0.004073018673807383, 0.14043797552585602, -0.03901062160730362, -0.13625741004943848, -0.047691602259874344, 0.32379600405693054, 0.22462457418441772, -0.1627388596534729, 0.3954525887966156, 0.48777079582214355, -0.28150248527526855, 0.604731023311615, 0.31544339656829834, 1.0220988988876343, 0.23383916914463043, 0.29614967107772827, 0.6012885570526123, -0.18713150918483734, 0.47651687264442444, 0.1719880849123001, -0.16243815422058105, -0.2955789268016815, 0.06089269369840622, -0.01251186989247799, -0.030825186520814896, -0.13433828949928284, -0.24142934381961823, -0.3851099908351898, -0.01751873455941677, 0.06254689395427704, 0.2528175413608551, 0.05601261556148529, 0.13346360623836517, -0.1286403238773346, -0.027294199913740158, -0.20718388259410858, 0.20257999002933502, 0.12078646570444107, -0.06922377645969391, -0.058112554252147675, -0.3177531957626343, -0.26969054341316223, -0.2288442850112915, -0.4986216425895691, -0.18479955196380615, -0.24201171100139618, 0.18763315677642822, 0.29822656512260437, -0.06474658101797104, 0.1456097662448883, 0.07355485111474991, 0.5035306811332703, -0.1453312486410141, -0.26546090841293335, 0.024580780416727066, 0.07513542473316193, 0.17829270660877228, 0.10245655477046967, 0.0001895911991596222, 0.35478851199150085, -0.0964428037405014, 0.1283971667289734, -0.21831905841827393, -0.27516669034957886, -0.19326341152191162, 0.013596445322036743, -0.013560712337493896, -0.4399679899215698, -0.39419788122177124, -0.17225158214569092, 0.15798668563365936, 0.015303779393434525, -0.33063673973083496, 0.1452951580286026, 0.09686270356178284, -0.027410432696342468, 0.22721827030181885, 0.2576344609260559, -0.34812280535697937, -0.017774183303117752, 0.08924372494220734, -0.22823140025138855, -0.06025717407464981, 0.4190853536128998, 0.269508957862854, -0.2001531571149826, -0.19314789772033691, 0.10879678279161453, 0.28635281324386597, -0.6242159605026245, 0.3723011314868927, -0.22632430493831635, -0.13763955235481262, 0.27986279129981995, 0.5340113043785095, 0.19182468950748444, 0.17540258169174194, -0.17863869667053223, -0.1432667374610901, -0.28157636523246765, 0.31725600361824036, -0.11468790471553802, 0.4337565004825592, -0.23695358633995056, 0.18710771203041077, -0.11426199972629547, -0.2490479052066803, -0.4381714463233948, -0.0076084863394498825, -0.1806822270154953, 0.0664716586470604, -0.08893527835607529, -0.1214020624756813, 0.04789210110902786, -0.14068908989429474, 0.11190034449100494, 0.1663658767938614, -0.3094426095485687, -0.1920447051525116, -0.1825856864452362, 0.13272535800933838, -0.030312590301036835, -0.0984036847949028, 0.07947187125682831, 0.2689424157142639, -0.23733088374137878, 0.17045098543167114, -0.01396589633077383, 0.3908287584781647, 0.0028238222002983093, 0.21098773181438446, 0.2148704081773758, 0.22626042366027832, 0.12180911004543304, 0.013843540102243423, 0.16015145182609558, 0.2289319783449173, 0.029594488441944122, 0.26487255096435547, -0.5252089500427246, -0.1952349692583084, 0.2768124043941498, 0.4410483241081238, 0.1564216911792755, -0.007859412580728531, -0.02257833629846573, -0.17423520982265472, -0.29698169231414795, 0.25112640857696533, 0.5655157566070557, 0.24506093561649323, -0.35352829098701477, -0.0229151900857687, -0.06537239253520966, 0.2527925372123718, -0.07320380210876465, 0.07612229883670807, 0.4310813546180725, -0.13684199750423431, 0.1357913464307785, 0.15302987396717072, 0.16399770975112915, 0.09223422408103943, 0.2158503383398056, 0.16379103064537048, 0.034610070288181305, -0.47361117601394653, 0.03886929526925087, 0.006445474922657013, -0.30940690636634827, -0.04900330677628517, 0.2950478792190552, 0.2680891454219818, 0.41134902834892273, 0.041211213916540146, 0.09931556135416031, 0.12226969748735428, 0.1049676239490509, 0.29513615369796753, 0.0633024349808693, -0.24374546110630035, 0.31680428981781006, 0.26688700914382935, -0.07360014319419861, 0.22167524695396423, 0.4426933825016022, 0.602274477481842, -0.3422643542289734, -0.22710604965686798, 0.01507549174129963, 0.09889824688434601, -0.13636675477027893, -0.21051456034183502, -0.08094948530197144, -0.0803893506526947, -0.4150784909725189, -0.19303852319717407, -0.13297000527381897, 0.24170121550559998, 0.5986089706420898, 0.049273379147052765, 0.1021953746676445, -0.3877553939819336, -0.1695614457130432, -0.03040085732936859, 0.5279697775840759, 0.062466803938150406, 0.2362765222787857, 0.16298899054527283, -0.21762347221374512, 0.07489904761314392, 0.5671413540840149, 0.6182973980903625, 0.055564217269420624, -0.18835040926933289, 0.007595328148454428, -0.10982799530029297, -0.08832982182502747, 0.1188962310552597, 0.3061036467552185, 0.23354607820510864, -0.13929690420627594, 0.32529309391975403, 0.20073175430297852, -0.13982486724853516, 0.05716802179813385, -0.1539413034915924, 0.13962852954864502, -0.07173904776573181, 0.1926734745502472, 0.12746074795722961, -0.11549931019544601, 0.10118276625871658, 0.0465460941195488, -0.014654025435447693, -0.11418285965919495, 0.058919280767440796, -0.017312882468104362, 0.11681567877531052, -0.005963751580566168, 0.11859573423862457, 0.37436118721961975, 0.1893596351146698, 0.4911150634288788, 0.1707300841808319, -0.05713099241256714, -0.052521515637636185, -0.5984542369842529, 0.08247104287147522, 0.2294885218143463, 0.08708277344703674, 0.38119372725486755, 0.0736384242773056, 0.2744053900241852, 0.19748550653457642, 0.29423820972442627, -0.13562706112861633, 0.015089399181306362, -0.06505747139453888, -0.09165897965431213, 0.3227443993091583, 0.14091919362545013, -0.17378373444080353, 0.1430927962064743, -0.26845237612724304, 0.08354262262582779, 0.05238209292292595, 0.09761644154787064, -0.023974552750587463, 0.017455793917179108, -0.15052807331085205, -0.22284847497940063, 0.24901661276817322, 0.3421683609485626, -0.15476110577583313, -0.17510899901390076, -0.2796415686607361, -0.2006191909313202, -0.20198626816272736, -0.38459882140159607, 0.2220412790775299, -0.3370327353477478, 0.23430481553077698, -0.11200597882270813, -0.4514346420764923, -0.0819135382771492, 0.23848308622837067, 0.07443495094776154, -0.1202014684677124, -0.49217864871025085, 0.48348671197891235, -0.1095353364944458, -0.04634254425764084, 0.15404780209064484, 0.17265179753303528, 0.0693916603922844, 0.23424185812473297, -0.3038784861564636, -0.8049659132957458, 0.6329150199890137, -0.06316784769296646, 0.10355278849601746, 0.22447021305561066, 0.1137336939573288, 0.712271511554718, 0.005012840032577515, -0.7034172415733337, -0.1993577480316162, 0.14315451681613922, -0.06412968039512634, -0.2801656126976013, 0.2692483067512512, -0.23637454211711884, -0.1064966470003128, -0.10820092260837555, 0.5757360458374023, 0.06478837877511978, 0.07272221893072128, 0.04417764022946358, -0.2629469633102417 ]
https://github.com/huggingface/datasets/pull/1887
Implement to_csv for Dataset
@lhoestq I stumbled upon an interesting failure when adding tests for CSV serialization of `ArrayXD` features (see the failing unit tests in the CI) It's due to the fact that booleans cannot be converted from arrow format to numpy without copy: https://arrow.apache.org/docs/python/generated/pyarrow.Array.html#pyarrow.Array.to_numpy
cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory
42
text: Implement to_csv for Dataset cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory @lhoestq I stumbled upon an interesting failure when adding tests for CSV serialization of `ArrayXD` features (see the failing unit tests in the CI) It's due to the fact that booleans cannot be converted from arrow format to numpy without copy: https://arrow.apache.org/docs/python/generated/pyarrow.Array.html#pyarrow.Array.to_numpy
[ 0.07827071845531464, 0.20539656281471252, -0.14286117255687714, -0.4344754219055176, 0.11585173010826111, 0.1858392059803009, 0.5556864142417908, 0.44269052147865295, 0.1192505955696106, 0.14362592995166779, 0.2931680679321289, 0.46951529383659363, -0.09149857610464096, 0.1326911747455597, 0.2518104612827301, 0.38951757550239563, 0.3343517780303955, 0.4873618185520172, -0.3578587472438812, -0.024725735187530518, -0.3086732029914856, -0.11290296912193298, -0.16827325522899628, 0.04523838683962822, 0.08200807124376297, -0.15360523760318756, -0.19216087460517883, 0.18875017762184143, -0.30790483951568604, -0.44185662269592285, -0.04243672639131546, -0.13179166615009308, -0.3165041208267212, 0.05182260647416115, -0.00011640319280559197, -0.05103595554828644, 0.1753375232219696, -0.10372262448072433, -0.4270935356616974, 0.07293253391981125, 0.2554902732372284, -0.44979462027549744, 0.35883617401123047, -0.44271519780158997, 0.18978840112686157, -0.2632388174533844, 0.08925874531269073, -0.09033282101154327, 0.418216347694397, 0.2507970631122589, 0.1642354130744934, 0.2573343515396118, 0.46595168113708496, -0.020599203184247017, 0.1766815483570099, 0.2400309294462204, -0.305481880903244, 0.5143988132476807, 0.36875104904174805, 0.08799595385789871, -0.10627251118421555, 0.07287076115608215, -0.07173939049243927, 0.05934444069862366, 0.14440038800239563, -0.13026836514472961, 0.12622731924057007, 0.042040593922138214, -0.1970500349998474, 0.05975364148616791, 0.3087131977081299, -0.4802832305431366, -0.2011127918958664, 0.006151176989078522, 0.008182678371667862, -0.35535961389541626, -0.14231666922569275, 0.07748594135046005, -0.2371479570865631, 0.236684650182724, -0.0772634819149971, -0.3433108925819397, -0.3504347503185272, 0.12938643991947174, -0.009979713708162308, 0.057796455919742584, -0.049353428184986115, 0.034526627510786057, 0.02832944691181183, -0.17830750346183777, 0.2582114040851593, -0.06532640755176544, 0.17825891077518463, 0.07685475051403046, -0.0891527533531189, -0.22670389711856842, -0.032590270042419434, -0.48698803782463074, 0.16467535495758057, -0.11296896636486053, 0.3483659625053406, -0.009292803704738617, 0.07559811323881149, 0.22890794277191162, -0.1997985690832138, 0.39498066902160645, 0.1827118992805481, -0.08341699838638306, 0.15735867619514465, 0.07723859697580338, 0.21821251511573792, 0.0511292889714241, -0.1454055905342102, -0.027062036097049713, 0.2900250256061554, 0.20334702730178833, 0.3825913667678833, -0.12995216250419617, -0.39135482907295227, 0.05624759569764137, -0.1762412190437317, 0.06777023524045944, -0.2749996483325958, 0.2781733274459839, 0.45108726620674133, -0.26424363255500793, 0.009741157293319702, 0.07729694992303848, -0.1896301805973053, 0.093557208776474, -0.07496323436498642, 0.18214169144630432, -0.09798406809568405, -0.11278363317251205, 0.23106132447719574, 0.06784740090370178, 0.07409559935331345, -0.09681826084852219, 0.21998316049575806, 0.22813424468040466, -0.08414945006370544, 0.14285635948181152, 0.5955301523208618, 0.31351378560066223, -0.022423015907406807, 0.04005475342273712, 0.31639254093170166, 0.08351972699165344, -0.16349278390407562, 0.34499433636665344, -0.006518065929412842, -0.15799468755722046, 0.03292339667677879, 0.1679106205701828, -0.1687910109758377, -0.07254185527563095, 0.1465470939874649, 0.003955554217100143, 0.073401540517807, -0.23443840444087982, 0.2235315442085266, -0.07485741376876831, 0.13702617585659027, -0.476375937461853, 0.06822671741247177, 0.3409886658191681, -0.6567357778549194, 0.2747703790664673, 0.108522929251194, 0.033543676137924194, 0.04013596475124359, 0.25037679076194763, -0.050697531551122665, -0.08000249415636063, -0.036188311874866486, 0.36506474018096924, 0.10242954641580582, -0.12320518493652344, -0.02932189591228962, 0.17390312254428864, -0.26156675815582275, -0.23091965913772583, 0.16453266143798828, -0.041083477437496185, 0.23631855845451355, -0.12791772186756134, -0.13907992839813232, 0.0776631087064743, -0.05471593141555786, -0.15590500831604004, -0.08314111828804016, -0.29203060269355774, 0.12065721303224564, -0.05022750422358513, -0.18966494500637054, -0.1032799556851387, 0.11984126269817352, -0.6882830262184143, 0.37495315074920654, -0.5403300523757935, -0.005910136736929417, -0.33231186866760254, 0.57352614402771, -0.7587081789970398, 0.09054309874773026, 0.03801015764474869, -0.23909971117973328, 0.06034085154533386, -0.12191341072320938, -0.18849201500415802, -0.3128882646560669, -0.05450790375471115, -0.16205528378486633, 0.4596790373325348, 0.02927154116332531, 0.14696897566318512, 0.0729072242975235, -0.403070867061615, -0.04915865510702133, 0.03948989883065224, -0.21511778235435486, -0.36298513412475586, -0.29730018973350525, 0.15089905261993408, 0.027214769273996353, -0.10659769922494888, -0.08381988853216171, -0.31740590929985046, 0.00480993464589119, 0.3016907572746277, -0.03974522650241852, -0.24698206782341003, -0.23467639088630676, 0.2622782588005066, -0.0920773595571518, -0.043401673436164856, -0.08801280707120895, -0.16694648563861847, 0.12325776368379593, -0.3426225483417511, 0.3031294345855713, 0.7848621606826782, 0.09605173021554947, -0.08725489675998688, -0.20068573951721191, 0.43581056594848633, -0.23422203958034515, 0.06774072349071503, 0.060439564287662506, 0.24892717599868774, 0.190531924366951, 0.2119227945804596, 0.05588112026453018, -0.14762704074382782, 0.17030052840709686, -0.012471906840801239, -0.1831522136926651, 0.1393311768770218, -0.053903013467788696, 0.29220134019851685, 0.16125242412090302, -0.3017987608909607, 0.1929040253162384, 0.014971785247325897, -0.03320032358169556, -0.2890436351299286, 0.46262305974960327, -0.25540703535079956, 0.3868831992149353, 0.14315886795520782, -0.1229420155286789, -0.0380917489528656, -0.23281076550483704, -0.3586848974227905, 0.38649439811706543, -0.274003267288208, 0.34505465626716614, 0.18932095170021057, 0.05918081849813461, -0.21977317333221436, -0.3014088571071625, -0.1223134696483612, 0.08407387882471085, -0.09152692556381226, -0.43569549918174744, -0.08704379945993423, -0.13632845878601074, -0.12732243537902832, -0.1332240104675293, 0.024145953357219696, 0.36503198742866516, -0.3215917646884918, 0.22603677213191986, 0.0513446107506752, -0.29744037985801697, -0.10308458656072617, -0.45273008942604065, 0.22647719085216522, 0.1827114373445511, -0.38142654299736023, -0.3291124999523163, -0.1311098337173462, -0.16536709666252136, 0.07260838150978088, 0.11538028717041016, 0.06264529377222061, 0.2147342562675476, 0.055216945707798004, 0.3449229598045349, -0.21590545773506165, -0.13871736824512482, -0.031213343143463135, -0.09817570447921753, 0.09598802775144577, 0.10633961856365204, 0.21026523411273956, -0.2063313126564026, -0.1724158376455307, -0.069144107401371, -0.4152836203575134, -0.4067523181438446, 0.4393445551395416, 0.0003668566350825131, -0.31784284114837646, -0.23333899676799774, -0.45131024718284607, -0.3292279541492462, -0.18960945308208466, 0.33564257621765137, -0.17451299726963043, 0.2159384787082672, 0.3176434338092804, 0.3757626712322235, 0.18457584083080292, -0.02729813940823078, -0.17244736850261688, 0.1275215446949005, 0.3491111397743225, 0.3831624388694763, -0.16816478967666626, -0.4001918435096741, -0.13938158750534058, 0.1776045858860016, -0.19404073059558868, 0.14800935983657837, -0.008616384118795395, -0.010317865759134293, -0.012486303225159645, 0.11043094098567963, -0.10510802268981934, -0.24637208878993988, 0.18533113598823547, 0.18512380123138428, -0.21504373848438263, -0.24385344982147217, -0.041571423411369324, 0.004981964826583862, 0.15273690223693848, 0.05369270220398903, -0.07257626950740814, 0.06500950455665588, 0.021830841898918152, 0.5315440893173218, 0.11755228042602539, -0.09343627095222473, 0.316905677318573, 0.047572825103998184, 0.458980917930603, -0.019958145916461945, -0.28926363587379456, 0.02318643592298031, -0.21282866597175598, -0.42939168214797974, -0.09943215548992157, -0.26486778259277344, -0.13805459439754486, 0.2544332444667816, 0.15830130875110626, -0.18591910600662231, -0.2003781497478485, 0.18833546340465546, -0.33911269903182983, 0.042473435401916504, -0.002510717138648033, 0.12360257655382156, -0.09469477832317352, -0.03712255507707596, -0.017254216596484184, 0.018742933869361877, 0.22522011399269104, -0.05850439891219139, -0.32157808542251587, -0.849267303943634, -0.3829246163368225, 0.32407957315444946, 0.021278725937008858, 0.44658082723617554, -0.14431500434875488, -0.0638197734951973, 0.11585143208503723, -0.06253490597009659, 0.4142845869064331, 0.1368948221206665, 0.040849436074495316, 0.2794829308986664, 0.3398023545742035, -0.31235766410827637, -0.07165437191724777, -0.19360624253749847, 0.313934326171875, -0.08234037458896637, 0.3168210983276367, -0.1531190127134323, 0.05557999014854431, 0.1404944658279419, 0.18517567217350006, -0.009429693222045898, -0.19012247025966644, -0.16646185517311096, -0.31561240553855896, -0.18657392263412476, 0.1428096443414688, 0.2028609961271286, 0.24621640145778656, -0.2280886322259903, -0.37839797139167786, -0.06899204850196838, -0.054757893085479736, 0.11631359159946442, -0.0024080518633127213, 0.08397769927978516, -0.4025418758392334, -0.12864361703395844, -0.13968811929225922, 0.09097816050052643, 0.2520252764225006, 0.16692756116390228, 0.14564117789268494, -0.03689450025558472, -0.11928068846464157, -0.166377991437912, 0.4595712423324585, 0.40187785029411316, -0.23427386581897736, 0.2514171004295349, -0.21370023488998413, -0.21568457782268524, 0.23193426430225372, -0.2445710450410843, -0.03810610622167587, -0.10542222857475281, 0.13571855425834656, 0.31813615560531616, 0.19670939445495605, -0.034992948174476624, 0.11667801439762115, 0.3702499270439148, -0.061161309480667114, -0.022517407312989235, 0.5747915506362915, 0.528506338596344, 0.8209731578826904, -0.3936890959739685, 0.4531472623348236, 0.4261241853237152, -0.3423558473587036, 0.3420070707798004, 0.26561325788497925, 0.055989257991313934, -0.42283448576927185, 0.0016314983367919922, -0.056209124624729156, -0.15660272538661957, 0.19073981046676636, -0.01841636747121811, -0.31467193365097046, 0.40060174465179443, -0.18658719956874847, 0.7656351327896118, 0.23280756175518036, -0.0833970457315445, -0.3304142951965332, -0.26461541652679443, -0.18020987510681152, 0.09898178279399872, 0.2705291509628296, -0.4542594254016876, -0.09244132041931152, -0.5189884305000305, -0.20865310728549957, -0.15203015506267548, 0.024787887930870056, 0.06618499010801315, -0.22057300806045532, 0.3440502882003784, 0.042460180819034576, -0.4041246771812439, 0.05190695449709892, 0.19250112771987915, -0.043057844042778015, 0.1957240104675293, -0.11784432828426361, -0.36143067479133606, 0.14213110506534576, 0.1063394844532013, -0.029644394293427467, -0.09044724702835083, 0.4881197512149811, 0.009502105414867401, -0.12863583862781525, 0.2125369906425476, -0.23056542873382568, -0.24785377085208893, 0.09615200757980347, 0.0684826448559761, -0.059607118368148804, -0.2524728775024414, -0.2501220703125, -0.3429650068283081, -0.33393535017967224, -0.29819896817207336, 0.09936580061912537, 0.11764740198850632, 0.011704739183187485, 0.459634006023407, 0.056311964988708496, -0.2844589948654175, 0.24884752929210663, -0.16345685720443726, -0.13138055801391602, 0.08025260269641876, 0.4032050669193268, -0.08022410422563553, -0.04105757176876068, -0.2738012969493866, 0.2642994523048401, 0.4793876111507416, -0.3129044473171234, 0.26056018471717834, -0.09499448537826538, -0.009592786431312561, -0.23102408647537231, 0.2248145192861557, 0.3729117512702942, 0.5401229858398438, -0.5823630094528198, -0.19340282678604126, -0.22455069422721863, 0.3616732358932495, 0.017559470608830452, 0.2765211760997772, 0.14924117922782898, 0.06261102855205536, -0.007642528973519802, -0.3028673231601715, -0.27142244577407837, -0.043888337910175323, -0.11583137512207031, 0.02878989279270172, -0.08557060360908508, 0.024727094918489456, -0.16466215252876282, -0.0353068932890892, 0.10262894630432129, 0.19591158628463745, -0.14402708411216736, -0.2091691792011261, 0.22339165210723877, 0.13133737444877625, 0.11238575726747513, 0.1518351435661316, 0.14777371287345886, -0.1957641839981079, -0.0791371613740921, -0.09384581446647644, -0.3795340359210968, -0.3291932940483093, -0.1239156574010849, -0.17391511797904968, -0.00201372429728508, 0.1923045814037323, -0.1239711344242096, 0.09346507489681244, -0.17143094539642334, 0.008579544723033905, -0.3037290871143341, 0.2137516438961029, 0.02484278939664364, -0.03939574584364891, -0.05057600513100624, 0.2958819270133972, -0.11075352132320404, -0.018445901572704315, 0.23736393451690674, 0.06669057160615921, -0.1497502326965332, -0.3776048719882965, 0.4766766428947449, 0.35877659916877747, -0.18631133437156677, 0.10118639469146729, 0.0821550264954567, 0.13269123435020447, -0.16941362619400024, 0.06448410451412201, 0.008713878691196442, -0.06640933454036713, -0.04352657124400139, 0.2409881353378296, 0.26204976439476013, -0.16493192315101624, 0.1637876331806183, -0.067243292927742, -0.054034531116485596, 0.10749475657939911, -0.39566701650619507, 0.6385839581489563, -0.10519430041313171, 0.19242453575134277, 0.44797906279563904, -0.04918898269534111, 0.2913365066051483, 0.26833879947662354, -0.08247234672307968, 0.3864623010158539, 0.5965000987052917, 0.1681215912103653, -0.07353759557008743, 0.09154509007930756, 0.09112462401390076, 0.030019506812095642, 0.20066720247268677, 0.3075650632381439, 0.3443523943424225, 0.6880362033843994, -0.35472357273101807, -0.11282743513584137, 0.057177528738975525, 0.1347002238035202, -0.1325574815273285, -0.05674818530678749, -0.26292768120765686, 0.07227494567632675, -0.06430164724588394, -0.22418129444122314, -0.10490414500236511, 0.016755808144807816, 0.335473895072937, 0.117247574031353, 0.025535866618156433, -0.40418386459350586, 0.6224673986434937, 0.11449456959962845, 0.18042713403701782, -0.17919406294822693, -0.08528850227594376, 0.1287277489900589, 0.0706835463643074, -0.1620223969221115, 0.09545870125293732, 0.6680006384849548, 0.15723635256290436, -0.2282402068376541, 0.04568100720643997, -0.3585907220840454, -0.31197285652160645, 0.13176944851875305, 0.1328488290309906, 0.19083893299102783, 0.22319476306438446, 0.21672005951404572, 0.12199798226356506, 0.01253295037895441, 0.16414010524749756, 0.39558419585227966, -0.18766285479068756, 0.08314506709575653, 0.2221287190914154, 0.08203938603401184, -0.4842303991317749, 0.0655030906200409, 0.0665263757109642, -0.30631351470947266, 0.09487521648406982, 0.35575246810913086, -0.12002867460250854, -0.04342438653111458, 0.07425018399953842, 0.07773158699274063, 0.06783020496368408, 0.26381805539131165, -0.027549196034669876, 0.45187297463417053, -0.41831284761428833, 0.20122595131397247, -0.35542160272598267, 0.059606391936540604, 0.10548084229230881, -0.1402639001607895, -0.06258877366781235, 0.17142389714717865, 0.3867746591567993, -0.04576801508665085, 0.17127220332622528, 0.26742634177207947, 0.262215256690979, 0.32318609952926636, -0.08804797381162643, 0.20133696496486664, 0.3952801823616028, 0.050818078219890594, -0.08185186982154846, -0.38352659344673157, 0.43861475586891174, -0.063389353454113, -0.000026401132345199585, -0.0318322591483593, -0.0895882099866867, 0.2459711730480194, -0.15247854590415955, 0.30089128017425537, -0.13328875601291656, 0.4987344741821289, 0.09728064388036728, 0.05847126245498657, -0.016927126795053482, 0.15149083733558655, -0.0543915256857872, 0.2450135350227356, 0.006562096998095512, -0.0072700511664152145, -0.03582419455051422, 0.0009230561554431915, 0.15097229182720184, 0.3061477839946747, -0.14304494857788086, -0.278016060590744, -0.11230644583702087, 0.3074212074279785, -0.2767615020275116, -0.07601194828748703, 0.1365325152873993, -0.19235381484031677, -0.2481023371219635, 0.04197365790605545, -0.19582688808441162, -0.476672500371933, 0.30341267585754395, 0.09988952428102493, -0.14796587824821472, 0.0834830105304718, 0.37881505489349365, 0.3106968104839325, -0.03214818984270096, -0.5407712459564209, -0.21172964572906494, 0.1379653364419937, -0.06623107939958572, -0.18917231261730194, 0.37371090054512024, 0.06957487761974335, 0.11838969588279724, -0.23254455626010895, 0.37608101963996887, -0.11192115396261215, 0.061041295528411865, -0.24468863010406494, -0.4640823006629944 ]
https://github.com/huggingface/datasets/pull/1887
Implement to_csv for Dataset
Good catch ! I must be able to fix that one by allowing copies for this kind of arrays. This is the kind of surprise you get sometimes when playing with arrow x)
cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory
33
text: Implement to_csv for Dataset cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory Good catch ! I must be able to fix that one by allowing copies for this kind of arrays. This is the kind of surprise you get sometimes when playing with arrow x)
[ 0.05910944566130638, -0.12407942116260529, -0.2637944221496582, 0.07387920469045639, 0.19973430037498474, -0.04757675528526306, 0.10344354808330536, 0.3612361550331116, 0.30710160732269287, 0.23368270695209503, 0.29151055216789246, 0.34456801414489746, -0.003307306207716465, 0.1062207892537117, 0.12868888676166534, 0.3005487024784088, 0.2109663486480713, 0.3325490355491638, -0.48517659306526184, -0.07514787465333939, -0.17860665917396545, -0.03163152188062668, -0.12158244848251343, 0.024294264614582062, 0.01675514131784439, -0.02308112569153309, -0.033595167100429535, 0.17312467098236084, -0.36390069127082825, -0.21489256620407104, -0.06115692853927612, 0.03705768287181854, -0.2764829397201538, 0.05371422320604324, -0.00009781593689695, 0.043669819831848145, 0.11529875546693802, -0.19194644689559937, -0.2833578884601593, 0.08623360097408295, -0.18321052193641663, -0.2390901893377304, 0.10503026098012924, -0.44612452387809753, 0.26133212447166443, -0.07378292083740234, 0.15523140132427216, -0.22209203243255615, 0.28363287448883057, 0.2314256876707077, 0.4260902404785156, -0.052663691341876984, 0.11378809809684753, -0.24793729186058044, 0.3288242518901825, 0.021618761122226715, -0.14783594012260437, 0.14118041098117828, 0.041036516427993774, 0.020538857206702232, -0.16020214557647705, 0.08306761085987091, -0.10317902266979218, 0.07342333346605301, 0.32083970308303833, -0.016882002353668213, 0.0399201400578022, 0.16685864329338074, 0.12397605180740356, -0.14474505186080933, 0.5011616945266724, -0.3089006245136261, -0.003700030967593193, 0.18762797117233276, -0.11249560117721558, -0.375702828168869, 0.0516655258834362, 0.1289786696434021, -0.02152770571410656, 0.2087634950876236, 0.07117944955825806, -0.1401737481355667, -0.3454442024230957, -0.07899986207485199, 0.13375936448574066, -0.2671089470386505, -0.2666458785533905, 0.0029175207018852234, 0.17469850182533264, 0.022703533992171288, 0.1581963300704956, -0.02213962748646736, -0.110311359167099, 0.14574964344501495, -0.07024620473384857, 0.06896493583917618, -0.1353324055671692, -0.2030453383922577, -0.03153977170586586, 0.006829332560300827, 0.5792325735092163, 0.010872671380639076, 0.18470682203769684, 0.23184439539909363, 0.030705653131008148, -0.022382985800504684, -0.037283264100551605, 0.024631962180137634, 0.001840643584728241, -0.08590404689311981, 0.05543762817978859, -0.1969049572944641, -0.11027450114488602, -0.22123587131500244, 0.11873261630535126, 0.005955140106379986, 0.14875240623950958, -0.0005310475826263428, -0.32369017601013184, 0.22358465194702148, 0.12090294808149338, 0.08365868777036667, -0.23807483911514282, 0.41471514105796814, 0.10376134514808655, -0.21565818786621094, 0.23662905395030975, -0.11001351475715637, -0.08763332664966583, -0.023201465606689453, -0.2578341066837311, 0.17573925852775574, -0.29920947551727295, -0.08269450813531876, 0.03507087752223015, 0.24994191527366638, 0.03089764155447483, 0.0312260240316391, -0.03668646514415741, -0.1549922078847885, -0.015487078577280045, -0.08360156416893005, 0.5022299289703369, 0.26076385378837585, 0.023572470992803574, 0.07529208809137344, 0.17267866432666779, -0.04526771232485771, -0.032421790063381195, 0.3906388282775879, -0.2748546898365021, -0.21130888164043427, -0.03490215539932251, 0.38141465187072754, 0.025786999613046646, 0.01716921292245388, -0.10016437619924545, -0.07283633947372437, 0.00824485719203949, -0.11826914548873901, 0.06845850497484207, 0.24120989441871643, 0.1288207471370697, -0.46001136302948, 0.025169966742396355, 0.18499256670475006, -0.5252544283866882, 0.3915638029575348, -0.009258447214961052, -0.008966274559497833, 0.2906155586242676, 0.31827598810195923, -0.18132011592388153, 0.10769403725862503, -0.03601030260324478, 0.18888206779956818, 0.34384649991989136, 0.13290420174598694, -0.12561379373073578, -0.007831602357327938, -0.3500198721885681, -0.3235609531402588, 0.23319801688194275, 0.10639633238315582, 0.24021059274673462, 0.015924448147416115, -0.005463704466819763, 0.010280275717377663, 0.0011939741671085358, 0.004015179350972176, -0.27932292222976685, -0.13702569901943207, -0.1751445084810257, -0.11528599262237549, -0.23353879153728485, 0.06144421175122261, 0.28480976819992065, -0.30477598309516907, 0.3474389910697937, -0.27105557918548584, 0.13603276014328003, 0.10663682967424393, 0.4544961750507355, -0.021669723093509674, -0.07486893236637115, 0.07531672716140747, -0.03466293215751648, -0.06618021428585052, 0.2329980731010437, -0.2510521709918976, -0.06650161743164062, -0.1943802386522293, -0.23100551962852478, 0.21499451994895935, -0.007965188473463058, 0.14658576250076294, 0.3264923393726349, -0.15356671810150146, -0.20862264931201935, -0.14273753762245178, -0.0963679850101471, -0.0800982415676117, -0.3902411460876465, -0.1745259165763855, -0.05337238684296608, -0.1005467027425766, -0.22723563015460968, -0.1038479208946228, 0.1117020696401596, 0.12041431665420532, -0.02466394752264023, -0.033690039068460464, -0.005966205149888992, 0.3514357805252075, 0.04428146034479141, 0.07836238294839859, 0.07120434194803238, 0.08545567095279694, -0.25299105048179626, -0.07478305697441101, 0.2122563123703003, 0.018220487982034683, 0.30873435735702515, -0.05632858723402023, -0.19398656487464905, 0.31828802824020386, -0.12250477075576782, -0.054233573377132416, 0.0875629335641861, 0.01840144954621792, 0.11364752054214478, 0.164323627948761, 0.0900573655962944, -0.24510857462882996, 0.09161141514778137, 0.06357760727405548, -0.04678491875529289, 0.09545781463384628, -0.34971556067466736, 0.08843221515417099, 0.35411468148231506, 0.00022232718765735626, 0.10240228474140167, 0.029432956129312515, 0.11141093075275421, -0.1582593321800232, -0.04672838747501373, 0.1935930699110031, 0.3755854070186615, 0.2821204960346222, -0.04582545533776283, -0.15264154970645905, 0.06709679961204529, -0.278482586145401, 0.3882784843444824, -0.2582244277000427, 0.2174730896949768, -0.037728048861026764, -0.08082771301269531, -0.23252423107624054, -0.34402570128440857, 0.09395182132720947, 0.06863422691822052, 0.07970041781663895, -0.2892211079597473, -0.04851476475596428, -0.2441033273935318, -0.14330147206783295, -0.3089520335197449, 0.16792993247509003, 0.36692798137664795, -0.22771406173706055, 0.056761734187603, 0.0636550635099411, -0.4683212339878082, -0.08668621629476547, -0.1914384514093399, 0.35183438658714294, 0.15021571516990662, 0.06038351356983185, -0.05259903892874718, -0.07949662208557129, -0.009709376841783524, 0.2526576817035675, 0.14443349838256836, 0.07587651163339615, 0.44337165355682373, 0.09641967713832855, 0.2371564358472824, -0.21877771615982056, -0.03400641307234764, -0.09841006994247437, -0.16688191890716553, -0.15347109735012054, 0.2081017792224884, 0.3691725730895996, -0.1658085584640503, -0.2897568345069885, 0.06274942308664322, -0.27835312485694885, -0.283353716135025, 0.12681694328784943, 0.13914909958839417, -0.3095245659351349, -0.3063367009162903, -0.3803050220012665, -0.05532274395227432, -0.34282857179641724, 0.43723011016845703, -0.0701274573802948, 0.3284653425216675, 0.1593347042798996, 0.41676512360572815, 0.15637098252773285, -0.03874567896127701, -0.001339607872068882, -0.1366041749715805, 0.05962135270237923, 0.35101357102394104, -0.28153935074806213, -0.45976153016090393, 0.0543547160923481, 0.3036342263221741, 0.09630601108074188, 0.012134302407503128, -0.2585240602493286, 0.11465156823396683, -0.08144748955965042, -0.12317036092281342, -0.10671132802963257, -0.03062521480023861, 0.1736985296010971, 0.07030549645423889, -0.441020667552948, -0.30068445205688477, -0.25243544578552246, 0.16211944818496704, -0.07565880566835403, -0.11668366938829422, -0.14448589086532593, 0.2741902768611908, -0.005263272672891617, 0.3497393727302551, -0.07990312576293945, 0.16367340087890625, 0.21465928852558136, 0.004445010796189308, 0.5678116083145142, -0.14184018969535828, -0.10743614286184311, -0.039300210773944855, -0.19115778803825378, -0.3689713478088379, -0.040625691413879395, -0.3612871766090393, -0.22016823291778564, 0.1384366750717163, 0.1358497440814972, -0.25407612323760986, -0.20917458832263947, 0.2889975607395172, -0.09084340929985046, -0.03311564028263092, -0.013270213268697262, -0.06615268439054489, -0.21977676451206207, 0.07935523986816406, -0.15741634368896484, -0.05047862231731415, 0.11267632991075516, -0.09281366318464279, -0.23571038246154785, -0.40743494033813477, -0.23777589201927185, 0.18016591668128967, -0.20386779308319092, 0.37889352440834045, -0.12783819437026978, -0.28389373421669006, 0.2155255377292633, -0.019928477704524994, 0.469279944896698, 0.17525546252727509, -0.1505025327205658, 0.023449894040822983, 0.3089616894721985, -0.16773851215839386, 0.003859635442495346, -0.11199522018432617, 0.47772884368896484, 0.023880237713456154, -0.048163801431655884, -0.07274746149778366, -0.09231584519147873, 0.21180777251720428, 0.05378043279051781, -0.1361856907606125, -0.09603820741176605, -0.20606689155101776, -0.3331651985645294, -0.09312820434570312, -0.011435151100158691, 0.47191667556762695, 0.12161842733621597, -0.21966928243637085, -0.18231061100959778, -0.0007779113948345184, -0.059251002967357635, 0.01786331832408905, -0.2054552286863327, 0.3510313630104065, -0.21750716865062714, -0.08813253045082092, -0.16351276636123657, 0.22588293254375458, 0.2370021790266037, 0.4525536000728607, -0.10427244007587433, 0.06908988952636719, 0.1811733841896057, -0.4854292571544647, 0.3791062831878662, 0.3386194407939911, -0.07006966322660446, 0.297264039516449, -0.05033207684755325, -0.06577512621879578, -0.015660684555768967, -0.1670602411031723, 0.07042715698480606, -0.14820216596126556, -0.06061885505914688, -0.1674422323703766, 0.15447686612606049, -0.040054723620414734, -0.02808292955160141, 0.3481607437133789, 0.12816625833511353, -0.17857179045677185, 0.34754234552383423, 0.3131271004676819, 0.8772856593132019, -0.13129599392414093, 0.30627885460853577, 0.12436476349830627, -0.41101402044296265, 0.04461653158068657, -0.03891666606068611, 0.12076200544834137, -0.40251168608665466, -0.183851420879364, 0.01104552112519741, -0.15884484350681305, 0.11611317098140717, 0.0874796062707901, -0.21506911516189575, 0.013340765610337257, -0.06188351660966873, 0.5449930429458618, -0.026506396010518074, -0.07334340363740921, -0.08035647869110107, -0.07749180495738983, -0.13203151524066925, 0.2583022117614746, 0.3579655885696411, -0.522362232208252, -0.09998640418052673, -0.3058937191963196, -0.22152003645896912, -0.20624575018882751, -0.04125761240720749, -0.1106201708316803, -0.2525010108947754, 0.18421749770641327, -0.13222669064998627, -0.164630725979805, -0.06086574122309685, 0.05323111265897751, -0.06835906207561493, 0.25672391057014465, -0.03302193433046341, -0.1172364354133606, 0.14701572060585022, 0.0659838318824768, -0.2714546322822571, -0.081906259059906, 0.08891724050045013, -0.0071916282176971436, -0.0053230151534080505, 0.1503010392189026, -0.2015501707792282, -0.34573179483413696, 0.06552952527999878, 0.3908291459083557, 0.03477492928504944, -0.18875747919082642, -0.42791327834129333, -0.13513922691345215, -0.3035579323768616, -0.17949584126472473, 0.31413301825523376, 0.09884119778871536, 0.06014807149767876, 0.2194477617740631, 0.17494140565395355, -0.2718653082847595, 0.17171818017959595, 0.24173015356063843, 0.1472260057926178, 0.06484758108854294, 0.4232286810874939, -0.22434324026107788, -0.2917088270187378, -0.4393479824066162, 0.06846734136343002, 0.357940673828125, -0.47530123591423035, 0.1670532077550888, -0.1696707159280777, -0.03865232318639755, 0.0970793142914772, 0.31141090393066406, 0.2410155087709427, 0.3031904995441437, -0.4110281765460968, -0.10401463508605957, -0.158700630068779, 0.2775035500526428, -0.09411586821079254, 0.2796936631202698, 0.10766137391328812, -0.004173709079623222, 0.051873430609703064, -0.08924707770347595, -0.5213993787765503, 0.1252709925174713, -0.15209972858428955, 0.10524997860193253, 0.1041172593832016, 0.0389067679643631, -0.0639326348900795, -0.09360376000404358, 0.2952701449394226, 0.2089586704969406, -0.27418842911720276, -0.4201999604701996, 0.2898161709308624, 0.07259368151426315, -0.08535302430391312, 0.11846145242452621, -0.12115482985973358, -0.30919551849365234, -0.25749483704566956, 0.03311339020729065, -0.11061768233776093, 0.05578494071960449, -0.15913987159729004, -0.17753973603248596, 0.05301663279533386, 0.19494304060935974, 0.05520842224359512, -0.022587556391954422, -0.10266871750354767, 0.2868095934391022, -0.150099977850914, -0.040320396423339844, -0.1316208392381668, -0.12066874653100967, 0.18992720544338226, 0.3342849016189575, -0.05715875327587128, 0.029693305492401123, 0.24892914295196533, -0.16396021842956543, -0.12306787073612213, -0.007210066542029381, 0.2637401521205902, 0.3693082332611084, -0.2731420397758484, -0.16091586649417877, 0.03482799232006073, 0.42213889956474304, -0.10591720789670944, -0.03164347633719444, -0.13126032054424286, -0.18015675246715546, -0.03992614895105362, 0.2745000123977661, 0.34190109372138977, -0.4274922013282776, 0.1155378520488739, 0.177888423204422, 0.031741052865982056, -0.1506972312927246, -0.0796440988779068, 0.2045201063156128, 0.04422884061932564, 0.07049940526485443, 0.20644888281822205, 0.1336412876844406, 0.19184279441833496, 0.47768115997314453, 0.07852573692798615, 0.19187462329864502, 0.49356773495674133, -0.015352938324213028, -0.23725321888923645, -0.193818598985672, 0.27229321002960205, 0.18405325710773468, -0.06504736840724945, 0.21684318780899048, 0.3064582049846649, 0.32792991399765015, -0.03037964180111885, -0.012240085750818253, -0.071584552526474, -0.1461995393037796, -0.368855357170105, 0.046263162046670914, -0.24724212288856506, -0.16138321161270142, -0.22050195932388306, -0.20885321497917175, 0.019892100244760513, 0.24875974655151367, 0.28470203280448914, -0.12151375412940979, 0.21950773894786835, -0.21586620807647705, 0.20381972193717957, 0.09360234439373016, 0.20115385949611664, -0.3450988531112671, 0.10415109992027283, 0.04826105758547783, 0.0058210864663124084, 0.13882072269916534, 0.12922504544258118, 0.39606592059135437, 0.4307503402233124, 0.16542428731918335, -0.022785458713769913, -0.015407320111989975, -0.32732954621315, -0.04922236129641533, 0.11338742822408676, 0.3167390823364258, 0.06557939201593399, 0.35733047127723694, 0.3333757817745209, -0.17901000380516052, 0.22707395255565643, 0.35406437516212463, 0.0937730073928833, 0.031983718276023865, -0.16960552334785461, 0.06569290906190872, -0.3888207674026489, -0.06530986726284027, 0.009292729198932648, -0.4694693088531494, -0.11730624735355377, 0.21611709892749786, -0.2282746434211731, 0.1498872935771942, -0.0092724384739995, 0.18773281574249268, 0.13001054525375366, 0.553575336933136, -0.08775587379932404, 0.16751728951931, -0.29847219586372375, -0.2796272039413452, -0.30814969539642334, 0.177632138133049, -0.1261679232120514, 0.08146943897008896, -0.15235865116119385, 0.30565914511680603, 0.33042481541633606, -0.1746092289686203, 0.16956321895122528, 0.052880238741636276, -0.07557880133390427, 0.369919091463089, -0.14717257022857666, 0.012096142396330833, 0.285969614982605, -0.04541122168302536, -0.03528664633631706, -0.3305951952934265, 0.2593074142932892, -0.025179382413625717, 0.36230412125587463, -0.27554649114608765, 0.06704859435558319, -0.021698182448744774, 0.32420578598976135, 0.30072665214538574, -0.1373225599527359, 0.15573959052562714, -0.1968563199043274, -0.03776933252811432, -0.1717105358839035, 0.09287912398576736, -0.008192798122763634, 0.19463801383972168, 0.39451050758361816, -0.0047701578587293625, -0.05879873037338257, -0.020207803696393967, -0.004382395651191473, 0.110359787940979, -0.08229216933250427, 0.28688186407089233, -0.004156444221735001, 0.2164696753025055, -0.11332184076309204, 0.03668932244181633, -0.06567542999982834, -0.08156672865152359, 0.027946021407842636, 0.05148576945066452, -0.16156446933746338, -0.31685924530029297, 0.3215242624282837, 0.0890229195356369, -0.24188104271888733, 0.2250380665063858, 0.4171137809753418, 0.23215585947036743, 0.07773320376873016, -0.6143674254417419, -0.06767617166042328, 0.15090014040470123, -0.12782472372055054, -0.21766449511051178, 0.3700084686279297, -0.24805885553359985, 0.11259911954402924, -0.045802224427461624, 0.5837161540985107, 0.08277340233325958, -0.13622213900089264, -0.22592569887638092, -0.5561127066612244 ]
https://github.com/huggingface/datasets/pull/1887
Implement to_csv for Dataset
Raising this error for booleans was introduced in https://issues.apache.org/jira/browse/ARROW-2871?jql=text%20~%20%22boolean%20to_numpy%22 without much explanations unfortunately. So "no copy" only works for primitive types - except booleans. This is confirmed in the source code at https://github.com/wesm/arrow/blob/c07b9b48cf3e0bbbab493992a492ae47e5b04cad/python/pyarrow/array.pxi#L621 I'm opening a PR to allow copies for booleans...
cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory
42
text: Implement to_csv for Dataset cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory Raising this error for booleans was introduced in https://issues.apache.org/jira/browse/ARROW-2871?jql=text%20~%20%22boolean%20to_numpy%22 without much explanations unfortunately. So "no copy" only works for primitive types - except booleans. This is confirmed in the source code at https://github.com/wesm/arrow/blob/c07b9b48cf3e0bbbab493992a492ae47e5b04cad/python/pyarrow/array.pxi#L621 I'm opening a PR to allow copies for booleans...
[ 0.2487679272890091, 0.12252657115459442, 0.0036270394921302795, -0.306643009185791, 0.028298242017626762, -0.08267442882061005, 0.23983286321163177, 0.5496321320533752, -0.00932676438242197, -0.01485326886177063, 0.07522859424352646, 0.5923384428024292, 0.03736891224980354, 0.04925665259361267, 0.13635805249214172, 0.3174329996109009, 0.19695165753364563, 0.24703826010227203, -0.2513827085494995, -0.08875682950019836, -0.35788142681121826, 0.004453817382454872, -0.03573692589998245, 0.20547087490558624, -0.07727155089378357, -0.17134669423103333, -0.14992445707321167, 0.10125356167554855, -0.49095863103866577, -0.22798889875411987, -0.2613181471824646, -0.13113367557525635, -0.10369624197483063, -0.18737831711769104, -0.00011330386041663587, 0.1296369433403015, 0.2165333330631256, -0.10548394173383713, -0.39492344856262207, -0.04848414659500122, 0.12623873353004456, -0.2819945812225342, 0.30809953808784485, -0.3857441246509552, 0.3156735599040985, -0.15613816678524017, 0.1569002866744995, 0.013768337666988373, 0.6403310298919678, 0.30627378821372986, 0.1910771131515503, 0.14760160446166992, 0.2888677716255188, -0.14831097424030304, 0.4829772114753723, 0.021379590034484863, -0.2579226791858673, 0.4443055987358093, 0.03185092285275459, 0.10890505462884903, -0.05668296664953232, 0.09784471988677979, -0.214149609208107, -0.06555630266666412, 0.1608656942844391, -0.11330880969762802, 0.1025373637676239, -0.16661426424980164, 0.047754593193531036, 0.17108550667762756, 0.4354219138622284, -0.45819368958473206, -0.3691757619380951, 0.07520490139722824, 0.00659524742513895, -0.17897732555866241, 0.10451887547969818, 0.2322087585926056, -0.09294003248214722, 0.10513627529144287, 0.20325255393981934, -0.2519037425518036, -0.14291855692863464, -0.011729754507541656, 0.17077572643756866, -0.08794349431991577, -0.0297769196331501, 0.08571730554103851, 0.20957565307617188, -0.13772453367710114, 0.40886470675468445, 0.022310510277748108, -0.06430651247501373, 0.17580178380012512, 0.04381360113620758, 0.031578801572322845, -0.12206853181123734, -0.18226900696754456, -0.15223883092403412, 0.06256063282489777, 0.38564085960388184, -0.14198169112205505, -0.024662241339683533, 0.29729312658309937, 0.1308322548866272, 0.07836729288101196, 0.14492690563201904, 0.405661940574646, 0.19174040853977203, 0.07265686243772507, 0.20702295005321503, -0.022818148136138916, -0.07454480975866318, -0.3498375713825226, 0.3369470536708832, 0.05799618735909462, 0.4725644588470459, -0.11986054480075836, -0.35299578309059143, 0.06954433768987656, -0.29832613468170166, 0.08021194487810135, -0.20052258670330048, 0.308708131313324, 0.44332924485206604, -0.3439963757991791, 0.34110498428344727, 0.08918304741382599, -0.15442678332328796, -0.18813079595565796, -0.1989155113697052, 0.28947901725769043, -0.07202480733394623, -0.1310902088880539, 0.10589636862277985, 0.051303304731845856, 0.03629997372627258, 0.13492152094841003, 0.013336755335330963, 0.01894005388021469, 0.029782338067889214, -0.11085520684719086, 0.2737787365913391, 0.45220884680747986, -0.04518646374344826, -0.09230126440525055, 0.25222620368003845, -0.14575828611850739, -0.11090467870235443, 0.4772632122039795, -0.07710138708353043, -0.23356899619102478, 0.14199303090572357, 0.1760091334581375, -0.22675861418247223, -0.21187126636505127, 0.13222068548202515, -0.12355978786945343, 0.2191847860813141, -0.14955507218837738, 0.3396654427051544, 0.00486222468316555, 0.2016179859638214, -0.44119930267333984, -0.10280781239271164, 0.3441823720932007, -0.6593632102012634, 0.07817839086055756, 0.04235002398490906, 0.06846391409635544, 0.24467846751213074, 0.5416395664215088, 0.05656107887625694, 0.04767743870615959, 0.048421405255794525, 0.26674437522888184, 0.31652796268463135, 0.20286093652248383, -0.07542655616998672, 0.05550572648644447, -0.07456309348344803, -0.360782265663147, 0.09937494993209839, -0.011328202672302723, 0.1140650287270546, -0.1954108476638794, 0.07050719112157822, 0.07732447981834412, 0.032332584261894226, -0.1170179471373558, -0.23598986864089966, -0.07357415556907654, -0.35532695055007935, -0.0400245375931263, -0.285222589969635, -0.030202068388462067, 0.02431858330965042, -0.5357075333595276, 0.10836689174175262, -0.23890691995620728, 0.17261341214179993, -0.11403656005859375, 0.760413408279419, -0.5160331130027771, 0.09462708234786987, 0.0958995595574379, -0.016758009791374207, 0.054057568311691284, -0.39322131872177124, -0.09800030291080475, -0.11891712248325348, -0.15799888968467712, -0.029871024191379547, 0.38251793384552, -0.19509457051753998, 0.17619945108890533, 0.07241854071617126, -0.3285483717918396, -0.047641344368457794, 0.05660705640912056, -0.1345375031232834, -0.2547517716884613, -0.35113203525543213, 0.14965109527111053, 0.25950390100479126, -0.07419072091579437, -0.3063921332359314, -0.36961880326271057, 0.05982287973165512, 0.2864200472831726, 0.09555021673440933, 0.005694487132132053, -0.1646382212638855, 0.15301917493343353, -0.09438812732696533, 0.017549388110637665, -0.00852467492222786, -0.16540242731571198, -0.08587965369224548, -0.27001968026161194, 0.419139564037323, 0.5490642786026001, 0.09654002636671066, 0.09064493328332901, -0.05085114389657974, 0.6188356876373291, -0.23648901283740997, -0.014249555766582489, 0.03445643186569214, 0.30643463134765625, 0.15856963396072388, 0.23018762469291687, -0.006827369797974825, -0.2960180938243866, 0.26618069410324097, 0.1090080738067627, -0.05456945300102234, 0.11427729576826096, -0.09647516161203384, 0.1648879051208496, 0.2329874038696289, -0.13989372551441193, 0.1451946645975113, 0.09391000121831894, -0.004527449607849121, -0.28213706612586975, 0.13139626383781433, 0.27113136649131775, 0.15237319469451904, 0.16576583683490753, -0.05364507809281349, -0.07973682135343552, -0.05942802131175995, -0.29064568877220154, 0.37213319540023804, -0.2798736095428467, 0.34004777669906616, 0.08958330005407333, 0.043168313801288605, 0.008619653061032295, -0.22004947066307068, 0.13986705243587494, 0.15517506003379822, 0.03962619602680206, -0.31613248586654663, -0.11568701267242432, -0.08686134219169617, -0.12354607880115509, -0.2399149239063263, 0.1761459857225418, 0.15033653378486633, -0.5011788010597229, 0.27659767866134644, -0.022701088339090347, -0.47753217816352844, -0.16776686906814575, -0.2729385495185852, 0.28181493282318115, 0.23541907966136932, -0.4050419330596924, -0.32797279953956604, -0.22971582412719727, -0.16045397520065308, 0.07431818544864655, 0.10365496575832367, -0.14805252850055695, 0.2520899772644043, 0.04172275960445404, 0.1307356059551239, -0.4237602651119232, -0.21520265936851501, 0.06454634666442871, -0.16302461922168732, 0.06496767699718475, 0.24253450334072113, 0.1598116159439087, -0.22979730367660522, -0.08005641400814056, 0.049913469702005386, -0.2945389747619629, -0.534263551235199, 0.3622839152812958, -0.125929594039917, -0.07923934608697891, -0.17963017523288727, -0.327315092086792, -0.22856037318706512, -0.2884756028652191, 0.5003007054328918, 0.08614303171634674, 0.21590553224086761, 0.324233740568161, 0.3598024249076843, 0.20808309316635132, -0.0003978353925049305, 0.022725947201251984, -0.06782879680395126, 0.1828610748052597, 0.3745330572128296, -0.17209526896476746, -0.47346803545951843, 0.01938747987151146, 0.2932296395301819, -0.23737302422523499, -0.03577331081032753, -0.24188274145126343, 0.011801271699368954, -0.10838411748409271, 0.23259827494621277, 0.06900491565465927, 0.026452545076608658, 0.18963393568992615, 0.27081671357154846, -0.23977811634540558, -0.20687228441238403, -0.1686028242111206, 0.12996891140937805, 0.19645604491233826, 0.20628274977207184, -0.07040916383266449, 0.2521318197250366, 0.02802683785557747, 0.5026773810386658, 0.2898911237716675, 0.1547265350818634, 0.29936331510543823, 0.07875945419073105, 0.5180625319480896, -0.2873572111129761, 0.002177691087126732, -0.05484256520867348, -0.23925864696502686, -0.3316708207130432, -0.2163844257593155, -0.34870287775993347, -0.12863565981388092, 0.1304447203874588, -0.025752954185009003, -0.29687222838401794, -0.2816579341888428, 0.18692530691623688, -0.29303449392318726, -0.16784104704856873, -0.05290792137384415, -0.025190100073814392, -0.10275596380233765, 0.11947091668844223, -0.10982252657413483, -0.0017822906374931335, 0.07165077328681946, -0.0679798424243927, 0.004750646650791168, -0.5747519731521606, -0.3040304481983185, 0.35856303572654724, -0.19901669025421143, 0.34845519065856934, 0.052587877959012985, -0.2782336473464966, 0.23306171596050262, -0.1519610434770584, 0.30204206705093384, -0.04597052186727524, 0.07636964321136475, 0.18385881185531616, 0.1926395148038864, -0.31447044014930725, -0.1469784677028656, -0.19470557570457458, 0.46926358342170715, 0.21356917917728424, 0.036319587379693985, -0.21247290074825287, 0.14388151466846466, 0.04948034510016441, 0.0356098897755146, -0.06599806994199753, -0.16720716655254364, -0.29331308603286743, -0.2308264970779419, -0.16258607804775238, 0.03071056306362152, 0.29983317852020264, 0.18267185986042023, -0.2433953434228897, 0.009290415793657303, -0.06990701705217361, -0.1557621955871582, -0.02131722867488861, -0.18364641070365906, 0.30206558108329773, -0.551205575466156, -0.04668091982603073, -0.14583200216293335, 0.15361563861370087, 0.202231302857399, 0.6152953505516052, -0.05192232504487038, -0.3949531316757202, -0.09851962327957153, -0.19416718184947968, 0.13630440831184387, 0.3407885730266571, 0.019410084933042526, 0.0961303859949112, 0.043997958302497864, -0.23374967277050018, 0.5453398823738098, -0.47788575291633606, -0.16417787969112396, -0.1043936237692833, 0.049234360456466675, 0.1408635377883911, 0.23660525679588318, 0.17005740106105804, 0.07318530976772308, 0.276195764541626, 0.09454304724931717, 0.11969977617263794, 0.5377282500267029, 0.5140001773834229, 1.0303775072097778, -0.4200195074081421, 0.4616096019744873, 0.26602253317832947, -0.34676098823547363, 0.5718389749526978, 0.034703150391578674, -0.13169585168361664, -0.42604562640190125, 0.09086848050355911, 0.03798161447048187, -0.14291135966777802, 0.02799154818058014, -0.2702862620353699, -0.45836350321769714, 0.2116290032863617, -0.3416687846183777, 0.7027206420898438, 0.20371486246585846, -0.24559083580970764, -0.49200570583343506, 0.11061865091323853, -0.14304400980472565, 0.05228905379772186, 0.2572392225265503, -0.37448081374168396, 0.08615284413099289, -0.47307926416397095, -0.19323919713497162, -0.32561445236206055, -0.152808278799057, 0.178462952375412, -0.24903064966201782, 0.17457643151283264, 0.16488876938819885, -0.09014660120010376, -0.04039611667394638, 0.24695083498954773, 0.3027831017971039, 0.1099027693271637, -0.14421705901622772, -0.29919424653053284, 0.3521673381328583, -0.008243312127888203, -0.16700872778892517, -0.07977079600095749, 0.428459495306015, -0.000755753368139267, -0.08947041630744934, 0.23589923977851868, -0.29912424087524414, -0.17872589826583862, -0.011722907423973083, 0.18587033450603485, -0.2763398289680481, -0.22935961186885834, -0.2396780401468277, -0.25345292687416077, -0.46608152985572815, -0.4212651550769806, 0.1248374879360199, 0.13039253652095795, -0.029164569452404976, -0.07504544407129288, -0.053592976182699203, -0.29024404287338257, 0.27359670400619507, 0.20848160982131958, 0.1719152331352234, 0.29274222254753113, 0.630099892616272, -0.11918078362941742, -0.1743910312652588, -0.25014984607696533, 0.19282680749893188, 0.5248973965644836, -0.42824098467826843, 0.45185649394989014, -0.10765376687049866, -0.19461438059806824, -0.04070841521024704, 0.34224751591682434, 0.20812533795833588, 0.48633643984794617, -0.6051125526428223, -0.11070467531681061, -0.3106248378753662, 0.38603293895721436, -0.08807680010795593, 0.14432260394096375, 0.12935790419578552, 0.16608940064907074, 0.14354205131530762, -0.1366274058818817, -0.2907389998435974, -0.05822337418794632, -0.10245073586702347, -0.048530563712120056, -0.11469714343547821, -0.10658427327871323, -0.1247754618525505, 0.11796161532402039, 0.10510244965553284, 0.3630419373512268, -0.09712457656860352, -0.20524775981903076, 0.18165042996406555, 0.11332520097494125, 0.21595951914787292, 0.15141648054122925, 0.04813525080680847, -0.3471565842628479, -0.024452336132526398, 0.08647030591964722, -0.4339201748371124, -0.23513615131378174, -0.11310158669948578, -0.0852242186665535, 0.27707791328430176, 0.15888458490371704, 0.08378510177135468, 0.020216582342982292, -0.37095293402671814, 0.055865198373794556, -0.2728560268878937, 0.07746395468711853, 0.07565320283174515, -0.055751264095306396, 0.10283635556697845, 0.045837074518203735, -0.17330770194530487, 0.08310511708259583, 0.10461443662643433, -0.03442292660474777, -0.18914246559143066, -0.3933161497116089, 0.399494469165802, 0.5418890118598938, -0.18579211831092834, -0.05334754288196564, 0.059711333364248276, 0.12588290870189667, -0.3113526403903961, 0.047717902809381485, -0.23130470514297485, -0.10080540180206299, -0.021977121010422707, 0.2603778839111328, 0.02516508474946022, -0.25089171528816223, 0.03684966266155243, 0.02653075009584427, -0.2416926622390747, -0.2597109079360962, -0.13731475174427032, 0.51873379945755, 0.021885935217142105, 0.10929512232542038, 0.3631557524204254, -0.003799501806497574, 0.11350533366203308, 0.13984596729278564, -0.35850781202316284, 0.09560752660036087, 0.3247498869895935, 0.12174324691295624, 0.06655929982662201, -0.21899577975273132, 0.3302302062511444, 0.30088427662849426, 0.10349810868501663, 0.20321792364120483, 0.33135029673576355, 0.549691915512085, 0.07558511942625046, 0.09861098974943161, -0.05457531660795212, 0.17798936367034912, -0.16568520665168762, -0.18877959251403809, -0.5086994171142578, -0.11813485622406006, -0.05251310020685196, -0.1811230331659317, -0.12949755787849426, 0.087828628718853, 0.2783602476119995, 0.15406259894371033, 0.15102747082710266, -0.4849724769592285, 0.399763822555542, -0.07526960968971252, 0.09148095548152924, -0.24932989478111267, 0.07149269431829453, 0.06706923991441727, -0.27681416273117065, -0.020519889891147614, 0.10431382060050964, 0.6757041215896606, 0.20551472902297974, -0.2096196711063385, 0.33863991498947144, -0.294386625289917, -0.42261937260627747, -0.0241396464407444, 0.09076534956693649, 0.38721826672554016, 0.023456227034330368, 0.26622724533081055, 0.08559557050466537, -0.012237859889864922, 0.17723038792610168, 0.19397442042827606, 0.09703463315963745, 0.3305969536304474, 0.32860276103019714, 0.14094266295433044, -0.42091989517211914, 0.1006942093372345, 0.08982907980680466, -0.2651701271533966, 0.0036163399927318096, 0.1862487941980362, -0.05884414166212082, -0.0731906071305275, 0.04702923819422722, 0.08251022547483444, 0.0872415155172348, 0.3002946376800537, 0.3143692910671234, 0.2838118076324463, -0.4338977634906769, 0.25265711545944214, -0.011610906571149826, -0.010515227913856506, -0.14548203349113464, -0.2734105587005615, 0.03584311529994011, 0.3816436529159546, 0.2612331211566925, -0.20907264947891235, 0.17542308568954468, 0.4465690851211548, 0.26917240023612976, 0.2972457706928253, -0.2189749777317047, -0.07377895712852478, 0.4412047266960144, -0.04924297332763672, 0.1297742873430252, -0.4101784825325012, 0.21416878700256348, 0.0812932699918747, 0.06668639183044434, -0.09571616351604462, -0.2196103036403656, 0.2850065529346466, 0.14992669224739075, 0.30441081523895264, -0.03720202296972275, 0.15573889017105103, 0.03908604383468628, -0.14573845267295837, -0.1502496898174286, 0.08124718070030212, -0.2941720485687256, 0.21555966138839722, 0.2259036749601364, -0.10076570510864258, -0.21354590356349945, -0.024001557379961014, -0.010148203931748867, 0.08242544531822205, -0.34181392192840576, -0.22152122855186462, -0.20341706275939941, 0.22823607921600342, -0.14459964632987976, -0.008724825456738472, -0.1177026629447937, -0.09171517938375473, -0.18094170093536377, 0.06518222391605377, -0.38281065225601196, -0.4361450672149658, 0.6374555826187134, -0.1360984742641449, 0.12483127415180206, 0.23863805830478668, 0.288002610206604, 0.3175756335258484, 0.019318150356411934, -0.5777246356010437, -0.04557017982006073, 0.17880062758922577, -0.0649280846118927, -0.2594408690929413, 0.2585546374320984, 0.03747379779815674, 0.25393247604370117, -0.26712387800216675, 0.46759864687919617, 0.024198021739721298, -0.022181738168001175, -0.12247161567211151, -0.40960532426834106 ]
https://github.com/huggingface/datasets/pull/1887
Implement to_csv for Dataset
I just merged the fix for boolean ArrayXD, feel free to merge from master to see if it fixes the ci :)
cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory
22
text: Implement to_csv for Dataset cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory I just merged the fix for boolean ArrayXD, feel free to merge from master to see if it fixes the ci :)
[ -0.21831752359867096, 0.02127981185913086, -0.20453354716300964, -0.12042766809463501, 0.06297003477811813, -0.04653490334749222, 0.22963760793209076, 0.4909781515598297, 0.32066410779953003, 0.23630669713020325, 0.23139479756355286, 0.31326931715011597, -0.1224215105175972, 0.5568339228630066, 0.028806259855628014, 0.5503904819488525, 0.3830314874649048, 0.46580231189727783, -0.40796491503715515, -0.1407586932182312, -0.226723313331604, -0.004612840712070465, -0.06305095553398132, -0.08961310982704163, 0.037541188299655914, -0.10814451426267624, -0.09176286309957504, 0.36972033977508545, -0.38238614797592163, -0.10791811347007751, -0.08369559049606323, 0.25981083512306213, -0.24618521332740784, 0.12852178514003754, -0.0000996472081169486, -0.005182176828384399, -0.01861608773469925, -0.20808741450309753, -0.271210253238678, 0.011963821947574615, -0.18870994448661804, -0.23950816690921783, 0.13102009892463684, -0.4918439984321594, 0.0809648260474205, 0.07634511590003967, 0.16125433146953583, -0.1861763745546341, 0.3166649043560028, 0.24176985025405884, 0.36429643630981445, -0.07426708191633224, 0.1191682368516922, -0.1117878183722496, 0.18909192085266113, 0.1459307074546814, -0.11358166486024857, 0.09477999806404114, 0.31054171919822693, -0.04611168056726456, -0.23040899634361267, 0.02837645821273327, -0.1377892792224884, -0.02595582604408264, 0.3297424018383026, -0.02986763045191765, -0.09146782010793686, 0.13098803162574768, 0.14125049114227295, -0.16847920417785645, 0.44955092668533325, -0.33467066287994385, 0.005110599100589752, 0.1861766278743744, -0.08565819263458252, -0.5068473815917969, 0.1911890208721161, -0.0400024875998497, -0.1332377940416336, 0.145742729306221, -0.15568606555461884, -0.26956120133399963, -0.2961239814758301, -0.07117316126823425, -0.0020476728677749634, -0.026290535926818848, -0.2667497396469116, -0.11707202345132828, 0.19761861860752106, -0.16665831208229065, 0.17163385450839996, -0.1313723772764206, -0.06961391866207123, 0.11644008755683899, -0.21300755441188812, -0.15509992837905884, 0.03180187568068504, 0.05394645780324936, -0.13095694780349731, -0.19848743081092834, 0.281647264957428, 0.1389150172472, 0.163244366645813, 0.11549264192581177, 0.056195344775915146, 0.06080901250243187, 0.06764546036720276, -0.009016832336783409, 0.2655390501022339, 0.04337131604552269, -0.08317485451698303, -0.007796883583068848, -0.275076687335968, -0.05303804576396942, 0.03549357131123543, 0.02130463719367981, 0.21375510096549988, -0.18496878445148468, -0.3202104866504669, 0.004785371944308281, 0.32118162512779236, 0.1341923326253891, -0.1272440403699875, 0.46822598576545715, 0.06883721798658371, -0.22468799352645874, 0.17268656194210052, -0.2630464434623718, -0.2328258901834488, 0.02563083916902542, -0.20432816445827484, 0.1855567842721939, -0.18571977317333221, -0.1297406405210495, 0.0749792754650116, 0.07773546129465103, -0.10208118706941605, 0.0670466497540474, 0.11728204786777496, 0.03456457704305649, -0.19197659194469452, -0.14269079267978668, 0.4137503206729889, 0.18322961032390594, 0.1791984885931015, -0.07793250679969788, 0.24227696657180786, -0.25272244215011597, -0.03060893714427948, 0.37288421392440796, -0.1436743438243866, -0.18514136970043182, -0.11071468889713287, 0.3810443580150604, -0.12305113673210144, -0.12073853611946106, 0.048172637820243835, 0.14203932881355286, 0.11440984904766083, -0.18129894137382507, -0.0967017337679863, 0.2989985942840576, -0.11205878108739853, -0.3864806592464447, 0.09401082247495651, 0.33823174238204956, -0.5787259936332703, 0.4338746666908264, 0.01579953357577324, 0.00006959959864616394, 0.08962636440992355, 0.10883277654647827, -0.02604040317237377, 0.10349307209253311, 0.02412608079612255, -0.042794909328222275, 0.1784473955631256, -0.17282569408416748, -0.1245957762002945, 0.2164691537618637, -0.2451462745666504, -0.26537829637527466, 0.2183951735496521, 0.15449213981628418, 0.4953438341617584, -0.10470282286405563, 0.2115924060344696, 0.14122822880744934, -0.10439121723175049, 0.17272073030471802, -0.14862866699695587, -0.10214462876319885, -0.2422625869512558, 0.08206363022327423, -0.16406098008155823, 0.13010399043560028, 0.36506277322769165, -0.355033278465271, 0.5132794380187988, -0.31401848793029785, 0.06518597900867462, 0.013680677860975266, 0.49212414026260376, -0.30520564317703247, -0.12086861580610275, 0.060241177678108215, -0.16338634490966797, -0.09319623559713364, 0.2621653378009796, -0.09467372298240662, 0.0012782886624336243, -0.24195480346679688, -0.2039106786251068, 0.05538143962621689, -0.07705584168434143, 0.19239574670791626, 0.34362873435020447, -0.264424592256546, -0.31673964858055115, -0.09635862708091736, -0.17003922164440155, -0.027120226994156837, -0.31524038314819336, -0.12255247682332993, 0.02675371989607811, -0.21851809322834015, -0.14931491017341614, -0.26289355754852295, 0.19823391735553741, 0.19177532196044922, -0.14013361930847168, -0.16841796040534973, -0.19050198793411255, 0.34554702043533325, -0.0933094397187233, 0.06668449938297272, 0.034833431243896484, 0.13814106583595276, -0.10337137430906296, 0.05891340598464012, 0.11063235998153687, 0.14947161078453064, 0.33870500326156616, -0.10376489162445068, -0.33390185236930847, 0.28990599513053894, -0.27584514021873474, -0.03533662110567093, 0.14696519076824188, 0.07130872458219528, 0.21109218895435333, 0.08693504333496094, 0.2028471976518631, -0.2524607479572296, 0.10057003796100616, 0.0787951648235321, -0.3007620573043823, 0.28148072957992554, -0.17110319435596466, 0.30724892020225525, 0.37736454606056213, 0.05389435216784477, 0.08041176944971085, 0.039728615432977676, 0.16061952710151672, -0.18483000993728638, 0.04737818241119385, 0.33411678671836853, 0.48354029655456543, 0.2638922929763794, -0.12927629053592682, -0.061435408890247345, 0.10662638396024704, -0.24122439324855804, 0.4182499945163727, -0.39712047576904297, 0.09290435910224915, 0.09278643131256104, -0.06280405074357986, -0.1616775244474411, -0.362429678440094, -0.06876780092716217, 0.17700675129890442, 0.17127616703510284, -0.2810797393321991, -0.12495582550764084, -0.24705101549625397, -0.4704775810241699, -0.0423421710729599, 0.31139108538627625, 0.39405322074890137, -0.1446159929037094, 0.081947460770607, 0.2451222836971283, -0.408501535654068, -0.002681630663573742, -0.3095962703227997, 0.39865753054618835, 0.143792062997818, -0.06081104278564453, -0.009311627596616745, -0.1491841822862625, -0.12563809752464294, 0.2761484384536743, 0.24286134541034698, -0.020128674805164337, 0.3458517789840698, -0.09402309358119965, 0.29004234075546265, -0.23796769976615906, -0.11366522312164307, -0.07930964231491089, -0.05483270436525345, 0.024615347385406494, 0.20451071858406067, 0.26684439182281494, -0.19666481018066406, -0.24158836901187897, 0.02662269026041031, -0.3235047459602356, -0.32542043924331665, 0.07386677712202072, 0.03547261282801628, -0.4485105276107788, -0.35881611704826355, -0.3449817895889282, -0.08823978155851364, -0.4203285872936249, 0.16453197598457336, -0.1800326555967331, 0.43368691205978394, 0.32012152671813965, 0.24824237823486328, -0.04394225776195526, 0.11112318933010101, -0.04373123496770859, -0.12567272782325745, -0.15484292805194855, 0.3398172855377197, -0.2489665299654007, -0.5384479761123657, 0.1592320203781128, 0.28571754693984985, 0.09131914377212524, 0.14384426176548004, -0.08268770575523376, 0.10868895053863525, -0.15620583295822144, -0.15206195414066315, 0.02640511654317379, -0.15661661326885223, 0.13556157052516937, 0.09731967747211456, -0.36722898483276367, -0.33675417304039, -0.286299467086792, 0.2148217111825943, -0.08706993609666824, 0.04096880555152893, -0.014654960483312607, 0.2651652991771698, 0.19576062262058258, 0.1179741770029068, 0.008625810965895653, 0.07260041683912277, 0.2739354074001312, 0.09086397290229797, 0.6052405834197998, 0.006648346781730652, -0.36483970284461975, 0.21957509219646454, -0.08011813461780548, -0.3736931085586548, 0.09741906821727753, -0.23371225595474243, -0.21814638376235962, 0.024743489921092987, 0.04045572504401207, -0.19197770953178406, -0.22344818711280823, 0.1852344572544098, -0.16891330480575562, 0.08287614583969116, 0.07354991137981415, -0.18040704727172852, -0.26271432638168335, -0.10650961101055145, -0.20960471034049988, 0.23577885329723358, 0.06478147208690643, -0.1253991425037384, -0.19823713600635529, -0.5597875118255615, -0.31995704770088196, 0.16821953654289246, -0.13277462124824524, 0.30543944239616394, -0.31217941641807556, -0.026524290442466736, 0.12959706783294678, -0.0514243021607399, 0.40441763401031494, 0.17272402346134186, -0.0957145243883133, 0.1331045925617218, 0.1220393031835556, -0.012026602402329445, 0.1366422027349472, -0.038828469812870026, 0.45649540424346924, 0.042517922818660736, 0.25144028663635254, -0.047197408974170685, -0.036633290350437164, 0.3059886693954468, -0.16341787576675415, -0.16456332802772522, -0.34743112325668335, -0.08514047414064407, -0.3349747061729431, -0.20865343511104584, 0.07706371694803238, 0.3453207314014435, 0.2639099359512329, -0.20340704917907715, -0.42361459136009216, 0.08602462708950043, -0.12898091971874237, 0.1524096131324768, -0.061827126890420914, 0.23567557334899902, -0.15375059843063354, 0.012648995965719223, -0.23109862208366394, 0.18310222029685974, 0.10444976389408112, 0.3635408878326416, -0.01606842502951622, 0.04510418325662613, 0.02364642173051834, -0.4569796621799469, 0.3280796408653259, 0.31163567304611206, -0.08473406732082367, 0.3447999358177185, -0.11173681914806366, -0.1032375693321228, -0.006929880939424038, -0.03866847977042198, -0.08040964603424072, -0.11028081923723221, -0.09451150894165039, -0.07548189908266068, -0.14488673210144043, -0.03498626872897148, -0.04028991237282753, 0.27227264642715454, -0.016733363270759583, -0.3145105540752411, 0.26924002170562744, 0.25266775488853455, 0.7234230637550354, -0.1877738982439041, 0.2985548973083496, 0.0945851057767868, -0.2720431983470917, 0.04275426268577576, 0.07295271754264832, 0.12276750802993774, -0.3586781919002533, -0.3687132000923157, -0.000867081806063652, 0.017118733376264572, 0.14652439951896667, 0.08257026970386505, -0.3694927990436554, 0.2190445363521576, 0.0670844167470932, 0.7052995562553406, 0.08892478793859482, -0.11016258597373962, -0.24830451607704163, -0.2508355975151062, -0.1525118052959442, 0.25481030344963074, 0.19296367466449738, -0.5937030911445618, -0.23839417099952698, -0.3769039511680603, 0.1259872019290924, -0.15362507104873657, -0.0727904886007309, -0.044028304517269135, -0.09359624236822128, 0.2226802557706833, -0.2928934693336487, -0.10847075283527374, 0.045937735587358475, 0.12964797019958496, 0.12281450629234314, 0.39534232020378113, 0.06496862322092056, -0.07242226600646973, 0.07156939059495926, 0.2951522469520569, -0.25458139181137085, -0.18403354287147522, 0.22933173179626465, -0.020178640261292458, -0.09368965029716492, -0.008165031671524048, -0.07323376089334488, -0.23791015148162842, 0.03301149606704712, 0.23368698358535767, -0.01847618818283081, -0.12824538350105286, -0.24939006567001343, -0.22190776467323303, -0.14445945620536804, -0.28826260566711426, 0.27752867341041565, 0.11426973342895508, 0.15209321677684784, 0.4354848861694336, 0.11128118634223938, -0.2670491635799408, 0.18325954675674438, -0.0024750754237174988, 0.14313726127147675, -0.05612678825855255, 0.236835315823555, -0.1438685655593872, -0.17995555698871613, -0.39213573932647705, 0.09430886059999466, 0.16020651161670685, -0.08792942762374878, 0.26123926043510437, -0.02461293712258339, -0.07238747924566269, 0.06198909878730774, 0.3620457947254181, 0.08743689954280853, 0.3175148069858551, -0.2874804437160492, -0.17421793937683105, -0.27847063541412354, 0.2557864189147949, -0.22238965332508087, 0.31961220502853394, 0.22576174139976501, 0.04829708859324455, 0.046002961695194244, -0.14784464240074158, -0.49804556369781494, 0.05615901201963425, -0.2200402021408081, 0.027407053858041763, 0.2571554183959961, 0.03664085641503334, -0.17792177200317383, -0.15509207546710968, 0.19300229847431183, 0.1879936307668686, -0.11186673492193222, -0.3760339319705963, 0.287226140499115, 0.07422123104333878, -0.027967706322669983, 0.036750294268131256, 0.07710477709770203, -0.2618844509124756, -0.28245964646339417, -0.04219250753521919, -0.08056261390447617, -0.09806966781616211, -0.098329558968544, -0.23348204791545868, -0.11055509746074677, 0.14898164570331573, 0.18767070770263672, 0.060612767934799194, 0.03970647230744362, 0.178461953997612, -0.1855575293302536, 0.030463751405477524, -0.21962860226631165, -0.18186502158641815, 0.26229962706565857, 0.37355947494506836, -0.030155248939990997, 0.10251730680465698, 0.3558443784713745, -0.12889286875724792, -0.1119765043258667, 0.17834550142288208, 0.2792116403579712, 0.20447292923927307, -0.1858258992433548, 0.018117746338248253, 0.07507221400737762, 0.400383859872818, -0.16505974531173706, 0.019382642582058907, 0.017326680943369865, -0.08079416304826736, -0.004865217953920364, 0.29265761375427246, 0.22260451316833496, -0.4152209460735321, 0.23555207252502441, 0.12778544425964355, 0.19110515713691711, -0.03180762380361557, -0.09652377665042877, 0.13515882194042206, -0.04186573624610901, 0.13177524507045746, 0.2109820693731308, 0.18849243223667145, 0.10019971430301666, 0.7667446732521057, 0.10068304091691971, 0.13787119090557098, 0.5401865839958191, 0.09882000833749771, -0.1344902515411377, -0.3097706735134125, 0.45949459075927734, 0.09117056429386139, -0.13813486695289612, 0.18452244997024536, 0.25085365772247314, 0.05488162487745285, -0.1764371693134308, -0.037017934024333954, -0.06561268866062164, -0.05226665362715721, -0.264623761177063, 0.02757522091269493, -0.2874899208545685, 0.00871257483959198, -0.07980149984359741, -0.09403850138187408, -0.017013993114233017, 0.26116782426834106, 0.07359753549098969, -0.10113696753978729, 0.1747928410768509, -0.363508015871048, 0.2678525149822235, 0.19917258620262146, 0.1357603818178177, -0.2064811736345291, 0.18943056464195251, 0.07317671179771423, 0.21744871139526367, 0.11803776025772095, 0.08507626503705978, 0.36369073390960693, 0.49061599373817444, 0.22038744390010834, 0.12882928550243378, -0.22756429016590118, -0.2785585820674896, -0.13246287405490875, 0.06246250867843628, 0.27884963154792786, 0.39812183380126953, 0.21003155410289764, 0.30153942108154297, -0.1412261724472046, 0.2859402894973755, 0.1802220344543457, -0.11815106868743896, 0.12535300850868225, -0.2059013843536377, 0.34615248441696167, -0.2741725742816925, 0.012590406462550163, 0.1251153200864792, -0.4054732322692871, -0.1587865650653839, 0.3093601167201996, -0.16193456947803497, 0.211760014295578, -0.043489471077919006, 0.17915986478328705, 0.2682461142539978, 0.2957749366760254, -0.19761060178279877, 0.1456659734249115, -0.3118446171283722, -0.22547906637191772, -0.35728684067726135, 0.1421610414981842, 0.2163814753293991, 0.04576514661312103, -0.2910771071910858, 0.1958070546388626, 0.3364590108394623, -0.3255321979522705, 0.24429169297218323, -0.10067852586507797, 0.2013479769229889, 0.16706907749176025, -0.13164903223514557, 0.012860128656029701, 0.2105492353439331, -0.07147572189569473, -0.1301794946193695, -0.3065451383590698, 0.375776469707489, 0.06145953759551048, 0.32101869583129883, -0.28520268201828003, 0.038188785314559937, -0.0029578562825918198, -0.2405417263507843, 0.006067812442779541, 0.013929957523941994, 0.31716057658195496, -0.20264554023742676, 0.1677229255437851, -0.1496468484401703, 0.1334034651517868, -0.19676855206489563, 0.1710299551486969, 0.3983003497123718, 0.009690757840871811, -0.04258956015110016, 0.07614082098007202, 0.0623573362827301, 0.022816522046923637, -0.07471434772014618, 0.120903380215168, -0.04794042557477951, 0.36227065324783325, 0.03789915144443512, 0.041008561849594116, -0.04306207224726677, 0.0032729916274547577, -0.16225974261760712, 0.023610735312104225, -0.16658064723014832, -0.5016913414001465, 0.17918264865875244, 0.17355938255786896, -0.25311827659606934, 0.08874634653329849, 0.3413315415382385, 0.06824425607919693, 0.09883641451597214, -0.4111851155757904, -0.09928157180547714, 0.07645480334758759, -0.17337143421173096, -0.14268741011619568, 0.4614852964878082, -0.1666453778743744, 0.19121772050857544, -0.14773322641849518, 0.24801503121852875, -0.05938590317964554, -0.2115718275308609, -0.12349852919578552, -0.44922196865081787 ]
https://github.com/huggingface/datasets/pull/1887
Implement to_csv for Dataset
@lhoestq unfirtunately, arrays of strings (or any other non-primitive type) require a copy too A list of primitive types can be found here: https://github.com/wesm/arrow/blob/c07b9b48cf3e0bbbab493992a492ae47e5b04cad/python/pyarrow/types.pxi#L821 pyarrow provides a `is_primitive` function to check whether a type is primitive , I used it to set `zero_copy_only` Also, `PandasArrayExtensionArray.isna` was using `numpy.isnan` which fails for arrays of strings. I replaced it with `pandas.isna`. Let me know what you think! :)
cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory
66
text: Implement to_csv for Dataset cc @thomwolf `to_csv` supports passing either a file path or a *binary* file object The writing is batched to avoid loading the whole table in memory @lhoestq unfirtunately, arrays of strings (or any other non-primitive type) require a copy too A list of primitive types can be found here: https://github.com/wesm/arrow/blob/c07b9b48cf3e0bbbab493992a492ae47e5b04cad/python/pyarrow/types.pxi#L821 pyarrow provides a `is_primitive` function to check whether a type is primitive , I used it to set `zero_copy_only` Also, `PandasArrayExtensionArray.isna` was using `numpy.isnan` which fails for arrays of strings. I replaced it with `pandas.isna`. Let me know what you think! :)
[ 0.18712301552295685, -0.015043087303638458, -0.1342756301164627, -0.006340749561786652, 0.1974945068359375, -0.03889181464910507, 0.09245327115058899, 0.48351871967315674, -0.07357940077781677, 0.029722586274147034, 0.1466732770204544, 0.29025551676750183, -0.08251897245645523, 0.09454690665006638, 0.20839273929595947, 0.11648982763290405, 0.29046645760536194, 0.4541354179382324, -0.24652734398841858, -0.09985542297363281, -0.1944296956062317, -0.02705310471355915, -0.2120964229106903, 0.035207025706768036, 0.04063764959573746, -0.09339973330497742, -0.2141013741493225, 0.0358303003013134, -0.3930947780609131, -0.23054185509681702, -0.009622117504477501, 0.10274218022823334, -0.12101785093545914, 0.2563059628009796, -0.00010742261656560004, -0.09574839472770691, 0.13412758708000183, -0.11708753556013107, -0.11498536169528961, -0.10221952199935913, 0.3323967158794403, -0.34083572030067444, 0.2927001416683197, -0.46918240189552307, 0.2033628225326538, -0.09846443682909012, 0.16731789708137512, -0.04689948260784149, 0.3526768088340759, 0.29827189445495605, 0.25524869561195374, 0.15155437588691711, 0.30680614709854126, 0.022655175998806953, 0.34598618745803833, 0.26906847953796387, -0.21994739770889282, 0.16404658555984497, -0.013448387384414673, 0.24510052800178528, 0.07521240413188934, -0.109280064702034, -0.29378780722618103, -0.013103727251291275, 0.24769002199172974, -0.13947896659374237, -0.30596521496772766, -0.23506268858909607, -0.0016707740724086761, 0.23741671442985535, 0.480991393327713, -0.4260421097278595, -0.24093441665172577, 0.11819078773260117, -0.05986250191926956, -0.3658870756626129, 0.07586976140737534, 0.08056987076997757, -0.09545110166072845, 0.07689910382032394, 0.17985396087169647, 0.055761054158210754, -0.33560872077941895, -0.019311316311359406, 0.027259700000286102, -0.25466668605804443, -0.2373187243938446, -0.05658061057329178, 0.07321629673242569, -0.10291112959384918, 0.12940473854541779, -0.18041513860225677, 0.2210848480463028, 0.404327392578125, -0.12595979869365692, -0.13229234516620636, -0.12819743156433105, -0.20380017161369324, -0.06117812544107437, -0.10804829001426697, 0.46419408917427063, 0.021617954596877098, 0.012477573938667774, 0.22574535012245178, 0.09959320724010468, -0.027451520785689354, -0.039624445140361786, -0.011858940124511719, 0.2329568713903427, -0.20023566484451294, 0.09191924333572388, -0.12821611762046814, -0.03126136586070061, -0.14443206787109375, 0.5281862616539001, -0.1309899389743805, 0.46875375509262085, -0.12938712537288666, -0.20450304448604584, 0.13740122318267822, -0.3240799605846405, -0.04652022942900658, -0.23714706301689148, 0.2987428903579712, 0.07068787515163422, -0.038458824157714844, 0.023622095584869385, 0.09863000363111496, -0.006905164569616318, 0.14887288212776184, -0.17343486845493317, 0.20255818963050842, 0.03937540575861931, -0.09759819507598877, 0.14929501712322235, -0.22766728699207306, -0.06324233114719391, 0.18266186118125916, -0.018272869288921356, 0.1383739709854126, -0.0657617524266243, -0.18411102890968323, 0.24679827690124512, 0.42639991641044617, 0.025679070502519608, -0.04822148382663727, 0.2587611973285675, -0.2652139663696289, -0.36765047907829285, 0.347016841173172, -0.12091168016195297, -0.2294909507036209, 0.03429705277085304, 0.2832227647304535, -0.24653826653957367, -0.016108207404613495, -0.0821051374077797, 0.02465900406241417, 0.11958512663841248, -0.07873032987117767, 0.3823753595352173, -0.005388222634792328, 0.2540567219257355, -0.584897518157959, -0.08457712084054947, 0.2322896271944046, -0.6562089920043945, 0.25139641761779785, 0.007780421059578657, -0.07126690447330475, 0.35373061895370483, 0.45729967951774597, 0.061647165566682816, 0.022673312574625015, -0.001033807173371315, 0.4761677384376526, 0.44675299525260925, 0.404196172952652, 0.06139414757490158, 0.2249937802553177, 0.13719353079795837, -0.09264472126960754, 0.3036915361881256, 0.04445822164416313, 0.07473669201135635, -0.13623039424419403, -0.00762515515089035, 0.17387759685516357, -0.07228352874517441, -0.11021915078163147, -0.2145427167415619, -0.10943719744682312, 0.0005374401807785034, 0.04795122519135475, -0.1352425515651703, 0.029733136296272278, 0.01367545872926712, -0.6054651737213135, 0.17379343509674072, -0.2992309331893921, -0.041346631944179535, -0.18899224698543549, 0.576516330242157, -0.12737198173999786, -0.024436593055725098, -0.2611074447631836, -0.01796729862689972, -0.136908620595932, 0.07119961082935333, 0.047203101217746735, -0.11454841494560242, -0.30772823095321655, -0.07477927953004837, 0.19317415356636047, -0.03069046512246132, 0.25661128759384155, 0.2274523675441742, -0.3748358190059662, -0.011068092659115791, 0.17712241411209106, -0.29287248849868774, -0.08138412237167358, -0.4365198016166687, -0.0004659043624997139, -0.011856764554977417, -0.10388609021902084, -0.18369850516319275, -0.20874211192131042, 0.20926088094711304, 0.22144174575805664, 0.0983085036277771, -0.05694831907749176, 0.06454788148403168, 0.22457745671272278, -0.01955396495759487, -0.06513462960720062, -0.17812752723693848, 0.18679168820381165, -0.07480096071958542, 0.014619771391153336, 0.12831947207450867, 0.4219779968261719, 0.41188451647758484, -0.08274885267019272, -0.1243986114859581, 0.471041738986969, -0.23383526504039764, -0.04091431945562363, 0.21669824421405792, -0.013168033212423325, 0.3444552719593048, 0.2817961871623993, -0.10139009356498718, -0.005383506417274475, 0.18264609575271606, 0.23072931170463562, 0.12820769846439362, 0.1518094390630722, -0.3877570927143097, 0.020495817065238953, 0.28158485889434814, -0.3505447506904602, 0.1312047690153122, 0.19646498560905457, 0.017445631325244904, -0.20492717623710632, -0.011489080265164375, -0.003193102777004242, 0.3385026156902313, 0.2547491788864136, 0.019457150250673294, -0.09585940837860107, -0.031934704631567, -0.16813531517982483, 0.44326967000961304, -0.11187465488910675, 0.25786101818084717, -0.19232457876205444, -0.08477114140987396, 0.21413123607635498, -0.42654308676719666, -0.06732572615146637, -0.02016902156174183, 0.15753066539764404, -0.4252944588661194, 0.01618937961757183, -0.02992236614227295, 0.021302510052919388, -0.09155482798814774, -0.12696485221385956, 0.08428281545639038, -0.27529391646385193, -0.02909831702709198, 0.023402785882353783, -0.3084474503993988, -0.15986520051956177, -0.25631290674209595, 0.2859814763069153, 0.20129673182964325, -0.35955727100372314, -0.20760129392147064, 0.005388645920902491, 0.08497932553291321, 0.18081988394260406, 0.34329524636268616, 0.04679021239280701, 0.42843660712242126, 0.05519355088472366, 0.2500712275505066, -0.10009056329727173, -0.2570449411869049, 0.033779457211494446, -0.29615819454193115, 0.009803240187466145, 0.287337064743042, 0.2270941585302353, -0.136109858751297, -0.2899978756904602, 0.03184407949447632, -0.4436474144458771, -0.3178153932094574, 0.311271995306015, -0.008580326102674007, -0.36886143684387207, -0.18752668797969818, -0.22378981113433838, -0.3414347469806671, -0.15045028924942017, 0.5087012648582458, 0.00972244143486023, 0.42584502696990967, 0.14009982347488403, 0.2570335865020752, 0.3105936050415039, 0.2658531963825226, 0.007845194078981876, -0.23739616572856903, -0.13055077195167542, 0.4725346565246582, -0.10944884270429611, -0.4772670567035675, 0.11084955930709839, 0.2364930361509323, -0.0029510222375392914, 0.08922167122364044, -0.07815838605165482, -0.030865896493196487, -0.3599916696548462, 0.09814783930778503, 0.08182737231254578, 0.16892968118190765, 0.39496445655822754, 0.20193542540073395, -0.2681264579296112, 0.02288726717233658, -0.1576998382806778, -0.06290749460458755, 0.1994626820087433, -0.2711036205291748, 0.05251848325133324, 0.3961057960987091, 0.0786963552236557, 0.3179965615272522, -0.08818267285823822, 0.1626175493001938, 0.5072580575942993, -0.0033212490379810333, 0.483722448348999, -0.1869705319404602, -0.14710599184036255, -0.0037430599331855774, -0.3237324059009552, -0.42435580492019653, -0.08087897300720215, -0.31893396377563477, -0.3973386287689209, 0.09230992197990417, -0.03274884074926376, -0.5492920875549316, -0.11810031533241272, 0.2802337110042572, -0.10574661195278168, 0.02740142121911049, -0.11068601906299591, -0.020335614681243896, -0.18749360740184784, 0.04734745994210243, -0.26254433393478394, 0.2655266523361206, 0.15646237134933472, -0.2000674605369568, -0.37777015566825867, -0.555195152759552, -0.3603431284427643, 0.3763624429702759, -0.03136524558067322, 0.32256636023521423, 0.16390973329544067, -0.37325945496559143, 0.14172713458538055, -0.18630172312259674, 0.46829479932785034, 0.1445084661245346, -0.15157479047775269, 0.25877293944358826, 0.05767419934272766, -0.2916960120201111, 0.06163580343127251, -0.262117475271225, 0.16609270870685577, 0.08012159168720245, -0.14583386480808258, -0.15713271498680115, -0.029667750000953674, 0.07849480211734772, 0.01546283345669508, -0.03193391114473343, -0.34849098324775696, -0.32272541522979736, -0.31437066197395325, 0.02241300605237484, 0.08069133758544922, 0.3348044455051422, 0.13710322976112366, -0.2656746506690979, -0.055017873644828796, -0.2766668498516083, -0.1735481321811676, 0.3928033709526062, -0.12254250049591064, 0.093006931245327, -0.4645017385482788, -0.13622716069221497, -0.4115326702594757, -0.04232682287693024, 0.2518730163574219, 0.32489457726478577, -0.11094352602958679, -0.11849541962146759, -0.012381233274936676, -0.2960856854915619, 0.5185808539390564, 0.2457062005996704, -0.24664713442325592, 0.2439834177494049, -0.13844351470470428, -0.02028433233499527, -0.010538819245994091, -0.28126466274261475, 0.1380651742219925, -0.031098172068595886, -0.23920847475528717, -0.18117357790470123, 0.38427555561065674, 0.2552346885204315, 0.012842893600463867, 0.07546792924404144, 0.18420866131782532, -0.03921818733215332, 0.4120137691497803, 0.21291230618953705, 1.0187445878982544, -0.24788640439510345, 0.5031101107597351, 0.30620887875556946, -0.32268691062927246, 0.5228529572486877, 0.07952753454446793, 0.003322991542518139, -0.28834235668182373, -0.1992245316505432, -0.24891163408756256, -0.05510940030217171, 0.3147975206375122, -0.14089348912239075, -0.48302870988845825, 0.2601287066936493, -0.1306201070547104, 0.8327184319496155, 0.19760119915008545, 0.058721259236335754, -0.40881356596946716, -0.15815331041812897, -0.6548794507980347, 0.14729051291942596, 0.21124020218849182, -0.348942369222641, 0.07738661766052246, -0.43035978078842163, -0.14321471750736237, -0.1769135296344757, 0.02136131376028061, -0.17313498258590698, -0.10120169818401337, 0.06063670665025711, -0.11010785400867462, -0.20335444808006287, 0.18096250295639038, 0.015119798481464386, 0.13180868327617645, 0.18322604894638062, -0.15268594026565552, -0.4272523522377014, 0.16850057244300842, 0.06200942397117615, -0.09020303189754486, -0.0927375927567482, 0.3794717788696289, -0.03040299378335476, 0.05545642226934433, 0.27511927485466003, -0.16982020437717438, -0.087190642952919, 0.03367370367050171, 0.1341179758310318, -0.005353257060050964, -0.389455109834671, -0.3897783160209656, -0.2906012237071991, -0.3820716142654419, -0.16196303069591522, 0.20243053138256073, -0.05107351392507553, 0.023346003144979477, 0.26702407002449036, -0.006574135273694992, -0.057054102420806885, 0.04508211836218834, 0.11889052391052246, 0.2833715081214905, 0.12496529519557953, 0.38706550002098083, -0.1925593614578247, -0.280788779258728, -0.2770959734916687, 0.26021629571914673, 0.437399297952652, -0.2582356631755829, 0.14123906195163727, 0.05118383839726448, -0.07319486141204834, -0.05877533182501793, 0.3355662524700165, 0.2369862198829651, 0.2587880790233612, -0.4717223346233368, -0.12230578809976578, -0.3123469650745392, 0.22702740132808685, 0.2191016525030136, 0.31349101662635803, -0.0014921203255653381, 0.3333759307861328, 0.2929026484489441, 0.020894454792141914, -0.40390634536743164, 0.07183140516281128, -0.08669136464595795, -0.039065614342689514, -0.0981982871890068, 0.03064201958477497, -0.060164496302604675, -0.11199456453323364, 0.19045071303844452, 0.24024668335914612, -0.1933586150407791, -0.31318730115890503, 0.14113344252109528, 0.11223220080137253, 0.09709745645523071, -0.007130581885576248, 0.21748676896095276, -0.23538033664226532, -0.3427404463291168, -0.013839209452271461, -0.34689295291900635, 0.041423290967941284, -0.17089152336120605, -0.01889430359005928, 0.4004003405570984, 0.0776221975684166, -0.18506045639514923, -0.028239190578460693, -0.3591752052307129, 0.15581828355789185, -0.07558158040046692, -0.025876052677631378, -0.16576173901557922, -0.0572008453309536, 0.2044660747051239, 0.23308676481246948, 0.0774700939655304, -0.050091661512851715, 0.24408003687858582, -0.18415024876594543, -0.3724333345890045, -0.17611843347549438, 0.43815886974334717, 0.49305427074432373, -0.12624342739582062, -0.029981005936861038, 0.11934493482112885, 0.27186134457588196, -0.320065975189209, 0.12435781955718994, -0.11064542829990387, -0.040938567370176315, -0.029567785561084747, 0.3528558909893036, 0.20321345329284668, -0.13712172210216522, 0.1323206126689911, -0.01543361134827137, 0.22659912705421448, -0.0800413191318512, -0.11088414490222931, 0.4532495141029358, 0.09995323419570923, 0.10666552186012268, 0.4171561598777771, 0.14029847085475922, 0.057449325919151306, 0.30274122953414917, -0.022364825010299683, 0.13661246001720428, 0.2290671169757843, 0.17323780059814453, -0.026402227580547333, -0.07844613492488861, 0.08039498329162598, 0.43117398023605347, -0.02942661941051483, 0.1859016716480255, 0.2849535644054413, 0.5391982197761536, -0.009560872800648212, -0.015657488256692886, -0.07158402353525162, 0.0061377063393592834, -0.16594529151916504, 0.0830499678850174, -0.2588646709918976, -0.1957329362630844, -0.10275484621524811, -0.36483076214790344, -0.09584584832191467, -0.0407036691904068, 0.3743631839752197, 0.042706750333309174, 0.14582552015781403, -0.15989047288894653, 0.1541765034198761, -0.14981427788734436, 0.30679962038993835, -0.2166309803724289, -0.08613793551921844, 0.15574344992637634, -0.1336304247379303, -0.1863030642271042, 0.21547117829322815, 0.5902848839759827, 0.41961631178855896, -0.18461966514587402, 0.1577059030532837, -0.26707538962364197, -0.3276800513267517, 0.13787832856178284, 0.09359251707792282, 0.3286055326461792, 0.26637038588523865, 0.20734025537967682, 0.21730606257915497, -0.095517098903656, 0.12691737711429596, 0.13179248571395874, -0.09501929581165314, -0.12824733555316925, 0.30555251240730286, 0.13122570514678955, -0.4424610137939453, 0.0764448344707489, 0.006699971854686737, -0.48843470215797424, 0.022708766162395477, 0.14779135584831238, -0.13335083425045013, 0.035177115350961685, 0.06611929833889008, 0.1179669052362442, 0.21901638805866241, 0.32196488976478577, 0.08354182541370392, 0.3602527976036072, -0.4834754467010498, -0.062033507972955704, -0.4094739258289337, -0.10622895509004593, -0.036916445940732956, 0.05919060856103897, 0.1405199021100998, 0.2845996618270874, 0.44324949383735657, -0.11895903944969177, -0.15461982786655426, 0.07389689981937408, -0.16959905624389648, 0.09860998392105103, -0.19561563432216644, 0.028603453189134598, 0.02283116802573204, -0.15541177988052368, -0.23186974227428436, -0.37921419739723206, 0.28133875131607056, -0.42224523425102234, 0.152978777885437, -0.13266196846961975, 0.2936851382255554, 0.04833148792386055, 0.2847122550010681, 0.29768577218055725, 0.08705154061317444, 0.09115411341190338, -0.0330401174724102, 0.02054472081363201, 0.09536215662956238, 0.4412342309951782, -0.28149041533470154, 0.3163125813007355, 0.2366345226764679, -0.05759592354297638, -0.10744796693325043, -0.10456256568431854, -0.023141078650951385, 0.28349071741104126, -0.06913521885871887, 0.017346326261758804, -0.15585114061832428, 0.24733656644821167, -0.13632896542549133, -0.013513888232409954, -0.04826394468545914, 0.02111654356122017, -0.1965542733669281, 0.18120910227298737, -0.30976974964141846, -0.2917465269565582, 0.48630741238594055, -0.046099986881017685, -0.14366570115089417, -0.04593859240412712, 0.3047957420349121, 0.3517417013645172, 0.2136121243238449, -0.47373414039611816, -0.11533432453870773, 0.24295735359191895, -0.006810668855905533, -0.19657418131828308, 0.4751642942428589, -0.01819479465484619, 0.04891369864344597, -0.2592315077781677, 0.39772525429725647, -0.07705982774496078, -0.11973248422145844, -0.27908170223236084, -0.5698126554489136 ]
https://github.com/huggingface/datasets/pull/1886
Common voice
Does it make sense to make the domains as the different languages? A problem is that you need to download the datasets from the browser. One idea would be to either contact Mozilla regarding API access to the dataset or make use of a headless browser for downloading the datasets (might be hard since we have to figure out how to host them). An even more creative idea would be to host the dataset inside a torrent and figure out a way to download specific datasets from within that torrent. Here is some information about the download authorization. They are hosting the data on S3. https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html Here is an example of how a download link looks. https://mozilla-common-voice-datasets.s3.dualstack.us-west-2.amazonaws.com/cv-corpus-6.1-2020-12-11/nl.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQ3GQRTO3ND4UAQXB%2F20210217%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210217T080740Z&X-Amz-Expires=43200&X-Amz-Security-Token=FwoGZXIvYXdzEGIaDCC6ALh%2FwIK9ovvRdCKSBCs5WaSJNsZ2h0SnhpnWFv4yiAJHJTe%2BY6pBcCqadRMs0RABHeQ2n1QDACJ5V9WOqIHfMfT0AI%2Bfe6iFkTGLgRrJOMYpgV%2FmIBcXCjeb72r4ZvudMA8tprkSxZsEh53bJkIDQx1tXqfpz0yoefM0geD3461suEGhHnLIyiwffrUpRg%2BkNZN9%2FLZZXpF5F2pogieKKV533Jetkd1xlWOR%2Bem9R2bENu2RV563XX3JvbWxSYN9IHkVT1xwd4ZiOpUtX7%2F2RoluJUKw%2BUPpyml3J%2FOPPGdr7CyPLjqNxdq9ceRi8lRybty64XvNYZGt45VNTQ3pkTTz4VpUCJAGkgxq95Ve%2BOwW%2Fsc8JtblTFKrH11vej62NB7C0n7JPPS4SLKXHKW%2B7ZbybcNf3BnsAVouPdsGTMslcgkD81b9trnjyXJdOZkzdHUf2KcWVXVceEsZnMhcCZQ1cJpI7qXPEk8QrKCQcNByPLHmPIEdHpj9IrIBKDkl2qO7VX7CCB65WDt2eZRltOcNHXWVFXFktMdQOQztI1j0XSZz2iOX4jPKKaqz193VEytlAqmehNi8pePOnxkP9Z1SP7d3I6rayuBF3phmpHxw499tY3ECYYgoCnJ6QSFa3KxMjFmEpQlmjxuwEMHd4CDL2FJYGcCiIxbCcL1r8ZE3%2BbGdcu7PRsVCHX3Huh%2FqGIaF4h40FgteN6teyKCHKOebs4EGMipb9xmEMZ9ZbVopz4bkhLdMTrjKon9w624Xem0MTPqN7XY%2BB6lRgrW8rd4%3D&X-Amz-Signature=28eabdfce72a472a70b0f9e1e2c37fe1471b5ec8ed60614fbe900bfa97ae1ac8&X-Amz-SignedHeaders=host It could be that we simply need to make a http-request with the right parameters and we can download the datasets.
Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information
138
text: Common voice Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information Does it make sense to make the domains as the different languages? A problem is that you need to download the datasets from the browser. One idea would be to either contact Mozilla regarding API access to the dataset or make use of a headless browser for downloading the datasets (might be hard since we have to figure out how to host them). An even more creative idea would be to host the dataset inside a torrent and figure out a way to download specific datasets from within that torrent. Here is some information about the download authorization. They are hosting the data on S3. https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html Here is an example of how a download link looks. https://mozilla-common-voice-datasets.s3.dualstack.us-west-2.amazonaws.com/cv-corpus-6.1-2020-12-11/nl.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQ3GQRTO3ND4UAQXB%2F20210217%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210217T080740Z&X-Amz-Expires=43200&X-Amz-Security-Token=FwoGZXIvYXdzEGIaDCC6ALh%2FwIK9ovvRdCKSBCs5WaSJNsZ2h0SnhpnWFv4yiAJHJTe%2BY6pBcCqadRMs0RABHeQ2n1QDACJ5V9WOqIHfMfT0AI%2Bfe6iFkTGLgRrJOMYpgV%2FmIBcXCjeb72r4ZvudMA8tprkSxZsEh53bJkIDQx1tXqfpz0yoefM0geD3461suEGhHnLIyiwffrUpRg%2BkNZN9%2FLZZXpF5F2pogieKKV533Jetkd1xlWOR%2Bem9R2bENu2RV563XX3JvbWxSYN9IHkVT1xwd4ZiOpUtX7%2F2RoluJUKw%2BUPpyml3J%2FOPPGdr7CyPLjqNxdq9ceRi8lRybty64XvNYZGt45VNTQ3pkTTz4VpUCJAGkgxq95Ve%2BOwW%2Fsc8JtblTFKrH11vej62NB7C0n7JPPS4SLKXHKW%2B7ZbybcNf3BnsAVouPdsGTMslcgkD81b9trnjyXJdOZkzdHUf2KcWVXVceEsZnMhcCZQ1cJpI7qXPEk8QrKCQcNByPLHmPIEdHpj9IrIBKDkl2qO7VX7CCB65WDt2eZRltOcNHXWVFXFktMdQOQztI1j0XSZz2iOX4jPKKaqz193VEytlAqmehNi8pePOnxkP9Z1SP7d3I6rayuBF3phmpHxw499tY3ECYYgoCnJ6QSFa3KxMjFmEpQlmjxuwEMHd4CDL2FJYGcCiIxbCcL1r8ZE3%2BbGdcu7PRsVCHX3Huh%2FqGIaF4h40FgteN6teyKCHKOebs4EGMipb9xmEMZ9ZbVopz4bkhLdMTrjKon9w624Xem0MTPqN7XY%2BB6lRgrW8rd4%3D&X-Amz-Signature=28eabdfce72a472a70b0f9e1e2c37fe1471b5ec8ed60614fbe900bfa97ae1ac8&X-Amz-SignedHeaders=host It could be that we simply need to make a http-request with the right parameters and we can download the datasets.
[ -0.05750878155231476, -0.018895111978054047, -0.02748105674982071, 0.2132231444120407, 0.30765897035598755, 0.20348337292671204, 0.43881914019584656, 0.08264787495136261, 0.012073546648025513, -0.14756356179714203, -0.547283411026001, -0.07684530317783356, 0.07929805666208267, 0.1568451225757599, -0.11293570697307587, 0.21152104437351227, 0.09769780933856964, 0.06662902235984802, 0.2375105321407318, -0.23856353759765625, -0.025741657242178917, -0.07086081802845001, 0.1454218626022339, 0.02216750755906105, -0.22661887109279633, -0.18656067550182343, -0.0628822073340416, 0.09090958535671234, -0.11022035032510757, -0.4115208089351654, 0.21441368758678436, 0.23887899518013, 0.09887655824422836, 0.3613998293876648, -0.00011060222459491342, -0.2565882205963135, 0.05337238311767578, -0.18509170413017273, -0.08521725237369537, -0.1913248747587204, -0.600057065486908, 0.2820436954498291, -0.06895247846841812, -0.09019407629966736, -0.12354987859725952, -0.2621929347515106, -0.014938963577151299, -0.4257162809371948, 0.2847476601600647, 0.19031229615211487, 0.16164769232273102, -0.34344884753227234, -0.30628010630607605, 0.13497895002365112, 0.3252725899219513, -0.01640147715806961, -0.1698986291885376, 0.3816990256309509, 0.5368038415908813, -0.0592120885848999, 0.2554342448711395, 0.4098752737045288, 0.00719824992120266, -0.2863849401473999, 0.16745057702064514, 0.12857088446617126, -0.17257341742515564, -0.5092190504074097, 0.11526632308959961, 0.28468844294548035, 0.9888757467269897, -0.3077269494533539, -0.3264770805835724, 0.09780889004468918, 0.07132863253355026, -0.07329699397087097, 0.12310187518596649, 0.24674883484840393, -0.058119308203458786, 0.27204570174217224, 0.20554384589195251, -0.3355059325695038, -0.10294671356678009, 0.18496298789978027, 0.062170565128326416, 0.7407481670379639, 0.006577264983206987, 0.10988420248031616, -0.11642962694168091, -0.0704897940158844, -0.0672769546508789, 0.061203502118587494, 0.21790453791618347, 0.1302899867296219, -0.3108423948287964, -0.0035202912986278534, -0.3631671071052551, -0.2451590597629547, 0.2139241099357605, 0.19823472201824188, 0.4520515501499176, 0.026481039822101593, -0.3084368407726288, 0.1855655014514923, -0.0721963495016098, -0.007336507085710764, 0.37145280838012695, -0.004644063767045736, 0.21622242033481598, -0.14960509538650513, -0.022033803164958954, 0.034947820007801056, -0.5535544753074646, 0.009149545803666115, -0.05759350210428238, 0.2255762219429016, 0.061788201332092285, -0.3020705580711365, -0.04870759695768356, 0.08446156233549118, -0.13280770182609558, -0.07759620994329453, 0.06564738601446152, 0.39109912514686584, -0.028649166226387024, 0.04507911205291748, -0.21469895541667938, 0.34212708473205566, -0.0005268063396215439, -0.022058703005313873, 0.16385015845298767, 0.059624508023262024, -0.2956041693687439, 0.06204187124967575, 0.1226511001586914, -0.23040130734443665, 0.17434434592723846, 0.02664685994386673, 0.24570700526237488, -0.15431725978851318, 0.1794656366109848, 0.06791830062866211, 0.06631550192832947, 0.02896556444466114, -0.036241836845874786, 0.25808602571487427, -0.05537544563412666, -0.31565606594085693, -0.31773823499679565, -0.12406907230615616, -0.2357175052165985, -0.14380481839179993, -0.23628400266170502, 0.21732719242572784, 0.2384411245584488, -0.22682762145996094, 0.20644688606262207, 0.14618147909641266, 0.24884513020515442, -0.3461500108242035, 0.14202332496643066, 0.15241041779518127, -0.16832312941551208, -0.19376161694526672, 0.0357002317905426, 0.3366006016731262, -0.35782456398010254, 0.00593983381986618, -0.06560356169939041, 0.13629500567913055, 0.04490847885608673, 0.2051270604133606, -0.14678074419498444, -0.18141809105873108, -0.08417650312185287, 0.4878096580505371, 0.43828535079956055, -0.47426939010620117, -0.19151997566223145, 0.12836110591888428, -0.18189270794391632, -0.07564504444599152, 0.37760666012763977, 0.007161811459809542, -0.08255016803741455, -0.08577803522348404, 0.08987384289503098, 0.256899356842041, -0.07849390804767609, 0.15033377707004547, -0.12012195587158203, -0.17343758046627045, 0.46693700551986694, 0.0953039675951004, -0.1380404233932495, -0.11211057752370834, 0.19904793798923492, -0.02928587794303894, 0.2956419587135315, -0.29752016067504883, 0.385605126619339, 0.1494767814874649, 0.2982993423938751, -0.09113328158855438, 0.12134669721126556, -0.06458389759063721, -0.38143208622932434, 0.11684853583574295, -0.04026190936565399, 0.3707650303840637, -0.007487215101718903, -0.5767159461975098, -0.5242466330528259, -0.41849786043167114, -0.31184932589530945, -0.3302678167819977, 0.08633812516927719, 0.1921287178993225, 0.08568558096885681, -0.28346824645996094, -0.06746535003185272, 0.002434701658785343, 0.10154944658279419, 0.013549048453569412, -0.31968796253204346, 0.06915740668773651, -0.21363793313503265, 0.24530990421772003, 0.12153470516204834, 0.12101172655820847, -0.10583258420228958, -0.09723823517560959, -0.18375834822654724, 0.046002402901649475, -0.08436443656682968, 0.5226972103118896, 0.37303417921066284, 0.5960214138031006, 0.1455715298652649, -0.2504233121871948, 0.4377051591873169, 0.0857238918542862, 0.19878752529621124, -0.11110734939575195, -0.12871602177619934, 0.3377402126789093, 0.06110125780105591, 0.27495747804641724, -0.02865048311650753, -0.20444831252098083, 0.39278843998908997, 0.046017128974199295, -0.22490829229354858, 0.046810902655124664, -0.18879303336143494, -0.06031737104058266, 0.277289479970932, 0.07018440961837769, -0.3046308755874634, 0.29694071412086487, 0.5195801258087158, 0.055174488574266434, 0.12440191209316254, 0.0093361996114254, -0.21411463618278503, 0.003521459177136421, 0.2322746068239212, 0.16331511735916138, 0.08669127523899078, 0.11414432525634766, 0.32762742042541504, 0.2437984198331833, 0.1768978089094162, -0.1729014813899994, 0.3190949261188507, 0.042545534670352936, 0.16392119228839874, 0.20020708441734314, 0.10201725363731384, -0.08855000138282776, -0.18624788522720337, -0.4835434854030609, 0.0755840614438057, -0.11951681971549988, -0.09570275247097015, 0.15374933183193207, -0.14417152106761932, -0.2486814260482788, -0.4048561453819275, 0.03136376291513443, -0.543229341506958, -0.007883304730057716, 0.25765353441238403, -0.0462317056953907, 0.009203311055898666, 0.1815246343612671, -0.20024052262306213, 0.16457217931747437, 0.00885889120399952, -0.09855808317661285, -0.16519561409950256, -0.2823188900947571, -0.17351186275482178, 0.1341308206319809, 0.17395316064357758, -0.08895938098430634, 0.21806548535823822, -0.32086536288261414, 0.22348500788211823, -0.03164882957935333, -0.42674243450164795, 0.11861483752727509, -0.07520517706871033, -0.30901825428009033, -0.1285586655139923, -0.12346288561820984, -0.08302019536495209, -0.09963159263134003, 0.02726566791534424, -0.007692435756325722, 0.06368978321552277, -0.2381156086921692, -0.0963270515203476, -0.024752935394644737, 0.04453686252236366, -0.851310670375824, -0.517066240310669, -0.4003158509731293, -0.05180475115776062, -0.23608483374118805, 0.30555176734924316, 0.052552975714206696, -0.13315458595752716, -0.07107710093259811, -0.2711949646472931, 0.4144642651081085, -0.2263830453157425, -0.29890334606170654, 0.10899592190980911, -0.22651450335979462, -0.014472905546426773, 0.3562091290950775, -0.15049199759960175, 0.7762706279754639, 0.1627206951379776, 0.0663849264383316, 0.0632563978433609, 0.22347554564476013, 0.10036690533161163, 0.08522488921880722, 0.27358847856521606, 0.160603329539299, 0.2479955554008484, -0.08565526455640793, 0.0421627014875412, 0.025338321924209595, -0.22316527366638184, 0.3879193365573883, 0.08790430426597595, 0.16981515288352966, -0.01805175468325615, -0.08566874265670776, 0.9244731068611145, 0.20195280015468597, 0.06281208992004395, 0.2499910444021225, -0.15927061438560486, 0.026972230523824692, 0.12512709200382233, -0.22804409265518188, 0.18106184899806976, 0.12053357064723969, -0.04612777754664421, 0.45512449741363525, 0.17547139525413513, -0.0045388247817754745, -0.22852347791194916, -0.00432279147207737, -0.5081849694252014, -0.1825171709060669, 0.3108309805393219, -0.07209403067827225, 0.16098293662071228, 0.0949769914150238, -0.09921959042549133, -0.03342602401971817, -0.11255492269992828, 0.18791799247264862, 0.16067226231098175, -0.24935540556907654, 0.08846890926361084, 0.06464231014251709, -0.18160849809646606, -0.10066135972738266, 0.3535299301147461, 0.3982762098312378, 0.04920763522386551, -0.32941189408302307, 0.12302548438310623, -0.08392708003520966, 0.031018611043691635, 0.3173649311065674, -0.4902529716491699, -0.2810366153717041, 0.058496881276369095, 0.36264726519584656, 0.31849992275238037, 0.13441886007785797, -0.1309225857257843, 0.05151430517435074, 0.07711659371852875, -0.0012167617678642273, -0.5032108426094055, -0.003260184545069933, -0.6078569889068604, 0.5151090621948242, -0.060632869601249695, 0.19959475100040436, 0.06372956931591034, -0.05649811774492264, -0.6310359239578247, 0.04942099750041962, 0.02360968478024006, -0.08183998614549637, -0.368202269077301, 0.025021743029356003, 0.4601951837539673, 0.24000924825668335, 0.36133331060409546, 0.22979570925235748, -0.061269648373126984, 0.1645146757364273, 0.10394693911075592, -0.04910469055175781, 0.11268579959869385, 0.07826804369688034, 1.0151307582855225, 0.3329311013221741, -0.2061442732810974, -0.18816396594047546, -0.0942765399813652, 0.5775779485702515, 0.3199196755886078, 0.20837242901325226, -0.07515419274568558, 0.37279367446899414, -0.14323370158672333, -0.004974109120666981, 0.037030141800642014, 0.08099211007356644, 0.2367996871471405, -0.4679029583930969, -0.5833404660224915, 0.36229029297828674, 0.096530482172966, -0.2808958888053894, 0.2685428857803345, -0.04782766103744507, -0.3057243227958679, 0.10943479090929031, -0.17441433668136597, 1.3110543489456177, -0.014845550060272217, 0.2571101784706116, 0.08213374018669128, 0.19064727425575256, 0.24758879840373993, -0.6732488870620728, -0.06914544105529785, -0.28206121921539307, 0.08532492816448212, -0.2173127979040146, 0.004942033439874649, 0.0744670033454895, 0.46641337871551514, -0.24648496508598328, 0.44254782795906067, 0.13820041716098785, -0.020060990005731583, -0.02075750194489956, 0.554534375667572, -0.34226086735725403, -0.5125409364700317, 0.053239427506923676, 0.05302315950393677, -0.3018735647201538, 0.34055396914482117, 0.04849643260240555, -0.15997010469436646, -0.37389788031578064, -0.19423827528953552, -0.06228553503751755, 0.32704922556877136, 0.008975688368082047, -0.23852242529392242, -0.3338911235332489, -0.014989525079727173, 0.5403056144714355, -0.21750089526176453, 0.15611563622951508, 0.25354474782943726, -0.24749523401260376, 0.15972715616226196, 0.17766356468200684, 0.07419947534799576, -0.02516237460076809, -0.30361273884773254, 0.3294147253036499, -0.1042800024151802, -0.3202594220638275, 0.20925164222717285, 0.12696148455142975, 0.016431450843811035, -0.26380860805511475, -0.24245359003543854, 0.31985199451446533, -0.2707238495349884, 0.16857440769672394, 0.28282004594802856, -0.3830046057701111, -0.18098966777324677, 0.09201714396476746, 0.2060408890247345, -0.2718910574913025, -0.029720522463321686, 0.2683849036693573, 0.008218884468078613, -0.1880764365196228, 0.15431061387062073, 0.29519185423851013, -0.05998335778713226, 0.24955612421035767, 0.20425499975681305, -0.10891149193048477, -0.35419151186943054, -0.24096328020095825, -0.04496628791093826, -0.2604513466358185, -0.34155675768852234, 0.1501472443342209, -0.27573829889297485, -0.2813102602958679, 0.04184911400079727, 0.13989849388599396, 0.28250423073768616, 0.060830529779195786, -0.4630540609359741, -0.14542150497436523, 0.13676351308822632, 0.40196162462234497, 0.18496489524841309, -0.029896926134824753, -0.15198010206222534, -0.010957448743283749, -0.11177043616771698, -0.33402198553085327, 0.006347364746034145, 0.09632817655801773, 0.20921994745731354, 0.09497256577014923, -0.051952362060546875, 0.23848114907741547, 0.07544280588626862, 0.11301374435424805, -0.08686630427837372, -0.06147865951061249, -0.1368791162967682, -0.2179800420999527, 0.1938321590423584, 0.29410600662231445, -0.22290150821208954, -0.06296970695257187, -0.060708243399858475, -0.1050078272819519, -0.15834128856658936, 0.1836487352848053, -0.002492174506187439, -0.10385537147521973, 0.12852366268634796, -0.21737514436244965, -0.1402277648448944, -0.21249128878116608, -0.08185507357120514, -0.041733868420124054, 0.18099305033683777, 0.008893359452486038, 0.10485558956861496, -0.18351566791534424, -0.20066305994987488, -0.22114762663841248, 0.0944431871175766, 0.04851406440138817, -0.012476067990064621, 0.2671656608581543, -0.0002019256353378296, 0.07899372279644012, 0.18323178589344025, 0.39506277441978455, 0.29978227615356445, 0.039168890565633774, 0.19999761879444122, 0.2738954722881317, 0.21244899928569794, -0.20206326246261597, 0.1069793552160263, -0.27170103788375854, -0.49251487851142883, 0.07812824845314026, 0.32869064807891846, 0.23873817920684814, 0.06758140027523041, 0.032138533890247345, -0.31262460350990295, 0.12502425909042358, -0.2551732063293457, 0.25094226002693176, -0.11993677914142609, -0.20320849120616913, 0.1303190439939499, 0.3933357000350952, 0.09752592444419861, 0.02688199281692505, 0.03598577156662941, -0.37691324949264526, 0.2504312992095947, 0.5033033490180969, -0.00867806002497673, 0.024103250354528427, -0.15356583893299103, 0.0673537626862526, -0.07679818570613861, -0.021485745906829834, 0.176131933927536, 0.2726858854293823, 0.20331452786922455, -0.12535463273525238, -0.012655215337872505, -0.11993344128131866, 0.39509332180023193, 0.05863889306783676, 0.056680407375097275, -0.09923693537712097, -0.2634024918079376, -0.17385050654411316, 0.026293296366930008, -0.15066766738891602, -0.3268766403198242, 0.25261276960372925, 0.12327554821968079, 0.12720298767089844, -0.25236132740974426, -0.1666232943534851, 0.06792160123586655, 0.2831647992134094, -0.2520468533039093, 0.1476903259754181, 0.25308340787887573, -0.23267251253128052, 0.15150420367717743, 0.1642322838306427, 0.3566949665546417, 0.04737541824579239, 0.0529814139008522, 0.21347330510616302, 0.0977490246295929, -0.10474822670221329, 0.05497045814990997, 0.22351381182670593, 0.16918927431106567, 0.07298913598060608, 0.18721731007099152, 0.09408730268478394, -0.20368146896362305, -0.31151455640792847, -0.024498965591192245, -0.09590242803096771, 0.032398100942373276, 0.03966386616230011, -0.0837961733341217, -0.08068574965000153, -0.3313128352165222, 0.16358019411563873, -0.594412624835968, 0.04550706967711449, 0.47995424270629883, 0.11832747608423233, 0.16214525699615479, -0.4017782211303711, 0.050660520792007446, 0.18363532423973083, 0.2173723578453064, 0.13086943328380585, 0.2876211106777191, -0.24485161900520325, 0.2250700443983078, -0.43016910552978516, 0.2988436818122864, 0.006209064275026321, -0.3681234121322632, -0.5375313758850098, -0.17161887884140015, 0.4043731987476349, 0.3341611623764038, 0.0018486008048057556, 0.04930244758725166, 0.05226326733827591, 0.10757626593112946, -0.15602436661720276, 0.0807417780160904, 0.09014994651079178, 0.34848636388778687, 0.13194027543067932, -0.3515828847885132, 0.1499892920255661, -0.09755302220582962, -0.014647353440523148, -0.2626255750656128, -0.07849918305873871, 0.09644027054309845, -0.2188538908958435, 0.4360027015209198, -0.18063318729400635, 0.448050856590271, -0.22952747344970703, -0.18768133223056793, -0.027696143835783005, -0.3476283848285675, -0.07495108246803284, 0.3887796998023987, 0.01892814412713051, 0.32467788457870483, 0.03417155146598816, 0.004778485745191574, -0.33395037055015564, -0.16778677701950073, -0.2265617698431015, -0.04196922108530998, 0.1636114865541458, 0.24349647760391235, -0.3525949716567993, 0.05539609119296074, 0.131978839635849, 0.24457421898841858, 0.059894464910030365, -0.3130192458629608, -0.2251662164926529, -0.40425029397010803, 0.32840538024902344, 0.036332789808511734, -0.4209299385547638, -0.00602298229932785, 0.27559295296669006, 0.21226662397384644, 0.23443640768527985, -0.20694221556186676, 0.4455762803554535, 0.2022886723279953, 0.010467255488038063, -0.07702675461769104, -0.2539747357368469, -0.014170877635478973, -0.16562964022159576, -0.27987658977508545, 0.16995471715927124, 0.03148418664932251, -0.1554318517446518, -0.21479786932468414, -0.2450699806213379 ]
https://github.com/huggingface/datasets/pull/1886
Common voice
> Wow, this looks great already! It's really a difficult dataset so thanks a lot for opening a PR. > I think the tagging tool is not too important for now and we can take a look at that later! > > At the moment, it would be very good to correctly generate some dummy data for all the possible languages. I think the structure of the `.tsv` file as you've noted in the PR is the one we want to use as the structure for `features = datasets.Features(` > > The splits `'Train"`, `"Test"`, `"Validation"` look great to me! Because this is a special dataset that also has files called `"Invalidated"` I think the best option is to also add those as splits, _i.e._ `"other"`, `"invalidated"`, `"reported"`, `"validated"` . Those split names can be gives as shown here for example: > > https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L124 > > Also putting @lhoestq in cc here to hear his opinion on the different splits. @lhoestq Common Voicie is a crowd collected dataset where if a collected data sample did not receive enough "up_votes" from the community -> then it is (If I understood it correctly) marked as invalid -> hence the file `"invalidated.tsv"`. I think this is still useful data, so I would include it what do you think? > > @BirgerMoell let me know if you have any more questions :-) I think reporting is a separate feature. People can help annotate the data and then they can report things while annotating. https://commonvoice.mozilla.org/sv-SE/listen Here is the interface that shows reporting and the thumbs up and down which gives upvotes and downvotes. <img src="https://i.imgur.com/utWjszt.png" height="800px">
Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information
271
text: Common voice Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information > Wow, this looks great already! It's really a difficult dataset so thanks a lot for opening a PR. > I think the tagging tool is not too important for now and we can take a look at that later! > > At the moment, it would be very good to correctly generate some dummy data for all the possible languages. I think the structure of the `.tsv` file as you've noted in the PR is the one we want to use as the structure for `features = datasets.Features(` > > The splits `'Train"`, `"Test"`, `"Validation"` look great to me! Because this is a special dataset that also has files called `"Invalidated"` I think the best option is to also add those as splits, _i.e._ `"other"`, `"invalidated"`, `"reported"`, `"validated"` . Those split names can be gives as shown here for example: > > https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L124 > > Also putting @lhoestq in cc here to hear his opinion on the different splits. @lhoestq Common Voicie is a crowd collected dataset where if a collected data sample did not receive enough "up_votes" from the community -> then it is (If I understood it correctly) marked as invalid -> hence the file `"invalidated.tsv"`. I think this is still useful data, so I would include it what do you think? > > @BirgerMoell let me know if you have any more questions :-) I think reporting is a separate feature. People can help annotate the data and then they can report things while annotating. https://commonvoice.mozilla.org/sv-SE/listen Here is the interface that shows reporting and the thumbs up and down which gives upvotes and downvotes. <img src="https://i.imgur.com/utWjszt.png" height="800px">
[ -0.15131686627864838, -0.4058516323566437, -0.09351104497909546, 0.2256651222705841, 0.30721813440322876, 0.13580209016799927, 0.11699622124433517, 0.2643265426158905, 0.012684144079685211, -0.11394478380680084, -0.23481202125549316, 0.0560314767062664, -0.12388967722654343, 0.39444202184677124, 0.10770910978317261, -0.05698674917221069, 0.06513345241546631, 0.15999196469783783, 0.2548503875732422, -0.17442870140075684, 0.08418832719326019, 0.019403308629989624, 0.06048358976840973, 0.33944499492645264, -0.43992874026298523, -0.08380163460969925, -0.091544508934021, 0.10056719928979874, -0.2307940572500229, -0.45717853307724, -0.1955520063638687, 0.13356797397136688, -0.19537250697612762, 0.37127718329429626, -0.00010251578351017088, -0.20040731132030487, -0.08314365148544312, -0.1722811758518219, -0.03213800489902496, -0.09645146131515503, -0.2002459168434143, -0.21248458325862885, -0.17964452505111694, 0.10433273762464523, -0.06426988542079926, -0.5167920589447021, -0.07490890473127365, -0.26624393463134766, 0.27308189868927, 0.206107497215271, 0.21710357069969177, -0.11670972406864166, -0.059145353734493256, 0.16021305322647095, 0.22694334387779236, 0.1756315529346466, -0.3298577070236206, 0.21426431834697723, 0.2793770432472229, -0.03385019674897194, 0.04004250094294548, 0.4661138355731964, 0.22506088018417358, -0.5480310916900635, 0.2131955325603485, 0.12550440430641174, -0.07909419387578964, -0.5904957056045532, 0.07902228832244873, 0.2696708142757416, 0.6437860131263733, -0.3687894344329834, -0.11659526824951172, -0.12890663743019104, -0.09380150586366653, -0.2612884044647217, 0.1468864530324936, 0.26055943965911865, -0.21439355611801147, 0.2646670341491699, 0.15306957066059113, -0.2031291276216507, -0.12854908406734467, -0.07533134520053864, 0.2513447105884552, 0.20414699614048004, -0.012826221995055676, -0.04413712024688721, 0.05762800946831703, 0.1208028793334961, -0.37748003005981445, 0.0697079598903656, 0.09279893338680267, 0.22976154088974, -0.23250819742679596, -0.22472932934761047, -0.0032324939966201782, -0.3503374755382538, 0.43047937750816345, 0.014502733945846558, 0.17796483635902405, -0.10024317353963852, -0.37420177459716797, 0.0840432196855545, 0.2916165590286255, 0.10778060555458069, 0.3015594482421875, 0.12217286974191666, 0.13174501061439514, -0.07970242947340012, 0.07090878486633301, 0.0064817871898412704, -0.18838843703269958, -0.022266443818807602, 0.2006348818540573, 0.3290128707885742, 0.18105266988277435, -0.18462590873241425, -0.21570493280887604, 0.3409765958786011, -0.17339161038398743, -0.18667563796043396, 0.0271170511841774, 0.37555092573165894, -0.11615298688411713, 0.18408825993537903, -0.2635200023651123, 0.060361023992300034, 0.027804100885987282, -0.025469008833169937, -0.0014332393184304237, 0.15383678674697876, -0.38413479924201965, 0.027187850326299667, 0.15863215923309326, -0.2706531584262848, 0.18997186422348022, 0.06644981354475021, 0.09275934845209122, -0.2694234848022461, 0.07182549685239792, -0.2166227251291275, 0.15855737030506134, 0.032688748091459274, -0.25116121768951416, -0.010619343258440495, 0.03852400183677673, -0.04336307570338249, -0.28562501072883606, -0.004189789295196533, -0.06856311112642288, -0.29807332158088684, -0.08019041270017624, 0.3181520998477936, 0.04056484252214432, 0.05217967927455902, 0.386257529258728, 0.4928243160247803, 0.1192069947719574, -0.25159361958503723, 0.25902873277664185, 0.0897640511393547, -0.19281542301177979, -0.21087166666984558, 0.18345379829406738, 0.2995205521583557, -0.4096829295158386, -0.04829593002796173, 0.17463470995426178, -0.4436613917350769, 0.1604118049144745, 0.19899225234985352, -0.08415770530700684, 0.08299165964126587, -0.07643881440162659, 0.5143693089485168, 0.24763445556163788, 0.04935447499155998, -0.10123152285814285, 0.14492376148700714, -0.1296861171722412, 0.029789002612233162, 0.285704642534256, 0.08791600167751312, 0.12897104024887085, -0.048684246838092804, 0.028764646500349045, -0.014941390603780746, -0.3354365825653076, -0.06429892033338547, -0.31158360838890076, -0.034585438668727875, 0.4043503999710083, 0.0006037391722202301, -0.20035894215106964, -0.2836236357688904, -0.10875097662210464, -0.07931117713451385, 0.3095487952232361, -0.2944216728210449, 0.1520647555589676, -0.022214185446500778, 0.5637193918228149, -0.038982048630714417, 0.2061445116996765, -0.210310161113739, -0.29332607984542847, -0.03573112189769745, -0.04373319447040558, 0.30706292390823364, 0.24154874682426453, -0.5080074071884155, -0.5518795251846313, -0.12169539928436279, -0.21400175988674164, -0.2995359003543854, 0.21626539528369904, 0.11981527507305145, -0.16472679376602173, -0.212999626994133, -0.40008705854415894, 0.08327244222164154, -0.20753784477710724, 0.001101788249798119, 0.09014339745044708, 0.2511568069458008, -0.3414965569972992, 0.0329739972949028, -0.005075111985206604, 0.4109744131565094, -0.11471173912286758, -0.04018344730138779, -0.10339247435331345, 0.21231412887573242, 0.10076337307691574, 0.2236834615468979, 0.12788620591163635, 0.4007657766342163, 0.19010090827941895, -0.3625932037830353, 0.1754891276359558, 0.12121307849884033, 0.17801199853420258, -0.0815681517124176, -0.16157245635986328, 0.32951390743255615, -0.284587562084198, -0.0427248552441597, -0.001127593219280243, -0.06837993860244751, 0.11236046254634857, 0.061981771141290665, -0.23246686160564423, 0.022283248603343964, 0.12412934005260468, -0.30970680713653564, 0.048041779547929764, 0.20861028134822845, -0.5544289946556091, 0.21085621416568756, 0.6929652094841003, 0.009899958968162537, 0.03677976876497269, 0.2636271119117737, -0.04844795912504196, -0.13473355770111084, 0.28093355894088745, -0.26770299673080444, 0.05495245009660721, 0.049588873982429504, 0.09300693869590759, 0.1643044650554657, 0.04400520399212837, 0.1007838174700737, 0.2334609031677246, -0.1588338315486908, -0.13435083627700806, 0.5368531942367554, -0.16876740753650665, 0.002609054557979107, -0.2987554669380188, -0.2658744752407074, -0.21659553050994873, 0.04878292605280876, -0.12904216349124908, -0.027167577296495438, 0.1768135130405426, -0.08849400281906128, -0.20666448771953583, 0.01009521633386612, -0.33342018723487854, -0.1401692032814026, 0.4041904807090759, -0.39044389128685, -0.06127089262008667, 0.33418628573417664, -0.166852205991745, 0.22596722841262817, -0.029502931982278824, 0.148542582988739, -0.13668935000896454, -0.057097360491752625, -0.10239150375127792, 0.1727973371744156, 0.007860160432755947, 0.15387126803398132, 0.3435099124908447, -0.13336463272571564, 0.03414991497993469, -0.16285668313503265, -0.39715200662612915, 0.3346988260746002, -0.35574567317962646, -0.08225686848163605, 0.131288081407547, 0.0644477978348732, 0.06472770124673843, -0.23095150291919708, 0.06452124565839767, -0.17376458644866943, -0.19823245704174042, 0.017156172543764114, 0.03180142492055893, -0.025828080251812935, -0.25023093819618225, -1.0000927448272705, -0.45003998279571533, -0.446560263633728, 0.34362757205963135, -0.2000197321176529, 0.27233874797821045, 0.10365795344114304, 0.042590294033288956, -0.04191231727600098, -0.24096137285232544, 0.39194878935813904, -0.2748929262161255, 0.021432723850011826, 0.0407349169254303, -0.019249018281698227, -0.08337923884391785, 0.21720090508460999, -0.09158267825841904, 0.31264105439186096, -0.10447970032691956, 0.008458763360977173, -0.06902698427438736, 0.2025231420993805, 0.335929811000824, -0.0060967691242694855, 0.0533364862203598, 0.25892436504364014, 0.3036658465862274, -0.1043633371591568, 0.046301767230033875, -0.0037180185317993164, -0.22071576118469238, 0.23561111092567444, -0.010717883706092834, 0.09515073895454407, 0.2627059519290924, 0.09557826817035675, 0.9434394836425781, 0.35679394006729126, 0.021196402609348297, 0.06461875885725021, -0.05387438088655472, 0.17331615090370178, 0.08791279047727585, -0.38935884833335876, 0.2921845018863678, -0.06689181923866272, -0.12059447914361954, 0.46999800205230713, 0.22589543461799622, 0.08737317472696304, -0.019510503858327866, 0.14992384612560272, -0.24594557285308838, -0.026138190180063248, 0.5426055788993835, -0.030882693827152252, 0.3973698616027832, -0.24619516730308533, -0.043495483696460724, -0.031152334064245224, -0.10213208198547363, 0.29265978932380676, 0.3413254916667938, 0.10204298049211502, 0.06106908246874809, -0.30166929960250854, -0.10246984660625458, -0.22839665412902832, -0.022416263818740845, 0.24303434789180756, -0.0021268287673592567, -0.28170862793922424, -0.10722442716360092, -0.06748563051223755, 0.043203432112932205, 0.0362371951341629, -0.2573937177658081, -0.29887551069259644, 0.1807548552751541, 0.276699960231781, 0.4937685430049896, 0.11876779794692993, -0.23893816769123077, 0.06014498323202133, 0.28558897972106934, 0.15757989883422852, -0.5622777342796326, -0.2518579065799713, 0.04983945190906525, 0.45976072549819946, -0.053883448243141174, 0.226332426071167, -0.038876406848430634, 0.14533421397209167, -0.35162153840065, 0.18885438144207, 0.08055904507637024, -0.23455092310905457, -0.2798246443271637, 0.20995543897151947, 0.44513097405433655, 0.10756222158670425, 0.3921973705291748, 0.32729220390319824, 0.16716939210891724, -0.2500603199005127, 0.15712691843509674, 0.1560392677783966, 0.10937121510505676, 0.006405120715498924, 0.7007189393043518, -0.1428806185722351, -0.45847225189208984, -0.06660507619380951, -0.417294979095459, 0.5643219947814941, 0.285132497549057, -0.07028014957904816, 0.011925339698791504, -0.006458243355154991, -0.10640610754489899, -0.2863087058067322, 0.1848447024822235, 0.27609750628471375, 0.24955511093139648, -0.2314130961894989, -0.40942996740341187, 0.10417632758617401, 0.10356836020946503, -0.3446606397628784, 0.12180812656879425, -0.04822392761707306, -0.2008475363254547, 0.15239277482032776, -0.1739220917224884, 1.1803253889083862, 0.19375893473625183, 0.11399801075458527, 0.08953231573104858, -0.028732122853398323, -0.1285446733236313, -0.6998593807220459, -0.08119650185108185, -0.3358040452003479, -0.21140910685062408, -0.12536942958831787, -0.01660608872771263, 0.1705300509929657, 0.1733456552028656, -0.5442719459533691, 0.30278557538986206, -0.10746053606271744, 0.06937147676944733, -0.025889361277222633, 0.4422776401042938, -0.04102914035320282, -0.3697517216205597, 0.002486215904355049, 0.1304609775543213, -0.12671448290348053, 0.14610925316810608, 0.1253756284713745, -0.14598989486694336, -0.15381622314453125, -0.14128506183624268, -0.3010650873184204, 0.0207374207675457, -0.03567419946193695, -0.4474177360534668, 0.11687751114368439, -0.04023149982094765, 0.5066876411437988, 0.05505477264523506, 0.21114812791347504, 0.18099245429039001, -0.003406638279557228, -0.0943850725889206, 0.23519065976142883, 0.19700007140636444, -0.08706694841384888, -0.0883144661784172, 0.4411115050315857, -0.15468186140060425, -0.16353797912597656, 0.40202194452285767, -0.13508446514606476, 0.10239657759666443, -0.4027193486690521, -0.1495516449213028, 0.43367642164230347, -0.5157744288444519, 0.27176016569137573, 0.1277628391981125, -0.2470856010913849, -0.22052107751369476, 0.18331478536128998, 0.39452093839645386, -0.39426636695861816, 0.015719924122095108, 0.3047967851161957, 0.05631990730762482, -0.20092110335826874, -0.23872816562652588, 0.2405855357646942, -0.16750630736351013, 0.1577596366405487, 0.03537367656826973, -0.23845817148685455, -0.4362788498401642, -0.029172834008932114, 0.15244778990745544, -0.42454561591148376, -0.23906633257865906, -0.13178546726703644, -0.4732840061187744, -0.21994562447071075, 0.30814164876937866, 0.4221953749656677, 0.2008562982082367, -0.0458657331764698, -0.14934979379177094, -0.31820541620254517, 0.19155673682689667, 0.4021742045879364, 0.17889264225959778, -0.4146118462085724, 0.0768711268901825, 0.038550540804862976, 0.17483989894390106, -0.45959821343421936, -0.12619046866893768, -0.16895319521427155, 0.23162014782428741, 0.12047360837459564, -0.20510414242744446, -0.004399091005325317, -0.03873825818300247, 0.21177172660827637, -0.0527181401848793, -0.21676824986934662, -0.17638283967971802, -0.19468842446804047, 0.11131083965301514, 0.08997800201177597, -0.0560273602604866, 0.016169697046279907, 0.34860897064208984, -0.1495572179555893, -0.1044926643371582, 0.02209118753671646, -0.07830126583576202, 0.006638556718826294, 0.29466909170150757, -0.15804746747016907, 0.0931529551744461, -0.06319662928581238, -0.1566290706396103, 0.017909474670886993, 0.4046782851219177, 0.10698647052049637, 0.051830027252435684, -0.25823378562927246, -0.2374849021434784, -0.06894493103027344, 0.4625149071216583, 0.36273694038391113, -0.04400866478681564, 0.21212422847747803, 0.15628233551979065, 0.007205333560705185, 0.14837078750133514, 0.4513339698314667, 0.3805263042449951, -0.12534277141094208, 0.16236616671085358, 0.20988517999649048, 0.3356371819972992, -0.25090596079826355, 0.10549954324960709, -0.08303102850914001, -0.26872193813323975, 0.26678144931793213, 0.26095080375671387, 0.4360402226448059, 0.20657846331596375, 0.2181500643491745, -0.05232352390885353, -0.01969064772129059, -0.16548065841197968, 0.1831163763999939, -0.06726790964603424, -0.24816066026687622, 0.2115914523601532, 0.3319012224674225, 0.015993710607290268, 0.12157583236694336, -0.0295448899269104, -0.18889322876930237, 0.19935916364192963, 0.4063625931739807, 0.15985921025276184, 0.2310110330581665, 0.0033578015863895416, 0.07833709567785263, 0.03211621940135956, -0.30909958481788635, 0.0438137948513031, 0.1550387144088745, 0.53019779920578, -0.08844315260648727, -0.3241955041885376, 0.006216997280716896, 0.08096054196357727, -0.17968136072158813, 0.10999621450901031, -0.1142304316163063, -0.2738587260246277, -0.527927815914154, -0.18735922873020172, -0.010432060807943344, -0.0068084970116615295, 0.3374709486961365, -0.08692051470279694, -0.0028562024235725403, 0.014233462512493134, 0.05202019214630127, 0.16321223974227905, 0.41285011172294617, -0.16661261022090912, 0.1688869595527649, 0.06377319991588593, -0.06183834373950958, 0.06356625258922577, 0.3032853603363037, 0.20226594805717468, 0.03418027609586716, -0.21590439975261688, 0.1578921526670456, 0.010135107673704624, -0.02740965038537979, 0.13717931509017944, 0.19697356224060059, 0.05462978035211563, 0.04228788614273071, 0.14021651446819305, 0.11191055178642273, -0.255765825510025, -0.2340652495622635, 0.03195120394229889, -0.1316877156496048, -0.13708852231502533, 0.07329216599464417, 0.014905275776982307, -0.22640013694763184, -0.21236324310302734, -0.20059555768966675, -0.2619880735874176, -0.18546147644519806, 0.5220677852630615, 0.41990190744400024, 0.2013114094734192, -0.41152510046958923, 0.1261010468006134, 0.13588087260723114, 0.034184712916612625, 0.17716382443904877, 0.026815643534064293, -0.1890077292919159, 0.1281459480524063, -0.38093507289886475, 0.17413321137428284, 0.1245056688785553, -0.37537965178489685, -0.22839179635047913, -0.05443337559700012, 0.28621864318847656, 0.5234988927841187, 0.03768209367990494, -0.09337209910154343, 0.009951532818377018, -0.07573677599430084, -0.26764389872550964, -0.11718559265136719, 0.12299741804599762, 0.31747546792030334, 0.0993674099445343, -0.2507735788822174, 0.012096520513296127, -0.17139461636543274, 0.1362917125225067, -0.2198474109172821, -0.325957715511322, 0.13594558835029602, 0.0848676860332489, 0.31758353114128113, 0.03590241074562073, 0.3155555725097656, -0.22285223007202148, -0.28610971570014954, 0.14057457447052002, -0.28653812408447266, -0.14143994450569153, 0.1978227198123932, 0.1399579495191574, 0.35780224204063416, 0.01645652763545513, -0.08297291398048401, -0.3517706096172333, 0.0254810843616724, 0.1779855191707611, -0.16491255164146423, -0.07524672895669937, 0.2961122989654541, 0.0548272579908371, -0.10708819329738617, 0.17872071266174316, 0.3899349570274353, -0.09902539849281311, -0.24765779078006744, -0.2535538971424103, -0.31281280517578125, 0.22452032566070557, 0.2513641119003296, -0.14611418545246124, -0.21766971051692963, 0.19813573360443115, 0.3446562588214874, 0.16954520344734192, -0.32469943165779114, -0.043792713433504105, 0.2559789717197418, 0.0036323536187410355, -0.13918255269527435, -0.111257404088974, 0.024041660130023956, -0.27507317066192627, -0.10141009092330933, 0.36250948905944824, 0.05106452479958534, -0.1144869476556778, 0.22569909691810608, -0.23865452408790588 ]
https://github.com/huggingface/datasets/pull/1886
Common voice
I added splits and features. I'm not sure how you want me to generate dummy data for all the languages?
Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information
20
text: Common voice Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information I added splits and features. I'm not sure how you want me to generate dummy data for all the languages?
[ -0.25769108533859253, -0.4832981824874878, -0.11673657596111298, 0.1879974603652954, 0.30068421363830566, 0.17881780862808228, 0.3459739685058594, 0.21048089861869812, 0.2891511023044586, 0.06514137983322144, -0.2843347191810608, -0.02965831570327282, -0.04205196350812912, 0.19961746037006378, 0.008044231683015823, -0.056497350335121155, 0.24309879541397095, 0.3459913730621338, 0.1219671368598938, -0.36838358640670776, -0.2102489322423935, 0.062125660479068756, 0.026208065450191498, 0.062106650322675705, -0.5967555642127991, -0.04185618460178375, -0.2588244378566742, 0.13282129168510437, -0.26831793785095215, -0.39948344230651855, 0.03565503656864166, 0.07115836441516876, -0.11858659982681274, 0.3077174723148346, -0.0001087927957996726, -0.2248649299144745, -0.03975767642259598, -0.26490429043769836, -0.11900438368320465, -0.18640147149562836, -0.15881793200969696, 0.006522707641124725, -0.12769769132137299, 0.029597721993923187, -0.2552986741065979, -0.3950559198856354, 0.011658040806651115, -0.3008047044277191, 0.27805382013320923, 0.34345099329948425, 0.15404997766017914, -0.21681174635887146, -0.11948230862617493, 0.0034961854107677937, 0.19237950444221497, 0.15318000316619873, 0.01309327594935894, 0.4382006824016571, 0.33704274892807007, -0.16055798530578613, 0.21809101104736328, 0.3027645945549011, 0.04893966764211655, -0.2751074433326721, -0.09684921056032181, 0.1618720293045044, 0.0215078704059124, -0.6931967735290527, 0.28324615955352783, 0.34454333782196045, 0.4736781418323517, -0.4243250787258148, -0.1427880823612213, 0.01610434055328369, -0.013651649467647076, -0.35555821657180786, -0.07091746479272842, 0.3870474696159363, -0.1026715487241745, 0.23546864092350006, 0.40452152490615845, -0.3291887938976288, -0.08169980347156525, -0.051037922501564026, 0.09447310864925385, 0.37127289175987244, 0.07218171656131744, -0.039975255727767944, 0.14684025943279266, 0.07966433465480804, -0.3880351185798645, 0.08400005847215652, -0.22859534621238708, 0.4220944941043854, -0.1876959353685379, -0.248207688331604, -0.32168808579444885, -0.1819114089012146, 0.387369304895401, -0.1639862060546875, -0.02164440229535103, 0.0498158261179924, -0.12624254822731018, 0.24788519740104675, -0.006788142025470734, -0.13356678187847137, 0.2323412001132965, 0.3207297623157501, 0.10574325919151306, -0.30779576301574707, -0.09416361898183823, -0.02962854504585266, -0.35756632685661316, 0.1194067895412445, 0.04417767748236656, 0.24198481440544128, 0.0016446392983198166, -0.058030880987644196, -0.03617649897933006, 0.025539493188261986, -0.10566020011901855, -0.07131044566631317, -0.11323324590921402, 0.48238715529441833, -0.07404384016990662, 0.12780016660690308, -0.20172075927257538, 0.3615831136703491, -0.19648057222366333, -0.20072846114635468, -0.06676612049341202, 0.23521357774734497, -0.21340715885162354, -0.10706178098917007, 0.2125244289636612, -0.07958781719207764, 0.21052737534046173, 0.33100154995918274, -0.09598308801651001, -0.18213044106960297, 0.3921169936656952, -0.37984171509742737, 0.10329832881689072, -0.05092531070113182, -0.07713945209980011, -0.0033851005136966705, 0.29378435015678406, -0.18731506168842316, -0.19476523995399475, 0.147775337100029, -0.25026562809944153, -0.10065212845802307, -0.30697354674339294, 0.3021394908428192, 0.3699473738670349, 0.08863113075494766, 0.27989959716796875, 0.4708576798439026, 0.24598321318626404, -0.3185250759124756, 0.10204895585775375, 0.011129509657621384, -0.09883823990821838, -0.18044611811637878, 0.18961217999458313, 0.39019274711608887, -0.359567791223526, -0.19830843806266785, 0.13144594430923462, -0.2813798189163208, 0.12508368492126465, 0.08782576024532318, -0.03614607825875282, 0.10113099962472916, -0.173160120844841, 0.4100680947303772, 0.3018174469470978, -0.1410548985004425, -0.04490254074335098, -0.06637796014547348, -0.005105882883071899, -0.11471020430326462, 0.413722962141037, 0.11251737177371979, -0.015252787619829178, 0.08521358668804169, 0.08703900873661041, 0.047333188354969025, -0.11534102261066437, 0.009195780381560326, -0.17948302626609802, -0.0871843472123146, 0.41967666149139404, 0.0847107321023941, -0.16391852498054504, -0.016097068786621094, -0.12980490922927856, 0.020666148513555527, 0.28562626242637634, -0.46221205592155457, 0.15034541487693787, 0.16879265010356903, 0.3521457314491272, -0.09078578650951385, 0.277966171503067, -0.08020705729722977, -0.1401766538619995, 0.0014044083654880524, -0.18790675699710846, 0.40469416975975037, 0.12357612699270248, -0.5425904393196106, -0.38057708740234375, -0.32894375920295715, -0.28212815523147583, -0.18726617097854614, 0.2072014957666397, 0.10529379546642303, 0.06623193621635437, -0.023664450272917747, -0.2831052243709564, 0.12639707326889038, -0.06029565632343292, 0.14826446771621704, -0.14112785458564758, 0.16131773591041565, -0.196495920419693, 0.04702372848987579, 0.1328829526901245, 0.240016907453537, -0.07548249512910843, -0.15019261837005615, -0.004554896615445614, 0.07370354235172272, 0.3135490119457245, 0.2600116729736328, 0.10410116612911224, 0.06951852887868881, 0.22692511975765228, -0.21248853206634521, 0.2760169506072998, 0.13438713550567627, 0.2921013832092285, -0.19323936104774475, 0.10285600274801254, 0.1905980408191681, 0.1814652383327484, -0.10284780710935593, -0.0707893967628479, -0.22353415191173553, 0.2509279251098633, -0.04060537740588188, 0.06364307552576065, -0.0718098133802414, -0.034431103616952896, -0.18547414243221283, 0.3937581479549408, 0.24432086944580078, -0.5245140790939331, 0.08472131192684174, 0.6652162075042725, 0.13001690804958344, 0.18894577026367188, 0.09518757462501526, -0.15960228443145752, -0.1005857065320015, 0.1705912947654724, -0.3649784028530121, 0.08987690508365631, 0.07468240708112717, 0.12174815684556961, 0.1494220793247223, 0.07111091166734695, -0.06204535439610481, 0.2299819439649582, -0.28537487983703613, -0.16019178926944733, 0.4302319884300232, -0.11299853026866913, -0.2919887602329254, -0.33367806673049927, -0.08249060064554214, -0.10916390269994736, 0.18570001423358917, -0.019920866936445236, 0.0042860060930252075, 0.07284857332706451, -0.25127583742141724, -0.20494726300239563, -0.24407710134983063, -0.36094900965690613, 0.09615186601877213, 0.3701041340827942, -0.25735318660736084, 0.10556872189044952, 0.30326545238494873, 0.009328272193670273, 0.05192190408706665, 0.008420081809163094, -0.023018190637230873, -0.037906914949417114, -0.14990989863872528, -0.2026369571685791, 0.16182555258274078, -0.06009035184979439, 0.2602560222148895, 0.22471800446510315, -0.496707946062088, -0.02300947532057762, 0.21285700798034668, -0.1257787048816681, 0.21664680540561676, -0.15649625658988953, -0.03636915981769562, 0.13390587270259857, 0.17454710602760315, -0.07176360487937927, -0.023380432277917862, 0.10027097910642624, -0.11922676116228104, -0.1806221306324005, 0.018558479845523834, -0.12699580192565918, 0.16711236536502838, -0.12060904502868652, -0.8228873610496521, -0.6265849471092224, -0.268654465675354, 0.13077276945114136, 0.027565371245145798, 0.34437185525894165, 0.08270135521888733, 0.17591942846775055, -0.039659302681684494, -0.14458231627941132, 0.23835770785808563, -0.3041071593761444, -0.024924732744693756, 0.04310758411884308, -0.10867443680763245, -0.03252946212887764, 0.26991721987724304, -0.4482691287994385, 0.5805962681770325, -0.08974754065275192, 0.08805316686630249, -0.19797928631305695, 0.14731352031230927, 0.18597999215126038, -0.19716602563858032, 0.26212966442108154, 0.19705286622047424, 0.244863361120224, -0.09245135635137558, -0.006546519696712494, 0.25523316860198975, -0.026988811790943146, 0.029952751472592354, -0.006055407226085663, 0.06863098591566086, 0.20209765434265137, -0.1598818153142929, 0.713234543800354, 0.5706402659416199, 0.16124024987220764, 0.18352434039115906, -0.18213963508605957, 0.24270014464855194, -0.1357634961605072, -0.3667922914028168, -0.03325102850794792, 0.15075770020484924, 0.0037001948803663254, 0.37977540493011475, 0.09387772530317307, 0.037058405578136444, -0.12856453657150269, -0.07662829756736755, -0.31101423501968384, 0.01144564151763916, 0.33389708399772644, -0.004491452127695084, 0.2714829444885254, -0.2069222331047058, -0.03271261602640152, -0.05005283281207085, -0.02134815976023674, -0.05299476906657219, 0.10874449461698532, 0.06503010541200638, 0.06639289110898972, -0.1870514154434204, -0.3612675666809082, -0.1256560981273651, 0.09352168440818787, 0.2685193121433258, 0.11937567591667175, -0.280320942401886, 0.2921147048473358, -0.15627340972423553, 0.027508437633514404, 0.1831175535917282, -0.2676938772201538, -0.3047237992286682, 0.21749234199523926, 0.36638060212135315, 0.28770363330841064, 0.19601868093013763, -0.29757604002952576, 0.062487468123435974, 0.32957398891448975, 0.14626123011112213, -0.5849810838699341, -0.16972346603870392, -0.13278350234031677, 0.7700770497322083, -0.09832639992237091, 0.30560633540153503, -0.29392826557159424, -0.049337707459926605, -0.45803990960121155, 0.22413486242294312, 0.15583935379981995, -0.0460965521633625, -0.19924134016036987, 0.05635887011885643, 0.4669552147388458, -0.0008602272719144821, 0.4150276184082031, -0.0011905664578080177, 0.36582690477371216, -0.0678940936923027, 0.13719609379768372, 0.09489746391773224, -0.01817740499973297, 0.002669302746653557, 0.8450503349304199, -0.09677676856517792, -0.29300421476364136, -0.24772703647613525, -0.14878523349761963, 0.6233231425285339, 0.19566842913627625, 0.13013866543769836, 0.23780235648155212, -0.004061155021190643, -0.2131386548280716, -0.12822413444519043, 0.11714231967926025, 0.17989587783813477, 0.2064729481935501, -0.3435156047344208, -0.6881532669067383, 0.11460387706756592, 0.14416858553886414, -0.0343407467007637, 0.38001227378845215, -0.24941058456897736, -0.39863473176956177, 0.2601255178451538, -0.275448203086853, 1.0184940099716187, 0.3472992777824402, 0.23230823874473572, 0.035266339778900146, -0.03816809505224228, -0.11751411110162735, -0.4363798499107361, 0.028196897357702255, -0.5054726600646973, -0.025772668421268463, -0.09576345235109329, -0.027800217270851135, 0.22181367874145508, 0.3867291808128357, -0.663681149482727, 0.39675119519233704, -0.294297456741333, -0.03476979210972786, -0.04532964527606964, 0.4997248649597168, -0.3973175585269928, -0.2744121253490448, 0.26039645075798035, 0.11863353848457336, -0.06264010816812515, 0.03367223963141441, 0.08881400525569916, -0.12331752479076385, -0.20101408660411835, -0.16717283427715302, 0.04050280153751373, 0.0758097767829895, -0.232222780585289, -0.19376203417778015, -0.13550478219985962, 0.09854450821876526, 0.12079180777072906, -0.16706959903240204, 0.3412882089614868, 0.43524032831192017, -0.034489840269088745, 0.05481676757335663, 0.24453216791152954, -0.0766756609082222, -0.10193371027708054, -0.03336503356695175, 0.2625657618045807, -0.043049316853284836, -0.4646280109882355, 0.18960070610046387, -0.16844868659973145, 0.21303169429302216, -0.5450863838195801, -0.2624253034591675, 0.4214765429496765, -0.26634010672569275, -0.006781791802495718, 0.15223494172096252, -0.36235636472702026, -0.15543071925640106, 0.195914164185524, 0.3489670157432556, -0.36583414673805237, 0.07339434325695038, 0.08557292073965073, -0.05654469132423401, -0.33172324299812317, -0.06174423545598984, 0.3780864477157593, 0.003228023648262024, 0.4023194909095764, -0.08600953221321106, -0.0414624884724617, -0.39404386281967163, 0.01777595281600952, 0.15514032542705536, -0.35621029138565063, -0.11296312510967255, 0.22848372161388397, -0.2261035442352295, -0.18626344203948975, 0.22277921438217163, 0.2005055993795395, 0.3221101760864258, -0.12033653259277344, -0.26426708698272705, -0.4048839509487152, 0.04922885075211525, 0.4976300299167633, 0.2501339614391327, -0.008082214742898941, -0.014957334846258163, 0.20556753873825073, 0.2660447955131531, -0.3965164124965668, -0.05532447248697281, -0.09206788241863251, 0.24462758004665375, -0.018029402941465378, -0.1824224889278412, -0.07487078011035919, 0.1577039211988449, 0.22510281205177307, 0.034002337604761124, -0.19931098818778992, -0.20257404446601868, -0.1616247147321701, 0.1572163999080658, 0.1042286679148674, -0.040219709277153015, 0.0983281135559082, 0.12936440110206604, -0.19334077835083008, -0.09605024009943008, -0.04663756489753723, -0.12876199185848236, -0.1569637507200241, 0.3806076645851135, -0.09781888127326965, -0.022176593542099, -0.03668002039194107, -0.20178228616714478, -0.019765861332416534, -0.0492715984582901, -0.08658556640148163, -0.053145602345466614, -0.08506303280591965, -0.2189069241285324, 0.05585886165499687, 0.25374194979667664, 0.1474972367286682, -0.2572069466114044, 0.0806029736995697, -0.04021396487951279, 0.1348595768213272, 0.023305222392082214, 0.3480059802532196, 0.27161264419555664, -0.09907569736242294, 0.354657381772995, 0.5271995067596436, 0.26958394050598145, -0.35799169540405273, 0.01741361804306507, 0.07766109704971313, -0.36874204874038696, 0.28188255429267883, 0.3625992238521576, 0.45865681767463684, -0.06223476305603981, 0.1586710661649704, -0.17152133584022522, -0.05453440174460411, -0.2771472930908203, 0.16682446002960205, 0.0720893144607544, -0.29713138937950134, 0.024824198335409164, 0.30531951785087585, 0.13915185630321503, 0.11568024754524231, 0.15246638655662537, -0.2364824116230011, 0.28225433826446533, 0.24723702669143677, -0.18438367545604706, 0.06415794044733047, -0.1472305804491043, 0.1478394865989685, 0.11586728692054749, -0.33571869134902954, 0.04301390051841736, 0.11873746663331985, 0.6348736882209778, -0.42342478036880493, -0.24317383766174316, -0.08401265740394592, 0.20018090307712555, -0.29068320989608765, 0.09534299373626709, -0.009464781731367111, -0.1535455584526062, -0.42621752619743347, -0.2400684803724289, 0.14213120937347412, -0.03190866857767105, 0.09051455557346344, 0.05607452243566513, 0.015192218124866486, 0.175407275557518, -0.005836594849824905, 0.23024499416351318, 0.17818021774291992, -0.23021671175956726, 0.13839955627918243, 0.21646292507648468, 0.01325627788901329, 0.07999252527952194, 0.1771545559167862, 0.24955810606479645, 0.21857506036758423, -0.15279018878936768, 0.15401723980903625, -0.08392642438411713, -0.15035971999168396, 0.0917685329914093, 0.3153042793273926, 0.11637140810489655, 0.008068416267633438, 0.15091286599636078, 0.1295030266046524, -0.25852835178375244, -0.36640217900276184, 0.26948606967926025, -0.20791970193386078, -0.13962529599666595, 0.1285211741924286, -0.03487665206193924, -0.14323922991752625, -0.32926681637763977, -0.1342737376689911, -0.7001956105232239, -0.06803510338068008, 0.47000324726104736, 0.1764136105775833, -0.009908095933496952, -0.4400379955768585, 0.08321460336446762, 0.06795085966587067, 0.09371940791606903, -0.022904638200998306, 0.2191067934036255, -0.2027076780796051, -0.07110606133937836, -0.39296072721481323, 0.09217999130487442, -0.0582905150949955, -0.3482663929462433, -0.2836822271347046, -0.09087175130844116, 0.2843129336833954, 0.30552423000335693, -0.032594263553619385, 0.01388406939804554, 0.17053712904453278, 0.033714354038238525, -0.2074333280324936, 0.04548586159944534, -0.07220147550106049, 0.3646085560321808, 0.02856527641415596, -0.4067666530609131, 0.15442466735839844, -0.05797749012708664, 0.17702102661132812, -0.13078585267066956, -0.16021829843521118, 0.22922244668006897, -0.004575770348310471, 0.21830633282661438, -0.038319021463394165, 0.5139917135238647, -0.3411722183227539, 0.09167927503585815, 0.33595380187034607, -0.15539544820785522, -0.15663236379623413, 0.16446872055530548, 0.3219452202320099, 0.37001150846481323, -0.09083637595176697, -0.13453951478004456, -0.25349095463752747, 0.05877796187996864, 0.14685098826885223, -0.1717669814825058, 0.0011117728427052498, 0.3890302777290344, -0.02921823039650917, -0.2948344051837921, 0.030844029039144516, 0.22022467851638794, -0.10114237666130066, -0.2892460227012634, -0.10563970357179642, -0.19582267105579376, 0.18727368116378784, 0.1378651261329651, -0.3769133388996124, -0.413473516702652, 0.22966799139976501, 0.22547245025634766, 0.13305866718292236, -0.15277473628520966, 0.2158757448196411, 0.3391774594783783, 0.14819005131721497, 0.06978428363800049, 0.1239677220582962, 0.12324421107769012, -0.08588363230228424, -0.13118399679660797, 0.23250742256641388, 0.21670028567314148, -0.033251889050006866, 0.1545543521642685, -0.23663076758384705 ]
https://github.com/huggingface/datasets/pull/1886
Common voice
Hey @BirgerMoell, I tweaked your dataset file a bit to have a first working version. To test this dataset downloading script, you can do the following: - 1) Download the Common Voice Georgian dataset from https://commonvoice.mozilla.org/en/datasets (It's pretty small which is why I chose it) - 2) Run the following command using this branch: ```python from datasets import load_dataset ds = load_dataset("./../datasets/datasets/common_voice", "Georgian", data_dir="./cv-corpus-6.1-2020-12-11/ka/", split="train") ``` Note that I'm loading a local version of the dataset script (`"./../datasets/datasets/common_voice/"` points to the folder in your branch) and that I also insert the downloaded data with the `data_dir` arg. -> You'll see that the data is correctly loaded and that `ds` contains all the information we need. Now there are a lot of different datasets on Common Voice, so it probably takes too much time to test all of those, but maybe you can test whether the current script works as well *e.g.* for Swedish, 3,4 other languages. It would be very nice if we can use the exact same structure for all languages, meaning that we don't have to change the `datasets.Features(...)` structure depending on the language, but can use the exact same one for every language. If everything works as expected we can then go over to cleaning the script and seeing how to add dummy data tests for it.
Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information
220
text: Common voice Started filling out information about the dataset and a dataset card. To do Create tagging file Update the common_voice.py file with more information Hey @BirgerMoell, I tweaked your dataset file a bit to have a first working version. To test this dataset downloading script, you can do the following: - 1) Download the Common Voice Georgian dataset from https://commonvoice.mozilla.org/en/datasets (It's pretty small which is why I chose it) - 2) Run the following command using this branch: ```python from datasets import load_dataset ds = load_dataset("./../datasets/datasets/common_voice", "Georgian", data_dir="./cv-corpus-6.1-2020-12-11/ka/", split="train") ``` Note that I'm loading a local version of the dataset script (`"./../datasets/datasets/common_voice/"` points to the folder in your branch) and that I also insert the downloaded data with the `data_dir` arg. -> You'll see that the data is correctly loaded and that `ds` contains all the information we need. Now there are a lot of different datasets on Common Voice, so it probably takes too much time to test all of those, but maybe you can test whether the current script works as well *e.g.* for Swedish, 3,4 other languages. It would be very nice if we can use the exact same structure for all languages, meaning that we don't have to change the `datasets.Features(...)` structure depending on the language, but can use the exact same one for every language. If everything works as expected we can then go over to cleaning the script and seeing how to add dummy data tests for it.
[ -0.2915284037590027, -0.102494016289711, -0.0898417979478836, 0.015286486595869064, 0.24518804252147675, 0.1160922423005104, 0.2080586701631546, 0.35180503129959106, 0.25163233280181885, 0.1964380145072937, -0.10053572058677673, 0.14486096799373627, -0.0772843137383461, 0.08340413123369217, 0.04003043472766876, 0.12748746573925018, 0.06827518343925476, 0.2678185701370239, 0.21663714945316315, -0.2519184947013855, 0.059013351798057556, 0.05794487148523331, -0.032018136233091354, 0.0912272185087204, -0.41669216752052307, 0.02791493386030197, -0.14043645560741425, 0.05342462658882141, -0.1278075873851776, -0.5483770370483398, 0.08027434349060059, 0.21257582306861877, -0.060641299933195114, 0.4856865704059601, -0.0001025665842462331, -0.29577064514160156, 0.1012447327375412, -0.23209333419799805, -0.27647194266319275, -0.2693663239479065, -0.16919434070587158, 0.06031376123428345, -0.08278409391641617, -0.0028080791234970093, -0.15760600566864014, -0.3187970817089081, -0.022647598758339882, -0.40125101804733276, 0.036842674016952515, 0.27571505308151245, 0.24172398447990417, -0.2307995706796646, -0.25998616218566895, -0.007143398746848106, 0.24532398581504822, 0.01532694324851036, -0.12897048890590668, 0.40942344069480896, 0.5909823179244995, -0.23777377605438232, 0.14722168445587158, 0.37721654772758484, 0.11407357454299927, -0.23474721610546112, 0.027625717222690582, 0.20236285030841827, -0.11278537660837173, -0.6275885105133057, 0.19377806782722473, 0.38451510667800903, 0.7314748167991638, -0.5360721349716187, -0.20045295357704163, -0.0915178433060646, 0.14260607957839966, -0.28591427206993103, 0.12600883841514587, 0.14779244363307953, -0.16721178591251373, 0.24033582210540771, 0.25318554043769836, -0.20925721526145935, 0.07442130148410797, 0.010255113244056702, 0.0475458949804306, 0.39575642347335815, 0.01269722729921341, -0.0922742560505867, 0.10620303452014923, -0.06405291706323624, -0.4341573715209961, 0.10130523890256882, -0.05764736607670784, 0.3592739701271057, -0.20565126836299896, -0.14518463611602783, -0.01828671246767044, -0.43464896082878113, 0.45111459493637085, 0.014458000659942627, 0.2732102870941162, 0.0996597558259964, -0.21839569509029388, 0.22145962715148926, 0.037907399237155914, 0.18883930146694183, 0.3896985352039337, 0.08799406886100769, 0.13514627516269684, 0.022980479523539543, -0.11528150737285614, 0.06632538884878159, -0.20414094626903534, -0.12482722848653793, 0.14726710319519043, 0.20849674940109253, 0.21479862928390503, -0.19366541504859924, -0.1365347057580948, 0.2985973358154297, -0.2488006353378296, -0.029050001874566078, 0.05198761075735092, 0.5158788561820984, -0.10244010388851166, 0.08300099521875381, -0.21552208065986633, 0.16593322157859802, -0.10853352397680283, -0.05549979582428932, -0.04788968339562416, 0.24336110055446625, -0.22089596092700958, 0.09842203557491302, 0.4161214232444763, -0.35485756397247314, 0.13754382729530334, 0.057473935186862946, 0.13251182436943054, -0.18199703097343445, 0.09138704091310501, -0.1687709242105484, 0.17618924379348755, 0.05556586757302284, 0.013938885182142258, 0.2697947323322296, 0.11917723715305328, -0.23192675411701202, -0.4159000515937805, 0.020324625074863434, -0.13252976536750793, -0.13992100954055786, 0.012762794271111488, 0.3163997530937195, 0.0988154411315918, -0.14220595359802246, 0.24495989084243774, 0.30001506209373474, 0.1244395449757576, -0.3579918444156647, 0.22310179471969604, 0.02850692719221115, -0.21443316340446472, -0.06554589420557022, 0.3399006128311157, 0.47468483448028564, -0.25407397747039795, -0.0661233440041542, 0.04910930246114731, -0.11541081964969635, 0.05884641408920288, 0.01442096009850502, -0.02487429603934288, 0.03396757319569588, -0.178857684135437, 0.49724888801574707, 0.34091150760650635, -0.35659703612327576, -0.31873708963394165, 0.12041372060775757, -0.17459946870803833, 0.02072727493941784, 0.1357726752758026, -0.11908408254384995, 0.26647236943244934, 0.06428152322769165, 0.16348862648010254, 0.16601061820983887, -0.12539587914943695, 0.1452513486146927, -0.23638814687728882, -0.14658445119857788, 0.1862390637397766, 0.02399251237511635, -0.2422872930765152, -0.2218867540359497, -0.10935787111520767, -0.24753151834011078, 0.3972839415073395, -0.29722970724105835, 0.23730935156345367, 0.03742585703730583, 0.43825075030326843, -0.06297583878040314, 0.08954939991235733, -0.21092438697814941, -0.14466485381126404, 0.26730671525001526, 0.04549822956323624, 0.24884890019893646, 0.022334694862365723, -0.5194051265716553, -0.4703208804130554, -0.21624258160591125, -0.29843130707740784, -0.11102616786956787, 0.20987682044506073, 0.1889863908290863, 0.007823660969734192, 0.03843207284808159, -0.29116320610046387, 0.2097337245941162, -0.036392055451869965, 0.04769695922732353, 0.10602830350399017, 0.21558941900730133, -0.21506083011627197, -0.04918382689356804, 0.20185212790966034, 0.17947426438331604, 0.023242156952619553, -0.05788016691803932, -0.12491244822740555, 0.2535299062728882, 0.14021888375282288, 0.29349789023399353, 0.12710070610046387, 0.024409353733062744, -0.004402561113238335, -0.30641987919807434, 0.11411679536104202, 0.2011791169643402, 0.2662830948829651, -0.07216477394104004, 0.049371637403964996, 0.2818399667739868, 0.10799047350883484, -0.046312279999256134, 0.1009107232093811, -0.2152729481458664, 0.2957766056060791, 0.0404118113219738, -0.23166264593601227, -0.1127956360578537, 0.014781087636947632, -0.2219795137643814, 0.11271047592163086, 0.04958685487508774, -0.45819997787475586, 0.09661686420440674, 0.7848676443099976, 0.07971622049808502, 0.27053171396255493, 0.03881195932626724, -0.2811104357242584, -0.016998568549752235, 0.09325132519006729, -0.16493329405784607, 0.11104173958301544, 0.03606836125254631, 0.20006245374679565, 0.17675432562828064, 0.03371243551373482, -0.02464825101196766, 0.1698954701423645, -0.160135418176651, 0.078280970454216, 0.40370264649391174, -0.0020231804810464382, -0.13961754739284515, -0.312703400850296, -0.26724255084991455, -0.04624008387327194, 0.07991310954093933, -0.19054549932479858, 0.08593937754631042, -0.15994423627853394, -0.05105551704764366, -0.34912100434303284, -0.29708340764045715, -0.22298270463943481, -0.0719761773943901, 0.35635584592819214, -0.1420912891626358, -0.02116851508617401, 0.3500385284423828, -0.1707307994365692, 0.146672785282135, -0.041538871824741364, -0.30853113532066345, -0.061126288026571274, -0.16672493517398834, -0.3357318639755249, 0.18712079524993896, 0.02963755652308464, 0.15081022679805756, 0.22412899136543274, -0.31355565786361694, -0.02206769585609436, -0.04169650375843048, -0.27278655767440796, 0.19940821826457977, -0.10094653069972992, -0.22674249112606049, -0.09527122974395752, 0.103594571352005, 0.08404026925563812, -0.03618249669671059, 0.018659822642803192, -0.2188083678483963, -0.10627385228872299, 0.0436713844537735, -0.01457120105624199, -0.014193708077073097, -0.2280270904302597, -0.9764665365219116, -0.5049182772636414, -0.40013888478279114, 0.12767189741134644, -0.09626321494579315, 0.2108808010816574, 0.0795200765132904, 0.10427575558423996, 0.02125108614563942, -0.3993352949619293, 0.3645840585231781, -0.16716846823692322, 0.09011878073215485, 0.1944049894809723, -0.12470186501741409, -0.23619063198566437, 0.4084679186344147, -0.1928238421678543, 0.30092746019363403, -0.10341018438339233, 0.010976076126098633, 0.08541815727949142, 0.06414329260587692, 0.15010769665241241, 0.12449557334184647, 0.007379494607448578, 0.27564728260040283, 0.22363848984241486, -0.10109678655862808, 0.031150363385677338, 0.07355530560016632, -0.2586870789527893, 0.14484182000160217, 0.04201415553689003, -0.08071663975715637, 0.20148056745529175, -0.11497063934803009, 0.7026103734970093, 0.233308345079422, -0.03345044329762459, 0.2260465770959854, -0.27407848834991455, 0.15993164479732513, -0.13523262739181519, -0.3609062433242798, 0.041669368743896484, -0.07339869439601898, -0.03117263689637184, 0.513140082359314, 0.07009133696556091, -0.183492049574852, -0.1847703605890274, 0.03265930339694023, -0.22944167256355286, -0.16328637301921844, 0.38740697503089905, -0.012543294578790665, 0.20875146985054016, -0.018105406314134598, 0.13736334443092346, 0.011982444673776627, -0.08699497580528259, 0.09338952600955963, 0.2385011464357376, -0.08909686654806137, -0.04626915231347084, -0.044607535004615784, -0.15476779639720917, -0.20576322078704834, 0.17054986953735352, 0.3927716314792633, 0.11538659781217575, -0.2663846015930176, -0.04394497722387314, -0.2208966761827469, -0.21012327075004578, -0.041657671332359314, -0.28948232531547546, -0.11931602656841278, 0.23283568024635315, 0.3433258533477783, 0.15505783259868622, -0.03357679769396782, -0.2719336748123169, 0.02761141210794449, 0.2133890688419342, -0.11291952431201935, -0.356484979391098, -0.00999847799539566, -0.1129126101732254, 0.5491030216217041, -0.0049973465502262115, 0.3052787780761719, -0.22605900466442108, -0.05940989404916763, -0.5297341346740723, 0.25228479504585266, 0.05034032464027405, 0.008753236383199692, -0.3461478352546692, 0.12598831951618195, 0.4872250258922577, 0.035361818969249725, 0.30583465099334717, 0.2930699586868286, 0.22567960619926453, -0.01994023285806179, 0.39694321155548096, 0.06023142859339714, 0.029633881524205208, 0.2209482043981552, 0.9233599901199341, 0.06404674798250198, -0.27192193269729614, -0.09934326261281967, -0.1843397468328476, 0.5331195592880249, 0.26813703775405884, 0.08042734116315842, -0.004132464528083801, 0.14387992024421692, -0.2443879395723343, -0.16209948062896729, 0.19934213161468506, 0.29468944668769836, 0.26828718185424805, -0.29923197627067566, -0.6070577502250671, 0.18713724613189697, 0.13635490834712982, -0.23473979532718658, 0.13850685954093933, -0.09630005061626434, -0.2581217586994171, 0.11767033487558365, -0.39135995507240295, 0.983364999294281, 0.2848225235939026, 0.16042445600032806, 0.1403842568397522, -0.0982779860496521, -0.20346394181251526, -0.39934754371643066, 0.06124165654182434, -0.3752206265926361, -0.22321771085262299, -0.050379686057567596, -0.020061220973730087, 0.221979558467865, 0.12255216389894485, -0.6024869084358215, 0.2794789969921112, -0.13877372443675995, 0.10081066191196442, -0.06037846952676773, 0.4643458127975464, -0.25755399465560913, -0.33952993154525757, 0.06600280106067657, 0.20397433638572693, 0.0095524862408638, 0.3360253572463989, 0.1472575068473816, 0.01639292761683464, -0.37492504715919495, -0.2852104902267456, -0.2626716196537018, 0.32388752698898315, -0.1425635665655136, -0.40502023696899414, -0.18973733484745026, 0.0847913920879364, 0.40887024998664856, -0.12597739696502686, 0.057619646191596985, 0.3149336278438568, -0.13098610937595367, 0.20687901973724365, 0.25015681982040405, 0.05168115720152855, -0.033506207168102264, -0.1398775577545166, 0.4364171624183655, -0.13270533084869385, -0.4221697747707367, 0.29545629024505615, 0.04349705949425697, 0.21912632882595062, -0.29497551918029785, -0.11807817220687866, 0.17373354732990265, -0.3529069721698761, -0.004498635418713093, 0.1659163236618042, -0.1819857954978943, -0.10701754689216614, 0.23498202860355377, 0.13229623436927795, -0.30650264024734497, 0.025141406804323196, 0.23082302510738373, 0.0072058141231536865, -0.15119968354701996, 0.11708949506282806, 0.11273674666881561, -0.07789712399244308, 0.3443750739097595, 0.13985709846019745, -0.034457601606845856, -0.4146181643009186, -0.1838984191417694, 0.2555577754974365, -0.3044981062412262, -0.2878969609737396, 0.017318790778517723, -0.2726600170135498, -0.07979496568441391, 0.28874045610427856, 0.13676829636096954, 0.1761411875486374, -0.013101119548082352, -0.1728040874004364, -0.360441654920578, 0.1401757001876831, 0.41390201449394226, 0.2217402160167694, -0.25268831849098206, -0.07742099463939667, 0.1857776641845703, 0.0319717712700367, -0.4566289186477661, -0.16190843284130096, 0.05466829985380173, 0.09442590177059174, 0.1749272644519806, -0.06505385041236877, 0.16279029846191406, -0.10681061446666718, 0.25320905447006226, 0.028822997584939003, -0.13213448226451874, -0.2823999524116516, -0.08491916954517365, 0.0824829712510109, 0.09124539792537689, 0.08491752296686172, 0.0025600260123610497, 0.09103284776210785, -0.09902659058570862, -0.24581652879714966, 0.06369991600513458, -0.08750183135271072, -0.06030438840389252, 0.2221083790063858, -0.0730273425579071, -0.07573694735765457, -0.06681418418884277, -0.20321577787399292, -0.07590322196483612, 0.24163289368152618, 0.010173339396715164, 0.03197215124964714, -0.2782711684703827, -0.22330163419246674, -0.06427359580993652, 0.291138231754303, 0.1558944582939148, -0.07170218229293823, 0.14316418766975403, -0.04673590511083603, 0.2193855345249176, 0.13136184215545654, 0.47147122025489807, 0.3662831485271454, -0.20553123950958252, 0.03249116241931915, 0.3211589455604553, 0.3156691789627075, -0.31335484981536865, 0.1335754245519638, -0.006337104365229607, -0.2646501362323761, 0.2832399308681488, 0.24071051180362701, 0.23753517866134644, -0.004062741994857788, -0.08324019610881805, -0.0844387635588646, 0.19294112920761108, -0.18570780754089355, 0.06528481841087341, -0.016049567610025406, -0.19943943619728088, 0.110397569835186, 0.17880715429782867, 0.07264820486307144, 0.16830290853977203, 0.29360073804855347, -0.39229533076286316, 0.22286975383758545, 0.4677601158618927, 0.00010278820991516113, 0.11479449272155762, -0.16710178554058075, 0.10496395826339722, 0.18742254376411438, -0.16244155168533325, 0.045003101229667664, 0.22559569776058197, 0.36013293266296387, -0.13837938010692596, -0.1481500118970871, -0.09345836192369461, 0.1970459669828415, -0.15702694654464722, 0.07350601255893707, -0.15179157257080078, -0.21860891580581665, -0.299111545085907, -0.14835982024669647, -0.04446223005652428, 0.016477756202220917, 0.1852063238620758, 0.02819814532995224, -0.16847966611385345, -0.011787105351686478, -0.048680298030376434, 0.011939926072955132, 0.32999396324157715, -0.18620286881923676, 0.19652123749256134, 0.0249854177236557, -0.0949394553899765, 0.07963904738426208, 0.21395434439182281, 0.39952751994132996, 0.19444678723812103, -0.14437150955200195, 0.2489791065454483, -0.11718116700649261, -0.06381892412900925, 0.13437332212924957, 0.12832877039909363, 0.15341725945472717, 0.03508319705724716, 0.1635361760854721, 0.23874714970588684, -0.24579422175884247, -0.14313749969005585, 0.20320655405521393, 0.0008486015722155571, 0.0017121871933341026, 0.08975307643413544, -0.009892843663692474, 0.04511786252260208, -0.43492990732192993, 0.036019355058670044, -0.5072124600410461, -0.0837191566824913, 0.502606987953186, 0.4452223777770996, 0.1948413848876953, -0.2772443890571594, 0.12871353328227997, 0.1793520152568817, 0.10595386475324631, 0.025537315756082535, 0.24072232842445374, -0.08259420841932297, 0.07144220173358917, -0.70863276720047, 0.15063101053237915, -0.13849343359470367, -0.28957802057266235, -0.35235896706581116, -0.024363132193684578, 0.3551757037639618, 0.20115239918231964, 0.05043773353099823, 0.09503684937953949, -0.0402614027261734, -0.07779602706432343, -0.2073742300271988, -0.2542192339897156, -0.1092941164970398, 0.31203219294548035, 0.08320020884275436, -0.3578717112541199, -0.04877852275967598, -0.5189203023910522, 0.1636349856853485, -0.07685676962137222, -0.3206389248371124, 0.05816503241658211, -0.13942860066890717, 0.47372645139694214, -0.21150930225849152, 0.6916779279708862, -0.28344863653182983, -0.15698222815990448, -0.026767108589410782, -0.130887970328331, -0.08495290577411652, 0.1875634491443634, 0.13348335027694702, 0.3017638921737671, 0.10009969770908356, 0.019982414320111275, -0.2920812964439392, -0.05871664360165596, 0.10961468517780304, -0.17254449427127838, 0.033357173204422, 0.11247504502534866, 0.12349926680326462, -0.07014509290456772, 0.0242881141602993, 0.2881278097629547, -0.20077386498451233, -0.27960720658302307, -0.3044459819793701, -0.3260706663131714, 0.4394207000732422, 0.07529839873313904, -0.2697761654853821, -0.4134984314441681, 0.3944356143474579, 0.1865658164024353, 0.19640175998210907, -0.11553880572319031, 0.19710838794708252, 0.21404263377189636, 0.08443848788738251, -0.23577404022216797, -0.138176828622818, 0.05775031819939613, -0.058345891535282135, -0.27241790294647217, 0.33835095167160034, 0.10210346430540085, -0.013789918273687363, -0.10675919055938721, -0.25427788496017456 ]
https://github.com/huggingface/datasets/pull/1883
Add not-in-place implementations for several dataset transforms
I can take a look at dictionary_encode_column tomorrow. Although it's likely that it doesn't work then. It was added at the beginning of the lib and never tested nor used afaik.
Should we deprecate in-place versions of such methods?
31
text: Add not-in-place implementations for several dataset transforms Should we deprecate in-place versions of such methods? I can take a look at dictionary_encode_column tomorrow. Although it's likely that it doesn't work then. It was added at the beginning of the lib and never tested nor used afaik.
[ -0.04341169446706772, -0.12457222491502762, -0.07527396827936172, -0.18543659150600433, 0.2572172284126282, -0.10087379813194275, 0.30930203199386597, 0.3498792052268982, -0.05690101161599159, 0.29948633909225464, 0.0464073121547699, 0.4529064893722534, -0.040381114929914474, -0.04732330143451691, 0.09537520259618759, 0.08768200874328613, 0.29343101382255554, 0.445884644985199, -0.4375357925891876, 0.046161308884620667, -0.42826974391937256, -0.02724800445139408, -0.3441201448440552, -0.00043558329343795776, 0.02830987609922886, 0.05758872628211975, -0.0376906655728817, -0.31462904810905457, -0.16740834712982178, -0.17142507433891296, 0.023185940459370613, 0.07523900270462036, -0.22322455048561096, 0.13017143309116364, -0.00010923638910753652, 0.25363361835479736, 0.2303052693605423, 0.05139044672250748, -0.28107360005378723, 0.02518383413553238, -0.2317926287651062, -0.4311249256134033, 0.10006524622440338, -0.29113513231277466, 0.08310460299253464, -0.24347089231014252, -0.13230827450752258, -0.415627121925354, 0.27560949325561523, 0.07536571472883224, 0.2334747463464737, -0.05301400274038315, -0.15786825120449066, 0.03540962561964989, 0.4329967498779297, 0.22304342687129974, -0.13517609238624573, -0.24658173322677612, 0.5329524278640747, 0.42444685101509094, 0.12553240358829498, 0.48041456937789917, -0.32802683115005493, -0.3106115460395813, 0.030499668791890144, 0.041586123406887054, -0.07754644006490707, -0.12079760432243347, 0.05774923413991928, 0.04832238331437111, 0.3832623362541199, -0.23620301485061646, -0.3600282073020935, 0.07218610495328903, -0.027113955467939377, -0.2696835994720459, 0.1104811280965805, -0.40082114934921265, 0.2775728106498718, 0.19181041419506073, -0.37950804829597473, -0.49527841806411743, -0.1782001256942749, 0.05050332099199295, -0.10807189345359802, 0.48218438029289246, -0.022200264036655426, 0.03984004259109497, -0.07266983389854431, -0.1471916288137436, 0.02337801828980446, 0.10021746903657913, -0.13106213510036469, -0.1829051375389099, 0.14322231709957123, -0.3790287375450134, -0.17116039991378784, 0.0411645732820034, 0.20591804385185242, -0.02833973616361618, 0.11160223931074142, 0.3116653859615326, -0.10825679451227188, 0.04135662689805031, -0.13450372219085693, 0.12765154242515564, 0.163807675242424, 0.10133205354213715, 0.519029974937439, -0.21458567678928375, 0.28701236844062805, 0.08180426061153412, 0.046799540519714355, -0.22751539945602417, -0.23393456637859344, 0.003929680213332176, -0.069752536714077, -0.12687820196151733, -0.049236640334129333, -0.020941052585840225, -0.1318190097808838, 0.1640518605709076, 0.036501962691545486, 0.0901341587305069, 0.3318290412425995, 0.33025988936424255, 0.29971134662628174, -0.017925363034009933, -0.04803173989057541, -0.3189501166343689, -0.05639977008104324, 0.3960552513599396, -0.19957537949085236, -0.05129024386405945, 0.122703418135643, -0.11531275510787964, -0.11279281228780746, 0.06261596828699112, 0.2071695476770401, 0.1293020248413086, -0.433880090713501, -0.15623457729816437, 0.1855129897594452, 0.11252380907535553, -0.558989942073822, -0.19109675288200378, -0.17068448662757874, -0.3700767755508423, -0.20604026317596436, 0.29819467663764954, -0.33045315742492676, -0.41923099756240845, -0.15943311154842377, 0.23216038942337036, 0.13936255872249603, -0.1168091893196106, 0.20046183466911316, 0.4357970058917999, 0.20886161923408508, -0.39543387293815613, 0.22158971428871155, -0.12841646373271942, -0.11560583114624023, 0.012153984978795052, 0.07904663681983948, 0.13080690801143646, -0.5559773445129395, 0.08365269005298615, 0.02666432037949562, 0.06755959987640381, 0.26314234733581543, 0.2770225405693054, -0.22079095244407654, -0.10012196749448776, 0.13484911620616913, -0.055656105279922485, 0.44273287057876587, -0.11249147355556488, -0.08529214560985565, 0.24289248883724213, 0.26587384939193726, -0.3435325026512146, 0.06518246233463287, 0.06833858788013458, 0.15755429863929749, -0.20336578786373138, -0.05303187668323517, -0.020647116005420685, 0.15309323370456696, 0.05319269746541977, -0.2805531919002533, -0.25333938002586365, 0.49453866481781006, 0.03731219843029976, -0.011760283261537552, 0.0981668084859848, -0.08978136628866196, 0.2609443962574005, 0.004491642117500305, -0.11812640726566315, 0.11579707264900208, -0.0754021406173706, 0.04904992878437042, 0.1321001946926117, 0.05231621488928795, -0.35194945335388184, -0.216624915599823, -0.18494203686714172, 0.5080121755599976, -0.16785097122192383, -0.18138156831264496, -0.48249107599258423, 0.04566129297018051, 0.22682252526283264, 0.24377764761447906, 0.05087718367576599, 0.12344856560230255, -0.3311035633087158, 0.16706743836402893, 0.16669593751430511, -0.5390493273735046, -0.04323679953813553, -0.03736693039536476, 0.01893613114953041, 0.019712254405021667, 0.052121251821517944, -0.21718181669712067, -0.06887327134609222, -0.2080434411764145, 0.38567957282066345, -0.12689745426177979, -0.29850804805755615, 0.04504971578717232, 0.28809013962745667, -0.17843088507652283, -0.2103734165430069, -0.1895291805267334, 0.24376127123832703, 0.3892919719219208, 0.053002145141363144, 0.14368188381195068, -0.17267124354839325, 0.22874896228313446, 0.0643441453576088, -0.09760560840368271, 0.16323624551296234, 0.43631982803344727, 0.035034965723752975, 0.0675191879272461, -0.0184091217815876, -0.01980382576584816, -0.013597507029771805, -0.01474879402667284, -0.47196799516677856, -0.293194979429245, 0.1443742960691452, 0.05082915350794792, 0.1222572922706604, -0.07549317181110382, -0.1992036998271942, 0.4596092998981476, -0.12247839570045471, 0.182215616106987, 0.4277461767196655, 0.38349002599716187, -0.11344196647405624, -0.05312791466712952, 0.07286609709262848, 0.2870568633079529, 0.2539360225200653, -0.17588643729686737, 0.0922107920050621, 0.12867246568202972, -0.20642057061195374, 0.26671525835990906, 0.183118999004364, 0.11231061816215515, 0.08007009327411652, 0.2790045142173767, 0.2106427699327469, -0.2878158390522003, -0.041418448090553284, 0.20681455731391907, 0.09341805428266525, -0.10046673566102982, 0.17462241649627686, -0.699419379234314, -0.36701634526252747, 0.05955210328102112, -0.11286520957946777, -0.0007645823061466217, -0.18287338316440582, 0.3148546814918518, -0.32645800709724426, -0.3669510781764984, 0.499196857213974, 0.030569005757570267, 0.5159898400306702, -0.2508922815322876, 0.22572354972362518, -0.48168936371803284, 0.010097125545144081, -0.14255592226982117, 0.06846003234386444, -0.07257545739412308, -0.3477360010147095, 0.36277130246162415, 0.0410839319229126, -0.1882125437259674, -0.44271472096443176, -0.565643846988678, 0.12992048263549805, -0.36978769302368164, -0.16009294986724854, 0.3490189015865326, -0.37922197580337524, -0.1452266424894333, -0.23459583520889282, -0.030886175110936165, -0.34061792492866516, -0.04490835964679718, 0.18020713329315186, -0.10733059048652649, -0.03155122697353363, -0.5168014168739319, -0.4959770143032074, 0.028794310986995697, -0.38763222098350525, -0.046375125646591187, -0.19761650264263153, 0.1648685187101364, 0.11208006739616394, -0.016626503318548203, 0.07832382619380951, 0.3409257233142853, 0.23171208798885345, -0.17187833786010742, 0.19332760572433472, 0.30814337730407715, -0.024456441402435303, -0.010751087218523026, -0.08098787069320679, -0.0240293201059103, -0.07199975848197937, 0.39350420236587524, -0.3641812205314636, -0.2932680547237396, -0.20820169150829315, 0.009629644453525543, 0.06099536642432213, -0.0645020455121994, 0.45441344380378723, 0.30345723032951355, -0.2194659560918808, 0.12053117901086807, -0.2909018397331238, 0.1120852679014206, 0.0006859935820102692, -0.11996950954198837, 0.3392474949359894, 0.5632877349853516, 0.07894991338253021, -0.2576054334640503, -0.10281813144683838, -0.18872417509555817, 0.3017880320549011, 0.007962992414832115, 0.4145197570323944, -0.33624181151390076, 0.10055253654718399, -0.048474229872226715, 0.02602224051952362, -0.1183641105890274, 0.0471421480178833, -0.16933175921440125, -0.25992143154144287, -0.18145853281021118, 0.017526764422655106, 0.01911192387342453, -0.14680635929107666, 0.08472360670566559, -0.3187546730041504, -0.031516239047050476, -0.03390192240476608, 0.2575744092464447, 0.17741762101650238, 0.22518247365951538, 0.20184725522994995, -0.03595094382762909, 0.06573658436536789, -0.1969131976366043, -0.02938283234834671, -0.19761869311332703, 0.10317891091108322, 0.5310577154159546, 0.13038741052150726, 0.4812081754207611, -0.04476342350244522, -0.05259745195508003, 0.04402703046798706, -0.039643581956624985, 0.09943871945142746, -0.45264148712158203, -0.444347620010376, 0.08346030116081238, -0.17087441682815552, -0.010822145268321037, -0.09932617843151093, -0.1670658141374588, -0.16724161803722382, 0.10077245533466339, 0.16473442316055298, -0.2433069348335266, -0.275244802236557, 0.7238208055496216, 0.04799359291791916, -0.057926081120967865, 0.030390728265047073, 0.005954332649707794, -0.4197693467140198, -0.29440838098526, -0.25963297486305237, 0.13409458100795746, -0.229021817445755, -0.04389972984790802, -0.07830063998699188, 0.04084136337041855, -0.17941102385520935, 0.12912392616271973, -0.03677321970462799, -0.01758441887795925, -0.04788030683994293, -0.02631104737520218, -0.2485736906528473, 0.35405656695365906, 0.054158687591552734, 0.15721453726291656, -0.21084818243980408, -0.14389725029468536, -0.13432911038398743, -0.20652294158935547, 0.5864722728729248, 0.26637211441993713, -0.1867150068283081, 0.30520522594451904, -0.2605329155921936, -0.018646828830242157, -0.06440276652574539, -0.31894147396087646, 0.3676350712776184, -0.005816001910716295, 0.04405170679092407, -0.5248799920082092, 0.4486316442489624, 0.2611662447452545, -0.12503384053707123, 0.13086578249931335, 0.342487633228302, -0.315390944480896, 0.4949643611907959, 0.3781909942626953, 1.1485844850540161, 0.19958508014678955, 0.12747561931610107, 0.09771086275577545, -0.09343510121107101, 0.513160765171051, -0.11730940639972687, 0.18127107620239258, -0.09784137457609177, -0.09396987408399582, -0.0938718318939209, 0.08534298837184906, 0.4481687843799591, -0.23697863519191742, -0.49632519483566284, 0.18429318070411682, -0.24604615569114685, 0.09124450385570526, -0.1245427280664444, -0.2871624231338501, -0.24216771125793457, -0.3287222981452942, -0.0010980274528265, 0.12332972884178162, -0.050082482397556305, -0.15630221366882324, -0.18559584021568298, 0.07833483070135117, 0.05996234342455864, -0.06310589611530304, -0.21495069563388824, -0.07523304224014282, 0.4690214693546295, 0.6842913031578064, -0.024127542972564697, -0.11516764760017395, 0.4148334562778473, 0.2666355073451996, 0.4025788903236389, 0.23775483667850494, 0.03771786391735077, -0.12157286703586578, -0.06018836051225662, 0.18201997876167297, 0.13204523921012878, 0.11905881762504578, 0.2935158610343933, -0.23388901352882385, -0.3019053041934967, 0.06607959419488907, 0.06211750954389572, -0.23464475572109222, -0.2838069796562195, -0.1664339303970337, 0.18415895104408264, -0.061144232749938965, 0.17923517525196075, 0.23867806792259216, 0.03272077813744545, -0.30406832695007324, 0.17270971834659576, -0.10348877310752869, -0.1141158938407898, 0.3641168177127838, -0.22373969852924347, -0.1945546269416809, -0.06680165231227875, 0.13722431659698486, 0.10731781274080276, 0.07452910393476486, 0.37923842668533325, -0.07967563718557358, -0.4442569613456726, -0.2169845700263977, -0.1581968367099762, -0.1137029305100441, -0.07305758446455002, 0.14598169922828674, -0.19221480190753937, -0.3676565885543823, -0.1415533721446991, 0.4465210735797882, 0.0789865031838417, 0.08005666732788086, -0.26908043026924133, 0.07318960130214691, -0.3912408649921417, 0.25540798902511597, 0.20288093388080597, 0.319000244140625, -0.22282809019088745, 0.09202203154563904, 0.09095721691846848, -0.006521949544548988, -0.32837754487991333, -0.059750013053417206, -0.09686201065778732, 0.11046967655420303, -0.1763772815465927, 0.10628007352352142, -0.33651331067085266, 0.01047963835299015, 0.11996680498123169, 0.39219504594802856, -0.2537318766117096, -0.10720087587833405, -0.09627163410186768, 0.16967156529426575, -0.02514757215976715, 0.22363203763961792, 0.031633082777261734, -0.1038965955376625, -0.18162666261196136, 0.039984285831451416, 0.10084322094917297, 0.3379305899143219, 0.08641217648983002, 0.5851744413375854, 0.15135283768177032, 0.12182655930519104, 0.09861944615840912, -0.004801977425813675, 0.07883714884519577, 0.37888818979263306, -0.08246994018554688, -0.0019629262387752533, -0.047433286905288696, -0.21958163380622864, -0.13279056549072266, 0.20162221789360046, 0.07100116461515427, 0.04645003378391266, 0.3706236481666565, -0.11929963529109955, 0.2583537995815277, 0.3043321371078491, 0.2835078239440918, 0.4061976969242096, -0.37784627079963684, -0.3165319859981537, 0.3402869403362274, 0.18037210404872894, -0.2587049901485443, -0.12475147843360901, -0.07515029609203339, 0.06692995131015778, -0.12850454449653625, 0.45570701360702515, 0.15640580654144287, 0.05728389322757721, 0.07763839513063431, 0.07632449269294739, -0.026063334196805954, -0.5959875583648682, -0.2458525002002716, 0.3245514929294586, -0.18108093738555908, 0.10296465456485748, 0.15112563967704773, 0.1967381089925766, 0.14660783112049103, 0.36063170433044434, -0.07829301804304123, 0.4573058485984802, 0.21877145767211914, 0.4003066420555115, 0.09419091045856476, 0.23514504730701447, 0.5834924578666687, 0.270886093378067, 0.07644543051719666, 0.13666974008083344, 0.40122291445732117, -0.2660713493824005, -0.009443514980375767, -0.08041097223758698, -0.2248915135860443, 0.14704841375350952, -0.1926063597202301, -0.05556218698620796, 0.10956981778144836, 0.014556251466274261, -0.22472485899925232, -0.0219634547829628, -0.014845184981822968, 0.2010057270526886, 0.714083194732666, 0.210672527551651, 0.15501651167869568, 0.031248407438397408, 0.4859519302845001, -0.4767667353153229, 0.8571685552597046, -0.1568329930305481, 0.09168832004070282, 0.32905781269073486, -0.25990453362464905, 0.15961964428424835, 0.3849523365497589, 0.07582871615886688, 0.3151569366455078, 0.12533026933670044, -0.004612538032233715, -0.3925110995769501, 0.007339885458350182, 0.07553093880414963, 0.554701566696167, -0.036674417555332184, 0.4259321689605713, 0.36496442556381226, 0.09014438092708588, -0.11004669964313507, 0.1010536253452301, 0.21082328259944916, 0.3524458408355713, -0.4024929702281952, 0.5643011927604675, 0.4889379143714905, -0.5184469223022461, 0.13047170639038086, -0.016214676201343536, -0.10403622686862946, -0.16146183013916016, 0.08992797136306763, -0.10962126404047012, -0.027463804930448532, -0.16694796085357666, 0.10397876054048538, 0.5710359811782837, 0.4446561932563782, 0.190304696559906, -0.1395435333251953, 0.06116773560643196, -0.22958360612392426, -0.3338240683078766, 0.0035430118441581726, 0.22040855884552002, -0.18592698872089386, 0.1384003907442093, -0.03255720064043999, 0.17964810132980347, 0.10911925137042999, -0.1699453443288803, -0.19920484721660614, -0.23282869160175323, -0.30756086111068726, -0.3257215619087219, -0.005400802940130234, 0.1898009330034256, -0.13474756479263306, 0.00676562637090683, -0.1823669970035553, 0.10230184346437454, 0.21786653995513916, 0.03690203279256821, -0.1899736523628235, 0.3310053050518036, 0.1527586430311203, -0.05568019300699234, 0.40437647700309753, 0.15226370096206665, -0.12894107401371002, -0.16444778442382812, -0.030811093747615814, 0.2905634641647339, -0.08139447867870331, -0.23542499542236328, 0.3270397186279297, -0.06853722035884857, -0.3949146270751953, -0.18347075581550598, 0.06930026412010193, -0.07858787477016449, 0.14263896644115448, -0.004914790391921997, 0.20628894865512848, -0.5371986627578735, 0.07020820677280426, 0.10849238187074661, -0.149751216173172, 0.05012385919690132, 0.04121248424053192, 0.016530171036720276, -0.003213217481970787, -0.31494140625, -0.2799644470214844, 0.4504823386669159, 0.24980559945106506, -0.3815141022205353, 0.009893492795526981, 0.3384004235267639, 0.29773586988449097, -0.1155395433306694, -0.6295108795166016, -0.29553622007369995, 0.24112074077129364, -0.06472110003232956, -0.38141778111457825, 0.4552723169326782, -0.03870971128344536, -0.5039249658584595, -0.2541944682598114, 0.3138994574546814, -0.15640190243721008, -0.0863698199391365, -0.04752727225422859, -0.24223381280899048 ]
https://github.com/huggingface/datasets/pull/1882
Create Remote Manager
@lhoestq I have refactorized the logic. Instead of the previous hierarchy call (local temp file opening -> remote call -> use again temp local file logic but from within the remote caller scope), now it is flattened. Schematically: ```python with src.open() as src_file, dst.open() as dst_file: src_file.fetch(dst_file) ``` I have created `RemotePath` (analogue to Path) with method `.open()` that returns `FtpFile`/`HttpFile` (analogue to file-like). Now I am going to implement `RemotePath.exists()` method (analogue to the Path's method) to check if remote resource is accessible, using `Ftp/Http.head()`.
Refactoring to separate the concern of remote (HTTP/FTP requests) management.
86
text: Create Remote Manager Refactoring to separate the concern of remote (HTTP/FTP requests) management. @lhoestq I have refactorized the logic. Instead of the previous hierarchy call (local temp file opening -> remote call -> use again temp local file logic but from within the remote caller scope), now it is flattened. Schematically: ```python with src.open() as src_file, dst.open() as dst_file: src_file.fetch(dst_file) ``` I have created `RemotePath` (analogue to Path) with method `.open()` that returns `FtpFile`/`HttpFile` (analogue to file-like). Now I am going to implement `RemotePath.exists()` method (analogue to the Path's method) to check if remote resource is accessible, using `Ftp/Http.head()`.
[ 0.290571928024292, -0.5219784379005432, -0.09122022986412048, 0.17163574695587158, -0.06626071780920029, -0.4757933020591736, -0.09906052052974701, 0.40674498677253723, -0.1411546915769577, 0.16908961534500122, -0.1340145468711853, -0.10429143905639648, 0.03322611749172211, -0.13014912605285645, 0.17281559109687805, -0.2638333737850189, -0.04705203324556351, 0.16994807124137878, -0.009360834956169128, -0.031281404197216034, -0.20553787052631378, 0.1589074283838272, 0.05070824921131134, 0.12132491171360016, 0.18372832238674164, 0.022740010172128677, -0.07143477350473404, 0.6142327785491943, -0.08325342833995819, -0.3006086051464081, -0.06421297788619995, -0.11735035479068756, -0.0042180875316262245, 0.39073076844215393, -0.00010415486758574843, 0.021470949053764343, 0.14055633544921875, 0.010967424139380455, -0.02633536607027054, -0.19020073115825653, 0.033348940312862396, -0.22549912333488464, 0.29129767417907715, -0.1299755573272705, -0.16757991909980774, -0.25553348660469055, 0.04811716079711914, 0.08427578210830688, 0.5694292187690735, 0.385576456785202, 0.22099973261356354, 0.37018483877182007, -0.11663664132356644, 0.20223581790924072, 0.034607626497745514, 0.03856002539396286, 0.041147612035274506, 0.23122109472751617, 0.2924768030643463, -0.05266772210597992, -0.20124781131744385, -0.19482286274433136, -0.07029394060373306, 0.04394371062517166, 0.16390523314476013, -0.060565680265426636, 0.23364830017089844, -0.34018534421920776, -0.28028643131256104, -0.06125457584857941, 0.08043302595615387, -0.05596373975276947, 0.031602099537849426, 0.007236801087856293, -0.34201329946517944, -0.10504990071058273, 0.21529096364974976, 0.12001629173755646, -0.252936452627182, 0.1976976990699768, 0.25388920307159424, -0.01189116109162569, -0.20182619988918304, 0.1554916501045227, -0.08854951709508896, 0.1928117573261261, -0.02864876762032509, -0.12520772218704224, 0.12397947907447815, 0.10252872854471207, -0.08647321164608002, 0.03969425708055496, 0.07821883261203766, 0.09505645185709, 0.19153538346290588, -0.09542490541934967, 0.48319220542907715, -0.12902536988258362, -0.1053277850151062, 0.5023033618927002, 0.10269604623317719, -0.0032248087227344513, -0.18319357931613922, 0.20580974221229553, 0.11068855226039886, 0.23710402846336365, -0.04150737076997757, -0.2311364859342575, 0.222516268491745, 0.09846372157335281, -0.08626295626163483, 0.022261541336774826, 0.07401811331510544, -0.24926979839801788, -0.0198858380317688, 0.34342020750045776, 0.5243124961853027, 0.1662575751543045, 0.2512604892253876, 0.02985953539609909, -0.3037850558757782, -0.23361237347126007, 0.10221447050571442, 0.1120847687125206, -0.08785735815763474, 0.3553563356399536, 0.08867038786411285, -0.14252373576164246, -0.13389815390110016, -0.2793712019920349, -0.08049403876066208, 0.1121712327003479, -0.39546602964401245, -0.253913551568985, -0.05741053447127342, 0.11487656831741333, -0.04545652121305466, 0.11001186817884445, 0.07702943682670593, -0.16639111936092377, 0.29500633478164673, -0.05795007944107056, 0.5291641354560852, 0.3014739453792572, -0.28257670998573303, -0.2690601050853729, 0.360297292470932, 0.08716733753681183, -0.153896763920784, 0.05812854319810867, -0.3471747040748596, -0.4632771611213684, -0.27171096205711365, 0.22919821739196777, 0.1918078362941742, 0.22421829402446747, -0.009717144072055817, 0.10671728849411011, -0.40162262320518494, -0.19175618886947632, 0.21985098719596863, 0.29205912351608276, -0.1175234317779541, -0.22197206318378448, -0.05342951416969299, 0.4610191583633423, -0.02129499614238739, 0.13559898734092712, -0.2570502758026123, -0.13092941045761108, 0.43694034218788147, 0.09039704501628876, -0.19129900634288788, 0.4481813311576843, -0.3643607497215271, 0.2121105045080185, 0.5027157068252563, -0.4342949390411377, 0.15413735806941986, 0.5431669354438782, -0.44341856241226196, 0.20659534633159637, 0.25423288345336914, -0.4116474986076355, 0.03949601203203201, -0.32470282912254333, 0.05282037705183029, 0.2272566258907318, -0.06617587804794312, 0.09732485562562943, -0.07173813879489899, 0.127555251121521, -0.41591519117355347, -0.3000473082065582, -0.00914701446890831, 0.1845155507326126, 0.37524187564849854, -0.6243331432342529, 0.25456568598747253, 0.12071819603443146, 0.14174041152000427, -0.15547697246074677, 0.3220529854297638, 0.16144400835037231, -0.10896464437246323, -0.24063709378242493, 0.01928311213850975, 0.04229003190994263, -0.36145028471946716, 0.32175213098526, -0.007554329931735992, 0.0012356974184513092, -0.16922220587730408, 0.042924582958221436, -0.04157736524939537, -0.09290879964828491, 0.2662590444087982, 0.35040712356567383, -0.27003908157348633, 0.041597429662942886, -0.19933298230171204, -0.12942862510681152, -0.0676489993929863, -0.04400576278567314, 0.33006763458251953, -0.03849068284034729, -0.20082682371139526, 0.2105315774679184, -0.2681134343147278, -0.056273721158504486, 0.11194516718387604, -0.07649540156126022, -0.1584455370903015, 0.285055547952652, 0.10255108028650284, -0.06048573553562164, 0.3054381012916565, 0.07444077730178833, 0.01306344848126173, 0.22093555331230164, -0.2572157680988312, 0.3810488283634186, 0.2621932327747345, -0.133221834897995, 0.21926045417785645, 0.11806726455688477, 0.11344510316848755, 0.1805271953344345, 0.22094102203845978, -0.18932513892650604, 0.1656964123249054, -0.07144174724817276, -0.06432346999645233, 0.039832718670368195, -0.010489840060472488, 0.4251787066459656, -0.30723363161087036, -0.024778908118605614, -0.19601555168628693, 0.20297355949878693, 0.34550735354423523, -0.4056863486766815, 0.03884558007121086, 0.2846636176109314, 0.4392174482345581, -0.2668731212615967, 0.2519129514694214, 0.4446490705013275, 0.26689526438713074, 0.22672119736671448, 0.27015262842178345, 0.19560615718364716, 0.38738662004470825, -0.0728936493396759, 0.50137859582901, 0.07772614061832428, -0.33668288588523865, 0.3071148991584778, 0.039510391652584076, 0.007876630872488022, 0.06639596074819565, -0.35297614336013794, -0.13444958627223969, -0.052933111786842346, -0.2525814473628998, 0.005705451592803001, -0.3872385025024414, -0.12980496883392334, -0.11886382102966309, 0.0456988587975502, 0.020769447088241577, 0.02346905507147312, -0.1010621041059494, 0.08788508176803589, -0.3624149262905121, 0.05198761820793152, -0.09093970060348511, 0.2967073619365692, -0.25497373938560486, -0.16724061965942383, 0.08321885764598846, 0.06525693088769913, -0.1223587617278099, 0.11611796915531158, 0.3100716769695282, -0.17127089202404022, 0.5900929570198059, -0.1130366250872612, 0.14326927065849304, -0.1584019660949707, 0.0035557225346565247, 0.27636685967445374, 0.07378987222909927, 0.029241997748613358, 0.09992632269859314, -0.11993187665939331, -0.01762477494776249, 0.10319087654352188, 0.14063163101673126, 0.22115297615528107, -0.2574445903301239, -0.2423105537891388, -0.06658249348402023, 0.024872755631804466, -0.2852171063423157, -0.2778838276863098, -0.28504496812820435, -0.4870515763759613, 0.4352373480796814, -0.13292407989501953, 0.3264070749282837, 0.2614307403564453, -0.26884251832962036, 0.02165570855140686, -0.250019907951355, 0.4506720006465912, -0.0313679575920105, -0.4811142086982727, -0.2633003890514374, -0.3332730233669281, -0.08211453258991241, 0.06598430871963501, -0.036907803267240524, 0.22890733182430267, 0.039764486253261566, -0.03662116825580597, -0.36089372634887695, 0.11981090903282166, 0.34197133779525757, -0.4454509913921356, 0.24811428785324097, 0.5611605644226074, 0.23769986629486084, -0.31692782044410706, 0.04172366112470627, 0.24130773544311523, 0.007040791213512421, 0.18923193216323853, -0.13123002648353577, 0.2929086685180664, 0.24650073051452637, -0.1362980753183365, 0.6997743248939514, -0.4763641059398651, 0.33886680006980896, 0.40281111001968384, -0.06460265815258026, 0.0506817027926445, -0.04229053109884262, -0.2127240002155304, -0.1935737282037735, -0.0738513171672821, -0.28710269927978516, 0.30591511726379395, 0.06546412408351898, 0.15119990706443787, -0.4515683948993683, -0.4254334568977356, -0.3603764474391937, -0.18448705971240997, 0.22406861186027527, 0.21203452348709106, 0.2169083058834076, -0.21364432573318481, -0.23798474669456482, -0.03885680437088013, 0.20652958750724792, 0.029249567538499832, 0.442488431930542, 0.22846275568008423, -0.014885752461850643, 0.34592896699905396, 0.08603749424219131, 0.01100442185997963, 0.023540280759334564, 0.36496761441230774, -0.06658240407705307, 0.0527082197368145, -0.42152854800224304, 0.14494511485099792, -0.1293632537126541, 0.2438906580209732, 0.21679458022117615, 0.12644034624099731, 0.28860872983932495, -0.3901931643486023, 0.20476356148719788, 0.06154917553067207, 0.10137516260147095, 0.0975763127207756, 0.036454033106565475, -0.05698035657405853, -0.2596603035926819, -0.4648258686065674, -0.31584998965263367, -0.16951730847358704, -0.1378936767578125, -0.12631146609783173, -0.2999543845653534, 0.06916582584381104, -0.12122507393360138, 0.07265542447566986, 0.2737886905670166, -0.4011126756668091, 0.09076426178216934, -0.004799745976924896, 0.22662389278411865, 0.14910420775413513, -0.0025185495615005493, -0.12335097789764404, -0.06539090722799301, -0.35437145829200745, -0.2302955985069275, -0.180262953042984, 0.5336742401123047, -0.07446505129337311, 0.42164644598960876, -0.2902508080005646, 0.08162183314561844, -0.06953877955675125, 0.3893333077430725, 0.19626247882843018, 0.27295106649398804, 0.051300738006830215, 0.10261062532663345, 0.017105113714933395, 0.31659331917762756, -0.38227197527885437, -0.03025210089981556, 0.2711634039878845, -0.3480222821235657, 0.11585365980863571, -0.288754403591156, 0.2048720121383667, -0.2503773868083954, -0.18146944046020508, 0.2639855742454529, 0.5515522360801697, -0.01098141260445118, -0.2921901345252991, 0.001592203974723816, 1.0682100057601929, 0.20978552103042603, 0.32182174921035767, 0.5361119508743286, -0.4212237000465393, 0.1803748458623886, -0.7915144562721252, 0.16244186460971832, -0.11491121351718903, 0.6119366884231567, -0.16377106308937073, -0.07555722445249557, -0.18753108382225037, -0.14898689091205597, -0.3306485712528229, 0.19996154308319092, -0.0767350122332573, 0.31248489022254944, 0.09263145178556442, 0.08040615916252136, 0.06642959266901016, -0.11563117802143097, -0.14303383231163025, 0.1715058982372284, -0.1270987093448639, 0.01607905514538288, -0.2852793335914612, -0.3019704818725586, 0.12253075838088989, 0.08654595911502838, 0.2878648042678833, -0.03318757563829422, -0.27883484959602356, 0.17235960066318512, -0.3123700022697449, 0.08892081677913666, -0.21214382350444794, -0.21647104620933533, -0.4393678903579712, -0.21854664385318756, -0.08719984441995621, -0.06366521120071411, 0.022705167531967163, 0.18779194355010986, -0.20539793372154236, 0.06585072726011276, 0.3121567666530609, -0.21180516481399536, -0.1666892021894455, -0.053165026009082794, -0.3023132383823395, 0.03243746608495712, -0.19278894364833832, 0.5509482622146606, 0.21203745901584625, -0.06341055780649185, -0.2927384674549103, -0.08964207768440247, -0.4165401756763458, 0.031126324087381363, 0.19633246958255768, -0.15546922385692596, -0.130848690867424, -0.17262554168701172, -0.034245606511831284, -0.1798325777053833, -0.05206586793065071, 0.19597408175468445, 0.04135965555906296, 0.17479194700717926, 0.05660459026694298, -0.04259278625249863, -0.21841375529766083, -0.3877802789211273, 0.0755961462855339, 0.012742865830659866, -0.23208418488502502, 0.4603477120399475, 0.15675342082977295, -0.24070388078689575, 0.028136754408478737, 0.164950892329216, 0.18859420716762543, 0.012482278048992157, -0.13373902440071106, 0.08756113052368164, -0.2599368095397949, -0.15665534138679504, -0.12622173130512238, -0.04302992299199104, 0.02381075918674469, 0.34725040197372437, 0.16820389032363892, -0.19814752042293549, -0.40532058477401733, -0.03921634703874588, -0.062382228672504425, -0.05656552314758301, 0.08652836829423904, -0.12305886298418045, 0.1631561815738678, 0.1329333782196045, 0.16299720108509064, 0.03234107047319412, -0.22740931808948517, -0.2730947434902191, 0.0035917405039072037, 0.11388476192951202, 0.14082494378089905, -0.03387204557657242, 0.2277536392211914, -0.10040826350450516, -0.20577575266361237, 0.05340694636106491, -0.18381457030773163, 0.005779195576906204, 0.018703103065490723, 0.1054469645023346, 0.2735344171524048, -0.37212449312210083, -0.1016683354973793, 0.2561335563659668, 0.17747703194618225, 0.4125320315361023, -0.5572516918182373, -0.24574023485183716, -0.3822072446346283, -0.22676976025104523, -0.038744524121284485, 0.31880083680152893, 0.34454673528671265, 0.12316861748695374, 0.26929450035095215, 0.38317692279815674, -0.3689706325531006, -0.29812461137771606, 0.3853054940700531, 0.07088349014520645, 0.060689326375722885, 0.14026856422424316, 0.17978829145431519, 0.19756455719470978, -0.08271203935146332, 0.14857511222362518, -0.18466807901859283, -0.16059917211532593, 0.15550759434700012, 0.0224967822432518, -0.1676551103591919, -0.13075581192970276, -0.06436914205551147, 0.03900022432208061, -0.11244072020053864, -0.06730236113071442, -0.24866518378257751, 0.06796103715896606, 0.16671429574489594, 0.15514373779296875, 0.2636124789714813, -0.23011571168899536, 0.5027064681053162, -0.09098869562149048, -0.002077452838420868, 0.3309744894504547, 0.25798937678337097, 0.10777182877063751, 0.1974150538444519, -0.35731613636016846, 0.15901291370391846, -0.14017140865325928, 0.033890366554260254, -0.0033066868782043457, -0.03022434562444687, 0.28627172112464905, 0.14520259201526642, -0.21679890155792236, -0.0326903760433197, 0.553589940071106, -0.07554490864276886, 0.2870722711086273, 0.05239439755678177, -0.20229634642601013, -0.007115662097930908, -0.07313463091850281, 0.2046920657157898, 0.2810424566268921, -0.2970401644706726, 0.24183808267116547, 0.062056638300418854, 0.36703619360923767, -0.6480299830436707, -0.2932136654853821, 0.3991641104221344, -0.2570802569389343, -0.17782436311244965, 0.7497155666351318, -0.2688315510749817, -0.12244716286659241, 0.06010022759437561, 0.18975210189819336, 0.260856568813324, -0.3569340705871582, -0.2951474189758301, -0.012104295194149017, 0.07799415290355682, -0.2297750562429428, 0.11929938197135925, 0.05093551427125931, 0.05179227888584137, 0.05876132473349571, 0.1366695612668991, -0.23501801490783691, 0.21726156771183014, -0.00965605303645134, -0.45161449909210205, -0.16644370555877686, 0.5375917553901672, 0.21037544310092926, -0.12376286089420319, -0.2758103907108307, 0.0676456019282341, -0.6234427690505981, 0.26705846190452576, 0.38846728205680847, 0.10675410181283951, 0.1205427423119545, -0.23074865341186523, 0.15083423256874084, 0.19598066806793213, -0.0036795586347579956, 0.1522546410560608, 0.12046249210834503, -0.14438815414905548, 0.006754197180271149, -0.30823808908462524, 0.07045747339725494, 0.03410563990473747, -0.22850154340267181, -0.046687398105859756, -0.23085734248161316, -0.0021517500281333923, 0.09502577781677246, -0.1247517317533493, -0.18785302340984344, 0.1560252457857132, -0.17560583353042603, -0.2215811163187027, 0.0952945202589035, -0.1544545739889145, -0.05649525672197342, 0.05626698583364487, -0.2109876275062561, -0.08027532696723938, -0.3173082172870636, 0.19993185997009277, -0.011093325912952423, -0.10233187675476074, 0.23434659838676453, 0.12563453614711761, 0.32907211780548096, 0.12214339524507523, 0.04253492131829262, -0.11103508621454239, -0.2473994493484497, 0.16422729194164276, 0.30290308594703674, -0.027785450220108032, -0.0023280158638954163, -0.049235980957746506, -0.04850241541862488, -0.14318688213825226, -0.17981195449829102, -0.47189757227897644, 0.05636107549071312, -0.1905474066734314, 0.4489580988883972, -0.29106414318084717, -0.04997628182172775, 0.011278882622718811, -0.12457740306854248, 0.23289544880390167, 0.48238980770111084, -0.13009481132030487, 0.18720604479312897, -0.49103909730911255, -0.22166314721107483, 0.5676860809326172, -0.07092071324586868, -0.18095210194587708, -0.030027687549591064, 0.3821756839752197, -0.33230075240135193, 0.106582872569561, -0.03580933436751366, -0.16256755590438843, 0.23964641988277435, 0.2014964520931244, -0.1061369776725769, 0.3432399034500122, -0.18728159368038177, -0.1429610550403595, 0.09895777702331543, 0.031616490334272385, 0.20563533902168274, 0.10828228294849396, 0.05719433352351189, -0.03537002205848694 ]
https://github.com/huggingface/datasets/pull/1882
Create Remote Manager
Quick update on this one: we discussed offline with @albertvillanova on this PR and I think using `fsspec` can help a lot, since it already implements many parts of the abstraction we need to have nice download tools for both http and ftp (and others !)
Refactoring to separate the concern of remote (HTTP/FTP requests) management.
46
text: Create Remote Manager Refactoring to separate the concern of remote (HTTP/FTP requests) management. Quick update on this one: we discussed offline with @albertvillanova on this PR and I think using `fsspec` can help a lot, since it already implements many parts of the abstraction we need to have nice download tools for both http and ftp (and others !)
[ 0.03525936231017113, -0.2469421923160553, -0.20012399554252625, -0.18639390170574188, 0.08888032287359238, -0.30270063877105713, -0.013983119279146194, 0.20065341889858246, -0.06266126036643982, 0.12269848585128784, -0.0885181799530983, -0.2304634302854538, 0.11391688138246536, 0.31619149446487427, -0.14447197318077087, -0.22201880812644958, 0.02765113115310669, 0.1738365739583969, -0.2730054259300232, 0.15613597631454468, -0.001701153814792633, -0.120916947722435, 0.08161433041095734, 0.05624699592590332, 0.3485018312931061, -0.1409960687160492, 0.10293810069561005, 0.13651308417320251, -0.49538588523864746, -0.2482612133026123, 0.03119022585451603, 0.11450625956058502, -0.03571959212422371, -0.11855918914079666, -0.00009494481491856277, -0.03163468465209007, 0.13952487707138062, -0.009844964370131493, 0.05265526846051216, 0.0831005871295929, -0.1231050193309784, -0.20991069078445435, 0.2123275101184845, -0.052666351199150085, 0.0782775804400444, -0.18726681172847748, 0.1795709878206253, 0.3380127251148224, 0.28043198585510254, 0.11306220293045044, 0.34803444147109985, 0.10112928599119186, -0.27314335107803345, -0.06141912564635277, -0.05416368693113327, 0.09197607636451721, -0.06487735360860825, 0.07664907723665237, 0.3958946466445923, 0.1207776814699173, -0.329862117767334, -0.03089389018714428, -0.042188145220279694, 0.2862740755081177, 0.3453759253025055, -0.2545453608036041, 0.22117754817008972, -0.3580107092857361, -0.31756195425987244, -0.2426544427871704, 0.36354583501815796, -0.04345469921827316, 0.20876291394233704, 0.09210813790559769, -0.018161840736865997, 0.10621483623981476, 0.16900338232517242, -0.02363886497914791, -0.3758223056793213, 0.16352826356887817, -0.0525631420314312, -0.19527143239974976, -0.19985637068748474, 0.3380972743034363, -0.13220366835594177, 0.1338413655757904, -0.056643031537532806, -0.10206586867570877, 0.19241486489772797, 0.12175574153661728, -0.09266573190689087, 0.022433500736951828, 0.08680610358715057, -0.1537453532218933, 0.1854483038187027, -0.0646883174777031, 0.289976567029953, -0.15054890513420105, 0.028132498264312744, 0.5433405637741089, -0.17070505023002625, -0.021476469933986664, 0.15662391483783722, 0.20288127660751343, 0.11902487277984619, 0.07239583134651184, 0.068509042263031, -0.1331271529197693, 0.45472294092178345, 0.18510402739048004, 0.31080108880996704, 0.06306969374418259, 0.18710124492645264, -0.07291284948587418, -0.4334615170955658, 0.25033244490623474, 0.24341590702533722, 0.058601152151823044, 0.026257799938321114, 0.0013729408383369446, -0.1424303948879242, -0.04388991370797157, -0.12108499556779861, 0.0364646315574646, -0.15364807844161987, 0.3187835216522217, 0.1599559187889099, -0.08751009404659271, -0.032568834722042084, -0.27480024099349976, -0.05388430133461952, 0.08181287348270416, -0.4846798777580261, -0.15143397450447083, -0.051028136163949966, 0.16583698987960815, -0.0755973532795906, 0.19637754559516907, 0.3225909471511841, -0.045112304389476776, 0.18995985388755798, 0.14199650287628174, 0.17133471369743347, 0.3538813591003418, -0.09781788289546967, -0.1750721037387848, 0.04653337597846985, 0.17506489157676697, -0.1511460244655609, -0.02769436687231064, -0.05410335958003998, -0.2735271453857422, -0.13545799255371094, 0.3063742220401764, 0.1403931975364685, -0.09548614919185638, -0.084505595266819, 0.07836459577083588, -0.5995065569877625, -0.008003264665603638, 0.26312971115112305, 0.3839142918586731, 0.24300184845924377, -0.034337662160396576, -0.17509804666042328, 0.22945336997509003, 0.05760041996836662, -0.08032695204019547, -0.1159197986125946, -0.42325079441070557, 0.4994734823703766, 0.11422461271286011, -0.20037175714969635, 0.3090076148509979, -0.08917804062366486, 0.14039276540279388, 0.5113800764083862, -0.1759345829486847, 0.050605401396751404, 0.6969308257102966, -0.2772882580757141, -0.15292666852474213, 0.3131871223449707, -0.10802824795246124, 0.2932361960411072, -0.22433319687843323, -0.18854382634162903, 0.40892934799194336, -0.22405210137367249, 0.17609326541423798, 0.04019596055150032, -0.3492358922958374, -0.3842124342918396, -0.14562083780765533, 0.13758611679077148, 0.25598278641700745, 0.23181253671646118, -0.4387288987636566, 0.04983498528599739, 0.06549007445573807, 0.20254231989383698, -0.040670767426490784, 0.2824835181236267, 0.31308290362358093, -0.22930599749088287, -0.14815105497837067, -0.18729963898658752, -0.16733834147453308, -0.26620399951934814, 0.2939869165420532, 0.14294317364692688, -0.16183769702911377, -0.3371944725513458, -0.24266934394836426, 0.07453332841396332, -0.06889671087265015, 0.3032393753528595, 0.01167266070842743, -0.2483811229467392, -0.08881857991218567, -0.06135439872741699, 0.09372422099113464, 0.02094426192343235, 0.07630439847707748, 0.3761199116706848, -0.1525856852531433, -0.36211931705474854, 0.19052140414714813, -0.07988277077674866, -0.20316815376281738, 0.09182510524988174, 0.03102201782166958, 0.11771722137928009, 0.27672600746154785, -0.103523850440979, -0.03067454695701599, 0.43974682688713074, 0.2369726300239563, 0.1160961389541626, 0.12206560373306274, -0.11616290360689163, 0.2076222449541092, -0.03142384812235832, 0.0734785869717598, 0.041532471776008606, 0.037468262016773224, 0.1347842961549759, 0.07476893067359924, -0.010015442967414856, 0.1580338329076767, 0.15988853573799133, -0.07217773795127869, -0.03192119300365448, 0.07957865297794342, 0.04790085554122925, 0.20467817783355713, -0.26585379242897034, 0.1187579482793808, -0.1792895644903183, 0.2516758441925049, 0.07459534704685211, -0.24217210710048676, 0.0525047592818737, 0.3762724697589874, 0.3092332184314728, -0.18254482746124268, 0.05630367994308472, 0.5253517031669617, 0.11404822021722794, 0.297609806060791, 0.12151028215885162, 0.2499852180480957, 0.3635280430316925, -0.13993901014328003, 0.3743526339530945, 0.04666035622358322, -0.32741379737854004, 0.12116392701864243, -0.26556628942489624, 0.0015073781833052635, 0.0903138592839241, -0.2845219373703003, 0.0783160999417305, 0.1551467925310135, -0.1635485738515854, -0.13357780873775482, -0.37283265590667725, -0.4980267882347107, 0.07228512316942215, 0.2903043031692505, -0.24091953039169312, -0.1743156760931015, 0.05854138359427452, 0.08845126628875732, -0.4101984202861786, 0.1645519733428955, -0.2405177652835846, 0.3795356750488281, -0.345551073551178, 0.1410938799381256, -0.10507003962993622, -0.06332985311746597, -0.1310882270336151, 0.24229270219802856, 0.23072347044944763, -0.1039663702249527, 0.618736207485199, -0.08899345248937607, 0.04418640211224556, -0.3406660556793213, -0.16563516855239868, 0.2875517010688782, 0.22195447981357574, -0.15275824069976807, 0.21465229988098145, -0.05105265974998474, -0.07282660901546478, -0.10704076290130615, -0.02859165333211422, -0.009896817617118359, -0.35169291496276855, -0.2153005599975586, -0.13611473143100739, 0.19153790175914764, -0.2841365933418274, -0.3292982578277588, -0.21190369129180908, -0.5915286540985107, 0.3635135889053345, -0.4441298246383667, 0.1561456173658371, 0.09932473301887512, -0.2020445466041565, -0.19642595946788788, -0.3658297657966614, 0.26330819725990295, -0.16620345413684845, -0.3484012186527252, -0.07875336706638336, -0.27125269174575806, 0.03137388080358505, 0.07061879336833954, 0.20278960466384888, -0.2080889642238617, 0.06898890435695648, -0.14630559086799622, -0.3854248821735382, 0.15996608138084412, 0.2507089078426361, -0.3168809115886688, 0.2678908705711365, 0.38475000858306885, 0.12582485377788544, -0.3921501338481903, 0.07537125051021576, 0.12039358913898468, -0.06473767012357712, 0.09323839843273163, -0.0680202767252922, -0.03490806743502617, 0.08351199328899384, -0.06500021368265152, 0.6696150898933411, -0.4748215973377228, 0.35434985160827637, 0.21828337013721466, 0.12743458151817322, 0.004713237285614014, 0.23237678408622742, -0.06087993085384369, 0.07257281243801117, -0.14253664016723633, -0.09471278637647629, 0.16962958872318268, 0.004365230910480022, 0.10079958289861679, -0.283506840467453, -0.14928960800170898, -0.2966751754283905, -0.2415289282798767, 0.27473968267440796, 0.05722494423389435, 0.23445433378219604, -0.1346631646156311, -0.30259859561920166, 0.03975418210029602, 0.26662832498550415, 0.10985313355922699, 0.37508463859558105, -0.0792613998055458, 0.08632674813270569, 0.21038644015789032, 0.24510256946086884, -0.05400087684392929, 0.059158507734537125, 0.31359773874282837, -0.16993939876556396, -0.07688078284263611, -0.2558935880661011, 0.12681351602077484, 0.04668767377734184, 0.14197713136672974, 0.12921103835105896, -0.2903856635093689, -0.023455170914530754, -0.03618603199720383, 0.2905064821243286, -0.010540135204792023, 0.10194267332553864, -0.018759509548544884, 0.30077287554740906, -0.2732027769088745, -0.3993835151195526, -0.4382414221763611, -0.02879370003938675, -0.2520352900028229, -0.09387211501598358, -0.13846933841705322, -0.18682056665420532, -0.10581721365451813, -0.2547209560871124, 0.10342559963464737, 0.3833082616329193, -0.537699282169342, 0.1306539922952652, 0.1147083193063736, 0.2353297919034958, 0.1834416389465332, 0.026851244270801544, -0.06954623013734818, -0.2219545543193817, -0.2727116346359253, -0.2354830950498581, -0.13257382810115814, 0.31769174337387085, 0.08462057262659073, 0.27192723751068115, -0.11400732398033142, -0.11402855813503265, 0.14241105318069458, 0.15239302814006805, 0.1919354647397995, 0.12592872977256775, 0.2715498208999634, 0.12235480546951294, 0.10178709030151367, 0.33925551176071167, -0.22394512593746185, 0.03452861309051514, 0.10075754672288895, -0.3336917757987976, 0.29199716448783875, -0.16626690328121185, 0.1740010678768158, -0.16624753177165985, -0.2444102168083191, 0.3233577609062195, 0.4699016809463501, 0.04704974591732025, -0.3723258972167969, 0.041106175631284714, 0.9763585329055786, 0.1516123116016388, 0.2010469138622284, 0.06094064936041832, -0.5585435628890991, 0.37570351362228394, -0.7070222496986389, 0.2230987399816513, -0.06935004144906998, 0.3869370222091675, -0.12950247526168823, -0.10667787492275238, 0.004292737692594528, -0.12035176157951355, -0.3421694040298462, 0.1432441622018814, -0.07247864454984665, 0.17004403471946716, 0.1908782720565796, 0.06647049635648727, -0.17685969173908234, -0.1926230937242508, 0.0283474363386631, 0.27111825346946716, -0.31689298152923584, 0.12544336915016174, -0.22816681861877441, -0.19239643216133118, 0.09281060099601746, 0.10742907226085663, 0.001520894467830658, -0.1149013340473175, -0.07592786103487015, 0.16380971670150757, -0.1594732105731964, 0.4006156921386719, -0.026706954464316368, -0.35070013999938965, -0.27088308334350586, -0.22142665088176727, -0.1502961963415146, 0.0270365122705698, -0.0498313382267952, 0.09665039926767349, -0.08126001805067062, -0.09760389477014542, 0.13580942153930664, -0.38673537969589233, -0.23935699462890625, -0.1822194755077362, -0.20635104179382324, -0.14737620949745178, -0.1398318111896515, 0.24781523644924164, 0.16416050493717194, 0.0074237496592104435, 0.017763374373316765, 0.05974685400724411, -0.16254232823848724, 0.05828363075852394, 0.23229137063026428, 0.08759418874979019, -0.19246597588062286, 0.11438986659049988, -0.015332382172346115, -0.06412854045629501, -0.15823198854923248, 0.08332177996635437, -0.00982099398970604, -0.28792813420295715, -0.08245237916707993, -0.1997528076171875, -0.34172314405441284, -0.40887778997421265, 0.0049160197377204895, -0.06680700927972794, -0.20823559165000916, 0.2170819789171219, -0.1086045354604721, -0.4191707968711853, -0.14311781525611877, 0.29983410239219666, 0.2762575149536133, 0.003602460026741028, -0.04681786894798279, 0.16952775418758392, -0.27744412422180176, -0.10307414829730988, -0.09272144734859467, -0.08151435852050781, -0.041145261377096176, 0.3637528419494629, 0.3251041769981384, -0.1658063530921936, -0.45593029260635376, -0.016109107062220573, -0.11593157798051834, 0.08983556926250458, 0.1295064389705658, -0.29943713545799255, 0.12253722548484802, 0.06934879720211029, 0.17834000289440155, -0.026765592396259308, -0.14887192845344543, -0.33538466691970825, -0.06746245175600052, 0.05788122117519379, 0.03968846797943115, 0.04804091900587082, 0.2780003249645233, 0.020736947655677795, -0.2007317692041397, 0.3454393446445465, -0.004975169897079468, 0.06232587248086929, 0.07380276918411255, -0.011889125220477581, 0.019875340163707733, -0.11742281168699265, -0.08151031285524368, 0.0390101782977581, 0.1635138839483261, 0.5389022827148438, -0.32807978987693787, -0.01090412586927414, -0.1919509470462799, -0.21977640688419342, -0.09068083763122559, 0.2920991778373718, 0.4378930926322937, 0.24327006936073303, 0.17439857125282288, 0.3809645175933838, -0.29486382007598877, -0.06567531824111938, 0.25934094190597534, 0.3081825375556946, 0.17115814983844757, -0.1312359869480133, 0.32547175884246826, 0.35826051235198975, -0.027406495064496994, 0.12022742629051208, -0.1445513367652893, -0.19761234521865845, -0.014992836862802505, -0.12979871034622192, 0.06476275622844696, 0.013043113052845001, 0.1248680055141449, 0.03378331661224365, -0.2015504688024521, 0.1409153789281845, 0.05091305822134018, -0.12026391923427582, 0.013222310692071915, 0.10402009636163712, 0.23585477471351624, -0.2375926971435547, 0.2903601825237274, -0.3487509489059448, 0.08295132219791412, 0.35494640469551086, 0.036983005702495575, 0.17154018580913544, 0.14165383577346802, -0.27592578530311584, 0.287225604057312, -0.1988047957420349, 0.09653465449810028, 0.037442825734615326, 0.12832413613796234, 0.09949751198291779, 0.00307538453489542, -0.3715240955352783, -0.045968689024448395, 0.3199728727340698, 0.044672463089227676, 0.27673250436782837, -0.06481234729290009, -0.07434068620204926, -0.06273405253887177, 0.016268283128738403, 0.23273763060569763, 0.11998619139194489, 0.3405797779560089, 0.20413124561309814, -0.004317633807659149, 0.059105284512043, -0.554471492767334, -0.21136066317558289, 0.4556976556777954, -0.17266014218330383, -0.366407573223114, 0.4194469451904297, -0.3887602686882019, -0.015755824744701385, 0.262905091047287, 0.2027713507413864, 0.035987626761198044, -0.12742990255355835, -0.33707982301712036, 0.0721454992890358, 0.11244185268878937, -0.3248922526836395, 0.008225861936807632, 0.21777674555778503, 0.2988414168357849, -0.03239414468407631, 0.23431335389614105, -0.289741188287735, 0.20938651263713837, -0.13300633430480957, -0.612738847732544, 0.02467992901802063, 0.4128921926021576, 0.41777127981185913, 0.0993812158703804, -0.13370811939239502, 0.23510271310806274, -0.5508387684822083, 0.23098689317703247, 0.37892499566078186, -0.16425539553165436, -0.0485972985625267, -0.36385205388069153, 0.17172463238239288, 0.4358748495578766, 0.278232604265213, 0.21165630221366882, 0.18855425715446472, -0.15568415820598602, -0.08174449950456619, -0.13270562887191772, 0.09152461588382721, 0.009154494851827621, -0.02495373599231243, -0.04256746917963028, 0.04288201034069061, 0.08034150302410126, 0.17685474455356598, 0.011204391717910767, -0.08621247112751007, 0.0363837368786335, 0.06175242364406586, -0.12093698978424072, 0.2892286777496338, 0.1260414570569992, 0.002497781068086624, 0.0870368704199791, -0.2179599404335022, 0.022960536181926727, 0.006583797745406628, 0.27355101704597473, -0.1314971148967743, -0.11518795043230057, 0.36172914505004883, -0.15483030676841736, 0.37203821539878845, 0.1154862493276596, 0.06944181770086288, -0.1285364031791687, -0.5796032547950745, 0.2711254358291626, 0.2131495624780655, -0.051710404455661774, -0.13996443152427673, -0.02906126156449318, -0.15825077891349792, -0.23485173285007477, 0.07271929830312729, -0.44995543360710144, 0.19195477664470673, -0.046078264713287354, 0.4872380793094635, -0.3436267077922821, -0.03132195025682449, 0.055670276284217834, -0.12147494405508041, 0.043263308703899384, 0.28968194127082825, -0.08331617712974548, -0.03985702991485596, -0.538296639919281, -0.04198021441698074, 0.23907361924648285, 0.22775955498218536, -0.17743544280529022, -0.11426105350255966, 0.30699098110198975, -0.1089153066277504, 0.3701142966747284, -0.30163344740867615, 0.023788176476955414, 0.10234542936086655, 0.050145313143730164, -0.04695305973291397, 0.40416666865348816, -0.08089253306388855, -0.30096426606178284, -0.04977937042713165, 0.042456261813640594, 0.0634777843952179, -0.041754670441150665, 0.029826369136571884, -0.10142922401428223 ]
https://github.com/huggingface/datasets/pull/1879
Replace flatten_nested
Hi @lhoestq. If you agree to merge this, I will start separating the logic for NestedDataStructure.map ;)
Replace `flatten_nested` with `NestedDataStructure.flatten`. This is a first step towards having all NestedDataStructure logic as a separated concern, independent of the caller/user of the data structure. Eventually, all checks (whether the underlying data is list, dict, etc.) will be only inside this class. I have also generalized the flattening, and now it handles multiple levels of nesting.
17
text: Replace flatten_nested Replace `flatten_nested` with `NestedDataStructure.flatten`. This is a first step towards having all NestedDataStructure logic as a separated concern, independent of the caller/user of the data structure. Eventually, all checks (whether the underlying data is list, dict, etc.) will be only inside this class. I have also generalized the flattening, and now it handles multiple levels of nesting. Hi @lhoestq. If you agree to merge this, I will start separating the logic for NestedDataStructure.map ;)
[ -0.1461460292339325, -0.156736359000206, -0.22507810592651367, 0.1170819103717804, 0.11583004146814346, -0.10424452275037766, 0.17694129049777985, 0.3699338138103485, 0.09741471707820892, 0.08114765584468842, -0.17065714299678802, 0.3690609931945801, 0.20605945587158203, 0.25352856516838074, -0.21795286238193512, 0.13119933009147644, 0.09270425140857697, 0.13447001576423645, 0.16335910558700562, -0.0068605877459049225, -0.27935200929641724, 0.2304067313671112, 0.0014235526323318481, 0.16299518942832947, 0.28020137548446655, -0.2173946648836136, -0.054505277425050735, 0.30025917291641235, -0.2654096484184265, -0.15019239485263824, 0.4765317440032959, 0.3879703879356384, -0.4339525103569031, 0.047632910311222076, -0.0000947241424000822, 0.18996040523052216, 0.27328574657440186, 0.11402106285095215, -0.11731681227684021, 0.393937349319458, 0.015328146517276764, -0.1410514861345291, 0.07663251459598541, -0.27068066596984863, -0.06343585252761841, 0.08742702752351761, -0.09369820356369019, -0.023120161145925522, 0.4507738947868347, -0.2345546931028366, 0.3267679214477539, -0.19406276941299438, 0.21504579484462738, 0.11531008034944534, 0.06343010067939758, -0.01605367660522461, 0.1463519036769867, 0.21841979026794434, 0.24757035076618195, -0.039879463613033295, -0.07752380520105362, 0.07225804030895233, -0.2911463975906372, -0.2126532644033432, -0.044303640723228455, -0.17637942731380463, 0.28181710839271545, -0.2369077205657959, -0.18238309025764465, 0.07431889325380325, 0.16597923636436462, -0.24725443124771118, -0.007945088669657707, -0.13883116841316223, 0.013331600464880466, -0.23525093495845795, 0.020830050110816956, -0.11834272742271423, -0.10660457611083984, 0.2854771912097931, 0.29517126083374023, -0.3477279543876648, -0.04935044050216675, 0.1038927435874939, -0.12420781701803207, 0.13777942955493927, -0.09205428510904312, -0.05394606292247772, 0.15141023695468903, 0.0000903010368347168, 0.17726901173591614, -0.11898010969161987, -0.12297099828720093, -0.0619548000395298, -0.1509295105934143, -0.3440445363521576, 0.049195609986782074, -0.2590256929397583, 0.10353196412324905, 0.04895205795764923, 0.232834130525589, 0.4594988226890564, 0.0489523820579052, 0.22374439239501953, 0.1473499983549118, -0.01396606583148241, 0.07643171399831772, -0.05119279772043228, 0.1548633873462677, 0.25099045038223267, 0.08507579565048218, 0.09043577313423157, -0.007575138472020626, 0.09443975239992142, -0.32679250836372375, 0.23769131302833557, 0.45240318775177, 0.0214671827852726, -0.22081716358661652, -0.06297862529754639, -0.14988288283348083, -0.04685521498322487, 0.33624890446662903, 0.11345741152763367, 0.23899252712726593, 0.29486945271492004, 0.18087567389011383, -0.08338495343923569, -0.16335347294807434, -0.01051690150052309, -0.21472182869911194, -0.05713118985295296, -0.07892289012670517, 0.04812950640916824, -0.11353249847888947, 0.08818982541561127, -0.1571415513753891, 0.32168498635292053, 0.03131452947854996, -0.09888266026973724, 0.11018361151218414, -0.17637529969215393, 0.2798238694667816, -0.007870186120271683, -0.5196080803871155, -0.16317646205425262, 0.3388192653656006, -0.012478046119213104, -0.03820830583572388, -0.01976606994867325, -0.35750287771224976, -0.2717932462692261, -0.004649171605706215, 0.33590078353881836, 0.0362795852124691, 0.1747034341096878, 0.2451499104499817, 0.23642240464687347, 0.08819343894720078, -0.36205190420150757, 0.09800161421298981, 0.15820787847042084, -0.20935723185539246, -0.19122566282749176, 0.03278088569641113, 0.05251409113407135, -0.2592809796333313, 0.12215517461299896, -0.5558547377586365, -0.18747921288013458, -0.007015153765678406, 0.06351004540920258, -0.25717172026634216, 0.3986060619354248, -0.20141226053237915, 0.062083810567855835, -0.09368736296892166, 0.01948116347193718, -0.3641186058521271, 0.03062007948756218, -0.07815296202898026, 0.19296087324619293, -0.13552731275558472, -0.05559420958161354, -0.012032736092805862, -0.2711217701435089, 0.05670742690563202, 0.04382975026965141, 0.17153611779212952, -0.1641339659690857, -0.18968698382377625, -0.024354372173547745, 0.01879938691854477, -0.2726666033267975, -0.3438672125339508, 0.1720563769340515, -0.22784659266471863, 0.1564331352710724, 0.10528130829334259, -0.34134986996650696, -0.05937165766954422, 0.16612587869167328, 0.4719948172569275, -0.2742512822151184, -0.20620840787887573, -0.10309748351573944, -0.571685254573822, -0.06750012189149857, -0.3780081570148468, -0.13578297197818756, -0.1637657731771469, -0.355225145816803, -0.021477248519659042, 0.22680826485157013, -0.06739124655723572, -0.006590858101844788, 0.43719980120658875, 0.05438193678855896, -0.18951503932476044, -0.404217004776001, -0.25370854139328003, -0.35299041867256165, -0.20960423350334167, 0.14851035177707672, 0.0790504664182663, 0.06163427233695984, -0.07826949656009674, 0.19573989510536194, -0.020155102014541626, 0.17205455899238586, -0.07607390731573105, -0.18196752667427063, 0.05102769285440445, 0.40293607115745544, 0.2817853093147278, -0.40318018198013306, -0.14328086376190186, 0.0020264238119125366, 0.01872100494801998, 0.06865642964839935, -0.14638355374336243, 0.08321147412061691, 0.004787122830748558, -0.19260600209236145, 0.08994866162538528, 0.3917827010154724, 0.22609832882881165, 0.17503929138183594, -0.06237667798995972, 0.010159056633710861, -0.16248953342437744, -0.07741521298885345, 0.016838056966662407, -0.3387109637260437, -0.2573179006576538, 0.16795584559440613, 0.0362083800137043, 0.12053340673446655, -0.0971871092915535, 0.3102265000343323, 0.39847028255462646, -0.06721159815788269, 0.2169707715511322, 0.06372338533401489, 0.36471569538116455, -0.13568449020385742, -0.019921312108635902, 0.004669938236474991, 0.17890647053718567, 0.16216754913330078, 0.1762070506811142, 0.12233932316303253, 0.2596133053302765, 0.009250868111848831, 0.33419719338417053, 0.2124360054731369, 0.19809666275978088, -0.0605340376496315, -0.08590978384017944, -0.11270029097795486, -0.2886836528778076, -0.27406907081604004, -0.06262491643428802, 0.020023204386234283, -0.019755303859710693, 0.047612957656383514, -0.12416888028383255, -0.18160086870193481, 0.11946311593055725, -0.17858459055423737, -0.19651806354522705, -0.27621421217918396, 0.10660393536090851, 0.1240914911031723, -0.526842474937439, 0.1447874754667282, 0.3180081248283386, 0.48245203495025635, 0.07666847109794617, -0.04753512889146805, -0.23848213255405426, -0.18683044612407684, 0.006323952227830887, 0.2714575231075287, 0.35792621970176697, -0.14568382501602173, -0.015295995399355888, 0.25356560945510864, 0.011317204684019089, 0.1299438774585724, -0.4746386706829071, 0.16957557201385498, -0.2903066873550415, -0.25252479314804077, 0.33435022830963135, 0.3902246356010437, -0.024172525852918625, -0.2319585233926773, -0.0023094937205314636, 0.050172291696071625, -0.3845551013946533, -0.04602210968732834, 0.23842650651931763, 0.09997960180044174, -0.2652873992919922, 0.029235314577817917, -0.05192851275205612, -0.48592129349708557, 0.24240157008171082, -0.16807402670383453, 0.3793730139732361, -0.0449957437813282, -0.16365976631641388, 0.1859418898820877, -0.023687370121479034, 0.185585156083107, -0.16434124112129211, -0.07579641789197922, -0.2175453156232834, -0.07425986975431442, 0.022131986916065216, -0.28682827949523926, -0.15231767296791077, 0.37404918670654297, -0.3759426474571228, -0.13064387440681458, -0.40642258524894714, -0.027482056990265846, -0.1361674964427948, 0.023896098136901855, -0.22714124619960785, 0.21510463953018188, 0.4087676405906677, -0.28590714931488037, 0.005742710083723068, 0.03290770575404167, 0.06643825024366379, -0.007361080497503281, -0.14942234754562378, -0.08487866073846817, -0.21880590915679932, 0.01307310163974762, 0.22197380661964417, 0.35144415497779846, 0.1189335286617279, -0.0942690372467041, 0.2843409478664398, 0.19453929364681244, -0.15263152122497559, -0.16343115270137787, -0.2840850055217743, 0.005085602402687073, -0.14397194981575012, 0.26186829805374146, -0.26496461033821106, -0.24029891192913055, 0.06624279916286469, -0.141351118683815, 0.16474226117134094, -0.46423712372779846, 0.22273418307304382, -0.09200632572174072, 0.11952349543571472, -0.2321227341890335, -0.12565653026103973, 0.02444804087281227, 0.13177195191383362, 0.3043391704559326, -0.08270815014839172, 0.06216590479016304, -0.245650514960289, -0.3907686769962311, -0.3269397020339966, 0.0077523887157440186, 0.42254215478897095, -0.038366932421922684, 0.017188187688589096, -0.02042952924966812, -0.4343946874141693, -0.06167773902416229, -0.0536324679851532, 0.3068771958351135, -0.08634202927350998, -0.24181069433689117, 0.19631898403167725, 0.041661567986011505, -0.06909403949975967, 0.06736978888511658, -0.10208268463611603, 0.17909763753414154, 0.21518968045711517, 0.41949883103370667, -0.5304749011993408, -0.3164908289909363, -0.06165944039821625, -0.05313778668642044, -0.07243376970291138, 0.029072802513837814, 0.02530767396092415, -0.21103686094284058, -0.13727200031280518, 0.3271869421005249, 0.2574354112148285, 0.1872786432504654, 0.04797591269016266, -0.131400927901268, -0.012351678684353828, -0.10127492249011993, 0.042476266622543335, 0.001462852582335472, 0.26357895135879517, -0.2021268606185913, -0.21466194093227386, -0.04031291604042053, 0.2183297872543335, 0.1373593807220459, 0.6549589037895203, -0.12361167371273041, 0.09536872804164886, -0.08886534720659256, 0.27670741081237793, 0.24530500173568726, 0.3246626853942871, 0.13942469656467438, 0.2619384229183197, -0.10277187079191208, 0.0617634616792202, -0.30370035767555237, -0.25432825088500977, -0.10181497782468796, 0.21221941709518433, -0.16640841960906982, -0.13079877197742462, 0.04265929386019707, -0.04972514137625694, -0.3210856020450592, 0.18280865252017975, -0.09642477333545685, -0.3024863302707672, 0.47012317180633545, 0.3571392595767975, 0.913711667060852, 0.15060360729694366, 0.04549528658390045, 0.10399991273880005, 0.14181508123874664, -0.04282866045832634, -0.1867973357439041, 0.11872084438800812, -0.2415265440940857, -0.11588689684867859, -0.048332154750823975, -0.003124389797449112, 0.13958348333835602, 0.06765028834342957, -0.42595136165618896, -0.1375020146369934, -0.09094298630952835, 0.33383044600486755, 0.016215860843658447, 0.23857417702674866, 0.1419203132390976, -0.04331764578819275, 0.09905614703893661, 0.30255311727523804, -0.014178961515426636, -0.1803145557641983, -0.1205432265996933, -0.20045076310634613, 0.023624878376722336, -0.11205064505338669, 0.16520120203495026, 0.08362321555614471, -0.30059221386909485, 0.308372437953949, -0.11494962871074677, 0.05607210099697113, 0.18177413940429688, 0.06781264394521713, -0.06605584919452667, 0.17989666759967804, 0.13064658641815186, -0.0984668880701065, 0.2686998248100281, 0.16580556333065033, -0.10008218884468079, -0.20942264795303345, 0.2267833650112152, -0.0165611170232296, 0.03495144098997116, -0.1236320361495018, -0.0658673644065857, -0.013985913246870041, -0.109514981508255, 0.11212965846061707, 0.01474093645811081, -0.3947824239730835, 0.042417868971824646, 0.24231205880641937, -0.13744357228279114, -0.1363276094198227, 0.2717844247817993, 0.039786145091056824, -0.16935937106609344, 0.016554728150367737, 0.010682821273803711, -0.17150864005088806, 0.2689087688922882, 0.012019194662570953, 0.22960373759269714, 0.27230948209762573, 0.2666777968406677, -0.22348330914974213, -0.07990631461143494, -0.4885237514972687, -0.06775306165218353, -0.06793275475502014, 0.1436927616596222, 0.49972403049468994, -0.10120609402656555, -0.1936553567647934, 0.013111277483403683, -0.0179218091070652, 0.07804752886295319, 0.2806282341480255, -0.48639869689941406, -0.08136435598134995, -0.27427539229393005, 0.2887614369392395, -0.024912212044000626, 0.4547855257987976, -0.2798674404621124, 0.07946822047233582, -0.1513325572013855, 0.11621520668268204, -0.5162763595581055, -0.11832049489021301, -0.18411298096179962, -0.06155017018318176, 0.05566216632723808, -0.22964879870414734, 0.18711593747138977, -0.030446626245975494, 0.26078203320503235, 0.038351841270923615, -0.2093772143125534, -0.3791053295135498, 0.2774340510368347, 0.07868102937936783, -0.07745172083377838, 0.31825166940689087, 0.19779124855995178, 0.06516790390014648, 0.04579220339655876, -0.09278666228055954, 0.016816824674606323, -0.6271052360534668, 0.07546684145927429, 0.34615105390548706, -0.08507241308689117, 0.13208116590976715, -0.01491534523665905, -0.12758737802505493, -0.0021143779158592224, -0.01567479968070984, -0.2573929727077484, 0.07307790219783783, -0.26004669070243835, -0.26639074087142944, 0.5520904660224915, 0.4148256182670593, 0.041818052530288696, 0.06638585776090622, 0.25335386395454407, 0.4104349613189697, -0.34711965918540955, -0.061125367879867554, 0.1603802889585495, 0.23173436522483826, -0.15813645720481873, -0.009600048884749413, -0.1250743865966797, 0.3782544732093811, -0.10444704443216324, 0.10642838478088379, 0.5361075401306152, -0.18775300681591034, 0.18901266157627106, 0.24251757562160492, 0.1995747685432434, -0.06767890602350235, 0.02986571192741394, -0.006223250180482864, 0.07297858595848083, 0.05986786633729935, 0.4559391140937805, 0.3473450541496277, -0.21720130741596222, -0.13017046451568604, 0.5037053227424622, -0.02814563736319542, 0.3656998574733734, 0.33537018299102783, 0.23280993103981018, 0.09224912524223328, 0.13352124392986298, 0.09579344093799591, 0.5440969467163086, -0.007644683122634888, 0.3370046317577362, 0.18622329831123352, 0.25619491934776306, 0.01350373774766922, 0.12955372035503387, 0.16916942596435547, -0.07667973637580872, -0.4150431454181671, 0.05734209716320038, 0.2989230155944824, -0.3660423457622528, 0.013512210920453072, -0.31943634152412415, -0.012591712176799774, 0.20440110564231873, -0.42929932475090027, 0.11496755480766296, -0.22337384521961212, 0.1872766613960266, -0.07380209863185883, 0.1876395344734192, 0.17899537086486816, -0.08634960651397705, 0.12996384501457214, 0.3243121802806854, -0.20423611998558044, 0.12082721292972565, 0.2706933617591858, -0.05891445279121399, -0.040610458701848984, 0.36970722675323486, 0.12259390950202942, 0.002125948667526245, -0.3427470922470093, 0.04595715552568436, -0.05380362644791603, -0.1906282901763916, -0.2661990523338318, 0.004588458687067032, -0.04917813837528229, 0.10228332877159119, 0.3108169436454773, 0.2731025516986847, -0.2316085547208786, -0.16499313712120056, 0.08546300232410431, 0.09240493178367615, 0.2042788863182068, 0.3121200203895569, 0.25089597702026367, -0.26049575209617615, -0.08587000519037247, -0.03961653262376785, -0.21234992146492004, -0.4782012104988098, 0.5046777129173279, -0.130953848361969, 0.1334153115749359, -0.03673235699534416, 0.1940470039844513, 0.28759440779685974, 0.385653555393219, -0.06132559850811958, -0.23955655097961426, -0.08884749561548233, -0.13484331965446472, -0.08642347902059555, 0.18182767927646637, 0.07119423151016235, -0.12050129473209381, 0.14159488677978516, -0.07864473015069962, 0.24992084503173828, 0.17648763954639435, -0.016349509358406067, -0.4815756678581238, -0.34387174248695374, -0.07701751589775085, -0.4267147183418274, 0.41450247168540955, 0.11988198757171631, -0.2534683346748352, 0.24396541714668274, -0.0915437787771225, 0.13771480321884155, 0.16882511973381042, 0.255378782749176, 0.11537180840969086, 0.09053242206573486, -0.047255195677280426, -0.4044845402240753, 0.1099134087562561, 0.29240837693214417, -0.09524720907211304, -0.1389794498682022, 0.01953067071735859, 0.21563094854354858, -0.07879374921321869, -0.1997913420200348, 0.5158718824386597, 0.30280202627182007, 0.1289808750152588, -0.08653358370065689, -0.1145903468132019, -0.1561737060546875, -0.13369204103946686, 0.11769574880599976, -0.006821310147643089, -0.38283371925354004, 0.2006218433380127, 0.012851767241954803, 0.09045038372278214, -0.1795988529920578, 0.30392059683799744, 0.02138417959213257, 0.01023409515619278, -0.2850889563560486, -0.34318578243255615, 0.34071919322013855, 0.08341032266616821, -0.39627906680107117, 0.42084801197052, 0.3634694516658783, -0.24697229266166687, -0.04077375680208206, -0.1775684654712677, -0.19384917616844177, 0.16628269851207733, -0.34360742568969727, -0.4045409560203552, 0.2609550356864929, -0.07237783074378967, -0.04109054431319237, -0.20411689579486847, 0.2605099081993103, 0.11435956507921219, -0.2115078717470169, -0.13663379848003387, -0.2677990198135376 ]
https://github.com/huggingface/datasets/pull/1878
Add LJ Speech dataset
Hey @anton-l, Thanks a lot for the very clean integration! 1) I think we should now start having "automatic-speech-recognition" as a label in the dataset tagger (@yjernite is it easy to add?). But we can surely add this dataset with the tag you've added and then later change the label to `asr` 2) That's perfect! Yeah good question - we're currently thinking about a better design with @lhoestq 3) Again tagging @yjernite & @lhoestq here - guess we should add this license though!
This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review
83
text: Add LJ Speech dataset This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review Hey @anton-l, Thanks a lot for the very clean integration! 1) I think we should now start having "automatic-speech-recognition" as a label in the dataset tagger (@yjernite is it easy to add?). But we can surely add this dataset with the tag you've added and then later change the label to `asr` 2) That's perfect! Yeah good question - we're currently thinking about a better design with @lhoestq 3) Again tagging @yjernite & @lhoestq here - guess we should add this license though!
[ -0.047768257558345795, 0.08434247970581055, -0.03224530816078186, 0.08976604789495468, -0.02011028677225113, -0.06036854907870293, 0.09919392317533493, 0.165683776140213, 0.07787968218326569, -0.1570003479719162, -0.1756131947040558, 0.2985849976539612, -0.37683263421058655, 0.005114270374178886, -0.027738168835639954, -0.281256765127182, -0.00863848626613617, -0.04365193843841553, 0.32620054483413696, -0.29049748182296753, -0.05028292536735535, 0.22597484290599823, -0.012597605586051941, -0.1478668600320816, -0.018984058871865273, 0.010566435754299164, -0.0007735583931207657, -0.1259404718875885, -0.42994755506515503, -0.47129490971565247, -0.353471964597702, 0.24773579835891724, 0.33581146597862244, 0.5430962443351746, -0.00010681814455892891, -0.38593941926956177, 0.29100465774536133, -0.04821255803108215, -0.47383084893226624, -0.17819900810718536, -0.25438743829727173, -0.02418629080057144, -0.24930593371391296, 0.21036988496780396, -0.15950068831443787, -0.31957146525382996, 0.25469091534614563, -0.10212965309619904, 0.14490723609924316, 0.24067318439483643, 0.20180056989192963, -0.4630239009857178, 0.19010387361049652, -0.013073763810098171, 0.4864756762981415, 0.1859312206506729, 0.06528836488723755, 0.15331584215164185, 0.4393382966518402, 0.34896084666252136, -0.15129053592681885, 0.27668389678001404, -0.056155815720558167, -0.25141966342926025, 0.37627583742141724, -0.1877368688583374, -0.15651428699493408, -0.3502132296562195, -0.05254622548818588, 0.3036559224128723, 0.9535712599754333, -0.3655116558074951, -0.14205551147460938, -0.2421700656414032, 0.09488608688116074, -0.4086002707481384, -0.004452727735042572, 0.18860186636447906, -0.09846273064613342, 0.18865589797496796, 0.17114678025245667, -0.41954320669174194, -0.2818804383277893, 0.15780135989189148, 0.09075300395488739, 0.5945116281509399, -0.04547804966568947, -0.0716739073395729, -0.004528902471065521, -0.07329416275024414, -0.40384572744369507, -0.2085346132516861, -0.2893914580345154, 0.23745813965797424, -0.14483170211315155, -0.09341598302125931, 0.020448070019483566, -0.17637008428573608, 0.18209752440452576, 0.15080472826957703, -0.02324593812227249, 0.004338964819908142, -0.14594969153404236, 0.032665662467479706, 0.20043198764324188, 0.46410077810287476, 0.20544448494911194, 0.25754329562187195, 0.10846520960330963, -0.1003582775592804, 0.19082291424274445, 0.16337677836418152, -0.15862563252449036, 0.4258309304714203, -0.11251990497112274, -0.29436466097831726, -0.04663322493433952, -0.14943550527095795, 0.05097954720258713, 0.2843567430973053, -0.22580742835998535, -0.313926637172699, -0.10765251517295837, 0.12284299731254578, -0.12016275525093079, -0.02246822416782379, 0.12168413400650024, 0.21471630036830902, 0.3106909990310669, -0.05732686072587967, -0.029202301055192947, 0.0890718400478363, -0.0029285624623298645, -0.11941944807767868, 0.06773550808429718, 0.22660723328590393, 0.14836014807224274, 0.02729567512869835, -0.012301668524742126, 0.07913476228713989, -0.1629168689250946, 0.16089165210723877, 0.14125211536884308, 0.041034452617168427, -0.04265943169593811, 0.11703947931528091, -0.3385847508907318, -0.3401338458061218, -0.1776643544435501, 0.2032884657382965, -0.08040490001440048, -0.13756407797336578, -0.4066072106361389, 0.2849869728088379, -0.30671966075897217, -0.4376450777053833, -0.12529271841049194, 0.5351141095161438, -0.09329908341169357, -0.2668122947216034, 0.19333738088607788, 0.12815457582473755, -0.06705302745103836, 0.0071862367913126945, -0.14580018818378448, 0.09167104959487915, -0.27155375480651855, -0.11632558703422546, -0.1660621613264084, -0.04804785177111626, 0.45940494537353516, -0.001823224127292633, 0.012281117029488087, 0.41265323758125305, -0.12425276637077332, 0.39810240268707275, 0.43632084131240845, -0.2732101380825043, -0.41611722111701965, 0.10700725764036179, -0.17435206472873688, 0.17757822573184967, 0.12388631701469421, 0.078203946352005, 0.2330298274755478, 0.03439536318182945, 0.001755639910697937, 0.2527396082878113, -0.017500245943665504, -0.06369548290967941, -0.4115200340747833, -0.1776309609413147, 0.19669681787490845, 0.39743098616600037, -0.06008245423436165, 0.10098595917224884, -0.022734560072422028, 0.09245782345533371, 0.3094726800918579, -0.09737071394920349, 0.19746309518814087, -0.22632648050785065, 0.3373430371284485, -0.03023126721382141, 0.23677921295166016, 0.01868249848484993, 0.022951263934373856, 0.0006895214319229126, -0.2246110886335373, 0.6061989665031433, 0.16050437092781067, -0.08140861988067627, -0.2014751136302948, -0.1736266165971756, -0.1711404025554657, -0.14410006999969482, 0.2536778748035431, 0.25992077589035034, 0.00008665211498737335, -0.06660004705190659, -0.09519071131944656, 0.20921415090560913, -0.04197287932038307, 0.029313817620277405, -0.1641375869512558, -0.23228581249713898, -0.12079954892396927, 0.02758803963661194, -0.07554441690444946, 0.27988672256469727, -0.0781356617808342, -0.050799410790205, 0.021146602928638458, 0.10753202438354492, 0.09243069589138031, 0.08050423860549927, 0.11610888689756393, 0.15242496132850647, 0.21101954579353333, -0.15888752043247223, 0.13999716937541962, 0.13168494403362274, 0.06446034461259842, -0.237564355134964, -0.29100969433784485, 0.03946986794471741, 0.42043203115463257, -0.03576556593179703, -0.01786988228559494, -0.010158851742744446, 0.11294619739055634, 0.10119958221912384, -0.3501979112625122, 0.24930843710899353, 0.12479846179485321, -0.11238297820091248, 0.1265997588634491, -0.11771222949028015, -0.25979018211364746, 0.06267280876636505, 0.20884723961353302, -0.21746672689914703, 0.1359749436378479, 0.31881359219551086, -0.38617146015167236, -0.11606843024492264, 0.14030976593494415, 0.16638466715812683, -0.045759737491607666, 0.31691688299179077, 0.10305085778236389, -0.0403720885515213, 0.24991475045681, -0.13339662551879883, 0.1080448180437088, 0.3575316071510315, -0.1296006590127945, 0.31783244013786316, 0.2518736720085144, 0.20385338366031647, -0.2185705602169037, -0.19139353930950165, -0.13286660611629486, 0.3491276204586029, 0.006469596177339554, -0.295845091342926, 0.06369677931070328, -0.26527634263038635, -0.052104197442531586, -0.3146831691265106, -0.26898011565208435, -0.29876452684402466, 0.2304522693157196, -0.09121166169643402, -0.10990694165229797, 0.15967005491256714, 0.1610325574874878, 0.5661161541938782, -0.29064542055130005, -0.2266414910554886, -0.03324856981635094, 0.10333263874053955, -0.15487369894981384, 0.2104623019695282, 0.3697862923145294, -0.10137047618627548, 0.4731089472770691, 0.05290869623422623, 0.17311500012874603, -0.022891564294695854, -0.3825337886810303, 0.33755749464035034, -0.15901489555835724, 0.08751218020915985, 0.15489448606967926, -0.20289553701877594, -0.09363678097724915, -0.1385609656572342, -0.23346514999866486, 0.1631963551044464, -0.20728689432144165, -0.004664460197091103, -0.2592879831790924, -0.10762890428304672, -0.2680096924304962, -0.33853957056999207, -0.30279940366744995, -0.33837223052978516, 0.22226500511169434, 0.3022475838661194, 0.23474784195423126, 0.026203569024801254, -0.23663082718849182, 0.2614580988883972, 0.03091210313141346, 0.19553004205226898, -0.2999866306781769, -0.03584783524274826, 0.22430717945098877, -0.10364742577075958, -0.17133571207523346, 0.06806094944477081, -0.061642296612262726, 0.2970515191555023, -0.38168615102767944, -0.3364053964614868, -0.16018472611904144, 0.09217740595340729, 0.46388667821884155, 0.12255574017763138, 0.1089797168970108, 0.3517235219478607, 0.15699878334999084, -0.049351926892995834, -0.0058751776814460754, -0.13752146065235138, 0.183852881193161, 0.29287683963775635, 0.21090996265411377, 0.12182130664587021, 0.07931552827358246, -0.22370141744613647, 1.0042016506195068, 0.2451631724834442, -0.023344580084085464, 0.09304548799991608, 0.13857439160346985, 0.016726646572351456, -0.056791000068187714, -0.04096357524394989, 0.3547017574310303, 0.15049922466278076, 0.0761534795165062, 0.5026669502258301, 0.06306985020637512, -0.5028860569000244, -0.08422943949699402, -0.013006485998630524, -0.170407235622406, 0.02288876101374626, 0.25903767347335815, -0.1411813497543335, 0.028810061514377594, -0.06495731323957443, -0.3126525580883026, -0.015663035213947296, -0.20870524644851685, 0.13907736539840698, 0.1247551441192627, 0.33214637637138367, -0.08880192786455154, -0.3510998487472534, -0.17334984242916107, -0.39284080266952515, 0.18547990918159485, 0.13487516343593597, 0.02225625142455101, -0.1656816154718399, -0.3399519622325897, -0.03621526062488556, 0.05359356105327606, 0.08441628515720367, -0.4742487668991089, -0.24928946793079376, 0.1898602843284607, 0.6210402846336365, 0.37924572825431824, 0.15181802213191986, -0.2845347821712494, 0.05906004458665848, 0.15038348734378815, 0.009261175990104675, -0.29571762681007385, 0.034478750079870224, 0.09033043682575226, 0.05694439262151718, -0.013905718922615051, -0.3159184157848358, 0.04699968919157982, -0.030253633856773376, -0.3043498694896698, 0.09711781144142151, 0.21200786530971527, 0.11355172842741013, -0.1683664321899414, 0.1523900032043457, 0.2590681314468384, 0.26846081018447876, 0.4268781542778015, 0.08782275021076202, 0.08582021296024323, 0.13880743086338043, 0.035077307373285294, 0.15544340014457703, 0.27896648645401, -0.13688978552818298, 0.503807544708252, -0.1538119614124298, -0.4135400652885437, 0.22174477577209473, -0.30583348870277405, 0.2647610306739807, 0.26525580883026123, 0.1330874115228653, 0.09745246917009354, -0.04372043162584305, -0.013769164681434631, -0.3399186432361603, -0.12761710584163666, 0.08552606403827667, 0.15509119629859924, -0.30075764656066895, -0.3088546693325043, 0.34888094663619995, -0.10754075646400452, -0.3840075135231018, -0.13276192545890808, 0.1888468712568283, -0.2723839581012726, 0.506109893321991, -0.10569281131029129, 1.3262684345245361, 0.21812792122364044, 0.0421748086810112, 0.1105949804186821, -0.12002646923065186, 0.23096594214439392, -0.47958552837371826, 0.05545897036790848, -0.12909716367721558, 0.4336698353290558, -0.09640179574489594, 0.027825649827718735, -0.14002230763435364, -0.0013969913125038147, -0.7123913168907166, -0.03717426955699921, 0.04435551166534424, 0.07150427997112274, 0.2226233035326004, 0.7148568034172058, 0.09822960942983627, -0.3713681101799011, 0.043577708303928375, 0.24364063143730164, -0.13603998720645905, 0.22662565112113953, 0.08189375698566437, -0.35066360235214233, -0.27307429909706116, -0.16696205735206604, -0.39706647396087646, -0.045438215136528015, 0.119118832051754, -0.6321806907653809, 0.06083860620856285, 0.06032551825046539, 0.4553013741970062, 0.1398547738790512, 0.2455499768257141, 0.18122456967830658, -0.18864805996418, 0.09955373406410217, -0.02713080495595932, 0.1566963493824005, 0.21789473295211792, -0.0372854582965374, 0.35155197978019714, -0.2448325753211975, -0.11325883865356445, 0.44999659061431885, 0.10607340931892395, -0.24177809059619904, -0.4557248055934906, -0.22340987622737885, 0.45903176069259644, -0.2766028940677643, 0.12757708132266998, 0.5001201629638672, -0.19278691709041595, -0.11370594799518585, 0.19085891544818878, 0.3570536971092224, -0.4184298813343048, -0.0593290850520134, 0.23259367048740387, -0.059376802295446396, -0.20058152079582214, 0.049018681049346924, 0.2971353232860565, -0.21145279705524445, 0.2652369737625122, 0.25333479046821594, -0.11483347415924072, -0.2964175045490265, -0.27174681425094604, 0.04071154445409775, -0.36716949939727783, -0.18360865116119385, -0.1767817735671997, -0.3512726426124573, -0.2659377157688141, 0.07492683827877045, 0.09882882982492447, 0.09557495266199112, -0.14567126333713531, -0.25323182344436646, -0.3776775598526001, -0.11124308407306671, -0.03439770266413689, 0.15739931166172028, -0.3316645622253418, -0.13708627223968506, 0.07498001307249069, 0.3049514591693878, -0.44462960958480835, -0.21335232257843018, 0.008374152705073357, 0.07655397802591324, 0.19532956182956696, -0.09793449193239212, 0.013573727570474148, -0.13148653507232666, 0.09901706874370575, -0.23775897920131683, -0.3071209192276001, -0.22727224230766296, -0.18292276561260223, 0.119071826338768, 0.3309507966041565, -0.03883783519268036, -0.14180321991443634, 0.05675988644361496, -0.17656129598617554, 0.1749347597360611, 0.07202707231044769, -0.42179709672927856, -0.24277310073375702, 0.211398646235466, 0.2147264927625656, -0.056094296276569366, 0.15192601084709167, -0.02085454761981964, 0.13299554586410522, 0.28342077136039734, 0.22074738144874573, 0.19228465855121613, 0.10663294792175293, -0.12069709599018097, 0.1714058220386505, 0.3347851634025574, 0.34824299812316895, 0.24238434433937073, 0.299323171377182, -0.1997947245836258, 0.11276793479919434, 0.27327480912208557, 0.19108322262763977, -0.12056908011436462, -0.3664391040802002, -0.22925561666488647, 0.12219230830669403, 0.3068567216396332, -0.14795854687690735, -0.09806829690933228, 0.10159970819950104, -0.056671157479286194, 0.15715433657169342, 0.1998903751373291, 0.24496716260910034, 0.2267778217792511, -0.02753603458404541, 0.17229878902435303, 0.31292524933815, -0.052024371922016144, 0.0247048307210207, 0.17158585786819458, -0.3217223882675171, 0.04040428251028061, 0.25712814927101135, 0.2083040028810501, -0.1427016258239746, 0.1154114305973053, -0.175754576921463, 0.3045218586921692, 0.33082810044288635, 0.08704863488674164, 0.4169997274875641, -0.08320730924606323, 0.3909722864627838, 0.6195801496505737, 0.1351635754108429, 0.33651092648506165, 0.11860855668783188, 0.26770660281181335, -0.0402066707611084, -0.18108715116977692, 0.07000566273927689, 0.025351889431476593, -0.12700533866882324, -0.05162424221634865, -0.2586482763290405, -0.37177175283432007, -0.3732086420059204, -0.21727965772151947, -0.04477497562766075, -0.09543600678443909, -0.08657222986221313, -0.1449241042137146, -0.3250776529312134, -0.21929052472114563, -0.236971914768219, -0.14955711364746094, 0.295682817697525, -0.1548919975757599, 0.23404617607593536, -0.12129805982112885, -0.16930535435676575, 0.2056611329317093, 0.3900411128997803, 0.253757506608963, 0.14376288652420044, -0.16181796789169312, 0.22743386030197144, -0.192963644862175, -0.07901186496019363, 0.014306847006082535, 0.4643353223800659, 0.18024110794067383, -0.3664325177669525, 0.028116516768932343, 0.139123797416687, -0.1624394804239273, 0.3211270570755005, 0.08502674102783203, -0.07991626858711243, 0.0641336441040039, 0.24631008505821228, 0.11821312457323074, -0.36402252316474915, -0.24872785806655884, -0.06158604472875595, -0.32891571521759033, 0.0939084142446518, 0.31530022621154785, 0.06212906911969185, 0.028396476060152054, -0.44140222668647766, 0.1246366947889328, 0.005967047065496445, 0.16511045396327972, 0.43803414702415466, 0.15807484090328217, -0.094354048371315, -0.05660901591181755, -0.3551802635192871, 0.021663442254066467, 0.22259491682052612, -0.15004418790340424, -0.27353301644325256, -0.020085711032152176, 0.43431708216667175, 0.1697508841753006, -0.17717881500720978, -0.13873274624347687, -0.4159730076789856, 0.09323239326477051, -0.1860097050666809, 0.1398678869009018, 0.18280784785747528, 0.37355971336364746, -0.06433404982089996, -0.032858707010746, 0.1488611400127411, 0.08168680965900421, 0.05874989181756973, -0.16306684911251068, 0.05792728811502457, 0.0215134397149086, -0.18405403196811676, 0.22507384419441223, 0.126967191696167, 0.138126403093338, -0.3439681828022003, -0.10313606262207031, -0.014204863458871841, 0.09340250492095947, -0.42731091380119324, -0.22672563791275024, -0.03514314070343971, 0.6268601417541504, 0.07532484084367752, 0.22494390606880188, -0.13162538409233093, -0.15870532393455505, 0.03770679235458374, -0.15632674098014832, -0.5334343910217285, 0.15741121768951416, -0.2270008623600006, 0.1011173278093338, -0.021786369383335114, 0.12839239835739136, 0.1804112195968628, -0.2139219045639038, -0.38413476943969727, -0.1554516851902008, 0.44962525367736816, -0.20284201204776764, -0.10533320903778076, -0.09387650340795517, 0.09718284010887146, 0.04638906568288803, 0.08189864456653595, -0.65458744764328, -0.008850723505020142, 0.2981548011302948, -0.038722842931747437, -0.07831098884344101, 0.2413032352924347, 0.1725890189409256, 0.04855416342616081, -0.14527012407779694, 0.09478799998760223, 0.047130387276411057, -0.14228154718875885, -0.10860039293766022, -0.35972440242767334 ]
https://github.com/huggingface/datasets/pull/1878
Add LJ Speech dataset
Thanks @anton-l for adding this one :) About the points you mentioned: 1. Sure as soon as we've updated the tag sets in https://github.com/huggingface/datasets-tagging/blob/main/task_set.json, we can update the tags in this dataset card and also in the other audio dataset card. 2. For now we just try to have them as small as possible but we may switch to S3/LFS at one point indeed 3. If it's not part of the license set at https://github.com/huggingface/datasets-tagging/blob/main/license_set.json we can add it to this license set For now it's ok to have the other-* tags but we'll update them very soon
This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review
98
text: Add LJ Speech dataset This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review Thanks @anton-l for adding this one :) About the points you mentioned: 1. Sure as soon as we've updated the tag sets in https://github.com/huggingface/datasets-tagging/blob/main/task_set.json, we can update the tags in this dataset card and also in the other audio dataset card. 2. For now we just try to have them as small as possible but we may switch to S3/LFS at one point indeed 3. If it's not part of the license set at https://github.com/huggingface/datasets-tagging/blob/main/license_set.json we can add it to this license set For now it's ok to have the other-* tags but we'll update them very soon
[ -0.07965029031038284, -0.04093275964260101, -0.0022326596081256866, 0.20404666662216187, 0.09017711877822876, -0.007940202951431274, 0.03889479488134384, 0.18973183631896973, 0.08361659944057465, -0.11142635345458984, -0.2708287835121155, 0.1765761524438858, -0.3070371150970459, 0.08622388541698456, 0.02989250048995018, -0.31560465693473816, -0.018731139600276947, -0.012568704783916473, 0.32120969891548157, -0.24461358785629272, -0.10038841515779495, 0.2444669008255005, -0.014479205012321472, -0.10114489495754242, -0.09071680903434753, 0.000325983390212059, 0.020621927455067635, -0.07946757227182388, -0.436962366104126, -0.5070154070854187, -0.2732694149017334, 0.20686601102352142, 0.2673545181751251, 0.4852347671985626, -0.00010847525845747441, -0.3644314408302307, 0.24458442628383636, -0.12688733637332916, -0.4548341631889343, -0.22396568953990936, -0.1838887333869934, -0.059254102408885956, -0.24357518553733826, 0.2578471302986145, -0.2639903128147125, -0.395632266998291, 0.1853480339050293, -0.05704791843891144, 0.20680683851242065, 0.25425204634666443, 0.1854853630065918, -0.3469172716140747, 0.18462415039539337, -0.04833372309803963, 0.47448956966400146, 0.24833355844020844, 0.040707364678382874, 0.2495543658733368, 0.46796631813049316, 0.3668281137943268, -0.11604797095060349, 0.28956639766693115, -0.052868954837322235, -0.16757018864154816, 0.4496806561946869, -0.17722143232822418, -0.20694902539253235, -0.37652063369750977, -0.010518647730350494, 0.34773576259613037, 0.9115994572639465, -0.4047390818595886, -0.24082009494304657, -0.32806047797203064, 0.10716746002435684, -0.506941556930542, 0.09430421888828278, 0.22349074482917786, -0.075365349650383, 0.2031979262828827, 0.1408054083585739, -0.4642157554626465, -0.2047121822834015, 0.16812273859977722, 0.23720309138298035, 0.4369843602180481, -0.08763258904218674, -0.09109329432249069, 0.09648443758487701, -0.07045049220323563, -0.6338416934013367, -0.21528193354606628, -0.30441999435424805, 0.20128580927848816, -0.17670877277851105, -0.12178780138492584, -0.07392863184213638, -0.23099088668823242, 0.2605510950088501, 0.07905079424381256, -0.020605817437171936, -0.039585381746292114, -0.12643744051456451, 0.04312129318714142, 0.22717681527137756, 0.39839446544647217, 0.17561087012290955, 0.18019627034664154, 0.11966704577207565, -0.05136268585920334, 0.32423368096351624, 0.09364689141511917, -0.14374221861362457, 0.43347588181495667, -0.27613869309425354, -0.2532086670398712, -0.017634183168411255, -0.1834891140460968, 0.006897220388054848, 0.20744311809539795, -0.1619020700454712, -0.3568146824836731, -0.0703454464673996, 0.1611107885837555, -0.055793534964323044, -0.04915054887533188, 0.0945182591676712, 0.3662768602371216, 0.2996107339859009, 0.008342302404344082, 0.004722838755697012, 0.07214128971099854, -0.057342953979969025, -0.014909729361534119, 0.158346489071846, 0.10765887796878815, 0.25353699922561646, 0.09032410383224487, -0.03577979654073715, 0.07369466871023178, -0.12293130904436111, 0.1595880538225174, 0.14904186129570007, 0.1561097800731659, -0.07754276692867279, 0.17058278620243073, -0.32870665192604065, -0.2602480351924896, -0.25018391013145447, 0.09297722578048706, -0.09167224913835526, -0.14694437384605408, -0.3487962484359741, 0.26178470253944397, -0.30530768632888794, -0.3222101330757141, -0.3034886419773102, 0.5326771140098572, -0.06531114131212234, -0.25009649991989136, 0.27079182863235474, 0.14283818006515503, -0.2389618307352066, -0.03885861113667488, -0.08872263878583908, 0.1493871510028839, -0.21755053102970123, -0.23273994028568268, 0.015827011317014694, -0.07799206674098969, 0.3271633982658386, 0.09890371561050415, -0.038002949208021164, 0.3011617958545685, -0.15088334679603577, 0.367195725440979, 0.3466281294822693, -0.31522879004478455, -0.4297080934047699, 0.0694199725985527, -0.1533769965171814, 0.18858347833156586, 0.1644623875617981, 0.04219989851117134, 0.2544209957122803, -0.006842862814664841, 0.027351245284080505, 0.20277848839759827, -0.04875658452510834, -0.04827668517827988, -0.40030327439308167, -0.18528497219085693, 0.20205754041671753, 0.31141605973243713, -0.15043558180332184, 0.07082683593034744, -0.1865881085395813, 0.1252146065235138, 0.2875645160675049, -0.15943212807178497, 0.20909489691257477, -0.19199426472187042, 0.3062705099582672, 0.027710530906915665, 0.2128283679485321, -0.011468837037682533, -0.09946409612894058, -0.008904658257961273, -0.25606417655944824, 0.5916523337364197, 0.2433781921863556, -0.19236740469932556, -0.16217219829559326, -0.2552180886268616, -0.18208415806293488, -0.22125113010406494, 0.1791839301586151, 0.26983609795570374, 0.07628494501113892, -0.12158393859863281, -0.2187318354845047, 0.1588056981563568, -0.034582771360874176, 0.07156714051961899, -0.20528115332126617, -0.20415356755256653, -0.12542471289634705, -0.009319533593952656, 0.04605782777070999, 0.262900173664093, -0.06328936666250229, -0.11705003678798676, 0.05498172342777252, 0.12990903854370117, 0.11917851120233536, 0.08418098092079163, 0.13043524324893951, 0.3076667785644531, 0.33838021755218506, -0.14507374167442322, 0.16249322891235352, 0.13384510576725006, 0.07996152341365814, -0.2804672420024872, -0.33644795417785645, 0.067962646484375, 0.3865845501422882, 0.0038958564400672913, 0.01507287472486496, -0.03161274641752243, 0.15483570098876953, 0.17176194489002228, -0.2990429401397705, 0.2638179659843445, 0.1046522855758667, -0.15521058440208435, 0.13393814861774445, -0.038668230175971985, -0.2646680474281311, 0.021816283464431763, 0.21525642275810242, -0.20637322962284088, 0.1114707887172699, 0.3680456280708313, -0.3629215359687805, -0.1469852328300476, 0.11818722635507584, 0.04880569502711296, -0.0331076979637146, 0.3252376914024353, 0.1458585113286972, -0.07766248285770416, 0.23747193813323975, -0.2262241095304489, 0.0999825969338417, 0.3510501980781555, -0.2056509107351303, 0.3532474637031555, 0.17287489771842957, 0.1649141013622284, -0.2797278165817261, -0.08118412643671036, -0.09695300459861755, 0.34832972288131714, -0.02829792909324169, -0.2816769778728485, 0.04254920035600662, -0.3549826145172119, -0.14477020502090454, -0.34866899251937866, -0.35729339718818665, -0.2206149697303772, 0.30070173740386963, -0.025441940873861313, -0.18529869616031647, 0.1786520630121231, 0.20470108091831207, 0.5308630466461182, -0.3396894633769989, -0.20163406431674957, -0.04699953645467758, 0.18735049664974213, -0.0941057875752449, 0.18446868658065796, 0.4312683045864105, -0.11654265969991684, 0.42833060026168823, -0.00408379640430212, 0.08372659981250763, 0.014927122741937637, -0.3937252461910248, 0.31446972489356995, -0.2204226404428482, 0.1088946983218193, 0.1975480318069458, -0.10921886563301086, -0.06196018308401108, -0.22113527357578278, -0.1440698504447937, 0.06507182121276855, -0.2383042722940445, -0.0541960746049881, -0.27501392364501953, -0.001749041024595499, -0.2942057251930237, -0.364984929561615, -0.2512490749359131, -0.4464132487773895, 0.32352137565612793, 0.18375620245933533, 0.2652586102485657, 0.18329565227031708, -0.21350067853927612, 0.2947072684764862, 0.008198465220630169, 0.25650274753570557, -0.33125773072242737, -0.029865391552448273, 0.19421082735061646, -0.08021342009305954, -0.19851087033748627, 0.05432971939444542, -0.01631881855428219, 0.3378487825393677, -0.3800692558288574, -0.309644877910614, -0.2859443724155426, 0.08781442046165466, 0.4168238043785095, 0.16702520847320557, 0.08583831042051315, 0.3421483635902405, 0.06418123096227646, -0.06569380313158035, 0.046768419444561005, -0.19042108952999115, 0.18255795538425446, 0.2786126434803009, 0.15368258953094482, 0.14027172327041626, 0.1019553691148758, -0.25210216641426086, 1.0180445909500122, 0.37179630994796753, 0.055542126297950745, 0.16394047439098358, 0.1545034646987915, 0.03254670649766922, -0.12051986902952194, -0.07319958508014679, 0.36242955923080444, 0.14055238664150238, 0.08997545391321182, 0.4696970582008362, 0.146331787109375, -0.2845880091190338, -0.06128416955471039, -0.039228405803442, -0.1460338681936264, 0.012519530951976776, 0.3323393762111664, -0.019321784377098083, 0.02022775635123253, -0.0986839085817337, -0.23923581838607788, 0.006097091361880302, -0.18368244171142578, 0.15869955718517303, 0.23297642171382904, 0.3370322287082672, -0.04145170748233795, -0.38997650146484375, -0.15974824130535126, -0.4544653296470642, 0.212835431098938, 0.19074368476867676, 0.04844830557703972, -0.2313927710056305, -0.25041696429252625, -0.03577953577041626, 0.06250949949026108, 0.1846156120300293, -0.42883536219596863, -0.31202757358551025, 0.18477381765842438, 0.44623878598213196, 0.32222530245780945, 0.1826966106891632, -0.22092746198177338, 0.014400498941540718, 0.2115156501531601, 0.16550815105438232, -0.43517380952835083, -0.10601820051670074, 0.08024603128433228, 0.13090470433235168, 0.04080444201827049, -0.18724629282951355, 0.03435796871781349, -0.13677619397640228, -0.3678700923919678, 0.1182391494512558, 0.22140613198280334, 0.09928577393293381, -0.11761219054460526, 0.11858934164047241, 0.2929224967956543, 0.2117539942264557, 0.47817087173461914, 0.004055386409163475, 0.08767681568861008, 0.25585228204727173, 0.08913624286651611, 0.2694280743598938, 0.23559635877609253, -0.05424072593450546, 0.6020258069038391, -0.15738226473331451, -0.3564654290676117, 0.20964261889457703, -0.190933495759964, 0.26748910546302795, 0.30556774139404297, 0.17051354050636292, 0.17033427953720093, -0.00914466567337513, -0.07036228477954865, -0.46238818764686584, -0.06616798043251038, 0.14131270349025726, 0.1839793473482132, -0.23979881405830383, -0.3324125111103058, 0.4140857458114624, -0.033785995095968246, -0.3505886197090149, 0.03694954514503479, 0.13763365149497986, -0.29270756244659424, 0.37027549743652344, -0.1296370029449463, 1.2989377975463867, 0.15044790506362915, 0.08436191082000732, 0.1761820912361145, -0.22850506007671356, 0.20146925747394562, -0.4553012251853943, 0.063900426030159, -0.06356406211853027, 0.3501700162887573, -0.045554835349321365, 0.028860267251729965, -0.12408442050218582, -0.029076024889945984, -0.63856041431427, 0.033928949385881424, 0.09435796737670898, 0.14339399337768555, 0.10441478341817856, 0.8084540963172913, -0.010323220863938332, -0.42052704095840454, -0.13197283446788788, 0.1913178414106369, -0.15451966226100922, 0.2862193286418915, 0.128437340259552, -0.38643521070480347, -0.24593272805213928, -0.2161528319120407, -0.38878387212753296, -0.08319531381130219, 0.08553251624107361, -0.6703586578369141, 0.14781522750854492, 0.026670120656490326, 0.43233680725097656, 0.05366159602999687, 0.17832088470458984, 0.10740698873996735, -0.24360719323158264, 0.09268669784069061, -0.228476881980896, 0.17744818329811096, 0.10327711701393127, -0.024786345660686493, 0.32795533537864685, -0.2504034638404846, -0.11119337379932404, 0.4033092260360718, 0.1343386471271515, -0.17911727726459503, -0.35061174631118774, -0.31331783533096313, 0.3709123134613037, -0.36610257625579834, 0.1657860428094864, 0.41372597217559814, -0.17087304592132568, -0.17879506945610046, 0.15916256606578827, 0.34047931432724, -0.45485028624534607, -0.10061455518007278, 0.22905266284942627, -0.02191217988729477, -0.2440488487482071, 0.10325604677200317, 0.2486860156059265, -0.24997882544994354, 0.27116507291793823, 0.26932722330093384, -0.11211399734020233, -0.2839578092098236, -0.2955051064491272, 0.10369452834129333, -0.4088962972164154, -0.09423432499170303, -0.07054141908884048, -0.3931815028190613, -0.29267317056655884, 0.20547695457935333, 0.16772763431072235, 0.025542285293340683, -0.09793177247047424, -0.200001522898674, -0.4949546456336975, -0.011849075555801392, 0.01820128783583641, 0.20697663724422455, -0.365961492061615, -0.13639234006404877, 0.1575021892786026, 0.392829567193985, -0.41993188858032227, -0.13270722329616547, -0.039160363376140594, 0.13649439811706543, 0.2355743944644928, -0.11232765763998032, 0.14199334383010864, -0.10149763524532318, 0.038628995418548584, -0.25772297382354736, -0.3426813781261444, -0.16486462950706482, -0.2157467156648636, 0.14647242426872253, 0.2303752899169922, -0.10557813197374344, -0.11910412460565567, 0.05451570451259613, -0.17735067009925842, 0.0988316535949707, 0.06164639815688133, -0.41714194416999817, -0.24907676875591278, 0.1936890184879303, 0.15815041959285736, -0.09820093959569931, 0.22058968245983124, -0.008910033851861954, 0.17615585029125214, 0.2718621492385864, 0.26456984877586365, 0.12994512915611267, 0.041905950754880905, -0.15910887718200684, 0.08704737573862076, 0.38909411430358887, 0.2903057038784027, 0.07416469603776932, 0.26655083894729614, -0.13529999554157257, 0.11112962663173676, 0.3728734850883484, 0.23661422729492188, -0.0533703938126564, -0.24237914383411407, -0.09877697378396988, 0.07436700165271759, 0.2798655033111572, -0.13553327322006226, -0.056583475321531296, 0.24567896127700806, -0.013581476174294949, 0.12420842051506042, 0.23506620526313782, 0.35568055510520935, 0.21176311373710632, 0.06537457555532455, 0.15318039059638977, 0.2936129868030548, -0.011077377945184708, 0.060967665165662766, 0.12074621021747589, -0.3663384020328522, 0.012766338884830475, 0.31991392374038696, 0.20735909044742584, -0.017557643353939056, 0.0014661327004432678, -0.21643301844596863, 0.3290647268295288, 0.2573682963848114, 0.07538486272096634, 0.4308977425098419, -0.1297757774591446, 0.2587367594242096, 0.5907711982727051, 0.2255399525165558, 0.262873113155365, 0.09704189747571945, 0.38777071237564087, -0.1306266188621521, -0.2628538906574249, 0.06245002895593643, 0.10292185097932816, -0.1537575125694275, -0.04143885523080826, -0.22425808012485504, -0.3573816418647766, -0.3283520042896271, -0.18811719119548798, -0.022755581885576248, -0.1329040378332138, 0.08145254105329514, -0.2557504177093506, -0.3072679042816162, -0.2167721390724182, -0.18638789653778076, -0.0778656005859375, 0.28967660665512085, -0.13883362710475922, 0.31258007884025574, -0.02556583285331726, -0.19235703349113464, 0.28790226578712463, 0.4958026707172394, 0.30076494812965393, 0.047907754778862, -0.08928698301315308, 0.2222486287355423, -0.18534980714321136, -0.02275174669921398, -0.001965198665857315, 0.5721050500869751, 0.12318511307239532, -0.3048625588417053, 0.0873839259147644, 0.10959354043006897, -0.16028089821338654, 0.20387692749500275, -0.01869886741042137, -0.08099256455898285, 0.049751535058021545, 0.2153390645980835, 0.016084345057606697, -0.3328515589237213, -0.25005054473876953, -0.09741302579641342, -0.24082812666893005, 0.15336087346076965, 0.31530237197875977, 0.02795805037021637, -0.0018660761415958405, -0.3911539316177368, 0.10440259426832199, 0.014300106093287468, 0.17460928857326508, 0.4036387503147125, 0.19254395365715027, -0.1867927461862564, -0.014011174440383911, -0.3920205235481262, -0.06160890311002731, 0.19701750576496124, -0.09241578727960587, -0.2068520188331604, 0.04573330283164978, 0.4034978449344635, 0.21856747567653656, -0.19356487691402435, -0.15456631779670715, -0.3243619203567505, 0.062389981001615524, -0.1793271005153656, 0.18244211375713348, 0.17435920238494873, 0.3747005760669708, 0.05689616501331329, -0.07340312749147415, 0.18271245062351227, 0.09403456002473831, 0.006212316453456879, -0.16867032647132874, 0.10085305571556091, -0.10352498292922974, -0.25756752490997314, 0.1913876235485077, 0.16263629496097565, 0.17871128022670746, -0.3430691659450531, -0.1448098123073578, -0.02338017150759697, 0.02328583039343357, -0.435023695230484, -0.21761107444763184, -0.08204987645149231, 0.6699124574661255, 0.02060781605541706, 0.23173166811466217, -0.20979441702365875, -0.057247504591941833, 0.025734201073646545, -0.21659857034683228, -0.47296690940856934, 0.2264477163553238, -0.29102006554603577, 0.0665978342294693, 0.024886079132556915, 0.11903606355190277, 0.21292521059513092, -0.26624348759651184, -0.41422683000564575, -0.14850343763828278, 0.5054605007171631, -0.1686277836561203, -0.03639022633433342, -0.09694936871528625, 0.1223117783665657, 0.1949511170387268, 0.06433125585317612, -0.8498753905296326, 0.028709031641483307, 0.31087106466293335, 0.030048614367842674, -0.12981966137886047, 0.28786537051200867, 0.1017272025346756, -0.08220547437667847, -0.15418657660484314, 0.10056672245264053, 0.018639225512742996, -0.19403496384620667, -0.046628087759017944, -0.3867450952529907 ]
https://github.com/huggingface/datasets/pull/1878
Add LJ Speech dataset
Let's merge this one and then we'll update the tags for the audio datasets. We'll probably also add something like this: ``` type: - text - audio ``` Thank you so much for adding this one, good job !
This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review
39
text: Add LJ Speech dataset This PR adds the LJ Speech dataset (https://keithito.com/LJ-Speech-Dataset/) As requested by #1841 The ASR format is based on #1767 There are a couple of quirks that should be addressed: - I tagged this dataset as `other-other-automatic-speech-recognition` and `other-other-text-to-speech` (as classified by paperswithcode). Since the number of speech datasets is about to grow, maybe these categories should be added to the main list? - Similarly to #1767 this dataset uses only a single dummy sample to reduce the zip size (`wav`s are quite heavy). Is there a plan to allow LFS or S3 usage for dummy data in the repo? - The dataset is distributed under the Public Domain license, which is not used anywhere else in the repo, AFAIK. Do you think Public Domain is worth adding to the tagger app as well? Pinging @patrickvonplaten to review Let's merge this one and then we'll update the tags for the audio datasets. We'll probably also add something like this: ``` type: - text - audio ``` Thank you so much for adding this one, good job !
[ -0.07924054563045502, 0.11249418556690216, -0.04132826626300812, 0.07301133126020432, 0.03234328702092171, -0.04317455738782883, 0.09149539470672607, 0.26042163372039795, -0.024373678490519524, -0.06832154095172882, -0.31203776597976685, 0.2599397897720337, -0.35623428225517273, -0.06443433463573456, 0.007762146182358265, -0.24239769577980042, 0.06097452715039253, 0.04190552607178688, 0.313673734664917, -0.29726797342300415, -0.1125822588801384, 0.2898741364479065, 0.055806368589401245, -0.09530237317085266, -0.02710358425974846, 0.10502718389034271, 0.07011907547712326, -0.07282993942499161, -0.4467652142047882, -0.47983577847480774, -0.3234083354473114, 0.17953501641750336, 0.2628328502178192, 0.516033947467804, -0.00010522729280637577, -0.3854793310165405, 0.313637912273407, -0.045928098261356354, -0.41651350259780884, -0.16647981107234955, -0.2634049952030182, -0.013643009588122368, -0.29636088013648987, 0.2759524881839752, -0.1118910163640976, -0.3664798438549042, 0.20339588820934296, -0.09938687086105347, 0.13866938650608063, 0.30406665802001953, 0.2118200957775116, -0.5016766786575317, 0.21477846801280975, -0.0568370521068573, 0.5738162994384766, 0.26497316360473633, -0.009258193895220757, 0.13464060425758362, 0.5460198521614075, 0.3456062972545624, -0.08008412271738052, 0.2978573739528656, -0.16672326624393463, -0.18913328647613525, 0.3795430064201355, -0.22970764338970184, -0.16864895820617676, -0.3372304141521454, -0.0037930384278297424, 0.3257908225059509, 1.0008186101913452, -0.38418349623680115, -0.12304023653268814, -0.14053526520729065, 0.10564716160297394, -0.4493235945701599, 0.03107111155986786, 0.239409402012825, -0.100688636302948, 0.16449983417987823, 0.12424524128437042, -0.40788519382476807, -0.20971594750881195, 0.19077937304973602, 0.22725969552993774, 0.4911240041255951, -0.0005165147595107555, -0.12588906288146973, 0.0719325840473175, -0.10566380620002747, -0.45602521300315857, -0.24781712889671326, -0.30213406682014465, 0.16989834606647491, -0.17111825942993164, -0.14964142441749573, -0.02468240261077881, -0.31231504678726196, 0.14323827624320984, 0.03445899859070778, -0.06471570581197739, 0.01628025248646736, -0.10558487474918365, 0.07818017154932022, 0.17937713861465454, 0.33776554465293884, 0.2433311641216278, 0.14233554899692535, 0.12204186618328094, -0.09403514862060547, 0.25875961780548096, 0.11757614463567734, -0.1436442881822586, 0.3862445056438446, -0.23120631277561188, -0.2391311526298523, 0.006489202380180359, -0.15736959874629974, 0.0298574548214674, 0.23643161356449127, -0.17766213417053223, -0.27332133054733276, -0.13308830559253693, 0.08192205429077148, -0.02250317484140396, -0.02345454692840576, 0.15595707297325134, 0.35779279470443726, 0.2859444320201874, -0.022636201232671738, 0.014581374824047089, 0.09007148444652557, 0.021812494844198227, -0.0470791831612587, 0.13705852627754211, 0.19081830978393555, 0.21826592087745667, 0.11060478538274765, 0.01986338198184967, 0.003641873598098755, -0.16527943313121796, 0.23727233707904816, 0.0580691397190094, 0.10118409991264343, -0.027132965624332428, 0.07912663370370865, -0.329941987991333, -0.29785412549972534, -0.22202244400978088, 0.16993604600429535, -0.039440035820007324, -0.11099652945995331, -0.39494386315345764, 0.29886695742607117, -0.2827642560005188, -0.3476007580757141, -0.1561351716518402, 0.5905118584632874, -0.09232091158628464, -0.301364004611969, 0.24109342694282532, 0.16835913062095642, -0.18608812987804413, 0.024922678247094154, -0.12199409306049347, -0.03344327211380005, -0.24521854519844055, -0.15600785613059998, -0.19695425033569336, -0.041194040328264236, 0.39524605870246887, 0.06396424770355225, -0.01610819809138775, 0.31330087780952454, -0.08997758477926254, 0.366039514541626, 0.424240380525589, -0.2975350320339203, -0.4023856520652771, 0.06020764634013176, -0.16201117634773254, 0.09880868345499039, 0.11598953604698181, 0.03570474684238434, 0.26247039437294006, 0.005524980835616589, 0.04084942489862442, 0.19788111746311188, -0.12489712238311768, -0.0153550049290061, -0.36884307861328125, -0.17370986938476562, 0.1633121520280838, 0.3773290514945984, -0.105617955327034, 0.04447968304157257, -0.05003320425748825, 0.08097498118877411, 0.28870394825935364, -0.08823443949222565, 0.19600637257099152, -0.15529373288154602, 0.35115545988082886, -0.05049703270196915, 0.24755319952964783, 0.007072731852531433, 0.06012670695781708, -0.11071361601352692, -0.24385330080986023, 0.5796952247619629, 0.2034195065498352, -0.10095886141061783, -0.16468393802642822, -0.21054679155349731, -0.14389200508594513, -0.17642194032669067, 0.2347603142261505, 0.21554099023342133, -0.03226334974169731, -0.04059391841292381, -0.18437480926513672, 0.11542844027280807, 0.03413378447294235, 0.02621018886566162, -0.11070626974105835, -0.1781647950410843, -0.12266843765974045, -0.013827241025865078, -0.00028261542320251465, 0.28526896238327026, -0.0850449725985527, -0.003137245075777173, -0.005352085456252098, 0.14867985248565674, 0.07775036990642548, 0.141668900847435, 0.14858004450798035, 0.2175205647945404, 0.32405364513397217, -0.21481017768383026, 0.2150564342737198, 0.14223599433898926, 0.08680130541324615, -0.2990281879901886, -0.29104992747306824, 0.0036331266164779663, 0.48617085814476013, 0.02011803537607193, -0.034011051058769226, 0.00404556468129158, 0.14775532484054565, 0.16068191826343536, -0.35776859521865845, 0.31282660365104675, 0.15034602582454681, -0.11983431875705719, 0.12459215521812439, -0.07796576619148254, -0.2151787132024765, 0.03336133062839508, 0.26805365085601807, -0.22211876511573792, 0.07140211760997772, 0.31341156363487244, -0.4153701066970825, -0.18035000562667847, 0.07994306832551956, 0.08905898034572601, -0.023678570985794067, 0.3053005635738373, 0.1377657651901245, -0.048969872295856476, 0.24714557826519012, -0.19575217366218567, 0.06274010241031647, 0.3883737325668335, -0.16804830729961395, 0.33429816365242004, 0.2407221794128418, 0.14501960575580597, -0.2875823378562927, -0.04711468890309334, -0.06305626779794693, 0.31295275688171387, 0.05961614474654198, -0.3088423013687134, 0.046226829290390015, -0.29902559518814087, -0.14959879219532013, -0.304903119802475, -0.3485596179962158, -0.2825085520744324, 0.31755512952804565, -0.006312519311904907, -0.18014325201511383, 0.21222244203090668, 0.23877063393592834, 0.609032928943634, -0.2886177897453308, -0.19528281688690186, -0.04966641962528229, 0.16955193877220154, -0.1561838984489441, 0.21933181583881378, 0.39939260482788086, -0.1068878099322319, 0.3586541712284088, 0.08316147327423096, 0.21791315078735352, -0.041467100381851196, -0.38220372796058655, 0.23667317628860474, -0.1294802874326706, 0.020574845373630524, 0.14088654518127441, -0.19491450488567352, -0.031057585030794144, -0.3851872980594635, -0.18600334227085114, 0.059049129486083984, -0.22864164412021637, 0.05238039791584015, -0.26203376054763794, -0.025513486936688423, -0.28393658995628357, -0.3774699866771698, -0.25476980209350586, -0.4066925048828125, 0.2424236685037613, 0.15892645716667175, 0.2200537770986557, 0.05445636436343193, -0.2049606293439865, 0.20177997648715973, 0.031618304550647736, 0.21161529421806335, -0.26746124029159546, -0.04592902585864067, 0.15450529754161835, -0.12060113996267319, -0.15748631954193115, 0.04566312953829765, -0.01466861367225647, 0.24206647276878357, -0.3333010673522949, -0.32588106393814087, -0.12736065685749054, 0.0693826973438263, 0.2989492118358612, 0.1598549336194992, 0.01062001846730709, 0.32220765948295593, 0.19409321248531342, -0.111122727394104, 0.04228530824184418, -0.1554749757051468, 0.13064680993556976, 0.31588247418403625, 0.2560119926929474, 0.07136864960193634, 0.1099155992269516, -0.23363938927650452, 0.9134088158607483, 0.2527390718460083, 0.06877054274082184, 0.04157595708966255, 0.2018202543258667, 0.0422135666012764, -0.15987592935562134, -0.09709581732749939, 0.33543434739112854, 0.11460788547992706, 0.055866844952106476, 0.4796399474143982, 0.19020739197731018, -0.5156581997871399, -0.05292229354381561, 0.04405998811125755, -0.13152764737606049, 0.002584017813205719, 0.2972920536994934, -0.15557606518268585, 0.010076239705085754, 0.008595410734415054, -0.3070782423019409, -0.012802770361304283, -0.17263862490653992, 0.10546734929084778, 0.19368940591812134, 0.2550497353076935, -0.07150369882583618, -0.40776899456977844, -0.13820606470108032, -0.41976264119148254, 0.18674562871456146, 0.19149631261825562, 0.08957750350236893, -0.23086053133010864, -0.3363688886165619, -0.09682871401309967, 0.07292484492063522, -0.008464977145195007, -0.45936155319213867, -0.3190675973892212, 0.24170216917991638, 0.6262327432632446, 0.3891896903514862, 0.10143983364105225, -0.2483016401529312, 0.07780800759792328, 0.19469784200191498, 0.1322399228811264, -0.21006587147712708, -0.003734184894710779, 0.08438768982887268, 0.10534787178039551, 0.08112014830112457, -0.22628837823867798, 0.08122950792312622, -0.09528152644634247, -0.32069846987724304, 0.02619434893131256, 0.18489933013916016, 0.11641526967287064, -0.16240140795707703, 0.06651175022125244, 0.38910940289497375, 0.25531965494155884, 0.47339487075805664, -0.06694343686103821, 0.06200370565056801, 0.19387316703796387, 0.07141785323619843, 0.1011199951171875, 0.10666292905807495, -0.0723908469080925, 0.44102275371551514, -0.12009631097316742, -0.3910163342952728, 0.20678123831748962, -0.3467424809932709, 0.24432075023651123, 0.23895618319511414, 0.1877717673778534, 0.1496497243642807, -0.057733647525310516, -0.06294642388820648, -0.3012288212776184, -0.049672748893499374, 0.17099301517009735, 0.17164398729801178, -0.241262286901474, -0.2760852575302124, 0.38317692279815674, -0.10780221223831177, -0.31748640537261963, 0.025749661028385162, 0.060556598007678986, -0.21047785878181458, 0.3917850852012634, -0.19245809316635132, 1.3042868375778198, 0.20277376472949982, 0.04725638031959534, 0.06419020891189575, -0.2055613100528717, 0.1548638939857483, -0.5634653568267822, 0.10493480414152145, -0.00986563041806221, 0.43119755387306213, -0.057285767048597336, 0.04059108719229698, -0.16808345913887024, 0.01403336226940155, -0.652265727519989, -0.056400980800390244, 0.12156893312931061, 0.1543787121772766, 0.19001998007297516, 0.6912283897399902, 0.020216036587953568, -0.37165725231170654, 0.02187279984354973, 0.2399422824382782, -0.13243143260478973, 0.19907481968402863, 0.13200044631958008, -0.39983558654785156, -0.20004603266716003, -0.20593677461147308, -0.4839995503425598, -0.03674152120947838, 0.2209266871213913, -0.5247459411621094, 0.09415028989315033, -0.0348961316049099, 0.40310847759246826, 0.053194839507341385, 0.1611044853925705, 0.19418498873710632, -0.11915448307991028, 0.12758180499076843, -0.09167135506868362, 0.2170393317937851, 0.11931658536195755, -0.0594642199575901, 0.23256833851337433, -0.26475557684898376, -0.15416759252548218, 0.37322351336479187, 0.11610360443592072, -0.3383737802505493, -0.3151533603668213, -0.27202701568603516, 0.3804646134376526, -0.26381492614746094, 0.23875992000102997, 0.5041310787200928, -0.21569395065307617, -0.20154067873954773, 0.18766352534294128, 0.31360235810279846, -0.46890702843666077, -0.05002298206090927, 0.19875000417232513, -0.08013401180505753, -0.1926475614309311, 0.050185270607471466, 0.24441444873809814, -0.31934115290641785, 0.28869786858558655, 0.27724701166152954, -0.05771135538816452, -0.3220941424369812, -0.21520522236824036, 0.02825857885181904, -0.32074084877967834, -0.05898164585232735, -0.22502589225769043, -0.38594967126846313, -0.17284277081489563, 0.045255161821842194, 0.08447892963886261, 0.16654853522777557, -0.13676007091999054, -0.21311137080192566, -0.5129823088645935, -0.07058537006378174, -0.04750208929181099, 0.2027430534362793, -0.34732338786125183, -0.1254863291978836, 0.10006102174520493, 0.2698472738265991, -0.4440923035144806, -0.11857392638921738, -0.059073008596897125, 0.09605473279953003, 0.1930381804704666, -0.15695494413375854, 0.02277853712439537, -0.13062983751296997, 0.08988118171691895, -0.25798463821411133, -0.3032275438308716, -0.22138619422912598, -0.10590322315692902, 0.1462233066558838, 0.25807735323905945, -0.03196076303720474, -0.05414040386676788, 0.06514827162027359, -0.1643950492143631, 0.14770154654979706, -0.014361629262566566, -0.44108524918556213, -0.2372235208749771, 0.22585226595401764, 0.19738079607486725, -0.07792431861162186, 0.27864521741867065, -0.05274304747581482, 0.12409648299217224, 0.31284648180007935, 0.22055943310260773, 0.14418566226959229, 0.15717431902885437, -0.1686246395111084, 0.18063879013061523, 0.3733879625797272, 0.2584148943424225, 0.1193486750125885, 0.3010667860507965, -0.1555364578962326, 0.16001425683498383, 0.34732335805892944, 0.18928728997707367, -0.04329720139503479, -0.29604271054267883, -0.14874644577503204, 0.062376830726861954, 0.3144358992576599, -0.13525566458702087, -0.14247432351112366, 0.10486406087875366, 0.02546117454767227, 0.08674520254135132, 0.08928564190864563, 0.2520054876804352, 0.19142714142799377, 0.19800737500190735, 0.19168099761009216, 0.33802923560142517, -0.13625940680503845, 0.13952426612377167, 0.08908816426992416, -0.29811203479766846, -0.05469456687569618, 0.14423389732837677, 0.1433561146259308, -0.10662215203046799, 0.08751952648162842, -0.20688915252685547, 0.2284150868654251, 0.3280301094055176, -0.03218669071793556, 0.4991097152233124, -0.06951197981834412, 0.2221125364303589, 0.6118857860565186, 0.15500065684318542, 0.2730380594730377, 0.18624582886695862, 0.2928272783756256, -0.11737579852342606, -0.23502174019813538, 0.0646335557103157, 0.046674080193042755, -0.06895925849676132, -0.02803068794310093, -0.15186986327171326, -0.32451483607292175, -0.306194007396698, -0.23691603541374207, 0.0009956061840057373, 0.011915706098079681, -0.011920101940631866, -0.21058057248592377, -0.32369476556777954, -0.20208629965782166, -0.13192352652549744, -0.107941173017025, 0.27308332920074463, -0.16850899159908295, 0.186639666557312, 0.026214949786663055, -0.18505331873893738, 0.31962040066719055, 0.43788719177246094, 0.30931204557418823, 0.05487433075904846, -0.20500366389751434, 0.286198228597641, -0.2542140483856201, -0.08108390867710114, 0.0700245350599289, 0.49532371759414673, 0.2389524281024933, -0.26715755462646484, -0.0009680222719907761, 0.14770585298538208, -0.15879912674427032, 0.3244941234588623, 0.03216284140944481, -0.10644525289535522, 0.07605995237827301, 0.22957053780555725, 0.108819380402565, -0.3669081926345825, -0.30333539843559265, -0.05302350968122482, -0.2602480351924896, 0.027436092495918274, 0.35167789459228516, 0.10235732793807983, -0.012574825435876846, -0.39432835578918457, 0.1253560185432434, 0.007814888842403889, 0.08950842916965485, 0.4574928879737854, 0.1758742481470108, -0.09160855412483215, -0.1215779110789299, -0.3164328932762146, -0.029440678656101227, 0.2101423442363739, -0.01836637780070305, -0.28878939151763916, 0.02522638998925686, 0.45947501063346863, 0.15638497471809387, -0.15591974556446075, -0.09559337049722672, -0.44034987688064575, 0.014084767550230026, -0.20744574069976807, 0.19899263978004456, 0.3248378038406372, 0.3779836595058441, -0.009529808536171913, -0.07615718990564346, 0.15110981464385986, 0.1620933562517166, 0.07350845634937286, -0.15588393807411194, 0.02446376532316208, 0.012783568352460861, -0.16614378988742828, 0.10036478191614151, 0.1492699384689331, 0.09816662222146988, -0.38127753138542175, -0.14285950362682343, -0.054021600633859634, -0.020596882328391075, -0.3924582302570343, -0.2875114679336548, -0.07205498218536377, 0.6508768796920776, 0.00047925394028425217, 0.28766998648643494, -0.09134338796138763, -0.061007753014564514, -0.04530448466539383, -0.19436989724636078, -0.5597875118255615, 0.1562523990869522, -0.2281656265258789, 0.09571830183267593, -0.03380459174513817, 0.0349508598446846, 0.18827325105667114, -0.2546291649341583, -0.43308037519454956, -0.22095468640327454, 0.43403178453445435, -0.04619648680090904, -0.16392748057842255, -0.10680868476629257, 0.1452350914478302, 0.11495892703533173, 0.21624021232128143, -0.7219487428665161, -0.0345742367208004, 0.2813628613948822, 0.008238926529884338, -0.07876165211200714, 0.2589665651321411, 0.15045693516731262, -0.05453282967209816, -0.16433964669704437, 0.06037989258766174, 0.0642157793045044, -0.17076684534549713, -0.0879128947854042, -0.4599536657333374 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
is there a way to check errors without subscribing to CircleCI? Because they want access to private repositories when logging.
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
20
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. is there a way to check errors without subscribing to CircleCI? Because they want access to private repositories when logging.
[ -0.3913687765598297, -0.22224712371826172, 0.056067634373903275, 0.18279752135276794, -0.20919343829154968, -0.06167194992303848, 0.06280101090669632, 0.08616672456264496, 0.18728171288967133, 0.3354589641094208, -0.10898836702108383, -0.03289536386728287, -0.4188477098941803, -0.06639650464057922, -0.12729361653327942, 0.2663407325744629, -0.0710531696677208, -0.02369290590286255, 0.09482955932617188, -0.286041259765625, -0.01172579824924469, 0.040789294987916946, -0.07176484167575836, -0.03512407839298248, 0.3245164752006531, 0.023435724899172783, -0.14659817516803741, 0.07323083281517029, 0.07927116006612778, -0.38997143507003784, 0.29571056365966797, 0.22255301475524902, 0.031480252742767334, 0.42373746633529663, -0.00012717500794678926, -0.0878041461110115, 0.14437362551689148, -0.18709324300289154, -0.13477455079555511, -0.059982821345329285, -0.2214210331439972, -0.32483798265457153, 0.24857954680919647, -0.39057669043540955, -0.017831988632678986, -0.10239110141992569, 0.04541628807783127, -0.4358307123184204, 0.4123004674911499, 0.09065694361925125, 0.05976661294698715, 0.3831872344017029, -0.07479318976402283, -0.0004080070648342371, -0.1597723364830017, 0.23155812919139862, 0.028714975342154503, -0.23616629838943481, 0.18384778499603271, 0.5747168660163879, 0.2561151385307312, 0.3103283643722534, -0.1377153992652893, -0.191786989569664, -0.4263678193092346, -0.25278815627098083, -0.02477026730775833, -0.39636754989624023, 0.20778587460517883, 0.5065399408340454, 0.5613927245140076, -0.21221041679382324, -0.2742980122566223, 0.17344334721565247, 0.14389577507972717, 0.08055523782968521, 0.22076541185379028, 0.29857802391052246, -0.21649959683418274, 0.2605375051498413, -0.07586512714624405, -0.3940727710723877, -0.11935509741306305, -0.09274174273014069, -0.24388840794563293, 0.363589882850647, 0.18108659982681274, 0.10065628588199615, 0.26139548420906067, -0.11849838495254517, 0.07523628324270248, 0.2654725909233093, 0.09612493216991425, 0.5529330372810364, -0.18409843742847443, -0.24798206984996796, -0.07660644501447678, 0.10927475988864899, 0.23109325766563416, 0.3347698450088501, 0.019006503745913506, 0.295913428068161, -0.16243326663970947, 0.11129525303840637, 0.23889929056167603, -0.49848106503486633, -0.17109504342079163, 0.20735812187194824, 0.2836560606956482, -0.4710446894168854, 0.5002177953720093, 0.23464950919151306, -0.1109955832362175, -0.214614599943161, 0.19026948511600494, 0.33158451318740845, 0.08042450249195099, -0.2922128736972809, -0.023674048483371735, 0.23882822692394257, -0.24776509404182434, -0.19507460296154022, 0.2626185715198517, 0.3050198256969452, 0.03551516681909561, -0.017531398683786392, -0.009317418560385704, 0.06990303099155426, -0.16709226369857788, -0.16831143200397491, -0.02414981834590435, 0.06433100998401642, 0.15242262184619904, -0.012864040210843086, 0.33301228284835815, -0.13982699811458588, -0.1328018307685852, -0.030678056180477142, -0.005794346332550049, 0.11486124992370605, -0.003941673785448074, -0.371340274810791, 0.3324851393699646, 0.23380061984062195, 0.4377754330635071, 0.10947068780660629, -0.07031714916229248, -0.3551675081253052, -0.2730850875377655, 0.08943920582532883, -0.510881245136261, -0.4445587992668152, -0.45787182450294495, 0.005578489508479834, -0.4983925223350525, -0.04344701021909714, 0.06122977286577225, 0.3087732791900635, 0.09890221059322357, -0.2749859094619751, 0.07376836240291595, 0.044054802507162094, -0.3350663483142853, -0.0421590730547905, 0.41123726963996887, 0.7689241766929626, -0.4194542169570923, -0.1785052865743637, -0.4100331664085388, -0.28684306144714355, 0.33712324500083923, 0.3612002730369568, -0.05031980946660042, 0.04637764021754265, -0.42178475856781006, 0.1715243011713028, 0.49356237053871155, -0.3967868685722351, -0.1760912537574768, -0.16873088479042053, -0.029966682195663452, 0.037978798151016235, 0.3597756028175354, -0.041679706424474716, 0.1364770382642746, -0.3636864721775055, 0.32882675528526306, -0.039697758853435516, 0.11158870905637741, 0.07925214618444443, -0.03391028940677643, 0.05340404063463211, 0.2257692813873291, 0.06971475481987, 0.20561657845973969, -0.19317087531089783, 0.4125020205974579, -0.02206740342080593, 0.22466892004013062, -0.1076006293296814, -0.13921043276786804, 0.3299869894981384, 0.3383600413799286, -0.26924699544906616, -0.06046599894762039, 0.03973411023616791, -0.09550414234399796, 0.1472233533859253, -0.09809815883636475, 0.401754766702652, -0.3566478490829468, -0.1251680552959442, -0.11587700992822647, -0.08101589977741241, -0.15144118666648865, 0.29613059759140015, -0.027224821969866753, 0.1418251395225525, -0.016235873103141785, 0.2659699022769928, -0.17812447249889374, 0.09946678578853607, -0.14531384408473969, -0.20124727487564087, -0.031548067927360535, 0.09318985790014267, -0.06796548515558243, 0.14310231804847717, -0.1482621729373932, 0.24899524450302124, 0.21028771996498108, -0.17299975454807281, 0.09715231508016586, 0.132030189037323, 0.06110314279794693, 0.40489286184310913, 0.268726110458374, -0.049143195152282715, 0.08541465550661087, -0.8501051664352417, -0.1681889146566391, 0.12853041291236877, -0.07858885824680328, 0.1377313733100891, 0.025541339069604874, 0.18373239040374756, 0.24803493916988373, -0.020275607705116272, 0.008427664637565613, -0.09562099725008011, 0.6817976236343384, 0.045897338539361954, -0.3091941475868225, -0.3066684603691101, 0.5461756587028503, 0.25006845593452454, 0.6217809319496155, -0.11546219885349274, -0.5146160125732422, -0.3285776674747467, 0.20007850229740143, 0.03706470504403114, 0.5263680219650269, 0.03790585696697235, 0.21562960743904114, 0.19599050283432007, 0.006863521412014961, 0.11514167487621307, 0.06580571830272675, -0.0684531182050705, 0.2188488245010376, 0.22139263153076172, -0.06848044693470001, 0.18674643337726593, 0.0023493021726608276, -0.004779137670993805, -0.04483456164598465, 0.2559349536895752, 0.09329023212194443, 0.1299639493227005, -0.3912285268306732, -0.21644368767738342, -0.0034905755892395973, 0.11975152045488358, -0.37328624725341797, -0.20532138645648956, -0.4357835054397583, 0.022529572248458862, -0.5613778233528137, -0.13906218111515045, -0.26419514417648315, -0.2108740359544754, 0.33273255825042725, -0.23763641715049744, -0.13096752762794495, 0.2443661093711853, -0.07706815749406815, 0.3821246922016144, -0.3487015664577484, -0.21802617609500885, -0.24730385839939117, -0.09585683047771454, 0.11600527167320251, -0.03729018568992615, 0.2597177028656006, -0.18490849435329437, 0.37998777627944946, -0.48164990544319153, 0.03889889270067215, 0.051190562546253204, -0.5340130925178528, 0.3502713143825531, 0.17517787218093872, -0.3072050213813782, 0.008218780159950256, -0.03194504976272583, 0.38080722093582153, -0.0168302059173584, 0.0029812604188919067, -0.0717262253165245, -0.042073335498571396, 0.12350352108478546, -0.15069805085659027, -0.03966882824897766, -0.15921613574028015, -0.23923900723457336, -0.7538396716117859, -0.11857685446739197, -0.41866934299468994, 0.07179827988147736, 0.16726765036582947, -0.18974168598651886, -0.1079242080450058, 0.25710609555244446, 0.3945508301258087, 0.12672212719917297, -0.09504591673612595, 0.18710361421108246, 0.4238325357437134, -0.20330727100372314, -0.026576492935419083, 0.2552245557308197, 0.10657046735286713, 0.03009631298482418, 0.12660036981105804, -0.4446486830711365, 0.2251703143119812, -0.03879869729280472, -0.3189442455768585, -0.06243526190519333, -0.06574646383523941, 0.4932197630405426, 0.2584182322025299, 0.0711192712187767, 0.07821222394704819, -0.10861805081367493, -0.35321611166000366, -0.20235151052474976, 0.42316943407058716, -0.24550414085388184, 0.025758350268006325, 0.18009158968925476, 0.7503267526626587, -0.018470091745257378, 0.05736243724822998, 0.26603496074676514, -0.0384407564997673, 0.6900752782821655, 0.08973121643066406, -0.15175014734268188, -0.3161375820636749, 0.07123051583766937, -0.31494849920272827, -0.07894830405712128, -0.06887560337781906, -0.6099340915679932, -0.4705607295036316, -0.08788085728883743, -0.2636081278324127, -0.33379560708999634, -0.05534067749977112, 0.10729178786277771, 0.4663236439228058, -0.05568704754114151, 0.13864514231681824, -0.16705699265003204, -0.29301097989082336, 0.05590841546654701, 0.2535141408443451, -0.061822883784770966, -0.10943086445331573, -0.5587198734283447, -0.2507672905921936, -0.5193106532096863, 0.5847194790840149, 0.22423605620861053, 0.3860335052013397, -0.22284363210201263, -0.19321510195732117, -0.04661865532398224, -0.1588447242975235, 0.11579154431819916, -0.5189460515975952, -0.027928031980991364, -0.08549003303050995, 0.3245202600955963, -0.410025954246521, -0.19993235170841217, -0.44812506437301636, 0.25727325677871704, 0.10827560722827911, 0.15600572526454926, -0.42668184638023376, 0.13732412457466125, 0.045434411615133286, 0.2819506525993347, -0.3171815574169159, 0.0071952929720282555, -0.397821307182312, -0.5039202570915222, -0.19857469201087952, 0.30271852016448975, 0.0564962774515152, -0.0595477856695652, -0.04119142144918442, 0.11263909935951233, 0.1178322583436966, 0.2923981845378876, 0.12723900377750397, 0.2665847837924957, 0.2744104862213135, 0.2510882318019867, -0.20733854174613953, -0.23416480422019958, -0.12282638251781464, 0.32749444246292114, 0.9304973483085632, -0.04618902876973152, -0.22205790877342224, 0.3157971203327179, -0.1860191971063614, 0.26676249504089355, 0.36461141705513, 0.20485180616378784, -0.04749833792448044, 0.30061137676239014, -0.0036650672554969788, -0.24092456698417664, -0.0077588437125086784, 0.14145199954509735, -0.04925207048654556, -0.6342657804489136, -0.07415121793746948, 0.04062602296471596, 0.3928322196006775, -0.011059656739234924, -0.0027578063309192657, 0.18215501308441162, -0.04713859409093857, 0.10298819839954376, 0.15924035012722015, 1.0585947036743164, -0.07488611340522766, -0.20115286111831665, -0.30329614877700806, 0.03431450575590134, 0.3334110379219055, -0.007866095751523972, -0.11505353450775146, -0.2299075871706009, 0.04443316161632538, -0.1819465011358261, -0.10090042650699615, 0.20839014649391174, -0.17936697602272034, -0.2645202875137329, 0.13036039471626282, -0.07519342005252838, -0.13049940764904022, -0.0702158659696579, 0.30341780185699463, 0.065684475004673, -0.18910002708435059, -0.01414937898516655, -0.03114125318825245, 0.08630361407995224, 0.11010955274105072, -0.16631081700325012, 0.17936588823795319, 0.34940722584724426, -0.528633713722229, -0.8496180176734924, -0.051645904779434204, 0.22214151918888092, 0.047746822237968445, 0.13006700575351715, -0.26404625177383423, 0.28900912404060364, 0.1621449887752533, 0.48838186264038086, 0.41584014892578125, -0.1328165978193283, 0.007862772792577744, 0.07492347806692123, 0.1294652223587036, 0.1948125809431076, 0.03541966900229454, 0.049749623984098434, 0.04742136597633362, -0.23117026686668396, 0.5062146782875061, -0.03919658064842224, -0.23130327463150024, -0.19804635643959045, 0.08638574182987213, -0.06935660541057587, 0.19270092248916626, 0.23722486197948456, 0.22333775460720062, 0.017075467854738235, -0.11243326961994171, -0.024794071912765503, 0.060328178107738495, -0.0900912657380104, 0.3185274004936218, -0.033144835382699966, -0.16846400499343872, 0.050959061831235886, 0.3831688165664673, 0.10152949392795563, 0.04848155379295349, 0.2822924256324768, -0.00005735829472541809, 0.04621795564889908, -0.1953011155128479, 0.05525829643011093, 0.012404462322592735, -0.312466561794281, -0.3463430106639862, -0.10351786017417908, -0.05572773516178131, -0.07169521600008011, 0.16124244034290314, 0.07599340379238129, 0.2021750807762146, -0.22614941000938416, -0.4024324417114258, -0.039041321724653244, 0.1701342910528183, 0.21902190148830414, 0.2450864613056183, 0.3215087652206421, -0.11415107548236847, 0.07141680270433426, -0.019539164379239082, -0.1772024780511856, -0.1519438475370407, -0.6609926223754883, -0.024315476417541504, -0.2008095383644104, 0.2473713755607605, 0.0158336590975523, -0.22280967235565186, -0.05494122952222824, 0.17973028123378754, -0.15313640236854553, 0.007535230368375778, 0.08748596906661987, 0.18690434098243713, -0.19875633716583252, 0.28483307361602783, -0.06958191096782684, -0.22171103954315186, 0.2863311469554901, 0.10801570117473602, -0.09698426723480225, 0.3771061599254608, 0.016860656440258026, -0.04650179296731949, -0.058770764619112015, -0.07275467365980148, -0.49287134408950806, -0.003936555236577988, 0.4513856768608093, 0.20506447553634644, 0.08897458016872406, 0.35162848234176636, -0.11890559643507004, -0.14678505063056946, 0.33848556876182556, 0.2677765190601349, 0.446563184261322, 0.40549641847610474, -0.1372094452381134, 0.1247798502445221, 0.32783475518226624, -0.32619017362594604, 0.27346909046173096, 0.23621656000614166, -0.3655158281326294, -0.05221647769212723, 0.2778780162334442, -0.009992895647883415, -0.35057929158210754, -0.16059044003486633, 0.1802939772605896, 0.0019024992361664772, -0.06169670820236206, 0.46030330657958984, 0.15852859616279602, -0.037042174488306046, 0.8627700209617615, -0.06435005366802216, 0.46416693925857544, -0.30680423974990845, -0.04435890167951584, -0.05313714221119881, -0.534605860710144, 0.16979484260082245, -0.05614951252937317, 0.03856769576668739, 0.17781664431095123, -0.0908070057630539, -0.19169682264328003, 0.12739962339401245, 0.0976116955280304, 0.01605289801955223, 0.01283002644777298, -0.3161523640155792, 0.4222615659236908, -0.15782928466796875, 0.28104305267333984, 0.37209537625312805, 0.06200488656759262, 0.02654324471950531, -0.029645372182130814, -0.0097788255661726, -0.40212538838386536, 0.2172996997833252, 0.12920179963111877, -0.03700754791498184, -0.16491654515266418, -0.05661627650260925, -0.17797043919563293, -0.02429087460041046, 0.25706449151039124, -0.02078067511320114, -0.1329776495695114, 0.0924895852804184, 0.039250779896974564, 0.026780210435390472, -0.2117961347103119, 0.016086401417851448, -0.04735907167196274, -0.28933703899383545, 0.34255877137184143, 0.24265414476394653, -0.030163846909999847, 0.14125026762485504, 0.24631847441196442, 0.3773772716522217, 0.07974633574485779, 0.07687773555517197, 0.18271006643772125, -0.07419005036354065, 0.16984923183918, -0.10950586944818497, 0.03290008381009102, 0.13027501106262207, -0.15157447755336761, 0.39631739258766174, -0.08730065077543259, -0.030876170843839645, 0.38898172974586487, 0.11055758595466614, 0.44373947381973267, -0.12417741119861603, 0.21958185732364655, -0.09478691220283508, 0.19487625360488892, -0.24406281113624573, 0.1081056222319603, -0.26732808351516724, 0.1318514049053192, 0.1610138714313507, -0.16818957030773163, -0.025640280917286873, 0.14750781655311584, -0.023109644651412964, 0.22753268480300903, 0.5460897088050842, 0.4924536645412445, 0.002698507159948349, 0.2124338299036026, -0.18512044847011566, -0.7246463894844055, 0.4327959418296814, -0.39821290969848633, -0.1099439337849617, -0.21313728392124176, 0.11582300066947937, 0.3749544620513916, 0.4948265552520752, 0.5288970470428467, -0.14908497035503387, -0.08282680809497833, -0.08524921536445618, -0.1857864260673523, -0.15462574362754822, -0.17900905013084412, -0.07432925701141357, -0.1243368610739708, -0.08263270556926727, 0.061367616057395935, -0.15463052690029144, -0.07820610702037811, 0.2920665144920349, -0.47824984788894653, -0.14208149909973145, -0.05168376863002777, 0.37030473351478577, -0.13993169367313385, 0.6077576875686646, -0.07935002446174622, 0.23765844106674194, 0.13896188139915466, -0.08610637485980988, -0.07429257035255432, 0.4751355051994324, 0.20927296578884125, -0.07918485999107361, -0.27380332350730896, -0.22779931128025055, -0.0456516407430172, 0.003902485826984048, 0.2152017503976822, 0.09532567858695984, -0.013774076476693153, 0.13940174877643585, -0.013797026127576828, -0.14821431040763855, -0.12635065615177155, 0.14026334881782532, 0.2690207064151764, 0.12067152559757233, -0.04447823762893677, -0.10687621682882309, 0.428001344203949, 0.08301451802253723, 0.08138492703437805, -0.39024025201797485, 0.40230023860931396, -0.009876437485218048, 0.15151888132095337, -0.37903693318367004, 0.04024488478899002, 0.1119888424873352, 0.0838719829916954, -0.263527512550354, -0.04853573441505432, -0.16835422813892365, -0.14679227769374847, -0.08414336293935776, 0.11414666473865509, 0.0358056016266346, -0.16444620490074158, -0.11933831870555878, -0.16170352697372437 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
I think you need to be logged in to check the errors unfortunately. Feel free to create an account with bitbucket maybe if you don't want it to access your private github repos
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
33
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. I think you need to be logged in to check the errors unfortunately. Feel free to create an account with bitbucket maybe if you don't want it to access your private github repos
[ -0.11217212677001953, -0.06981286406517029, -0.14975044131278992, 0.12609797716140747, -0.1170293390750885, -0.07260306924581528, -0.10700266063213348, 0.1058269739151001, 0.20970024168491364, 0.13222987949848175, -0.07621867209672928, 0.032208800315856934, -0.20730967819690704, -0.1586230844259262, 0.19435396790504456, -0.12099231779575348, 0.026013866066932678, 0.09587068110704422, -0.2715005874633789, -0.2978338301181793, -0.16373926401138306, 0.22034092247486115, -0.03861725702881813, -0.07538333535194397, 0.44394588470458984, 0.2183919996023178, -0.18715225160121918, 0.20396843552589417, -0.07288843393325806, -0.34036123752593994, -0.03477366268634796, 0.20881785452365875, 0.11018110811710358, 0.39473721385002136, -0.00010121813102159649, -0.086515411734581, 0.11360487341880798, -0.17128786444664001, -0.12918956577777863, -0.26521235704421997, -0.2027149498462677, -0.40082550048828125, 0.05155572295188904, -0.2949883043766022, -0.09042072296142578, -0.2642548978328705, 0.01806894689798355, -0.3950602114200592, 0.4495967626571655, 0.040750663727521896, 0.32672423124313354, 0.12507323920726776, -0.0435015968978405, -0.2741936445236206, 0.15462857484817505, 0.16598032414913177, 0.04010523855686188, -0.17459416389465332, 0.5518589019775391, 0.3175789415836334, 0.23274803161621094, 0.3194582164287567, -0.07753259688615799, -0.2936670184135437, -0.2827577292919159, -0.17665314674377441, 0.03278306499123573, -0.42526063323020935, 0.1745176911354065, 0.3532066345214844, 0.36866939067840576, -0.1495678722858429, -0.06256833672523499, 0.2236766815185547, 0.09793221205472946, 0.2187904268503189, 0.02553270384669304, 0.13895279169082642, -0.08468377590179443, 0.1774996966123581, 0.030837293714284897, -0.4330960810184479, -0.0205705389380455, -0.03429003059864044, 0.025094516575336456, 0.36035075783729553, 0.13169321417808533, -0.012407764792442322, 0.17981313169002533, -0.16669175028800964, -0.07914944738149643, 0.08643557131290436, 0.0869859829545021, 0.4376881420612335, -0.12341025471687317, 0.06897074729204178, -0.0310080423951149, -0.08661250025033951, 0.2978679835796356, 0.12227705866098404, 0.008433686569333076, 0.29494741559028625, -0.2115834653377533, 0.18557649850845337, -0.03502500429749489, -0.16724833846092224, 0.09353362023830414, -0.08833789080381393, 0.06356131285429001, -0.3509123921394348, 0.43126195669174194, 0.33851149678230286, -0.41990089416503906, -0.2602173388004303, -0.07356160879135132, 0.20649415254592896, 0.037480905652046204, -0.08040868490934372, 0.06095859408378601, 0.31841734051704407, -0.05358196794986725, -0.26715630292892456, 0.06356456130743027, 0.3020733892917633, -0.04168596863746643, -0.09001169353723526, 0.10962861776351929, 0.04285195469856262, -0.15064911544322968, -0.21539665758609772, -0.22993411123752594, 0.22301900386810303, -0.11234895884990692, -0.030268659815192223, 0.11071750521659851, -0.09178109467029572, -0.06282661855220795, 0.03065679222345352, -0.05079592019319534, 0.003369104117155075, 0.017630381509661674, -0.024998672306537628, 0.2595108151435852, -0.04017733410000801, 0.44631698727607727, 0.0768040269613266, -0.028002042323350906, -0.3534265160560608, -0.20669612288475037, 0.17039552330970764, -0.4496322274208069, -0.1423996239900589, -0.5012603998184204, 0.304794043302536, -0.35690605640411377, -0.08166294544935226, -0.06948520988225937, 0.42347872257232666, -0.041247181594371796, -0.2653462588787079, 0.18205982446670532, -0.029193155467510223, -0.1738644689321518, -0.007110080681741238, 0.3683033883571625, 0.6868565082550049, -0.40942785143852234, -0.18401293456554413, 0.00004695216193795204, -0.18971171975135803, 0.40556561946868896, 0.1847306340932846, -0.14519274234771729, 0.019930407404899597, -0.24574807286262512, 0.32307934761047363, 0.43953898549079895, -0.2818644344806671, -0.06728067249059677, 0.06825976818799973, 0.003173157572746277, -0.018626121804118156, 0.18401101231575012, -0.19910947978496552, 0.2996404469013214, -0.29197198152542114, 0.1804690659046173, 0.2351534366607666, 0.0997515618801117, 0.0377548411488533, -0.16843675076961517, -0.01600315421819687, 0.22086140513420105, 0.18963055312633514, 0.26208093762397766, -0.19973227381706238, 0.2108829915523529, 0.21079938113689423, 0.16632401943206787, -0.09686756134033203, 0.2164756953716278, 0.4355487823486328, 0.07093070447444916, -0.044324010610580444, 0.14429399371147156, 0.06965626031160355, -0.0521581768989563, 0.04951189458370209, -0.0737503319978714, 0.45477965474128723, -0.22081102430820465, -0.05578026920557022, -0.2739936113357544, -0.2428063601255417, -0.3603024482727051, 0.016512881964445114, 0.2694759666919708, 0.1457918882369995, -0.14285002648830414, 0.17850476503372192, -0.0011567510664463043, -0.03086155839264393, -0.020867541432380676, -0.2974100112915039, -0.33747225999832153, 0.3891616761684418, -0.12060926109552383, 0.07410866022109985, -0.2424551546573639, 0.3034850060939789, 0.035309165716171265, -0.22720937430858612, 0.09257077425718307, 0.20363104343414307, -0.06309420615434647, 0.284883975982666, 0.5100951194763184, -0.1766037493944168, 0.17728622257709503, -0.6348350644111633, 0.05366012454032898, -0.07913711667060852, 0.1523522436618805, -0.1378270983695984, 0.07588274031877518, 0.029855996370315552, -0.03519388660788536, -0.06571980565786362, 0.08130243420600891, -0.16305683553218842, 0.5228887796401978, 0.06342285871505737, -0.22359034419059753, -0.3676276206970215, 0.316730797290802, 0.32730162143707275, 0.39656075835227966, -0.03273405879735947, -0.47765830159187317, -0.07628967612981796, 0.35119354724884033, -0.1256416141986847, 0.3256673812866211, 0.252221018075943, -0.05308765918016434, -0.023625055328011513, -0.26558345556259155, 0.0295652337372303, 0.022056274116039276, 0.1546456664800644, 0.19159002602100372, 0.10094471275806427, 0.19034385681152344, 0.049915701150894165, 0.15022341907024384, -0.02360709011554718, 0.06069067493081093, 0.19817256927490234, -0.010656636208295822, 0.031719159334897995, -0.34199610352516174, -0.3301997780799866, 0.10866241902112961, 0.23187273740768433, -0.03945792093873024, -0.17645753920078278, -0.31761252880096436, -0.0028269141912460327, -0.5534464120864868, -0.312060683965683, -0.2659975290298462, -0.06782491505146027, 0.26593533158302307, -0.3949725329875946, -0.19254401326179504, 0.34123435616493225, 0.137589231133461, 0.3295113444328308, -0.3016510307788849, -0.20020373165607452, -0.08763685077428818, -0.25921276211738586, -0.11909037083387375, 0.19305287301540375, 0.2058389037847519, -0.011045407503843307, 0.30559346079826355, -0.507863461971283, -0.0019420059397816658, -0.08626420050859451, -0.4810875654220581, 0.30639833211898804, -0.1770946979522705, -0.2362579107284546, 0.09782138466835022, 0.005309760570526123, 0.17509835958480835, -0.049073632806539536, 0.04525120556354523, -0.1253776252269745, -0.1636887490749359, 0.10490541905164719, -0.13301345705986023, -0.18142428994178772, -0.1590633988380432, -0.4479738175868988, -0.6651750802993774, -0.23087607324123383, -0.21912334859371185, 0.09490254521369934, 0.1252550482749939, -0.2556636929512024, -0.0375070720911026, 0.18686646223068237, 0.263039231300354, 0.06222826987504959, -0.3395881652832031, 0.25733616948127747, 0.18596075475215912, -0.258698046207428, -0.144839808344841, -0.02122415602207184, 0.06691554188728333, 0.1024547666311264, -0.17411616444587708, -0.3489903211593628, 0.14268524944782257, 0.03476247936487198, -0.11451278626918793, -0.15184016525745392, -0.02917397953569889, 0.5414479970932007, 0.2331886738538742, -0.19112153351306915, -0.09765398502349854, -0.1396206021308899, -0.23125684261322021, -0.016466397792100906, 0.17874526977539062, -0.21971192955970764, 0.03965504467487335, -0.005617614835500717, 0.4596176743507385, -0.005925929173827171, 0.10922965407371521, 0.19805538654327393, -0.07521878182888031, 0.3037436902523041, -0.20815163850784302, -0.18810829520225525, -0.16893872618675232, 0.03234343230724335, -0.09655532985925674, 0.2613125443458557, -0.06545966863632202, -0.4524233043193817, -0.24193891882896423, -0.27195224165916443, -0.4364490211009979, -0.1447995901107788, 0.1268008053302765, 0.06514803320169449, 0.17530134320259094, -0.02625533565878868, -0.1965159773826599, -0.12290818989276886, -0.18152591586112976, 0.011754244565963745, 0.13002508878707886, -0.06953460723161697, 0.10959425568580627, -0.39266514778137207, -0.02474069595336914, -0.5132623314857483, 0.41580909490585327, 0.12260498851537704, 0.10734137892723083, -0.16634750366210938, -0.13984158635139465, 0.0632219910621643, -0.08253806829452515, 0.18508166074752808, -0.4010085463523865, -0.10768651962280273, 0.037450358271598816, 0.20095236599445343, -0.3469313383102417, -0.12532877922058105, -0.467822402715683, 0.1841668039560318, 0.3276686668395996, 0.0983826071023941, -0.2760750651359558, 0.02819281816482544, 0.11942148953676224, 0.2574577331542969, -0.1747177541255951, -0.09485875815153122, -0.2176622897386551, -0.41931599378585815, -0.28413844108581543, 0.20494148135185242, 0.1902654767036438, 0.022559775039553642, 0.07140973955392838, 0.0852641761302948, 0.29946476221084595, 0.2680474519729614, 0.18961769342422485, 0.28094282746315, 0.18369856476783752, 0.2312161922454834, -0.04949738085269928, -0.1749940812587738, -0.35554924607276917, 0.2979294955730438, 0.7735059857368469, 0.03748024255037308, -0.11256946623325348, 0.34787455201148987, -0.4366939961910248, 0.24574291706085205, 0.14821864664554596, 0.39611804485321045, 0.16731682419776917, 0.24762752652168274, 0.02037728950381279, -0.29658207297325134, 0.018465852364897728, 0.16540811955928802, 0.003356609493494034, -0.6318102478981018, -0.37843579053878784, 0.03914080932736397, 0.04872358962893486, -0.21973392367362976, 0.02320002391934395, 0.16615310311317444, -0.2338482290506363, 0.41225022077560425, 0.15003159642219543, 1.0851943492889404, -0.03324567526578903, -0.019806642085313797, -0.21065378189086914, 0.12287448346614838, 0.4171036183834076, -0.10775728523731232, -0.2123885303735733, -0.30672499537467957, 0.16546450555324554, -0.09592432528734207, 0.1591881811618805, 0.07549374550580978, -0.11408841609954834, -0.609619140625, 0.11701356619596481, 0.01918332278728485, 0.030025724321603775, 0.020025847479701042, 0.28502964973449707, 0.29654189944267273, -0.25295132398605347, 0.08381278067827225, 0.21051709353923798, -0.010638214647769928, 0.009992318227887154, -0.11351402848958969, -0.033324576914310455, 0.10252219438552856, -0.23803696036338806, -0.5840274691581726, 0.15085497498512268, 0.2513342499732971, 0.18054114282131195, 0.03599965572357178, -0.08160257339477539, 0.2904018759727478, 0.03357059881091118, 0.3547915816307068, 0.2831854224205017, -0.10929213464260101, 0.17407669126987457, 0.22050529718399048, 0.016032671555876732, 0.07665012776851654, -0.038384195417165756, 0.15121138095855713, -0.15213030576705933, -0.38466253876686096, 0.2989615499973297, 0.06773972511291504, 0.05792577564716339, -0.46291235089302063, 0.23362097144126892, -0.08757217228412628, 0.16118189692497253, -0.05037758871912956, 0.4332948327064514, -0.02391548454761505, -0.22025775909423828, 0.20895150303840637, -0.016921013593673706, -0.23945952951908112, 0.06535731256008148, 0.09062942117452621, -0.3503522574901581, -0.08538204431533813, 0.2086029350757599, 0.3871750235557556, -0.09172037988901138, 0.4359104633331299, 0.16440874338150024, 0.021009504795074463, -0.3603196144104004, 0.004708521068096161, 0.2540980577468872, -0.5349709391593933, -0.42960333824157715, -0.29171648621559143, -0.08900481462478638, 0.013427047058939934, 0.12249717116355896, 0.15379346907138824, 0.11347566545009613, -0.04148726537823677, -0.3602844774723053, 0.05931653082370758, 0.09035337716341019, 0.14790059626102448, 0.05613565444946289, 0.38430291414260864, -0.05856100842356682, 0.03134016692638397, 0.15421690046787262, -0.4637996554374695, -0.004670661874115467, -0.43458637595176697, 0.04391190782189369, -0.09892908483743668, 0.06028001755475998, 0.046554986387491226, -0.09740749001502991, 0.18840552866458893, 0.032015591859817505, -0.3083992600440979, -0.24148720502853394, -0.10645924508571625, 0.07695343345403671, -0.2829577922821045, 0.13079768419265747, -0.14440621435642242, -0.05002197250723839, 0.2734057307243347, 0.018259402364492416, -0.00860628578811884, 0.24813246726989746, 0.018942050635814667, 0.06640385091304779, -0.04362640157341957, -0.1215883418917656, -0.1537153124809265, -0.0437755212187767, 0.28195127844810486, 0.2100532203912735, 0.10772756487131119, 0.32731151580810547, 0.06249134987592697, -0.20763511955738068, 0.10329438745975494, 0.3366992175579071, 0.35185569524765015, 0.357838898897171, -0.04166216403245926, 0.004749413579702377, 0.3087182343006134, -0.25606808066368103, 0.2021256983280182, 0.25646287202835083, -0.36835572123527527, -0.2222488671541214, 0.08785794675350189, 0.2864883840084076, -0.36437514424324036, -0.11554189026355743, 0.18644949793815613, -0.07907290756702423, 0.0663641095161438, 0.4676612317562103, 0.3168652057647705, 0.16444604098796844, 0.5262885093688965, -0.034438252449035645, 0.5789139270782471, -0.31896722316741943, -0.04543529823422432, -0.1323586404323578, -0.3350774049758911, 0.053580183535814285, -0.05344546586275101, 0.1389995664358139, 0.12160258740186691, 0.031612321734428406, -0.12385711818933487, 0.26923665404319763, 0.20360645651817322, 0.1946072280406952, -0.026044875383377075, -0.26648926734924316, 0.49129346013069153, 0.06734449416399002, 0.04523231461644173, 0.23751097917556763, 0.14944952726364136, 0.20629581809043884, -0.013115518726408482, -0.02105095051229, -0.1576211005449295, 0.2244107574224472, 0.037634965032339096, -0.21579255163669586, -0.24672427773475647, -0.20066943764686584, -0.3731849789619446, -0.17950144410133362, 0.12380777299404144, -0.013716384768486023, -0.004687570035457611, -0.0142345130443573, 0.051130592823028564, -0.0012777280062437057, -0.1945306658744812, -0.049594879150390625, -0.14634886384010315, -0.29976320266723633, 0.45131462812423706, 0.4108569622039795, -0.20358046889305115, 0.11870522797107697, 0.12720784544944763, 0.4712395966053009, 0.14471659064292908, -0.09456920623779297, 0.11075824499130249, -0.1242903620004654, 0.007907265797257423, -0.1038513109087944, 0.19448934495449066, 0.2113252431154251, 0.06762557476758957, 0.2509717643260956, 0.22967728972434998, -0.17014117538928986, 0.3052433431148529, 0.43113115429878235, 0.14513708651065826, 0.13153663277626038, 0.056127455085515976, 0.035828396677970886, 0.18898805975914001, -0.2738822400569916, 0.2108510434627533, -0.5567613244056702, -0.038252606987953186, 0.27337023615837097, 0.031548891216516495, -0.004551979713141918, 0.08543859422206879, 0.14190419018268585, 0.2787726819515228, 0.6149224638938904, 0.41215264797210693, 0.10236871987581253, 0.18447579443454742, -0.2318984419107437, -0.4523193836212158, 0.31741905212402344, -0.19074715673923492, -0.08219414204359055, -0.11430836468935013, 0.20631693303585052, 0.5119841694831848, 0.16980211436748505, 0.22020021080970764, -0.10353607684373856, -0.1472647339105606, -0.09645599126815796, -0.32185718417167664, 0.04560083895921707, 0.14851945638656616, 0.2288314551115036, 0.014878958463668823, 0.014519773423671722, -0.1261889487504959, -0.16487081348896027, 0.21064019203186035, -0.06103048473596573, -0.36921435594558716, 0.06443697214126587, -0.18830710649490356, 0.4271535277366638, -0.07536536455154419, 0.4346991777420044, -0.35940998792648315, 0.14499154686927795, 0.11379972100257874, -0.1564173847436905, -0.00881353858858347, 0.44845083355903625, 0.3462202847003937, -0.11044346541166306, -0.11573167890310287, -0.46785613894462585, -0.1000594049692154, 0.06335822492837906, 0.04437096416950226, 0.3133121430873871, -0.2864542603492737, 0.01324547827243805, 0.14571529626846313, -0.07793325185775757, -0.22895057499408722, 0.1432768702507019, 0.12426922470331192, 0.028262922540307045, -0.17412370443344116, -0.17659108340740204, 0.39291441440582275, 0.18035560846328735, -0.25602632761001587, -0.30797040462493896, 0.21040862798690796, 0.10376241058111191, 0.17406396567821503, -0.5980170965194702, 0.1723388135433197, 0.18434636294841766, 0.2463216483592987, -0.26147645711898804, 0.08515860140323639, -0.3228991627693176, -0.06160176545381546, -0.1097278743982315, -0.08163274824619293, 0.02500852569937706, -0.17842181026935577, -0.0646967738866806, -0.26577305793762207 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
I've resolved some requirements, but I cannot create dummy data. The dataset works as follows: for each language pair `<lang1>-<lang2>` 3 files are downloaded: - dataset for `<lang1>` - dataset for `<lang2>` - alignments between `<lang1>` and `<lang2>` Suppose we work with the `bg-cs` language pair. Then, the dataset will download three `gzip` files which should be decompressed. I do not understand the relation between the folders created by the script to create dummy data and the original data provided by the download manager.
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
84
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. I've resolved some requirements, but I cannot create dummy data. The dataset works as follows: for each language pair `<lang1>-<lang2>` 3 files are downloaded: - dataset for `<lang1>` - dataset for `<lang2>` - alignments between `<lang1>` and `<lang2>` Suppose we work with the `bg-cs` language pair. Then, the dataset will download three `gzip` files which should be decompressed. I do not understand the relation between the folders created by the script to create dummy data and the original data provided by the download manager.
[ 0.11395181715488434, -0.15559977293014526, 0.01481698825955391, 0.46367335319519043, -0.14724715054035187, -0.08995278179645538, 0.19463315606117249, -0.15985848009586334, 0.2767239511013031, 0.10870780795812607, -0.19133828580379486, -0.014073697850108147, -0.10167761892080307, -0.22964316606521606, 0.06521154940128326, -0.15841007232666016, 0.14408233761787415, 0.021802209317684174, -0.20723941922187805, -0.30364108085632324, -0.252302885055542, 0.22960177063941956, -0.12473388761281967, -0.25832927227020264, 0.2512015104293823, 0.29265034198760986, -0.43852272629737854, 0.42230692505836487, -0.37991514801979065, -0.22182030975818634, 0.11495445668697357, 0.168934166431427, 0.27493301033973694, 0.406231164932251, -0.00013188378943596035, -0.10192045569419861, 0.04839038848876953, -0.2972661256790161, -0.21084821224212646, -0.20652304589748383, -0.1606256514787674, -0.25763049721717834, -0.10639365762472153, -0.16114869713783264, 0.09960991889238358, -0.24938835203647614, 0.011695029214024544, -0.5846709609031677, 0.23410731554031372, 0.2815883755683899, 0.019923683255910873, 0.1592348963022232, -0.21393908560276031, -0.08442045748233795, 0.21997734904289246, 0.3416820764541626, -0.1411104053258896, -0.10269644856452942, 0.24968525767326355, 0.3085993230342865, 0.23190855979919434, 0.0628134161233902, 0.10785987973213196, -0.056472133845090866, -0.1956137716770172, 0.15949851274490356, 0.033320751041173935, -0.469142347574234, 0.17686206102371216, 0.2571569085121155, 0.5448316335678101, -0.44637832045555115, -0.25148165225982666, 0.1174657866358757, -0.097450390458107, 0.34682053327560425, -0.02878452092409134, 0.33869001269340515, -0.021484695374965668, 0.08426366746425629, 0.2885761559009552, -0.16699032485485077, -0.013151992112398148, 0.10417613387107849, -0.0771322250366211, 0.3453371524810791, 0.039421044290065765, 0.20544111728668213, 0.24404878914356232, 0.15118776261806488, 0.23668476939201355, -0.4599219262599945, 0.1561574637889862, 0.5484148263931274, 0.037637583911418915, 0.08634151518344879, -0.1051316037774086, -0.005919165909290314, 0.2700904905796051, 0.12969398498535156, 0.08142245560884476, 0.017964567989110947, -0.0281435064971447, 0.11069967597723007, -0.01809663325548172, -0.044583920389413834, -0.14748096466064453, 0.12113567441701889, -0.08655503392219543, -0.29574722051620483, 0.6471028327941895, -0.001257631927728653, -0.3332854211330414, -0.15651029348373413, -0.18816561996936798, 0.346294105052948, 0.03596160188317299, 0.16688738763332367, -0.04877762496471405, 0.22340786457061768, -0.050694238394498825, -0.17128758132457733, -0.1025451049208641, 0.13680225610733032, -0.10236806422472, 0.015626700595021248, 0.012252632528543472, 0.4135855436325073, -0.22608691453933716, -0.08408211916685104, -0.05150176212191582, -0.00351141020655632, -0.22794748842716217, -0.12180065363645554, 0.3303791284561157, -0.015342514961957932, -0.029049566015601158, 0.26919063925743103, -0.18550194799900055, 0.025092877447605133, 0.5787777900695801, -0.46329712867736816, 0.4766092896461487, 0.14645534753799438, 0.35255053639411926, 0.1934652477502823, -0.14989112317562103, -0.3420296311378479, -0.16867579519748688, 0.39516758918762207, -0.3604600727558136, -0.13847540318965912, -0.4192831218242645, -0.001897231675684452, -0.1992989182472229, 0.2848502993583679, -0.1312868893146515, 0.4818743169307709, -0.09557505697011948, -0.25792622566223145, -0.0256522074341774, -0.08283187448978424, -0.2836654484272003, -0.19840548932552338, 0.30856427550315857, 0.876847505569458, -0.6510857939720154, -0.10402794182300568, -0.18874512612819672, -0.18191765248775482, 0.4819447696208954, 0.22601039707660675, -0.157921701669693, 0.24768513441085815, -0.2545904219150543, 0.26265954971313477, 0.4356788694858551, -0.244576558470726, -0.08028595894575119, 0.01770918257534504, -0.07242100685834885, 0.24880702793598175, 0.4633529782295227, -0.03796789050102234, 0.1396704912185669, -0.08010655641555786, -0.14796318113803864, 0.21769845485687256, -0.0520256906747818, 0.07737970352172852, -0.06754431873559952, 0.14701496064662933, 0.4720655083656311, 0.0422394834458828, 0.0485043078660965, -0.03220753371715546, -0.020297519862651825, -0.042871855199337006, 0.13015371561050415, -0.04125768318772316, 0.5331830382347107, 0.33060282468795776, -0.04555043205618858, -0.1313290148973465, 0.28600558638572693, 0.2799094319343567, -0.4857788681983948, 0.11346327513456345, -0.24695633351802826, 0.3165992796421051, -0.12663938105106354, -0.15905281901359558, -0.23197585344314575, -0.37649694085121155, -0.1550237238407135, -0.0658821314573288, -0.029604777693748474, 0.3369612991809845, -0.03418482095003128, -0.094657301902771, -0.05436813831329346, 0.24376021325588226, 0.20224949717521667, -0.008433077484369278, -0.47217443585395813, 0.32689645886421204, -0.22379820048809052, 0.1772347241640091, -0.23709261417388916, 0.2641966640949249, 0.050558075308799744, -0.3310658037662506, 0.2910703420639038, 0.10577032715082169, 0.45211613178253174, 0.26893851161003113, 0.42094144225120544, -0.37937837839126587, 0.15223249793052673, -0.3049654960632324, 0.4229173958301544, 0.23117229342460632, 0.3142913579940796, -0.09139490127563477, -0.17951232194900513, 0.17522235214710236, 0.26496127247810364, -0.10834553092718124, 0.025969550013542175, -0.4191645085811615, 0.2963379919528961, 0.014408942312002182, -0.0982353463768959, -0.3743317723274231, 0.25606465339660645, 0.3671451508998871, 0.549851655960083, 0.2391005903482437, -0.35381612181663513, 0.12394102662801743, 0.30118826031684875, -0.15166643261909485, 0.08335094153881073, 0.20088130235671997, -0.06260795146226883, -0.3702000379562378, -0.20687171816825867, 0.06017281487584114, 0.4729713797569275, -0.06231841817498207, 0.430563360452652, 0.1091490313410759, 0.024809733033180237, -0.037051014602184296, 0.12129449844360352, -0.16665460169315338, -0.26812994480133057, 0.5621145367622375, -0.24859118461608887, -0.012630670331418514, -0.25989001989364624, -0.07152405381202698, 0.33697494864463806, 0.2621994614601135, -0.25415119528770447, -0.15683798491954803, -0.12125230580568314, -0.06909766048192978, -0.5356430411338806, -0.11359843611717224, -0.2130214124917984, 0.009730271995067596, 0.021331947296857834, -0.2571963965892792, -0.0974278599023819, -0.004444931633770466, 0.15485772490501404, 0.3967388868331909, -0.404170960187912, -0.0239949282258749, -0.30973678827285767, -0.1906895786523819, -0.1970055103302002, -0.0535021647810936, 0.0507461242377758, 0.19410769641399384, -0.00010606087744235992, -0.5471181869506836, 0.03331063315272331, -0.024753162637352943, -0.382636159658432, 0.23444922268390656, 0.13160866498947144, -0.03086896426975727, 0.06760751456022263, 0.026100777089595795, 0.10950548946857452, 0.12461426854133606, -0.020392263308167458, 0.023295676335692406, -0.3134094476699829, -0.017653055489063263, -0.2229691445827484, -0.10090295225381851, -0.20075355470180511, -0.49873873591423035, -0.6073019504547119, 0.00982394814491272, -0.27665847539901733, -0.019136758521199226, 0.1090293675661087, -0.40569978952407837, 0.025403641164302826, -0.11818869411945343, 0.24324391782283783, 0.011909518390893936, -0.5433167219161987, -0.05876563861966133, 0.2452993243932724, -0.40696728229522705, -0.1465621441602707, -0.14107944071292877, -0.3021567463874817, 0.18561340868473053, 0.17738503217697144, -0.11751663684844971, 0.12236841768026352, 0.23025037348270416, -0.3466062545776367, -0.3168925344944, 0.21341784298419952, 0.48792052268981934, 0.15951643884181976, 0.13078062236309052, -0.2744317054748535, -0.1444028615951538, -0.09054449945688248, 0.19339847564697266, 0.2935541570186615, -0.18950727581977844, -0.11378493160009384, -0.051826972514390945, 0.6252962946891785, 0.17565101385116577, 0.25417935848236084, 0.19285543262958527, 0.12964007258415222, 0.5660226345062256, -0.08304715901613235, -0.06656518578529358, -0.06437139213085175, 0.23069466650485992, 0.15561246871948242, 0.35912400484085083, 0.07487394660711288, -0.2453814297914505, -0.12214940786361694, 0.08038626611232758, -0.32106441259384155, -0.1135740876197815, 0.35794681310653687, 0.17259512841701508, 0.18426871299743652, 0.0741344541311264, -0.265553742647171, -0.25381574034690857, -0.025016698986291885, -0.31579503417015076, 0.3520684838294983, 0.0740542933344841, 0.21054288744926453, -0.3741224408149719, 0.19762341678142548, -0.4761415719985962, 0.2905566096305847, 0.30021393299102783, 0.30030182003974915, 0.004851255565881729, 0.0480310395359993, 0.11390683054924011, 0.0372016541659832, 0.47879624366760254, -0.48063117265701294, -0.2448074072599411, -0.06315764784812927, 0.18885646760463715, -0.732411801815033, 0.08632934093475342, -0.37334272265434265, 0.1420251876115799, 0.10157403349876404, 0.09499502927064896, -0.5501129031181335, -0.1543627828359604, -0.14108651876449585, 0.5863751173019409, -0.10244546830654144, -0.12290117144584656, -0.3528097867965698, -0.5457276701927185, -0.10294273495674133, -0.10757272690534592, 0.1648087501525879, -0.12546692788600922, 0.07716374099254608, -0.07706105709075928, 0.12984506785869598, 0.0679926872253418, 0.21297365427017212, -0.14730048179626465, 0.37589696049690247, 0.16863176226615906, -0.004111412912607193, -0.00008955970406532288, -0.14425067603588104, 0.33187922835350037, 0.7972664833068848, -0.3068813681602478, -0.07066459953784943, 0.34304559230804443, -0.2996100187301636, 0.24077126383781433, 0.38170868158340454, 0.25202250480651855, 0.1669471263885498, -0.07542992383241653, -0.23548735678195953, -0.40300729870796204, 0.27716064453125, 0.30685555934906006, -0.020169660449028015, -0.4089641571044922, -0.3407343327999115, -0.11917822808027267, 0.1549910306930542, -0.18109703063964844, 0.27851152420043945, -0.14360372722148895, -0.24791134893894196, 0.37876588106155396, -0.018470950424671173, 1.2131001949310303, 0.06960099935531616, 0.31064239144325256, -0.22428098320960999, -0.03339660167694092, 0.19538716971874237, -0.2678358256816864, -0.038392867892980576, -0.31127893924713135, 0.06753357499837875, -0.28672653436660767, -0.10955160856246948, 0.26523539423942566, 0.11192674189805984, -0.2963271737098694, 0.00842425599694252, -0.1597060263156891, 0.20718705654144287, 0.09383858740329742, 0.44919151067733765, 0.036037299782037735, -0.1854056715965271, 0.6169233918190002, -0.048134706914424896, 0.23955951631069183, 0.04263027012348175, -0.04898472875356674, 0.07032439112663269, -0.15515299141407013, -0.17670930922031403, -0.19586515426635742, -0.0002849847078323364, -0.1385701298713684, 0.016169723123311996, -0.10081495344638824, -0.24537377059459686, -0.01443419512361288, 0.13022124767303467, 0.2540515661239624, 0.11248856782913208, 0.02312965877354145, 0.05324000120162964, -0.05243586748838425, 0.14309684932231903, 0.09138025343418121, -0.2757194936275482, -0.05779726058244705, 0.09594189375638962, -0.29067304730415344, -0.05145077407360077, -0.14435623586177826, 0.23100925981998444, -0.3496167063713074, 0.07949793338775635, -0.08915704488754272, -0.13507536053657532, -0.17083069682121277, 0.1632450968027115, -0.15641255676746368, -0.05466131865978241, -0.021814648061990738, 0.17399318516254425, -0.11974585056304932, 0.26700952649116516, -0.24799282848834991, -0.3877772390842438, -0.18259108066558838, 0.38249510526657104, 0.3021460175514221, 0.2758352756500244, 0.20292426645755768, -0.2001044899225235, 0.0013700351119041443, -0.08404961973428726, 0.013407863676548004, 0.24170787632465363, -0.3905569911003113, -0.1483411192893982, -0.1213519275188446, -0.23408742249011993, -0.056784097105264664, -0.17107796669006348, 0.07343877106904984, 0.05145879089832306, -0.3636609613895416, -0.44945672154426575, -0.017060138285160065, -0.031440094113349915, 0.28741255402565, 0.14974766969680786, 0.3728986084461212, -0.10863327980041504, 0.26281681656837463, 0.12590350210666656, -0.18122537434101105, 0.22712479531764984, -0.11870399117469788, 0.2991113066673279, -0.09673941880464554, -0.06027958542108536, 0.025274403393268585, -0.18798594176769257, -0.08725113421678543, 0.052677273750305176, -0.23532390594482422, 0.01708552986383438, -0.24022343754768372, 0.2661031186580658, -0.10030245780944824, 0.002879826817661524, 0.044253941625356674, -0.23093482851982117, -0.05223887041211128, -0.14699307084083557, 0.03211713954806328, 0.2548007667064667, -0.10379163920879364, 0.053656551986932755, -0.080513134598732, -0.05665691941976547, -0.3765908479690552, 0.024752188473939896, 0.2058815062046051, 0.23812860250473022, 0.03175215423107147, 0.21693874895572662, -0.0167238712310791, -0.04681278020143509, 0.12551021575927734, 0.2712821662425995, 0.368435800075531, 0.19632446765899658, 0.04026273265480995, 0.2648261785507202, 0.4189068078994751, -0.49716079235076904, 0.282659649848938, 0.43857648968696594, -0.1595204919576645, -0.11845211684703827, 0.30387595295906067, -0.06255462020635605, -0.13715152442455292, -0.2072577178478241, 0.08317767083644867, 0.012730490416288376, 0.12761975824832916, 0.5041718482971191, 0.3987586796283722, 0.3063196539878845, 0.3894614577293396, -0.2954811453819275, 0.5919451117515564, 0.10030549764633179, 0.014643924310803413, 0.04928387328982353, -0.347150057554245, 0.4207935631275177, 0.16162846982479095, 0.17578282952308655, 0.04923089221119881, -0.0519925057888031, 0.004644207656383514, 0.41047415137290955, 0.1773717999458313, 0.022401180118322372, -0.09261194616556168, -0.3815014064311981, 0.23908033967018127, 0.28148767352104187, 0.2916274070739746, 0.26269200444221497, 0.2168511152267456, 0.37646108865737915, -0.2548728287220001, -0.090802863240242, -0.2551402449607849, 0.15676647424697876, -0.03976485878229141, -0.3473028242588043, -0.28708699345588684, -0.19517573714256287, -0.3997142016887665, -0.08187198638916016, 0.1348191350698471, -0.0806979238986969, 0.11601996421813965, -0.008787594735622406, 0.12025471776723862, 0.06648450344800949, -0.22274595499038696, 0.06268851459026337, -0.36572715640068054, -0.09859071671962738, 0.4522187113761902, 0.2780412435531616, 0.014759037643671036, 0.09337503463029861, 0.17552447319030762, 0.3073413372039795, 0.13729676604270935, -0.1509292870759964, 0.012656908482313156, 0.18980561196804047, 0.07310064136981964, -0.15895771980285645, 0.3229617476463318, 0.24458496272563934, -0.15700848400592804, 0.28900617361068726, -0.038936588913202286, -0.01930074393749237, -0.1079445332288742, 0.6773227453231812, 0.0038225678727030754, 0.08705723285675049, 0.364623099565506, -0.24081078171730042, 0.25447118282318115, 0.047789931297302246, -0.05100663751363754, -0.5791015625, -0.11346856504678726, 0.4224877953529358, -0.2268083393573761, 0.051672130823135376, -0.12318174540996552, -0.052574750036001205, 0.2623578906059265, 0.5416204333305359, 0.17550724744796753, 0.10216151177883148, -0.29994985461235046, -0.2960174083709717, -0.5676238536834717, 0.33922335505485535, -0.2835560142993927, -0.18373876810073853, -0.21217522025108337, 0.1716872602701187, 0.1742546409368515, 0.31866055727005005, 0.07515588402748108, 0.23331421613693237, 0.17849597334861755, -0.050626903772354126, -0.28556543588638306, -0.0023248568177223206, -0.15938714146614075, 0.20732510089874268, -0.1120295375585556, -0.48328927159309387, -0.07805824279785156, 0.08635278046131134, -0.04031971096992493, -0.10481221973896027, -0.2608603835105896, -0.002429049462080002, 0.08137329667806625, 0.41583436727523804, -0.08028219640254974, 0.4752601981163025, -0.2763904929161072, 0.2641984522342682, 0.16622856259346008, 0.33218395709991455, 0.004962342791259289, 0.2870400846004486, 0.29515793919563293, -0.22038762271404266, -0.47965529561042786, -0.270309716463089, -0.10841737687587738, -0.04885946586728096, 0.2831108570098877, 0.6188286542892456, -0.3903897702693939, 0.30404308438301086, -0.2537339925765991, -0.3147069811820984, 0.013204340822994709, 0.3433161675930023, 0.02965632453560829, 0.02268577180802822, -0.029844962060451508, -0.031421124935150146, 0.29573994874954224, 0.36222949624061584, -0.058797016739845276, -0.3454032242298126, 0.010026440024375916, 0.12761175632476807, 0.19178640842437744, -0.4557715356349945, 0.40918734669685364, 0.14068937301635742, 0.028542643412947655, -0.12959985435009003, -0.002487197518348694, -0.32833629846572876, -0.1548956036567688, -0.09024352580308914, -0.03659243881702423, 0.25722524523735046, -0.15549887716770172, 0.13378262519836426, -0.21010248363018036 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
Hi ! Indeed the data files structure of this dataset looks very specific. The command `datasets-cli dummy_data ./datasets/europarl_bilingual` shows some instructions for each split but let me add more details. First things to know is that the dummy data files need to be uncompressed data, so for example for the file `bg.zip` you should actually have one folder with all the xml files in it instead. In the same way, `bg-cs.xml.gz` must be replaced by an actual uncompressed xml file. Let's take the bg-cs config as an example. To make the dummy data you need to: - go to `./datasets/europarl_bilingual/dummy/bg-cs/8.0.0` and create a folder named `dummy_data`. Then go inside this folder - create a text file named `bg-cs.xml.gz` containing xml content (so without .gz compression). The xml content must have the same structure as the original `bg-cs.zml` but only include 1 `linkGrp` entry. You can pick one entry from the original `bg-cs.xml` file. Let's say this entry is about this file: `ep-06-01-16-003.xml` - create a folder named `bg.zip` and inside this folder add one file Europarl/raw/bg/ep-06-01-16-003.xml. You can pick the xml file from the original `bg.zip` archive. - create a folder named `cs.zip` and inside this folder add one file Europarl/raw/cs/ep-06-01-16-003.xml. You can pick the xml file from the original `cs.zip` archive. - zip the `dummy_data` into `dummy_data.zip` At this point you have dummy data files to generate 1 example which is what we want to be able to test the dataset script `europarl_bilingual.py` with pytest. In particular this will make this test pass: ``` pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_europarl_bilingual ``` Ideally it would be awesome to have dummy data for all the different configs so if we manage to make a script that generates all of it automatically that would be perfect. However since the structure is not trivial, another option would be to only have the dummy data for only 1 or 2 configs, like what we do for [bible_para](https://github.com/huggingface/datasets/blob/master/datasets/bible_para/bible_para.py) for example. In `bible_para` only a few configurations are tested. As you can see there is only 6 configs in the `BUILDER_CONFIGS` attribute. All the other configs can still be used, here is what is said inside the dataset card of bible_para: ``` To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs. You can find the valid pairs in Homepage section of Dataset Description: http://opus.nlpl.eu/bible-uedin.php E.g. `dataset = load_dataset("bible_para", lang1="fi", lang2="hi")` ``` In this case the configuration "fi-hi" is simply created on the fly, instead of being picked from the `BUILDER_CONFIGS` list. I hope this helps, let me know if you have questions or if I can help
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
441
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. Hi ! Indeed the data files structure of this dataset looks very specific. The command `datasets-cli dummy_data ./datasets/europarl_bilingual` shows some instructions for each split but let me add more details. First things to know is that the dummy data files need to be uncompressed data, so for example for the file `bg.zip` you should actually have one folder with all the xml files in it instead. In the same way, `bg-cs.xml.gz` must be replaced by an actual uncompressed xml file. Let's take the bg-cs config as an example. To make the dummy data you need to: - go to `./datasets/europarl_bilingual/dummy/bg-cs/8.0.0` and create a folder named `dummy_data`. Then go inside this folder - create a text file named `bg-cs.xml.gz` containing xml content (so without .gz compression). The xml content must have the same structure as the original `bg-cs.zml` but only include 1 `linkGrp` entry. You can pick one entry from the original `bg-cs.xml` file. Let's say this entry is about this file: `ep-06-01-16-003.xml` - create a folder named `bg.zip` and inside this folder add one file Europarl/raw/bg/ep-06-01-16-003.xml. You can pick the xml file from the original `bg.zip` archive. - create a folder named `cs.zip` and inside this folder add one file Europarl/raw/cs/ep-06-01-16-003.xml. You can pick the xml file from the original `cs.zip` archive. - zip the `dummy_data` into `dummy_data.zip` At this point you have dummy data files to generate 1 example which is what we want to be able to test the dataset script `europarl_bilingual.py` with pytest. In particular this will make this test pass: ``` pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_europarl_bilingual ``` Ideally it would be awesome to have dummy data for all the different configs so if we manage to make a script that generates all of it automatically that would be perfect. However since the structure is not trivial, another option would be to only have the dummy data for only 1 or 2 configs, like what we do for [bible_para](https://github.com/huggingface/datasets/blob/master/datasets/bible_para/bible_para.py) for example. In `bible_para` only a few configurations are tested. As you can see there is only 6 configs in the `BUILDER_CONFIGS` attribute. All the other configs can still be used, here is what is said inside the dataset card of bible_para: ``` To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs. You can find the valid pairs in Homepage section of Dataset Description: http://opus.nlpl.eu/bible-uedin.php E.g. `dataset = load_dataset("bible_para", lang1="fi", lang2="hi")` ``` In this case the configuration "fi-hi" is simply created on the fly, instead of being picked from the `BUILDER_CONFIGS` list. I hope this helps, let me know if you have questions or if I can help
[ -0.16128772497177124, -0.10535461455583572, -0.05668218806385994, 0.24920107424259186, -0.11346183717250824, -0.103282131254673, -0.07075630128383636, 0.11789023876190186, 0.29949676990509033, 0.1764807105064392, -0.21009761095046997, 0.12432445585727692, -0.14885833859443665, -0.09935681521892548, 0.14526714384555817, -0.10194821655750275, -0.060356505215168, 0.2128935605287552, -0.20343175530433655, -0.09610556066036224, -0.2040686011314392, 0.3043295443058014, -0.02566177397966385, -0.22827480733394623, 0.32079753279685974, 0.24885080754756927, -0.3337247967720032, 0.3047642111778259, -0.08115225285291672, -0.23280933499336243, -0.029961658641695976, 0.0997067242860794, 0.20894871652126312, 0.34572407603263855, -0.00010409951937617734, -0.1814415454864502, -0.12945885956287384, -0.23520368337631226, -0.19344472885131836, -0.2298990935087204, -0.3257966935634613, -0.3153533637523651, -0.2346881926059723, -0.1921049952507019, -0.13391602039337158, -0.34517285227775574, -0.10918807983398438, -0.41618555784225464, 0.4631723165512085, 0.20128624141216278, 0.2497483789920807, 0.002704611048102379, -0.1762462854385376, -0.22841228544712067, 0.2749122977256775, 0.19754981994628906, -0.060658372938632965, -0.18761195242404938, 0.6111263036727905, 0.3445243835449219, 0.19516010582447052, 0.40459293127059937, -0.029216324910521507, -0.15727974474430084, -0.2666377127170563, -0.09687277674674988, -0.024716883897781372, -0.35112568736076355, 0.2660612463951111, 0.5069580674171448, 0.2882612943649292, -0.273206889629364, -0.14578719437122345, 0.0680597797036171, -0.0021965024061501026, 0.09576676040887833, -0.026255182921886444, 0.12962836027145386, -0.06191812455654144, 0.21560893952846527, 0.1986374855041504, -0.3206895887851715, 0.1006135642528534, -0.035947203636169434, -0.053594548255205154, 0.4955280125141144, -0.005187471397221088, 0.01734759658575058, 0.18630161881446838, -0.032948724925518036, 0.1900116503238678, -0.040737323462963104, 0.0657934918999672, 0.3996339440345764, -0.04299810901284218, 0.08057297766208649, -0.12741851806640625, -0.0271327942609787, 0.28949183225631714, 0.10950663685798645, 0.20257824659347534, 0.25619760155677795, -0.009089823812246323, 0.1998361051082611, -0.16169121861457825, -0.14001379907131195, 0.03006802871823311, -0.12421537935733795, -0.046097420156002045, -0.39708012342453003, 0.47290897369384766, 0.18916839361190796, -0.34402671456336975, -0.296511709690094, -0.3526393473148346, 0.25098589062690735, -0.015465300530195236, 0.06593111157417297, -0.003803849220275879, 0.04874183610081673, -0.05412578582763672, -0.03674439340829849, 0.08673730492591858, 0.12477848678827286, -0.12909932434558868, -0.08993863314390182, 0.059796035289764404, 0.1406899094581604, -0.22645162045955658, -0.2737800180912018, -0.18295730650424957, 0.11732946336269379, -0.10727275907993317, 0.11639995872974396, 0.3177744150161743, 0.04721284657716751, -0.104481041431427, 0.18836131691932678, -0.17004360258579254, 0.12725262343883514, 0.2195209562778473, -0.1463989019393921, 0.3206392228603363, -0.06486271321773529, 0.3656410276889801, 0.11623204499483109, -0.08284555375576019, -0.2834237813949585, -0.411703497171402, 0.14052152633666992, -0.39305534958839417, -0.09297524392604828, -0.4876403212547302, 0.2346985936164856, -0.2762209177017212, 0.10219384729862213, 0.009715527296066284, 0.6214326024055481, -0.01280704140663147, -0.37140369415283203, -0.09202640503644943, -0.07538154721260071, -0.3367689847946167, -0.027145715430378914, 0.4986831247806549, 0.6277518272399902, -0.6041813492774963, -0.09586001932621002, 0.041007377207279205, 0.05200400948524475, 0.4976576268672943, 0.17360268533229828, -0.18772175908088684, 0.034006692469120026, -0.19857564568519592, 0.4373035430908203, 0.31502410769462585, -0.14587700366973877, -0.016937006264925003, 0.1845339983701706, -0.044149383902549744, 0.05477212369441986, 0.26179182529449463, -0.206224724650383, 0.34835365414619446, -0.09166545420885086, 0.015447113662958145, 0.4491528868675232, -0.1243821382522583, 0.14468945562839508, -0.16987502574920654, 0.06233011186122894, 0.40402716398239136, 0.10732187330722809, -0.011665131896734238, -0.2794538736343384, 0.15687903761863708, 0.2346673309803009, 0.20160645246505737, -0.18530605733394623, 0.5306568741798401, 0.4655234217643738, -0.03153844550251961, -0.10490584373474121, 0.22169503569602966, 0.028590857982635498, -0.2209976613521576, 0.13775941729545593, -0.08806851506233215, 0.41279059648513794, -0.26144856214523315, -0.14944970607757568, -0.2637701630592346, -0.38416698575019836, -0.2250257283449173, -0.16086120903491974, 0.2495546042919159, 0.17226678133010864, -0.002788480371236801, -0.10645933449268341, 0.09053312242031097, 0.1188729852437973, 0.08405465632677078, -0.19493737816810608, -0.4609023332595825, 0.40590164065361023, -0.1690807342529297, 0.005332369357347488, -0.14875733852386475, 0.33128345012664795, -0.003051839768886566, -0.21093274652957916, 0.13864660263061523, 0.22668984532356262, 0.17758305370807648, 0.2011243999004364, 0.39501529932022095, -0.2977377772331238, 0.20282571017742157, -0.5172926783561707, 0.2783687114715576, -0.046707313507795334, 0.14087045192718506, -0.07882598042488098, -0.11176418513059616, 0.05037561058998108, 0.02671053633093834, 0.05461916700005531, 0.13946324586868286, -0.09888751059770584, 0.3969515562057495, -0.06718781590461731, -0.20669370889663696, -0.2853158712387085, 0.13089095056056976, 0.26056599617004395, 0.341939240694046, 0.17705059051513672, -0.47403791546821594, 0.19701269268989563, 0.4838632047176361, 0.004154685884714127, 0.10194679349660873, -0.021820224821567535, -0.13651174306869507, -0.17425894737243652, -0.08097881078720093, 0.14560028910636902, 0.13725906610488892, 0.22426564991474152, 0.4562244415283203, -0.0057330261915922165, 0.00025811418890953064, -0.045883990824222565, 0.18124574422836304, -0.1624482125043869, 0.05473249405622482, 0.309139609336853, -0.17841076850891113, 0.012128554284572601, -0.27569639682769775, -0.30229848623275757, 0.21712936460971832, 0.08859020471572876, 0.005155008286237717, -0.06524515897035599, -0.36836349964141846, -0.014678416773676872, -0.7158957123756409, -0.41733139753341675, -0.24465858936309814, 0.013299129903316498, 0.31610506772994995, -0.43246591091156006, -0.10040770471096039, 0.39489561319351196, 0.14841939508914948, 0.34430527687072754, -0.2946169674396515, -0.22975750267505646, -0.13345035910606384, -0.1599372923374176, -0.36533626914024353, 0.16775178909301758, 0.09010517597198486, 0.32785120606422424, 0.03812037780880928, -0.34769830107688904, 0.04092635214328766, -0.04235530644655228, -0.5394225716590881, 0.33744016289711, -0.10630375146865845, -0.030523134395480156, 0.10602623224258423, -0.07386425137519836, 0.06366947293281555, -0.17134830355644226, 0.013674383983016014, 0.05162304639816284, -0.015780992805957794, 0.11900058388710022, -0.20063155889511108, -0.1426001638174057, -0.21886946260929108, -0.618001401424408, -0.6752793192863464, -0.2386145442724228, -0.24869586527347565, -0.07501678168773651, 0.21582093834877014, -0.24447892606258392, 0.18141724169254303, 0.10192085802555084, 0.2461688220500946, 0.04380615055561066, -0.3056063652038574, 0.12588776648044586, 0.249769389629364, -0.46587538719177246, -0.1766425371170044, -0.02160198614001274, -0.0895405039191246, 0.46849238872528076, 0.01593918725848198, -0.15719667077064514, 0.3033877909183502, 0.044510602951049805, -0.19712768495082855, -0.23447665572166443, 0.02121986635029316, 0.4829762578010559, 0.27848920226097107, -0.12915964424610138, -0.11632716655731201, 0.060970451682806015, -0.11634788662195206, -0.0641266480088234, 0.3437967896461487, -0.1116480603814125, -0.30813726782798767, 0.223465234041214, 0.38073432445526123, -0.05441943556070328, 0.24145600199699402, 0.13446739315986633, -0.056358881294727325, 0.32912343740463257, -0.14523077011108398, -0.13702183961868286, 0.03398080915212631, 0.05027247220277786, 0.04776346683502197, 0.29651498794555664, 0.1322603076696396, -0.2775392532348633, -0.17000027000904083, 0.02559199184179306, -0.23649150133132935, -0.2758987843990326, 0.3542467951774597, 0.23784931004047394, 0.15745526552200317, -0.00018000230193138123, -0.28072893619537354, -0.18591780960559845, -0.06328048557043076, -0.11256340146064758, 0.10265420377254486, -0.18581292033195496, 0.26930174231529236, -0.30762946605682373, -0.008923368528485298, -0.38988161087036133, 0.36196261644363403, 0.20012113451957703, 0.014639349654316902, -0.15668871998786926, -0.11489301919937134, -0.12657009065151215, -0.09128476679325104, 0.22079741954803467, -0.4363669455051422, -0.1982092410326004, 0.07490359246730804, 0.29026055335998535, -0.642627477645874, 0.07675842940807343, -0.4306884706020355, -0.017098912969231606, 0.3587656319141388, 0.09765946120023727, -0.40804556012153625, -0.22208887338638306, 0.06084482744336128, 0.44578760862350464, -0.08678688108921051, -0.0016809972003102303, -0.10738002508878708, -0.4204769730567932, -0.16075220704078674, 0.06905756145715714, 0.2894444465637207, 0.04571530222892761, 0.01763303391635418, -0.23426538705825806, 0.29172393679618835, 0.07824064046144485, 0.21015247702598572, 0.15382790565490723, 0.1263253390789032, 0.26341184973716736, -0.02323855273425579, -0.18844540417194366, -0.16949091851711273, 0.280275821685791, 0.6508839726448059, -0.2623598277568817, -0.19103023409843445, 0.31104087829589844, -0.36099672317504883, 0.2952204644680023, 0.2920442521572113, 0.25835737586021423, 0.2184186577796936, 0.1900516003370285, -0.056853070855140686, -0.29998788237571716, 0.2159096896648407, 0.09945478290319443, 0.005983610637485981, -0.39410117268562317, -0.44654935598373413, -0.04768572002649307, 0.17188259959220886, -0.2646113932132721, 0.23922313749790192, 0.01664673537015915, -0.3805561065673828, 0.2719927430152893, 0.08556153625249863, 1.0407639741897583, 0.06813260167837143, -0.050206247717142105, -0.1762426495552063, 0.08703762292861938, 0.3574865758419037, -0.18008342385292053, -0.15787740051746368, -0.12930172681808472, -0.016644340008497238, -0.08843189477920532, 0.19012153148651123, 0.2821768522262573, 0.13932085037231445, -0.5288267135620117, 0.025138797238469124, 0.11844365298748016, 0.05307764559984207, -0.018415182828903198, 0.36095690727233887, -0.03008129633963108, -0.4772725999355316, 0.1904739886522293, 0.18960562348365784, -0.11634974181652069, -0.13179896771907806, 0.1196100190281868, -0.0761178582906723, -0.0800352543592453, -0.2651217579841614, -0.3017100691795349, 0.20593523979187012, -0.14565280079841614, 0.03974403813481331, -0.08624972403049469, -0.18366894125938416, 0.2093111276626587, 0.04576084017753601, 0.08014142513275146, 0.23212814331054688, -0.10473598539829254, 0.1054190993309021, 0.08361978083848953, 0.030711263418197632, 0.008755498565733433, -0.1954842507839203, 0.15545307099819183, 0.01325683668255806, -0.38567182421684265, 0.09140784293413162, 0.027838416397571564, 0.2817336320877075, -0.1933823525905609, 0.005780912935733795, -0.06297054141759872, 0.0853571742773056, 0.08113592863082886, 0.38387542963027954, -0.021999262273311615, -0.2335604876279831, 0.1698424518108368, -0.1501000076532364, -0.27635008096694946, 0.13956698775291443, -0.08366397023200989, -0.300889790058136, -0.15022994577884674, 0.19285865128040314, 0.21477890014648438, -0.05507499724626541, 0.3070527911186218, 0.1606728434562683, 0.07185839861631393, -0.29180485010147095, 0.08079033344984055, 0.27265307307243347, -0.37357258796691895, -0.469821035861969, -0.295654296875, -0.14225314557552338, 0.1010327860713005, 0.12414252758026123, 0.20606406033039093, -0.046861663460731506, -0.12514635920524597, -0.2836642861366272, 0.03570596128702164, 0.1229831799864769, 0.3565751016139984, 0.11766207218170166, 0.2546599209308624, 0.015834826976060867, 0.07027457654476166, 0.25800621509552, -0.4385322332382202, 0.15571781992912292, -0.09050114452838898, 0.22516226768493652, -0.14259912073612213, -0.0027747824788093567, 0.02634599059820175, -0.01825258880853653, 0.13352347910404205, 0.0415646955370903, -0.24417325854301453, -0.22752124071121216, -0.30828818678855896, 0.08335571736097336, -0.1501617133617401, 0.03203464671969414, -0.05523094907402992, -0.059040367603302, 0.10124056041240692, -0.1488780677318573, 0.19138696789741516, 0.1920749843120575, -0.09908297657966614, 0.027492601424455643, -0.26943883299827576, -0.07733706384897232, -0.10847941040992737, -0.0780644416809082, 0.2777971625328064, 0.2587336301803589, 0.1980857253074646, 0.3302176296710968, -0.014992608688771725, -0.1792570948600769, 0.1471206098794937, 0.2830362319946289, 0.315456748008728, 0.15070012211799622, -0.0733550414443016, 0.15565669536590576, 0.22172874212265015, -0.2084852159023285, 0.2950969934463501, 0.3022116422653198, -0.14460322260856628, -0.14681284129619598, 0.22130531072616577, 0.23670858144760132, -0.26397860050201416, -0.07743434607982635, 0.09328989684581757, -0.04051269218325615, 0.21327713131904602, 0.5687099695205688, 0.4751618206501007, 0.13286790251731873, 0.4512523412704468, -0.24377083778381348, 0.6218982338905334, -0.2668631672859192, -0.11585471034049988, 0.12939274311065674, -0.35055309534072876, 0.23417818546295166, 0.0592319518327713, 0.22123150527477264, 0.304311603307724, 0.15935683250427246, -0.30022045969963074, 0.3005378544330597, 0.222509503364563, 0.26479125022888184, -0.0672040656208992, -0.2993623912334442, 0.25191885232925415, 0.08830301463603973, 0.12272699922323227, 0.18930700421333313, 0.1242130920290947, 0.46000492572784424, -0.26851192116737366, -0.0647292360663414, 0.028874749317765236, 0.29687047004699707, 0.032776251435279846, -0.16163332760334015, -0.36329641938209534, -0.14982719719409943, -0.510837733745575, -0.18979217112064362, 0.12848101556301117, -0.09083004295825958, 0.1438409388065338, -0.027704253792762756, 0.16300219297409058, -0.06426823139190674, -0.21823036670684814, -0.11810848861932755, -0.28707820177078247, -0.21533791720867157, 0.4585607051849365, 0.26549243927001953, -0.19263949990272522, 0.0838417187333107, 0.02523479051887989, 0.2736585736274719, 0.16171477735042572, -0.08061961829662323, -0.0966627225279808, -0.06670741736888885, -0.01918896660208702, -0.19795137643814087, 0.23615357279777527, 0.18778830766677856, -0.04415193572640419, 0.3638799488544464, 0.1318533718585968, -0.21889299154281616, -0.012373138219118118, 0.47950178384780884, 0.13841457664966583, 0.22603963315486908, 0.14923888444900513, 0.05374990776181221, 0.255263090133667, -0.15633219480514526, -0.02442091703414917, -0.5995022654533386, -0.08688706159591675, 0.22404049336910248, -0.09604315459728241, 0.07257454097270966, 0.10728748887777328, 0.1277506947517395, 0.34844738245010376, 0.444890558719635, 0.09355109930038452, 0.09271679818630219, -0.04210226610302925, -0.321279376745224, -0.4726699888706207, 0.21859605610370636, -0.1504255086183548, -0.05544302985072136, -0.27163925766944885, 0.18317514657974243, 0.4107149839401245, 0.18459777534008026, -0.039572760462760925, 0.10591551661491394, 0.1797151118516922, -0.10397233068943024, -0.3207344710826874, 0.014136848971247673, 0.16618220508098602, 0.24998633563518524, 0.06798218190670013, -0.1363617181777954, -0.10553653538227081, 0.10743293911218643, 0.1075466200709343, -0.16871319711208344, -0.36652496457099915, 0.0685265064239502, -0.100213423371315, 0.3971005082130432, -0.020692752674221992, 0.49979498982429504, -0.4520550072193146, 0.1028762236237526, 0.003977186977863312, 0.06478363275527954, -0.09468008577823639, 0.3695610463619232, 0.3175548017024994, -0.10428717732429504, -0.2510574460029602, -0.44441530108451843, -0.1895563304424286, -0.028617501258850098, 0.1696041077375412, 0.4522624909877777, -0.3939560353755951, 0.17600509524345398, -0.0614219531416893, -0.04340961202979088, -0.10566183179616928, 0.303972989320755, 0.04758583754301071, -0.0012059826403856277, -0.11357398331165314, -0.2620772123336792, 0.3083731532096863, 0.2747604250907898, -0.1718233972787857, -0.2896477282047272, 0.14830045402050018, 0.18420803546905518, 0.25275444984436035, -0.38591089844703674, 0.1922086775302887, 0.15372096002101898, 0.242590069770813, -0.14919140934944153, -0.00459839403629303, -0.24880146980285645, -0.14671654999256134, -0.1379132717847824, -0.1242217868566513, 0.22893184423446655, -0.18452595174312592, -0.09360744059085846, -0.3099709749221802 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
I already created the scripts to create reduced versions of the data. What I didn't understand was how to put files in the dummy_data folder because, as you noticed, some file decompress to a nested tree structure. I will now try again with your suggestions!
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
45
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. I already created the scripts to create reduced versions of the data. What I didn't understand was how to put files in the dummy_data folder because, as you noticed, some file decompress to a nested tree structure. I will now try again with your suggestions!
[ -0.07923463732004166, 0.0356774777173996, -0.08477506786584854, 0.3752029538154602, 0.006584120914340019, -0.08481758087873459, -0.1897856891155243, 0.15771706402301788, 0.1877356916666031, 0.15160292387008667, -0.1826827973127365, 0.1601640284061432, -0.22660823166370392, -0.19020593166351318, 0.008258186280727386, -0.2626652419567108, 0.17803284525871277, 0.13425663113594055, -0.28088822960853577, -0.23523487150669098, -0.19711074233055115, 0.22717240452766418, 0.08803445100784302, -0.2830202579498291, 0.16585834324359894, 0.09841077029705048, -0.5037656426429749, 0.5249214172363281, -0.25089189410209656, -0.1394350677728653, -0.050415150821208954, 0.12854300439357758, 0.2938646376132965, 0.5468133091926575, -0.00010904026567004621, -0.03692467883229256, -0.014016851782798767, -0.3013409972190857, -0.1901552975177765, -0.21191151440143585, -0.024323660880327225, -0.2990802228450775, -0.011035164818167686, -0.145307719707489, -0.1281062811613083, -0.5062142610549927, -0.057267434895038605, -0.531643271446228, 0.5002833008766174, 0.19168557226657867, 0.24810408055782318, 0.03852740675210953, -0.11718092113733292, -0.1290481686592102, 0.0626852959394455, 0.3493432402610779, -0.056402429938316345, -0.17773766815662384, 0.4121954143047333, 0.18414708971977234, 0.266036719083786, 0.004661946091800928, 0.11486324667930603, -0.4383268654346466, -0.21964898705482483, -0.07863748073577881, -0.049358539283275604, -0.4307343363761902, 0.13883593678474426, 0.21457603573799133, 0.2849377989768982, -0.19207581877708435, -0.14984841644763947, 0.18833884596824646, -0.0046592834405601025, 0.11570307612419128, -0.01585858315229416, 0.1058812215924263, 0.008998319506645203, 0.27358734607696533, 0.45538294315338135, -0.3504960536956787, -0.15895524621009827, 0.015610676258802414, 0.11544559895992279, 0.29514938592910767, 0.11861029267311096, -0.0982242152094841, 0.19935210049152374, -0.15768195688724518, 0.2713150680065155, -0.10884062945842743, 0.09198208898305893, 0.46882614493370056, 0.06242804974317551, 0.12678149342536926, -0.22714698314666748, 0.07283181697130203, 0.2724922001361847, 0.06786492466926575, 0.09360691905021667, 0.2113836407661438, -0.13667263090610504, 0.11488881707191467, -0.03696652129292488, -0.05936894565820694, -0.10102105885744095, -0.15599635243415833, -0.03487750142812729, -0.3440594971179962, 0.3551102578639984, 0.13190710544586182, -0.5572377443313599, -0.1647641509771347, -0.23912274837493896, 0.2408129870891571, 0.13335952162742615, 0.011900212615728378, 0.12338095158338547, 0.061662547290325165, 0.06084218621253967, -0.03755087032914162, 0.06897247582674026, 0.23826301097869873, 0.052450116723775864, 0.16904804110527039, 0.09417487680912018, 0.2817669212818146, -0.23703138530254364, -0.06806628406047821, -0.25110724568367004, 0.24876166880130768, -0.23532217741012573, 0.03212793171405792, 0.16726133227348328, 0.013116096146404743, -0.09237436950206757, 0.2698531746864319, -0.10811063647270203, 0.016923092305660248, 0.25472015142440796, -0.15490344166755676, 0.2617974877357483, -0.00907166674733162, 0.37281548976898193, 0.08720256388187408, 0.15458400547504425, -0.3863130211830139, -0.18022122979164124, 0.2508811950683594, -0.4405086636543274, -0.2012457549571991, -0.5315370559692383, 0.19044917821884155, -0.2452605813741684, 0.11872263997793198, -0.08113167434930801, 0.513816773891449, -0.09427351504564285, -0.2716766893863678, -0.1157345101237297, -0.028074268251657486, -0.40271055698394775, -0.14970548450946808, 0.5012762546539307, 0.6478580832481384, -0.5968019366264343, 0.031064994633197784, -0.2613806128501892, -0.06044391170144081, 0.3988249599933624, 0.2755270302295685, -0.09495706856250763, 0.16496513783931732, -0.2818855941295624, 0.3570166230201721, 0.32593223452568054, -0.19803902506828308, 0.02224152907729149, 0.1604127287864685, -0.14872431755065918, 0.14467190206050873, 0.3575957417488098, -0.12422855943441391, 0.11203649640083313, -0.12423835694789886, -0.039851605892181396, 0.21304480731487274, -0.027588242664933205, 0.03994029015302658, -0.21096429228782654, 0.08026763051748276, 0.4110681414604187, 0.1859973520040512, 0.04717893525958061, -0.042434997856616974, 0.14598459005355835, 0.006629805080592632, 0.10005095601081848, -0.17989148199558258, 0.362725168466568, 0.520119309425354, -0.012865792959928513, 0.07861698418855667, 0.21012748777866364, 0.17971983551979065, -0.23964539170265198, 0.04385349899530411, -0.22508306801319122, 0.30312424898147583, -0.3972242474555969, -0.19451406598091125, -0.19733008742332458, -0.3755880296230316, -0.3129033148288727, -0.11823603510856628, 0.23791709542274475, 0.1859942376613617, -0.18971571326255798, 0.01834680140018463, -0.08127841353416443, -0.0023425817489624023, 0.1944221556186676, -0.2279677838087082, -0.4699837565422058, 0.4943220615386963, -0.23329825699329376, -0.10440243780612946, -0.15463566780090332, 0.3721635639667511, 0.09331503510475159, -0.2708251178264618, 0.1821422278881073, 0.2818047106266022, 0.20410972833633423, 0.2829171419143677, 0.4344691038131714, -0.34585005044937134, 0.11769801378250122, -0.4650239050388336, 0.2955286204814911, 0.1551249921321869, 0.09366020560264587, -0.19591015577316284, -0.13301867246627808, 0.09639313071966171, 0.007437959313392639, -0.03890151530504227, 0.1825520396232605, -0.33353808522224426, 0.3409940004348755, -0.027587803080677986, -0.008642583154141903, -0.32581984996795654, 0.25265154242515564, 0.45107007026672363, 0.3364999294281006, 0.132884681224823, -0.3925507366657257, 0.19963453710079193, 0.17812687158584595, -0.011313391849398613, 0.15860113501548767, 0.11388557404279709, -0.01150723546743393, -0.043966151773929596, -0.1443660855293274, 0.004031728953123093, 0.4101097583770752, 0.13642637431621552, 0.35958534479141235, 0.2098485678434372, 0.1632562279701233, 0.017803989350795746, 0.15156447887420654, -0.08335144817829132, 0.012069056741893291, 0.45714685320854187, -0.12304728478193283, 0.03834064304828644, -0.5179018974304199, -0.29314059019088745, 0.08588600903749466, 0.14174944162368774, -0.14548592269420624, -0.07576832920312881, -0.43736913800239563, -0.19856825470924377, -0.5703210830688477, -0.22604897618293762, -0.08983299136161804, 0.07794934511184692, 0.30617082118988037, -0.30983901023864746, -0.2492254376411438, 0.2701643705368042, 0.3481716811656952, 0.4120502471923828, -0.1894799768924713, 0.014983716420829296, -0.08517707884311676, -0.06543637067079544, -0.08974570780992508, 0.1405913233757019, 0.26312875747680664, 0.3022606074810028, 0.10519514977931976, -0.4160425066947937, 0.13716235756874084, 0.01269717887043953, -0.39324653148651123, 0.2282678335905075, -0.1683189868927002, -0.0532650351524353, -0.043245360255241394, 0.25396502017974854, 0.04342115670442581, -0.20602723956108093, 0.08679734170436859, 0.01063530333340168, -0.15695838630199432, 0.08269263803958893, -0.08640021085739136, -0.16516165435314178, -0.18800310790538788, -0.6795821785926819, -0.7056844830513, -0.3094935715198517, -0.10604631900787354, 0.08101914823055267, 0.2056165635585785, -0.2857901453971863, 0.23194310069084167, -0.015108478255569935, 0.37653809785842896, 0.015147903934121132, -0.20902684330940247, -0.06026836484670639, 0.38335826992988586, -0.4501386284828186, -0.2564401626586914, 0.014872688800096512, -0.05141332000494003, 0.16397662460803986, -0.16191737353801727, -0.16018128395080566, 0.13697220385074615, 0.18974898755550385, -0.32298365235328674, -0.242036372423172, -0.06404687464237213, 0.5634129047393799, 0.2446090430021286, -0.09018710255622864, -0.12225203216075897, 0.09349405765533447, -0.06368599086999893, -0.03522709012031555, 0.21561121940612793, -0.29451343417167664, 0.0889037549495697, 0.08149442076683044, 0.4426048994064331, 0.0919400155544281, 0.27532508969306946, 0.26491427421569824, -0.016403352841734886, 0.4058266878128052, -0.17386308312416077, -0.17029210925102234, -0.17032340168952942, 0.04082228243350983, 0.012674171477556229, 0.3975086808204651, 0.2319566011428833, -0.16770461201667786, -0.11940935999155045, -0.22919857501983643, -0.150848388671875, -0.09131918847560883, 0.39342042803764343, 0.1461496651172638, 0.13322892785072327, -0.15709206461906433, -0.4305152893066406, -0.11415064334869385, -0.1544831097126007, -0.06274470686912537, 0.2253061980009079, -0.08259984105825424, 0.2253449559211731, -0.365952730178833, -0.02791457436978817, -0.42651382088661194, 0.2694867253303528, 0.278873473405838, 0.061627015471458435, -0.22486211359500885, -0.08134600520133972, 0.03170789033174515, 0.027158157899975777, 0.2835918664932251, -0.39578190445899963, -0.21761827170848846, 0.0467475987970829, 0.2581808269023895, -0.6598955392837524, 0.013120707124471664, -0.32727164030075073, 0.2241823971271515, 0.21793021261692047, 0.2540755569934845, -0.23916864395141602, -0.08198469132184982, -0.11935125291347504, 0.5049384832382202, -0.187723770737648, -0.12921608984470367, -0.3238109350204468, -0.5567883253097534, -0.21310114860534668, 0.049509357661008835, 0.3392004370689392, 0.06810251623392105, -0.15102848410606384, -0.16177213191986084, 0.2894723117351532, 0.0708942860364914, 0.20753902196884155, -0.015343450009822845, 0.3620273768901825, 0.18669268488883972, -0.13686974346637726, -0.034239254891872406, -0.09465533494949341, 0.3520773649215698, 0.9808747172355652, -0.1764322966337204, -0.016223758459091187, 0.2281925082206726, -0.44828182458877563, 0.3486241400241852, 0.2174643874168396, 0.22900600731372833, 0.12370982766151428, 0.02658950164914131, -0.11740237474441528, -0.41528865694999695, 0.13879553973674774, 0.2148330807685852, -0.05909447744488716, -0.35604187846183777, -0.31002986431121826, 0.03162397816777229, 0.17461137473583221, -0.09836907684803009, 0.0851854756474495, 0.01357528567314148, -0.3008022904396057, 0.5391806960105896, -0.07440456002950668, 1.0448119640350342, 0.11433399468660355, 0.12304742634296417, -0.2040928602218628, 0.09717585146427155, 0.15688836574554443, -0.4121006727218628, -0.2690136432647705, -0.2108670473098755, -0.1150362640619278, -0.14472420513629913, 0.16369612514972687, 0.15762990713119507, 0.053249914199113846, -0.6079573035240173, 0.09767472743988037, -0.05277203023433685, -0.02922135964035988, 0.054213277995586395, 0.5003258585929871, 0.07299034297466278, -0.21118757128715515, 0.26602882146835327, 0.13942569494247437, 0.08998362720012665, -0.18314504623413086, -0.05306476727128029, -0.06937539577484131, -0.06396383047103882, -0.07319027185440063, -0.09503336995840073, 0.14031580090522766, -0.07296591997146606, 0.19645492732524872, -0.15650956332683563, -0.25740423798561096, 0.16107724606990814, 0.3753329813480377, 0.2970579266548157, 0.12715642154216766, -0.05396480858325958, 0.09551230072975159, 0.1764470934867859, -0.08186814934015274, -0.04754822328686714, -0.25056642293930054, 0.11001899093389511, -0.046562857925891876, -0.2986060380935669, -0.04886145889759064, 0.008814160712063313, 0.22603143751621246, -0.5031864643096924, -0.05157992243766785, -0.09306293725967407, -0.1111106425523758, -0.08030956983566284, 0.19988246262073517, -0.09633314609527588, -0.15597742795944214, 0.18114474415779114, 0.06777281314134598, -0.19154658913612366, 0.05239604413509369, -0.021354060620069504, -0.23301972448825836, -0.08516651391983032, 0.4103921949863434, 0.1815805733203888, 0.14719021320343018, 0.4240921139717102, 0.20828436315059662, -0.022943150252103806, -0.25396499037742615, 0.1367970108985901, 0.35039782524108887, -0.2582321763038635, -0.2617749273777008, -0.26887089014053345, -0.15726236999034882, -0.0692925676703453, -0.12050598859786987, 0.1879052072763443, -0.209650456905365, -0.2384626418352127, -0.4204525053501129, -0.04452565312385559, 0.16903293132781982, 0.2222738415002823, 0.12136349081993103, 0.21590617299079895, -0.07620251178741455, 0.10282698273658752, 0.18226949870586395, -0.40796932578086853, 0.13352671265602112, -0.0951058492064476, 0.12467898428440094, -0.09030652046203613, 0.01633017510175705, 0.10457732528448105, -0.0875883400440216, 0.12124700844287872, 0.00224493071436882, -0.17941032350063324, -0.17269065976142883, -0.1609545648097992, 0.12318544834852219, -0.14924189448356628, 0.0739445686340332, -0.05683562532067299, -0.2729150950908661, 0.11420688033103943, -0.023735523223876953, -0.01583646982908249, 0.054669857025146484, -0.13563403487205505, 0.09023220837116241, -0.1229352056980133, -0.16425514221191406, -0.11257347464561462, -0.03573204576969147, 0.20062237977981567, 0.20014598965644836, 0.060950588434934616, 0.09633263945579529, -0.05262232571840286, -0.24332508444786072, 0.1680222600698471, 0.18803241848945618, 0.3220604360103607, 0.30259451270103455, 0.05033273994922638, 0.17529816925525665, 0.23608791828155518, -0.42523741722106934, 0.28024032711982727, 0.3656882345676422, -0.37975358963012695, 0.11570195853710175, 0.19733557105064392, 0.18025876581668854, -0.2230757176876068, -0.1531161218881607, 0.16491816937923431, -0.10784341394901276, 0.07963791489601135, 0.4102952182292938, 0.3785024881362915, 0.010963007807731628, 0.419389009475708, -0.0643480122089386, 0.45977723598480225, -0.09312614798545837, -0.08599330484867096, -0.07339651882648468, -0.37560349702835083, 0.22532713413238525, -0.04568084329366684, 0.10831643640995026, 0.0434088334441185, 0.32691049575805664, -0.10434994846582413, 0.4111287295818329, 0.19072329998016357, 0.10049106180667877, -0.08269187062978745, -0.21201886236667633, 0.3125814199447632, 0.07209217548370361, 0.18415993452072144, 0.17410996556282043, 0.16578282415866852, 0.5293642282485962, -0.17987966537475586, -0.17229001224040985, -0.011488186195492744, 0.2580423653125763, -0.10796485096216202, -0.19794316589832306, -0.21264778077602386, -0.19283804297447205, -0.3911268711090088, -0.17994247376918793, 0.11674650013446808, -0.0020149201154708862, -0.16357609629631042, 0.09434818476438522, 0.20279091596603394, 0.022426297888159752, -0.11339827626943588, 0.01815205067396164, -0.14770221710205078, -0.18489141762256622, 0.6881728172302246, 0.4346482753753662, -0.03296278417110443, 0.17092891037464142, 0.0077909380197525024, 0.32723328471183777, 0.20448818802833557, -0.28666120767593384, 0.19328343868255615, -0.06189131364226341, -0.16247892379760742, -0.08937030285596848, 0.15524683892726898, -0.006395407021045685, 0.1436890810728073, 0.29843032360076904, 0.14854228496551514, -0.15449494123458862, 0.06290925294160843, 0.5596539378166199, 0.10212764143943787, 0.08005426824092865, 0.09126358479261398, 0.006604475900530815, 0.06402870267629623, -0.1589815318584442, -0.12709882855415344, -0.6205663681030273, -0.13059863448143005, 0.4000508189201355, -0.13941839337348938, 0.068958580493927, -0.06086219474673271, 0.09248193353414536, 0.2884470224380493, 0.5369522571563721, 0.21720820665359497, 0.054204534739255905, 0.02720242366194725, -0.40009045600891113, -0.5852419137954712, 0.31740570068359375, -0.19139137864112854, -0.19901274144649506, -0.1829402595758438, 0.025837311521172523, 0.2450571060180664, 0.20802299678325653, 0.04048413038253784, 0.025788038969039917, -0.0066246697679162025, -0.15368829667568207, -0.5442422032356262, 0.04244699329137802, 0.025698859244585037, 0.4052012860774994, -0.040695030242204666, -0.024864183738827705, -0.06657090783119202, 0.19422832131385803, 0.16566497087478638, -0.09888095408678055, -0.42537835240364075, -0.26072776317596436, -0.07306787371635437, 0.2638363242149353, -0.10612890124320984, 0.4733889400959015, -0.3547917306423187, 0.2550104856491089, 0.1295967847108841, 0.05834762006998062, -0.054549068212509155, 0.40564101934432983, 0.48294344544410706, -0.00006489083170890808, -0.4067091941833496, -0.44133540987968445, -0.13323991000652313, -0.0918545126914978, 0.06810714304447174, 0.3713367283344269, -0.469525545835495, 0.3637709617614746, 0.042781636118888855, 0.053897425532341, -0.1248733326792717, 0.3764946758747101, -0.06390182673931122, -0.03935866430401802, -0.09930495172739029, -0.2847899794578552, 0.24829941987991333, 0.3108144700527191, -0.2807027995586395, -0.054134517908096313, -0.03409042954444885, 0.07495162636041641, 0.3442801535129547, -0.3843369781970978, 0.24966269731521606, 0.04666508734226227, 0.17457348108291626, -0.24781446158885956, 0.07231957465410233, -0.2783053517341614, -0.17734558880329132, -0.0740857645869255, 0.0345054529607296, 0.31835195422172546, 0.0016673840582370758, 0.09499943256378174, -0.3078206777572632 ]
https://github.com/huggingface/datasets/pull/1874
Adding Europarl Bilingual dataset
Thanks a lot !! Since the set of all the dummy data files is quite big I only kept a few of them. If we had kept them all the size of the `datasets` repo would have increased too much :/ So I did the same as for `bible_para`: only keep a few configurations in BUILDER_CONFIGS and have all the other pairs loadable with the lang1 and lang2 parameters like this: `dataset = load_dataset("europarl_bilingual", lang1="fi", lang2="fr")`
Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`.
76
text: Adding Europarl Bilingual dataset Implementation of Europarl bilingual dataset from described [here](https://opus.nlpl.eu/Europarl.php). This dataset allows to use every language pair detailed in the original dataset. The loading script manages also the small errors contained in the original dataset (in very rare cases (1 over 10M) there are some keys that references to inexistent sentences). I chose to follow the the style of a similar dataset available in this repository: `multi_para_crawl`. Thanks a lot !! Since the set of all the dummy data files is quite big I only kept a few of them. If we had kept them all the size of the `datasets` repo would have increased too much :/ So I did the same as for `bible_para`: only keep a few configurations in BUILDER_CONFIGS and have all the other pairs loadable with the lang1 and lang2 parameters like this: `dataset = load_dataset("europarl_bilingual", lang1="fi", lang2="fr")`
[ -0.27342596650123596, 0.08689093589782715, -0.12656180560588837, 0.1830655336380005, -0.012562528252601624, -0.12283552438020706, 0.013112332671880722, 0.10891389846801758, 0.10280543565750122, 0.24563685059547424, -0.07103148847818375, 0.11662040650844574, -0.23496700823307037, -0.20558546483516693, 0.0492703914642334, -0.1304592341184616, -0.05045569688081741, 0.1200409084558487, -0.24526596069335938, -0.15997660160064697, -0.21465562283992767, 0.2630040943622589, 0.06518058478832245, -0.2083655446767807, 0.3259763717651367, 0.29855871200561523, -0.2457818239927292, 0.2587583363056183, -0.14525915682315826, -0.244451642036438, -0.049582913517951965, 0.2362370640039444, 0.18729457259178162, 0.30758610367774963, -0.00010628789459588006, 0.03325997292995453, 0.07027914375066757, -0.18997079133987427, -0.30681660771369934, -0.19148428738117218, -0.06933189928531647, -0.26234984397888184, -0.11938668042421341, -0.17721661925315857, -0.12392853945493698, -0.286884605884552, -0.12707312405109406, -0.39666008949279785, 0.23169338703155518, 0.19667311012744904, 0.28357312083244324, 0.15529240667819977, -0.00750524178147316, -0.19883063435554504, 0.10257722437381744, 0.26412534713745117, -0.14174993336200714, -0.2656918466091156, 0.5083582401275635, 0.2823576331138611, 0.1635642945766449, 0.2840035557746887, 0.010925410315394402, -0.2031182497739792, -0.2206191122531891, -0.19719164073467255, 0.1884448230266571, -0.3664538264274597, 0.23908382654190063, 0.3054792582988739, 0.28305584192276, -0.18753930926322937, -0.061140187084674835, 0.06090525537729263, 0.04693577066063881, 0.22245313227176666, -0.06013687700033188, 0.037807680666446686, -0.0997789055109024, 0.1639401912689209, 0.1406830996274948, -0.45437175035476685, 0.04284302145242691, -0.0251200869679451, -0.08587832003831863, 0.42634785175323486, 0.07630126178264618, 0.07557222992181778, 0.2366536557674408, -0.1593063622713089, 0.02332860231399536, -0.17296980321407318, 0.1079256534576416, 0.3461187183856964, 0.05458693206310272, 0.14843672513961792, 0.0084528848528862, 0.03937874734401703, 0.280850887298584, -0.05617280304431915, 0.04486868157982826, 0.20895811915397644, -0.1310897171497345, 0.08286137133836746, -0.06482972204685211, -0.1190146654844284, 0.12332962453365326, -0.007705153897404671, 0.02524387650191784, -0.17855288088321686, 0.37813475728034973, 0.36846309900283813, -0.32584434747695923, -0.281710147857666, -0.10287074744701385, 0.18115371465682983, 0.11733254790306091, 0.024915676563978195, 0.04775986075401306, 0.24727772176265717, 0.03505537658929825, -0.16789354383945465, 0.11482426524162292, 0.22575643658638, -0.05790768936276436, 0.04741251468658447, 0.14767828583717346, 0.03339950367808342, -0.23756074905395508, -0.2660563290119171, -0.2590395212173462, -0.02696574479341507, -0.12960228323936462, -0.008413789793848991, 0.2510509788990021, -0.07642436027526855, 0.014987176284193993, 0.15568900108337402, -0.07439413666725159, 0.06991448253393173, 0.13411404192447662, -0.0779327005147934, 0.13775426149368286, 0.015642687678337097, 0.323199599981308, 0.19400493800640106, -0.03945435211062431, -0.4297568202018738, -0.29558858275413513, 0.26987048983573914, -0.38834401965141296, -0.28569090366363525, -0.4525710940361023, 0.2967873513698578, -0.34652262926101685, 0.08512472361326218, -0.08130768686532974, 0.6194015145301819, 0.12137976288795471, -0.256087064743042, -0.024770505726337433, -0.17129255831241608, -0.45230308175086975, -0.013203860260546207, 0.47236013412475586, 0.5894697904586792, -0.6333659887313843, -0.21937346458435059, 0.10561580955982208, -0.13121101260185242, 0.32646989822387695, 0.19209332764148712, -0.2767118215560913, 0.13324415683746338, -0.17342056334018707, 0.08364705741405487, 0.5183249115943909, -0.09965243935585022, -0.05421473830938339, 0.05187031999230385, 0.06487728655338287, 0.12512968480587006, 0.20470531284809113, -0.31677114963531494, 0.24854224920272827, -0.1846684366464615, 0.30222174525260925, 0.21029925346374512, -0.045938268303871155, 0.0914953425526619, -0.2434854805469513, 0.0036732088774442673, 0.3176600933074951, 0.2805297076702118, 0.1905711591243744, -0.2994944453239441, 0.03036065772175789, 0.23122763633728027, 0.25625231862068176, -0.1424487680196762, 0.45973774790763855, 0.5566827058792114, -0.11918900907039642, -0.06768737733364105, 0.2973400354385376, 0.0411963164806366, -0.24622851610183716, 0.1818310022354126, -0.032194118946790695, 0.44500914216041565, -0.13321231305599213, -0.019662464037537575, -0.15692436695098877, -0.2407846599817276, -0.42433542013168335, -0.047807347029447556, 0.2160716950893402, 0.1066465750336647, -0.22655512392520905, 0.0844990611076355, 0.0530814491212368, -0.06438223272562027, -0.08192192018032074, -0.2292829304933548, -0.3998773992061615, 0.2469531148672104, -0.24302764236927032, -0.05427319556474686, -0.23156103491783142, 0.3157830834388733, -0.03535173088312149, -0.2179107666015625, 0.07006268948316574, 0.06211741641163826, 0.12050071358680725, 0.23533688485622406, 0.2863354980945587, -0.16062991321086884, 0.19263416528701782, -0.4477773606777191, 0.17828579246997833, -0.0019026361405849457, 0.056234512478113174, -0.1866648942232132, 0.035694703459739685, 0.09828777611255646, 0.1821337640285492, 0.2161771059036255, 0.11775889992713928, -0.2702813148498535, 0.3865046501159668, 0.12469089031219482, -0.19655941426753998, -0.31419092416763306, 0.34904012084007263, 0.33618688583374023, 0.5163313150405884, 0.2630191147327423, -0.32898178696632385, 0.10414837300777435, 0.3084425926208496, -0.03861716389656067, 0.03275361284613609, 0.14976979792118073, -0.07912638038396835, -0.09473630040884018, -0.22474251687526703, -0.060875553637742996, 0.1882103979587555, 0.1708471029996872, 0.3059026300907135, 0.09749992936849594, 0.04588266834616661, 0.0006511658430099487, 0.20700603723526, -0.019419386982917786, 0.15894140303134918, 0.3557925820350647, 0.0027630524709820747, 0.00150213111191988, -0.4380103349685669, -0.26508238911628723, 0.2365354597568512, 0.22331467270851135, -0.11252418160438538, -0.14798371493816376, -0.2738412916660309, 0.2290673851966858, -0.5959085822105408, -0.2732383906841278, -0.36538922786712646, 0.06662694364786148, 0.28645139932632446, -0.3266419768333435, -0.20253096520900726, 0.37820109724998474, 0.16221055388450623, 0.26957952976226807, -0.3402353823184967, -0.23417042195796967, -0.13235315680503845, -0.119497150182724, -0.2251889705657959, 0.14914384484291077, 0.26213812828063965, -0.07476077228784561, 0.11245285719633102, -0.36298853158950806, -0.07878809422254562, -0.08564002811908722, -0.4677525460720062, 0.2562258839607239, -0.0362226739525795, 0.008834173902869225, 0.14543406665325165, -0.05066418647766113, 0.1583937108516693, -0.1128755733370781, 0.17599163949489594, 0.0465271919965744, -0.03700690716505051, 0.030777905136346817, -0.3235025405883789, -0.03944763168692589, -0.07397157698869705, -0.5126320123672485, -0.5259259343147278, -0.26282525062561035, -0.31508320569992065, 0.05766865983605385, 0.0935613289475441, -0.24659211933612823, 0.18392585217952728, -0.03483889251947403, 0.2294030785560608, 0.12443257123231888, -0.36638176441192627, 0.18894091248512268, 0.13650190830230713, -0.27411094307899475, -0.09836331009864807, -0.1332331746816635, 0.03503117710351944, 0.2841548025608063, -0.16142980754375458, -0.2924703359603882, 0.16233620047569275, 0.12178689241409302, -0.11207742989063263, -0.3224053978919983, 0.00392409972846508, 0.43548184633255005, 0.3365221619606018, -0.08863519877195358, -0.04546951502561569, -0.16342584788799286, -0.15091171860694885, -0.05226569622755051, 0.29959237575531006, -0.34679147601127625, -0.12208426743745804, 0.023746859282255173, 0.5636153817176819, 0.0762544721364975, 0.11413055658340454, 0.17332813143730164, -0.03202083706855774, 0.30953359603881836, -0.2701839506626129, -0.21615807712078094, -0.021749747917056084, 0.12102770060300827, -0.030280517414212227, 0.3057180941104889, 0.09160236269235611, -0.3013371527194977, -0.10141068696975708, -0.13651013374328613, -0.05918051674962044, -0.3007563054561615, 0.3600093126296997, 0.18191461265087128, 0.1702146679162979, -0.035218238830566406, -0.25419798493385315, -0.14910855889320374, -0.04462895914912224, -0.041905492544174194, 0.17948266863822937, -0.24678963422775269, 0.11099900305271149, -0.34936943650245667, -0.015635265037417412, -0.5128614902496338, 0.268706351518631, 0.15002501010894775, 0.05277393385767937, -0.11066173017024994, -0.06787718832492828, 0.057403743267059326, -0.0794207826256752, 0.39694690704345703, -0.41430357098579407, -0.2798934578895569, 0.12174375355243683, 0.19764845073223114, -0.6806498169898987, -0.14053790271282196, -0.35789936780929565, 0.14406627416610718, 0.2555273473262787, 0.21158787608146667, -0.39533108472824097, -0.20952127873897552, 0.07720440626144409, 0.47972777485847473, -0.20666652917861938, -0.1955617368221283, -0.3243512213230133, -0.46282467246055603, -0.29228848218917847, 0.14036202430725098, 0.14010047912597656, 0.1837056279182434, 0.010142199695110321, -0.16869986057281494, 0.4060993492603302, 0.1700495183467865, 0.13745015859603882, 0.04112166538834572, 0.1580391824245453, 0.2745301127433777, 0.03362816944718361, -0.13589143753051758, -0.17112916707992554, 0.23407363891601562, 0.7451692819595337, -0.23975998163223267, -0.11250476539134979, 0.3785482347011566, -0.23041975498199463, 0.2806107699871063, 0.27425575256347656, 0.2703019678592682, 0.17882293462753296, 0.14985357224941254, 0.03473886102437973, -0.3065018951892853, 0.14687882363796234, 0.26030871272087097, -0.06473719328641891, -0.4883449375629425, -0.43992069363594055, -0.04864557832479477, 0.02445409446954727, -0.22773803770542145, 0.15251567959785461, 0.06909921765327454, -0.27125251293182373, 0.4562227725982666, 0.12066306173801422, 1.0638246536254883, 0.00703444704413414, 0.08138582110404968, -0.19366270303726196, 0.1375264674425125, 0.3059954047203064, -0.18304497003555298, -0.2572765350341797, -0.2589077055454254, 0.27500903606414795, 0.09201594442129135, 0.21580076217651367, 0.12263844907283783, -0.10604940354824066, -0.4368763267993927, 0.07374421507120132, 0.09663061797618866, 0.059172458946704865, -0.026921438053250313, 0.33609846234321594, 0.09580311924219131, -0.3755806088447571, 0.2507156729698181, 0.16108137369155884, -0.00036916881799697876, -0.11235690116882324, -0.12972569465637207, 0.08779759705066681, 0.19140997529029846, -0.28935784101486206, -0.38122016191482544, 0.03940674662590027, -0.2360028773546219, 0.16431955993175507, 0.06755118072032928, -0.18060514330863953, 0.259488582611084, 0.1469808965921402, 0.25440549850463867, 0.15554621815681458, -0.10626140236854553, 0.20761562883853912, 0.09125865250825882, 0.10032472759485245, -0.00819584634155035, -0.2887105345726013, 0.15369580686092377, -0.086429163813591, -0.42698392271995544, 0.05743371695280075, -0.07668191194534302, 0.26498639583587646, -0.5545364618301392, 0.0016707926988601685, 0.05770214647054672, -0.12719863653182983, -0.06348916888237, 0.26942670345306396, 0.062345024198293686, -0.20331396162509918, 0.19756199419498444, -0.03338292986154556, -0.26139259338378906, 0.2471679449081421, 0.037751395255327225, -0.394586980342865, -0.04481932148337364, 0.21557104587554932, 0.321455180644989, 0.008462414145469666, 0.4824875295162201, 0.13462667167186737, 0.014536097645759583, -0.3112235963344574, 0.1153644248843193, 0.46688535809516907, -0.4671773314476013, -0.4016708731651306, 0.020986616611480713, -0.1983703374862671, 0.03147203102707863, 0.12244294583797455, 0.15056617558002472, -0.021029993891716003, -0.160090371966362, -0.124286949634552, -0.02351924404501915, 0.09806206822395325, 0.25326552987098694, 0.03874311223626137, 0.30856403708457947, -0.0813380628824234, -0.023353032767772675, 0.24796542525291443, -0.43233561515808105, 0.05464395880699158, -0.24489280581474304, 0.19433341920375824, -0.2754690945148468, 0.0029894374310970306, -0.018213236704468727, -0.018934328109025955, 0.19197337329387665, -0.07048127055168152, -0.35612285137176514, -0.2581370174884796, -0.2638777792453766, 0.08231041580438614, -0.17395681142807007, 0.2325584441423416, -0.050073448568582535, -0.12040530145168304, 0.1856701821088791, -0.05742303282022476, 0.10133267939090729, 0.1701752245426178, 0.03507322072982788, 0.044175490736961365, -0.11277484893798828, -0.14351719617843628, -0.0677686482667923, 0.007259821519255638, 0.19655531644821167, 0.23804812133312225, 0.1841638833284378, 0.3354199528694153, 0.038887422531843185, -0.16051369905471802, 0.2768242657184601, 0.2889587879180908, 0.17932820320129395, 0.4184909164905548, -0.1536206603050232, 0.12024475634098053, 0.26277822256088257, -0.30148831009864807, 0.3178595006465912, 0.2599480152130127, -0.3795362114906311, -0.07722102850675583, 0.04029531031847, 0.26455754041671753, -0.26936769485473633, -0.23964591324329376, 0.26149609684944153, -0.12150231748819351, 0.1971692442893982, 0.41788020730018616, 0.37673383951187134, 0.1027897447347641, 0.5613046884536743, -0.10636073350906372, 0.5079503655433655, -0.3008744716644287, -0.2556593120098114, 0.002802610397338867, -0.2614893913269043, 0.1286994218826294, 0.06309334188699722, 0.1465589702129364, 0.2061365842819214, 0.17713575065135956, -0.26718881726264954, 0.4308302700519562, 0.21725249290466309, 0.20206888020038605, 0.02492707222700119, -0.2887817621231079, 0.5373380184173584, 0.07322347164154053, 0.1245107650756836, 0.13353022933006287, 0.08066510409116745, 0.36144375801086426, -0.17784738540649414, -0.04342084378004074, -0.09201766550540924, 0.20138560235500336, -0.09066180139780045, -0.32645168900489807, -0.3802618384361267, -0.16924136877059937, -0.3650607466697693, -0.0803505927324295, 0.020523620769381523, -0.003260478377342224, -0.0456080287694931, -0.07732580602169037, 0.02172047644853592, -0.1645229160785675, -0.23903891444206238, -0.10210838168859482, -0.31426605582237244, -0.19715118408203125, 0.5524082779884338, 0.2906073331832886, -0.19414660334587097, -0.018137134611606598, 0.1056361198425293, 0.3909611999988556, 0.15139174461364746, -0.0763682872056961, 0.1208762675523758, -0.041566092520952225, 0.03703874349594116, -0.318652868270874, 0.11267252266407013, 0.2265864908695221, -0.0060721226036548615, 0.3669709861278534, 0.15748190879821777, -0.22094076871871948, -0.09348861873149872, 0.5363646149635315, -0.06188924238085747, 0.2018548846244812, 0.14544135332107544, 0.04992726072669029, 0.10251661390066147, -0.18396104872226715, 0.14410898089408875, -0.4893198609352112, -0.005220586434006691, 0.4979552626609802, -0.1357046365737915, 0.06882350891828537, -0.03874164819717407, 0.10763639211654663, 0.30064719915390015, 0.5348789691925049, 0.11682789027690887, 0.03220847249031067, -0.015817023813724518, -0.24435487389564514, -0.5537329912185669, 0.280878484249115, -0.17655238509178162, 0.10708913207054138, -0.026440728455781937, 0.2587403655052185, 0.41953542828559875, 0.096225306391716, 0.2339514195919037, 0.056002505123615265, 0.1179179772734642, -0.11660777032375336, -0.38749217987060547, -0.027952779084444046, 0.18407244980335236, 0.31217360496520996, 0.046305976808071136, -0.10277605801820755, -0.017353523522615433, 0.01647934690117836, 0.13113313913345337, -0.24121128022670746, -0.3222835958003998, 0.13718535006046295, -0.08721746504306793, 0.37147074937820435, -0.062287285923957825, 0.35375073552131653, -0.38470837473869324, 0.2650357186794281, 0.07308591157197952, -0.041896648705005646, -0.09317497909069061, 0.3697136342525482, 0.2070585936307907, -0.1235717311501503, -0.20367664098739624, -0.5637523531913757, -0.12954887747764587, -0.013025859370827675, 0.08906203508377075, 0.3443590998649597, -0.47765934467315674, 0.22772055864334106, 0.13153311610221863, 0.05406525358557701, -0.35655370354652405, 0.2823232412338257, 0.09845015406608582, -0.031618278473615646, -0.20528672635555267, -0.26019516587257385, 0.4698282778263092, 0.43051406741142273, -0.3108510375022888, -0.30949848890304565, 0.127566859126091, 0.13078223168849945, 0.16909728944301605, -0.6057174205780029, 0.1075897142291069, 0.23918557167053223, 0.21957531571388245, -0.2645722031593323, 0.17961251735687256, -0.2506651282310486, -0.0020226500928401947, -0.08348587155342102, -0.1250033974647522, 0.07615920901298523, -0.15385432541370392, 0.07014837861061096, -0.3359242081642151 ]
https://github.com/huggingface/datasets/pull/1870
Implement Dataset add_item
Thanks @lhoestq for your remarks. Yes, I agree there are still many issues to be tackled... This PR is just a starting point, so that we can discuss how Dataset should be generalized.
Implement `Dataset.add_item`. Close #1854.
33
text: Implement Dataset add_item Implement `Dataset.add_item`. Close #1854. Thanks @lhoestq for your remarks. Yes, I agree there are still many issues to be tackled... This PR is just a starting point, so that we can discuss how Dataset should be generalized.
[ -0.41731488704681396, -0.011489875614643097, -0.20221374928951263, -0.12104351818561554, 0.19032761454582214, -0.19800491631031036, 0.20000672340393066, 0.1304306834936142, -0.0840236097574234, -0.056589409708976746, 0.3645957112312317, 0.4917360246181488, -0.021792616695165634, 0.3644869327545166, 0.14690907299518585, -0.061632364988327026, 0.20985347032546997, 0.2420346885919571, -0.015824757516384125, 0.00535699725151062, -0.40276262164115906, -0.0077214110642671585, -0.26279371976852417, 0.13359248638153076, 0.0984494611620903, -0.2465217411518097, -0.00003444775938987732, 0.08772283792495728, -0.3651796877384186, -0.5017251968383789, -0.004510665312409401, 0.21784263849258423, -0.01758475974202156, 0.12168355286121368, -0.00009497390419710428, -0.054048649966716766, 0.27132993936538696, 0.1079583615064621, -0.3012087047100067, 0.27342742681503296, -0.38053518533706665, -0.22109784185886383, 0.004305084701627493, -0.22094731032848358, 0.0416281521320343, -0.32101863622665405, 0.1084510013461113, -0.17922282218933105, -0.019081339240074158, 0.026831958442926407, 0.3535924553871155, -0.01747109368443489, 0.22309578955173492, -0.34022489190101624, 0.16026873886585236, -0.0007765963673591614, -0.1542777717113495, -0.05138060078024864, 0.4594794511795044, 0.008007634431123734, 0.059475407004356384, 0.21578210592269897, 0.11909089982509613, -0.02954479679465294, 0.4659406542778015, -0.1695883423089981, 0.050870832055807114, -0.05674448609352112, 0.06764459609985352, 0.05652691051363945, 0.7784292697906494, -0.39197731018066406, -0.18345452845096588, 0.03862433880567551, -0.08476656675338745, -0.3714102804660797, -0.13561317324638367, -0.012455245479941368, -0.16791923344135284, 0.22184784710407257, -0.027775388211011887, -0.4893205463886261, -0.25977301597595215, 0.0202319398522377, -0.14709046483039856, 0.2305167317390442, -0.10365409404039383, 0.039424099028110504, 0.06778890639543533, -0.13304798305034637, 0.20891216397285461, 0.16973410546779633, 0.03953072056174278, -0.2285902053117752, 0.038301028311252594, -0.12059808522462845, 0.2836480140686035, 0.3653891980648041, 0.34130826592445374, 0.2005968987941742, 0.17682555317878723, 0.19229531288146973, 0.01873268187046051, 0.34607306122779846, 0.2286853790283203, -0.00029790308326482773, 0.023452680557966232, 0.0847717672586441, 0.300548791885376, 0.017274275422096252, -0.08021895587444305, 0.0644182562828064, -0.07631012052297592, -0.29797571897506714, 0.017417076975107193, 0.08245609700679779, 0.18092277646064758, 0.016959551721811295, -0.21050436794757843, 0.20286013185977936, -0.08248023688793182, -0.1145688071846962, -0.06192829832434654, 0.2891652286052704, 0.14986881613731384, -0.07400624454021454, 0.11865481734275818, -0.1118280440568924, 0.050064437091350555, -0.06666478514671326, -0.21302913129329681, 0.23861469328403473, -0.3751874566078186, -0.2711743116378784, -0.14729143679141998, 0.050701793283224106, 0.09440053254365921, -0.07350262254476547, -0.031337812542915344, 0.04162060469388962, 0.03646686673164368, 0.08509328961372375, 0.2776586711406708, 0.14582714438438416, -0.1107197254896164, -0.29805922508239746, -0.17620310187339783, -0.08094626665115356, -0.21480876207351685, 0.22074827551841736, 0.00609409436583519, -0.3305532932281494, -0.24876712262630463, 0.358309805393219, -0.1178063154220581, -0.24999487400054932, 0.17424634099006653, 0.3469950258731842, -0.05966394394636154, -0.13175925612449646, 0.21724241971969604, -0.03718522936105728, -0.2172970324754715, -0.16979345679283142, 0.13851457834243774, 0.34523746371269226, -0.5481293797492981, 0.23119434714317322, -0.05672076344490051, -0.2816206216812134, -0.011614374816417694, -0.030158918350934982, -0.15397973358631134, 0.30363592505455017, -0.1940595507621765, 0.1413566768169403, 0.3164713382720947, -0.017584962770342827, 0.010174301452934742, 0.2612079083919525, -0.28891217708587646, -0.3092818260192871, 0.06879885494709015, 0.14201800525188446, -0.00623240415006876, -0.23242463171482086, 0.16275137662887573, -0.12414953112602234, -0.24994832277297974, -0.1544705629348755, -0.14110878109931946, -0.10197027027606964, 0.08048239350318909, 0.020903844386339188, 0.016553882509469986, 0.06152614951133728, 0.30529269576072693, 0.12682874500751495, 0.16580885648727417, -0.02635856345295906, 0.10309352725744247, -0.042039655148983, 0.5645548701286316, 0.15284523367881775, -0.17855094373226166, -0.29137998819351196, -0.18849042057991028, -0.11843697726726532, 0.14686369895935059, -0.008000150322914124, 0.24705961346626282, -0.2960367798805237, -0.31613776087760925, 0.31531161069869995, 0.06470031291246414, -0.10575482249259949, 0.32998937368392944, 0.019447147846221924, -0.3093266189098358, -0.2407711148262024, -0.31754985451698303, 0.12426477670669556, -0.13007119297981262, -0.006317710038274527, -0.013761982321739197, -0.23664894700050354, -0.216972216963768, 0.10767091810703278, -0.04857499152421951, 0.25387829542160034, 0.026261799037456512, -0.1174156591296196, 0.3495252728462219, 0.4142303168773651, -0.05315818265080452, -0.08332355320453644, 0.18675574660301208, 0.23971620202064514, 0.07748812437057495, -0.0032763108611106873, -0.029196972027420998, -0.03633890300989151, 0.04652624949812889, 0.11350717395544052, -0.4639734923839569, 0.13244767487049103, 0.2696956694126129, -0.19821497797966003, 0.30096352100372314, 0.05398343503475189, 0.09657949209213257, -0.03144041448831558, -0.13435077667236328, -0.09070750325918198, -0.18534937500953674, 0.3054243326187134, 0.12923948466777802, 0.2765645682811737, -0.4431819021701813, 0.16334864497184753, 0.5274817943572998, -0.016681496053934097, 0.2720338702201843, 0.30740049481391907, 0.046080462634563446, -0.03287827968597412, 0.12949468195438385, 0.3272362947463989, 0.4490877389907837, 0.4362563192844391, 0.22418037056922913, 0.12009371072053909, 0.2201124131679535, -0.09253711253404617, 0.2325848639011383, 0.16800054907798767, 0.043126825243234634, 0.07487137615680695, 0.15675929188728333, 0.04932353273034096, -0.19773179292678833, -0.25309234857559204, -0.04286976903676987, 0.1999424248933792, -0.31254544854164124, -0.1564657837152481, -0.11808928847312927, -0.03643299639225006, 0.013195027597248554, 0.13491685688495636, 0.16543163359165192, -0.35993698239326477, 0.1831844300031662, -0.028512295335531235, -0.2558988332748413, 0.2349579781293869, -0.271626740694046, 0.5639895796775818, -0.20083506405353546, 0.13408172130584717, 0.0802433043718338, -0.07593442499637604, -0.11116676777601242, 0.29608866572380066, 0.09521441161632538, 0.09047557413578033, 0.5581443905830383, 0.05331898480653763, 0.0650315061211586, -0.49523645639419556, -0.6298381686210632, 0.22938469052314758, -0.04723510146141052, 0.14468322694301605, 0.4502312242984772, 0.037955716252326965, -0.3548550605773926, -0.23973976075649261, -0.01743193343281746, -0.13177527487277985, -0.2391178011894226, -0.30441340804100037, -0.11762881278991699, -0.10901400446891785, -0.3233570456504822, -0.7724472880363464, -0.048524096608161926, -0.5959525108337402, 0.5411446690559387, -0.024027621373534203, 0.11100010573863983, 0.08556018024682999, 0.12153495848178864, 0.026421304792165756, 0.11470048874616623, -0.10871673375368118, -0.1110009104013443, -0.16071656346321106, 0.1660575568675995, -0.29719382524490356, -0.20257718861103058, 0.08209383487701416, -0.04220179468393326, 0.031347934156656265, 0.2218567579984665, -0.082898810505867, -0.4254991412162781, -0.005713826045393944, 0.21102821826934814, 0.02180434949696064, 0.26291021704673767, 0.23843465745449066, 0.16118943691253662, -0.44988417625427246, -0.17970368266105652, -0.3030433654785156, 0.29241177439689636, -0.25082454085350037, -0.008479565382003784, 0.14234553277492523, 0.20237785577774048, 0.047531601041555405, 0.276894211769104, 0.06876015663146973, -0.1476750671863556, 0.14569300413131714, -0.24610444903373718, 0.32970139384269714, 0.03615385666489601, -0.027779703959822655, 0.19655577838420868, -0.12370637059211731, -0.02921370416879654, 0.21525654196739197, 0.04370683431625366, -0.09718263149261475, -0.03051713854074478, 0.024145450443029404, -0.26508596539497375, -0.24626833200454712, -0.0032680947333574295, -0.029447846114635468, 0.3612416684627533, -0.11596474051475525, -0.2230578362941742, -0.2577400207519531, 0.30947038531303406, -0.020572887733578682, 0.1270800530910492, 0.19005507230758667, -0.02097618579864502, -0.3321785032749176, 0.1642049103975296, -0.13402289152145386, 0.11045150458812714, -0.05721404775977135, 0.2740110158920288, -0.22725385427474976, -0.2968025207519531, 0.029981188476085663, -0.10538972914218903, 0.449096143245697, -0.19684748351573944, -0.12666594982147217, 0.04964236542582512, 0.20469845831394196, 0.2035161256790161, 0.29498615860939026, -0.17873603105545044, 0.37775206565856934, 0.26341405510902405, -0.09960401058197021, -0.3303579092025757, -0.04299327731132507, 0.5778557062149048, -0.061361752450466156, 0.09412632882595062, -0.20384730398654938, -0.05563122034072876, -0.3724370002746582, -0.22099022567272186, 0.18738007545471191, 0.35894352197647095, -0.2915177643299103, 0.0967470332980156, -0.2337455451488495, 0.06473750621080399, -0.1554608941078186, 0.18523776531219482, 0.10318654775619507, 0.025589115917682648, 0.05962563306093216, -0.08211170881986618, -0.2370797097682953, -0.08041372895240784, 0.34026944637298584, 0.4625574052333832, -0.2508920431137085, -0.28965529799461365, 0.07611438632011414, -0.21449406445026398, 0.4843200743198395, 0.10898539423942566, -0.11932311952114105, 0.12255159020423889, -0.10375697910785675, 0.1917063295841217, -0.09673962742090225, -0.02514725551009178, 0.0068708620965480804, -0.09939944744110107, -0.013961202464997768, -0.41799408197402954, 0.20103126764297485, 0.018214542418718338, -0.28720587491989136, 0.11567230522632599, 0.23906484246253967, -0.15394534170627594, 0.0522388219833374, 0.0040198639035224915, 0.8127814531326294, 0.006946396082639694, -0.008978549391031265, 0.1438455879688263, -0.3190305829048157, 0.3678760826587677, -0.3159908652305603, 0.09005370736122131, -0.2859024405479431, 0.06990914046764374, -0.0022525638341903687, -0.007954288274049759, 0.1927376687526703, 0.1827254295349121, -0.39885959029197693, 0.08684147894382477, 0.05140502750873566, -0.024820838123559952, 0.23186202347278595, 0.23436421155929565, -0.27865055203437805, -0.04240672290325165, -0.04339601844549179, 0.25518798828125, -0.04735777527093887, -0.1121576726436615, -0.23551660776138306, -0.3112374544143677, 0.021891657263040543, -0.15384936332702637, -0.18989184498786926, -0.14547133445739746, -0.12293621897697449, 0.03982831537723541, 0.14103636145591736, -0.2417418509721756, 0.3163447678089142, 0.10999447852373123, 0.45950746536254883, 0.16012747585773468, -0.04859882593154907, 0.09309526532888412, 0.18396198749542236, 0.03462916985154152, 0.07650236785411835, -0.0634995698928833, 0.3273259997367859, -0.16099315881729126, -0.18737778067588806, 0.011997006833553314, -0.13867586851119995, -0.24611642956733704, -0.2588499188423157, 0.2602829933166504, 0.37209272384643555, -0.2573675513267517, 0.03585479408502579, 0.1902785301208496, -0.24505968391895294, -0.3205987811088562, 0.2684890329837799, 0.2032097429037094, -0.024451540783047676, 0.21779865026474, 0.05252474918961525, -0.03126244246959686, -0.08644899725914001, 0.06129424273967743, -0.15731176733970642, -0.04096871241927147, 0.16148641705513, 0.18273018300533295, -0.3059496283531189, -0.4559016823768616, -0.16124314069747925, 0.3773559629917145, -0.2181372046470642, 0.0465262271463871, 0.14485076069831848, -0.18201762437820435, 0.05735868215560913, 0.30342888832092285, -0.0014525018632411957, 0.07183383405208588, -0.1265156865119934, -0.13107946515083313, -0.5263393521308899, 0.0796080082654953, -0.23114539682865143, 0.23069502413272858, 0.0479489266872406, 0.2821173369884491, 0.24376383423805237, -0.023385966196656227, -0.5434420108795166, 0.0006190950516611338, -0.22667914628982544, 0.00046256184577941895, 0.18391431868076324, -0.15479597449302673, -0.28171539306640625, -0.1366681456565857, 0.2732633948326111, 0.07126517593860626, -0.35439860820770264, -0.30739808082580566, 0.06767050921916962, 0.11937610805034637, 0.028471769765019417, 0.21898901462554932, 0.17547473311424255, 0.04243674874305725, -0.2905459403991699, 0.1695179045200348, 0.10820607841014862, 0.07361923158168793, -0.05407249927520752, 0.11724354326725006, 0.09251922369003296, 0.27871790528297424, 0.05761047452688217, -0.18785054981708527, 0.17968504130840302, 0.2850706875324249, -0.060872938483953476, -0.017546094954013824, -0.14006073772907257, -0.12725597620010376, 0.25427865982055664, 0.29393869638442993, 0.4470088481903076, 0.16955092549324036, 0.4132472276687622, 0.004983268678188324, -0.09472266584634781, 0.11249247193336487, 0.24257579445838928, 0.19421960413455963, -0.27028560638427734, 0.0943344384431839, 0.10212116688489914, 0.39830678701400757, -0.4809015989303589, 0.07766488194465637, 0.0386931337416172, -0.1688687801361084, 0.13027437031269073, 0.2653789222240448, 0.3903670608997345, -0.08630524575710297, 0.01933516561985016, 0.18788141012191772, 0.2615257799625397, -0.4554644227027893, -0.07294593751430511, 0.1290036290884018, -0.26016515493392944, 0.041733235120773315, 0.13454142212867737, 0.3120904266834259, 0.23888641595840454, 0.5276452898979187, 0.26624739170074463, 0.3837701082229614, 0.36273372173309326, 0.29351866245269775, 0.15663394331932068, -0.2654590904712677, 0.5363184809684753, 0.22889256477355957, 0.24294482171535492, 0.024799056351184845, 0.2895658612251282, 0.07932386547327042, 0.10571051388978958, 0.13421501219272614, 0.022225597873330116, -0.20040833950042725, -0.0697077065706253, -0.16251949965953827, -0.06934433430433273, -0.12867476046085358, -0.10724782943725586, -0.11751304566860199, -0.11578762531280518, -0.02919802814722061, 0.29049578309059143, -0.23577027022838593, 0.08547836542129517, -0.23590074479579926, 0.078560471534729, -0.0786890834569931, 0.2191263735294342, -0.29576224088668823, 0.01868283748626709, 0.1442437469959259, -0.33191099762916565, 0.0404810905456543, 0.26275894045829773, 0.37554970383644104, 0.24370062351226807, 0.08900859951972961, 0.013390008360147476, -0.15312884747982025, -0.03629341721534729, -0.2734943926334381, -0.27029046416282654, 0.16271427273750305, 0.29057180881500244, 0.11300496757030487, 0.28798845410346985, -0.2244069129228592, 0.38465386629104614, 0.20190374553203583, -0.06608231365680695, -0.22838258743286133, 0.0003041774034500122, 0.33447346091270447, -0.5738711357116699, -0.11909022927284241, 0.16726428270339966, -0.29026177525520325, -0.1837378889322281, 0.3577567934989929, -0.043698497116565704, 0.1743725836277008, -0.3122941851615906, 0.20369572937488556, 0.20576392114162445, 0.1845647692680359, 0.13672737777233124, 0.1228238046169281, -0.19113291800022125, -0.25107482075691223, -0.49073389172554016, 0.10746212303638458, 0.0876762717962265, -0.2961956560611725, 0.22008033096790314, -0.0015776921063661575, 0.22960543632507324, 0.07729411870241165, -0.20063365995883942, -0.15181414783000946, -0.10247233510017395, 0.06624626368284225, -0.2763928472995758, 0.025172758847475052, 0.19215382635593414, 0.031765542924404144, 0.20924049615859985, -0.1491232067346573, 0.01643841713666916, -0.21300151944160461, 0.23113524913787842, -0.33320915699005127, -0.07609380036592484, 0.21208228170871735, 0.019228368997573853, 0.3986295759677887, 0.09029734879732132, 0.06379203498363495, -0.28357115387916565, -0.022728610783815384, -0.09034164249897003, 0.1298472136259079, -0.2828613817691803, 0.3132138252258301, 0.09548623859882355, -0.19265900552272797, -0.14633946120738983, -0.2481098622083664, -0.08141447603702545, -0.28650030493736267, -0.09414835274219513, 0.3392685353755951, -0.2913125455379486, 0.30307114124298096, -0.04067104309797287, 0.11623455584049225, -0.008832243271172047, 0.02821827121078968, -0.11185179650783539, -0.20395255088806152, -0.3384365439414978, -0.5123465061187744, 0.39627987146377563, 0.005068390630185604, -0.28125378489494324, -0.0192323699593544, 0.33770260214805603, -0.00048498064279556274, -0.10501997917890549, -0.40337178111076355, -0.05882163345813751, 0.3472096920013428, -0.06551093608140945, -0.40920373797416687, 0.22879306972026825, -0.2732943892478943, -0.3482269048690796, -0.015809591859579086, 0.3345528542995453, -0.04793547838926315, -0.050074685364961624, -0.04741280525922775, -0.3320310115814209 ]
https://github.com/huggingface/datasets/pull/1865
Updated OPUS Open Subtitles Dataset with metadata information
Hi ! About the problems you mentioned: - Saving the infos is only done for the configurations inside the BUILDER_CONFIGS. Otherwise you would need to run the scripts on ALL language pairs, which is not what we want. - Moreover when you're on your branch, please specify the path to your local version of the dataset script, like "./datasets/open_subtitles". Otherwise the dataset is loaded from the master branch on github. Hope that clarifies things a bit And of course feel free to add methods or classmethods to your builder.
Close #1844 Problems: - I ran `python datasets-cli test datasets/open_subtitles --save_infos --all_configs`, hence the change in `dataset_infos.json`, but it appears that the metadata features have not been added for all pairs. Any idea why that might be? - Possibly related to the above, I tried doing `pip uninstall datasets && pip install -e ".[dev]"` after the changes, and loading the dataset via `load_dataset("open_subtitles", lang1='hi', lang2='it')` to check if the update worked, but the loaded dataset did not contain the metadata fields (neither in the features nor doing `next(iter(dataset['train']))`). What step(s) did I miss? Questions: - Is it ok to have a `classmethod` in there? I have not seen any in the few other datasets I have checked. I could make it a local method of the `_generate_examples` method, but I'd rather not duplicate the logic...
89
text: Updated OPUS Open Subtitles Dataset with metadata information Close #1844 Problems: - I ran `python datasets-cli test datasets/open_subtitles --save_infos --all_configs`, hence the change in `dataset_infos.json`, but it appears that the metadata features have not been added for all pairs. Any idea why that might be? - Possibly related to the above, I tried doing `pip uninstall datasets && pip install -e ".[dev]"` after the changes, and loading the dataset via `load_dataset("open_subtitles", lang1='hi', lang2='it')` to check if the update worked, but the loaded dataset did not contain the metadata fields (neither in the features nor doing `next(iter(dataset['train']))`). What step(s) did I miss? Questions: - Is it ok to have a `classmethod` in there? I have not seen any in the few other datasets I have checked. I could make it a local method of the `_generate_examples` method, but I'd rather not duplicate the logic... Hi ! About the problems you mentioned: - Saving the infos is only done for the configurations inside the BUILDER_CONFIGS. Otherwise you would need to run the scripts on ALL language pairs, which is not what we want. - Moreover when you're on your branch, please specify the path to your local version of the dataset script, like "./datasets/open_subtitles". Otherwise the dataset is loaded from the master branch on github. Hope that clarifies things a bit And of course feel free to add methods or classmethods to your builder.
[ -0.3641589879989624, 0.6970160007476807, -0.05618217587471008, 0.22921673953533173, -0.057679034769535065, -0.10249973833560944, 0.22278638184070587, 0.3481811285018921, -0.4283514618873596, -0.04329413175582886, -0.09889953583478928, 0.16419833898544312, -0.08267198503017426, -0.02146994322538376, -0.2089207023382187, -0.12132218480110168, 0.16793842613697052, 0.0875544399023056, -0.1753864288330078, -0.40734368562698364, -0.4239357113838196, 0.15004660189151764, -0.22531245648860931, -0.08019572496414185, -0.03707746043801308, 0.14000968635082245, -0.30535465478897095, 0.14510473608970642, -0.20449642837047577, -0.5935919284820557, 0.04293687641620636, 0.4030199944972992, 0.0060146283358335495, 0.3160242736339569, -0.00012230646098032594, -0.054425690323114395, 0.33214229345321655, -0.13806578516960144, -0.5685598254203796, 0.10257796943187714, -0.21421125531196594, -0.38261154294013977, 0.04162977635860443, -0.2771151661872864, 0.0015514232218265533, -0.41595593094825745, -0.20130707323551178, -0.41115450859069824, -0.03059457242488861, 0.2901155948638916, 0.11423540860414505, 0.18622547388076782, 0.10563322901725769, -0.09781444817781448, 0.3533449172973633, 0.11030223965644836, 0.0957479402422905, 0.05112006887793541, 0.4590018689632416, 0.1688845157623291, 0.26719799637794495, 0.3712391257286072, -0.35119354724884033, -0.3234415054321289, 0.09168817102909088, -0.1384095400571823, 0.17838266491889954, -0.46773555874824524, 0.2583621144294739, 0.1832919418811798, 0.9308744072914124, -0.1500006914138794, -0.4914211630821228, -0.21998906135559082, -0.1866830736398697, -0.370195209980011, 0.16560283303260803, 0.12411835789680481, 0.28628864884376526, 0.057074304670095444, 0.011550789698958397, -0.29385900497436523, -0.06575380265712738, 0.16356515884399414, 0.14984285831451416, 0.3880830407142639, 0.022134432569146156, 0.12158141285181046, -0.2808564007282257, -0.3646535873413086, -0.2976429760456085, -0.2794022858142853, -0.2152734398841858, 0.44689682126045227, 0.07858722656965256, -0.222513809800148, 0.055326223373413086, -0.16485217213630676, -0.16165167093276978, 0.2245604246854782, -0.38955917954444885, 0.253923237323761, -0.3305307924747467, 0.10449562221765518, 0.3620634377002716, 0.0822826623916626, 0.44554612040519714, 0.09390343725681305, 0.23141972720623016, -0.12813441455364227, 0.08560311794281006, 0.13208875060081482, -0.12226705998182297, -0.03207534924149513, -0.1297471523284912, 0.19567224383354187, 0.5411530137062073, -0.3298458456993103, 0.03792206943035126, 0.5043390989303589, -0.15222345292568207, -0.38909345865249634, 0.002278870902955532, 0.09691073000431061, -0.33364757895469666, 0.1100219264626503, -0.038177963346242905, 0.13094249367713928, -0.22841913998126984, -0.12730678915977478, -0.07189714163541794, -0.05504472926259041, -0.06194648891687393, 0.11486564576625824, 0.15936991572380066, -0.17650777101516724, 0.14301328361034393, 0.29268115758895874, -0.06886883080005646, -0.0283685103058815, -0.05335518717765808, 0.08826105296611786, 0.1342642903327942, 0.3232106566429138, -0.022331979125738144, 0.2387600690126419, 0.06528258323669434, -0.3173532485961914, -0.2179236114025116, 0.31830868124961853, -0.10305129736661911, -0.22899742424488068, -0.5698140263557434, 0.10702365636825562, -0.41255342960357666, 0.26512566208839417, 0.11517422646284103, 0.24037088453769684, 0.2194797694683075, -0.39085835218429565, 0.03295018523931503, -0.16541187465190887, -0.059652797877788544, -0.1017414852976799, 0.25931310653686523, 0.4140188694000244, -0.26343849301338196, -0.06440906971693039, 0.32935360074043274, 0.06624750792980194, 0.14143116772174835, -0.05624633654952049, 0.06511174887418747, 0.10836012661457062, 0.00014597736299037933, -0.14520668983459473, 0.34710147976875305, -0.43662029504776, -0.2542814314365387, -0.07649598270654678, 0.13955645263195038, 0.10938376933336258, 0.04883372783660889, -0.19816558063030243, 0.5889487266540527, -0.3322390019893646, -0.04076481610536575, -0.2216443568468094, 0.03569626435637474, -0.08417337387800217, -0.31593090295791626, -0.029640357941389084, 0.005218856036663055, 0.25024551153182983, 0.1139121800661087, 0.04019217938184738, 0.20375770330429077, 0.22466805577278137, 0.43893375992774963, 0.059054646641016006, 0.29143932461738586, 0.2010124772787094, 0.29260045289993286, 0.47153812646865845, 0.3118056654930115, -0.12447645515203476, -0.09789947420358658, 0.18549135327339172, 0.21576957404613495, 0.4349695146083832, 0.0028532519936561584, -0.08731074631214142, 0.07673291116952896, -0.11212857067584991, -0.3240150511264801, -0.37547534704208374, 0.07021775841712952, 0.15456128120422363, -0.11026722192764282, 0.007272001355886459, -0.3014689087867737, 0.03237592428922653, -0.14376235008239746, 0.13231179118156433, -0.2637121379375458, 0.14487148821353912, 0.1666412651538849, -0.252683162689209, -0.20809847116470337, 0.4418051838874817, 0.19085893034934998, -0.2797847092151642, -0.3323171138763428, 0.4499013423919678, 0.05901819095015526, 0.010065093636512756, -0.00250350683927536, 0.4389580488204956, 0.18412663042545319, -0.3060687184333801, 0.39028632640838623, -0.18206150829792023, -0.17692740261554718, 0.1034359410405159, -0.3320576548576355, 0.193754643201828, 0.011090043932199478, 0.22542282938957214, 0.31109797954559326, -0.04418252408504486, 0.05455669015645981, 0.0037989094853401184, -0.5863227248191833, -0.263221800327301, -0.16269101202487946, 0.07609131187200546, 0.09089352190494537, 0.18092170357704163, 0.006582222878932953, 0.016461387276649475, 0.7031639814376831, 0.009138494729995728, 0.04650769755244255, 0.11787500232458115, -0.22564637660980225, 0.13031545281410217, 0.12048494070768356, -0.15771132707595825, 0.4058007001876831, 0.09432380646467209, 0.026907168328762054, 0.2657083570957184, 0.22016207873821259, 0.041757237166166306, 0.21687543392181396, 0.3516196012496948, -0.011364304460585117, 0.07726116478443146, 0.06905420869588852, 0.38334932923316956, -0.08202607184648514, 0.21412357687950134, 0.11844680458307266, 0.16810423135757446, -0.07764792442321777, 0.010869691148400307, -0.2020346075296402, 0.3669862151145935, 0.02872564271092415, -0.6446032524108887, -0.4479171633720398, -0.06008749455213547, 0.07451838254928589, -0.04936293885111809, -0.09968380630016327, 0.4403858780860901, 0.1014910340309143, 0.06442075967788696, -0.1892957240343094, -0.22183740139007568, 0.25057855248451233, -0.1991349160671234, -0.04153051972389221, -0.06588201224803925, 0.1508808583021164, -0.029875168576836586, 0.08490544557571411, -0.131324902176857, -0.04641040042042732, -0.3035585284233093, -0.5423074960708618, 0.07111920416355133, -0.02502826601266861, -0.049001939594745636, -0.07176254689693451, -0.053317487239837646, 0.2844984531402588, -0.04460432752966881, 0.15166239440441132, 0.08933568745851517, 0.04957806318998337, -0.28907081484794617, -0.1717865765094757, -0.20496608316898346, -0.07708808779716492, -0.5546245574951172, -0.32317879796028137, -0.47186776995658875, 0.36206287145614624, 0.17949317395687103, 0.1623346358537674, 0.2188728302717209, -0.16706664860248566, -0.09186215698719025, -0.06093842163681984, 0.16651849448680878, -0.16925884783267975, -0.12633435428142548, 0.14983300864696503, -0.36640170216560364, -0.20841383934020996, 0.16681334376335144, -0.01187649555504322, 0.348164826631546, -0.3907281756401062, -0.22467783093452454, 0.2180844247341156, -0.10216554999351501, 0.19502514600753784, 0.1676252782344818, 0.10353190451860428, 0.5660161375999451, 0.18284441530704498, 0.077029749751091, -0.2621721923351288, -0.22271881997585297, 0.14766021072864532, 0.16555100679397583, 0.12688195705413818, -0.1906861662864685, 0.19206401705741882, -0.24979838728904724, 0.35401588678359985, 0.26892006397247314, -0.06520791351795197, 0.12192665040493011, -0.04520471394062042, 0.4422977864742279, 0.059784770011901855, -0.3463660478591919, 0.14314427971839905, -0.10169127583503723, -0.1282355636358261, 0.41351568698883057, 0.12681198120117188, 0.00432606041431427, -0.23398956656455994, 0.15312738716602325, -0.10108163207769394, -0.3157464861869812, -0.10807335376739502, -0.24777141213417053, 0.23166093230247498, 0.11016470193862915, 0.07018392533063889, -0.22435566782951355, 0.03885585069656372, 0.005491957068443298, 0.29467296600341797, 0.20278868079185486, -0.22623610496520996, -0.4679437577724457, -0.1335589587688446, -0.037605345249176025, 0.025087684392929077, -0.15419131517410278, 0.14287713170051575, -0.14194796979427338, -0.20505014061927795, -0.1150975227355957, 0.1992577612400055, 0.2853955626487732, -0.2339211255311966, -0.14478975534439087, 0.23580652475357056, 0.3718162477016449, -0.3202047646045685, -0.42436274886131287, -0.31366103887557983, 0.49291232228279114, 0.4371466636657715, 0.6243941783905029, -0.10405117273330688, -0.2250923067331314, 0.523601233959198, 0.033751919865608215, -0.10214449465274811, -0.09379374980926514, -0.2122579962015152, -0.15546244382858276, -0.4421685039997101, -0.022872887551784515, 0.015974080190062523, 0.08988416194915771, -0.28319135308265686, 0.0445992536842823, 0.35984599590301514, 0.20218047499656677, 0.16784632205963135, 0.02234916388988495, 0.15011709928512573, 0.4007355272769928, 0.21142534911632538, 0.10289982706308365, 0.044817641377449036, 0.507218599319458, 0.7925678491592407, -0.226031094789505, -0.3077281713485718, 0.31734681129455566, -0.18304769694805145, 0.43298229575157166, 0.3613307476043701, 0.2507464587688446, -0.14452388882637024, -0.03574185073375702, 0.1213449090719223, -0.30293184518814087, 0.07785767316818237, 0.2645534873008728, 0.16141703724861145, -0.23715095221996307, -0.6392614245414734, 0.46759650111198425, -0.20613954961299896, -0.2356351613998413, 0.13232176005840302, 0.11204751580953598, -0.10193207859992981, 0.26288706064224243, 0.24726730585098267, 0.8958489298820496, 0.34076225757598877, 0.08369214832782745, -0.053450025618076324, -0.15219685435295105, 0.3466329872608185, -0.45787376165390015, -0.2553611397743225, -0.36179015040397644, -0.1888655722141266, 0.05750615894794464, 0.02805982157588005, 0.18226198852062225, -0.09454174339771271, -0.5104766488075256, 0.1714649796485901, 0.11235994100570679, 0.11122161149978638, 0.18838313221931458, 0.16028544306755066, 0.10578963905572891, -0.3627955913543701, 0.01950935274362564, 0.05396541953086853, 0.10443110018968582, 0.2659766376018524, -0.034114204347133636, -0.08744260668754578, -0.12624581158161163, -0.1438518762588501, -0.4389989972114563, 0.2040640413761139, -0.190505251288414, -0.10648071765899658, 0.06557566672563553, -0.02945762872695923, 0.22581025958061218, 0.21396061778068542, 0.4876956343650818, 0.2963160276412964, 0.18000049889087677, 0.28826242685317993, 0.33031490445137024, 0.17913353443145752, 0.22262893617153168, 0.15375669300556183, 0.4491630494594574, 0.019776396453380585, -0.24510082602500916, 0.13513630628585815, -0.21479597687721252, 0.20847512781620026, -0.3182436227798462, -0.2528509497642517, 0.19716043770313263, -0.25544947385787964, -0.10985516011714935, 0.10926900804042816, -0.1750560998916626, -0.19841952621936798, 0.09561638534069061, -0.0077334195375442505, -0.3570546507835388, 0.3460177183151245, -0.2094401866197586, -0.28054094314575195, 0.026937995105981827, 0.279360830783844, 0.10107272863388062, -0.36514392495155334, 0.42213359475135803, 0.3396575152873993, 0.12282487750053406, -0.05003281682729721, 0.17284905910491943, 0.024014504626393318, -0.07667601853609085, -0.20087029039859772, 0.038585565984249115, -0.004378259181976318, -0.04337025061249733, -0.13958854973316193, -0.030167177319526672, 0.12621498107910156, -0.2838616967201233, -0.19832566380500793, -0.34936025738716125, 0.15564848482608795, 0.016669727861881256, 0.07779590040445328, -0.19168215990066528, -0.3877002000808716, 0.0736943855881691, -0.0035982076078653336, -0.2531469464302063, -0.21438395977020264, -0.04774599149823189, 0.14455537497997284, 0.674317479133606, 0.13877832889556885, -0.09558749198913574, -0.31385770440101624, -0.032689884305000305, -0.2800407409667969, -0.15409551560878754, -0.06777575612068176, -0.20623160898685455, 0.17533200979232788, 0.1350281536579132, -0.019485658034682274, -0.18507768213748932, -0.14624954760074615, -0.010307133197784424, -0.11703556030988693, 0.01354534924030304, -0.17574921250343323, -0.16734544932842255, 0.3326661288738251, 0.0034340396523475647, -0.04056446999311447, 0.011972654610872269, 0.019192060455679893, 0.10580496490001678, 0.2793891429901123, 0.01262642815709114, 0.19910931587219238, -0.08679524064064026, -0.24278925359249115, -0.023591579869389534, 0.03167809918522835, -0.23190952837467194, 0.1367914378643036, 0.338630348443985, -0.13685663044452667, 0.3758966624736786, 0.22354717552661896, 0.2919372618198395, 0.2085224986076355, -0.08877262473106384, -0.06982903927564621, -0.024205386638641357, 0.13361398875713348, -0.17046800255775452, -0.06600248068571091, 0.36010119318962097, 0.06811709702014923, 0.011567503213882446, 0.1072772964835167, 0.2596612870693207, 0.14199721813201904, 0.04745179042220116, 0.28416451811790466, 0.30329832434654236, -0.12458518147468567, 0.47362393140792847, 0.8708851337432861, -0.16527920961380005, 0.24017566442489624, 0.22849854826927185, 0.060126934200525284, -0.08813803642988205, 0.7055895328521729, -0.0026350244879722595, 0.5585532188415527, 0.6916590332984924, -0.11350564658641815, 0.15177704393863678, -0.13114824891090393, -0.03802104666829109, -0.017165765166282654, 0.19210276007652283, 0.19893458485603333, -0.029063701629638672, -0.09659486263990402, -0.22902075946331024, -0.31738653779029846, 0.00606176070868969, 0.1243378072977066, -0.08997086435556412, -0.12377247214317322, -0.2414475679397583, -0.27285388112068176, -0.10140910744667053, -0.17595908045768738, -0.30923306941986084, 0.0954568013548851, -0.14172129333019257, -0.08884015679359436, 0.025009572505950928, -0.1405600756406784, -0.49864286184310913, -0.1925482153892517, 0.005105346441268921, -0.10300838947296143, 0.2887657582759857, 0.4078429341316223, -0.039399899542331696, -0.033492688089609146, 0.23794656991958618, 0.5347881317138672, 0.4639786183834076, -0.04842279478907585, 0.4435598850250244, -0.1188964992761612, -0.08940555155277252, 0.17038775980472565, 0.09855158627033234, 0.11359608173370361, -0.2081211358308792, -0.2713906466960907, 0.01769609935581684, -0.03629576787352562, 0.3679204285144806, 0.008966788649559021, 0.045674994587898254, -0.05222368240356445, 0.19331592321395874, 0.30613142251968384, -0.43370723724365234, -0.0721401497721672, -0.047342829406261444, -0.15259909629821777, -0.4628518223762512, 0.6785761713981628, 0.39246952533721924, 0.13815614581108093, -0.06806167215108871, 0.0371360220015049, 0.07475397735834122, 0.4556797444820404, 0.30072054266929626, 0.13347643613815308, -0.050097040832042694, -0.14398996531963348, -0.7153112292289734, -0.06469673663377762, 0.07357223331928253, -0.1330074518918991, 0.4201425611972809, -0.026625141501426697, 0.2905619144439697, 0.22570407390594482, 0.12494820356369019, -0.21363505721092224, 0.1076735332608223, -0.20576202869415283, -0.6139216423034668, -0.0029798708856105804, 0.0028400495648384094, 0.4210827648639679, 0.001978786662220955, 0.14252543449401855, 0.0680803507566452, -0.17282146215438843, -0.10003237426280975, -0.1468542367219925, -0.21338021755218506, 0.22103404998779297, 0.022073006257414818, 0.19158346951007843, -0.059426791965961456, 0.5106421709060669, -0.055698029696941376, -0.1429728865623474, 0.03711190074682236, -0.14107510447502136, -0.1567053645849228, 0.3263882100582123, -0.2813276946544647, 0.29568853974342346, -0.1527567058801651, -0.24813006818294525, -0.24221809208393097, -0.1617833375930786, -0.2077869176864624, -0.1946212500333786, -0.37836340069770813, 0.07447639852762222, 0.3483525514602661, 0.16033008694648743, 0.13219451904296875, 0.044786565005779266, -0.07095886766910553, 0.2634914815425873, -0.5343522429466248, -0.0998820886015892, 0.6580434441566467, -0.28656962513923645, -0.26089856028556824, -0.4781424105167389, 0.212703138589859, -0.14924752712249756, -0.0379713773727417, -0.28309160470962524, -0.012872770428657532, 0.37105056643486023, -0.07586820423603058, -0.4466642141342163, -0.11750677227973938, 0.019269853830337524, -0.024419482797384262, -0.058344654738903046, -0.11978162825107574, -0.05835198611021042, -0.20679154992103577, -0.09189906716346741, -0.13200992345809937 ]
https://github.com/huggingface/datasets/pull/1860
Add loading from the Datasets Hub + add relative paths in download manager
I just added the steps to share a dataset on the datasets hub. It's highly inspired by the steps to share a model in the `transformers` doc. Moreover once the new huggingface_hub is released we can update the version in the setup.py. We also need to update the command to create a dataset repo in the documentation I added a few more tests with the "lhoestq/test" dataset I added on the hub and it works fine :)
With the new Datasets Hub on huggingface.co it's now possible to have a dataset repo with your own script and data. For example: https://huggingface.co/datasets/lhoestq/custom_squad/tree/main contains one script and two json files. You can load it using ```python from datasets import load_dataset d = load_dataset("lhoestq/custom_squad") ``` To be able to use the data files that live right next to the dataset script on the repo in the hub, I added relative paths support for the DownloadManager. For example in the repo mentioned above, there are two json files that can be downloaded via ```python _URLS = { "train": "train-v1.1.json", "dev": "dev-v1.1.json", } downloaded_files = dl_manager.download_and_extract(_URLS) ``` To make it work, I set the `base_path` of the DownloadManager to be the parent path of the dataset script (which comes from either a local path or a remote url). I also had to add the auth header of the requests to huggingface.co for private datasets repos. The token is fetched from [huggingface_hub](https://github.com/huggingface/huggingface_hub).
77
text: Add loading from the Datasets Hub + add relative paths in download manager With the new Datasets Hub on huggingface.co it's now possible to have a dataset repo with your own script and data. For example: https://huggingface.co/datasets/lhoestq/custom_squad/tree/main contains one script and two json files. You can load it using ```python from datasets import load_dataset d = load_dataset("lhoestq/custom_squad") ``` To be able to use the data files that live right next to the dataset script on the repo in the hub, I added relative paths support for the DownloadManager. For example in the repo mentioned above, there are two json files that can be downloaded via ```python _URLS = { "train": "train-v1.1.json", "dev": "dev-v1.1.json", } downloaded_files = dl_manager.download_and_extract(_URLS) ``` To make it work, I set the `base_path` of the DownloadManager to be the parent path of the dataset script (which comes from either a local path or a remote url). I also had to add the auth header of the requests to huggingface.co for private datasets repos. The token is fetched from [huggingface_hub](https://github.com/huggingface/huggingface_hub). I just added the steps to share a dataset on the datasets hub. It's highly inspired by the steps to share a model in the `transformers` doc. Moreover once the new huggingface_hub is released we can update the version in the setup.py. We also need to update the command to create a dataset repo in the documentation I added a few more tests with the "lhoestq/test" dataset I added on the hub and it works fine :)
[ -0.14191947877407074, -0.02870120108127594, -0.011363359168171883, 0.13506966829299927, 0.13400223851203918, -0.1525813341140747, 0.32634082436561584, 0.22965413331985474, 0.12793976068496704, 0.08505497127771378, -0.4815503656864166, 0.31232261657714844, -0.16199971735477448, 0.18782711029052734, 0.2844303250312805, -0.08516725897789001, -0.05977218598127365, 0.011405788362026215, -0.24818629026412964, -0.11089660227298737, -0.010752223432064056, 0.28710228204727173, 0.10025738179683685, 0.04219747707247734, -0.2078450322151184, 0.02644168771803379, -0.09998608380556107, 0.3181197941303253, -0.09477046132087708, -0.38509348034858704, 0.2511594295501709, 0.2977929413318634, 0.3283540606498718, 0.6401559114456177, -0.00010327908239560202, 0.1403898149728775, 0.24766309559345245, -0.10582409799098969, -0.34592175483703613, -0.37871283292770386, -0.0950561910867691, -0.0913650169968605, 0.28792792558670044, -0.1492258459329605, -0.17425739765167236, 0.17550086975097656, 0.18002258241176605, -0.039774879813194275, 0.5009433031082153, 0.2900111973285675, 0.2444656938314438, 0.6308660507202148, -0.05124889314174652, -0.24353228509426117, 0.1982797533273697, 0.168658047914505, -0.16784951090812683, 0.2815924286842346, 0.4403725266456604, 0.10523715615272522, -0.18808123469352722, -0.022305572405457497, 0.195174440741539, -0.08840121328830719, 0.3061821460723877, 0.2240155041217804, 0.03783397004008293, -0.1953747570514679, -0.131329745054245, 0.2810908257961273, 0.2916450500488281, -0.6119650602340698, -0.4280724823474884, -0.3467191457748413, -0.058490652590990067, -0.059479065239429474, 0.03602662310004234, 0.16855137050151825, 0.00022127944976091385, 0.20961566269397736, -0.2860346734523773, -0.3617301881313324, -0.21398377418518066, 0.013184461742639542, 0.02524814009666443, 0.2573346495628357, -0.14706005156040192, -0.07057226449251175, -0.019213277846574783, 0.06328362971544266, -0.13359105587005615, -0.15227912366390228, 0.024799585342407227, 0.1838982105255127, -0.2821148633956909, -0.2025984525680542, 0.09210336208343506, 0.11650672554969788, 0.4012649953365326, 0.28264695405960083, -0.01734929159283638, -0.008278675377368927, -0.15054653584957123, 0.03238450735807419, 0.2929929494857788, 0.3018660247325897, -0.06164880841970444, 0.18412302434444427, 0.2883227467536926, 0.3665781617164612, 0.2261982262134552, -0.06251011788845062, -0.16335667669773102, 0.022191904485225677, -0.3419577181339264, -0.13592064380645752, 0.2718583941459656, 0.02778303250670433, -0.001829240471124649, -0.2292655110359192, 0.2423875629901886, -0.05549837276339531, 0.20132344961166382, 0.465312123298645, -0.06402265280485153, -0.04719451814889908, -0.15938404202461243, 0.2366063892841339, -0.05645240098237991, 0.10260036587715149, -0.27322152256965637, 0.18715892732143402, -0.18179360032081604, 0.22944077849388123, 0.1960434913635254, -0.10239550471305847, 0.2899627685546875, -0.2422659993171692, 0.4745903015136719, 0.06826401501893997, 0.014042859897017479, 0.2991306781768799, -0.2493450939655304, 0.13515712320804596, 0.18978123366832733, 0.1705271452665329, 0.00803084671497345, -0.23769071698188782, -0.35684171319007874, -0.06313366442918777, -0.2778685688972473, -0.46973520517349243, -0.16060695052146912, 0.18748106062412262, -0.5246214270591736, 0.010981053113937378, -0.405313104391098, 0.07883093506097794, -0.1586121916770935, -0.03913482651114464, 0.1224370002746582, 0.2668868899345398, -0.0866888165473938, -0.15472303330898285, 0.3166176378726959, 0.6356834173202515, 0.025045547634363174, -0.5123789310455322, 0.0843203067779541, -0.2428368628025055, -0.19012224674224854, 0.11668704450130463, -0.3404174745082855, 0.25726813077926636, -0.18464136123657227, 0.031135596334934235, 0.4175741374492645, -0.7525079846382141, -0.46136584877967834, 0.25123804807662964, -0.37519681453704834, 0.049534380435943604, 0.09468571096658707, -0.005294355563819408, 0.36988565325737, -0.07026896625757217, -0.21678662300109863, 0.4895811080932617, 0.06653887778520584, 0.2555147409439087, -0.2950018346309662, -0.4496508538722992, -0.14134268462657928, 0.43256694078445435, -0.028552237898111343, 0.08405224978923798, 0.0716746374964714, 0.1892879158258438, 0.26404276490211487, -0.006140302866697311, 0.19595037400722504, 0.07158301770687103, 0.2877824008464813, 0.0886673778295517, 0.02251250483095646, -0.22603046894073486, -0.7366083860397339, 0.2274363934993744, -0.3515515923500061, 0.2664887309074402, -0.15153305232524872, -0.3147900104522705, -0.2580445408821106, -0.09248330444097519, -0.3666243553161621, -0.40984809398651123, 0.14484632015228271, -0.08206786215305328, 0.25493356585502625, 0.060921598225831985, -0.3747124671936035, 0.40987691283226013, 0.21405598521232605, 0.2200935184955597, -0.4808436930179596, 0.5317094922065735, -0.07367398589849472, 0.01156588364392519, 0.10723091661930084, 0.1916123330593109, 0.02387995272874832, -0.1628078818321228, 0.17397776246070862, 0.5244736075401306, -0.1664467751979828, 0.33153343200683594, 0.3647800087928772, 0.3072008788585663, 0.44460853934288025, -0.03367885947227478, 0.18387873470783234, -0.05971572920680046, 0.013297534547746181, 0.11761174350976944, -0.5519506931304932, 0.32153141498565674, -0.3126393258571625, 0.1784047931432724, 0.141627237200737, 0.010224934667348862, 0.1880018264055252, -0.052356697618961334, -0.4191439747810364, -0.02915564551949501, -0.07771167159080505, 0.22831594944000244, 0.24803565442562103, -0.1016225814819336, -0.008922658860683441, 0.200504332780838, 0.21315182745456696, -0.009130561724305153, 0.12875303626060486, -0.035830624401569366, -0.26921558380126953, -0.009109802544116974, 0.049747075885534286, 0.3453327715396881, 0.22932367026805878, 0.14992548525333405, 0.05838184803724289, 0.2609345614910126, 0.10555097460746765, -0.2270917445421219, -0.02516242116689682, 0.039183784276247025, 0.04194711148738861, 0.0939883291721344, 0.03936736658215523, 0.005156754516065121, -0.15233781933784485, -0.3611995577812195, 0.07226547598838806, 0.08848080039024353, -0.24285228550434113, -0.11871098726987839, -0.021884948015213013, 0.1010633185505867, -0.2854962646961212, -0.2105954885482788, -0.35435178875923157, -0.18814492225646973, 0.21727494895458221, 0.10718847066164017, -0.07126115262508392, 0.24728314578533173, 0.11696869134902954, 0.40266039967536926, -0.12090127170085907, -0.19976745545864105, -0.10741695016622543, -0.09343176335096359, -0.014298804104328156, 0.14347019791603088, 0.19107232987880707, 0.09853008389472961, 0.11050379276275635, -0.2648989260196686, 0.15577691793441772, -0.35430392622947693, -0.08955095708370209, 0.1731860637664795, 0.014513647183775902, 0.16877487301826477, 0.2232508510351181, 0.12673050165176392, 0.13097551465034485, -0.011529264971613884, 0.23608900606632233, -0.15238937735557556, -0.12037579715251923, -0.20620197057724, -0.008196677081286907, -0.013461628928780556, -0.22809551656246185, -0.32135337591171265, -0.3628960847854614, -0.4179873466491699, 0.3198474645614624, 0.13857436180114746, 0.16004174947738647, 0.022564545273780823, 0.045101411640644073, 0.240329772233963, -0.2066921889781952, -0.16037727892398834, -0.01617974042892456, -0.47224074602127075, 0.34613534808158875, -0.45314139127731323, -0.21434028446674347, 0.16780810058116913, 0.055897243320941925, 0.20168302953243256, -0.3985464572906494, -0.32436686754226685, -0.5936976075172424, -0.1142733246088028, 0.2856864929199219, 0.13608801364898682, 0.3784426152706146, 0.4188339412212372, 0.08283969759941101, 0.0441344752907753, -0.03541798144578934, -0.21644794940948486, -0.03825140744447708, 0.029039185494184494, 0.12614914774894714, -0.09853620827198029, 0.3992122709751129, -0.08274243772029877, 0.7529928684234619, 0.3725348711013794, 0.10959625244140625, 0.07008548825979233, -0.1920926719903946, 0.42329442501068115, -0.07463910430669785, -0.1139836460351944, -0.07343445718288422, 0.056499555706977844, -0.03690499812364578, 0.37400108575820923, 0.27899181842803955, 0.2962789833545685, -0.16579052805900574, -0.2766416072845459, -0.13560563325881958, -0.32189473509788513, -0.03833954781293869, 0.10376343876123428, -0.0757836177945137, -0.043315574526786804, -0.1052878201007843, -0.15485602617263794, 0.038868583738803864, 0.12651163339614868, 0.4321213960647583, 0.1171068400144577, 0.0820566788315773, -0.33008578419685364, 0.08030108362436295, -0.4660935401916504, -0.06281182169914246, -0.07756748050451279, -0.17000627517700195, 0.15533752739429474, -0.11747556924819946, 0.06796558201313019, -0.19043183326721191, 0.6423925161361694, 0.005871581844985485, -0.027437515556812286, -0.16353704035282135, -0.30872780084609985, -0.21582813560962677, 0.06628508865833282, 0.013083118945360184, 0.13358516991138458, -0.10463954508304596, 0.3785252571105957, -0.4113239049911499, -0.2246425449848175, 0.07377360761165619, -0.20064198970794678, -0.21423064172267914, -0.17397519946098328, -0.16943393647670746, -0.240352600812912, -0.5612707138061523, -0.10980876535177231, 0.0005118288099765778, -0.0017437832430005074, -0.20446661114692688, 0.1631716787815094, 0.3040700852870941, 0.03697708249092102, 0.15937872231006622, 0.22090867161750793, 0.24304568767547607, 0.17611421644687653, 0.12626837193965912, 0.3318827748298645, 0.07126923650503159, -0.0485827699303627, 0.7157497406005859, -0.034849654883146286, -0.2486838698387146, 0.05273893475532532, 0.048503708094358444, 0.035289593040943146, 0.37535548210144043, 0.17252278327941895, 0.06159549206495285, 0.02014434151351452, 0.028321538120508194, -0.11902780085802078, -0.01900489814579487, 0.09421784430742264, -0.1365504264831543, -0.01602930761873722, -0.25701555609703064, 0.3923202157020569, -0.1662236750125885, -0.05828944966197014, -0.14398396015167236, 0.34491509199142456, -0.2713848948478699, 0.06147512048482895, -0.18329256772994995, 0.9080339074134827, -0.2360958307981491, 0.38657310605049133, 0.19022724032402039, -0.24178571999073029, 0.5370265245437622, -0.5010502338409424, -0.05562504380941391, -0.34109464287757874, 0.09474050253629684, 0.0071947891265153885, -0.04671497642993927, -0.041315652430057526, 0.037132199853658676, -0.32493868470191956, 0.19686579704284668, 0.0009600967168807983, 0.5522973537445068, -0.08506658673286438, 0.44534996151924133, -0.13348814845085144, -0.4607944190502167, -0.4331749379634857, 0.21593940258026123, 0.07353226840496063, 0.1528816521167755, -0.09102855622768402, -0.3310794234275818, -0.2999400794506073, -0.05954596772789955, -0.0003207400441169739, 0.1502974033355713, 0.07944627851247787, -0.014679662883281708, 0.2059946060180664, 0.037236735224723816, 0.20583608746528625, 0.3421553373336792, 0.21023894846439362, 0.07057464122772217, -0.4759037494659424, 0.23016957938671112, -0.33196884393692017, 0.01914716139435768, -0.030921226367354393, 0.01837482675909996, 0.1960357129573822, -0.1518227607011795, -0.2947693467140198, 0.27474844455718994, 0.09294780343770981, -0.2815195918083191, -0.23679527640342712, -0.018745675683021545, 0.13872873783111572, -0.30325207114219666, -0.004780120216310024, 0.14606298506259918, -0.13028892874717712, -0.1271754652261734, 0.17618106305599213, 0.20047467947006226, -0.2879210412502289, -0.11623119562864304, 0.1657552868127823, -0.08023282140493393, -0.05472107604146004, 0.37474510073661804, -0.06063075363636017, -0.24763153493404388, 0.2938040494918823, 0.23150400817394257, -0.023745257407426834, -0.171966552734375, 0.06238364428281784, 0.575666069984436, -0.6669880747795105, 0.07405701279640198, -0.11903625726699829, -0.21741357445716858, 0.0007343016914092004, 0.24136964976787567, 0.1578289270401001, -0.05068649351596832, -0.11676353216171265, -0.1638716161251068, -0.36223164200782776, 0.3688293695449829, 0.12777777016162872, 0.3341253995895386, 0.0025506019592285156, 0.10061238706111908, 0.05580507963895798, -0.005697095766663551, -0.40610143542289734, 0.07375500351190567, -0.20334875583648682, -0.12195596098899841, 0.06520470231771469, -0.17846807837486267, 0.3516950309276581, -0.020542316138744354, 0.048403359949588776, -0.05509652942419052, -0.3722054064273834, -0.21462827920913696, -0.1987295299768448, 0.12081287801265717, 0.1014876514673233, -0.045999735593795776, -0.16082727909088135, 0.0263637937605381, -0.16540367901325226, -0.09037802368402481, 0.36659330129623413, 0.18750068545341492, 0.095535509288311, 0.1011541485786438, 0.3856619596481323, -0.10040613263845444, -0.20944549143314362, 0.04023844748735428, 0.32519733905792236, 0.19848503172397614, 0.1477242410182953, 0.15838566422462463, -0.4142861068248749, -0.009777173399925232, 0.007719437591731548, 0.3036417067050934, 0.5747369527816772, 0.4457753598690033, 0.3275868892669678, -0.08744217455387115, -0.0745849758386612, 0.09361829608678818, 0.4482232928276062, 0.13097290694713593, -0.19745278358459473, 0.10822403430938721, 0.04870637506246567, 0.16025884449481964, -0.1380455493927002, -0.06739883869886398, 0.2676176428794861, -0.18241006135940552, 0.23245322704315186, 0.42893120646476746, 0.15015922486782074, 0.27867698669433594, 0.18884208798408508, 0.1302369236946106, 0.6743249297142029, 0.11416114121675491, 0.1235715001821518, 0.013867177069187164, -0.24593375623226166, 0.07108302414417267, 0.21709416806697845, 0.16969013214111328, 0.20906057953834534, 0.1693631112575531, -0.3832486569881439, 0.24553129076957703, -0.2035597860813141, -0.07477268576622009, 0.46628087759017944, -0.026217959821224213, -0.16044680774211884, -0.16353237628936768, 0.21632994711399078, -0.17577937245368958, -0.19572868943214417, 0.4052891135215759, -0.19251979887485504, 0.12402046471834183, -0.23746395111083984, 0.1797376126050949, 0.0760720819234848, -0.23894040286540985, -0.0607869029045105, -0.2954334318637848, -0.21494336426258087, -0.07928889244794846, -0.12705311179161072, -0.2977389097213745, -0.0005987435579299927, -0.2355222851037979, 0.07896969467401505, -0.08621357381343842, 0.06578002870082855, 0.19325050711631775, 0.07317224144935608, -0.09512959420681, 0.16119177639484406, 0.09512323141098022, -0.03636931627988815, -0.05472596362233162, 0.16073456406593323, 0.1335422694683075, 0.12917271256446838, 0.10397863388061523, 0.14206087589263916, 0.1092081218957901, 0.026128197088837624, 0.008965102955698967, -0.025400739163160324, -0.14876022934913635, -0.16246643662452698, 0.1274041086435318, 0.2110365480184555, -0.24686846137046814, -0.06364816427230835, -0.10021834075450897, -0.017218120396137238, -0.14930666983127594, 0.3819359838962555, -0.12448632717132568, -0.019914060831069946, -0.08542533218860626, 0.08375437557697296, -0.5301619172096252, -0.08595965057611465, 0.15147832036018372, -0.04958917945623398, 0.09906503558158875, -0.354882150888443, 0.11552612483501434, 0.12408889830112457, 0.4475148916244507, 0.3117069602012634, 0.222357839345932, -0.14484208822250366, -0.04505395144224167, -0.4412684440612793, 0.23526664078235626, 0.06703811883926392, -0.14731557667255402, -0.1286286860704422, 0.3496531844139099, -0.12287651747465134, 0.20951902866363525, -0.053479745984077454, -0.0756656676530838, -0.11404284834861755, -0.1365513801574707, -0.0732571929693222, -0.10784201323986053, -0.30573296546936035, 0.24804966151714325, 0.24797821044921875, -0.014593489468097687, 0.033122021704912186, 0.11648669838905334, -0.010753758251667023, -0.11200718581676483, 0.16650323569774628, 0.007355920970439911, -0.4992929995059967, 0.08773405104875565, -0.1382901668548584, 0.01789885014295578, -0.0880165621638298, -0.13601629436016083, -0.45446377992630005, -0.2168707549571991, -0.2230595499277115, -0.15510135889053345, -0.0942898541688919, 0.18317903578281403, -0.12847889959812164, -0.19223541021347046, -0.3619288504123688, -0.03939136117696762, 0.16846001148223877, -0.04141465947031975, -0.0048487503081560135, 0.10283058881759644, -0.1412726491689682, 0.10491809248924255, 0.19159035384655, 0.26052719354629517, -0.15960831940174103, 0.14784663915634155, -0.19120705127716064, -0.16337497532367706, 0.474272757768631, -0.2815297544002533, -0.10303716361522675, -0.058369994163513184, 0.1570582091808319, 0.03063800558447838, -0.2714526057243347, -0.6121437549591064, 0.2747178077697754, 0.11188845336437225, 0.055297937244176865, -0.19908039271831512, 0.16477374732494354, -0.01930815353989601, -0.06436949968338013, -0.2554837465286255, 0.1622420847415924, 0.06536871939897537, 0.07688245177268982, -0.015424223616719246, -0.250542551279068 ]
https://github.com/huggingface/datasets/pull/1850
Add cord 19 dataset
Before merging I might tweak a little bit the dummy data to avoid having to check if the `document_parses` and `embeddings` directories exist or not. I'll do that later today
Initial version only reading the metadata in CSV. ### Checklist: - [x] Create the dataset script /datasets/my_dataset/my_dataset.py using the template - [x] Fill the _DESCRIPTION and _CITATION variables - [x] Implement _infos(), _split_generators() and _generate_examples() - [x] Make sure that the BUILDER_CONFIGS class attribute is filled with the different configurations of the dataset and that the BUILDER_CONFIG_CLASS is specified if there is a custom config class. - [x] Generate the metadata file dataset_infos.json for all configurations - [x] Generate the dummy data dummy_data.zip files to have the dataset script tested and that they don't weigh too much (<50KB) - [x] Add the dataset card README.md using the template and at least fill the tags - [x] Both tests for the real data and the dummy data pass. ### Extras: - [x] add more metadata - [x] add full text - [x] add pre-computed document embedding
30
text: Add cord 19 dataset Initial version only reading the metadata in CSV. ### Checklist: - [x] Create the dataset script /datasets/my_dataset/my_dataset.py using the template - [x] Fill the _DESCRIPTION and _CITATION variables - [x] Implement _infos(), _split_generators() and _generate_examples() - [x] Make sure that the BUILDER_CONFIGS class attribute is filled with the different configurations of the dataset and that the BUILDER_CONFIG_CLASS is specified if there is a custom config class. - [x] Generate the metadata file dataset_infos.json for all configurations - [x] Generate the dummy data dummy_data.zip files to have the dataset script tested and that they don't weigh too much (<50KB) - [x] Add the dataset card README.md using the template and at least fill the tags - [x] Both tests for the real data and the dummy data pass. ### Extras: - [x] add more metadata - [x] add full text - [x] add pre-computed document embedding Before merging I might tweak a little bit the dummy data to avoid having to check if the `document_parses` and `embeddings` directories exist or not. I'll do that later today
[ -0.5842410922050476, -0.14549069106578827, -0.0393269807100296, 0.019185010343790054, -0.06538403034210205, 0.1529875099658966, 0.1401919573545456, 0.3970247805118561, -0.2544463872909546, 0.10954932868480682, -0.01709766872227192, 0.4759649634361267, -0.08119538426399231, 0.5363598465919495, -0.11582230031490326, 0.28364381194114685, 0.06410962343215942, 0.41712573170661926, -0.1856391429901123, 0.03769146651029587, -0.29737138748168945, 0.16028498113155365, 0.08909319341182709, -0.3023993968963623, -0.44167956709861755, -0.017795516178011894, -0.20538482069969177, 0.1270197033882141, -0.47593992948532104, -0.292987585067749, 0.06986904889345169, 0.34588098526000977, -0.030653897672891617, 0.46103450655937195, -0.00010411783296149224, -0.1594456136226654, 0.1912870854139328, -0.06603330373764038, -0.357730895280838, -0.3694614768028259, -0.24576231837272644, -0.045835867524147034, 0.15296009182929993, -0.09841369837522507, -0.11312618106603622, -0.2385150045156479, -0.11319264769554138, 0.05180025100708008, 0.4102565050125122, 0.3210001289844513, 0.26245027780532837, -0.04443902522325516, 0.11534178256988525, -0.267563134431839, -0.09050392359495163, 0.5811481475830078, -0.1299205720424652, 0.09931743144989014, 0.23205959796905518, -0.06852971017360687, 0.1166858896613121, 0.31394070386886597, 0.16580988466739655, 0.03831861913204193, 0.7005553245544434, -0.061665065586566925, 0.05681849271059036, -0.2855243980884552, 0.04669877514243126, 0.29381996393203735, 0.5251058340072632, -0.3132585883140564, -0.17315328121185303, -0.09497858583927155, -0.09559690952301025, -0.380656361579895, 0.0837213322520256, 0.16784822940826416, -0.13005918264389038, -0.03708518669009209, -0.15956087410449982, -0.2342420220375061, -0.3677164912223816, -0.07426375150680542, 0.014797955751419067, 0.5675572156906128, 0.04060829058289528, -0.1164393201470375, 0.06492230296134949, -0.1710723638534546, 0.21324937045574188, -0.2532336711883545, -0.014517400413751602, -0.1754358559846878, 0.09635687619447708, -0.145982563495636, 0.09742827713489532, -0.23789814114570618, 0.3715597689151764, 0.20531639456748962, -0.041205670684576035, -0.04501035809516907, 0.21609266102313995, 0.23425748944282532, 0.07813596725463867, -0.03130175545811653, 0.08393506705760956, 0.2788039743900299, 0.015249613672494888, 0.20230235159397125, 0.1518460512161255, -0.0069178566336631775, -0.08741454780101776, 0.08575783669948578, -0.2791091203689575, -0.07440613955259323, 0.2732541561126709, -0.3383297026157379, -0.11200829595327377, -0.16337326169013977, 0.20126992464065552, 0.07574057579040527, -0.2581384778022766, 0.2543889284133911, -0.21624547243118286, -0.23148158192634583, 0.05291932821273804, 0.17494259774684906, -0.07702904939651489, 0.26070311665534973, -0.11195108294487, 0.11084119975566864, 0.04009920731186867, -0.13981890678405762, 0.23373131453990936, -0.28229832649230957, 0.26127853989601135, -0.021884284913539886, 0.1847611665725708, 0.09553033113479614, 0.277702659368515, -0.05452509596943855, 0.3948398232460022, 0.30375024676322937, 0.10598951578140259, -0.025128955021500587, 0.08066503703594208, -0.19088315963745117, -0.25494256615638733, 0.055117167532444, 0.0003264695405960083, -0.2576354444026947, -0.1745562106370926, 0.34140297770500183, -0.021923590451478958, -0.06131822615861893, -0.32615146040916443, 0.30048081278800964, -0.08542121201753616, -0.05479252338409424, -0.20959529280662537, 0.15152856707572937, -0.3991837501525879, -0.2049422264099121, 0.2756515443325043, 0.3836912512779236, -0.6203104257583618, -0.029352761805057526, -0.07070261240005493, 0.0010503046214580536, -0.20896387100219727, 0.12737290561199188, -0.18052363395690918, 0.05328689143061638, -0.24931783974170685, 0.2635464072227478, 0.059283606708049774, -0.32452017068862915, -0.07438860088586807, 0.213532954454422, -0.12980732321739197, -0.10660254210233688, 0.1964970827102661, -0.0400116927921772, 0.27492278814315796, -0.2108583301305771, 0.018434610217809677, 0.3324171304702759, -0.2820330858230591, 0.018874848261475563, -0.3106960654258728, -0.246168315410614, 0.2014167159795761, -0.012079335749149323, 0.004467975348234177, -0.21455153822898865, -0.09822966903448105, -0.47060322761535645, 0.14916451275348663, -0.1998005211353302, 0.03448604792356491, 0.14204338192939758, 0.35645872354507446, -0.0970906913280487, 0.02768174558877945, 0.13462534546852112, -0.1677055060863495, 0.06308919936418533, 0.1772139072418213, 0.3377857506275177, -0.22716130316257477, -0.3709232211112976, -0.28106963634490967, -0.07236278802156448, -0.32941997051239014, -0.2838594913482666, 0.2492762804031372, 0.28364360332489014, -0.03792712092399597, -0.14345329999923706, -0.20346328616142273, 0.11650150269269943, -0.004319900646805763, 0.22570852935314178, -0.5042140483856201, 0.14499768614768982, -0.2227957397699356, -0.06334808468818665, 0.37327003479003906, -0.04054774343967438, -0.041407838463783264, -0.11724637448787689, 0.056261733174324036, 0.35820358991622925, -0.06297801434993744, 0.15956376492977142, 0.04468299448490143, 0.14099739491939545, 0.28739356994628906, -0.38161173462867737, 0.004772251471877098, 0.09308873116970062, 0.029608994722366333, -0.14463883638381958, -0.6184826493263245, 0.2168891429901123, 0.054437968879938126, 0.15031084418296814, 0.23685680329799652, -0.18620623648166656, 0.007193727418780327, 0.06401842832565308, -0.10011357069015503, -0.04834236949682236, -0.01664942130446434, 0.23817330598831177, 0.02847079560160637, -0.12159089744091034, 0.02530728280544281, 0.353319376707077, 0.27111417055130005, 0.1316998153924942, -0.0514756515622139, 0.08371306955814362, -0.26131463050842285, -0.13798411190509796, 0.11664783209562302, 0.27326738834381104, 0.26086243987083435, 0.3389860689640045, 0.08094990253448486, 0.2523803412914276, -0.11021018773317337, -0.09095446765422821, 0.2521476745605469, 0.09475001692771912, 0.10884954035282135, 0.27722278237342834, -0.10298898816108704, -0.06174147501587868, -0.1939118206501007, -0.12820716202259064, 0.012910580262541771, 0.12728643417358398, -0.15209069848060608, 0.02323308028280735, -0.020009636878967285, -0.4074907898902893, -0.1263919472694397, 0.06836672872304916, -0.04018136486411095, -0.21681302785873413, 0.13866814970970154, 0.16838635504245758, -0.15234272181987762, 0.2508048415184021, 0.29609736800193787, -0.01591131091117859, -0.06007089465856552, -0.1639755666255951, 0.10271833837032318, -0.07597170025110245, -0.009763013571500778, 0.24032053351402283, 0.20033739507198334, 0.3742625117301941, 0.5832073092460632, -0.09389020502567291, 0.23662029206752777, -0.08397841453552246, -0.4575524628162384, 0.11961694806814194, -0.23466388881206512, 0.16894115507602692, 0.08120288699865341, 0.09543628245592117, 0.21053357422351837, -0.3786715269088745, 0.08815895020961761, 0.09497271478176117, -0.1385306566953659, -0.09964673966169357, -0.1521923691034317, -0.22815118730068207, -0.1579286903142929, -0.7506356239318848, -0.15932147204875946, -0.38133755326271057, 0.31918931007385254, 0.2241947203874588, 0.15524908900260925, 0.26117581129074097, 0.40195438265800476, -0.08073867112398148, 0.016264628618955612, 0.028743036091327667, -0.025032373145222664, -0.17899762094020844, 0.2847600281238556, -0.30214372277259827, -0.3081556558609009, 0.2935796082019806, -0.0023314468562602997, 0.2785772979259491, 0.013640126213431358, -0.1987479031085968, 0.1880652904510498, 0.04738865792751312, 0.2995004951953888, 0.026619642972946167, 0.04174066334962845, 0.4790547788143158, 0.2611090838909149, -0.15772630274295807, -0.06288416683673859, -0.16926370561122894, 0.048699624836444855, -0.16940808296203613, 0.23849359154701233, -0.19800952076911926, 0.3332289755344391, -0.14992442727088928, 0.16212143003940582, 0.2001393884420395, -0.07118648290634155, 0.0313202403485775, -0.043397337198257446, 0.28956398367881775, -0.08579558879137039, -0.17510239779949188, 0.17754745483398438, 0.1439945101737976, -0.04201393201947212, 0.2864728271961212, 0.11552459746599197, -0.0056807175278663635, -0.23541057109832764, -0.16817383468151093, -0.2725656032562256, -0.1538769155740738, 0.17327767610549927, 0.17399606108665466, 0.10978119820356369, -0.04153534024953842, 0.03059733659029007, -0.0796416848897934, 0.007758116349577904, -0.016613507643342018, 0.3152117133140564, 0.047641679644584656, 0.08326835185289383, -0.18281683325767517, 0.07273642718791962, -0.32329538464546204, 0.13231199979782104, 0.18289482593536377, -0.1313224583864212, -0.12750962376594543, -0.1523706614971161, -0.28233373165130615, -0.1821237951517105, 0.1411069631576538, -0.48453205823898315, 0.01176004484295845, 0.22934895753860474, 0.1918950229883194, -0.12386194616556168, 0.10993807017803192, -0.1516701877117157, 0.030638493597507477, 0.14588314294815063, 0.479082316160202, -0.4524090588092804, -0.12044581025838852, 0.0823134183883667, 0.25649410486221313, -0.0012595094740390778, -0.024762090295553207, -0.17183025181293488, -0.2542168200016022, -0.4384574294090271, -0.12557253241539001, 0.02982996217906475, -0.1635616421699524, -0.22926785051822662, -0.27439194917678833, 0.10372574627399445, -0.11602555215358734, 0.26683303713798523, 0.2515758275985718, 0.2780889868736267, -0.14963598549365997, 0.2942623496055603, 0.16463348269462585, 0.10514272749423981, 0.7686837911605835, 0.3505694270133972, -0.014714084565639496, -0.19732174277305603, -0.021190207451581955, -0.21887007355690002, 0.34103721380233765, 0.07802755385637283, -0.051480866968631744, -0.03667346388101578, 0.012372397817671299, 0.13456569612026215, -0.25627636909484863, 0.1290036141872406, 0.1934831291437149, 0.05359725281596184, -0.46996644139289856, -0.30839744210243225, 0.26211825013160706, 0.05824833735823631, 0.015914641320705414, 0.2625112533569336, -0.0709967315196991, -0.13545431196689606, 0.24637921154499054, 0.01868462562561035, 0.8276805281639099, 0.23816043138504028, -0.04183943197131157, 0.22799280285835266, -0.3909337520599365, 0.48726919293403625, -0.3940127491950989, -0.08594405651092529, -0.3589189946651459, -0.1763257384300232, -0.027089795097708702, -0.1123490110039711, 0.15770822763442993, 0.08970245718955994, -0.7028328776359558, 0.12287893146276474, -0.136222243309021, 0.06275536119937897, -0.128757506608963, 0.6424093246459961, -0.17733480036258698, -0.2935090661048889, 0.03144925832748413, 0.27078717947006226, 0.04724138230085373, -0.1413891762495041, -0.04867979884147644, -0.24014918506145477, -0.13606837391853333, -0.229842409491539, -0.06172671541571617, 0.1914403736591339, -0.25447899103164673, 0.03266621008515358, -0.11082759499549866, -0.11297005414962769, 0.12529143691062927, -0.1702507585287094, 0.16500455141067505, 0.2601069211959839, -0.2782292664051056, 0.05595263093709946, -0.2257753312587738, -0.07286430150270462, -0.09201008081436157, -0.23698213696479797, 0.305356502532959, -0.2162577509880066, -0.10969174653291702, -0.0858251079916954, -0.050362538546323776, 0.07274274528026581, 0.036320760846138, -0.37032026052474976, 0.004887353628873825, -0.4550613760948181, 0.21897846460342407, 0.06501760333776474, -0.4102543294429779, -0.2334493100643158, 0.23873303830623627, 0.04941566288471222, -0.20380191504955292, 0.2693650424480438, 0.19933602213859558, -0.03705814853310585, -0.19321317970752716, 0.15758025646209717, 0.07902655750513077, -0.12206771224737167, 0.1102384403347969, 0.2715478241443634, -0.14564386010169983, -0.36352628469467163, -0.03610483556985855, 0.3394200801849365, -0.2649039626121521, 0.02491283416748047, 0.04174478352069855, -0.18068140745162964, 0.11676577478647232, 0.49527984857559204, 0.14810839295387268, 0.004553481936454773, -0.0763375461101532, -0.10649529099464417, -0.4430851638317108, 0.19610174000263214, 0.12874357402324677, 0.36661496758461, -0.15998104214668274, 0.24465727806091309, 0.11497330665588379, 0.2280651479959488, -0.46673113107681274, 0.007418641354888678, 0.030001366510987282, 0.10111172497272491, -0.06487497687339783, -0.03686369210481644, 0.29767903685569763, -0.1658819019794464, 0.16497263312339783, 0.18133530020713806, -0.28069865703582764, -0.2855220437049866, -0.15887273848056793, 0.06728092581033707, 0.07488138973712921, -0.12909483909606934, -0.13352130353450775, 0.10111263394355774, -0.3301621675491333, 0.06015961989760399, 0.17957711219787598, -0.20664292573928833, -0.2125575691461563, -0.07863270491361618, 0.05684767663478851, -0.06270500272512436, 0.014315318316221237, -0.140790194272995, 0.148057222366333, 0.24949762225151062, -0.14304089546203613, -0.05938439071178436, -0.355369508266449, -0.18091371655464172, 0.08931691944599152, 0.1741003394126892, 0.16559794545173645, -0.010252118110656738, 0.2754961848258972, -0.21923954784870148, 0.01821744814515114, -0.05448630824685097, 0.5462876558303833, 0.3847673535346985, 0.0658140778541565, 0.11334240436553955, 0.10397758334875107, 0.3420300781726837, -0.3512212038040161, -0.1071074828505516, -0.18476226925849915, -0.04560079425573349, 0.21210318803787231, 0.15225453674793243, 0.13878202438354492, -0.06870372593402863, -0.008374996483325958, 0.19920900464057922, 0.30264750123023987, -0.22870425879955292, 0.18531836569309235, 0.28023526072502136, -0.1459898054599762, 0.062044866383075714, -0.016513029113411903, 0.3155832886695862, 0.18099719285964966, 0.08627910166978836, 0.0195026695728302, 0.26598742604255676, 0.23457074165344238, -0.04268788918852806, 0.31110265851020813, -0.22729822993278503, 0.13925154507160187, 0.1328950673341751, 0.11748138815164566, 0.12270556390285492, 0.18264514207839966, 0.34370389580726624, 0.020749077200889587, -0.15121513605117798, -0.11275295913219452, 0.20245975255966187, -0.13980627059936523, 0.173668771982193, -0.13677769899368286, -0.19418078660964966, -0.1633722186088562, -0.15308119356632233, 0.025592362508177757, -0.09538973867893219, -0.030932307243347168, 0.10239554941654205, -0.0645921379327774, 0.06675779074430466, 0.17515084147453308, -0.0229969322681427, 0.2971230745315552, -0.16580162942409515, 0.14473780989646912, 0.3679819703102112, 0.012932416051626205, -0.06143347546458244, 0.33120471239089966, 0.6337475776672363, 0.10610131919384003, -0.13193075358867645, 0.34985703229904175, -0.1337113380432129, -0.22585703432559967, 0.056529298424720764, -0.029627330601215363, 0.0985894501209259, -0.043316762894392014, 0.24775682389736176, 0.2898399829864502, -0.26028361916542053, 0.10051445662975311, -0.19861938059329987, -0.20529724657535553, 0.11758901178836823, -0.24252280592918396, 0.09183157980442047, -0.28002557158470154, -0.12810230255126953, -0.022859618067741394, -0.5032461285591125, -0.10353958606719971, 0.6496114730834961, 0.24887144565582275, 0.163350909948349, -0.10841687023639679, 0.1468016356229782, 0.02968946099281311, 0.3334140479564667, 0.13356555998325348, 0.06493217498064041, -0.2816937565803528, -0.32633525133132935, -0.4553839862346649, -0.093563012778759, -0.10329455137252808, -0.29284295439720154, -0.08005549013614655, 0.16591405868530273, 0.15622872114181519, 0.2303386628627777, -0.1488036960363388, -0.02473543956875801, 0.15237241983413696, 0.1255699098110199, -0.2932550311088562, -0.15908490121364594, 0.20099936425685883, -0.06225183606147766, 0.23401924967765808, -0.15676173567771912, 0.014006592333316803, 0.0008505983278155327, 0.20110511779785156, -0.24023492634296417, 0.035898007452487946, 0.13514035940170288, 0.13568615913391113, 0.109150230884552, 0.023252472281455994, 0.4777335524559021, -0.2907485067844391, -0.20754732191562653, 0.10181623697280884, 0.15980596840381622, -0.22983573377132416, 0.4860187768936157, 0.33753055334091187, 0.43547332286834717, -0.004627185873687267, 0.04266074299812317, -0.254808247089386, -0.14723697304725647, 0.024955935776233673, -0.29752078652381897, -0.3671921491622925, 0.22761699557304382, 0.002919629216194153, 0.13107074797153473, 0.06437033414840698, 0.29287368059158325, -0.021602123975753784, -0.055363237857818604, -0.3028850257396698, -0.5812022089958191, 0.5956136584281921, 0.2434387505054474, -0.14510641992092133, -0.22226081788539886, 0.14679062366485596, 0.33513033390045166, 0.1852043718099594, -0.6169840097427368, 0.20389670133590698, 0.15593895316123962, -0.03446941822767258, -0.1724684238433838, 0.22956471145153046, 0.09282858669757843, 0.15932127833366394, -0.1535593569278717, 0.5370340347290039, 0.07356789708137512, -0.1958058476448059, -0.17637886106967926, -0.2869186997413635 ]
https://github.com/huggingface/datasets/pull/1846
Make DownloadManager downloaded/extracted paths accessible
First I was thinking of the dict, which makes sense for .download, mapping URL to downloaded path. However does this make sense for .extract, mapping the downloaded path to the extracted path? I ask this because the user did not chose the downloaded path, so this is completely unknown for them...
Make accessible the file paths downloaded/extracted by DownloadManager. Close #1831. The approach: - I set these paths as DownloadManager attributes: these are DownloadManager's concerns - To access to these from DatasetBuilder, I set the DownloadManager instance as DatasetBuilder attribute: object composition
51
text: Make DownloadManager downloaded/extracted paths accessible Make accessible the file paths downloaded/extracted by DownloadManager. Close #1831. The approach: - I set these paths as DownloadManager attributes: these are DownloadManager's concerns - To access to these from DatasetBuilder, I set the DownloadManager instance as DatasetBuilder attribute: object composition First I was thinking of the dict, which makes sense for .download, mapping URL to downloaded path. However does this make sense for .extract, mapping the downloaded path to the extracted path? I ask this because the user did not chose the downloaded path, so this is completely unknown for them...
[ -0.2337595373392105, 0.074416384100914, -0.11485746502876282, 0.253046452999115, 0.13458970189094543, -0.40491798520088196, 0.25182247161865234, -0.16247686743736267, 0.1930791735649109, 0.3918936848640442, -0.2661036252975464, 0.23987892270088196, 0.04548352211713791, 0.07740253955125809, -0.20311765372753143, 0.03548193722963333, -0.33975425362586975, -0.08647075295448303, -0.6602040529251099, 0.04841095954179764, -0.43685382604599, 0.09278523921966553, -0.09741094708442688, 0.4700082540512085, 0.26122039556503296, -0.12990202009677887, -0.03210156038403511, 0.15026631951332092, -0.4090554416179657, -0.44727957248687744, 0.1344476044178009, 0.34798961877822876, -0.10267680883407593, 0.04943905770778656, -0.00012043759488733485, -0.0641430914402008, 0.21501362323760986, 0.08767090737819672, -0.5625656247138977, -0.15136797726154327, -0.6902490854263306, 0.03476543724536896, 0.29939866065979004, -0.40765342116355896, 0.13723713159561157, 0.3057720959186554, 0.3369586765766144, -0.2102852761745453, 0.33701854944229126, 0.290644109249115, 0.06894224137067795, -0.18503335118293762, 0.21732445061206818, -0.10319922864437103, 0.3161625862121582, 0.45827215909957886, -0.21004623174667358, 0.24905937910079956, 0.2374943643808365, 0.5521208047866821, -0.02777715027332306, -0.05632472410798073, -0.12191636860370636, -0.05311788246035576, 0.5547057390213013, 0.2764100134372711, 0.30877023935317993, -0.0930527001619339, -0.007315624505281448, 0.1988561749458313, 0.6969066858291626, -0.09552939981222153, -0.3136809468269348, -0.3279751241207123, -0.45549502968788147, -0.11301767826080322, 0.2641942799091339, -0.32611116766929626, -0.049139175564050674, 0.3481086492538452, -0.1380385160446167, -0.2926346957683563, -0.2254435420036316, 0.2230602502822876, -0.06109144166111946, 0.058871518820524216, -0.20590272545814514, 0.2549287974834442, 0.21373505890369415, 0.14848259091377258, 0.4019462466239929, -0.4436604976654053, 0.0356404073536396, 0.010222611017525196, 0.47867026925086975, -0.01321287453174591, -0.02525261789560318, -0.11072137206792831, -0.3424972891807556, 0.31597059965133667, 0.23355333507061005, -0.20203429460525513, -0.008580472320318222, 0.3400970995426178, 0.1554681360721588, 0.0896454006433487, 0.13688398897647858, 0.30654096603393555, 0.18568383157253265, 0.2883449196815491, -0.2462867796421051, -0.14940419793128967, 0.01071779802441597, -0.35025137662887573, -0.17918530106544495, 0.3316037356853485, 0.3225482702255249, 0.006038550287485123, -0.4544457495212555, -0.17524412274360657, 0.013757318258285522, -0.44385749101638794, 0.1128750890493393, 0.2764233350753784, -0.05508546903729439, -0.34410399198532104, 0.0507727712392807, 0.1247665211558342, 0.12203013151884079, 0.008479113690555096, -0.08633308857679367, 0.22428908944129944, -0.13576287031173706, -0.15492582321166992, -0.3676742613315582, 0.3067217469215393, 0.0745168924331665, -0.3261774480342865, -0.2196231335401535, -0.34033218026161194, 0.4175315797328949, -0.1482311338186264, 0.4424571394920349, 0.12286873161792755, -0.017960818484425545, 0.29825952649116516, 0.10264402627944946, -0.7284796237945557, -0.3333541750907898, 0.27051788568496704, -0.22344550490379333, -0.39623722434043884, 0.35255205631256104, 0.1610504686832428, -0.22308272123336792, -0.13618463277816772, -0.15917369723320007, 0.09937628358602524, -0.052875109016895294, -0.038538120687007904, 0.14032618701457977, 0.14477738738059998, 0.019540738314390182, -0.32290977239608765, 0.033179521560668945, 0.5156528949737549, -0.010969765484333038, -0.07890520244836807, -0.4661642611026764, -0.3307579755783081, 0.34344181418418884, -0.15121105313301086, -0.3444609045982361, 0.6585038900375366, -0.2618921399116516, 0.29188239574432373, 0.690828800201416, -0.2696518898010254, -0.4237527847290039, 0.34542322158813477, -0.43212592601776123, 0.23601196706295013, 0.3319511115550995, -0.13426867127418518, 0.33134615421295166, -0.4303106367588043, 0.20741915702819824, 0.14054906368255615, 0.13627587258815765, -0.2084837704896927, 0.061547476798295975, -0.22530905902385712, 0.20609503984451294, -0.3919130861759186, 0.06417692452669144, 0.42851075530052185, 0.2756741940975189, 0.11099401116371155, 0.3234008848667145, -0.12717464566230774, 0.11908629536628723, -0.04280985891819, 0.34140336513519287, 0.00400012731552124, -0.37502965331077576, 0.07992441207170486, -0.06175512820482254, 0.014823462814092636, -0.06866675615310669, -0.2510269582271576, 0.06463228166103363, -0.47228753566741943, -0.12216410040855408, 0.12590733170509338, -0.305646687746048, -0.20304131507873535, 0.08347875624895096, 0.3518837094306946, -0.06544018536806107, -0.2718874514102936, -0.0028944984078407288, 0.05015247315168381, 0.06970169395208359, 0.348925918340683, 0.2660205662250519, -0.32454103231430054, -0.18596836924552917, 0.3174924850463867, -0.43741872906684875, -0.0209500789642334, 0.23700794577598572, -0.2240535169839859, -0.05643651634454727, 0.3527602255344391, 0.12818579375743866, 0.3071271777153015, 0.08934840559959412, 0.20964530110359192, -0.1359749287366867, -0.08842439949512482, -0.03519897907972336, 0.11747346818447113, 0.06952238082885742, 0.029531478881835938, -0.05286472290754318, 0.2225957214832306, 0.1377522349357605, 0.31502166390419006, 0.14633730053901672, 0.21362951397895813, -0.007128344848752022, 0.008881963789463043, -0.25997328758239746, -0.1127830520272255, -0.28395140171051025, 0.22450752556324005, 0.252257376909256, 0.2369096726179123, 0.20958879590034485, 0.44715234637260437, 0.2867714464664459, 0.09945639967918396, 0.2546762228012085, 0.031907275319099426, -0.06628476828336716, -0.0825590193271637, -0.1689494252204895, 0.7824148535728455, 0.47963547706604004, -0.029953934252262115, 0.6740902662277222, 0.1196783035993576, 0.06569180637598038, -0.0478387176990509, 0.5228169560432434, 0.30862098932266235, 0.02329862490296364, 0.030772648751735687, -0.28969237208366394, 0.005634906701743603, -0.0409821979701519, -0.25121334195137024, 0.0858735740184784, -0.032819680869579315, -0.42447715997695923, -0.034490760415792465, 0.018461233004927635, -0.0816265270113945, -0.1977413147687912, -0.13442473113536835, 0.2670908272266388, -0.39834901690483093, -0.09592349827289581, 0.13623112440109253, -0.4101099669933319, -0.010720891878008842, -0.06662701070308685, 0.3572351038455963, -0.5701902508735657, -0.07818751037120819, 0.2458411455154419, 0.155924990773201, -0.10323294252157211, 0.0016177408397197723, 0.06290744990110397, -0.24029557406902313, 0.03846292197704315, -0.09350042045116425, 0.2124132364988327, -0.21642562747001648, -0.1426818072795868, 0.15488921105861664, 0.23572957515716553, 0.16307634115219116, 0.38860946893692017, 0.08445030450820923, 0.14271189272403717, -0.27937665581703186, 0.052856165915727615, 0.42732447385787964, -0.14603886008262634, -0.37816914916038513, 0.18023085594177246, -0.0588105171918869, 0.04477951303124428, -0.21721166372299194, -0.35142964124679565, -0.3537060618400574, 0.3621065616607666, 0.01506797969341278, 0.3037400245666504, 0.07679960131645203, -0.1517961025238037, 0.21409198641777039, 0.10545066744089127, 0.4950002133846283, -0.19582948088645935, -0.44560980796813965, -0.052788328379392624, -0.3231249153614044, 0.0697031170129776, 0.01573370024561882, -0.08646069467067719, 0.19203594326972961, 0.34088367223739624, -0.08178718388080597, -0.06457880884408951, -0.25642427802085876, -0.25355666875839233, 0.28533774614334106, 0.16613785922527313, 0.24264708161354065, 0.27738767862319946, -0.13681252300739288, 0.009151499718427658, -0.1399095505475998, 0.4707372486591339, 0.1857210397720337, 0.18766500055789948, -0.08242753893136978, -0.06586315482854843, 0.05921284481883049, 0.5061293840408325, 0.09850558638572693, 0.4260087311267853, -0.061473071575164795, -0.15251334011554718, 0.023955058306455612, 0.20107319951057434, -0.09926053136587143, 0.1546086072921753, -0.0432494580745697, -0.4501638412475586, -0.06950311362743378, -0.013673707842826843, 0.23557373881340027, -0.1602150797843933, -0.13323965668678284, -0.49515652656555176, -0.5514745712280273, 0.06210014969110489, 0.06465307623147964, 0.06512364000082016, 0.10719496011734009, 0.14412477612495422, -0.13000395894050598, 0.305012583732605, 0.05508580431342125, 0.298676997423172, 0.2957233488559723, 0.0894220694899559, -0.3133375942707062, -0.2788456380367279, -0.23256510496139526, 0.36336278915405273, -0.1851848065853119, -0.12398594617843628, -0.14953629672527313, -0.2540051341056824, 0.219379723072052, 0.11261458694934845, 0.45731401443481445, -0.20069925487041473, 0.13596826791763306, -0.032387591898441315, -0.2964074909687042, 0.115005724132061, 0.07625232636928558, 0.13837076723575592, 0.27351856231689453, -0.006293997168540955, -0.12865670025348663, -0.409488320350647, 0.08230335265398026, 0.1819361299276352, -0.12824124097824097, -0.1445431262254715, 0.13100455701351166, 0.20887871086597443, -0.32113105058670044, -0.25510868430137634, -0.1106036826968193, 0.22293397784233093, -0.020434213802218437, 0.22600157558918, -0.10331457853317261, -0.27823811769485474, 0.2362958788871765, 0.18205665051937103, -0.07241816818714142, 0.16948962211608887, -0.11671238392591476, -0.20543880760669708, 0.1384439766407013, 0.3113466799259186, 0.03570828586816788, 0.7459560632705688, -0.11629337072372437, -0.13115273416042328, -0.06454123556613922, -0.3291211724281311, 0.34050607681274414, 0.5349249839782715, -0.19212882220745087, 0.16666358709335327, 0.03671693429350853, -0.050108060240745544, -0.17305712401866913, 0.2653749883174896, 0.19724562764167786, 0.13672658801078796, 0.024821773171424866, -0.486249715089798, 0.21819299459457397, 0.10780283808708191, -0.41263526678085327, 0.372284471988678, 0.22267889976501465, -0.5698167085647583, -0.2430131882429123, 0.31161266565322876, 1.1539193391799927, -0.12836024165153503, 0.3060297966003418, 0.060882989317178726, -0.363483726978302, 0.16012530028820038, 0.01204473152756691, -0.11639200150966644, -0.14575079083442688, 0.02760549820959568, -0.18956466019153595, -0.3136776089668274, 0.20640718936920166, 0.044371962547302246, -0.34339040517807007, -0.042993951588869095, -0.212254136800766, 0.36116158962249756, 0.03266289085149765, 0.1206115335226059, -0.0922631025314331, 0.027281902730464935, 0.5744901299476624, -0.050871726125478745, 0.05286523327231407, 0.5423621535301208, 0.022393453866243362, -0.11965562403202057, -0.2955366373062134, -0.09913825988769531, 0.035028502345085144, -0.006918678060173988, -0.4334603548049927, 0.04554159194231033, -0.06754741072654724, -0.23219378292560577, 0.1325087994337082, 0.3180962800979614, 0.06540416181087494, -0.061759982258081436, 0.00802975706756115, 0.19472186267375946, -0.09536721557378769, 0.282142698764801, 0.11631495505571365, -0.04673359915614128, 0.20920400321483612, 0.025433234870433807, 0.26817378401756287, 0.24938011169433594, -0.27576926350593567, -0.027774594724178314, 0.02714163064956665, -0.11510734260082245, 0.32464170455932617, -0.4663735032081604, -0.40704354643821716, 0.04060759395360947, -0.4337526559829712, -0.1516985148191452, -0.020523086190223694, -0.04215492308139801, -0.20636233687400818, 0.18669497966766357, -0.20090942084789276, -0.42590758204460144, 0.3094801902770996, 0.11053359508514404, -0.21143227815628052, -0.209106907248497, 0.27857422828674316, -0.5124673843383789, -0.18200074136257172, -0.1392233967781067, 0.10859216004610062, 0.048710133880376816, -0.09553252160549164, 0.27641722559928894, -0.34171074628829956, -0.090064138174057, -0.19036878645420074, 0.35969775915145874, 0.2530820965766907, 0.3629414737224579, -0.5017666816711426, -0.15828688442707062, -0.33832618594169617, 0.24574631452560425, -0.1269986629486084, 0.12064741551876068, -0.1927330493927002, 0.16393917798995972, 0.2993794083595276, -0.1756303459405899, -0.23706763982772827, 0.019589051604270935, 0.06037650257349014, -0.04895436018705368, 0.3499315679073334, 0.1830386519432068, -0.08123444020748138, -0.16558323800563812, -0.019787363708019257, -0.10529685020446777, -0.21562117338180542, -0.013648604974150658, -0.3371770977973938, 0.2225121706724167, -0.007517389953136444, -0.11991225183010101, 0.20542892813682556, -0.2549877166748047, 0.04360833764076233, -0.15292994678020477, -0.11748106777667999, 0.1702500581741333, -0.06757469475269318, 0.08497697114944458, -0.21744735538959503, 0.12987786531448364, -0.40331900119781494, -0.05096552520990372, 0.04120376706123352, 0.13256791234016418, -0.020087813958525658, 0.10995803028345108, -0.39975258708000183, -0.24912451207637787, -0.01371822040528059, 0.2480483055114746, -0.004115410149097443, 0.25489914417266846, 0.14736691117286682, -0.0436030775308609, 0.12438450753688812, -0.1186334639787674, 0.3352828025817871, 0.2716708183288574, -0.13854047656059265, 0.1658625304698944, -0.05730096250772476, 0.06303240358829498, 0.05766991525888443, 0.12943622469902039, -0.022574856877326965, -0.11241834610700607, 0.07675544917583466, 0.2656756341457367, -0.11122040450572968, 0.20833563804626465, -0.20075400173664093, -0.1565854549407959, 0.2146175354719162, 0.03546442091464996, 0.25204116106033325, 0.5717082023620605, -0.270687460899353, 0.3214019238948822, 0.4758036732673645, 0.40375998616218567, 0.3847139775753021, 0.26503223180770874, -0.15736177563667297, 0.1712949424982071, 0.223817378282547, 0.19504304230213165, 0.038161687552928925, -0.33805108070373535, 0.35925057530403137, 0.11764249205589294, 0.008027754724025726, -0.013558544218540192, 0.25149786472320557, -0.21677064895629883, -0.1874278336763382, 0.08198598772287369, 0.26124095916748047, 0.11339133977890015, 0.07007048279047012, -0.5336042046546936, -0.14827072620391846, -0.2120668590068817, -0.2406718134880066, -0.2558881938457489, -0.2600589096546173, -0.21677450835704803, 0.10124066472053528, -0.33453959226608276, 0.4578282833099365, -0.0963626578450203, 0.12335840612649918, -0.2758128345012665, 0.028013624250888824, -0.5196430683135986, 0.09186480194330215, 0.01853957027196884, 0.13528577983379364, 0.278316468000412, 0.07117180526256561, 0.20579354465007782, 0.09156990051269531, -0.09372341632843018, -0.11147397756576538, -0.25740721821784973, -0.267118901014328, -0.3832669258117676, -0.10819429159164429, 0.13749511539936066, 0.07954616099596024, 0.5061389803886414, 0.07734157890081406, -0.09571488946676254, 0.11753083765506744, 0.18738438189029694, 0.08841493725776672, -0.06903690844774246, 0.3730315864086151, 0.3204854428768158, -0.2923806607723236, 0.19468611478805542, 0.030857808887958527, -0.30104759335517883, -0.42512109875679016, 0.29739341139793396, -0.22511860728263855, 0.37205570936203003, 0.08765370398759842, 0.02513282373547554, 0.43287089467048645, 0.05818203464150429, 0.22215552628040314, 0.3293567895889282, -0.42543989419937134, -0.08388535678386688, -0.5593603849411011, 0.06429515033960342, 0.11128860712051392, -0.5326845645904541, 0.15780487656593323, 0.042917534708976746, 0.19829243421554565, 0.1709347814321518, 0.19784003496170044, 0.3640556037425995, 0.19165657460689545, -0.024221301078796387, 0.020554233342409134, -0.11611272394657135, 0.21051745116710663, 0.21793442964553833, -0.02206094190478325, -0.22434765100479126, 0.12364055216312408, 0.05927729979157448, -0.0745549350976944, 0.0737353265285492, 0.1934482753276825, 0.05437489226460457, -0.10434898734092712, 0.2554423213005066, -0.06688490509986877, 0.11991370469331741, -0.16300296783447266, 0.2588014602661133, 0.09302400797605515, 0.17111097276210785, -0.09874973446130753, -0.08981890231370926, -0.07895222306251526, 0.1115533858537674, -0.31839102506637573, 0.542163074016571, -0.4641498923301697, -0.2757139801979065, 0.1427326798439026, 0.1962917298078537, -0.24691417813301086, 0.1900319904088974, -0.0660007894039154, 0.07050317525863647, 0.2584241032600403, 0.16025537252426147, -0.046429671347141266, -0.024734219536185265, -0.23519590497016907, -0.30499574542045593, 0.5557544231414795, 0.2935275435447693, -0.27499300241470337, 0.05331001803278923, 0.3934500217437744, 0.18539807200431824, 0.20027382671833038, -0.20484885573387146, -0.14808791875839233, 0.5012763738632202, -0.3232436776161194, -0.3970654606819153, 0.060554370284080505, -0.1873951554298401, 0.11339022219181061, -0.03367530182003975, 0.3390149176120758, -0.058258987963199615, 0.025399481877684593, -0.5369024276733398, -0.35914695262908936 ]
https://github.com/huggingface/datasets/pull/1846
Make DownloadManager downloaded/extracted paths accessible
There could be several situations: - download a file with no extraction - download a file and extract it - download a file, extract it and then inside the output folder extract some more files - extract a local file (for datasets with data that are manually downloaded for example) - extract a local file, and then inside the output folder extract some more files So I think it's ok to have `downloaded_paths` as a dict url -> downloaded_path and `extracted_paths` as a dict local_path -> extracted_path.
Make accessible the file paths downloaded/extracted by DownloadManager. Close #1831. The approach: - I set these paths as DownloadManager attributes: these are DownloadManager's concerns - To access to these from DatasetBuilder, I set the DownloadManager instance as DatasetBuilder attribute: object composition
87
text: Make DownloadManager downloaded/extracted paths accessible Make accessible the file paths downloaded/extracted by DownloadManager. Close #1831. The approach: - I set these paths as DownloadManager attributes: these are DownloadManager's concerns - To access to these from DatasetBuilder, I set the DownloadManager instance as DatasetBuilder attribute: object composition There could be several situations: - download a file with no extraction - download a file and extract it - download a file, extract it and then inside the output folder extract some more files - extract a local file (for datasets with data that are manually downloaded for example) - extract a local file, and then inside the output folder extract some more files So I think it's ok to have `downloaded_paths` as a dict url -> downloaded_path and `extracted_paths` as a dict local_path -> extracted_path.
[ -0.28292396664619446, 0.19846946001052856, -0.18530094623565674, 0.3121042549610138, 0.1518629491329193, -0.41012042760849, 0.28002864122390747, -0.06442978978157043, 0.2473965883255005, 0.35742682218551636, -0.27606630325317383, 0.32484298944473267, -0.05400276929140091, -0.0015060361474752426, -0.21233299374580383, 0.03523346781730652, -0.35243281722068787, 0.06357213854789734, -0.5742815732955933, 0.012827828526496887, -0.33290237188339233, 0.07577451318502426, 0.04253681004047394, 0.2604024410247803, 0.20700813829898834, -0.11331557482481003, 0.10369935631752014, 0.27997007966041565, -0.5498465299606323, -0.5855439901351929, 0.11228600144386292, 0.48615917563438416, -0.01897028647363186, 0.01835525780916214, -0.00010339850268792361, -0.0020008906722068787, 0.23140445351600647, 0.12826445698738098, -0.5373742580413818, -0.14368854463100433, -0.6012051701545715, -0.19225817918777466, 0.4425886273384094, -0.33107879757881165, 0.24030742049217224, 0.008675606921315193, 0.2451861947774887, 0.014758855104446411, 0.371618390083313, 0.3446252942085266, 0.23694509267807007, -0.12130381911993027, 0.07627587020397186, -0.06594377756118774, 0.260620653629303, 0.3022260367870331, -0.15780781209468842, 0.2921213209629059, 0.09733603149652481, 0.5834654569625854, -0.13263842463493347, 0.06523744761943817, -0.19009602069854736, 0.07809475064277649, 0.33477744460105896, 0.328998327255249, 0.29907849431037903, -0.1528053730726242, -0.0273740217089653, 0.1687096655368805, 0.5505119562149048, -0.21211090683937073, -0.32510995864868164, -0.2746020257472992, -0.309506356716156, -0.13629761338233948, 0.33596867322921753, -0.16561482846736908, 0.00015553273260593414, 0.3772043287754059, -0.05880597233772278, -0.3357924520969391, -0.257112592458725, 0.19002927839756012, -0.009491022676229477, 0.07518927752971649, -0.09305457770824432, 0.03506390005350113, 0.20665735006332397, 0.18464218080043793, 0.39431193470954895, -0.4262329041957855, -0.05401655659079552, -0.05011565238237381, 0.41297274827957153, 0.07905623316764832, 0.13096217811107635, -0.08420080691576004, -0.1766684651374817, 0.4197008013725281, 0.12839463353157043, -0.20577594637870789, -0.015588086098432541, 0.3112267255783081, 0.062336910516023636, 0.07943511009216309, 0.01947903260588646, 0.29447317123413086, 0.32832103967666626, 0.2937065660953522, -0.17808690667152405, -0.19209575653076172, 0.010878563858568668, -0.2965587377548218, -0.2546195983886719, 0.33659863471984863, 0.45033276081085205, -0.04954291507601738, -0.2808023691177368, -0.20319530367851257, 0.15303784608840942, -0.4139978587627411, 0.22731199860572815, 0.21908628940582275, 0.021223239600658417, -0.11465197056531906, -0.09959860146045685, 0.08124126493930817, 0.113262839615345, 0.0076401932165026665, -0.1993582397699356, 0.23857548832893372, -0.1738617718219757, -0.028224924579262733, -0.12512162327766418, 0.22766031324863434, 0.04474762827157974, -0.07965797930955887, -0.2772195339202881, -0.19166254997253418, 0.4056600034236908, -0.15856190025806427, 0.3729408383369446, 0.3198864459991455, 0.0966961532831192, 0.24856196343898773, -0.010078135877847672, -0.4250262975692749, -0.17293408513069153, 0.12108942121267319, -0.17887547612190247, -0.4741781949996948, 0.18186084926128387, 0.3114313781261444, -0.2022445648908615, 0.08842360973358154, -0.05228472501039505, 0.02366035059094429, -0.04005233198404312, -0.0012883283197879791, 0.1671617329120636, 0.03743918985128403, -0.07982414960861206, -0.33728110790252686, 0.07791458815336227, 0.4864359498023987, -0.1675456166267395, 0.01820368319749832, -0.4381348192691803, -0.519660472869873, 0.32806864380836487, -0.04918662831187248, -0.4161282777786255, 0.6407511234283447, -0.3860347270965576, 0.2873232960700989, 0.6540975570678711, -0.4113273322582245, -0.4299412965774536, 0.44890502095222473, -0.3234281539916992, 0.28688839077949524, 0.4107862412929535, -0.2146831750869751, 0.32842299342155457, -0.3993857204914093, 0.010279364883899689, 0.3033781051635742, 0.14266088604927063, -0.1603076159954071, -0.00775928795337677, -0.2210082709789276, 0.1497025042772293, -0.315837025642395, -0.04569424316287041, 0.3231377899646759, 0.24440830945968628, -0.03803737834095955, 0.31633085012435913, -0.1727699339389801, 0.16404908895492554, -0.0329006165266037, 0.3013949692249298, 0.06180519610643387, -0.31261688470840454, 0.02165323495864868, -0.10737697035074234, 0.12512415647506714, -0.301400750875473, -0.02554609626531601, -0.19908027350902557, -0.4232460856437683, -0.09055931121110916, 0.04222002625465393, -0.3446996808052063, -0.20577561855316162, 0.3166956305503845, 0.34382835030555725, -0.0026078373193740845, -0.07197216153144836, 0.10144771635532379, 0.15678592026233673, -0.1133413016796112, 0.2311343550682068, 0.22863517701625824, -0.05206018686294556, -0.07286276668310165, 0.23999488353729248, -0.3467356562614441, 0.07944010198116302, 0.1972752809524536, -0.13771754503250122, -0.04735458269715309, 0.39422306418418884, 0.33435121178627014, 0.252040296792984, 0.14578795433044434, 0.09449049085378647, -0.009754924103617668, 0.08033722639083862, -0.01580030657351017, 0.15685808658599854, 0.04969542846083641, 0.020744264125823975, -0.010568633675575256, 0.16201579570770264, 0.20812596380710602, 0.2598181366920471, 0.22469307482242584, 0.17807652056217194, 0.22187402844429016, -0.03491433709859848, -0.1743880957365036, -0.19230720400810242, -0.1367422342300415, 0.18398648500442505, 0.15596748888492584, 0.1753089874982834, 0.15271712839603424, 0.3901226818561554, 0.09619325399398804, 0.04775574430823326, 0.07429556548595428, -0.0003921501338481903, 0.02710247039794922, -0.019489606842398643, -0.12234216928482056, 0.951789140701294, 0.4962407946586609, 0.13038384914398193, 0.5326583385467529, 0.15477941930294037, -0.018675081431865692, -0.23174068331718445, 0.464234858751297, 0.2813655138015747, -0.04429589956998825, 0.13511793315410614, -0.2502702474594116, -0.04443449154496193, -0.20735368132591248, -0.304269939661026, 0.14392991364002228, 0.13024768233299255, -0.3936881124973297, -0.029915310442447662, -0.2674753665924072, -0.27518486976623535, -0.12435109913349152, 0.015443671494722366, 0.2398681491613388, -0.3863104283809662, -0.042578279972076416, 0.24040381610393524, -0.482790470123291, 0.06161419302225113, -0.05399957299232483, 0.1657058596611023, -0.5359830856323242, 0.03115633875131607, 0.0659806877374649, 0.19197674095630646, -0.09330255538225174, 0.10322266817092896, 0.33951419591903687, -0.16581231355667114, 0.055259861052036285, -0.008121219463646412, 0.0746016800403595, -0.34106284379959106, -0.16101598739624023, 0.1911773830652237, 0.23536929488182068, 0.1262553334236145, 0.44204553961753845, 0.012963920831680298, 0.18763761222362518, -0.28948378562927246, 0.16570435464382172, 0.3816870152950287, -0.11868088692426682, -0.2744315564632416, 0.1012553721666336, -0.07473767548799515, -0.214935302734375, -0.3478263318538666, -0.45348256826400757, -0.46072399616241455, 0.17489701509475708, -0.06413829326629639, 0.4194416403770447, 0.16123729944229126, -0.2147820144891739, 0.15289278328418732, -0.04740838333964348, 0.3352040648460388, -0.1943390965461731, -0.40735265612602234, 0.07064414024353027, -0.5196495652198792, -0.07333488762378693, -0.007579449564218521, -0.13641127943992615, 0.12732656300067902, 0.20345422625541687, -0.20678958296775818, -0.18630099296569824, -0.20027323067188263, -0.17007750272750854, 0.08943850547075272, 0.05874320864677429, 0.1960039585828781, 0.3017526865005493, -0.22396889328956604, -0.035033900290727615, 0.040341321378946304, 0.4025121331214905, 0.19450965523719788, 0.05005234479904175, -0.09932839125394821, -0.10713344067335129, -0.06874272227287292, 0.30665433406829834, 0.08653183281421661, 0.5398952960968018, 0.09358829259872437, -0.12206115573644638, 0.12137024104595184, 0.1721222847700119, -0.049517758190631866, 0.10125629603862762, -0.06335596740245819, -0.49958211183547974, 0.09211993962526321, -0.026174470782279968, 0.2579444646835327, -0.1549784541130066, -0.07387925684452057, -0.4003792405128479, -0.5428522229194641, -0.016607927158474922, 0.15489330887794495, -0.014634616672992706, 0.10331647098064423, 0.18378481268882751, -0.04538201540708542, 0.38895487785339355, 0.10480117797851562, 0.407570481300354, 0.16191653907299042, 0.13702428340911865, -0.2626444101333618, -0.1492103487253189, -0.3708445429801941, 0.020679667592048645, -0.13134272396564484, -0.14099860191345215, -0.08638932555913925, -0.1476747691631317, 0.22662754356861115, 0.07003559917211533, 0.4274577498435974, -0.27979254722595215, 0.14338424801826477, 0.08337795734405518, -0.2973952889442444, 0.11506377905607224, 0.005214240401983261, 0.12876445055007935, 0.13274750113487244, -0.042240921407938004, -0.04947395622730255, -0.35131600499153137, -0.045566242188215256, 0.044376783072948456, -0.1105845719575882, -0.16340403258800507, -0.06533906608819962, 0.10413533449172974, -0.3073493540287018, -0.16897238790988922, -0.23379918932914734, 0.11696165055036545, -0.018580105155706406, -0.022385461255908012, -0.04163884371519089, -0.1452479064464569, 0.17012286186218262, 0.12411342561244965, -0.024287957698106766, 0.31192636489868164, -0.25742027163505554, -0.01570168137550354, 0.2512681484222412, 0.27339863777160645, 0.14608150720596313, 0.6028147339820862, -0.3013242483139038, -0.1525745540857315, -0.058278605341911316, -0.42020347714424133, 0.18340978026390076, 0.39788350462913513, -0.22942745685577393, 0.07048100978136063, 0.10121192038059235, -0.04712357372045517, -0.2560397684574127, 0.3073306381702423, 0.15903623402118683, -0.03540801629424095, 0.11044415831565857, -0.500254213809967, 0.1319163590669632, 0.07652747631072998, -0.4100019931793213, 0.37637025117874146, 0.2172832489013672, -0.5687581896781921, -0.21020974218845367, 0.06876959651708603, 0.9110842347145081, 0.013254571706056595, 0.249362051486969, 0.2947787344455719, -0.5351781845092773, 0.25874629616737366, -0.0848604142665863, -0.1256789118051529, -0.04656857252120972, 0.07463141530752182, -0.11948956549167633, -0.19839692115783691, 0.19809257984161377, -0.08311113715171814, -0.3413833975791931, -0.037475958466529846, -0.24721834063529968, 0.31633180379867554, -0.09340920299291611, 0.35019451379776, 0.005843904800713062, -0.11683999001979828, 0.32979416847229004, 0.12898434698581696, 0.10045380890369415, 0.23600473999977112, -0.11823486536741257, -0.20680105686187744, -0.026834409683942795, -0.040735214948654175, 0.11228688061237335, -0.019297514110803604, -0.3600936830043793, 0.19758479297161102, -0.17639771103858948, -0.29004910588264465, -0.0964554101228714, 0.14699172973632812, -0.06809775531291962, -0.14788132905960083, -0.07074372470378876, 0.09404269605875015, -0.23888221383094788, 0.35011982917785645, -0.09624610096216202, -0.10916940122842789, 0.20556369423866272, -0.12001541256904602, 0.14571470022201538, 0.04119079187512398, -0.2068682312965393, 0.04827149957418442, 0.23960569500923157, -0.04413757473230362, 0.21435897052288055, -0.3009665906429291, -0.1846155971288681, -0.012455284595489502, -0.2881965935230255, -0.21736569702625275, 0.1341162919998169, -0.04265660047531128, -0.2389839142560959, 0.08383021503686905, -0.2444515973329544, -0.29657265543937683, 0.12327969074249268, 0.11999345570802689, 0.024618396535515785, -0.2177906483411789, 0.22673456370830536, -0.33104291558265686, -0.2567214369773865, -0.2679729759693146, 0.07350306957960129, -0.07307637482881546, -0.10171876102685928, 0.3380312919616699, -0.16637258231639862, -0.08553922176361084, -0.25461137294769287, 0.2302687019109726, 0.133366197347641, 0.24708813428878784, -0.45410391688346863, -0.2435932606458664, -0.34704336524009705, 0.18631920218467712, -0.27003464102745056, 0.1922578066587448, -0.2511714696884155, 0.18998964130878448, 0.21229714155197144, -0.12323787808418274, -0.41093072295188904, 0.08485106378793716, -0.011638876050710678, -0.11453987658023834, 0.12450313568115234, 0.08031798154115677, 0.060916170477867126, -0.13668324053287506, 0.14503468573093414, -0.10628847777843475, -0.2979316711425781, -0.19586923718452454, -0.3194049894809723, 0.12936599552631378, 0.04795999452471733, -0.15957322716712952, 0.13439622521400452, -0.24350818991661072, 0.03245172277092934, -0.03952581435441971, -0.0698167234659195, 0.16748562455177307, -0.10978823900222778, 0.12095384299755096, -0.1456642597913742, 0.15177494287490845, -0.3062564730644226, 0.1550685465335846, -0.03997710347175598, 0.2689363360404968, 0.09142567962408066, 0.17039576172828674, -0.35594892501831055, -0.162826269865036, 0.09137199819087982, 0.14876537024974823, 0.04579700902104378, 0.23767074942588806, 0.20663565397262573, 0.08990438282489777, -0.024951500818133354, -0.09161810576915741, 0.3853604793548584, 0.28821641206741333, -0.1105877086520195, 0.010989183560013771, -0.0024083638563752174, 0.23947057127952576, -0.011407008394598961, 0.02864721603691578, -0.029292084276676178, -0.018371261656284332, 0.09286651015281677, 0.17113620042800903, 0.10334926843643188, -0.026574183255434036, -0.1575285941362381, -0.05674918368458748, 0.32031816244125366, 0.07671711593866348, 0.1572248786687851, 0.469801127910614, -0.296671062707901, 0.2396738976240158, 0.24533753097057343, 0.371042937040329, 0.30224302411079407, 0.41850191354751587, -0.19721347093582153, 0.3098316192626953, 0.08854403346776962, 0.11560796201229095, 0.03828868642449379, -0.3073906898498535, 0.1940285861492157, 0.026454418897628784, -0.11270874738693237, -0.19244995713233948, 0.05399570241570473, -0.10898955911397934, -0.03879297152161598, 0.0215012114495039, 0.21126596629619598, 0.12524308264255524, -0.035560011863708496, -0.33776265382766724, -0.2343064248561859, -0.2393743097782135, -0.08556205034255981, -0.18776671588420868, -0.006316006183624268, -0.19288615882396698, 0.1855463832616806, -0.23677314817905426, 0.30477380752563477, -0.09673147648572922, 0.17830058932304382, -0.06958647072315216, -0.027380913496017456, -0.3771548867225647, 0.033695872873067856, 0.27345091104507446, 0.08302339911460876, 0.23324842751026154, 0.048452287912368774, 0.15685316920280457, 0.18346752226352692, -0.08368684351444244, -0.24255245923995972, -0.2089487612247467, -0.10240456461906433, -0.47301843762397766, -0.07256187498569489, 0.0542006753385067, 0.07869847118854523, 0.5017780065536499, 0.2188129872083664, -0.1756618767976761, -0.024982046335935593, 0.14342385530471802, -0.09845729172229767, 0.04661199077963829, 0.49293896555900574, 0.3686862587928772, -0.14035610854625702, 0.29926714301109314, -0.03295115381479263, -0.3311668932437897, -0.29420149326324463, 0.44989749789237976, -0.04240803420543671, 0.30484482645988464, 0.08380360156297684, 0.10891973972320557, 0.2457704246044159, 0.21208971738815308, 0.1975153386592865, 0.26764318346977234, -0.35496029257774353, -0.12375321984291077, -0.5809098482131958, 0.08767931163311005, -0.06401106715202332, -0.4117715656757355, 0.08172518014907837, 0.1523812860250473, 0.04416489973664284, 0.16247576475143433, 0.21068567037582397, 0.355856716632843, 0.12706996500492096, -0.135325625538826, -0.15660496056079865, -0.2185375839471817, 0.17954464256763458, 0.06470877677202225, -0.0387817919254303, -0.18510600924491882, 0.1494860053062439, -0.16743744909763336, 0.08453173190355301, 0.10058791935443878, 0.18501681089401245, 0.11763021349906921, -0.11571142077445984, 0.4638310670852661, 0.1625821590423584, 0.011636070907115936, -0.22763335704803467, 0.13159236311912537, -0.04483773186802864, 0.18072260916233063, -0.09395722299814224, -0.1981281042098999, -0.033320341259241104, 0.12713171541690826, -0.41918742656707764, 0.42341968417167664, -0.4886171519756317, 0.08817965537309647, 0.141159787774086, 0.18773896992206573, -0.20013198256492615, 0.3552590608596802, 0.009759649634361267, 0.13836555182933807, 0.09408603608608246, -0.07068285346031189, -0.012225553393363953, -0.003067866899073124, -0.2315325289964676, -0.3738606572151184, 0.5761464834213257, 0.2931514382362366, -0.2528981566429138, -0.08295324444770813, 0.5367370247840881, 0.07219687849283218, 0.3148305118083954, -0.41714590787887573, -0.10001721978187561, 0.3123513162136078, -0.26822927594184875, -0.3527800440788269, 0.126688614487648, -0.04744469001889229, 0.08242946863174438, -0.006917744874954224, 0.09903603047132492, -0.007963933050632477, -0.10900146514177322, -0.35426878929138184, -0.3173503279685974 ]
https://github.com/huggingface/datasets/pull/1845
Enable logging propagation and remove logging handler
Thank you @lhoestq. This logging configuration makes more sense to me. Once propagation is allowed, the end-user can customize logging behavior and add custom handlers to the proper top logger in the hierarchy. And I also agree with following the best practices and removing any custom handlers: - it is the end user who has to implement any custom handlers - indeed, the previous logging problem with TensorFlow was due to the fact that absl did not follow best practices and had implemented a custom handler Our errors/warnings will be displayed anyway, even if we do not implement any custom handler. Since Python 3.2, logging has a built-in "default" handler (logging.lastResort) with the expected default behavior (sending error/warning messages to sys.stderr), which is used only if the end user has not configured any custom handler.
We used to have logging propagation disabled because of this issue: https://github.com/tensorflow/tensorflow/issues/26691 But since it's now fixed we should re-enable it. This is important to keep the default logging behavior for users, and propagation is also needed for pytest fixtures as asked in #1826 I also removed the handler that was added since, according to the logging [documentation](https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library): > It is strongly advised that you do not add any handlers other than NullHandler to your library’s loggers. This is because the configuration of handlers is the prerogative of the application developer who uses your library. The application developer knows their target audience and what handlers are most appropriate for their application: if you add handlers ‘under the hood’, you might well interfere with their ability to carry out unit tests and deliver logs which suit their requirements. It could have been useful if we wanted to have a custom formatter for the logging but I think it's more important to keep the logging as default to not interfere with the users' logging management. Therefore I also removed the two methods `datasets.logging.enable_default_handler` and `datasets.logging.disable_default_handler`. cc @albertvillanova this should let you use capsys/caplog in pytest cc @LysandreJik @sgugger if you want to do the same in `transformers`
135
text: Enable logging propagation and remove logging handler We used to have logging propagation disabled because of this issue: https://github.com/tensorflow/tensorflow/issues/26691 But since it's now fixed we should re-enable it. This is important to keep the default logging behavior for users, and propagation is also needed for pytest fixtures as asked in #1826 I also removed the handler that was added since, according to the logging [documentation](https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library): > It is strongly advised that you do not add any handlers other than NullHandler to your library’s loggers. This is because the configuration of handlers is the prerogative of the application developer who uses your library. The application developer knows their target audience and what handlers are most appropriate for their application: if you add handlers ‘under the hood’, you might well interfere with their ability to carry out unit tests and deliver logs which suit their requirements. It could have been useful if we wanted to have a custom formatter for the logging but I think it's more important to keep the logging as default to not interfere with the users' logging management. Therefore I also removed the two methods `datasets.logging.enable_default_handler` and `datasets.logging.disable_default_handler`. cc @albertvillanova this should let you use capsys/caplog in pytest cc @LysandreJik @sgugger if you want to do the same in `transformers` Thank you @lhoestq. This logging configuration makes more sense to me. Once propagation is allowed, the end-user can customize logging behavior and add custom handlers to the proper top logger in the hierarchy. And I also agree with following the best practices and removing any custom handlers: - it is the end user who has to implement any custom handlers - indeed, the previous logging problem with TensorFlow was due to the fact that absl did not follow best practices and had implemented a custom handler Our errors/warnings will be displayed anyway, even if we do not implement any custom handler. Since Python 3.2, logging has a built-in "default" handler (logging.lastResort) with the expected default behavior (sending error/warning messages to sys.stderr), which is used only if the end user has not configured any custom handler.
[ 0.040876809507608414, -0.3481253981590271, 0.02504466101527214, -0.22239096462726593, 0.21480219066143036, -0.3221099078655243, 0.5353975892066956, 0.34041574597358704, -0.12871535122394562, 0.07056745886802673, 0.10101878643035889, 0.1535608023405075, -0.46247008442878723, -0.06025382876396179, -0.07038386166095734, -0.011798501014709473, -0.27102240920066833, 0.1044527217745781, 0.004317149519920349, 0.020374804735183716, 0.2710687816143036, -0.0017457939684391022, 0.006349816918373108, 0.08876633644104004, -0.4917474687099457, 0.08877190947532654, 0.26857826113700867, -0.11762162297964096, 0.11356828361749649, -0.3099772036075592, 0.23975010216236115, -0.13428770005702972, 0.12905210256576538, 0.32922032475471497, -0.00010221621778327972, 0.270233690738678, 0.4860883355140686, 0.06475027650594711, 0.02699688822031021, -0.2542837858200073, 0.13011518120765686, -0.3024854362010956, 0.33997291326522827, -0.2568276822566986, -0.04389701038599014, -0.03740442544221878, 0.2116699367761612, 0.12437362968921661, 0.3382068872451782, 0.3171513080596924, 0.3154149055480957, 0.29124850034713745, 0.012776564806699753, 0.16582173109054565, 0.2196279764175415, 0.24018047749996185, -0.13353300094604492, -0.01870107650756836, -0.04448273777961731, -0.1864600032567978, -0.24988052248954773, 0.01793891377747059, -0.058699831366539, -0.14305999875068665, -0.0332484170794487, -0.015754833817481995, 0.2793525457382202, -0.3182435631752014, -0.07578352093696594, 0.1953068971633911, 0.20659203827381134, -0.46271559596061707, -0.1405637115240097, -0.24431371688842773, -0.047656141221523285, -0.6360241770744324, 0.17880038917064667, 0.05197557061910629, -0.15555071830749512, 0.0403011217713356, 0.05619146302342415, -0.09909911453723907, -0.3571385145187378, 0.030498798936605453, -0.20531387627124786, 0.1524256020784378, -0.04060053080320358, 0.033859387040138245, -0.30694690346717834, 0.12817247211933136, 0.2681673765182495, 0.310996949672699, 0.30923348665237427, -0.0841081291437149, -0.226467564702034, -0.20732155442237854, 0.2990945279598236, -0.48733195662498474, -0.30414536595344543, -0.07066935300827026, -0.14512266218662262, 0.11576800793409348, 0.1712999790906906, 0.18953722715377808, -0.0024350490421056747, 0.012465108186006546, 0.12235678732395172, 0.47448262572288513, 0.34457093477249146, -0.07339383661746979, -0.019458306953310966, 0.09631464630365372, 0.24645859003067017, -0.32947736978530884, 0.24096707999706268, 0.14462345838546753, 0.2570529580116272, -0.1816376894712448, 0.027653316035866737, 0.06537005305290222, -0.21471598744392395, 0.07151352614164352, 0.10513158142566681, 0.10794050991535187, -0.0804763212800026, 0.1823992133140564, 0.17522692680358887, -0.07577291876077652, -0.1953570395708084, 0.3000674843788147, -0.16439254581928253, 0.03736213594675064, -0.14020179212093353, 0.11194700002670288, 0.11599823832511902, -0.023178379982709885, 0.16721993684768677, 0.22329486906528473, 0.09981362521648407, -0.08211380243301392, 0.12958581745624542, -0.15562006831169128, 0.1907811164855957, 0.4424419105052948, -0.24112440645694733, 0.23636503517627716, 0.01993691921234131, -0.2752718925476074, -0.11826441437005997, 0.007496487349271774, -0.14349287748336792, -0.5928366780281067, -0.23839427530765533, 0.2856893241405487, -0.2906080484390259, 0.10426387190818787, 0.0718538910150528, 0.012128494679927826, 0.17541548609733582, -0.01961613819003105, 0.18307030200958252, -0.3081168532371521, 0.09120185673236847, -0.31999194622039795, 0.19958166778087616, 0.06380762159824371, -0.28899505734443665, -0.05346878618001938, -0.12482555210590363, -0.21398377418518066, 0.3986683487892151, 0.16988487541675568, -0.20669719576835632, 0.23706939816474915, -0.094596266746521, -0.07977349311113358, 0.04128265380859375, -0.2842826843261719, -0.0019263261929154396, -0.20862677693367004, -0.19670550525188446, 0.14523954689502716, 0.041451603174209595, -0.1109018474817276, 0.2783970236778259, -0.24871201813220978, -0.06853552162647247, 0.019524915143847466, 0.2204628884792328, -0.042282529175281525, -0.34783753752708435, 0.07508522272109985, -0.18062280118465424, 0.23998518288135529, 0.21290327608585358, -0.206834614276886, -0.05393219739198685, 0.2997315227985382, 0.14513492584228516, -0.1287967413663864, 0.11433140933513641, 0.2149192988872528, 0.3297957181930542, 0.0565020851790905, 0.17817209661006927, -0.053208425641059875, -0.059209488332271576, 0.011756472289562225, -0.3209700882434845, 0.07927559316158295, -0.11556655168533325, -0.1682622879743576, 0.06049811840057373, -0.143907368183136, 0.14098581671714783, -0.12920361757278442, 0.2705453038215637, -0.005881570279598236, -0.2723709046840668, 0.21359339356422424, -0.28817689418792725, 0.061568982899188995, -0.4739108979701996, 0.14662034809589386, 0.05980277806520462, 0.1454867422580719, -0.034258827567100525, -0.32638758420944214, -0.05333235114812851, 0.13768894970417023, 0.10993696749210358, 0.05497679114341736, -0.03458455204963684, 0.2293516993522644, 0.014242762699723244, 0.6378337740898132, -0.4506332576274872, 0.27935823798179626, 0.277162104845047, -0.08686844259500504, -0.1294332891702652, 0.2783645987510681, -0.2561129927635193, 0.005564741790294647, 0.015155956149101257, 0.19202876091003418, 0.3660062849521637, -0.21570968627929688, -0.008182033896446228, -0.016288990154862404, -0.11862633377313614, -0.022165484726428986, -0.29443448781967163, -0.0922514945268631, 0.13422070443630219, 0.00012458674609661102, -0.07866016775369644, -0.17090560495853424, -0.32574862241744995, 0.020518533885478973, 0.42063748836517334, 0.08329713344573975, -0.026072189211845398, 0.22829318046569824, -0.09636563807725906, 0.08291304111480713, 0.2754543125629425, 0.14804281294345856, 0.004907496273517609, -0.0044501302763819695, 0.029415033757686615, 0.3012886345386505, -0.12529101967811584, -0.13675017654895782, 0.2819390594959259, 0.03240137919783592, 0.01849239133298397, 0.2556951642036438, 0.20819884538650513, 0.1169237419962883, -0.1745363473892212, -0.2644459307193756, -0.12967832386493683, 0.11080370098352432, -0.374753475189209, -0.1069580465555191, -0.20528262853622437, -0.23966220021247864, -0.3106897175312042, -0.3875603973865509, -0.08433029055595398, -0.05359876900911331, 0.18782903254032135, 0.2506825923919678, -0.4097655117511749, 0.07593045383691788, 0.3262830972671509, 0.16855672001838684, 0.20049850642681122, -0.027067357674241066, -0.07955590635538101, 0.06189975515007973, 0.08337545394897461, 0.1429305076599121, -0.18362045288085938, -0.1747806966304779, 0.11635131388902664, 0.17164286971092224, -0.18870678544044495, 0.0735911875963211, -0.5792934894561768, 0.11142158508300781, -0.10867126286029816, -0.2817852795124054, 0.15743553638458252, -0.13570208847522736, -0.06986832618713379, -0.4172675907611847, -0.08392471075057983, -0.2788032293319702, 0.21429762244224548, -0.003551976755261421, -0.11861863732337952, 0.24691519141197205, -0.43722495436668396, -0.2719748020172119, -0.27659404277801514, -0.35514214634895325, -0.09948572516441345, 0.12534433603286743, 0.14427450299263, 0.4842507541179657, -0.16306981444358826, 0.29020580649375916, -0.001007777638733387, 0.3764907419681549, 0.14571602642536163, -0.39504361152648926, 0.13437919318675995, -0.31981605291366577, -0.29434528946876526, -0.11799786984920502, -0.05339706689119339, -0.06907288730144501, -0.01239597424864769, -0.48510944843292236, -0.4743804633617401, -0.18188686668872833, -0.21817553043365479, 0.13057009875774384, -0.017653828486800194, 0.20219403505325317, 0.2621866464614868, -0.08971595764160156, 0.01815178245306015, 0.028459083288908005, 0.02863507717847824, 0.10836546868085861, 0.2372763454914093, -0.14754503965377808, 0.11373981833457947, 0.24511471390724182, 0.6788956522941589, 0.19651243090629578, -0.18985766172409058, -0.16019712388515472, -0.07424844056367874, 0.21296140551567078, 0.04460864141583443, 0.026193970814347267, 0.4608598053455353, 0.027564316987991333, -0.27620208263397217, -0.12646876275539398, -0.006288500502705574, -0.20976923406124115, -0.037890639156103134, 0.2205590307712555, 0.0018458552658557892, -0.49313488602638245, 0.11116732656955719, 0.11495194584131241, 0.2134692668914795, -0.24813266098499298, 0.2645244598388672, -0.08140893280506134, -0.12260397523641586, 0.27672749757766724, 0.27890050411224365, 0.05363955348730087, -0.13992714881896973, -0.12138111889362335, -0.18922170996665955, -0.5643227100372314, -0.016100749373435974, -0.08626547455787659, 0.17694076895713806, -0.13492175936698914, -0.27363812923431396, 0.008909620344638824, 0.18958504498004913, 0.04423598200082779, -0.12862224876880646, -0.022681087255477905, 0.14034272730350494, -0.04302583262324333, -0.6583613753318787, -0.19384922087192535, -0.315554141998291, 0.2771478295326233, 0.10665614902973175, 0.12364104390144348, -0.11664120852947235, -0.1561281383037567, -0.12625551223754883, -0.0917024239897728, -0.07355810701847076, -0.11697797477245331, -0.13439881801605225, -0.2081502377986908, 0.01410548947751522, -0.06854317337274551, 0.0586477592587471, -0.01451418548822403, -0.4944734573364258, -0.1877392679452896, 0.15040548145771027, 0.11102180927991867, 0.07549816370010376, 0.026653964072465897, 0.2381569743156433, -0.25946712493896484, -0.027562815696001053, 0.05578236281871796, 0.06338027864694595, 0.04896731674671173, -0.11037863790988922, 0.15372808277606964, -0.18302226066589355, 0.002269826829433441, 0.16587868332862854, 0.03999333828687668, 0.24095915257930756, -0.14340688288211823, 0.33035388588905334, -0.39545872807502747, 0.22184441983699799, -0.2660398483276367, 0.18819260597229004, 0.2584112286567688, 0.09959455579519272, -0.23237577080726624, 0.0855318009853363, 0.1675402969121933, 0.2243739813566208, 0.14591729640960693, 0.5541394948959351, -0.06357398629188538, -0.32659900188446045, 0.31286489963531494, 0.06540770083665848, 0.7320936322212219, 0.3178415298461914, 0.0066293030977249146, 0.44376829266548157, -0.138672336935997, 0.43696969747543335, -0.17627260088920593, 0.27691328525543213, -0.36810147762298584, -0.22494983673095703, 0.09162893891334534, -0.1889854222536087, 0.11735539138317108, -0.2378937155008316, -0.27622222900390625, -0.16645722091197968, -0.24873019754886627, 0.1272367686033249, -0.08787936717271805, 0.2037554234266281, -0.14990437030792236, -0.2627820074558258, -0.17742672562599182, 0.19112266600131989, -0.14670692384243011, 0.14639922976493835, -0.015338728204369545, -0.013745302334427834, 0.3669169247150421, 0.03121839463710785, -0.0760209858417511, 0.03354056179523468, 0.3420374095439911, -0.05516994744539261, 0.2782899737358093, -0.25169745087623596, 0.025472264736890793, 0.0630393773317337, 0.28982484340667725, 0.1003245860338211, -0.029013430699706078, 0.04276886209845543, -0.07309500128030777, 0.23510050773620605, 0.0895904004573822, -0.016503024846315384, 0.4542742669582367, -0.11757636070251465, -0.24882474541664124, 0.36785683035850525, -0.06781076639890671, -0.27016204595565796, 0.2205609381198883, -0.05340412259101868, 0.13109827041625977, -0.1566029042005539, 0.4673767387866974, 0.1808060109615326, -0.3293759524822235, 0.00701320543885231, 0.2981971502304077, 0.18371450901031494, -0.20987607538700104, 0.4754640758037567, -0.3608521521091461, -0.1823311448097229, -0.04493996128439903, 0.25557512044906616, 0.07720363140106201, 0.3816642761230469, 0.305746853351593, 0.07647673785686493, -0.28608953952789307, -0.057497717440128326, -0.15686778724193573, -0.06494253873825073, -0.22713324427604675, 0.19999240338802338, -0.09583801031112671, -0.051497869193553925, 0.14661873877048492, 0.1489691138267517, -0.10641159117221832, 0.21592816710472107, -0.523410975933075, -0.14867952466011047, -0.321959525346756, 0.10813917219638824, -0.13573279976844788, 0.29887843132019043, 0.02907167375087738, 0.3950435519218445, 0.0821295976638794, 0.011532692238688469, -0.4326315224170685, -0.017850788310170174, -0.14550818502902985, 0.28763484954833984, -0.2101055383682251, -0.299488365650177, 0.13360758125782013, -0.059468261897563934, 0.12207390367984772, 0.2287757396697998, -0.20032356679439545, -0.27408483624458313, -0.07876230776309967, 0.09009180963039398, 0.0796663910150528, -0.10672340542078018, -0.04446954280138016, -0.12448059767484665, -0.05659017339348793, 0.16355624794960022, 0.26814740896224976, 0.4915461540222168, -0.09459039568901062, 0.408372163772583, -0.05810984596610069, 0.12032371759414673, 0.011601977050304413, -0.25808992981910706, 0.15943318605422974, -0.016662433743476868, 0.015479899942874908, 0.23863276839256287, -0.3188139498233795, -0.01999654248356819, 0.04641483351588249, 0.14906439185142517, 0.03311877325177193, 0.1666029691696167, 0.2322484850883484, 0.0013807080686092377, -0.2658425271511078, -0.1916360706090927, 0.43262216448783875, 0.11257395893335342, -0.30978596210479736, -0.008589394390583038, 0.29462751746177673, 0.32121366262435913, 0.07595960795879364, 0.17355798184871674, -0.18851792812347412, 0.3015565276145935, 0.1589093953371048, 0.013906747102737427, 0.23588430881500244, -0.295147180557251, 0.36195456981658936, 0.34124884009361267, -0.00017174961976706982, -0.395210862159729, 0.17912326753139496, 0.014193467795848846, -0.3237072229385376, -0.08508172631263733, 0.3096740245819092, -0.20995479822158813, 0.22756068408489227, -0.10062359273433685, 0.2635788321495056, 0.27101707458496094, 0.03887290135025978, -0.17315441370010376, 0.37029165029525757, 0.007096949964761734, 0.2181445062160492, 0.03673149645328522, -0.26242077350616455, 0.030716896057128906, 0.12910068035125732, 0.1918584704399109, -0.01299105491489172, 0.06554879993200302, -0.058418892323970795, 0.11593271791934967, -0.17946022748947144, 0.19403904676437378, 0.05938291549682617, 0.23917880654335022, 0.3029445707798004, -0.10509377717971802, 0.009082809090614319, -0.03021707385778427, -0.004053130745887756, 0.15210683643817902, -0.1827683299779892, 0.0514998733997345, 0.0022559426724910736, -0.011977631598711014, 0.6481195688247681, 0.18165965378284454, 0.02570793405175209, 0.1148555651307106, -0.21798542141914368, -0.34954872727394104, 0.3604389727115631, 0.23118311166763306, 0.07598255574703217, 0.04977060854434967, 0.34965574741363525, 0.3284187614917755, 0.022380145266652107, 0.12792161107063293, 0.35328176617622375, 0.18535251915454865, -0.31124797463417053, 0.16095587611198425, 0.24367818236351013, -0.28907108306884766, 0.10482975840568542, -0.1744019240140915, 0.2403380274772644, -0.11530831456184387, 0.3382014036178589, 0.4034650921821594, -0.08099496364593506, -0.0322176069021225, -0.25296974182128906, -0.44732657074928284, -0.29092320799827576, 0.8693233728408813, 0.16977371275424957, 0.04062270373106003, -0.3291110694408417, 0.14558559656143188, 0.014894874766469002, -0.016537774354219437, 0.21705521643161774, 0.033113740384578705, 0.11132983863353729, 0.024007633328437805, -0.007260359823703766, 0.37485942244529724, 0.17524082958698273, -0.11876748502254486, 0.038094520568847656, 0.17253610491752625, -0.25219351053237915, -0.02721647173166275, 0.15534643828868866, -0.3870999813079834, 0.0192875899374485, -0.2157849371433258, -0.24276453256607056, 0.32040098309516907, -0.22647733986377716, -0.3147469162940979, 0.04998040944337845, -0.061789002269506454, 0.23196695744991302, -0.2171475887298584, 0.30274954438209534, -0.28656911849975586, 0.008597202599048615, 0.12861187756061554, 0.4383132755756378, 0.28785285353660583, 0.03347683325409889, -0.27602797746658325, -0.08648253977298737, -0.261773020029068, -0.23971429467201233, -0.13102248311042786, -0.3109179437160492, -0.06507635861635208, -0.057270657271146774, 0.29672008752822876, 0.030211837962269783, -0.20976637303829193, -0.3102286756038666, 0.23429372906684875, 0.025918997824192047, -0.4922593832015991, 0.014801179990172386, 0.126761794090271, -0.09543561935424805, -0.025015467777848244, 0.10687357187271118, 0.44692137837409973, 0.10344035923480988, 0.10467420518398285, -0.29782259464263916, -0.6020163893699646, 0.5807021856307983, -0.5917108058929443, -0.009464908391237259, -0.07348720729351044, 0.3623877465724945, -0.1732589602470398, 0.13405542075634003, -0.5237219929695129, -0.035999447107315063, 0.11723671853542328, -0.28980886936187744, -0.20092207193374634, 0.0952291488647461, 0.08322028815746307, 0.051018472760915756, -0.07736489921808243, 0.22527165710926056, 0.3025643825531006, 0.025232726708054543, 0.02159268781542778, -0.2854068875312805 ]
https://github.com/huggingface/datasets/pull/1834
Fixes base_url of limit dataset
OK, apparently it is a lot more complicated than simply changing the URL? Going to make an issue.
`test.json` is not available in the master branch of the repository anymore. Linking to a specific commit.
18
text: Fixes base_url of limit dataset `test.json` is not available in the master branch of the repository anymore. Linking to a specific commit. OK, apparently it is a lot more complicated than simply changing the URL? Going to make an issue.
[ 0.14387613534927368, 0.21552851796150208, -0.19008386135101318, -0.3731086850166321, -0.04040251672267914, 0.11351235955953598, 0.037739504128694534, 0.34242814779281616, -0.30115869641304016, 0.12341121584177017, 0.13075628876686096, 0.052619658410549164, 0.2486952692270279, -0.07289459556341171, -0.12321831285953522, 0.13652613759040833, -0.056192152202129364, 0.04283888265490532, -0.025227978825569153, 0.08217614889144897, -0.0782819464802742, 0.17065373063087463, -0.10411985218524933, 0.014692112803459167, 0.017894312739372253, 0.14848051965236664, 0.1185390055179596, 0.15346677601337433, -0.1745101660490036, -0.4939846098423004, -0.0260784812271595, 0.2147984355688095, -0.1333364099264145, 0.24153202772140503, -0.0000984516300377436, 0.019808761775493622, 0.5492238402366638, 0.14057287573814392, -0.46600764989852905, -0.3085551857948303, -0.5696313977241516, -0.08987821638584137, -0.0715772733092308, -0.13175372779369354, 0.19168055057525635, 0.1524946242570877, 0.2512698471546173, 0.1663024127483368, 0.16744951903820038, 0.47731441259384155, 0.3252696096897125, -0.1520322561264038, 0.30065038800239563, -0.28166258335113525, 0.1470152735710144, -0.044551655650138855, 0.07911332696676254, 0.5093812942504883, 0.14101678133010864, 0.18569457530975342, 0.18068265914916992, 0.09027929604053497, 0.20764519274234772, -0.048556286841630936, 0.10422050952911377, -0.18913817405700684, 0.5426080822944641, -0.07612411677837372, 0.3474138677120209, 0.02667992375791073, 0.3506857454776764, -0.058050259947776794, -0.17313335835933685, 0.12369882315397263, -0.10847357660531998, 0.16935940086841583, 0.07061230391263962, 0.1803748458623886, -0.02594081498682499, 0.21016721427440643, -0.18314844369888306, -0.632881224155426, -0.05806475505232811, 0.11617319285869598, -0.11474774777889252, 0.2571863532066345, 0.019304592162370682, 0.03701618313789368, 0.3986701965332031, -0.07104773819446564, -0.07155788689851761, 0.18930071592330933, -0.23471671342849731, -0.30173516273498535, 0.07731695473194122, -0.28652524948120117, -0.06038782745599747, -0.14786794781684875, 0.2165425419807434, 0.3157185912132263, 0.1173476129770279, -0.012751515954732895, -0.13409675657749176, 0.0022409483790397644, 0.3069462478160858, 0.03630073368549347, -0.1722174882888794, 0.10799390822649002, 0.5240868926048279, 0.2773612141609192, -0.011404279619455338, 0.06408082693815231, 0.02146846055984497, -0.5220439434051514, -0.30745792388916016, 0.15837588906288147, 0.32004064321517944, -0.24099646508693695, 0.09270268678665161, -0.19331522285938263, -0.3285028636455536, -0.08182644098997116, -0.21362490952014923, 0.12141874432563782, -0.04070565477013588, 0.0687093436717987, 0.11360722780227661, 0.01283213496208191, -0.007564281113445759, -0.14999110996723175, -0.27558502554893494, 0.07248913496732712, -0.28082776069641113, -0.02621055208146572, -0.10702043771743774, -0.10401396453380585, 0.4842047691345215, -0.07368344813585281, 0.05150320380926132, -0.22688345611095428, -0.2185455858707428, 0.20910103619098663, -0.2954176366329193, 0.27688756585121155, -0.09455587714910507, 0.2554173171520233, 0.01623162254691124, -0.11649425327777863, -0.09877081215381622, 0.26753953099250793, -0.42068353295326233, -0.45810890197753906, -0.08244623988866806, 0.28029537200927734, -0.13534557819366455, 0.048569127917289734, -0.4306856691837311, 0.027080610394477844, -0.13236957788467407, 0.1545625478029251, 0.051478199660778046, -0.07427116483449936, 0.2903732657432556, -0.17952032387256622, 0.08533284813165665, 0.17086255550384521, -0.004551250487565994, 0.03421710431575775, -0.249095156788826, 0.09397229552268982, 0.15799471735954285, 0.10954184830188751, -0.42705050110816956, 0.12441308796405792, -0.2469865083694458, 0.14290355145931244, 0.1972762793302536, -0.15199758112430573, -0.3324519991874695, 0.1687857210636139, -0.49721771478652954, -0.4102051854133606, -0.19923552870750427, -0.29350367188453674, 0.10780234634876251, -0.14868925511837006, 0.06784096360206604, -0.01910300925374031, 0.3007981479167938, -0.030027098953723907, -0.3869657516479492, -0.14353574812412262, -0.2994726896286011, -0.20927731692790985, -0.08315923810005188, 0.31818845868110657, 0.26879602670669556, 0.5951117277145386, 0.23510614037513733, 0.015090547502040863, 0.03278680890798569, 0.48606234788894653, 0.38465508818626404, -0.10834579169750214, -0.041431307792663574, 0.21831199526786804, 0.06583414226770401, -0.08049935847520828, 0.09887978434562683, 0.3794058561325073, -0.103409543633461, -0.10112086683511734, -0.46926844120025635, 0.006559308618307114, 0.263955682516098, -0.17389720678329468, 0.247185617685318, 0.1790509819984436, -0.13562887907028198, 0.012493062764406204, -0.08962441980838776, -0.2290484756231308, -0.28845107555389404, -0.01880533993244171, -0.1255263239145279, 0.31782254576683044, -0.30574682354927063, 0.09611682593822479, 0.3028741180896759, 0.16037487983703613, 0.09461937844753265, -0.2822553217411041, -0.07261528074741364, 0.6407490968704224, -0.2099151313304901, 0.18742796778678894, 0.2931874394416809, 0.24531754851341248, 0.3319176733493805, -0.28343144059181213, 0.10815633833408356, 0.18326812982559204, -0.17292501032352448, 0.236744225025177, -0.006193190813064575, -0.06299948692321777, 0.026522714644670486, 0.08061786741018295, 0.13594655692577362, -0.06495903432369232, 0.4403838813304901, -0.17622803151607513, -0.22607505321502686, -0.13939982652664185, -0.12599793076515198, 0.27717912197113037, -0.1976996809244156, -0.00943002663552761, 0.0015824437141418457, 0.19374585151672363, 0.17481404542922974, -0.27766382694244385, -0.11008650809526443, 0.25623947381973267, 0.00489286333322525, -0.28886041045188904, -0.09826549142599106, 0.3255898654460907, 0.15473859012126923, 0.15727491676807404, 0.20023037493228912, 0.13308580219745636, 0.2815815210342407, -0.40410882234573364, 0.28662291169166565, 0.044430892914533615, 0.10329095274209976, -0.04549664258956909, 0.4012840986251831, -0.3872936964035034, -0.01724923402070999, -0.04700719192624092, 0.04271366447210312, 0.31895843148231506, -0.09560950100421906, 0.01374291442334652, -0.4525409936904907, 0.010453902184963226, -0.08911462873220444, -0.25427499413490295, -0.11025682091712952, -0.2355269342660904, 0.19170072674751282, 0.23527611792087555, -0.2969045341014862, 0.10929011553525925, -0.028021853417158127, 0.16589516401290894, -0.04087424650788307, 0.17353805899620056, -0.02592797949910164, -0.05825882777571678, -0.28394144773483276, 0.16101256012916565, 0.046672821044921875, -0.07209703326225281, -0.18891651928424835, -0.2991562783718109, -0.2048574537038803, -0.5880345106124878, -0.315022736787796, -0.03171896934509277, 0.1670043021440506, 0.13520437479019165, 0.33955562114715576, 0.2167227864265442, 0.27413350343704224, -0.03986687585711479, 0.035643547773361206, -0.07170835137367249, 0.09412885457277298, -0.17748713493347168, 0.00490497425198555, 0.2757871150970459, -0.08678457140922546, -0.47194764018058777, -0.0148471649736166, -0.3850863575935364, 0.3259398937225342, 0.014826778322458267, 0.11838297545909882, 0.17409783601760864, 0.19727519154548645, -0.10031518340110779, 0.1953103244304657, -0.217733234167099, -0.16575263440608978, -0.14383311569690704, 0.19193530082702637, -0.15981899201869965, -0.3646351099014282, 0.2834654450416565, 0.18059369921684265, 0.28226765990257263, -0.19489534199237823, -0.5838117003440857, -0.052545033395290375, 0.1462799459695816, -0.01670719124376774, -0.04318954050540924, -0.10470125079154968, 0.15428949892520905, -0.07965327054262161, -0.38997116684913635, -0.044883325695991516, -0.24978645145893097, 0.017641469836235046, 0.38197728991508484, 0.4395093619823456, 0.21999144554138184, 0.3343881368637085, 0.0006126090884208679, 0.5057820677757263, -0.046810686588287354, 0.16670410335063934, -0.03296631574630737, -0.060709886252880096, 0.1009584367275238, 0.030177388340234756, -0.022885309532284737, 0.018533701077103615, -0.059281691908836365, -0.2833670973777771, 0.193243145942688, 0.22110095620155334, -0.03404860943555832, 0.005009423941373825, -0.2999303340911865, -0.06835416704416275, -0.39128994941711426, -0.050671011209487915, 0.03428829088807106, 0.12851089239120483, 0.27719998359680176, -0.18820315599441528, -0.14013361930847168, 0.14318272471427917, 0.07083028554916382, 0.19696353375911713, 0.13156147301197052, -0.024070782586932182, -0.5368565320968628, -0.10214671492576599, -0.22647404670715332, 0.2069089710712433, -0.24849480390548706, 0.3986941874027252, 0.0857611745595932, -0.015914881601929665, 0.20086932182312012, -0.15829330682754517, 0.4892895817756653, -0.10613090544939041, 0.32296425104141235, -0.04376566410064697, -0.21465694904327393, 0.10840923339128494, 0.018822472542524338, 0.2814396619796753, 0.3613329231739044, 0.6411992311477661, 0.23324359953403473, -0.23095181584358215, -0.4179403781890869, 0.33483636379241943, -0.18930590152740479, -0.06789441406726837, 0.19608205556869507, -0.07364320755004883, -0.44028279185295105, -0.32821694016456604, -0.11791541427373886, 0.10750236362218857, 0.11084762960672379, 0.06057887524366379, -0.06563305109739304, 0.2868909537792206, -0.2693351209163666, -0.36966919898986816, 0.004447802901268005, 0.027329955250024796, 0.32529911398887634, -0.24954165518283844, 0.12626183032989502, -0.021881259977817535, 0.39814451336860657, 0.2770766019821167, 0.03290371969342232, 0.08246807008981705, 0.23988372087478638, 0.09441801905632019, -0.006808578968048096, 0.42513221502304077, 0.15860584378242493, 0.16416111588478088, 0.448600709438324, 0.19815939664840698, 0.05290701985359192, 0.11903060972690582, 0.06385407596826553, -0.08739122003316879, -0.26452013850212097, -0.3842054009437561, 0.1933228075504303, -0.0990273505449295, -0.065007783472538, 0.07461398839950562, 0.06797286123037338, -0.17237958312034607, -0.07449474185705185, 0.24629583954811096, 0.8356591463088989, 0.05068597197532654, -0.02764010801911354, -0.3562258183956146, -0.39737993478775024, 0.2775915563106537, -0.4253525733947754, 0.3063594698905945, -0.14507748186588287, 0.08960925787687302, -0.030162397772073746, -0.13939961791038513, -0.16648617386817932, -0.14026349782943726, -0.05560163035988808, 0.1301986277103424, -0.03815751522779465, 0.38304051756858826, 0.36553215980529785, 0.06241010129451752, 0.0038293804973363876, 0.3038192391395569, -0.0794634148478508, 0.29531580209732056, -0.08920150995254517, 0.21830298006534576, -0.11796832829713821, -0.38074707984924316, -0.24847523868083954, -0.10790776461362839, -0.33706408739089966, 0.07101976871490479, -0.19617855548858643, -0.08915337920188904, -0.06438297033309937, -0.17455008625984192, -0.05729721114039421, -0.26827487349510193, 0.123368039727211, 0.4186590909957886, -0.2793946862220764, 0.17514178156852722, -0.33033230900764465, -0.11122029274702072, 0.06717085838317871, 0.20685222744941711, 0.02530328556895256, -0.34325072169303894, -0.4067932963371277, 0.15906141698360443, 0.0031105969101190567, -0.6955295205116272, -0.035881198942661285, 0.04289624094963074, -0.23163236677646637, 0.11142370104789734, -0.08126229047775269, 0.20707690715789795, -0.21732880175113678, -0.38982295989990234, 0.23883174359798431, -0.15986689925193787, -0.0408649742603302, -0.3902381956577301, 0.13674509525299072, -0.32148438692092896, -0.030361823737621307, 0.42521312832832336, 0.02983204647898674, 0.23539957404136658, 0.30886176228523254, -0.028974957764148712, 0.09100732207298279, -0.28504034876823425, -0.24381431937217712, -0.0093722864985466, -0.31675565242767334, 0.35340097546577454, -0.4852766990661621, -0.11582568287849426, -0.04180971905589104, 0.4901197850704193, 0.14724284410476685, 0.4920079708099365, -0.17529328167438507, -0.3331707715988159, -0.23925408720970154, 0.07695572078227997, -0.30740341544151306, 0.05314614623785019, -0.1791623830795288, 0.1846092790365219, -0.0635761022567749, -0.2521299719810486, -0.43761736154556274, 0.1985471248626709, -0.4101976156234741, -0.023776397109031677, -0.19758200645446777, -0.09161781519651413, 0.19293150305747986, -0.08587101101875305, 0.19444137811660767, -0.18199549615383148, -0.30819645524024963, -0.2637501657009125, 0.09156394004821777, 0.06710022687911987, 0.06502695381641388, -0.13779306411743164, -0.07075416296720505, -0.3328150510787964, 0.055121295154094696, 0.299468994140625, -0.012493903748691082, 0.010833688080310822, 0.1765916496515274, -0.03661664202809334, -0.13240161538124084, -0.16802704334259033, 0.1808825582265854, 0.02053298056125641, 0.21179932355880737, 0.3869282603263855, -0.10581774264574051, 0.3520813286304474, -0.11943212896585464, -0.07712814956903458, -0.43711814284324646, 0.24861449003219604, -0.18709538877010345, 0.448569118976593, 0.10308730602264404, -0.10865439474582672, -0.21533775329589844, 0.24094364047050476, 0.2581442892551422, 0.0742555633187294, -0.1511891633272171, 0.08627866208553314, 0.1762027144432068, 0.24140124022960663, -0.07666465640068054, -0.12014489620923996, 0.0907660573720932, -0.0865059494972229, -0.04750373959541321, 0.06666240096092224, 0.4450750946998596, -0.2788482904434204, 0.11666853725910187, 0.39305445551872253, 0.29267048835754395, -0.01119387149810791, 0.05375193431973457, 0.5117135643959045, -0.20707491040229797, 0.010103441774845123, 0.28637394309043884, 0.11830593645572662, 0.3192789852619171, 0.041176214814186096, 0.01590028405189514, 0.26360630989074707, 0.5451784729957581, 0.07497739046812057, 0.05312678962945938, 0.26894718408584595, 0.0780169740319252, 0.11949021369218826, 0.29890114068984985, -0.2071792185306549, 0.17897942662239075, 0.050735052675008774, 0.18264326453208923, -0.19672180712223053, 0.05661734938621521, 0.09086401760578156, 0.010005060583353043, -0.2051396667957306, -0.4402475357055664, -0.31055691838264465, -0.1225782036781311, 0.0722396969795227, -0.15953488647937775, -0.19001810252666473, 0.131825789809227, -0.2308574765920639, -0.13104617595672607, -0.3029623329639435, 0.12140785902738571, -0.1862718164920807, 0.09412280470132828, -0.1334734410047531, 0.06011515483260155, -0.09884853661060333, -0.12515661120414734, 0.44976869225502014, 0.1592262089252472, 0.19389699399471283, 0.18724484741687775, 0.2139042466878891, -0.1618344485759735, 0.15524707734584808, -0.13881054520606995, 0.16654717922210693, 0.3334522247314453, 0.30531877279281616, -0.06311926245689392, -0.0473916158080101, 0.2500302493572235, -0.27360787987709045, 0.49086707830429077, 0.05715126171708107, -0.10454659163951874, -0.030628129839897156, 0.3693011701107025, 0.11167646199464798, -0.16745918989181519, -0.004093732684850693, -0.004214443266391754, -0.07217501103878021, -0.10205020010471344, 0.0681590884923935, -0.40348485112190247, 0.03033270314335823, -0.04916507005691528, 0.19893518090248108, -0.0045212265104055405, 0.3619948625564575, 0.09162920713424683, -0.005172476172447205, 0.061171796172857285, -0.3068304657936096, -0.14882555603981018, 0.2460736632347107, -0.08717010915279388, -0.008304404094815254, 0.13776616752147675, 0.07142360508441925, -0.008467979729175568, -0.004963662475347519, 0.26921987533569336, -0.2157517373561859, -0.3614480197429657, 0.21343718469142914, -0.002076338976621628, 0.02593403309583664, 0.0969911739230156, 0.3839929401874542, -0.007820196449756622, 0.0960824117064476, 0.1983461230993271, 0.006916842423379421, 0.1646011769771576, -0.007329681888222694, -0.007790334522724152, 0.2515108585357666, -0.14525356888771057, 0.3314302861690521, 0.03716135025024414, -0.2980886697769165, -0.05957785248756409, -0.2799118161201477, -0.4254439175128937, -0.3793104290962219, -0.09327514469623566, 0.08807945996522903, 0.010454937815666199, 0.15829434990882874, -0.0004732152447104454, -0.03674694523215294, -0.3602266311645508, 0.17123965919017792, -0.022195570170879364, -0.07652431726455688, -0.15850986540317535, 0.1372150331735611, -0.09695973992347717, -0.0017280459869652987, 0.1418824940919876, 0.052060000598430634, -0.08293525874614716, -0.0387941375374794, -0.21345138549804688, -0.05522944778203964, 0.5479106307029724, -0.022392231971025467, -0.2510897219181061, 0.10532496124505997, 0.3623392879962921, 0.14467689394950867, -0.12366869300603867, -0.2103034257888794, -0.04445203021168709, 0.15797832608222961, 0.2750212848186493, -0.527251124382019, 0.2261912077665329, -0.2126150280237198, -0.11474448442459106, 0.1499064415693283, 0.29269400238990784, 0.19865620136260986, -0.2844547629356384, -0.08020767569541931, -0.2688264846801758 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
@lhoestq Thanks for the suggestions! I agree with all of them. Should I accept them one by one or can I accept them all at once? When I try to load the whole diff GitHub is complaining and it does no render them well (probably my browser?) 😅
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
48
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). @lhoestq Thanks for the suggestions! I agree with all of them. Should I accept them one by one or can I accept them all at once? When I try to load the whole diff GitHub is complaining and it does no render them well (probably my browser?) 😅
[ -0.22163125872612, -0.1667902022600174, -0.15964177250862122, 0.36420220136642456, -0.2075852006673813, -0.004878714680671692, -0.22642259299755096, 0.10541677474975586, 0.2315429151058197, 0.0886256992816925, 0.09957192093133926, 0.1455593705177307, 0.016691049560904503, 0.23908258974552155, -0.22782398760318756, -0.20847663283348083, 0.008810006082057953, 0.17548519372940063, 0.17391973733901978, -0.21331378817558289, -0.2665598392486572, -0.07757798582315445, 0.11831286549568176, -0.03973875939846039, -0.07742121070623398, -0.3113436698913574, -0.30537065863609314, -0.0194418802857399, -0.18765199184417725, -0.4285214841365814, -0.03729251027107239, 0.6485180854797363, -0.26477497816085815, 0.19849589467048645, -0.00012302571849431843, -0.14511266350746155, 0.5178610682487488, 0.028154762461781502, 0.04105917364358902, -0.11022390425205231, -0.2885585427284241, -0.2457553893327713, 0.09696026891469955, -0.10475482046604156, -0.0840974822640419, -0.4593714773654938, 0.03575824201107025, 0.11239965260028839, 0.2515125870704651, -0.11697201430797577, 0.11125354468822479, -0.20690426230430603, -0.025802183896303177, -0.16672132909297943, 0.3544866740703583, 0.43376225233078003, 0.04769159108400345, -0.15474553406238556, 0.32541513442993164, 0.19972753524780273, 0.08648549020290375, 0.3862224519252777, -0.056704092770814896, -0.038370247930288315, 0.46174776554107666, -0.21090438961982727, 0.008137702941894531, -0.23795264959335327, -0.10092046111822128, 0.18426525592803955, 0.32389482855796814, 0.16212943196296692, -0.43343308568000793, -0.3630690276622772, 0.08928505331277847, -0.4335547387599945, -0.06478346139192581, -0.012350386008620262, -0.12811139225959778, -0.15997283160686493, -0.22177723050117493, -0.48551613092422485, -0.12496177852153778, 0.25356942415237427, -0.046671055257320404, 0.20214608311653137, -0.09131191670894623, 0.054008036851882935, 0.27053895592689514, 0.07505526393651962, 0.04638137295842171, -0.3194367587566376, -0.1997395008802414, -0.05866307392716408, 0.05133397877216339, -0.18453699350357056, -0.022242523729801178, 0.20505455136299133, 0.28669941425323486, 0.2573605179786682, 0.38040828704833984, 0.05625751614570618, -0.12922710180282593, -0.13258764147758484, 0.249702587723732, -0.10805533826351166, 0.12831249833106995, 0.14705325663089752, 0.0280767772346735, 0.12899552285671234, 0.31487739086151123, 0.11376636475324631, -0.08691811561584473, 0.041487980633974075, -0.4020133316516876, -0.018962111324071884, 0.19607064127922058, -0.050509415566921234, -0.07383400201797485, 0.14420214295387268, 0.14620858430862427, -0.49249067902565, 0.20574554800987244, 0.3328736424446106, -0.5709185600280762, 0.4148205518722534, -0.019495628774166107, -0.012780234217643738, 0.4587714374065399, -0.12306652218103409, -0.2504785358905792, 0.21823136508464813, -0.11862418055534363, 0.17459392547607422, 0.13459442555904388, -0.18355870246887207, 0.24493852257728577, -0.06059599295258522, 0.48451244831085205, -0.024359505623579025, -0.033351652324199677, -0.3050774335861206, 0.31864842772483826, 0.14983177185058594, 0.05474330112338066, 0.2040974199771881, -0.08666254580020905, 0.24876902997493744, -0.10855911672115326, 0.5664458274841309, -0.07727756351232529, -0.4445915222167969, -0.042697109282016754, 0.15322016179561615, 0.0496227964758873, -0.2830630838871002, -0.6062590479850769, 0.36318325996398926, -0.1971750557422638, 0.22469863295555115, 0.13913634419441223, 0.03961999714374542, -0.13653722405433655, -0.08128968626260757, 0.1891033947467804, 0.45094573497772217, -0.35900646448135376, -0.05498502776026726, 0.019666075706481934, 0.02469591610133648, 0.25091761350631714, 0.3018273413181305, -0.29226958751678467, 0.06649332493543625, 0.07785894721746445, 0.00026319175958633423, 0.3845776617527008, -0.4241296052932739, -0.3784993588924408, 0.28463777899742126, 0.3796038031578064, -0.1674327254295349, 0.30523839592933655, 0.282561331987381, 0.4491690695285797, -0.07628075033426285, 0.42934954166412354, 0.022424878552556038, -0.0624757781624794, 0.08515118062496185, -0.3760162889957428, -0.6117610335350037, 0.05304494872689247, 0.3636576235294342, 0.15272903442382812, -0.19501465559005737, -0.2953857183456421, -0.1928894966840744, 0.48541611433029175, 0.10415588319301605, -0.09992014616727829, 0.023822059854865074, 0.36317178606987, 0.3232857584953308, -0.21371692419052124, 0.024708911776542664, -0.18354737758636475, -0.08145385980606079, 0.1999281942844391, -0.24890094995498657, 0.5043815970420837, -0.4481397271156311, -0.5145031809806824, -0.21803630888462067, -0.33300185203552246, 0.05984153598546982, 0.01143556833267212, 0.2775590419769287, 0.1118895560503006, -0.26814019680023193, -0.5212763547897339, 0.33790937066078186, -0.5114942193031311, 0.1631925106048584, 0.10328269004821777, 0.12857139110565186, -0.16417673230171204, 0.008046910166740417, 0.08531717956066132, 0.009988285601139069, 0.0462099052965641, -0.2578164339065552, 0.2003304660320282, 0.11796393245458603, -0.3195822834968567, 0.060363851487636566, 0.03003385290503502, -0.24664784967899323, 0.46373265981674194, -0.2811889052391052, -0.08328499644994736, -0.08082535862922668, 0.1625426560640335, -0.25793129205703735, -0.05288219451904297, 0.052681297063827515, -0.25522950291633606, -0.008058644831180573, -0.18493233621120453, -0.3666464686393738, 0.052601657807826996, 0.1826249212026596, -0.32539665699005127, -0.20275484025478363, 0.02303122542798519, 0.39462563395500183, 0.43669116497039795, -0.02490747906267643, -0.3986697196960449, 0.04609232023358345, 0.4561944603919983, 0.12547282874584198, -0.1430569291114807, 0.3315371572971344, 0.05802157521247864, 0.12580400705337524, 0.0394192636013031, 0.08030913770198822, 0.20792122185230255, 0.3703022003173828, -0.25760969519615173, 0.08464127779006958, 0.09617922455072403, -0.07420699298381805, 0.17277130484580994, 0.37522709369659424, -0.08725669980049133, 0.26678475737571716, 0.043585583567619324, 0.1333480328321457, -0.0711299479007721, -0.013732394203543663, 0.26985087990760803, 0.11164914071559906, 0.02236151322722435, -0.3177630305290222, 0.07827842980623245, -0.4379062354564667, 0.16451449692249298, -0.5329351425170898, -0.026991676539182663, -0.18088246881961823, 0.17904020845890045, 0.04640394076704979, -0.061543527990579605, 0.2484259158372879, 0.029079198837280273, 0.48850905895233154, -0.35763752460479736, 0.16132999956607819, -0.1937502771615982, 0.04262222349643707, 0.06571927666664124, 0.046991024166345596, 0.16334381699562073, -0.11735174059867859, 0.6463502049446106, -0.34479644894599915, -0.05264819785952568, -0.1296095848083496, -0.44583895802497864, 0.26805955171585083, -0.2973141074180603, -0.29604628682136536, 0.24950483441352844, 0.33480459451675415, 0.043032653629779816, -0.37765106558799744, 0.14964735507965088, -0.018626147881150246, -0.16238465905189514, -0.7003856301307678, -0.03337222337722778, -0.07846610248088837, -0.06094884127378464, -0.5808323621749878, -0.22818651795387268, -0.40716081857681274, 0.47541582584381104, 0.1692478060722351, 0.26381102204322815, -0.1386992186307907, 0.008134988136589527, -0.017005808651447296, -0.16524077951908112, 0.04442264884710312, -0.11842188984155655, -0.28802943229675293, 0.12770113348960876, 0.040615905076265335, -0.1883968710899353, 0.18048298358917236, 0.03357335552573204, -0.08448216319084167, -0.19169558584690094, -0.29630327224731445, -0.4905664026737213, -0.38536056876182556, -0.22841104865074158, -0.09564132988452911, 0.086258165538311, 0.2859455347061157, 0.05070529505610466, -0.17001284658908844, 0.014375254511833191, -0.5512693524360657, 0.20814408361911774, 0.17286041378974915, 0.16053979098796844, 0.018015434965491295, 0.513167679309845, -0.17329055070877075, 0.7262347340583801, 0.30894994735717773, -0.1401892602443695, 0.2906229496002197, 0.21507829427719116, 0.1191382110118866, -0.026355504989624023, -0.551689863204956, -0.11105688661336899, 0.0483037605881691, 0.3949330449104309, 0.18284671008586884, -0.16232576966285706, -0.18923021852970123, -0.29882892966270447, 0.03455135598778725, -0.41339921951293945, 0.08106058835983276, 0.02054949663579464, -0.13490931689739227, -0.11767552047967911, -0.33143049478530884, -0.354207307100296, -0.2562692165374756, 0.026503942906856537, 0.015490401536226273, 0.4505147337913513, 0.2737097442150116, 0.03338693082332611, -0.1256093829870224, 0.25349828600883484, -0.3927019238471985, 0.3544737696647644, 0.2285120040178299, -0.2926873564720154, -0.12211686372756958, 0.15791991353034973, 0.18613043427467346, -0.06886985898017883, 0.43920958042144775, -0.07407320290803909, -0.5209578275680542, -0.05312298238277435, -0.05538175255060196, 0.06631997227668762, -0.17519253492355347, -0.37649261951446533, -0.10069303959608078, 0.48080918192863464, 0.2501157522201538, -0.4382878243923187, -0.09815743565559387, 0.4816592335700989, 0.01734262891113758, -0.05636092275381088, -0.0057479520328342915, -0.296183317899704, -0.4361771047115326, -0.6164882183074951, 0.33706459403038025, 0.39062029123306274, 0.0729719027876854, 0.013960874639451504, -0.47070005536079407, 0.0680289939045906, -0.2681065499782562, 0.2843666970729828, -0.06812772154808044, 0.07641775906085968, 0.3491614758968353, 0.09514254331588745, -0.18938010931015015, 0.2646060287952423, 0.5274218320846558, 0.4291346073150635, -0.04814347252249718, -0.16074860095977783, 0.013849718496203423, -0.5103065371513367, 0.34911516308784485, 0.4142090082168579, 0.054954078048467636, 0.17666035890579224, -0.13853652775287628, 0.299431174993515, -0.03249114006757736, 0.43025293946266174, 0.12401121109724045, -0.1628751903772354, -0.4734738767147064, -0.6073886752128601, 0.37865692377090454, 0.10757668316364288, -0.342107892036438, 0.40746963024139404, 0.6383212804794312, -0.025382498279213905, -0.15721705555915833, 0.06448635458946228, 1.2404484748840332, 0.19696667790412903, 0.06031341105699539, -0.22347590327262878, -0.23894548416137695, 0.4186484217643738, 0.17908717691898346, 0.030523594468832016, -0.2327115684747696, -0.13939109444618225, -0.06989467889070511, -0.16569337248802185, 0.21900853514671326, 0.14981921017169952, -0.3564848005771637, 0.25697118043899536, 0.22098316252231598, -0.21709364652633667, -0.06789491325616837, 0.15922456979751587, -0.0032122675329446793, -0.04636013135313988, -0.3962419033050537, -0.046046093106269836, -0.12450265884399414, 0.36210396885871887, -0.10380315780639648, -0.23556338250637054, -0.049053777009248734, -0.16775161027908325, -0.3395279347896576, -0.2814895212650299, -0.20567025244235992, -0.2765920162200928, -0.0977216511964798, -0.31061476469039917, 0.18072819709777832, 0.07434367388486862, 0.5999216437339783, -0.1262989491224289, 0.14924435317516327, 0.10665133595466614, -0.3694935739040375, -0.0860670655965805, -0.4080390930175781, -0.11456815898418427, 0.05936571955680847, -0.25218120217323303, -0.4261244237422943, 0.3150442838668823, 0.05225669592618942, -0.5043069124221802, -0.5106040835380554, 0.13139185309410095, 0.3687211871147156, -0.11976882070302963, -0.270478218793869, 0.16614970564842224, -0.06108345091342926, -0.06672921031713486, 0.04609224200248718, 0.04313378036022186, 0.04396773502230644, -0.016264542937278748, 0.3433646857738495, -0.11685976386070251, -0.14622589945793152, 0.07666517794132233, 0.08941313624382019, -0.3899643123149872, 0.4101129472255707, -0.07649485766887665, -0.11078133434057236, -0.13596057891845703, -0.40130722522735596, 0.07908199727535248, -0.32049423456192017, -0.22353360056877136, -0.16270019114017487, -0.22770565748214722, -0.021206406876444817, 0.4997330904006958, 0.42868250608444214, 0.35343173146247864, 0.2708287537097931, -0.04665765166282654, -0.30872842669487, 0.5099392533302307, -0.008701730519533157, 0.43595558404922485, 0.18158414959907532, -0.0030745193362236023, 0.18047599494457245, 0.2583921253681183, -0.25474172830581665, 0.20243434607982635, -0.16081960499286652, -0.057992853224277496, -0.0024464037269353867, -0.002307675778865814, -0.15422920882701874, 0.052904997020959854, -0.02101217582821846, 0.11614608764648438, -0.16383381187915802, -0.0641908198595047, 0.05599350109696388, 0.16505581140518188, 0.2279578447341919, 0.09037011861801147, -0.021070651710033417, 0.0025337394326925278, -0.004928702488541603, 0.17399249970912933, 0.43183213472366333, -0.1965760588645935, 0.0015219375491142273, 0.1733584851026535, 0.1438165158033371, 0.10699358582496643, -0.2876819372177124, 0.10208766907453537, 0.19592690467834473, 0.22966909408569336, 0.18718543648719788, 0.13329733908176422, 0.15740758180618286, -0.1855604350566864, 0.0036699678748846054, 0.03606889396905899, 0.33200371265411377, 0.37336277961730957, 0.10489887744188309, -0.049362652003765106, 0.23244109749794006, 0.28982093930244446, 0.058146797120571136, 0.026022911071777344, -0.056839097291231155, 0.019163722172379494, -0.05002833157777786, 0.16588251292705536, -0.31430625915527344, -0.09300287812948227, 0.1360558420419693, 0.16318866610527039, 0.06620419025421143, 0.22531583905220032, 0.11425130069255829, 0.1024247407913208, 0.13639041781425476, 0.36718276143074036, 0.31242385506629944, -0.16200871765613556, 0.22620612382888794, 0.17616204917430878, -0.21891772747039795, -0.04320574179291725, 0.1780027151107788, 0.3833845257759094, 0.05482567101716995, 0.21404491364955902, -0.08551657944917679, 0.575019896030426, 0.005782924592494965, 0.13664811849594116, 0.2625853717327118, -0.2316313236951828, 0.5050588250160217, 0.36887699365615845, 0.002353183925151825, 0.23669764399528503, 0.2909317910671234, 0.04229142889380455, 0.21880501508712769, -0.15872898697853088, -0.16446056962013245, 0.24470475316047668, 0.10658703744411469, -0.17973050475120544, -0.42103543877601624, -0.4151618778705597, -0.08253297209739685, 0.05479150637984276, 0.06188144534826279, -0.10629397630691528, 0.2521246075630188, 0.1203782707452774, -0.28123587369918823, -0.12026919424533844, -0.020547982305288315, 0.03414669632911682, 0.5565222501754761, 0.005159839987754822, 0.35193905234336853, 0.2831038236618042, -0.08579492568969727, 0.35584017634391785, 0.5886234045028687, 0.1316857933998108, 0.26236605644226074, 0.22291821241378784, 0.27352118492126465, -0.0026532839983701706, 0.052511610090732574, -0.0601067841053009, -0.11582955718040466, 0.10929591953754425, 0.014770004898309708, 0.07853461802005768, 0.13789550960063934, -0.19935700297355652, 0.1999424546957016, -0.42013242840766907, -0.029216039925813675, -0.4670123755931854, 0.3499659299850464, -0.02479463815689087, -0.276806116104126, 0.15170422196388245, 0.2952094078063965, -0.4242149889469147, -0.01275684218853712, 0.20660200715065002, 0.07177990674972534, -0.021563896909356117, 0.011787788942456245, 0.05611219257116318, -0.22319713234901428, 0.22265024483203888, 0.303463876247406, -0.24274727702140808, -0.044924963265657425, -0.21715232729911804, -0.3653486371040344, 0.12480632215738297, 0.20784801244735718, 0.12959475815296173, -0.001941559836268425, 0.0705442950129509, 0.1538769006729126, 0.03585232049226761, 0.20367416739463806, -0.17274321615695953, 0.0921887531876564, 0.06547917425632477, -0.2614753246307373, 0.24836397171020508, 0.27598482370376587, 0.09172217547893524, 0.23358261585235596, 0.08950602263212204, -0.03575657680630684, 0.2891673743724823, 0.006536275148391724, -0.2939067482948303, 0.16559934616088867, 0.05587954446673393, -0.16073724627494812, -0.09982432425022125, 0.0466020405292511, 0.5206143856048584, -0.08454793691635132, -0.10263727605342865, 0.487911581993103, 0.033846594393253326, -0.20422787964344025, 0.42215627431869507, 0.0032089687883853912, 0.35849666595458984, 0.13729824125766754, -0.17708756029605865, -0.2061089128255844, 0.13836826384067535, 0.02103748917579651, -0.1494843065738678, -0.3291845917701721, 0.012273294851183891, 0.25435858964920044, -0.15286268293857574, 0.15636636316776276, 0.14478367567062378, 0.12711220979690552, -0.09809546172618866, -0.4936993718147278, -0.3306327164173126, 0.4237166941165924, 0.055141255259513855, 0.13048119843006134, -0.2488051950931549, 0.3712862730026245, 0.18757113814353943, 0.4002140760421753, -0.681793749332428, -0.02343299239873886, 0.2946617305278778, -0.27849531173706055, -0.31103581190109253, 0.25633352994918823, 0.0941719114780426, -0.09106722474098206, -0.17234307527542114, 0.28773820400238037, -0.153028666973114, -0.1646260768175125, -0.24429990351200104, -0.23069027066230774 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
I just merged the tables as suggested 😄 . However I noticed something weird, the train sizes are identical for both the original and deduplicated files ... This is not normal, in general the original files are almost twice as big as the deduplicated ones 🤔
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
46
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). I just merged the tables as suggested 😄 . However I noticed something weird, the train sizes are identical for both the original and deduplicated files ... This is not normal, in general the original files are almost twice as big as the deduplicated ones 🤔
[ -0.25995248556137085, -0.06982304900884628, -0.057268183678388596, 0.45447152853012085, -0.03867894411087036, 0.08929982036352158, 0.14757171273231506, 0.3593906760215759, -0.12625838816165924, 0.13826003670692444, -0.2169262021780014, 0.41958364844322205, -0.060392096638679504, 0.3225747048854828, 0.07353582978248596, -0.011740617454051971, 0.11625877022743225, 0.27788716554641724, -0.5411797761917114, -0.28973543643951416, -0.015510372817516327, 0.2297319918870926, 0.13048496842384338, -0.1916896551847458, -0.46977943181991577, 0.2755046784877777, -0.2380615919828415, 0.024084467440843582, -0.570590078830719, 0.020473401993513107, 0.22922243177890778, 0.21193300187587738, -0.040545642375946045, 0.39628762006759644, -0.00011832634481834248, -0.05917776748538017, 0.017366550862789154, -0.10977700352668762, 0.10805435478687286, -0.08940285444259644, -0.057639025151729584, -0.10420585423707962, 0.05442959815263748, 0.13867998123168945, 0.018512524664402008, -0.5400176048278809, -0.04132392257452011, 0.2428048849105835, 0.11043672263622284, 0.0794583261013031, 0.1866580992937088, -0.17512553930282593, -0.06622068583965302, -0.18403171002864838, 0.084558866918087, 0.2112397998571396, -0.0628696009516716, 0.130879744887352, 0.034303124994039536, -0.09370015561580658, 0.15838629007339478, 0.1200796365737915, 0.4039344787597656, -0.3662729561328888, 0.4839431345462799, -0.10071714222431183, -0.08495419472455978, 0.00812128372490406, 0.1067066341638565, 0.4709978997707367, 0.19529302418231964, -0.15988698601722717, -0.013416970148682594, -0.18797500431537628, 0.12580206990242004, -0.48710691928863525, 0.12050246447324753, 0.05961146950721741, 0.2821733057498932, 0.058862391859292984, -0.2511003315448761, 0.09310733526945114, -0.22728289663791656, 0.20090922713279724, 0.01514456421136856, -0.1563214510679245, 0.03076259419322014, -0.03594476729631424, 0.1415928155183792, 0.15890072286128998, -0.02954738959670067, -0.2905578017234802, -0.24327662587165833, 0.11502902954816818, -0.1985359638929367, -0.14806824922561646, 0.03073854371905327, 0.02995971217751503, 0.20446008443832397, 0.1904703676700592, 0.2791433334350586, -0.17618846893310547, -0.07901229709386826, -0.23140743374824524, 0.2723044157028198, 0.44372403621673584, -0.38470742106437683, 0.012904002331197262, -0.06905462592840195, 0.2903793454170227, -0.2553115785121918, -0.003128405660390854, -0.28623172640800476, -0.005701276473701, -0.19370359182357788, -0.34599825739860535, 0.04056982696056366, -0.23766261339187622, 0.05816548317670822, 0.06750345975160599, -0.0010681934654712677, -0.12574002146720886, -0.08751419931650162, 0.0622316375374794, -0.304083913564682, 0.1893104910850525, -0.07800260186195374, 0.019389625638723373, -0.009640571661293507, 0.2663264870643616, -0.2801690399646759, -0.05528688803315163, -0.1920580267906189, -0.001482863910496235, 0.014797627925872803, -0.21741370856761932, 0.3465031683444977, 0.15190355479717255, 0.37473064661026, 0.02522340416908264, 0.14836068451404572, -0.2775687873363495, 0.38908177614212036, 0.08235195279121399, 0.06030198559165001, -0.022855116054415703, -0.20137308537960052, -0.01298772543668747, -0.037543706595897675, 0.30694377422332764, -0.1274455487728119, -0.3810323178768158, -0.250335693359375, 0.2100282609462738, -0.13827599585056305, -0.023028306663036346, -0.3692365884780884, 0.4392727315425873, -0.12473993748426437, -0.19207985699176788, 0.18616259098052979, -0.13051503896713257, 0.010484013706445694, -0.057953882962465286, 0.06682254374027252, 0.1678123027086258, -0.5743089914321899, -0.11706539988517761, -0.0508076548576355, -0.128693088889122, 0.3619668483734131, 0.4593186378479004, -0.3030101954936981, 0.23750030994415283, -0.33097541332244873, -0.11663250625133514, 0.19563624262809753, 0.059167128056287766, -0.5736797451972961, 0.044230807572603226, -0.07246173918247223, 0.2319210320711136, 0.12296102941036224, 0.1349366307258606, 0.39298874139785767, 0.010159477591514587, 0.4579860270023346, -0.07934446632862091, -0.12151393294334412, -0.12215818464756012, -0.19083160161972046, -0.38292545080184937, -0.03486648201942444, -0.08920183777809143, 0.20735637843608856, -0.0232916921377182, 0.018732823431491852, 0.11707594245672226, 0.3704516589641571, -0.0007897764444351196, -0.08514079451560974, 0.21446593105793, 0.21881474554538727, 0.21419000625610352, 0.13512404263019562, 0.11373917013406754, 0.1739872395992279, 0.04592461138963699, -0.26704081892967224, 0.12104429304599762, 0.5790484547615051, -0.526617169380188, -0.29001250863075256, -0.49251478910446167, -0.23641733825206757, -0.1164485365152359, 0.11862342059612274, -0.2695169448852539, 0.1530880630016327, -0.026840779930353165, -0.15331733226776123, 0.05563001334667206, -0.21690070629119873, -0.008916623890399933, -0.2461969405412674, 0.18267177045345306, -0.05779220163822174, 0.0344257615506649, -0.07209384441375732, 0.36224573850631714, -0.14481350779533386, -0.12705959379673004, -0.11889002472162247, -0.06227560341358185, -0.18744394183158875, 0.11761034280061722, 0.20342397689819336, 0.22848960757255554, 0.335982084274292, 0.07756304740905762, 0.002504853531718254, -0.13526655733585358, 0.08679722994565964, -0.20744433999061584, -0.04815162718296051, 0.15609832108020782, -0.05492482706904411, -0.10010065883398056, 0.1907714605331421, -0.23839454352855682, 0.14485393464565277, 0.12785284221172333, 0.09203139692544937, -0.1622280776500702, -0.07707184553146362, 0.35119178891181946, 0.07267537713050842, 0.24800527095794678, -0.334533154964447, 0.15065400302410126, 0.5334040522575378, 0.09642396867275238, -0.3425839841365814, 0.1107323169708252, -0.417576402425766, -0.019645363092422485, 0.1889069378376007, 0.34406375885009766, 0.6030730605125427, 0.28908881545066833, 0.2841028571128845, 0.404335618019104, 0.09221474826335907, -0.18904589116573334, 0.26971396803855896, 0.09378717839717865, -0.010008245706558228, 0.269145131111145, 0.05615655332803726, 0.049953021109104156, -0.542259693145752, 0.010483071208000183, 0.11330495029687881, 0.1356341540813446, -0.011206287890672684, -0.2436135858297348, -0.3822438418865204, -0.4801120460033417, -0.3657461702823639, 0.019456986337900162, -0.03627094253897667, -0.13106085360050201, 0.27516084909439087, -0.0186176635324955, -0.12538325786590576, 0.09101109206676483, -0.2634553611278534, 0.12373338639736176, -0.24389278888702393, -0.003861958160996437, 0.04213874042034149, 0.15621672570705414, -0.26080086827278137, 0.18164874613285065, 0.15052996575832367, -0.2201649248600006, 0.37971919775009155, -0.27215954661369324, 0.09066759794950485, -0.023343795910477638, -0.6984884142875671, 0.242644801735878, -0.14632685482501984, -0.2967016100883484, 0.1825314462184906, 0.06587690860033035, -0.0715639740228653, 0.03839409351348877, -0.07228126376867294, -0.045125361531972885, -0.2945990562438965, -0.3517867922782898, -0.2966131865978241, 0.06924090534448624, -0.21391674876213074, -0.6271350383758545, 0.010367690585553646, -0.09062375128269196, 0.6345446705818176, 0.14004142582416534, 0.1932334303855896, 0.14006710052490234, 0.307083398103714, 0.006378152407705784, -0.10962013155221939, -0.1014186292886734, -0.37953174114227295, -0.2763625681400299, 0.3143489360809326, -0.2231437861919403, -0.453661173582077, 0.17829930782318115, 0.06781662255525589, 0.05250198394060135, -0.3384464979171753, -0.4372095465660095, -0.42841923236846924, -0.27580052614212036, -0.30601581931114197, 0.20338574051856995, -0.02071406878530979, 0.22550758719444275, -0.192717045545578, -0.1362878531217575, 0.011433545500040054, -0.028471888974308968, 0.2110837697982788, 0.28340697288513184, 0.33831512928009033, -0.27260056138038635, 0.4011726975440979, -0.04956870898604393, 0.5820680260658264, 0.3420935571193695, 0.014459069818258286, 0.25229567289352417, -0.2648378014564514, 0.4828588366508484, -0.291953444480896, 0.014228137210011482, 0.17280961573123932, -0.050132691860198975, 0.20028485357761383, 0.20811274647712708, 0.17048606276512146, 0.06436338275671005, 0.2518711984157562, 0.15295492112636566, 0.01873686909675598, -0.07508183270692825, 0.21342521905899048, -0.11515069007873535, -0.3928687274456024, 0.3031378984451294, -0.31363606452941895, -0.14836372435092926, -0.20632809400558472, -0.012318959459662437, 0.23228757083415985, -0.057629965245723724, -0.017581893131136894, -0.11984966695308685, -0.05853743851184845, -0.6545347571372986, 0.24691182374954224, -0.020932281389832497, -0.153000146150589, 0.025567319244146347, -0.16722527146339417, -0.0021196603775024414, 0.17719942331314087, 0.4474237561225891, -0.018140288069844246, -0.514389157295227, 0.004028717055916786, -0.02466583251953125, -0.06725597381591797, -0.27743765711784363, -0.08115780353546143, -0.1439368575811386, 0.5949251651763916, 0.5064452886581421, -0.17114964127540588, -0.12340141832828522, 0.5131521224975586, 0.20921893417835236, -0.11271773278713226, -0.0837048590183258, -0.3264830410480499, -0.42126697301864624, -0.18517836928367615, 0.023440182209014893, 0.2141343206167221, 0.3260514438152313, -0.46139979362487793, -0.5312374830245972, -0.11015257239341736, -0.013580995611846447, 0.3541775345802307, 0.14040999114513397, 0.4528387784957886, 0.1734236776828766, 0.22771653532981873, -0.16958394646644592, 0.4888116717338562, 0.45389434695243835, 0.835003674030304, -0.3066287934780121, -0.18146872520446777, 0.2498510777950287, -0.4586200714111328, 0.31412479281425476, 0.4329482913017273, -0.0919993594288826, 0.1982203722000122, -0.30544692277908325, 0.027661725878715515, -0.04714372009038925, 0.32651278376579285, 0.09872500598430634, -0.024168644100427628, -0.11172888427972794, -0.5082316398620605, -0.18550506234169006, 0.40883469581604004, 0.010491244494915009, 0.609411895275116, 0.17804624140262604, -0.037649959325790405, 0.06447012722492218, -0.3645021915435791, 1.1723825931549072, -0.0135541632771492, 0.3774290084838867, -0.0817377045750618, -0.32053977251052856, 0.09896396845579147, -0.3152254819869995, 0.05527261644601822, -0.4529561996459961, -0.4418008625507355, 0.031190769746899605, 0.0479644350707531, -0.04272110015153885, 0.09872642904520035, 0.15350544452667236, 0.38993528485298157, 0.2570497393608093, 0.2074011117219925, -0.23669831454753876, 0.2777671813964844, -0.04342997074127197, -0.028736405074596405, -0.20166976749897003, 0.018188808113336563, 0.37696099281311035, 0.04566889628767967, -0.1742897927761078, -0.30185604095458984, -0.29952579736709595, -0.21110126376152039, 0.02769460529088974, -0.08943261951208115, -0.42251697182655334, -0.03668944537639618, -0.17402856051921844, -0.2113959640264511, 0.028829660266637802, 0.21527032554149628, 0.0005516111850738525, -0.08101367950439453, 0.10736033320426941, 0.2310333102941513, -0.0795566514134407, 0.0862189531326294, -0.18900498747825623, -0.16411620378494263, -0.09052880108356476, -0.1523294299840927, -0.11938317120075226, -0.0478980615735054, -0.05173977464437485, -0.1018366813659668, -0.2866096496582031, 0.21489976346492767, -0.0002627559006214142, -0.1993570625782013, -0.25840121507644653, -0.12134866416454315, -0.16363461315631866, -0.17534561455249786, 0.12277227640151978, -0.11119116842746735, 0.09310068935155869, 0.24243339896202087, 0.4019981920719147, -0.4437166154384613, -0.15341751277446747, 0.4459085166454315, 0.33456453680992126, -0.17666764557361603, 0.4455581605434418, -0.19084776937961578, 0.09631848335266113, -0.027841493487358093, -0.04820447042584419, 0.5332660675048828, -0.6577731966972351, -0.06812071800231934, -0.2638430893421173, -0.047221578657627106, 0.18774284422397614, 0.09245552122592926, 0.3824264407157898, 0.1643766462802887, -0.16622762382030487, 0.11384314298629761, -0.49510547518730164, 0.2567734718322754, 0.0765933245420456, 0.6062076091766357, 0.21295279264450073, -0.009591707959771156, 0.03759361803531647, 0.10555911064147949, -0.27558326721191406, 0.30126386880874634, 0.1195354089140892, 0.02583945542573929, -0.3258563280105591, 0.03380238637328148, 0.17226599156856537, -0.23522457480430603, 0.0006295740604400635, 0.26604413986206055, -0.05020473524928093, -0.19381627440452576, -0.0473310723900795, 0.12548983097076416, -0.08534149080514908, 0.025069229304790497, -0.14854277670383453, 0.1570468246936798, -0.2182188481092453, -0.0661158338189125, 0.4152121841907501, -0.26745548844337463, 0.11165362596511841, -0.12859798967838287, 0.2587597072124481, -0.3275352418422699, -0.1335461437702179, -0.08616749942302704, 0.36858198046684265, 0.4552311301231384, 0.16859878599643707, -0.10433433949947357, 0.02918478660285473, -0.18868488073349, -0.027522524818778038, 0.03798987343907356, 0.0649661123752594, 0.30826953053474426, 0.13531458377838135, 0.032228052616119385, 0.1174105703830719, 0.11810760200023651, 0.10190754383802414, 0.3348884582519531, -0.05231522023677826, -0.07686950266361237, -0.03462495282292366, 0.11953868716955185, -0.2835391163825989, 0.09790399670600891, 0.3442295491695404, 0.23021668195724487, -0.09378916025161743, 0.09136862307786942, 0.49147775769233704, 0.2732506990432739, -0.4140176773071289, 0.08834006637334824, -0.2216467261314392, 0.2820415496826172, 0.3242321014404297, 0.337714284658432, -0.012459754943847656, 0.1277913749217987, 0.07576878368854523, 0.12617698311805725, 0.11292648315429688, 0.6608943939208984, 0.12457643449306488, 0.33732834458351135, -0.0944429263472557, 0.032972827553749084, 0.23745015263557434, -0.3288179636001587, -0.05654354766011238, 0.23062339425086975, -0.13436536490917206, 0.3456675112247467, 0.3665276765823364, 0.08861110359430313, 0.21966105699539185, -0.18463991582393646, -0.2240781933069229, 0.04106777161359787, -0.08574079722166061, -0.008249981328845024, 0.00452641025185585, -0.281561940908432, -0.047159451991319656, -0.007572561502456665, 0.03486081212759018, 0.24811767041683197, -0.06435565650463104, -0.10137343406677246, -0.2986162304878235, -0.09734461456537247, 0.04266531765460968, 0.22984185814857483, 0.24093610048294067, 0.01953859254717827, 0.10189507156610489, 0.3510611355304718, -0.016557417809963226, 0.19389869272708893, 0.4687284827232361, 0.33972200751304626, 0.05396626517176628, 0.32646965980529785, 0.13415002822875977, 0.3859018087387085, 0.015942217782139778, -0.15624967217445374, 0.051500946283340454, 0.471718430519104, -0.11073234677314758, 0.1111898124217987, 0.09628991037607193, -0.12605871260166168, -0.19834665954113007, -0.045437123626470566, 0.29068154096603394, -0.2825676500797272, 0.5180309414863586, -0.0783834382891655, -0.15829521417617798, -0.2149558812379837, 0.21353980898857117, -0.48524340987205505, -0.026013154536485672, 0.5671058893203735, 0.07906003296375275, 0.09611871838569641, -0.28138044476509094, 0.04424671083688736, -0.07633323967456818, 0.3169100880622864, 0.2515754997730255, -0.36426419019699097, -0.13654069602489471, -0.30654221773147583, -0.5940439105033875, 0.15147419273853302, -0.15150664746761322, 0.24662035703659058, -0.10989244282245636, 0.34529945254325867, -0.05567822605371475, -0.31482774019241333, 0.5695841908454895, 0.07637374848127365, 0.1526631861925125, 0.2639855742454529, -0.2681671380996704, -0.050443973392248154, -0.10531982779502869, -0.02531086839735508, 0.04778962582349777, 0.0211629718542099, -0.05412982031702995, 0.07236778736114502, -0.0406498908996582, -0.17501838505268097, 0.10157474875450134, -0.20944245159626007, 0.03353958576917648, 0.22194477915763855, -0.06440234929323196, 0.4826415181159973, -0.06044469401240349, 0.11006016284227371, 0.07470929622650146, 0.1072981208562851, -0.1494549959897995, 0.515325129032135, -0.05102701112627983, 0.04272281378507614, -0.01902959868311882, -0.18345239758491516, 0.02675572969019413, 0.11455156654119492, 0.09879720211029053, -0.3380410969257355, -0.4140377342700958, 0.04936327040195465, -0.036035023629665375, -0.010308414697647095, 0.12666186690330505, 0.6527593731880188, -0.10012395679950714, -0.227168008685112, 0.026768364012241364, -0.44594424962997437, 0.2663612961769104, -0.03703656047582626, -0.018359210342168808, -0.2330283224582672, 0.007247433066368103, 0.34190449118614197, 0.08571143448352814, -0.581136167049408, 0.10812676697969437, 0.2165917009115219, -0.23759639263153076, 0.18644346296787262, 0.37225592136383057, -0.25815659761428833, 0.36260318756103516, -0.2335568219423294, 0.2790742516517639, -0.07720384746789932, -0.35272887349128723, -0.05986358970403671, -0.2835705280303955 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
Good catch @pjox ! I just checked and this is because the scripts doesn't handle having several blank lines in a row. Blank lines introduced by deduplication are currently not ignored so we end up with the same number of examples in the dataset as the original version (but with empty examples...) I fixed that in this [commit](https://github.com/huggingface/datasets/commit/837a152e4724adc5308e2c4481908c00a8d93383). I'm re-running the metadata generation for deduplicated configs.
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
66
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). Good catch @pjox ! I just checked and this is because the scripts doesn't handle having several blank lines in a row. Blank lines introduced by deduplication are currently not ignored so we end up with the same number of examples in the dataset as the original version (but with empty examples...) I fixed that in this [commit](https://github.com/huggingface/datasets/commit/837a152e4724adc5308e2c4481908c00a8d93383). I'm re-running the metadata generation for deduplicated configs.
[ -0.14950458705425262, -0.08354315906763077, -0.03974606469273567, 0.13027514517307281, 0.24609926342964172, 0.018262892961502075, 0.21269480884075165, 0.13178615272045135, 0.06684607267379761, 0.17307132482528687, 0.20279435813426971, 0.5837170481681824, 0.004732553847134113, 0.2619284689426422, 0.03311891853809357, 0.01944306120276451, -0.00258694589138031, 0.1875823736190796, -0.2838402986526489, -0.19329974055290222, -0.1663450449705124, 0.2962271571159363, -0.10651148855686188, -0.4423079490661621, -0.475009560585022, 0.09930014610290527, -0.0824732854962349, 0.15301519632339478, -0.3547574579715729, -0.3253452777862549, -0.01804504171013832, 0.27772676944732666, -0.23178961873054504, 0.10803726315498352, -0.00010453726281411946, -0.2122061401605606, 0.34496885538101196, -0.182306706905365, -0.33769840002059937, -0.1800389140844345, -0.12013207376003265, 0.15175452828407288, 0.23009321093559265, 0.23345604538917542, -0.15320484340190887, -0.19996608793735504, 0.13701167702674866, -0.11514002084732056, 0.07165400683879852, 0.049716584384441376, 0.28087446093559265, 0.13831569254398346, 0.0054429322481155396, -0.47930100560188293, 0.036480508744716644, 0.3616764545440674, -0.2157837301492691, 0.142709881067276, 0.19715964794158936, -0.07299831509590149, 0.13764333724975586, 0.37510067224502563, 0.23066312074661255, -0.12639440596103668, 0.5552127957344055, 0.026968251913785934, -0.09467006474733353, -0.12882418930530548, 0.2862822115421295, 0.31785672903060913, 0.3468007445335388, -0.24605515599250793, -0.26380249857902527, -0.2997640371322632, 0.3582938611507416, -0.4031978249549866, 0.07861171662807465, 0.0036161504685878754, 0.033900342881679535, -0.0037293769419193268, 0.0005937175592407584, -0.06290410459041595, -0.2066899985074997, 0.08804530650377274, 0.19552472233772278, -0.0781044065952301, -0.12132154405117035, -0.03409237414598465, 0.12100735306739807, 0.08751316368579865, -0.12666738033294678, -0.14443151652812958, -0.22183558344841003, 0.09033799916505814, 0.13456782698631287, 0.022395946085453033, 0.17651933431625366, 0.08615472167730331, 0.28688207268714905, 0.4202268123626709, 0.29904595017433167, 0.048743151128292084, 0.031393103301525116, 0.029274867847561836, 0.14662721753120422, 0.005390368402004242, 0.24051064252853394, -0.14790421724319458, 0.09758682548999786, 0.16806437075138092, 0.18644197285175323, -0.13253924250602722, -0.12635457515716553, 0.026724301278591156, -0.03055906854569912, -0.1372818648815155, 0.24655790627002716, -0.15842723846435547, -0.04440731182694435, 0.05020121484994888, -0.04646880179643631, -0.10542310774326324, -0.10138599574565887, 0.3801760673522949, -0.12147077918052673, -0.08556368947029114, -0.039146970957517624, 0.01707906648516655, 0.029140891507267952, 0.014007319696247578, -0.372221976518631, 0.01138070784509182, -0.2969805896282196, 0.10892535001039505, 0.2481231838464737, -0.2607075870037079, 0.5477941632270813, 0.1678464263677597, 0.2995656728744507, -0.040620312094688416, 0.21694278717041016, 0.053323615342378616, 0.27383342385292053, 0.2508823275566101, 0.10215145349502563, -0.0555129274725914, 0.05440251901745796, -0.0871792659163475, -0.008729375898838043, 0.04381028562784195, 0.09083182364702225, -0.2540947496891022, -0.243546262383461, 0.3056338131427765, -0.01950516737997532, -0.13031116127967834, -0.1764594316482544, 0.25206395983695984, -0.2189798355102539, -0.06044714152812958, 0.057308122515678406, 0.017900455743074417, 0.08344244956970215, -0.1491263061761856, 0.152924582362175, 0.6550515294075012, -0.46000656485557556, -0.17942413687705994, 0.002721723634749651, -0.10595948994159698, 0.08866994082927704, 0.04957040399312973, -0.213921457529068, 0.12867507338523865, -0.24119336903095245, 0.04909408092498779, 0.11443855613470078, -0.2564578950405121, -0.1306595653295517, 0.296263724565506, -0.08067645877599716, -0.00043438374996185303, 0.08174426853656769, 0.0006240014336071908, 0.31013184785842896, 0.02338816225528717, 0.2483430951833725, -0.2955411672592163, -0.05843285471200943, -0.06817550957202911, -0.2557939887046814, -0.2512720823287964, -0.31165486574172974, -0.030297549441456795, 0.01107601448893547, 0.09719547629356384, -0.1676841676235199, 0.12792162597179413, 0.3287730813026428, -0.09509184956550598, 0.17418403923511505, 0.38331466913223267, 0.4793218672275543, 0.3846215009689331, 0.07680202275514603, -0.021066609770059586, -0.3870798945426941, 0.0035756751894950867, 0.03273305296897888, 0.35557347536087036, 0.2242092341184616, -0.45881223678588867, -0.266348272562027, -0.23948895931243896, -0.38217344880104065, -0.34245914220809937, 0.22066792845726013, 0.017499543726444244, 0.160842165350914, -0.15164294838905334, -0.23288646340370178, 0.03519047796726227, 0.030614910647273064, 0.22787971794605255, -0.522083044052124, 0.17065207660198212, -0.14380992949008942, -0.2899598181247711, 0.13420386612415314, 0.09152182936668396, 0.10099466145038605, -0.24431321024894714, 0.054716140031814575, 0.20675614476203918, -0.009319912642240524, -0.014573320746421814, 0.061641253530979156, 0.1252783238887787, 0.1908571869134903, -0.057690199464559555, -0.006432177498936653, 0.10527767241001129, 0.20428471267223358, -0.18966162204742432, -0.32830968499183655, 0.13000555336475372, -0.0661795437335968, -0.046637795865535736, 0.18547482788562775, 0.013925371691584587, 0.20265184342861176, 0.006081346422433853, -0.10136939585208893, -0.5550921559333801, 0.05014173686504364, 0.09716901183128357, 0.18933424353599548, 0.12366671115159988, -0.4138892889022827, 0.36393865942955017, 0.24251163005828857, -0.011032020673155785, -0.16251927614212036, 0.0832657516002655, -0.2464243769645691, 0.05548401176929474, 0.11264439672231674, 0.24606718122959137, 0.43698233366012573, 0.4584546983242035, 0.0225343257188797, 0.24732837080955505, -0.11355594545602798, -0.3064388036727905, 0.33404117822647095, -0.030674465000629425, 0.02127094380557537, 0.07687139511108398, -0.16260460019111633, 0.01158466748893261, -0.4103865623474121, -0.2858034372329712, 0.15034425258636475, 0.2684042155742645, -0.18319585919380188, -0.26855993270874023, -0.29635876417160034, -0.2633606195449829, -0.08286773413419724, -0.03414323180913925, -0.1175914853811264, -0.2780129909515381, 0.2200014442205429, 0.3023833632469177, -0.21769317984580994, 0.15874552726745605, -0.17855578660964966, 0.0949358195066452, -0.19208580255508423, 0.05104230344295502, -0.22201573848724365, -0.04727907106280327, -0.07260247319936752, 0.1408597081899643, 0.052762821316719055, 0.0010569398291409016, 0.4923963248729706, -0.14766733348369598, -0.0458717942237854, -0.35137081146240234, -0.5498958230018616, 0.35540714859962463, -0.2620939612388611, -0.08456561714410782, 0.4098362624645233, 0.16900071501731873, -0.17429989576339722, -0.058337774127721786, 0.24291539192199707, -0.1818510740995407, -0.1486850529909134, -0.2807965576648712, -0.1565827876329422, -0.070743627846241, -0.4229699969291687, -0.6868081092834473, 0.2583926022052765, -0.26993951201438904, 0.4114924669265747, 0.07565653324127197, 0.18512161076068878, 0.3540794253349304, 0.12529706954956055, 0.1615326702594757, -0.3361494243144989, -0.10760290175676346, -0.3471187353134155, -0.18249760568141937, 0.1841992884874344, -0.4737660586833954, -0.47889360785484314, 0.17219185829162598, -0.02807874232530594, 0.2158081829547882, -0.3374355435371399, -0.2339988350868225, -0.5404807925224304, -0.1655152142047882, -0.12259705364704132, -0.16888928413391113, -0.04222352057695389, 0.5125077962875366, 0.0693804994225502, -0.2724497318267822, -0.1751604974269867, -0.17359250783920288, 0.40313056111335754, -0.13293227553367615, 0.17966637015342712, -0.3904617428779602, 0.33795902132987976, -0.1928086280822754, 0.4060157537460327, 0.3797723948955536, 0.1408495306968689, 0.3356149196624756, -0.1973000168800354, 0.4370848536491394, -0.19433706998825073, -0.13450539112091064, 0.11409880220890045, 0.020816326141357422, 0.38680970668792725, 0.332099974155426, 0.1131293997168541, 0.0818219855427742, 0.03435273468494415, 0.1043550968170166, -0.2985434830188751, -0.22040048241615295, 0.062433890998363495, -0.031503938138484955, -0.24617329239845276, 0.10521113872528076, 0.0308682844042778, -0.18561050295829773, 0.10792271047830582, -0.17030483484268188, 0.11280100792646408, 0.22027134895324707, -0.08774112164974213, -0.11852565407752991, 0.21842683851718903, -0.45138609409332275, 0.16089415550231934, -0.0952201560139656, -0.19016781449317932, -0.20427104830741882, -0.09604419767856598, 0.005737297236919403, 0.041799213737249374, 0.5376796722412109, -0.3053343892097473, -0.18305924534797668, 0.20249022543430328, -0.021851781755685806, -0.3310055434703827, -0.03938267379999161, -0.4130442142486572, 0.04898698255419731, 0.540006697177887, 0.30853280425071716, -0.44547444581985474, -0.14758841693401337, 0.4188798666000366, -0.18453830480575562, 0.04998717084527016, -0.1901833862066269, -0.15980418026447296, -0.3872249722480774, -0.41698774695396423, -0.09761305898427963, 0.23381628096103668, 0.26204535365104675, -0.002927690278738737, -0.37856778502464294, 0.004482477903366089, -0.11981911212205887, 0.41563159227371216, 0.12370797991752625, 0.3119833767414093, 0.20322731137275696, 0.29287269711494446, -0.015170734375715256, 0.2748127281665802, 0.6051547527313232, 0.4919902980327606, -0.11657533049583435, -0.2072673738002777, 0.20284175872802734, -0.38395431637763977, 0.44161468744277954, 0.2941736876964569, 0.12215754389762878, 0.197083979845047, -0.2693169116973877, 0.18786530196666718, -0.21587280929088593, 0.16412405669689178, 0.09984618425369263, -0.0870407372713089, -0.06652246415615082, -0.4040175974369049, 0.08900350332260132, 0.045706894248723984, -0.03515767678618431, 0.6327329874038696, 0.494550883769989, -0.1364494115114212, 0.23389080166816711, -0.08117835968732834, 0.9235749244689941, 0.073848195374012, 0.1958223581314087, 0.1561189889907837, -0.20912228524684906, 0.36722391843795776, 0.1743791401386261, 0.10354778915643692, -0.4605661630630493, -0.27527153491973877, 0.09622082114219666, 0.02975764498114586, 0.27742013335227966, 0.14306634664535522, -0.22489921748638153, 0.2572827637195587, 0.03562343120574951, 0.059432804584503174, -0.037294015288352966, 0.20040583610534668, -0.35513433814048767, -0.3086809813976288, -0.2888198494911194, 0.18962185084819794, 0.16582384705543518, 0.16927552223205566, -0.029191570356488228, -0.26787978410720825, -0.09732852131128311, -0.24199697375297546, -0.13595689833164215, 0.050614334642887115, -0.3062872290611267, -0.39309191703796387, 0.10752968490123749, -0.0729273185133934, 0.05928676202893257, 0.03528439998626709, 0.19611763954162598, 0.18587203323841095, -0.13676904141902924, 0.20534132421016693, -0.19614052772521973, -0.31478172540664673, -0.2443055808544159, -0.01978062465786934, 0.08099552989006042, -0.20803892612457275, -0.3841583728790283, -0.08896728605031967, 0.0037133274599909782, 0.057392388582229614, -0.10071563720703125, -0.028784893453121185, -0.1285754293203354, -0.17831112444400787, -0.30256137251853943, 0.038452375680208206, -0.15390363335609436, -0.39785152673721313, 0.21032196283340454, 0.07938919216394424, -0.19446969032287598, 0.010191306471824646, 0.31012800335884094, -0.12180067598819733, -0.22662054002285004, 0.4583066403865814, -0.14632341265678406, -0.12201809138059616, 0.45751282572746277, 0.10850109159946442, -0.002994738519191742, -0.3502105474472046, -0.13077011704444885, 0.4705079197883606, -0.5146443843841553, 0.0675409734249115, 0.11840096116065979, -0.09937743842601776, 0.2647815942764282, 0.20711685717105865, 0.11783982813358307, 0.18810032308101654, -0.11481651663780212, -0.023177266120910645, -0.3744564652442932, 0.05255751311779022, 0.04211317375302315, 0.33811917901039124, 0.05404515564441681, 0.15285511314868927, 0.1166878491640091, 0.059653207659721375, -0.45583054423332214, 0.13354676961898804, -0.05153974890708923, 0.08299833536148071, 0.059438467025756836, -0.1952662467956543, 0.29141902923583984, -0.1494743973016739, 0.2170722484588623, 0.28493356704711914, -0.14477701485157013, -0.27350476384162903, -0.20418168604373932, 0.08226007223129272, -0.07712709158658981, -0.07160129398107529, 0.09371303766965866, 0.3360896110534668, -0.3943062126636505, -0.1191113293170929, 0.5124687552452087, 0.02617768943309784, 0.04307788610458374, 0.09600625932216644, 0.08043596893548965, -0.0020584911108016968, 0.052712418138980865, -0.259977787733078, 0.2332770675420761, 0.31984391808509827, 0.09248701483011246, -0.1994304060935974, -0.11993443220853806, -0.16815391182899475, 0.15746453404426575, 0.08692178130149841, -0.07066746056079865, 0.1399153470993042, 0.25555920600891113, -0.1467909961938858, -0.018352612853050232, 0.1638067066669464, 0.24153807759284973, -0.1273043006658554, -0.03734955936670303, 0.05370514094829559, 0.10210271179676056, 0.28972405195236206, -0.273098349571228, 0.023917602375149727, 0.215041384100914, 0.2720014750957489, 0.2396242916584015, 0.25315168499946594, 0.10798715054988861, -0.015540137887001038, -0.11455710232257843, 0.13606178760528564, 0.12054602056741714, -0.09728286415338516, 0.1865914762020111, 0.1825801581144333, -0.1310316026210785, 0.0679050162434578, 0.0813618078827858, 0.16303467750549316, 0.191494420170784, 0.35170692205429077, -0.08724010735750198, 0.5110949277877808, -0.2674109637737274, 0.08178094029426575, 0.216424822807312, -0.24277393519878387, 0.05384127423167229, 0.2900075614452362, -0.07007746398448944, 0.286312460899353, 0.05921031907200813, 0.1554296463727951, -0.056641314178705215, -0.02957647293806076, -0.23156891763210297, 0.07400869578123093, -0.17289739847183228, -0.15599402785301208, -0.20540110766887665, -0.10597378015518188, 0.04812047630548477, -0.09567373991012573, 0.14294284582138062, -0.09578962624073029, 0.06159941479563713, -0.15524905920028687, -0.20774419605731964, -0.24217979609966278, 0.0954163521528244, 0.026835283264517784, 0.3853004574775696, 0.037067558616399765, 0.2002270221710205, 0.20643064379692078, -0.22718775272369385, 0.1127907782793045, 0.48425936698913574, 0.42727041244506836, 0.1402532458305359, 0.446191668510437, 0.15872907638549805, -0.10803686082363129, -0.07938595116138458, -0.08307886123657227, 0.1793387532234192, 0.24919210374355316, 0.20210865139961243, 0.1736588031053543, 0.19724774360656738, -0.24828962981700897, -0.1895521879196167, 0.04232659935951233, 0.1326635628938675, 0.05516570433974266, 0.3410147726535797, -0.08633314818143845, -0.1706351339817047, -0.182358056306839, 0.11267849057912827, -0.5404326319694519, -0.09299828857183456, 0.5226882100105286, 0.10511225461959839, -0.05180646851658821, -0.32266032695770264, 0.14584805071353912, 0.008092540316283703, 0.3675568103790283, 0.052481696009635925, -0.2325042188167572, -0.07596083730459213, -0.21127529442310333, -0.5889136791229248, 0.14560170471668243, -0.15047024190425873, -0.008126070722937584, -0.039680421352386475, 0.24954472482204437, 0.06055460870265961, -0.1807703822851181, 0.2087981104850769, 0.16005779802799225, 0.2634522020816803, 0.20684371888637543, -0.3188581168651581, 0.028404276818037033, -0.08541865646839142, -0.09431116282939911, 0.22341975569725037, 0.03064580261707306, -0.04800185188651085, -0.08261231333017349, 0.1225074753165245, -0.16794249415397644, 0.2496187388896942, -0.2715020179748535, -0.08234557509422302, 0.10305413603782654, 0.07134641706943512, 0.36762502789497375, -0.20579838752746582, -0.12696833908557892, -0.19839653372764587, 0.21824368834495544, -0.0875268206000328, 0.43817904591560364, 0.3204749822616577, 0.23219552636146545, -0.02983231469988823, -0.2923172116279602, -0.1605212539434433, 0.38905054330825806, 0.08614343404769897, -0.26112139225006104, -0.3196941912174225, 0.40226268768310547, 0.03604545444250107, 0.05023675039410591, -0.016456397250294685, 0.2962009906768799, -0.09501172602176666, -0.131020650267601, -0.23821021616458893, -0.6023022532463074, 0.6258060932159424, -0.22305966913700104, -0.13292764127254486, -0.1339084953069687, 0.23954182863235474, 0.18211092054843903, -0.1415949910879135, -0.6954782009124756, 0.19253242015838623, 0.09002787619829178, -0.04156597703695297, -0.22048348188400269, 0.23574626445770264, -0.3354869782924652, 0.039039675146341324, -0.13831068575382233, 0.3658428192138672, 0.14760327339172363, -0.09477190673351288, 0.12304332852363586, -0.19441565871238708 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
> I got the new sizes today, will update the dataset_infos.json and the dataset card tomorrow great, I just wanted to report that I got error message "NonMatchingSplitsSizesError" when I tried to load one of the oscar dataset.
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
38
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). > I got the new sizes today, will update the dataset_infos.json and the dataset card tomorrow great, I just wanted to report that I got error message "NonMatchingSplitsSizesError" when I tried to load one of the oscar dataset.
[ -0.3652874529361725, 0.05102625489234924, -0.06980907917022705, 0.4096618890762329, 0.13535934686660767, -0.0802156925201416, -0.10475431382656097, 0.24616554379463196, 0.09055207669734955, 0.2596876621246338, -0.10590271651744843, 0.16057859361171722, -0.14823657274246216, 0.3789714574813843, -0.025244157761335373, -0.05523137003183365, -0.0692845955491066, 0.12936654686927795, -0.16603220999240875, 0.02291543036699295, -0.40001487731933594, 0.31895676255226135, 0.059355229139328, -0.201091930270195, -0.27622294425964355, 0.06635305285453796, -0.08334282785654068, 0.03565144166350365, -0.42420703172683716, -0.37696126103401184, 0.24748100340366364, 0.08442938327789307, 0.13377521932125092, 0.18726876378059387, -0.00010954049503197894, -0.19522243738174438, 0.5447103381156921, -0.1102687269449234, -0.11258202791213989, -0.2560880780220032, -0.16941943764686584, -0.5179709792137146, 0.15795816481113434, 0.19665732979774475, -0.25659722089767456, -0.4427616596221924, 0.2153555005788803, -0.1373550295829773, 0.06376399844884872, -0.06328462064266205, 0.274291068315506, 0.10150229930877686, 0.15862394869327545, -0.37010374665260315, 0.08302421122789383, 0.034331031143665314, -0.21925446391105652, -0.14662796258926392, 0.3327414393424988, -0.12588727474212646, 0.08603529632091522, 0.3455139398574829, 0.28371426463127136, -0.0023856647312641144, 0.6071234345436096, -0.11421213299036026, 0.08125191181898117, -0.11129917204380035, 0.20727592706680298, 0.29030540585517883, 0.717805027961731, 0.03814851492643356, -0.28578370809555054, -0.3870389759540558, 0.108796127140522, -0.3289993703365326, 0.31613048911094666, 0.09880572557449341, 0.06654585897922516, -0.18736788630485535, -0.2553892135620117, -0.1222129762172699, -0.27703356742858887, 0.24519279599189758, 0.3341318666934967, 0.14139410853385925, -0.12962926924228668, 0.002761825919151306, 0.23291563987731934, -0.09144768118858337, 0.20495419204235077, -0.02918291464447975, -0.15285933017730713, 0.20417851209640503, -0.35739582777023315, -0.04917994886636734, 0.03387410193681717, 0.2608548104763031, 0.3223622143268585, 0.21179483830928802, 0.31094565987586975, -0.07158645242452621, 0.1123042032122612, -0.16027507185935974, 0.25501003861427307, 0.17623308300971985, 0.007304355502128601, 0.001246168278157711, -0.12466242909431458, 0.17352326214313507, 0.26340773701667786, -0.06295008957386017, 0.004036217927932739, -0.08751580119132996, -0.3516683280467987, -0.1536218523979187, 0.1986672282218933, -0.34273284673690796, -0.06690309196710587, 0.027294032275676727, -0.06031728908419609, -0.37062275409698486, -0.15079307556152344, 0.20856142044067383, -0.25942882895469666, 0.26581764221191406, 0.007776632905006409, 0.04514764994382858, -0.055311523377895355, 0.24508929252624512, -0.3067953884601593, 0.17644080519676208, -0.20940400660037994, 0.23751233518123627, 0.10834214091300964, -0.07183113694190979, 0.3255355656147003, -0.137313574552536, 0.4383617043495178, 0.3351803123950958, 0.1824381947517395, 0.04071356728672981, -0.254415899515152, 0.11294057965278625, 0.013675350695848465, 0.04351680725812912, -0.06235528364777565, 0.020696014165878296, -0.06512413173913956, 0.06459318101406097, 0.02624484896659851, -0.31470638513565063, -0.12380154430866241, 0.25641244649887085, -0.09650818258523941, -0.13024777173995972, -0.17480164766311646, 0.3644807040691376, -0.1382809281349182, -0.18950992822647095, -0.1346980333328247, -0.06735152751207352, -0.058627303689718246, -0.04391788691282272, -0.03427484631538391, 0.30630844831466675, -0.29341617226600647, -0.2850181460380554, 0.06640475243330002, -0.03385714814066887, 0.3017496168613434, 0.3122914135456085, -0.1604895293712616, -0.3280155062675476, -0.2332245409488678, 0.017615392804145813, -0.028188608586788177, -0.17100445926189423, -0.5066902041435242, 0.21408794820308685, -0.0776834562420845, 0.15868163108825684, 0.24666696786880493, 0.19744186103343964, 0.338278591632843, -0.02578292414546013, 0.191815584897995, 0.07935430109500885, -0.17598210275173187, -0.1525963544845581, -0.3897897005081177, -0.518771231174469, 0.08625714480876923, 0.2134067267179489, 0.3400762379169464, -0.06720235198736191, -0.14373433589935303, 0.2573468089103699, 0.10222592949867249, -0.06649982929229736, 0.037498243153095245, 0.03803739696741104, 0.2214762270450592, 0.31697067618370056, 0.01683748885989189, -0.018684115260839462, -0.2804609537124634, 0.30309996008872986, -0.23908914625644684, 0.15973368287086487, 0.3864654302597046, -0.1249937191605568, -0.23623120784759521, -0.3702908754348755, -0.14242210984230042, -0.05793805792927742, 0.10345946252346039, 0.045677829533815384, 0.3154967427253723, -0.09343957901000977, -0.18685702979564667, 0.4430115222930908, -0.058229051530361176, 0.040740884840488434, -0.5802162885665894, 0.17162516713142395, -0.13645011186599731, -0.12509897351264954, 0.23398330807685852, -0.06737767904996872, 0.2797852158546448, -0.26120859384536743, -0.09933323413133621, 0.22073516249656677, -0.3904915452003479, 0.20319512486457825, 0.1366414725780487, 0.2284412980079651, 0.4368516802787781, -0.10960019379854202, 0.1443912833929062, 0.09759694337844849, 0.1097223237156868, -0.2050374448299408, 0.022042516618967056, 0.3431698679924011, -0.26990365982055664, -0.016534283757209778, -0.02446775510907173, -0.17147645354270935, 0.20047545433044434, 0.09751296043395996, -0.10351356863975525, -0.16865912079811096, 0.2480766475200653, 0.22381596267223358, -0.014787722378969193, -0.20808450877666473, -0.2862395644187927, 0.08501861244440079, 0.3279353976249695, 0.025194276124238968, -0.2646220624446869, 0.2515694797039032, -0.163382887840271, 0.012754939496517181, 0.11869090795516968, 0.27182692289352417, 0.49764353036880493, 0.4854624569416046, -0.11627988517284393, 0.022595595568418503, 0.0058702644892036915, -0.25413796305656433, 0.2264678180217743, -0.0845457911491394, 0.2937850058078766, 0.20039787888526917, 0.08146627247333527, -0.1372540295124054, -0.3966448903083801, -0.06476347148418427, 0.06647210568189621, 0.29392310976982117, -0.01773010566830635, -0.3700346350669861, -0.1388355791568756, -0.31329402327537537, -0.018956240266561508, -0.1676393449306488, -0.1757788509130478, -0.16490505635738373, 0.2450985610485077, 0.28904566168785095, 0.07102954387664795, 0.16599130630493164, -0.3015677034854889, 0.28648486733436584, -0.1904846578836441, 0.2750951647758484, -0.16110090911388397, -0.005827995482832193, -0.028188109397888184, 0.16111452877521515, 0.06257086247205734, -0.26639989018440247, 0.3946481943130493, -0.21566087007522583, 0.12218993902206421, -0.1227094754576683, -0.43048107624053955, 0.12974202632904053, -0.15072771906852722, -0.18425944447517395, 0.24245278537273407, 0.09715112298727036, 0.1763545125722885, 0.06277298182249069, 0.31479206681251526, -0.3624160587787628, -0.24279116094112396, -0.28606268763542175, -0.13409671187400818, 0.13802385330200195, -0.1530306339263916, -0.4530579745769501, -0.30670174956321716, -0.25735726952552795, 0.4819554090499878, 0.35511890053749084, 0.1803145706653595, -0.07008465379476547, 0.26444342732429504, 0.10590794682502747, -0.22399958968162537, -0.17301087081432343, -0.33586665987968445, -0.3141110837459564, 0.2561602294445038, -0.18453152477741241, -0.4261288642883301, 0.18700845539569855, 0.24738772213459015, 0.1445850282907486, -0.3728020191192627, -0.314644992351532, -0.5843673348426819, -0.2629983723163605, -0.09678332507610321, -0.0333792045712471, -0.05964934080839157, 0.509353518486023, -0.11688985675573349, -0.2079584300518036, -0.1589089035987854, -0.43690431118011475, 0.06377649307250977, 0.2390352189540863, 0.4531334340572357, -0.12431205064058304, 0.5038881301879883, -0.14760461449623108, 0.785735011100769, 0.14869749546051025, 0.00995371863245964, 0.2737218737602234, 0.0597134530544281, 0.16671034693717957, -0.1402977705001831, -0.3340362012386322, 0.3457978665828705, -0.04070250689983368, 0.2853747010231018, 0.19860708713531494, 0.08751358836889267, -0.1464148461818695, -0.06668445467948914, -0.025130808353424072, -0.23224717378616333, 0.15517807006835938, 0.13095179200172424, 0.035617899149656296, -0.2836647033691406, 0.20827841758728027, 0.004948869347572327, -0.3369971811771393, -0.16680994629859924, -0.17011789977550507, 0.03983189910650253, 0.30841949582099915, -0.03583979606628418, -0.023515600711107254, 0.17891861498355865, -0.4844401478767395, 0.4522566795349121, -0.07443825900554657, -0.07543651759624481, -0.17828206717967987, 0.0016628094017505646, -0.0958646833896637, -0.13522730767726898, 0.3988654613494873, -0.1430719792842865, -0.4373919367790222, 0.12429411709308624, -0.2640840411186218, -0.37782809138298035, -0.0639064610004425, -0.09794643521308899, -0.0016566929407417774, 0.38345587253570557, 0.36865532398223877, -0.3596336543560028, -0.15763147175312042, 0.0997050330042839, -0.0648399293422699, -0.1681278795003891, -0.010813002474606037, -0.2231229692697525, -0.3654758036136627, -0.4842263162136078, 0.04458971321582794, -0.07009328156709671, 0.5329907536506653, -0.047084957361221313, -0.2728172838687897, -0.07397602498531342, -0.1831473708152771, 0.2235008180141449, 0.04534880071878433, 0.16988179087638855, 0.2976352274417877, 0.2697736918926239, 0.3045196235179901, 0.5377653241157532, 0.4298171103000641, 0.5510926246643066, 0.14722265303134918, -0.13599839806556702, 0.2359967827796936, -0.13739635050296783, 0.18075184524059296, 0.37701380252838135, 0.09789793193340302, -0.06966700404882431, -0.16993124783039093, 0.07783196866512299, -0.17910291254520416, 0.0831635594367981, -0.017811276018619537, -0.06845629215240479, -0.1832733154296875, -0.4147251546382904, 0.36020922660827637, 0.2324688583612442, 0.02328537404537201, 0.29441970586776733, 0.37124598026275635, -0.1555606722831726, -0.12842649221420288, 0.03501687943935394, 0.9400848150253296, -0.05867139250040054, 0.04630202054977417, -0.12660813331604004, -0.43224668502807617, 0.49432578682899475, -0.03535910323262215, 0.1961548775434494, -0.36320123076438904, -0.4284385144710541, 0.007262257859110832, -0.03652434051036835, 0.31166109442710876, -0.08253656327724457, -0.03446799889206886, 0.3181179463863373, 0.23032833635807037, -0.09413443505764008, -0.21479319036006927, 0.3176858127117157, -0.2587156295776367, -0.34255900979042053, -0.3965943455696106, 0.20124763250350952, -0.12484663724899292, 0.350812703371048, -0.12438452988862991, -0.2711936831474304, -0.11422114819288254, -0.22562798857688904, -0.15329280495643616, 0.0768367275595665, -0.3911202549934387, -0.16966770589351654, -0.0038011744618415833, -0.2260417938232422, 0.2802864909172058, -0.0007050372660160065, 0.21110358834266663, -0.39140674471855164, -0.24724391102790833, 0.21854200959205627, -0.37113815546035767, -0.25663208961486816, -0.24953410029411316, -0.01768409088253975, -0.11573852598667145, -0.33859527111053467, -0.1848830282688141, 0.17894600331783295, 0.07425358146429062, -0.24811160564422607, -0.2697325050830841, -0.12696972489356995, 0.025653380900621414, -0.1846228390932083, -0.3010193109512329, -0.0732499212026596, -0.013472149148583412, -0.2269708663225174, 0.18937091529369354, 0.21507875621318817, -0.10899205505847931, 0.019445978105068207, 0.4140278697013855, -0.05934873968362808, -0.2566254734992981, 0.5565802454948425, 0.11254298686981201, -0.1973714828491211, 0.39386728405952454, 0.17708337306976318, -0.04235165938735008, -0.1776944398880005, -0.05415845289826393, 0.3378447890281677, -0.45841145515441895, -0.14333684742450714, -0.034067168831825256, -0.11541267484426498, 0.16656512022018433, 0.29050835967063904, 0.3747679591178894, 0.04485708847641945, 0.1679670661687851, -0.13982075452804565, -0.39482012391090393, 0.29016992449760437, -0.1416531205177307, 0.43486738204956055, -0.11183859407901764, -0.0712776929140091, 0.0034236926585435867, 0.16787394881248474, -0.38805896043777466, 0.017796676605939865, 0.009120220318436623, -0.05346526950597763, 0.20957569777965546, -0.07991204410791397, 0.26802292466163635, 0.04544227570295334, 0.12089627981185913, 0.19848492741584778, -0.2498186230659485, -0.16382601857185364, -0.025416389107704163, 0.09416205435991287, 0.058997742831707, -0.1496637761592865, -0.15793351829051971, 0.13307489454746246, -0.2386716902256012, 0.06433921307325363, 0.17303459346294403, -0.08819115161895752, -0.1367022842168808, 0.19825458526611328, 0.0041835978627204895, -0.3326537609100342, 0.15253561735153198, -0.044720254838466644, 0.29121893644332886, 0.5969131588935852, 0.006947217974811792, 0.12902185320854187, 0.10060557723045349, -0.12633726000785828, -0.023156246170401573, 0.0293876975774765, 0.07932232320308685, 0.285739928483963, 0.21288517117500305, -0.22291310131549835, 0.11520533263683319, 0.3714824318885803, 0.1132211983203888, 0.027228742837905884, 0.04982892796397209, 0.04627825319766998, 0.041471585631370544, 0.25128334760665894, -0.42221370339393616, -0.06486707925796509, 0.34554603695869446, 0.1785379946231842, 0.05660048499703407, 0.23636394739151, 0.21448013186454773, 0.13412971794605255, -0.2503167390823364, 0.2919571101665497, 0.25433966517448425, -0.03887447714805603, 0.19584418833255768, 0.13731074333190918, -0.1051962673664093, -0.08694566786289215, 0.3928878605365753, 0.12188245356082916, 0.2371191382408142, 0.3899970054626465, -0.317100465297699, 0.49296075105667114, -0.20657116174697876, 0.3679850101470947, 0.03726274520158768, -0.3133547008037567, -0.02464614436030388, 0.3958345651626587, 0.00025841593742370605, 0.3489307165145874, 0.14633475244045258, 0.2751590609550476, -0.1945393681526184, -0.10504768788814545, -0.37085455656051636, 0.06489789485931396, -0.09810385853052139, -0.19914530217647552, -0.32875797152519226, -0.40190589427948, -0.03455464169383049, 0.07208900153636932, -0.015905041247606277, 0.04299937188625336, 0.4463118314743042, -0.19838036596775055, -0.20351649820804596, -0.26929065585136414, -0.07333175837993622, 0.2891013026237488, 0.1974373757839203, -0.030005695298314095, 0.18718016147613525, 0.17006152868270874, -0.23837405443191528, 0.13244061172008514, 0.6858780980110168, 0.334245890378952, 0.11388804018497467, 0.01544503029435873, 0.1689632385969162, 0.08175753057003021, -0.012959144078195095, -0.059932809323072433, 0.4078275263309479, 0.21553954482078552, -0.2189871221780777, 0.15956059098243713, 0.1714520901441574, -0.2468012422323227, 0.3303494453430176, -0.161549374461174, 0.14656025171279907, -0.1773070991039276, 0.2519298791885376, -0.22747346758842468, 0.09950115531682968, -0.1319727748632431, 0.2671352028846741, -0.5321289300918579, -0.10202161222696304, 0.1425493210554123, 0.10858442634344101, 0.08121674507856369, -0.08887842297554016, 0.09122458100318909, -0.23836088180541992, 0.48325109481811523, 0.1328057199716568, -0.33373138308525085, -0.16884860396385193, -0.0895649716258049, -0.4163125455379486, 0.15646491944789886, -0.20070680975914001, 0.1578841507434845, -0.11940979957580566, 0.4236396253108978, 0.1584443300962448, -0.1561233103275299, 0.41004765033721924, 0.28486156463623047, 0.22527272999286652, 0.14154312014579773, -0.3180229365825653, 0.0391685776412487, 0.14167585968971252, 0.09767361730337143, 0.0975603461265564, 0.11812464147806168, -0.10099653899669647, -0.13215234875679016, 0.1260010004043579, -0.3035452365875244, 0.21267002820968628, -0.3113894760608673, -0.2462524175643921, 0.21751399338245392, 0.2738196849822998, 0.36097294092178345, -0.22695216536521912, -0.1576138734817505, -0.060776252299547195, -0.24482710659503937, -0.10345161706209183, 0.3058561086654663, 0.2625250220298767, 0.5891009569168091, -0.03182654827833176, 0.15523484349250793, -0.25653916597366333, 0.3154996335506439, -0.11977815628051758, -0.31952905654907227, -0.17761151492595673, 0.31876614689826965, -0.018892183899879456, -0.14723482728004456, -0.02262503281235695, 0.4020727574825287, -0.0027924813330173492, -0.10683499276638031, -0.25963592529296875, -0.26304277777671814, 0.45746979117393494, -0.20018792152404785, -0.12459886074066162, 0.0004926673136651516, 0.011269427835941315, 0.18755578994750977, -0.008523836731910706, -0.47891339659690857, 0.2817363739013672, 0.07240497320890427, 0.018355954438447952, -0.04516005516052246, 0.1537533551454544, -0.08872100710868835, -0.11239749938249588, -0.20937111973762512, 0.020709283649921417, 0.13927201926708221, -0.18255119025707245, -0.018780944868922234, 0.02882958948612213 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
Ok I see you're having this issue because I haven't updated the sizes yet ! I'm opening a PR I just checked and indeed there's an issue with the `deduplicated` configurations since the commit I mentioned above. I'm fixing this by using the new sizes I got yesterday :)
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
49
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). Ok I see you're having this issue because I haven't updated the sizes yet ! I'm opening a PR I just checked and indeed there's an issue with the `deduplicated` configurations since the commit I mentioned above. I'm fixing this by using the new sizes I got yesterday :)
[ -0.2446053922176361, -0.31862539052963257, -0.05394599586725235, 0.250543475151062, 0.22696636617183685, -0.09604375064373016, 0.19204279780387878, 0.10074932873249054, 0.08286626636981964, 0.3457764685153961, 0.009361645206809044, 0.36610662937164307, 0.1337345391511917, 0.37153947353363037, -0.05608418583869934, -0.11396022140979767, -0.10571209341287613, 0.25150084495544434, -0.18351954221725464, -0.0875152200460434, -0.14990253746509552, 0.21447841823101044, -0.04063837230205536, -0.23207636177539825, -0.23873795568943024, -0.017155101522803307, -0.09733478724956512, 0.09804940968751907, -0.4599943459033966, -0.3103645145893097, 0.19630011916160583, 0.21586239337921143, -0.18559418618679047, 0.040178082883358, -0.00010005484364228323, -0.11044184863567352, 0.3007999062538147, -0.11222215741872787, -0.200030118227005, 0.009750962257385254, -0.12417180091142654, -0.14948630332946777, 0.1630486398935318, 0.27019762992858887, -0.2294885218143463, -0.4316200017929077, 0.1502973586320877, -0.05020925775170326, 0.19002196192741394, 0.039391666650772095, 0.3602154552936554, 0.06946001201868057, 0.17822551727294922, -0.47699862718582153, -0.032390691339969635, 0.26525959372520447, -0.24437525868415833, -0.0049898140132427216, 0.25554701685905457, -0.008959819562733173, 0.14494800567626953, 0.3776853680610657, 0.4378115236759186, -0.010123185813426971, 0.47571200132369995, -0.04049435257911682, -0.0038572102785110474, -0.1379190981388092, 0.22850900888442993, 0.16305461525917053, 0.3020264506340027, -0.05183115601539612, -0.14716050028800964, -0.30235666036605835, 0.14819198846817017, -0.41793882846832275, 0.2130868136882782, -0.06731627136468887, 0.14923550188541412, -0.020456485450267792, -0.06124167889356613, -0.1160958781838417, -0.12824779748916626, 0.24744576215744019, 0.10107657313346863, -0.09918281435966492, -0.12103761732578278, -0.05512966960668564, 0.1918831616640091, -0.05337248742580414, -0.08369942009449005, 0.07513278722763062, -0.2906828224658966, 0.018583839759230614, -0.07550165057182312, 0.012258008122444153, 0.13962815701961517, 0.1476883888244629, 0.2058599293231964, 0.3261454701423645, 0.20400483906269073, -0.006975032389163971, 0.10630326718091965, -0.05956556648015976, 0.2060590386390686, 0.3032200038433075, -0.10293983668088913, -0.03730856254696846, 0.12152998894453049, 0.24081926047801971, 0.18831218779087067, -0.12246333807706833, -0.06890355795621872, -0.17703676223754883, -0.08555485308170319, -0.1952441930770874, 0.2171759456396103, -0.20204806327819824, 0.09066598862409592, 0.0012299437075853348, 0.05983298271894455, -0.01349491998553276, -0.01936384290456772, 0.2633398771286011, -0.1569257527589798, 0.0525936633348465, 0.044391460716724396, 0.07005832344293594, -0.05860961973667145, 0.0777280405163765, -0.35752618312835693, -0.08720426261425018, -0.2820746600627899, 0.028381913900375366, 0.15040606260299683, -0.23091888427734375, 0.4759441018104553, 0.14116066694259644, 0.49416059255599976, 0.11339321732521057, -0.06596020609140396, -0.02474798634648323, 0.07159297168254852, 0.23669232428073883, 0.08941492438316345, 0.0000284537672996521, -0.05599458888173103, -0.0520675964653492, 0.05455920845270157, 0.02475680783390999, 0.026746265590190887, -0.26040735840797424, -0.34208840131759644, 0.32448863983154297, 0.0758315697312355, -0.0710880383849144, -0.24225598573684692, 0.3051290810108185, -0.09418744593858719, 0.03388182446360588, -0.03374525159597397, -0.18864679336547852, 0.07224683463573456, 0.033468492329120636, 0.14820685982704163, 0.2546011805534363, -0.456473171710968, -0.14201436936855316, -0.0570775531232357, -0.10661406815052032, 0.24485322833061218, 0.25706809759140015, -0.27599406242370605, -0.04573274403810501, -0.17550227046012878, 0.06433707475662231, 0.12772276997566223, -0.21656660735607147, -0.5454285740852356, 0.03163183480501175, -0.08341007679700851, -0.13419201970100403, 0.058757323771715164, 0.03460928052663803, 0.2664126455783844, 0.10385839641094208, 0.2226131707429886, -0.09573599696159363, -0.14054349064826965, 0.021896397694945335, -0.3621053099632263, -0.3183033764362335, -0.28232771158218384, 0.091978058218956, 0.13379833102226257, -0.006905980408191681, -0.09523940831422806, 0.20562714338302612, 0.16489776968955994, -0.04895282909274101, 0.20520374178886414, 0.19207362830638885, 0.4105905592441559, 0.2722628712654114, 0.08992557227611542, 0.06575369834899902, -0.1101394072175026, 0.11503054946660995, -0.18263140320777893, 0.34766876697540283, 0.34167730808258057, -0.2665267288684845, -0.35646018385887146, -0.35686734318733215, -0.3415656089782715, -0.21539252996444702, 0.24820169806480408, 0.016503773629665375, 0.16267554461956024, -0.09701117873191833, -0.1579817831516266, 0.08644113689661026, -0.10318222641944885, 0.11940889805555344, -0.24436582624912262, 0.1368338167667389, -0.296146035194397, -0.1526101976633072, 0.1290730983018875, -0.02645125985145569, 0.07476396858692169, -0.13672316074371338, -0.0779167041182518, 0.12459451705217361, -0.10694295167922974, -0.04481510818004608, 0.034845661371946335, 0.03398573398590088, 0.212411567568779, -0.07304353266954422, 0.010951774194836617, -0.02572234719991684, 0.07019615918397903, -0.11468426883220673, -0.08766878396272659, 0.1348199099302292, -0.11228333413600922, -0.06708850711584091, 0.022299736738204956, -0.031297363340854645, 0.3644763231277466, 0.019871529191732407, 0.10374061018228531, -0.4231528639793396, -0.05729242041707039, 0.14594784379005432, 0.10663367807865143, -0.05975073575973511, -0.38570064306259155, 0.24512964487075806, 0.3221271336078644, 0.2416565716266632, -0.1310405731201172, 0.25664252042770386, -0.2015862762928009, 0.012884669005870819, 0.12705174088478088, 0.3323453366756439, 0.4018610715866089, 0.4248233735561371, -0.03274538740515709, 0.24251972138881683, 0.01119423471391201, -0.21230903267860413, 0.26545098423957825, -0.08513537049293518, 0.04779453203082085, 0.0702270120382309, 0.14700070023536682, -0.18616321682929993, -0.4788364768028259, 0.020221631973981857, 0.08533024042844772, 0.2911372482776642, -0.12406499683856964, -0.2778850793838501, -0.3144701421260834, -0.32015275955200195, -0.015201580710709095, -0.13545741140842438, -0.1170295923948288, -0.2815343141555786, 0.41153591871261597, 0.22997067868709564, -0.05698975920677185, 0.18918198347091675, -0.08853249251842499, 0.2767990827560425, -0.08971138298511505, 0.1916075050830841, -0.19104008376598358, 0.07682249695062637, -0.20875874161720276, 0.22233504056930542, 0.016451016068458557, -0.17346231639385223, 0.3868750035762787, -0.18047404289245605, 0.0937984511256218, -0.16464951634407043, -0.5595974922180176, 0.24833625555038452, -0.2277899533510208, 0.015592829324305058, 0.2670133113861084, 0.22812682390213013, -0.060664623975753784, -0.017062585800886154, 0.26629889011383057, -0.10220357030630112, -0.3490069806575775, -0.34919974207878113, -0.19016112387180328, -0.039395201951265335, -0.378116250038147, -0.5015151500701904, 0.0673123449087143, -0.2583126723766327, 0.535060465335846, 0.15491625666618347, 0.14742040634155273, 0.2759268581867218, 0.2814682424068451, 0.013281329534947872, -0.2124200016260147, -0.09792867302894592, -0.47095203399658203, -0.22490355372428894, 0.20243945717811584, -0.45483335852622986, -0.4808277189731598, 0.12346445024013519, 0.17853914201259613, 0.2529735565185547, -0.40222442150115967, -0.3577589988708496, -0.6091276407241821, -0.28995662927627563, -0.1667410284280777, -0.028763510286808014, 0.010828973725438118, 0.48122861981391907, -0.042245589196681976, -0.2857900857925415, -0.13928639888763428, -0.3381681740283966, 0.238436758518219, 0.1314726620912552, 0.3307439088821411, -0.38414648175239563, 0.2549068331718445, -0.06708945333957672, 0.5235936641693115, 0.13439954817295074, 0.00750553235411644, 0.4129343032836914, -0.0816754624247551, 0.3045404851436615, -0.3348773717880249, -0.21899840235710144, 0.21648453176021576, 0.1004316583275795, 0.3418567180633545, 0.2556133270263672, 0.12775281071662903, -0.1636011004447937, 0.006631307303905487, 0.14024639129638672, -0.06315534561872482, -0.15481428802013397, -0.009457679465413094, 0.07307390868663788, -0.28561586141586304, 0.19208282232284546, -0.04014311358332634, -0.17203615605831146, -0.04502043128013611, -0.1588520109653473, 0.018163733184337616, 0.035259854048490524, 0.010704217478632927, -0.20343776047229767, 0.14292198419570923, -0.38143396377563477, 0.21115204691886902, -0.16033026576042175, -0.005821158178150654, -0.30081605911254883, -0.05788302421569824, 0.10712442547082901, 0.07625190168619156, 0.37766993045806885, -0.17738549411296844, -0.31550925970077515, 0.08628855645656586, -0.14117681980133057, -0.2143220156431198, -0.08241810649633408, -0.22649243474006653, 0.0025825384072959423, 0.39828088879585266, 0.2740788459777832, -0.3073737919330597, -0.13160724937915802, 0.2718900442123413, -0.1362258791923523, -0.13028927147388458, -0.011369820684194565, -0.2846222221851349, -0.44326871633529663, -0.3807264268398285, 0.08884367346763611, 0.18906965851783752, 0.3272630572319031, 0.1292685568332672, -0.3053121268749237, -0.17329931259155273, -0.25561651587486267, 0.16908815503120422, 0.24644391238689423, 0.3004601001739502, 0.20216622948646545, 0.21562141180038452, 0.1868560016155243, 0.3287751376628876, 0.40926656126976013, 0.5194283723831177, -0.060577306896448135, -0.19991657137870789, 0.2345215082168579, -0.2878066301345825, 0.2867257595062256, 0.3400706946849823, 0.06871366500854492, 0.1754845678806305, -0.2785530388355255, 0.2765873074531555, -0.21113799512386322, 0.2363491803407669, 0.16730771958827972, -0.10591036081314087, 0.01651727966964245, -0.32936498522758484, -0.02714553475379944, 0.02457217499613762, -0.006354480981826782, 0.7222471237182617, 0.555908739566803, -0.11980783939361572, 0.07837752252817154, -0.014776058495044708, 1.0413494110107422, -0.008055999875068665, -0.024638015776872635, -0.031037822365760803, -0.3119444251060486, 0.21568270027637482, 0.11469018459320068, 0.16440442204475403, -0.44339093565940857, -0.36493200063705444, 0.14935153722763062, 0.10580816864967346, 0.1465452015399933, -0.10191456973552704, -0.13176821172237396, 0.1692565381526947, 0.06643752753734589, -0.12763585150241852, -0.23696695268154144, 0.13558326661586761, -0.24396973848342896, -0.2930924594402313, -0.47926244139671326, 0.26115480065345764, 0.11227425187826157, 0.2679136097431183, -0.09636732935905457, -0.20869778096675873, -0.012907613068819046, -0.21859346330165863, -0.11714550107717514, -0.05542987585067749, -0.3700200021266937, -0.216172456741333, 0.04883919656276703, -0.06437931954860687, 0.08931230008602142, 0.13371232151985168, 0.20791755616664886, 0.07694865763187408, -0.1906300038099289, 0.3388211131095886, -0.1391989290714264, -0.23623380064964294, -0.3215968608856201, 0.03955625742673874, -0.09245625138282776, -0.3005029559135437, -0.36258214712142944, -0.12367042154073715, 0.10354039072990417, -0.129831463098526, -0.17432846128940582, -0.02321092039346695, -0.10495276749134064, -0.15771427750587463, -0.13400380313396454, -0.16210819780826569, 0.01942439004778862, -0.34848520159721375, 0.25250598788261414, 0.06448744237422943, 0.08051253110170364, 0.050439752638339996, 0.5709628462791443, -0.09731939435005188, -0.16829660534858704, 0.45417407155036926, -0.07112892717123032, -0.10252130776643753, 0.37455424666404724, 0.06424733996391296, -0.10779199004173279, -0.24915191531181335, -0.14179827272891998, 0.26169878244400024, -0.503952145576477, -0.04537864774465561, -0.06038747355341911, -0.21636700630187988, 0.0965203270316124, 0.28231048583984375, 0.2918214499950409, 0.04023544862866402, -0.020530210807919502, -0.10353025794029236, -0.5398918390274048, 0.11886170506477356, -0.18976959586143494, 0.45484867691993713, 0.06331927329301834, -0.018272101879119873, 0.11860762536525726, 0.15529975295066833, -0.4811396896839142, 0.16375920176506042, -0.16210006177425385, 0.02566429041326046, -0.15113548934459686, -0.2419193685054779, 0.3543601930141449, -0.17486250400543213, 0.20125414431095123, 0.21127274632453918, -0.23810067772865295, -0.3088674247264862, -0.11785414814949036, 0.07270120829343796, -0.03002665564417839, -0.0960787758231163, -0.020150210708379745, 0.2094399631023407, -0.32364121079444885, -0.042757876217365265, 0.38372617959976196, -0.00104425847530365, -0.05621838569641113, 0.007310205139219761, 0.17878299951553345, -0.22368595004081726, 0.13319501280784607, -0.2241724133491516, 0.40212559700012207, 0.3040112257003784, 0.12212170660495758, -0.1232968419790268, -0.028907535597682, -0.23293891549110413, 0.078182652592659, 0.17272908985614777, 0.12297693639993668, 0.21734413504600525, 0.2167108654975891, -0.11931277811527252, 0.07350234687328339, 0.1475788652896881, 0.2707325518131256, -0.05413445085287094, -0.03759338706731796, 0.0713813528418541, 0.09898160398006439, 0.33972716331481934, -0.3848024606704712, -0.004271806683391333, 0.22506000101566315, 0.31413424015045166, 0.12586097419261932, 0.19459491968154907, 0.3099481165409088, 0.07520581781864166, -0.24867697060108185, 0.26302772760391235, 0.012230380438268185, -0.038331858813762665, 0.09996287524700165, 0.2151637077331543, -0.2521110773086548, -0.021702047437429428, 0.4190182387828827, 0.06092119961977005, 0.21105989813804626, 0.46161383390426636, -0.1445542275905609, 0.4303913712501526, -0.15682363510131836, 0.1890270859003067, 0.24300915002822876, -0.23727940022945404, 0.08141709119081497, 0.19141677021980286, 0.0449395626783371, 0.1331774890422821, 0.16149649024009705, 0.2486887276172638, -0.051500800997018814, -0.17292211949825287, -0.2900086045265198, 0.08100108802318573, -0.2623988389968872, -0.16204507648944855, -0.13825422525405884, -0.194898784160614, -0.04253411293029785, -0.05425504595041275, 0.06323125958442688, -0.03647209703922272, 0.24638736248016357, -0.18627674877643585, -0.25504428148269653, -0.39748144149780273, 0.03871235251426697, 0.2190553843975067, 0.33634331822395325, 0.011256389319896698, 0.25411075353622437, 0.19636668264865875, -0.2762673497200012, 0.16251668334007263, 0.610572874546051, 0.30077213048934937, 0.08792845159769058, 0.23690290749073029, 0.03892877325415611, 0.07958205044269562, -0.07370392978191376, -0.2444840967655182, 0.11732374876737595, 0.23487824201583862, 0.17431068420410156, 0.23054270446300507, 0.24679505825042725, -0.2966904640197754, -0.08719564974308014, -0.09483316540718079, 0.2020905464887619, 0.0594465397298336, 0.36599019169807434, -0.1019303947687149, -0.11881464719772339, -0.1619728058576584, 0.06153806671500206, -0.36452484130859375, -0.03423573076725006, 0.3912349045276642, 0.04861928150057793, 0.07555223256349564, -0.34978970885276794, 0.15501554310321808, 0.0766642689704895, 0.47648295760154724, 0.12358640134334564, -0.3387070894241333, -0.09519489109516144, -0.24702730774879456, -0.44993066787719727, 0.24854505062103271, -0.09076312184333801, 0.07423142343759537, -0.060076676309108734, 0.3291652202606201, 0.08203528076410294, -0.1444360315799713, 0.4155248999595642, 0.06994937360286713, 0.35216379165649414, 0.19862854480743408, -0.3505091071128845, 0.07770180702209473, -0.027157343924045563, -0.05806413292884827, 0.26451894640922546, -0.03289753943681717, -0.004854466766119003, -0.09385640919208527, 0.19722691178321838, -0.14665398001670837, 0.2800454795360565, -0.30878356099128723, -0.11973710358142853, 0.24305793642997742, 0.10951681435108185, 0.38403499126434326, -0.07594069838523865, -0.1156131848692894, -0.08858218789100647, -0.017179692164063454, -0.18823768198490143, 0.3401770293712616, 0.1306803971529007, 0.3304075300693512, 0.0013167541474103928, -0.246482715010643, -0.2792370319366455, 0.3183520436286926, 0.1274193525314331, -0.11927780508995056, -0.2915271520614624, 0.3696620762348175, 0.1153368428349495, -0.07395150512456894, 0.1191851943731308, 0.28088465332984924, -0.09105367958545685, -0.24883456528186798, -0.2725446820259094, -0.52921462059021, 0.44684821367263794, -0.07809391617774963, -0.08308780193328857, 0.04820151999592781, 0.11809565126895905, 0.32910263538360596, -0.1825924515724182, -0.6614401340484619, 0.21009474992752075, 0.07065396010875702, -0.09385522454977036, -0.09370346367359161, 0.22004596889019012, -0.25157150626182556, 0.053901802748441696, -0.1504804641008377, 0.3734692335128784, 0.11988165229558945, -0.15888500213623047, -0.04511502385139465, -0.1036309152841568 ]
https://github.com/huggingface/datasets/pull/1833
Add OSCAR dataset card
I just updated the size in the table @pjox it should be good now :) I also updated the sizes in the dataset_infos.json in https://github.com/huggingface/datasets/pull/1868 (merged)
I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824).
26
text: Add OSCAR dataset card I added more information and completed the dataset card for OSCAR which was started by @lhoestq in his previous [PR](https://github.com/huggingface/datasets/pull/1824). I just updated the size in the table @pjox it should be good now :) I also updated the sizes in the dataset_infos.json in https://github.com/huggingface/datasets/pull/1868 (merged)
[ -0.27559077739715576, -0.12151074409484863, -0.1634691059589386, 0.2867659032344818, 0.1048414558172226, -0.00825587660074234, -0.045996520668268204, 0.2564796805381775, 0.03649507462978363, 0.14871616661548615, -0.09981552511453629, 0.31965434551239014, 0.08328229188919067, 0.517889678478241, 0.09794873744249344, -0.1005060076713562, -0.06160110980272293, 0.2377273589372635, -0.1933673620223999, -0.028486164286732674, -0.3208640515804291, 0.11807961016893387, 0.1420312076807022, -0.24588783085346222, -0.2866171598434448, -0.044295161962509155, -0.1266915500164032, -0.00846390426158905, -0.5372437238693237, -0.2806718945503235, -0.06554976105690002, 0.1277950406074524, -0.048075634986162186, 0.09389703720808029, -0.00010190931061515585, -0.14940834045410156, 0.186509370803833, -0.11533146351575851, -0.08773982524871826, -0.07191170752048492, -0.047359246760606766, -0.26166006922721863, 0.061148084700107574, 0.1704547107219696, -0.2720223665237427, -0.4177861213684082, -0.0032997634261846542, 0.02200435847043991, 0.014498494565486908, 0.14996397495269775, 0.3370121717453003, 0.15994605422019958, 0.25837427377700806, -0.35182371735572815, 0.10360803455114365, 0.21212781965732574, -0.15845464169979095, -0.05312611535191536, 0.20436391234397888, 0.04557836055755615, 0.10605521500110626, 0.3945715129375458, 0.4531485140323639, -0.06226855888962746, 0.4172435402870178, -0.09949718415737152, -0.20051458477973938, 0.0695192888379097, 0.30769965052604675, 0.0966816321015358, 0.36204996705055237, -0.0887371227145195, -0.2554422616958618, -0.2598589062690735, 0.27663454413414, -0.5045579671859741, 0.18162381649017334, 0.08691927790641785, 0.16412672400474548, -0.03504953160881996, -0.16484977304935455, -0.13178499042987823, -0.2337767779827118, 0.19145706295967102, 0.10185128450393677, 0.07205270230770111, -0.1625978797674179, -0.16986730694770813, 0.17503558099269867, -0.18159742653369904, -0.14120595157146454, 0.14926540851593018, -0.25551411509513855, 0.06172379478812218, -0.13996976613998413, -0.10635334253311157, 0.1617918312549591, 0.33203041553497314, 0.2514660060405731, 0.052785687148571014, 0.26069438457489014, -0.005625680088996887, -0.006256368476897478, -0.12733250856399536, 0.16754032671451569, 0.14027787744998932, 0.01281871646642685, -0.0017152009531855583, 0.010276447981595993, 0.24307268857955933, 0.14353322982788086, -0.12892279028892517, -0.06735983490943909, 0.009257710538804531, -0.3671358525753021, -0.2573901414871216, 0.15907160937786102, -0.19542023539543152, 0.11319097131490707, 0.13023890554904938, 0.22336256504058838, 0.000874444842338562, 0.03599940240383148, 0.5142658352851868, -0.29650551080703735, -0.014218464493751526, 0.023594900965690613, 0.1395917534828186, 0.16855141520500183, 0.010945291258394718, -0.3559623658657074, 0.05708744376897812, -0.12064766883850098, 0.08466935157775879, 0.26607754826545715, -0.15777108073234558, 0.40598297119140625, -0.047764718532562256, 0.27089881896972656, 0.1917719542980194, -0.02301914431154728, 0.035118468105793, 0.21896398067474365, 0.23094302415847778, 0.2559044361114502, -0.12905438244342804, -0.08690786361694336, 0.024342060089111328, -0.03822765126824379, 0.0005049630999565125, -0.008287385106086731, -0.19604440033435822, -0.3755628168582916, 0.29986974596977234, -0.03654875606298447, -0.13783222436904907, -0.27994808554649353, 0.26824691891670227, -0.034537993371486664, -0.07391369342803955, -0.006850786507129669, 0.029899705201387405, -0.12859906256198883, -0.025404641404747963, 0.03197440505027771, 0.17823117971420288, -0.3330913186073303, -0.11260832846164703, 0.1301601082086563, 0.0217570997774601, -0.003543481230735779, 0.20818962156772614, -0.06519050896167755, -0.0788884088397026, -0.09477891772985458, 0.008462585508823395, 0.06085013225674629, -0.027930283918976784, -0.5390915870666504, 0.06786350160837173, -0.03408730402588844, -0.17494362592697144, 0.09144383668899536, 0.015171682462096214, 0.4030233323574066, 0.07309088855981827, 0.29655033349990845, -0.011391695588827133, -0.1522437185049057, 0.07592464238405228, -0.27379074692726135, -0.2739578187465668, -0.2264508455991745, 0.1351754367351532, 0.13655853271484375, 0.019976653158664703, -0.022642038762569427, 0.06362307816743851, 0.1669614315032959, -0.07282733917236328, 0.1748819798231125, 0.2138538509607315, 0.31038737297058105, 0.18146082758903503, -0.00402171490713954, -0.051771458238363266, -0.07544370740652084, 0.02217388153076172, -0.06158147752285004, 0.23703710734844208, 0.17478695511817932, -0.37968921661376953, -0.3452998399734497, -0.3009275197982788, -0.1977047175168991, -0.022010009735822678, 0.27232635021209717, -0.03394390642642975, 0.2220560610294342, -0.12104775011539459, -0.15889987349510193, 0.12500527501106262, -0.09729770570993423, 0.02670917846262455, -0.3832888603210449, 0.004675902426242828, -0.20325477421283722, -0.13634797930717468, 0.281484454870224, 0.08325573801994324, 0.05506240576505661, -0.043029654771089554, -0.02530408278107643, 0.16777381300926208, -0.27174922823905945, -0.008447788655757904, 0.13398998975753784, 0.18980029225349426, 0.27547794580459595, 0.059406828135252, 0.13733221590518951, -0.23232637345790863, -0.0050156801007688046, -0.004553195089101791, -0.2680300772190094, 0.2727396488189697, -0.03436104580760002, -0.13824021816253662, 0.08956681191921234, -0.08503063768148422, 0.30448126792907715, 0.15974082052707672, 0.03843163698911667, -0.3321370482444763, -0.03559047356247902, 0.1043839305639267, 0.12622040510177612, -0.10595114529132843, -0.34881457686424255, 0.273276150226593, 0.28494682908058167, 0.16202418506145477, 0.02572871744632721, 0.2425975203514099, -0.1543617844581604, -0.020737743005156517, 0.15046709775924683, 0.3003549575805664, 0.3814117908477783, 0.49964505434036255, 0.1017286628484726, 0.14615486562252045, -0.025510534644126892, -0.17429016530513763, 0.16971874237060547, -0.11306142807006836, 0.0461249016225338, 0.16118311882019043, 0.1890459954738617, -0.31204599142074585, -0.46991583704948425, 0.10140776634216309, 0.03316229581832886, 0.4369041323661804, -0.11654782295227051, -0.30750805139541626, -0.24900992214679718, -0.2662648558616638, 0.09212406724691391, -0.24175702035427094, -0.09042298793792725, -0.1551474779844284, 0.3856574296951294, 0.23399189114570618, -0.14358705282211304, 0.14464092254638672, -0.20131129026412964, 0.20284229516983032, -0.17143848538398743, 0.22035455703735352, -0.1323225349187851, 0.02364226244390011, -0.008090496063232422, 0.2974003255367279, -0.04297550022602081, -0.11935402452945709, 0.4869909882545471, -0.16007843613624573, 0.17967559397220612, -0.14156492054462433, -0.51727294921875, 0.19021070003509521, -0.23054997622966766, -0.1730320006608963, 0.2738518714904785, 0.21885713934898376, -0.05117185413837433, 0.04896143823862076, 0.2239798605442047, -0.2354382574558258, -0.3104243874549866, -0.22069679200649261, -0.3366299867630005, -0.014381819404661655, -0.23214374482631683, -0.38308507204055786, -0.12755288183689117, -0.2815534472465515, 0.5535972714424133, 0.27088844776153564, 0.1321924924850464, 0.10382968932390213, 0.31400826573371887, 0.05678359046578407, -0.34968528151512146, -0.03573322296142578, -0.4036612808704376, -0.3708878457546234, 0.284445583820343, -0.4774160385131836, -0.45318126678466797, 0.13903777301311493, 0.14685383439064026, 0.3008054196834564, -0.3408450484275818, -0.26175636053085327, -0.449781596660614, -0.21882234513759613, -0.08248472213745117, 0.0051817819476127625, 0.0565069317817688, 0.36089879274368286, -0.15116116404533386, -0.25647857785224915, -0.13026151061058044, -0.3141995966434479, 0.12063201516866684, 0.036662351340055466, 0.23164305090904236, -0.3124167323112488, 0.34148356318473816, -0.10369673371315002, 0.320581316947937, 0.08271412551403046, -0.0872933566570282, 0.40586140751838684, -0.22718742489814758, 0.3588505685329437, -0.19573503732681274, -0.17763055860996246, 0.18971416354179382, 0.1077958345413208, 0.2690781354904175, 0.2578340470790863, 0.13884922862052917, 0.04794860631227493, 0.09136345982551575, -0.08507077395915985, -0.2952785789966583, -0.0702437311410904, 0.15945646166801453, 0.15131087601184845, -0.16133129596710205, 0.07903409004211426, -0.0707189068198204, -0.36779046058654785, -0.17350366711616516, -0.16924983263015747, 0.0412931963801384, -0.028909511864185333, -0.0375838540494442, -0.25101956725120544, -0.02594749443233013, -0.5442234873771667, 0.2946329414844513, -0.07596663385629654, -0.016269218176603317, -0.18778105080127716, -0.07390943169593811, -0.08890101313591003, 0.10380054265260696, 0.4163481593132019, -0.06688668578863144, -0.3420834541320801, -0.04807206988334656, -0.22646832466125488, -0.19065190851688385, 0.12932775914669037, -0.1192537248134613, -0.0582888126373291, 0.3003019094467163, 0.3745434284210205, -0.22595831751823425, -0.06021825969219208, 0.3609584867954254, -0.11671698093414307, -0.0657925009727478, -0.08147518336772919, -0.2783001661300659, -0.3249645531177521, -0.4314201772212982, 0.16526399552822113, 0.14841225743293762, 0.3051481544971466, 0.06652924418449402, -0.32254940271377563, -0.064364954829216, -0.1624239683151245, 0.1387605369091034, 0.30265024304389954, 0.35825905203819275, 0.3000561594963074, 0.1684311181306839, 0.06475899368524551, 0.38272038102149963, 0.39603856205940247, 0.5959726572036743, -0.0810655802488327, -0.09479275345802307, 0.2315584123134613, -0.2729390263557434, 0.3351224958896637, 0.24624066054821014, 0.10253342986106873, 0.12184375524520874, -0.14277532696723938, 0.2242884784936905, -0.12820416688919067, 0.21600455045700073, -0.011682115495204926, -0.18015900254249573, -0.024035872891545296, -0.3241656720638275, 0.27828946709632874, 0.04512834921479225, 0.11306530237197876, 0.43856167793273926, 0.5390694737434387, -0.09858900308609009, 0.013749878853559494, 0.0024038106203079224, 0.8735898733139038, -0.006806865334510803, 0.00964859127998352, -0.004481405019760132, -0.2926567792892456, 0.2944815158843994, -0.11174118518829346, 0.015240492299199104, -0.3553033471107483, -0.3916959762573242, 0.13527332246303558, 0.18904058635234833, 0.08606846630573273, 0.060633037239313126, -0.10920543968677521, 0.19803570210933685, 0.2960757613182068, -0.06303763389587402, -0.20753170549869537, 0.19978418946266174, -0.20956218242645264, -0.3699500560760498, -0.596105694770813, 0.2845166325569153, 0.027031829580664635, 0.10026903450489044, -0.057210423052310944, -0.08082776516675949, -0.1101040244102478, -0.2635515332221985, -0.06247923523187637, -0.09416146576404572, -0.4079713523387909, -0.2645105719566345, -0.02349340170621872, -0.11705078929662704, 0.0012785717844963074, 0.05263618007302284, 0.18433566391468048, 0.06905506551265717, -0.23972052335739136, 0.2932890057563782, -0.34179767966270447, -0.2414211481809616, -0.2786586880683899, 0.11881233751773834, -0.15609200298786163, -0.3173774778842926, -0.2742971181869507, 0.01725095883011818, 0.22834502160549164, -0.10708487033843994, -0.13532200455665588, -0.012334384024143219, -0.0935138463973999, -0.24609549343585968, -0.29401615262031555, -0.2304980456829071, -0.0017091110348701477, -0.295912504196167, 0.2677305340766907, 0.09374065697193146, 0.054253093898296356, -0.005048967897891998, 0.5055534839630127, -0.13837669789791107, -0.3006715476512909, 0.514934241771698, -0.06731164455413818, -0.1851971596479416, 0.2387821078300476, 0.24509944021701813, -0.03105488047003746, -0.25239673256874084, -0.05188801512122154, 0.41298148036003113, -0.4942665696144104, -0.20760740339756012, 0.029337264597415924, -0.2502627968788147, 0.06809569895267487, 0.24026523530483246, 0.3255762457847595, 0.015192508697509766, 0.095075324177742, 0.022452816367149353, -0.5486918091773987, 0.3630014657974243, 0.03145970404148102, 0.42277252674102783, 0.08625490218400955, 0.13364450633525848, 0.05560801178216934, 0.2108897566795349, -0.4608917236328125, 0.01946750469505787, 0.017527742311358452, -0.059702858328819275, 0.05920960009098053, 0.010188307613134384, 0.28107574582099915, -0.10769428312778473, 0.18982595205307007, 0.1468808650970459, -0.11157769709825516, -0.32354435324668884, -0.04605962336063385, 0.04315692186355591, 0.06211993470788002, 0.07181942462921143, -0.15491192042827606, 0.11957518756389618, -0.3727722465991974, -0.06419471651315689, 0.27698850631713867, -0.11108990013599396, 0.030812591314315796, 0.12207022309303284, 0.15377379953861237, -0.2146768569946289, 0.31022387742996216, -0.23434898257255554, 0.37045514583587646, 0.3249571919441223, 0.0007131141610443592, 0.0546269416809082, -0.004956848919391632, -0.1885491907596588, 0.13242651522159576, 0.1704334020614624, 0.007247112691402435, 0.09890443831682205, 0.22250241041183472, -0.023507066071033478, 0.0796748548746109, 0.2877659201622009, 0.22241264581680298, -0.07904762029647827, 0.16212810575962067, 0.047444164752960205, 0.01860036328434944, 0.36858949065208435, -0.394489586353302, -0.06535061448812485, 0.1680263876914978, 0.18369467556476593, 0.19867193698883057, 0.19620974361896515, 0.13532646000385284, 0.11937882006168365, -0.256999671459198, 0.32444021105766296, 0.10828552395105362, -0.08073236048221588, 0.007731451652944088, 0.07900534570217133, -0.16641829907894135, -0.042337339371442795, 0.33675792813301086, 0.22189481556415558, 0.21547472476959229, 0.409163236618042, -0.0932270959019661, 0.38878321647644043, -0.11748411506414413, 0.12180635333061218, 0.27698901295661926, -0.1572401374578476, 0.033132076263427734, 0.19326165318489075, -0.018541671335697174, 0.16894683241844177, 0.2595391273498535, 0.274183452129364, -0.026178669184446335, -0.10940822213888168, -0.3346652388572693, 0.0991140604019165, -0.14013728499412537, -0.11252805590629578, -0.25344860553741455, -0.2597067356109619, -0.06265804916620255, -0.09043838083744049, 0.00253203883767128, 0.02722512185573578, 0.28560924530029297, -0.25316423177719116, -0.16328777372837067, -0.397609680891037, 0.021114613860845566, 0.29148566722869873, 0.10595125705003738, 0.002647053450345993, 0.23483805358409882, 0.3121597170829773, -0.25625506043434143, 0.2057129144668579, 0.484132319688797, 0.3488833010196686, -0.08373802155256271, 0.314653605222702, 0.24018962681293488, -0.05237249657511711, -0.20145438611507416, -0.2824159264564514, 0.07796037942171097, 0.3030126094818115, 0.0039563048630952835, 0.10076114535331726, 0.3250245153903961, -0.3164098262786865, -0.005662843585014343, -0.1494908183813095, 0.2877761423587799, 0.11014622449874878, 0.2579828202724457, -0.11715482175350189, -0.2911633253097534, -0.04448689520359039, 0.02559088170528412, -0.5490735173225403, 0.07365650683641434, 0.19365239143371582, 0.03683515638113022, -0.02238340675830841, -0.3280828297138214, 0.136726513504982, 0.05492609366774559, 0.47004052996635437, 0.1305905431509018, -0.29169681668281555, -0.14707641303539276, -0.27359527349472046, -0.4145841896533966, 0.23947489261627197, -0.15421679615974426, -0.020606618374586105, -0.12459848821163177, 0.3321838974952698, 0.14126229286193848, -0.18806691467761993, 0.3845839500427246, 0.020336002111434937, 0.14044895768165588, 0.11107265204191208, -0.284938782453537, 0.06289710104465485, -0.011367268860340118, 0.1433420032262802, 0.2139040231704712, 0.175340473651886, -0.04884204640984535, -0.07914077490568161, 0.1846572458744049, -0.39437776803970337, 0.25082772970199585, -0.3529561161994934, -0.31122887134552, 0.0986708328127861, 0.11319141834974289, 0.31469443440437317, -0.2744606137275696, -0.025437574833631516, -0.12819087505340576, -0.12044838070869446, -0.21766509115695953, 0.38886579871177673, 0.18993403017520905, 0.4058172106742859, 0.18043558299541473, -0.27483871579170227, -0.08061996102333069, 0.18695515394210815, -0.012430127710103989, -0.12676304578781128, -0.17340148985385895, 0.4265769422054291, 0.1826474368572235, -0.13750983774662018, 0.014658697880804539, 0.25587666034698486, -0.08696579933166504, -0.049200549721717834, -0.16604186594486237, -0.49031099677085876, 0.3801257610321045, -0.09038415551185608, -0.07934696972370148, -0.014542405493557453, 0.1564873456954956, 0.3105783760547638, -0.22166696190834045, -0.630763828754425, 0.2889401316642761, 0.04388943314552307, -0.048369795083999634, -0.012081528082489967, 0.34882012009620667, -0.2387809157371521, 0.15111269056797028, -0.18603019416332245, 0.3770350515842438, 0.12209378927946091, -0.25587978959083557, -0.06659462302923203, -0.07455082982778549 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
Hi @gchhablani! Thanks for all the contributions! We definitely want more image datasets, but Face datasets are tricky in general, in this one includes predicting attributes such as Attractiveness, Gender, or Race, which can be pretty problematic. Would you be up for starting with only object classification or object detection datasets instead? (Your CIFAR-100 contribution will be super useful for example!)
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
61
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). Hi @gchhablani! Thanks for all the contributions! We definitely want more image datasets, but Face datasets are tricky in general, in this one includes predicting attributes such as Attractiveness, Gender, or Race, which can be pretty problematic. Would you be up for starting with only object classification or object detection datasets instead? (Your CIFAR-100 contribution will be super useful for example!)
[ -0.040165338665246964, 0.07214680314064026, -0.19343210756778717, 0.06894665211439133, 0.10811474174261093, 0.19624528288841248, 0.5260409712791443, 0.18685084581375122, 0.22238148748874664, 0.09012553840875626, 0.2884117364883423, -0.09812543541193008, -0.15251430869102478, 0.46836408972740173, 0.13948605954647064, -0.21669381856918335, 0.05643915385007858, 0.20223194360733032, 0.1244681179523468, -0.03062284179031849, -0.04105297103524208, 0.0035738516598939896, -0.039996419101953506, -0.17259739339351654, -0.4990859627723694, -0.06228022277355194, -0.18500888347625732, 0.0022890083491802216, -0.38406816124916077, -0.32865193486213684, -0.015680190175771713, 0.10062514245510101, 0.04469892010092735, 0.40465888381004333, -0.0001193431016872637, -0.18116351962089539, 0.35920339822769165, -0.13543306291103363, -0.5334905982017517, -0.24286486208438873, 0.024813100695610046, -0.25693410634994507, 0.1335601806640625, -0.018906034529209137, -0.10841550678014755, -0.1748049557209015, 0.139832004904747, -0.2653128504753113, 0.3535529375076294, 0.30307501554489136, 0.13746176660060883, 0.009218044579029083, -0.18253624439239502, -0.31751489639282227, 0.4670204818248749, 0.3618456721305847, -0.14031077921390533, 0.04523672163486481, 0.37005093693733215, -0.3016642928123474, 0.14415718615055084, 0.24623793363571167, 0.2508777379989624, -0.10487943887710571, 0.17873817682266235, 0.07383980602025986, -0.41186103224754333, -0.49788710474967957, 0.13030347228050232, 0.41914060711860657, 0.8831959962844849, 0.213824063539505, -0.41469109058380127, -0.1637813150882721, 0.09447804093360901, -0.13174369931221008, 0.20172011852264404, 0.27459245920181274, -0.1784297525882721, -0.1719171702861786, -0.5051938891410828, -0.07320664077997208, -0.07436786592006683, 0.2746848464012146, 0.2038881480693817, -0.34136494994163513, 0.034423649311065674, 0.11874005198478699, 0.20930859446525574, -0.14799700677394867, 0.18837490677833557, -0.3568410277366638, -0.15598109364509583, 0.0557524673640728, 0.06703982502222061, -0.09185220301151276, -0.08050509542226791, 0.10769779980182648, 0.35079002380371094, 0.14736142754554749, 0.23828159272670746, 0.013747865334153175, -0.21281811594963074, 0.06929898262023926, 0.1392405778169632, 0.1435069888830185, 0.13501793146133423, 0.005208170041441917, -0.01722235232591629, 0.21831579506397247, 0.18724876642227173, -0.12029355019330978, -0.09286366403102875, -0.25468283891677856, -0.06841860711574554, 0.07031098008155823, 0.019944924861192703, -0.1791744828224182, -0.11013559997081757, 0.21222950518131256, 0.03291615843772888, -0.19028036296367645, 0.14812909066677094, 0.4602147042751312, -0.2794739603996277, -0.13058456778526306, 0.30284208059310913, 0.32166361808776855, 0.055043548345565796, -0.32481369376182556, -0.13207940757274628, 0.30524322390556335, -0.4010525643825531, 0.09746880829334259, 0.41061756014823914, 0.16050438582897186, 0.3416042625904083, -0.11359483003616333, 0.29062381386756897, 0.17002049088478088, 0.3128535747528076, -0.12447094917297363, 0.22661224007606506, 0.08757011592388153, -0.07151558250188828, 0.027576511725783348, -0.03293721005320549, -0.1360170543193817, 0.01028955727815628, 0.1855338215827942, 0.015139687806367874, -0.17015555500984192, -0.06990201026201248, 0.09835831820964813, -0.1715017408132553, -0.049779631197452545, -0.5787085890769958, 0.37258434295654297, -0.21071839332580566, -0.1366981565952301, 0.03199487924575806, 0.05858355015516281, 0.0680522471666336, 0.04805970937013626, 0.34234142303466797, 0.552200198173523, -0.5449241995811462, 0.11364381015300751, 0.01320463977754116, 0.1386266052722931, -0.1643572747707367, -0.11022160947322845, -0.32156795263290405, 0.24959000945091248, -0.1432177871465683, -0.24051275849342346, 0.1840684413909912, -0.2309836447238922, -0.1820344626903534, 0.06840646266937256, 0.22412358224391937, 0.003406669944524765, 0.031038381159305573, 0.10441209375858307, -0.13993576169013977, 0.12469033151865005, -0.15299925208091736, 0.2783055305480957, -0.18225392699241638, -0.0690004825592041, -0.054158445447683334, -0.3216622769832611, 0.19163505733013153, 0.3582945764064789, -0.06233803555369377, -0.07362136989831924, -0.18339842557907104, -0.23909606039524078, 0.06732962280511856, -0.29194703698158264, -0.0597013458609581, 0.021362513303756714, 0.33154812455177307, -0.24007607996463776, -0.02265753410756588, 0.1313999891281128, -0.43416422605514526, 0.33427298069000244, 0.1456812471151352, 0.3353709280490875, -0.0026433244347572327, -0.02738179638981819, -0.24859824776649475, -0.14155445992946625, -0.16049781441688538, -0.19232484698295593, -0.013776514679193497, -0.0741378515958786, 0.024123873561620712, -0.1942165046930313, -0.17287522554397583, 0.2744082510471344, 0.013375381007790565, 0.13427338004112244, -0.5700387954711914, 0.26301488280296326, -0.09714793413877487, -0.05446081608533859, -0.11597247421741486, -0.14611467719078064, -0.0064631253480911255, -0.4472076892852783, -0.1434001326560974, 0.2605935335159302, 0.26469743251800537, -0.03168320655822754, 0.3622659742832184, -0.06822042167186737, 0.11711667478084564, -0.34199050068855286, -0.0175298061221838, 0.14303873479366302, 0.14389128983020782, -0.019425876438617706, -0.5737484693527222, 0.2272183895111084, 0.19957293570041656, 0.10697795450687408, 0.0410851314663887, -0.10887559503316879, 0.19134218990802765, -0.08007359504699707, -0.15949766337871552, 0.11417113244533539, 0.27566981315612793, 0.3934002220630646, 0.1665443331003189, -0.24673433601856232, -0.11310477554798126, 0.020032063126564026, 0.03092775121331215, -0.25462034344673157, -0.08170191198587418, 0.32280734181404114, 0.10827218741178513, -0.17613860964775085, 0.06498932838439941, -0.01979932188987732, 0.27587953209877014, 0.13087397813796997, -0.1366194635629654, -0.17099395394325256, 0.23754845559597015, -0.01657385751605034, 0.151585191488266, -0.067811980843544, 0.12314025312662125, -0.0914674624800682, 0.17828087508678436, -0.29018357396125793, -0.16183574497699738, -0.47356051206588745, 0.18941152095794678, 0.34188175201416016, -0.22735770046710968, -0.02530924417078495, 0.17238987982273102, 0.26637065410614014, 0.28201913833618164, 0.272738516330719, -0.12758220732212067, 0.03424263000488281, 0.25695377588272095, 0.15176130831241608, 0.02233649417757988, -0.005392998456954956, -0.0990334302186966, 0.6796296238899231, -0.01870947703719139, -0.04472869634628296, -0.28556984663009644, -0.09255361557006836, -0.20944228768348694, 0.09424307942390442, 0.24445708096027374, 0.07103710621595383, 0.18550948798656464, -0.34085792303085327, 0.021258488297462463, -0.10757394880056381, -0.44586241245269775, 0.17395652830600739, 0.09546186029911041, 0.6237283945083618, 0.08769703656435013, 0.36761474609375, -0.01345222257077694, 0.011129419319331646, 0.09379028528928757, -0.03445585072040558, -0.3738930821418762, -0.03894926235079765, -0.11500497907400131, -0.06159086152911186, 0.11009137332439423, -0.404380738735199, -0.2076878696680069, -0.07779279351234436, 0.28879284858703613, 0.15228284895420074, 0.0900798961520195, 0.27836185693740845, 0.6112450361251831, -0.03407793119549751, -0.02085678093135357, -0.04788847267627716, -0.11952487379312515, -0.7797945737838745, 0.30394235253334045, -0.18732237815856934, -0.44453397393226624, -0.11740770936012268, -0.40863150358200073, 0.09173795580863953, -0.0848071277141571, -0.4452971816062927, -0.39905688166618347, -0.13324986398220062, 0.1020667552947998, 0.01730230450630188, -0.2563287913799286, 0.28879404067993164, -0.1078285276889801, -0.09911476820707321, -0.10619154572486877, -0.3350164592266083, 0.21275535225868225, 0.21249935030937195, 0.4824627935886383, -0.31550538539886475, 0.09001775085926056, -0.26331689953804016, 0.4850395917892456, 0.03512966260313988, -0.1543213278055191, 0.30074071884155273, -0.0032261256128549576, 0.25480711460113525, -0.324687123298645, -0.4488416910171509, -0.12518690526485443, -0.13362690806388855, -0.13532550632953644, 0.03792354464530945, -0.01968315616250038, -0.23935915529727936, -0.29799333214759827, 0.2339712679386139, -0.40918853878974915, 0.001022525131702423, 0.33768948912620544, -0.1842239946126938, -0.1005488708615303, -0.10286013782024384, 0.007967106997966766, -0.3009388744831085, -0.05997545272111893, -0.16183333098888397, 0.15529637038707733, 0.36130475997924805, -0.3050510585308075, -0.7347807288169861, -0.1318715512752533, -0.019339092075824738, 0.25006335973739624, -0.1191791370511055, 0.031738780438899994, -0.22539672255516052, 0.13860255479812622, 0.03672322258353233, -0.17271463572978973, 0.6649186611175537, -0.4392663538455963, -0.2522351145744324, 0.014248277992010117, 0.182730570435524, -0.26781460642814636, 0.003494512289762497, -0.13243545591831207, 0.023296872153878212, 0.08267277479171753, 0.4546595513820648, -0.17520694434642792, -0.12361080199480057, 0.2848696708679199, 0.26426681876182556, -0.055115748196840286, -0.07559730112552643, -0.09575354307889938, -0.16371777653694153, -0.2270764410495758, 0.08818947523832321, -0.09521738439798355, 0.12864172458648682, -0.10280344635248184, -0.24845923483371735, 0.14731328189373016, -0.0016236212104558945, 0.29721230268478394, 0.1787419617176056, 0.034486256539821625, 0.2946150600910187, 0.40365082025527954, 0.07934176921844482, 0.11587466299533844, 0.3016546666622162, 0.5864232182502747, -0.2111450731754303, -0.2916715443134308, 0.20718729496002197, 0.055789630860090256, 0.24413704872131348, 0.4690970778465271, 0.0875672847032547, -0.18408161401748657, 0.14862969517707825, 0.17601221799850464, -0.11122340708971024, 0.5006084442138672, 0.3501379191875458, -0.11477764695882797, -0.15520644187927246, -0.4818257987499237, 0.36924275755882263, -0.05529176443815231, -0.09308978170156479, 0.3087066411972046, -0.16533605754375458, 0.0025195488706231117, 0.42020320892333984, 0.04320160672068596, 1.089310884475708, -0.10116727650165558, 0.1332244724035263, -0.052514687180519104, 0.018750913441181183, 0.07807142287492752, -0.20539596676826477, -0.02879587933421135, -0.2652573585510254, -0.3336173892021179, -0.00941542163491249, -0.25259748101234436, 0.22790822386741638, 0.44454699754714966, -0.0684303268790245, -0.002362010767683387, -0.3613731265068054, 0.04812463000416756, -0.18227770924568176, 0.6121413707733154, -0.2093956470489502, -0.13591580092906952, -0.002791276201605797, 0.1693548709154129, 0.17801924049854279, 0.0759299099445343, -0.018774526193737984, -0.11638391017913818, -0.5997021198272705, -0.27929726243019104, -0.16568303108215332, 0.007947288453578949, -0.2621070146560669, -0.08468189090490341, 0.14931535720825195, -0.6363282799720764, 0.16288083791732788, 0.1882617026567459, 0.35413628816604614, 0.03819722682237625, -0.269877552986145, 0.4820730984210968, -0.2632228136062622, -0.2883054316043854, -0.1997569054365158, -0.27860578894615173, 0.10477128624916077, -0.09896665066480637, -0.527847945690155, 0.0018580704927444458, -0.18495173752307892, -0.10609088838100433, 0.14932355284690857, -0.07788583636283875, 0.09170970320701599, -0.4375576674938202, -0.2305808961391449, 0.13420206308364868, -0.028723515570163727, -0.16323354840278625, 0.09497450292110443, 0.4087086319923401, -0.14895853400230408, 0.014162596315145493, 0.41378581523895264, -0.04658738896250725, -0.05483274534344673, 0.049546681344509125, -0.10609272867441177, 0.07223566621541977, 0.6644259691238403, 0.19691765308380127, 0.09777897596359253, -0.22470363974571228, 0.24128201603889465, 0.9884703755378723, -0.5573478937149048, 0.06725724786520004, 0.05081978440284729, -0.21608102321624756, -0.13663449883460999, 0.45942792296409607, 0.17879749834537506, -0.055951811373233795, 0.2836781144142151, -0.146147221326828, -0.44173216819763184, 0.28993988037109375, -0.03230499103665352, 0.4751128852367401, -0.2534438669681549, -0.18467888236045837, 0.10849462449550629, 0.23574316501617432, -0.2628655731678009, 0.30033078789711, -0.1536436378955841, 0.25509828329086304, 0.35232365131378174, -0.20082148909568787, 0.22559979557991028, -0.22552131116390228, 0.07299260795116425, -0.13594259321689606, -0.3224838376045227, -0.2206486463546753, 0.01899384707212448, 0.15447279810905457, 0.1556849181652069, -0.3037134110927582, -0.11263829469680786, -0.0479731410741806, -0.07678920030593872, -0.18244534730911255, -0.03365368768572807, -0.34511348605155945, -0.0031815990805625916, -0.008836249820888042, -0.39454662799835205, -0.10653645545244217, 0.05873970687389374, -0.067033551633358, -0.07298177480697632, 0.4117580056190491, 0.34032154083251953, 0.035501763224601746, 0.1897396743297577, -0.058572567999362946, -0.11963464319705963, 0.31626129150390625, -0.08291494846343994, 0.1845841407775879, 0.1326322853565216, -0.208976611495018, 0.34527429938316345, 0.012272162362933159, 0.13662022352218628, 0.2001272439956665, -0.23157760500907898, 0.3404693603515625, 0.40039533376693726, 0.18984785676002502, -0.29426702857017517, -0.10975378006696701, 0.04128468781709671, 0.014527865685522556, 0.29388076066970825, 0.1904076337814331, 0.17324361205101013, 0.30681997537612915, 0.042030200362205505, -0.06487032771110535, 0.18819782137870789, 0.29183584451675415, 0.19687387347221375, 0.08226297050714493, -0.40286269783973694, 0.017789974808692932, 0.04174260422587395, 0.23234198987483978, -0.03547821193933487, 0.005965881049633026, -0.13648748397827148, 0.4432075321674347, -0.09789257496595383, 0.33268260955810547, 0.16566535830497742, -0.48524633049964905, 0.5337968468666077, 0.01945546269416809, 0.0811421200633049, 0.022192370146512985, 0.07765748351812363, 0.48024117946624756, -0.2269289791584015, -0.08451469242572784, -0.37334534525871277, -0.1345006823539734, 0.28423362970352173, -0.09253479540348053, -0.10500085353851318, -0.2399066984653473, -0.10021307319402695, 0.002528991550207138, 0.064381442964077, -0.3305246829986572, 0.19341248273849487, -0.14117127656936646, -0.14444565773010254, 0.07761257886886597, 0.003534795716404915, 0.2162659466266632, 0.18510505557060242, 0.022011246532201767, 0.2818656861782074, 0.1308821737766266, -0.172142893075943, 0.22847017645835876, 0.4921911060810089, 0.2814125120639801, 0.07809842377901077, -0.06174258515238762, 0.18896733224391937, 0.024099107831716537, -0.11540431529283524, 0.1924445927143097, 0.28558021783828735, 0.31455469131469727, -0.14847978949546814, 0.15612131357192993, 0.11280730366706848, -0.09913773834705353, 0.043116651475429535, 0.17987821996212006, -0.0819610059261322, -0.34634631872177124, -0.15413758158683777, -0.05209168791770935, -0.004067316651344299, -0.3346526622772217, -0.1202288493514061, -0.26897913217544556, -0.23560617864131927, 0.26873716711997986, -0.15967623889446259, -0.04897148534655571, -0.011244727298617363, 0.05836457014083862, -0.3957849144935608, 0.4799562096595764, 0.050079263746738434, 0.5701916813850403, -0.2763941287994385, -0.0804332047700882, -0.2074848860502243, -0.019885458052158356, -0.4984872341156006, 0.11735141277313232, 0.03395213931798935, 0.1819092333316803, 0.4252108037471771, 0.03778911009430885, 0.20454493165016174, -0.02324480190873146, 0.13045215606689453, 0.40112730860710144, -0.3231927156448364, 0.03652254119515419, 0.22193028032779694, 0.5343988537788391, -0.05489901825785637, -0.17897093296051025, 0.05030130222439766, 0.12604418396949768, -0.032650433480739594, -0.01653427630662918, -0.2069491147994995, -0.13871753215789795, -0.13295158743858337, 0.5641551613807678, -0.05339638888835907, 0.6028954982757568, -0.021797526627779007, -0.20924216508865356, -0.07514640688896179, -0.18309137225151062, 0.31676366925239563, 0.4507000744342804, 0.5978003144264221, 0.362164169549942, 0.15116624534130096, 0.2165462225675583, -0.04803584888577461, 0.21395857632160187, -0.09122014790773392, -0.39782214164733887, -0.3543534576892853, -0.023006295785307884, -0.0042559243738651276, 0.13580092787742615, 0.04489433020353317, 0.0002932548522949219, -0.20670750737190247, -0.30627626180648804, -0.13463279604911804, -0.09818712621927261, 0.5494095683097839, -0.082384392619133, -0.17400698363780975, -0.015266931615769863, 0.032783277332782745, 0.10368314385414124, 0.12830208241939545, -0.5351009964942932, -0.002054542303085327, 0.12394603341817856, -0.1300755739212036, -0.0661201924085617, 0.3445378839969635, 0.2974635064601898, 0.03745416924357414, -0.019913190975785255, 0.534304141998291, -0.06413179636001587, 0.00010505877435207367, -0.20939278602600098, -0.28738248348236084 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
Hi @yjernite, You're welcome. I am enjoying adding new datasets :) By "pretty problematic", are you referring to the ethical issues? I used TFDS's [CelebA](https://github.com/tensorflow/datasets/blob/5ef7861470896acb6f74dacba85036001e4f1b8c/tensorflow_datasets/image/celeba.py#L91) as a reference. Here they mention in a "Note" that CelebA "may contain potential bias". Can we not do the same? I skipped the note for now, and we can add it. However, if you feel this isn't the right time, then I won't pursue this further. But, can this issue be handled at a later stage? Does this also apply for my Hateful Memes Issue #1810? Also, how can I 1. load a part of the dataset? since `load_dataset(<>,split='train[10:20]')` still loads all the examples. 2. make `datasets_infos.json` for huge datasets which have a single configuration? I will ofcourse be looking for other datasets to add regardless.
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
132
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). Hi @yjernite, You're welcome. I am enjoying adding new datasets :) By "pretty problematic", are you referring to the ethical issues? I used TFDS's [CelebA](https://github.com/tensorflow/datasets/blob/5ef7861470896acb6f74dacba85036001e4f1b8c/tensorflow_datasets/image/celeba.py#L91) as a reference. Here they mention in a "Note" that CelebA "may contain potential bias". Can we not do the same? I skipped the note for now, and we can add it. However, if you feel this isn't the right time, then I won't pursue this further. But, can this issue be handled at a later stage? Does this also apply for my Hateful Memes Issue #1810? Also, how can I 1. load a part of the dataset? since `load_dataset(<>,split='train[10:20]')` still loads all the examples. 2. make `datasets_infos.json` for huge datasets which have a single configuration? I will ofcourse be looking for other datasets to add regardless.
[ -0.17179536819458008, 0.04748155176639557, -0.07112747430801392, 0.0710369274020195, -0.08608310669660568, 0.2547450363636017, 0.5149950385093689, 0.1933152675628662, 0.06339322030544281, -0.06793631613254547, 0.13288083672523499, 0.1250244379043579, -0.1427590698003769, 0.12056919187307358, 0.12848921120166779, -0.029944755136966705, 0.09390464425086975, 0.10262986272573471, 0.23587417602539062, -0.04215385764837265, -0.08599086850881577, -0.17276036739349365, -0.0019692257046699524, -0.2272634655237198, -0.44158774614334106, -0.20016486942768097, 0.03184165805578232, 0.01502038910984993, -0.010413628071546555, -0.2642704248428345, 0.056335628032684326, 0.04965251311659813, -0.14598260819911957, 0.6429558992385864, -0.00011751433339668438, 0.0008574053645133972, 0.22947965562343597, -0.15716078877449036, -0.4355705678462982, -0.36970996856689453, 0.2255953550338745, -0.18088878691196442, -0.13857117295265198, 0.00902516394853592, -0.052328817546367645, -0.17674916982650757, -0.010416554287075996, -0.24299317598342896, 0.48685967922210693, 0.43517962098121643, 0.09779573976993561, 0.2159113585948944, -0.22145870327949524, -0.11372028291225433, 0.5181368589401245, 0.1962917149066925, -0.16432297229766846, 0.1434536874294281, 0.33163607120513916, -0.017638033255934715, 0.17700324952602386, 0.18102142214775085, 0.3449791371822357, 0.09117947518825531, 0.08388861268758774, -0.04490566998720169, -0.11096244305372238, -0.5141968727111816, 0.12356816232204437, 0.7340784072875977, 0.6407020092010498, 0.13441550731658936, -0.490039199590683, -0.2846018373966217, 0.14339984953403473, -0.2989104390144348, 0.3335632383823395, 0.3900149166584015, -0.27099403738975525, 0.012179385870695114, -0.10631586611270905, -0.04163763299584389, -0.24483981728553772, 0.3758752942085266, -0.009812850505113602, -0.1728973388671875, 0.06454187631607056, 0.11676447838544846, 0.03786361217498779, -0.09914498031139374, 0.09874550253152847, -0.1865120530128479, -0.06746475398540497, 0.18121501803398132, -0.07287120819091797, -0.054862771183252335, 0.01061968132853508, -0.24292650818824768, 0.3753278851509094, 0.033847760409116745, 0.301289439201355, 0.20927125215530396, -0.37126612663269043, 0.14975100755691528, 0.1816760003566742, 0.14059984683990479, -0.17366525530815125, 0.15708152949810028, 0.16432616114616394, 0.1490613967180252, 0.2949071526527405, 0.08855825662612915, -0.0689176693558693, -0.19880104064941406, -0.2628335654735565, 0.03543837368488312, 0.17608807981014252, -0.09393960982561111, -0.3666202127933502, 0.2855195105075836, -0.07556991279125214, -0.06990919262170792, 0.12169530987739563, 0.4305344820022583, -0.27078211307525635, -0.03860020637512207, -0.014887141063809395, 0.18549112975597382, 0.0580170676112175, -0.03364699333906174, -0.07844840735197067, 0.23775751888751984, -0.24378341436386108, 0.2146119922399521, 0.43266400694847107, 0.044941484928131104, 0.44288191199302673, -0.04789499193429947, 0.25759756565093994, 0.15086638927459717, 0.13436774909496307, -0.1702178418636322, 0.19163058698177338, 0.04941193386912346, -0.16049672663211823, 0.05983376502990723, -0.161904975771904, -0.09960292279720306, -0.011878959834575653, 0.17837131023406982, -0.15028011798858643, -0.2303994745016098, -0.10187454521656036, 0.11019619554281235, -0.2564544677734375, 0.24604156613349915, -0.37949758768081665, 0.29052790999412537, 0.018634013831615448, 0.04927222058176994, 0.07416795194149017, 0.06990855187177658, -0.010606415569782257, -0.01761508174240589, 0.18316903710365295, 0.43110138177871704, -0.675166130065918, 0.14841046929359436, 0.05469848960638046, 0.14551863074302673, -0.19625267386436462, 0.11323387920856476, -0.4289599359035492, 0.2914617657661438, -0.10515408962965012, -0.28075408935546875, 0.10708454251289368, -0.3116028606891632, -0.2578771412372589, 0.15294209122657776, -0.033808574080467224, 0.15791554749011993, 0.023020274937152863, 0.0397455170750618, -0.09923099726438522, -0.10457980632781982, 0.12836769223213196, 0.3838677406311035, -0.07047093659639359, -0.24849531054496765, -0.15871411561965942, -0.3734230101108551, 0.043887972831726074, 0.18493852019309998, -0.009482640773057938, -0.060965098440647125, -0.18910276889801025, 0.00473666749894619, 0.17317333817481995, -0.2899988293647766, 0.010846303775906563, 0.15475761890411377, 0.4752756357192993, -0.1596822887659073, 0.10263494402170181, -0.013461802154779434, -0.5322238802909851, 0.3008982837200165, 0.01745009422302246, 0.26169174909591675, 0.15064522624015808, -0.1222846582531929, -0.2811754643917084, -0.013046595267951488, -0.10493795573711395, -0.16047188639640808, 0.00835355743765831, -0.04448501020669937, 0.061191532760858536, -0.08177812397480011, -0.24742238223552704, 0.12225314974784851, -0.2258937507867813, 0.09121052175760269, -0.37892383337020874, 0.10450507700443268, -0.025591393932700157, -0.09458371996879578, -0.03284605219960213, 0.07163126766681671, -0.1017615869641304, -0.5913602709770203, -0.1365697979927063, 0.2987823486328125, 0.1098361611366272, 0.07702786475419998, -0.2865460515022278, 0.15732848644256592, 0.26711469888687134, -0.09747171401977539, -0.17204345762729645, 0.31062716245651245, 0.0968041643500328, -0.05754384025931358, -0.48142537474632263, 0.23857644200325012, 0.04003157839179039, 0.09883587062358856, 0.029307909309864044, -0.25677186250686646, 0.20089690387248993, -0.11971625685691833, -0.09996870160102844, -0.10057186335325241, 0.41413581371307373, 0.5066372156143188, 0.20138855278491974, -0.10372166335582733, 0.015050023794174194, -0.01977359503507614, 0.031186604872345924, -0.236716166138649, -0.15910309553146362, 0.2901626527309418, 0.11220681667327881, -0.09617892652750015, 0.12395869195461273, 0.10834640264511108, 0.3233031630516052, 0.02520276978611946, -0.06455107033252716, 0.03258613124489784, 0.14848320186138153, -0.21826103329658508, 0.0757802426815033, -0.06507399678230286, 0.12373924255371094, 0.2045884132385254, 0.29312437772750854, -0.18757779896259308, -0.06814149022102356, -0.3026551306247711, 0.3013600707054138, 0.5480364561080933, -0.38570722937583923, 0.12944063544273376, -0.019272472709417343, 0.3288263976573944, 0.007164351642131805, 0.24364231526851654, 0.17234203219413757, -0.033632829785346985, 0.2508084774017334, 0.23629753291606903, -0.1269526481628418, 0.17349126935005188, -0.14274701476097107, 0.5591862201690674, 0.08248675614595413, 0.07202225178480148, -0.1979501098394394, -0.16679811477661133, -0.31063297390937805, 0.06195644661784172, 0.27295660972595215, -0.14728188514709473, 0.2244667261838913, -0.1778399497270584, -0.15853449702262878, -0.20178383588790894, -0.4173584580421448, 0.16258983314037323, 0.04777207970619202, 0.6478224396705627, -0.031920865178108215, 0.3836492896080017, 0.06647134572267532, -0.18897877633571625, -0.02476639486849308, -0.13998527824878693, -0.08885098248720169, -0.12782393395900726, -0.21087870001792908, -0.07539184391498566, -0.06398406624794006, -0.5471322536468506, -0.18278621137142181, -0.19277122616767883, 0.357848584651947, 0.12579376995563507, 0.17464667558670044, 0.38068458437919617, 0.38606661558151245, 0.0009186910465359688, 0.11243312805891037, -0.07178468257188797, -0.17736317217350006, -0.6757252216339111, 0.4696815311908722, -0.38734883069992065, -0.5109010338783264, -0.05278609320521355, -0.4193873405456543, 0.14101682603359222, 0.08424145728349686, -0.5468756556510925, -0.16275523602962494, -0.004166340455412865, 0.14781242609024048, -0.09362433850765228, -0.1856050044298172, -0.06103840470314026, -0.24296687543392181, -0.10295551270246506, -0.1865135133266449, -0.07581013441085815, 0.10317007452249527, 0.06778475642204285, 0.4435518980026245, 0.020776238292455673, 0.03797149658203125, 0.021288104355335236, 0.7483323812484741, 0.12550251185894012, -0.3560784161090851, 0.17114177346229553, -0.07314471155405045, 0.3164401948451996, -0.0009583458304405212, -0.2790127098560333, 0.036700330674648285, -0.0876639187335968, -0.023141782730817795, 0.15149849653244019, -0.05869406461715698, -0.23505452275276184, -0.07502435147762299, 0.42614302039146423, -0.24874210357666016, -0.1748473346233368, 0.4435693919658661, -0.4566144347190857, -0.07725851982831955, 0.01582915708422661, 0.1287897825241089, -0.35976749658584595, -0.2841746509075165, -0.10254798829555511, 0.022023886442184448, 0.18541201949119568, -0.2970972955226898, -0.49155816435813904, -0.11080870032310486, -0.2212095856666565, 0.18951183557510376, -0.12621429562568665, 0.37205269932746887, -0.20953930914402008, 0.1794261634349823, -0.002000287175178528, -0.1387738585472107, 0.5591140389442444, -0.45118892192840576, -0.20462770760059357, 0.13779009878635406, 0.42864951491355896, -0.4759468734264374, -0.15503908693790436, -0.26579737663269043, 0.16275091469287872, 0.233356311917305, 0.2329433709383011, -0.44821998476982117, -0.07917112857103348, 0.17798611521720886, 0.21326573193073273, -0.15636476874351501, -0.16087676584720612, -0.12645727396011353, -0.3738073408603668, -0.24279747903347015, -0.08331611007452011, -0.036173321306705475, 0.050987277179956436, -0.19404040277004242, -0.2040628045797348, 0.2279285490512848, 0.21362152695655823, 0.4728478193283081, 0.19744420051574707, -0.04280535876750946, 0.4845554828643799, 0.2703888416290283, -0.04988117516040802, 0.17792752385139465, 0.41058415174484253, 0.3688696026802063, -0.2411828637123108, -0.21759092807769775, 0.10859278589487076, -0.056268393993377686, 0.027712225914001465, 0.580801784992218, -0.0173250213265419, 0.020078614354133606, 0.01439300924539566, 0.13961312174797058, 0.02244543470442295, 0.729108989238739, 0.23988522589206696, -0.10934004187583923, -0.12468228489160538, -0.5826663374900818, 0.49742650985717773, 0.11310341954231262, -0.14449432492256165, 0.47206056118011475, -0.14390158653259277, -0.0950615406036377, 0.4435003995895386, 0.1371021270751953, 0.9746570587158203, 0.12245562672615051, 0.027432208880782127, 0.31184566020965576, 0.25607937574386597, 0.4408350884914398, -0.6117252707481384, 0.036079853773117065, -0.11397808790206909, -0.09698351472616196, 0.011427229270339012, -0.3380216062068939, 0.14566195011138916, 0.33380019664764404, 0.058796804398298264, 0.04753567650914192, -0.560630738735199, 0.03134320303797722, -0.021471114829182625, 0.6265731453895569, -0.16644059121608734, -0.26201197504997253, 0.01636086218059063, 0.08285754919052124, 0.1402052938938141, 0.15142937004566193, -0.19618770480155945, -0.11548814177513123, -0.5464015603065491, -0.23298503458499908, -0.31194525957107544, -0.06427687406539917, -0.3838821351528168, 0.1579124927520752, 0.11420109868049622, -0.436829149723053, 0.34325477480888367, 0.16767334938049316, 0.5054033994674683, -0.07317239046096802, -0.36516642570495605, 0.40437379479408264, -0.013942345976829529, -0.27105629444122314, -0.09616908431053162, -0.3768843412399292, 0.3180799186229706, -0.10031114518642426, -0.403286337852478, 0.19434118270874023, -0.1277669370174408, 0.01953316479921341, 0.01552891731262207, -0.1425701230764389, 0.0068259090185165405, -0.31118783354759216, -0.20897255837917328, 0.23212987184524536, 0.02830525115132332, -0.13313192129135132, 0.09237295389175415, 0.27992838621139526, -0.2980661392211914, 0.13019707798957825, 0.23937703669071198, -0.15387818217277527, -0.035577524453401566, 0.0017367899417877197, -0.09243517369031906, -0.199214905500412, 0.6931604146957397, 0.20140831172466278, 0.04603905975818634, -0.08889734745025635, 0.14783334732055664, 0.6892951130867004, -0.586600661277771, -0.10342178493738174, 0.023672321811318398, -0.06173625588417053, -0.24970237910747528, 0.43803703784942627, 0.23919160664081573, 0.10968058556318283, 0.11790856719017029, -0.08956889808177948, -0.30027636885643005, 0.1762051284313202, 0.1277308613061905, 0.43311750888824463, -0.373178631067276, 0.04015622287988663, -0.12002851068973541, 0.385555624961853, -0.2568608522415161, 0.2559117376804352, -0.10337663441896439, 0.2096848040819168, 0.19751685857772827, -0.08968109637498856, 0.1353267878293991, -0.18463334441184998, -0.0017218869179487228, -0.03242768347263336, -0.33483457565307617, -0.15982139110565186, -0.12359173595905304, 0.15174823999404907, 0.05178166925907135, -0.4243069589138031, -0.14740809798240662, -0.030096156522631645, 0.026192953810095787, -0.066065713763237, 0.17266158759593964, -0.16749650239944458, -0.027111239731311798, 0.048542000353336334, -0.5634028911590576, 0.12676295638084412, -0.022557878866791725, 0.0021561942994594574, -0.10396832227706909, 0.4399813413619995, 0.26341140270233154, 0.2438669353723526, 0.2249518781900406, -0.06677462160587311, -0.38032886385917664, 0.21069234609603882, 0.09063734114170074, 0.2659209370613098, 0.02464069053530693, -0.32528042793273926, 0.24774229526519775, 0.055141251534223557, -0.0027081966400146484, 0.47601187229156494, -0.36051613092422485, 0.20720316469669342, 0.5345181226730347, 0.14194101095199585, -0.23841813206672668, 0.08171451091766357, 0.09879408776760101, -0.011809605173766613, 0.34137579798698425, 0.1813545972108841, 0.24091604351997375, -0.024054452776908875, -0.23300819098949432, -0.028314542025327682, 0.07709872722625732, 0.0697755292057991, 0.18050378561019897, 0.20303945243358612, -0.4752084016799927, 0.10502122342586517, -0.08485273271799088, 0.2663530707359314, 0.12029916048049927, -0.08967384696006775, 0.07087968289852142, 0.49278274178504944, -0.09689127653837204, 0.15757273137569427, 0.10337509214878082, -0.4727725386619568, 0.5122804641723633, 0.13712342083454132, -0.05765071511268616, 0.15393154323101044, 0.08483212441205978, 0.46888381242752075, -0.12309987097978592, -0.0592496283352375, -0.441283643245697, -0.03306384012103081, 0.10396770387887955, -0.17523665726184845, -0.18131373822689056, -0.20198360085487366, 0.11953987181186676, -0.0809284895658493, 0.11017481982707977, -0.3104618191719055, -0.04609432816505432, 0.027395743876695633, -0.33708834648132324, 0.15762978792190552, 0.12314881384372711, 0.15799595415592194, 0.20096799731254578, 0.001995120197534561, 0.3070392608642578, 0.03843607008457184, -0.16979815065860748, -0.02127622812986374, 0.20139066874980927, 0.30977246165275574, 0.21017825603485107, -0.07582873106002808, 0.2413834035396576, -0.011947166174650192, -0.030423708260059357, 0.22063051164150238, 0.454494446516037, 0.28068357706069946, -0.18257348239421844, 0.22946341335773468, 0.06206722557544708, -0.09382421523332596, 0.03762230649590492, 0.15379908680915833, 0.056559968739748, -0.428254097700119, -0.04268648475408554, -0.17961907386779785, -0.030067160725593567, -0.1870649755001068, -0.23985746502876282, -0.1455165147781372, -0.06710252910852432, 0.4576156735420227, -0.2275177538394928, 0.17581981420516968, -0.13563929498195648, 0.06568487733602524, -0.3457541763782501, 0.449272483587265, -0.04471714422106743, 0.4283284842967987, -0.25559115409851074, 0.20272929966449738, -0.4298398494720459, 0.16950784623622894, -0.46306419372558594, 0.13449600338935852, 0.03356603905558586, 0.24336619675159454, 0.16922356188297272, 0.14161834120750427, 0.001563630998134613, -0.31654733419418335, -0.0889967605471611, 0.3652631640434265, -0.40934595465660095, -0.05332326516509056, -0.08663709461688995, 0.5431175827980042, -0.009911831468343735, -0.2114790976047516, 0.030868442729115486, -0.02149800956249237, -0.060934878885746, -0.24492262303829193, -0.03327466547489166, 0.13502417504787445, 0.013908922672271729, 0.5392794609069824, 0.021118616685271263, 0.35192346572875977, 0.18965229392051697, -0.2722277045249939, -0.4163532257080078, -0.1412491351366043, 0.2635309398174286, 0.44046419858932495, 0.4131069481372833, 0.21459037065505981, 0.022113600745797157, -0.06330797076225281, -0.2363218069076538, 0.1099725291132927, -0.006083089858293533, -0.6361464858055115, -0.2744165062904358, -0.12399391084909439, -0.008694257587194443, 0.23244373500347137, 0.22635312378406525, 0.11146281659603119, -0.26042231917381287, -0.11513932049274445, -0.04313943535089493, -0.21903131902217865, 0.6367398500442505, -0.35691148042678833, -0.13942238688468933, -0.031738314777612686, 0.21353504061698914, 0.09662517160177231, 0.17849445343017578, -0.5081060528755188, 0.050702281296253204, 0.24382519721984863, -0.1316632628440857, -0.15355375409126282, 0.08472909033298492, 0.0932672917842865, -0.10883505642414093, -0.14931082725524902, 0.3480934202671051, -0.15048271417617798, -0.24115724861621857, 0.040845539420843124, -0.16943064332008362 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
It's definitely a thorny question. The short answer is: Hateful Memes and hate speech detection datasets are different since their use case is specifically to train systems to identify and hopefully remove hateful content, whereas the purpose of a dataset that has an Attractiveness score as output is implicitly to train more models to rate "Attractiveness". As far as warning about the "potential biases", I do not think it is quite enough, especially because it is hard to guarantee that every potential user will read the documentation (it is also an insufficient warning.) Note that we do have higher standards for the dataset cards of hate speech and hateful memes datasets, so if you do choose to add that one yourself we will ask that you summarize the relevant literature in the Social Impact section. If you really need to add this dataset for your own research for the explicit purpose of studying these biases, you can add it as a community provided dataset following https://huggingface.co/docs/datasets/master/share_dataset.html#sharing-a-community-provided-dataset but I'd recommend just skipping it for now.
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
174
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). It's definitely a thorny question. The short answer is: Hateful Memes and hate speech detection datasets are different since their use case is specifically to train systems to identify and hopefully remove hateful content, whereas the purpose of a dataset that has an Attractiveness score as output is implicitly to train more models to rate "Attractiveness". As far as warning about the "potential biases", I do not think it is quite enough, especially because it is hard to guarantee that every potential user will read the documentation (it is also an insufficient warning.) Note that we do have higher standards for the dataset cards of hate speech and hateful memes datasets, so if you do choose to add that one yourself we will ask that you summarize the relevant literature in the Social Impact section. If you really need to add this dataset for your own research for the explicit purpose of studying these biases, you can add it as a community provided dataset following https://huggingface.co/docs/datasets/master/share_dataset.html#sharing-a-community-provided-dataset but I'd recommend just skipping it for now.
[ -0.14145341515541077, -0.14177367091178894, -0.06500551104545593, 0.15103384852409363, 0.007530147209763527, 0.22519031167030334, 0.3039840757846832, -0.13052330911159515, 0.18534211814403534, -0.10455667972564697, 0.05860128253698349, -0.02835335209965706, -0.2451373189687729, 0.3338160216808319, 0.010173328220844269, 0.015175972133874893, 0.13302677869796753, 0.1413899064064026, 0.0376964770257473, -0.07328908890485764, 0.055867597460746765, 0.10634811222553253, 0.027901895344257355, 0.12736286222934723, -0.6930087208747864, -0.2097596824169159, 0.019346700981259346, 0.23106861114501953, -0.2070908397436142, -0.5928072929382324, 0.08207445591688156, 0.017956994473934174, -0.05797503516077995, 0.5498580932617188, -0.00012033828534185886, -0.20709188282489777, 0.22899624705314636, -0.1078583225607872, -0.3514590859413147, -0.5279160737991333, 0.438009113073349, -0.0889836773276329, -0.01901465840637684, 0.06578857451677322, -0.12388559430837631, -0.08741522580385208, 0.056316226720809937, -0.21626727283000946, 0.4575774669647217, 0.3683435916900635, 0.050539154559373856, 0.31910791993141174, -0.08642563223838806, -0.01963389664888382, 0.4005669057369232, 0.5566685199737549, -0.106715627014637, 0.12187331914901733, 0.04903172329068184, 0.09937532991170883, 0.06779038161039352, 0.3729405403137207, 0.1876402646303177, 0.0232313871383667, 0.4905985891819, -0.04347892850637436, -0.15737199783325195, -0.39912864565849304, 0.020011894404888153, 0.5305463671684265, 0.4044554829597473, 0.042842499911785126, -0.3438650667667389, -0.24996763467788696, 0.21053184568881989, -0.2585538327693939, 0.32481759786605835, 0.2535281181335449, -0.12274937331676483, -0.008615810424089432, -0.17395664751529694, 0.06581360846757889, 0.041664496064186096, 0.1657082736492157, 0.2924663722515106, -0.10098999738693237, -0.15835513174533844, 0.19419386982917786, 0.15486401319503784, -0.15308348834514618, -0.08564695715904236, -0.18336649239063263, -0.022762853652238846, 0.16474510729312897, -0.0014376454055309296, -0.14282146096229553, 0.004619129002094269, 0.12327519059181213, 0.30127671360969543, -0.14699307084083557, 0.11661786586046219, -0.03261760622262955, -0.3013823926448822, -0.08987607806921005, 0.32529622316360474, 0.10460099577903748, 0.03700044006109238, 0.14044156670570374, 0.16362805664539337, 0.4357268512248993, 0.22527652978897095, 0.10190731287002563, 0.17740626633167267, 0.10128408670425415, -0.1495448350906372, -0.005109546706080437, 0.10633976757526398, -0.2155992090702057, -0.7618147134780884, 0.19006653130054474, -0.04449521377682686, -0.1682414412498474, 0.14257507026195526, 0.37701860070228577, -0.14744612574577332, -0.12670326232910156, -0.07306123524904251, 0.22109216451644897, 0.05263420194387436, -0.235955148935318, -0.021440139040350914, 0.28211361169815063, -0.29563674330711365, 0.3916417360305786, 0.3968905508518219, -0.10050833225250244, 0.5405135750770569, -0.159004345536232, 0.2655982971191406, 0.13677726686000824, -0.12171834707260132, -0.20873551070690155, 0.43365368247032166, 0.00030909478664398193, -0.1531994789838791, 0.2164401113986969, -0.0204097181558609, -0.059223536401987076, -0.041911572217941284, 0.069511778652668, -0.08468375355005264, -0.09630554914474487, 0.07819884270429611, 0.01005542278289795, -0.14001598954200745, 0.19997477531433105, -0.361908495426178, 0.5016016364097595, -0.26536405086517334, -0.03341221809387207, 0.4240040183067322, 0.13214977085590363, -0.2103450447320938, -0.05308966711163521, 0.15415532886981964, 0.5978745818138123, -0.48730307817459106, 0.010360904037952423, 0.025277115404605865, -0.039340417832136154, -0.17963024973869324, 0.08398503065109253, -0.2753804624080658, 0.09559296071529388, -0.06674498319625854, 0.061471596360206604, -0.27798324823379517, -0.3559236228466034, -0.17463742196559906, 0.1267838180065155, -0.04976271837949753, 0.22462518513202667, 0.15055419504642487, 0.16980372369289398, -0.11086931079626083, -0.09872115403413773, 0.03311745077371597, 0.29722779989242554, 0.2144298106431961, -0.1337699145078659, -0.138330340385437, -0.47427898645401, 0.2670198678970337, -0.000869283452630043, -0.30731573700904846, -0.06499191373586655, -0.16739949584007263, -0.028851617127656937, 0.33770301938056946, -0.16468577086925507, 0.06094954162836075, -0.1728016883134842, 0.3371862471103668, -0.12060050666332245, -0.05482972413301468, -0.12656396627426147, -0.349002867937088, 0.14524531364440918, -0.19468335807323456, 0.38221120834350586, 0.02350805699825287, -0.24164113402366638, -0.4095088243484497, 0.0344402939081192, -0.21201278269290924, -0.4604659974575043, -0.0019503533840179443, 0.021689947694540024, 0.272335022687912, 0.0074602290987968445, -0.16130515933036804, 0.3715350925922394, -0.46388858556747437, 0.18241465091705322, -0.1865469366312027, 0.10052115470170975, -0.054288409650325775, -0.17544665932655334, 0.2100914716720581, 0.24486491084098816, -0.030761845409870148, -0.35219600796699524, 0.04026893898844719, 0.4018811583518982, 0.053504496812820435, 0.005577504634857178, 0.014584369957447052, 0.04692502319812775, 0.2876668870449066, -0.4063664376735687, 0.02699776366353035, 0.6133251786231995, 0.2595802843570709, 0.1221616193652153, -0.19993847608566284, 0.28742992877960205, 0.0999310314655304, 0.047281663864851, -0.14136365056037903, -0.39449968934059143, -0.015385262668132782, 0.2560025155544281, -0.15519680082798004, -0.2559082508087158, 0.1988612562417984, 0.37139055132865906, 0.08535909652709961, 0.03544827178120613, -0.002876289188861847, -0.15388911962509155, -0.05246349796652794, -0.32226312160491943, -0.13673368096351624, 0.19794237613677979, -0.0597895011305809, -0.3268321752548218, 0.1549738198518753, -0.18734364211559296, 0.39834487438201904, -0.04386155679821968, -0.1079719066619873, -0.08158650249242783, -0.0684581995010376, -0.11298751831054688, 0.11819789558649063, -0.0600048303604126, -0.07119723409414291, -0.07914967089891434, 0.10438746213912964, -0.1152384951710701, -0.21346509456634521, -0.2919867932796478, -0.17563779652118683, 0.3894679844379425, -0.4990887939929962, -0.14044304192066193, 0.18744680285453796, 0.2216285765171051, 0.21511541306972504, 0.2891206443309784, -0.10186704993247986, -0.08554785698652267, 0.24752548336982727, -0.12884089350700378, 0.05797353759407997, 0.007383408956229687, -0.17153243720531464, 0.5858775973320007, 0.025595417246222496, 0.24930784106254578, -0.34961363673210144, -0.0004504728130996227, -0.18780246376991272, 0.0186697319149971, 0.001179455779492855, 0.17294304072856903, 0.06637074053287506, -0.34775716066360474, -0.010391470044851303, -0.24413496255874634, -0.2204625904560089, 0.2302384078502655, -0.2004508227109909, 0.7115395665168762, 0.221137136220932, 0.24116812646389008, -0.13720479607582092, -0.26012709736824036, 0.04750261828303337, -0.3348391652107239, -0.25482794642448425, -0.3678072988986969, -0.17556335031986237, -0.02506296895444393, 0.0025868862867355347, -0.15784719586372375, -0.20818562805652618, -0.046181902289390564, 0.31403812766075134, 0.06019231304526329, 0.059987928718328476, 0.09995171427726746, 0.2713140547275543, 0.20744562149047852, -0.30034494400024414, 0.1748506724834442, -0.31162694096565247, -0.7493863105773926, 0.43326786160469055, -0.28995272517204285, -0.4122490882873535, 0.006713505834341049, -0.1135309711098671, -0.09343269467353821, -0.12111206352710724, -0.6375889182090759, -0.2432629019021988, 0.04882602393627167, 0.2131795585155487, 0.18063883483409882, -0.0402756929397583, -0.177371084690094, -0.19606873393058777, -0.08995512127876282, -0.014246959239244461, -0.22353897988796234, -0.06919998675584793, 0.06253795325756073, 0.302182674407959, -0.05519181489944458, -0.2279491424560547, -0.14734944701194763, 0.6027019619941711, 0.22973176836967468, -0.38082292675971985, 0.3965650796890259, 0.10610472410917282, 0.5103339552879333, -0.009015820920467377, -0.32116854190826416, 0.05383516103029251, -0.12061715126037598, 0.14812736213207245, 0.33160972595214844, -0.1087891012430191, 0.10321985930204391, -0.17521625757217407, 0.1791219413280487, -0.25289905071258545, -0.1528690606355667, 0.1920584738254547, -0.11631922423839569, -0.055654965341091156, -0.05899448320269585, 0.04142835736274719, -0.1666228324174881, -0.30870580673217773, 0.19983944296836853, 0.2812598943710327, 0.19011043012142181, 0.014168326742947102, -0.4365396201610565, -0.24436168372631073, -0.2717363238334656, -0.011154904961585999, 0.028900975361466408, 0.03754877299070358, -0.22522082924842834, -0.002428889274597168, 0.02881564199924469, 0.002976544899865985, 0.2534245550632477, -0.22777803242206573, -0.19839227199554443, -0.08866481482982635, 0.41707703471183777, -0.13487626612186432, 0.06411077082157135, -0.3007347583770752, 0.10437791794538498, 0.034986574202775955, 0.410839319229126, -0.5538132190704346, -0.15405474603176117, 0.3330439627170563, 0.14944985508918762, 0.05959128960967064, -0.09171142429113388, -0.30048099160194397, -0.13484609127044678, -0.32637375593185425, 0.12491793930530548, 0.028990929946303368, 0.1771480292081833, -0.1957506537437439, -0.005665197968482971, 0.3609425127506256, 0.3357795178890228, 0.5801292061805725, 0.1881406307220459, 0.0834750086069107, 0.44272226095199585, -0.03853181004524231, 0.15906135737895966, 0.2991279363632202, 0.05139973759651184, 0.39083853363990784, -0.21601185202598572, -0.3034444749355316, 0.05935231223702431, 0.01703323796391487, 0.06120539829134941, 0.5848778486251831, 0.10233909636735916, 0.08676669746637344, 0.09738138318061829, 0.08678961545228958, -0.07379774004220963, 0.5171244740486145, 0.33586782217025757, 0.056896016001701355, -0.049862295389175415, -0.35448282957077026, 0.2798055410385132, 0.14654289186000824, -0.06930714845657349, 0.038767196238040924, 0.45499318838119507, -0.06956309825181961, 0.40584033727645874, 0.2370741367340088, 1.171489953994751, 0.13573525846004486, 0.34017419815063477, 0.26393958926200867, 0.358089804649353, 0.5315302610397339, -0.26412057876586914, -0.17789942026138306, 0.13660664856433868, 0.0019169840961694717, -0.1088770180940628, -0.10156770050525665, 0.2290520966053009, 0.35637640953063965, 0.01550723984837532, 0.12988711893558502, -0.2452710121870041, -0.01000218465924263, -0.21456803381443024, 0.45848631858825684, -0.2018021047115326, -0.22489459812641144, -0.11713722348213196, 0.03263642266392708, 0.14618942141532898, 0.18586960434913635, -0.02907451242208481, 0.08110610395669937, -0.4623652398586273, -0.24832120537757874, -0.30731523036956787, -0.3671400845050812, -0.44308558106422424, -0.18076053261756897, 0.1173412948846817, -0.42379164695739746, 0.5387565493583679, 0.27130499482154846, 0.48530876636505127, -0.07665736973285675, -0.3228131830692291, 0.1117771565914154, -0.20317772030830383, -0.2250981479883194, -0.2975615859031677, -0.43040886521339417, 0.3438469469547272, -0.027377761900424957, -0.44406285881996155, 0.382973849773407, -0.11651403456926346, 0.1285061240196228, 0.036066800355911255, -0.12187518179416656, -0.2160179764032364, -0.494395911693573, -0.19374632835388184, 0.17882058024406433, 0.08527827262878418, -0.14635232090950012, 0.031224530190229416, 0.25588154792785645, -0.2737380564212799, -0.24858763813972473, 0.4781763553619385, -0.35094285011291504, -0.19218631088733673, 0.02686881273984909, -0.27915772795677185, -0.19798563420772552, 0.5188524723052979, 0.17112819850444794, -0.17279046773910522, -0.06597045809030533, -0.07740229368209839, 0.8084465265274048, -0.5649617910385132, -0.1379747837781906, 0.2243419736623764, -0.1825633943080902, -0.37642115354537964, 0.6923364400863647, 0.3376246690750122, 0.2807358205318451, 0.11092561483383179, -0.09174665808677673, -0.3681284189224243, 0.14698383212089539, 0.099573515355587, 0.26502493023872375, -0.0944538563489914, -0.0841287225484848, 0.2782291769981384, 0.2661706805229187, -0.19944539666175842, 0.09946552664041519, -0.06228870153427124, 0.138666570186615, 0.34699270129203796, -0.13390186429023743, 0.08728563040494919, 0.012405354529619217, -0.04032498970627785, -0.046660855412483215, -0.30429214239120483, -0.054431162774562836, -0.10146129131317139, 0.219853013753891, 0.14931687712669373, -0.4169709086418152, -0.22757156193256378, 0.02171076461672783, 0.24411004781723022, -0.15688252449035645, 0.2247835099697113, -0.11673969775438309, -0.033059775829315186, 0.04144347086548805, -0.49066731333732605, -0.0016798079013824463, -0.0891541987657547, -0.011874094605445862, -0.0650678277015686, 0.41536247730255127, 0.4180282950401306, 0.14435333013534546, 0.14921139180660248, -0.054454393684864044, -0.0314926952123642, 0.48809391260147095, 0.3148444890975952, 0.3509095311164856, -0.02976062148809433, -0.04905151575803757, 0.04796740785241127, 0.13734079897403717, 0.07771176844835281, 0.3531840741634369, -0.14370812475681305, -0.05354965478181839, 0.381946861743927, 0.0121033675968647, -0.2461610734462738, 0.18615658581256866, -0.0852508693933487, -0.14225971698760986, 0.29595035314559937, 0.2693851590156555, 0.2918117642402649, 0.12520723044872284, -0.21646888554096222, -0.03601489216089249, 0.23703433573246002, 0.1138947382569313, -0.04650328680872917, -0.085922971367836, -0.3861156702041626, 0.1441245973110199, 0.30900707840919495, 0.29499712586402893, 0.06436365097761154, -0.1565290093421936, -0.08656690269708633, 0.6877106428146362, -0.14231336116790771, 0.3361830711364746, -0.0031801238656044006, -0.22523443400859833, 0.609779953956604, 0.24208392202854156, -0.10909336805343628, 0.010312367230653763, 0.08428636938333511, 0.5823324918746948, -0.28556936979293823, -0.09866925328969955, -0.37327441573143005, -0.048871960490942, 0.08678767085075378, -0.29453977942466736, -0.33987605571746826, -0.20264071226119995, -0.0756169781088829, -0.18132303655147552, 0.024730810895562172, -0.3357398509979248, 0.14286315441131592, -0.17215651273727417, -0.2951248288154602, -0.021067602559924126, 0.01642167568206787, 0.17291080951690674, 0.2031266987323761, -0.020801547914743423, 0.05017015337944031, 0.21853980422019958, 0.10378620773553848, 0.23753029108047485, 0.2569931745529175, 0.44249099493026733, 0.015454228967428207, -0.021354444324970245, 0.2856677174568176, -0.2894867956638336, -0.04812106117606163, 0.1411736011505127, 0.471158891916275, 0.25060534477233887, -0.0688014030456543, 0.24592222273349762, 0.07459623366594315, -0.08259710669517517, -0.3153216540813446, 0.16280564665794373, 0.1548774391412735, -0.417287141084671, -0.1706596314907074, -0.43093812465667725, -0.07851481437683105, -0.2085898071527481, -0.0681798979640007, -0.22068777680397034, 0.19711102545261383, 0.24170561134815216, -0.3730548918247223, 0.016943082213401794, -0.4088875651359558, 0.04101167619228363, -0.27811309695243835, 0.3633992075920105, 0.317325234413147, 0.3664900064468384, -0.3540601134300232, 0.2037128061056137, -0.44203174114227295, 0.12309212237596512, -0.11581867933273315, 0.036878861486911774, -0.2507236897945404, 0.16910061240196228, 0.21580570936203003, 0.2516595721244812, -0.006468459963798523, -0.0572831854224205, -0.12424151599407196, 0.10325377434492111, -0.1076134741306305, 0.11196611821651459, -0.21187539398670197, 0.47700920701026917, 0.07465056329965591, 0.06557737290859222, -0.05755772069096565, 0.16154028475284576, -0.17769068479537964, -0.20907871425151825, 0.011764459311962128, -0.074231818318367, -0.049391329288482666, 0.2970922291278839, 0.08554303646087646, 0.4509243369102478, 0.03527449071407318, -0.24057577550411224, -0.33112114667892456, 0.1464780867099762, 0.42022252082824707, 0.25035691261291504, 0.3303200900554657, 0.30831417441368103, -0.04214589297771454, 0.0012327097356319427, -0.142189621925354, 0.4121004045009613, 0.1824691891670227, -0.6153460144996643, -0.41925790905952454, -0.07338593155145645, -0.28310567140579224, -0.04539545252919197, 0.08067359775304794, -0.01674429327249527, 0.0013724379241466522, -0.22265152633190155, 0.07707667350769043, -0.2369200587272644, 0.4112802743911743, -0.33997613191604614, 0.0688239336013794, -0.14855548739433289, 0.08438453078269958, 0.20840442180633545, 0.03900758922100067, -0.6755775213241577, 0.2236226201057434, 0.10177557915449142, 0.10527371615171432, -0.09050895273685455, 0.060695722699165344, -0.26360461115837097, -0.010350026190280914, -0.08511711657047272, 0.46067148447036743, -0.09620385617017746, -0.02938152477145195, 0.1890580803155899, -0.2373189628124237 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
So currently you do need to download the whole dataset when using it, we are working on making it easier to stream parts of it from a remote host. You can also use the filesystem integration if local storage is an issue: https://huggingface.co/docs/datasets/master/filesystems.html
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
43
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). So currently you do need to download the whole dataset when using it, we are working on making it easier to stream parts of it from a remote host. You can also use the filesystem integration if local storage is an issue: https://huggingface.co/docs/datasets/master/filesystems.html
[ -0.09760086238384247, -0.29027488827705383, -0.0294541846960783, 0.21710604429244995, 0.019359206780791283, 0.2670361399650574, 0.24558259546756744, 0.12208695709705353, 0.1048707515001297, 0.15073543787002563, 0.0845126137137413, 0.011882847175002098, -0.06890476495027542, 0.5454443097114563, 0.3656018078327179, -0.1498054563999176, 0.1220705658197403, 0.2007303684949875, -0.006910070776939392, 0.016779273748397827, -0.06298419833183289, 0.1085873693227768, -0.147476464509964, -0.2513890862464905, -0.4022468328475952, -0.05786491185426712, -0.18336983025074005, 0.15019476413726807, -0.3025107681751251, -0.3910660147666931, 0.1613849550485611, 0.09316842257976532, 0.02500585839152336, 0.5612319707870483, -0.00012376235099509358, -0.11480693519115448, 0.315085768699646, -0.20315903425216675, -0.6005569696426392, -0.2583540081977844, -0.022681457921862602, -0.24207711219787598, 0.17972658574581146, 0.012889966368675232, -0.16126295924186707, -0.0777665227651596, 0.09843359142541885, -0.13211235404014587, 0.3427187502384186, 0.25420644879341125, 0.07104377448558807, 0.3059973120689392, -0.03902619332075119, -0.34852099418640137, 0.3081768751144409, 0.29690924286842346, -0.1860852986574173, 0.3942946195602417, 0.3311867117881775, 0.013850025832653046, 0.16221627593040466, 0.2095576375722885, 0.4254996180534363, 0.08642520010471344, 0.29947009682655334, 0.03998550400137901, -0.48549628257751465, -0.30097341537475586, 0.02870485931634903, 0.519877016544342, 0.8112832903862, -0.05094032734632492, -0.4731816053390503, -0.20305371284484863, 0.08733557909727097, -0.24802152812480927, 0.3532423675060272, 0.3423009514808655, -0.2295144498348236, 0.013891991227865219, -0.4883483946323395, -0.22546154260635376, -0.13782761991024017, 0.2023797631263733, 0.14185863733291626, -0.1576765924692154, -0.22705012559890747, 0.06918919086456299, 0.2516210377216339, -0.1543838530778885, -0.1345735341310501, -0.22935640811920166, -0.16813643276691437, 0.21882061660289764, 0.018186397850513458, -0.1105465292930603, -0.009003110229969025, 0.3396107852458954, 0.494998574256897, 0.20306959748268127, 0.1563861221075058, -0.0318557545542717, -0.17911134660243988, 0.11613728106021881, 0.11264689266681671, 0.2593112885951996, 0.2251361906528473, -0.0017542410641908646, 0.13500338792800903, 0.4179967939853668, 0.2546551525592804, -0.20081672072410583, -0.008696656674146652, -0.06022292748093605, -0.28062236309051514, -0.23686033487319946, 0.23665209114551544, -0.31070777773857117, 0.005320185795426369, 0.13212251663208008, 0.08250034600496292, -0.18681761622428894, 0.14426159858703613, 0.4948277175426483, -0.2558291256427765, -0.15850794315338135, 0.09169900417327881, 0.34028083086013794, 0.010290110483765602, -0.1477828025817871, -0.11344193667173386, 0.23894968628883362, -0.269866943359375, 0.32363754510879517, 0.40746864676475525, -0.22743065655231476, 0.4748033285140991, -0.13788366317749023, 0.23149999976158142, 0.1518787294626236, 0.08679362386465073, -0.09969903528690338, 0.03982751443982124, 0.10690710693597794, 0.046707283705472946, 0.13390004634857178, -0.08754488825798035, -0.08998294919729233, -0.09329286962747574, -0.005618393421173096, 0.038769833743572235, -0.4029029607772827, -0.1567576825618744, 0.03783436492085457, -0.3019028306007385, 0.019167693331837654, -0.5089754462242126, 0.3156072199344635, -0.18846750259399414, -0.13009542226791382, 0.03521665930747986, 0.2690637707710266, -0.0823514461517334, 0.052330538630485535, 0.4758383333683014, 0.5780746340751648, -0.5517778992652893, -0.05176013708114624, 0.09859585016965866, -0.05420772358775139, -0.16075026988983154, 0.07825249433517456, -0.3168330490589142, 0.25364482402801514, -0.21360576152801514, -0.04313661530613899, 0.264797180891037, -0.3463645577430725, -0.22922158241271973, 0.13414381444454193, 0.07659509778022766, -0.03989053890109062, 0.11148462444543839, -0.030027184635400772, -0.015909913927316666, 0.16267456114292145, -0.0652407556772232, 0.3619564175605774, -0.04181046783924103, -0.11685998737812042, -0.17538629472255707, -0.21934492886066437, 0.05259954556822777, 0.3526715934276581, -0.26881682872772217, -0.013137944042682648, -0.12035036832094193, -0.13695447146892548, 0.20701581239700317, -0.16123263537883759, 0.11021514981985092, 0.2348133772611618, 0.366747111082077, 0.0747523084282875, -0.044736411422491074, -0.011502092704176903, -0.5224588513374329, 0.3853607773780823, 0.17406931519508362, 0.2320808619260788, -0.003977425396442413, -0.14293061196804047, -0.35856226086616516, -0.004933059215545654, -0.19856451451778412, -0.24720492959022522, -0.09903031587600708, 0.029260195791721344, 0.2947859466075897, 0.011604905128479004, -0.26263609528541565, 0.1672808825969696, 0.017793158069252968, 0.20691969990730286, -0.7391296029090881, 0.19123932719230652, -0.0845378041267395, -0.17360101640224457, -0.06598913669586182, -0.08746861666440964, -0.01967301219701767, -0.5048812627792358, -0.14625641703605652, 0.4567081034183502, 0.07504440099000931, -0.014140300452709198, 0.34184205532073975, -0.09905637800693512, 0.15119513869285583, -0.2119637429714203, 0.047995537519454956, 0.07379606366157532, 0.25289881229400635, 0.013794615864753723, -0.6768338084220886, 0.19234740734100342, 0.24624650180339813, 0.06324701756238937, 0.10545168817043304, -0.1415339559316635, 0.2845572531223297, 0.018043335527181625, -0.09999724477529526, 0.011233314871788025, 0.32574740052223206, 0.2155936062335968, 0.2906709611415863, -0.24708901345729828, -0.2740054130554199, -0.010466396808624268, 0.1811286360025406, -0.41718706488609314, -0.18945777416229248, 0.30491015315055847, -0.07153274863958359, -0.21267300844192505, 0.15315522253513336, -0.0007340721786022186, 0.40211212635040283, 0.08204123377799988, 0.19474191963672638, -0.016445880755782127, 0.2622620761394501, -0.1308744251728058, 0.05025632679462433, -0.2031814604997635, -0.14025036990642548, -0.07490053027868271, 0.028750693425536156, -0.368997186422348, -0.20529672503471375, -0.19963377714157104, 0.1663782000541687, 0.4098542630672455, -0.3035676181316376, -0.020786188542842865, -0.030685296282172203, 0.11320298165082932, 0.07822120934724808, 0.052327945828437805, -0.14936359226703644, -0.07544972002506256, 0.1380821168422699, 0.33350393176078796, 0.11987645924091339, 0.02311067283153534, 0.00052676722407341, 0.48823845386505127, -0.0012237969785928726, -0.05532289296388626, -0.25990939140319824, -0.04471693933010101, -0.2117001712322235, 0.03383403271436691, 0.17806626856327057, 0.26644888520240784, 0.3102053999900818, -0.38665932416915894, -0.06931112706661224, -0.22907201945781708, -0.11767475306987762, 0.1934385597705841, -0.0016977377235889435, 0.5645728707313538, 0.17171844840049744, 0.49725276231765747, 0.007059264928102493, 0.07485522329807281, 0.2815161347389221, -0.12424072623252869, -0.285465806722641, -0.00620894692838192, -0.07648012787103653, -0.07507646828889847, -0.057986095547676086, -0.3931474983692169, -0.22238314151763916, -0.15602178871631622, 0.5299666523933411, 0.07718491554260254, 0.02647152915596962, 0.06417246907949448, 0.3773357570171356, 0.23486140370368958, -0.24022144079208374, -0.04744585603475571, -0.14836238324642181, -0.858519971370697, 0.4331638514995575, -0.30187010765075684, -0.47819390892982483, 0.10078394412994385, -0.12970536947250366, 0.06506235897541046, -0.1430920958518982, -0.4337047338485718, -0.37745997309684753, -0.293692022562027, 0.269575834274292, 0.017365647479891777, 0.11023877561092377, 0.33667635917663574, -0.2973271608352661, -0.014097402803599834, -0.050838179886341095, -0.3783116340637207, 0.2086038887500763, 0.13664376735687256, 0.4203961193561554, -0.1408025026321411, 0.2626740038394928, -0.2394510954618454, 0.7278394103050232, 0.14226120710372925, -0.1325029581785202, 0.3195027709007263, -0.22884437441825867, 0.4440549910068512, -0.22985747456550598, -0.3080027401447296, 0.014208490960299969, -0.030308246612548828, -0.030651364475488663, 0.17418904602527618, 0.17381232976913452, 0.10311902314424515, -0.2855500876903534, -0.04420259967446327, -0.2558526396751404, -0.07911638915538788, 0.1949729025363922, -0.08583781123161316, -0.08499445766210556, -0.12610730528831482, 0.0057906657457351685, -0.09997226297855377, -0.1966470181941986, -0.17092202603816986, 0.37828385829925537, 0.24438261985778809, -0.07313287258148193, -0.554740309715271, -0.14052756130695343, -0.3575633764266968, 0.23500047624111176, -0.09486664831638336, 0.06059872359037399, -0.211750328540802, 0.031142354011535645, 0.15823563933372498, -0.10938633978366852, 0.604902446269989, -0.21230165660381317, -0.11973680555820465, -0.06406469643115997, 0.010129295289516449, -0.38814353942871094, -0.010089796036481857, -0.20980340242385864, 0.06570008397102356, 0.10444106161594391, 0.4066077768802643, -0.3434956669807434, -0.2636997699737549, 0.1465403288602829, 0.3506695032119751, -0.08616642653942108, -0.13272634148597717, -0.2584410011768341, -0.2770584523677826, -0.372462660074234, 0.0489453561604023, -0.03455335274338722, 0.10076935589313507, 0.07620587944984436, -0.13987408578395844, 0.23277179896831512, 0.17916682362556458, 0.24193978309631348, 0.273089736700058, 0.11979532986879349, 0.17345315217971802, 0.3532603085041046, 0.20663027465343475, 0.10130900889635086, 0.2839622497558594, 0.5776593685150146, -0.16158215701580048, -0.23025745153427124, 0.0698738843202591, 0.021714944392442703, 0.22429436445236206, 0.4045735001564026, -0.08976344019174576, 0.07367756217718124, 0.17812146246433258, 0.22823449969291687, -0.20972512662410736, 0.41244959831237793, 0.26378104090690613, -0.0728500708937645, -0.20974305272102356, -0.4260725677013397, 0.4707942605018616, 0.027101144194602966, 0.01951497048139572, 0.336892306804657, 0.10862329602241516, 0.03374418616294861, 0.09208056330680847, -0.353351354598999, 1.052541971206665, -0.10381342470645905, 0.19594259560108185, 0.31990110874176025, 0.14771679043769836, 0.3264029026031494, -0.31912726163864136, -0.0006283540278673172, -0.13545173406600952, -0.22879253327846527, -0.0954577624797821, -0.22132833302021027, 0.1671760529279709, 0.22250592708587646, -0.2094157189130783, 0.2954413890838623, -0.3329225778579712, 0.13651542365550995, -0.27507999539375305, 0.5153622627258301, -0.32535791397094727, -0.2648380696773529, -0.3775051534175873, 0.11454759538173676, 0.11542020738124847, 0.26045089960098267, -0.018521951511502266, -0.09864111244678497, -0.41133788228034973, -0.363777220249176, -0.15016430616378784, 0.026723649352788925, -0.22924387454986572, -0.16271129250526428, 0.15175345540046692, -0.42779332399368286, 0.14149326086044312, 0.20152631402015686, 0.2517447769641876, 0.0449778214097023, -0.40289464592933655, 0.3187526762485504, -0.4785662889480591, -0.30503273010253906, -0.2975074350833893, -0.023065419867634773, 0.024407438933849335, -0.19261157512664795, -0.43175065517425537, 0.03522102162241936, -0.19419382512569427, -0.050614479929208755, 0.33004289865493774, -0.043540455400943756, -0.21004550158977509, -0.452129989862442, -0.25972869992256165, 0.0796566903591156, 0.05619249865412712, -0.15142256021499634, 0.04287130385637283, 0.44274407625198364, -0.39458999037742615, -0.051324017345905304, 0.27730560302734375, 0.018115058541297913, -0.14105473458766937, 0.2516651451587677, -0.29242536425590515, 0.05710470676422119, 0.5745606422424316, 0.23359860479831696, 0.015893589705228806, -0.14020121097564697, 0.24035030603408813, 0.7650748491287231, -0.5780421495437622, 0.010778424330055714, 0.1532600373029709, 0.0036429911851882935, -0.2222757190465927, 0.4832482635974884, 0.3211604952812195, -0.1402282416820526, 0.24923144280910492, -0.17248192429542542, -0.43046000599861145, 0.2674404978752136, 0.10113078355789185, 0.34582650661468506, -0.1709473431110382, 0.03650869429111481, 0.21534059941768646, 0.21039384603500366, -0.19987726211547852, 0.3297440707683563, -0.23020265996456146, 0.23364298045635223, 0.530076265335083, -0.029353253543376923, 0.43279609084129333, -0.1999845951795578, -0.012934055179357529, -0.14161399006843567, -0.35732996463775635, -0.12229961901903152, -0.05737130343914032, 0.1886100471019745, 0.12630848586559296, -0.32585448026657104, -0.1358693689107895, -0.05560005083680153, -0.034550413489341736, -0.1124543845653534, 0.1661723554134369, -0.21758851408958435, -0.01858721673488617, -0.02176833152770996, -0.17529213428497314, -0.02441546320915222, -0.1565227508544922, -0.032139360904693604, 0.06442351639270782, 0.34990835189819336, 0.1681743562221527, -0.041212283074855804, -0.029940009117126465, -0.10203558951616287, -0.15071310102939606, 0.23757201433181763, 0.11979492753744125, 0.09353676438331604, 0.00715254619717598, -0.2018335908651352, 0.21197235584259033, -0.11700958013534546, 0.3816043436527252, 0.32856783270835876, -0.18161343038082123, 0.34129419922828674, 0.500965416431427, 0.05927077680826187, -0.1928836852312088, -0.05081866681575775, 0.1625148504972458, -0.05504452437162399, 0.23761039972305298, 0.20827564597129822, 0.11567595601081848, 0.2850179076194763, -0.1438366025686264, -0.0688992366194725, 0.04382142052054405, 0.3709157705307007, 0.10026821494102478, 0.15647150576114655, -0.3552975654602051, 0.10036680102348328, 0.1010265052318573, 0.3216412663459778, 0.10060961544513702, -0.01369449496269226, -0.14719271659851074, 0.4470016658306122, -0.24563565850257874, 0.34642836451530457, 0.05756784975528717, -0.5442632436752319, 0.28045523166656494, 0.06498187780380249, 0.12706442177295685, -0.10334046930074692, -0.10947167873382568, 0.7555878758430481, -0.4531744718551636, -0.1797461211681366, -0.45612478256225586, 0.08037979900836945, 0.23364350199699402, -0.11320437490940094, 0.11519938707351685, -0.2597668468952179, -0.04882664233446121, 0.03903603181242943, 0.13073515892028809, -0.294222354888916, 0.22513195872306824, -0.1312219500541687, 0.007752537727355957, -0.05444920063018799, 0.09706064313650131, 0.2587222754955292, 0.15362975001335144, -0.012266971170902252, 0.2710813581943512, 0.12742723524570465, -0.22225645184516907, 0.03548667952418327, 0.39680013060569763, 0.30665531754493713, -0.046442508697509766, 0.2178465723991394, 0.30377811193466187, -0.009227430447936058, -0.0033729150891304016, 0.20008334517478943, 0.3495936989784241, 0.24117222428321838, -0.2864566445350647, 0.20974178612232208, 0.06431569159030914, -0.07977254688739777, 0.08850665390491486, -0.09446552395820618, 0.03316522389650345, -0.35003355145454407, -0.05717980116605759, -0.2685454487800598, -0.023341309279203415, -0.39469432830810547, -0.17348799109458923, -0.39840763807296753, 0.11357654631137848, 0.18974438309669495, -0.03251281753182411, -0.04954131692647934, -0.13678230345249176, 0.011346433311700821, -0.19292233884334564, 0.6166900396347046, 0.2096518874168396, 0.4574238061904907, -0.2496415674686432, -0.2590188980102539, -0.3964890241622925, -0.05250602215528488, -0.4404814541339874, 0.03120623342692852, -0.014376051723957062, 0.16296550631523132, 0.25095197558403015, 0.10291241109371185, 0.03270810842514038, -0.023922717198729515, -0.0064830780029296875, 0.2226107120513916, -0.18437574803829193, -0.12163986265659332, -0.12212862074375153, 0.32858243584632874, 0.019115347415208817, -0.11029794812202454, 0.05216860771179199, -0.11053191125392914, -0.15635895729064941, 0.024154523387551308, 0.12213459610939026, -0.21715420484542847, -0.2559945285320282, 0.3695071339607239, -0.048683613538742065, 0.49973657727241516, 0.09492216259241104, -0.19525732100009918, -0.0594015009701252, -0.13283635675907135, 0.1831643134355545, 0.2754475772380829, 0.25004586577415466, 0.2746208608150482, 0.020050514489412308, 0.1094323992729187, -0.22555749118328094, 0.38544246554374695, 0.0652119442820549, -0.3410451114177704, -0.15656068921089172, -0.017693093046545982, -0.18046388030052185, 0.09240465611219406, 0.3830642104148865, 0.10000008344650269, -0.30709874629974365, -0.13522221148014069, -0.20146632194519043, 0.015644608065485954, 0.6846648454666138, -0.14776647090911865, -0.1468614786863327, 0.013810123316943645, 0.10279066860675812, 0.27056556940078735, -0.2570614218711853, -0.74671870470047, 0.2424597144126892, 0.15065477788448334, -0.07509326189756393, -0.10615864396095276, 0.33980709314346313, -0.002990463748574257, -0.07433353364467621, -0.056027475744485855, 0.5990816354751587, -0.019658632576465607, -0.11597669869661331, -0.037115465849637985, -0.1844186931848526 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
I don't think we have a great solution for `dataset_infos.json` with a single very large config when storage space is an issue, but it should be solved by the same upcoming feature mentioned above
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
34
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). I don't think we have a great solution for `dataset_infos.json` with a single very large config when storage space is an issue, but it should be solved by the same upcoming feature mentioned above
[ -0.20752790570259094, 0.10643795132637024, -0.1231020987033844, 0.11491282284259796, -0.013599302619695663, 0.2170896828174591, 0.3050498068332672, 0.3449438214302063, -0.06948018074035645, 0.1565214991569519, 0.2325543910264969, 0.11850885301828384, -0.19833867251873016, 0.3870083689689636, 0.21674862504005432, -0.050044938921928406, 0.05002457648515701, 0.1418897658586502, 0.29929307103157043, 0.21862401068210602, -0.15426599979400635, 0.03405052796006203, -0.09591079503297806, -0.3411766290664673, -0.3877124488353729, -0.11784001439809799, -0.2352965921163559, -0.06454316526651382, -0.27243098616600037, -0.5029526352882385, 0.07536514848470688, 0.06329629570245743, -0.024830147624015808, 0.4748886227607727, -0.00012181144848000258, -0.09170594066381454, 0.42804408073425293, -0.2043432891368866, -0.6500174403190613, -0.11994136869907379, -0.18740591406822205, -0.3794790804386139, 0.07754836231470108, -0.050407059490680695, -0.07082721590995789, -0.10450618714094162, 0.06653080135583878, -0.39495977759361267, 0.12907926738262177, 0.35437488555908203, 0.10696333646774292, -0.05125250294804573, -0.22716674208641052, -0.4243701994419098, 0.44823673367500305, 0.24603424966335297, -0.14721518754959106, 0.13369467854499817, 0.46197134256362915, -0.017200229689478874, 0.12470758706331253, 0.054446130990982056, 0.39704886078834534, -0.02049429714679718, 0.07504389435052872, -0.10387961566448212, -0.42179545760154724, -0.2836182117462158, 0.13009226322174072, 0.4602360129356384, 1.1136364936828613, -0.05398953706026077, -0.39398232102394104, -0.10540720820426941, 0.17132872343063354, -0.1448342651128769, 0.3569268584251404, 0.326958030462265, -0.21930943429470062, -0.041032928973436356, -0.44742727279663086, -0.21535910665988922, -0.23167726397514343, 0.23922231793403625, 0.14936193823814392, -0.09200316667556763, -0.03767767176032066, 0.06611932814121246, 0.14381718635559082, -0.2613293528556824, 0.1589382290840149, -0.325264036655426, -0.2617507576942444, 0.16670186817646027, 0.02151891216635704, -0.17546507716178894, -0.2054048478603363, -0.11780903488397598, 0.5254718661308289, 0.21021299064159393, 0.20109878480434418, 0.04273474961519241, 0.011910281144082546, 0.11352115869522095, 0.12467639148235321, 0.3475989103317261, 0.19254866242408752, 0.06753851473331451, 0.08165474236011505, 0.2664891183376312, 0.2604396939277649, -0.060791805386543274, -0.06692676991224289, -0.3007778227329254, -0.1955534964799881, -0.20230084657669067, 0.1642276644706726, -0.19376803934574127, -0.12003880739212036, 0.2764952480792999, -0.0465766079723835, -0.1613537222146988, 0.18804793059825897, 0.44161292910575867, -0.20984004437923431, -0.07764089852571487, 0.1494935303926468, 0.23589693009853363, 0.10046771913766861, -0.08493376523256302, -0.0800323486328125, 0.250811904668808, -0.2965618073940277, 0.20296157896518707, 0.5063722133636475, 0.18512891232967377, 0.39703404903411865, -0.06857724487781525, 0.1390821784734726, 0.061344213783741, 0.2894585132598877, -0.06411170959472656, -0.0015092045068740845, 0.13478872179985046, -0.0011129938066005707, 0.1446811854839325, -0.2759242057800293, -0.06515844911336899, -0.14188259840011597, 0.1790788471698761, 0.001928962767124176, -0.4115334749221802, -0.11569945514202118, 0.1149032711982727, -0.2706841826438904, 0.09897248446941376, -0.2781338691711426, 0.34964579343795776, -0.08956684917211533, -0.22207103669643402, -0.043951936066150665, 0.25877755880355835, 0.04317456856369972, -0.05615125969052315, 0.32359275221824646, 0.46351468563079834, -0.6695700883865356, 0.1486111879348755, -0.0069181667640805244, 0.02736428566277027, -0.06343556195497513, -0.1420479267835617, -0.3489941656589508, 0.292744904756546, -0.1513686627149582, -0.08362367749214172, 0.32972750067710876, -0.21585828065872192, -0.27489733695983887, 0.3060423731803894, 0.14368033409118652, -0.09913352876901627, 0.19183635711669922, 0.0791323333978653, -0.0910971537232399, 0.18212397396564484, 0.12610626220703125, 0.28036797046661377, -0.01846134103834629, -0.09034008532762527, -0.16480444371700287, -0.327960729598999, 0.11001236736774445, 0.26216262578964233, -0.22176919877529144, -0.17350420355796814, -0.18039903044700623, 0.06838959455490112, 0.14111384749412537, -0.11083799600601196, 0.12480180710554123, 0.2543819546699524, 0.3375409245491028, -0.17351511120796204, -0.0451892651617527, 0.03198999911546707, -0.5848008394241333, 0.3852517604827881, 0.1378171294927597, 0.11351384222507477, 0.11694367974996567, -0.12510335445404053, -0.36845532059669495, 0.03955985605716705, -0.10384464263916016, -0.2583787143230438, -0.025594210252165794, 0.04150041565299034, 0.17754694819450378, -0.24395966529846191, -0.15893040597438812, 0.12239846587181091, 0.10316281020641327, -0.01985776424407959, -0.691792368888855, 0.04528650641441345, -0.12122387439012527, -0.10523243248462677, -0.017578773200511932, -0.1584075689315796, -0.12240397185087204, -0.459003210067749, -0.16253629326820374, 0.353653222322464, 0.3003353774547577, -0.11344294250011444, 0.2519947290420532, -0.09286017715930939, 0.029051395133137703, -0.022694725543260574, 0.0815221518278122, 0.0464443638920784, 0.044823937118053436, -0.015318617224693298, -0.777870237827301, 0.2028380036354065, 0.21420660614967346, 0.008770652115345001, 0.01994011551141739, -0.14667615294456482, 0.39362990856170654, -0.05341038107872009, -0.042038362473249435, 0.003316044807434082, 0.2333219200372696, 0.4922806918621063, 0.3458956778049469, -0.1307729184627533, -0.07873483747243881, -0.007525607943534851, 0.011776439845561981, -0.34300345182418823, -0.12790337204933167, 0.31514790654182434, 0.08697463572025299, -0.27271249890327454, 0.1658010184764862, 0.1442996710538864, 0.5214603543281555, 0.12216739356517792, 0.09356307983398438, -0.09345860034227371, 0.20674975216388702, -0.10903631895780563, 0.2365352362394333, -0.18381284177303314, 0.0660993754863739, 0.057905036956071854, 0.15120521187782288, -0.44634687900543213, -0.02745683677494526, -0.46385520696640015, 0.45909637212753296, 0.5004132390022278, -0.2619899809360504, -0.08474844694137573, 0.002389863133430481, 0.3545307219028473, 0.10843608528375626, 0.07125736773014069, 0.00017657876014709473, -0.02293097786605358, 0.2782818675041199, 0.17907090485095978, 0.03170697018504143, 0.09556825459003448, -0.11785894632339478, 0.5196529626846313, 0.05348508805036545, -0.24507461488246918, -0.1422296166419983, 0.01630115695297718, -0.17946258187294006, 0.07919156551361084, 0.15663142502307892, 0.12974408268928528, 0.11818628758192062, -0.18767620623111725, -0.08145420998334885, -0.059466928243637085, -0.1680033653974533, 0.17870157957077026, 0.24265632033348083, 0.5925936102867126, 0.17679649591445923, 0.38099396228790283, 0.15930454432964325, -0.035906512290239334, 0.02500906214118004, 0.10391262173652649, -0.2649306356906891, 0.032734330743551254, -0.06429724395275116, -0.11443399637937546, 0.007475461810827255, -0.5939391851425171, -0.2048310935497284, -0.1855233609676361, 0.40671640634536743, 0.1524326205253601, 0.12205032259225845, 0.11932171881198883, 0.6263672709465027, 0.12535811960697174, 0.08492553234100342, -0.102696992456913, -0.05540212616324425, -0.798524022102356, 0.38724374771118164, -0.27032962441444397, -0.22485704720020294, 0.043522875756025314, -0.2733948826789856, 0.1234423965215683, 0.00010582990944385529, -0.4585890769958496, -0.10034450143575668, -0.3076963722705841, 0.29313528537750244, -0.17563971877098083, -0.17356616258621216, 0.32566630840301514, -0.10980173200368881, -0.07058826833963394, -0.13838094472885132, -0.315951406955719, 0.22594043612480164, 0.0384291410446167, 0.5107932686805725, -0.21520978212356567, 0.039060741662979126, -0.22945663332939148, 0.495464026927948, 0.20367208123207092, -0.12622018158435822, 0.10409393906593323, -0.18066523969173431, 0.35370269417762756, -0.14490893483161926, -0.10805099457502365, -0.06721346825361252, 0.08034831285476685, -0.15975326299667358, 0.19251134991645813, 0.10826989263296127, -0.15687520802021027, -0.13556866347789764, 0.00751781091094017, -0.09330122917890549, -0.007996022701263428, 0.43789705634117126, -0.3754499852657318, -0.04676530510187149, -0.14290396869182587, 0.028164498507976532, -0.28331437706947327, -0.09873134642839432, -0.3465769290924072, 0.10727125406265259, 0.049244415014982224, -0.17417417466640472, -0.5942147970199585, -0.27215665578842163, -0.2209985852241516, 0.22010716795921326, -0.10138007253408432, 0.25416406989097595, -0.1314077228307724, 0.06965738534927368, 0.051968902349472046, -0.18595732748508453, 0.6606506109237671, -0.42473599314689636, -0.13634957373142242, 0.16926519572734833, 0.36851418018341064, -0.32623469829559326, -0.06413328647613525, -0.20228292047977448, 0.18972153961658478, 0.08942382037639618, 0.51473468542099, -0.26910144090652466, -0.15578289330005646, 0.12723469734191895, 0.3292541205883026, -0.11971378326416016, -0.13148923218250275, -0.05276242643594742, -0.21445819735527039, -0.3278060853481293, -0.013548269867897034, -0.09303416311740875, 0.1281965970993042, -0.00587947154417634, -0.2420361489057541, 0.17620348930358887, 0.11179836839437485, 0.20522940158843994, 0.3394910395145416, 0.16069936752319336, 0.2548867464065552, 0.32165294885635376, 0.01222991943359375, 0.014270022511482239, 0.5079149603843689, 0.4521200358867645, -0.18392635881900787, -0.07131494581699371, 0.1944034993648529, -0.008570527657866478, 0.24731788039207458, 0.36321723461151123, -0.053746938705444336, 0.024677395820617676, -0.052122294902801514, 0.14987918734550476, -0.0683390200138092, 0.4403034746646881, 0.2967526614665985, -0.23286981880664825, -0.10618556290864944, -0.5783858895301819, 0.47758564352989197, 0.009567340835928917, -0.07000389695167542, 0.4078965187072754, -0.37897711992263794, -0.06307278573513031, 0.23370902240276337, -0.18670007586479187, 0.9418237209320068, 0.008262589573860168, 0.06371728330850601, 0.04347248747944832, 0.06650599092245102, 0.1892774999141693, -0.5189180970191956, 0.04724638909101486, -0.29810842871665955, -0.09582024812698364, 0.14024262130260468, -0.2604653835296631, 0.14787963032722473, 0.3879210352897644, -0.4712789058685303, 0.10606130212545395, -0.4505770206451416, 0.023354578763246536, -0.2503732740879059, 0.6214216947555542, -0.3947412371635437, -0.20348282158374786, -0.2501784861087799, 0.10988707840442657, 0.07331694662570953, -0.07969485223293304, -0.07612597942352295, -0.0335957370698452, -0.49097371101379395, -0.2971732020378113, -0.27164459228515625, 0.09091005474328995, -0.2363259196281433, 0.12845434248447418, 0.06044594943523407, -0.30867069959640503, 0.1588229537010193, 0.2267061024904251, 0.12010489404201508, 0.29275721311569214, -0.3824293315410614, 0.43790489435195923, -0.2502506375312805, -0.2727661430835724, -0.2271616905927658, -0.12746146321296692, 0.04426765814423561, -0.11208891868591309, -0.5159918665885925, -0.010010063648223877, -0.3429161012172699, -0.014718245714902878, 0.28447815775871277, -0.1338074505329132, 0.1431121528148651, -0.5020378232002258, -0.1835482120513916, 0.09669263660907745, -0.12900595366954803, -0.17541645467281342, 0.0892711728811264, 0.378861665725708, -0.3558993637561798, 0.21217244863510132, 0.19177128374576569, -0.032822102308273315, -0.06518857181072235, 0.09954997897148132, -0.06949637830257416, 0.07643004506826401, 0.730614423751831, 0.15228937566280365, 0.13216985762119293, -0.21324703097343445, 0.5050060749053955, 0.632764995098114, -0.352752149105072, 0.13096661865711212, 0.04619670286774635, -0.18258211016654968, -0.08700817078351974, 0.2985733449459076, 0.2810942828655243, 0.0007736161351203918, 0.25231122970581055, -0.14161017537117004, -0.40341055393218994, 0.20962248742580414, 0.05119665339589119, 0.578473687171936, -0.23034793138504028, -0.13702301681041718, 0.07392171025276184, 0.2854060232639313, -0.23185095191001892, 0.24292044341564178, -0.2832730710506439, 0.28543710708618164, 0.20248976349830627, 0.032964468002319336, 0.2545982301235199, -0.17581699788570404, 0.03995071351528168, -0.2275313287973404, -0.3004150986671448, -0.17580506205558777, -0.053490377962589264, 0.15988551080226898, 0.06228688359260559, -0.17059658467769623, -0.09573089331388474, -0.1502288281917572, -0.07263751327991486, -0.11778688430786133, 0.034292805939912796, -0.25300395488739014, 0.004949212074279785, -0.007562738377600908, -0.23756437003612518, -0.10187385231256485, -0.065178282558918, -0.016980398446321487, 0.053822241723537445, 0.47001779079437256, 0.12300606071949005, 0.13907429575920105, 0.11976542323827744, -0.13019900023937225, -0.2641008198261261, 0.25007346272468567, -0.03375804424285889, 0.22980445623397827, -0.06624951213598251, -0.16385076940059662, 0.21666273474693298, -0.07352146506309509, 0.10529603809118271, 0.4752011001110077, -0.21157795190811157, 0.3054622411727905, 0.4574344754219055, 0.11983179301023483, -0.16820278763771057, -0.2001950442790985, 0.017621558159589767, -0.058076851069927216, 0.1710290014743805, 0.16961829364299774, 0.11069299280643463, 0.1354917287826538, -0.09486077725887299, -0.013655200600624084, 0.015025153756141663, 0.30825209617614746, 0.16161292791366577, 0.3387943208217621, -0.3881915211677551, -0.02756146714091301, 0.006020352244377136, 0.2360537201166153, 0.18034273386001587, 0.0992022156715393, 0.011766642332077026, 0.462430477142334, 0.06037192419171333, 0.19433188438415527, -0.02258767932653427, -0.5301827192306519, 0.39646434783935547, 0.04490261524915695, 0.01015956699848175, -0.0029997974634170532, 0.061357587575912476, 0.4617665112018585, -0.4084813892841339, 0.005168937146663666, -0.37227195501327515, -0.13544854521751404, 0.20211783051490784, -0.1936333179473877, -0.02442718669772148, -0.23342391848564148, 0.019734106957912445, 0.024498071521520615, 0.12232360243797302, -0.14930807054042816, 0.16494101285934448, -0.1767844408750534, -0.11161066591739655, 0.05052339285612106, 0.5406839847564697, 0.2681017816066742, 0.0330117866396904, -0.17898668348789215, 0.2752090096473694, 0.04033122956752777, -0.2698897123336792, 0.02818571776151657, 0.33905884623527527, 0.3697233498096466, 0.06761187314987183, 0.09284868836402893, 0.1965028941631317, 0.08192229270935059, -0.0444001629948616, 0.0809890404343605, 0.2192573845386505, 0.3959958553314209, -0.4505563974380493, 0.19487598538398743, 0.09443976730108261, -0.07149424403905869, 0.1196763664484024, 0.296629935503006, -0.08484348654747009, -0.21435078978538513, -0.1476900577545166, -0.057446934282779694, -0.11862874031066895, -0.209007129073143, -0.09009597450494766, -0.32643812894821167, -0.1688953936100006, 0.3053315579891205, -0.08452433347702026, 0.05070219188928604, -0.047687429934740067, 0.04355388879776001, -0.2916465103626251, 0.6797264218330383, -0.171448215842247, 0.19855883717536926, -0.16263599693775177, -0.14068986475467682, -0.2650231122970581, -0.041297174990177155, -0.5784898996353149, 0.05399566888809204, 0.03634468466043472, 0.24995894730091095, 0.22533467411994934, -0.07990487664937973, 0.03972102701663971, -0.028708428144454956, 0.019942261278629303, 0.3657434284687042, -0.3962229788303375, -0.18722517788410187, 0.2027825117111206, 0.4129233956336975, 0.04319538176059723, -0.1910114884376526, 0.02765054628252983, -0.07135694473981857, -0.08771232515573502, -0.1007443368434906, -0.09271317720413208, 0.10346932709217072, -0.020995669066905975, 0.5078423023223877, -0.06839054822921753, 0.4534544050693512, 0.02302113175392151, -0.16043691337108612, -0.25844842195510864, -0.1197439581155777, 0.31981563568115234, 0.3401310443878174, 0.4625619947910309, 0.20138825476169586, 0.011959122493863106, 0.2889488637447357, -0.11617818474769592, 0.090547576546669, -0.1247735247015953, -0.3165343105792999, -0.06757958233356476, -0.07997346669435501, -0.07761812210083008, 0.27741432189941406, 0.15646740794181824, 0.1227450743317604, -0.3608304560184479, -0.09244146198034286, -0.09905444830656052, -0.09347300231456757, 0.5453376770019531, 0.057055555284023285, -0.35232219099998474, 0.11148182302713394, 0.04727064073085785, -0.024168170988559723, 0.08619243651628494, -0.4576411843299866, 0.19628876447677612, 0.2586076557636261, -0.10459668189287186, -0.21373596787452698, 0.2390374094247818, 0.13988271355628967, -0.1237822026014328, 0.00152500718832016, 0.520940899848938, -0.06222604215145111, -0.12197187542915344, -0.24519599974155426, -0.27159157395362854 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
Okay, then I won't pursue this one further. I'll keep this branch on my repository just in case the possibility of adding this dataset comes up in the future. > So currently you do need to download the whole dataset when using it, we are working on making it easier to stream parts of it from a remote host. You can also use the filesystem integration if local storage is an issue: > https://huggingface.co/docs/datasets/master/filesystems.html After downloading the whole dataset (around 1.4GB), it still loads all the examples despite using `split='train[:10%]'` or `split='train[10:20]'`. EDIT: I think this would happen only when the examples are generated for the first time and saved to the cache. Streaming parts of the data from a remote host sounds amazing! But, would that also allow for streaming examples of the data from the local cache? (without saving all the examples the first time). What I used: `d = load_dataset('./datasets/celeb_a',split='train[:10]')` Output: `570 examples [01:33, 6.25 examples/s]` and it keeps going. EDIT 2: After a few thousand images, I get the following error: ```python OSError: [Errno 24] Too many open files: '~/.cache/huggingface/datasets/celeb_a/default/1.1.0/01f9dca66039ab7c40b91b09af47a5fa8c3e49dc8d55df50da55b14116229207.incomplete' ``` I understand this is because of the way I load the images : ```python Image.open(<path>) ``` What could be better alternative? I am only asking in case I face the same issues in the future.
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
220
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). Okay, then I won't pursue this one further. I'll keep this branch on my repository just in case the possibility of adding this dataset comes up in the future. > So currently you do need to download the whole dataset when using it, we are working on making it easier to stream parts of it from a remote host. You can also use the filesystem integration if local storage is an issue: > https://huggingface.co/docs/datasets/master/filesystems.html After downloading the whole dataset (around 1.4GB), it still loads all the examples despite using `split='train[:10%]'` or `split='train[10:20]'`. EDIT: I think this would happen only when the examples are generated for the first time and saved to the cache. Streaming parts of the data from a remote host sounds amazing! But, would that also allow for streaming examples of the data from the local cache? (without saving all the examples the first time). What I used: `d = load_dataset('./datasets/celeb_a',split='train[:10]')` Output: `570 examples [01:33, 6.25 examples/s]` and it keeps going. EDIT 2: After a few thousand images, I get the following error: ```python OSError: [Errno 24] Too many open files: '~/.cache/huggingface/datasets/celeb_a/default/1.1.0/01f9dca66039ab7c40b91b09af47a5fa8c3e49dc8d55df50da55b14116229207.incomplete' ``` I understand this is because of the way I load the images : ```python Image.open(<path>) ``` What could be better alternative? I am only asking in case I face the same issues in the future.
[ -0.07903376966714859, -0.2873210906982422, -0.02243034914135933, 0.16058561205863953, -0.02174544334411621, 0.22351989150047302, 0.28396862745285034, 0.15360306203365326, 0.10020722448825836, 0.14180275797843933, 0.035029150545597076, -0.033085353672504425, -0.12037786096334457, 0.3468625545501709, 0.27277255058288574, -0.17642472684383392, 0.1601380705833435, 0.11859159171581268, 0.0758657455444336, -0.00003104656934738159, -0.0986567884683609, 0.09935015439987183, -0.08740845322608948, -0.3329193592071533, -0.3774704933166504, -0.08377804607152939, -0.17193017899990082, 0.18540433049201965, -0.2528456747531891, -0.48201844096183777, 0.04545793682336807, 0.06258188188076019, 0.053220510482788086, 0.544072151184082, -0.00012541837349999696, -0.106223925948143, 0.2879107594490051, -0.1646103411912918, -0.6584134697914124, -0.30537891387939453, 0.15048202872276306, -0.30036431550979614, 0.16823042929172516, 0.02232719212770462, -0.10808350890874863, -0.15077167749404907, 0.0729551613330841, -0.305421382188797, 0.5426760315895081, 0.1875852793455124, 0.052216000854969025, 0.253179669380188, -0.10126742720603943, -0.2214769423007965, 0.31739097833633423, 0.15834860503673553, -0.15695464611053467, 0.37593358755111694, 0.4248974025249481, -0.0034533217549324036, 0.14976298809051514, 0.32614633440971375, 0.3180849552154541, 0.12246456742286682, 0.23354750871658325, 0.04734966903924942, -0.5300729274749756, -0.39440008997917175, 0.09091547131538391, 0.48120948672294617, 0.6550896763801575, -0.08660485595464706, -0.5470677018165588, -0.40265288949012756, 0.06734450161457062, -0.3095606565475464, 0.13885173201560974, 0.4224601984024048, -0.31614261865615845, -0.03386571630835533, -0.4224012792110443, -0.12943048775196075, -0.18166862428188324, 0.19675415754318237, 0.11772871017456055, -0.21887168288230896, -0.22245019674301147, 0.08374252915382385, 0.3371065855026245, -0.02769196406006813, -0.1340526044368744, -0.23716703057289124, -0.07468172907829285, 0.1835245043039322, 0.03245990723371506, 0.05473336577415466, 0.11053036898374557, 0.37750735878944397, 0.4519650638103485, 0.2522733211517334, 0.2799868881702423, 0.01477581076323986, -0.151370108127594, 0.07327025383710861, 0.1401161551475525, 0.2698894143104553, 0.0979313850402832, 0.01170103158801794, 0.05185961350798607, 0.44493335485458374, 0.21515867114067078, -0.18216589093208313, 0.06482496112585068, -0.09201610833406448, -0.1993812620639801, -0.19917166233062744, 0.24923087656497955, -0.266380250453949, 0.01643037609755993, 0.17198312282562256, -0.005524296313524246, -0.10478539764881134, 0.1390991508960724, 0.4981314539909363, -0.2690030336380005, -0.12098964303731918, 0.1044987142086029, 0.36895132064819336, -0.056441530585289, -0.15657252073287964, -0.1058693528175354, 0.12307566404342651, -0.2720891237258911, 0.3455406427383423, 0.40813758969306946, -0.284257173538208, 0.46152350306510925, -0.11180493235588074, 0.30380213260650635, 0.12342117726802826, 0.2493901550769806, -0.1186886578798294, 0.22692176699638367, 0.09721679985523224, -0.04049985855817795, 0.09625303000211716, 0.06130262091755867, -0.11433792859315872, -0.08754807710647583, -0.0061879828572273254, 0.04344503954052925, -0.3948163688182831, -0.14613017439842224, 0.02084827423095703, -0.2681523263454437, 0.16422031819820404, -0.33827388286590576, 0.2708210051059723, -0.10317087918519974, -0.15704688429832458, 0.0077109262347221375, 0.20243646204471588, -0.0007393471896648407, 0.04045476019382477, 0.45437556505203247, 0.6921499967575073, -0.4488540291786194, -0.08914369344711304, 0.15521082282066345, 0.10432983934879303, -0.17137950658798218, 0.030692795291543007, -0.342096745967865, 0.1925203949213028, -0.21615581214427948, -0.17383897304534912, 0.0741320252418518, -0.31989729404449463, -0.27774131298065186, 0.23113669455051422, 0.1442139595746994, 0.17019765079021454, 0.20968814194202423, 0.001343532232567668, -0.029130499809980392, 0.10328293591737747, -0.07764492928981781, 0.269522100687027, -0.135367751121521, -0.10079265385866165, -0.17687538266181946, -0.2295527160167694, -0.04001045227050781, 0.31189626455307007, -0.20677198469638824, -0.02156287431716919, -0.011569231748580933, -0.14737868309020996, 0.2128189206123352, -0.24865588545799255, 0.051357999444007874, 0.2114456444978714, 0.34235480427742004, 0.04278682917356491, -0.01725207455456257, 0.08117223531007767, -0.5686715245246887, 0.4139558970928192, 0.09455916285514832, 0.20701740682125092, -0.13431765139102936, -0.1804518848657608, -0.32220354676246643, -0.019004827365279198, -0.2411051243543625, -0.3268168866634369, -0.08485330641269684, 0.09693989157676697, 0.3075375556945801, 0.03985411301255226, -0.20827312767505646, 0.2537249028682709, 0.018889321014285088, 0.21838422119617462, -0.7881457805633545, 0.18359267711639404, -0.0006129387766122818, -0.16589735448360443, -0.14094582200050354, -0.07516763359308243, -0.01606638729572296, -0.4983779191970825, -0.10389882326126099, 0.4780302941799164, 0.17144465446472168, 0.07122199982404709, 0.15777012705802917, -0.08538265526294708, 0.24215465784072876, -0.1461191475391388, 0.021604228764772415, 0.20071643590927124, 0.18963655829429626, -0.01383483037352562, -0.689460277557373, 0.2386302351951599, 0.18181850016117096, 0.1997324824333191, 0.18489709496498108, -0.16017082333564758, 0.10886074602603912, 0.06768909096717834, -0.22326351702213287, -0.06537673622369766, 0.39927852153778076, 0.19364717602729797, 0.318053662776947, -0.3015659749507904, -0.18791861832141876, 0.027526482939720154, -0.058096881955862045, -0.34474512934684753, -0.14983084797859192, 0.25431379675865173, -0.04295986145734787, -0.12394371628761292, 0.25718769431114197, 0.14873532950878143, 0.34764987230300903, 0.08565189689397812, 0.1854970008134842, 0.03977019712328911, 0.21183514595031738, -0.14792752265930176, 0.003375828266143799, -0.05954444408416748, -0.10521674156188965, -0.015037626028060913, 0.1000879779458046, -0.2993572950363159, -0.201323002576828, -0.2928217351436615, 0.10139816999435425, 0.29047074913978577, -0.29683035612106323, 0.15508997440338135, -0.0053815897554159164, 0.10606711357831955, 0.02907869964838028, 0.10664491355419159, -0.12979143857955933, -0.12975189089775085, 0.10418424755334854, 0.3713711202144623, 0.028796609491109848, 0.0882357582449913, -0.17235973477363586, 0.502155601978302, -0.06087058037519455, -0.1265748292207718, -0.13735583424568176, -0.08854508399963379, -0.15196934342384338, -0.019367286935448647, 0.2579074800014496, 0.0833619236946106, 0.3079107105731964, -0.30331140756607056, -0.09918183833360672, -0.2476952075958252, -0.2121129333972931, 0.1801484078168869, 0.09910702705383301, 0.5569272041320801, 0.07319170236587524, 0.3868520259857178, -0.08700783550739288, -0.06269481033086777, 0.23662185668945312, -0.1083623468875885, -0.1429913192987442, 0.013128641992807388, -0.06995340436697006, 0.051059283316135406, -0.005409620702266693, -0.34092646837234497, -0.1799210011959076, -0.18203532695770264, 0.49915647506713867, 0.08386977016925812, 0.037520334124565125, 0.32170620560646057, 0.3742705285549164, 0.13181917369365692, -0.21132807433605194, -0.06220244616270065, -0.12726160883903503, -0.7983307838439941, 0.3399991989135742, -0.3776848316192627, -0.42137518525123596, -0.0536373145878315, -0.2768101692199707, 0.12475070357322693, 0.022726725786924362, -0.5188586711883545, -0.432826966047287, -0.218728706240654, 0.20184281468391418, -0.09468957781791687, 0.11341413855552673, 0.2455199509859085, -0.22448746860027313, -0.0279979407787323, -0.040925752371549606, -0.1805291622877121, 0.14268597960472107, 0.04162444546818733, 0.4013318717479706, -0.19068312644958496, 0.1910979151725769, -0.13305321335792542, 0.7626105546951294, 0.2711760103702545, -0.0728759765625, 0.3714902997016907, -0.0719083696603775, 0.5072010159492493, -0.26464641094207764, -0.35790231823921204, 0.0024037782568484545, -0.19184845685958862, -0.16346672177314758, 0.19548562169075012, 0.2595096230506897, 0.04168593883514404, -0.30065542459487915, 0.1201707273721695, -0.3754185140132904, -0.11215193569660187, 0.2855971157550812, -0.10401028394699097, 0.018847700208425522, -0.1602938026189804, 0.023994706571102142, -0.1610666811466217, -0.2093333601951599, -0.17439299821853638, 0.242777481675148, 0.3677731454372406, -0.11647472530603409, -0.48284828662872314, -0.033228032290935516, -0.4316895008087158, 0.301327645778656, 0.01398950070142746, -0.06747495383024216, -0.1619839370250702, -0.029376797378063202, 0.1372806578874588, -0.058389026671648026, 0.6183629035949707, -0.17742693424224854, -0.1283898949623108, 0.010772136971354485, 0.07515399158000946, -0.5373547673225403, 0.012684494256973267, -0.1728699654340744, 0.15885871648788452, 0.1094614714384079, 0.3707440197467804, -0.38728511333465576, -0.06494300067424774, 0.08889231085777283, 0.4416923224925995, -0.008426718413829803, -0.10578959435224533, -0.24618443846702576, -0.32295265793800354, -0.42944571375846863, 0.05608975514769554, -0.04561646655201912, 0.10400616377592087, 0.011890693567693233, -0.1349010467529297, 0.2248704731464386, 0.04781871289014816, 0.21278099715709686, 0.23060031235218048, 0.2202472686767578, 0.31441545486450195, 0.350668340921402, 0.10362361371517181, 0.11157499253749847, 0.27504420280456543, 0.5929834246635437, -0.22573459148406982, -0.2320685088634491, 0.06626236438751221, 0.11896471679210663, 0.019413433969020844, 0.48355406522750854, -0.11207340657711029, 0.02463001012802124, 0.26250162720680237, 0.36477142572402954, -0.11330168694257736, 0.3816719949245453, 0.18789593875408173, -0.1526438593864441, -0.12483379989862442, -0.41855528950691223, 0.4991244971752167, 0.017886418849229813, -0.03277231752872467, 0.44026437401771545, 0.03213709592819214, 0.046236082911491394, 0.13141730427742004, -0.23569655418395996, 1.027068018913269, -0.08123268187046051, 0.20996755361557007, 0.3133036196231842, 0.12004260718822479, 0.40225255489349365, -0.2293911874294281, 0.03282203897833824, -0.036609239876270294, -0.24188022315502167, 0.010917918756604195, -0.2234761267900467, 0.18928226828575134, 0.2636517584323883, -0.21211111545562744, 0.22099809348583221, -0.4126831889152527, 0.10528697073459625, -0.2175406664609909, 0.4749256372451782, -0.4740021526813507, -0.297569215297699, -0.4019621014595032, 0.09086667001247406, 0.15113504230976105, 0.2347833812236786, -0.11646397411823273, -0.07036590576171875, -0.38385090231895447, -0.3057442307472229, -0.12530072033405304, 0.041932448744773865, -0.38274431228637695, -0.02922825515270233, 0.017066093161702156, -0.517614483833313, -0.03808577358722687, 0.2614106833934784, 0.3096795976161957, -0.12347821891307831, -0.3046601414680481, 0.368213951587677, -0.34064242243766785, -0.30126577615737915, -0.21816936135292053, -0.15617339313030243, 0.14855320751667023, -0.1558701992034912, -0.3486531376838684, 0.0982411578297615, -0.18418501317501068, -0.10043225437402725, 0.2848486304283142, 0.0076550692319869995, 0.0025524385273456573, -0.3746871054172516, -0.17920681834220886, 0.10601232945919037, -0.009066551923751831, -0.18457745015621185, -0.0006566978991031647, 0.4188636541366577, -0.33742913603782654, -0.006071783602237701, 0.11240996420383453, -0.034988563507795334, -0.17321261763572693, 0.22635844349861145, -0.2151344120502472, -0.1168920174241066, 0.5737993717193604, 0.26195430755615234, 0.042102739214897156, -0.08755011856555939, 0.1789051592350006, 0.6184195876121521, -0.6307598352432251, 0.09061422944068909, 0.13256122171878815, 0.0819610208272934, -0.2588489353656769, 0.3713291883468628, 0.35688841342926025, -0.024099119007587433, 0.2203492373228073, -0.11937852203845978, -0.40418145060539246, 0.26844698190689087, 0.11626787483692169, 0.35274025797843933, -0.19565099477767944, -0.06441524624824524, 0.25871092081069946, 0.26005154848098755, -0.18254996836185455, 0.3271300196647644, -0.13396763801574707, 0.19731609523296356, 0.48390230536460876, -0.04066258668899536, 0.4070563316345215, -0.2228364646434784, -0.04811444878578186, -0.03002425655722618, -0.3298267424106598, -0.111115463078022, -0.031351204961538315, 0.19691863656044006, 0.06417226791381836, -0.37576064467430115, -0.08889319747686386, -0.0038088206201791763, 0.05935065820813179, -0.21297110617160797, 0.2648278772830963, -0.15611132979393005, 0.030609797686338425, -0.15610991418361664, -0.1237262487411499, 0.04825020954012871, -0.11028348654508591, -0.03520382195711136, -0.02005881816148758, 0.34406691789627075, 0.3038026988506317, -0.05704665184020996, 0.023313991725444794, -0.14653906226158142, -0.08092697709798813, 0.25310438871383667, 0.06212964653968811, 0.03333655372262001, 0.05711169168353081, -0.2843564748764038, 0.12828385829925537, -0.04830201342701912, 0.38732874393463135, 0.341586172580719, -0.19024322926998138, 0.3258916437625885, 0.5074183940887451, 0.054421938955783844, -0.1401698738336563, -0.042013250291347504, 0.08464798331260681, -0.04960659146308899, 0.295942097902298, 0.3126823604106903, 0.11636681854724884, 0.1254320591688156, -0.032761722803115845, -0.003691853955388069, 0.04972927272319794, 0.3353866934776306, 0.26675280928611755, 0.19553174078464508, -0.28768447041511536, 0.08681745827198029, -0.09203432500362396, 0.2627745270729065, 0.16224664449691772, -0.21700595319271088, -0.20940256118774414, 0.5353376269340515, -0.28752636909484863, 0.33908846974372864, 0.11204440891742706, -0.6692966222763062, 0.2763824760913849, 0.042471110820770264, 0.07377774268388748, 0.11621418595314026, -0.20121490955352783, 0.7339317202568054, -0.38091930747032166, -0.19834740459918976, -0.424357533454895, 0.10864047706127167, 0.31188514828681946, -0.13813671469688416, 0.18716633319854736, -0.27587759494781494, -0.048123862594366074, 0.07241523265838623, 0.13865569233894348, -0.4281596541404724, 0.08966298401355743, -0.14458385109901428, -0.12833617627620697, -0.09979471564292908, -0.11696117371320724, 0.2565014660358429, 0.23761868476867676, -0.01785852015018463, 0.2639278769493103, 0.23490534722805023, -0.13302789628505707, -0.0018600709736347198, 0.34143438935279846, 0.39480775594711304, 0.07575061917304993, 0.16291317343711853, 0.34492066502571106, 0.04540831595659256, 0.041429147124290466, 0.13013553619384766, 0.23959055542945862, 0.24081896245479584, -0.27324187755584717, 0.28715115785598755, 0.037377215921878815, -0.12709403038024902, 0.07989225536584854, -0.0877649337053299, 0.03321704640984535, -0.4455406665802002, -0.12268581241369247, -0.2761967182159424, 0.027940355241298676, -0.33868303894996643, -0.14967891573905945, -0.5072475075721741, 0.14045323431491852, 0.16630572080612183, -0.13482311367988586, -0.06374260783195496, -0.03895042464137077, 0.004020890220999718, -0.20947957038879395, 0.5197925567626953, 0.14201988279819489, 0.5581392645835876, -0.31890565156936646, -0.2862074077129364, -0.47710275650024414, -0.036814309656620026, -0.515285074710846, 0.04479531943798065, -0.003890497609972954, 0.21232154965400696, 0.21086370944976807, 0.20688201487064362, 0.02089013159275055, -0.022422680631279945, 0.027585577219724655, 0.18432967364788055, -0.2217305302619934, -0.15369747579097748, -0.034555405378341675, 0.3526190221309662, -0.021384652704000473, -0.15029244124889374, 0.06920850276947021, -0.11490229517221451, -0.15118759870529175, 0.15971462428569794, 0.07374274730682373, -0.24329021573066711, -0.273965060710907, 0.4958706200122833, 0.0178185123950243, 0.36815083026885986, 0.06251886487007141, -0.30918845534324646, -0.18408098816871643, -0.13255758583545685, 0.2009713053703308, 0.2966080904006958, 0.31554293632507324, 0.4039728343486786, -0.06329792737960815, -0.08975984156131744, -0.2771829664707184, 0.45287612080574036, 0.24200581014156342, -0.37060099840164185, -0.08393677324056625, -0.09852739423513412, -0.06524702906608582, 0.16883662343025208, 0.247588649392128, 0.15852570533752441, -0.3402407169342041, -0.02034904807806015, -0.12774239480495453, -0.17318740487098694, 0.7371386885643005, -0.30436429381370544, -0.0689782202243805, 0.057465359568595886, 0.2271045446395874, 0.18715821206569672, -0.20804287493228912, -0.6553612351417542, 0.2450818121433258, 0.20054346323013306, -0.07956860214471817, -0.10854470729827881, 0.24143999814987183, -0.027856625616550446, -0.16697664558887482, -0.07435739040374756, 0.47573304176330566, 0.0202748104929924, -0.14074604213237762, 0.05005752667784691, -0.1991150677204132 ]
https://github.com/huggingface/datasets/pull/1828
Add CelebA Dataset
Just some addition about loading only a subset of the data: Currently if even you specify `split='train[:10]'`, it downloads and generate the full dataset, so that you can pick another part afterward if you want to. We may change that in the future and use streaming. And about your open files issue, you can try to close each image file after reading its content.
Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10).
64
text: Add CelebA Dataset Trying to add CelebA Dataset. Need help with testing. Loading examples takes a lot of time so I am unable to generate the `dataset_infos.json` and unable to test. Also, need help with creating `dummy_data.zip`. Additionally, trying to load a few examples using `load_dataset('./datasets/celeb_a',split='train[10:20]')` still loads all the examples (doesn't stop at 10). Just some addition about loading only a subset of the data: Currently if even you specify `split='train[:10]'`, it downloads and generate the full dataset, so that you can pick another part afterward if you want to. We may change that in the future and use streaming. And about your open files issue, you can try to close each image file after reading its content.
[ -0.22233864665031433, 0.04062540829181671, -0.16027823090553284, 0.2264145016670227, 0.041549257934093475, 0.17537179589271545, 0.34343796968460083, 0.2665429711341858, 0.01576991379261017, 0.15459439158439636, 0.09436220675706863, 0.12742438912391663, -0.11475419253110886, 0.29338905215263367, 0.026710473001003265, -0.1293002963066101, 0.09239744395017624, 0.12122827023267746, 0.06471971422433853, -0.05822587385773659, -0.20256972312927246, 0.03033740445971489, -0.21228040754795074, -0.23217065632343292, -0.36703136563301086, -0.118344746530056, -0.13911709189414978, 0.14496412873268127, -0.4084825813770294, -0.37394508719444275, -0.11542768031358719, 0.12663717567920685, 0.02350863814353943, 0.5237933397293091, -0.00011279975296929479, -0.1284322738647461, 0.37005841732025146, -0.09546288847923279, -0.4147052764892578, -0.25055086612701416, -0.15310339629650116, -0.24840518832206726, 0.15481705963611603, -0.08746767789125443, -0.01775701530277729, -0.2300058901309967, 0.197604238986969, -0.2986833453178406, 0.46098023653030396, 0.358093798160553, 0.1603626161813736, -0.02769070491194725, -0.03239908814430237, -0.29074662923812866, 0.5163111686706543, 0.16986790299415588, -0.12443289905786514, 0.18247666954994202, 0.4313890337944031, -0.010853881947696209, 0.10022884607315063, 0.3271850645542145, 0.3727051913738251, -0.019623074680566788, 0.1855294108390808, 0.01633712276816368, -0.3040634095668793, -0.5519537925720215, 0.09521804749965668, 0.43295377492904663, 1.0657538175582886, 0.10394135862588882, -0.36008551716804504, -0.04241349548101425, 0.03375060856342316, -0.0852949246764183, 0.2356807291507721, 0.4922967255115509, -0.15703043341636658, -0.1134236752986908, -0.366172194480896, -0.11375841498374939, -0.34213531017303467, 0.3061910569667816, 0.20411762595176697, -0.14578905701637268, -0.020463012158870697, 0.05796938017010689, 0.17969390749931335, -0.11861023306846619, 0.2398102730512619, -0.2925957441329956, -0.20877185463905334, 0.18517163395881653, 0.0659378170967102, 0.0023553334176540375, -0.15137872099876404, 0.06860144436359406, 0.347212016582489, 0.2642078995704651, 0.2451261729001999, 0.1586693525314331, -0.21929024159908295, 0.1928912103176117, 0.17368213832378387, 0.10638782382011414, 0.14700138568878174, 0.14133954048156738, 0.09695307910442352, 0.2279558926820755, 0.10521562397480011, -0.14179348945617676, -0.13653764128684998, -0.30948716402053833, -0.19349542260169983, -0.07139182835817337, 0.245185986161232, -0.22001853585243225, 0.11720327287912369, 0.07993028312921524, 0.11265008896589279, -0.23273244500160217, -0.029313430190086365, 0.5152468681335449, -0.29100629687309265, -0.20877626538276672, 0.1308782994747162, 0.2772095203399658, -0.02253618650138378, -0.059667907655239105, -0.09900356829166412, 0.18552221357822418, -0.3698415756225586, 0.026659950613975525, 0.40162765979766846, 0.05755757540464401, 0.4248207211494446, -0.07374798506498337, 0.13543403148651123, 0.060913704335689545, 0.43033286929130554, -0.17378561198711395, 0.23609033226966858, 0.11501418054103851, -0.00017894059419631958, 0.04678281396627426, -0.09839573502540588, -0.07957194745540619, 0.039376355707645416, 0.24235448241233826, -0.1625407338142395, -0.18039588630199432, -0.24586765468120575, 0.1845409870147705, -0.17360848188400269, 0.1069582998752594, -0.3820236623287201, 0.24804741144180298, -0.2519254982471466, -0.2708405554294586, -0.04750385135412216, 0.19804081320762634, 0.06270579993724823, -0.051211897283792496, 0.39563819766044617, 0.5488149523735046, -0.554524302482605, 0.18734043836593628, 0.05296247825026512, 0.0029436424374580383, -0.10527525097131729, -0.10587145388126373, -0.353595495223999, 0.25174617767333984, -0.27650853991508484, -0.0658358484506607, 0.28237035870552063, -0.3081285059452057, -0.16915424168109894, 0.21556515991687775, 0.2691301703453064, -0.129041850566864, 0.0051483213901519775, 0.060275785624980927, 0.06231992691755295, 0.14373786747455597, -0.1399979293346405, 0.2770547866821289, 0.024136068299412727, -0.03513786569237709, -0.21142247319221497, -0.07705113291740417, 0.08684101700782776, 0.31702423095703125, -0.2088480442762375, -0.04596545547246933, 0.06696475297212601, -0.151783287525177, 0.1387770175933838, -0.2408866584300995, -0.022723713889718056, 0.19658774137496948, 0.434077650308609, -0.1379394233226776, 0.03532819822430611, 0.18023589253425598, -0.3909018337726593, 0.3035334348678589, 0.01735956221818924, 0.22341634333133698, -0.07892055809497833, 0.0008788928389549255, -0.2637190818786621, -0.09968286752700806, -0.2983410954475403, -0.29491308331489563, 0.04983798414468765, 0.05727234110236168, -0.12015259265899658, 0.010714109987020493, -0.2044229507446289, 0.18216954171657562, -0.008316036313772202, 0.20176692306995392, -0.5349523425102234, 0.17954009771347046, -0.12164711207151413, -0.10375022143125534, -0.07192093878984451, -0.2609679400920868, -0.0053553953766822815, -0.4597857594490051, -0.22309434413909912, 0.5423107147216797, 0.38737401366233826, 0.0936102494597435, 0.3113843500614166, -0.11465524137020111, 0.11783827096223831, -0.31965094804763794, 0.050320617854595184, 0.1467849612236023, 0.09570520371198654, -0.03486067056655884, -0.7265996336936951, 0.2387581169605255, 0.11960148811340332, 0.03404970467090607, 0.132223442196846, -0.20771536231040955, 0.13747894763946533, -0.12071013450622559, -0.13019521534442902, 0.13615816831588745, 0.19981232285499573, 0.5086624622344971, 0.2434931844472885, -0.23315660655498505, -0.07723980396986008, -0.10616474598646164, 0.12498010694980621, -0.2816202938556671, -0.10979469865560532, 0.3621220290660858, 0.0702890157699585, -0.17787647247314453, 0.1613161265850067, 0.11338163912296295, 0.36785364151000977, 0.19865387678146362, 0.008454844355583191, 0.009251901879906654, 0.24331273138523102, -0.11775375157594681, 0.10892049223184586, -0.054449230432510376, 0.08615750819444656, 0.04425988346338272, 0.059981875121593475, -0.29727011919021606, -0.0894770622253418, -0.3268958032131195, 0.16808335483074188, 0.32968610525131226, -0.20698589086532593, 0.012213198468089104, 0.09172722697257996, 0.15827402472496033, 0.12397465109825134, 0.2103254199028015, -0.1333555281162262, -0.05687963217496872, 0.21269221603870392, 0.17305880784988403, 0.012962259352207184, 0.18380771577358246, -0.11807814240455627, 0.4916585087776184, -0.023869402706623077, 0.04318816959857941, -0.1842447966337204, -0.1018955409526825, -0.20711737871170044, 0.13653717935085297, 0.26197072863578796, 0.20296433568000793, 0.19900153577327728, -0.1922924965620041, 0.10196379572153091, -0.054347068071365356, -0.2777029573917389, 0.15514400601387024, 0.1865038275718689, 0.4483943581581116, -0.0361507385969162, 0.4493052363395691, -0.0046668462455272675, -0.024546829983592033, 0.16116295754909515, 0.025442613288760185, -0.2157309204339981, -0.027575306594371796, -0.09455297142267227, -0.13480450212955475, 0.031109433621168137, -0.6444947123527527, -0.2835606634616852, -0.2374759167432785, 0.3500971794128418, 0.197434663772583, 0.1231173649430275, 0.256493479013443, 0.5821860432624817, 0.0013732193037867546, 0.007362411357462406, -0.043173618614673615, -0.026852866634726524, -0.6973571181297302, 0.3963433802127838, -0.34983277320861816, -0.49136045575141907, 0.14037150144577026, -0.12030718475580215, 0.16257798671722412, -0.03995127975940704, -0.49661344289779663, -0.3220885097980499, -0.13650177419185638, 0.06509639322757721, -0.16581861674785614, -0.13651631772518158, 0.20812183618545532, -0.054823145270347595, -0.17161297798156738, -0.2136962115764618, -0.16176408529281616, 0.23665133118629456, -0.03003372997045517, 0.4234062433242798, -0.28614649176597595, -0.019634515047073364, -0.18188700079917908, 0.4137868881225586, 0.10953395068645477, -0.14872927963733673, 0.26489824056625366, -0.1399589627981186, 0.3447188138961792, -0.0864330306649208, -0.20256999135017395, 0.004304734990000725, -0.013890594244003296, -0.1723429262638092, 0.17396262288093567, 0.1268998384475708, -0.22027559578418732, -0.3134157955646515, 0.11575916409492493, -0.4491831958293915, 0.015589471906423569, 0.2870337963104248, -0.22338411211967468, -0.05358827859163284, -0.11468386650085449, -0.006136342883110046, -0.2349221259355545, -0.1524624526500702, -0.14946237206459045, 0.20991717278957367, 0.19363485276699066, -0.2323669046163559, -0.48547109961509705, -0.08552780002355576, -0.03367730230093002, 0.24522043764591217, -0.17476840317249298, 0.0025478778406977654, -0.17641107738018036, 0.0977250263094902, 0.09447892010211945, -0.08536121994256973, 0.6500778198242188, -0.4773710072040558, -0.2543880343437195, 0.08137732744216919, 0.41601860523223877, -0.3734349012374878, -0.011877644807100296, -0.2582623064517975, 0.11524249613285065, 0.12330181896686554, 0.4309338331222534, -0.2686604857444763, -0.1039486676454544, 0.07062661647796631, 0.20768143236637115, -0.060387227684259415, -0.08968535810709, -0.16564856469631195, -0.17115768790245056, -0.35724011063575745, -0.05779225379228592, -0.11176789551973343, -0.03708704560995102, -0.11130058020353317, -0.31772929430007935, 0.22408194839954376, 0.11140070110559464, 0.14619961380958557, 0.26277464628219604, 0.26202863454818726, 0.2941048741340637, 0.21644550561904907, 0.037713028490543365, 0.11165837943553925, 0.38375741243362427, 0.4514709413051605, -0.26932406425476074, -0.03362737596035004, 0.1487937867641449, -0.22596806287765503, 0.05790691450238228, 0.3388155698776245, 0.01600310578942299, -0.12592071294784546, 0.059479936957359314, 0.21741929650306702, -0.04456270858645439, 0.45145899057388306, 0.3812769055366516, -0.20245754718780518, -0.12239676713943481, -0.562575101852417, 0.373460590839386, -0.13200773298740387, -0.14222003519535065, 0.44759538769721985, -0.30998045206069946, 0.03561115264892578, 0.3369532823562622, -0.10578472167253494, 1.0443154573440552, -0.01975277066230774, 0.054853662848472595, 0.031746041029691696, 0.016902491450309753, 0.12602123618125916, -0.4384616017341614, -0.06022673845291138, -0.17260925471782684, -0.3270135223865509, 0.00013401173055171967, -0.22978179156780243, 0.10877418518066406, 0.37989312410354614, -0.3306475579738617, -0.015684572979807854, -0.22208018600940704, 0.0005439817905426025, -0.2449316531419754, 0.5318623185157776, -0.2107781171798706, -0.15385927259922028, -0.14664000272750854, 0.19137729704380035, 0.037969548255205154, 0.025551877915859222, -0.10651032626628876, -0.2263702154159546, -0.47201499342918396, -0.2078644335269928, -0.016047485172748566, 0.14374300837516785, -0.3616265058517456, 0.029013190418481827, -0.024312518537044525, -0.43057775497436523, 0.06479275226593018, 0.3302212059497833, 0.25192195177078247, 0.042677655816078186, -0.35350707173347473, 0.5854586958885193, -0.1552351713180542, -0.24444341659545898, -0.26535603404045105, -0.12676575779914856, 0.09378601610660553, -0.21869423985481262, -0.5099926590919495, 0.1055946797132492, -0.24776451289653778, -0.10542294383049011, 0.21275493502616882, -0.07542380690574646, 0.08328619599342346, -0.38419410586357117, -0.23307563364505768, 0.06927686929702759, -0.269502729177475, -0.15209756791591644, 0.1475878804922104, 0.311273455619812, -0.20263342559337616, 0.2046869993209839, 0.30810463428497314, -0.09693834185600281, -0.05557585135102272, 0.19962327182292938, -0.11929140239953995, -0.08425959944725037, 0.6534638404846191, 0.23115254938602448, 0.1223478615283966, -0.21969500184059143, 0.36606675386428833, 0.6046069264411926, -0.477601557970047, -0.03051229566335678, 0.02083735354244709, 0.01015368103981018, -0.05182424560189247, 0.3707592189311981, 0.19346946477890015, -0.02108113467693329, 0.22257430851459503, -0.22493566572666168, -0.37975454330444336, 0.2406279444694519, 0.03002503328025341, 0.5224263072013855, -0.3488302528858185, -0.15154705941677094, 0.2975887954235077, 0.16524209082126617, -0.33206963539123535, 0.3555038571357727, -0.2658771276473999, 0.1963614672422409, 0.3051171600818634, 0.0026002898812294006, 0.2703501284122467, -0.26650017499923706, 0.06356710195541382, -0.10742990672588348, -0.3908729553222656, -0.20889106392860413, -0.030927564948797226, 0.14228303730487823, 0.12680235505104065, -0.32902270555496216, -0.1974557638168335, -0.15645131468772888, -0.06747451424598694, -0.05347976088523865, 0.0027326643466949463, -0.4223330020904541, -0.11861543357372284, -0.011551480740308762, -0.27753445506095886, 0.06526634842157364, 0.030786223709583282, -0.15163250267505646, -0.03887661546468735, 0.4958406686782837, 0.31367722153663635, -0.08685030043125153, 0.07396064698696136, -0.19874458014965057, -0.16560132801532745, 0.19493600726127625, -0.01562870293855667, 0.2949806749820709, 0.15206241607666016, -0.2082255631685257, 0.29229530692100525, -0.22248095273971558, 0.30848604440689087, 0.2500273585319519, -0.3261415958404541, 0.29236748814582825, 0.362373411655426, 0.21057677268981934, -0.11100735515356064, -0.006599497050046921, 0.06673868000507355, -0.15686079859733582, 0.23434853553771973, 0.013504065573215485, 0.14619210362434387, 0.25702178478240967, -0.13655319809913635, 0.07184069603681564, 0.2165258675813675, 0.125484436750412, 0.21744796633720398, 0.18016169965267181, -0.4052276611328125, 0.08523422479629517, -0.09021340310573578, 0.2166748046875, 0.08347751200199127, 0.13333138823509216, -0.034545473754405975, 0.5131011009216309, 0.02645966410636902, 0.2516399919986725, 0.030374150723218918, -0.5372986197471619, 0.41251710057258606, 0.0696636363863945, 0.07974807918071747, 0.1586904674768448, 0.0070415884256362915, 0.3635379672050476, -0.2374633252620697, -0.16363656520843506, -0.3293250799179077, -0.014531232416629791, 0.34729740023612976, -0.054513733834028244, -0.18079860508441925, -0.3522750437259674, -0.08027495443820953, -0.016757017001509666, 0.061644166707992554, -0.21072356402873993, 0.038507796823978424, -0.0031828731298446655, -0.13282838463783264, 0.09083183854818344, 0.1084260642528534, 0.14249706268310547, 0.1924094259738922, -0.05285884439945221, 0.31885311007499695, 0.14859804511070251, -0.16677378118038177, 0.13394659757614136, 0.37708911299705505, 0.31524747610092163, 0.15226824581623077, -0.012114297598600388, 0.27280598878860474, 0.08290784060955048, -0.09648366272449493, 0.15894284844398499, 0.2183372974395752, 0.45038944482803345, -0.28607767820358276, 0.19490398466587067, 0.15621596574783325, -0.1925695687532425, 0.23224318027496338, 0.07336010783910751, -0.003164013847708702, -0.18998625874519348, -0.3001415431499481, 0.0024162866175174713, -0.17344234883785248, -0.3398989737033844, -0.36374425888061523, -0.45105594396591187, -0.10231998562812805, 0.19749760627746582, -0.1236661747097969, 0.0037280432879924774, -0.05487474426627159, 0.08867231011390686, -0.20429997146129608, 0.6000673770904541, -0.02540678158402443, 0.5586045384407043, -0.24439096450805664, -0.32404905557632446, -0.4136638343334198, 0.04703298956155777, -0.530364453792572, -0.04666614159941673, 0.07372430711984634, 0.11498098075389862, 0.296860933303833, 0.021427767351269722, 0.21099357306957245, -0.08672429621219635, 0.04971964657306671, 0.37247151136398315, -0.4681689441204071, -0.05493127927184105, 0.16882097721099854, 0.5088051557540894, -0.1339268535375595, -0.06435645371675491, 0.08421631157398224, -0.11450263857841492, 0.04789264500141144, 0.10134630650281906, -0.14664864540100098, -0.13190452754497528, -0.11554555594921112, 0.5621086955070496, -0.11253224313259125, 0.48795759677886963, -0.08066694438457489, -0.12988324463367462, -0.04505050554871559, -0.17242731153964996, 0.2934809923171997, 0.25523385405540466, 0.5583746433258057, 0.39624711871147156, 0.19341281056404114, -0.010518528521060944, -0.20507889986038208, 0.2419445663690567, -0.07068455219268799, -0.33038005232810974, -0.1711072325706482, -0.09539772570133209, 0.19676265120506287, 0.0639999583363533, 0.11592051386833191, -0.01282425969839096, -0.2667752504348755, -0.2188522070646286, -0.23412926495075226, -0.10067351162433624, 0.633317768573761, -0.21779181063175201, -0.15696515142917633, 0.1472456306219101, 0.10537749528884888, -0.08925717324018478, 0.18063823878765106, -0.5207762718200684, 0.24293974041938782, 0.25832346081733704, -0.0502714142203331, -0.2178945690393448, 0.28621476888656616, 0.18102985620498657, 0.018755029886960983, 0.04531742259860039, 0.39810922741889954, -0.008862979710102081, -0.17995309829711914, -0.19646050035953522, -0.19376155734062195 ]