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/316 | add AG News dataset | Thanks @jxmorris12 for adding this adding.
Can you please add a small description of the PR? | adds support for the AG-News topic classification dataset | 16 | text: add AG News dataset
adds support for the AG-News topic classification dataset
Thanks @jxmorris12 for adding this adding.
Can you please add a small description of the PR? | [
-0.30260786414146423,
-0.32423651218414307,
-0.20974154770374298,
-0.03404451161623001,
0.058556944131851196,
0.05549194663763046,
-0.055371981114149094,
-0.1291499137878418,
-0.03731853514909744,
0.009036049246788025,
0.3421572744846344,
0.18079575896263123,
0.021014880388975143,
0.44439342617988586,
0.322818785905838,
-0.48224684596061707,
0.2661997675895691,
0.07843922078609467,
0.3138113021850586,
-0.0006275922060012817,
-0.32680824398994446,
0.06822331249713898,
-0.1798045039176941,
0.004797741770744324,
-0.30120131373405457,
-0.07965833693742752,
-0.21469098329544067,
0.06367110460996628,
-0.05070149153470993,
-0.46084195375442505,
-0.15850141644477844,
-0.0355813093483448,
-0.17373470962047577,
-0.050592221319675446,
-0.00010358885629102588,
-0.16201388835906982,
0.010798782110214233,
0.08171878010034561,
0.022045522928237915,
0.10492150485515594,
-0.4471728801727295,
-0.46829089522361755,
-0.3435923755168915,
-0.000008940696716308594,
-0.19157391786575317,
-0.20306198298931122,
0.09633389115333557,
0.006304249167442322,
-0.11745040118694305,
0.23754680156707764,
0.263522207736969,
-0.059018202126026154,
0.35964709520339966,
-0.5929218530654907,
-0.006941065192222595,
-0.02761983871459961,
-0.26810917258262634,
-0.10696406662464142,
0.2331782430410385,
0.21336334943771362,
0.2825833261013031,
0.3799527585506439,
0.09846733510494232,
-0.24202196300029755,
0.20588359236717224,
0.07514090836048126,
0.38444122672080994,
-0.20440968871116638,
0.23724424839019775,
0.012231230735778809,
0.7656649351119995,
-0.14112165570259094,
-0.08786193281412125,
-0.03366579860448837,
0.27042636275291443,
-0.22776253521442413,
-0.0561441108584404,
0.4318910539150238,
-0.14537322521209717,
0.19323661923408508,
0.06484747678041458,
-0.23749369382858276,
-0.3714847266674042,
-0.0927649736404419,
-0.041937947273254395,
0.39073288440704346,
-0.10649958997964859,
-0.056984663009643555,
0.027645422145724297,
0.10766245424747467,
-0.1275598704814911,
-0.02013503760099411,
-0.14414750039577484,
0.14338359236717224,
0.14047247171401978,
-0.08249954879283905,
0.021998226642608643,
0.038223687559366226,
0.02835005894303322,
0.005265908315777779,
-0.21304567158222198,
0.006424322724342346,
-0.15930210053920746,
0.13447964191436768,
0.02563317120075226,
-0.16256602108478546,
0.18594881892204285,
0.2622831463813782,
-0.06783387064933777,
-0.0351591520011425,
0.3477672338485718,
-0.07821761071681976,
-0.1673671305179596,
0.04486425966024399,
-0.07819107174873352,
-0.0915423035621643,
0.1900695264339447,
0.018605943769216537,
-0.22721898555755615,
0.4585365653038025,
-0.22093886137008667,
-0.287643700838089,
-0.4504871666431427,
0.22041532397270203,
0.21755769848823547,
0.032365601509809494,
0.04588200896978378,
0.017256595194339752,
0.30151283740997314,
-0.26998478174209595,
-0.22791485488414764,
0.2628472149372101,
-0.3782469630241394,
0.09649182856082916,
-0.07355973869562149,
0.229517862200737,
-0.0022922209464013577,
-0.16090740263462067,
-0.11316774785518646,
0.04704789072275162,
-0.11446552723646164,
0.11444146931171417,
0.23565563559532166,
0.40718355774879456,
-0.054653920233249664,
-0.011112118139863014,
-0.07171154022216797,
-0.05666248872876167,
-0.06984825432300568,
0.40324896574020386,
0.3112795054912567,
-0.2592619061470032,
-0.208605095744133,
0.31738796830177307,
0.13461528718471527,
-0.44520941376686096,
0.1847161054611206,
0.6944099068641663,
-0.19886305928230286,
0.2357443869113922,
0.3899449110031128,
0.39608126878738403,
-0.3796069622039795,
-0.057372186332941055,
0.06902020424604416,
0.16350674629211426,
-0.7062532901763916,
-0.20569893717765808,
-0.00345343304798007,
-0.46854811906814575,
0.14691779017448425,
-0.10545763373374939,
0.05277695134282112,
0.12535406649112701,
0.12721984088420868,
-0.036945927888154984,
0.41430047154426575,
0.005626551806926727,
-0.37897858023643494,
-0.002325733657926321,
-0.2679829001426697,
-0.19146208465099335,
0.22746002674102783,
0.2952212691307068,
-0.2269471138715744,
0.10477789491415024,
-0.10034658014774323,
0.15786796808242798,
-0.14125050604343414,
-0.07169212400913239,
-0.061183393001556396,
0.16547320783138275,
-0.0031866468489170074,
0.3140290081501007,
0.14423906803131104,
0.31936946511268616,
0.10909615457057953,
0.1721978634595871,
0.265829473733902,
0.2354830801486969,
0.19833582639694214,
0.09857004135847092,
0.33630678057670593,
0.05013192817568779,
-0.061218712478876114,
-0.1523120403289795,
-0.06360288709402084,
-0.12548014521598816,
0.022770173847675323,
0.47034454345703125,
0.37656641006469727,
-0.07208521664142609,
-0.6385482549667358,
0.18825680017471313,
-0.006749723106622696,
-0.4361896812915802,
0.21125657856464386,
0.1505986750125885,
-0.08566165715456009,
0.0662725418806076,
0.02961483970284462,
0.30317747592926025,
-0.300209641456604,
-0.02932870388031006,
0.08158813416957855,
0.006439538672566414,
-0.19904884696006775,
0.0714169517159462,
-0.21252577006816864,
0.2577193081378937,
-0.07130316644906998,
0.08148470520973206,
-0.0064499154686927795,
0.13892465829849243,
-0.3010007441043854,
0.20173586905002594,
0.2879795432090759,
0.1999487280845642,
0.13909287750720978,
-0.13257834315299988,
0.14203143119812012,
-0.4162934422492981,
-0.027357984334230423,
-0.061455994844436646,
-0.3848080337047577,
-0.003259800374507904,
0.27093759179115295,
-0.2694372534751892,
-0.15688931941986084,
0.0051493775099515915,
-0.04960356652736664,
-0.0373593345284462,
0.18657132983207703,
-0.0809965431690216,
-0.2118118852376938,
0.044313788414001465,
-0.21324144303798676,
-0.029243452474474907,
-0.3260002136230469,
0.2079056203365326,
0.3359787166118622,
-0.25387242436408997,
-0.000029139220714569092,
0.14018042385578156,
-0.3218502402305603,
0.012327898293733597,
0.03928430378437042,
0.30895760655403137,
0.3288959860801697,
0.2142183929681778,
0.14118120074272156,
0.25149789452552795,
0.25125086307525635,
-0.1793232560157776,
0.21783944964408875,
0.1389964520931244,
-0.09269057959318161,
0.0856686681509018,
-0.06095290184020996,
0.23439525067806244,
-0.19183796644210815,
0.06000261381268501,
0.18943485617637634,
0.30967170000076294,
0.004079986363649368,
-0.15450741350650787,
0.33298400044441223,
-0.5004819631576538,
-0.18509791791439056,
-0.02453950047492981,
-0.007456500083208084,
-0.2027052938938141,
0.019691914319992065,
-0.25524237751960754,
0.06640279293060303,
0.3184914290904999,
-0.06029259413480759,
0.528304398059845,
-0.008151216432452202,
0.09508350491523743,
-0.05909916013479233,
0.21237227320671082,
0.08026232570409775,
0.2809005379676819,
-0.28202614188194275,
-0.0008572193328291178,
0.49259471893310547,
0.0842316597700119,
0.1589030623435974,
-0.36472269892692566,
-0.3023797273635864,
0.21642367541790009,
-0.18933795392513275,
-0.12013570964336395,
0.24284300208091736,
0.06151369586586952,
-0.18755199015140533,
-0.11429375410079956,
0.12821483612060547,
-0.15092650055885315,
-0.28962165117263794,
-0.43853771686553955,
-0.1305394023656845,
-0.06889773905277252,
-0.12764471769332886,
-0.6302075982093811,
-0.27036166191101074,
-0.3868991434574127,
0.24478860199451447,
0.0636044293642044,
0.017525985836982727,
0.11054281890392303,
0.0025895582512021065,
0.18418572843074799,
0.026069169864058495,
0.021732281893491745,
-0.2812896966934204,
0.08291387557983398,
0.16245122253894806,
-0.012581037357449532,
-0.16919150948524475,
0.058928411453962326,
-0.004057181999087334,
-0.12208044528961182,
-0.22622808814048767,
-0.226975217461586,
-0.2773299515247345,
-0.16875456273555756,
0.1624072939157486,
0.08159425854682922,
0.08997634053230286,
0.26562875509262085,
-0.10549509525299072,
-0.3008752167224884,
-0.12238312512636185,
-0.40078985691070557,
-0.06355351954698563,
-0.03214416652917862,
0.09775464236736298,
-0.0045821405947208405,
-0.005108673125505447,
-0.15215153992176056,
0.40187448263168335,
0.17137455940246582,
-0.19488516449928284,
0.04189567267894745,
-0.07368163019418716,
0.22846001386642456,
0.0612969733774662,
-0.19201138615608215,
0.07880669832229614,
0.12036706507205963,
0.28375619649887085,
0.18201309442520142,
0.0465133860707283,
-0.26908060908317566,
-0.035715650767087936,
-0.21418200433254242,
-0.12685078382492065,
-0.014726396650075912,
0.07675042748451233,
-0.08283886313438416,
0.5288151502609253,
-0.042786601930856705,
-0.3483617901802063,
-0.05444689095020294,
0.23082023859024048,
-0.02659529820084572,
0.28481408953666687,
0.043926287442445755,
-0.00971052423119545,
-0.44200432300567627,
0.1651870310306549,
-0.32552310824394226,
0.16291937232017517,
-0.02794232778251171,
-0.13979177176952362,
-0.4058731496334076,
-0.14598292112350464,
0.2642623484134674,
0.25712457299232483,
0.34865903854370117,
-0.7534821629524231,
-0.37872904539108276,
0.12132246792316437,
0.22341498732566833,
0.5061243772506714,
0.0572783537209034,
-0.3335382640361786,
0.16826386749744415,
0.4994972050189972,
0.030277427285909653,
0.1224093809723854,
0.05030057206749916,
0.6904169321060181,
-0.43141254782676697,
-0.11849460005760193,
-0.09391693770885468,
-0.16765306890010834,
0.08976764231920242,
-0.21118828654289246,
0.35347968339920044,
0.35264691710472107,
-0.07300978153944016,
0.1622958928346634,
-0.015418300405144691,
0.37008965015411377,
0.38788098096847534,
0.06837957352399826,
0.056010957807302475,
-0.0586724579334259,
0.34612563252449036,
-0.11769676208496094,
0.0004782862961292267,
0.15518319606781006,
0.25214695930480957,
0.33557870984077454,
-0.21166062355041504,
-0.3140576183795929,
0.2640669345855713,
-0.3413592576980591,
0.6583508253097534,
0.19403180480003357,
0.20101875066757202,
0.2599101662635803,
0.045956335961818695,
0.04339860752224922,
-0.1705741137266159,
-0.02983020804822445,
0.11769521981477737,
-0.09341232478618622,
-0.20320507884025574,
-0.4689560830593109,
0.2995266318321228,
0.10166139900684357,
-0.34397512674331665,
-0.18126486241817474,
0.3034048080444336,
-0.046201758086681366,
-0.10476695746183395,
-0.05965637415647507,
1.1081264019012451,
-0.03812088072299957,
0.024905476719141006,
-0.31705495715141296,
-0.3589628338813782,
0.31195101141929626,
-0.1858833283185959,
0.15576887130737305,
-0.43160080909729004,
-0.19118033349514008,
-0.18872497975826263,
-0.1226891577243805,
0.2972354590892792,
0.3041144013404846,
-0.45539599657058716,
-0.15728943049907684,
0.32883328199386597,
-0.04662108048796654,
0.14233329892158508,
0.2102605402469635,
-0.14025463163852692,
-0.1704217791557312,
-0.2644825875759125,
0.17524448037147522,
0.2257194072008133,
0.14979800581932068,
-0.06211007386445999,
-0.11927171051502228,
0.07434640824794769,
-0.0061301738023757935,
-0.5887538194656372,
-0.1529216468334198,
0.035763878375291824,
-0.4095728397369385,
0.3367932438850403,
-0.28309908509254456,
0.4665476083755493,
0.12899938225746155,
0.28315049409866333,
0.07574881613254547,
0.0007637571543455124,
0.23681575059890747,
-0.009439364075660706,
-0.11437676846981049,
0.06133501976728439,
-0.1141507551074028,
0.20538835227489471,
-0.1425880789756775,
-0.37373843789100647,
0.3015008568763733,
-0.3237016201019287,
-0.26203489303588867,
-0.5324838161468506,
0.06974003463983536,
0.6077994108200073,
-0.13225391507148743,
0.14407484233379364,
0.3092665672302246,
-0.0999189019203186,
-0.21546359360218048,
0.2254384309053421,
0.02673114836215973,
-0.055411651730537415,
-0.2672424018383026,
0.21085125207901,
-0.29307836294174194,
-0.0674658864736557,
0.06247814744710922,
0.11200768500566483,
-0.060934096574783325,
0.17952966690063477,
0.053396906703710556,
-0.10206077992916107,
-0.43455836176872253,
-0.12621843814849854,
0.2709347605705261,
-0.255246639251709,
-0.23266132175922394,
0.29071879386901855,
-0.2996652126312256,
0.33005374670028687,
0.24383309483528137,
0.04844103753566742,
0.2589067816734314,
-0.16799958050251007,
-0.27162474393844604,
-0.16559584438800812,
-0.15287257730960846,
-0.39268189668655396,
0.21849662065505981,
0.043837770819664,
-0.08316728472709656,
0.4694918990135193,
0.16604399681091309,
-0.4442491829395294,
-0.1848517507314682,
-0.039600104093551636,
0.07092037796974182,
0.16650818288326263,
-0.05805376172065735,
-0.05766112729907036,
-0.006152191199362278,
0.11603033542633057,
-0.09232094138860703,
-0.23197580873966217,
-0.2663445472717285,
0.17477522790431976,
0.13113272190093994,
0.06820645928382874,
-0.03873959928750992,
-0.22597874701023102,
0.2641645669937134,
-0.23575159907341003,
0.25882408022880554,
0.3158676326274872,
-0.058638107031583786,
0.008165057748556137,
0.13682202994823456,
-0.1454915553331375,
0.35756003856658936,
-0.06730112433433533,
-0.33202019333839417,
0.02098463848233223,
0.22252942621707916,
0.15803790092468262,
-0.03449688106775284,
-0.07704328000545502,
0.006292529404163361,
0.04088395833969116,
0.2938385307788849,
0.6203234195709229,
0.11494813859462738,
0.1703852415084839,
-0.014331623911857605,
-0.14332395792007446,
0.0037363790906965733,
0.15005116164684296,
-0.23645728826522827,
-0.2535940706729889,
-0.09053665399551392,
0.06423832476139069,
0.35635635256767273,
-0.40010735392570496,
-0.07862463593482971,
0.05855347216129303,
-0.24247919023036957,
0.09217984974384308,
0.16765010356903076,
0.6520406007766724,
0.20329108834266663,
0.11373891681432724,
0.21223101019859314,
0.26571986079216003,
-0.12694092094898224,
-0.012912999838590622,
0.1775350719690323,
-0.10259129106998444,
0.12532304227352142,
0.2660631835460663,
0.07806848734617233,
0.04220359027385712,
0.000045493245124816895,
0.4184803366661072,
0.3846634030342102,
0.18573379516601562,
0.12521091103553772,
0.12031766772270203,
-0.09906798601150513,
0.38369330763816833,
0.32509729266166687,
-0.37794673442840576,
-0.008715808391571045,
0.389729380607605,
0.19065037369728088,
0.04687447473406792,
-0.02169414982199669,
-0.2347678244113922,
0.02605896070599556,
-0.18152162432670593,
0.08515796065330505,
0.03642275184392929,
-0.06592249125242233,
-0.3931224048137665,
-0.06927759945392609,
0.28995367884635925,
-0.06942281126976013,
0.5021446943283081,
-0.4094350337982178,
-0.012771829962730408,
-0.06294754892587662,
0.3931991159915924,
0.04131230339407921,
0.2506391108036041,
-0.15057817101478577,
0.045973122119903564,
-0.08602069318294525,
-0.22384649515151978,
0.24105800688266754,
0.3226277828216553,
0.09883302450180054,
-0.06979414820671082,
0.2865004539489746,
0.14641797542572021,
-0.12057983875274658,
-0.058878034353256226,
0.08402851223945618,
0.14694824814796448,
0.3328702449798584,
-0.10030701756477356,
0.041916221380233765,
0.1930469423532486,
-0.12946203351020813,
0.21762503683567047,
0.30824780464172363,
0.1881435513496399,
-0.1407206505537033,
0.06765133887529373,
-0.030992217361927032,
-0.18173769116401672,
-0.2451459765434265,
0.3012544810771942,
-0.03858330845832825,
-0.13277192413806915,
0.28160667419433594,
-0.14290955662727356,
0.05100783705711365,
-0.3686562776565552,
0.12799854576587677,
0.29534223675727844,
0.31478458642959595,
0.3899778425693512,
0.0856659933924675,
0.03848579153418541,
-0.29261326789855957,
-0.23407407104969025,
0.2011590600013733,
0.18111412227153778,
-0.16410352289676666,
-0.20253607630729675,
-0.1388106793165207,
0.22642290592193604,
0.03201485425233841,
0.18948328495025635,
-0.07909394800662994,
-0.23855440318584442,
0.07201468199491501,
-0.3491010367870331,
0.011458097025752068,
0.43360769748687744,
0.09768500179052353,
-0.07026204466819763,
0.2384418547153473,
-0.033917639404535294,
-0.0021421057172119617,
0.2008940577507019,
-0.38592541217803955,
-0.25390997529029846,
-0.010353293269872665,
0.6778810024261475,
0.2174578309059143,
0.021716197952628136,
0.25203296542167664,
-0.4081764817237854,
0.06330862641334534,
-0.05506925657391548,
-0.010199176147580147,
-0.24234960973262787,
0.30497822165489197,
0.09337465465068817,
0.06506601721048355,
0.15570053458213806,
-0.15531696379184723,
0.23854979872703552,
-0.06130431964993477,
-0.02374502830207348,
-0.10139816254377365,
-0.2982387840747833,
0.1564597636461258,
-0.1780111938714981,
0.06893493980169296,
0.015298173762857914,
-0.18020644783973694,
0.17396557331085205,
-0.342460036277771,
-0.2622159719467163,
-0.2786508798599243,
0.07786741107702255,
0.35489776730537415,
-0.2153303623199463,
-0.2063424438238144,
-0.010987639427185059,
0.01713390275835991,
0.18988294899463654,
-0.6944324970245361,
-0.17026130855083466,
0.3213510811328888,
0.037315733730793,
-0.2892804741859436,
0.3794914782047272,
-0.12372256815433502,
-0.13841184973716736,
-0.149908646941185,
0.2899923324584961,
-0.14833348989486694,
-0.20347850024700165,
-0.14410339295864105,
-0.28244748711586
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | Does it make sense to download the full stories? I remember attempting to implement this dataset a while ago and ended up with something like:
```python
def _split_generators(self, dl_manager):
"""Returns SplitGenerators."""
dl_dir = dl_manager.download_and_extract(_DOWNLOAD_URL)
data_dir = os.path.join(dl_dir, "narrativeqa-master")
urls = {"test":{}, "train": {},"valid":{}}
with open(os.path.join(data_dir,"documents.csv")) as f_in:
csv_reader = csv.reader(f_in)
next(csv_reader) # discard header row
for i,row in enumerate(csv_reader):
if i > 1572:
break
if row != []:
urls[row[1]][row[0]] = row[3]
url_files = {}
for key in urls.keys():
url_files[key] = dl_manager.download_and_extract(urls[key])
return [
nlp.SplitGenerator(
name=nlp.Split.TRAIN,
gen_kwargs={
"data_dir":data_dir,
"split":"train",
"doc_id_to_path":url_files["train"]
}
),
....
```
It does end up cluttering your huggingface cache dir though. | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 103 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
Does it make sense to download the full stories? I remember attempting to implement this dataset a while ago and ended up with something like:
```python
def _split_generators(self, dl_manager):
"""Returns SplitGenerators."""
dl_dir = dl_manager.download_and_extract(_DOWNLOAD_URL)
data_dir = os.path.join(dl_dir, "narrativeqa-master")
urls = {"test":{}, "train": {},"valid":{}}
with open(os.path.join(data_dir,"documents.csv")) as f_in:
csv_reader = csv.reader(f_in)
next(csv_reader) # discard header row
for i,row in enumerate(csv_reader):
if i > 1572:
break
if row != []:
urls[row[1]][row[0]] = row[3]
url_files = {}
for key in urls.keys():
url_files[key] = dl_manager.download_and_extract(urls[key])
return [
nlp.SplitGenerator(
name=nlp.Split.TRAIN,
gen_kwargs={
"data_dir":data_dir,
"split":"train",
"doc_id_to_path":url_files["train"]
}
),
....
```
It does end up cluttering your huggingface cache dir though. | [
-0.010874483734369278,
0.1652732789516449,
-0.05192733556032181,
0.22449666261672974,
-0.22803233563899994,
0.30513814091682434,
0.11093848198652267,
0.5570985674858093,
-0.08409927785396576,
-0.022326529026031494,
0.099287249147892,
-0.3000020384788513,
0.04686538875102997,
0.534766435623169,
0.2546043395996094,
-0.24696391820907593,
0.009841136634349823,
0.2597833275794983,
0.12337625026702881,
-0.07882928848266602,
-0.34183070063591003,
0.22354760766029358,
-0.26507270336151123,
-0.0030473098158836365,
-0.2880953550338745,
-0.02855083905160427,
-0.27728191018104553,
0.31305068731307983,
0.017036259174346924,
-0.24449560046195984,
-0.07719104737043381,
0.053043633699417114,
0.005706490948796272,
0.20158948004245758,
-0.00011603855818975717,
-0.03758122771978378,
0.1822330206632614,
-0.37729400396347046,
-0.2158586084842682,
-0.025812923908233643,
0.23372343182563782,
-0.26092758774757385,
0.05127425491809845,
-0.31310945749282837,
0.036095358431339264,
0.020481746643781662,
0.07209271192550659,
0.06086505949497223,
0.35858482122421265,
0.28136786818504333,
0.08166459202766418,
0.0238732248544693,
-0.006360307335853577,
0.016144664958119392,
0.332197904586792,
-0.0520600825548172,
-0.32387733459472656,
0.15038374066352844,
0.3270615339279175,
-0.22444775700569153,
0.013357341289520264,
0.5192999839782715,
0.020965000614523888,
0.007309377193450928,
0.15966615080833435,
0.12299331277608871,
0.13157768547534943,
-0.406649649143219,
0.21531283855438232,
0.392830491065979,
0.2519995868206024,
-0.060661084949970245,
-0.35204392671585083,
-0.4606652855873108,
-0.1441621035337448,
-0.6037011742591858,
-0.02988871932029724,
0.7005314826965332,
-0.44064760208129883,
0.26414427161216736,
-0.16751374304294586,
-0.18575018644332886,
-0.014967646449804306,
0.11220280826091766,
-0.09501034766435623,
0.10891404747962952,
-0.048612479120492935,
0.07976926118135452,
0.44848406314849854,
0.25776922702789307,
0.14126558601856232,
-0.2865491807460785,
-0.07475003600120544,
0.04069048911333084,
-0.05898500606417656,
-0.27471858263015747,
-0.15006262063980103,
0.08780306577682495,
0.2992728352546692,
-0.2024213820695877,
-0.05395442247390747,
-0.16251826286315918,
0.2545723617076874,
-0.04991649091243744,
0.4016090929508209,
0.017687411978840828,
0.032881420105695724,
0.059773966670036316,
0.22907060384750366,
-0.0027313733007758856,
0.17758029699325562,
-0.1357055902481079,
0.044167790561914444,
0.12541058659553528,
-0.4947280287742615,
0.04016285389661789,
-0.057949427515268326,
-0.25405028462409973,
-0.22472552955150604,
-0.2076302319765091,
-0.3724516034126282,
-0.21577060222625732,
-0.15191714465618134,
0.4627368152141571,
0.04110774025321007,
0.36365002393722534,
-0.05871037393808365,
0.258706271648407,
-0.15107311308383942,
-0.09796033799648285,
-0.1950693428516388,
-0.16720075905323029,
-0.2009473294019699,
0.2561546862125397,
0.3157908022403717,
0.11217574775218964,
0.6013160943984985,
-0.5442245006561279,
-0.07660500705242157,
0.1641305685043335,
0.325385183095932,
-0.33123064041137695,
-0.006689086556434631,
0.32454386353492737,
0.1953614354133606,
0.02873964048922062,
0.059857867658138275,
-0.06748254597187042,
-0.191464364528656,
0.34710827469825745,
-0.2998591661453247,
-0.5193719267845154,
0.27570468187332153,
0.09246974438428879,
-0.232096865773201,
0.08016856759786606,
-0.002553127706050873,
0.4106829762458801,
0.36818578839302063,
0.180000901222229,
0.0771559551358223,
0.28044021129608154,
-0.054893992841243744,
-0.0509355328977108,
0.052736490964889526,
0.3650665283203125,
-0.31321948766708374,
-0.1147279441356659,
-0.1440439671278,
0.007241224870085716,
-0.04594442993402481,
0.3402201235294342,
-0.15574058890342712,
0.33103200793266296,
-0.22441653907299042,
0.34206289052963257,
0.557409405708313,
-0.30043867230415344,
-0.2323790341615677,
0.24256490170955658,
0.03662437945604324,
0.07274281233549118,
0.4560413360595703,
0.1342032104730606,
0.1461562067270279,
-0.12198266386985779,
-0.034032970666885376,
0.3328280448913574,
-0.1486688256263733,
0.060761578381061554,
-0.19153092801570892,
-0.26231515407562256,
0.3126944303512573,
0.24352772533893585,
-0.023750949651002884,
0.06370757520198822,
-0.3475494682788849,
-0.16737698018550873,
0.6385600566864014,
-0.10940968990325928,
0.0954349935054779,
-0.04605045169591904,
0.15246883034706116,
0.06726092845201492,
0.18908508121967316,
0.2189730703830719,
-0.3271315395832062,
0.12507939338684082,
-0.27881667017936707,
-0.06626124680042267,
0.099254310131073,
-0.5254533290863037,
-0.27604371309280396,
-0.2192860096693039,
-0.07089154422283173,
-0.5661026239395142,
-0.007190274074673653,
0.024024415761232376,
0.06563177704811096,
-0.01685597002506256,
-0.17663708329200745,
-0.10806123167276382,
-0.14316190779209137,
0.14834967255592346,
-0.23482899367809296,
0.13234925270080566,
-0.10621742159128189,
-0.06384549289941788,
0.016916483640670776,
0.2978019714355469,
-0.15821897983551025,
-0.25599679350852966,
0.13974586129188538,
0.2995825409889221,
0.012933697551488876,
0.20977957546710968,
0.03200128674507141,
-0.059055522084236145,
0.20615358650684357,
-0.026853051036596298,
0.09830890595912933,
0.19627875089645386,
0.20529858767986298,
-0.18156203627586365,
-0.444748193025589,
0.19242140650749207,
0.004935704171657562,
0.27917367219924927,
0.0830797553062439,
0.05099232494831085,
0.24483966827392578,
-0.25875189900398254,
-0.10495659708976746,
-0.08086894452571869,
0.28924986720085144,
0.00014404579997062683,
0.025621145963668823,
0.030531691387295723,
-0.22057563066482544,
0.24974292516708374,
0.6617498993873596,
-0.08137600868940353,
-0.013017170131206512,
0.12347560375928879,
-0.23566550016403198,
-0.10843073576688766,
0.31131431460380554,
-0.1463179737329483,
0.4963105320930481,
0.19827604293823242,
0.14687611162662506,
0.05017650127410889,
0.378935843706131,
-0.4169134795665741,
0.3891269862651825,
0.204170823097229,
-0.34710198640823364,
0.04712352529168129,
-0.1877693384885788,
-0.3102257251739502,
-0.2379799783229828,
0.37370994687080383,
0.04781070351600647,
0.05064015090465546,
-0.24822106957435608,
0.10050447285175323,
0.20056600868701935,
-0.4547439515590668,
-0.0754326730966568,
-0.2704028785228729,
0.07606441527605057,
-0.30528321862220764,
0.30698996782302856,
0.12018512189388275,
-0.31626635789871216,
0.10642136633396149,
0.22041688859462738,
0.3961828947067261,
-0.13481076061725616,
0.025240853428840637,
0.005067646503448486,
-0.19971521198749542,
-0.17395269870758057,
0.17206470668315887,
0.1589122712612152,
0.19625221192836761,
0.3297233581542969,
-0.363032728433609,
-0.03805975988507271,
0.010042933747172356,
-0.3530302345752716,
0.18169832229614258,
-0.4131242632865906,
0.0879133865237236,
0.1039806455373764,
0.23361727595329285,
0.23176227509975433,
-0.25000351667404175,
-0.008482126519083977,
0.06182894855737686,
-0.175584077835083,
-0.01974288374185562,
0.2795010805130005,
-0.03784547001123428,
-0.440678209066391,
-0.6031282544136047,
-0.33167093992233276,
-0.4089335799217224,
0.4953819513320923,
0.13882610201835632,
0.27519726753234863,
0.07267823070287704,
0.1173078715801239,
0.13221487402915955,
-0.05592573806643486,
-0.2842063009738922,
-0.2133871614933014,
0.06878048181533813,
0.3432415723800659,
-0.20746123790740967,
-0.1446496844291687,
0.12333132326602936,
-0.35779523849487305,
0.11722026765346527,
0.0042527518235147,
-0.8118487000465393,
-0.29147231578826904,
-0.08136341720819473,
-0.11335180699825287,
0.24033606052398682,
0.0396026074886322,
0.41546788811683655,
-0.34001994132995605,
0.010704314336180687,
0.06550824642181396,
0.13361437618732452,
0.09462377429008484,
-0.026357781141996384,
0.2986017167568207,
-0.12146218866109848,
0.38873276114463806,
0.23247838020324707,
0.8882818818092346,
0.38103196024894714,
0.49626031517982483,
0.037751704454422,
-0.16616694629192352,
0.27774009108543396,
-0.033825382590293884,
-0.27730467915534973,
0.18447481095790863,
-0.1752816140651703,
-0.0420866496860981,
0.27454447746276855,
0.1046011745929718,
-0.23024427890777588,
-0.2509932518005371,
0.07716226577758789,
-0.1663118302822113,
-0.46642613410949707,
0.37541326880455017,
0.06617654114961624,
0.23714148998260498,
-0.060932375490665436,
0.20328199863433838,
0.06239645555615425,
-0.16417178511619568,
-0.10714556276798248,
0.3731486201286316,
0.3837980329990387,
-0.057829879224300385,
-0.15870432555675507,
-0.06317061185836792,
-0.5327828526496887,
0.13154490292072296,
0.03237171471118927,
-0.18112187087535858,
-0.0007856562733650208,
-0.21659418940544128,
0.012003898620605469,
-0.08124285191297531,
0.7242016792297363,
0.11105550825595856,
-0.20837749540805817,
0.008875902742147446,
-0.24249796569347382,
-0.29384222626686096,
-0.027652980759739876,
-0.19581136107444763,
0.0789918303489685,
0.14236332476139069,
0.3143863081932068,
-0.5149176120758057,
-0.18705539405345917,
0.3187007009983063,
0.16827285289764404,
-0.17231565713882446,
0.039094410836696625,
-0.32757726311683655,
-0.22799408435821533,
-0.5197820663452148,
0.16723287105560303,
0.16619189083576202,
-0.10298849642276764,
-0.299114465713501,
-0.10827936232089996,
0.2560396194458008,
-0.25448256731033325,
0.23576690256595612,
0.12709824740886688,
0.1782640516757965,
-0.08398274332284927,
0.18195609748363495,
0.17694219946861267,
-0.15446841716766357,
-0.3216114938259125,
0.59812331199646,
-0.0221736840903759,
-0.058621928095817566,
0.10945453494787216,
-0.36147505044937134,
0.4110206365585327,
0.6223659515380859,
-0.15607582032680511,
0.06479918956756592,
-0.21464620530605316,
0.08126604557037354,
-0.37487754225730896,
0.18172277510166168,
0.05144832283258438,
-0.17695365846157074,
0.16690212488174438,
-0.27794140577316284,
0.36957842111587524,
0.02165815234184265,
-0.06594271957874298,
0.035623908042907715,
0.09620317071676254,
-0.2835402190685272,
0.05709593743085861,
-0.11380099505186081,
1.069327712059021,
0.2222156524658203,
0.6234670877456665,
0.3755708932876587,
0.17630405724048615,
0.31507521867752075,
-0.4513782858848572,
0.17866449058055878,
-0.2012120932340622,
0.10356804728507996,
-0.13988453149795532,
-0.12463405728340149,
-0.018997393548488617,
0.05082001909613609,
-0.5756607055664062,
0.49954357743263245,
0.019261054694652557,
0.21720120310783386,
0.02313554659485817,
0.16186346113681793,
-0.3853875398635864,
-0.11245262622833252,
-0.0690079927444458,
-0.03077830746769905,
0.20142459869384766,
0.10434684157371521,
-0.018980665132403374,
-0.2872697114944458,
-0.18538318574428558,
-0.09462492167949677,
-0.05244763195514679,
-0.02972104214131832,
-0.2439192831516266,
-0.3457622528076172,
-0.08745443820953369,
-0.3026590943336487,
-0.1660916954278946,
0.1427694410085678,
0.03907817602157593,
0.18940620124340057,
-0.23736220598220825,
0.0608968585729599,
-0.43280208110809326,
-0.11274248361587524,
0.06967435777187347,
0.02278953418135643,
-0.05077820271253586,
-0.1458858847618103,
-0.1859685778617859,
0.2991918921470642,
-0.29809945821762085,
-0.16841083765029907,
-0.11410945653915405,
0.05774889141321182,
0.10189488530158997,
-0.4452916383743286,
-0.18320894241333008,
0.18529990315437317,
-0.4050765037536621,
-0.060172684490680695,
0.06032459810376167,
0.08192607015371323,
-0.25271934270858765,
0.044044122099876404,
-0.21141274273395538,
-0.213349387049675,
-0.13761091232299805,
-0.010504692792892456,
0.19987720251083374,
0.1516302078962326,
0.5854538679122925,
-0.13008490204811096,
0.009334906935691833,
-0.24509617686271667,
-0.12311528623104095,
-0.030610091984272003,
-0.5347571969032288,
0.23776040971279144,
0.0014268355444073677,
-0.5449160933494568,
-0.26496005058288574,
0.48232609033584595,
0.036340776830911636,
0.06900180876255035,
-0.26006990671157837,
-0.409889280796051,
-0.2014782726764679,
0.4954524040222168,
-0.000630989670753479,
0.3006220757961273,
-0.11348523199558258,
0.4174042046070099,
0.19131828844547272,
0.3502369523048401,
-0.25848713517189026,
0.20951662957668304,
-0.14173370599746704,
0.43037477135658264,
0.0934077799320221,
-0.14160627126693726,
-0.04525410383939743,
0.18220515549182892,
-0.06130444258451462,
0.3636208772659302,
-0.33749517798423767,
-0.1286693811416626,
-0.009975793771445751,
0.18593868613243103,
0.15379676222801208,
-0.3786318600177765,
0.43485087156295776,
0.025658320635557175,
-0.10487063229084015,
0.04313240945339203,
0.2912787199020386,
-0.3692519962787628,
0.11823117733001709,
0.11836054921150208,
0.013767082244157791,
0.04809684306383133,
-0.4995006322860718,
0.2395215779542923,
-0.25793126225471497,
0.25400662422180176,
-0.12998066842556,
0.1740553379058838,
-0.3361157178878784,
-0.044378358870744705,
0.15806111693382263,
0.1976793110370636,
0.07955348491668701,
0.17123368382453918,
0.264544814825058,
0.2114090770483017,
0.14467978477478027,
-0.01790686883032322,
0.07034244388341904,
0.5332183837890625,
-0.1738421767950058,
0.2775568664073944,
0.18554994463920593,
0.15278568863868713,
-0.23861639201641083,
0.15934109687805176,
-0.21650899946689606,
-0.10039839893579483,
0.16471025347709656,
0.5168994665145874,
0.3867531418800354,
-0.14251163601875305,
0.35089021921157837,
-0.032602742314338684,
0.29026415944099426,
0.4159082770347595,
-0.011312657967209816,
0.48008447885513306,
-0.5192819237709045,
0.025729920715093613,
-0.07866808772087097,
-0.15133729577064514,
0.06932240724563599,
-0.02844332903623581,
-0.0446680411696434,
0.06300490349531174,
0.15416055917739868,
0.05787909775972366,
-0.030001379549503326,
-0.07257129997015,
0.0944693461060524,
0.11961451917886734,
0.056178975850343704,
0.15637558698654175,
-0.01986052840948105,
0.32941460609436035,
-0.10501186549663544,
0.013951228931546211,
-0.16780272126197815,
0.022725198417901993,
0.12669020891189575,
-0.01859624870121479,
0.024014603346586227,
-0.047700874507427216,
-0.41270068287849426,
0.03792523220181465,
-0.05395405367016792,
-0.4047776460647583,
0.14899569749832153,
-0.14973603188991547,
0.05289853364229202,
0.08321520686149597,
0.21163299679756165,
0.014750713482499123,
0.4026765525341034,
-0.24385756254196167,
0.31333640217781067,
0.284870982170105,
0.19102343916893005,
0.2638661861419678,
0.3200584053993225,
0.09654852747917175,
0.04372692480683327,
-0.19667740166187286,
-0.030740637332201004,
0.06130916625261307,
0.018923720344901085,
-0.16114860773086548,
0.3495398759841919,
0.17938944697380066,
0.11206188797950745,
0.35288378596305847,
0.03011096455156803,
-0.19532832503318787,
0.18125970661640167,
0.15012386441230774,
-0.15741679072380066,
-0.4946831464767456,
0.20602060854434967,
0.015538552775979042,
-0.18131417036056519,
0.046549081802368164,
-0.18033713102340698,
-0.38623911142349243,
0.048097237944602966,
0.1384129524230957,
-0.40899214148521423,
0.09464426338672638,
-0.1511399745941162,
0.058439694344997406,
-0.1479969471693039,
0.5880554914474487,
0.20906351506710052,
0.19611096382141113,
-0.4466966688632965,
-0.08131556212902069,
-0.4188286066055298,
-0.002621985971927643,
-0.2624969482421875,
-0.011999571695923805,
0.03357916325330734,
0.33400464057922363,
0.1762806475162506,
0.6751840114593506,
-0.4472545385360718,
0.2808853089809418,
-0.05314397066831589,
-0.15516191720962524,
-0.3096896708011627,
-0.21372611820697784,
0.03475156053900719,
0.35809993743896484,
0.13722969591617584,
-0.41862764954566956,
0.16747406125068665,
0.013247066177427769,
0.01917097717523575,
0.2647833228111267,
-0.203813835978508,
0.45271697640419006,
0.12549206614494324,
0.05131804198026657,
-0.0474618598818779,
0.038555312901735306,
0.04649626463651657,
-0.1693400889635086,
-0.07731854915618896,
-0.20849932730197906,
-0.3421688973903656,
-0.22335100173950195,
0.25321680307388306,
0.21116335690021515,
-0.2864065170288086,
0.12534430623054504,
0.007847979664802551,
0.42778295278549194,
0.2668277621269226,
0.10132754594087601,
-0.016892390325665474,
0.320282906293869,
-0.21455949544906616,
0.1892639845609665,
0.26922571659088135,
0.5149922966957092,
-0.333766907453537,
-0.07332238554954529,
-0.2095990628004074,
-0.16472968459129333,
0.44220149517059326,
-0.12883876264095306,
0.06301848590373993,
0.04319477453827858,
0.26820647716522217,
0.29878222942352295,
0.07224823534488678,
-0.8572602272033691,
-0.13229478895664215,
0.2602584660053253,
-0.015011616051197052,
-0.13921184837818146,
0.20437152683734894,
0.1531374156475067,
-0.3810107111930847,
-0.08663202822208405,
0.43578851222991943,
0.038645241409540176,
-0.23533159494400024,
0.06901471316814423,
-0.5076738595962524
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | Also since there doesn't seem to be any meaning in the order of answer_1 and answer_2, it might make sense to combine them (see [squad.py](https://github.com/huggingface/nlp/blob/8b0ffc85e4e52ae1f18d31be99b6c70b82c991ca/datasets/squad/squad.py#L86-L88)):
```python
"answers": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokenized": nlp.features.Sequence(nlp.Value("string"))
})
```
(the tokenized features should also probably be lists of strings not just strings - see [natural_questions.py](https://github.com/huggingface/nlp/blob/4cd34287300a1135ce7b22f6dd209ca305c71b3a/datasets/natural_questions/natural_questions.py#L83))
Again, this is a personal preference thing, but it might be useful to combine the document-related features:
```python
{
"document": {
"id": nlp.Value("string"),
"kind": nlp.Value("string"),
"url": nlp.Value("string"),
"file_size": nlp.Value("int32"),
"word_count": nlp.Value("int32"),
"start": nlp.Value("string"),
"end": nlp.Value("string"),
"wiki_url": nlp.Value("string"),
"wiki_title": nlp.Value("string"),
"summary": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
}),
"text": nlp.Value("string"),
},
"question": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
}),
"answers": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
})
}
``` | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 115 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
Also since there doesn't seem to be any meaning in the order of answer_1 and answer_2, it might make sense to combine them (see [squad.py](https://github.com/huggingface/nlp/blob/8b0ffc85e4e52ae1f18d31be99b6c70b82c991ca/datasets/squad/squad.py#L86-L88)):
```python
"answers": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokenized": nlp.features.Sequence(nlp.Value("string"))
})
```
(the tokenized features should also probably be lists of strings not just strings - see [natural_questions.py](https://github.com/huggingface/nlp/blob/4cd34287300a1135ce7b22f6dd209ca305c71b3a/datasets/natural_questions/natural_questions.py#L83))
Again, this is a personal preference thing, but it might be useful to combine the document-related features:
```python
{
"document": {
"id": nlp.Value("string"),
"kind": nlp.Value("string"),
"url": nlp.Value("string"),
"file_size": nlp.Value("int32"),
"word_count": nlp.Value("int32"),
"start": nlp.Value("string"),
"end": nlp.Value("string"),
"wiki_url": nlp.Value("string"),
"wiki_title": nlp.Value("string"),
"summary": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
}),
"text": nlp.Value("string"),
},
"question": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
}),
"answers": nlp.features.Sequence({
"text": nlp.Value("string"),
"tokens": nlp.features.Sequence(nlp.Value("string"))
})
}
``` | [
0.2530892789363861,
0.010934010148048401,
-0.14542438089847565,
0.007027365267276764,
-0.00575324147939682,
-0.003153286874294281,
-0.020895037800073624,
0.45685508847236633,
-0.3686225712299347,
-0.04548667371273041,
0.1400976926088333,
0.42741161584854126,
0.21610867977142334,
0.18808242678642273,
0.1454329937696457,
-0.18629427254199982,
0.010779745876789093,
0.12299040704965591,
0.3130362033843994,
0.022796213626861572,
-0.14992199838161469,
0.26819202303886414,
-0.15656539797782898,
0.055017389357089996,
-0.17376427352428436,
-0.10680019110441208,
-0.3051086962223053,
0.17589427530765533,
-0.038914285600185394,
-0.40831026434898376,
-0.2943631112575531,
0.18032115697860718,
-0.13438239693641663,
0.10121960192918777,
-0.00010552084859227762,
-0.36495810747146606,
0.05540722981095314,
-0.2629949748516083,
-0.11867859959602356,
-0.2024427205324173,
0.22981014847755432,
-0.30370837450027466,
0.02814953587949276,
-0.28361430764198303,
-0.11658116430044174,
-0.14328719675540924,
0.10861735790967941,
0.15923017263412476,
0.4212164282798767,
0.4467617869377136,
0.21669252216815948,
0.05876539647579193,
0.07264761626720428,
0.05447882413864136,
0.32403576374053955,
0.07244870066642761,
-0.24903100728988647,
0.04283497482538223,
0.5542431473731995,
-0.3037189245223999,
-0.014194369316101074,
0.37829411029815674,
0.05930968374013901,
-0.2221858650445938,
0.06618581712245941,
0.13810591399669647,
0.4118693768978119,
-0.23713186383247375,
-0.0583362802863121,
0.2571741044521332,
0.21128582954406738,
-0.1984538733959198,
-0.2065613567829132,
-0.26401886343955994,
0.13366328179836273,
-0.0827198401093483,
-0.0847458615899086,
0.3444783091545105,
-0.19054043292999268,
0.036168307065963745,
0.003214098745957017,
-0.05293731018900871,
-0.23981481790542603,
0.2771753668785095,
0.22045022249221802,
0.4088517725467682,
0.07684042304754257,
0.011571038514375687,
-0.062483590096235275,
-0.2180103212594986,
-0.10612207651138306,
-0.16415999829769135,
-0.08583168685436249,
0.13675576448440552,
0.0354372039437294,
-0.36493831872940063,
0.04569694399833679,
-0.23109906911849976,
0.31073811650276184,
-0.0945625752210617,
0.11529053002595901,
-0.15884950757026672,
0.1354730874300003,
-0.048355832695961,
0.20395898818969727,
0.24289493262767792,
0.4186724126338959,
0.24420751631259918,
-0.10053852200508118,
0.250363826751709,
0.013603586703538895,
0.04540974274277687,
0.037784650921821594,
0.11948689818382263,
-0.2834532856941223,
0.10834729671478271,
0.3514954447746277,
-0.20222234725952148,
-0.08673979341983795,
0.05028066784143448,
-0.2785013020038605,
0.005561759229749441,
-0.26568740606307983,
0.4686500132083893,
-0.0026769773103296757,
0.2508140504360199,
0.053975775837898254,
0.2916647791862488,
-0.03715509548783302,
0.06501536071300507,
-0.1492159068584442,
-0.050112757831811905,
-0.05369597673416138,
0.1125049740076065,
0.29750147461891174,
0.33623382449150085,
0.3761990964412689,
0.012606068514287472,
0.07508864998817444,
-0.16381190717220306,
0.36800506711006165,
-0.19339045882225037,
0.0144471675157547,
-0.0876503586769104,
0.08638088405132294,
0.03815010190010071,
0.058582622557878494,
-0.15285223722457886,
-0.24568933248519897,
0.2611706554889679,
-0.2856251299381256,
-0.04060550779104233,
0.10012821853160858,
0.29689735174179077,
-0.09989205747842789,
-0.15940484404563904,
0.3372567892074585,
0.41733604669570923,
0.2566176950931549,
-0.07538187503814697,
0.16932041943073273,
0.20010492205619812,
-0.06474029272794724,
-0.1499573290348053,
-0.11277442425489426,
0.24839209020137787,
0.0017965510487556458,
-0.06496083736419678,
0.2796485126018524,
0.022901322692632675,
-0.1438015103340149,
0.0697774812579155,
-0.023674309253692627,
0.1929967701435089,
-0.08095250278711319,
0.4331037402153015,
0.3300152122974396,
-0.736567497253418,
-0.13760344684123993,
0.2691025733947754,
-0.14780518412590027,
0.1295640766620636,
0.15148819983005524,
0.08070044964551926,
0.17088019847869873,
-0.10332614928483963,
0.15081390738487244,
0.39209938049316406,
-0.14540988206863403,
0.17159517109394073,
-0.32007357478141785,
-0.08849969506263733,
0.22276410460472107,
0.13874183595180511,
-0.3824745714664459,
-0.06553477793931961,
-0.31952351331710815,
-0.057289302349090576,
0.42323416471481323,
-0.05970926210284233,
0.035593196749687195,
0.10042829066514969,
0.3771924376487732,
-0.23450835049152374,
0.0912066102027893,
0.10954653471708298,
-0.21847358345985413,
-0.12252207100391388,
-0.4136104881763458,
0.1741693913936615,
-0.020791321992874146,
-0.49688977003097534,
-0.36757567524909973,
-0.297453373670578,
-0.09739714860916138,
-0.5453581213951111,
0.2768765687942505,
0.16787758469581604,
-0.2656872868537903,
0.07445500791072845,
0.054038871079683304,
-0.07736247032880783,
-0.2523282468318939,
0.018754031509160995,
-0.026412907987833023,
-0.023416386917233467,
-0.22500841319561005,
-0.117810919880867,
0.21832656860351562,
0.345679372549057,
0.07899058610200882,
0.13977248966693878,
0.09028353542089462,
0.3066655099391937,
-0.18449129164218903,
0.2386966049671173,
0.1251988708972931,
-0.16424237191677094,
0.11439944058656693,
-0.13044923543930054,
-0.06135742366313934,
0.37716177105903625,
0.012020417489111423,
-0.19592341780662537,
-0.48618409037590027,
0.34380340576171875,
-0.09089691936969757,
0.309076726436615,
0.09188151359558105,
-0.052916914224624634,
0.0032105278223752975,
-0.16538095474243164,
-0.2290218323469162,
0.013922885060310364,
0.234723299741745,
0.10901381075382233,
0.0739833265542984,
-0.10086226463317871,
-0.17022912204265594,
0.4524926543235779,
0.5925508737564087,
0.08151927590370178,
0.2092885971069336,
0.1178237795829773,
-0.05463763326406479,
-0.11970692127943039,
0.13366904854774475,
-0.3558090329170227,
0.27796849608421326,
0.3286578953266144,
-0.09787856042385101,
0.10867838561534882,
-0.14539436995983124,
-0.2618713974952698,
0.08864650130271912,
-0.11594760417938232,
-0.22328975796699524,
0.4328401982784271,
0.396727055311203,
-0.07424663752317429,
-0.06323425471782684,
0.12902019917964935,
-0.11303423345088959,
0.08794824033975601,
-0.23042045533657074,
-0.052574366331100464,
0.2721866965293884,
-0.3355574905872345,
-0.1222233921289444,
-0.317294716835022,
-0.03365952894091606,
-0.2152514010667801,
0.45258647203445435,
-0.03728264197707176,
-0.15861134231090546,
0.12529364228248596,
0.35905590653419495,
0.3480179011821747,
0.10951825976371765,
-0.003442969173192978,
0.09392695128917694,
-0.17590712010860443,
-0.03525564819574356,
0.23548567295074463,
-0.14694362878799438,
0.3691938817501068,
0.40022021532058716,
-0.1786644160747528,
-0.1974433809518814,
-0.02352571301162243,
-0.43045881390571594,
-0.006617248058319092,
-0.2344847470521927,
0.37090569734573364,
-0.025743424892425537,
0.050557903945446014,
-0.09616164863109589,
-0.4491572976112366,
0.27151650190353394,
-0.052492424845695496,
-0.2466699630022049,
0.0005193892866373062,
0.06600471585988998,
-0.13750334084033966,
-0.29648271203041077,
-0.7862712144851685,
-0.07837329059839249,
-0.4064221680164337,
0.446564257144928,
0.2283754199743271,
0.32844823598861694,
0.18605370819568634,
0.007152914069592953,
0.13623276352882385,
-0.10837788134813309,
0.1725817620754242,
-0.1917915940284729,
0.0438288189470768,
0.11130723357200623,
-0.2675803005695343,
-0.3119582235813141,
-0.19821403920650482,
-0.18749061226844788,
-0.09061025083065033,
-0.16360287368297577,
-0.2826181650161743,
-0.6306867599487305,
0.10486450046300888,
0.07104843854904175,
-0.19063414633274078,
-0.0899544432759285,
0.4364255964756012,
-0.21806944906711578,
-0.17532552778720856,
-0.04251432046294212,
0.01460668072104454,
0.34174320101737976,
0.29667627811431885,
0.2606227397918701,
-0.2908807396888733,
0.3161572515964508,
0.14056836068630219,
0.6011985540390015,
0.3791833519935608,
0.4840148091316223,
-0.015622906386852264,
-0.12103118747472763,
-0.0579136498272419,
0.08132784813642502,
-0.19274164736270905,
0.23687997460365295,
0.036156706511974335,
0.20086964964866638,
0.31308698654174805,
0.11523368954658508,
-0.05508563667535782,
0.06352370232343674,
0.052345070987939835,
-0.43767058849334717,
-0.2116450071334839,
0.26629769802093506,
0.06486619263887405,
0.21890148520469666,
-0.1858292520046234,
-0.1516607254743576,
-0.20583078265190125,
-0.2764071822166443,
-0.18836769461631775,
0.20123104751110077,
0.05258458852767944,
0.10015129297971725,
-0.4915255904197693,
0.03250618278980255,
-0.3174111545085907,
-0.005290769040584564,
0.2193070948123932,
0.12737783789634705,
-0.086018867790699,
-0.08622229099273682,
-0.02161198854446411,
-0.19454294443130493,
0.4367225170135498,
0.1207970455288887,
-0.1713639348745346,
0.12171924114227295,
0.038606613874435425,
-0.4217075705528259,
0.010196197777986526,
-0.5027800798416138,
0.13317811489105225,
0.20098227262496948,
0.40655338764190674,
-0.406784325838089,
-0.07502096891403198,
0.09937594085931778,
-0.10813464224338531,
-0.026264546439051628,
-0.09053865820169449,
-0.2002250999212265,
-0.10415902733802795,
-0.474423348903656,
0.29651740193367004,
0.17698967456817627,
0.004657738376408815,
-0.29820239543914795,
-0.369095116853714,
0.2823725938796997,
-0.1215704008936882,
0.30691012740135193,
0.1353035569190979,
0.2060120403766632,
-0.08305816352367401,
0.030713126063346863,
-0.04276640713214874,
-0.046924665570259094,
-0.41552332043647766,
0.20301775634288788,
0.11141180992126465,
0.1249498724937439,
-0.1827569603919983,
-0.492337167263031,
0.33055537939071655,
0.48615890741348267,
0.03698444738984108,
0.25074610114097595,
-0.5385112762451172,
0.021500114351511,
-0.1532476842403412,
0.16133379936218262,
0.2386956363916397,
-0.04667128250002861,
0.11339523643255234,
0.20131242275238037,
0.20775502920150757,
-0.2058216631412506,
-0.23311249911785126,
-0.14665672183036804,
-0.08775337040424347,
-0.31341472268104553,
0.24682022631168365,
-0.1366112232208252,
0.9404686689376831,
0.15729990601539612,
0.3488825559616089,
0.3546079397201538,
0.22292862832546234,
0.23085655272006989,
-0.34455275535583496,
0.15509343147277832,
-0.3683779835700989,
0.04406952112913132,
0.15042884647846222,
-0.10284680873155594,
-0.09743931144475937,
0.15795746445655823,
-0.7676736116409302,
0.20373636484146118,
-0.020489271730184555,
0.15835988521575928,
-0.005547733977437019,
0.3861883878707886,
-0.1459340900182724,
0.02825048193335533,
-0.4909340739250183,
0.18880383670330048,
0.0007497482001781464,
-0.1686202436685562,
-0.08039799332618713,
-0.18080826103687286,
-0.2036145031452179,
-0.1882442831993103,
0.019905313849449158,
0.16053393483161926,
-0.2586630880832672,
-0.24082686007022858,
0.19646377861499786,
-0.057523176074028015,
-0.16505418717861176,
0.2880095839500427,
-0.0048133209347724915,
0.24869731068611145,
-0.13348640501499176,
0.057928189635276794,
-0.20930001139640808,
-0.028760191053152084,
0.15480360388755798,
-0.057965319603681564,
0.04621615260839462,
-0.33227211236953735,
-0.42072251439094543,
0.13530442118644714,
0.07152988761663437,
-0.27048996090888977,
-0.37211281061172485,
-0.01642664521932602,
0.13133615255355835,
-0.3061245083808899,
-0.33343443274497986,
0.1915552020072937,
-0.4196762144565582,
-0.15373723208904266,
0.2098158299922943,
0.008035071194171906,
-0.12207743525505066,
0.1351691633462906,
0.20634609460830688,
-0.011765286326408386,
0.016042761504650116,
0.09628364443778992,
0.09057417511940002,
0.06751750409603119,
0.3799561858177185,
0.03684648498892784,
0.04552241414785385,
-0.4005839228630066,
-0.09743452817201614,
-0.091478630900383,
-0.13031604886054993,
0.09718761593103409,
-0.02768438309431076,
-0.5402323007583618,
0.0026108475867658854,
0.37410297989845276,
0.018253540620207787,
0.15299558639526367,
-0.0694117620587349,
-0.39612212777137756,
-0.27580592036247253,
0.42142462730407715,
0.22888295352458954,
0.0676884800195694,
-0.14431774616241455,
0.34352079033851624,
0.00899701751768589,
0.6445086002349854,
-0.45456206798553467,
0.030784055590629578,
-0.3187423348426819,
0.4475771486759186,
-0.006444821134209633,
-0.2437690794467926,
-0.06267908215522766,
0.13828033208847046,
0.14190556108951569,
0.1634656935930252,
-0.17123916745185852,
-0.36923912167549133,
-0.13265375792980194,
0.09590298682451248,
0.1256786733865738,
-0.12894976139068604,
0.14022786915302277,
-0.037884607911109924,
0.053094811737537384,
-0.07327274978160858,
0.07044225931167603,
-0.22155573964118958,
0.06806246191263199,
0.3506697714328766,
-0.16502079367637634,
0.2755621075630188,
0.137431800365448,
0.006576837971806526,
-0.17485633492469788,
-0.15491439402103424,
-0.11502762883901596,
-0.034345969557762146,
-0.2305326610803604,
-0.0016351565718650818,
0.12168435007333755,
0.2110452950000763,
0.23271039128303528,
0.27716195583343506,
0.01119164377450943,
0.2946051359176636,
-0.09808722138404846,
-0.07817669957876205,
-0.1404082477092743,
0.20668068528175354,
-0.4147699475288391,
0.17007781565189362,
-0.17045250535011292,
0.3748852014541626,
-0.26738643646240234,
0.11798501759767532,
0.03198050707578659,
-0.21322301030158997,
0.18851910531520844,
0.23612584173679352,
0.12333439290523529,
-0.1806829571723938,
0.40579867362976074,
0.24299615621566772,
0.02953314781188965,
0.008626189082860947,
-0.13714160025119781,
-0.03758152201771736,
-0.18808133900165558,
-0.11418715119361877,
-0.06288593262434006,
-0.31232860684394836,
0.1622110903263092,
-0.16702976822853088,
0.1414637416601181,
0.1275143027305603,
0.244928240776062,
0.12068343162536621,
0.3662673830986023,
0.46828562021255493,
0.07991980016231537,
0.2392418384552002,
0.2146483212709427,
0.07860475778579712,
0.2821512222290039,
0.44492149353027344,
0.06478293985128403,
-0.17103999853134155,
-0.11210215836763382,
0.022058941423892975,
-0.013982925564050674,
-0.28875309228897095,
-0.0008008964359760284,
-0.11824764311313629,
-0.33775195479393005,
-0.47204914689064026,
-0.06472474336624146,
-0.22922636568546295,
-0.06880718469619751,
-0.07857926189899445,
-0.08563102781772614,
-0.25251060724258423,
0.1941244900226593,
0.17098468542099,
0.46222662925720215,
-0.14133049547672272,
0.3302995264530182,
0.16844867169857025,
0.2453174740076065,
0.2564431428909302,
0.37047266960144043,
0.1440747231245041,
0.19656623899936676,
-0.33520007133483887,
0.20192642509937286,
-0.21525590121746063,
-0.1061181128025055,
0.03024282306432724,
0.19208171963691711,
0.29548972845077515,
-0.18009456992149353,
0.2695131301879883,
0.21518567204475403,
-0.31396159529685974,
0.08972353488206863,
0.2614160478115082,
-0.36554640531539917,
0.08644011616706848,
0.11387286335229874,
0.019664037972688675,
-0.1591123342514038,
0.0201418437063694,
-0.0166822150349617,
-0.43438148498535156,
0.05630110576748848,
0.1427711397409439,
0.02797989547252655,
0.1937333047389984,
-0.21448931097984314,
0.12623269855976105,
-0.09065607190132141,
0.0830967053771019,
0.19172058999538422,
0.01485564187169075,
-0.21422113478183746,
-0.04719073325395584,
-0.42878109216690063,
0.16568829119205475,
0.1135476678609848,
-0.20852817595005035,
0.15964791178703308,
0.2118113785982132,
0.08619507402181625,
0.33425384759902954,
-0.386080801486969,
0.06767427921295166,
-0.2352313995361328,
-0.196885883808136,
-0.6642415523529053,
-0.002620358020067215,
0.04363156855106354,
0.2758064866065979,
0.2907199561595917,
-0.23805737495422363,
-0.04499742016196251,
0.03684112802147865,
0.15804290771484375,
0.06644002348184586,
-0.1584537923336029,
0.1600586324930191,
0.012779328972101212,
-0.07557035982608795,
0.0994013175368309,
0.23468813300132751,
-0.11394695192575455,
-0.12378586828708649,
0.20322191715240479,
-0.19041118025779724,
-0.2510916590690613,
-0.02503328025341034,
0.16048561036586761,
0.44982707500457764,
0.05146238952875137,
0.1288803517818451,
0.22552023828029633,
0.20772866904735565,
0.04815948009490967,
-0.2437392920255661,
-0.1311967372894287,
0.3686840534210205,
0.1608341932296753,
0.11282256990671158,
-0.4060359001159668,
0.52113938331604,
-0.13231661915779114,
0.1635623276233673,
-0.14045414328575134,
-0.32137250900268555,
0.527268648147583,
-0.07520458102226257,
-0.10008694231510162,
0.09313835203647614,
0.34975218772888184,
0.05842787027359009,
0.0491013303399086,
-0.7020635008811951,
-0.2522558867931366,
0.2844567596912384,
0.03548571467399597,
-0.15819516777992249,
0.3718501925468445,
-0.050741005688905716,
-0.07598437368869781,
-0.08373420685529709,
0.03683856874704361,
0.10513199865818024,
0.026358267292380333,
-0.10663168132305145,
-0.48066115379333496
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | @lhoestq do you think it's acceptable for the `dl_manager` to go grab all the individual stories from project gutenburg? I've got a working version of that but it does clutter up your huggingface cache somewhat.
The real value (and original purpose) of this dataset is doing question answering on the full text. | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 52 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
@lhoestq do you think it's acceptable for the `dl_manager` to go grab all the individual stories from project gutenburg? I've got a working version of that but it does clutter up your huggingface cache somewhat.
The real value (and original purpose) of this dataset is doing question answering on the full text. | [
0.012941259890794754,
0.2241087257862091,
-0.15762145817279816,
0.4776279330253601,
-0.13520078361034393,
0.1470201015472412,
0.1281757801771164,
0.2970474660396576,
-0.04443693161010742,
0.1725040078163147,
0.24791158735752106,
-0.12689679861068726,
0.03946715593338013,
0.5037288665771484,
0.17118646204471588,
-0.04138728976249695,
-0.09992603212594986,
0.02173745632171631,
-0.05767282843589783,
-0.009252633899450302,
-0.13124217092990875,
0.3030090630054474,
-0.278189480304718,
-0.05551135540008545,
-0.27393683791160583,
0.07314294576644897,
-0.00010430440306663513,
0.3520773947238922,
-0.039575181901454926,
-0.39304640889167786,
-0.05794677138328552,
0.06103254109621048,
-0.1336769163608551,
0.11600396037101746,
-0.0001084887480828911,
-0.20688728988170624,
0.2618979811668396,
-0.3021424412727356,
-0.3624858558177948,
0.08757476508617401,
0.22313156723976135,
-0.14237448573112488,
-0.014051082544028759,
-0.2337258756160736,
-0.19003605842590332,
0.27987757325172424,
-0.006974184885621071,
-0.08373476564884186,
0.30032098293304443,
0.28936436772346497,
0.24951882660388947,
0.07504311949014664,
-0.016012433916330338,
-0.15355448424816132,
0.42119982838630676,
0.14169460535049438,
-0.30203285813331604,
0.10468125343322754,
0.454438179731369,
-0.021694233641028404,
-0.07125193625688553,
0.4770772159099579,
-0.03812568634748459,
-0.015267577022314072,
-0.005962982773780823,
-0.08037545531988144,
0.3983005881309509,
-0.07909170538187027,
0.4748968183994293,
0.28211861848831177,
0.6454198360443115,
-0.2529698312282562,
0.04287124425172806,
-0.21971413493156433,
0.02049557864665985,
-0.17044086754322052,
0.020146138966083527,
0.315374493598938,
-0.48526066541671753,
0.17561529576778412,
-0.18515121936798096,
-0.23439928889274597,
-0.12061277031898499,
-0.005399912595748901,
-0.07887382060289383,
0.11962220072746277,
-0.22191423177719116,
-0.0022566616535186768,
0.1503441482782364,
0.173944354057312,
0.06474746018648148,
-0.09008587151765823,
-0.30787959694862366,
0.007308203727006912,
-0.05740492418408394,
-0.21903814375400543,
-0.1281333565711975,
0.14739182591438293,
0.3940589427947998,
0.006667487323284149,
-0.16216427087783813,
0.01662265509366989,
0.20472325384616852,
-0.20237544178962708,
0.3419281244277954,
0.19054371118545532,
0.3933700919151306,
-0.015558499842882156,
0.007002685219049454,
0.04942626506090164,
0.1964813768863678,
-0.03786338120698929,
0.022027626633644104,
0.3371039927005768,
-0.39927414059638977,
-0.005442893132567406,
0.12768925726413727,
-0.18283089995384216,
-0.21045686304569244,
0.17310617864131927,
-0.32883572578430176,
-0.27408307790756226,
-0.14246809482574463,
0.4050983190536499,
0.17512767016887665,
0.14239004254341125,
0.100384920835495,
0.011710340157151222,
0.10439968854188919,
-0.20977802574634552,
-0.2426263988018036,
-0.20306457579135895,
-0.24763336777687073,
0.15663644671440125,
0.24204109609127045,
0.13654237985610962,
0.3613536059856415,
-0.11213822662830353,
-0.23843927681446075,
-0.04295961558818817,
0.27875855565071106,
-0.048718295991420746,
0.16917958855628967,
0.1762409210205078,
-0.06715638190507889,
0.24995993077754974,
0.04771077260375023,
-0.1137329638004303,
-0.06840266287326813,
0.4851706027984619,
-0.14504122734069824,
-0.2820168137550354,
0.004623251035809517,
0.19717538356781006,
-0.05275622755289078,
-0.10442674160003662,
0.12894141674041748,
0.42703092098236084,
0.05486449599266052,
0.27157196402549744,
0.592674970626831,
0.3972932696342468,
0.16326743364334106,
0.13836948573589325,
-0.05003160983324051,
0.5447617769241333,
-0.37004387378692627,
-0.17736193537712097,
-0.016727685928344727,
-0.3285161852836609,
0.0513993464410305,
0.20110853016376495,
-0.17168410122394562,
0.20648372173309326,
-0.10187605023384094,
0.09054204821586609,
0.18563459813594818,
-0.40092962980270386,
-0.24976608157157898,
0.1046283170580864,
-0.08268323540687561,
0.053148046135902405,
0.22010818123817444,
0.12676745653152466,
0.008497661910951138,
0.05636689439415932,
-0.2735276520252228,
0.15176638960838318,
-0.10979433357715607,
0.08307348191738129,
-0.15665294229984283,
-0.047423385083675385,
0.3618636131286621,
0.21901674568653107,
-0.29392024874687195,
0.0964568555355072,
-0.30428585410118103,
-0.007033160421997309,
0.6444447040557861,
0.06072097271680832,
0.1549840271472931,
0.1956520527601242,
0.1854248046875,
0.007646918296813965,
0.1219501793384552,
0.15757369995117188,
-0.4236239790916443,
-0.14813300967216492,
0.0873650461435318,
0.24155676364898682,
0.30608248710632324,
-0.32980358600616455,
-0.3404056131839752,
0.033481717109680176,
0.09444539994001389,
-0.7386757135391235,
0.13551490008831024,
0.20090268552303314,
-0.34395331144332886,
-0.006006248295307159,
-0.21003083884716034,
0.09794849157333374,
-0.14665719866752625,
0.05469129607081413,
-0.1536303013563156,
-0.11021901667118073,
-0.11146347969770432,
-0.04532138258218765,
-0.12668177485466003,
0.31356385350227356,
-0.08054492622613907,
0.002575543010607362,
0.06142445281147957,
0.15131185948848724,
-0.11746840178966522,
-0.09765873849391937,
0.20082977414131165,
0.003656715154647827,
0.008900972083210945,
-0.10437510162591934,
0.060515910387039185,
-0.04061530530452728,
0.05792722851037979,
-0.14008042216300964,
-0.4016038775444031,
-0.036321550607681274,
0.1664370596408844,
0.2445351779460907,
-0.23855331540107727,
-0.03839369863271713,
0.09608176350593567,
-0.3526279926300049,
-0.011239632964134216,
-0.13171660900115967,
0.3220086097717285,
0.07602716982364655,
0.37136319279670715,
0.19618189334869385,
-0.2843301296234131,
0.2397477626800537,
0.565264880657196,
-0.14563344419002533,
0.0727493092417717,
0.18094134330749512,
-0.401682049036026,
-0.1120457723736763,
0.3591907024383545,
-0.12611877918243408,
0.1282813400030136,
0.29314637184143066,
0.14626069366931915,
0.11174725741147995,
0.5465559959411621,
-0.3062482178211212,
0.22019541263580322,
-0.02177589386701584,
-0.44669389724731445,
0.04118752479553223,
0.008266263641417027,
-0.050776828080415726,
-0.21685293316841125,
0.4692521393299103,
-0.2004196047782898,
0.023497117683291435,
-0.19256699085235596,
0.02636481262743473,
0.27088668942451477,
-0.5043435096740723,
0.005101881921291351,
-0.1303742378950119,
-0.29541707038879395,
-0.10215896368026733,
0.31298738718032837,
-0.08002647757530212,
-0.2037954479455948,
0.16501173377037048,
0.35982945561408997,
0.7754115462303162,
-0.1817549765110016,
0.19135451316833496,
-0.3590702712535858,
-0.12265114486217499,
-0.15021497011184692,
0.21665646135807037,
-0.007305699400603771,
0.15544025599956512,
0.4495760202407837,
-0.24009691178798676,
0.14950430393218994,
-0.40783968567848206,
-0.07619928568601608,
0.25798505544662476,
-0.31023281812667847,
0.17665618658065796,
0.054689522832632065,
0.17213433980941772,
0.01851917803287506,
-0.09873869270086288,
0.025477206334471703,
-0.1733236312866211,
-0.37468695640563965,
-0.1122400313615799,
0.025040632113814354,
-0.003621920244768262,
-0.3117011785507202,
-0.16957077383995056,
-0.1822042167186737,
-0.3866753578186035,
0.5453483462333679,
-0.010938791558146477,
0.14613470435142517,
0.08519560843706131,
-0.2307899445295334,
0.0646510198712349,
-0.1738499104976654,
-0.17659159004688263,
-0.4417980909347534,
-0.23728664219379425,
-0.05056050047278404,
-0.16446462273597717,
0.006118569523096085,
-0.014225725084543228,
0.03582056611776352,
0.012852322310209274,
-0.3632596731185913,
-0.7579177021980286,
-0.327068954706192,
0.06337852776050568,
0.04819076135754585,
-0.061028480529785156,
0.1579030156135559,
0.3806959092617035,
-0.3508550524711609,
-0.15223237872123718,
-0.05837385356426239,
-0.3955990672111511,
0.1686258614063263,
-0.10130085796117783,
0.24469900131225586,
-0.20200535655021667,
0.23853880167007446,
0.09463521838188171,
0.5839970707893372,
0.3230689465999603,
0.49971693754196167,
0.18551281094551086,
-0.12329807132482529,
0.5311334729194641,
-0.11608035117387772,
-0.23077242076396942,
0.0929938554763794,
0.08957034349441528,
-0.04827703908085823,
0.30904385447502136,
0.1085224449634552,
-0.015014510601758957,
-0.03252454847097397,
-0.1081899106502533,
-0.21088889241218567,
-0.29689598083496094,
0.34077635407447815,
-0.01386651024222374,
0.0612008199095726,
-0.1953132301568985,
-0.06820440292358398,
-0.10151152312755585,
-0.2964889109134674,
0.11044241487979889,
0.10155846923589706,
0.07403402030467987,
0.014414481818675995,
-0.38978880643844604,
0.1466217339038849,
-0.5551563501358032,
0.11941412091255188,
-0.1836588978767395,
-0.16405902802944183,
-0.2875906527042389,
-0.12768828868865967,
0.1781114935874939,
-0.1270366907119751,
0.5973522067070007,
0.14105074107646942,
-0.11952167749404907,
0.13183848559856415,
-0.10529367625713348,
-0.14542673528194427,
0.061338480561971664,
-0.2813268005847931,
0.21579374372959137,
0.1666455864906311,
-0.1453239917755127,
-0.3867042362689972,
-0.19924864172935486,
0.3613489866256714,
-0.10767513513565063,
-0.13799385726451874,
-0.15677113831043243,
-0.08920858800411224,
-0.1256820559501648,
-0.3519902527332306,
0.20089900493621826,
0.26719826459884644,
-0.14003559947013855,
-0.01447882317006588,
-0.05587337911128998,
0.3188907206058502,
-0.0070469193160533905,
0.1424756497144699,
-0.0509183406829834,
0.06468501687049866,
0.0630277544260025,
-0.032599661499261856,
0.2559207081794739,
0.02673373743891716,
-0.1502019315958023,
0.5685870051383972,
-0.23878955841064453,
0.2755979895591736,
0.05556066334247589,
-0.4988575279712677,
0.501359760761261,
0.6255110502243042,
0.06291643530130386,
0.15253978967666626,
-0.32114529609680176,
0.03534824028611183,
-0.4010031819343567,
0.0113187525421381,
0.052573807537555695,
0.03751740604639053,
0.018444271758198738,
0.08561946451663971,
0.3484705686569214,
-0.2751767933368683,
-0.1453549563884735,
-0.03723877668380737,
0.19135767221450806,
-0.2601298987865448,
0.023797042667865753,
-0.16366451978683472,
1.054997444152832,
0.01756240427494049,
0.527843713760376,
-0.13497936725616455,
0.21339841187000275,
0.16003361344337463,
-0.30403655767440796,
0.02064521238207817,
-0.46822795271873474,
0.3732403516769409,
0.01832362450659275,
-0.12004418671131134,
-0.23343101143836975,
0.07197637110948563,
-0.4213610887527466,
-0.06880193203687668,
-0.22716876864433289,
0.24988144636154175,
-0.0408736914396286,
0.24263644218444824,
-0.2628663182258606,
-0.007822580635547638,
-0.2539423108100891,
0.19399769604206085,
0.20995742082595825,
0.06582213938236237,
-0.11221978813409805,
-0.10696859657764435,
0.037247080355882645,
-0.23825204372406006,
-0.4238802194595337,
-0.1365388035774231,
-0.5070344805717468,
-0.5073950886726379,
0.34853890538215637,
-0.08444634079933167,
-0.18889106810092926,
0.08863489329814911,
0.21544009447097778,
0.21239745616912842,
-0.22833213210105896,
0.11339516937732697,
-0.24067619442939758,
0.02736610174179077,
0.11781598627567291,
0.15424983203411102,
0.03573830425739288,
-0.22373977303504944,
-0.2817670702934265,
0.32708925008773804,
-0.17110565304756165,
-0.5120536088943481,
-0.09934075176715851,
0.12433092296123505,
0.16796885430812836,
-0.43446412682533264,
0.12053634226322174,
0.12586605548858643,
0.08129444718360901,
-0.061045169830322266,
0.20214799046516418,
0.1372564136981964,
-0.14575707912445068,
-0.19692713022232056,
-0.037716399878263474,
-0.20088422298431396,
-0.06426069140434265,
0.07106462866067886,
-0.017531216144561768,
-0.051545847207307816,
0.4373584985733032,
0.15100273489952087,
0.002392001450061798,
-0.3860108554363251,
-0.02760792151093483,
0.588874876499176,
-0.38954707980155945,
0.21536925435066223,
-0.03171888738870621,
-0.6670619249343872,
-0.06084587424993515,
0.664053738117218,
0.19761089980602264,
-0.138495534658432,
-0.3318478465080261,
-0.2578931450843811,
-0.28348538279533386,
0.24427270889282227,
0.12283356487751007,
0.3090590536594391,
-0.1931147575378418,
0.15617185831069946,
0.025362959131598473,
0.43806707859039307,
-0.45151787996292114,
0.029868151992559433,
-0.4128601849079132,
0.2814989686012268,
0.2147657722234726,
-0.19068965315818787,
0.12172558903694153,
0.15414413809776306,
0.045991137623786926,
0.044002655893564224,
-0.32072558999061584,
-0.3269723355770111,
0.034429483115673065,
0.10198856145143509,
0.027344107627868652,
-0.3279566168785095,
0.14937885105609894,
-0.0017566438764333725,
-0.0005287565290927887,
0.013540132902562618,
0.36388322710990906,
-0.07292090356349945,
0.09266963601112366,
0.22670629620552063,
0.03929707035422325,
0.2798275351524353,
-0.32469838857650757,
0.2271171361207962,
0.062123045325279236,
0.2769324481487274,
-0.23717570304870605,
-0.06874286383390427,
-0.30735981464385986,
-0.023630063980817795,
0.4885256886482239,
0.37600600719451904,
0.3005756437778473,
0.37134870886802673,
-0.11890523880720139,
0.10481461882591248,
-0.10662335902452469,
0.35609787702560425,
-0.12783852219581604,
0.2112955003976822,
-0.43275606632232666,
0.10496775805950165,
-0.019737299531698227,
0.3394359052181244,
0.024025622755289078,
0.015094307251274586,
-0.13191990554332733,
-0.19711706042289734,
0.07625804841518402,
0.2614673674106598,
0.3999791741371155,
-0.1256674826145172,
0.631426990032196,
0.04275240749120712,
0.22558918595314026,
0.3153403401374817,
-0.14332765340805054,
-0.12785600125789642,
-0.5857712030410767,
0.011633530259132385,
0.1471439003944397,
0.053407229483127594,
0.15547430515289307,
-0.020556047558784485,
0.376723051071167,
0.16248203814029694,
0.18529900908470154,
0.0680341050028801,
0.11201819777488708,
0.09093473851680756,
0.5072912573814392,
0.03200799226760864,
0.009620077908039093,
0.005998026579618454,
-0.03297556936740875,
0.32714393734931946,
0.053917281329631805,
-0.2002701312303543,
-0.18521812558174133,
-0.1379978507757187,
-0.21945986151695251,
0.05430508032441139,
0.000024937093257904053,
-0.18559816479682922,
-0.19563080370426178,
-0.11367793381214142,
-0.12324108183383942,
-0.24370907247066498,
0.28402280807495117,
-0.17414134740829468,
-0.21750108897686005,
0.0353609099984169,
-0.16588568687438965,
-0.04275834560394287,
0.18005400896072388,
-0.1900976151227951,
0.34317752718925476,
0.11779721826314926,
0.17678958177566528,
0.4537928104400635,
0.4200599491596222,
0.11746148765087128,
0.04719894751906395,
-0.10651785135269165,
-0.06847915053367615,
-0.15261326730251312,
-0.04373559355735779,
-0.12212053686380386,
0.39885517954826355,
0.18279345333576202,
-0.20235620439052582,
0.0028918012976646423,
0.14990906417369843,
-0.2247259020805359,
-0.022410091012716293,
0.20009338855743408,
-0.14602304995059967,
-0.1843768060207367,
-0.07329990714788437,
-0.019551675766706467,
-0.13451310992240906,
-0.19913631677627563,
-0.15275976061820984,
-0.20694902539253235,
0.16497913002967834,
0.33577680587768555,
-0.47139981389045715,
0.0519876629114151,
-0.24374866485595703,
0.1293460875749588,
-0.11741898953914642,
0.44762566685676575,
0.21110659837722778,
0.15459635853767395,
-0.10705423355102539,
-0.1685420423746109,
-0.34261465072631836,
0.19147685170173645,
0.06074422597885132,
-0.0024025384336709976,
0.17101876437664032,
-0.042197875678539276,
0.28134509921073914,
0.41105979681015015,
-0.09540396928787231,
0.1911914348602295,
-0.19961132109165192,
-0.43755367398262024,
-0.4974452555179596,
-0.09676603972911835,
0.3693240284919739,
0.22880877554416656,
0.2316722273826599,
-0.1982097327709198,
0.2845427393913269,
0.03081025928258896,
0.11845088750123978,
0.03438815847039223,
-0.11790622770786285,
0.2764791250228882,
0.12458662688732147,
0.03828198090195656,
-0.02345501445233822,
0.03697061538696289,
-0.053437285125255585,
-0.21385334432125092,
0.14486311376094818,
-0.09002689272165298,
-0.29049187898635864,
-0.3159359395503998,
0.20884336531162262,
0.12113375961780548,
-0.17433705925941467,
0.02023342251777649,
0.08843036741018295,
0.2600575089454651,
0.1639835685491562,
0.20334576070308685,
-0.1935662180185318,
0.24858233332633972,
0.007181093096733093,
0.11554962396621704,
0.0863608866930008,
0.3986830413341522,
0.01700236275792122,
-0.05577270686626434,
-0.4228506088256836,
0.03634822368621826,
0.4914543032646179,
-0.12382539361715317,
-0.19630958139896393,
-0.043050847947597504,
0.24434958398342133,
0.0887950211763382,
-0.16692614555358887,
-0.904226541519165,
-0.015153944492340088,
0.26462969183921814,
0.05560634285211563,
-0.24915577471256256,
0.3576461970806122,
-0.04582725092768669,
0.00229741632938385,
-0.03511327877640724,
0.596089243888855,
0.2667698562145233,
-0.06722603738307953,
-0.020613273605704308,
-0.4474484324455261
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | > @lhoestq do you think it's acceptable for the `dl_manager` to go grab all the individual stories from project gutenburg? I've got a working version of that but it does clutter up your huggingface cache somewhat.
>
> The real value (and original purpose) of this dataset is doing question answering on the full text.
What's the problem exactly with the cache ? | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 63 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
> @lhoestq do you think it's acceptable for the `dl_manager` to go grab all the individual stories from project gutenburg? I've got a working version of that but it does clutter up your huggingface cache somewhat.
>
> The real value (and original purpose) of this dataset is doing question answering on the full text.
What's the problem exactly with the cache ? | [
0.006467785686254501,
0.05878305435180664,
-0.10448475182056427,
0.5897310972213745,
-0.1356314718723297,
0.19297286868095398,
0.04937441647052765,
0.39319151639938354,
0.031757328659296036,
0.10856276005506516,
0.22286804020404816,
-0.28751811385154724,
0.11719142645597458,
0.2280312031507492,
0.0856388509273529,
-0.04082261770963669,
-0.07463984936475754,
-0.09252525866031647,
0.03096902370452881,
-0.055955544114112854,
-0.07516540586948395,
0.27683818340301514,
-0.24880200624465942,
-0.1640794575214386,
-0.4696447551250458,
0.03079219162464142,
-0.054485030472278595,
0.3299863338470459,
0.03609704226255417,
-0.30587539076805115,
0.02406158857047558,
-0.056823667138814926,
-0.12026552855968475,
0.2123369425535202,
-0.00011285363871138543,
-0.28001320362091064,
0.3434579372406006,
-0.2721436023712158,
-0.405204713344574,
0.1937057226896286,
0.12869900465011597,
0.00010760873556137085,
-0.06768033653497696,
-0.14412564039230347,
-0.12585429847240448,
0.42474037408828735,
0.050955917686223984,
-0.40162044763565063,
0.36838680505752563,
0.2555452287197113,
0.22222179174423218,
0.02991548925638199,
-0.02423478104174137,
-0.044658973813056946,
0.43117770552635193,
0.05308130010962486,
-0.29880017042160034,
0.03667658567428589,
0.39532169699668884,
0.00003072991967201233,
-0.209482342004776,
0.527476966381073,
-0.08170855790376663,
0.1459687054157257,
0.03023778833448887,
0.035453446209430695,
0.1634311079978943,
0.059382252395153046,
0.5829615592956543,
0.13892921805381775,
0.8277509212493896,
-0.19457027316093445,
-0.011089691892266273,
-0.21900883316993713,
-0.1488967090845108,
-0.2666255235671997,
0.17566674947738647,
0.23445996642112732,
-0.32417789101600647,
0.21657226979732513,
-0.2955211400985718,
-0.14644674956798553,
0.008299969136714935,
-0.13115262985229492,
0.0028863921761512756,
-0.04875701665878296,
-0.23844678699970245,
-0.012216180562973022,
0.034519296139478683,
0.20255513489246368,
0.1707078218460083,
-0.04281191527843475,
-0.2210756540298462,
0.05294325575232506,
-0.21657122671604156,
-0.054453831166028976,
-0.027216702699661255,
0.3227345645427704,
0.2833409607410431,
0.057237885892391205,
-0.1511361449956894,
0.0839083194732666,
0.1967809498310089,
-0.19991829991340637,
0.2363094985485077,
0.43855172395706177,
0.37094923853874207,
-0.11513788998126984,
-0.07953643798828125,
0.003163153538480401,
0.04175761714577675,
-0.11721054464578629,
0.062090784311294556,
0.36436304450035095,
-0.07974596321582794,
-0.07642222940921783,
0.13158714771270752,
-0.32588228583335876,
-0.03533787280321121,
0.1927844136953354,
-0.25556978583335876,
-0.27080675959587097,
-0.05533623322844505,
0.4456872344017029,
0.061371851712465286,
0.23411968350410461,
0.032462432980537415,
-0.09405224025249481,
-0.02653157338500023,
-0.30863049626350403,
-0.3304240107536316,
-0.23903752863407135,
-0.20945246517658234,
0.25586676597595215,
0.3040592670440674,
0.11860093474388123,
0.3129124939441681,
-0.18675094842910767,
-0.0942978709936142,
-0.07658251374959946,
0.2367243766784668,
-0.18931224942207336,
0.21814657747745514,
0.15319061279296875,
-0.09610356390476227,
0.41408199071884155,
0.1483362764120102,
-0.0400402694940567,
-0.10160937905311584,
0.38321182131767273,
-0.29953116178512573,
-0.3509092926979065,
0.1927361637353897,
0.1345936357975006,
-0.04505988210439682,
-0.042218782007694244,
0.18692564964294434,
0.30876824259757996,
0.277902215719223,
0.19088737666606903,
0.4800688326358795,
0.3647398352622986,
-0.02989099733531475,
0.010675054043531418,
-0.0682734027504921,
0.5867616534233093,
-0.2598460912704468,
-0.12017543613910675,
-0.03452087566256523,
-0.05693964287638664,
0.09954188019037247,
0.3038867115974426,
-0.07804408669471741,
0.10286159813404083,
-0.09638313204050064,
0.025430753827095032,
0.09033229947090149,
-0.4579218327999115,
-0.49708542227745056,
0.06784159690141678,
-0.03720570728182793,
0.20179904997348785,
0.21214713156223297,
0.12182886898517609,
-0.07547508180141449,
-0.030057400465011597,
-0.0757845938205719,
0.14679691195487976,
-0.08282069861888885,
0.04832187294960022,
-0.365325003862381,
-0.04579712450504303,
0.31331759691238403,
0.21673598885536194,
-0.23225633800029755,
0.15876516699790955,
-0.2531181573867798,
-0.05000047758221626,
0.38340553641319275,
0.13177448511123657,
0.2731700539588928,
0.23929978907108307,
0.13438837230205536,
0.0640314444899559,
0.2777935266494751,
0.20343255996704102,
-0.4586014151573181,
0.019159827381372452,
-0.0034822095185518265,
0.0638062134385109,
0.24788233637809753,
-0.29869669675827026,
-0.2634497284889221,
-0.04069972038269043,
0.06489848345518112,
-0.7197847962379456,
0.09183681011199951,
0.19616016745567322,
-0.1513517051935196,
0.007163017988204956,
-0.1244405210018158,
0.3949850797653198,
0.06231343746185303,
-0.021524710580706596,
-0.3077099323272705,
-0.24128349125385284,
-0.14485473930835724,
-0.0045387353748083115,
-0.2838130593299866,
0.2276923954486847,
0.048568300902843475,
0.05739446356892586,
-0.04793287068605423,
0.19183853268623352,
-0.15201598405838013,
-0.08644665777683258,
0.03507179766893387,
0.044134438037872314,
-0.08799723535776138,
-0.08347289264202118,
0.19248905777931213,
-0.16186468303203583,
0.029831040650606155,
-0.26054489612579346,
-0.402976393699646,
-0.09738597273826599,
0.12549373507499695,
0.16988173127174377,
-0.3505321145057678,
-0.09990504384040833,
0.20635949075222015,
-0.3540610074996948,
0.20224860310554504,
-0.11519309878349304,
0.4028521776199341,
-0.03309979289770126,
0.46787720918655396,
0.1479376256465912,
-0.19392487406730652,
0.3432543873786926,
0.579060435295105,
-0.017317652702331543,
0.13250592350959778,
0.17107924818992615,
-0.4294600486755371,
-0.30285143852233887,
0.3551284372806549,
-0.13223718106746674,
0.19887623190879822,
0.20248933136463165,
0.25816410779953003,
0.08546078205108643,
0.4984923005104065,
-0.2313806712627411,
0.2074262946844101,
-0.10908064246177673,
-0.4306415021419525,
-0.007065683603286743,
0.08539743721485138,
0.04047871008515358,
-0.1944866180419922,
0.5631653070449829,
-0.2060513198375702,
0.011533314362168312,
-0.2069990336894989,
0.14477083086967468,
0.12044483423233032,
-0.3571488559246063,
0.062069330364465714,
-0.06852305680513382,
-0.3043878376483917,
-0.11573879420757294,
0.36121678352355957,
-0.04016105458140373,
-0.03581495210528374,
0.05432610958814621,
0.31156182289123535,
0.792993426322937,
-0.11562403291463852,
0.012043977156281471,
-0.4284553825855255,
-0.3071655333042145,
-0.27323365211486816,
0.15404342114925385,
-0.04856553301215172,
-0.005469224415719509,
0.2993602156639099,
-0.32323381304740906,
0.12858349084854126,
-0.31551384925842285,
-0.030914030969142914,
0.20354828238487244,
-0.19899702072143555,
0.14856401085853577,
-0.17395952343940735,
0.14099280536174774,
-0.13396455347537994,
-0.0004299404099583626,
0.05374036729335785,
-0.2625865936279297,
-0.42098531126976013,
-0.03391541913151741,
0.09424687922000885,
0.05324218049645424,
-0.21322353184223175,
-0.12045953422784805,
-0.11629172414541245,
-0.3409130573272705,
0.4959712028503418,
0.03526828810572624,
0.1171020120382309,
0.19690389931201935,
-0.2803996205329895,
-0.03112693876028061,
-0.20583730936050415,
-0.029000477865338326,
-0.6349933743476868,
-0.4142040014266968,
0.08500735461711884,
-0.08169705420732498,
-0.06116561219096184,
0.0013477876782417297,
0.05804789811372757,
0.06946499645709991,
-0.18059822916984558,
-0.8393286466598511,
-0.31651753187179565,
-0.029560009017586708,
0.0245058573782444,
-0.01543603464961052,
0.17973263561725616,
0.46808069944381714,
-0.35939642786979675,
-0.1114184781908989,
-0.13098976016044617,
-0.45308977365493774,
0.15842083096504211,
-0.07736065983772278,
0.41023752093315125,
-0.15210431814193726,
0.24407511949539185,
0.1732780635356903,
0.6343534588813782,
0.32407715916633606,
0.4849260151386261,
0.28453144431114197,
0.07945188134908676,
0.5497319102287292,
-0.3098244369029999,
-0.2604920566082001,
0.13932658731937408,
-0.10788673162460327,
-0.10821815580129623,
0.252157598733902,
0.3392241299152374,
-0.09731176495552063,
-0.14382967352867126,
-0.06386476755142212,
-0.202005535364151,
-0.2431822568178177,
0.34999755024909973,
-0.0394027978181839,
0.07362596690654755,
0.03398479148745537,
-0.06538288295269012,
-0.19528500735759735,
-0.3390306532382965,
0.17761673033237457,
0.0026619210839271545,
0.07709737122058868,
0.05369177833199501,
-0.408570259809494,
0.3643219769001007,
-0.5206401944160461,
0.2201373130083084,
-0.08422171324491501,
-0.034990016371011734,
-0.3710653781890869,
-0.1493939906358719,
0.2263701856136322,
-0.060487162321805954,
0.7005447149276733,
0.13441568613052368,
-0.00813201442360878,
0.10327458381652832,
-0.20987099409103394,
-0.03232330083847046,
0.07980798184871674,
-0.08760462701320648,
0.17903494834899902,
0.10407544672489166,
-0.2277834117412567,
-0.312056303024292,
-0.08367101848125458,
0.2276763767004013,
-0.01561902929097414,
-0.19196990132331848,
-0.1283673495054245,
-0.1395987868309021,
-0.006152275949716568,
-0.23658190667629242,
0.10021261870861053,
0.27437740564346313,
-0.09068375080823898,
0.026591908186674118,
0.1261371374130249,
0.21027284860610962,
0.014693938195705414,
0.05170556530356407,
-0.14105072617530823,
0.24003592133522034,
0.014357374049723148,
-0.053708456456661224,
0.3660058379173279,
0.06083692982792854,
-0.34307533502578735,
0.625208854675293,
-0.23093822598457336,
0.28834664821624756,
0.05144348740577698,
-0.3005773723125458,
0.22716274857521057,
0.6051038503646851,
0.02926676720380783,
0.029543697834014893,
-0.2754208445549011,
0.023994628340005875,
-0.355392724275589,
-0.0161068644374609,
-0.08930247277021408,
0.09279469400644302,
-0.02828226611018181,
0.07097227871417999,
0.4242134094238281,
-0.13048990070819855,
-0.0452103465795517,
0.07738814502954483,
0.14396867156028748,
-0.19285055994987488,
0.06371387094259262,
-0.17299023270606995,
1.1583259105682373,
-0.04116823524236679,
0.5212228894233704,
-0.2567431330680847,
0.22612698376178741,
0.1968599408864975,
-0.3847828507423401,
0.1392620950937271,
-0.3508273661136627,
0.18214945495128632,
-0.008824659511446953,
-0.07878565788269043,
-0.3759393095970154,
-0.07717140018939972,
-0.3456660211086273,
0.04867035150527954,
-0.13329845666885376,
0.3217350244522095,
0.12314945459365845,
0.002638664096593857,
-0.26792362332344055,
0.011764191091060638,
-0.12480300664901733,
0.17629705369472504,
0.12063250690698624,
0.17713719606399536,
-0.17927509546279907,
-0.0611250102519989,
-0.04086621105670929,
-0.2561517357826233,
-0.42628413438796997,
-0.05057258531451225,
-0.4070405066013336,
-0.3190910220146179,
0.3976273536682129,
-0.1467490792274475,
-0.303257018327713,
0.04102803021669388,
0.3266142010688782,
0.10310119390487671,
-0.350843220949173,
0.12317538261413574,
-0.14648079872131348,
0.030684687197208405,
0.1523023396730423,
0.10496430099010468,
0.12559933960437775,
-0.17777153849601746,
-0.17082205414772034,
0.1771089881658554,
-0.22261717915534973,
-0.6196790337562561,
-0.12225890159606934,
0.1941135972738266,
0.1694023311138153,
-0.3822726905345917,
-0.006233021151274443,
0.11513891071081161,
0.17672760784626007,
-0.042983368039131165,
0.18183231353759766,
0.22958166897296906,
-0.048381175845861435,
-0.19552209973335266,
-0.01782546564936638,
-0.23975427448749542,
-0.012268837541341782,
0.3068075180053711,
0.009771319106221199,
-0.17028678953647614,
0.4410810172557831,
0.11383378505706787,
-0.12428434193134308,
-0.23047897219657898,
-0.24302062392234802,
0.31477296352386475,
-0.5167149901390076,
0.18896695971488953,
-0.1675109714269638,
-0.6393098831176758,
-0.09329263120889664,
0.35013002157211304,
0.2521708607673645,
-0.13508278131484985,
-0.2776598632335663,
-0.3101552724838257,
-0.3138916492462158,
0.2348710149526596,
-0.093187615275383,
0.1594814509153366,
-0.017053568735718727,
-0.07790304720401764,
0.10101888328790665,
0.5554019808769226,
-0.39119952917099,
0.03663409501314163,
-0.306572824716568,
0.26187440752983093,
0.22094608843326569,
-0.29840338230133057,
0.17110814154148102,
0.09783434867858887,
-0.017903871834278107,
0.08147503435611725,
-0.45944052934646606,
-0.3015044331550598,
0.09976407885551453,
0.13838231563568115,
0.0023119747638702393,
-0.29903486371040344,
-0.038837090134620667,
-0.034900911152362823,
0.06633822619915009,
-0.10318881273269653,
0.24100831151008606,
0.09545855969190598,
0.05232158303260803,
0.12858885526657104,
0.06374142318964005,
0.25517112016677856,
-0.3571487069129944,
0.2096841037273407,
-0.06922979652881622,
0.19484829902648926,
-0.25325921177864075,
-0.14775732159614563,
-0.33184078335762024,
0.004788458347320557,
0.34801390767097473,
0.2374461591243744,
0.2770715355873108,
0.1781538724899292,
0.029660644009709358,
-0.08400450646877289,
-0.03458162769675255,
0.28638243675231934,
-0.1856899857521057,
0.08613376319408417,
-0.3161863088607788,
0.05896197259426117,
0.028872303664684296,
0.2531328797340393,
0.09221522510051727,
-0.029576076194643974,
-0.05388803407549858,
-0.06263289600610733,
-0.04846963286399841,
0.20770587027072906,
0.5010926723480225,
-0.1489582657814026,
0.7699219584465027,
0.16973239183425903,
0.42674770951271057,
0.07933729887008667,
-0.20978769659996033,
-0.27842411398887634,
-0.40198609232902527,
0.038742341101169586,
0.27186843752861023,
0.03691503405570984,
0.04922863095998764,
-0.01826031506061554,
0.3524833023548126,
0.14518868923187256,
0.1849682331085205,
0.09614202380180359,
-0.1339292824268341,
-0.0072466228157281876,
0.5019876956939697,
0.2447718381881714,
0.012183047831058502,
0.09624771773815155,
-0.09198914468288422,
0.17073439061641693,
0.05381786823272705,
-0.17804203927516937,
-0.1562201976776123,
-0.19480730593204498,
-0.24237459897994995,
-0.011686393991112709,
0.2593952715396881,
-0.11501795053482056,
-0.19390375912189484,
-0.08823525160551071,
-0.1621456891298294,
-0.18807782232761383,
0.41965383291244507,
-0.162457674741745,
-0.2697109580039978,
-0.10112708061933517,
-0.14622673392295837,
-0.02378430962562561,
0.3019077181816101,
-0.2552410364151001,
0.45102328062057495,
0.11518031358718872,
0.12060997635126114,
0.4059903025627136,
0.48456284403800964,
0.18033114075660706,
0.11231251806020737,
-0.131466343998909,
0.03536735847592354,
-0.025886032730340958,
-0.025731034576892853,
-0.2355271726846695,
0.49679750204086304,
0.18385645747184753,
-0.3105064928531647,
-0.08150461316108704,
0.13026748597621918,
-0.17651759088039398,
0.22129014134407043,
0.10669036209583282,
0.04530918225646019,
-0.27155637741088867,
-0.18123763799667358,
-0.09228082001209259,
-0.1032533124089241,
-0.2101360559463501,
-0.08980395644903183,
-0.27459612488746643,
0.17865779995918274,
0.2958196699619293,
-0.5198920369148254,
0.05560537427663803,
-0.21442796289920807,
0.10256357491016388,
-0.07441021502017975,
0.5047444105148315,
0.440036416053772,
0.1078953742980957,
-0.1303197294473648,
-0.11287660896778107,
-0.37762704491615295,
0.32545700669288635,
0.05149322748184204,
0.1257864236831665,
0.1498558670282364,
0.12188304960727692,
0.1733161062002182,
0.39343464374542236,
-0.07381454110145569,
0.1299382895231247,
-0.1344667375087738,
-0.4160868525505066,
-0.5344043374061584,
-0.011847276240587234,
0.47260791063308716,
0.2289830893278122,
0.2470860779285431,
-0.3091735243797302,
0.3467039167881012,
0.12003667652606964,
0.10325514525175095,
-0.01739092543721199,
-0.12653273344039917,
0.23267152905464172,
0.23113687336444855,
0.03822429105639458,
0.09673324972391129,
-0.05650453269481659,
0.06441908329725266,
-0.17649434506893158,
-0.07578079402446747,
-0.149154931306839,
-0.1044577807188034,
-0.4071166515350342,
0.2511123716831207,
0.10460686683654785,
-0.2968144416809082,
-0.014892350882291794,
0.11526931077241898,
0.41784828901290894,
0.10233241319656372,
0.16299736499786377,
-0.17842252552509308,
0.1829102635383606,
-0.11254316568374634,
0.17350533604621887,
0.16485495865345,
0.3984081745147705,
0.004200242459774017,
-0.001184055581688881,
-0.5157285332679749,
-0.06539800018072128,
0.4276236891746521,
-0.21361508965492249,
-0.13864442706108093,
0.08077845722436905,
0.1988205909729004,
0.21226739883422852,
-0.3085870146751404,
-0.8430387377738953,
-0.019305475056171417,
0.23153769969940186,
0.13103795051574707,
-0.28027456998825073,
0.34974202513694763,
-0.13981860876083374,
0.07044684886932373,
-0.008601672947406769,
0.6962230205535889,
0.27658483386039734,
-0.029695449396967888,
0.09463560581207275,
-0.4072967767715454
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | Nothing, just that because each story is a separate download it gets a bit messy as all 1573 files are under `~/.cache/hugginface/datasets` rather than organized under a subdir.
Probably doesn't matter to the end user though. | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 36 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
Nothing, just that because each story is a separate download it gets a bit messy as all 1573 files are under `~/.cache/hugginface/datasets` rather than organized under a subdir.
Probably doesn't matter to the end user though. | [
0.22938556969165802,
-0.2732177972793579,
-0.21233224868774414,
0.29815375804901123,
-0.03205431252717972,
0.3535586893558502,
0.026930853724479675,
0.27294424176216125,
0.03694985806941986,
-0.04410362243652344,
0.022676512598991394,
-0.23615606129169464,
0.16140633821487427,
0.7085942625999451,
0.11027120798826218,
-0.19037219882011414,
0.09182443469762802,
0.046321604400873184,
-0.10261495411396027,
-0.10788609087467194,
-0.20579032599925995,
0.3881944715976715,
-0.16971802711486816,
0.17569702863693237,
-0.15342925488948822,
-0.06795436143875122,
-0.18102015554904938,
0.5685644149780273,
-0.13277776539325714,
-0.46401625871658325,
-0.1554124653339386,
0.1991214007139206,
-0.29000282287597656,
0.06365882605314255,
-0.0001145921487477608,
-0.1350807100534439,
0.24336960911750793,
-0.3770936131477356,
-0.2967486083507538,
0.20225092768669128,
0.2854236364364624,
-0.09311778098344803,
0.01747097820043564,
-0.09484027326107025,
0.07010093331336975,
-0.04342402145266533,
0.05324031040072441,
0.08308124542236328,
0.1779419481754303,
0.3206805884838104,
0.15905587375164032,
0.04027003422379494,
0.11869712173938751,
-0.1749868541955948,
0.41511160135269165,
0.2286974936723709,
-0.20051681995391846,
0.227092444896698,
0.4926435053348541,
0.08859854191541672,
0.10341363400220871,
0.40588054060935974,
0.10140761733055115,
0.1504763662815094,
0.14446422457695007,
-0.08816388249397278,
0.22653529047966003,
-0.32808008790016174,
0.14904165267944336,
0.4570057988166809,
0.4519400894641876,
-0.24202916026115417,
-0.188254252076149,
-0.1264634132385254,
-0.036641303449869156,
-0.21035297214984894,
0.06345240771770477,
0.4863033890724182,
-0.18004021048545837,
0.062173884361982346,
-0.29623374342918396,
-0.18611237406730652,
-0.19040322303771973,
-0.12900763750076294,
0.23616382479667664,
-0.194649338722229,
-0.15308202803134918,
0.10515409708023071,
0.2254950851202011,
0.1616685390472412,
-0.27182233333587646,
-0.12272657454013824,
-0.3078116178512573,
0.10276772826910019,
-0.032609451562166214,
-0.2854957580566406,
-0.11830071359872818,
0.4890575706958771,
0.3929057717323303,
-0.22727225720882416,
-0.0479813814163208,
-0.1672678291797638,
-0.010617922991514206,
-0.02176002413034439,
0.07635828107595444,
-0.011683430522680283,
0.30041781067848206,
-0.1546594649553299,
0.12111557275056839,
0.0018797372467815876,
0.2005297690629959,
-0.16697445511817932,
0.045108482241630554,
0.1505369395017624,
-0.51743084192276,
-0.14626485109329224,
0.18024903535842896,
-0.20798680186271667,
-0.26727816462516785,
-0.1597747504711151,
-0.25799280405044556,
-0.28238776326179504,
-0.2509633004665375,
0.44755473732948303,
0.012276372872292995,
-0.17956194281578064,
0.1631549894809723,
0.0742989182472229,
-0.07575620710849762,
-0.3200308680534363,
-0.24185609817504883,
-0.11967350542545319,
-0.1646413654088974,
0.21817231178283691,
0.1542401760816574,
-0.2705058455467224,
0.5139251947402954,
-0.17405030131340027,
-0.07655057311058044,
0.048263564705848694,
0.47740936279296875,
0.08153913915157318,
0.08326561003923416,
0.2630974352359772,
-0.023232460021972656,
0.17195594310760498,
0.15290409326553345,
0.10174982249736786,
-0.22217997908592224,
0.4186933636665344,
-0.49870771169662476,
-0.3047521114349365,
0.24454376101493835,
0.13553594052791595,
-0.19005240499973297,
-0.04140365123748779,
0.09689115732908249,
0.16100452840328217,
0.1261197328567505,
0.1335064023733139,
0.3784537613391876,
0.2880234122276306,
0.14941120147705078,
-0.07205631583929062,
-0.17653225362300873,
0.5157243013381958,
-0.34884166717529297,
-0.24679046869277954,
0.3411874771118164,
-0.4824020564556122,
-0.20962360501289368,
0.37350454926490784,
-0.18260887265205383,
0.11803925037384033,
-0.2604372501373291,
0.33955711126327515,
0.45473024249076843,
-0.4534471929073334,
-0.058114178478717804,
0.12389068305492401,
0.218960240483284,
-0.0022535454481840134,
0.14627201855182648,
0.17551128566265106,
0.10032837092876434,
-0.006673634983599186,
-0.3546910583972931,
0.1801329404115677,
-0.07494141906499863,
0.21332627534866333,
-0.20773538947105408,
-0.1834830492734909,
0.43538957834243774,
0.13348205387592316,
-0.40160253643989563,
0.03398489952087402,
-0.12247192114591599,
-0.2031225562095642,
0.5633932948112488,
0.009040415287017822,
-0.01690037176012993,
0.17331728339195251,
0.11649715900421143,
0.22255170345306396,
0.2574310302734375,
0.5066942572593689,
-0.09945378452539444,
-0.08874540030956268,
-0.1512812376022339,
-0.03952937573194504,
0.3969859480857849,
-0.36008888483047485,
-0.29717904329299927,
-0.1747702807188034,
-0.05889473482966423,
-0.6519132256507874,
0.07731658965349197,
0.20153440535068512,
-0.26286181807518005,
0.037035997956991196,
-0.07685836404561996,
0.4317251741886139,
-0.34849047660827637,
-0.034876611083745956,
-0.4900130033493042,
-0.157037615776062,
-0.15362919867038727,
0.015426207333803177,
-0.041111066937446594,
0.04843193665146828,
0.018727820366621017,
-0.25530725717544556,
0.07732764631509781,
0.42888662219047546,
-0.12293374538421631,
0.17766262590885162,
0.1823086142539978,
0.14696519076824188,
0.2163601517677307,
-0.017344694584608078,
0.16813114285469055,
0.005959266796708107,
0.09708292037248611,
-0.029924631118774414,
-0.4491133987903595,
-0.025169894099235535,
0.08172926306724548,
0.11832275986671448,
-0.14945544302463531,
-0.13226625323295593,
0.13380469381809235,
-0.08985570073127747,
-0.2365255057811737,
0.1525212526321411,
0.20817233622074127,
-0.32828453183174133,
0.4392423629760742,
0.012171246111392975,
-0.3078041672706604,
0.17618370056152344,
0.6278406381607056,
-0.1639115810394287,
-0.15159186720848083,
0.21431124210357666,
-0.15299537777900696,
-0.13245216012001038,
0.2337149828672409,
-0.385871946811676,
0.3827952742576599,
0.17915020883083344,
-0.012687202543020248,
0.08422939479351044,
0.36969149112701416,
-0.3999793529510498,
0.22827455401420593,
0.0005799084901809692,
-0.4715709984302521,
-0.06523991376161575,
-0.2661682069301605,
-0.18013054132461548,
-0.21894758939743042,
0.15777647495269775,
0.009728740900754929,
0.09554523229598999,
-0.38637134432792664,
-0.05941874533891678,
0.3590185046195984,
-0.3924449384212494,
0.061217110604047775,
-0.2063925415277481,
-0.12661980092525482,
-0.21126292645931244,
0.3594297170639038,
0.04178616404533386,
-0.3109776973724365,
0.03823225945234299,
0.3592052161693573,
0.7336316704750061,
-0.08106523752212524,
0.21629400551319122,
-0.27924805879592896,
0.0735827088356018,
-0.02262408286333084,
0.17317155003547668,
-0.1313222199678421,
0.0832555890083313,
0.3777487874031067,
-0.6598237156867981,
0.06182384490966797,
-0.20031127333641052,
-0.27028170228004456,
0.2492692619562149,
-0.2553457021713257,
0.11575005948543549,
0.17106467485427856,
0.23331375420093536,
0.18428197503089905,
-0.10182330012321472,
0.1019236221909523,
-0.13273192942142487,
-0.4890630841255188,
0.03110802173614502,
0.1763952523469925,
-0.06758961826562881,
-0.34240248799324036,
-0.47196391224861145,
-0.11957713216543198,
-0.3618984520435333,
0.562296450138092,
0.005971703678369522,
0.23516693711280823,
0.20730210840702057,
0.04461922124028206,
0.24245776236057281,
-0.11482233554124832,
0.08514197170734406,
-0.2908347547054291,
-0.4232419729232788,
0.11059744656085968,
-0.3491760492324829,
-0.12474854290485382,
0.23866859078407288,
0.20481114089488983,
0.06329952925443649,
-0.055811330676078796,
-0.6242814660072327,
-0.3702763319015503,
-0.003273122012615204,
0.022835876792669296,
-0.01703726500272751,
-0.046279169619083405,
0.5532587766647339,
-0.2930448651313782,
-0.12660078704357147,
-0.16599851846694946,
-0.23887136578559875,
0.04050106182694435,
-0.055755481123924255,
0.22090211510658264,
-0.2804824113845825,
0.26359647512435913,
0.04018775001168251,
0.5360347628593445,
0.46361690759658813,
0.36399632692337036,
0.2238449901342392,
-0.041116125881671906,
0.5443906188011169,
-0.007952697575092316,
-0.05088440328836441,
0.26259610056877136,
0.10681785643100739,
0.09767302870750427,
0.3277619481086731,
0.1861521303653717,
0.08201516419649124,
0.10035069286823273,
-0.18791387975215912,
-0.2909561097621918,
-0.10704325139522552,
0.2514626383781433,
0.0168071947991848,
0.09839185327291489,
-0.265634149312973,
-0.10129468142986298,
0.08951576054096222,
-0.002150982618331909,
0.11011143028736115,
0.5116169452667236,
0.22531408071517944,
0.1924259215593338,
0.01918170228600502,
-0.13645750284194946,
-0.22034919261932373,
0.07241138070821762,
-0.17751465737819672,
-0.07641497254371643,
-0.4221517741680145,
-0.2104090452194214,
0.14420351386070251,
0.04516015946865082,
0.8781489729881287,
-0.2136811465024948,
-0.29669058322906494,
0.06417736411094666,
-0.04731059446930885,
-0.22669290006160736,
-0.136941596865654,
-0.35837578773498535,
0.2668409049510956,
0.09724943339824677,
0.40314021706581116,
-0.19254475831985474,
-0.2819802761077881,
0.13628970086574554,
0.11981029808521271,
-0.12897618114948273,
-0.10247638821601868,
-0.35190919041633606,
-0.3396466076374054,
-0.6219676733016968,
0.1907401978969574,
0.11063966900110245,
-0.2143128216266632,
-0.3046981990337372,
-0.15994346141815186,
0.20672860741615295,
0.10981183499097824,
0.1687431037425995,
0.030017688870429993,
0.2207222282886505,
0.045010536909103394,
-0.12411004304885864,
0.1130370944738388,
-0.12761454284191132,
-0.1809442788362503,
0.3740231692790985,
-0.03464873507618904,
0.1682456135749817,
0.00020470283925533295,
-0.5362986922264099,
0.21389196813106537,
0.5591296553611755,
0.06539137661457062,
0.03176424279808998,
-0.2793389856815338,
0.04996226727962494,
-0.23209358751773834,
0.3078461289405823,
0.21194975078105927,
-0.03778928518295288,
0.07543502748012543,
0.068738654255867,
0.192335844039917,
-0.10276925563812256,
-0.15939491987228394,
0.2989419102668762,
0.12755076587200165,
-0.17863643169403076,
0.01827995479106903,
-0.1088709905743599,
1.1328119039535522,
0.03632434085011482,
0.5291576981544495,
-0.05086760222911835,
0.1046312153339386,
0.035410359501838684,
-0.3359339237213135,
-0.00800321064889431,
-0.24516640603542328,
0.024069420993328094,
-0.072174571454525,
-0.1312624216079712,
0.11219029128551483,
-0.06675422191619873,
-0.516454815864563,
-0.006614942569285631,
-0.07876279205083847,
0.24510489404201508,
-0.06520487368106842,
0.10420899093151093,
-0.14355957508087158,
-0.028611168265342712,
0.0356815829873085,
0.13981013000011444,
0.14669722318649292,
0.08729714155197144,
-0.05499774217605591,
-0.27398037910461426,
0.05596372112631798,
-0.18460482358932495,
-0.058724917471408844,
-0.1541615128517151,
-0.13576297461986542,
-0.4080480933189392,
0.2530295252799988,
-0.10534138977527618,
-0.21026577055454254,
0.13165877759456635,
0.2588266432285309,
0.17267072200775146,
-0.283962607383728,
-0.041157204657793045,
-0.36878180503845215,
-0.08173107355833054,
-0.023700928315520287,
0.034556370228528976,
0.08128733187913895,
-0.14781096577644348,
-0.3222638666629791,
0.20421931147575378,
-0.3351019620895386,
-0.3454033136367798,
-0.20712707936763763,
0.15517649054527283,
0.015429951250553131,
-0.5994815230369568,
0.023553723469376564,
-0.03584164381027222,
-0.40756139159202576,
0.04308878257870674,
0.1067659854888916,
0.14528581500053406,
-0.3443281948566437,
0.15438994765281677,
0.06794747710227966,
-0.3567540943622589,
-0.06156931445002556,
0.003560081124305725,
-0.006276875734329224,
-0.08613013476133347,
0.42172425985336304,
-0.2710016369819641,
0.004489235579967499,
-0.23240572214126587,
-0.11726060509681702,
0.37958666682243347,
-0.29875168204307556,
0.14794553816318512,
0.05750012397766113,
-0.42382287979125977,
-0.3657888174057007,
0.5903282165527344,
0.028491908684372902,
0.2501698434352875,
-0.203062042593956,
-0.3306739032268524,
-0.32418495416641235,
0.45542508363723755,
0.19029469788074493,
0.4025236666202545,
-0.1676672399044037,
0.06668761372566223,
0.5055627226829529,
0.3075581192970276,
-0.3484005928039551,
0.17318972945213318,
-0.13660143315792084,
0.22440102696418762,
0.1701534539461136,
0.030993442982435226,
-0.08063584566116333,
0.07077312469482422,
-0.07139215618371964,
0.29960232973098755,
-0.37242430448532104,
-0.17978334426879883,
-0.049943163990974426,
0.1504025161266327,
0.09361563622951508,
-0.2511497735977173,
0.37871116399765015,
0.05105230212211609,
0.10468319058418274,
0.06389151513576508,
0.37047669291496277,
-0.25146615505218506,
-0.073213130235672,
0.1523759961128235,
0.07048841565847397,
0.3767503499984741,
-0.2714577913284302,
0.16258220374584198,
0.050382815301418304,
0.19554483890533447,
-0.10400193929672241,
-0.24332135915756226,
-0.4460541605949402,
-0.1376655548810959,
0.33182570338249207,
0.2989448010921478,
0.33920031785964966,
0.23238179087638855,
-0.06815027445554733,
0.21567261219024658,
0.10211299359798431,
0.07003170996904373,
0.00249377079308033,
0.3336707353591919,
-0.4952731728553772,
0.08169613033533096,
0.02785404957830906,
0.21436159312725067,
0.009783349931240082,
0.026985211297869682,
-0.044276293367147446,
-0.09605522453784943,
-0.10078231245279312,
0.11457348614931107,
0.4501558244228363,
-0.02416383847594261,
0.8738003373146057,
0.06468777358531952,
0.29843831062316895,
0.23616518080234528,
0.04777529463171959,
0.03946968913078308,
-0.6734306216239929,
0.0692519024014473,
0.31000396609306335,
0.0006142500787973404,
0.02113337069749832,
0.05595443397760391,
0.04553196206688881,
0.14285817742347717,
0.031139474362134933,
0.10317176580429077,
-0.13921049237251282,
-0.01853702962398529,
0.5198116302490234,
0.026431389153003693,
0.1333259493112564,
0.08926982432603836,
0.19796496629714966,
0.4147246479988098,
-0.09052247554063797,
-0.2981181740760803,
-0.18162797391414642,
-0.19189997017383575,
-0.08513857424259186,
-0.000530267134308815,
-0.045065224170684814,
-0.0617273673415184,
-0.3245772123336792,
-0.11414898931980133,
-0.05872374400496483,
-0.18195493519306183,
0.6031193733215332,
-0.09741169214248657,
-0.11911989748477936,
-0.21294525265693665,
-0.13181686401367188,
0.07049031555652618,
0.2050822675228119,
-0.16242004930973053,
0.24336124956607819,
0.2998560667037964,
0.11168821156024933,
0.4415166974067688,
0.22161948680877686,
0.20813429355621338,
0.16469639539718628,
0.11416345834732056,
0.3027660548686981,
-0.18467874825000763,
-0.04822853207588196,
0.11095777153968811,
0.30987924337387085,
0.3496641516685486,
-0.025323092937469482,
-0.008488968014717102,
0.14032745361328125,
-0.15504707396030426,
0.36581748723983765,
-0.03765527531504631,
-0.025167293846607208,
-0.22753502428531647,
-0.021926388144493103,
-0.08842121809720993,
-0.2855091989040375,
-0.24850872159004211,
-0.20876392722129822,
-0.34601402282714844,
0.2763870060443878,
0.28318995237350464,
-0.2211395800113678,
-0.12568098306655884,
-0.2420826107263565,
0.07706135511398315,
-0.03553004562854767,
0.6562116742134094,
0.144539013504982,
0.19609573483467102,
-0.2831457257270813,
-0.06430681049823761,
-0.23039788007736206,
0.08104085922241211,
-0.07126906514167786,
-0.034219201654195786,
0.031864993274211884,
0.19030781090259552,
0.21844246983528137,
0.29420268535614014,
-0.06344872713088989,
-0.02804226614534855,
0.1030401885509491,
-0.31610575318336487,
-0.39201095700263977,
-0.16473469138145447,
0.2525726556777954,
0.2912883460521698,
0.3138434588909149,
-0.13852041959762573,
0.35788652300834656,
0.1302562952041626,
0.05143976956605911,
-0.06019921600818634,
-0.31672704219818115,
0.23767727613449097,
0.09656178951263428,
0.0893329381942749,
-0.054657816886901855,
0.12490350753068924,
-0.08375698328018188,
-0.1498798131942749,
0.049045734107494354,
-0.04141395539045334,
-0.19175544381141663,
-0.2187577188014984,
0.25289520621299744,
0.07170716673135757,
-0.21648149192333221,
-0.2655930817127228,
-0.06328991800546646,
0.5078465342521667,
0.08017830550670624,
0.012455371208488941,
0.1082010492682457,
0.10945664346218109,
-0.007846511900424957,
-0.02941993996500969,
0.06985030323266983,
0.252523809671402,
-0.08870971202850342,
-0.1337428241968155,
-0.37286049127578735,
-0.10948040336370468,
0.6980306506156921,
-0.056780941784381866,
-0.0007355082780122757,
-0.09771770983934402,
0.29434892535209656,
0.21084678173065186,
-0.10807978361845016,
-0.8766812682151794,
0.22637629508972168,
0.23278304934501648,
0.10919208824634552,
-0.14978507161140442,
0.5659704208374023,
-0.028763070702552795,
-0.03259849548339844,
-0.016108419746160507,
0.5666083097457886,
0.18863722681999207,
-0.12715157866477966,
0.11036166548728943,
-0.5445074439048767
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | I got the PR merged to have a cleaner the cache directory (everything is downloaded inside the 'downloads' sub-directory).
Feel free to download all the stories then @ghomasHudson @Varal7 x)
If you have the possibility of downloading a compressed file with most of the stories at once it would be better though. | Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 52 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
I got the PR merged to have a cleaner the cache directory (everything is downloaded inside the 'downloads' sub-directory).
Feel free to download all the stories then @ghomasHudson @Varal7 x)
If you have the possibility of downloading a compressed file with most of the stories at once it would be better though. | [
-0.07657811790704727,
0.009539186954498291,
-0.15807099640369415,
0.1729273647069931,
-0.047015950083732605,
0.2777958810329437,
-0.16641594469547272,
0.5453803539276123,
-0.16288410127162933,
0.03699943423271179,
0.06658096611499786,
-0.1748693585395813,
0.3343314230442047,
0.3584609627723694,
0.019292183220386505,
-0.15877388417720795,
0.07682561874389648,
0.19289523363113403,
0.15656216442584991,
0.1490190029144287,
-0.22187645733356476,
0.31590163707733154,
-0.22461377084255219,
0.001304812729358673,
-0.06884469836950302,
0.014353670179843903,
-0.17344297468662262,
0.4079560935497284,
-0.047034524381160736,
-0.369437575340271,
-0.1983959972858429,
0.24003730714321136,
-0.02587510272860527,
0.09555810689926147,
-0.00010547594865784049,
-0.08513455837965012,
0.2855614423751831,
-0.40977969765663147,
-0.24862395226955414,
0.14584389328956604,
0.3086605668067932,
-0.06758624315261841,
-0.14516063034534454,
-0.08572690933942795,
0.002978302538394928,
-0.09156755357980728,
0.10908807069063187,
0.04388287663459778,
0.12149719893932343,
0.4532383680343628,
0.24171774089336395,
-0.07383224368095398,
0.09198249876499176,
-0.30198872089385986,
0.203836590051651,
-0.10486707091331482,
-0.17927047610282898,
0.18184708058834076,
0.5233545303344727,
-0.04438095539808273,
0.19862224161624908,
0.280905544757843,
0.09375850111246109,
0.1019420474767685,
0.06317757070064545,
-0.1540432870388031,
0.39583757519721985,
-0.16413679718971252,
0.38372233510017395,
0.18389537930488586,
0.4515826106071472,
-0.2049422562122345,
0.03113928809762001,
0.07178574055433273,
0.024337880313396454,
-0.45072951912879944,
0.17144235968589783,
0.4741256535053253,
-0.37157365679740906,
0.25386902689933777,
-0.19335182011127472,
-0.2417369782924652,
-0.04737163707613945,
0.025625742971897125,
0.08059802651405334,
-0.060434386134147644,
-0.02670634537935257,
-0.09461943060159683,
0.25604933500289917,
0.09104183316230774,
0.20611533522605896,
-0.04814284294843674,
-0.4658871591091156,
-0.16979175806045532,
0.16022129356861115,
-0.18241913616657257,
-0.1346343755722046,
0.04361409693956375,
0.13447991013526917,
-0.203338161110878,
-0.20954962074756622,
-0.06200091540813446,
0.27458226680755615,
-0.14731165766716003,
0.16856972873210907,
0.14035041630268097,
0.35012173652648926,
0.26721256971359253,
0.0699986070394516,
0.21008247137069702,
0.09347306191921234,
-0.08626965433359146,
-0.09637530893087387,
0.1925223022699356,
-0.570175290107727,
-0.05908029526472092,
0.08551256358623505,
-0.24991370737552643,
-0.262062132358551,
-0.19169451296329498,
-0.18003889918327332,
-0.02344335801899433,
-0.4086254835128784,
0.4714229106903076,
0.05938703566789627,
0.3065987825393677,
0.2472032755613327,
0.07175765186548233,
-0.10192809998989105,
-0.06210573762655258,
-0.21843582391738892,
-0.13917987048625946,
-0.15615426003932953,
0.042487770318984985,
0.2362787276506424,
0.10123175382614136,
0.3367789089679718,
-0.22419464588165283,
-0.18281762301921844,
-0.023477762937545776,
0.26840919256210327,
0.014576571062207222,
0.10453189164400101,
0.3159322738647461,
0.13101527094841003,
-0.013082031160593033,
0.006495252251625061,
-0.09287284314632416,
-0.07263657450675964,
0.4511931240558624,
-0.39169952273368835,
-0.310726523399353,
0.0555700808763504,
0.25524964928627014,
-0.10438708961009979,
-0.05436834692955017,
0.246180921792984,
0.41795614361763,
0.20341864228248596,
0.06866319477558136,
0.1630435734987259,
0.3563823699951172,
0.28816336393356323,
0.006950775161385536,
-0.01643643155694008,
0.3489016890525818,
-0.5061483383178711,
-0.09169472008943558,
0.042920149862766266,
-0.3475274443626404,
0.0026433169841766357,
0.26522624492645264,
-0.15512199699878693,
0.05898590013384819,
-0.2566124200820923,
0.015702173113822937,
0.29917773604393005,
-0.4820130169391632,
-0.185969740152359,
0.08395245671272278,
-0.025395892560482025,
-0.15415935218334198,
0.2449476718902588,
0.01429134514182806,
0.09644985944032669,
-0.04536993056535721,
-0.04682619869709015,
0.20268036425113678,
-0.11785872280597687,
0.18439345061779022,
-0.3379940986633301,
-0.17292435467243195,
0.20420856773853302,
0.10457326471805573,
-0.21420608460903168,
0.22134965658187866,
-0.20454761385917664,
-0.1265936642885208,
0.5988069772720337,
0.04988132417201996,
0.07868679612874985,
0.23310689628124237,
0.217421293258667,
0.03910822048783302,
0.16679997742176056,
0.34508177638053894,
0.10883483290672302,
-0.20585143566131592,
-0.22739671170711517,
-0.052468523383140564,
0.35013753175735474,
-0.3292768597602844,
-0.3709719479084015,
-0.2436625063419342,
0.06430834531784058,
-0.7254593968391418,
0.18895162642002106,
0.3345823884010315,
-0.24347469210624695,
-0.25606611371040344,
0.02142462506890297,
0.18550124764442444,
-0.2726599872112274,
-0.09423771500587463,
-0.13463470339775085,
-0.12884458899497986,
-0.26166850328445435,
-0.09897750616073608,
0.04018700122833252,
0.06390655040740967,
0.011243686079978943,
-0.03085356019437313,
0.006759492680430412,
0.387474924325943,
-0.15812142193317413,
0.31816864013671875,
0.27175384759902954,
-0.22004328668117523,
0.16175340116024017,
-0.12634797394275665,
-0.012521376833319664,
0.03234702721238136,
-0.000615331344306469,
0.06974337249994278,
-0.5915003418922424,
-0.011676788330078125,
0.21626615524291992,
0.1350758820772171,
-0.020451193675398827,
-0.03846752271056175,
0.18989434838294983,
-0.30353423953056335,
0.003858231008052826,
0.06641897559165955,
0.14014919102191925,
0.06646795570850372,
0.12654896080493927,
-0.08289097249507904,
-0.13908633589744568,
0.3239288628101349,
0.4385984539985657,
0.0386248342692852,
-0.04666973650455475,
0.06706039607524872,
-0.2559143602848053,
-0.1565103828907013,
0.13362742960453033,
-0.20155726373195648,
0.30513232946395874,
0.36069104075431824,
0.09508973360061646,
0.11323686689138412,
0.4069519639015198,
-0.44433480501174927,
0.38336676359176636,
-0.0034443512558937073,
-0.5581309795379639,
0.04494961351156235,
0.15785735845565796,
-0.23884399235248566,
-0.12793609499931335,
0.42919158935546875,
0.1117035523056984,
0.1725645810365677,
-0.3108549416065216,
-0.166546031832695,
0.10380685329437256,
-0.34882593154907227,
-0.007184729911386967,
0.06975369900465012,
0.1279423087835312,
-0.11613670736551285,
0.4021983742713928,
0.06711816787719727,
-0.3384507894515991,
0.16394783556461334,
0.3904002606868744,
0.4201023578643799,
-0.12648242712020874,
0.09296205639839172,
-0.19526632130146027,
0.041328065097332,
-0.09747467190027237,
0.3124045431613922,
-0.059084463864564896,
0.18990343809127808,
0.3931119740009308,
-0.39411938190460205,
-0.0290068369358778,
-0.13826704025268555,
-0.2599843144416809,
0.12974673509597778,
-0.14583872258663177,
-0.010165752843022346,
0.02858179807662964,
0.18240630626678467,
0.2885866165161133,
-0.28521934151649475,
0.02018585242331028,
-0.11752920597791672,
-0.35036373138427734,
-0.08755838125944138,
0.047224659472703934,
-0.16461041569709778,
-0.4229470491409302,
-0.7067100405693054,
-0.07102127373218536,
-0.406072199344635,
0.3658244013786316,
0.17361974716186523,
0.19399750232696533,
-0.0729312002658844,
0.16375558078289032,
-0.02410217374563217,
-0.10252013057470322,
-0.17705386877059937,
-0.21167683601379395,
-0.18636812269687653,
0.08170164376497269,
-0.34800851345062256,
-0.1328364461660385,
0.21538791060447693,
0.1674932837486267,
-0.1335211843252182,
-0.0022582393139600754,
-0.5491322875022888,
-0.3522157073020935,
-0.011558452621102333,
-0.018419697880744934,
0.14641910791397095,
-0.01672407053411007,
0.5967116355895996,
-0.26957473158836365,
-0.27571597695350647,
0.0006247907876968384,
-0.2904444634914398,
0.08102656900882721,
0.08808289468288422,
0.45288392901420593,
-0.2604239284992218,
0.006497537717223167,
0.033900272101163864,
0.7197147011756897,
0.4284301698207855,
0.36312633752822876,
-0.006011500954627991,
-0.12604430317878723,
0.5041859745979309,
-0.0017732009291648865,
-0.05176547169685364,
0.25983187556266785,
0.073612280189991,
0.039661094546318054,
0.2667909264564514,
0.17941269278526306,
-0.11194015294313431,
-0.12386608123779297,
-0.04789338260889053,
-0.2117891013622284,
-0.10491284728050232,
0.2558891475200653,
-0.12628173828125,
0.22321614623069763,
-0.06106824427843094,
0.012336954474449158,
-0.10589219629764557,
-0.14157333970069885,
0.12356461584568024,
0.23962686955928802,
-0.006483204662799835,
0.10169301182031631,
-0.00460781529545784,
0.0734642893075943,
-0.2616768181324005,
0.1438433974981308,
-0.17050546407699585,
-0.014086891897022724,
-0.25195765495300293,
-0.2717190980911255,
0.12223008275032043,
-0.13754837214946747,
0.5296862721443176,
-0.17265528440475464,
-0.23346804082393646,
0.06942588090896606,
0.1259554773569107,
-0.09547269344329834,
-0.16043341159820557,
-0.3040664792060852,
0.06326732784509659,
0.16228452324867249,
0.2135702222585678,
-0.16718342900276184,
-0.1900479942560196,
0.2016255408525467,
-0.06537354737520218,
-0.03509148582816124,
-0.033330243080854416,
-0.2961477041244507,
-0.21885162591934204,
-0.5972709059715271,
0.17276927828788757,
0.2441929429769516,
-0.16898275911808014,
-0.40571627020835876,
-0.23809295892715454,
0.26432859897613525,
0.027285538613796234,
0.13242359459400177,
-0.09608462452888489,
0.31168338656425476,
-0.0935235396027565,
-0.02863593026995659,
0.11517312377691269,
-0.13563907146453857,
0.02812376245856285,
0.44840100407600403,
0.03238075226545334,
0.1330413967370987,
0.07528490573167801,
-0.42326247692108154,
0.1614261120557785,
0.5018899440765381,
-0.0353081114590168,
-0.05330715328454971,
-0.3949836194515228,
0.07581072300672531,
-0.13872568309307098,
0.1916004717350006,
-0.05666571855545044,
-0.19307014346122742,
0.14152207970619202,
0.204899862408638,
0.025456562638282776,
-0.04203682392835617,
-0.07237838208675385,
0.11568597704172134,
-0.27686381340026855,
-0.18017925322055817,
-0.02278093434870243,
-0.1913432776927948,
1.0338505506515503,
0.10277149826288223,
0.2812594771385193,
-0.0607055127620697,
-0.10140334069728851,
-0.10635055601596832,
-0.661679744720459,
0.16909222304821014,
-0.18112079799175262,
0.04235697537660599,
-0.03245998173952103,
-0.0640680342912674,
0.008660182356834412,
-0.031407542526721954,
-0.717085599899292,
0.1414739191532135,
-0.12241770327091217,
0.14654818177223206,
0.16430963575839996,
0.14106476306915283,
-0.20377331972122192,
0.04545804485678673,
-0.11630792915821075,
0.15909254550933838,
0.12499115616083145,
-0.002584453672170639,
0.01689506135880947,
-0.24101100862026215,
0.0474870540201664,
-0.05467529594898224,
-0.21235057711601257,
0.12192318588495255,
-0.17152439057826996,
-0.4606105089187622,
0.06749123334884644,
-0.005155473947525024,
-0.24205726385116577,
0.15739329159259796,
0.18919065594673157,
0.2976110577583313,
-0.28397947549819946,
0.32095086574554443,
-0.10646360367536545,
-0.23060956597328186,
-0.023969203233718872,
-0.013814069330692291,
-0.16415750980377197,
-0.24085387587547302,
-0.2952418625354767,
0.3118632435798645,
-0.3311136066913605,
-0.3628466725349426,
-0.2514190077781677,
0.023921523243188858,
0.2825131416320801,
-0.30302053689956665,
0.09802503883838654,
0.06617505848407745,
-0.3530888855457306,
-0.20761145651340485,
0.23151986300945282,
-0.008497543632984161,
-0.22641000151634216,
-0.03800921142101288,
0.014104805886745453,
-0.2031247317790985,
-0.09961634874343872,
0.1477414220571518,
0.17113271355628967,
-0.19462472200393677,
0.3935904800891876,
-0.07710228115320206,
-0.032268814742565155,
-0.38033759593963623,
-0.2779141962528229,
0.11632411181926727,
-0.37223511934280396,
0.31958404183387756,
-0.026017218828201294,
-0.6714518070220947,
-0.01969830133020878,
0.4497705399990082,
-0.026734746992588043,
0.07757746428251266,
-0.33773306012153625,
-0.19836613535881042,
-0.3652458190917969,
0.19708746671676636,
0.04101718217134476,
0.3127751052379608,
-0.16335590183734894,
0.3592132031917572,
0.3338179886341095,
0.4022689163684845,
-0.43938758969306946,
0.13795600831508636,
-0.2566123306751251,
0.3217070698738098,
-0.06792021542787552,
-0.1504790186882019,
-0.17560991644859314,
0.03616996482014656,
0.03941933810710907,
0.36929553747177124,
-0.27654579281806946,
-0.2765723764896393,
0.11670567095279694,
0.10615537315607071,
0.013929267413914204,
-0.2369791567325592,
0.2188946008682251,
0.005293216556310654,
0.03562207147479057,
0.14593929052352905,
0.1954050213098526,
-0.3364827632904053,
-0.001343272626399994,
0.05676784738898277,
0.14095152914524078,
0.15256774425506592,
-0.09839077293872833,
0.06352748721837997,
0.032265804708004,
0.31579652428627014,
-0.29403892159461975,
-0.05243193358182907,
-0.481786847114563,
-0.11423738300800323,
0.24802982807159424,
0.3241969645023346,
0.38013333082199097,
0.5142760276794434,
0.010323639959096909,
0.1942741423845291,
-0.1611708402633667,
0.03716105595231056,
-0.1526670902967453,
0.3938066363334656,
-0.4351484477519989,
0.1485958993434906,
-0.05263131856918335,
0.31618109345436096,
-0.19401861727237701,
0.11774983257055283,
-0.3342403173446655,
-0.12880629301071167,
-0.08184190839529037,
0.10894037038087845,
0.377973347902298,
-0.3435504138469696,
0.6291521191596985,
0.30162757635116577,
0.19853141903877258,
-0.01898694783449173,
-0.05548282340168953,
0.11269925534725189,
-0.39756616950035095,
-0.08005937933921814,
0.009276002645492554,
-0.17201223969459534,
-0.011032387614250183,
-0.044781774282455444,
0.21215865015983582,
0.07733558118343353,
0.40412941575050354,
0.12166623771190643,
0.025112099945545197,
0.015176333487033844,
0.4691907465457916,
0.043559007346630096,
0.1378346085548401,
0.2580716609954834,
0.3185349404811859,
0.20229139924049377,
-0.003734145313501358,
-0.23984745144844055,
-0.13691596686840057,
-0.14486046135425568,
-0.0431637167930603,
0.025760449469089508,
0.020314667373895645,
-0.014245733618736267,
-0.2884151339530945,
-0.10688821971416473,
0.08303629606962204,
-0.1068388819694519,
0.45612823963165283,
-0.09622792899608612,
-0.17325733602046967,
-0.18456898629665375,
0.10715354979038239,
0.051743339747190475,
0.29286062717437744,
-0.17771175503730774,
0.3786548972129822,
0.21145319938659668,
0.04925674572587013,
0.5006198287010193,
0.24558034539222717,
0.3055230975151062,
0.060224033892154694,
-0.026118148118257523,
0.09625355154275894,
0.05255322903394699,
-0.12687063217163086,
-0.03197783976793289,
0.34929051995277405,
0.3599141538143158,
0.1389240026473999,
-0.007182484492659569,
0.23368853330612183,
-0.29261162877082825,
0.18731249868869781,
-0.04176470264792442,
-0.06609849631786346,
-0.1819741278886795,
0.2103368639945984,
0.13875380158424377,
-0.2611047923564911,
-0.05091937631368637,
-0.18241024017333984,
-0.18003030121326447,
0.19278398156166077,
0.2843957245349884,
-0.2821429371833801,
0.013712000101804733,
-0.15758490562438965,
0.13905128836631775,
0.0297518540173769,
0.29183229804039,
0.26813358068466187,
-0.02539294958114624,
-0.23871958255767822,
-0.14513365924358368,
-0.1837022304534912,
0.28537023067474365,
-0.0665460079908371,
0.01044653169810772,
0.009493597783148289,
0.2331884354352951,
0.32381150126457214,
0.3707782030105591,
-0.16641275584697723,
0.1992763876914978,
-0.04565877094864845,
-0.1453419178724289,
-0.42578771710395813,
-0.04585174843668938,
0.3183829188346863,
0.3730912506580353,
0.43962979316711426,
-0.42774397134780884,
0.3132275938987732,
0.1961805820465088,
0.19683891534805298,
0.11709034442901611,
-0.3280797600746155,
0.6014053821563721,
0.09242025762796402,
0.10463807731866837,
-0.12711592018604279,
0.028659306466579437,
-0.13650640845298767,
-0.17439869046211243,
-0.053829681128263474,
-0.1294717788696289,
-0.31355932354927063,
-0.2984580397605896,
0.341799795627594,
-0.009266353212296963,
-0.20925208926200867,
-0.03916844353079796,
0.050277553498744965,
0.22345425188541412,
0.07323791086673737,
0.24394109845161438,
0.05722606182098389,
0.1103372797369957,
0.07847882062196732,
0.14601768553256989,
0.05154988542199135,
0.3031158447265625,
-0.15964996814727783,
-0.20864631235599518,
-0.4662511944770813,
-0.29514938592910767,
0.5124564170837402,
0.18321493268013,
-0.1512753665447235,
0.0948229506611824,
0.3873941898345947,
0.05859869718551636,
0.018330015242099762,
-0.8882806301116943,
0.1288948357105255,
0.22792840003967285,
-0.08818995207548141,
-0.17279987037181854,
0.30939605832099915,
-0.14582334458827972,
0.10015086829662323,
-0.1024121642112732,
0.5338428020477295,
0.22362783551216125,
-0.1972997784614563,
-0.07854306697845459,
-0.4326298236846924
] |
https://github.com/huggingface/datasets/pull/309 | Add narrative qa | Looks good @lhoestq . The problem I'm having at the moment is that stories from project Gutenberg occasionally fail. All books are out of copyright so we should be able to host them.
Here's a zip file of the full text if we have anywhere to put them: https://drive.google.com/file/d/17jOR7NqvzDwSlPXrlHaYV-PGI8JG-KY5/view?usp=sharing
| Test cases for dummy data don't pass
Only contains data for summaries (not whole story) | 49 | text: Add narrative qa
Test cases for dummy data don't pass
Only contains data for summaries (not whole story)
Looks good @lhoestq . The problem I'm having at the moment is that stories from project Gutenberg occasionally fail. All books are out of copyright so we should be able to host them.
Here's a zip file of the full text if we have anywhere to put them: https://drive.google.com/file/d/17jOR7NqvzDwSlPXrlHaYV-PGI8JG-KY5/view?usp=sharing
| [
0.004857189953327179,
0.3145107626914978,
-0.2785572111606598,
0.1131952553987503,
-0.27432703971862793,
0.12060865014791489,
0.05670224130153656,
0.17013640701770782,
-0.21477167308330536,
0.02980448305606842,
0.2862017750740051,
-0.2259400188922882,
0.190628319978714,
0.4973248839378357,
0.0807596892118454,
-0.05322221666574478,
-0.04602774232625961,
-0.0005215629935264587,
0.22152851521968842,
0.08427239954471588,
-0.0802798867225647,
0.2036919742822647,
-0.3613065481185913,
0.12025661021471024,
-0.015066844411194324,
-0.043747611343860626,
-0.10110807418823242,
0.13697116076946259,
0.0946623757481575,
-0.3574953079223633,
-0.02285342663526535,
0.13369902968406677,
-0.31627121567726135,
0.39341914653778076,
-0.00010369070514570922,
-0.12908756732940674,
0.16092361509799957,
-0.294771283864975,
-0.032760389149188995,
0.03987940400838852,
0.17300227284431458,
-0.1669856458902359,
-0.3837279975414276,
-0.052846044301986694,
-0.2357977032661438,
0.11518736928701401,
0.10410840809345245,
0.08892038464546204,
-0.09001658856868744,
0.18999794125556946,
0.28561514616012573,
-0.1157107800245285,
0.2743854522705078,
-0.00040426210034638643,
0.2506789565086365,
0.19545793533325195,
-0.3342636227607727,
0.19919951260089874,
0.6410980224609375,
-0.15654663741588593,
0.056726403534412384,
0.2557884156703949,
0.054363422095775604,
-0.0595305971801281,
-0.01476285606622696,
-0.13918645679950714,
0.23379069566726685,
-0.056154511868953705,
0.2339889407157898,
0.2248832881450653,
0.610070526599884,
-0.3114400804042816,
0.0322967953979969,
0.12603962421417236,
0.09615727514028549,
-0.05427997559309006,
0.03412122651934624,
0.47161418199539185,
-0.34401875734329224,
0.15804044902324677,
-0.04266757518053055,
-0.2598682641983032,
-0.37172141671180725,
0.0037207305431365967,
0.08822929859161377,
0.07472037523984909,
-0.026960056275129318,
-0.053657978773117065,
-0.1709567755460739,
-0.03436368703842163,
0.06349803507328033,
-0.03850448131561279,
-0.13380517065525055,
-0.11779646575450897,
0.2472953349351883,
-0.27794694900512695,
-0.19920331239700317,
0.013002485036849976,
0.2423667311668396,
-0.21829162538051605,
-0.17198754847049713,
-0.041319191455841064,
-0.02569856122136116,
-0.09736088663339615,
0.19988559186458588,
-0.20339350402355194,
0.38325780630111694,
0.14002884924411774,
-0.04081390053033829,
0.35102567076683044,
0.04478270187973976,
0.059626415371894836,
-0.06977826356887817,
0.17850211262702942,
-0.4883539080619812,
-0.06877625733613968,
0.1349598914384842,
-0.4026888906955719,
-0.32900863885879517,
0.34988588094711304,
-0.40538451075553894,
-0.2530592083930969,
-0.28814613819122314,
0.33983558416366577,
0.04406574368476868,
0.0320621058344841,
0.19959542155265808,
-0.20202898979187012,
0.09916757792234421,
-0.32908886671066284,
-0.18987052142620087,
-0.16933764517307281,
-0.2535656988620758,
-0.016697678714990616,
0.2151433378458023,
0.21962711215019226,
0.2894669473171234,
-0.1578141450881958,
-0.2606728672981262,
0.052085332572460175,
0.24967920780181885,
0.08306141197681427,
0.06067332252860069,
0.2061002403497696,
-0.14293520152568817,
-0.0741117000579834,
0.034046951681375504,
-0.05017954856157303,
-0.03862139955163002,
0.4046112596988678,
-0.22639048099517822,
-0.20544672012329102,
0.011708378791809082,
0.22911490499973297,
-0.15301601588726044,
-0.32088765501976013,
0.18595781922340393,
0.301352858543396,
0.14876212179660797,
-0.07537530362606049,
0.4958539605140686,
0.5453172326087952,
0.27604731917381287,
0.15048262476921082,
0.002963939681649208,
0.4722524881362915,
-0.3253937363624573,
0.11804071068763733,
0.17820599675178528,
-0.2453611195087433,
-0.07455150038003922,
0.025519024580717087,
-0.0072252461686730385,
0.3300941586494446,
0.04082389175891876,
0.14481231570243835,
0.20836585760116577,
-0.3112483024597168,
-0.29494181275367737,
0.30816176533699036,
-0.04454750567674637,
-0.16814346611499786,
0.08004269748926163,
0.005723290145397186,
-0.08706862479448318,
-0.1286873072385788,
0.012039601802825928,
0.2593613564968109,
-0.041235677897930145,
0.0033126529306173325,
-0.3458484411239624,
-0.10687559843063354,
0.1908954381942749,
0.28109675645828247,
-0.38000455498695374,
-0.044264815747737885,
-0.1327832043170929,
-0.21911612153053284,
0.5571514964103699,
0.14943505823612213,
-0.07335489988327026,
0.2211175560951233,
0.49739909172058105,
0.002276897430419922,
-0.011243539862334728,
0.19770392775535583,
0.176821768283844,
-0.20771944522857666,
-0.03343243896961212,
0.041082438081502914,
0.21747174859046936,
-0.15258637070655823,
-0.4237719178199768,
-0.08388266712427139,
-0.018026214092969894,
-0.5797045826911926,
0.22918710112571716,
0.12356594949960709,
-0.5732132196426392,
0.12687137722969055,
-0.11478085815906525,
-0.11209280043840408,
-0.3867027163505554,
-0.16081318259239197,
-0.06769365072250366,
0.08927860110998154,
-0.22677604854106903,
-0.0427093543112278,
-0.07011070847511292,
0.2112642228603363,
-0.07460177689790726,
0.11796677112579346,
0.029211897403001785,
0.2879892885684967,
-0.4883897006511688,
0.21190999448299408,
0.2602898180484772,
-0.025211527943611145,
0.1308729499578476,
-0.32203710079193115,
0.04480469971895218,
0.05495130270719528,
-0.03390924260020256,
-0.06167859211564064,
-0.2797672748565674,
0.03793875873088837,
0.0033199042081832886,
0.21365851163864136,
-0.31367719173431396,
0.03937745839357376,
0.042940668761730194,
-0.23648574948310852,
-0.1101229339838028,
0.1323496550321579,
0.37429291009902954,
-0.03326749429106712,
0.10245402157306671,
-0.1148981899023056,
-0.1626376509666443,
0.1715172529220581,
0.46963515877723694,
-0.1784212589263916,
0.14088138937950134,
0.017537446692585945,
-0.16016817092895508,
0.007283244282007217,
0.4236687123775482,
-0.30603665113449097,
-0.03330536186695099,
0.28472137451171875,
-0.12938246130943298,
0.06350427865982056,
0.3287493884563446,
-0.3424479365348816,
0.2693805694580078,
-0.06897670030593872,
-0.4719666838645935,
0.10339632630348206,
-0.03976530209183693,
-0.07936975359916687,
-0.17582514882087708,
0.022517260164022446,
-0.0280572809278965,
0.3139299750328064,
-0.2876618504524231,
0.14015057682991028,
0.4841020107269287,
-0.07689633220434189,
0.03853541985154152,
-0.10102999955415726,
0.13433605432510376,
-0.21419872343540192,
0.3045712113380432,
0.03014340251684189,
-0.321636438369751,
0.1228419616818428,
0.3113813102245331,
0.6314914226531982,
-0.27341198921203613,
-0.12054511159658432,
-0.24944370985031128,
-0.03480257838964462,
-0.09703885763883591,
0.3103894293308258,
0.17300225794315338,
0.32582908868789673,
0.4184267818927765,
-0.36502107977867126,
0.018925342708826065,
-0.115773044526577,
-0.16870899498462677,
0.010238021612167358,
-0.3057764768600464,
0.2534046471118927,
0.08240046352148056,
0.2868220806121826,
-0.0860525369644165,
-0.16917583346366882,
0.08535952121019363,
-0.13007892668247223,
-0.2615576386451721,
0.06819558143615723,
-0.016350949183106422,
-0.15405167639255524,
-0.34982386231422424,
-0.46534934639930725,
0.03996961563825607,
-0.3896487057209015,
0.3768245577812195,
-0.027621500194072723,
0.04822028800845146,
0.07550109922885895,
0.2431589663028717,
0.16419874131679535,
0.08401530981063843,
-0.15003247559070587,
-0.14298677444458008,
-0.34852638840675354,
0.05521576851606369,
-0.15703712403774261,
-0.06209760531783104,
0.034021396189928055,
0.18391959369182587,
0.015360211953520775,
-0.2685079574584961,
-0.706497073173523,
-0.11790004372596741,
0.25714075565338135,
0.06892263889312744,
-0.025388620793819427,
0.022198334336280823,
0.3105611801147461,
-0.2272956669330597,
-0.23157508671283722,
0.027677126228809357,
-0.16788220405578613,
0.06383839249610901,
-0.08328945934772491,
0.21671608090400696,
-0.1369846761226654,
0.06847664713859558,
0.0707627683877945,
0.5950509309768677,
0.3529958724975586,
0.27830925583839417,
0.01208570972084999,
-0.03596776723861694,
0.5066071152687073,
0.22269278764724731,
-0.08341491222381592,
0.21429812908172607,
0.40374770760536194,
-0.08897113054990768,
0.15363767743110657,
-0.04151531681418419,
0.025293517857789993,
-0.14284613728523254,
-0.3808820843696594,
-0.3317866325378418,
-0.1548590213060379,
0.15737725794315338,
-0.1533757597208023,
0.2586731016635895,
-0.2539452612400055,
0.021662749350070953,
0.05050994083285332,
-0.22262772917747498,
0.24790716171264648,
0.25623059272766113,
0.12440572679042816,
-0.08039198815822601,
-0.059797659516334534,
0.06202911213040352,
-0.2386203110218048,
-0.0006038546562194824,
-0.2815866768360138,
0.048862311989068985,
-0.3702244758605957,
0.11308363825082779,
0.20689275860786438,
-0.21252623200416565,
0.5231215953826904,
-0.13114681839942932,
-0.12152299284934998,
0.09854342043399811,
0.1430220603942871,
-0.00664939358830452,
0.07623748481273651,
-0.3685658872127533,
0.1805976778268814,
0.007495451718568802,
0.08518261462450027,
-0.31492936611175537,
0.05519938841462135,
0.09595871716737747,
-0.2129012942314148,
0.021528158336877823,
-0.13297989964485168,
-0.027264660224318504,
-0.18468806147575378,
-0.4904777407646179,
0.2444964349269867,
0.39586368203163147,
-0.15674220025539398,
0.010590736754238605,
-0.19857612252235413,
0.31667953729629517,
0.11908487230539322,
0.41613632440567017,
-0.018768003210425377,
-0.0617695078253746,
-0.045895934104919434,
-0.01428210735321045,
0.12866562604904175,
-0.27238354086875916,
-0.04990985989570618,
0.328073114156723,
-0.03227773681282997,
0.4209575951099396,
-0.04566141217947006,
-0.3329910635948181,
0.3675587773323059,
0.5021049976348877,
0.20563271641731262,
-0.037580542266368866,
-0.04848930984735489,
-0.05703982710838318,
-0.30770549178123474,
-0.0410088486969471,
0.07049622386693954,
-0.061089664697647095,
0.08433961123228073,
0.03192300349473953,
0.35092148184776306,
-0.34125185012817383,
-0.0835655927658081,
0.13577544689178467,
0.06903964281082153,
-0.06176314502954483,
0.1551186591386795,
0.01303151249885559,
1.0191563367843628,
0.05481070280075073,
0.4062519967556,
-0.13737061619758606,
0.11420556902885437,
-0.18269678950309753,
-0.657226026058197,
-0.08237612992525101,
-0.3121086657047272,
0.267303466796875,
-0.15056826174259186,
-0.12920096516609192,
-0.04715301841497421,
-0.029528483748435974,
-0.54816734790802,
0.04838969185948372,
-0.15520097315311432,
0.37848326563835144,
0.2560129165649414,
-0.01915099285542965,
-0.015147501602768898,
0.11618505418300629,
-0.11142799258232117,
0.18949489295482635,
0.21049048006534576,
0.012278763577342033,
-0.1763591468334198,
-0.33507657051086426,
-0.015188228338956833,
0.1157105565071106,
-0.43983596563339233,
0.015839889645576477,
-0.13620929419994354,
-0.4498586058616638,
0.31411808729171753,
-0.18100765347480774,
0.19472965598106384,
-0.026270728558301926,
0.11071205884218216,
0.4223688244819641,
-0.42380988597869873,
0.2628147602081299,
-0.15192750096321106,
-0.3189919888973236,
0.1454574316740036,
0.14571817219257355,
0.007791347801685333,
-0.2375791072845459,
-0.5253506302833557,
0.3529050946235657,
-0.09820494055747986,
-0.45084238052368164,
-0.17508059740066528,
-0.07703897356987,
0.33659112453460693,
-0.47190725803375244,
-0.007836568169295788,
0.19533753395080566,
-0.05108712986111641,
-0.08721275627613068,
0.24828703701496124,
0.20758803188800812,
-0.16182941198349,
-0.11319109052419662,
0.1641998589038849,
-0.11656410247087479,
0.00010645762085914612,
-0.008507341146469116,
0.10493487119674683,
-0.08842217922210693,
0.33700916171073914,
0.027026835829019547,
0.05845072120428085,
-0.4308382570743561,
0.040408432483673096,
0.4827716052532196,
-0.4980586767196655,
-0.013325323350727558,
-0.023178990930318832,
-0.5766296982765198,
0.053425535559654236,
0.6222097277641296,
0.12778526544570923,
-0.013320982456207275,
-0.29550662636756897,
-0.20014211535453796,
-0.09016250818967819,
0.24503830075263977,
0.1880364716053009,
0.24496065080165863,
-0.24040597677230835,
0.3719658851623535,
0.07505764067173004,
0.17162272334098816,
-0.4841710031032562,
0.1722276508808136,
-0.3034878373146057,
0.04057293012738228,
-0.028225507587194443,
-0.07135186344385147,
-0.10776969790458679,
0.011311713606119156,
0.12172259390354156,
0.26176825165748596,
-0.26266518235206604,
-0.2954637408256531,
0.10745300352573395,
0.14194393157958984,
0.18603581190109253,
-0.25676336884498596,
0.11831899732351303,
-0.1428227722644806,
-0.07466806471347809,
0.17361286282539368,
-0.18781372904777527,
-0.2276143729686737,
0.18368938565254211,
0.1709108203649521,
-0.042971257120370865,
0.48801565170288086,
-0.4107416868209839,
0.08758726716041565,
-0.05619272589683533,
0.25854459404945374,
-0.32221969962120056,
-0.22688895463943481,
-0.14691567420959473,
-0.024265773594379425,
0.04209392890334129,
0.41184189915657043,
0.10622913390398026,
0.5235612392425537,
0.264542818069458,
0.16967907547950745,
-0.018801487982273102,
0.2205287665128708,
-0.3237946331501007,
0.19252373278141022,
-0.47440627217292786,
-0.08847840130329132,
0.13447049260139465,
0.39834508299827576,
-0.0506276972591877,
0.07466287910938263,
-0.37525564432144165,
-0.1594318300485611,
-0.00883486494421959,
0.04511848837137222,
0.36832836270332336,
-0.15041567385196686,
0.48195117712020874,
0.3576289117336273,
0.027187202125787735,
0.24544021487236023,
-0.1117582619190216,
0.04890914261341095,
-0.45474639534950256,
-0.17545190453529358,
-0.07232080399990082,
-0.1499292552471161,
0.050400011241436005,
0.10219801962375641,
0.35290011763572693,
0.11098866909742355,
0.3352236747741699,
0.23933692276477814,
-0.15040796995162964,
0.26605308055877686,
0.683029294013977,
-0.02488212287425995,
0.12902911007404327,
0.13389819860458374,
0.16052532196044922,
0.15299779176712036,
-0.17979875206947327,
0.053421758115291595,
-0.12694977223873138,
-0.14712189137935638,
-0.024864938110113144,
0.129729762673378,
-0.16473139822483063,
-0.10640662908554077,
-0.07787138968706131,
-0.3135882616043091,
-0.017842035740613937,
-0.05951447784900665,
0.42018693685531616,
-0.1501917988061905,
-0.12398457527160645,
-0.00421244278550148,
0.06677953898906708,
0.025252174586057663,
0.5502064824104309,
-0.12385721504688263,
0.4256126582622528,
0.19311490654945374,
-0.06816129386425018,
0.2580917775630951,
0.4844401180744171,
0.19363045692443848,
-0.09542837738990784,
-0.1053943932056427,
0.07046503573656082,
-0.34112828969955444,
-0.04852885752916336,
0.14404015243053436,
0.3009318709373474,
0.19628340005874634,
-0.03970940038561821,
-0.04932532086968422,
0.21984678506851196,
-0.18672071397304535,
0.07309643179178238,
0.18343310058116913,
-0.09248468279838562,
-0.08286148309707642,
0.09214048087596893,
-0.08718577027320862,
-0.21718472242355347,
-0.07488355040550232,
-0.2643258273601532,
-0.14680230617523193,
0.007513163145631552,
0.2195442169904709,
-0.4066118001937866,
-0.1321055144071579,
-0.1734057366847992,
0.1444016993045807,
-0.20488902926445007,
0.2893626093864441,
0.2571292519569397,
0.053505901247262955,
-0.21705029904842377,
-0.07137381285429001,
-0.3124654293060303,
0.32233256101608276,
-0.016797620803117752,
0.03165879100561142,
0.006004910916090012,
-0.10037596523761749,
0.3835025429725647,
0.33636045455932617,
-0.19756869971752167,
0.04501044377684593,
-0.36441296339035034,
-0.22495344281196594,
-0.4284568130970001,
-0.09382916986942291,
0.2482096552848816,
0.4321242570877075,
0.06539017707109451,
-0.05486396700143814,
0.17400532960891724,
-0.07080459594726562,
0.2281111478805542,
-0.086966373026371,
-0.38578513264656067,
0.37484973669052124,
0.06619404256343842,
0.1868983805179596,
-0.16337041556835175,
-0.12472900748252869,
-0.11728359013795853,
-0.21277379989624023,
0.10632310807704926,
-0.14513501524925232,
0.013384499587118626,
-0.17127493023872375,
0.38270410895347595,
0.19305755198001862,
0.005717141553759575,
-0.1114543229341507,
0.13697171211242676,
0.17708450555801392,
-0.08900296688079834,
0.32944703102111816,
-0.0003621373325586319,
0.13687387108802795,
0.011430926620960236,
0.09345778077840805,
-0.07027459889650345,
0.2847091853618622,
0.0014994777739048004,
-0.12549945712089539,
-0.3242315948009491,
-0.11935640126466751,
0.5734032392501831,
-0.034716613590717316,
-0.04707752913236618,
-0.0026800869964063168,
0.3439028859138489,
0.06923914700746536,
0.10164311528205872,
-0.8799877166748047,
-0.0008376464247703552,
0.25928521156311035,
0.20452827215194702,
-0.197076678276062,
0.27097445726394653,
-0.1053580790758133,
0.1967541128396988,
0.027182769030332565,
0.6878782510757446,
-0.12690556049346924,
-0.18452195823192596,
0.10456220805644989,
-0.30153894424438477
] |
https://github.com/huggingface/datasets/pull/306 | add pg19 dataset | @lucidrains - Thanks a lot for making the PR - PG19 is a super important dataset! Thanks for making it. Many people are asking for PG-19, so it would be great to have that in the library as soon as possible @thomwolf . | https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style` | 43 | text: add pg19 dataset
https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style`
@lucidrains - Thanks a lot for making the PR - PG19 is a super important dataset! Thanks for making it. Many people are asking for PG-19, so it would be great to have that in the library as soon as possible @thomwolf . | [
-0.03554396331310272,
-0.33050787448883057,
-0.0892052948474884,
-0.17526601254940033,
0.020217131823301315,
0.0007748901844024658,
0.28196799755096436,
0.190451517701149,
0.03479953110218048,
0.20767000317573547,
0.17149046063423157,
0.43894028663635254,
-0.004274643026292324,
0.6376386284828186,
0.5061206221580505,
-0.1734890341758728,
0.0959005057811737,
0.4422168433666229,
0.07086674124002457,
-0.0797824040055275,
-0.24007001519203186,
0.39443543553352356,
-0.08743039518594742,
0.08406735211610794,
-0.2368699014186859,
-0.1154695674777031,
-0.24371694028377533,
0.170610249042511,
-0.22365249693393707,
-0.3257099390029907,
0.27630898356437683,
0.262527734041214,
-0.2922363579273224,
-0.026869557797908783,
-0.00010169334564125165,
-0.3473591208457947,
0.3138583302497864,
-0.12850594520568848,
-0.2189871221780777,
-0.11534987390041351,
0.1487634778022766,
-0.29473844170570374,
0.08938948065042496,
-0.07556642591953278,
-0.14447396993637085,
-0.15284490585327148,
0.1058209165930748,
0.28382182121276855,
0.09665951132774353,
0.05745622143149376,
0.30844900012016296,
0.30827659368515015,
0.29697903990745544,
-0.2627383768558502,
0.27215495705604553,
0.27124881744384766,
-0.41194209456443787,
0.05422820523381233,
0.21174262464046478,
-0.04463557153940201,
0.2838594317436218,
0.36650049686431885,
0.04016685485839844,
-0.30514973402023315,
0.15978282690048218,
-0.0027071889489889145,
0.08025484532117844,
-0.131656676530838,
0.05864714831113815,
0.299752801656723,
0.26800501346588135,
-0.256778746843338,
-0.092643603682518,
-0.3186204731464386,
0.07249997556209564,
-0.5400370955467224,
-0.06074083596467972,
0.05427006632089615,
-0.19937485456466675,
-0.0050721317529678345,
0.07901185005903244,
-0.3484545946121216,
-0.23156560957431793,
0.14278633892536163,
0.28949862718582153,
0.19114327430725098,
-0.051570069044828415,
-0.12896966934204102,
0.16128858923912048,
0.1650978922843933,
-0.45309796929359436,
0.08307299017906189,
-0.2747417688369751,
0.01512821950018406,
0.07886794209480286,
-0.1605338752269745,
0.31444457173347473,
0.3704916536808014,
0.3144260346889496,
0.13990171253681183,
-0.051550425589084625,
0.1144229918718338,
-0.09042950719594955,
0.18267562985420227,
-0.1783401519060135,
0.21543413400650024,
0.14465287327766418,
0.0050572557374835014,
0.2704342007637024,
0.13974781334400177,
0.5270436406135559,
-0.1563621461391449,
0.065461665391922,
-0.12562260031700134,
-0.24077391624450684,
-0.053340084850788116,
0.1466001272201538,
-0.21415099501609802,
-0.17904289066791534,
0.04540707916021347,
0.3189487159252167,
0.05915367603302002,
-0.16564913094043732,
0.4068782329559326,
0.06699244678020477,
0.0758863091468811,
0.2101765275001526,
0.1474801003932953,
-0.11113304644823074,
-0.23890972137451172,
-0.3370591998100281,
0.12907660007476807,
-0.2080783098936081,
0.06720443814992905,
0.06159735098481178,
-0.27386972308158875,
0.36342164874076843,
0.06704019010066986,
0.04196299612522125,
0.07319003343582153,
0.010672803968191147,
0.14629660546779633,
0.1620241403579712,
0.25793975591659546,
-0.19622400403022766,
0.11882831901311874,
0.14336448907852173,
-0.2849411964416504,
-0.303805947303772,
-0.006214894354343414,
-0.05009239912033081,
-0.29207512736320496,
-0.3615169823169708,
0.26262715458869934,
-0.11845462769269943,
-0.3392225205898285,
-0.3352859318256378,
0.3732195794582367,
-0.003705821931362152,
-0.11969371140003204,
0.2891264855861664,
0.017508046701550484,
-0.10780555009841919,
-0.09110739827156067,
0.1737595945596695,
0.3027687966823578,
-0.16559049487113953,
-0.3716498911380768,
-0.04276749864220619,
-0.17772404849529266,
0.32055819034576416,
0.22955633699893951,
0.03618057072162628,
-0.10307159274816513,
-0.17338518798351288,
0.09297694265842438,
0.4365776479244232,
0.008557107299566269,
-0.026637939736247063,
-0.01820141077041626,
-0.054921265691518784,
-0.13694468140602112,
0.09307081997394562,
-0.030570754781365395,
-0.254268079996109,
0.02551746368408203,
-0.10352347791194916,
0.20398570597171783,
-0.1343545764684677,
0.16549250483512878,
-0.23685765266418457,
-0.18885689973831177,
0.3029715418815613,
0.12643781304359436,
0.006023932248353958,
-0.16993963718414307,
-0.17165684700012207,
-0.21685415506362915,
0.37412166595458984,
-0.2297116219997406,
-0.04065804183483124,
-0.13160903751850128,
0.4777901768684387,
0.12237846851348877,
0.10735096782445908,
-0.05068415775895119,
-0.10975722223520279,
-0.02257767878472805,
0.03187531605362892,
0.5272116661071777,
-0.11249284446239471,
-0.2635628581047058,
-0.2665245831012726,
0.04019717127084732,
-0.15167804062366486,
-0.5114486813545227,
0.1641235053539276,
0.03787258267402649,
-0.029336431995034218,
0.15751363337039948,
-0.11719189584255219,
0.09694014489650726,
-0.18578121066093445,
0.06387823075056076,
-0.5347396731376648,
-0.019346250221133232,
-0.23612748086452484,
-0.1324494183063507,
-0.01512206718325615,
0.3804144859313965,
-0.10951895266771317,
-0.12884366512298584,
-0.06364879012107849,
0.22963452339172363,
-0.24957115948200226,
0.27325835824012756,
-0.09541962295770645,
-0.11459611356258392,
0.17360694706439972,
-0.3492095172405243,
-0.08381817489862442,
-0.14248162508010864,
-0.01306823268532753,
0.014940589666366577,
-0.04113566130399704,
0.23399516940116882,
0.12509781122207642,
-0.13062933087348938,
-0.15208172798156738,
-0.06810465455055237,
0.04401416331529617,
-0.07920432835817337,
-0.06751260906457901,
0.00910387933254242,
0.3662456274032593,
-0.12391515076160431,
0.0350484661757946,
-0.09306754916906357,
-0.39540421962738037,
0.2975820302963257,
0.3334541618824005,
-0.04858699440956116,
0.20375919342041016,
0.25993987917900085,
-0.059731192886829376,
-0.19859996438026428,
0.14405174553394318,
-0.10608862340450287,
0.164931982755661,
0.34469667077064514,
-0.26970046758651733,
0.028930209577083588,
-0.1671544909477234,
-0.33269259333610535,
0.22726131975650787,
0.09015471488237381,
-0.09311474114656448,
0.035067908465862274,
0.18850111961364746,
0.011904988437891006,
-0.5428973436355591,
-0.07465454936027527,
-0.20201876759529114,
0.15456417202949524,
-0.151405930519104,
0.03447670489549637,
-0.0032482799142599106,
-0.46601995825767517,
0.014988674782216549,
-0.01838184893131256,
-0.2662852108478546,
-0.19438980519771576,
0.2833406925201416,
0.010002993047237396,
-0.139980286359787,
0.2812706530094147,
-0.028475038707256317,
0.37574896216392517,
-0.24408435821533203,
-0.03570019453763962,
-0.5206446647644043,
-0.1606639176607132,
-0.11012309044599533,
0.2674175798892975,
-0.11676092445850372,
0.1246737390756607,
0.6851962804794312,
-0.31350183486938477,
0.21261556446552277,
-0.04635322839021683,
-0.6819132566452026,
0.10839517414569855,
-0.3583351969718933,
0.21416018903255463,
0.3310883045196533,
0.11046618223190308,
0.04365774989128113,
-0.06307252496480942,
0.26076796650886536,
-0.6280505657196045,
-0.2939828634262085,
-0.14920632541179657,
-0.3752966821193695,
-0.011282493360340595,
-0.4556467831134796,
-0.27175334095954895,
-0.274472177028656,
-0.346384197473526,
0.3548054099082947,
0.1846410036087036,
0.08350534737110138,
0.6264516115188599,
0.1225689947605133,
0.10751144587993622,
0.06013752147555351,
0.14771918952465057,
-0.26600849628448486,
-0.08490853011608124,
0.1624549776315689,
-0.16162942349910736,
-0.17926934361457825,
-0.19482466578483582,
-0.24464493989944458,
0.18599559366703033,
-0.4114680290222168,
-0.3959946632385254,
-0.21334068477153778,
-0.18289899826049805,
0.2653796672821045,
0.027771417051553726,
0.1579522043466568,
0.4870840609073639,
0.06090327724814415,
-0.22278529405593872,
-0.1535211205482483,
-0.38881850242614746,
0.02269909530878067,
0.07556319236755371,
0.14298702776432037,
-0.23889437317848206,
0.1277369260787964,
-0.09992209076881409,
0.382735013961792,
0.06727299094200134,
-0.06930284202098846,
0.41580554842948914,
0.07994066178798676,
0.5463700294494629,
-0.23333388566970825,
-0.28125378489494324,
0.14102526009082794,
0.22954080998897552,
0.21088850498199463,
0.3617614507675171,
0.09811487793922424,
-0.23852743208408356,
-0.15701210498809814,
-0.34511464834213257,
-0.12624907493591309,
-0.10500624030828476,
0.0828792154788971,
0.47412511706352234,
0.08852922171354294,
0.03968992456793785,
-0.25418707728385925,
-0.1793123036623001,
-0.18307062983512878,
0.008388321846723557,
0.2246839851140976,
0.031978853046894073,
0.046841610223054886,
-0.20222149789333344,
-0.23413552343845367,
-0.52684485912323,
0.3268117606639862,
0.08213303983211517,
-0.14894825220108032,
-0.2177104949951172,
-0.10112933069467545,
0.006325036287307739,
0.07889215648174286,
0.2738077640533447,
-0.07116661220788956,
-0.2648286819458008,
0.08758650720119476,
0.15135633945465088,
-0.07613113522529602,
0.2086765021085739,
-0.08890609443187714,
0.023890556767582893,
0.3950467109680176,
0.3496342897415161,
-0.29260048270225525,
-0.1569896936416626,
0.3010426163673401,
0.2655785381793976,
-0.0795208066701889,
-0.3178844153881073,
-0.3482256531715393,
-0.3536393642425537,
-0.34635359048843384,
0.2914431691169739,
0.1908290833234787,
0.04470239207148552,
-0.15862250328063965,
-0.1294948011636734,
0.2321767359972,
0.14232835173606873,
0.19517835974693298,
0.15509077906608582,
0.12086557596921921,
0.09675487130880356,
-0.19412687420845032,
0.21460868418216705,
-0.034817300736904144,
0.0688449889421463,
0.30700311064720154,
-0.004727780818939209,
0.19961091876029968,
0.03906475007534027,
0.06538984924554825,
0.4374184310436249,
0.3110870122909546,
0.06342047452926636,
0.2998061180114746,
-0.030408650636672974,
0.13395631313323975,
-0.22439953684806824,
-0.00023258989676833153,
0.14742451906204224,
0.11995688825845718,
-0.23613066971302032,
-0.3599134683609009,
0.2760615944862366,
-0.025255512446165085,
-0.03319400176405907,
0.11437418311834335,
0.21389372646808624,
-0.14730378985404968,
0.4289388656616211,
-0.11927958577871323,
1.0988516807556152,
-0.023885823786258698,
0.35150834918022156,
0.15586724877357483,
0.2669176459312439,
0.8235909938812256,
0.06394930183887482,
0.026396889239549637,
-0.39611753821372986,
-0.033545032143592834,
0.08677183091640472,
-0.09368441998958588,
0.1235811859369278,
-0.24859337508678436,
-0.3419439196586609,
0.24669931828975677,
0.37362122535705566,
-0.1788204312324524,
0.10807027667760849,
0.2572210133075714,
0.04913102090358734,
-0.35053905844688416,
-0.31433114409446716,
0.20815090835094452,
-0.07499861717224121,
0.2334665060043335,
-0.014290913939476013,
-0.13019469380378723,
0.013156820088624954,
-0.3312288522720337,
-0.28888601064682007,
0.07863231748342514,
-0.010140594094991684,
-0.16575467586517334,
0.31076735258102417,
-0.23975981771945953,
0.20942868292331696,
-0.06341308355331421,
0.27103686332702637,
0.2508810758590698,
-0.260181188583374,
0.16522814333438873,
-0.06646084040403366,
-0.16195611655712128,
0.002127894666045904,
0.2188393473625183,
0.16479144990444183,
-0.1690135896205902,
-0.21862144768238068,
0.07479296624660492,
0.007945016957819462,
-0.154283344745636,
-0.13122184574604034,
-0.22996975481510162,
0.012855101376771927,
-0.01084854081273079,
0.10950694978237152,
0.03660888969898224,
0.11892916262149811,
-0.47019219398498535,
0.21335336565971375,
0.39133715629577637,
-0.03930827975273132,
-0.13005173206329346,
0.1935749650001526,
-0.3318430781364441,
-0.2891016900539398,
-0.15487849712371826,
-0.05161651223897934,
0.027786538004875183,
0.31160515546798706,
0.26606905460357666,
-0.0702156126499176,
-0.30378320813179016,
-0.09543886035680771,
-0.15781183540821075,
-0.6929957270622253,
0.041779302060604095,
0.35760411620140076,
-0.23912456631660461,
-0.16354376077651978,
0.5288316011428833,
0.147090345621109,
0.06625129282474518,
0.03252900764346123,
-0.20493771135807037,
-0.4251108467578888,
-0.017950326204299927,
-0.09618642926216125,
0.42116621136665344,
0.31071755290031433,
0.18267381191253662,
0.16527989506721497,
0.2060631364583969,
-0.47314661741256714,
-0.16578295826911926,
-0.22076515853405,
0.016411785036325455,
0.4113006889820099,
-0.13005223870277405,
0.20559239387512207,
-0.07911710441112518,
0.17803604900836945,
0.14858049154281616,
-0.13578566908836365,
-0.3114025890827179,
-0.2794799506664276,
0.09587139636278152,
-0.0006351284682750702,
0.00520017696544528,
0.07195791602134705,
0.25325894355773926,
-0.08155770599842072,
-0.04967793449759483,
0.16460905969142914,
-0.061949536204338074,
-0.006174109876155853,
0.3064689040184021,
-0.08145341277122498,
-0.09355119615793228,
0.15416541695594788,
0.05698440223932266,
0.10091063380241394,
0.15489284694194794,
-0.049878451973199844,
-0.0031059160828590393,
-0.17025689780712128,
-0.05808410793542862,
0.20824763178825378,
0.11072960495948792,
0.1303655505180359,
0.01695224829018116,
-0.20196500420570374,
-0.024556845426559448,
-0.1793617606163025,
-0.0328165702521801,
0.31018391251564026,
-0.30541935563087463,
-0.10783424973487854,
0.20610547065734863,
0.35304373502731323,
0.2342340648174286,
-0.41177108883857727,
0.08949559926986694,
-0.032392121851444244,
-0.11604761332273483,
0.1482151448726654,
0.22946685552597046,
0.34108737111091614,
0.011913277208805084,
0.3965076804161072,
-0.03662180155515671,
0.05978452041745186,
-0.06021659076213837,
0.010963156819343567,
-0.12679940462112427,
-0.291452556848526,
0.00418863445520401,
0.34297850728034973,
0.2987954318523407,
0.1560661941766739,
-0.10569216310977936,
0.12351564317941666,
-0.1620044857263565,
0.03688574954867363,
0.19197338819503784,
-0.0004220828413963318,
-0.23243188858032227,
0.09498330950737,
0.1891406774520874,
0.08726675808429718,
0.08025939017534256,
0.2591637969017029,
0.7617861032485962,
-0.024267718195915222,
-0.01186949759721756,
-0.19466562569141388,
0.2781999409198761,
-0.13662052154541016,
-0.14896650612354279,
0.026035435497760773,
-0.09602633118629456,
-0.38659945130348206,
-0.1818149834871292,
0.05022825300693512,
-0.07113204896450043,
0.1349322497844696,
-0.01497659832239151,
-0.030374489724636078,
-0.37246960401535034,
0.049526214599609375,
0.08170102536678314,
0.21932590007781982,
-0.05985255166888237,
0.2289319485425949,
-0.020373985171318054,
-0.251624196767807,
-0.004962660372257233,
0.4335780143737793,
0.4080269932746887,
-0.09372644126415253,
0.18077683448791504,
0.05485416576266289,
-0.11661507189273834,
-0.026761488988995552,
-0.07488122582435608,
0.19510860741138458,
0.3486570417881012,
0.009049059823155403,
0.1750258505344391,
0.21086718142032623,
-0.28811749815940857,
-0.003611590713262558,
0.04287099838256836,
0.11442600190639496,
-0.012799202464520931,
0.48506617546081543,
-0.11273901164531708,
-0.28250667452812195,
-0.3162952959537506,
0.20594213902950287,
-0.36646193265914917,
0.12322007119655609,
0.3783509135246277,
0.02387922815978527,
-0.09943686425685883,
-0.585622251033783,
0.14022964239120483,
0.07991718500852585,
0.3759324550628662,
0.43320077657699585,
0.45671093463897705,
0.013340451754629612,
-0.1697925329208374,
-0.4542500674724579,
0.2769581377506256,
-0.06472820043563843,
-0.05525875836610794,
0.007173231337219477,
-0.10564135760068893,
0.3689083456993103,
0.04968758672475815,
0.1092345267534256,
0.19179481267929077,
0.3200357258319855,
-0.12103021144866943,
-0.1553242951631546,
0.3288184702396393,
-0.07248955965042114,
-0.08497467637062073,
0.13428747653961182,
-0.08749280124902725,
-0.0804690569639206,
-0.19127114117145538,
0.15322449803352356,
-0.4010521173477173,
0.1601462960243225,
-0.1694769710302353,
0.3531379997730255,
0.23888619244098663,
0.18834106624126434,
0.3561658263206482,
-0.35479089617729187,
-0.17056560516357422,
0.1442200392484665,
-0.42370733618736267,
-0.14484521746635437,
0.2671665847301483,
0.031126173213124275,
0.21540236473083496,
0.004169837571680546,
-0.14897304773330688,
-0.06528867036104202,
0.24167799949645996,
0.11006082594394684,
-0.19158652424812317,
-0.20041580498218536,
0.4405989944934845,
-0.2941310405731201,
-0.20232169330120087,
-0.023023981600999832,
0.13870936632156372,
-0.02015526592731476,
-0.3397073447704315,
-0.1449824571609497,
-0.4508931636810303,
0.576880931854248,
-0.20962323248386383,
-0.19882841408252716,
-0.010248241946101189,
0.0600532665848732,
0.43399578332901,
0.025271059945225716,
-0.4339035451412201,
0.2384859323501587,
0.14261962473392487,
0.36759212613105774,
-0.22165340185165405,
0.42670300602912903,
-0.3177742063999176,
0.040242750197649,
-0.10010327398777008,
0.5767427682876587,
0.13601936399936676,
-0.13345442712306976,
0.2068084180355072,
-0.3967553377151489
] |
https://github.com/huggingface/datasets/pull/306 | add pg19 dataset | Oh I just noticed but as we changed the urls to download the files, we have to update `dataset_infos.json`.
Could you re-rurn `nlp-cli test ./datasets/pg19 --save_infos` ? | https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style` | 27 | text: add pg19 dataset
https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style`
Oh I just noticed but as we changed the urls to download the files, we have to update `dataset_infos.json`.
Could you re-rurn `nlp-cli test ./datasets/pg19 --save_infos` ? | [
0.030274156481027603,
-0.10424979776144028,
-0.04864558205008507,
-0.20077909529209137,
-0.05585286021232605,
0.13332617282867432,
0.11226116120815277,
0.15238915383815765,
0.011474639177322388,
-0.02162669599056244,
0.12839312851428986,
0.3035159111022949,
0.1212388128042221,
0.599467933177948,
0.44954410195350647,
0.0021180137991905212,
0.057641126215457916,
0.3582439124584198,
0.07353315502405167,
-0.041616857051849365,
-0.2688327431678772,
0.28975754976272583,
-0.14005136489868164,
-0.03915674239397049,
-0.24127840995788574,
-0.1484982967376709,
-0.3878762722015381,
0.07774697989225388,
-0.2440478354692459,
-0.4474085867404938,
0.3143235146999359,
0.35715439915657043,
-0.09125833958387375,
-0.06583821028470993,
-0.00011182624439243227,
-0.29333066940307617,
0.4575812816619873,
-0.21412020921707153,
-0.458355188369751,
-0.09668378531932831,
-0.25646287202835083,
-0.25951603055000305,
0.02531546913087368,
-0.2298871874809265,
-0.004701470956206322,
-0.3100126385688782,
0.29009056091308594,
0.17929349839687347,
0.09856455773115158,
0.28943225741386414,
0.23007450997829437,
0.12668323516845703,
0.27491453289985657,
-0.15164227783679962,
0.13997960090637207,
0.2758653163909912,
-0.1298903524875641,
0.25741100311279297,
0.19979429244995117,
-0.08243130147457123,
0.3928457498550415,
0.3055020570755005,
0.01949652098119259,
-0.2652534544467926,
0.08961935341358185,
-0.08049460500478745,
0.12229368090629578,
-0.28384947776794434,
0.04094090312719345,
0.1558629721403122,
0.3341037333011627,
-0.16094425320625305,
-0.16825132071971893,
-0.20672926306724548,
0.10683156549930573,
-0.4766266644001007,
-0.07471361011266708,
0.057040274143218994,
-0.12358279526233673,
0.002996344119310379,
-0.19781064987182617,
-0.6077670454978943,
-0.13467729091644287,
0.32638245820999146,
0.43319305777549744,
0.24144373834133148,
-0.03168516233563423,
0.040691059082746506,
0.006294120103120804,
0.12550316751003265,
-0.29820141196250916,
-0.01180519163608551,
-0.45700791478157043,
0.13375334441661835,
0.17792856693267822,
-0.27209097146987915,
0.31273701786994934,
0.3832482695579529,
0.26231133937835693,
0.27176612615585327,
0.04696189984679222,
0.043587349355220795,
-0.27513521909713745,
0.12808310985565186,
-0.18792413175106049,
0.36452317237854004,
0.29592347145080566,
0.002553164027631283,
0.26541435718536377,
0.1786622703075409,
0.3556928038597107,
-0.19713222980499268,
0.19591499865055084,
-0.13398365676403046,
-0.1376841962337494,
-0.024769742041826248,
0.40878933668136597,
-0.07161649316549301,
-0.1125355213880539,
0.04915700480341911,
0.08603308349847794,
-0.16356000304222107,
-0.2320464551448822,
0.22221362590789795,
-0.001016325899399817,
-0.10568370670080185,
0.21161983907222748,
0.29108935594558716,
-0.028636392205953598,
-0.3179287612438202,
-0.28668516874313354,
0.043803855776786804,
-0.1413837969303131,
0.15021400153636932,
0.14037568867206573,
-0.07492217421531677,
0.5036664605140686,
-0.05140572786331177,
-0.2590752840042114,
-0.09328165650367737,
0.06654933840036392,
0.21286970376968384,
0.06916473805904388,
0.21911507844924927,
-0.09894266724586487,
0.2561156153678894,
0.02341444231569767,
-0.5381724238395691,
-0.169895738363266,
0.020780455321073532,
-0.33799198269844055,
-0.3500087559223175,
-0.24217338860034943,
0.18114891648292542,
-0.17891435325145721,
-0.3435061573982239,
-0.5201069712638855,
0.28475987911224365,
0.07357488572597504,
-0.21564076840877533,
0.1579389125108719,
-0.08371219784021378,
0.012032020837068558,
-0.10128132998943329,
0.13343220949172974,
0.34670543670654297,
-0.14129765331745148,
-0.24407008290290833,
-0.15339511632919312,
-0.009349673986434937,
0.2570788562297821,
0.15625923871994019,
0.0014482632977887988,
0.14105018973350525,
-0.30326882004737854,
0.17902334034442902,
0.7227610349655151,
-0.11743269860744476,
-0.10092964768409729,
0.08187738060951233,
-0.02629404515028,
-0.15571293234825134,
0.03558868169784546,
-0.07082603126764297,
-0.20126737654209137,
0.09047482162714005,
-0.19138804078102112,
0.13311508297920227,
-0.060013607144355774,
0.06558244675397873,
-0.3428512215614319,
-0.26272034645080566,
0.3295239806175232,
-0.11233161389827728,
-0.09111925959587097,
0.05285918340086937,
-0.06023444980382919,
-0.31591910123825073,
0.5286037921905518,
-0.1794392615556717,
-0.039372093975543976,
-0.12650567293167114,
0.5133769512176514,
0.07826704531908035,
0.09182899445295334,
0.16653108596801758,
-0.46729356050491333,
0.09699063748121262,
-0.11601541191339493,
0.386891633272171,
-0.12046396732330322,
-0.1755307912826538,
-0.41273418068885803,
-0.09351756423711777,
-0.2364722341299057,
-0.530632495880127,
0.08944864571094513,
0.2077648788690567,
0.03751083090901375,
0.08830800652503967,
-0.06991241872310638,
-0.0345800518989563,
-0.15467619895935059,
0.05625617131590843,
-0.555863082408905,
0.1505538672208786,
-0.2439979463815689,
-0.0927666574716568,
-0.02479608915746212,
0.19046425819396973,
-0.00412479043006897,
-0.29010409116744995,
-0.2264297604560852,
0.4278488755226135,
-0.29482501745224,
0.4120444655418396,
0.15779021382331848,
-0.2747080326080322,
0.06889715790748596,
-0.3901542127132416,
-0.08298534899950027,
-0.0034791547805070877,
-0.12299378216266632,
-0.00003849714994430542,
-0.13505256175994873,
0.03011970967054367,
0.17574270069599152,
0.03912480175495148,
-0.14253515005111694,
-0.05455759912729263,
0.3446176052093506,
-0.12689881026744843,
-0.15938696265220642,
-0.09584329277276993,
0.05410562455654144,
0.01689738593995571,
0.05641401186585426,
-0.1054830253124237,
-0.3646327555179596,
0.2709396183490753,
0.3847724497318268,
-0.10203753411769867,
0.11279843747615814,
0.16450655460357666,
0.052982084453105927,
-0.3473045825958252,
0.10837116092443466,
0.11490565538406372,
0.34797558188438416,
0.17525798082351685,
-0.2786649763584137,
0.06362397968769073,
-0.0653546079993248,
-0.3455835282802582,
0.3026736080646515,
0.057337962090969086,
0.1042206734418869,
0.09358593076467514,
0.29095640778541565,
-0.03741425648331642,
-0.385580450296402,
-0.005626393482089043,
0.10367964208126068,
0.30868056416511536,
-0.21661584079265594,
0.053309887647628784,
-0.15409807860851288,
-0.47778254747390747,
-0.03705355152487755,
-0.1367119699716568,
-0.3868664801120758,
-0.22251760959625244,
0.17937010526657104,
0.10738217830657959,
-0.08493854105472565,
0.26425987482070923,
0.02784235030412674,
0.39183613657951355,
-0.1701105237007141,
-0.08612748235464096,
-0.5047792196273804,
-0.05223103612661362,
-0.11686872690916061,
0.09779730439186096,
0.03320985287427902,
0.30365633964538574,
0.5517604351043701,
-0.4113129675388336,
0.19231262803077698,
-0.2309926450252533,
-0.5399652123451233,
-0.013329371809959412,
-0.136588454246521,
0.34580034017562866,
0.310688853263855,
0.32762742042541504,
0.17645497620105743,
-0.14109033346176147,
0.2323770970106125,
-0.2373640090227127,
-0.21449635922908783,
-0.1093171238899231,
-0.2616100609302521,
0.01002119854092598,
-0.2831646800041199,
-0.3942868113517761,
-0.3168133795261383,
-0.24085967242717743,
0.3505038022994995,
0.31113699078559875,
0.10476437211036682,
0.5876796245574951,
0.12838415801525116,
0.03373592719435692,
0.10962998121976852,
0.06474673002958298,
-0.2775155007839203,
-0.18412838876247406,
0.19040702283382416,
-0.12975072860717773,
-0.15704667568206787,
-0.0740048885345459,
-0.2391492873430252,
0.43126165866851807,
-0.3756070137023926,
-0.4667762517929077,
-0.08938203006982803,
-0.14125068485736847,
0.21020328998565674,
0.025148574262857437,
-0.00016185268759727478,
0.607684850692749,
-0.028308579698204994,
-0.08966930210590363,
-0.14814051985740662,
-0.3118593394756317,
0.14429247379302979,
0.2514874339103699,
0.3985781669616699,
-0.14539650082588196,
0.3382532298564911,
-0.1006871908903122,
0.351983904838562,
0.192534938454628,
-0.08646692335605621,
0.463310182094574,
0.10427654534578323,
0.6054198145866394,
-0.2612791657447815,
-0.3125297725200653,
0.09025353193283081,
0.25274884700775146,
0.10942727327346802,
0.17848949134349823,
0.03135829418897629,
-0.18067704141139984,
-0.1608632504940033,
-0.22181160748004913,
-0.08880719542503357,
-0.18394096195697784,
-0.01916523464024067,
0.30577704310417175,
0.0988544374704361,
0.3504669964313507,
-0.18725010752677917,
-0.2738104462623596,
-0.21231231093406677,
-0.07339587807655334,
0.40169334411621094,
0.18629080057144165,
0.06781777739524841,
-0.5403478741645813,
-0.39099764823913574,
-0.38174062967300415,
0.4095489978790283,
0.06115154176950455,
0.1523764431476593,
-0.0027624517679214478,
0.005089741200208664,
0.036879416555166245,
0.0226498581469059,
0.17598429322242737,
-0.3781958818435669,
-0.13064523041248322,
0.2195087969303131,
0.5464149713516235,
-0.08032823354005814,
-0.012050393968820572,
0.01738515868782997,
0.24339137971401215,
0.7356029152870178,
0.6464090943336487,
-0.23720282316207886,
-0.23083093762397766,
0.2652810215950012,
0.3195126950740814,
-0.25200703740119934,
-0.24155372381210327,
-0.2675277292728424,
-0.29016411304473877,
-0.32389023900032043,
0.09259365499019623,
0.026736335828900337,
0.02250085584819317,
-0.14823906123638153,
-0.08618715405464172,
0.18269816040992737,
0.06706113368272781,
0.011614717543125153,
0.02785910665988922,
0.15395978093147278,
0.43255168199539185,
-0.18823666870594025,
-0.0020067766308784485,
0.045396219938993454,
-0.011251760646700859,
0.2770364582538605,
-0.06350678205490112,
0.26721814274787903,
-0.04709329456090927,
0.07187066227197647,
0.511336088180542,
0.25902608036994934,
0.1494322270154953,
0.17810861766338348,
0.1341034322977066,
0.22983941435813904,
-0.2357352077960968,
0.24442966282367706,
0.3634249269962311,
-0.05923150107264519,
-0.3190869688987732,
-0.38437601923942566,
0.37155213952064514,
-0.14152783155441284,
-0.10525304079055786,
0.23948310315608978,
0.10799841582775116,
-0.30400556325912476,
0.3236950635910034,
-0.1483195722103119,
1.0550074577331543,
0.27447444200515747,
0.21394960582256317,
0.08955937623977661,
0.2119535356760025,
0.9158043265342712,
0.12235495448112488,
-0.06930290907621384,
-0.3334725797176361,
0.0626533180475235,
0.11502629518508911,
-0.1518111675977707,
0.08934421092271805,
-0.11285680532455444,
-0.40479493141174316,
0.32963547110557556,
0.3421732783317566,
-0.12243920564651489,
0.22054027020931244,
0.553291916847229,
0.034309327602386475,
-0.18910108506679535,
-0.06784578412771225,
0.14247864484786987,
-0.15405187010765076,
0.34678104519844055,
0.022881340235471725,
-0.12758851051330566,
0.010205809026956558,
-0.2770349383354187,
-0.16935281455516815,
0.11016351729631424,
-0.10309798270463943,
-0.03576355800032616,
0.22545188665390015,
-0.31294649839401245,
0.1147623211145401,
-0.10001182556152344,
0.263258159160614,
0.35753747820854187,
-0.32480716705322266,
0.18356722593307495,
-0.035490624606609344,
-0.1653580218553543,
0.027266429737210274,
0.09692873805761337,
0.24189665913581848,
-0.10388218611478806,
-0.3892030417919159,
0.0441233292222023,
-0.11930805444717407,
-0.2801792323589325,
-0.18699726462364197,
-0.4213201403617859,
-0.06614614278078079,
-0.14238229393959045,
-0.1131291389465332,
0.11969778686761856,
0.04496615752577782,
-0.39830946922302246,
0.1319534331560135,
0.3293231725692749,
-0.06134647876024246,
-0.0007318928837776184,
0.14569181203842163,
-0.3484068214893341,
-0.22853074967861176,
-0.01617000252008438,
-0.0372360423207283,
0.08801360428333282,
0.47362837195396423,
0.05684563145041466,
0.0788283571600914,
-0.2936352789402008,
0.011087030172348022,
-0.16001401841640472,
-0.5075885057449341,
-0.05439143255352974,
0.3190518319606781,
-0.05932155251502991,
-0.32128939032554626,
0.4728095829486847,
0.08108700811862946,
0.26044949889183044,
0.05549440160393715,
-0.30322933197021484,
-0.47446194291114807,
0.10666941106319427,
0.04280616715550423,
0.24892647564411163,
0.21851879358291626,
0.1700855791568756,
0.2847159802913666,
0.2455444186925888,
-0.3598298728466034,
-0.05401373654603958,
-0.042517781257629395,
0.10100642591714859,
0.5549790859222412,
-0.02970758080482483,
0.1979852318763733,
-0.13826175034046173,
0.09120894968509674,
-0.058681175112724304,
-0.04523889347910881,
-0.2339085340499878,
-0.2707882821559906,
0.13110940158367157,
0.22625020146369934,
-0.08719433099031448,
-0.03494545817375183,
-0.04752260446548462,
0.08441933989524841,
-0.0018519768491387367,
-0.22032742202281952,
-0.280856192111969,
-0.04432161897420883,
0.25898995995521545,
-0.13982318341732025,
-0.07478133589029312,
0.1876441091299057,
0.06524141132831573,
0.10092674195766449,
0.21135057508945465,
-0.1477544903755188,
0.1142854392528534,
-0.1320420503616333,
-0.0328429713845253,
-0.040498148649930954,
-0.03489634394645691,
-0.09993113577365875,
0.275560587644577,
-0.14657479524612427,
-0.18160143494606018,
-0.059641797095537186,
-0.10925047099590302,
0.32455793023109436,
0.02198551967740059,
-0.10662151128053665,
0.14545635879039764,
0.4675430655479431,
0.1693897396326065,
-0.36731693148612976,
0.1403089463710785,
0.135846808552742,
0.015285972505807877,
0.03154406324028969,
0.10190197825431824,
0.19824451208114624,
-0.060290709137916565,
0.4245797395706177,
0.09282899647951126,
0.113726407289505,
-0.14814047515392303,
0.0941091775894165,
-0.13212881982326508,
-0.3121849298477173,
-0.019338179379701614,
0.37801027297973633,
0.18322761356830597,
0.014345787465572357,
-0.22790686786174774,
0.04400671645998955,
-0.15480296313762665,
0.12594781816005707,
0.10285975784063339,
-0.026857540011405945,
-0.1973733901977539,
-0.03682992234826088,
0.1223343014717102,
0.03177403658628464,
0.166650652885437,
0.308167040348053,
0.8157780170440674,
-0.12693865597248077,
-0.08296674489974976,
-0.24432112276554108,
0.30880916118621826,
-0.11913832277059555,
-0.14484111964702606,
-0.2345287948846817,
-0.19430327415466309,
-0.2777692675590515,
-0.14065927267074585,
-0.05875508859753609,
-0.1084960401058197,
-0.08620639145374298,
-0.028540849685668945,
-0.2801145315170288,
-0.39474231004714966,
0.01705000549554825,
-0.07489900290966034,
0.11290349066257477,
-0.08177390694618225,
0.3523244559764862,
0.014900818467140198,
-0.24442195892333984,
-0.105842724442482,
0.4694741368293762,
0.4077214300632477,
0.12865054607391357,
0.25677981972694397,
0.14249351620674133,
-0.002495504915714264,
-0.10060716420412064,
-0.06484851241111755,
0.19107884168624878,
0.41151487827301025,
-0.4091509282588959,
0.09861414134502411,
0.1705174446105957,
-0.21070148050785065,
0.13841481506824493,
0.23952236771583557,
0.12396018207073212,
-0.13953758776187897,
0.5634865760803223,
-0.05429670214653015,
-0.3166927993297577,
-0.2444433867931366,
0.13020926713943481,
-0.39310145378112793,
0.14984601736068726,
0.355328768491745,
-0.054826200008392334,
-0.07414950430393219,
-0.5444625020027161,
0.09977351129055023,
-0.07834851741790771,
0.41063225269317627,
0.3494853675365448,
0.2321217954158783,
-0.09764739871025085,
-0.3456660509109497,
-0.6243420243263245,
0.18777838349342346,
0.08452942967414856,
-0.05158643424510956,
-0.07677280157804489,
0.1445903778076172,
0.10177178680896759,
-0.10047589242458344,
0.14039193093776703,
0.2972172796726227,
0.24680763483047485,
-0.13420279324054718,
-0.22191762924194336,
0.349744588136673,
-0.24145923554897308,
0.22454528510570526,
0.10442157089710236,
-0.11607331782579422,
0.11644349992275238,
-0.19100692868232727,
0.04144899547100067,
-0.22536388039588928,
0.10032521188259125,
-0.04724544659256935,
0.4789102375507355,
0.3584567606449127,
0.14624829590320587,
0.3708791434764862,
-0.31923699378967285,
-0.07081723213195801,
-0.06159273162484169,
-0.4475715756416321,
-0.11475992202758789,
0.3827722668647766,
0.03618951886892319,
0.3233836591243744,
-0.11500836163759232,
0.09850600361824036,
-0.22969388961791992,
0.06215285509824753,
0.0012426674365997314,
-0.32428374886512756,
-0.216847762465477,
0.3566072881221771,
-0.320516437292099,
-0.05680457130074501,
0.1461300104856491,
0.044209692627191544,
-0.09884372353553772,
-0.2422751635313034,
-0.14974017441272736,
-0.2562633752822876,
0.6586620807647705,
-0.1897784173488617,
-0.22085534036159515,
-0.05010799318552017,
0.23258894681930542,
0.27058538794517517,
-0.011837663128972054,
-0.1706111580133438,
0.11056575924158096,
0.3653484582901001,
0.36541563272476196,
-0.12779882550239563,
0.43047988414764404,
-0.27700868248939514,
0.0512678436934948,
-0.05670027434825897,
0.6112263202667236,
0.265656441450119,
-0.3199913799762726,
0.08103437721729279,
-0.3186379671096802
] |
https://github.com/huggingface/datasets/pull/306 | add pg19 dataset | `dataset_infos.json` is still not up to date with the new urls (we can see that there are urls like `gs://deepmind-gutenberg/train/*` instead of `https://storage.googleapis.com/deepmind-gutenberg/train/*` in the json file)
Can you check that you re-ran the command to update the json file, and that you pushed the changes @lucidrains ? | https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style` | 48 | text: add pg19 dataset
https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style`
`dataset_infos.json` is still not up to date with the new urls (we can see that there are urls like `gs://deepmind-gutenberg/train/*` instead of `https://storage.googleapis.com/deepmind-gutenberg/train/*` in the json file)
Can you check that you re-ran the command to update the json file, and that you pushed the changes @lucidrains ? | [
0.011157188564538956,
-0.00827004760503769,
-0.00006768293678760529,
-0.1686178743839264,
-0.12421813607215881,
-0.017939139157533646,
0.1851256787776947,
0.1668378710746765,
-0.03665229305624962,
-0.052626460790634155,
0.19804386794567108,
0.31489041447639465,
0.23249226808547974,
0.5966272354125977,
0.34894225001335144,
0.056038495153188705,
0.08728229999542236,
0.18567940592765808,
-0.0210927352309227,
-0.14519810676574707,
-0.5375032424926758,
0.3638889789581299,
-0.18111413717269897,
-0.13176187872886658,
-0.23160693049430847,
-0.08013179153203964,
-0.3376937210559845,
0.16266024112701416,
-0.25935229659080505,
-0.40499234199523926,
0.1683427095413208,
0.29403021931648254,
-0.1588793694972992,
0.24881970882415771,
-0.0001117775245802477,
-0.2083856761455536,
0.5041206479072571,
-0.12397309392690659,
-0.30390483140945435,
-0.08435104787349701,
-0.28734734654426575,
-0.3224259614944458,
-0.006660918705165386,
-0.1676766276359558,
-0.1350671947002411,
-0.38477492332458496,
0.03497660160064697,
0.15690232813358307,
0.18049830198287964,
0.23372827470302582,
0.20312170684337616,
-0.03967885673046112,
0.38593345880508423,
-0.17301326990127563,
0.11897757649421692,
0.06898725032806396,
-0.1136992946267128,
0.29066452383995056,
0.09248977154493332,
0.019937265664339066,
0.3971693813800812,
0.44418618083000183,
0.06896266341209412,
-0.299662709236145,
0.2595033347606659,
0.02161635272204876,
-0.10254407674074173,
-0.12945762276649475,
0.051740456372499466,
0.14462831616401672,
0.42375627160072327,
-0.01585053652524948,
-0.3169960379600525,
-0.2209930419921875,
-0.08556098490953445,
-0.5624722242355347,
0.0713798925280571,
-0.13941775262355804,
0.10565371811389923,
0.02322077564895153,
-0.24091777205467224,
-0.5279075503349304,
-0.10869567096233368,
0.3411130905151367,
0.43506377935409546,
0.4093255400657654,
0.02495686337351799,
-0.0010576695203781128,
0.03617548570036888,
0.0028095953166484833,
-0.17568528652191162,
-0.20521588623523712,
-0.2564125061035156,
0.04929700121283531,
0.1781957894563675,
-0.2080536186695099,
0.23014774918556213,
0.057183001190423965,
0.18752479553222656,
0.2930620312690735,
0.09836895763874054,
0.20896217226982117,
-0.17308790981769562,
0.18245729804039001,
-0.07355546951293945,
0.2743149995803833,
0.10576944798231125,
0.005010491237044334,
0.3612856864929199,
0.220481738448143,
0.33372417092323303,
-0.15218910574913025,
0.20465479791164398,
-0.25835826992988586,
-0.21397435665130615,
-0.1019028052687645,
0.3239303231239319,
-0.07018439471721649,
0.11870405822992325,
0.050118669867515564,
-0.0791860818862915,
-0.16607071459293365,
-0.16418956220149994,
0.1656276285648346,
-0.10715722292661667,
-0.1095290556550026,
0.23815380036830902,
0.20782195031642914,
-0.07789839804172516,
0.007463990710675716,
-0.2736814022064209,
-0.0566069670021534,
-0.05596855282783508,
0.1723187416791916,
0.13657142221927643,
-0.12722007930278778,
0.3945547938346863,
0.03930763155221939,
-0.41179436445236206,
0.018114708364009857,
-0.10851684212684631,
0.2086973786354065,
0.12167318165302277,
0.09621943533420563,
-0.055130284279584885,
0.21043971180915833,
-0.08450855314731598,
-0.4493125081062317,
-0.1364656537771225,
0.05063983052968979,
-0.3155567944049835,
-0.3678879737854004,
-0.0831737369298935,
0.2082769125699997,
-0.21128638088703156,
-0.37959355115890503,
-0.6039615273475647,
0.44060656428337097,
-0.028251059353351593,
-0.09793250262737274,
0.002061009407043457,
0.05997302383184433,
0.037598151713609695,
-0.10499820113182068,
0.2202921062707901,
0.368899941444397,
-0.21583008766174316,
-0.22329381108283997,
0.011757761240005493,
0.2217649221420288,
0.2537969946861267,
0.2520480155944824,
0.043638553470373154,
0.1864785999059677,
-0.13379549980163574,
0.1488441824913025,
0.526095449924469,
0.0013658367097377777,
-0.06620025634765625,
0.12946993112564087,
-0.09291981160640717,
-0.1259291172027588,
-0.006381921470165253,
0.03149714320898056,
-0.08749618381261826,
0.24304169416427612,
0.1301879733800888,
0.37701529264450073,
0.08211256563663483,
0.023950910195708275,
-0.33226895332336426,
-0.10573349893093109,
0.10165442526340485,
-0.006985882297158241,
-0.06802302598953247,
-0.030239395797252655,
0.0285114124417305,
-0.33274045586586,
0.33106330037117004,
-0.12184906005859375,
0.013215507380664349,
0.14945027232170105,
0.6189870238304138,
0.21665960550308228,
0.12473142147064209,
0.3926789462566376,
-0.42344409227371216,
0.09143730252981186,
0.05768737196922302,
0.462851345539093,
-0.15930180251598358,
-0.030043555423617363,
-0.25674089789390564,
-0.11711566895246506,
-0.3133279085159302,
-0.5611359477043152,
0.09602276980876923,
0.20462559163570404,
-0.04778943583369255,
0.1906244307756424,
-0.09981244057416916,
-0.15392892062664032,
0.11172489821910858,
0.10554555058479309,
-0.5325952172279358,
0.31483912467956543,
-0.3698149025440216,
-0.17671383917331696,
0.240163654088974,
0.2072259783744812,
0.24276500940322876,
-0.3199082016944885,
-0.20937958359718323,
0.3755446672439575,
-0.14658325910568237,
0.2983255982398987,
0.2608974277973175,
-0.053857699036598206,
0.11353974044322968,
-0.3944011926651001,
0.034210529178380966,
0.047872260212898254,
-0.20372101664543152,
-0.041514985263347626,
-0.14768564701080322,
0.2726237177848816,
0.15975803136825562,
0.15672515332698822,
-0.1322689652442932,
-0.12827420234680176,
0.3852987289428711,
-0.14365139603614807,
-0.025953836739063263,
-0.053336791694164276,
-0.046169448643922806,
0.12380395829677582,
0.00507490336894989,
-0.06874006241559982,
-0.2141384780406952,
0.24674251675605774,
0.49922072887420654,
-0.128825381398201,
-0.01901540905237198,
0.2602759003639221,
0.03182254359126091,
-0.50156569480896,
0.03349251672625542,
0.057916056364774704,
0.01581914722919464,
0.266609787940979,
-0.17765378952026367,
0.16625210642814636,
0.007180626504123211,
-0.35105422139167786,
0.2464280128479004,
0.016788240522146225,
-0.029235785827040672,
0.09712155908346176,
0.19763821363449097,
-0.07016395777463913,
-0.48156750202178955,
-0.058256879448890686,
-0.00020121503621339798,
0.3005290627479553,
-0.1304183453321457,
0.04686439782381058,
-0.16178028285503387,
-0.26668477058410645,
-0.09067459404468536,
-0.30089715123176575,
-0.5095221996307373,
-0.2846235930919647,
0.1525162160396576,
0.21258264780044556,
-0.061859212815761566,
0.33809933066368103,
0.12864600121974945,
0.31926777958869934,
-0.0802592933177948,
-0.22713468968868256,
-0.3346673250198364,
-0.1654789000749588,
-0.09037438780069351,
0.0881420373916626,
0.005419877357780933,
0.0611562617123127,
0.3389042615890503,
-0.2342596799135208,
0.22641898691654205,
-0.2848156988620758,
-0.6096776723861694,
0.020385436713695526,
-0.263614296913147,
0.2937619090080261,
0.19282403588294983,
0.23803800344467163,
0.18466047942638397,
-0.0817074179649353,
0.415793776512146,
-0.2582852244377136,
-0.17590197920799255,
-0.07240809500217438,
-0.3464740216732025,
-0.07528480887413025,
-0.09655793011188507,
-0.4368666708469391,
-0.025366542860865593,
-0.2144169807434082,
0.33675891160964966,
0.2414444535970688,
0.11787879467010498,
0.5435377359390259,
0.23459896445274353,
-0.020937521010637283,
0.24946661293506622,
-0.007034720852971077,
-0.22692996263504028,
-0.2240629345178604,
0.40273216366767883,
-0.1593751460313797,
-0.15121012926101685,
0.10218174755573273,
-0.1646478772163391,
0.3333573639392853,
-0.3255922794342041,
-0.49692362546920776,
-0.13383911550045013,
-0.24317051470279694,
0.2913880944252014,
0.1495148241519928,
0.0021246299147605896,
0.501529335975647,
0.017368707805871964,
-0.20159095525741577,
-0.2458619773387909,
-0.6448798775672913,
0.14696630835533142,
0.13879740238189697,
0.20339572429656982,
0.08118884265422821,
0.440724641084671,
-0.1661764532327652,
0.38374441862106323,
0.10124148428440094,
-0.1010604053735733,
0.3787125051021576,
0.1324334740638733,
0.5677347779273987,
-0.29644981026649475,
-0.20821979641914368,
0.06427780538797379,
0.23923632502555847,
0.1256261169910431,
0.17450685799121857,
0.19455569982528687,
-0.007057299837470055,
-0.27540189027786255,
-0.16712817549705505,
-0.2785113453865051,
-0.10811366140842438,
-0.021264346316456795,
0.33031874895095825,
0.07121067494153976,
0.2786105275154114,
-0.07989168167114258,
-0.3220231533050537,
-0.1606820821762085,
-0.06308361887931824,
0.43263810873031616,
0.08496932685375214,
0.05259094387292862,
-0.5662987232208252,
-0.4323234260082245,
-0.29818353056907654,
0.45530176162719727,
-0.0004816593136638403,
0.1673903465270996,
0.016042370349168777,
-0.011784255504608154,
-0.08493004739284515,
-0.0630975291132927,
0.23567864298820496,
-0.4045802652835846,
-0.10212807357311249,
0.11847791075706482,
0.16907420754432678,
0.08977572619915009,
0.10476821660995483,
0.17324689030647278,
0.0023761368356645107,
0.467654824256897,
0.7349662184715271,
-0.3183042109012604,
-0.20487305521965027,
0.1460724174976349,
0.1749570071697235,
-0.20365050435066223,
-0.0343373604118824,
-0.20319508016109467,
-0.348346471786499,
-0.17423686385154724,
-0.13478651642799377,
-0.028012918308377266,
0.11151593178510666,
-0.11386929452419281,
-0.2690466046333313,
0.2701442241668701,
-0.05001833289861679,
-0.17967309057712555,
0.06250883638858795,
0.20638322830200195,
0.3485358655452728,
-0.16765017807483673,
0.1954127848148346,
-0.0039009898900985718,
0.2596374452114105,
0.4540489912033081,
-0.15288391709327698,
0.1416589766740799,
-0.10774321109056473,
0.15058764815330505,
0.3273099660873413,
0.3280562162399292,
0.22658786177635193,
0.3211755156517029,
0.2637646198272705,
0.20794609189033508,
-0.16168832778930664,
0.0763610303401947,
0.4086700677871704,
-0.04612337052822113,
-0.33125996589660645,
-0.5292246341705322,
0.3493259847164154,
-0.12116023898124695,
-0.10554642975330353,
0.22224168479442596,
0.12217457592487335,
-0.2566840946674347,
0.267577588558197,
-0.2439766526222229,
0.91078782081604,
0.26114267110824585,
0.15239720046520233,
0.20200076699256897,
0.10205808281898499,
0.6946524977684021,
0.09847652912139893,
0.008024036884307861,
-0.392619788646698,
0.25710466504096985,
0.07352664321660995,
-0.11587372422218323,
-0.05005648732185364,
-0.11682717502117157,
-0.21880163252353668,
0.28711745142936707,
0.3770272731781006,
0.12562935054302216,
0.17155948281288147,
0.5914610624313354,
0.20909491181373596,
-0.1264057159423828,
-0.29287680983543396,
0.14549295604228973,
-0.13517622649669647,
0.29761838912963867,
-0.017081864178180695,
-0.38242655992507935,
-0.09921714663505554,
-0.4103448987007141,
-0.04931839928030968,
0.15145882964134216,
-0.13402290642261505,
0.10772724449634552,
0.23501373827457428,
-0.41926121711730957,
-0.1410529911518097,
-0.207160085439682,
0.19685935974121094,
0.18200547993183136,
-0.3577902019023895,
0.27435728907585144,
-0.09128325432538986,
-0.13117550313472748,
-0.08080670982599258,
0.07250454276800156,
0.03388000652194023,
-0.09248225390911102,
-0.31619566679000854,
-0.036349765956401825,
-0.07275750488042831,
-0.5265563726425171,
-0.24131470918655396,
-0.40557581186294556,
-0.38328856229782104,
-0.03062785044312477,
0.1860218197107315,
0.18508316576480865,
-0.07015624642372131,
-0.5644716620445251,
0.13829447329044342,
0.21038918197155,
0.13763023912906647,
-0.021787121891975403,
0.32742899656295776,
-0.32438111305236816,
-0.30716508626937866,
0.1613641381263733,
-0.09475696831941605,
0.1364806592464447,
0.4157853424549103,
0.14158044755458832,
-0.019314320757985115,
-0.16788583993911743,
0.1289983093738556,
0.09206491708755493,
-0.33725330233573914,
-0.03872382268309593,
0.1873457282781601,
0.052098602056503296,
-0.1461603194475174,
0.46118783950805664,
0.06328894942998886,
0.22342589497566223,
0.11901605129241943,
-0.2232319861650467,
-0.30214670300483704,
0.2664545476436615,
-0.055913228541612625,
0.1537250578403473,
0.07106246054172516,
0.28443989157676697,
0.22502858936786652,
0.1351846158504486,
-0.35748639702796936,
0.07357537746429443,
0.04751569777727127,
0.06968718767166138,
0.24218818545341492,
-0.22776442766189575,
0.3597847521305084,
-0.14932319521903992,
0.08442173153162003,
-0.2831769585609436,
-0.09525510668754578,
-0.16403353214263916,
-0.2680901288986206,
0.08770830184221268,
0.2873894274234772,
-0.23301979899406433,
-0.4159095287322998,
-0.1361788958311081,
-0.021481771022081375,
-0.05859056115150452,
-0.10088804364204407,
-0.09689956903457642,
-0.053405605256557465,
0.20641151070594788,
-0.1044318825006485,
-0.10732290893793106,
0.26128441095352173,
-0.09568348526954651,
0.02988331764936447,
0.3348243534564972,
-0.00008061155676841736,
-0.10301107168197632,
-0.1336035281419754,
-0.05531306192278862,
-0.05515028163790703,
0.15106892585754395,
-0.03615778684616089,
0.24490097165107727,
0.0650988444685936,
-0.29862165451049805,
0.029867690056562424,
0.03404005989432335,
0.4232775568962097,
0.18109165132045746,
-0.07047027349472046,
0.06935130804777145,
0.32865431904792786,
0.14970864355564117,
-0.22570832073688507,
-0.04601236805319786,
-0.0697297602891922,
-0.13272343575954437,
0.06416824460029602,
-0.02367597073316574,
0.18413890898227692,
0.033813051879405975,
0.029967401176691055,
0.12006879597902298,
0.3024025857448578,
-0.047915019094944,
0.11647661030292511,
-0.1779875010251999,
-0.2312217801809311,
0.1090870201587677,
0.46114447712898254,
0.3661666810512543,
-0.06342215090990067,
-0.08820289373397827,
0.17319804430007935,
-0.3124011754989624,
0.14903360605239868,
0.05833344906568527,
-0.20485401153564453,
-0.3012470006942749,
-0.12828992307186127,
0.1475258767604828,
0.07840532064437866,
0.10938180238008499,
0.2398846447467804,
0.6402793526649475,
-0.13952624797821045,
0.04142700508236885,
-0.1530134528875351,
0.16668960452079773,
-0.01889916881918907,
-0.1557271033525467,
-0.3153406083583832,
-0.27674606442451477,
-0.21728166937828064,
-0.15857653319835663,
-0.047312889248132706,
-0.20226164162158966,
-0.1591399908065796,
-0.204969123005867,
-0.22028614580631256,
-0.42723047733306885,
0.0931866466999054,
-0.21381929516792297,
0.19983243942260742,
0.00027960166335105896,
0.3082871437072754,
0.15573184192180634,
-0.25219133496284485,
0.060453224927186966,
0.3367161452770233,
0.41914957761764526,
0.05293118953704834,
0.15584614872932434,
0.09864260256290436,
-0.09077379107475281,
-0.21285344660282135,
-0.026673980057239532,
0.2568958103656769,
0.24831393361091614,
-0.6642745137214661,
0.04589318111538887,
0.18699662387371063,
-0.2367226928472519,
0.3420788645744324,
0.13667552173137665,
0.30495208501815796,
0.08842794597148895,
0.4211091101169586,
-0.1049339771270752,
-0.28428423404693604,
-0.13539277017116547,
0.038560912013053894,
-0.30829688906669617,
-0.1936301589012146,
0.3260764181613922,
-0.1237725093960762,
-0.11901581287384033,
-0.4895781874656677,
0.1083492785692215,
-0.0454399548470974,
0.520546019077301,
0.237161323428154,
0.16727694869041443,
-0.06729642301797867,
-0.24201299250125885,
-0.45367535948753357,
-0.001607358455657959,
-0.07206432521343231,
0.03478744626045227,
-0.1345807909965515,
0.1490800678730011,
0.09429003298282623,
-0.10579931735992432,
0.1456601917743683,
0.17596368491649628,
0.10233764350414276,
-0.06744823604822159,
-0.32400017976760864,
0.3765142858028412,
-0.21034835278987885,
0.2728181481361389,
0.10178951919078827,
-0.029853561893105507,
0.17060765624046326,
-0.17395955324172974,
0.05146659165620804,
-0.22898118197917938,
0.16467437148094177,
-0.1610601544380188,
0.541551411151886,
0.3578244745731354,
0.22206304967403412,
0.34738868474960327,
-0.3284621238708496,
-0.18401560187339783,
-0.09152448177337646,
-0.6267409920692444,
-0.13889147341251373,
0.48142510652542114,
-0.1241271048784256,
0.4178784191608429,
0.12034840136766434,
-0.09869986772537231,
-0.2369634211063385,
0.14388538897037506,
-0.1728949248790741,
-0.37303879857063293,
-0.13611818850040436,
0.4552438259124756,
-0.15083903074264526,
-0.04788001999258995,
0.09872946888208389,
0.069460928440094,
-0.0255909264087677,
-0.183333158493042,
-0.20623716711997986,
-0.2889266610145569,
0.5797027945518494,
-0.06315483152866364,
-0.07747125625610352,
-0.08615211397409439,
0.08709059655666351,
0.39361825585365295,
0.1944398581981659,
-0.0390554703772068,
0.13940513134002686,
0.3865029513835907,
0.43261581659317017,
-0.31254643201828003,
0.40058010816574097,
-0.30669379234313965,
-0.06677453964948654,
0.02446630969643593,
0.49115806818008423,
0.21057668328285217,
-0.4120193123817444,
-0.04494788125157356,
-0.17074602842330933
] |
https://github.com/huggingface/datasets/pull/306 | add pg19 dataset | @lhoestq ohhh, I made the change in this commit https://github.com/lucidrains/nlp/commit/f3e23d823ad9942031be80b7c4e4212c592cd90c , that's interesting that the pull request didn't pick it up. maybe it's because I did it on another machine, let me check and get back to you! | https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style` | 38 | text: add pg19 dataset
https://github.com/huggingface/nlp/issues/274
Add functioning PG19 dataset with dummy data
`cos_e.py` was just auto-linted by `make style`
@lhoestq ohhh, I made the change in this commit https://github.com/lucidrains/nlp/commit/f3e23d823ad9942031be80b7c4e4212c592cd90c , that's interesting that the pull request didn't pick it up. maybe it's because I did it on another machine, let me check and get back to you! | [
-0.0351107120513916,
-0.16670991480350494,
-0.07551759481430054,
-0.24306704103946686,
-0.043213874101638794,
-0.04651085287332535,
0.29816147685050964,
0.1134546548128128,
0.008748408406972885,
0.16486790776252747,
0.34550511837005615,
0.4716442823410034,
0.058199912309646606,
0.5420235395431519,
0.34675315022468567,
0.10225003212690353,
0.076164111495018,
0.43029651045799255,
0.03810678794980049,
-0.10250279307365417,
-0.29555946588516235,
0.3773772418498993,
-0.13935765624046326,
-0.10088470578193665,
-0.09137047082185745,
-0.008677413687109947,
-0.3347857594490051,
0.15771126747131348,
-0.2307615727186203,
-0.19027617573738098,
0.4355846643447876,
0.280324786901474,
-0.3620033264160156,
0.07602928578853607,
-0.00010348475188948214,
-0.2870519161224365,
0.34917062520980835,
-0.15086394548416138,
-0.01938437856733799,
-0.05377744138240814,
0.010265357792377472,
-0.29579174518585205,
0.12259629368782043,
-0.10191211104393005,
-0.21589255332946777,
-0.10677117109298706,
0.12499228864908218,
0.22379785776138306,
0.14108982682228088,
0.12723535299301147,
0.2912672162055969,
0.22266383469104767,
0.23257876932621002,
-0.152377650141716,
0.27139702439308167,
0.1850764900445938,
-0.36455902457237244,
0.04227975010871887,
0.12799350917339325,
-0.12186258286237717,
0.29840970039367676,
0.3562504053115845,
0.08634494245052338,
-0.13223370909690857,
0.06826679408550262,
-0.14291894435882568,
-0.1444239318370819,
-0.17353305220603943,
0.0820607841014862,
0.1879252791404724,
0.13743802905082703,
-0.05636601895093918,
-0.016849083825945854,
-0.26035764813423157,
0.03210458531975746,
-0.43816661834716797,
-0.0518171563744545,
-0.10391820967197418,
-0.13405440747737885,
-0.028147708624601364,
-0.004670759662985802,
-0.40985310077667236,
-0.1620749682188034,
0.2004673182964325,
0.3379371464252472,
0.20434637367725372,
-0.0931946188211441,
-0.07648734003305435,
0.11251674592494965,
0.10129690170288086,
-0.3820888102054596,
0.07150253653526306,
-0.2634219825267792,
0.02549239993095398,
0.05234657600522041,
-0.0882464200258255,
0.4854585826396942,
0.19161897897720337,
0.1789810061454773,
0.1440192461013794,
0.08394063264131546,
0.24416378140449524,
-0.1642909198999405,
0.13012813031673431,
-0.3003837466239929,
0.36403682827949524,
0.06750885397195816,
-0.04586217179894447,
0.2684304714202881,
0.05757574737071991,
0.35127684473991394,
-0.05565160512924194,
0.062024690210819244,
-0.23963022232055664,
-0.14273224771022797,
0.025510992854833603,
0.4053938388824463,
-0.14286616444587708,
-0.1615784466266632,
-0.21283000707626343,
0.14138010144233704,
0.002691210713237524,
-0.20234046876430511,
0.22569787502288818,
0.12969674170017242,
0.00779610313475132,
0.25825631618499756,
0.2749288082122803,
-0.12401726096868515,
-0.09359230846166611,
-0.4547574818134308,
-0.031315017491579056,
-0.1856054961681366,
-0.019535647705197334,
0.2210758477449417,
-0.2292306274175644,
0.3789178133010864,
0.0986722931265831,
-0.15253178775310516,
0.06217818707227707,
0.04644593596458435,
0.4156484603881836,
0.18158456683158875,
0.22300006449222565,
-0.20010218024253845,
0.12916354835033417,
0.2775825560092926,
-0.2666904628276825,
-0.20032939314842224,
-0.0337134450674057,
-0.23156681656837463,
-0.21632491052150726,
-0.24064861238002777,
0.25930288434028625,
-0.18209311366081238,
-0.3411862552165985,
-0.42096105217933655,
0.38296636939048767,
0.059102971106767654,
-0.07313566654920578,
0.23277142643928528,
-0.029582619667053223,
0.012857120484113693,
-0.11397721618413925,
0.18246184289455414,
0.22296741604804993,
-0.07994278520345688,
-0.3414872884750366,
-0.208197221159935,
0.04415017366409302,
0.5109468698501587,
0.23373225331306458,
-0.03244395554065704,
-0.13577687740325928,
-0.22633054852485657,
0.3145855665206909,
0.6890959739685059,
-0.1141156405210495,
-0.1273815929889679,
0.05063857138156891,
-0.21719039976596832,
-0.05001651495695114,
0.09912115335464478,
-0.15293298661708832,
-0.15909957885742188,
0.09486044198274612,
-0.07305285334587097,
0.14643645286560059,
-0.047668859362602234,
0.1387304663658142,
-0.28567489981651306,
-0.21106299757957458,
0.21271272003650665,
-0.03225760534405708,
-0.04346965625882149,
0.01924058049917221,
-0.05128058046102524,
-0.33114978671073914,
0.35355645418167114,
-0.21977126598358154,
-0.07071557641029358,
-0.20649453997612,
0.5816472172737122,
0.05446294695138931,
0.02921735867857933,
0.1975846290588379,
-0.17694148421287537,
0.03495601564645767,
-0.02371256798505783,
0.5047886371612549,
-0.034896448254585266,
-0.22198717296123505,
-0.23501071333885193,
-0.0831935778260231,
-0.28946736454963684,
-0.5366711616516113,
0.19830074906349182,
0.17171454429626465,
-0.18847334384918213,
-0.04430526867508888,
0.011385690420866013,
-0.14163032174110413,
-0.09958264976739883,
-0.008795403875410557,
-0.4879695773124695,
-0.10517317801713943,
-0.26222968101501465,
-0.2482539415359497,
0.029323861002922058,
0.3326222896575928,
0.02069111168384552,
-0.2949870526790619,
-0.21867680549621582,
0.29211241006851196,
-0.23627866804599762,
0.20644491910934448,
-0.08233410865068436,
-0.1778714805841446,
0.10760851949453354,
-0.35696887969970703,
-0.050360195338726044,
0.1051095724105835,
-0.1027899831533432,
-0.14131027460098267,
-0.15296843647956848,
0.21814695000648499,
0.1712244153022766,
-0.045459918677806854,
-0.2841275930404663,
-0.05294518172740936,
0.21427738666534424,
-0.029476160183548927,
-0.1510554552078247,
-0.0877099260687828,
0.061607882380485535,
-0.07322965562343597,
0.04934145137667656,
-0.08136183768510818,
-0.40276968479156494,
0.36512866616249084,
0.46205759048461914,
0.15455298125743866,
0.14296168088912964,
0.10991954058408737,
0.05420765280723572,
-0.313435435295105,
0.2150004506111145,
-0.11540450155735016,
0.22132736444473267,
0.26643937826156616,
-0.16191868484020233,
0.010052843019366264,
-0.02914092317223549,
-0.4093913435935974,
0.08866915106773376,
0.0863572508096695,
0.08440015465021133,
0.020931493490934372,
0.3502906858921051,
-0.10298450291156769,
-0.5076943039894104,
0.031083520501852036,
-0.1920158416032791,
0.024130716919898987,
-0.19860932230949402,
0.0812717005610466,
-0.20010393857955933,
-0.37278956174850464,
0.04325499013066292,
-0.10790756344795227,
-0.24365049600601196,
-0.22111983597278595,
0.1943683624267578,
0.08340898156166077,
-0.11993145942687988,
0.31769081950187683,
0.13172240555286407,
0.26699522137641907,
-0.15056325495243073,
-0.1437443345785141,
-0.3956297039985657,
-0.08619149774312973,
-0.06880562007427216,
0.2071153074502945,
-0.09285612404346466,
0.14528165757656097,
0.5117416381835938,
-0.24603748321533203,
0.24854092299938202,
-0.04621202498674393,
-0.7188084125518799,
0.0035948939621448517,
-0.31636643409729004,
0.16687023639678955,
0.3432845175266266,
0.131686732172966,
0.07452477514743805,
0.047425296157598495,
0.1845863312482834,
-0.4460214674472809,
-0.24838511645793915,
-0.07035408914089203,
-0.3769817352294922,
0.13497775793075562,
-0.44669798016548157,
-0.30210500955581665,
-0.13394857943058014,
-0.4159272313117981,
0.38392823934555054,
0.23975034058094025,
-0.011080726981163025,
0.6114528179168701,
0.21992763876914978,
0.0613100565969944,
0.30261045694351196,
0.037223976105451584,
-0.2544613182544708,
-0.004401080310344696,
0.2604571580886841,
-0.11632834374904633,
-0.2575460374355316,
0.0509515143930912,
-0.22230850160121918,
0.3951377868652344,
-0.28081631660461426,
-0.28309255838394165,
-0.11789387464523315,
-0.1715766340494156,
0.3062519133090973,
0.15038613975048065,
0.06904342025518417,
0.650043249130249,
-0.012850958853960037,
-0.23041003942489624,
-0.22090080380439758,
-0.31386393308639526,
0.2176370620727539,
0.17868873476982117,
0.09656025469303131,
-0.14666429162025452,
0.24933740496635437,
-0.13838373124599457,
0.3843644857406616,
-0.024036938324570656,
-0.061406392604112625,
0.539889931678772,
0.17389117181301117,
0.5600617527961731,
-0.2988552749156952,
-0.262990266084671,
0.09125200659036636,
0.26866236329078674,
0.25174248218536377,
0.3360103368759155,
0.05362347513437271,
-0.3361072838306427,
-0.111626036465168,
-0.387504905462265,
-0.06921053677797318,
-0.09109236299991608,
0.04997134953737259,
0.27943384647369385,
0.00805605947971344,
0.2706933319568634,
-0.08778928220272064,
-0.2894093692302704,
-0.14380434155464172,
-0.01770223118364811,
0.2200946807861328,
0.13115081191062927,
0.05487806722521782,
-0.2014227956533432,
-0.3326515555381775,
-0.5040613412857056,
0.34009820222854614,
-0.03882889449596405,
0.06020304188132286,
-0.03078930266201496,
-0.2805618941783905,
0.0332501120865345,
-0.029059845954179764,
0.25501585006713867,
-0.1896771788597107,
-0.24531881511211395,
0.16971561312675476,
0.1851419359445572,
-0.020026780664920807,
-0.0663861557841301,
-0.05149580538272858,
0.14197538793087006,
0.5428920984268188,
0.5025923848152161,
-0.35466399788856506,
-0.29350778460502625,
0.24101926386356354,
0.08997414261102676,
-0.1420086771249771,
-0.21071146428585052,
-0.41877126693725586,
-0.3986128866672516,
-0.19846132397651672,
0.135044127702713,
0.19801051914691925,
0.14025358855724335,
-0.2948722839355469,
-0.08357613533735275,
0.06403893232345581,
-0.012551471590995789,
-0.001402921974658966,
0.11066311597824097,
0.09384136646986008,
0.16109901666641235,
-0.3008022606372833,
0.05582801252603531,
-0.04156738519668579,
-0.10068169981241226,
0.29663363099098206,
0.014321045950055122,
0.16954147815704346,
0.17184436321258545,
-0.009668835438787937,
0.34487640857696533,
0.29194527864456177,
0.03444274887442589,
0.2622394263744354,
0.04678569361567497,
0.09466061741113663,
-0.15918494760990143,
0.19600656628608704,
0.24757054448127747,
-0.010458163917064667,
-0.10581610351800919,
-0.38558077812194824,
0.24247127771377563,
-0.0749380961060524,
-0.10417124629020691,
0.25823265314102173,
0.15096525847911835,
-0.19030798971652985,
0.4453354477882385,
-0.19150686264038086,
0.875272810459137,
0.1587696522474289,
0.24972809851169586,
0.18142485618591309,
0.19888295233249664,
0.6853858232498169,
0.1861863136291504,
0.05865850672125816,
-0.2874848246574402,
0.07152091711759567,
0.15429110825061798,
-0.06250020116567612,
0.10433745384216309,
-0.11121876537799835,
-0.28656432032585144,
0.2932918965816498,
0.3834797143936157,
0.036243341863155365,
0.23366664350032806,
0.26522111892700195,
0.1629161238670349,
-0.21000121533870697,
-0.2035428285598755,
0.21855531632900238,
-0.04780285060405731,
0.31634679436683655,
0.05308946967124939,
-0.23817849159240723,
-0.06763853132724762,
-0.3549954295158386,
-0.13240554928779602,
0.20906022191047668,
-0.00979679636657238,
-0.12435577809810638,
0.3339574933052063,
-0.4430277943611145,
0.21409393846988678,
-0.17773208022117615,
0.2690161466598511,
0.21127763390541077,
-0.32075411081314087,
0.20508311688899994,
0.16496947407722473,
-0.11894426494836807,
0.0068670399487018585,
0.15553036332130432,
0.12273644655942917,
-0.11326836794614792,
-0.19270840287208557,
0.007321599870920181,
-0.033943284302949905,
-0.3004395365715027,
-0.1297888606786728,
-0.2477049082517624,
-0.20629610121250153,
-0.07049194723367691,
0.00892952736467123,
0.09424755722284317,
0.2063625305891037,
-0.5394947528839111,
0.21044470369815826,
0.2778531312942505,
0.004856454208493233,
-0.018900640308856964,
0.17289790511131287,
-0.2526390552520752,
-0.19984258711338043,
-0.10385029762983322,
-0.07107743620872498,
0.1786474883556366,
0.3473186194896698,
0.16534508764743805,
-0.007516661658883095,
-0.28308528661727905,
-0.20558473467826843,
-0.06693242490291595,
-0.6257227063179016,
0.002528280485421419,
0.2715437412261963,
-0.3040800094604492,
-0.007245488464832306,
0.6238306164741516,
-0.06113721430301666,
0.142433762550354,
-0.029121028259396553,
-0.05877332761883736,
-0.30275440216064453,
-0.018845975399017334,
-0.2009357064962387,
0.36128634214401245,
0.22313115000724792,
0.2255973070859909,
0.22430095076560974,
0.2089998424053192,
-0.455274760723114,
-0.13966989517211914,
-0.12758968770503998,
-0.07280722260475159,
0.36003050208091736,
-0.1032116487622261,
0.268288254737854,
0.013035101816058159,
0.15014666318893433,
0.0334656685590744,
-0.12006638944149017,
-0.3054652214050293,
-0.16943827271461487,
0.07669366896152496,
-0.0009501390159130096,
0.008220158517360687,
0.03553636372089386,
0.13700811564922333,
-0.13532662391662598,
-0.05500093847513199,
0.09603847563266754,
-0.37474459409713745,
-0.03542052209377289,
0.23780423402786255,
-0.07062800228595734,
-0.08527382463216782,
0.2272561639547348,
0.016079602763056755,
0.14793330430984497,
0.06989143043756485,
-0.21879369020462036,
0.04910822957754135,
-0.0816449224948883,
-0.05616588145494461,
0.19966968894004822,
0.06010216474533081,
0.0864323154091835,
0.24245727062225342,
-0.19149160385131836,
-0.17099891602993011,
-0.10104280710220337,
-0.14323221147060394,
0.28032436966896057,
-0.27493390440940857,
0.020745711401104927,
0.08294931054115295,
0.24211633205413818,
0.26313212513923645,
-0.33292245864868164,
0.11047003418207169,
0.05155237764120102,
-0.0044954074546694756,
0.25320133566856384,
0.23423081636428833,
0.26978039741516113,
0.0072794631123542786,
0.3968753218650818,
0.20723050832748413,
0.1595316231250763,
-0.10216563940048218,
-0.03709597513079643,
-0.19808751344680786,
-0.3980621099472046,
0.016566839069128036,
0.5205127000808716,
0.2155684232711792,
0.08040142804384232,
-0.15545901656150818,
0.24612268805503845,
-0.1701314002275467,
0.11520274728536606,
0.053743403404951096,
-0.05097111314535141,
-0.280288428068161,
-0.029274318367242813,
0.13977433741092682,
0.19566714763641357,
0.09352792799472809,
0.29957839846611023,
0.6399579048156738,
-0.0050775958225131035,
-0.021503863856196404,
-0.07578567415475845,
0.32108259201049805,
-0.1752396821975708,
-0.1327238827943802,
-0.17516136169433594,
-0.07603413611650467,
-0.2071833610534668,
-0.18345674872398376,
-0.05855701491236687,
0.12750715017318726,
0.04633913189172745,
-0.16810022294521332,
-0.10123218595981598,
-0.23613424599170685,
-0.0075141191482543945,
-0.2275494635105133,
0.15107327699661255,
0.017139416188001633,
0.2576678693294525,
-0.07454793155193329,
-0.21939975023269653,
-0.03962555155158043,
0.4606420397758484,
0.39018484950065613,
-0.06963104009628296,
0.1580079197883606,
-0.0631956160068512,
0.058212582021951675,
-0.1870298832654953,
-0.1417500376701355,
0.2218620330095291,
0.27949923276901245,
-0.13582628965377808,
-0.002284266985952854,
0.23784923553466797,
-0.29792359471321106,
0.12813310325145721,
0.11700275540351868,
0.06606684625148773,
-0.005122165661305189,
0.4558355510234833,
-0.18501584231853485,
-0.3891820013523102,
-0.26375073194503784,
0.14576129615306854,
-0.21698486804962158,
0.1489405632019043,
0.29898568987846375,
-0.005965634249150753,
-0.12206459790468216,
-0.5684078335762024,
0.14765235781669617,
0.04931895434856415,
0.3297167718410492,
0.10825581848621368,
0.3594031035900116,
0.11466034501791,
-0.2984811067581177,
-0.6094380617141724,
0.2533106505870819,
0.03672811761498451,
-0.1640743762254715,
-0.029383428394794464,
0.16547323763370514,
0.25916117429733276,
-0.13501521944999695,
0.05712432414293289,
0.113883838057518,
0.3826023042201996,
0.01591946929693222,
-0.07052499800920486,
0.389244943857193,
-0.10971328616142273,
-0.07230973243713379,
0.11594085395336151,
-0.2079123556613922,
-0.0023674853146076202,
-0.1790180504322052,
0.21491631865501404,
-0.35061532258987427,
0.10406000912189484,
-0.007934434339404106,
0.40027397871017456,
0.19021204113960266,
0.23560510575771332,
0.241714209318161,
-0.33249714970588684,
-0.12151303142309189,
0.001792263239622116,
-0.38591721653938293,
-0.14275816082954407,
0.2543894648551941,
-0.10018831491470337,
0.3453289568424225,
0.15874074399471283,
-0.005049504339694977,
-0.11772320419549942,
0.1918209344148636,
0.19768580794334412,
-0.22654959559440613,
-0.21092893183231354,
0.6101658940315247,
-0.4188494086265564,
-0.18606507778167725,
0.005036170594394207,
0.06734184920787811,
0.012533515691757202,
-0.3532392382621765,
-0.1802045702934265,
-0.4703553318977356,
0.5851441621780396,
-0.3295508027076721,
-0.3476369380950928,
-0.04317072778940201,
0.14397576451301575,
0.28102874755859375,
-0.08872222155332565,
-0.13875190913677216,
0.11114457994699478,
0.1293773651123047,
0.40457871556282043,
-0.1669631153345108,
0.47445225715637207,
-0.33840110898017883,
-0.032260678708553314,
-0.07119040191173553,
0.44788113236427307,
0.21233034133911133,
-0.10978250205516815,
0.053707536309957504,
-0.31813347339630127
] |
https://github.com/huggingface/datasets/pull/298 | Add searchable datasets | Alright I think I've checked all your comments, thanks :)
Moreover I just added a way to serialize faiss indexes.
This is important because for big datasets the index construction can take some time.
Examples:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']}))
ds_with_embeddings.add_faiss_index(column='embeddings')
# query
scores, retrieved_examples = ds_with_embeddings.get_nearest_examples('embeddings', embed('my new query'), k=10)
# save index
ds_with_embeddings.get_index('embeddings').save('my_index.faiss')
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
# load index
faiss_index = nlp.search.FaissIndex.load('my_index.faiss')
ds.add_faiss_index('embeddings', faiss_index=faiss_index)
# query
scores, retrieved_examples = ds.get_nearest_examples('embeddings', embed('my new query'), k=10)
```
Let me know what you think | # Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :) | 92 | text: Add searchable datasets
# Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :)
Alright I think I've checked all your comments, thanks :)
Moreover I just added a way to serialize faiss indexes.
This is important because for big datasets the index construction can take some time.
Examples:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']}))
ds_with_embeddings.add_faiss_index(column='embeddings')
# query
scores, retrieved_examples = ds_with_embeddings.get_nearest_examples('embeddings', embed('my new query'), k=10)
# save index
ds_with_embeddings.get_index('embeddings').save('my_index.faiss')
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
# load index
faiss_index = nlp.search.FaissIndex.load('my_index.faiss')
ds.add_faiss_index('embeddings', faiss_index=faiss_index)
# query
scores, retrieved_examples = ds.get_nearest_examples('embeddings', embed('my new query'), k=10)
```
Let me know what you think | [
-0.04851211979985237,
-0.09547372162342072,
-0.24135027825832367,
0.05695509910583496,
0.2021883875131607,
0.004782460629940033,
0.15913107991218567,
0.39354947209358215,
0.2729768753051758,
0.250200092792511,
-0.29677775502204895,
0.3064553141593933,
-0.11142147332429886,
-0.0033313818275928497,
0.13672348856925964,
-0.09032516181468964,
0.11506940424442291,
0.399987131357193,
0.01251654326915741,
0.015419140458106995,
-0.22835129499435425,
-0.009050143882632256,
-0.056474488228559494,
-0.12037873268127441,
-0.04477636143565178,
-0.12636573612689972,
-0.0746251568198204,
-0.06297262012958527,
-0.1710749715566635,
-0.4605805575847626,
-0.15464136004447937,
-0.021823588758707047,
-0.047010116279125214,
0.11205131560564041,
-0.00009806715388549492,
0.030408672988414764,
0.18727928400039673,
-0.0016780123114585876,
-0.17844249308109283,
0.014622986316680908,
-0.012859046459197998,
-0.3880750238895416,
0.22288332879543304,
-0.3544258177280426,
-0.08080095052719116,
-0.3259122371673584,
0.09791942685842514,
-0.40464457869529724,
-0.0017487406730651855,
0.19873695075511932,
0.3339734673500061,
0.18573127686977386,
0.09762191772460938,
-0.01273048110306263,
0.14640191197395325,
-0.2800312638282776,
-0.2929634153842926,
-0.14127539098262787,
0.4028107225894928,
0.34491589665412903,
-0.03349091857671738,
0.5642737150192261,
-0.14223769307136536,
-0.16680198907852173,
0.30749568343162537,
0.19219030439853668,
0.13604511320590973,
-0.2225514054298401,
-0.0793001800775528,
0.3490394949913025,
0.3280329406261444,
-0.06220562756061554,
-0.3969504237174988,
-0.15281179547309875,
-0.05487477779388428,
-0.16518743336200714,
0.009910374879837036,
-0.15474699437618256,
0.18870984017848969,
0.13632415235042572,
-0.050570785999298096,
-0.0896664634346962,
-0.13907131552696228,
0.08154595643281937,
0.042825788259506226,
0.20777906477451324,
0.02200842648744583,
-0.18043503165245056,
0.13525596261024475,
-0.17876595258712769,
0.061278488487005234,
-0.0879678875207901,
0.26566019654273987,
0.09836719930171967,
-0.1903032511472702,
-0.11048299074172974,
0.1604461371898651,
-0.46572861075401306,
0.12827938795089722,
-0.13547754287719727,
0.24713760614395142,
0.38179194927215576,
-0.16836315393447876,
0.07335865497589111,
-0.27583688497543335,
0.17216098308563232,
-0.26546600461006165,
-0.07640060782432556,
0.2201799899339676,
-0.12377354502677917,
0.012671563774347305,
-0.05839061737060547,
-0.06681772321462631,
-0.046212125569581985,
-0.13544303178787231,
-0.1742812991142273,
-0.12861905992031097,
-0.06203562393784523,
-0.1237015649676323,
0.11524032801389694,
-0.3090014159679413,
-0.07195670157670975,
-0.05487906560301781,
0.23066693544387817,
0.031263843178749084,
-0.05561555176973343,
0.07372371107339859,
0.046348750591278076,
-0.07038881629705429,
0.23715169727802277,
-0.24446076154708862,
0.24231424927711487,
-0.03916347771883011,
0.13649316132068634,
0.1583472043275833,
-0.11705701053142548,
0.19609792530536652,
-0.2947269380092621,
0.20779135823249817,
0.16670161485671997,
0.058128610253334045,
-0.13720494508743286,
0.3371443748474121,
0.21203163266181946,
-0.2781548500061035,
-0.18635611236095428,
-0.046148817986249924,
-0.08701901882886887,
-0.3810884952545166,
0.06535763293504715,
-0.04477351903915405,
-0.4592016637325287,
-0.0854639932513237,
0.29435932636260986,
0.039160147309303284,
-0.0011392533779144287,
0.2951776087284088,
0.629469096660614,
-0.16037529706954956,
-0.07616670429706573,
0.1018313318490982,
0.13240383565425873,
-0.16907638311386108,
-0.27502933144569397,
0.46200671792030334,
-0.010979652404785156,
-0.3330995738506317,
0.06362001597881317,
-0.0471457876265049,
0.19897311925888062,
-0.09182671457529068,
0.3498004674911499,
-0.171356201171875,
0.13153889775276184,
-0.05051516741514206,
0.5755081176757812,
0.4309792220592499,
-0.1240585595369339,
-0.22597476840019226,
-0.03586864098906517,
0.03344441205263138,
0.037081360816955566,
0.1886679232120514,
0.25132322311401367,
0.20175082981586456,
0.0015837361570447683,
0.18766912817955017,
0.32069092988967896,
-0.000689307227730751,
-0.0856199860572815,
-0.2837359309196472,
-0.32039734721183777,
0.14922687411308289,
0.1723202019929886,
0.24714981019496918,
-0.3072001039981842,
-0.016933679580688477,
-0.2302437424659729,
-0.0021097660064697266,
-0.1454414576292038,
0.03293324634432793,
0.14994637668132782,
0.34209322929382324,
0.022557705640792847,
0.18698684871196747,
-0.3129216730594635,
-0.07855921238660812,
0.13280773162841797,
-0.04010690748691559,
0.2548217177391052,
-0.32199913263320923,
-0.10886004567146301,
-0.011179380118846893,
0.004132607951760292,
-0.05845535919070244,
-0.10571116209030151,
0.2925497591495514,
-0.21515336632728577,
-0.03474359214305878,
-0.01652388460934162,
-0.2766057252883911,
0.07584843039512634,
-0.12404824793338776,
-0.07069239765405655,
-0.27680402994155884,
0.19219602644443512,
-0.3111233115196228,
-0.0851287990808487,
-0.1466749608516693,
0.41384828090667725,
-0.19946077466011047,
-0.19276617467403412,
0.006711858324706554,
0.24686121940612793,
-0.3563334345817566,
-0.08461920917034149,
0.21795690059661865,
0.4122452735900879,
0.17957942187786102,
-0.26227039098739624,
0.24470029771327972,
0.005779998376965523,
0.19887609779834747,
-0.0738140344619751,
-0.16017448902130127,
0.2453863024711609,
-0.06516298651695251,
0.34105604887008667,
-0.005102887749671936,
-0.3631342351436615,
0.18957918882369995,
0.07870766520500183,
-0.08860748261213303,
-0.31664329767227173,
-0.006991025060415268,
0.18383006751537323,
0.0926705002784729,
0.09340348839759827,
-0.34443962574005127,
0.2654173970222473,
0.2559398412704468,
-0.05562726780772209,
0.043805383145809174,
0.29939591884613037,
-0.11171243339776993,
-0.2824762165546417,
-0.07692181318998337,
-0.29439887404441833,
0.21968920528888702,
0.3714691400527954,
0.13859091699123383,
-0.12289736419916153,
-0.0019643669947981834,
-0.2411535531282425,
0.30887869000434875,
0.2416873425245285,
0.028236033394932747,
0.18523532152175903,
0.17833013832569122,
0.04612911865115166,
-0.2039550542831421,
-0.23580898344516754,
-0.10662323236465454,
0.029421789571642876,
0.026320163160562515,
0.014966720715165138,
-0.15789005160331726,
0.1739683449268341,
0.07518252730369568,
-0.04897201061248779,
0.1314549744129181,
-0.24790886044502258,
0.313232958316803,
-0.16456691920757294,
-0.14640256762504578,
0.3099931478500366,
-0.07560628652572632,
0.19682174921035767,
0.05594606697559357,
0.12720680236816406,
-0.14514297246932983,
-0.09773652255535126,
0.05109621584415436,
0.22522485256195068,
-0.14466463029384613,
0.22443895041942596,
0.4137866795063019,
0.19845473766326904,
0.2855176329612732,
-0.2057541012763977,
-0.4844169020652771,
0.06691158562898636,
-0.2308390587568283,
0.04775847867131233,
0.13469234108924866,
0.027715064585208893,
-0.2250089794397354,
-0.21912376582622528,
0.19006244838237762,
-0.16596437990665436,
-0.06225328892469406,
-0.10568658262491226,
-0.1306680589914322,
-0.016148924827575684,
-0.03267095983028412,
-0.5408039093017578,
-0.3031032085418701,
-0.49624103307724,
0.1141684502363205,
-0.0932048037648201,
0.21750332415103912,
-0.05244305729866028,
0.1431322991847992,
0.4186480939388275,
0.14167441427707672,
0.2697512209415436,
-0.12804561853408813,
0.12697722017765045,
0.47310659289360046,
-0.1452324390411377,
-0.035286616533994675,
-0.2366734743118286,
-0.36601388454437256,
-0.1427992284297943,
0.09823159873485565,
-0.18864375352859497,
-0.04137200117111206,
-0.2112935334444046,
-0.026181228458881378,
0.04637114331126213,
0.054682739078998566,
0.3179447054862976,
0.3268470764160156,
-0.4110448360443115,
0.014981262385845184,
-0.061109330505132675,
0.09188257157802582,
0.11837546527385712,
0.006321117281913757,
0.042000189423561096,
0.3706355094909668,
0.00025120005011558533,
0.25536036491394043,
-0.06639495491981506,
-0.15827496349811554,
0.28709110617637634,
0.15158051252365112,
0.3402446210384369,
-0.23372918367385864,
-0.18529543280601501,
0.08205528557300568,
0.07528218626976013,
-0.04055781662464142,
0.3378371000289917,
-0.03196578100323677,
-0.1830652803182602,
-0.02496296539902687,
-0.10522325336933136,
-0.11182031780481339,
-0.14156249165534973,
0.38084661960601807,
0.032041702419519424,
0.157415509223938,
-0.1048528254032135,
0.03354515880346298,
-0.18753506243228912,
0.017803018912672997,
0.06348811089992523,
-0.07153995335102081,
0.060960885137319565,
-0.21128691732883453,
0.10102635622024536,
-0.20332863926887512,
-0.5790449976921082,
0.3442631959915161,
0.19987404346466064,
0.05836091190576553,
0.10307657718658447,
-0.18818387389183044,
0.17564339935779572,
0.06138797104358673,
0.3934668302536011,
-0.34055212140083313,
-0.6566036939620972,
0.2199300229549408,
-0.010166915133595467,
-0.25603386759757996,
0.14654657244682312,
-0.3095153272151947,
0.05816777050495148,
-0.07966925203800201,
0.5172101259231567,
-0.3827775716781616,
-0.10199509561061859,
0.2646417021751404,
0.21970736980438232,
-0.060992103070020676,
-0.2740292549133301,
-0.11413976550102234,
-0.16443553566932678,
-0.20467178523540497,
0.06736188381910324,
-0.06898806244134903,
0.1921084225177765,
0.2726922333240509,
-0.30079713463783264,
-0.10484695434570312,
-0.03355863317847252,
0.3174353837966919,
0.039490874856710434,
0.23961171507835388,
0.11861026287078857,
0.1761484593153,
0.11974219232797623,
0.2885836362838745,
-0.009537728503346443,
0.08539845049381256,
-0.5496007204055786,
0.29611051082611084,
-0.27339792251586914,
-0.03053932636976242,
0.2372106909751892,
0.4007643461227417,
0.040460795164108276,
0.3605172336101532,
-0.2291974425315857,
0.15443803369998932,
-0.07385953515768051,
0.09888796508312225,
0.11745002865791321,
0.09332691878080368,
-0.2308744341135025,
-0.397551953792572,
0.42826515436172485,
-0.12113989889621735,
-0.2400057315826416,
0.1554659605026245,
0.3992699384689331,
-0.31770914793014526,
0.5006088018417358,
0.2947273254394531,
1.068953514099121,
-0.1486227661371231,
0.023933017626404762,
0.1892247200012207,
0.0036410950124263763,
0.33711180090904236,
-0.318905234336853,
0.19842217862606049,
-0.09838948398828506,
-0.26859286427497864,
0.03702247142791748,
0.038696277886629105,
-0.03635954111814499,
-0.05017416179180145,
-0.31234225630760193,
0.14516520500183105,
0.20804060995578766,
-0.0728767067193985,
-0.22314736247062683,
0.3589889407157898,
0.1480206996202469,
-0.5073200464248657,
-0.1691133975982666,
0.194447860121727,
0.049712032079696655,
-0.22344759106636047,
0.058390602469444275,
-0.19910046458244324,
-0.09779327362775803,
0.05711797624826431,
-0.03167283907532692,
-0.2002543807029724,
-0.05959892272949219,
0.4568432569503784,
0.05131438747048378,
-0.3515412211418152,
0.22535650432109833,
-0.16525909304618835,
0.283144474029541,
-0.04359790310263634,
-0.16517490148544312,
0.07139734923839569,
0.052415087819099426,
-0.048062052577733994,
0.20182184875011444,
-0.260165810585022,
0.32981714606285095,
0.08527228236198425,
-0.1875973343849182,
0.043436408042907715,
-0.11627441644668579,
-0.32196295261383057,
-0.26431524753570557,
0.05353651940822601,
0.12264303863048553,
-0.14116758108139038,
-0.1451207399368286,
0.16741791367530823,
-0.4173351228237152,
-0.2369348406791687,
0.2959204316139221,
0.20261448621749878,
0.016804253682494164,
0.4947132170200348,
0.2522021532058716,
-0.18360954523086548,
-0.06455716490745544,
0.18488764762878418,
0.21524101495742798,
0.09602043032646179,
0.2860385775566101,
0.0672028511762619,
-0.5052037835121155,
-0.24869948625564575,
-0.0905051976442337,
0.4450245797634125,
0.19197067618370056,
0.1025601476430893,
-0.03879668936133385,
-0.35245072841644287,
0.041932009160518646,
0.3065536320209503,
0.2264377474784851,
-0.03624957799911499,
-0.4385075569152832,
0.13099253177642822,
-0.4026030898094177,
0.4635022282600403,
0.16961504518985748,
0.46341827511787415,
-0.23734772205352783,
-0.11752061545848846,
-0.288856565952301,
0.21699458360671997,
-0.5098091959953308,
0.006337156053632498,
-0.2647447884082794,
0.16780482232570648,
-0.20481015741825104,
-0.2183256447315216,
0.23212678730487823,
0.05810638144612312,
0.30407530069351196,
0.13294021785259247,
-0.3419696092605591,
-0.34117376804351807,
0.0945083498954773,
0.07902156561613083,
-0.10959840565919876,
-0.1888897567987442,
-0.10071579366922379,
-0.07986623048782349,
-0.2284693717956543,
-0.48375627398490906,
0.053661707788705826,
0.08301866799592972,
0.03788675367832184,
-0.18663570284843445,
-0.06937164068222046,
-0.1486244797706604,
0.285517156124115,
0.06646919995546341,
-0.10853837430477142,
0.3170894384384155,
0.04474393278360367,
-0.12158910930156708,
-0.08029165863990784,
-0.21572351455688477,
0.31832608580589294,
0.32348793745040894,
0.20999425649642944,
0.06592307239770889,
0.25051212310791016,
0.13703928887844086,
-0.1947336047887802,
0.1992986798286438,
0.3514101505279541,
0.09063822031021118,
-0.0565962940454483,
-0.17977175116539001,
-0.0012565040960907936,
0.36481842398643494,
-0.28014177083969116,
-0.09373292326927185,
0.030836831778287888,
-0.17766322195529938,
0.3970959484577179,
0.25254756212234497,
0.33405056595802307,
0.23055854439735413,
0.01075424998998642,
0.09131534397602081,
0.22963406145572662,
-0.05351012945175171,
-0.2831866443157196,
-0.17346039414405823,
0.26234903931617737,
-0.12039703130722046,
0.23512589931488037,
-0.019575919955968857,
0.4244999885559082,
0.45766764879226685,
-0.20320364832878113,
0.4342866837978363,
0.12747050821781158,
0.27118876576423645,
0.005380474030971527,
0.17988930642604828,
0.40572041273117065,
0.1932494044303894,
0.040284305810928345,
0.1249258890748024,
0.19238537549972534,
0.22501924633979797,
-0.18877117335796356,
0.1731007844209671,
-0.06155846267938614,
0.12567682564258575,
-0.18931463360786438,
-0.1753658503293991,
0.36948466300964355,
-0.191755473613739,
-0.08700712025165558,
-0.24450694024562836,
0.03580152988433838,
-0.05345588177442551,
-0.07190710306167603,
0.019694894552230835,
0.17696507275104523,
0.012412633746862411,
0.31637734174728394,
0.021060608327388763,
0.49484267830848694,
-0.18189622461795807,
0.012179931625723839,
0.3151260018348694,
-0.0374995693564415,
-0.02067580074071884,
0.2512514591217041,
0.04888225346803665,
0.14809612929821014,
-0.3847889006137848,
0.2061629295349121,
-0.07066972553730011,
-0.22660653293132782,
-0.06072535365819931,
-0.022827032953500748,
0.007488153874874115,
-0.17199371755123138,
0.14481541514396667,
0.18969425559043884,
-0.3390495181083679,
-0.004764195531606674,
0.04220644384622574,
0.18724729120731354,
0.03532388061285019,
-0.12450838834047318,
0.16330190002918243,
-0.28110283613204956,
-0.0334734246134758,
-0.07282956689596176,
-0.542046070098877,
-0.0554940328001976,
0.229554682970047,
-0.44705620408058167,
-0.0267818421125412,
0.12472441047430038,
0.16511543095111847,
0.015943849459290504,
0.5358046889305115,
0.02521418407559395,
0.05609632283449173,
-0.1799759864807129,
0.008603490889072418,
-0.32442981004714966,
0.02665567398071289,
-0.05428604409098625,
0.008151570335030556,
0.056445006281137466,
0.34702929854393005,
0.2790156304836273,
-0.015502534806728363,
0.020095258951187134,
0.06106433644890785,
0.06980681419372559,
-0.10721184313297272,
-0.32835930585861206,
0.09961803257465363,
0.07952938973903656,
-0.0713130384683609,
0.03410470485687256,
-0.06255871802568436,
-0.04905660077929497,
-0.2509409189224243,
0.2709777355194092,
-0.2747398614883423,
0.22591114044189453,
0.006688475608825684,
0.2847778797149658,
0.46599820256233215,
-0.06357874721288681,
-0.06727966666221619,
-0.2979871332645416,
-0.013639908283948898,
0.08421313762664795,
-0.07804184406995773,
-0.0451592393219471,
0.3723117411136627,
0.1499260514974594,
0.14469842612743378,
-0.1894572675228119,
-0.26660972833633423,
0.016945645213127136,
0.13808023929595947,
-0.16683164238929749,
-0.1511857658624649,
-0.1951994150876999,
0.17837630212306976,
-0.1116027906537056,
0.06009566783905029,
-0.20263619720935822,
0.17889359593391418,
0.14836335182189941,
-0.0174949299544096,
-0.13529616594314575,
-0.5665614008903503,
0.4158809185028076,
-0.0371893085539341,
-0.11919961869716644,
-0.03596462309360504,
-0.032272979617118835,
0.4950351417064667,
0.3528587520122528,
-0.7243914604187012,
-0.18986457586288452,
0.22841696441173553,
0.10515563935041428,
-0.27327796816825867,
0.18085259199142456,
0.37696003913879395,
-0.05615099146962166,
-0.340504914522171,
-0.04842350631952286,
0.0194852314889431,
0.04409865289926529,
-0.5801604986190796,
-0.21427315473556519
] |
https://github.com/huggingface/datasets/pull/298 | Add searchable datasets | Nice!
Here are a few comments:
I think it would be good to separate (1) the name of the column we use for indexing and (2) the name of the index itself, at least in our head. As I understand it, once the index is created, the column we used to create it is irrelevant so the column name will only be relevant in the `add_faiss_index` and we should be able to supply a different index name, e.g. `my_faiss_index`. When we reload an index, we don't really care about the column that was used to create it, right? so it's maybe better to have an `index_name` (which default to the column name for a simple user experience but it can also be something else and this should be clear in our head when we define the API).
I'm wondering if we should not have a triple of methods for each retrieval engine: `add_xxx_index`, `save_xxx_index` and `load_xxx_index` when `xxx` can be `faiss` or `elasticsearch`. I'm not a fan of exposing `nlp.search.FaissIndex` unless you think there is a strong reason to have the user learn this abstraction.
Last but not least, I think we should already think about hosting index on our S3. I would maybe go for something like this: host the index serialized with the cached dataset on user-provided namespaces:
```python
wiki_indexed = load_dataset('thom/wiki_indexed_with_dpr_faiss')
``` | # Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :) | 225 | text: Add searchable datasets
# Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :)
Nice!
Here are a few comments:
I think it would be good to separate (1) the name of the column we use for indexing and (2) the name of the index itself, at least in our head. As I understand it, once the index is created, the column we used to create it is irrelevant so the column name will only be relevant in the `add_faiss_index` and we should be able to supply a different index name, e.g. `my_faiss_index`. When we reload an index, we don't really care about the column that was used to create it, right? so it's maybe better to have an `index_name` (which default to the column name for a simple user experience but it can also be something else and this should be clear in our head when we define the API).
I'm wondering if we should not have a triple of methods for each retrieval engine: `add_xxx_index`, `save_xxx_index` and `load_xxx_index` when `xxx` can be `faiss` or `elasticsearch`. I'm not a fan of exposing `nlp.search.FaissIndex` unless you think there is a strong reason to have the user learn this abstraction.
Last but not least, I think we should already think about hosting index on our S3. I would maybe go for something like this: host the index serialized with the cached dataset on user-provided namespaces:
```python
wiki_indexed = load_dataset('thom/wiki_indexed_with_dpr_faiss')
``` | [
-0.04851211979985237,
-0.09547372162342072,
-0.24135027825832367,
0.05695509910583496,
0.2021883875131607,
0.004782460629940033,
0.15913107991218567,
0.39354947209358215,
0.2729768753051758,
0.250200092792511,
-0.29677775502204895,
0.3064553141593933,
-0.11142147332429886,
-0.0033313818275928497,
0.13672348856925964,
-0.09032516181468964,
0.11506940424442291,
0.399987131357193,
0.01251654326915741,
0.015419140458106995,
-0.22835129499435425,
-0.009050143882632256,
-0.056474488228559494,
-0.12037873268127441,
-0.04477636143565178,
-0.12636573612689972,
-0.0746251568198204,
-0.06297262012958527,
-0.1710749715566635,
-0.4605805575847626,
-0.15464136004447937,
-0.021823588758707047,
-0.047010116279125214,
0.11205131560564041,
-0.00009806715388549492,
0.030408672988414764,
0.18727928400039673,
-0.0016780123114585876,
-0.17844249308109283,
0.014622986316680908,
-0.012859046459197998,
-0.3880750238895416,
0.22288332879543304,
-0.3544258177280426,
-0.08080095052719116,
-0.3259122371673584,
0.09791942685842514,
-0.40464457869529724,
-0.0017487406730651855,
0.19873695075511932,
0.3339734673500061,
0.18573127686977386,
0.09762191772460938,
-0.01273048110306263,
0.14640191197395325,
-0.2800312638282776,
-0.2929634153842926,
-0.14127539098262787,
0.4028107225894928,
0.34491589665412903,
-0.03349091857671738,
0.5642737150192261,
-0.14223769307136536,
-0.16680198907852173,
0.30749568343162537,
0.19219030439853668,
0.13604511320590973,
-0.2225514054298401,
-0.0793001800775528,
0.3490394949913025,
0.3280329406261444,
-0.06220562756061554,
-0.3969504237174988,
-0.15281179547309875,
-0.05487477779388428,
-0.16518743336200714,
0.009910374879837036,
-0.15474699437618256,
0.18870984017848969,
0.13632415235042572,
-0.050570785999298096,
-0.0896664634346962,
-0.13907131552696228,
0.08154595643281937,
0.042825788259506226,
0.20777906477451324,
0.02200842648744583,
-0.18043503165245056,
0.13525596261024475,
-0.17876595258712769,
0.061278488487005234,
-0.0879678875207901,
0.26566019654273987,
0.09836719930171967,
-0.1903032511472702,
-0.11048299074172974,
0.1604461371898651,
-0.46572861075401306,
0.12827938795089722,
-0.13547754287719727,
0.24713760614395142,
0.38179194927215576,
-0.16836315393447876,
0.07335865497589111,
-0.27583688497543335,
0.17216098308563232,
-0.26546600461006165,
-0.07640060782432556,
0.2201799899339676,
-0.12377354502677917,
0.012671563774347305,
-0.05839061737060547,
-0.06681772321462631,
-0.046212125569581985,
-0.13544303178787231,
-0.1742812991142273,
-0.12861905992031097,
-0.06203562393784523,
-0.1237015649676323,
0.11524032801389694,
-0.3090014159679413,
-0.07195670157670975,
-0.05487906560301781,
0.23066693544387817,
0.031263843178749084,
-0.05561555176973343,
0.07372371107339859,
0.046348750591278076,
-0.07038881629705429,
0.23715169727802277,
-0.24446076154708862,
0.24231424927711487,
-0.03916347771883011,
0.13649316132068634,
0.1583472043275833,
-0.11705701053142548,
0.19609792530536652,
-0.2947269380092621,
0.20779135823249817,
0.16670161485671997,
0.058128610253334045,
-0.13720494508743286,
0.3371443748474121,
0.21203163266181946,
-0.2781548500061035,
-0.18635611236095428,
-0.046148817986249924,
-0.08701901882886887,
-0.3810884952545166,
0.06535763293504715,
-0.04477351903915405,
-0.4592016637325287,
-0.0854639932513237,
0.29435932636260986,
0.039160147309303284,
-0.0011392533779144287,
0.2951776087284088,
0.629469096660614,
-0.16037529706954956,
-0.07616670429706573,
0.1018313318490982,
0.13240383565425873,
-0.16907638311386108,
-0.27502933144569397,
0.46200671792030334,
-0.010979652404785156,
-0.3330995738506317,
0.06362001597881317,
-0.0471457876265049,
0.19897311925888062,
-0.09182671457529068,
0.3498004674911499,
-0.171356201171875,
0.13153889775276184,
-0.05051516741514206,
0.5755081176757812,
0.4309792220592499,
-0.1240585595369339,
-0.22597476840019226,
-0.03586864098906517,
0.03344441205263138,
0.037081360816955566,
0.1886679232120514,
0.25132322311401367,
0.20175082981586456,
0.0015837361570447683,
0.18766912817955017,
0.32069092988967896,
-0.000689307227730751,
-0.0856199860572815,
-0.2837359309196472,
-0.32039734721183777,
0.14922687411308289,
0.1723202019929886,
0.24714981019496918,
-0.3072001039981842,
-0.016933679580688477,
-0.2302437424659729,
-0.0021097660064697266,
-0.1454414576292038,
0.03293324634432793,
0.14994637668132782,
0.34209322929382324,
0.022557705640792847,
0.18698684871196747,
-0.3129216730594635,
-0.07855921238660812,
0.13280773162841797,
-0.04010690748691559,
0.2548217177391052,
-0.32199913263320923,
-0.10886004567146301,
-0.011179380118846893,
0.004132607951760292,
-0.05845535919070244,
-0.10571116209030151,
0.2925497591495514,
-0.21515336632728577,
-0.03474359214305878,
-0.01652388460934162,
-0.2766057252883911,
0.07584843039512634,
-0.12404824793338776,
-0.07069239765405655,
-0.27680402994155884,
0.19219602644443512,
-0.3111233115196228,
-0.0851287990808487,
-0.1466749608516693,
0.41384828090667725,
-0.19946077466011047,
-0.19276617467403412,
0.006711858324706554,
0.24686121940612793,
-0.3563334345817566,
-0.08461920917034149,
0.21795690059661865,
0.4122452735900879,
0.17957942187786102,
-0.26227039098739624,
0.24470029771327972,
0.005779998376965523,
0.19887609779834747,
-0.0738140344619751,
-0.16017448902130127,
0.2453863024711609,
-0.06516298651695251,
0.34105604887008667,
-0.005102887749671936,
-0.3631342351436615,
0.18957918882369995,
0.07870766520500183,
-0.08860748261213303,
-0.31664329767227173,
-0.006991025060415268,
0.18383006751537323,
0.0926705002784729,
0.09340348839759827,
-0.34443962574005127,
0.2654173970222473,
0.2559398412704468,
-0.05562726780772209,
0.043805383145809174,
0.29939591884613037,
-0.11171243339776993,
-0.2824762165546417,
-0.07692181318998337,
-0.29439887404441833,
0.21968920528888702,
0.3714691400527954,
0.13859091699123383,
-0.12289736419916153,
-0.0019643669947981834,
-0.2411535531282425,
0.30887869000434875,
0.2416873425245285,
0.028236033394932747,
0.18523532152175903,
0.17833013832569122,
0.04612911865115166,
-0.2039550542831421,
-0.23580898344516754,
-0.10662323236465454,
0.029421789571642876,
0.026320163160562515,
0.014966720715165138,
-0.15789005160331726,
0.1739683449268341,
0.07518252730369568,
-0.04897201061248779,
0.1314549744129181,
-0.24790886044502258,
0.313232958316803,
-0.16456691920757294,
-0.14640256762504578,
0.3099931478500366,
-0.07560628652572632,
0.19682174921035767,
0.05594606697559357,
0.12720680236816406,
-0.14514297246932983,
-0.09773652255535126,
0.05109621584415436,
0.22522485256195068,
-0.14466463029384613,
0.22443895041942596,
0.4137866795063019,
0.19845473766326904,
0.2855176329612732,
-0.2057541012763977,
-0.4844169020652771,
0.06691158562898636,
-0.2308390587568283,
0.04775847867131233,
0.13469234108924866,
0.027715064585208893,
-0.2250089794397354,
-0.21912376582622528,
0.19006244838237762,
-0.16596437990665436,
-0.06225328892469406,
-0.10568658262491226,
-0.1306680589914322,
-0.016148924827575684,
-0.03267095983028412,
-0.5408039093017578,
-0.3031032085418701,
-0.49624103307724,
0.1141684502363205,
-0.0932048037648201,
0.21750332415103912,
-0.05244305729866028,
0.1431322991847992,
0.4186480939388275,
0.14167441427707672,
0.2697512209415436,
-0.12804561853408813,
0.12697722017765045,
0.47310659289360046,
-0.1452324390411377,
-0.035286616533994675,
-0.2366734743118286,
-0.36601388454437256,
-0.1427992284297943,
0.09823159873485565,
-0.18864375352859497,
-0.04137200117111206,
-0.2112935334444046,
-0.026181228458881378,
0.04637114331126213,
0.054682739078998566,
0.3179447054862976,
0.3268470764160156,
-0.4110448360443115,
0.014981262385845184,
-0.061109330505132675,
0.09188257157802582,
0.11837546527385712,
0.006321117281913757,
0.042000189423561096,
0.3706355094909668,
0.00025120005011558533,
0.25536036491394043,
-0.06639495491981506,
-0.15827496349811554,
0.28709110617637634,
0.15158051252365112,
0.3402446210384369,
-0.23372918367385864,
-0.18529543280601501,
0.08205528557300568,
0.07528218626976013,
-0.04055781662464142,
0.3378371000289917,
-0.03196578100323677,
-0.1830652803182602,
-0.02496296539902687,
-0.10522325336933136,
-0.11182031780481339,
-0.14156249165534973,
0.38084661960601807,
0.032041702419519424,
0.157415509223938,
-0.1048528254032135,
0.03354515880346298,
-0.18753506243228912,
0.017803018912672997,
0.06348811089992523,
-0.07153995335102081,
0.060960885137319565,
-0.21128691732883453,
0.10102635622024536,
-0.20332863926887512,
-0.5790449976921082,
0.3442631959915161,
0.19987404346466064,
0.05836091190576553,
0.10307657718658447,
-0.18818387389183044,
0.17564339935779572,
0.06138797104358673,
0.3934668302536011,
-0.34055212140083313,
-0.6566036939620972,
0.2199300229549408,
-0.010166915133595467,
-0.25603386759757996,
0.14654657244682312,
-0.3095153272151947,
0.05816777050495148,
-0.07966925203800201,
0.5172101259231567,
-0.3827775716781616,
-0.10199509561061859,
0.2646417021751404,
0.21970736980438232,
-0.060992103070020676,
-0.2740292549133301,
-0.11413976550102234,
-0.16443553566932678,
-0.20467178523540497,
0.06736188381910324,
-0.06898806244134903,
0.1921084225177765,
0.2726922333240509,
-0.30079713463783264,
-0.10484695434570312,
-0.03355863317847252,
0.3174353837966919,
0.039490874856710434,
0.23961171507835388,
0.11861026287078857,
0.1761484593153,
0.11974219232797623,
0.2885836362838745,
-0.009537728503346443,
0.08539845049381256,
-0.5496007204055786,
0.29611051082611084,
-0.27339792251586914,
-0.03053932636976242,
0.2372106909751892,
0.4007643461227417,
0.040460795164108276,
0.3605172336101532,
-0.2291974425315857,
0.15443803369998932,
-0.07385953515768051,
0.09888796508312225,
0.11745002865791321,
0.09332691878080368,
-0.2308744341135025,
-0.397551953792572,
0.42826515436172485,
-0.12113989889621735,
-0.2400057315826416,
0.1554659605026245,
0.3992699384689331,
-0.31770914793014526,
0.5006088018417358,
0.2947273254394531,
1.068953514099121,
-0.1486227661371231,
0.023933017626404762,
0.1892247200012207,
0.0036410950124263763,
0.33711180090904236,
-0.318905234336853,
0.19842217862606049,
-0.09838948398828506,
-0.26859286427497864,
0.03702247142791748,
0.038696277886629105,
-0.03635954111814499,
-0.05017416179180145,
-0.31234225630760193,
0.14516520500183105,
0.20804060995578766,
-0.0728767067193985,
-0.22314736247062683,
0.3589889407157898,
0.1480206996202469,
-0.5073200464248657,
-0.1691133975982666,
0.194447860121727,
0.049712032079696655,
-0.22344759106636047,
0.058390602469444275,
-0.19910046458244324,
-0.09779327362775803,
0.05711797624826431,
-0.03167283907532692,
-0.2002543807029724,
-0.05959892272949219,
0.4568432569503784,
0.05131438747048378,
-0.3515412211418152,
0.22535650432109833,
-0.16525909304618835,
0.283144474029541,
-0.04359790310263634,
-0.16517490148544312,
0.07139734923839569,
0.052415087819099426,
-0.048062052577733994,
0.20182184875011444,
-0.260165810585022,
0.32981714606285095,
0.08527228236198425,
-0.1875973343849182,
0.043436408042907715,
-0.11627441644668579,
-0.32196295261383057,
-0.26431524753570557,
0.05353651940822601,
0.12264303863048553,
-0.14116758108139038,
-0.1451207399368286,
0.16741791367530823,
-0.4173351228237152,
-0.2369348406791687,
0.2959204316139221,
0.20261448621749878,
0.016804253682494164,
0.4947132170200348,
0.2522021532058716,
-0.18360954523086548,
-0.06455716490745544,
0.18488764762878418,
0.21524101495742798,
0.09602043032646179,
0.2860385775566101,
0.0672028511762619,
-0.5052037835121155,
-0.24869948625564575,
-0.0905051976442337,
0.4450245797634125,
0.19197067618370056,
0.1025601476430893,
-0.03879668936133385,
-0.35245072841644287,
0.041932009160518646,
0.3065536320209503,
0.2264377474784851,
-0.03624957799911499,
-0.4385075569152832,
0.13099253177642822,
-0.4026030898094177,
0.4635022282600403,
0.16961504518985748,
0.46341827511787415,
-0.23734772205352783,
-0.11752061545848846,
-0.288856565952301,
0.21699458360671997,
-0.5098091959953308,
0.006337156053632498,
-0.2647447884082794,
0.16780482232570648,
-0.20481015741825104,
-0.2183256447315216,
0.23212678730487823,
0.05810638144612312,
0.30407530069351196,
0.13294021785259247,
-0.3419696092605591,
-0.34117376804351807,
0.0945083498954773,
0.07902156561613083,
-0.10959840565919876,
-0.1888897567987442,
-0.10071579366922379,
-0.07986623048782349,
-0.2284693717956543,
-0.48375627398490906,
0.053661707788705826,
0.08301866799592972,
0.03788675367832184,
-0.18663570284843445,
-0.06937164068222046,
-0.1486244797706604,
0.285517156124115,
0.06646919995546341,
-0.10853837430477142,
0.3170894384384155,
0.04474393278360367,
-0.12158910930156708,
-0.08029165863990784,
-0.21572351455688477,
0.31832608580589294,
0.32348793745040894,
0.20999425649642944,
0.06592307239770889,
0.25051212310791016,
0.13703928887844086,
-0.1947336047887802,
0.1992986798286438,
0.3514101505279541,
0.09063822031021118,
-0.0565962940454483,
-0.17977175116539001,
-0.0012565040960907936,
0.36481842398643494,
-0.28014177083969116,
-0.09373292326927185,
0.030836831778287888,
-0.17766322195529938,
0.3970959484577179,
0.25254756212234497,
0.33405056595802307,
0.23055854439735413,
0.01075424998998642,
0.09131534397602081,
0.22963406145572662,
-0.05351012945175171,
-0.2831866443157196,
-0.17346039414405823,
0.26234903931617737,
-0.12039703130722046,
0.23512589931488037,
-0.019575919955968857,
0.4244999885559082,
0.45766764879226685,
-0.20320364832878113,
0.4342866837978363,
0.12747050821781158,
0.27118876576423645,
0.005380474030971527,
0.17988930642604828,
0.40572041273117065,
0.1932494044303894,
0.040284305810928345,
0.1249258890748024,
0.19238537549972534,
0.22501924633979797,
-0.18877117335796356,
0.1731007844209671,
-0.06155846267938614,
0.12567682564258575,
-0.18931463360786438,
-0.1753658503293991,
0.36948466300964355,
-0.191755473613739,
-0.08700712025165558,
-0.24450694024562836,
0.03580152988433838,
-0.05345588177442551,
-0.07190710306167603,
0.019694894552230835,
0.17696507275104523,
0.012412633746862411,
0.31637734174728394,
0.021060608327388763,
0.49484267830848694,
-0.18189622461795807,
0.012179931625723839,
0.3151260018348694,
-0.0374995693564415,
-0.02067580074071884,
0.2512514591217041,
0.04888225346803665,
0.14809612929821014,
-0.3847889006137848,
0.2061629295349121,
-0.07066972553730011,
-0.22660653293132782,
-0.06072535365819931,
-0.022827032953500748,
0.007488153874874115,
-0.17199371755123138,
0.14481541514396667,
0.18969425559043884,
-0.3390495181083679,
-0.004764195531606674,
0.04220644384622574,
0.18724729120731354,
0.03532388061285019,
-0.12450838834047318,
0.16330190002918243,
-0.28110283613204956,
-0.0334734246134758,
-0.07282956689596176,
-0.542046070098877,
-0.0554940328001976,
0.229554682970047,
-0.44705620408058167,
-0.0267818421125412,
0.12472441047430038,
0.16511543095111847,
0.015943849459290504,
0.5358046889305115,
0.02521418407559395,
0.05609632283449173,
-0.1799759864807129,
0.008603490889072418,
-0.32442981004714966,
0.02665567398071289,
-0.05428604409098625,
0.008151570335030556,
0.056445006281137466,
0.34702929854393005,
0.2790156304836273,
-0.015502534806728363,
0.020095258951187134,
0.06106433644890785,
0.06980681419372559,
-0.10721184313297272,
-0.32835930585861206,
0.09961803257465363,
0.07952938973903656,
-0.0713130384683609,
0.03410470485687256,
-0.06255871802568436,
-0.04905660077929497,
-0.2509409189224243,
0.2709777355194092,
-0.2747398614883423,
0.22591114044189453,
0.006688475608825684,
0.2847778797149658,
0.46599820256233215,
-0.06357874721288681,
-0.06727966666221619,
-0.2979871332645416,
-0.013639908283948898,
0.08421313762664795,
-0.07804184406995773,
-0.0451592393219471,
0.3723117411136627,
0.1499260514974594,
0.14469842612743378,
-0.1894572675228119,
-0.26660972833633423,
0.016945645213127136,
0.13808023929595947,
-0.16683164238929749,
-0.1511857658624649,
-0.1951994150876999,
0.17837630212306976,
-0.1116027906537056,
0.06009566783905029,
-0.20263619720935822,
0.17889359593391418,
0.14836335182189941,
-0.0174949299544096,
-0.13529616594314575,
-0.5665614008903503,
0.4158809185028076,
-0.0371893085539341,
-0.11919961869716644,
-0.03596462309360504,
-0.032272979617118835,
0.4950351417064667,
0.3528587520122528,
-0.7243914604187012,
-0.18986457586288452,
0.22841696441173553,
0.10515563935041428,
-0.27327796816825867,
0.18085259199142456,
0.37696003913879395,
-0.05615099146962166,
-0.340504914522171,
-0.04842350631952286,
0.0194852314889431,
0.04409865289926529,
-0.5801604986190796,
-0.21427315473556519
] |
https://github.com/huggingface/datasets/pull/298 | Add searchable datasets | To summarize:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']}))
ds_with_embeddings.add_faiss_index(column='embeddings')
# query
scores, retrieved_examples = ds_with_embeddings.get_nearest_examples('embeddings', embed('my new query'), k=10)
# save index
ds_with_embeddings.save_faiss_index('embeddings', 'my_index.faiss')
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
# load index
ds.load_faiss_index('embeddings', 'my_index.faiss')
# query
scores, retrieved_examples = ds.get_nearest_examples('embeddings', embed('my new query'), k=10)
``` | # Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :) | 51 | text: Add searchable datasets
# Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :)
To summarize:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']}))
ds_with_embeddings.add_faiss_index(column='embeddings')
# query
scores, retrieved_examples = ds_with_embeddings.get_nearest_examples('embeddings', embed('my new query'), k=10)
# save index
ds_with_embeddings.save_faiss_index('embeddings', 'my_index.faiss')
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
# load index
ds.load_faiss_index('embeddings', 'my_index.faiss')
# query
scores, retrieved_examples = ds.get_nearest_examples('embeddings', embed('my new query'), k=10)
``` | [
-0.04851211979985237,
-0.09547372162342072,
-0.24135027825832367,
0.05695509910583496,
0.2021883875131607,
0.004782460629940033,
0.15913107991218567,
0.39354947209358215,
0.2729768753051758,
0.250200092792511,
-0.29677775502204895,
0.3064553141593933,
-0.11142147332429886,
-0.0033313818275928497,
0.13672348856925964,
-0.09032516181468964,
0.11506940424442291,
0.399987131357193,
0.01251654326915741,
0.015419140458106995,
-0.22835129499435425,
-0.009050143882632256,
-0.056474488228559494,
-0.12037873268127441,
-0.04477636143565178,
-0.12636573612689972,
-0.0746251568198204,
-0.06297262012958527,
-0.1710749715566635,
-0.4605805575847626,
-0.15464136004447937,
-0.021823588758707047,
-0.047010116279125214,
0.11205131560564041,
-0.00009806715388549492,
0.030408672988414764,
0.18727928400039673,
-0.0016780123114585876,
-0.17844249308109283,
0.014622986316680908,
-0.012859046459197998,
-0.3880750238895416,
0.22288332879543304,
-0.3544258177280426,
-0.08080095052719116,
-0.3259122371673584,
0.09791942685842514,
-0.40464457869529724,
-0.0017487406730651855,
0.19873695075511932,
0.3339734673500061,
0.18573127686977386,
0.09762191772460938,
-0.01273048110306263,
0.14640191197395325,
-0.2800312638282776,
-0.2929634153842926,
-0.14127539098262787,
0.4028107225894928,
0.34491589665412903,
-0.03349091857671738,
0.5642737150192261,
-0.14223769307136536,
-0.16680198907852173,
0.30749568343162537,
0.19219030439853668,
0.13604511320590973,
-0.2225514054298401,
-0.0793001800775528,
0.3490394949913025,
0.3280329406261444,
-0.06220562756061554,
-0.3969504237174988,
-0.15281179547309875,
-0.05487477779388428,
-0.16518743336200714,
0.009910374879837036,
-0.15474699437618256,
0.18870984017848969,
0.13632415235042572,
-0.050570785999298096,
-0.0896664634346962,
-0.13907131552696228,
0.08154595643281937,
0.042825788259506226,
0.20777906477451324,
0.02200842648744583,
-0.18043503165245056,
0.13525596261024475,
-0.17876595258712769,
0.061278488487005234,
-0.0879678875207901,
0.26566019654273987,
0.09836719930171967,
-0.1903032511472702,
-0.11048299074172974,
0.1604461371898651,
-0.46572861075401306,
0.12827938795089722,
-0.13547754287719727,
0.24713760614395142,
0.38179194927215576,
-0.16836315393447876,
0.07335865497589111,
-0.27583688497543335,
0.17216098308563232,
-0.26546600461006165,
-0.07640060782432556,
0.2201799899339676,
-0.12377354502677917,
0.012671563774347305,
-0.05839061737060547,
-0.06681772321462631,
-0.046212125569581985,
-0.13544303178787231,
-0.1742812991142273,
-0.12861905992031097,
-0.06203562393784523,
-0.1237015649676323,
0.11524032801389694,
-0.3090014159679413,
-0.07195670157670975,
-0.05487906560301781,
0.23066693544387817,
0.031263843178749084,
-0.05561555176973343,
0.07372371107339859,
0.046348750591278076,
-0.07038881629705429,
0.23715169727802277,
-0.24446076154708862,
0.24231424927711487,
-0.03916347771883011,
0.13649316132068634,
0.1583472043275833,
-0.11705701053142548,
0.19609792530536652,
-0.2947269380092621,
0.20779135823249817,
0.16670161485671997,
0.058128610253334045,
-0.13720494508743286,
0.3371443748474121,
0.21203163266181946,
-0.2781548500061035,
-0.18635611236095428,
-0.046148817986249924,
-0.08701901882886887,
-0.3810884952545166,
0.06535763293504715,
-0.04477351903915405,
-0.4592016637325287,
-0.0854639932513237,
0.29435932636260986,
0.039160147309303284,
-0.0011392533779144287,
0.2951776087284088,
0.629469096660614,
-0.16037529706954956,
-0.07616670429706573,
0.1018313318490982,
0.13240383565425873,
-0.16907638311386108,
-0.27502933144569397,
0.46200671792030334,
-0.010979652404785156,
-0.3330995738506317,
0.06362001597881317,
-0.0471457876265049,
0.19897311925888062,
-0.09182671457529068,
0.3498004674911499,
-0.171356201171875,
0.13153889775276184,
-0.05051516741514206,
0.5755081176757812,
0.4309792220592499,
-0.1240585595369339,
-0.22597476840019226,
-0.03586864098906517,
0.03344441205263138,
0.037081360816955566,
0.1886679232120514,
0.25132322311401367,
0.20175082981586456,
0.0015837361570447683,
0.18766912817955017,
0.32069092988967896,
-0.000689307227730751,
-0.0856199860572815,
-0.2837359309196472,
-0.32039734721183777,
0.14922687411308289,
0.1723202019929886,
0.24714981019496918,
-0.3072001039981842,
-0.016933679580688477,
-0.2302437424659729,
-0.0021097660064697266,
-0.1454414576292038,
0.03293324634432793,
0.14994637668132782,
0.34209322929382324,
0.022557705640792847,
0.18698684871196747,
-0.3129216730594635,
-0.07855921238660812,
0.13280773162841797,
-0.04010690748691559,
0.2548217177391052,
-0.32199913263320923,
-0.10886004567146301,
-0.011179380118846893,
0.004132607951760292,
-0.05845535919070244,
-0.10571116209030151,
0.2925497591495514,
-0.21515336632728577,
-0.03474359214305878,
-0.01652388460934162,
-0.2766057252883911,
0.07584843039512634,
-0.12404824793338776,
-0.07069239765405655,
-0.27680402994155884,
0.19219602644443512,
-0.3111233115196228,
-0.0851287990808487,
-0.1466749608516693,
0.41384828090667725,
-0.19946077466011047,
-0.19276617467403412,
0.006711858324706554,
0.24686121940612793,
-0.3563334345817566,
-0.08461920917034149,
0.21795690059661865,
0.4122452735900879,
0.17957942187786102,
-0.26227039098739624,
0.24470029771327972,
0.005779998376965523,
0.19887609779834747,
-0.0738140344619751,
-0.16017448902130127,
0.2453863024711609,
-0.06516298651695251,
0.34105604887008667,
-0.005102887749671936,
-0.3631342351436615,
0.18957918882369995,
0.07870766520500183,
-0.08860748261213303,
-0.31664329767227173,
-0.006991025060415268,
0.18383006751537323,
0.0926705002784729,
0.09340348839759827,
-0.34443962574005127,
0.2654173970222473,
0.2559398412704468,
-0.05562726780772209,
0.043805383145809174,
0.29939591884613037,
-0.11171243339776993,
-0.2824762165546417,
-0.07692181318998337,
-0.29439887404441833,
0.21968920528888702,
0.3714691400527954,
0.13859091699123383,
-0.12289736419916153,
-0.0019643669947981834,
-0.2411535531282425,
0.30887869000434875,
0.2416873425245285,
0.028236033394932747,
0.18523532152175903,
0.17833013832569122,
0.04612911865115166,
-0.2039550542831421,
-0.23580898344516754,
-0.10662323236465454,
0.029421789571642876,
0.026320163160562515,
0.014966720715165138,
-0.15789005160331726,
0.1739683449268341,
0.07518252730369568,
-0.04897201061248779,
0.1314549744129181,
-0.24790886044502258,
0.313232958316803,
-0.16456691920757294,
-0.14640256762504578,
0.3099931478500366,
-0.07560628652572632,
0.19682174921035767,
0.05594606697559357,
0.12720680236816406,
-0.14514297246932983,
-0.09773652255535126,
0.05109621584415436,
0.22522485256195068,
-0.14466463029384613,
0.22443895041942596,
0.4137866795063019,
0.19845473766326904,
0.2855176329612732,
-0.2057541012763977,
-0.4844169020652771,
0.06691158562898636,
-0.2308390587568283,
0.04775847867131233,
0.13469234108924866,
0.027715064585208893,
-0.2250089794397354,
-0.21912376582622528,
0.19006244838237762,
-0.16596437990665436,
-0.06225328892469406,
-0.10568658262491226,
-0.1306680589914322,
-0.016148924827575684,
-0.03267095983028412,
-0.5408039093017578,
-0.3031032085418701,
-0.49624103307724,
0.1141684502363205,
-0.0932048037648201,
0.21750332415103912,
-0.05244305729866028,
0.1431322991847992,
0.4186480939388275,
0.14167441427707672,
0.2697512209415436,
-0.12804561853408813,
0.12697722017765045,
0.47310659289360046,
-0.1452324390411377,
-0.035286616533994675,
-0.2366734743118286,
-0.36601388454437256,
-0.1427992284297943,
0.09823159873485565,
-0.18864375352859497,
-0.04137200117111206,
-0.2112935334444046,
-0.026181228458881378,
0.04637114331126213,
0.054682739078998566,
0.3179447054862976,
0.3268470764160156,
-0.4110448360443115,
0.014981262385845184,
-0.061109330505132675,
0.09188257157802582,
0.11837546527385712,
0.006321117281913757,
0.042000189423561096,
0.3706355094909668,
0.00025120005011558533,
0.25536036491394043,
-0.06639495491981506,
-0.15827496349811554,
0.28709110617637634,
0.15158051252365112,
0.3402446210384369,
-0.23372918367385864,
-0.18529543280601501,
0.08205528557300568,
0.07528218626976013,
-0.04055781662464142,
0.3378371000289917,
-0.03196578100323677,
-0.1830652803182602,
-0.02496296539902687,
-0.10522325336933136,
-0.11182031780481339,
-0.14156249165534973,
0.38084661960601807,
0.032041702419519424,
0.157415509223938,
-0.1048528254032135,
0.03354515880346298,
-0.18753506243228912,
0.017803018912672997,
0.06348811089992523,
-0.07153995335102081,
0.060960885137319565,
-0.21128691732883453,
0.10102635622024536,
-0.20332863926887512,
-0.5790449976921082,
0.3442631959915161,
0.19987404346466064,
0.05836091190576553,
0.10307657718658447,
-0.18818387389183044,
0.17564339935779572,
0.06138797104358673,
0.3934668302536011,
-0.34055212140083313,
-0.6566036939620972,
0.2199300229549408,
-0.010166915133595467,
-0.25603386759757996,
0.14654657244682312,
-0.3095153272151947,
0.05816777050495148,
-0.07966925203800201,
0.5172101259231567,
-0.3827775716781616,
-0.10199509561061859,
0.2646417021751404,
0.21970736980438232,
-0.060992103070020676,
-0.2740292549133301,
-0.11413976550102234,
-0.16443553566932678,
-0.20467178523540497,
0.06736188381910324,
-0.06898806244134903,
0.1921084225177765,
0.2726922333240509,
-0.30079713463783264,
-0.10484695434570312,
-0.03355863317847252,
0.3174353837966919,
0.039490874856710434,
0.23961171507835388,
0.11861026287078857,
0.1761484593153,
0.11974219232797623,
0.2885836362838745,
-0.009537728503346443,
0.08539845049381256,
-0.5496007204055786,
0.29611051082611084,
-0.27339792251586914,
-0.03053932636976242,
0.2372106909751892,
0.4007643461227417,
0.040460795164108276,
0.3605172336101532,
-0.2291974425315857,
0.15443803369998932,
-0.07385953515768051,
0.09888796508312225,
0.11745002865791321,
0.09332691878080368,
-0.2308744341135025,
-0.397551953792572,
0.42826515436172485,
-0.12113989889621735,
-0.2400057315826416,
0.1554659605026245,
0.3992699384689331,
-0.31770914793014526,
0.5006088018417358,
0.2947273254394531,
1.068953514099121,
-0.1486227661371231,
0.023933017626404762,
0.1892247200012207,
0.0036410950124263763,
0.33711180090904236,
-0.318905234336853,
0.19842217862606049,
-0.09838948398828506,
-0.26859286427497864,
0.03702247142791748,
0.038696277886629105,
-0.03635954111814499,
-0.05017416179180145,
-0.31234225630760193,
0.14516520500183105,
0.20804060995578766,
-0.0728767067193985,
-0.22314736247062683,
0.3589889407157898,
0.1480206996202469,
-0.5073200464248657,
-0.1691133975982666,
0.194447860121727,
0.049712032079696655,
-0.22344759106636047,
0.058390602469444275,
-0.19910046458244324,
-0.09779327362775803,
0.05711797624826431,
-0.03167283907532692,
-0.2002543807029724,
-0.05959892272949219,
0.4568432569503784,
0.05131438747048378,
-0.3515412211418152,
0.22535650432109833,
-0.16525909304618835,
0.283144474029541,
-0.04359790310263634,
-0.16517490148544312,
0.07139734923839569,
0.052415087819099426,
-0.048062052577733994,
0.20182184875011444,
-0.260165810585022,
0.32981714606285095,
0.08527228236198425,
-0.1875973343849182,
0.043436408042907715,
-0.11627441644668579,
-0.32196295261383057,
-0.26431524753570557,
0.05353651940822601,
0.12264303863048553,
-0.14116758108139038,
-0.1451207399368286,
0.16741791367530823,
-0.4173351228237152,
-0.2369348406791687,
0.2959204316139221,
0.20261448621749878,
0.016804253682494164,
0.4947132170200348,
0.2522021532058716,
-0.18360954523086548,
-0.06455716490745544,
0.18488764762878418,
0.21524101495742798,
0.09602043032646179,
0.2860385775566101,
0.0672028511762619,
-0.5052037835121155,
-0.24869948625564575,
-0.0905051976442337,
0.4450245797634125,
0.19197067618370056,
0.1025601476430893,
-0.03879668936133385,
-0.35245072841644287,
0.041932009160518646,
0.3065536320209503,
0.2264377474784851,
-0.03624957799911499,
-0.4385075569152832,
0.13099253177642822,
-0.4026030898094177,
0.4635022282600403,
0.16961504518985748,
0.46341827511787415,
-0.23734772205352783,
-0.11752061545848846,
-0.288856565952301,
0.21699458360671997,
-0.5098091959953308,
0.006337156053632498,
-0.2647447884082794,
0.16780482232570648,
-0.20481015741825104,
-0.2183256447315216,
0.23212678730487823,
0.05810638144612312,
0.30407530069351196,
0.13294021785259247,
-0.3419696092605591,
-0.34117376804351807,
0.0945083498954773,
0.07902156561613083,
-0.10959840565919876,
-0.1888897567987442,
-0.10071579366922379,
-0.07986623048782349,
-0.2284693717956543,
-0.48375627398490906,
0.053661707788705826,
0.08301866799592972,
0.03788675367832184,
-0.18663570284843445,
-0.06937164068222046,
-0.1486244797706604,
0.285517156124115,
0.06646919995546341,
-0.10853837430477142,
0.3170894384384155,
0.04474393278360367,
-0.12158910930156708,
-0.08029165863990784,
-0.21572351455688477,
0.31832608580589294,
0.32348793745040894,
0.20999425649642944,
0.06592307239770889,
0.25051212310791016,
0.13703928887844086,
-0.1947336047887802,
0.1992986798286438,
0.3514101505279541,
0.09063822031021118,
-0.0565962940454483,
-0.17977175116539001,
-0.0012565040960907936,
0.36481842398643494,
-0.28014177083969116,
-0.09373292326927185,
0.030836831778287888,
-0.17766322195529938,
0.3970959484577179,
0.25254756212234497,
0.33405056595802307,
0.23055854439735413,
0.01075424998998642,
0.09131534397602081,
0.22963406145572662,
-0.05351012945175171,
-0.2831866443157196,
-0.17346039414405823,
0.26234903931617737,
-0.12039703130722046,
0.23512589931488037,
-0.019575919955968857,
0.4244999885559082,
0.45766764879226685,
-0.20320364832878113,
0.4342866837978363,
0.12747050821781158,
0.27118876576423645,
0.005380474030971527,
0.17988930642604828,
0.40572041273117065,
0.1932494044303894,
0.040284305810928345,
0.1249258890748024,
0.19238537549972534,
0.22501924633979797,
-0.18877117335796356,
0.1731007844209671,
-0.06155846267938614,
0.12567682564258575,
-0.18931463360786438,
-0.1753658503293991,
0.36948466300964355,
-0.191755473613739,
-0.08700712025165558,
-0.24450694024562836,
0.03580152988433838,
-0.05345588177442551,
-0.07190710306167603,
0.019694894552230835,
0.17696507275104523,
0.012412633746862411,
0.31637734174728394,
0.021060608327388763,
0.49484267830848694,
-0.18189622461795807,
0.012179931625723839,
0.3151260018348694,
-0.0374995693564415,
-0.02067580074071884,
0.2512514591217041,
0.04888225346803665,
0.14809612929821014,
-0.3847889006137848,
0.2061629295349121,
-0.07066972553730011,
-0.22660653293132782,
-0.06072535365819931,
-0.022827032953500748,
0.007488153874874115,
-0.17199371755123138,
0.14481541514396667,
0.18969425559043884,
-0.3390495181083679,
-0.004764195531606674,
0.04220644384622574,
0.18724729120731354,
0.03532388061285019,
-0.12450838834047318,
0.16330190002918243,
-0.28110283613204956,
-0.0334734246134758,
-0.07282956689596176,
-0.542046070098877,
-0.0554940328001976,
0.229554682970047,
-0.44705620408058167,
-0.0267818421125412,
0.12472441047430038,
0.16511543095111847,
0.015943849459290504,
0.5358046889305115,
0.02521418407559395,
0.05609632283449173,
-0.1799759864807129,
0.008603490889072418,
-0.32442981004714966,
0.02665567398071289,
-0.05428604409098625,
0.008151570335030556,
0.056445006281137466,
0.34702929854393005,
0.2790156304836273,
-0.015502534806728363,
0.020095258951187134,
0.06106433644890785,
0.06980681419372559,
-0.10721184313297272,
-0.32835930585861206,
0.09961803257465363,
0.07952938973903656,
-0.0713130384683609,
0.03410470485687256,
-0.06255871802568436,
-0.04905660077929497,
-0.2509409189224243,
0.2709777355194092,
-0.2747398614883423,
0.22591114044189453,
0.006688475608825684,
0.2847778797149658,
0.46599820256233215,
-0.06357874721288681,
-0.06727966666221619,
-0.2979871332645416,
-0.013639908283948898,
0.08421313762664795,
-0.07804184406995773,
-0.0451592393219471,
0.3723117411136627,
0.1499260514974594,
0.14469842612743378,
-0.1894572675228119,
-0.26660972833633423,
0.016945645213127136,
0.13808023929595947,
-0.16683164238929749,
-0.1511857658624649,
-0.1951994150876999,
0.17837630212306976,
-0.1116027906537056,
0.06009566783905029,
-0.20263619720935822,
0.17889359593391418,
0.14836335182189941,
-0.0174949299544096,
-0.13529616594314575,
-0.5665614008903503,
0.4158809185028076,
-0.0371893085539341,
-0.11919961869716644,
-0.03596462309360504,
-0.032272979617118835,
0.4950351417064667,
0.3528587520122528,
-0.7243914604187012,
-0.18986457586288452,
0.22841696441173553,
0.10515563935041428,
-0.27327796816825867,
0.18085259199142456,
0.37696003913879395,
-0.05615099146962166,
-0.340504914522171,
-0.04842350631952286,
0.0194852314889431,
0.04409865289926529,
-0.5801604986190796,
-0.21427315473556519
] |
https://github.com/huggingface/datasets/pull/298 | Add searchable datasets | Good to me. I understand that for now there is no check that the index matches the dataset on loading.
Maybe just add a basic test on the number of examples? | # Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :) | 31 | text: Add searchable datasets
# Better support for Numpy format + Add Indexed Datasets
I was working on adding Indexed Datasets but in the meantime I had to also add more support for Numpy arrays in the lib.
## Better support for Numpy format
New features:
- New fast method to convert Numpy arrays from Arrow structure (up to x100 speed up) using Pandas.
- Allow to output Numpy arrays in batched `.map`, which was the only missing part to fully support Numpy arrays.
Pandas offers fast zero-copy Numpy arrays conversion from Arrow structures.
Using it we can speed up the reading of memory-mapped Numpy array stored in Arrow format.
With these changes you can easily compute embeddings of texts using `.map()`. For example:
```python
def embed(text):
tokenized_example = tokenizer.encode(text, return_tensors="pt")
embeddings = bert_encoder(tokenized_examples).numpy()
return embeddings
dset_with_embeddings = dset.map(lambda example: {"embeddings": embed(example["text])})
```
And then reading the embeddings from the arrow format is be very fast.
PS1: Note that right now only 1d arrays are supported.
PS2: It seems possible to do without pandas but it will require more _trickery_.
PS3: I did a simple benchmark with google colab that you can view here:
https://colab.research.google.com/drive/1QlLTR6LRwYOKGJ-hTHmHyolE3wJzvfFg?usp=sharing
## Add Indexed Datasets
For many retrieval tasks it is convenient to index a dataset to be able to run fast queries.
For example for models like DPR, REALM, RAG etc. that are models for Open Domain QA, the retrieval step is very important.
Therefore I added two ways to add an index to a column of a dataset:
1) You can index it using a Dense Index like Faiss. It is used to index vectors.
Faiss is a library for efficient similarity search and clustering of dense vectors.
It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
2) You can index it using a Sparse Index like Elasticsearch. It is used to index text and run queries based on BM25 similarity.
Example of usage:
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
ds_with_embeddings = ds.map(lambda example: {'embeddings': embed(example['line']})) # `embed` outputs a `np.array`
ds_with_embeddings.add_vector_index(column='embeddings')
scores, retrieved_examples = ds_with_embeddings.get_nearest(column='embeddings', query=embed('my new query'), k=10)
```
```python
ds = nlp.load_dataset('crime_and_punish', split='train')
es_client = elasticsearch.Elasticsearch()
ds.add_text_index(column='line', es_client=es_client, index_name="my_es_index")
scores, retrieved_examples = ds.get_nearest(column='line', query='my new query', k=10)
```
PS4: Faiss allows to specify many options for the [index](https://github.com/facebookresearch/faiss/wiki/The-index-factory) and for [GPU settings](https://github.com/facebookresearch/faiss/wiki/Faiss-on-the-GPU). I made sure that the user has full control over those settings.
## Tests
I added tests for Faiss, Elasticsearch and indexed datasets.
I had to edit the CI config because all the test scripts were not being run by CircleCI.
------------------
I'd be really happy to have some feedbacks :)
Good to me. I understand that for now there is no check that the index matches the dataset on loading.
Maybe just add a basic test on the number of examples? | [
-0.04851211979985237,
-0.09547372162342072,
-0.24135027825832367,
0.05695509910583496,
0.2021883875131607,
0.004782460629940033,
0.15913107991218567,
0.39354947209358215,
0.2729768753051758,
0.250200092792511,
-0.29677775502204895,
0.3064553141593933,
-0.11142147332429886,
-0.0033313818275928497,
0.13672348856925964,
-0.09032516181468964,
0.11506940424442291,
0.399987131357193,
0.01251654326915741,
0.015419140458106995,
-0.22835129499435425,
-0.009050143882632256,
-0.056474488228559494,
-0.12037873268127441,
-0.04477636143565178,
-0.12636573612689972,
-0.0746251568198204,
-0.06297262012958527,
-0.1710749715566635,
-0.4605805575847626,
-0.15464136004447937,
-0.021823588758707047,
-0.047010116279125214,
0.11205131560564041,
-0.00009806715388549492,
0.030408672988414764,
0.18727928400039673,
-0.0016780123114585876,
-0.17844249308109283,
0.014622986316680908,
-0.012859046459197998,
-0.3880750238895416,
0.22288332879543304,
-0.3544258177280426,
-0.08080095052719116,
-0.3259122371673584,
0.09791942685842514,
-0.40464457869529724,
-0.0017487406730651855,
0.19873695075511932,
0.3339734673500061,
0.18573127686977386,
0.09762191772460938,
-0.01273048110306263,
0.14640191197395325,
-0.2800312638282776,
-0.2929634153842926,
-0.14127539098262787,
0.4028107225894928,
0.34491589665412903,
-0.03349091857671738,
0.5642737150192261,
-0.14223769307136536,
-0.16680198907852173,
0.30749568343162537,
0.19219030439853668,
0.13604511320590973,
-0.2225514054298401,
-0.0793001800775528,
0.3490394949913025,
0.3280329406261444,
-0.06220562756061554,
-0.3969504237174988,
-0.15281179547309875,
-0.05487477779388428,
-0.16518743336200714,
0.009910374879837036,
-0.15474699437618256,
0.18870984017848969,
0.13632415235042572,
-0.050570785999298096,
-0.0896664634346962,
-0.13907131552696228,
0.08154595643281937,
0.042825788259506226,
0.20777906477451324,
0.02200842648744583,
-0.18043503165245056,
0.13525596261024475,
-0.17876595258712769,
0.061278488487005234,
-0.0879678875207901,
0.26566019654273987,
0.09836719930171967,
-0.1903032511472702,
-0.11048299074172974,
0.1604461371898651,
-0.46572861075401306,
0.12827938795089722,
-0.13547754287719727,
0.24713760614395142,
0.38179194927215576,
-0.16836315393447876,
0.07335865497589111,
-0.27583688497543335,
0.17216098308563232,
-0.26546600461006165,
-0.07640060782432556,
0.2201799899339676,
-0.12377354502677917,
0.012671563774347305,
-0.05839061737060547,
-0.06681772321462631,
-0.046212125569581985,
-0.13544303178787231,
-0.1742812991142273,
-0.12861905992031097,
-0.06203562393784523,
-0.1237015649676323,
0.11524032801389694,
-0.3090014159679413,
-0.07195670157670975,
-0.05487906560301781,
0.23066693544387817,
0.031263843178749084,
-0.05561555176973343,
0.07372371107339859,
0.046348750591278076,
-0.07038881629705429,
0.23715169727802277,
-0.24446076154708862,
0.24231424927711487,
-0.03916347771883011,
0.13649316132068634,
0.1583472043275833,
-0.11705701053142548,
0.19609792530536652,
-0.2947269380092621,
0.20779135823249817,
0.16670161485671997,
0.058128610253334045,
-0.13720494508743286,
0.3371443748474121,
0.21203163266181946,
-0.2781548500061035,
-0.18635611236095428,
-0.046148817986249924,
-0.08701901882886887,
-0.3810884952545166,
0.06535763293504715,
-0.04477351903915405,
-0.4592016637325287,
-0.0854639932513237,
0.29435932636260986,
0.039160147309303284,
-0.0011392533779144287,
0.2951776087284088,
0.629469096660614,
-0.16037529706954956,
-0.07616670429706573,
0.1018313318490982,
0.13240383565425873,
-0.16907638311386108,
-0.27502933144569397,
0.46200671792030334,
-0.010979652404785156,
-0.3330995738506317,
0.06362001597881317,
-0.0471457876265049,
0.19897311925888062,
-0.09182671457529068,
0.3498004674911499,
-0.171356201171875,
0.13153889775276184,
-0.05051516741514206,
0.5755081176757812,
0.4309792220592499,
-0.1240585595369339,
-0.22597476840019226,
-0.03586864098906517,
0.03344441205263138,
0.037081360816955566,
0.1886679232120514,
0.25132322311401367,
0.20175082981586456,
0.0015837361570447683,
0.18766912817955017,
0.32069092988967896,
-0.000689307227730751,
-0.0856199860572815,
-0.2837359309196472,
-0.32039734721183777,
0.14922687411308289,
0.1723202019929886,
0.24714981019496918,
-0.3072001039981842,
-0.016933679580688477,
-0.2302437424659729,
-0.0021097660064697266,
-0.1454414576292038,
0.03293324634432793,
0.14994637668132782,
0.34209322929382324,
0.022557705640792847,
0.18698684871196747,
-0.3129216730594635,
-0.07855921238660812,
0.13280773162841797,
-0.04010690748691559,
0.2548217177391052,
-0.32199913263320923,
-0.10886004567146301,
-0.011179380118846893,
0.004132607951760292,
-0.05845535919070244,
-0.10571116209030151,
0.2925497591495514,
-0.21515336632728577,
-0.03474359214305878,
-0.01652388460934162,
-0.2766057252883911,
0.07584843039512634,
-0.12404824793338776,
-0.07069239765405655,
-0.27680402994155884,
0.19219602644443512,
-0.3111233115196228,
-0.0851287990808487,
-0.1466749608516693,
0.41384828090667725,
-0.19946077466011047,
-0.19276617467403412,
0.006711858324706554,
0.24686121940612793,
-0.3563334345817566,
-0.08461920917034149,
0.21795690059661865,
0.4122452735900879,
0.17957942187786102,
-0.26227039098739624,
0.24470029771327972,
0.005779998376965523,
0.19887609779834747,
-0.0738140344619751,
-0.16017448902130127,
0.2453863024711609,
-0.06516298651695251,
0.34105604887008667,
-0.005102887749671936,
-0.3631342351436615,
0.18957918882369995,
0.07870766520500183,
-0.08860748261213303,
-0.31664329767227173,
-0.006991025060415268,
0.18383006751537323,
0.0926705002784729,
0.09340348839759827,
-0.34443962574005127,
0.2654173970222473,
0.2559398412704468,
-0.05562726780772209,
0.043805383145809174,
0.29939591884613037,
-0.11171243339776993,
-0.2824762165546417,
-0.07692181318998337,
-0.29439887404441833,
0.21968920528888702,
0.3714691400527954,
0.13859091699123383,
-0.12289736419916153,
-0.0019643669947981834,
-0.2411535531282425,
0.30887869000434875,
0.2416873425245285,
0.028236033394932747,
0.18523532152175903,
0.17833013832569122,
0.04612911865115166,
-0.2039550542831421,
-0.23580898344516754,
-0.10662323236465454,
0.029421789571642876,
0.026320163160562515,
0.014966720715165138,
-0.15789005160331726,
0.1739683449268341,
0.07518252730369568,
-0.04897201061248779,
0.1314549744129181,
-0.24790886044502258,
0.313232958316803,
-0.16456691920757294,
-0.14640256762504578,
0.3099931478500366,
-0.07560628652572632,
0.19682174921035767,
0.05594606697559357,
0.12720680236816406,
-0.14514297246932983,
-0.09773652255535126,
0.05109621584415436,
0.22522485256195068,
-0.14466463029384613,
0.22443895041942596,
0.4137866795063019,
0.19845473766326904,
0.2855176329612732,
-0.2057541012763977,
-0.4844169020652771,
0.06691158562898636,
-0.2308390587568283,
0.04775847867131233,
0.13469234108924866,
0.027715064585208893,
-0.2250089794397354,
-0.21912376582622528,
0.19006244838237762,
-0.16596437990665436,
-0.06225328892469406,
-0.10568658262491226,
-0.1306680589914322,
-0.016148924827575684,
-0.03267095983028412,
-0.5408039093017578,
-0.3031032085418701,
-0.49624103307724,
0.1141684502363205,
-0.0932048037648201,
0.21750332415103912,
-0.05244305729866028,
0.1431322991847992,
0.4186480939388275,
0.14167441427707672,
0.2697512209415436,
-0.12804561853408813,
0.12697722017765045,
0.47310659289360046,
-0.1452324390411377,
-0.035286616533994675,
-0.2366734743118286,
-0.36601388454437256,
-0.1427992284297943,
0.09823159873485565,
-0.18864375352859497,
-0.04137200117111206,
-0.2112935334444046,
-0.026181228458881378,
0.04637114331126213,
0.054682739078998566,
0.3179447054862976,
0.3268470764160156,
-0.4110448360443115,
0.014981262385845184,
-0.061109330505132675,
0.09188257157802582,
0.11837546527385712,
0.006321117281913757,
0.042000189423561096,
0.3706355094909668,
0.00025120005011558533,
0.25536036491394043,
-0.06639495491981506,
-0.15827496349811554,
0.28709110617637634,
0.15158051252365112,
0.3402446210384369,
-0.23372918367385864,
-0.18529543280601501,
0.08205528557300568,
0.07528218626976013,
-0.04055781662464142,
0.3378371000289917,
-0.03196578100323677,
-0.1830652803182602,
-0.02496296539902687,
-0.10522325336933136,
-0.11182031780481339,
-0.14156249165534973,
0.38084661960601807,
0.032041702419519424,
0.157415509223938,
-0.1048528254032135,
0.03354515880346298,
-0.18753506243228912,
0.017803018912672997,
0.06348811089992523,
-0.07153995335102081,
0.060960885137319565,
-0.21128691732883453,
0.10102635622024536,
-0.20332863926887512,
-0.5790449976921082,
0.3442631959915161,
0.19987404346466064,
0.05836091190576553,
0.10307657718658447,
-0.18818387389183044,
0.17564339935779572,
0.06138797104358673,
0.3934668302536011,
-0.34055212140083313,
-0.6566036939620972,
0.2199300229549408,
-0.010166915133595467,
-0.25603386759757996,
0.14654657244682312,
-0.3095153272151947,
0.05816777050495148,
-0.07966925203800201,
0.5172101259231567,
-0.3827775716781616,
-0.10199509561061859,
0.2646417021751404,
0.21970736980438232,
-0.060992103070020676,
-0.2740292549133301,
-0.11413976550102234,
-0.16443553566932678,
-0.20467178523540497,
0.06736188381910324,
-0.06898806244134903,
0.1921084225177765,
0.2726922333240509,
-0.30079713463783264,
-0.10484695434570312,
-0.03355863317847252,
0.3174353837966919,
0.039490874856710434,
0.23961171507835388,
0.11861026287078857,
0.1761484593153,
0.11974219232797623,
0.2885836362838745,
-0.009537728503346443,
0.08539845049381256,
-0.5496007204055786,
0.29611051082611084,
-0.27339792251586914,
-0.03053932636976242,
0.2372106909751892,
0.4007643461227417,
0.040460795164108276,
0.3605172336101532,
-0.2291974425315857,
0.15443803369998932,
-0.07385953515768051,
0.09888796508312225,
0.11745002865791321,
0.09332691878080368,
-0.2308744341135025,
-0.397551953792572,
0.42826515436172485,
-0.12113989889621735,
-0.2400057315826416,
0.1554659605026245,
0.3992699384689331,
-0.31770914793014526,
0.5006088018417358,
0.2947273254394531,
1.068953514099121,
-0.1486227661371231,
0.023933017626404762,
0.1892247200012207,
0.0036410950124263763,
0.33711180090904236,
-0.318905234336853,
0.19842217862606049,
-0.09838948398828506,
-0.26859286427497864,
0.03702247142791748,
0.038696277886629105,
-0.03635954111814499,
-0.05017416179180145,
-0.31234225630760193,
0.14516520500183105,
0.20804060995578766,
-0.0728767067193985,
-0.22314736247062683,
0.3589889407157898,
0.1480206996202469,
-0.5073200464248657,
-0.1691133975982666,
0.194447860121727,
0.049712032079696655,
-0.22344759106636047,
0.058390602469444275,
-0.19910046458244324,
-0.09779327362775803,
0.05711797624826431,
-0.03167283907532692,
-0.2002543807029724,
-0.05959892272949219,
0.4568432569503784,
0.05131438747048378,
-0.3515412211418152,
0.22535650432109833,
-0.16525909304618835,
0.283144474029541,
-0.04359790310263634,
-0.16517490148544312,
0.07139734923839569,
0.052415087819099426,
-0.048062052577733994,
0.20182184875011444,
-0.260165810585022,
0.32981714606285095,
0.08527228236198425,
-0.1875973343849182,
0.043436408042907715,
-0.11627441644668579,
-0.32196295261383057,
-0.26431524753570557,
0.05353651940822601,
0.12264303863048553,
-0.14116758108139038,
-0.1451207399368286,
0.16741791367530823,
-0.4173351228237152,
-0.2369348406791687,
0.2959204316139221,
0.20261448621749878,
0.016804253682494164,
0.4947132170200348,
0.2522021532058716,
-0.18360954523086548,
-0.06455716490745544,
0.18488764762878418,
0.21524101495742798,
0.09602043032646179,
0.2860385775566101,
0.0672028511762619,
-0.5052037835121155,
-0.24869948625564575,
-0.0905051976442337,
0.4450245797634125,
0.19197067618370056,
0.1025601476430893,
-0.03879668936133385,
-0.35245072841644287,
0.041932009160518646,
0.3065536320209503,
0.2264377474784851,
-0.03624957799911499,
-0.4385075569152832,
0.13099253177642822,
-0.4026030898094177,
0.4635022282600403,
0.16961504518985748,
0.46341827511787415,
-0.23734772205352783,
-0.11752061545848846,
-0.288856565952301,
0.21699458360671997,
-0.5098091959953308,
0.006337156053632498,
-0.2647447884082794,
0.16780482232570648,
-0.20481015741825104,
-0.2183256447315216,
0.23212678730487823,
0.05810638144612312,
0.30407530069351196,
0.13294021785259247,
-0.3419696092605591,
-0.34117376804351807,
0.0945083498954773,
0.07902156561613083,
-0.10959840565919876,
-0.1888897567987442,
-0.10071579366922379,
-0.07986623048782349,
-0.2284693717956543,
-0.48375627398490906,
0.053661707788705826,
0.08301866799592972,
0.03788675367832184,
-0.18663570284843445,
-0.06937164068222046,
-0.1486244797706604,
0.285517156124115,
0.06646919995546341,
-0.10853837430477142,
0.3170894384384155,
0.04474393278360367,
-0.12158910930156708,
-0.08029165863990784,
-0.21572351455688477,
0.31832608580589294,
0.32348793745040894,
0.20999425649642944,
0.06592307239770889,
0.25051212310791016,
0.13703928887844086,
-0.1947336047887802,
0.1992986798286438,
0.3514101505279541,
0.09063822031021118,
-0.0565962940454483,
-0.17977175116539001,
-0.0012565040960907936,
0.36481842398643494,
-0.28014177083969116,
-0.09373292326927185,
0.030836831778287888,
-0.17766322195529938,
0.3970959484577179,
0.25254756212234497,
0.33405056595802307,
0.23055854439735413,
0.01075424998998642,
0.09131534397602081,
0.22963406145572662,
-0.05351012945175171,
-0.2831866443157196,
-0.17346039414405823,
0.26234903931617737,
-0.12039703130722046,
0.23512589931488037,
-0.019575919955968857,
0.4244999885559082,
0.45766764879226685,
-0.20320364832878113,
0.4342866837978363,
0.12747050821781158,
0.27118876576423645,
0.005380474030971527,
0.17988930642604828,
0.40572041273117065,
0.1932494044303894,
0.040284305810928345,
0.1249258890748024,
0.19238537549972534,
0.22501924633979797,
-0.18877117335796356,
0.1731007844209671,
-0.06155846267938614,
0.12567682564258575,
-0.18931463360786438,
-0.1753658503293991,
0.36948466300964355,
-0.191755473613739,
-0.08700712025165558,
-0.24450694024562836,
0.03580152988433838,
-0.05345588177442551,
-0.07190710306167603,
0.019694894552230835,
0.17696507275104523,
0.012412633746862411,
0.31637734174728394,
0.021060608327388763,
0.49484267830848694,
-0.18189622461795807,
0.012179931625723839,
0.3151260018348694,
-0.0374995693564415,
-0.02067580074071884,
0.2512514591217041,
0.04888225346803665,
0.14809612929821014,
-0.3847889006137848,
0.2061629295349121,
-0.07066972553730011,
-0.22660653293132782,
-0.06072535365819931,
-0.022827032953500748,
0.007488153874874115,
-0.17199371755123138,
0.14481541514396667,
0.18969425559043884,
-0.3390495181083679,
-0.004764195531606674,
0.04220644384622574,
0.18724729120731354,
0.03532388061285019,
-0.12450838834047318,
0.16330190002918243,
-0.28110283613204956,
-0.0334734246134758,
-0.07282956689596176,
-0.542046070098877,
-0.0554940328001976,
0.229554682970047,
-0.44705620408058167,
-0.0267818421125412,
0.12472441047430038,
0.16511543095111847,
0.015943849459290504,
0.5358046889305115,
0.02521418407559395,
0.05609632283449173,
-0.1799759864807129,
0.008603490889072418,
-0.32442981004714966,
0.02665567398071289,
-0.05428604409098625,
0.008151570335030556,
0.056445006281137466,
0.34702929854393005,
0.2790156304836273,
-0.015502534806728363,
0.020095258951187134,
0.06106433644890785,
0.06980681419372559,
-0.10721184313297272,
-0.32835930585861206,
0.09961803257465363,
0.07952938973903656,
-0.0713130384683609,
0.03410470485687256,
-0.06255871802568436,
-0.04905660077929497,
-0.2509409189224243,
0.2709777355194092,
-0.2747398614883423,
0.22591114044189453,
0.006688475608825684,
0.2847778797149658,
0.46599820256233215,
-0.06357874721288681,
-0.06727966666221619,
-0.2979871332645416,
-0.013639908283948898,
0.08421313762664795,
-0.07804184406995773,
-0.0451592393219471,
0.3723117411136627,
0.1499260514974594,
0.14469842612743378,
-0.1894572675228119,
-0.26660972833633423,
0.016945645213127136,
0.13808023929595947,
-0.16683164238929749,
-0.1511857658624649,
-0.1951994150876999,
0.17837630212306976,
-0.1116027906537056,
0.06009566783905029,
-0.20263619720935822,
0.17889359593391418,
0.14836335182189941,
-0.0174949299544096,
-0.13529616594314575,
-0.5665614008903503,
0.4158809185028076,
-0.0371893085539341,
-0.11919961869716644,
-0.03596462309360504,
-0.032272979617118835,
0.4950351417064667,
0.3528587520122528,
-0.7243914604187012,
-0.18986457586288452,
0.22841696441173553,
0.10515563935041428,
-0.27327796816825867,
0.18085259199142456,
0.37696003913879395,
-0.05615099146962166,
-0.340504914522171,
-0.04842350631952286,
0.0194852314889431,
0.04409865289926529,
-0.5801604986190796,
-0.21427315473556519
] |
https://github.com/huggingface/datasets/pull/292 | Update metadata for x_stance dataset | We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ? | Thank you for featuring the x_stance dataset in your library. This PR updates some metadata:
- Citation: Replace preprint with proceedings
- URL: Use a URL with long-term availability
| 20 | text: Update metadata for x_stance dataset
Thank you for featuring the x_stance dataset in your library. This PR updates some metadata:
- Citation: Replace preprint with proceedings
- URL: Use a URL with long-term availability
We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ? | [
-0.2541278898715973,
0.183861643075943,
-0.09352436661720276,
-0.01723884791135788,
0.12904030084609985,
-0.01700541004538536,
0.08421553671360016,
0.3451743721961975,
-0.48419076204299927,
0.11421294510364532,
0.010939056985080242,
0.20485731959342957,
0.293026864528656,
0.10771245509386063,
-0.1551612764596939,
-0.11745548248291016,
-0.10471322387456894,
0.05854126065969467,
0.0638096034526825,
-0.10097412765026093,
-0.017001952975988388,
0.014136750251054764,
-0.30595824122428894,
-0.19961144030094147,
-0.06804727762937546,
-0.24946892261505127,
-0.15428045392036438,
0.18029972910881042,
-0.2491675168275833,
-0.39572229981422424,
0.09674812853336334,
0.49338671565055847,
0.043020524084568024,
0.15903636813163757,
-0.00009954125562217087,
-0.05793984606862068,
0.30361151695251465,
-0.05472222715616226,
-0.13256824016571045,
-0.08746063709259033,
-0.24089384078979492,
-0.07444719970226288,
-0.12308137863874435,
-0.3261396288871765,
-0.237856924533844,
-0.311771422624588,
-0.09576722979545593,
0.11763010919094086,
0.046650201082229614,
0.3110642731189728,
0.40579795837402344,
0.09673615545034409,
-0.0206310972571373,
-0.3677225410938263,
-0.030806519091129303,
0.11789246648550034,
-0.16142983734607697,
0.02327350340783596,
0.26289528608322144,
0.5827082991600037,
0.017961665987968445,
0.4254702031612396,
-0.06492268294095993,
-0.07980063557624817,
0.006743583828210831,
-0.005659238435328007,
0.43259233236312866,
-0.08309715986251831,
0.4523527920246124,
-0.23546472191810608,
0.7480228543281555,
-0.044969432055950165,
-0.01635136641561985,
0.08947201818227768,
0.10363058745861053,
-0.23139390349388123,
0.2046245038509369,
0.08815319836139679,
0.026902269572019577,
0.020264364778995514,
-0.02746383100748062,
-0.27848777174949646,
-0.06951400637626648,
-0.07144752144813538,
-0.014964096248149872,
0.27041149139404297,
-0.05150964856147766,
0.020212672650814056,
0.007010750472545624,
0.0959540382027626,
0.3268703520298004,
0.15516364574432373,
-0.0848662406206131,
-0.23962277173995972,
0.14014115929603577,
-0.019804172217845917,
0.19263549149036407,
0.37412843108177185,
-0.23178237676620483,
0.34655213356018066,
-0.03878185898065567,
0.16382548213005066,
-0.08672486245632172,
-0.0027861222624778748,
0.21621616184711456,
0.0029127802699804306,
0.13118690252304077,
0.29162898659706116,
0.29064735770225525,
0.4190220534801483,
-0.16418661177158356,
0.036359649151563644,
0.03465631604194641,
-0.05303189903497696,
-0.24601459503173828,
0.04242289811372757,
0.20590943098068237,
-0.44027262926101685,
0.07083488255739212,
0.09202705323696136,
0.15864118933677673,
-0.03900904953479767,
-0.27924060821533203,
0.2292814552783966,
-0.13551534712314606,
0.2809000611305237,
0.23023049533367157,
-0.13588333129882812,
-0.0908135399222374,
-0.10480423271656036,
-0.2324155867099762,
0.12277041375637054,
-0.31295421719551086,
-0.07391905039548874,
0.029829490929841995,
-0.3084357976913452,
0.21639570593833923,
0.08495911210775375,
0.35913312435150146,
-0.15889418125152588,
-0.14408652484416962,
0.11937431991100311,
0.051061004400253296,
0.1693168431520462,
0.23297026753425598,
0.15553714334964752,
0.21921448409557343,
-0.36657214164733887,
-0.011550970375537872,
0.14642003178596497,
-0.13611376285552979,
-0.08407110720872879,
-0.06240413337945938,
0.3187946081161499,
-0.16181835532188416,
-0.12101157009601593,
0.10009928792715073,
0.10965211689472198,
-0.07506702095270157,
-0.15113529562950134,
0.1183190792798996,
0.1094205304980278,
-0.12275329232215881,
-0.09146501868963242,
0.05604024976491928,
0.22519147396087646,
0.00848044827580452,
-0.002735387533903122,
0.045611847192049026,
0.05151902139186859,
0.1252235770225525,
0.21395324170589447,
-0.16428513824939728,
0.010831393301486969,
-0.019456226378679276,
-0.06750979274511337,
0.24905669689178467,
-0.6749399900436401,
-0.36723655462265015,
-0.20821475982666016,
-0.32987725734710693,
-0.2456607073545456,
-0.14021000266075134,
-0.034719161689281464,
0.4397636353969574,
-0.26706787943840027,
-0.15874826908111572,
-0.03551740199327469,
-0.14358390867710114,
0.08288206905126572,
-0.5279633402824402,
-0.020746614784002304,
-0.3211600184440613,
0.07723933458328247,
0.1781400740146637,
0.13681085407733917,
0.087398000061512,
0.34671053290367126,
0.3776985704898834,
-0.08621068298816681,
0.20638203620910645,
0.43441087007522583,
0.2550113797187805,
-0.10910509526729584,
0.08338546752929688,
0.18730390071868896,
0.0779612585902214,
-0.1084590032696724,
0.12068301439285278,
0.6090688109397888,
0.32752907276153564,
-0.1351582109928131,
-0.4266873598098755,
-0.3103161156177521,
-0.13384611904621124,
-0.30480122566223145,
0.30316823720932007,
0.24817673861980438,
-0.13981033861637115,
0.13565106689929962,
0.1270076036453247,
0.014075477607548237,
-0.2946418821811676,
0.002006152644753456,
-0.0888107568025589,
0.09132863581180573,
-0.28860774636268616,
-0.09417366981506348,
0.17315734922885895,
0.20867407321929932,
0.19729101657867432,
-0.10472801327705383,
-0.2225170135498047,
0.20468208193778992,
-0.14744623005390167,
0.3099093437194824,
0.31255602836608887,
0.24903374910354614,
0.13222938776016235,
-0.3996509909629822,
0.042754799127578735,
-0.22861124575138092,
-0.1119542121887207,
0.04888249188661575,
-0.3051527440547943,
0.24057714641094208,
-0.2055567353963852,
-0.1982070803642273,
0.0879167914390564,
0.10571109503507614,
0.2827816307544708,
-0.30520036816596985,
-0.20789842307567596,
-0.15138888359069824,
0.01653726026415825,
0.3782985806465149,
0.0366075299680233,
0.10208814591169357,
-0.2666817903518677,
0.18242600560188293,
0.23509036004543304,
0.08936403691768646,
-0.13674727082252502,
0.029808996245265007,
-0.14543280005455017,
-0.013950120657682419,
0.032719459384679794,
0.22838135063648224,
0.08491082489490509,
0.26411253213882446,
0.19382494688034058,
0.2499316781759262,
0.24517323076725006,
-0.24605023860931396,
0.3589310348033905,
0.026175476610660553,
-0.10365337133407593,
-0.0007224380970001221,
0.47423362731933594,
0.25804436206817627,
-0.38707056641578674,
0.3129745125770569,
0.1791289746761322,
0.3634289503097534,
-0.029434310272336006,
-0.11444667726755142,
-0.2035267949104309,
-0.15492653846740723,
-0.0602797269821167,
-0.13488943874835968,
0.03605267405509949,
-0.11872462183237076,
0.16316232085227966,
0.1256943643093109,
0.017178796231746674,
0.5774989724159241,
0.009010381996631622,
0.41699641942977905,
-0.19275255501270294,
0.1537121832370758,
0.03551133722066879,
-0.1327023208141327,
-0.2358812391757965,
0.18918633460998535,
0.005160540342330933,
0.053833719342947006,
0.24160991609096527,
-0.21755504608154297,
0.21188214421272278,
-0.5581645369529724,
-0.5676057934761047,
0.0972398966550827,
-0.13657577335834503,
-0.03366193175315857,
0.1407715082168579,
0.1487085521221161,
0.0899827629327774,
-0.10787197947502136,
0.2246253788471222,
-0.2897058129310608,
-0.09621753543615341,
-0.2736184000968933,
-0.1955135464668274,
0.003815437201410532,
-0.2661120891571045,
-0.47530296444892883,
0.11206811666488647,
-0.3545495271682739,
0.025975536555051804,
0.1133430153131485,
-0.038614265620708466,
0.22499442100524902,
-0.006472855806350708,
-0.2835763394832611,
-0.157831072807312,
0.02661099284887314,
-0.3916003406047821,
-0.3095066249370575,
0.02733016386628151,
-0.05132928118109703,
-0.4380899965763092,
0.22369039058685303,
0.3112780451774597,
0.594666063785553,
-0.10592110455036163,
-0.41028040647506714,
-0.1998939961194992,
0.2676538825035095,
0.23400956392288208,
0.1386636346578598,
0.015870453789830208,
0.3929060101509094,
-0.013053420931100845,
-0.3524448573589325,
-0.13502514362335205,
-0.3576280176639557,
-0.07764296978712082,
-0.152744859457016,
0.421270489692688,
-0.3057505786418915,
-0.11507517844438553,
0.059720609337091446,
0.41714513301849365,
-0.028845354914665222,
-0.07093818485736847,
0.12301620841026306,
0.08727480471134186,
0.2786167562007904,
0.051774315536022186,
-0.333010196685791,
0.3704206049442291,
-0.043799400329589844,
-0.26361173391342163,
0.4140024185180664,
-0.05243492126464844,
-0.3465680778026581,
-0.1529371738433838,
-0.010160727426409721,
-0.19168195128440857,
-0.47430285811424255,
-0.1075107604265213,
0.009300630539655685,
0.37244126200675964,
0.2219146341085434,
-0.12364891171455383,
-0.2886674702167511,
-0.07550282031297684,
0.08127099275588989,
0.25871309638023376,
0.006650418043136597,
-0.1511007696390152,
-0.2806759774684906,
0.18064337968826294,
-0.1496724784374237,
0.26946544647216797,
-0.16161811351776123,
0.07922656089067459,
-0.028248801827430725,
-0.03315156698226929,
0.19464482367038727,
-0.1254156082868576,
0.0955648273229599,
-0.28767865896224976,
-0.12973950803279877,
0.1399017721414566,
-0.19376280903816223,
-0.04113226756453514,
-0.05340348929166794,
-0.13404786586761475,
0.21317899227142334,
0.521443247795105,
0.13353005051612854,
-0.08680359274148941,
-0.10703039169311523,
0.3353137969970703,
-0.4422796070575714,
-0.07552556693553925,
-0.03097473829984665,
-0.14245273172855377,
-0.35047468543052673,
-0.42716485261917114,
0.22566840052604675,
-0.030229805037379265,
-0.1517137736082077,
-0.1719404011964798,
-0.04206279292702675,
0.14185531437397003,
0.23758012056350708,
-0.04727712273597717,
0.08551196753978729,
0.12165842205286026,
0.21143685281276703,
-0.02152206003665924,
0.11773321777582169,
0.02790665812790394,
0.23906654119491577,
0.2681553363800049,
0.0881824791431427,
0.0417005717754364,
0.13311009109020233,
-0.22537387907505035,
0.028528384864330292,
0.3137708306312561,
0.12494176626205444,
0.38871055841445923,
-0.05733601748943329,
0.104127436876297,
-0.2100139558315277,
0.12960746884346008,
0.057623572647571564,
0.011871124617755413,
-0.13276945054531097,
-0.3017643690109253,
0.19181817770004272,
0.2688473165035248,
-0.2426646649837494,
0.13132919371128082,
0.014569789171218872,
-0.04123842716217041,
-0.22282174229621887,
0.2930435538291931,
1.0459671020507812,
0.027371156960725784,
-0.03209571912884712,
-0.08098050951957703,
-0.01015840470790863,
0.5671731233596802,
0.09144513309001923,
0.07051673531532288,
-0.4006224274635315,
-0.35815542936325073,
0.03270129859447479,
0.06241639330983162,
0.09582527726888657,
-0.2995649576187134,
-0.4087163209915161,
-0.1079961434006691,
0.036190129816532135,
0.0615910142660141,
0.20185895264148712,
0.03645666688680649,
-0.0002312399446964264,
-0.0963086485862732,
-0.4204789400100708,
0.25969454646110535,
-0.15798479318618774,
0.046790480613708496,
-0.14789143204689026,
-0.10579953342676163,
-0.11499854177236557,
-0.19292335212230682,
-0.39548933506011963,
-0.06898846477270126,
0.024412281811237335,
-0.1817602664232254,
0.1185436099767685,
-0.23371076583862305,
0.2534481883049011,
0.05329598858952522,
0.4206693768501282,
0.274750292301178,
-0.2512020766735077,
0.3693346679210663,
-0.03625332564115524,
-0.1289387345314026,
0.016309445723891258,
-0.012800213880836964,
0.09416615962982178,
-0.1969272792339325,
-0.3311995267868042,
0.16295720636844635,
-0.07700823992490768,
-0.2062366008758545,
-0.2917329668998718,
0.04006137326359749,
-0.01022869348526001,
0.036145541816949844,
0.058516811579465866,
0.08592848479747772,
-0.15092812478542328,
-0.42689651250839233,
0.24389098584651947,
-0.20244942605495453,
0.05869116261601448,
-0.007668979465961456,
0.4032035768032074,
-0.27151137590408325,
0.01714027300477028,
0.27778688073158264,
0.26651495695114136,
-0.1596759408712387,
0.31646084785461426,
0.18911179900169373,
0.06892912089824677,
-0.37963324785232544,
-0.4448697566986084,
-0.2544485628604889,
-0.2555922865867615,
0.12711654603481293,
-0.1009393110871315,
-0.22179734706878662,
0.19393675029277802,
0.5174362063407898,
0.07325182110071182,
0.18180203437805176,
-0.22102651000022888,
-0.20766185224056244,
-0.47598719596862793,
0.046260472387075424,
-0.3154507875442505,
-0.0024478770792484283,
0.09745871275663376,
0.3126048445701599,
0.04774376004934311,
0.13818588852882385,
-0.4900776743888855,
0.06702219694852829,
-0.5073034763336182,
0.1936131864786148,
0.1329602599143982,
-0.2461116909980774,
-0.11471374332904816,
-0.22469083964824677,
0.12192407250404358,
0.13744905591011047,
-0.13495275378227234,
-0.2930601239204407,
-0.059735532850027084,
0.10642191022634506,
0.07352501153945923,
0.10390542447566986,
0.005746695213019848,
0.08122003078460693,
-0.13195838034152985,
0.07304977625608444,
0.08086682856082916,
-0.014628013595938683,
0.02795862779021263,
-0.1205902099609375,
-0.2744999825954437,
0.06844896078109741,
0.11917681992053986,
-0.12291501462459564,
0.14802831411361694,
-0.060570865869522095,
0.08452271670103073,
0.0635950043797493,
-0.30778878927230835,
-0.10500770807266235,
-0.025538871064782143,
0.2395806908607483,
0.31150954961776733,
0.4964880049228668,
0.2143406867980957,
-0.00012294575572013855,
0.08683428168296814,
0.4218519926071167,
0.16160613298416138,
0.04441848024725914,
-0.06807176023721695,
-0.2130831480026245,
-0.21747231483459473,
0.3292902112007141,
-0.3820010721683502,
-0.12990911304950714,
-0.05196818336844444,
-0.013762728311121464,
0.01066785678267479,
0.16607335209846497,
0.37510809302330017,
-0.1841403692960739,
0.09709742665290833,
0.3715348243713379,
0.5706151127815247,
-0.4142363667488098,
0.18089930713176727,
-0.18110719323158264,
-0.13609281182289124,
0.061467476189136505,
0.2415538877248764,
-0.0017573162913322449,
-0.1158725842833519,
0.06483108550310135,
0.20620670914649963,
0.43925777077674866,
0.2735895812511444,
0.037866249680519104,
0.05945632979273796,
-0.017347294837236404,
0.3686456084251404,
0.1450461447238922,
0.3049599230289459,
0.008797701448202133,
0.09931360930204391,
-0.006137482821941376,
0.2307947427034378,
-0.20097388327121735,
-0.18769928812980652,
0.2221057415008545,
-0.1256687045097351,
-0.1419537216424942,
-0.6132744550704956,
-0.1909068077802658,
-0.01150626689195633,
-0.05127248913049698,
-0.0021397843956947327,
0.31741201877593994,
0.4690629839897156,
-0.030827529728412628,
-0.17054937779903412,
-0.6572371125221252,
-0.1201910600066185,
0.08864900469779968,
0.18625164031982422,
-0.11824022233486176,
0.3808131217956543,
0.13070468604564667,
-0.18191108107566833,
0.2887909710407257,
0.2601252496242523,
0.33228999376296997,
0.0467006117105484,
0.24391865730285645,
-0.07773475348949432,
-0.18852245807647705,
0.022145071998238564,
0.009662924334406853,
0.12200754135847092,
0.34886422753334045,
0.1472564935684204,
-0.08322638273239136,
0.27685293555259705,
-0.25100359320640564,
0.3901304602622986,
-0.05276959761977196,
-0.031564343720674515,
-0.01832796260714531,
-0.008319318294525146,
0.2730411887168884,
-0.00010050833225250244,
-0.20500297844409943,
0.152559295296669,
0.005100123584270477,
0.16691260039806366,
0.3071359694004059,
0.011055114679038525,
0.06832027435302734,
-0.2774418592453003,
0.18367475271224976,
0.14195962250232697,
0.4354349970817566,
0.41442763805389404,
-0.041944436728954315,
-0.03135167062282562,
-0.42077261209487915,
-0.5562052130699158,
0.5229041576385498,
0.15753282606601715,
-0.06031970679759979,
0.05632787197828293,
0.1157928854227066,
0.361299991607666,
-0.09718069434165955,
0.24978519976139069,
-0.0456015020608902,
0.11437257379293442,
-0.14203676581382751,
-0.5146390795707703,
0.1799686849117279,
-0.007745437324047089,
-0.1907886117696762,
0.03144761919975281,
0.03673376888036728,
-0.009204883128404617,
0.37050390243530273,
0.261658251285553,
-0.007989304140210152,
-0.22194594144821167,
0.0504600964486599,
0.017676852643489838,
0.07285647094249725,
0.07978415489196777,
0.15626513957977295,
-0.19524717330932617,
-0.1254970282316208,
-0.34276026487350464,
-0.10576181858778,
-0.24226060509681702,
0.2312791645526886,
0.09067892283201218,
0.2600528299808502,
0.005376284942030907,
0.11290954053401947,
-0.20841656625270844,
0.014904212206602097,
0.18518812954425812,
-0.00811756681650877,
-0.4711458683013916,
0.1109544113278389,
0.17669248580932617,
0.16260522603988647,
-0.018543465062975883,
0.21018797159194946,
0.038656286895275116,
0.09099344909191132,
-0.5421273708343506,
-0.5309935212135315,
0.6631712913513184,
-0.005781277548521757,
-0.3351917862892151,
-0.06660044193267822,
0.3021508753299713,
-0.15495744347572327,
-0.014178348705172539,
-0.5199409127235413,
-0.08990377932786942,
0.14188891649246216,
0.03314313665032387,
-0.4171241819858551,
0.08108611404895782,
-0.154430091381073,
0.03237977996468544,
-0.012275764718651772,
0.39588072896003723,
0.0423249676823616,
-0.20392031967639923,
-0.09953910112380981,
-0.033310793340206146
] |
https://github.com/huggingface/datasets/pull/291 | break statement not required | We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ? | 20 | text: break statement not required
We just fixed the other dataset on master. Could you rebase from master and push to rerun the CI ? | [
-0.4929049015045166,
0.18406280875205994,
-0.20974384248256683,
0.0944003015756607,
0.054307032376527786,
-0.10331933200359344,
0.4645659923553467,
0.1743735522031784,
-0.13147041201591492,
0.28823521733283997,
-0.10390596091747284,
-0.059941552579402924,
0.13769985735416412,
0.48722565174102783,
-0.3615279197692871,
0.25029119849205017,
-0.25750282406806946,
0.2879403829574585,
-0.26387709379196167,
-0.02889448031783104,
0.046280637383461,
0.21750785410404205,
-0.05419440567493439,
-0.23888184130191803,
-0.13542889058589935,
-0.1514795571565628,
-0.03100196272134781,
0.27245163917541504,
-0.15606509149074554,
-0.29129377007484436,
0.07942310720682144,
0.3467097580432892,
-0.17508557438850403,
0.4016622304916382,
-0.00009947798389475793,
0.06901302933692932,
0.16900485754013062,
-0.04318694770336151,
-0.26600635051727295,
-0.030168920755386353,
-0.187363862991333,
-0.1280582696199417,
-0.0842481330037117,
-0.3387673497200012,
-0.2616289258003235,
0.08990810066461563,
-0.13261263072490692,
-0.0014901235699653625,
0.39227503538131714,
0.2565371096134186,
0.37711745500564575,
0.09651372581720352,
-0.2793319821357727,
-0.1936497539281845,
0.1817285269498825,
-0.08554966747760773,
0.038838304579257965,
-0.06337347626686096,
0.1833617091178894,
0.2248517870903015,
-0.22173017263412476,
0.49407312273979187,
0.10521791875362396,
-0.022127222269773483,
-0.2480560541152954,
-0.20186030864715576,
0.21678757667541504,
-0.010186247527599335,
0.22548604011535645,
-0.18789440393447876,
0.3876083791255951,
0.11558264493942261,
-0.0154876708984375,
0.042833440005779266,
-0.04334615170955658,
-0.1765299141407013,
0.1614813655614853,
0.05225595831871033,
-0.012007378041744232,
0.27068278193473816,
-0.3426018953323364,
-0.3874184191226959,
0.018720082938671112,
-0.20509253442287445,
-0.24206918478012085,
0.10189040750265121,
-0.0876723900437355,
-0.06630954891443253,
0.12334823608398438,
0.27483779191970825,
0.1039029210805893,
0.1537279635667801,
-0.26477929949760437,
-0.44238659739494324,
0.06296989321708679,
-0.4250163733959198,
0.005700588226318359,
0.3678027391433716,
-0.22619202733039856,
0.21813426911830902,
-0.07606757432222366,
0.08393405377864838,
0.018811292946338654,
-0.06804122030735016,
0.35013341903686523,
0.0594799630343914,
0.15243878960609436,
-0.08200326561927795,
0.3884374499320984,
0.04349112883210182,
-0.2609829306602478,
-0.1425880789756775,
0.09280692785978317,
-0.3694934546947479,
-0.1506079137325287,
0.34513363242149353,
0.2037302404642105,
-0.34440967440605164,
-0.19140738248825073,
0.02630220353603363,
0.01024577021598816,
-0.167058527469635,
-0.08955439180135727,
0.33123260736465454,
0.028985586017370224,
0.05070425570011139,
0.03884218633174896,
-0.0006556995213031769,
-0.05606057494878769,
-0.37635236978530884,
-0.2702741324901581,
-0.1959676444530487,
-0.15681695938110352,
-0.2989030182361603,
0.1375233680009842,
-0.3913068175315857,
0.28304070234298706,
0.032622743397951126,
0.13905999064445496,
0.008283376693725586,
-0.013631396926939487,
-0.060524363070726395,
0.23467707633972168,
0.32047751545906067,
0.31779128313064575,
0.058620721101760864,
0.20061634480953217,
-0.1563040018081665,
0.10402075201272964,
0.19250544905662537,
-0.2210840880870819,
-0.2687501609325409,
-0.06379896402359009,
0.36846068501472473,
-0.11667801439762115,
-0.022798389196395874,
0.16793790459632874,
-0.026502083986997604,
0.11387041956186295,
-0.09242204576730728,
0.028494350612163544,
0.09564308077096939,
-0.06548017263412476,
-0.11031553149223328,
0.05157288908958435,
0.158808171749115,
-0.2846078872680664,
0.022450163960456848,
-0.0652528777718544,
0.06952515244483948,
0.015554837882518768,
0.31234899163246155,
-0.23632806539535522,
0.175266832113266,
-0.14996172487735748,
-0.0693298876285553,
0.31250646710395813,
-0.26644375920295715,
-0.2385561466217041,
0.3529994785785675,
-0.31203269958496094,
-0.2735562324523926,
-0.008077390491962433,
-0.2060714066028595,
0.3949736952781677,
-0.1565116047859192,
0.056205157190561295,
0.18012334406375885,
-0.2764284312725067,
0.06361532211303711,
-0.23420968651771545,
-0.1719416081905365,
-0.18842725455760956,
-0.06457038223743439,
0.14274680614471436,
0.2361544370651245,
0.29658305644989014,
0.1507173329591751,
0.31563690304756165,
-0.12872575223445892,
-0.024096256121993065,
0.2623809576034546,
0.43003493547439575,
-0.054986268281936646,
-0.058706194162368774,
0.10489539057016373,
-0.0023878514766693115,
-0.03929320350289345,
0.22483643889427185,
0.3240363597869873,
0.19466674327850342,
-0.09541964530944824,
-0.3902733623981476,
-0.22986793518066406,
0.045249827206134796,
-0.11216653883457184,
0.36808496713638306,
0.24027103185653687,
-0.4375540018081665,
-0.25586998462677,
0.029773812741041183,
-0.04020866006612778,
-0.19984731078147888,
0.022916041314601898,
0.11121879518032074,
0.2069166600704193,
-0.4593717157840729,
-0.03233637660741806,
0.13675479590892792,
0.0402233824133873,
0.14960208535194397,
-0.3670755624771118,
-0.18507981300354004,
0.3575252890586853,
-0.2165420651435852,
0.21241307258605957,
-0.10632308572530746,
-0.10584984719753265,
0.0994575023651123,
-0.29511553049087524,
0.0908367782831192,
-0.052810195833444595,
-0.03486396372318268,
-0.028910532593727112,
-0.09533759206533432,
0.22963938117027283,
-0.18683494627475739,
0.08218107372522354,
0.13263069093227386,
0.14031824469566345,
0.2634938657283783,
-0.32392528653144836,
-0.18029072880744934,
-0.45639386773109436,
0.2561209499835968,
-0.09933295845985413,
-0.2700224816799164,
0.17431113123893738,
0.06126026809215546,
0.1472259759902954,
0.44315189123153687,
0.18563808500766754,
-0.04935001581907272,
-0.179705411195755,
0.14718127250671387,
0.10241534560918808,
0.05418529361486435,
0.2584625482559204,
0.19678768515586853,
0.3561036288738251,
0.1253363937139511,
-0.05753714591264725,
0.2302037626504898,
-0.22128842771053314,
0.4721595048904419,
-0.14290688931941986,
0.11937881261110306,
0.1985500454902649,
0.3421795666217804,
-0.189366415143013,
-0.3135693073272705,
0.12702281773090363,
0.1643792688846588,
0.02019502967596054,
-0.1725674271583557,
-0.01712065376341343,
-0.1260855495929718,
0.01824456825852394,
-0.09078912436962128,
-0.15197423100471497,
0.12262047827243805,
-0.3169514536857605,
-0.0013955645263195038,
0.20661546289920807,
-0.15970806777477264,
0.36538854241371155,
-0.05664733797311783,
0.15859255194664001,
-0.007985582575201988,
0.28315460681915283,
0.07478590309619904,
-0.31792929768562317,
-0.08703767508268356,
0.2422301471233368,
0.16899283230304718,
-0.14502957463264465,
0.2225511074066162,
-0.3254040479660034,
-0.0602196529507637,
-0.14082592725753784,
-0.40857505798339844,
0.1838688850402832,
-0.07235832512378693,
0.0008290465921163559,
0.17438197135925293,
0.21670052409172058,
0.13927213847637177,
-0.2080143839120865,
0.24166841804981232,
-0.22752267122268677,
-0.15884166955947876,
-0.13310816884040833,
0.16644877195358276,
0.020797934383153915,
-0.22990553081035614,
-0.45007655024528503,
0.057182565331459045,
-0.32450881600379944,
-0.057720497250556946,
-0.07618828117847443,
0.08416159451007843,
0.3240382969379425,
-0.10001156479120255,
-0.3310762345790863,
0.0012294896878302097,
-0.09467681497335434,
-0.3253108561038971,
-0.37461161613464355,
-0.055823225528001785,
-0.29724082350730896,
-0.18802671134471893,
0.27460160851478577,
0.2750634551048279,
0.4546397030353546,
-0.02312488481402397,
-0.3777462840080261,
0.1445906162261963,
0.00848677009344101,
0.09862326085567474,
-0.09989391267299652,
0.06753268092870712,
0.20694886147975922,
0.06626985967159271,
-0.287381112575531,
-0.14123164117336273,
-0.21148519217967987,
0.10500898957252502,
0.017274796962738037,
0.05911500006914139,
-0.4267329275608063,
0.4100664258003235,
-0.037578195333480835,
0.5490913987159729,
-0.10415780544281006,
-0.031056884676218033,
0.12560003995895386,
-0.013538433238863945,
0.3832729160785675,
0.0036824047565460205,
-0.6165409088134766,
0.2902320921421051,
0.024818778038024902,
-0.34451067447662354,
0.35510969161987305,
-0.22640958428382874,
-0.1300182044506073,
-0.2673759162425995,
-0.0771576538681984,
-0.17460885643959045,
-0.449823796749115,
0.025516696274280548,
-0.20880436897277832,
0.07296201586723328,
0.20031441748142242,
0.030936524271965027,
-0.06089988350868225,
0.052048880606889725,
-0.08379444479942322,
0.04530026763677597,
0.028376907110214233,
-0.15801377594470978,
-0.12034629285335541,
-0.0958499163389206,
-0.17222535610198975,
0.09099609404802322,
-0.1895667463541031,
0.19825413823127747,
-0.14230594038963318,
0.02576710283756256,
0.020831912755966187,
-0.1646099090576172,
0.3973773717880249,
-0.3602279722690582,
0.05089115351438522,
-0.01812306046485901,
-0.20062093436717987,
0.10690849274396896,
0.06311719119548798,
-0.24631747603416443,
0.5584308505058289,
0.5424792766571045,
0.26015564799308777,
-0.04972650110721588,
-0.11602254956960678,
0.5552569627761841,
-0.11540785431861877,
-0.19423362612724304,
-0.10417179018259048,
-0.20992188155651093,
-0.17546537518501282,
-0.37111636996269226,
0.10815944522619247,
0.10752665251493454,
0.02211976982653141,
-0.29368022084236145,
-0.0606909915804863,
-0.11376859247684479,
-0.02029678225517273,
-0.0793541967868805,
-0.02476155385375023,
-0.03897514194250107,
0.015422293916344643,
0.09024752676486969,
-0.0835644081234932,
0.3888970613479614,
0.1646968275308609,
0.5397228002548218,
0.08919056504964828,
0.14820705354213715,
0.15421509742736816,
-0.2147735208272934,
0.2917998433113098,
0.4034799635410309,
0.06179080158472061,
-0.031314700841903687,
0.222690612077713,
0.15855556726455688,
-0.005971918813884258,
0.05798645690083504,
-0.05500918626785278,
0.10920535773038864,
-0.2056742161512375,
0.10552245378494263,
-0.046120785176754,
-0.08931636810302734,
-0.04616086930036545,
0.008615747094154358,
0.04200844094157219,
-0.16193179786205292,
0.27308881282806396,
0.1949273645877838,
0.7672422528266907,
0.05029568076133728,
0.11038769781589508,
-0.12508803606033325,
0.005989242345094681,
0.29611003398895264,
-0.2894287705421448,
0.09976336359977722,
-0.32220959663391113,
-0.34924089908599854,
0.016540134325623512,
-0.02153194323182106,
0.1179116815328598,
0.02720469981431961,
-0.4023892283439636,
0.04054702818393707,
0.0060712918639183044,
0.5544443130493164,
-0.026508232578635216,
0.1448202133178711,
-0.15559375286102295,
-0.024151291698217392,
-0.03183894231915474,
0.2324475646018982,
0.10130126029253006,
0.11308355629444122,
-0.30457448959350586,
-0.17454637587070465,
0.2682570517063141,
-0.010043151676654816,
-0.22559787333011627,
0.1234937384724617,
-0.361257940530777,
-0.08120600879192352,
-0.36338120698928833,
-0.2963792681694031,
0.2958163917064667,
-0.07232151925563812,
0.7129165530204773,
0.4167621433734894,
-0.06916099041700363,
0.3108191192150116,
0.06265732645988464,
0.02387058548629284,
-0.041921261698007584,
-0.07979201525449753,
0.03352143242955208,
-0.1244860365986824,
-0.4188070595264435,
0.08418086916208267,
0.10870040953159332,
-0.11257869005203247,
0.11838367581367493,
0.05851129814982414,
-0.08821512758731842,
-0.3775949776172638,
0.008319104090332985,
0.1802425980567932,
-0.0027102120220661163,
-0.41863173246383667,
0.26898762583732605,
-0.108123779296875,
-0.02217787876725197,
0.023079216480255127,
0.147264301776886,
-0.29637807607650757,
-0.07593235373497009,
0.31251969933509827,
0.257869690656662,
-0.11424140632152557,
0.5229603052139282,
0.05048345401883125,
0.011361561715602875,
-0.4594845771789551,
-0.07483305782079697,
0.029914479702711105,
-0.28657978773117065,
0.21996594965457916,
-0.06922267377376556,
-0.26146936416625977,
-0.035282477736473083,
0.46045607328414917,
0.09788323938846588,
0.46538078784942627,
-0.21115532517433167,
-0.15575462579727173,
-0.4997688829898834,
0.08222906291484833,
-0.09151636064052582,
0.1893339306116104,
-0.02508244290947914,
0.33255961537361145,
-0.07400618493556976,
0.26624158024787903,
-0.5159735679626465,
0.05765333026647568,
-0.2037666290998459,
0.11478839814662933,
0.009829365648329258,
-0.327806293964386,
0.014310983940958977,
-0.268051415681839,
0.19313086569309235,
0.08665989339351654,
-0.018327945843338966,
-0.37731051445007324,
0.19800367951393127,
0.07388891279697418,
0.10379156470298767,
0.030310433357954025,
-0.08026068657636642,
-0.09668436646461487,
-0.12298347055912018,
-0.0180501751601696,
0.15757893025875092,
-0.04101771488785744,
0.2352875918149948,
0.019452035427093506,
-0.09964682161808014,
-0.0900946632027626,
-0.1480034440755844,
-0.0532054603099823,
0.3079654574394226,
-0.05307994782924652,
-0.35545533895492554,
0.18123272061347961,
-0.09832096099853516,
-0.12108536064624786,
0.1339825838804245,
0.07128021121025085,
0.11535041779279709,
0.6178685426712036,
0.006919696927070618,
-0.18436425924301147,
-0.19855298101902008,
0.24183246493339539,
0.43087977170944214,
0.05763043463230133,
-0.04718586429953575,
-0.09845700860023499,
0.06796135008335114,
0.4009338319301605,
-0.37649601697921753,
0.19739775359630585,
0.25056174397468567,
-0.08383838832378387,
0.2674309313297272,
0.2765969932079315,
0.22827792167663574,
-0.18822592496871948,
0.1804705560207367,
0.2705519199371338,
0.14653241634368896,
-0.07120727747678757,
0.2352960705757141,
0.3746924102306366,
-0.12954631447792053,
-0.039336707442998886,
0.2912762761116028,
0.0484747551381588,
0.20117777585983276,
0.1455807089805603,
-0.0184604674577713,
0.5443889498710632,
0.266135573387146,
-0.1316966861486435,
0.1172359436750412,
-0.15020069479942322,
0.35967203974723816,
0.06279247254133224,
0.22765745222568512,
-0.04860994219779968,
0.06748312711715698,
0.07991310954093933,
-0.052282724529504776,
-0.39534711837768555,
-0.2819724678993225,
0.23575152456760406,
-0.4248585104942322,
-0.09492284059524536,
-0.5066987872123718,
-0.07506803423166275,
-0.15381832420825958,
0.07773281633853912,
-0.13051412999629974,
0.2877275347709656,
0.23895885050296783,
0.07705212384462357,
0.006685823202133179,
-0.3013123869895935,
-0.18035012483596802,
-0.009459920227527618,
-0.0064294710755348206,
-0.22928586602210999,
0.42898550629615784,
0.14968807995319366,
-0.09199078381061554,
0.17590099573135376,
0.4243921637535095,
0.40036043524742126,
0.014897951856255531,
0.11470302939414978,
0.1160312071442604,
0.05802885815501213,
-0.18932867050170898,
-0.22398561239242554,
-0.051512688398361206,
0.08133117854595184,
0.05840735137462616,
0.14060825109481812,
0.29955989122390747,
-0.31495386362075806,
0.35226190090179443,
0.08542289584875107,
-0.24008658528327942,
-0.016897572204470634,
-0.014061607420444489,
0.31561022996902466,
-0.10668915510177612,
-0.09891501069068909,
0.024867765605449677,
-0.1418502777814865,
-0.15032383799552917,
0.33313751220703125,
-0.25664424896240234,
0.21977919340133667,
-0.11831431835889816,
0.1891147494316101,
-0.007592454552650452,
0.30658477544784546,
0.1790049821138382,
0.03418499231338501,
-0.3113238513469696,
-0.28802019357681274,
-0.33501264452934265,
0.19597528874874115,
-0.013690628111362457,
0.14129190146923065,
0.02140464261174202,
0.15254144370555878,
0.3306889832019806,
0.1224699392914772,
0.25567197799682617,
0.07555919885635376,
0.04015791416168213,
-0.11742721498012543,
-0.3544977903366089,
-0.023627672344446182,
-0.033619269728660583,
-0.10629779100418091,
0.04477700591087341,
-0.006587818264961243,
0.17644460499286652,
0.38067132234573364,
0.27370989322662354,
0.08475758135318756,
-0.13519585132598877,
0.254733681678772,
-0.304140567779541,
0.04105743020772934,
-0.04069323092699051,
0.09574058651924133,
-0.23164990544319153,
0.05238211899995804,
0.031865909695625305,
-0.37826836109161377,
-0.31049391627311707,
0.14567682147026062,
0.42578205466270447,
0.1936333179473877,
-0.13511313498020172,
0.18967795372009277,
-0.29043978452682495,
-0.08498803526163101,
0.08876006305217743,
0.21656177937984467,
-0.02081269770860672,
0.15898165106773376,
-0.0036238394677639008,
0.07231516391038895,
0.05427934601902962,
0.32273995876312256,
-0.08442601561546326,
0.15005187690258026,
-0.4187846779823303,
-0.45653918385505676,
0.5582324266433716,
0.07874730229377747,
-0.26983708143234253,
-0.12104382365942001,
0.3814299702644348,
0.12836025655269623,
-0.022717876359820366,
-0.2609163522720337,
0.06866157799959183,
0.13489238917827606,
-0.13461533188819885,
-0.2927551865577698,
0.1359069049358368,
0.03652181103825569,
0.009096108376979828,
0.07197092473506927,
0.17521798610687256,
0.22287261486053467,
-0.3231096565723419,
-0.2675729990005493,
0.10274466872215271
] |
|
https://github.com/huggingface/datasets/pull/291 | break statement not required | If I'm not wrong this function returns None if no main class was found.
I think it makes things less clear not to have a return at the end of the function.
I guess we can have one return in the for loop instead of the break statement, AND one return at the end to explicitly return None.
What do you think ? | 63 | text: break statement not required
If I'm not wrong this function returns None if no main class was found.
I think it makes things less clear not to have a return at the end of the function.
I guess we can have one return in the for loop instead of the break statement, AND one return at the end to explicitly return None.
What do you think ? | [
0.11265362799167633,
-0.30022644996643066,
-0.2781677544116974,
0.10378575325012207,
0.05164824053645134,
-0.4045545160770416,
-0.0844486802816391,
0.09467089176177979,
0.1181541383266449,
0.01695069670677185,
0.2818412184715271,
-0.03639885410666466,
-0.0837249830365181,
0.05026515573263168,
-0.27121400833129883,
-0.11775423586368561,
-0.05143747478723526,
0.31650489568710327,
0.10685426741838455,
-0.3188539147377014,
-0.2982666790485382,
0.1413164883852005,
-0.3306843042373657,
0.11660557240247726,
-0.09092671424150467,
-0.22804296016693115,
-0.0012532584369182587,
0.3569570779800415,
-0.1272886097431183,
-0.057799648493528366,
0.34659332036972046,
-0.1163167953491211,
-0.26520371437072754,
0.20933042466640472,
-0.0001025010205921717,
-0.26048094034194946,
0.39572858810424805,
-0.23063631355762482,
-0.012077569961547852,
0.04322006553411484,
-0.12294487655162811,
-0.008295923471450806,
-0.07804782688617706,
-0.41365161538124084,
0.12331003695726395,
0.20404952764511108,
-0.047402843832969666,
-0.22480328381061554,
0.22582808136940002,
0.07350927591323853,
0.3095140755176544,
-0.1632297933101654,
-0.17872799932956696,
0.010963881388306618,
0.3885037302970886,
-0.07818073034286499,
0.07484781742095947,
-0.2650041878223419,
0.43269360065460205,
-0.16431313753128052,
-0.1488383412361145,
0.3667806088924408,
-0.02398711070418358,
-0.16580723226070404,
0.4550143778324127,
-0.14780470728874207,
0.06719982624053955,
-0.15414389967918396,
0.07381171733140945,
0.275299996137619,
0.202137291431427,
0.03865949437022209,
0.17322871088981628,
0.011934742331504822,
0.18817409873008728,
-0.3677826225757599,
-0.02906404435634613,
-0.023340703919529915,
-0.22749276459217072,
0.14768990874290466,
0.07016714662313461,
-0.38308554887771606,
-0.26995575428009033,
0.07088898867368698,
-0.03915868699550629,
0.159540593624115,
-0.0477270781993866,
0.10818001627922058,
-0.08334578573703766,
0.31078529357910156,
-0.20335213840007782,
0.10035824775695801,
-0.05111305043101311,
-0.0914522260427475,
0.12986640632152557,
-0.4810621440410614,
0.2982471287250519,
0.35906916856765747,
-0.10406237095594406,
0.3539479374885559,
-0.24106694757938385,
0.05716262757778168,
0.2092491090297699,
-0.055540941655635834,
0.27994805574417114,
-0.1242094337940216,
0.15784050524234772,
0.0548219233751297,
0.14895550906658173,
-0.36690089106559753,
0.12279868125915527,
0.18711534142494202,
-0.0051559037528932095,
0.09325061738491058,
0.17492525279521942,
0.3569430410861969,
-0.012296103872358799,
0.022345688194036484,
0.02026970498263836,
0.1664915382862091,
-0.39681050181388855,
-0.18132928013801575,
-0.06965572386980057,
0.39246079325675964,
0.41224992275238037,
0.2565836012363434,
0.1220032125711441,
-0.2769140601158142,
-0.17638173699378967,
-0.28531014919281006,
-0.1897526979446411,
0.22589094936847687,
-0.17392978072166443,
-0.14041201770305634,
-0.21845299005508423,
0.17992329597473145,
-0.10767564177513123,
0.016579285264015198,
0.20058614015579224,
0.04537045210599899,
0.07882189005613327,
-0.4115581214427948,
0.779283881187439,
0.16539837419986725,
-0.2816561162471771,
-0.06640960276126862,
0.28338339924812317,
0.046041324734687805,
0.026122085750102997,
0.4745626151561737,
0.14710724353790283,
-0.4365108609199524,
-0.1305704563856125,
0.34347641468048096,
0.12497974932193756,
0.19791777431964874,
0.48597201704978943,
0.317786306142807,
-0.09824805706739426,
0.14570683240890503,
0.5362128615379333,
-0.1470569223165512,
-0.30458733439445496,
-0.3276418447494507,
-0.1748364120721817,
0.36981528997421265,
-0.0483909510076046,
0.1560191810131073,
-0.10255469381809235,
-0.16065673530101776,
-0.289346843957901,
-0.06563843786716461,
-0.1618049144744873,
0.38882747292518616,
-0.4840394854545593,
0.13185204565525055,
0.2523258626461029,
-0.2962220013141632,
-0.07571368664503098,
0.26762667298316956,
-0.13746175169944763,
-0.015445631928741932,
-0.003744356334209442,
0.030540961772203445,
-0.11759230494499207,
-0.009104985743761063,
0.17954304814338684,
-0.025051258504390717,
-0.08995511382818222,
-0.06705232709646225,
-0.22994829714298248,
0.2596910297870636,
0.32508277893066406,
-0.09468244016170502,
0.2091398686170578,
0.003847964107990265,
-0.22364261746406555,
0.17326053977012634,
0.26283448934555054,
-0.25091812014579773,
-0.23722520470619202,
-0.13292331993579865,
0.5574471950531006,
-0.04496429115533829,
-0.16627973318099976,
-0.13746771216392517,
0.09146738052368164,
-0.0031968913972377777,
-0.02724209800362587,
0.17071905732154846,
0.1749044954776764,
-0.04128815606236458,
0.1216341033577919,
-0.11404795944690704,
-0.002576809376478195,
0.03630497306585312,
0.3741649389266968,
-0.13689588010311127,
-0.11276930570602417,
-0.2420576810836792,
-0.19154269993305206,
0.07675422728061676,
-0.38774850964546204,
-0.05712871998548508,
0.037174999713897705,
0.118349090218544,
-0.09876757115125656,
0.2462785542011261,
-0.25709205865859985,
0.24188992381095886,
0.21652784943580627,
-0.14083248376846313,
0.2947109639644623,
0.472817987203598,
0.15948590636253357,
-0.4672442674636841,
-0.34829071164131165,
-0.13433800637722015,
-0.00598619319498539,
-0.2566746771335602,
-0.12023643404245377,
0.1627044826745987,
0.1656142771244049,
-0.1573559194803238,
0.12401024252176285,
0.38789433240890503,
0.05765337496995926,
0.12935256958007812,
0.03791462630033493,
-0.29154473543167114,
-0.41444599628448486,
-0.006486531347036362,
-0.44289135932922363,
0.12382940948009491,
0.1717040091753006,
0.154822438955307,
-0.041210420429706573,
0.08888427913188934,
-0.13743442296981812,
-0.011182054877281189,
0.4313642978668213,
-0.2519444525241852,
0.24699002504348755,
0.0685063898563385,
0.3765641450881958,
-0.0689009428024292,
0.07444680482149124,
0.045006681233644485,
0.31880778074264526,
0.3025662899017334,
-0.2020511031150818,
-0.13484597206115723,
0.09594740718603134,
-0.10129520297050476,
0.3259340822696686,
0.1512063890695572,
0.3025074005126953,
0.03948429971933365,
-0.34831345081329346,
-0.161320760846138,
-0.2341773808002472,
-0.4032583236694336,
-0.19171398878097534,
-0.0986623540520668,
-0.0317971296608448,
0.07675205916166306,
0.30334895849227905,
-0.24709951877593994,
0.053896691650152206,
0.1035885140299797,
0.018315358087420464,
-0.2683922052383423,
0.05492735654115677,
-0.3854750096797943,
-0.14051325619220734,
-0.10742879658937454,
-0.136887326836586,
0.49236881732940674,
-0.0003334302455186844,
0.13952605426311493,
-0.2630462050437927,
-0.17043504118919373,
-0.06920037418603897,
0.23854666948318481,
-0.04737860709428787,
-0.0703834742307663,
0.18801350891590118,
-0.12669149041175842,
-0.18917861580848694,
0.17615048587322235,
-0.2062280774116516,
0.15304605662822723,
-0.36135542392730713,
-0.5739235877990723,
0.6905297040939331,
0.14373794198036194,
-0.025870230048894882,
0.17547369003295898,
0.06122414767742157,
-0.42543673515319824,
0.011900870129466057,
-0.11775442957878113,
0.274823933839798,
-0.006850556004792452,
-0.3460924029350281,
-0.26521602272987366,
0.17062894999980927,
-0.20742376148700714,
-0.03617978096008301,
-0.13615688681602478,
0.22151239216327667,
0.26131653785705566,
-0.13818597793579102,
0.36137232184410095,
-0.026688171550631523,
-0.17982807755470276,
-0.2711641788482666,
-0.12170574069023132,
0.08041596412658691,
0.13363294303417206,
0.012567691504955292,
0.33461451530456543,
-0.09035252034664154,
0.12818355858325958,
-0.23950812220573425,
-0.08903037011623383,
-0.27655550837516785,
0.16603535413742065,
-0.17122268676757812,
-0.6124061346054077,
0.29142341017723083,
0.021554701030254364,
-0.19503168761730194,
-0.2836058437824249,
-0.08096587657928467,
0.08094921708106995,
0.1818549633026123,
-0.2155710756778717,
0.08330234885215759,
-0.1741432547569275,
-0.11639348417520523,
0.02340288832783699,
0.3423982262611389,
0.011690668761730194,
0.15381698310375214,
-0.41009098291397095,
0.2661561071872711,
0.48242637515068054,
0.27827227115631104,
-0.16467656195163727,
0.07478572428226471,
0.14416447281837463,
-0.34912723302841187,
-0.005004458129405975,
-0.18030905723571777,
-0.09290207922458649,
-0.2288816273212433,
0.2790272533893585,
-0.08712083101272583,
-0.1446099728345871,
0.1777813732624054,
0.32886025309562683,
-0.18869853019714355,
-0.2713121175765991,
0.42820730805397034,
0.16730807721614838,
0.4596688449382782,
-0.11282533407211304,
0.10277584940195084,
0.2764258086681366,
-0.09513698518276215,
-0.11085659265518188,
-0.220086932182312,
-0.09048112481832504,
0.054730840027332306,
0.06211613118648529,
-0.18558663129806519,
-0.011829443275928497,
-0.291765421628952,
-0.03901222348213196,
0.1451452076435089,
0.4979861378669739,
-0.1764737367630005,
-0.33799445629119873,
0.25064072012901306,
-0.18314425647258759,
0.25980132818222046,
0.0406491719186306,
-0.5060739517211914,
0.30377402901649475,
0.37356409430503845,
-0.2670814096927643,
-0.31344765424728394,
-0.0755690187215805,
0.2651415467262268,
-0.44769608974456787,
0.00599568709731102,
-0.19690890610218048,
-0.3780656158924103,
-0.14046528935432434,
-0.03964753821492195,
0.379882276058197,
0.3464600741863251,
0.0458734892308712,
-0.0685325488448143,
-0.11353377997875214,
0.337769091129303,
-0.21311920881271362,
0.0721062421798706,
-0.348002165555954,
0.15155574679374695,
0.012793653644621372,
-0.6677269339561462,
-0.15307025611400604,
0.19870254397392273,
-0.09721897542476654,
0.08423830568790436,
-0.28348806500434875,
0.37293076515197754,
0.2933464050292969,
-0.0810789167881012,
0.3663433790206909,
0.46579477190971375,
-0.00849466398358345,
-0.11642362922430038,
-0.14291587471961975,
0.2776316702365875,
-0.037161052227020264,
-0.3250153064727783,
-0.06866973638534546,
-0.17469742894172668,
-0.21860720217227936,
0.1934150606393814,
0.07716726511716843,
-0.35008370876312256,
0.012481003999710083,
0.24846431612968445,
0.5260787606239319,
-0.21070289611816406,
0.12761949002742767,
-0.0805528536438942,
0.9198339581489563,
0.11752237379550934,
0.0617060661315918,
0.1059490293264389,
-0.0314958393573761,
0.5585852265357971,
-0.1272633969783783,
0.24776311218738556,
-0.13128232955932617,
-0.18858802318572998,
-0.09640167653560638,
-0.016635246574878693,
-0.03309035301208496,
-0.13707466423511505,
-0.18417610228061676,
0.27429383993148804,
0.04847313463687897,
0.3110158443450928,
-0.09626802802085876,
0.18491439521312714,
-0.009583119302988052,
0.2581416368484497,
-0.16193604469299316,
0.2054939866065979,
-0.04640663415193558,
0.18545381724834442,
-0.2880331873893738,
-0.07601732760667801,
-0.020646166056394577,
-0.06203527748584747,
-0.2059909850358963,
-0.1282200813293457,
-0.3585321009159088,
-0.013154290616512299,
0.046655599027872086,
-0.25832706689834595,
0.3414345681667328,
-0.17829737067222595,
0.04876723885536194,
0.0369119867682457,
-0.10018940269947052,
-0.03608791157603264,
0.12256132066249847,
0.20025423169136047,
0.07192444056272507,
-0.028395429253578186,
0.23905882239341736,
0.19666501879692078,
0.0023686885833740234,
0.39049914479255676,
-0.17880335450172424,
-0.12479889392852783,
-0.15075823664665222,
0.10368148982524872,
0.2632623314857483,
-0.1744784563779831,
0.0968940407037735,
0.3678056597709656,
-0.011955143883824348,
-0.1150178611278534,
0.20555813610553741,
0.15413841605186462,
-0.10733425617218018,
-0.29034996032714844,
0.0878460705280304,
-0.2570396065711975,
0.01024710014462471,
-0.058846913278102875,
0.23733624815940857,
-0.053907349705696106,
-0.06921672821044922,
0.2352605015039444,
-0.017498096451163292,
-0.4566519260406494,
0.2400713860988617,
0.17814655601978302,
-0.009683448821306229,
0.3559425175189972,
0.22864772379398346,
0.1460622102022171,
-0.15389321744441986,
0.1925666779279709,
-0.19592255353927612,
0.5793594717979431,
-0.254202276468277,
0.16502952575683594,
0.02113647200167179,
0.1781769096851349,
-0.10450677573680878,
0.24440577626228333,
-0.10239313542842865,
0.13718554377555847,
0.4381093978881836,
-0.14652347564697266,
-0.4421790540218353,
-0.24569931626319885,
-0.13632790744304657,
-0.24975252151489258,
-0.1570345163345337,
-0.029246434569358826,
-0.039277657866477966,
0.02450212463736534,
0.18700110912322998,
0.43407106399536133,
-0.10294574499130249,
-0.32617658376693726,
0.4751342535018921,
0.1015109047293663,
0.3155045807361603,
0.07673893123865128,
0.2885664701461792,
0.07093150168657303,
-0.06030051037669182,
0.19943851232528687,
-0.07349936664104462,
-0.017404474318027496,
0.1313415914773941,
0.3915500342845917,
0.013724502176046371,
0.047830112278461456,
-0.38732171058654785,
-0.45430222153663635,
0.12557756900787354,
0.13842535018920898,
-0.003315780544653535,
0.019596971571445465,
0.2176208794116974,
-0.24743369221687317,
0.2102845162153244,
0.3324122726917267,
-0.026169203221797943,
0.2864709496498108,
0.013260029256343842,
-0.03354211896657944,
-0.24451430141925812,
-0.18013639748096466,
0.06278888136148453,
-0.029737122356891632,
-0.5809701681137085,
-0.12128843367099762,
-0.23072627186775208,
0.3699118196964264,
-0.19026565551757812,
0.49954840540885925,
-0.19422359764575958,
0.09853458404541016,
0.03335896506905556,
0.5442554354667664,
-0.27067819237709045,
-0.04075983166694641,
0.17437441647052765,
-0.011629185639321804,
-0.0438276007771492,
0.16837531328201294,
0.40831321477890015,
0.25978735089302063,
-0.20299138128757477,
-0.17766393721103668,
0.25116243958473206,
-0.03426484391093254,
0.21063131093978882,
0.4595436453819275,
0.2565125524997711,
0.4636133313179016,
-0.23969072103500366,
0.33573856949806213,
-0.08994113653898239,
0.016072750091552734,
0.12434358894824982,
0.43169862031936646,
0.16947829723358154,
-0.09582658857107162,
-0.048061370849609375,
-0.13909703493118286,
-0.16266728937625885,
-0.15384502708911896,
-0.14824482798576355,
-0.29404786229133606,
-0.26315227150917053,
0.25244656205177307,
-0.271253764629364,
-0.030521318316459656,
-0.07866740971803665,
-0.11048367619514465,
-0.025104735046625137,
-0.16403353214263916,
-0.054718419909477234,
0.05887281149625778,
0.05505424365401268,
0.2626936733722687,
0.14796024560928345,
-0.2257843315601349,
0.3306681215763092,
-0.24453942477703094,
-0.0791354775428772,
0.1687091588973999,
0.211168572306633,
0.28171685338020325,
0.1921333521604538,
0.06352858990430832,
0.2343837320804596,
-0.0668330192565918,
-0.1165655255317688,
0.1818838119506836,
-0.1124286875128746,
-0.13403825461864471,
-0.10653902590274811,
0.10392521321773529,
0.09396468102931976,
0.06718131899833679,
0.24311870336532593,
-0.21918509900569916,
0.1729385405778885,
0.18869154155254364,
-0.0907326489686966,
-0.22261719405651093,
0.23484402894973755,
0.24215729534626007,
0.2218879759311676,
-0.4588552713394165,
0.2341841459274292,
-0.28096523880958557,
-0.18670852482318878,
-0.17764873802661896,
0.07027820497751236,
-0.08748409152030945,
-0.09494150429964066,
0.15658308565616608,
-0.11397899687290192,
0.10675884038209915,
0.09877447783946991,
0.08985158056020737,
-0.5255468487739563,
-0.23110376298427582,
-0.044758446514606476,
0.16109108924865723,
0.08445022255182266,
0.2039034068584442,
0.017517805099487305,
0.21242451667785645,
0.10028345882892609,
0.07568630576133728,
0.2090129256248474,
-0.04106726497411728,
0.017704743891954422,
-0.208873450756073,
-0.12330719828605652,
0.0012523829936981201,
-0.16256941854953766,
-0.33737537264823914,
0.11670361459255219,
0.07690422981977463,
-0.003863345831632614,
-0.026559188961982727,
0.28898265957832336,
0.02644764631986618,
-0.13952501118183136,
0.08272077143192291,
0.21541783213615417,
0.15637552738189697,
0.07223031669855118,
-0.33083051443099976,
0.16563680768013,
-0.1343253254890442,
0.5387205481529236,
0.20184212923049927,
-0.18015407025814056,
0.3564806282520294,
0.28188082575798035,
0.06331555545330048,
0.03738008439540863,
0.014511780813336372,
-0.021545251831412315,
0.1163027435541153,
0.20127975940704346,
0.3009486496448517,
-0.5484350919723511,
0.11414740234613419,
-0.15688039362430573,
0.09165385365486145,
-0.28784415125846863,
-0.10698040574789047,
-0.08161579072475433,
0.05897294729948044,
-0.4569305181503296,
-0.09731072187423706,
0.24763117730617523,
-0.02543047070503235,
0.015173401683568954,
-0.12260335683822632,
0.5180808901786804,
0.1629161536693573,
0.13018448650836945,
-0.43508997559547424,
-0.24555310606956482,
0.1336071789264679,
0.14891281723976135,
-0.5356963872909546,
-0.06331226229667664,
-0.49161064624786377,
-0.09776918590068817,
-0.07500703632831573,
0.08113490045070648,
-0.07708196341991425,
-0.12620677053928375,
0.023662474006414413,
-0.26952531933784485
] |
|
https://github.com/huggingface/datasets/pull/289 | update xsum | Looks cool!
@mariamabarham can you add a detailed description here what exactly is changed and how the user can load xsum now? | This PR makes the following update to the xsum dataset:
- Manual download is not required anymore
- dataset can be loaded as follow: `nlp.load_dataset('xsum')`
**Important**
Instead of using on outdated url to download the data: "https://raw.githubusercontent.com/EdinburghNLP/XSum/master/XSum-Dataset/XSum-TRAINING-DEV-TEST-SPLIT-90-5-5.json"
a more up-to-date url stored here: https://s3.amazonaws.com/datasets.huggingface.co/summarization/xsum.tar.gz is used
, so that the user does not need to manually download the data anymore.
There might be slight breaking changes here for xsum. | 22 | text: update xsum
This PR makes the following update to the xsum dataset:
- Manual download is not required anymore
- dataset can be loaded as follow: `nlp.load_dataset('xsum')`
**Important**
Instead of using on outdated url to download the data: "https://raw.githubusercontent.com/EdinburghNLP/XSum/master/XSum-Dataset/XSum-TRAINING-DEV-TEST-SPLIT-90-5-5.json"
a more up-to-date url stored here: https://s3.amazonaws.com/datasets.huggingface.co/summarization/xsum.tar.gz is used
, so that the user does not need to manually download the data anymore.
There might be slight breaking changes here for xsum.
Looks cool!
@mariamabarham can you add a detailed description here what exactly is changed and how the user can load xsum now? | [
0.11225791275501251,
-0.14926494657993317,
-0.10636976361274719,
-0.1422634720802307,
0.14913132786750793,
-0.008825227618217468,
-0.2829877436161041,
0.3218343257904053,
0.22050033509731293,
0.20055034756660461,
-0.17914891242980957,
0.5258444547653198,
0.14961546659469604,
0.06331264227628708,
0.2599472999572754,
-0.21930980682373047,
0.10438410192728043,
0.08521751314401627,
-0.07513326406478882,
-0.10021418333053589,
-0.16337598860263824,
0.003483705222606659,
-0.24863556027412415,
-0.011233918368816376,
-0.17328691482543945,
0.0423835851252079,
-0.07918771356344223,
0.3562099039554596,
-0.16786018013954163,
-0.6019492745399475,
0.17874160408973694,
0.14861245453357697,
0.06304837763309479,
0.009788818657398224,
-0.0001091260855901055,
-0.1594477891921997,
0.29754799604415894,
0.09835400432348251,
-0.30273035168647766,
0.07020623236894608,
-0.0687599703669548,
-0.2580229341983795,
0.03430984169244766,
-0.3268563151359558,
-0.024434871971607208,
-0.024720333516597748,
0.4029228091239929,
0.08446517586708069,
0.09768911451101303,
0.049399878829717636,
0.18855535984039307,
0.13429251313209534,
0.22231201827526093,
-0.20128433406352997,
-0.04799050837755203,
-0.4259352684020996,
0.09534875303506851,
0.3791763186454773,
0.4710479974746704,
0.4269552230834961,
0.22338300943374634,
0.13664573431015015,
-0.14024600386619568,
-0.1316438615322113,
0.32057616114616394,
-0.026059947907924652,
0.5393527746200562,
-0.35615432262420654,
-0.1903378963470459,
0.11589634418487549,
0.675993025302887,
-0.0013233236968517303,
0.09878575801849365,
0.061604805290699005,
0.13942594826221466,
-0.29722651839256287,
0.1103222519159317,
0.1649738997220993,
-0.140229269862175,
-0.015227630734443665,
-0.150203138589859,
-0.2461211234331131,
-0.2649933099746704,
0.05701643228530884,
0.10572314262390137,
0.25425195693969727,
-0.15941254794597626,
0.032789845019578934,
0.022603020071983337,
0.17926916480064392,
-0.03565199300646782,
0.14832369983196259,
0.12820523977279663,
-0.01011201087385416,
-0.011846024543046951,
-0.31775665283203125,
0.02786564826965332,
0.03368541598320007,
-0.01993635669350624,
0.09830014407634735,
-0.03881695866584778,
0.2916906476020813,
-0.31946516036987305,
0.1338001787662506,
0.029520850628614426,
0.011288642883300781,
0.42736634612083435,
-0.43304961919784546,
0.1358119696378708,
0.1379469335079193,
0.30664828419685364,
0.09270483255386353,
-0.3471823036670685,
0.12352099269628525,
-0.42790138721466064,
0.15565916895866394,
-0.04622310772538185,
-0.17047922313213348,
-0.3110126554965973,
0.20049190521240234,
0.07498101890087128,
-0.12125994265079498,
-0.2884048521518707,
0.06267596036195755,
-0.1383083015680313,
0.3017770051956177,
0.08875590562820435,
-0.14296168088912964,
-0.21816056966781616,
-0.34960973262786865,
-0.09856320172548294,
0.11573180556297302,
-0.18014320731163025,
-0.07667766511440277,
-0.04978072643280029,
0.018630491569638252,
0.3095683753490448,
-0.11639636009931564,
-0.02517899125814438,
-0.12382683902978897,
0.02616923861205578,
0.3688989579677582,
-0.06313183158636093,
0.17966331541538239,
0.15525740385055542,
-0.08853355050086975,
0.08719958364963531,
-0.03060396946966648,
-0.16034948825836182,
0.48995763063430786,
-0.2905939817428589,
-0.3077976703643799,
-0.11818200349807739,
0.22547239065170288,
-0.09822679311037064,
-0.4534585177898407,
-0.031178034842014313,
0.19756172597408295,
-0.1883704960346222,
0.04225971922278404,
0.2362302839756012,
0.009616618975996971,
-0.056581929326057434,
-0.11388128250837326,
-0.049895577132701874,
-0.03149065375328064,
-0.4745136499404907,
-0.010775435715913773,
0.10949747264385223,
-0.39361464977264404,
0.06764580309391022,
-0.15533272922039032,
-0.12941324710845947,
0.2078472077846527,
0.2927062213420868,
0.012547694146633148,
0.07659745216369629,
-0.5179913640022278,
-0.1642404943704605,
-0.14214499294757843,
-0.2909333109855652,
-0.13292869925498962,
0.05329886078834534,
0.18689733743667603,
-0.20268329977989197,
-0.08256131410598755,
0.11393791437149048,
0.05117746442556381,
0.17188750207424164,
-0.1592460423707962,
-0.36800917983055115,
-0.1855381578207016,
-0.008228644728660583,
0.2931599020957947,
-0.06931333243846893,
0.06851176917552948,
0.038572557270526886,
0.7650628685951233,
0.4682089686393738,
0.03238655626773834,
-0.05316720902919769,
0.1460818648338318,
0.04881732538342476,
0.04350581020116806,
-0.08485289663076401,
-0.2384129762649536,
0.15713150799274445,
-0.013839788734912872,
-0.07718849182128906,
0.25884518027305603,
0.47511088848114014,
-0.12113694101572037,
-0.4760673940181732,
-0.2758984863758087,
0.0051385797560215,
-0.38068869709968567,
0.09324203431606293,
0.005129285156726837,
0.13795940577983856,
0.042059365659952164,
-0.10113124549388885,
0.1206115335226059,
-0.6398622393608093,
-0.05231998488306999,
-0.361328125,
0.12597496807575226,
0.013688425533473492,
0.23010750114917755,
-0.24722284078598022,
0.2873418927192688,
-0.10735762864351273,
-0.40162670612335205,
-0.002066630870103836,
0.6757948398590088,
-0.3033284544944763,
-0.10199537873268127,
0.2703635096549988,
0.011057600378990173,
0.23090112209320068,
-0.21448741853237152,
0.25180432200431824,
-0.0991351455450058,
0.04052429646253586,
0.1805506944656372,
-0.39127013087272644,
0.16215966641902924,
-0.018255282193422318,
-0.3483281433582306,
-0.06388955563306808,
0.11320266872644424,
0.025266623124480247,
-0.21164079010486603,
0.13062766194343567,
0.02518581598997116,
-0.1467450112104416,
0.5078468918800354,
-0.3647019565105438,
-0.23745392262935638,
-0.2985829710960388,
0.2387496531009674,
0.24617895483970642,
-0.18410249054431915,
-0.1961667835712433,
0.07787137478590012,
-0.24478712677955627,
-0.16955026984214783,
-0.00599110871553421,
0.2290598303079605,
0.355923056602478,
0.25691428780555725,
0.030876945704221725,
0.3423912525177002,
0.1741659790277481,
-0.15148769319057465,
0.2305099219083786,
0.21345514059066772,
-0.270784467458725,
-0.09819120913743973,
-0.1786869913339615,
0.2628598213195801,
-0.25841420888900757,
0.11806905269622803,
0.3201771080493927,
0.3450525104999542,
0.04810728505253792,
-0.2670220136642456,
0.08395666629076004,
-0.5056774616241455,
0.03454035148024559,
0.02954106032848358,
0.20070038735866547,
-0.37443262338638306,
0.058407604694366455,
0.09805178642272949,
0.011590760201215744,
0.20723049342632294,
-0.13871805369853973,
0.4743650555610657,
-0.11139993369579315,
-0.07616562396287918,
0.012792132794857025,
-0.04279826208949089,
-0.09865257889032364,
0.20718485116958618,
-0.09978929162025452,
0.15399649739265442,
0.27040809392929077,
-0.35358402132987976,
0.09932775050401688,
-0.3456810712814331,
-0.5236716270446777,
-0.003356184810400009,
-0.2255968302488327,
-0.10050393640995026,
0.13714097440242767,
-0.012735635042190552,
0.0943758636713028,
-0.05096933990716934,
0.12120611220598221,
-0.35289400815963745,
-0.0650959238409996,
-0.4330316185951233,
0.019626585766673088,
-0.026918115094304085,
-0.2829189896583557,
-0.6360925436019897,
-0.17607390880584717,
-0.27268847823143005,
0.04725808650255203,
0.3183248043060303,
0.23159292340278625,
-0.03469034284353256,
-0.16346503794193268,
0.3497996926307678,
-0.03355305269360542,
-0.27971315383911133,
-0.3497759699821472,
-0.6213741898536682,
-0.08877398073673248,
-0.19071771204471588,
-0.3644603192806244,
-0.05552925914525986,
0.26508188247680664,
0.062356606125831604,
-0.1188402771949768,
-0.3633802533149719,
-0.4481292963027954,
-0.07591025531291962,
0.3229580521583557,
0.22105522453784943,
0.14117343723773956,
0.30946749448776245,
-0.24347268044948578,
-0.3102351725101471,
0.005814459174871445,
-0.19052264094352722,
-0.3900810778141022,
0.21236923336982727,
0.3832669258117676,
-0.09778551757335663,
-0.13916358351707458,
0.07987771928310394,
0.04249002784490585,
0.007309852167963982,
-0.07076595723628998,
0.025084901601076126,
-0.008489372208714485,
0.3809739351272583,
0.043422501534223557,
0.14434151351451874,
0.4114442467689514,
-0.1652262806892395,
0.2576223611831665,
0.06754195690155029,
0.08140488713979721,
-0.00255013071000576,
-0.055347658693790436,
-0.4382631182670593,
-0.02955811470746994,
-0.002625938504934311,
-0.08354933559894562,
-0.07164440304040909,
0.0836113840341568,
0.29466187953948975,
-0.10992163419723511,
-0.37052348256111145,
-0.008519834838807583,
-0.07748660445213318,
0.2801332473754883,
0.15063707530498505,
0.13697491586208344,
-0.8340708613395691,
0.25857940316200256,
-0.260485976934433,
0.46541720628738403,
-0.05818355083465576,
-0.018467508256435394,
0.09908309578895569,
-0.17896655201911926,
0.47597575187683105,
0.09090012311935425,
-0.05773840844631195,
-0.27044564485549927,
-0.07067086547613144,
0.18859298527240753,
0.09418459236621857,
-0.13768959045410156,
0.03327180817723274,
-0.2806355357170105,
0.37579789757728577,
0.530144453048706,
0.10795816779136658,
0.0059739574790000916,
-0.4648083746433258,
0.4422105550765991,
-0.03102685883641243,
-0.14324602484703064,
0.059747736901044846,
-0.20608067512512207,
-0.2126215100288391,
-0.2238558828830719,
0.18157625198364258,
-0.08497828990221024,
0.19602012634277344,
-0.13339318335056305,
0.1627109944820404,
0.15829645097255707,
0.3057080805301666,
0.001959599554538727,
0.0073738787323236465,
0.14441871643066406,
0.27296173572540283,
-0.3366698622703552,
0.09856720268726349,
-0.10215914249420166,
-0.06273539364337921,
0.2924693822860718,
-0.1810673177242279,
0.19258743524551392,
0.07381931692361832,
-0.16942043602466583,
0.3981371521949768,
0.2796081304550171,
0.22713162004947662,
-0.05710800737142563,
-0.11819404363632202,
0.17034411430358887,
-0.10471352934837341,
0.33515071868896484,
0.21125707030296326,
0.02412234991788864,
-0.17647673189640045,
-0.49614471197128296,
0.5562077164649963,
0.03789369761943817,
-0.10926751792430878,
0.28776928782463074,
0.11668306589126587,
0.009560471400618553,
-0.3374568819999695,
0.4138154983520508,
0.928240954875946,
0.051073651760816574,
0.35270047187805176,
0.21830198168754578,
0.032494768500328064,
0.8193400502204895,
-0.5664097666740417,
0.2923724055290222,
-0.16700291633605957,
0.10409381240606308,
-0.15966807305812836,
0.10231395065784454,
0.09718461334705353,
-0.2622354030609131,
-0.251798152923584,
0.12966562807559967,
0.10760299861431122,
-0.4033738672733307,
0.2963408827781677,
0.27962738275527954,
-0.3864905536174774,
-0.00960257463157177,
0.2197776436805725,
0.12315839529037476,
0.07687955349683762,
0.2922738492488861,
-0.08382382243871689,
-0.1356806457042694,
-0.04809755086898804,
-0.18598495423793793,
-0.10961222648620605,
0.1995677351951599,
0.40389484167099,
-0.046828970313072205,
-0.031102698296308517,
-0.13777142763137817,
0.03411928191781044,
0.260936439037323,
0.09378454089164734,
0.02498490922152996,
-0.17065280675888062,
0.34626105427742004,
-0.4695666432380676,
-0.06417065858840942,
0.4524252712726593,
0.14045117795467377,
0.3634868860244751,
-0.26767465472221375,
-0.3098795711994171,
0.2219265103340149,
-0.18936161696910858,
-0.25336161255836487,
-0.42434900999069214,
0.3123176097869873,
0.11314155161380768,
-0.10099973529577255,
-0.24370333552360535,
0.29961490631103516,
-0.39726588129997253,
-0.21268266439437866,
0.146333247423172,
-0.04394419491291046,
-0.1511574536561966,
0.029654718935489655,
0.032256629317998886,
-0.4965178072452545,
0.03573552519083023,
0.1512896716594696,
0.16558945178985596,
-0.05808286368846893,
0.4037446975708008,
-0.26421114802360535,
0.12358509004116058,
-0.2980092763900757,
-0.26416829228401184,
0.09589370340108871,
-0.23052436113357544,
-0.13788378238677979,
-0.026179203763604164,
0.14793162047863007,
0.22188031673431396,
0.2956935167312622,
0.09750114381313324,
0.2617751657962799,
-0.10350487381219864,
-0.3842701017856598,
-0.16942420601844788,
-0.07531207799911499,
-0.16632896661758423,
0.10894457995891571,
0.10537446290254593,
0.46332865953445435,
0.2919343411922455,
-0.1885373443365097,
-0.32775187492370605,
0.4169958233833313,
-0.15794263780117035,
0.08517390489578247,
0.18439827859401703,
0.08896149694919586,
0.2085021287202835,
0.03774469718337059,
0.024614615365862846,
0.020434241741895676,
-0.3334673047065735,
-0.15009188652038574,
-0.27555257081985474,
0.1498437374830246,
0.21327391266822815,
-0.1454169899225235,
-0.04231413081288338,
0.10051774978637695,
-0.0457097552716732,
0.3083382248878479,
-0.03287467360496521,
-0.1641976535320282,
-0.10782894492149353,
0.5770721435546875,
0.024186257272958755,
0.5138425827026367,
0.18418888747692108,
0.08450736105442047,
0.20985352993011475,
0.4965105652809143,
-0.011551083996891975,
0.050876397639513016,
-0.251743882894516,
-0.025531314313411713,
-0.47752299904823303,
0.061553582549095154,
0.2915160655975342,
0.021271247416734695,
0.14369350671768188,
-0.034936271607875824,
0.1470821648836136,
-0.40432271361351013,
0.12586219608783722,
0.5105752944946289,
-0.22929860651493073,
-0.2322736233472824,
0.17235827445983887,
0.19998425245285034,
-0.058058083057403564,
0.017113523557782173,
-0.0054307375103235245,
0.15214748680591583,
-0.35936132073402405,
-0.16474983096122742,
0.5884740948677063,
0.1480764001607895,
0.20754356682300568,
0.08364029228687286,
0.4870501160621643,
-0.30623549222946167,
0.21760740876197815,
0.19430534541606903,
-0.08860258013010025,
-0.1404430866241455,
0.2322821319103241,
0.023328151553869247,
-0.2162289023399353,
0.26525822281837463,
0.15019194781780243,
0.3454641103744507,
0.17468944191932678,
0.19005297124385834,
-0.3976661264896393,
0.017761528491973877,
0.18956692516803741,
0.5271921157836914,
0.04179123416543007,
0.10939973592758179,
0.23946934938430786,
0.541496992111206,
-0.18414871394634247,
0.22057320177555084,
-0.1383935958147049,
0.14107778668403625,
0.11782761663198471,
-0.04093242064118385,
-0.14636491239070892,
-0.22563886642456055,
0.07996934652328491,
0.07726159691810608,
0.0549546480178833,
-0.10757556557655334,
0.3475210964679718,
-0.10789892077445984,
-0.3117721676826477,
-0.8053665161132812,
-0.12898609042167664,
0.10938825458288193,
0.27057167887687683,
-0.19043098390102386,
-0.07749783247709274,
0.2979770302772522,
-0.05115840584039688,
0.32958677411079407,
0.2667250335216522,
0.14826656877994537,
0.29916664958000183,
0.06664963066577911,
-0.029247790575027466,
-0.11472992599010468,
0.1378365308046341,
0.16012755036354065,
0.09249190986156464,
0.4479001760482788,
-0.01415005698800087,
0.024152155965566635,
0.1820705533027649,
-0.17827968299388885,
0.26120656728744507,
0.09123671054840088,
0.0677710622549057,
-0.08440348505973816,
0.3510708212852478,
0.4350883662700653,
-0.15552911162376404,
-0.13971342146396637,
0.19476288557052612,
-0.2831343412399292,
0.24173179268836975,
-0.062112558633089066,
0.22669093310832977,
-0.02437579073011875,
-0.30899569392204285,
0.10781584680080414,
0.04126327484846115,
0.5512633919715881,
0.2922773063182831,
0.00942610576748848,
-0.23761960864067078,
-0.3476516604423523,
-0.5382190942764282,
0.21208588778972626,
0.11928609013557434,
-0.6259039640426636,
0.151114821434021,
0.02698451094329357,
-0.07803776115179062,
0.09460067003965378,
-0.1817811280488968,
-0.34790655970573425,
-0.10494901984930038,
-0.1121269017457962,
-0.4452500641345978,
0.364356130361557,
0.22782832384109497,
0.3342195451259613,
-0.08791396021842957,
-0.10672110319137573,
0.16679123044013977,
0.07918036729097366,
0.04241088777780533,
-0.23461215198040009,
0.14546866714954376,
0.054950784891843796,
0.4700707495212555,
0.3298134207725525,
0.06603353470563889,
0.20676292479038239,
-0.03839835524559021,
-0.11453825980424881,
-0.38499486446380615,
-0.02939012087881565,
-0.380769282579422,
0.08400008082389832,
0.1645197868347168,
0.0377110131084919,
-0.08646965026855469,
0.15062770247459412,
-0.06970576196908951,
0.4006655812263489,
-0.1877862960100174,
-0.14773134887218475,
-0.33012354373931885,
-0.16835471987724304,
-0.01651548594236374,
0.1629004329442978,
0.14429228007793427,
0.41813820600509644,
0.13668376207351685,
0.07885443419218063,
-0.6884371042251587,
-0.014696691185235977,
0.4841536283493042,
-0.08533420413732529,
-0.2501335144042969,
0.10883845388889313,
0.26138120889663696,
0.2578373849391937,
-0.326495885848999,
-0.39623066782951355,
0.05843216925859451,
0.3435932397842407,
0.11504235863685608,
-0.3345469534397125,
0.2997242212295532,
-0.13651734590530396,
-0.09202703833580017,
-0.0712435320019722,
0.1776326596736908,
-0.10666853934526443,
-0.1411748081445694,
-0.04302341863512993,
-0.28132879734039307
] |
https://github.com/huggingface/datasets/pull/289 | update xsum | This is a super useful PR :-) @sshleifer - maybe you can take a look at the updated version of xsum if you can use it for your use case. Now, one should be able to just load it with:
```python
nlp.load_datasets("xsum", ....) # no manual dir required anymore
```
| This PR makes the following update to the xsum dataset:
- Manual download is not required anymore
- dataset can be loaded as follow: `nlp.load_dataset('xsum')`
**Important**
Instead of using on outdated url to download the data: "https://raw.githubusercontent.com/EdinburghNLP/XSum/master/XSum-Dataset/XSum-TRAINING-DEV-TEST-SPLIT-90-5-5.json"
a more up-to-date url stored here: https://s3.amazonaws.com/datasets.huggingface.co/summarization/xsum.tar.gz is used
, so that the user does not need to manually download the data anymore.
There might be slight breaking changes here for xsum. | 50 | text: update xsum
This PR makes the following update to the xsum dataset:
- Manual download is not required anymore
- dataset can be loaded as follow: `nlp.load_dataset('xsum')`
**Important**
Instead of using on outdated url to download the data: "https://raw.githubusercontent.com/EdinburghNLP/XSum/master/XSum-Dataset/XSum-TRAINING-DEV-TEST-SPLIT-90-5-5.json"
a more up-to-date url stored here: https://s3.amazonaws.com/datasets.huggingface.co/summarization/xsum.tar.gz is used
, so that the user does not need to manually download the data anymore.
There might be slight breaking changes here for xsum.
This is a super useful PR :-) @sshleifer - maybe you can take a look at the updated version of xsum if you can use it for your use case. Now, one should be able to just load it with:
```python
nlp.load_datasets("xsum", ....) # no manual dir required anymore
```
| [
-0.029923146590590477,
-0.0962039977312088,
-0.12058126926422119,
-0.18365813791751862,
0.2970706820487976,
0.06781541556119919,
-0.07539917528629303,
0.4475516378879547,
0.270490825176239,
0.23796021938323975,
-0.27469971776008606,
0.5924943089485168,
-0.06738883256912231,
0.18904276192188263,
0.21740582585334778,
-0.10222382843494415,
-0.11317820101976395,
0.2485211044549942,
-0.22429701685905457,
-0.11107328534126282,
-0.0908668041229248,
0.03059539571404457,
-0.009862743318080902,
-0.04255722463130951,
-0.2640369236469269,
0.03228979930281639,
-0.061649344861507416,
0.3101736903190613,
-0.00945439375936985,
-0.444987952709198,
0.21879343688488007,
0.04596380889415741,
0.09542819857597351,
0.07965553551912308,
-0.00010076356556965038,
-0.002280227839946747,
0.1536523550748825,
-0.01948784664273262,
-0.36446771025657654,
-0.09166567027568817,
0.012319568544626236,
-0.1442779004573822,
0.1365157812833786,
-0.30782079696655273,
-0.15701144933700562,
0.019596755504608154,
0.3862006664276123,
0.03942521661520004,
0.3128039836883545,
0.12665238976478577,
0.27834606170654297,
0.17268335819244385,
0.11676427721977234,
-0.15514124929904938,
-0.046610407531261444,
-0.3343315124511719,
-0.0018904432654380798,
0.34181666374206543,
0.3136959671974182,
0.2262675166130066,
0.12433192878961563,
0.27957668900489807,
-0.0715569257736206,
-0.14142437279224396,
0.22285842895507812,
-0.03395809233188629,
0.5858703851699829,
-0.3335247039794922,
-0.23063242435455322,
0.13239499926567078,
0.4965948462486267,
-0.11904419213533401,
-0.06078058481216431,
-0.12316913902759552,
0.24801643192768097,
-0.34171709418296814,
0.12468890100717545,
0.2235526293516159,
-0.07123318314552307,
-0.018726106733083725,
-0.04179114103317261,
-0.1329784095287323,
-0.24419432878494263,
0.1718376725912094,
0.09147551655769348,
0.3071262240409851,
-0.14030838012695312,
-0.06670669466257095,
0.044294580817222595,
0.09634503722190857,
-0.13649360835552216,
0.19436001777648926,
0.13618244230747223,
0.002724156714975834,
-0.08869989216327667,
-0.3595697581768036,
0.11898429691791534,
-0.14519694447517395,
0.001591123640537262,
0.10088884830474854,
0.1171121820807457,
0.22477543354034424,
-0.34448742866516113,
0.07553961873054504,
0.013667557388544083,
0.06782235205173492,
0.38452354073524475,
-0.4211902618408203,
0.20217444002628326,
0.2024223953485489,
0.160795658826828,
0.11563298106193542,
-0.34332719445228577,
0.03773801401257515,
-0.2854881286621094,
0.1701374650001526,
-0.11017651855945587,
-0.12275960296392441,
-0.5046777129173279,
0.0020765261724591255,
0.057314611971378326,
0.09585045278072357,
-0.10618246346712112,
0.1613832712173462,
-0.07668175548315048,
0.3795391917228699,
0.037619493901729584,
0.06693346798419952,
-0.32942870259284973,
-0.2018846571445465,
-0.14676663279533386,
0.25471001863479614,
-0.2378227859735489,
-0.15649326145648956,
0.14894382655620575,
0.07166700065135956,
0.3294453024864197,
-0.2526557147502899,
0.04438798502087593,
-0.056692447513341904,
0.06746096163988113,
0.3272882401943207,
-0.14761656522750854,
0.23539957404136658,
0.2668972611427307,
-0.08879707008600235,
0.014771554619073868,
-0.0568670853972435,
-0.2986811101436615,
0.25044959783554077,
-0.32928261160850525,
-0.33314335346221924,
-0.09140778332948685,
0.3294380009174347,
-0.016352970153093338,
-0.3525122106075287,
0.026758752763271332,
0.057519521564245224,
-0.14626792073249817,
0.05182095244526863,
-0.07265963405370712,
-0.05158538371324539,
-0.1174430400133133,
-0.14982733130455017,
0.032338619232177734,
-0.043724462389945984,
-0.34464260935783386,
-0.011657334864139557,
0.004355334211140871,
-0.2554563879966736,
0.0476657971739769,
0.010236768051981926,
-0.09896479547023773,
0.2594311237335205,
0.15408599376678467,
0.16136795282363892,
0.06652199476957321,
-0.654505729675293,
-0.20670203864574432,
-0.17258146405220032,
-0.27341902256011963,
-0.2516898810863495,
0.0588340125977993,
0.2660960555076599,
-0.1905241757631302,
-0.06709817051887512,
0.21555426716804504,
0.35748130083084106,
0.22131673991680145,
0.031583793461322784,
-0.34809279441833496,
-0.34863555431365967,
-0.0044677890837192535,
0.3154451549053192,
-0.02091093733906746,
-0.24939841032028198,
-0.026153534650802612,
0.6628457307815552,
0.4029028117656708,
-0.17744550108909607,
-0.07297807186841965,
0.21332493424415588,
0.09586707502603531,
-0.09741227328777313,
-0.146705761551857,
-0.3752080202102661,
0.12616637349128723,
0.02775711566209793,
-0.08002355694770813,
0.21168531477451324,
0.29141777753829956,
-0.24998421967029572,
-0.4549310803413391,
-0.2891281843185425,
-0.06661221385002136,
-0.160442516207695,
0.24451249837875366,
-0.11445455253124237,
0.23345842957496643,
0.04886755719780922,
-0.04712395742535591,
0.13757523894309998,
-0.5363559722900391,
-0.0038076844066381454,
-0.26790210604667664,
0.18368913233280182,
-0.07193659245967865,
0.032994288951158524,
0.08824558556079865,
0.3793565630912781,
-0.06407985091209412,
-0.28308922052383423,
0.06823819875717163,
0.620572030544281,
-0.22131799161434174,
-0.04767987132072449,
0.21670317649841309,
-0.028839796781539917,
0.19416585564613342,
-0.11989033222198486,
0.021499037742614746,
0.12037582695484161,
-0.05406327173113823,
0.15041598677635193,
-0.29744455218315125,
0.19560599327087402,
0.024066878482699394,
-0.2575564980506897,
0.07225296646356583,
0.30051690340042114,
0.1718730479478836,
-0.2887357175350189,
0.05813918262720108,
-0.14099931716918945,
-0.01072758063673973,
0.33945778012275696,
-0.3462268114089966,
-0.2572800815105438,
-0.25557398796081543,
0.23791027069091797,
0.22958098351955414,
-0.14188557863235474,
0.14243412017822266,
0.08490803092718124,
-0.15568137168884277,
-0.08338403701782227,
0.02340581640601158,
0.19332154095172882,
0.3120569586753845,
0.3822387754917145,
0.10532835125923157,
0.15121223032474518,
-0.016789812594652176,
-0.20665229856967926,
0.23502209782600403,
0.0960787758231163,
-0.1364096850156784,
-0.02784235030412674,
-0.018778709694743156,
0.05335140973329544,
-0.35043397545814514,
0.1221463531255722,
0.07834286987781525,
0.237505704164505,
-0.005342986434698105,
-0.32606273889541626,
-0.12138868868350983,
-0.4353710114955902,
0.060616251081228256,
-0.05096779018640518,
0.16947954893112183,
-0.40695881843566895,
0.26608702540397644,
0.09486743807792664,
-0.23800046741962433,
0.2430855929851532,
-0.26824238896369934,
0.308349609375,
0.0047460515052080154,
-0.17709481716156006,
0.061310164630413055,
-0.1016717180609703,
-0.13978824019432068,
0.23072731494903564,
-0.01604296639561653,
0.16563744843006134,
0.4734584093093872,
-0.3028150498867035,
0.058777399361133575,
-0.18177911639213562,
-0.4197036325931549,
0.001220598816871643,
-0.12677930295467377,
-0.017598947510123253,
0.15213032066822052,
0.008097760379314423,
0.08218199759721756,
-0.21802368760108948,
0.23189222812652588,
-0.3646026849746704,
-0.016860393807291985,
-0.2508481740951538,
0.12861667573451996,
0.030862711369991302,
-0.3757372498512268,
-0.5750292539596558,
-0.26636022329330444,
-0.3459490239620209,
0.03918033465743065,
0.33823612332344055,
0.26859837770462036,
0.09035228192806244,
-0.17975230515003204,
0.2709834575653076,
-0.07877229154109955,
-0.13548921048641205,
-0.3215267062187195,
-0.46327733993530273,
0.13956987857818604,
-0.2737710475921631,
-0.46117568016052246,
0.03073839470744133,
0.10129569470882416,
0.21723096072673798,
-0.04875849187374115,
-0.3377605080604553,
-0.5190141201019287,
-0.07352662831544876,
0.16295965015888214,
0.15549121797084808,
0.2054387927055359,
0.3580414056777954,
-0.06748402118682861,
-0.36712121963500977,
-0.04740153253078461,
0.09917734563350677,
-0.06751393526792526,
0.1575818657875061,
0.29247063398361206,
-0.2656354308128357,
-0.17600080370903015,
0.24423184990882874,
0.030354775488376617,
-0.011147990822792053,
0.013680648058652878,
0.05321037396788597,
0.005343824625015259,
0.31232625246047974,
0.02653415873646736,
0.024271180853247643,
0.2982518672943115,
-0.08130700886249542,
0.16523896157741547,
0.14904120564460754,
0.1633177101612091,
-0.016927897930145264,
-0.1087350845336914,
-0.3456363081932068,
-0.0729699656367302,
-0.26014620065689087,
0.019316857680678368,
-0.08526100218296051,
0.05323702096939087,
0.19944998621940613,
0.05991671234369278,
-0.3206157386302948,
-0.15864625573158264,
-0.02741844579577446,
0.2280484288930893,
0.032133251428604126,
0.0718066617846489,
-0.6943185925483704,
0.15244446694850922,
-0.3211873173713684,
0.32251816987991333,
-0.03695547953248024,
0.040985748171806335,
0.019494298845529556,
-0.13147547841072083,
0.2709041237831116,
-0.0352625772356987,
-0.08737114071846008,
-0.200846329331398,
0.028917493298649788,
0.18235889077186584,
0.0945485532283783,
-0.3157363533973694,
0.06778854131698608,
-0.26599422097206116,
0.31362608075141907,
0.5374422669410706,
0.09348355978727341,
-0.19435396790504456,
-0.39730775356292725,
0.3647207021713257,
0.10677555948495865,
-0.17371274530887604,
0.08708885312080383,
-0.14638617634773254,
-0.3017812669277191,
-0.19636009633541107,
0.10995635390281677,
-0.014514919370412827,
0.2739851474761963,
-0.00782015174627304,
0.08762061595916748,
0.0028099287301301956,
0.00048751384019851685,
0.2543187439441681,
-0.029698070138692856,
0.24648430943489075,
0.2613830864429474,
-0.12659454345703125,
-0.03165069967508316,
-0.02215208113193512,
-0.11853066086769104,
0.24562999606132507,
-0.21581126749515533,
0.2214542031288147,
-0.06315302848815918,
-0.19607505202293396,
0.3658258020877838,
0.2904471755027771,
0.10153280943632126,
-0.07953416556119919,
-0.3082956373691559,
0.17288029193878174,
-0.2403993010520935,
0.3879822790622711,
0.19459903240203857,
-0.07184068113565445,
-0.06401708722114563,
-0.4054264724254608,
0.5483683943748474,
0.004457829520106316,
-0.02678462117910385,
0.3324219882488251,
0.04557393491268158,
-0.19613920152187347,
-0.14804378151893616,
0.38284698128700256,
0.9027186036109924,
0.06079496815800667,
0.4099135994911194,
0.3853379786014557,
0.18597881495952606,
0.6668608784675598,
-0.4678577780723572,
0.3575601577758789,
-0.13355475664138794,
0.11851043254137039,
-0.03575121983885765,
0.1379171460866928,
-0.034835733473300934,
-0.06967203319072723,
-0.20116016268730164,
0.2900039255619049,
0.034591950476169586,
-0.3386814594268799,
0.15819457173347473,
0.3683634102344513,
-0.49955523014068604,
-0.2832548916339874,
1.3597309589385986e-7,
0.19900734722614288,
0.07120852917432785,
0.2233995795249939,
-0.004912442062050104,
-0.2345852255821228,
0.025657836347818375,
-0.1507457196712494,
0.055091917514801025,
0.24597567319869995,
0.23215974867343903,
0.16961772739887238,
-0.22332406044006348,
-0.18029753863811493,
0.0034568961709737778,
0.18736453354358673,
0.032814159989356995,
0.15556824207305908,
-0.19093535840511322,
0.2333676666021347,
-0.6284527778625488,
-0.161662295460701,
0.33452659845352173,
0.21330347657203674,
0.3460749387741089,
-0.22421011328697205,
-0.203275665640831,
0.1377030909061432,
-0.00676997983828187,
-0.13187912106513977,
-0.26850181818008423,
0.18882936239242554,
0.01863047480583191,
-0.1913118064403534,
-0.2765825390815735,
0.25247812271118164,
-0.30906614661216736,
-0.22026696801185608,
0.21319003403186798,
0.05677393078804016,
-0.14954064786434174,
0.1674952656030655,
-0.03987373039126396,
-0.3240535259246826,
0.030250145122408867,
0.18490570783615112,
0.19700616598129272,
0.0392722561955452,
0.4769679307937622,
-0.2580834925174713,
0.025511838495731354,
-0.3660869896411896,
-0.1832270622253418,
-0.020117366686463356,
-0.10302166640758514,
0.018481874838471413,
0.010221313685178757,
0.023332566022872925,
0.0946531891822815,
0.2031063735485077,
0.09052374958992004,
0.08067993074655533,
-0.06811192631721497,
-0.4342242181301117,
-0.2603227198123932,
0.11470548808574677,
0.08425360918045044,
0.16811378300189972,
0.07269547879695892,
0.5475955605506897,
0.20547258853912354,
-0.2196471393108368,
-0.4452403485774994,
0.2506701648235321,
-0.21744869649410248,
0.031694021075963974,
0.09338930249214172,
-0.02900974452495575,
0.364099383354187,
0.05473769083619118,
0.1559215486049652,
0.05765024572610855,
-0.2887091636657715,
-0.27775517106056213,
-0.26507046818733215,
0.09132363647222519,
0.12812846899032593,
0.11458092927932739,
0.1735973358154297,
-0.07006224989891052,
-0.11709555983543396,
0.15221154689788818,
-0.11329346895217896,
-0.08577753603458405,
-0.0319414883852005,
0.5358965396881104,
-0.04982471838593483,
0.3499019145965576,
0.30875450372695923,
0.1014525517821312,
-0.00836189091205597,
0.5562915802001953,
-0.08736126869916916,
0.112262062728405,
-0.15834371745586395,
-0.07468825578689575,
-0.4461164176464081,
-0.014056272804737091,
0.1420556753873825,
-0.012166142463684082,
0.06446662545204163,
-0.028053320944309235,
0.00812625139951706,
-0.20734341442584991,
0.2948586344718933,
0.3412947654724121,
-0.24364693462848663,
-0.0765497088432312,
0.24714979529380798,
0.3205629587173462,
-0.2733725309371948,
0.10538415610790253,
-0.03442307934165001,
0.15303248167037964,
-0.07161131501197815,
0.019996851682662964,
0.3921962082386017,
-0.003466464579105377,
0.18926666676998138,
0.10980305820703506,
0.28347882628440857,
-0.252454936504364,
0.14553959667682648,
0.2896682024002075,
0.018807929009199142,
-0.21847902238368988,
0.08082026988267899,
-0.02774939313530922,
0.00424569845199585,
0.36328887939453125,
-0.018709145486354828,
0.4615009129047394,
0.09819807857275009,
0.09225054085254669,
-0.28106456995010376,
0.03844694420695305,
-0.07719683647155762,
0.39898186922073364,
0.14487430453300476,
0.1724042296409607,
0.10485926270484924,
0.6855470538139343,
-0.374837189912796,
0.11656088382005692,
-0.22838568687438965,
0.2625686526298523,
0.029125576838850975,
-0.06046149507164955,
-0.14655756950378418,
-0.06511491537094116,
0.03497326374053955,
0.05266401544213295,
0.12394890189170837,
-0.08946320414543152,
0.07102479040622711,
0.03928756341338158,
-0.09373192489147186,
-0.5796382427215576,
-0.12099409848451614,
0.15199176967144012,
0.3579537570476532,
-0.2784588634967804,
-0.14100125432014465,
0.2871304750442505,
-0.0237678661942482,
0.03854641690850258,
0.23553501069545746,
0.24354590475559235,
0.20215241611003876,
-0.12938766181468964,
-0.0204770565032959,
-0.07145281136035919,
0.117921844124794,
-0.035869453102350235,
0.0794709101319313,
0.37591198086738586,
0.15256135165691376,
0.28875279426574707,
0.2922685146331787,
-0.29448801279067993,
0.10058341920375824,
0.1323196440935135,
-0.0020222682505846024,
-0.07253038883209229,
0.3638158142566681,
0.4592067301273346,
-0.12375903129577637,
-0.14627128839492798,
-0.04885373264551163,
-0.41167235374450684,
0.22382469475269318,
-0.021841488778591156,
0.29711925983428955,
0.051993705332279205,
-0.3770160377025604,
0.15663205087184906,
0.02141011878848076,
0.5411428809165955,
0.12331221997737885,
-0.020973995327949524,
-0.22175145149230957,
-0.27098238468170166,
-0.5989297032356262,
-0.02355942875146866,
-0.09981898963451385,
-0.6404227614402771,
0.014575958251953125,
0.1345575749874115,
-0.02893960475921631,
0.15010002255439758,
-0.1719898134469986,
-0.2550756633281708,
-0.09724045544862747,
-0.07661189138889313,
-0.3703731894493103,
0.34710627794265747,
0.034047260880470276,
0.17892678081989288,
0.06023433059453964,
-0.3126765489578247,
0.018149465322494507,
0.054731335490942,
0.1278899610042572,
-0.04097885638475418,
0.1786835491657257,
0.01870155707001686,
0.44989848136901855,
0.2636986970901489,
-0.008624665439128876,
0.17998602986335754,
-0.09492632746696472,
-0.16643084585666656,
-0.3435874283313751,
-0.15624797344207764,
-0.32253268361091614,
-0.042924486100673676,
0.2144031822681427,
0.15104885399341583,
-0.21606089174747467,
0.20403294265270233,
-0.1882563680410385,
0.4379097819328308,
-0.032106101512908936,
-0.16042126715183258,
-0.26732608675956726,
0.06980517506599426,
0.01889951527118683,
0.23179633915424347,
0.12011279165744781,
0.5813451409339905,
-0.043138451874256134,
0.01535644568502903,
-0.5485901832580566,
-0.3473369777202606,
0.4059392809867859,
-0.21855662763118744,
-0.27165114879608154,
0.025445256382226944,
0.3558255434036255,
0.2479960024356842,
-0.1207885667681694,
-0.35147154331207275,
0.12484171241521835,
0.26217278838157654,
0.13398823142051697,
-0.2600199282169342,
0.2759563624858856,
-0.019528239965438843,
-0.23697523772716522,
-0.034626565873622894,
0.024663057178258896,
0.007468672469258308,
-0.18655425310134888,
0.02065175399184227,
-0.3647986650466919
] |
https://github.com/huggingface/datasets/pull/284 | Fix manual download instructions | But I get
```python
ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/./datasets/wmt16/wmt16.py
```
When I try from jupyter on brutasse or my mac. (the jupyter server is run from transformers).
Both machines can run
```bash
aws s3 ls s3://datasets.huggingface.co/nlp/datasets/wmt16/
```
but it seems one must be in the nlp directory to run the command?
(I ran `pip install -e . ` on this branch in both situations.)
| This PR replaces the static `DatasetBulider` variable `MANUAL_DOWNLOAD_INSTRUCTIONS` by a property function `manual_download_instructions()`.
Some datasets like XTREME and all WMT need the manual data dir only for a small fraction of the possible configs.
After some brainstorming with @mariamabarham and @lhoestq, we came to the conclusion that having a property function `manual_download_instructions()` gives us more flexibility to decide on a per config basis in the dataset builder if manual download instructions are needed.
Also this PR should unblock solves a bug with `wmt16 - ro-en`
@sshleifer from this branch you should be able to succesfully run
```python
import nlp
ds = nlp.load_dataset('./datasets/wmt16', 'ro-en')
```
and once this PR is merged S3 should be synched so that
```python
import nlp
ds = nlp.load_dataset("wmt16", "ro-en")
```
works as well.
**Important**: Since `MANUAL_DOWNLOAD_INSTRUCTIONS` was not really exposed to the user, this PR should not be a problem regarding backward compatibility. | 63 | text: Fix manual download instructions
This PR replaces the static `DatasetBulider` variable `MANUAL_DOWNLOAD_INSTRUCTIONS` by a property function `manual_download_instructions()`.
Some datasets like XTREME and all WMT need the manual data dir only for a small fraction of the possible configs.
After some brainstorming with @mariamabarham and @lhoestq, we came to the conclusion that having a property function `manual_download_instructions()` gives us more flexibility to decide on a per config basis in the dataset builder if manual download instructions are needed.
Also this PR should unblock solves a bug with `wmt16 - ro-en`
@sshleifer from this branch you should be able to succesfully run
```python
import nlp
ds = nlp.load_dataset('./datasets/wmt16', 'ro-en')
```
and once this PR is merged S3 should be synched so that
```python
import nlp
ds = nlp.load_dataset("wmt16", "ro-en")
```
works as well.
**Important**: Since `MANUAL_DOWNLOAD_INSTRUCTIONS` was not really exposed to the user, this PR should not be a problem regarding backward compatibility.
But I get
```python
ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/./datasets/wmt16/wmt16.py
```
When I try from jupyter on brutasse or my mac. (the jupyter server is run from transformers).
Both machines can run
```bash
aws s3 ls s3://datasets.huggingface.co/nlp/datasets/wmt16/
```
but it seems one must be in the nlp directory to run the command?
(I ran `pip install -e . ` on this branch in both situations.)
| [
-0.06087030470371246,
0.067624032497406,
0.03048396110534668,
-0.06962060928344727,
0.24719923734664917,
-0.13887588679790497,
0.17696626484394073,
-0.04660992696881294,
-0.09023246169090271,
0.10423049330711365,
-0.09915176779031754,
0.4719764292240143,
-0.07832109183073044,
0.2229071408510208,
0.06514014303684235,
0.04940725117921829,
-0.010278590023517609,
0.28582578897476196,
-0.12868157029151917,
0.11995789408683777,
-0.33825764060020447,
0.17410963773727417,
-0.2021576166152954,
0.017166443169116974,
-0.08133171498775482,
0.23965173959732056,
0.004694415256381035,
0.2527037560939789,
-0.28290417790412903,
-0.33670932054519653,
0.4651545286178589,
0.20975984632968903,
0.38979655504226685,
0.27658501267433167,
-0.00012221853830851614,
-0.1736060082912445,
0.4575669765472412,
-0.0872342512011528,
-0.5377061367034912,
-0.39582598209381104,
-0.4354405701160431,
-0.06656592339277267,
0.223549947142601,
0.01951630413532257,
-0.0736730545759201,
0.3134595453739166,
0.16035465896129608,
-0.03740331903100014,
0.21749772131443024,
0.3486740291118622,
0.09611525386571884,
0.4383500814437866,
0.06285460293292999,
-0.11913375556468964,
0.413751482963562,
0.2785716950893402,
-0.06959164142608643,
0.20376725494861603,
0.0203181654214859,
-0.14239054918289185,
0.21517017483711243,
0.1748218834400177,
-0.0023623593151569366,
0.3442433476448059,
0.6274694800376892,
-0.012964614666998386,
0.25902584195137024,
-0.23911505937576294,
-0.18401741981506348,
0.07955855131149292,
0.5682736039161682,
-0.3826240301132202,
-0.3062191307544708,
-0.08665373921394348,
-0.044081222265958786,
-0.25381430983543396,
0.3804512917995453,
0.020516667515039444,
-0.3568418323993683,
-0.12136727571487427,
-0.32166969776153564,
-0.2766692638397217,
-0.10696525871753693,
0.4115288257598877,
-0.1741005927324295,
0.8856445550918579,
-0.11846859753131866,
0.11133076250553131,
0.1919672191143036,
-0.026994124054908752,
0.7058387994766235,
0.00861526932567358,
0.2366902381181717,
0.08905912935733795,
0.05677107349038124,
0.00518050417304039,
0.03353276476264,
-0.011997267603874207,
-0.35857900977134705,
0.31181710958480835,
0.04222429171204567,
-0.0727129578590393,
0.10519783198833466,
0.3230295777320862,
0.06270845234394073,
0.009078815579414368,
0.011567309498786926,
0.4345974624156952,
0.3147199749946594,
0.5586665868759155,
0.18390603363513947,
-0.03799299895763397,
-0.10305917263031006,
-0.49700799584388733,
-0.24662131071090698,
0.02922419086098671,
0.3027426600456238,
0.06256991624832153,
-0.4155675172805786,
-0.01314601767808199,
0.010884158313274384,
-0.22265036404132843,
-0.10846970230340958,
0.13762019574642181,
-0.2562488615512848,
-0.13428851962089539,
0.3351171612739563,
0.04455209895968437,
-0.19300410151481628,
0.1818714439868927,
-0.0015319222584366798,
-0.10587140917778015,
-0.2840692400932312,
-0.10255765169858932,
0.20001395046710968,
0.16252681612968445,
0.3742389380931854,
-0.07251325994729996,
0.05258631706237793,
0.016759246587753296,
0.0037420131266117096,
0.16330426931381226,
0.09555783867835999,
0.40937381982803345,
0.07836814224720001,
-0.01473325863480568,
-0.0018030144274234772,
-0.2342536449432373,
-0.17573806643486023,
0.15190033614635468,
0.018217816948890686,
-0.4667099118232727,
-0.16349712014198303,
0.09392938017845154,
-0.41560596227645874,
-0.19339542090892792,
-0.10234632343053818,
-0.21419863402843475,
-0.23500487208366394,
-0.37033766508102417,
0.11521574854850769,
-0.18150371313095093,
-0.022023294121026993,
-0.1551387757062912,
0.22003057599067688,
0.28908270597457886,
-0.2676500380039215,
-0.2300211638212204,
-0.19417215883731842,
0.010913949459791183,
0.3783090114593506,
0.17231352627277374,
-0.29834824800491333,
0.14666205644607544,
-0.18193960189819336,
-0.17829038202762604,
0.4939424991607666,
-0.3291109800338745,
-0.24610385298728943,
0.16323800384998322,
-0.20640376210212708,
0.08691038191318512,
-0.09584563225507736,
0.04688188061118126,
-0.11648744344711304,
-0.08204061537981033,
0.02581188455224037,
0.44769585132598877,
0.010189063847064972,
-0.16362282633781433,
-0.007800940424203873,
-0.24873504042625427,
0.3592941164970398,
0.08448699116706848,
0.044575005769729614,
0.09572749584913254,
0.1919870674610138,
0.42203548550605774,
0.2545527219772339,
0.11417052149772644,
0.07102306187152863,
0.22430238127708435,
0.13473322987556458,
0.22678916156291962,
-0.3096563518047333,
0.07551183551549911,
-0.24142712354660034,
0.04911164939403534,
0.03947883099317551,
0.48041555285453796,
-0.14058829843997955,
0.05364541709423065,
-0.08532170206308365,
-0.1569027453660965,
-0.2999868094921112,
-0.4215543866157532,
-0.014693532139062881,
0.46348336338996887,
0.3353678286075592,
-0.1807677149772644,
-0.01869582012295723,
-0.09578535705804825,
-0.030393291264772415,
0.1163780614733696,
-0.4466387629508972,
0.03621799498796463,
-0.2042389065027237,
0.018175926059484482,
-0.0008629932999610901,
0.19730430841445923,
0.04518432542681694,
-0.005324867554008961,
-0.23748618364334106,
0.29837334156036377,
-0.12051311135292053,
0.3726891875267029,
-0.1497282087802887,
0.20147983729839325,
0.10082948207855225,
-0.13226068019866943,
0.09935527294874191,
0.17916062474250793,
0.06906970590353012,
0.166251540184021,
-0.21312323212623596,
0.21917331218719482,
-0.08399535715579987,
0.2614094614982605,
0.12266762554645538,
0.07631724327802658,
0.07777877897024155,
0.09994742274284363,
-0.464522123336792,
0.056089796125888824,
0.03963302820920944,
0.3036845028400421,
-0.12346509099006653,
0.07810119539499283,
-0.2580699324607849,
0.039337173104286194,
0.3204443156719208,
-0.0022886786609888077,
-0.0821729525923729,
0.14454150199890137,
-0.2036919891834259,
-0.14232665300369263,
0.027624990791082382,
0.6782400608062744,
0.8018975257873535,
0.17866326868534088,
0.18605844676494598,
0.3073335289955139,
-0.08395696431398392,
-0.2430267333984375,
0.3420410752296448,
0.2705065608024597,
0.24107803404331207,
0.18219631910324097,
-0.02561352588236332,
0.2880907952785492,
-0.01752536930143833,
-0.2373858094215393,
-0.08821618556976318,
0.1398278772830963,
-0.328792005777359,
-0.010438593104481697,
-0.3259851634502411,
-0.42787885665893555,
-0.26684507727622986,
-0.24406437575817108,
-0.34735462069511414,
-0.42088815569877625,
-0.21707862615585327,
0.08512440323829651,
-0.27671876549720764,
0.3025285303592682,
0.18767300248146057,
0.09350299835205078,
-0.2564780116081238,
-0.21423080563545227,
-0.06850811094045639,
0.07452687621116638,
-0.3595331013202667,
-0.04191429540514946,
0.04099304601550102,
-0.16135603189468384,
0.26247894763946533,
-0.3091411292552948,
0.09521874040365219,
-0.46434879302978516,
-0.38783684372901917,
-0.03200400620698929,
0.0733448714017868,
0.3400610685348511,
0.713054895401001,
0.162949800491333,
0.041286468505859375,
-0.3409714698791504,
0.2506781816482544,
-0.11108905076980591,
0.07925041764974594,
-0.3243159353733063,
0.02630913443863392,
-0.026060452684760094,
-0.028380950912833214,
-0.3470257818698883,
-0.48643428087234497,
-0.45799633860588074,
0.1748369038105011,
0.2770114839076996,
0.16358095407485962,
-0.03468581289052963,
0.009359749965369701,
0.027691006660461426,
0.008183005265891552,
0.20545166730880737,
-0.19553592801094055,
-0.48214781284332275,
0.06664976477622986,
-0.24134910106658936,
-0.15303894877433777,
0.07772691547870636,
0.19496369361877441,
0.3585059344768524,
-0.06378963589668274,
-0.3262881636619568,
0.028336375951766968,
-0.06941750645637512,
0.22939422726631165,
0.07282567769289017,
0.558885395526886,
0.27461451292037964,
0.16639873385429382,
-0.020409852266311646,
-0.0055259764194488525,
-0.49582013487815857,
-0.22572457790374756,
0.08821991831064224,
0.6599565744400024,
0.18506479263305664,
0.2189459204673767,
-0.03252880647778511,
0.3568003177642822,
0.020884733647108078,
-0.25361594557762146,
0.17738869786262512,
-0.1908397078514099,
0.46691226959228516,
0.05432341992855072,
-0.19023022055625916,
-0.013500206172466278,
-0.07371123135089874,
0.10237829387187958,
0.13412684202194214,
-0.1298186480998993,
0.09993050247430801,
-0.3555375933647156,
-0.18491539359092712,
-0.14781509339809418,
-0.23183667659759521,
0.07769933342933655,
-0.1237802654504776,
0.10822898894548416,
0.26666197180747986,
-0.1350756734609604,
-0.18526537716388702,
0.13430985808372498,
-0.10462167859077454,
0.3313475251197815,
-0.0008656680583953857,
0.3536262810230255,
0.2589147984981537,
-0.3416244387626648,
-0.30652546882629395,
0.13612957298755646,
-0.12600772082805634,
0.3108389675617218,
-0.061912182718515396,
-0.3119661808013916,
-0.03271961212158203,
0.005399973597377539,
0.44646334648132324,
-0.6306983232498169,
-0.1629745215177536,
-0.05467665567994118,
0.03603743016719818,
-0.3688564598560333,
-0.17562535405158997,
-0.17413994669914246,
0.11288759112358093,
0.37246593832969666,
0.3686980903148651,
-0.034253329038619995,
-0.18061421811580658,
0.3326485753059387,
-0.12592589855194092,
-0.03899066895246506,
-0.2661663889884949,
-0.28282323479652405,
-0.2854044437408447,
-0.4464122951030731,
-0.10305138677358627,
0.0418231263756752,
0.07937357574701309,
0.019146844744682312,
0.16681651771068573,
0.06087643653154373,
0.23509949445724487,
0.00912851095199585,
0.054438117891550064,
-0.09470774233341217,
0.1009075716137886,
-0.2495342493057251,
0.1219574511051178,
0.1650606393814087,
0.25931403040885925,
0.6459164619445801,
-0.19540290534496307,
-0.16041812300682068,
0.13809846341609955,
0.15299241244792938,
0.3843795359134674,
0.49260321259498596,
0.1655047982931137,
-0.062148936092853546,
0.09547004848718643,
0.22133755683898926,
-0.2436850666999817,
0.08817088603973389,
0.33262133598327637,
0.13538244366645813,
0.02329854853451252,
-0.340268611907959,
0.06335465610027313,
-0.09002386033535004,
-0.040271203964948654,
-0.17994476854801178,
-0.05180436372756958,
-0.18315105140209198,
-0.12401677668094635,
0.3521813750267029,
1.2538741827011108,
0.21801455318927765,
0.48645156621932983,
0.22520312666893005,
-0.21829909086227417,
0.9263389110565186,
-0.15809005498886108,
0.0389968678355217,
-0.037432700395584106,
0.28186002373695374,
-0.12849241495132446,
-0.2832455337047577,
0.1556243896484375,
-0.3429248332977295,
-0.4212530255317688,
0.4016702175140381,
0.12342140078544617,
0.04550231993198395,
0.4508017897605896,
0.34408432245254517,
-0.16271746158599854,
-0.14835883677005768,
-0.3319784700870514,
-0.024078689515590668,
-0.10471537709236145,
0.597683310508728,
-0.17887818813323975,
-0.2828626036643982,
-0.04078394174575806,
-0.35959064960479736,
-0.2759482264518738,
0.19558531045913696,
-0.368110716342926,
0.060361068695783615,
0.08891471475362778,
0.1336497813463211,
0.14417997002601624,
0.09269480407238007,
0.036116838455200195,
0.39625412225723267,
-0.20277971029281616,
0.021967902779579163,
0.12186025083065033,
-0.04432643949985504,
0.034252751618623734,
-0.04798527806997299,
0.1644866019487381,
-0.25987690687179565,
-0.1667700707912445,
-0.07117114216089249,
-0.17119084298610687,
-0.23595894873142242,
0.05559058487415314,
0.02562427520751953,
0.054903045296669006,
-0.09513037651777267,
-0.25312331318855286,
-0.13762854039669037,
-0.3466792702674866,
-0.3361438512802124,
0.0674164816737175,
-0.19033940136432648,
-0.28963503241539,
0.05862991511821747,
-0.1377221941947937,
-0.27751055359840393,
-0.11496953666210175,
0.5033557415008545,
-0.2827349901199341,
0.19888663291931152,
0.30203625559806824,
0.18858551979064941,
-0.020916150882840157,
-0.12519526481628418,
0.016515567898750305,
0.13504278659820557,
-0.3155454993247986,
0.1336102932691574,
0.010218913666903973,
-0.0643300861120224,
0.08414632827043533,
0.24351313710212708,
0.3864012360572815,
0.0725555270910263,
-0.17881256341934204,
-0.3987801969051361,
-0.10085780173540115,
-0.020588114857673645,
0.11254025995731354,
0.29510653018951416,
0.17094913125038147,
0.36992019414901733,
0.28665733337402344,
-0.1684999167919159,
-0.24091479182243347,
-0.028960762545466423,
-0.30589431524276733,
0.10774803906679153,
0.24601197242736816,
-0.06348370015621185,
0.08702673017978668,
0.005582045763731003,
-0.07016397267580032,
0.0086812824010849,
-0.16471153497695923,
-0.0766570121049881,
-0.2172391265630722,
0.22138814628124237,
0.2500521242618561,
-0.22760897874832153,
0.04539722949266434,
-0.18179498612880707,
-0.1990758776664734,
0.14173215627670288,
-0.09073539078235626,
-0.04461374878883362,
-0.16838279366493225,
0.2760320007801056,
-0.09390074014663696,
-0.05118300020694733,
0.15550170838832855,
0.042859967797994614,
0.025647100061178207,
0.27164632081985474,
-0.2330666482448578,
0.2975192070007324,
0.015796659514307976,
-0.05116626247763634,
-0.13153305649757385,
-0.08030010014772415,
0.01759716123342514,
0.24090108275413513,
0.17633254826068878,
-0.25646454095840454,
-0.05330050364136696,
-0.3559722304344177,
0.4602612853050232,
0.5518791675567627,
-0.12609629333019257,
-0.1689300835132599,
0.07849698513746262,
0.041575342416763306,
-0.3395654559135437,
-0.2143832892179489,
-0.4470917284488678,
0.11550362408161163,
-0.007052235305309296,
0.2199712097644806,
0.05113064870238304,
-0.019383162260055542,
-0.02366901934146881,
0.11018764227628708,
0.346051961183548,
-0.4434478282928467,
0.08661654591560364,
0.4168178141117096,
-0.17023564875125885,
0.20065973699092865,
0.12890303134918213,
0.19667969644069672,
-0.04123298078775406,
0.08394740521907806,
-0.24586689472198486,
-0.06600549072027206,
0.16197124123573303,
0.0019898004829883575,
0.0998433455824852,
-0.36097922921180725,
0.22830943763256073,
0.15663836896419525,
-0.009830199182033539,
0.0253971666097641,
0.11021626740694046,
0.15413174033164978,
-0.14320635795593262,
0.2108629196882248,
-0.01184468436986208,
0.2694784998893738,
-0.0013384297490119934,
-0.3222205638885498,
-0.3685823678970337,
-0.24393394589424133,
-0.183402419090271,
-0.03564134240150452,
0.02290956676006317,
-0.0916726142168045,
0.09296267479658127,
0.020838558673858643,
0.12906396389007568,
-0.5824712514877319,
0.005407964810729027,
-0.20850688219070435,
-0.16820895671844482,
-0.24193893373012543,
0.1804618090391159,
0.08363211154937744,
-0.08882094919681549,
0.009100163355469704,
0.22058512270450592,
0.8086677193641663,
0.4242754280567169,
-0.08348551392555237,
0.11254681646823883,
-0.02126261219382286,
-0.11278899013996124,
-0.12376978993415833,
0.07423635572195053,
0.34193238615989685,
-0.052047472447156906,
0.27575626969337463,
0.14493152499198914,
-0.11979953199625015,
0.32983922958374023,
-0.10611484944820404,
-0.03743515536189079,
-0.0315854474902153,
0.47981855273246765,
0.1828462928533554,
0.018577374517917633,
-0.002492036670446396,
0.4891463816165924,
-0.6442021727561951,
0.09395235031843185,
0.3741544783115387,
0.13339823484420776,
0.23174652457237244,
-0.2938757836818695,
0.037656646221876144,
0.10554856061935425,
0.7660586833953857,
0.36572983860969543,
0.3097609579563141,
-0.34833821654319763,
-0.031163737177848816,
-0.5925213694572449,
0.059668801724910736,
0.06713889539241791,
-0.464885413646698,
0.044232580810785294,
0.17508669197559357,
-0.005040168762207031,
0.10502851754426956,
-0.04046487808227539,
0.29827389121055603,
-0.16764669120311737,
0.04984118044376373,
-0.01458117924630642,
-0.057336438447237015,
0.12057949602603912,
0.12003063410520554,
0.18347853422164917,
-0.28091543912887573,
0.23800018429756165,
-0.12413464486598969,
-0.09533878415822983,
-0.33301931619644165,
0.26753413677215576,
0.2546132206916809,
0.5180709362030029,
0.047043707221746445,
0.1896580457687378,
0.26018691062927246,
-0.154130220413208,
-0.09500936418771744,
-0.43470266461372375,
0.11289224028587341,
-0.4234071969985962,
0.25913316011428833,
-0.013942018151283264,
0.1884043961763382,
-0.2491656094789505,
0.07901300489902496,
-0.6911513209342957,
-0.0665530115365982,
-0.0220728050917387,
0.4082057476043701,
-0.06938090920448303,
0.04506628215312958,
-0.07404600828886032,
0.3235912024974823,
0.15274815261363983,
-0.026265375316143036,
0.04221925139427185,
0.08811233192682266,
-0.6550767421722412,
-0.32009270787239075,
0.5620794892311096,
-0.2124585658311844,
-0.3785078823566437,
-0.1589806079864502,
0.06691586971282959,
0.08969312161207199,
-0.1004096195101738,
-0.6221833825111389,
0.20912715792655945,
0.22163036465644836,
-0.011590532958507538,
-0.3577560484409332,
0.3476833403110504,
-0.31006473302841187,
0.07832331955432892,
-0.0006326958537101746,
0.20225434005260468,
-0.004511836916208267,
-0.13995933532714844,
-0.30635592341423035,
-0.29686129093170166
] |
https://github.com/huggingface/datasets/pull/284 | Fix manual download instructions | > But I get
>
> ```python
> ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/./datasets/wmt16/wmt16.py
> ```
>
> When I try from jupyter on brutasse or my mac. (the jupyter server is run from transformers).
>
> Both machines can run
>
> ```shell
> aws s3 ls s3://datasets.huggingface.co/nlp/datasets/wmt16/
> ```
>
> but it seems one must be in the nlp directory to run the command?
>
> (I ran `pip install -e . ` on this branch in both situations.)
As soon as it is on master, the dataset script wmt16.py will be synced on S3 and you'll be able to do `load_dataset("wmt16")` | This PR replaces the static `DatasetBulider` variable `MANUAL_DOWNLOAD_INSTRUCTIONS` by a property function `manual_download_instructions()`.
Some datasets like XTREME and all WMT need the manual data dir only for a small fraction of the possible configs.
After some brainstorming with @mariamabarham and @lhoestq, we came to the conclusion that having a property function `manual_download_instructions()` gives us more flexibility to decide on a per config basis in the dataset builder if manual download instructions are needed.
Also this PR should unblock solves a bug with `wmt16 - ro-en`
@sshleifer from this branch you should be able to succesfully run
```python
import nlp
ds = nlp.load_dataset('./datasets/wmt16', 'ro-en')
```
and once this PR is merged S3 should be synched so that
```python
import nlp
ds = nlp.load_dataset("wmt16", "ro-en")
```
works as well.
**Important**: Since `MANUAL_DOWNLOAD_INSTRUCTIONS` was not really exposed to the user, this PR should not be a problem regarding backward compatibility. | 103 | text: Fix manual download instructions
This PR replaces the static `DatasetBulider` variable `MANUAL_DOWNLOAD_INSTRUCTIONS` by a property function `manual_download_instructions()`.
Some datasets like XTREME and all WMT need the manual data dir only for a small fraction of the possible configs.
After some brainstorming with @mariamabarham and @lhoestq, we came to the conclusion that having a property function `manual_download_instructions()` gives us more flexibility to decide on a per config basis in the dataset builder if manual download instructions are needed.
Also this PR should unblock solves a bug with `wmt16 - ro-en`
@sshleifer from this branch you should be able to succesfully run
```python
import nlp
ds = nlp.load_dataset('./datasets/wmt16', 'ro-en')
```
and once this PR is merged S3 should be synched so that
```python
import nlp
ds = nlp.load_dataset("wmt16", "ro-en")
```
works as well.
**Important**: Since `MANUAL_DOWNLOAD_INSTRUCTIONS` was not really exposed to the user, this PR should not be a problem regarding backward compatibility.
> But I get
>
> ```python
> ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/./datasets/wmt16/wmt16.py
> ```
>
> When I try from jupyter on brutasse or my mac. (the jupyter server is run from transformers).
>
> Both machines can run
>
> ```shell
> aws s3 ls s3://datasets.huggingface.co/nlp/datasets/wmt16/
> ```
>
> but it seems one must be in the nlp directory to run the command?
>
> (I ran `pip install -e . ` on this branch in both situations.)
As soon as it is on master, the dataset script wmt16.py will be synced on S3 and you'll be able to do `load_dataset("wmt16")` | [
-0.05248322710394859,
0.0564521849155426,
0.025836478918790817,
-0.07290367782115936,
0.2764984369277954,
-0.10287682712078094,
0.21555708348751068,
0.013836868107318878,
-0.06290306150913239,
0.10288769006729126,
-0.0868084579706192,
0.4502125084400177,
-0.1359827220439911,
0.2797246277332306,
0.07593229413032532,
0.11825736612081528,
-0.05182867497205734,
0.2581428289413452,
-0.18504783511161804,
0.12626728415489197,
-0.3022620975971222,
0.13592901825904846,
-0.1687733232975006,
-0.038373276591300964,
-0.09981381893157959,
0.23511900007724762,
-0.005111010745167732,
0.2710804343223572,
-0.2782553732395172,
-0.35581013560295105,
0.47448301315307617,
0.2518550455570221,
0.397407591342926,
0.2544771432876587,
-0.00011912548507098109,
-0.1635638177394867,
0.45963531732559204,
-0.09155014157295227,
-0.5557985901832581,
-0.3763485550880432,
-0.46697160601615906,
-0.10288374125957489,
0.18305228650569916,
-0.019288919866085052,
-0.09705517441034317,
0.2853374481201172,
0.14382769167423248,
-0.10119139403104782,
0.21488258242607117,
0.30508914589881897,
0.12705114483833313,
0.40614086389541626,
0.035628896206617355,
-0.11309868842363358,
0.43380045890808105,
0.2686987817287445,
-0.04083961993455887,
0.22036898136138916,
0.02505841851234436,
-0.17219391465187073,
0.13062655925750732,
0.19689103960990906,
-0.02877952717244625,
0.3216620981693268,
0.6423007249832153,
-0.022866271436214447,
0.2738659977912903,
-0.2526169717311859,
-0.22123050689697266,
0.08434484899044037,
0.6031933426856995,
-0.4083847999572754,
-0.2891600430011749,
-0.12121802568435669,
0.010136576369404793,
-0.2586307227611542,
0.31803417205810547,
0.03560902923345566,
-0.3053787052631378,
-0.09415958821773529,
-0.3435698449611664,
-0.2614200711250305,
-0.08058740198612213,
0.3668127655982971,
-0.18331561982631683,
0.8353773355484009,
-0.1490330547094345,
0.07373442500829697,
0.19422022998332977,
-0.02459431067109108,
0.6940416693687439,
-0.022202517837285995,
0.21189971268177032,
0.08539795875549316,
0.01920413225889206,
-0.017344504594802856,
0.06715782731771469,
0.019905272871255875,
-0.31242626905441284,
0.32987332344055176,
0.06034316122531891,
-0.05868860334157944,
0.14214743673801422,
0.27823424339294434,
0.09116221964359283,
0.050118397921323776,
0.018908392637968063,
0.39765313267707825,
0.2748826742172241,
0.5510196089744568,
0.19977307319641113,
-0.006824523210525513,
-0.09572036564350128,
-0.4729524850845337,
-0.19463858008384705,
0.09548591822385788,
0.33769577741622925,
0.033594440668821335,
-0.3747291564941406,
-0.009870431385934353,
0.06305188685655594,
-0.2518784999847412,
-0.10218740254640579,
0.16857673227787018,
-0.30971065163612366,
-0.11822270601987839,
0.3145076632499695,
0.0012564174830913544,
-0.17768727242946625,
0.11207320541143417,
-0.014950627461075783,
-0.1190432608127594,
-0.2748000919818878,
-0.09118706732988358,
0.21348799765110016,
0.12462639808654785,
0.3430967926979065,
-0.02151446044445038,
0.05535867065191269,
0.043523527681827545,
0.010563043877482414,
0.17599456012248993,
0.1058717742562294,
0.3689520061016083,
0.07990773022174835,
0.01829559914767742,
-0.005807872861623764,
-0.21629735827445984,
-0.17476364970207214,
0.16710157692432404,
-0.0005289390683174133,
-0.5069453120231628,
-0.1388452649116516,
0.12565049529075623,
-0.4617850184440613,
-0.19047342240810394,
-0.16939178109169006,
-0.16960161924362183,
-0.20716124773025513,
-0.32091930508613586,
0.10531758517026901,
-0.15828026831150055,
-0.04640669748187065,
-0.1799897849559784,
0.26552191376686096,
0.3162200152873993,
-0.28794607520103455,
-0.22806094586849213,
-0.22562557458877563,
-0.02140752226114273,
0.35805344581604004,
0.15107357501983643,
-0.2781451940536499,
0.17390203475952148,
-0.20243561267852783,
-0.1804702877998352,
0.41949138045310974,
-0.33045250177383423,
-0.26826074719429016,
0.1545279324054718,
-0.2240031659603119,
0.13435465097427368,
-0.10171251744031906,
0.029827680438756943,
-0.07476174831390381,
-0.1289892941713333,
0.010981768369674683,
0.44658154249191284,
-0.04293078929185867,
-0.12806682288646698,
-0.0373661182820797,
-0.26667845249176025,
0.33530354499816895,
0.12687209248542786,
-0.013459306210279465,
0.09171809256076813,
0.18544664978981018,
0.3696158230304718,
0.265881210565567,
0.09709610790014267,
0.09203144162893295,
0.19710636138916016,
0.13073746860027313,
0.1961905062198639,
-0.2974309027194977,
0.0821671336889267,
-0.3632799983024597,
0.07391168177127838,
0.06374908983707428,
0.4682740867137909,
-0.13753466308116913,
0.022784270346164703,
-0.0692998543381691,
-0.20195220410823822,
-0.31711244583129883,
-0.4108749032020569,
0.016262497752904892,
0.41765815019607544,
0.2765154540538788,
-0.243893101811409,
-0.029012886807322502,
-0.09632187336683273,
-0.043016307055950165,
0.10084015876054764,
-0.4577731788158417,
0.017623433843255043,
-0.18013949692249298,
0.03557576611638069,
0.04010277986526489,
0.19183214008808136,
0.0348912812769413,
-0.03855040296912193,
-0.2494911551475525,
0.30834469199180603,
-0.11330588161945343,
0.3779571056365967,
-0.19238269329071045,
0.22635313868522644,
0.0909014642238617,
-0.14182858169078827,
0.09657608717679977,
0.16803684830665588,
0.07403639703989029,
0.1241258904337883,
-0.23994672298431396,
0.2566562294960022,
-0.13950273394584656,
0.23083987832069397,
0.08922761678695679,
0.031311340630054474,
0.0640081986784935,
0.057827044278383255,
-0.47846734523773193,
0.00780661404132843,
0.03719750791788101,
0.30523526668548584,
-0.11862169206142426,
0.06589949876070023,
-0.20200568437576294,
0.09085820615291595,
0.3248944878578186,
-0.022429268807172775,
-0.10222289711236954,
0.1152452826499939,
-0.19265413284301758,
-0.10726966708898544,
0.03744993731379509,
0.6899606585502625,
0.7857399582862854,
0.21425053477287292,
0.16626869142055511,
0.30236998200416565,
-0.059279121458530426,
-0.2427891194820404,
0.392584890127182,
0.2509204149246216,
0.28771254420280457,
0.18597149848937988,
-0.03218899294734001,
0.27325141429901123,
0.012230142951011658,
-0.22522185742855072,
-0.06243196129798889,
0.13104987144470215,
-0.3587122857570648,
-0.052105799317359924,
-0.35194024443626404,
-0.3991733491420746,
-0.26929762959480286,
-0.21924100816249847,
-0.31519100069999695,
-0.37334656715393066,
-0.21387147903442383,
0.07474417239427567,
-0.3440209925174713,
0.29906636476516724,
0.2070409506559372,
0.11049654334783554,
-0.25735729932785034,
-0.1783585250377655,
-0.05936595797538757,
0.0005413941107690334,
-0.3377210795879364,
-0.007541066035628319,
0.10992893576622009,
-0.21446946263313293,
0.3105419874191284,
-0.31080910563468933,
0.10204516351222992,
-0.4725904166698456,
-0.3711874485015869,
-0.011559374630451202,
0.033279210329055786,
0.3602895736694336,
0.6847580671310425,
0.13646885752677917,
0.08153533935546875,
-0.3115881681442261,
0.22049963474273682,
-0.07902178913354874,
0.05777718871831894,
-0.34948939085006714,
0.01624204032123089,
0.0037435730919241905,
-0.06917062401771545,
-0.37521564960479736,
-0.478920578956604,
-0.48262321949005127,
0.13410493731498718,
0.24568511545658112,
0.1558227241039276,
-0.027859121561050415,
-0.010613467544317245,
0.029617298394441605,
0.027440881356596947,
0.20408815145492554,
-0.21489188075065613,
-0.5335003733634949,
0.09965326637029648,
-0.2712132930755615,
-0.18793322145938873,
0.07905900478363037,
0.15933538973331451,
0.39880263805389404,
-0.07756698131561279,
-0.3655332922935486,
0.07456675171852112,
-0.05171255022287369,
0.2360331118106842,
0.047839753329753876,
0.5593588948249817,
0.25931066274642944,
0.21650591492652893,
-0.035303276032209396,
-0.01383918896317482,
-0.48933449387550354,
-0.2567767798900604,
0.03110617771744728,
0.6336979269981384,
0.16006511449813843,
0.2577398419380188,
-0.03561282157897949,
0.40463268756866455,
0.03333428502082825,
-0.23593713343143463,
0.1810353696346283,
-0.16796861588954926,
0.41201722621917725,
0.09131667017936707,
-0.226803258061409,
0.016084978356957436,
-0.10715314745903015,
0.13968053460121155,
0.12688255310058594,
-0.15672442317008972,
0.11246690154075623,
-0.33697062730789185,
-0.1954178512096405,
-0.13964161276817322,
-0.2638718783855438,
0.11779085546731949,
-0.13343358039855957,
0.10230930149555206,
0.25940388441085815,
-0.14757245779037476,
-0.1729324609041214,
0.11273237317800522,
-0.07078877091407776,
0.3286060690879822,
0.01835307478904724,
0.3010408580303192,
0.2255912572145462,
-0.29974067211151123,
-0.2737324833869934,
0.15376797318458557,
-0.09127060323953629,
0.2588368058204651,
0.02597663924098015,
-0.29793986678123474,
-0.06503799557685852,
-0.008046705275774002,
0.49072498083114624,
-0.5771642327308655,
-0.12454421818256378,
-0.029904235154390335,
-0.008485708385705948,
-0.33470648527145386,
-0.1950172483921051,
-0.17974019050598145,
0.10125532746315002,
0.3292839825153351,
0.32561004161834717,
-0.07514026015996933,
-0.2249174565076828,
0.31203493475914,
-0.10287376493215561,
-0.07068084925413132,
-0.3274645209312439,
-0.22697177529335022,
-0.23493748903274536,
-0.4673556387424469,
-0.09582211822271347,
0.025211172178387642,
0.07988287508487701,
-0.039780013263225555,
0.16951894760131836,
0.03963267430663109,
0.2262154519557953,
0.02282319962978363,
0.04349757730960846,
-0.06633388251066208,
0.14665105938911438,
-0.14636969566345215,
0.11083239316940308,
0.14414924383163452,
0.31639277935028076,
0.6778636574745178,
-0.15809190273284912,
-0.12150903046131134,
0.0998694971203804,
0.17276787757873535,
0.3800726532936096,
0.44183725118637085,
0.16990694403648376,
-0.10110580176115036,
0.12617583572864532,
0.24000732600688934,
-0.328909695148468,
0.07782991230487823,
0.2633220851421356,
0.09614656865596771,
0.006623724941164255,
-0.38010603189468384,
0.07075820863246918,
-0.06872086226940155,
-0.0026100948452949524,
-0.1605602353811264,
-0.0606045126914978,
-0.2086852639913559,
-0.1574023813009262,
0.3897593021392822,
1.188190221786499,
0.2383321076631546,
0.48061779141426086,
0.23999354243278503,
-0.2063005119562149,
0.9070762991905212,
-0.15537035465240479,
-0.014937400817871094,
-0.06898702681064606,
0.24582049250602722,
-0.08698264509439468,
-0.24005059897899628,
0.11982885003089905,
-0.26471424102783203,
-0.41984766721725464,
0.41063088178634644,
0.12976206839084625,
0.0878598541021347,
0.3991098403930664,
0.38028377294540405,
-0.17855839431285858,
-0.2124519795179367,
-0.3175921142101288,
0.008124478161334991,
-0.12303845584392548,
0.5326763391494751,
-0.1800696849822998,
-0.2863081693649292,
0.030874963849782944,
-0.2962942123413086,
-0.24233494699001312,
0.19419151544570923,
-0.3958505094051361,
0.055672843009233475,
0.041314829140901566,
0.13068412244319916,
0.19588297605514526,
0.01818826049566269,
0.027107805013656616,
0.4056113660335541,
-0.19525788724422455,
0.008968589827418327,
0.13134969770908356,
0.004643159918487072,
0.008005634881556034,
-0.06276287138462067,
0.27298155426979065,
-0.2552703619003296,
-0.17154058814048767,
-0.08246883004903793,
-0.13933910429477692,
-0.17782709002494812,
0.05947503447532654,
0.002467028796672821,
0.041732288897037506,
-0.1363663375377655,
-0.25926488637924194,
-0.11349372565746307,
-0.28933191299438477,
-0.3172072768211365,
0.09984457492828369,
-0.13441020250320435,
-0.30855900049209595,
0.12426604330539703,
-0.1268104612827301,
-0.2623681426048279,
-0.11573702096939087,
0.5413480401039124,
-0.26455989480018616,
0.15001069009304047,
0.32627466320991516,
0.22670294344425201,
-0.0007674694061279297,
-0.15459761023521423,
0.05210348963737488,
0.19216345250606537,
-0.32164815068244934,
0.14851698279380798,
0.014074726030230522,
-0.05636917054653168,
0.10828059166669846,
0.22039926052093506,
0.39046168327331543,
0.09350916743278503,
-0.12740549445152283,
-0.34893545508384705,
-0.14216290414333344,
-0.01314571499824524,
0.09583187848329544,
0.2958744466304779,
0.158227801322937,
0.38591739535331726,
0.25528720021247864,
-0.08438991010189056,
-0.2875042259693146,
-0.015749769285321236,
-0.2635205090045929,
0.1193162351846695,
0.2868839502334595,
-0.035083383321762085,
0.07453535497188568,
-0.01767926849424839,
-0.03456999361515045,
0.01180250570178032,
-0.19016827642917633,
-0.12675341963768005,
-0.22432340681552887,
0.20439642667770386,
0.1983635127544403,
-0.21500785648822784,
0.07043750584125519,
-0.16702459752559662,
-0.1964440792798996,
0.12362160533666611,
-0.060652751475572586,
-0.06395639479160309,
-0.12002715468406677,
0.3207308053970337,
-0.06439372897148132,
-0.11192338913679123,
0.11690004169940948,
0.04526018351316452,
0.03894978016614914,
0.2156696915626526,
-0.22836747765541077,
0.3050517737865448,
-0.015814045444130898,
-0.07046832144260406,
-0.06786376237869263,
-0.09983835369348526,
-0.0007103458046913147,
0.2567823827266693,
0.19470903277397156,
-0.24239347875118256,
-0.06536293029785156,
-0.29073792695999146,
0.4576762020587921,
0.496011883020401,
-0.13965916633605957,
-0.17245067656040192,
0.08768796920776367,
0.08248905092477798,
-0.34915053844451904,
-0.1882951706647873,
-0.4475400149822235,
0.11630913615226746,
0.014263395220041275,
0.22832411527633667,
0.024286139756441116,
0.03532324731349945,
-0.028841808438301086,
0.11859527975320816,
0.33218541741371155,
-0.45513707399368286,
0.09632085263729095,
0.4224390387535095,
-0.19924330711364746,
0.1685204952955246,
0.12853316962718964,
0.1824825257062912,
-0.017306819558143616,
0.1155918687582016,
-0.23094722628593445,
-0.024042965844273567,
0.18263202905654907,
0.02323203533887863,
0.11276745796203613,
-0.40054482221603394,
0.23736874759197235,
0.17397205531597137,
-0.029005616903305054,
0.04970647767186165,
0.12052196264266968,
0.11419320851564407,
-0.09369298815727234,
0.16540102660655975,
0.08252987265586853,
0.27814188599586487,
-0.01125435158610344,
-0.26559552550315857,
-0.39776527881622314,
-0.21463772654533386,
-0.21597008407115936,
-0.029424089938402176,
-0.02392009273171425,
-0.09206055104732513,
0.09137573093175888,
0.0503128245472908,
0.07584384828805923,
-0.5750705003738403,
-0.03252151608467102,
-0.17156827449798584,
-0.11481169611215591,
-0.26333191990852356,
0.13192319869995117,
0.13131481409072876,
-0.10274612903594971,
0.0031417980790138245,
0.2531932294368744,
0.7737231254577637,
0.4252637028694153,
-0.08854779601097107,
0.12060119956731796,
0.035160645842552185,
-0.1292780488729477,
-0.15558145940303802,
0.06458857655525208,
0.3034706711769104,
-0.10229817032814026,
0.24713043868541718,
0.17203296720981598,
-0.1489885449409485,
0.2998044788837433,
-0.09033381938934326,
-0.13007311522960663,
-0.05518896132707596,
0.4644879102706909,
0.2664950489997864,
0.0033765435218811035,
0.00341646745800972,
0.48506394028663635,
-0.6163997054100037,
0.09422246366739273,
0.4669526219367981,
0.11469662934541702,
0.22933915257453918,
-0.31724390387535095,
0.064822256565094,
0.12506374716758728,
0.7797806262969971,
0.3200487196445465,
0.2502427399158478,
-0.38261035084724426,
-0.007762424647808075,
-0.6443849802017212,
0.02376922219991684,
0.12041425704956055,
-0.44330814480781555,
0.08209345489740372,
0.17627109587192535,
0.02404221147298813,
0.1119437888264656,
-0.05911901593208313,
0.2929893732070923,
-0.12451932579278946,
0.022471841424703598,
-0.08141376078128815,
-0.06313720345497131,
0.07483991980552673,
0.11456786841154099,
0.21852922439575195,
-0.2991229295730591,
0.21427373588085175,
-0.10730015486478806,
-0.06638416647911072,
-0.3535645008087158,
0.2662038505077362,
0.25950366258621216,
0.4868106544017792,
0.04887082427740097,
0.1725895255804062,
0.23925471305847168,
-0.18741190433502197,
-0.07998692989349365,
-0.4660094380378723,
0.12091721594333649,
-0.44854745268821716,
0.3087722063064575,
0.025726407766342163,
0.1909497231245041,
-0.2107929289340973,
0.020746752619743347,
-0.7145169973373413,
-0.06529180705547333,
-0.013487126678228378,
0.43006572127342224,
-0.09497679024934769,
0.11104049533605576,
-0.05701235681772232,
0.31776535511016846,
0.13333633542060852,
0.02119787409901619,
0.03468881547451019,
0.13922062516212463,
-0.6429908871650696,
-0.3464367091655731,
0.5812122821807861,
-0.21449345350265503,
-0.34162241220474243,
-0.1656494438648224,
0.09373199939727783,
0.07054885476827621,
-0.12585577368736267,
-0.6325563192367554,
0.22513988614082336,
0.2220391035079956,
-0.052581824362277985,
-0.377380907535553,
0.3869906961917877,
-0.23694190382957458,
0.09621812403202057,
-0.013833584263920784,
0.2109106034040451,
0.05354635417461395,
-0.14033761620521545,
-0.3039925992488861,
-0.3202395439147949
] |
https://github.com/huggingface/datasets/pull/276 | Fix metric compute (original_instructions missing) | Awesome! This is working now:
```python
import nlp
seqeval = nlp.load_metric("seqeval")
y_true = [['O', 'O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']]
y_pred = [['O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']]
results = seqeval.compute(y_true, y_pred)
```
I heavily need this fix for an upcoming `nlp` integration PR for Transformers (token classification example) 😅 | When loading arrow data we added in cc8d250 a way to specify the instructions that were used to store them with the loaded dataset.
However metrics load data the same way but don't need instructions (we use one single file).
In this PR I just make `original_instructions` optional when reading files to load a `Dataset` object.
This should fix #269 | 57 | text: Fix metric compute (original_instructions missing)
When loading arrow data we added in cc8d250 a way to specify the instructions that were used to store them with the loaded dataset.
However metrics load data the same way but don't need instructions (we use one single file).
In this PR I just make `original_instructions` optional when reading files to load a `Dataset` object.
This should fix #269
Awesome! This is working now:
```python
import nlp
seqeval = nlp.load_metric("seqeval")
y_true = [['O', 'O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']]
y_pred = [['O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']]
results = seqeval.compute(y_true, y_pred)
```
I heavily need this fix for an upcoming `nlp` integration PR for Transformers (token classification example) 😅 | [
-0.07929044961929321,
0.30609026551246643,
0.06625442206859589,
-0.14698059856891632,
0.2198748141527176,
-0.1020137295126915,
0.10653923451900482,
0.1790556013584137,
0.23212042450904846,
0.41817253828048706,
-0.010289193131029606,
0.418729692697525,
-0.1541576385498047,
-0.2601203918457031,
0.2168746143579483,
0.10734650492668152,
-0.13901707530021667,
0.5919445753097534,
-0.020481273531913757,
-0.040132977068424225,
-0.34692874550819397,
0.12924934923648834,
-0.2281903177499771,
-0.10397472977638245,
-0.37417665123939514,
-0.061466678977012634,
0.01035582460463047,
0.14683818817138672,
-0.1768089383840561,
-0.5922154784202576,
0.2531515061855316,
0.2738347351551056,
0.07432060688734055,
-0.04977383464574814,
-0.00011905266001122072,
-0.011680055409669876,
0.32536643743515015,
-0.15725897252559662,
-0.40674054622650146,
-0.048489972949028015,
-0.10778562724590302,
-0.5796056389808655,
0.5761078596115112,
-0.36519673466682434,
0.21168100833892822,
0.1754862666130066,
0.06365075707435608,
0.025000721216201782,
0.5883740186691284,
0.2395295798778534,
0.13331061601638794,
0.022297710180282593,
-0.012741446495056152,
-0.23328560590744019,
-0.17043611407279968,
-0.2113615721464157,
0.09562722593545914,
0.5287978053092957,
0.07405899465084076,
0.06805822998285294,
-0.06839936226606369,
0.2277497947216034,
-0.055819056928157806,
-0.11201135814189911,
0.2779252529144287,
-0.11081190407276154,
0.5005142092704773,
-0.03746192157268524,
-0.2109980285167694,
-0.06437481194734573,
0.23295873403549194,
-0.07208483666181564,
-0.08759323507547379,
-0.20638689398765564,
-0.014156830497086048,
-1.0727375745773315,
0.054947998374700546,
-0.08036013692617416,
-0.2284843623638153,
-0.07787074148654938,
-0.2903229594230652,
-0.3549787998199463,
-0.30804985761642456,
0.039133016020059586,
-0.032348453998565674,
0.3840242326259613,
-0.06051012873649597,
-0.004947163164615631,
0.014723509550094604,
0.05308636650443077,
0.09064927697181702,
0.14305850863456726,
-0.11621233820915222,
0.37314119935035706,
-0.32962843775749207,
-0.00896487757563591,
0.10806053876876831,
-0.12653443217277527,
-0.16538897156715393,
0.27971118688583374,
0.5609944462776184,
0.28004005551338196,
0.30542561411857605,
0.28041815757751465,
-0.13348059356212616,
0.6995618343353271,
0.05066569149494171,
0.4033462703227997,
0.0038676075637340546,
0.21008843183517456,
-0.0224471352994442,
-0.2782386541366577,
-0.11285603791475296,
-0.336012601852417,
0.1835268884897232,
0.2563236355781555,
0.036575473845005035,
-0.16164404153823853,
-0.39064449071884155,
0.05641549080610275,
0.2605798542499542,
-0.04148141294717789,
0.0784556195139885,
0.2046930193901062,
0.16075237095355988,
0.08199714869260788,
0.17929936945438385,
0.2830343246459961,
-0.3430260121822357,
-0.12125745415687561,
-0.1921413540840149,
-0.07586583495140076,
-0.26128852367401123,
0.12120373547077179,
0.3659350574016571,
0.3916143476963043,
0.48472583293914795,
0.0009405789896845818,
0.366010844707489,
-0.26173821091651917,
0.011445825919508934,
0.07236751914024353,
0.2615469992160797,
0.27654126286506653,
0.14924806356430054,
-0.10251359641551971,
0.14170494675636292,
-0.5946750044822693,
-0.0882352665066719,
0.2837992310523987,
-0.44727396965026855,
-0.5329909324645996,
0.02040422335267067,
0.17552922666072845,
-0.549542248249054,
-0.1711270660161972,
0.05243464931845665,
0.3900766670703888,
-0.005869969725608826,
-0.14953705668449402,
0.004946939647197723,
0.04649234935641289,
-0.12077067792415619,
-0.06517093628644943,
0.3788398206233978,
0.34372562170028687,
-0.3615123927593231,
-0.14647501707077026,
-0.18879233300685883,
0.15435869991779327,
0.0915142297744751,
0.19431567192077637,
-0.289289653301239,
0.2319599688053131,
-0.07310938090085983,
-0.038465891033411026,
0.755781888961792,
-0.5857375264167786,
-0.13857534527778625,
0.06840025633573532,
-0.11687348783016205,
-0.10112553834915161,
-0.11958878487348557,
-0.19572432339191437,
0.27052178978919983,
-0.07023938745260239,
0.11277063190937042,
-0.10338479280471802,
0.020906517282128334,
-0.20362229645252228,
-0.2780071496963501,
0.012495087459683418,
0.12985482811927795,
-0.02413807064294815,
0.10027271509170532,
0.1649722158908844,
0.08661502599716187,
0.08505810797214508,
0.13521648943424225,
-0.14493539929389954,
0.020683465525507927,
0.3785644769668579,
0.07617246359586716,
-0.3995903730392456,
0.046543534845113754,
-0.09037511795759201,
-0.18349647521972656,
0.12820276618003845,
-0.3438711166381836,
-0.08220154047012329,
0.0740521103143692,
0.026583131402730942,
-0.35526522994041443,
-0.01587255857884884,
-0.1717621088027954,
-0.19739501178264618,
0.10272067785263062,
-0.40751609206199646,
0.01895279437303543,
-0.06903702765703201,
-0.21647122502326965,
0.02781255729496479,
-0.2309247851371765,
0.08342726528644562,
0.17856067419052124,
0.02405090071260929,
-0.10542819648981094,
-0.23700881004333496,
0.07296311110258102,
0.5223896503448486,
0.3069210350513458,
0.19640178978443146,
-0.1528453826904297,
0.45303553342819214,
-0.16694927215576172,
0.1741807758808136,
0.02121465653181076,
0.09259463101625443,
0.17560331523418427,
-0.45357218384742737,
-0.15871360898017883,
0.025274308398365974,
0.1528017818927765,
-0.14083880186080933,
-0.13407579064369202,
0.36772316694259644,
-0.058945681899785995,
0.2903860807418823,
0.08783964812755585,
0.01881766878068447,
0.2463284432888031,
-0.10700163245201111,
-0.24132083356380463,
-0.189853698015213,
0.4129270315170288,
0.19351501762866974,
0.3568652868270874,
-0.059208743274211884,
0.24997025728225708,
-0.029713831841945648,
0.45521634817123413,
0.13972486555576324,
-0.23037362098693848,
0.11003816872835159,
0.023367661982774734,
-0.18960854411125183,
-0.10889503359794617,
-0.21315070986747742,
0.28630903363227844,
0.2699987292289734,
0.06862656772136688,
0.28132614493370056,
-0.2364652156829834,
-0.22710061073303223,
0.3760005831718445,
0.13121867179870605,
0.07125590741634369,
0.08680380135774612,
0.1126527190208435,
0.03497360646724701,
-0.25780656933784485,
0.026906419545412064,
0.18614506721496582,
0.018668461591005325,
-0.34281685948371887,
-0.05123233050107956,
-0.08106383681297302,
-0.07488518953323364,
-0.038995299488306046,
0.12375403195619583,
-0.17831066250801086,
-0.34479662775993347,
0.01899947039783001,
-0.18600709736347198,
-0.06939426064491272,
0.23608146607875824,
-0.2184830754995346,
0.3150046169757843,
-0.13299988210201263,
0.05764564871788025,
-0.10920806229114532,
-0.4188016951084137,
-0.23829680681228638,
-0.07417120039463043,
-0.11921770125627518,
0.04224465414881706,
0.08337268233299255,
-0.08377130329608917,
0.3487171530723572,
0.12177757173776627,
-0.5416988134384155,
0.06366905570030212,
0.3648533225059509,
0.20817480981349945,
0.07139170169830322,
-0.1636660248041153,
-0.3256312608718872,
-0.31678760051727295,
0.10823018103837967,
-0.10219867527484894,
-0.026913903653621674,
0.2025708705186844,
-0.1409335434436798,
-0.10896347463130951,
-0.37065204977989197,
-0.057685039937496185,
-0.06921052187681198,
-0.40942707657814026,
0.23899812996387482,
0.34581559896469116,
0.1906306892633438,
0.4788278639316559,
-0.04628485068678856,
0.0248088538646698,
0.05787089467048645,
-0.10618999600410461,
-0.1876971423625946,
-0.26095178723335266,
0.19858020544052124,
-0.41511061787605286,
-0.28920313715934753,
-0.10145184397697449,
-0.2161978930234909,
0.4871197044849396,
0.1484057605266571,
0.013053566217422485,
0.1065906211733818,
-0.10291467607021332,
0.0808815062046051,
-0.2988046407699585,
0.015568762086331844,
0.44153091311454773,
-0.043348800390958786,
0.027772480621933937,
-0.33094561100006104,
-0.30218812823295593,
0.5522914528846741,
0.03929175063967705,
-0.004264652729034424,
-0.32751235365867615,
0.0632287859916687,
0.04951730743050575,
0.7373184561729431,
0.19740267097949982,
0.13578854501247406,
0.26788628101348877,
0.2198246717453003,
0.5644364356994629,
0.007609806954860687,
0.02603081427514553,
0.3364797830581665,
0.18581880629062653,
-0.12076021730899811,
0.15784324705600739,
0.029141336679458618,
-0.5297040939331055,
-0.15924325585365295,
0.2561722695827484,
-0.4711029827594757,
-0.2615126073360443,
0.045363884419202805,
-0.6246010065078735,
0.22350621223449707,
0.5156151652336121,
0.007671043276786804,
-0.6498957276344299,
-0.2310190498828888,
-0.15920211374759674,
0.11839702725410461,
0.4183623492717743,
-0.054588500410318375,
-0.3711451292037964,
-0.2551608085632324,
-0.38171297311782837,
0.18836292624473572,
-0.110700324177742,
0.27426302433013916,
0.0838162750005722,
0.10767393559217453,
0.055534109473228455,
0.07828419655561447,
0.12290925532579422,
-0.13314048945903778,
-0.10301253199577332,
0.3056638836860657,
0.4081430733203888,
-0.5423592925071716,
-0.10034199059009552,
-0.01736484095454216,
0.3718591332435608,
0.07522381842136383,
0.2343449890613556,
-0.3954916000366211,
-0.16112415492534637,
-0.06258399039506912,
-0.034642916172742844,
-0.24897627532482147,
-0.16975930333137512,
-0.2670227289199829,
-0.11833000183105469,
0.08542132377624512,
-0.03354882448911667,
0.2645930349826813,
0.16931237280368805,
-0.16924318671226501,
0.03188299760222435,
-0.16888673603534698,
0.06497100740671158,
0.07672175019979477,
-0.10960826277732849,
0.4026624858379364,
-0.03529057651758194,
-0.033705905079841614,
0.13816645741462708,
-0.25121647119522095,
-0.2778531014919281,
0.33015644550323486,
-0.04932968690991402,
-0.34366825222969055,
0.1968899965286255,
-0.15645915269851685,
0.48605138063430786,
0.3898167014122009,
0.08655162900686264,
-0.05893654376268387,
-0.06746424734592438,
0.09807878732681274,
-0.19505000114440918,
0.0711899995803833,
0.07021473348140717,
0.0495779924094677,
-0.1746133714914322,
-0.10816219449043274,
0.37477678060531616,
0.17275939881801605,
-0.11995401233434677,
0.2591724991798401,
-0.06549094617366791,
-0.23460151255130768,
0.22722847759723663,
0.2841144800186157,
0.7447594404220581,
0.04694272577762604,
0.10713937878608704,
0.3546387851238251,
-0.1535864770412445,
0.622857928276062,
-0.0458969883620739,
0.12751305103302002,
-0.21716204285621643,
-0.1151137501001358,
0.1803600788116455,
-0.09344492852687836,
-0.06501049548387527,
0.19945335388183594,
-0.1447533816099167,
0.36722490191459656,
-0.05476781725883484,
0.00784338265657425,
0.5801501870155334,
0.13291142880916595,
-0.11748803406953812,
-0.29575875401496887,
-0.04124417528510094,
-0.04394698515534401,
-0.10588042438030243,
0.04098335653543472,
-0.3952145576477051,
-0.2226300686597824,
0.15014764666557312,
-0.2029348909854889,
-0.11895386129617691,
0.05756630003452301,
-0.1873924285173416,
0.230052649974823,
-0.00638478621840477,
-0.2397388368844986,
0.13144266605377197,
0.13484683632850647,
0.3885219693183899,
0.07075228542089462,
-0.17885427176952362,
0.24457012116909027,
-0.13410669565200806,
0.06228001415729523,
0.15485918521881104,
0.21991600096225739,
0.24491441249847412,
-0.24533390998840332,
-0.0377204492688179,
-0.02612999826669693,
-0.34106743335723877,
-0.2687116861343384,
0.06740114092826843,
0.07855964452028275,
0.0006475076079368591,
0.17508402466773987,
-0.033781569451093674,
-0.02837185561656952,
-0.08970770984888077,
-0.23025323450565338,
0.0648123100399971,
0.07229167222976685,
-0.12544798851013184,
0.19795361161231995,
0.2086615115404129,
-0.29319292306900024,
0.2978282868862152,
0.056016359478235245,
0.06201457977294922,
-0.42194220423698425,
0.5884385108947754,
-0.4886312782764435,
-0.030390052124857903,
-0.11979928612709045,
-0.20347654819488525,
-0.003482575761154294,
-0.577155351638794,
0.2106190025806427,
-0.02141851931810379,
0.2274068146944046,
-0.00578111270442605,
0.22741718590259552,
0.2111726701259613,
0.030701402574777603,
-0.05772741883993149,
-0.3365514874458313,
-0.44795194268226624,
0.16355162858963013,
-0.38559579849243164,
-0.1637430638074875,
-0.2963310778141022,
0.4470742642879486,
-0.0033074915409088135,
0.15952947735786438,
-0.27227699756622314,
0.26042962074279785,
-0.37189313769340515,
0.2381843477487564,
-0.145547553896904,
-0.2696534991264343,
-0.14585834741592407,
0.0021288683637976646,
-0.054477207362651825,
0.24622949957847595,
-0.19442614912986755,
-0.13669340312480927,
-0.1630149781703949,
0.18635441362857819,
-0.03659407049417496,
-0.06069116294384003,
0.31029990315437317,
0.16462521255016327,
-0.1675000786781311,
-0.0036656223237514496,
-0.36976781487464905,
-0.06464173644781113,
-0.019507214426994324,
0.2650861144065857,
0.09639781713485718,
0.7292634844779968,
0.002246864140033722,
0.16258908808231354,
0.008385144174098969,
0.4200907349586487,
-0.2271842658519745,
0.20281225442886353,
-0.2024936079978943,
0.06029844284057617,
0.1226276233792305,
-0.0714878961443901,
-0.19382233917713165,
-0.0010774768888950348,
0.22474223375320435,
-0.34869325160980225,
0.12332785129547119,
-0.18820658326148987,
0.14467598497867584,
0.26018327474594116,
-0.11648781597614288,
-0.017782043665647507,
0.006375491619110107,
0.1140286847949028,
-0.23946695029735565,
0.22348180413246155,
0.0675118938088417,
0.13151638209819794,
0.10287870466709137,
0.09707583487033844,
0.4629519283771515,
-0.3733155131340027,
0.5147204995155334,
0.150264173746109,
0.10782185196876526,
-0.21594592928886414,
0.2831338047981262,
0.1407998502254486,
0.10442481935024261,
-0.1226535439491272,
0.25060248374938965,
0.12170101702213287,
0.13280948996543884,
0.20107445120811462,
-0.3443600833415985,
0.2104535847902298,
0.23063328862190247,
0.27221038937568665,
-0.06365355104207993,
-0.2433401346206665,
-0.37646621465682983,
0.05496342480182648,
0.04255233332514763,
0.18778295814990997,
-0.11683368682861328,
0.5258645415306091,
-0.05368765816092491,
-0.05046376213431358,
0.09792099893093109,
0.05562340095639229,
-0.23986393213272095,
0.01285819336771965,
-0.2795140743255615,
-0.19295217096805573,
-0.19681033492088318,
-0.26155662536621094,
0.18778058886528015,
0.06920362263917923,
0.1571698784828186,
0.15433305501937866,
-0.07634109258651733,
-0.20100456476211548,
-0.012365959584712982,
0.4094666540622711,
0.31982532143592834,
-0.20951998233795166,
0.3714468777179718,
0.15257634222507477,
-0.11555221676826477,
0.23995663225650787,
0.4586760997772217,
0.4774075746536255,
0.35385456681251526,
-0.2602560222148895,
0.07583259046077728,
0.3054293096065521,
-0.274397611618042,
-0.18637356162071228,
0.2916552722454071,
0.6031726598739624,
-0.17823369801044464,
0.2593134641647339,
-0.007540224120020866,
-0.159211203455925,
0.18017829954624176,
-0.025870036333799362,
0.07788601517677307,
-0.21777719259262085,
0.1959872841835022,
0.28917786478996277,
-0.14007659256458282,
-0.08848517388105392,
-0.21663576364517212,
-0.31060144305229187,
-0.05699516832828522,
-0.07186609506607056,
0.03868674114346504,
-0.009728187695145607,
-0.1443154513835907,
0.07200654596090317,
-0.03423374518752098,
0.25889939069747925,
0.2207539826631546,
0.09959879517555237,
-0.4223545491695404,
-0.41699767112731934,
-0.6932302117347717,
0.09196553379297256,
0.16986213624477386,
0.11912323534488678,
0.19588418304920197,
0.25992652773857117,
-0.10282907634973526,
0.04077773913741112,
-0.017647281289100647,
0.2512129545211792,
0.3446453809738159,
-0.16546571254730225,
-0.6281298398971558,
0.24192336201667786,
0.039156556129455566,
-0.13299015164375305,
-0.1819220632314682,
-0.12170783430337906,
-0.12844817340373993,
0.1515405923128128,
-0.03504218906164169,
0.014516196213662624,
0.08499926328659058,
0.17883744835853577,
0.9217147827148438,
0.2762604355812073,
0.25453469157218933,
0.42101916670799255,
-0.07815524935722351,
-0.08746900409460068,
-0.13823337852954865,
-0.11868146061897278,
-0.23173929750919342,
0.056142840534448624,
-0.06689967215061188,
0.13475222885608673,
-0.24526232481002808,
0.11631429195404053,
-0.17757590115070343,
-0.07876720279455185,
-0.0678122267127037,
-0.185732901096344,
-0.3517742156982422,
0.22816398739814758,
-0.10084730386734009,
0.44616347551345825,
0.2702316343784332,
0.3267468810081482,
0.0429074689745903,
0.2026555836200714,
-0.3417724072933197,
-0.30205127596855164,
0.6543645262718201,
0.012563028372824192,
-0.1758808195590973,
0.07699990272521973,
0.5829119682312012,
0.3513297140598297,
-0.08756015449762344,
-0.46132516860961914,
-0.15396922826766968,
0.46755051612854004,
-0.31103867292404175,
-0.03774600848555565,
0.31555062532424927,
-0.3221517503261566,
0.08668117225170135,
-0.07935984432697296,
0.24340583384037018,
0.33481544256210327,
-0.13640080392360687,
-0.3288295269012451,
-0.4736045002937317
] |
https://github.com/huggingface/datasets/pull/276 | Fix metric compute (original_instructions missing) | Haha nice ! We'll ship this fix with the next release that will probably come out on thursday :) | When loading arrow data we added in cc8d250 a way to specify the instructions that were used to store them with the loaded dataset.
However metrics load data the same way but don't need instructions (we use one single file).
In this PR I just make `original_instructions` optional when reading files to load a `Dataset` object.
This should fix #269 | 19 | text: Fix metric compute (original_instructions missing)
When loading arrow data we added in cc8d250 a way to specify the instructions that were used to store them with the loaded dataset.
However metrics load data the same way but don't need instructions (we use one single file).
In this PR I just make `original_instructions` optional when reading files to load a `Dataset` object.
This should fix #269
Haha nice ! We'll ship this fix with the next release that will probably come out on thursday :) | [
-0.3302713930606842,
0.24435502290725708,
-0.06397683918476105,
-0.005654491484165192,
0.23187381029129028,
-0.10190693289041519,
0.2456781566143036,
0.19758331775665283,
0.19731976091861725,
0.4905928373336792,
0.04831685125827789,
0.3161289691925049,
-0.06586350500583649,
-0.1155710220336914,
0.17079223692417145,
0.0966552346944809,
-0.048606179654598236,
0.38906756043434143,
-0.24110817909240723,
0.07155519723892212,
-0.4101501405239105,
0.04023035615682602,
-0.18404793739318848,
-0.06401857733726501,
-0.30544641613960266,
-0.12306641787290573,
0.12674979865550995,
0.2539641857147217,
-0.24237756431102753,
-0.6021239757537842,
0.10228295624256134,
0.31492313742637634,
0.13934198021888733,
0.1209811419248581,
-0.00010764537000795826,
-0.020696792751550674,
0.36125582456588745,
-0.03339182958006859,
-0.2771182060241699,
0.10567516088485718,
-0.25278234481811523,
-0.46516740322113037,
0.49678462743759155,
-0.2756446599960327,
0.2624450922012329,
0.1562771201133728,
0.026572108268737793,
-0.12344712764024734,
0.37978821992874146,
0.18565376102924347,
0.2686820328235626,
0.020695913583040237,
0.005880285054445267,
-0.4876645505428314,
-0.13997438549995422,
-0.18375058472156525,
0.03295614570379257,
0.5104297995567322,
0.27217233180999756,
0.3173352777957916,
-0.11861329525709152,
0.2931695282459259,
0.09385757893323898,
0.033120933920145035,
0.34683793783187866,
-0.08540860563516617,
0.44532695412635803,
-0.03100857138633728,
0.03304951637983322,
0.06923364847898483,
0.4864802062511444,
-0.020818375051021576,
0.13731054961681366,
0.0018045157194137573,
-0.09231368452310562,
-0.8539610505104065,
0.17432060837745667,
-0.31569725275039673,
-0.09954482316970825,
-0.10760922729969025,
-0.2356756627559662,
-0.4702109098434448,
-0.2642418146133423,
-0.03140807896852493,
-0.15362584590911865,
0.11233191192150116,
-0.2301967442035675,
-0.007519744336605072,
0.12025405466556549,
0.027000125497579575,
0.14486001431941986,
0.21399252116680145,
-0.2940291166305542,
0.18599122762680054,
-0.13299041986465454,
0.07512235641479492,
0.011923104524612427,
-0.178126722574234,
-0.03747832402586937,
0.15936261415481567,
0.4963117837905884,
0.3600337505340576,
0.29560717940330505,
0.1773674488067627,
0.06603536009788513,
0.45868751406669617,
0.03922955319285393,
0.24632789194583893,
0.09596619009971619,
0.2737177312374115,
0.011546656489372253,
-0.3355320990085602,
-0.056995511054992676,
-0.4584275186061859,
0.21088050305843353,
0.18297624588012695,
0.07328939437866211,
-0.2496107667684555,
-0.3237041234970093,
0.10951327532529831,
0.46967363357543945,
-0.04488696530461311,
0.13192076981067657,
0.28450658917427063,
0.31790855526924133,
0.15125542879104614,
0.20510679483413696,
0.13476544618606567,
-0.20417450368404388,
-0.08806335926055908,
-0.2758975625038147,
-0.24375812709331512,
-0.22836527228355408,
0.15357647836208344,
0.13999231159687042,
0.24856792390346527,
0.41304633021354675,
0.04186554253101349,
0.42152953147888184,
-0.3303090035915375,
0.002786077558994293,
0.11476486921310425,
0.24216175079345703,
0.23165744543075562,
0.12175020575523376,
-0.033123891800642014,
0.1543717086315155,
-0.5274248719215393,
-0.043185628950595856,
0.2778705954551697,
-0.5176759958267212,
-0.45389524102211,
-0.0470135360956192,
0.2945520281791687,
-0.3427024483680725,
-0.10151223838329315,
0.08897076547145844,
0.37586379051208496,
-0.061549775302410126,
-0.14191202819347382,
0.019462943077087402,
0.15770602226257324,
-0.1326756328344345,
-0.1610420048236847,
0.33681681752204895,
0.32097288966178894,
-0.6034408211708069,
-0.051013119518756866,
-0.1971380114555359,
-0.0069663263857364655,
0.020215854048728943,
0.014163456857204437,
-0.3039185404777527,
0.047803036868572235,
-0.10097162425518036,
-0.0061307623982429504,
0.508691668510437,
-0.4851863384246826,
-0.16805391013622284,
0.15266603231430054,
-0.2060329020023346,
-0.13096633553504944,
-0.21776995062828064,
-0.1731666922569275,
0.2701139748096466,
-0.11110063642263412,
0.015864655375480652,
-0.46889936923980713,
0.01840512827038765,
-0.2380247563123703,
-0.3118143677711487,
0.05124971270561218,
-0.12747922539710999,
0.028371747583150864,
0.06861351430416107,
0.11997942626476288,
0.1847359985113144,
-0.08240564912557602,
0.17321991920471191,
-0.12282787263393402,
-0.005974194034934044,
0.39918583631515503,
0.24905182421207428,
-0.34498196840286255,
0.10806813836097717,
0.0003453195095062256,
-0.2531090974807739,
0.1947062611579895,
-0.21227218210697174,
-0.19371643662452698,
0.2940641939640045,
0.03695116192102432,
-0.37759748101234436,
-0.06034659594297409,
-0.16085143387317657,
-0.09957583248615265,
0.20251460373401642,
-0.33908072113990784,
-0.2467152625322342,
-0.2216351181268692,
-0.22997717559337616,
-0.076639324426651,
-0.37323907017707825,
-0.015734536573290825,
0.2961854636669159,
0.006269467994570732,
-0.15115773677825928,
-0.1263168603181839,
-0.004784721881151199,
0.09799350798130035,
0.1985037624835968,
0.11459517478942871,
-0.2474023699760437,
0.5108820796012878,
-0.08702073246240616,
0.14646455645561218,
0.051868099719285965,
0.21253052353858948,
0.1540377140045166,
-0.3494859039783478,
-0.15638330578804016,
-0.16763630509376526,
0.09710340946912766,
-0.15887784957885742,
-0.0738162025809288,
0.22368165850639343,
-0.1439097374677658,
0.13809078931808472,
-0.0850600153207779,
0.05869871377944946,
0.2588595747947693,
0.0047532618045806885,
-0.013346096500754356,
-0.35134634375572205,
0.1790596842765808,
0.027559548616409302,
0.34882593154907227,
-0.10313785076141357,
0.24891626834869385,
0.08573812991380692,
0.4673243761062622,
0.20636720955371857,
-0.18306905031204224,
0.0856962651014328,
-0.044942550361156464,
-0.16162633895874023,
-0.0657152608036995,
-0.06065533310174942,
0.22601556777954102,
0.17920702695846558,
0.1108035147190094,
0.2451368123292923,
-0.047319650650024414,
-0.301159530878067,
0.39874163269996643,
0.06772530823945999,
0.29573366045951843,
0.006774112582206726,
-0.13986781239509583,
-0.03542643040418625,
-0.28083473443984985,
0.131807342171669,
0.24742159247398376,
0.17326797544956207,
-0.29506635665893555,
-0.17649340629577637,
-0.1507582813501358,
0.09932934492826462,
-0.03140896186232567,
0.23256851732730865,
-0.07531943917274475,
-0.3139970302581787,
0.04759672284126282,
-0.09558679163455963,
-0.31065747141838074,
0.17298705875873566,
-0.12390756607055664,
0.4119876027107239,
-0.05130813270807266,
0.3137418031692505,
-0.1798119693994522,
-0.35410356521606445,
-0.2176186442375183,
0.05506189540028572,
0.09167765825986862,
-0.1278703808784485,
-0.017636319622397423,
-0.1208554282784462,
0.4810786843299866,
-0.05008164048194885,
-0.4783826470375061,
0.1077289879322052,
0.4202168583869934,
0.13373963534832,
0.12366743385791779,
-0.015227220952510834,
-0.4170016646385193,
-0.19015276432037354,
0.04902207478880882,
-0.2248764932155609,
-0.07071870565414429,
0.09893504530191422,
-0.1742759346961975,
-0.17009611427783966,
-0.319333016872406,
-0.06029472500085831,
0.03455560654401779,
-0.41478919982910156,
0.061784833669662476,
0.15675829350948334,
0.16406479477882385,
0.35647815465927124,
0.08965633809566498,
0.10363579541444778,
0.04764484986662865,
-0.2100318968296051,
-0.3108631372451782,
-0.4717012345790863,
0.05001983791589737,
-0.4709624648094177,
-0.3562391400337219,
0.006814796477556229,
0.11296987533569336,
0.3319442868232727,
0.1304299384355545,
-0.02296367660164833,
-0.08529572933912277,
-0.0713682770729065,
0.21778783202171326,
-0.27361372113227844,
-0.06979801505804062,
0.3723766505718231,
-0.04698798805475235,
-0.13263379037380219,
-0.4091707468032837,
-0.19748316705226898,
0.5709196925163269,
0.012504808604717255,
-0.024541296064853668,
-0.390855610370636,
-0.035201430320739746,
0.03929867222905159,
0.6306297779083252,
0.2063213735818863,
0.010177459567785263,
0.19990621507167816,
0.27173614501953125,
0.6504544019699097,
-0.09961996227502823,
0.1882229894399643,
0.35010790824890137,
0.1500048041343689,
-0.11680112034082413,
0.3025854527950287,
-0.00919942557811737,
-0.5419690012931824,
-0.10859418660402298,
0.14175750315189362,
-0.2528056204319,
-0.2021307647228241,
0.0016711857169866562,
-0.41631266474723816,
0.17564553022384644,
0.40087205171585083,
0.0314209908246994,
-0.5336426496505737,
-0.14721933007240295,
-0.023671898990869522,
0.06238025799393654,
0.46452564001083374,
-0.11744578182697296,
-0.3363756239414215,
-0.11849912256002426,
-0.34114155173301697,
0.2571236491203308,
-0.02481393702328205,
0.1901313215494156,
-0.19488947093486786,
0.051618896424770355,
-0.07884395122528076,
0.05922264605760574,
0.1986021250486374,
-0.26211017370224,
-0.1624055951833725,
0.2044435739517212,
0.3638838827610016,
-0.36335811018943787,
-0.04250288009643555,
-0.03196941688656807,
0.4746074676513672,
-0.016979757696390152,
0.263712078332901,
-0.20664817094802856,
-0.056135550141334534,
-0.15643362700939178,
-0.12198846787214279,
-0.2022584229707718,
-0.17314454913139343,
-0.11459417641162872,
-0.15664753317832947,
0.12393946945667267,
-0.009113840758800507,
0.24084587395191193,
0.07854942977428436,
-0.12604960799217224,
-0.21293653547763824,
-0.08999200165271759,
0.037473976612091064,
-0.1455257385969162,
0.014931106939911842,
0.505255937576294,
-0.031922921538352966,
-0.0069051142781972885,
0.3054428696632385,
-0.14839136600494385,
0.09645035862922668,
0.31922781467437744,
-0.05310320481657982,
-0.3087720274925232,
0.30247557163238525,
-0.27051395177841187,
0.2653501629829407,
0.39500147104263306,
0.009068567305803299,
-0.0306384414434433,
0.17910157144069672,
0.13452908396720886,
-0.178318053483963,
0.08494756370782852,
0.018743321299552917,
0.09804926812648773,
-0.23131917417049408,
-0.024131199344992638,
0.4046068787574768,
0.1565549522638321,
-0.12431176006793976,
0.5968121886253357,
-0.0692564994096756,
-0.1250983625650406,
0.047416768968105316,
0.3421102464199066,
0.6156288385391235,
-0.02064713090658188,
-0.1952349990606308,
0.2392016053199768,
-0.3018511235713959,
0.36750370264053345,
-0.11260166019201279,
-0.04213007912039757,
-0.20662060379981995,
-0.3301358222961426,
0.11841487884521484,
-0.013717114925384521,
0.04783625900745392,
0.18545964360237122,
-0.21216465532779694,
0.05959775671362877,
-0.21156804263591766,
0.2505449056625366,
0.37362292408943176,
0.05610736459493637,
-0.158815398812294,
-0.19559794664382935,
0.23586846888065338,
0.08858972787857056,
-0.06511005014181137,
-0.13762010633945465,
-0.5064744353294373,
-0.19004033505916595,
0.2975670099258423,
-0.15695860981941223,
-0.12884719669818878,
-0.07180141657590866,
-0.24417744576931,
0.17297904193401337,
-0.0654057115316391,
-0.14650249481201172,
0.09751427173614502,
-0.03197239711880684,
0.454484224319458,
-0.01494072750210762,
-0.1879541128873825,
0.4427964985370636,
0.04196308180689812,
0.15974533557891846,
0.07863149046897888,
0.11760663986206055,
0.12206526845693588,
-0.2516953945159912,
-0.10061340034008026,
0.0038811787962913513,
-0.24043728411197662,
-0.2784975469112396,
0.07474121451377869,
0.037310365587472916,
0.0070843324065208435,
0.16885791718959808,
0.06588727235794067,
-0.07228848338127136,
-0.1494702398777008,
-0.22505170106887817,
0.1965823620557785,
-0.010915391147136688,
-0.07015522569417953,
0.1762729287147522,
0.35937854647636414,
-0.2206050157546997,
0.2105725109577179,
-0.007740482687950134,
0.04365167021751404,
-0.3883470594882965,
0.34356895089149475,
-0.3106161653995514,
-0.12948554754257202,
-0.26909369230270386,
-0.05202646553516388,
0.17454905807971954,
-0.5328800082206726,
0.2375800460577011,
0.005788342095911503,
0.18208499252796173,
0.05914316698908806,
0.22637343406677246,
0.2313186079263687,
0.05851233750581741,
-0.125802144408226,
-0.22720064222812653,
-0.43732497096061707,
0.0014279186725616455,
-0.48882678151130676,
0.036697182804346085,
-0.3063994348049164,
0.19754745066165924,
-0.03793732821941376,
0.12210891395807266,
-0.38857924938201904,
0.2909788191318512,
-0.27482739090919495,
0.04837126284837723,
-0.13390778005123138,
-0.17685139179229736,
-0.05472764000296593,
-0.08952341973781586,
0.027074141427874565,
0.29570549726486206,
-0.2863038182258606,
-0.21793138980865479,
-0.041446536779403687,
0.10647401213645935,
-0.22782832384109497,
-0.14346176385879517,
0.2029763013124466,
0.1880236119031906,
-0.2918781042098999,
0.05135361850261688,
-0.18570008873939514,
-0.04773799329996109,
-0.020114697515964508,
0.115022674202919,
0.1282777637243271,
0.519362211227417,
-0.01037142425775528,
0.2101484090089798,
0.18176603317260742,
0.47520744800567627,
-0.24895073473453522,
0.16874104738235474,
-0.19116003811359406,
-0.06557950377464294,
0.32412534952163696,
0.14218541979789734,
-0.13789720833301544,
-0.0038641132414340973,
0.17284347116947174,
-0.24480174481868744,
0.15251748263835907,
0.00246076425537467,
0.10689492523670197,
0.09813733398914337,
-0.0998174250125885,
-0.11335558444261551,
-0.030871618539094925,
0.29294702410697937,
-0.16365081071853638,
0.030642781406641006,
-0.08192220330238342,
0.22688043117523193,
0.06236940994858742,
0.019996412098407745,
0.4983927309513092,
-0.4470527768135071,
0.5634677410125732,
0.2068672478199005,
0.12461519241333008,
-0.2641417384147644,
0.4362736642360687,
0.19886353611946106,
0.047768447548151016,
-0.09848597645759583,
0.27519509196281433,
0.2820747494697571,
0.14271217584609985,
0.2165733426809311,
-0.319146066904068,
0.17215293645858765,
0.33407270908355713,
0.3165014684200287,
0.01571180671453476,
-0.30788981914520264,
-0.17392340302467346,
0.175767719745636,
-0.06630906462669373,
0.17874833941459656,
-0.029913537204265594,
0.3623118996620178,
-0.03603877127170563,
-0.07459402829408646,
-0.03174169361591339,
-0.22784583270549774,
-0.3795718252658844,
0.10011850297451019,
-0.35303574800491333,
-0.2937816381454468,
-0.09550708532333374,
-0.20109936594963074,
0.1667582392692566,
0.16136778891086578,
0.24410614371299744,
0.07001133263111115,
-0.07461577653884888,
-0.19589170813560486,
0.06285957992076874,
0.3463370203971863,
0.2931091785430908,
-0.07822857797145844,
0.4169582724571228,
0.16263370215892792,
-0.14091193675994873,
0.44470319151878357,
0.42318424582481384,
0.3594082295894623,
0.34264910221099854,
-0.0695793628692627,
0.05717802047729492,
0.27689942717552185,
-0.24640682339668274,
-0.1256151646375656,
0.14958415925502777,
0.5128585696220398,
-0.3099660575389862,
0.21300733089447021,
0.12905417382717133,
-0.1506623476743698,
0.30572476983070374,
-0.1570565551519394,
0.2770695984363556,
-0.09156657755374908,
-0.12081729620695114,
0.1785116195678711,
-0.07792345434427261,
0.013296516612172127,
-0.30527636408805847,
-0.18608711659908295,
-0.16997626423835754,
0.14695006608963013,
-0.1780177801847458,
-0.024899521842598915,
-0.11093910783529282,
0.14019019901752472,
-0.045047368854284286,
0.3040773570537567,
0.014487776905298233,
-0.013583078980445862,
-0.30696356296539307,
-0.5129594206809998,
-0.6536611318588257,
0.3278684616088867,
0.2125442773103714,
0.1792428195476532,
0.21259507536888123,
0.24793659150600433,
0.011676132678985596,
-0.05177202820777893,
0.38141101598739624,
0.07183699309825897,
0.4046173393726349,
-0.16880245506763458,
-0.5977697968482971,
0.1824195683002472,
0.11338742077350616,
-0.16844791173934937,
-0.1442369669675827,
-0.03709183633327484,
0.10011011362075806,
0.19623742997646332,
0.10060212761163712,
-0.07576099038124084,
0.04552590847015381,
0.09205473959445953,
0.7552765607833862,
0.45069000124931335,
0.19228653609752655,
0.24254553020000458,
-0.11045924574136734,
0.052906498312950134,
-0.20222091674804688,
-0.24827860295772552,
-0.16832678020000458,
0.07107501477003098,
0.03546413034200668,
-0.01833362504839897,
-0.17108935117721558,
-0.000037942081689834595,
-0.21478840708732605,
-0.20370006561279297,
-0.05628360062837601,
0.06249690428376198,
-0.3522104322910309,
0.17202825844287872,
0.022750377655029297,
0.17604362964630127,
0.3198280930519104,
0.27988556027412415,
0.10815919935703278,
-0.007622229866683483,
-0.19898781180381775,
-0.30756840109825134,
0.660203218460083,
0.15890151262283325,
-0.13403575122356415,
0.16277213394641876,
0.5000906586647034,
0.3414742052555084,
-0.13128893077373505,
-0.4516158699989319,
-0.14117327332496643,
0.4396011531352997,
-0.22839054465293884,
-0.11789202690124512,
0.13699477910995483,
-0.36470478773117065,
0.15142527222633362,
-0.09332230687141418,
0.3303585946559906,
0.36153584718704224,
-0.218976229429245,
-0.33778658509254456,
-0.4549683928489685
] |
https://github.com/huggingface/datasets/pull/271 | Fix allociné dataset configuration | Actually when there is only one configuration, then you don't need to specify the configuration in `load_dataset`. You can run:
```python
dataset = load_dataset('allocine')
```
and it works.
Maybe we should take that into account in the nlp viewer @srush ? | This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use. | 41 | text: Fix allociné dataset configuration
This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use.
Actually when there is only one configuration, then you don't need to specify the configuration in `load_dataset`. You can run:
```python
dataset = load_dataset('allocine')
```
and it works.
Maybe we should take that into account in the nlp viewer @srush ? | [
-0.18125779926776886,
0.08861398696899414,
0.033109527081251144,
0.03547147288918495,
0.2616824209690094,
-0.029776714742183685,
0.15282008051872253,
0.5245891809463501,
0.09611333906650543,
0.15638981759548187,
0.019574886187911034,
0.254132479429245,
-0.06281454116106033,
0.11215145140886307,
0.2772728502750397,
0.11937864124774933,
-0.13660019636154175,
0.2213495820760727,
0.12974010407924652,
0.0014956779778003693,
-0.4167075455188751,
0.12953847646713257,
-0.17618060111999512,
-0.175801619887352,
-0.16260431706905365,
0.08195354789495468,
-0.016659066081047058,
0.3176201283931732,
-0.045778244733810425,
-0.5524408221244812,
0.20748604834079742,
0.28975656628608704,
0.12557078897953033,
0.08383527398109436,
-0.00010193700290983543,
-0.003635600209236145,
0.3767942786216736,
-0.0725204199552536,
-0.24144385755062103,
-0.3804503083229065,
0.13428309559822083,
-0.23820506036281586,
0.3673143684864044,
-0.1382034569978714,
-0.05812075734138489,
-0.024874188005924225,
0.28303301334381104,
-0.18619543313980103,
0.13206245005130768,
0.26597607135772705,
0.3037933111190796,
0.14228428900241852,
0.10254058241844177,
0.04533015191555023,
0.1394888013601303,
-0.09904864430427551,
-0.09847313165664673,
0.14662182331085205,
0.15284523367881775,
-0.058800265192985535,
-0.11672575026750565,
0.3440287709236145,
-0.0779053270816803,
-0.04456863924860954,
0.3025120198726654,
-0.2239687293767929,
-0.13573703169822693,
-0.4421073794364929,
0.0625009834766388,
0.217928946018219,
0.2578674852848053,
-0.1778716742992401,
-0.1481875628232956,
-0.08892347663640976,
0.1791325956583023,
-0.7051723003387451,
0.10456345975399017,
0.17875027656555176,
0.036476217210292816,
-0.11094559729099274,
-0.12706898152828217,
-0.23545445501804352,
-0.09211993217468262,
0.10812271386384964,
-0.1785135567188263,
0.28670963644981384,
0.05693492665886879,
-0.008285187184810638,
0.16871169209480286,
-0.16631104052066803,
0.13739584386348724,
0.3216785490512848,
-0.19892774522304535,
-0.07422570139169693,
-0.27986007928848267,
-0.1760525405406952,
0.3203955292701721,
0.12023817747831345,
-0.0009126756340265274,
0.14786653220653534,
0.24534815549850464,
0.3197377920150757,
-0.11179757118225098,
0.04404955357313156,
0.3359329104423523,
0.16503360867500305,
0.16050861775875092,
0.3183605372905731,
0.2781093716621399,
0.22644998133182526,
-0.12651245296001434,
-0.08214280754327774,
-0.11671929061412811,
-0.2499719262123108,
-0.17228977382183075,
-0.12842980027198792,
0.2578684687614441,
-0.2386370748281479,
-0.2362412065267563,
0.02069009467959404,
-0.241600900888443,
0.13016870617866516,
0.024746347218751907,
0.5249825716018677,
-0.06598801165819168,
0.23220986127853394,
0.22994039952754974,
0.32026809453964233,
-0.26741957664489746,
-0.20163826644420624,
-0.23024550080299377,
0.040083952248096466,
-0.24663540720939636,
0.060444287955760956,
0.40060558915138245,
-0.11690160632133484,
0.3588733971118927,
0.04198150709271431,
0.12315082550048828,
-0.018928851932287216,
-0.06811138242483139,
0.1215226948261261,
0.23462048172950745,
0.16152848303318024,
0.33548688888549805,
0.017722344025969505,
0.128006711602211,
-0.16003769636154175,
-0.1406317502260208,
0.16341659426689148,
0.09951988607645035,
-0.45273756980895996,
-0.2883690893650055,
0.2793982923030853,
-0.05140591040253639,
-0.3503854274749756,
0.29257503151893616,
0.11225010454654694,
0.11038190126419067,
-0.2207072526216507,
-0.02232576161623001,
-0.2719458341598511,
-0.16460740566253662,
-0.012829089537262917,
0.09586060792207718,
0.35730206966400146,
-0.04990822821855545,
0.02110886573791504,
-0.06284843385219574,
0.17098574340343475,
0.050707146525382996,
0.02132989652454853,
-0.31840404868125916,
-0.18622517585754395,
-0.11779189854860306,
-0.07494775950908661,
0.5184723734855652,
-0.33791691064834595,
-0.2850779592990875,
0.034043535590171814,
-0.027944672852754593,
-0.06479760259389877,
0.06788239628076553,
-0.08361366391181946,
0.3043631315231323,
0.06078975275158882,
0.2579028010368347,
0.16336184740066528,
0.053891219198703766,
0.16361451148986816,
-0.5668613910675049,
-0.14061687886714935,
0.07611659914255142,
0.09676899015903473,
0.1665886491537094,
0.09391102194786072,
-0.06851892918348312,
0.3934328556060791,
0.48441997170448303,
0.07365579158067703,
-0.09857087582349777,
-0.0008312985301017761,
0.06657832860946655,
-0.0019745901226997375,
0.08170169591903687,
0.05807407945394516,
-0.41392505168914795,
-0.08464549481868744,
-0.012094002217054367,
0.43327218294143677,
-0.12525410950183868,
-0.2010282576084137,
-0.17611563205718994,
-0.28378891944885254,
-0.10030996799468994,
-0.42244094610214233,
0.3245300352573395,
0.13264742493629456,
-0.20023702085018158,
-0.09462091326713562,
-0.34303557872772217,
0.11890189349651337,
-0.12596982717514038,
0.02210392989218235,
-0.06976322829723358,
0.11935515701770782,
-0.2941370904445648,
-0.22368820011615753,
0.16258972883224487,
0.19215454161167145,
0.28136521577835083,
-0.08590679615736008,
-0.025570955127477646,
0.2763404846191406,
-0.11151649057865143,
-0.0020321905612945557,
-0.051772184669971466,
0.27553460001945496,
0.3290887176990509,
-0.17415212094783783,
0.07892152667045593,
0.06589706242084503,
0.06359143555164337,
-0.01849714294075966,
-0.11373993009328842,
0.3417004346847534,
-0.16783539950847626,
0.2394345998764038,
0.29493391513824463,
0.2491784393787384,
0.3095387816429138,
-0.06607460230588913,
-0.11007361859083176,
-0.21687273681163788,
0.14998464286327362,
0.4060555100440979,
0.3366590738296509,
0.012997912243008614,
-0.6507061719894409,
0.3829682171344757,
0.2882969379425049,
0.17619018256664276,
-0.1696036458015442,
0.1198258250951767,
-0.11331487447023392,
-0.18754464387893677,
0.11658302694559097,
0.0712028443813324,
0.10709142684936523,
0.3593757152557373,
-0.08289928734302521,
0.22565363347530365,
-0.2140124887228012,
-0.3182133138179779,
0.3245072364807129,
-0.02026127278804779,
0.018321050330996513,
-0.004032213240861893,
0.15661804378032684,
-0.026908215135335922,
-0.5347223281860352,
-0.09567928314208984,
-0.0644862949848175,
0.22513224184513092,
-0.3352712392807007,
-0.13653749227523804,
-0.1807638257741928,
-0.5349988341331482,
-0.1404043585062027,
-0.17794831097126007,
-0.23047256469726562,
-0.43913793563842773,
0.12076007574796677,
0.2574022114276886,
-0.1454373002052307,
0.16193623840808868,
-0.4076550602912903,
0.3361697196960449,
-0.07478014379739761,
0.04659440368413925,
-0.014325011521577835,
-0.2105756253004074,
-0.16838014125823975,
0.17398428916931152,
0.20868496596813202,
-0.031162966042757034,
0.03081471659243107,
-0.10582481324672699,
-0.14521902799606323,
-0.10940573364496231,
-0.4351893365383148,
0.21702665090560913,
-0.08768841624259949,
0.056150294840335846,
-0.08836202323436737,
0.06968618929386139,
-0.06915757805109024,
-0.418660968542099,
0.08841580152511597,
-0.314782053232193,
0.038923583924770355,
0.09340659528970718,
-0.04543785750865936,
-0.04014734551310539,
-0.2951353192329407,
-0.47150710225105286,
-0.03477965295314789,
-0.6458845138549805,
0.11286793649196625,
0.16923624277114868,
0.2930029034614563,
0.3591611683368683,
-0.15043458342552185,
-0.06719119846820831,
-0.35655826330184937,
0.10360631346702576,
-0.13416996598243713,
-0.2423797845840454,
0.04386540502309799,
-0.3949108421802521,
-0.4857926070690155,
-0.03681144863367081,
-0.04615158587694168,
0.2512502670288086,
-0.08213484287261963,
-0.46478700637817383,
-0.02349221333861351,
-0.27133429050445557,
0.08920657634735107,
0.05627104267477989,
-0.03460030257701874,
0.29404252767562866,
0.190668523311615,
-0.2005654126405716,
-0.08032092452049255,
-0.3206017017364502,
0.23968058824539185,
0.12186112254858017,
-0.06416410952806473,
-0.27349674701690674,
-0.03667169809341431,
0.04260822758078575,
0.3260318636894226,
0.12581178545951843,
0.15102487802505493,
0.5311579704284668,
-0.06528458744287491,
0.6286942958831787,
-0.29076218605041504,
-0.32982271909713745,
0.13802987337112427,
0.009484484791755676,
0.05623432993888855,
0.3487502336502075,
-0.055987074971199036,
-0.5491029024124146,
-0.21949993073940277,
0.032739151269197464,
-0.32935434579849243,
-0.3806300759315491,
0.0831979364156723,
-0.2013016641139984,
-0.07094665616750717,
0.1731199473142624,
-0.07313801348209381,
-0.08931319415569305,
-0.15675461292266846,
-0.0625942274928093,
0.20952054858207703,
0.08771426975727081,
0.13830877840518951,
-0.22360888123512268,
-0.016625892370939255,
-0.3099370300769806,
0.296883225440979,
-0.16588106751441956,
0.33028778433799744,
-0.10761062800884247,
-0.19655433297157288,
0.09225375205278397,
0.1382373869419098,
0.3370363712310791,
0.11454680562019348,
-0.12743231654167175,
0.4826623499393463,
-0.08230635523796082,
-0.32258468866348267,
0.06497302651405334,
-0.20163847506046295,
0.23312510550022125,
0.41339612007141113,
0.1241988092660904,
-0.11437618732452393,
-0.13175779581069946,
0.295320987701416,
-0.15286004543304443,
-0.09995503723621368,
-0.07294140011072159,
-0.06826817989349365,
-0.15791350603103638,
-0.224282369017601,
-0.05188918858766556,
0.03504222631454468,
0.3619318902492523,
-0.16966612637043,
0.07516051828861237,
-0.006737634539604187,
-0.26797133684158325,
-0.04113735258579254,
0.2192840427160263,
0.2838967740535736,
0.27163854241371155,
0.14600731432437897,
0.16314873099327087,
-0.03898563235998154,
-0.00780167430639267,
0.5217137336730957,
0.11891113221645355,
-0.07770907878875732,
0.11300379037857056,
0.0600053109228611,
0.17436355352401733,
0.3497185707092285,
0.07745185494422913,
-0.20983028411865234,
-0.37745794653892517,
-0.03176947683095932,
0.07237555086612701,
0.20996108651161194,
0.1557844579219818,
-0.19004638493061066,
-0.07987784594297409,
-0.4021141827106476,
0.444656103849411,
0.019275836646556854,
0.00964491069316864,
0.42656639218330383,
0.1980735957622528,
-0.2961669862270355,
0.5321916937828064,
0.015127241611480713,
0.9423171877861023,
0.21739420294761658,
0.1889486163854599,
0.1747378408908844,
-0.14148402214050293,
0.4951450526714325,
-0.18587131798267365,
0.3798501491546631,
-0.4095377027988434,
-0.22979967296123505,
0.22574244439601898,
0.03585614636540413,
-0.1625586748123169,
-0.04768456518650055,
-0.3025248050689697,
0.25143513083457947,
-0.06463849544525146,
-0.6718714237213135,
-0.03175220638513565,
0.3533230125904083,
-0.27020731568336487,
-0.13902603089809418,
-0.22318287193775177,
0.1981191188097,
-0.1156211793422699,
0.33811983466148376,
-0.08685055375099182,
-0.12472303211688995,
0.1568358838558197,
-0.17444799840450287,
-0.380351185798645,
0.1892467737197876,
-0.04381027817726135,
-0.11310507357120514,
-0.2292870283126831,
0.0026080235838890076,
-0.04868307709693909,
-0.029821615666151047,
0.0651874989271164,
0.03213535621762276,
-0.28375837206840515,
0.18161062896251678,
0.226284921169281,
-0.14131979644298553,
0.39266422390937805,
0.3993189036846161,
0.4308253526687622,
-0.2188568115234375,
-0.13605789840221405,
-0.18064013123512268,
0.13494828343391418,
-0.028915060684084892,
-0.09529940038919449,
-0.011491432785987854,
-0.11649215221405029,
-0.06767846643924713,
-0.2297050803899765,
0.2653629183769226,
-0.0726596936583519,
-0.3576737642288208,
0.24412870407104492,
-0.06520824134349823,
0.010152342729270458,
0.0057754963636398315,
0.23387393355369568,
-0.2588968873023987,
-0.12104322016239166,
0.1729695200920105,
0.020024724304676056,
-0.11383578926324844,
0.5002529621124268,
0.08841650187969208,
-0.13510863482952118,
-0.1688207983970642,
-0.05382422357797623,
-0.12371110171079636,
-0.3100237548351288,
0.13329826295375824,
-0.01518974918872118,
0.023360297083854675,
0.09340700507164001,
0.40956905484199524,
-0.09214530885219574,
0.2158466875553131,
0.09190355241298676,
-0.22768399119377136,
-0.21540822088718414,
0.232590913772583,
-0.27773189544677734,
0.22513015568256378,
-0.0573529452085495,
0.37179112434387207,
0.3036770224571228,
0.007763724774122238,
-0.43968963623046875,
-0.060092493891716,
-0.1495305895805359,
0.15941569209098816,
-0.1183914989233017,
-0.17352509498596191,
-0.042777419090270996,
0.03351445496082306,
0.16618502140045166,
-0.04604759067296982,
-0.14303167164325714,
-0.27701160311698914,
-0.07370953261852264,
0.11910063773393631,
0.21672680974006653,
-0.1861543506383896,
-0.1348971724510193,
-0.10052701085805893,
-0.0961063951253891,
-0.05036434158682823,
-0.057050205767154694,
0.12701910734176636,
-0.15658165514469147,
0.3628559112548828,
0.08952441066503525,
0.03853879123926163,
0.295138955116272,
0.10094032436609268,
0.06399016827344894,
0.17385372519493103,
0.10795731097459793,
0.21016985177993774,
-0.20524553954601288,
-0.10109195113182068,
0.0708007961511612,
-0.04662127047777176,
-0.2964233160018921,
0.40025997161865234,
0.12071175873279572,
-0.1217801570892334,
0.017144251614809036,
-0.03581146523356438,
0.2719658315181732,
0.351688414812088,
-0.025426631793379784,
0.001620948314666748,
0.06207048147916794,
0.34214791655540466,
-0.40155282616615295,
0.20108933746814728,
0.09520921111106873,
0.0764666423201561,
0.07800395786762238,
0.048441171646118164,
0.19864287972450256,
-0.17053523659706116,
0.033095765858888626,
0.2654778063297272,
0.28230324387550354,
-0.4784003496170044,
0.32273924350738525,
-0.11231237649917603,
-0.3230593502521515,
-0.1916719675064087,
0.3313829302787781,
0.22434036433696747,
0.29069459438323975,
0.27826565504074097,
-0.10698794573545456,
0.20900195837020874,
0.09516467154026031,
-0.07519978284835815,
0.19114674627780914,
-0.10441695153713226,
0.1858295351266861,
0.13881944119930267,
0.10856853425502777,
0.06715819239616394,
-0.04662825167179108,
0.08341964334249496,
-0.10702431201934814,
0.011133292689919472,
0.041603147983551025,
0.171788290143013,
-0.20069748163223267,
-0.03376215696334839,
-0.02949788048863411,
-0.28296172618865967,
-0.22020769119262695,
-0.014444094151258469,
-0.06307010352611542,
-0.021902427077293396,
0.14114660024642944,
0.18629901111125946,
-0.3444615602493286,
-0.34509339928627014,
-0.005622528493404388,
-0.024795904755592346,
0.28037890791893005,
-0.13604766130447388,
0.3174435794353485,
0.18933939933776855,
0.0032598525285720825,
0.11264784634113312,
0.5897608995437622,
0.4452023506164551,
0.5625512599945068,
-0.03291134536266327,
-0.07278943061828613,
0.07068827748298645,
-0.03588308393955231,
-0.20601549744606018,
0.0492219403386116,
0.3018345832824707,
0.2607947885990143,
0.1053849309682846,
0.1814609169960022,
-0.21743986010551453,
0.25831666588783264,
-0.01204533502459526,
0.18786530196666718,
0.019025150686502457,
0.2647174298763275,
0.27922141551971436,
-0.2577885091304779,
-0.15389421582221985,
-0.06825768202543259,
-0.5130320191383362,
0.03384578227996826,
0.30177831649780273,
0.16297294199466705,
0.04944189637899399,
-0.4125462770462036,
0.15964816510677338,
0.33996036648750305,
0.42961493134498596,
0.09558958560228348,
-0.05464816093444824,
-0.18551525473594666,
-0.13447853922843933,
-0.5541349649429321,
0.27433595061302185,
0.1313391923904419,
0.10680453479290009,
0.19930678606033325,
0.3969314396381378,
-0.03328825533390045,
-0.04354361444711685,
-0.170964315533638,
0.023036889731884003,
0.027568433433771133,
-0.026195257902145386,
-0.2580690383911133,
0.18713174760341644,
-0.029131531715393066,
-0.04334636777639389,
-0.026182111352682114,
-0.08792676031589508,
0.06639565527439117,
-0.3848637640476227,
0.19836249947547913,
0.003747951239347458,
-0.19388028979301453,
0.11139576137065887,
0.232456237077713,
0.16916674375534058,
0.11585115641355515,
0.3413754105567932,
-0.2080318033695221,
-0.20530813932418823,
-0.5085558891296387,
-0.4882920980453491,
-0.6087445616722107,
0.03152603283524513,
0.11469639837741852,
0.33087238669395447,
-0.07401525974273682,
-0.09965136647224426,
-0.2492406964302063,
0.14712323248386383,
-0.23907570540905,
-0.022445285692811012,
-0.1168854832649231,
0.18427830934524536,
0.1814020872116089,
0.11034394055604935,
-0.13937260210514069,
0.21963536739349365,
0.0022371821105480194,
-0.026138750836253166,
-0.4443151354789734,
-0.6230815052986145,
0.6423641443252563,
-0.22653107345104218,
-0.042419109493494034,
0.010855871252715588,
0.37461012601852417,
0.10102073103189468,
-0.13778933882713318,
-0.7577629685401917,
0.11820220202207565,
0.22795532643795013,
-0.1409243643283844,
-0.06257907301187515,
0.19821496307849884,
-0.26676541566848755,
-0.1076442301273346,
-0.22661779820919037,
0.35786810517311096,
0.3348616659641266,
-0.29571712017059326,
-0.20111000537872314,
-0.26872706413269043
] |
https://github.com/huggingface/datasets/pull/271 | Fix allociné dataset configuration | @lhoestq Just to understand the exact semantics. Are you suggesting that if there is exactly 1 configuration I should not show the configuration menu and just treat it as if there were 0 configurations? | This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use. | 34 | text: Fix allociné dataset configuration
This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use.
@lhoestq Just to understand the exact semantics. Are you suggesting that if there is exactly 1 configuration I should not show the configuration menu and just treat it as if there were 0 configurations? | [
-0.20145756006240845,
0.03671233355998993,
0.03407741338014603,
0.03466648608446121,
0.23437044024467468,
0.04727665334939957,
0.03220655024051666,
0.5135080814361572,
0.03637165203690529,
0.17993323504924774,
0.06916198879480362,
0.14687424898147583,
-0.0522032305598259,
0.047130681574344635,
0.3548986613750458,
0.22644083201885223,
-0.08079404383897781,
0.258802205324173,
0.23682542145252228,
0.025617770850658417,
-0.48595142364501953,
0.11676321923732758,
-0.12681734561920166,
-0.12163297832012177,
-0.1785564422607422,
0.04968823119997978,
-0.04796312749385834,
0.3449697196483612,
-0.05669776350259781,
-0.5311113595962524,
0.27606484293937683,
0.3792344331741333,
0.05988196283578873,
-0.041090868413448334,
-0.00010792633838718757,
0.0147462859749794,
0.3299940228462219,
-0.11199376732110977,
-0.2903360426425934,
-0.25346148014068604,
0.03168666362762451,
-0.2961692810058594,
0.3273850083351135,
-0.19883956015110016,
0.04097669571638107,
0.026265129446983337,
0.3094763159751892,
-0.224844291806221,
0.09505090117454529,
0.15097831189632416,
0.2471252977848053,
0.01912849023938179,
-0.07777511328458786,
0.12542949616909027,
0.03149205818772316,
0.03864917531609535,
-0.1166270449757576,
0.11254377663135529,
0.17297956347465515,
0.01778455078601837,
0.05985849350690842,
0.3588904142379761,
-0.14122536778450012,
-0.028230182826519012,
0.2234533727169037,
-0.11108402162790298,
-0.061378054320812225,
-0.6072006225585938,
0.12715643644332886,
0.25517451763153076,
0.2336444854736328,
-0.18203088641166687,
-0.1502825915813446,
-0.10980291664600372,
0.2750498950481415,
-0.7970522046089172,
0.06426110118627548,
0.2730657160282135,
-0.026198603212833405,
-0.11202085018157959,
-0.11194560676813126,
-0.40158429741859436,
0.03376297652721405,
0.035679034888744354,
-0.2145807147026062,
0.3483123779296875,
0.07307663559913635,
0.08165358006954193,
0.04385664314031601,
-0.04432299733161926,
0.08204760402441025,
0.314474880695343,
-0.24508824944496155,
-0.09909217059612274,
-0.310010701417923,
-0.23974324762821198,
0.25593483448028564,
0.07072637230157852,
0.0008314643055200577,
0.21875989437103271,
0.1644887775182724,
0.33537355065345764,
-0.08070299029350281,
-0.1383276879787445,
0.32986199855804443,
0.12342382967472076,
0.16372033953666687,
0.4131288230419159,
0.26145508885383606,
0.25026679039001465,
0.00835246592760086,
0.04679340124130249,
-0.04317877069115639,
-0.2565068006515503,
-0.1817580759525299,
-0.12452658265829086,
0.44364702701568604,
-0.19213901460170746,
-0.20914007723331451,
0.09251140058040619,
-0.382333368062973,
0.08625591546297073,
-0.02136315405368805,
0.4767659902572632,
-0.029028907418251038,
0.25556430220603943,
0.29865264892578125,
0.22454412281513214,
-0.3196682333946228,
-0.2100459337234497,
-0.2293316274881363,
-0.010895773768424988,
-0.26004302501678467,
0.09983760863542557,
0.2980634570121765,
-0.13629131019115448,
0.2649388313293457,
0.18609119951725006,
0.12027670443058014,
-0.10688427090644836,
-0.10655965656042099,
0.15928728878498077,
0.2921285331249237,
0.2539561092853546,
0.2561153769493103,
0.07998687028884888,
0.1781257688999176,
-0.12858767807483673,
-0.23342105746269226,
0.2755138576030731,
0.08874229341745377,
-0.5701561570167542,
-0.13029712438583374,
0.2359008938074112,
-0.0821082815527916,
-0.18740195035934448,
0.26939457654953003,
0.2036789208650589,
0.008257374167442322,
-0.19846999645233154,
0.10527500510215759,
-0.1937933713197708,
-0.17540664970874786,
-0.10070013999938965,
0.03576955944299698,
0.5228610634803772,
-0.04878990724682808,
0.001856788992881775,
0.06241871044039726,
0.16428089141845703,
0.07861363887786865,
-0.07015387713909149,
-0.3728203773498535,
-0.13861685991287231,
-0.17233258485794067,
-0.21276883780956268,
0.7373061180114746,
-0.30246075987815857,
-0.29647746682167053,
0.037126753479242325,
-0.05296570062637329,
-0.060311488807201385,
0.06992698460817337,
-0.014179471880197525,
0.15656346082687378,
0.09608713537454605,
0.16401556134223938,
-0.0378505103290081,
0.07619379460811615,
0.1703471541404724,
-0.5604962110519409,
-0.23424513638019562,
0.07354950904846191,
0.014398712664842606,
0.17415128648281097,
0.04598261043429375,
-0.19023656845092773,
0.4072744846343994,
0.5656191110610962,
0.11867853999137878,
-0.06239753216505051,
-0.00045245885848999023,
0.009218879044055939,
0.024077430367469788,
0.01969246007502079,
0.14081409573554993,
-0.5376847386360168,
-0.0066685751080513,
0.0770159587264061,
0.4576355218887329,
-0.09950752556324005,
-0.23502947390079498,
-0.09618482738733292,
-0.27852728962898254,
-0.18459714949131012,
-0.4806269109249115,
0.23079925775527954,
0.11083130538463593,
-0.11505874991416931,
-0.19183138012886047,
-0.5269513726234436,
0.19485445320606232,
-0.10331613570451736,
0.07466177642345428,
-0.05877166613936424,
0.10650469362735748,
-0.22160129249095917,
-0.10123727470636368,
0.082740917801857,
0.16104024648666382,
0.20534706115722656,
-0.10873632878065109,
0.030154647305607796,
0.27846217155456543,
-0.11735609173774719,
-0.12924860417842865,
-0.05508565157651901,
0.33050698041915894,
0.33721601963043213,
-0.06318143010139465,
0.06740793585777283,
0.06527917087078094,
0.07065360993146896,
-0.0063487328588962555,
-0.1989850401878357,
0.38477373123168945,
-0.16769564151763916,
0.25149020552635193,
0.1896444857120514,
0.20183975994586945,
0.26041102409362793,
-0.014954287558794022,
-0.23903965950012207,
-0.3008540868759155,
0.12061171233654022,
0.4688751995563507,
0.3581981956958771,
0.11544840037822723,
-0.7598657011985779,
0.3949204683303833,
0.20511284470558167,
0.11722378432750702,
-0.24235016107559204,
0.060278844088315964,
0.08967594802379608,
-0.14123651385307312,
0.04697035998106003,
0.0391809307038784,
0.2704187035560608,
0.35521721839904785,
-0.1820390373468399,
0.2686021029949188,
-0.2472423017024994,
-0.31404170393943787,
0.4013088047504425,
0.007553547620773315,
-0.022895855829119682,
-0.09419626742601395,
0.09768818318843842,
0.0014448333531618118,
-0.48264560103416443,
-0.15075308084487915,
-0.001290879212319851,
0.23276938498020172,
-0.36696869134902954,
-0.18827283382415771,
-0.1733383685350418,
-0.622617781162262,
-0.19889149069786072,
-0.19353587925434113,
-0.2678878605365753,
-0.39762747287750244,
0.15093597769737244,
0.042695317417383194,
-0.07388681173324585,
0.22137649357318878,
-0.5171653032302856,
0.45888012647628784,
-0.11778993904590607,
-0.020901242271065712,
-0.038263507187366486,
-0.09808621555566788,
-0.2058473527431488,
0.09749804437160492,
0.1318819671869278,
-0.02134110778570175,
0.08472239971160889,
-0.17961370944976807,
-0.24416609108448029,
-0.2911683917045593,
-0.307207852602005,
0.2839428186416626,
-0.15080399811267853,
0.02629094012081623,
0.0036502033472061157,
0.07105475664138794,
-0.1597779095172882,
-0.35246580839157104,
0.1311795860528946,
-0.15087443590164185,
0.009927874431014061,
-0.04596599191427231,
0.059205710887908936,
0.0046758828684687614,
-0.18281494081020355,
-0.5252565145492554,
0.030419114977121353,
-0.5833536982536316,
0.05920925363898277,
0.16567131876945496,
0.40834587812423706,
0.3755376636981964,
-0.183315709233284,
-0.17071124911308289,
-0.2873164713382721,
0.03818961977958679,
-0.2048306167125702,
-0.1851615160703659,
-0.12455739080905914,
-0.21927641332149506,
-0.3773064613342285,
0.044486988335847855,
-0.11349915713071823,
0.24889086186885834,
-0.08099042624235153,
-0.5212785005569458,
-0.027335528284311295,
-0.22494544088840485,
0.1870650351047516,
-0.12393471598625183,
0.12145920842885971,
0.4509553015232086,
0.300968199968338,
-0.16968198120594025,
0.018236078321933746,
-0.3823648989200592,
0.22614368796348572,
0.12533962726593018,
-0.03515767306089401,
-0.19193294644355774,
-0.06143433600664139,
-0.08202634751796722,
0.4290059804916382,
0.2720811367034912,
0.230038583278656,
0.42051172256469727,
-0.17874449491500854,
0.664347767829895,
-0.24476313591003418,
-0.2933397591114044,
0.10689050704240799,
0.11766830086708069,
0.05329710245132446,
0.2959955632686615,
-0.002908524125814438,
-0.43245407938957214,
-0.20004898309707642,
0.15776504576206207,
-0.32729169726371765,
-0.4565426707267761,
0.1266264021396637,
-0.30364713072776794,
-0.07333896309137344,
0.135763019323349,
-0.19273191690444946,
-0.003942822106182575,
-0.008179230615496635,
-0.08129511773586273,
0.34299787878990173,
0.10345595329999924,
0.15257881581783295,
-0.30764779448509216,
-0.008558548986911774,
-0.2396353781223297,
0.314290314912796,
-0.23045067489147186,
0.31631210446357727,
-0.011236947029829025,
-0.15034309029579163,
0.11819199472665787,
0.24019964039325714,
0.4948843717575073,
0.05228940397500992,
-0.1523781716823578,
0.5360461473464966,
-0.05947430059313774,
-0.370401531457901,
-0.027265021577477455,
-0.20368988811969757,
0.34203803539276123,
0.3903035819530487,
0.12182451039552689,
-0.10402899235486984,
-0.26980066299438477,
0.3258035480976105,
-0.13057619333267212,
-0.16863228380680084,
-0.13029225170612335,
-0.19451333582401276,
-0.2056504189968109,
-0.17871485650539398,
0.05934348702430725,
0.05038713663816452,
0.24121561646461487,
-0.03926514834165573,
0.09193423390388489,
-0.05389998108148575,
-0.2146657109260559,
-0.07335881888866425,
0.14467640221118927,
0.2468928098678589,
0.37888669967651367,
0.08876390755176544,
0.15135091543197632,
-0.009328007698059082,
0.004831310361623764,
0.616435706615448,
0.13100090622901917,
-0.12197770178318024,
0.18849200010299683,
0.14463846385478973,
0.1802261620759964,
0.5077838897705078,
0.07510627806186676,
-0.193219393491745,
-0.357433557510376,
0.0510697066783905,
0.06006983295083046,
0.09639177471399307,
0.09600451588630676,
-0.1672946661710739,
-0.1425919383764267,
-0.4651319980621338,
0.48276618123054504,
0.08393499255180359,
-0.07687779515981674,
0.4882667064666748,
0.2749771475791931,
-0.22903943061828613,
0.375572144985199,
0.05431746691465378,
1.0675349235534668,
0.24997946619987488,
0.21268543601036072,
0.21059685945510864,
-0.14804327487945557,
0.653777003288269,
-0.23840437829494476,
0.4725402593612671,
-0.37825483083724976,
-0.1152736246585846,
0.18218718469142914,
0.014003198593854904,
-0.17192456126213074,
-0.0902366042137146,
-0.36393052339553833,
0.3668164014816284,
-0.028055846691131592,
-0.7447271943092346,
0.056675806641578674,
0.24272659420967102,
-0.4364999532699585,
-0.10668425261974335,
-0.276020884513855,
0.10527747869491577,
-0.16184036433696747,
0.4662606716156006,
-0.13189229369163513,
0.011121630668640137,
0.08935603499412537,
-0.193978413939476,
-0.38642418384552,
0.015549417585134506,
-0.22212807834148407,
-0.08584278076887131,
-0.19913873076438904,
0.040862515568733215,
-0.17146411538124084,
0.06868929415941238,
-0.049631357192993164,
0.05661141127347946,
-0.24972841143608093,
0.11287793517112732,
0.3363019526004791,
-0.006519512739032507,
0.37633830308914185,
0.27713632583618164,
0.45847758650779724,
-0.1456204354763031,
-0.22219480574131012,
-0.237830251455307,
-0.04098230227828026,
0.020257078111171722,
-0.13901782035827637,
0.07530150562524796,
-0.05324003845453262,
-0.020200267434120178,
-0.29215630888938904,
0.32082265615463257,
-0.020142395049333572,
-0.25296831130981445,
0.16576308012008667,
-0.005060061812400818,
0.09375505149364471,
0.016134489327669144,
0.22809916734695435,
-0.339557021856308,
-0.13622649013996124,
0.14992505311965942,
0.08852902054786682,
-0.1948508769273758,
0.37987563014030457,
-0.08650386333465576,
-0.054267268627882004,
-0.14045073091983795,
0.04782629758119583,
-0.2012689709663391,
-0.25265398621559143,
0.11763595789670944,
-0.040126923471689224,
0.10560169816017151,
0.1030651181936264,
0.4445422887802124,
0.07633603364229202,
0.3280743658542633,
0.07472947239875793,
-0.22945892810821533,
-0.1560438573360443,
0.2688025236129761,
-0.2810207009315491,
0.2370583564043045,
-0.019885322079062462,
0.3103044331073761,
0.39720389246940613,
-0.05810897797346115,
-0.3654889762401581,
-0.03736134618520737,
-0.1679682433605194,
0.14989039301872253,
-0.08148007094860077,
0.028288165107369423,
-0.14744265377521515,
-0.01694408431649208,
0.08312080800533295,
-0.17039451003074646,
-0.2623137831687927,
-0.20440194010734558,
-0.05838105455040932,
0.17288319766521454,
0.11766520142555237,
-0.08531904220581055,
-0.07956097275018692,
-0.021298257634043694,
0.029480675235390663,
0.038534194231033325,
-0.018077867105603218,
0.1660034954547882,
-0.13824397325515747,
0.3023485541343689,
0.14431336522102356,
-0.047174401581287384,
0.10064041614532471,
0.16642643511295319,
0.02144111692905426,
0.09237362444400787,
0.1784418225288391,
0.17087164521217346,
-0.25299710035324097,
-0.1410098522901535,
0.08476606011390686,
-0.02966080605983734,
-0.30392253398895264,
0.37672099471092224,
-0.04361454397439957,
-0.1285579800605774,
0.004968784749507904,
0.02508188597857952,
0.23105382919311523,
0.4450456500053406,
-0.0921759381890297,
-0.0505891852080822,
0.020769095048308372,
0.2721339464187622,
-0.3688546419143677,
0.20438197255134583,
0.1273326724767685,
0.13310709595680237,
0.04849039390683174,
0.3030495047569275,
0.23292851448059082,
-0.2715585231781006,
0.10053558647632599,
0.21557289361953735,
0.22930115461349487,
-0.5670860409736633,
0.3863362967967987,
-0.014870252460241318,
-0.39446142315864563,
-0.12670226395130157,
0.4346884489059448,
0.1691584289073944,
0.21800008416175842,
0.12101713567972183,
-0.13043588399887085,
0.1887248009443283,
0.23527631163597107,
0.02126278355717659,
0.12538793683052063,
-0.15389445424079895,
0.23319311439990997,
0.07580512762069702,
-0.11410197615623474,
-0.04098176956176758,
-0.01678439974784851,
0.06740507483482361,
-0.14926257729530334,
-0.0328311026096344,
0.16674932837486267,
0.08935955166816711,
-0.2558671534061432,
-0.04912490025162697,
0.03394731879234314,
-0.31077420711517334,
-0.187913179397583,
-0.011633815243840218,
-0.07467742264270782,
-0.12525887787342072,
0.16061317920684814,
0.20684117078781128,
-0.37402093410491943,
-0.33633601665496826,
0.09494984149932861,
-0.030025988817214966,
0.3331563472747803,
-0.12698756158351898,
0.2735954821109772,
0.17818373441696167,
-0.05007603019475937,
0.12337088584899902,
0.7082295417785645,
0.4111838638782501,
0.505367636680603,
0.0858352780342102,
-0.08384358882904053,
0.20737884938716888,
0.05317959189414978,
-0.2268107831478119,
-0.1333988904953003,
0.31652015447616577,
0.19284752011299133,
0.03167515993118286,
0.14276790618896484,
-0.1478712260723114,
0.3276748061180115,
-0.05951123312115669,
0.2544901371002197,
-0.08885584771633148,
0.23745614290237427,
0.2634906768798828,
-0.226095050573349,
-0.03835872560739517,
0.13465580344200134,
-0.49245449900627136,
0.03808189928531647,
0.33776789903640747,
0.22326284646987915,
0.04270527511835098,
-0.35743144154548645,
0.1391061544418335,
0.35849031805992126,
0.36179882287979126,
0.03278958797454834,
-0.23578432202339172,
-0.20087122917175293,
-0.05500085651874542,
-0.5705773830413818,
0.26182565093040466,
0.18200692534446716,
-0.0030545443296432495,
0.24944612383842468,
0.4556242823600769,
-0.07963389903306961,
0.06598107516765594,
-0.12256845831871033,
-0.06031259521842003,
0.10163222998380661,
0.07492256164550781,
-0.3136715888977051,
0.19949761033058167,
0.08122837543487549,
0.04307692497968674,
-0.021761208772659302,
-0.15326696634292603,
0.0988645851612091,
-0.31042250990867615,
0.11035681515932083,
-0.0182928666472435,
-0.1898595690727234,
0.21727891266345978,
0.3049081861972809,
0.23833514750003815,
0.16010448336601257,
0.274505078792572,
-0.10574446618556976,
-0.22779572010040283,
-0.6194438934326172,
-0.30201882123947144,
-0.6357911229133606,
0.19808021187782288,
0.15238796174526215,
0.24276426434516907,
-0.21958985924720764,
-0.11451481282711029,
-0.2939625382423401,
-0.03042357787489891,
-0.1491680145263672,
0.07347169518470764,
-0.11372850835323334,
0.06794898211956024,
0.27515774965286255,
0.16053922474384308,
-0.11333153396844864,
0.306672066450119,
0.02643665112555027,
-0.03833286464214325,
-0.5035465359687805,
-0.5424759984016418,
0.6026609539985657,
-0.03531206026673317,
-0.027143873274326324,
0.0074300020933151245,
0.5018554925918579,
0.057707902044057846,
-0.03265341371297836,
-0.7794168591499329,
0.03565099090337753,
0.2897106409072876,
-0.19811460375785828,
-0.1560264229774475,
0.22391793131828308,
-0.3671870529651642,
-0.19920584559440613,
-0.1916203647851944,
0.35423341393470764,
0.21472954750061035,
-0.3436160087585449,
-0.2803419828414917,
-0.4112517237663269
] |
https://github.com/huggingface/datasets/pull/271 | Fix allociné dataset configuration | The configuration menu is fine imo.
It was more about the code snippet presented in the viewer.
For example for Allociné it currently shows this snippet to load the dataset:
```python
!pip install nlp
from nlp import load_dataset
dataset = load_dataset('allocine', 'allocine')
```
However for datasets with one or zero configurations, the second argument in `load_dataset` is optional. For Allociné, that has one configuration, we can expect to show instead:
```python
!pip install nlp
from nlp import load_dataset
dataset = load_dataset('allocine')
``` | This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use. | 82 | text: Fix allociné dataset configuration
This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use.
The configuration menu is fine imo.
It was more about the code snippet presented in the viewer.
For example for Allociné it currently shows this snippet to load the dataset:
```python
!pip install nlp
from nlp import load_dataset
dataset = load_dataset('allocine', 'allocine')
```
However for datasets with one or zero configurations, the second argument in `load_dataset` is optional. For Allociné, that has one configuration, we can expect to show instead:
```python
!pip install nlp
from nlp import load_dataset
dataset = load_dataset('allocine')
``` | [
-0.19298478960990906,
0.13215044140815735,
0.04216661676764488,
-0.03467722237110138,
0.15554895997047424,
0.031984418630599976,
0.01057402789592743,
0.4622620642185211,
0.11350555717945099,
0.12377810478210449,
0.06470330059528351,
0.36448410153388977,
-0.07321543991565704,
0.05370459705591202,
0.35658392310142517,
0.13218747079372406,
-0.15525653958320618,
0.24900402128696442,
0.16391438245773315,
0.03486167639493942,
-0.4230717122554779,
0.1341143250465393,
-0.16803663969039917,
-0.1613396257162094,
-0.0200236514210701,
0.1778709888458252,
-0.04400002956390381,
0.3048074245452881,
-0.0849902555346489,
-0.633108377456665,
0.3303605914115906,
0.32001951336860657,
0.06335894018411636,
0.022239968180656433,
-0.00010696380923036486,
0.02566346526145935,
0.4027062654495239,
-0.057524628937244415,
-0.29804956912994385,
-0.3328648805618286,
-0.006117437034845352,
-0.4459421932697296,
0.4516242444515228,
-0.1906532347202301,
0.06713216751813889,
-0.004694998264312744,
0.2929512560367584,
-0.15294133126735687,
0.1288989633321762,
0.20205312967300415,
0.24805131554603577,
0.07682402431964874,
0.04374178126454353,
0.09643503278493881,
0.06672146916389465,
-0.014579489827156067,
-0.1422237753868103,
0.117332324385643,
0.20920395851135254,
0.007900094613432884,
0.04333608224987984,
0.33544620871543884,
-0.15244172513484955,
-0.05362140014767647,
0.2810470163822174,
-0.20005136728286743,
-0.14210012555122375,
-0.5734555721282959,
0.006158750504255295,
0.24314650893211365,
0.23337054252624512,
-0.12751704454421997,
-0.12979671359062195,
-0.14123955368995667,
0.22914737462997437,
-0.7591785192489624,
0.12884803116321564,
0.20874613523483276,
-0.02828095480799675,
-0.18255291879177094,
-0.12302915006875992,
-0.30822381377220154,
-0.06339848041534424,
0.12075897306203842,
-0.17238940298557281,
0.38253629207611084,
0.041087765246629715,
0.04092416167259216,
0.17759154736995697,
-0.1091332733631134,
0.13961026072502136,
0.31768131256103516,
-0.24496063590049744,
0.024846259504556656,
-0.27835166454315186,
-0.15019357204437256,
0.2599659562110901,
0.12330794334411621,
-0.016304941847920418,
0.17401520907878876,
0.26920437812805176,
0.3305720090866089,
-0.10618023574352264,
-0.012859858572483063,
0.31563758850097656,
0.16301535069942474,
0.18053919076919556,
0.3927392363548279,
0.1518746018409729,
0.18881674110889435,
0.13344894349575043,
-0.004080146551132202,
-0.03858619183301926,
-0.3150778114795685,
-0.22158725559711456,
-0.1447330117225647,
0.3229401111602783,
-0.18573948740959167,
-0.14470793306827545,
-0.01949986442923546,
-0.2984238266944885,
0.02561083994805813,
0.021255381405353546,
0.4474369287490845,
-0.11117502301931381,
0.23623555898666382,
0.24351276457309723,
0.2268298864364624,
-0.2966921627521515,
-0.14262011647224426,
-0.18208913505077362,
0.021955186501145363,
-0.20470745861530304,
0.07953593134880066,
0.4011520445346832,
-0.13039059937000275,
0.34776708483695984,
0.09744704514741898,
0.05118318647146225,
-0.027613958343863487,
-0.11027321964502335,
0.22516067326068878,
0.2581731081008911,
0.2376590520143509,
0.3745923936367035,
0.0311665590852499,
0.10409638285636902,
-0.11261126399040222,
-0.21768009662628174,
0.2696335017681122,
-0.0028223618865013123,
-0.5230628252029419,
-0.24617750942707062,
0.2261107712984085,
-0.10409346967935562,
-0.3051735758781433,
0.19704917073249817,
0.12779191136360168,
0.03201880306005478,
-0.21355806291103363,
-0.029005862772464752,
-0.33523374795913696,
-0.0793071910738945,
-0.06506454944610596,
0.10150310397148132,
0.46483469009399414,
-0.06809413433074951,
-0.005291815847158432,
-0.07601500302553177,
0.14832383394241333,
0.08835367113351822,
-0.10408923029899597,
-0.35168448090553284,
-0.11660750955343246,
-0.08704745024442673,
-0.19219818711280823,
0.7654897570610046,
-0.4013792872428894,
-0.2734658718109131,
0.08127093315124512,
0.03786168992519379,
-0.02799074724316597,
0.04706360399723053,
-0.010290774516761303,
0.2241971790790558,
0.1280544549226761,
0.1671103686094284,
0.11352908611297607,
0.07031671702861786,
0.15627755224704742,
-0.5298736095428467,
-0.21599911153316498,
0.06341645866632462,
0.10056987404823303,
0.14309418201446533,
0.051846012473106384,
-0.1621675193309784,
0.39823418855667114,
0.5671585202217102,
0.15616320073604584,
-0.09030801057815552,
0.040273282676935196,
0.038370974361896515,
0.03878474980592728,
0.046819619834423065,
0.13722068071365356,
-0.4692283272743225,
-0.022037332877516747,
0.0071356892585754395,
0.4616994261741638,
-0.17953060567378998,
-0.07089634239673615,
-0.18404054641723633,
-0.23610307276248932,
-0.23826827108860016,
-0.4457131028175354,
0.24756816029548645,
0.13271993398666382,
-0.09938585758209229,
-0.16418109834194183,
-0.3942689299583435,
0.22823505103588104,
-0.07818128168582916,
0.04466158151626587,
-0.17742222547531128,
0.08988551795482635,
-0.298515647649765,
-0.16598357260227203,
0.07668698579072952,
0.1783275306224823,
0.21522700786590576,
-0.12332592159509659,
-0.0662451982498169,
0.3261219263076782,
-0.11735168844461441,
-0.08826696872711182,
-0.15199434757232666,
0.22752803564071655,
0.3201090097427368,
-0.16105280816555023,
0.11568708717823029,
0.08694945275783539,
0.05530647188425064,
0.01758306473493576,
-0.20454615354537964,
0.30490967631340027,
-0.2504863440990448,
0.28739917278289795,
0.2114778310060501,
0.2152266651391983,
0.28689560294151306,
-0.014841999858617783,
-0.22587068378925323,
-0.25829702615737915,
0.17328351736068726,
0.4592339098453522,
0.3625931441783905,
0.008077248930931091,
-0.5637239217758179,
0.36873915791511536,
0.1490899920463562,
0.1464395374059677,
-0.2654212713241577,
0.09432916343212128,
0.036116763949394226,
-0.18116900324821472,
0.10349511355161667,
0.1006145179271698,
0.2323099672794342,
0.32156792283058167,
-0.15523387491703033,
0.27608075737953186,
-0.26467519998550415,
-0.29539749026298523,
0.40578609704971313,
0.0055862367153167725,
-0.004019120242446661,
-0.09038997441530228,
0.1258600503206253,
0.03630087524652481,
-0.46500203013420105,
-0.13108056783676147,
-0.08914477378129959,
0.23838196694850922,
-0.33160972595214844,
-0.10401607304811478,
-0.2468157708644867,
-0.6043278574943542,
-0.16310329735279083,
-0.2125079333782196,
-0.2550567090511322,
-0.5366707444190979,
0.10111746191978455,
0.11709931492805481,
-0.03430990129709244,
0.19880303740501404,
-0.4703167974948883,
0.3305288553237915,
-0.11080212891101837,
-0.06841471046209335,
-0.03562047332525253,
-0.1273784190416336,
-0.2320651113986969,
0.09759514033794403,
0.13699646294116974,
0.06318306177854538,
0.04508975148200989,
-0.08602593839168549,
-0.2097521424293518,
-0.14274847507476807,
-0.39574727416038513,
0.26748257875442505,
-0.13714240491390228,
0.11942362785339355,
0.004734620451927185,
0.005156457424163818,
-0.11155031621456146,
-0.35718396306037903,
0.13480937480926514,
-0.17386996746063232,
0.048688337206840515,
-0.0037354324012994766,
-0.025881385430693626,
-0.07389526814222336,
-0.20293956995010376,
-0.5265347361564636,
-0.09037785232067108,
-0.6097589135169983,
0.05682660639286041,
0.2722586691379547,
0.3584173321723938,
0.3515104651451111,
-0.1273919939994812,
-0.1276545375585556,
-0.3109441101551056,
0.06915780901908875,
-0.07131129503250122,
-0.19757838547229767,
-0.014627154916524887,
-0.3822064995765686,
-0.40498781204223633,
0.021244723349809647,
-0.041148241609334946,
0.3059248626232147,
-0.025677021592855453,
-0.46991169452667236,
0.025869891047477722,
-0.28773170709609985,
0.0973505824804306,
-0.09050562977790833,
0.08625658601522446,
0.4158457815647125,
0.3053995668888092,
-0.09712719917297363,
-0.017764268442988396,
-0.39967507123947144,
0.14523908495903015,
0.13803011178970337,
-0.019636772572994232,
-0.17401254177093506,
-0.10892779380083084,
-0.0007885992527008057,
0.4331417679786682,
0.21487388014793396,
0.22384318709373474,
0.46671098470687866,
-0.11348745971918106,
0.682587206363678,
-0.24108880758285522,
-0.3608877956867218,
0.09792426228523254,
0.1316518485546112,
0.17050625383853912,
0.23130077123641968,
-0.018327131867408752,
-0.4934232532978058,
-0.21268515288829803,
0.12061578035354614,
-0.32097533345222473,
-0.4037281572818756,
0.10173638164997101,
-0.250843346118927,
0.028411123901605606,
0.1707148402929306,
-0.11221045255661011,
-0.09949371218681335,
-0.13855481147766113,
-0.11890089511871338,
0.3372637927532196,
0.043372347950935364,
0.2043895125389099,
-0.30669060349464417,
-0.09775738418102264,
-0.2459963858127594,
0.2568565309047699,
-0.17256386578083038,
0.3503658175468445,
-0.008280165493488312,
-0.13176068663597107,
0.069552943110466,
0.2073395550251007,
0.3660023510456085,
0.03782493621110916,
-0.1550751030445099,
0.5304153561592102,
0.061367057263851166,
-0.42575424909591675,
-0.005937498062849045,
-0.17420604825019836,
0.3085173964500427,
0.42746496200561523,
0.0582326203584671,
-0.07040973007678986,
-0.22302989661693573,
0.3398461639881134,
-0.07704587280750275,
-0.1672179102897644,
-0.08250624686479568,
-0.09243275225162506,
-0.21043148636817932,
-0.14517658948898315,
-0.08844742923974991,
0.002544315531849861,
0.32883962988853455,
-0.06366410851478577,
0.08435125648975372,
-0.01080087386071682,
-0.15768614411354065,
-0.1558571606874466,
0.20235523581504822,
0.2348177433013916,
0.31928935647010803,
0.09040325880050659,
0.08160383254289627,
-0.07466061413288116,
-0.03359532356262207,
0.5583013892173767,
0.08687010407447815,
-0.09442435204982758,
0.15502700209617615,
0.11654031276702881,
0.19757786393165588,
0.42998218536376953,
0.08250334113836288,
-0.2990143597126007,
-0.3472849428653717,
-0.04121536761522293,
0.11023303121328354,
0.16029493510723114,
0.07824452221393585,
-0.2374032437801361,
-0.05979692190885544,
-0.49015945196151733,
0.5460569262504578,
0.0988074392080307,
-0.06330855190753937,
0.46943846344947815,
0.21718503534793854,
-0.2762881815433502,
0.5043950080871582,
0.12460777908563614,
0.8977662324905396,
0.2836759090423584,
0.15513257682323456,
0.2167045772075653,
-0.17710833251476288,
0.6110590100288391,
-0.1662706434726715,
0.42654645442962646,
-0.38372108340263367,
-0.07911841571331024,
0.2150905579328537,
-0.000825490802526474,
-0.1636987030506134,
-0.09740744531154633,
-0.35746362805366516,
0.4000588357448578,
0.036547787487506866,
-0.740020751953125,
0.037190843373537064,
0.2839743196964264,
-0.32498040795326233,
-0.19698426127433777,
-0.21092955768108368,
0.15085287392139435,
-0.18101778626441956,
0.43172624707221985,
-0.11830459535121918,
-0.0850679948925972,
0.147864431142807,
-0.19326995313167572,
-0.37460601329803467,
0.15968653559684753,
-0.1582801342010498,
-0.0989103838801384,
-0.19063012301921844,
0.019277147948741913,
-0.10109172761440277,
0.04878238961100578,
-0.09520372748374939,
0.07739025354385376,
-0.24804562330245972,
0.17085443437099457,
0.30865156650543213,
-0.1247406154870987,
0.45520302653312683,
0.3650323748588562,
0.36058178544044495,
-0.14863675832748413,
-0.13909398019313812,
-0.2416362464427948,
0.03681798651814461,
0.006571650505065918,
-0.04093825817108154,
0.06279943138360977,
-0.030126601457595825,
0.0007385322824120522,
-0.3134959042072296,
0.2990795373916626,
-0.021709125488996506,
-0.26492053270339966,
0.1827782541513443,
-0.04067680984735489,
0.09773485362529755,
0.08722057193517685,
0.13158170878887177,
-0.2508121132850647,
-0.11939950287342072,
0.1286054104566574,
0.047277726233005524,
-0.2510572671890259,
0.4098294675350189,
-0.018372688442468643,
-0.06216442584991455,
-0.10119384527206421,
0.014458082616329193,
-0.28042858839035034,
-0.26357242465019226,
-0.011333434842526913,
-0.05102642625570297,
0.07664808630943298,
0.16953186690807343,
0.3853948414325714,
-0.012520644813776016,
0.19719892740249634,
0.11589688062667847,
-0.21430249512195587,
-0.08538589626550674,
0.2437528669834137,
-0.2727435827255249,
0.16184888780117035,
-0.05500819534063339,
0.35858818888664246,
0.40176352858543396,
-0.005228983238339424,
-0.3827560245990753,
-0.0638677254319191,
-0.08548858016729355,
0.13631288707256317,
-0.05032093822956085,
0.00186949223279953,
-0.1116977408528328,
0.03321942687034607,
0.08937972784042358,
-0.1525091975927353,
-0.25789621472358704,
-0.20715391635894775,
-0.07077760994434357,
0.1401536762714386,
0.2209853231906891,
-0.1651017665863037,
-0.1617535799741745,
-0.1692063957452774,
-0.03978418931365013,
-0.034882448613643646,
-0.09446269273757935,
0.095154769718647,
-0.18293710052967072,
0.323250412940979,
0.09013353288173676,
0.054344162344932556,
0.2017146795988083,
0.19776037335395813,
0.023009784519672394,
0.13744598627090454,
0.17920131981372833,
0.23517097532749176,
-0.185440793633461,
-0.12389600276947021,
0.04364647716283798,
-0.06327154487371445,
-0.33346015214920044,
0.4227132201194763,
0.03183788061141968,
-0.14714784920215607,
0.007026601582765579,
-0.10181247442960739,
0.220954030752182,
0.42407622933387756,
-0.008355991914868355,
-0.028246641159057617,
0.05372297763824463,
0.25295379757881165,
-0.28736311197280884,
0.11797207593917847,
0.10046672821044922,
0.18492697179317474,
0.06063540652394295,
0.17001433670520782,
0.2762976586818695,
-0.27218174934387207,
0.0773732140660286,
0.25828489661216736,
0.29532095789909363,
-0.5666976571083069,
0.42893409729003906,
0.05253378674387932,
-0.40094447135925293,
-0.17116421461105347,
0.3542090654373169,
0.16924716532230377,
0.2820618748664856,
0.1878138780593872,
-0.06890284270048141,
0.19447247684001923,
0.24722611904144287,
0.000934891402721405,
0.09045319259166718,
-0.06490611284971237,
0.10562995821237564,
0.08294618129730225,
0.012458056211471558,
0.10364384949207306,
0.03386673703789711,
0.018964387476444244,
-0.1823689192533493,
-0.06362733989953995,
0.04922805726528168,
0.14092884957790375,
-0.16658639907836914,
-0.03756383806467056,
-0.027734510600566864,
-0.29009810090065,
-0.23598423600196838,
-0.010344292968511581,
-0.03984001651406288,
-0.13536961376667023,
0.1488507091999054,
0.19498500227928162,
-0.36208659410476685,
-0.39172306656837463,
0.034118182957172394,
0.027900859713554382,
0.24496367573738098,
-0.07485918700695038,
0.30956780910491943,
0.11889418959617615,
-0.06896407902240753,
-0.0015169158577919006,
0.6524575352668762,
0.4363041818141937,
0.5993483662605286,
0.04741007089614868,
-0.11693201214075089,
0.1486825942993164,
-0.015728067606687546,
-0.2004663646221161,
-0.07060884684324265,
0.2974250912666321,
0.20561401546001434,
0.04890469089150429,
0.1555531769990921,
-0.17295095324516296,
0.259308785200119,
-0.02319977805018425,
0.20305036008358002,
-0.020116444677114487,
0.34381788969039917,
0.3186298906803131,
-0.24429115653038025,
-0.007293634116649628,
0.016193978488445282,
-0.5726689100265503,
0.07630948722362518,
0.32779011130332947,
0.2836231291294098,
0.04021361470222473,
-0.3879415690898895,
0.13777750730514526,
0.40093913674354553,
0.4435887634754181,
0.057250432670116425,
-0.1729472577571869,
-0.14359517395496368,
-0.14157474040985107,
-0.5731610655784607,
0.18569573760032654,
0.10088667273521423,
0.014225436374545097,
0.2605770528316498,
0.41327598690986633,
-0.07646138221025467,
0.0681031346321106,
-0.20695562660694122,
-0.09843380749225616,
0.13402768969535828,
-0.006825357675552368,
-0.2801603674888611,
0.09695040434598923,
0.1320345103740692,
0.04673301801085472,
-0.09456728398799896,
-0.11689985543489456,
-0.024521205574274063,
-0.365251362323761,
0.11848688870668411,
-0.045600347220897675,
-0.25015413761138916,
0.17763683199882507,
0.34783002734184265,
0.19558942317962646,
0.16710658371448517,
0.27274298667907715,
-0.11495072394609451,
-0.23214173316955566,
-0.5562252402305603,
-0.3798637092113495,
-0.6105281710624695,
0.14494186639785767,
0.10028573870658875,
0.29289817810058594,
-0.1698603630065918,
-0.09441307187080383,
-0.3525952696800232,
-0.0015684192767366767,
-0.1857830286026001,
0.07747961580753326,
-0.07949165254831314,
0.11754895001649857,
0.21866318583488464,
0.22719895839691162,
-0.13780942559242249,
0.23703184723854065,
-0.005707137286663055,
0.022139178588986397,
-0.46577686071395874,
-0.542048454284668,
0.5728861093521118,
-0.1371804028749466,
-0.006427271291613579,
0.04313408210873604,
0.3417900800704956,
0.05814022943377495,
-0.004257742315530777,
-0.7051060795783997,
0.08776282519102097,
0.2666526734828949,
-0.21605044603347778,
-0.09163220971822739,
0.23110245168209076,
-0.30119332671165466,
-0.18031558394432068,
-0.19313788414001465,
0.32625001668930054,
0.28947511315345764,
-0.3505346179008484,
-0.25875094532966614,
-0.2991334795951843
] |
https://github.com/huggingface/datasets/pull/271 | Fix allociné dataset configuration | > Actually when there is only one configuration, then you don't need to specify the configuration in `load_dataset`. You can run:
>
> ```python
> dataset = load_dataset('allocine')
> ```
>
> and it works.
>
> Maybe we should take that into account in the nlp viewer @srush ?
Oh ok, I didn't expect it would work!
Anyway, I think it's intrinsically better to simply remove the optional parameter.
The dummy data folder architecture seems also more logical this way.
| This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use. | 81 | text: Fix allociné dataset configuration
This is a patch for #244. According to the [live nlp viewer](url), the Allociné dataset must be loaded with :
```python
dataset = load_dataset('allocine', 'allocine')
```
This is redundant, as there is only one "dataset configuration", and should only be:
```python
dataset = load_dataset('allocine')
```
This is my mistake, because the code for [`allocine.py`](https://github.com/huggingface/nlp/blob/master/datasets/allocine/allocine.py) was inspired by [`imdb.py`](https://github.com/huggingface/nlp/blob/master/datasets/imdb/imdb.py), which also force the user to specify the "dataset configuration" (even if there is only one).
I believe this PR should solve this issue, making the Allociné dataset more convenient to use.
> Actually when there is only one configuration, then you don't need to specify the configuration in `load_dataset`. You can run:
>
> ```python
> dataset = load_dataset('allocine')
> ```
>
> and it works.
>
> Maybe we should take that into account in the nlp viewer @srush ?
Oh ok, I didn't expect it would work!
Anyway, I think it's intrinsically better to simply remove the optional parameter.
The dummy data folder architecture seems also more logical this way.
| [
-0.10649758577346802,
0.18603435158729553,
0.08548694849014282,
0.07608497142791748,
0.24910001456737518,
-0.03839109465479851,
0.12201206386089325,
0.48427972197532654,
0.10734057426452637,
0.20105071365833282,
0.03596402704715729,
0.2901621162891388,
-0.11276213079690933,
0.0690021738409996,
0.2570815980434418,
0.11450304090976715,
-0.11423539370298386,
0.2060503363609314,
0.13545842468738556,
-0.04964235797524452,
-0.46815159916877747,
0.16367419064044952,
-0.16475999355316162,
-0.23367939889431,
-0.11480195820331573,
0.17276541888713837,
-0.16501344740390778,
0.43620240688323975,
-0.0666990801692009,
-0.5192312002182007,
0.22519738972187042,
0.2978310286998749,
0.14012113213539124,
0.10032719373703003,
-0.00010491473221918568,
0.044544368982315063,
0.39545172452926636,
-0.16298286616802216,
-0.3096088767051697,
-0.40078914165496826,
0.13151860237121582,
-0.22321251034736633,
0.31033840775489807,
-0.1611495316028595,
0.008247043937444687,
-0.07751110196113586,
0.2712986469268799,
-0.14848074316978455,
0.10582400113344193,
0.27928152680397034,
0.26191237568855286,
0.14721891283988953,
-0.011816263198852539,
0.03769393637776375,
0.11894825100898743,
0.07306420803070068,
-0.0997619703412056,
0.2053363174200058,
0.09711344540119171,
-0.012841601856052876,
-0.09398966282606125,
0.29042869806289673,
-0.09220246225595474,
-0.04601868614554405,
0.3694378137588501,
-0.16293224692344666,
-0.12992611527442932,
-0.3913849890232086,
0.010676544159650803,
0.213871031999588,
0.30296388268470764,
-0.2232632040977478,
-0.18481867015361786,
-0.09331010282039642,
0.1624392718076706,
-0.7165277004241943,
0.11165480315685272,
0.22106041014194489,
0.020106226205825806,
-0.08600197732448578,
-0.05656411126255989,
-0.255217045545578,
-0.11512446403503418,
0.13341844081878662,
-0.16423682868480682,
0.29587629437446594,
0.06630806624889374,
-0.010804414749145508,
0.1845797896385193,
-0.09490270912647247,
0.13134071230888367,
0.15415970981121063,
-0.2111997902393341,
-0.07797908782958984,
-0.16273817420005798,
-0.23809130489826202,
0.3114699721336365,
0.21977439522743225,
0.03656195104122162,
0.16864736378192902,
0.31025511026382446,
0.1829615831375122,
-0.1479063630104065,
-0.00616813451051712,
0.2991105318069458,
0.1598304808139801,
0.11483795940876007,
0.3964958190917969,
0.24922004342079163,
0.17504924535751343,
-0.004472129046916962,
-0.11556322127580643,
-0.10834482312202454,
-0.23710982501506805,
-0.18082083761692047,
-0.06365067511796951,
0.3498281240463257,
-0.214584082365036,
-0.22560536861419678,
-0.07623149454593658,
-0.17760908603668213,
0.13908645510673523,
0.01988273486495018,
0.5229958295822144,
-0.022765696048736572,
0.24265635013580322,
0.21374161541461945,
0.3274555802345276,
-0.2568722069263458,
-0.14484961330890656,
-0.22881685197353363,
0.04911456257104874,
-0.22279630601406097,
0.0935070738196373,
0.4193820357322693,
-0.1209227442741394,
0.328501433134079,
0.05865635722875595,
0.1298009157180786,
0.07608190923929214,
-0.07124652713537216,
0.10595083236694336,
0.26468104124069214,
0.21850693225860596,
0.2801249623298645,
0.006389975547790527,
0.1471358686685562,
-0.14857691526412964,
-0.19361627101898193,
0.23954635858535767,
0.007143627852201462,
-0.5941284894943237,
-0.3556569218635559,
0.24755121767520905,
-0.12960600852966309,
-0.3435741066932678,
0.2364557683467865,
0.08657515794038773,
0.012614578008651733,
-0.2628207504749298,
-0.025523565709590912,
-0.19921334087848663,
-0.18359267711639404,
-0.08713570237159729,
0.08533520996570587,
0.4952961206436157,
-0.1118917316198349,
0.05456096678972244,
-0.1869799941778183,
0.19279247522354126,
0.010054878890514374,
0.024664778262376785,
-0.4031642973423004,
-0.10160424560308456,
-0.1996280997991562,
-0.08877381682395935,
0.5855140686035156,
-0.3929848074913025,
-0.2763037085533142,
0.055846624076366425,
-0.02540048584342003,
-0.05747659131884575,
0.12464046478271484,
-0.09016942232847214,
0.26941540837287903,
0.028879942372441292,
0.20854778587818146,
0.12796172499656677,
0.031045040115714073,
0.18091680109500885,
-0.5685621500015259,
-0.16599427163600922,
0.11873773485422134,
0.10544615983963013,
0.09550406038761139,
0.15426728129386902,
-0.09268178790807724,
0.359600305557251,
0.4866407513618469,
0.00712290033698082,
-0.1291329562664032,
0.03696649149060249,
0.10067455470561981,
-0.05116451531648636,
0.05982372909784317,
0.09923458844423294,
-0.5992071628570557,
-0.03029501810669899,
0.08054730296134949,
0.414507120847702,
-0.1852511614561081,
-0.23072753846645355,
-0.13967448472976685,
-0.28743258118629456,
-0.056387659162282944,
-0.3873818516731262,
0.272097110748291,
0.11597223579883575,
-0.1895272135734558,
-0.16403889656066895,
-0.349380761384964,
0.13759814202785492,
-0.16443663835525513,
0.024699334055185318,
-0.02179676666855812,
0.13946986198425293,
-0.23963068425655365,
-0.17763371765613556,
0.1286940574645996,
0.13903874158859253,
0.2715311646461487,
-0.1341613382101059,
-0.024213757365942,
0.3083643317222595,
-0.025166070088744164,
-0.046642690896987915,
-0.02683049440383911,
0.2963843047618866,
0.2836425006389618,
-0.07702076435089111,
0.1650993525981903,
0.11799238622188568,
0.1157686784863472,
-0.06337515264749527,
-0.22088894248008728,
0.36146289110183716,
-0.2306802123785019,
0.21755778789520264,
0.27600371837615967,
0.1785970777273178,
0.2993395924568176,
-0.0879199206829071,
-0.16833087801933289,
-0.23437893390655518,
0.16111917793750763,
0.49135762453079224,
0.3775513172149658,
0.16597209870815277,
-0.6190750002861023,
0.3396531343460083,
0.24721939861774445,
0.0808010995388031,
-0.21063897013664246,
0.1661413609981537,
-0.07227902859449387,
-0.1959449052810669,
0.13632579147815704,
0.10915924608707428,
0.37098151445388794,
0.3570692539215088,
-0.1151280403137207,
0.2302284985780716,
-0.19102743268013,
-0.3309634327888489,
0.3978590667247772,
0.010170616209506989,
-0.04090080037713051,
0.00855892151594162,
0.16904184222221375,
-0.03479276970028877,
-0.5466790199279785,
-0.10774138569831848,
0.03557867556810379,
0.21573173999786377,
-0.37831419706344604,
-0.11724891513586044,
-0.15650886297225952,
-0.5471920371055603,
-0.14267869293689728,
-0.20743080973625183,
-0.2111242115497589,
-0.4603824019432068,
0.12956160306930542,
0.24291948974132538,
-0.22550401091575623,
0.08454152196645737,
-0.4286149740219116,
0.426910400390625,
-0.15318872034549713,
-0.1382468044757843,
-0.012090355157852173,
-0.1538524329662323,
-0.18256112933158875,
0.12313626706600189,
0.20966634154319763,
0.018067603930830956,
0.06297381222248077,
-0.1272013932466507,
-0.1019623652100563,
-0.17686088383197784,
-0.4096969664096832,
0.18918131291866302,
-0.05201033502817154,
0.08332554996013641,
-0.00942559540271759,
0.08438201993703842,
0.037926085293293,
-0.4414522647857666,
0.10309967398643494,
-0.236813023686409,
0.08266976475715637,
0.11354590952396393,
-0.045973651111125946,
-0.03446571156382561,
-0.3691079318523407,
-0.4834096133708954,
-0.08836128562688828,
-0.6305273771286011,
0.029240164905786514,
0.1619655191898346,
0.2891484797000885,
0.36058929562568665,
-0.11610516905784607,
-0.10898573696613312,
-0.32998329401016235,
-0.02573016844689846,
-0.08102147281169891,
-0.2975998818874359,
0.10896448791027069,
-0.36293143033981323,
-0.44963473081588745,
-0.01878354698419571,
-0.10402849316596985,
0.2655501961708069,
-0.07496507465839386,
-0.47350895404815674,
-0.10801083594560623,
-0.27445343136787415,
0.09199357032775879,
-0.015208959579467773,
-0.032788924872875214,
0.3931449353694916,
0.20716752111911774,
-0.16604922711849213,
-0.11279355734586716,
-0.3591334819793701,
0.25338032841682434,
0.16277316212654114,
-0.05207177251577377,
-0.2488265335559845,
-0.04168333113193512,
0.06020314618945122,
0.4785882234573364,
0.15271469950675964,
0.10675355792045593,
0.5777064561843872,
-0.033213257789611816,
0.7536877989768982,
-0.2658281922340393,
-0.36064499616622925,
0.09844046831130981,
0.061270467936992645,
-0.017163362354040146,
0.34954333305358887,
-0.02421453967690468,
-0.4963250458240509,
-0.17923343181610107,
0.015181101858615875,
-0.2666991949081421,
-0.39481881260871887,
0.1799006313085556,
-0.20812243223190308,
-0.10711649805307388,
0.1489618569612503,
-0.12146817147731781,
-0.2037249654531479,
-0.17287394404411316,
-0.06487670540809631,
0.37426257133483887,
0.10467163473367691,
0.1740952432155609,
-0.22361545264720917,
0.05216408520936966,
-0.2856108844280243,
0.3401104211807251,
-0.14689163863658905,
0.2832428514957428,
-0.019846096634864807,
-0.15810710191726685,
0.04266350716352463,
0.12788373231887817,
0.37043190002441406,
0.10024438798427582,
-0.17805062234401703,
0.5142419338226318,
-0.04765532910823822,
-0.41197317838668823,
0.032860610634088516,
-0.17915968596935272,
0.2973087430000305,
0.37973010540008545,
0.19839924573898315,
-0.13837099075317383,
-0.2554488480091095,
0.2674022912979126,
-0.09053884446620941,
-0.15493783354759216,
-0.12983955442905426,
-0.10633020102977753,
-0.22730588912963867,
-0.1906595379114151,
-0.06921430677175522,
0.11008008569478989,
0.28969505429267883,
-0.15074937045574188,
0.12864606082439423,
0.012459837831556797,
-0.2646183967590332,
-0.012622900307178497,
0.1487884670495987,
0.29631325602531433,
0.26247626543045044,
0.07070466876029968,
0.09427639096975327,
-0.012888871133327484,
0.03905443474650383,
0.5925266146659851,
0.052228718996047974,
-0.06597192585468292,
0.07315431535243988,
0.022900264710187912,
0.2149149477481842,
0.4384770691394806,
0.00834303256124258,
-0.24437808990478516,
-0.4621163606643677,
-0.10370226204395294,
-0.06265400350093842,
0.2225743979215622,
0.12639714777469635,
-0.2855306565761566,
-0.025175832211971283,
-0.34840917587280273,
0.46184393763542175,
0.04513484612107277,
-0.06572966277599335,
0.5113616585731506,
0.3036370873451233,
-0.31569257378578186,
0.5658963918685913,
-0.004472792148590088,
0.9361881613731384,
0.2904660105705261,
0.3063938319683075,
0.20352640748023987,
-0.13097286224365234,
0.5037472248077393,
-0.10593773424625397,
0.37522339820861816,
-0.3535328507423401,
-0.276949405670166,
0.2063867449760437,
-0.03417762368917465,
-0.14479351043701172,
0.024144452065229416,
-0.35484716296195984,
0.34581854939460754,
-0.09550313651561737,
-0.6058003902435303,
0.0015167845413088799,
0.4513060748577118,
-0.327280730009079,
-0.10409502685070038,
-0.20469285547733307,
0.16085952520370483,
-0.07123427093029022,
0.29305335879325867,
-0.11103396117687225,
-0.17384470999240875,
0.18406255543231964,
-0.20935282111167908,
-0.3225846588611603,
0.14807096123695374,
-0.08914170414209366,
-0.16540639102458954,
-0.2570413053035736,
0.083762526512146,
-0.08338665962219238,
0.03147711232304573,
0.059189971536397934,
0.021498028188943863,
-0.31149134039878845,
0.15449383854866028,
0.08674149960279465,
-0.007919779978692532,
0.3499341607093811,
0.3370058834552765,
0.4161309003829956,
-0.16002106666564941,
-0.07852871716022491,
-0.2792697846889496,
0.05310063809156418,
-0.11922000348567963,
-0.08549314737319946,
-0.07625538110733032,
-0.10074588656425476,
-0.1478644609451294,
-0.26425647735595703,
0.21078236401081085,
-0.1354123204946518,
-0.3223342299461365,
0.20539328455924988,
-0.04001390188932419,
0.11286590248346329,
-0.010724827647209167,
0.13666486740112305,
-0.31861111521720886,
-0.10850585997104645,
0.13969126343727112,
-0.03206416219472885,
-0.07926750183105469,
0.49514397978782654,
-0.04301261156797409,
-0.07700836658477783,
-0.15654435753822327,
0.025363102555274963,
-0.19981564581394196,
-0.25749319791793823,
0.22005636990070343,
0.008616541512310505,
0.03999112546443939,
0.07496660947799683,
0.4150642156600952,
0.0028808191418647766,
0.22332137823104858,
0.05184831842780113,
-0.22555385529994965,
-0.1818714141845703,
0.29992616176605225,
-0.2539284825325012,
0.2972398102283478,
-0.07506445050239563,
0.38467177748680115,
0.34046056866645813,
-0.034613363444805145,
-0.4192204177379608,
0.03982032835483551,
-0.1054520308971405,
0.1688702255487442,
-0.09529862552881241,
-0.10377491265535355,
0.010610855184495449,
0.027685560286045074,
0.10077657550573349,
-0.13323603570461273,
-0.1485539972782135,
-0.2184961438179016,
-0.13169214129447937,
0.15291032195091248,
0.26129454374313354,
-0.1212603971362114,
-0.05912322178483009,
-0.26085755228996277,
-0.08904443681240082,
-0.019870229065418243,
-0.012959077022969723,
0.09897703677415848,
-0.2323930412530899,
0.39368921518325806,
0.11688491702079773,
0.04821225628256798,
0.24465666711330414,
0.1250440776348114,
0.04042313992977142,
0.19590729475021362,
0.04733860492706299,
0.2020919919013977,
-0.2171785980463028,
-0.1651512086391449,
0.10133098065853119,
-0.020097889006137848,
-0.2904847264289856,
0.41959869861602783,
0.02272821217775345,
-0.04527406394481659,
0.005364645272493362,
-0.12312716990709305,
0.235414057970047,
0.3767913579940796,
-0.08549661189317703,
0.05169118195772171,
0.10177075862884521,
0.28076353669166565,
-0.34768298268318176,
0.1464787721633911,
0.07080542296171188,
0.11655912548303604,
0.09319955110549927,
0.12252629548311234,
0.19286267459392548,
-0.14897243678569794,
0.10327854752540588,
0.18545830249786377,
0.3430510461330414,
-0.40770941972732544,
0.29502519965171814,
-0.04566752538084984,
-0.42105570435523987,
-0.14925171434879303,
0.3455355167388916,
0.19110745191574097,
0.2579842209815979,
0.34348076581954956,
-0.04299772530794144,
0.26540932059288025,
0.12894344329833984,
-0.09435656666755676,
0.18497306108474731,
-0.11155293881893158,
0.18488065898418427,
0.12598873674869537,
0.18405845761299133,
0.09653745591640472,
-0.00007537752389907837,
0.025546304881572723,
-0.1577291637659073,
0.01804954744875431,
-0.007906835526227951,
0.10173756629228592,
-0.202352374792099,
-0.04718766361474991,
-0.07286562025547028,
-0.31073009967803955,
-0.2077372521162033,
0.022901073098182678,
-0.10565987229347229,
-0.08241742849349976,
0.2074662148952484,
0.19673727452754974,
-0.30741649866104126,
-0.33235153555870056,
0.08058132976293564,
0.027361072599887848,
0.23617658019065857,
-0.1742916852235794,
0.29866963624954224,
0.21290549635887146,
-0.009214445948600769,
0.16311083734035492,
0.6216660737991333,
0.4049527049064636,
0.5897352695465088,
0.012743683531880379,
-0.16859959065914154,
0.09442347288131714,
-0.01862240396440029,
-0.2070026993751526,
0.034950144588947296,
0.22460108995437622,
0.26362836360931396,
0.14382615685462952,
0.15559811890125275,
-0.18671022355556488,
0.24354495108127594,
0.01410563662648201,
0.1460929661989212,
-0.11626371741294861,
0.40131905674934387,
0.29598721861839294,
-0.21824878454208374,
-0.11942718923091888,
0.027674324810504913,
-0.4997941255569458,
-0.025542326271533966,
0.33476945757865906,
0.17829592525959015,
0.08664169907569885,
-0.3776684105396271,
0.14180299639701843,
0.34159642457962036,
0.4360217750072479,
0.06991167366504669,
-0.10485570877790451,
-0.2808490991592407,
-0.10445651412010193,
-0.6262618899345398,
0.23164325952529907,
0.08072584867477417,
0.11367100477218628,
0.20851290225982666,
0.37973859906196594,
0.023067854344844818,
-0.050661601126194,
-0.2742880582809448,
0.11421995609998703,
0.006110050715506077,
-0.036168716847896576,
-0.3363112509250641,
0.1657750904560089,
-0.07041628658771515,
-0.05890229344367981,
-0.0186123289167881,
-0.22413432598114014,
0.05698903650045395,
-0.30193185806274414,
0.17332202196121216,
0.025693248957395554,
-0.1654466688632965,
0.1978931576013565,
0.3213355839252472,
0.16273927688598633,
0.10030480474233627,
0.34262099862098694,
-0.17673105001449585,
-0.23737753927707672,
-0.5206023454666138,
-0.37772664427757263,
-0.6422247886657715,
0.0057014524936676025,
0.15343518555164337,
0.3051118850708008,
-0.19742834568023682,
-0.06993217766284943,
-0.2786036431789398,
0.05500968173146248,
-0.2081969827413559,
0.047445666044950485,
-0.1890953779220581,
0.2731856107711792,
0.1152462437748909,
0.14379703998565674,
-0.1498900055885315,
0.28189119696617126,
-0.03279180824756622,
-0.04690982401371002,
-0.41679996252059937,
-0.5143947601318359,
0.6742783188819885,
-0.24237017333507538,
-0.03636956959962845,
0.02889963611960411,
0.4121142327785492,
0.09004006534814835,
-0.09667567908763885,
-0.7125411033630371,
0.1110772117972374,
0.23207765817642212,
-0.14762693643569946,
-0.07994866371154785,
0.24203132092952728,
-0.17990440130233765,
-0.12420369684696198,
-0.20906244218349457,
0.3797023892402649,
0.3174510896205902,
-0.3413015305995941,
-0.20080959796905518,
-0.3344727158546448
] |
https://github.com/huggingface/datasets/pull/266 | Add sort, shuffle, test_train_split and select methods | Nice !
Also it looks like we can have a train_test_split method for free:
```python
train_indices, test_indices = train_test_split(range(len(dataset)))
train = dataset.sort(indices=train_indices)
test = dataset.sort(indices=test_indices)
```
and a shuffling method for free:
```python
shuffled_indices = shuffle(range(len(dataset)))
shuffled_dataset = dataset.sort(indices=shuffled_indices)
```
Maybe we can have a specific API for train_test_split and shuffle. They are two features asked quite often (see #147, #166) | Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259 | 61 | text: Add sort, shuffle, test_train_split and select methods
Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259
Nice !
Also it looks like we can have a train_test_split method for free:
```python
train_indices, test_indices = train_test_split(range(len(dataset)))
train = dataset.sort(indices=train_indices)
test = dataset.sort(indices=test_indices)
```
and a shuffling method for free:
```python
shuffled_indices = shuffle(range(len(dataset)))
shuffled_dataset = dataset.sort(indices=shuffled_indices)
```
Maybe we can have a specific API for train_test_split and shuffle. They are two features asked quite often (see #147, #166) | [
0.032896097749471664,
0.15392851829528809,
-0.16762356460094452,
0.015307631343603134,
0.12348498404026031,
0.1119878813624382,
0.21990519762039185,
0.5104467272758484,
-0.02848266251385212,
0.2986862063407898,
-0.12256260961294174,
0.608325719833374,
-0.06825853884220123,
0.057169049978256226,
0.13317696750164032,
-0.20863953232765198,
-0.017160676419734955,
0.19966405630111694,
-0.15097489953041077,
-0.11280634999275208,
-0.2839023172855377,
-0.05813837796449661,
-0.44869762659072876,
-0.13361194729804993,
-0.13016489148139954,
-0.17958390712738037,
-0.27044299244880676,
0.06947346031665802,
-0.37288469076156616,
-0.1632980853319168,
0.07985395938158035,
0.26814210414886475,
-0.18439103662967682,
0.4986698627471924,
-0.00010288220801157877,
-0.2294560819864273,
0.08520384132862091,
-0.10601768642663956,
-0.17467248439788818,
-0.30549007654190063,
0.048062875866889954,
-0.05602807551622391,
0.11429604142904282,
-0.30847567319869995,
-0.055425822734832764,
-0.2509309947490692,
-0.0018931571394205093,
-0.18207691609859467,
0.12768207490444183,
0.32636162638664246,
0.2743288278579712,
0.1001981869339943,
-0.04113250970840454,
-0.14821591973304749,
0.46280723810195923,
0.10441450029611588,
-0.3463927209377289,
-0.016823463141918182,
0.3093065619468689,
0.2055620551109314,
0.022494688630104065,
0.08817829191684723,
-0.03774142265319824,
0.04290255904197693,
0.1285981684923172,
0.08072270452976227,
-0.14248433709144592,
-0.21013742685317993,
-0.2874535322189331,
0.19473567605018616,
0.43776971101760864,
-0.37529751658439636,
-0.35252872109413147,
-0.09651950001716614,
0.13302581012248993,
-0.24426686763763428,
-0.0002562478184700012,
0.08118896931409836,
0.10437414050102234,
-0.09892328083515167,
-0.11316899955272675,
-0.01153567899018526,
-0.10125929862260818,
0.06844209879636765,
0.12921260297298431,
0.6072498559951782,
0.1194085106253624,
-0.015607677400112152,
0.3220600187778473,
0.14591628313064575,
0.4302341938018799,
0.18317081034183502,
0.09169213473796844,
0.2333073914051056,
-0.25684189796447754,
-0.263968825340271,
0.18720504641532898,
-0.2031106948852539,
0.11375743895769119,
0.2638940215110779,
0.04086834937334061,
0.20120054483413696,
-0.06703971326351166,
-0.0176713764667511,
0.23564818501472473,
0.21638810634613037,
-0.24889415502548218,
0.28072088956832886,
0.20014119148254395,
0.1878991425037384,
0.05821594223380089,
-0.005352657288312912,
0.1101900190114975,
-0.24900731444358826,
-0.2053246945142746,
-0.007185028865933418,
-0.10451053828001022,
-0.08562761545181274,
-0.10128552466630936,
-0.11224748939275742,
-0.23973286151885986,
-0.18282367289066315,
0.13915114104747772,
0.2229621410369873,
-0.11264746636152267,
-0.07301394641399384,
0.029860638082027435,
-0.045377567410469055,
-0.26532605290412903,
0.17417509853839874,
-0.3037284016609192,
0.22017106413841248,
-0.38753023743629456,
0.06479454040527344,
0.08554308116436005,
-0.06875801086425781,
0.15787072479724884,
0.22282230854034424,
0.42706048488616943,
0.054409727454185486,
0.1720990240573883,
0.09162783622741699,
0.3482256233692169,
0.2737557888031006,
-0.04992637038230896,
-0.08442045003175735,
0.10423022508621216,
-0.028221240267157555,
-0.31759777665138245,
0.3534907400608063,
-0.32065001130104065,
-0.3242891728878021,
-0.014764988794922829,
0.32453399896621704,
0.06750126928091049,
-0.033842965960502625,
-0.057364143431186676,
0.05972155183553696,
0.011476948857307434,
-0.2511459290981293,
0.2692803740501404,
-0.22732065618038177,
0.08078357577323914,
-0.29017168283462524,
0.2598629891872406,
-0.09846685826778412,
-0.30317583680152893,
0.18880748748779297,
-0.17596840858459473,
0.07747382670640945,
0.2921326160430908,
0.18322306871414185,
-0.2054772824048996,
0.11532515287399292,
-0.15321116149425507,
0.2034866064786911,
0.5104449391365051,
0.06497250497341156,
-0.2245868444442749,
-0.158413365483284,
0.03319843113422394,
-0.09676209092140198,
-0.06477942317724228,
0.23302602767944336,
0.08287399262189865,
0.04155038669705391,
0.2434389591217041,
0.23120655119419098,
-0.0008108820766210556,
-0.006832540035247803,
-0.27573147416114807,
-0.2678362727165222,
0.3363147974014282,
0.24961407482624054,
0.026425104588270187,
-0.0881275162100792,
0.0734182596206665,
-0.13067087531089783,
0.38264501094818115,
-0.1414853185415268,
-0.26769939064979553,
-0.186179980635643,
0.2685641348361969,
0.2198108434677124,
0.15617847442626953,
-0.31056350469589233,
0.06618873029947281,
0.03549038618803024,
0.09472538530826569,
0.2576256990432739,
0.12327532470226288,
-0.31597256660461426,
-0.2205573320388794,
-0.24394361674785614,
-0.21045802533626556,
-0.35592222213745117,
0.2337261140346527,
-0.03136763721704483,
0.08451917767524719,
-0.010192081332206726,
-0.33713802695274353,
-0.12933692336082458,
-0.32214978337287903,
-0.08746151626110077,
-0.43651366233825684,
0.27966055274009705,
-0.22721640765666962,
-0.09445839375257492,
-0.05412229523062706,
0.4317716062068939,
-0.0456579253077507,
-0.12078505009412766,
-0.04707163944840431,
0.525688886642456,
0.3604428470134735,
-0.3919103741645813,
-0.10724648088216782,
0.17964662611484528,
0.12033075839281082,
0.08271649479866028,
-0.13911281526088715,
0.046114277094602585,
0.11295951902866364,
-0.07359770685434341,
-0.11901091784238815,
0.6447551846504211,
-0.5932102203369141,
0.10859762132167816,
0.18669065833091736,
-0.08463815599679947,
0.09601819515228271,
0.12102033197879791,
-0.1038404256105423,
-0.034620873630046844,
-0.022800374776124954,
0.03639436513185501,
0.01921387016773224,
-0.0020275581628084183,
-0.3423555791378021,
-0.01778867095708847,
0.4486943483352661,
-0.03140266239643097,
0.04481091722846031,
-0.04189998656511307,
0.2411680519580841,
-0.15515565872192383,
0.04016217589378357,
0.3275061547756195,
0.35846224427223206,
0.33862489461898804,
0.10558652877807617,
0.10780161619186401,
-0.12725986540317535,
-0.3058706820011139,
0.14420343935489655,
0.08480493724346161,
-0.09839927405118942,
0.061237916350364685,
-0.0574670135974884,
0.05560556799173355,
-0.3830319046974182,
-0.17634379863739014,
0.029539695009589195,
0.22951126098632812,
-0.11624433100223541,
-0.10282353311777115,
-0.2934037744998932,
-0.06894092261791229,
-0.06633005291223526,
-0.22605502605438232,
0.08817754685878754,
-0.30384257435798645,
0.2438834309577942,
0.0037452690303325653,
-0.29766958951950073,
0.1802709996700287,
-0.12981849908828735,
0.3572145104408264,
-0.08113645762205124,
0.0520947203040123,
-0.0434424988925457,
-0.03943631798028946,
-0.04998119920492172,
0.2556726038455963,
0.009557518176734447,
0.3487362861633301,
0.6152733564376831,
0.12105276435613632,
-0.12178386002779007,
-0.15455330908298492,
-0.40628519654273987,
-0.0255514457821846,
-0.08574893325567245,
0.17230570316314697,
0.3793693780899048,
-0.10284166038036346,
-0.14767087996006012,
-0.4946337044239044,
-0.011856311932206154,
-0.35139432549476624,
-0.10911310464143753,
-0.09284516423940659,
0.1417137235403061,
-0.10211718082427979,
-0.41132068634033203,
-0.8325990438461304,
-0.1477075070142746,
-0.45554935932159424,
0.08404906839132309,
0.09148009121417999,
0.28528231382369995,
0.1284903585910797,
-0.026111681014299393,
0.1351408064365387,
0.08166397362947464,
0.04899945110082626,
-0.34247204661369324,
-0.3747732937335968,
0.2584749162197113,
-0.3445415794849396,
-0.19272726774215698,
-0.21362639963626862,
-0.05052221566438675,
0.010830000042915344,
0.1479642391204834,
-0.2617974877357483,
-0.16719408333301544,
-0.1796209067106247,
0.10122480988502502,
0.03500932455062866,
0.27972039580345154,
0.5287071466445923,
0.04442743584513664,
-0.16028235852718353,
0.004603337496519089,
-0.18612463772296906,
-0.013456873595714569,
0.34756314754486084,
0.14664053916931152,
-0.10499108582735062,
0.3183462619781494,
0.052505265921354294,
0.6565062999725342,
-0.11088182032108307,
0.07039029151201248,
0.20672981441020966,
-0.11990564316511154,
0.29738059639930725,
-0.4865957796573639,
-0.19671814143657684,
0.21151819825172424,
0.07439906895160675,
-0.35382336378097534,
0.228836327791214,
0.008971580304205418,
-0.20954975485801697,
-0.1232224702835083,
0.2048293501138687,
-0.07606113702058792,
-0.26151785254478455,
0.10444587469100952,
-0.06979569792747498,
-0.0789104774594307,
-0.09723322093486786,
0.2596863806247711,
0.011238764971494675,
0.06433417648077011,
0.054795268923044205,
0.03038051724433899,
0.09737518429756165,
-0.16902294754981995,
-0.38685667514801025,
-0.3154773414134979,
-0.01725248247385025,
0.07112127542495728,
0.24619276821613312,
0.14120563864707947,
0.1977284699678421,
-0.30936098098754883,
0.23586690425872803,
-0.011273249983787537,
0.5442230105400085,
-0.22901827096939087,
-0.45129871368408203,
0.35182011127471924,
-0.002782154828310013,
-0.03890106827020645,
-0.21796466410160065,
-0.2796778678894043,
0.06498507410287857,
-0.00808567926287651,
0.14360526204109192,
-0.17730170488357544,
-0.015404313802719116,
0.2942713797092438,
-0.01798103004693985,
0.015671726316213608,
-0.0888938456773758,
-0.23290219902992249,
-0.3616921305656433,
-0.1662733405828476,
0.17325595021247864,
-0.07716847956180573,
-0.08871158212423325,
-0.21192039549350739,
-0.15758158266544342,
0.1176743358373642,
-0.03729456663131714,
0.11226841062307358,
0.052927885204553604,
0.327178418636322,
0.10193677991628647,
0.11183395981788635,
0.2686697244644165,
0.019664771854877472,
0.14923667907714844,
0.3601952791213989,
-0.30136698484420776,
0.35857945680618286,
0.015356218442320824,
-0.20230349898338318,
0.319889098405838,
0.17867080867290497,
0.08238275349140167,
0.06006692722439766,
-0.13806256651878357,
0.22455830872058868,
-0.16672493517398834,
0.01496029831469059,
0.35558056831359863,
-0.3667287826538086,
-0.16617721319198608,
-0.9892644882202148,
0.3659280836582184,
-0.04379449039697647,
-0.05641787499189377,
0.5909957885742188,
0.21995685994625092,
-0.0913039892911911,
0.424394428730011,
0.279107928276062,
1.1103142499923706,
0.10751963406801224,
0.16183985769748688,
0.40899789333343506,
-0.08329319208860397,
0.45983177423477173,
-0.08090797066688538,
0.41482746601104736,
-0.3701799213886261,
-0.32903853058815,
0.024435484781861305,
-0.16694974899291992,
0.0709327757358551,
-0.23691688477993011,
-0.2500455677509308,
0.1363951861858368,
-0.12793533504009247,
-0.055551622062921524,
-0.21204495429992676,
0.09759257733821869,
-0.09846307337284088,
-0.13997480273246765,
0.03238862007856369,
0.18045809864997864,
0.12344720959663391,
-0.18241900205612183,
0.0006306851282715797,
0.023797910660505295,
-0.07954210042953491,
-0.0007264614105224609,
-0.1153504028916359,
0.00014008209109306335,
0.07582239806652069,
0.40820443630218506,
-0.04036562517285347,
0.08449384570121765,
0.14717358350753784,
-0.167949840426445,
-0.03183860331773758,
0.24738092720508575,
-0.07736486941576004,
0.23194706439971924,
0.21739736199378967,
0.3007696270942688,
0.29465314745903015,
-0.03328628093004227,
0.47039180994033813,
-0.015907414257526398,
-0.25796452164649963,
-0.15118154883384705,
0.11111253499984741,
-0.5045388340950012,
-0.6337890028953552,
0.1435350924730301,
0.29567354917526245,
-0.3398679494857788,
-0.0789189487695694,
0.17027533054351807,
-0.17488524317741394,
-0.28106799721717834,
0.274198442697525,
0.07172618806362152,
-0.19657109677791595,
0.5510368347167969,
-0.04410209879279137,
-0.22964483499526978,
-0.23258771002292633,
0.2297176718711853,
0.28524091839790344,
-0.01795584335923195,
0.15643581748008728,
0.07646256685256958,
-0.16540458798408508,
-0.2658366858959198,
0.007362298667430878,
0.3080846965312958,
0.07857679575681686,
0.1559165120124817,
-0.31942296028137207,
-0.10709452629089355,
0.22047767043113708,
0.24416396021842957,
0.1615675538778305,
0.07890632748603821,
-0.3767520487308502,
-0.028801653534173965,
-0.0742841586470604,
0.1554790586233139,
0.37850555777549744,
0.5465092658996582,
-0.21641063690185547,
0.27176418900489807,
-0.1231001764535904,
0.025335131213068962,
-0.4388802647590637,
-0.07485592365264893,
-0.16926492750644684,
0.20614968240261078,
-0.3034273386001587,
-0.03505276143550873,
-0.1785711795091629,
-0.014069403521716595,
0.19264887273311615,
0.12499762326478958,
-0.271331250667572,
-0.2961527407169342,
-0.1219368577003479,
0.04943974316120148,
0.10564427077770233,
0.10491173714399338,
0.03241091966629028,
-0.24738667905330658,
-0.4496155381202698,
-0.11880072951316833,
-0.07529053092002869,
0.14739596843719482,
0.05735199153423309,
0.26364991068840027,
0.5524458289146423,
-0.039993658661842346,
0.19082096219062805,
0.05674009025096893,
-0.09539435803890228,
-0.08948254585266113,
0.1375715732574463,
0.07807721197605133,
-0.24507181346416473,
-0.11974094808101654,
0.043740272521972656,
0.10293937474489212,
0.0958305224776268,
0.12442030012607574,
0.21625423431396484,
0.015198078006505966,
-0.04761515557765961,
0.061277419328689575,
0.5048999786376953,
0.5595083236694336,
0.06085521727800369,
-0.2656896412372589,
0.15108266472816467,
0.34746742248535156,
-0.3301731050014496,
-0.12601527571678162,
-0.11117811501026154,
0.2502899169921875,
0.061690833419561386,
0.06391966342926025,
-0.13151335716247559,
0.04019869118928909,
-0.28603237867355347,
0.05929376929998398,
0.09325192123651505,
-0.4658418893814087,
0.40829065442085266,
0.27852317690849304,
-0.3153327703475952,
-0.27737414836883545,
0.18703143298625946,
-0.27485501766204834,
0.025185666978359222,
0.46056032180786133,
0.05607791617512703,
0.7124550342559814,
0.3049713671207428,
-0.016316723078489304,
-0.001234687864780426,
0.06933508813381195,
0.21069876849651337,
0.34307098388671875,
0.16796767711639404,
0.1458539068698883,
0.3806822896003723,
0.22518962621688843,
-0.33079972863197327,
-0.00705772964283824,
-0.0911928340792656,
-0.091371551156044,
-0.19590651988983154,
0.11325149238109589,
-0.08584195375442505,
-0.3449117839336395,
-0.15506932139396667,
-0.09002186357975006,
0.07389429211616516,
0.10640919208526611,
0.3151315152645111,
-0.05129338055849075,
-0.0497271865606308,
-0.37008750438690186,
0.06925749778747559,
-0.08099444210529327,
0.509086549282074,
-0.20761728286743164,
-0.1382758468389511,
0.3215532898902893,
-0.2635093629360199,
-0.0037214234471321106,
0.06653838604688644,
0.10165703296661377,
0.47799524664878845,
-0.21105729043483734,
-0.11656728386878967,
-0.14372439682483673,
-0.027094412595033646,
-0.013249961659312248,
0.11560053378343582,
0.07461044192314148,
-0.09653894603252411,
0.2767091393470764,
0.2488696277141571,
-0.2389724999666214,
0.12411276996135712,
0.05459877476096153,
0.2520798444747925,
-0.31583914160728455,
0.5919616222381592,
0.2658699154853821,
-0.18067452311515808,
0.306866317987442,
0.013855427503585815,
-0.4331999123096466,
-0.14468513429164886,
-0.017103996127843857,
-0.11842522770166397,
-0.004709356464445591,
-0.23142410814762115,
0.14162985980510712,
0.1890905797481537,
0.47808676958084106,
0.16864992678165436,
-0.010666370391845703,
-0.04913708567619324,
-0.12598372995853424,
-0.6329953670501709,
0.06461796164512634,
0.15894122421741486,
0.07706579566001892,
0.16038881242275238,
0.31354090571403503,
0.0038225874304771423,
-0.04394742101430893,
-0.012540459632873535,
-0.27225711941719055,
0.04403233528137207,
0.016132622957229614,
-0.37296563386917114,
0.004077523946762085,
-0.17293862998485565,
-0.14383485913276672,
-0.0836317241191864,
-0.26250705122947693,
-0.048995491117239,
-0.20418286323547363,
0.12137662619352341,
-0.0754890888929367,
0.08585508167743683,
0.34067416191101074,
0.26761695742607117,
0.19062179327011108,
0.08574392646551132,
0.06564650684595108,
-0.10456039011478424,
0.12191367894411087,
-0.1259048730134964,
-0.13312512636184692,
-0.17989587783813477,
0.03794184327125549,
-0.015037573873996735,
0.21270768344402313,
0.06411392241716385,
-0.2984742522239685,
-0.3100915253162384,
0.3152514696121216,
-0.04983781650662422,
0.12630480527877808,
-0.4459823966026306,
-0.03844605013728142,
0.07410969585180283,
0.040852464735507965,
-0.11931043863296509,
0.300643652677536,
-0.07651445269584656,
0.025758741423487663,
-0.11380399763584137,
-0.3288525640964508,
0.5263218879699707,
-0.11780732125043869,
-0.17728929221630096,
-0.25362104177474976,
0.15983901917934418,
0.1954682469367981,
0.12145072221755981,
-0.3230412006378174,
-0.19116392731666565,
0.23121300339698792,
-0.008956830948591232,
0.016228657215833664,
0.4709723889827728,
0.04216195270419121,
0.05345612391829491,
-0.13165584206581116,
0.1494547575712204,
-0.014948002994060516,
-0.15507283806800842,
0.18042905628681183,
-0.4309977889060974
] |
https://github.com/huggingface/datasets/pull/266 | Add sort, shuffle, test_train_split and select methods | Ok, I think this one is ready to merge.
@patrickvonplaten @jplu @mariamabarham @joeddav @n1t0 @julien-c you may want to give it a look, it adds a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``, which is the default behavior in the library. | Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259 | 149 | text: Add sort, shuffle, test_train_split and select methods
Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259
Ok, I think this one is ready to merge.
@patrickvonplaten @jplu @mariamabarham @joeddav @n1t0 @julien-c you may want to give it a look, it adds a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``, which is the default behavior in the library. | [
-0.09962427616119385,
0.1797654926776886,
-0.1615031361579895,
0.03497820720076561,
0.16711093485355377,
0.11221329122781754,
0.27551883459091187,
0.5167768001556396,
0.029629148542881012,
0.15380844473838806,
-0.18558479845523834,
0.5987032055854797,
-0.003961543552577496,
0.038229912519454956,
0.20907069742679596,
-0.04212524741888046,
0.09967660903930664,
0.23112641274929047,
-0.2293960452079773,
-0.04928576573729515,
-0.32736870646476746,
0.0798138827085495,
-0.25606614351272583,
-0.05775132775306702,
-0.09288135915994644,
-0.04267444461584091,
-0.22935540974140167,
0.20571404695510864,
-0.3834793269634247,
-0.08768259733915329,
0.22419129312038422,
0.25648579001426697,
-0.18177932500839233,
0.4761406481266022,
-0.00010176929936278611,
-0.10695873945951462,
0.18528704345226288,
-0.04961279034614563,
-0.06319289654493332,
-0.14549686014652252,
0.03423510491847992,
-0.02219286933541298,
0.02315502054989338,
-0.2667436897754669,
0.08558512479066849,
-0.2268129140138626,
-0.0890580266714096,
-0.224554181098938,
0.0031478852033615112,
0.23766988515853882,
0.28452134132385254,
0.06262297928333282,
-0.12361538410186768,
-0.2069324553012848,
0.3743019104003906,
0.04634763300418854,
-0.16991499066352844,
0.050228722393512726,
0.3300689458847046,
0.23156476020812988,
0.15187887847423553,
0.1632608026266098,
-0.08603794872760773,
-0.14249621331691742,
0.19491305947303772,
-0.010234692133963108,
-0.07987286895513535,
0.012894725427031517,
-0.26443469524383545,
0.17419666051864624,
0.31604135036468506,
-0.2666848599910736,
-0.16208907961845398,
0.053158991038799286,
0.08714661747217178,
-0.3340837359428406,
0.12290792167186737,
-0.020892919972538948,
0.19591882824897766,
-0.0472247488796711,
-0.09284762293100357,
-0.05149812251329422,
-0.051125019788742065,
0.004449069499969482,
-0.019445709884166718,
0.5413986444473267,
0.2102159559726715,
0.0053476691246032715,
0.25874611735343933,
0.00864676758646965,
0.4784562289714813,
0.03791989013552666,
-0.08342479169368744,
0.040357355028390884,
-0.1732943058013916,
-0.27989667654037476,
0.15929435193538666,
-0.23812538385391235,
0.15685996413230896,
0.16716571152210236,
0.02079814299941063,
0.10283288359642029,
-0.05081189051270485,
0.007194947451353073,
0.2310989499092102,
0.14804671704769135,
-0.2518951892852783,
0.23391951620578766,
0.07836420834064484,
0.19697536528110504,
0.08665797114372253,
0.040681593120098114,
0.14348550140857697,
-0.27394479513168335,
-0.2941770553588867,
-0.10843021422624588,
-0.11852777749300003,
-0.12327608466148376,
-0.15548640489578247,
-0.15168626606464386,
-0.17730629444122314,
-0.20290596783161163,
0.19435438513755798,
0.22279676795005798,
0.04430420696735382,
0.019103648141026497,
0.1323082000017166,
0.012814601883292198,
-0.24570509791374207,
0.15861046314239502,
-0.3160684108734131,
0.25484877824783325,
-0.2740572392940521,
0.013095622882246971,
0.01254275068640709,
-0.09838679432868958,
0.08590368181467056,
0.2511346936225891,
0.39844679832458496,
0.11462084949016571,
0.03365848958492279,
0.006179524585604668,
0.4113219976425171,
0.2198125422000885,
0.028666000813245773,
-0.11602962017059326,
0.09905600547790527,
-0.09915013611316681,
-0.2620788514614105,
0.3876793682575226,
-0.15106242895126343,
-0.32938164472579956,
-0.04749137908220291,
0.3455663025379181,
0.1680895835161209,
0.018924443051218987,
-0.05176127701997757,
0.089509978890419,
0.03000190109014511,
-0.31103256344795227,
0.2443602979183197,
-0.24126489460468292,
0.1146468073129654,
-0.2853092551231384,
0.2528936564922333,
-0.17089040577411652,
-0.4599056541919708,
0.17242391407489777,
-0.2737533450126648,
0.021074708551168442,
0.29887500405311584,
0.3034464418888092,
-0.3508712351322174,
0.004603348672389984,
-0.2210739403963089,
0.25916826725006104,
0.42597532272338867,
0.0018631704151630402,
-0.1433974951505661,
-0.01268042717128992,
-0.0826762467622757,
-0.0750725194811821,
-0.09115158766508102,
0.30638357996940613,
0.0665675699710846,
0.02827322669327259,
0.3112335801124573,
0.1858494132757187,
-0.04855954647064209,
-0.031231451779603958,
-0.281051367521286,
-0.25629672408103943,
0.37160563468933105,
0.09448954463005066,
0.06563784927129745,
-0.17366820573806763,
-0.09543240815401077,
-0.043661050498485565,
0.42932677268981934,
-0.10740625858306885,
-0.23838552832603455,
-0.13191185891628265,
0.20105545222759247,
0.09057165682315826,
0.12724587321281433,
-0.2920418977737427,
0.10350729525089264,
-0.06367082893848419,
0.011564910411834717,
0.0812968835234642,
0.12374430149793625,
-0.3312472701072693,
-0.3002074658870697,
-0.22966215014457703,
-0.19896136224269867,
-0.339470237493515,
0.22961702942848206,
0.08927462995052338,
-0.010314181447029114,
-0.20995934307575226,
-0.3221445679664612,
-0.004649342969059944,
-0.3213738799095154,
-0.08997403830289841,
-0.48429179191589355,
0.37062451243400574,
-0.3458378314971924,
-0.08075961470603943,
-0.11881791800260544,
0.3632810115814209,
-0.04485037177801132,
-0.07553965598344803,
-0.005448075011372566,
0.5971574187278748,
0.13312768936157227,
-0.33957767486572266,
-0.0618990883231163,
-0.01310265064239502,
0.16470947861671448,
0.09271898865699768,
-0.20283347368240356,
-0.03477507829666138,
0.146877720952034,
-0.08457650989294052,
-0.20434200763702393,
0.4717729091644287,
-0.5063973069190979,
0.09598345309495926,
0.20405615866184235,
-0.22521354258060455,
0.07844199985265732,
0.1334029883146286,
-0.04682096093893051,
-0.11708156019449234,
0.03856096416711807,
0.13515605032444,
-0.08235961943864822,
0.039271533489227295,
-0.3853996694087982,
-0.005231946706771851,
0.4889306426048279,
-0.011357080191373825,
-0.023125357925891876,
-0.00360705703496933,
0.18367838859558105,
-0.15384024381637573,
-0.0016950760036706924,
0.21230195462703705,
0.4785814881324768,
0.36018311977386475,
0.053071312606334686,
0.06518837809562683,
-0.06603575497865677,
-0.2884821593761444,
0.29599085450172424,
0.09537523984909058,
-0.07466030865907669,
0.15846116840839386,
0.097335085272789,
0.016204962506890297,
-0.47498342394828796,
-0.09867744147777557,
0.028576942160725594,
0.034561626613140106,
-0.13700643181800842,
-0.07046766579151154,
-0.3321554660797119,
-0.1234450489282608,
-0.12667225301265717,
-0.14581194519996643,
-0.0209047868847847,
-0.35711774230003357,
0.14241176843643188,
0.13960616290569305,
-0.23933997750282288,
0.18586643040180206,
-0.0886949896812439,
0.272955983877182,
-0.037692174315452576,
0.05539180338382721,
-0.007588058710098267,
0.008884161710739136,
-0.027288787066936493,
0.276620477437973,
0.03131618723273277,
0.35196611285209656,
0.5055364966392517,
0.1608855128288269,
-0.12926481664180756,
-0.16271661221981049,
-0.4366925358772278,
0.03918638825416565,
-0.15805213153362274,
0.12091873586177826,
0.4256092309951782,
-0.10836008191108704,
-0.1327441930770874,
-0.5972228646278381,
0.012609528377652168,
-0.17424950003623962,
-0.17382967472076416,
-0.21554113924503326,
0.17515061795711517,
-0.017107795923948288,
-0.4269178807735443,
-0.8670888543128967,
0.013112252578139305,
-0.4963768422603607,
0.02205866575241089,
-0.017237776890397072,
0.3024213910102844,
-0.04104351997375488,
-0.08240440487861633,
0.08349374681711197,
0.07659319043159485,
-0.023571835830807686,
-0.37465205788612366,
-0.31692999601364136,
0.16286525130271912,
-0.24542635679244995,
-0.15778951346874237,
-0.21526828408241272,
-0.04623342305421829,
0.13945287466049194,
0.05524391308426857,
-0.2254173755645752,
-0.023124786093831062,
-0.16406412422657013,
0.052379097789525986,
0.034626349806785583,
0.12029394507408142,
0.5980175733566284,
0.11374609917402267,
-0.2506408989429474,
-0.03430986404418945,
-0.20745088160037994,
-0.06188183277845383,
0.2831873297691345,
0.2602663040161133,
-0.09210681170225143,
0.3416430950164795,
-0.08846361935138702,
0.566230833530426,
-0.14300301671028137,
0.05156718194484711,
0.15206798911094666,
0.00007005035877227783,
0.3912522494792938,
-0.4483696520328522,
-0.2213137298822403,
0.14049698412418365,
0.0196027010679245,
-0.17375794053077698,
0.18619772791862488,
0.00389049481600523,
-0.12207841128110886,
-0.11257918179035187,
0.17736609280109406,
-0.02364332228899002,
-0.24520143866539001,
0.08372318744659424,
0.033293746411800385,
-0.16989833116531372,
-0.020453844219446182,
0.12837699055671692,
-0.005232624709606171,
0.14062529802322388,
0.07693418860435486,
0.1493561714887619,
0.021411113440990448,
-0.18380053341388702,
-0.32776519656181335,
-0.18838641047477722,
0.023445282131433487,
0.07560642063617706,
0.28196412324905396,
0.15208183228969574,
0.12244357168674469,
-0.4309573173522949,
0.06424742192029953,
-0.12089116126298904,
0.6919553875923157,
-0.25764092803001404,
-0.4706932306289673,
0.38931578397750854,
0.20961642265319824,
-0.09945952892303467,
-0.20271071791648865,
-0.23191839456558228,
0.051858775317668915,
0.11883504688739777,
0.19991366565227509,
-0.15229001641273499,
-0.08480723202228546,
0.33269989490509033,
0.07786335796117783,
0.11639957129955292,
-0.20819102227687836,
-0.27891790866851807,
-0.3743191063404083,
-0.2378365397453308,
0.11551088839769363,
-0.11252778023481369,
0.04846041277050972,
-0.2955601215362549,
-0.1957511305809021,
0.0787738636136055,
-0.15244844555854797,
0.15574166178703308,
-0.03613904491066933,
0.3785350024700165,
-0.001467441557906568,
0.015772834420204163,
0.0636359229683876,
0.1658250391483307,
0.2293468713760376,
0.4303397536277771,
-0.2348485291004181,
0.4253072142601013,
0.14080041646957397,
-0.37809720635414124,
0.23048189282417297,
0.21514680981636047,
0.03647787868976593,
0.07185690850019455,
-0.06619732081890106,
0.004423715174198151,
-0.019273854792118073,
0.010165862739086151,
0.3633669316768646,
-0.2712399959564209,
-0.13933366537094116,
-0.6695863008499146,
0.3135329484939575,
0.13146336376667023,
-0.15061210095882416,
0.5982717871665955,
0.14257879555225372,
-0.1599004864692688,
0.3646696209907532,
0.12888014316558838,
1.1634986400604248,
0.1375475823879242,
0.23615258932113647,
0.41596153378486633,
-0.10903395712375641,
0.4708019196987152,
-0.05654577910900116,
0.40665823221206665,
-0.3219941258430481,
-0.3736254870891571,
0.04117552191019058,
-0.238239586353302,
0.03792647272348404,
-0.20985601842403412,
-0.31244900822639465,
0.061397407203912735,
-0.323005348443985,
0.12045790255069733,
-0.23095151782035828,
0.0905093103647232,
-0.08289112150669098,
-0.07985049486160278,
-0.05971948057413101,
0.16952542960643768,
0.07995615899562836,
-0.36791080236434937,
-0.10411832481622696,
-0.10871415585279465,
-0.0779048502445221,
-0.111728236079216,
-0.03265852481126785,
0.07563786208629608,
0.2535462975502014,
0.45789724588394165,
-0.09437227249145508,
0.03321956843137741,
0.14732661843299866,
-0.27033743262290955,
0.014991611242294312,
0.16898231208324432,
0.042426299303770065,
0.2154979109764099,
0.276189386844635,
0.31108635663986206,
0.1685720831155777,
-0.2000758796930313,
0.39999762177467346,
-0.08108392357826233,
-0.1797039955854416,
-0.14970499277114868,
0.06119770556688309,
-0.44303667545318604,
-0.593659520149231,
0.24433843791484833,
0.29120784997940063,
-0.4589681029319763,
-0.12511470913887024,
0.3179487884044647,
-0.1734674721956253,
-0.3275268077850342,
0.2550463080406189,
-0.07335159182548523,
-0.1795365959405899,
0.3947758972644806,
-0.014837268739938736,
-0.22501233220100403,
-0.20715460181236267,
0.2836107909679413,
0.35766109824180603,
-0.20009373128414154,
0.14466819167137146,
0.16646438837051392,
-0.23960277438163757,
-0.26524004340171814,
-0.07274459302425385,
0.3732430934906006,
-0.06640499085187912,
0.25373032689094543,
-0.324339896440506,
-0.12555700540542603,
0.31478551030158997,
0.16155274212360382,
0.17933116853237152,
0.2289625108242035,
-0.3595472276210785,
0.12448032200336456,
-0.20838618278503418,
0.15292909741401672,
0.19159568846225739,
0.5458647012710571,
-0.06878922134637833,
0.3769920766353607,
-0.18571557104587555,
0.06218302994966507,
-0.43819230794906616,
-0.021942749619483948,
-0.23123443126678467,
0.24660424888134003,
-0.29742246866226196,
-0.004814580082893372,
-0.16195951402187347,
-0.11156880855560303,
0.20610031485557556,
0.136145681142807,
-0.3083947002887726,
-0.30306243896484375,
0.05832670256495476,
0.06343286484479904,
0.01116311363875866,
0.0969238355755806,
0.10413148999214172,
-0.1902088224887848,
-0.2704530656337738,
0.08725004643201828,
0.0987577885389328,
-0.04605068638920784,
0.05645468086004257,
0.09476276487112045,
0.46874096989631653,
-0.12697383761405945,
0.06510733813047409,
-0.025392327457666397,
-0.04218856990337372,
0.08088425546884537,
-0.028336558490991592,
0.018188534304499626,
-0.2657491862773895,
-0.19638469815254211,
0.013672315515577793,
0.12542006373405457,
0.19323566555976868,
0.22994598746299744,
0.18942907452583313,
-0.11446309089660645,
-0.16707630455493927,
0.12578004598617554,
0.5071673393249512,
0.4482485055923462,
-0.02171744406223297,
-0.34160226583480835,
-0.11016727238893509,
0.3401518166065216,
-0.34675267338752747,
-0.15105293691158295,
-0.13785606622695923,
0.2353522777557373,
0.02527705952525139,
0.030926406383514404,
-0.05692364275455475,
0.009144790470600128,
-0.24675749242305756,
0.22674766182899475,
0.11824844777584076,
-0.4403178095817566,
0.44301193952560425,
0.3460748493671417,
-0.26440176367759705,
-0.2648831903934479,
0.22824737429618835,
-0.12496873736381531,
0.07859083265066147,
0.5081198811531067,
0.04562109708786011,
0.5559963583946228,
0.4338705837726593,
-0.06747634708881378,
0.12184934318065643,
0.09219306707382202,
0.2271052449941635,
0.5407103300094604,
0.13555316627025604,
0.024817150086164474,
0.49991580843925476,
0.16531699895858765,
-0.17587266862392426,
-0.15706339478492737,
0.0528993234038353,
0.01980293169617653,
-0.3025663495063782,
0.16988375782966614,
-0.16869336366653442,
-0.2944593131542206,
-0.2759420573711395,
-0.09806657582521439,
0.00840461254119873,
0.19966165721416473,
0.4214385151863098,
0.03640468791127205,
0.02833833545446396,
-0.42347151041030884,
0.17407843470573425,
-0.13089340925216675,
0.35715776681900024,
-0.24659019708633423,
-0.04940347373485565,
0.53011554479599,
-0.30413052439689636,
0.1712196320295334,
0.13343916833400726,
0.2313196212053299,
0.4078540802001953,
-0.03558557108044624,
-0.0898062065243721,
-0.13811324536800385,
-0.021317848935723305,
0.07125560939311981,
-0.019919797778129578,
0.13811059296131134,
-0.14243367314338684,
0.3238968849182129,
0.29303768277168274,
-0.20424841344356537,
0.1976885348558426,
0.1148577332496643,
0.2565411925315857,
-0.32604190707206726,
0.5843573808670044,
0.2781681716442108,
-0.1381303369998932,
0.189566969871521,
0.08672976493835449,
-0.4775391221046448,
-0.0638597384095192,
0.13713347911834717,
0.027132688090205193,
0.08515049517154694,
-0.16614249348640442,
0.15453945100307465,
0.25639116764068604,
0.3428122401237488,
0.23642300069332123,
-0.08480270951986313,
-0.12874114513397217,
-0.18452920019626617,
-0.5136436820030212,
0.09011467546224594,
0.1127951443195343,
0.1656360775232315,
0.152084082365036,
0.3976344168186188,
0.03982618451118469,
-0.12686356902122498,
0.08533717691898346,
-0.2456350177526474,
0.03659824654459953,
-0.1188526302576065,
-0.35942578315734863,
0.0885324701666832,
0.024961352348327637,
-0.2247178703546524,
-0.008309982717037201,
-0.2684672176837921,
0.039873234927654266,
-0.16201956570148468,
0.1866808533668518,
-0.07012253999710083,
-0.018572058528661728,
0.3370060324668884,
0.33281925320625305,
0.022771749645471573,
0.15425315499305725,
0.10932896286249161,
-0.14266929030418396,
0.04259853810071945,
-0.0022256039083003998,
-0.15469710528850555,
-0.26082709431648254,
0.2494291067123413,
0.0815296620130539,
0.17608550190925598,
-0.05507596582174301,
-0.24052701890468597,
-0.293661504983902,
0.3002997040748596,
-0.09533056616783142,
0.13428519666194916,
-0.5423745512962341,
-0.13300593197345734,
0.0843106135725975,
0.01586187072098255,
-0.13684861361980438,
0.30565550923347473,
-0.03622647374868393,
0.14736098051071167,
-0.21732959151268005,
-0.5610622763633728,
0.5829596519470215,
0.023074813187122345,
-0.24903012812137604,
-0.23706147074699402,
0.16095459461212158,
0.20683827996253967,
0.12905092537403107,
-0.3942564129829407,
-0.22239086031913757,
0.25844109058380127,
-0.01962144300341606,
-0.037115130573511124,
0.3295559585094452,
0.011366923339664936,
0.10381579399108887,
-0.19390656054019928,
-0.05426791310310364,
0.1462274044752121,
-0.29080930352211,
0.08768314123153687,
-0.4795494079589844
] |
https://github.com/huggingface/datasets/pull/266 | Add sort, shuffle, test_train_split and select methods | > Might be a solution to put 0.25 and 0.75 as default values for respectively `test_size` and `train_size`. WDYT?
According to sklearn documentation, it is indeed set to 0.25 and 0.75 if both `test_size` and `train_size` are None.
Let me add it. | Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259 | 42 | text: Add sort, shuffle, test_train_split and select methods
Add a bunch of methods to reorder/split/select rows in a dataset:
- `dataset.select(indices)`: Create a new dataset with rows selected following the list/array of indices (which can have a different size than the dataset and contain duplicated indices, the only constrain is that all the integers in the list must be smaller than the dataset size, otherwise we're indexing outside the dataset...)
- `dataset.sort(column_name)`: sort a dataset according to a column (has to be a column with a numpy compatible type)
- `dataset.shuffle(seed)`: shuffle a dataset rows
- `dataset.train_test_split(test_size, train_size)`: Return a dictionary with two random train and test subsets (`train` and `test` ``Dataset`` splits)
All these methods are **not** in-place which means they return new ``Dataset``.
This is the default behavior in the library.
Fix #147 #166 #259
> Might be a solution to put 0.25 and 0.75 as default values for respectively `test_size` and `train_size`. WDYT?
According to sklearn documentation, it is indeed set to 0.25 and 0.75 if both `test_size` and `train_size` are None.
Let me add it. | [
0.07763521373271942,
-0.2112138718366623,
-0.06565149128437042,
0.05099842697381973,
0.2214670032262802,
0.040295615792274475,
0.10831141471862793,
0.2491549402475357,
0.14540939033031464,
0.30449849367141724,
-0.09434269368648529,
0.573742151260376,
-0.042068783193826675,
0.0825897678732872,
0.06726770102977753,
-0.12478658556938171,
-0.03984346240758896,
0.10312388092279434,
-0.31260862946510315,
-0.1453605592250824,
-0.34182101488113403,
-0.004090536385774612,
-0.3767359256744385,
-0.08472073078155518,
-0.3205454647541046,
-0.14515487849712372,
-0.15057320892810822,
0.12784385681152344,
-0.29870185256004333,
-0.18886339664459229,
0.25586751103401184,
0.20068012177944183,
-0.17305591702461243,
0.45951083302497864,
-0.00011085341247962788,
-0.2791100740432739,
0.2608131766319275,
-0.20297209918498993,
-0.31034791469573975,
-0.17067746818065643,
-0.13508480787277222,
-0.1195657029747963,
0.16094456613063812,
-0.406711608171463,
-0.008330162614583969,
0.1367899626493454,
-0.09511527419090271,
-0.377290278673172,
0.10064531117677689,
0.3876577913761139,
0.22319455444812775,
-0.13585785031318665,
-0.001572396606206894,
-0.10802271962165833,
0.5014874339103699,
0.077952079474926,
-0.32431745529174805,
0.38522592186927795,
-0.03194562345743179,
0.2810627222061157,
-0.06432615965604782,
0.03151700645685196,
0.09113231301307678,
-0.01971970498561859,
0.34874269366264343,
0.19642947614192963,
-0.02292214334011078,
-0.26440203189849854,
-0.21364566683769226,
0.33580419421195984,
0.3767024278640747,
-0.44153112173080444,
-0.22437594830989838,
-0.11599212139844894,
0.24032582342624664,
-0.2999487519264221,
0.034026093780994415,
0.2844347655773163,
0.11803175508975983,
-0.10259515047073364,
-0.3378135561943054,
-0.11305602639913559,
-0.10640400648117065,
0.05682479590177536,
-0.004308108240365982,
0.5613492727279663,
0.09303312003612518,
0.16504855453968048,
0.33284810185432434,
0.04813747853040695,
0.4176979064941406,
0.12422705441713333,
-0.02871459349989891,
0.2218807190656662,
-0.3531262278556824,
-0.27757853269577026,
0.055398739874362946,
-0.1877802312374115,
0.09157418459653854,
0.29841214418411255,
0.01049695536494255,
0.05076320469379425,
0.10167385637760162,
0.041845958679914474,
0.1840628832578659,
0.35580703616142273,
0.023062970489263535,
0.31017228960990906,
0.11554617434740067,
0.24721522629261017,
0.07922108471393585,
-0.028300397098064423,
0.1259600967168808,
-0.3859812319278717,
-0.11960993707180023,
-0.0969451367855072,
-0.02781515009701252,
-0.030554266646504402,
-0.037820566445589066,
0.13165967166423798,
-0.321907639503479,
-0.1972164511680603,
0.006677843164652586,
0.17976000905036926,
0.0024320590309798717,
0.06223811209201813,
0.08147518336772919,
0.018244516104459763,
-0.28290465474128723,
0.10296956449747086,
-0.305619478225708,
0.3816777169704437,
-0.41998091340065,
0.10168465226888657,
0.17709702253341675,
-0.185489684343338,
0.28963249921798706,
0.33918681740760803,
0.4055206775665283,
-0.04470861703157425,
0.2042338252067566,
-0.12847775220870972,
0.19921882450580597,
0.22532811760902405,
-0.12336361408233643,
0.055582642555236816,
0.019867707043886185,
0.13730134069919586,
-0.28730443120002747,
0.3612276613712311,
-0.43052199482917786,
-0.24489882588386536,
0.20666037499904633,
0.2687584459781647,
-0.06397213786840439,
0.15120995044708252,
-0.08494188636541367,
0.14030805230140686,
0.024056702852249146,
-0.0744522362947464,
0.33220213651657104,
-0.4808945655822754,
0.057917606085538864,
-0.3563995361328125,
0.4964959919452667,
-0.09852109849452972,
-0.35748228430747986,
0.1337164044380188,
-0.031735748052597046,
-0.07045841217041016,
0.222679004073143,
0.1858006715774536,
-0.3344072103500366,
0.14281195402145386,
-0.19725356996059418,
0.17236720025539398,
0.18760132789611816,
-0.0277144405990839,
-0.18371501564979553,
-0.2047368735074997,
-0.09849557280540466,
-0.1343255639076233,
-0.10892883688211441,
0.12758348882198334,
0.03327903524041176,
0.14005069434642792,
0.05706518143415451,
0.3439686894416809,
-0.07570479065179825,
-0.18400491774082184,
-0.3667033612728119,
-0.3851751387119293,
0.3255665898323059,
0.13559535145759583,
0.20018993318080902,
-0.04421619325876236,
0.16979622840881348,
0.311400830745697,
0.08688663691282272,
-0.16693970561027527,
-0.10133371502161026,
-0.020671851933002472,
0.22849661111831665,
0.008408043533563614,
0.026270879432559013,
-0.24185454845428467,
-0.15003883838653564,
0.0691835805773735,
-0.0026917997747659683,
0.07094846665859222,
0.16183984279632568,
-0.20902368426322937,
-0.419648677110672,
-0.1918160319328308,
-0.036313895136117935,
-0.38175085186958313,
0.21897035837173462,
-0.001399025321006775,
0.1145867258310318,
0.03299248591065407,
-0.09937195479869843,
-0.2090194970369339,
-0.2950752079486847,
-0.09833861887454987,
-0.23310509324073792,
0.3713319003582001,
-0.20849938690662384,
-0.12404398620128632,
-0.24041353166103363,
0.3569883108139038,
0.04599904641509056,
-0.053561195731163025,
-0.06401363015174866,
0.6969189047813416,
0.3016861081123352,
-0.37798386812210083,
0.07571740448474884,
-0.16310034692287445,
0.06661909818649292,
-0.02617695927619934,
-0.09482721239328384,
0.029966844245791435,
0.04704032838344574,
-0.12668511271476746,
-0.32442706823349,
0.6062213182449341,
-0.6201721429824829,
0.0460779070854187,
0.1493290513753891,
-0.1634271889925003,
-0.062333837151527405,
0.005945440381765366,
-0.05966000258922577,
-0.0942140445113182,
-0.17092272639274597,
-0.02179136872291565,
-0.03984957933425903,
0.05229238420724869,
-0.3576791286468506,
-0.15823858976364136,
0.40958693623542786,
-0.09009405970573425,
-0.002149544656276703,
-0.05930610001087189,
0.12215298414230347,
-0.18203195929527283,
-0.005975896492600441,
0.24668706953525543,
0.3670361042022705,
0.25687846541404724,
0.04739448055624962,
0.029509976506233215,
-0.24139103293418884,
-0.2949480414390564,
0.057104483246803284,
0.04075302556157112,
0.08127245306968689,
0.16548758745193481,
0.12312190234661102,
-0.09756000339984894,
-0.3047122657299042,
-0.13470248878002167,
0.19320683181285858,
0.19606484472751617,
-0.1360064595937729,
-0.14234434068202972,
-0.2557952404022217,
0.10608983784914017,
-0.3101491928100586,
0.17388008534908295,
0.0408141054213047,
-0.34629586338996887,
0.0484936386346817,
0.05953406170010567,
-0.29709380865097046,
0.11320042610168457,
-0.30933478474617004,
0.3924914598464966,
-0.061865806579589844,
0.0606582909822464,
0.09235766530036926,
-0.14377948641777039,
-0.23774930834770203,
0.16015101969242096,
-0.14505082368850708,
0.336635947227478,
0.47974854707717896,
0.1964624971151352,
-0.08337325602769852,
-0.16337800025939941,
-0.33340221643447876,
-0.09393122792243958,
0.024326249957084656,
0.32208317518234253,
0.2922614812850952,
0.0626232773065567,
-0.4453725218772888,
-0.5481706857681274,
0.1679469496011734,
-0.196522518992424,
-0.05426022410392761,
-0.05481079965829849,
0.20601928234100342,
0.14555810391902924,
-0.46612557768821716,
-0.7763761878013611,
-0.04170268028974533,
-0.3251655697822571,
-0.07079201936721802,
0.12896358966827393,
0.010354012250900269,
0.024327579885721207,
0.14688290655612946,
0.17962601780891418,
-0.08119188994169235,
0.11594798415899277,
-0.29857805371284485,
-0.20059454441070557,
0.43125465512275696,
-0.20347292721271515,
-0.20279178023338318,
-0.03150230646133423,
-0.12490539997816086,
-0.05657854303717613,
0.20560793578624725,
-0.33983778953552246,
-0.1664603352546692,
-0.23199449479579926,
0.09711329638957977,
-0.10244616866111755,
0.2376338541507721,
0.4422474801540375,
0.10921736806631088,
-0.052934177219867706,
-0.1393795609474182,
-0.2782997488975525,
0.24758973717689514,
0.2282576858997345,
0.2136419415473938,
-0.16288471221923828,
0.3902418613433838,
-0.0018302053213119507,
0.9678801894187927,
-0.047458477318286896,
0.1432328075170517,
-0.10852530598640442,
0.024037808179855347,
0.3617922067642212,
-0.3345813453197479,
-0.006193563342094421,
0.5137688517570496,
0.2254408299922943,
-0.16457007825374603,
0.24254070222377777,
-0.029864434152841568,
-0.12467429786920547,
-0.050738438963890076,
0.12881703674793243,
-0.017318176105618477,
-0.32233551144599915,
0.16280008852481842,
-0.17287801206111908,
0.0083107128739357,
-0.26737892627716064,
0.2599911391735077,
0.04407474398612976,
-0.016596276313066483,
-0.08864821493625641,
-0.11810868978500366,
0.035733066499233246,
0.06613516062498093,
-0.5632465481758118,
-0.3602847158908844,
0.056690607219934464,
-0.06853830814361572,
0.07752064615488052,
0.3680315315723419,
0.17767581343650818,
-0.2388918697834015,
0.28777235746383667,
0.042273715138435364,
0.3260377049446106,
-0.17455941438674927,
-0.30107223987579346,
0.24977949261665344,
-0.021673308685421944,
-0.24427127838134766,
-0.38959306478500366,
-0.4052801728248596,
-0.12658587098121643,
0.0790562778711319,
-0.12509070336818695,
-0.511902391910553,
0.01628270372748375,
0.3788664937019348,
0.08162692189216614,
0.04759591445326805,
-0.004976904951035976,
-0.1046258807182312,
-0.3106693923473358,
-0.03042706660926342,
0.21130231022834778,
-0.19213654100894928,
0.07070249319076538,
-0.4102190136909485,
0.1013941764831543,
0.022890634834766388,
-0.05480240285396576,
0.1461350917816162,
0.07156671583652496,
0.5006852746009827,
0.15279747545719147,
0.07812604308128357,
0.17469799518585205,
0.18681180477142334,
0.28162238001823425,
0.40337568521499634,
-0.1659037172794342,
0.25945034623146057,
0.14542937278747559,
-0.22873929142951965,
0.19578954577445984,
0.304188072681427,
-0.03320027515292168,
0.08207040280103683,
-0.1898522675037384,
0.24161678552627563,
-0.0021628662943840027,
0.2806299328804016,
0.37117138504981995,
-0.35621556639671326,
-0.1972036212682724,
-0.642444372177124,
0.3663630783557892,
-0.016676023602485657,
0.0050406306982040405,
0.23640741407871246,
0.16243205964565277,
-0.2998120188713074,
0.24420277774333954,
0.42748621106147766,
1.1291857957839966,
0.2441118061542511,
0.11859090626239777,
0.35265854001045227,
-0.2569572925567627,
0.614526629447937,
-0.15778368711471558,
0.31923794746398926,
-0.3234710395336151,
-0.1970009207725525,
0.0882275253534317,
-0.27663081884384155,
0.015978585928678513,
-0.06710346788167953,
-0.27632227540016174,
0.09080423414707184,
-0.20800043642520905,
0.2019466608762741,
-0.19687211513519287,
0.31091561913490295,
-0.021752720698714256,
-0.04666883125901222,
0.3381459712982178,
0.11415933072566986,
-0.031967341899871826,
-0.236371248960495,
0.00893360748887062,
-0.024605385959148407,
-0.19686633348464966,
0.03661167621612549,
-0.04193253815174103,
-0.03574558347463608,
-0.03670112043619156,
0.42202621698379517,
-0.05918436124920845,
-0.18865543603897095,
0.21760514378547668,
-0.1600603461265564,
0.02807309478521347,
0.45884349942207336,
-0.23748263716697693,
0.2560521364212036,
0.20378664135932922,
0.2797631323337555,
0.3822111189365387,
0.006154889240860939,
0.2862396538257599,
0.0011030994355678558,
-0.34192222356796265,
-0.004634059965610504,
-0.07936695963144302,
-0.22275911271572113,
-0.6351173520088196,
0.13173671066761017,
-0.14307095110416412,
-0.3882526159286499,
-0.30951014161109924,
0.08466479927301407,
-0.05029303953051567,
-0.21177040040493011,
0.20655305683612823,
0.01468028873205185,
0.04844890534877777,
0.3035053610801697,
0.02659291960299015,
-0.25659725069999695,
-0.2220114916563034,
0.2835800349712372,
0.2656235098838806,
-0.1212036982178688,
0.30856257677078247,
-0.11198067665100098,
-0.22369886934757233,
-0.1455192118883133,
-0.00969482958316803,
0.21749253571033478,
-0.10523069649934769,
0.19068752229213715,
-0.16684509813785553,
-0.09472617506980896,
0.2794031500816345,
0.30830010771751404,
0.3847392201423645,
0.205047607421875,
-0.19084373116493225,
-0.08919906616210938,
0.013762563467025757,
0.2617218792438507,
0.2365720272064209,
0.5486574172973633,
-0.11831698566675186,
0.39589962363243103,
-0.07645990699529648,
0.19319719076156616,
-0.388073205947876,
-0.07850093394517899,
-0.18424558639526367,
0.264496773481369,
-0.055080950260162354,
0.12571509182453156,
-0.37920331954956055,
-0.07405988872051239,
0.08625562489032745,
-0.05137353390455246,
-0.2806667387485504,
-0.1988188922405243,
-0.10167965292930603,
0.09699460119009018,
0.06191839650273323,
0.018107790499925613,
-0.0165499746799469,
-0.40158963203430176,
-0.2820638418197632,
-0.26253440976142883,
-0.07364243268966675,
0.14520639181137085,
-0.003377966582775116,
0.397189736366272,
0.38123881816864014,
0.13148438930511475,
0.19357241690158844,
0.006530445069074631,
-0.042499005794525146,
-0.20041562616825104,
0.1231582909822464,
0.1963484138250351,
0.1047942265868187,
-0.03162035346031189,
-0.09452702850103378,
0.015927959233522415,
-0.12250581383705139,
0.18553674221038818,
0.0929398238658905,
-0.10418395698070526,
-0.05227380990982056,
0.11593670397996902,
0.4849385917186737,
0.5701631307601929,
-0.03819352388381958,
-0.3187159299850464,
0.10322339087724686,
0.2861003279685974,
-0.2578175961971283,
-0.0801064595580101,
0.11168809235095978,
0.23871870338916779,
0.03473636880517006,
0.08419021964073181,
-0.07985293120145798,
-0.019911326467990875,
-0.18595273792743683,
0.21583738923072815,
0.007308263331651688,
-0.47244226932525635,
0.5485454797744751,
0.5131604075431824,
-0.22226397693157196,
-0.21540968120098114,
0.34397175908088684,
-0.24398615956306458,
0.12906205654144287,
0.48710739612579346,
0.2807464897632599,
0.5133808851242065,
0.22228872776031494,
0.11577191948890686,
0.09102705866098404,
0.01626649871468544,
0.07729130238294601,
0.3786352276802063,
-0.01719166338443756,
-0.044774703681468964,
0.19343586266040802,
0.33115115761756897,
-0.19785842299461365,
-0.2942597568035126,
-0.12491977214813232,
-0.11206096410751343,
-0.3803752064704895,
-0.01114541944116354,
-0.07777860760688782,
-0.4740385115146637,
0.014268040657043457,
0.005341440439224243,
0.056700900197029114,
0.04731513559818268,
0.38092032074928284,
-0.009159140288829803,
-0.22420038282871246,
-0.39803817868232727,
0.3266334533691406,
0.15952184796333313,
0.4054878056049347,
-0.20164775848388672,
-0.043082207441329956,
0.2890523672103882,
-0.3764404058456421,
0.18104608356952667,
0.13239581882953644,
-0.029571492224931717,
0.5792557597160339,
-0.06771937012672424,
-0.21728554368019104,
0.2520025670528412,
-0.060990527272224426,
0.05293756723403931,
0.036955226212739944,
0.4249291718006134,
-0.26602378487586975,
0.39462292194366455,
0.250922292470932,
-0.2628408968448639,
0.17288838326931,
0.021366935223340988,
0.09861761331558228,
-0.44745129346847534,
0.30617856979370117,
0.30134326219558716,
-0.10373973846435547,
0.388643741607666,
-0.08517401665449142,
-0.35920366644859314,
-0.06849115341901779,
-0.14142253994941711,
0.17404669523239136,
0.012522958219051361,
-0.2963615655899048,
0.08998139202594757,
0.2936287224292755,
0.3879280686378479,
0.0396883487701416,
-0.19191786646842957,
-0.18272358179092407,
-0.12980754673480988,
-0.5403168201446533,
-0.0020316988229751587,
-0.03678824380040169,
-0.20019562542438507,
0.08758284151554108,
0.35262858867645264,
0.013245917856693268,
-0.12717492878437042,
0.030902199447155,
0.02533753775060177,
0.14983485639095306,
-0.018003784120082855,
-0.29739028215408325,
-0.06942546367645264,
-0.3314208388328552,
-0.24748337268829346,
-0.09142495691776276,
-0.19621241092681885,
0.11518463492393494,
-0.03842334821820259,
0.04448728263378143,
0.014722852036356926,
0.1190592497587204,
0.4404411315917969,
0.4353087842464447,
0.0015562549233436584,
0.11790081113576889,
0.3797873556613922,
-0.029891574755311012,
0.3744374215602875,
-0.26074162125587463,
-0.19692321121692657,
-0.14270758628845215,
0.06178703159093857,
-0.03344843164086342,
0.46188247203826904,
0.0012757061049342155,
-0.3308463990688324,
-0.3182951509952545,
0.37700146436691284,
-0.006893329322338104,
0.06407911330461502,
-0.2506696283817291,
-0.08282899856567383,
0.02766309678554535,
-0.059868041425943375,
0.0982210636138916,
0.19433405995368958,
-0.1268184781074524,
-0.005453958176076412,
-0.007597632706165314,
-0.4548055827617645,
0.3649207353591919,
-0.15423807501792908,
-0.2464587390422821,
-0.2982253432273865,
0.2557241916656494,
0.10797660052776337,
0.01887884922325611,
-0.2802838087081909,
-0.11292620003223419,
0.2239789515733719,
0.12398141622543335,
-0.11689271032810211,
0.4048169255256653,
-0.018389010801911354,
0.008924674242734909,
-0.07241491973400116,
0.26362186670303345,
0.04806981980800629,
-0.20500899851322174,
-0.12059372663497925,
-0.390336275100708
] |
https://github.com/huggingface/datasets/pull/262 | Add new dataset ANLI Round 1 | Hello ! Thanks for adding this one :)
This looks great, you just have to do the last steps to make the CI pass.
I can see that two things are missing:
1. the dummy data that is used to test that the script is working as expected
2. the json file with all the infos about the dataset
You can see the steps to help you create the dummy data and generate the dataset_infos.json file right [here](https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md#how-to-add-a-dataset) | Adding new dataset [ANLI](https://github.com/facebookresearch/anli/).
I'm not familiar with how to add new dataset. Let me know if there is any issue. I only include round 1 data here. There will be round 2, round 3 and more in the future with potentially different format. I think it will be better to separate them. | 78 | text: Add new dataset ANLI Round 1
Adding new dataset [ANLI](https://github.com/facebookresearch/anli/).
I'm not familiar with how to add new dataset. Let me know if there is any issue. I only include round 1 data here. There will be round 2, round 3 and more in the future with potentially different format. I think it will be better to separate them.
Hello ! Thanks for adding this one :)
This looks great, you just have to do the last steps to make the CI pass.
I can see that two things are missing:
1. the dummy data that is used to test that the script is working as expected
2. the json file with all the infos about the dataset
You can see the steps to help you create the dummy data and generate the dataset_infos.json file right [here](https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md#how-to-add-a-dataset) | [
-0.08087846636772156,
0.03126102685928345,
-0.1433071494102478,
-0.31014394760131836,
-0.20122015476226807,
-0.1467234343290329,
0.1422383040189743,
0.1239028126001358,
0.13283537328243256,
0.07073736190795898,
0.3260563611984253,
-0.019869375973939896,
0.02059289626777172,
0.8243549466133118,
0.009794079698622227,
0.03191625699400902,
0.004447504878044128,
0.02707996964454651,
0.15279053151607513,
-0.161609947681427,
-0.13393615186214447,
0.26872676610946655,
-0.1387268453836441,
-0.1963740438222885,
-0.06720368564128876,
-0.039537571370601654,
-0.311262845993042,
0.17722786962985992,
-0.38975855708122253,
-0.19110091030597687,
0.11600078642368317,
0.3111169636249542,
-0.04663902893662453,
0.6433628797531128,
-0.00011164612806169316,
-0.2344517856836319,
0.3136492371559143,
-0.3379749357700348,
-0.23935239017009735,
-0.3731544017791748,
0.11437997967004776,
-0.16598758101463318,
-0.019051015377044678,
-0.17601105570793152,
-0.3704685866832733,
0.023271024227142334,
0.014091281220316887,
-0.21435755491256714,
0.295713871717453,
0.4251915514469147,
0.21919353306293488,
-0.05410974472761154,
-0.019721299409866333,
-0.06835903972387314,
0.17054708302021027,
0.5775758624076843,
-0.2062440663576126,
-0.08579021692276001,
0.3319147229194641,
-0.08755145967006683,
0.11710670590400696,
0.17152519524097443,
0.2698206603527069,
-0.28829246759414673,
0.2095060646533966,
-0.040680620819330215,
-0.053450100123882294,
-0.42546796798706055,
0.10976240038871765,
-0.19510412216186523,
0.406960129737854,
-0.0523737296462059,
-0.2261279970407486,
0.17014846205711365,
0.025928467512130737,
-0.003418615087866783,
0.030899498611688614,
-0.0017910171300172806,
-0.31378769874572754,
-0.07837317883968353,
-0.32875826954841614,
-0.17807097733020782,
-0.21248307824134827,
0.28274083137512207,
0.437186062335968,
0.21705389022827148,
-0.12184230983257294,
0.19593796133995056,
-0.019058745354413986,
0.010291539132595062,
-0.11119244992733002,
-0.13303598761558533,
0.05544821545481682,
0.30897632241249084,
0.20871901512145996,
-0.40242820978164673,
0.3104792535305023,
0.43792280554771423,
0.3384435176849365,
0.38987600803375244,
-0.17130006849765778,
-0.04945140331983566,
-0.23846782743930817,
0.10364460200071335,
0.14325731992721558,
0.15072551369667053,
0.43673697113990784,
0.11970677226781845,
0.1331249326467514,
0.10536756366491318,
0.042718928307294846,
0.06611029803752899,
0.15925288200378418,
0.12878018617630005,
-0.2994784116744995,
0.039693303406238556,
0.28911739587783813,
-0.30047300457954407,
-0.1342153549194336,
0.03517033904790878,
0.0285957008600235,
-0.362517774105072,
-0.09174872189760208,
0.5918450355529785,
-0.03144508972764015,
-0.1739962100982666,
0.0866767168045044,
0.32878172397613525,
-0.11961203813552856,
-0.2925739586353302,
-0.10261137038469315,
0.13284064829349518,
-0.12856929004192352,
-0.08289753645658493,
0.32025209069252014,
0.07654532790184021,
0.4095044434070587,
-0.248927041888237,
0.08492293953895569,
-0.06494973599910736,
0.2538634240627289,
0.14764146506786346,
0.4703448712825775,
0.10415724664926529,
0.3408549129962921,
-0.03538716211915016,
0.1836869716644287,
-0.32554131746292114,
-0.06032400578260422,
0.131495863199234,
-0.06330890208482742,
0.07611288130283356,
-0.3184046745300293,
0.21131223440170288,
-0.17142543196678162,
-0.20431433618068695,
-0.07467170804738998,
0.32860007882118225,
-0.05308590084314346,
-0.26457667350769043,
0.03931846469640732,
0.2455432415008545,
-0.12169750034809113,
-0.15729723870754242,
0.20778965950012207,
0.5817012786865234,
-0.11485765874385834,
-0.17278210818767548,
-0.22293810546398163,
-0.14050808548927307,
-0.062198467552661896,
-0.03274274244904518,
-0.07532181590795517,
0.2579249441623688,
-0.18690089881420135,
0.03683195263147354,
0.5346450805664062,
-0.3255966007709503,
-0.00897333212196827,
0.4023057222366333,
-0.1371995210647583,
-0.020124752074480057,
-0.07432424277067184,
0.14802154898643494,
0.08475633710622787,
-0.2502666115760803,
-0.13264787197113037,
0.21816539764404297,
-0.3527985215187073,
-0.035250578075647354,
-0.1736910045146942,
-0.05804099142551422,
0.18744799494743347,
0.16045518219470978,
-0.13634945452213287,
0.22434920072555542,
0.24625477194786072,
-0.48189133405685425,
0.21713057160377502,
-0.08484961092472076,
0.10889194905757904,
0.2976715564727783,
0.5070635676383972,
-0.17850534617900848,
0.13218198716640472,
0.10300225764513016,
-0.3687504231929779,
-0.08269250392913818,
-0.16770069301128387,
0.20370252430438995,
0.12565645575523376,
-0.318358838558197,
-0.46626079082489014,
0.02408878691494465,
-0.12967979907989502,
-0.1616688072681427,
0.10826617479324341,
0.28779345750808716,
0.09518308937549591,
-0.2249656319618225,
-0.23392419517040253,
-0.02553658001124859,
-0.05614307522773743,
-0.1202385425567627,
-0.219030499458313,
0.15920427441596985,
-0.4590243995189667,
-0.07382211834192276,
0.227472186088562,
0.11625627428293228,
0.3172869086265564,
-0.27261829376220703,
-0.016668833792209625,
0.27562645077705383,
-0.15984641015529633,
-0.04706992208957672,
0.4871624708175659,
0.11496078222990036,
-0.04162272810935974,
-0.2547362446784973,
0.08026915788650513,
0.0476127490401268,
-0.05158313736319542,
-0.18501397967338562,
-0.2989577353000641,
0.39349454641342163,
-0.08443711698055267,
0.041800595819950104,
-0.0325898602604866,
-0.06518104672431946,
0.38989895582199097,
-0.21037495136260986,
-0.34573593735694885,
-0.1674535572528839,
0.2976096570491791,
-0.09442581236362457,
-0.06784127652645111,
-0.25687122344970703,
-0.03633592277765274,
0.43308112025260925,
0.46036675572395325,
-0.058982964605093,
-0.07305198162794113,
0.1739991009235382,
0.18493926525115967,
-0.06603389978408813,
0.020343592390418053,
0.02960304543375969,
0.43114036321640015,
0.21081885695457458,
-0.11953018605709076,
0.03728417307138443,
0.16197162866592407,
-0.11079282313585281,
0.09044833481311798,
-0.07825817167758942,
-0.1392194777727127,
0.07585812360048294,
0.07185982912778854,
0.21054749190807343,
-0.09142154455184937,
-0.2883814573287964,
-0.036531202495098114,
0.16247715055942535,
-0.2539939880371094,
0.045134395360946655,
0.3018743693828583,
-0.3078163266181946,
0.21114815771579742,
-0.1591087430715561,
-0.02713785693049431,
-0.31336909532546997,
0.1098872497677803,
0.037631988525390625,
-0.10365748405456543,
0.29893243312835693,
-0.03137819468975067,
0.5511507391929626,
-0.14637243747711182,
-0.115485779941082,
-0.15592093765735626,
-0.06589114665985107,
-0.2790062725543976,
0.13827593624591827,
0.1439943164587021,
0.11064650863409042,
0.4225018322467804,
-0.2701539099216461,
0.19138555228710175,
-0.29251083731651306,
-0.6620835065841675,
0.19386442005634308,
-0.19882425665855408,
0.4210444688796997,
-0.010775789618492126,
0.3171997368335724,
-0.07285943627357483,
-0.11503419280052185,
0.23249803483486176,
-0.42141449451446533,
-0.4786565899848938,
-0.10792101919651031,
-0.0946400985121727,
-0.3618106245994568,
-0.3557744324207306,
-0.3655320405960083,
-0.27154332399368286,
-0.1487845629453659,
0.08283153176307678,
0.4079144299030304,
0.13984845578670502,
0.13800440728664398,
0.06843212246894836,
-0.09879601746797562,
-0.10813115537166595,
-0.08529620617628098,
-0.387214332818985,
-0.36771613359451294,
0.23163752257823944,
-0.4435073137283325,
-0.39739879965782166,
0.4529774487018585,
0.04194650053977966,
0.1420627385377884,
-0.3116331696510315,
-0.3440518379211426,
-0.5341683030128479,
0.15744836628437042,
0.03703739121556282,
-0.07449838519096375,
0.1029818058013916,
0.4404434859752655,
-0.1038435697555542,
-0.1131579652428627,
-0.24008119106292725,
-0.4008970260620117,
0.051823005080223083,
-0.05673453211784363,
0.37901341915130615,
-0.29176780581474304,
0.4987691044807434,
0.04916558042168617,
0.5091306567192078,
0.512074887752533,
-0.07714055478572845,
0.20093674957752228,
-0.1326669603586197,
0.3942466676235199,
0.04044189304113388,
-0.3403177857398987,
0.2788279354572296,
0.11484343558549881,
-0.11874544620513916,
0.30715617537498474,
-0.13614419102668762,
-0.18386541306972504,
-0.1455327570438385,
-0.04070135951042175,
-0.3634038269519806,
-0.07910709828138351,
0.24359260499477386,
-0.09059907495975494,
0.18429096043109894,
0.02867884188890457,
-0.023588359355926514,
-0.3875041902065277,
-0.17355090379714966,
-0.14127741754055023,
0.2643877863883972,
0.25779464840888977,
0.05885184183716774,
-0.4109792113304138,
-0.19863784313201904,
-0.46055692434310913,
0.3658907413482666,
-0.04919687286019325,
0.16469703614711761,
-0.43778669834136963,
0.11073171347379684,
-0.011735096573829651,
-0.05546860024333,
0.3158118724822998,
-0.40158721804618835,
-0.2661780118942261,
0.022165384143590927,
0.1708800196647644,
-0.3118788003921509,
0.20279374718666077,
-0.16789068281650543,
0.5696871876716614,
0.32465922832489014,
0.28925734758377075,
-0.24990475177764893,
-0.09529515355825424,
0.6907178163528442,
-0.09786167740821838,
-0.04567190259695053,
-0.11024351418018341,
-0.3297025263309479,
-0.6224532723426819,
-0.5707896947860718,
0.04241363704204559,
0.04433298856019974,
-0.1349378228187561,
-0.11546162515878677,
-0.007646873593330383,
0.36064618825912476,
0.09494324773550034,
0.023902229964733124,
0.11698819696903229,
0.0026576570235192776,
0.521391749382019,
-0.06713417172431946,
-0.06371916085481644,
-0.17607398331165314,
0.05377601087093353,
0.5840444564819336,
0.08508563786745071,
0.1837574988603592,
0.20139020681381226,
-0.10014459490776062,
0.38769182562828064,
0.3603983521461487,
0.28094539046287537,
0.05613534525036812,
0.12384618818759918,
0.043160151690244675,
-0.04163583740592003,
0.0679488405585289,
-0.055547475814819336,
-0.03825853019952774,
-0.08628784120082855,
-0.11608234792947769,
0.09773223102092743,
-0.3099857568740845,
0.01806127279996872,
0.055506281554698944,
0.1692044734954834,
0.023618409410119057,
0.6289191842079163,
-0.23185718059539795,
0.878275990486145,
0.44702446460723877,
-0.001259736716747284,
0.01048930175602436,
0.09626586735248566,
0.05554265156388283,
0.04198387265205383,
-0.16698609292507172,
-0.3006325364112854,
-0.11765715479850769,
-0.002120286226272583,
-0.12751594185829163,
0.11900051683187485,
0.05516279488801956,
-0.5020067691802979,
0.15024127066135406,
0.07855367660522461,
0.2218407243490219,
0.17142212390899658,
0.4565770626068115,
0.0540054589509964,
-0.04161005839705467,
0.08331872522830963,
0.29515719413757324,
-0.09007462859153748,
0.3276688754558563,
-0.11122231185436249,
-0.21383480727672577,
-0.3068353533744812,
-0.2540436387062073,
-0.0852678120136261,
0.20593789219856262,
-0.42395877838134766,
-0.3455565571784973,
0.12214517593383789,
-0.13828149437904358,
0.28849947452545166,
0.051811810582876205,
0.6002028584480286,
0.20998573303222656,
-0.27978888154029846,
0.26621589064598083,
-0.06937522441148758,
0.048068780452013016,
0.0716036930680275,
-0.17589372396469116,
0.1224546805024147,
-0.20591512322425842,
-0.40817123651504517,
0.09676533937454224,
-0.17320682108402252,
-0.3792073726654053,
-0.10561170428991318,
0.06545692682266235,
-0.029120944440364838,
-0.26892271637916565,
-0.2289755493402481,
0.17665672302246094,
-0.32440483570098877,
-0.16938774287700653,
0.11882643401622772,
0.21615026891231537,
-0.15136434137821198,
0.12355290353298187,
0.28299447894096375,
-0.0066253915429115295,
-0.07031296193599701,
0.0518055222928524,
-0.02226223796606064,
-0.30673035979270935,
0.42248183488845825,
0.03493846580386162,
0.17066259682178497,
-0.27788352966308594,
-0.07425925880670547,
0.33719146251678467,
-0.1501590758562088,
-0.23199056088924408,
-0.04092232882976532,
0.010252118110656738,
-0.03737422078847885,
0.6926097869873047,
0.030199909582734108,
0.3132012188434601,
-0.07850375026464462,
-0.38019850850105286,
-0.3444843888282776,
0.1770739108324051,
0.19365236163139343,
0.07018178701400757,
0.19806727766990662,
0.3326055705547333,
0.2439727783203125,
0.3933204114437103,
-0.4196488559246063,
-0.1984495222568512,
-0.2734256088733673,
0.18153659999370575,
0.27523595094680786,
-0.1169048473238945,
0.22520634531974792,
-0.15359802544116974,
0.016669275239109993,
0.01636107638478279,
-0.19223396480083466,
-0.21012595295906067,
0.1767904907464981,
0.11832822114229202,
0.2572961151599884,
-0.11350318044424057,
-0.2013765275478363,
-0.011752107180655003,
-0.10678060352802277,
-0.03388216346502304,
-0.09548652172088623,
-0.2378191351890564,
-0.003193013370037079,
0.03194909170269966,
-0.28603649139404297,
-0.07819332927465439,
0.09224694967269897,
-0.35549724102020264,
0.12389981746673584,
0.4270246624946594,
0.08016184717416763,
0.15891504287719727,
-0.06421239674091339,
-0.05977247655391693,
0.18339909613132477,
0.19076688587665558,
0.30197960138320923,
0.44552847743034363,
0.1341133415699005,
-0.13599392771720886,
0.07543481886386871,
0.09190285205841064,
0.14348763227462769,
-0.018729113042354584,
-0.4126095175743103,
0.42550167441368103,
0.12063467502593994,
0.2145155370235443,
-0.22685685753822327,
0.15492047369480133,
0.4772484004497528,
-0.04589570313692093,
0.16199153661727905,
0.2815208435058594,
0.19607242941856384,
0.039019472897052765,
0.5305232405662537,
0.129006028175354,
0.25943201780319214,
-0.09712252765893936,
0.10538485646247864,
-0.6063491702079773,
-0.36557260155677795,
0.07187618315219879,
0.24906672537326813,
-0.1372782588005066,
0.01821107417345047,
0.05522947758436203,
0.1109108179807663,
0.35025110840797424,
-0.047001734375953674,
0.09561656415462494,
0.09536262601613998,
-0.1547509878873825,
0.47977229952812195,
0.025029256939888,
0.2135278284549713,
0.2584306597709656,
0.317422091960907,
0.0026146098971366882,
-0.14721174538135529,
-0.2755732834339142,
-0.1788221299648285,
0.11674396693706512,
0.030114177614450455,
0.1700720191001892,
-0.6594902276992798,
-0.031219713389873505,
-0.2930578589439392,
-0.16831038892269135,
0.0316457636654377,
-0.07764622569084167,
-0.1152331531047821,
0.019305024296045303,
-0.29057830572128296,
-0.02207464538514614,
-0.0809003934264183,
0.09817127883434296,
0.27981433272361755,
-0.16288705170154572,
0.5119292140007019,
0.18855860829353333,
-0.13334321975708008,
-0.00763837993144989,
0.25480780005455017,
0.387267142534256,
0.11182145774364471,
0.17876137793064117,
0.25384971499443054,
-0.004883578047156334,
-0.2804553508758545,
-0.001157071441411972,
0.06671485304832458,
0.3136541247367859,
-0.05117541924118996,
0.10489490628242493,
0.22533173859119415,
-0.2022545039653778,
0.049015387892723083,
0.3175645172595978,
-0.07733041048049927,
-0.14776022732257843,
0.023421913385391235,
-0.09916678071022034,
-0.16608606278896332,
-0.5289480686187744,
-0.039369337260723114,
-0.36811476945877075,
-0.18480752408504486,
0.07275334745645523,
-0.0858817994594574,
0.10969334095716476,
-0.5085528492927551,
0.11929237842559814,
-0.08215758204460144,
0.30928024649620056,
0.3732786178588867,
0.058770835399627686,
-0.3435940146446228,
-0.46602725982666016,
-0.2704187035560608,
-0.015604935586452484,
0.10814671963453293,
0.1430899053812027,
-0.020781956613063812,
0.37372419238090515,
0.25367990136146545,
0.09353131055831909,
0.19197089970111847,
-0.3669660985469818,
0.16913118958473206,
-0.046245306730270386,
-0.34240150451660156,
0.025598548352718353,
-0.21231134235858917,
0.3073860704898834,
0.17444704473018646,
-0.07719822227954865,
-0.053066130727529526,
-0.16378888487815857,
0.058680444955825806,
-0.017008554190397263,
-0.407926082611084,
0.009819179773330688,
-0.32975733280181885,
0.2873884439468384,
0.20428594946861267,
0.4223327040672302,
-0.37518510222435,
-0.16474229097366333,
-0.11426118016242981,
-0.011900734156370163,
-0.15375033020973206,
0.34183230996131897,
0.18559184670448303,
0.4367391765117645,
0.04288835823535919,
0.07920685410499573,
-0.0909499078989029,
-0.16190749406814575,
-0.1323155015707016,
-0.15717408061027527,
-0.021909620612859726,
0.20166762173175812,
-0.20983481407165527,
0.19076132774353027,
0.02609274908900261,
0.13904514908790588,
-0.15344616770744324,
0.2483976036310196,
-0.2663913071155548,
-0.01984773576259613,
0.5755434036254883,
-0.07064366340637207,
-0.1556745022535324,
-0.00002969382330775261,
0.2096467912197113,
-0.4168844223022461,
-0.15810339152812958,
-0.25337114930152893,
0.10671792179346085,
0.05150716006755829,
0.1352599561214447,
0.07113946974277496,
0.3351699709892273,
-0.2682962715625763,
0.03933111950755119,
0.0572354830801487,
0.4489891827106476,
0.07530348747968674,
0.022719567641615868,
0.15230996906757355,
-0.07008963823318481
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | The dummy data file was wrong. I only fixed it for the book config. Even though the tests are all green here, this should also be fixed for all other configs. Could you take a look there @mariamabarham ? | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 39 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
The dummy data file was wrong. I only fixed it for the book config. Even though the tests are all green here, this should also be fixed for all other configs. Could you take a look there @mariamabarham ? | [
-0.3548900783061981,
-0.07561855763196945,
-0.09771502017974854,
-0.04314646124839783,
-0.018480192869901657,
0.058419980108737946,
0.392214298248291,
0.14111526310443878,
-0.0965365320444107,
0.1949891448020935,
-0.04331783205270767,
0.2054530680179596,
0.1711701601743698,
0.3685123920440674,
0.009818973951041698,
-0.10709141194820404,
0.013526484370231628,
0.15288077294826508,
-0.07867909967899323,
-0.05268774554133415,
-0.1719343662261963,
0.29755499958992004,
-0.17774523794651031,
-0.029697544872760773,
-0.1488225907087326,
-0.012773295864462852,
-0.10913741588592529,
0.2679602801799774,
-0.06265097111463547,
-0.0956287607550621,
0.28998252749443054,
0.11640618741512299,
-0.00787022989243269,
0.2802170217037201,
-0.00009709710138849914,
0.16587795317173004,
0.16175343096256256,
-0.1520005166530609,
-0.23626798391342163,
0.3180331885814667,
0.12477792054414749,
0.09888569265604019,
-0.03790784627199173,
0.004246830940246582,
-0.31271377205848694,
0.01970027945935726,
-0.09371227025985718,
-0.1109553724527359,
-0.10355392098426819,
0.45257624983787537,
0.3566371500492096,
0.11739176511764526,
0.27730146050453186,
-0.17876769602298737,
0.2130315899848938,
-0.05075491964817047,
-0.25802361965179443,
0.11480149626731873,
0.2294478714466095,
0.14479081332683563,
-0.009676061570644379,
0.21458220481872559,
0.427719384431839,
0.1925428807735443,
-0.0386047288775444,
0.11220115423202515,
0.19204971194267273,
-0.08450869470834732,
0.14064893126487732,
0.20162126421928406,
0.346318781375885,
-0.10399559885263443,
-0.22254826128482819,
0.02198375016450882,
0.08559184521436691,
-0.05122330039739609,
0.19894057512283325,
-0.08301740139722824,
0.06049351766705513,
0.1447528451681137,
0.22508016228675842,
-0.3217814862728119,
-0.14882518351078033,
-0.008325144648551941,
-0.11979890614748001,
0.051304250955581665,
-0.09526500105857849,
-0.03769376873970032,
0.024957161396741867,
0.047709397971630096,
-0.10000278055667877,
0.020858801901340485,
-0.41895148158073425,
-0.07328122854232788,
-0.05134863033890724,
-0.17027142643928528,
-0.09242568165063858,
-0.007491089403629303,
0.23089000582695007,
0.010075043886899948,
-0.17872989177703857,
0.22766000032424927,
0.043389737606048584,
0.04515134170651436,
0.15673589706420898,
0.03396312892436981,
0.09932093322277069,
0.1892949640750885,
0.20834536850452423,
0.17768390476703644,
0.025824274867773056,
-0.18081802129745483,
0.1886342167854309,
-0.2769506275653839,
-0.25804954767227173,
-0.22725486755371094,
0.08434057980775833,
-0.5841483473777771,
-0.24513179063796997,
0.08960933983325958,
0.24685651063919067,
0.013656171038746834,
-0.1711237132549286,
0.49754244089126587,
-0.02098942920565605,
-0.12631413340568542,
0.2686097025871277,
0.11012624204158783,
-0.2095668613910675,
-0.24516521394252777,
-0.3611019551753998,
-0.148668572306633,
-0.15849263966083527,
0.05001940578222275,
0.2969197630882263,
-0.10099567472934723,
0.4987161457538605,
0.16875867545604706,
-0.05337352305650711,
0.017146818339824677,
0.2169128954410553,
-0.12090201675891876,
0.1283787488937378,
0.19685211777687073,
-0.055175647139549255,
0.017871608957648277,
0.172083780169487,
0.05215705931186676,
-0.11148468405008316,
-0.07239856570959091,
-0.057165585458278656,
-0.20625180006027222,
-0.39051419496536255,
0.34717491269111633,
0.1537519246339798,
-0.249841570854187,
0.0984707698225975,
0.19136524200439453,
-0.040401361882686615,
-0.4338930547237396,
0.01984628289937973,
-0.07518626749515533,
-0.044298991560935974,
0.01595477946102619,
0.15970352292060852,
0.30607613921165466,
-0.4313748776912689,
-0.1626434028148651,
-0.0973057895898819,
-0.42476001381874084,
0.16345123946666718,
-0.13366268575191498,
-0.09290873259305954,
0.028728138655424118,
-0.36925381422042847,
0.030288442969322205,
0.0702139139175415,
-0.08001238107681274,
-0.2313920110464096,
0.23499585688114166,
-0.05957861244678497,
0.01636662520468235,
0.015484064817428589,
-0.04697773605585098,
-0.25345009565353394,
0.01353662833571434,
0.25993335247039795,
0.11328661441802979,
-0.02172117494046688,
0.07933586090803146,
-0.4347182810306549,
-0.1538752317428589,
-0.06423357874155045,
0.20431147515773773,
0.07338269054889679,
-0.010914862155914307,
0.04168618470430374,
-0.22238439321517944,
0.31488314270973206,
-0.022475849837064743,
0.05333726853132248,
0.37772250175476074,
0.2563813626766205,
0.21863919496536255,
0.041508354246616364,
0.24509146809577942,
-0.18693429231643677,
-0.060299623757600784,
-0.22199960052967072,
0.31233087182044983,
0.4699851870536804,
-0.21700254082679749,
-0.24022388458251953,
-0.2834451496601105,
-0.3570651113986969,
-0.5304508805274963,
0.343830943107605,
0.3560616970062256,
-0.12370558083057404,
0.05036216601729393,
0.055196087807416916,
0.14801448583602905,
-0.2665437161922455,
0.023321140557527542,
-0.15499413013458252,
0.0951702892780304,
-0.26828837394714355,
-0.11952655017375946,
0.11344198882579803,
-0.05930117517709732,
-0.08830944448709488,
-0.12652243673801422,
-0.18777745962142944,
0.26778972148895264,
-0.052501752972602844,
-0.1286388486623764,
0.2965395152568817,
0.03428971767425537,
0.08419786393642426,
-0.09176386892795563,
-0.165413036942482,
0.18196631968021393,
0.06082833558320999,
-0.058631107211112976,
-0.24093559384346008,
0.3464062511920929,
0.15854699909687042,
-0.12239288538694382,
-0.038387853652238846,
-0.076189324259758,
0.28466591238975525,
-0.1166733056306839,
0.09697205573320389,
-0.3142787218093872,
0.11007736623287201,
-0.05972686782479286,
0.21950314939022064,
-0.177558034658432,
-0.4078928530216217,
0.06585782021284103,
0.13277502357959747,
0.1470365673303604,
0.22955328226089478,
0.07957218587398529,
-0.2177063524723053,
-0.21888822317123413,
0.3612194359302521,
-0.09154932200908661,
0.43707185983657837,
0.31513020396232605,
0.21262259781360626,
0.17361319065093994,
-0.21018125116825104,
-0.2759079933166504,
0.25716888904571533,
-0.27511805295944214,
-0.05663417652249336,
0.27781379222869873,
-0.04107823222875595,
-0.35734590888023376,
-0.5345476865768433,
0.04023664817214012,
0.03547713905572891,
0.17072172462940216,
-0.3792710304260254,
-0.1670559197664261,
0.07049774378538132,
-0.049151163548231125,
0.0027678068727254868,
-0.02520257607102394,
-0.01789790764451027,
-0.3310960531234741,
0.3655230402946472,
0.030457083135843277,
-0.1505792737007141,
0.12321390211582184,
0.06557050347328186,
0.14973868429660797,
0.023680219426751137,
-0.05637291818857193,
-0.2761892080307007,
0.01675534062087536,
-0.5783776044845581,
0.3324975073337555,
-0.06990767270326614,
0.07112626731395721,
0.21553461253643036,
-0.32433995604515076,
0.07750023156404495,
-0.2327861338853836,
-0.3002474308013916,
0.23247265815734863,
0.0002729073166847229,
0.6565045118331909,
0.20476871728897095,
0.3598403334617615,
0.022377293556928635,
-0.11401664465665817,
0.13086466491222382,
-0.2157023698091507,
-0.2705055773258209,
-0.028453435748815536,
-0.1317417174577713,
0.07392670959234238,
-0.23473992943763733,
-0.7859674096107483,
0.07603393495082855,
-0.2072092443704605,
-0.06339369714260101,
0.010944690555334091,
-0.03638681769371033,
0.18930944800376892,
0.2857864499092102,
0.1585356593132019,
0.015833796933293343,
0.1695379614830017,
-0.45405739545822144,
-0.25368309020996094,
0.171985924243927,
-0.4025741517543793,
-0.34531736373901367,
0.14553554356098175,
0.031862158328294754,
0.16248483955860138,
-0.35201209783554077,
-0.5445171594619751,
-0.13555891811847687,
-0.01885210908949375,
0.1050080955028534,
-0.1192692220211029,
0.022455908358097076,
0.2178022712469101,
-0.03496517986059189,
-0.27814745903015137,
-0.18452852964401245,
-0.10513897240161896,
0.281115859746933,
-0.18066930770874023,
0.32252636551856995,
-0.42291855812072754,
-0.07000022381544113,
-0.14050325751304626,
0.1710141897201538,
0.14907726645469666,
-0.09838293492794037,
0.2713029980659485,
-0.1627369225025177,
0.44098272919654846,
-0.24676921963691711,
-0.05689433217048645,
0.22461634874343872,
0.09757807850837708,
0.251745343208313,
0.6259266138076782,
0.07494048029184341,
-0.2116338014602661,
-0.14430417120456696,
-0.012450160458683968,
-0.057297103106975555,
-0.3576596975326538,
-0.05755680799484253,
0.19394995272159576,
-0.0380607470870018,
-0.03051387146115303,
0.020925186574459076,
-0.12042094767093658,
-0.023886187002062798,
0.17381605505943298,
0.3846668004989624,
-0.22021806240081787,
-0.06530387699604034,
-0.2589549124240875,
0.1611538678407669,
-0.25768527388572693,
0.21853108704090118,
-0.16630761325359344,
0.39318564534187317,
-0.3123110234737396,
0.031768202781677246,
0.033308953046798706,
-0.02386145479977131,
0.5405498743057251,
-0.4712165594100952,
-0.056836917996406555,
0.21062412858009338,
0.11669495701789856,
-0.13727661967277527,
-0.17023494839668274,
-0.45386767387390137,
0.0962948203086853,
0.1883750706911087,
0.24404214322566986,
-0.3398997485637665,
-0.008292458020150661,
0.37245383858680725,
0.11202676594257355,
-0.04654857516288757,
0.011991887353360653,
-0.27891841530799866,
-0.27102234959602356,
-0.24394507706165314,
0.2538610100746155,
-0.20643866062164307,
0.13062892854213715,
-0.22529850900173187,
-0.16653026640415192,
-0.03481651097536087,
0.018745500594377518,
0.1460021436214447,
0.09810531139373779,
0.283953458070755,
-0.06090801954269409,
0.12890858948230743,
0.1292921006679535,
-0.02812640368938446,
0.3282352089881897,
0.3222273588180542,
-0.0068851858377456665,
0.021833650767803192,
0.19318193197250366,
-0.3801289200782776,
0.0407414585351944,
0.17085149884223938,
0.11880970001220703,
0.1680210530757904,
-0.18373188376426697,
-0.05268086493015289,
0.20457717776298523,
0.35170191526412964,
0.20328962802886963,
0.1681327521800995,
-0.09814884513616562,
-0.3367243707180023,
0.15248142182826996,
-0.07160267233848572,
-0.13298067450523376,
0.6102738976478577,
-0.05954715609550476,
-0.27923521399497986,
0.3252526521682739,
0.03399023413658142,
0.687014102935791,
0.23300498723983765,
0.04568075016140938,
0.15450525283813477,
-0.16416367888450623,
-0.18403026461601257,
-0.35422587394714355,
0.07872233539819717,
-0.2236369550228119,
-0.21060878038406372,
0.06358844041824341,
0.13342802226543427,
0.3685460090637207,
0.060407958924770355,
-0.5294771194458008,
0.08583763241767883,
0.08422799408435822,
-0.08252695202827454,
0.08024287223815918,
0.12101919949054718,
-0.07960247248411179,
0.07742176204919815,
0.20003598928451538,
0.2733100354671478,
0.14350110292434692,
0.14823894202709198,
-0.19934037327766418,
-0.06658757477998734,
-0.187031552195549,
-0.1168164312839508,
-0.1001366600394249,
-0.05691167712211609,
-0.2245023548603058,
-0.01725141331553459,
0.10731419920921326,
0.007097899913787842,
-0.1550327092409134,
0.08292065560817719,
0.3329693078994751,
0.2648968994617462,
-0.3014269769191742,
0.23645761609077454,
0.1582559198141098,
-0.17707403004169464,
-0.12375921756029129,
0.08018156886100769,
0.14035533368587494,
-0.08416131138801575,
-0.4286291003227234,
0.11799117922782898,
-0.25724756717681885,
-0.174484521150589,
-0.0778680145740509,
-0.2083604782819748,
-0.15011650323867798,
-0.4459453821182251,
0.02007007971405983,
0.27726367115974426,
-0.0849824845790863,
-0.3607719838619232,
0.2644274830818176,
0.021952632814645767,
-0.1587408185005188,
0.18452417850494385,
0.4456549286842346,
-0.30863356590270996,
-0.2342529445886612,
0.27402326464653015,
-0.2361106276512146,
0.15282930433750153,
0.3861965239048004,
0.05772935226559639,
-0.11427316814661026,
-0.3962455987930298,
-0.07643583416938782,
0.3082978129386902,
-0.3565244972705841,
0.03212636336684227,
0.1962694227695465,
-0.3273164629936218,
0.3060096502304077,
0.5064506530761719,
0.16916640102863312,
0.05853193625807762,
-0.09868782013654709,
-0.12327437102794647,
-0.2271326333284378,
-0.07554163038730621,
-0.05113104358315468,
0.5128476023674011,
-0.009174777194857597,
0.0650264322757721,
0.18665555119514465,
0.008042186498641968,
-0.5070992708206177,
0.11176556348800659,
-0.4920472800731659,
0.02392769046127796,
-0.3022536337375641,
0.019280727952718735,
0.15409038960933685,
0.007517628371715546,
0.23439684510231018,
-0.13010866940021515,
-0.2216726839542389,
-0.3264859914779663,
-0.022080592811107635,
0.05618414282798767,
0.009448724798858166,
-0.013342032209038734,
-0.010381168685853481,
0.12508082389831543,
-0.19792157411575317,
0.026962244883179665,
0.20113396644592285,
-0.13194911181926727,
-0.09417842328548431,
0.25421270728111267,
0.08919626474380493,
-0.055214814841747284,
-0.08546113967895508,
-0.13701990246772766,
0.049950938671827316,
-0.13019855320453644,
-0.0643647313117981,
-0.11225169897079468,
-0.23857858777046204,
-0.06862849742174149,
0.51105135679245,
0.2522129416465759,
-0.12663084268569946,
0.24878308176994324,
-0.004634380340576172,
-0.03675862401723862,
0.02587154135107994,
0.13651007413864136,
-0.007774025201797485,
0.14351224899291992,
-0.24231114983558655,
0.04032494127750397,
0.0036551333032548428,
0.43155214190483093,
-0.30398523807525635,
0.04547235369682312,
0.0883878618478775,
-0.13352049887180328,
0.3201066851615906,
0.09714436531066895,
0.3276742100715637,
-0.20406225323677063,
0.27690449357032776,
0.285825252532959,
-0.043017446994781494,
0.07307857275009155,
0.03217780590057373,
0.3686055541038513,
-0.35210999846458435,
0.07052380591630936,
0.2890884280204773,
-0.05051690712571144,
0.13240793347358704,
0.28401076793670654,
0.19679760932922363,
0.20658059418201447,
0.03399687632918358,
0.31422412395477295,
-0.07753928750753403,
-0.2865678071975708,
0.5696529150009155,
0.3183758854866028,
0.11577992886304855,
0.10701673477888107,
0.2582392692565918,
-0.009821362793445587,
-0.27481609582901,
-0.12108750641345978,
-0.36527130007743835,
-0.10856875777244568,
-0.2700118124485016,
-0.1195714920759201,
-0.05866527557373047,
-0.2801991403102875,
-0.027024954557418823,
-0.03624254837632179,
-0.010857738554477692,
0.0903429239988327,
-0.04270029067993164,
-0.1302666813135147,
-0.17328663170337677,
-0.17727643251419067,
0.35042399168014526,
0.08392392098903656,
0.020148642361164093,
0.030876759439706802,
0.3158203065395355,
0.047038592398166656,
0.019612152129411697,
0.4338439702987671,
0.3925730884075165,
0.09662404656410217,
-0.006916973739862442,
0.18480846285820007,
0.09202729910612106,
0.12738052010536194,
-0.028089959174394608,
-0.16887542605400085,
0.21398082375526428,
0.239096000790596,
-0.032280851155519485,
0.3851621747016907,
0.2584029734134674,
-0.32681477069854736,
0.05408871918916702,
0.005737759172916412,
-0.06940126419067383,
-0.18504104018211365,
-0.002674773335456848,
0.013167690485715866,
-0.16345763206481934,
-0.2646641135215759,
-0.21242272853851318,
-0.20080792903900146,
-0.08494503051042557,
0.22770600020885468,
-0.3127153813838959,
-0.005603257566690445,
-0.07138487696647644,
0.18529869616031647,
0.2019873559474945,
0.31606218218803406,
0.0669507160782814,
0.10540252178907394,
-0.1338985413312912,
-0.3852911591529846,
-0.5046182870864868,
0.18168401718139648,
0.05190582200884819,
0.09866060316562653,
-0.04194892570376396,
0.10592210292816162,
0.24904966354370117,
0.012991020455956459,
0.304456889629364,
-0.07330542802810669,
0.2676040530204773,
0.1990785300731659,
-0.4605161249637604,
-0.035153668373823166,
0.26540982723236084,
0.17845264077186584,
0.16844628751277924,
-0.31534191966056824,
0.05588466674089432,
0.15876585245132446,
0.30775848031044006,
-0.015770409256219864,
-0.11383556574583054,
0.1784539669752121,
0.06893827021121979,
0.41897526383399963,
0.06495663523674011,
0.4438197612762451,
-0.1854555606842041,
0.00471409410238266,
-0.04310492053627968,
-0.08641874045133591,
-0.18755681812763214,
-0.011011786758899689,
0.03595099598169327,
0.14535421133041382,
0.11122511327266693,
-0.3271982967853546,
-0.02838764153420925,
0.26082664728164673,
0.3866475820541382,
0.34637778997421265,
-0.32688310742378235,
0.41246676445007324,
0.014979079365730286,
-0.22496050596237183,
-0.015359529294073582,
0.2690522074699402,
-0.07035002112388611,
-0.15644927322864532,
-0.166142076253891,
-0.3599499762058258,
0.4096105694770813,
-0.025763079524040222,
-0.02763543091714382,
-0.17384867370128632,
0.17334675788879395,
0.16549751162528992,
-0.1584744155406952,
-0.5238051414489746,
0.04718450456857681,
0.2008151113986969,
0.06447720527648926,
-0.12220336496829987,
0.14409378170967102,
-0.05673927441239357,
0.16425727307796478,
-0.08118923008441925,
0.6527138948440552,
0.1459776908159256,
0.04688938707113266,
-0.08034282177686691,
-0.2602372467517853
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | Hi @mariamabarham
FLUE can indeed become a very interesting benchmark for french NLP !
Unfortunately, it seems that we've both been working on adding it to the repo...
I was going to open a pull request before I came across yours.
I didn't want to open a duplicate, that's why I'm commenting here (I hope it's not rude).
When I look at your code there is one issue that jump out at me: for both `vsd` and `nsd`, the labels are missing. I believe this is more a data issue, as they were not kept in the cleaned dataframes of #223. I think the *word sense disambiguation* task was a bit misunderstood.
Maybe you should directly use the data provided by FLUE for these ? | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 125 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
Hi @mariamabarham
FLUE can indeed become a very interesting benchmark for french NLP !
Unfortunately, it seems that we've both been working on adding it to the repo...
I was going to open a pull request before I came across yours.
I didn't want to open a duplicate, that's why I'm commenting here (I hope it's not rude).
When I look at your code there is one issue that jump out at me: for both `vsd` and `nsd`, the labels are missing. I believe this is more a data issue, as they were not kept in the cleaned dataframes of #223. I think the *word sense disambiguation* task was a bit misunderstood.
Maybe you should directly use the data provided by FLUE for these ? | [
-0.05429460480809212,
0.17044678330421448,
-0.15270158648490906,
0.05145332217216492,
-0.133287712931633,
-0.18874716758728027,
0.054640691727399826,
-0.05331767722964287,
-0.20459729433059692,
0.24561315774917603,
-0.09296365082263947,
0.18001975119113922,
-0.028677131980657578,
0.12474451214075089,
0.04698476195335388,
-0.44288620352745056,
0.07718268036842346,
0.42329975962638855,
0.026953812688589096,
-0.2537224590778351,
-0.11485800892114639,
0.4615907371044159,
-0.3770899772644043,
0.18602481484413147,
0.00513231847435236,
-0.17174725234508514,
-0.24739068746566772,
0.2787265181541443,
0.017434310168027878,
-0.18916641175746918,
-0.04848895221948624,
0.310383141040802,
0.06160057336091995,
0.1574380248785019,
-0.00009870497160591185,
-0.30112409591674805,
-0.02334526926279068,
-0.1990981251001358,
-0.09558594226837158,
0.17167022824287415,
0.24597293138504028,
-0.16103367507457733,
-0.08781135827302933,
-0.218611940741539,
-0.19348448514938354,
-0.09958719462156296,
-0.16883420944213867,
-0.4829659163951874,
0.3475867509841919,
0.3695113956928253,
0.2955911457538605,
-0.14295077323913574,
0.19455136358737946,
0.04636666178703308,
0.11199837923049927,
0.024102289229631424,
-0.05709794536232948,
-0.08881087601184845,
0.46969497203826904,
-0.019915783777832985,
-0.014841929078102112,
0.4724043905735016,
0.2258031666278839,
-0.025667965412139893,
0.10933111608028412,
0.0567464753985405,
0.11692305654287338,
-0.2193652093410492,
0.017042526975274086,
0.2277328073978424,
0.3673129975795746,
-0.10441698879003525,
-0.3861899971961975,
-0.2623501718044281,
-0.11396478116512299,
-0.4314529299736023,
-0.18674662709236145,
-0.5101803541183472,
-0.005941202864050865,
0.01155388168990612,
0.212890163064003,
-0.08634844422340393,
-0.060850292444229126,
0.0612909197807312,
0.0005079209804534912,
0.24822402000427246,
0.05066560581326485,
-0.014253959059715271,
0.14913137257099152,
-0.08643656224012375,
-0.2674139142036438,
0.11568313837051392,
-0.12724526226520538,
0.22053304314613342,
-0.16807788610458374,
-0.2757616639137268,
0.26932692527770996,
-0.2128831148147583,
0.20076295733451843,
0.020199745893478394,
-0.5517993569374084,
0.18321123719215393,
0.023725222796201706,
-0.12207051366567612,
0.10405978560447693,
0.40349435806274414,
0.13946110010147095,
0.14784303307533264,
-0.19456346333026886,
-0.10550440847873688,
-0.1377743035554886,
0.034767743200063705,
-0.18018785119056702,
-0.08156158775091171,
-0.2762867212295532,
-0.11282310634851456,
-0.3158297538757324,
-0.46706584095954895,
-0.23858323693275452,
0.09439367800951004,
-0.09995439648628235,
-0.11015854775905609,
-0.19388239085674286,
0.3761536777019501,
0.08227868378162384,
0.16077205538749695,
0.079377681016922,
0.05711346119642258,
-0.4060192406177521,
-0.34348517656326294,
-0.3547988831996918,
0.1543719321489334,
-0.5072938203811646,
-0.09313315898180008,
0.004763990640640259,
0.10693356394767761,
0.2544102668762207,
-0.04507861286401749,
0.1323012411594391,
-0.024322493001818657,
-0.10821548849344254,
-0.22491338849067688,
0.1544957160949707,
-0.385823518037796,
-0.17244437336921692,
0.032398395240306854,
0.06065361946821213,
-0.20429107546806335,
-0.27912935614585876,
-0.003773614764213562,
0.21865332126617432,
0.010754916816949844,
-0.378841757774353,
0.2536512613296509,
-0.0749937891960144,
-0.3003845512866974,
0.2952786684036255,
0.6482133865356445,
-0.09741920977830887,
-0.29148006439208984,
-0.0027202442288398743,
-0.04017769545316696,
-0.2607182562351227,
-0.07416080683469772,
0.20808181166648865,
0.21255972981452942,
-0.606048583984375,
-0.21367314457893372,
-0.17673741281032562,
-0.1455519050359726,
0.333289235830307,
0.39092817902565,
-0.15595266222953796,
0.16981354355812073,
-0.10286952555179596,
0.23263554275035858,
0.22657792270183563,
-0.35829776525497437,
0.030895931646227837,
0.17285145819187164,
-0.1540728360414505,
0.22061297297477722,
0.08387720584869385,
-0.21340502798557281,
0.19446183741092682,
-0.1263182908296585,
0.3127005994319916,
0.26003408432006836,
-0.109585702419281,
-0.05201224982738495,
-0.25168463587760925,
0.04951874911785126,
0.2741042971611023,
0.22131557762622833,
0.08566900342702866,
-0.021508224308490753,
-0.030711598694324493,
0.07788482308387756,
0.29612523317337036,
-0.04217537119984627,
0.19495129585266113,
0.21727989614009857,
-0.027209486812353134,
0.2205193191766739,
0.051378000527620316,
0.13123255968093872,
-0.18826240301132202,
-0.03632359951734543,
-0.2913055419921875,
0.5037202835083008,
0.42546093463897705,
-0.05138545483350754,
-0.28344905376434326,
-0.2917589545249939,
-0.0679318755865097,
-0.5726256966590881,
0.34761524200439453,
0.11443544924259186,
-0.009670602157711983,
0.14220333099365234,
-0.1634504795074463,
0.0781831368803978,
-0.07470788806676865,
-0.24588888883590698,
0.11983193457126617,
0.11610051989555359,
-0.3102780282497406,
-0.1511230319738388,
-0.03032548911869526,
0.6383377313613892,
0.041809968650341034,
0.08121377229690552,
-0.0655837208032608,
-0.07451048493385315,
-0.038924168795347214,
0.011334441602230072,
0.3174496591091156,
0.11597637087106705,
-0.05857086926698685,
-0.14923237264156342,
0.051788754761219025,
0.1926865428686142,
0.060543641448020935,
-0.15192922949790955,
0.05446341633796692,
0.3105993866920471,
0.08503824472427368,
0.04738399386405945,
-0.0023247823119163513,
-0.18934980034828186,
0.2152964323759079,
-0.21270813047885895,
0.1486411690711975,
-0.21273614466190338,
0.5778915882110596,
-0.08748927712440491,
0.307897686958313,
0.12022615224123001,
-0.3104872703552246,
0.2898014485836029,
0.4761950373649597,
0.01789090782403946,
-0.05085489898920059,
0.17383837699890137,
-0.11174807697534561,
-0.36853423714637756,
0.19268444180488586,
-0.03944198042154312,
0.10168088227510452,
0.43184977769851685,
0.26969632506370544,
0.11466760188341141,
-0.05136031657457352,
-0.024004977196455002,
0.15503981709480286,
-0.10320958495140076,
0.18646453320980072,
0.013731695711612701,
-0.28156599402427673,
0.18637479841709137,
-0.17679190635681152,
-0.30874642729759216,
-0.11530006676912308,
0.23398572206497192,
-0.09227270632982254,
-0.007810291834175587,
0.141351118683815,
-0.5957605838775635,
0.02364305965602398,
-0.13663579523563385,
-0.3273998498916626,
-0.3105134665966034,
0.3814626932144165,
-0.35499539971351624,
-0.0774124264717102,
0.24052253365516663,
-0.03637215867638588,
0.3323056697845459,
-0.23556756973266602,
0.21451252698898315,
-0.2515283226966858,
-0.1062610074877739,
-0.6481627225875854,
0.30782365798950195,
-0.007709616329520941,
0.1758708357810974,
0.36482906341552734,
-0.21844694018363953,
0.26434725522994995,
0.03325105458498001,
-0.31009310483932495,
0.2292797565460205,
-0.2595643401145935,
0.5830234885215759,
0.15960827469825745,
0.04036484286189079,
-0.2856258153915405,
0.020843762904405594,
-0.05477242171764374,
-0.294710636138916,
-0.25947117805480957,
-0.13950228691101074,
-0.08795209228992462,
0.026955856010317802,
-0.09607436507940292,
-0.4766322672367096,
-0.4073961079120636,
-0.39696255326271057,
0.05870354175567627,
-0.07628367841243744,
0.21595866978168488,
0.2826673984527588,
-0.2780633270740509,
0.1431969255208969,
-0.13854476809501648,
0.3375435769557953,
-0.39485734701156616,
0.02104772999882698,
0.00010367855429649353,
-0.23939001560211182,
-0.2312363237142563,
-0.17873461544513702,
-0.07307857275009155,
0.21626853942871094,
-0.41614067554473877,
0.043649822473526,
0.1891724169254303,
0.01718825101852417,
0.06301224231719971,
-0.1663132607936859,
0.038491446524858475,
0.3166022300720215,
-0.01593584381043911,
-0.3161580562591553,
-0.2314871847629547,
-0.1937345266342163,
0.2916366457939148,
-0.3168724775314331,
0.3522931933403015,
-0.29496535658836365,
-0.07509860396385193,
-0.04302101582288742,
0.19315500557422638,
0.2553345263004303,
-0.28836628794670105,
0.32188713550567627,
0.1446813941001892,
0.18924909830093384,
-0.0231647789478302,
-0.25803086161613464,
0.38158300518989563,
0.22598084807395935,
0.015372045338153839,
0.7042694091796875,
-0.02326451614499092,
-0.331172913312912,
-0.19727371633052826,
0.030374251306056976,
-0.26853886246681213,
-0.15525375306606293,
0.12206604331731796,
-0.014737635850906372,
-0.0072672367095947266,
-0.1408083289861679,
-0.16679880023002625,
-0.13566158711910248,
0.004590190015733242,
-0.016651829704642296,
0.12052851170301437,
0.1371827870607376,
0.10749998688697815,
-0.43889757990837097,
0.04749034717679024,
-0.27852004766464233,
0.17895561456680298,
0.07239466160535812,
0.17481276392936707,
-0.3579472303390503,
0.192754328250885,
-0.027325108647346497,
0.1434781700372696,
0.40198904275894165,
-0.4713476002216339,
-0.24995391070842743,
0.2698933184146881,
0.3426712155342102,
0.2382243424654007,
0.07727447152137756,
-0.34966713190078735,
-0.1357618123292923,
0.15733085572719574,
0.09779779613018036,
-0.42001470923423767,
-0.051733870059251785,
0.19610805809497833,
0.12736597657203674,
-0.09312871098518372,
-0.18907587230205536,
-0.08370538055896759,
-0.15153363347053528,
-0.2617388665676117,
0.2788296639919281,
0.10705875605344772,
0.24154295027256012,
-0.11069916933774948,
0.07019557058811188,
0.22425615787506104,
0.19282999634742737,
0.22965498268604279,
0.16011162102222443,
0.33214378356933594,
0.08496930450201035,
-0.24604186415672302,
0.016771240159869194,
-0.047251299023628235,
-0.18122515082359314,
0.145280659198761,
-0.12479102611541748,
0.0021615102887153625,
-0.05526226758956909,
-0.02531963586807251,
0.284526526927948,
0.25259798765182495,
0.17026615142822266,
0.31012311577796936,
-0.13680851459503174,
0.00004854053258895874,
-0.04701585695147514,
0.2538331151008606,
0.3503425121307373,
0.08389745652675629,
-0.20137569308280945,
-0.4100635349750519,
0.07808586210012436,
0.055347371846437454,
-0.14595043659210205,
0.3212289810180664,
0.1495734453201294,
-0.20513468980789185,
0.3402422070503235,
0.19715926051139832,
1.0220718383789062,
0.14872519671916962,
0.059572190046310425,
0.2337343692779541,
-0.27997511625289917,
0.35854867100715637,
-0.13557802140712738,
-0.16423292458057404,
-0.2834811210632324,
-0.030830077826976776,
-0.00018992647528648376,
0.1695936769247055,
0.03549762815237045,
0.16188359260559082,
-0.38230040669441223,
0.24052028357982635,
0.47901707887649536,
-0.2621285915374756,
0.18580327928066254,
0.2848743796348572,
0.39792174100875854,
-0.22837813198566437,
-0.24001076817512512,
0.17034503817558289,
-0.09149180352687836,
0.1597694456577301,
-0.2766735255718231,
-0.19664999842643738,
-0.1675412803888321,
0.016598567366600037,
-0.1515258550643921,
-0.010758837684988976,
-0.1416451632976532,
-0.011952284723520279,
-0.07988254725933075,
0.12438859045505524,
0.0987195372581482,
-0.08468301594257355,
0.4063895344734192,
0.18897677958011627,
-0.028523093089461327,
0.06584995239973068,
0.3770143389701843,
0.03029724210500717,
0.23792853951454163,
-0.14348416030406952,
0.33494091033935547,
-0.1517265886068344,
-0.32108771800994873,
0.03153183311223984,
-0.19545680284500122,
-0.20127660036087036,
-0.4339786469936371,
-0.26142483949661255,
-0.06758621335029602,
0.0179364662617445,
0.0007893582805991173,
0.44293853640556335,
-0.16069430112838745,
-0.19913965463638306,
0.22383007407188416,
0.3109474778175354,
-0.3080560266971588,
0.22481879591941833,
0.06622231751680374,
-0.17587465047836304,
-0.03974037244915962,
-0.1938374638557434,
0.1027439683675766,
-0.40490850806236267,
0.25900378823280334,
0.2807512581348419,
-0.14272719621658325,
-0.333421915769577,
-0.19803348183631897,
0.25979122519493103,
-0.3592509329319,
-0.10173861682415009,
0.0586121529340744,
-0.3950686454772949,
0.07862750440835953,
0.51025390625,
0.32175981998443604,
0.07284950464963913,
0.11173130571842194,
-0.1620398461818695,
-0.31533700227737427,
0.21591852605342865,
-0.24322335422039032,
0.2902727425098419,
0.20098596811294556,
0.050792962312698364,
0.06728080660104752,
0.2580142021179199,
-0.5216336250305176,
-0.15497975051403046,
-0.4639293849468231,
0.1343907117843628,
-0.12368686497211456,
-0.24741995334625244,
-0.020114921033382416,
0.1805320531129837,
0.17493143677711487,
0.0030980929732322693,
-0.2572348713874817,
-0.26231011748313904,
0.017826750874519348,
0.08896993845701218,
0.12149398028850555,
0.0017844983376562595,
0.13312716782093048,
0.3169095516204834,
-0.012453380972146988,
-0.10620366036891937,
0.0030479896813631058,
-0.19027480483055115,
0.029852379113435745,
0.44849541783332825,
0.1476304978132248,
0.11547085642814636,
-0.03474077582359314,
-0.08341716229915619,
0.2129077911376953,
-0.08300818502902985,
0.18869410455226898,
0.1319640874862671,
0.08370441198348999,
-0.23419615626335144,
0.08699124306440353,
0.24537873268127441,
-0.024194933474063873,
0.16078785061836243,
-0.0631786361336708,
-0.019041165709495544,
-0.008107218891382217,
0.126628577709198,
0.39007142186164856,
-0.02080456167459488,
-0.23014675080776215,
-0.29025566577911377,
0.23490172624588013,
0.3466074466705322,
-0.44088152050971985,
0.2083423137664795,
-0.010279349982738495,
-0.21300195157527924,
0.3091806471347809,
0.31746938824653625,
0.24075964093208313,
0.15785939991474152,
0.14703819155693054,
-0.03270295634865761,
-0.003786439076066017,
-0.04415623098611832,
0.10028834640979767,
0.12577052414417267,
-0.2151571661233902,
0.0320349857211113,
0.24130308628082275,
0.16948814690113068,
0.11189711838960648,
0.32128292322158813,
0.076307013630867,
0.5173571705818176,
0.12464381009340286,
0.5432096719741821,
-0.17480000853538513,
-0.01959832012653351,
0.47967270016670227,
0.6422044038772583,
0.18487176299095154,
0.17834751307964325,
0.021442338824272156,
-0.058072008192539215,
0.03540491685271263,
-0.20284362137317657,
-0.1739577353000641,
0.2281244546175003,
-0.3593021333217621,
-0.13971620798110962,
0.0166679285466671,
-0.43232113122940063,
-0.21839658915996552,
-0.2528996169567108,
0.020341234281659126,
0.0508817620575428,
-0.1657930612564087,
-0.0984002947807312,
0.046633269637823105,
-0.1310272514820099,
-0.043032415211200714,
-0.07868087291717529,
0.3024224638938904,
-0.08181911706924438,
0.47971484065055847,
0.1806851029396057,
0.17901989817619324,
0.23031215369701385,
0.341869056224823,
0.10359293222427368,
0.06669054925441742,
-0.11467589437961578,
-0.025548428297042847,
0.05498500168323517,
-0.07795653492212296,
-0.06312359869480133,
0.23235878348350525,
0.23751723766326904,
0.004786055535078049,
0.4606899917125702,
0.13401934504508972,
-0.2766196131706238,
-0.028406132012605667,
0.1103925108909607,
-0.14609895646572113,
0.052350450307130814,
0.16765432059764862,
0.05083971098065376,
0.077635757625103,
-0.30273836851119995,
0.08238419890403748,
-0.34053903818130493,
-0.10108772665262222,
-0.005951855331659317,
-0.26305529475212097,
0.029098521918058395,
-0.24550676345825195,
0.16902336478233337,
0.29724717140197754,
0.1338336318731308,
0.21325165033340454,
0.5344045758247375,
-0.41826653480529785,
-0.36093586683273315,
-0.6293670535087585,
0.17100602388381958,
0.01395951583981514,
-0.12051910161972046,
-0.10340447723865509,
0.1210864931344986,
0.22430679202079773,
0.2055908590555191,
0.0964837521314621,
0.20976342260837555,
0.3034144937992096,
0.14515358209609985,
-0.4227882921695709,
0.1541338860988617,
0.19549685716629028,
0.17779873311519623,
-0.016250325366854668,
0.10809125751256943,
-0.14573341608047485,
0.21976251900196075,
0.242712140083313,
-0.09234781563282013,
-0.0751749724149704,
0.13713976740837097,
0.4210796058177948,
-0.017329081892967224,
0.2282620072364807,
0.4612388014793396,
-0.20349428057670593,
0.036197684705257416,
0.06369438767433167,
-0.0011367532424628735,
-0.3303017020225525,
0.07235930860042572,
0.011277467012405396,
0.22681507468223572,
0.021700477227568626,
0.038746196776628494,
-0.21863986551761627,
-0.24909058213233948,
0.1297546774148941,
0.13928982615470886,
-0.4255366027355194,
0.23587405681610107,
0.2312520146369934,
-0.029278293251991272,
-0.08946707844734192,
0.3726517856121063,
0.15544521808624268,
0.05318363755941391,
-0.4064788818359375,
-0.24717120826244354,
0.44087329506874084,
0.000030294060707092285,
0.05791519954800606,
0.08060562610626221,
0.21656739711761475,
0.13998690247535706,
-0.2713067829608917,
-0.42563411593437195,
-0.07835240662097931,
0.2915307879447937,
0.14590877294540405,
0.18507492542266846,
0.1494309902191162,
-0.21208344399929047,
-0.02845166064798832,
-0.08237048238515854,
0.14635074138641357,
0.10411188751459122,
0.011630238965153694,
0.20570938289165497,
-0.2403532862663269
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | Hi @TheophileBlard thanks for pointing this out. I will give a look at it or maybe if you already done it you can update this PR. Also I haven't added yet the parsing datasets, I submited a request to get access to them. If you already have them, you can also add them. | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 53 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
Hi @TheophileBlard thanks for pointing this out. I will give a look at it or maybe if you already done it you can update this PR. Also I haven't added yet the parsing datasets, I submited a request to get access to them. If you already have them, you can also add them. | [
-0.4506039321422577,
-0.06120167300105095,
-0.175758495926857,
-0.08951950073242188,
0.05036989599466324,
0.0650717094540596,
0.17080022394657135,
0.09234656393527985,
-0.1507469266653061,
0.3206433355808258,
-0.1368865817785263,
0.23401084542274475,
0.233733132481575,
0.27536237239837646,
-0.07386139035224915,
-0.33649903535842896,
-0.016397230327129364,
0.2590106725692749,
0.023262690752744675,
-0.060177866369485855,
-0.299045592546463,
0.27555182576179504,
-0.13863377273082733,
0.04265037924051285,
-0.08947278559207916,
-0.08284147828817368,
-0.08460173010826111,
0.13986414670944214,
-0.12244268506765366,
-0.1762607842683792,
0.018315503373742104,
0.1622491329908371,
0.08511555939912796,
0.07225198298692703,
-0.00009349478932563215,
0.08737188577651978,
0.11824630200862885,
-0.15229222178459167,
-0.1694480925798416,
0.4242978096008301,
0.13331234455108643,
0.005430087447166443,
-0.019459620118141174,
-0.03169088810682297,
-0.3517468571662903,
-0.09742637723684311,
0.025405896827578545,
-0.35750269889831543,
0.12021591514348984,
0.37833231687545776,
0.36612361669540405,
0.012024084106087685,
0.22749917209148407,
-0.23976723849773407,
0.08930463343858719,
-0.1978280395269394,
-0.2784493863582611,
-0.22552822530269623,
0.3070889115333557,
0.20197953283786774,
-0.057335592806339264,
0.3098548948764801,
0.3712921142578125,
0.16632038354873657,
-0.1291346549987793,
0.09099037945270538,
0.2251746654510498,
-0.14346031844615936,
0.20783963799476624,
0.07927727699279785,
0.3278858959674835,
-0.07522699981927872,
-0.2679135501384735,
-0.08471004664897919,
0.04099586233496666,
-0.3447781503200531,
0.02976119890809059,
-0.11921875178813934,
-0.0878494530916214,
0.20740249752998352,
0.23579594492912292,
-0.2888643741607666,
-0.3083805441856384,
0.006588585674762726,
0.004278905689716339,
0.23486915230751038,
-0.07533786445856094,
-0.11636220663785934,
-0.044147733598947525,
-0.012080870568752289,
0.060785483568906784,
0.155671164393425,
-0.1310233473777771,
-0.05183551833033562,
-0.02991262450814247,
-0.10761481523513794,
0.0554211363196373,
-0.09133928269147873,
0.24494341015815735,
0.09455844014883041,
-0.2775712013244629,
0.2475748062133789,
0.07905560731887817,
0.07286490499973297,
0.0727309137582779,
-0.24777381122112274,
0.17539216578006744,
-0.03758353739976883,
0.2364860326051712,
-0.10616276413202286,
0.1134520024061203,
-0.29410427808761597,
-0.028168056160211563,
-0.0712333470582962,
-0.3822341859340668,
0.07426536083221436,
0.0008989665657281876,
-0.38894087076187134,
-0.15799394249916077,
-0.018457040190696716,
0.3110569715499878,
0.0306559931486845,
-0.09620696306228638,
0.4967639744281769,
0.11574134230613708,
0.11951933056116104,
-0.039257436990737915,
0.1274927258491516,
-0.1953059285879135,
-0.4329013526439667,
-0.3568216860294342,
-0.08524495363235474,
-0.18852700293064117,
-0.1410161256790161,
0.22256581485271454,
-0.23837819695472717,
0.4057070016860962,
0.016887646168470383,
0.09384486079216003,
0.136958509683609,
0.05634696036577225,
-0.09239274263381958,
0.17215800285339355,
0.09150947630405426,
0.08369046449661255,
-0.08015444129705429,
0.09003644436597824,
0.1317354142665863,
-0.13972386717796326,
-0.10873246937990189,
-0.07676004618406296,
-0.1702979952096939,
-0.44929641485214233,
0.33942359685897827,
0.18506799638271332,
-0.3667842745780945,
0.08801662921905518,
0.36113473773002625,
-0.18781724572181702,
-0.2442973107099533,
-0.06956622749567032,
0.04951830208301544,
-0.039394982159137726,
-0.11970210820436478,
0.1703430563211441,
0.13522732257843018,
-0.45038294792175293,
-0.048137910664081573,
-0.16558827459812164,
-0.4949181377887726,
0.445665568113327,
0.02246101200580597,
-0.04490731656551361,
-0.044186048209667206,
-0.29883965849876404,
0.12549474835395813,
0.08139536529779434,
-0.07025885581970215,
-0.029299559071660042,
0.09653808176517487,
-0.19494491815567017,
-0.07098031044006348,
0.15096892416477203,
-0.06636206060647964,
0.15257015824317932,
-0.023660926148295403,
0.11545532941818237,
0.39401012659072876,
-0.1898113638162613,
0.2384842336177826,
-0.16635756194591522,
-0.09007765352725983,
-0.17408885061740875,
0.1058114767074585,
0.21603508293628693,
0.021390944719314575,
0.16343168914318085,
0.027788911014795303,
0.23986056447029114,
-0.12933385372161865,
0.1676812469959259,
0.1982991248369217,
0.26763904094696045,
0.2600170373916626,
-0.028339624404907227,
0.03283022344112396,
-0.09877299517393112,
-0.16279330849647522,
-0.10606268793344498,
0.22152617573738098,
0.3388500213623047,
-0.2614547610282898,
-0.15487724542617798,
-0.02590595930814743,
-0.24488793313503265,
-0.4247218370437622,
0.39127248525619507,
0.3345898985862732,
-0.11645911633968353,
-0.02382292039692402,
-0.08296327292919159,
0.13577857613563538,
-0.12528492510318756,
-0.0001519162324257195,
0.11287185549736023,
0.04261576384305954,
-0.1944996863603592,
-0.19207163155078888,
0.12163005769252777,
0.010677561163902283,
-0.027133174240589142,
-0.00978565588593483,
-0.0001275762915611267,
0.1966802477836609,
0.07329822331666946,
0.06079566478729248,
0.35681137442588806,
0.06686417758464813,
0.04432849958539009,
-0.12879857420921326,
-0.043684110045433044,
0.01671774685382843,
-0.012198667973279953,
0.02162836492061615,
-0.14388954639434814,
0.3281809687614441,
0.24442319571971893,
-0.0969758853316307,
0.06830433756113052,
-0.03867676854133606,
0.46631577610969543,
-0.1390986144542694,
0.17888261377811432,
-0.38770219683647156,
0.03439345955848694,
-0.0808967798948288,
0.09816804528236389,
-0.2967810332775116,
-0.6096006035804749,
0.2179105281829834,
0.20074252784252167,
0.2644120156764984,
0.12827499210834503,
0.09629788994789124,
-0.25721475481987,
-0.11954287439584732,
0.2675076127052307,
-0.2328769564628601,
0.10383474826812744,
0.47650671005249023,
0.32389965653419495,
0.028891637921333313,
-0.05434103310108185,
-0.25216615200042725,
0.26797986030578613,
-0.05686269700527191,
0.008560573682188988,
0.2506392300128937,
0.021279258653521538,
-0.26474690437316895,
-0.6677048206329346,
-0.08532001078128815,
-0.0893632099032402,
0.17831860482692719,
-0.16378019750118256,
-0.24960212409496307,
-0.06247648596763611,
-0.20800048112869263,
0.10217080265283585,
0.02685866877436638,
-0.02315094694495201,
-0.40701398253440857,
0.39620888233184814,
0.0676291286945343,
-0.2674373984336853,
0.1589367687702179,
-0.0948515236377716,
0.3345041871070862,
0.07158851623535156,
0.15598231554031372,
-0.33441412448883057,
0.06711552292108536,
-0.3666086792945862,
0.4075276851654053,
-0.19523601233959198,
0.02609734795987606,
0.3403193950653076,
-0.11086679250001907,
0.40313488245010376,
-0.3888476490974426,
-0.4263095557689667,
0.38611364364624023,
0.022901564836502075,
0.47190535068511963,
0.1889934539794922,
0.2641884684562683,
0.1319638192653656,
-0.2783452570438385,
0.06647887080907822,
-0.3876855969429016,
-0.26671698689460754,
-0.11234906315803528,
-0.165015310049057,
0.1683051884174347,
-0.17823131382465363,
-0.5353164672851562,
-0.0207152608782053,
-0.3455156683921814,
0.15010368824005127,
-0.009649598971009254,
0.10201118886470795,
-0.09557876735925674,
0.0898527055978775,
0.1273575723171234,
-0.2811833620071411,
0.13724885880947113,
-0.4264160394668579,
-0.2145807147026062,
0.21924850344657898,
-0.5424954295158386,
-0.2848441004753113,
0.038194868713617325,
-0.029904955998063087,
0.18722142279148102,
-0.25922489166259766,
-0.15317833423614502,
-0.11101866513490677,
-0.02033897675573826,
0.1792326718568802,
0.019076740369200706,
-0.005020255222916603,
0.192501500248909,
-0.056518327444791794,
-0.3465411067008972,
-0.2039945423603058,
-0.03872653469443321,
0.09620888531208038,
-0.14222154021263123,
0.24516886472702026,
-0.2546346187591553,
0.13301172852516174,
-0.12239684164524078,
0.26796120405197144,
0.0521574430167675,
-0.04866734519600868,
0.36381015181541443,
-0.1662653088569641,
0.36640945076942444,
-0.12846168875694275,
0.014348762109875679,
0.19429853558540344,
0.1408148556947708,
0.10690231621265411,
0.5779049396514893,
0.11592015624046326,
-0.22869229316711426,
-0.104437917470932,
-0.03640468418598175,
-0.19984301924705505,
-0.23353414237499237,
-0.042654529213905334,
0.19886064529418945,
0.016432344913482666,
-0.16936756670475006,
-0.023748084902763367,
-0.25249597430229187,
0.05608458071947098,
0.10898956656455994,
0.16624446213245392,
0.020202964544296265,
-0.12919795513153076,
-0.04247124865651131,
0.14650940895080566,
-0.38730478286743164,
0.26168006658554077,
-0.13083185255527496,
0.2563663721084595,
-0.27538740634918213,
-0.01330101490020752,
0.09834680706262589,
-0.027789704501628876,
0.4163493514060974,
-0.5566956996917725,
-0.13552740216255188,
0.04566732421517372,
-0.043578486889600754,
0.09097494930028915,
0.183227077126503,
-0.4558931887149811,
-0.04114539176225662,
0.17186377942562103,
0.1554042100906372,
-0.34742677211761475,
-0.02760280855000019,
0.4734259247779846,
-0.11717737466096878,
-0.0754011943936348,
0.006837322376668453,
-0.1264777034521103,
-0.266102135181427,
-0.2823209762573242,
0.32778990268707275,
-0.02221885696053505,
0.09152954816818237,
0.018233412876725197,
-0.04552147909998894,
-0.09936174750328064,
0.024464771151542664,
0.1526499092578888,
0.24284054338932037,
0.2260802686214447,
0.06879362463951111,
-0.11572447419166565,
0.0996333584189415,
-0.20618343353271484,
0.42319604754447937,
0.2763218879699707,
0.09305241703987122,
-0.22211354970932007,
0.1491086483001709,
-0.34940940141677856,
0.3566665053367615,
0.1789262890815735,
0.038914162665605545,
0.24407100677490234,
-0.25483250617980957,
0.1340675950050354,
0.08207422494888306,
0.3398374021053314,
0.10463082045316696,
0.035022150725126266,
0.005039213690906763,
-0.27589908242225647,
0.09160660207271576,
-0.00024457648396492004,
-0.15563520789146423,
0.3545759618282318,
-0.02266455441713333,
-0.28109121322631836,
0.23005075752735138,
0.2707977592945099,
0.7411083579063416,
0.11551209539175034,
-0.1334223598241806,
0.09553742408752441,
-0.27521467208862305,
0.046226657927036285,
-0.4670308232307434,
0.03507804125547409,
-0.10311941802501678,
-0.3024293780326843,
-0.0019441749900579453,
0.1935039758682251,
0.30447399616241455,
0.14161653816699982,
-0.29735347628593445,
0.007626666687428951,
0.20664136111736298,
-0.12373700737953186,
0.09505844116210938,
0.32492589950561523,
-0.0508919358253479,
-0.17129205167293549,
0.01641111634671688,
0.28042563796043396,
-0.03206278383731842,
0.03259297460317612,
-0.15004301071166992,
-0.2269093096256256,
0.05969485267996788,
-0.13755258917808533,
-0.16797316074371338,
0.03304242342710495,
-0.14248500764369965,
-0.11153872311115265,
-0.0833214670419693,
0.03866957128047943,
-0.11459901928901672,
-0.15429963171482086,
0.3707057237625122,
0.23919712007045746,
-0.2024199366569519,
0.25679486989974976,
0.18487411737442017,
-0.2191583216190338,
-0.24470047652721405,
0.015753529965877533,
0.1268489956855774,
-0.24690553545951843,
-0.21867913007736206,
0.21753865480422974,
-0.1419270932674408,
-0.3840710520744324,
-0.16957451403141022,
-0.13722765445709229,
-0.13137048482894897,
-0.016821634024381638,
0.13673914968967438,
0.2669937014579773,
-0.1265856921672821,
-0.3320179879665375,
0.281627357006073,
0.10607607662677765,
-0.14174199104309082,
-0.008118383586406708,
0.37208858132362366,
-0.14797614514827728,
-0.19701184332370758,
0.10352431982755661,
0.014705747365951538,
-0.17640893161296844,
0.36235934495925903,
0.27289968729019165,
-0.2714606523513794,
-0.42418456077575684,
-0.3567671775817871,
0.2942620515823364,
-0.333527147769928,
0.024264875799417496,
0.1509767323732376,
-0.36813443899154663,
0.33436548709869385,
0.31395354866981506,
0.05314032733440399,
-0.036037690937519073,
-0.24327784776687622,
0.030551202595233917,
-0.3756049573421478,
-0.001107528805732727,
-0.2516094744205475,
0.44100114703178406,
0.07516355812549591,
0.24581460654735565,
0.19503557682037354,
-0.06011717766523361,
-0.5392282009124756,
-0.07819504290819168,
-0.32928037643432617,
0.030591700226068497,
-0.19535423815250397,
-0.0786595419049263,
0.024223027750849724,
0.03397130221128464,
0.2572559416294098,
-0.009029213339090347,
-0.24460148811340332,
-0.31227508187294006,
-0.00010135583579540253,
0.07332280278205872,
-0.09736450761556625,
0.111915722489357,
-0.05825200304389,
0.22788242995738983,
-0.35094183683395386,
-0.035785384476184845,
0.32835713028907776,
-0.05309925973415375,
-0.02978508174419403,
0.2120579034090042,
0.4051254987716675,
0.016867902129888535,
0.17171445488929749,
-0.19343575835227966,
0.12340176105499268,
0.14215195178985596,
-0.03116864152252674,
0.006160438060760498,
-0.2385452538728714,
-0.14392119646072388,
0.5510643124580383,
0.29737162590026855,
0.1203642189502716,
0.2271450161933899,
0.09697641432285309,
0.10656532645225525,
-0.1429603546857834,
0.27883586287498474,
-0.0411796048283577,
-0.05361358821392059,
0.005766295827925205,
-0.07281225919723511,
0.14917713403701782,
0.44974833726882935,
-0.4245915114879608,
0.13224531710147858,
0.02939736470580101,
-0.09072532504796982,
0.36442676186561584,
0.11963190883398056,
0.2806539833545685,
0.055796608328819275,
0.18218401074409485,
0.23466917872428894,
0.1519671082496643,
-0.043356895446777344,
0.06552235037088394,
0.24986755847930908,
-0.2119733691215515,
0.0005143620073795319,
0.24981819093227386,
0.18076346814632416,
0.20474541187286377,
0.3069695830345154,
0.09642921388149261,
0.25576362013816833,
0.17254042625427246,
0.18660493195056915,
0.14508849382400513,
-0.20473182201385498,
0.26320645213127136,
0.3115731477737427,
0.13959260284900665,
0.20875051617622375,
0.30471622943878174,
-0.00612930953502655,
0.10990956425666809,
-0.03580638766288757,
-0.4575086236000061,
0.23007158935070038,
-0.20152491331100464,
-0.13161861896514893,
-0.13844382762908936,
-0.1880810409784317,
-0.0484355092048645,
-0.129962757229805,
0.09252558648586273,
0.13052816689014435,
0.07634443044662476,
-0.23130755126476288,
0.06485086679458618,
-0.10525655746459961,
0.23659539222717285,
0.032987385988235474,
0.12315095961093903,
-0.052621468901634216,
0.289562463760376,
0.13075143098831177,
-0.07993027567863464,
0.29903069138526917,
0.39420080184936523,
0.11078368872404099,
-0.05237410217523575,
0.13890032470226288,
0.03876517340540886,
0.015379275195300579,
-0.08982482552528381,
-0.1789208948612213,
0.16528943181037903,
0.24320419132709503,
0.2612341046333313,
0.37728285789489746,
0.3112082779407501,
-0.34633633494377136,
-0.03412378206849098,
-0.018211957067251205,
0.0018462426960468292,
0.04187290370464325,
-0.0693337544798851,
0.2589193284511566,
-0.10812520235776901,
-0.11134660243988037,
-0.24444648623466492,
-0.2710695266723633,
-0.2915331721305847,
0.1871427297592163,
-0.39290711283683777,
-0.09237120300531387,
-0.07703237980604172,
0.1932700127363205,
0.21339678764343262,
0.2778201401233673,
0.2245635837316513,
0.13005976378917694,
-0.11232113093137741,
-0.42591506242752075,
-0.3710433542728424,
0.25680363178253174,
-0.0858570784330368,
-0.05225537344813347,
-0.02731693536043167,
0.13318444788455963,
0.3972087800502777,
0.21976137161254883,
0.1562524437904358,
0.024209851399064064,
0.06336937844753265,
0.218133345246315,
-0.392096608877182,
0.11895205080509186,
0.364498496055603,
0.11060205101966858,
0.13686995208263397,
-0.12005534023046494,
0.10121111571788788,
0.2032037228345871,
0.3139633238315582,
-0.08050306141376495,
0.0018867552280426025,
0.1160803884267807,
-0.1313467174768448,
0.25105100870132446,
0.08690746128559113,
0.32233256101608276,
-0.4359932541847229,
0.11560951918363571,
-0.1054401695728302,
-0.14191468060016632,
-0.27576541900634766,
0.013991814106702805,
0.061230696737766266,
0.09350429475307465,
0.1553797572851181,
-0.3507286608219147,
-0.052889030426740646,
-0.008276823908090591,
0.1678263545036316,
0.3208008110523224,
-0.2781420052051544,
0.5685825347900391,
-0.024675287306308746,
-0.18391722440719604,
-0.12973596155643463,
0.026734089478850365,
0.07167112082242966,
-0.24452310800552368,
-0.11859753727912903,
-0.5469496846199036,
0.2749633193016052,
-0.01606820523738861,
-0.256065309047699,
-0.23203660547733307,
0.1798732876777649,
0.21131813526153564,
0.08517322689294815,
-0.45316535234451294,
0.18141469359397888,
0.14507292211055756,
0.083747997879982,
-0.021372288465499878,
0.17355364561080933,
-0.07300281524658203,
-0.04127076268196106,
-0.15251576900482178,
0.34277597069740295,
0.23461562395095825,
-0.022398725152015686,
-0.2568751871585846,
-0.2762899100780487
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | Hi,
As @TheophileBlard pointed out, the labels for the vsd and nsd stains are missing.
For the wsd, it is my mistake, I added the files containing the labels on the drive.
There is still the join to do between the files that I didn't have time to do. It can be done after importing the two files, however if you wish to have a single dataframe already containing all the information, I could do it but only when I have free time because I have a lot of work at the moment at INSERM with the covid.
For the nsd, I've downloaded the files at https://zenodo.org/record/3549806, and if you do the same you'll see that they don't contain any labels.
In the files, you can see that some words have a WN code. I don't know what it corresponds to. On the FLUE github, they say to use the disambiguate tool (https://github.com/getalp/disambiguate) but I don't understand what he's doing.
@mariamabarham for the parsing datasets, I have them in my possession. What it does that I haven't shared them is that they are licensed and you have to make a request to their creators. They give them away very easily for research purposes. For another use, you have to ask a commercial licence. All this means that if the data is freely available on your librairy, their licence and their application form are no longer of interest, which is why I did not add them.
Afterwards, maybe the authors will change their policies and decide to make the data freely available through your librairy | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 264 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
Hi,
As @TheophileBlard pointed out, the labels for the vsd and nsd stains are missing.
For the wsd, it is my mistake, I added the files containing the labels on the drive.
There is still the join to do between the files that I didn't have time to do. It can be done after importing the two files, however if you wish to have a single dataframe already containing all the information, I could do it but only when I have free time because I have a lot of work at the moment at INSERM with the covid.
For the nsd, I've downloaded the files at https://zenodo.org/record/3549806, and if you do the same you'll see that they don't contain any labels.
In the files, you can see that some words have a WN code. I don't know what it corresponds to. On the FLUE github, they say to use the disambiguate tool (https://github.com/getalp/disambiguate) but I don't understand what he's doing.
@mariamabarham for the parsing datasets, I have them in my possession. What it does that I haven't shared them is that they are licensed and you have to make a request to their creators. They give them away very easily for research purposes. For another use, you have to ask a commercial licence. All this means that if the data is freely available on your librairy, their licence and their application form are no longer of interest, which is why I did not add them.
Afterwards, maybe the authors will change their policies and decide to make the data freely available through your librairy | [
0.05677110329270363,
0.15635180473327637,
0.015582121908664703,
0.2716442346572876,
-0.065101258456707,
0.3276733160018921,
0.3589494824409485,
-0.08354911208152771,
-0.06527899205684662,
0.2369012087583542,
-0.32640159130096436,
-0.1636364907026291,
0.19009801745414734,
0.076145701110363,
-0.0023407908156514168,
-0.2876349985599518,
-0.0061555057764053345,
0.23802344501018524,
-0.00910612940788269,
-0.3481374979019165,
-0.21814125776290894,
0.28189530968666077,
-0.27045613527297974,
0.13961155712604523,
-0.30321359634399414,
-0.18303519487380981,
-0.5070187449455261,
0.2893763482570648,
0.00928487628698349,
-0.044564224779605865,
0.2366095632314682,
0.20120692253112793,
0.26279065012931824,
0.24657544493675232,
-0.00010581973765511066,
-0.30861204862594604,
0.007098976522684097,
-0.19640542566776276,
-0.10966987907886505,
0.310650497674942,
0.0815105214715004,
0.023483993485569954,
0.1663549840450287,
-0.17463937401771545,
-0.15851670503616333,
-0.19287298619747162,
-0.33343085646629333,
-0.3952081799507141,
0.193144291639328,
0.2132430374622345,
0.2475757747888565,
-0.1335981786251068,
0.3613017201423645,
-0.06800078600645065,
0.4644787311553955,
-0.05222459137439728,
-0.13437148928642273,
0.01562229823321104,
0.4574069380760193,
0.17331556975841522,
0.11365626752376556,
0.3505106568336487,
0.21342511475086212,
0.017972512170672417,
0.022246550768613815,
0.2517278492450714,
0.07644754648208618,
-0.38090020418167114,
0.1085798516869545,
0.4023170471191406,
0.5619104504585266,
-0.06326889991760254,
-0.3965112268924713,
-0.1675308346748352,
0.23067128658294678,
-0.3187110126018524,
-0.08966714888811111,
-0.11360140889883041,
0.03318607062101364,
0.061037205159664154,
0.20775264501571655,
-0.15182755887508392,
-0.20274251699447632,
0.0941837877035141,
0.003368377685546875,
0.019195370376110077,
0.026835598051548004,
-0.004427090287208557,
-0.20672665536403656,
-0.011096034198999405,
0.02307092398405075,
-0.09443539381027222,
-0.18313805758953094,
0.22858981788158417,
-0.012500371783971786,
-0.20711129903793335,
-0.1159118041396141,
-0.10187070816755295,
0.1381990909576416,
0.1115288957953453,
-0.4876371920108795,
-0.08011555671691895,
-0.22083890438079834,
-0.0462988018989563,
0.029740318655967712,
0.21154192090034485,
0.005819655954837799,
0.020801566541194916,
0.027190307155251503,
-0.31365054845809937,
0.13955797255039215,
-0.15778401494026184,
-0.17345678806304932,
0.11537766456604004,
-0.48034214973449707,
-0.1241908147931099,
-0.13877923786640167,
-0.6072552800178528,
-0.17476101219654083,
-0.1015540212392807,
-0.04413997009396553,
-0.10342466831207275,
-0.16353590786457062,
0.4902503192424774,
0.05169620364904404,
0.12037241458892822,
0.15440131723880768,
-0.036199286580085754,
0.07367055118083954,
-0.2663756310939789,
-0.35035833716392517,
0.09742863476276398,
-0.24681101739406586,
0.06891123950481415,
0.21381975710391998,
-0.35383281111717224,
0.38424593210220337,
-0.10213585942983627,
0.023545455187559128,
0.16520215570926666,
-0.11880870163440704,
-0.2393002063035965,
0.40524983406066895,
0.23275822401046753,
-0.028801776468753815,
0.27103716135025024,
0.03332020342350006,
-0.26810598373413086,
-0.19397345185279846,
-0.054200462996959686,
-0.08363571017980576,
-0.1831720769405365,
-0.5791179537773132,
0.21630965173244476,
-0.12506181001663208,
-0.18337254226207733,
0.041461873799562454,
0.19457808136940002,
-0.20043271780014038,
-0.2612503170967102,
-0.05403725057840347,
-0.08696864545345306,
0.23851129412651062,
-0.30632829666137695,
0.43980005383491516,
0.41411614418029785,
-0.6857483983039856,
-0.0613696351647377,
-0.0885801911354065,
-0.33676305413246155,
0.33454152941703796,
0.1226225197315216,
-0.13917815685272217,
0.027777984738349915,
-0.2446487694978714,
0.16987566649913788,
0.1352834552526474,
-0.1907162368297577,
-0.1096714660525322,
0.13069653511047363,
0.13574230670928955,
0.14599518477916718,
-0.0029210448265075684,
-0.031193744391202927,
0.2794853448867798,
-0.0681714415550232,
0.012087404727935791,
0.4748385548591614,
-0.10344751179218292,
-0.06015937775373459,
-0.2629789710044861,
-0.1499854475259781,
-0.014345631003379822,
0.1460365504026413,
0.20219767093658447,
-0.03904388099908829,
0.10336285829544067,
-0.03820972517132759,
0.3290324807167053,
-0.056884925812482834,
0.20552828907966614,
0.16070125997066498,
0.17903536558151245,
0.5089998841285706,
-0.02464253082871437,
0.15061357617378235,
-0.2800304889678955,
-0.0324980691075325,
0.010772816836833954,
0.49757957458496094,
0.21622425317764282,
-0.17999641597270966,
-0.12643158435821533,
-0.05603566765785217,
-0.34608444571495056,
-0.6419600248336792,
0.23309236764907837,
0.3971761167049408,
-0.014242155477404594,
-0.13044477999210358,
-0.14311715960502625,
0.13278067111968994,
-0.12308207899332047,
0.04647376015782356,
-0.08564402163028717,
0.25065168738365173,
-0.24511800706386566,
-0.20413273572921753,
0.057445280253887177,
0.39956527948379517,
-0.06234689801931381,
-0.03769553452730179,
-0.12130985409021378,
0.12934578955173492,
-0.15922299027442932,
-0.24768085777759552,
0.3643810451030731,
0.23184536397457123,
0.20789308845996857,
-0.26850488781929016,
-0.010385787114501,
0.038531333208084106,
0.3108307719230652,
-0.28206783533096313,
-0.21213483810424805,
0.1686173379421234,
-0.25138580799102783,
0.15121658146381378,
0.00896645337343216,
-0.038785383105278015,
0.4259614646434784,
-0.08134530484676361,
0.02714664675295353,
-0.32205501198768616,
0.0835774764418602,
-0.1704479604959488,
0.2081601917743683,
-0.11113649606704712,
-0.3438105583190918,
0.09049582481384277,
0.2154207080602646,
0.016987483948469162,
-0.08008859306573868,
0.014885753393173218,
-0.588079571723938,
-0.11140691488981247,
0.3275352418422699,
-0.16666960716247559,
0.3255225121974945,
0.3248850107192993,
0.12461873888969421,
-0.003727644681930542,
0.08105697482824326,
-0.1810871809720993,
0.08304424583911896,
0.007718183100223541,
0.15742351114749908,
0.029407601803541183,
-0.06403420120477676,
0.24097976088523865,
-0.20771971344947815,
-0.259365439414978,
-0.04392839968204498,
0.19790837168693542,
-0.05095002055168152,
-0.2577138841152191,
-0.01310220267623663,
-0.30018752813339233,
0.01618977077305317,
-0.4938090443611145,
-0.21563853323459625,
-0.5577667355537415,
0.226680189371109,
-0.2223053276538849,
-0.1450181007385254,
0.08194758743047714,
-0.13087643682956696,
0.24673131108283997,
-0.1463961899280548,
0.1974526196718216,
-0.4338532090187073,
-0.07739672064781189,
-0.5436016917228699,
0.2762974500656128,
-0.039113886654376984,
0.1789618283510208,
0.43865999579429626,
-0.0890808030962944,
0.4125480055809021,
-0.22785353660583496,
-0.33359092473983765,
0.3808656632900238,
-0.13627825677394867,
0.5529651641845703,
0.12182744592428207,
0.16949748992919922,
0.17065103352069855,
-0.368036150932312,
0.042868711054325104,
-0.19487667083740234,
-0.071068674325943,
-0.2048184871673584,
-0.16405054926872253,
-0.01966855116188526,
-0.06089920178055763,
-0.608687162399292,
-0.4110133945941925,
-0.19666776061058044,
0.0027047768235206604,
-0.049148980528116226,
0.11032076925039291,
0.010058227926492691,
-0.16313113272190094,
0.23179471492767334,
-0.041576676070690155,
0.34380432963371277,
-0.32376202940940857,
-0.1340043693780899,
0.234061136841774,
-0.3660848140716553,
-0.34105539321899414,
0.27593281865119934,
-0.048675164580345154,
0.014338348060846329,
-0.24040091037750244,
-0.2407068908214569,
0.15182074904441833,
0.028196390718221664,
0.28049567341804504,
0.20292367041110992,
-0.010492628440260887,
0.3470783233642578,
0.10800229012966156,
-0.1036054864525795,
-0.12358761578798294,
-0.15658387541770935,
0.004085160791873932,
-0.3124231994152069,
0.3330998122692108,
-0.1812237799167633,
0.002758115530014038,
-0.22591406106948853,
0.2621457576751709,
0.2672068476676941,
-0.25908979773521423,
0.12704265117645264,
0.10706404596567154,
0.43742290139198303,
-0.09567181020975113,
-0.19931624829769135,
0.38061708211898804,
0.13633036613464355,
0.2668665647506714,
0.6822037696838379,
0.2074814736843109,
-0.021877439692616463,
-0.2998146414756775,
0.02700876072049141,
-0.44228750467300415,
-0.1566728800535202,
-0.09309937059879303,
-0.0667891800403595,
-0.11886494606733322,
-0.125551238656044,
-0.04765825718641281,
0.01579912379384041,
-0.20112165808677673,
0.12135805189609528,
0.5642886757850647,
0.13356587290763855,
0.10008104145526886,
-0.2109474390745163,
0.17300637066364288,
-0.22506162524223328,
0.14435990154743195,
-0.21472035348415375,
0.18650752305984497,
-0.18595948815345764,
0.11447242647409439,
0.0774371474981308,
0.1965334117412567,
0.31415605545043945,
-0.692953884601593,
-0.357857882976532,
0.29139137268066406,
0.08830256760120392,
0.20644617080688477,
-0.024167656898498535,
-0.43520280718803406,
-0.3357178866863251,
0.2902435064315796,
0.17259752750396729,
-0.34820157289505005,
-0.09541602432727814,
0.6287274360656738,
0.28904369473457336,
-0.26569756865501404,
-0.19623294472694397,
0.08638186752796173,
-0.33433014154434204,
-0.25373876094818115,
-0.0610751137137413,
-0.20286400616168976,
0.298027902841568,
-0.1818302869796753,
-0.03423810005187988,
-0.23372556269168854,
0.22634074091911316,
0.37822651863098145,
0.27400651574134827,
0.14355990290641785,
0.25104591250419617,
-0.036696821451187134,
0.20085391402244568,
0.28582561016082764,
0.20299020409584045,
0.14900104701519012,
-0.30114224553108215,
-0.1369752585887909,
0.22119823098182678,
-0.4070887863636017,
0.3856033384799957,
0.22424614429473877,
-0.026474852114915848,
0.05289854854345322,
-0.37464872002601624,
-0.13219201564788818,
0.07429631799459457,
0.39424359798431396,
0.1876479834318161,
0.05452830344438553,
-0.14398527145385742,
-0.4098363220691681,
0.08040634542703629,
0.11482617259025574,
-0.24071793258190155,
0.43723592162132263,
0.2222777158021927,
-0.24893148243427277,
0.4787040948867798,
0.18335896730422974,
1.0300318002700806,
-0.011755123734474182,
-0.06972737610340118,
0.12249746918678284,
-0.1405739039182663,
0.3990129232406616,
-0.13057689368724823,
-0.13231465220451355,
-0.12844941020011902,
-0.31358271837234497,
-0.030993454158306122,
0.1459197849035263,
0.1917319893836975,
0.11498361080884933,
-0.1408235877752304,
0.28929856419563293,
0.4194958209991455,
0.06348200142383575,
0.2832755744457245,
0.2791002094745636,
0.48401299118995667,
-0.4030626118183136,
-0.06814130395650864,
0.15592561662197113,
0.01897420734167099,
0.42466676235198975,
-0.13969317078590393,
-0.18844035267829895,
-0.11064410209655762,
0.04782833904027939,
-0.3384425640106201,
0.16066107153892517,
-0.1577407866716385,
-0.06879100948572159,
-0.21946600079536438,
-0.09313785284757614,
-0.037981897592544556,
0.08070597797632217,
0.4596843719482422,
0.27919769287109375,
-0.03523346781730652,
0.028053008019924164,
0.15666821599006653,
-0.10359419137239456,
-0.11104180663824081,
0.020896513015031815,
0.47829556465148926,
-0.15046438574790955,
-0.1020783856511116,
0.4726821780204773,
-0.18671806156635284,
-0.15748873353004456,
-0.3832005262374878,
-0.18653716146945953,
-0.08222444355487823,
-0.06153976544737816,
0.09293662011623383,
0.5068826675415039,
-0.07476181536912918,
-0.3225598633289337,
0.15543711185455322,
0.2541463077068329,
-0.2884523570537567,
0.2077377736568451,
0.2522791624069214,
-0.24107658863067627,
-0.2522331476211548,
-0.030063927173614502,
0.21648317575454712,
-0.3023867905139923,
0.42925581336021423,
0.40256765484809875,
-0.12830230593681335,
-0.2274511158466339,
-0.24994459748268127,
0.5444967150688171,
-0.5716401934623718,
-0.2376314401626587,
0.09636589884757996,
-0.2565857172012329,
0.1059008464217186,
0.4717959761619568,
0.42619484663009644,
0.06528150290250778,
-0.164518341422081,
-0.2849690914154053,
-0.23857025802135468,
0.16406121850013733,
-0.12237957119941711,
0.4453696608543396,
-0.026938263326883316,
0.21496552228927612,
0.16963757574558258,
0.33580949902534485,
-0.43675899505615234,
-0.059540994465351105,
-0.3939039707183838,
-0.028641611337661743,
-0.08691137284040451,
0.1498914659023285,
0.12507471442222595,
0.084034264087677,
0.12189707159996033,
-0.12141019105911255,
-0.073595330119133,
-0.08187666535377502,
0.11240820586681366,
0.12055342644453049,
0.013852995820343494,
0.012933583930134773,
-0.1989353746175766,
0.11381003260612488,
-0.1064993143081665,
-0.19465318322181702,
0.2727784812450409,
-0.08984816074371338,
-0.05393762141466141,
0.26130804419517517,
0.09691181778907776,
0.14997179806232452,
-0.2599969506263733,
0.17790977656841278,
0.2439500391483307,
0.1065845638513565,
0.16819623112678528,
0.04050659388303757,
-0.05921977013349533,
-0.25721102952957153,
0.3943512439727783,
0.10186349600553513,
-0.3201029300689697,
0.05781684070825577,
0.21371373534202576,
-0.07459346950054169,
-0.04348025843501091,
0.4363694489002228,
0.04155934602022171,
-0.12023085355758667,
-0.030706394463777542,
0.10661618411540985,
0.07922019809484482,
0.23802393674850464,
-0.41918742656707764,
0.2549344599246979,
-0.13403141498565674,
-0.06237104535102844,
0.12766215205192566,
0.11332576721906662,
0.16292618215084076,
-0.02351904660463333,
-0.0630030632019043,
0.0015896707773208618,
0.25413796305656433,
0.03644841909408569,
0.10505610704421997,
0.41349658370018005,
-0.2450910210609436,
0.04637037217617035,
0.28010594844818115,
0.21178628504276276,
-0.2155364751815796,
-0.0343603789806366,
-0.042980290949344635,
0.44760218262672424,
-0.07122165709733963,
0.15303778648376465,
0.1614275574684143,
-0.217440664768219,
0.3439014256000519,
0.4819508194923401,
0.3240009844303131,
0.062153160572052,
-0.07865391671657562,
-0.030559323728084564,
0.0841221734881401,
-0.1894780844449997,
-0.22077830135822296,
0.3465825915336609,
-0.19795554876327515,
0.036778826266527176,
-0.00914742797613144,
-0.37873196601867676,
-0.11298178136348724,
-0.22414925694465637,
-0.029441658407449722,
-0.21112988889217377,
0.0031653568148612976,
-0.19864217936992645,
-0.1586550921201706,
-0.30353257060050964,
0.10047152638435364,
0.10013659298419952,
0.061178646981716156,
0.0761166512966156,
0.3771911859512329,
0.24423877894878387,
0.2117699682712555,
0.18938851356506348,
0.42479896545410156,
0.06474573165178299,
0.05049252137541771,
0.15214580297470093,
0.10388001054525375,
-0.004700697958469391,
-0.22473053634166718,
0.13707567751407623,
0.3892718255519867,
0.14646458625793457,
-0.027709968388080597,
0.45078611373901367,
0.15701450407505035,
-0.20242688059806824,
-0.010190952569246292,
-0.13053548336029053,
0.21130141615867615,
0.029191024601459503,
-0.052274979650974274,
-0.006738100200891495,
-0.24259424209594727,
0.01596309244632721,
-0.018700063228607178,
-0.19507887959480286,
-0.08919671922922134,
0.2232283502817154,
-0.3460107147693634,
-0.13718336820602417,
-0.05442947894334793,
0.11624866724014282,
0.15009285509586334,
0.14178545773029327,
0.41160911321640015,
0.2755677103996277,
-0.24767181277275085,
-0.3624482750892639,
-0.5693790912628174,
0.06284733861684799,
-0.046892356127500534,
-0.17836308479309082,
-0.20335805416107178,
0.1052108183503151,
0.4231075644493103,
-0.0021428540349006653,
-0.03961007297039032,
0.1048990935087204,
0.428690642118454,
0.12133610993623734,
-0.4093977212905884,
-0.08401215076446533,
0.2769794762134552,
0.1542048156261444,
-0.09488227218389511,
0.0373479425907135,
-0.027882080525159836,
0.27741146087646484,
0.1293800175189972,
-0.18310944736003876,
0.09950341284275055,
0.16084963083267212,
0.3357284665107727,
0.06149973347783089,
0.2469169646501541,
0.5738584399223328,
-0.10384082794189453,
0.17687809467315674,
-0.03059602901339531,
-0.2333405762910843,
-0.03517286852002144,
0.2278153896331787,
-0.013171065598726273,
0.006477104499936104,
0.1452649086713791,
-0.20125602185726166,
-0.21749700605869293,
-0.2574272155761719,
0.09380048513412476,
0.2847306430339813,
-0.6309861540794373,
0.27945807576179504,
-0.013654369860887527,
-0.1713971197605133,
0.3107927441596985,
0.1017061397433281,
0.0016014613211154938,
-0.19585256278514862,
-0.09608320891857147,
-0.30679214000701904,
0.45506751537323,
-0.01596279814839363,
0.11918297410011292,
-0.21811138093471527,
0.17252880334854126,
0.363765686750412,
0.20355188846588135,
-0.48532962799072266,
0.1638508141040802,
0.34325218200683594,
0.1509050726890564,
-0.13517218828201294,
0.09316854178905487,
0.057580068707466125,
0.06393998861312866,
-0.2587846517562866,
0.04934903606772423,
0.1899101734161377,
-0.12212604284286499,
-0.13953059911727905,
-0.23654866218566895
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | @mariamabarham @lbourdois, Yea I don't think we can had the parsing datasets without asking the authors permission first. I also hope they'll change their policy.
Regarding `vsd` and `nsd`, if I understand well the task, the labels are "word senses" and the goal is to find the correct word sense for each ambiguous word. For `vsd` there is one ambiguous verb per sentence, and the labels we manually annotated with "wiktionary senses". For `nsd`, there are multiple ambiguous word per sentence, and the labels are WordNet Princeton Identifiers (hence the WN tag). This dataset was translated in french & automatically aligned.
Imo, for these 2 datasets, each example should be made of:
- a list of string tokens (the words of the sentence)
- a list of string labels (the word senses or 'O' when the word is not ambiguous.
In fact, for `vsd` it could be even simpler, with a single string label (as there is only one ambiguous verb), + some "idx" feature to indicate the location of the ambiguous verb.
Unfortunately, I cannot update your PR as I'm not a maintainer of the project. Maybe we could work together on a fork ? Here's [mine](https://github.com/TheophileBlard/nlp/commits/flue-benchmark).
| This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 198 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
@mariamabarham @lbourdois, Yea I don't think we can had the parsing datasets without asking the authors permission first. I also hope they'll change their policy.
Regarding `vsd` and `nsd`, if I understand well the task, the labels are "word senses" and the goal is to find the correct word sense for each ambiguous word. For `vsd` there is one ambiguous verb per sentence, and the labels we manually annotated with "wiktionary senses". For `nsd`, there are multiple ambiguous word per sentence, and the labels are WordNet Princeton Identifiers (hence the WN tag). This dataset was translated in french & automatically aligned.
Imo, for these 2 datasets, each example should be made of:
- a list of string tokens (the words of the sentence)
- a list of string labels (the word senses or 'O' when the word is not ambiguous.
In fact, for `vsd` it could be even simpler, with a single string label (as there is only one ambiguous verb), + some "idx" feature to indicate the location of the ambiguous verb.
Unfortunately, I cannot update your PR as I'm not a maintainer of the project. Maybe we could work together on a fork ? Here's [mine](https://github.com/TheophileBlard/nlp/commits/flue-benchmark).
| [
-0.0072125643491744995,
0.21966248750686646,
-0.059378549456596375,
0.1241493821144104,
-0.3243159055709839,
0.0007348135113716125,
0.10624092072248459,
-0.05473620817065239,
-0.14506323635578156,
0.19734731316566467,
-0.26104655861854553,
0.07379113882780075,
-0.07409357279539108,
0.13120417296886444,
-0.06123713403940201,
-0.34266871213912964,
-0.010019317269325256,
0.21885518729686737,
0.1809106320142746,
-0.04814682900905609,
-0.34051409363746643,
0.29718175530433655,
-0.21191972494125366,
0.17173683643341064,
0.0834110751748085,
-0.2510446310043335,
-0.21921785175800323,
-0.011084295809268951,
-0.01701750047504902,
-0.3212626576423645,
0.0429481565952301,
0.36914223432540894,
0.133062943816185,
0.2455674111843109,
-0.00010434549767524004,
-0.2054058462381363,
-0.07871134579181671,
-0.21457703411579132,
-0.09943161904811859,
-0.030476242303848267,
0.2050381898880005,
-0.013924147933721542,
-0.14902551472187042,
-0.1750050187110901,
-0.18628740310668945,
-0.24625881016254425,
0.02405240200459957,
-0.48224666714668274,
0.19403517246246338,
0.364906907081604,
0.2033393383026123,
-0.06100829690694809,
0.17967240512371063,
0.16424569487571716,
0.12872301042079926,
-0.11409910023212433,
-0.2511807978153229,
-0.19856640696525574,
0.44932010769844055,
0.26855605840682983,
0.07345195859670639,
0.43675974011421204,
0.2747957110404968,
-0.026042725890874863,
0.008968889713287354,
0.1384207308292389,
0.27231481671333313,
-0.35155391693115234,
0.019871791824698448,
0.41836029291152954,
0.5044698119163513,
-0.023059546947479248,
-0.3678557574748993,
-0.4019607603549957,
0.13033460080623627,
-0.20008490979671478,
0.0028645843267440796,
-0.17837391793727875,
-0.11795821785926819,
0.1876586675643921,
0.07396544516086578,
-0.06086672469973564,
-0.1783754974603653,
0.19257114827632904,
0.14813433587551117,
0.32996827363967896,
0.021022554486989975,
0.0654694214463234,
-0.06139880046248436,
-0.1591934859752655,
-0.13944540917873383,
-0.07269980013370514,
-0.06379862129688263,
0.09054547548294067,
-0.2726857662200928,
-0.34463608264923096,
-0.07745713740587234,
-0.3657156229019165,
0.2598409652709961,
0.06109439954161644,
-0.3591494858264923,
-0.11656305938959122,
-0.1787773072719574,
-0.058394208550453186,
0.30400025844573975,
0.23943884670734406,
0.32964858412742615,
0.14296779036521912,
-0.13265661895275116,
-0.16112174093723297,
0.028838451951742172,
0.15672186017036438,
-0.21299973130226135,
0.14665637910366058,
-0.4042324125766754,
-0.27649369835853577,
-0.1352609395980835,
-0.4298301935195923,
-0.05967824533581734,
-0.0023644519969820976,
-0.00015636906027793884,
0.020222993567585945,
-0.1347804218530655,
0.5634641647338867,
0.1618531197309494,
0.2802458107471466,
-0.06253352016210556,
0.18537449836730957,
-0.017675023525953293,
-0.3704147934913635,
-0.1432298719882965,
-0.10844999551773071,
-0.22478517889976501,
0.04733157902956009,
0.22864346206188202,
0.03275882452726364,
0.35183683037757874,
-0.1468445062637329,
-0.06536366045475006,
0.04598599672317505,
-0.08049097657203674,
-0.16014951467514038,
0.27178218960762024,
-0.18333201110363007,
0.02459254115819931,
0.10415221005678177,
-0.26588204503059387,
-0.12918806076049805,
-0.41022345423698425,
0.0041373111307621,
-0.03137952834367752,
0.046145517379045486,
-0.29948848485946655,
0.23822206258773804,
-0.17692385613918304,
-0.44761547446250916,
0.08735860139131546,
0.7689374685287476,
0.04191691428422928,
-0.2757892310619354,
-0.049516670405864716,
-0.030633673071861267,
-0.1879030168056488,
-0.22993235290050507,
-0.00039158575236797333,
0.3143670856952667,
-0.4785993993282318,
-0.2509532570838928,
-0.052469633519649506,
-0.15249226987361908,
0.06726934015750885,
0.428148478269577,
-0.02886888012290001,
0.008249834179878235,
-0.10442893952131271,
0.43775296211242676,
0.1523762345314026,
-0.4914706349372864,
-0.0023475056514143944,
0.12152964621782303,
-0.07575614005327225,
0.30047082901000977,
0.1910862922668457,
-0.04922617971897125,
0.2536831200122833,
-0.2643073797225952,
0.08222493529319763,
0.5048339366912842,
-0.1533883512020111,
-0.06359914690256119,
-0.11766944825649261,
-0.1820220798254013,
0.2060690075159073,
0.12757128477096558,
-0.12233348190784454,
-0.18690195679664612,
-0.024444155395030975,
0.06081080436706543,
0.1709233820438385,
-0.18883293867111206,
0.11491826176643372,
0.035688284784555435,
0.010572906583547592,
0.2431086301803589,
0.08965135365724564,
-0.024336272850632668,
-0.37412822246551514,
-0.11563985794782639,
-0.235794335603714,
0.3631911873817444,
0.30039918422698975,
-0.3008136749267578,
-0.08476319909095764,
-0.24424120783805847,
-0.16740842163562775,
-0.551271378993988,
0.32015788555145264,
0.19439955055713654,
0.006769735366106033,
-0.038937751203775406,
-0.26163142919540405,
0.04911551624536514,
-0.2075999677181244,
-0.04079541563987732,
0.14352542161941528,
0.007642067968845367,
-0.13742993772029877,
-0.09338191151618958,
0.050886303186416626,
0.41793641448020935,
-0.03572457283735275,
-0.019060760736465454,
0.004876730497926474,
0.05335525795817375,
-0.05414296314120293,
-0.15135428309440613,
0.2902154326438904,
0.09584561735391617,
-0.07079232484102249,
-0.2517600953578949,
0.019164886325597763,
0.09991459548473358,
-0.08271236717700958,
-0.3023621439933777,
-0.10376857966184616,
0.35979753732681274,
0.09802068769931793,
0.17455482482910156,
-0.01867852360010147,
-0.2194170206785202,
0.5019658803939819,
-0.1872362494468689,
0.11638262122869492,
-0.32397499680519104,
0.40643104910850525,
-0.24121405184268951,
0.25182777643203735,
-0.00974416546523571,
-0.2509007155895233,
0.1734374761581421,
0.4061967730522156,
-0.04033162072300911,
0.045567598193883896,
0.17242655158042908,
-0.15335902571678162,
-0.2252534031867981,
0.028194840997457504,
-0.03348109871149063,
0.22104689478874207,
0.3698873519897461,
0.21165703237056732,
0.11949141323566437,
-0.052701931446790695,
-0.11012538522481918,
0.18928536772727966,
-0.023159421980381012,
0.23046638071537018,
0.15430833399295807,
-0.02635818161070347,
0.10576897114515305,
-0.1835666298866272,
-0.32086363434791565,
-0.0744527205824852,
0.13525032997131348,
-0.17273841798305511,
-0.14867205917835236,
0.03755192458629608,
-0.5974820852279663,
-0.08323568105697632,
0.033051032572984695,
-0.35911989212036133,
-0.28602567315101624,
0.49592697620391846,
-0.3724033534526825,
-0.19801326096057892,
0.13043086230754852,
-0.19165915250778198,
0.5802552700042725,
-0.31998246908187866,
0.23047460615634918,
-0.25916749238967896,
-0.2188662439584732,
-0.5915248990058899,
0.2659621238708496,
0.14337635040283203,
-0.04030682146549225,
0.3811165988445282,
-0.15574918687343597,
0.10762957483530045,
-0.08112620562314987,
-0.4965725243091583,
0.3127412796020508,
-0.08772794902324677,
0.652637243270874,
0.07644280791282654,
-0.06948961317539215,
-0.06638564169406891,
-0.303356796503067,
-0.19886964559555054,
-0.26186463236808777,
-0.2097519487142563,
-0.1465061902999878,
-0.007709254510700703,
-0.03797037899494171,
-0.1059514582157135,
-0.6226240396499634,
-0.555334746837616,
-0.268330454826355,
0.27858448028564453,
0.021220866590738297,
0.26117366552352905,
0.1764010488986969,
-0.44991129636764526,
0.14466415345668793,
-0.22795672714710236,
0.29743683338165283,
-0.29333892464637756,
-0.017463762313127518,
0.0831298753619194,
-0.43596428632736206,
-0.17945009469985962,
-0.08274737000465393,
-0.07397598028182983,
0.2151881754398346,
-0.24066105484962463,
-0.03539606183767319,
0.3238943815231323,
-0.02070874162018299,
0.2284994125366211,
0.14290383458137512,
-0.10351887345314026,
0.1534697264432907,
0.03277872875332832,
-0.09572106599807739,
-0.2833055555820465,
-0.0766686499118805,
0.31610938906669617,
-0.1665264070034027,
0.28683674335479736,
0.09053292870521545,
-0.06921672821044922,
0.16839008033275604,
0.13892194628715515,
0.44764071702957153,
-0.2080456167459488,
0.26108962297439575,
0.20492790639400482,
0.2995944917201996,
-0.003188878297805786,
0.002669448032975197,
0.41412100195884705,
0.18501389026641846,
0.17435389757156372,
0.7083230018615723,
0.21914291381835938,
-0.26753827929496765,
-0.1395890861749649,
-0.010368570685386658,
-0.4240047037601471,
-0.15559007227420807,
0.0390789657831192,
0.011756431311368942,
-0.036449551582336426,
-0.1351456642150879,
-0.23997527360916138,
-0.2054671347141266,
-0.20769941806793213,
-0.002211427316069603,
0.3103015422821045,
0.014103099703788757,
0.1268768459558487,
-0.3102157413959503,
0.3869759440422058,
-0.34966593980789185,
0.09965154528617859,
-0.05650060251355171,
0.4382855296134949,
-0.3353472352027893,
0.3757654130458832,
0.06763800978660583,
0.02978421188890934,
0.4475764036178589,
-0.6975687742233276,
-0.0617600679397583,
0.07909412682056427,
0.3237537741661072,
0.2786943018436432,
0.13475485146045685,
-0.4341253638267517,
-0.45335811376571655,
0.461076945066452,
0.24536149203777313,
-0.5380064845085144,
-0.05536458641290665,
0.34138932824134827,
0.08698253333568573,
-0.15952126681804657,
-0.3911101520061493,
0.2939624786376953,
-0.22138378024101257,
-0.29368406534194946,
0.08822159469127655,
0.15208777785301208,
0.13191945850849152,
0.06858769059181213,
0.050187017768621445,
-0.020630596205592155,
0.25464820861816406,
0.25495201349258423,
0.22256655991077423,
0.03903108835220337,
0.03078652173280716,
-0.08414115756750107,
0.15338747203350067,
-0.019544340670108795,
0.13114985823631287,
0.3860388398170471,
-0.009477939456701279,
-0.37806251645088196,
-0.006586343050003052,
-0.2044389545917511,
0.3239608705043793,
0.1752619594335556,
0.19303560256958008,
0.28512415289878845,
-0.20200598239898682,
-0.0994035005569458,
0.13508948683738708,
0.3303956687450409,
0.3157597780227661,
0.045106928795576096,
-0.17965927720069885,
-0.3738766014575958,
0.22100567817687988,
0.1959073394536972,
-0.2604449987411499,
0.3344353437423706,
0.21822816133499146,
-0.3829783499240875,
0.5511115193367004,
0.19836857914924622,
0.9876999855041504,
0.05272588133811951,
-0.08765386044979095,
0.1764824390411377,
-0.43726205825805664,
0.6006562113761902,
-0.35719358921051025,
-0.2898334264755249,
-0.023126307874917984,
0.15624190866947174,
0.023386096581816673,
0.20033222436904907,
0.058848027139902115,
0.3990468978881836,
-0.3674551844596863,
0.29584771394729614,
0.5197144746780396,
-0.14831194281578064,
0.27947983145713806,
0.5116280317306519,
0.3104938268661499,
-0.31414100527763367,
-0.1347666084766388,
0.11556397378444672,
-0.19782529771327972,
0.10484249889850616,
-0.11021187156438828,
-0.2093535214662552,
0.006976909935474396,
0.05937901884317398,
-0.4251589775085449,
0.09328288584947586,
-0.20063243806362152,
-0.06555939465761185,
-0.22376829385757446,
0.2242412120103836,
0.28463515639305115,
0.042474083602428436,
0.4775640368461609,
0.09392061084508896,
-0.1283404380083084,
0.06235632300376892,
0.2550007104873657,
-0.09481437504291534,
0.1448664367198944,
-0.249886155128479,
0.35466882586479187,
-0.21494239568710327,
-0.12687784433364868,
0.05127384141087532,
-0.05087495967745781,
-0.37082117795944214,
-0.3540278375148773,
-0.37030738592147827,
-0.20596639811992645,
0.14001233875751495,
0.063315749168396,
0.30200475454330444,
-0.15342283248901367,
-0.18800418078899384,
0.1746826022863388,
0.137873575091362,
-0.27706268429756165,
0.049100808799266815,
0.16981324553489685,
-0.22795221209526062,
-0.14527347683906555,
-0.20222854614257812,
0.253366082906723,
-0.49484479427337646,
0.22843170166015625,
0.3700713515281677,
-0.22656217217445374,
-0.24036219716072083,
-0.22277510166168213,
0.14354093372821808,
-0.5485236048698425,
-0.060341883450746536,
0.16371476650238037,
-0.3431853652000427,
0.14052727818489075,
0.3251674473285675,
0.37935125827789307,
0.17027044296264648,
-0.0028128325939178467,
-0.17584937810897827,
-0.14273124933242798,
0.1675378531217575,
-0.3916405737400055,
0.3496778905391693,
0.3294570744037628,
0.12730205059051514,
-0.04920494556427002,
0.47432735562324524,
-0.4457816183567047,
-0.20461425185203552,
-0.3546876907348633,
0.04616261273622513,
-0.0370354950428009,
-0.070551298558712,
-0.10470735281705856,
0.1676517277956009,
0.05647946149110794,
-0.1473720818758011,
-0.11124271154403687,
-0.15287987887859344,
-0.03905405104160309,
0.12579494714736938,
0.16054770350456238,
0.03933780640363693,
-0.11198856681585312,
0.10017292201519012,
-0.06226947531104088,
-0.17589819431304932,
0.06280805170536041,
-0.04404332861304283,
-0.03039000928401947,
0.49202293157577515,
0.227021723985672,
0.0991322249174118,
-0.1576380878686905,
0.27531883120536804,
0.2114531397819519,
-0.13040407001972198,
0.07634083926677704,
0.26010581851005554,
-0.18911825120449066,
-0.17302414774894714,
0.169353187084198,
0.18819192051887512,
-0.0255572646856308,
0.2183293104171753,
0.03617561608552933,
0.020568039268255234,
-0.033012110739946365,
0.20694662630558014,
0.0529722198843956,
0.06951163709163666,
-0.029618998989462852,
-0.23721593618392944,
0.33759018778800964,
0.24848586320877075,
-0.2913266122341156,
0.15415634214878082,
0.15518629550933838,
0.0661717876791954,
0.15969553589820862,
0.3012266755104065,
0.32136934995651245,
0.02711407095193863,
0.07933309674263,
-0.12327119708061218,
0.06653986871242523,
-0.030906982719898224,
0.13167163729667664,
0.40271663665771484,
-0.05421515926718712,
0.027900736778974533,
0.10027092695236206,
0.10255290567874908,
0.27995526790618896,
0.14383257925510406,
-0.058258555829524994,
0.45208245515823364,
0.14377856254577637,
0.28820034861564636,
0.2748657166957855,
0.14072026312351227,
0.26577574014663696,
0.35922539234161377,
0.14370395243167877,
0.32287612557411194,
0.15060704946517944,
-0.16307729482650757,
0.19874802231788635,
-0.29213443398475647,
-0.26566094160079956,
0.39438074827194214,
-0.17335009574890137,
-0.21499212086200714,
-0.33933815360069275,
-0.29767268896102905,
-0.20535627007484436,
-0.19915011525154114,
-0.16978445649147034,
-0.17942559719085693,
-0.23505017161369324,
0.039816517382860184,
-0.04465082287788391,
-0.26781541109085083,
0.06544676423072815,
-0.09648900479078293,
0.24387794733047485,
-0.09564739465713501,
0.5588428974151611,
0.18598291277885437,
0.12089905142784119,
0.285101056098938,
0.48772332072257996,
0.10496856272220612,
0.14749906957149506,
0.020809456706047058,
-0.013494004495441914,
0.09997709095478058,
-0.01627127081155777,
0.002658843994140625,
0.33393561840057373,
0.1552133560180664,
-0.12097693979740143,
0.5607194900512695,
0.12372133135795593,
-0.1567840427160263,
-0.1496601402759552,
0.03803429752588272,
-0.12917298078536987,
-0.02128007262945175,
-0.07094914466142654,
0.003034481778740883,
0.011356070637702942,
0.07460369169712067,
-0.10986831039190292,
-0.24754875898361206,
-0.011488604359328747,
0.06509271264076233,
-0.2728949189186096,
-0.038147203624248505,
-0.09861819446086884,
0.13221149146556854,
0.2519846558570862,
0.179409459233284,
0.27919986844062805,
0.30112478137016296,
-0.19037702679634094,
-0.22734972834587097,
-0.6224014163017273,
0.04716590791940689,
0.03240533173084259,
-0.26802507042884827,
0.05655904859304428,
0.037119343876838684,
0.26423725485801697,
0.24954085052013397,
-0.04735709726810455,
0.2535422444343567,
0.20746628940105438,
0.35212138295173645,
-0.4356747269630432,
0.08467089384794235,
0.37805378437042236,
0.23309417068958282,
0.02051541954278946,
0.17329317331314087,
-0.14495858550071716,
0.29823562502861023,
0.004754755645990372,
-0.09536126255989075,
0.1014520674943924,
0.21892206370830536,
0.1897720843553543,
-0.15942081809043884,
0.278659850358963,
0.5910165309906006,
-0.18599215149879456,
0.19261913001537323,
-0.21058398485183716,
-0.1519629806280136,
-0.34704428911209106,
0.07445050776004791,
-0.12591758370399475,
0.14178745448589325,
-0.10892808437347412,
-0.10886584222316742,
-0.06271325796842575,
-0.36672282218933105,
-0.04662986099720001,
0.40490710735321045,
-0.325249582529068,
0.3172851800918579,
0.05230981856584549,
0.027629684656858444,
0.1222425103187561,
0.22811564803123474,
0.043652135878801346,
-0.009081600233912468,
-0.1188514307141304,
-0.3060995042324066,
0.3294413685798645,
-0.01817808859050274,
0.019015058875083923,
0.005544194020330906,
0.16813166439533234,
0.35922524333000183,
-0.14900057017803192,
-0.6080980896949768,
-0.015405863523483276,
0.35681554675102234,
0.10513833910226822,
0.035278525203466415,
0.1298755258321762,
-0.1536872237920761,
-0.1393224149942398,
-0.2002304047346115,
0.21810810267925262,
0.10174451768398285,
-0.14918340742588043,
-0.05325591564178467,
-0.3399653434753418
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | Hi
Any news about this PR ?
Because thinking back FLUE basically offers only two new datasets : those for the Word Sense Disambiguation task (vsd and nsd).
Wouldn't it be more clever to make separate PRs to add the datasets of the other tasks which are multi-lingual (and therefore can be used for other languages) ?
XNLI being already present on your library, there would only be PAWS-X (datasets and bibtex available here : https://github.com/google-research-datasets/paws/tree/master/pawsx) and the Webis-CLS-10 dataset (dataset : https://zenodo.org/record/3251672#.XvCXN-d8taQ and bibtex : https://zenodo.org/record/3251672/export/hx#.XvCXZ-d8taQ) to do.
And next for the FLUE benchmark, all you would have to do would be to use your own library by making an nlp.load_dataset() (for example nlp.load_dataset('xnli') which is already present in your library) for each of the datasets of the benchmark tasks and to keep only the 'fr' data.
Also @mariamabarham , did you get any feedback for the parsing task dataset request?
In case of refusal from the authors, there are other datasets in French to perform this task and in this case, I would open a new topic
| This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 179 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
Hi
Any news about this PR ?
Because thinking back FLUE basically offers only two new datasets : those for the Word Sense Disambiguation task (vsd and nsd).
Wouldn't it be more clever to make separate PRs to add the datasets of the other tasks which are multi-lingual (and therefore can be used for other languages) ?
XNLI being already present on your library, there would only be PAWS-X (datasets and bibtex available here : https://github.com/google-research-datasets/paws/tree/master/pawsx) and the Webis-CLS-10 dataset (dataset : https://zenodo.org/record/3251672#.XvCXN-d8taQ and bibtex : https://zenodo.org/record/3251672/export/hx#.XvCXZ-d8taQ) to do.
And next for the FLUE benchmark, all you would have to do would be to use your own library by making an nlp.load_dataset() (for example nlp.load_dataset('xnli') which is already present in your library) for each of the datasets of the benchmark tasks and to keep only the 'fr' data.
Also @mariamabarham , did you get any feedback for the parsing task dataset request?
In case of refusal from the authors, there are other datasets in French to perform this task and in this case, I would open a new topic
| [
-0.13081185519695282,
0.26233112812042236,
-0.07949227094650269,
0.10439814627170563,
-0.24090664088726044,
-0.001990281045436859,
0.12238237261772156,
0.03377764672040939,
-0.17870748043060303,
0.16958245635032654,
-0.00993611291050911,
0.0597233846783638,
0.15194274485111237,
0.2819654047489166,
0.22524821758270264,
-0.40976259112358093,
0.1012408658862114,
0.11053165048360825,
0.16954876482486725,
-0.07607544958591461,
-0.26894521713256836,
0.29524362087249756,
-0.165755033493042,
0.1481369435787201,
0.1439826339483261,
-0.16379036009311676,
-0.31982067227363586,
0.16691793501377106,
-0.18523646891117096,
-0.18668295443058014,
0.1942816972732544,
0.2897591292858124,
0.30061075091362,
0.1913718283176422,
-0.00011045027349609882,
-0.1841980218887329,
-0.005085539072751999,
-0.15597936511039734,
-0.04059262201189995,
-0.02322782576084137,
0.10593584924936295,
-0.16771312057971954,
-0.2230595201253891,
-0.05445145443081856,
-0.08686364442110062,
-0.09725795686244965,
-0.05063222348690033,
-0.4075949788093567,
-0.05888886749744415,
0.6083245873451233,
0.17183278501033783,
0.11322268843650818,
0.10188671946525574,
-0.035172175616025925,
0.22522589564323425,
-0.13635887205600739,
-0.3301943242549896,
-0.06169363483786583,
0.5147315263748169,
0.07412860542535782,
0.06766776740550995,
0.19073361158370972,
0.2606861889362335,
-0.07384485006332397,
-0.09188910573720932,
0.013167249970138073,
0.21940356492996216,
-0.4188862144947052,
0.0605940967798233,
0.393989235162735,
0.4669540822505951,
-0.09932119399309158,
-0.5153270363807678,
-0.23104968667030334,
-0.020837008953094482,
-0.3177516758441925,
-0.12845322489738464,
-0.11484433710575104,
-0.0007159663364291191,
0.1450287103652954,
0.3106689155101776,
-0.2563599646091461,
-0.22166882455348969,
-0.011598438024520874,
-0.006938699632883072,
0.33227765560150146,
0.13137169182300568,
0.055458005517721176,
0.22958146035671234,
-0.02189791202545166,
0.08883687108755112,
0.0840621069073677,
-0.30308985710144043,
0.08380641788244247,
-0.35330045223236084,
-0.30977556109428406,
0.126050665974617,
-0.07992035895586014,
0.5629478096961975,
0.19210968911647797,
-0.3522186577320099,
0.11461036652326584,
-0.04636691138148308,
-0.047419823706150055,
0.3730996549129486,
0.30529549717903137,
0.11110769212245941,
0.13249269127845764,
-0.03191561996936798,
-0.12168699502944946,
0.16255109012126923,
0.008654285222291946,
-0.052378274500370026,
0.09174471348524094,
-0.4824271500110626,
-0.10005000978708267,
-0.17689333856105804,
-0.4508269727230072,
-0.2509152591228485,
0.1566345989704132,
0.19817838072776794,
-0.27652186155319214,
-0.2434573769569397,
0.3942318558692932,
0.13326258957386017,
0.4075954556465149,
-0.13280732929706573,
0.23241284489631653,
-0.35640689730644226,
-0.40118953585624695,
-0.22008532285690308,
-0.011106602847576141,
-0.3000132143497467,
0.03714323788881302,
0.05975291505455971,
-0.2144734263420105,
0.3191969692707062,
-0.10024672001600266,
0.12091515958309174,
0.07267385721206665,
0.15455099940299988,
-0.30156606435775757,
0.07362031936645508,
-0.21834488213062286,
0.01492517814040184,
-0.023653563112020493,
-0.053229521960020065,
0.007186591625213623,
-0.41594764590263367,
0.050306279212236404,
0.13244229555130005,
-0.13843372464179993,
-0.3890075087547302,
0.13499708473682404,
-0.10613051801919937,
-0.41402652859687805,
-0.06977463513612747,
0.8338562250137329,
-0.16674017906188965,
-0.12057574093341827,
0.1009695902466774,
-0.0882689580321312,
-0.317166268825531,
-0.0944102555513382,
0.09001284837722778,
0.2735820412635803,
-0.3394646644592285,
-0.15566596388816833,
-0.23021815717220306,
-0.31011688709259033,
0.2598106265068054,
0.3832269608974457,
-0.09541533887386322,
0.16500329971313477,
-0.18524649739265442,
0.2839444875717163,
0.1785496473312378,
-0.5071398615837097,
-0.14767779409885406,
0.32654309272766113,
-0.13233733177185059,
0.2449491173028946,
0.16372346878051758,
-0.038591302931308746,
0.3168655335903168,
-0.2565368413925171,
0.042059849947690964,
0.37332552671432495,
-0.3301708400249481,
-0.05054032802581787,
-0.09506682306528091,
-0.16639909148216248,
0.38278621435165405,
0.2012585997581482,
0.126678928732872,
-0.06761015206575394,
0.09756637364625931,
-0.08544111251831055,
0.15288013219833374,
-0.05446471646428108,
0.1968652456998825,
0.26383310556411743,
0.05633554607629776,
0.25750163197517395,
0.1837068796157837,
0.06653643399477005,
-0.21389171481132507,
-0.005588758736848831,
-0.19225981831550598,
0.5200062394142151,
0.5588178634643555,
-0.16124749183654785,
-0.28482896089553833,
-0.08954963833093643,
-0.24100439250469208,
-0.7548007965087891,
0.0967993438243866,
0.1004788801074028,
0.010542035102844238,
0.14409659802913666,
-0.2919046878814697,
0.17134438455104828,
-0.3487713932991028,
-0.09921301156282425,
0.05873226001858711,
0.15785567462444305,
-0.21255896985530853,
-0.13078880310058594,
-0.14308442175388336,
0.39130768179893494,
-0.09515935927629471,
0.023723678663372993,
-0.07578834146261215,
-0.04018650949001312,
0.060494836419820786,
0.05930645391345024,
0.6923947930335999,
0.17579855024814606,
0.22024618089199066,
-0.33234938979148865,
0.11559243500232697,
0.13046184182167053,
-0.009764025919139385,
-0.10285130888223648,
-0.030500024557113647,
0.39887791872024536,
0.05738029628992081,
0.2527647316455841,
0.05799990892410278,
-0.13678304851055145,
0.3816787898540497,
-0.029316218569874763,
0.08813215792179108,
-0.011212866753339767,
0.40983280539512634,
-0.0467233769595623,
0.4885370135307312,
-0.13868044316768646,
-0.3707024157047272,
0.13440415263175964,
0.39642149209976196,
0.04216082766652107,
-0.11131633073091507,
0.3062119781970978,
-0.03944128006696701,
-0.276183545589447,
0.20316281914710999,
-0.15972864627838135,
0.2922881841659546,
0.32075101137161255,
0.3459708094596863,
0.0486157201230526,
0.021610580384731293,
-0.016339445486664772,
0.20180729031562805,
-0.10041329264640808,
-0.03588259965181351,
0.03009977750480175,
-0.08470151573419571,
0.08718540519475937,
-0.2931950092315674,
-0.20140336453914642,
-0.014484650455415249,
0.27643176913261414,
-0.01471702754497528,
-0.14671136438846588,
0.3519195318222046,
-0.601633608341217,
-0.04149410501122475,
0.02862505242228508,
-0.41771572828292847,
-0.12090767920017242,
0.3236876130104065,
-0.2865467965602875,
0.019516944885253906,
0.07428073137998581,
-0.046019650995731354,
0.28125572204589844,
-0.22591137886047363,
0.09514220058917999,
-0.2842155694961548,
-0.16030362248420715,
-0.5674421191215515,
0.22391733527183533,
0.03981578350067139,
0.05712853744626045,
0.39775213599205017,
-0.19018857181072235,
0.24392594397068024,
-0.5590967535972595,
-0.4958181381225586,
0.2587466239929199,
-0.21296049654483795,
0.7820035815238953,
0.10587217658758163,
0.09667370468378067,
-0.13507261872291565,
-0.060682687908411026,
-0.13109435141086578,
-0.2636805772781372,
-0.3176991641521454,
-0.23748159408569336,
-0.2855027914047241,
0.2193158119916916,
0.09671248495578766,
-0.7314563393592834,
-0.3128649592399597,
-0.32966235280036926,
0.3566301465034485,
-0.050692878663539886,
0.15397775173187256,
0.12156956642866135,
-0.10063177347183228,
0.1076498031616211,
-0.08428850769996643,
0.08634970337152481,
-0.39847704768180847,
-0.13491424918174744,
-0.10047516226768494,
-0.22509026527404785,
-0.34349748492240906,
-0.03867897391319275,
-0.028467528522014618,
0.3059622347354889,
-0.14344492554664612,
-0.2442033886909485,
0.22965210676193237,
0.04094024747610092,
0.44636040925979614,
-0.024927258491516113,
0.12484917789697647,
0.34163540601730347,
-0.13876275718212128,
-0.06678002327680588,
-0.06862708926200867,
-0.3025364875793457,
0.09913172572851181,
-0.026926103979349136,
0.3561607897281647,
0.06427265703678131,
-0.04915366321802139,
0.03753121569752693,
0.41858160495758057,
0.3603556156158447,
-0.07179191708564758,
0.4305149018764496,
0.02718411572277546,
0.19921410083770752,
-0.15992966294288635,
-0.2353455126285553,
0.5209460258483887,
0.1364869773387909,
0.04807203263044357,
0.6163620352745056,
0.14798003435134888,
-0.30364152789115906,
-0.15971264243125916,
-0.1723441332578659,
-0.15104752779006958,
-0.09284423291683197,
0.08784157782793045,
-0.1117425411939621,
0.24014520645141602,
-0.2520584762096405,
-0.17046093940734863,
-0.37533247470855713,
-0.023624662309885025,
0.01389189064502716,
0.2748529613018036,
0.05186710134148598,
0.127045676112175,
-0.33626794815063477,
0.20499055087566376,
-0.46518856287002563,
0.12352924048900604,
0.05632075294852257,
0.46796122193336487,
-0.3310805559158325,
0.4116072356700897,
0.10196487605571747,
0.04043548181653023,
0.4682319760322571,
-0.8318907618522644,
-0.3087736964225769,
0.0834304541349411,
0.25732916593551636,
0.15689468383789062,
0.21306107938289642,
-0.18709558248519897,
-0.26285257935523987,
0.2419690489768982,
0.1757795810699463,
-0.47177553176879883,
0.01352195255458355,
0.18721607327461243,
0.1357184201478958,
0.007100708782672882,
-0.19626815617084503,
-0.10054786503314972,
-0.5016081929206848,
-0.1866341233253479,
0.4873480200767517,
0.0348779559135437,
-0.03341769799590111,
0.0517595112323761,
0.14560863375663757,
0.05781271308660507,
0.21484720706939697,
0.2747110426425934,
0.009695112705230713,
-0.057403504848480225,
0.006102742627263069,
0.04944228008389473,
0.09111061692237854,
-0.4360225200653076,
0.13868938386440277,
0.30324143171310425,
-0.11474813520908356,
-0.365740567445755,
0.11396945267915726,
-0.16354049742221832,
0.4319973886013031,
0.36352741718292236,
0.25328144431114197,
0.39560914039611816,
-0.09212475270032883,
-0.08766043186187744,
0.00540850218385458,
0.2963097095489502,
0.3582096993923187,
0.07577008008956909,
-0.39545688033103943,
-0.617374062538147,
0.08484004437923431,
0.363301545381546,
-0.07378984987735748,
0.46372830867767334,
-0.05172468721866608,
-0.1964140385389328,
0.16652193665504456,
0.24579307436943054,
1.07868492603302,
-0.05937594175338745,
0.03658658638596535,
0.13327176868915558,
-0.5400698184967041,
0.18262448906898499,
-0.33564406633377075,
-0.30634236335754395,
-0.16489583253860474,
-0.20011277496814728,
-0.0726674273610115,
0.14524899423122406,
0.29993173480033875,
0.06349804997444153,
-0.2499496340751648,
0.3532159924507141,
0.5078926682472229,
-0.26303723454475403,
0.49754583835601807,
0.6640475988388062,
-0.17305295169353485,
-0.3480513095855713,
-0.0771358385682106,
0.10761389136314392,
-0.19847191870212555,
0.11516121029853821,
-0.17966192960739136,
-0.18076927959918976,
-0.059207528829574585,
-0.10526405274868011,
-0.41260862350463867,
0.003646647557616234,
-0.29044225811958313,
-0.19280306994915009,
-0.2485586702823639,
-0.09837711602449417,
0.20729368925094604,
-0.030850712209939957,
0.5342314839363098,
0.03924909234046936,
-0.1475035399198532,
0.16532495617866516,
0.1986590325832367,
-0.1124739721417427,
0.20562490820884705,
-0.2531823217868805,
0.2854151427745819,
-0.15677213668823242,
-0.2874089181423187,
0.1293249875307083,
-0.268413782119751,
-0.19916760921478271,
-0.5049760341644287,
-0.14098066091537476,
-0.15536417067050934,
0.019879315048456192,
0.16307611763477325,
0.3725234568119049,
-0.12892363965511322,
-0.229742631316185,
0.11452539265155792,
0.17436018586158752,
-0.31504690647125244,
0.11904099583625793,
0.011487763375043869,
-0.1568073034286499,
-0.2790210545063019,
-0.18447312712669373,
0.26005125045776367,
-0.43929323554039,
0.15362867712974548,
0.3557971715927124,
-0.07254084944725037,
-0.30493244528770447,
-0.17402923107147217,
0.2867077589035034,
-0.2901548147201538,
-0.11829065531492233,
-0.03817449137568474,
-0.3220098614692688,
0.11880136281251907,
0.5072934627532959,
0.17109987139701843,
-0.19558629393577576,
0.08841438591480255,
0.011223897337913513,
-0.284507155418396,
0.021761126816272736,
-0.21898584067821503,
0.29011863470077515,
0.11631491035223007,
0.1333625614643097,
0.07764139771461487,
0.15708693861961365,
-0.35422664880752563,
-0.04346717894077301,
-0.3934068977832794,
0.19959139823913574,
0.026591042056679726,
-0.0672709196805954,
-0.04600655287504196,
0.056902673095464706,
0.02657897211611271,
-0.12356625497341156,
-0.23877716064453125,
-0.09058080613613129,
-0.20570850372314453,
0.14565765857696533,
0.12935525178909302,
0.028964601457118988,
0.05541640520095825,
0.1607048064470291,
-0.1917540729045868,
-0.08068320900201797,
0.05283462628722191,
-0.04983977973461151,
-0.1441357433795929,
0.3131307065486908,
0.29540249705314636,
0.23190957307815552,
-0.08788909018039703,
0.20001967251300812,
0.03999897465109825,
0.09121723473072052,
0.15553705394268036,
0.26398590207099915,
0.012660497799515724,
-0.048082444816827774,
0.004076334647834301,
0.1949031949043274,
0.24434387683868408,
0.12746670842170715,
-0.07568969577550888,
0.14207956194877625,
0.025773365050554276,
0.24865718185901642,
0.14957593381404877,
0.060570359230041504,
-0.08101139962673187,
-0.201594278216362,
0.35189491510391235,
0.2204342484474182,
-0.2924927771091461,
0.19074766337871552,
0.03847356140613556,
-0.30069607496261597,
0.162968248128891,
0.3538346290588379,
0.601222813129425,
0.1982324719429016,
0.20188167691230774,
-0.1176692321896553,
0.2073073387145996,
-0.0926564559340477,
0.1941385120153427,
0.0956481546163559,
-0.07928155362606049,
-0.029743339866399765,
0.23127880692481995,
0.19800807535648346,
0.14866861701011658,
0.09554171562194824,
-0.029350645840168,
0.6133711934089661,
0.2911825478076935,
0.5008800625801086,
-0.05618821829557419,
-0.130954772233963,
0.5400230884552002,
0.36793237924575806,
0.189111590385437,
0.04004551097750664,
0.2538527250289917,
0.2826612591743469,
-0.031972236931324005,
-0.045368093997240067,
-0.1962386518716812,
0.16912958025932312,
-0.1493329405784607,
-0.01249601598829031,
0.043778665363788605,
-0.3289974629878998,
-0.12787774205207825,
-0.06704085320234299,
-0.029179412871599197,
-0.022418111562728882,
0.013965025544166565,
-0.0035280361771583557,
-0.03910985589027405,
-0.3308194577693939,
0.05893572419881821,
-0.036050163209438324,
-0.008702121675014496,
-0.1736578792333603,
0.5128699541091919,
0.020189955830574036,
-0.11881716549396515,
0.1903141438961029,
0.5502272844314575,
0.15143248438835144,
0.007382871583104134,
-0.03837094455957413,
-0.0036691566929221153,
0.08917561173439026,
0.10902796685695648,
0.1328701227903366,
0.31470584869384766,
0.11314895749092102,
0.2650225758552551,
0.37180301547050476,
0.04005736857652664,
-0.12391391396522522,
-0.13446073234081268,
0.025245651602745056,
-0.2356097400188446,
-0.28731873631477356,
0.11246038228273392,
-0.018730375915765762,
0.09031637758016586,
-0.2061631679534912,
0.04925422742962837,
-0.2704794108867645,
0.09582453966140747,
0.1399674117565155,
-0.2267334908246994,
-0.09657655656337738,
-0.1462126076221466,
0.09776319563388824,
0.1740262657403946,
-0.020031165331602097,
0.37805700302124023,
0.36460861563682556,
-0.49271827936172485,
-0.401272177696228,
-0.5544289946556091,
0.19193539023399353,
-0.07564279437065125,
-0.1602800488471985,
0.038099467754364014,
0.13035695254802704,
0.05547347664833069,
0.20421284437179565,
0.03481775522232056,
0.09183807671070099,
0.2885386645793915,
0.41121551394462585,
-0.3915131688117981,
0.06780065596103668,
0.14382238686084747,
0.3054525554180145,
-0.01253664679825306,
0.05999132990837097,
-0.16426949203014374,
0.5738373398780823,
0.01824267953634262,
-0.31104493141174316,
-0.16526030004024506,
0.2813885509967804,
0.1941550225019455,
0.21015828847885132,
0.26282063126564026,
0.6756805181503296,
-0.04371623694896698,
0.027026405557990074,
-0.12103089690208435,
-0.14793841540813446,
-0.3091181516647339,
0.004460498690605164,
-0.1967763900756836,
0.02092963084578514,
-0.07638439536094666,
-0.29373839497566223,
-0.1743767410516739,
-0.14025849103927612,
0.04182355850934982,
0.1508711278438568,
-0.44678184390068054,
0.29609161615371704,
0.050336286425590515,
-0.17775173485279083,
-0.10571399331092834,
0.32889920473098755,
0.13119597733020782,
-0.0759822204709053,
-0.24636398255825043,
-0.1660662442445755,
0.20347848534584045,
0.0890774354338646,
-0.07372802495956421,
-0.05006655678153038,
0.09771852195262909,
0.07756027579307556,
-0.13003797829151154,
-0.7064496874809265,
0.0345187708735466,
0.3144311308860779,
0.21759003400802612,
0.10539986193180084,
0.11980888247489929,
-0.10137417912483215,
-0.06542736291885376,
-0.16389986872673035,
-0.059691622853279114,
-0.004227723926305771,
-0.05076868087053299,
0.27370399236679077,
-0.25834405422210693
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | Hi @lbourdois ,
PAWS-X is also present in the lib, it's part of `xtreme` dataset, so it can be loaded by `nlp.load_dataset('xtreme', 'PAWS-X.fr')` for the french version.
I think the parsing and the Word Sense Disambiguation task datasets are the only missing in the lib now.
I did not get a feedback yet for the parsing dataset.
| This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 57 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
Hi @lbourdois ,
PAWS-X is also present in the lib, it's part of `xtreme` dataset, so it can be loaded by `nlp.load_dataset('xtreme', 'PAWS-X.fr')` for the french version.
I think the parsing and the Word Sense Disambiguation task datasets are the only missing in the lib now.
I did not get a feedback yet for the parsing dataset.
| [
-0.1350887268781662,
0.17533111572265625,
-0.09123976528644562,
-0.033729471266269684,
-0.09487266838550568,
0.10417621582746506,
-0.04943399503827095,
0.08861838281154633,
-0.10910087823867798,
0.23692622780799866,
-0.01766050048172474,
0.37427327036857605,
-0.027836229652166367,
0.3097669780254364,
0.3344065845012665,
-0.35812994837760925,
0.2283799946308136,
0.40132761001586914,
0.016922883689403534,
-0.19631518423557281,
-0.32281604409217834,
0.5332070589065552,
-0.21150903403759003,
0.17416033148765564,
0.07432564347982407,
-0.1528352051973343,
-0.2731904685497284,
0.08290746062994003,
-0.18309061229228973,
-0.38157883286476135,
0.185533344745636,
-0.029018256813287735,
0.21521908044815063,
-0.1385141909122467,
-0.00010703868611017242,
-0.21924720704555511,
0.1971396654844284,
-0.1528826653957367,
-0.03391743078827858,
-0.2790427803993225,
0.3129417896270752,
-0.5421499609947205,
0.225502610206604,
-0.07840310037136078,
-0.16217100620269775,
-0.164459690451622,
0.3812536299228668,
-0.07564470171928406,
0.045259326696395874,
0.4217800796031952,
0.1795930117368698,
0.22001418471336365,
-0.06033105403184891,
-0.10955965518951416,
0.2528248131275177,
-0.2151878923177719,
-0.38789743185043335,
-0.18081746995449066,
0.5400114059448242,
0.03412338346242905,
0.08662836998701096,
0.2250547707080841,
0.3253602683544159,
-0.04986993595957756,
-0.16134902834892273,
0.13555768132209778,
0.32757189869880676,
-0.32644352316856384,
-0.0035944022238254547,
0.3019374907016754,
0.42714977264404297,
-0.02147182822227478,
-0.34097185730934143,
-0.30287277698516846,
0.28495755791664124,
-0.31717345118522644,
0.00413241982460022,
0.005763346794992685,
-0.151170015335083,
0.034797556698322296,
0.3874899446964264,
-0.2574167251586914,
-0.10751159489154816,
0.11259522289037704,
0.16891910135746002,
0.5430463552474976,
0.04679306969046593,
-0.0645420029759407,
0.12676040828227997,
0.05951685085892677,
0.08261878043413162,
0.40368402004241943,
-0.14893198013305664,
0.30301594734191895,
-0.32184654474258423,
-0.06217360496520996,
0.1593054085969925,
0.07396215200424194,
0.2802407443523407,
0.18069730699062347,
-0.17424339056015015,
0.2079169750213623,
-0.21237672865390778,
0.12316025793552399,
0.2846135199069977,
-0.049370236694812775,
0.2813064754009247,
0.0360531210899353,
-0.06764885038137436,
-0.2192324995994568,
0.2858857214450836,
0.06760591268539429,
-0.35784024000167847,
-0.043513182550668716,
-0.5741509795188904,
0.07031047344207764,
-0.1941956728696823,
-0.22786876559257507,
-0.18776695430278778,
0.10196653008460999,
0.2921333611011505,
-0.09238104522228241,
-0.15830136835575104,
0.4561987519264221,
-0.034060508012771606,
0.3790792226791382,
-0.06434416770935059,
0.03176300227642059,
-0.29889214038848877,
-0.47246816754341125,
-0.2658204138278961,
0.12395012378692627,
-0.3821352422237396,
-0.2651141583919525,
0.11036264896392822,
-0.23577377200126648,
0.5637407898902893,
-0.09991222620010376,
0.18263565003871918,
0.2232760190963745,
0.054685741662979126,
-0.13046589493751526,
0.033453457057476044,
-0.10165919363498688,
-0.11119318008422852,
-0.05153501406311989,
-0.07378102838993073,
-0.055356647819280624,
-0.427329957485199,
0.08953595906496048,
-0.20928162336349487,
0.0036660246551036835,
-0.5487698316574097,
0.1480810046195984,
-0.07559949904680252,
-0.4313099980354309,
-0.1902102828025818,
0.6852622628211975,
-0.2602311372756958,
-0.2446003407239914,
0.2138635516166687,
-0.17915503680706024,
-0.1406191885471344,
-0.12083135545253754,
0.06037835031747818,
0.08162827789783478,
-0.27109527587890625,
-0.4351358711719513,
-0.21526172757148743,
-0.5134750008583069,
0.27997249364852905,
0.06440243870019913,
-0.02790571190416813,
0.053083501756191254,
-0.19511599838733673,
0.4110596179962158,
0.4739782512187958,
-0.20867624878883362,
0.07899211347103119,
0.25891220569610596,
0.08750677108764648,
0.017408454790711403,
0.097008615732193,
0.06953886151313782,
0.26031455397605896,
-0.0006324140122160316,
-0.007935196161270142,
0.6477396488189697,
-0.13276514410972595,
-0.07236937433481216,
-0.034138184040784836,
-0.23359735310077667,
0.4147742986679077,
0.24581380188465118,
0.297432541847229,
-0.18766829371452332,
0.09553826600313187,
0.2212878316640854,
0.4844616949558258,
0.2331072986125946,
0.08041742444038391,
0.24233931303024292,
-0.037983912974596024,
0.33798879384994507,
0.10073459148406982,
-0.14350545406341553,
-0.10318449884653091,
-0.03548799455165863,
-0.29148992896080017,
0.43722301721572876,
0.475261926651001,
-0.07670868188142776,
-0.15042957663536072,
-0.0018353555351495743,
-0.30423659086227417,
-0.592676043510437,
0.16619190573692322,
0.07879474014043808,
-0.18254193663597107,
0.16784632205963135,
-0.2829647660255432,
0.29119399189949036,
-0.21653896570205688,
-0.05377378314733505,
-0.15112249553203583,
0.15644201636314392,
-0.1802147924900055,
-0.23100267350673676,
-0.05969877541065216,
0.3847741484642029,
-0.1920490264892578,
-0.09687930345535278,
-0.021109575405716896,
0.09492811560630798,
0.06880224496126175,
0.10487533360719681,
0.42341601848602295,
-0.15337152779102325,
0.14363862574100494,
-0.11411449313163757,
0.029370224103331566,
0.13676626980304718,
-0.061837565153837204,
0.027412645518779755,
0.052076853811740875,
0.209345281124115,
0.1639210432767868,
0.04383298382163048,
0.10385936498641968,
-0.012302345596253872,
0.41072744131088257,
-0.07977583259344101,
0.1710945963859558,
-0.25131288170814514,
0.47924649715423584,
-0.03336067870259285,
0.4222927689552307,
-0.28603702783584595,
-0.5762183666229248,
0.018809102475643158,
0.6839913129806519,
-0.06069466471672058,
-0.04118407517671585,
0.25811079144477844,
-0.028737269341945648,
-0.2964043617248535,
0.2429894655942917,
-0.07836484909057617,
0.23409956693649292,
0.36065566539764404,
0.2579854428768158,
0.1205856204032898,
-0.09613756090402603,
-0.14568635821342468,
0.18709418177604675,
-0.14720843732357025,
0.022281741723418236,
0.0017799511551856995,
-0.11055450886487961,
0.07364281266927719,
-0.4514794945716858,
-0.24385300278663635,
0.10632261633872986,
0.19416464865207672,
0.06266820430755615,
-0.33386197686195374,
-0.14570346474647522,
-0.5557401180267334,
-0.05235306918621063,
0.07479619979858398,
-0.5314444899559021,
-0.38819047808647156,
0.31507378816604614,
-0.3930247128009796,
0.05854548141360283,
0.20889617502689362,
-0.27521994709968567,
0.12907183170318604,
-0.1682177633047104,
0.028277141973376274,
-0.28763315081596375,
-0.05265812575817108,
-0.5399479866027832,
0.18328939378261566,
-0.18127809464931488,
0.07468213140964508,
0.2617850601673126,
-0.41302376985549927,
0.3031389117240906,
-0.27249982953071594,
-0.5410230159759521,
0.39769721031188965,
-0.17031033337116241,
0.6774094104766846,
0.3221087157726288,
0.008110694587230682,
-0.1283961832523346,
0.1031881645321846,
-0.025830017402768135,
-0.4950956404209137,
-0.38376280665397644,
-0.1799204796552658,
-0.12904931604862213,
0.13861456513404846,
-0.08704213798046112,
-0.6768336296081543,
-0.5054979920387268,
-0.36174654960632324,
0.14038491249084473,
-0.012606298550963402,
0.39814841747283936,
0.0672503262758255,
-0.23076307773590088,
0.24908387660980225,
-0.273986279964447,
0.20641988515853882,
-0.2916058301925659,
-0.15282854437828064,
0.13861095905303955,
-0.3237137198448181,
-0.356021523475647,
0.05918319895863533,
-0.14177942276000977,
0.3093549609184265,
-0.3274232745170593,
-0.2365691065788269,
0.18443430960178375,
0.08143015950918198,
0.23518383502960205,
-0.028094306588172913,
0.1243455559015274,
0.423006534576416,
-0.08096203207969666,
-0.1613859236240387,
-0.18999546766281128,
-0.3178165853023529,
0.06643444299697876,
0.1153135895729065,
0.5545946359634399,
-0.001779600977897644,
-0.12276602536439896,
0.031066659837961197,
0.12661558389663696,
-0.1024339497089386,
0.02633858285844326,
0.4822525382041931,
-0.08415550738573074,
0.30963388085365295,
-0.07351755350828171,
-0.004808241501450539,
0.3872300684452057,
0.20507770776748657,
0.14667145907878876,
0.6310061812400818,
0.19712242484092712,
-0.3088808059692383,
-0.06268944591283798,
-0.22022610902786255,
-0.2648560702800751,
-0.03540004417300224,
0.025824710726737976,
-0.08681505918502808,
-0.013850614428520203,
-0.21865013241767883,
-0.044205211102962494,
-0.19426995515823364,
0.010598788037896156,
-0.04529979079961777,
0.4346271753311157,
-0.10883373767137527,
0.23467305302619934,
-0.20199960470199585,
-0.055134810507297516,
-0.2742472290992737,
0.10996848344802856,
-0.160541370511055,
0.3197939097881317,
-0.25446656346321106,
0.1593492031097412,
0.09842566400766373,
-0.055660415440797806,
0.4232304096221924,
-0.5171395540237427,
-0.36116838455200195,
0.06784084439277649,
0.25834038853645325,
0.08532363176345825,
0.03658246621489525,
-0.25798436999320984,
-0.24457336962223053,
0.29228049516677856,
0.15912771224975586,
-0.30051377415657043,
-0.3512739837169647,
0.18900266289710999,
0.07447128742933273,
-0.1721661537885666,
-0.039123378694057465,
-0.2789539694786072,
-0.3837558925151825,
-0.2149754911661148,
0.24377629160881042,
-0.1341729462146759,
-0.016147978603839874,
0.2637437880039215,
0.0013011060655117035,
0.06775616854429245,
0.21095585823059082,
0.2986488342285156,
0.14336080849170685,
0.09190115332603455,
0.1257341206073761,
-0.13737279176712036,
-0.08839231729507446,
-0.03317345678806305,
0.04252191632986069,
0.31588172912597656,
-0.25845611095428467,
-0.03411209583282471,
0.14235737919807434,
-0.2677287459373474,
0.5990576148033142,
0.2102155238389969,
0.046619560569524765,
0.3083149194717407,
-0.1826036125421524,
-0.0010486096143722534,
0.05204324424266815,
0.45525479316711426,
0.33702680468559265,
-0.026629306375980377,
-0.21111400425434113,
-0.6441893577575684,
0.17722368240356445,
0.1706741452217102,
-0.08721303939819336,
0.3509960174560547,
-0.06524823606014252,
-0.09629068523645401,
0.31884336471557617,
0.11221074312925339,
0.9316197037696838,
0.06318153440952301,
0.16282550990581512,
0.30384090542793274,
-0.38575315475463867,
0.42256924510002136,
-0.22186779975891113,
-0.004818841814994812,
-0.09183169156312943,
-0.0046988679096102715,
-0.15373975038528442,
0.20614397525787354,
0.3011905252933502,
0.1817811131477356,
-0.14233393967151642,
0.43147215247154236,
0.5709525942802429,
-0.3493846356868744,
0.3113488554954529,
0.4430885910987854,
-0.1762540489435196,
-0.3220835030078888,
-0.2885066270828247,
0.10971435904502869,
-0.29071152210235596,
0.1152627170085907,
-0.2131323516368866,
-0.33584731817245483,
-0.03874795883893967,
-0.12458363175392151,
-0.2958621382713318,
0.17786458134651184,
-0.046324897557497025,
-0.08734939247369766,
0.14096976816654205,
-0.11087355762720108,
0.0891331136226654,
-0.1370527297258377,
0.15237098932266235,
0.10376820713281631,
-0.1581658124923706,
0.2770802676677704,
0.019073165953159332,
-0.22208485007286072,
0.07449880987405777,
0.007674402557313442,
0.4539954960346222,
-0.2613884508609772,
-0.2463764250278473,
-0.053791873157024384,
-0.22610506415367126,
-0.23833873867988586,
-0.15633217990398407,
0.10311741381883621,
-0.02441837638616562,
0.1864754557609558,
-0.1087833046913147,
0.3658507764339447,
-0.07948856800794601,
-0.20498548448085785,
0.1492127627134323,
0.17258845269680023,
-0.27791908383369446,
-0.04912129044532776,
0.2043638825416565,
-0.1648154854774475,
-0.27253085374832153,
-0.25591394305229187,
0.15230150520801544,
-0.39815613627433777,
0.4061203896999359,
0.2970029413700104,
-0.10727310180664062,
-0.2923031151294708,
-0.19226375222206116,
0.2807651162147522,
-0.3502788543701172,
-0.22451026737689972,
0.05139797925949097,
-0.47121596336364746,
0.15462516248226166,
0.34794357419013977,
0.09363965690135956,
-0.03290541470050812,
-0.07849083840847015,
-0.28809356689453125,
-0.315187931060791,
0.16560208797454834,
-0.28602153062820435,
0.2649894654750824,
0.24188822507858276,
0.19476008415222168,
0.27706795930862427,
0.014240512624382973,
-0.34462952613830566,
0.030743082985281944,
-0.39703142642974854,
0.22881093621253967,
-0.11261452734470367,
0.010214347392320633,
0.07622499763965607,
0.13061828911304474,
0.06253797560930252,
-0.016720756888389587,
-0.2050143927335739,
-0.11041948199272156,
-0.31810101866722107,
0.12067805230617523,
0.09444935619831085,
0.270357221364975,
0.009262023493647575,
0.19827905297279358,
-0.20903365314006805,
-0.07163991779088974,
0.015042632818222046,
-0.09624040871858597,
-0.0984017550945282,
0.6307782530784607,
0.36955058574676514,
0.1967868208885193,
0.13772547245025635,
0.08560143411159515,
0.17289400100708008,
0.2604411244392395,
0.0981508195400238,
0.17739048600196838,
-0.07250969856977463,
-0.01914919540286064,
0.07738452404737473,
0.13416878879070282,
-0.03418903052806854,
0.047790106385946274,
-0.05155337601900101,
0.1382388174533844,
0.0967976450920105,
0.05015126243233681,
0.0841253474354744,
0.14045050740242004,
-0.01925271935760975,
-0.16458705067634583,
0.5828509330749512,
0.1754343956708908,
-0.5148547887802124,
0.14681385457515717,
0.07294504344463348,
-0.14005392789840698,
0.02783682569861412,
0.20431405305862427,
0.3793915808200836,
0.30040761828422546,
0.06147217005491257,
-0.029786480590701103,
0.14662973582744598,
-0.0926157757639885,
0.22822675108909607,
0.2756390869617462,
-0.12731274962425232,
0.12244200706481934,
0.20193052291870117,
0.12565584480762482,
-0.00481317937374115,
0.29423820972442627,
0.055425975471735,
0.45658621191978455,
0.41105377674102783,
0.4198368787765503,
-0.0010091587901115417,
-0.11200873553752899,
0.2654750347137451,
0.4031957685947418,
0.3317268490791321,
0.17116659879684448,
0.1569116711616516,
0.46659642457962036,
0.049438998103141785,
0.019767310470342636,
-0.28722280263900757,
0.24141532182693481,
-0.12584686279296875,
-0.08082927763462067,
0.09023897349834442,
-0.10797227174043655,
-0.24942061305046082,
-0.062036000192165375,
0.19273413717746735,
-0.08185333013534546,
0.111746646463871,
0.03734815493226051,
0.09175405651330948,
-0.27118030190467834,
-0.002309996634721756,
0.05391966179013252,
-0.18698501586914062,
-0.20195366442203522,
0.43497350811958313,
-0.0558464378118515,
-0.09682740271091461,
0.20904751121997833,
0.2756616473197937,
0.14996512234210968,
0.1745423823595047,
0.023033451288938522,
-0.16345813870429993,
0.02497849240899086,
0.06839229166507721,
-0.0658378005027771,
0.2515828013420105,
0.34062254428863525,
0.4463618993759155,
0.32485851645469666,
0.018824150785803795,
-0.18218418955802917,
0.10384372621774673,
0.06029411777853966,
-0.09115038812160492,
0.014142785221338272,
0.32285186648368835,
0.005876732990145683,
0.04111278057098389,
-0.3767549395561218,
0.10698062926530838,
-0.596825897693634,
-0.062377139925956726,
0.1835760772228241,
0.011709243059158325,
-0.13000795245170593,
-0.325056254863739,
0.0873262956738472,
0.12475475668907166,
0.20140942931175232,
0.37180784344673157,
0.39583560824394226,
-0.10294166952371597,
-0.32750076055526733,
-0.5962297916412354,
0.1231687068939209,
-0.032565679401159286,
-0.2580493688583374,
0.08303295820951462,
-0.04561081528663635,
0.1402098685503006,
0.16010133922100067,
0.14164386689662933,
0.2313823699951172,
0.36012303829193115,
0.1438632309436798,
-0.26612886786460876,
0.016269078478217125,
0.19724740087985992,
0.3478125035762787,
0.07270112633705139,
0.028479620814323425,
-0.25371578335762024,
0.13327723741531372,
-0.02559930831193924,
-0.2862282395362854,
-0.21247665584087372,
0.11427775025367737,
0.1726699322462082,
0.29132080078125,
0.11805039644241333,
0.35273003578186035,
-0.284573495388031,
-0.04332819581031799,
-0.08574971556663513,
-0.31990522146224976,
-0.26061517000198364,
0.16029977798461914,
-0.11779363453388214,
0.0032910574227571487,
-0.010227421298623085,
-0.08394977450370789,
-0.22712813317775726,
-0.1633799821138382,
-0.14652010798454285,
0.005486912559717894,
-0.4342223107814789,
0.24319276213645935,
-0.030070535838603973,
-0.1308712363243103,
-0.1396741271018982,
0.17927885055541992,
0.04723818600177765,
-0.2363021969795227,
-0.2236705720424652,
-0.28344017267227173,
0.3100224733352661,
-0.16803841292858124,
-0.10674045979976654,
-0.23366858065128326,
-0.0030028745532035828,
0.19445359706878662,
-0.004066908732056618,
-0.7927543520927429,
0.09593234211206436,
0.20349140465259552,
0.29679667949676514,
-0.06637541949748993,
0.1257757693529129,
-0.15828634798526764,
-0.07430766522884369,
-0.0998171865940094,
0.10661156475543976,
0.10910321772098541,
-0.046954263001680374,
0.19236640632152557,
-0.3123055100440979
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | By the way, @TheophileBlard I commented some days ago in your fork. It would be great if you can maybe open a new PR with your code or if you have a better way to make it available to others for review. | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 42 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
By the way, @TheophileBlard I commented some days ago in your fork. It would be great if you can maybe open a new PR with your code or if you have a better way to make it available to others for review. | [
-0.522195041179657,
-0.09328310191631317,
-0.21300022304058075,
-0.15786844491958618,
0.05946911871433258,
-0.03800422325730324,
0.16204793751239777,
0.019816091284155846,
-0.14162158966064453,
0.2792125940322876,
-0.00042225467041134834,
0.2796410918235779,
0.10012637823820114,
0.31418442726135254,
0.181637704372406,
-0.2802301347255707,
-0.0440668985247612,
0.3213052749633789,
0.038200173527002335,
-0.04533901438117027,
-0.1523822844028473,
0.05965106934309006,
-0.05765042454004288,
-0.05013053119182587,
-0.012540184892714024,
-0.05411970615386963,
-0.13104304671287537,
0.21545299887657166,
-0.04508885741233826,
-0.23885568976402283,
0.07934632152318954,
0.41307333111763,
0.00985155999660492,
-0.015626974403858185,
-0.00009515220153843984,
0.051306672394275665,
0.05176524072885513,
-0.07523030042648315,
-0.16699911653995514,
0.4528508186340332,
0.013047505170106888,
0.048724234104156494,
-0.19090081751346588,
0.0336143895983696,
-0.3267531394958496,
-0.03780284523963928,
0.024696573615074158,
-0.3366449177265167,
0.028633497655391693,
0.2809085249900818,
0.3474532663822174,
0.0619354248046875,
0.2867264449596405,
-0.2717994451522827,
0.16081655025482178,
-0.027989976108074188,
-0.2746936082839966,
-0.11904694139957428,
0.397134929895401,
0.26306653022766113,
0.026368506252765656,
0.24863581359386444,
0.2948659062385559,
0.14043426513671875,
0.05410714074969292,
0.12518057227134705,
0.024252094328403473,
-0.05165242403745651,
0.09448127448558807,
0.18015611171722412,
0.3740920424461365,
-0.3086065948009491,
-0.2777183949947357,
-0.022309429943561554,
0.08985880017280579,
-0.38016217947006226,
-0.09110880643129349,
-0.1879928708076477,
-0.02516251616179943,
0.16801665723323822,
0.24188271164894104,
-0.291930228471756,
-0.33111366629600525,
0.04763580858707428,
0.09942001104354858,
0.057803694158792496,
-0.024075042456388474,
-0.020223543047904968,
-0.007041808217763901,
0.011173738166689873,
0.011677342467010021,
0.10897115617990494,
-0.2364407777786255,
-0.00015463028103113174,
0.03647582232952118,
-0.2538752555847168,
0.1238756775856018,
-0.09940633922815323,
0.38912102580070496,
0.22743427753448486,
-0.2625863552093506,
0.18912360072135925,
-0.04228894039988518,
0.03498172014951706,
0.007944826036691666,
-0.21224002540111542,
0.08956010639667511,
0.07978802919387817,
0.1929764300584793,
-0.1337316334247589,
0.11172278225421906,
-0.197249174118042,
-0.001568682142533362,
-0.04871038347482681,
-0.20652490854263306,
0.0038632433861494064,
0.057737015187740326,
-0.3137403726577759,
-0.21912881731987,
0.014358999207615852,
0.22230222821235657,
0.012776456773281097,
-0.07446648925542831,
0.4777126610279083,
0.11426547914743423,
0.01944989711046219,
0.07031466066837311,
0.009547002613544464,
0.03190658241510391,
-0.33612021803855896,
-0.38367602229118347,
0.030078349635004997,
-0.1314011812210083,
0.0006323549896478653,
0.15192824602127075,
-0.23921766877174377,
0.33575302362442017,
0.049166321754455566,
0.1573215276002884,
0.19244374334812164,
0.11366735398769379,
-0.06798366457223892,
0.07281149178743362,
0.015834838151931763,
-0.04917673021554947,
-0.1987888664007187,
0.05150986835360527,
0.13799354434013367,
-0.21207863092422485,
-0.10997989028692245,
0.12097655981779099,
-0.13022099435329437,
-0.5385874509811401,
0.3349178731441498,
0.1497376412153244,
-0.36338138580322266,
0.21715009212493896,
0.35264816880226135,
-0.185381680727005,
-0.2801847457885742,
0.16197475790977478,
0.13569994270801544,
-0.011075850576162338,
-0.15090228617191315,
0.24046337604522705,
0.2743045687675476,
-0.5428105592727661,
-0.06144566833972931,
-0.1291842758655548,
-0.5229633450508118,
0.30458712577819824,
-0.0889655202627182,
0.04667925834655762,
0.08600498735904694,
-0.23901674151420593,
0.00702783465385437,
0.22709102928638458,
-0.06346264481544495,
-0.20224584639072418,
0.05669643357396126,
-0.3080875873565674,
-0.12899412214756012,
0.23340684175491333,
0.0893130898475647,
-0.0010159444063901901,
-0.059491030871868134,
0.2685081958770752,
0.3534165620803833,
-0.32031306624412537,
0.0789058655500412,
-0.13063527643680573,
-0.15949171781539917,
-0.22753329575061798,
0.22001414000988007,
0.08936849236488342,
0.07082702219486237,
0.2604812681674957,
0.10871235281229019,
0.21423780918121338,
-0.06472091376781464,
0.15567776560783386,
0.20684199035167694,
0.4432431161403656,
0.270128071308136,
-0.19498363137245178,
-0.01910175196826458,
-0.08367566019296646,
-0.14276637136936188,
-0.03553545102477074,
0.155676931142807,
0.3170827031135559,
-0.23258529603481293,
-0.20820778608322144,
0.06899239122867584,
-0.1860034316778183,
-0.41734325885772705,
0.3595215976238251,
0.42988333106040955,
-0.0674184113740921,
-0.10344916582107544,
-0.12166489660739899,
0.15294894576072693,
-0.156466543674469,
-0.1549217402935028,
0.1381995975971222,
0.11934810876846313,
-0.18518853187561035,
-0.1949429214000702,
-0.03609567880630493,
0.1688244640827179,
-0.1314498484134674,
-0.02065424434840679,
0.06245218217372894,
0.22443228960037231,
-0.07387138903141022,
-0.08211995661258698,
0.5440714955329895,
0.07424326241016388,
-0.02401995100080967,
-0.1477208435535431,
0.016377896070480347,
-0.03725041076540947,
-0.02191532403230667,
0.04252289980649948,
-0.2365398406982422,
0.3227039575576782,
0.20716513693332672,
-0.21561548113822937,
-0.06371726095676422,
-0.04024020582437515,
0.28510504961013794,
-0.06802070140838623,
0.13146653771400452,
-0.35620468854904175,
0.06831751018762589,
-0.004909545183181763,
0.264766663312912,
-0.2833971381187439,
-0.5811339020729065,
0.2529394328594208,
0.23037652671337128,
0.11520080268383026,
0.2472420632839203,
0.08375474810600281,
-0.21158698201179504,
-0.08202128112316132,
0.23108623921871185,
-0.20032899081707,
0.24977348744869232,
0.4507618546485901,
0.1928984522819519,
0.09599670767784119,
0.024561487138271332,
-0.13153809309005737,
0.175302654504776,
-0.2113964706659317,
-0.05895997956395149,
0.06871634721755981,
0.012152810581028461,
-0.15183313190937042,
-0.5244796276092529,
-0.21321119368076324,
-0.18776264786720276,
0.18149036169052124,
-0.1184302568435669,
-0.20925922691822052,
0.10789327323436737,
-0.1487787365913391,
0.08744452893733978,
-0.05571563169360161,
0.05527646094560623,
-0.30519625544548035,
0.37871623039245605,
-0.012937713414430618,
-0.17053788900375366,
0.18899936974048615,
-0.045831404626369476,
0.44427573680877686,
0.1859164535999298,
0.022727664560079575,
-0.29994410276412964,
0.1455148160457611,
-0.29208511114120483,
0.41436460614204407,
-0.29130372405052185,
0.036969009786844254,
0.5285552740097046,
-0.07980690151453018,
0.4347093105316162,
-0.37501493096351624,
-0.35641852021217346,
0.28008878231048584,
-0.0692969560623169,
0.48272135853767395,
0.34324729442596436,
0.38872748613357544,
0.11339037120342255,
-0.24960647523403168,
0.10032834112644196,
-0.3000231981277466,
-0.269692063331604,
-0.17638787627220154,
-0.18900924921035767,
0.18280848860740662,
-0.22990675270557404,
-0.41424140334129333,
-0.0654451996088028,
-0.29978305101394653,
0.09372081607580185,
0.025529421865940094,
0.053387053310871124,
-0.047172948718070984,
0.19570782780647278,
0.27947482466697693,
-0.16542434692382812,
0.061017170548439026,
-0.4122064411640167,
-0.1556658297777176,
0.1788148581981659,
-0.4156617522239685,
-0.20308275520801544,
-0.027368249371647835,
-0.13651716709136963,
0.037787310779094696,
-0.2384471595287323,
-0.27458441257476807,
-0.23101256787776947,
0.006099706515669823,
0.3070659637451172,
-0.01994892954826355,
0.0658031702041626,
0.22320207953453064,
-0.019484054297208786,
-0.386707067489624,
-0.16633786261081696,
-0.07578080147504807,
0.09298481047153473,
-0.20648449659347534,
0.2727816104888916,
-0.1840265989303589,
0.0697789341211319,
-0.07541987299919128,
0.30450087785720825,
0.12306532263755798,
-0.22781981527805328,
0.2767723798751831,
-0.22321432828903198,
0.4778427481651306,
-0.027460463345050812,
-0.08872070908546448,
0.25226515531539917,
0.19365060329437256,
0.16812120378017426,
0.40819424390792847,
0.07540528476238251,
-0.12048809975385666,
-0.07009444385766983,
0.008502397686243057,
0.006295204162597656,
-0.16040118038654327,
-0.00758318230509758,
0.012557227164506912,
-0.027607925236225128,
-0.29834744334220886,
-0.0679275169968605,
-0.3329688310623169,
0.06158357858657837,
0.04429003223776817,
0.2673856019973755,
0.013169147074222565,
-0.08179080486297607,
-0.12845478951931,
0.2570852041244507,
-0.37058138847351074,
0.2693006098270416,
-0.08008568733930588,
0.11817877739667892,
-0.32798272371292114,
0.04045359045267105,
0.1072211042046547,
-0.0014805756509304047,
0.5235762596130371,
-0.5327097177505493,
-0.059571437537670135,
-0.02168027125298977,
0.1315496414899826,
0.04531526565551758,
0.1767994612455368,
-0.41919994354248047,
-0.028662709519267082,
0.17344149947166443,
0.1557667851448059,
-0.3389888405799866,
0.05981353670358658,
0.5393387079238892,
-0.008453953079879284,
-0.05060402303934097,
-0.02763669565320015,
-0.11870244145393372,
-0.374894917011261,
-0.335048109292984,
0.4596497714519501,
-0.04246431961655617,
0.16279545426368713,
0.059661172330379486,
-0.06147252023220062,
-0.029666101559996605,
0.12145379930734634,
0.07144016772508621,
0.12962935864925385,
0.1983220875263214,
0.20203076303005219,
-0.17221908271312714,
0.057247623801231384,
-0.2709202170372009,
0.24428026378154755,
0.16060222685337067,
-0.018899761140346527,
-0.1254565566778183,
0.073792964220047,
-0.29478636384010315,
0.22324925661087036,
0.15437550842761993,
0.07206767797470093,
0.32726332545280457,
-0.1296028196811676,
0.07569153606891632,
0.07971743494272232,
0.34737640619277954,
-0.014390533789992332,
-0.018539411947131157,
-0.026347113773226738,
-0.5203389525413513,
0.09348727017641068,
-0.08736434578895569,
-0.12919631600379944,
0.4568929672241211,
0.011980913579463959,
-0.23264771699905396,
0.22486646473407745,
0.2667665481567383,
0.7812018990516663,
0.15389308333396912,
-0.07130947709083557,
0.171535462141037,
-0.2106034904718399,
0.05252263695001602,
-0.3961871266365051,
-0.04755271226167679,
-0.13552820682525635,
-0.26653748750686646,
-0.02865394949913025,
0.028027433902025223,
0.21958133578300476,
0.07413545250892639,
-0.46966204047203064,
-0.07929828763008118,
0.18528561294078827,
-0.07735404372215271,
0.16604389250278473,
0.23842254281044006,
-0.043842166662216187,
-0.12951603531837463,
0.007717873901128769,
0.29310184717178345,
-0.10014437139034271,
0.06722784042358398,
-0.15683677792549133,
-0.2460928112268448,
0.00385458767414093,
-0.09258049726486206,
-0.3109395205974579,
-0.009541401639580727,
-0.15293870866298676,
-0.09233932197093964,
0.03028532862663269,
0.05905495584011078,
-0.21531614661216736,
-0.06062512472271919,
0.450793981552124,
0.34161239862442017,
-0.14982683956623077,
0.18334069848060608,
0.30019259452819824,
-0.12173540145158768,
-0.17825189232826233,
-0.036194369196891785,
0.16941364109516144,
-0.16722187399864197,
-0.34895017743110657,
0.35108932852745056,
-0.08767405897378922,
-0.47071653604507446,
-0.1701485514640808,
-0.1791495829820633,
-0.22683484852313995,
-0.11657430231571198,
0.10133615136146545,
0.36305391788482666,
-0.0553816556930542,
-0.30917149782180786,
0.2472507208585739,
0.3135088086128235,
-0.10578064620494843,
-0.11682633310556412,
0.3538202941417694,
-0.09678351879119873,
-0.15445725619792938,
0.037503790110349655,
-0.025548316538333893,
-0.0774916410446167,
0.19313715398311615,
0.19882561266422272,
-0.1998416632413864,
-0.4229207932949066,
-0.22294136881828308,
0.31763795018196106,
-0.3780117332935333,
-0.05144241079688072,
0.15422682464122772,
-0.3429502248764038,
0.20288699865341187,
0.302349716424942,
0.0881883054971695,
0.013406511396169662,
-0.14792245626449585,
-0.09571673721075058,
-0.5314933657646179,
-0.07250645756721497,
-0.16440646350383759,
0.5442903637886047,
0.11324901133775711,
0.2244897335767746,
0.09028109908103943,
0.05008544400334358,
-0.559890866279602,
-0.20665620267391205,
-0.4051324725151062,
-0.11727143824100494,
-0.13756418228149414,
-0.07103290408849716,
0.10795623809099197,
-0.01705872267484665,
0.2774798572063446,
-0.09018158167600632,
-0.3940936028957367,
-0.3024761974811554,
-0.03409254550933838,
0.05266892910003662,
-0.10133472830057144,
0.10399500280618668,
-0.17675110697746277,
0.18419207632541656,
-0.15484850108623505,
-0.024114929139614105,
0.4010832607746124,
-0.1490429937839508,
-0.09518520534038544,
0.20195627212524414,
0.23200157284736633,
0.18154889345169067,
0.036393098533153534,
-0.2521372437477112,
0.17225977778434753,
-0.03489409387111664,
0.07633312791585922,
0.12424314767122269,
-0.19688941538333893,
-0.15730386972427368,
0.5355206727981567,
0.32324281334877014,
0.28535717725753784,
0.23751375079154968,
-0.04401835799217224,
0.09271939098834991,
-0.20989154279232025,
0.1781999170780182,
-0.05422361195087433,
-0.09211993217468262,
-0.22088328003883362,
0.051093071699142456,
-0.05570663511753082,
0.4251982867717743,
-0.38786154985427856,
0.17899294197559357,
-0.07606618106365204,
-0.10957062244415283,
0.37825724482536316,
0.18898804485797882,
0.2207997441291809,
-0.005503945052623749,
0.20959684252738953,
0.2584105134010315,
0.14213180541992188,
-0.13658717274665833,
-0.03800952807068825,
0.4063657224178314,
-0.2626494765281677,
-0.010359261184930801,
0.1951444000005722,
0.2558032274246216,
0.11288735270500183,
0.30611109733581543,
0.13277724385261536,
0.3728135824203491,
0.05564434826374054,
0.12332756817340851,
0.1209019273519516,
-0.1988201141357422,
0.5300023555755615,
0.34572964906692505,
0.12228929251432419,
0.10732301324605942,
0.31730106472969055,
-0.1830822229385376,
-0.036507777869701385,
-0.033874329179525375,
-0.2454269677400589,
0.05426827818155289,
-0.11940578371286392,
-0.1449798047542572,
-0.10686750710010529,
-0.2122352421283722,
0.0020025521516799927,
-0.24006928503513336,
0.199334517121315,
0.01032005250453949,
-0.018139198422431946,
-0.2902761697769165,
0.07203350961208344,
-0.11468003690242767,
0.3058528006076813,
0.08740270137786865,
-0.016473911702632904,
-0.03884914517402649,
0.21278445422649384,
0.17069000005722046,
-0.03542858362197876,
0.34915685653686523,
0.24247825145721436,
0.07685276120901108,
-0.11411859095096588,
0.16011375188827515,
0.21440336108207703,
0.030023662373423576,
-0.15116333961486816,
-0.1624583899974823,
-0.008238241076469421,
0.20153234899044037,
0.19093731045722961,
0.28171756863594055,
0.32771751284599304,
-0.33521777391433716,
0.0055844224989414215,
0.04055153578519821,
0.04472687095403671,
-0.0617239885032177,
0.03154060244560242,
0.2250615805387497,
-0.17175087332725525,
-0.1789809763431549,
-0.01623578369617462,
-0.19084057211875916,
-0.20370620489120483,
0.24148447811603546,
-0.33633142709732056,
-0.0968041941523552,
-0.1156543716788292,
0.187246635556221,
0.31293830275535583,
0.19330398738384247,
0.21870693564414978,
0.1057296097278595,
-0.04509696736931801,
-0.2918984293937683,
-0.3526981472969055,
0.2123170644044876,
0.08130863308906555,
-0.12204203754663467,
-0.04939807951450348,
0.07101169973611832,
0.3793051540851593,
0.1580340564250946,
0.14133064448833466,
0.08073162287473679,
0.16801637411117554,
0.15888339281082153,
-0.4275772273540497,
0.006909489631652832,
0.32036060094833374,
0.23241806030273438,
0.228684663772583,
-0.05474933981895447,
-0.05552782490849495,
0.24760454893112183,
0.35820272564888,
-0.19520051777362823,
-0.06596112251281738,
0.16481313109397888,
-0.09219299256801605,
0.28384318947792053,
-0.004470476880669594,
0.2681658864021301,
-0.43900948762893677,
0.10245413333177567,
-0.07322743535041809,
-0.05787650868296623,
-0.3165401220321655,
-0.04224803298711777,
0.05087294429540634,
0.10117161273956299,
0.1401006430387497,
-0.4565525949001312,
-0.07783728837966919,
0.09582430124282837,
0.22069387137889862,
0.24966387450695038,
-0.19196535646915436,
0.5375388264656067,
-0.10854965448379517,
-0.11052551120519638,
-0.14800572395324707,
-0.05484497547149658,
0.06794097274541855,
-0.2099127620458603,
-0.0773257166147232,
-0.3948196470737457,
0.38461965322494507,
-0.012946322560310364,
-0.16292069852352142,
-0.13977816700935364,
0.11477770656347275,
0.09138846397399902,
-0.000752471387386322,
-0.47092610597610474,
0.20087265968322754,
0.17559288442134857,
0.07218138873577118,
-0.08526115864515305,
0.1863013505935669,
-0.12558096647262573,
0.14121204614639282,
-0.1264534443616867,
0.48879778385162354,
0.06478653103113174,
-0.021372441202402115,
-0.17857572436332703,
-0.41615670919418335
] |
https://github.com/huggingface/datasets/pull/253 | add flue dataset | > By the way, @TheophileBlard I commented some days ago in your fork. It would be great if you can maybe open a new PR with your code or if you have a better way to make it available to others for review.
Yea sorry, missed that! I think @lbourdois has a point, it helps no one to have the same dataset in multiple places. I will try to find some time to adapt the code of my fork and open PRs for `Webis-CLS-10` and `nsd`/`vsd`. Maybe we should group `nsd`/`vsd` together ? | This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
| 93 | text: add flue dataset
This PR add the Flue dataset as requested in this issue #223 . @lbourdois made a detailed description in that issue.
> By the way, @TheophileBlard I commented some days ago in your fork. It would be great if you can maybe open a new PR with your code or if you have a better way to make it available to others for review.
Yea sorry, missed that! I think @lbourdois has a point, it helps no one to have the same dataset in multiple places. I will try to find some time to adapt the code of my fork and open PRs for `Webis-CLS-10` and `nsd`/`vsd`. Maybe we should group `nsd`/`vsd` together ? | [
-0.45872583985328674,
-0.24971915781497955,
-0.1891830414533615,
-0.15478360652923584,
0.05994381010532379,
-0.04359690099954605,
0.28797996044158936,
0.12568336725234985,
0.07462149858474731,
0.22990211844444275,
-0.2110731452703476,
-0.03029022552073002,
0.25763192772865295,
0.25052616000175476,
0.21711258590221405,
-0.265529602766037,
0.09803910553455353,
0.36604025959968567,
0.19080719351768494,
0.11237435042858124,
-0.1592010110616684,
0.13959838449954987,
0.09391732513904572,
-0.008044548332691193,
0.11064120382070541,
-0.06883227825164795,
-0.23285028338432312,
0.29886800050735474,
0.08315432071685791,
-0.3317898213863373,
0.2410694807767868,
0.3724313974380493,
0.20348772406578064,
0.28447404503822327,
-0.00010290804493706673,
0.25414538383483887,
-0.022381730377674103,
-0.13119502365589142,
-0.3350280225276947,
0.48778027296066284,
-0.06220538914203644,
0.09700195491313934,
-0.17216792702674866,
-0.11293874680995941,
-0.2875513732433319,
-0.07061576843261719,
-0.19537699222564697,
-0.529206395149231,
-0.053300827741622925,
0.38921985030174255,
0.27737197279930115,
0.3682481050491333,
0.13266918063163757,
-0.1250390261411667,
-0.09827100485563278,
0.03474098816514015,
-0.18822652101516724,
0.09331579506397247,
0.5283130407333374,
0.5308300256729126,
0.320675253868103,
0.20157861709594727,
0.15042644739151,
0.1568928360939026,
-0.1062614843249321,
0.2330160140991211,
0.18029820919036865,
-0.1253981590270996,
0.2695404887199402,
0.10055824369192123,
0.5804580450057983,
-0.10575265437364578,
-0.2249339520931244,
-0.0037073083221912384,
-0.05768197774887085,
-0.24192072451114655,
-0.004534706473350525,
0.020072782412171364,
0.062458496540784836,
0.3603585958480835,
0.20491942763328552,
-0.16817355155944824,
-0.23136205971240997,
0.041807569563388824,
0.131741464138031,
-0.058133870363235474,
0.021128706634044647,
0.15098798274993896,
0.06963304430246353,
-0.10007725656032562,
-0.10353627800941467,
0.17156945168972015,
-0.33267277479171753,
-0.03812990337610245,
-0.21102170646190643,
-0.3950260281562805,
0.09260188043117523,
-0.24552074074745178,
0.3303666412830353,
0.30830246210098267,
-0.2592470943927765,
0.1081237941980362,
-0.10540124773979187,
-0.03450075536966324,
-0.03749280795454979,
0.002811065874993801,
0.13828566670417786,
0.15622597932815552,
0.39291608333587646,
-0.08217695355415344,
0.159480020403862,
-0.03274892270565033,
0.1659773588180542,
0.1287381500005722,
-0.3259463906288147,
-0.25884467363357544,
0.16016998887062073,
-0.16727593541145325,
-0.16574230790138245,
-0.07584428042173386,
0.20772597193717957,
-0.03565691038966179,
-0.1724383533000946,
0.5160106420516968,
0.20233295857906342,
0.14335212111473083,
0.274971604347229,
0.149827778339386,
-0.17405977845191956,
-0.35718122124671936,
-0.2980293929576874,
-0.04438479617238045,
-0.08911821246147156,
0.13936658203601837,
0.01875871792435646,
-0.20014216005802155,
0.2417207807302475,
-0.01567852310836315,
-0.3144334554672241,
0.2702369689941406,
0.10055592656135559,
0.23135261237621307,
0.08005836606025696,
0.16534997522830963,
0.22289612889289856,
-0.026316963136196136,
-0.0002949908375740051,
0.006202831864356995,
-0.21998068690299988,
-0.13745951652526855,
0.012901682406663895,
-0.3180761933326721,
-0.5136770009994507,
0.2632156014442444,
0.05630924552679062,
-0.32454976439476013,
0.45099303126335144,
0.4075685739517212,
-0.10916466265916824,
-0.19552290439605713,
-0.023760370910167694,
0.18221358954906464,
-0.12404893338680267,
-0.1335473507642746,
0.19977055490016937,
0.39233261346817017,
-0.6139439344406128,
-0.09269288182258606,
0.14341768622398376,
-0.5390402674674988,
0.0674130767583847,
0.15089669823646545,
-0.0020672620739787817,
-0.022108837962150574,
-0.29781198501586914,
-0.08374200016260147,
0.027998261153697968,
-0.14057005941867828,
-0.16645745933055878,
0.2112627923488617,
-0.14756804704666138,
-0.17420464754104614,
0.23111236095428467,
0.04178324341773987,
-0.002843695692718029,
0.08680839091539383,
0.13047799468040466,
0.2518768906593323,
-0.2522096037864685,
0.23710370063781738,
-0.17594316601753235,
-0.12246880680322647,
-0.16093358397483826,
0.09585852921009064,
0.0357629656791687,
0.07398831099271774,
0.1995508074760437,
-0.04430387541651726,
0.2615967392921448,
-0.1826513111591339,
0.35025954246520996,
0.24830979108810425,
0.24909819662570953,
0.28504687547683716,
0.10953196883201599,
-0.05423680692911148,
-0.40588703751564026,
0.10449445992708206,
-0.09270504862070084,
0.26469457149505615,
0.3821401000022888,
-0.13420024514198303,
-0.2338605523109436,
0.03404085338115692,
-0.23643435537815094,
-0.45069795846939087,
0.22291156649589539,
0.46373242139816284,
0.20161207020282745,
-0.131447434425354,
-0.20765405893325806,
-0.006560657173395157,
-0.2372177094221115,
-0.09449707716703415,
0.12746694684028625,
0.2725275158882141,
-0.3402235805988312,
-0.21283473074436188,
-0.2539457082748413,
-0.049264080822467804,
-0.23024186491966248,
-0.17896386981010437,
-0.08288022130727768,
0.32209476828575134,
-0.2432822436094284,
-0.2309243232011795,
0.7540700435638428,
0.17282243072986603,
0.2711164653301239,
-0.3419742286205292,
0.040749069303274155,
0.13674329221248627,
-0.10112936049699783,
-0.018679887056350708,
-0.12817880511283875,
0.11560945212841034,
0.15367519855499268,
0.13598522543907166,
0.023223809897899628,
0.04310530424118042,
0.5381837487220764,
-0.06152781471610069,
0.11018022894859314,
-0.26662155985832214,
0.002733837813138962,
-0.06977565586566925,
0.49156033992767334,
-0.18558369576931,
-0.5263528227806091,
0.34066519141197205,
-0.15760168433189392,
-0.07313048839569092,
0.016130253672599792,
0.10149221122264862,
-0.18323254585266113,
-0.04439958184957504,
0.1929330974817276,
-0.3178408741950989,
0.37762153148651123,
0.32886677980422974,
0.203143909573555,
-0.12423548847436905,
0.00955426599830389,
-0.12472394108772278,
0.25275564193725586,
-0.029467880725860596,
-0.14176316559314728,
0.036763668060302734,
0.07041328400373459,
-0.11783763021230698,
-0.30431923270225525,
-0.0989467203617096,
-0.01713021844625473,
0.13768821954727173,
-0.12193779647350311,
0.03412461280822754,
0.07696080952882767,
-0.37685731053352356,
0.00918937660753727,
-0.006622696295380592,
-0.10549820959568024,
-0.13253222405910492,
0.3837369680404663,
-0.20851999521255493,
-0.24656248092651367,
0.2155134379863739,
-0.16752296686172485,
0.5252560377120972,
0.1012154221534729,
0.24116653203964233,
-0.3924308717250824,
0.1798313707113266,
-0.517175018787384,
0.267000675201416,
-0.05441021919250488,
-0.1698877513408661,
0.5386368632316589,
0.026568228378891945,
0.16171148419380188,
-0.6537359356880188,
-0.441203773021698,
0.34331077337265015,
0.022737234830856323,
0.48711881041526794,
0.3375338912010193,
0.36948978900909424,
0.122139111161232,
-0.32602423429489136,
0.09734772890806198,
-0.3591649532318115,
-0.23856277763843536,
-0.19148142635822296,
-0.32266271114349365,
0.0005200275918468833,
-0.2121797353029251,
-0.47515007853507996,
-0.30215853452682495,
-0.3797479271888733,
0.08686462789773941,
-0.10679410398006439,
0.09672920405864716,
0.14137157797813416,
0.04230868071317673,
0.034758929163217545,
0.07570560276508331,
0.09581790864467621,
-0.2592560350894928,
-0.2770138382911682,
-0.038596246391534805,
-0.449923038482666,
-0.2003004252910614,
0.10144123435020447,
-0.1449851393699646,
0.2579483687877655,
-0.15903975069522858,
-0.11767353117465973,
0.2141789048910141,
-0.09239505976438522,
0.3573460578918457,
-0.1217208206653595,
0.053693972527980804,
0.27884209156036377,
-0.14139482378959656,
-0.24342234432697296,
-0.22115886211395264,
0.02445806935429573,
0.24534526467323303,
-0.16223520040512085,
0.3081950843334198,
0.13816365599632263,
-0.1879161298274994,
-0.03152801841497421,
0.4692060947418213,
0.3031253516674042,
-0.3942667245864868,
0.291795551776886,
-0.1427113115787506,
0.4251003563404083,
-0.07725990563631058,
-0.09078983962535858,
0.037270329892635345,
0.2495177686214447,
0.036388520151376724,
0.5311619639396667,
0.14913421869277954,
-0.19569018483161926,
-0.18433474004268646,
0.21017570793628693,
-0.004369452595710754,
-0.1256490796804428,
-0.009816160425543785,
0.09661062061786652,
0.13528171181678772,
-0.26474305987358093,
-0.32614657282829285,
-0.25791338086128235,
0.06999076157808304,
-0.009126685559749603,
0.4065348505973816,
-0.04574347287416458,
0.10163053870201111,
-0.35378003120422363,
0.27711817622184753,
-0.3376553952693939,
0.14970430731773376,
-0.0025320101995021105,
0.06007895991206169,
-0.30119776725769043,
0.09734491258859634,
0.18179640173912048,
0.11569349467754364,
0.4235130548477173,
-0.7681745290756226,
-0.12235331535339355,
0.07666687667369843,
0.21342697739601135,
-0.10395732522010803,
-0.018268827348947525,
-0.22352634370326996,
-0.25543543696403503,
0.541113555431366,
0.17641952633857727,
-0.36814722418785095,
-0.007491155527532101,
0.48431408405303955,
-0.1728138029575348,
-0.11059153825044632,
-0.31061306595802307,
-0.078895203769207,
-0.18661335110664368,
-0.4229397773742676,
0.3249719440937042,
0.13878998160362244,
0.03916313499212265,
0.09192124754190445,
-0.14568080008029938,
0.04067295044660568,
0.03424260765314102,
-0.06518514454364777,
0.09946464002132416,
0.17608630657196045,
0.1445980817079544,
0.05568932369351387,
-0.09277549386024475,
-0.1901697963476181,
0.13772033154964447,
0.410001665353775,
-0.12002430856227875,
-0.2147989571094513,
0.25122517347335815,
-0.25715914368629456,
0.17801353335380554,
0.25535571575164795,
0.2711954712867737,
0.15528249740600586,
-0.016763437539339066,
0.0777052789926529,
0.04182852804660797,
0.4291931688785553,
-0.10102115571498871,
-0.09504155069589615,
0.020908230915665627,
-0.36063480377197266,
0.07141759991645813,
-0.17664861679077148,
-0.17400771379470825,
0.48693206906318665,
0.2334393858909607,
-0.21534501016139984,
0.24963553249835968,
0.2651945650577545,
0.8122954368591309,
-0.03992430865764618,
-0.06364062428474426,
0.2183643877506256,
-0.26825088262557983,
0.18770091235637665,
-0.5351162552833557,
-0.2483750730752945,
-0.18846480548381805,
-0.27070173621177673,
0.03254532068967819,
0.005875919014215469,
0.08267088234424591,
0.09137429296970367,
-0.3800961375236511,
-0.1307193785905838,
0.3964199423789978,
-0.0188063345849514,
0.22423523664474487,
0.34674152731895447,
0.2256985604763031,
-0.18258021771907806,
-0.012824241071939468,
0.21266786754131317,
-0.23479007184505463,
0.16966532170772552,
-0.13715800642967224,
-0.14420057833194733,
-0.006073310971260071,
-0.17466551065444946,
-0.3920378088951111,
-0.04185369238257408,
-0.08590604364871979,
0.1364794671535492,
-0.20713727176189423,
0.2210119515657425,
-0.4632110893726349,
0.036900684237480164,
0.4652280807495117,
0.1661875993013382,
-0.1234571784734726,
0.16445279121398926,
0.15993589162826538,
-0.10978187620639801,
-0.2350585013628006,
-0.20358754694461823,
0.2671719193458557,
-0.11144708096981049,
-0.41400378942489624,
0.3286970853805542,
-0.22727590799331665,
-0.42837458848953247,
-0.34168606996536255,
-0.1908106654882431,
-0.30876827239990234,
-0.09116754680871964,
0.26754090189933777,
0.2649010419845581,
-0.07173660397529602,
-0.16555576026439667,
0.13644658029079437,
0.1372816562652588,
-0.14057789742946625,
-0.22312411665916443,
0.01305776834487915,
-0.1426991969347,
-0.20983493328094482,
0.03140128776431084,
0.11492712050676346,
-0.345193475484848,
0.02417462132871151,
0.22310130298137665,
-0.16240490972995758,
-0.3045894205570221,
-0.31107866764068604,
0.1384705752134323,
-0.15411972999572754,
0.03894601762294769,
0.00023565953597426414,
-0.3683592677116394,
0.10872504860162735,
0.22595220804214478,
0.2447570264339447,
0.05846483260393143,
-0.07297497987747192,
-0.004850730299949646,
-0.43128496408462524,
-0.05837523937225342,
-0.126170814037323,
0.646661639213562,
0.17382195591926575,
0.07802964746952057,
0.13384170830249786,
0.10240662842988968,
-0.4510323405265808,
-0.3125703036785126,
-0.26188912987709045,
-0.07221291214227676,
0.0839475691318512,
-0.08197971433401108,
-0.022527985274791718,
0.037248749285936356,
0.1092415601015091,
-0.13204537332057953,
-0.2808065414428711,
-0.16805604100227356,
-0.04609353467822075,
0.11209887266159058,
0.12450375407934189,
-0.007983507588505745,
0.09296618402004242,
0.16818077862262726,
-0.09250667691230774,
-0.030648797750473022,
0.39772018790245056,
-0.21256816387176514,
-0.19367973506450653,
0.20488020777702332,
0.30728089809417725,
0.053886882960796356,
-0.0921468585729599,
0.11131051927804947,
0.15750867128372192,
0.1472802311182022,
0.04212296009063721,
0.2008199542760849,
-0.12926384806632996,
-0.27177751064300537,
0.14134365320205688,
0.330353707075119,
0.07376036792993546,
0.3215603530406952,
-0.054739125072956085,
0.10162901878356934,
-0.1888856440782547,
0.2516377568244934,
-0.02744915336370468,
-0.03645390272140503,
-0.2667921483516693,
0.14869198203086853,
-0.20320096611976624,
0.29954656958580017,
-0.16416628658771515,
0.16772204637527466,
-0.0426790751516819,
-0.22333121299743652,
0.20116505026817322,
0.19227105379104614,
0.5627185106277466,
-0.25632795691490173,
0.5461486577987671,
0.21286582946777344,
0.2729795575141907,
-0.2544422745704651,
0.15397070348262787,
0.4022331237792969,
-0.3470650017261505,
0.005561575293540955,
0.13034892082214355,
-0.03757137432694435,
0.2176554799079895,
0.1565435230731964,
-0.21779581904411316,
0.5076107382774353,
-0.03974663466215134,
0.23480409383773804,
0.24226516485214233,
0.007257450371980667,
0.5279129147529602,
-0.10342147946357727,
-0.01753128319978714,
0.12555688619613647,
0.44060468673706055,
-0.07609293609857559,
-0.26592332124710083,
-0.14729218184947968,
-0.28358250856399536,
0.11868584156036377,
-0.3528534471988678,
0.03455643728375435,
-0.3366059362888336,
-0.16128277778625488,
0.09262622892856598,
-0.10357336699962616,
0.13097409904003143,
0.06100000441074371,
-0.008091472089290619,
-0.031725138425827026,
-0.19758380949497223,
-0.12376481294631958,
0.2097640335559845,
0.23361951112747192,
-0.152730792760849,
0.03155922517180443,
0.24629853665828705,
0.41418135166168213,
-0.27037110924720764,
0.34647583961486816,
0.3197789192199707,
0.04439902678132057,
0.0005369745194911957,
0.2785118520259857,
0.23131416738033295,
0.040893133729696274,
-0.09911295771598816,
-0.16632360219955444,
-0.03162856772542,
0.07780853658914566,
0.09400904923677444,
0.18152491748332977,
0.2050306349992752,
-0.21002750098705292,
-0.23254705965518951,
-0.19251300394535065,
0.11947701871395111,
-0.0918460488319397,
-0.08156812936067581,
0.1093197762966156,
-0.07060018181800842,
-0.052925340831279755,
0.08592710644006729,
-0.1993224024772644,
0.2861470878124237,
-0.03733886033296585,
-0.30846184492111206,
-0.059491947293281555,
-0.08377958089113235,
0.1385936290025711,
0.2645763158798218,
0.20278416574001312,
0.0524611696600914,
-0.09662307053804398,
-0.07427710294723511,
-0.2835911810398102,
-0.31434139609336853,
0.1762334555387497,
0.11025857925415039,
-0.015532302670180798,
-0.09913438558578491,
0.2598147392272949,
0.251788467168808,
-0.03604206442832947,
0.3157382309436798,
-0.16932977735996246,
0.2896968722343445,
0.1353527009487152,
-0.48292165994644165,
-0.10069102048873901,
0.22872714698314667,
0.20211125910282135,
0.17696160078048706,
0.052779361605644226,
0.05994100123643875,
0.4425031542778015,
0.058667466044425964,
-0.14485608041286469,
-0.04643408581614494,
0.266630083322525,
-0.2729211151599884,
0.4108572006225586,
0.17765609920024872,
0.5679016709327698,
-0.3203763961791992,
0.02051694132387638,
-0.23374545574188232,
-0.1426466405391693,
-0.4416343569755554,
-0.12135248631238937,
0.017762048169970512,
0.2333221137523651,
-0.2298598289489746,
-0.6228281855583191,
-0.258078932762146,
-0.19966906309127808,
0.300942063331604,
0.3326049745082855,
-0.23827533423900604,
0.28669029474258423,
-0.05804663896560669,
0.0471356026828289,
0.2409452646970749,
-0.0031253397464752197,
0.03935495391488075,
-0.09483403712511063,
-0.13621093332767487,
-0.37354815006256104,
0.3064649701118469,
0.3795727491378784,
-0.07208916544914246,
-0.18174901604652405,
0.19187331199645996,
-0.07341701537370682,
0.36040863394737244,
-0.42780399322509766,
0.10071317106485367,
0.31613627076148987,
0.008203750476241112,
-0.0704013779759407,
0.2775563895702362,
0.08973619341850281,
-0.01775084063410759,
-0.23148877918720245,
0.40532511472702026,
0.2635914981365204,
-0.04575766250491142,
-0.060553207993507385,
-0.34850406646728516
] |
https://github.com/huggingface/datasets/pull/250 | Remove checksum download in c4 | Commenting again in case [previous thread](https://github.com/huggingface/nlp/pull/233) was inactive.
@lhoestq I am facing `IsADirectoryError` while downloading with this command.
Can you pls look into it & help me.
I'm using version 0.4.0 of `nlp`.
```
dataset = load_dataset("c4", 'en', data_dir='.', beam_runner='DirectRunner')
```
Here's the complete stack trace.
```
Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown sizetotal: Unknown size) to /home/devops/.cache/huggingface/datasets/c4/en/2.3.0/096df5a27756d51957c959a2499453e60a08154971fceb017bbb29f54b11bef7...
---------------------------------------------------------------------------
IsADirectoryError Traceback (most recent call last)
<ipython-input-11-f622e6705e03> in <module>
----> 1 dataset = load_dataset("c4", 'en', data_dir='.', beam_runner='DirectRunner')
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs)
547 # Download and prepare data
548 builder_instance.download_and_prepare(
--> 549 download_config=download_config, download_mode=download_mode, ignore_verifications=ignore_verifications,
550 )
551
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs)
461 if not downloaded_from_gcs:
462 self._download_and_prepare(
--> 463 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
464 )
465 # Sync info
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos)
964 pipeline = beam_utils.BeamPipeline(runner=beam_runner, options=beam_options,)
965 super(BeamBasedBuilder, self)._download_and_prepare(
--> 966 dl_manager, verify_infos=False, pipeline=pipeline,
967 ) # TODO handle verify_infos in beam datasets
968 # Run pipeline
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
516 split_dict = SplitDict(dataset_name=self.name)
517 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 518 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
519 # Checksums verification
520 if verify_infos:
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/datasets/c4/096df5a27756d51957c959a2499453e60a08154971fceb017bbb29f54b11bef7/c4.py in _split_generators(self, dl_manager, pipeline)
187 if self.config.realnewslike:
188 files_to_download["realnews_domains"] = _REALNEWS_DOMAINS_URL
--> 189 file_paths = dl_manager.download_and_extract(files_to_download)
190
191 if self.config.webtextlike:
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in download_and_extract(self, url_or_urls)
218 extracted_path(s): `str`, extracted paths of given URL(s).
219 """
--> 220 return self.extract(self.download(url_or_urls))
221
222 def get_recorded_sizes_checksums(self):
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in download(self, url_or_urls)
156 lambda url: cached_path(url, download_config=self._download_config,), url_or_urls,
157 )
--> 158 self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths)
159 return downloaded_path_or_paths
160
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in _record_sizes_checksums(self, url_or_urls, downloaded_path_or_paths)
106 flattened_downloaded_path_or_paths = flatten_nested(downloaded_path_or_paths)
107 for url, path in zip(flattened_urls_or_urls, flattened_downloaded_path_or_paths):
--> 108 self._recorded_sizes_checksums[url] = get_size_checksum_dict(path)
109
110 def download_custom(self, url_or_urls, custom_download):
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/info_utils.py in get_size_checksum_dict(path)
77 """Compute the file size and the sha256 checksum of a file"""
78 m = sha256()
---> 79 with open(path, "rb") as f:
80 for chunk in iter(lambda: f.read(1 << 20), b""):
81 m.update(chunk)
IsADirectoryError: [Errno 21] Is a directory: '/'
```
Can anyone please try to see what I am doing wrong or is this a bug? | There was a line from the original tfds script that was still there and causing issues when loading the c4 script. This one should fix #233 and allow anyone to load the c4 script to generate the dataset | 349 | text: Remove checksum download in c4
There was a line from the original tfds script that was still there and causing issues when loading the c4 script. This one should fix #233 and allow anyone to load the c4 script to generate the dataset
Commenting again in case [previous thread](https://github.com/huggingface/nlp/pull/233) was inactive.
@lhoestq I am facing `IsADirectoryError` while downloading with this command.
Can you pls look into it & help me.
I'm using version 0.4.0 of `nlp`.
```
dataset = load_dataset("c4", 'en', data_dir='.', beam_runner='DirectRunner')
```
Here's the complete stack trace.
```
Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown sizetotal: Unknown size) to /home/devops/.cache/huggingface/datasets/c4/en/2.3.0/096df5a27756d51957c959a2499453e60a08154971fceb017bbb29f54b11bef7...
---------------------------------------------------------------------------
IsADirectoryError Traceback (most recent call last)
<ipython-input-11-f622e6705e03> in <module>
----> 1 dataset = load_dataset("c4", 'en', data_dir='.', beam_runner='DirectRunner')
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs)
547 # Download and prepare data
548 builder_instance.download_and_prepare(
--> 549 download_config=download_config, download_mode=download_mode, ignore_verifications=ignore_verifications,
550 )
551
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs)
461 if not downloaded_from_gcs:
462 self._download_and_prepare(
--> 463 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
464 )
465 # Sync info
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos)
964 pipeline = beam_utils.BeamPipeline(runner=beam_runner, options=beam_options,)
965 super(BeamBasedBuilder, self)._download_and_prepare(
--> 966 dl_manager, verify_infos=False, pipeline=pipeline,
967 ) # TODO handle verify_infos in beam datasets
968 # Run pipeline
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
516 split_dict = SplitDict(dataset_name=self.name)
517 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 518 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
519 # Checksums verification
520 if verify_infos:
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/datasets/c4/096df5a27756d51957c959a2499453e60a08154971fceb017bbb29f54b11bef7/c4.py in _split_generators(self, dl_manager, pipeline)
187 if self.config.realnewslike:
188 files_to_download["realnews_domains"] = _REALNEWS_DOMAINS_URL
--> 189 file_paths = dl_manager.download_and_extract(files_to_download)
190
191 if self.config.webtextlike:
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in download_and_extract(self, url_or_urls)
218 extracted_path(s): `str`, extracted paths of given URL(s).
219 """
--> 220 return self.extract(self.download(url_or_urls))
221
222 def get_recorded_sizes_checksums(self):
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in download(self, url_or_urls)
156 lambda url: cached_path(url, download_config=self._download_config,), url_or_urls,
157 )
--> 158 self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths)
159 return downloaded_path_or_paths
160
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/download_manager.py in _record_sizes_checksums(self, url_or_urls, downloaded_path_or_paths)
106 flattened_downloaded_path_or_paths = flatten_nested(downloaded_path_or_paths)
107 for url, path in zip(flattened_urls_or_urls, flattened_downloaded_path_or_paths):
--> 108 self._recorded_sizes_checksums[url] = get_size_checksum_dict(path)
109
110 def download_custom(self, url_or_urls, custom_download):
/data/anaconda/envs/hf/lib/python3.6/site-packages/nlp/utils/info_utils.py in get_size_checksum_dict(path)
77 """Compute the file size and the sha256 checksum of a file"""
78 m = sha256()
---> 79 with open(path, "rb") as f:
80 for chunk in iter(lambda: f.read(1 << 20), b""):
81 m.update(chunk)
IsADirectoryError: [Errno 21] Is a directory: '/'
```
Can anyone please try to see what I am doing wrong or is this a bug? | [
-0.14697547256946564,
0.03040514886379242,
0.015109717845916748,
0.2581844627857208,
0.15272530913352966,
-0.18685686588287354,
0.12936913967132568,
0.3383655250072479,
0.10363590717315674,
-0.025392740964889526,
-0.3369898498058319,
0.06832751631736755,
-0.20852965116500854,
0.17373310029506683,
0.32015132904052734,
0.2572978734970093,
-0.07341944426298141,
0.323384165763855,
-0.5276117324829102,
0.0693759024143219,
-0.13863995671272278,
0.2636810839176178,
-0.12286198139190674,
-0.11580447852611542,
-0.18379193544387817,
0.19248846173286438,
0.22571435570716858,
0.43103745579719543,
-0.09570585936307907,
-0.5656399726867676,
0.4020906090736389,
0.36347126960754395,
0.3385958671569824,
0.2521132528781891,
-0.00012408648035489023,
0.06843224167823792,
0.3666892647743225,
-0.1975318044424057,
-0.4347391724586487,
-0.20777975022792816,
-0.11989475041627884,
-0.07885278761386871,
0.2646784782409668,
-0.41945114731788635,
0.2225639820098877,
0.37826478481292725,
0.12292453646659851,
0.14185664057731628,
0.1450747400522232,
0.26873084902763367,
0.12122322618961334,
0.2650585472583771,
0.17626497149467468,
0.18068882822990417,
-0.018919527530670166,
0.19614244997501373,
0.09740791469812393,
0.4382728338241577,
0.010052099823951721,
-0.008996119722723961,
0.06852911412715912,
0.30004453659057617,
-0.1336296945810318,
-0.149094358086586,
0.8128366470336914,
-0.12404926866292953,
0.22148436307907104,
-0.16738858819007874,
0.14404572546482086,
0.12686964869499207,
0.5942453145980835,
-0.3061968982219696,
-0.16552500426769257,
0.0060676708817481995,
0.06690789759159088,
-0.38127005100250244,
0.47149908542633057,
0.02420167066156864,
-0.27637290954589844,
-0.08538632094860077,
-0.4822441041469574,
-0.260720819234848,
-0.037809450179338455,
0.16035756468772888,
-0.029826125130057335,
0.05505233630537987,
0.10554264485836029,
-0.006583757698535919,
0.5411455631256104,
0.1707267165184021,
0.1265108734369278,
0.11705068498849869,
-0.13163194060325623,
0.26435986161231995,
-0.24173791706562042,
-0.27537792921066284,
0.057119306176900864,
0.43949228525161743,
-0.03559310361742973,
0.10124226659536362,
-0.28061893582344055,
-0.14504969120025635,
-0.1772489845752716,
-0.05219805985689163,
-0.060801777988672256,
0.33736908435821533,
0.19328650832176208,
0.045768462121486664,
0.11223475635051727,
0.37906792759895325,
0.15859466791152954,
0.08432803303003311,
-0.02485806867480278,
-0.20445655286312103,
-0.06635773926973343,
0.1270843744277954,
0.024742476642131805,
-0.3132781982421875,
-0.3212987780570984,
0.013001257553696632,
-0.2659427523612976,
-0.12793926894664764,
0.06777592748403549,
0.30767539143562317,
-0.07398367673158646,
0.08251483738422394,
0.37575721740722656,
0.060572486370801926,
-0.23314884305000305,
-0.24426798522472382,
-0.04256805405020714,
0.10036256909370422,
-0.4309264123439789,
-0.25020381808280945,
0.28356602787971497,
-0.12578676640987396,
0.21989473700523376,
-0.27219274640083313,
0.3139650821685791,
-0.03967692330479622,
-0.1100156381726265,
-0.07817059755325317,
-0.02560003101825714,
0.2843935489654541,
-0.13372594118118286,
-0.005791844800114632,
0.09530161321163177,
-0.41785675287246704,
-0.1281396597623825,
0.12263301014900208,
0.049454353749752045,
-0.21649129688739777,
-0.2833768427371979,
0.048714619129896164,
-0.37801945209503174,
-0.12262415885925293,
-0.1274019479751587,
-0.3204163908958435,
0.06641703844070435,
-0.34484052658081055,
0.12822763621807098,
-0.45094913244247437,
-0.310270756483078,
-0.21643532812595367,
0.042202986776828766,
0.8312481045722961,
-0.48889651894569397,
-0.155384361743927,
-0.25448110699653625,
-0.46019795536994934,
0.05616433173418045,
0.3798142075538635,
-0.10780436545610428,
0.45365801453590393,
-0.2726924419403076,
0.058493152260780334,
0.1768103837966919,
-0.5279793739318848,
-0.4604251980781555,
0.5220268964767456,
-0.1632140576839447,
0.11598534137010574,
0.07355019450187683,
0.07657577842473984,
0.09501409530639648,
-0.4504123628139496,
0.25779956579208374,
-0.0824156254529953,
0.12549124658107758,
-0.11504233628511429,
-0.23517534136772156,
-0.10144536942243576,
0.3025335669517517,
0.05289030447602272,
0.08470411598682404,
0.3489888906478882,
0.07588475942611694,
0.37020784616470337,
0.463171124458313,
-0.11609157919883728,
0.09347232431173325,
0.31691253185272217,
0.28465399146080017,
0.08991100639104843,
-0.15484601259231567,
0.05397488921880722,
-0.8259303569793701,
0.038850560784339905,
-0.33182796835899353,
0.08363980799913406,
-0.19787432253360748,
-0.13123095035552979,
-0.25753647089004517,
-0.1673220694065094,
-0.04974512383341789,
0.061067767441272736,
-0.05768544226884842,
-0.06513100862503052,
0.15505358576774597,
-0.21818500757217407,
-0.19860534369945526,
0.3068496286869049,
-0.24662338197231293,
0.1291997730731964,
-0.25451022386550903,
0.2674351632595062,
-0.04309336096048355,
-0.05857054889202118,
0.1363794207572937,
0.30814239382743835,
0.2125958800315857,
-0.2743067741394043,
-0.1794639229774475,
0.3397170305252075,
-0.3193483054637909,
0.08841013163328171,
-0.09582043439149857,
0.4906834363937378,
0.1253945529460907,
-0.3072667121887207,
0.16571450233459473,
0.3067214787006378,
0.09504547715187073,
-0.039029479026794434,
0.20224368572235107,
-0.029169559478759766,
-0.34737205505371094,
-0.04431801289319992,
0.11880205571651459,
0.0008414741605520248,
0.27492955327033997,
-0.3162331283092499,
0.1808285117149353,
-0.2849103808403015,
0.4966779351234436,
0.13920550048351288,
0.06704623997211456,
-0.11396998167037964,
-0.07754983752965927,
0.1250804364681244,
0.15574118494987488,
-0.20442120730876923,
-0.2860035300254822,
0.3649253845214844,
0.18421116471290588,
0.039884380996227264,
0.031039705500006676,
0.3296554982662201,
0.5966359376907349,
0.09354598820209503,
-0.2056649625301361,
0.32396697998046875,
0.16391779482364655,
-0.18473458290100098,
0.3820466101169586,
-0.022082261741161346,
-0.09797240793704987,
0.1969929039478302,
-0.1302783340215683,
0.1635771542787552,
-0.2468705177307129,
-0.14017444849014282,
0.05584541708230972,
0.4092770218849182,
-0.4138973355293274,
-0.01820129156112671,
-0.34450605511665344,
-0.7945485711097717,
-0.14562417566776276,
0.29285287857055664,
-0.3473051190376282,
-0.12592945992946625,
-0.12002947926521301,
0.32450953125953674,
-0.07777222990989685,
-0.05156257003545761,
-0.33746442198753357,
-0.023630589246749878,
-0.28597691655158997,
-0.1154811903834343,
-0.16880066692829132,
-0.08082801848649979,
-0.2443292737007141,
-0.05419529974460602,
0.5913799405097961,
0.05697660520672798,
0.3923829197883606,
-0.34487077593803406,
0.018399789929389954,
-0.21719837188720703,
-0.2792542576789856,
0.1620505005121231,
-0.12267638742923737,
-0.026643315330147743,
0.3028189539909363,
0.15964752435684204,
-0.19620072841644287,
-0.11568766087293625,
-0.0356755331158638,
-0.252363920211792,
-0.2120329588651657,
0.022246509790420532,
-0.0522465743124485,
-0.05862953141331673,
-0.32466012239456177,
-0.07738914340734482,
-0.24903778731822968,
-0.31761878728866577,
0.028572775423526764,
0.011376384645700455,
0.29909539222717285,
0.3347635865211487,
-0.3157949149608612,
0.16495326161384583,
-0.07111170142889023,
-0.07636170089244843,
-0.0971081554889679,
-0.03882298618555069,
0.0008215978741645813,
-0.0003281128592789173,
-0.36515411734580994,
-0.024853046983480453,
-0.05918297544121742,
0.04405234754085541,
0.0613042451441288,
-0.5000731945037842,
-0.033730000257492065,
-0.17899110913276672,
0.1342562586069107,
-0.1325124353170395,
0.09444434940814972,
0.3814948499202728,
0.04916996508836746,
0.0782301276922226,
-0.021767575293779373,
-0.09059455990791321,
0.027829818427562714,
-0.022301990538835526,
0.40471962094306946,
-0.12415920943021774,
0.12702250480651855,
-0.07995650172233582,
0.35877156257629395,
0.27687904238700867,
-0.19801630079746246,
0.2519129514694214,
0.2688087522983551,
0.4585208594799042,
-0.10005464404821396,
-0.2435457706451416,
0.15178513526916504,
0.11016575992107391,
0.07354097813367844,
0.2972550392150879,
-0.24261736869812012,
-0.20275799930095673,
-0.020799705758690834,
0.013584129512310028,
-0.43410524725914,
-0.3364943563938141,
0.09181801974773407,
-0.1527664065361023,
0.13376489281654358,
0.2193722426891327,
-0.13381828367710114,
-0.04543818533420563,
-0.5101317763328552,
0.0330900102853775,
0.4738531708717346,
0.32326510548591614,
0.07172492146492004,
-0.2606346011161804,
-0.4063508212566376,
-0.16661709547042847,
0.2934725880622864,
0.30177363753318787,
0.07806874811649323,
-0.23131266236305237,
0.016817182302474976,
0.2168721854686737,
0.028985019773244858,
0.4973771572113037,
0.031731314957141876,
0.2572700083255768,
0.1694863885641098,
-0.0059014372527599335,
0.02578028477728367,
-0.049937259405851364,
-0.272731214761734,
0.13607200980186462,
0.7159026861190796,
0.1909976601600647,
-0.501778244972229,
-0.3391253352165222,
0.3565910756587982,
0.20595082640647888,
-0.14111606776714325,
-0.4280809462070465,
-0.17641933262348175,
-0.254179447889328,
-0.29596439003944397,
-0.08217284828424454,
0.012322647497057915,
0.1683928370475769,
0.15083080530166626,
0.31262698769569397,
0.2732817530632019,
-0.07455122470855713,
0.26193392276763916,
-0.12812717258930206,
0.23814505338668823,
0.2621980309486389,
0.09072430431842804,
0.06043098121881485,
-0.02216453105211258,
0.11025522649288177,
0.4329488277435303,
-0.05982695892453194,
0.12968744337558746,
-0.09480106085538864,
0.16565334796905518,
0.22741493582725525,
0.40563830733299255,
0.11626391857862473,
-0.12231937795877457,
-0.0477752760052681,
0.1625908762216568,
-0.076893150806427,
0.10900294780731201,
-0.07008858025074005,
-0.20459970831871033,
-0.17011615633964539,
-0.19450876116752625,
0.1275816410779953,
-0.46312177181243896,
0.05837744474411011,
0.29896390438079834,
0.2950354218482971,
-0.08002156019210815,
-0.2900426983833313,
0.1229853481054306,
1.2515418529510498,
0.013146869838237762,
0.20130078494548798,
0.49678924679756165,
-0.10014993697404861,
0.4337838292121887,
-0.16842302680015564,
-0.05648452043533325,
-0.3873308300971985,
0.1382819265127182,
0.04385783523321152,
-0.08263415843248367,
-0.20367136597633362,
-0.03965790569782257,
-0.11207611858844757,
0.2852034568786621,
0.06435620784759521,
0.1046021431684494,
0.37601131200790405,
0.34933435916900635,
-0.07479991018772125,
-0.1471882462501526,
-0.08687061816453934,
-0.04173528403043747,
-0.12158511579036713,
0.39222750067710876,
-0.3644290566444397,
-0.22763216495513916,
0.2702559232711792,
-0.16558973491191864,
-0.1411007195711136,
0.31552159786224365,
-0.12586086988449097,
0.2375446856021881,
0.38373902440071106,
0.009309828281402588,
0.2995937764644623,
0.25840166211128235,
0.20022208988666534,
0.19380708038806915,
-0.10653580725193024,
-0.00034611672163009644,
-0.005676783621311188,
0.005140968598425388,
0.2866889536380768,
0.2710522413253784,
0.15853042900562286,
-0.248313307762146,
-0.26696962118148804,
-0.011377587914466858,
0.025237299501895905,
-0.3515472412109375,
0.24235770106315613,
-0.15538153052330017,
-0.3875904679298401,
-0.1688002496957779,
-0.17913658916950226,
0.09636414051055908,
-0.12650828063488007,
0.11049613356590271,
0.014381388202309608,
0.08106942474842072,
-0.151678666472435,
-0.03910120576620102,
0.19326886534690857,
-0.38790497183799744,
0.03826560080051422,
0.33113306760787964,
0.05626800283789635,
-0.37015607953071594,
0.5593630075454712,
-0.03818338364362717,
-0.2604314982891083,
-0.2859174907207489,
-0.43415048718452454,
-0.5222820043563843,
-0.6697767376899719,
0.1510516256093979,
0.13288520276546478,
0.06866300106048584,
-0.05431089177727699,
0.14849750697612762,
0.027527017518877983,
0.07242750376462936,
0.03017885610461235,
-0.42402735352516174,
-0.4185604453086853,
0.17927397787570953,
-0.21444042026996613,
0.10331732034683228,
-0.020086713135242462,
0.45925164222717285,
-0.058299608528614044,
0.12226448208093643,
-0.20973187685012817,
-0.005481586791574955,
-0.21494455635547638,
0.01644796133041382,
0.2948421537876129,
-0.13349848985671997,
0.2807856500148773,
-0.11704115569591522,
-0.08131308853626251,
0.29331308603286743,
-0.357856810092926,
-0.07168237864971161,
-0.19982247054576874,
0.25203925371170044,
0.1771603226661682,
-0.3294941782951355,
0.1897743046283722,
0.010301567614078522,
-0.06326980888843536,
0.16278663277626038,
0.18613384664058685,
0.07042708247900009,
-0.045630671083927155,
0.3521525263786316,
0.19217997789382935,
0.14341582357883453,
-0.21556411683559418,
0.20853155851364136,
0.1265709400177002,
0.2295667827129364,
-0.08507980406284332,
0.1789509654045105,
-0.2585088610649109,
0.00394168496131897,
-0.24002164602279663,
0.13884387910366058,
0.07587170600891113,
0.18801555037498474,
0.21083641052246094,
-0.2556609511375427,
0.0758146345615387,
-0.3443519175052643,
0.020780228078365326,
0.19176967442035675,
-0.166893869638443,
-0.3250481188297272,
0.44432327151298523,
0.007981102913618088,
-0.2516322135925293,
0.2232169359922409,
0.18691882491111755,
0.13927987217903137,
-0.25079599022865295,
0.1817658245563507,
0.023184549063444138,
-0.2278691828250885,
0.5166335105895996,
0.13356679677963257,
0.0026450841687619686,
0.01328707579523325,
0.007224355824291706,
0.33037757873535156,
-0.1471588909626007,
-0.05602003261446953,
0.20197531580924988,
-0.03773120418190956,
-0.0180697962641716,
0.21351224184036255,
-0.2315850853919983,
-0.030845561996102333,
-0.5913675427436829,
0.2093493640422821,
-0.04011676460504532,
-0.49076715111732483,
-0.13951566815376282,
0.22110339999198914,
0.1135784313082695,
0.16942720115184784,
0.17307010293006897,
0.4628032147884369,
0.020543275400996208,
0.04679621383547783,
-0.3204001188278198,
0.33975085616111755,
-0.03564918041229248,
0.09160208702087402,
-0.3510507643222809,
0.004662148654460907,
-0.029518619179725647,
0.29204657673835754,
-0.06255637109279633,
-0.0036595240235328674,
0.2545051574707031,
0.4882116913795471,
-0.22825603187084198,
-0.136647030711174,
0.012700233608484268,
-0.07522116601467133,
0.04238012805581093,
-0.11645239591598511,
0.039066363126039505,
0.2562903165817261,
0.19057725369930267,
0.17205572128295898,
0.35185763239860535,
0.3280448317527771,
0.2932635247707367,
0.08359812200069427,
-0.06583014875650406,
-0.011275973170995712,
0.18316486477851868,
-0.029511846601963043,
0.5022721290588379,
0.2690068483352661,
0.4892664849758148,
0.1177324652671814,
-0.05749257653951645,
-0.08829712122678757,
-0.03881191834807396,
-0.05486700311303139,
-0.057881999760866165,
0.21985767781734467,
0.6442506313323975,
0.15551167726516724,
0.04239866882562637,
-0.2838703691959381,
0.25679951906204224,
-0.49995142221450806,
0.2993554174900055,
0.32705333828926086,
0.1451231837272644,
0.1301286816596985,
-0.11258210986852646,
0.047448933124542236,
-0.03340120241045952,
0.44210436940193176,
0.5204578042030334,
0.007106602191925049,
-0.3977203667163849,
-0.1763826608657837,
-0.7625192999839783,
0.12126617878675461,
-0.10327424108982086,
0.1390627771615982,
0.1921440064907074,
0.11378397047519684,
-0.07995810359716415,
0.058361053466796875,
0.10156072676181793,
-0.0957242026925087,
0.14140723645687103,
-0.1853303462266922,
0.04230739548802376,
0.14483879506587982,
-0.09778836369514465,
0.015828948467969894,
-0.10509989410638809,
-0.46403658390045166,
0.02487710490822792,
-0.1609419584274292,
-0.056266896426677704,
-0.09479530900716782,
0.13076499104499817,
-0.11332224309444427,
0.10972516238689423,
0.16786038875579834,
0.09395893663167953,
0.6938996315002441,
-0.06414851546287537,
-0.30332231521606445,
-0.04327716305851936,
-0.05582660809159279,
-0.2532220184803009,
-0.02479112148284912,
0.11037540435791016,
0.36705291271209717,
-0.2050955891609192,
0.3357289731502533,
-0.41565313935279846,
0.5660669803619385,
-0.19177177548408508,
0.06789980083703995,
-0.25790318846702576,
0.045484140515327454,
-0.4934238791465759,
0.25863364338874817,
0.12455947697162628,
0.36213961243629456,
-0.022898055613040924,
0.21732386946678162,
-0.6463514566421509,
-0.2805236876010895,
0.919959545135498,
-0.5697640776634216,
-0.12891153991222382,
0.2171524465084076,
0.4324091076850891,
0.05006025731563568,
-0.4478473961353302,
-0.8314327001571655,
0.2668732702732086,
0.027115773409605026,
-0.1314164400100708,
-0.07850578427314758,
0.3835216164588928,
-0.2954550087451935,
0.025730933994054794,
0.07374568283557892,
0.19074398279190063,
0.10069195181131363,
-0.20310816168785095,
-0.11746233701705933,
-0.23245345056056976
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | Thanks for adding this one !
About the three points you mentioned:
1. I think the `toronto_books_corpus` branch can be removed @mariamabarham ?
2. You can use the download manager to download from google drive. For you case you can just do something like
```python
URL = "https://drive.google.com/uc?export=download&id=16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z"
...
arch_path = dl_manager.download_and_extract(URL)
```
Also this is is an unofficial host of the dataset, we should probably host it ourselves if we can.
3. Not sure about the copyright here, but I maybe @thomwolf has better insights about it. | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 88 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
Thanks for adding this one !
About the three points you mentioned:
1. I think the `toronto_books_corpus` branch can be removed @mariamabarham ?
2. You can use the download manager to download from google drive. For you case you can just do something like
```python
URL = "https://drive.google.com/uc?export=download&id=16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z"
...
arch_path = dl_manager.download_and_extract(URL)
```
Also this is is an unofficial host of the dataset, we should probably host it ourselves if we can.
3. Not sure about the copyright here, but I maybe @thomwolf has better insights about it. | [
0.24750031530857086,
0.11054486036300659,
-0.046405989676713943,
0.05931059643626213,
-0.18523575365543365,
-0.015027984976768494,
0.16729344427585602,
-0.055830854922533035,
-0.37014061212539673,
-0.04162575304508209,
-0.3142434358596802,
0.0286616962403059,
0.015000160783529282,
-0.015641938894987106,
-0.05841606855392456,
-0.40656864643096924,
0.11451741307973862,
-0.014602705836296082,
0.17621244490146637,
-0.3178759813308716,
-0.24612906575202942,
0.48696833848953247,
0.01302316039800644,
0.0059618279337882996,
-0.033428534865379333,
-0.19173036515712738,
-0.12961407005786896,
0.24795794486999512,
-0.23660828173160553,
-0.223774254322052,
-0.28105419874191284,
0.33997663855552673,
-0.06669268012046814,
0.47741350531578064,
-0.0001069311547325924,
-0.2799053192138672,
0.10201343894004822,
-0.083737313747406,
0.062186773866415024,
-0.34243500232696533,
0.5160571932792664,
-0.11438819020986557,
-0.02118690311908722,
-0.27473869919776917,
-0.05218472704291344,
0.0628376230597496,
-0.016457365825772285,
0.12878583371639252,
-0.038256362080574036,
0.4489261209964752,
0.2604466378688812,
-0.031566642224788666,
0.2512155771255493,
-0.021287132054567337,
0.2789680063724518,
-0.0798138678073883,
-0.13693538308143616,
0.5351987481117249,
0.7180107831954956,
0.1505308896303177,
0.11167363077402115,
0.4057489037513733,
-0.11504387110471725,
-0.12225571274757385,
0.18707656860351562,
-0.03427354618906975,
0.11876305937767029,
-0.4832964837551117,
0.207809180021286,
0.16524526476860046,
0.5375372171401978,
-0.3379878103733063,
-0.18383102118968964,
0.04001668840646744,
0.04781533405184746,
0.39225566387176514,
0.18994829058647156,
0.1959129422903061,
0.06658442318439484,
-0.011321056634187698,
-0.24009989202022552,
-0.35609573125839233,
-0.17407619953155518,
-0.02732492983341217,
0.0708705335855484,
0.3567031919956207,
0.08500166237354279,
-0.05094822496175766,
0.25076428055763245,
0.02865489572286606,
-0.19700820744037628,
0.00963125191628933,
0.096218541264534,
0.3377986550331116,
-0.04151469096541405,
-0.3338607847690582,
0.04641583561897278,
0.02880788967013359,
-0.017451569437980652,
-0.09749756753444672,
0.014450152404606342,
-0.1593146026134491,
-0.05770843103528023,
-0.01394873857498169,
0.11671841144561768,
0.020673301070928574,
-0.04791221767663956,
0.18657992780208588,
0.006715051829814911,
0.11445142328739166,
0.1399441808462143,
0.10609683394432068,
-0.1815025806427002,
-0.25547340512275696,
-0.21281157433986664,
-0.011009212583303452,
0.06795734167098999,
-0.3836090862751007,
0.07870181649923325,
0.20520159602165222,
-0.24478447437286377,
0.08888373523950577,
-0.12931573390960693,
0.22909700870513916,
-0.10096416622400284,
-0.2107449173927307,
0.21914862096309662,
0.03247771039605141,
-0.17198313772678375,
0.08240621536970139,
-0.0947490856051445,
0.26837339997291565,
-0.16907130181789398,
0.02352239564061165,
0.12073154747486115,
-0.36438584327697754,
0.19815374910831451,
-0.26390695571899414,
-0.19977854192256927,
-0.029194992035627365,
-0.07747732847929001,
-0.3236664831638336,
-0.18502706289291382,
0.012484528124332428,
-0.1409451961517334,
0.02149883471429348,
-0.20600607991218567,
-0.21402929723262787,
-0.3864097595214844,
0.3082573711872101,
-0.30434438586235046,
-0.26090824604034424,
-0.24149291217327118,
0.3143991529941559,
-0.28199446201324463,
-0.46422407031059265,
-0.009439878165721893,
0.2816140651702881,
0.00097733736038208,
-0.18432272970676422,
0.20399443805217743,
0.07535313069820404,
-0.2827777862548828,
-0.04883258417248726,
-0.16508716344833374,
0.4139857292175293,
-0.31876274943351746,
-0.17819762229919434,
0.023407479748129845,
-0.24529483914375305,
0.2780652940273285,
0.1776266247034073,
0.010807969607412815,
0.13202843070030212,
0.17020709812641144,
0.542589545249939,
0.0800502598285675,
-0.015064259991049767,
-0.23241421580314636,
0.19034823775291443,
-0.24772709608078003,
-0.018723338842391968,
0.023577429354190826,
-0.09532394260168076,
0.03542683273553848,
-0.03787830099463463,
0.2513658404350281,
0.09467866271734238,
0.28826385736465454,
0.06621377915143967,
-0.4616043269634247,
-0.10250888019800186,
-0.12700344622135162,
0.2857074439525604,
0.12696881592273712,
0.13245832920074463,
0.13852110505104065,
-0.15145891904830933,
0.2808001637458801,
-0.021924596279859543,
-0.09460105746984482,
0.5484108328819275,
0.5823882818222046,
0.1719885766506195,
0.2456240952014923,
0.19124943017959595,
0.07782409340143204,
0.008633699268102646,
-0.5598493814468384,
0.633898138999939,
0.11610913276672363,
-0.2580263316631317,
-0.3736124038696289,
-0.34409385919570923,
0.055826302617788315,
-0.18089328706264496,
0.2389233410358429,
-0.23549973964691162,
-0.04353249818086624,
0.02210240811109543,
0.13262581825256348,
0.010373327881097794,
-0.4107135832309723,
0.012691645883023739,
-0.1805565506219864,
0.2794589400291443,
-0.40192195773124695,
-0.12732192873954773,
0.28392261266708374,
0.1988029181957245,
0.14022135734558105,
0.1752166897058487,
-0.11974214762449265,
0.2535673677921295,
-0.3292158544063568,
0.5636281967163086,
0.08284134417772293,
0.2724877595901489,
0.24975767731666565,
-0.22831198573112488,
0.13529156148433685,
0.2156454473733902,
0.23324550688266754,
0.09926163405179977,
-0.1353379786014557,
0.02252563089132309,
0.20774970948696136,
-0.09028621762990952,
0.18419249355793,
-0.21560786664485931,
0.042106278240680695,
-0.04783377796411514,
-0.02924567088484764,
-0.02090495452284813,
0.30930957198143005,
0.33005979657173157,
0.043344561010599136,
0.1242646872997284,
-0.07301582396030426,
0.12547370791435242,
0.14124009013175964,
-0.09806099534034729,
-0.07951075583696365,
0.2702215313911438,
-0.35959476232528687,
-0.17566651105880737,
-0.17410901188850403,
0.15418481826782227,
0.3257410526275635,
0.22940018773078918,
0.1836138218641281,
0.2695867717266083,
0.1707375943660736,
-0.26464056968688965,
0.2303861379623413,
0.31517523527145386,
-0.035834118723869324,
0.21314141154289246,
0.13285647332668304,
0.18039573729038239,
-0.22566264867782593,
-0.14087897539138794,
-0.015187233686447144,
0.1636790782213211,
-0.22126410901546478,
0.04892502725124359,
0.269340455532074,
-0.11323187500238419,
-0.21023793518543243,
0.267069548368454,
-0.09606117010116577,
0.11270289123058319,
0.38019800186157227,
0.17066022753715515,
-0.2944848835468292,
-0.011469658464193344,
0.2392629086971283,
0.3354834318161011,
-0.1986425518989563,
-0.29154708981513977,
0.16985097527503967,
-0.19999447464942932,
-0.3012757897377014,
0.26284170150756836,
0.027942240238189697,
-0.006714866030961275,
0.3911282420158386,
-0.428298681974411,
-0.04168921709060669,
-0.33161792159080505,
-0.49998030066490173,
-0.02801203727722168,
-0.18896277248859406,
0.0009343959391117096,
0.1656830906867981,
-0.19369624555110931,
-0.06448107957839966,
-0.21454304456710815,
-0.06639402359724045,
-0.31354138255119324,
-0.1583648920059204,
-0.1550895720720291,
-0.2837635278701782,
-0.31423306465148926,
-0.12240815162658691,
-0.6033994555473328,
-0.27345991134643555,
-0.24566522240638733,
0.18129146099090576,
0.3947403132915497,
0.28710469603538513,
0.495407372713089,
-0.08916018158197403,
0.15999816358089447,
0.3604218363761902,
0.4475615620613098,
-0.10173482447862625,
-0.03999248147010803,
0.38920798897743225,
-0.10235446691513062,
-0.5133275389671326,
0.23226618766784668,
-0.11084353923797607,
-0.23313045501708984,
-0.09923402220010757,
-0.25532984733581543,
-0.2606678605079651,
-0.036433666944503784,
-0.3667330741882324,
0.07920894771814346,
0.253229022026062,
0.460847407579422,
0.10532790422439575,
-0.3303717374801636,
0.10248025506734848,
-0.05596001446247101,
0.4540965259075165,
0.6169152855873108,
0.2791402339935303,
-0.12024705857038498,
-0.27079856395721436,
-0.15794579684734344,
0.21350209414958954,
0.2928687334060669,
0.13156606256961823,
0.22759540379047394,
0.11518831551074982,
0.019425395876169205,
-0.1039297804236412,
-0.19645579159259796,
0.08128734678030014,
-0.09911023080348969,
-0.25818803906440735,
0.6466631293296814,
-0.03247518837451935,
-0.3948148488998413,
-0.16708630323410034,
-0.3860527575016022,
-0.3688935935497284,
-0.023430293425917625,
0.1801113784313202,
0.1813838630914688,
0.4172430634498596,
-0.1444125920534134,
-0.178788423538208,
0.01239844225347042,
-0.2879009246826172,
0.23319074511528015,
0.22125184535980225,
-0.0855565145611763,
0.060260482132434845,
0.07189472019672394,
0.24668347835540771,
-0.36867842078208923,
0.1638157218694687,
0.1570027619600296,
-0.31329208612442017,
-0.22416412830352783,
-0.14565858244895935,
0.2679661810398102,
-0.013942103832960129,
0.23003356158733368,
-0.1805146485567093,
-0.358123779296875,
0.20985020697116852,
0.07207760214805603,
0.17564858496189117,
-0.1027802899479866,
-0.46576717495918274,
-0.17113511264324188,
0.3598826825618744,
0.26519089937210083,
-0.268446683883667,
0.25934723019599915,
0.2390783280134201,
0.16592399775981903,
0.013239149004220963,
-0.17000789940357208,
-0.06263846904039383,
-0.36701998114585876,
-0.4563542604446411,
0.15587836503982544,
0.12763440608978271,
0.3468877375125885,
-0.12041161209344864,
0.16250406205654144,
0.5707545280456543,
0.00571427121758461,
0.4096032977104187,
0.06073438748717308,
0.39539045095443726,
0.040345530956983566,
0.0730951577425003,
0.03166816756129265,
-0.09829741716384888,
0.0728762075304985,
0.5886447429656982,
-0.10743646323680878,
0.21669182181358337,
-0.07296611368656158,
-0.3097386360168457,
-0.22263085842132568,
0.3868684470653534,
0.21602663397789001,
-0.14785411953926086,
-0.10012563318014145,
-0.0670163631439209,
0.1654234677553177,
0.028927559033036232,
-0.013170594349503517,
-0.04347080737352371,
-0.19552293419837952,
-0.17696814239025116,
0.320729523897171,
0.02974645420908928,
-0.035444796085357666,
-0.19907251000404358,
0.4687367081642151,
-0.2657277286052704,
0.3904344439506531,
-0.0657011941075325,
1.1983593702316284,
0.09517936408519745,
-0.012499380856752396,
-0.04381868988275528,
0.13046230375766754,
0.2597838044166565,
-0.4216618537902832,
0.016472505405545235,
-0.1925441324710846,
-0.1451716125011444,
-0.23913270235061646,
0.06691277027130127,
0.019329994916915894,
0.10297375172376633,
-0.4884949028491974,
0.10765530169010162,
-0.006764084100723267,
-0.11764395236968994,
0.1764679104089737,
0.23329195380210876,
0.06794767081737518,
-0.12811370193958282,
0.07973048835992813,
0.1356833279132843,
0.10853996872901917,
0.4229043126106262,
0.02118479087948799,
-0.091034896671772,
-0.22801311314105988,
-0.03479393199086189,
-0.3828410506248474,
-0.026623276993632317,
-0.13349688053131104,
-0.11063645780086517,
0.1724725365638733,
-0.40356361865997314,
0.38613229990005493,
0.024265894666314125,
0.3873128890991211,
0.12570391595363617,
-0.22612479329109192,
0.11543476581573486,
0.16983461380004883,
-0.2544979453086853,
0.42445334792137146,
0.09364825487136841,
0.45934826135635376,
-0.27431148290634155,
-0.2657509744167328,
0.08313296735286713,
0.042675379663705826,
-0.21657748520374298,
-0.24203503131866455,
-0.37502652406692505,
-0.12071181833744049,
-0.13216058909893036,
-0.2091752588748932,
0.37117207050323486,
-0.3972938358783722,
-0.2053379863500595,
0.20272161066532135,
0.10625004768371582,
-0.1961422562599182,
0.16683036088943481,
-0.05203072354197502,
-0.15970690548419952,
-0.013566408306360245,
0.3060368001461029,
0.4009365439414978,
-0.34862327575683594,
0.17019367218017578,
0.3314502239227295,
-0.26264411211013794,
-0.2642373740673065,
-0.5055443644523621,
0.0005227921064943075,
-0.1318933367729187,
0.10909315943717957,
-0.09806462377309799,
-0.33614489436149597,
-0.1295730173587799,
0.6437280178070068,
0.22909237444400787,
0.32154855132102966,
-0.1186228096485138,
-0.04771501570940018,
-0.20129334926605225,
0.09539815038442612,
0.06716077029705048,
0.1762346774339676,
0.03873820602893829,
0.26666322350502014,
0.3175389766693115,
0.08220197260379791,
-0.4378928244113922,
0.13362084329128265,
-0.47537535429000854,
0.06020902097225189,
0.3115646243095398,
-0.18630051612854004,
-0.1871705949306488,
-0.15379659831523895,
0.029354633763432503,
0.06756563484668732,
-0.10350635647773743,
-0.27643489837646484,
-0.1780238151550293,
0.0855569913983345,
0.13620567321777344,
-0.20571209490299225,
0.06488766521215439,
-0.12780243158340454,
-0.11488291621208191,
0.29113879799842834,
-0.05138331651687622,
0.22220659255981445,
0.11074253171682358,
0.08648627251386642,
-0.14239563047885895,
-0.08035507053136826,
-0.20957279205322266,
-0.09503328800201416,
-0.18632608652114868,
0.1577332764863968,
0.17521962523460388,
0.017240777611732483,
-0.008395000360906124,
-0.08291642367839813,
-0.06454235315322876,
0.2857849597930908,
0.23837000131607056,
0.2842026352882385,
0.24021276831626892,
0.28442373871803284,
0.042174290865659714,
0.15916600823402405,
0.24555328488349915,
0.2271670550107956,
-0.35402384400367737,
-0.1968277543783188,
0.14595916867256165,
0.3155896067619324,
-0.4341490864753723,
-0.15593381226062775,
-0.12131738662719727,
-0.4588356912136078,
0.14739899337291718,
0.3391302227973938,
0.3433491885662079,
0.24975994229316711,
0.33500146865844727,
0.28043267130851746,
0.42535361647605896,
0.2739832401275635,
0.00476463558152318,
0.05588656663894653,
0.053974736481904984,
-0.026495996862649918,
0.04016294702887535,
0.16828559339046478,
-0.1436627209186554,
-0.0806252509355545,
-0.1634657084941864,
0.33905136585235596,
0.03642093762755394,
0.4903499484062195,
0.28937527537345886,
0.08413468301296234,
0.44086894392967224,
-0.04091128706932068,
0.23295490443706512,
0.1612926572561264,
0.2165348380804062,
0.014653041958808899,
-0.17633642256259918,
-0.14796969294548035,
-0.17161257565021515,
0.19062820076942444,
-0.08391270041465759,
-0.1920774132013321,
-0.10260467231273651,
-0.37955352663993835,
-0.18763816356658936,
-0.04872576892375946,
-0.06619866192340851,
-0.12136039137840271,
-0.009274929761886597,
-0.1868004947900772,
-0.06842218339443207,
-0.12894350290298462,
-0.20890197157859802,
-0.3065768778324127,
0.5146189332008362,
-0.2252606451511383,
0.18495777249336243,
-0.05150531232357025,
0.18118633329868317,
0.00535929948091507,
0.43001237511634827,
0.08951882272958755,
0.0682288184762001,
0.028463836759328842,
0.11879828572273254,
-0.18167904019355774,
-0.07273808866739273,
0.25661197304725647,
0.18551115691661835,
0.2641850709915161,
-0.1178751140832901,
0.05410334840416908,
0.06335421651601791,
-0.16276401281356812,
0.35269466042518616,
-0.026720751076936722,
-0.14050881564617157,
-0.009750142693519592,
0.23036342859268188,
0.004263162612915039,
-0.3183492422103882,
-0.357200026512146,
-0.1847468912601471,
-0.2725481390953064,
0.006349116563796997,
0.2852326035499573,
-0.13005325198173523,
0.036990709602832794,
-0.2254476398229599,
0.13392771780490875,
0.1256915181875229,
0.10013028979301453,
0.3162412643432617,
0.08718812465667725,
-0.26161837577819824,
-0.018621444702148438,
-0.41840341687202454,
0.25222474336624146,
0.2352384328842163,
0.02448023296892643,
0.007226086687296629,
0.03204851597547531,
0.12172998487949371,
0.1362004578113556,
-0.11634671688079834,
0.27389073371887207,
-0.49355602264404297,
-0.3347768485546112,
-0.086745984852314,
0.02648528665304184,
-0.22615383565425873,
-0.07684994488954544,
-0.025956591591238976,
0.16833510994911194,
0.05715057998895645,
-0.3669077754020691,
0.10203703492879868,
-0.38309717178344727,
-0.4699253439903259,
0.19073496758937836,
0.25218021869659424,
0.1372649073600769,
-0.08449956774711609,
0.0931130200624466,
-0.2612129747867584,
0.055778443813323975,
0.17315590381622314,
-0.06254050880670547,
-0.043747883290052414,
-0.039402350783348083,
0.3399907052516937,
0.14543317258358002,
0.13388600945472717,
-0.05277271196246147,
0.10619695484638214,
0.263907790184021,
0.09792131185531616,
-0.0947548896074295,
-0.48036572337150574,
-0.033651694655418396,
-0.04062129929661751,
0.02362518198788166,
0.05118485167622566,
0.3921986520290375,
0.03664601221680641,
-0.09001248329877853,
-0.34911561012268066,
-0.5018717646598816,
0.6219711303710938,
-0.0007861042395234108,
-0.06314750015735626,
0.0715470165014267,
0.2084081470966339,
0.26717180013656616,
0.12431646883487701,
-0.6858485341072083,
0.0009138360619544983,
0.07352903485298157,
-0.05657772719860077,
-0.2631300985813141,
0.2219013124704361,
-0.09070742130279541,
-0.0006228834390640259,
-0.06738056242465973,
0.020369667559862137,
0.046218160539865494,
0.02207239903509617,
-0.33547452092170715,
-0.2895125150680542
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | I just downloaded the file and put it on gs. The public url is
https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2
Could you try to change the url to this one and heck that everything is ok ? | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 32 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
I just downloaded the file and put it on gs. The public url is
https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2
Could you try to change the url to this one and heck that everything is ok ? | [
0.27910053730010986,
0.06547938287258148,
-0.0067633893340826035,
0.01478036493062973,
-0.10642179846763611,
0.008769385516643524,
0.14771443605422974,
-0.05287037417292595,
-0.40125295519828796,
-0.05466821789741516,
-0.23416705429553986,
0.05730002000927925,
0.06470856815576553,
-0.06398636847734451,
-0.013627496547996998,
-0.3330245018005371,
0.06885058432817459,
0.0042407214641571045,
0.19462049007415771,
-0.3049956262111664,
-0.18350568413734436,
0.5801337957382202,
0.02994532138109207,
0.040416210889816284,
-0.09510409086942673,
-0.09941836446523666,
-0.14188411831855774,
0.22084394097328186,
-0.20666339993476868,
-0.22278060019016266,
-0.1514246016740799,
0.26093408465385437,
-0.09356749057769775,
0.563482940196991,
-0.00010766183550003916,
-0.20589543879032135,
0.16842323541641235,
-0.09631316363811493,
0.06404609978199005,
-0.33525562286376953,
0.4762481153011322,
-0.10298190265893936,
-0.050498463213443756,
-0.20966273546218872,
-0.15490320324897766,
0.049457941204309464,
0.07305313646793365,
0.08208231627941132,
-0.12616056203842163,
0.44859984517097473,
0.2655471861362457,
-0.08171980082988739,
0.26253437995910645,
-0.13634611666202545,
0.25758981704711914,
-0.07243332266807556,
-0.13219289481639862,
0.5807263255119324,
0.6133348941802979,
0.11490693688392639,
0.14668159186840057,
0.3261336386203766,
-0.10843000560998917,
-0.1428084522485733,
0.10453125834465027,
-0.045647621154785156,
0.06920929253101349,
-0.37337350845336914,
0.3090862035751343,
0.15231937170028687,
0.5259376168251038,
-0.2860196530818939,
-0.1412721425294876,
0.10241623967885971,
0.07581128180027008,
0.3786136507987976,
0.2130945324897766,
0.21498164534568787,
0.10502409934997559,
0.01834535039961338,
-0.10795478522777557,
-0.34064945578575134,
-0.15811628103256226,
0.03045126423239708,
0.08515942096710205,
0.2590697407722473,
0.013237988576292992,
-0.022708483040332794,
0.2062503844499588,
0.029765862971544266,
-0.2385863959789276,
0.14470666646957397,
-0.016508236527442932,
0.2902340888977051,
-0.09491164982318878,
-0.1608489453792572,
0.08170869201421738,
0.03447540104389191,
-0.037010908126831055,
-0.10023859143257141,
0.04444548860192299,
-0.1730274260044098,
-0.09983806312084198,
0.017665527760982513,
0.025906408205628395,
0.019911982119083405,
-0.019092969596385956,
0.17168663442134857,
-0.015525296330451965,
0.12961630523204803,
0.10165439546108246,
0.04257262870669365,
-0.19662125408649445,
-0.2740764617919922,
-0.28533443808555603,
-0.12208222597837448,
0.041193634271621704,
-0.45377683639526367,
0.09260586649179459,
0.17116697132587433,
-0.20296639204025269,
0.0867958590388298,
-0.1518009752035141,
0.27411356568336487,
0.004116040654480457,
-0.2351163625717163,
0.287286639213562,
0.06452339142560959,
-0.1629059761762619,
0.03110511228442192,
-0.14928792417049408,
0.2428150177001953,
-0.25480470061302185,
0.04061378538608551,
0.12706172466278076,
-0.3901120126247406,
0.23650561273097992,
-0.28555670380592346,
-0.3034944534301758,
-0.04816730320453644,
-0.08644513785839081,
-0.23693671822547913,
-0.19693058729171753,
0.07495351135730743,
-0.1264631748199463,
0.16084426641464233,
-0.1130153089761734,
-0.18937231600284576,
-0.2802925705909729,
0.26474258303642273,
-0.3897935152053833,
-0.2310957908630371,
-0.2891412079334259,
0.30833593010902405,
-0.28395676612854004,
-0.515504002571106,
0.01615756005048752,
0.2958505153656006,
0.10218183696269989,
-0.31395426392555237,
0.17901143431663513,
0.033275436609983444,
-0.3163691461086273,
-0.008194046095013618,
-0.09464801102876663,
0.38296258449554443,
-0.3685983419418335,
-0.1789799928665161,
0.07341789454221725,
-0.17060326039791107,
0.3597731590270996,
0.2419663518667221,
0.0037248858716338873,
0.12630659341812134,
0.12216319143772125,
0.5882934331893921,
0.04189847409725189,
0.05533725395798683,
-0.3180330693721771,
0.17558562755584717,
-0.3166710138320923,
-0.1488431841135025,
-0.008936330676078796,
-0.10862278938293457,
-0.014223052188754082,
-0.0015902038430795074,
0.32008522748947144,
0.01156616397202015,
0.36958691477775574,
0.06505420804023743,
-0.5237849950790405,
-0.07951311022043228,
-0.06371743232011795,
0.20281119644641876,
0.050883181393146515,
0.13129328191280365,
0.1485978066921234,
-0.06518155336380005,
0.2916165292263031,
-0.023606430739164352,
-0.08072999119758606,
0.6677541732788086,
0.5219401717185974,
0.17566007375717163,
0.24348637461662292,
0.1662338376045227,
0.18971063196659088,
-0.03217708319425583,
-0.5579265356063843,
0.7099664807319641,
0.17048567533493042,
-0.15946057438850403,
-0.43567752838134766,
-0.3717382848262787,
0.023743998259305954,
-0.2590601444244385,
0.2556516230106354,
-0.12613870203495026,
-0.03278675675392151,
0.09522326290607452,
0.13639546930789948,
0.035143692046403885,
-0.4284665882587433,
-0.051736027002334595,
-0.31712207198143005,
0.3104039430618286,
-0.46502014994621277,
-0.22311344742774963,
0.2728925049304962,
0.1711028814315796,
0.23916566371917725,
0.20899799466133118,
-0.18769079446792603,
0.25805747509002686,
-0.4043113589286804,
0.44391536712646484,
0.20522600412368774,
0.19910794496536255,
0.14973747730255127,
-0.32097896933555603,
0.053197503089904785,
0.21013587713241577,
0.19554503262043,
0.043291740119457245,
-0.09641055017709732,
-0.03764338791370392,
0.2707282602787018,
-0.1259160041809082,
0.15543755888938904,
-0.20532584190368652,
0.11224651336669922,
-0.032902684062719345,
-0.05974220484495163,
-0.021902810782194138,
0.3916033208370209,
0.2219233363866806,
-0.001268148422241211,
0.13373589515686035,
-0.05306859314441681,
0.03337583690881729,
0.1573932021856308,
-0.04283038526773453,
-0.04902757704257965,
0.2389208972454071,
-0.379696786403656,
-0.15582343935966492,
-0.19901598989963531,
0.04243670031428337,
0.32618874311447144,
0.21944138407707214,
0.13624921441078186,
0.19502270221710205,
0.1015724465250969,
-0.3422771096229553,
0.1649896204471588,
0.2389715313911438,
-0.021880540996789932,
0.1981317698955536,
0.25068962574005127,
0.12034589797258377,
-0.34541064500808716,
-0.13370807468891144,
0.03832213580608368,
0.21263599395751953,
-0.2128622978925705,
0.05291697382926941,
0.15360139310359955,
-0.13991588354110718,
-0.3003670275211334,
0.2040868103504181,
-0.13017085194587708,
0.06953106075525284,
0.34914714097976685,
0.13458862900733948,
-0.1896442025899887,
0.01629154570400715,
0.1754319667816162,
0.3219738006591797,
-0.15044310688972473,
-0.2526879608631134,
0.13145440816879272,
-0.16169045865535736,
-0.3911994397640228,
0.22601836919784546,
-0.07341161370277405,
-0.02646234631538391,
0.35516753792762756,
-0.36064907908439636,
-0.09770699590444565,
-0.2667524516582489,
-0.5428928136825562,
-0.00790642574429512,
-0.211871936917305,
-0.01132228597998619,
0.13895680010318756,
-0.1455550491809845,
-0.023624692112207413,
-0.19305655360221863,
0.050238240510225296,
-0.32156044244766235,
-0.169748455286026,
-0.04359978064894676,
-0.3288585841655731,
-0.311502069234848,
-0.19081659615039825,
-0.5866039991378784,
-0.2213273048400879,
-0.23345470428466797,
0.14895111322402954,
0.33909836411476135,
0.20932090282440186,
0.5692274570465088,
-0.06173548102378845,
0.20229798555374146,
0.24582697451114655,
0.4291163682937622,
-0.1812097430229187,
-0.10824291408061981,
0.368627667427063,
-0.11660734564065933,
-0.607531726360321,
0.20199686288833618,
-0.11350838094949722,
-0.15701965987682343,
-0.17378441989421844,
-0.2829260230064392,
-0.23038965463638306,
-0.0682564303278923,
-0.3912394046783447,
0.11484459787607193,
0.22253306210041046,
0.4570539593696594,
-0.022254960611462593,
-0.31963175535202026,
0.02026328444480896,
-0.1380608230829239,
0.46005332469940186,
0.5630520582199097,
0.3355022668838501,
-0.16053667664527893,
-0.2894895672798157,
-0.09728191792964935,
0.15406060218811035,
0.3311708867549896,
0.1052885577082634,
0.2838030457496643,
0.0006897076964378357,
0.11239029467105865,
-0.15723273158073425,
-0.26207029819488525,
0.13027188181877136,
-0.05044969916343689,
-0.23016013205051422,
0.6117632985115051,
-0.026901885867118835,
-0.38269415497779846,
-0.14116699993610382,
-0.4161279499530792,
-0.3549405634403229,
0.016045521944761276,
0.09784112870693207,
0.2034674435853958,
0.40725621581077576,
-0.04855627566576004,
-0.21042251586914062,
-0.006416697055101395,
-0.28990304470062256,
0.2588730454444885,
0.24265068769454956,
-0.1528468132019043,
0.07933744788169861,
0.017735447734594345,
0.2376876026391983,
-0.3754282295703888,
0.13881376385688782,
0.06824275851249695,
-0.172849640250206,
-0.31168603897094727,
-0.05351226031780243,
0.2954448461532593,
0.006143304985016584,
0.3035828471183777,
-0.2099452018737793,
-0.3383781313896179,
0.25809016823768616,
0.1172960102558136,
0.07874776422977448,
-0.09447598457336426,
-0.41895896196365356,
-0.141718789935112,
0.44189682602882385,
0.31429994106292725,
-0.24895122647285461,
0.3359808325767517,
0.20295025408267975,
0.12992660701274872,
-0.04500383511185646,
-0.15402574837207794,
-0.15589666366577148,
-0.4016587734222412,
-0.40534916520118713,
0.06109607592225075,
0.13792917132377625,
0.3944447934627533,
-0.03484029322862625,
0.17647404968738556,
0.5216851234436035,
0.022832084447145462,
0.35290026664733887,
0.08094431459903717,
0.3735995292663574,
0.13365761935710907,
0.06814782321453094,
0.07270313054323196,
-0.06365782022476196,
0.04669584333896637,
0.6634548902511597,
-0.054958198219537735,
0.17759981751441956,
0.01788959465920925,
-0.34097522497177124,
-0.18942564725875854,
0.34919100999832153,
0.24126306176185608,
-0.11963561922311783,
0.004412468522787094,
-0.10360924899578094,
0.2061649113893509,
0.06355107575654984,
0.06698127090930939,
-0.01812649518251419,
-0.24670332670211792,
-0.19065135717391968,
0.28262123465538025,
0.06874723732471466,
0.02992922067642212,
-0.2297937273979187,
0.49960893392562866,
-0.1960742175579071,
0.4197651147842407,
-0.12633571028709412,
1.1841216087341309,
0.021636322140693665,
0.0053870342671871185,
-0.02601538598537445,
0.18003080785274506,
0.27504968643188477,
-0.36894816160202026,
0.05360737442970276,
-0.2369500696659088,
-0.24045847356319427,
-0.18971042335033417,
0.07964839041233063,
0.0014640763401985168,
0.11089000105857849,
-0.4043819308280945,
0.10887273401021957,
0.038220733404159546,
-0.06909346580505371,
0.26868975162506104,
0.153580442070961,
0.25990989804267883,
-0.09876693785190582,
0.08923489600419998,
0.1748882532119751,
0.07821810990571976,
0.5027629733085632,
0.07111573964357376,
-0.09246014803647995,
-0.2774481475353241,
-0.036638036370277405,
-0.4187379479408264,
0.08511905372142792,
-0.07892237603664398,
-0.17513172328472137,
0.22619561851024628,
-0.37379342317581177,
0.35443171858787537,
-0.01768406108021736,
0.37020283937454224,
0.1986445039510727,
-0.24606764316558838,
0.09244725853204727,
0.18565523624420166,
-0.3781833350658417,
0.352478951215744,
0.13601352274417877,
0.4775931239128113,
-0.24897798895835876,
-0.27998480200767517,
0.1453612893819809,
0.05503030866384506,
-0.18862484395503998,
-0.2542060613632202,
-0.33754533529281616,
-0.16194279491901398,
-0.17975665628910065,
-0.21225343644618988,
0.4094422459602356,
-0.2578452527523041,
-0.24959228932857513,
0.20156320929527283,
0.11255912482738495,
-0.21027006208896637,
0.01179792732000351,
0.03628307580947876,
-0.1952240765094757,
-0.016492467373609543,
0.3635089099407196,
0.3995397388935089,
-0.2675773501396179,
0.28820815682411194,
0.34030860662460327,
-0.19901856780052185,
-0.2340930700302124,
-0.5643636584281921,
0.05098925903439522,
-0.20906129479408264,
0.07331957668066025,
-0.0639689639210701,
-0.33707767724990845,
-0.007590925320982933,
0.6005482077598572,
0.16180339455604553,
0.26076847314834595,
-0.16245588660240173,
-0.09768546372652054,
-0.23002734780311584,
0.026198025792837143,
0.04288851469755173,
0.11834825575351715,
0.12383801490068436,
0.3037935793399811,
0.35203108191490173,
0.10725962370634079,
-0.4321010708808899,
0.1169160008430481,
-0.45516321063041687,
0.11765795946121216,
0.2941339313983917,
-0.21542328596115112,
-0.13604164123535156,
-0.11183607578277588,
0.06384912133216858,
0.09255129843950272,
-0.05873335897922516,
-0.28092122077941895,
-0.18739038705825806,
0.08043663948774338,
0.22613030672073364,
-0.08671683818101883,
-0.02094266191124916,
-0.18121454119682312,
-0.10061049461364746,
0.2518787384033203,
-0.13039882481098175,
0.26685819029808044,
0.10261775553226471,
0.11163140088319778,
-0.16358472406864166,
-0.1233588233590126,
-0.09136482328176498,
-0.06912871450185776,
-0.17240899801254272,
0.05870404466986656,
0.19312839210033417,
-0.05205236375331879,
-0.01840764470398426,
-0.05643567442893982,
-0.1315363496541977,
0.2566063404083252,
0.19362613558769226,
0.3141951262950897,
0.22697389125823975,
0.06446864455938339,
0.10879963636398315,
0.19575271010398865,
0.2265554964542389,
0.12070941925048828,
-0.3449033796787262,
-0.17585906386375427,
0.10618572682142258,
0.300759881734848,
-0.4291945695877075,
-0.12009770423173904,
0.010332279838621616,
-0.4030599892139435,
0.12319816648960114,
0.25027453899383545,
0.3244935870170593,
0.2337019443511963,
0.35769426822662354,
0.2908175587654114,
0.3905391991138458,
0.2292168289422989,
-0.028605148196220398,
-0.027509678155183792,
0.04143678769469261,
-0.054179597645998,
0.12552261352539062,
0.09976500272750854,
-0.17174842953681946,
-0.04678525775671005,
-0.03719017654657364,
0.30023664236068726,
0.029632389545440674,
0.4627336263656616,
0.22338175773620605,
0.019444510340690613,
0.3396355211734772,
-0.05319882929325104,
0.3053309917449951,
0.1353115737438202,
0.1795358955860138,
0.12154442071914673,
-0.18757504224777222,
-0.07978242635726929,
-0.1387215405702591,
0.18012157082557678,
-0.16275596618652344,
-0.21244175732135773,
-0.14686104655265808,
-0.2788500189781189,
-0.12497244775295258,
-0.0866830125451088,
-0.04183918610215187,
-0.0425066277384758,
0.008963018655776978,
-0.19674791395664215,
-0.1459796279668808,
-0.24373047053813934,
-0.23187753558158875,
-0.223190039396286,
0.40892985463142395,
-0.1911463886499405,
0.3119387626647949,
-0.1156398206949234,
0.09598339349031448,
0.07963171601295471,
0.4286534786224365,
0.1871577501296997,
0.0645880252122879,
0.1318635791540146,
0.053975511342287064,
-0.20598210394382477,
-0.10082338750362396,
0.19146272540092468,
0.2620886564254761,
0.34071528911590576,
-0.08251401782035828,
0.07645682990550995,
0.07087922096252441,
-0.15692514181137085,
0.37930259108543396,
0.029087413102388382,
0.024908287450671196,
0.0191362127661705,
0.21122616529464722,
-0.17729732394218445,
-0.28047680854797363,
-0.43881797790527344,
-0.1508846879005432,
-0.2980633080005646,
0.07064422219991684,
0.3177381157875061,
-0.1288347840309143,
0.02465653046965599,
-0.24709415435791016,
0.13739094138145447,
0.09903077781200409,
0.13417397439479828,
0.38444751501083374,
0.06341026723384857,
-0.1733834445476532,
-0.03316054120659828,
-0.3945425748825073,
0.3777082860469818,
0.13197660446166992,
0.022963253781199455,
-0.11325087398290634,
0.052921928465366364,
0.1952941119670868,
0.02621808648109436,
-0.09347312152385712,
0.2297694981098175,
-0.5240805745124817,
-0.2986951470375061,
-0.10418444871902466,
0.03801916539669037,
-0.31677311658859253,
-0.08079826831817627,
-0.01401296816766262,
0.20305052399635315,
0.010297250002622604,
-0.345162957906723,
0.13195690512657166,
-0.32067662477493286,
-0.48030346632003784,
0.08733639121055603,
0.18940825760364532,
0.1327846348285675,
-0.01468290202319622,
0.14574581384658813,
-0.29709386825561523,
0.06835851818323135,
0.04683665558695793,
-0.1436857283115387,
-0.10839283466339111,
0.03885573148727417,
0.35311129689216614,
0.19193686544895172,
0.10894223302602768,
-0.035547833889722824,
0.024857893586158752,
0.2158658653497696,
0.15989136695861816,
-0.08729706704616547,
-0.4608267843723297,
0.07453557848930359,
-0.05726734176278114,
-0.019058968871831894,
0.10678926855325699,
0.3488289713859558,
0.10932161659002304,
-0.10528181493282318,
-0.3101309537887573,
-0.535076916217804,
0.645271360874176,
-0.07694219052791595,
-0.024859601631760597,
0.08579159528017044,
0.1763276755809784,
0.26927655935287476,
0.07360676676034927,
-0.6545119881629944,
-0.004297763109207153,
0.08721468597650528,
-0.011685512959957123,
-0.29355600476264954,
0.18692854046821594,
-0.18439826369285583,
0.05968329682946205,
-0.009575575590133667,
0.057096317410469055,
0.11695074290037155,
0.03019530512392521,
-0.26056671142578125,
-0.2008233368396759
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | In `books.py`
```
URL = "https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2"
```
```
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from nlp import load_dataset
>>> book = load_dataset("nlp/datasets/bookscorpus/books.py", cache_dir='~/tmp')
Downloading and preparing dataset bookscorpus/plain_text (download: 1.10 GiB, generated: 4.52 GiB, total: 5.62 GiB) to /home/yisiang/tmp/bookscorpus/plain_text/1.0.0...
Downloading: 100%|███████████████████████████████████████████████████████████| 1.18G/1.18G [00:39<00:00, 30.0MB/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/yisiang/nlp/src/nlp/load.py", line 520, in load_dataset
save_infos=save_infos,
File "/home/yisiang/nlp/src/nlp/builder.py", line 420, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/home/yisiang/nlp/src/nlp/builder.py", line 460, in _download_and_prepare
verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums())
File "/home/yisiang/nlp/src/nlp/utils/info_utils.py", line 31, in verify_checksums
raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
nlp.utils.info_utils.ExpectedMoreDownloadedFiles: {'16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z'}
>>>
```
BTW, I notice the path `huggingface-nlp/datasets/toronto_books_corpus`, does it mean I have to change folder name "bookscorpus" to "toronto_books_corpus" | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 129 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
In `books.py`
```
URL = "https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2"
```
```
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from nlp import load_dataset
>>> book = load_dataset("nlp/datasets/bookscorpus/books.py", cache_dir='~/tmp')
Downloading and preparing dataset bookscorpus/plain_text (download: 1.10 GiB, generated: 4.52 GiB, total: 5.62 GiB) to /home/yisiang/tmp/bookscorpus/plain_text/1.0.0...
Downloading: 100%|███████████████████████████████████████████████████████████| 1.18G/1.18G [00:39<00:00, 30.0MB/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/yisiang/nlp/src/nlp/load.py", line 520, in load_dataset
save_infos=save_infos,
File "/home/yisiang/nlp/src/nlp/builder.py", line 420, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/home/yisiang/nlp/src/nlp/builder.py", line 460, in _download_and_prepare
verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums())
File "/home/yisiang/nlp/src/nlp/utils/info_utils.py", line 31, in verify_checksums
raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
nlp.utils.info_utils.ExpectedMoreDownloadedFiles: {'16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z'}
>>>
```
BTW, I notice the path `huggingface-nlp/datasets/toronto_books_corpus`, does it mean I have to change folder name "bookscorpus" to "toronto_books_corpus" | [
0.23337619006633759,
0.10160064697265625,
-0.0498853400349617,
-0.005585953593254089,
-0.13688544929027557,
0.003791823983192444,
0.1558314710855484,
-0.028576795011758804,
-0.3904276490211487,
-0.031827494502067566,
-0.29295697808265686,
0.08915577828884125,
0.06196625530719757,
-0.09721357375383377,
-0.08267585933208466,
-0.3523823916912079,
0.09069202840328217,
0.06129159405827522,
0.1231178343296051,
-0.3399045467376709,
-0.22250135242938995,
0.5940176844596863,
-0.009394116699695587,
-0.0018757879734039307,
-0.060726091265678406,
-0.08485781401395798,
-0.07659986615180969,
0.151341512799263,
-0.18375200033187866,
-0.22919343411922455,
-0.13504476845264435,
0.22479143738746643,
-0.10452011227607727,
0.5229282975196838,
-0.00010531037696637213,
-0.1792229413986206,
0.1781717836856842,
-0.10411452502012253,
0.01744675822556019,
-0.3148621916770935,
0.5390965342521667,
-0.11326001584529877,
0.008960702456533909,
-0.24398010969161987,
-0.1637955605983734,
0.061010174453258514,
0.07832027226686478,
0.03234425187110901,
-0.053885817527770996,
0.4071374833583832,
0.2869507968425751,
-0.04342658817768097,
0.23303760588169098,
-0.09577861428260803,
0.20377415418624878,
-0.042972713708877563,
-0.1415727138519287,
0.5124721527099609,
0.6542679071426392,
0.12222926318645477,
0.14013563096523285,
0.40805235505104065,
-0.11280415207147598,
-0.1158362329006195,
0.06306858360767365,
-0.052655547857284546,
0.08675029128789902,
-0.35029786825180054,
0.24575990438461304,
0.11461535841226578,
0.44133666157722473,
-0.3720235228538513,
-0.146639883518219,
0.06771763414144516,
0.08629200607538223,
0.36282703280448914,
0.10141201317310333,
0.2045086771249771,
0.03784969449043274,
0.05548471584916115,
-0.14504970610141754,
-0.25217223167419434,
-0.14589010179042816,
0.06873421370983124,
0.11073064804077148,
0.30582287907600403,
0.006153902504593134,
0.0036378949880599976,
0.19883398711681366,
0.005337908864021301,
-0.26398614048957825,
0.08981366455554962,
0.062214627861976624,
0.2486124038696289,
-0.06655445694923401,
-0.2098996639251709,
0.08242176473140717,
-0.014016859233379364,
-0.05076536536216736,
-0.13350634276866913,
-0.04060210660099983,
-0.18525999784469604,
-0.08003214746713638,
0.03762730211019516,
-0.02657150849699974,
-0.04587559774518013,
-0.015714824199676514,
0.25014621019363403,
-0.01306372880935669,
0.16011513769626617,
0.07215704023838043,
0.077083520591259,
-0.18349730968475342,
-0.25788310170173645,
-0.2439660131931305,
-0.07986997067928314,
0.0673905536532402,
-0.38372623920440674,
-0.007865170016884804,
0.1845780462026596,
-0.2333165407180786,
0.09080415964126587,
-0.13828864693641663,
0.2958737313747406,
-0.04994475468993187,
-0.24078771471977234,
0.26384496688842773,
0.0677805170416832,
-0.16372255980968475,
0.06955324113368988,
-0.1813943088054657,
0.25475138425827026,
-0.20520582795143127,
0.007586323656141758,
0.1285291165113449,
-0.3312869966030121,
0.2588762044906616,
-0.2891944944858551,
-0.22043012082576752,
-0.031082002446055412,
-0.012768207117915154,
-0.2822924256324768,
-0.168365478515625,
0.10703438520431519,
-0.13923069834709167,
0.11219210177659988,
-0.05670471861958504,
-0.21906642615795135,
-0.35669201612472534,
0.23705041408538818,
-0.3303258717060089,
-0.22840949892997742,
-0.3064035177230835,
0.32210758328437805,
-0.20579537749290466,
-0.46751388907432556,
0.04043881967663765,
0.27286073565483093,
0.14529412984848022,
-0.2699127495288849,
0.20258748531341553,
0.026980102062225342,
-0.3220243453979492,
-0.030096791684627533,
-0.10640298575162888,
0.3899042010307312,
-0.35802000761032104,
-0.15302759408950806,
0.028994418680667877,
-0.1656319946050644,
0.371572345495224,
0.23354287445545197,
0.04544207826256752,
0.04454696923494339,
0.1779744029045105,
0.5048245787620544,
0.060230448842048645,
-0.04419839009642601,
-0.29821130633354187,
0.13155481219291687,
-0.22811344265937805,
-0.1050594374537468,
0.01634259521961212,
-0.10051397979259491,
-0.003446325659751892,
-0.00027532834792509675,
0.3644271194934845,
0.05836055800318718,
0.3514921963214874,
0.045938074588775635,
-0.4402642250061035,
-0.08542539179325104,
-0.11268462240695953,
0.22303298115730286,
0.05143367126584053,
0.039378177374601364,
0.12211994081735611,
-0.10125252604484558,
0.2958963215351105,
-0.02549559995532036,
-0.0700765997171402,
0.6239408254623413,
0.5592815279960632,
0.18039366602897644,
0.25036880373954773,
0.12340594083070755,
0.23399987816810608,
-0.044499460607767105,
-0.5147322416305542,
0.6648160815238953,
0.1270294338464737,
-0.20607802271842957,
-0.4355548620223999,
-0.2705470621585846,
0.06682966649532318,
-0.25072598457336426,
0.2806737422943115,
-0.13837194442749023,
-0.023224128410220146,
0.07619573175907135,
0.1501135677099228,
0.06875260919332504,
-0.46559205651283264,
-0.03531545400619507,
-0.2763103246688843,
0.27802419662475586,
-0.46223336458206177,
-0.17704123258590698,
0.24750036001205444,
0.24250662326812744,
0.18110774457454681,
0.2043321579694748,
-0.10764839500188828,
0.19791340827941895,
-0.3515484631061554,
0.41396623849868774,
0.10866965353488922,
0.16882149875164032,
0.1428438276052475,
-0.2874656617641449,
0.0803091898560524,
0.2702769339084625,
0.24566593766212463,
0.041253626346588135,
-0.04561804234981537,
-0.025210082530975342,
0.28859207034111023,
-0.10177385061979294,
0.17169444262981415,
-0.2166990488767624,
0.11188510060310364,
0.014327902346849442,
-0.06626857817173004,
-0.1641387641429901,
0.38641029596328735,
0.27656090259552,
0.03590432181954384,
0.15984052419662476,
-0.07168041914701462,
0.052555736154317856,
0.2098241150379181,
-0.036546722054481506,
0.02342086285352707,
0.2837480902671814,
-0.4080830514431,
-0.1357804387807846,
-0.1581287384033203,
0.1142931878566742,
0.3055884838104248,
0.24970261752605438,
0.09458372741937637,
0.20507976412773132,
0.08197291940450668,
-0.3166022300720215,
0.167663112282753,
0.2104778289794922,
0.0350845530629158,
0.1416570544242859,
0.2451399862766266,
0.14332930743694305,
-0.2917553782463074,
-0.21644926071166992,
-0.03197741508483887,
0.15775558352470398,
-0.15777046978473663,
0.05265439301729202,
0.17143326997756958,
-0.12059351056814194,
-0.2726473808288574,
0.20343510806560516,
-0.04996706172823906,
0.07010988146066666,
0.35870522260665894,
0.172017440199852,
-0.24073514342308044,
0.05576284974813461,
0.1390170007944107,
0.25329333543777466,
-0.1300538033246994,
-0.3101140260696411,
0.16338424384593964,
-0.1658017635345459,
-0.3873370885848999,
0.2593485116958618,
-0.08095499873161316,
-0.027974145486950874,
0.3506222069263458,
-0.42854562401771545,
-0.10053825378417969,
-0.19940625131130219,
-0.5294305086135864,
-0.013264641165733337,
-0.23978276550769806,
0.0019189473241567612,
0.10776403546333313,
-0.1871686726808548,
-0.04828628897666931,
-0.24888144433498383,
0.0565900094807148,
-0.27677538990974426,
-0.16328682005405426,
-0.05703210085630417,
-0.3605562746524811,
-0.3378656208515167,
-0.16914911568164825,
-0.506432831287384,
-0.26664310693740845,
-0.24832551181316376,
0.17826636135578156,
0.3949325382709503,
0.2406996190547943,
0.6241506338119507,
-0.025983020663261414,
0.18387801945209503,
0.2266026884317398,
0.4902988374233246,
-0.17831555008888245,
-0.025521710515022278,
0.3695890009403229,
-0.10626087337732315,
-0.5168354511260986,
0.08195199072360992,
-0.13520750403404236,
-0.1306115984916687,
-0.20103231072425842,
-0.27047303318977356,
-0.2384805530309677,
-0.09385421872138977,
-0.33729350566864014,
0.08474385738372803,
0.2556156516075134,
0.4581778645515442,
0.062302932143211365,
-0.33431363105773926,
0.009525574743747711,
-0.1457536667585373,
0.4051230251789093,
0.5319026112556458,
0.2393072545528412,
-0.1659548282623291,
-0.27055174112319946,
-0.13656263053417206,
0.1990656554698944,
0.40144023299217224,
0.09441816806793213,
0.29276004433631897,
0.029009142890572548,
0.16396518051624298,
-0.21853458881378174,
-0.27687162160873413,
0.06718792021274567,
-0.02856440842151642,
-0.19748365879058838,
0.5588409304618835,
-0.04081251472234726,
-0.40166977047920227,
-0.12662950158119202,
-0.4080030024051666,
-0.3840971887111664,
-0.005165528506040573,
0.120326928794384,
0.12945351004600525,
0.37564563751220703,
-0.08905129134654999,
-0.16506758332252502,
-0.038998957723379135,
-0.27701470255851746,
0.1933109164237976,
0.218937486410141,
-0.19704154133796692,
0.061862800270318985,
0.08278274536132812,
0.2353014349937439,
-0.38167303800582886,
0.17815037071704865,
0.081626296043396,
-0.16063739359378815,
-0.26774945855140686,
-0.08191153407096863,
0.2584471106529236,
0.02003985457122326,
0.2924361526966095,
-0.132559671998024,
-0.38830113410949707,
0.26243647933006287,
0.10026773810386658,
0.01090969331562519,
-0.05777857080101967,
-0.4359778165817261,
-0.1325381100177765,
0.3979438841342926,
0.3247177004814148,
-0.23522308468818665,
0.308593213558197,
0.23248475790023804,
0.19031833112239838,
0.026945743709802628,
-0.14768585562705994,
-0.15115882456302643,
-0.38351356983184814,
-0.4375525116920471,
0.06487098336219788,
0.15953533351421356,
0.4276883900165558,
-0.011138411238789558,
0.13190793991088867,
0.4956892430782318,
0.004880361258983612,
0.3898720145225525,
0.12204229831695557,
0.3384304344654083,
0.056480538100004196,
0.11281347274780273,
-0.025654152035713196,
-0.11390085518360138,
0.05623653531074524,
0.5879713296890259,
-0.10042276978492737,
0.16534823179244995,
-0.04217073321342468,
-0.25251445174217224,
-0.18286466598510742,
0.3132023215293884,
0.21518805623054504,
-0.1268334984779358,
-0.0769396647810936,
-0.07322181761264801,
0.21140597760677338,
0.030281269922852516,
0.057285964488983154,
0.014855173416435719,
-0.2510133683681488,
-0.22139336168766022,
0.2784460186958313,
0.039142124354839325,
0.03932078182697296,
-0.14519232511520386,
0.4936363101005554,
-0.17749270796775818,
0.4752494692802429,
-0.07103053480386734,
1.13449227809906,
0.03991258889436722,
0.045515917241573334,
-0.0034566521644592285,
0.18312571942806244,
0.28114116191864014,
-0.35274553298950195,
0.09323560446500778,
-0.2131034880876541,
-0.15829919278621674,
-0.16406308114528656,
0.10197992622852325,
0.027703754603862762,
0.04826684668660164,
-0.440928190946579,
0.09913929551839828,
0.0042182207107543945,
-0.15626156330108643,
0.2085501253604889,
0.08390559256076813,
0.140546977519989,
-0.12372218072414398,
0.10453929007053375,
0.18467381596565247,
0.17350119352340698,
0.4759085476398468,
0.06583486497402191,
-0.06305359303951263,
-0.2940687835216522,
-0.023036206141114235,
-0.4636375308036804,
0.03403371572494507,
-0.06646767258644104,
-0.05840993672609329,
0.29710835218429565,
-0.4079771041870117,
0.3110065162181854,
0.002605430781841278,
0.3982365131378174,
0.20676679909229279,
-0.2089001089334488,
0.06658343970775604,
0.20590421557426453,
-0.3421368896961212,
0.36887139081954956,
0.12844964861869812,
0.4731539487838745,
-0.23836708068847656,
-0.30556249618530273,
0.09317624568939209,
0.09250789135694504,
-0.21472789347171783,
-0.18747876584529877,
-0.29154056310653687,
-0.1307954341173172,
-0.1475096195936203,
-0.24978025257587433,
0.4068050980567932,
-0.2990510165691376,
-0.22859683632850647,
0.21311335265636444,
0.08494915068149567,
-0.20803235471248627,
0.06579853594303131,
0.009920541197061539,
-0.25081759691238403,
0.0006535463035106659,
0.31807252764701843,
0.4546208083629608,
-0.20171783864498138,
0.3181295394897461,
0.3020555377006531,
-0.22519218921661377,
-0.26466378569602966,
-0.5663373470306396,
0.046007558703422546,
-0.20773005485534668,
0.06902175396680832,
-0.01478953380137682,
-0.3412359356880188,
-0.024736464023590088,
0.6060457229614258,
0.16008451581001282,
0.2634488642215729,
-0.1826905459165573,
-0.08799714595079422,
-0.24903631210327148,
0.050580598413944244,
-0.04297804459929466,
0.10903637111186981,
0.1667424738407135,
0.3676384389400482,
0.293611615896225,
0.05805681645870209,
-0.45271551609039307,
0.0852125883102417,
-0.5031093955039978,
0.10500006377696991,
0.28617843985557556,
-0.2361220121383667,
-0.16039830446243286,
-0.06654851883649826,
0.10169769823551178,
0.11414941400289536,
-0.11554814875125885,
-0.30328285694122314,
-0.19147224724292755,
0.06796789914369583,
0.13803783059120178,
-0.11526425182819366,
0.018043477088212967,
-0.09718673676252365,
-0.1555561125278473,
0.17687247693538666,
-0.14884693920612335,
0.29500383138656616,
0.13392911851406097,
0.14956779778003693,
-0.2139333337545395,
-0.09908828884363174,
-0.08544968068599701,
-0.15092521905899048,
-0.19068139791488647,
0.08545461297035217,
0.10726358741521835,
-0.010988391935825348,
-0.0029877496417611837,
-0.05114634335041046,
-0.1285199671983719,
0.27408668398857117,
0.15637153387069702,
0.3009473979473114,
0.20934680104255676,
0.20749031007289886,
0.09818461537361145,
0.17809301614761353,
0.21331684291362762,
0.11771853268146515,
-0.3352345824241638,
-0.18639959394931793,
0.11913366615772247,
0.32895708084106445,
-0.47081372141838074,
-0.13095659017562866,
-0.008530920371413231,
-0.34793949127197266,
0.18222838640213013,
0.301554411649704,
0.27564823627471924,
0.25351443886756897,
0.3830820322036743,
0.273331880569458,
0.3504461348056793,
0.23329570889472961,
0.01693861559033394,
0.05384942144155502,
0.11842292547225952,
-0.05927696451544762,
0.11499378830194473,
0.14683383703231812,
-0.07803311198949814,
0.001137368381023407,
-0.1230100467801094,
0.3654876947402954,
-0.01542947068810463,
0.40323495864868164,
0.22003647685050964,
0.025349944829940796,
0.42620205879211426,
-0.07745176553726196,
0.27204370498657227,
0.15985846519470215,
0.16817083954811096,
0.07813814282417297,
-0.2055569738149643,
-0.01631798967719078,
-0.15824200212955475,
0.17680560052394867,
-0.1640375554561615,
-0.26141607761383057,
-0.058665238320827484,
-0.2599231004714966,
-0.14774981141090393,
-0.13809436559677124,
-0.007487226277589798,
-0.06730999052524567,
0.04252788424491882,
-0.2500312924385071,
-0.126679465174675,
-0.24781040847301483,
-0.1787397563457489,
-0.2207845151424408,
0.469085156917572,
-0.1957474648952484,
0.2799777090549469,
-0.0864625871181488,
0.11162275820970535,
-0.028907064348459244,
0.4135607182979584,
0.2531435787677765,
0.06189925968647003,
0.11936205625534058,
0.09931010752916336,
-0.23612062633037567,
-0.12352599203586578,
0.1667308211326599,
0.22278837859630585,
0.32203707098960876,
-0.057343777269124985,
0.05554166063666344,
0.10059157013893127,
-0.1691768318414688,
0.34144237637519836,
0.0780147984623909,
-0.031223200261592865,
-0.027060382068157196,
0.21586716175079346,
-0.19931098818778992,
-0.30587902665138245,
-0.4255189001560211,
-0.07151082903146744,
-0.29581817984580994,
0.05185612291097641,
0.3299088478088379,
-0.2119552344083786,
0.01445828191936016,
-0.3000468611717224,
0.14943380653858185,
0.08316860347986221,
0.12895473837852478,
0.3402537703514099,
0.07531328499317169,
-0.17813533544540405,
-0.04006674513220787,
-0.34647229313850403,
0.339498370885849,
0.09739600121974945,
-0.008643470704555511,
-0.12988077104091644,
0.02271340601146221,
0.18197426199913025,
0.05867574363946915,
-0.09761166572570801,
0.281474769115448,
-0.5106344819068909,
-0.3200737535953522,
-0.0809328705072403,
0.020412029698491096,
-0.29877161979675293,
-0.15355971455574036,
0.015616748481988907,
0.11212121695280075,
-0.02640487626194954,
-0.41364726424217224,
0.15538433194160461,
-0.3737987279891968,
-0.47712668776512146,
0.16722270846366882,
0.17890433967113495,
0.14894407987594604,
-0.04884103685617447,
0.08194936811923981,
-0.31824538111686707,
0.0707588642835617,
0.11776693910360336,
-0.10573339462280273,
-0.04846350848674774,
0.06308278441429138,
0.34647810459136963,
0.1748012751340866,
0.06305224448442459,
-0.04052331671118736,
0.13009856641292572,
0.31211957335472107,
0.20174430310726166,
-0.14112725853919983,
-0.389597624540329,
0.05866056680679321,
-0.08849785476922989,
0.0000889491057023406,
0.031249381601810455,
0.3573678433895111,
0.10371248424053192,
-0.08105583488941193,
-0.28359654545783997,
-0.6067582368850708,
0.6055083870887756,
-0.11442741751670837,
-0.0833079069852829,
0.04459581524133682,
0.16728191077709198,
0.2724292278289795,
0.06135840713977814,
-0.698203444480896,
0.02599865198135376,
0.09579537808895111,
-0.024517856538295746,
-0.29249951243400574,
0.2079656422138214,
-0.1382373869419098,
0.05814925208687782,
-0.043014299124479294,
0.10478696972131729,
0.04240508750081062,
0.02420387603342533,
-0.25133398175239563,
-0.2504301071166992
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | > In `books.py`
>
> ```
> URL = "https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2"
> ```
>
> ```
> Python 3.7.6 (default, Jan 8 2020, 19:59:22)
> [GCC 7.3.0] :: Anaconda, Inc. on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from nlp import load_dataset
> >>> book = load_dataset("nlp/datasets/bookscorpus/books.py", cache_dir='~/tmp')
> Downloading and preparing dataset bookscorpus/plain_text (download: 1.10 GiB, generated: 4.52 GiB, total: 5.62 GiB) to /home/yisiang/tmp/bookscorpus/plain_text/1.0.0...
> Downloading: 100%|███████████████████████████████████████████████████████████| 1.18G/1.18G [00:39<00:00, 30.0MB/s]
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/yisiang/nlp/src/nlp/load.py", line 520, in load_dataset
> save_infos=save_infos,
> File "/home/yisiang/nlp/src/nlp/builder.py", line 420, in download_and_prepare
> dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
> File "/home/yisiang/nlp/src/nlp/builder.py", line 460, in _download_and_prepare
> verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums())
> File "/home/yisiang/nlp/src/nlp/utils/info_utils.py", line 31, in verify_checksums
> raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
> nlp.utils.info_utils.ExpectedMoreDownloadedFiles: {'16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z'}
> >>>
> ```
>
> BTW, I notice the path `huggingface-nlp/datasets/toronto_books_corpus`, does it mean I have to change folder name "bookscorpus" to "toronto_books_corpus"
Let me change the url to match "bookscorpus", so that you don't have to change anything. Good catch.
About the error you're getting: you just have to remove the `dataset_infos.json` and regenerate it | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 191 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
> In `books.py`
>
> ```
> URL = "https://storage.googleapis.com/huggingface-nlp/datasets/toronto_books_corpus/bookcorpus.tar.bz2"
> ```
>
> ```
> Python 3.7.6 (default, Jan 8 2020, 19:59:22)
> [GCC 7.3.0] :: Anaconda, Inc. on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from nlp import load_dataset
> >>> book = load_dataset("nlp/datasets/bookscorpus/books.py", cache_dir='~/tmp')
> Downloading and preparing dataset bookscorpus/plain_text (download: 1.10 GiB, generated: 4.52 GiB, total: 5.62 GiB) to /home/yisiang/tmp/bookscorpus/plain_text/1.0.0...
> Downloading: 100%|███████████████████████████████████████████████████████████| 1.18G/1.18G [00:39<00:00, 30.0MB/s]
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/yisiang/nlp/src/nlp/load.py", line 520, in load_dataset
> save_infos=save_infos,
> File "/home/yisiang/nlp/src/nlp/builder.py", line 420, in download_and_prepare
> dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
> File "/home/yisiang/nlp/src/nlp/builder.py", line 460, in _download_and_prepare
> verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums())
> File "/home/yisiang/nlp/src/nlp/utils/info_utils.py", line 31, in verify_checksums
> raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
> nlp.utils.info_utils.ExpectedMoreDownloadedFiles: {'16KCjV9z_FHm8LgZw05RSuk4EsAWPOP_z'}
> >>>
> ```
>
> BTW, I notice the path `huggingface-nlp/datasets/toronto_books_corpus`, does it mean I have to change folder name "bookscorpus" to "toronto_books_corpus"
Let me change the url to match "bookscorpus", so that you don't have to change anything. Good catch.
About the error you're getting: you just have to remove the `dataset_infos.json` and regenerate it | [
0.23454104363918304,
0.114564448595047,
-0.04990169033408165,
-0.007951408624649048,
-0.12975817918777466,
0.004572689533233643,
0.1375134140253067,
-0.03354617580771446,
-0.4242010712623596,
-0.023012682795524597,
-0.30507025122642517,
0.08295111358165741,
0.06366728246212006,
-0.09125173091888428,
-0.07584571838378906,
-0.3492435812950134,
0.09491517394781113,
0.06609155237674713,
0.13343918323516846,
-0.3344389796257019,
-0.2175457775592804,
0.5967279076576233,
0.0040016770362854,
0.0024975165724754333,
-0.05142800882458687,
-0.08412180095911026,
-0.07743708044290543,
0.1487995684146881,
-0.1892402023077011,
-0.2265811562538147,
-0.12300480157136917,
0.21948805451393127,
-0.09140750765800476,
0.5215266346931458,
-0.00010561688395682722,
-0.1754293441772461,
0.17486506700515747,
-0.1060616746544838,
0.014193326234817505,
-0.3157729506492615,
0.5234338641166687,
-0.1081601083278656,
0.014676209539175034,
-0.23383808135986328,
-0.17405182123184204,
0.0614338293671608,
0.07659688591957092,
0.022277817130088806,
-0.07473143935203552,
0.4148637354373932,
0.28345727920532227,
-0.046604856848716736,
0.23986570537090302,
-0.09792306274175644,
0.18467295169830322,
-0.043795689940452576,
-0.1412985473871231,
0.5117297768592834,
0.655052900314331,
0.13482968509197235,
0.14096149802207947,
0.3950654864311218,
-0.0910700261592865,
-0.12209948897361755,
0.07069692015647888,
-0.045184943825006485,
0.09350808709859848,
-0.3424983620643616,
0.2565367519855499,
0.11137903481721878,
0.46281179785728455,
-0.39034193754196167,
-0.1520395427942276,
0.07960440963506699,
0.07143303006887436,
0.3650984764099121,
0.09702376276254654,
0.2005094736814499,
0.048345278948545456,
0.0571603961288929,
-0.13228468596935272,
-0.2562547028064728,
-0.14606046676635742,
0.047381382435560226,
0.10827788710594177,
0.32896745204925537,
0.012117598205804825,
0.007448554039001465,
0.18589839339256287,
0.009433155879378319,
-0.2432313859462738,
0.10048867017030716,
0.06100563704967499,
0.26054179668426514,
-0.07321269810199738,
-0.22555719316005707,
0.09247814118862152,
-0.015705905854701996,
-0.05651122331619263,
-0.1309269219636917,
-0.022831052541732788,
-0.17581269145011902,
-0.07632505893707275,
0.00986022874712944,
-0.012952703982591629,
-0.04187779128551483,
0.018048487603664398,
0.24448628723621368,
-0.025734424591064453,
0.16588911414146423,
0.07943542301654816,
0.0775194764137268,
-0.16920676827430725,
-0.2593294382095337,
-0.24166131019592285,
-0.08180579543113708,
0.038567036390304565,
-0.41050687432289124,
0.004972437396645546,
0.18076178431510925,
-0.21065127849578857,
0.09774939715862274,
-0.15002745389938354,
0.2992036044597626,
-0.04471577703952789,
-0.22375532984733582,
0.2672709822654724,
0.04706370830535889,
-0.15675725042819977,
0.06444215029478073,
-0.18190854787826538,
0.253135621547699,
-0.20787370204925537,
0.010520175099372864,
0.12562228739261627,
-0.34262770414352417,
0.2515791952610016,
-0.29289138317108154,
-0.2355201691389084,
-0.022749630734324455,
-0.02658051624894142,
-0.264686644077301,
-0.17088142037391663,
0.0968894213438034,
-0.1303878277540207,
0.1126781776547432,
-0.05254301801323891,
-0.2251208871603012,
-0.3652507960796356,
0.24475446343421936,
-0.31981226801872253,
-0.23563337326049805,
-0.3160454034805298,
0.31825339794158936,
-0.21711145341396332,
-0.4763078987598419,
0.053089939057826996,
0.2809807360172272,
0.14956779778003693,
-0.26540783047676086,
0.20446333289146423,
0.032360389828681946,
-0.3345690369606018,
-0.0324552021920681,
-0.09934251755475998,
0.38289839029312134,
-0.369710236787796,
-0.159042090177536,
0.02290557697415352,
-0.17223665118217468,
0.36863675713539124,
0.2130127251148224,
0.033986981958150864,
0.03612639009952545,
0.18498030304908752,
0.48999249935150146,
0.045970506966114044,
-0.036629077047109604,
-0.29330429434776306,
0.11880486458539963,
-0.22269487380981445,
-0.09496951103210449,
0.0011476725339889526,
-0.100554920732975,
0.0007786890491843224,
0.007217315956950188,
0.37845245003700256,
0.04787994921207428,
0.35669654607772827,
0.044576600193977356,
-0.43946030735969543,
-0.07845469564199448,
-0.10834133625030518,
0.22034762799739838,
0.054775066673755646,
0.043961796909570694,
0.12165151536464691,
-0.11541903018951416,
0.29823797941207886,
-0.017063993960618973,
-0.07340417057275772,
0.6349198818206787,
0.5578184723854065,
0.1696416735649109,
0.26066917181015015,
0.13278749585151672,
0.22214728593826294,
-0.04504801332950592,
-0.5221841335296631,
0.6718965768814087,
0.1287085860967636,
-0.20932471752166748,
-0.46224379539489746,
-0.2687622308731079,
0.07654234021902084,
-0.2560284435749054,
0.27576321363449097,
-0.15196825563907623,
-0.015020464546978474,
0.09819826483726501,
0.14994053542613983,
0.08114813268184662,
-0.4823366105556488,
-0.030944935977458954,
-0.27963629364967346,
0.2891915738582611,
-0.4507930874824524,
-0.17611540853977203,
0.2443455159664154,
0.23186787962913513,
0.16817837953567505,
0.20866388082504272,
-0.11800780147314072,
0.19706130027770996,
-0.34397274255752563,
0.41647279262542725,
0.10771507024765015,
0.1751093566417694,
0.1456810086965561,
-0.28307628631591797,
0.0800001248717308,
0.2550294101238251,
0.23555153608322144,
0.045076459646224976,
-0.050772376358509064,
-0.005575805902481079,
0.28530019521713257,
-0.10062583535909653,
0.180956169962883,
-0.21447131037712097,
0.13063092529773712,
0.006379663944244385,
-0.06608934700489044,
-0.15724560618400574,
0.37662896513938904,
0.27835336327552795,
0.0409746952354908,
0.15764228999614716,
-0.06452526152133942,
0.07355858385562897,
0.20446571707725525,
-0.03131609782576561,
-0.0023483633995056152,
0.28548189997673035,
-0.4178489148616791,
-0.1361187994480133,
-0.14524312317371368,
0.09780104458332062,
0.30944734811782837,
0.24853165447711945,
0.10740488022565842,
0.20354783535003662,
0.07890989631414413,
-0.31548577547073364,
0.18381687998771667,
0.22330759465694427,
0.038695283234119415,
0.13984167575836182,
0.24676020443439484,
0.13873355090618134,
-0.2974860370159149,
-0.2064111828804016,
-0.035432085394859314,
0.16206084191799164,
-0.1638709306716919,
0.05855698138475418,
0.17801304161548615,
-0.12067440152168274,
-0.2838209271430969,
0.1923961043357849,
-0.04483337327837944,
0.07126469910144806,
0.3638124465942383,
0.1648905873298645,
-0.22945936024188995,
0.04569520801305771,
0.14125984907150269,
0.2548614740371704,
-0.13415919244289398,
-0.3171101212501526,
0.17640772461891174,
-0.17067518830299377,
-0.39049914479255676,
0.2592007517814636,
-0.07964327931404114,
-0.028494400903582573,
0.3304024338722229,
-0.4403509795665741,
-0.09523776918649673,
-0.2023995816707611,
-0.5508052706718445,
-0.018170513212680817,
-0.2218984216451645,
-0.004147594794631004,
0.10854622721672058,
-0.1998680979013443,
-0.057779405266046524,
-0.2685452401638031,
0.04252155125141144,
-0.2680848240852356,
-0.17050820589065552,
-0.06143682450056076,
-0.37117817997932434,
-0.338354229927063,
-0.17214350402355194,
-0.5136043429374695,
-0.26914095878601074,
-0.23842476308345795,
0.15900301933288574,
0.3950343430042267,
0.23802576959133148,
0.6070729494094849,
-0.029253166168928146,
0.18322713673114777,
0.23096007108688354,
0.4681288003921509,
-0.1749330759048462,
-0.02503199875354767,
0.3633541762828827,
-0.10614888370037079,
-0.5121179819107056,
0.098782017827034,
-0.14686384797096252,
-0.11490276455879211,
-0.21242517232894897,
-0.2712479829788208,
-0.20769551396369934,
-0.0928855836391449,
-0.34003975987434387,
0.09680923819541931,
0.23592886328697205,
0.46807610988616943,
0.05165427178144455,
-0.3309580683708191,
0.016674071550369263,
-0.13989685475826263,
0.426477313041687,
0.5407686233520508,
0.25517478585243225,
-0.17725804448127747,
-0.28411421179771423,
-0.136788472533226,
0.19956505298614502,
0.39955055713653564,
0.08029963076114655,
0.2795952260494232,
0.03185512125492096,
0.16567829251289368,
-0.21532759070396423,
-0.277933806180954,
0.06447946280241013,
-0.032871365547180176,
-0.19685682654380798,
0.5583415031433105,
-0.03404033184051514,
-0.4020659625530243,
-0.13016879558563232,
-0.41042599081993103,
-0.3705698251724243,
-0.016566598787903786,
0.12301589548587799,
0.1346452683210373,
0.36618566513061523,
-0.07343323528766632,
-0.16943582892417908,
-0.040558554232120514,
-0.2779194414615631,
0.18859396874904633,
0.2171674221754074,
-0.2152121365070343,
0.06260807812213898,
0.09433990716934204,
0.24758896231651306,
-0.3840503692626953,
0.17019023001194,
0.09413864463567734,
-0.16060741245746613,
-0.2483840137720108,
-0.0698598101735115,
0.2591121792793274,
0.032290007919073105,
0.2988685071468353,
-0.1354704052209854,
-0.391385555267334,
0.27150511741638184,
0.09624457359313965,
0.0006127189844846725,
-0.05654062703251839,
-0.42343151569366455,
-0.13451680541038513,
0.4025660753250122,
0.3337497413158417,
-0.24695956707000732,
0.3226071894168854,
0.21410027146339417,
0.18505926430225372,
0.022492218762636185,
-0.12572157382965088,
-0.15245968103408813,
-0.37462642788887024,
-0.42686161398887634,
0.0650445967912674,
0.1664789766073227,
0.4306882321834564,
-0.008132071234285831,
0.126694455742836,
0.4979948103427887,
0.006034392863512039,
0.3808669447898865,
0.13173194229602814,
0.3280465006828308,
0.06412654370069504,
0.11637109518051147,
-0.025214500725269318,
-0.11584107577800751,
0.04376789927482605,
0.6005532145500183,
-0.10320280492305756,
0.13799595832824707,
-0.03468063473701477,
-0.24906253814697266,
-0.1810876429080963,
0.30595144629478455,
0.23306633532047272,
-0.1308855414390564,
-0.07480639964342117,
-0.0950583815574646,
0.23270878195762634,
0.032143205404281616,
0.021410468965768814,
0.028946664184331894,
-0.25708702206611633,
-0.2162637710571289,
0.2844882607460022,
0.0447932668030262,
0.03540550172328949,
-0.1155819296836853,
0.5039836168289185,
-0.1778108775615692,
0.4795568585395813,
-0.08020996302366257,
1.129158854484558,
0.037883467972278595,
0.03924635052680969,
-0.0010045580565929413,
0.1843537986278534,
0.27476659417152405,
-0.3444286584854126,
0.08657313883304596,
-0.2144661694765091,
-0.17204943299293518,
-0.15918494760990143,
0.09788811206817627,
0.027740247547626495,
0.046339742839336395,
-0.4420796036720276,
0.09038221836090088,
-0.004407010972499847,
-0.16152654588222504,
0.2266101986169815,
0.07782922685146332,
0.15694792568683624,
-0.12138597667217255,
0.10785695910453796,
0.17950063943862915,
0.1669704020023346,
0.4778849482536316,
0.06841281801462173,
-0.05875275284051895,
-0.3092711865901947,
-0.019513925537467003,
-0.45253390073776245,
0.034807950258255005,
-0.07193940132856369,
-0.06665122509002686,
0.29797396063804626,
-0.41317158937454224,
0.3150034546852112,
-0.0002685375511646271,
0.399411141872406,
0.18831998109817505,
-0.2060585618019104,
0.08198827505111694,
0.18925009667873383,
-0.33226141333580017,
0.38562658429145813,
0.13672992587089539,
0.47042006254196167,
-0.23176202178001404,
-0.31133902072906494,
0.10194740444421768,
0.0864049568772316,
-0.22367548942565918,
-0.16334174573421478,
-0.2871142625808716,
-0.1259455382823944,
-0.14908193051815033,
-0.2411806732416153,
0.4219970405101776,
-0.28249913454055786,
-0.2372165471315384,
0.21246133744716644,
0.07435160875320435,
-0.19439737498760223,
0.06824364513158798,
0.00621066614985466,
-0.24619469046592712,
0.010292263701558113,
0.3296533524990082,
0.46038752794265747,
-0.21929922699928284,
0.29146623611450195,
0.3155669569969177,
-0.2242462933063507,
-0.25597596168518066,
-0.5629507899284363,
0.033422522246837616,
-0.1951388418674469,
0.08476604521274567,
-0.028738072142004967,
-0.34085309505462646,
-0.02034982293844223,
0.6034375429153442,
0.17208082973957062,
0.27526089549064636,
-0.18893016874790192,
-0.08477786183357239,
-0.2442411482334137,
0.04622049629688263,
-0.04339833930134773,
0.1092294305562973,
0.15966251492500305,
0.38683244585990906,
0.29169103503227234,
0.07055114209651947,
-0.44627130031585693,
0.07036497443914413,
-0.4999115467071533,
0.10718405246734619,
0.2753157913684845,
-0.22747236490249634,
-0.1688026338815689,
-0.07656596601009369,
0.08769857883453369,
0.1167023777961731,
-0.10172070562839508,
-0.30044594407081604,
-0.18909892439842224,
0.06688573956489563,
0.13941025733947754,
-0.11787871271371841,
0.019616741687059402,
-0.08973130583763123,
-0.17749127745628357,
0.1826850026845932,
-0.16266047954559326,
0.2898906469345093,
0.13096022605895996,
0.1464201956987381,
-0.2086707204580307,
-0.10174160450696945,
-0.09060567617416382,
-0.14606472849845886,
-0.184091717004776,
0.10840176045894623,
0.11525482684373856,
-0.003742620348930359,
-0.027867119759321213,
-0.046703796833753586,
-0.12075462937355042,
0.2873731255531311,
0.14799386262893677,
0.2987041771411896,
0.20835432410240173,
0.22028598189353943,
0.09492272138595581,
0.16409078240394592,
0.20069734752178192,
0.11921294033527374,
-0.3255648910999298,
-0.18051376938819885,
0.12173192203044891,
0.32082727551460266,
-0.47708430886268616,
-0.13533124327659607,
-0.009521590545773506,
-0.34728071093559265,
0.18057550489902496,
0.2981710731983185,
0.27993524074554443,
0.24211803078651428,
0.4082193970680237,
0.2661150097846985,
0.37306657433509827,
0.238362118601799,
0.026422623544931412,
0.06977278739213943,
0.1258041262626648,
-0.0654866099357605,
0.12722322344779968,
0.1458633542060852,
-0.07952531427145004,
0.010957371443510056,
-0.1269393265247345,
0.3627104163169861,
-0.013194885104894638,
0.4214780926704407,
0.21792781352996826,
0.04155700281262398,
0.4190855026245117,
-0.07966892421245575,
0.2776649594306946,
0.15172997117042542,
0.19242563843727112,
0.07604341208934784,
-0.20192815363407135,
-0.018190570175647736,
-0.15643464028835297,
0.17610801756381989,
-0.1598835289478302,
-0.24563781917095184,
-0.05742591246962547,
-0.2605646252632141,
-0.13993123173713684,
-0.14052672684192657,
-0.007838301360607147,
-0.08666233718395233,
0.06369729340076447,
-0.261313796043396,
-0.12648113071918488,
-0.24812860786914825,
-0.1654927134513855,
-0.2229956090450287,
0.47182929515838623,
-0.1903345286846161,
0.27516087889671326,
-0.07774725556373596,
0.11409591138362885,
-0.03867040202021599,
0.40932127833366394,
0.22839941084384918,
0.047966621816158295,
0.128292053937912,
0.10870900005102158,
-0.23883073031902313,
-0.12814755737781525,
0.16436293721199036,
0.21962660551071167,
0.3045802712440491,
-0.08355201780796051,
0.04749995097517967,
0.09641502797603607,
-0.1641424298286438,
0.3369590640068054,
0.09799566864967346,
-0.010229174047708511,
-0.02687286213040352,
0.2143208086490631,
-0.2030273675918579,
-0.3011942505836487,
-0.41670605540275574,
-0.07235697656869888,
-0.289023756980896,
0.05113435164093971,
0.3138605058193207,
-0.2193334698677063,
0.012543011456727982,
-0.29295358061790466,
0.14642418920993805,
0.07954886555671692,
0.12233808636665344,
0.3191338777542114,
0.09265254437923431,
-0.1694200336933136,
-0.057420045137405396,
-0.36115899682044983,
0.3218357563018799,
0.12285012006759644,
-0.0024418849498033524,
-0.11011328548192978,
0.03530225157737732,
0.1818714588880539,
0.04576954245567322,
-0.09460888803005219,
0.2955038547515869,
-0.5209965705871582,
-0.35011863708496094,
-0.08965255320072174,
-0.001821562647819519,
-0.3154910206794739,
-0.15228509902954102,
0.011893458664417267,
0.11907923966646194,
-0.02821914479136467,
-0.4000767171382904,
0.14408335089683533,
-0.37650537490844727,
-0.49731820821762085,
0.17987105250358582,
0.17027762532234192,
0.14637598395347595,
-0.05364266782999039,
0.06035888195037842,
-0.32633015513420105,
0.08140799403190613,
0.1287868469953537,
-0.11921076476573944,
-0.044994477182626724,
0.06340678036212921,
0.35036638379096985,
0.18059879541397095,
0.06441131234169006,
-0.04689846560359001,
0.14315088093280792,
0.30275073647499084,
0.21825380623340607,
-0.14374518394470215,
-0.41703811287879944,
0.06327056139707565,
-0.09649132192134857,
-0.0015271464362740517,
0.011041526682674885,
0.36660370230674744,
0.10231079161167145,
-0.07586143910884857,
-0.2713283896446228,
-0.5924815535545349,
0.6047626733779907,
-0.08820152282714844,
-0.08893588930368423,
0.04550037160515785,
0.16198869049549103,
0.26215535402297974,
0.05060309171676636,
-0.6986286044120789,
0.014270924031734467,
0.09116947650909424,
-0.01459856703877449,
-0.29215091466903687,
0.2113865315914154,
-0.14549893140792847,
0.06978738307952881,
-0.05251731723546982,
0.11491577327251434,
0.04256151616573334,
0.03225012868642807,
-0.2635478675365448,
-0.2579904794692993
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | Hi, I found I made a mistake. I found the ELECTRA paper refer it as "BooksCorpus", but actually it is caleld "BookCorpus", according to the original paper. Sorry, I should have checked the original paper .
Can you do me a favor and change the url path to ` https://storage.googleapis.com/huggingface-nlp/datasets/bookcorpus/bookcorpus.tar.bz2` ? | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 51 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
Hi, I found I made a mistake. I found the ELECTRA paper refer it as "BooksCorpus", but actually it is caleld "BookCorpus", according to the original paper. Sorry, I should have checked the original paper .
Can you do me a favor and change the url path to ` https://storage.googleapis.com/huggingface-nlp/datasets/bookcorpus/bookcorpus.tar.bz2` ? | [
0.2427690476179123,
0.15065258741378784,
-0.01906101405620575,
0.10123057663440704,
-0.11657518148422241,
-0.07122548669576645,
0.04481775686144829,
-0.09665054082870483,
-0.5898751616477966,
-0.06276020407676697,
-0.2842170000076294,
0.11580543220043182,
0.13655157387256622,
-0.0692230612039566,
0.08774743229150772,
-0.4054938852787018,
0.07617849111557007,
-0.011408142745494843,
0.10168617963790894,
-0.332369327545166,
-0.19816800951957703,
0.5311411023139954,
-0.004156678915023804,
0.06409595906734467,
0.044786036014556885,
0.01758931577205658,
-0.1935708224773407,
0.23630684614181519,
-0.12349096685647964,
-0.2098155915737152,
0.01297263614833355,
0.2826882302761078,
-0.042013417929410934,
0.5023070573806763,
-0.0001110193261411041,
-0.2578429579734802,
0.0977368950843811,
-0.12170424312353134,
-0.05199312046170235,
-0.26165127754211426,
0.5597928762435913,
-0.0074431500397622585,
-0.019734621047973633,
-0.327128142118454,
-0.06944219768047333,
0.07938699424266815,
0.04371516779065132,
0.09406730532646179,
-0.09933920204639435,
0.4033694267272949,
0.2210308462381363,
0.009791573509573936,
0.3599834740161896,
-0.08467569202184677,
0.3158027231693268,
0.11103436350822449,
-0.06206416338682175,
0.4873015582561493,
0.6955932378768921,
0.16685889661312103,
0.1339571624994278,
0.4176713526248932,
-0.06481706351041794,
-0.14998310804367065,
0.24319714307785034,
-0.07570818811655045,
0.09073597192764282,
-0.3295694589614868,
0.24057921767234802,
0.09632115066051483,
0.5414850115776062,
-0.3731437921524048,
-0.13404637575149536,
0.1623007357120514,
-0.05734367296099663,
0.2880726158618927,
0.21605804562568665,
0.15219561755657196,
0.09414172172546387,
-0.06321343779563904,
-0.16652651131153107,
-0.31828296184539795,
-0.15341529250144958,
0.1196407675743103,
0.06222192943096161,
0.3213018476963043,
0.049915850162506104,
0.08317193388938904,
0.17937065660953522,
0.04711063206195831,
-0.08554284274578094,
0.057993095368146896,
0.11392144858837128,
0.3490931987762451,
-0.029483098536729813,
-0.25956112146377563,
0.025022227317094803,
0.011769305914640427,
0.02159706875681877,
-0.022341541945934296,
0.0072533320635557175,
-0.2503035068511963,
-0.1724010407924652,
0.01616252213716507,
0.10216863453388214,
-0.00833265483379364,
-0.014341846108436584,
0.3208932876586914,
-0.09454615414142609,
0.11418811976909637,
0.16138480603694916,
0.06411740928888321,
-0.27176904678344727,
-0.2238512486219406,
-0.299966961145401,
0.04817979037761688,
0.013602744787931442,
-0.4840128421783447,
0.09446326643228531,
0.18675902485847473,
-0.2350691258907318,
-0.008893574588000774,
-0.039948854595422745,
0.1627139449119568,
-0.09797070175409317,
-0.14808452129364014,
0.33209264278411865,
-0.028388753533363342,
-0.1474049836397171,
0.01977909728884697,
-0.12425493448972702,
0.2252802848815918,
-0.32298973202705383,
0.041956961154937744,
0.16272501647472382,
-0.3643794655799866,
0.3396705090999603,
-0.373843789100647,
-0.24264638125896454,
-0.07185090333223343,
0.009837627410888672,
-0.2960820198059082,
-0.1310524344444275,
0.0744347870349884,
-0.2719627618789673,
0.15772676467895508,
-0.18058253824710846,
-0.2636914849281311,
-0.2554779052734375,
0.39120587706565857,
-0.42035746574401855,
-0.2826191782951355,
-0.29923149943351746,
0.254749596118927,
-0.16240213811397552,
-0.5247029066085815,
-0.08412092179059982,
0.22579006850719452,
0.19392257928848267,
-0.37529489398002625,
0.24203911423683167,
0.0021239612251520157,
-0.24984444677829742,
0.06548485904932022,
0.008612455800175667,
0.3496464490890503,
-0.357088565826416,
-0.1473621129989624,
0.007662068586796522,
-0.22473889589309692,
0.38794392347335815,
0.2456115484237671,
-0.0937105119228363,
0.06512869894504547,
0.2025621235370636,
0.43120628595352173,
0.040609583258628845,
-0.02823399007320404,
-0.29389870166778564,
0.012228931300342083,
-0.21905924379825592,
-0.16358231008052826,
-0.04427599161863327,
-0.08286478370428085,
0.049905382096767426,
-0.12407585233449936,
0.32666391134262085,
0.021781764924526215,
0.3087802231311798,
0.042767323553562164,
-0.5157669186592102,
-0.07356056571006775,
-0.054485052824020386,
0.2508470416069031,
0.08782382309436798,
0.10597936064004898,
0.0053664520382881165,
-0.046697936952114105,
0.3383680284023285,
-0.016113173216581345,
-0.13173799216747284,
0.5444011092185974,
0.4789484441280365,
0.16303503513336182,
0.295917272567749,
0.2001928687095642,
0.019165143370628357,
-0.11509902775287628,
-0.6315418481826782,
0.6441856622695923,
0.2939574122428894,
-0.2229645699262619,
-0.45948296785354614,
-0.4083385467529297,
0.07674813270568848,
-0.23103860020637512,
0.20970112085342407,
-0.1323532909154892,
-0.01632484421133995,
0.031131278723478317,
0.09420482814311981,
-0.11466170102357864,
-0.5227737426757812,
0.005792723502963781,
-0.42345526814460754,
0.33791065216064453,
-0.4906461834907532,
-0.12412771582603455,
0.10801830887794495,
0.18241441249847412,
0.20822390913963318,
0.1863906979560852,
-0.23784631490707397,
0.22253984212875366,
-0.39650604128837585,
0.3995997905731201,
0.15460333228111267,
0.24033784866333008,
0.18340858817100525,
-0.30674687027931213,
0.04529822990298271,
0.19640767574310303,
0.29534807801246643,
0.01515614241361618,
-0.1544477641582489,
-0.0624922513961792,
0.22547034919261932,
-0.11616279929876328,
0.17634180188179016,
-0.2197132408618927,
0.04352185130119324,
-0.03326163440942764,
-0.10410207509994507,
-0.012003768235445023,
0.39068126678466797,
0.39525389671325684,
0.021122131496667862,
0.1861909180879593,
-0.08025282621383667,
-0.022347144782543182,
0.028952931985259056,
-0.051661163568496704,
-0.12871962785720825,
0.2671338617801666,
-0.4446200132369995,
-0.14453613758087158,
-0.11462241411209106,
0.13938945531845093,
0.3609846234321594,
0.16928182542324066,
0.0796167179942131,
0.2335185706615448,
0.11772722750902176,
-0.24893897771835327,
0.23851144313812256,
0.3824506402015686,
-0.08112712949514389,
0.149081289768219,
0.18043865263462067,
0.16410310566425323,
-0.26608291268348694,
-0.2785784900188446,
0.04408807307481766,
0.20846331119537354,
-0.21889512240886688,
0.07114413380622864,
0.21258625388145447,
-0.18179553747177124,
-0.32405975461006165,
0.27548205852508545,
-0.013621430844068527,
0.12361666560173035,
0.32451456785202026,
0.13473132252693176,
-0.26695650815963745,
0.027549508959054947,
0.1928526610136032,
0.3607807159423828,
-0.24201340973377228,
-0.18113529682159424,
0.06710267066955566,
-0.17759862542152405,
-0.31295278668403625,
0.1879034787416458,
0.036282457411289215,
0.04249697923660278,
0.35998252034187317,
-0.4190721809864044,
-0.054402049630880356,
-0.18391862511634827,
-0.6173545122146606,
-0.036493927240371704,
-0.14620165526866913,
-0.15615615248680115,
0.10934346169233322,
-0.167884960770607,
-0.06961947679519653,
-0.35368621349334717,
0.02855561301112175,
-0.15941528975963593,
-0.14215144515037537,
-0.1253424435853958,
-0.32381775975227356,
-0.312869668006897,
-0.14585798978805542,
-0.6911380887031555,
-0.23450104892253876,
-0.16391167044639587,
0.11373205482959747,
0.32645633816719055,
0.2865574359893799,
0.5841138362884521,
-0.0951491966843605,
0.19896277785301208,
0.1412362903356552,
0.4094030559062958,
-0.1291334331035614,
-0.044221699237823486,
0.333143413066864,
-0.06310975551605225,
-0.5203972458839417,
0.057740334421396255,
-0.1784384846687317,
-0.13397462666034698,
-0.13380534946918488,
-0.21969722211360931,
-0.09648173302412033,
-0.06837984174489975,
-0.4828406274318695,
0.08886855840682983,
0.2333679348230362,
0.4715847373008728,
0.025820322334766388,
-0.2967580556869507,
0.14656057953834534,
-0.1366243064403534,
0.4317008852958679,
0.6312389373779297,
0.40589797496795654,
-0.22172585129737854,
-0.34133827686309814,
-0.21135517954826355,
0.27290987968444824,
0.30680596828460693,
0.04169546067714691,
0.28600478172302246,
0.15018832683563232,
-0.023230459541082382,
-0.16069293022155762,
-0.27005285024642944,
0.12258925288915634,
-0.11126288771629333,
-0.15102514624595642,
0.5015379190444946,
0.026594996452331543,
-0.4640434682369232,
-0.13634911179542542,
-0.46220895648002625,
-0.3449133336544037,
-0.013858269900083542,
0.1556534320116043,
0.19544506072998047,
0.3952232599258423,
-0.03588268905878067,
-0.27327439188957214,
-0.07878562808036804,
-0.25534144043922424,
0.21307897567749023,
0.22332419455051422,
-0.16560795903205872,
0.05103488638997078,
-0.14306850731372833,
0.2714637219905853,
-0.2773648500442505,
0.17700602114200592,
0.020624229684472084,
-0.2786942422389984,
-0.20561669766902924,
-0.01809563674032688,
0.31381434202194214,
0.06211503967642784,
0.3166891932487488,
-0.13998490571975708,
-0.45998430252075195,
0.19920799136161804,
0.11635410785675049,
0.10529500991106033,
-0.08477666974067688,
-0.42867299914360046,
-0.0905463919043541,
0.3968726396560669,
0.199083149433136,
-0.24363991618156433,
0.34359389543533325,
0.3017362654209137,
0.20997434854507446,
-0.05571296066045761,
-0.13901552557945251,
-0.03228340297937393,
-0.34961479902267456,
-0.443838894367218,
0.13212108612060547,
0.17071576416492462,
0.3144364058971405,
0.003957070410251617,
0.2078815996646881,
0.4943966567516327,
0.15624576807022095,
0.3060181140899658,
-0.0033924728631973267,
0.36223500967025757,
0.06398780643939972,
0.09976541996002197,
0.04035744443535805,
-0.060155369341373444,
0.14786659181118011,
0.5807240009307861,
-0.09020625054836273,
0.16908413171768188,
0.005146890878677368,
-0.3780812919139862,
-0.1507543921470642,
0.3677692115306854,
0.2522738575935364,
-0.17386996746063232,
0.09098125994205475,
-0.11468078196048737,
0.24453595280647278,
-0.0016653072088956833,
0.04831884801387787,
0.008288511075079441,
-0.1719038337469101,
-0.3022114336490631,
0.28863418102264404,
0.10858023166656494,
-0.026742205023765564,
-0.03791297227144241,
0.5532089471817017,
-0.18428514897823334,
0.4791504144668579,
-0.05158401280641556,
1.3003079891204834,
0.0987013727426529,
0.03379043936729431,
-0.11995170265436172,
0.23684845864772797,
0.20558317005634308,
-0.37542641162872314,
0.00817769207060337,
-0.2688351571559906,
-0.15505178272724152,
-0.21414484083652496,
0.006502225995063782,
0.02455534040927887,
0.08250029385089874,
-0.4153369665145874,
0.1458374708890915,
-0.010578982532024384,
-0.20593011379241943,
0.22154363989830017,
0.1483617126941681,
0.1910652071237564,
-0.10426467657089233,
0.1633966714143753,
0.09863512217998505,
0.12755315005779266,
0.581591010093689,
0.10735373198986053,
-0.03462621942162514,
-0.3082519769668579,
-0.059486255049705505,
-0.4510146379470825,
0.03270509093999863,
-0.11499042063951492,
-0.1068490743637085,
0.24213382601737976,
-0.42482447624206543,
0.4466741383075714,
0.08905885368585587,
0.502427339553833,
0.15833868086338043,
-0.17309309542179108,
0.10631528496742249,
0.2239876091480255,
-0.2233252078294754,
0.43687716126441956,
0.03722427785396576,
0.4202512204647064,
-0.23060572147369385,
-0.24060869216918945,
0.14397965371608734,
0.058793410658836365,
-0.05398857966065407,
-0.2064315676689148,
-0.30314093828201294,
0.08659173548221588,
-0.2072666436433792,
-0.18098138272762299,
0.4701285660266876,
-0.36617571115493774,
-0.24914464354515076,
0.16383187472820282,
0.07019040733575821,
-0.14667505025863647,
0.10390549898147583,
0.046699922531843185,
-0.15767650306224823,
0.07685434818267822,
0.4144538640975952,
0.49800533056259155,
-0.3145217299461365,
0.345384418964386,
0.27490150928497314,
-0.2132747322320938,
-0.2111864686012268,
-0.42964762449264526,
0.15889199078083038,
-0.49716514348983765,
0.03930681571364403,
-0.1713050901889801,
-0.25520193576812744,
-0.10642670094966888,
0.6665453910827637,
0.16216735541820526,
0.27955392003059387,
-0.22512440383434296,
-0.0205494686961174,
-0.2494591921567917,
0.12353568524122238,
0.07321798801422119,
0.11476661264896393,
0.10070858150720596,
0.24034389853477478,
0.3272470533847809,
0.1008545383810997,
-0.39595791697502136,
0.20710617303848267,
-0.49534574151039124,
0.24267426133155823,
0.3008621633052826,
-0.1864606738090515,
-0.17442356050014496,
-0.16259990632534027,
0.008073465898633003,
0.08468683063983917,
-0.05004993826150894,
-0.2498939037322998,
-0.21635916829109192,
0.09553923457860947,
0.22449296712875366,
-0.23693451285362244,
-0.019873246550559998,
-0.1264602243900299,
-0.0890093594789505,
0.2739488482475281,
-0.19845706224441528,
0.1982194185256958,
0.19731463491916656,
0.15146088600158691,
-0.24941129982471466,
-0.010659627616405487,
-0.15934523940086365,
-0.03418858349323273,
-0.13755595684051514,
0.03794408217072487,
0.21375630795955658,
-0.03957203030586243,
-0.04540913924574852,
-0.13214421272277832,
-0.3580128252506256,
0.26454105973243713,
0.17956769466400146,
0.3434983789920807,
0.20850273966789246,
0.17763212323188782,
0.019772421568632126,
0.1532222330570221,
0.20245051383972168,
0.19112348556518555,
-0.36637213826179504,
-0.15752705931663513,
0.15334412455558777,
0.2516285181045532,
-0.39481523633003235,
-0.08393523842096329,
0.04455716907978058,
-0.35420140624046326,
0.1006229966878891,
0.20134341716766357,
0.21466919779777527,
0.2329440414905548,
0.39978355169296265,
0.24678122997283936,
0.39408078789711,
0.21301518380641937,
0.09401899576187134,
0.04168868437409401,
0.02578839287161827,
-0.049411412328481674,
0.0625944584608078,
0.17470426857471466,
-0.13401615619659424,
-0.11305941641330719,
-0.05860229581594467,
0.3343769311904907,
0.08062045276165009,
0.46796104311943054,
0.3418422341346741,
0.0702202320098877,
0.3505314588546753,
-0.08162790536880493,
0.28126078844070435,
0.09675730019807816,
0.19399288296699524,
0.15011343359947205,
-0.06335964798927307,
-0.028740927577018738,
-0.22336596250534058,
0.18318109214305878,
-0.12230529636144638,
-0.2429654747247696,
-0.2621105909347534,
-0.30996060371398926,
-0.12664473056793213,
-0.14800673723220825,
-0.09897558391094208,
-0.04839654266834259,
0.14080069959163666,
-0.240409716963768,
-0.2108435183763504,
-0.30098894238471985,
-0.18135139346122742,
-0.23957973718643188,
0.37390902638435364,
-0.1579636037349701,
0.3417130708694458,
0.07348473370075226,
0.14235946536064148,
0.011932117864489555,
0.5307282209396362,
0.18184053897857666,
0.09240054339170456,
0.15754441916942596,
0.06514424830675125,
-0.10840839147567749,
-0.09955715388059616,
0.26210707426071167,
0.20917844772338867,
0.3053120970726013,
-0.10569934546947479,
0.08824644982814789,
0.02719518356025219,
-0.1187497228384018,
0.2938738763332367,
0.04045867547392845,
0.08245570957660675,
0.019868861883878708,
0.14587682485580444,
-0.13812284171581268,
-0.257736474275589,
-0.40210479497909546,
-0.14008206129074097,
-0.2418363094329834,
-0.027904197573661804,
0.19759364426136017,
-0.12913878262043,
0.017084572464227676,
-0.1878674477338791,
0.1106906533241272,
0.05610797926783562,
0.13649475574493408,
0.39413711428642273,
0.03666261211037636,
-0.2977341115474701,
-0.0638209730386734,
-0.45616698265075684,
0.33135321736335754,
0.18864291906356812,
-0.01359805092215538,
-0.06925231218338013,
0.04928245395421982,
0.21185067296028137,
0.035575199872255325,
-0.10614064335823059,
0.13120965659618378,
-0.474763423204422,
-0.2286165952682495,
-0.045990146696567535,
0.060850970447063446,
-0.2730402946472168,
-0.040669605135917664,
-0.058117158710956573,
0.192815899848938,
0.0335836187005043,
-0.32355180382728577,
0.06568329781293869,
-0.40061622858047485,
-0.494429349899292,
0.1850399523973465,
0.3100945055484772,
0.08333076536655426,
-0.07394955307245255,
0.22206181287765503,
-0.23790383338928223,
0.07335236668586731,
0.19052034616470337,
-0.15038619935512543,
-0.058980926871299744,
-0.005077488720417023,
0.43030041456222534,
0.17249082028865814,
0.03767047077417374,
-0.09107322990894318,
0.06414652615785599,
0.22813916206359863,
0.07391680032014847,
-0.08962662518024445,
-0.5363118052482605,
0.05421791225671768,
0.015880897641181946,
0.038154974579811096,
0.08752357214689255,
0.27731579542160034,
0.11211460828781128,
-0.05963120609521866,
-0.37953126430511475,
-0.5045289397239685,
0.7461771965026855,
0.02515997737646103,
0.04518238827586174,
-0.024174723774194717,
0.20360130071640015,
0.26947319507598877,
0.07620887458324432,
-0.6651307344436646,
-0.046208154410123825,
0.12111105769872665,
-0.05848719924688339,
-0.33057692646980286,
0.08278515934944153,
-0.12171946465969086,
0.14297793805599213,
-0.07478166371583939,
0.09880825877189636,
0.022131267935037613,
-0.04449339956045151,
-0.34700465202331543,
-0.22522597014904022
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | Yep I'm doing it right now. Could you please rename all the references to `bookscorpus` and `BooksCorpus` to `book_corpus` and `BookCorpus` (with the right casing) ? | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 26 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
Yep I'm doing it right now. Could you please rename all the references to `bookscorpus` and `BooksCorpus` to `book_corpus` and `BookCorpus` (with the right casing) ? | [
0.35338038206100464,
0.16805511713027954,
-0.04636945575475693,
-0.08228333294391632,
-0.045453622937202454,
0.007527798414230347,
0.2208320051431656,
-0.04956508055329323,
-0.45765557885169983,
-0.09256760776042938,
-0.38141581416130066,
0.1265484094619751,
0.1684950292110443,
-0.09271106868982315,
-0.039983950555324554,
-0.3308487832546234,
0.17635583877563477,
-0.03474012017250061,
0.145837664604187,
-0.2798749804496765,
-0.2606787085533142,
0.5431774854660034,
0.09980744123458862,
0.0038008913397789,
0.015509475022554398,
-0.051856666803359985,
-0.0782490149140358,
0.13005688786506653,
-0.16415877640247345,
-0.2588847875595093,
-0.21943604946136475,
0.3837340772151947,
-0.1542503386735916,
0.5339787006378174,
-0.00010783462494146079,
-0.26245996356010437,
0.14729462563991547,
-0.04940146207809448,
0.02148820087313652,
-0.22133643925189972,
0.423882395029068,
-0.09043452888727188,
-0.05004382133483887,
-0.28262075781822205,
-0.056043632328510284,
0.11403556168079376,
0.00007262453436851501,
0.0916149914264679,
-0.1645052284002304,
0.39083123207092285,
0.25639691948890686,
-0.10651596635580063,
0.2691003382205963,
-0.1314764767885208,
0.2632422149181366,
-0.009616710245609283,
-0.14540976285934448,
0.5212165117263794,
0.7592542171478271,
0.02469487674534321,
0.11380404978990555,
0.46927574276924133,
-0.160031259059906,
-0.1635635942220688,
0.18745648860931396,
-0.13208454847335815,
0.14974701404571533,
-0.3708118200302124,
0.2904699742794037,
0.02112099900841713,
0.4912736713886261,
-0.3818841278553009,
-0.1718183010816574,
0.13135230541229248,
0.026185166090726852,
0.35816285014152527,
0.15717944502830505,
0.08586641401052475,
0.0959479957818985,
-0.0643940269947052,
-0.12181412428617477,
-0.37965628504753113,
-0.05527172610163689,
0.03209878131747246,
0.09047676622867584,
0.25264060497283936,
0.10497874021530151,
-0.0007411912083625793,
0.24175532162189484,
-0.03240291029214859,
-0.15517300367355347,
0.08830511569976807,
0.09016746282577515,
0.2304108589887619,
-0.04707219824194908,
-0.179727241396904,
0.11673134565353394,
0.07120837271213531,
-0.08152920007705688,
-0.143536776304245,
-0.041145630180835724,
-0.2351093590259552,
-0.03586592897772789,
0.02001817524433136,
-0.06365498900413513,
0.009958883747458458,
0.045614734292030334,
0.19541974365711212,
-0.03391502797603607,
0.13346272706985474,
0.09586060047149658,
0.08322185277938843,
-0.18482349812984467,
-0.3046712577342987,
-0.37861862778663635,
0.03264227882027626,
0.01685890555381775,
-0.39838555455207825,
0.16542696952819824,
0.18537066876888275,
-0.15934619307518005,
0.07600603997707367,
-0.1196214035153389,
0.21826034784317017,
0.013233632780611515,
-0.17347916960716248,
0.2603178024291992,
0.05265306308865547,
-0.16234561800956726,
0.10116717964410782,
-0.08966687321662903,
0.27705320715904236,
-0.30689749121665955,
0.002124819904565811,
0.15358804166316986,
-0.3467082381248474,
0.19573327898979187,
-0.300370454788208,
-0.23719783127307892,
-0.10792888700962067,
-0.07091308385133743,
-0.2488858997821808,
-0.1578485667705536,
0.08489277958869934,
-0.25795695185661316,
0.09158062934875488,
-0.12652526795864105,
-0.22590070962905884,
-0.30236881971359253,
0.3174453675746918,
-0.34333333373069763,
-0.19597789645195007,
-0.3220839202404022,
0.30226433277130127,
-0.14441156387329102,
-0.4553568661212921,
0.006855830550193787,
0.27837446331977844,
0.19756212830543518,
-0.2800864577293396,
0.20458030700683594,
0.01971079409122467,
-0.17659564316272736,
0.031043291091918945,
-0.1646893173456192,
0.31088924407958984,
-0.3477841317653656,
-0.16155153512954712,
-0.0023642273154109716,
-0.15391024947166443,
0.37936463952064514,
0.17455390095710754,
0.0412411205470562,
0.006995156407356262,
0.22709904611110687,
0.4588726758956909,
-0.01965581625699997,
-0.03601575642824173,
-0.15402066707611084,
0.04395589232444763,
-0.32513630390167236,
-0.13734106719493866,
0.0014980658888816833,
-0.10717745125293732,
-0.08070993423461914,
-0.11425761133432388,
0.29602399468421936,
-0.1150360256433487,
0.32701757550239563,
0.029934870079159737,
-0.520454466342926,
-0.09983016550540924,
-0.06541231274604797,
0.214884415268898,
0.06903431564569473,
0.16022257506847382,
0.03387484699487686,
-0.11778879165649414,
0.23064002394676208,
-0.06513345241546631,
-0.0405973345041275,
0.5731483697891235,
0.5833550095558167,
0.2074539065361023,
0.30159589648246765,
0.29747825860977173,
0.1378423571586609,
-0.07048734277486801,
-0.5139399766921997,
0.6770004630088806,
0.1766263246536255,
-0.23229099810123444,
-0.4096698462963104,
-0.3748566508293152,
0.13988739252090454,
-0.19454726576805115,
0.24855071306228638,
-0.08929213881492615,
-0.11587655544281006,
0.03557766601443291,
0.08267952501773834,
-0.017632072791457176,
-0.4598034918308258,
0.027680594474077225,
-0.3418213129043579,
0.21769650280475616,
-0.42006179690361023,
-0.13954317569732666,
0.14411291480064392,
0.18574267625808716,
0.2775830328464508,
0.24790479242801666,
-0.17481154203414917,
0.2039228081703186,
-0.3248298466205597,
0.453826904296875,
0.14608874917030334,
0.28525757789611816,
0.17167963087558746,
-0.25273191928863525,
0.044763725250959396,
0.09730534255504608,
0.19319899380207062,
-0.020753730088472366,
-0.06375293433666229,
-0.09408102929592133,
0.23957829177379608,
0.05151103809475899,
0.0761977881193161,
-0.19972790777683258,
0.006163628771901131,
-0.040566783398389816,
-0.10163970291614532,
-0.07086122781038284,
0.3466113209724426,
0.23484355211257935,
-0.01701740361750126,
0.1949693262577057,
0.0032661408185958862,
0.06620720028877258,
0.021792709827423096,
-0.07889236509799957,
-0.20326372981071472,
0.28174009919166565,
-0.30818602442741394,
-0.08067977428436279,
-0.13195841014385223,
0.11708934605121613,
0.25541508197784424,
0.1665552705526352,
0.09518001973628998,
0.1679537296295166,
0.18220067024230957,
-0.2932438850402832,
0.17769774794578552,
0.3531143069267273,
-0.06996019184589386,
0.09758327901363373,
0.28349077701568604,
0.06749743223190308,
-0.20491153001785278,
-0.23373889923095703,
0.05521795153617859,
0.15670324862003326,
-0.19304291903972626,
-0.024847127497196198,
0.3061330318450928,
-0.1853702962398529,
-0.2995462119579315,
0.12950804829597473,
-0.037097323685884476,
0.05260468274354935,
0.33797216415405273,
0.17088158428668976,
-0.2870805561542511,
0.08724284917116165,
0.17425626516342163,
0.3481755554676056,
-0.26863816380500793,
-0.1930415779352188,
0.06424970179796219,
-0.23470538854599,
-0.23624888062477112,
0.20993398129940033,
-0.06150151044130325,
-0.09564150869846344,
0.32911619544029236,
-0.4135579764842987,
-0.08511140942573547,
-0.2849821448326111,
-0.6139093637466431,
-0.07601921260356903,
-0.23104970157146454,
-0.0775451511144638,
0.14630702137947083,
-0.1891079694032669,
-0.07836556434631348,
-0.3576367199420929,
0.030464939773082733,
-0.15441298484802246,
-0.047297511249780655,
-0.10510267317295074,
-0.33858487010002136,
-0.2464296966791153,
-0.22323232889175415,
-0.5740894675254822,
-0.24986828863620758,
-0.2147057205438614,
0.1600424200296402,
0.2652178108692169,
0.21674010157585144,
0.6407780051231384,
-0.20410270988941193,
0.10319802165031433,
0.26056352257728577,
0.46832701563835144,
-0.0435996949672699,
-0.03214997798204422,
0.3347378373146057,
-0.1299046128988266,
-0.40834975242614746,
0.11530697345733643,
-0.12017791718244553,
-0.0991598516702652,
-0.212890625,
-0.18132124841213226,
-0.3813190162181854,
-0.041941069066524506,
-0.4257785975933075,
0.12246718257665634,
0.29093608260154724,
0.2712927460670471,
0.1737072616815567,
-0.3769838511943817,
0.05905080586671829,
-0.169418603181839,
0.4403443932533264,
0.615195631980896,
0.35058823227882385,
-0.14059633016586304,
-0.36065635085105896,
-0.16651025414466858,
0.20398899912834167,
0.31076857447624207,
0.18830664455890656,
0.26483744382858276,
0.16876739263534546,
0.008440036326646805,
-0.14803841710090637,
-0.3097235858440399,
0.0892074853181839,
-0.12954306602478027,
-0.2199627161026001,
0.514954149723053,
0.003704497590661049,
-0.466594398021698,
-0.12458758801221848,
-0.30327147245407104,
-0.3701895475387573,
-0.012663044035434723,
0.09243461489677429,
0.11365558952093124,
0.4252905547618866,
-0.03812132775783539,
-0.22435501217842102,
-0.09210711717605591,
-0.33082056045532227,
0.23722849786281586,
0.18375979363918304,
-0.19405168294906616,
0.08954069018363953,
-0.023469679057598114,
0.16140855848789215,
-0.3721488118171692,
0.1346459686756134,
0.057750508189201355,
-0.20528055727481842,
-0.22310949862003326,
-0.09104514122009277,
0.22344687581062317,
0.04643955081701279,
0.2933419346809387,
-0.2027396559715271,
-0.40818506479263306,
0.3125295042991638,
0.12084443867206573,
0.17198936641216278,
-0.07363806664943695,
-0.3710632026195526,
-0.10710477083921432,
0.3850860595703125,
0.21400831639766693,
-0.23046088218688965,
0.2567528188228607,
0.19713495671749115,
0.18532803654670715,
0.07676181197166443,
-0.05904766544699669,
-0.12537744641304016,
-0.4567846953868866,
-0.38461610674858093,
0.13789071142673492,
0.17377272248268127,
0.4145136773586273,
-0.14122556149959564,
0.1625383198261261,
0.613425612449646,
0.02508198469877243,
0.5091595649719238,
0.10811501741409302,
0.3726995289325714,
0.2167837917804718,
0.04637254402041435,
0.029456444084644318,
-0.0999494343996048,
0.14619342982769012,
0.5334320068359375,
-0.2674599587917328,
0.15444645285606384,
-0.060711830854415894,
-0.30247762799263,
-0.045219071209430695,
0.3722724914550781,
0.2573034167289734,
-0.05502881854772568,
-0.0446804016828537,
-0.07825616002082825,
0.22877167165279388,
0.13339613378047943,
-0.0041128285229206085,
-0.05119006708264351,
-0.32768967747688293,
-0.18919546902179718,
0.2886826694011688,
0.12620393931865692,
-0.019078329205513,
-0.12856239080429077,
0.5866597890853882,
-0.22669345140457153,
0.45573264360427856,
-0.09347286075353622,
1.2270604372024536,
-0.0010490864515304565,
-0.10806091129779816,
-0.18280643224716187,
0.11280901730060577,
0.2528843283653259,
-0.38146281242370605,
0.09408903867006302,
-0.27914440631866455,
-0.21990901231765747,
-0.13852286338806152,
0.03683978691697121,
0.047024961560964584,
0.10917063057422638,
-0.3844025731086731,
0.14412108063697815,
-0.09134995192289352,
-0.08586525917053223,
0.18007035553455353,
0.09668378531932831,
0.22527024149894714,
-0.2323882281780243,
0.18221813440322876,
0.15229302644729614,
0.08374281227588654,
0.45060092210769653,
0.042620327323675156,
-0.032624341547489166,
-0.21841877698898315,
-0.02011611871421337,
-0.3868286609649658,
-0.026388222351670265,
-0.08321284502744675,
-0.09387800097465515,
0.24630649387836456,
-0.33789050579071045,
0.34119683504104614,
0.020087119191884995,
0.49381840229034424,
0.20081287622451782,
-0.15051522850990295,
0.12269167602062225,
0.34459200501441956,
-0.18678073585033417,
0.3968753218650818,
0.09059949964284897,
0.36025872826576233,
-0.2330561876296997,
-0.22053395211696625,
0.08700743317604065,
0.01871892809867859,
-0.12983573973178864,
-0.2771165668964386,
-0.3182219862937927,
-0.013455428183078766,
-0.13315242528915405,
-0.10411930084228516,
0.45732077956199646,
-0.29379740357398987,
-0.2854599356651306,
0.19145449995994568,
0.03883525729179382,
-0.20784170925617218,
0.1890927255153656,
-0.046570759266614914,
-0.19986236095428467,
0.026098843663930893,
0.3487803637981415,
0.4286472797393799,
-0.3041604161262512,
0.26184675097465515,
0.3635832369327545,
-0.261396586894989,
-0.26386237144470215,
-0.5755547285079956,
0.04623333364725113,
-0.19262248277664185,
0.15202128887176514,
-0.02302505262196064,
-0.40663403272628784,
-0.05110140144824982,
0.6467042565345764,
0.13703861832618713,
0.32336828112602234,
-0.15680652856826782,
-0.018235642462968826,
-0.33489757776260376,
0.11982977390289307,
0.06921626627445221,
0.15896956622600555,
0.13244915008544922,
0.33278676867485046,
0.23947763442993164,
0.1054098904132843,
-0.4335336983203888,
0.15838797390460968,
-0.5190570950508118,
0.22575290501117706,
0.20948995649814606,
-0.24503016471862793,
-0.22702592611312866,
-0.1209363043308258,
0.058902986347675323,
0.014386475086212158,
-0.09120821952819824,
-0.2741023600101471,
-0.1856314241886139,
0.0825904905796051,
0.11404626071453094,
-0.11061521619558334,
-0.029189202934503555,
-0.05835356563329697,
-0.02622348442673683,
0.2238745093345642,
-0.11863675713539124,
0.3106938898563385,
0.14632365107536316,
0.19467221200466156,
-0.20147670805454254,
-0.038994163274765015,
0.06891760230064392,
-0.10494838654994965,
-0.02579215168952942,
0.03183642029762268,
0.19895032048225403,
-0.05369208753108978,
-0.011422810144722462,
-0.09627710282802582,
-0.016377855092287064,
0.2938775420188904,
0.21730107069015503,
0.21107777953147888,
0.11498194932937622,
0.23689374327659607,
0.03656705096364021,
0.26106083393096924,
0.20062527060508728,
0.24602676928043365,
-0.30237260460853577,
-0.13150326907634735,
0.09903527796268463,
0.28984272480010986,
-0.35389789938926697,
-0.18488197028636932,
0.006523178890347481,
-0.41640305519104004,
0.1700276881456375,
0.2967469096183777,
0.3746502995491028,
0.2209579348564148,
0.36822134256362915,
0.27697834372520447,
0.353271484375,
0.18045343458652496,
0.0456182025372982,
-0.049623582512140274,
0.048807237297296524,
-0.10848702490329742,
0.054810959845781326,
0.17021997272968292,
-0.20210862159729004,
-0.13983817398548126,
-0.056870944797992706,
0.3679041266441345,
0.06799689680337906,
0.41948720812797546,
0.3315449059009552,
0.07001665234565735,
0.4460785686969757,
-0.09335176646709442,
0.3150944113731384,
0.15922647714614868,
0.1613105833530426,
0.08775192499160767,
-0.15048862993717194,
-0.19780689477920532,
-0.13522863388061523,
0.14311647415161133,
-0.17447581887245178,
-0.3205162286758423,
-0.06843319535255432,
-0.3080989718437195,
-0.0865088403224945,
-0.1716708540916443,
-0.06223903223872185,
-0.1086835265159607,
0.14172378182411194,
-0.26632022857666016,
-0.04267050325870514,
-0.26063716411590576,
-0.2111758589744568,
-0.17564266920089722,
0.5243468284606934,
-0.13744913041591644,
0.25475916266441345,
-0.018915966153144836,
0.16880811750888824,
0.03425905108451843,
0.38275444507598877,
0.10567685961723328,
0.01899418979883194,
0.11124487221240997,
-0.016996443271636963,
-0.18264780938625336,
-0.10268702358007431,
0.3006572425365448,
0.2708342671394348,
0.23585768043994904,
-0.05190068855881691,
0.0895581841468811,
0.05075132101774216,
-0.1470584124326706,
0.2734575867652893,
0.01681039109826088,
-0.02344513311982155,
0.10837715864181519,
0.29445791244506836,
-0.1005161851644516,
-0.30800843238830566,
-0.40412166714668274,
-0.19300726056098938,
-0.28660672903060913,
-0.04003165662288666,
0.45108866691589355,
-0.1345095932483673,
0.005601804703474045,
-0.21563446521759033,
0.13531331717967987,
0.15657512843608856,
0.06476340442895889,
0.31434065103530884,
0.0410781130194664,
-0.3105871379375458,
-0.04202747717499733,
-0.28289794921875,
0.29065585136413574,
0.2160572111606598,
0.16244232654571533,
-0.10044628381729126,
-0.061062224209308624,
0.2346133589744568,
0.013051873072981834,
-0.14523668587207794,
0.1174905076622963,
-0.5282511711120605,
-0.22662413120269775,
-0.1355639547109604,
0.12566952407360077,
-0.33448147773742676,
-0.10954795777797699,
0.0740751177072525,
0.23255383968353271,
0.016528651118278503,
-0.3090936541557312,
0.10530649870634079,
-0.38113927841186523,
-0.5060216784477234,
0.27936258912086487,
0.2351924031972885,
0.16459450125694275,
-0.030516555532813072,
0.1362241506576538,
-0.2601662278175354,
0.013978326693177223,
0.12147201597690582,
-0.21695715188980103,
-0.030233804136514664,
0.051751188933849335,
0.2547217905521393,
0.13039559125900269,
0.10310138761997223,
0.008823391050100327,
0.12836967408657074,
0.2041662186384201,
0.17280139029026031,
-0.054484181106090546,
-0.48233383893966675,
0.019803358241915703,
0.059948794543743134,
0.05850456282496452,
0.06053123250603676,
0.29985690116882324,
0.2084568291902542,
0.0891646072268486,
-0.3324177861213684,
-0.5953149199485779,
0.7934560775756836,
0.008520280010998249,
-0.13685062527656555,
0.08599766343832016,
0.25701242685317993,
0.23098430037498474,
0.07279574126005173,
-0.6962896585464478,
-0.09821803867816925,
0.046671636402606964,
-0.07220114767551422,
-0.27871376276016235,
0.1883469521999359,
-0.17805303633213043,
0.0945170521736145,
-0.08450302481651306,
-0.027049332857131958,
0.06674255430698395,
0.05193471163511276,
-0.37585484981536865,
-0.19517306983470917
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | Thank you @lhoestq ,
Just to confirm it fits your naming convention
* make the file path `book_corpus/book_corpus.py` ?
* make `class Bookscorpus(nlp.GeneratorBasedBuilder)` -> `BookCorpus` (which make cache folder name `book_corpus` and user use `load_dataset('book_corpus')`) ?
(Cuz I found "HellaSwag" dataset is named "nlp/datasets/hellaswag" and `class Hellaswag` ) | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 48 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
Thank you @lhoestq ,
Just to confirm it fits your naming convention
* make the file path `book_corpus/book_corpus.py` ?
* make `class Bookscorpus(nlp.GeneratorBasedBuilder)` -> `BookCorpus` (which make cache folder name `book_corpus` and user use `load_dataset('book_corpus')`) ?
(Cuz I found "HellaSwag" dataset is named "nlp/datasets/hellaswag" and `class Hellaswag` ) | [
0.25149908661842346,
0.25605541467666626,
-0.0015984922647476196,
-0.01384945958852768,
-0.16293567419052124,
0.025330185890197754,
0.12583887577056885,
-0.015997905284166336,
-0.45772022008895874,
-0.07781422138214111,
-0.2483532428741455,
0.18441453576087952,
0.05033014714717865,
-0.22389818727970123,
0.1162264496088028,
-0.34574446082115173,
0.1072676032781601,
0.07648048549890518,
0.13473698496818542,
-0.3150120973587036,
-0.19349978864192963,
0.5818628072738647,
0.061967700719833374,
0.11981828510761261,
-0.13422802090644836,
-0.11015807837247849,
-0.13320741057395935,
0.2576102912425995,
-0.2314833700656891,
-0.28673604130744934,
-0.10388845205307007,
0.28188928961753845,
-0.047694433480501175,
0.607297956943512,
-0.00010746126645244658,
-0.28447210788726807,
0.16994261741638184,
-0.09105927497148514,
-0.011417071335017681,
-0.28291094303131104,
0.4435719847679138,
-0.16650813817977905,
-0.05403050780296326,
-0.3212595283985138,
-0.07557909190654755,
0.12706413865089417,
0.15059396624565125,
0.10796549916267395,
-0.10735337436199188,
0.367954283952713,
0.24251848459243774,
-0.10693366080522537,
0.2864314913749695,
-0.03992480784654617,
0.25911855697631836,
-0.060103654861450195,
-0.23965434730052948,
0.6111897826194763,
0.6860628128051758,
0.0422859787940979,
0.07060389965772629,
0.41708725690841675,
-0.08499375730752945,
-0.134205624461174,
0.19250023365020752,
-0.026920773088932037,
0.13117855787277222,
-0.37996312975883484,
0.2728642523288727,
0.1547999233007431,
0.5214043259620667,
-0.5318605899810791,
-0.17121872305870056,
0.036393120884895325,
0.15885306894779205,
0.19296619296073914,
0.13764795660972595,
0.22470207512378693,
0.005766427144408226,
-0.008398618549108505,
-0.06278598308563232,
-0.31350645422935486,
-0.1344236135482788,
0.01186426356434822,
0.18419361114501953,
0.34594792127609253,
0.040676895529031754,
0.003829672932624817,
0.10754436254501343,
0.08281952142715454,
-0.13483265042304993,
0.04391315579414368,
0.018616782501339912,
0.3856947720050812,
-0.1681116670370102,
-0.18929539620876312,
0.05324023962020874,
0.11909419298171997,
0.018059086054563522,
-0.12539087235927582,
0.014250608161091805,
-0.2200370728969574,
-0.08165881782770157,
0.007275339215993881,
-0.005845224484801292,
-0.0024428721517324448,
0.1238066554069519,
0.15786738693714142,
0.01939374953508377,
0.12806692719459534,
0.017364442348480225,
0.09186622500419617,
-0.2579807937145233,
-0.23334774374961853,
-0.17024345695972443,
-0.04730357974767685,
0.02063915878534317,
-0.37324848771095276,
0.16441987454891205,
0.1383626013994217,
-0.12726657092571259,
0.02936541475355625,
-0.09097892045974731,
0.2805759608745575,
-0.0789857804775238,
-0.20543840527534485,
0.26238012313842773,
0.031918950378894806,
-0.16108931601047516,
0.06097371503710747,
-0.14747509360313416,
0.1967390924692154,
-0.27829089760780334,
0.12691807746887207,
0.19188657402992249,
-0.33255183696746826,
0.2846769690513611,
-0.33010542392730713,
-0.32648807764053345,
-0.004035342484712601,
0.06106189638376236,
-0.27534282207489014,
-0.22048529982566833,
0.021897748112678528,
-0.15744970738887787,
0.15359018743038177,
-0.18799056112766266,
-0.24555838108062744,
-0.3034379184246063,
0.2543192505836487,
-0.3111342191696167,
-0.2773861885070801,
-0.31355810165405273,
0.2922601103782654,
-0.19667242467403412,
-0.4586111307144165,
-0.013903200626373291,
0.3570702075958252,
0.1901642233133316,
-0.3219602704048157,
0.23177006840705872,
0.06994505226612091,
-0.26116952300071716,
-0.01226478349417448,
-0.15022012591362,
0.3709643483161926,
-0.3608117997646332,
-0.2609148621559143,
-0.022802773863077164,
-0.19033841788768768,
0.33523741364479065,
0.15600982308387756,
0.028079280629754066,
0.08758793771266937,
0.16586840152740479,
0.5169557929039001,
0.17630819976329803,
0.09119032323360443,
-0.29753249883651733,
0.1487254649400711,
-0.2625260353088379,
-0.15307195484638214,
0.0484250970184803,
-0.054286111146211624,
-0.09180858731269836,
-0.05947909876704216,
0.34224772453308105,
0.06758343428373337,
0.2782033681869507,
0.08848822861909866,
-0.4524509608745575,
-0.0657561719417572,
-0.06655633449554443,
0.22571982443332672,
0.07227061688899994,
0.09974627196788788,
0.05887285992503166,
0.023018427193164825,
0.3890604078769684,
-0.06617437303066254,
-0.05623885244131088,
0.5629207491874695,
0.4532303810119629,
0.06194749474525452,
0.273248553276062,
0.1162366047501564,
0.14193442463874817,
0.021462902426719666,
-0.6373584270477295,
0.6796294450759888,
0.18564173579216003,
-0.1726454645395279,
-0.3845559060573578,
-0.29669880867004395,
0.025168653577566147,
-0.2346857190132141,
0.22121357917785645,
-0.09165200591087341,
0.022318337112665176,
0.013166405260562897,
0.03999094292521477,
0.027651619166135788,
-0.46114543080329895,
-0.06003805994987488,
-0.35549217462539673,
0.3142019808292389,
-0.4163319766521454,
-0.18562999367713928,
0.17564013600349426,
0.25020068883895874,
0.1932138204574585,
0.2258196473121643,
-0.16543880105018616,
0.18275541067123413,
-0.3819936513900757,
0.40665239095687866,
0.22281160950660706,
0.2764030992984772,
0.15336531400680542,
-0.19395409524440765,
0.16199301183223724,
0.11533021926879883,
0.2626197636127472,
-0.007613666355609894,
-0.021838627755641937,
-0.08855259418487549,
0.31415313482284546,
-0.07165009528398514,
0.17388112843036652,
-0.24230952560901642,
0.10108765959739685,
-0.05450103431940079,
-0.01676185056567192,
-0.019632134586572647,
0.40065696835517883,
0.1767643392086029,
0.0798778384923935,
0.15880972146987915,
-0.1459600031375885,
0.08257849514484406,
0.17216284573078156,
-0.119042307138443,
-0.015406280755996704,
0.24858763813972473,
-0.3659263253211975,
-0.11747698485851288,
-0.16949357092380524,
0.06438344717025757,
0.3799707889556885,
0.20168712735176086,
0.1275436282157898,
0.22019977867603302,
0.13634860515594482,
-0.3130781650543213,
0.17591625452041626,
0.2416113317012787,
0.03454504907131195,
0.1782340109348297,
0.21389548480510712,
0.11011561751365662,
-0.32797470688819885,
-0.2105400413274765,
0.030024951323866844,
0.19693417847156525,
-0.0905340239405632,
0.052169881761074066,
0.265683114528656,
-0.2336229681968689,
-0.3672790229320526,
0.2548939287662506,
-0.19998052716255188,
0.08941802382469177,
0.40228426456451416,
0.11353267729282379,
-0.18691067397594452,
0.07039570063352585,
0.1170225590467453,
0.30944252014160156,
-0.17859163880348206,
-0.3006252646446228,
0.10141728818416595,
-0.1748988926410675,
-0.3600412905216217,
0.20410481095314026,
-0.021126218140125275,
-0.019011734053492546,
0.3898604214191437,
-0.32376575469970703,
-0.030201636254787445,
-0.2775716781616211,
-0.5112739205360413,
-0.006415404379367828,
-0.20426666736602783,
0.07130806893110275,
0.16918429732322693,
-0.17923443019390106,
-0.06670574098825455,
-0.320051372051239,
0.0388014018535614,
-0.29217901825904846,
-0.09473410248756409,
-0.07389599084854126,
-0.3670738637447357,
-0.33215945959091187,
-0.1529686599969864,
-0.5088497400283813,
-0.30973389744758606,
-0.2735423743724823,
0.10792161524295807,
0.37786540389060974,
0.3049270510673523,
0.6108691692352295,
-0.18480663001537323,
0.20446254312992096,
0.2835150361061096,
0.46875235438346863,
-0.09977187216281891,
-0.14476561546325684,
0.37914618849754333,
-0.12103134393692017,
-0.5232338309288025,
0.07685314118862152,
-0.24576511979103088,
-0.056939128786325455,
-0.2215488851070404,
-0.2702200412750244,
-0.25070396065711975,
-0.024677099660038948,
-0.40583109855651855,
0.20095713436603546,
0.2975568473339081,
0.41173192858695984,
0.02749410644173622,
-0.2789708375930786,
0.04335104674100876,
-0.2134491205215454,
0.39957505464553833,
0.556655764579773,
0.40986138582229614,
-0.08836255967617035,
-0.3838329613208771,
-0.1560632735490799,
0.27617380023002625,
0.34449782967567444,
0.1400277316570282,
0.28414982557296753,
0.14179083704948425,
0.05432819202542305,
-0.15006399154663086,
-0.282817006111145,
0.1419300138950348,
-0.017414897680282593,
-0.1970873326063156,
0.5818992853164673,
0.06038499251008034,
-0.43520647287368774,
-0.15340444445610046,
-0.4440949857234955,
-0.2915306091308594,
-0.03133489936590195,
0.1538829803466797,
0.1134590357542038,
0.4116893410682678,
-0.06926241517066956,
-0.24970462918281555,
-0.12031257152557373,
-0.32195669412612915,
0.18775145709514618,
0.29607951641082764,
-0.21041357517242432,
0.13484685122966766,
0.010320696979761124,
0.2587663233280182,
-0.4514361619949341,
0.15032467246055603,
0.11068468540906906,
-0.20629508793354034,
-0.24082878232002258,
-0.026425622403621674,
0.24736882746219635,
0.01139591820538044,
0.29200270771980286,
-0.1837477684020996,
-0.3694069981575012,
0.33685410022735596,
0.12784084677696228,
0.08999396860599518,
-0.05918441712856293,
-0.32283830642700195,
-0.07071826606988907,
0.3259409964084625,
0.18590691685676575,
-0.28215426206588745,
0.24948549270629883,
0.16719308495521545,
0.1943543702363968,
-0.0402345210313797,
-0.23076419532299042,
-0.13517515361309052,
-0.3793743848800659,
-0.3728448450565338,
0.07244786620140076,
0.10429226607084274,
0.39894381165504456,
-0.004106766544282436,
0.2410171777009964,
0.5204412937164307,
0.06627420336008072,
0.41930729150772095,
0.1568692922592163,
0.29563894867897034,
0.10538741946220398,
0.11309501528739929,
-0.025087639689445496,
-0.08634012937545776,
-0.07856622338294983,
0.5538860559463501,
-0.16527977585792542,
0.18274961411952972,
-0.00878683477640152,
-0.3077668249607086,
-0.13182029128074646,
0.3673814535140991,
0.21786269545555115,
-0.10551381856203079,
-0.03541587293148041,
-0.16486504673957825,
0.21952195465564728,
0.060312990099191666,
-0.012997973710298538,
-0.046798527240753174,
-0.3181697130203247,
-0.3000849485397339,
0.42972156405448914,
0.1465020775794983,
-0.0650855004787445,
-0.12759441137313843,
0.406058669090271,
-0.30474942922592163,
0.4017593264579773,
-0.11535292118787766,
1.2366751432418823,
0.01090521365404129,
0.03496582806110382,
-0.02139633521437645,
0.16951417922973633,
0.34119489789009094,
-0.4891052842140198,
0.09576056152582169,
-0.3171083331108093,
-0.14560924470424652,
-0.14818790555000305,
0.015386629849672318,
0.10177531838417053,
0.16760000586509705,
-0.41900816559791565,
0.21539448201656342,
0.07361376285552979,
-0.18782012164592743,
0.22116677463054657,
0.21893629431724548,
0.0636027380824089,
-0.25350484251976013,
-0.04110223054885864,
0.14143095910549164,
0.06278850883245468,
0.44881579279899597,
0.022680606693029404,
-0.11918894946575165,
-0.2521449625492096,
0.005266554653644562,
-0.41713958978652954,
0.05119313299655914,
-0.07947438210248947,
-0.15131059288978577,
0.32445722818374634,
-0.3552466034889221,
0.377727210521698,
0.01824737712740898,
0.41039562225341797,
0.2180951088666916,
-0.1930568963289261,
0.14847849309444427,
0.1326441615819931,
-0.22144821286201477,
0.31246164441108704,
0.08691511303186417,
0.5330630540847778,
-0.2717829942703247,
-0.23152050375938416,
0.11164960265159607,
0.048615600913763046,
-0.13806882500648499,
-0.2174154818058014,
-0.303663969039917,
-0.04226607829332352,
-0.1447117030620575,
-0.2101159542798996,
0.430204838514328,
-0.3085165321826935,
-0.20447857677936554,
0.18859556317329407,
0.24509140849113464,
-0.2896607220172882,
0.1092858538031578,
-0.03427129611372948,
-0.1524476259946823,
0.000893808901309967,
0.317267507314682,
0.41554272174835205,
-0.25200155377388,
0.3355324864387512,
0.35999831557273865,
-0.17250469326972961,
-0.22209593653678894,
-0.587976336479187,
0.09496398270130157,
-0.29152464866638184,
0.1356096714735031,
0.07385658472776413,
-0.4051748514175415,
-0.03129316493868828,
0.5337809324264526,
0.16038833558559418,
0.255460649728775,
-0.1411464661359787,
-0.07472606748342514,
-0.23541264235973358,
0.020270459353923798,
0.04145468398928642,
0.16950738430023193,
0.16777503490447998,
0.3490205705165863,
0.3473617434501648,
0.08582182973623276,
-0.4174664318561554,
0.07414142787456512,
-0.5425899624824524,
0.20052556693553925,
0.22141604125499725,
-0.23735064268112183,
-0.27911442518234253,
-0.1220741868019104,
0.052004434168338776,
0.09311627596616745,
-0.15550732612609863,
-0.2774878144264221,
-0.24941186606884003,
0.09222645312547684,
0.19192487001419067,
-0.16632066667079926,
0.027372997254133224,
-0.17593252658843994,
-0.08853638172149658,
0.20743867754936218,
-0.1107030063867569,
0.1750779151916504,
0.07312589883804321,
0.21904256939888,
-0.2068728655576706,
-0.13365575671195984,
-0.10054443776607513,
-0.06057841330766678,
-0.17427143454551697,
0.12534740567207336,
0.20583602786064148,
-0.00679561123251915,
0.012553912587463856,
-0.05335012078285217,
-0.098177969455719,
0.3323397934436798,
0.07442095875740051,
0.29068219661712646,
0.21500346064567566,
0.13122814893722534,
0.06957174837589264,
0.23627619445323944,
0.146850124001503,
0.13637569546699524,
-0.312092661857605,
-0.17900872230529785,
0.15663638710975647,
0.2757140100002289,
-0.43052002787590027,
-0.16059842705726624,
0.04978378862142563,
-0.4407270848751068,
0.14968952536582947,
0.25434544682502747,
0.3392896056175232,
0.211536705493927,
0.25219273567199707,
0.22514194250106812,
0.3203071355819702,
0.19971203804016113,
0.02706039510667324,
0.043079718947410583,
0.06719908118247986,
-0.04081137850880623,
0.09179794788360596,
0.2253415733575821,
-0.15260064601898193,
-0.033510878682136536,
-0.09625986963510513,
0.3501902222633362,
0.0306105874478817,
0.3820858299732208,
0.3175775110721588,
0.008204173296689987,
0.3531070351600647,
-0.07372419536113739,
0.26061123609542847,
0.1221039667725563,
0.14721617102622986,
0.05112966522574425,
-0.1875128448009491,
-0.04028738662600517,
-0.13181068003177643,
0.16192469000816345,
-0.07299789786338806,
-0.23402225971221924,
-0.08989259600639343,
-0.26426833868026733,
-0.11720800399780273,
-0.19393154978752136,
-0.10797110199928284,
-0.1212666779756546,
-0.02961289882659912,
-0.23208309710025787,
-0.08070977032184601,
-0.3191004991531372,
-0.04681188613176346,
-0.1445070505142212,
0.4250136911869049,
-0.1815139353275299,
0.27493783831596375,
-0.05974821746349335,
0.08576681464910507,
-0.0491144172847271,
0.42562150955200195,
0.16107681393623352,
0.052992649376392365,
0.07077774405479431,
0.05721679702401161,
-0.1778021603822708,
-0.10023705661296844,
0.16087113320827484,
0.2634451985359192,
0.31000393629074097,
-0.040087323635816574,
0.09154127538204193,
0.03913382440805435,
-0.13909488916397095,
0.2719619870185852,
0.1041557639837265,
-0.021585125476121902,
0.059918079525232315,
0.2532135844230652,
-0.12563887238502502,
-0.3605000078678131,
-0.43546637892723083,
-0.039710916578769684,
-0.34038877487182617,
0.045325372368097305,
0.4515528678894043,
-0.14073026180267334,
0.021408531814813614,
-0.36389297246932983,
0.12998636066913605,
0.06766805797815323,
0.1968003660440445,
0.3245084881782532,
0.14465290307998657,
-0.247530996799469,
0.007961101830005646,
-0.4123287498950958,
0.2375165820121765,
0.23799961805343628,
-0.020915817469358444,
-0.11676949262619019,
-0.004650376737117767,
0.18640229105949402,
-0.0032930560410022736,
-0.22480984032154083,
0.27135008573532104,
-0.4713974893093109,
-0.2664068639278412,
-0.15874430537223816,
-0.016374412924051285,
-0.28400129079818726,
0.014032559469342232,
0.008569549769163132,
0.1088709756731987,
-0.0013250485062599182,
-0.32116323709487915,
0.07477276027202606,
-0.36657506227493286,
-0.5364100933074951,
0.24728703498840332,
0.2596922516822815,
0.06798754632472992,
0.009854402393102646,
0.1108022928237915,
-0.2594842314720154,
0.07194044440984726,
0.033984966576099396,
-0.1590801179409027,
-0.13443224132061005,
-0.0032804906368255615,
0.35705307126045227,
0.2542140781879425,
0.11571129411458969,
0.014752129092812538,
0.0447024442255497,
0.33350181579589844,
0.07538259774446487,
-0.06397419422864914,
-0.39357858896255493,
0.10100192576646805,
-0.10139971226453781,
0.10287179797887802,
0.06974175572395325,
0.321723997592926,
0.12591321766376495,
-0.028386902064085007,
-0.29679471254348755,
-0.5598976612091064,
0.6885916590690613,
-0.10035043954849243,
-0.13438229262828827,
0.020844310522079468,
0.18604783713817596,
0.3389670252799988,
0.08369353413581848,
-0.7085380554199219,
0.04376188665628433,
0.09688742458820343,
-0.05430351197719574,
-0.2732965052127838,
0.26135358214378357,
-0.14366379380226135,
0.09954629838466644,
-0.04234445467591286,
0.053681641817092896,
0.006609393283724785,
-0.024120893329381943,
-0.2835724651813507,
-0.27675795555114746
] |
https://github.com/huggingface/datasets/pull/248 | add Toronto BooksCorpus | Oh yea you're right about the Hellaswag example. We should keep the "_" symbol to replace spaces. As there are no space in BookCorpus, what we should do here is use:
- class name: 'Bookcorpus'
- script name: `bookcorpus/bookcorpus.py`
- use url https://storage.googleapis.com/huggingface-nlp/datasets/bookcorpus/bookcorpus.tar.bz2
And therefore the dataset name will be `bookcorpus`
Don't forget to regenerate the `dataset_infos.json` and we'll be good :D | 1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131 | 62 | text: add Toronto BooksCorpus
1. I knew there is a branch `toronto_books_corpus`
- After I downloaded it, I found it is all non-english, and only have one row.
- It seems that it cites the wrong paper
- according to papar using it, it is called `BooksCorpus` but not `TornotoBooksCorpus`
2. It use a text mirror in google drive
- `bookscorpus.py` include a function `download_file_from_google_drive` , maybe you will want to put it elsewhere.
- text mirror is found in this [comment on the issue](https://github.com/soskek/bookcorpus/issues/24#issuecomment-556024973), and it said to have the same statistics as the one in the paper.
- You may want to download it and put it on your gs in case of it disappears someday.
3. Copyright ?
The paper has said
> **The BookCorpus Dataset.** In order to train our sentence similarity model we collected a corpus of 11,038 books ***from the web***. These are __**free books written by yet unpublished authors**__. We only included books that had more than 20K words in order to filter out perhaps noisier shorter stories. The dataset has books in 16 different genres, e.g., Romance (2,865 books), Fantasy (1,479), Science fiction (786), Teen (430), etc. Table 2 highlights the summary statistics of our book corpus.
and we have changed the form (not books), so I don't think it should have that problems. Or we can state that use it at your own risk or only for academic use. I know @thomwolf should know these things more.
This should solved #131
Oh yea you're right about the Hellaswag example. We should keep the "_" symbol to replace spaces. As there are no space in BookCorpus, what we should do here is use:
- class name: 'Bookcorpus'
- script name: `bookcorpus/bookcorpus.py`
- use url https://storage.googleapis.com/huggingface-nlp/datasets/bookcorpus/bookcorpus.tar.bz2
And therefore the dataset name will be `bookcorpus`
Don't forget to regenerate the `dataset_infos.json` and we'll be good :D | [
0.3012886047363281,
0.11586934328079224,
-0.03191805258393288,
-0.020529575645923615,
-0.16225053369998932,
-0.07435612380504608,
0.1279958337545395,
-0.06613446772098541,
-0.3471481502056122,
-0.010962486267089844,
-0.2318732887506485,
0.12866714596748352,
0.12615706026554108,
-0.1323113590478897,
0.1518181562423706,
-0.3847951292991638,
0.09330408275127411,
0.015417858958244324,
0.11843284964561462,
-0.3260533809661865,
-0.1535218358039856,
0.5455461740493774,
-0.015035070478916168,
0.10456016659736633,
-0.1340872198343277,
-0.10566451400518417,
-0.24156029522418976,
0.3354211151599884,
-0.15004634857177734,
-0.20945775508880615,
-0.12456560134887695,
0.24456669390201569,
-0.1209373027086258,
0.5945442914962769,
-0.00010378168371971697,
-0.2792659103870392,
0.1778513491153717,
-0.11466635018587112,
0.06322108209133148,
-0.2965010404586792,
0.4401490390300751,
-0.15429174900054932,
-0.05838228762149811,
-0.2739942967891693,
-0.1211073026061058,
0.08591701835393906,
0.041542746126651764,
0.16834555566310883,
0.018480360507965088,
0.36461398005485535,
0.2571451663970947,
-0.05523454025387764,
0.20960424840450287,
-0.04464413970708847,
0.2845625579357147,
0.0020146816968917847,
-0.17384807765483856,
0.593899130821228,
0.7583926916122437,
0.06935210525989532,
0.09719959646463394,
0.43685346841812134,
-0.10798658430576324,
-0.2414383441209793,
0.19439929723739624,
0.07288037240505219,
0.03717880696058273,
-0.371204137802124,
0.19247138500213623,
0.21637269854545593,
0.4437553286552429,
-0.4704323709011078,
-0.2269047647714615,
-0.00044326484203338623,
0.13128629326820374,
0.21140457689762115,
0.140284925699234,
0.1487104892730713,
0.08341044187545776,
0.04122964292764664,
-0.12271624803543091,
-0.26100605726242065,
-0.1763218194246292,
0.04627438634634018,
0.22764235734939575,
0.28423500061035156,
0.00906464271247387,
-0.020946383476257324,
0.13026677072048187,
0.061431434005498886,
-0.28054240345954895,
0.05350232869386673,
0.022406907752156258,
0.3483743369579315,
-0.10037446022033691,
-0.2694024443626404,
0.02510467916727066,
0.07446931302547455,
0.07514505088329315,
-0.0792204737663269,
0.03445408120751381,
-0.15245026350021362,
-0.031602323055267334,
0.031044401228427887,
-0.022951193153858185,
0.07834601402282715,
0.030604299157857895,
0.1605583280324936,
0.06568814069032669,
0.20749203860759735,
0.05986328795552254,
0.06801281124353409,
-0.2257508635520935,
-0.20866210758686066,
-0.1825847327709198,
-0.01571139693260193,
-0.010258117690682411,
-0.36418697237968445,
0.09568297117948532,
0.2071959227323532,
-0.19621530175209045,
0.042386215180158615,
-0.11032691597938538,
0.33833104372024536,
-0.0038727251812815666,
-0.20054170489311218,
0.3012964725494385,
0.10147427022457123,
-0.12840117514133453,
0.12003611773252487,
-0.1617596596479416,
0.2909034192562103,
-0.2894740402698517,
0.1956198364496231,
0.15751510858535767,
-0.22944125533103943,
0.26873937249183655,
-0.22099505364894867,
-0.16575364768505096,
0.011134188622236252,
-0.0014672055840492249,
-0.28904685378074646,
-0.21056658029556274,
0.09079381823539734,
-0.1894001066684723,
0.09478159248828888,
-0.1984672248363495,
-0.18134617805480957,
-0.2994263768196106,
0.2881251275539398,
-0.30179476737976074,
-0.21483883261680603,
-0.2715849280357361,
0.30803462862968445,
-0.17313387989997864,
-0.42454075813293457,
-0.025484003126621246,
0.3720152974128723,
0.16461336612701416,
-0.2676893472671509,
0.2594374418258667,
0.06256762146949768,
-0.3191188871860504,
-0.011972911655902863,
-0.08289742469787598,
0.42009425163269043,
-0.35866764187812805,
-0.21566082537174225,
0.1280713975429535,
-0.1602686047554016,
0.28196606040000916,
0.23200801014900208,
0.011378121562302113,
0.05134620517492294,
0.1430182307958603,
0.627589225769043,
0.03957849740982056,
0.07474799454212189,
-0.19919942319393158,
0.19023029506206512,
-0.21013474464416504,
-0.07546340674161911,
0.07084342837333679,
-0.12193748354911804,
-0.03625769540667534,
-0.019431833177804947,
0.2841304838657379,
0.08476155251264572,
0.3010774850845337,
0.05279778689146042,
-0.46634262800216675,
-0.07740629464387894,
-0.11005476117134094,
0.17527849972248077,
0.0070551298558712006,
0.06538733094930649,
0.01247531920671463,
-0.118141770362854,
0.4139769971370697,
-0.11114391684532166,
-0.09726952016353607,
0.5701643824577332,
0.5376494526863098,
0.08038999140262604,
0.30989155173301697,
0.12289198487997055,
0.06690946221351624,
-0.012516560032963753,
-0.5420036315917969,
0.6096372604370117,
0.17179107666015625,
-0.21488183736801147,
-0.3868488371372223,
-0.2780158519744873,
0.10048657655715942,
-0.22951874136924744,
0.23746684193611145,
-0.14514881372451782,
0.06946730613708496,
-0.006451023742556572,
0.031938765197992325,
0.0012401612475514412,
-0.40098005533218384,
0.05410825461149216,
-0.2675868272781372,
0.3508199155330658,
-0.42252179980278015,
-0.2127693146467209,
0.20333299040794373,
0.23354962468147278,
0.20936700701713562,
0.1631862372159958,
-0.13053491711616516,
0.21801072359085083,
-0.32092610001564026,
0.46036529541015625,
0.17243759334087372,
0.33323562145233154,
0.2827751636505127,
-0.20304934680461884,
0.16324695944786072,
0.20168595016002655,
0.28385990858078003,
-0.015832573175430298,
-0.08034750074148178,
0.02173236757516861,
0.3615667521953583,
-0.006890185177326202,
0.19440287351608276,
-0.264016717672348,
0.028872573748230934,
-0.13586369156837463,
0.010384801775217056,
-0.02017611637711525,
0.3860480487346649,
0.13702447712421417,
0.07597044110298157,
0.1493794173002243,
-0.1337783932685852,
0.09273885190486908,
0.12079071998596191,
-0.17125265300273895,
0.0072425417602062225,
0.27513647079467773,
-0.3670048117637634,
-0.17278164625167847,
-0.16890117526054382,
-0.06724633276462555,
0.3413619101047516,
0.23926909267902374,
0.09782741218805313,
0.2156427949666977,
0.11234679818153381,
-0.32282310724258423,
0.19044733047485352,
0.2565997242927551,
0.02303174138069153,
0.16493935883045197,
0.19367176294326782,
0.19146859645843506,
-0.22793900966644287,
-0.1873117834329605,
-0.11397901922464371,
0.10697584599256516,
-0.17735423147678375,
0.08586639910936356,
0.28846704959869385,
-0.16625329852104187,
-0.23616750538349152,
0.2536194920539856,
-0.11717389523983002,
0.050071753561496735,
0.45467913150787354,
0.05071043223142624,
-0.2894676923751831,
0.032431721687316895,
0.17049448192119598,
0.2795891761779785,
-0.20573197305202484,
-0.19847489893436432,
-0.004235077649354935,
-0.1932353973388672,
-0.4380060136318207,
0.23916763067245483,
-0.031710125505924225,
-0.003560037352144718,
0.303904265165329,
-0.34668904542922974,
-0.05386925861239433,
-0.21832597255706787,
-0.5885218977928162,
0.036563314497470856,
-0.25443506240844727,
0.10635662078857422,
0.17440398037433624,
-0.1374063342809677,
-0.10632067173719406,
-0.2407132387161255,
0.00770060159265995,
-0.39177849888801575,
-0.1381801962852478,
-0.10097300261259079,
-0.37357109785079956,
-0.3578730523586273,
-0.28405436873435974,
-0.5038259625434875,
-0.16572260856628418,
-0.2789628207683563,
0.13130231201648712,
0.3141135573387146,
0.28055980801582336,
0.5566181540489197,
-0.1123964786529541,
0.238313227891922,
0.27571308612823486,
0.5425924062728882,
-0.10179409384727478,
-0.18663446605205536,
0.3471587002277374,
-0.06628403812646866,
-0.511601448059082,
0.10834871232509613,
-0.2530461549758911,
-0.21115896105766296,
-0.2072526067495346,
-0.2652266025543213,
-0.39676764607429504,
-0.06546637415885925,
-0.5061585307121277,
0.09624423086643219,
0.2634640634059906,
0.348847895860672,
-0.03617728501558304,
-0.3343900442123413,
-0.0023292377591133118,
-0.22583098709583282,
0.453860878944397,
0.5306403636932373,
0.31121936440467834,
-0.11966531723737717,
-0.3488590717315674,
-0.0834590494632721,
0.3005233407020569,
0.2254718393087387,
0.1503124237060547,
0.25746363401412964,
0.12693846225738525,
0.07577507197856903,
-0.04925712198019028,
-0.14305144548416138,
0.1388927549123764,
0.011107593774795532,
-0.21116900444030762,
0.6335539221763611,
0.08995770663022995,
-0.3733299970626831,
-0.1047009527683258,
-0.43482062220573425,
-0.2938607633113861,
-0.07583843171596527,
0.19380894303321838,
0.20776574313640594,
0.32531777024269104,
-0.11706607043743134,
-0.16945669054985046,
0.03047686442732811,
-0.2755987346172333,
0.24729645252227783,
0.30252325534820557,
-0.11987701803445816,
0.14780157804489136,
-0.04873906075954437,
0.25794559717178345,
-0.3889288008213043,
0.24369053542613983,
0.1215684711933136,
-0.2792598307132721,
-0.27487117052078247,
-0.17270776629447937,
0.20279404520988464,
0.022735241800546646,
0.32564324140548706,
-0.15066950023174286,
-0.49087387323379517,
0.2735767364501953,
0.09893354773521423,
0.06330078840255737,
-0.1001528799533844,
-0.4513237774372101,
-0.14830940961837769,
0.3322845697402954,
0.21171560883522034,
-0.316384881734848,
0.2382172793149948,
0.16947075724601746,
0.22641521692276,
0.0023545660078525543,
-0.1980280876159668,
-0.07266610860824585,
-0.3879188299179077,
-0.43413254618644714,
0.14383460581302643,
0.09548415243625641,
0.32060757279396057,
-0.0704282820224762,
0.17509545385837555,
0.5520669221878052,
0.02894674986600876,
0.46703028678894043,
0.12407109141349792,
0.3679361939430237,
0.005733971018344164,
0.054299432784318924,
-0.0034699998795986176,
-0.02034570276737213,
-0.0493483766913414,
0.5207135677337646,
-0.14768670499324799,
0.14952141046524048,
-0.051890283823013306,
-0.3101855516433716,
-0.04668561369180679,
0.3885904550552368,
0.24546481668949127,
-0.061385802924633026,
-0.062427617609500885,
-0.05883941054344177,
0.21078743040561676,
0.013748204335570335,
0.016161780804395676,
0.0056404611095786095,
-0.21840909123420715,
-0.19532880187034607,
0.3517319858074188,
0.09600284695625305,
-0.0847059115767479,
-0.2055547833442688,
0.43574655055999756,
-0.3139607906341553,
0.4490426778793335,
-0.10999908298254013,
1.2433487176895142,
0.04377634450793266,
0.04471653699874878,
0.08312413841485977,
0.1613813191652298,
0.26583197712898254,
-0.44054901599884033,
0.045698199421167374,
-0.26454487442970276,
-0.1600467413663864,
-0.17047499120235443,
0.023170944303274155,
0.10038895905017853,
0.09484633803367615,
-0.47351697087287903,
0.21649697422981262,
-0.029987629503011703,
-0.1230134516954422,
0.1819361448287964,
0.11544039845466614,
0.048807524144649506,
-0.21484556794166565,
0.015957061201334,
0.16249091923236847,
0.10735416412353516,
0.34708985686302185,
0.02946847304701805,
-0.1003059446811676,
-0.3220931589603424,
-0.026418011635541916,
-0.3894360065460205,
0.02288564294576645,
-0.18029066920280457,
-0.2392197698354721,
0.37875470519065857,
-0.41303884983062744,
0.32450518012046814,
-0.019795212894678116,
0.3755788803100586,
0.18997031450271606,
-0.17829498648643494,
0.17235933244228363,
0.08052177727222443,
-0.11471527069807053,
0.2833643853664398,
0.08679469674825668,
0.5109075903892517,
-0.19857192039489746,
-0.21204248070716858,
0.08747723698616028,
0.07311034202575684,
-0.0985766053199768,
-0.2765863537788391,
-0.30454719066619873,
-0.11253336071968079,
-0.13700492680072784,
-0.1994069218635559,
0.4473262131214142,
-0.3356388211250305,
-0.22861643135547638,
0.20635133981704712,
0.22153551876544952,
-0.2831026315689087,
0.11607639491558075,
-0.0015539377927780151,
-0.16910967230796814,
-0.021096043288707733,
0.23335975408554077,
0.3965124785900116,
-0.29498541355133057,
0.2827863097190857,
0.3689209520816803,
-0.16103902459144592,
-0.26354458928108215,
-0.5981175899505615,
0.11227045953273773,
-0.12742465734481812,
0.1642252504825592,
0.0642486959695816,
-0.41946184635162354,
-0.09165444225072861,
0.4838808476924896,
0.1526660919189453,
0.23045971989631653,
-0.08488781750202179,
-0.1769070327281952,
-0.18714623153209686,
0.21350866556167603,
0.12351948022842407,
0.18206149339675903,
0.07762029021978378,
0.33693552017211914,
0.2879234552383423,
0.031020386144518852,
-0.4559381902217865,
0.1309991180896759,
-0.5100452303886414,
0.12433256208896637,
0.2520996332168579,
-0.23641246557235718,
-0.207637220621109,
-0.12782883644104004,
0.07150262594223022,
0.15993927419185638,
-0.09398912638425827,
-0.2876525819301605,
-0.24012194573879242,
0.07115592807531357,
0.11639125645160675,
-0.11380785703659058,
0.07468165457248688,
-0.04793146625161171,
0.027812320739030838,
0.13787108659744263,
-0.06639201194047928,
0.1095782145857811,
0.04944995418190956,
0.17575913667678833,
-0.24441756308078766,
-0.08634788542985916,
-0.14882230758666992,
-0.15541107952594757,
-0.1628783792257309,
0.10274673998355865,
0.2678740918636322,
-0.07618642598390579,
0.020991632714867592,
-0.10514122247695923,
0.08152307569980621,
0.34073343873023987,
0.1283578723669052,
0.25088703632354736,
0.17942023277282715,
0.2709525227546692,
0.061307940632104874,
0.1716601550579071,
0.20606549084186554,
0.1528496891260147,
-0.3557850122451782,
-0.1065182164311409,
0.09872547537088394,
0.3085530996322632,
-0.40920817852020264,
-0.06536684185266495,
0.022307995706796646,
-0.4653433561325073,
0.11920356750488281,
0.30081793665885925,
0.353255957365036,
0.24790963530540466,
0.2653990685939789,
0.2679463326931,
0.2717926502227783,
0.28156447410583496,
-0.019191214814782143,
-0.0857183039188385,
-0.026434283703565598,
-0.01116853579878807,
0.06240071356296539,
0.14901202917099,
-0.07656217366456985,
-0.07333460450172424,
-0.11499869078397751,
0.4314735233783722,
-0.013676922768354416,
0.45824888348579407,
0.31483450531959534,
-0.009247979149222374,
0.34967660903930664,
-0.11096343398094177,
0.2472337931394577,
0.1365835964679718,
0.14378483593463898,
0.023531198501586914,
-0.09469108283519745,
-0.09764343500137329,
-0.1395994871854782,
0.11457343399524689,
-0.10603714734315872,
-0.2201533317565918,
-0.04331671819090843,
-0.2776038944721222,
-0.11865847557783127,
-0.22285617887973785,
-0.05121031776070595,
-0.14622774720191956,
-0.00849548727273941,
-0.2916231155395508,
-0.07525269687175751,
-0.25036272406578064,
-0.08913079649209976,
-0.20367857813835144,
0.4359318017959595,
-0.15147750079631805,
0.2614648938179016,
-0.00374399870634079,
0.077290840446949,
-0.026826363056898117,
0.401751309633255,
0.1751057207584381,
0.06326866894960403,
0.0027392571792006493,
0.09368939697742462,
-0.19576555490493774,
-0.10792770236730576,
0.19638682901859283,
0.26419687271118164,
0.3082125782966614,
-0.09166517853736877,
0.08359581232070923,
0.06545833498239517,
-0.1913377344608307,
0.2818152606487274,
0.06046462059020996,
0.02254549413919449,
0.03701294958591461,
0.1879693865776062,
-0.13581544160842896,
-0.3678809106349945,
-0.4426988959312439,
-0.1552640199661255,
-0.3458995223045349,
0.0012499927543103695,
0.3779078423976898,
-0.1747734099626541,
0.026180151849985123,
-0.3210788071155548,
0.14258618652820587,
0.07908139377832413,
0.17170806229114532,
0.3701811730861664,
0.0804877057671547,
-0.20942318439483643,
0.08663016557693481,
-0.37127164006233215,
0.19841405749320984,
0.20355813205242157,
0.04639174044132233,
-0.12910284101963043,
-0.006004362367093563,
0.19604438543319702,
-0.0060353949666023254,
-0.12706518173217773,
0.23593541979789734,
-0.40336647629737854,
-0.3592349588871002,
-0.1886221021413803,
0.029424462467432022,
-0.2134588211774826,
-0.09371411800384521,
0.055433303117752075,
0.16046655178070068,
-0.00736396387219429,
-0.39604270458221436,
0.09726826101541519,
-0.3849126696586609,
-0.4588141441345215,
0.1930406242609024,
0.26200273633003235,
0.09682268649339676,
0.043576929718256,
0.10062000155448914,
-0.27605217695236206,
0.12809285521507263,
0.11140593141317368,
-0.17750267684459686,
-0.1064329668879509,
0.020782310515642166,
0.2512663006782532,
0.19879232347011566,
0.12847420573234558,
-0.13342298567295074,
0.1202552318572998,
0.241240456700325,
0.174338698387146,
-0.16395246982574463,
-0.46210479736328125,
0.07570146769285202,
-0.10505779832601547,
0.029154503718018532,
0.054158616811037064,
0.3701849579811096,
0.05993370711803436,
-0.0946592465043068,
-0.2585238218307495,
-0.5558462738990784,
0.6768819689750671,
-0.09087084233760834,
-0.10729734599590302,
-0.0008029486052691936,
0.2034822702407837,
0.3050541579723358,
0.10751492530107498,
-0.7021796107292175,
-0.03808032348752022,
0.06861583888530731,
-0.04377683997154236,
-0.3173219561576843,
0.27807801961898804,
-0.09005036950111389,
0.012125369161367416,
-0.06087925657629967,
0.04478444904088974,
0.04677238315343857,
-0.03635874390602112,
-0.2733198404312134,
-0.29850292205810547
] |
https://github.com/huggingface/datasets/pull/247 | Make all dataset downloads deterministic by applying `sorted` to glob and os.listdir | That's great!
I think it would be nice to test "deterministic-ness" of datasets in CI if we can do it (should be left for future PR of course)
Here is a possibility (maybe there are other ways to do it): given that we may soon have efficient and large-scale hashing (cf our discussion on versioning/tracability), we could incorporate a hash of the final Arrow Dataset to the `dataset.json` file and have a test on it as well as CI on a diversity of platform to test the hash (Win/Mac/Linux + various python/env).
What do you think @lhoestq @patrickvonplaten? | This PR makes all datasets loading deterministic by applying `sorted()` to all `glob.glob` and `os.listdir` statements.
Are there other "non-deterministic" functions apart from `glob.glob()` and `os.listdir()` that you can think of @thomwolf @lhoestq @mariamabarham @jplu ?
**Important**
It does break backward compatibility for these datasets because
1. When loading the complete dataset the order in which the examples are saved is different now
2. When loading only part of a split, the examples themselves might be different.
@patrickvonplaten - the nlp / longformer notebook has to be updated since the examples might now be different | 98 | text: Make all dataset downloads deterministic by applying `sorted` to glob and os.listdir
This PR makes all datasets loading deterministic by applying `sorted()` to all `glob.glob` and `os.listdir` statements.
Are there other "non-deterministic" functions apart from `glob.glob()` and `os.listdir()` that you can think of @thomwolf @lhoestq @mariamabarham @jplu ?
**Important**
It does break backward compatibility for these datasets because
1. When loading the complete dataset the order in which the examples are saved is different now
2. When loading only part of a split, the examples themselves might be different.
@patrickvonplaten - the nlp / longformer notebook has to be updated since the examples might now be different
That's great!
I think it would be nice to test "deterministic-ness" of datasets in CI if we can do it (should be left for future PR of course)
Here is a possibility (maybe there are other ways to do it): given that we may soon have efficient and large-scale hashing (cf our discussion on versioning/tracability), we could incorporate a hash of the final Arrow Dataset to the `dataset.json` file and have a test on it as well as CI on a diversity of platform to test the hash (Win/Mac/Linux + various python/env).
What do you think @lhoestq @patrickvonplaten? | [
-0.20385578274726868,
0.1250254213809967,
-0.06799609959125519,
-0.11973537504673004,
-0.025245971977710724,
0.037246525287628174,
0.19847112894058228,
0.03731381893157959,
0.07475845515727997,
0.15583983063697815,
0.28856170177459717,
0.3638363480567932,
-0.29661035537719727,
0.14192311465740204,
-0.011811229400336742,
-0.2320905327796936,
-0.0036528706550598145,
0.2378900945186615,
0.10328349471092224,
-0.05712742358446121,
-0.22901523113250732,
-0.09297184646129608,
-0.28207433223724365,
-0.214532271027565,
0.24974079430103302,
-0.2690519392490387,
-0.35695090889930725,
0.09185811132192612,
0.12570013105869293,
-0.33649128675460815,
0.10929293930530548,
0.5362288355827332,
0.06785953044891357,
0.06709635257720947,
-0.00013163452968001366,
-0.3500051498413086,
0.33721500635147095,
-0.2658465504646301,
-0.4252965450286865,
-0.35126805305480957,
-0.2589713931083679,
0.09530319273471832,
0.07485189288854599,
-0.3597162067890167,
-0.06952720135450363,
-0.20940262079238892,
0.148024320602417,
-0.23140554130077362,
0.19816681742668152,
0.19126248359680176,
0.03014151193201542,
0.0860970988869667,
-0.006243258714675903,
-0.2307916134595871,
0.27921944856643677,
0.5336963534355164,
-0.23281796276569366,
0.27219536900520325,
0.3738919496536255,
0.32926422357559204,
-0.00527682900428772,
0.03195318207144737,
0.03968928009271622,
0.36465519666671753,
0.2731717824935913,
-0.13598717749118805,
-0.05178765207529068,
-0.39842674136161804,
-0.13171347975730896,
0.423855721950531,
0.8251304626464844,
-0.14950546622276306,
-0.2824889123439789,
-0.3313194811344147,
-0.03465240076184273,
-0.1341855227947235,
0.27287566661834717,
0.1705353707075119,
-0.2621574103832245,
0.0820704996585846,
-0.09303673356771469,
0.10393238067626953,
-0.23847225308418274,
0.19483578205108643,
0.35623306035995483,
0.26575857400894165,
0.24440917372703552,
0.04260657727718353,
0.4778512120246887,
0.19388559460639954,
0.4046114981174469,
-0.2091217190027237,
-0.13309302926063538,
-0.0943487212061882,
0.26318058371543884,
-0.40787509083747864,
-0.06612885743379593,
0.5623450875282288,
0.10957352072000504,
0.4949299693107605,
0.4693605899810791,
0.005582049489021301,
-0.17738959193229675,
0.07535891234874725,
0.024462006986141205,
0.1659887433052063,
-0.09794721752405167,
0.13247452676296234,
0.2533697187900543,
0.13139000535011292,
0.02716946229338646,
0.18620654940605164,
0.29157984256744385,
-0.12942083179950714,
0.10461653769016266,
0.1306384801864624,
-0.13423477113246918,
-0.26565104722976685,
-0.24532876908779144,
-0.085108682513237,
-0.34005746245384216,
-0.15216036140918732,
-0.173885777592659,
0.38608989119529724,
0.1573168784379959,
0.06868897378444672,
-0.20120300352573395,
0.11381535977125168,
0.12191318720579147,
-0.23437675833702087,
0.12515828013420105,
0.035370953381061554,
-0.24311670660972595,
0.02084776572883129,
0.21983568370342255,
0.13721135258674622,
0.15940631926059723,
0.020145993679761887,
0.022513825446367264,
-0.09865095466375351,
0.0989469587802887,
-0.2007727324962616,
0.4710223972797394,
0.09572436660528183,
-0.24377579987049103,
-0.34277284145355225,
0.09442180395126343,
-0.13384972512722015,
-0.5435160398483276,
0.2458232045173645,
0.16686169803142548,
-0.12721778452396393,
0.03924352675676346,
-0.11289270967245102,
-0.42941176891326904,
-0.16716673970222473,
-0.04508598893880844,
0.3290199637413025,
-0.2004808783531189,
-0.013217944651842117,
0.4586443305015564,
-0.27205348014831543,
0.2142113745212555,
-0.1491445153951645,
-0.3035171926021576,
0.42593449354171753,
-0.4344033896923065,
-0.1747395098209381,
-0.2872511148452759,
-0.18376006186008453,
0.1518179327249527,
0.19112606346607208,
-0.05685209855437279,
0.27216997742652893,
-0.20889312028884888,
-0.2241404503583908,
0.4881592392921448,
-0.17117652297019958,
-0.15661002695560455,
0.11889094114303589,
0.04746980220079422,
0.3766854703426361,
0.14549240469932556,
0.3426901400089264,
0.36578840017318726,
-0.09715141355991364,
-0.2482679784297943,
0.35004037618637085,
-0.09734278917312622,
-0.1184256374835968,
-0.16618692874908447,
-0.3107384145259857,
0.1938449740409851,
0.23471228778362274,
0.2007303088903427,
0.3744496703147888,
0.42344096302986145,
-0.3029005229473114,
0.0893702507019043,
-0.22185930609703064,
-0.31165847182273865,
-0.04191669821739197,
0.15871812403202057,
-0.12069112062454224,
-0.1374266892671585,
-0.055561818182468414,
-0.6898788213729858,
0.04904678463935852,
0.055991336703300476,
0.011595699936151505,
0.1946626901626587,
-0.16847078502178192,
0.024188678711652756,
-0.07991970330476761,
0.033028312027454376,
-0.020699381828308105,
-0.13572020828723907,
0.1892709881067276,
0.2564930021762848,
0.16936492919921875,
0.23513399064540863,
-0.029852209612727165,
-0.16210034489631653,
0.033482518047094345,
-0.0027766507118940353,
0.33442607522010803,
0.0275474451482296,
-0.11248103529214859,
-0.12903258204460144,
-0.05501263588666916,
-0.23839324712753296,
-0.27889421582221985,
-0.35395485162734985,
0.24527457356452942,
0.08871793001890182,
0.1508179008960724,
0.15769600868225098,
0.5280677080154419,
0.10225293040275574,
-0.3867070972919464,
0.16509729623794556,
0.4761250913143158,
-0.14092367887496948,
0.013735085725784302,
-0.465303510427475,
0.7788350582122803,
-0.2914106845855713,
0.034761857241392136,
-0.03693816438317299,
0.13493554294109344,
0.3227025866508484,
-0.11172309517860413,
-0.29878297448158264,
0.008410930633544922,
0.5308144092559814,
-0.059570569545030594,
0.2847740054130554,
0.26221776008605957,
-0.3629511296749115,
-0.10650069266557693,
0.3647744655609131,
-0.12319913506507874,
0.18008509278297424,
0.2584129273891449,
0.07180772721767426,
-0.2397252917289734,
0.24826020002365112,
0.44947025179862976,
0.41328567266464233,
0.1604783684015274,
0.11455324292182922,
0.037947554141283035,
0.025209318846464157,
-0.23283980786800385,
0.23768742382526398,
0.04425506666302681,
0.03538313880562782,
-0.017491251230239868,
0.15435950458049774,
0.10703641176223755,
-0.27657490968704224,
-0.44831186532974243,
0.06251735240221024,
0.19932812452316284,
-0.17430579662322998,
-0.04275359958410263,
-0.1373264342546463,
0.14553174376487732,
-0.002573455683887005,
-0.20506900548934937,
-0.03627903386950493,
-0.18238867819309235,
0.09671017527580261,
0.3120694160461426,
-0.27064868807792664,
0.18706156313419342,
-0.15141825377941132,
0.8016915917396545,
-0.19450663030147552,
-0.43852365016937256,
-0.5028318166732788,
-0.1982557475566864,
0.07954125106334686,
-0.0904974415898323,
0.3074113428592682,
0.12324467301368713,
0.6123616695404053,
-0.23124806582927704,
-0.08944474905729294,
-0.3808324337005615,
-0.27367785573005676,
0.0422678180038929,
0.15856143832206726,
0.1257556527853012,
0.21171116828918457,
-0.24544383585453033,
-0.04816756397485733,
-0.26753389835357666,
0.02415468543767929,
-0.26253581047058105,
-0.13048413395881653,
0.004275070503354073,
-0.05362841114401817,
0.002689278218895197,
-0.15438586473464966,
-0.15827587246894836,
-0.2556546926498413,
-0.25031739473342896,
0.4407310485839844,
0.26064246892929077,
0.2604973316192627,
-0.05124862864613533,
0.04260905832052231,
-0.13630712032318115,
0.02778300642967224,
-0.08268184959888458,
0.03044220618903637,
-0.31768736243247986,
0.18786437809467316,
-0.14509983360767365,
0.05956306308507919,
-0.28166890144348145,
-0.18754105269908905,
-0.2602306008338928,
0.4066131114959717,
-0.4675201177597046,
0.005616934038698673,
-0.2687667906284332,
0.3788701891899109,
0.014616161584854126,
-0.43779104948043823,
0.5869978666305542,
0.020408794283866882,
0.07641416043043137,
0.0766768828034401,
-0.1858925223350525,
0.1798119843006134,
-0.036302872002124786,
0.36611688137054443,
0.16043239831924438,
0.2824847400188446,
-0.041895072907209396,
0.6964831352233887,
-0.03942672163248062,
-0.48629799485206604,
0.17156799137592316,
0.21064558625221252,
0.44035962224006653,
-0.1100773885846138,
-0.12064151465892792,
0.12967346608638763,
0.255717933177948,
-0.32522767782211304,
0.30303749442100525,
-0.2891791760921478,
-0.3397347629070282,
-0.03005153499543667,
0.15283606946468353,
0.0038123801350593567,
-0.20239964127540588,
0.13389275968074799,
-0.7425982356071472,
-0.09333615750074387,
-0.14810588955879211,
0.2185235619544983,
-0.08719666302204132,
-0.2436349093914032,
-0.0035514063201844692,
0.3691280484199524,
0.23364630341529846,
0.0018600032199174166,
-0.0929691344499588,
0.12029384076595306,
0.03859739378094673,
0.21122990548610687,
-0.04338008537888527,
-0.01832658424973488,
-0.0810249000787735,
-0.17543640732765198,
0.10339973121881485,
-0.07549301534891129,
0.1651410609483719,
-0.4347005784511566,
0.06978046894073486,
0.1959274411201477,
-0.2730497419834137,
0.26949170231819153,
-0.3440326750278473,
-0.4397379755973816,
-0.030454494059085846,
0.46636882424354553,
0.17903432250022888,
-0.27659791707992554,
0.0005079186521470547,
0.06434442102909088,
-0.2880057692527771,
0.12311448156833649,
-0.32571497559547424,
-0.14651396870613098,
0.07280588150024414,
-0.35318467020988464,
0.6290782690048218,
-0.1564599573612213,
-0.28019651770591736,
-0.6563993692398071,
-0.200259268283844,
-0.2382938116788864,
0.16435599327087402,
0.2702232599258423,
0.11534947156906128,
-0.06904032826423645,
0.008317925035953522,
-0.19633086025714874,
-0.07779455184936523,
0.3004000186920166,
0.42970165610313416,
-0.03538184612989426,
-0.08022430539131165,
-0.09725303947925568,
0.14531445503234863,
-0.22295264899730682,
0.12995566427707672,
0.3038163185119629,
0.07254979014396667,
-0.004533812403678894,
-0.15788108110427856,
0.34416741132736206,
-0.2598937749862671,
0.10029078274965286,
-0.05635366588830948,
-0.185872882604599,
-0.2676742970943451,
0.04982359707355499,
0.30988505482673645,
0.17292669415473938,
-0.36254334449768066,
0.5234942436218262,
-0.18225254118442535,
-0.2401966005563736,
0.4656631350517273,
0.4511445462703705,
1.1953999996185303,
-0.25260937213897705,
0.2551770806312561,
-0.11332311481237411,
-0.11369125545024872,
0.467318594455719,
0.3914862871170044,
0.005631989799439907,
-0.22852236032485962,
-0.24267558753490448,
-0.2172989398241043,
-0.3922407329082489,
0.23355573415756226,
0.13174238801002502,
-0.7118464708328247,
0.2304392009973526,
-0.003085903823375702,
0.385896235704422,
0.22788019478321075,
0.06339570134878159,
-0.10320442914962769,
-0.14808343350887299,
-0.11229801177978516,
-0.10807190835475922,
0.029034748673439026,
0.318153440952301,
-0.36148709058761597,
-0.016151973977684975,
0.004893988370895386,
-0.09347248077392578,
-0.32828423380851746,
0.05025450140237808,
-0.29517313838005066,
-0.14317315816879272,
-0.14484134316444397,
-0.3123726546764374,
0.44724640250205994,
0.4795045256614685,
0.4064146876335144,
0.11942221224308014,
-0.30258870124816895,
-0.028509702533483505,
0.04698127508163452,
0.16590943932533264,
0.2917521297931671,
-0.3327743411064148,
0.27730533480644226,
0.1351613998413086,
0.06611564010381699,
-0.025550737977027893,
-0.10269051790237427,
-0.6211000680923462,
-0.23791071772575378,
-0.21454699337482452,
-0.11572228372097015,
0.10326589643955231,
-0.0036598986480385065,
-0.06098988652229309,
-0.5044230818748474,
-0.24902720749378204,
-0.057882826775312424,
-0.022774405777454376,
0.18335434794425964,
0.5036537647247314,
0.024246707558631897,
-0.4965043365955353,
-0.20703332126140594,
-0.19451141357421875,
-0.2061719000339508,
0.12673641741275787,
0.08426600694656372,
-0.2948095202445984,
0.007851969450712204,
-0.4350147247314453,
0.09896736592054367,
-0.299733966588974,
-0.18353568017482758,
0.539351761341095,
-0.2330312877893448,
-0.2264372557401657,
-0.19528575241565704,
0.007219597697257996,
0.494138240814209,
0.5702833533287048,
-0.033939726650714874,
-0.3210439383983612,
-0.11570119112730026,
0.04176313802599907,
0.16283319890499115,
0.4518183767795563,
-0.3585246503353119,
0.3118269443511963,
0.16808991134166718,
0.07036326080560684,
-0.1315547227859497,
0.08364402502775192,
-0.19275923073291779,
0.03822038695216179,
-0.21139244735240936,
0.141936793923378,
-0.14679770171642303,
0.021652894094586372,
-0.20906981825828552,
-0.20594893395900726,
-0.11687169969081879,
0.03668157011270523,
-0.08849750459194183,
0.2742752134799957,
0.07803976535797119,
0.10967426002025604,
0.13155919313430786,
-0.24477815628051758,
-0.006663164123892784,
-0.2215680480003357,
-0.21037288010120392,
-0.14840000867843628,
-0.059748515486717224,
0.03955217823386192,
0.4633842706680298,
0.44019949436187744,
-0.006361022591590881,
0.09655342996120453,
-0.18304124474525452,
0.1720081865787506,
-0.12196788936853409,
0.32226264476776123,
-0.1770705282688141,
-0.038230106234550476,
-0.1737009584903717,
0.14203372597694397,
0.4340944290161133,
0.1871020495891571,
0.10097606480121613,
0.3089703321456909,
-0.08461198210716248,
-0.04978116974234581,
0.2285781353712082,
0.3721613883972168,
-0.03597845137119293,
-0.150798961520195,
0.42954790592193604,
-0.016597898676991463,
-0.20786364376544952,
0.23982757329940796,
0.04749266430735588,
0.3177666664123535,
0.06591856479644775,
0.18897196650505066,
0.14577659964561462,
-0.10267314314842224,
0.06538169085979462,
-0.27326303720474243,
0.2492939531803131,
-0.22520147264003754,
0.44176429510116577,
0.48420649766921997,
0.04233432188630104,
0.25171658396720886,
0.32292452454566956,
-0.14959071576595306,
0.10255201905965805,
-0.17638860642910004,
-0.016366377472877502,
0.43054482340812683,
0.0007563792169094086,
0.2976420819759369,
-0.0061629340052604675,
-0.015262650325894356,
0.020487835630774498,
0.6815664768218994,
0.3004029393196106,
0.2653135061264038,
0.2976419925689697,
0.2347671389579773,
-0.05924634262919426,
-0.1738637536764145,
-0.6778848171234131,
-0.056835900992155075,
0.25034278631210327,
-0.1199691891670227,
-0.31687837839126587,
-0.12927213311195374,
-0.1320374757051468,
0.03914870694279671,
-0.12151774764060974,
0.18712617456912994,
0.5108386278152466,
0.20924071967601776,
0.36558014154434204,
-0.514181911945343,
0.5353215336799622,
-0.16847124695777893,
0.1597614884376526,
-0.29830729961395264,
0.04324040934443474,
-0.03811028599739075,
0.05922413244843483,
0.22311930358409882,
0.17760750651359558,
0.18658235669136047,
0.3007497489452362,
-0.20759034156799316,
-0.17632679641246796,
-0.43239861726760864,
0.15938270092010498,
-0.08242575824260712,
0.34832730889320374,
0.3463144898414612,
-0.34085094928741455,
0.33514100313186646,
-0.054894812405109406,
0.024909116327762604,
0.5238323211669922,
-0.07178518176078796,
-0.21693389117717743,
-0.19731976091861725,
0.6432841420173645,
0.3965606987476349,
-0.06085479259490967,
0.1461932510137558,
0.3052577078342438,
0.17520755529403687,
0.03437219187617302,
-0.17265130579471588,
-0.29021120071411133,
-0.013706129975616932,
0.2926011085510254,
-0.030810058116912842,
0.08724284172058105,
0.28091129660606384,
0.3039552569389343,
0.3795951008796692,
-0.17206579446792603,
-0.19519242644309998,
-0.5593879222869873,
0.01052623987197876,
0.002953220158815384,
0.23611953854560852,
-0.012389373034238815,
0.21812112629413605,
0.17144232988357544,
-0.06711883097887039,
-0.0017102956771850586,
0.17978808283805847,
-0.1357923448085785,
0.13809533417224884,
-0.2859027087688446,
0.2641807496547699,
-0.12482145428657532,
0.04543711245059967,
-0.14734099805355072,
-0.3296545743942261,
-0.0015919767320156097,
0.340682715177536,
-0.30127936601638794,
0.0437060110270977,
0.19383272528648376,
-0.10622604191303253,
0.19363267719745636,
0.41054919362068176,
0.10206348448991776,
0.31250929832458496,
0.11442101746797562,
-0.20280538499355316,
-0.20695343613624573,
-0.24133649468421936,
-0.15527889132499695,
0.1752936840057373,
-0.003473445773124695,
0.020488765090703964,
-0.34496787190437317,
0.2801589369773865,
-0.07540328800678253,
0.011289377696812153,
0.04699964076280594,
0.31167590618133545,
-0.5667534470558167,
-0.1938505619764328,
-0.13327479362487793,
0.2606342136859894,
-0.0826043039560318,
0.07302142679691315,
-0.04815930128097534,
0.11842080950737,
-0.3113822937011719,
0.18211524188518524,
0.41901177167892456,
0.29171988368034363,
-0.0021932683885097504,
-0.26769256591796875,
0.2945097088813782,
0.2603842616081238,
-0.057512372732162476,
-0.15549921989440918,
-0.17564725875854492,
0.2999264895915985,
0.07816373556852341,
0.033112782984972,
0.18502604961395264,
-0.062079738825559616,
0.07666531205177307,
-0.27942413091659546,
0.351203978061676,
-0.16179683804512024,
-0.18345588445663452,
-0.15777727961540222,
-0.3792150616645813
] |
https://github.com/huggingface/datasets/pull/247 | Make all dataset downloads deterministic by applying `sorted` to glob and os.listdir | > That's great!
>
> I think it would be nice to test "deterministic-ness" of datasets in CI if we can do it (should be left for future PR of course)
>
> Here is a possibility (maybe there are other ways to do it): given that we may soon have efficient and large-scale hashing (cf our discussion on versioning/tracability), we could incorporate a hash of the final Arrow Dataset to the `dataset.json` file and have a test on it as well as CI on a diversity of platform to test the hash (Win/Mac/Linux + various python/env).
> What do you think @lhoestq @patrickvonplaten?
I think that's a great idea! The test should be a `RUN_SLOW` test, since it takes a considerable amount of time to download the dataset and generate the examples, but I think we should add some kind of hash test for each dataset. | This PR makes all datasets loading deterministic by applying `sorted()` to all `glob.glob` and `os.listdir` statements.
Are there other "non-deterministic" functions apart from `glob.glob()` and `os.listdir()` that you can think of @thomwolf @lhoestq @mariamabarham @jplu ?
**Important**
It does break backward compatibility for these datasets because
1. When loading the complete dataset the order in which the examples are saved is different now
2. When loading only part of a split, the examples themselves might be different.
@patrickvonplaten - the nlp / longformer notebook has to be updated since the examples might now be different | 147 | text: Make all dataset downloads deterministic by applying `sorted` to glob and os.listdir
This PR makes all datasets loading deterministic by applying `sorted()` to all `glob.glob` and `os.listdir` statements.
Are there other "non-deterministic" functions apart from `glob.glob()` and `os.listdir()` that you can think of @thomwolf @lhoestq @mariamabarham @jplu ?
**Important**
It does break backward compatibility for these datasets because
1. When loading the complete dataset the order in which the examples are saved is different now
2. When loading only part of a split, the examples themselves might be different.
@patrickvonplaten - the nlp / longformer notebook has to be updated since the examples might now be different
> That's great!
>
> I think it would be nice to test "deterministic-ness" of datasets in CI if we can do it (should be left for future PR of course)
>
> Here is a possibility (maybe there are other ways to do it): given that we may soon have efficient and large-scale hashing (cf our discussion on versioning/tracability), we could incorporate a hash of the final Arrow Dataset to the `dataset.json` file and have a test on it as well as CI on a diversity of platform to test the hash (Win/Mac/Linux + various python/env).
> What do you think @lhoestq @patrickvonplaten?
I think that's a great idea! The test should be a `RUN_SLOW` test, since it takes a considerable amount of time to download the dataset and generate the examples, but I think we should add some kind of hash test for each dataset. | [
-0.21910640597343445,
0.13409516215324402,
-0.07258981466293335,
-0.06305773556232452,
-0.05426742136478424,
0.044753000140190125,
0.23986753821372986,
0.06339351832866669,
0.08879996836185455,
0.11286132782697678,
0.30344343185424805,
0.37293773889541626,
-0.32347652316093445,
0.15162816643714905,
-0.011350744403898716,
-0.2593667507171631,
-0.0027947276830673218,
0.24778607487678528,
0.08254466950893402,
-0.0571499839425087,
-0.19475284218788147,
-0.08612795919179916,
-0.27675390243530273,
-0.2143315225839615,
0.23853884637355804,
-0.29454147815704346,
-0.38876163959503174,
0.10203807801008224,
0.11334484815597534,
-0.3681979477405548,
0.1381356418132782,
0.5316439270973206,
0.05666228383779526,
0.10992185026407242,
-0.00013048762048128992,
-0.3470868468284607,
0.3431893587112427,
-0.24186564981937408,
-0.3947402238845825,
-0.35164767503738403,
-0.32559651136398315,
0.050867125391960144,
0.06765532493591309,
-0.36713707447052,
-0.03840407729148865,
-0.19696851074695587,
0.1213463768362999,
-0.19775301218032837,
0.21170911192893982,
0.16937212646007538,
0.02920425683259964,
0.08028072118759155,
-0.010209977626800537,
-0.19469352066516876,
0.29569077491760254,
0.5464919805526733,
-0.24060484766960144,
0.2830696403980255,
0.3753543794155121,
0.3005342483520508,
-0.036521174013614655,
0.04340062662959099,
0.05307983607053757,
0.38072478771209717,
0.2644437849521637,
-0.13678106665611267,
-0.08556944876909256,
-0.3989288806915283,
-0.16785147786140442,
0.4595899283885956,
0.8039699792861938,
-0.131440669298172,
-0.2743853032588959,
-0.3371633291244507,
-0.06396325677633286,
-0.14181406795978546,
0.2701163589954376,
0.13594089448451996,
-0.2346854954957962,
0.054598983377218246,
-0.11966708302497864,
0.10010510683059692,
-0.22683951258659363,
0.18898481130599976,
0.3609522879123688,
0.23875464498996735,
0.23815149068832397,
0.03127078711986542,
0.44934168457984924,
0.19832180440425873,
0.39593639969825745,
-0.21891345083713531,
-0.14183364808559418,
-0.09417475014925003,
0.2520255744457245,
-0.42998671531677246,
-0.06149061769247055,
0.5350234508514404,
0.13889724016189575,
0.4903721809387207,
0.485478013753891,
0.007540283724665642,
-0.14567184448242188,
0.053691376000642776,
0.004130512475967407,
0.19446581602096558,
-0.059645555913448334,
0.09943437576293945,
0.2444620281457901,
0.14585328102111816,
-0.019562331959605217,
0.1864367127418518,
0.2756757140159607,
-0.15003199875354767,
0.08566546440124512,
0.17433494329452515,
-0.11101054400205612,
-0.2947242856025696,
-0.21053487062454224,
-0.07353616505861282,
-0.3493558466434479,
-0.1978970617055893,
-0.10327174514532089,
0.3762848675251007,
0.11012160032987595,
0.08887916058301926,
-0.23748378455638885,
0.13550183176994324,
0.09860636293888092,
-0.22250179946422577,
0.11361922323703766,
0.05212947726249695,
-0.23127976059913635,
0.02688785083591938,
0.2500714659690857,
0.1371878683567047,
0.14541058242321014,
0.06955751031637192,
0.0031008198857307434,
-0.09378652274608612,
0.15137965977191925,
-0.20999908447265625,
0.4593164920806885,
0.05441490560770035,
-0.2264876514673233,
-0.34563878178596497,
0.10734392702579498,
-0.09949053823947906,
-0.5646725296974182,
0.222327321767807,
0.15122342109680176,
-0.12883050739765167,
0.08259083330631256,
-0.10883882641792297,
-0.44931626319885254,
-0.1541905701160431,
-0.0712120309472084,
0.3374108374118805,
-0.18853476643562317,
0.03312375769019127,
0.4261670708656311,
-0.2714129090309143,
0.2412639856338501,
-0.1354524940252304,
-0.3036554753780365,
0.46264004707336426,
-0.4153948128223419,
-0.1526622772216797,
-0.26516029238700867,
-0.18933892250061035,
0.15329226851463318,
0.1571311205625534,
-0.06165226921439171,
0.27547481656074524,
-0.2120780348777771,
-0.22182351350784302,
0.4902787208557129,
-0.16114622354507446,
-0.12170760333538055,
0.15645232796669006,
0.08132323622703552,
0.39579758048057556,
0.17064017057418823,
0.29114845395088196,
0.4030091166496277,
-0.12671101093292236,
-0.2470095455646515,
0.3522903323173523,
-0.11183086037635803,
-0.09332743287086487,
-0.2023409605026245,
-0.32050570845603943,
0.19898676872253418,
0.2264583557844162,
0.21547408401966095,
0.30647730827331543,
0.40965738892555237,
-0.2745535671710968,
0.07476814836263657,
-0.237295001745224,
-0.3291502594947815,
-0.03897804021835327,
0.16623473167419434,
-0.15702949464321136,
-0.14273005723953247,
0.009444516152143478,
-0.7195031046867371,
0.08474723249673843,
0.06487657129764557,
0.044711317867040634,
0.19417093694210052,
-0.14912647008895874,
0.022704947739839554,
-0.09768125414848328,
-0.02491789683699608,
-0.01722334325313568,
-0.11421474814414978,
0.1544274240732193,
0.2738886773586273,
0.13869474828243256,
0.2483740597963333,
-0.025666723027825356,
-0.16490304470062256,
0.04676647111773491,
-0.028842080384492874,
0.3458563983440399,
0.03651534765958786,
-0.06832551211118698,
-0.13483208417892456,
-0.05030339956283569,
-0.22564318776130676,
-0.33170777559280396,
-0.3719545304775238,
0.22175830602645874,
0.12262417376041412,
0.140505850315094,
0.19321653246879578,
0.5427973866462708,
0.11599180847406387,
-0.410660058259964,
0.21974977850914001,
0.4424164891242981,
-0.14835461974143982,
-0.008242752403020859,
-0.44260552525520325,
0.7941504120826721,
-0.3286518156528473,
0.031578727066516876,
-0.04854828491806984,
0.12073906511068344,
0.32873260974884033,
-0.1172366738319397,
-0.30338096618652344,
-0.003188289701938629,
0.5256425738334656,
-0.07882831990718842,
0.3046746551990509,
0.2926500737667084,
-0.34962180256843567,
-0.10579808801412582,
0.36697620153427124,
-0.10072542726993561,
0.13031670451164246,
0.2748925983905792,
0.05731911212205887,
-0.24825993180274963,
0.24821890890598297,
0.47785088419914246,
0.4366784691810608,
0.15401147305965424,
0.14760613441467285,
0.007573219016194344,
0.01814229041337967,
-0.23128730058670044,
0.24711179733276367,
0.03932368382811546,
0.06223028153181076,
-0.028502099215984344,
0.1387643665075302,
0.08195774257183075,
-0.25322964787483215,
-0.46264374256134033,
0.09994137287139893,
0.22001312673091888,
-0.19214509427547455,
-0.042422518134117126,
-0.09936224669218063,
0.14513647556304932,
-0.002228288911283016,
-0.2283044308423996,
-0.043495167046785355,
-0.18092942237854004,
0.11502169817686081,
0.2689323127269745,
-0.2416912466287613,
0.18842868506908417,
-0.14341413974761963,
0.8062799572944641,
-0.20157325267791748,
-0.40654274821281433,
-0.506506621837616,
-0.23453488945960999,
0.05973616987466812,
-0.07583300769329071,
0.3847741484642029,
0.14353816211223602,
0.5715811848640442,
-0.23875515162944794,
-0.10472443699836731,
-0.34475478529930115,
-0.315218985080719,
0.05156978219747543,
0.11155390739440918,
0.1517511010169983,
0.2159428894519806,
-0.20731668174266815,
-0.049856383353471756,
-0.28064727783203125,
0.03302659094333649,
-0.22740624845027924,
-0.14176346361637115,
0.037240564823150635,
-0.06983310729265213,
-0.015836844220757484,
-0.13764537870883942,
-0.17821359634399414,
-0.23335511982440948,
-0.23814252018928528,
0.41864192485809326,
0.2785242795944214,
0.2768208980560303,
-0.06952348351478577,
0.05549764260649681,
-0.129495307803154,
0.04537945240736008,
-0.05892910063266754,
0.03162239119410515,
-0.3667481243610382,
0.20270514488220215,
-0.16569297015666962,
0.05936086177825928,
-0.27337244153022766,
-0.2316552847623825,
-0.21230992674827576,
0.38580209016799927,
-0.4829074740409851,
-0.011955547146499157,
-0.28936827182769775,
0.3726065456867218,
0.03928817808628082,
-0.44693517684936523,
0.5557378530502319,
0.0212080180644989,
0.08547744154930115,
0.06124510616064072,
-0.1461111456155777,
0.21970748901367188,
-0.030961185693740845,
0.37770015001296997,
0.15926465392112732,
0.2997509837150574,
-0.037306174635887146,
0.7344342470169067,
-0.028407756239175797,
-0.5047063827514648,
0.16964104771614075,
0.2387302815914154,
0.3930850028991699,
-0.07882257550954819,
-0.15843378007411957,
0.13389447331428528,
0.2518615424633026,
-0.33103883266448975,
0.31787174940109253,
-0.27415719628334045,
-0.34398162364959717,
-0.0387013740837574,
0.15862508118152618,
-0.0010819658637046814,
-0.20626728236675262,
0.17662844061851501,
-0.7970572113990784,
-0.10745949298143387,
-0.16002614796161652,
0.19391143321990967,
-0.12206368148326874,
-0.23741954565048218,
0.01580282673239708,
0.37494713068008423,
0.2153916209936142,
-0.014978657476603985,
-0.11749625205993652,
0.1401442140340805,
0.03312412649393082,
0.23735640943050385,
-0.037214495241642,
-0.005100916139781475,
-0.04963449016213417,
-0.2016562521457672,
0.0938049703836441,
-0.07253624498844147,
0.2020127773284912,
-0.41006433963775635,
0.033985670655965805,
0.18189898133277893,
-0.28018811345100403,
0.3054531514644623,
-0.3420827388763428,
-0.45791342854499817,
-0.03143690899014473,
0.468206524848938,
0.19431498646736145,
-0.2988682687282562,
-0.03715157508850098,
0.042045556008815765,
-0.2765418291091919,
0.1360922008752823,
-0.2826239764690399,
-0.13310173153877258,
0.09034504741430283,
-0.3385542929172516,
0.6623169779777527,
-0.18983717262744904,
-0.2692161500453949,
-0.6518130302429199,
-0.2114182412624359,
-0.2321886569261551,
0.1283036768436432,
0.2671898603439331,
0.16684074699878693,
-0.052854254841804504,
-0.009396840818226337,
-0.14881162345409393,
-0.11430379748344421,
0.2454066425561905,
0.44421863555908203,
-0.02443726360797882,
-0.12245342135429382,
-0.09320761263370514,
0.14288243651390076,
-0.2205987423658371,
0.141625314950943,
0.28509849309921265,
0.05254720523953438,
-0.03389624506235123,
-0.18656398355960846,
0.35286593437194824,
-0.2392270565032959,
0.1271670162677765,
-0.06411963701248169,
-0.15761911869049072,
-0.26965564489364624,
0.04022384434938431,
0.291012704372406,
0.19115489721298218,
-0.3736056089401245,
0.5450481176376343,
-0.19563083350658417,
-0.22783328592777252,
0.5057579874992371,
0.4562282860279083,
1.1523863077163696,
-0.24823205173015594,
0.2191808670759201,
-0.10857921093702316,
-0.0841560885310173,
0.4723013639450073,
0.3848634362220764,
-0.011758606880903244,
-0.21200306713581085,
-0.2645024359226227,
-0.1852090209722519,
-0.3926188349723816,
0.2635304927825928,
0.14854680001735687,
-0.7078678011894226,
0.2270415723323822,
0.03378256410360336,
0.3359964191913605,
0.17555999755859375,
0.0870659351348877,
-0.09534968435764313,
-0.15545791387557983,
-0.10143492370843887,
-0.09929314255714417,
0.016261495649814606,
0.32365232706069946,
-0.3466199040412903,
-0.058056510984897614,
-0.015574891120195389,
-0.11439064890146255,
-0.3049549460411072,
0.04936322569847107,
-0.33797332644462585,
-0.1393229365348816,
-0.13583128154277802,
-0.34754931926727295,
0.4481000602245331,
0.4424112141132355,
0.42673951387405396,
0.08298984169960022,
-0.30688297748565674,
-0.007877614349126816,
0.057169921696186066,
0.2129502147436142,
0.311368465423584,
-0.33172762393951416,
0.29536062479019165,
0.1347147524356842,
0.0959126278758049,
-0.06007616966962814,
-0.10829950869083405,
-0.5845535397529602,
-0.23382356762886047,
-0.2322489470243454,
-0.1465112715959549,
0.09008051455020905,
-0.018970847129821777,
-0.03810345381498337,
-0.5157055258750916,
-0.2267829030752182,
-0.04693411663174629,
-0.016458310186862946,
0.1395716816186905,
0.527587890625,
0.013518210500478745,
-0.47253116965293884,
-0.1948394626379013,
-0.24191394448280334,
-0.20295462012290955,
0.09855709969997406,
0.07095655798912048,
-0.23091274499893188,
-0.0036650002002716064,
-0.4324764907360077,
0.10862285643815994,
-0.2804671823978424,
-0.1903555691242218,
0.503224790096283,
-0.25872328877449036,
-0.2150912880897522,
-0.15797331929206848,
-0.029881823807954788,
0.48394227027893066,
0.5985114574432373,
0.03302441164851189,
-0.29978519678115845,
-0.1358228623867035,
0.049954675137996674,
0.14647643268108368,
0.4714747667312622,
-0.39169296622276306,
0.2681896388530731,
0.13316364586353302,
0.12494239211082458,
-0.13985618948936462,
0.11160017549991608,
-0.20189574360847473,
0.04487357661128044,
-0.23945286870002747,
0.11990317702293396,
-0.11981736868619919,
0.0031082741916179657,
-0.19764871895313263,
-0.23880918323993683,
-0.13941837847232819,
0.02547721564769745,
-0.07092062383890152,
0.26712363958358765,
0.09270630776882172,
0.07117846608161926,
0.10447323322296143,
-0.19259881973266602,
0.01950317993760109,
-0.22698909044265747,
-0.19690340757369995,
-0.18782088160514832,
-0.09458616375923157,
0.0406106598675251,
0.4552862048149109,
0.40559643507003784,
-0.055354535579681396,
0.07876434922218323,
-0.19801053404808044,
0.14808553457260132,
-0.08274249732494354,
0.3121602535247803,
-0.1817244440317154,
-0.05613408237695694,
-0.2030249685049057,
0.16096246242523193,
0.40251195430755615,
0.18440788984298706,
0.1163354367017746,
0.2933512330055237,
-0.08533133566379547,
-0.04299328476190567,
0.18802687525749207,
0.3637036085128784,
-0.009966874495148659,
-0.12143294513225555,
0.41121628880500793,
-0.009798260405659676,
-0.19221147894859314,
0.26042190194129944,
0.0540383942425251,
0.30393335223197937,
0.06380300223827362,
0.18520230054855347,
0.15245762467384338,
-0.0804607942700386,
0.025902368128299713,
-0.25451231002807617,
0.26622602343559265,
-0.2028609812259674,
0.4656364619731903,
0.5020650625228882,
0.018737230449914932,
0.2396567463874817,
0.30740654468536377,
-0.13148894906044006,
0.08983603119850159,
-0.20227007567882538,
-0.04085295647382736,
0.4488843083381653,
-0.005583375692367554,
0.3057701885700226,
0.012484386563301086,
-0.01674487441778183,
-0.004643496125936508,
0.684984028339386,
0.30440691113471985,
0.2462858259677887,
0.29375606775283813,
0.24984946846961975,
-0.03761579096317291,
-0.24225077033042908,
-0.6589733362197876,
-0.049698542803525925,
0.27773186564445496,
-0.09123802185058594,
-0.35846585035324097,
-0.1116122305393219,
-0.1562940776348114,
0.01303909346461296,
-0.12966187298297882,
0.17379988729953766,
0.4884128272533417,
0.24395225942134857,
0.341595321893692,
-0.5068666934967041,
0.49250516295433044,
-0.15178900957107544,
0.1588897705078125,
-0.2977493703365326,
0.0854245200753212,
-0.014074981212615967,
0.03295818716287613,
0.18327125906944275,
0.1679462343454361,
0.18017718195915222,
0.284879207611084,
-0.19414126873016357,
-0.202175110578537,
-0.37243175506591797,
0.1345173865556717,
-0.07398004829883575,
0.3350793123245239,
0.29971837997436523,
-0.346887469291687,
0.311872273683548,
-0.04068570211529732,
0.03268684074282646,
0.5173629522323608,
-0.09247979521751404,
-0.27336785197257996,
-0.161415234208107,
0.6108116507530212,
0.42640185356140137,
-0.060217782855033875,
0.1503993272781372,
0.2930927276611328,
0.13225367665290833,
-0.015298142097890377,
-0.1361214518547058,
-0.27727210521698,
0.010378066450357437,
0.2596440017223358,
-0.02735486440360546,
0.07024916261434555,
0.28845271468162537,
0.31309524178504944,
0.3647661507129669,
-0.21507903933525085,
-0.19669988751411438,
-0.5723659992218018,
-0.017318151891231537,
-0.02977900579571724,
0.27656692266464233,
0.025654258206486702,
0.23030079901218414,
0.20254647731781006,
-0.07059711217880249,
-0.031554579734802246,
0.19500546157360077,
-0.13545547425746918,
0.11897522956132889,
-0.35450753569602966,
0.27058595418930054,
-0.13861095905303955,
0.03703623265028,
-0.15712887048721313,
-0.30177077651023865,
-0.01830645278096199,
0.33462291955947876,
-0.2989451587200165,
0.05565663054585457,
0.20322492718696594,
-0.045491740107536316,
0.20002660155296326,
0.38081324100494385,
0.13260599970817566,
0.3312554955482483,
0.12846052646636963,
-0.20170284807682037,
-0.18309004604816437,
-0.2445245236158371,
-0.14278705418109894,
0.18769854307174683,
-0.025102488696575165,
0.042538389563560486,
-0.31228163838386536,
0.27875563502311707,
-0.07481659203767776,
-0.015290808863937855,
0.029252327978610992,
0.29553917050361633,
-0.5610472559928894,
-0.18389111757278442,
-0.132053941488266,
0.2677442729473114,
-0.04007934033870697,
0.10371723771095276,
-0.04114549607038498,
0.12741683423519135,
-0.3151969909667969,
0.17839108407497406,
0.42431968450546265,
0.27469131350517273,
0.01728721708059311,
-0.26659587025642395,
0.28574255108833313,
0.25183382630348206,
-0.012679299339652061,
-0.1462773084640503,
-0.17666201293468475,
0.28049856424331665,
0.04198962077498436,
0.031580131500959396,
0.1879296898841858,
0.04819779098033905,
0.10158675909042358,
-0.269223690032959,
0.3101348876953125,
-0.17038562893867493,
-0.166115403175354,
-0.15664413571357727,
-0.3473557233810425
] |
https://github.com/huggingface/datasets/pull/244 | Add Allociné Dataset | LGTM, thanks a lot for adding dummy data tests :-) Was it difficult to create the correct dummy data folder? | This is a french binary sentiment classification dataset, which was used to train this model: https://huggingface.co/tblard/tf-allocine.
Basically, it's a french "IMDB" dataset, with more reviews.
More info on [this repo](https://github.com/TheophileBlard/french-sentiment-analysis-with-bert). | 20 | text: Add Allociné Dataset
This is a french binary sentiment classification dataset, which was used to train this model: https://huggingface.co/tblard/tf-allocine.
Basically, it's a french "IMDB" dataset, with more reviews.
More info on [this repo](https://github.com/TheophileBlard/french-sentiment-analysis-with-bert).
LGTM, thanks a lot for adding dummy data tests :-) Was it difficult to create the correct dummy data folder? | [
0.06612101197242737,
0.1394473910331726,
-0.043265439569950104,
0.4577539563179016,
-0.0855889618396759,
0.18505266308784485,
0.2606354355812073,
0.16751234233379364,
-0.022314921021461487,
-0.041264668107032776,
-0.10986708104610443,
-0.4570719599723816,
-0.25061360001564026,
-0.22473888099193573,
0.324777752161026,
0.09645476937294006,
0.01767127215862274,
0.23730029165744781,
-0.012575142085552216,
-0.29164615273475647,
-0.25484415888786316,
0.21728438138961792,
0.04730084538459778,
-0.06249530613422394,
-0.4420844316482544,
0.03607410937547684,
-0.41067513823509216,
0.26767125725746155,
-0.22559233009815216,
-0.3096485435962677,
0.23763464391231537,
0.15009810030460358,
-0.313080757856369,
0.37162744998931885,
-0.00011458633525762707,
-0.04888671264052391,
0.0027619153261184692,
-0.3204951286315918,
-0.30212005972862244,
-0.1306735724210739,
-0.03942506015300751,
-0.11419156938791275,
-0.036991916596889496,
-0.002286165952682495,
-0.09328481554985046,
-0.03247588872909546,
0.12408138811588287,
-0.36043113470077515,
-0.10299772024154663,
0.45383939146995544,
0.19141601026058197,
0.07089230418205261,
-0.24921685457229614,
-0.14677013456821442,
0.4470847547054291,
0.4054420590400696,
-0.22387129068374634,
0.12903337180614471,
0.320392906665802,
0.05702339857816696,
-0.07145332545042038,
0.14092206954956055,
0.029954997822642326,
0.0194397009909153,
0.19355788826942444,
-0.21040058135986328,
0.06469357758760452,
-0.35542961955070496,
0.053027085959911346,
0.4508758783340454,
0.5150017738342285,
-0.018058739602565765,
-0.3021714687347412,
0.04919663071632385,
0.16628915071487427,
-0.5179446935653687,
-0.11147930473089218,
0.197733074426651,
0.14580602943897247,
0.04899965226650238,
0.23778089880943298,
-0.24488979578018188,
-0.0907299816608429,
-0.008757248520851135,
-0.16741052269935608,
0.18555572628974915,
-0.09295690059661865,
-0.16495633125305176,
0.23675593733787537,
0.2294028252363205,
-0.4558764398097992,
0.003423348069190979,
-0.36748090386390686,
0.13081568479537964,
0.0013229884207248688,
-0.26428747177124023,
0.011190742254257202,
0.26079678535461426,
0.20421060919761658,
-0.2628202438354492,
-0.006066278554499149,
-0.11719692498445511,
-0.2027837187051773,
-0.11406562477350235,
-0.08468680083751678,
0.41253310441970825,
-0.27920639514923096,
0.327150821685791,
0.04064864665269852,
-0.2658650279045105,
-0.13047142326831818,
0.03097052127122879,
-0.304793119430542,
-0.07343738526105881,
-0.13574808835983276,
0.011635499075055122,
-0.12421441823244095,
-0.1633419394493103,
-0.5246950387954712,
0.0817607194185257,
0.10338305681943893,
-0.18318501114845276,
-0.061104726046323776,
0.33070188760757446,
-0.14512109756469727,
0.036800432950258255,
-0.009660135954618454,
0.29778534173965454,
-0.26043686270713806,
-0.25805750489234924,
-0.22581757605075836,
0.3218640089035034,
-0.3142666518688202,
-0.15765579044818878,
0.2356688529253006,
0.09063258767127991,
0.060832589864730835,
0.047666363418102264,
-0.0846591591835022,
0.22471526265144348,
0.29171326756477356,
-0.22232578694820404,
0.5224772691726685,
0.17926540970802307,
0.045139018446207047,
0.18046922981739044,
0.32531023025512695,
0.18692569434642792,
-0.13988253474235535,
0.12294728308916092,
-0.0985502228140831,
-0.35873106122016907,
-0.482006311416626,
0.15488088130950928,
-0.06681056320667267,
-0.27157020568847656,
-0.1249912902712822,
0.3829583525657654,
-0.023187898099422455,
-0.14384949207305908,
-0.013100028038024902,
0.0031006913632154465,
-0.017736312001943588,
0.13426059484481812,
-0.011944442987442017,
0.6830549836158752,
-0.6572995781898499,
0.03238893300294876,
-0.5267775654792786,
0.013727904297411442,
0.4316348433494568,
0.3031672239303589,
-0.23226679861545563,
0.2358742356300354,
-0.33933526277542114,
-0.13623619079589844,
0.46799811720848083,
0.1561930626630783,
-0.17042742669582367,
-0.06935717165470123,
-0.31380414962768555,
0.169550359249115,
0.27203860878944397,
0.27080038189888,
0.03592514991760254,
0.021431464701890945,
0.12807270884513855,
-0.06434018164873123,
-0.06998679041862488,
-0.0460016205906868,
-0.11919808387756348,
-0.1566488891839981,
0.5319923162460327,
0.06147504970431328,
0.2420199066400528,
0.11207523941993713,
-0.044817082583904266,
0.2380494326353073,
0.3060552775859833,
-0.22472411394119263,
-0.05794518440961838,
-0.023567315191030502,
0.18412406742572784,
0.04644302278757095,
0.137851744890213,
0.36636704206466675,
-0.23726963996887207,
-0.002078048884868622,
-0.014934781938791275,
0.6311604380607605,
-0.10473844408988953,
0.00714762881398201,
-0.27053090929985046,
-0.3005899488925934,
-0.22401537001132965,
-0.3563769459724426,
0.14261284470558167,
0.3659537136554718,
-0.2168247401714325,
-0.061972878873348236,
-0.30699780583381653,
0.11875928193330765,
-0.08301485329866409,
-0.036246322095394135,
0.04403132200241089,
-0.05450653284788132,
-0.16704680025577545,
-0.031400490552186966,
-0.1365116685628891,
0.1658266931772232,
-0.19703924655914307,
-0.33372822403907776,
-0.16557815670967102,
0.049835022538900375,
-0.10242945700883865,
-0.026229634881019592,
0.3698258399963379,
0.3397912383079529,
0.17651012539863586,
-0.3228866159915924,
0.15024249255657196,
-0.06692036986351013,
0.008175257593393326,
-0.026681605726480484,
0.10163795948028564,
0.3063535690307617,
0.10270796716213226,
-0.1284966766834259,
-0.03551676124334335,
-0.23023460805416107,
0.14817406237125397,
0.1343224048614502,
-0.004174168221652508,
-0.15584872663021088,
0.6268119215965271,
0.3561837375164032,
0.45390671491622925,
0.2348000705242157,
-0.2719593048095703,
0.12589888274669647,
0.36586427688598633,
-0.09368449449539185,
0.29697471857070923,
0.1356818526983261,
-0.10732526332139969,
-0.17405849695205688,
-0.12507294118404388,
-0.4315354526042938,
0.11268044263124466,
0.1943812072277069,
0.018406011164188385,
-0.08066722750663757,
-0.16357429325580597,
-0.28111758828163147,
0.16335220634937286,
-0.12224270403385162,
-0.15396374464035034,
0.10435999929904938,
0.0616954006254673,
0.187765970826149,
-0.5321225523948669,
-0.1762658804655075,
0.13908196985721588,
0.4226986765861511,
-0.18826442956924438,
0.00012731552124023438,
0.14108946919441223,
0.0015910826623439789,
0.1003180518746376,
-0.13895128667354584,
-0.2560645043849945,
-0.16802138090133667,
0.2229360193014145,
-0.3813799321651459,
0.0860600620508194,
-0.018532829359173775,
-0.2788481116294861,
0.7876330614089966,
0.006271259859204292,
-0.26006248593330383,
-0.012706801295280457,
-0.17529137432575226,
-0.2578262388706207,
0.1665123552083969,
0.2765408158302307,
-0.17819641530513763,
0.3794890344142914,
-0.43602505326271057,
0.06879445165395737,
0.2963916063308716,
-0.3817310035228729,
0.22311119735240936,
-0.11345875263214111,
0.1901453286409378,
0.01749703288078308,
0.32716089487075806,
-0.15052789449691772,
0.06553138047456741,
-0.09340500086545944,
0.033024370670318604,
-0.2609370946884155,
0.03617066517472267,
-0.3675037920475006,
-0.10071705281734467,
-0.058364082127809525,
-0.5941563248634338,
-0.36845913529396057,
-0.13864214718341827,
0.08182575553655624,
0.1372753530740738,
0.1005823165178299,
0.11099495738744736,
0.000676826573908329,
0.31259825825691223,
-0.0747038945555687,
0.1832127571105957,
-0.24020840227603912,
-0.3064607083797455,
0.5042895078659058,
-0.07008576393127441,
-0.1282723993062973,
-0.07668434083461761,
-0.10429345816373825,
0.08466421067714691,
-0.4820306897163391,
-0.7553533911705017,
0.04220277816057205,
-0.015715787187218666,
0.06797420978546143,
0.14607273042201996,
-0.10741804540157318,
0.2893527150154114,
-0.10510668158531189,
-0.14740805327892303,
-0.16604261100292206,
-0.0016253180801868439,
0.17598849534988403,
-0.03977759927511215,
0.10691098123788834,
-0.5599641799926758,
-0.21987324953079224,
-0.06699791550636292,
0.6457343101501465,
-0.0005394499748945236,
-0.0936068445444107,
0.238371342420578,
-0.11562696844339371,
0.5181412100791931,
-0.29237881302833557,
-0.5867553949356079,
0.07633908092975616,
0.16691072285175323,
-0.11698678880929947,
0.3745594620704651,
-0.11852177232503891,
-0.39139240980148315,
0.015135571360588074,
0.16791710257530212,
0.05346044898033142,
-0.1780523806810379,
0.32879188656806946,
-0.3842105567455292,
-0.06375084072351456,
-0.09090572595596313,
-0.5850970149040222,
-0.18821676075458527,
-0.09761974215507507,
0.10006161034107208,
0.3713945150375366,
0.20148852467536926,
0.09429483115673065,
-0.06427579373121262,
0.02636449597775936,
-0.2013341188430786,
0.2465910166501999,
-0.17200413346290588,
-0.044100526720285416,
-0.3846234083175659,
0.143076092004776,
-0.009727761149406433,
0.06956940144300461,
0.3201274871826172,
-0.030239460989832878,
-0.3203425407409668,
0.24899381399154663,
0.12680684030056,
-0.0151691734790802,
0.13972215354442596,
-0.2411952018737793,
-0.05139387398958206,
0.5494874715805054,
0.5702027678489685,
-0.18249920010566711,
-0.02463102899491787,
0.2735403776168823,
0.18610823154449463,
-0.22295276820659637,
0.03647423908114433,
-0.2987743020057678,
-0.18447339534759521,
0.033594004809856415,
0.2711273729801178,
0.2735932171344757,
0.13618169724941254,
0.10846415162086487,
-0.015967601910233498,
0.18131211400032043,
0.202313631772995,
0.4337024688720703,
-0.07704475522041321,
0.009931840933859348,
0.33139461278915405,
-0.15747134387493134,
0.22170431911945343,
0.15536896884441376,
-0.037134408950805664,
0.6631870865821838,
-0.11819857358932495,
0.03227416053414345,
0.4582490622997284,
-0.03795166313648224,
0.3018946945667267,
0.5012896060943604,
0.2064104676246643,
-0.04082904011011124,
-0.3996753692626953,
-0.17705295979976654,
-0.1806517243385315,
0.5543003082275391,
0.17235895991325378,
-0.256425142288208,
-0.1740168184041977,
-0.4204867482185364,
0.07958653569221497,
-0.037879087030887604,
0.0010524466633796692,
0.43272438645362854,
0.4077339172363281,
-0.37827539443969727,
0.34864163398742676,
0.11344196647405624,
1.226393461227417,
0.25375181436538696,
0.6062038540840149,
0.11244702339172363,
0.18394704163074493,
0.13764867186546326,
-0.06519609689712524,
-0.011910706758499146,
-0.3459663689136505,
0.14404593408107758,
-0.05187693238258362,
-0.23166672885417938,
0.11564528942108154,
0.12068621814250946,
-0.20359846949577332,
0.2182445377111435,
-0.17532265186309814,
-0.19516794383525848,
-0.020147060975432396,
0.30205756425857544,
0.16729414463043213,
-0.10723608732223511,
0.3786012530326843,
0.1530894637107849,
0.24059522151947021,
0.21579872071743011,
-0.015480131842195988,
-0.07904832065105438,
-0.2003011256456375,
0.12030641734600067,
-0.4912301301956177,
-0.12609615921974182,
-0.6768243312835693,
-0.1698213815689087,
-0.2655281722545624,
0.007476538419723511,
0.09946440160274506,
0.04046051949262619,
0.4876806139945984,
0.2803436815738678,
-0.13374334573745728,
0.22136938571929932,
0.15709012746810913,
0.07102999836206436,
0.32056543231010437,
-0.06787954270839691,
0.40857821702957153,
-0.008026989176869392,
-0.10402972251176834,
0.07685285806655884,
-0.26958167552948,
-0.01091848686337471,
-0.25037142634391785,
-0.3939635753631592,
0.058339327573776245,
-0.09486739337444305,
-0.2752499580383301,
0.22456929087638855,
-0.1109912246465683,
-0.16560529172420502,
0.17731942236423492,
0.16167980432510376,
-0.239221453666687,
-0.19741901755332947,
-0.08428071439266205,
-0.5136964321136475,
-0.3207516670227051,
-0.23760613799095154,
0.022201810032129288,
0.03181805461645126,
0.5206613540649414,
-0.02396785467863083,
0.001881677657365799,
-0.2696218490600586,
0.23454269766807556,
0.5570685863494873,
-0.7062509059906006,
-0.015409347601234913,
-0.10599395632743835,
-0.28754347562789917,
-0.10966705530881882,
0.421144962310791,
0.4594295620918274,
0.3352150619029999,
-0.06575171649456024,
-0.13509686291217804,
-0.306357204914093,
-0.07295477390289307,
0.4424602687358856,
0.3948579430580139,
-0.07426710426807404,
-0.1376051902770996,
0.14997035264968872,
0.2782541811466217,
-0.36506038904190063,
-0.1218361034989357,
-0.032521240413188934,
0.12095519155263901,
-0.031635429710149765,
-0.21877887845039368,
0.1951334923505783,
0.15696656703948975,
0.15444530546665192,
-0.01677018776535988,
-0.17529727518558502,
-0.16194739937782288,
-0.19386054575443268,
0.18065245449543,
0.15627169609069824,
-0.1886066049337387,
0.17814315855503082,
-0.20762991905212402,
-0.07308785617351532,
0.10999833792448044,
-0.015221981331706047,
-0.15634697675704956,
0.012729372829198837,
0.011898868717253208,
0.06073789298534393,
-0.26284995675086975,
-0.038357339799404144,
-0.09200678765773773,
0.22181984782218933,
0.2713056206703186,
0.18213026225566864,
0.06658943742513657,
-0.00444534607231617,
-0.22381043434143066,
-0.018085340037941933,
0.2153276801109314,
0.10821649432182312,
0.40260010957717896,
0.056329358369112015,
-0.031149357557296753,
0.21404674649238586,
0.03604425489902496,
0.1902131736278534,
0.10216042399406433,
-0.15898439288139343,
0.03479291498661041,
0.1921198070049286,
0.15649984776973724,
-0.3567650318145752,
-0.03060709871351719,
0.06835024058818817,
-0.09329548478126526,
-0.011366188526153564,
0.22433486580848694,
0.33434414863586426,
0.3501485288143158,
0.03969791531562805,
-0.05540713667869568,
0.20756761729717255,
-0.13402439653873444,
0.10749892890453339,
-0.04624300077557564,
-0.4503169655799866,
0.08337923884391785,
0.5198259949684143,
0.15750499069690704,
0.12183260917663574,
0.3525640368461609,
0.008778966963291168,
0.2778841555118561,
0.21806886792182922,
0.005593813955783844,
-0.10479334741830826,
0.017006292939186096,
0.6074587106704712,
0.32497555017471313,
-0.006828919053077698,
0.34623435139656067,
0.06984352320432663,
0.084379181265831,
-0.48797112703323364,
-0.11437155306339264,
-0.11980573832988739,
0.22703108191490173,
-0.2898315191268921,
-0.015089914202690125,
-0.155446857213974,
-0.42161646485328674,
-0.36314716935157776,
0.046587202697992325,
0.03026995062828064,
-0.016716502606868744,
-0.28534165024757385,
0.18046900629997253,
-0.05864505469799042,
-0.052230432629585266,
0.03210441395640373,
0.060923680663108826,
0.17975647747516632,
-0.21528054773807526,
0.38018062710762024,
0.32241135835647583,
0.06134570389986038,
0.1246558278799057,
0.5102525353431702,
0.2032421976327896,
0.35248103737831116,
0.01771664060652256,
-0.11862639337778091,
0.0451456680893898,
-0.18099194765090942,
-0.07797324657440186,
0.25636979937553406,
0.03702213615179062,
0.007955227047204971,
0.09320619702339172,
0.05109734088182449,
-0.17919932305812836,
0.3987792730331421,
0.12512177228927612,
0.038539767265319824,
-0.047146331518888474,
0.30014872550964355,
-0.1404779553413391,
0.04284551739692688,
-0.4104849100112915,
0.17267505824565887,
-0.39496633410453796,
0.07376468926668167,
0.49973031878471375,
-0.22058384120464325,
0.0374855101108551,
-0.22332829236984253,
0.068544901907444,
0.058411482721567154,
0.4148964285850525,
0.30981194972991943,
-0.04847104847431183,
-0.5129824280738831,
0.030613645911216736,
-0.6419388651847839,
0.2308279573917389,
0.03357872739434242,
-0.0035224612802267075,
-0.07445219159126282,
0.394368052482605,
0.24931782484054565,
-0.10726401209831238,
0.015090957283973694,
-0.040174905210733414,
0.0787145346403122,
0.061730921268463135,
-0.4421992301940918,
0.2794470191001892,
-0.13392576575279236,
0.43720516562461853,
-0.1972130686044693,
-0.12128598988056183,
0.032436553388834,
0.05040765181183815,
0.10155285149812698,
-0.14831537008285522,
-0.5901293754577637,
0.24013590812683105,
0.48981142044067383,
0.10415108501911163,
-0.12582896649837494,
0.4969211518764496,
-0.12487465888261795,
-0.16108731925487518,
-0.14316007494926453,
-0.30142682790756226,
-0.11159482598304749,
0.03225914016366005,
0.15348276495933533,
0.5130232572555542,
-0.055995576083660126,
-0.21030928194522858,
-0.14706651866436005,
-0.2147826999425888,
-0.09505099058151245,
-0.29026931524276733,
-0.566394567489624,
0.20013512670993805,
0.018688976764678955,
-0.05294245108962059,
-0.029215678572654724,
0.20262104272842407,
0.12093756347894669,
-0.18755733966827393,
-0.13775688409805298,
0.08648992329835892,
0.33260953426361084,
-0.08530299365520477,
-0.08742213249206543,
-0.1309150904417038,
0.11708817631006241,
0.4585111737251282,
0.18417736887931824,
-0.2776218354701996,
0.19711053371429443,
0.3586936295032501,
0.1479112207889557,
0.0027314983308315277,
0.29239410161972046,
0.22783410549163818,
0.19848348200321198,
-0.1238536685705185,
0.41101327538490295,
-0.07136046141386032,
-0.2109754979610443,
0.04861336573958397,
-0.3480302691459656
] |
https://github.com/huggingface/datasets/pull/241 | Fix empty cache dir | Looks great! Will this change force all cached datasets to be redownloaded? But even if it does, it shoud not be a big problem, I think | If the cache dir of a dataset is empty, the dataset fails to load and throws a FileNotFounfError. We could end up with empty cache dir because there was a line in the code that created the cache dir without using a temp dir. Using a temp dir is useful as it gets renamed to the real cache dir only if the full process is successful.
So I removed this bad line, and I also reordered things a bit to make sure that we always use a temp dir. I also added warning if we still end up with empty cache dirs in the future.
This should fix #239
| 26 | text: Fix empty cache dir
If the cache dir of a dataset is empty, the dataset fails to load and throws a FileNotFounfError. We could end up with empty cache dir because there was a line in the code that created the cache dir without using a temp dir. Using a temp dir is useful as it gets renamed to the real cache dir only if the full process is successful.
So I removed this bad line, and I also reordered things a bit to make sure that we always use a temp dir. I also added warning if we still end up with empty cache dirs in the future.
This should fix #239
Looks great! Will this change force all cached datasets to be redownloaded? But even if it does, it shoud not be a big problem, I think | [
0.06972825527191162,
0.055617526173591614,
-0.17565366625785828,
0.046535611152648926,
0.1812473088502884,
0.008481360971927643,
0.2178441286087036,
0.3449811041355133,
-0.10599984228610992,
0.10999807715415955,
-0.00006661121733486652,
0.06028235703706741,
0.0668262466788292,
-0.07521041482686996,
0.05281783640384674,
0.26190704107284546,
0.01991579681634903,
0.1890161633491516,
0.003732331097126007,
0.19131170213222504,
-0.44276106357574463,
0.29298585653305054,
-0.23243124783039093,
-0.18733717501163483,
-0.4315948784351349,
0.2372244894504547,
-0.08353486657142639,
0.4653433561325073,
-0.1651792824268341,
-0.5171623229980469,
0.1478356420993805,
0.28849542140960693,
0.057023271918296814,
0.3497864902019501,
-0.00010328326607123017,
0.028895363211631775,
0.41830623149871826,
-0.10232263803482056,
-0.1961534470319748,
0.15595793724060059,
-0.25947248935699463,
-0.3387095034122467,
-0.06473715603351593,
-0.15647244453430176,
0.1286737322807312,
0.32324594259262085,
0.16718067228794098,
0.025928720831871033,
0.05955690145492554,
0.2461971938610077,
0.2864842414855957,
-0.2349657416343689,
-0.05530410259962082,
-0.0003841524012386799,
0.198388934135437,
0.13920900225639343,
-0.083489328622818,
0.23451745510101318,
0.1545804738998413,
0.09986327588558197,
-0.13548621535301208,
0.47093865275382996,
-0.22744712233543396,
0.11370059847831726,
0.5940456390380859,
-0.14913296699523926,
-0.07480569928884506,
-0.23256483674049377,
0.0968310683965683,
-0.0037551112473011017,
0.7380473613739014,
-0.04500696063041687,
-0.006588905118405819,
-0.15299037098884583,
0.04286344349384308,
-0.6949688792228699,
0.1558372676372528,
-0.15004867315292358,
0.055827949196100235,
0.023197786882519722,
0.008599926717579365,
-0.28827181458473206,
-0.13775698840618134,
-0.15444514155387878,
-0.17543089389801025,
0.3858877718448639,
-0.10713313519954681,
-0.20957913994789124,
-0.05548509582877159,
0.10473378747701645,
0.24506226181983948,
0.09947811812162399,
-0.31212151050567627,
-0.12399359047412872,
0.008572995662689209,
0.03256447613239288,
0.15289008617401123,
-0.06653697043657303,
-0.058365631848573685,
-0.10587175190448761,
0.10516965389251709,
0.2706216275691986,
-0.17100965976715088,
-0.16135111451148987,
-0.13429145514965057,
0.3603082299232483,
0.37179186940193176,
-0.022242052480578423,
0.1523040533065796,
0.08407311886548996,
0.04944420978426933,
-0.08322211354970932,
0.10316375643014908,
-0.30227094888687134,
0.1079590767621994,
0.34111812710762024,
0.24915339052677155,
-0.38329756259918213,
-0.07369263470172882,
0.1262444704771042,
0.15107470750808716,
-0.001669289544224739,
-0.09514640271663666,
0.24209490418434143,
0.09336333721876144,
0.31712064146995544,
0.15901826322078705,
-0.09283608198165894,
-0.24899350106716156,
-0.21180786192417145,
-0.15048561990261078,
-0.21993228793144226,
-0.21457840502262115,
-0.010732829570770264,
0.10702873766422272,
-0.018025100231170654,
0.2691253423690796,
-0.14328239858150482,
0.21097606420516968,
0.09786470234394073,
0.058810532093048096,
-0.015928098931908607,
0.42932358384132385,
0.30731162428855896,
-0.2295360565185547,
0.004885982722043991,
0.301370769739151,
-0.1541750580072403,
-0.041685622185468674,
0.55389404296875,
-0.286056786775589,
-0.5756816864013672,
-0.209567591547966,
0.28599175810813904,
-0.160663902759552,
-0.09264367818832397,
0.17409414052963257,
0.31468403339385986,
-0.11401241272687912,
-0.333368182182312,
0.39054974913597107,
0.03551657125353813,
-0.2531154155731201,
-0.1290886253118515,
-0.012955975718796253,
0.6829203367233276,
-0.3943706452846527,
0.004170089960098267,
-0.25939279794692993,
0.0015110354870557785,
0.08432292938232422,
-0.007480200380086899,
-0.10023562610149384,
0.010433219373226166,
-0.32414084672927856,
0.22191636264324188,
-0.04596401005983353,
-0.3467124402523041,
-0.1563282608985901,
0.11205404251813889,
-0.08713072538375854,
0.05275113880634308,
-0.13530784845352173,
0.0011256167199462652,
-0.21070796251296997,
-0.12330471724271774,
0.12803226709365845,
-0.3380558490753174,
-0.01963050849735737,
-0.10802142322063446,
-0.7011175155639648,
0.013831479474902153,
0.1848001927137375,
-0.04227893799543381,
0.19048543274402618,
0.1249694898724556,
-0.036966197192668915,
0.01209621224552393,
0.13847269117832184,
-0.10707458853721619,
-0.08105640858411789,
0.39706307649612427,
0.4507826566696167,
0.08452297747135162,
0.04574109986424446,
0.4085366129875183,
-0.668724000453949,
0.10095132142305374,
-0.21863825619220734,
0.19569902122020721,
0.07018774747848511,
-0.10535410046577454,
0.005228418856859207,
-0.2654047906398773,
-0.21802584826946259,
-0.4655381739139557,
0.24037399888038635,
-0.005792438983917236,
-0.05387158691883087,
-0.45030248165130615,
-0.21156859397888184,
0.36275482177734375,
-0.3122570514678955,
-0.06535892933607101,
-0.12071576714515686,
0.01788998581469059,
-0.21680724620819092,
0.04735398665070534,
-0.3694688379764557,
0.07188031077384949,
0.2890182435512543,
-0.14038261771202087,
-0.19603696465492249,
0.5867046117782593,
-0.17855213582515717,
-0.25241661071777344,
0.09544657170772552,
0.15638700127601624,
0.1244332492351532,
-0.06364208459854126,
0.07786689698696136,
0.053953882306814194,
0.013129991479218006,
-0.12244322896003723,
0.06419464945793152,
0.08641976118087769,
-0.5220157504081726,
-0.030673734843730927,
-0.2645130157470703,
-0.262239545583725,
0.0637296512722969,
-0.08162812143564224,
-0.10856062173843384,
-0.06939345598220825,
-0.008765816688537598,
0.2216402292251587,
-0.09418213367462158,
0.1945873498916626,
-0.08948501944541931,
0.22206765413284302,
-0.04506756737828255,
-0.07394413650035858,
-0.19042161107063293,
0.18865153193473816,
0.04489445686340332,
-0.2801872491836548,
0.19867874681949615,
0.12082447111606598,
0.41007155179977417,
0.28438517451286316,
-0.1646198034286499,
0.1645679622888565,
0.22635111212730408,
-0.31539779901504517,
0.5572464466094971,
0.07974160462617874,
0.168093740940094,
0.2814798951148987,
-0.2505877912044525,
0.06328825652599335,
-0.19144701957702637,
-0.3637958765029907,
0.14437326788902283,
0.3009410500526428,
-0.29684731364250183,
-0.33166131377220154,
0.08901888132095337,
-0.6399441957473755,
0.03685354068875313,
0.17993420362472534,
-0.16727136075496674,
-0.3967123329639435,
0.0942789763212204,
-0.13782291114330292,
-0.47027185559272766,
0.024963274598121643,
-0.10938344895839691,
0.22856464982032776,
-0.07528416067361832,
0.11234195530414581,
-0.4930320978164673,
-0.15683868527412415,
-0.1925240159034729,
0.13034756481647491,
0.13771164417266846,
-0.18999828398227692,
-0.23777885735034943,
-0.48575353622436523,
0.09886230528354645,
-0.48526114225387573,
-0.3545599579811096,
0.035830892622470856,
-0.0178971029818058,
0.030910003930330276,
0.11964448541402817,
0.3369402289390564,
-0.1650075763463974,
-0.11949796229600906,
0.0764603242278099,
-0.31426286697387695,
0.024922555312514305,
-0.013665989972651005,
-0.008123758248984814,
0.18407723307609558,
-0.41915246844291687,
-0.33005228638648987,
-0.060707829892635345,
-0.5058757066726685,
-0.05412700027227402,
-0.09149006009101868,
0.20880146324634552,
0.8287467360496521,
-0.09219140559434891,
0.10800784826278687,
-0.05547895282506943,
-0.35611775517463684,
-0.2502850294113159,
-0.34806206822395325,
0.1380072981119156,
-0.1233944371342659,
-0.12166920304298401,
0.16834402084350586,
0.12240065634250641,
0.16636724770069122,
-0.15080638229846954,
-0.3315545916557312,
-0.2053629457950592,
0.031607694923877716,
0.3860841989517212,
-0.312165766954422,
-0.02217123471200466,
0.4101676940917969,
0.12859976291656494,
-0.2603878378868103,
-0.01677744835615158,
-0.163127139210701,
-0.10679743438959122,
-0.04869820922613144,
0.19589456915855408,
-0.24774539470672607,
-0.23749160766601562,
0.021681606769561768,
0.5245585441589355,
-0.189632385969162,
0.06698968261480331,
0.3142440915107727,
0.24470102787017822,
0.7847822308540344,
-0.22597786784172058,
-0.03171034902334213,
0.12854990363121033,
0.09660151600837708,
-0.35486799478530884,
0.2942832112312317,
-0.14376336336135864,
-0.212509423494339,
-0.014728277921676636,
-0.09920461475849152,
-0.28464949131011963,
-0.11198753118515015,
0.28791993856430054,
-0.04213627427816391,
-0.10114508122205734,
0.2479097843170166,
-0.3699045181274414,
-0.23344355821609497,
-0.07557544857263565,
0.08569388091564178,
0.2866286635398865,
0.4234037399291992,
-0.03255842253565788,
-0.23901058733463287,
-0.004776299931108952,
-0.15359821915626526,
0.4022940397262573,
0.05654693767428398,
-0.06450729072093964,
0.029306892305612564,
-0.3177666962146759,
-0.15143918991088867,
0.1350962221622467,
0.6543692350387573,
-0.25186023116111755,
-0.16821907460689545,
0.25923919677734375,
0.23289954662322998,
0.046076007187366486,
-0.22766490280628204,
-0.1276269257068634,
0.4723030924797058,
0.10921080410480499,
0.21036703884601593,
-0.06357131898403168,
-0.1816384494304657,
-0.009761840105056763,
-0.010538604110479355,
0.017350833863019943,
-0.11320137977600098,
-0.25075092911720276,
-0.24938666820526123,
-0.04578167200088501,
0.12848517298698425,
0.14247414469718933,
-0.028175465762615204,
-0.07311965525150299,
0.0907849371433258,
0.05225358158349991,
0.10133656114339828,
0.054214924573898315,
-0.15001535415649414,
0.5002439618110657,
0.3262529969215393,
-0.15288057923316956,
-0.046131446957588196,
0.044353045523166656,
0.17833328247070312,
0.2645200490951538,
-0.3156896233558655,
0.2573337256908417,
0.2145099937915802,
0.04155778884887695,
-0.04463481158018112,
0.4659740924835205,
0.2835372984409332,
0.009090587496757507,
-0.06578764319419861,
0.36743515729904175,
0.03482712060213089,
0.13031494617462158,
-0.1625813990831375,
0.17424748837947845,
-0.16769997775554657,
-0.2774360477924347,
0.35215064883232117,
0.012022051960229874,
-0.05569278076291084,
0.4780711233615875,
0.019188106060028076,
-0.06744871288537979,
0.002002992667257786,
0.26378342509269714,
0.8845478296279907,
0.019807007163763046,
0.22816145420074463,
0.004395781084895134,
-0.027899151667952538,
0.3241037428379059,
-0.49599969387054443,
0.27714449167251587,
-0.12337371706962585,
-0.43254178762435913,
0.0587330162525177,
0.05705418810248375,
0.09916967153549194,
0.03761547803878784,
-0.4872249364852905,
0.2196132093667984,
0.09574563801288605,
0.24585045874118805,
0.04258458688855171,
0.08790682256221771,
-0.2779548764228821,
0.08954964578151703,
0.09677360206842422,
0.14339983463287354,
-0.16733770072460175,
0.21731449663639069,
-0.42689546942710876,
-0.1463654786348343,
0.2340502142906189,
-0.1401672065258026,
-0.03090580180287361,
-0.02932969108223915,
-0.19417400658130646,
0.11252943426370621,
-0.04864669218659401,
0.16406257450580597,
-0.20724248886108398,
0.2761337459087372,
0.12973491847515106,
0.08140096068382263,
-0.14317581057548523,
0.19002757966518402,
0.28143006563186646,
0.3361252248287201,
0.15275774896144867,
-0.029123034328222275,
0.2740994095802307,
-0.10590679198503494,
-0.10781160742044449,
-0.10634667426347733,
-0.45109787583351135,
-0.17711614072322845,
-0.14685533940792084,
-0.023418277502059937,
-0.024567708373069763,
-0.10157198458909988,
-0.11623691022396088,
0.4273991286754608,
-0.22652992606163025,
-0.03673062101006508,
0.2106291800737381,
0.023432530462741852,
-0.2576584815979004,
-0.032165370881557465,
-0.06396828591823578,
-0.48734164237976074,
-0.009335484355688095,
-0.05555757135152817,
0.03652644529938698,
-0.09119313955307007,
0.4274570047855377,
-0.11055554449558258,
-0.0040823668241500854,
-0.19224828481674194,
-0.01666157692670822,
0.06546477228403091,
-0.08273628354072571,
0.25429627299308777,
-0.08645042032003403,
-0.06114596873521805,
0.13733726739883423,
0.15296101570129395,
0.2701871991157532,
0.350748747587204,
-0.16013973951339722,
0.10024720430374146,
-0.3677731156349182,
0.03459969907999039,
-0.19134323298931122,
0.37386399507522583,
-0.06998108327388763,
-0.23402391374111176,
0.3001682162284851,
-0.22938740253448486,
-0.4268980622291565,
0.13536694645881653,
-0.05891922861337662,
0.13103032112121582,
-0.2223649024963379,
-0.06305259466171265,
0.04627078026533127,
-0.2898409068584442,
0.09232384711503983,
0.28285664319992065,
-0.15932373702526093,
-0.28060755133628845,
0.15207533538341522,
0.14548459649085999,
-0.01746540516614914,
-0.08130215108394623,
0.1647600680589676,
0.13323913514614105,
0.04237546771764755,
0.07647021859884262,
-0.02140524797141552,
0.22835373878479004,
-0.14348745346069336,
0.4668429493904114,
0.33860135078430176,
0.040290314704179764,
-0.0011974498629570007,
0.09399066865444183,
0.23336045444011688,
0.20287880301475525,
-0.12738879024982452,
0.2574746310710907,
-0.15564890205860138,
0.0017235949635505676,
0.14949153363704681,
0.11247594654560089,
-0.3712683916091919,
0.157975971698761,
-0.07663273066282272,
-0.16337119042873383,
0.1363479495048523,
0.10851595550775528,
0.15368424355983734,
0.10466684401035309,
-0.02656812034547329,
-0.25234106183052063,
0.18375998735427856,
0.31120672821998596,
-0.16902345418930054,
0.11395782977342606,
-0.13074080646038055,
-0.07305191457271576,
0.002460043877363205,
0.08282918483018875,
0.34424513578414917,
-0.19849342107772827,
0.4432886838912964,
0.39483359456062317,
0.2321256846189499,
-0.09672628343105316,
0.24531574547290802,
0.20417934656143188,
-0.1815471649169922,
-0.06216641142964363,
0.3196379840373993,
-0.08639062941074371,
-0.039869703352451324,
0.3127989172935486,
0.035537559539079666,
0.3311048150062561,
-0.058258093893527985,
0.10380086302757263,
-0.1850578486919403,
-0.3687184154987335,
0.19697175920009613,
0.4134416878223419,
-0.10278333723545074,
0.24361133575439453,
0.19434571266174316,
0.05452911555767059,
-0.18100422620773315,
-0.2102668285369873,
0.20137572288513184,
-0.06385816633701324,
-0.37126582860946655,
0.09101814031600952,
-0.05029752105474472,
-0.20821616053581238,
0.06085258722305298,
0.04720940813422203,
0.09751489758491516,
0.0039902739226818085,
0.31610584259033203,
0.1843574345111847,
-0.24086545407772064,
0.06258819997310638,
0.48474496603012085,
0.054151177406311035,
0.3297775089740753,
-0.06982047110795975,
0.12744957208633423,
0.18503092229366302,
-0.3322241008281708,
0.40323904156684875,
0.6326000690460205,
0.4369885325431824,
0.3220934569835663,
0.25130778551101685,
-0.019553884863853455,
0.21237607300281525,
-0.12455032765865326,
-0.11083091795444489,
0.0032252129167318344,
0.20311307907104492,
-0.055767353624105453,
-0.07375188171863556,
0.2622372508049011,
-0.20951808989048004,
0.3518628776073456,
-0.18191994726657867,
0.19885434210300446,
0.12024961411952972,
-0.08108002692461014,
0.43200618028640747,
-0.2752402126789093,
-0.023998845368623734,
0.09717362374067307,
-0.4559144377708435,
-0.03673304617404938,
0.35541218519210815,
0.06035515293478966,
0.06574015319347382,
-0.004304095637053251,
0.1495860368013382,
0.10894255340099335,
0.2240145057439804,
0.2694460153579712,
-0.21305623650550842,
-0.401302307844162,
0.021699726581573486,
-0.7170270085334778,
0.2239203006029129,
0.24641244113445282,
0.16469144821166992,
0.08626662194728851,
0.034389279782772064,
-0.1045016273856163,
-0.1655680537223816,
0.20203298330307007,
-0.21541473269462585,
0.23693042993545532,
-0.10014215111732483,
-0.5683988332748413,
0.3192443549633026,
0.2086610645055771,
0.11507522314786911,
0.11113904416561127,
-0.2998204529285431,
0.0642697736620903,
0.30219322443008423,
0.21469664573669434,
-0.030539166182279587,
-0.047372035682201385,
0.19274847209453583,
0.3823113441467285,
0.27515119314193726,
0.14850637316703796,
-0.045788586139678955,
-0.10417606681585312,
-0.1744001805782318,
-0.30708742141723633,
-0.1588841825723648,
-0.10567396879196167,
0.11481265723705292,
0.2447211742401123,
0.15130844712257385,
-0.27658966183662415,
0.004182498902082443,
-0.28045785427093506,
0.020414117723703384,
-0.060575131326913834,
0.29131627082824707,
-0.43681657314300537,
0.16188238561153412,
-0.09739905595779419,
0.08402275294065475,
-0.009298284538090229,
0.3820018470287323,
0.24447831511497498,
-0.01848491095006466,
-0.7168454527854919,
-0.2767197787761688,
0.6271206140518188,
-0.22396749258041382,
-0.16545410454273224,
0.08056789636611938,
0.15458276867866516,
0.29473963379859924,
-0.1684074103832245,
-0.49093231558799744,
-0.04409695789217949,
0.23334020376205444,
0.01716446876525879,
-0.13182246685028076,
0.11090889573097229,
-0.2536662220954895,
-0.07982771098613739,
-0.23540832102298737,
0.14515388011932373,
0.2305653691291809,
-0.30566713213920593,
-0.10526733100414276,
-0.3832765817642212
] |
https://github.com/huggingface/datasets/pull/241 | Fix empty cache dir | > Looks great! Will this change force all cached datasets to be redownloaded? But even if it does, it shoud not be a big problem, I think
No it shouldn't force to redownload | If the cache dir of a dataset is empty, the dataset fails to load and throws a FileNotFounfError. We could end up with empty cache dir because there was a line in the code that created the cache dir without using a temp dir. Using a temp dir is useful as it gets renamed to the real cache dir only if the full process is successful.
So I removed this bad line, and I also reordered things a bit to make sure that we always use a temp dir. I also added warning if we still end up with empty cache dirs in the future.
This should fix #239
| 33 | text: Fix empty cache dir
If the cache dir of a dataset is empty, the dataset fails to load and throws a FileNotFounfError. We could end up with empty cache dir because there was a line in the code that created the cache dir without using a temp dir. Using a temp dir is useful as it gets renamed to the real cache dir only if the full process is successful.
So I removed this bad line, and I also reordered things a bit to make sure that we always use a temp dir. I also added warning if we still end up with empty cache dirs in the future.
This should fix #239
> Looks great! Will this change force all cached datasets to be redownloaded? But even if it does, it shoud not be a big problem, I think
No it shouldn't force to redownload | [
0.07453057169914246,
0.08178406953811646,
-0.17746756970882416,
-0.03639651834964752,
0.1582190841436386,
0.07456497102975845,
0.192151740193367,
0.26480188965797424,
-0.012321853078901768,
0.038591861724853516,
-0.033865928649902344,
0.03983999416232109,
0.03942954167723656,
-0.06222371757030487,
0.0465664304792881,
0.2991064488887787,
0.07741234451532364,
0.21268445253372192,
0.027345791459083557,
0.1650644689798355,
-0.5080645084381104,
0.29656967520713806,
-0.2333541363477707,
-0.1525903344154358,
-0.48141196370124817,
0.21583129465579987,
-0.04810275137424469,
0.4786412715911865,
-0.20062842965126038,
-0.5708515644073486,
0.18712806701660156,
0.31676483154296875,
0.05196511000394821,
0.37310341000556946,
-0.00010669578477973118,
0.05761876702308655,
0.3685852289199829,
-0.12324260920286179,
-0.18061019480228424,
0.15181757509708405,
-0.30232954025268555,
-0.3321497142314911,
-0.04263782501220703,
-0.12297297269105911,
0.14185136556625366,
0.3132288157939911,
0.1146370992064476,
0.0018253549933433533,
0.056150611490011215,
0.2379792332649231,
0.25609543919563293,
-0.2560775876045227,
-0.08044059574604034,
0.05439947172999382,
0.17949873208999634,
0.12490597367286682,
-0.02751646563410759,
0.26228514313697815,
0.0971791222691536,
0.11136562377214432,
-0.1327594518661499,
0.4803198575973511,
-0.25880804657936096,
0.17820675671100616,
0.6417481303215027,
-0.16293804347515106,
-0.08610593527555466,
-0.3111373484134674,
0.09258672595024109,
-0.0030748769640922546,
0.7674131393432617,
-0.034674204885959625,
-0.057782337069511414,
-0.15503467619419098,
0.0599198080599308,
-0.6455766558647156,
0.1393403559923172,
-0.12861058115959167,
0.040938545018434525,
0.03631119802594185,
-0.009700121358036995,
-0.3529944121837616,
-0.08854959905147552,
-0.18009768426418304,
-0.1742980182170868,
0.3990660011768341,
-0.13271985948085785,
-0.18745067715644836,
-0.05488007143139839,
0.16899865865707397,
0.23796673119068146,
0.06835708022117615,
-0.3568028211593628,
-0.13674180209636688,
0.01773679628968239,
-0.04204629361629486,
0.12125906348228455,
-0.024356931447982788,
-0.08470062911510468,
-0.1262310892343521,
0.0939897671341896,
0.2381252646446228,
-0.20709414780139923,
-0.1879902184009552,
-0.14194487035274506,
0.3004804253578186,
0.37057775259017944,
-0.02793266996741295,
0.13460861146450043,
-0.015499120578169823,
0.06021447107195854,
-0.08630139380693436,
0.1244720071554184,
-0.2897847890853882,
0.11130687594413757,
0.3289313018321991,
0.2687193751335144,
-0.41905659437179565,
-0.04340960085391998,
0.102555051445961,
0.09354916960000992,
-0.0058418745175004005,
-0.15937767922878265,
0.2029978334903717,
0.09099975228309631,
0.38586652278900146,
0.14724881947040558,
-0.050496943295001984,
-0.22767184674739838,
-0.21754272282123566,
-0.11200937628746033,
-0.279915452003479,
-0.165098175406456,
0.0505412295460701,
0.08859643340110779,
-0.03756596893072128,
0.2596433758735657,
-0.0977291688323021,
0.17575877904891968,
0.15271545946598053,
0.1171875,
-0.04069940373301506,
0.4345140755176544,
0.305363267660141,
-0.2441031038761139,
0.03917425870895386,
0.26972857117652893,
-0.10004149377346039,
-0.05600651353597641,
0.5991100072860718,
-0.33690348267555237,
-0.6126499176025391,
-0.15521076321601868,
0.24972565472126007,
-0.13761672377586365,
-0.10504157841205597,
0.08399352431297302,
0.3219287097454071,
-0.11590876430273056,
-0.38198983669281006,
0.4167960286140442,
0.055452316999435425,
-0.13643872737884521,
-0.14377461373806,
-0.09362203627824783,
0.7124911546707153,
-0.39796319603919983,
0.011126279830932617,
-0.2240724265575409,
-0.03262597322463989,
0.04795066639780998,
0.011845117434859276,
-0.160795196890831,
0.007574312388896942,
-0.319387286901474,
0.13493004441261292,
0.01882603019475937,
-0.3230307400226593,
-0.14790509641170502,
0.15472561120986938,
-0.06734984368085861,
0.07896985113620758,
-0.1170462891459465,
0.011306090280413628,
-0.2332007884979248,
-0.12513837218284607,
0.1219673603773117,
-0.3347431421279907,
-0.021429935470223427,
-0.10490047931671143,
-0.6746190786361694,
0.010614344850182533,
0.16508625447750092,
-0.06896871328353882,
0.20627467334270477,
0.20844174921512604,
-0.048857979476451874,
0.13249042630195618,
0.16491368412971497,
-0.10923826694488525,
-0.08911877125501633,
0.3805309534072876,
0.4510934352874756,
0.04023343324661255,
0.06696078181266785,
0.4202576279640198,
-0.660639762878418,
0.06830768287181854,
-0.220767542719841,
0.16991806030273438,
0.061747293919324875,
-0.08572182059288025,
-0.0010764431208372116,
-0.26693204045295715,
-0.22958771884441376,
-0.4203836917877197,
0.19035595655441284,
0.007395587861537933,
0.0002606697380542755,
-0.4084996283054352,
-0.2565337121486664,
0.38969647884368896,
-0.33343952894210815,
-0.018960123881697655,
-0.06694327294826508,
0.016523277387022972,
-0.16121906042099,
0.1303255409002304,
-0.4530695974826813,
0.03504115343093872,
0.19911447167396545,
-0.19237592816352844,
-0.20250549912452698,
0.6151546239852905,
-0.20473447442054749,
-0.2598486542701721,
0.07755281776189804,
0.17684805393218994,
0.12498962134122849,
-0.03823831304907799,
0.149770587682724,
0.01521386206150055,
0.071602463722229,
-0.10867859423160553,
0.13290902972221375,
0.043847814202308655,
-0.5632428526878357,
0.01589576154947281,
-0.30210304260253906,
-0.3510693907737732,
0.0322546511888504,
-0.06933831423521042,
-0.15254078805446625,
-0.04173988848924637,
-0.08494152128696442,
0.24929170310497284,
-0.043032437562942505,
0.17497503757476807,
-0.07793701440095901,
0.1377357542514801,
-0.09773418307304382,
-0.12213766574859619,
-0.20407694578170776,
0.2356778085231781,
-0.03700719773769379,
-0.2972346842288971,
0.1510743498802185,
0.14971590042114258,
0.5253720283508301,
0.27805280685424805,
-0.14365385472774506,
0.17114783823490143,
0.25611522793769836,
-0.33572918176651,
0.5478425025939941,
0.09556788951158524,
0.12058514356613159,
0.32915225625038147,
-0.27596110105514526,
0.1338515430688858,
-0.24548101425170898,
-0.3657337725162506,
0.19197829067707062,
0.2797253429889679,
-0.308012992143631,
-0.3535325527191162,
0.1506747603416443,
-0.5667087435722351,
0.06754197925329208,
0.15720027685165405,
-0.173852801322937,
-0.3827166259288788,
0.07155971229076385,
-0.17584748566150665,
-0.3835891783237457,
0.02967221476137638,
-0.11897297203540802,
0.24515217542648315,
-0.1188904270529747,
0.03883180022239685,
-0.48049166798591614,
-0.18814952671527863,
-0.16526928544044495,
0.12634916603565216,
0.11400790512561798,
-0.24930927157402039,
-0.24113212525844574,
-0.48620855808258057,
0.048895612359046936,
-0.45026710629463196,
-0.3134866952896118,
-0.02281378209590912,
-0.02157391980290413,
-0.06239791214466095,
0.09442340582609177,
0.38428986072540283,
-0.07185138761997223,
-0.08254596590995789,
0.040019817650318146,
-0.2525589168071747,
-0.0005891174077987671,
-0.06996171176433563,
-0.03086172603070736,
0.2388617843389511,
-0.3635390102863312,
-0.3332681655883789,
-0.057693853974342346,
-0.5125175714492798,
-0.06738026440143585,
-0.0384586825966835,
0.15169918537139893,
0.7365761399269104,
-0.07625450193881989,
0.1216469258069992,
-0.04521918669342995,
-0.389618456363678,
-0.25233665108680725,
-0.3479865789413452,
0.12841683626174927,
-0.08396995812654495,
-0.07852219045162201,
0.15035900473594666,
0.07111164182424545,
0.1887013167142868,
-0.11147688329219818,
-0.3708922266960144,
-0.2162994146347046,
-0.01589793525636196,
0.3392789661884308,
-0.35956257581710815,
-0.0160310510545969,
0.3955560624599457,
0.14734618365764618,
-0.26070109009742737,
0.043633028864860535,
-0.16874010860919952,
-0.15704792737960815,
-0.028864551335573196,
0.21865995228290558,
-0.19065845012664795,
-0.19514071941375732,
0.005073975771665573,
0.5491058230400085,
-0.2119499295949936,
0.08047251403331757,
0.3096942603588104,
0.25405433773994446,
0.8668655157089233,
-0.26365843415260315,
0.00009292922914028168,
0.13791324198246002,
0.0510709285736084,
-0.28850340843200684,
0.20037195086479187,
-0.14758935570716858,
-0.11794028431177139,
-0.002899676561355591,
-0.1135837584733963,
-0.251876562833786,
-0.07216664403676987,
0.3222230076789856,
-0.14341405034065247,
-0.14715376496315002,
0.21115699410438538,
-0.4292452335357666,
-0.23090851306915283,
-0.08788952231407166,
0.09199750423431396,
0.32656946778297424,
0.44629475474357605,
-0.018851418048143387,
-0.2805139720439911,
0.019364304840564728,
-0.1672341227531433,
0.43995875120162964,
-0.013935455121099949,
-0.10449279099702835,
0.08386991918087006,
-0.31292203068733215,
-0.12168945372104645,
0.16723287105560303,
0.6574589014053345,
-0.21063177287578583,
-0.21354667842388153,
0.19491122663021088,
0.2451612949371338,
0.06420464813709259,
-0.2298656553030014,
-0.15322345495224,
0.389275461435318,
0.1306956261396408,
0.2234150618314743,
-0.0469713918864727,
-0.1903133988380432,
0.0037673339247703552,
-0.0020307337399572134,
0.010586831718683243,
-0.10862050205469131,
-0.2841196656227112,
-0.2215234935283661,
-0.09656903892755508,
0.16529580950737,
0.140250563621521,
-0.019532833248376846,
-0.050621211528778076,
0.0711953341960907,
0.06633088737726212,
0.03436820209026337,
0.0439518466591835,
-0.17649926245212555,
0.4531541168689728,
0.3307056427001953,
-0.23610784113407135,
-0.118924081325531,
0.08754172921180725,
0.20672555267810822,
0.2843772768974304,
-0.3390386998653412,
0.2631627917289734,
0.22068849205970764,
0.043874334543943405,
-0.0021449699997901917,
0.48669859766960144,
0.28097450733184814,
0.03744080662727356,
-0.09847135096788406,
0.3525789976119995,
0.011111629195511341,
0.1913875788450241,
-0.15993531048297882,
0.13816602528095245,
-0.24410580098628998,
-0.25851884484291077,
0.3810422718524933,
0.016905397176742554,
-0.024175681173801422,
0.531000554561615,
0.11765864491462708,
-0.09081526845693588,
0.03350314497947693,
0.2862480580806732,
0.9340585470199585,
-0.005416207015514374,
0.2669413387775421,
-0.00845956802368164,
-0.03493058681488037,
0.39073559641838074,
-0.5030971765518188,
0.3113889694213867,
-0.019231539219617844,
-0.3097725808620453,
0.005757061764597893,
0.04944348707795143,
0.11405773460865021,
0.08134038746356964,
-0.4531860053539276,
0.22945933043956757,
0.07365106046199799,
0.1942216008901596,
0.02084355056285858,
0.09605783224105835,
-0.2726750075817108,
0.0957348644733429,
0.09912705421447754,
0.11758345365524292,
-0.17449748516082764,
0.2690214216709137,
-0.39642953872680664,
-0.12727361917495728,
0.25786519050598145,
-0.19438409805297852,
-0.06496532261371613,
-0.08654873818159103,
-0.1937970072031021,
0.04842180758714676,
-0.0974753201007843,
0.12979425489902496,
-0.16815964877605438,
0.29960498213768005,
0.1426354944705963,
0.06819643080234528,
-0.12770435214042664,
0.18704627454280853,
0.26654356718063354,
0.312269926071167,
0.15633150935173035,
0.009154197759926319,
0.26071175932884216,
-0.09576240181922913,
-0.05914042890071869,
-0.09703867882490158,
-0.5190614461898804,
-0.23005545139312744,
-0.1395660936832428,
0.02569049969315529,
0.05060939863324165,
-0.19612285494804382,
-0.16358156502246857,
0.44992515444755554,
-0.24565070867538452,
0.00848599523305893,
0.1819894164800644,
-0.014301598072052002,
-0.2510676681995392,
-0.00688963383436203,
-0.11590278148651123,
-0.5528926849365234,
-0.02093319594860077,
-0.048951976001262665,
0.10182850807905197,
-0.14238664507865906,
0.5202046632766724,
-0.2606211006641388,
0.036189183592796326,
-0.1689189076423645,
0.011488646268844604,
0.12058825045824051,
-0.050550609827041626,
0.3112224340438843,
-0.01355931255966425,
-0.04369211941957474,
0.17060434818267822,
0.09844406694173813,
0.3120928406715393,
0.5076152682304382,
-0.16307897865772247,
0.12939800322055817,
-0.3575550317764282,
0.00917872041463852,
-0.22569458186626434,
0.4148816764354706,
-0.08098794519901276,
-0.261539489030838,
0.3228679895401001,
-0.2311234474182129,
-0.3883836269378662,
0.15186946094036102,
-0.06624096632003784,
0.14539125561714172,
-0.14140567183494568,
-0.008129298686981201,
0.054231226444244385,
-0.2429923117160797,
0.06969724595546722,
0.2433314174413681,
-0.1722031533718109,
-0.24863994121551514,
0.18965724110603333,
0.15530802309513092,
0.022938456386327744,
-0.09856420010328293,
0.17046144604682922,
0.15901096165180206,
0.03427353873848915,
0.10870863497257233,
0.004426596686244011,
0.199518084526062,
-0.15553632378578186,
0.42275187373161316,
0.35825708508491516,
0.003615237772464752,
-0.03924572840332985,
0.09118299186229706,
0.20962998270988464,
0.1687919944524765,
-0.10771056264638901,
0.2725907862186432,
-0.14406688511371613,
0.03920504450798035,
0.09113860875368118,
0.11555159091949463,
-0.3081149458885193,
0.12178615480661392,
-0.07076888531446457,
-0.20693515241146088,
0.16163210570812225,
0.05213051289319992,
0.13436369597911835,
0.16454926133155823,
-0.009696110151708126,
-0.3018842339515686,
0.1889304518699646,
0.2609216272830963,
-0.13729964196681976,
0.10165110230445862,
-0.11904893815517426,
-0.05166924372315407,
-0.06461204588413239,
0.06797490268945694,
0.3381326198577881,
-0.16928903758525848,
0.4556909203529358,
0.38244256377220154,
0.2649875581264496,
-0.10212086141109467,
0.264224648475647,
0.24477699398994446,
-0.11612079292535782,
-0.02267654612660408,
0.3500339686870575,
-0.09930910170078278,
-0.05077449232339859,
0.3316042423248291,
-0.015154287219047546,
0.31363070011138916,
-0.04936020076274872,
0.13001640141010284,
-0.21159270405769348,
-0.40900376439094543,
0.23308804631233215,
0.4833061397075653,
-0.16589432954788208,
0.23266014456748962,
0.2536485195159912,
-0.0876094326376915,
-0.18118126690387726,
-0.27283975481987,
0.2209760993719101,
-0.06158265098929405,
-0.3501821756362915,
0.0744934231042862,
-0.008231298997998238,
-0.23393121361732483,
0.12215833365917206,
0.05305011197924614,
0.04989949241280556,
-0.0255621075630188,
0.2865132689476013,
0.13550999760627747,
-0.24997900426387787,
0.06413815915584564,
0.4651998281478882,
0.020593637600541115,
0.26745110750198364,
-0.04842762276530266,
0.10630005598068237,
0.20761790871620178,
-0.30738401412963867,
0.4754531979560852,
0.6791848540306091,
0.4472137987613678,
0.38355788588523865,
0.3214006721973419,
0.032493893057107925,
0.2183423638343811,
-0.1073533445596695,
-0.037417665123939514,
0.031033722683787346,
0.2676471471786499,
-0.07267723977565765,
-0.1310683637857437,
0.2561716139316559,
-0.17113123834133148,
0.32564154267311096,
-0.2366098016500473,
0.18121273815631866,
0.09256850183010101,
-0.011508159339427948,
0.4504539966583252,
-0.2630544602870941,
-0.08709952235221863,
0.1521148979663849,
-0.45781412720680237,
-0.06801407039165497,
0.32707443833351135,
0.03676723688840866,
0.025112852454185486,
0.014984500594437122,
0.13052314519882202,
0.10872122645378113,
0.2797375023365021,
0.33439901471138,
-0.21264106035232544,
-0.40768298506736755,
0.06857015192508698,
-0.6737179756164551,
0.18908147513866425,
0.26228585839271545,
0.17502754926681519,
0.04632817581295967,
0.045015811920166016,
-0.0925084576010704,
-0.11903490126132965,
0.15767449140548706,
-0.1733519732952118,
0.18065103888511658,
-0.09170235693454742,
-0.5303710699081421,
0.4104869067668915,
0.21963219344615936,
0.1714652180671692,
0.06690125912427902,
-0.30633315443992615,
0.0653831884264946,
0.32257530093193054,
0.16873925924301147,
0.006624998524785042,
-0.005917828530073166,
0.2025517225265503,
0.40238267183303833,
0.2856692671775818,
0.15754061937332153,
-0.019032247364521027,
-0.05330550670623779,
-0.1802864968776703,
-0.2754950225353241,
-0.1670333594083786,
-0.14552560448646545,
0.10220451653003693,
0.2979542911052704,
0.11970861256122589,
-0.34591689705848694,
-0.018141869455575943,
-0.2806359827518463,
0.06511957198381424,
-0.11376544088125229,
0.24729298055171967,
-0.42271700501441956,
0.11765975505113602,
-0.03286907821893692,
0.0842064768075943,
0.027846887707710266,
0.3659640848636627,
0.2463492453098297,
-0.004335831850767136,
-0.7707433700561523,
-0.1735006868839264,
0.5663018822669983,
-0.18995118141174316,
-0.13976135849952698,
0.1073492243885994,
0.1636936366558075,
0.28324443101882935,
-0.21093985438346863,
-0.5101359486579895,
-0.012904390692710876,
0.2835010290145874,
0.02537817507982254,
-0.14057433605194092,
0.13653698563575745,
-0.25425243377685547,
-0.08109404146671295,
-0.2728513777256012,
0.06875811517238617,
0.1544625461101532,
-0.30992135405540466,
-0.1391010880470276,
-0.4145774245262146
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | Hi @aleSuglia, thanks for this great PR. Indeed you can have both datasets in one file. You need to add a config class which will allows you to specify the different subdataset names and then you will be able to load them as follow.
nlp.load_dataset("compguesswhat", "compguesswhat-gameplay")
nlp.load_dataset("compguesswhat", "compguesswhat-zs-gameplay").
Maybe you can refer to this file https://github.com/huggingface/nlp/blob/master/datasets/discofuse/discofuse.py | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 56 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
Hi @aleSuglia, thanks for this great PR. Indeed you can have both datasets in one file. You need to add a config class which will allows you to specify the different subdataset names and then you will be able to load them as follow.
nlp.load_dataset("compguesswhat", "compguesswhat-gameplay")
nlp.load_dataset("compguesswhat", "compguesswhat-zs-gameplay").
Maybe you can refer to this file https://github.com/huggingface/nlp/blob/master/datasets/discofuse/discofuse.py | [
-0.32577088475227356,
0.0680210143327713,
-0.082452692091465,
0.15206249058246613,
-0.08982408046722412,
0.11469011753797531,
0.3694819509983063,
0.26852378249168396,
0.09779469668865204,
-0.09904612600803375,
-0.288676917552948,
0.39559274911880493,
-0.07778623700141907,
0.18448923528194427,
0.38363829255104065,
0.0005112886428833008,
0.0490107499063015,
0.2920418679714203,
-0.046156011521816254,
0.08029311895370483,
-0.1590043157339096,
0.18693619966506958,
0.06783495843410492,
0.030393600463867188,
0.03805097937583923,
-0.3059171736240387,
-0.14483542740345,
0.08219841122627258,
0.18233545124530792,
-0.3441087007522583,
0.6718794703483582,
0.3636527359485626,
0.1395324468612671,
0.17879734933376312,
-0.00011480381363071501,
0.09449809789657593,
0.2481626719236374,
-0.15168073773384094,
-0.295095294713974,
-0.33595746755599976,
-0.26094067096710205,
-0.16880320012569427,
0.13118486106395721,
-0.3087117671966553,
0.04497578740119934,
-0.11063214391469955,
0.30238014459609985,
-0.25253361463546753,
0.4000048041343689,
-0.23793596029281616,
0.11530858278274536,
-0.08557717502117157,
-0.28365346789360046,
0.15355336666107178,
0.018813274800777435,
0.16444876790046692,
-0.12971816956996918,
0.22491587698459625,
0.05716722458600998,
0.14041678607463837,
0.19810271263122559,
0.2733372449874878,
-0.005852280184626579,
-0.23926092684268951,
0.12168274074792862,
0.0771317407488823,
0.13386285305023193,
-0.18990951776504517,
0.037258028984069824,
0.3286653757095337,
-0.009788252413272858,
-0.3436681926250458,
-0.2967561185359955,
-0.38157930970191956,
0.08569425344467163,
-0.4577152132987976,
-0.20405280590057373,
0.3000335097312927,
0.04662492871284485,
0.19137042760849,
0.1025928482413292,
-0.1186518445611,
-0.28464317321777344,
0.23847003281116486,
-0.07068662345409393,
0.5158452987670898,
-0.045131199061870575,
0.2825694680213928,
0.000005692243576049805,
0.10133810341358185,
0.25982892513275146,
-0.24743163585662842,
-0.16569669544696808,
-0.019708160310983658,
-0.3531281650066376,
-0.2458379864692688,
-0.10398045927286148,
0.0717463344335556,
0.3618362247943878,
0.14801952242851257,
0.23687687516212463,
-0.011652376502752304,
0.019635967910289764,
0.12591204047203064,
0.4611695408821106,
-0.03475101292133331,
0.3517076373100281,
-0.16767190396785736,
0.19866624474525452,
-0.002382095903158188,
-0.14738327264785767,
0.04347376152873039,
-0.002501881215721369,
0.2191036194562912,
-0.14050793647766113,
-0.2721985876560211,
0.2681275010108948,
-0.24215081334114075,
-0.22207021713256836,
-0.2914557158946991,
-0.17722314596176147,
-0.18373249471187592,
-0.14263784885406494,
0.2919742166996002,
0.2445785403251648,
0.45178183913230896,
-0.03852539509534836,
0.3682483434677124,
0.061758317053318024,
-0.36703652143478394,
-0.14387701451778412,
0.07709105312824249,
0.017303694039583206,
0.26091328263282776,
0.08408951759338379,
-0.06801001727581024,
0.10911963880062103,
0.08810411393642426,
-0.08473324775695801,
0.07795104384422302,
0.4081133306026459,
-0.1621915102005005,
-0.11918700486421585,
0.10304022580385208,
0.23579919338226318,
0.13515914976596832,
-0.01483684778213501,
-0.014268890023231506,
-0.3883592486381531,
0.3330633044242859,
0.007073834538459778,
-0.2453191578388214,
0.1074279248714447,
0.022364865988492966,
-0.2988066077232361,
-0.042577266693115234,
-0.11807190626859665,
0.8042011260986328,
0.1160363256931305,
-0.2354031652212143,
-0.2455560564994812,
-0.05757259577512741,
-0.2787744700908661,
-0.20521414279937744,
0.07488584518432617,
0.14870160818099976,
-0.76153963804245,
-0.15333306789398193,
-0.24709881842136383,
0.01347920298576355,
-0.1182466372847557,
-0.14587892591953278,
-0.5677512288093567,
0.16405168175697327,
-0.1125246062874794,
0.17060323059558868,
0.5994980335235596,
-0.16367025673389435,
-0.1498740017414093,
0.09718190133571625,
-0.09040623158216476,
0.16688449680805206,
0.37489861249923706,
0.09432559460401535,
-0.03669741377234459,
-0.08683568239212036,
-0.10693556070327759,
0.43814462423324585,
-0.2443307340145111,
-0.17009598016738892,
-0.033566735684871674,
-0.36328205466270447,
0.5559864044189453,
0.05557732656598091,
-0.06985795497894287,
-0.3381197452545166,
0.04990362003445625,
0.28574636578559875,
0.2596427798271179,
-0.33709272742271423,
0.11728603392839432,
-0.023111451417207718,
0.03479306772351265,
-0.006153486669063568,
-0.10029339045286179,
-0.28920307755470276,
-0.55026775598526,
0.02522273361682892,
-0.2661772072315216,
0.12534090876579285,
0.023626670241355896,
-0.3914507031440735,
-0.09209264814853668,
-0.26700863242149353,
-0.045863378793001175,
-0.349565714597702,
0.01507342979311943,
0.45396187901496887,
0.015453007072210312,
-0.118631511926651,
-0.24414224922657013,
0.6434906721115112,
-0.20537255704402924,
-0.1389663815498352,
-0.40338635444641113,
0.09248583763837814,
0.0033501461148262024,
-0.004298979416489601,
-0.17041748762130737,
0.28013288974761963,
0.05772204324603081,
-0.29122427105903625,
0.13281992077827454,
0.21450570225715637,
-0.04632370546460152,
0.14359815418720245,
0.018765337765216827,
-0.14752279222011566,
0.18717648088932037,
0.002958480268716812,
0.3068259358406067,
-0.2733471989631653,
0.026425044983625412,
-0.1766889989376068,
-0.012253567576408386,
0.8807995319366455,
0.012556420639157295,
0.43184173107147217,
0.12113790214061737,
-0.3442387282848358,
0.2430543303489685,
-0.10787862539291382,
-0.3927491307258606,
0.0021788105368614197,
-0.2067204862833023,
0.04397132247686386,
0.177939772605896,
0.10577201843261719,
-0.47400784492492676,
0.23565813899040222,
0.43297791481018066,
-0.04039113596081734,
0.025058843195438385,
-0.1915702521800995,
-0.20186272263526917,
-0.051657214760780334,
0.19566525518894196,
0.334465354681015,
0.6945005655288696,
0.33932775259017944,
-0.21929198503494263,
-0.12066791206598282,
-0.15185929834842682,
-0.052266836166381836,
0.33128198981285095,
0.22937844693660736,
0.23139216005802155,
0.051575466990470886,
0.09464988112449646,
-0.04439394548535347,
-0.1909599006175995,
0.1675224006175995,
0.15556538105010986,
-0.21598844230175018,
-0.1821974515914917,
0.14644458889961243,
-0.19874760508537292,
-0.49248018860816956,
-0.4810899496078491,
-0.009666946716606617,
-0.33953508734703064,
-0.13008804619312286,
-0.07465451210737228,
-0.06477980315685272,
-0.13762427866458893,
0.4395071268081665,
-0.31684109568595886,
0.5608811378479004,
-0.6847981810569763,
-0.012059880420565605,
0.23613139986991882,
-0.15059015154838562,
-0.3055081367492676,
-0.016026044264435768,
0.44819125533103943,
0.21554549038410187,
0.5065339803695679,
0.22802694141864777,
-0.3728281259536743,
0.28043878078460693,
-0.45531243085861206,
0.15381398797035217,
-0.2524605393409729,
0.16025763750076294,
-0.09855283796787262,
-0.049162521958351135,
0.02958858013153076,
-0.5622515082359314,
0.11812512576580048,
-0.06744880974292755,
-0.09805571287870407,
-0.3497723340988159,
-0.107738196849823,
0.13116352260112762,
-0.2196415215730667,
-0.41151657700538635,
-0.3186494708061218,
-0.29210880398750305,
0.09136823564767838,
0.060009706765413284,
0.1269661784172058,
0.15843075513839722,
-0.4157448410987854,
0.0034447703510522842,
-0.036666613072156906,
-0.03983164578676224,
-0.2564094364643097,
0.00980401411652565,
0.14110751450061798,
-0.21952751278877258,
-0.08576427400112152,
0.02529149129986763,
-0.33229494094848633,
0.43644052743911743,
-0.1472185105085373,
-0.11782896518707275,
-0.3618294298648834,
0.202712744474411,
-0.15681369602680206,
-0.015876613557338715,
0.0625244677066803,
0.4083164632320404,
-0.13802096247673035,
0.11642959713935852,
-0.11102163791656494,
-0.39781665802001953,
0.44769129157066345,
0.2700337767601013,
0.17381110787391663,
0.1995100975036621,
0.03008395992219448,
-0.05203389376401901,
0.827256441116333,
0.24947181344032288,
0.07926958799362183,
0.12028557807207108,
0.2683165967464447,
0.05438605323433876,
0.11170169711112976,
-0.21044394373893738,
-0.03933239355683327,
-0.0031819194555282593,
0.1244661957025528,
0.5226514935493469,
-0.13500770926475525,
-0.299683541059494,
-0.07353720813989639,
0.055046889930963516,
-0.2033935785293579,
-0.24807146191596985,
0.19671513140201569,
-0.17026564478874207,
-0.07943128794431686,
0.08057498931884766,
-0.4437054991722107,
-0.25419601798057556,
-0.0008457214571535587,
-0.07278820872306824,
0.16904033720493317,
-0.07292104512453079,
0.20119667053222656,
-0.3606598973274231,
0.04437761753797531,
-0.2180139422416687,
0.3815019130706787,
0.18261811137199402,
-0.06448786705732346,
0.14917024970054626,
-0.20845529437065125,
0.2027723789215088,
-0.04934803396463394,
0.6271019577980042,
-0.18760986626148224,
-0.3599521517753601,
0.22216616570949554,
-0.010816816240549088,
-0.24075624346733093,
-0.019849035888910294,
0.043420638889074326,
-0.0024680113419890404,
0.4354233741760254,
-0.01454654335975647,
-0.5369611978530884,
-0.3428007662296295,
0.29167377948760986,
0.02397725358605385,
-0.1843869388103485,
-0.07969838380813599,
-0.2797984182834625,
-0.10544119775295258,
-0.19313682615756989,
-0.1581563949584961,
0.18470630049705505,
0.4026756286621094,
-0.042840711772441864,
0.02478460595011711,
-0.09598368406295776,
-0.0825895369052887,
0.2343778759241104,
0.26758188009262085,
0.2681301236152649,
0.2575317621231079,
0.24740561842918396,
0.007377389818429947,
0.35190874338150024,
-0.16419856250286102,
0.4949073791503906,
-0.1101587563753128,
-0.27652186155319214,
0.17671054601669312,
0.006657968275249004,
0.5672019124031067,
0.5556999444961548,
0.1117202565073967,
0.141676127910614,
-0.22674299776554108,
-0.2525370717048645,
-0.10523105412721634,
0.026048539206385612,
-0.0114473607391119,
-0.06215815991163254,
-0.37420767545700073,
-0.6142821311950684,
0.2769166827201843,
0.08999231457710266,
-0.1646672487258911,
0.15362988412380219,
0.1088724359869957,
-0.42397838830947876,
0.33616119623184204,
0.026325806975364685,
1.1641700267791748,
-0.07512201368808746,
0.2668501138687134,
0.006449857726693153,
0.04492265731096268,
0.9468413591384888,
-0.3821869492530823,
-0.02021956816315651,
-0.28336775302886963,
0.05791414529085159,
0.13968046009540558,
-0.010148491710424423,
0.21381574869155884,
0.16417601704597473,
-0.242129385471344,
0.2103312760591507,
0.33903127908706665,
0.038309983909130096,
-0.11158762872219086,
0.5994085073471069,
0.24617591500282288,
-0.34506699442863464,
-0.16072389483451843,
0.013470470905303955,
-0.1018473356962204,
-0.12396110594272614,
-0.1773817539215088,
-0.21075081825256348,
-0.27875182032585144,
0.14969734847545624,
-0.1557445526123047,
-0.02372453361749649,
-0.012650657445192337,
0.09304522722959518,
-0.17193388938903809,
-0.5018002390861511,
0.3596482276916504,
0.37712040543556213,
0.300101101398468,
-0.3227176368236542,
-0.03230329602956772,
0.1746707558631897,
-0.3560126721858978,
0.008061220869421959,
-0.12315956503152847,
-0.27083373069763184,
0.33166152238845825,
-0.1664322316646576,
-0.1639714241027832,
-0.0447426438331604,
0.1325995922088623,
-0.35228729248046875,
-0.017661169171333313,
0.17433997988700867,
0.22054733335971832,
-0.17726042866706848,
-0.4671064615249634,
0.34352174401283264,
0.4214593768119812,
-0.20448680222034454,
0.06551168859004974,
0.004104942083358765,
-0.19523559510707855,
-0.17010533809661865,
-0.1380121111869812,
-0.22811849415302277,
-0.11275894939899445,
0.05480289086699486,
0.32921797037124634,
0.01939021795988083,
0.3494061529636383,
-0.20559069514274597,
0.168045774102211,
-0.07845274358987808,
-0.017732977867126465,
0.11609142273664474,
-0.31169235706329346,
-0.02649620920419693,
0.2653229534626007,
-0.17352211475372314,
-0.20601491630077362,
0.15427525341510773,
0.25329771637916565,
0.3668716549873352,
-0.03525666147470474,
-0.15273477137088776,
-0.05284091830253601,
0.290831983089447,
-0.018597926944494247,
0.2525179386138916,
0.34973010420799255,
0.33581894636154175,
-0.13542209565639496,
0.511240541934967,
-0.24555633962154388,
-0.18189078569412231,
0.08891024440526962,
0.07945389300584793,
0.08973836153745651,
-0.005896683782339096,
-0.05913662537932396,
0.10522152483463287,
0.03731100261211395,
0.11606259644031525,
-0.18496789038181305,
-0.1508171260356903,
-0.24237218499183655,
0.20326729118824005,
0.2541881799697876,
0.08605382591485977,
-0.09988586604595184,
-0.158181294798851,
0.2297840118408203,
0.04833047837018967,
0.16946278512477875,
-0.3031778633594513,
0.028088226914405823,
0.14365170896053314,
0.17658960819244385,
0.1544245034456253,
-0.4272904396057129,
0.301213800907135,
0.0016780495643615723,
0.2488495409488678,
0.1992437094449997,
0.5240582823753357,
-0.01335751824080944,
0.08309012651443481,
-0.012928644195199013,
0.12118043005466461,
0.15277303755283356,
0.2908778488636017,
-0.2821650505065918,
-0.035327084362506866,
-0.17237024009227753,
0.206777885556221,
0.13757279515266418,
0.34059277176856995,
-0.19254694879055023,
0.3264550268650055,
-0.0194928627461195,
0.034404344856739044,
-0.2815159857273102,
0.1110152155160904,
0.31130480766296387,
-0.34123802185058594,
-0.15392711758613586,
0.42999929189682007,
0.495037704706192,
0.43204033374786377,
0.30685997009277344,
-0.08960027247667313,
0.3254053294658661,
0.07767476886510849,
0.5473019480705261,
0.2791560888290405,
0.07663188874721527,
0.18139782547950745,
0.3532271683216095,
0.3002372682094574,
0.3214672803878784,
-0.05628369003534317,
-0.3681800365447998,
-0.025855647400021553,
-0.14506474137306213,
-0.034902650862932205,
0.16768619418144226,
-0.10413970053195953,
0.28025662899017334,
0.37436312437057495,
0.1131732165813446,
0.015179987996816635,
0.12263214588165283,
0.699609100818634,
-0.1933053582906723,
-0.47454676032066345,
0.05422769486904144,
0.2294420450925827,
-0.08844847977161407,
-0.10133984684944153,
-0.299458384513855,
-0.05328870564699173,
-0.2208225578069687,
0.094511479139328,
-0.12523305416107178,
-0.44805485010147095,
0.013096809387207031,
0.11176517605781555,
-0.1256372332572937,
-0.22989805042743683,
-0.0819835290312767,
0.12803837656974792,
0.06500495970249176,
-0.08380717039108276,
0.41342273354530334,
0.097133569419384,
0.00970611721277237,
0.1776808798313141,
0.2490852028131485,
0.05227690190076828,
-0.00003886595368385315,
-0.0762287825345993,
0.01972186751663685,
0.26231688261032104,
0.041959889233112335,
-0.16273538768291473,
-0.28257250785827637,
0.09021005034446716,
0.1536950170993805,
0.3410884141921997,
0.08904783427715302,
-0.09561627358198166,
-0.14066192507743835,
0.32807445526123047,
-0.1262534260749817,
-0.4050910174846649,
0.5311201214790344,
-0.03306667506694794,
-0.029721245169639587,
-0.12371484935283661,
0.24925926327705383,
-0.2604997456073761,
0.14722931385040283,
-0.021233491599559784,
-0.2261153757572174,
0.055717721581459045,
-0.09649782627820969,
0.03840424120426178,
-0.17091916501522064,
0.34456512331962585,
-0.16030091047286987,
-0.10562481731176376,
-0.29457876086235046,
-0.24992501735687256,
-0.7079728245735168,
0.05083395540714264,
-0.042746465653181076,
0.00045389309525489807,
-0.017383713275194168,
0.2347404807806015,
0.2910085916519165,
0.18222327530384064,
-0.018663033843040466,
0.14806191623210907,
0.15277397632598877,
0.016505755484104156,
-0.3605597913265228,
-0.031960297375917435,
0.11513283848762512,
0.11666722595691681,
0.0021753348410129547,
-0.05629097670316696,
-0.1859046071767807,
0.220981165766716,
-0.24319106340408325,
0.06782931089401245,
0.023230642080307007,
0.3103495240211487,
-0.13404789566993713,
0.2608562707901001,
0.0307316854596138,
0.4401841163635254,
-0.05262186378240585,
0.043484315276145935,
0.15565884113311768,
-0.14180634915828705,
-0.575742781162262,
0.24199727177619934,
-0.059682752937078476,
0.49343833327293396,
-0.4884832203388214,
-0.1464150995016098,
0.05698239058256149,
0.20070894062519073,
-0.01593822054564953,
-0.03712956979870796,
-0.16220314800739288,
0.11573091894388199,
-0.25329458713531494,
0.0494161993265152,
0.2638804018497467,
0.40844959020614624,
-0.011829271912574768,
0.06850703060626984,
-0.29032081365585327,
0.04155164211988449,
0.1892453283071518,
-0.14857517182826996,
-0.2667033076286316,
0.24078398942947388,
0.2531982660293579,
-0.22195488214492798,
0.1119043156504631,
-0.684842586517334,
-0.10652033239603043,
0.3228673040866852,
-0.0770229622721672,
0.003988161683082581,
0.4030085504055023,
0.12366487085819244,
-0.21057720482349396,
-0.06613796204328537,
0.00014513731002807617,
0.17454957962036133,
-0.25471383333206177,
-0.07135850936174393,
-0.3570495843887329
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | @mariamabarham Thanks for your suggestions. I've followed your advice and integrated the additional dataset using another `DatasetConfig` class. It looks like all tests passed. What do you think? | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 28 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
@mariamabarham Thanks for your suggestions. I've followed your advice and integrated the additional dataset using another `DatasetConfig` class. It looks like all tests passed. What do you think? | [
-0.38053566217422485,
0.1520293951034546,
-0.1264849603176117,
0.12964317202568054,
-0.24538572132587433,
-0.05860937386751175,
0.21511511504650116,
0.11688931286334991,
0.1526455134153366,
-0.1353374570608139,
-0.16073469817638397,
0.5275826454162598,
-0.12639883160591125,
0.19963110983371735,
0.32830339670181274,
0.11600406467914581,
-0.003641292452812195,
0.22200685739517212,
0.009560026228427887,
0.04986659437417984,
-0.28025251626968384,
0.14056625962257385,
0.032737381756305695,
-0.12415540218353271,
0.05532818287611008,
-0.3559172451496124,
-0.20018869638442993,
0.13552723824977875,
0.14318956434726715,
-0.29743659496307373,
0.5962777137756348,
0.44198036193847656,
0.0015902947634458542,
0.2420382797718048,
-0.00011507567978696898,
-0.0056533291935920715,
0.2551465630531311,
-0.11422008275985718,
-0.22278068959712982,
-0.3136099576950073,
-0.33693137764930725,
-0.18044504523277283,
0.038609787821769714,
-0.25362277030944824,
0.07927440106868744,
0.03880437836050987,
0.18533964455127716,
-0.20094434916973114,
0.36358654499053955,
-0.2090989649295807,
0.11684298515319824,
-0.07784823328256607,
-0.2818012237548828,
0.13782094419002533,
0.013595931231975555,
0.25334471464157104,
-0.1265183538198471,
0.10861441493034363,
0.14030908048152924,
0.17152026295661926,
0.151330828666687,
0.30333182215690613,
0.09763963520526886,
-0.2822009325027466,
0.06766965985298157,
-0.06477008759975433,
-0.06230340152978897,
-0.11652378737926483,
-0.02790989726781845,
0.2545606791973114,
0.011613205075263977,
-0.2213963270187378,
-0.2895450294017792,
-0.3923456370830536,
0.17122098803520203,
-0.43274685740470886,
-0.1865377426147461,
0.18630646169185638,
0.04688557609915733,
0.22156356275081635,
0.03977952152490616,
-0.1398191899061203,
-0.38020560145378113,
0.2143147587776184,
-0.1193876713514328,
0.587983250617981,
0.013982456177473068,
0.24967017769813538,
-0.02983766421675682,
0.2127576619386673,
0.29100945591926575,
-0.17406675219535828,
-0.14396576583385468,
-0.03744394704699516,
-0.258341521024704,
-0.244592547416687,
0.031671322882175446,
0.15199971199035645,
0.4375620186328888,
0.21430987119674683,
0.16983136534690857,
0.08078417181968689,
-0.06285420805215836,
0.05788157507777214,
0.476088285446167,
-0.01841563917696476,
0.16149833798408508,
-0.17555737495422363,
0.2127458155155182,
0.10309365391731262,
-0.1372564733028412,
0.10969142615795135,
0.08359675854444504,
0.31375303864479065,
-0.025869548320770264,
-0.2890532314777374,
0.3253709077835083,
-0.22092582285404205,
-0.271477609872818,
-0.0721714124083519,
-0.2640933692455292,
-0.18430006504058838,
-0.09456887096166611,
0.3234650492668152,
0.2377663254737854,
0.40457913279533386,
0.008883912116289139,
0.3016502261161804,
0.1613336056470871,
-0.33146795630455017,
-0.15947574377059937,
0.053408168256282806,
0.11229446530342102,
0.13042092323303223,
0.10069295763969421,
-0.01698989048600197,
0.08651566505432129,
0.10034716129302979,
-0.0689878761768341,
0.03752919286489487,
0.3649217188358307,
-0.08062846958637238,
0.06698533147573471,
0.15995348989963531,
0.1288176029920578,
0.1185649111866951,
-0.03002389892935753,
0.022066272795200348,
-0.3233533203601837,
0.3857983946800232,
-0.02630341798067093,
-0.3816315233707428,
0.1813855767250061,
0.04523811489343643,
-0.3445547819137573,
-0.0890834778547287,
-0.005689725279808044,
0.7940518856048584,
-0.025117449462413788,
-0.12190961837768555,
-0.10602688044309616,
-0.07488108426332474,
-0.2641265094280243,
-0.08159583806991577,
0.04616933315992355,
0.17977583408355713,
-0.8368306756019592,
-0.10258781909942627,
-0.3383471667766571,
0.08592665195465088,
-0.07823353260755539,
-0.0875011533498764,
-0.566813051700592,
0.24426817893981934,
-0.1668308675289154,
0.21754704415798187,
0.5870782732963562,
-0.15057459473609924,
-0.24780172109603882,
0.09660887718200684,
-0.15641102194786072,
0.285768061876297,
0.28895798325538635,
0.0853765681385994,
0.010654625482857227,
-0.014606503769755363,
-0.026726968586444855,
0.42857229709625244,
-0.20870931446552277,
-0.21792224049568176,
-0.16928330063819885,
-0.27287986874580383,
0.611649751663208,
0.11217720806598663,
-0.018783103674650192,
-0.45862895250320435,
0.07406684011220932,
0.24324600398540497,
0.218409925699234,
-0.29105344414711,
0.031994983553886414,
-0.03064829856157303,
0.2551911473274231,
-0.10495725274085999,
-0.09784778207540512,
-0.21556231379508972,
-0.4580721855163574,
0.0579022616147995,
-0.2167472094297409,
0.2096637487411499,
0.013675741851329803,
-0.3529583811759949,
-0.25679948925971985,
-0.05017489194869995,
-0.09296555817127228,
-0.3761962354183197,
0.024051573127508163,
0.34049898386001587,
-0.0387941375374794,
-0.13645610213279724,
-0.15176145732402802,
0.6897541284561157,
-0.30333492159843445,
-0.13258096575737,
-0.2928517460823059,
0.05273640155792236,
-0.14602796733379364,
0.00880796741694212,
-0.1494423747062683,
0.3322666585445404,
0.024255212396383286,
-0.3555629551410675,
0.13647028803825378,
0.17803141474723816,
0.0070714945904910564,
0.14290457963943481,
-0.037683844566345215,
-0.1543159931898117,
0.2422003597021103,
-0.037422023713588715,
0.1784997135400772,
-0.2851484715938568,
0.015362505801022053,
-0.1822788566350937,
-0.04296542704105377,
0.8872878551483154,
-0.015733573585748672,
0.3833172619342804,
0.0657179206609726,
-0.31553617119789124,
0.21468226611614227,
-0.1014728844165802,
-0.387472927570343,
0.10349451005458832,
-0.14673611521720886,
-0.00849555991590023,
0.19939304888248444,
0.1269463300704956,
-0.3793798089027405,
0.33127427101135254,
0.4867502748966217,
-0.0527535006403923,
-0.06783934682607651,
-0.14033293724060059,
-0.0577668771147728,
-0.2165956199169159,
0.2569703459739685,
0.298449844121933,
0.6118951439857483,
0.34203600883483887,
-0.23220914602279663,
-0.02869279868900776,
-0.2344561666250229,
-0.027113700285553932,
0.32772982120513916,
0.22040091454982758,
0.2073075771331787,
0.16170692443847656,
0.1989458054304123,
-0.021565306931734085,
-0.20699313282966614,
0.09900705516338348,
0.11858820170164108,
-0.07847833633422852,
-0.2552343010902405,
0.13203532993793488,
-0.12294100970029831,
-0.46729913353919983,
-0.37192079424858093,
-0.008638364262878895,
-0.28789380192756653,
-0.2688485085964203,
-0.0035235658288002014,
-0.06300671398639679,
-0.15062902867794037,
0.39514976739883423,
-0.3680526614189148,
0.6665810942649841,
-0.6222047805786133,
-0.17521563172340393,
0.1866668313741684,
-0.13581880927085876,
-0.3332602381706238,
-0.014965808019042015,
0.4500231146812439,
0.23917508125305176,
0.579071044921875,
0.2580033242702484,
-0.21256856620311737,
0.2588501572608948,
-0.59897780418396,
0.13047069311141968,
-0.2574767470359802,
0.0979769378900528,
-0.010428473353385925,
-0.15237437188625336,
-0.001097269356250763,
-0.5292457342147827,
-0.008695343509316444,
-0.14793673157691956,
-0.13128149509429932,
-0.2954251766204834,
-0.15486003458499908,
0.07237260788679123,
-0.21560150384902954,
-0.5210797786712646,
-0.16498486697673798,
-0.24631057679653168,
0.18294085562229156,
0.10384412109851837,
0.06782082468271255,
0.16875778138637543,
-0.34619906544685364,
-0.011341124773025513,
0.07900587469339371,
-0.13159707188606262,
-0.3714292645454407,
0.01655251905322075,
0.12287048995494843,
-0.07605008035898209,
-0.08078433573246002,
0.07624249160289764,
-0.35884761810302734,
0.47322097420692444,
-0.10339280962944031,
-0.14509254693984985,
-0.37038227915763855,
0.21413905918598175,
0.09295675158500671,
-0.12664780020713806,
-0.007073706015944481,
0.5493040084838867,
-0.22354023158550262,
0.10004019737243652,
-0.14046457409858704,
-0.39123818278312683,
0.5070484280586243,
0.37139052152633667,
0.11379322409629822,
0.0857289731502533,
0.08150450140237808,
0.033434052020311356,
0.8937902450561523,
0.08857943117618561,
0.04715418443083763,
0.1234712302684784,
0.2390826940536499,
0.11297717690467834,
0.06831879913806915,
-0.21181343495845795,
-0.0003930854145437479,
0.06409813463687897,
0.025109048932790756,
0.42533189058303833,
-0.14570611715316772,
-0.32181569933891296,
0.03003593534231186,
-0.023014048114418983,
-0.2250785529613495,
-0.2506304383277893,
0.24194401502609253,
-0.0894741415977478,
0.005096897482872009,
0.14712312817573547,
-0.4340755045413971,
-0.2275451272726059,
-0.05483872815966606,
-0.0034391582012176514,
0.13677500188350677,
0.05867552384734154,
0.15359549224376678,
-0.33430275321006775,
0.07577759027481079,
-0.2835269868373871,
0.4102364778518677,
0.16931945085525513,
0.06049266830086708,
0.07321730256080627,
-0.2558838129043579,
0.22570258378982544,
-0.1318398416042328,
0.6602983474731445,
-0.33380529284477234,
-0.4634009599685669,
0.2002488374710083,
0.04474007338285446,
-0.19531776010990143,
-0.03002135083079338,
-0.14521901309490204,
-0.0074094426818192005,
0.5513285398483276,
-0.005902521312236786,
-0.537866473197937,
-0.224452406167984,
0.35881441831588745,
-0.04136848449707031,
-0.0985008180141449,
-0.08568564057350159,
-0.2508121728897095,
-0.22275367379188538,
-0.23876899480819702,
0.05533796176314354,
0.21588680148124695,
0.3282698094844818,
-0.010511205531656742,
0.028538692742586136,
-0.009580675512552261,
-0.007960081100463867,
0.2610589563846588,
0.2795525789260864,
0.11602877080440521,
0.2392529398202896,
0.27055540680885315,
-0.0632053092122078,
0.2572164833545685,
-0.12570756673812866,
0.5151455402374268,
-0.03278714045882225,
-0.2368270754814148,
0.10960519313812256,
-0.13829901814460754,
0.6279472708702087,
0.5840003490447998,
0.08049023151397705,
0.17978064715862274,
-0.23688247799873352,
-0.20851953327655792,
-0.15133793652057648,
0.060256097465753555,
0.020686201751232147,
-0.06463231146335602,
-0.3315710127353668,
-0.5256274342536926,
0.15411949157714844,
0.051507215946912766,
-0.24230384826660156,
0.13738784193992615,
0.21935567259788513,
-0.3787946105003357,
0.39880627393722534,
0.05019764602184296,
1.1997802257537842,
-0.013742983341217041,
0.17795878648757935,
0.1666429340839386,
-0.0655570775270462,
0.8582795262336731,
-0.4750620722770691,
-0.06044658273458481,
-0.23315180838108063,
0.15945012867450714,
0.15400218963623047,
-0.05103455111384392,
0.22687220573425293,
0.015159547328948975,
-0.21807312965393066,
0.14693720638751984,
0.3134313225746155,
0.008754067122936249,
-0.050476521253585815,
0.6960610151290894,
0.21729476749897003,
-0.28637999296188354,
-0.04820071905851364,
0.04719668626785278,
-0.11022932827472687,
-0.033871378749608994,
-0.27122175693511963,
-0.16152341663837433,
-0.27045387029647827,
0.031169570982456207,
-0.23718680441379547,
-0.029492132365703583,
-0.05946195870637894,
0.0052431682124733925,
-0.04087143763899803,
-0.559971272945404,
0.533668041229248,
0.18010519444942474,
0.24232392013072968,
-0.2819942533969879,
-0.04266729950904846,
0.23378819227218628,
-0.3745937943458557,
0.08461952209472656,
0.07334298640489578,
-0.3253619968891144,
0.3694792091846466,
-0.16629013419151306,
-0.2199862003326416,
-0.06309037655591965,
0.07884465157985687,
-0.4635733366012573,
0.053012773394584656,
0.17842014133930206,
0.25170958042144775,
-0.25191962718963623,
-0.5070768594741821,
0.44404685497283936,
0.3731192648410797,
-0.22067950665950775,
0.06582294404506683,
-0.027437113225460052,
-0.1985357701778412,
-0.11041880398988724,
-0.1201256662607193,
-0.29311132431030273,
-0.18074794113636017,
-0.004874803125858307,
0.12475182116031647,
-0.00490419939160347,
0.38015252351760864,
-0.2528392970561981,
0.13864798843860626,
-0.13821621239185333,
-0.03155002370476723,
0.18796837329864502,
-0.31592389941215515,
-0.2071080505847931,
0.17910613119602203,
-0.11607583612203598,
-0.23417414724826813,
0.16714347898960114,
0.2685612440109253,
0.3105769753456116,
-0.015331171452999115,
-0.1400669515132904,
0.01911723054945469,
0.2742619514465332,
0.09569551050662994,
0.2108156979084015,
0.2163800597190857,
0.38496145606040955,
-0.13081012666225433,
0.5114728212356567,
-0.2662651538848877,
-0.18100807070732117,
0.10301127284765244,
0.07257130742073059,
0.00594346784055233,
-0.032994382083415985,
-0.1049618273973465,
-0.04173886775970459,
0.05806663632392883,
0.12773549556732178,
-0.15790504217147827,
-0.16609543561935425,
-0.2474697083234787,
0.19135771691799164,
0.27035635709762573,
0.12549197673797607,
-0.14518135786056519,
-0.20430827140808105,
0.209408238530159,
0.13752475380897522,
0.14463727176189423,
-0.3383406698703766,
0.0033324286341667175,
0.05461704358458519,
0.10626313835382462,
0.14748987555503845,
-0.44724851846694946,
0.2564316987991333,
0.03230634704232216,
0.3221046030521393,
0.17121855914592743,
0.6068886518478394,
0.05443396791815758,
0.09372812509536743,
0.017520075663924217,
0.2522905468940735,
0.18450234830379486,
0.3556457459926605,
-0.18908369541168213,
-0.055704355239868164,
-0.12443885207176208,
0.18690334260463715,
0.16134387254714966,
0.2645793557167053,
-0.243204265832901,
0.20190216600894928,
-0.0384538508951664,
0.08256275951862335,
-0.33574342727661133,
0.17219774425029755,
0.2978162467479706,
-0.2691427767276764,
-0.10596144199371338,
0.5087522864341736,
0.6396760940551758,
0.42984873056411743,
0.34994518756866455,
-0.036381885409355164,
0.38790392875671387,
0.09116343408823013,
0.4318030774593353,
0.20528404414653778,
-0.038701146841049194,
0.2282831370830536,
0.41733986139297485,
0.23582486808300018,
0.24588674306869507,
-0.1966830939054489,
-0.30128416419029236,
0.02334091253578663,
-0.11203501373529434,
0.09188282489776611,
0.19596955180168152,
-0.1808481514453888,
0.32956838607788086,
0.28591668605804443,
0.14270338416099548,
0.07346069067716599,
0.16951048374176025,
0.7438580989837646,
-0.21253088116645813,
-0.48245978355407715,
0.03592471778392792,
0.18480578064918518,
-0.10585670918226242,
-0.021160747855901718,
-0.24824756383895874,
-0.11246663331985474,
-0.2573038339614868,
0.10345865786075592,
-0.02804223820567131,
-0.3761886954307556,
-0.09143643081188202,
0.13309065997600555,
-0.25453561544418335,
-0.23931671679019928,
-0.03716331720352173,
0.022922666743397713,
0.13594767451286316,
-0.18965087831020355,
0.449439138174057,
0.07497821003198624,
-0.0716235339641571,
0.1756746619939804,
0.23142503201961517,
0.14945317804813385,
-0.1003999263048172,
-0.12013562023639679,
0.10027620196342468,
0.19151313602924347,
0.021315792575478554,
-0.22705614566802979,
-0.1948849856853485,
0.07392051815986633,
0.12114976346492767,
0.25450506806373596,
0.11305628716945648,
-0.10755150765180588,
-0.11594921350479126,
0.3484731912612915,
-0.09838075935840607,
-0.3831670582294464,
0.5190085172653198,
-0.04904890060424805,
-0.074565589427948,
-0.16306781768798828,
0.2586316764354706,
-0.049867354333400726,
0.21120385825634003,
-0.02390505000948906,
-0.18835650384426117,
0.10696114599704742,
-0.08775094151496887,
0.04841369390487671,
-0.1922360211610794,
0.2654409408569336,
-0.14618352055549622,
-0.15039893984794617,
-0.31460896134376526,
-0.2994758188724518,
-0.798970103263855,
0.11829004436731339,
-0.018101993948221207,
-0.036893993616104126,
0.04194346070289612,
0.247579887509346,
0.24927270412445068,
0.12854041159152985,
-0.01911287009716034,
0.040458180010318756,
0.05942966789007187,
-0.09423749148845673,
-0.2984657287597656,
0.02505241520702839,
0.10336676985025406,
-0.03519537299871445,
-0.0596979595720768,
0.006229713559150696,
-0.18386486172676086,
0.24752524495124817,
-0.24284040927886963,
-0.013483569025993347,
-0.04674946889281273,
0.2229847013950348,
-0.10532954335212708,
0.2038077712059021,
0.12811219692230225,
0.38361087441444397,
0.007225409150123596,
0.09585455060005188,
0.10517672449350357,
-0.08666886389255524,
-0.47238215804100037,
0.3334479331970215,
-0.11607788503170013,
0.4818093478679657,
-0.2523133158683777,
-0.2158423215150833,
0.06306617707014084,
0.22324685752391815,
0.07708413898944855,
-0.11347571760416031,
-0.23864510655403137,
0.07857953011989594,
-0.361668199300766,
0.13781769573688507,
0.2514621913433075,
0.4139333665370941,
0.07521925866603851,
0.01716023124754429,
-0.3586426377296448,
0.014349138364195824,
0.14461469650268555,
-0.06702955067157745,
-0.317719966173172,
0.1859184354543686,
0.2915474474430084,
-0.27469903230667114,
0.026936035603284836,
-0.7207664847373962,
-0.19948968291282654,
0.3625565469264984,
-0.17874640226364136,
0.019925683736801147,
0.38728097081184387,
0.1352926641702652,
-0.19086724519729614,
-0.04676259681582451,
0.057842954993247986,
0.09118486940860748,
-0.20736469328403473,
-0.025851065292954445,
-0.25012654066085815
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | great @aleSuglia. I requested an additional review from @thomwolf @lhoestq and @patrickvonplaten @jplu . You can merge it after an approval from one of them | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 25 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
great @aleSuglia. I requested an additional review from @thomwolf @lhoestq and @patrickvonplaten @jplu . You can merge it after an approval from one of them | [
-0.37696248292922974,
0.17055028676986694,
-0.11059108376502991,
0.09494298696517944,
-0.17809951305389404,
0.010083861649036407,
0.2537232041358948,
0.16191664338111877,
0.14074549078941345,
-0.14064382016658783,
-0.18759436905384064,
0.5328869819641113,
-0.06266254931688309,
0.26937735080718994,
0.35425201058387756,
0.1260032057762146,
0.0467795692384243,
0.28962528705596924,
-0.0021169856190681458,
0.043928131461143494,
-0.2723625898361206,
0.12990178167819977,
0.10935467481613159,
-0.07404765486717224,
0.034651726484298706,
-0.3337208032608032,
-0.13169968128204346,
0.13528162240982056,
0.10642897337675095,
-0.2586769759654999,
0.6316195726394653,
0.46920788288116455,
-0.012905828654766083,
0.12188498675823212,
-0.00011505786096677184,
0.0027225613594055176,
0.23474213480949402,
-0.09845957159996033,
-0.20532850921154022,
-0.30228257179260254,
-0.298861026763916,
-0.16391639411449432,
0.05333197861909866,
-0.2338317632675171,
0.08181264996528625,
0.012748846784234047,
0.1725873053073883,
-0.2085150182247162,
0.31851738691329956,
-0.23890870809555054,
0.11214321851730347,
-0.09562773257493973,
-0.313282310962677,
0.13479767739772797,
0.027621783316135406,
0.27956607937812805,
-0.11994986236095428,
0.13300342857837677,
0.1303226351737976,
0.17020569741725922,
0.16974405944347382,
0.3351860046386719,
0.08039778470993042,
-0.39942482113838196,
0.15697228908538818,
-0.07295532524585724,
-0.004919715225696564,
-0.08960901200771332,
-0.0036991462111473083,
0.270108163356781,
0.012454934418201447,
-0.270342618227005,
-0.24786865711212158,
-0.3951050341129303,
0.16651193797588348,
-0.4658038020133972,
-0.2447284758090973,
0.2015053927898407,
0.08666619658470154,
0.25060248374938965,
0.03504628688097,
-0.18147845566272736,
-0.3463462293148041,
0.2081754356622696,
-0.06597528606653214,
0.5829658508300781,
0.04618857428431511,
0.22726300358772278,
0.021016374230384827,
0.1720520257949829,
0.3488582372665405,
-0.1846747100353241,
-0.12740685045719147,
-0.03272048383951187,
-0.23117150366306305,
-0.27699220180511475,
0.006455957889556885,
0.10716747492551804,
0.3875485062599182,
0.25781387090682983,
0.1674962043762207,
0.06053509935736656,
-0.0033855782821774483,
0.11581294983625412,
0.48623743653297424,
-0.030909879133105278,
0.23317086696624756,
-0.22793053090572357,
0.21679407358169556,
0.05866773799061775,
-0.06495073437690735,
0.0903661698102951,
0.031906552612781525,
0.34313124418258667,
-0.04397354647517204,
-0.294355571269989,
0.2714797258377075,
-0.20676679909229279,
-0.2748546004295349,
-0.17320077121257782,
-0.21659019589424133,
-0.1592932790517807,
-0.10897175967693329,
0.2700318694114685,
0.21658502519130707,
0.5028391480445862,
0.03327398747205734,
0.31811946630477905,
0.17945468425750732,
-0.3185998499393463,
-0.1519622951745987,
0.029956907033920288,
0.09268730878829956,
0.1287178248167038,
0.061428312212228775,
-0.049581561237573624,
0.08033763617277145,
0.10753428190946579,
-0.02199600636959076,
0.06631104648113251,
0.3542572557926178,
-0.08855172991752625,
0.019183985888957977,
0.17503491044044495,
0.15253987908363342,
0.08173083513975143,
-0.0013272725045681,
0.015096805989742279,
-0.3517869710922241,
0.38175588846206665,
-0.029802247881889343,
-0.3558487296104431,
0.11914970725774765,
0.04448952525854111,
-0.31949347257614136,
-0.11415497958660126,
-0.05221346765756607,
0.8126600384712219,
0.022100411355495453,
-0.09970582276582718,
-0.17153111100196838,
-0.07025670260190964,
-0.2800484597682953,
-0.1343655288219452,
0.022149669006466866,
0.08517957478761673,
-0.890092134475708,
-0.16656987369060516,
-0.36400893330574036,
0.03433363884687424,
-0.07717183977365494,
-0.060023803263902664,
-0.614635705947876,
0.264521062374115,
-0.10698945820331573,
0.20995105803012848,
0.6147506833076477,
-0.13910110294818878,
-0.2100251168012619,
0.056088920682668686,
-0.19614671170711517,
0.18924397230148315,
0.3271729648113251,
0.1590527892112732,
0.038616470992565155,
-0.046258021146059036,
-0.004757523536682129,
0.47031837701797485,
-0.2704901099205017,
-0.17186427116394043,
-0.07562104612588882,
-0.3211148977279663,
0.5877566933631897,
0.11919073760509491,
-0.02796133980154991,
-0.39098501205444336,
0.058656927198171616,
0.2512710988521576,
0.22315740585327148,
-0.2813127934932709,
0.07493216544389725,
-0.037445537745952606,
0.309538334608078,
-0.021592117846012115,
-0.07743541896343231,
-0.210211843252182,
-0.47413861751556396,
-0.034584302455186844,
-0.22411736845970154,
0.17198523879051208,
0.05424363911151886,
-0.4293403625488281,
-0.2639721930027008,
-0.09712998569011688,
-0.04869430884718895,
-0.3124734163284302,
0.008354023098945618,
0.3100377321243286,
-0.06290732324123383,
-0.13780012726783752,
-0.2020883709192276,
0.6061646938323975,
-0.3163420855998993,
-0.12777839601039886,
-0.30706849694252014,
0.06763991713523865,
-0.07947929203510284,
-0.020808883011341095,
-0.16099512577056885,
0.3600122034549713,
0.043589502573013306,
-0.2697061598300934,
0.19149091839790344,
0.17881324887275696,
-0.027750151231884956,
0.19585618376731873,
-0.07218407839536667,
-0.11055193841457367,
0.2661285400390625,
0.02824660763144493,
0.25425341725349426,
-0.30292415618896484,
-0.01306080911308527,
-0.21643170714378357,
-0.0595296174287796,
0.910289466381073,
-0.04111940786242485,
0.4071578085422516,
0.08471405506134033,
-0.34169089794158936,
0.1818612962961197,
-0.06628471612930298,
-0.4023096561431885,
0.08583751320838928,
-0.19032011926174164,
-0.02766251191496849,
0.23724006116390228,
0.17327050864696503,
-0.4225025177001953,
0.381659597158432,
0.4929864704608917,
-0.050805676728487015,
-0.05285940319299698,
-0.14487478137016296,
-0.14053615927696228,
-0.18540304899215698,
0.24696390330791473,
0.2903594970703125,
0.5890488624572754,
0.36361002922058105,
-0.2418925166130066,
-0.04340941458940506,
-0.18310683965682983,
-0.028630875051021576,
0.31619346141815186,
0.23664505779743195,
0.24804925918579102,
0.14107021689414978,
0.18966743350028992,
-0.006763284094631672,
-0.24201631546020508,
0.18301331996917725,
0.06546077877283096,
-0.16514907777309418,
-0.18991293013095856,
0.12572520971298218,
-0.11054164916276932,
-0.4616331458091736,
-0.41376861929893494,
0.03785182908177376,
-0.31782761216163635,
-0.2835833728313446,
-0.01195674017071724,
-0.013173405081033707,
-0.18949450552463531,
0.409360408782959,
-0.3235878050327301,
0.6784420609474182,
-0.6147715449333191,
-0.13540169596672058,
0.23388418555259705,
-0.17520934343338013,
-0.26523250341415405,
-0.0043534040451049805,
0.3913063108921051,
0.18119175732135773,
0.5973986983299255,
0.2779281735420227,
-0.205501526594162,
0.28508538007736206,
-0.5917841792106628,
0.12121026962995529,
-0.27620381116867065,
0.02221100404858589,
-0.0011307001113891602,
-0.0882522314786911,
-0.0037175342440605164,
-0.5365417003631592,
0.001535006333142519,
-0.06477097421884537,
-0.12613660097122192,
-0.39044103026390076,
-0.13370200991630554,
0.14216159284114838,
-0.23660480976104736,
-0.4783168137073517,
-0.212223619222641,
-0.28801220655441284,
0.19503827393054962,
0.06842496991157532,
0.09329666197299957,
0.12340646982192993,
-0.3454829454421997,
-0.03905773535370827,
0.05896313115954399,
-0.13132162392139435,
-0.3515250086784363,
-0.002115480601787567,
0.13447421789169312,
-0.08390366286039352,
-0.024595633149147034,
0.06337188184261322,
-0.3115118741989136,
0.4006616473197937,
-0.13164277374744415,
-0.11406520009040833,
-0.37583762407302856,
0.22003544867038727,
0.02231026068329811,
-0.09448105096817017,
0.023296134546399117,
0.533371090888977,
-0.18289589881896973,
0.10697764158248901,
-0.1373710036277771,
-0.42002174258232117,
0.46455368399620056,
0.36715349555015564,
0.10416155308485031,
0.14029952883720398,
0.07708410918712616,
0.004839953035116196,
0.9343540668487549,
0.12637823820114136,
0.05710475146770477,
0.12043457478284836,
0.3270004093647003,
0.1078687533736229,
0.10144948959350586,
-0.15986064076423645,
-0.05788174644112587,
0.0022776424884796143,
0.06152886897325516,
0.43356549739837646,
-0.05787862092256546,
-0.31636348366737366,
0.03955624997615814,
-0.025613663718104362,
-0.18564435839653015,
-0.25534895062446594,
0.24646249413490295,
-0.12533855438232422,
-0.04460813105106354,
0.11577887833118439,
-0.46346673369407654,
-0.22024770081043243,
0.008388146758079529,
0.033717747777700424,
0.15761853754520416,
0.054402995854616165,
0.17756877839565277,
-0.33885544538497925,
0.01989034004509449,
-0.3046679198741913,
0.3120245933532715,
0.16300754249095917,
-0.049892358481884,
0.08370332419872284,
-0.3131383955478668,
0.24472594261169434,
-0.07873576879501343,
0.6626549959182739,
-0.3114975094795227,
-0.47870755195617676,
0.13662724196910858,
0.048025600612163544,
-0.1441035121679306,
-0.018182942643761635,
-0.038585297763347626,
-0.030453208833932877,
0.5845931768417358,
0.02801188826560974,
-0.5507019758224487,
-0.24284566938877106,
0.3293813169002533,
-0.07430261373519897,
-0.11664445698261261,
-0.1018904522061348,
-0.18499267101287842,
-0.20454126596450806,
-0.2305455207824707,
-0.0008515268564224243,
0.25803443789482117,
0.3470152020454407,
-0.0308202113956213,
0.026848729699850082,
-0.020901383832097054,
-0.05004160478711128,
0.26031237840652466,
0.1898631751537323,
0.1480758786201477,
0.23749759793281555,
0.202989399433136,
-0.06716273725032806,
0.2924903333187103,
-0.16853275895118713,
0.5348607301712036,
-0.037716303020715714,
-0.2684302031993866,
0.0862482562661171,
-0.10687990486621857,
0.6423113942146301,
0.5827693939208984,
0.11403434723615646,
0.18621234595775604,
-0.19777286052703857,
-0.2432882934808731,
-0.14760005474090576,
0.06649784743785858,
-0.06398800760507584,
-0.1084025502204895,
-0.35590997338294983,
-0.5598140954971313,
0.19610242545604706,
0.08426553010940552,
-0.2317204475402832,
0.10805423557758331,
0.19522760808467865,
-0.3906313478946686,
0.36233681440353394,
0.07971210777759552,
1.2435626983642578,
-0.03947015851736069,
0.23690614104270935,
0.11207129806280136,
-0.0479963943362236,
0.924390971660614,
-0.48955804109573364,
-0.09927021712064743,
-0.26060745120048523,
0.1863323152065277,
0.13058333098888397,
-0.04357859119772911,
0.17366597056388855,
0.06572926789522171,
-0.17827701568603516,
0.15756277740001678,
0.27226531505584717,
0.06019165739417076,
-0.03755206614732742,
0.6161849498748779,
0.18454137444496155,
-0.3173989951610565,
-0.09329711645841599,
0.018873948603868484,
-0.11784377694129944,
-0.12141861021518707,
-0.2548859119415283,
-0.2345455139875412,
-0.2434355765581131,
0.060596540570259094,
-0.23347896337509155,
-0.050398893654346466,
-0.038904819637537,
0.0527411513030529,
-0.0994919091463089,
-0.5940910577774048,
0.4466833472251892,
0.17323936522006989,
0.2877599000930786,
-0.2857157289981842,
-0.0025459062308073044,
0.22551605105400085,
-0.30044862627983093,
0.04471684619784355,
-0.02844051830470562,
-0.29521968960762024,
0.339794784784317,
-0.1490250527858734,
-0.16602177917957306,
-0.06260689347982407,
0.07842706888914108,
-0.4509674310684204,
-0.0049987733364105225,
0.18991553783416748,
0.20779593288898468,
-0.2345159947872162,
-0.4936612844467163,
0.4123413860797882,
0.4101583957672119,
-0.2592938542366028,
0.06051739305257797,
0.04040243476629257,
-0.1570044457912445,
-0.16928315162658691,
-0.13320958614349365,
-0.2422124147415161,
-0.19156073033809662,
0.024278491735458374,
0.26324933767318726,
-0.08387758582830429,
0.32334065437316895,
-0.22172634303569794,
0.08687086403369904,
-0.09011997282505035,
-0.06613916158676147,
0.15441729128360748,
-0.34824296832084656,
-0.1251218169927597,
0.19770638644695282,
-0.2130592167377472,
-0.22929294407367706,
0.10492710024118423,
0.2537761330604553,
0.3515017330646515,
-0.07802212238311768,
-0.14696498215198517,
-0.02335118129849434,
0.27013516426086426,
0.0780448168516159,
0.23634859919548035,
0.31666263937950134,
0.3645647466182709,
-0.17956602573394775,
0.4449889361858368,
-0.26020482182502747,
-0.20558477938175201,
0.11883436888456345,
0.08208458125591278,
0.05994052067399025,
-0.023717515170574188,
-0.1184043139219284,
-0.048222217708826065,
0.03400176018476486,
0.10580707341432571,
-0.13314801454544067,
-0.15628516674041748,
-0.20706672966480255,
0.1904028356075287,
0.28122472763061523,
0.12315504252910614,
-0.12313882261514664,
-0.13161598145961761,
0.2093808948993683,
0.1473868191242218,
0.19160054624080658,
-0.3629564642906189,
0.020288947969675064,
0.08057752251625061,
0.08679350465536118,
0.16076183319091797,
-0.4104129672050476,
0.2531195282936096,
0.03695322200655937,
0.3108869194984436,
0.12604117393493652,
0.5518530607223511,
0.03139333799481392,
0.0931638777256012,
0.05029095336794853,
0.23766040802001953,
0.24808348715305328,
0.36048805713653564,
-0.16158711910247803,
-0.06427207589149475,
-0.17740589380264282,
0.19582130014896393,
0.1555183082818985,
0.2525927722454071,
-0.22049710154533386,
0.23264651000499725,
-0.07892564684152603,
0.06872008740901947,
-0.32534506916999817,
0.12357979267835617,
0.2448112517595291,
-0.27239856123924255,
-0.13325084745883942,
0.4620392620563507,
0.6178215146064758,
0.4640609622001648,
0.2910616993904114,
-0.02306756004691124,
0.3982190787792206,
0.12417662143707275,
0.4879262149333954,
0.2114926129579544,
0.034288015216588974,
0.20088829100131989,
0.34959766268730164,
0.31698378920555115,
0.2825412452220917,
-0.20204390585422516,
-0.26600325107574463,
0.04289654642343521,
-0.08099783211946487,
0.01881225034594536,
0.19495047628879547,
-0.1822001338005066,
0.3157760202884674,
0.3316170275211334,
0.12476181983947754,
0.05104056000709534,
0.23990638554096222,
0.7158987522125244,
-0.13046178221702576,
-0.5357881188392639,
0.07712245732545853,
0.26654869318008423,
-0.14863696694374084,
-0.01385134644806385,
-0.2526136636734009,
-0.06908803433179855,
-0.21689647436141968,
0.10809944570064545,
-0.04809833690524101,
-0.40796488523483276,
-0.07016745209693909,
0.07849855720996857,
-0.17131103575229645,
-0.24047411978244781,
-0.03119334578514099,
-0.011543210595846176,
0.17052841186523438,
-0.13780124485492706,
0.35467156767845154,
0.05815306305885315,
-0.05807669460773468,
0.16320641338825226,
0.20670059323310852,
0.09743908792734146,
-0.06663831323385239,
-0.10458795726299286,
0.08198067545890808,
0.19883175194263458,
0.01935228891670704,
-0.1875223070383072,
-0.28225407004356384,
0.09809378534555435,
0.12004329264163971,
0.2615109980106354,
0.10591144114732742,
-0.09142279624938965,
-0.11033201217651367,
0.25569358468055725,
-0.06761004030704498,
-0.38077211380004883,
0.5526148080825806,
-0.05933098495006561,
-0.11834538727998734,
-0.1310501992702484,
0.24477708339691162,
-0.054723817855119705,
0.1763790249824524,
0.02092619612812996,
-0.1627730280160904,
0.08946514129638672,
-0.15743283927440643,
0.05729140341281891,
-0.15423496067523956,
0.2005535215139389,
-0.09115748107433319,
-0.1722669005393982,
-0.3120827376842499,
-0.26757246255874634,
-0.710615873336792,
0.07294587045907974,
0.003915552049875259,
0.000052735209465026855,
0.02016746625304222,
0.23459972441196442,
0.2604200541973114,
0.16584144532680511,
-0.022462978959083557,
0.0789264664053917,
0.10055598616600037,
-0.10010741651058197,
-0.25705602765083313,
0.03501956909894943,
0.13738852739334106,
-0.027338126674294472,
-0.010715708136558533,
-0.0013517849147319794,
-0.1903275102376938,
0.24312281608581543,
-0.22179755568504333,
-0.05096904933452606,
-0.02895452454686165,
0.2585129737854004,
-0.09911951422691345,
0.18289726972579956,
0.07158221304416656,
0.34122434258461,
-0.034850575029850006,
0.05761411786079407,
0.18761856853961945,
-0.09407336264848709,
-0.5375405550003052,
0.28985312581062317,
-0.15521210432052612,
0.48357561230659485,
-0.3560345768928528,
-0.2243102341890335,
0.08103737235069275,
0.22101619839668274,
0.04242099076509476,
-0.12242840975522995,
-0.2937053143978119,
0.09878303110599518,
-0.38058027625083923,
0.07916072010993958,
0.2445646971464157,
0.4146556854248047,
0.0711960420012474,
0.029417933896183968,
-0.32009756565093994,
-0.03085166960954666,
0.1468755304813385,
-0.04898298531770706,
-0.3129999339580536,
0.18600626289844513,
0.26664385199546814,
-0.2604875862598419,
0.07300491631031036,
-0.7453752756118774,
-0.1725848913192749,
0.3041708469390869,
-0.15521129965782166,
0.05708229914307594,
0.409119188785553,
0.09447188675403595,
-0.2092273235321045,
-0.0713137537240982,
0.04067021235823631,
0.11595284193754196,
-0.24071744084358215,
-0.04178420826792717,
-0.35020512342453003
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | Not sure whether it's the most appropriate place but I'll ask another design question. For Vision+Language dataset, is very common to have visual features associated with each example. At the moment, for instance, I'm only integrating the image identifier so that people can later on lookup the image features during training. Do you recommend this approach or do you think it should be done in a different way?
Thank you for your answer! | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 73 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
Not sure whether it's the most appropriate place but I'll ask another design question. For Vision+Language dataset, is very common to have visual features associated with each example. At the moment, for instance, I'm only integrating the image identifier so that people can later on lookup the image features during training. Do you recommend this approach or do you think it should be done in a different way?
Thank you for your answer! | [
-0.35981059074401855,
0.03395150601863861,
-0.0874643474817276,
0.19940851628780365,
-0.22303803265094757,
-0.014210820198059082,
0.3186974823474884,
0.04133215546607971,
0.1898825764656067,
-0.20286305248737335,
-0.10065907984972,
0.5089890360832214,
-0.09805334359407425,
0.4037027657032013,
0.4824490249156952,
-0.04016502946615219,
0.07308872789144516,
0.28632715344429016,
-0.055995672941207886,
0.06423857063055038,
-0.23022790253162384,
0.002484908327460289,
0.09793572127819061,
-0.0029278695583343506,
-0.047115061432123184,
-0.34523096680641174,
-0.23405596613883972,
0.14265254139900208,
0.2131921350955963,
-0.25116243958473206,
0.36638128757476807,
0.39168429374694824,
0.09624461084604263,
0.0912473052740097,
-0.00011497898231027648,
0.016319073736667633,
0.22527877986431122,
-0.17051327228546143,
-0.15786975622177124,
-0.21801535785198212,
-0.36162039637565613,
-0.34730657935142517,
0.0445413738489151,
-0.2621484398841858,
0.05151703953742981,
-0.1033979207277298,
0.29265397787094116,
-0.048909686505794525,
0.32479891180992126,
-0.2991224229335785,
0.08182433247566223,
-0.06299715489149094,
-0.34793204069137573,
0.2617691159248352,
0.02951093763113022,
0.4386969208717346,
-0.08048295229673386,
0.13770081102848053,
0.14128613471984863,
0.12392884492874146,
0.10208926349878311,
0.4820992350578308,
0.11714218556880951,
-0.3763275146484375,
0.27420130372047424,
-0.0020470088347792625,
-0.15067040920257568,
-0.10794156789779663,
-0.11197582632303238,
0.17057082056999207,
0.01864483207464218,
-0.15799066424369812,
-0.2643744647502899,
-0.42431867122650146,
0.056139979511499405,
-0.5150595903396606,
-0.19464322924613953,
0.2767470180988312,
0.14669907093048096,
0.24698829650878906,
-0.09376250207424164,
-0.22052328288555145,
-0.36508485674858093,
0.27106350660324097,
-0.09170496463775635,
0.2786009907722473,
0.05062352493405342,
0.23221692442893982,
-0.04551735147833824,
0.2081606090068817,
0.3755374252796173,
-0.18884886801242828,
-0.1515960991382599,
-0.017897233366966248,
-0.0993177741765976,
-0.20122326910495758,
-0.055268220603466034,
0.17142266035079956,
0.29734480381011963,
0.12240149825811386,
0.2706514596939087,
0.031764544546604156,
-0.1220918521285057,
0.16158556938171387,
0.4304772913455963,
-0.02482764422893524,
0.11162996292114258,
-0.052841104567050934,
0.26506638526916504,
-0.005713846534490585,
-0.14143534004688263,
0.0017121434211730957,
-0.07508192211389542,
0.42511722445487976,
0.1282462775707245,
-0.34555578231811523,
0.1536184549331665,
-0.09584876894950867,
-0.23856709897518158,
-0.17794859409332275,
-0.22407764196395874,
-0.151487797498703,
-0.07453706860542297,
0.23572438955307007,
0.2156769037246704,
0.3864745795726776,
0.0839361920952797,
0.2670842409133911,
0.12903062999248505,
-0.3798016607761383,
-0.13603492081165314,
0.06222890317440033,
-0.021602200344204903,
0.21471169590950012,
-0.03905314952135086,
0.1465924233198166,
0.18674705922603607,
0.050834059715270996,
-0.14111396670341492,
0.04651591181755066,
0.47937777638435364,
-0.16749846935272217,
-0.013968728482723236,
0.14909587800502777,
0.013871602714061737,
0.012047471478581429,
-0.12494577467441559,
0.07833322882652283,
-0.24494895339012146,
0.3520779013633728,
0.009594254195690155,
-0.36508849263191223,
0.2342866212129593,
-0.001855645328760147,
-0.348771870136261,
-0.0827646553516388,
-0.06282731145620346,
0.9189568161964417,
0.09282974153757095,
-0.12015576660633087,
-0.24095302820205688,
-0.08700060844421387,
-0.25831717252731323,
-0.1474231481552124,
-0.08799956738948822,
0.1412050724029541,
-0.9876096844673157,
-0.14776839315891266,
-0.16920357942581177,
0.08747749030590057,
-0.11038991063833237,
-0.03310852870345116,
-0.5979874134063721,
0.3571111559867859,
-0.10801081359386444,
0.13243961334228516,
0.631534993648529,
-0.23824496567249298,
-0.1955709606409073,
0.061460964381694794,
-0.03923729434609413,
0.2526661455631256,
0.20936724543571472,
0.377381294965744,
0.14142772555351257,
0.02479148656129837,
-0.142380028963089,
0.5169340968132019,
-0.3252364993095398,
-0.1362541913986206,
-0.07281120866537094,
-0.33337754011154175,
0.561600923538208,
0.1828027367591858,
-0.06082083657383919,
-0.4402009844779968,
0.061422258615493774,
0.13334141671657562,
0.13644160330295563,
-0.34674757719039917,
0.0591139942407608,
-0.0977788120508194,
0.1920613795518875,
0.06281007826328278,
-0.10598113387823105,
-0.1484348177909851,
-0.43087995052337646,
0.039046600461006165,
-0.2036113142967224,
0.14292387664318085,
0.04735870659351349,
-0.3259980082511902,
-0.0717625692486763,
-0.1664191633462906,
-0.142843559384346,
-0.3554057776927948,
-0.03955250233411789,
0.26327604055404663,
-0.18621915578842163,
-0.16129860281944275,
-0.2468731850385666,
0.7307520508766174,
-0.3250581622123718,
-0.06820710748434067,
-0.23297621309757233,
0.1409597098827362,
-0.06849053502082825,
-0.011805797927081585,
-0.19510343670845032,
0.24705779552459717,
0.01674278825521469,
-0.3215335011482239,
0.15187358856201172,
0.05403466895222664,
0.17428132891654968,
0.20850789546966553,
-0.006685294210910797,
-0.0379309356212616,
0.3476699888706207,
-0.1889982670545578,
0.36491408944129944,
-0.32147642970085144,
0.006529174745082855,
-0.20831751823425293,
-0.04469820857048035,
0.7156345844268799,
0.08479917794466019,
0.4030502736568451,
0.04573245346546173,
-0.336375892162323,
0.20194336771965027,
-0.06503234803676605,
-0.36813196539878845,
0.07676836848258972,
-0.2611672580242157,
-0.05966823920607567,
0.15330000221729279,
0.23123396933078766,
-0.4863290786743164,
0.38215792179107666,
0.47983643412590027,
-0.03813418373465538,
-0.017974279820919037,
-0.14420032501220703,
-0.20124080777168274,
-0.16625657677650452,
0.3433894217014313,
0.16346396505832672,
0.5327945351600647,
0.3359299898147583,
-0.31485220789909363,
-0.038721516728401184,
-0.15814734995365143,
0.01323455199599266,
0.3081708252429962,
0.2593710422515869,
0.34196826815605164,
0.02643713913857937,
0.13466021418571472,
0.0032966583967208862,
-0.18411403894424438,
0.06872498989105225,
0.04687240719795227,
-0.25405022501945496,
-0.18285027146339417,
0.18351994454860687,
-0.026385879144072533,
-0.6253867745399475,
-0.34270673990249634,
0.1707727611064911,
-0.24263229966163635,
-0.1374041736125946,
-0.006142415106296539,
-0.1384751796722412,
-0.18493808805942535,
0.35237303376197815,
-0.3236500918865204,
0.7556519508361816,
-0.6687899231910706,
-0.01357630081474781,
0.26609691977500916,
-0.224660724401474,
-0.25987860560417175,
-0.07541567832231522,
0.393665075302124,
0.3024238646030426,
0.6710433959960938,
0.19212843477725983,
-0.16792041063308716,
0.22209495306015015,
-0.6776630282402039,
0.22689947485923767,
-0.17745356261730194,
0.21273000538349152,
-0.01338203251361847,
-0.06268440186977386,
-0.028268635272979736,
-0.4100663661956787,
0.016285959631204605,
0.057893507182598114,
-0.14177237451076508,
-0.38216066360473633,
-0.17886526882648468,
0.044853705912828445,
-0.12749826908111572,
-0.3311174809932709,
-0.3200181722640991,
-0.30246809124946594,
0.19068171083927155,
0.18508055806159973,
0.14983850717544556,
0.11380273848772049,
-0.3154292702674866,
-0.1343950480222702,
0.011294187046587467,
-0.08015695959329605,
-0.25037682056427,
0.02994643524289131,
0.08930654078722,
-0.10830394923686981,
-0.06694407761096954,
-0.02317725494503975,
-0.4387858510017395,
0.45433688163757324,
-0.03354561701416969,
-0.14871731400489807,
-0.44047001004219055,
0.1970714032649994,
-0.011245355010032654,
-0.0672905221581459,
-0.027340160682797432,
0.4541810154914856,
-0.14519867300987244,
0.16341526806354523,
-0.11708323657512665,
-0.3332245349884033,
0.5227549076080322,
0.44395074248313904,
0.16002465784549713,
0.24661636352539062,
0.0006239041686058044,
0.045637454837560654,
0.907532811164856,
0.1673753410577774,
-0.051563601940870285,
0.09869720786809921,
0.35601916909217834,
0.0976434051990509,
0.07837481796741486,
-0.15874473750591278,
0.0070155905559659,
-0.00008949637413024902,
0.0676293894648552,
0.3718390464782715,
-0.05432578921318054,
-0.31199410557746887,
-0.002100188285112381,
-0.053166553378105164,
-0.275526762008667,
-0.1673126518726349,
0.29016435146331787,
-0.12113936245441437,
0.12342515587806702,
0.038967061787843704,
-0.4662080705165863,
-0.20012839138507843,
0.005079355090856552,
0.049667663872241974,
0.18664266169071198,
0.07032477110624313,
0.21372604370117188,
-0.373217910528183,
-0.04046562314033508,
-0.06592173129320145,
0.2387557327747345,
0.20681233704090118,
-0.09753740578889847,
0.07289749383926392,
-0.3024235963821411,
0.15600407123565674,
-0.044816210865974426,
0.5752869844436646,
-0.2783266007900238,
-0.47250860929489136,
0.03150489181280136,
-0.08506764471530914,
-0.023420274257659912,
-0.06264519691467285,
-0.02480187825858593,
-0.0970151498913765,
0.5055837631225586,
0.05693964660167694,
-0.446696400642395,
-0.18902330100536346,
0.3707424998283386,
0.015912650153040886,
-0.18957141041755676,
-0.10582659393548965,
-0.14977408945560455,
-0.09942598640918732,
-0.25303441286087036,
0.010542653501033783,
0.1627754420042038,
0.11112892627716064,
0.06526539474725723,
-0.04026424139738083,
-0.10724163055419922,
-0.010678775608539581,
0.12236475199460983,
0.3158351480960846,
0.1295323222875595,
0.09310808032751083,
0.24752280116081238,
0.07363972812891006,
0.3469175398349762,
-0.22269390523433685,
0.48763522505760193,
0.008651034906506538,
-0.32516834139823914,
-0.015047136694192886,
-0.1475018560886383,
0.6503501534461975,
0.6262679696083069,
0.18400634825229645,
0.03562780097126961,
-0.18863147497177124,
-0.2435573786497116,
-0.2576437294483185,
0.2039155662059784,
-0.011150768026709557,
-0.06722273677587509,
-0.26071345806121826,
-0.5152116417884827,
0.07424335926771164,
-0.013868783600628376,
-0.2242637723684311,
0.039131805300712585,
0.07110252976417542,
-0.41557806730270386,
0.3995997905731201,
0.24651995301246643,
1.2436184883117676,
-0.04246003180742264,
0.34987717866897583,
0.09727949649095535,
-0.031501710414886475,
0.8052709102630615,
-0.32016026973724365,
-0.09130663424730301,
-0.27556130290031433,
0.038655295968055725,
0.12945634126663208,
-0.08808155357837677,
0.24536165595054626,
0.043924007564783096,
-0.08516698330640793,
0.16249915957450867,
0.3959887623786926,
0.10811272263526917,
-0.08535484224557877,
0.5308804512023926,
0.4079956114292145,
-0.30155161023139954,
0.0690254420042038,
-0.009487947449088097,
-0.15983876585960388,
-0.14563217759132385,
-0.28154364228248596,
-0.21086923778057098,
-0.303901731967926,
0.15062160789966583,
-0.044080138206481934,
-0.13067108392715454,
-0.1468876451253891,
0.0601164884865284,
-0.1784105747938156,
-0.5239272117614746,
0.3801243007183075,
0.2501918077468872,
0.11846356838941574,
-0.31704479455947876,
0.03776434436440468,
0.23503953218460083,
-0.19868966937065125,
0.043754007667303085,
0.04225714132189751,
-0.29521891474723816,
0.40031343698501587,
-0.15077823400497437,
-0.1641538143157959,
-0.09162034839391708,
0.07038464397192001,
-0.20174993574619293,
-0.09070409834384918,
0.06195279210805893,
0.3093941807746887,
-0.14863818883895874,
-0.5364728569984436,
0.38284456729888916,
0.3714560270309448,
-0.13538356125354767,
0.0429169237613678,
0.10364193469285965,
-0.09214437752962112,
-0.08767621964216232,
-0.129750058054924,
-0.12255386263132095,
-0.1863766759634018,
-0.1416780948638916,
0.18483316898345947,
-0.10226992517709732,
0.1518702656030655,
-0.24578258395195007,
0.09138070046901703,
-0.06392247974872589,
0.1474880874156952,
0.1933768093585968,
-0.29657429456710815,
-0.2079547792673111,
0.2188664674758911,
-0.2961001992225647,
-0.360233336687088,
0.2363111972808838,
0.31416064500808716,
0.12972603738307953,
-0.027243271470069885,
-0.04884171858429909,
-0.07804634422063828,
0.40595024824142456,
0.07995473593473434,
0.2725895941257477,
0.14185374975204468,
0.2620809078216553,
-0.25852274894714355,
0.5366874933242798,
-0.22952648997306824,
-0.30211177468299866,
0.19102194905281067,
0.15583409368991852,
0.12912617623806,
0.02885129675269127,
-0.13810096681118011,
-0.005166888236999512,
0.018712325021624565,
0.024047724902629852,
-0.13292543590068817,
-0.11505480855703354,
-0.2838641107082367,
0.19283601641654968,
0.3397276699542999,
0.008835351094603539,
-0.08540002256631851,
-0.21396003663539886,
0.23989790678024292,
0.07633548974990845,
0.1229010820388794,
-0.40544888377189636,
-0.07485872507095337,
0.12390333414077759,
-0.14445137977600098,
0.10131300985813141,
-0.3132742643356323,
0.4079544246196747,
-0.021955683827400208,
0.39285123348236084,
0.1881381720304489,
0.4385346472263336,
0.09798069298267365,
0.09406721591949463,
0.08619754016399384,
0.23509067296981812,
0.16442565619945526,
0.35198649764060974,
-0.11516744643449783,
0.020263634622097015,
0.05855603143572807,
0.15173888206481934,
0.0578126534819603,
0.1863788217306137,
-0.2701711058616638,
0.1582113355398178,
-0.05234329402446747,
0.08006257563829422,
-0.31800466775894165,
0.08962035924196243,
0.2880878746509552,
-0.4317983388900757,
-0.13997864723205566,
0.4823504090309143,
0.595719039440155,
0.6314572095870972,
0.07683509588241577,
-0.11898697167634964,
0.3951132297515869,
0.10876292735338211,
0.354453444480896,
0.17029346525669098,
-0.006690919399261475,
0.296019971370697,
0.411180704832077,
0.47735533118247986,
0.22650226950645447,
0.045159853994846344,
-0.3219747245311737,
-0.13139137625694275,
-0.10012552887201309,
0.12114457786083221,
0.283663809299469,
-0.11836560070514679,
0.22826266288757324,
0.2152501493692398,
0.14812879264354706,
-0.0009641647338867188,
0.09275638312101364,
0.551155149936676,
-0.0200607068836689,
-0.6208751797676086,
0.12657217681407928,
0.21426403522491455,
-0.09111001342535019,
0.09746110439300537,
-0.3145623803138733,
-0.07763704657554626,
-0.1912512481212616,
0.125327929854393,
-0.094474658370018,
-0.45454931259155273,
-0.05307556688785553,
0.17177993059158325,
-0.09210164844989777,
-0.22343814373016357,
0.07689312100410461,
0.009531738236546516,
0.17230769991874695,
-0.07812243700027466,
0.38817933201789856,
0.009616494178771973,
0.048079121857881546,
0.14881642162799835,
0.2026488333940506,
-0.0290658138692379,
-0.053266726434230804,
-0.07651354372501373,
0.1085723489522934,
0.16265460848808289,
-0.04830964654684067,
-0.23987969756126404,
-0.3046795725822449,
0.024602174758911133,
0.14425913989543915,
0.21968276798725128,
0.040286093950271606,
-0.05365031212568283,
-0.0847635269165039,
0.30196690559387207,
-0.2855224013328552,
-0.3221372365951538,
0.5534299612045288,
-0.12315940856933594,
-0.1720963418483734,
-0.05359687656164169,
0.20139914751052856,
-0.0943654328584671,
0.14820441603660583,
0.0960441380739212,
-0.19868187606334686,
0.0807536169886589,
-0.019743438810110092,
0.02143130823969841,
-0.23775598406791687,
0.17254339158535004,
-0.0980888307094574,
-0.0100274458527565,
-0.3602776527404785,
-0.21004866063594818,
-0.650844156742096,
0.09344553202390671,
-0.005925487726926804,
-0.14664342999458313,
0.05377640947699547,
0.23092567920684814,
0.18476134538650513,
0.1788368672132492,
-0.016483306884765625,
0.16947321593761444,
0.16346068680286407,
-0.09998990595340729,
-0.25710251927375793,
-0.01713724434375763,
0.1380077302455902,
0.14884263277053833,
-0.03152640536427498,
0.013792425394058228,
-0.22254447638988495,
0.20031379163265228,
-0.2404063642024994,
0.026267321780323982,
-0.014505282044410706,
0.17225217819213867,
-0.17697571218013763,
0.2590738534927368,
-0.053121328353881836,
0.37492382526397705,
0.014020286500453949,
0.008151127025485039,
0.37641069293022156,
-0.18234500288963318,
-0.49850916862487793,
0.31457021832466125,
-0.12934377789497375,
0.5527119636535645,
-0.3094957768917084,
-0.08907367289066315,
0.052338968962430954,
0.07942637801170349,
0.07035526633262634,
-0.18073885142803192,
-0.20707140862941742,
0.16507066786289215,
-0.37178805470466614,
0.030848167836666107,
0.3922664523124695,
0.42392343282699585,
0.007735561579465866,
-0.17851275205612183,
-0.2948681116104126,
0.026809649541974068,
0.11669731885194778,
-0.08430776745080948,
-0.17661409080028534,
0.2677200436592102,
0.1919555366039276,
-0.1274338960647583,
0.18730758130550385,
-0.6200128197669983,
-0.24440595507621765,
0.33256030082702637,
-0.2226332426071167,
0.054240915924310684,
0.47165778279304504,
0.19782564043998718,
-0.30660903453826904,
-0.06938162446022034,
0.07138655334711075,
-0.015242200344800949,
-0.20417729020118713,
-0.05596364289522171,
-0.1676275134086609
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | Hi @aleSuglia your remark on the visual features is a good point.
We haven't started to dive deeply into how CV datasets are usually structured (cc @sgugger)
Do you have a pointer to how visual features are currently loaded and accessed by people using GuessCompWhat? | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 45 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
Hi @aleSuglia your remark on the visual features is a good point.
We haven't started to dive deeply into how CV datasets are usually structured (cc @sgugger)
Do you have a pointer to how visual features are currently loaded and accessed by people using GuessCompWhat? | [
-0.3234969973564148,
-0.018470965325832367,
-0.05441371724009514,
0.0565766878426075,
-0.17698964476585388,
-0.08447912335395813,
0.18413282930850983,
0.17313119769096375,
0.2556394338607788,
-0.08207109570503235,
-0.05487745255231857,
0.5472869277000427,
-0.030094001442193985,
0.2298751324415207,
0.47309815883636475,
-0.0605572834610939,
0.06057732552289963,
0.3008081316947937,
-0.09347641468048096,
-0.023771703243255615,
-0.323577344417572,
-0.008591558784246445,
-0.0753500759601593,
-0.057181522250175476,
-0.008237178437411785,
-0.4188711941242218,
-0.25441837310791016,
0.18277958035469055,
0.12081246078014374,
-0.2598884701728821,
0.48508143424987793,
0.377360463142395,
0.06574216485023499,
0.0368693545460701,
-0.00011222365719731897,
-0.11358504742383957,
0.13748639822006226,
-0.13898929953575134,
-0.07896418869495392,
-0.34504395723342896,
-0.32055068016052246,
-0.35615313053131104,
0.04662632197141647,
-0.2460615634918213,
0.03916645795106888,
-0.026797335594892502,
0.29329609870910645,
-0.1948617845773697,
0.3090417981147766,
-0.3232114613056183,
0.11582782864570618,
0.12346528470516205,
-0.33642086386680603,
0.15993790328502655,
0.08696854114532471,
0.15295377373695374,
-0.2773589491844177,
0.17622807621955872,
0.2815306782722473,
0.10441699624061584,
0.11970365047454834,
0.49204888939857483,
0.1370469480752945,
-0.28945618867874146,
0.3116728365421295,
0.02209296263754368,
0.05564289912581444,
-0.2099279761314392,
-0.03748859465122223,
0.2276342213153839,
-0.05609118193387985,
-0.2106623649597168,
-0.1711626946926117,
-0.43444910645484924,
0.08424975723028183,
-0.4413977563381195,
-0.23304438591003418,
0.29308751225471497,
-0.05657230690121651,
0.1942605972290039,
-0.11487254500389099,
-0.1298569291830063,
-0.32769328355789185,
0.173235684633255,
0.0847068727016449,
0.3287619352340698,
0.014229580760002136,
0.26383116841316223,
-0.00841798260807991,
0.2358727902173996,
0.48963606357574463,
-0.18270978331565857,
-0.1873672753572464,
0.052254535257816315,
-0.23448191583156586,
-0.25808653235435486,
0.02058689296245575,
0.2279573380947113,
0.32760199904441833,
0.16522786021232605,
0.35452330112457275,
0.10988568514585495,
-0.1996839940547943,
0.17261844873428345,
0.49960431456565857,
0.07153049111366272,
-0.032015569508075714,
-0.0565933994948864,
0.14927957952022552,
0.026799276471138,
-0.16008274257183075,
0.07446542382240295,
-0.08433274179697037,
0.2996762990951538,
0.06954355537891388,
-0.2172711193561554,
0.3177969455718994,
-0.17098253965377808,
-0.2571549713611603,
-0.10436911135911942,
-0.05358697846531868,
-0.07549778372049332,
-0.09425090998411179,
0.3702108561992645,
0.14128939807415009,
0.44553816318511963,
0.03921286016702652,
0.25121819972991943,
0.09424297511577606,
-0.32853958010673523,
-0.1589570790529251,
0.006088068708777428,
-0.03279924392700195,
0.112393818795681,
-0.019730277359485626,
0.0385734885931015,
0.026630600914359093,
0.11281885951757431,
-0.07449041306972504,
-0.0590495839715004,
0.46992090344429016,
-0.10056422650814056,
0.20048487186431885,
0.14160124957561493,
0.04054442420601845,
0.010795330628752708,
0.0551481619477272,
0.14063093066215515,
-0.3625914454460144,
0.35177716612815857,
-0.031149648129940033,
-0.3146979510784149,
0.17169642448425293,
0.018729932606220245,
-0.32242250442504883,
-0.11259707808494568,
-0.0757041946053505,
0.8116450309753418,
-0.09757492691278458,
0.006666406989097595,
-0.11991550773382187,
-0.121793732047081,
-0.23728761076927185,
-0.13543137907981873,
-0.04548807069659233,
0.05708817392587662,
-1.0343762636184692,
-0.10206560790538788,
-0.051235612481832504,
0.18043485283851624,
0.011462993919849396,
0.01618821546435356,
-0.5400594472885132,
0.14433503150939941,
-0.02833215892314911,
-0.029563676565885544,
0.5959743857383728,
-0.15237733721733093,
-0.11718466877937317,
0.12962520122528076,
-0.06181526184082031,
0.2885008454322815,
0.25310274958610535,
0.20280838012695312,
0.02062629722058773,
-0.057300809770822525,
-0.24724191427230835,
0.3305589556694031,
-0.318359911441803,
-0.07453356683254242,
-0.0947403535246849,
-0.3569102883338928,
0.5353866815567017,
0.01359422504901886,
-0.011322665959596634,
-0.41644537448883057,
0.07392556965351105,
0.17864494025707245,
0.2503286302089691,
-0.3562362790107727,
-0.05600729584693909,
-0.18301154673099518,
0.35652628540992737,
-0.0675550252199173,
-0.0783730149269104,
-0.10336706787347794,
-0.4765758514404297,
0.07992429286241531,
-0.2385481595993042,
0.055098168551921844,
0.1903470903635025,
-0.4678010940551758,
-0.1628054678440094,
-0.0386558473110199,
-0.052445922046899796,
-0.351860910654068,
-0.007681591436266899,
0.2755357027053833,
-0.09207822382450104,
-0.2513977587223053,
-0.24990175664424896,
0.5634927153587341,
-0.28818169236183167,
-0.15752841532230377,
-0.18432846665382385,
0.05873043090105057,
-0.09225282073020935,
0.05265390872955322,
-0.18377310037612915,
0.42049169540405273,
0.06845900416374207,
-0.2673664689064026,
0.12935379147529602,
0.13735003769397736,
0.12877695262432098,
0.17959760129451752,
0.0012399740517139435,
-0.11501054465770721,
0.29348158836364746,
-0.10504475980997086,
0.3450993597507477,
-0.2404591292142868,
0.04613998904824257,
-0.17170605063438416,
-0.07913807779550552,
0.7776950001716614,
-0.003997020423412323,
0.3142688572406769,
0.11702047288417816,
-0.34378865361213684,
0.22969576716423035,
0.021307814866304398,
-0.32602208852767944,
0.0754787027835846,
-0.24947701394557953,
0.07952329516410828,
0.220648393034935,
0.1517685204744339,
-0.5959551334381104,
0.44731462001800537,
0.468537837266922,
0.05730101093649864,
0.008333157747983932,
-0.23646879196166992,
-0.14092114567756653,
-0.14955273270606995,
0.2486177533864975,
0.08891893923282623,
0.4274866580963135,
0.2718770205974579,
-0.2402115762233734,
0.019420389086008072,
-0.25572139024734497,
-0.008439422585070133,
0.3318607211112976,
0.3380013704299927,
0.20756252110004425,
-0.06283225864171982,
0.10071998834609985,
-0.010628820396959782,
-0.15764912962913513,
0.12046931684017181,
0.05605454742908478,
-0.3204788863658905,
-0.1778431236743927,
0.16848643124103546,
-0.02781830169260502,
-0.5695822834968567,
-0.3943153917789459,
0.09371940791606903,
-0.09392273426055908,
-0.18593738973140717,
-0.021774251013994217,
-0.04904704913496971,
-0.26530566811561584,
0.3403279483318329,
-0.5791597366333008,
0.7904841899871826,
-0.5888872146606445,
0.10938849300146103,
0.1923021674156189,
-0.22306261956691742,
-0.24409088492393494,
-0.026506468653678894,
0.351387083530426,
0.18778492510318756,
0.6596274375915527,
0.2397003024816513,
-0.09733020514249802,
0.1624823659658432,
-0.57773756980896,
0.23069848120212555,
-0.3277673125267029,
0.13144144415855408,
-0.036708056926727295,
-0.08122651278972626,
-0.13534975051879883,
-0.52187579870224,
-0.03860019892454147,
-0.07103119790554047,
-0.07153056561946869,
-0.3641722798347473,
-0.19594024121761322,
-0.15375669300556183,
-0.1696140617132187,
-0.4654604494571686,
-0.25341081619262695,
-0.2911447286605835,
0.16954651474952698,
0.26101016998291016,
0.10599232465028763,
0.2972455620765686,
-0.28751346468925476,
-0.16805675625801086,
0.13221774995326996,
-0.13178935647010803,
-0.3118530809879303,
-0.1627236008644104,
0.1447986215353012,
-0.15163089334964752,
-0.06980688869953156,
0.03671909496188164,
-0.4204115867614746,
0.3076093792915344,
-0.20415769517421722,
-0.08824166655540466,
-0.32125917077064514,
0.13130146265029907,
0.12266053259372711,
0.07367442548274994,
0.012911723926663399,
0.4521530568599701,
-0.2359675019979477,
0.1040082722902298,
-0.1447693109512329,
-0.32734882831573486,
0.37166473269462585,
0.4151413142681122,
0.18925261497497559,
0.1470610797405243,
-0.10302773863077164,
0.11743777990341187,
0.981596827507019,
0.09547838568687439,
-0.025521282106637955,
0.12523715198040009,
0.3526758551597595,
0.2412949502468109,
-0.05170633643865585,
-0.15408267080783844,
0.09742520749568939,
-0.08216312527656555,
0.03929916024208069,
0.4294949173927307,
-0.09447496384382248,
-0.3410719931125641,
0.08239413797855377,
0.07179328799247742,
-0.25584515929222107,
-0.26456618309020996,
0.2872261703014374,
-0.16796262562274933,
-0.05271507054567337,
0.1931050717830658,
-0.3240599036216736,
-0.4095127582550049,
-0.02081374265253544,
0.007012177258729935,
0.03506108373403549,
0.08226192742586136,
0.17348018288612366,
-0.327738493680954,
0.12276303768157959,
-0.21413472294807434,
0.3659803867340088,
0.1838712841272354,
-0.07137133181095123,
0.14408756792545319,
-0.4052259027957916,
0.19419370591640472,
0.00636559771373868,
0.41336482763290405,
-0.2318674474954605,
-0.4086419343948364,
0.10965459048748016,
0.01130066066980362,
-0.0014457926154136658,
-0.11614103615283966,
-0.07243598252534866,
-0.16963249444961548,
0.5821500420570374,
-0.12462224066257477,
-0.32915979623794556,
-0.1819744110107422,
0.44827255606651306,
-0.09837746620178223,
-0.1649426519870758,
0.0023512402549386024,
-0.16341017186641693,
-0.04077259078621864,
-0.13010993599891663,
0.04591504484415054,
0.181245356798172,
0.15527339279651642,
-0.19045957922935486,
-0.10119755566120148,
-0.052817367017269135,
-0.030544282868504524,
0.1620296984910965,
0.3815229833126068,
0.13115903735160828,
0.24187158048152924,
0.25762712955474854,
0.11633909493684769,
0.38850483298301697,
-0.3914808928966522,
0.5728133916854858,
0.11931239068508148,
-0.46461015939712524,
0.09861613810062408,
-0.11232725530862808,
0.5801979899406433,
0.6013203859329224,
0.06951513886451721,
0.004930280148983002,
-0.2013903707265854,
-0.21197353303432465,
-0.27711397409439087,
0.2283640056848526,
0.02655709907412529,
-0.06051112711429596,
-0.2530541718006134,
-0.5351278781890869,
0.13377605378627777,
-0.06165605038404465,
-0.32488304376602173,
0.03688944876194,
-0.04045812785625458,
-0.3364347815513611,
0.3272935748100281,
0.2536872625350952,
1.288316011428833,
-0.18015623092651367,
0.18516403436660767,
0.07020893692970276,
0.10670381784439087,
0.9200655817985535,
-0.4368095397949219,
-0.1505468338727951,
-0.3259633779525757,
-0.016479667276144028,
0.062438786029815674,
-0.11128635704517365,
0.19987720251083374,
-0.053606800734996796,
-0.19197243452072144,
0.2404913753271103,
0.46935170888900757,
0.07749200612306595,
-0.03844189643859863,
0.4783748388290405,
0.28097617626190186,
-0.3694639801979065,
0.09130063652992249,
0.011976640671491623,
-0.12888842821121216,
-0.07978996634483337,
-0.2814147174358368,
-0.09552453458309174,
-0.22097432613372803,
0.02484704554080963,
-0.273967981338501,
0.043696433305740356,
-0.21287298202514648,
-0.010261943563818932,
0.025678647682070732,
-0.5847330093383789,
0.36936894059181213,
0.22425857186317444,
0.2616395950317383,
-0.2351769357919693,
-0.015264151617884636,
0.37551113963127136,
-0.10568887740373611,
0.04130331799387932,
0.1016530841588974,
-0.2332654744386673,
0.32800576090812683,
-0.09634474664926529,
-0.17245179414749146,
0.0016684085130691528,
0.02178267389535904,
-0.31737804412841797,
-0.13649146258831024,
0.13622868061065674,
0.45224058628082275,
-0.10429304093122482,
-0.6403728723526001,
0.3337971568107605,
0.34895896911621094,
-0.20654816925525665,
0.06631091982126236,
0.0518106073141098,
-0.034722644835710526,
-0.1399313509464264,
-0.041070807725191116,
-0.2604084014892578,
-0.13207346200942993,
-0.16613861918449402,
0.1794242560863495,
-0.13284718990325928,
0.21511776745319366,
-0.20109330117702484,
0.05821134150028229,
-0.1399633288383484,
0.016548797488212585,
0.13996165990829468,
-0.2626242935657501,
-0.1633870005607605,
0.2592355012893677,
-0.33253365755081177,
-0.262670636177063,
0.4530333876609802,
0.3356539011001587,
0.17234978079795837,
-0.12432457506656647,
-0.11004120111465454,
-0.006699785590171814,
0.27031099796295166,
-0.0037623047828674316,
0.3060973882675171,
0.31905221939086914,
0.3506110906600952,
-0.18103842437267303,
0.49549880623817444,
-0.2597242593765259,
-0.30194565653800964,
0.09020334482192993,
0.14537030458450317,
0.08693361282348633,
0.08032725751399994,
-0.10685838013887405,
0.008519638329744339,
0.032150112092494965,
0.09601607918739319,
-0.11114037781953812,
-0.16485902667045593,
-0.30734390020370483,
0.1770002692937851,
0.27731144428253174,
0.0028655892238020897,
-0.2296302616596222,
-0.06070462614297867,
0.2981986999511719,
-0.03546987846493721,
0.18129688501358032,
-0.3097813129425049,
0.01581425964832306,
0.19454814493656158,
-0.2074672430753708,
0.15039876103401184,
-0.3026285767555237,
0.3480766713619232,
0.10521422326564789,
0.5310441851615906,
0.18045727908611298,
0.4154834449291229,
-0.021407365798950195,
0.04941830039024353,
0.12494206428527832,
0.22357967495918274,
0.17731162905693054,
0.4854249954223633,
-0.07717721909284592,
0.08340339362621307,
-0.005737964063882828,
0.11115771532058716,
-0.05754266679286957,
0.1764797419309616,
-0.18517746031284332,
0.1408277153968811,
-0.05141289159655571,
0.08153139799833298,
-0.34060776233673096,
0.1390075981616974,
0.11297808587551117,
-0.15741632878780365,
-0.023537948727607727,
0.47553524374961853,
0.5922320485115051,
0.5113613605499268,
0.33799630403518677,
-0.17145472764968872,
0.41075146198272705,
0.05153875797986984,
0.4190463125705719,
0.11587710678577423,
0.05310169979929924,
0.24492068588733673,
0.28453949093818665,
0.3702920973300934,
0.2562790811061859,
-0.10561211407184601,
-0.36084580421447754,
-0.18207409977912903,
-0.0077921561896800995,
0.06914779543876648,
0.23901647329330444,
-0.22488825023174286,
0.29578474164009094,
0.2682006359100342,
0.06793931871652603,
0.20002177357673645,
0.10198381543159485,
0.5284123420715332,
0.052236419171094894,
-0.43862125277519226,
-0.07581668347120285,
0.13184253871440887,
-0.062339164316654205,
-0.08238488435745239,
-0.39489665627479553,
-0.08425497263669968,
-0.16414062678813934,
0.05643646791577339,
-0.06123330071568489,
-0.40843480825424194,
0.031023211777210236,
0.07573370635509491,
-0.10924962162971497,
-0.13866543769836426,
0.10095875710248947,
0.002170216292142868,
0.18634694814682007,
-0.0838826447725296,
0.48467451333999634,
0.0013885870575904846,
0.07121475785970688,
0.12293563783168793,
0.17288151383399963,
0.10538831353187561,
0.029710158705711365,
-0.24990034103393555,
0.12350692600011826,
0.1703081727027893,
-0.06281570345163345,
-0.236727774143219,
-0.246708482503891,
-0.1415853351354599,
0.10806544125080109,
0.35554394125938416,
0.09899893403053284,
-0.04704924672842026,
-0.06014031544327736,
0.1825188845396042,
-0.06832119822502136,
-0.2868759334087372,
0.5143235325813293,
-0.016347162425518036,
-0.10706087946891785,
-0.0665413960814476,
0.22066622972488403,
-0.08436711877584457,
0.16496418416500092,
0.07897636294364929,
-0.20545169711112976,
0.11413662880659103,
-0.11790164560079575,
0.0559624582529068,
-0.1589398980140686,
0.23641157150268555,
0.009408343583345413,
-0.03554125875234604,
-0.36483249068260193,
-0.1366218775510788,
-0.6514692902565002,
0.1765993982553482,
0.05886448174715042,
-0.28846439719200134,
0.020329855382442474,
0.3481862545013428,
0.28403982520103455,
0.23771724104881287,
-0.08218538761138916,
0.051731135696172714,
0.16528365015983582,
0.0005139485001564026,
-0.17361381649971008,
0.07340982556343079,
0.12424324452877045,
0.10643073171377182,
-0.018683314323425293,
-0.1304008662700653,
-0.1988665908575058,
0.32274895906448364,
-0.26230588555336,
0.04933219403028488,
-0.07878420501947403,
0.20352010428905487,
-0.09883537888526917,
0.18492761254310608,
0.026428623124957085,
0.45792943239212036,
-0.006699725985527039,
0.13935847580432892,
0.07739808410406113,
-0.20786751806735992,
-0.3508882224559784,
0.273784339427948,
-0.0925605446100235,
0.4909881055355072,
-0.29849743843078613,
-0.09853596985340118,
0.06661002337932587,
0.17824941873550415,
0.0889025330543518,
-0.17063899338245392,
-0.18870502710342407,
0.15485358238220215,
-0.4227248728275299,
0.09009422361850739,
0.32070767879486084,
0.41339537501335144,
-0.017660371959209442,
-0.0299457348883152,
-0.1891191601753235,
-0.06143011897802353,
0.12359698116779327,
-0.05197750777006149,
-0.3389391005039215,
0.14487113058567047,
0.2882482409477234,
-0.1473599672317505,
0.13606305420398712,
-0.7149314284324646,
-0.14408999681472778,
0.2678874433040619,
-0.18610277771949768,
0.054356496781110764,
0.27538633346557617,
0.05279814451932907,
-0.1821308135986328,
-0.15544871985912323,
0.35364753007888794,
0.019358184188604355,
-0.12004081904888153,
-0.09519161283969879,
-0.31963759660720825
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | @thomwolf As far as I know, people using Language+Vision tasks they typically have their reference dataset (either in JSON or JSONL format) and for each example in it they have an identifier that specifies the reference image. Currently, images are represented by either pooling-based visual features (average pooling of ResNet or VGGNet features, see [DeVries et.al, 2017](https://arxiv.org/abs/1611.08481), [Shekhar et.al, 2019](https://www.aclweb.org/anthology/N19-1265.pdf)) where you have a single vector for every image. Another option is to use a set of feature maps for every image extracted from a specific layer of a CNN (see [Xu et.al, 2015](https://arxiv.org/abs/1502.03044)). A more common and recent option, especially with large-scale multi-modal transformers [Li et. al, 2019](https://arxiv.org/abs/1908.03557), is to use FastRCNN features.
For all these types of features, people use either HD5F or NumPy compressed representations. In my personal projects, I've ditched altogether HD5F because it doesn't have out-of-the-box support for multi-processing (unless you have an ad-hoc installation of it). I've been successfully using a NumPy compressed file for each image so that I can store any sort of information in it (see [numpy.savez](https://numpy.org/doc/stable/reference/generated/numpy.savez.html)). However, I believe that Apache Arrow would be a really good fit for this type of features.
Looking forward to hearing your thoughts about it! | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 201 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
@thomwolf As far as I know, people using Language+Vision tasks they typically have their reference dataset (either in JSON or JSONL format) and for each example in it they have an identifier that specifies the reference image. Currently, images are represented by either pooling-based visual features (average pooling of ResNet or VGGNet features, see [DeVries et.al, 2017](https://arxiv.org/abs/1611.08481), [Shekhar et.al, 2019](https://www.aclweb.org/anthology/N19-1265.pdf)) where you have a single vector for every image. Another option is to use a set of feature maps for every image extracted from a specific layer of a CNN (see [Xu et.al, 2015](https://arxiv.org/abs/1502.03044)). A more common and recent option, especially with large-scale multi-modal transformers [Li et. al, 2019](https://arxiv.org/abs/1908.03557), is to use FastRCNN features.
For all these types of features, people use either HD5F or NumPy compressed representations. In my personal projects, I've ditched altogether HD5F because it doesn't have out-of-the-box support for multi-processing (unless you have an ad-hoc installation of it). I've been successfully using a NumPy compressed file for each image so that I can store any sort of information in it (see [numpy.savez](https://numpy.org/doc/stable/reference/generated/numpy.savez.html)). However, I believe that Apache Arrow would be a really good fit for this type of features.
Looking forward to hearing your thoughts about it! | [
-0.3652273118495941,
0.11423678696155548,
-0.0625399500131607,
0.03613156080245972,
-0.19302153587341309,
-0.014023393392562866,
0.4052000939846039,
0.10259328782558441,
0.20149436593055725,
-0.12076793611049652,
-0.12385410815477371,
0.4994385540485382,
-0.06481558084487915,
0.17137418687343597,
0.4364897608757019,
0.05195721238851547,
0.046547941863536835,
0.3482188284397125,
-0.02139092981815338,
0.057792387902736664,
-0.31152692437171936,
0.09327739477157593,
0.11369392275810242,
-0.09771111607551575,
-0.08526196330785751,
-0.3296809196472168,
-0.14978550374507904,
0.10838697850704193,
0.12855777144432068,
-0.23203347623348236,
0.3845113515853882,
0.36094632744789124,
0.028100576251745224,
0.051653698086738586,
-0.00011591395013965666,
0.063328817486763,
0.1929350346326828,
-0.19264930486679077,
-0.24295741319656372,
-0.2865701913833618,
-0.2940475344657898,
-0.24140076339244843,
0.08716932684183121,
-0.30519625544548035,
0.08747415989637375,
-0.05636924132704735,
0.44688835740089417,
-0.16607260704040527,
0.35568755865097046,
-0.30644503235816956,
0.08729781955480576,
0.0030580051243305206,
-0.3474040925502777,
0.22796721756458282,
-0.029477238655090332,
0.33141928911209106,
-0.11610931158065796,
0.26566022634506226,
0.07984915375709534,
0.11461059749126434,
0.02235228568315506,
0.48546212911605835,
-0.002890137955546379,
-0.26852908730506897,
0.26093780994415283,
0.018923399969935417,
-0.13559824228286743,
-0.08203551918268204,
0.01434001699090004,
0.2233058214187622,
0.04118651524186134,
-0.18692833185195923,
-0.23219174146652222,
-0.4058060944080353,
0.032520897686481476,
-0.3357742726802826,
-0.22271347045898438,
0.2838856279850006,
0.11693698167800903,
0.23786620795726776,
-0.119819775223732,
-0.16798582673072815,
-0.3378225266933441,
0.23754765093326569,
-0.15864261984825134,
0.28023767471313477,
0.0621371865272522,
0.31030434370040894,
0.06939137727022171,
0.20359112322330475,
0.33310893177986145,
-0.18780319392681122,
-0.07223756611347198,
-0.00015662610530853271,
-0.15105341374874115,
-0.20410224795341492,
0.04745915159583092,
0.0033823922276496887,
0.3358757495880127,
0.1116061806678772,
0.33286282420158386,
0.03150371089577675,
-0.16087548434734344,
0.21780213713645935,
0.4297608435153961,
-0.08615125715732574,
0.11203519999980927,
-0.08796356618404388,
0.24651964008808136,
-0.031297922134399414,
-0.09418116509914398,
0.03704313188791275,
-0.031073756515979767,
0.37886127829551697,
0.06548453867435455,
-0.3103621006011963,
0.21352462470531464,
-0.1497623324394226,
-0.2785474956035614,
-0.24071255326271057,
-0.29367774724960327,
-0.09110267460346222,
-0.151376411318779,
0.2723199129104614,
0.26530322432518005,
0.4232091009616852,
0.15524370968341827,
0.25112444162368774,
0.05281689018011093,
-0.39669543504714966,
-0.12219967693090439,
0.03361242264509201,
0.033410828560590744,
0.15246112644672394,
0.027643878012895584,
0.1782241314649582,
0.22959300875663757,
-0.031544674187898636,
-0.07086572051048279,
0.04737986624240875,
0.46724456548690796,
-0.1501309722661972,
0.04239751026034355,
0.21843121945858002,
0.0824199765920639,
0.03567168116569519,
-0.06658564507961273,
0.014134585857391357,
-0.36856764554977417,
0.35353896021842957,
-0.02970997244119644,
-0.2815510928630829,
0.20526115596294403,
-0.025677256286144257,
-0.3403419256210327,
-0.10887335240840912,
-0.13929054141044617,
0.8802715539932251,
0.03518710285425186,
-0.1427655816078186,
-0.19556108117103577,
-0.10206885635852814,
-0.2903619408607483,
-0.21165712177753448,
-0.05809609591960907,
0.19572052359580994,
-0.9156807661056519,
-0.192872554063797,
-0.176263228058815,
0.02809152752161026,
-0.11895769089460373,
-0.060429852455854416,
-0.5755953788757324,
0.23409831523895264,
-0.06451432406902313,
0.16082054376602173,
0.4745033383369446,
-0.20001858472824097,
-0.2795194089412689,
0.05296313390135765,
-0.13394695520401,
0.2079622447490692,
0.20290550589561462,
0.3675251305103302,
0.10654847323894501,
-0.0641385167837143,
-0.037548355758190155,
0.49281787872314453,
-0.3256118595600128,
-0.045438654720783234,
-0.005846105515956879,
-0.38463810086250305,
0.40334099531173706,
0.1807631552219391,
-0.03332975134253502,
-0.3539123237133026,
0.1073833703994751,
0.3133627772331238,
0.1274988353252411,
-0.37486469745635986,
0.07498051971197128,
-0.12219107151031494,
0.22501549124717712,
-0.10697437822818756,
-0.08757279813289642,
-0.048563696444034576,
-0.5614867210388184,
-0.00598592683672905,
-0.18890990316867828,
0.19627510011196136,
-0.0049295201897621155,
-0.3552841544151306,
-0.07452651858329773,
-0.11838514357805252,
-0.04811524972319603,
-0.28183045983314514,
-0.04697756469249725,
0.282867968082428,
-0.10096532106399536,
-0.13124078512191772,
-0.15722249448299408,
0.6064217686653137,
-0.368817538022995,
-0.05678163468837738,
-0.1944400668144226,
0.14690141379833221,
-0.00949007086455822,
-0.0220022089779377,
-0.160946786403656,
0.18079343438148499,
-0.03139730542898178,
-0.2646397054195404,
0.14723116159439087,
0.19541198015213013,
0.1886999011039734,
0.26438429951667786,
-0.11639895290136337,
0.058863453567028046,
0.3607589900493622,
-0.19053448736667633,
0.40872031450271606,
-0.34156715869903564,
0.01824123039841652,
-0.17751260101795197,
-0.05256582051515579,
0.725366473197937,
-0.008193086832761765,
0.4430945813655853,
0.07167553901672363,
-0.3204136788845062,
0.2084132730960846,
-0.00043280795216560364,
-0.4131813645362854,
0.018159978091716766,
-0.26712581515312195,
0.05339067801833153,
0.16931705176830292,
0.20485365390777588,
-0.5670781135559082,
0.3259463608264923,
0.46293145418167114,
0.0074469223618507385,
0.007473666220903397,
-0.10693914443254471,
-0.1960785984992981,
-0.1272502839565277,
0.3446892499923706,
0.23670516908168793,
0.5358998775482178,
0.32410547137260437,
-0.27735334634780884,
-0.09601135551929474,
-0.24012911319732666,
-0.024338100105524063,
0.29707106947898865,
0.2180262804031372,
0.4478325843811035,
-0.03528200089931488,
0.18039940297603607,
-0.05400392785668373,
-0.2545195519924164,
0.04812037572264671,
-0.01131061464548111,
-0.2984015643596649,
-0.150505930185318,
0.1868961751461029,
-0.028325654566287994,
-0.5591610670089722,
-0.42118406295776367,
0.21571724116802216,
-0.25939512252807617,
-0.152220219373703,
-0.014990575611591339,
0.003160253167152405,
-0.1783212274312973,
0.352361261844635,
-0.3456263244152069,
0.724964439868927,
-0.6305034756660461,
-0.17618930339813232,
0.2448207139968872,
-0.21173137426376343,
-0.2845290005207062,
-0.06266533583402634,
0.31847086548805237,
0.0801500529050827,
0.6457944512367249,
0.14966149628162384,
-0.18839965760707855,
0.21295608580112457,
-0.656095027923584,
0.22998593747615814,
-0.19561249017715454,
0.19579516351222992,
0.05382135510444641,
0.03172055259346962,
-0.09057529270648956,
-0.44582444429397583,
0.07508165389299393,
0.000402720645070076,
-0.14227858185768127,
-0.4313509464263916,
-0.1705731749534607,
0.14509135484695435,
-0.2039291113615036,
-0.2847774028778076,
-0.26990070939064026,
-0.30338382720947266,
0.13605937361717224,
0.21270553767681122,
0.18748345971107483,
0.2312358021736145,
-0.17283034324645996,
-0.10614611953496933,
0.05342799052596092,
-0.09805848449468613,
-0.2806829810142517,
0.060165274888277054,
0.08648470044136047,
-0.11623352766036987,
-0.05531851574778557,
-0.05364767462015152,
-0.39998483657836914,
0.4582875072956085,
0.0669432058930397,
-0.20824909210205078,
-0.5401156544685364,
0.32125186920166016,
-0.05135808885097504,
0.052386801689863205,
-0.046244144439697266,
0.4081266224384308,
-0.08941971510648727,
0.13849718868732452,
-0.15889084339141846,
-0.35938718914985657,
0.4844248294830322,
0.4438185393810272,
0.21379941701889038,
0.3662525713443756,
-0.03507893532514572,
0.09623187780380249,
0.9476573467254639,
0.16518503427505493,
-0.14327430725097656,
0.16476018726825714,
0.32153549790382385,
0.10716333985328674,
-0.0018257945775985718,
-0.07721860706806183,
-0.0014793301234021783,
0.02767312526702881,
0.03537553921341896,
0.39933544397354126,
-0.05247534066438675,
-0.48380210995674133,
-0.0016700401902198792,
-0.016221633180975914,
-0.3545445501804352,
-0.26059699058532715,
0.31652864813804626,
-0.1271745264530182,
0.11449556052684784,
0.08152106404304504,
-0.41203925013542175,
-0.21451792120933533,
-0.0489170104265213,
-0.02773378975689411,
0.12353146076202393,
0.11039210110902786,
0.22197456657886505,
-0.3421027958393097,
0.010654599405825138,
-0.1808784008026123,
0.323370099067688,
0.11802149564027786,
-0.024954020977020264,
0.05063333734869957,
-0.26291120052337646,
0.23039768636226654,
-0.07714550942182541,
0.6357211470603943,
-0.22152677178382874,
-0.42519789934158325,
0.03375190496444702,
-0.018597500398755074,
-0.1791164129972458,
0.032263752073049545,
0.06657002866268158,
-0.05807311087846756,
0.44279107451438904,
-0.0054986849427223206,
-0.5298135876655579,
-0.19026337563991547,
0.3471149504184723,
-0.06534195691347122,
-0.15485244989395142,
-0.04066857323050499,
-0.18236632645130157,
-0.17657727003097534,
-0.2426808476448059,
-0.09774173051118851,
0.12063252180814743,
0.1555306613445282,
0.12433167546987534,
0.009667649865150452,
-0.03328672796487808,
-0.026080146431922913,
0.13156475126743317,
0.32628658413887024,
0.1998969316482544,
0.19283230602741241,
0.17728900909423828,
0.19711796939373016,
0.3466300368309021,
-0.08608470112085342,
0.49781543016433716,
-0.09241296350955963,
-0.18550506234169006,
0.05322789400815964,
-0.031682658940553665,
0.6182127594947815,
0.6319881677627563,
0.2009688764810562,
-0.0960225984454155,
-0.07339781522750854,
-0.3582438826560974,
-0.2948198914527893,
0.19664302468299866,
-0.06836960464715958,
-0.05586859583854675,
-0.28416988253593445,
-0.62010258436203,
0.25954368710517883,
0.09134635329246521,
-0.24587790668010712,
0.08002859354019165,
0.12002681940793991,
-0.47780951857566833,
0.45262420177459717,
0.30477455258369446,
1.198913812637329,
-0.14903263747692108,
0.3294617831707001,
0.06483136117458344,
-0.022783825173974037,
0.8781541585922241,
-0.45223838090896606,
-0.0518195703625679,
-0.2879261076450348,
0.1729665994644165,
0.08144775778055191,
-0.09106403589248657,
0.22574689984321594,
0.17788928747177124,
-0.14708830416202545,
0.10710667818784714,
0.41472339630126953,
0.05673085153102875,
-0.06323981285095215,
0.4936697483062744,
0.2022862434387207,
-0.34846335649490356,
0.08066006004810333,
0.0015523917973041534,
-0.23935334384441376,
-0.1030670702457428,
-0.25139448046684265,
-0.12127150595188141,
-0.3529336154460907,
0.027074232697486877,
-0.14076276123523712,
-0.09065952897071838,
-0.1000320240855217,
0.07747064530849457,
-0.13496114313602448,
-0.44708967208862305,
0.24572497606277466,
0.22728104889392853,
0.07578851282596588,
-0.3407647907733917,
0.044941142201423645,
0.2680926024913788,
-0.23362261056900024,
0.0785142183303833,
0.06786078214645386,
-0.29570356011390686,
0.47392377257347107,
-0.08771209418773651,
-0.14649423956871033,
-0.0784197673201561,
0.02830195054411888,
-0.3355516791343689,
-0.13079023361206055,
0.07888967543840408,
0.1976369172334671,
-0.14994993805885315,
-0.5597541332244873,
0.38177236914634705,
0.3193508982658386,
-0.11759144067764282,
0.032030317932367325,
0.028791099786758423,
0.0029245864134281874,
-0.06090500205755234,
-0.07862766087055206,
-0.2165229767560959,
-0.16185235977172852,
-0.021165139973163605,
0.24594086408615112,
-0.046276383101940155,
0.20648124814033508,
-0.2746985852718353,
0.11990250647068024,
-0.09360126405954361,
0.016215458512306213,
0.14106495678424835,
-0.3258395195007324,
-0.04971744865179062,
0.19485145807266235,
-0.2842867970466614,
-0.3267386853694916,
0.21449728310108185,
0.2378048449754715,
0.20024588704109192,
-0.05880313366651535,
-0.08892065286636353,
-0.09029972553253174,
0.42599278688430786,
-0.017495281994342804,
0.35455214977264404,
0.26367607712745667,
0.295193076133728,
-0.1672770380973816,
0.41632845997810364,
-0.22753626108169556,
-0.27727779746055603,
0.10718940943479538,
0.2396138310432434,
0.09036777168512344,
0.10930556803941727,
-0.03928988054394722,
0.049052491784095764,
0.016986152157187462,
0.03310975432395935,
-0.22074030339717865,
-0.09254158288240433,
-0.25857070088386536,
0.23152980208396912,
0.30663052201271057,
-0.03587621450424194,
-0.08055322617292404,
-0.241444930434227,
0.19940294325351715,
0.045762185007333755,
0.1278739869594574,
-0.35582059621810913,
-0.11507771909236908,
0.1263069212436676,
-0.11426843702793121,
0.12486963719129562,
-0.1752319633960724,
0.3208646774291992,
-0.06410478055477142,
0.5021610856056213,
0.1828993260860443,
0.48738425970077515,
0.04693266376852989,
0.06814941763877869,
0.051455143839120865,
0.27613699436187744,
0.16347527503967285,
0.254481703042984,
-0.11752330511808395,
0.07215359061956406,
-0.041645780205726624,
0.13152961432933807,
0.12915374338626862,
0.16152790188789368,
-0.2627856731414795,
0.10079251229763031,
-0.10414688289165497,
0.05765745788812637,
-0.24329602718353271,
0.1259603053331375,
0.39714664220809937,
-0.335482656955719,
-0.09524306654930115,
0.47052866220474243,
0.6519320607185364,
0.5711304545402527,
0.08298084139823914,
-0.12703093886375427,
0.49253448843955994,
-0.024021588265895844,
0.4267077147960663,
0.14995929598808289,
0.019491080194711685,
0.29621538519859314,
0.37079817056655884,
0.3734327256679535,
0.3768807649612427,
-0.026225991547107697,
-0.3653686046600342,
-0.031236933544278145,
-0.10004410892724991,
0.05613844469189644,
0.2864910066127777,
-0.1288895457983017,
0.27675849199295044,
0.3181169033050537,
0.08084429055452347,
0.15088462829589844,
0.1709994077682495,
0.5761322975158691,
-0.02287457510828972,
-0.502354621887207,
0.08918479084968567,
0.284961998462677,
-0.11613958328962326,
-0.010141304694116116,
-0.42358386516571045,
-0.11239846050739288,
-0.19527551531791687,
0.1373251974582672,
-0.07248316705226898,
-0.5385897755622864,
0.13472844660282135,
0.12657807767391205,
-0.05235065519809723,
-0.29397955536842346,
0.08267945796251297,
-0.0407741442322731,
0.16449257731437683,
-0.10106871277093887,
0.37041786313056946,
0.02112092822790146,
0.06107591837644577,
0.2923656404018402,
0.2882362902164459,
0.01183144748210907,
-0.04145752638578415,
-0.030208081007003784,
0.021275287494063377,
0.10806375741958618,
-0.0007323678582906723,
-0.29653310775756836,
-0.2642653286457062,
0.033708103001117706,
0.01870931312441826,
0.2950083017349243,
0.04246077686548233,
-0.052864931523799896,
-0.15447436273097992,
0.3334130048751831,
-0.22316835820674896,
-0.23584428429603577,
0.45307523012161255,
-0.13035103678703308,
-0.08871500194072723,
-0.043998971581459045,
0.22190061211585999,
-0.16867873072624207,
0.10278497636318207,
0.08387687802314758,
-0.2860332429409027,
0.0853477343916893,
-0.045294295996427536,
0.025170449167490005,
-0.13515469431877136,
0.17245662212371826,
-0.08843398094177246,
0.04557330161333084,
-0.3532766103744507,
-0.22033962607383728,
-0.579126238822937,
0.03324374556541443,
-0.00463780015707016,
-0.06781210005283356,
-0.04638944938778877,
0.296237051486969,
0.23644781112670898,
0.17706722021102905,
0.009847387671470642,
0.12059981375932693,
0.18240287899971008,
-0.028003133833408356,
-0.26121148467063904,
0.0020219720900058746,
0.09059873968362808,
0.13504794239997864,
-0.08246871829032898,
-0.11231928318738937,
-0.2377690225839615,
0.1345377415418625,
-0.2419748306274414,
-0.12935058772563934,
-0.017584525048732758,
0.22441014647483826,
-0.1200191080570221,
0.36380842328071594,
0.03555220738053322,
0.34950610995292664,
-0.025334324687719345,
-0.06495391577482224,
0.2647777497768402,
-0.20100565254688263,
-0.5172775983810425,
0.2005506455898285,
-0.11906766891479492,
0.5976274013519287,
-0.37526634335517883,
-0.11269041895866394,
0.08078279346227646,
0.10768257081508636,
0.009871672838926315,
-0.1825179010629654,
-0.27114051580429077,
0.1142030879855156,
-0.5103926062583923,
0.03535323590040207,
0.23536451160907745,
0.43614616990089417,
0.08426371216773987,
-0.06227484345436096,
-0.3274046778678894,
-0.014120148494839668,
0.11642900854349136,
-0.1373339593410492,
-0.16394656896591187,
0.28377553820610046,
0.12637640535831451,
-0.30961498618125916,
0.22423748672008514,
-0.6927475929260254,
-0.14093667268753052,
0.377052366733551,
-0.1801629662513733,
0.03232179954648018,
0.3937932848930359,
0.24944064021110535,
-0.2854120135307312,
-0.09406417608261108,
0.0204419307410717,
-0.017196767032146454,
-0.23191849887371063,
-0.06596582382917404,
-0.3026111125946045
] |
https://github.com/huggingface/datasets/pull/236 | CompGuessWhat?! dataset | @thomwolf I was thinking that I should create an issue regarding the visual features so that we can keep track of it for future work. I think it would be great to have it in NLP and I'll be happy to contribute. Let me know what you think :) | Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences? | 49 | text: CompGuessWhat?! dataset
Hello,
Thanks for the amazing library that you put together. I'm Alessandro Suglia, the first author of CompGuessWhat?!, a recently released dataset for grounded language learning accepted to ACL 2020 ([https://compguesswhat.github.io](https://compguesswhat.github.io)).
This pull-request adds the CompGuessWhat?! splits that have been extracted from the original dataset. This is only part of our evaluation framework because there is also an additional split of the dataset that has a completely different set of games. I didn't integrate it yet because I didn't know what would be the best practice in this case. Let me clarify the scenario.
In our paper, we have a main dataset (let's call it `compguesswhat-gameplay`) and a zero-shot dataset (let's call it `compguesswhat-zs-gameplay`). In the current code of the pull-request, I have only integrated `compguesswhat-gameplay`. I was thinking that it would be nice to have the `compguesswhat-zs-gameplay` in the same dataset class by simply specifying some particular option to the `nlp.load_dataset()` factory. For instance:
```python
cgw = nlp.load_dataset("compguesswhat")
cgw_zs = nlp.load_dataset("compguesswhat", zero_shot=True)
```
The other option would be to have a separate dataset class. Any preferences?
@thomwolf I was thinking that I should create an issue regarding the visual features so that we can keep track of it for future work. I think it would be great to have it in NLP and I'll be happy to contribute. Let me know what you think :) | [
-0.4058915972709656,
0.10094141960144043,
-0.0831226333975792,
0.13661009073257446,
-0.2722926735877991,
-0.030364003032445908,
0.240576833486557,
0.15134285390377045,
0.13278263807296753,
-0.13782157003879547,
-0.07029487937688828,
0.5291312336921692,
-0.11069179326295853,
0.3355543613433838,
0.5080438852310181,
0.027118796482682228,
0.007780350744724274,
0.36350780725479126,
0.0016736909747123718,
0.0439605787396431,
-0.23228365182876587,
0.05596628785133362,
0.14815866947174072,
-0.01493428647518158,
-0.0147447744384408,
-0.4090350270271301,
-0.23534199595451355,
0.08576788008213043,
0.13908293843269348,
-0.28466835618019104,
0.48414719104766846,
0.44348153471946716,
0.06665681302547455,
-0.017753981053829193,
-0.00011646757775451988,
-0.02263079211115837,
0.267236590385437,
-0.08915207535028458,
-0.1927192360162735,
-0.22951601445674896,
-0.3779233396053314,
-0.30574822425842285,
0.08060398697853088,
-0.2636794149875641,
0.07288254797458649,
-0.01601509377360344,
0.23060138523578644,
-0.13045434653759003,
0.32659250497817993,
-0.28820547461509705,
0.07505760341882706,
-0.02566218562424183,
-0.3176673650741577,
0.2127881795167923,
0.1133190393447876,
0.36444294452667236,
-0.2012215256690979,
0.06342636048793793,
0.16138440370559692,
0.10089018940925598,
0.1798504889011383,
0.4099855422973633,
0.1008056253194809,
-0.3168494403362274,
0.1896125078201294,
-0.026785511523485184,
-0.03629770129919052,
-0.012027852237224579,
-0.06544673442840576,
0.22268855571746826,
-0.026209071278572083,
-0.23244333267211914,
-0.21189820766448975,
-0.43833088874816895,
0.12884648144245148,
-0.5231553316116333,
-0.17267274856567383,
0.23705874383449554,
0.09995362162590027,
0.28982454538345337,
-0.001314040506258607,
-0.25034618377685547,
-0.39463555812835693,
0.3060210943222046,
0.005256637930870056,
0.4193595051765442,
-0.004766534082591534,
0.21604058146476746,
-0.044108692556619644,
0.2037530541419983,
0.3472859859466553,
-0.1959356963634491,
-0.19357450306415558,
-0.010462301783263683,
-0.17649760842323303,
-0.270488977432251,
0.026843439787626266,
0.11372992396354675,
0.3456169068813324,
0.19115732610225677,
0.26005497574806213,
0.009521475061774254,
-0.12887075543403625,
0.183424711227417,
0.5706334710121155,
0.01022297888994217,
0.06499085575342178,
-0.07637783885002136,
0.28392457962036133,
0.08235470205545425,
-0.040945056825876236,
0.05191359668970108,
-0.0036866243463009596,
0.4021580219268799,
0.07511872053146362,
-0.2785205841064453,
0.3659590482711792,
-0.2347652167081833,
-0.2583748698234558,
-0.14539703726768494,
-0.21385043859481812,
-0.17645804584026337,
-0.11266837269067764,
0.22315993905067444,
0.2537353038787842,
0.3965563476085663,
0.010342422872781754,
0.2645830512046814,
0.1980355679988861,
-0.365527480840683,
-0.1222408264875412,
-0.017376195639371872,
0.024569574743509293,
0.21597708761692047,
0.0016596801578998566,
0.05737965181469917,
0.036168403923511505,
0.04794440418481827,
-0.11694842576980591,
0.02017967402935028,
0.4629223048686981,
-0.022252559661865234,
0.008406512439250946,
0.18835924565792084,
0.06953893601894379,
0.02903556637465954,
-0.010454170405864716,
0.05540847033262253,
-0.37446704506874084,
0.397927463054657,
0.10027730464935303,
-0.3890780508518219,
0.10081696510314941,
-0.019547220319509506,
-0.41313636302948,
-0.07614710181951523,
-0.022871769964694977,
0.8656242489814758,
0.011874064803123474,
-0.045398443937301636,
-0.1559450924396515,
-0.06308794766664505,
-0.311973512172699,
-0.1325930655002594,
-0.08159486204385757,
0.12435472011566162,
-0.9995893836021423,
-0.17174647748470306,
-0.3215818703174591,
0.05507175996899605,
-0.10459225624799728,
-0.08951514959335327,
-0.5831621289253235,
0.1740226149559021,
-0.06057696044445038,
0.11971737444400787,
0.726033627986908,
-0.11555247008800507,
-0.26748543977737427,
0.103146031498909,
-0.19155707955360413,
0.23115386068820953,
0.2891767621040344,
0.25091394782066345,
0.07616589963436127,
-0.06771872937679291,
-0.0838107019662857,
0.46690553426742554,
-0.2805928885936737,
-0.1902155876159668,
-0.13489769399166107,
-0.39937824010849,
0.5462039113044739,
0.1029609739780426,
-0.024754244834184647,
-0.32962507009506226,
0.06956315785646439,
0.2049085944890976,
0.15534484386444092,
-0.2577289640903473,
0.08496742695569992,
-0.1057278960943222,
0.34563079476356506,
0.07432267814874649,
-0.1105055883526802,
-0.23503360152244568,
-0.40288326144218445,
-0.048182159662246704,
-0.24499176442623138,
0.15969660878181458,
0.1128787100315094,
-0.4557473659515381,
-0.21941033005714417,
-0.09257543832063675,
-0.03218531981110573,
-0.34747618436813354,
-0.03526204079389572,
0.31349819898605347,
-0.07377375662326813,
-0.11448903381824493,
-0.2678040862083435,
0.5997745394706726,
-0.28118467330932617,
-0.18472476303577423,
-0.23239018023014069,
0.1205059140920639,
-0.09840596467256546,
-0.06717455387115479,
-0.08188347518444061,
0.3590066134929657,
0.020949408411979675,
-0.2254014015197754,
0.1091749519109726,
0.04384463652968407,
-0.03670024126768112,
0.19174978137016296,
-0.018868833780288696,
0.006744936108589172,
0.28427714109420776,
-0.05204402282834053,
0.35461896657943726,
-0.2502395808696747,
-0.07473823428153992,
-0.170633003115654,
-0.04706200212240219,
0.7596250176429749,
-0.040255624800920486,
0.3392007648944855,
0.012939170002937317,
-0.27830758690834045,
0.21252846717834473,
-0.043968565762043,
-0.3858899772167206,
0.008591003715991974,
-0.2590942978858948,
-0.018268194049596786,
0.18369677662849426,
0.12134959548711777,
-0.5052635669708252,
0.4248290956020355,
0.5672250390052795,
0.01691441237926483,
0.052982863038778305,
-0.16685262322425842,
-0.170160710811615,
-0.18680322170257568,
0.35633960366249084,
0.20603854954242706,
0.5769012570381165,
0.34404659271240234,
-0.301425039768219,
0.028917409479618073,
-0.21078558266162872,
-0.025288840755820274,
0.3217810094356537,
0.25492069125175476,
0.2523980438709259,
-0.00022801384329795837,
0.09608279168605804,
0.0018960041925311089,
-0.20227935910224915,
0.1520306020975113,
0.013958005234599113,
-0.1784258335828781,
-0.1720404177904129,
0.08218690007925034,
-0.058860816061496735,
-0.5652838349342346,
-0.4213235378265381,
0.11864758282899857,
-0.2081964761018753,
-0.16305440664291382,
0.04669078439474106,
-0.06775526702404022,
-0.2313411384820938,
0.37933847308158875,
-0.3848007619380951,
0.7924142479896545,
-0.6533145308494568,
-0.01014435850083828,
0.16177542507648468,
-0.3081170618534088,
-0.33151689171791077,
-0.041139982640743256,
0.371084600687027,
0.3086867034435272,
0.6522258520126343,
0.2591313421726227,
-0.059930577874183655,
0.2081538289785385,
-0.5598247647285461,
0.17987751960754395,
-0.1945711374282837,
0.1501142680644989,
-0.013494476675987244,
-0.03643938899040222,
-0.04793184995651245,
-0.4873146414756775,
0.0047456552274525166,
-0.040109582245349884,
-0.11665758490562439,
-0.4142407178878784,
-0.14336015284061432,
0.07822760194540024,
-0.17193442583084106,
-0.3362424671649933,
-0.23213498294353485,
-0.3620072901248932,
0.2140752077102661,
0.13308727741241455,
0.11255677044391632,
0.1353786289691925,
-0.32173803448677063,
-0.014878096990287304,
0.0782582014799118,
-0.13666704297065735,
-0.3613229990005493,
0.0026718713343143463,
0.10762564837932587,
-0.10800305008888245,
-0.05873579904437065,
0.02887449786067009,
-0.39243006706237793,
0.34488412737846375,
-0.11446846276521683,
-0.1708698719739914,
-0.40179428458213806,
0.20314331352710724,
-0.01595093309879303,
-0.01903543621301651,
-0.015238633379340172,
0.5643014907836914,
-0.1428614854812622,
0.12922747433185577,
-0.10456300526857376,
-0.4085405468940735,
0.42048174142837524,
0.37120404839515686,
0.10771700739860535,
0.23427951335906982,
0.06211870163679123,
0.0708756297826767,
0.8658407330513,
0.16632738709449768,
0.07093088328838348,
0.15907344222068787,
0.33005085587501526,
0.18820637464523315,
0.09967994689941406,
-0.2080746591091156,
0.00995980016887188,
-0.013631477952003479,
0.05294802784919739,
0.4334048628807068,
-0.05986417829990387,
-0.2852241098880768,
0.0664624273777008,
-0.0247490331530571,
-0.19158434867858887,
-0.253281831741333,
0.26933005452156067,
-0.20274865627288818,
0.026679303497076035,
0.14429473876953125,
-0.5243746638298035,
-0.2700271010398865,
-0.038006044924259186,
0.052615243941545486,
0.1528295874595642,
0.027457766234874725,
0.21880847215652466,
-0.38936319947242737,
0.030189314857125282,
-0.10455609112977982,
0.3099886178970337,
0.16349367797374725,
-0.03580300137400627,
0.032416220754384995,
-0.2985331416130066,
0.20694589614868164,
-0.003927181009203196,
0.6431393027305603,
-0.32985275983810425,
-0.4502827525138855,
0.1904686540365219,
0.02124848961830139,
-0.06280461698770523,
-0.05414240434765816,
-0.027501149103045464,
-0.05739179998636246,
0.5285766124725342,
0.06440553814172745,
-0.42163342237472534,
-0.1722298413515091,
0.4401857256889343,
-0.057418085634708405,
-0.19288122653961182,
-0.17032717168331146,
-0.23199141025543213,
-0.08872517943382263,
-0.28474411368370056,
0.013835839927196503,
0.19285251200199127,
0.21678496897220612,
0.03145606070756912,
-0.0638427659869194,
-0.11188681423664093,
-0.08785639703273773,
0.16478955745697021,
0.2825023829936981,
0.1499125063419342,
0.18710310757160187,
0.1509801596403122,
0.1323399841785431,
0.2749755382537842,
-0.3469022512435913,
0.48083657026290894,
0.014337578788399696,
-0.31759002804756165,
0.06738422811031342,
-0.12673887610435486,
0.6319854855537415,
0.5713106393814087,
0.14785130321979523,
0.08911152929067612,
-0.19200225174427032,
-0.260551393032074,
-0.23426049947738647,
0.1529865562915802,
-0.06406383961439133,
-0.06806617975234985,
-0.2771153450012207,
-0.5809312462806702,
0.15177373588085175,
0.07495291531085968,
-0.24967357516288757,
0.11302423477172852,
0.1349058449268341,
-0.3452244997024536,
0.33004701137542725,
0.13335517048835754,
1.2481756210327148,
-0.09922417998313904,
0.2754964828491211,
0.04223867505788803,
-0.012948602437973022,
0.9589260220527649,
-0.40113401412963867,
-0.1365540772676468,
-0.2449563443660736,
0.15255218744277954,
0.13909302651882172,
-0.06945356726646423,
0.2805398106575012,
0.05540326237678528,
-0.20397083461284637,
0.15955020487308502,
0.3682553172111511,
0.12992817163467407,
-0.009175356477499008,
0.5615647435188293,
0.30225083231925964,
-0.3318305015563965,
-0.1377992331981659,
-0.02028564363718033,
-0.16231942176818848,
-0.08783715963363647,
-0.2594430446624756,
-0.1984068900346756,
-0.22442446649074554,
0.11628222465515137,
-0.20700067281723022,
-0.07389684021472931,
-0.0006427210755646229,
0.016990041360259056,
-0.1110929399728775,
-0.5840964317321777,
0.40885525941848755,
0.18289963901042938,
0.21753962337970734,
-0.2845178246498108,
0.005255706608295441,
0.20564325153827667,
-0.2854073643684387,
0.017966529354453087,
0.04365560784935951,
-0.20153066515922546,
0.4432140290737152,
-0.15440630912780762,
-0.17100873589515686,
0.07124234735965729,
0.12480492889881134,
-0.3346030116081238,
-0.12708429992198944,
0.11454638093709946,
0.25659114122390747,
-0.1518029123544693,
-0.5362290143966675,
0.39519909024238586,
0.4603326916694641,
-0.2295933961868286,
0.04600953683257103,
0.1016661673784256,
-0.14120222628116608,
-0.16362378001213074,
-0.10436348617076874,
-0.1481276899576187,
-0.13793787360191345,
-0.1330096423625946,
0.23155814409255981,
-0.09478875994682312,
0.18617436289787292,
-0.2417697161436081,
0.1388106644153595,
-0.09115387499332428,
0.03536873310804367,
0.12094847112894058,
-0.3576313555240631,
-0.14516694843769073,
0.21524843573570251,
-0.3224267363548279,
-0.3145673871040344,
0.24283674359321594,
0.295737087726593,
0.29839035868644714,
-0.08429677039384842,
-0.08270839601755142,
-0.08408987522125244,
0.29981255531311035,
0.04664067551493645,
0.2701423466205597,
0.3036782741546631,
0.3863333761692047,
-0.2386276125907898,
0.47647789120674133,
-0.22059275209903717,
-0.32755225896835327,
0.08238095790147781,
0.0750848650932312,
0.07425276935100555,
0.02564866654574871,
-0.1068975031375885,
-0.02278347872197628,
-0.02338758483529091,
0.07094261050224304,
-0.14749373495578766,
-0.1088942214846611,
-0.25807324051856995,
0.20966124534606934,
0.2979992628097534,
0.11654412746429443,
-0.15685150027275085,
-0.1678762137889862,
0.25269728899002075,
0.16151288151741028,
0.1425527185201645,
-0.4001699686050415,
-0.006409242749214172,
0.10526145994663239,
-0.06941092014312744,
0.09377167373895645,
-0.3814452886581421,
0.30064836144447327,
0.06165832281112671,
0.37714773416519165,
0.11571995913982391,
0.5175397396087646,
0.06278683990240097,
0.13113000988960266,
0.03944748640060425,
0.22117656469345093,
0.273884654045105,
0.41653522849082947,
-0.17024272680282593,
-0.01732947677373886,
-0.09164578467607498,
0.12018100917339325,
0.0562344565987587,
0.16082096099853516,
-0.17731896042823792,
0.2022651582956314,
-0.04881288856267929,
0.04725383222103119,
-0.34458932280540466,
0.18113557994365692,
0.2905099391937256,
-0.30830490589141846,
-0.11666442453861237,
0.40987148880958557,
0.5864022970199585,
0.5942757725715637,
0.2665998041629791,
-0.032446399331092834,
0.37465065717697144,
0.04794479161500931,
0.42660823464393616,
0.16303439438343048,
0.013632934540510178,
0.231470987200737,
0.3876579701900482,
0.4670117497444153,
0.2888215184211731,
-0.1286771446466446,
-0.24456781148910522,
-0.1389106959104538,
-0.0688825324177742,
0.06531762331724167,
0.22772186994552612,
-0.09512818604707718,
0.23141436278820038,
0.3102306127548218,
0.17072610557079315,
0.09709218889474869,
0.1544014811515808,
0.6668208837509155,
-0.028685927391052246,
-0.5029680132865906,
0.0791349932551384,
0.14572158455848694,
-0.05087476223707199,
0.04878329113125801,
-0.2617031931877136,
-0.07836809754371643,
-0.21545372903347015,
0.07987704873085022,
-0.0465981625020504,
-0.35056614875793457,
-0.08483251929283142,
0.07067149132490158,
-0.07275359332561493,
-0.27287524938583374,
0.018325792625546455,
0.07622677832841873,
0.14558133482933044,
-0.09440945088863373,
0.3711426258087158,
-0.052995845675468445,
0.038457464426755905,
0.12120626866817474,
0.2117118537425995,
0.05836876481771469,
-0.0672701969742775,
-0.0875076949596405,
0.10094738006591797,
0.13434596359729767,
-0.02803697995841503,
-0.2343132495880127,
-0.3011365234851837,
0.09436497837305069,
0.09594458341598511,
0.23654137551784515,
0.03460264950990677,
-0.0557008720934391,
-0.002563241869211197,
0.24683943390846252,
-0.12991203367710114,
-0.3907390832901001,
0.5358220338821411,
-0.11944939196109772,
-0.20065149664878845,
-0.09088874608278275,
0.23844847083091736,
-0.10003597289323807,
0.19941677153110504,
0.08809767663478851,
-0.2042222023010254,
0.029571328312158585,
-0.17363616824150085,
0.030406691133975983,
-0.16145774722099304,
0.10955487191677094,
-0.04903383180499077,
-0.04181644320487976,
-0.24425461888313293,
-0.22498153150081635,
-0.737003743648529,
0.15281327068805695,
0.025685107335448265,
-0.1467401087284088,
0.05623184144496918,
0.2748115360736847,
0.2084648609161377,
0.29475992918014526,
-0.04879103600978851,
0.11805695295333862,
0.030825503170490265,
-0.15506041049957275,
-0.25103557109832764,
-0.001680821180343628,
0.18934734165668488,
0.06643280386924744,
0.002887774258852005,
-0.01601867750287056,
-0.26564207673072815,
0.2639229893684387,
-0.2791464626789093,
-0.08769242465496063,
-0.04037722200155258,
0.202122762799263,
-0.08213503658771515,
0.189424067735672,
0.04054252803325653,
0.3062901496887207,
0.04611792415380478,
0.05168698728084564,
0.18378788232803345,
-0.18063612282276154,
-0.4560437500476837,
0.2912129759788513,
-0.169622540473938,
0.49801352620124817,
-0.41524583101272583,
-0.07680433988571167,
0.03446955233812332,
0.15085847675800323,
0.0177265927195549,
-0.10025164484977722,
-0.19395732879638672,
0.10597170889377594,
-0.40229669213294983,
0.08665957301855087,
0.32573387026786804,
0.4285053610801697,
0.04119674116373062,
-0.05299787223339081,
-0.2759285569190979,
0.050955913960933685,
0.11607357114553452,
-0.08556690812110901,
-0.32652896642684937,
0.32130104303359985,
0.20606952905654907,
-0.15972930192947388,
0.030685776844620705,
-0.6764316558837891,
-0.21501736342906952,
0.3175968527793884,
-0.13533413410186768,
0.13704778254032135,
0.42617201805114746,
0.13118727505207062,
-0.22464832663536072,
-0.024647587910294533,
0.08563317358493805,
0.06320877373218536,
-0.14886869490146637,
0.006745152175426483,
-0.30314135551452637
] |
https://github.com/huggingface/datasets/pull/235 | Add experimental datasets | I think it would be nicer to not create a new folder `datasets_experimental` , but just put your datasets also into the folder `datasets` for the following reasons:
- From my point of view, the datasets are not very different from the other datasets (assuming that we soon have C4, and the beam datasets) so I don't see why we require a new dataset folder
- I'm not a big fan of adding a boolean flag to the `load_dataset()` function that basically switches between folder names on S3. The user has to know whether a dataset script is experimental or not. User installing nlp with pip won't see that there are folders called `datasets` and `datasets_experimental`
- If we do this just to bypass the test, I think a good solution could be: For all tests that are too complicated to be currently tested with the testing framework, we can add a class variable called `do_test = False` to the dataset builder class and a default `do_test = True` to the abstract dataset class and skip all tests that have that variable in the dataset test framework similar to what is done to beam datasets: https://github.com/huggingface/nlp/blob/2e0a8639a79b1abc848cff5c669094d40bba0f63/tests/test_dataset_common.py#L79
We can also print a warning for all dataset tests having `do_test = False`. This variable would only concern testing and we would not have a problem removing it at a later stage IMO.
- This way the datascripts are backward compatible and can be used with earlier versions of `nlp` (not that this matters too much atm)
What is your opinion on this @lhoestq @thomwolf ? | ## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
| 263 | text: Add experimental datasets
## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
I think it would be nicer to not create a new folder `datasets_experimental` , but just put your datasets also into the folder `datasets` for the following reasons:
- From my point of view, the datasets are not very different from the other datasets (assuming that we soon have C4, and the beam datasets) so I don't see why we require a new dataset folder
- I'm not a big fan of adding a boolean flag to the `load_dataset()` function that basically switches between folder names on S3. The user has to know whether a dataset script is experimental or not. User installing nlp with pip won't see that there are folders called `datasets` and `datasets_experimental`
- If we do this just to bypass the test, I think a good solution could be: For all tests that are too complicated to be currently tested with the testing framework, we can add a class variable called `do_test = False` to the dataset builder class and a default `do_test = True` to the abstract dataset class and skip all tests that have that variable in the dataset test framework similar to what is done to beam datasets: https://github.com/huggingface/nlp/blob/2e0a8639a79b1abc848cff5c669094d40bba0f63/tests/test_dataset_common.py#L79
We can also print a warning for all dataset tests having `do_test = False`. This variable would only concern testing and we would not have a problem removing it at a later stage IMO.
- This way the datascripts are backward compatible and can be used with earlier versions of `nlp` (not that this matters too much atm)
What is your opinion on this @lhoestq @thomwolf ? | [
-0.08912689983844757,
0.30797091126441956,
-0.052750952541828156,
0.1090453714132309,
-0.05904292315244675,
0.08023907989263535,
0.16528934240341187,
0.5062692761421204,
0.044262874871492386,
0.12628233432769775,
0.12386460602283478,
0.14803136885166168,
-0.4739857614040375,
0.06922692060470581,
0.13959018886089325,
0.029932092875242233,
-0.044799692928791046,
0.019591063261032104,
-0.04801565408706665,
0.14077982306480408,
-0.0702618807554245,
-0.24478845298290253,
0.09744861721992493,
-0.12828414142131805,
0.21675632894039154,
-0.024713201448321342,
-0.3624502122402191,
0.04519384354352951,
-0.4182206094264984,
-0.535383939743042,
0.040345825254917145,
0.478636234998703,
0.14365701377391815,
0.5861287713050842,
-0.0001120546439778991,
-0.04685649275779724,
0.31414514780044556,
-0.20267167687416077,
-0.43661636114120483,
-0.17269136011600494,
-0.2843516170978546,
0.10007968544960022,
-0.10050539672374725,
-0.047691863030195236,
-0.015346504747867584,
-0.11366265267133713,
0.18628808856010437,
-0.41011136770248413,
0.0891767144203186,
0.20515787601470947,
0.20889097452163696,
0.2763679623603821,
-0.44005173444747925,
-0.21754489839076996,
0.548772394657135,
0.4789363741874695,
-0.45541295409202576,
0.1951228529214859,
0.34626802802085876,
0.06758076697587967,
-0.06108241528272629,
-0.08394715189933777,
0.03633560985326767,
0.05810349062085152,
0.1401950716972351,
0.14507323503494263,
-0.058875687420368195,
-0.13318350911140442,
-0.4341284930706024,
0.39859655499458313,
0.736149251461029,
-0.3012942373752594,
-0.38213443756103516,
-0.2066209614276886,
-0.23438577353954315,
-0.10308628529310226,
0.015031430870294571,
0.2294190675020218,
-0.18855084478855133,
0.08320683240890503,
-0.17650043964385986,
-0.3090584874153137,
-0.07744129002094269,
0.34946703910827637,
0.24391072988510132,
0.2418488711118698,
0.03631925955414772,
-0.030360884964466095,
0.09139417111873627,
-0.13062649965286255,
0.29308298230171204,
-0.5317019820213318,
-0.003185659646987915,
-0.02140531688928604,
0.2959432899951935,
-0.19342616200447083,
0.14427363872528076,
-0.3909388482570648,
0.5695538520812988,
0.2504015862941742,
0.11264894902706146,
0.055623531341552734,
-0.13457871973514557,
-0.07484345883131027,
0.03348442167043686,
0.3104439079761505,
0.09255501627922058,
0.327889621257782,
0.28452634811401367,
0.5701946020126343,
0.15666599571704865,
-0.026987500488758087,
-0.022468961775302887,
0.142631396651268,
-0.26261964440345764,
-0.04504558444023132,
0.2012849897146225,
-0.04231960326433182,
0.04460345208644867,
0.0396459624171257,
-0.03539562225341797,
-0.20149770379066467,
-0.05725409463047981,
0.23370957374572754,
-0.048999637365341187,
0.02612200938165188,
-0.015865033492445946,
0.29139918088912964,
0.11814288049936295,
-0.0405748225748539,
-0.13143455982208252,
0.24163493514060974,
-0.4253978431224823,
0.3861689865589142,
0.3113709092140198,
-0.17182175815105438,
0.15698052942752838,
-0.0739588662981987,
0.3608245253562927,
-0.005498334765434265,
0.15919749438762665,
0.17379184067249298,
0.3135761022567749,
-0.18832816183567047,
-0.20579932630062103,
0.22091250121593475,
-0.09903603792190552,
-0.1027107685804367,
-0.26148414611816406,
0.20715099573135376,
0.1701650321483612,
-0.21443086862564087,
0.08119694888591766,
0.13387653231620789,
-0.47259366512298584,
0.0934307724237442,
-0.3881807029247284,
0.2238992303609848,
-0.40803322196006775,
-0.13343501091003418,
0.23149138689041138,
0.013345150277018547,
-0.024431489408016205,
-0.13925997912883759,
0.13769228756427765,
0.5751650333404541,
-0.3501896262168884,
0.02755938470363617,
-0.3099704086780548,
0.14060445129871368,
0.023030593991279602,
0.09657226502895355,
-0.24252428114414215,
0.3289753198623657,
-0.26660460233688354,
0.22064398229122162,
0.25879234075546265,
-0.4465939700603485,
-0.22814935445785522,
0.09815919399261475,
-0.25708356499671936,
0.03697875142097473,
0.349136620759964,
-0.01647375151515007,
0.19898484647274017,
-0.276387095451355,
-0.24063768982887268,
0.05548806115984917,
-0.12341654300689697,
0.008771656081080437,
-0.43357139825820923,
-0.3685462772846222,
0.10595431178808212,
0.10522125661373138,
-0.016815315932035446,
0.007622130215167999,
-0.04126604646444321,
0.03916461393237114,
0.20938077569007874,
-0.20926669239997864,
0.22264228761196136,
-0.16074921190738678,
0.5308676362037659,
-0.05565859377384186,
-0.1873980164527893,
-0.023567134514451027,
-0.5958099961280823,
0.3364236354827881,
0.14087441563606262,
0.36323100328445435,
0.081687793135643,
0.006749097257852554,
-0.3878582715988159,
-0.1375410109758377,
-0.1589239239692688,
-0.3794783055782318,
0.06398416310548782,
0.21498741209506989,
0.10610184073448181,
-0.03483700379729271,
-0.19164207577705383,
-0.20620612800121307,
-0.0433773472905159,
0.12226851284503937,
-0.32369813323020935,
0.3380226492881775,
-0.10299208015203476,
-0.04879400506615639,
0.08779661357402802,
-0.19907838106155396,
-0.11675133556127548,
-0.3367433249950409,
0.14523440599441528,
0.20013827085494995,
0.06580536812543869,
0.17462342977523804,
0.6133249998092651,
0.47400128841400146,
-0.00556635856628418,
-0.31852054595947266,
0.4122188985347748,
0.010118091478943825,
0.05955766141414642,
0.06590617448091507,
-0.38839593529701233,
0.4618934392929077,
-0.09779398143291473,
0.05696674436330795,
-0.11384245753288269,
-0.14110340178012848,
0.168696328997612,
-0.18530377745628357,
-0.17278507351875305,
-0.11547492444515228,
0.31834062933921814,
0.39436182379722595,
0.10050871968269348,
-0.11509624123573303,
0.071923166513443,
-0.06226173788309097,
-0.08694222569465637,
-0.2317616492509842,
-0.0696929469704628,
0.12774798274040222,
-0.09562291949987411,
-0.09931948035955429,
0.09461581707000732,
0.22024090588092804,
0.7965775728225708,
0.15156298875808716,
0.2536288797855377,
0.01889587566256523,
0.0845494419336319,
-0.1861283928155899,
0.039604149758815765,
0.020675349980592728,
-0.07407789677381516,
0.16738659143447876,
0.19722880423069,
0.03648572415113449,
-0.010995350778102875,
-0.06752260029315948,
0.2102992981672287,
0.19336669147014618,
-0.1735382080078125,
-0.19638358056545258,
0.05378906428813934,
-0.030108440667390823,
-0.01937289908528328,
0.0348152220249176,
0.026190249249339104,
-0.2031954675912857,
0.19269534945487976,
-0.046556178480386734,
-0.2849704623222351,
0.07430436462163925,
-0.290583997964859,
0.44999027252197266,
-0.11824497580528259,
-0.16099724173545837,
-0.19388625025749207,
-0.004410139750689268,
0.015806792303919792,
0.15767064690589905,
0.26169243454933167,
0.13578474521636963,
0.5737968683242798,
-0.027611976489424706,
0.061463817954063416,
-0.6362988948822021,
-0.34236112236976624,
0.2677198648452759,
-0.08481930941343307,
0.542224645614624,
0.1784784346818924,
0.17747348546981812,
0.2781396508216858,
-0.4607299566268921,
0.16456657648086548,
-0.4076917767524719,
-0.340624064207077,
-0.13001954555511475,
0.07159251719713211,
-0.12116830050945282,
-0.11707042157649994,
-0.5886009931564331,
0.019823651760816574,
-0.2945108115673065,
0.11026663333177567,
0.04588605836033821,
0.008096378296613693,
0.029088716953992844,
0.2296459972858429,
0.13961352407932281,
-0.038989465683698654,
-0.37272515892982483,
-0.1233324334025383,
-0.45621493458747864,
0.34491702914237976,
-0.4026796519756317,
-0.0698183923959732,
-0.11587302386760712,
-0.24999192357063293,
-0.24728846549987793,
0.1664792150259018,
-0.5462136268615723,
-0.10636121034622192,
0.036403462290763855,
0.42266854643821716,
0.2537394165992737,
-0.03966908901929855,
0.32969987392425537,
0.024532416835427284,
-0.09484925866127014,
-0.12212322652339935,
-0.28201520442962646,
-0.13354867696762085,
0.2851088047027588,
0.32447585463523865,
0.04715476185083389,
0.19436931610107422,
0.29638421535491943,
0.9219228029251099,
0.13831403851509094,
-0.13414998352527618,
0.18526053428649902,
-0.07103367149829865,
0.33218252658843994,
-0.010005764663219452,
-0.21921055018901825,
0.09892041981220245,
0.030249647796154022,
-0.2112857550382614,
0.22100767493247986,
0.11104223877191544,
-0.1401398628950119,
0.020100176334381104,
0.2947104275226593,
0.01958819478750229,
-0.2258581817150116,
0.33425161242485046,
-0.3880448639392853,
0.1039583757519722,
-0.06692172586917877,
-0.3136610984802246,
-0.3295626640319824,
-0.2739184498786926,
0.13514037430286407,
0.07542555034160614,
0.13599248230457306,
-0.25325271487236023,
-0.5281211733818054,
0.4958699345588684,
-0.4665098190307617,
0.2905254364013672,
0.19093945622444153,
0.11413400620222092,
-0.05238481983542442,
-0.024497028440237045,
-0.12371248006820679,
0.04292314127087593,
0.3649303913116455,
-0.5748062133789062,
-0.1131138801574707,
0.10296714305877686,
0.12508924305438995,
-0.24512773752212524,
-0.09646055847406387,
-0.33095136284828186,
-0.045790839940309525,
-0.262462317943573,
0.20648209750652313,
-0.2442375123500824,
-0.10910429060459137,
0.2218582183122635,
-0.010222463868558407,
-0.015812870115041733,
-0.15651264786720276,
0.06405724585056305,
-0.277395099401474,
-0.08027670532464981,
-0.06448397785425186,
0.092020682990551,
-0.250247985124588,
-0.23672305047512054,
0.053741391748189926,
0.23589172959327698,
0.1937275528907776,
0.296542763710022,
-0.005914654582738876,
-0.059899166226387024,
0.2883763909339905,
0.2487984299659729,
0.32454612851142883,
-0.32178711891174316,
0.3747220039367676,
0.428814172744751,
-0.06131063774228096,
0.03288330137729645,
0.05321723222732544,
-0.09033332765102386,
0.34278732538223267,
0.42859888076782227,
0.19800782203674316,
-0.003591574728488922,
-0.3924694061279297,
0.06132487207651138,
-0.42267608642578125,
0.5339658856391907,
0.4009270668029785,
-0.2698943614959717,
0.01246708631515503,
-0.40369755029678345,
0.29301491379737854,
-0.04934554547071457,
-0.3369222581386566,
0.5084816217422485,
0.09125754982233047,
-0.34869489073753357,
0.35306107997894287,
-0.0189196839928627,
0.9314352869987488,
-0.15530022978782654,
0.21401597559452057,
0.2355194091796875,
0.0084427110850811,
0.21690194308757782,
-0.03216332942247391,
-0.08418912440538406,
-0.15902577340602875,
-0.05310579389333725,
0.021052753552794456,
-0.3091985285282135,
0.06894160062074661,
-0.022861868143081665,
-0.35477572679519653,
0.0412718802690506,
-0.014785006642341614,
0.09090198576450348,
0.19325387477874756,
0.5802162885665894,
-0.04502062499523163,
-0.17610490322113037,
-0.13997842371463776,
0.1553475707769394,
0.17866605520248413,
-0.09646539390087128,
-0.03201151639223099,
-0.09072278439998627,
-0.4717377722263336,
-0.03977758809924126,
-0.49384403228759766,
0.017966531217098236,
0.05931093171238899,
-0.1248832494020462,
0.055239029228687286,
-0.0794309601187706,
0.2820279002189636,
0.3388131260871887,
0.1513790488243103,
0.10940878093242645,
-0.19633857905864716,
-0.08300663530826569,
-0.3078349232673645,
0.0314703993499279,
0.09867504984140396,
-0.12992607057094574,
0.13088352978229523,
0.0873485580086708,
-0.2656063735485077,
0.10011638700962067,
0.058411575853824615,
-0.2826537787914276,
-0.3163701891899109,
-0.2726184129714966,
0.3141331672668457,
-0.6479935050010681,
0.08407415449619293,
0.05787963420152664,
-0.3270965814590454,
-0.11169660091400146,
0.12610383331775665,
0.3267565965652466,
-0.038441251963377,
0.07046766579151154,
0.32837554812431335,
-0.03234380483627319,
-0.09061409533023834,
0.03238895162940025,
-0.2915163040161133,
0.034960582852363586,
0.16730749607086182,
0.008881445974111557,
0.053564488887786865,
-0.18106740713119507,
0.4053036570549011,
0.2920035421848297,
-0.09369155764579773,
0.10803625732660294,
-0.2987609803676605,
-0.22209888696670532,
-0.03624648228287697,
0.16282330453395844,
0.5167626738548279,
-0.26551827788352966,
0.029570098966360092,
0.005917996168136597,
0.0001236218959093094,
0.23489630222320557,
-0.08028365671634674,
0.4671505391597748,
-0.43779256939888,
-0.0765361487865448,
-0.11764797568321228,
0.1701059639453888,
-0.35493892431259155,
0.14237375557422638,
-0.16041821241378784,
0.1627787947654724,
-0.08981170505285263,
-0.02310081571340561,
0.20628637075424194,
-0.26902827620506287,
0.06582999974489212,
-0.23742569983005524,
-0.4317944049835205,
-0.18259131908416748,
-0.20970767736434937,
0.1613975167274475,
0.12178023904561996,
-0.024356257170438766,
0.1089034304022789,
-0.039935290813446045,
0.3037398159503937,
-0.24098463356494904,
0.05286324396729469,
0.1281222403049469,
-0.158342182636261,
0.14450301229953766,
0.35431838035583496,
-0.08102964609861374,
-0.17336612939834595,
0.2253762185573578,
0.06561923027038574,
0.4152213931083679,
0.26090943813323975,
0.11304758489131927,
-0.09619537740945816,
-0.1606970876455307,
0.05730661377310753,
0.3975886106491089,
0.5106284618377686,
0.3354409337043762,
0.31807416677474976,
0.022936321794986725,
-0.043355248868465424,
0.11724031716585159,
0.2799074351787567,
0.3784191608428955,
-0.3162820339202881,
0.22386588156223297,
0.11471179872751236,
0.13899371027946472,
0.02452840656042099,
-0.04534127935767174,
0.057124510407447815,
0.11208928376436234,
0.2781543731689453,
0.285657674074173,
0.24536943435668945,
-0.11130927503108978,
0.13202211260795593,
-0.0721113309264183,
0.4510566294193268,
0.04254654049873352,
0.07289682328701019,
-0.14397352933883667,
-0.39127495884895325,
0.0006239227950572968,
0.18255719542503357,
-0.09356997907161713,
0.030667133629322052,
-0.300487220287323,
0.34214818477630615,
0.3746824860572815,
-0.2722555696964264,
0.019729305058717728,
0.07423382252454758,
0.10601112246513367,
0.2411614954471588,
0.2376180738210678,
0.22324013710021973,
0.25734657049179077,
0.13381057977676392,
0.2793538272380829,
-0.02137712389230728,
0.21945178508758545,
0.05979722738265991,
-0.21477042138576508,
0.3991807699203491,
-0.1633911281824112,
-0.27680933475494385,
-0.22383642196655273,
-0.31483227014541626,
-0.1102503091096878,
0.01592278853058815,
-0.3516942262649536,
0.1946866810321808,
-0.030281998217105865,
-0.07856473326683044,
-0.016362814232707024,
0.31227684020996094,
0.15232278406620026,
0.25826698541641235,
-0.42224448919296265,
0.0738086849451065,
-0.16169698536396027,
-0.06600850820541382,
0.04435539245605469,
0.35351836681365967,
0.22265620529651642,
0.011196162551641464,
-0.251780241727829,
0.06750862300395966,
-0.021524209529161453,
-0.020356249064207077,
0.03745973855257034,
0.2042129933834076,
-0.05535684525966644,
-0.13297070562839508,
0.20165224373340607,
0.24383798241615295,
-0.167025625705719,
-0.04075237736105919,
0.2189589887857437,
-0.14510312676429749,
-0.21843723952770233,
-0.0566936656832695,
0.06974949687719345,
-0.11753431707620621,
0.23496422171592712,
-0.08771664649248123,
-0.27811941504478455,
0.0420394204556942,
0.3725317716598511,
-0.47483956813812256,
0.1272343099117279,
0.06818727403879166,
0.1177905946969986,
0.02931451052427292,
0.24475990235805511,
0.28835079073905945,
0.07634566724300385,
-0.4706334173679352,
-0.24536548554897308,
-0.5460366606712341,
0.1556929349899292,
-0.14181600511074066,
-0.31484362483024597,
-0.09761796146631241,
0.2937474846839905,
0.489872008562088,
0.31171977519989014,
-0.2718745470046997,
-0.2595081627368927,
-0.3107231855392456,
0.31486937403678894,
-0.48742541670799255,
-0.2086997777223587,
0.007011722773313522,
0.2812218964099884,
0.15608133375644684,
-0.149346262216568,
-0.024067994207143784,
-0.04900764301419258,
-0.02778606303036213,
-0.010501369833946228,
0.09474553167819977,
0.3183191418647766,
-0.013735376298427582,
0.2917039394378662,
-0.14120356738567352,
0.4730288088321686,
-0.04849740490317345,
-0.3492797911167145,
-0.4949720501899719,
-0.0566706620156765,
0.11607585847377777,
-0.1314014494419098,
-0.19424109160900116,
0.33586496114730835,
-0.22349923849105835,
-0.12037026882171631,
-0.2367863804101944,
-0.13049209117889404,
0.12921379506587982,
0.1306365579366684,
-0.21441496908664703,
0.052985623478889465,
-0.08415020257234573,
0.12054082751274109,
0.1831812858581543,
0.25661593675613403,
-0.29368332028388977,
0.007690988481044769,
-0.18069344758987427,
-0.19907289743423462,
0.3811715543270111,
-0.20592494308948517,
-0.23436972498893738,
0.23476216197013855,
0.038474537432193756,
-0.16749808192253113,
-0.03207822144031525,
-0.4591895639896393,
0.1410013735294342,
0.22735382616519928,
-0.05100364238023758,
-0.044554706662893295,
0.09383055567741394,
0.34861046075820923,
0.02118362858891487,
-0.015246734023094177,
0.5602352619171143,
-0.08841804414987564,
-0.02055944688618183,
-0.05274396017193794,
-0.31102317571640015
] |
https://github.com/huggingface/datasets/pull/235 | Add experimental datasets | Very cool to have add those datasets :)
I understand that making the dummy data for this case is not fun. I'm sure we'll be able to add them soon. For now it's still interesting to have them in the library, even if we can't test all the code with dummy data.
I like the idea of the `do_tests=False` class variable.
However it would be cool to test at least that we can load the module and instantiate the builder (only ignore the dummy data test for now). In that case a better name could be `test_dummy_data=False` or something like that.
If we want to be picky we can also add a warning in `_download_and_prepare` to tell the user that datasets with `test_dummy_data=False` are still experimental. | ## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
| 126 | text: Add experimental datasets
## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
Very cool to have add those datasets :)
I understand that making the dummy data for this case is not fun. I'm sure we'll be able to add them soon. For now it's still interesting to have them in the library, even if we can't test all the code with dummy data.
I like the idea of the `do_tests=False` class variable.
However it would be cool to test at least that we can load the module and instantiate the builder (only ignore the dummy data test for now). In that case a better name could be `test_dummy_data=False` or something like that.
If we want to be picky we can also add a warning in `_download_and_prepare` to tell the user that datasets with `test_dummy_data=False` are still experimental. | [
-0.08912689983844757,
0.30797091126441956,
-0.052750952541828156,
0.1090453714132309,
-0.05904292315244675,
0.08023907989263535,
0.16528934240341187,
0.5062692761421204,
0.044262874871492386,
0.12628233432769775,
0.12386460602283478,
0.14803136885166168,
-0.4739857614040375,
0.06922692060470581,
0.13959018886089325,
0.029932092875242233,
-0.044799692928791046,
0.019591063261032104,
-0.04801565408706665,
0.14077982306480408,
-0.0702618807554245,
-0.24478845298290253,
0.09744861721992493,
-0.12828414142131805,
0.21675632894039154,
-0.024713201448321342,
-0.3624502122402191,
0.04519384354352951,
-0.4182206094264984,
-0.535383939743042,
0.040345825254917145,
0.478636234998703,
0.14365701377391815,
0.5861287713050842,
-0.0001120546439778991,
-0.04685649275779724,
0.31414514780044556,
-0.20267167687416077,
-0.43661636114120483,
-0.17269136011600494,
-0.2843516170978546,
0.10007968544960022,
-0.10050539672374725,
-0.047691863030195236,
-0.015346504747867584,
-0.11366265267133713,
0.18628808856010437,
-0.41011136770248413,
0.0891767144203186,
0.20515787601470947,
0.20889097452163696,
0.2763679623603821,
-0.44005173444747925,
-0.21754489839076996,
0.548772394657135,
0.4789363741874695,
-0.45541295409202576,
0.1951228529214859,
0.34626802802085876,
0.06758076697587967,
-0.06108241528272629,
-0.08394715189933777,
0.03633560985326767,
0.05810349062085152,
0.1401950716972351,
0.14507323503494263,
-0.058875687420368195,
-0.13318350911140442,
-0.4341284930706024,
0.39859655499458313,
0.736149251461029,
-0.3012942373752594,
-0.38213443756103516,
-0.2066209614276886,
-0.23438577353954315,
-0.10308628529310226,
0.015031430870294571,
0.2294190675020218,
-0.18855084478855133,
0.08320683240890503,
-0.17650043964385986,
-0.3090584874153137,
-0.07744129002094269,
0.34946703910827637,
0.24391072988510132,
0.2418488711118698,
0.03631925955414772,
-0.030360884964466095,
0.09139417111873627,
-0.13062649965286255,
0.29308298230171204,
-0.5317019820213318,
-0.003185659646987915,
-0.02140531688928604,
0.2959432899951935,
-0.19342616200447083,
0.14427363872528076,
-0.3909388482570648,
0.5695538520812988,
0.2504015862941742,
0.11264894902706146,
0.055623531341552734,
-0.13457871973514557,
-0.07484345883131027,
0.03348442167043686,
0.3104439079761505,
0.09255501627922058,
0.327889621257782,
0.28452634811401367,
0.5701946020126343,
0.15666599571704865,
-0.026987500488758087,
-0.022468961775302887,
0.142631396651268,
-0.26261964440345764,
-0.04504558444023132,
0.2012849897146225,
-0.04231960326433182,
0.04460345208644867,
0.0396459624171257,
-0.03539562225341797,
-0.20149770379066467,
-0.05725409463047981,
0.23370957374572754,
-0.048999637365341187,
0.02612200938165188,
-0.015865033492445946,
0.29139918088912964,
0.11814288049936295,
-0.0405748225748539,
-0.13143455982208252,
0.24163493514060974,
-0.4253978431224823,
0.3861689865589142,
0.3113709092140198,
-0.17182175815105438,
0.15698052942752838,
-0.0739588662981987,
0.3608245253562927,
-0.005498334765434265,
0.15919749438762665,
0.17379184067249298,
0.3135761022567749,
-0.18832816183567047,
-0.20579932630062103,
0.22091250121593475,
-0.09903603792190552,
-0.1027107685804367,
-0.26148414611816406,
0.20715099573135376,
0.1701650321483612,
-0.21443086862564087,
0.08119694888591766,
0.13387653231620789,
-0.47259366512298584,
0.0934307724237442,
-0.3881807029247284,
0.2238992303609848,
-0.40803322196006775,
-0.13343501091003418,
0.23149138689041138,
0.013345150277018547,
-0.024431489408016205,
-0.13925997912883759,
0.13769228756427765,
0.5751650333404541,
-0.3501896262168884,
0.02755938470363617,
-0.3099704086780548,
0.14060445129871368,
0.023030593991279602,
0.09657226502895355,
-0.24252428114414215,
0.3289753198623657,
-0.26660460233688354,
0.22064398229122162,
0.25879234075546265,
-0.4465939700603485,
-0.22814935445785522,
0.09815919399261475,
-0.25708356499671936,
0.03697875142097473,
0.349136620759964,
-0.01647375151515007,
0.19898484647274017,
-0.276387095451355,
-0.24063768982887268,
0.05548806115984917,
-0.12341654300689697,
0.008771656081080437,
-0.43357139825820923,
-0.3685462772846222,
0.10595431178808212,
0.10522125661373138,
-0.016815315932035446,
0.007622130215167999,
-0.04126604646444321,
0.03916461393237114,
0.20938077569007874,
-0.20926669239997864,
0.22264228761196136,
-0.16074921190738678,
0.5308676362037659,
-0.05565859377384186,
-0.1873980164527893,
-0.023567134514451027,
-0.5958099961280823,
0.3364236354827881,
0.14087441563606262,
0.36323100328445435,
0.081687793135643,
0.006749097257852554,
-0.3878582715988159,
-0.1375410109758377,
-0.1589239239692688,
-0.3794783055782318,
0.06398416310548782,
0.21498741209506989,
0.10610184073448181,
-0.03483700379729271,
-0.19164207577705383,
-0.20620612800121307,
-0.0433773472905159,
0.12226851284503937,
-0.32369813323020935,
0.3380226492881775,
-0.10299208015203476,
-0.04879400506615639,
0.08779661357402802,
-0.19907838106155396,
-0.11675133556127548,
-0.3367433249950409,
0.14523440599441528,
0.20013827085494995,
0.06580536812543869,
0.17462342977523804,
0.6133249998092651,
0.47400128841400146,
-0.00556635856628418,
-0.31852054595947266,
0.4122188985347748,
0.010118091478943825,
0.05955766141414642,
0.06590617448091507,
-0.38839593529701233,
0.4618934392929077,
-0.09779398143291473,
0.05696674436330795,
-0.11384245753288269,
-0.14110340178012848,
0.168696328997612,
-0.18530377745628357,
-0.17278507351875305,
-0.11547492444515228,
0.31834062933921814,
0.39436182379722595,
0.10050871968269348,
-0.11509624123573303,
0.071923166513443,
-0.06226173788309097,
-0.08694222569465637,
-0.2317616492509842,
-0.0696929469704628,
0.12774798274040222,
-0.09562291949987411,
-0.09931948035955429,
0.09461581707000732,
0.22024090588092804,
0.7965775728225708,
0.15156298875808716,
0.2536288797855377,
0.01889587566256523,
0.0845494419336319,
-0.1861283928155899,
0.039604149758815765,
0.020675349980592728,
-0.07407789677381516,
0.16738659143447876,
0.19722880423069,
0.03648572415113449,
-0.010995350778102875,
-0.06752260029315948,
0.2102992981672287,
0.19336669147014618,
-0.1735382080078125,
-0.19638358056545258,
0.05378906428813934,
-0.030108440667390823,
-0.01937289908528328,
0.0348152220249176,
0.026190249249339104,
-0.2031954675912857,
0.19269534945487976,
-0.046556178480386734,
-0.2849704623222351,
0.07430436462163925,
-0.290583997964859,
0.44999027252197266,
-0.11824497580528259,
-0.16099724173545837,
-0.19388625025749207,
-0.004410139750689268,
0.015806792303919792,
0.15767064690589905,
0.26169243454933167,
0.13578474521636963,
0.5737968683242798,
-0.027611976489424706,
0.061463817954063416,
-0.6362988948822021,
-0.34236112236976624,
0.2677198648452759,
-0.08481930941343307,
0.542224645614624,
0.1784784346818924,
0.17747348546981812,
0.2781396508216858,
-0.4607299566268921,
0.16456657648086548,
-0.4076917767524719,
-0.340624064207077,
-0.13001954555511475,
0.07159251719713211,
-0.12116830050945282,
-0.11707042157649994,
-0.5886009931564331,
0.019823651760816574,
-0.2945108115673065,
0.11026663333177567,
0.04588605836033821,
0.008096378296613693,
0.029088716953992844,
0.2296459972858429,
0.13961352407932281,
-0.038989465683698654,
-0.37272515892982483,
-0.1233324334025383,
-0.45621493458747864,
0.34491702914237976,
-0.4026796519756317,
-0.0698183923959732,
-0.11587302386760712,
-0.24999192357063293,
-0.24728846549987793,
0.1664792150259018,
-0.5462136268615723,
-0.10636121034622192,
0.036403462290763855,
0.42266854643821716,
0.2537394165992737,
-0.03966908901929855,
0.32969987392425537,
0.024532416835427284,
-0.09484925866127014,
-0.12212322652339935,
-0.28201520442962646,
-0.13354867696762085,
0.2851088047027588,
0.32447585463523865,
0.04715476185083389,
0.19436931610107422,
0.29638421535491943,
0.9219228029251099,
0.13831403851509094,
-0.13414998352527618,
0.18526053428649902,
-0.07103367149829865,
0.33218252658843994,
-0.010005764663219452,
-0.21921055018901825,
0.09892041981220245,
0.030249647796154022,
-0.2112857550382614,
0.22100767493247986,
0.11104223877191544,
-0.1401398628950119,
0.020100176334381104,
0.2947104275226593,
0.01958819478750229,
-0.2258581817150116,
0.33425161242485046,
-0.3880448639392853,
0.1039583757519722,
-0.06692172586917877,
-0.3136610984802246,
-0.3295626640319824,
-0.2739184498786926,
0.13514037430286407,
0.07542555034160614,
0.13599248230457306,
-0.25325271487236023,
-0.5281211733818054,
0.4958699345588684,
-0.4665098190307617,
0.2905254364013672,
0.19093945622444153,
0.11413400620222092,
-0.05238481983542442,
-0.024497028440237045,
-0.12371248006820679,
0.04292314127087593,
0.3649303913116455,
-0.5748062133789062,
-0.1131138801574707,
0.10296714305877686,
0.12508924305438995,
-0.24512773752212524,
-0.09646055847406387,
-0.33095136284828186,
-0.045790839940309525,
-0.262462317943573,
0.20648209750652313,
-0.2442375123500824,
-0.10910429060459137,
0.2218582183122635,
-0.010222463868558407,
-0.015812870115041733,
-0.15651264786720276,
0.06405724585056305,
-0.277395099401474,
-0.08027670532464981,
-0.06448397785425186,
0.092020682990551,
-0.250247985124588,
-0.23672305047512054,
0.053741391748189926,
0.23589172959327698,
0.1937275528907776,
0.296542763710022,
-0.005914654582738876,
-0.059899166226387024,
0.2883763909339905,
0.2487984299659729,
0.32454612851142883,
-0.32178711891174316,
0.3747220039367676,
0.428814172744751,
-0.06131063774228096,
0.03288330137729645,
0.05321723222732544,
-0.09033332765102386,
0.34278732538223267,
0.42859888076782227,
0.19800782203674316,
-0.003591574728488922,
-0.3924694061279297,
0.06132487207651138,
-0.42267608642578125,
0.5339658856391907,
0.4009270668029785,
-0.2698943614959717,
0.01246708631515503,
-0.40369755029678345,
0.29301491379737854,
-0.04934554547071457,
-0.3369222581386566,
0.5084816217422485,
0.09125754982233047,
-0.34869489073753357,
0.35306107997894287,
-0.0189196839928627,
0.9314352869987488,
-0.15530022978782654,
0.21401597559452057,
0.2355194091796875,
0.0084427110850811,
0.21690194308757782,
-0.03216332942247391,
-0.08418912440538406,
-0.15902577340602875,
-0.05310579389333725,
0.021052753552794456,
-0.3091985285282135,
0.06894160062074661,
-0.022861868143081665,
-0.35477572679519653,
0.0412718802690506,
-0.014785006642341614,
0.09090198576450348,
0.19325387477874756,
0.5802162885665894,
-0.04502062499523163,
-0.17610490322113037,
-0.13997842371463776,
0.1553475707769394,
0.17866605520248413,
-0.09646539390087128,
-0.03201151639223099,
-0.09072278439998627,
-0.4717377722263336,
-0.03977758809924126,
-0.49384403228759766,
0.017966531217098236,
0.05931093171238899,
-0.1248832494020462,
0.055239029228687286,
-0.0794309601187706,
0.2820279002189636,
0.3388131260871887,
0.1513790488243103,
0.10940878093242645,
-0.19633857905864716,
-0.08300663530826569,
-0.3078349232673645,
0.0314703993499279,
0.09867504984140396,
-0.12992607057094574,
0.13088352978229523,
0.0873485580086708,
-0.2656063735485077,
0.10011638700962067,
0.058411575853824615,
-0.2826537787914276,
-0.3163701891899109,
-0.2726184129714966,
0.3141331672668457,
-0.6479935050010681,
0.08407415449619293,
0.05787963420152664,
-0.3270965814590454,
-0.11169660091400146,
0.12610383331775665,
0.3267565965652466,
-0.038441251963377,
0.07046766579151154,
0.32837554812431335,
-0.03234380483627319,
-0.09061409533023834,
0.03238895162940025,
-0.2915163040161133,
0.034960582852363586,
0.16730749607086182,
0.008881445974111557,
0.053564488887786865,
-0.18106740713119507,
0.4053036570549011,
0.2920035421848297,
-0.09369155764579773,
0.10803625732660294,
-0.2987609803676605,
-0.22209888696670532,
-0.03624648228287697,
0.16282330453395844,
0.5167626738548279,
-0.26551827788352966,
0.029570098966360092,
0.005917996168136597,
0.0001236218959093094,
0.23489630222320557,
-0.08028365671634674,
0.4671505391597748,
-0.43779256939888,
-0.0765361487865448,
-0.11764797568321228,
0.1701059639453888,
-0.35493892431259155,
0.14237375557422638,
-0.16041821241378784,
0.1627787947654724,
-0.08981170505285263,
-0.02310081571340561,
0.20628637075424194,
-0.26902827620506287,
0.06582999974489212,
-0.23742569983005524,
-0.4317944049835205,
-0.18259131908416748,
-0.20970767736434937,
0.1613975167274475,
0.12178023904561996,
-0.024356257170438766,
0.1089034304022789,
-0.039935290813446045,
0.3037398159503937,
-0.24098463356494904,
0.05286324396729469,
0.1281222403049469,
-0.158342182636261,
0.14450301229953766,
0.35431838035583496,
-0.08102964609861374,
-0.17336612939834595,
0.2253762185573578,
0.06561923027038574,
0.4152213931083679,
0.26090943813323975,
0.11304758489131927,
-0.09619537740945816,
-0.1606970876455307,
0.05730661377310753,
0.3975886106491089,
0.5106284618377686,
0.3354409337043762,
0.31807416677474976,
0.022936321794986725,
-0.043355248868465424,
0.11724031716585159,
0.2799074351787567,
0.3784191608428955,
-0.3162820339202881,
0.22386588156223297,
0.11471179872751236,
0.13899371027946472,
0.02452840656042099,
-0.04534127935767174,
0.057124510407447815,
0.11208928376436234,
0.2781543731689453,
0.285657674074173,
0.24536943435668945,
-0.11130927503108978,
0.13202211260795593,
-0.0721113309264183,
0.4510566294193268,
0.04254654049873352,
0.07289682328701019,
-0.14397352933883667,
-0.39127495884895325,
0.0006239227950572968,
0.18255719542503357,
-0.09356997907161713,
0.030667133629322052,
-0.300487220287323,
0.34214818477630615,
0.3746824860572815,
-0.2722555696964264,
0.019729305058717728,
0.07423382252454758,
0.10601112246513367,
0.2411614954471588,
0.2376180738210678,
0.22324013710021973,
0.25734657049179077,
0.13381057977676392,
0.2793538272380829,
-0.02137712389230728,
0.21945178508758545,
0.05979722738265991,
-0.21477042138576508,
0.3991807699203491,
-0.1633911281824112,
-0.27680933475494385,
-0.22383642196655273,
-0.31483227014541626,
-0.1102503091096878,
0.01592278853058815,
-0.3516942262649536,
0.1946866810321808,
-0.030281998217105865,
-0.07856473326683044,
-0.016362814232707024,
0.31227684020996094,
0.15232278406620026,
0.25826698541641235,
-0.42224448919296265,
0.0738086849451065,
-0.16169698536396027,
-0.06600850820541382,
0.04435539245605469,
0.35351836681365967,
0.22265620529651642,
0.011196162551641464,
-0.251780241727829,
0.06750862300395966,
-0.021524209529161453,
-0.020356249064207077,
0.03745973855257034,
0.2042129933834076,
-0.05535684525966644,
-0.13297070562839508,
0.20165224373340607,
0.24383798241615295,
-0.167025625705719,
-0.04075237736105919,
0.2189589887857437,
-0.14510312676429749,
-0.21843723952770233,
-0.0566936656832695,
0.06974949687719345,
-0.11753431707620621,
0.23496422171592712,
-0.08771664649248123,
-0.27811941504478455,
0.0420394204556942,
0.3725317716598511,
-0.47483956813812256,
0.1272343099117279,
0.06818727403879166,
0.1177905946969986,
0.02931451052427292,
0.24475990235805511,
0.28835079073905945,
0.07634566724300385,
-0.4706334173679352,
-0.24536548554897308,
-0.5460366606712341,
0.1556929349899292,
-0.14181600511074066,
-0.31484362483024597,
-0.09761796146631241,
0.2937474846839905,
0.489872008562088,
0.31171977519989014,
-0.2718745470046997,
-0.2595081627368927,
-0.3107231855392456,
0.31486937403678894,
-0.48742541670799255,
-0.2086997777223587,
0.007011722773313522,
0.2812218964099884,
0.15608133375644684,
-0.149346262216568,
-0.024067994207143784,
-0.04900764301419258,
-0.02778606303036213,
-0.010501369833946228,
0.09474553167819977,
0.3183191418647766,
-0.013735376298427582,
0.2917039394378662,
-0.14120356738567352,
0.4730288088321686,
-0.04849740490317345,
-0.3492797911167145,
-0.4949720501899719,
-0.0566706620156765,
0.11607585847377777,
-0.1314014494419098,
-0.19424109160900116,
0.33586496114730835,
-0.22349923849105835,
-0.12037026882171631,
-0.2367863804101944,
-0.13049209117889404,
0.12921379506587982,
0.1306365579366684,
-0.21441496908664703,
0.052985623478889465,
-0.08415020257234573,
0.12054082751274109,
0.1831812858581543,
0.25661593675613403,
-0.29368332028388977,
0.007690988481044769,
-0.18069344758987427,
-0.19907289743423462,
0.3811715543270111,
-0.20592494308948517,
-0.23436972498893738,
0.23476216197013855,
0.038474537432193756,
-0.16749808192253113,
-0.03207822144031525,
-0.4591895639896393,
0.1410013735294342,
0.22735382616519928,
-0.05100364238023758,
-0.044554706662893295,
0.09383055567741394,
0.34861046075820923,
0.02118362858891487,
-0.015246734023094177,
0.5602352619171143,
-0.08841804414987564,
-0.02055944688618183,
-0.05274396017193794,
-0.31102317571640015
] |
https://github.com/huggingface/datasets/pull/235 | Add experimental datasets | Yeah I really like the idea of a partial test.
My main concern with the class variable is visibility, but having a warning would help with that. Maybe even get the user to agree > "are you sure you want to go ahead?" | ## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
| 43 | text: Add experimental datasets
## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
Yeah I really like the idea of a partial test.
My main concern with the class variable is visibility, but having a warning would help with that. Maybe even get the user to agree > "are you sure you want to go ahead?" | [
-0.08912689983844757,
0.30797091126441956,
-0.052750952541828156,
0.1090453714132309,
-0.05904292315244675,
0.08023907989263535,
0.16528934240341187,
0.5062692761421204,
0.044262874871492386,
0.12628233432769775,
0.12386460602283478,
0.14803136885166168,
-0.4739857614040375,
0.06922692060470581,
0.13959018886089325,
0.029932092875242233,
-0.044799692928791046,
0.019591063261032104,
-0.04801565408706665,
0.14077982306480408,
-0.0702618807554245,
-0.24478845298290253,
0.09744861721992493,
-0.12828414142131805,
0.21675632894039154,
-0.024713201448321342,
-0.3624502122402191,
0.04519384354352951,
-0.4182206094264984,
-0.535383939743042,
0.040345825254917145,
0.478636234998703,
0.14365701377391815,
0.5861287713050842,
-0.0001120546439778991,
-0.04685649275779724,
0.31414514780044556,
-0.20267167687416077,
-0.43661636114120483,
-0.17269136011600494,
-0.2843516170978546,
0.10007968544960022,
-0.10050539672374725,
-0.047691863030195236,
-0.015346504747867584,
-0.11366265267133713,
0.18628808856010437,
-0.41011136770248413,
0.0891767144203186,
0.20515787601470947,
0.20889097452163696,
0.2763679623603821,
-0.44005173444747925,
-0.21754489839076996,
0.548772394657135,
0.4789363741874695,
-0.45541295409202576,
0.1951228529214859,
0.34626802802085876,
0.06758076697587967,
-0.06108241528272629,
-0.08394715189933777,
0.03633560985326767,
0.05810349062085152,
0.1401950716972351,
0.14507323503494263,
-0.058875687420368195,
-0.13318350911140442,
-0.4341284930706024,
0.39859655499458313,
0.736149251461029,
-0.3012942373752594,
-0.38213443756103516,
-0.2066209614276886,
-0.23438577353954315,
-0.10308628529310226,
0.015031430870294571,
0.2294190675020218,
-0.18855084478855133,
0.08320683240890503,
-0.17650043964385986,
-0.3090584874153137,
-0.07744129002094269,
0.34946703910827637,
0.24391072988510132,
0.2418488711118698,
0.03631925955414772,
-0.030360884964466095,
0.09139417111873627,
-0.13062649965286255,
0.29308298230171204,
-0.5317019820213318,
-0.003185659646987915,
-0.02140531688928604,
0.2959432899951935,
-0.19342616200447083,
0.14427363872528076,
-0.3909388482570648,
0.5695538520812988,
0.2504015862941742,
0.11264894902706146,
0.055623531341552734,
-0.13457871973514557,
-0.07484345883131027,
0.03348442167043686,
0.3104439079761505,
0.09255501627922058,
0.327889621257782,
0.28452634811401367,
0.5701946020126343,
0.15666599571704865,
-0.026987500488758087,
-0.022468961775302887,
0.142631396651268,
-0.26261964440345764,
-0.04504558444023132,
0.2012849897146225,
-0.04231960326433182,
0.04460345208644867,
0.0396459624171257,
-0.03539562225341797,
-0.20149770379066467,
-0.05725409463047981,
0.23370957374572754,
-0.048999637365341187,
0.02612200938165188,
-0.015865033492445946,
0.29139918088912964,
0.11814288049936295,
-0.0405748225748539,
-0.13143455982208252,
0.24163493514060974,
-0.4253978431224823,
0.3861689865589142,
0.3113709092140198,
-0.17182175815105438,
0.15698052942752838,
-0.0739588662981987,
0.3608245253562927,
-0.005498334765434265,
0.15919749438762665,
0.17379184067249298,
0.3135761022567749,
-0.18832816183567047,
-0.20579932630062103,
0.22091250121593475,
-0.09903603792190552,
-0.1027107685804367,
-0.26148414611816406,
0.20715099573135376,
0.1701650321483612,
-0.21443086862564087,
0.08119694888591766,
0.13387653231620789,
-0.47259366512298584,
0.0934307724237442,
-0.3881807029247284,
0.2238992303609848,
-0.40803322196006775,
-0.13343501091003418,
0.23149138689041138,
0.013345150277018547,
-0.024431489408016205,
-0.13925997912883759,
0.13769228756427765,
0.5751650333404541,
-0.3501896262168884,
0.02755938470363617,
-0.3099704086780548,
0.14060445129871368,
0.023030593991279602,
0.09657226502895355,
-0.24252428114414215,
0.3289753198623657,
-0.26660460233688354,
0.22064398229122162,
0.25879234075546265,
-0.4465939700603485,
-0.22814935445785522,
0.09815919399261475,
-0.25708356499671936,
0.03697875142097473,
0.349136620759964,
-0.01647375151515007,
0.19898484647274017,
-0.276387095451355,
-0.24063768982887268,
0.05548806115984917,
-0.12341654300689697,
0.008771656081080437,
-0.43357139825820923,
-0.3685462772846222,
0.10595431178808212,
0.10522125661373138,
-0.016815315932035446,
0.007622130215167999,
-0.04126604646444321,
0.03916461393237114,
0.20938077569007874,
-0.20926669239997864,
0.22264228761196136,
-0.16074921190738678,
0.5308676362037659,
-0.05565859377384186,
-0.1873980164527893,
-0.023567134514451027,
-0.5958099961280823,
0.3364236354827881,
0.14087441563606262,
0.36323100328445435,
0.081687793135643,
0.006749097257852554,
-0.3878582715988159,
-0.1375410109758377,
-0.1589239239692688,
-0.3794783055782318,
0.06398416310548782,
0.21498741209506989,
0.10610184073448181,
-0.03483700379729271,
-0.19164207577705383,
-0.20620612800121307,
-0.0433773472905159,
0.12226851284503937,
-0.32369813323020935,
0.3380226492881775,
-0.10299208015203476,
-0.04879400506615639,
0.08779661357402802,
-0.19907838106155396,
-0.11675133556127548,
-0.3367433249950409,
0.14523440599441528,
0.20013827085494995,
0.06580536812543869,
0.17462342977523804,
0.6133249998092651,
0.47400128841400146,
-0.00556635856628418,
-0.31852054595947266,
0.4122188985347748,
0.010118091478943825,
0.05955766141414642,
0.06590617448091507,
-0.38839593529701233,
0.4618934392929077,
-0.09779398143291473,
0.05696674436330795,
-0.11384245753288269,
-0.14110340178012848,
0.168696328997612,
-0.18530377745628357,
-0.17278507351875305,
-0.11547492444515228,
0.31834062933921814,
0.39436182379722595,
0.10050871968269348,
-0.11509624123573303,
0.071923166513443,
-0.06226173788309097,
-0.08694222569465637,
-0.2317616492509842,
-0.0696929469704628,
0.12774798274040222,
-0.09562291949987411,
-0.09931948035955429,
0.09461581707000732,
0.22024090588092804,
0.7965775728225708,
0.15156298875808716,
0.2536288797855377,
0.01889587566256523,
0.0845494419336319,
-0.1861283928155899,
0.039604149758815765,
0.020675349980592728,
-0.07407789677381516,
0.16738659143447876,
0.19722880423069,
0.03648572415113449,
-0.010995350778102875,
-0.06752260029315948,
0.2102992981672287,
0.19336669147014618,
-0.1735382080078125,
-0.19638358056545258,
0.05378906428813934,
-0.030108440667390823,
-0.01937289908528328,
0.0348152220249176,
0.026190249249339104,
-0.2031954675912857,
0.19269534945487976,
-0.046556178480386734,
-0.2849704623222351,
0.07430436462163925,
-0.290583997964859,
0.44999027252197266,
-0.11824497580528259,
-0.16099724173545837,
-0.19388625025749207,
-0.004410139750689268,
0.015806792303919792,
0.15767064690589905,
0.26169243454933167,
0.13578474521636963,
0.5737968683242798,
-0.027611976489424706,
0.061463817954063416,
-0.6362988948822021,
-0.34236112236976624,
0.2677198648452759,
-0.08481930941343307,
0.542224645614624,
0.1784784346818924,
0.17747348546981812,
0.2781396508216858,
-0.4607299566268921,
0.16456657648086548,
-0.4076917767524719,
-0.340624064207077,
-0.13001954555511475,
0.07159251719713211,
-0.12116830050945282,
-0.11707042157649994,
-0.5886009931564331,
0.019823651760816574,
-0.2945108115673065,
0.11026663333177567,
0.04588605836033821,
0.008096378296613693,
0.029088716953992844,
0.2296459972858429,
0.13961352407932281,
-0.038989465683698654,
-0.37272515892982483,
-0.1233324334025383,
-0.45621493458747864,
0.34491702914237976,
-0.4026796519756317,
-0.0698183923959732,
-0.11587302386760712,
-0.24999192357063293,
-0.24728846549987793,
0.1664792150259018,
-0.5462136268615723,
-0.10636121034622192,
0.036403462290763855,
0.42266854643821716,
0.2537394165992737,
-0.03966908901929855,
0.32969987392425537,
0.024532416835427284,
-0.09484925866127014,
-0.12212322652339935,
-0.28201520442962646,
-0.13354867696762085,
0.2851088047027588,
0.32447585463523865,
0.04715476185083389,
0.19436931610107422,
0.29638421535491943,
0.9219228029251099,
0.13831403851509094,
-0.13414998352527618,
0.18526053428649902,
-0.07103367149829865,
0.33218252658843994,
-0.010005764663219452,
-0.21921055018901825,
0.09892041981220245,
0.030249647796154022,
-0.2112857550382614,
0.22100767493247986,
0.11104223877191544,
-0.1401398628950119,
0.020100176334381104,
0.2947104275226593,
0.01958819478750229,
-0.2258581817150116,
0.33425161242485046,
-0.3880448639392853,
0.1039583757519722,
-0.06692172586917877,
-0.3136610984802246,
-0.3295626640319824,
-0.2739184498786926,
0.13514037430286407,
0.07542555034160614,
0.13599248230457306,
-0.25325271487236023,
-0.5281211733818054,
0.4958699345588684,
-0.4665098190307617,
0.2905254364013672,
0.19093945622444153,
0.11413400620222092,
-0.05238481983542442,
-0.024497028440237045,
-0.12371248006820679,
0.04292314127087593,
0.3649303913116455,
-0.5748062133789062,
-0.1131138801574707,
0.10296714305877686,
0.12508924305438995,
-0.24512773752212524,
-0.09646055847406387,
-0.33095136284828186,
-0.045790839940309525,
-0.262462317943573,
0.20648209750652313,
-0.2442375123500824,
-0.10910429060459137,
0.2218582183122635,
-0.010222463868558407,
-0.015812870115041733,
-0.15651264786720276,
0.06405724585056305,
-0.277395099401474,
-0.08027670532464981,
-0.06448397785425186,
0.092020682990551,
-0.250247985124588,
-0.23672305047512054,
0.053741391748189926,
0.23589172959327698,
0.1937275528907776,
0.296542763710022,
-0.005914654582738876,
-0.059899166226387024,
0.2883763909339905,
0.2487984299659729,
0.32454612851142883,
-0.32178711891174316,
0.3747220039367676,
0.428814172744751,
-0.06131063774228096,
0.03288330137729645,
0.05321723222732544,
-0.09033332765102386,
0.34278732538223267,
0.42859888076782227,
0.19800782203674316,
-0.003591574728488922,
-0.3924694061279297,
0.06132487207651138,
-0.42267608642578125,
0.5339658856391907,
0.4009270668029785,
-0.2698943614959717,
0.01246708631515503,
-0.40369755029678345,
0.29301491379737854,
-0.04934554547071457,
-0.3369222581386566,
0.5084816217422485,
0.09125754982233047,
-0.34869489073753357,
0.35306107997894287,
-0.0189196839928627,
0.9314352869987488,
-0.15530022978782654,
0.21401597559452057,
0.2355194091796875,
0.0084427110850811,
0.21690194308757782,
-0.03216332942247391,
-0.08418912440538406,
-0.15902577340602875,
-0.05310579389333725,
0.021052753552794456,
-0.3091985285282135,
0.06894160062074661,
-0.022861868143081665,
-0.35477572679519653,
0.0412718802690506,
-0.014785006642341614,
0.09090198576450348,
0.19325387477874756,
0.5802162885665894,
-0.04502062499523163,
-0.17610490322113037,
-0.13997842371463776,
0.1553475707769394,
0.17866605520248413,
-0.09646539390087128,
-0.03201151639223099,
-0.09072278439998627,
-0.4717377722263336,
-0.03977758809924126,
-0.49384403228759766,
0.017966531217098236,
0.05931093171238899,
-0.1248832494020462,
0.055239029228687286,
-0.0794309601187706,
0.2820279002189636,
0.3388131260871887,
0.1513790488243103,
0.10940878093242645,
-0.19633857905864716,
-0.08300663530826569,
-0.3078349232673645,
0.0314703993499279,
0.09867504984140396,
-0.12992607057094574,
0.13088352978229523,
0.0873485580086708,
-0.2656063735485077,
0.10011638700962067,
0.058411575853824615,
-0.2826537787914276,
-0.3163701891899109,
-0.2726184129714966,
0.3141331672668457,
-0.6479935050010681,
0.08407415449619293,
0.05787963420152664,
-0.3270965814590454,
-0.11169660091400146,
0.12610383331775665,
0.3267565965652466,
-0.038441251963377,
0.07046766579151154,
0.32837554812431335,
-0.03234380483627319,
-0.09061409533023834,
0.03238895162940025,
-0.2915163040161133,
0.034960582852363586,
0.16730749607086182,
0.008881445974111557,
0.053564488887786865,
-0.18106740713119507,
0.4053036570549011,
0.2920035421848297,
-0.09369155764579773,
0.10803625732660294,
-0.2987609803676605,
-0.22209888696670532,
-0.03624648228287697,
0.16282330453395844,
0.5167626738548279,
-0.26551827788352966,
0.029570098966360092,
0.005917996168136597,
0.0001236218959093094,
0.23489630222320557,
-0.08028365671634674,
0.4671505391597748,
-0.43779256939888,
-0.0765361487865448,
-0.11764797568321228,
0.1701059639453888,
-0.35493892431259155,
0.14237375557422638,
-0.16041821241378784,
0.1627787947654724,
-0.08981170505285263,
-0.02310081571340561,
0.20628637075424194,
-0.26902827620506287,
0.06582999974489212,
-0.23742569983005524,
-0.4317944049835205,
-0.18259131908416748,
-0.20970767736434937,
0.1613975167274475,
0.12178023904561996,
-0.024356257170438766,
0.1089034304022789,
-0.039935290813446045,
0.3037398159503937,
-0.24098463356494904,
0.05286324396729469,
0.1281222403049469,
-0.158342182636261,
0.14450301229953766,
0.35431838035583496,
-0.08102964609861374,
-0.17336612939834595,
0.2253762185573578,
0.06561923027038574,
0.4152213931083679,
0.26090943813323975,
0.11304758489131927,
-0.09619537740945816,
-0.1606970876455307,
0.05730661377310753,
0.3975886106491089,
0.5106284618377686,
0.3354409337043762,
0.31807416677474976,
0.022936321794986725,
-0.043355248868465424,
0.11724031716585159,
0.2799074351787567,
0.3784191608428955,
-0.3162820339202881,
0.22386588156223297,
0.11471179872751236,
0.13899371027946472,
0.02452840656042099,
-0.04534127935767174,
0.057124510407447815,
0.11208928376436234,
0.2781543731689453,
0.285657674074173,
0.24536943435668945,
-0.11130927503108978,
0.13202211260795593,
-0.0721113309264183,
0.4510566294193268,
0.04254654049873352,
0.07289682328701019,
-0.14397352933883667,
-0.39127495884895325,
0.0006239227950572968,
0.18255719542503357,
-0.09356997907161713,
0.030667133629322052,
-0.300487220287323,
0.34214818477630615,
0.3746824860572815,
-0.2722555696964264,
0.019729305058717728,
0.07423382252454758,
0.10601112246513367,
0.2411614954471588,
0.2376180738210678,
0.22324013710021973,
0.25734657049179077,
0.13381057977676392,
0.2793538272380829,
-0.02137712389230728,
0.21945178508758545,
0.05979722738265991,
-0.21477042138576508,
0.3991807699203491,
-0.1633911281824112,
-0.27680933475494385,
-0.22383642196655273,
-0.31483227014541626,
-0.1102503091096878,
0.01592278853058815,
-0.3516942262649536,
0.1946866810321808,
-0.030281998217105865,
-0.07856473326683044,
-0.016362814232707024,
0.31227684020996094,
0.15232278406620026,
0.25826698541641235,
-0.42224448919296265,
0.0738086849451065,
-0.16169698536396027,
-0.06600850820541382,
0.04435539245605469,
0.35351836681365967,
0.22265620529651642,
0.011196162551641464,
-0.251780241727829,
0.06750862300395966,
-0.021524209529161453,
-0.020356249064207077,
0.03745973855257034,
0.2042129933834076,
-0.05535684525966644,
-0.13297070562839508,
0.20165224373340607,
0.24383798241615295,
-0.167025625705719,
-0.04075237736105919,
0.2189589887857437,
-0.14510312676429749,
-0.21843723952770233,
-0.0566936656832695,
0.06974949687719345,
-0.11753431707620621,
0.23496422171592712,
-0.08771664649248123,
-0.27811941504478455,
0.0420394204556942,
0.3725317716598511,
-0.47483956813812256,
0.1272343099117279,
0.06818727403879166,
0.1177905946969986,
0.02931451052427292,
0.24475990235805511,
0.28835079073905945,
0.07634566724300385,
-0.4706334173679352,
-0.24536548554897308,
-0.5460366606712341,
0.1556929349899292,
-0.14181600511074066,
-0.31484362483024597,
-0.09761796146631241,
0.2937474846839905,
0.489872008562088,
0.31171977519989014,
-0.2718745470046997,
-0.2595081627368927,
-0.3107231855392456,
0.31486937403678894,
-0.48742541670799255,
-0.2086997777223587,
0.007011722773313522,
0.2812218964099884,
0.15608133375644684,
-0.149346262216568,
-0.024067994207143784,
-0.04900764301419258,
-0.02778606303036213,
-0.010501369833946228,
0.09474553167819977,
0.3183191418647766,
-0.013735376298427582,
0.2917039394378662,
-0.14120356738567352,
0.4730288088321686,
-0.04849740490317345,
-0.3492797911167145,
-0.4949720501899719,
-0.0566706620156765,
0.11607585847377777,
-0.1314014494419098,
-0.19424109160900116,
0.33586496114730835,
-0.22349923849105835,
-0.12037026882171631,
-0.2367863804101944,
-0.13049209117889404,
0.12921379506587982,
0.1306365579366684,
-0.21441496908664703,
0.052985623478889465,
-0.08415020257234573,
0.12054082751274109,
0.1831812858581543,
0.25661593675613403,
-0.29368332028388977,
0.007690988481044769,
-0.18069344758987427,
-0.19907289743423462,
0.3811715543270111,
-0.20592494308948517,
-0.23436972498893738,
0.23476216197013855,
0.038474537432193756,
-0.16749808192253113,
-0.03207822144031525,
-0.4591895639896393,
0.1410013735294342,
0.22735382616519928,
-0.05100364238023758,
-0.044554706662893295,
0.09383055567741394,
0.34861046075820923,
0.02118362858891487,
-0.015246734023094177,
0.5602352619171143,
-0.08841804414987564,
-0.02055944688618183,
-0.05274396017193794,
-0.31102317571640015
] |
https://github.com/huggingface/datasets/pull/235 | Add experimental datasets | > Very cool to have add those datasets :)
> I understand that making the dummy data for this case is not fun. I'm sure we'll be able to add them soon. For now it's still interesting to have them in the library, even if we can't test all the code with dummy data.
>
> I like the idea of the `do_tests=False` class variable.
> However it would be cool to test at least that we can load the module and instantiate the builder (only ignore the dummy data test for now). In that case a better name could be `test_dummy_data=False` or something like that.
>
> If we want to be picky we can also add a warning in `_download_and_prepare` to tell the user that datasets with `test_dummy_data=False` are still experimental.
`test_dummy_data=False` sounds good to me! | ## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
| 138 | text: Add experimental datasets
## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
> Very cool to have add those datasets :)
> I understand that making the dummy data for this case is not fun. I'm sure we'll be able to add them soon. For now it's still interesting to have them in the library, even if we can't test all the code with dummy data.
>
> I like the idea of the `do_tests=False` class variable.
> However it would be cool to test at least that we can load the module and instantiate the builder (only ignore the dummy data test for now). In that case a better name could be `test_dummy_data=False` or something like that.
>
> If we want to be picky we can also add a warning in `_download_and_prepare` to tell the user that datasets with `test_dummy_data=False` are still experimental.
`test_dummy_data=False` sounds good to me! | [
-0.08912689983844757,
0.30797091126441956,
-0.052750952541828156,
0.1090453714132309,
-0.05904292315244675,
0.08023907989263535,
0.16528934240341187,
0.5062692761421204,
0.044262874871492386,
0.12628233432769775,
0.12386460602283478,
0.14803136885166168,
-0.4739857614040375,
0.06922692060470581,
0.13959018886089325,
0.029932092875242233,
-0.044799692928791046,
0.019591063261032104,
-0.04801565408706665,
0.14077982306480408,
-0.0702618807554245,
-0.24478845298290253,
0.09744861721992493,
-0.12828414142131805,
0.21675632894039154,
-0.024713201448321342,
-0.3624502122402191,
0.04519384354352951,
-0.4182206094264984,
-0.535383939743042,
0.040345825254917145,
0.478636234998703,
0.14365701377391815,
0.5861287713050842,
-0.0001120546439778991,
-0.04685649275779724,
0.31414514780044556,
-0.20267167687416077,
-0.43661636114120483,
-0.17269136011600494,
-0.2843516170978546,
0.10007968544960022,
-0.10050539672374725,
-0.047691863030195236,
-0.015346504747867584,
-0.11366265267133713,
0.18628808856010437,
-0.41011136770248413,
0.0891767144203186,
0.20515787601470947,
0.20889097452163696,
0.2763679623603821,
-0.44005173444747925,
-0.21754489839076996,
0.548772394657135,
0.4789363741874695,
-0.45541295409202576,
0.1951228529214859,
0.34626802802085876,
0.06758076697587967,
-0.06108241528272629,
-0.08394715189933777,
0.03633560985326767,
0.05810349062085152,
0.1401950716972351,
0.14507323503494263,
-0.058875687420368195,
-0.13318350911140442,
-0.4341284930706024,
0.39859655499458313,
0.736149251461029,
-0.3012942373752594,
-0.38213443756103516,
-0.2066209614276886,
-0.23438577353954315,
-0.10308628529310226,
0.015031430870294571,
0.2294190675020218,
-0.18855084478855133,
0.08320683240890503,
-0.17650043964385986,
-0.3090584874153137,
-0.07744129002094269,
0.34946703910827637,
0.24391072988510132,
0.2418488711118698,
0.03631925955414772,
-0.030360884964466095,
0.09139417111873627,
-0.13062649965286255,
0.29308298230171204,
-0.5317019820213318,
-0.003185659646987915,
-0.02140531688928604,
0.2959432899951935,
-0.19342616200447083,
0.14427363872528076,
-0.3909388482570648,
0.5695538520812988,
0.2504015862941742,
0.11264894902706146,
0.055623531341552734,
-0.13457871973514557,
-0.07484345883131027,
0.03348442167043686,
0.3104439079761505,
0.09255501627922058,
0.327889621257782,
0.28452634811401367,
0.5701946020126343,
0.15666599571704865,
-0.026987500488758087,
-0.022468961775302887,
0.142631396651268,
-0.26261964440345764,
-0.04504558444023132,
0.2012849897146225,
-0.04231960326433182,
0.04460345208644867,
0.0396459624171257,
-0.03539562225341797,
-0.20149770379066467,
-0.05725409463047981,
0.23370957374572754,
-0.048999637365341187,
0.02612200938165188,
-0.015865033492445946,
0.29139918088912964,
0.11814288049936295,
-0.0405748225748539,
-0.13143455982208252,
0.24163493514060974,
-0.4253978431224823,
0.3861689865589142,
0.3113709092140198,
-0.17182175815105438,
0.15698052942752838,
-0.0739588662981987,
0.3608245253562927,
-0.005498334765434265,
0.15919749438762665,
0.17379184067249298,
0.3135761022567749,
-0.18832816183567047,
-0.20579932630062103,
0.22091250121593475,
-0.09903603792190552,
-0.1027107685804367,
-0.26148414611816406,
0.20715099573135376,
0.1701650321483612,
-0.21443086862564087,
0.08119694888591766,
0.13387653231620789,
-0.47259366512298584,
0.0934307724237442,
-0.3881807029247284,
0.2238992303609848,
-0.40803322196006775,
-0.13343501091003418,
0.23149138689041138,
0.013345150277018547,
-0.024431489408016205,
-0.13925997912883759,
0.13769228756427765,
0.5751650333404541,
-0.3501896262168884,
0.02755938470363617,
-0.3099704086780548,
0.14060445129871368,
0.023030593991279602,
0.09657226502895355,
-0.24252428114414215,
0.3289753198623657,
-0.26660460233688354,
0.22064398229122162,
0.25879234075546265,
-0.4465939700603485,
-0.22814935445785522,
0.09815919399261475,
-0.25708356499671936,
0.03697875142097473,
0.349136620759964,
-0.01647375151515007,
0.19898484647274017,
-0.276387095451355,
-0.24063768982887268,
0.05548806115984917,
-0.12341654300689697,
0.008771656081080437,
-0.43357139825820923,
-0.3685462772846222,
0.10595431178808212,
0.10522125661373138,
-0.016815315932035446,
0.007622130215167999,
-0.04126604646444321,
0.03916461393237114,
0.20938077569007874,
-0.20926669239997864,
0.22264228761196136,
-0.16074921190738678,
0.5308676362037659,
-0.05565859377384186,
-0.1873980164527893,
-0.023567134514451027,
-0.5958099961280823,
0.3364236354827881,
0.14087441563606262,
0.36323100328445435,
0.081687793135643,
0.006749097257852554,
-0.3878582715988159,
-0.1375410109758377,
-0.1589239239692688,
-0.3794783055782318,
0.06398416310548782,
0.21498741209506989,
0.10610184073448181,
-0.03483700379729271,
-0.19164207577705383,
-0.20620612800121307,
-0.0433773472905159,
0.12226851284503937,
-0.32369813323020935,
0.3380226492881775,
-0.10299208015203476,
-0.04879400506615639,
0.08779661357402802,
-0.19907838106155396,
-0.11675133556127548,
-0.3367433249950409,
0.14523440599441528,
0.20013827085494995,
0.06580536812543869,
0.17462342977523804,
0.6133249998092651,
0.47400128841400146,
-0.00556635856628418,
-0.31852054595947266,
0.4122188985347748,
0.010118091478943825,
0.05955766141414642,
0.06590617448091507,
-0.38839593529701233,
0.4618934392929077,
-0.09779398143291473,
0.05696674436330795,
-0.11384245753288269,
-0.14110340178012848,
0.168696328997612,
-0.18530377745628357,
-0.17278507351875305,
-0.11547492444515228,
0.31834062933921814,
0.39436182379722595,
0.10050871968269348,
-0.11509624123573303,
0.071923166513443,
-0.06226173788309097,
-0.08694222569465637,
-0.2317616492509842,
-0.0696929469704628,
0.12774798274040222,
-0.09562291949987411,
-0.09931948035955429,
0.09461581707000732,
0.22024090588092804,
0.7965775728225708,
0.15156298875808716,
0.2536288797855377,
0.01889587566256523,
0.0845494419336319,
-0.1861283928155899,
0.039604149758815765,
0.020675349980592728,
-0.07407789677381516,
0.16738659143447876,
0.19722880423069,
0.03648572415113449,
-0.010995350778102875,
-0.06752260029315948,
0.2102992981672287,
0.19336669147014618,
-0.1735382080078125,
-0.19638358056545258,
0.05378906428813934,
-0.030108440667390823,
-0.01937289908528328,
0.0348152220249176,
0.026190249249339104,
-0.2031954675912857,
0.19269534945487976,
-0.046556178480386734,
-0.2849704623222351,
0.07430436462163925,
-0.290583997964859,
0.44999027252197266,
-0.11824497580528259,
-0.16099724173545837,
-0.19388625025749207,
-0.004410139750689268,
0.015806792303919792,
0.15767064690589905,
0.26169243454933167,
0.13578474521636963,
0.5737968683242798,
-0.027611976489424706,
0.061463817954063416,
-0.6362988948822021,
-0.34236112236976624,
0.2677198648452759,
-0.08481930941343307,
0.542224645614624,
0.1784784346818924,
0.17747348546981812,
0.2781396508216858,
-0.4607299566268921,
0.16456657648086548,
-0.4076917767524719,
-0.340624064207077,
-0.13001954555511475,
0.07159251719713211,
-0.12116830050945282,
-0.11707042157649994,
-0.5886009931564331,
0.019823651760816574,
-0.2945108115673065,
0.11026663333177567,
0.04588605836033821,
0.008096378296613693,
0.029088716953992844,
0.2296459972858429,
0.13961352407932281,
-0.038989465683698654,
-0.37272515892982483,
-0.1233324334025383,
-0.45621493458747864,
0.34491702914237976,
-0.4026796519756317,
-0.0698183923959732,
-0.11587302386760712,
-0.24999192357063293,
-0.24728846549987793,
0.1664792150259018,
-0.5462136268615723,
-0.10636121034622192,
0.036403462290763855,
0.42266854643821716,
0.2537394165992737,
-0.03966908901929855,
0.32969987392425537,
0.024532416835427284,
-0.09484925866127014,
-0.12212322652339935,
-0.28201520442962646,
-0.13354867696762085,
0.2851088047027588,
0.32447585463523865,
0.04715476185083389,
0.19436931610107422,
0.29638421535491943,
0.9219228029251099,
0.13831403851509094,
-0.13414998352527618,
0.18526053428649902,
-0.07103367149829865,
0.33218252658843994,
-0.010005764663219452,
-0.21921055018901825,
0.09892041981220245,
0.030249647796154022,
-0.2112857550382614,
0.22100767493247986,
0.11104223877191544,
-0.1401398628950119,
0.020100176334381104,
0.2947104275226593,
0.01958819478750229,
-0.2258581817150116,
0.33425161242485046,
-0.3880448639392853,
0.1039583757519722,
-0.06692172586917877,
-0.3136610984802246,
-0.3295626640319824,
-0.2739184498786926,
0.13514037430286407,
0.07542555034160614,
0.13599248230457306,
-0.25325271487236023,
-0.5281211733818054,
0.4958699345588684,
-0.4665098190307617,
0.2905254364013672,
0.19093945622444153,
0.11413400620222092,
-0.05238481983542442,
-0.024497028440237045,
-0.12371248006820679,
0.04292314127087593,
0.3649303913116455,
-0.5748062133789062,
-0.1131138801574707,
0.10296714305877686,
0.12508924305438995,
-0.24512773752212524,
-0.09646055847406387,
-0.33095136284828186,
-0.045790839940309525,
-0.262462317943573,
0.20648209750652313,
-0.2442375123500824,
-0.10910429060459137,
0.2218582183122635,
-0.010222463868558407,
-0.015812870115041733,
-0.15651264786720276,
0.06405724585056305,
-0.277395099401474,
-0.08027670532464981,
-0.06448397785425186,
0.092020682990551,
-0.250247985124588,
-0.23672305047512054,
0.053741391748189926,
0.23589172959327698,
0.1937275528907776,
0.296542763710022,
-0.005914654582738876,
-0.059899166226387024,
0.2883763909339905,
0.2487984299659729,
0.32454612851142883,
-0.32178711891174316,
0.3747220039367676,
0.428814172744751,
-0.06131063774228096,
0.03288330137729645,
0.05321723222732544,
-0.09033332765102386,
0.34278732538223267,
0.42859888076782227,
0.19800782203674316,
-0.003591574728488922,
-0.3924694061279297,
0.06132487207651138,
-0.42267608642578125,
0.5339658856391907,
0.4009270668029785,
-0.2698943614959717,
0.01246708631515503,
-0.40369755029678345,
0.29301491379737854,
-0.04934554547071457,
-0.3369222581386566,
0.5084816217422485,
0.09125754982233047,
-0.34869489073753357,
0.35306107997894287,
-0.0189196839928627,
0.9314352869987488,
-0.15530022978782654,
0.21401597559452057,
0.2355194091796875,
0.0084427110850811,
0.21690194308757782,
-0.03216332942247391,
-0.08418912440538406,
-0.15902577340602875,
-0.05310579389333725,
0.021052753552794456,
-0.3091985285282135,
0.06894160062074661,
-0.022861868143081665,
-0.35477572679519653,
0.0412718802690506,
-0.014785006642341614,
0.09090198576450348,
0.19325387477874756,
0.5802162885665894,
-0.04502062499523163,
-0.17610490322113037,
-0.13997842371463776,
0.1553475707769394,
0.17866605520248413,
-0.09646539390087128,
-0.03201151639223099,
-0.09072278439998627,
-0.4717377722263336,
-0.03977758809924126,
-0.49384403228759766,
0.017966531217098236,
0.05931093171238899,
-0.1248832494020462,
0.055239029228687286,
-0.0794309601187706,
0.2820279002189636,
0.3388131260871887,
0.1513790488243103,
0.10940878093242645,
-0.19633857905864716,
-0.08300663530826569,
-0.3078349232673645,
0.0314703993499279,
0.09867504984140396,
-0.12992607057094574,
0.13088352978229523,
0.0873485580086708,
-0.2656063735485077,
0.10011638700962067,
0.058411575853824615,
-0.2826537787914276,
-0.3163701891899109,
-0.2726184129714966,
0.3141331672668457,
-0.6479935050010681,
0.08407415449619293,
0.05787963420152664,
-0.3270965814590454,
-0.11169660091400146,
0.12610383331775665,
0.3267565965652466,
-0.038441251963377,
0.07046766579151154,
0.32837554812431335,
-0.03234380483627319,
-0.09061409533023834,
0.03238895162940025,
-0.2915163040161133,
0.034960582852363586,
0.16730749607086182,
0.008881445974111557,
0.053564488887786865,
-0.18106740713119507,
0.4053036570549011,
0.2920035421848297,
-0.09369155764579773,
0.10803625732660294,
-0.2987609803676605,
-0.22209888696670532,
-0.03624648228287697,
0.16282330453395844,
0.5167626738548279,
-0.26551827788352966,
0.029570098966360092,
0.005917996168136597,
0.0001236218959093094,
0.23489630222320557,
-0.08028365671634674,
0.4671505391597748,
-0.43779256939888,
-0.0765361487865448,
-0.11764797568321228,
0.1701059639453888,
-0.35493892431259155,
0.14237375557422638,
-0.16041821241378784,
0.1627787947654724,
-0.08981170505285263,
-0.02310081571340561,
0.20628637075424194,
-0.26902827620506287,
0.06582999974489212,
-0.23742569983005524,
-0.4317944049835205,
-0.18259131908416748,
-0.20970767736434937,
0.1613975167274475,
0.12178023904561996,
-0.024356257170438766,
0.1089034304022789,
-0.039935290813446045,
0.3037398159503937,
-0.24098463356494904,
0.05286324396729469,
0.1281222403049469,
-0.158342182636261,
0.14450301229953766,
0.35431838035583496,
-0.08102964609861374,
-0.17336612939834595,
0.2253762185573578,
0.06561923027038574,
0.4152213931083679,
0.26090943813323975,
0.11304758489131927,
-0.09619537740945816,
-0.1606970876455307,
0.05730661377310753,
0.3975886106491089,
0.5106284618377686,
0.3354409337043762,
0.31807416677474976,
0.022936321794986725,
-0.043355248868465424,
0.11724031716585159,
0.2799074351787567,
0.3784191608428955,
-0.3162820339202881,
0.22386588156223297,
0.11471179872751236,
0.13899371027946472,
0.02452840656042099,
-0.04534127935767174,
0.057124510407447815,
0.11208928376436234,
0.2781543731689453,
0.285657674074173,
0.24536943435668945,
-0.11130927503108978,
0.13202211260795593,
-0.0721113309264183,
0.4510566294193268,
0.04254654049873352,
0.07289682328701019,
-0.14397352933883667,
-0.39127495884895325,
0.0006239227950572968,
0.18255719542503357,
-0.09356997907161713,
0.030667133629322052,
-0.300487220287323,
0.34214818477630615,
0.3746824860572815,
-0.2722555696964264,
0.019729305058717728,
0.07423382252454758,
0.10601112246513367,
0.2411614954471588,
0.2376180738210678,
0.22324013710021973,
0.25734657049179077,
0.13381057977676392,
0.2793538272380829,
-0.02137712389230728,
0.21945178508758545,
0.05979722738265991,
-0.21477042138576508,
0.3991807699203491,
-0.1633911281824112,
-0.27680933475494385,
-0.22383642196655273,
-0.31483227014541626,
-0.1102503091096878,
0.01592278853058815,
-0.3516942262649536,
0.1946866810321808,
-0.030281998217105865,
-0.07856473326683044,
-0.016362814232707024,
0.31227684020996094,
0.15232278406620026,
0.25826698541641235,
-0.42224448919296265,
0.0738086849451065,
-0.16169698536396027,
-0.06600850820541382,
0.04435539245605469,
0.35351836681365967,
0.22265620529651642,
0.011196162551641464,
-0.251780241727829,
0.06750862300395966,
-0.021524209529161453,
-0.020356249064207077,
0.03745973855257034,
0.2042129933834076,
-0.05535684525966644,
-0.13297070562839508,
0.20165224373340607,
0.24383798241615295,
-0.167025625705719,
-0.04075237736105919,
0.2189589887857437,
-0.14510312676429749,
-0.21843723952770233,
-0.0566936656832695,
0.06974949687719345,
-0.11753431707620621,
0.23496422171592712,
-0.08771664649248123,
-0.27811941504478455,
0.0420394204556942,
0.3725317716598511,
-0.47483956813812256,
0.1272343099117279,
0.06818727403879166,
0.1177905946969986,
0.02931451052427292,
0.24475990235805511,
0.28835079073905945,
0.07634566724300385,
-0.4706334173679352,
-0.24536548554897308,
-0.5460366606712341,
0.1556929349899292,
-0.14181600511074066,
-0.31484362483024597,
-0.09761796146631241,
0.2937474846839905,
0.489872008562088,
0.31171977519989014,
-0.2718745470046997,
-0.2595081627368927,
-0.3107231855392456,
0.31486937403678894,
-0.48742541670799255,
-0.2086997777223587,
0.007011722773313522,
0.2812218964099884,
0.15608133375644684,
-0.149346262216568,
-0.024067994207143784,
-0.04900764301419258,
-0.02778606303036213,
-0.010501369833946228,
0.09474553167819977,
0.3183191418647766,
-0.013735376298427582,
0.2917039394378662,
-0.14120356738567352,
0.4730288088321686,
-0.04849740490317345,
-0.3492797911167145,
-0.4949720501899719,
-0.0566706620156765,
0.11607585847377777,
-0.1314014494419098,
-0.19424109160900116,
0.33586496114730835,
-0.22349923849105835,
-0.12037026882171631,
-0.2367863804101944,
-0.13049209117889404,
0.12921379506587982,
0.1306365579366684,
-0.21441496908664703,
0.052985623478889465,
-0.08415020257234573,
0.12054082751274109,
0.1831812858581543,
0.25661593675613403,
-0.29368332028388977,
0.007690988481044769,
-0.18069344758987427,
-0.19907289743423462,
0.3811715543270111,
-0.20592494308948517,
-0.23436972498893738,
0.23476216197013855,
0.038474537432193756,
-0.16749808192253113,
-0.03207822144031525,
-0.4591895639896393,
0.1410013735294342,
0.22735382616519928,
-0.05100364238023758,
-0.044554706662893295,
0.09383055567741394,
0.34861046075820923,
0.02118362858891487,
-0.015246734023094177,
0.5602352619171143,
-0.08841804414987564,
-0.02055944688618183,
-0.05274396017193794,
-0.31102317571640015
] |
https://github.com/huggingface/datasets/pull/235 | Add experimental datasets | There we go: added a `test_dummy_data` class variable that is `False` by default for the `BeamBasedBuilder` and `True` for everyone else (except the new `explainlikeimfive` and `wiki_snippets`)
Note that `wiki_snippets` should become obsolete as soon as @lhoestq adds in the `IndexedDataset` class | ## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
| 42 | text: Add experimental datasets
## Adding an *experimental datasets* folder
After using the 🤗nlp library for some time, I find that while it makes it super easy to create new memory-mapped datasets with lots of cool utilities, a lot of what I want to do doesn't work well with the current `MockDownloader` based testing paradigm, making it hard to share my work with the community.
My suggestion would be to add a **datasets\_experimental** folder so we can start making these new datasets public without having to completely re-think testing for every single one. We would allow contributors to submit dataset PRs in this folder, but require an explanation for why the current testing suite doesn't work for them. We can then aggregate the feedback and periodically see what's missing from the current tests.
I have added a **datasets\_experimental** folder to the repository and S3 bucket with two initial datasets: ELI5 (explainlikeimfive) and a Wikipedia Snippets dataset to support indexing (wiki\_snippets)
### ELI5
#### Dataset description
This allows people to download the [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190) dataset, along with two variants based on the r/askscience and r/AskHistorians. Full Reddit dumps for each month are downloaded from [pushshift](https://files.pushshift.io/reddit/), filtered for submissions and comments from the desired subreddits, then deleted one at a time to save space. The resulting dataset is split into a training, validation, and test dataset for r/explainlikeimfive, r/askscience, and r/AskHistorians respectively, where each item is a question along with all of its high scoring answers.
#### Issues with the current testing
1. the list of files to be downloaded is not pre-defined, but rather determined by parsing an index web page at run time. This is necessary as the name and compression type of the dump files changes from month to month as the pushshift website is maintained. Currently, the dummy folder requires the user to know which files will be downloaded.
2. to save time, the script works on the compressed files using the corresponding python packages rather than first running `download\_and\_extract` then filtering the extracted files.
### Wikipedia Snippets
#### Dataset description
This script creates a *snippets* version of a source Wikipedia dataset: each article is split into passages of fixed length which can then be indexed using ElasticSearch or a dense indexer. The script currently handles all **wikipedia** and **wiki40b** source datasets, and allows the user to choose the passage length and how much overlap they want across passages. In addition to the passage text, each snippet also has the article title, list of titles of sections covered by the text, and information to map the passage back to the initial dataset at the paragraph and character level.
#### Issues with the current testing
1. The DatasetBuilder needs to call `nlp.load_dataset()`. Currently, testing is not recursive (the test doesn't know where to find the dummy data for the source dataset)
There we go: added a `test_dummy_data` class variable that is `False` by default for the `BeamBasedBuilder` and `True` for everyone else (except the new `explainlikeimfive` and `wiki_snippets`)
Note that `wiki_snippets` should become obsolete as soon as @lhoestq adds in the `IndexedDataset` class | [
-0.08912689983844757,
0.30797091126441956,
-0.052750952541828156,
0.1090453714132309,
-0.05904292315244675,
0.08023907989263535,
0.16528934240341187,
0.5062692761421204,
0.044262874871492386,
0.12628233432769775,
0.12386460602283478,
0.14803136885166168,
-0.4739857614040375,
0.06922692060470581,
0.13959018886089325,
0.029932092875242233,
-0.044799692928791046,
0.019591063261032104,
-0.04801565408706665,
0.14077982306480408,
-0.0702618807554245,
-0.24478845298290253,
0.09744861721992493,
-0.12828414142131805,
0.21675632894039154,
-0.024713201448321342,
-0.3624502122402191,
0.04519384354352951,
-0.4182206094264984,
-0.535383939743042,
0.040345825254917145,
0.478636234998703,
0.14365701377391815,
0.5861287713050842,
-0.0001120546439778991,
-0.04685649275779724,
0.31414514780044556,
-0.20267167687416077,
-0.43661636114120483,
-0.17269136011600494,
-0.2843516170978546,
0.10007968544960022,
-0.10050539672374725,
-0.047691863030195236,
-0.015346504747867584,
-0.11366265267133713,
0.18628808856010437,
-0.41011136770248413,
0.0891767144203186,
0.20515787601470947,
0.20889097452163696,
0.2763679623603821,
-0.44005173444747925,
-0.21754489839076996,
0.548772394657135,
0.4789363741874695,
-0.45541295409202576,
0.1951228529214859,
0.34626802802085876,
0.06758076697587967,
-0.06108241528272629,
-0.08394715189933777,
0.03633560985326767,
0.05810349062085152,
0.1401950716972351,
0.14507323503494263,
-0.058875687420368195,
-0.13318350911140442,
-0.4341284930706024,
0.39859655499458313,
0.736149251461029,
-0.3012942373752594,
-0.38213443756103516,
-0.2066209614276886,
-0.23438577353954315,
-0.10308628529310226,
0.015031430870294571,
0.2294190675020218,
-0.18855084478855133,
0.08320683240890503,
-0.17650043964385986,
-0.3090584874153137,
-0.07744129002094269,
0.34946703910827637,
0.24391072988510132,
0.2418488711118698,
0.03631925955414772,
-0.030360884964466095,
0.09139417111873627,
-0.13062649965286255,
0.29308298230171204,
-0.5317019820213318,
-0.003185659646987915,
-0.02140531688928604,
0.2959432899951935,
-0.19342616200447083,
0.14427363872528076,
-0.3909388482570648,
0.5695538520812988,
0.2504015862941742,
0.11264894902706146,
0.055623531341552734,
-0.13457871973514557,
-0.07484345883131027,
0.03348442167043686,
0.3104439079761505,
0.09255501627922058,
0.327889621257782,
0.28452634811401367,
0.5701946020126343,
0.15666599571704865,
-0.026987500488758087,
-0.022468961775302887,
0.142631396651268,
-0.26261964440345764,
-0.04504558444023132,
0.2012849897146225,
-0.04231960326433182,
0.04460345208644867,
0.0396459624171257,
-0.03539562225341797,
-0.20149770379066467,
-0.05725409463047981,
0.23370957374572754,
-0.048999637365341187,
0.02612200938165188,
-0.015865033492445946,
0.29139918088912964,
0.11814288049936295,
-0.0405748225748539,
-0.13143455982208252,
0.24163493514060974,
-0.4253978431224823,
0.3861689865589142,
0.3113709092140198,
-0.17182175815105438,
0.15698052942752838,
-0.0739588662981987,
0.3608245253562927,
-0.005498334765434265,
0.15919749438762665,
0.17379184067249298,
0.3135761022567749,
-0.18832816183567047,
-0.20579932630062103,
0.22091250121593475,
-0.09903603792190552,
-0.1027107685804367,
-0.26148414611816406,
0.20715099573135376,
0.1701650321483612,
-0.21443086862564087,
0.08119694888591766,
0.13387653231620789,
-0.47259366512298584,
0.0934307724237442,
-0.3881807029247284,
0.2238992303609848,
-0.40803322196006775,
-0.13343501091003418,
0.23149138689041138,
0.013345150277018547,
-0.024431489408016205,
-0.13925997912883759,
0.13769228756427765,
0.5751650333404541,
-0.3501896262168884,
0.02755938470363617,
-0.3099704086780548,
0.14060445129871368,
0.023030593991279602,
0.09657226502895355,
-0.24252428114414215,
0.3289753198623657,
-0.26660460233688354,
0.22064398229122162,
0.25879234075546265,
-0.4465939700603485,
-0.22814935445785522,
0.09815919399261475,
-0.25708356499671936,
0.03697875142097473,
0.349136620759964,
-0.01647375151515007,
0.19898484647274017,
-0.276387095451355,
-0.24063768982887268,
0.05548806115984917,
-0.12341654300689697,
0.008771656081080437,
-0.43357139825820923,
-0.3685462772846222,
0.10595431178808212,
0.10522125661373138,
-0.016815315932035446,
0.007622130215167999,
-0.04126604646444321,
0.03916461393237114,
0.20938077569007874,
-0.20926669239997864,
0.22264228761196136,
-0.16074921190738678,
0.5308676362037659,
-0.05565859377384186,
-0.1873980164527893,
-0.023567134514451027,
-0.5958099961280823,
0.3364236354827881,
0.14087441563606262,
0.36323100328445435,
0.081687793135643,
0.006749097257852554,
-0.3878582715988159,
-0.1375410109758377,
-0.1589239239692688,
-0.3794783055782318,
0.06398416310548782,
0.21498741209506989,
0.10610184073448181,
-0.03483700379729271,
-0.19164207577705383,
-0.20620612800121307,
-0.0433773472905159,
0.12226851284503937,
-0.32369813323020935,
0.3380226492881775,
-0.10299208015203476,
-0.04879400506615639,
0.08779661357402802,
-0.19907838106155396,
-0.11675133556127548,
-0.3367433249950409,
0.14523440599441528,
0.20013827085494995,
0.06580536812543869,
0.17462342977523804,
0.6133249998092651,
0.47400128841400146,
-0.00556635856628418,
-0.31852054595947266,
0.4122188985347748,
0.010118091478943825,
0.05955766141414642,
0.06590617448091507,
-0.38839593529701233,
0.4618934392929077,
-0.09779398143291473,
0.05696674436330795,
-0.11384245753288269,
-0.14110340178012848,
0.168696328997612,
-0.18530377745628357,
-0.17278507351875305,
-0.11547492444515228,
0.31834062933921814,
0.39436182379722595,
0.10050871968269348,
-0.11509624123573303,
0.071923166513443,
-0.06226173788309097,
-0.08694222569465637,
-0.2317616492509842,
-0.0696929469704628,
0.12774798274040222,
-0.09562291949987411,
-0.09931948035955429,
0.09461581707000732,
0.22024090588092804,
0.7965775728225708,
0.15156298875808716,
0.2536288797855377,
0.01889587566256523,
0.0845494419336319,
-0.1861283928155899,
0.039604149758815765,
0.020675349980592728,
-0.07407789677381516,
0.16738659143447876,
0.19722880423069,
0.03648572415113449,
-0.010995350778102875,
-0.06752260029315948,
0.2102992981672287,
0.19336669147014618,
-0.1735382080078125,
-0.19638358056545258,
0.05378906428813934,
-0.030108440667390823,
-0.01937289908528328,
0.0348152220249176,
0.026190249249339104,
-0.2031954675912857,
0.19269534945487976,
-0.046556178480386734,
-0.2849704623222351,
0.07430436462163925,
-0.290583997964859,
0.44999027252197266,
-0.11824497580528259,
-0.16099724173545837,
-0.19388625025749207,
-0.004410139750689268,
0.015806792303919792,
0.15767064690589905,
0.26169243454933167,
0.13578474521636963,
0.5737968683242798,
-0.027611976489424706,
0.061463817954063416,
-0.6362988948822021,
-0.34236112236976624,
0.2677198648452759,
-0.08481930941343307,
0.542224645614624,
0.1784784346818924,
0.17747348546981812,
0.2781396508216858,
-0.4607299566268921,
0.16456657648086548,
-0.4076917767524719,
-0.340624064207077,
-0.13001954555511475,
0.07159251719713211,
-0.12116830050945282,
-0.11707042157649994,
-0.5886009931564331,
0.019823651760816574,
-0.2945108115673065,
0.11026663333177567,
0.04588605836033821,
0.008096378296613693,
0.029088716953992844,
0.2296459972858429,
0.13961352407932281,
-0.038989465683698654,
-0.37272515892982483,
-0.1233324334025383,
-0.45621493458747864,
0.34491702914237976,
-0.4026796519756317,
-0.0698183923959732,
-0.11587302386760712,
-0.24999192357063293,
-0.24728846549987793,
0.1664792150259018,
-0.5462136268615723,
-0.10636121034622192,
0.036403462290763855,
0.42266854643821716,
0.2537394165992737,
-0.03966908901929855,
0.32969987392425537,
0.024532416835427284,
-0.09484925866127014,
-0.12212322652339935,
-0.28201520442962646,
-0.13354867696762085,
0.2851088047027588,
0.32447585463523865,
0.04715476185083389,
0.19436931610107422,
0.29638421535491943,
0.9219228029251099,
0.13831403851509094,
-0.13414998352527618,
0.18526053428649902,
-0.07103367149829865,
0.33218252658843994,
-0.010005764663219452,
-0.21921055018901825,
0.09892041981220245,
0.030249647796154022,
-0.2112857550382614,
0.22100767493247986,
0.11104223877191544,
-0.1401398628950119,
0.020100176334381104,
0.2947104275226593,
0.01958819478750229,
-0.2258581817150116,
0.33425161242485046,
-0.3880448639392853,
0.1039583757519722,
-0.06692172586917877,
-0.3136610984802246,
-0.3295626640319824,
-0.2739184498786926,
0.13514037430286407,
0.07542555034160614,
0.13599248230457306,
-0.25325271487236023,
-0.5281211733818054,
0.4958699345588684,
-0.4665098190307617,
0.2905254364013672,
0.19093945622444153,
0.11413400620222092,
-0.05238481983542442,
-0.024497028440237045,
-0.12371248006820679,
0.04292314127087593,
0.3649303913116455,
-0.5748062133789062,
-0.1131138801574707,
0.10296714305877686,
0.12508924305438995,
-0.24512773752212524,
-0.09646055847406387,
-0.33095136284828186,
-0.045790839940309525,
-0.262462317943573,
0.20648209750652313,
-0.2442375123500824,
-0.10910429060459137,
0.2218582183122635,
-0.010222463868558407,
-0.015812870115041733,
-0.15651264786720276,
0.06405724585056305,
-0.277395099401474,
-0.08027670532464981,
-0.06448397785425186,
0.092020682990551,
-0.250247985124588,
-0.23672305047512054,
0.053741391748189926,
0.23589172959327698,
0.1937275528907776,
0.296542763710022,
-0.005914654582738876,
-0.059899166226387024,
0.2883763909339905,
0.2487984299659729,
0.32454612851142883,
-0.32178711891174316,
0.3747220039367676,
0.428814172744751,
-0.06131063774228096,
0.03288330137729645,
0.05321723222732544,
-0.09033332765102386,
0.34278732538223267,
0.42859888076782227,
0.19800782203674316,
-0.003591574728488922,
-0.3924694061279297,
0.06132487207651138,
-0.42267608642578125,
0.5339658856391907,
0.4009270668029785,
-0.2698943614959717,
0.01246708631515503,
-0.40369755029678345,
0.29301491379737854,
-0.04934554547071457,
-0.3369222581386566,
0.5084816217422485,
0.09125754982233047,
-0.34869489073753357,
0.35306107997894287,
-0.0189196839928627,
0.9314352869987488,
-0.15530022978782654,
0.21401597559452057,
0.2355194091796875,
0.0084427110850811,
0.21690194308757782,
-0.03216332942247391,
-0.08418912440538406,
-0.15902577340602875,
-0.05310579389333725,
0.021052753552794456,
-0.3091985285282135,
0.06894160062074661,
-0.022861868143081665,
-0.35477572679519653,
0.0412718802690506,
-0.014785006642341614,
0.09090198576450348,
0.19325387477874756,
0.5802162885665894,
-0.04502062499523163,
-0.17610490322113037,
-0.13997842371463776,
0.1553475707769394,
0.17866605520248413,
-0.09646539390087128,
-0.03201151639223099,
-0.09072278439998627,
-0.4717377722263336,
-0.03977758809924126,
-0.49384403228759766,
0.017966531217098236,
0.05931093171238899,
-0.1248832494020462,
0.055239029228687286,
-0.0794309601187706,
0.2820279002189636,
0.3388131260871887,
0.1513790488243103,
0.10940878093242645,
-0.19633857905864716,
-0.08300663530826569,
-0.3078349232673645,
0.0314703993499279,
0.09867504984140396,
-0.12992607057094574,
0.13088352978229523,
0.0873485580086708,
-0.2656063735485077,
0.10011638700962067,
0.058411575853824615,
-0.2826537787914276,
-0.3163701891899109,
-0.2726184129714966,
0.3141331672668457,
-0.6479935050010681,
0.08407415449619293,
0.05787963420152664,
-0.3270965814590454,
-0.11169660091400146,
0.12610383331775665,
0.3267565965652466,
-0.038441251963377,
0.07046766579151154,
0.32837554812431335,
-0.03234380483627319,
-0.09061409533023834,
0.03238895162940025,
-0.2915163040161133,
0.034960582852363586,
0.16730749607086182,
0.008881445974111557,
0.053564488887786865,
-0.18106740713119507,
0.4053036570549011,
0.2920035421848297,
-0.09369155764579773,
0.10803625732660294,
-0.2987609803676605,
-0.22209888696670532,
-0.03624648228287697,
0.16282330453395844,
0.5167626738548279,
-0.26551827788352966,
0.029570098966360092,
0.005917996168136597,
0.0001236218959093094,
0.23489630222320557,
-0.08028365671634674,
0.4671505391597748,
-0.43779256939888,
-0.0765361487865448,
-0.11764797568321228,
0.1701059639453888,
-0.35493892431259155,
0.14237375557422638,
-0.16041821241378784,
0.1627787947654724,
-0.08981170505285263,
-0.02310081571340561,
0.20628637075424194,
-0.26902827620506287,
0.06582999974489212,
-0.23742569983005524,
-0.4317944049835205,
-0.18259131908416748,
-0.20970767736434937,
0.1613975167274475,
0.12178023904561996,
-0.024356257170438766,
0.1089034304022789,
-0.039935290813446045,
0.3037398159503937,
-0.24098463356494904,
0.05286324396729469,
0.1281222403049469,
-0.158342182636261,
0.14450301229953766,
0.35431838035583496,
-0.08102964609861374,
-0.17336612939834595,
0.2253762185573578,
0.06561923027038574,
0.4152213931083679,
0.26090943813323975,
0.11304758489131927,
-0.09619537740945816,
-0.1606970876455307,
0.05730661377310753,
0.3975886106491089,
0.5106284618377686,
0.3354409337043762,
0.31807416677474976,
0.022936321794986725,
-0.043355248868465424,
0.11724031716585159,
0.2799074351787567,
0.3784191608428955,
-0.3162820339202881,
0.22386588156223297,
0.11471179872751236,
0.13899371027946472,
0.02452840656042099,
-0.04534127935767174,
0.057124510407447815,
0.11208928376436234,
0.2781543731689453,
0.285657674074173,
0.24536943435668945,
-0.11130927503108978,
0.13202211260795593,
-0.0721113309264183,
0.4510566294193268,
0.04254654049873352,
0.07289682328701019,
-0.14397352933883667,
-0.39127495884895325,
0.0006239227950572968,
0.18255719542503357,
-0.09356997907161713,
0.030667133629322052,
-0.300487220287323,
0.34214818477630615,
0.3746824860572815,
-0.2722555696964264,
0.019729305058717728,
0.07423382252454758,
0.10601112246513367,
0.2411614954471588,
0.2376180738210678,
0.22324013710021973,
0.25734657049179077,
0.13381057977676392,
0.2793538272380829,
-0.02137712389230728,
0.21945178508758545,
0.05979722738265991,
-0.21477042138576508,
0.3991807699203491,
-0.1633911281824112,
-0.27680933475494385,
-0.22383642196655273,
-0.31483227014541626,
-0.1102503091096878,
0.01592278853058815,
-0.3516942262649536,
0.1946866810321808,
-0.030281998217105865,
-0.07856473326683044,
-0.016362814232707024,
0.31227684020996094,
0.15232278406620026,
0.25826698541641235,
-0.42224448919296265,
0.0738086849451065,
-0.16169698536396027,
-0.06600850820541382,
0.04435539245605469,
0.35351836681365967,
0.22265620529651642,
0.011196162551641464,
-0.251780241727829,
0.06750862300395966,
-0.021524209529161453,
-0.020356249064207077,
0.03745973855257034,
0.2042129933834076,
-0.05535684525966644,
-0.13297070562839508,
0.20165224373340607,
0.24383798241615295,
-0.167025625705719,
-0.04075237736105919,
0.2189589887857437,
-0.14510312676429749,
-0.21843723952770233,
-0.0566936656832695,
0.06974949687719345,
-0.11753431707620621,
0.23496422171592712,
-0.08771664649248123,
-0.27811941504478455,
0.0420394204556942,
0.3725317716598511,
-0.47483956813812256,
0.1272343099117279,
0.06818727403879166,
0.1177905946969986,
0.02931451052427292,
0.24475990235805511,
0.28835079073905945,
0.07634566724300385,
-0.4706334173679352,
-0.24536548554897308,
-0.5460366606712341,
0.1556929349899292,
-0.14181600511074066,
-0.31484362483024597,
-0.09761796146631241,
0.2937474846839905,
0.489872008562088,
0.31171977519989014,
-0.2718745470046997,
-0.2595081627368927,
-0.3107231855392456,
0.31486937403678894,
-0.48742541670799255,
-0.2086997777223587,
0.007011722773313522,
0.2812218964099884,
0.15608133375644684,
-0.149346262216568,
-0.024067994207143784,
-0.04900764301419258,
-0.02778606303036213,
-0.010501369833946228,
0.09474553167819977,
0.3183191418647766,
-0.013735376298427582,
0.2917039394378662,
-0.14120356738567352,
0.4730288088321686,
-0.04849740490317345,
-0.3492797911167145,
-0.4949720501899719,
-0.0566706620156765,
0.11607585847377777,
-0.1314014494419098,
-0.19424109160900116,
0.33586496114730835,
-0.22349923849105835,
-0.12037026882171631,
-0.2367863804101944,
-0.13049209117889404,
0.12921379506587982,
0.1306365579366684,
-0.21441496908664703,
0.052985623478889465,
-0.08415020257234573,
0.12054082751274109,
0.1831812858581543,
0.25661593675613403,
-0.29368332028388977,
0.007690988481044769,
-0.18069344758987427,
-0.19907289743423462,
0.3811715543270111,
-0.20592494308948517,
-0.23436972498893738,
0.23476216197013855,
0.038474537432193756,
-0.16749808192253113,
-0.03207822144031525,
-0.4591895639896393,
0.1410013735294342,
0.22735382616519928,
-0.05100364238023758,
-0.044554706662893295,
0.09383055567741394,
0.34861046075820923,
0.02118362858891487,
-0.015246734023094177,
0.5602352619171143,
-0.08841804414987564,
-0.02055944688618183,
-0.05274396017193794,
-0.31102317571640015
] |
https://github.com/huggingface/datasets/pull/229 | Rename dataset_infos.json to dataset_info.json |
This was actually the right name. `dataset_infos.json` is used to have the infos of all the dataset configurations.
On the other hand `dataset_info.json` (without 's') is a cache file with the info of one specific configuration.
To fix #228, we probably just have to clear and reload the nlp-viewer cache. | As the file required for the viewing in the live nlp viewer is named as dataset_info.json | 50 | text: Rename dataset_infos.json to dataset_info.json
As the file required for the viewing in the live nlp viewer is named as dataset_info.json
This was actually the right name. `dataset_infos.json` is used to have the infos of all the dataset configurations.
On the other hand `dataset_info.json` (without 's') is a cache file with the info of one specific configuration.
To fix #228, we probably just have to clear and reload the nlp-viewer cache. | [
0.14967688918113708,
0.09968587756156921,
-0.07179605960845947,
0.02887006103992462,
0.21128211915493011,
0.05839715152978897,
0.29268380999565125,
0.4900495707988739,
-0.06528009474277496,
0.10341436415910721,
0.03882915526628494,
0.45678937435150146,
0.10216914862394333,
0.22194789350032806,
0.2066180557012558,
-0.03354445844888687,
0.031107783317565918,
0.340257853269577,
0.06028255820274353,
0.09432356059551239,
-0.16694745421409607,
0.287463903427124,
-0.04977962374687195,
0.03672907501459122,
-0.18075352907180786,
0.09283570200204849,
0.0044398438185453415,
0.1981167495250702,
-0.05677904933691025,
-0.5906727910041809,
-0.111702099442482,
0.04808245599269867,
0.11737136542797089,
0.06765831261873245,
-0.00009899398719426244,
-0.11747127771377563,
0.5083920359611511,
0.012413019314408302,
-0.4789389371871948,
-0.057169109582901,
-0.23176318407058716,
-0.4986584782600403,
0.19776760041713715,
-0.3802320063114166,
-0.01793108880519867,
-0.37259262800216675,
0.2510609030723572,
0.04395725578069687,
0.1960500180721283,
0.3046375811100006,
0.3537601828575134,
-0.032219499349594116,
-0.010934188961982727,
-0.1978856325149536,
0.020835604518651962,
0.17588216066360474,
0.13464872539043427,
-0.0336960032582283,
-0.12817728519439697,
-0.00891261175274849,
-0.10630912333726883,
0.6327698230743408,
0.21647562086582184,
-0.005679398775100708,
0.16953258216381073,
-0.16360893845558167,
-0.00091552734375,
-0.01691039651632309,
0.2448120415210724,
0.06618373095989227,
0.48454466462135315,
-0.1583418846130371,
-0.06066127121448517,
-0.2523098886013031,
0.10879992693662643,
-0.21597394347190857,
0.23514088988304138,
0.13492736220359802,
0.07283781468868256,
-0.06926703453063965,
-0.19259826838970184,
-0.43920981884002686,
-0.00636744499206543,
-0.0010283216834068298,
-0.12342323362827301,
0.09462908655405045,
-0.0513126514852047,
0.004561025649309158,
-0.1356198936700821,
-0.4080117344856262,
0.1185615137219429,
-0.07939939945936203,
-0.19534020125865936,
-0.1516643613576889,
-0.13955090939998627,
-0.23442183434963226,
0.2992342412471771,
0.02813662961125374,
-0.2794620394706726,
0.08213794231414795,
0.1500091552734375,
0.039038125425577164,
-0.05744331702589989,
0.15167853236198425,
0.2018694132566452,
0.16179333627223969,
0.31117111444473267,
0.1311829686164856,
0.18188220262527466,
0.22526034712791443,
-0.05670662224292755,
-0.00804247334599495,
-0.09251127392053604,
-0.12503665685653687,
-0.3312777280807495,
0.061026956886053085,
0.2642853856086731,
-0.1502917855978012,
-0.1064591333270073,
0.17676962912082672,
-0.3603927195072174,
-0.04443782567977905,
-0.08281581103801727,
0.24327754974365234,
-0.008702291175723076,
0.18193089962005615,
0.22644875943660736,
0.012297730892896652,
-0.1138928011059761,
-0.2878006100654602,
-0.18025770783424377,
0.06898076087236404,
-0.23622941970825195,
0.09403946250677109,
0.36014360189437866,
0.2522996664047241,
0.48516738414764404,
-0.12801972031593323,
-0.0264933779835701,
-0.14433419704437256,
0.009555507451295853,
0.24885429441928864,
0.015225537121295929,
0.11607188731431961,
0.14250002801418304,
0.034757860004901886,
0.06455636024475098,
-0.27924972772598267,
-0.09021389484405518,
0.20394521951675415,
-0.04363367706537247,
-0.4332368075847626,
-0.14924322068691254,
0.33493176102638245,
-0.12827110290527344,
-0.10606758296489716,
0.18285050988197327,
0.22516000270843506,
0.08017734438180923,
-0.27127957344055176,
0.026022784411907196,
-0.07799482345581055,
0.06014758720993996,
-0.04525965452194214,
-0.08456230908632278,
0.19033238291740417,
-0.26682037115097046,
-0.049639008939266205,
-0.21523424983024597,
-0.04851166531443596,
-0.16861897706985474,
0.09508964419364929,
-0.3594959080219269,
0.03841843456029892,
-0.15355466306209564,
0.2781979441642761,
0.49464377760887146,
-0.29696932435035706,
-0.2120175063610077,
0.32807478308677673,
-0.1426679491996765,
-0.1148059293627739,
0.03488292545080185,
-0.10629972070455551,
-0.06912610679864883,
-0.07812020182609558,
-0.004283830523490906,
0.025491639971733093,
0.19682906568050385,
0.09444436430931091,
-0.46814730763435364,
-0.11271016299724579,
0.03645133972167969,
0.048686522990465164,
-0.18366605043411255,
0.20898212492465973,
-0.04192622750997543,
0.3838714361190796,
0.46056053042411804,
0.09882432222366333,
0.09511639177799225,
0.22497627139091492,
0.002573128789663315,
0.010130751878023148,
0.11338882148265839,
0.19304457306861877,
-0.35091283917427063,
-0.11136435717344284,
-0.22779162228107452,
0.1390150487422943,
0.13341188430786133,
-0.22646227478981018,
-0.2468956708908081,
-0.22689594328403473,
0.04891668260097504,
-0.25159183144569397,
0.3949706256389618,
0.3406880497932434,
-0.1382300704717636,
-0.12833185493946075,
-0.02105967327952385,
0.1814853698015213,
-0.18033084273338318,
-0.18393340706825256,
-0.30094999074935913,
-0.0010023433715105057,
-0.2865425944328308,
-0.03641068562865257,
0.29466643929481506,
0.008048608899116516,
0.2599562406539917,
0.10089091956615448,
-0.23469942808151245,
0.27852296829223633,
-0.0524166002869606,
0.3056303858757019,
0.16352683305740356,
0.05857308208942413,
-0.0487874373793602,
-0.17065122723579407,
-0.031514257192611694,
0.27528080344200134,
-0.10709849745035172,
0.08451657742261887,
-0.42400306463241577,
0.23145927488803864,
0.06653602421283722,
0.04893440008163452,
0.07802422344684601,
0.025349145755171776,
0.3095712959766388,
-0.18938878178596497,
-0.08176743984222412,
-0.2342209368944168,
0.09444530308246613,
0.3245128095149994,
-0.019129179418087006,
0.02300252392888069,
-0.5633295774459839,
0.400005578994751,
0.5490391850471497,
0.10049742460250854,
-0.2629893124103546,
0.13199076056480408,
0.08967535942792892,
-0.33058732748031616,
0.31960609555244446,
0.2898998558521271,
0.22125926613807678,
0.2737703025341034,
0.006466895341873169,
0.20220613479614258,
-0.04366765543818474,
-0.31607988476753235,
0.3536248803138733,
0.12411732226610184,
0.18782764673233032,
0.15123340487480164,
0.202866792678833,
-0.08636276423931122,
-0.318037748336792,
-0.06870681047439575,
0.1298288106918335,
0.19042108952999115,
-0.2005469799041748,
-0.1235957071185112,
-0.34345364570617676,
-0.6269405484199524,
-0.12919571995735168,
0.009282159619033337,
-0.10092721879482269,
-0.31021633744239807,
0.23826813697814941,
0.14387370645999908,
-0.3720834255218506,
0.23799903690814972,
-0.10256610810756683,
0.34263333678245544,
-0.17590467631816864,
0.4669572412967682,
-0.2916586399078369,
-0.17610840499401093,
-0.18364858627319336,
0.17311209440231323,
0.09526102244853973,
0.23807582259178162,
-0.06385648995637894,
-0.04959703981876373,
0.09649533778429031,
-0.3452073037624359,
-0.36417704820632935,
0.0752720832824707,
0.017206888645887375,
0.10423102974891663,
0.09922181814908981,
0.13258112967014313,
-0.22705957293510437,
-0.24861900508403778,
0.1690727323293686,
-0.03728616237640381,
0.027825040742754936,
-0.16894632577896118,
0.11892805248498917,
-0.04283074662089348,
-0.32785362005233765,
-0.5072671175003052,
-0.030812865123152733,
-0.6187319755554199,
0.18231692910194397,
0.011517584323883057,
0.40041595697402954,
0.07499633729457855,
-0.1442801058292389,
-0.003361465409398079,
-0.1218847781419754,
0.1327555775642395,
-0.2397109419107437,
-0.3775622248649597,
0.022928055375814438,
-0.5071566104888916,
-0.3928455710411072,
0.08576489984989166,
0.04662960767745972,
0.19060848653316498,
-0.35182708501815796,
-0.4036288261413574,
-0.15861088037490845,
-0.027039455249905586,
-0.01351768895983696,
-0.20540499687194824,
-0.23684854805469513,
0.22713994979858398,
0.16549067199230194,
-0.276124507188797,
-0.3060140311717987,
-0.3809119164943695,
0.19690799713134766,
0.1211366280913353,
0.3867439329624176,
-0.15878483653068542,
0.11654404550790787,
0.04025969281792641,
0.20119883120059967,
0.3956500291824341,
0.16540880501270294,
0.2474096417427063,
0.14660097658634186,
0.32470273971557617,
-0.1779860258102417,
-0.0756509080529213,
0.02177206613123417,
0.0744345486164093,
0.02836223691701889,
0.5259416103363037,
-0.05758389085531235,
-0.2660587728023529,
-0.1337869018316269,
-0.03436547517776489,
-0.2504895329475403,
-0.24935472011566162,
0.09894099831581116,
-0.25579652190208435,
0.1602642834186554,
0.26516443490982056,
-0.011937599629163742,
-0.25169017910957336,
0.05017333850264549,
-0.0675962045788765,
0.2045273780822754,
0.06936253607273102,
0.16451527178287506,
-0.42948469519615173,
-0.31683608889579773,
-0.20123609900474548,
0.10085271298885345,
-0.04727889224886894,
0.3529115915298462,
-0.18279269337654114,
-0.15511035919189453,
0.1321023851633072,
-0.07894210517406464,
0.32776355743408203,
-0.2185230553150177,
0.0055823735892772675,
0.29909971356391907,
0.2837684154510498,
-0.07846781611442566,
-0.007251482456922531,
-0.08162139356136322,
0.36035284399986267,
0.4186243712902069,
0.2292361855506897,
-0.13181325793266296,
-0.24682877957820892,
0.1205778643488884,
-0.24127693474292755,
-0.19586098194122314,
-0.2788715362548828,
0.025620583444833755,
-0.08379362523555756,
-0.2867703437805176,
-0.2295541763305664,
-0.010902239941060543,
0.1230255737900734,
-0.21122398972511292,
0.24979667365550995,
0.10641316324472427,
0.051436275243759155,
-0.04834216833114624,
0.2496122568845749,
0.2657964825630188,
0.27514564990997314,
0.0019184723496437073,
0.0032088905572891235,
0.3247610032558441,
0.08784632384777069,
0.4605650305747986,
0.09210348129272461,
0.09454673528671265,
-0.002041991800069809,
0.016898948699235916,
0.20272067189216614,
0.3632515072822571,
0.13057363033294678,
0.06840579211711884,
-0.03162021189928055,
0.08568044006824493,
0.037596020847558975,
0.13719956576824188,
0.2113407850265503,
-0.2691229581832886,
-0.04985682666301727,
-0.24339164793491364,
0.5009540319442749,
-0.12273046374320984,
-0.1895895153284073,
-0.031190216541290283,
-0.11467054486274719,
-0.2069588303565979,
0.2124084085226059,
-0.11875981837511063,
0.9118496179580688,
0.34595173597335815,
0.06990750133991241,
0.18242773413658142,
-0.3135766386985779,
0.5698481202125549,
-0.2031211256980896,
0.2709217071533203,
-0.3563654124736786,
0.05412032827734947,
0.10859851539134979,
0.056040097028017044,
0.08542456477880478,
0.17737188935279846,
-0.37036144733428955,
0.007325734011828899,
0.25528818368911743,
-0.2644036114215851,
-0.02525847963988781,
0.4693281054496765,
-0.18005135655403137,
-0.07142521440982819,
-0.45562052726745605,
0.27367672324180603,
-0.20852665603160858,
0.2061709314584732,
-0.05807897076010704,
-0.28072822093963623,
-0.06657761335372925,
-0.155801922082901,
-0.0018206685781478882,
0.18255296349525452,
0.3118545711040497,
0.07521381229162216,
-0.0011065974831581116,
-0.13514390587806702,
0.07432693243026733,
-0.021115731447935104,
-0.04817384481430054,
0.13527292013168335,
-0.29578328132629395,
0.23622937500476837,
0.07641234993934631,
-0.084938183426857,
0.05754077434539795,
0.21721920371055603,
0.12664534151554108,
-0.17350029945373535,
-0.22972825169563293,
-0.05109613388776779,
-0.1095440611243248,
0.038607336580753326,
-0.32261818647384644,
-0.08215394616127014,
0.03121180459856987,
-0.1642523556947708,
-0.11636847257614136,
0.09194070100784302,
-0.31276735663414,
-0.33012670278549194,
0.30885401368141174,
-0.1775054931640625,
-0.1733439862728119,
0.006155461072921753,
0.0683814063668251,
-0.02806771919131279,
0.04791761934757233,
0.30864131450653076,
-0.053829699754714966,
0.04696858674287796,
0.5346044301986694,
0.015338476747274399,
-0.10486224293708801,
-0.3150489330291748,
0.12026890367269516,
-0.3347344696521759,
-0.1280878186225891,
0.08548469841480255,
0.058215126395225525,
-0.16074608266353607,
0.0284758098423481,
0.13861913979053497,
0.040022481232881546,
0.26621219515800476,
0.05634729191660881,
-0.19959230720996857,
-0.4274563193321228,
0.10613694787025452,
-0.22448457777500153,
0.22519421577453613,
0.018616918474435806,
0.27147454023361206,
0.13374339044094086,
0.13597466051578522,
-0.4980084300041199,
0.061531975865364075,
-0.3399786353111267,
0.39421793818473816,
-0.14216504991054535,
-0.17215576767921448,
-0.1396174430847168,
0.010454077273607254,
0.13199526071548462,
-0.008042778819799423,
-0.2640102505683899,
-0.36149612069129944,
0.04473632946610451,
0.06893125176429749,
0.34300488233566284,
-0.1755988448858261,
-0.032523833215236664,
-0.013339833356440067,
0.017819562926888466,
0.08241276443004608,
-0.22470425069332123,
-0.13268345594406128,
-0.02643614262342453,
0.44503042101860046,
-0.14843448996543884,
-0.12663373351097107,
0.2562296986579895,
-0.09044617414474487,
0.11705304682254791,
0.2492649257183075,
-0.19792084395885468,
0.09441947937011719,
-0.22762104868888855,
-0.05675158649682999,
-0.05572861060500145,
-0.011597864329814911,
-0.24593929946422577,
0.3777763545513153,
0.1165747195482254,
-0.21929554641246796,
0.08713583648204803,
-0.10027244687080383,
0.22016245126724243,
0.20326480269432068,
-0.2890978455543518,
-0.037374407052993774,
0.24519091844558716,
0.3460998833179474,
-0.3289395272731781,
0.13964872062206268,
0.2640586197376251,
-0.16220496594905853,
0.07452461123466492,
-0.06891978532075882,
0.17810477316379547,
-0.17010733485221863,
0.11722978204488754,
0.275509238243103,
0.18302291631698608,
-0.40195441246032715,
0.13809795677661896,
0.20172317326068878,
-0.15653979778289795,
-0.04115627333521843,
0.22082416713237762,
0.34513968229293823,
0.21514558792114258,
0.3697841763496399,
0.02609298750758171,
0.1509019285440445,
0.18710646033287048,
0.052478332072496414,
0.16063570976257324,
-0.058039627969264984,
0.016522033140063286,
0.19374418258666992,
0.07521313428878784,
0.12435898184776306,
-0.005678623914718628,
0.13730114698410034,
-0.06683257222175598,
0.052080344408750534,
-0.07259387522935867,
0.13478203117847443,
-0.2615298628807068,
-0.043966345489025116,
-0.24074985086917877,
-0.01671510934829712,
-0.09202457964420319,
0.06277318298816681,
-0.010847892612218857,
0.06616239994764328,
0.14482872188091278,
0.12509524822235107,
-0.2327161282300949,
-0.4661807119846344,
0.0528658851981163,
-0.05048787593841553,
0.21039901673793793,
-0.11887915432453156,
0.3709999918937683,
0.07229092717170715,
-0.18177208304405212,
0.28593024611473083,
0.38506385684013367,
0.28892552852630615,
0.37449586391448975,
0.109198659658432,
-0.15760628879070282,
0.07071198523044586,
-0.09388827532529831,
-0.0020827986299991608,
0.0908733680844307,
0.39641037583351135,
-0.15731307864189148,
0.2684529721736908,
0.1982240080833435,
-0.2603492736816406,
0.2677064836025238,
0.11154666543006897,
-0.12789620459079742,
0.04488544166088104,
0.25551727414131165,
0.09496045857667923,
-0.26576289534568787,
-0.0741095170378685,
-0.24958407878875732,
-0.5792375206947327,
-0.12598592042922974,
0.2674337327480316,
0.32221710681915283,
0.18226200342178345,
-0.4212200343608856,
0.19228334724903107,
-0.06522348523139954,
0.5206701755523682,
0.06097997725009918,
-0.14233341813087463,
-0.15645857155323029,
-0.31760871410369873,
-0.5092160105705261,
0.1813688576221466,
0.12467530369758606,
-0.07555751502513885,
0.16199037432670593,
0.23325912654399872,
-0.11805980652570724,
-0.16316263377666473,
-0.17614750564098358,
-0.02249065227806568,
0.009330767206847668,
0.10128477215766907,
-0.3675079047679901,
-0.03799707815051079,
0.31416356563568115,
0.10849090665578842,
0.13683634996414185,
-0.06530820578336716,
0.14606216549873352,
0.06992409378290176,
0.18923544883728027,
-0.08628824353218079,
0.025239594280719757,
0.03953566029667854,
0.38059353828430176,
0.14076855778694153,
0.14243368804454803,
0.17543894052505493,
-0.25582176446914673,
-0.24302807450294495,
-0.2902076542377472,
-0.29581767320632935,
-0.35786697268486023,
0.2204628884792328,
0.20807695388793945,
0.45856380462646484,
-0.1473974883556366,
0.2607969045639038,
-0.21941816806793213,
-0.09281153231859207,
-0.2875559329986572,
0.09249991178512573,
-0.05955849587917328,
0.200447678565979,
-0.11548031866550446,
0.41238662600517273,
-0.016453269869089127,
0.14066748321056366,
0.0911531001329422,
0.19381016492843628,
-0.6503772139549255,
-0.46440380811691284,
0.7884084582328796,
-0.2737279236316681,
-0.31374067068099976,
0.1909686028957367,
0.34221604466438293,
-0.10714530199766159,
-0.14825287461280823,
-0.49136149883270264,
-0.048064686357975006,
0.264639288187027,
-0.0945592001080513,
0.09585310518741608,
0.1451837420463562,
-0.17653238773345947,
-0.09582123160362244,
-0.10438263416290283,
0.3115984797477722,
0.39568883180618286,
-0.2199719250202179,
-0.10331857204437256,
-0.18987637758255005
] |
https://github.com/huggingface/datasets/pull/221 | Fix tests/test_dataset_common.py | Thanks ! Good catch :)
To fix the CI you can do:
1 - rebase from master
2 - then run `make style` as specified in [CONTRIBUTING.md](https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md) ? | When I run the command `RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_arcd` while working on #220. I get the error ` unexpected keyword argument "'download_and_prepare_kwargs'"` at the level of `load_dataset`. Indeed, this [function](https://github.com/huggingface/nlp/blob/master/src/nlp/load.py#L441) no longer has the argument `download_and_prepare_kwargs` but rather `download_config`. So here I change the tests accordingly. | 28 | text: Fix tests/test_dataset_common.py
When I run the command `RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_arcd` while working on #220. I get the error ` unexpected keyword argument "'download_and_prepare_kwargs'"` at the level of `load_dataset`. Indeed, this [function](https://github.com/huggingface/nlp/blob/master/src/nlp/load.py#L441) no longer has the argument `download_and_prepare_kwargs` but rather `download_config`. So here I change the tests accordingly.
Thanks ! Good catch :)
To fix the CI you can do:
1 - rebase from master
2 - then run `make style` as specified in [CONTRIBUTING.md](https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md) ? | [
-0.013695992529392242,
-0.06337213516235352,
-0.03534141555428505,
-0.18406346440315247,
0.10134825110435486,
0.22018182277679443,
0.2841465473175049,
0.3204965591430664,
-0.3036852777004242,
0.15336135029792786,
-0.061867281794548035,
0.35308361053466797,
-0.07718406617641449,
0.2608395516872406,
-0.03218003362417221,
-0.04340437054634094,
-0.15548792481422424,
0.31262749433517456,
-0.04515794664621353,
0.031162627041339874,
-0.07445661723613739,
0.23008382320404053,
-0.1311616599559784,
-0.02825034409761429,
0.2685149610042572,
-0.018730519339442253,
-0.22716671228408813,
0.02593579888343811,
-0.02082817442715168,
-0.5672383904457092,
0.5119836926460266,
0.4618915915489197,
-0.19879049062728882,
0.15163367986679077,
-0.00012343272101134062,
-0.13210324943065643,
0.5595554113388062,
-0.14251075685024261,
-0.3797207772731781,
-0.15333931148052216,
0.32917720079421997,
-0.2583237588405609,
0.4002593159675598,
-0.5073108077049255,
-0.14972060918807983,
-0.07373848557472229,
-0.08286506682634354,
0.18687821924686432,
0.3354378342628479,
0.411079466342926,
0.16096870601177216,
0.12133604288101196,
-0.3581311106681824,
-0.21940042078495026,
-0.06877236813306808,
0.282680869102478,
-0.01777014695107937,
0.3870447874069214,
0.2949485778808594,
0.08389707654714584,
0.11660830676555634,
0.07559226453304291,
-0.15455779433250427,
-0.04130074009299278,
0.09065000712871552,
-0.20282775163650513,
0.056817762553691864,
-0.22806745767593384,
0.24640193581581116,
-0.2107425034046173,
0.1328243911266327,
-0.09607235342264175,
0.09535181522369385,
-0.1319931298494339,
0.1411769539117813,
-0.1770624816417694,
0.032635364681482315,
-0.3898201286792755,
-0.3758086860179901,
-0.14620205760002136,
-0.5059562921524048,
-0.3322499692440033,
0.04049528390169144,
0.26047128438949585,
0.47931286692619324,
0.010942801833152771,
0.013360682874917984,
0.1805972158908844,
0.4534590542316437,
0.09058013558387756,
-0.13403314352035522,
0.09125987440347672,
-0.07375611364841461,
0.23112966120243073,
-0.012160491198301315,
-0.15798845887184143,
0.23934033513069153,
0.40555885434150696,
0.25602030754089355,
-0.008517671376466751,
-0.16812360286712646,
-0.03640028089284897,
0.23813806474208832,
-0.035052768886089325,
-0.09385058283805847,
0.37299418449401855,
0.39148473739624023,
-0.08109994977712631,
0.021442454308271408,
0.15436851978302002,
-0.16284948587417603,
0.08483262360095978,
-0.1040036752820015,
-0.4819720685482025,
-0.08227860927581787,
0.025202689692378044,
0.18292495608329773,
-0.42428261041641235,
-0.14705753326416016,
-0.32355090975761414,
0.18912166357040405,
0.12009786069393158,
0.14480523765087128,
0.3610759675502777,
0.05684793367981911,
0.11326348036527634,
-0.006412789225578308,
0.3540111780166626,
-0.2695122957229614,
-0.02950247749686241,
-0.08130406588315964,
0.033675774931907654,
-0.3694969117641449,
0.009019967168569565,
0.20392291247844696,
-0.2412872314453125,
0.3430866301059723,
0.23943103849887848,
0.41864675283432007,
-0.13303473591804504,
-0.07294293493032455,
0.19099746644496918,
-0.11370008438825607,
0.17696209251880646,
-0.2393396943807602,
0.28534337878227234,
0.3568112552165985,
-0.09861299395561218,
-0.1620495319366455,
0.2705287039279938,
-0.44073665142059326,
-0.5692830681800842,
0.13284355401992798,
0.11377173662185669,
-0.28694987297058105,
-0.0492156445980072,
-0.3576498031616211,
0.09182976186275482,
0.26490873098373413,
-0.20297878980636597,
-0.1027270033955574,
-0.4268985986709595,
-0.15816430747509003,
-0.16702096164226532,
0.19378122687339783,
0.471713662147522,
0.19752521812915802,
-0.14617756009101868,
-0.31895580887794495,
0.2621280252933502,
0.363119512796402,
0.01642632484436035,
-0.40167436003685,
0.09283125400543213,
-0.2455892413854599,
0.03173065930604935,
0.7561778426170349,
-0.4401797652244568,
-0.3239706754684448,
0.3977002799510956,
-0.22226934134960175,
-0.2079126536846161,
0.17795519530773163,
-0.13583822548389435,
0.18534256517887115,
-0.07368933409452438,
0.0013917610049247742,
0.05015648528933525,
-0.1398409754037857,
0.10581455379724503,
-0.42212343215942383,
-0.2796488404273987,
0.17667588591575623,
-0.016593873500823975,
-0.09689229726791382,
0.16868223249912262,
0.02496524155139923,
0.03471694141626358,
0.4194498360157013,
-0.011854324489831924,
-0.33465394377708435,
0.10293524712324142,
0.22656755149364471,
-0.156246617436409,
0.1713077425956726,
0.4907568395137787,
-0.31496602296829224,
0.153196781873703,
0.02526608109474182,
0.22170361876487732,
0.08173403888940811,
-0.3001325726509094,
-0.7460307478904724,
-0.23816563189029694,
-0.21843259036540985,
-0.21735015511512756,
-0.03930334001779556,
0.04042403772473335,
0.04355413839221001,
0.04699298366904259,
0.08470018208026886,
-0.24700239300727844,
-0.3163975775241852,
-0.18285685777664185,
-0.027119319885969162,
-0.03324027732014656,
-0.2611966133117676,
-0.0938735380768776,
0.23547592759132385,
-0.0362284854054451,
0.336787611246109,
-0.3546600937843323,
-0.3307320475578308,
0.2821376919746399,
-0.11515459418296814,
0.3729604482650757,
0.020236676558852196,
0.24435369670391083,
-0.10105952620506287,
-0.07241708785295486,
-0.1519361287355423,
0.26017317175865173,
0.018133312463760376,
-0.14823120832443237,
0.011592097580432892,
0.4738210439682007,
-0.2896474301815033,
0.2268032729625702,
-0.07542790472507477,
0.012601690366864204,
0.38392576575279236,
0.0164647214114666,
-0.12813828885555267,
-0.15899744629859924,
0.33958861231803894,
0.013469366356730461,
0.21165014803409576,
-0.015921080484986305,
0.136973038315773,
0.16562718152999878,
0.03678914159536362,
0.18834188580513,
-0.27512648701667786,
0.3619976043701172,
0.30839255452156067,
-0.22451907396316528,
0.08049818128347397,
0.05891001597046852,
0.6916529536247253,
0.048667024821043015,
-0.14670425653457642,
0.19624382257461548,
0.036446619778871536,
-0.36926281452178955,
0.2950398325920105,
-0.04101722687482834,
0.12438037991523743,
0.17336538434028625,
0.3693563938140869,
-0.118183933198452,
-0.39769884943962097,
-0.06490490585565567,
0.24285370111465454,
0.41494476795196533,
-0.25985026359558105,
0.24579812586307526,
0.04164743423461914,
-0.5121091604232788,
-0.2394748330116272,
0.07263653725385666,
0.12801265716552734,
-0.482915461063385,
0.08045671880245209,
0.0758347436785698,
-0.10754530131816864,
0.41566017270088196,
-0.1894855946302414,
0.38578617572784424,
-0.1361352950334549,
-0.2357034534215927,
-0.2841319441795349,
-0.2569558620452881,
-0.3762025535106659,
-0.11634652316570282,
0.15004879236221313,
-0.14939042925834656,
0.3671315610408783,
-0.4121866226196289,
-0.1327085793018341,
0.16910918056964874,
-0.4900372326374054,
-0.03965035080909729,
-0.05805739760398865,
0.4344913363456726,
0.2428322285413742,
0.2120019793510437,
-0.01968994550406933,
-0.3205525875091553,
0.48761501908302307,
-0.4000937342643738,
0.021085264161229134,
-0.005048626102507114,
-0.022879112511873245,
0.03140731900930405,
-0.2469514161348343,
-0.4696240723133087,
-0.13311879336833954,
-0.25001391768455505,
-0.0272604301571846,
-0.014216477051377296,
0.1100320965051651,
0.4474339187145233,
0.034523170441389084,
-0.004380051977932453,
-0.058228153735399246,
0.17616906762123108,
-0.12451855093240738,
-0.15067265927791595,
-0.03493097051978111,
-0.1557408571243286,
-0.2982410788536072,
-0.3086521625518799,
0.05414695292711258,
0.5465173721313477,
-0.25439244508743286,
-0.26303791999816895,
-0.3450431823730469,
-0.07396981865167618,
0.1644710898399353,
-0.054223187267780304,
-0.08938939869403839,
0.1878187209367752,
0.06199381500482559,
-0.006022315472364426,
-0.03295106068253517,
-0.05089259520173073,
0.36435768008232117,
0.13485106825828552,
-0.03163614124059677,
0.10571019351482391,
0.40763059258461,
-0.12676815688610077,
0.6666991114616394,
0.32846108078956604,
-0.045683447271585464,
0.24722687900066376,
-0.12703780829906464,
0.17558637261390686,
-0.15838095545768738,
-0.6560304164886475,
0.19421367347240448,
0.056137606501579285,
-0.3158110976219177,
0.39211684465408325,
-0.15433084964752197,
-0.30147042870521545,
-0.04417060688138008,
-0.08773254603147507,
-0.2982690930366516,
-0.32375568151474,
0.24037687480449677,
-0.3161092698574066,
0.003868997097015381,
0.05914168432354927,
0.08893889933824539,
-0.3236843943595886,
-0.2555050849914551,
0.25598034262657166,
0.3307647109031677,
-0.04531870037317276,
0.08364573121070862,
-0.15648163855075836,
-0.4462047517299652,
-0.4284185767173767,
0.3058164715766907,
0.1413276195526123,
0.5722836852073669,
-0.1596289873123169,
0.25800663232803345,
0.2854944169521332,
-0.07986557483673096,
0.35819634795188904,
0.08352954685688019,
0.049895960837602615,
0.4329912066459656,
-0.03770212084054947,
-0.16342684626579285,
-0.19533637166023254,
-0.12805162370204926,
0.3442915678024292,
0.32009708881378174,
0.45707881450653076,
-0.3493611812591553,
-0.1722651571035385,
0.06354224681854248,
0.33024609088897705,
-0.2625310719013214,
-0.09199840575456619,
-0.2806193232536316,
-0.6452189087867737,
-0.24790412187576294,
0.321876585483551,
-0.017556775361299515,
0.34327659010887146,
-0.3956819474697113,
0.2510826289653778,
0.10646656900644302,
-0.20531296730041504,
0.012982532382011414,
0.2911107838153839,
0.24964961409568787,
0.22914867103099823,
-0.08330011367797852,
-0.1073465645313263,
-0.09164585173130035,
-0.1410408914089203,
0.3198217749595642,
-0.16673524677753448,
0.39293888211250305,
-0.17736569046974182,
0.0002190088853240013,
0.4391506016254425,
0.5387789011001587,
-0.14674217998981476,
0.15396279096603394,
-0.18123134970664978,
0.005002535879611969,
-0.0803348496556282,
0.25171783566474915,
0.4216462969779968,
-0.1701684445142746,
-0.07313372939825058,
-0.40114113688468933,
0.3698504865169525,
-0.0179282259196043,
-0.24673528969287872,
0.45101818442344666,
0.09670227766036987,
-0.16359509527683258,
0.32676923274993896,
0.08209813386201859,
1.2444180250167847,
-0.028797052800655365,
0.11639490723609924,
0.14744165539741516,
0.26446789503097534,
0.3596752882003784,
0.26386886835098267,
0.15769119560718536,
-0.43775543570518494,
-0.23282447457313538,
0.31531527638435364,
-0.10240726172924042,
-0.0006549209356307983,
-0.03946441411972046,
-0.2734164297580719,
0.23212264478206635,
-0.22695598006248474,
0.3452366590499878,
0.11253631114959717,
0.27693790197372437,
0.08435292541980743,
0.08066895604133606,
-0.4194410443305969,
-0.000468941405415535,
-0.11734256148338318,
0.4881937503814697,
-0.14984580874443054,
-0.10576049983501434,
0.15029260516166687,
-0.31121140718460083,
-0.27415621280670166,
0.032377034425735474,
-0.2828938066959381,
0.2392895668745041,
-0.10822272300720215,
-0.42978882789611816,
0.09910163283348083,
0.26539331674575806,
0.3349502682685852,
0.3772680461406708,
-0.22444431483745575,
0.1475096344947815,
-0.012989722192287445,
-0.10596565902233124,
0.18151140213012695,
-0.024306809529662132,
0.010138340294361115,
-0.2511121332645416,
-0.1514560431241989,
0.010138053447008133,
-0.06676159054040909,
-0.12107159197330475,
-0.15759322047233582,
-0.33651071786880493,
0.18120095133781433,
-0.3419647216796875,
-0.6434767246246338,
-0.19199636578559875,
-0.12404367327690125,
-0.2995961606502533,
-0.02195669710636139,
0.0823182687163353,
-0.10349899530410767,
0.07167499512434006,
0.08647504448890686,
-0.3249428868293762,
0.15200215578079224,
0.14889252185821533,
0.10498315095901489,
-0.3060694932937622,
0.6563612222671509,
-0.14107613265514374,
0.05227147042751312,
-0.10455439239740372,
-0.031904760748147964,
-0.021077478304505348,
-0.5474404692649841,
0.12575076520442963,
0.13698256015777588,
-0.010572105646133423,
-0.024181177839636803,
0.7177574038505554,
0.12879085540771484,
0.3328099250793457,
-0.07376543432474136,
-0.3214779794216156,
-0.344092458486557,
0.13381749391555786,
0.1009826734662056,
0.07574565708637238,
0.1383262276649475,
0.09679083526134491,
0.1965818852186203,
0.3798791170120239,
-0.20573420822620392,
-0.06331457197666168,
-0.2242639809846878,
0.2344314008951187,
0.20229728519916534,
-0.01039591059088707,
0.09897955507040024,
0.041772034019231796,
-0.049076613038778305,
-0.036433637142181396,
0.03824380785226822,
-0.11366518586874008,
-0.1679646521806717,
0.23486781120300293,
-0.05670794099569321,
0.0608491525053978,
0.18232661485671997,
-0.22094374895095825,
0.008898257277905941,
-0.09625445306301117,
-0.018621720373630524,
-0.15532872080802917,
0.08119698613882065,
0.15179920196533203,
0.06327089667320251,
0.10318735241889954,
0.01777629926800728,
0.27365851402282715,
-0.11676770448684692,
0.06344670057296753,
-0.06053925305604935,
0.14557009935379028,
0.16642628610134125,
-0.236756831407547,
-0.07952149957418442,
0.16490569710731506,
0.022692114114761353,
0.2934609055519104,
-0.1889234483242035,
-0.09382478892803192,
0.19380642473697662,
0.09545891731977463,
0.09472215175628662,
0.5071593523025513,
-0.12542930245399475,
0.05773460865020752,
0.27822375297546387,
0.05272727459669113,
-0.27627798914909363,
-0.09739003330469131,
0.0003413967788219452,
0.03813570365309715,
0.018164966255426407,
0.35419270396232605,
0.2215525507926941,
-0.20851480960845947,
0.2208385318517685,
-0.13919872045516968,
0.14240257441997528,
-0.0325629822909832,
0.09997425973415375,
0.43533191084861755,
0.0742952972650528,
-0.046758051961660385,
0.0747387632727623,
-0.08613836765289307,
0.008751839399337769,
-0.07979284226894379,
-0.3503621220588684,
0.5905715227127075,
0.39199861884117126,
0.061683908104896545,
0.028864476829767227,
-0.11401194334030151,
0.15053631365299225,
-0.0020494312047958374,
0.054247573018074036,
0.10494029521942139,
0.029371533542871475,
0.865402340888977,
-0.12528297305107117,
-0.4253343343734741,
-0.10641873627901077,
0.2864539623260498,
-0.1868952512741089,
-0.3824629783630371,
-0.1072954460978508,
-0.20008906722068787,
-0.3992198705673218,
-0.00014024972915649414,
-0.31198474764823914,
0.15049931406974792,
0.41222989559173584,
-0.020411156117916107,
-0.14150315523147583,
-0.35710620880126953,
-0.16088604927062988,
0.253742516040802,
0.1788596510887146,
-0.11314907670021057,
0.45087966322898865,
-0.007119089365005493,
0.16300547122955322,
0.16950243711471558,
0.325203537940979,
0.5685532093048096,
0.365610271692276,
-0.03608841821551323,
-0.3599257171154022,
-0.1010211706161499,
0.10003410279750824,
-0.03700549900531769,
0.21367986500263214,
0.2903828024864197,
0.1065860390663147,
0.07595093548297882,
0.045273877680301666,
-0.13845965266227722,
-0.008002664893865585,
0.013107772916555405,
-0.526792049407959,
-0.007162549067288637,
0.5306095480918884,
0.09278517961502075,
-0.18792980909347534,
-0.23486903309822083,
0.39020445942878723,
-0.27265745401382446,
0.0184691920876503,
0.19442136585712433,
0.17270807921886444,
0.06588783115148544,
-0.12074258923530579,
0.07215314358472824,
0.08952918648719788,
0.5428528189659119,
0.013064932078123093,
0.25799989700317383,
-0.6203924417495728,
-0.35403960943222046,
-0.6949982643127441,
0.21771228313446045,
0.22510837018489838,
-0.136530801653862,
0.2933255136013031,
-0.13765399158000946,
0.13537690043449402,
0.15997260808944702,
0.10429167747497559,
0.09771697223186493,
0.19978749752044678,
-0.18801596760749817,
-0.21202868223190308,
0.13294555246829987,
-0.4118361473083496,
-0.09123492985963821,
0.028178036212921143,
-0.2496013045310974,
0.08714563399553299,
-0.35256245732307434,
0.010739441961050034,
0.014966059476137161,
-0.14802217483520508,
0.26237279176712036,
0.06006552651524544,
-0.0052253976464271545,
0.010869293473660946,
0.6204521656036377,
0.0580529049038887,
-0.12179732322692871,
-0.07113450765609741,
-0.28067195415496826,
-0.019347842782735825,
0.19043797254562378,
-0.01839427277445793,
-0.08680039644241333,
-0.03637006878852844,
0.26792553067207336,
-0.4803553819656372,
0.08322915434837341,
0.1653779298067093,
-0.12824079394340515,
-0.039326123893260956,
0.07240607589483261,
-0.13987195491790771,
0.1970873922109604,
0.2384866327047348,
0.4888356626033783,
0.018793892115354538,
0.22029513120651245,
-0.3831323981285095,
-0.3635699450969696,
0.7915906310081482,
-0.3028051555156708,
-0.3951475918292999,
-0.10612661391496658,
0.3671357333660126,
-0.03205488622188568,
-0.01278163306415081,
-0.42927202582359314,
-0.08291210234165192,
0.13190756738185883,
0.12817269563674927,
-0.12369826436042786,
0.44851070642471313,
-0.05215974524617195,
0.04292953386902809,
0.05366351082921028,
0.34309452772140503,
0.09603387862443924,
0.0992661565542221,
-0.3584251403808594,
-0.22012344002723694
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | I agree that a `.filter` method would be VERY useful and appreciated. I'm not a big fan of using `flatten_nested` as it completely breaks down the structure of the example and it may create bugs. Right now I think it may not work for nested structures. Maybe there's a simpler way that we've not figured out yet. | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 57 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
I agree that a `.filter` method would be VERY useful and appreciated. I'm not a big fan of using `flatten_nested` as it completely breaks down the structure of the example and it may create bugs. Right now I think it may not work for nested structures. Maybe there's a simpler way that we've not figured out yet. | [
-0.05609666556119919,
-0.10347329825162888,
-0.14263072609901428,
-0.2430582195520401,
-0.20948511362075806,
-0.054020922631025314,
0.03244946897029877,
0.3806541860103607,
0.039045657962560654,
-0.09623821079730988,
0.04669701308012009,
0.6652609705924988,
-0.24488426744937897,
0.23072563111782074,
0.13354362547397614,
-0.2836512327194214,
-0.04794526845216751,
0.21784856915473938,
0.40545135736465454,
0.11327061057090759,
-0.18264396488666534,
0.05765601247549057,
-0.15006433427333832,
0.3583648204803467,
0.26706796884536743,
-0.400312602519989,
0.14834341406822205,
0.013749033212661743,
-0.027980828657746315,
-0.39432355761528015,
0.2191380113363266,
0.15435662865638733,
-0.056046124547719955,
0.16989800333976746,
-0.00011462658585514873,
-0.18513259291648865,
0.16153466701507568,
-0.15222910046577454,
-0.21585537493228912,
-0.2304912656545639,
-0.11906309425830841,
-0.15615831315517426,
0.22155733406543732,
-0.12356933951377869,
0.05023302137851715,
-0.019135206937789917,
-0.11905832588672638,
-0.3466092646121979,
0.5729999542236328,
0.09742040187120438,
0.12271693348884583,
-0.013756068423390388,
-0.13186834752559662,
0.24647781252861023,
0.013926997780799866,
0.324432373046875,
-0.08878345042467117,
0.15965215861797333,
0.46145784854888916,
-0.40705522894859314,
0.2730206847190857,
0.488690048456192,
-0.3111419379711151,
-0.1703043133020401,
-0.03203507512807846,
-0.20780177414417267,
0.1771303415298462,
-0.48071035742759705,
-0.0033180564641952515,
0.37512674927711487,
0.2538573145866394,
-0.3195446729660034,
-0.3807344138622284,
-0.5277167558670044,
0.0984235629439354,
-0.3234083950519562,
-0.43329918384552,
0.16335636377334595,
-0.3539170026779175,
0.18209359049797058,
-0.08866866677999496,
-0.037718988955020905,
0.01793738454580307,
0.27810952067375183,
0.40029117465019226,
0.2747628688812256,
-0.01056083757430315,
0.23524603247642517,
0.25637686252593994,
-0.013698495924472809,
0.27918946743011475,
-0.27989429235458374,
0.12985648214817047,
0.42365673184394836,
-0.08200931549072266,
-0.333785742521286,
0.14570105075836182,
0.010444194078445435,
0.13482561707496643,
0.053284283727407455,
0.31868234276771545,
0.2228701412677765,
0.04228205606341362,
0.3845365643501282,
0.27538564801216125,
-0.09451481699943542,
0.5295584797859192,
0.33463728427886963,
-0.0529511496424675,
0.09141143411397934,
-0.08915755897760391,
0.1353434920310974,
0.16042329370975494,
0.02411532774567604,
0.019053440541028976,
-0.043887197971343994,
0.10226741433143616,
0.09721635282039642,
-0.25880879163742065,
-0.14980481564998627,
-0.5468917489051819,
-0.27657434344291687,
0.27516472339630127,
0.12094874680042267,
0.3855355679988861,
-0.003797277808189392,
0.02000810205936432,
0.06432229280471802,
-0.04725528508424759,
0.00810303632169962,
-0.0011188616044819355,
0.03201305493712425,
-0.2544113099575043,
0.018762942403554916,
-0.014845110476016998,
-0.1135779470205307,
0.3029516041278839,
-0.26671797037124634,
-0.06971052289009094,
0.021008849143981934,
0.6228349208831787,
-0.08302050828933716,
0.5659053325653076,
0.15701647102832794,
-0.4139311909675598,
-0.12223619967699051,
0.31796208024024963,
-0.2525891959667206,
-0.2083027958869934,
0.1285819709300995,
-0.3723592162132263,
-0.3931463956832886,
0.028218450024724007,
0.15412141382694244,
-0.14780467748641968,
0.05957034230232239,
-0.26551592350006104,
0.7297564148902893,
0.0715118795633316,
-0.4504525661468506,
0.2040063887834549,
0.11405395716428757,
-0.3243158757686615,
-0.19986169040203094,
0.099122054874897,
0.3835127055644989,
-0.52281254529953,
-0.19210416078567505,
-0.6241293549537659,
-0.12340344488620758,
-0.10842377692461014,
-0.19805367290973663,
-0.42527151107788086,
0.4276856482028961,
-0.07204771041870117,
0.07731923460960388,
0.7757641077041626,
-0.2660713195800781,
-0.22941932082176208,
0.0880022794008255,
0.11822021007537842,
0.2192569226026535,
-0.15018156170845032,
-0.039848651736974716,
0.24437415599822998,
-0.15644089877605438,
-0.1116066575050354,
0.19907695055007935,
-0.16915206611156464,
-0.22409051656723022,
0.08504235744476318,
0.038948290050029755,
0.5049810409545898,
-0.03526961803436279,
-0.1331380158662796,
0.06976760923862457,
0.1542198807001114,
-0.17193087935447693,
0.2644191086292267,
0.07454019039869308,
0.08274718374013901,
-0.035534121096134186,
0.3807574510574341,
-0.1665649563074112,
0.029558520764112473,
-0.5603004097938538,
-0.18638849258422852,
-0.09945234656333923,
-0.11586423963308334,
-0.2894168198108673,
-0.08292500674724579,
-0.2805505394935608,
-0.10911693423986435,
0.12867414951324463,
-0.01786622777581215,
-0.3238847255706787,
0.11045818030834198,
-0.42947331070899963,
0.009560007601976395,
-0.35118937492370605,
-0.27517858147621155,
-0.06535893678665161,
-0.16161879897117615,
0.009026369079947472,
-0.036280740052461624,
0.2731091380119324,
0.30982422828674316,
-0.27819308638572693,
-0.32811468839645386,
0.13866165280342102,
-0.005795568227767944,
0.1159440204501152,
-0.0018641697242856026,
0.3119911849498749,
0.3465730845928192,
-0.16039960086345673,
0.009394180029630661,
-0.01948341727256775,
-0.009776351973414421,
-0.2538413107395172,
0.045955754816532135,
0.2929595708847046,
0.18147066235542297,
0.07481894642114639,
-0.5326536893844604,
0.4977028965950012,
0.2746301293373108,
0.39426445960998535,
0.11995196342468262,
0.08641194552183151,
0.06710529327392578,
-0.02501487545669079,
-0.3049544394016266,
-0.29216885566711426,
-0.21089206635951996,
0.013729140162467957,
0.07002481818199158,
-0.08131910860538483,
-0.15801984071731567,
0.3856925070285797,
0.04267971217632294,
-0.03567463532090187,
0.15434932708740234,
0.3324064016342163,
0.15441414713859558,
-0.07175993919372559,
0.2035088986158371,
0.21199814975261688,
0.43996161222457886,
0.3020530343055725,
-0.1259187012910843,
-0.12238235026597977,
0.29312586784362793,
0.07531358301639557,
0.21365252137184143,
0.2509477138519287,
0.36235037446022034,
-0.14593347907066345,
0.2759093642234802,
0.01975768804550171,
-0.3162038028240204,
-0.3634473979473114,
-0.1307714432477951,
-0.06118490546941757,
-0.06776469945907593,
0.1993374079465866,
0.0195623692125082,
-0.3955220878124237,
-0.03303123638033867,
0.18426918983459473,
0.027506697922945023,
-0.2412746399641037,
0.27723920345306396,
0.08078151941299438,
-0.47047796845436096,
0.25707104802131653,
0.027482599020004272,
0.34118303656578064,
0.0302062276750803,
-0.1693974882364273,
0.05936870723962784,
-0.37680333852767944,
0.03478031978011131,
0.12197411060333252,
-0.04024368152022362,
0.3496662974357605,
0.3572761118412018,
0.3695322573184967,
-0.08295129239559174,
-0.40069958567619324,
-0.660254180431366,
0.1426541954278946,
0.02912946417927742,
0.3126392662525177,
0.24785645306110382,
0.2295769602060318,
-0.44757312536239624,
-0.4599522352218628,
-0.1675761640071869,
-0.09976615011692047,
-0.15196210145950317,
0.011461418122053146,
-0.0283709354698658,
0.32418861985206604,
-0.05736549198627472,
-0.1345834732055664,
-0.42198556661605835,
-0.3462020754814148,
0.1263115257024765,
-0.011581290513277054,
0.34715795516967773,
0.10591255128383636,
0.026985686272382736,
0.07590802013874054,
-0.2860255837440491,
-0.1558235138654709,
-0.06483824551105499,
0.10216203331947327,
-0.07421953976154327,
-0.16669315099716187,
0.2812502682209015,
-0.3325461149215698,
-0.4693338871002197,
-0.14568935334682465,
0.17830343544483185,
-0.07681096345186234,
-0.49508270621299744,
0.1591731756925583,
-0.06819944828748703,
-0.01069376990199089,
0.2612451910972595,
0.4439232349395752,
0.27407974004745483,
-0.10773622989654541,
-0.18260440230369568,
-0.09608684480190277,
0.11167778074741364,
0.16516774892807007,
0.28431931138038635,
0.12096231430768967,
0.33133867383003235,
0.27194714546203613,
0.47461628913879395,
0.41056638956069946,
-0.02879074588418007,
-0.003638133406639099,
0.04338182881474495,
0.09506478160619736,
0.053557705134153366,
-0.15644672513008118,
-0.006149350665509701,
0.09405837953090668,
-0.011401978321373463,
0.040969617664813995,
0.14914029836654663,
-0.39339372515678406,
0.2583640515804291,
-0.13601940870285034,
-0.3305360674858093,
-0.14911743998527527,
0.17714639008045197,
-0.4020780622959137,
0.23953530192375183,
-0.04976912587881088,
-0.2829781174659729,
-0.38942524790763855,
-0.10278210043907166,
-0.18491880595684052,
0.01748669147491455,
0.4381788671016693,
0.04934046417474747,
-0.7358860969543457,
-0.3077731132507324,
0.10809947550296783,
0.21248790621757507,
0.1517253965139389,
0.04669276252388954,
0.008196596056222916,
-0.1768486201763153,
-0.17777733504772186,
0.24821986258029938,
0.5891857743263245,
-0.5503618717193604,
-0.16289250552654266,
-0.021391618996858597,
0.047438494861125946,
-0.5650014281272888,
0.07061077654361725,
-0.12600404024124146,
0.5794681906700134,
0.12262575328350067,
0.3038971424102783,
-0.23248493671417236,
-0.213892862200737,
0.2510371208190918,
0.22588300704956055,
0.02627444639801979,
-0.09664802253246307,
-0.03158663958311081,
-0.2342706024646759,
-0.47793781757354736,
0.24797457456588745,
0.2077825665473938,
-0.10132041573524475,
0.3166339695453644,
-0.2907150089740753,
0.15977272391319275,
-0.0344376415014267,
0.1074114665389061,
0.15044094622135162,
0.3294576108455658,
0.4325525760650635,
-0.1524319350719452,
-0.06782951951026917,
0.013967107981443405,
-0.2288510501384735,
0.32095322012901306,
-0.17802740633487701,
-0.017786912620067596,
-0.156010240316391,
0.1709505319595337,
0.6115708351135254,
0.3908354938030243,
-0.026345636695623398,
0.3583463132381439,
-0.06826380640268326,
0.19178876280784607,
0.1551375836133957,
-0.0994294136762619,
-0.18880288302898407,
0.009023205377161503,
-0.06658485531806946,
-0.41810527443885803,
0.40346428751945496,
0.1155557781457901,
-0.28807738423347473,
0.8313591480255127,
0.04330214485526085,
-0.18345603346824646,
0.5448588132858276,
0.10544729232788086,
0.9592351317405701,
0.207931786775589,
-0.09605942666530609,
0.194707989692688,
0.018061168491840363,
0.4025859236717224,
0.020507603883743286,
0.04615457355976105,
-0.0421697162091732,
-0.021689385175704956,
0.02551504410803318,
-0.11910983920097351,
0.05409868061542511,
0.4788305163383484,
-0.19893598556518555,
0.18644163012504578,
-0.2216581255197525,
0.14623206853866577,
0.3466307520866394,
0.22046223282814026,
-0.02615739218890667,
-0.22408586740493774,
-0.44459670782089233,
0.05464417487382889,
-0.037002645432949066,
-0.2743726670742035,
-0.044132594019174576,
-0.22496916353702545,
0.09654760360717773,
-0.245563343167305,
-0.18122044205665588,
-0.22377634048461914,
-0.39385172724723816,
0.24017104506492615,
0.17561307549476624,
-0.36310386657714844,
0.2863865792751312,
0.2848411202430725,
-0.21876384317874908,
0.13799840211868286,
0.06088842451572418,
0.1055787205696106,
0.36843040585517883,
0.3651697039604187,
0.04819808900356293,
-0.27347031235694885,
0.5166077017784119,
0.0023135915398597717,
-0.20653468370437622,
0.2613058090209961,
-0.1093968003988266,
-0.5176936388015747,
0.16413614153862,
0.20476607978343964,
0.16101865470409393,
-0.1516355723142624,
-0.277438759803772,
0.04985104501247406,
-0.3938470780849457,
-0.11047512292861938,
0.06982704997062683,
0.145962655544281,
-0.21714052557945251,
0.1954617202281952,
0.14902427792549133,
-0.08440358936786652,
0.1596032828092575,
0.0407496839761734,
-0.07164137065410614,
0.05842124670743942,
0.28276777267456055,
-0.056409236043691635,
-0.0808393806219101,
-0.3053989112377167,
0.019185230135917664,
0.14934831857681274,
0.1181342676281929,
0.35764065384864807,
-0.04411955550312996,
-0.23151758313179016,
0.218977153301239,
-0.16680625081062317,
-0.10307911038398743,
0.44517794251441956,
-0.40637484192848206,
-0.49691271781921387,
-0.19658353924751282,
0.24506129324436188,
-0.2525671422481537,
0.08995094895362854,
-0.19695910811424255,
0.07301871478557587,
0.03314037621021271,
0.21835355460643768,
-0.32382237911224365,
0.15713657438755035,
0.06796137243509293,
0.4387415051460266,
0.07671764492988586,
0.3899819850921631,
-0.20315945148468018,
-0.1718166470527649,
-0.03188731148838997,
-0.03667953610420227,
-0.28492262959480286,
-0.2632153034210205,
-0.06995159387588501,
0.13665616512298584,
-0.12040188163518906,
-0.16910770535469055,
0.21522119641304016,
-0.028836674988269806,
0.009721200913190842,
-0.21739326417446136,
0.08569827675819397,
-0.35191330313682556,
-0.011387191712856293,
0.22854094207286835,
-0.19980363547801971,
-0.3315695822238922,
0.20777450501918793,
-0.14152675867080688,
-0.2741733193397522,
0.010794632136821747,
0.0691518485546112,
0.15673643350601196,
0.13967905938625336,
-0.1076592355966568,
0.01109313778579235,
0.08898956328630447,
-0.19896827638149261,
0.1124030128121376,
0.20856189727783203,
0.029949277639389038,
-0.11128105223178864,
0.031533364206552505,
0.17877820134162903,
0.2882801592350006,
-0.12590458989143372,
0.3968757092952728,
-0.10003072768449783,
0.16683484613895416,
-0.4677641987800598,
0.06390281766653061,
0.4856095016002655,
-0.08075777441263199,
0.24249780178070068,
0.10381495952606201,
0.08842907845973969,
0.19155576825141907,
0.16370390355587006,
-0.03794114291667938,
0.23313157260417938,
-0.19497880339622498,
0.45250678062438965,
0.472782701253891,
0.13018780946731567,
-0.08688569068908691,
0.09029915928840637,
-0.03970606252551079,
0.29879671335220337,
-0.09958776831626892,
0.19242900609970093,
0.3420383334159851,
0.30484646558761597,
0.09822262823581696,
0.2576488256454468,
-0.09933726489543915,
0.11373665928840637,
0.15531443059444427,
-0.1124839186668396,
0.08091378211975098,
0.2927969992160797,
0.14726164937019348,
0.12348409742116928,
-0.47722646594047546,
0.290248841047287,
0.12596900761127472,
0.2153148651123047,
0.040161583572626114,
-0.32985207438468933,
-0.07330808788537979,
0.04316936433315277,
-0.27711427211761475,
-0.03201558068394661,
-0.4270821809768677,
0.3616286814212799,
-0.09217417240142822,
0.129352867603302,
-0.17362992465496063,
-0.013264812529087067,
0.10304407775402069,
0.45896756649017334,
-0.3680649995803833,
-0.16712817549705505,
-0.0357736200094223,
-0.019969679415225983,
-0.0483400858938694,
0.23427580296993256,
0.21293258666992188,
0.07968594133853912,
-0.30362340807914734,
0.26723676919937134,
-0.16698814928531647,
-0.17534631490707397,
-0.08607534319162369,
0.02611021138727665,
0.2748439311981201,
-0.22557301819324493,
0.11569340527057648,
0.14357858896255493,
-0.07335231453180313,
0.034315504133701324,
0.4381444454193115,
-0.07704029977321625,
-0.4230489730834961,
0.006658673286437988,
0.3175090551376343,
-0.09865418076515198,
-0.15890467166900635,
0.04080165922641754,
-0.019358471035957336,
0.0340791791677475,
0.661472737789154,
-0.13117116689682007,
0.0741259977221489,
-0.02051839604973793,
0.08863409608602524,
0.03769999369978905,
0.15641139447689056,
0.027898453176021576,
0.2063664197921753,
-0.253971129655838,
-0.02676825225353241,
-0.41616949439048767,
-0.38930150866508484,
-0.1821787804365158,
-0.17017731070518494,
0.36131033301353455,
-0.010463768616318703,
0.256356805562973,
0.48155635595321655,
-0.1484806388616562,
-0.18034860491752625,
-0.10129370540380478,
-0.08894403278827667,
-0.28681454062461853,
-0.1487041413784027,
0.08233211189508438,
0.5041374564170837,
0.07974258065223694,
-0.23409506678581238,
-0.21835212409496307,
-0.3095213770866394,
0.02158600091934204,
0.046444907784461975,
-0.28901490569114685,
0.1679590344429016,
-0.020350418984889984,
0.3317549228668213,
0.18234489858150482,
0.0028996095061302185,
-0.07785624265670776,
0.2475578784942627,
-0.03518466278910637,
-0.0132726039737463,
-0.15443538129329681,
0.27645790576934814,
0.2662786841392517,
0.41097134351730347,
-0.17730340361595154,
-0.08043943345546722,
-0.10226122289896011,
-0.1314888447523117,
0.018660083413124084,
-0.19223761558532715,
-0.3227415680885315,
0.08814909309148788,
0.0938970223069191,
0.23209333419799805,
-0.22766830027103424,
0.3447202146053314,
-0.32464173436164856,
0.014705503359436989,
-0.08240004628896713,
-0.1823236495256424,
0.2591489255428314,
-0.5346397161483765,
-0.3503850996494293,
0.11409296095371246,
0.38472944498062134,
0.18026193976402283,
-0.09418223798274994,
-0.23908093571662903,
-0.2236117124557495,
0.3718205988407135,
-0.24135854840278625,
-0.18131570518016815,
0.1805233657360077,
0.06489057093858719,
-0.004670724272727966,
-0.0337197445333004,
-0.045294709503650665,
0.08678994327783585,
0.01387942023575306,
-0.11933337152004242,
-0.3790102005004883
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
```python
for i in range(num_examples):
example = map_nested(lambda x: x[i], batch)
# ... then test to keep it or not
``` | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 39 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
```python
for i in range(num_examples):
example = map_nested(lambda x: x[i], batch)
# ... then test to keep it or not
``` | [
-0.0955568328499794,
0.030801191926002502,
-0.1630808562040329,
-0.2515919804573059,
-0.19163279235363007,
0.0014017298817634583,
0.07070189714431763,
0.34605345129966736,
0.010609380900859833,
-0.06405620276927948,
0.02545067109167576,
0.7142019271850586,
-0.31173983216285706,
0.14021055400371552,
0.15831807255744934,
-0.23344913125038147,
-0.09632831066846848,
0.24150350689888,
0.32975316047668457,
0.10811580717563629,
-0.18619880080223083,
-0.03177922964096069,
-0.1912904977798462,
0.34266769886016846,
0.2704769968986511,
-0.4399685859680176,
0.1794929951429367,
-0.04832422733306885,
-0.0021892227232456207,
-0.4190770387649536,
0.11575928330421448,
0.11507990956306458,
-0.010634016245603561,
0.15679503977298737,
-0.00011234766861889511,
-0.16928330063819885,
0.1319878250360489,
-0.15057264268398285,
-0.28800860047340393,
-0.2066226452589035,
-0.1907620131969452,
-0.1575712114572525,
0.12013333290815353,
-0.17235800623893738,
0.04038599133491516,
-0.004934284836053848,
-0.07405457645654678,
-0.401574969291687,
0.5687206387519836,
0.149301677942276,
0.15074031054973602,
0.08301638066768646,
-0.15080541372299194,
0.24375131726264954,
0.08143896609544754,
0.26044097542762756,
-0.10469787567853928,
0.13409264385700226,
0.5100562572479248,
-0.4020560085773468,
0.19718089699745178,
0.5649673342704773,
-0.25335702300071716,
-0.17181169986724854,
-0.1172349825501442,
-0.17305666208267212,
0.2639135718345642,
-0.45299023389816284,
-0.0366373285651207,
0.29089048504829407,
0.17249441146850586,
-0.2939774990081787,
-0.3994637727737427,
-0.5132735371589661,
0.05503198131918907,
-0.35813429951667786,
-0.4880838394165039,
0.14673475921154022,
-0.3243473768234253,
0.17636626958847046,
-0.16705475747585297,
-0.015834849327802658,
0.007961131632328033,
0.2858911156654358,
0.35575219988822937,
0.2776687741279602,
0.013093078508973122,
0.2302546501159668,
0.24578891694545746,
-0.06006809324026108,
0.18542025983333588,
-0.20484153926372528,
0.13206590712070465,
0.43512117862701416,
-0.08916866779327393,
-0.27981072664260864,
0.18811821937561035,
0.045306697487831116,
0.17487585544586182,
0.08569274842739105,
0.31124255061149597,
0.20231518149375916,
0.07443125545978546,
0.3195512592792511,
0.28659284114837646,
-0.08824571967124939,
0.5200023055076599,
0.34445616602897644,
0.0011539682745933533,
0.0905720666050911,
-0.11667349934577942,
0.13956329226493835,
0.213807612657547,
-0.08009696751832962,
0.1369885802268982,
-0.0119304358959198,
0.11311906576156616,
0.09742484986782074,
-0.2264779508113861,
-0.1362784206867218,
-0.5158993005752563,
-0.280405193567276,
0.23014159500598907,
0.17605489492416382,
0.38238513469696045,
-0.10373011976480484,
0.017855338752269745,
0.07950456440448761,
-0.03401469439268112,
0.010968604125082493,
-0.03046664595603943,
-0.009448297321796417,
-0.27867060899734497,
-0.003208274021744728,
0.03199164196848869,
-0.07680042088031769,
0.35717159509658813,
-0.31441691517829895,
-0.03655906021595001,
0.06034436076879501,
0.5890045762062073,
-0.05880489572882652,
0.5184313654899597,
0.11849699914455414,
-0.30272626876831055,
-0.11781108379364014,
0.2279132753610611,
-0.2307622730731964,
-0.2173652946949005,
0.05446726083755493,
-0.2290334403514862,
-0.2992815375328064,
0.11145919561386108,
0.1858067363500595,
-0.041721269488334656,
0.04453094303607941,
-0.2885741889476776,
0.6623373627662659,
0.009221851825714111,
-0.4447149336338043,
0.2315043807029724,
0.11222954839468002,
-0.2376439869403839,
-0.24534867703914642,
0.0707322284579277,
0.4106026291847229,
-0.46270716190338135,
-0.11884176731109619,
-0.4631136953830719,
-0.0856163501739502,
-0.1075763925909996,
-0.147011399269104,
-0.3935239613056183,
0.3302416503429413,
-0.09078758955001831,
0.10584868490695953,
0.7950385808944702,
-0.3372202515602112,
-0.2645295262336731,
0.08318629115819931,
0.10474425554275513,
0.16097529232501984,
-0.1890612542629242,
-0.0525188185274601,
0.3002203404903412,
-0.23023296892642975,
-0.08537586033344269,
0.17743881046772003,
-0.23265764117240906,
-0.16077537834644318,
0.1095360666513443,
0.01962260715663433,
0.48228156566619873,
-0.007575711235404015,
-0.12610742449760437,
0.018570266664028168,
0.16432568430900574,
-0.18679144978523254,
0.2819324731826782,
0.004208602011203766,
0.0969187542796135,
-0.0683266669511795,
0.32095175981521606,
-0.22585730254650116,
0.008826009929180145,
-0.5453642010688782,
-0.1847202479839325,
-0.021123763173818588,
-0.13320371508598328,
-0.2868329584598541,
-0.04197421669960022,
-0.28556856513023376,
-0.12665313482284546,
0.10786176472902298,
-0.018801461905241013,
-0.3245670795440674,
0.14539843797683716,
-0.4014063775539398,
0.11442884802818298,
-0.28387686610221863,
-0.21017742156982422,
-0.04544266313314438,
-0.167820543050766,
-0.047201965004205704,
-0.09386037290096283,
0.22064687311649323,
0.2506265342235565,
-0.24464824795722961,
-0.31502193212509155,
0.09798147529363632,
-0.016093946993350983,
0.0599454864859581,
0.010219341143965721,
0.2695960998535156,
0.316581666469574,
-0.07602435350418091,
-0.000780198723077774,
0.05008384585380554,
0.06546001136302948,
-0.2325683981180191,
0.009191017597913742,
0.30034106969833374,
0.191712886095047,
0.07908592373132706,
-0.5459802150726318,
0.515195906162262,
0.2975238263607025,
0.371097594499588,
0.12494173645973206,
0.16880713403224945,
0.16998161375522614,
-0.0758049488067627,
-0.3312181234359741,
-0.25451773405075073,
-0.15627866983413696,
0.00721060112118721,
0.10575248301029205,
-0.11574706435203552,
-0.18034976720809937,
0.33980369567871094,
0.011368963867425919,
-0.10227550566196442,
0.182500958442688,
0.24723950028419495,
0.1266910880804062,
0.022761929780244827,
0.21884828805923462,
0.14162465929985046,
0.40344953536987305,
0.3065536320209503,
-0.09917604923248291,
-0.1462899148464203,
0.23392349481582642,
0.1002574935555458,
0.1910787671804428,
0.22588349878787994,
0.38026732206344604,
-0.13958656787872314,
0.3091939091682434,
-0.005846262909471989,
-0.2672657370567322,
-0.31110265851020813,
-0.06960796564817429,
-0.04611773043870926,
-0.043917737901210785,
0.1770079880952835,
0.011668594554066658,
-0.30113276839256287,
0.0229848250746727,
0.22728267312049866,
0.0890120267868042,
-0.21729807555675507,
0.26428964734077454,
0.08732523024082184,
-0.4167545735836029,
0.27566319704055786,
-0.020434416830539703,
0.2952594757080078,
0.044694364070892334,
-0.2589443624019623,
0.01756291091442108,
-0.39840301871299744,
-0.00057954341173172,
0.15157867968082428,
0.0247996486723423,
0.32883143424987793,
0.43205583095550537,
0.3576851785182953,
-0.11023928970098495,
-0.4662860333919525,
-0.5641517043113708,
0.10673988610506058,
0.055013030767440796,
0.32432591915130615,
0.2383585423231125,
0.14676380157470703,
-0.5028822422027588,
-0.35297027230262756,
-0.19134150445461273,
-0.1751168817281723,
-0.21514038741588593,
-0.04105053469538689,
-0.07785428315401077,
0.3006655275821686,
-0.05371781438589096,
-0.17221924662590027,
-0.43937060236930847,
-0.3495563566684723,
0.16700997948646545,
0.04698765650391579,
0.27830398082733154,
0.08192683011293411,
0.03366726264357567,
0.1062290295958519,
-0.24005058407783508,
-0.17104190587997437,
-0.13195298612117767,
0.21125763654708862,
-0.042575422674417496,
-0.22061367332935333,
0.23039309680461884,
-0.3244709074497223,
-0.4552959203720093,
-0.07699942588806152,
0.2285582274198532,
-0.1119108647108078,
-0.4924277067184448,
0.1425987035036087,
0.05629840865731239,
0.005252331495285034,
0.2799903154373169,
0.4773862957954407,
0.19331347942352295,
-0.10640103369951248,
-0.1555452048778534,
-0.17918331921100616,
0.0816064104437828,
0.19349107146263123,
0.22302468121051788,
0.12036340683698654,
0.3221243619918823,
0.19558614492416382,
0.5539222955703735,
0.3931276798248291,
-0.05753051117062569,
0.01140616089105606,
-0.045902982354164124,
0.07510809600353241,
0.06670483946800232,
-0.19711895287036896,
0.032740216702222824,
0.07024132460355759,
-0.04596831649541855,
-0.01833956688642502,
0.08686063438653946,
-0.43993091583251953,
0.24513140320777893,
-0.12175104022026062,
-0.47189170122146606,
-0.22392182052135468,
0.17407186329364777,
-0.3402300477027893,
0.20304042100906372,
0.0033167023211717606,
-0.19935935735702515,
-0.4396403431892395,
-0.06891252100467682,
-0.12046557664871216,
-0.025931939482688904,
0.440835565328598,
-0.002539853798225522,
-0.7000918388366699,
-0.21400994062423706,
0.0114591084420681,
0.2301109880208969,
0.15770646929740906,
0.06773131340742111,
0.0538172610104084,
-0.15943190455436707,
-0.19210399687290192,
0.151915043592453,
0.6057242155075073,
-0.5985296964645386,
-0.09148083627223969,
0.025014221668243408,
0.02819690853357315,
-0.49828627705574036,
0.07582193613052368,
-0.17733868956565857,
0.6072641611099243,
0.1463351994752884,
0.28660279512405396,
-0.23529765009880066,
-0.19238990545272827,
0.2421228587627411,
0.25214192271232605,
-0.002713538706302643,
0.019838161766529083,
-0.010607998818159103,
-0.24291974306106567,
-0.5457583069801331,
0.22535264492034912,
0.2391396313905716,
-0.13678008317947388,
0.31409239768981934,
-0.2179282158613205,
0.07136324048042297,
0.01591707393527031,
0.16863103210926056,
0.24833790957927704,
0.3423599600791931,
0.4878196120262146,
-0.14595574140548706,
-0.04375164210796356,
-0.015165135264396667,
-0.29179736971855164,
0.326226145029068,
-0.2061871886253357,
-0.069466233253479,
-0.1202520802617073,
0.2185598462820053,
0.5852524042129517,
0.37584367394447327,
-0.021810878068208694,
0.2287970781326294,
-0.13749000430107117,
0.14675943553447723,
0.10368804633617401,
-0.05316343158483505,
-0.09935260564088821,
-0.015360137447714806,
-0.06709863245487213,
-0.354736864566803,
0.40965473651885986,
0.17274238169193268,
-0.3211461007595062,
0.8986900448799133,
-0.014222368597984314,
-0.2069358378648758,
0.644417405128479,
0.156950443983078,
0.9000810980796814,
0.11743777990341187,
-0.020613741129636765,
0.20240095257759094,
0.10092836618423462,
0.4464685916900635,
0.0634300485253334,
0.021905936300754547,
-0.04351164400577545,
0.0698540136218071,
0.06400671601295471,
-0.11405783891677856,
0.019968662410974503,
0.4642656445503235,
-0.18460218608379364,
0.21735389530658722,
-0.2103121131658554,
0.13325296342372894,
0.25955504179000854,
0.21785792708396912,
-0.025114702060818672,
-0.2514398396015167,
-0.47978413105010986,
0.09817546606063843,
0.03360842913389206,
-0.26199784874916077,
-0.08233115077018738,
-0.19228245317935944,
0.05328408256173134,
-0.231006920337677,
-0.20630744099617004,
-0.24936679005622864,
-0.4889146089553833,
0.27579373121261597,
0.14004114270210266,
-0.31625452637672424,
0.1953127384185791,
0.2576947808265686,
-0.22002075612545013,
0.13491526246070862,
0.08047094196081161,
0.10573956370353699,
0.3802185356616974,
0.3227575123310089,
0.04995342344045639,
-0.24281474947929382,
0.43594902753829956,
0.003508433699607849,
-0.1853059083223343,
0.31120356917381287,
-0.14117850363254547,
-0.5048376321792603,
0.09456971287727356,
0.24609191715717316,
0.18195047974586487,
-0.10554236173629761,
-0.2554333806037903,
0.01576368510723114,
-0.42750293016433716,
-0.11361508071422577,
0.06938998401165009,
0.13177219033241272,
-0.21352875232696533,
0.32081344723701477,
0.15449006855487823,
-0.06898334622383118,
0.11809380352497101,
0.04138021916151047,
-0.1314522624015808,
-0.0767153948545456,
0.3087718188762665,
-0.07438784837722778,
-0.0070643350481987,
-0.33433273434638977,
0.03447164595127106,
0.13308243453502655,
0.014326877892017365,
0.34607845544815063,
-0.054198119789361954,
-0.2499786913394928,
0.22805938124656677,
-0.05610490217804909,
-0.019735626876354218,
0.40121909976005554,
-0.320698082447052,
-0.5077657699584961,
-0.23293425142765045,
0.2113155722618103,
-0.1354202926158905,
0.11502119898796082,
-0.14012253284454346,
0.07119439542293549,
-0.04846654832363129,
0.2209520787000656,
-0.34654492139816284,
0.17566102743148804,
0.03207089751958847,
0.42970749735832214,
0.09649176150560379,
0.36715787649154663,
-0.17027676105499268,
-0.14006534218788147,
0.017503971233963966,
0.08791173994541168,
-0.25451305508613586,
-0.30011555552482605,
-0.12171594798564911,
0.11086440086364746,
-0.14434432983398438,
-0.1780620962381363,
0.1783292591571808,
-0.04256318137049675,
0.040853966027498245,
-0.20729002356529236,
0.04884028807282448,
-0.27472418546676636,
0.03460334986448288,
0.1573677361011505,
-0.1194794625043869,
-0.34790998697280884,
0.2666735053062439,
-0.11736869812011719,
-0.25388360023498535,
-0.04467998445034027,
0.07245398312807083,
0.24279186129570007,
0.187296524643898,
-0.14119917154312134,
0.03724565729498863,
-0.008060336112976074,
-0.20197470486164093,
0.12500864267349243,
0.16815185546875,
0.037686385214328766,
-0.14370687305927277,
0.10558098554611206,
0.10884054005146027,
0.33394187688827515,
-0.14115624129772186,
0.3762826919555664,
-0.015983769670128822,
0.20844849944114685,
-0.47316116094589233,
0.022512763738632202,
0.4269200265407562,
-0.07247843593358994,
0.3144221007823944,
0.1455836445093155,
0.018097002059221268,
0.18786409497261047,
0.15369725227355957,
-0.01667006127536297,
0.1744856983423233,
-0.21282394230365753,
0.3543173670768738,
0.4209897220134735,
0.12776580452919006,
-0.15052293241024017,
0.03400262072682381,
0.02916150912642479,
0.36513838171958923,
-0.1862822324037552,
0.08637509495019913,
0.442558616399765,
0.19219717383384705,
0.12026041746139526,
0.2190931737422943,
-0.14934585988521576,
0.10545074939727783,
0.1607619971036911,
-0.11549365520477295,
0.2397877275943756,
0.3445590138435364,
0.1394157111644745,
0.1251128911972046,
-0.4579605460166931,
0.29728153347969055,
0.16318374872207642,
0.17687085270881653,
0.0261673703789711,
-0.3538435697555542,
-0.0704738199710846,
0.0680217295885086,
-0.27527937293052673,
-0.040256235748529434,
-0.41327589750289917,
0.42252352833747864,
-0.05082133412361145,
0.09855426102876663,
-0.1448942869901657,
-0.033343471586704254,
0.07184576988220215,
0.4232121706008911,
-0.3031182587146759,
-0.2587055265903473,
-0.047556161880493164,
-0.01962704211473465,
-0.09395995736122131,
0.2406168282032013,
0.2568347156047821,
0.04207846522331238,
-0.34342142939567566,
0.32308870553970337,
-0.13031791150569916,
-0.13426566123962402,
-0.16102203726768494,
0.018719688057899475,
0.25184017419815063,
-0.27365049719810486,
0.17139793932437897,
0.15317648649215698,
-0.09215866029262543,
0.003104519098997116,
0.40636464953422546,
-0.2148570418357849,
-0.36196279525756836,
-0.0039477720856666565,
0.3161879777908325,
-0.09212585538625717,
-0.17403140664100647,
0.007413759827613831,
-0.0012716986238956451,
0.034764695912599564,
0.5668817162513733,
-0.17861318588256836,
0.13774576783180237,
0.011767813004553318,
0.1022886410355568,
0.016249489039182663,
0.17542877793312073,
0.07977017760276794,
0.2901032865047455,
-0.30136752128601074,
-0.0349457710981369,
-0.5346224308013916,
-0.38798025250434875,
-0.24721097946166992,
-0.2001671940088272,
0.31929489970207214,
0.09998396039009094,
0.2684772312641144,
0.4853675365447998,
-0.10089513659477234,
-0.1845880150794983,
-0.09710413962602615,
-0.02436305582523346,
-0.2909789979457855,
-0.1429416537284851,
0.09061283618211746,
0.4830360412597656,
0.1629096418619156,
-0.3115238845348358,
-0.18356817960739136,
-0.26324307918548584,
0.058058127760887146,
-0.0089595727622509,
-0.28154194355010986,
0.16263295710086823,
0.03377055749297142,
0.35879212617874146,
0.18735194206237793,
-0.060098469257354736,
-0.12348505854606628,
0.17948675155639648,
-0.10046206414699554,
0.051703985780477524,
-0.12669815123081207,
0.14103633165359497,
0.22071436047554016,
0.39921027421951294,
-0.14581473171710968,
-0.04866882041096687,
-0.11316956579685211,
-0.13448944687843323,
0.08519965410232544,
-0.21667484939098358,
-0.3050561547279358,
0.13126514852046967,
0.10639435797929764,
0.24317926168441772,
-0.24105283617973328,
0.3894144892692566,
-0.3414174020290375,
0.09125353395938873,
-0.09839402139186859,
-0.2233206033706665,
0.32036328315734863,
-0.6048060059547424,
-0.3307930827140808,
0.07665751129388809,
0.4215819835662842,
0.14452064037322998,
-0.10387542098760605,
-0.25630515813827515,
-0.2056189477443695,
0.37909621000289917,
-0.21113505959510803,
-0.08682836592197418,
0.11293637752532959,
0.058604590594768524,
-0.02554970048367977,
-0.06656455993652344,
-0.025137804448604584,
0.09983272850513458,
-0.042101968079805374,
-0.07495279610157013,
-0.404945969581604
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | > Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
>
> ```python
> for i in range(num_examples):
> example = map_nested(lambda x: x[i], batch)
> # ... then test to keep it or not
> ```
Awesome I'll check it out :-) | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 52 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
> Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
>
> ```python
> for i in range(num_examples):
> example = map_nested(lambda x: x[i], batch)
> # ... then test to keep it or not
> ```
Awesome I'll check it out :-) | [
-0.10547086596488953,
0.0267164409160614,
-0.16446615755558014,
-0.24542905390262604,
-0.1769239902496338,
-0.0023782849311828613,
0.07869558036327362,
0.3560278117656708,
-0.010266462340950966,
-0.06099826097488403,
0.012925861403346062,
0.7272332310676575,
-0.2981358766555786,
0.1348760426044464,
0.1544630527496338,
-0.21492597460746765,
-0.0960695669054985,
0.24368911981582642,
0.30699461698532104,
0.10049866139888763,
-0.17612053453922272,
-0.03583405166864395,
-0.17818164825439453,
0.32158106565475464,
0.24974556267261505,
-0.440748006105423,
0.1752423793077469,
-0.044914282858371735,
-0.003283035010099411,
-0.42007458209991455,
0.10441945493221283,
0.11939916014671326,
-0.01030561700463295,
0.14453734457492828,
-0.00011110629566246644,
-0.17677047848701477,
0.12844796478748322,
-0.1463640034198761,
-0.29107511043548584,
-0.19068463146686554,
-0.1863842010498047,
-0.158859983086586,
0.12139201909303665,
-0.1788620948791504,
0.036556124687194824,
-0.01886049285531044,
-0.07344243675470352,
-0.36693012714385986,
0.5826063752174377,
0.14711210131645203,
0.164129376411438,
0.08525928854942322,
-0.1644754409790039,
0.2358444780111313,
0.09408358484506607,
0.2536279559135437,
-0.1116333156824112,
0.11356376111507416,
0.4861944615840912,
-0.3937598168849945,
0.18096724152565002,
0.5734029412269592,
-0.2377590537071228,
-0.16288472712039948,
-0.11857890337705612,
-0.1578778475522995,
0.2569814622402191,
-0.4460943341255188,
-0.04233019798994064,
0.30392444133758545,
0.17700785398483276,
-0.2931387722492218,
-0.3973405659198761,
-0.5116313695907593,
0.0704307034611702,
-0.360655814409256,
-0.47861456871032715,
0.16295036673545837,
-0.3139653205871582,
0.1725044846534729,
-0.15895722806453705,
0.02906830981373787,
0.004681997001171112,
0.2779202461242676,
0.35813993215560913,
0.2857673764228821,
-0.00032762298360466957,
0.20903071761131287,
0.2450636774301529,
-0.06280527263879776,
0.18689681589603424,
-0.19916021823883057,
0.11943508684635162,
0.4357014298439026,
-0.10886572301387787,
-0.2937280237674713,
0.178629532456398,
0.05020865797996521,
0.18959766626358032,
0.09501613676548004,
0.31652748584747314,
0.20464128255844116,
0.08297339081764221,
0.32420071959495544,
0.2960647642612457,
-0.08219486474990845,
0.5251485705375671,
0.3294370174407959,
-0.009764358401298523,
0.08754957467317581,
-0.09926483035087585,
0.15160773694515228,
0.19363738596439362,
-0.0938069224357605,
0.12811139225959778,
-0.02850145846605301,
0.10596814751625061,
0.09421391785144806,
-0.25393763184547424,
-0.1393972486257553,
-0.4958159625530243,
-0.261542946100235,
0.22195757925510406,
0.1785997450351715,
0.3660721778869629,
-0.08926964551210403,
-0.011135803535580635,
0.08580009639263153,
-0.03859861567616463,
0.004538378678262234,
-0.04576766863465309,
-0.007247008383274078,
-0.27958813309669495,
-0.011343050748109818,
0.05283660069108009,
-0.061812739819288254,
0.3457294702529907,
-0.2886834740638733,
-0.045984186232089996,
0.06356862932443619,
0.5944216251373291,
-0.05912420153617859,
0.5045800805091858,
0.11053606122732162,
-0.2845616936683655,
-0.11216802150011063,
0.22326511144638062,
-0.22336383163928986,
-0.2147567868232727,
0.061577703803777695,
-0.23100817203521729,
-0.28353938460350037,
0.1052209660410881,
0.20459681749343872,
-0.04946893826127052,
0.03151340410113335,
-0.29313573241233826,
0.6593719720840454,
0.02017708122730255,
-0.4159195125102997,
0.22263264656066895,
0.11452502757310867,
-0.21421372890472412,
-0.2465890794992447,
0.08827246725559235,
0.40456849336624146,
-0.470411092042923,
-0.12799233198165894,
-0.43825992941856384,
-0.09399227797985077,
-0.11666946858167648,
-0.14094696938991547,
-0.3985849916934967,
0.31533029675483704,
-0.08512898534536362,
0.10079813003540039,
0.79677414894104,
-0.35724252462387085,
-0.2794279456138611,
0.08547207713127136,
0.09835542738437653,
0.13995912671089172,
-0.18201863765716553,
-0.03596996143460274,
0.31557098031044006,
-0.21353159844875336,
-0.09634138643741608,
0.20946165919303894,
-0.22328048944473267,
-0.14370542764663696,
0.08931037783622742,
0.00560370646417141,
0.4685860872268677,
0.015767686069011688,
-0.14153210818767548,
-0.00648035854101181,
0.1722852736711502,
-0.18683986365795135,
0.2852710485458374,
0.014338966459035873,
0.10688845068216324,
-0.04721596837043762,
0.3089233934879303,
-0.225851371884346,
0.01763167977333069,
-0.5339970588684082,
-0.2088487446308136,
-0.034070760011672974,
-0.13342970609664917,
-0.27958765625953674,
-0.04612547159194946,
-0.2982279062271118,
-0.130853533744812,
0.10319558531045914,
-0.045362960547208786,
-0.3124164044857025,
0.16430829465389252,
-0.40854018926620483,
0.09906654059886932,
-0.29206693172454834,
-0.20158712565898895,
-0.028793560341000557,
-0.163265198469162,
-0.03380314260721207,
-0.10244625806808472,
0.21204477548599243,
0.2344815582036972,
-0.26889553666114807,
-0.29418420791625977,
0.1005273386836052,
-0.015950873494148254,
0.06485261768102646,
0.008035534992814064,
0.27199992537498474,
0.30325499176979065,
-0.06286628544330597,
-0.004619903862476349,
0.05302518606185913,
0.06051064282655716,
-0.24714894592761993,
0.0195316132158041,
0.2879470884799957,
0.17269304394721985,
0.07292843610048294,
-0.571667492389679,
0.520112156867981,
0.2900976836681366,
0.3806970417499542,
0.12265343964099884,
0.1672225147485733,
0.17565037310123444,
-0.08058503270149231,
-0.33394935727119446,
-0.2732718586921692,
-0.16151925921440125,
0.011231097392737865,
0.12373615801334381,
-0.1052057147026062,
-0.1759200543165207,
0.3753461539745331,
0.023464009165763855,
-0.08358798176050186,
0.17589128017425537,
0.24381804466247559,
0.0982927531003952,
0.009802445769309998,
0.23075199127197266,
0.15660744905471802,
0.37932687997817993,
0.3229575753211975,
-0.104331374168396,
-0.1587269902229309,
0.23094765841960907,
0.09457610547542572,
0.18741177022457123,
0.22218194603919983,
0.36823150515556335,
-0.13848477602005005,
0.3170235753059387,
-0.0001881951466202736,
-0.2815818786621094,
-0.29465916752815247,
-0.07511360943317413,
-0.044561609625816345,
-0.03890560567378998,
0.1766696274280548,
-0.001612924039363861,
-0.3067989647388458,
0.022081945091485977,
0.22315353155136108,
0.06478778272867203,
-0.21647858619689941,
0.26761430501937866,
0.08732269704341888,
-0.41936013102531433,
0.2871403098106384,
-0.025642352178692818,
0.2950562834739685,
0.04433169215917587,
-0.23900248110294342,
0.030656881630420685,
-0.4087960422039032,
-0.00919237732887268,
0.16899485886096954,
0.02270040661096573,
0.33496129512786865,
0.43165892362594604,
0.35079801082611084,
-0.10444062203168869,
-0.45115530490875244,
-0.5584874749183655,
0.10843780636787415,
0.05675506591796875,
0.3233898878097534,
0.2324783205986023,
0.15434086322784424,
-0.5060036182403564,
-0.3552459478378296,
-0.18327663838863373,
-0.17470194399356842,
-0.2219877392053604,
-0.033991895616054535,
-0.0819835439324379,
0.30321598052978516,
-0.058147329837083817,
-0.18336570262908936,
-0.4350300431251526,
-0.3565218448638916,
0.16343826055526733,
0.07064291834831238,
0.28485387563705444,
0.0944410115480423,
0.034590449184179306,
0.11613284051418304,
-0.25136029720306396,
-0.16354122757911682,
-0.13800232112407684,
0.2063090205192566,
-0.023434516042470932,
-0.23188571631908417,
0.20841391384601593,
-0.31851473450660706,
-0.45078080892562866,
-0.07718650996685028,
0.21032580733299255,
-0.10489296168088913,
-0.4666936695575714,
0.12594790756702423,
0.057502519339323044,
-0.013842355459928513,
0.282389372587204,
0.48918259143829346,
0.20483119785785675,
-0.11632692068815231,
-0.1663053184747696,
-0.1655292958021164,
0.08660630136728287,
0.18971842527389526,
0.23308026790618896,
0.09177308529615402,
0.3150310516357422,
0.1945582926273346,
0.5647628903388977,
0.3733474910259247,
-0.05762549862265587,
0.0232199989259243,
-0.033521756529808044,
0.07863020896911621,
0.05843530595302582,
-0.17966866493225098,
0.045458484441041946,
0.07492996752262115,
-0.02764316089451313,
-0.0020097270607948303,
0.09996592253446579,
-0.43325018882751465,
0.2557670474052429,
-0.1074332445859909,
-0.4711771309375763,
-0.21527479588985443,
0.17170920968055725,
-0.3419744074344635,
0.17256830632686615,
0.008777622133493423,
-0.20680683851242065,
-0.4296818673610687,
-0.08333185315132141,
-0.128700390458107,
-0.02714834362268448,
0.4064921438694,
-0.003649267368018627,
-0.7138649225234985,
-0.18497316539287567,
0.010670367628335953,
0.21614998579025269,
0.14256072044372559,
0.05946793407201767,
0.06584246456623077,
-0.16484826803207397,
-0.19716157019138336,
0.146970734000206,
0.6025152206420898,
-0.5738190412521362,
-0.08325573801994324,
0.015229392796754837,
0.056987352669239044,
-0.516730546951294,
0.06397025287151337,
-0.17701731622219086,
0.5833994150161743,
0.13807716965675354,
0.26958104968070984,
-0.23151373863220215,
-0.21495501697063446,
0.2515140473842621,
0.24611921608448029,
-0.003968678414821625,
0.011759513057768345,
-0.011618051677942276,
-0.24145293235778809,
-0.5342037677764893,
0.21919536590576172,
0.25503161549568176,
-0.13687264919281006,
0.2909829914569855,
-0.22083903849124908,
0.061677269637584686,
0.000011611729860305786,
0.15460002422332764,
0.24997533857822418,
0.3558533787727356,
0.4721895456314087,
-0.14123724400997162,
-0.0460943877696991,
0.0027034617960453033,
-0.2756118178367615,
0.3136923015117645,
-0.1902373731136322,
-0.0775301605463028,
-0.11513813585042953,
0.19874992966651917,
0.5711038112640381,
0.36374473571777344,
-0.021578479558229446,
0.2325562834739685,
-0.14709821343421936,
0.15137386322021484,
0.11789398640394211,
-0.044913869351148605,
-0.10471878945827484,
-0.02663479372859001,
-0.04913909360766411,
-0.3414379358291626,
0.4214089512825012,
0.16322040557861328,
-0.3169201910495758,
0.8922836780548096,
-0.015234827995300293,
-0.19372625648975372,
0.6348579525947571,
0.16871050000190735,
0.9078177809715271,
0.14175847172737122,
-0.00555926188826561,
0.2113211452960968,
0.08170250058174133,
0.45457667112350464,
0.06842699646949768,
0.022813789546489716,
-0.06823495030403137,
0.06875645369291306,
0.08098617196083069,
-0.11628060042858124,
0.007025454193353653,
0.4893629550933838,
-0.1871953308582306,
0.21169959008693695,
-0.2368503212928772,
0.1358117014169693,
0.24880850315093994,
0.20512431859970093,
-0.03208354860544205,
-0.27881744503974915,
-0.486560583114624,
0.11171109974384308,
0.028238682076334953,
-0.26938074827194214,
-0.09786345809698105,
-0.19770276546478271,
0.05419551208615303,
-0.23270295560359955,
-0.19504594802856445,
-0.21616262197494507,
-0.48192861676216125,
0.2754998207092285,
0.13993579149246216,
-0.32816827297210693,
0.17753896117210388,
0.25411859154701233,
-0.20002590119838715,
0.12233485281467438,
0.08084908127784729,
0.11979454755783081,
0.3769947290420532,
0.3302452266216278,
0.04684960097074509,
-0.23437055945396423,
0.43157219886779785,
-0.017945945262908936,
-0.19004733860492706,
0.28429117798805237,
-0.12316913902759552,
-0.4805585741996765,
0.12190434336662292,
0.24517744779586792,
0.17822755873203278,
-0.0998978465795517,
-0.24976620078086853,
0.008293524384498596,
-0.4317500591278076,
-0.12649783492088318,
0.08830340206623077,
0.13847848773002625,
-0.2029772698879242,
0.3190685510635376,
0.15485365688800812,
-0.056472048163414,
0.12043042480945587,
0.05434873327612877,
-0.11444740742444992,
-0.07882358133792877,
0.3205936849117279,
-0.06798380613327026,
-0.02098253183066845,
-0.3517566919326782,
0.04789724200963974,
0.1437554806470871,
-0.002740330994129181,
0.32750409841537476,
-0.05252990126609802,
-0.2589351236820221,
0.22848473489284515,
-0.04944949224591255,
-0.03241115063428879,
0.40495824813842773,
-0.3009742796421051,
-0.4954710900783539,
-0.24788501858711243,
0.21880896389484406,
-0.15319496393203735,
0.1170230358839035,
-0.15422773361206055,
0.06325332820415497,
-0.04216710850596428,
0.23042218387126923,
-0.3651389479637146,
0.166836678981781,
0.021657494828104973,
0.4339947998523712,
0.08171617239713669,
0.3340822458267212,
-0.16989555954933167,
-0.138432577252388,
0.031402505934238434,
0.09278924763202667,
-0.2593352794647217,
-0.32092830538749695,
-0.1188557893037796,
0.10217437148094177,
-0.14011427760124207,
-0.1774367094039917,
0.1729118525981903,
-0.025511834770441055,
0.036793652921915054,
-0.1969895213842392,
0.0627022534608841,
-0.28040486574172974,
0.050017714500427246,
0.15582939982414246,
-0.12096919119358063,
-0.3271758556365967,
0.2679978609085083,
-0.1312350481748581,
-0.24682903289794922,
-0.049752891063690186,
0.07997269928455353,
0.22470912337303162,
0.18149980902671814,
-0.14008775353431702,
0.028570104390382767,
0.0014621317386627197,
-0.18644599616527557,
0.11895475536584854,
0.1503051519393921,
0.006039295345544815,
-0.15962298214435577,
0.10315550863742828,
0.1230604499578476,
0.31925949454307556,
-0.1427992433309555,
0.3489600121974945,
-0.004713890142738819,
0.2271643429994583,
-0.4765651226043701,
0.020009875297546387,
0.4291646182537079,
-0.068046435713768,
0.31350240111351013,
0.14579790830612183,
0.01616630330681801,
0.17968830466270447,
0.14635935425758362,
-0.006066380999982357,
0.18174317479133606,
-0.2281494289636612,
0.3698677718639374,
0.3987109065055847,
0.12223227322101593,
-0.15665358304977417,
0.04315970465540886,
0.025076240301132202,
0.3606540560722351,
-0.1936713308095932,
0.07101784646511078,
0.4318019449710846,
0.1870982050895691,
0.09910690039396286,
0.22946694493293762,
-0.14769552648067474,
0.08750689029693604,
0.16491150856018066,
-0.11957652866840363,
0.23734241724014282,
0.33461686968803406,
0.15876305103302002,
0.12375354021787643,
-0.4799470007419586,
0.2816862463951111,
0.14785026013851166,
0.16203299164772034,
0.03081565350294113,
-0.3534720242023468,
-0.07164205610752106,
0.06905141472816467,
-0.28197774291038513,
-0.04714365676045418,
-0.41278982162475586,
0.4041021168231964,
-0.049163028597831726,
0.09657789766788483,
-0.16381379961967468,
-0.009623683989048004,
0.08453252911567688,
0.43307051062583923,
-0.29360881447792053,
-0.23405422270298004,
-0.06026072800159454,
-0.014625780284404755,
-0.10401342809200287,
0.2509174346923828,
0.24123120307922363,
0.055844202637672424,
-0.3328903019428253,
0.31818920373916626,
-0.11819975078105927,
-0.13649433851242065,
-0.159318208694458,
0.012202831916511059,
0.2505217492580414,
-0.29765647649765015,
0.17138458788394928,
0.16599328815937042,
-0.1118842139840126,
0.012020070105791092,
0.4160155653953552,
-0.22193139791488647,
-0.3412071764469147,
-0.026648394763469696,
0.30828770995140076,
-0.1116744875907898,
-0.17231491208076477,
0.017554499208927155,
-0.004792597144842148,
0.01849982514977455,
0.5667368769645691,
-0.17129038274288177,
0.13139256834983826,
-0.017646929249167442,
0.11051386594772339,
0.012257467955350876,
0.20157687366008759,
0.07591690868139267,
0.2781704068183899,
-0.2954028844833374,
-0.03371341526508331,
-0.5440375804901123,
-0.3662154972553253,
-0.2603394389152527,
-0.17593833804130554,
0.3215131461620331,
0.12467058002948761,
0.24725207686424255,
0.4944944977760315,
-0.09039716422557831,
-0.14970529079437256,
-0.09728194773197174,
-0.02380336821079254,
-0.3058721721172333,
-0.12099608778953552,
0.09088015556335449,
0.48297056555747986,
0.15598544478416443,
-0.3176553249359131,
-0.1807611733675003,
-0.26799318194389343,
0.07399740070104599,
-0.0005437601357698441,
-0.27202874422073364,
0.16436485946178436,
0.03811154514551163,
0.3627890348434448,
0.18049325048923492,
-0.07172819972038269,
-0.12106690555810928,
0.16440971195697784,
-0.11421136558055878,
0.03395545110106468,
-0.14945438504219055,
0.13609308004379272,
0.22909697890281677,
0.3956835865974426,
-0.13257546722888947,
-0.04198503866791725,
-0.11042867600917816,
-0.13934019207954407,
0.08963921666145325,
-0.20300202071666718,
-0.2942630350589752,
0.13625892996788025,
0.12615397572517395,
0.26249587535858154,
-0.24514329433441162,
0.37964150309562683,
-0.3271014988422394,
0.08123932033777237,
-0.11225426197052002,
-0.2540507912635803,
0.3091752827167511,
-0.5887868404388428,
-0.32358476519584656,
0.07158295065164566,
0.4341818690299988,
0.15828222036361694,
-0.09958793222904205,
-0.2501128315925598,
-0.1899305284023285,
0.36795344948768616,
-0.21029260754585266,
-0.08398358523845673,
0.11626638472080231,
0.05595315620303154,
-0.031040802597999573,
-0.06070547550916672,
-0.027738027274608612,
0.11286972463130951,
-0.024132924154400826,
-0.07077993452548981,
-0.4177011251449585
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | > Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
>
> ```python
> for i in range(num_examples):
> example = map_nested(lambda x: x[i], batch)
> # ... then test to keep it or not
> ```
Awesome this function is definitely much nicer! | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 53 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
> Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
>
> ```python
> for i in range(num_examples):
> example = map_nested(lambda x: x[i], batch)
> # ... then test to keep it or not
> ```
Awesome this function is definitely much nicer! | [
-0.10048934817314148,
0.027060404419898987,
-0.17076754570007324,
-0.25768131017684937,
-0.17992852628231049,
-0.006016649305820465,
0.07260527461767197,
0.3649135231971741,
-0.0027586184442043304,
-0.05163997411727905,
0.03226825222373009,
0.7255403995513916,
-0.3060394525527954,
0.1320081651210785,
0.1553598791360855,
-0.23081493377685547,
-0.09342757612466812,
0.25340723991394043,
0.31073397397994995,
0.09303733706474304,
-0.1843055933713913,
-0.02952837385237217,
-0.18405181169509888,
0.34032875299453735,
0.2557544708251953,
-0.42765700817108154,
0.18414615094661713,
-0.05511001497507095,
0.007608300074934959,
-0.41186732053756714,
0.09229004383087158,
0.10304640978574753,
-0.027986865490674973,
0.15148526430130005,
-0.0001115468839998357,
-0.18260827660560608,
0.14603106677532196,
-0.13911601901054382,
-0.30047810077667236,
-0.2025614231824875,
-0.1844545304775238,
-0.16097338497638702,
0.12601865828037262,
-0.1711016446352005,
0.038330405950546265,
-0.011237031780183315,
-0.06203857809305191,
-0.3649352192878723,
0.5593819618225098,
0.1456836611032486,
0.16260626912117004,
0.0677771344780922,
-0.1596972793340683,
0.23301392793655396,
0.11372877657413483,
0.27738308906555176,
-0.12149164825677872,
0.12119284272193909,
0.498675137758255,
-0.4082014262676239,
0.19380128383636475,
0.5762619376182556,
-0.25422540307044983,
-0.16396920382976532,
-0.11592284590005875,
-0.1719977706670761,
0.25902828574180603,
-0.4494516849517822,
-0.02308187633752823,
0.2939086854457855,
0.1872929036617279,
-0.30430710315704346,
-0.38952240347862244,
-0.5053836107254028,
0.06583119928836823,
-0.3457622826099396,
-0.4870941638946533,
0.1613694429397583,
-0.317281037569046,
0.17015281319618225,
-0.16883240640163422,
0.03495291620492935,
0.01197776198387146,
0.2862030863761902,
0.3618831932544708,
0.2813873589038849,
-0.006863843649625778,
0.2219904661178589,
0.25473710894584656,
-0.05640438199043274,
0.17019613087177277,
-0.21496158838272095,
0.1263142228126526,
0.4269046187400818,
-0.09623192250728607,
-0.2825556993484497,
0.18704521656036377,
0.05511730909347534,
0.17633387446403503,
0.10085532814264297,
0.29973384737968445,
0.2076984941959381,
0.08347703516483307,
0.31936392188072205,
0.2929988503456116,
-0.08402158319950104,
0.5244518518447876,
0.34397590160369873,
-0.0032262876629829407,
0.07890401780605316,
-0.0917811468243599,
0.1498047411441803,
0.2175392210483551,
-0.09260265529155731,
0.13219395279884338,
-0.03084956854581833,
0.09686753898859024,
0.0907822996377945,
-0.23992638289928436,
-0.14151160418987274,
-0.4971402585506439,
-0.2675442397594452,
0.20858213305473328,
0.18640141189098358,
0.35373860597610474,
-0.09444581717252731,
-0.010720105841755867,
0.07164794206619263,
-0.037582483142614365,
0.019027821719646454,
-0.04660146310925484,
-0.0009014550596475601,
-0.2784373164176941,
-0.007410971447825432,
0.04302502050995827,
-0.06923514604568481,
0.35098084807395935,
-0.30326247215270996,
-0.03293822705745697,
0.06914987415075302,
0.5937013626098633,
-0.06837813556194305,
0.5086359977722168,
0.12192821502685547,
-0.2961670160293579,
-0.10717649012804031,
0.21634089946746826,
-0.21812371909618378,
-0.21644601225852966,
0.06434780359268188,
-0.24197080731391907,
-0.3035978078842163,
0.11573479324579239,
0.2018873542547226,
-0.04124388471245766,
0.03913762792944908,
-0.2873545289039612,
0.6618854999542236,
-0.001935034990310669,
-0.4395911395549774,
0.23380017280578613,
0.11165574193000793,
-0.22606436908245087,
-0.2485627979040146,
0.07717597484588623,
0.4030637741088867,
-0.4638911485671997,
-0.1316261887550354,
-0.448962539434433,
-0.09760396182537079,
-0.09960336238145828,
-0.14760980010032654,
-0.39732006192207336,
0.3291522264480591,
-0.0796831026673317,
0.09093540906906128,
0.813572108745575,
-0.34849613904953003,
-0.2875485122203827,
0.09127290546894073,
0.10777142643928528,
0.15447334945201874,
-0.1883682906627655,
-0.036686841398477554,
0.31015971302986145,
-0.2137618362903595,
-0.09875281155109406,
0.198054701089859,
-0.22891896963119507,
-0.13626548647880554,
0.08824437856674194,
0.01655559055507183,
0.47555220127105713,
0.01952129229903221,
-0.1439843475818634,
-0.006300285458564758,
0.1851090043783188,
-0.20277875661849976,
0.2846425771713257,
0.014102902263402939,
0.1007692962884903,
-0.0486319363117218,
0.323034405708313,
-0.22123925387859344,
0.009731603786349297,
-0.546309769153595,
-0.20169034600257874,
-0.03865120932459831,
-0.10949686169624329,
-0.2713162899017334,
-0.04838278889656067,
-0.29517000913619995,
-0.12446237355470657,
0.1053185686469078,
-0.03794248774647713,
-0.3208984136581421,
0.15414951741695404,
-0.40995532274246216,
0.11223338544368744,
-0.27226200699806213,
-0.19313815236091614,
-0.02627595327794552,
-0.17126725614070892,
-0.04754336550831795,
-0.08867630362510681,
0.20241038501262665,
0.2433662712574005,
-0.2581518888473511,
-0.31864315271377563,
0.10463503003120422,
-0.027122862637043,
0.0590657964348793,
-0.0067284200340509415,
0.2674144208431244,
0.31657281517982483,
-0.07369339466094971,
-0.01035042479634285,
0.06260304898023605,
0.061266906559467316,
-0.24091242253780365,
0.014360520988702774,
0.2888875901699066,
0.17973032593727112,
0.06250562518835068,
-0.5637726783752441,
0.5138425827026367,
0.28793999552726746,
0.37300920486450195,
0.11968328058719635,
0.16229210793972015,
0.16035112738609314,
-0.0644228383898735,
-0.3270549774169922,
-0.2523651123046875,
-0.1527973860502243,
0.015766598284244537,
0.12708036601543427,
-0.09989772737026215,
-0.1665598303079605,
0.354242205619812,
0.03821974992752075,
-0.09955906867980957,
0.180398091673851,
0.2503706216812134,
0.10382634401321411,
0.0009185690432786942,
0.22601602971553802,
0.15174387395381927,
0.3987339735031128,
0.31091779470443726,
-0.10707855224609375,
-0.1521957516670227,
0.23957309126853943,
0.09894689917564392,
0.19207605719566345,
0.22151519358158112,
0.3750041127204895,
-0.15360653400421143,
0.3000035285949707,
0.006218675523996353,
-0.25804781913757324,
-0.3052443861961365,
-0.06947149336338043,
-0.03731359541416168,
-0.029739508405327797,
0.17051738500595093,
0.0033432263880968094,
-0.30475497245788574,
0.026555344462394714,
0.22946789860725403,
0.0723978579044342,
-0.21922674775123596,
0.2612156867980957,
0.08402833342552185,
-0.42445042729377747,
0.27661222219467163,
-0.02332935854792595,
0.30242204666137695,
0.03648989647626877,
-0.259501188993454,
0.027852267026901245,
-0.3988552391529083,
-0.021182812750339508,
0.16357645392417908,
0.013580107130110264,
0.3467017114162445,
0.43403494358062744,
0.34069910645484924,
-0.09473708271980286,
-0.4703224003314972,
-0.5698029398918152,
0.10392565280199051,
0.062994584441185,
0.3173217177391052,
0.24645398557186127,
0.1379401683807373,
-0.5073742270469666,
-0.36045122146606445,
-0.19094082713127136,
-0.18967202305793762,
-0.21625731885433197,
-0.03501182049512863,
-0.09651042520999908,
0.293672651052475,
-0.06858854740858078,
-0.18253940343856812,
-0.4344257116317749,
-0.35356593132019043,
0.17638495564460754,
0.06061509624123573,
0.28628551959991455,
0.08943495154380798,
0.0451766736805439,
0.10672446340322495,
-0.2601124346256256,
-0.15574833750724792,
-0.13492076098918915,
0.20344233512878418,
-0.0461970753967762,
-0.2211248278617859,
0.2139209508895874,
-0.3301764130592346,
-0.4441685080528259,
-0.08697782456874847,
0.2100725769996643,
-0.11909884959459305,
-0.48137980699539185,
0.12323443591594696,
0.06299170851707458,
-0.011453021317720413,
0.29725831747055054,
0.4810313284397125,
0.1982768177986145,
-0.11062224209308624,
-0.15200494229793549,
-0.18628287315368652,
0.06976976990699768,
0.19596552848815918,
0.2329738438129425,
0.10349134355783463,
0.32883790135383606,
0.18915973603725433,
0.5593486428260803,
0.37339404225349426,
-0.054204490035772324,
0.010002579540014267,
-0.04050806909799576,
0.09181849658489227,
0.05193449556827545,
-0.18887467682361603,
0.06103258952498436,
0.07488030195236206,
-0.02874862588942051,
-0.0011424124240875244,
0.0947166308760643,
-0.4387115240097046,
0.24364551901817322,
-0.11178453266620636,
-0.46935033798217773,
-0.2143242210149765,
0.17193877696990967,
-0.337802529335022,
0.17382743954658508,
0.007079657167196274,
-0.1988658607006073,
-0.4363778531551361,
-0.07455605268478394,
-0.11925062537193298,
-0.019065983593463898,
0.41492950916290283,
0.00071206089342013,
-0.7109605669975281,
-0.18531376123428345,
0.018489036709070206,
0.2120106965303421,
0.15180471539497375,
0.04705936834216118,
0.05551962926983833,
-0.17177313566207886,
-0.20047877728939056,
0.15381155908107758,
0.6016504764556885,
-0.5858896970748901,
-0.09746821224689484,
0.014370903372764587,
0.03881969302892685,
-0.5049979090690613,
0.06933283805847168,
-0.18406198918819427,
0.5893997550010681,
0.14378486573696136,
0.27027684450149536,
-0.22494938969612122,
-0.2175012081861496,
0.259998083114624,
0.2556198239326477,
-0.003481518477201462,
0.011196930892765522,
-0.025022365152835846,
-0.24057242274284363,
-0.5336906313896179,
0.21244600415229797,
0.2447902411222458,
-0.1361103653907776,
0.29102540016174316,
-0.2166948914527893,
0.07815533131361008,
0.010693471878767014,
0.14878669381141663,
0.25008368492126465,
0.34204697608947754,
0.46773600578308105,
-0.1440030038356781,
-0.046576038002967834,
-0.003234490752220154,
-0.28606897592544556,
0.3116168677806854,
-0.20306022465229034,
-0.0820372998714447,
-0.1037372276186943,
0.20906780660152435,
0.5852784514427185,
0.365477979183197,
-0.007733827922493219,
0.21909987926483154,
-0.1455719918012619,
0.16099418699741364,
0.11451316624879837,
-0.05012442171573639,
-0.09030508995056152,
-0.02335408702492714,
-0.0553661473095417,
-0.3483726680278778,
0.41082972288131714,
0.17422160506248474,
-0.31369078159332275,
0.9042373895645142,
-0.002980440855026245,
-0.17545820772647858,
0.6300615072250366,
0.15290889143943787,
0.9204296469688416,
0.13027921319007874,
-0.000663120299577713,
0.20045387744903564,
0.07368090748786926,
0.4659328758716583,
0.06904473900794983,
0.019492723047733307,
-0.06519561260938644,
0.05818718671798706,
0.08129998296499252,
-0.12031382322311401,
0.010187923908233643,
0.47409266233444214,
-0.1879338026046753,
0.22274748980998993,
-0.21190369129180908,
0.15038861334323883,
0.2640518844127655,
0.20891043543815613,
-0.019811129197478294,
-0.2715316712856293,
-0.46407678723335266,
0.11016516387462616,
0.038230229169130325,
-0.2674904465675354,
-0.09879423677921295,
-0.19914360344409943,
0.0675375759601593,
-0.22864428162574768,
-0.1939602941274643,
-0.2188911736011505,
-0.4780248701572418,
0.2810595631599426,
0.1509561389684677,
-0.3139108419418335,
0.18573574721813202,
0.24506162106990814,
-0.22246034443378448,
0.14619919657707214,
0.08191961795091629,
0.11175145208835602,
0.38016650080680847,
0.34834960103034973,
0.04752928763628006,
-0.23736001551151276,
0.428106427192688,
-0.014845471829175949,
-0.20209816098213196,
0.29913368821144104,
-0.1439136266708374,
-0.5050461888313293,
0.10863077640533447,
0.24866025149822235,
0.1865757405757904,
-0.0909256786108017,
-0.259365051984787,
0.01778148114681244,
-0.4401858150959015,
-0.12076766788959503,
0.08467170596122742,
0.13203173875808716,
-0.19143284857273102,
0.3209664523601532,
0.16424067318439484,
-0.08229425549507141,
0.10715685784816742,
0.03885975480079651,
-0.13345909118652344,
-0.09215196967124939,
0.3084873557090759,
-0.08515647798776627,
-0.024106860160827637,
-0.3518727421760559,
0.04226401448249817,
0.14380326867103577,
0.007196687161922455,
0.3240512013435364,
-0.06171285733580589,
-0.25405871868133545,
0.24202144145965576,
-0.05574159696698189,
-0.03378816694021225,
0.40546685457229614,
-0.3125373423099518,
-0.49182069301605225,
-0.23657402396202087,
0.22029761970043182,
-0.14111600816249847,
0.11406180262565613,
-0.14890103042125702,
0.06097085028886795,
-0.034095436334609985,
0.2229006290435791,
-0.3605744540691376,
0.17398186028003693,
0.03176652640104294,
0.43028053641319275,
0.08205447345972061,
0.34847602248191833,
-0.17338836193084717,
-0.13120625913143158,
0.03009791113436222,
0.09728475660085678,
-0.2630821764469147,
-0.31483492255210876,
-0.11790522933006287,
0.1071251854300499,
-0.1459481120109558,
-0.16669198870658875,
0.16705554723739624,
-0.0322951078414917,
0.030736437067389488,
-0.2031133472919464,
0.062049057334661484,
-0.2798529267311096,
0.03649762645363808,
0.15854620933532715,
-0.12170308828353882,
-0.3297402262687683,
0.270815908908844,
-0.11871720850467682,
-0.2638935446739197,
-0.03468143939971924,
0.07406854629516602,
0.2254803478717804,
0.19378222525119781,
-0.13738702237606049,
0.02674575336277485,
-0.009460702538490295,
-0.1837342232465744,
0.12229693681001663,
0.16032779216766357,
0.021175149828195572,
-0.1433998942375183,
0.10073360055685043,
0.10941939055919647,
0.3117870092391968,
-0.14479386806488037,
0.352626770734787,
-0.006672579795122147,
0.21995310485363007,
-0.4703758955001831,
0.010123174637556076,
0.41849225759506226,
-0.060135483741760254,
0.30745652318000793,
0.13862359523773193,
0.016094926744699478,
0.19819951057434082,
0.16946406662464142,
-0.021825911477208138,
0.17874635756015778,
-0.23064656555652618,
0.3602197766304016,
0.4135918617248535,
0.12455712258815765,
-0.1547272503376007,
0.04034322500228882,
0.01724795252084732,
0.34859633445739746,
-0.1887410432100296,
0.08330301940441132,
0.4365098178386688,
0.18383479118347168,
0.10911335051059723,
0.23156067728996277,
-0.1467270851135254,
0.10955671966075897,
0.17268233001232147,
-0.14534911513328552,
0.23203110694885254,
0.33672305941581726,
0.12719205021858215,
0.1099490225315094,
-0.46302300691604614,
0.28842008113861084,
0.13195741176605225,
0.16805073618888855,
0.043907538056373596,
-0.3361690044403076,
-0.07467463612556458,
0.05936330556869507,
-0.27027222514152527,
-0.049494098871946335,
-0.402304470539093,
0.4323035180568695,
-0.05322825908660889,
0.08838152140378952,
-0.14959688484668732,
-0.033804409205913544,
0.07098221778869629,
0.44427645206451416,
-0.2941778600215912,
-0.26616567373275757,
-0.06558431684970856,
-0.017458997666835785,
-0.11136658489704132,
0.2550329864025116,
0.2528946101665497,
0.06588292121887207,
-0.33782655000686646,
0.3085261285305023,
-0.12200580537319183,
-0.13352788984775543,
-0.15211676061153412,
0.008609112352132797,
0.2563983201980591,
-0.29435715079307556,
0.16224324703216553,
0.1646939069032669,
-0.10447969287633896,
0.006729252636432648,
0.41591134667396545,
-0.21902213990688324,
-0.35561686754226685,
-0.014109104871749878,
0.30076277256011963,
-0.10441012680530548,
-0.17956772446632385,
0.04152442142367363,
-0.0058082155883312225,
0.024174988269805908,
0.5679234862327576,
-0.17403952777385712,
0.1239762231707573,
-0.015570761635899544,
0.10830014944076538,
0.025955574586987495,
0.2027478963136673,
0.08223923295736313,
0.29042860865592957,
-0.2923347055912018,
-0.0418313592672348,
-0.5361956357955933,
-0.35909605026245117,
-0.2549532353878021,
-0.16981177031993866,
0.31714385747909546,
0.11373572051525116,
0.25685182213783264,
0.4912908673286438,
-0.10113134980201721,
-0.15655001997947693,
-0.09331680089235306,
-0.039685897529125214,
-0.30346405506134033,
-0.12534071505069733,
0.0941765233874321,
0.47483760118484497,
0.15489134192466736,
-0.32589003443717957,
-0.1774430274963379,
-0.27131882309913635,
0.07416167110204697,
-0.01695333793759346,
-0.2666376829147339,
0.1601429283618927,
0.05929802358150482,
0.368552029132843,
0.18100735545158386,
-0.07991503179073334,
-0.12867093086242676,
0.15388107299804688,
-0.09380054473876953,
0.05264507979154587,
-0.1222139373421669,
0.14705516397953033,
0.21279016137123108,
0.37772807478904724,
-0.1233506128191948,
-0.0479440875351429,
-0.10883694887161255,
-0.1414627879858017,
0.09542587399482727,
-0.19363774359226227,
-0.2996775209903717,
0.1232835128903389,
0.13503122329711914,
0.24654647707939148,
-0.2518562376499176,
0.37623128294944763,
-0.3341449201107025,
0.06865405291318893,
-0.10974343866109848,
-0.22123028337955475,
0.3104410171508789,
-0.5813930034637451,
-0.32466891407966614,
0.06472460180521011,
0.42769086360931396,
0.14721065759658813,
-0.09473435580730438,
-0.25891393423080444,
-0.1983833611011505,
0.37547269463539124,
-0.20938429236412048,
-0.08942855894565582,
0.12641233205795288,
0.05237172916531563,
-0.027694035321474075,
-0.06161649525165558,
-0.01323101669549942,
0.09187561273574829,
-0.030418643727898598,
-0.05950479581952095,
-0.41362202167510986
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | Actually I just realized that `map_nested` might not work either as it applies the function at the very last list of the structure. However we can imagine that a single example has also a list in its structure:
```python
one_example = {
"title": "blabla",
"paragraphs": [
"p1", "p2", ...
]
}
``` | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 52 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
Actually I just realized that `map_nested` might not work either as it applies the function at the very last list of the structure. However we can imagine that a single example has also a list in its structure:
```python
one_example = {
"title": "blabla",
"paragraphs": [
"p1", "p2", ...
]
}
``` | [
-0.09878499060869217,
-0.057651713490486145,
-0.1670852154493332,
-0.22292007505893707,
-0.1741214245557785,
0.01555904746055603,
0.008063845336437225,
0.3827851712703705,
0.18992868065834045,
-0.06759420037269592,
-0.007705927826464176,
0.6965981721878052,
-0.30934378504753113,
0.2118263840675354,
0.21375107765197754,
-0.29013413190841675,
-0.0810156837105751,
0.17958970367908478,
0.333710253238678,
0.06396923959255219,
-0.18106916546821594,
0.040642980486154556,
-0.18254612386226654,
0.33019185066223145,
0.3790140151977539,
-0.3860492408275604,
0.13345663249492645,
0.01048639789223671,
0.02632320672273636,
-0.2932252883911133,
0.26496487855911255,
0.0890507698059082,
-0.0776895135641098,
0.1754375398159027,
-0.00011186079791514203,
-0.14647497236728668,
0.13653382658958435,
-0.16426730155944824,
-0.19053152203559875,
-0.3814215660095215,
-0.14685948193073273,
-0.17440783977508545,
0.08208155632019043,
-0.13914018869400024,
0.04559857398271561,
-0.031331658363342285,
-0.060010626912117004,
-0.4070717394351959,
0.5217726826667786,
0.16016831994056702,
0.15069279074668884,
-0.024695880711078644,
-0.07427258789539337,
0.2325480729341507,
0.09694012254476547,
0.313321977853775,
-0.08027227967977524,
0.15472286939620972,
0.47885748744010925,
-0.4090530276298523,
0.28648310899734497,
0.4862830936908722,
-0.3415636420249939,
-0.20353123545646667,
-0.01292315125465393,
-0.15174221992492676,
0.11906926333904266,
-0.4467863440513611,
-0.03914329409599304,
0.3404277265071869,
0.2557809352874756,
-0.3572160005569458,
-0.3567352294921875,
-0.46664169430732727,
-0.024327252060174942,
-0.3484574854373932,
-0.3895375430583954,
0.12171567231416702,
-0.29454538226127625,
0.14759689569473267,
-0.13441166281700134,
-0.029582949355244637,
0.11976270377635956,
0.33963268995285034,
0.3629261553287506,
0.2834209203720093,
-0.012615232728421688,
0.24725958704948425,
0.29442286491394043,
-0.10717470943927765,
0.23595759272575378,
-0.33861443400382996,
0.17033155262470245,
0.5158123970031738,
-0.05019719526171684,
-0.3073878884315491,
0.1944832056760788,
0.06009781360626221,
0.10789112001657486,
0.0062575563788414,
0.3108372688293457,
0.15101400017738342,
-0.036541469395160675,
0.4022304117679596,
0.28264132142066956,
-0.07783563435077667,
0.4399694502353668,
0.39621734619140625,
-0.0646185651421547,
0.05976695194840431,
-0.09430323541164398,
0.10110478848218918,
0.2336782068014145,
0.01780690997838974,
-0.041850436478853226,
-0.10270047932863235,
0.05387134104967117,
0.1369212418794632,
-0.26129963994026184,
-0.1446334719657898,
-0.6001363396644592,
-0.2348780483007431,
0.24412131309509277,
0.1330728828907013,
0.44136592745780945,
-0.1061483696103096,
0.0762844905257225,
-0.018950853496789932,
0.019617484882473946,
0.16165293753147125,
-0.0057037584483623505,
0.045798469334840775,
-0.213956817984581,
0.020189115777611732,
-0.02059643529355526,
-0.12729492783546448,
0.31950950622558594,
-0.2547369599342346,
-0.06375199556350708,
0.08053305745124817,
0.5472698211669922,
-0.14785364270210266,
0.5183672308921814,
0.17381080985069275,
-0.3501288592815399,
-0.11264102160930634,
0.2612430453300476,
-0.27082470059394836,
-0.2575632631778717,
0.08966925740242004,
-0.29962047934532166,
-0.3113096356391907,
0.1474221795797348,
0.1687317043542862,
-0.07797397673130035,
0.05571596696972847,
-0.3104570209980011,
0.7168500423431396,
0.09983740746974945,
-0.5001844763755798,
0.18722811341285706,
0.11191866546869278,
-0.4100465178489685,
-0.18481947481632233,
0.02241814322769642,
0.34352487325668335,
-0.4678956866264343,
-0.18852221965789795,
-0.6384748220443726,
-0.027189821004867554,
-0.12119761854410172,
-0.14141733944416046,
-0.392201691865921,
0.5080714225769043,
-0.08609873056411743,
0.16325612366199493,
0.7772592306137085,
-0.27319690585136414,
-0.23141968250274658,
0.13331758975982666,
0.12917016446590424,
0.2903108596801758,
-0.25195321440696716,
-0.034340593963861465,
0.22486093640327454,
-0.22108586132526398,
-0.06746244430541992,
0.20747293531894684,
-0.13569073379039764,
-0.20980723202228546,
0.184805229306221,
0.07447068393230438,
0.4781638979911804,
-0.0242393147200346,
-0.199563667178154,
0.07168927788734436,
0.10910939425230026,
-0.16958151757717133,
0.2377619743347168,
0.009732309728860855,
0.09497836977243423,
0.027787476778030396,
0.36103054881095886,
-0.16111983358860016,
-0.03077336773276329,
-0.5926176309585571,
-0.2237841784954071,
-0.05254898592829704,
0.023075859993696213,
-0.289449006319046,
-0.14054229855537415,
-0.2321319878101349,
-0.008449741639196873,
0.09449303895235062,
0.04428654909133911,
-0.34125789999961853,
0.13867449760437012,
-0.39273276925086975,
-0.014151317998766899,
-0.3709365725517273,
-0.22586412727832794,
-0.061858341097831726,
-0.062351204454898834,
-0.004910237621515989,
-0.11808115243911743,
0.24270053207874298,
0.3362203538417816,
-0.23987407982349396,
-0.3174056112766266,
0.09517980366945267,
0.013706188648939133,
0.06376992166042328,
0.04594678431749344,
0.23255065083503723,
0.3637619912624359,
-0.1357533186674118,
-0.030181072652339935,
0.02719065546989441,
-0.019358517602086067,
-0.21347510814666748,
0.014976425096392632,
0.3489122688770294,
0.21488472819328308,
0.04341544955968857,
-0.5534271001815796,
0.47249317169189453,
0.3535916805267334,
0.39498424530029297,
0.1393471658229828,
0.16381590068340302,
0.112214595079422,
-0.0797559916973114,
-0.23966746032238007,
-0.27218887209892273,
-0.14575044810771942,
0.07755404710769653,
0.16573908925056458,
-0.06773387640714645,
-0.16565127670764923,
0.28537169098854065,
0.09978269785642624,
-0.020490067079663277,
0.18080255389213562,
0.2943969666957855,
0.16944706439971924,
-0.043209053575992584,
0.22362273931503296,
0.10242971777915955,
0.43685460090637207,
0.24609066545963287,
-0.1016741544008255,
-0.013106277212500572,
0.27392417192459106,
0.10333950817584991,
0.1949247419834137,
0.1851942092180252,
0.3742249310016632,
-0.17062246799468994,
0.32260721921920776,
-0.0120738809928298,
-0.2530444860458374,
-0.4013838469982147,
-0.12685821950435638,
-0.11997732520103455,
-0.031200487166643143,
0.2181837409734726,
-0.02132922038435936,
-0.2952902913093567,
0.031231876462697983,
0.10780724883079529,
0.04499579221010208,
-0.17715640366077423,
0.20912611484527588,
0.08350048959255219,
-0.4911283850669861,
0.23730850219726562,
0.14622925221920013,
0.24389992654323578,
0.028146063908934593,
-0.24802716076374054,
0.06854535639286041,
-0.35720252990722656,
0.09645971655845642,
0.15823931992053986,
-0.0023174015805125237,
0.3841477334499359,
0.24615509808063507,
0.3699670433998108,
-0.10913605988025665,
-0.3754245936870575,
-0.5950819253921509,
0.2038176953792572,
-0.018454570323228836,
0.27762627601623535,
0.2617461085319519,
0.12670639157295227,
-0.4341815710067749,
-0.4105187654495239,
-0.17116914689540863,
-0.010246586985886097,
-0.1482018530368805,
-0.0398716926574707,
-0.02819795347750187,
0.28532344102859497,
-0.09553276002407074,
-0.03957558423280716,
-0.432079941034317,
-0.34246519207954407,
0.22957126796245575,
0.036752428859472275,
0.40151071548461914,
0.032038185745477676,
0.023284759372472763,
0.02594798430800438,
-0.3209816515445709,
-0.14079870283603668,
-0.034565411508083344,
0.11172778904438019,
-0.04368950054049492,
-0.197939932346344,
0.2865736782550812,
-0.3035055100917816,
-0.3993479013442993,
-0.08780935406684875,
0.2580888569355011,
-0.11972744762897491,
-0.4571601450443268,
0.14072412252426147,
-0.08501838147640228,
0.06383019685745239,
0.24344642460346222,
0.45064905285835266,
0.2303442806005478,
-0.11316581070423126,
-0.24998709559440613,
-0.14140468835830688,
0.10944841057062149,
0.157791405916214,
0.22856169939041138,
0.13994932174682617,
0.37216153740882874,
0.23705759644508362,
0.4151574969291687,
0.4569008946418762,
-0.05130687728524208,
-0.02837972342967987,
0.01997670717537403,
0.056047432124614716,
0.05639290809631348,
-0.15578466653823853,
-0.03502136841416359,
0.0600929856300354,
-0.06771906465291977,
-0.003466010093688965,
0.13843858242034912,
-0.4440052807331085,
0.21455755829811096,
-0.12736842036247253,
-0.2897584140300751,
-0.15459759533405304,
0.17297784984111786,
-0.2352963089942932,
0.28722336888313293,
-0.019506076350808144,
-0.27930182218551636,
-0.38806551694869995,
-0.08944591134786606,
-0.10941965878009796,
0.0019810646772384644,
0.45998817682266235,
0.007501283194869757,
-0.6387094855308533,
-0.26970720291137695,
0.14022669196128845,
0.19487264752388,
0.15496249496936798,
-0.061200641095638275,
0.02413949742913246,
-0.20053985714912415,
-0.27473723888397217,
0.18807914853096008,
0.5592479705810547,
-0.5587267279624939,
-0.14325767755508423,
0.00726635567843914,
-0.04593551158905029,
-0.47442153096199036,
0.16729305684566498,
-0.1749027967453003,
0.6100634932518005,
0.1983647346496582,
0.31733429431915283,
-0.25041571259498596,
-0.16109387576580048,
0.16131648421287537,
0.24586014449596405,
0.03566945716738701,
-0.09044767916202545,
0.04302864149212837,
-0.22922953963279724,
-0.4603823721408844,
0.15245559811592102,
0.17181164026260376,
-0.1042914018034935,
0.3984292149543762,
-0.2624209225177765,
0.12768849730491638,
-0.07567495852708817,
0.09113866835832596,
0.11184011399745941,
0.29109594225883484,
0.355263352394104,
-0.09201288223266602,
-0.08069469779729843,
-0.050504714250564575,
-0.21952524781227112,
0.4106407165527344,
-0.195016548037529,
-0.07062633335590363,
-0.20085665583610535,
0.19096150994300842,
0.5406143665313721,
0.28219765424728394,
-0.029939547181129456,
0.29885369539260864,
-0.1741311252117157,
0.13197168707847595,
0.09364952147006989,
-0.14604155719280243,
-0.13682906329631805,
0.07028982788324356,
-0.06643514335155487,
-0.4302395284175873,
0.4123491048812866,
0.17738772928714752,
-0.31022411584854126,
0.8002230525016785,
-0.06811809539794922,
-0.2675621509552002,
0.5015078783035278,
0.07449217885732651,
0.8759830594062805,
0.16871388256549835,
-0.1056947410106659,
0.15247772634029388,
0.12771713733673096,
0.33004212379455566,
0.05062489956617355,
0.0058449869975447655,
-0.024017374962568283,
-0.046528108417987823,
-0.0008294694125652313,
-0.08103933930397034,
0.05376359075307846,
0.46923840045928955,
-0.22216680645942688,
0.19769123196601868,
-0.13756749033927917,
0.1805514544248581,
0.3041008710861206,
0.14801093935966492,
0.03307666629552841,
-0.28516054153442383,
-0.5311743021011353,
0.08254525810480118,
0.06868865340948105,
-0.275657594203949,
-0.02203165553510189,
-0.19880123436450958,
0.07370619475841522,
-0.19837729632854462,
-0.20884767174720764,
-0.18028190732002258,
-0.41707637906074524,
0.2635088562965393,
0.18970201909542084,
-0.2866596281528473,
0.32296222448349,
0.3226385712623596,
-0.2849714756011963,
0.20240168273448944,
0.07296647876501083,
0.052299145609140396,
0.43335428833961487,
0.3898066282272339,
-0.016024934127926826,
-0.3060399293899536,
0.38184109330177307,
0.027785226702690125,
-0.10626528412103653,
0.21445098519325256,
-0.126866415143013,
-0.488544762134552,
0.17638087272644043,
0.15532627701759338,
0.08282671123743057,
-0.10480813682079315,
-0.2769661843776703,
0.12440425157546997,
-0.35455089807510376,
-0.08896622806787491,
0.0820840448141098,
0.12331493943929672,
-0.1783270388841629,
0.17975501716136932,
0.09065525233745575,
-0.056571539491415024,
0.16812852025032043,
0.08259131759405136,
-0.06085202842950821,
0.08206404745578766,
0.2278617024421692,
0.02191035822033882,
-0.1027696430683136,
-0.3128422498703003,
-0.00480521097779274,
0.10949128866195679,
0.14277565479278564,
0.4043031632900238,
-0.06618760526180267,
-0.1752648949623108,
0.14731396734714508,
-0.0446055568754673,
-0.1444505751132965,
0.3681091070175171,
-0.45993849635124207,
-0.5115523338317871,
-0.1591467559337616,
0.28393781185150146,
-0.13353349268436432,
0.028297994285821915,
-0.2071886658668518,
0.12614665925502777,
-0.029998905956745148,
0.252133309841156,
-0.3364608883857727,
0.16557270288467407,
0.09458380192518234,
0.41237062215805054,
0.08171200752258301,
0.4218338429927826,
-0.12142958492040634,
-0.13432727754116058,
-0.006037876009941101,
0.041622817516326904,
-0.3104802966117859,
-0.28043240308761597,
-0.09070703387260437,
0.11314689368009567,
-0.14006969332695007,
-0.19052313268184662,
0.2304801195859909,
-0.0575951486825943,
0.06195123493671417,
-0.28214550018310547,
0.12190471589565277,
-0.30067577958106995,
-0.009106837213039398,
0.15171197056770325,
-0.09468156099319458,
-0.339230477809906,
0.16637973487377167,
-0.15292569994926453,
-0.356825590133667,
-0.08634716272354126,
0.05943359062075615,
0.15413254499435425,
0.11661138385534286,
-0.13202880322933197,
0.09490091353654861,
0.040760334581136703,
-0.20856709778308868,
0.12324902415275574,
0.26065462827682495,
0.08630464971065521,
-0.1001935601234436,
0.06871821731328964,
0.21219944953918457,
0.316500186920166,
-0.19293063879013062,
0.40610450506210327,
-0.14902830123901367,
0.1801449954509735,
-0.4653180241584778,
-0.02832208015024662,
0.455824613571167,
-0.05740012228488922,
0.29148033261299133,
0.0682758092880249,
0.04020356759428978,
0.23159587383270264,
0.12674924731254578,
-0.10271447151899338,
0.2145223319530487,
-0.14926868677139282,
0.34342479705810547,
0.5093830823898315,
0.19487442076206207,
-0.039695944637060165,
0.04708680510520935,
-0.003776364028453827,
0.3331652283668518,
0.0011856891214847565,
0.16087213158607483,
0.344719797372818,
0.3744088113307953,
0.15029121935367584,
0.3403134346008301,
-0.1705310046672821,
0.20253652334213257,
0.15578341484069824,
-0.04511794447898865,
0.06424080580472946,
0.27945834398269653,
-0.02770112454891205,
0.17618902027606964,
-0.37961244583129883,
0.3494541347026825,
0.24969272315502167,
0.22790569067001343,
-0.05383795127272606,
-0.22789618372917175,
-0.0728633925318718,
0.007277742028236389,
-0.26117461919784546,
-0.07340222597122192,
-0.4745829105377197,
0.40956059098243713,
-0.1526620090007782,
0.17688128352165222,
-0.16339239478111267,
-0.08605773746967316,
-0.0015461593866348267,
0.3839530944824219,
-0.3244394361972809,
-0.1416393667459488,
-0.044169023633003235,
-0.02376323938369751,
-0.13456983864307404,
0.22384846210479736,
0.16039365530014038,
0.04910953342914581,
-0.2634536623954773,
0.34450799226760864,
-0.20984987914562225,
-0.17045743763446808,
-0.14602142572402954,
0.0035519618541002274,
0.1532188355922699,
-0.13232745230197906,
0.16123902797698975,
0.14568990468978882,
-0.09797685593366623,
0.09003259241580963,
0.41179898381233215,
-0.028313767164945602,
-0.3877756595611572,
0.060738030821084976,
0.2506634593009949,
-0.022821493446826935,
-0.15534009039402008,
0.017268069088459015,
-0.008538719266653061,
-0.0056231822818517685,
0.7059725522994995,
-0.16013172268867493,
0.11733356863260269,
0.09331122785806656,
0.10147964954376221,
0.044403500854969025,
0.16662243008613586,
-0.008470293134450912,
0.26745304465293884,
-0.1847214549779892,
-0.09213016927242279,
-0.37526217103004456,
-0.3963904082775116,
-0.25618976354599,
-0.21228164434432983,
0.28729623556137085,
-0.037586309015750885,
0.2947126626968384,
0.5047183036804199,
-0.23566235601902008,
-0.20085862278938293,
-0.17991086840629578,
-0.09619101881980896,
-0.2769153416156769,
-0.17862240970134735,
-0.00023966282606124878,
0.43313318490982056,
0.10280708968639374,
-0.2542397379875183,
-0.23392604291439056,
-0.3017879128456116,
0.08445160835981369,
-0.0077491458505392075,
-0.26924246549606323,
0.07366323471069336,
-0.042689040303230286,
0.3397369086742401,
0.14729095995426178,
-0.08644242584705353,
-0.11747188121080399,
0.2069583237171173,
-0.01101633533835411,
0.036216069012880325,
-0.13262824714183807,
0.28101950883865356,
0.22019930183887482,
0.4054047167301178,
-0.2345825582742691,
-0.006916556507349014,
-0.034269705414772034,
-0.21112845838069916,
-0.008674882352352142,
-0.13234646618366241,
-0.30990177392959595,
0.09108616411685944,
0.03988204151391983,
0.16047775745391846,
-0.28035134077072144,
0.3512807786464691,
-0.33889704942703247,
-0.03471735119819641,
-0.010262995958328247,
-0.1811913102865219,
0.3573157787322998,
-0.575420081615448,
-0.33460530638694763,
0.11837255209684372,
0.27955570816993713,
0.08058476448059082,
-0.12403979152441025,
-0.24909737706184387,
-0.21107280254364014,
0.42363590002059937,
-0.24093055725097656,
-0.16078691184520721,
0.10442599654197693,
0.05770605430006981,
-0.006890382617712021,
-0.07214193791151047,
-0.06145632266998291,
0.11633948236703873,
-0.0955725610256195,
-0.16566629707813263,
-0.4235517978668213
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | We'll probably have to take into account the `dset._data.schema` to extract the examples from the batch. | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 16 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
We'll probably have to take into account the `dset._data.schema` to extract the examples from the batch. | [
-0.18204623460769653,
0.020489290356636047,
-0.155917227268219,
-0.34600794315338135,
-0.17005416750907898,
-0.026816479861736298,
0.14037415385246277,
0.36989572644233704,
-0.008167115971446037,
-0.015157371759414673,
0.010095799341797829,
0.6771869659423828,
-0.3519338071346283,
0.15656736493110657,
0.18859009444713593,
-0.219099760055542,
-0.07315117865800858,
0.2780534029006958,
0.25745874643325806,
0.07848106324672699,
-0.15750020742416382,
-0.051066622138023376,
-0.15399740636348724,
0.35376232862472534,
0.16846303641796112,
-0.40089496970176697,
0.2242106795310974,
-0.09303969889879227,
0.038942739367485046,
-0.4547543525695801,
0.06265038251876831,
0.10939212143421173,
0.10150069743394852,
0.09953605383634567,
-0.00011119961709482595,
-0.23821064829826355,
0.07327951490879059,
-0.15864093601703644,
-0.30366694927215576,
-0.15055863559246063,
-0.3005952537059784,
-0.14093300700187683,
0.13133257627487183,
-0.1826389729976654,
0.035534679889678955,
-0.007025579921901226,
-0.049440011382102966,
-0.3017500042915344,
0.5817309021949768,
0.23321808874607086,
0.16842298209667206,
0.08818778395652771,
-0.2298368513584137,
0.21064364910125732,
0.10349678248167038,
0.31295299530029297,
-0.11029403656721115,
0.0937512218952179,
0.4719216823577881,
-0.3651198446750641,
0.1971389353275299,
0.5870229601860046,
-0.2350010871887207,
-0.09452597796916962,
-0.13884535431861877,
-0.09914619475603104,
0.3387783169746399,
-0.42694708704948425,
0.028960159048438072,
0.35352039337158203,
0.25006553530693054,
-0.31565332412719727,
-0.4150184094905853,
-0.4998621642589569,
0.09216495603322983,
-0.37258973717689514,
-0.5177651643753052,
0.1808372288942337,
-0.34853702783584595,
0.18604107201099396,
-0.19131408631801605,
0.1442195624113083,
-0.004295699298381805,
0.19698989391326904,
0.35052305459976196,
0.34521716833114624,
0.024090170860290527,
0.16037029027938843,
0.26575443148612976,
-0.07781346887350082,
0.154534250497818,
-0.17453686892986298,
0.04937126860022545,
0.47853752970695496,
-0.09458661079406738,
-0.31802815198898315,
0.11989745497703552,
0.05726775527000427,
0.19699755311012268,
0.08179230242967606,
0.269067645072937,
0.21210840344429016,
0.12498591840267181,
0.3142210841178894,
0.3069828748703003,
-0.0025400184094905853,
0.5171196460723877,
0.37568050622940063,
-0.007010839879512787,
0.038249388337135315,
-0.08023956418037415,
0.15941283106803894,
0.1440766304731369,
-0.14684100449085236,
0.20556646585464478,
-0.015536904335021973,
0.01055847480893135,
0.10026629269123077,
-0.2999041974544525,
-0.15579871833324432,
-0.37074607610702515,
-0.26482075452804565,
0.14578653872013092,
0.2435394525527954,
0.36058667302131653,
-0.10854769498109818,
-0.03607545793056488,
0.08474431931972504,
-0.06009975075721741,
0.009106789715588093,
-0.02425234019756317,
0.021742893382906914,
-0.28431254625320435,
-0.06450557708740234,
0.07212059199810028,
-0.1023276299238205,
0.36129558086395264,
-0.32068318128585815,
-0.09408149123191833,
0.07971097528934479,
0.5944610834121704,
-0.10890382528305054,
0.536333441734314,
0.14106884598731995,
-0.2569541931152344,
-0.09658102691173553,
0.20501717925071716,
-0.19751180708408356,
-0.2573210299015045,
0.12324079126119614,
-0.2267533242702484,
-0.24103766679763794,
0.06451482325792313,
0.20719344913959503,
-0.07183448225259781,
-0.01751582697033882,
-0.3162625730037689,
0.6298428177833557,
-0.05529197305440903,
-0.35987910628318787,
0.2396177351474762,
0.03755851462483406,
-0.10959450900554657,
-0.24235740303993225,
0.07222003489732742,
0.41077667474746704,
-0.5379284024238586,
-0.22637847065925598,
-0.3680877089500427,
-0.1739165037870407,
-0.08999953418970108,
-0.17092399299144745,
-0.4021562933921814,
0.3418771028518677,
-0.10979712009429932,
0.08570164442062378,
0.7968482971191406,
-0.48125582933425903,
-0.2023714929819107,
0.07232674211263657,
0.05381828546524048,
0.09899470955133438,
-0.1579945683479309,
0.02073279395699501,
0.4147191345691681,
-0.15688665211200714,
-0.10729111731052399,
0.3077520728111267,
-0.254910409450531,
-0.12327007949352264,
0.16689711809158325,
-0.03583253547549248,
0.382108211517334,
0.11686798930168152,
-0.04910148307681084,
0.027340281754732132,
0.20934751629829407,
-0.22870761156082153,
0.2696082293987274,
0.03219909220933914,
0.15789596736431122,
-0.07575942575931549,
0.3028278052806854,
-0.13824552297592163,
0.058516670018434525,
-0.525573194026947,
-0.17997047305107117,
-0.07469350099563599,
-0.060310397297143936,
-0.2961803674697876,
-0.01630157232284546,
-0.35207992792129517,
-0.15932583808898926,
0.09444631636142731,
-0.057240430265665054,
-0.2522978186607361,
0.14041371643543243,
-0.3750757873058319,
0.12497104704380035,
-0.2916584312915802,
-0.22243283689022064,
0.02315373159945011,
-0.058038100600242615,
-0.020993996411561966,
-0.02400340884923935,
0.14166398346424103,
0.22451646625995636,
-0.3139163851737976,
-0.3143761157989502,
0.09572410583496094,
-0.032779380679130554,
0.08683925867080688,
0.03453440964221954,
0.29878339171409607,
0.344765841960907,
-0.06025691330432892,
0.01141737774014473,
0.05538512021303177,
-0.02239793725311756,
-0.2197738140821457,
0.081293985247612,
0.23645922541618347,
0.1668250858783722,
0.13305535912513733,
-0.5577678680419922,
0.5768129229545593,
0.2503969669342041,
0.3430132567882538,
0.11117610335350037,
0.11777625232934952,
0.23250022530555725,
-0.15101101994514465,
-0.3287363052368164,
-0.2775941789150238,
-0.182815283536911,
-0.01253298670053482,
0.13514740765094757,
-0.11228972673416138,
-0.24774275720119476,
0.2984088361263275,
0.0018548965454101562,
-0.12708531320095062,
0.25856009125709534,
0.24289071559906006,
-0.008421622216701508,
0.06614609062671661,
0.1877756118774414,
0.2171478420495987,
0.36836642026901245,
0.3645237982273102,
-0.10205353796482086,
-0.2058725506067276,
0.2878552973270416,
0.07975449413061142,
0.16508617997169495,
0.2115824818611145,
0.31911686062812805,
-0.09100910276174545,
0.2652435302734375,
0.01206170953810215,
-0.2279374897480011,
-0.2858356833457947,
-0.1139560118317604,
-0.06801287829875946,
-0.0793100968003273,
0.19239650666713715,
-0.005660610273480415,
-0.3374346196651459,
-0.0869549810886383,
0.1470102220773697,
0.08892996609210968,
-0.15467485785484314,
0.2874279022216797,
0.020325027406215668,
-0.3961796462535858,
0.27880609035491943,
-0.13240297138690948,
0.3208808898925781,
0.021785473451018333,
-0.25354522466659546,
0.04810778796672821,
-0.3684523105621338,
-0.0856095626950264,
0.18249905109405518,
-0.044007617980241776,
0.39942318201065063,
0.4558522701263428,
0.2791896462440491,
-0.07263932377099991,
-0.45706912875175476,
-0.4299210011959076,
0.08816401660442352,
0.06705453991889954,
0.3568878173828125,
0.2599884569644928,
0.20447313785552979,
-0.48096317052841187,
-0.3606194853782654,
-0.19213977456092834,
-0.1892777532339096,
-0.17009493708610535,
-0.04850384593009949,
-0.11456809937953949,
0.3034058213233948,
-0.03509274870157242,
-0.1873702108860016,
-0.46541547775268555,
-0.3191412389278412,
0.07274459302425385,
0.08661702275276184,
0.30371642112731934,
0.18184304237365723,
0.028596162796020508,
0.13693583011627197,
-0.23882704973220825,
-0.19588002562522888,
-0.0798892006278038,
0.23459962010383606,
0.03449196368455887,
-0.2263842672109604,
0.21372565627098083,
-0.2471112608909607,
-0.4473414421081543,
-0.1648089736700058,
0.2455296814441681,
-0.03218069300055504,
-0.43690037727355957,
0.11813902854919434,
0.046603161841630936,
-0.06559468805789948,
0.31461405754089355,
0.5008524656295776,
0.17373605072498322,
-0.138560488820076,
-0.19939002394676208,
-0.1677183359861374,
0.08832598477602005,
0.1381000280380249,
0.24456986784934998,
0.06682637333869934,
0.3888680636882782,
0.14006169140338898,
0.6174026727676392,
0.21015650033950806,
-0.10885481536388397,
0.02158825844526291,
-0.056980833411216736,
0.09345722943544388,
0.11574183404445648,
-0.07820156216621399,
0.058032091706991196,
0.14072789251804352,
-0.04148033633828163,
0.07901635766029358,
0.08601502329111099,
-0.2989351451396942,
0.22697952389717102,
-0.0842420905828476,
-0.592387318611145,
-0.16953237354755402,
0.17947286367416382,
-0.3320050835609436,
0.18672022223472595,
0.019031889736652374,
-0.22427108883857727,
-0.4282616376876831,
-0.07144589722156525,
-0.18601952493190765,
0.06488671898841858,
0.38854265213012695,
-0.007025757804512978,
-0.7434050440788269,
-0.17626501619815826,
-0.009100884199142456,
0.20659562945365906,
0.14228945970535278,
0.08345948159694672,
0.059375155717134476,
-0.15986067056655884,
-0.21396584808826447,
0.17583617568016052,
0.6624201536178589,
-0.5517602562904358,
0.014249976724386215,
-0.08489947021007538,
0.09226594865322113,
-0.4480048716068268,
0.006602279841899872,
-0.2340278923511505,
0.5117404460906982,
0.1653260439634323,
0.14274433255195618,
-0.19255313277244568,
-0.2762637734413147,
0.3402257561683655,
0.21847954392433167,
-0.017056502401828766,
-0.005813275463879108,
-0.04891097918152809,
-0.2466384470462799,
-0.4784162938594818,
0.3058888018131256,
0.25970470905303955,
-0.1626344472169876,
0.2507176995277405,
-0.23477047681808472,
0.0523492768406868,
0.026296645402908325,
0.16057975590229034,
0.24376599490642548,
0.3485157787799835,
0.5070092082023621,
-0.16766367852687836,
-0.08420991897583008,
0.037027448415756226,
-0.1346699446439743,
0.15887989103794098,
-0.2078959047794342,
-0.15584029257297516,
-0.12241876870393753,
0.10499484837055206,
0.5922166705131531,
0.3255138397216797,
-0.020438168197870255,
0.28634172677993774,
-0.15123391151428223,
0.13163255155086517,
0.16972693800926208,
-0.05196557939052582,
-0.07168418914079666,
-0.02101549133658409,
-0.17155331373214722,
-0.35063037276268005,
0.3877621591091156,
0.16627801954746246,
-0.3055726885795593,
0.7718615531921387,
0.019456207752227783,
-0.23778261244297028,
0.5813409090042114,
0.1503976434469223,
0.888745129108429,
0.10368320345878601,
-0.022560965269804,
0.15346157550811768,
-0.011224143207073212,
0.4820457696914673,
0.19867253303527832,
-0.0020001623779535294,
-0.10299725830554962,
0.11010755598545074,
0.057384125888347626,
-0.13857565820217133,
0.04669611155986786,
0.5544779896736145,
-0.1852894276380539,
0.19730456173419952,
-0.3704630136489868,
0.13551288843154907,
0.23523715138435364,
0.16741225123405457,
-0.025017214938998222,
-0.2887566387653351,
-0.4688229560852051,
0.11022001504898071,
-0.026292912662029266,
-0.2650148570537567,
-0.14254865050315857,
-0.1899706870317459,
0.05245650187134743,
-0.23540210723876953,
-0.19014382362365723,
-0.2044571042060852,
-0.45185548067092896,
0.1663433313369751,
0.16861219704151154,
-0.3133017122745514,
0.14789707958698273,
0.2612527310848236,
-0.07832977175712585,
0.10342970490455627,
0.0743221864104271,
0.17694658041000366,
0.3678379952907562,
0.3668639361858368,
-0.0037756094243377447,
-0.23335860669612885,
0.4856727719306946,
-0.07114074379205704,
-0.21002842485904694,
0.310190349817276,
-0.09922923147678375,
-0.5050963759422302,
0.21156105399131775,
0.24192675948143005,
0.24215024709701538,
-0.1291867196559906,
-0.26113197207450867,
-0.04337058961391449,
-0.37894436717033386,
-0.11041100323200226,
0.09305423498153687,
0.1466960608959198,
-0.1715017408132553,
0.3498428165912628,
0.134613037109375,
-0.08587657660245895,
0.10052213072776794,
0.010608628392219543,
-0.09165403991937637,
-0.16279833018779755,
0.3369341194629669,
-0.06540942192077637,
-0.045571230351924896,
-0.36931583285331726,
-0.009816717356443405,
0.1749040186405182,
-0.0716017335653305,
0.3084893524646759,
0.0404273197054863,
-0.25013864040374756,
0.32846900820732117,
0.0030060894787311554,
-0.056425660848617554,
0.3949832618236542,
-0.3041791319847107,
-0.5056196451187134,
-0.24284683167934418,
0.191992849111557,
-0.16990052163600922,
0.1260138899087906,
-0.12234910577535629,
0.09937843680381775,
-0.031057585030794144,
0.22024722397327423,
-0.3724541962146759,
0.08666738122701645,
0.0354253426194191,
0.5052736401557922,
0.03784450888633728,
0.42542827129364014,
-0.17004410922527313,
-0.10827361047267914,
0.022056972607970238,
0.04544297978281975,
-0.2558755576610565,
-0.34237271547317505,
-0.13986216485500336,
0.10700051486492157,
-0.18519625067710876,
-0.1798572987318039,
0.15535783767700195,
0.013122163712978363,
0.014782968908548355,
-0.1777665764093399,
0.12288913130760193,
-0.18174564838409424,
-0.0008154436945915222,
0.18909212946891785,
0.012833599001169205,
-0.29996347427368164,
0.28220003843307495,
-0.14753685891628265,
-0.21309316158294678,
-0.04643517732620239,
0.07551366090774536,
0.24431192874908447,
0.14715909957885742,
-0.12586107850074768,
-0.027279257774353027,
0.01844031736254692,
-0.011502869427204132,
0.12092705816030502,
0.04625876992940903,
-0.09669800102710724,
-0.18585629761219025,
0.1430969387292862,
0.11399468779563904,
0.27552300691604614,
-0.1428622305393219,
0.3193703293800354,
0.044224537909030914,
0.22174197435379028,
-0.4855947494506836,
-0.034410685300827026,
0.34958094358444214,
-0.13736575841903687,
0.2548951208591461,
0.14587990939617157,
0.01502465084195137,
0.18687665462493896,
0.17078638076782227,
-0.0003970414400100708,
0.19834043085575104,
-0.21743535995483398,
0.3892805576324463,
0.4742339551448822,
0.18385274708271027,
-0.15391992032527924,
0.04088594391942024,
0.0022158250212669373,
0.35309624671936035,
-0.18341970443725586,
0.05505048483610153,
0.4645873010158539,
0.20503342151641846,
0.06041591987013817,
0.162693589925766,
-0.23971499502658844,
0.06738157570362091,
0.1937369704246521,
-0.22827768325805664,
0.2241441011428833,
0.3393580913543701,
0.1383015215396881,
0.14395128190517426,
-0.43262264132499695,
0.20508939027786255,
0.0503414124250412,
0.14470848441123962,
0.04322091490030289,
-0.35142338275909424,
-0.05540298670530319,
0.06413789093494415,
-0.26608261466026306,
-0.024315152317285538,
-0.3183085322380066,
0.2876443862915039,
-0.021806851029396057,
0.0856204628944397,
-0.14246505498886108,
-0.029759973287582397,
0.09154415130615234,
0.34577518701553345,
-0.32480859756469727,
-0.29858866333961487,
-0.17136965692043304,
0.018466152250766754,
0.01558002270758152,
0.2749188542366028,
0.24333786964416504,
0.12006104737520218,
-0.22463354468345642,
0.26063114404678345,
-0.20311051607131958,
-0.1019909679889679,
-0.1475665122270584,
0.03336314857006073,
0.26769205927848816,
-0.30650100111961365,
0.10658574104309082,
0.2004883736371994,
-0.10875412821769714,
-0.00955028086900711,
0.36883068084716797,
-0.28522011637687683,
-0.3426066040992737,
-0.02058687061071396,
0.3394171893596649,
-0.09888359904289246,
-0.24080514907836914,
0.06518517434597015,
0.03850215673446655,
0.053160231560468674,
0.5036980509757996,
-0.1776522845029831,
0.09732112288475037,
0.01731167361140251,
0.10666514933109283,
-0.02666666731238365,
0.1579323261976242,
0.1175132468342781,
0.353452205657959,
-0.28872057795524597,
-0.04427391290664673,
-0.5062359571456909,
-0.37449729442596436,
-0.27318549156188965,
-0.16722725331783295,
0.31351709365844727,
0.08229094743728638,
0.18108537793159485,
0.45160144567489624,
-0.08424052596092224,
-0.013109643012285233,
-0.03208737447857857,
0.054758645594120026,
-0.2211214303970337,
-0.1229657232761383,
-0.006207004189491272,
0.5576638579368591,
0.13030804693698883,
-0.35085129737854004,
-0.18336446583271027,
-0.25902438163757324,
0.07401540130376816,
0.0049033090472221375,
-0.26028555631637573,
0.2541038691997528,
0.0858398973941803,
0.3973359167575836,
0.11185228079557419,
0.04871780052781105,
-0.09671401232481003,
0.22354327142238617,
-0.10419073700904846,
0.03749467059969902,
-0.19166012108325958,
0.07600907236337662,
0.2657475471496582,
0.34901487827301025,
-0.11885832250118256,
-0.000013493001461029053,
-0.08859626948833466,
-0.10623262822628021,
0.09931991994380951,
-0.12267916649580002,
-0.27400726079940796,
0.08172758668661118,
0.12887626886367798,
0.24928852915763855,
-0.17425097525119781,
0.3172912001609802,
-0.28974810242652893,
0.05420234799385071,
-0.16963255405426025,
-0.20744061470031738,
0.24481461942195892,
-0.6154289245605469,
-0.36799827218055725,
-0.1126718819141388,
0.5258817672729492,
0.09415283799171448,
-0.12465346604585648,
-0.25002238154411316,
-0.11215934157371521,
0.35517993569374084,
-0.09433277696371078,
-0.09711211919784546,
0.16493284702301025,
0.008722800761461258,
-0.025923648849129677,
-0.04951003938913345,
-0.052399083971977234,
0.17233514785766602,
0.062169238924980164,
-0.1510002166032791,
-0.45519334077835083
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | > Actually I just realized that `map_nested` might not work either as it applies the function at the very last list of the structure. However we can imagine that a single example has also a list in its structure:
>
> ```python
> one_example = {
> "title": "blabla",
> "paragraphs": [
> "p1", "p2", ...
> ]
> }
> ```
They both work. I'm using it on trivia_qa which is pretty nested. If you use the option `dict_only=True` I think it's fine. | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 84 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
> Actually I just realized that `map_nested` might not work either as it applies the function at the very last list of the structure. However we can imagine that a single example has also a list in its structure:
>
> ```python
> one_example = {
> "title": "blabla",
> "paragraphs": [
> "p1", "p2", ...
> ]
> }
> ```
They both work. I'm using it on trivia_qa which is pretty nested. If you use the option `dict_only=True` I think it's fine. | [
-0.10359960049390793,
-0.1071731299161911,
-0.15190407633781433,
-0.1580623984336853,
-0.18380554020404816,
-0.005122646689414978,
0.05769618973135948,
0.4190957546234131,
0.18125979602336884,
-0.07244190573692322,
-0.014429543167352676,
0.6862779855728149,
-0.2752353549003601,
0.23382796347141266,
0.10473030060529709,
-0.2530696988105774,
-0.048872269690036774,
0.16414695978164673,
0.31964564323425293,
0.0833909660577774,
-0.1746467798948288,
0.04413772374391556,
-0.21453718841075897,
0.28220245242118835,
0.31302976608276367,
-0.40443459153175354,
0.14152206480503082,
0.06259440630674362,
0.07091044634580612,
-0.337384432554245,
0.2502812147140503,
0.13971751928329468,
-0.07902158796787262,
0.13766853511333466,
-0.00010994952026521787,
-0.15165653824806213,
0.13076823949813843,
-0.18831302225589752,
-0.22278325259685516,
-0.36162519454956055,
-0.11364975571632385,
-0.13162407279014587,
0.11436444520950317,
-0.12135767936706543,
0.02075212076306343,
-0.04108021408319473,
-0.08011077344417572,
-0.3921220302581787,
0.5988518595695496,
0.18019801378250122,
0.16792120039463043,
-0.07438614219427109,
-0.10832665115594864,
0.1992311179637909,
0.07707054913043976,
0.25001224875450134,
-0.06314883381128311,
0.13314491510391235,
0.416317880153656,
-0.3209223747253418,
0.23945695161819458,
0.4997645616531372,
-0.34482795000076294,
-0.14919017255306244,
-0.046810805797576904,
-0.14736248552799225,
0.07175137847661972,
-0.46742746233940125,
-0.0013827160000801086,
0.4385627806186676,
0.23555892705917358,
-0.34960871934890747,
-0.37038007378578186,
-0.4985192120075226,
0.0042929211631417274,
-0.3287947177886963,
-0.35123780369758606,
0.07143360376358032,
-0.29964473843574524,
0.1428351253271103,
-0.07021836936473846,
-0.00738297775387764,
0.06406007707118988,
0.3166854977607727,
0.342070072889328,
0.23317654430866241,
-0.01611841470003128,
0.2241133451461792,
0.23845472931861877,
-0.1482464224100113,
0.25795674324035645,
-0.2744906544685364,
0.1283210963010788,
0.4500502943992615,
-0.0872863233089447,
-0.29796481132507324,
0.16140435636043549,
-0.0037247315049171448,
0.12871107459068298,
0.025882462039589882,
0.3122290372848511,
0.17228183150291443,
-0.06591637432575226,
0.38609787821769714,
0.3017728924751282,
-0.06686820089817047,
0.48994672298431396,
0.3393407464027405,
-0.02373940497636795,
0.08618426322937012,
-0.09140236675739288,
0.10470077395439148,
0.17684000730514526,
0.047731880098581314,
-0.07432771474123001,
-0.13493168354034424,
0.09695811569690704,
0.07140123844146729,
-0.33827298879623413,
-0.08547615259885788,
-0.5936037302017212,
-0.19812390208244324,
0.160640150308609,
0.18877702951431274,
0.43245548009872437,
-0.007356051355600357,
0.028628721833229065,
0.06397294998168945,
0.03523644059896469,
0.1593317836523056,
-0.016901519149541855,
0.03587888553738594,
-0.1699611395597458,
0.07825057953596115,
0.017809413373470306,
-0.04568493738770485,
0.3199060559272766,
-0.2348780333995819,
-0.08616553246974945,
0.0607205405831337,
0.49604326486587524,
-0.20030829310417175,
0.5425117611885071,
0.16187910735607147,
-0.3285124897956848,
-0.10158854722976685,
0.27966076135635376,
-0.2837125062942505,
-0.26801738142967224,
0.11738766729831696,
-0.2564352750778198,
-0.28150486946105957,
0.0863332450389862,
0.18441572785377502,
-0.14732389152050018,
0.04104999825358391,
-0.2813553512096405,
0.7488510012626648,
0.13051003217697144,
-0.478826105594635,
0.1922415792942047,
0.08438299596309662,
-0.40645158290863037,
-0.21359044313430786,
0.07709392160177231,
0.3592677712440491,
-0.4948345422744751,
-0.19478456676006317,
-0.6406700015068054,
-0.005134612321853638,
-0.16062772274017334,
-0.09092414379119873,
-0.3385336697101593,
0.4762064516544342,
-0.07566658407449722,
0.21297793090343475,
0.7133657932281494,
-0.36648428440093994,
-0.22989805042743683,
0.09847275912761688,
0.15334481000900269,
0.2988986670970917,
-0.1653975546360016,
-0.07022357732057571,
0.27955207228660583,
-0.20818054676055908,
-0.09207186102867126,
0.170633465051651,
-0.052395790815353394,
-0.21962988376617432,
0.13688567280769348,
0.06032778322696686,
0.4870792627334595,
-0.027264051139354706,
-0.23979197442531586,
0.027584653347730637,
0.06117234751582146,
-0.12194418162107468,
0.21776944398880005,
0.045378636568784714,
0.10252950340509415,
0.06576012074947357,
0.3782254755496979,
-0.17300832271575928,
-0.024540286511182785,
-0.5982375741004944,
-0.2477899193763733,
-0.06088443845510483,
0.027940619736909866,
-0.22775432467460632,
-0.15418292582035065,
-0.24624381959438324,
-0.0502486415207386,
0.08450104296207428,
0.009608231484889984,
-0.3948580026626587,
0.16302306950092316,
-0.3468261659145355,
-0.0370071604847908,
-0.36936742067337036,
-0.27090469002723694,
-0.04630357027053833,
-0.04147128015756607,
-0.0033919638954102993,
-0.1361430585384369,
0.18850843608379364,
0.309013694524765,
-0.28558823466300964,
-0.28136175870895386,
0.1589859127998352,
0.0017866678535938263,
0.12000462412834167,
0.04570058360695839,
0.25783267617225647,
0.37485525012016296,
-0.21916760504245758,
-0.046841226518154144,
-0.040014609694480896,
-0.02605343796312809,
-0.2396194040775299,
0.019836509600281715,
0.32538357377052307,
0.1694696843624115,
0.042539194226264954,
-0.6150600910186768,
0.4517570734024048,
0.37256133556365967,
0.46351760625839233,
0.12292823195457458,
0.13417646288871765,
0.15119336545467377,
-0.06263134628534317,
-0.2431776374578476,
-0.36638709902763367,
-0.19550766050815582,
0.11090286076068878,
0.16034400463104248,
-0.06621573865413666,
-0.17265990376472473,
0.35983848571777344,
0.14933736622333527,
0.014371495693922043,
0.18392521142959595,
0.30229586362838745,
0.08925969898700714,
-0.10386986285448074,
0.24230873584747314,
0.1586180478334427,
0.4063318967819214,
0.2912534773349762,
-0.11014913022518158,
-0.06506157666444778,
0.27639240026474,
0.04249832406640053,
0.19678330421447754,
0.17844510078430176,
0.32881128787994385,
-0.12397197633981705,
0.3523472547531128,
0.012535855174064636,
-0.2321280539035797,
-0.3343581557273865,
-0.1563502997159958,
-0.12875576317310333,
-0.07946299016475677,
0.2098705917596817,
-0.07387061417102814,
-0.3222704827785492,
0.010622585192322731,
0.14923889935016632,
0.009431563317775726,
-0.18277987837791443,
0.26979315280914307,
0.1186305582523346,
-0.4957287013530731,
0.2834276556968689,
0.17363491654396057,
0.23745067417621613,
0.03960021585226059,
-0.23219700157642365,
0.05438026040792465,
-0.4088188111782074,
0.06666268408298492,
0.18943282961845398,
-0.031469881534576416,
0.371198832988739,
0.24859195947647095,
0.40269410610198975,
-0.14307072758674622,
-0.3136427402496338,
-0.571219801902771,
0.19798928499221802,
-0.062055110931396484,
0.2683972418308258,
0.2543436288833618,
0.21334919333457947,
-0.4046897888183594,
-0.4271087050437927,
-0.13809141516685486,
0.01599685661494732,
-0.15213553607463837,
0.013956379145383835,
-0.014560154639184475,
0.31289300322532654,
-0.08093340694904327,
-0.10604613274335861,
-0.3944188356399536,
-0.38907063007354736,
0.27389222383499146,
0.07867024838924408,
0.3904649615287781,
0.07350357621908188,
-0.008017931133508682,
0.03755496069788933,
-0.3029101490974426,
-0.0865866169333458,
-0.07538740336894989,
0.1456364542245865,
-0.020156506448984146,
-0.18622846901416779,
0.26605790853500366,
-0.27654004096984863,
-0.4203426241874695,
-0.03641347959637642,
0.17338807880878448,
-0.13948896527290344,
-0.4309573471546173,
0.14893308281898499,
-0.05133800208568573,
0.06521183997392654,
0.21822825074195862,
0.4794633388519287,
0.2824347913265228,
-0.13462819159030914,
-0.22134581208229065,
-0.078571617603302,
0.16386723518371582,
0.15025098621845245,
0.20637579262256622,
0.11047679930925369,
0.34382185339927673,
0.2415875792503357,
0.4357585310935974,
0.4577604830265045,
0.02991187386214733,
-0.027567096054553986,
0.008517127484083176,
0.07602079212665558,
0.005377352237701416,
-0.09117421507835388,
-0.06282751262187958,
0.06250433623790741,
-0.06101936846971512,
0.0353655144572258,
0.10040531307458878,
-0.3690226972103119,
0.19215409457683563,
-0.10686776041984558,
-0.2796115279197693,
-0.16377383470535278,
0.1599813848733902,
-0.32076990604400635,
0.2073582112789154,
-0.052992939949035645,
-0.23015755414962769,
-0.2775332033634186,
-0.15945377945899963,
-0.13477136194705963,
-0.10949400067329407,
0.42327916622161865,
-0.03408779203891754,
-0.5973373651504517,
-0.26779159903526306,
0.10659462213516235,
0.2311226725578308,
0.11459479480981827,
0.006886756047606468,
0.04354340210556984,
-0.2925097346305847,
-0.23799605667591095,
0.1936696171760559,
0.5006900429725647,
-0.5357269644737244,
-0.14854267239570618,
0.02594100311398506,
-0.04106486588716507,
-0.5660170316696167,
0.13135415315628052,
-0.20607903599739075,
0.5635496973991394,
0.1440761536359787,
0.3189736604690552,
-0.3023790121078491,
-0.14511379599571228,
0.17455162107944489,
0.20995573699474335,
0.03642244264483452,
-0.08281678706407547,
0.049429986625909805,
-0.18036562204360962,
-0.5255964398384094,
0.1642616093158722,
0.19400960206985474,
-0.08935443311929703,
0.32348284125328064,
-0.24461042881011963,
0.12308116257190704,
-0.11824825406074524,
0.0764516219496727,
0.1833345890045166,
0.28769150376319885,
0.27904418110847473,
-0.06745497137308121,
-0.029760286211967468,
-0.06024884432554245,
-0.1754116415977478,
0.394761323928833,
-0.19206278026103973,
-0.05721491575241089,
-0.22142034769058228,
0.1638932079076767,
0.4936610758304596,
0.3071628510951996,
-0.07250228524208069,
0.37349221110343933,
-0.15703067183494568,
0.10560370981693268,
0.0819399505853653,
-0.13436982035636902,
-0.14853782951831818,
0.017833229154348373,
-0.032174717634916306,
-0.408678263425827,
0.4520590007305145,
0.16188080608844757,
-0.3133293390274048,
0.7285577654838562,
-0.0724525898694992,
-0.2788451313972473,
0.5496672987937927,
0.06581433862447739,
0.8867892026901245,
0.20673739910125732,
-0.04137652739882469,
0.17938262224197388,
0.16155913472175598,
0.38791579008102417,
0.05056800693273544,
0.04528072103857994,
-0.073671855032444,
-0.026288360357284546,
0.014087742194533348,
-0.07795865088701248,
-0.0327925905585289,
0.47704654932022095,
-0.28701573610305786,
0.23910380899906158,
-0.20027244091033936,
0.21089430153369904,
0.2740817964076996,
0.09689818322658539,
0.023511167615652084,
-0.3202769458293915,
-0.5492603778839111,
0.08892219513654709,
0.05089499428868294,
-0.30278220772743225,
-0.03868735581636429,
-0.15759903192520142,
0.05114563927054405,
-0.22187580168247223,
-0.22002072632312775,
-0.16533449292182922,
-0.42347919940948486,
0.24165333807468414,
0.22204571962356567,
-0.30619657039642334,
0.2576392889022827,
0.35181179642677307,
-0.27440160512924194,
0.19039176404476166,
0.022788146510720253,
0.08221656829118729,
0.4331006109714508,
0.33962735533714294,
0.03330382704734802,
-0.27778294682502747,
0.4397892653942108,
0.034292928874492645,
-0.10966386646032333,
0.21419700980186462,
-0.09471689164638519,
-0.3912050127983093,
0.20247912406921387,
0.18240588903427124,
0.053595323115587234,
-0.11885638535022736,
-0.30228427052497864,
0.08757415413856506,
-0.3338022530078888,
-0.1316436380147934,
0.11281666159629822,
0.11015819013118744,
-0.1740015745162964,
0.13449537754058838,
0.08171439170837402,
-0.029564738273620605,
0.1910957247018814,
0.11256670206785202,
-0.02397727593779564,
0.14176560938358307,
0.2680799961090088,
0.052694160491228104,
-0.11538071185350418,
-0.33810973167419434,
0.005918920040130615,
0.07404301315546036,
0.16159498691558838,
0.4277162551879883,
0.028660913929343224,
-0.22550861537456512,
0.1209719106554985,
-0.020298372954130173,
-0.1557965725660324,
0.3512473702430725,
-0.45835065841674805,
-0.4750644862651825,
-0.20559409260749817,
0.3201542794704437,
-0.14945952594280243,
0.05950756371021271,
-0.219882994890213,
0.09509345889091492,
-0.04946819320321083,
0.30207571387290955,
-0.3630824685096741,
0.11526963859796524,
0.014208735898137093,
0.38858455419540405,
0.09421855956315994,
0.4053530991077423,
-0.1036590114235878,
-0.1388838142156601,
0.011178707703948021,
0.06218631938099861,
-0.28153762221336365,
-0.3086681663990021,
-0.07450973242521286,
0.12113121151924133,
-0.1109638437628746,
-0.17890067398548126,
0.20622985064983368,
-0.051003336906433105,
0.06537684053182602,
-0.3090236783027649,
0.14489437639713287,
-0.29791519045829773,
0.008405238389968872,
0.20282787084579468,
-0.15042579174041748,
-0.2989630699157715,
0.16106709837913513,
-0.10329782962799072,
-0.3666423261165619,
-0.04069417715072632,
0.061043400317430496,
0.11252602189779282,
0.08754726499319077,
-0.11889441311359406,
0.12403140962123871,
0.09270650148391724,
-0.1898173838853836,
0.10063357651233673,
0.17782042920589447,
0.10643674433231354,
-0.15192930400371552,
0.03847309574484825,
0.25605177879333496,
0.34086230397224426,
-0.18942750990390778,
0.3397402763366699,
-0.13482996821403503,
0.20347878336906433,
-0.4909375011920929,
0.039098694920539856,
0.43737930059432983,
-0.11207983642816544,
0.2937745749950409,
0.16492263972759247,
0.06457307934761047,
0.13601693511009216,
0.14974911510944366,
-0.0660088062286377,
0.2141280472278595,
-0.16211490333080292,
0.3457123339176178,
0.4860243797302246,
0.17772339284420013,
-0.04043785110116005,
0.053332194685935974,
-0.039064738899469376,
0.3625193238258362,
0.07316981256008148,
0.19962367415428162,
0.30448392033576965,
0.3991788923740387,
0.09621557593345642,
0.3449799120426178,
-0.12220785021781921,
0.24914059042930603,
0.1501336544752121,
-0.04865331947803497,
0.024807821959257126,
0.23545432090759277,
0.010165832936763763,
0.1520976722240448,
-0.39043036103248596,
0.30775392055511475,
0.20577095448970795,
0.1970330774784088,
-0.06838314235210419,
-0.1729702651500702,
-0.0871526226401329,
-0.02942059189081192,
-0.3031759262084961,
-0.08698326349258423,
-0.5027993321418762,
0.34815046191215515,
-0.12734495103359222,
0.14712557196617126,
-0.19382382929325104,
-0.02878793329000473,
-0.027927279472351074,
0.4125513434410095,
-0.3431996703147888,
-0.0612950325012207,
-0.02187184989452362,
-0.005008861422538757,
-0.05623011663556099,
0.23432327806949615,
0.1856900155544281,
0.034103915095329285,
-0.3599355220794678,
0.31116580963134766,
-0.23162376880645752,
-0.14142584800720215,
-0.11065392196178436,
0.03383543714880943,
0.1540604680776596,
-0.13219331204891205,
0.17557236552238464,
0.16713185608386993,
-0.09894340485334396,
0.09862641990184784,
0.4629480838775635,
-0.01313324086368084,
-0.3722052574157715,
-0.0050586313009262085,
0.23031765222549438,
-0.05623356252908707,
-0.1312393844127655,
-0.02350953221321106,
-0.030526751652359962,
-0.019148360937833786,
0.6666263341903687,
-0.14104285836219788,
0.13860562443733215,
0.05454963818192482,
0.11935818195343018,
0.05525558814406395,
0.22484636306762695,
-0.005940023809671402,
0.2612978219985962,
-0.16558535397052765,
-0.052053067833185196,
-0.3895193338394165,
-0.3684786558151245,
-0.24093788862228394,
-0.2153702974319458,
0.2666609287261963,
-0.023345185443758965,
0.2883477807044983,
0.5072697401046753,
-0.23728178441524506,
-0.16933505237102509,
-0.19491387903690338,
-0.09430336952209473,
-0.28973519802093506,
-0.16810178756713867,
0.014764025807380676,
0.3891761302947998,
0.1026088297367096,
-0.23551321029663086,
-0.23200805485248566,
-0.30725929141044617,
0.08022961765527725,
0.07266320288181305,
-0.27565205097198486,
0.12583455443382263,
-0.12235367298126221,
0.3590317964553833,
0.1556127965450287,
-0.07070465385913849,
-0.09610719233751297,
0.20869015157222748,
-0.002605702728033066,
-0.019777899608016014,
-0.1964150220155716,
0.29353269934654236,
0.26701536774635315,
0.4062764644622803,
-0.22129034996032715,
-0.03064122423529625,
-0.013728211633861065,
-0.19263353943824768,
0.013672001659870148,
-0.14668849110603333,
-0.3330419361591339,
0.09153799712657928,
0.08250712603330612,
0.18307189643383026,
-0.2938803732395172,
0.2969954311847687,
-0.3545404374599457,
-0.02123536355793476,
-0.0748366191983223,
-0.2664755582809448,
0.37266576290130615,
-0.5126071572303772,
-0.33955118060112,
0.11893212050199509,
0.32422786951065063,
0.07101990282535553,
-0.13274440169334412,
-0.3133099675178528,
-0.18870627880096436,
0.41720685362815857,
-0.21204596757888794,
-0.24463802576065063,
0.07611870765686035,
0.04040710628032684,
-0.06739979237318039,
-0.07275035977363586,
-0.04552857577800751,
0.11933919042348862,
-0.0545043870806694,
-0.19116543233394623,
-0.41697317361831665
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | > We'll probably have to take into account the `dset._data.schema` to extract the examples from the batch.
Why? | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 18 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
> We'll probably have to take into account the `dset._data.schema` to extract the examples from the batch.
Why? | [
-0.15758073329925537,
-0.0024887174367904663,
-0.15788935124874115,
-0.3457115888595581,
-0.17996232211589813,
-0.02070988342165947,
0.09828653186559677,
0.3138597905635834,
0.034940145909786224,
-0.0023350790143013,
0.03739595413208008,
0.643071711063385,
-0.362792432308197,
0.2120385318994522,
0.22827093303203583,
-0.31116506457328796,
-0.07046819478273392,
0.25235962867736816,
0.2981339693069458,
0.08798499405384064,
-0.17622622847557068,
-0.015947645530104637,
-0.20155039429664612,
0.39539456367492676,
0.18686294555664062,
-0.35037747025489807,
0.2503848671913147,
-0.093703992664814,
-0.02891560085117817,
-0.40271347761154175,
0.1126696765422821,
0.0837879478931427,
0.10312334448099136,
0.21327027678489685,
-0.00011593548697419465,
-0.22815656661987305,
0.1390400528907776,
-0.15045477449893951,
-0.2934489846229553,
-0.22827143967151642,
-0.3479360342025757,
-0.10044027119874954,
0.10029467940330505,
-0.13457021117210388,
0.06624281406402588,
0.049803029745817184,
-0.07624790817499161,
-0.38796812295913696,
0.4942309260368347,
0.22735337913036346,
0.13411487638950348,
0.05828244984149933,
-0.21664340794086456,
0.21205225586891174,
0.14488598704338074,
0.40737026929855347,
-0.1083952859044075,
0.14298653602600098,
0.5023179054260254,
-0.4229843020439148,
0.30216747522354126,
0.5638113021850586,
-0.3214402496814728,
-0.19403217732906342,
-0.07167770713567734,
-0.11808570474386215,
0.3762410879135132,
-0.45245757699012756,
0.09402191638946533,
0.3052745759487152,
0.31531888246536255,
-0.2929687201976776,
-0.3894183933734894,
-0.43901699781417847,
-0.003460865467786789,
-0.31267836689949036,
-0.5756041407585144,
0.1305665820837021,
-0.35439905524253845,
0.17261606454849243,
-0.2647373080253601,
0.050186872482299805,
0.019726388156414032,
0.22014451026916504,
0.3593530058860779,
0.3556005358695984,
-0.02102850005030632,
0.27718010544776917,
0.29836505651474,
-0.019164953380823135,
0.20696277916431427,
-0.3082280457019806,
0.07805220782756805,
0.4657421410083771,
-0.03354927524924278,
-0.25586259365081787,
0.18132495880126953,
0.07933829724788666,
0.13056042790412903,
0.09260372072458267,
0.21999229490756989,
0.17168688774108887,
0.1423453837633133,
0.29835760593414307,
0.31308507919311523,
0.013406075537204742,
0.531075119972229,
0.4122205078601837,
0.018160678446292877,
0.005682249087840319,
-0.07658970355987549,
0.11025974154472351,
0.24204415082931519,
-0.07408975809812546,
0.1729179173707962,
-0.07730220258235931,
-0.012214666232466698,
0.09699971973896027,
-0.24391193687915802,
-0.1978175938129425,
-0.4159959554672241,
-0.3344675600528717,
0.17321106791496277,
0.1708814650774002,
0.3865636885166168,
-0.1598423719406128,
0.009333785623311996,
0.06431226432323456,
-0.023707160726189613,
0.06774941086769104,
-0.01068873144686222,
0.03394623473286629,
-0.29036498069763184,
-0.05074024945497513,
-0.02293187566101551,
-0.14683924615383148,
0.3564710021018982,
-0.32767394185066223,
-0.092694953083992,
0.13629454374313354,
0.5675823092460632,
-0.1178809106349945,
0.5247628092765808,
0.22265836596488953,
-0.313107430934906,
-0.08729525655508041,
0.24387414753437042,
-0.21945132315158844,
-0.2566392719745636,
0.12611821293830872,
-0.2638043463230133,
-0.3239990770816803,
0.10460714995861053,
0.1634768843650818,
-0.04158240556716919,
-0.010068822652101517,
-0.4175274074077606,
0.6318395137786865,
-0.032775916159152985,
-0.4435298442840576,
0.2829243242740631,
0.02711297757923603,
-0.17656855285167694,
-0.2287733405828476,
0.03625158965587616,
0.395779013633728,
-0.5756540298461914,
-0.1799074113368988,
-0.4235740005970001,
-0.16922590136528015,
-0.018936529755592346,
-0.20170441269874573,
-0.43997347354888916,
0.4244674742221832,
-0.11047357320785522,
0.09900349378585815,
0.8022690415382385,
-0.45048463344573975,
-0.16067582368850708,
0.1202082484960556,
0.10028541088104248,
0.15981386601924896,
-0.19031888246536255,
-0.02098424732685089,
0.3751068115234375,
-0.17928116023540497,
-0.09042970836162567,
0.2760552167892456,
-0.2936429977416992,
-0.20415359735488892,
0.193418487906456,
-0.007134862244129181,
0.42755359411239624,
0.06861086189746857,
-0.01985359564423561,
0.1275039166212082,
0.23648226261138916,
-0.2555643916130066,
0.26931390166282654,
0.04239701107144356,
0.14978469908237457,
-0.16661080718040466,
0.34038692712783813,
-0.07774288952350616,
0.09391520172357559,
-0.5257753133773804,
-0.17613661289215088,
-0.0784291997551918,
0.014467068016529083,
-0.2890864908695221,
-0.006891727447509766,
-0.3178712725639343,
-0.11411686986684799,
0.10211456567049026,
-0.0567401684820652,
-0.316083163022995,
0.06043967604637146,
-0.4131411910057068,
0.2010403871536255,
-0.27831435203552246,
-0.20355242490768433,
-0.034728117287158966,
-0.0946979895234108,
-0.0813760980963707,
-0.02166597917675972,
0.1938314437866211,
0.2811324894428253,
-0.22660481929779053,
-0.4623594880104065,
0.07186354696750641,
-0.05690561234951019,
0.03081664629280567,
0.008269397541880608,
0.28903284668922424,
0.38026002049446106,
-0.101239874958992,
-0.012766562402248383,
0.1099596694111824,
-0.04047795385122299,
-0.21193818747997284,
0.12737007439136505,
0.2351960688829422,
0.25733041763305664,
0.03990727663040161,
-0.5065147876739502,
0.4846104383468628,
0.23516680300235748,
0.3755336105823517,
0.11453567445278168,
0.15643328428268433,
0.2037651687860489,
-0.08352148532867432,
-0.31120362877845764,
-0.20119115710258484,
-0.20530347526073456,
-0.05779821053147316,
0.07426190376281738,
-0.12539617717266083,
-0.23056387901306152,
0.2488199770450592,
-0.0014753863215446472,
-0.16830609738826752,
0.2151382863521576,
0.2186567187309265,
0.05328831821680069,
0.065431147813797,
0.18761441111564636,
0.21713732182979584,
0.5003904700279236,
0.30602219700813293,
-0.10207299888134003,
-0.13804586231708527,
0.33247995376586914,
0.0870714858174324,
0.17484678328037262,
0.2273659110069275,
0.3825543522834778,
-0.16471055150032043,
0.1869307905435562,
0.06337247788906097,
-0.17573603987693787,
-0.3543494939804077,
-0.11886978149414062,
-0.05987933278083801,
-0.0496441051363945,
0.2307630330324173,
0.0415152832865715,
-0.3063807785511017,
-0.05631677061319351,
0.17989002168178558,
0.1293606460094452,
-0.1711110919713974,
0.24742335081100464,
0.017835460603237152,
-0.38792887330055237,
0.22174683213233948,
-0.1289973258972168,
0.3212272822856903,
-0.018001656979322433,
-0.3310697674751282,
0.01803021878004074,
-0.3325837254524231,
-0.07005525380373001,
0.11964151263237,
-0.05323783680796623,
0.405765563249588,
0.4077216684818268,
0.2756232023239136,
-0.04599433392286301,
-0.521964967250824,
-0.5160669088363647,
0.106107696890831,
0.03920161351561546,
0.36613744497299194,
0.30145540833473206,
0.13974550366401672,
-0.4999661445617676,
-0.36180827021598816,
-0.19073225557804108,
-0.17889593541622162,
-0.16494016349315643,
-0.05393249914050102,
-0.12855468690395355,
0.24672560393810272,
-0.06594909727573395,
-0.10568196326494217,
-0.4692371189594269,
-0.27263143658638,
0.07519401609897614,
0.027103912085294724,
0.2758924961090088,
0.19812585413455963,
0.03491789847612381,
0.10722441226243973,
-0.2686617374420166,
-0.2299715131521225,
-0.07483262568712234,
0.21898618340492249,
-0.04475441947579384,
-0.2032347470521927,
0.24965788424015045,
-0.23676638305187225,
-0.41825926303863525,
-0.14600975811481476,
0.2930296063423157,
-0.10946193337440491,
-0.4442989230155945,
0.09364454448223114,
0.040740955621004105,
-0.008894380182027817,
0.3825341761112213,
0.4737056493759155,
0.0927305817604065,
-0.07359364628791809,
-0.18456774950027466,
-0.24437618255615234,
0.06597282737493515,
0.17039364576339722,
0.23651525378227234,
0.15227118134498596,
0.4751182496547699,
0.11194594204425812,
0.6096981167793274,
0.23825937509536743,
-0.06132873520255089,
-0.01871068775653839,
-0.03722768276929855,
0.14385627210140228,
0.0676516592502594,
-0.15189853310585022,
0.05541795864701271,
0.10961834341287613,
-0.07590031623840332,
0.05979209765791893,
0.09588444977998734,
-0.3159748613834381,
0.21013519167900085,
-0.0876469612121582,
-0.49646496772766113,
-0.15583565831184387,
0.15257149934768677,
-0.3466736674308777,
0.21821266412734985,
0.05394921824336052,
-0.21515709161758423,
-0.40965521335601807,
-0.03860868513584137,
-0.17534838616847992,
0.0934918150305748,
0.46369796991348267,
0.05379501357674599,
-0.7920339107513428,
-0.22143806517124176,
0.022843100130558014,
0.19713100790977478,
0.1615946739912033,
0.059430114924907684,
-0.0069954246282577515,
-0.1484411358833313,
-0.1722840517759323,
0.2307862639427185,
0.7311214208602905,
-0.6084669232368469,
-0.0380413681268692,
-0.05993392691016197,
0.007896829396486282,
-0.4208644926548004,
0.03840046748518944,
-0.1733032613992691,
0.5844672322273254,
0.17257848381996155,
0.190496027469635,
-0.1541130393743515,
-0.2668508291244507,
0.3457478880882263,
0.2498483806848526,
0.005353201180696487,
-0.04139067232608795,
-0.03455595299601555,
-0.3070319890975952,
-0.44628196954727173,
0.19061312079429626,
0.24489708244800568,
-0.13155964016914368,
0.271162211894989,
-0.21213547885417938,
0.10116560757160187,
0.08123251050710678,
0.1715855598449707,
0.19073140621185303,
0.25947457551956177,
0.5248366594314575,
-0.17902985215187073,
-0.10406871140003204,
0.005495026707649231,
-0.1872924268245697,
0.2112862914800644,
-0.24013739824295044,
-0.17244383692741394,
-0.08349765837192535,
0.14731669425964355,
0.6340058445930481,
0.33298030495643616,
-0.023174084722995758,
0.24123042821884155,
-0.14354918897151947,
0.12740619480609894,
0.1659187376499176,
-0.12814559042453766,
-0.07678922265768051,
0.012836267240345478,
-0.23683038353919983,
-0.42761343717575073,
0.38752326369285583,
0.18926984071731567,
-0.27790170907974243,
0.7847857475280762,
0.10451864451169968,
-0.23268721997737885,
0.5766412019729614,
0.0717761293053627,
0.9259421229362488,
0.09812022745609283,
-0.031676504760980606,
0.14743758738040924,
0.03055756539106369,
0.47154700756073,
0.16981983184814453,
-0.048477865755558014,
-0.007244832813739777,
0.1022280678153038,
0.030000271275639534,
-0.13803435862064362,
0.09877121448516846,
0.5327714681625366,
-0.1613197773694992,
0.19205242395401,
-0.3246186077594757,
0.1738044172525406,
0.28911423683166504,
0.1986042857170105,
-0.009043099358677864,
-0.20896625518798828,
-0.40024545788764954,
0.06477906554937363,
0.06392879039049149,
-0.2460269033908844,
-0.09656204283237457,
-0.19887743890285492,
0.05033373460173607,
-0.2342449128627777,
-0.19382846355438232,
-0.23950707912445068,
-0.4269719421863556,
0.24661415815353394,
0.154599130153656,
-0.30209460854530334,
0.23425725102424622,
0.2295096218585968,
-0.13323642313480377,
0.11428673565387726,
0.05487799644470215,
0.11743609607219696,
0.4345187246799469,
0.3713207244873047,
0.02601451799273491,
-0.2978579103946686,
0.45730674266815186,
-0.06636524945497513,
-0.2034188210964203,
0.3638736307621002,
-0.17829205095767975,
-0.6260648369789124,
0.12390083074569702,
0.25581565499305725,
0.289591908454895,
-0.12467118352651596,
-0.33941933512687683,
0.038322001695632935,
-0.36265185475349426,
-0.05586684122681618,
0.03766881674528122,
0.14924584329128265,
-0.16871552169322968,
0.40007737278938293,
0.09223228693008423,
-0.12566107511520386,
0.07395223528146744,
-0.054174698889255524,
-0.14390119910240173,
-0.20462876558303833,
0.2806098759174347,
-0.07084254920482635,
-0.08631405234336853,
-0.29390260577201843,
-0.025762736797332764,
0.18779397010803223,
-0.055572930723428726,
0.3211313784122467,
0.01106182113289833,
-0.1690688133239746,
0.3444786071777344,
0.010406021028757095,
-0.06113762408494949,
0.3326612412929535,
-0.3696553111076355,
-0.5192590355873108,
-0.1577983945608139,
0.17926684021949768,
-0.13845369219779968,
0.10081981122493744,
-0.09827961027622223,
0.08751717209815979,
0.01860685832798481,
0.17294862866401672,
-0.30889707803726196,
0.1310240924358368,
0.1690051406621933,
0.5094225406646729,
0.09244098514318466,
0.5382102727890015,
-0.17985378205776215,
-0.10064846277236938,
-0.047703713178634644,
-0.004610273987054825,
-0.28665652871131897,
-0.2696957290172577,
-0.1302485167980194,
0.13826778531074524,
-0.12785270810127258,
-0.24312053620815277,
0.17421050369739532,
-0.03296856954693794,
-0.03510352224111557,
-0.18010103702545166,
0.15641090273857117,
-0.17305511236190796,
-0.06014733016490936,
0.12522293627262115,
0.01783343404531479,
-0.3004738390445709,
0.2522987127304077,
-0.08650219440460205,
-0.22261163592338562,
-0.008624732494354248,
0.07101887464523315,
0.2624439597129822,
0.19104652106761932,
-0.12680330872535706,
-0.012301978655159473,
-0.009844459593296051,
-0.08397307991981506,
0.11785833537578583,
0.1232149675488472,
-0.08983026444911957,
-0.061576783657073975,
0.13673362135887146,
0.06403079628944397,
0.3027898073196411,
-0.15089327096939087,
0.32474708557128906,
0.01586887612938881,
0.14606769382953644,
-0.43502989411354065,
-0.04706336930394173,
0.3572342097759247,
-0.0483609214425087,
0.21002334356307983,
0.10519205033779144,
-0.0067361220717430115,
0.282809317111969,
0.17358499765396118,
-0.011578695848584175,
0.22937200963497162,
-0.18946312367916107,
0.3743878901004791,
0.5393111705780029,
0.151540145277977,
-0.07206535339355469,
0.03339656442403793,
0.05585358291864395,
0.2575916051864624,
-0.142604261636734,
0.09866660088300705,
0.49680429697036743,
0.23506367206573486,
0.11013667285442352,
0.18472330272197723,
-0.29682356119155884,
0.0843878984451294,
0.1820468008518219,
-0.2948211133480072,
0.18942631781101227,
0.37171298265457153,
0.012845434248447418,
0.09773722290992737,
-0.3472645878791809,
0.28959694504737854,
0.05334321781992912,
0.17891162633895874,
0.07689818739891052,
-0.30355384945869446,
-0.05547013133764267,
0.1093922108411789,
-0.2452850192785263,
-0.054454367607831955,
-0.3149479031562805,
0.3894979953765869,
-0.1291407197713852,
0.028170622885227203,
-0.07624128460884094,
-0.08623240888118744,
0.012850942090153694,
0.2879732549190521,
-0.3040861189365387,
-0.3818289339542389,
-0.19434739649295807,
0.011768288910388947,
-0.011011436581611633,
0.2812294661998749,
0.25157466530799866,
0.19683362543582916,
-0.1542009711265564,
0.2530220150947571,
-0.2122083604335785,
-0.12139517813920975,
-0.12097150087356567,
0.08065059781074524,
0.2816169261932373,
-0.30435487627983093,
0.08342525362968445,
0.15567579865455627,
-0.04508963227272034,
-0.0413205586373806,
0.38732847571372986,
-0.21125204861164093,
-0.3976566195487976,
0.051295969635248184,
0.3346354067325592,
-0.032096996903419495,
-0.20358040928840637,
0.12567907571792603,
0.06040715426206589,
0.04801676422357559,
0.5471033453941345,
-0.21483346819877625,
0.07102757692337036,
0.03300394117832184,
0.07153723388910294,
-0.03134194016456604,
0.11793187260627747,
0.15245211124420166,
0.3906579911708832,
-0.31123238801956177,
-0.03705303370952606,
-0.47667568922042847,
-0.47813680768013,
-0.25617700815200806,
-0.17309783399105072,
0.30239051580429077,
0.08315527439117432,
0.2706837058067322,
0.4525061845779419,
-0.13290713727474213,
-0.05552001670002937,
-0.049327678978443146,
0.009422454982995987,
-0.14837057888507843,
-0.15595489740371704,
-0.028625808656215668,
0.5682542324066162,
0.11207029223442078,
-0.3581596314907074,
-0.15330341458320618,
-0.2454034984111786,
0.030362553894519806,
-0.07424405962228775,
-0.21636700630187988,
0.2654164731502533,
0.09976999461650848,
0.3815554678440094,
0.12653331458568573,
0.08306129276752472,
-0.06623576581478119,
0.25987088680267334,
-0.10179802775382996,
0.09574507176876068,
-0.15732432901859283,
0.0991654247045517,
0.20059780776500702,
0.31191766262054443,
-0.16393648087978363,
-0.029631737619638443,
-0.07249421626329422,
-0.10984955728054047,
0.05701427906751633,
-0.13189461827278137,
-0.2867279052734375,
0.07790227979421616,
0.0540609285235405,
0.19637037813663483,
-0.1628149449825287,
0.2690165042877197,
-0.3069428503513336,
0.03268340975046158,
-0.1316877007484436,
-0.09037653356790543,
0.2873379588127136,
-0.633859395980835,
-0.39451295137405396,
-0.08981422334909439,
0.4282689392566681,
0.060855671763420105,
-0.19626252353191376,
-0.26417285203933716,
-0.18802282214164734,
0.3733077049255371,
-0.126399427652359,
-0.023668425157666206,
0.19640056788921356,
0.003669197205454111,
0.011760685592889786,
-0.0671272873878479,
-0.04100900888442993,
0.0957530066370964,
0.0016101431101560593,
-0.14237236976623535,
-0.43472546339035034
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | Actually it's fine. I guess this is going to be yet another thing to be unit-tested just to make sure ^^ | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 21 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
Actually it's fine. I guess this is going to be yet another thing to be unit-tested just to make sure ^^ | [
-0.02793930098414421,
-0.03522786498069763,
-0.17691990733146667,
-0.3734387159347534,
-0.15508762001991272,
-0.025164056569337845,
0.09600283205509186,
0.3470955789089203,
-0.004279786720871925,
-0.09571284055709839,
0.05618715286254883,
0.7395451068878174,
-0.3304090201854706,
0.08819141238927841,
0.1911003589630127,
-0.24248939752578735,
-0.059774480760097504,
0.3042953610420227,
0.32057803869247437,
0.09395688772201538,
-0.1668371707201004,
0.010897219181060791,
-0.16606900095939636,
0.4013758897781372,
0.2245662808418274,
-0.34960296750068665,
0.24699601531028748,
-0.05036173760890961,
-0.10012751817703247,
-0.48561131954193115,
0.08626418560743332,
0.13875418901443481,
-0.07720847427845001,
0.18317709863185883,
-0.00011187275958945975,
-0.2475297600030899,
0.1654336154460907,
-0.13772810995578766,
-0.2359960675239563,
-0.24345876276493073,
-0.23257946968078613,
-0.13009226322174072,
0.22817941009998322,
-0.1659572422504425,
0.02904803305864334,
0.015711495652794838,
-0.10872212052345276,
-0.35252973437309265,
0.553507387638092,
0.23589226603507996,
0.1634272038936615,
0.04048736393451691,
-0.20487883687019348,
0.17442356050014496,
0.08020064234733582,
0.32548975944519043,
-0.15169832110404968,
0.13200895488262177,
0.4597806930541992,
-0.40393128991127014,
0.2317865490913391,
0.5876564383506775,
-0.2133151888847351,
-0.06296747922897339,
-0.008076608180999756,
-0.1737622767686844,
0.23217886686325073,
-0.45103874802589417,
0.040508270263671875,
0.31305617094039917,
0.2566920518875122,
-0.3377791941165924,
-0.3616390526294708,
-0.38736072182655334,
0.05574743077158928,
-0.2993980646133423,
-0.4503045678138733,
0.18366739153862,
-0.33767184615135193,
0.15061214566230774,
-0.19562986493110657,
0.028069444000720978,
0.009361952543258667,
0.28218919038772583,
0.32093873620033264,
0.3748815953731537,
-0.04007842764258385,
0.23120903968811035,
0.2982354164123535,
-0.02419387176632881,
0.1309773325920105,
-0.20501790940761566,
0.0736253410577774,
0.42970526218414307,
-0.11976893246173859,
-0.34351956844329834,
0.1730530560016632,
0.08510144054889679,
0.18466517329216003,
0.10585858672857285,
0.2681877017021179,
0.17764872312545776,
0.064555823802948,
0.35184600949287415,
0.29809144139289856,
-0.053376421332359314,
0.4895121157169342,
0.40797117352485657,
0.014019273221492767,
0.016709931194782257,
-0.07366131246089935,
0.14080095291137695,
0.2517315149307251,
-0.11815720051527023,
0.10087175667285919,
-0.11710699647665024,
0.060380443930625916,
0.035266485065221786,
-0.2439483106136322,
-0.14067858457565308,
-0.4489651918411255,
-0.3151400089263916,
0.12295397371053696,
0.1650257259607315,
0.3775446116924286,
-0.09741692990064621,
0.03568944334983826,
0.06723523139953613,
-0.05234189331531525,
0.039407938718795776,
-0.01592842862010002,
0.048856306821107864,
-0.275773823261261,
-0.0406515896320343,
-0.023327907547354698,
-0.12290376424789429,
0.37236344814300537,
-0.32970163226127625,
-0.08031171560287476,
0.03406328707933426,
0.6496301293373108,
-0.07572771608829498,
0.5503922700881958,
0.17431429028511047,
-0.372100293636322,
-0.08790931850671768,
0.2424001544713974,
-0.23088522255420685,
-0.2611902058124542,
0.11879153549671173,
-0.2528681755065918,
-0.24555525183677673,
0.04052415490150452,
0.19452427327632904,
-0.08055523037910461,
-0.015821989625692368,
-0.1685383915901184,
0.6836497783660889,
-0.033269040286540985,
-0.5104336142539978,
0.3627256453037262,
0.10348592698574066,
-0.24315406382083893,
-0.19010786712169647,
0.013545630499720573,
0.3936542272567749,
-0.5154386162757874,
-0.25606292486190796,
-0.4438178241252899,
-0.14232414960861206,
-0.14910107851028442,
-0.163804829120636,
-0.4392715394496918,
0.26885610818862915,
-0.05477768927812576,
0.08024296164512634,
0.8868811130523682,
-0.3649653196334839,
-0.2229362428188324,
0.06419631093740463,
0.07372750341892242,
0.12657347321510315,
-0.18211644887924194,
0.022736655548214912,
0.27670300006866455,
-0.1522016078233719,
-0.09114362299442291,
0.21872246265411377,
-0.22709736227989197,
-0.18122248351573944,
0.07240000367164612,
0.021333543583750725,
0.5025046467781067,
0.04888353869318962,
-0.07830947637557983,
0.03500643000006676,
0.19087252020835876,
-0.2678339183330536,
0.24214011430740356,
0.06644660979509354,
0.09624067693948746,
-0.10654175281524658,
0.3716014325618744,
-0.19028930366039276,
0.08493688702583313,
-0.5502970218658447,
-0.0526500940322876,
-0.11550074070692062,
-0.03423747047781944,
-0.2393185794353485,
0.02585669606924057,
-0.2515057325363159,
-0.1694694459438324,
0.08079628646373749,
-0.07056601345539093,
-0.34094342589378357,
0.11353738605976105,
-0.3703453242778778,
0.10235600173473358,
-0.21483789384365082,
-0.2662087082862854,
0.01936953142285347,
-0.14734962582588196,
-0.04374318569898605,
-0.03533729165792465,
0.20981228351593018,
0.2416534423828125,
-0.23446734249591827,
-0.4397332966327667,
0.08966674655675888,
-0.05566498637199402,
0.08330852538347244,
-0.049326058477163315,
0.293351411819458,
0.35323891043663025,
-0.11668235063552856,
0.03317937254905701,
0.0587930753827095,
0.034350309520959854,
-0.2803860604763031,
0.08067955076694489,
0.33013027906417847,
0.22133058309555054,
0.09077126532793045,
-0.5973061323165894,
0.5246812105178833,
0.19877803325653076,
0.2985692024230957,
0.08107222616672516,
0.13188610970973969,
0.17507679760456085,
-0.05991790071129799,
-0.38769781589508057,
-0.1913619041442871,
-0.13716429471969604,
0.008925266563892365,
0.13853614032268524,
-0.104580357670784,
-0.18085142970085144,
0.18327133357524872,
0.07343841344118118,
-0.12595544755458832,
0.19579538702964783,
0.3124067783355713,
0.11638858169317245,
-0.010776007547974586,
0.20129641890525818,
0.1837446242570877,
0.49549204111099243,
0.29089754819869995,
-0.15625524520874023,
-0.15224401652812958,
0.2575480043888092,
0.0503520593047142,
0.16386419534683228,
0.19740821421146393,
0.3565770983695984,
-0.10451696068048477,
0.29110780358314514,
0.014384729787707329,
-0.2586338520050049,
-0.3030225336551666,
-0.09079726040363312,
-0.06994183361530304,
-0.052352920174598694,
0.18533973395824432,
0.06586546450853348,
-0.2832358479499817,
-0.06676789373159409,
0.20302022993564606,
0.06906665116548538,
-0.17393505573272705,
0.31594979763031006,
-0.04931488260626793,
-0.3683946132659912,
0.27388954162597656,
-0.11251302063465118,
0.37745022773742676,
-0.013728240504860878,
-0.26263630390167236,
0.08104422688484192,
-0.36245009303092957,
0.02032591961324215,
0.17232027649879456,
-0.0588366836309433,
0.3733181059360504,
0.43831831216812134,
0.2993248701095581,
-0.10187898576259613,
-0.41499143838882446,
-0.6108657121658325,
0.10686002671718597,
0.10170737653970718,
0.32342422008514404,
0.2155180275440216,
0.07575024664402008,
-0.4603186249732971,
-0.348728746175766,
-0.16629737615585327,
-0.20303064584732056,
-0.20162789523601532,
-0.01762218214571476,
-0.08758755028247833,
0.33083897829055786,
-0.09722954034805298,
-0.1936590075492859,
-0.4300062656402588,
-0.3174806833267212,
0.18175983428955078,
0.07611294090747833,
0.27325278520584106,
0.14602670073509216,
0.051015984266996384,
0.11709339916706085,
-0.2460152804851532,
-0.1898379772901535,
-0.12760880589485168,
0.23389843106269836,
-0.0330006368458271,
-0.22403129935264587,
0.22068357467651367,
-0.26741623878479004,
-0.38620245456695557,
-0.1230216771364212,
0.21061104536056519,
-0.08442284166812897,
-0.4895641803741455,
0.13423767685890198,
0.017315976321697235,
-0.06321779638528824,
0.3194432854652405,
0.49690189957618713,
0.12351874262094498,
-0.1156720370054245,
-0.1695932149887085,
-0.22246451675891876,
0.06952652335166931,
0.22815284132957458,
0.19829443097114563,
0.12523402273654938,
0.41225382685661316,
0.1458134800195694,
0.5148295164108276,
0.31726762652397156,
-0.07522878050804138,
0.02016199380159378,
-0.024879561737179756,
0.14070411026477814,
0.029978375881910324,
-0.13990142941474915,
0.0849602147936821,
0.13245190680027008,
-0.049289390444755554,
0.042867980897426605,
0.11146831512451172,
-0.43117985129356384,
0.19525305926799774,
-0.03157610446214676,
-0.4923596680164337,
-0.11619606614112854,
0.12365712225437164,
-0.3269040584564209,
0.1606566309928894,
-0.01710459031164646,
-0.22264668345451355,
-0.41281890869140625,
-0.06238405779004097,
-0.15354788303375244,
0.08259700238704681,
0.3909647464752197,
-0.012638972140848637,
-0.778742253780365,
-0.172809436917305,
0.07703066617250443,
0.19059672951698303,
0.13593341410160065,
0.048510901629924774,
-0.011283300817012787,
-0.12842531502246857,
-0.19857241213321686,
0.16746237874031067,
0.5807715654373169,
-0.5833672881126404,
-0.09536729753017426,
-0.006436868570744991,
0.0833325907588005,
-0.45973479747772217,
0.0675642192363739,
-0.16826432943344116,
0.5652455687522888,
0.12448756396770477,
0.1651833951473236,
-0.13340258598327637,
-0.23040489852428436,
0.3293549716472626,
0.14944158494472504,
0.03526650741696358,
-0.022358670830726624,
-0.10466406494379044,
-0.2368459701538086,
-0.46974751353263855,
0.22070840001106262,
0.19643248617649078,
-0.17434506118297577,
0.30680903792381287,
-0.20544154942035675,
0.15638865530490875,
0.0009655188769102097,
0.09429878741502762,
0.21466617286205292,
0.2699311375617981,
0.46712222695350647,
-0.23034316301345825,
-0.04596647620201111,
-0.09109257161617279,
-0.30235761404037476,
0.2547845244407654,
-0.17734646797180176,
-0.12991170585155487,
-0.04821894317865372,
0.14702937006950378,
0.5643475651741028,
0.3655829429626465,
0.026696868240833282,
0.28876951336860657,
-0.14401133358478546,
0.16449284553527832,
0.1810370534658432,
-0.07941710948944092,
-0.019914450123906136,
-0.01154094934463501,
-0.09359560161828995,
-0.35195332765579224,
0.4127042293548584,
0.11310911178588867,
-0.29082420468330383,
0.9127721190452576,
0.07837829738855362,
-0.18066535890102386,
0.5956917405128479,
0.14902739226818085,
0.9743577241897583,
0.08179491758346558,
-0.03728673979640007,
0.09742613881826401,
-0.11031493544578552,
0.5120413303375244,
0.007073827087879181,
0.0073236022144556046,
-0.0732215866446495,
0.09675797075033188,
0.03312981128692627,
-0.1430790275335312,
0.11067916452884674,
0.43446898460388184,
-0.24405010044574738,
0.17575018107891083,
-0.27658534049987793,
0.2147430181503296,
0.31269076466560364,
0.27473023533821106,
-0.02054244466125965,
-0.1914147585630417,
-0.45788732171058655,
0.12386536598205566,
0.008037224411964417,
-0.2790389657020569,
-0.08817106485366821,
-0.1948571503162384,
0.03319532051682472,
-0.20346836745738983,
-0.1984398365020752,
-0.24827149510383606,
-0.42824748158454895,
0.23410862684249878,
0.21621949970722198,
-0.3164103329181671,
0.26843753457069397,
0.23776337504386902,
-0.17457233369350433,
0.13413754105567932,
-0.007675012573599815,
0.14010342955589294,
0.3297935128211975,
0.3901613652706146,
0.009688085876405239,
-0.22008424997329712,
0.462961882352829,
-0.052407700568437576,
-0.24434271454811096,
0.34726962447166443,
-0.1511937528848648,
-0.6150278449058533,
0.16709721088409424,
0.2583558261394501,
0.26902449131011963,
-0.1387447565793991,
-0.2764955163002014,
-0.0023853182792663574,
-0.4245220124721527,
-0.11039453744888306,
0.0964253842830658,
0.1359306126832962,
-0.2024223804473877,
0.28482842445373535,
0.19902561604976654,
-0.09630820900201797,
0.10047590732574463,
0.005812160670757294,
-0.17209267616271973,
-0.10388251394033432,
0.244254931807518,
-0.12084659934043884,
-0.0564943365752697,
-0.3405033051967621,
-0.01503315195441246,
0.18636150658130646,
-0.007033854722976685,
0.2790936529636383,
-0.00217736535705626,
-0.2901286482810974,
0.267248272895813,
-0.04369423910975456,
-0.03621058911085129,
0.48488447070121765,
-0.3247007727622986,
-0.4800088405609131,
-0.21504971385002136,
0.18441981077194214,
-0.16452227532863617,
0.08692066371440887,
-0.1951846480369568,
0.08073462545871735,
0.058945052325725555,
0.24816757440567017,
-0.3528684973716736,
0.18715228140354156,
0.038034588098526,
0.47278088331222534,
0.04282987117767334,
0.3582710325717926,
-0.24960877001285553,
-0.10933606326580048,
0.015648918226361275,
0.10212498903274536,
-0.32891109585762024,
-0.3052848279476166,
-0.11573971807956696,
0.13453346490859985,
-0.11750038713216782,
-0.2374737560749054,
0.161323681473732,
-0.06112511456012726,
-0.02390998601913452,
-0.16292591392993927,
0.03807956725358963,
-0.2478935420513153,
0.0021144896745681763,
0.16129639744758606,
-0.06304703652858734,
-0.34492963552474976,
0.23945657908916473,
-0.16864758729934692,
-0.22387349605560303,
-0.058087244629859924,
0.11377285420894623,
0.19020740687847137,
0.1751147210597992,
-0.08054021745920181,
-0.06459470093250275,
0.11552385240793228,
-0.12369959056377411,
0.08982796967029572,
0.10885229706764221,
-0.08748580515384674,
-0.028253626078367233,
0.08095605671405792,
0.16313932836055756,
0.34648898243904114,
-0.2104286104440689,
0.3414708375930786,
-0.02316701039671898,
0.19713065028190613,
-0.4495522081851959,
-0.036988262087106705,
0.4334675669670105,
-0.020699717104434967,
0.24849849939346313,
0.11553896218538284,
0.04358990117907524,
0.22569328546524048,
0.2812284231185913,
0.004954736679792404,
0.15981575846672058,
-0.27254486083984375,
0.39803430438041687,
0.4277094304561615,
0.1113760769367218,
-0.10099028050899506,
0.08577699959278107,
-0.010167129337787628,
0.3061082363128662,
-0.20395900309085846,
0.06801875680685043,
0.42544233798980713,
0.21506664156913757,
0.12105618417263031,
0.22290924191474915,
-0.16022591292858124,
0.15889886021614075,
0.1701299101114273,
-0.1955607831478119,
0.17722851037979126,
0.35598036646842957,
0.10419999063014984,
0.0949607640504837,
-0.41476544737815857,
0.23821407556533813,
0.042145129293203354,
0.20772531628608704,
0.0848747044801712,
-0.30710679292678833,
-0.12285345792770386,
0.017450787127017975,
-0.22106467187404633,
-0.044888053089380264,
-0.3001382350921631,
0.5078644156455994,
-0.06230716407299042,
0.036116208881139755,
-0.12513373792171478,
0.009583063423633575,
0.020916545763611794,
0.4001658856868744,
-0.3203781545162201,
-0.29362085461616516,
-0.11006242036819458,
0.01528283953666687,
0.007378675043582916,
0.2270556539297104,
0.22532042860984802,
0.15047550201416016,
-0.26571059226989746,
0.2880890965461731,
-0.19531409442424774,
-0.1448344588279724,
-0.029653657227754593,
0.0799039676785469,
0.3460310995578766,
-0.2598368525505066,
0.061521049588918686,
0.18685565888881683,
-0.1042613536119461,
-0.01309235394001007,
0.40962299704551697,
-0.20918044447898865,
-0.46459516882896423,
-0.027472831308841705,
0.3038008213043213,
-0.061187636107206345,
-0.24342259764671326,
0.09646518528461456,
0.005454458296298981,
0.0483037494122982,
0.4863739311695099,
-0.12267257273197174,
0.03974076360464096,
0.0006936814170330763,
0.09515529870986938,
0.04782004654407501,
0.12823563814163208,
0.049067385494709015,
0.291003942489624,
-0.2871670126914978,
-0.1006002277135849,
-0.5055800676345825,
-0.3498515188694,
-0.1583990752696991,
-0.1689102202653885,
0.331264466047287,
0.10170000046491623,
0.2653881013393402,
0.4713742136955261,
-0.14717881381511688,
-0.11424972116947174,
-0.018407609313726425,
-0.08008220791816711,
-0.2576093077659607,
-0.0977325290441513,
0.02517252415418625,
0.4897618591785431,
0.1365729570388794,
-0.2764175534248352,
-0.18423838913440704,
-0.30874907970428467,
0.06487753987312317,
-0.003939550369977951,
-0.2940877676010132,
0.20197583734989166,
0.1279332935810089,
0.3751925528049469,
0.1512678861618042,
0.04225901886820793,
-0.10732149332761765,
0.19523240625858307,
-0.03443523868918419,
0.03440393507480621,
-0.18642067909240723,
0.14850205183029175,
0.20954923331737518,
0.39161795377731323,
-0.11429347097873688,
-0.09921607375144958,
-0.12308277189731598,
-0.03550441190600395,
0.026217520236968994,
-0.16008462011814117,
-0.26481348276138306,
0.05420975387096405,
0.13346534967422485,
0.23014995455741882,
-0.2039700448513031,
0.2976871728897095,
-0.2978695333003998,
0.06920818239450455,
-0.15154504776000977,
-0.13860146701335907,
0.30345943570137024,
-0.597973108291626,
-0.32831496000289917,
0.023726217448711395,
0.4560669958591461,
0.16452738642692566,
-0.17611868679523468,
-0.3451099097728729,
-0.1971224546432495,
0.3767697513103485,
-0.14984649419784546,
-0.08217218518257141,
0.19727903604507446,
0.03393545001745224,
0.030830446630716324,
-0.05509873479604721,
-0.011867322027683258,
0.08694906532764435,
0.0697454884648323,
-0.1259593516588211,
-0.4365772008895874
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | Yes, I will need to add tests and documentation!
@thomwolf - would a function like this be ok? It abstracts `.map()` a bit which might be hard to understand. | The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 29 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
Yes, I will need to add tests and documentation!
@thomwolf - would a function like this be ok? It abstracts `.map()` a bit which might be hard to understand. | [
0.012255992740392685,
0.006605550646781921,
-0.16462703049182892,
-0.3459400534629822,
-0.2515677809715271,
-0.016022324562072754,
0.07392822206020355,
0.3112725615501404,
0.05376715585589409,
-0.16085399687290192,
0.13732770085334778,
0.6596426963806152,
-0.4601842761039734,
0.14828556776046753,
0.1729235053062439,
-0.35871270298957825,
-0.11964867264032364,
0.17951765656471252,
0.389986127614975,
0.07280340790748596,
-0.11299432814121246,
-0.0449773445725441,
-0.11450038850307465,
0.4886147975921631,
0.4025615453720093,
-0.3344646990299225,
0.19402958452701569,
-0.1452392339706421,
-0.10151512175798416,
-0.2580266296863556,
0.04662863910198212,
0.11672079563140869,
-0.04253078252077103,
0.19091176986694336,
-0.00011862684186780825,
-0.24623490869998932,
0.12614822387695312,
-0.11847425252199173,
-0.1440298855304718,
-0.27460402250289917,
-0.3043951392173767,
-0.08611675351858139,
0.1732426881790161,
-0.24703791737556458,
0.004495728760957718,
0.06008344143629074,
-0.16444391012191772,
-0.4994995892047882,
0.5178914666175842,
0.14790195226669312,
0.1101856529712677,
-0.07901148498058319,
-0.24886177480220795,
0.3079052269458771,
0.16407880187034607,
0.4271889925003052,
-0.1005697250366211,
0.20217715203762054,
0.5209642648696899,
-0.4702252447605133,
0.2696518003940582,
0.5428398251533508,
-0.3772772550582886,
-0.1868431568145752,
0.08540286868810654,
-0.15689444541931152,
0.22209793329238892,
-0.44830894470214844,
0.0734371691942215,
0.2378833293914795,
0.22789299488067627,
-0.31827956438064575,
-0.33142951130867004,
-0.39149224758148193,
-0.05525731295347214,
-0.20675812661647797,
-0.4477660059928894,
0.08717980235815048,
-0.22737239301204681,
0.10847972333431244,
-0.2106645107269287,
-0.10650019347667694,
0.048048682510852814,
0.3145362138748169,
0.30324581265449524,
0.28853639960289,
-0.037979282438755035,
0.33781906962394714,
0.23022396862506866,
-0.12775632739067078,
0.07829643040895462,
-0.35038113594055176,
0.13052988052368164,
0.48276036977767944,
-0.018706094473600388,
-0.28742530941963196,
0.2501227557659149,
0.077461376786232,
0.03541284054517746,
0.06691557168960571,
0.1656646877527237,
0.14050927758216858,
-0.03838903084397316,
0.3303012549877167,
0.3326677978038788,
-0.07155439257621765,
0.48756614327430725,
0.5270192623138428,
0.0406857430934906,
-0.07696770131587982,
-0.055771615356206894,
0.06460398435592651,
0.26692524552345276,
-0.016019904986023903,
0.05737105384469032,
-0.1094716414809227,
0.007605072110891342,
0.003175642341375351,
-0.13384045660495758,
-0.11355333030223846,
-0.5347108244895935,
-0.35323378443717957,
0.09686192870140076,
0.11131788790225983,
0.42084571719169617,
-0.17184725403785706,
0.07657939195632935,
0.0180884450674057,
0.03824794292449951,
0.13514108955860138,
0.06538642942905426,
0.09412720799446106,
-0.2690948247909546,
0.03523340821266174,
-0.12616834044456482,
-0.07526800036430359,
0.23286710679531097,
-0.3880390524864197,
0.018923699855804443,
0.06379266083240509,
0.5793488025665283,
-0.1311168521642685,
0.526870846748352,
0.17348521947860718,
-0.458560049533844,
-0.032162800431251526,
0.19375412166118622,
-0.24413178861141205,
-0.28568723797798157,
0.1972590684890747,
-0.2181367576122284,
-0.3117028772830963,
0.1233818307518959,
0.14167946577072144,
-0.07171320915222168,
0.10083918273448944,
-0.23136302828788757,
0.678254246711731,
0.05718027055263519,
-0.6700442433357239,
0.39570683240890503,
0.09774374216794968,
-0.21343429386615753,
-0.21549583971500397,
-0.09325361251831055,
0.4240689277648926,
-0.45415639877319336,
-0.2597646415233612,
-0.5476576685905457,
-0.07748383283615112,
-0.12937361001968384,
-0.11819328367710114,
-0.45205727219581604,
0.3986680507659912,
-0.027432503178715706,
0.1932671219110489,
0.8806105256080627,
-0.2869434058666229,
-0.12841904163360596,
0.1478927582502365,
0.1172870397567749,
0.2699885368347168,
-0.28507280349731445,
0.021090321242809296,
0.22596466541290283,
-0.2545170783996582,
-0.012389607727527618,
0.10022931545972824,
-0.19525139033794403,
-0.20078665018081665,
0.15781502425670624,
-0.04132071137428284,
0.5910245776176453,
0.044458385556936264,
-0.031096380203962326,
0.10361448675394058,
0.1685345470905304,
-0.3388499617576599,
0.2284543216228485,
0.07547572255134583,
0.08599855750799179,
-0.20426851511001587,
0.41269275546073914,
-0.14916649460792542,
0.0008198386058211327,
-0.5922425985336304,
-0.04086979478597641,
-0.10784931480884552,
0.08849398046731949,
-0.23188486695289612,
0.0414438433945179,
-0.2612026333808899,
-0.037038255482912064,
-0.010913563892245293,
0.0286419577896595,
-0.3236236870288849,
0.017313044518232346,
-0.47189822793006897,
0.11362302303314209,
-0.2673256993293762,
-0.2935071587562561,
-0.0019180495291948318,
-0.11476953327655792,
-0.14584968984127045,
0.032089415937662125,
0.18331266939640045,
0.30568328499794006,
-0.08446075767278671,
-0.5281773805618286,
0.05796688422560692,
-0.07553783804178238,
0.027902504429221153,
-0.005711989477276802,
0.20752432942390442,
0.35162097215652466,
-0.15569840371608734,
-0.01895613968372345,
0.20779262483119965,
0.06097729504108429,
-0.2077011615037918,
0.06192589923739433,
0.2938142716884613,
0.23874056339263916,
-0.013645537197589874,
-0.48996081948280334,
0.4543460011482239,
0.17612607777118683,
0.3512799143791199,
0.08016300201416016,
0.10027478635311127,
0.09994302690029144,
-0.02224731631577015,
-0.3579874336719513,
-0.0758938416838646,
-0.09928955137729645,
0.003909159451723099,
0.08431090414524078,
-0.18040627241134644,
-0.09597604721784592,
0.10880503803491592,
-0.03346788510680199,
-0.18825343251228333,
0.20537206530570984,
0.25463297963142395,
0.20236197113990784,
0.08741121739149094,
0.2249811291694641,
0.1961960345506668,
0.6141719222068787,
0.1614261418581009,
-0.15720699727535248,
0.04496225714683533,
0.372346967458725,
0.15886417031288147,
0.14470237493515015,
0.15967532992362976,
0.31158530712127686,
-0.1569441556930542,
0.1672431081533432,
0.11591874063014984,
-0.08586972951889038,
-0.33893290162086487,
-0.0798836275935173,
-0.0910012349486351,
-0.07693567126989365,
0.2428700178861618,
0.22078493237495422,
-0.29676076769828796,
0.06718266755342484,
0.160080686211586,
0.010626107454299927,
-0.1577455997467041,
0.20018789172172546,
-0.11212269961833954,
-0.40168073773384094,
0.2011319100856781,
-0.08835219591856003,
0.3190876245498657,
-0.09513721615076065,
-0.45763319730758667,
0.13340632617473602,
-0.3590776026248932,
0.13870587944984436,
0.1225220113992691,
-0.0899597629904747,
0.3535977005958557,
0.4322204291820526,
0.29723724722862244,
-0.1258409023284912,
-0.45322492718696594,
-0.6286534667015076,
0.11227324604988098,
0.09882169216871262,
0.2628732919692993,
0.2651168704032898,
0.011849664151668549,
-0.5563879609107971,
-0.32618024945259094,
-0.2160174548625946,
-0.23323644697666168,
-0.13985584676265717,
-0.12184089422225952,
-0.0717657282948494,
0.276231586933136,
-0.16534726321697235,
-0.01933649182319641,
-0.38655930757522583,
-0.26001232862472534,
0.2303517758846283,
0.013718970119953156,
0.2708122134208679,
0.14803354442119598,
0.01828659698367119,
0.08693338930606842,
-0.18995286524295807,
-0.21995088458061218,
-0.15496481955051422,
0.24679651856422424,
-0.12571226060390472,
-0.1860160529613495,
0.2900247275829315,
-0.29431241750717163,
-0.3492562174797058,
-0.14980053901672363,
0.33698570728302,
-0.03887074068188667,
-0.43577271699905396,
0.24204474687576294,
-0.009251635521650314,
0.03870818018913269,
0.36649760603904724,
0.42615869641304016,
0.10915960371494293,
0.004019858315587044,
-0.10988426208496094,
-0.33070242404937744,
0.14272640645503998,
0.29826557636260986,
0.12905314564704895,
0.29104161262512207,
0.45688268542289734,
0.05618864670395851,
0.4753077030181885,
0.29547321796417236,
-0.08683143556118011,
-0.08391712605953217,
-0.07430781424045563,
0.1444370597600937,
0.08796127885580063,
-0.16423992812633514,
0.07855317741632462,
0.12155881524085999,
-0.1975155472755432,
-0.0640975832939148,
0.0739264190196991,
-0.4293971657752991,
0.1195649802684784,
-0.06683753430843353,
-0.4489327073097229,
-0.21171167492866516,
0.1708766520023346,
-0.3148435950279236,
0.22128015756607056,
-0.0044557563960552216,
-0.18181933462619781,
-0.428625226020813,
-0.013520235195755959,
-0.10454514622688293,
0.12542663514614105,
0.493518203496933,
-0.02729613147675991,
-0.7205206155776978,
-0.17122378945350647,
0.10516902804374695,
0.1942104995250702,
0.1936451941728592,
-0.035631220787763596,
-0.05358107388019562,
-0.15588031709194183,
-0.24286432564258575,
0.11014270037412643,
0.5135920643806458,
-0.640179455280304,
-0.09944629669189453,
0.0062602851539850235,
-0.036128997802734375,
-0.41358283162117004,
0.10121776163578033,
-0.11083114147186279,
0.6311922073364258,
0.1262049376964569,
0.2019187957048416,
-0.24244150519371033,
-0.0663224458694458,
0.2646765410900116,
0.1668112725019455,
0.045928988605737686,
-0.05002252757549286,
0.0174420066177845,
-0.27314671874046326,
-0.463909775018692,
0.04068319872021675,
0.22740007936954498,
-0.22662270069122314,
0.3400476574897766,
-0.050388943403959274,
0.12245628982782364,
0.1547204852104187,
0.23923011124134064,
0.17649564146995544,
0.21204283833503723,
0.3940503001213074,
-0.20737507939338684,
-0.00266231968998909,
-0.08576762676239014,
-0.3825189173221588,
0.2572578191757202,
-0.18848249316215515,
-0.06863917410373688,
-0.033562831580638885,
0.15107068419456482,
0.5457568168640137,
0.3628058433532715,
0.07321096211671829,
0.2288612723350525,
-0.061628565192222595,
0.10597086697816849,
0.1281011402606964,
-0.1131579652428627,
-0.029960526153445244,
-0.0017082653939723969,
-0.18257063627243042,
-0.4685074985027313,
0.38493770360946655,
0.2469271868467331,
-0.34855252504348755,
0.9651065468788147,
0.14413180947303772,
-0.23262348771095276,
0.507365882396698,
0.1451866626739502,
1.0447771549224854,
0.055486973375082016,
0.0010918974876403809,
0.06704753637313843,
-0.041063472628593445,
0.4585544168949127,
0.04992376267910004,
-0.038021575659513474,
-0.07536156475543976,
0.11973080039024353,
-0.02043972536921501,
-0.16488461196422577,
0.08141592144966125,
0.4100070595741272,
-0.18807540833950043,
0.1498280167579651,
-0.2628295421600342,
0.35907599329948425,
0.2730700671672821,
0.22486093640327454,
0.07356077432632446,
-0.05936166271567345,
-0.4385662376880646,
0.05755548179149628,
0.021477200090885162,
-0.2175305187702179,
-0.10119330137968063,
-0.15744155645370483,
0.035207729786634445,
-0.1904411017894745,
-0.19406914710998535,
-0.2743494212627411,
-0.32481124997138977,
0.2947165369987488,
0.14213718473911285,
-0.1973634660243988,
0.3999284505844116,
0.14858120679855347,
-0.3378528356552124,
0.13762123882770538,
0.016462750732898712,
0.006715923547744751,
0.3529832065105438,
0.37126967310905457,
0.04672401025891304,
-0.24956579506397247,
0.32520174980163574,
0.009477075189352036,
-0.19819363951683044,
0.42300525307655334,
-0.20248165726661682,
-0.648506224155426,
0.0481448769569397,
0.30072444677352905,
0.3081052899360657,
-0.14370153844356537,
-0.3634738624095917,
0.17798128724098206,
-0.3867347836494446,
0.07221905887126923,
0.013417419046163559,
0.09696272760629654,
-0.1364591270685196,
0.3208315074443817,
0.09757603704929352,
-0.03336692228913307,
0.08062364161014557,
-0.03470488637685776,
-0.2020406424999237,
-0.18612731993198395,
0.14150094985961914,
-0.17588898539543152,
-0.07775357365608215,
-0.28167101740837097,
-0.061574846506118774,
0.14310747385025024,
0.09047683328390121,
0.22914503514766693,
-0.0558345764875412,
-0.25340259075164795,
0.19951733946800232,
-0.060749802738428116,
-0.00044869258999824524,
0.4192478358745575,
-0.30661270022392273,
-0.4144827425479889,
-0.1443594992160797,
0.2687881886959076,
-0.07983455061912537,
0.03255801647901535,
-0.16661816835403442,
0.03579764813184738,
0.017430221661925316,
0.13166473805904388,
-0.2660423517227173,
0.21308283507823944,
0.24694857001304626,
0.41232988238334656,
0.16665519773960114,
0.5478368997573853,
-0.187740296125412,
-0.15215446054935455,
-0.09227646142244339,
0.10011029988527298,
-0.27221107482910156,
-0.21801987290382385,
-0.15922418236732483,
0.18460270762443542,
-0.10869649797677994,
-0.29119938611984253,
0.23564891517162323,
-0.17994393408298492,
-0.05963290110230446,
-0.14293469488620758,
0.04029674455523491,
-0.15738993883132935,
-0.037870317697525024,
0.07800135761499405,
-0.12470865249633789,
-0.30156591534614563,
0.12577491998672485,
-0.03629913181066513,
-0.23030748963356018,
0.022207334637641907,
0.12169614434242249,
0.196824848651886,
0.28637444972991943,
-0.039733462035655975,
0.028148159384727478,
0.11481660604476929,
-0.1057562530040741,
0.11969710141420364,
0.18535774946212769,
0.024870622903108597,
0.0998513400554657,
0.08231986314058304,
0.16571268439292908,
0.4659439027309418,
-0.23907354474067688,
0.34399622678756714,
-0.06758778542280197,
0.13731618225574493,
-0.40029048919677734,
-0.014623013325035572,
0.4610045254230499,
0.005695059895515442,
0.23342719674110413,
0.1465974897146225,
-0.04606777802109718,
0.2984340786933899,
0.16220222413539886,
-0.03758278489112854,
0.14546768367290497,
-0.1650625765323639,
0.3035728335380554,
0.5327643752098083,
0.07538554072380066,
-0.08052286505699158,
0.026582377031445503,
0.04871153086423874,
0.2024025321006775,
-0.19226688146591187,
0.17229649424552917,
0.3999800384044647,
0.2832767367362976,
0.15447241067886353,
0.2474943995475769,
-0.16934651136398315,
0.22626256942749023,
0.22602088749408722,
-0.11987051367759705,
0.1929328441619873,
0.4043177366256714,
-0.11281376332044601,
0.13327330350875854,
-0.31239384412765503,
0.34238412976264954,
0.07850680500268936,
0.26038894057273865,
0.13289298117160797,
-0.1665295660495758,
-0.09564494341611862,
0.03952566534280777,
-0.2600662112236023,
-0.10500164330005646,
-0.3325583338737488,
0.6502224206924438,
-0.12568899989128113,
0.15238122642040253,
-0.009558532387018204,
-0.029104292392730713,
-0.06798826903104782,
0.38785016536712646,
-0.29083767533302307,
-0.42566198110580444,
-0.07968182861804962,
0.0010672509670257568,
-0.0011557228863239288,
0.2420164942741394,
0.2293728142976761,
0.17160114645957947,
-0.2584715485572815,
0.3540058135986328,
-0.25497862696647644,
-0.04850448668003082,
-0.0345345214009285,
0.05943944305181503,
0.3590857982635498,
-0.27261093258857727,
0.014059595763683319,
0.10895636677742004,
-0.041242435574531555,
-0.010920889675617218,
0.3971785306930542,
-0.052128229290246964,
-0.47887155413627625,
0.06781335175037384,
0.25668811798095703,
-0.06257427483797073,
-0.16412711143493652,
0.055305883288383484,
0.09998749941587448,
0.10181060433387756,
0.5610060095787048,
-0.08315813541412354,
0.06361623853445053,
0.10726048797369003,
0.043287426233291626,
0.08400233089923859,
0.03659508377313614,
0.022218450903892517,
0.3681558668613434,
-0.2969992756843567,
-0.06319867074489594,
-0.5230531692504883,
-0.45038291811943054,
-0.11671251058578491,
-0.2507740259170532,
0.23880209028720856,
-0.04161030054092407,
0.3627627491950989,
0.4628169536590576,
-0.2081301361322403,
-0.1657027155160904,
-0.06574251502752304,
-0.1593509018421173,
-0.16726620495319366,
-0.10603104531764984,
-0.04259992390871048,
0.5095943212509155,
0.15750597417354584,
-0.2835850417613983,
-0.25020554661750793,
-0.2844699025154114,
0.012293405830860138,
-0.07903371751308441,
-0.2751818299293518,
0.04847458377480507,
0.1727965772151947,
0.3891463577747345,
0.13668079674243927,
0.03885103017091751,
-0.05987752228975296,
0.14943471550941467,
0.09511041641235352,
0.13174811005592346,
-0.08223302662372589,
0.26591813564300537,
0.1105051040649414,
0.22681918740272522,
-0.1659799963235855,
-0.05949082598090172,
-0.13381454348564148,
-0.1783500611782074,
-0.002055838704109192,
-0.17528651654720306,
-0.37031030654907227,
0.013746306300163269,
0.05114436149597168,
0.1874893754720688,
-0.27925965189933777,
0.313588947057724,
-0.37092655897140503,
0.11663365364074707,
-0.0696888342499733,
0.11366716027259827,
0.37551096081733704,
-0.6355931758880615,
-0.31628403067588806,
0.09138331562280655,
0.3723938763141632,
0.062004558742046356,
-0.18047919869422913,
-0.3811030089855194,
-0.2478775978088379,
0.4260106384754181,
-0.20998868346214294,
0.04167031869292259,
0.14113004505634308,
-0.011860139667987823,
-0.029945192858576775,
-0.06956374645233154,
-0.03735268861055374,
0.007888909429311752,
-0.036684464663267136,
-0.14666275680065155,
-0.3722480535507202
] |
https://github.com/huggingface/datasets/pull/214 | [arrow_dataset.py] add new filter function | I tried on some datasets with nested structure and it works fine ! Great work :D
| The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
``` | 16 | text: [arrow_dataset.py] add new filter function
The `.map()` function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a `.filter()` function in the same spirit than the `.map()` function.
Here is a sample code you can play around with:
```python
ds = nlp.load_dataset("squad", split="validation[:10%]")
def remove_under_idx_5(example, idx):
return idx < 5
def only_keep_examples_with_is_in_context(example):
return "is" in example["context"]
result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)
print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))
```
I tried on some datasets with nested structure and it works fine ! Great work :D
| [
-0.13861683011054993,
-0.029765859246253967,
-0.17057156562805176,
-0.24748112261295319,
-0.1965668946504593,
-0.030388880521059036,
0.04964416101574898,
0.3315575420856476,
0.10008911788463593,
-0.09590652585029602,
-0.060105957090854645,
0.6289251446723938,
-0.26590052247047424,
0.2680533528327942,
0.12676508724689484,
-0.2813071608543396,
-0.05261499434709549,
0.211232990026474,
0.33880069851875305,
0.12043067812919617,
-0.1769212931394577,
0.018470481038093567,
-0.19070036709308624,
0.34560513496398926,
0.30912116169929504,
-0.42334383726119995,
0.21512459218502045,
0.00894118845462799,
-0.0614815354347229,
-0.3610824644565582,
0.2793169915676117,
0.12509924173355103,
-0.0663413554430008,
0.21233046054840088,
-0.0001145039641414769,
-0.17566914856433868,
0.16967472434043884,
-0.1537744402885437,
-0.19729602336883545,
-0.27406102418899536,
-0.1374402493238449,
-0.12994889914989471,
0.13905777037143707,
-0.11165787279605865,
0.05422168970108032,
-0.023692533373832703,
-0.12673652172088623,
-0.4232591390609741,
0.5223307013511658,
0.1368517130613327,
0.14097902178764343,
0.004696300253272057,
-0.11269504576921463,
0.18752403557300568,
-0.0015485584735870361,
0.4223281741142273,
-0.08781006187200546,
0.13630962371826172,
0.4207993149757385,
-0.3931483030319214,
0.2931126058101654,
0.48826301097869873,
-0.3401045799255371,
-0.16761727631092072,
-0.058211520314216614,
-0.2262231707572937,
0.16323769092559814,
-0.4763006269931793,
0.04247100651264191,
0.3745788633823395,
0.2523344159126282,
-0.30896130204200745,
-0.38312026858329773,
-0.49172356724739075,
0.0001831992994993925,
-0.35945507884025574,
-0.43624740839004517,
0.14990165829658508,
-0.32214611768722534,
0.1769370585680008,
-0.10489615797996521,
-0.03541696071624756,
0.06638471782207489,
0.29315099120140076,
0.38055405020713806,
0.31293195486068726,
-0.008586096577346325,
0.24550342559814453,
0.2840369939804077,
-0.08985283970832825,
0.27388784289360046,
-0.30078545212745667,
0.10116838663816452,
0.4408355951309204,
-0.11432206630706787,
-0.28935080766677856,
0.14459994435310364,
0.034657686948776245,
0.11994365602731705,
0.07635065168142319,
0.25585082173347473,
0.21418273448944092,
0.025317449122667313,
0.38755229115486145,
0.2627656161785126,
-0.10914339125156403,
0.45899656414985657,
0.388568252325058,
-0.00814107060432434,
0.016916945576667786,
-0.08862132579088211,
0.0783897340297699,
0.23902744054794312,
-0.023700829595327377,
-0.007597228512167931,
-0.11135200411081314,
0.07778148353099823,
0.13198599219322205,
-0.30616113543510437,
-0.17162908613681793,
-0.5732906460762024,
-0.2654428482055664,
0.2660965323448181,
0.14646369218826294,
0.43487080931663513,
-0.07860320061445236,
0.04414638131856918,
0.09423770010471344,
-0.03547682613134384,
0.09039557725191116,
0.0031768525950610638,
0.051862314343452454,
-0.23960788547992706,
0.029764486476778984,
-0.03296840935945511,
-0.1768672615289688,
0.31416580080986023,
-0.25669094920158386,
-0.0950818806886673,
0.08136846125125885,
0.5695680975914001,
-0.13048163056373596,
0.5572800636291504,
0.23012566566467285,
-0.34279388189315796,
-0.13780362904071808,
0.2843165397644043,
-0.2796155512332916,
-0.21195262670516968,
0.08655542135238647,
-0.3463886082172394,
-0.3498070240020752,
0.03585825860500336,
0.15243208408355713,
-0.15367791056632996,
0.03923138976097107,
-0.2839721143245697,
0.7326002717018127,
0.09273513406515121,
-0.5351871252059937,
0.2456607222557068,
0.14770525693893433,
-0.3882167637348175,
-0.17518599331378937,
0.04770241677761078,
0.35458818078041077,
-0.5074103474617004,
-0.21342889964580536,
-0.6929492354393005,
-0.09409178793430328,
-0.11365500837564468,
-0.19325466454029083,
-0.3639838397502899,
0.4327157437801361,
-0.10600971430540085,
0.11954542994499207,
0.8112413883209229,
-0.271911084651947,
-0.22413355112075806,
0.05242849886417389,
0.14342886209487915,
0.23762597143650055,
-0.20638394355773926,
-0.047241948544979095,
0.21486163139343262,
-0.18148885667324066,
-0.12598896026611328,
0.22058804333209991,
-0.14968587458133698,
-0.2638969123363495,
0.15653929114341736,
0.08446355909109116,
0.47774213552474976,
0.008849900215864182,
-0.10750186443328857,
0.077972911298275,
0.178107351064682,
-0.2552728056907654,
0.23897507786750793,
0.07312149554491043,
0.11760000884532928,
-0.06804289668798447,
0.3787280321121216,
-0.16673138737678528,
0.02466227486729622,
-0.6303788423538208,
-0.16007518768310547,
-0.06003948301076889,
-0.007961887866258621,
-0.30381444096565247,
-0.06653216481208801,
-0.23545795679092407,
-0.07535117864608765,
0.10550075024366379,
-0.04964404180645943,
-0.3502308428287506,
0.09156595170497894,
-0.4177878499031067,
0.01897832751274109,
-0.3633066415786743,
-0.2645280063152313,
0.008805811405181885,
-0.0804913267493248,
-0.018169891089200974,
-0.048306141048669815,
0.293430894613266,
0.34234654903411865,
-0.2539834678173065,
-0.3433670103549957,
0.11257752776145935,
0.011266980320215225,
0.13085168600082397,
0.02695840410888195,
0.2848113179206848,
0.34871378540992737,
-0.17158599197864532,
-0.039326347410678864,
-0.0027515292167663574,
-0.023994402959942818,
-0.23848949372768402,
0.003566887229681015,
0.2720659077167511,
0.22566036880016327,
0.056165456771850586,
-0.511078417301178,
0.496823251247406,
0.2568804919719696,
0.4178481996059418,
0.10611577332019806,
0.14691917598247528,
0.15193460881710052,
-0.059474825859069824,
-0.2467532455921173,
-0.2989625036716461,
-0.18603120744228363,
0.012392976321280003,
0.10570546984672546,
-0.09644350409507751,
-0.16195306181907654,
0.3163840174674988,
0.014929275959730148,
-0.055700816214084625,
0.16026121377944946,
0.2805732786655426,
0.15534070134162903,
-0.03163396567106247,
0.22171176970005035,
0.21485216915607452,
0.5251639485359192,
0.29184389114379883,
-0.10566158592700958,
-0.04502391070127487,
0.3229314684867859,
0.04185163602232933,
0.2124987244606018,
0.17894110083580017,
0.3763183355331421,
-0.07336390763521194,
0.3090316355228424,
0.006229594349861145,
-0.3036547303199768,
-0.3676086664199829,
-0.103587307035923,
-0.09153134375810623,
-0.07605061680078506,
0.18308040499687195,
-0.040515054017305374,
-0.380420058965683,
0.04136653244495392,
0.2119196057319641,
0.07517964392900467,
-0.19298198819160461,
0.2497624307870865,
0.08797024935483932,
-0.47482505440711975,
0.26014721393585205,
0.05078853294253349,
0.29789769649505615,
0.05511605739593506,
-0.2596162259578705,
0.08177827298641205,
-0.33800074458122253,
0.0884338766336441,
0.14225926995277405,
-0.02006976306438446,
0.3767014145851135,
0.3243536353111267,
0.3845537304878235,
-0.09114465862512589,
-0.4194169044494629,
-0.5978333950042725,
0.1888926923274994,
0.06301594525575638,
0.2809061110019684,
0.2267485409975052,
0.15149514377117157,
-0.41593825817108154,
-0.4019484519958496,
-0.1542845517396927,
-0.020156964659690857,
-0.20816615223884583,
-0.0011106468737125397,
-0.055261000990867615,
0.3484176695346832,
-0.09563855826854706,
-0.06299663335084915,
-0.40198272466659546,
-0.34617969393730164,
0.131465882062912,
-0.052220337092876434,
0.3461129665374756,
0.1399732381105423,
0.014239356853067875,
0.0171993188560009,
-0.27730071544647217,
-0.19881662726402283,
-0.0912177711725235,
0.1445964127779007,
-0.019592013210058212,
-0.2034146636724472,
0.29920026659965515,
-0.3202193081378937,
-0.4085371494293213,
-0.07471014559268951,
0.22428520023822784,
-0.09844058752059937,
-0.4087459146976471,
0.13701829314231873,
-0.06791792809963226,
0.03978245332837105,
0.29199138283729553,
0.45378825068473816,
0.19246241450309753,
-0.09257124364376068,
-0.19197407364845276,
-0.15910375118255615,
0.09737537056207657,
0.1219329684972763,
0.22587467730045319,
0.12829634547233582,
0.4129979610443115,
0.2409406304359436,
0.4354403614997864,
0.37054669857025146,
-0.013624489307403564,
0.03398123010993004,
0.009410010650753975,
0.14319929480552673,
0.018230199813842773,
-0.1631333976984024,
-0.008988865651190281,
0.1033845916390419,
-0.010279729031026363,
-0.009779110550880432,
0.1260732114315033,
-0.40352317690849304,
0.21944931149482727,
-0.15522299706935883,
-0.3037557303905487,
-0.1275433897972107,
0.0996047705411911,
-0.36690208315849304,
0.26049190759658813,
-0.04534049704670906,
-0.27567073702812195,
-0.3469060957431793,
-0.08680782467126846,
-0.15741685032844543,
0.005877278745174408,
0.4229603111743927,
0.02532530575990677,
-0.7406789064407349,
-0.31826090812683105,
0.13951872289180756,
0.24799783527851105,
0.1327100694179535,
-0.01871884986758232,
0.0031909383833408356,
-0.1737646758556366,
-0.22900943458080292,
0.22897286713123322,
0.5392325520515442,
-0.5853782892227173,
-0.070065438747406,
-0.03669123351573944,
-0.021581657230854034,
-0.5529969930648804,
0.06442531943321228,
-0.07805375754833221,
0.6032370328903198,
0.12530945241451263,
0.3316441476345062,
-0.18389415740966797,
-0.20453105866909027,
0.21915678679943085,
0.1709187924861908,
0.06926801800727844,
-0.13454805314540863,
-0.023029344156384468,
-0.27466532588005066,
-0.4666089415550232,
0.21524234116077423,
0.18033954501152039,
-0.07007241994142532,
0.34159061312675476,
-0.28192928433418274,
0.07804398238658905,
-0.0484418123960495,
0.11711630970239639,
0.09862850606441498,
0.2965750992298126,
0.40361353754997253,
-0.12847457826137543,
-0.05230705440044403,
-0.021455615758895874,
-0.2143269181251526,
0.39285239577293396,
-0.1573922336101532,
-0.049894243478775024,
-0.12909340858459473,
0.1976328194141388,
0.5849571824073792,
0.3326224088668823,
-0.02100193500518799,
0.348389208316803,
-0.11385506391525269,
0.15108974277973175,
0.11974214017391205,
-0.1320447474718094,
-0.1748460829257965,
-0.00021843472495675087,
-0.15969903767108917,
-0.41446834802627563,
0.3853612244129181,
0.1632918268442154,
-0.2912929654121399,
0.8329030275344849,
0.04488810524344444,
-0.22015827894210815,
0.5210141539573669,
0.08127955347299576,
0.8761457800865173,
0.21806326508522034,
-0.13576334714889526,
0.16499996185302734,
-0.014186006039381027,
0.381503701210022,
0.01264379546046257,
0.010338537395000458,
-0.013347167521715164,
-0.011356455273926258,
0.0055052656680345535,
-0.0938524678349495,
0.037779517471790314,
0.4443095922470093,
-0.18368157744407654,
0.204269140958786,
-0.2498406171798706,
0.21277694404125214,
0.33902469277381897,
0.2292262315750122,
-0.003117905929684639,
-0.2447843849658966,
-0.49414968490600586,
0.07731560617685318,
0.06346424669027328,
-0.29808422923088074,
-0.022706739604473114,
-0.19775712490081787,
0.12422583997249603,
-0.20820799469947815,
-0.23954033851623535,
-0.22972938418388367,
-0.38796767592430115,
0.2733978033065796,
0.1977587193250656,
-0.3010662794113159,
0.3299478590488434,
0.2978646755218506,
-0.20507173240184784,
0.16820485889911652,
0.07529605180025101,
0.12988397479057312,
0.39032885432243347,
0.3914504945278168,
-0.01034464593976736,
-0.31463542580604553,
0.4429624676704407,
0.0031031183898448944,
-0.193893700838089,
0.25060516595840454,
-0.11063327640295029,
-0.5271318554878235,
0.1832592785358429,
0.23751947283744812,
0.0791487842798233,
-0.12504039704799652,
-0.2660056948661804,
0.03693576529622078,
-0.3136294186115265,
-0.10044027864933014,
0.06861243396997452,
0.10309518873691559,
-0.18971191346645355,
0.22536936402320862,
0.13488808274269104,
-0.08905915170907974,
0.12785348296165466,
0.0970979854464531,
-0.09375155717134476,
0.08050573617219925,
0.24101856350898743,
-0.031054232269525528,
-0.07502905279397964,
-0.2941807806491852,
0.059434257447719574,
0.23081962764263153,
0.13504937291145325,
0.3568522036075592,
-0.00938019435852766,
-0.22133100032806396,
0.23726177215576172,
-0.15430063009262085,
-0.1613771617412567,
0.43573763966560364,
-0.4235883355140686,
-0.5370829701423645,
-0.14730167388916016,
0.2480861097574234,
-0.2331521064043045,
0.025521934032440186,
-0.20430314540863037,
0.10036127269268036,
-0.027241958305239677,
0.2414064109325409,
-0.314510703086853,
0.16943056881427765,
0.11423022300004959,
0.4110649824142456,
0.04506220668554306,
0.4627546966075897,
-0.19178223609924316,
-0.17879360914230347,
-0.03806948661804199,
-0.009553074836730957,
-0.3138945996761322,
-0.25471022725105286,
-0.11176039278507233,
0.13563695549964905,
-0.11862140148878098,
-0.2146243453025818,
0.20753523707389832,
-0.08474582433700562,
-0.005914622917771339,
-0.22323709726333618,
0.1540243774652481,
-0.25925788283348083,
-0.02740013599395752,
0.15184111893177032,
-0.1400832235813141,
-0.39539164304733276,
0.20739996433258057,
-0.14572025835514069,
-0.2766139507293701,
-0.05208919942378998,
0.07521846145391464,
0.15990538895130157,
0.142246276140213,
-0.08726824820041656,
0.06173521652817726,
0.06736481934785843,
-0.1805671900510788,
0.03705897182226181,
0.1958017647266388,
0.0019631944596767426,
-0.09093108773231506,
0.03880182281136513,
0.19671852886676788,
0.32612094283103943,
-0.12902897596359253,
0.4069320261478424,
-0.12289441376924515,
0.1451730877161026,
-0.4839821457862854,
0.015533514320850372,
0.4500197172164917,
-0.01853763312101364,
0.2708895802497864,
0.06505873054265976,
0.044765960425138474,
0.18058300018310547,
0.1702040433883667,
-0.03402631729841232,
0.21323759853839874,
-0.17435990273952484,
0.4256257712841034,
0.46719586849212646,
0.14718350768089294,
-0.06382620334625244,
0.09943441301584244,
-0.019808314740657806,
0.29263871908187866,
0.002247720956802368,
0.16111016273498535,
0.34241124987602234,
0.42337241768836975,
0.1171889454126358,
0.2760564982891083,
-0.17955560982227325,
0.09105105698108673,
0.16631361842155457,
-0.1371394246816635,
0.013122782111167908,
0.2882001996040344,
0.042300425469875336,
0.142777681350708,
-0.4333920478820801,
0.34204626083374023,
0.16542553901672363,
0.22060486674308777,
0.03272942081093788,
-0.3282798230648041,
-0.09163647145032883,
0.023930087685585022,
-0.25753727555274963,
-0.0457124225795269,
-0.4311266541481018,
0.3949677348136902,
-0.1501503884792328,
0.11753779649734497,
-0.11296248435974121,
-0.0024659931659698486,
0.10620075464248657,
0.3406798541545868,
-0.3364742398262024,
-0.1749206781387329,
0.008659109473228455,
-0.032083190977573395,
-0.015581805258989334,
0.2509090304374695,
0.2306581437587738,
0.06690255552530289,
-0.2920747697353363,
0.29326924681663513,
-0.22124110162258148,
-0.19133241474628448,
-0.07024600356817245,
0.03680531680583954,
0.25896573066711426,
-0.23522506654262543,
0.1220410019159317,
0.14789147675037384,
-0.06039045751094818,
0.06684272736310959,
0.4374740421772003,
-0.02389892190694809,
-0.4678952395915985,
0.06289064884185791,
0.23587976396083832,
0.022908523678779602,
-0.1545647829771042,
0.037787675857543945,
0.012286283075809479,
0.011838389560580254,
0.7016757130622864,
-0.16457422077655792,
0.0951642170548439,
0.05052105337381363,
0.08365161716938019,
0.0195399709045887,
0.1887817531824112,
0.013369482010602951,
0.21849212050437927,
-0.1855699121952057,
-0.0769408568739891,
-0.424043744802475,
-0.44970962405204773,
-0.2110314667224884,
-0.1489877700805664,
0.2813352644443512,
-0.031974103301763535,
0.3019159734249115,
0.43587011098861694,
-0.16241233050823212,
-0.16269466280937195,
-0.06604529172182083,
-0.08317850530147552,
-0.25587430596351624,
-0.12826356291770935,
0.006032984703779221,
0.5135490298271179,
0.08580122143030167,
-0.2692618668079376,
-0.18072737753391266,
-0.3071173429489136,
0.052838943898677826,
0.08911846578121185,
-0.2919239401817322,
0.1375911384820938,
-0.035292401909828186,
0.34016478061676025,
0.18877361714839935,
0.01509121060371399,
-0.09970063716173172,
0.28437769412994385,
-0.037284549325704575,
0.022736888378858566,
-0.14603452384471893,
0.2638917565345764,
0.2446020096540451,
0.42515289783477783,
-0.18436388671398163,
-0.04586150124669075,
-0.02290092036128044,
-0.1403813660144806,
-0.043435800820589066,
-0.15609849989414215,
-0.3181993067264557,
0.08116289228200912,
0.0809776559472084,
0.23112663626670837,
-0.29696542024612427,
0.2841399908065796,
-0.34010058641433716,
0.02740270085632801,
-0.08136021345853806,
-0.17876900732517242,
0.3514322340488434,
-0.5660260319709778,
-0.3621343970298767,
0.09028016030788422,
0.3410990238189697,
0.2478361427783966,
-0.11265774816274643,
-0.20883780717849731,
-0.23358583450317383,
0.3755183219909668,
-0.20608803629875183,
-0.1377405971288681,
0.10573863983154297,
0.03435712307691574,
0.018539708107709885,
-0.07905852794647217,
-0.050540193915367126,
0.16279122233390808,
-0.05108334869146347,
-0.16165994107723236,
-0.40799736976623535
] |
https://github.com/huggingface/datasets/pull/209 | Add a Google Drive exception for small files | Can you run the style formatting tools to pass the code quality test?
You can find all the details in CONTRIBUTING.md: https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md#how-to-contribute-to-nlp | I tried to use the ``nlp`` library to load personnal datasets. I mainly copy-paste the code for ``multi-news`` dataset because my files are stored on Google Drive.
One of my dataset is small (< 25Mo) so it can be verified by Drive without asking the authorization to the user. This makes the download starts directly.
Currently the ``nlp`` raises a error: ``ConnectionError: Couldn't reach https://drive.google.com/uc?export=download&id=1DGnbUY9zwiThTdgUvVTSAvSVHoloCgun`` while the url is working. So I just add a new exception as you have already done for ``firebasestorage.googleapis.com`` :
```
elif (response.status_code == 400 and "firebasestorage.googleapis.com" in url) or (response.status_code == 405 and "drive.google.com" in url)
```
I make an example of the error that you can run on [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ae_JJ9uvUt-9GBh0uGZhjbF5aXkl-BPv?usp=sharing)
I avoid the error by adding an exception but there is maybe a proper way to do it.
Many thanks :hugs:
Best, | 22 | text: Add a Google Drive exception for small files
I tried to use the ``nlp`` library to load personnal datasets. I mainly copy-paste the code for ``multi-news`` dataset because my files are stored on Google Drive.
One of my dataset is small (< 25Mo) so it can be verified by Drive without asking the authorization to the user. This makes the download starts directly.
Currently the ``nlp`` raises a error: ``ConnectionError: Couldn't reach https://drive.google.com/uc?export=download&id=1DGnbUY9zwiThTdgUvVTSAvSVHoloCgun`` while the url is working. So I just add a new exception as you have already done for ``firebasestorage.googleapis.com`` :
```
elif (response.status_code == 400 and "firebasestorage.googleapis.com" in url) or (response.status_code == 405 and "drive.google.com" in url)
```
I make an example of the error that you can run on [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ae_JJ9uvUt-9GBh0uGZhjbF5aXkl-BPv?usp=sharing)
I avoid the error by adding an exception but there is maybe a proper way to do it.
Many thanks :hugs:
Best,
Can you run the style formatting tools to pass the code quality test?
You can find all the details in CONTRIBUTING.md: https://github.com/huggingface/nlp/blob/master/CONTRIBUTING.md#how-to-contribute-to-nlp | [
-0.08382399380207062,
0.3072516918182373,
0.0001097600907087326,
0.13995641469955444,
-0.07850045710802078,
0.006991125643253326,
0.2511056661605835,
0.12898215651512146,
-0.20545656979084015,
0.18628723919391632,
0.14094789326190948,
-0.1475745588541031,
-0.03754092752933502,
0.04852071404457092,
0.27503982186317444,
-0.10432709753513336,
-0.17485803365707397,
0.356909841299057,
0.5367454290390015,
0.11736118793487549,
-0.12435370683670044,
0.21918587386608124,
-0.04455062001943588,
0.16636134684085846,
-0.17103266716003418,
-0.34099066257476807,
-0.054656028747558594,
0.35914579033851624,
-0.07591865211725235,
-0.41675764322280884,
0.0732220932841301,
0.1942017376422882,
0.1660575568675995,
0.009084388613700867,
-0.0001255224779015407,
-0.13150297105312347,
0.43352800607681274,
-0.01907334104180336,
-0.24646225571632385,
-0.3761094808578491,
0.14476266503334045,
-0.5293671488761902,
-0.05195704847574234,
-0.265182763338089,
0.23603489995002747,
0.009056966751813889,
0.4597715437412262,
0.14470826089382172,
0.21044985949993134,
0.32578715682029724,
0.029189331457018852,
-0.14548468589782715,
0.13023614883422852,
0.1708374321460724,
0.23332956433296204,
-0.0769532322883606,
0.049998633563518524,
0.4342209994792938,
0.24579907953739166,
0.05570516735315323,
-0.010126464068889618,
-0.06103914976119995,
0.022791841998696327,
0.019596189260482788,
-0.02598421275615692,
0.0509130023419857,
-0.2758733332157135,
-0.12811043858528137,
-0.02403784543275833,
0.4014703333377838,
0.2418634593486786,
-0.035421088337898254,
-0.45390599966049194,
-0.5195891857147217,
0.31830206513404846,
-0.2671016454696655,
0.329130619764328,
0.2838125228881836,
-0.18084871768951416,
0.12771284580230713,
-0.5572828650474548,
-0.42467933893203735,
-0.4667109251022339,
0.3775557279586792,
0.1435735523700714,
0.2031482607126236,
0.1410243660211563,
0.155147522687912,
0.20711441338062286,
-0.009532537311315536,
-0.14917762577533722,
0.06584677845239639,
-0.23303857445716858,
0.01879851147532463,
0.16319243609905243,
-0.32789069414138794,
0.06853755563497543,
0.2029179334640503,
0.3810364007949829,
-0.01785798743367195,
0.140281081199646,
-0.10558076947927475,
-0.23371495306491852,
0.19984066486358643,
0.11303557455539703,
0.036346517503261566,
0.2805483341217041,
-0.32516828179359436,
0.6625738739967346,
0.2521974742412567,
0.2802729904651642,
0.14682354032993317,
-0.058885395526885986,
-0.28676164150238037,
-0.4344211518764496,
0.17061057686805725,
0.3187245726585388,
-0.15224958956241608,
-0.3700852394104004,
-0.03810557723045349,
-0.4530295729637146,
-0.09034540504217148,
0.07883249968290329,
0.40762776136398315,
-0.0007139653898775578,
-0.11006499081850052,
0.06945589929819107,
0.2457975596189499,
-0.04505584388971329,
-0.05750025808811188,
0.09433157742023468,
0.35772189497947693,
0.0054041072726249695,
0.1501873880624771,
0.343294233083725,
-0.2075238972902298,
0.19078676402568817,
-0.3094960153102875,
-0.10435420274734497,
-0.13598236441612244,
0.16729454696178436,
-0.1924557089805603,
-0.20049121975898743,
-0.1179673969745636,
0.27312296628952026,
0.014905424788594246,
-0.09194239974021912,
-0.44481968879699707,
-0.19396360218524933,
0.2876938581466675,
-0.2151966691017151,
-0.3157390356063843,
-0.18701086938381195,
-0.02582378312945366,
-0.3444032073020935,
-0.07989855855703354,
-0.03852037340402603,
0.2937646508216858,
-0.20069757103919983,
-0.4938020408153534,
0.10903045535087585,
0.2509240210056305,
-0.32473111152648926,
-0.14766445755958557,
0.017310718074440956,
0.598734438419342,
-0.039752133190631866,
-0.11619185656309128,
-0.43081560730934143,
0.002267623320221901,
0.38365238904953003,
0.24735453724861145,
-0.262138307094574,
0.2775799036026001,
-0.36036208271980286,
0.4955497980117798,
0.7274054288864136,
0.15222837030887604,
-0.533622145652771,
0.5814674496650696,
-0.44491302967071533,
-0.24848154187202454,
0.037260379642248154,
0.24952681362628937,
-0.07807546854019165,
-0.2305183857679367,
0.08337169140577316,
0.5824940800666809,
-0.29252687096595764,
0.3214360773563385,
-0.20084087550640106,
-0.40203768014907837,
0.20097699761390686,
0.051922757178545,
-0.09583669900894165,
-0.03113923966884613,
0.5364828705787659,
0.11837340146303177,
0.10390466451644897,
-0.11043070256710052,
-0.11161982268095016,
0.16912393271923065,
0.2716754674911499,
-0.3289947509765625,
-0.2819317877292633,
0.2653140127658844,
-0.3866790533065796,
0.12036106735467911,
0.041160911321640015,
-0.10478717088699341,
-0.07460859417915344,
-0.1561746597290039,
-0.32398226857185364,
-0.1811280995607376,
0.10000577569007874,
-0.04516628757119179,
-0.060335639864206314,
0.2578499913215637,
0.10954546928405762,
0.04415138438344002,
0.23790542781352997,
0.12193828076124191,
-0.028452301397919655,
0.07244597375392914,
-0.15471480786800385,
0.20791542530059814,
-0.26276156306266785,
-0.17912745475769043,
0.18704555928707123,
-0.00487392395734787,
0.13679903745651245,
-0.23371708393096924,
-0.17574188113212585,
0.3785741925239563,
-0.2343267798423767,
0.39723747968673706,
0.32732242345809937,
0.06483034044504166,
0.23111997544765472,
-0.10517746210098267,
0.1959020346403122,
0.22430773079395294,
0.09555012732744217,
0.18225029110908508,
-0.41221338510513306,
0.4784003496170044,
0.03919549658894539,
0.07587993144989014,
0.08683963119983673,
-0.07188296318054199,
0.16582262516021729,
-0.022881411015987396,
0.15266479551792145,
0.021735914051532745,
0.2714433968067169,
0.23075421154499054,
0.1900273859500885,
-0.27626436948776245,
-0.48176130652427673,
0.01616676151752472,
0.28485849499702454,
-0.09816214442253113,
0.4484679102897644,
0.4541117250919342,
0.19653545320034027,
-0.14269627630710602,
0.3096071481704712,
0.3764996826648712,
0.4418572783470154,
0.17636603116989136,
0.09142781794071198,
0.11246959865093231,
0.08440951257944107,
-0.35130050778388977,
0.056537073105573654,
0.0601879358291626,
-0.1425618976354599,
0.21115505695343018,
0.3548472821712494,
0.13393808901309967,
-0.2275453805923462,
-0.1555909663438797,
0.06153854727745056,
0.18631257116794586,
-0.28952252864837646,
0.17541299760341644,
0.001110907644033432,
-0.5836988091468811,
-0.20479623973369598,
0.16174179315567017,
-0.3560665547847748,
-0.050829850137233734,
0.20830410718917847,
0.3016921579837799,
-0.19504649937152863,
0.023320764303207397,
0.035373929888010025,
0.377721905708313,
-0.20619802176952362,
-0.11141691356897354,
0.06278728693723679,
0.03669135272502899,
-0.2758882939815521,
-0.01780303567647934,
0.5319966077804565,
0.12934371829032898,
0.39172351360321045,
0.03353601694107056,
-0.12050772458314896,
-0.3494747281074524,
-0.36442306637763977,
0.0036432743072509766,
0.0037610232830047607,
0.3000243306159973,
0.15793463587760925,
0.2849428653717041,
-0.09565719962120056,
-0.27660444378852844,
-0.019476624205708504,
-0.2599656283855438,
-0.19971616566181183,
0.007884934544563293,
-0.11281242966651917,
0.19949349761009216,
-0.18710993230342865,
-0.09223047643899918,
-0.12928909063339233,
-0.44386711716651917,
0.37098175287246704,
-0.022661034017801285,
0.3231050968170166,
0.1640242487192154,
0.11288426071405411,
0.22288469970226288,
0.2920999228954315,
-0.014595966786146164,
0.05142423138022423,
0.007759209722280502,
0.3091408312320709,
-0.1741608828306198,
-0.40423911809921265,
0.0031068213284015656,
-0.13993263244628906,
-0.31570494174957275,
0.11366159468889236,
-0.5585097074508667,
-0.3974340260028839,
-0.04619771987199783,
-0.22403433918952942,
-0.03219150751829147,
-0.03486289083957672,
0.3559243083000183,
-0.22946524620056152,
0.03233286738395691,
0.17598116397857666,
-0.3773978352546692,
-0.01817195862531662,
0.4171827435493469,
0.4389304518699646,
0.13960106670856476,
0.4676573574542999,
0.04538358375430107,
0.4495614171028137,
-0.09435184299945831,
0.07459099590778351,
0.6334401369094849,
0.15374740958213806,
0.2671566307544708,
0.32285821437835693,
0.15704767405986786,
0.42689627408981323,
0.07618065178394318,
-0.26882654428482056,
0.4186202883720398,
-0.041101470589637756,
-0.31603050231933594,
-0.19268088042736053,
-0.3478938341140747,
-0.563711941242218,
-0.4040745794773102,
0.3387424051761627,
0.061349913477897644,
-0.11898944526910782,
-0.04194817692041397,
-0.22549214959144592,
-0.15721632540225983,
-0.26989951729774475,
-0.1021878570318222,
0.3562195897102356,
0.14177657663822174,
0.1435539573431015,
0.042059700936079025,
-0.5090111494064331,
-0.45481306314468384,
0.5075386166572571,
0.3718297481536865,
0.4948928654193878,
-0.1896398961544037,
0.0057641975581645966,
0.05129209905862808,
-0.17332585155963898,
0.27946925163269043,
-0.3259240984916687,
0.08633900433778763,
-0.17726045846939087,
0.4660604000091553,
0.024496840313076973,
-0.09518788754940033,
-0.22088907659053802,
0.4689432978630066,
0.4021253287792206,
0.11749716103076935,
-0.45275643467903137,
0.12794964015483856,
0.08103906363248825,
-0.08873163908720016,
0.22450831532478333,
-0.08992708474397659,
-0.10045036673545837,
-0.3212554156780243,
-0.6150575876235962,
0.1644105315208435,
-0.0468270406126976,
0.07226444035768509,
-0.11696018278598785,
-0.006104141473770142,
0.08693642169237137,
-0.15755817294120789,
0.12084940075874329,
0.1610986888408661,
-0.02458895370364189,
0.19064942002296448,
-0.16191107034683228,
-0.08457323163747787,
0.15441110730171204,
-0.06226568669080734,
0.4081684350967407,
0.10378111898899078,
0.16609881818294525,
0.310747891664505,
-0.0012996122241020203,
0.23869580030441284,
0.6776286363601685,
-0.0737384706735611,
0.08940455317497253,
0.010166103020310402,
0.04249332472681999,
0.22949720919132233,
0.417644739151001,
-0.08540645241737366,
-0.0948629379272461,
-0.22714777290821075,
0.14834773540496826,
0.40546032786369324,
-0.027062727138400078,
-0.12000097334384918,
0.1919390857219696,
-0.024768874049186707,
-0.2009638100862503,
-0.08634425699710846,
-0.11145774275064468,
1.0667941570281982,
-0.06595045328140259,
0.09042517840862274,
-0.08332237601280212,
-0.122726209461689,
0.7971291542053223,
-0.12509766221046448,
0.4067029356956482,
-0.26140648126602173,
-0.10702144354581833,
-0.026587549597024918,
-0.02964891865849495,
0.01513192430138588,
0.042620476335287094,
-0.20501738786697388,
0.35032859444618225,
0.27644771337509155,
-0.3756723999977112,
0.011348760686814785,
0.6269793510437012,
-0.36031562089920044,
-0.13764001429080963,
-0.4821290969848633,
-0.07219306379556656,
-0.34073615074157715,
0.25845491886138916,
-0.2571948766708374,
-0.1435786485671997,
-0.39259910583496094,
-0.4667503237724304,
-0.41039592027664185,
0.09018807113170624,
-0.35392943024635315,
-0.03728054463863373,
-0.02283451333642006,
-0.5399205684661865,
0.4119064509868622,
0.1791972815990448,
0.2509268522262573,
0.16609494388103485,
-0.28983646631240845,
0.049442678689956665,
-0.5549750924110413,
-0.22860851883888245,
-0.08028561621904373,
-0.002615431323647499,
0.007254766300320625,
-0.11239662021398544,
-0.0705566257238388,
-0.015087775886058807,
-0.09079527854919434,
-0.24718698859214783,
0.29434269666671753,
0.11002167314291,
-0.09964980185031891,
0.12266995757818222,
-0.2563951313495636,
-0.22798216342926025,
-0.3959503769874573,
-0.08313184976577759,
-0.061704907566308975,
0.15967297554016113,
-0.03906518220901489,
-0.2903529405593872,
0.17679953575134277,
-0.017270341515541077,
0.044909097254276276,
0.23868310451507568,
-0.060180626809597015,
-0.011335153132677078,
0.2699231505393982,
-0.015264473855495453,
0.041049085557460785,
-0.027275249361991882,
0.009206786751747131,
-0.2889590263366699,
-0.2740905284881592,
-0.06398572027683258,
-0.1384868323802948,
-0.14742134511470795,
-0.07607462257146835,
0.2363741099834442,
0.13733640313148499,
0.5415148735046387,
0.1669747680425644,
-0.5542601346969604,
-0.13737845420837402,
0.2955229878425598,
-0.24259035289287567,
0.18596817553043365,
0.18278181552886963,
0.27390745282173157,
0.1912127435207367,
0.08374845236539841,
-0.12560434639453888,
0.08056849986314774,
-0.565372884273529,
0.09102168679237366,
0.20509086549282074,
0.07813353836536407,
0.054979294538497925,
-0.18928998708724976,
-0.1807495802640915,
0.25940728187561035,
-0.11749802529811859,
0.016478832811117172,
-0.015753474086523056,
0.22244344651699066,
0.16677820682525635,
-0.24002662301063538,
0.10774939507246017,
-0.24820972979068756,
0.10035337507724762,
0.12321651726961136,
0.025716904550790787,
-0.5222882628440857,
-0.12481646239757538,
-0.31042706966400146,
0.13052119314670563,
0.23681288957595825,
-0.2774108052253723,
0.06191183254122734,
-0.25778716802597046,
0.53947514295578,
0.25068551301956177,
0.376717209815979,
0.059088945388793945,
0.0905718058347702,
-0.15576516091823578,
-0.030746199190616608,
0.3356044888496399,
0.3396623730659485,
-0.056247368454933167,
-0.029552266001701355,
-0.32787227630615234,
-0.041923005133867264,
-0.11278839409351349,
0.21810950338840485,
-0.2542061507701874,
0.002865346148610115,
0.260227769613266,
-0.0022590961307287216,
-0.1574063003063202,
0.09175968915224075,
0.14683054387569427,
-0.42286548018455505,
0.03327270224690437,
0.3390531539916992,
0.1896933764219284,
0.04968826472759247,
-0.37150418758392334,
0.10565214604139328,
0.20855207741260529,
0.2337522655725479,
-0.3149440884590149,
-0.029088441282510757,
-0.3133341073989868,
-0.08483737707138062,
0.14181198179721832,
-0.026395682245492935,
0.4164716899394989,
-0.405306339263916,
-0.14601710438728333,
0.17207446694374084,
-0.007774952799081802,
0.341881662607193,
-0.012218095362186432,
-0.45150741934776306,
0.3683018684387207,
0.25503677129745483,
0.31968405842781067,
-0.13241270184516907,
0.1951068937778473,
0.3176373839378357,
-0.13612626492977142,
0.03080720454454422,
-0.06222275644540787,
0.027734970673918724,
0.1875433325767517,
0.1256527453660965,
-0.10510279983282089,
0.043006278574466705,
-0.36709457635879517,
-0.1158287525177002,
-0.12090983986854553,
-0.15522880852222443,
-0.056678786873817444,
0.25856274366378784,
-0.06503045558929443,
-0.16355326771736145,
-0.010889269411563873,
0.26021042466163635,
0.12402517348527908,
-0.40569794178009033,
0.4115779995918274,
0.0031173452734947205,
-0.08523716032505035,
0.020242074504494667,
0.20922154188156128,
0.4285602867603302,
-0.060287848114967346,
0.12266065180301666,
-0.0000020312145352363586,
0.0030560754239559174,
0.11607785522937775,
0.07759647071361542,
-0.04828234761953354,
0.48019424080848694,
0.0389474481344223,
0.21177785098552704,
-0.04196261242032051,
-0.039011672139167786,
0.4318719804286957,
0.09571220725774765,
-0.37244778871536255,
-0.11315527558326721,
0.046943049877882004,
-0.036728955805301666,
-0.22934213280677795,
-0.4871656000614166,
-0.02639693021774292,
-0.17564773559570312,
0.04168953746557236,
-0.07968863844871521,
-0.24344584345817566,
0.10568170994520187,
0.013926894403994083,
-0.030572116374969482,
0.10193300247192383,
0.22609774768352509,
0.5850860476493835,
0.46571552753448486,
-0.2645975947380066,
-0.38277673721313477,
-0.6640019416809082,
0.37150830030441284,
-0.13810352981090546,
0.15706349909305573,
0.10110396891832352,
0.12266968190670013,
-0.23696807026863098,
0.21756012737751007,
-0.10354764759540558,
0.8185117244720459,
-0.02951071411371231,
-0.08703966438770294,
-0.1725740283727646,
-0.2589966058731079,
0.15891698002815247,
-0.13739997148513794,
-0.20363520085811615,
-0.17670303583145142,
0.10491392016410828,
-0.293753057718277,
-0.17238524556159973,
-0.10121363401412964,
0.028848111629486084,
-0.2612933814525604,
0.07745278626680374,
0.41517701745033264,
0.228124737739563,
0.3095744252204895,
-0.2286851704120636,
-0.15650610625743866,
0.046667736023664474,
0.022447723895311356,
-0.21435147523880005,
-0.05969464033842087,
0.3334318697452545,
0.4415295124053955,
-0.01905270665884018,
0.41825994849205017,
-0.1524937003850937,
0.4080078601837158,
-0.08567090332508087,
0.32250162959098816,
-0.027576792985200882,
0.012134013697504997,
-0.5047059059143066,
0.11801248788833618,
-0.08663211762905121,
-0.13051548600196838,
0.08786500245332718,
-0.16535328328609467,
-0.34615254402160645,
-0.12071087956428528,
0.45020896196365356,
0.06087271869182587,
0.062112051993608475,
0.006813947111368179,
0.5357581377029419,
0.04938924312591553,
0.16597913205623627,
-0.47839030623435974,
0.050122059881687164,
0.17634883522987366,
0.10261552035808563,
-0.2352766990661621,
-0.14092515408992767,
-0.08813785016536713,
-0.09689179062843323,
-0.010224802419543266,
-0.03551582247018814,
0.01252361387014389,
-0.1093655452132225,
-0.04420723766088486,
-0.27612268924713135
] |
https://github.com/huggingface/datasets/pull/200 | [ArrowWriter] Set schema at first write example | Good point!
I guess we could add this to `write_batch` as well (before using `self._schema` in the first line of this method)? | Right now if the schema was not specified when instantiating `ArrowWriter`, then it could be set with the first `write_table` for example (it calls `self._build_writer()` to do so).
I noticed that it was not done if the first example is added via `.write`, so I added it for coherence. | 22 | text: [ArrowWriter] Set schema at first write example
Right now if the schema was not specified when instantiating `ArrowWriter`, then it could be set with the first `write_table` for example (it calls `self._build_writer()` to do so).
I noticed that it was not done if the first example is added via `.write`, so I added it for coherence.
Good point!
I guess we could add this to `write_batch` as well (before using `self._schema` in the first line of this method)? | [
-0.2637730836868286,
-0.2092861831188202,
-0.052305348217487335,
-0.1309644728899002,
0.14623568952083588,
-0.14724484086036682,
0.3249121904373169,
0.011726204305887222,
0.12158612906932831,
0.22143131494522095,
0.45173195004463196,
0.17073483765125275,
-0.030422456562519073,
0.16897358000278473,
0.17257069051265717,
0.07633252441883087,
0.1167806014418602,
0.41203585267066956,
-0.004113279283046722,
0.020096518099308014,
-0.12158860266208649,
0.08600515872240067,
-0.07771257311105728,
0.19770300388336182,
-0.2820925712585449,
-0.13230225443840027,
0.171774759888649,
0.3143264651298523,
-0.2133832722902298,
-0.39144769310951233,
-0.012740428559482098,
0.24796433746814728,
0.12234881520271301,
0.11093462258577347,
-0.00010834248678293079,
-0.09580576419830322,
0.2524101138114929,
-0.2746560573577881,
-0.13530457019805908,
0.14984288811683655,
-0.1351688802242279,
0.30922067165374756,
0.09015767276287079,
-0.3373910188674927,
0.15636932849884033,
0.11510007828474045,
0.28461769223213196,
-0.14555460214614868,
0.17976470291614532,
0.07178696244955063,
0.310552179813385,
-0.11692481487989426,
0.24565179646015167,
-0.09466808289289474,
0.3629896342754364,
0.2825074791908264,
-0.33796900510787964,
0.010244341567158699,
-0.1578117460012436,
0.10846710205078125,
0.00022911280393600464,
0.21737821400165558,
0.07803963869810104,
-0.016783569008111954,
0.3955809473991394,
0.14677582681179047,
0.5372649431228638,
0.1022423729300499,
0.01879497990012169,
-0.04837489128112793,
0.5709954500198364,
-0.48971042037010193,
0.002398628508672118,
0.18137258291244507,
0.08527860790491104,
-0.3343701660633087,
0.1483553647994995,
0.16717109084129333,
-0.16030849516391754,
0.0709257423877716,
0.2903062105178833,
-0.18283669650554657,
-0.22849427163600922,
-0.18927718698978424,
0.5749084949493408,
0.25512465834617615,
-0.07372231036424637,
0.07103395462036133,
0.06943980604410172,
0.19975829124450684,
0.616046130657196,
-0.037482112646102905,
-0.565888524055481,
0.30598756670951843,
0.18026213347911835,
0.023849889636039734,
0.10510611534118652,
0.11430536210536957,
-0.1522550880908966,
0.028246652334928513,
0.6859524250030518,
0.05493669584393501,
0.5011966228485107,
0.11575961858034134,
-0.16797921061515808,
0.15169809758663177,
0.4887380599975586,
0.16635291278362274,
0.10205108672380447,
0.21360933780670166,
0.04472203925251961,
-0.1935282051563263,
-0.13915860652923584,
-0.2559538185596466,
0.40538129210472107,
0.25570806860923767,
0.10006240010261536,
0.16100195050239563,
0.13581916689872742,
0.02054407261312008,
-0.1373523473739624,
-0.279228150844574,
-0.07314808666706085,
0.25877901911735535,
0.34460172057151794,
-0.10716355592012405,
0.06411661952733994,
-0.03561638295650482,
-0.12327973544597626,
0.08425213396549225,
-0.21078738570213318,
0.0016676094383001328,
-0.18239279091358185,
0.09996677190065384,
-0.0744335874915123,
0.12921631336212158,
0.18051086366176605,
0.10712848603725433,
-0.21435122191905975,
-0.1307285875082016,
0.36812153458595276,
0.028771039098501205,
0.3224163353443146,
0.10358762741088867,
-0.0062011368572711945,
0.05039381980895996,
0.028439413756132126,
-0.2015618234872818,
-0.2698359191417694,
0.19046393036842346,
-0.28457140922546387,
-0.44558319449424744,
-0.17393077909946442,
0.2763521671295166,
0.029853373765945435,
-0.01814110204577446,
-0.3048320412635803,
-0.21862433850765228,
0.22862333059310913,
-0.10441003739833832,
0.28757768869400024,
0.14216184616088867,
0.13113468885421753,
-0.2163301706314087,
0.0879167914390564,
0.15263625979423523,
-0.07923324406147003,
0.06749680638313293,
0.07829859852790833,
-0.1608438342809677,
0.22873246669769287,
-0.10599607229232788,
-0.195356085896492,
0.5771223306655884,
-0.18327899277210236,
0.09654822945594788,
0.5764586329460144,
-0.1777464896440506,
0.13242560625076294,
-0.14143621921539307,
-0.21687261760234833,
-0.17677025496959686,
0.19381096959114075,
-0.1109139546751976,
0.08693035691976547,
0.09800534695386887,
-0.001814618706703186,
0.1127849891781807,
0.08806205540895462,
0.06952808797359467,
-0.2709621787071228,
-0.010614937171339989,
-0.6682800650596619,
-0.2476578950881958,
-0.21071098744869232,
-0.018569394946098328,
0.15501876175403595,
-0.09820930659770966,
0.42132964730262756,
-0.44715848565101624,
0.11773078143596649,
0.14869573712348938,
0.5236806273460388,
0.13688115775585175,
0.0006254431791603565,
0.10393617302179337,
-0.07751626521348953,
0.025357894599437714,
-0.15350916981697083,
-0.11462295055389404,
0.017810694873332977,
-0.320043683052063,
0.16555026173591614,
0.14975783228874207,
-0.12707625329494476,
-0.016575217247009277,
0.258916974067688,
0.014066532254219055,
-0.09998051822185516,
-0.18116426467895508,
-0.10102371871471405,
-0.21188592910766602,
-0.2852143943309784,
-0.03845921903848648,
-0.11945649981498718,
-0.24813489615917206,
-0.208453968167305,
-0.1671454757452011,
-0.32839566469192505,
0.03285842388868332,
-0.18161070346832275,
-0.08832487463951111,
-0.10255216062068939,
0.5200535655021667,
-0.014836668968200684,
0.05699046701192856,
-0.3058473765850067,
0.04916766285896301,
-0.38832730054855347,
-0.11915527284145355,
0.07002042979001999,
-0.07455292344093323,
0.09106969088315964,
-0.10264137387275696,
-0.11040116101503372,
0.21981298923492432,
0.040346477180719376,
0.12142278254032135,
0.007928553968667984,
-0.12418686598539352,
-0.14203932881355286,
0.08357185125350952,
-0.0620824471116066,
-0.18986093997955322,
0.13860869407653809,
0.1478004902601242,
-0.3217891752719879,
0.070558100938797,
-0.050590500235557556,
0.01648702472448349,
0.32440510392189026,
0.010915078222751617,
0.26282545924186707,
-0.1332155168056488,
0.1716184914112091,
-0.06425704061985016,
0.11012226343154907,
0.23101620376110077,
0.18771474063396454,
0.19279083609580994,
-0.1492014229297638,
-0.1519661396741867,
-0.12441898137331009,
-0.2014971822500229,
0.24261066317558289,
-0.2017313688993454,
0.33301860094070435,
-0.02055281400680542,
-0.1231141909956932,
-0.04551223665475845,
-0.23795297741889954,
-0.10406003892421722,
-0.08823265880346298,
-0.022133739665150642,
-0.33427518606185913,
-0.07134651392698288,
0.25920233130455017,
0.37971001863479614,
-0.2813550531864166,
0.2560052275657654,
0.16215892136096954,
-0.1437138468027115,
0.035772331058979034,
-0.014464519917964935,
-0.3826513886451721,
0.020488472655415535,
-0.4756656289100647,
0.24960102140903473,
-0.2350284308195114,
0.031053710728883743,
-0.09250372648239136,
-0.2496217042207718,
0.06863229721784592,
0.13833415508270264,
0.03635069355368614,
0.31112486124038696,
0.1854010820388794,
-0.04771343618631363,
0.09398897737264633,
-0.010612418875098228,
-0.22214356064796448,
-0.07829029858112335,
0.027680564671754837,
-0.1987961381673813,
0.29024600982666016,
0.049380261451005936,
0.035795658826828,
-0.43679365515708923,
0.01251599844545126,
-0.23555222153663635,
-0.10445871949195862,
-0.024299422279000282,
-0.1274004727602005,
-0.24009157717227936,
-0.2794143259525299,
0.16814923286437988,
0.2793200612068176,
-0.4173271954059601,
0.5813358426094055,
0.16390271484851837,
0.2586553692817688,
0.198513463139534,
-0.013628426939249039,
0.01794566586613655,
-0.3097395598888397,
0.2913908362388611,
0.21425190567970276,
-0.218144029378891,
0.14313428103923798,
-0.3167877793312073,
-0.12005437910556793,
0.11947329342365265,
-0.25634050369262695,
0.21356306970119476,
-0.042104512453079224,
-0.18371880054473877,
0.11907287687063217,
-0.20327559113502502,
-0.008318144828081131,
-0.2716551125049591,
0.12872406840324402,
0.5194841623306274,
0.4266217350959778,
-0.20955538749694824,
-0.16230545938014984,
-0.14755907654762268,
0.43641558289527893,
-0.1871587634086609,
-0.06741607934236526,
-0.20012548565864563,
0.4706684648990631,
-0.3614693582057953,
0.466897189617157,
-0.19666557013988495,
0.1698993593454361,
0.030222434550523758,
-0.06512139737606049,
0.09122941642999649,
-0.010806269943714142,
0.18054305016994476,
0.028148559853434563,
-0.039712682366371155,
-0.2037247121334076,
-0.002317652106285095,
-0.10969118028879166,
0.12738598883152008,
0.24969393014907837,
0.16580557823181152,
-0.047821808606386185,
-0.1880725920200348,
0.3075300455093384,
-0.39526647329330444,
0.29014796018600464,
-0.2838539779186249,
-0.04034107178449631,
-0.20429998636245728,
0.04261181131005287,
0.10604025423526764,
0.022941194474697113,
0.2018776386976242,
-0.018836170434951782,
-0.6551873087882996,
0.07695434987545013,
-0.2504536211490631,
0.08249787986278534,
-0.14087320864200592,
0.1291554719209671,
0.06495185196399689,
-0.4551604092121124,
0.16859641671180725,
-0.26366472244262695,
0.07608861476182938,
-0.12610214948654175,
-0.19957837462425232,
0.02851679176092148,
0.3151986300945282,
-0.3324163556098938,
-0.23737148940563202,
0.016551751643419266,
0.5686057209968567,
-0.10180549323558807,
-0.15443986654281616,
-0.18858297169208527,
-0.06410423666238785,
0.3668058514595032,
-0.30075803399086,
-0.07818266749382019,
-0.22598233819007874,
-0.3240847587585449,
-0.2617485821247101,
-0.003682369366288185,
0.062336936593055725,
0.1309182494878769,
0.17926938831806183,
-0.08633431047201157,
0.12401452660560608,
-0.16866450011730194,
0.031650278717279434,
-0.18328045308589935,
-0.05742915719747543,
0.4077260196208954,
-0.14286789298057556,
-0.13570846617221832,
-0.033782728016376495,
-0.03401372581720352,
-0.010390443727374077,
0.4280737340450287,
-0.22624748945236206,
0.06634069234132767,
0.10823452472686768,
-0.3788740038871765,
0.39054739475250244,
0.19986411929130554,
-0.013765783049166203,
0.47782227396965027,
-0.12316495180130005,
-0.0781833678483963,
-0.32878202199935913,
-0.3087718188762665,
0.15632498264312744,
-0.15606169402599335,
-0.05936615914106369,
-0.2628081738948822,
0.4635481536388397,
-0.061135269701480865,
-0.06727404147386551,
0.3271940052509308,
0.363982617855072,
-0.4763301908969879,
0.569588303565979,
0.5031506419181824,
0.785857081413269,
0.1307198703289032,
0.38456490635871887,
-0.12098056823015213,
-0.31294095516204834,
-0.13343407213687897,
-0.0659005343914032,
0.20802073180675507,
-0.4663962721824646,
0.0048142364248633385,
0.0834893062710762,
-0.15741577744483948,
0.11969631910324097,
0.0917249396443367,
-0.3623645305633545,
-0.31172579526901245,
-0.1863785982131958,
0.13953004777431488,
-0.13180264830589294,
0.10356324911117554,
-0.4226011335849762,
-0.18452724814414978,
0.11989877372980118,
0.10539032518863678,
0.34557926654815674,
-0.22461366653442383,
-0.20031386613845825,
-0.09842642396688461,
-0.09056472778320312,
-0.35723429918289185,
-0.11198163032531738,
0.014830313622951508,
-0.47496864199638367,
0.039205171167850494,
0.024718860164284706,
-0.0861772820353508,
0.14353184401988983,
-0.18027448654174805,
0.33506762981414795,
0.09571406245231628,
0.007592504844069481,
0.15492060780525208,
0.5720327496528625,
0.11393220722675323,
-0.08171992003917694,
-0.01962701976299286,
-0.015191009268164635,
-0.03610938414931297,
0.017150171101093292,
0.1737830936908722,
-0.08031409978866577,
-0.3950338363647461,
-0.3093629479408264,
0.13239015638828278,
0.005539674311876297,
-0.03594187647104263,
-0.33315137028694153,
0.1275922954082489,
-0.20744289457798004,
0.004702635109424591,
0.2287016212940216,
0.11868928372859955,
-0.11782272905111313,
-0.06230538338422775,
-0.3349411189556122,
-0.24940429627895355,
0.14014191925525665,
-0.0510956272482872,
0.07652656733989716,
0.22446739673614502,
0.5076738595962524,
-0.15723013877868652,
-0.07405269145965576,
-0.2800041139125824,
0.07440053671598434,
0.558952271938324,
-0.7276234030723572,
0.04466111958026886,
0.012225711718201637,
-0.3367495834827423,
0.23293204605579376,
0.6371368169784546,
0.024493670091032982,
0.14450183510780334,
-0.31630441546440125,
0.217017263174057,
-0.30089041590690613,
0.12913233041763306,
0.03924156725406647,
0.40651917457580566,
-0.1513492912054062,
-0.005225853994488716,
0.008758720010519028,
0.34053313732147217,
-0.43775975704193115,
-0.21153993904590607,
0.10380155593156815,
0.14493387937545776,
-0.04222659021615982,
0.1382998675107956,
0.059276875108480453,
-0.00858298595994711,
0.25990021228790283,
-0.017853736877441406,
-0.12550438940525055,
-0.2918793559074402,
-0.09796465933322906,
0.08453217893838882,
-0.12313850969076157,
0.1066674292087555,
0.13198284804821014,
0.0606207475066185,
-0.09228634834289551,
-0.11966341733932495,
0.05244487151503563,
-0.02913856878876686,
-0.0763934999704361,
0.16024135053157806,
0.5954175591468811,
0.2995031476020813,
-0.18198949098587036,
-0.09638416767120361,
-0.22149285674095154,
0.10551095008850098,
-0.2880951464176178,
0.041399821639060974,
-0.24791176617145538,
-0.01758597046136856,
0.404679536819458,
0.249220609664917,
0.005404040217399597,
0.33890610933303833,
-0.13106948137283325,
-0.10842499136924744,
-0.08906584978103638,
-0.27062997221946716,
0.2882334589958191,
0.06920333206653595,
-0.1716778576374054,
-0.15957136452198029,
-0.06880230456590652,
0.3706059455871582,
0.026527777314186096,
0.002693149959668517,
-0.37004712224006653,
-0.24882455170154572,
0.0971488207578659,
0.17725901305675507,
0.015335451811552048,
-0.07567712664604187,
-0.07293619215488434,
0.3082829713821411,
-0.19151391088962555,
-0.24709118902683258,
0.22369271516799927,
0.07378096878528595,
-0.1874549239873886,
-0.0023265741765499115,
0.33166319131851196,
-0.025851979851722717,
0.42026206851005554,
0.20373117923736572,
0.5384273529052734,
0.3331904411315918,
0.2604850232601166,
-0.004674043506383896,
0.016575291752815247,
-0.16569259762763977,
0.1403760313987732,
-0.4035506844520569,
0.16230399906635284,
0.2870316505432129,
0.15896503627300262,
0.09812401235103607,
-0.06751950085163116,
0.007287928368896246,
-0.21128301322460175,
-0.2555942237377167,
-0.22338461875915527,
-0.41176334023475647,
-0.09723871946334839,
0.007331222295761108,
0.03598804771900177,
-0.3157225251197815,
-0.0429033599793911,
0.4246077537536621,
-0.11200156807899475,
-0.059682756662368774,
0.13517341017723083,
-0.023979386314749718,
0.06688456982374191,
0.07903309166431427,
0.3911077082157135,
-0.3077608644962311,
0.24405398964881897,
0.0011462047696113586,
-0.09885925054550171,
-0.17827178537845612,
0.3410150110721588,
0.2517251968383789,
0.5571795105934143,
0.07436969876289368,
0.1825055480003357,
-0.0705467164516449,
-0.00485195592045784,
-0.07082007825374603,
-0.0015798117965459824,
0.39459431171417236,
-0.1484294831752777,
0.07506988942623138,
0.2552759051322937,
-0.2103191465139389,
0.137225940823555,
0.15306439995765686,
-0.1254177987575531,
0.21703292429447174,
0.40645015239715576,
0.09594405442476273,
-0.3371163606643677,
0.05644433945417404,
0.3904915452003479,
-0.23660418391227722,
-0.15099911391735077,
0.2302764505147934,
-0.19880694150924683,
-0.04680471867322922,
-0.45621222257614136,
0.12933941185474396,
0.3280656635761261,
0.5649162530899048,
0.03859645128250122,
0.13450011610984802,
-0.25793808698654175,
-0.1516217440366745,
-0.13177481293678284,
0.09332126379013062,
-0.4853454828262329,
-0.04902490973472595,
0.14320024847984314,
0.25524425506591797,
0.08290231972932816,
-0.399433970451355,
0.14318004250526428,
0.3503444790840149,
-0.28936323523521423,
0.32045671343803406,
-0.1676386445760727,
0.1402866244316101,
0.15042997896671295,
-0.2747615873813629,
-0.059662554413080215,
-0.40635979175567627,
0.13309074938297272,
0.09515230357646942,
0.27374252676963806,
-0.273581326007843,
0.06342655420303345,
0.5660390853881836,
-0.17472992837429047,
0.29101213812828064,
-0.21995645761489868,
0.07500696182250977,
-0.22213947772979736,
-0.07222334295511246,
-0.3951314687728882,
-0.21927043795585632,
-0.37563252449035645,
0.022517532110214233,
0.287217915058136,
0.20495674014091492,
-0.09965245425701141,
-0.30309316515922546,
-0.37457072734832764,
0.0990588515996933,
-0.07354545593261719,
0.08918710798025131,
-0.036843132227659225,
0.22973263263702393,
-0.03670451417565346,
0.11380002647638321,
0.25286734104156494,
0.0013348869979381561,
0.11444772779941559,
-0.010276424698531628,
-0.21842338144779205,
-0.2692864239215851,
0.31407833099365234,
0.09381882846355438,
-0.09372280538082123,
0.10910346359014511,
0.4742856025695801,
-0.08134836703538895,
0.10970673710107803,
-0.536926805973053,
-0.007067129015922546,
0.2687761187553406,
-0.07388122379779816,
-0.20584358274936676,
0.3597119450569153,
0.2967248260974884,
0.10535590350627899,
-0.13501805067062378,
0.29287970066070557,
-0.09808855503797531,
-0.06043281406164169,
-0.3446190059185028,
-0.4223898649215698
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | I think that's not related to the config name but the filenames in the dummy data. Mostly it occurs with files downloaded from drive. In that case the dummy file name is extracted from the google drive link and it corresponds to what comes after `https://drive.google.com/`
| As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 46 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
I think that's not related to the config name but the filenames in the dummy data. Mostly it occurs with files downloaded from drive. In that case the dummy file name is extracted from the google drive link and it corresponds to what comes after `https://drive.google.com/`
| [
-0.08245036005973816,
-0.2829081416130066,
-0.015631001442670822,
0.16602623462677002,
0.30218374729156494,
0.06554856151342392,
0.3192867040634155,
0.08266949653625488,
0.12230940163135529,
0.32290881872177124,
0.2895576059818268,
-0.2726859450340271,
0.01915254071354866,
0.3749297559261322,
-0.04691964015364647,
0.034666310995817184,
-0.13007840514183044,
-0.19533982872962952,
0.07532268762588501,
0.1237444281578064,
-0.42877957224845886,
0.3120043873786926,
-0.1375322788953781,
0.24131780862808228,
-0.1430916041135788,
0.09732063859701157,
0.08114229142665863,
0.41383904218673706,
-0.1582745611667633,
-0.2146274298429489,
-0.16972272098064423,
-0.1898161619901657,
-0.16975544393062592,
0.3340233564376831,
-0.00009751595644047484,
0.10985387861728668,
0.5477892756462097,
-0.05871888995170593,
-0.1463387906551361,
0.19497551023960114,
-0.1262584626674652,
0.09353702515363693,
-0.2742483913898468,
-0.19126179814338684,
-0.021920213475823402,
0.0592723973095417,
0.012161336839199066,
0.19542691111564636,
-0.03213556110858917,
0.4003159999847412,
0.3208770453929901,
-0.12866106629371643,
-0.10831065475940704,
-0.06829718500375748,
0.1089920848608017,
-0.07510244846343994,
-0.15509463846683502,
0.4934194087982178,
-0.015679918229579926,
0.10994483530521393,
0.33551955223083496,
0.04368484020233154,
-0.010979823768138885,
0.01091685425490141,
-0.11497882753610611,
0.036556459963321686,
0.048596084117889404,
-0.3016066551208496,
0.26703721284866333,
0.168008491396904,
0.5139632821083069,
-0.11353722959756851,
0.15095852315425873,
0.06345561891794205,
0.027363575994968414,
0.011492529883980751,
0.8223026990890503,
0.12033651024103165,
-0.175074502825737,
0.1088685691356659,
-0.08897659182548523,
-0.12489811331033707,
-0.07892736792564392,
-0.21897359192371368,
-0.26215481758117676,
0.32421231269836426,
-0.021587494760751724,
0.09238251298666,
0.13154254853725433,
0.0032493378967046738,
-0.07704570144414902,
-0.2812899351119995,
-0.2487768828868866,
-0.012752999551594257,
0.07478795945644379,
-0.20353758335113525,
-0.2411383092403412,
0.197257399559021,
0.0629906877875328,
0.050970807671546936,
0.12194403260946274,
0.1115187555551529,
0.24690616130828857,
0.3272472023963928,
-0.1871083825826645,
0.18120591342449188,
0.08858533948659897,
0.2575411796569824,
0.3610605001449585,
-0.018280839547514915,
0.21474125981330872,
0.026416433975100517,
0.04479820653796196,
-0.5627985000610352,
-0.2527529001235962,
0.19501993060112,
0.3527211546897888,
-0.10719513893127441,
-0.35263344645500183,
0.28719672560691833,
-0.0856325626373291,
0.012792518362402916,
0.2525987923145294,
0.25516846776008606,
0.03430158644914627,
-0.464856892824173,
0.2523066997528076,
-0.06801950931549072,
0.18854570388793945,
0.19330929219722748,
0.0324082188308239,
0.11726067960262299,
-0.17804725468158722,
-0.007022382691502571,
0.18657571077346802,
0.010215590707957745,
0.1987622082233429,
-0.03910605236887932,
0.013123661279678345,
-0.11971063911914825,
0.16753292083740234,
-0.07885929942131042,
0.06732070446014404,
0.26552632451057434,
0.07240268588066101,
-0.24768394231796265,
0.07495059818029404,
-0.19147974252700806,
-0.06864690035581589,
0.10079998522996902,
-0.2563778758049011,
-0.22755275666713715,
-0.11105979979038239,
0.3595629334449768,
0.0015057753771543503,
0.015499196946620941,
0.238185316324234,
0.022560661658644676,
-0.1711246371269226,
-0.022309554740786552,
0.21330058574676514,
0.07137323915958405,
-0.20507104694843292,
-0.16049042344093323,
-0.07001375406980515,
0.31547415256500244,
-0.37001001834869385,
0.20627307891845703,
-0.024329761043190956,
-0.34374111890792847,
-0.11422153562307358,
0.10485048592090607,
-0.11373846232891083,
0.03393113613128662,
-0.4423203468322754,
0.2929996848106384,
0.11669132858514786,
-0.06907615810632706,
0.1470276564359665,
0.14902383089065552,
-0.19691400229930878,
-0.17148779332637787,
-0.09109745174646378,
-0.14217913150787354,
-0.18127639591693878,
-0.02034856751561165,
0.10561615228652954,
0.14868952333927155,
0.01009148545563221,
-0.08616037666797638,
-0.2651023864746094,
-0.0840521901845932,
-0.18601271510124207,
-0.10675063729286194,
-0.20571358501911163,
0.10804000496864319,
0.22124969959259033,
-0.3464953303337097,
0.06718435883522034,
-0.01932065561413765,
-0.09318193048238754,
0.24227754771709442,
0.3230734169483185,
0.06807052344083786,
0.18061630427837372,
0.5631479620933533,
-0.49460697174072266,
0.20305976271629333,
-0.22091621160507202,
0.25541824102401733,
0.10291332006454468,
-0.057452455163002014,
-0.18052628636360168,
-0.13035520911216736,
-0.04148462042212486,
0.006395209580659866,
0.31544843316078186,
0.27351146936416626,
0.06886857748031616,
-0.2006663680076599,
0.10970760881900787,
0.0038319816812872887,
-0.4411734342575073,
0.023416100069880486,
0.03438514471054077,
0.1308211088180542,
-0.4824739694595337,
0.10465162992477417,
-0.002488933503627777,
-0.4037972390651703,
0.20060822367668152,
-0.10949064791202545,
-0.03812677785754204,
0.37698203325271606,
0.03170885145664215,
0.14514684677124023,
0.21492105722427368,
0.2707359492778778,
-0.12870250642299652,
-0.3281126022338867,
0.061030734330415726,
0.4069444239139557,
0.10676924884319305,
-0.10373996198177338,
-0.025370940566062927,
0.13917042315006256,
0.025773651897907257,
-0.08037776499986649,
-0.2938573956489563,
-0.011202325113117695,
-0.012471795082092285,
-0.18697763979434967,
0.004118967801332474,
-0.12922582030296326,
0.14913707971572876,
0.42238643765449524,
0.19127586483955383,
-0.11870469152927399,
-0.38984131813049316,
-0.2572680115699768,
0.15517039597034454,
-0.12245906889438629,
-0.07112351804971695,
0.08816996216773987,
0.24087539315223694,
0.0873199850320816,
0.014125445857644081,
0.21614660322666168,
0.29011112451553345,
0.09297554939985275,
-0.07835496962070465,
0.4406628906726837,
-0.2787233591079712,
-0.16219674050807953,
0.5295722484588623,
-0.02100079506635666,
-0.008750191889703274,
0.24772173166275024,
-0.28797924518585205,
-0.06557698547840118,
-0.3215320110321045,
-0.09127114713191986,
0.28151169419288635,
0.0977184921503067,
-0.42334693670272827,
0.01217585988342762,
0.12087863683700562,
-0.07672153413295746,
-0.4146113991737366,
-0.014748145826160908,
-0.4579547047615051,
-0.18746277689933777,
0.2462928295135498,
0.050319187343120575,
-0.3313654363155365,
0.17693623900413513,
0.061143893748521805,
0.35825616121292114,
0.14821571111679077,
-0.2554093599319458,
-0.3125569224357605,
0.1476915031671524,
-0.14177998900413513,
0.17956434190273285,
0.3161739408969879,
-0.16299442946910858,
0.2369687557220459,
-0.4236893057823181,
-0.008760865777730942,
-0.45382973551750183,
-0.2712094783782959,
0.22086404263973236,
-0.1905827522277832,
0.38356930017471313,
0.16025222837924957,
0.11691325902938843,
0.059563569724559784,
-0.19787612557411194,
0.20375102758407593,
0.023684607818722725,
-0.04815693944692612,
-0.06903749704360962,
0.2866906523704529,
-0.06513676047325134,
-0.3537251651287079,
-0.2848798632621765,
0.07190714031457901,
-0.16088762879371643,
-0.25578832626342773,
-0.03807748109102249,
0.22021782398223877,
0.44594064354896545,
0.11711442470550537,
0.12833401560783386,
0.2548307478427887,
-0.07792741805315018,
-0.4116455018520355,
-0.10286642611026764,
0.25671541690826416,
-0.2370801568031311,
-0.16247640550136566,
0.18648605048656464,
0.19481734931468964,
-0.2325722575187683,
0.030973905697464943,
-0.30028122663497925,
-0.4009224474430084,
-0.12172132730484009,
0.06133468076586723,
-0.08549247682094574,
-0.24640245735645294,
0.16026724874973297,
0.10763026773929596,
-0.29539725184440613,
-0.2991005480289459,
-0.39852243661880493,
0.2033608853816986,
0.19410738348960876,
0.4021104574203491,
0.22952604293823242,
0.16379117965698242,
-0.27952811121940613,
0.18168899416923523,
-0.03443273901939392,
0.03633374720811844,
0.10586228966712952,
-0.1714075207710266,
0.4071844816207886,
0.03966673091053963,
0.11023634672164917,
0.187204048037529,
0.13173311948776245,
-0.2948138117790222,
0.4938470125198364,
-0.18990850448608398,
-0.2075774371623993,
-0.14878495037555695,
-0.015355673618614674,
-0.04294528067111969,
-0.1606227308511734,
0.04983259737491608,
0.08915823698043823,
0.1764059066772461,
-0.04909481853246689,
-0.031680040061473846,
0.20128785073757172,
0.051636047661304474,
0.3134637773036957,
0.35600775480270386,
-0.27723148465156555,
0.02840076945722103,
-0.14685165882110596,
-0.29523447155952454,
-0.21602514386177063,
0.40666890144348145,
0.022883282974362373,
0.2835603654384613,
-0.3348965346813202,
0.03403067588806152,
0.024731777608394623,
-0.010922493413090706,
0.46546119451522827,
-0.5033162236213684,
0.05159975215792656,
0.19985553622245789,
0.48833155632019043,
0.2914160192012787,
-0.2853468656539917,
-0.29198020696640015,
0.024129481986165047,
0.20115335285663605,
0.18747523427009583,
-0.24131953716278076,
-0.026929564774036407,
0.2138134390115738,
0.09200449287891388,
-0.29919639229774475,
-0.07051850855350494,
-0.28116053342819214,
-0.392363965511322,
-0.1800847351551056,
0.09992718696594238,
0.21489527821540833,
-0.11331561952829361,
-0.1101645827293396,
0.15674296021461487,
0.41850507259368896,
0.02297140285372734,
0.0578797422349453,
0.11655205488204956,
0.1757359802722931,
0.09468987584114075,
-0.06329754739999771,
0.036533210426568985,
0.32037436962127686,
0.08872207999229431,
0.462594211101532,
0.19837792217731476,
0.35328051447868347,
0.1420852243900299,
-0.18580362200737,
-0.08884210139513016,
0.25377702713012695,
0.08714617788791656,
-0.16893306374549866,
-0.06591448932886124,
0.2300090342760086,
-0.18325524032115936,
-0.060248322784900665,
0.1902758777141571,
0.12320498377084732,
-0.28174856305122375,
0.036396026611328125,
0.40726226568222046,
-0.04010172188282013,
-0.18644529581069946,
0.4738887548446655,
0.32842743396759033,
-0.5061978101730347,
0.09463833272457123,
0.1321098506450653,
0.804665207862854,
0.15757806599140167,
-0.2861989438533783,
0.2141503095626831,
-0.4001782536506653,
-0.20661494135856628,
0.09119230508804321,
0.08121615648269653,
-0.19439557194709778,
0.0541517473757267,
-0.11365116387605667,
-0.06216444820165634,
0.33799979090690613,
0.18008019030094147,
-0.7072890996932983,
0.044676631689071655,
-0.11048400402069092,
-0.0663176029920578,
0.037194691598415375,
0.23875665664672852,
-0.36368608474731445,
0.3291299045085907,
0.29538750648498535,
0.25476333498954773,
0.13451072573661804,
0.2923838496208191,
-0.3005548417568207,
-0.08223360776901245,
0.1132417768239975,
-0.4663439393043518,
-0.1759021282196045,
-0.06348571926355362,
-0.45970410108566284,
-0.09558290243148804,
-0.030587319284677505,
-0.11498364061117172,
-0.033300094306468964,
-0.22436532378196716,
0.3472641706466675,
0.19292257726192474,
-0.32382145524024963,
0.3755408227443695,
0.13016214966773987,
-0.017701756209135056,
-0.208246111869812,
-0.1845601350069046,
0.0528341606259346,
-0.08476127684116364,
-0.3689127266407013,
-0.15013134479522705,
-0.2180222123861313,
-0.16841429471969604,
-0.1724216192960739,
-0.10160966217517853,
-0.273662805557251,
-0.18813882768154144,
0.07174673676490784,
-0.11656634509563446,
-0.45453542470932007,
-0.03781329467892647,
0.31527793407440186,
-0.2600976824760437,
0.010649227537214756,
0.20004865527153015,
0.13700464367866516,
-0.38361117243766785,
-0.07596874237060547,
-0.13453778624534607,
-0.29479101300239563,
0.10500136017799377,
0.3303476572036743,
-0.2009255588054657,
-0.12194164842367172,
-0.254540354013443,
-0.06451629102230072,
-0.40942373871803284,
0.21342456340789795,
-0.11719324439764023,
0.06062430888414383,
-0.212110698223114,
-0.0005304868100211024,
0.09718457609415054,
0.25026440620422363,
0.3928796947002411,
-0.021168196573853493,
-0.31256625056266785,
-0.04214658588171005,
-0.008684694766998291,
0.049979910254478455,
0.42854878306388855,
-0.24844962358474731,
0.11703494191169739,
0.3884795606136322,
-0.4126165211200714,
-0.48053497076034546,
0.18385247886180878,
-0.4127791225910187,
0.12990915775299072,
0.034734345972537994,
-0.0582762211561203,
0.14501787722110748,
0.11129555106163025,
0.24725660681724548,
-0.1161612868309021,
-0.10916988551616669,
-0.21948421001434326,
0.018505051732063293,
0.06219849735498428,
0.0653960108757019,
-0.25743141770362854,
0.03094545751810074,
-0.20994903147220612,
0.038161005824804306,
0.23878251016139984,
-0.007322836667299271,
0.3183799386024475,
-0.19485895335674286,
-0.0012193592265248299,
-0.13505853712558746,
-0.17002835869789124,
-0.11592000722885132,
-0.11407333612442017,
-0.04115918278694153,
0.2751319706439972,
-0.10597027838230133,
0.06885337829589844,
-0.32571855187416077,
-0.008506424725055695,
0.11514803022146225,
0.1968126893043518,
-0.11012469232082367,
0.018589315935969353,
-0.0187399759888649,
0.14184589684009552,
-0.10995574295520782,
-0.16770203411579132,
0.321350634098053,
0.3364788293838501,
-0.5215699076652527,
-0.24622870981693268,
0.2923488914966583,
0.34472259879112244,
-0.11266909539699554,
-0.020885465666651726,
-0.21694263815879822,
-0.4915827810764313,
0.028222810477018356,
0.1566144824028015,
0.33333128690719604,
-0.08868342638015747,
0.11180190742015839,
0.11640886217355728,
0.3217490017414093,
-0.05654036998748779,
-0.23247115314006805,
0.12807054817676544,
-0.2922980487346649,
0.19509412348270416,
0.3285920023918152,
-0.17159634828567505,
0.20198801159858704,
-0.07587333023548126,
0.043916694819927216,
-0.18599103391170502,
-0.07710501551628113,
0.13535462319850922,
-0.0663820132613182,
-0.18494895100593567,
0.3602117896080017,
0.10523383319377899,
-0.34182146191596985,
0.1721622347831726,
0.08549631386995316,
-0.1560354232788086,
-0.4800370931625366,
0.13329824805259705,
-0.317768931388855,
-0.03861251845955849,
-0.17922866344451904,
-0.029614657163619995,
-0.21667295694351196,
-0.14342789351940155,
-0.19117560982704163,
0.2364417314529419,
0.31336209177970886,
-0.013165637850761414,
0.11352653801441193,
0.02392495796084404,
-0.3393769860267639,
0.3114314377307892,
0.1484803855419159,
0.13409221172332764,
0.012427836656570435,
-0.3783358037471771,
0.21089854836463928,
0.038699984550476074,
-0.14294765889644623,
0.4016459286212921,
0.4755629599094391,
0.37792274355888367,
0.28604960441589355,
0.05435571074485779,
-0.16247232258319855,
-0.013394413515925407,
0.13037928938865662,
-0.09177489578723907,
0.23891250789165497,
0.04613107815384865,
-0.37309426069259644,
0.4224564731121063,
0.2576019763946533,
-0.18778358399868011,
-0.058515194803476334,
-0.010060291737318039,
-0.20069225132465363,
0.13127022981643677,
-0.19291675090789795,
0.08900816738605499,
0.11044929176568985,
-0.3736310303211212,
-0.09717188030481339,
-0.4071406424045563,
-0.05434854328632355,
0.3608681261539459,
0.042274318635463715,
0.1977308690547943,
0.08837231993675232,
0.15157057344913483,
0.03257754072546959,
0.48315075039863586,
0.3052682876586914,
-0.08023688942193985,
-0.17114226520061493,
-0.2257986217737198,
-0.3327939808368683,
0.10612563788890839,
-0.030422378331422806,
0.0727672129869461,
0.08079487830400467,
-0.047165725380182266,
-0.10882196575403214,
-0.08568369597196579,
0.193808913230896,
0.03865310922265053,
-0.09401991963386536,
0.07407061755657196,
-0.2223082184791565,
0.02183760143816471,
0.1596255600452423,
0.09825807809829712,
0.12284840643405914,
-0.5061742067337036,
0.21793195605278015,
-0.015066323801875114,
0.21575972437858582,
-0.15132279694080353,
0.1291113942861557,
-0.02600202150642872,
0.1982516050338745,
0.5286926627159119,
0.07460100203752518,
0.4574253559112549,
-0.18295079469680786,
-0.009261681698262691,
-0.13428840041160583,
-0.12316931784152985,
-0.09848703444004059,
-0.0032652318477630615,
0.15691187977790833,
-0.2084459811449051,
0.09993428736925125,
-0.2817307114601135,
-0.19075848162174225,
0.19366370141506195,
-0.06519275158643723,
0.264573872089386,
-0.10203693807125092,
0.12659569084644318,
-0.132089763879776,
0.11878681927919388,
-0.08730635046958923,
0.12376254051923752,
0.12151894718408585,
-0.004834236577153206,
-0.3805690407752991,
-0.3392736613750458,
0.6414216160774231,
0.29067155718803406,
-0.16727079451084137,
0.0475132055580616,
0.21696099638938904,
-0.058014266192913055,
0.18016687035560608,
-0.33584684133529663,
0.0684448704123497,
0.18243910372257233,
0.03379691392183304,
-0.24723775684833527,
-0.03205687180161476,
0.06485755741596222,
-0.09706566482782364,
0.15137118101119995,
0.2973465025424957,
0.16154858469963074,
-0.17710547149181366,
-0.0803552120923996,
-0.03683963045477867
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | > I think that's not related to the config name but the filenames in the dummy data. Mostly it occurs with files downloaded from drive. In that case the dummy file name is extracted from the google drive link and it corresponds to what comes after `https://drive.google.com/`
The filenames of the dummy data are now encoded (see #173). So this is not a problem anymore.
The problem here is different and comes from the directory names where we save the arrow files (basically `dataset_name/config_name/version`). In this case we could have invalid directory names because of the config name
| As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 98 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
> I think that's not related to the config name but the filenames in the dummy data. Mostly it occurs with files downloaded from drive. In that case the dummy file name is extracted from the google drive link and it corresponds to what comes after `https://drive.google.com/`
The filenames of the dummy data are now encoded (see #173). So this is not a problem anymore.
The problem here is different and comes from the directory names where we save the arrow files (basically `dataset_name/config_name/version`). In this case we could have invalid directory names because of the config name
| [
-0.11000627279281616,
-0.08917288482189178,
-0.0015207380056381226,
0.2242860645055771,
0.2280619591474533,
-0.008333511650562286,
0.3684840500354767,
0.029581597074866295,
0.03787405788898468,
0.26061201095581055,
0.2564234733581543,
-0.054854750633239746,
-0.0640215203166008,
0.20938967168331146,
-0.0905274748802185,
-0.058737173676490784,
-0.05410461872816086,
-0.14405648410320282,
-0.014233015477657318,
0.028511151671409607,
-0.38166460394859314,
0.23321570456027985,
-0.09202229231595993,
0.351928174495697,
-0.16540537774562836,
-0.0049324240535497665,
0.02888183481991291,
0.2965945899486542,
-0.19514283537864685,
-0.36233943700790405,
-0.21012325584888458,
-0.22626838088035583,
-0.14010436832904816,
0.3160555064678192,
-0.00010230520274490118,
0.09128312766551971,
0.608303427696228,
-0.08445654064416885,
-0.22763732075691223,
0.10037967562675476,
-0.2729763984680176,
0.06069605052471161,
-0.15249571204185486,
-0.22326061129570007,
0.17498251795768738,
-0.1313091218471527,
0.0017601195722818375,
-0.0010700225830078125,
0.02815289795398712,
0.34180042147636414,
0.28587183356285095,
-0.055517200380563736,
-0.03068295121192932,
-0.0152208860963583,
0.17496955394744873,
0.040911316871643066,
-0.20151810348033905,
0.421295166015625,
-0.0897713303565979,
0.23648424446582794,
0.33486294746398926,
0.13187064230442047,
0.1360413283109665,
-0.015891999006271362,
-0.1493905484676361,
0.0656191036105156,
0.012459468096494675,
-0.280435174703598,
0.19553306698799133,
0.31024590134620667,
0.5919913053512573,
-0.21099355816841125,
-0.054819777607917786,
0.01071435958147049,
-0.03352770581841469,
-0.025188375264406204,
0.7486048340797424,
0.12813900411128998,
-0.13907834887504578,
0.0786556750535965,
0.04595947265625,
-0.1875593066215515,
-0.08910790085792542,
-0.16745074093341827,
-0.09614692628383636,
0.3833693563938141,
-0.04468917101621628,
0.14974430203437805,
0.06832939386367798,
-0.11099846661090851,
0.04153399541974068,
-0.2979077398777008,
-0.341677188873291,
-0.07439641654491425,
0.0072524286806583405,
-0.14465934038162231,
-0.3840988278388977,
0.11857173591852188,
0.014709200710058212,
0.15185925364494324,
0.31548362970352173,
0.13970062136650085,
0.22488467395305634,
0.27643436193466187,
-0.1558496505022049,
0.20234864950180054,
0.16401666402816772,
0.31693345308303833,
0.3146529197692871,
-0.12349580228328705,
0.18142728507518768,
-0.02120717614889145,
-0.005000291392207146,
-0.7153260707855225,
-0.22595885396003723,
0.21408787369728088,
0.34908682107925415,
-0.17044797539710999,
-0.2830768823623657,
0.22853289544582367,
-0.09068366885185242,
-0.07109290361404419,
0.23864084482192993,
0.2748618721961975,
0.1148054227232933,
-0.3436765968799591,
0.14711979031562805,
0.0075819771736860275,
0.2432885617017746,
0.19555939733982086,
0.08433745056390762,
0.009809508919715881,
-0.18651439249515533,
0.025173133239150047,
0.13703884184360504,
-0.004498617723584175,
0.24297022819519043,
-0.10809028148651123,
0.00516403466463089,
-0.11058096587657928,
0.05292660742998123,
-0.12642306089401245,
0.20011988282203674,
0.24451944231987,
-0.024577762931585312,
-0.17765900492668152,
-0.05976637080311775,
-0.17923606932163239,
-0.10201864689588547,
0.10932973027229309,
-0.35731184482574463,
-0.2573555111885071,
-0.22669775784015656,
0.3013469874858856,
0.0025027524679899216,
0.02571304887533188,
0.03590904176235199,
-0.006310109049081802,
-0.14923742413520813,
-0.0024931691586971283,
0.3378189504146576,
0.06972932070493698,
-0.06107077747583389,
-0.20512595772743225,
-0.05235660821199417,
0.2565827965736389,
-0.4133943021297455,
0.20330744981765747,
-0.08663072437047958,
-0.25091758370399475,
-0.21359199285507202,
0.16683825850486755,
-0.23330458998680115,
-0.04377051442861557,
-0.4539380669593811,
0.3486614227294922,
0.3686007261276245,
-0.11374066770076752,
0.11408769339323044,
0.21607853472232819,
-0.09536344558000565,
-0.2427518218755722,
-0.08635497838258743,
-0.19286321103572845,
-0.10578447580337524,
-0.042758990079164505,
-0.15607894957065582,
-0.006274698302149773,
0.14964693784713745,
-0.17948226630687714,
-0.2494594305753708,
-0.1474751979112625,
-0.12217146158218384,
-0.22102048993110657,
-0.3253185749053955,
0.015833355486392975,
0.33712852001190186,
-0.4629199504852295,
0.19248166680335999,
-0.07390891015529633,
-0.013811144977807999,
0.31946080923080444,
0.30616065859794617,
-0.042176634073257446,
0.18792712688446045,
0.5255762934684753,
-0.6178227663040161,
0.1822969615459442,
-0.24571217596530914,
0.06535360217094421,
-0.06444858014583588,
-0.0660841315984726,
-0.10611133277416229,
-0.029113080352544785,
-0.08932089805603027,
0.1090017557144165,
0.2531510889530182,
0.28044211864471436,
0.05771865323185921,
-0.21332025527954102,
0.0042850784957408905,
-0.08220583945512772,
-0.3624035716056824,
0.06169756129384041,
0.06750310957431793,
0.2272348254919052,
-0.357770174741745,
0.12159358710050583,
-0.043268002569675446,
-0.4298202395439148,
0.20061910152435303,
-0.08652448654174805,
-0.10444556921720505,
0.44625037908554077,
0.0016002422198653221,
0.2464802861213684,
0.16818362474441528,
0.17869190871715546,
-0.08783730119466782,
-0.4408327043056488,
0.12701843678951263,
0.412258118391037,
0.08177337795495987,
0.010347709059715271,
-0.057675801217556,
0.27126097679138184,
0.07196071743965149,
0.01433059573173523,
-0.22236895561218262,
-0.018482714891433716,
0.10276246070861816,
-0.15096493065357208,
-0.11832474917173386,
-0.24727752804756165,
0.08141034096479416,
0.377318799495697,
0.31488606333732605,
-0.14454056322574615,
-0.4071301221847534,
-0.18576589226722717,
0.3250626027584076,
-0.08477327227592468,
-0.005954563617706299,
0.0847613513469696,
0.1402546763420105,
0.11580812186002731,
0.10075410455465317,
0.261288583278656,
0.28553104400634766,
0.12658004462718964,
-0.06391400098800659,
0.3358219861984253,
-0.29217350482940674,
-0.1789746880531311,
0.6377081871032715,
0.12733659148216248,
0.16207782924175262,
0.23473963141441345,
-0.224357008934021,
-0.026483934372663498,
-0.37227287888526917,
-0.11263783276081085,
0.3706951141357422,
-0.021228132769465446,
-0.4570801854133606,
0.052840471267700195,
-0.00011576525866985321,
-0.07602806389331818,
-0.47711822390556335,
-0.11112479865550995,
-0.44566336274147034,
-0.15966594219207764,
0.20730999112129211,
-0.08983159065246582,
-0.4420650601387024,
0.24912351369857788,
-0.0406947135925293,
0.2785351276397705,
0.0709238350391388,
-0.3392763137817383,
-0.4353768229484558,
0.1299612671136856,
-0.20048868656158447,
0.12539266049861908,
0.37092459201812744,
-0.11461850255727768,
0.2168782353401184,
-0.3141521215438843,
0.042041417211294174,
-0.5265395641326904,
-0.2537173926830292,
0.3005882203578949,
-0.18466319143772125,
0.26848211884498596,
0.15011349320411682,
0.004583440721035004,
-0.02366132289171219,
-0.26238253712654114,
0.214638814330101,
0.04921179264783859,
-0.08925296366214752,
-0.060818150639534,
0.3007586598396301,
-0.12695233523845673,
-0.36333024501800537,
-0.32607609033584595,
-0.030462292954325676,
-0.13359922170639038,
-0.10705940425395966,
0.0020686201751232147,
0.24879692494869232,
0.44373348355293274,
0.14648418128490448,
0.16800737380981445,
0.17663681507110596,
-0.1545909196138382,
-0.3744083642959595,
-0.021544232964515686,
0.349983274936676,
-0.2882963716983795,
-0.20661136507987976,
0.1973372995853424,
0.12894940376281738,
-0.1666177213191986,
0.05102824792265892,
-0.3230559825897217,
-0.28095167875289917,
-0.09242936968803406,
0.08937755227088928,
0.020397696644067764,
-0.16828739643096924,
0.22633299231529236,
0.22607265412807465,
-0.24785453081130981,
-0.3441936671733856,
-0.31421056389808655,
0.2926105558872223,
0.22919556498527527,
0.5066670775413513,
0.26005762815475464,
0.2090458869934082,
-0.26330745220184326,
0.29973846673965454,
0.02184472233057022,
-0.03634461387991905,
0.171627938747406,
-0.20325396955013275,
0.4406338632106781,
-0.007183581590652466,
0.19510743021965027,
0.15526631474494934,
-0.017564401030540466,
-0.21936509013175964,
0.4098634123802185,
-0.16714292764663696,
-0.18067888915538788,
-0.0831134170293808,
0.1225493997335434,
-0.10601116716861725,
-0.22346466779708862,
0.09713383764028549,
-0.11437259614467621,
0.10911232233047485,
-0.04453803598880768,
0.02012401819229126,
0.15941180288791656,
0.03821069002151489,
0.3955267071723938,
0.2605507969856262,
-0.16809797286987305,
-0.058334220200777054,
-0.2253538817167282,
-0.16064301133155823,
-0.2427992820739746,
0.4807478189468384,
0.038339126855134964,
0.3782409429550171,
-0.15200302004814148,
0.027342282235622406,
-0.026548586785793304,
-0.08491241186857224,
0.3153711259365082,
-0.504408597946167,
0.023855602368712425,
0.191090390086174,
0.5806739926338196,
0.0682939663529396,
-0.2847270965576172,
-0.3103661835193634,
-0.0020513711497187614,
0.046710968017578125,
0.2511557340621948,
-0.3289177417755127,
-0.1414971947669983,
0.09920806437730789,
0.135994091629982,
-0.29553085565567017,
0.02809419110417366,
-0.25220009684562683,
-0.3149532377719879,
-0.12604771554470062,
0.04751802608370781,
0.19463738799095154,
-0.13238997757434845,
-0.1288427859544754,
0.19050846993923187,
0.22200722992420197,
-0.05196629464626312,
-0.02771766483783722,
0.10260577499866486,
0.3611147105693817,
0.05089827999472618,
-0.011445485055446625,
0.0628969669342041,
0.49091219902038574,
0.3100254237651825,
0.5383027791976929,
0.13735684752464294,
0.24242675304412842,
0.14110197126865387,
-0.19001591205596924,
0.02578733116388321,
0.37391141057014465,
0.006638790480792522,
-0.09036672860383987,
0.024994049221277237,
0.18197423219680786,
-0.12495260685682297,
-0.07346362620592117,
0.18894465267658234,
0.12954537570476532,
-0.28190672397613525,
0.08867616951465607,
0.53668612241745,
-0.017419394105672836,
-0.2521350383758545,
0.5825552344322205,
0.4825097322463989,
-0.5461313128471375,
0.23287461698055267,
0.23785272240638733,
0.866352379322052,
0.2514899969100952,
-0.18672151863574982,
0.24958062171936035,
-0.5503480434417725,
-0.11381310224533081,
0.3141484260559082,
-0.06297653168439865,
-0.2326461225748062,
0.0785617008805275,
-0.1290721595287323,
-0.09859763085842133,
0.3431141674518585,
0.2914121150970459,
-0.6534001231193542,
0.09770369529724121,
-0.0843997374176979,
-0.09834630787372589,
-0.004382112994790077,
0.26655709743499756,
-0.31522849202156067,
0.16833066940307617,
0.21799641847610474,
0.20176683366298676,
0.14813841879367828,
0.17102710902690887,
-0.2502133548259735,
-0.19001926481723785,
-0.011868733912706375,
-0.5647546648979187,
-0.11596713215112686,
0.007538359612226486,
-0.6176633238792419,
-0.039056070148944855,
-0.020569484680891037,
-0.2719481587409973,
0.042331304401159286,
-0.17072249948978424,
0.38245075941085815,
0.12841327488422394,
-0.3232409656047821,
0.4119321405887604,
0.1859225630760193,
0.09425915777683258,
-0.20742513239383698,
-0.2582126557826996,
0.1035580188035965,
-0.09036321938037872,
-0.2963061034679413,
-0.1367044448852539,
-0.2999734580516815,
-0.27368685603141785,
-0.06245510280132294,
-0.12236130237579346,
-0.24535469710826874,
-0.10903549939393997,
0.11201058328151703,
-0.1279243528842926,
-0.4609111249446869,
-0.12558692693710327,
0.24753603339195251,
-0.2755616307258606,
0.012487218715250492,
0.2160853147506714,
0.22976462543010712,
-0.34647563099861145,
-0.05290984734892845,
-0.1050943061709404,
-0.36771008372306824,
0.1482563018798828,
0.4299437403678894,
-0.3082987666130066,
-0.1489505022764206,
-0.2734919786453247,
0.06309784203767776,
-0.28509464859962463,
-0.012293044477701187,
-0.12111187726259232,
-0.032336585223674774,
-0.24025055766105652,
-0.037461213767528534,
0.13864950835704803,
0.2581034302711487,
0.47662559151649475,
-0.041374459862709045,
-0.2891644239425659,
-0.11377042531967163,
0.18546700477600098,
0.014122255146503448,
0.42877644300460815,
-0.36196136474609375,
-0.00147293321788311,
0.233904629945755,
-0.4073593318462372,
-0.4229923486709595,
0.26329508423805237,
-0.25730276107788086,
0.15785443782806396,
-0.10155144333839417,
0.026994524523615837,
0.2606566846370697,
0.0004061507061123848,
0.18798643350601196,
-0.09594251215457916,
-0.11564028263092041,
-0.16627684235572815,
-0.03695090115070343,
0.10388712584972382,
0.062203992158174515,
-0.2613180875778198,
-0.12348450720310211,
-0.27789539098739624,
-0.012816030532121658,
0.2223878800868988,
-0.10423362255096436,
0.28540274500846863,
-0.1711704134941101,
-0.05619256570935249,
-0.05947181209921837,
-0.15722885727882385,
-0.17226850986480713,
-0.05021938681602478,
0.001502104103565216,
0.42442744970321655,
-0.09456856548786163,
0.18504229187965393,
-0.2662392854690552,
-0.021352019160985947,
0.10377294570207596,
0.16747237741947174,
-0.08051998913288116,
0.05318237841129303,
-0.010420568287372589,
0.0498255118727684,
-0.23670890927314758,
-0.24731270968914032,
0.43845847249031067,
0.4420185089111328,
-0.46667900681495667,
-0.3042184114456177,
0.43345192074775696,
0.2644927203655243,
-0.14934492111206055,
-0.0185090284794569,
-0.27041202783584595,
-0.3346542716026306,
0.03794930502772331,
0.15920552611351013,
0.3638709783554077,
-0.12813496589660645,
0.06491867452859879,
0.11564835160970688,
0.2107779085636139,
-0.03632606565952301,
-0.18098042905330658,
0.1728634238243103,
-0.23977603018283844,
0.2391991913318634,
0.43925902247428894,
-0.10099014639854431,
0.23814928531646729,
-0.020052269101142883,
-0.033824339509010315,
-0.11718881130218506,
0.17327964305877686,
0.16597725450992584,
-0.042720042169094086,
-0.05325748026371002,
0.20273357629776,
-0.041847750544548035,
-0.308561772108078,
0.2585325539112091,
0.17322316765785217,
-0.08697927743196487,
-0.2967163920402527,
-0.09136832505464554,
-0.26987335085868835,
-0.0696953684091568,
-0.1475929319858551,
-0.14568863809108734,
-0.37254640460014343,
-0.16995179653167725,
-0.1523744761943817,
0.17243245244026184,
0.20023679733276367,
-0.03691740334033966,
0.24357038736343384,
0.1091439351439476,
-0.20741988718509674,
0.2125227451324463,
0.2230183184146881,
0.186309814453125,
0.15409356355667114,
-0.34124934673309326,
0.35402774810791016,
0.11198796331882477,
-0.15053360164165497,
0.33645185828208923,
0.5341013669967651,
0.37196630239486694,
0.2325323075056076,
-0.03035890683531761,
-0.13412758708000183,
0.03565918654203415,
0.13457699120044708,
-0.0300913043320179,
0.2148965746164322,
0.13115330040454865,
-0.5548158884048462,
0.5468438267707825,
0.2229914367198944,
-0.12815852463245392,
0.03257543221116066,
-0.01332278922200203,
-0.05591025575995445,
0.09085042774677277,
-0.1804617941379547,
0.006827171891927719,
0.0870179757475853,
-0.28061443567276,
-0.18495270609855652,
-0.3398367762565613,
-0.050910141319036484,
0.45609089732170105,
-0.006775331683456898,
0.12114378064870834,
0.02577006071805954,
0.1281958371400833,
-0.020650647580623627,
0.6001548767089844,
0.32126787304878235,
-0.005907028913497925,
-0.11878130584955215,
-0.21981634199619293,
-0.4213998317718506,
0.016358010470867157,
-0.050477828830480576,
0.11561377346515656,
0.11414027214050293,
0.013502111658453941,
-0.008303724229335785,
-0.03015630692243576,
0.31766360998153687,
0.10739811509847641,
-0.09459499269723892,
0.18949846923351288,
-0.3359735310077667,
0.08363383263349533,
0.2810039520263672,
0.2355697602033615,
0.13186535239219666,
-0.6478237509727478,
0.19657449424266815,
-0.00881265290081501,
0.12023212760686874,
-0.07172655314207077,
0.0996619462966919,
0.0047952719032764435,
0.27990686893463135,
0.7081275582313538,
0.058743737637996674,
0.35775333642959595,
-0.16776937246322632,
-0.09334146231412888,
-0.2346545159816742,
-0.22551299631595612,
-0.05776038020849228,
0.19159382581710815,
0.20017096400260925,
-0.1716451346874237,
0.08438954502344131,
-0.2251720279455185,
-0.2150975912809372,
0.002181420801207423,
-0.052952855825424194,
0.26173070073127747,
-0.11744707077741623,
0.17611925303936005,
-0.10769547522068024,
0.0203117523342371,
-0.09751938283443451,
0.11134718358516693,
0.07937422394752502,
0.0812070369720459,
-0.3248535990715027,
-0.42573824524879456,
0.7005637884140015,
0.26376113295555115,
-0.16885988414287567,
0.14621339738368988,
0.2905753254890442,
0.16500364243984222,
0.1987650841474533,
-0.41468504071235657,
-0.029019586741924286,
0.21038182079792023,
0.05143369361758232,
-0.27553337812423706,
-0.23552270233631134,
0.031827203929424286,
-0.0691385567188263,
0.08909253776073456,
0.5367692708969116,
0.13041412830352783,
-0.2579416036605835,
-0.10140819847583771,
-0.12142721563577652
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | I like the method, but I'm wondering whether it should just be a test method instead of a `__post_init__` function. From a logical point of view the only reason this error would be thrown is because of an invalid config name introduced when creating the dataset script / adding a new dataset => so I think it might be better to write a simple test for this in `test_dataset_common.py`...what do you think @lhoestq ? | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 74 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
I like the method, but I'm wondering whether it should just be a test method instead of a `__post_init__` function. From a logical point of view the only reason this error would be thrown is because of an invalid config name introduced when creating the dataset script / adding a new dataset => so I think it might be better to write a simple test for this in `test_dataset_common.py`...what do you think @lhoestq ? | [
-0.2779199779033661,
-0.09447977691888809,
0.012601103633642197,
0.10186923295259476,
0.22122186422348022,
0.14123845100402832,
0.28885000944137573,
0.34443941712379456,
-0.12031495571136475,
-0.002918131649494171,
0.3725915849208832,
-0.06674408912658691,
-0.05072859674692154,
0.20237810909748077,
0.2962263524532318,
0.20618677139282227,
-0.19886136054992676,
0.12121433019638062,
-0.11489148437976837,
0.04780123382806778,
-0.32176515460014343,
0.0059265270829200745,
-0.09960884600877762,
0.31050556898117065,
-0.19728997349739075,
-0.002017902210354805,
0.06441035866737366,
0.5777470469474792,
-0.00017356500029563904,
-0.5646522045135498,
0.12491625547409058,
-0.06595683097839355,
-0.10354381054639816,
0.49036353826522827,
-0.00012006874021608382,
-0.09601884335279465,
0.3762139678001404,
-0.05343184620141983,
0.01477663405239582,
0.1286071091890335,
-0.32701465487480164,
-0.08612222224473953,
-0.048989832401275635,
-0.296546071767807,
0.11316270381212234,
-0.05678153410553932,
0.028662919998168945,
-0.26561808586120605,
-0.019484251737594604,
0.44911134243011475,
0.14353924989700317,
-0.20200052857398987,
-0.1332036703824997,
0.1070726066827774,
-0.1316101849079132,
0.2640290856361389,
-0.12011857330799103,
0.07841469347476959,
0.037553820759058,
-0.09632320702075958,
0.380016565322876,
-0.0709187239408493,
-0.007640251889824867,
0.022495556622743607,
-0.036335088312625885,
0.030919387936592102,
0.024767693132162094,
-0.17118819057941437,
-0.1521289348602295,
0.21382036805152893,
0.6102937459945679,
-0.36578240990638733,
-0.16468872129917145,
0.053460508584976196,
0.10650121420621872,
-0.21954642236232758,
0.5266703963279724,
-0.09017309546470642,
-0.4568796157836914,
0.21327818930149078,
0.11857039481401443,
-0.25333091616630554,
-0.14885450899600983,
-0.18646295368671417,
-0.010447390377521515,
0.19335955381393433,
0.20412148535251617,
0.2549189627170563,
-0.1168004721403122,
-0.04949786514043808,
0.05370623245835304,
-0.08746718615293503,
-0.21473944187164307,
0.030862022191286087,
-0.11557362973690033,
-0.26399028301239014,
-0.20741334557533264,
0.2901652455329895,
0.0808255597949028,
0.31752365827560425,
0.12651832401752472,
0.18485364317893982,
0.2558628022670746,
0.018436945974826813,
-0.07357801496982574,
0.039667241275310516,
0.4727094769477844,
0.2421225756406784,
0.41662412881851196,
-0.1864190548658371,
-0.057328931987285614,
0.01775054633617401,
-0.004381834529340267,
-0.5769757628440857,
0.45718690752983093,
0.20914646983146667,
0.5097911953926086,
-0.3794894218444824,
-0.19142550230026245,
0.12998701632022858,
0.06380562484264374,
-0.36991485953330994,
0.2630796730518341,
0.3287152647972107,
0.11973176896572113,
0.08695365488529205,
0.038961261510849,
-0.034831106662750244,
0.20675697922706604,
0.3229413628578186,
0.16132430732250214,
0.1072215884923935,
-0.08752192556858063,
0.15300647914409637,
0.10097917914390564,
-0.13289214670658112,
0.07881692796945572,
-0.0815432220697403,
0.37294697761535645,
-0.02160378359258175,
0.32927656173706055,
-0.1349000185728073,
0.2647179961204529,
0.41155877709388733,
-0.3669479787349701,
-0.00783415138721466,
0.22046074271202087,
-0.23219452798366547,
-0.22118106484413147,
0.1892431378364563,
-0.04540930688381195,
-0.6022091507911682,
-0.0033220555633306503,
0.16457240283489227,
0.10458636283874512,
-0.02226877212524414,
0.27409565448760986,
-0.10773944854736328,
0.038509875535964966,
-0.315253347158432,
0.29016387462615967,
-0.06521349400281906,
-0.04840824007987976,
-0.20041745901107788,
-0.02455655299127102,
0.5310748219490051,
-0.43278995156288147,
0.2356501817703247,
-0.053716082125902176,
-0.24233189225196838,
-0.14509865641593933,
-0.0338311530649662,
-0.13496072590351105,
0.13537423312664032,
-0.2948460876941681,
0.1586921662092209,
0.24417638778686523,
-0.45052191615104675,
0.05169709026813507,
0.2160148024559021,
-0.09234209358692169,
-0.18124188482761383,
0.31366273760795593,
-0.07938821613788605,
-0.4011956751346588,
-0.22307991981506348,
0.21094873547554016,
-0.05630972236394882,
-0.14385469257831573,
-0.06932874023914337,
-0.13183683156967163,
0.009236758574843407,
0.30264854431152344,
0.08017906546592712,
0.012368027120828629,
0.04508247599005699,
-0.028890438377857208,
0.0650075376033783,
0.23851287364959717,
-0.01590624824166298,
-0.2853732109069824,
-0.07583219558000565,
0.4196286201477051,
-0.2795800566673279,
0.09722933918237686,
0.13162776827812195,
-0.1675940454006195,
0.12506437301635742,
0.37673667073249817,
0.14044848084449768,
-0.07737588882446289,
-0.2504791021347046,
-0.4104110896587372,
0.026408808305859566,
-0.0949072539806366,
0.2666950225830078,
0.10496862232685089,
0.2389974296092987,
-0.05120214819908142,
-0.24009500443935394,
-0.20469357073307037,
0.3955240547657013,
-0.2735821306705475,
0.018457647413015366,
0.13135270774364471,
-0.019850697368383408,
-0.1796557754278183,
0.22841522097587585,
-0.1747792363166809,
-0.13171330094337463,
0.02881098911166191,
-0.173773393034935,
-0.17472335696220398,
0.5603139996528625,
0.21176765859127045,
-0.07677459716796875,
0.014254502952098846,
0.037086859345436096,
-0.1037420853972435,
-0.29350578784942627,
-0.15256230533123016,
0.28633803129196167,
0.12606234848499298,
-0.18202483654022217,
0.10350450873374939,
0.15770012140274048,
-0.1445961743593216,
-0.12411484867334366,
-0.10283500701189041,
-0.2752722203731537,
0.02212979458272457,
-0.12550364434719086,
-0.3129015266895294,
-0.08595194667577744,
0.2998507022857666,
0.17549189925193787,
0.3276697099208832,
0.03654254227876663,
-0.17175476253032684,
-0.4415915608406067,
0.11352448165416718,
-0.15330296754837036,
0.1504214107990265,
0.07189977169036865,
0.5040686726570129,
0.27458688616752625,
0.2006150186061859,
0.0934576541185379,
0.7428986430168152,
-0.05675704404711723,
-0.2502586245536804,
0.44488421082496643,
-0.15590029954910278,
0.11256565153598785,
0.356463760137558,
0.149009108543396,
0.2430579960346222,
0.10998179018497467,
-0.1697927862405777,
-0.11577288061380386,
-0.2890331447124481,
-0.29497408866882324,
0.21934306621551514,
0.18016372621059418,
-0.48749229311943054,
-0.046521782875061035,
0.14521977305412292,
0.13720420002937317,
-0.35492777824401855,
-0.07811813056468964,
-0.17583684623241425,
-0.0036159679293632507,
0.1282186359167099,
-0.33998802304267883,
-0.05421723797917366,
0.2600698471069336,
-0.3205161392688751,
0.31764382123947144,
0.06742313504219055,
-0.6613829731941223,
-0.42169255018234253,
0.2746542990207672,
0.08950969576835632,
-0.003600575029850006,
0.25385966897010803,
-0.08613928407430649,
0.21438439190387726,
-0.37985050678253174,
-0.21087147295475006,
-0.1537569761276245,
-0.31121036410331726,
0.12255509942770004,
-0.13283374905586243,
0.39831098914146423,
0.41010528802871704,
0.0875149816274643,
0.3368796110153198,
-0.42980867624282837,
0.25618860125541687,
-0.21150046586990356,
0.07301449775695801,
-0.05431237444281578,
0.2738092839717865,
-0.21597141027450562,
-0.23583585023880005,
-0.3352750539779663,
-0.15159842371940613,
-0.189260333776474,
0.03330073133111,
0.21241869032382965,
0.033974189311265945,
0.2290598452091217,
-0.16416573524475098,
0.009423774667084217,
0.09986039996147156,
0.1273757368326187,
-0.0792618915438652,
-0.28872963786125183,
0.06209438666701317,
0.057093411684036255,
-0.02308240532875061,
-0.0994974672794342,
0.048973217606544495,
-0.060997139662504196,
-0.05703555792570114,
-0.3515775799751282,
-0.509955644607544,
0.04784321412444115,
0.4463861286640167,
-0.03557003289461136,
-0.05019977688789368,
0.062367260456085205,
0.12827646732330322,
-0.08681724965572357,
-0.08301158249378204,
-0.28189972043037415,
0.16283831000328064,
0.14321646094322205,
0.17507609724998474,
0.3127221465110779,
0.3269248604774475,
-0.4074583053588867,
-0.0035966336727142334,
0.01792033016681671,
0.13317160308361053,
-0.0232103168964386,
-0.4537305533885956,
0.5326843857765198,
0.018851660192012787,
-0.2589738667011261,
0.09328562021255493,
0.05162709206342697,
-0.5949583649635315,
0.1011129692196846,
-0.17613527178764343,
-0.08162494003772736,
-0.23480165004730225,
0.18814928829669952,
-0.09216267615556717,
-0.15682928264141083,
0.09859094023704529,
-0.39031681418418884,
0.09530188143253326,
0.09562899172306061,
0.18851923942565918,
-0.027176331728696823,
0.08062594383955002,
0.22860631346702576,
0.40235406160354614,
-0.25043198466300964,
-0.23742850124835968,
-0.5591297745704651,
-0.4444172978401184,
-0.3578204810619354,
0.30126863718032837,
0.2414136379957199,
0.5728193521499634,
-0.2567180097103119,
-0.11739982664585114,
-0.18757812678813934,
-0.09480057656764984,
0.503155529499054,
-0.5225721001625061,
-0.19533771276474,
0.2689075469970703,
0.24865666031837463,
0.1566733419895172,
-0.002447519451379776,
-0.22274167835712433,
0.19494974613189697,
0.15023280680179596,
0.010728888213634491,
-0.30738669633865356,
-0.0016500975470989943,
0.2814612090587616,
0.2887945771217346,
-0.21634960174560547,
-0.00401316536590457,
-0.25930726528167725,
-0.6257236003875732,
-0.1278139352798462,
0.15609613060951233,
0.16500447690486908,
-0.10472042858600616,
-0.03847413510084152,
0.46043500304222107,
0.12319101393222809,
0.13436973094940186,
0.2940611243247986,
0.44348230957984924,
0.08397365361452103,
-0.05422566831111908,
0.11351257562637329,
-0.07017164677381516,
0.09266145527362823,
0.22834278643131256,
0.43844643235206604,
-0.15563060343265533,
0.09750844538211823,
-0.13967755436897278,
-0.3900109827518463,
0.48486578464508057,
0.3736143112182617,
-0.32023030519485474,
-0.14688816666603088,
-0.08398006856441498,
0.126154825091362,
-0.273324579000473,
-0.04488803818821907,
0.4087965190410614,
0.09120045602321625,
-0.5805206894874573,
-0.3890008330345154,
0.4618721604347229,
0.06278730928897858,
-0.1672297716140747,
0.3168966472148895,
0.32746419310569763,
-0.39611753821372986,
0.21423910558223724,
-0.023173846304416656,
0.9085078835487366,
0.05745300278067589,
0.03521372005343437,
0.18954136967658997,
0.012364417314529419,
0.1165558472275734,
0.2892720103263855,
-0.20424333214759827,
-0.33389824628829956,
-0.341480553150177,
-0.10193011909723282,
-0.20853060483932495,
0.49653616547584534,
0.2463868260383606,
-0.5949668884277344,
0.15607374906539917,
0.10313187539577484,
-0.1451515108346939,
-0.03579310327768326,
0.2358447015285492,
-0.5005515813827515,
0.14369237422943115,
-0.36178088188171387,
0.05826720595359802,
0.06952617317438126,
0.1996816247701645,
-0.3133503794670105,
0.23816773295402527,
0.14402733743190765,
-0.6695577502250671,
-0.2221686691045761,
-0.21630331873893738,
-0.25327467918395996,
0.005220138467848301,
-0.019973549991846085,
-0.15115830302238464,
0.08172152936458588,
-0.12245400249958038,
0.4612414836883545,
0.3130778670310974,
-0.05123137682676315,
0.19175200164318085,
0.2312193214893341,
0.2405388057231903,
0.06538862735033035,
-0.10974603146314621,
0.24902573227882385,
0.044267140328884125,
-0.29771459102630615,
-0.03869619220495224,
-0.3782079517841339,
-0.21859225630760193,
-0.03142514079809189,
0.06017947196960449,
0.2893299460411072,
-0.490339994430542,
-0.1810607761144638,
0.008716322481632233,
-0.23115678131580353,
-0.10639700293540955,
0.11851367354393005,
-0.0571945458650589,
-0.20199039578437805,
0.4631837010383606,
-0.056022826582193375,
-0.4168626368045807,
-0.005168654024600983,
-0.49458634853363037,
-0.25450095534324646,
-0.031733814626932144,
0.5195397138595581,
-0.27608928084373474,
0.07203815132379532,
-0.21823737025260925,
0.5038312673568726,
-0.11671819537878036,
0.015417784452438354,
-0.05770823732018471,
0.29608583450317383,
-0.12342998385429382,
0.06187867373228073,
0.06371379643678665,
0.30673450231552124,
0.21745741367340088,
-0.0281674861907959,
-0.18193483352661133,
-0.25418442487716675,
0.04128042235970497,
0.5547412037849426,
0.5085130929946899,
0.009458478540182114,
0.19517165422439575,
0.0757695809006691,
-0.283273309469223,
-0.2406959980726242,
-0.05843439698219299,
-0.25327420234680176,
0.19391047954559326,
0.05291760712862015,
0.25255221128463745,
0.1070764884352684,
-0.11588020622730255,
0.1469344049692154,
-0.022828977555036545,
0.03341992199420929,
-0.08341450989246368,
-0.038298141211271286,
0.19894874095916748,
0.17760470509529114,
-0.24651958048343658,
0.1653224527835846,
-0.2824676036834717,
-0.014504868537187576,
0.11999394744634628,
-0.10524541139602661,
0.3476606607437134,
-0.04613075405359268,
0.18589265644550323,
0.2603242099285126,
-0.33200010657310486,
-0.42285895347595215,
0.20471392571926117,
-0.10541151463985443,
0.3315081000328064,
0.012416783720254898,
0.44100022315979004,
-0.4197893440723419,
-0.04343198984861374,
0.25876477360725403,
0.1882934421300888,
-0.10535566508769989,
0.11484240740537643,
-0.04840751737356186,
-0.1971224695444107,
0.007284652441740036,
-0.031023165211081505,
0.5185465812683105,
0.6231556534767151,
-0.3915361762046814,
0.17433686554431915,
0.18196731805801392,
0.12854894995689392,
-0.2696869671344757,
0.10047968477010727,
-0.20986101031303406,
-0.2807845175266266,
0.17947134375572205,
0.43323925137519836,
-0.072943314909935,
-0.2486727386713028,
0.1230771392583847,
-0.08372795581817627,
0.43045705556869507,
-0.20355549454689026,
-0.23824113607406616,
0.4139670133590698,
-0.31414279341697693,
0.1003599464893341,
0.4837508797645569,
0.22228802740573883,
-0.08975132554769516,
0.257721483707428,
0.3404562473297119,
0.2832000255584717,
0.11207480728626251,
0.19858790934085846,
-0.31011223793029785,
-0.008128110319375992,
0.4950457215309143,
0.09913216531276703,
-0.2635688781738281,
-0.07489307969808578,
0.3918447196483612,
0.04256802797317505,
-0.6783409714698792,
0.1105300709605217,
-0.07547485828399658,
-0.324974000453949,
-0.026520922780036926,
-0.13844792544841766,
0.02491491660475731,
0.03604121506214142,
-0.020320139825344086,
-0.059459105134010315,
0.07249879091978073,
-0.05953618884086609,
0.36043477058410645,
0.27702397108078003,
0.08826950192451477,
0.019229425117373466,
0.30852624773979187,
-0.024194806814193726,
0.09851977229118347,
-0.3381314277648926,
0.15014317631721497,
0.2553052008152008,
-0.06313501298427582,
0.4437352418899536,
0.5644732713699341,
0.5854683518409729,
0.1684286743402481,
0.10864508152008057,
-0.04055691510438919,
-0.1980687975883484,
0.1742287427186966,
-0.12685522437095642,
0.2761439383029938,
-0.050877541303634644,
0.19198569655418396,
0.2646344006061554,
0.21944953501224518,
-0.016391076147556305,
-0.005036890506744385,
0.03547108173370361,
-0.3940240442752838,
-0.2965812087059021,
0.2251891791820526,
0.13273964822292328,
-0.23810932040214539,
-0.30999112129211426,
0.19623658061027527,
-0.17533007264137268,
-0.003935329616069794,
0.403647243976593,
0.08519567549228668,
0.1308043897151947,
-0.033535316586494446,
0.05650758743286133,
0.0560360923409462,
0.3322899043560028,
0.20755931735038757,
0.07010462135076523,
-0.16548284888267517,
-0.16356900334358215,
-0.8037452697753906,
0.13084599375724792,
0.020940767601132393,
-0.2754802405834198,
0.22986049950122833,
-0.25757309794425964,
0.24519789218902588,
-0.09856769442558289,
0.10826807469129562,
-0.13317695260047913,
-0.47055336833000183,
-0.16463018953800201,
-0.21854735910892487,
-0.25408950448036194,
0.07019692659378052,
0.1505705714225769,
-0.11543764173984528,
-0.4862326979637146,
0.2658785283565521,
-0.0023817960172891617,
-0.011846024543046951,
-0.21012848615646362,
-0.09916025400161743,
0.21245001256465912,
0.045133158564567566,
0.3767196238040924,
-0.013118544593453407,
0.5552326440811157,
-0.05215400829911232,
0.04055009037256241,
0.046763546764850616,
-0.5013369917869568,
-0.25996601581573486,
0.3859080374240875,
0.033381905406713486,
-0.04831485450267792,
0.025644240900874138,
-0.15411615371704102,
-0.1599702388048172,
-0.018551351502537727,
-0.0971631407737732,
-0.0280007291585207,
-0.33319687843322754,
0.05575723201036453,
-0.04743366688489914,
-0.06940367817878723,
-0.014963365159928799,
0.4204297661781311,
0.025090057402849197,
0.06123841553926468,
-0.05385342240333557,
-0.3193286061286926,
0.7599797248840332,
0.3327268064022064,
-0.259131520986557,
-0.17670944333076477,
0.3303932547569275,
-0.387054443359375,
-0.011138593778014183,
-0.25156599283218384,
-0.20588138699531555,
0.2937134802341461,
-0.07887212932109833,
-0.3552664816379547,
0.0741005539894104,
-0.09968253970146179,
-0.09757785499095917,
0.016618818044662476,
0.5396012663841248,
-0.2812359035015106,
-0.1633707582950592,
-0.033312227576971054,
0.0026770569384098053
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | `test_dataset_common.py` only tests canonical datasets no ? What if users wants to create their own script ? | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 17 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
`test_dataset_common.py` only tests canonical datasets no ? What if users wants to create their own script ? | [
-0.27445337176322937,
-0.242083340883255,
-0.03586464747786522,
0.025157704949378967,
0.2002895623445511,
0.22652015089988708,
0.2830408215522766,
0.3320925831794739,
0.0551074855029583,
0.10513226687908173,
0.27107030153274536,
-0.10036047548055649,
-0.04768642783164978,
0.21586266160011292,
0.026907403022050858,
0.2326483130455017,
-0.20347490906715393,
0.09849054366350174,
-0.05988264083862305,
-0.01209285855293274,
-0.43049609661102295,
0.08928661793470383,
-0.06166338175535202,
0.3321684002876282,
-0.2633475959300995,
0.11150971800088882,
0.07050511240959167,
0.4129997491836548,
0.07300464808940887,
-0.3622998297214508,
0.12250757217407227,
-0.053352173417806625,
-0.07237999141216278,
0.5468623042106628,
-0.00010871959966607392,
-0.09355675429105759,
0.33145827054977417,
-0.0127303721383214,
0.06268808245658875,
0.1688428819179535,
-0.22414523363113403,
0.00986720621585846,
-0.053939126431941986,
-0.251340389251709,
0.14542409777641296,
0.08019823580980301,
0.04177110642194748,
-0.158020481467247,
-0.02032037079334259,
0.35477983951568604,
0.2647535800933838,
-0.09430128335952759,
-0.19969385862350464,
-0.03390756994485855,
-0.004269368946552277,
0.01932225003838539,
-0.23224800825119019,
0.3674168288707733,
0.08464406430721283,
-0.06887621432542801,
0.39338240027427673,
-0.084197998046875,
-0.05585594102740288,
-0.058904532343149185,
-0.1003270074725151,
-0.07316909730434418,
0.06476712971925735,
-0.4210302233695984,
0.14405526220798492,
0.4277532398700714,
0.6049318313598633,
-0.42287641763687134,
0.002135134767740965,
0.16685152053833008,
-0.04841860383749008,
-0.1354088932275772,
0.48058387637138367,
0.1651594489812851,
-0.4049871265888214,
0.14518152177333832,
-0.06605664640665054,
-0.15846535563468933,
-0.25969910621643066,
-0.24596787989139557,
-0.1253586709499359,
0.2735714316368103,
0.05891517922282219,
0.1284697949886322,
-0.03226162865757942,
-0.07323475927114487,
-0.0914912149310112,
-0.07065171748399734,
-0.09699730575084686,
0.06941407173871994,
-0.04669017717242241,
-0.2501019239425659,
-0.26288902759552,
0.046553052961826324,
0.30893751978874207,
0.11389601975679398,
0.09300505369901657,
0.13652294874191284,
0.2379387766122818,
0.1737673282623291,
-0.18859799206256866,
0.052427273243665695,
0.3736814260482788,
0.2930501699447632,
0.418917715549469,
-0.09523612260818481,
-0.09424430131912231,
0.03833730146288872,
-0.12464670091867447,
-0.5667726397514343,
0.22586701810359955,
0.21582674980163574,
0.6059455871582031,
-0.3221474587917328,
-0.20889213681221008,
0.23150044679641724,
0.09025167673826218,
-0.1819436401128769,
0.15289859473705292,
0.4900833070278168,
0.08849033713340759,
-0.24559494853019714,
-0.060549214482307434,
0.07467667013406754,
0.2519088387489319,
0.20463989675045013,
0.11748859286308289,
0.011133503168821335,
-0.2019824981689453,
0.06569918990135193,
0.15693368017673492,
0.03798788785934448,
0.23592735826969147,
-0.11341205984354019,
0.348258912563324,
-0.0654686987400055,
0.17181409895420074,
-0.0309879332780838,
0.14193248748779297,
0.4522547423839569,
-0.17624787986278534,
0.05091462284326553,
0.2060641497373581,
-0.0969543308019638,
-0.24828222393989563,
0.17595741152763367,
-0.14643976092338562,
-0.45610031485557556,
0.07711110264062881,
0.29385048151016235,
0.0313158817589283,
-0.09786801040172577,
0.2721009850502014,
-0.24614687263965607,
-0.008232571184635162,
-0.09689169377088547,
0.42007553577423096,
-0.21756450831890106,
0.00981723889708519,
-0.29368165135383606,
-0.04161685332655907,
0.3564072251319885,
-0.4302709102630615,
0.23454642295837402,
0.004675902891904116,
-0.19512929022312164,
-0.14966118335723877,
0.1836167722940445,
-0.17652833461761475,
-0.18628227710723877,
-0.2402731031179428,
0.17136336863040924,
0.44856151938438416,
-0.42093467712402344,
0.09703367203474045,
0.13012655079364777,
-0.09415757656097412,
-0.1540297567844391,
0.32431843876838684,
-0.030649201944470406,
-0.18953433632850647,
-0.32235953211784363,
-0.04196851700544357,
0.033471424132585526,
-0.011456670239567757,
-0.06805232167243958,
-0.17904384434223175,
-0.006113523617386818,
0.3134676218032837,
-0.1166859120130539,
0.010164160281419754,
-0.050036974251270294,
0.1268639713525772,
-0.017240121960639954,
0.3527037501335144,
-0.0636962503194809,
-0.21695883572101593,
-0.051185280084609985,
0.5417948961257935,
-0.03978060930967331,
0.16750752925872803,
0.2463880479335785,
-0.1593148410320282,
0.1594313681125641,
0.03441613167524338,
0.11996176838874817,
0.06029322370886803,
-0.3588467240333557,
-0.39508944749832153,
-0.032953035086393356,
-0.23676876723766327,
-0.05256716534495354,
0.18276368081569672,
0.12081608176231384,
0.09172606468200684,
-0.2650594711303711,
-0.149814635515213,
0.08353832364082336,
-0.4710994362831116,
0.046049006283283234,
0.10450077056884766,
-0.04988449811935425,
-0.3408639132976532,
0.21251824498176575,
-0.052468862384557724,
-0.07840652018785477,
0.07548704743385315,
-0.12668611109256744,
-0.0879906639456749,
0.42151451110839844,
0.07118789106607437,
-0.06745727360248566,
0.17155301570892334,
0.2894620895385742,
-0.2667771875858307,
-0.49902865290641785,
0.21726974844932556,
0.4557792544364929,
0.09486889094114304,
-0.04092271625995636,
0.06334012746810913,
0.12588194012641907,
-0.11052805185317993,
-0.035492829978466034,
-0.22720186412334442,
-0.22569024562835693,
0.037820003926754,
-0.196123406291008,
-0.154941126704216,
-0.055072344839572906,
0.25784018635749817,
0.13060131669044495,
0.18242545425891876,
0.08141158521175385,
-0.2797248363494873,
-0.3852565288543701,
0.18210257589817047,
-0.22237595915794373,
0.05006785690784454,
0.13132061064243317,
0.24086779356002808,
0.2803156077861786,
0.046976953744888306,
0.16955256462097168,
0.4705657958984375,
0.07606317102909088,
-0.1631496548652649,
0.43299600481987,
-0.279066801071167,
-0.10679931938648224,
0.3574787676334381,
0.07447268068790436,
0.13072535395622253,
0.11166559904813766,
-0.22242015600204468,
-0.039335932582616806,
-0.3133138120174408,
-0.2636607885360718,
0.10272932797670364,
0.11388614773750305,
-0.4390278458595276,
0.07950067520141602,
0.1719585508108139,
-0.0641762912273407,
-0.38631588220596313,
-0.026131708174943924,
-0.3376498818397522,
-0.051991432905197144,
0.24896888434886932,
-0.2156440019607544,
-0.0029087886214256287,
0.2621532678604126,
-0.28622472286224365,
0.23958919942378998,
0.106998011469841,
-0.47992247343063354,
-0.2704893946647644,
0.22132007777690887,
-0.08165838569402695,
0.11817826330661774,
0.09068724513053894,
-0.08216632902622223,
0.2894290089607239,
-0.47648894786834717,
-0.0965610221028328,
-0.2632621228694916,
-0.220074862241745,
0.031806886196136475,
-0.19601592421531677,
0.2707560360431671,
0.35609152913093567,
0.14009392261505127,
0.38290852308273315,
-0.39332541823387146,
0.3206039071083069,
-0.2126571089029312,
0.10007955878973007,
-0.1345616579055786,
0.2948107123374939,
-0.26143452525138855,
-0.24109594523906708,
-0.4239417016506195,
-0.030539629980921745,
-0.2502662241458893,
-0.02363506704568863,
0.08378055691719055,
0.19649426639080048,
0.32703548669815063,
-0.057594820857048035,
0.12518379092216492,
-0.05417819321155548,
0.23067079484462738,
-0.17499782145023346,
-0.04001381993293762,
0.192681223154068,
-0.09424814581871033,
-0.16576753556728363,
0.10428203642368317,
0.08994058519601822,
-0.020437780767679214,
-0.04173325374722481,
-0.20382274687290192,
-0.35208627581596375,
-0.046750493347644806,
0.41193675994873047,
0.03925604373216629,
0.023414991796016693,
-0.06031122803688049,
0.05167299509048462,
-0.1281350702047348,
-0.19841423630714417,
-0.30328524112701416,
-0.11814693361520767,
0.05364890396595001,
0.18449534475803375,
0.32319357991218567,
0.27225548028945923,
-0.3870483934879303,
0.16979572176933289,
0.1259005218744278,
0.06513361632823944,
0.050722092390060425,
-0.43142250180244446,
0.5779390931129456,
-0.0010345429182052612,
-0.20857815444469452,
0.1245565190911293,
0.12855525314807892,
-0.4371185898780823,
0.2176761031150818,
-0.14029091596603394,
0.11567339301109314,
-0.0002463124692440033,
-0.15358220040798187,
-0.11236537247896194,
-0.18416842818260193,
0.06700138747692108,
-0.24920588731765747,
0.08794724196195602,
-0.05613338202238083,
0.07692805677652359,
0.09242551028728485,
-0.002301807515323162,
0.29510393738746643,
0.5450823903083801,
-0.42087414860725403,
-0.1322343498468399,
-0.431369423866272,
-0.43674126267433167,
-0.23147451877593994,
0.3610195517539978,
-0.005670973565429449,
0.6071524024009705,
-0.23621366918087006,
0.022803060710430145,
-0.11468881368637085,
0.008682843297719955,
0.6882995367050171,
-0.5615540742874146,
-0.02730710804462433,
0.3082556426525116,
0.21490052342414856,
0.03835166245698929,
-0.20048116147518158,
-0.3082433342933655,
0.15341772139072418,
-0.008907482028007507,
0.04530991241335869,
-0.09442569315433502,
-0.06184520572423935,
0.19961071014404297,
0.384921669960022,
-0.29614168405532837,
-0.16761162877082825,
-0.29439499974250793,
-0.3339864909648895,
-0.25109919905662537,
0.16030524671077728,
0.09945736825466156,
-0.22091758251190186,
-0.3713579773902893,
0.2613360285758972,
0.2524138391017914,
0.03963150084018707,
0.3790585994720459,
0.3938908576965332,
0.1405775249004364,
-0.03516598045825958,
0.09215973317623138,
-0.1387048363685608,
0.082251638174057,
0.1576550155878067,
0.31761208176612854,
-0.10869060456752777,
-0.022253334522247314,
-0.19714373350143433,
-0.28283247351646423,
0.5108672380447388,
0.23137927055358887,
-0.1516711264848709,
-0.13855582475662231,
-0.09476052224636078,
0.1034056693315506,
-0.02839413657784462,
-0.07438082993030548,
0.4045494496822357,
0.1353464424610138,
-0.5392491221427917,
-0.35304462909698486,
0.4354798495769501,
0.18520483374595642,
-0.24323783814907074,
0.2566448152065277,
0.20055247843265533,
-0.5208938717842102,
0.13216164708137512,
-0.12260746210813522,
0.8078729510307312,
-0.052554503083229065,
0.11490209400653839,
0.0758523941040039,
-0.06436949223279953,
0.047257207334041595,
0.19964249432086945,
-0.1339496225118637,
-0.4133274555206299,
-0.1697595864534378,
-0.07286909222602844,
-0.18401123583316803,
0.5333802103996277,
0.08174603432416916,
-0.6508139967918396,
0.2693712115287781,
-0.16323471069335938,
-0.2203851044178009,
0.014414185658097267,
0.21219098567962646,
-0.49059784412384033,
0.24651238322257996,
-0.14815309643745422,
0.15642443299293518,
0.26628950238227844,
0.2965160608291626,
-0.27002063393592834,
0.1481294333934784,
0.12984655797481537,
-0.7043803930282593,
-0.34369248151779175,
-0.159967303276062,
-0.18668656051158905,
-0.13000786304473877,
0.14961421489715576,
-0.055183980613946915,
0.2259768843650818,
-0.07072830200195312,
0.43520355224609375,
0.47126734256744385,
-0.1944493055343628,
0.10985557734966278,
0.21908724308013916,
0.0725790411233902,
0.05111084133386612,
-0.1093229278922081,
0.14911894500255585,
-0.012546772137284279,
-0.3744153678417206,
0.15682455897331238,
-0.22799284756183624,
-0.0027076825499534607,
-0.0797947496175766,
0.014898356050252914,
0.18128255009651184,
-0.5540096759796143,
-0.029992425814270973,
-0.30579501390457153,
-0.2710188031196594,
-0.06709392368793488,
0.1974807232618332,
-0.05709369480609894,
-0.19366833567619324,
0.3669091761112213,
0.10446971654891968,
-0.4466359615325928,
0.004127021878957748,
-0.41735154390335083,
-0.0901828408241272,
0.016552835702896118,
0.3694814145565033,
-0.29845166206359863,
0.07268772274255753,
-0.33993133902549744,
0.25272414088249207,
0.014303610660135746,
-0.033347807824611664,
-0.14923106133937836,
0.2422725111246109,
-0.27858105301856995,
0.10423766076564789,
0.3029165267944336,
0.4130285978317261,
0.22950118780136108,
-0.11675429344177246,
-0.3014441728591919,
-0.14002114534378052,
0.050331056118011475,
0.3422316610813141,
0.421001136302948,
-0.09303930401802063,
0.03648693114519119,
0.27259793877601624,
-0.3121672570705414,
-0.3701944351196289,
0.0859275832772255,
-0.25335922837257385,
0.19429892301559448,
0.05638354644179344,
0.24306613206863403,
0.06677114963531494,
0.07940462231636047,
0.21510694921016693,
-0.12782646715641022,
-0.17805321514606476,
-0.16206198930740356,
-0.0596553236246109,
0.13915769755840302,
0.05481340363621712,
-0.1642165333032608,
-0.005430052522569895,
-0.2952292561531067,
0.11411015689373016,
0.11577534675598145,
-0.14562253654003143,
0.3798157572746277,
-0.08491590619087219,
0.3250528573989868,
0.08905447274446487,
-0.30015796422958374,
-0.29927492141723633,
0.11496007442474365,
-0.28362372517585754,
0.2289014458656311,
0.05574587360024452,
0.2899431586265564,
-0.33371517062187195,
-0.04273439571261406,
0.12060662358999252,
0.1241699755191803,
-0.08427582681179047,
-0.07402151077985764,
-0.1433669626712799,
-0.04566696286201477,
-0.020751575008034706,
-0.05793739855289459,
0.4594355523586273,
0.6523957252502441,
-0.5293641686439514,
-0.023164622485637665,
0.28250446915626526,
0.22039978206157684,
-0.22804108262062073,
-0.04402977600693703,
-0.11649379134178162,
-0.33199429512023926,
0.08226363360881805,
0.4397454559803009,
0.2374897599220276,
-0.38548168540000916,
0.23150478303432465,
-0.10339873284101486,
0.4420664310455322,
-0.13647474348545074,
-0.041499268263578415,
0.3190288841724396,
-0.37047165632247925,
0.11470912396907806,
0.32013219594955444,
0.11196498572826385,
0.007185295224189758,
0.09920613467693329,
0.053764648735523224,
0.22494979202747345,
-0.003718223422765732,
-0.006253648549318314,
-0.16388651728630066,
-0.04485369473695755,
0.5875034332275391,
-0.09991520643234253,
-0.3517470359802246,
-0.0017128810286521912,
0.2956656217575073,
0.2505923807621002,
-0.45499321818351746,
0.2786084711551666,
-0.17754650115966797,
-0.2931106984615326,
-0.09122350066900253,
-0.10556638240814209,
0.06557831168174744,
-0.11707329750061035,
-0.038447242230176926,
-0.11670801043510437,
0.10483431816101074,
-0.03254273533821106,
0.3386155664920807,
0.03321311995387077,
-0.09625199437141418,
0.17712029814720154,
0.4246904253959656,
0.14039015769958496,
-0.02928769588470459,
-0.2967923581600189,
0.1282159984111786,
0.10423114150762558,
-0.03429270535707474,
0.5293133854866028,
0.41193559765815735,
0.6225022077560425,
0.3030955195426941,
0.14575456082820892,
-0.09835193306207657,
-0.11289617419242859,
0.10867568850517273,
0.01601766049861908,
0.17837506532669067,
-0.01677965372800827,
-0.0062736645340919495,
0.2580311596393585,
0.280629962682724,
-0.0935034528374672,
0.023694518953561783,
-0.047262270003557205,
-0.3319992125034332,
-0.08835725486278534,
0.12383122742176056,
0.050133779644966125,
-0.14219774305820465,
-0.27781039476394653,
0.22821664810180664,
-0.3535779118537903,
0.043620239943265915,
0.5065007209777832,
0.16365954279899597,
0.044824421405792236,
-0.019795119762420654,
0.09725771099328995,
0.1557164341211319,
0.38581231236457825,
0.3922639787197113,
0.056862425059080124,
-0.12616901099681854,
0.02983511984348297,
-0.6717709302902222,
0.3730798363685608,
-0.1320326030254364,
-0.3141270577907562,
0.16125768423080444,
-0.3213631510734558,
0.06378854811191559,
-0.0561724528670311,
0.319119393825531,
-0.08671587705612183,
-0.2619301378726959,
-0.14864161610603333,
-0.20025885105133057,
-0.09993651509284973,
0.13699789345264435,
0.2567196488380432,
0.0705062747001648,
-0.5450668334960938,
0.34661251306533813,
-0.2773207724094391,
0.12269879132509232,
-0.2144765555858612,
0.10077224671840668,
0.30532848834991455,
0.11868268996477127,
0.42091819643974304,
0.02585231140255928,
0.6483083963394165,
-0.11070344597101212,
0.04484342783689499,
-0.13163548707962036,
-0.25392892956733704,
-0.08557336032390594,
0.22511735558509827,
0.1559959053993225,
-0.26371634006500244,
-0.050817109644412994,
-0.24466143548488617,
-0.1814708411693573,
0.07688046991825104,
-0.03818804398179054,
0.039567653089761734,
0.007861863821744919,
0.12500041723251343,
-0.023188695311546326,
-0.054359979927539825,
0.0064232004806399345,
0.14431560039520264,
-0.04220287501811981,
0.03768334537744522,
-0.14205576479434967,
-0.3182704448699951,
0.8124268651008606,
0.20094621181488037,
-0.44640347361564636,
-0.30503660440444946,
0.37195876240730286,
-0.3638511896133423,
0.0923851802945137,
-0.34425491094589233,
-0.024566859006881714,
0.30419987440109253,
0.05451440066099167,
-0.2990630567073822,
0.06965538114309311,
-0.08714824914932251,
-0.14971406757831573,
0.10618661344051361,
0.4392281174659729,
-0.14439257979393005,
-0.24305063486099243,
-0.08433999121189117,
-0.14523157477378845
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | > `test_dataset_common.py` only tests canonical datasets no ? What if users wants to create their own script ?
It tests all dataset that can be loaded either locally or on AWS (which includes all non-canonical datasets as well)...by their own script you mean like a private dataset script that they don't want to be public? I guess even then they could locally run the test functions to check... | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 68 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
> `test_dataset_common.py` only tests canonical datasets no ? What if users wants to create their own script ?
It tests all dataset that can be loaded either locally or on AWS (which includes all non-canonical datasets as well)...by their own script you mean like a private dataset script that they don't want to be public? I guess even then they could locally run the test functions to check... | [
-0.2775082290172577,
-0.16708119213581085,
-0.07660840451717377,
0.006847716867923737,
0.1256229728460312,
0.07724008709192276,
0.3747445344924927,
0.21261440217494965,
0.13742558658123016,
0.12112980335950851,
0.19364729523658752,
-0.017389558255672455,
-0.024881616234779358,
0.2982926666736603,
0.0053329868242144585,
0.21359114348888397,
-0.23063933849334717,
0.08798909187316895,
-0.05256161093711853,
-0.00874892994761467,
-0.4918700158596039,
0.0717552974820137,
0.06406170129776001,
0.3022770583629608,
-0.13827069103717804,
0.07546193897724152,
0.02513004280626774,
0.3290865421295166,
-0.007146541029214859,
-0.2969025671482086,
0.22726716101169586,
-0.10638593137264252,
-0.040421679615974426,
0.5303882956504822,
-0.00011039997480111197,
0.02129136025905609,
0.43914908170700073,
0.038946762681007385,
-0.05716622248291969,
0.15328797698020935,
-0.2298327386379242,
0.21090960502624512,
0.03633271902799606,
-0.33803194761276245,
0.12069941312074661,
0.17036406695842743,
-0.05275771766901016,
-0.2114984393119812,
-0.023091092705726624,
0.32045069336891174,
0.2494126856327057,
0.0851316750049591,
-0.2970584034919739,
-0.011479847133159637,
0.06395095586776733,
0.031133107841014862,
-0.23439039289951324,
0.21979470551013947,
0.0692640021443367,
-0.2167523205280304,
0.3544711768627167,
-0.05859217792749405,
0.008332422003149986,
0.08331643044948578,
-0.02197571098804474,
-0.09440121054649353,
0.04403040558099747,
-0.46412500739097595,
0.11998752504587173,
0.27598538994789124,
0.7133926749229431,
-0.27589520812034607,
-0.16749252378940582,
0.14292210340499878,
-0.0792173519730568,
-0.06742577254772186,
0.45920640230178833,
0.19119367003440857,
-0.31351929903030396,
0.16772976517677307,
-0.11773855239152908,
-0.1344086080789566,
-0.2612336277961731,
-0.044276587665081024,
-0.17224694788455963,
0.3529600203037262,
0.04478766769170761,
0.22179445624351501,
-0.1688615381717682,
-0.07847432792186737,
-0.009248870424926281,
-0.18465518951416016,
-0.02535800263285637,
0.09785757958889008,
-0.11814054846763611,
-0.21862199902534485,
-0.1525714099407196,
0.01843849942088127,
0.1665564477443695,
0.3769005537033081,
0.1905662566423416,
0.14833620190620422,
0.23397120833396912,
0.21379658579826355,
-0.09223012626171112,
0.08152814209461212,
0.3898777365684509,
0.21903134882450104,
0.41291189193725586,
-0.06923279166221619,
-0.06710709631443024,
0.056379955261945724,
-0.040463875979185104,
-0.5341286063194275,
0.11078847944736481,
0.07274368405342102,
0.5981891751289368,
-0.3034214973449707,
-0.14095532894134521,
0.20168974995613098,
0.12242908030748367,
-0.07243870198726654,
0.15578989684581757,
0.470544695854187,
0.26423346996307373,
-0.3226662576198578,
-0.023782402276992798,
0.0938212126493454,
0.11193156987428665,
0.2224327027797699,
0.15484343469142914,
-0.02815374732017517,
-0.16547194123268127,
0.06755822151899338,
0.15876233577728271,
-0.05653277412056923,
0.2603965699672699,
-0.08798949420452118,
0.34376072883605957,
-0.12478948384523392,
0.2567441761493683,
0.004285321570932865,
0.13662326335906982,
0.5984974503517151,
-0.15600357949733734,
0.1102600172162056,
0.10304819047451019,
-0.14081719517707825,
-0.17565760016441345,
0.09602318704128265,
-0.157629132270813,
-0.5676120519638062,
0.060755107551813126,
0.271968811750412,
-0.09797226637601852,
-0.027469590306282043,
0.21511948108673096,
-0.23494262993335724,
0.018037274479866028,
-0.12548264861106873,
0.45733752846717834,
-0.1676989644765854,
0.021877069026231766,
-0.29113060235977173,
-0.060555972158908844,
0.3726348876953125,
-0.42819300293922424,
0.27916038036346436,
-0.04944895580410957,
-0.07895195484161377,
-0.1249668076634407,
0.28388553857803345,
-0.2179507315158844,
-0.11904972046613693,
-0.2488826960325241,
0.1848752647638321,
0.4373546242713928,
-0.2986152470111847,
0.12129241228103638,
0.295268714427948,
-0.08794457465410233,
-0.0640915110707283,
0.3097914755344391,
-0.1871570199728012,
-0.24473783373832703,
-0.21295307576656342,
-0.02563999593257904,
-0.0683816596865654,
0.10355743765830994,
-0.001738283783197403,
-0.15978802740573883,
0.004895012825727463,
0.17075787484645844,
-0.10289441049098969,
-0.005506280809640884,
0.005406491458415985,
0.28690624237060547,
-0.05770957097411156,
0.3088310956954956,
-0.14159183204174042,
-0.18717889487743378,
0.01515362411737442,
0.46063634753227234,
-0.1527734398841858,
0.18645909428596497,
0.1995965540409088,
-0.27084630727767944,
0.26486945152282715,
0.07782511413097382,
0.2260735183954239,
0.02672465890645981,
-0.3683430552482605,
-0.32717201113700867,
0.07473758608102798,
-0.1625969409942627,
-0.1597909927368164,
0.11875732243061066,
0.12808173894882202,
0.08692045509815216,
-0.44756364822387695,
-0.17511621117591858,
-0.009536795318126678,
-0.5002465844154358,
-0.022507155314087868,
-0.1008269339799881,
-0.08264271914958954,
-0.2320225089788437,
0.2343229055404663,
-0.0020770318806171417,
-0.23790404200553894,
0.10257912427186966,
-0.26100853085517883,
-0.1765824556350708,
0.4499824345111847,
0.18029116094112396,
0.14260491728782654,
0.20931261777877808,
0.4657287001609802,
-0.32955339550971985,
-0.37141305208206177,
0.16766634583473206,
0.3959076702594757,
0.10795925557613373,
0.016695953905582428,
-0.12830153107643127,
0.2855496406555176,
-0.08836182951927185,
0.002482309937477112,
-0.30125272274017334,
-0.24577926099300385,
0.08931813389062881,
-0.20273427665233612,
-0.2249935269355774,
-0.03382076323032379,
0.3022056818008423,
0.16410544514656067,
0.07388877868652344,
0.08598723262548447,
-0.20978298783302307,
-0.31826290488243103,
0.15445178747177124,
-0.18927185237407684,
0.013614330440759659,
0.03042069636285305,
0.20917615294456482,
0.19811221957206726,
0.19916708767414093,
0.2571576237678528,
0.6703429818153381,
0.09476396441459656,
-0.024117086082696915,
0.3011365830898285,
-0.24943327903747559,
-0.1319371908903122,
0.5209236741065979,
0.15099593997001648,
0.1090090423822403,
0.062134336680173874,
-0.15922284126281738,
-0.07779303193092346,
-0.34356722235679626,
-0.24038201570510864,
0.17115819454193115,
0.11001408100128174,
-0.5344410538673401,
0.12049099057912827,
0.10430075228214264,
0.02533022314310074,
-0.24899813532829285,
0.06802239269018173,
-0.28920838236808777,
-0.047459207475185394,
0.2679305076599121,
-0.1376119703054428,
-0.1887974590063095,
0.2069847285747528,
-0.29679062962532043,
0.32035911083221436,
0.07232066243886948,
-0.6235101819038391,
-0.5143171548843384,
0.11815731972455978,
-0.003815513104200363,
0.11948598921298981,
0.19734936952590942,
-0.05973903834819794,
0.30500298738479614,
-0.2880704700946808,
-0.058479469269514084,
-0.33911383152008057,
-0.25060397386550903,
-0.010761529207229614,
-0.18149346113204956,
0.3583248257637024,
0.32470157742500305,
0.038339175283908844,
0.2364339977502823,
-0.33769336342811584,
0.24474254250526428,
-0.3103632926940918,
0.0827476903796196,
-0.24132046103477478,
0.2868908941745758,
-0.2558821737766266,
-0.3139139413833618,
-0.5327236652374268,
0.02064734697341919,
-0.23922283947467804,
0.012591447681188583,
0.22924958169460297,
0.15890531241893768,
0.04686010628938675,
0.021842271089553833,
-0.003186773508787155,
0.07869462668895721,
0.11086306720972061,
-0.2395634651184082,
-0.19834505021572113,
0.17837019264698029,
-0.19400686025619507,
-0.19708751142024994,
0.1131058782339096,
0.14186936616897583,
0.14549364149570465,
0.07487888634204865,
-0.28771525621414185,
-0.2233303040266037,
0.027116362005472183,
0.33436018228530884,
0.004021346569061279,
0.045036349445581436,
-0.006107509136199951,
0.011330324225127697,
-0.11734311282634735,
-0.18549534678459167,
-0.30802154541015625,
-0.2594730257987976,
0.03394084796309471,
0.17020463943481445,
0.24641090631484985,
0.19161033630371094,
-0.35213983058929443,
0.3805813193321228,
0.039763908833265305,
0.04116435348987579,
-0.022420033812522888,
-0.3891100585460663,
0.47296106815338135,
-0.031143903732299805,
-0.10806974768638611,
0.22651150822639465,
0.10151731967926025,
-0.4218369126319885,
0.2394029200077057,
-0.14515897631645203,
0.018113024532794952,
0.026998072862625122,
-0.16056714951992035,
-0.1926676630973816,
-0.20703944563865662,
0.19162966310977936,
-0.26846766471862793,
0.1406223028898239,
0.07325007021427155,
0.06263711303472519,
0.033557768911123276,
0.03895053267478943,
0.2573533356189728,
0.48935896158218384,
-0.5026842951774597,
-0.11765176057815552,
-0.4870981276035309,
-0.27945592999458313,
-0.15769842267036438,
0.4638839364051819,
-0.12101950496435165,
0.5879453420639038,
-0.22288106381893158,
-0.01908203773200512,
-0.01629355549812317,
-0.047661200165748596,
0.5717531442642212,
-0.7184340953826904,
-0.0504646822810173,
0.250791072845459,
0.12441104650497437,
-0.09817026555538177,
-0.17786407470703125,
-0.3046199679374695,
0.16814564168453217,
-0.1253526657819748,
0.1266600340604782,
0.018113434314727783,
-0.155572310090065,
0.07214497029781342,
0.1891666203737259,
-0.3040387034416199,
-0.29793617129325867,
-0.22902409732341766,
-0.3475472331047058,
-0.30729755759239197,
0.12185082584619522,
0.022633498534560204,
-0.30004674196243286,
-0.4940582811832428,
0.2245495766401291,
0.10832071304321289,
0.23774394392967224,
0.34477725625038147,
0.4667726457118988,
-0.025291603058576584,
-0.08148600161075592,
-0.02619791403412819,
-0.21470588445663452,
0.022724736481904984,
0.16574259102344513,
0.45031213760375977,
-0.0001634247601032257,
0.06914376467466354,
-0.10585794597864151,
-0.2056136578321457,
0.476044625043869,
0.2581463158130646,
-0.14214816689491272,
-0.1661827266216278,
-0.08065903931856155,
0.11103503406047821,
-0.0593399815261364,
-0.16009770333766937,
0.34778082370758057,
0.15835556387901306,
-0.33685922622680664,
-0.2632448673248291,
0.5000403523445129,
0.08527223765850067,
-0.29518502950668335,
0.301383912563324,
0.2049829661846161,
-0.43191227316856384,
0.31171369552612305,
-0.05488140136003494,
0.8100196123123169,
-0.11850054562091827,
0.1345638930797577,
0.049175165593624115,
-0.029657505452632904,
0.261592298746109,
-0.060616157948970795,
-0.20250001549720764,
-0.3511847257614136,
-0.027097657322883606,
-0.1030045747756958,
-0.20590128004550934,
0.5742976665496826,
0.12835413217544556,
-0.4004659056663513,
0.2089700698852539,
-0.018179908394813538,
-0.06165942922234535,
-0.04061345010995865,
0.3747692406177521,
-0.4988340139389038,
0.1347508281469345,
-0.2501443922519684,
0.16265831887722015,
0.30539804697036743,
0.3553643524646759,
-0.2772149443626404,
0.19075907766819,
0.15349386632442474,
-0.6700140833854675,
-0.2724103331565857,
-0.09630291163921356,
-0.24302038550376892,
-0.08883247524499893,
0.044024623930454254,
-0.08901163935661316,
0.25531360507011414,
-0.04815410450100899,
0.32305777072906494,
0.39093804359436035,
-0.21333368122577667,
0.13086269795894623,
0.2012159526348114,
0.10251414030790329,
-0.02151009440422058,
-0.11956911534070969,
0.11253338307142258,
-0.06530702859163284,
-0.3770257234573364,
0.15041810274124146,
-0.2331313043832779,
0.015752241015434265,
0.04432961344718933,
0.00903395563364029,
0.07205972075462341,
-0.5480726957321167,
-0.059703052043914795,
-0.3227960765361786,
-0.3846171796321869,
-0.12502031028270721,
0.1740054041147232,
-0.04491584002971649,
-0.19550973176956177,
0.3749435544013977,
-0.009811494499444962,
-0.5519750118255615,
-0.06850922107696533,
-0.3054758608341217,
-0.16279363632202148,
0.002521459013223648,
0.2827603220939636,
-0.3321913480758667,
0.1037454754114151,
-0.4182581901550293,
0.26175132393836975,
0.0002689538523554802,
0.03652180731296539,
-0.18075701594352722,
0.28058379888534546,
-0.21319010853767395,
0.18734826147556305,
0.11975444853305817,
0.46501076221466064,
0.27273932099342346,
-0.22230766713619232,
-0.34248051047325134,
-0.05573451519012451,
0.0017801150679588318,
0.3966430127620697,
0.4740757346153259,
-0.015927519649267197,
-0.04396294057369232,
0.1895895153284073,
-0.24479204416275024,
-0.3502705991268158,
0.06706199795007706,
-0.24355672299861908,
0.19518251717090607,
0.10753881931304932,
0.32102665305137634,
0.17351077497005463,
0.07741916179656982,
0.15775516629219055,
-0.11679001152515411,
-0.26056069135665894,
-0.1961120367050171,
-0.07923931628465652,
0.16903790831565857,
0.14473110437393188,
-0.033386826515197754,
-0.10279656946659088,
-0.28216874599456787,
0.1661253571510315,
0.14892889559268951,
0.030254140496253967,
0.32991573214530945,
-0.1591675877571106,
0.2968585193157196,
0.19486699998378754,
-0.36349838972091675,
-0.37927109003067017,
0.18132789433002472,
-0.2632268965244293,
0.16359850764274597,
-0.12590976059436798,
0.275703102350235,
-0.27737951278686523,
-0.07606861740350723,
0.3011009395122528,
0.048926353454589844,
-0.17375658452510834,
0.2228730320930481,
-0.1379345953464508,
0.01793844997882843,
-0.055703192949295044,
-0.3025495409965515,
0.36297330260276794,
0.7295244336128235,
-0.48388123512268066,
-0.058928243815898895,
0.18386396765708923,
0.19311775267124176,
-0.1441064327955246,
-0.07916167378425598,
-0.21077680587768555,
-0.18347539007663727,
0.12737113237380981,
0.4077921211719513,
0.2660304009914398,
-0.4149043560028076,
0.32960888743400574,
-0.14457747340202332,
0.3445005714893341,
-0.3266933560371399,
-0.02605714276432991,
0.31412267684936523,
-0.39091062545776367,
0.14037904143333435,
0.24341276288032532,
0.023211590945720673,
-0.05837901681661606,
0.06395230442285538,
0.02399153634905815,
0.25598466396331787,
0.10756099969148636,
0.044701557606458664,
-0.06740158051252365,
-0.028852000832557678,
0.3693113923072815,
-0.20180708169937134,
-0.25154757499694824,
0.18104568123817444,
0.40900617837905884,
0.16445516049861908,
-0.31710025668144226,
0.33794060349464417,
-0.13458038866519928,
-0.3211819529533386,
-0.011059746146202087,
-0.17356227338314056,
-0.2572113573551178,
-0.1044655293226242,
0.11417464911937714,
-0.17302319407463074,
0.05129930377006531,
-0.07415878772735596,
0.44852742552757263,
0.03736484795808792,
-0.11572180688381195,
0.11820883303880692,
0.34280943870544434,
0.07406528294086456,
-0.036406971514225006,
-0.24221424758434296,
0.0463419146835804,
0.1251552700996399,
-0.005160003900527954,
0.4138112962245941,
0.31874963641166687,
0.6800261735916138,
0.18980805575847626,
0.11064974963665009,
0.03266170993447304,
-0.0516919307410717,
0.11293642222881317,
-0.07029170542955399,
0.20026448369026184,
0.0007636770606040955,
-0.10341690480709076,
0.37814855575561523,
0.2713474631309509,
-0.059981923550367355,
0.12452507019042969,
-0.15219543874263763,
-0.32880088686943054,
-0.18521931767463684,
0.21159525215625763,
0.11233331263065338,
-0.11142545938491821,
-0.23076361417770386,
0.3720082938671112,
-0.32931965589523315,
0.027648024260997772,
0.6967498660087585,
0.11304707825183868,
0.12594762444496155,
-0.038418401032686234,
0.08595912903547287,
0.12424448132514954,
0.5542302131652832,
0.29525771737098694,
0.15671777725219727,
-0.15215378999710083,
0.07485170662403107,
-0.6880372762680054,
0.3327610492706299,
-0.17933052778244019,
-0.2572252154350281,
0.1473274827003479,
-0.23865005373954773,
0.17521339654922485,
-0.03862667828798294,
0.23087352514266968,
-0.12010608613491058,
-0.3942503035068512,
0.06683661043643951,
-0.30388444662094116,
-0.02444515749812126,
-0.10725876688957214,
0.27515310049057007,
0.12107884883880615,
-0.5283269286155701,
0.4084184467792511,
-0.19462725520133972,
0.04931022971868515,
-0.17579390108585358,
0.14981460571289062,
0.3917194604873657,
0.10779203474521637,
0.4418124258518219,
0.04867347329854965,
0.5951018929481506,
-0.14795242249965668,
0.1865813136100769,
-0.2735576033592224,
-0.2361556589603424,
-0.04582351818680763,
0.3602670729160309,
0.12824910879135132,
-0.23158195614814758,
-0.06298588961362839,
-0.20158632099628448,
-0.1733630746603012,
-0.041277240961790085,
-0.15732614696025848,
0.02769400365650654,
0.18454651534557343,
0.06319480389356613,
-0.09402935206890106,
0.04240433871746063,
0.02617061138153076,
0.25434502959251404,
-0.010997027158737183,
-0.031103376299142838,
-0.1355140656232834,
-0.24154816567897797,
0.7897080779075623,
0.10607984662055969,
-0.45266643166542053,
-0.1174536645412445,
0.39621952176094055,
-0.19869676232337952,
0.06940831989049911,
-0.40525197982788086,
0.02891833335161209,
0.3627795875072479,
-0.016529429703950882,
-0.20440828800201416,
0.019541529938578606,
-0.06493528187274933,
-0.1425192803144455,
-0.01952192187309265,
0.32819265127182007,
-0.15739163756370544,
-0.17411687970161438,
-0.15828220546245575,
-0.2740427255630493
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | We could have a bunch of simple consistency tests that run before uploading with the CLI (without loading data if we don't want to force the user to have dummy data)? | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 31 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
We could have a bunch of simple consistency tests that run before uploading with the CLI (without loading data if we don't want to force the user to have dummy data)? | [
-0.30639493465423584,
-0.09815004467964172,
-0.06323333084583282,
0.04315495491027832,
0.1327936053276062,
-0.054445989429950714,
0.09781287610530853,
0.2815929651260376,
0.06462109088897705,
0.33851563930511475,
0.3278440833091736,
-0.1003909632563591,
-0.03108232468366623,
0.21747152507305145,
-0.22309058904647827,
0.23360632359981537,
-0.14358747005462646,
0.2077561318874359,
-0.17512059211730957,
0.036794066429138184,
-0.24472138285636902,
0.06242464482784271,
0.09698398411273956,
0.15846331417560577,
-0.1114642471075058,
0.029527392238378525,
0.107881560921669,
0.5389611124992371,
-0.2224811464548111,
-0.38208261132240295,
0.002402830868959427,
0.07593947649002075,
-0.054214347153902054,
0.36737892031669617,
-0.00009823075379244983,
-0.011106066405773163,
0.405343234539032,
-0.06191813200712204,
-0.1021222323179245,
0.3060188293457031,
-0.23476850986480713,
-0.15386724472045898,
-0.15792320668697357,
-0.27875640988349915,
0.025713741779327393,
0.18132229149341583,
-0.0635310485959053,
0.008753761649131775,
0.10677794367074966,
0.15966880321502686,
0.31781479716300964,
-0.05707276239991188,
-0.22337935864925385,
-0.052168287336826324,
-0.07823912054300308,
0.11737694591283798,
-0.1251288503408432,
0.25340536236763,
0.17198911309242249,
0.10857190936803818,
0.16841383278369904,
-0.02200370281934738,
0.10185764729976654,
0.05636094510555267,
-0.04415919631719589,
-0.14134296774864197,
0.273325115442276,
-0.18212753534317017,
-0.0207432322204113,
0.3031805455684662,
0.4674070477485657,
-0.0011837780475616455,
-0.029695959761738777,
0.23283740878105164,
-0.012321524322032928,
-0.16864219307899475,
0.7400017380714417,
-0.07879915088415146,
-0.26645052433013916,
-0.02001793682575226,
-0.060423728078603745,
-0.11536743491888046,
-0.29852724075317383,
-0.1939007192850113,
-0.06116175279021263,
0.2734353542327881,
0.08709985762834549,
-0.028843842446804047,
0.10431413352489471,
-0.09230822324752808,
-0.25558456778526306,
-0.005945606157183647,
-0.4187297523021698,
0.22843702137470245,
0.13948029279708862,
-0.3399091958999634,
-0.17908990383148193,
0.16909277439117432,
0.051576294004917145,
0.10703839361667633,
0.17172420024871826,
0.16563406586647034,
0.14636902511119843,
0.25015366077423096,
-0.10993759334087372,
0.21914862096309662,
0.2817208468914032,
0.1520623415708542,
0.5062273144721985,
-0.00045464467257261276,
0.15511015057563782,
-0.04150380939245224,
0.0432254858314991,
-0.4651782214641571,
-0.07536064088344574,
0.23047155141830444,
0.16788418591022491,
-0.25826701521873474,
-0.09393057972192764,
0.3155967891216278,
0.05680965632200241,
-0.026528263464570045,
0.2252804934978485,
0.29758986830711365,
0.05695340037345886,
-0.17896819114685059,
0.16568274796009064,
-0.120708167552948,
0.10336779803037643,
0.09517566859722137,
0.10389497131109238,
-0.04780958220362663,
-0.1848197728395462,
-0.06200280785560608,
0.31820106506347656,
0.06886234134435654,
0.11160307377576828,
0.023688077926635742,
0.058906346559524536,
0.08969871699810028,
0.19169074296951294,
0.11949548125267029,
0.12810370326042175,
0.3856007158756256,
-0.020056050270795822,
-0.039255931973457336,
0.09160982072353363,
-0.2697947919368744,
-0.181250661611557,
0.005185727030038834,
-0.015150383114814758,
-0.2173929661512375,
-0.2628900706768036,
0.3819614350795746,
0.0773676410317421,
0.01432870514690876,
0.3566635847091675,
-0.20400722324848175,
-0.06692928820848465,
-0.12344720959663391,
0.3425249755382538,
0.026895374059677124,
0.02823018655180931,
-0.1218368411064148,
-0.13822291791439056,
0.42117685079574585,
-0.5811352133750916,
0.05237536132335663,
0.08171834796667099,
-0.3560396730899811,
-0.12464583665132523,
0.11844241619110107,
-0.1697055697441101,
-0.17920437455177307,
-0.2836523950099945,
0.1540568321943283,
0.14213813841342926,
-0.3902526795864105,
0.18758130073547363,
0.09492658823728561,
-0.0764128640294075,
-0.07755669951438904,
0.1857452392578125,
-0.029561012983322144,
-0.009722486138343811,
-0.28176605701446533,
-0.05366906523704529,
0.08804209530353546,
-0.07022251188755035,
0.0020508263260126114,
-0.36725297570228577,
-0.04517878592014313,
-0.08346357941627502,
-0.24707987904548645,
-0.18431605398654938,
0.07850231975317001,
0.25181499123573303,
0.06273850053548813,
0.20396029949188232,
-0.13702404499053955,
-0.05234694480895996,
0.036417700350284576,
0.41707903146743774,
-0.0249139666557312,
0.09076850116252899,
0.4322865903377533,
-0.293866902589798,
0.24216249585151672,
0.02714115008711815,
0.18039299547672272,
0.25808119773864746,
-0.13831815123558044,
-0.1749439239501953,
-0.04019264131784439,
-0.09443120658397675,
0.0704612135887146,
0.330098420381546,
0.2658958435058594,
0.05769885703921318,
-0.23917296528816223,
-0.04108872637152672,
0.20854872465133667,
-0.6316355466842651,
0.0684271827340126,
0.3062210977077484,
-0.08835362643003464,
-0.46748533844947815,
0.13924747705459595,
-0.17349234223365784,
-0.28839826583862305,
-0.00886671245098114,
-0.24059326946735382,
-0.2106335163116455,
0.5110045671463013,
0.001682201400399208,
0.04169933870434761,
0.18311122059822083,
0.3596324920654297,
0.010737033560872078,
-0.1600530743598938,
0.06740297377109528,
0.3266282379627228,
-0.06549070030450821,
-0.025055017322301865,
-0.06850641220808029,
0.10587125271558762,
0.03629284352064133,
-0.0306803360581398,
0.023641526699066162,
-0.1536308228969574,
0.1129637211561203,
-0.11579972505569458,
-0.17973636090755463,
-0.1393280327320099,
0.3503641188144684,
0.23689329624176025,
0.18006324768066406,
0.051314882934093475,
-0.13416042923927307,
-0.3595779240131378,
-0.03148693963885307,
-0.020649243146181107,
-0.09672179073095322,
0.011308237910270691,
0.3861437439918518,
0.22693052887916565,
0.05515675991773605,
0.3445725440979004,
0.28843164443969727,
0.09286797046661377,
-0.09878362715244293,
0.1710730344057083,
-0.34707731008529663,
-0.03909606486558914,
0.39139068126678467,
-0.07378022372722626,
0.13412463665008545,
0.29576659202575684,
-0.1273946464061737,
0.03698837757110596,
-0.2803816497325897,
-0.0742759257555008,
0.12784264981746674,
0.051826633512973785,
-0.3362864851951599,
-0.025594402104616165,
0.0895184800028801,
-0.07466233521699905,
-0.1896149218082428,
-0.1834566593170166,
-0.34661227464675903,
-0.12618954479694366,
0.4110131859779358,
-0.13185974955558777,
-0.3594723045825958,
0.23750516772270203,
-0.1380126029253006,
0.3508913815021515,
0.058424316346645355,
-0.19452989101409912,
-0.44904911518096924,
0.13843098282814026,
-0.2057521939277649,
0.13869014382362366,
0.2791687250137329,
-0.3084705173969269,
0.25040462613105774,
-0.2552589774131775,
0.07743720710277557,
-0.2050834596157074,
-0.4609890282154083,
0.1082146018743515,
0.07558794319629669,
0.16955630481243134,
0.21984493732452393,
0.2114250361919403,
0.3538220524787903,
-0.4648379981517792,
0.32444825768470764,
-0.0951952263712883,
-0.07036135345697403,
-0.05506952479481697,
0.18517668545246124,
-0.29169994592666626,
-0.4495031237602234,
-0.19030728936195374,
0.10332281142473221,
-0.42455703020095825,
-0.1482120156288147,
0.23355959355831146,
0.14613479375839233,
0.48369100689888,
0.03570720553398132,
0.06002926453948021,
0.0355973057448864,
0.12540796399116516,
-0.09916909039020538,
-0.22221511602401733,
0.11652891337871552,
-0.18177977204322815,
-0.22700618207454681,
0.0795963704586029,
0.04166240245103836,
-0.03197947517037392,
-0.09891736507415771,
-0.23943643271923065,
-0.1520881950855255,
-0.019653277471661568,
0.29952284693717957,
-0.07798127084970474,
-0.24884583055973053,
0.13604006171226501,
0.10281948745250702,
-0.3059543967247009,
-0.29586705565452576,
-0.17323970794677734,
0.1961546242237091,
0.1328747272491455,
0.3868515193462372,
-0.13998627662658691,
0.013879857957363129,
-0.21668748557567596,
0.14817500114440918,
-0.05873500183224678,
-0.20137977600097656,
0.23183242976665497,
-0.1453658789396286,
0.5832408666610718,
0.03927549347281456,
-0.0025460273027420044,
0.0811801552772522,
0.24504545331001282,
-0.4372502565383911,
0.32391202449798584,
-0.06072104722261429,
-0.2347957044839859,
-0.17961104214191437,
0.14040298759937286,
0.16812729835510254,
-0.14716514945030212,
0.026031482964754105,
-0.02161303162574768,
0.05353618785738945,
0.05770490691065788,
-0.05995944142341614,
0.08361445367336273,
0.05065909028053284,
0.32955384254455566,
0.5057034492492676,
-0.3234635889530182,
-0.01783834584057331,
-0.5607438683509827,
-0.3464861214160919,
-0.13622182607650757,
0.26326802372932434,
0.040113382041454315,
0.2999196946620941,
-0.3360869288444519,
-0.19373062252998352,
-0.1253773719072342,
-0.12310975044965744,
0.4887363910675049,
-0.5841343402862549,
-0.015750274062156677,
0.2586345374584198,
0.5383034944534302,
0.1722394973039627,
-0.38133829832077026,
-0.26443421840667725,
0.06544588506221771,
0.49446526169776917,
0.2539553642272949,
-0.09622664749622345,
-0.011962862685322762,
0.015273913741111755,
-0.04911741614341736,
-0.35105541348457336,
-0.06196444854140282,
-0.3597133755683899,
-0.18556630611419678,
-0.21923013031482697,
0.1138397678732872,
0.029632048681378365,
-0.27977147698402405,
-0.03809276968240738,
0.16113345324993134,
0.2988812327384949,
0.21350055932998657,
0.09368887543678284,
0.4227040410041809,
0.1129768043756485,
0.09893471002578735,
0.05292743071913719,
-0.35321876406669617,
0.3872838020324707,
0.11384027451276779,
0.20623181760311127,
-0.13529415428638458,
0.26874446868896484,
0.046746354550123215,
-0.32738354802131653,
0.21502374112606049,
0.13201592862606049,
0.11435677856206894,
-0.3008105754852295,
-0.06500308960676193,
0.1934243142604828,
-0.22949568927288055,
0.11217847466468811,
0.17418700456619263,
0.09349997341632843,
-0.27700933814048767,
0.14206638932228088,
0.35378873348236084,
0.02057250216603279,
-0.18462154269218445,
0.3448869287967682,
0.3667508363723755,
-0.3171219229698181,
0.1962215155363083,
0.30214738845825195,
0.7956953644752502,
-0.004786677658557892,
-0.08922597765922546,
0.09142160415649414,
-0.35600745677948,
0.10593540966510773,
-0.020177889615297318,
-0.19738516211509705,
-0.21448397636413574,
0.027061205357313156,
-0.04994344711303711,
0.009493734687566757,
0.47973668575286865,
0.1939297765493393,
-0.8517858386039734,
-0.05632748827338219,
-0.2180643528699875,
-0.2719567120075226,
-0.1347203552722931,
0.3412390649318695,
-0.41069066524505615,
0.01780027523636818,
0.019546620547771454,
0.2971007525920868,
0.23537415266036987,
0.2259933203458786,
-0.4006466269493103,
0.10305557399988174,
0.24444293975830078,
-0.47414588928222656,
-0.2638774514198303,
-0.0344066321849823,
-0.28147655725479126,
-0.113772913813591,
0.024450525641441345,
0.13063634932041168,
-0.09103292226791382,
-0.07307204604148865,
0.26156535744667053,
0.19564518332481384,
-0.1303088665008545,
0.22775739431381226,
0.23570385575294495,
0.05992496758699417,
0.03940041735768318,
-0.019436132162809372,
0.27352121472358704,
-0.11624573916196823,
-0.165625661611557,
-0.06416932493448257,
-0.3008098900318146,
-0.02485777996480465,
0.08336006104946136,
-0.08999902009963989,
0.16306740045547485,
-0.30795323848724365,
0.14675164222717285,
-0.08494625985622406,
-0.3514373302459717,
0.05231396481394768,
0.3165491223335266,
-0.2534743547439575,
-0.12791436910629272,
0.13072961568832397,
0.0787261575460434,
-0.33239006996154785,
0.007791703566908836,
-0.2870154082775116,
-0.25738805532455444,
-0.038294415920972824,
0.2522386908531189,
-0.2298763245344162,
-0.04834235832095146,
-0.3400832414627075,
-0.017656847834587097,
-0.3009810447692871,
0.09346247464418411,
-0.1331145018339157,
0.2402697056531906,
-0.5356136560440063,
-0.009043993428349495,
0.38897860050201416,
0.4456712603569031,
0.22709393501281738,
-0.02675607055425644,
-0.19476807117462158,
-0.2747270464897156,
0.06093844771385193,
0.11348922550678253,
0.5126034021377563,
-0.2796897292137146,
-0.007977088913321495,
0.268311470746994,
-0.16400720179080963,
-0.45819881558418274,
-0.05355437099933624,
-0.3600618243217468,
0.10121671855449677,
0.11926140636205673,
0.12355226278305054,
0.10216563940048218,
0.008108127862215042,
0.27372515201568604,
-0.09971298277378082,
-0.1778668314218521,
-0.26855039596557617,
-0.06310656666755676,
0.08143913745880127,
-0.027775466442108154,
-0.05014435201883316,
0.15734241902828217,
-0.22581049799919128,
0.08161085844039917,
0.14859196543693542,
-0.23818139731884003,
0.0701272189617157,
-0.20343871414661407,
0.1358988881111145,
0.046898432075977325,
-0.013061560690402985,
-0.15799325704574585,
0.039580389857292175,
0.19171756505966187,
0.2522747814655304,
-0.16069111227989197,
0.11440024524927139,
-0.4739324748516083,
-0.20557747781276703,
0.17051061987876892,
0.23613697290420532,
-0.17682035267353058,
0.08965194225311279,
-0.2069757580757141,
0.06536756455898285,
0.011319123208522797,
-0.1562061607837677,
0.448479562997818,
0.41761863231658936,
-0.3626214861869812,
-0.1598965972661972,
0.23033460974693298,
0.383690744638443,
-0.10104332119226456,
0.019706454128026962,
-0.1986292004585266,
-0.3623437285423279,
0.0613858588039875,
0.21363234519958496,
0.12651364505290985,
-0.3651239275932312,
0.399880588054657,
0.09702719002962112,
0.0777280330657959,
-0.20472267270088196,
-0.11600354313850403,
0.2876355051994324,
-0.4824427366256714,
0.10893766582012177,
0.18803349137306213,
-0.18266865611076355,
0.11890862137079239,
-0.19744540750980377,
0.04952593147754669,
0.04735608398914337,
-0.011045698076486588,
0.14601276814937592,
-0.1648896336555481,
-0.0757303237915039,
0.45077428221702576,
0.05376119166612625,
-0.08413505554199219,
0.2790033519268036,
0.40501296520233154,
0.1517665684223175,
-0.4052473306655884,
-0.016126831993460655,
-0.39212819933891296,
-0.21469931304454803,
-0.22674867510795593,
-0.11138580739498138,
-0.16738030314445496,
-0.12762495875358582,
-0.026837114244699478,
0.03706691041588783,
0.20573394000530243,
0.22200912237167358,
0.11917662620544434,
0.36250531673431396,
-0.09436169266700745,
0.08964329957962036,
0.16335231065750122,
0.06623177230358124,
0.00857573002576828,
-0.3129900395870209,
0.3362705111503601,
0.24860621988773346,
-0.08529913425445557,
0.36166784167289734,
0.3366085886955261,
0.4702620506286621,
0.4573042690753937,
0.23172719776630402,
0.11789146810770035,
-0.039935216307640076,
0.10191485285758972,
-0.22014465928077698,
0.18752916157245636,
0.14807459712028503,
-0.037233274430036545,
0.18895776569843292,
0.2967880070209503,
-0.2504841685295105,
-0.12491759657859802,
-0.24246753752231598,
-0.14159215986728668,
0.16909074783325195,
0.1219341978430748,
0.3052963614463806,
-0.10009654611349106,
-0.3089146912097931,
0.02896226942539215,
-0.3930639624595642,
0.056849293410778046,
0.09788431227207184,
0.07466547936201096,
0.22636917233467102,
0.03369762375950813,
0.15319713950157166,
0.15133756399154663,
0.46418482065200806,
0.2721553444862366,
-0.25769689679145813,
-0.03701821714639664,
-0.27235960960388184,
-0.5074820518493652,
0.18599945306777954,
-0.1541147083044052,
-0.19264639914035797,
-0.07616520673036575,
0.15122371912002563,
0.01938309520483017,
-0.13818630576133728,
0.33688077330589294,
-0.23575140535831451,
-0.18276552855968475,
-0.16745838522911072,
-0.2526713013648987,
0.0020772740244865417,
0.25113147497177124,
-0.011893829330801964,
0.09698177874088287,
-0.4706799387931824,
0.29537731409072876,
0.1059928685426712,
0.28011491894721985,
0.08708609640598297,
0.03518645465373993,
0.25908276438713074,
0.2785797715187073,
0.35657811164855957,
0.03659682720899582,
0.3650197982788086,
-0.12103425711393356,
-0.14330656826496124,
-0.1599762737751007,
-0.148766428232193,
-0.305478036403656,
-0.10410531610250473,
0.0715736448764801,
-0.10023005306720734,
-0.18056847155094147,
-0.015495695173740387,
-0.2944791615009308,
-0.1250162273645401,
0.010332886129617691,
0.02046462520956993,
-0.20705464482307434,
0.031888447701931,
0.07489696890115738,
0.12401318550109863,
-0.024016395211219788,
0.2179681956768036,
0.12893135845661163,
-0.03976818919181824,
-0.3782232999801636,
-0.24050596356391907,
0.6694862842559814,
0.10482168942689896,
-0.1974087357521057,
-0.069802425801754,
0.37382885813713074,
-0.28161805868148804,
0.169303297996521,
-0.3892350196838379,
-0.04501921311020851,
0.1490032970905304,
-0.13321536779403687,
-0.31328728795051575,
0.20776279270648956,
-0.09917518496513367,
-0.09277768433094025,
0.007340289652347565,
0.31392520666122437,
0.041786447167396545,
-0.19445332884788513,
-0.11300919950008392,
0.0009871087968349457
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | Let's say someone want to create his own private script. As the script is not meant to be shared, it's not going to be placed in `/datasets` right ? Maybe the script is going to be inside another project. If I'm not wrong in this case the `test_dataset_common.py` is not going to test his script.
Raising an error in the post init is a sanity check that would tell the user immediately what's wrong.
The error is raised if he tried to load the script or if he uses `nlp-cli test` | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 91 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
Let's say someone want to create his own private script. As the script is not meant to be shared, it's not going to be placed in `/datasets` right ? Maybe the script is going to be inside another project. If I'm not wrong in this case the `test_dataset_common.py` is not going to test his script.
Raising an error in the post init is a sanity check that would tell the user immediately what's wrong.
The error is raised if he tried to load the script or if he uses `nlp-cli test` | [
-0.30350109934806824,
-0.08133852481842041,
0.003413686528801918,
0.014641139656305313,
0.11844351142644882,
0.012690551578998566,
0.27825382351875305,
0.3644096255302429,
-0.02081693708896637,
0.17623116075992584,
0.2938300371170044,
-0.021705957129597664,
-0.029719479382038116,
0.14888547360897064,
0.3857952952384949,
0.24632571637630463,
-0.28317174315452576,
0.22460341453552246,
-0.07253113389015198,
0.039610736072063446,
-0.2959248721599579,
0.059213943779468536,
-0.08332344889640808,
0.4367784857749939,
-0.3479679822921753,
-0.11574781686067581,
0.11482346057891846,
0.7427295446395874,
0.15029345452785492,
-0.7499083280563354,
0.055635273456573486,
-0.13552992045879364,
-0.0075316047295928,
0.43609341979026794,
-0.00011667548824334517,
-0.015659023076295853,
0.45539337396621704,
-0.015445445664227009,
-0.07514099776744843,
0.058664582669734955,
-0.16483014822006226,
-0.07066643983125687,
0.11325179785490036,
-0.2438817322254181,
0.34670618176460266,
-0.06138905510306358,
0.037607818841934204,
-0.22212958335876465,
0.06202966719865799,
0.4070802330970764,
0.13567379117012024,
0.00048681721091270447,
-0.16038864850997925,
0.06018494442105293,
-0.1956891119480133,
0.12458229064941406,
-0.07056480646133423,
0.1356223076581955,
-0.04736538231372833,
-0.12576709687709808,
0.39243659377098083,
-0.17949804663658142,
-0.16662535071372986,
-0.193697988986969,
-0.11688738316297531,
-0.026202496141195297,
0.13008898496627808,
-0.29220452904701233,
-0.04703309386968613,
0.1850641965866089,
0.5305615663528442,
-0.401366651058197,
-0.11111396551132202,
-0.04853386431932449,
0.1501425802707672,
-0.16862590610980988,
0.6958452463150024,
0.07273717224597931,
-0.42803019285202026,
0.30194276571273804,
0.06498496234416962,
-0.0026143172290176153,
-0.19856803119182587,
-0.09878800809383392,
0.3337680995464325,
0.28745096921920776,
0.2490173876285553,
0.2641870677471161,
-0.09904365241527557,
-0.11684447526931763,
-0.005631028674542904,
-0.07679243385791779,
-0.17018577456474304,
0.12913551926612854,
-0.020171593874692917,
-0.2880023121833801,
-0.17747363448143005,
0.1318369060754776,
-0.019049935042858124,
0.3450702428817749,
0.2668437361717224,
0.17912647128105164,
0.26920372247695923,
0.2479991912841797,
-0.20033693313598633,
0.09794950485229492,
0.4241116940975189,
0.2950690686702728,
0.6683809161186218,
-0.1777292639017105,
0.01556515321135521,
0.03674441576004028,
-0.12752565741539001,
-0.4531741142272949,
0.1912650614976883,
0.22323471307754517,
0.4854041337966919,
-0.2537279427051544,
-0.22832389175891876,
0.21417945623397827,
0.10474162548780441,
-0.31515493988990784,
0.19654090702533722,
0.2941904067993164,
0.22521553933620453,
-0.125494122505188,
0.11182023584842682,
-0.0848521962761879,
0.07816998660564423,
0.1538982093334198,
0.14581437408924103,
-0.0004699788987636566,
-0.312808632850647,
0.26201242208480835,
0.2653132975101471,
0.04436386004090309,
0.30865001678466797,
-0.14096716046333313,
0.31407037377357483,
-0.12909403443336487,
0.22443056106567383,
0.1138463169336319,
0.001390509307384491,
0.4767566919326782,
-0.1456581950187683,
-0.04211440682411194,
0.19785121083259583,
-0.46559303998947144,
-0.25081905722618103,
0.15708929300308228,
0.0191400907933712,
-0.6355364322662354,
-0.11335992813110352,
0.13260313868522644,
0.030949469655752182,
0.1145758181810379,
0.2869030237197876,
-0.27610939741134644,
0.2234279215335846,
-0.3140724003314972,
0.5080344080924988,
-0.15351513028144836,
-0.06613527238368988,
-0.28295984864234924,
-0.17513693869113922,
0.42650896310806274,
-0.41241568326950073,
0.10733655095100403,
0.150735005736351,
-0.2791179120540619,
-0.2998465597629547,
0.1246487945318222,
-0.2130245566368103,
0.08655262738466263,
-0.21467861533164978,
0.1703139692544937,
0.5113604068756104,
-0.5178539752960205,
0.024315189570188522,
0.2507670223712921,
-0.2514002323150635,
-0.2543450593948364,
0.4499801993370056,
-0.01905801333487034,
-0.3426305949687958,
-0.279298335313797,
0.23320266604423523,
0.05169830471277237,
0.013933814130723476,
-0.07096482813358307,
-0.25530174374580383,
0.16325728595256805,
0.08372711390256882,
-0.05395000800490379,
-0.2539345324039459,
0.15898865461349487,
0.25500744581222534,
0.1784035861492157,
0.24796262383460999,
-0.08804444968700409,
-0.1388826072216034,
0.0619635283946991,
0.27712568640708923,
-0.032309211790561676,
0.09894458949565887,
0.24750113487243652,
-0.29981520771980286,
0.18467086553573608,
0.047655120491981506,
0.10200554132461548,
0.06667571514844894,
-0.3224440813064575,
-0.35665038228034973,
0.03374529629945755,
0.02308548241853714,
0.18322442471981049,
0.05912325531244278,
0.20945625007152557,
-0.043304748833179474,
-0.1946977823972702,
-0.3428281843662262,
0.5268628001213074,
-0.4585772454738617,
0.06992461532354355,
0.07776600867509842,
-0.02341683767735958,
-0.3209865391254425,
-0.06272272020578384,
-0.09566224366426468,
0.020827099680900574,
0.0916568711400032,
-0.026218341663479805,
-0.16675695776939392,
0.4838980734348297,
0.17338809370994568,
-0.06529192626476288,
0.08956660330295563,
0.14029350876808167,
-0.1986820250749588,
-0.4781675636768341,
0.18318244814872742,
0.22203458845615387,
0.047142066061496735,
-0.022511813789606094,
0.1075957715511322,
0.12061551958322525,
-0.11718720197677612,
-0.13246184587478638,
-0.21131476759910583,
-0.2903170883655548,
0.07179807871580124,
-0.2503542900085449,
-0.29913830757141113,
-0.15339738130569458,
0.4610878825187683,
0.06483802199363708,
0.3935917317867279,
0.21868444979190826,
-0.19851358234882355,
-0.4420725107192993,
-0.05500783398747444,
-0.18665677309036255,
0.11664614081382751,
0.04580838233232498,
0.5141453146934509,
0.28767117857933044,
0.22274325788021088,
0.06266748905181885,
0.5807173848152161,
-0.012179254554212093,
-0.3096006214618683,
0.5011349320411682,
-0.3014543652534485,
-0.08128232508897781,
0.2065882533788681,
0.13812430202960968,
0.2556332051753998,
0.12500318884849548,
-0.20303888618946075,
0.0681520402431488,
-0.14230549335479736,
-0.35976603627204895,
0.10718896239995956,
0.09216055274009705,
-0.46602222323417664,
-0.008427255786955357,
0.08133519440889359,
-0.11322806030511856,
-0.3177430331707001,
0.08438793569803238,
-0.31598061323165894,
0.1318732053041458,
0.15548017621040344,
-0.23744803667068481,
-0.05196702852845192,
0.1712915301322937,
-0.3369693458080292,
0.34031161665916443,
-0.0113589558750391,
-0.38943150639533997,
-0.2785457968711853,
0.2463141530752182,
-0.054995112121105194,
-0.08130506426095963,
0.23847512900829315,
0.027090659365057945,
0.11116432398557663,
-0.14276720583438873,
-0.07999584078788757,
-0.014011578634381294,
-0.2951064109802246,
0.03266996890306473,
-0.0385289192199707,
0.2804418206214905,
0.2567208707332611,
-0.02195311337709427,
0.37533360719680786,
-0.5418961048126221,
0.23322533071041107,
0.0020064059644937515,
0.07448433339595795,
0.0036293789744377136,
0.3463440537452698,
-0.3270018994808197,
-0.4251045882701874,
-0.2081698179244995,
-0.12838947772979736,
-0.3296811580657959,
0.08326348662376404,
0.22390462458133698,
0.14639544486999512,
0.4320102334022522,
-0.09811952710151672,
0.019453205168247223,
-0.1689978986978531,
0.23694077134132385,
0.10499437153339386,
-0.17018131911754608,
0.1278860867023468,
-0.1708436757326126,
0.008106276392936707,
0.03490597382187843,
0.06508488208055496,
-0.04774531349539757,
-0.23616808652877808,
-0.4303519129753113,
-0.3690309226512909,
-0.0375867560505867,
0.44646701216697693,
-0.0399717316031456,
-0.10829155147075653,
0.014902256429195404,
0.12477832287549973,
-0.08696874976158142,
-0.23280513286590576,
-0.4262128174304962,
0.04701445996761322,
-0.011964913457632065,
0.1853272020816803,
0.32527801394462585,
0.25309431552886963,
-0.3245502710342407,
-0.1036226898431778,
0.2429039180278778,
0.0920538529753685,
0.06891237944364548,
-0.13159306347370148,
0.5813313126564026,
0.07686951011419296,
-0.016582433134317398,
0.09968964010477066,
0.3252079486846924,
-0.5188894271850586,
0.24157944321632385,
-0.06926243752241135,
-0.16077183187007904,
-0.1558941751718521,
-0.031480614095926285,
-0.08653518557548523,
-0.1129855066537857,
0.07967278361320496,
-0.26124221086502075,
0.0931582823395729,
0.1479252427816391,
-0.07965229451656342,
-0.07046113908290863,
0.04711243510246277,
0.04277181252837181,
0.4505402445793152,
-0.38658902049064636,
-0.08781205117702484,
-0.7483132481575012,
-0.6021754741668701,
-0.25497451424598694,
0.23501701653003693,
0.12099696695804596,
0.6105382442474365,
-0.3613748848438263,
-0.005755431950092316,
-0.03423677384853363,
0.11563987284898758,
0.2973189949989319,
-0.6396718621253967,
-0.14023646712303162,
0.311310350894928,
0.3360966742038727,
-0.04004041105508804,
-0.1298476904630661,
-0.09245423972606659,
0.24476198852062225,
0.17058417201042175,
0.0816337913274765,
-0.156795933842659,
-0.0925954282283783,
0.3079668879508972,
0.09375172108411789,
-0.24928662180900574,
-0.19193996489048004,
-0.3658196032047272,
-0.5304051637649536,
-0.2847613990306854,
0.04106941074132919,
0.12483497709035873,
-0.19757294654846191,
-0.11459147930145264,
0.3814098536968231,
0.3777036964893341,
0.301713228225708,
0.1894119679927826,
0.36041197180747986,
-0.0031247157603502274,
0.045763980597257614,
-0.1401657909154892,
-0.1292944997549057,
0.17360417544841766,
0.06343326717615128,
0.30256491899490356,
-0.11111187934875488,
0.3055969476699829,
-0.06793025881052017,
-0.25162822008132935,
0.5539957880973816,
0.37975603342056274,
-0.07469814270734787,
-0.22328484058380127,
0.01733049750328064,
0.1368054300546646,
-0.09867527335882187,
-0.1210658997297287,
0.2816639244556427,
-0.10604026168584824,
-0.4617469906806946,
-0.3254326283931732,
0.5613068342208862,
-0.0315268337726593,
-0.10251802206039429,
0.14193537831306458,
0.2179209589958191,
-0.41336026787757874,
0.34762656688690186,
-0.02378661185503006,
0.9614107012748718,
0.0005577839910984039,
0.18724848330020905,
0.0362863652408123,
0.06473156809806824,
0.22502639889717102,
0.07639716565608978,
-0.2860044240951538,
-0.34441202878952026,
-0.24567456543445587,
-0.06255228072404861,
-0.20262068510055542,
0.41549134254455566,
0.1209464743733406,
-0.6331159472465515,
0.08091523498296738,
0.10433836281299591,
-0.44716745615005493,
0.06892767548561096,
0.3822035491466522,
-0.5114743113517761,
0.10034362971782684,
-0.3730534017086029,
0.009753059595823288,
0.0010550394654273987,
0.2125549465417862,
-0.3035244941711426,
0.302234947681427,
0.026617925614118576,
-0.5663220882415771,
-0.2630190849304199,
-0.13570892810821533,
-0.045588817447423935,
0.02818305417895317,
0.12442938983440399,
-0.02741774544119835,
0.09887769818305969,
-0.0016529671847820282,
0.5142996311187744,
0.4645936191082001,
0.018116604536771774,
0.13107390701770782,
0.2374231517314911,
0.023176508024334908,
-0.05018492788076401,
0.01961948722600937,
0.2502884566783905,
-0.0073564983904361725,
-0.3556101322174072,
-0.04053086042404175,
-0.22807638347148895,
-0.16483435034751892,
-0.0637555792927742,
0.03840738534927368,
0.2706553339958191,
-0.44156602025032043,
-0.08951407670974731,
-0.20428448915481567,
-0.3310810327529907,
-0.1100519597530365,
0.12709814310073853,
0.027859214693307877,
-0.09339453279972076,
0.29859450459480286,
0.07653740793466568,
-0.5988495349884033,
0.13467520475387573,
-0.3878512382507324,
-0.11915334314107895,
-0.14267614483833313,
0.4160687327384949,
-0.16867852210998535,
0.04621545225381851,
-0.22399607300758362,
0.40719732642173767,
-0.2832627296447754,
-0.06014365702867508,
-0.09665027260780334,
0.4530586302280426,
-0.22438454627990723,
-0.01177967805415392,
0.1437171995639801,
0.28767213225364685,
0.25874897837638855,
-0.06653562933206558,
-0.27520260214805603,
-0.2653067708015442,
0.2807613015174866,
0.3296196758747101,
0.436185747385025,
0.14095881581306458,
0.23006190359592438,
0.06253024190664291,
-0.3057800829410553,
-0.25243037939071655,
-0.13311542570590973,
-0.4153536856174469,
0.1647842675447464,
0.3205081522464752,
0.27394652366638184,
-0.03832799196243286,
0.1165141761302948,
0.053647302091121674,
-0.058660976588726044,
0.024654360488057137,
-0.09177520871162415,
-0.0711241066455841,
0.1777077615261078,
0.2940322756767273,
-0.22361531853675842,
0.02497948706150055,
-0.4198797345161438,
0.16527366638183594,
0.08946679532527924,
-0.13501831889152527,
0.40778517723083496,
-0.0644998550415039,
0.2758207321166992,
0.08012741804122925,
-0.15987899899482727,
-0.3376197814941406,
0.2927367687225342,
-0.22779223322868347,
0.23782220482826233,
-0.016749437898397446,
0.412541002035141,
-0.5102813839912415,
-0.06521239131689072,
0.18719305098056793,
0.1505957394838333,
-0.09530289471149445,
0.14800116419792175,
-0.14701765775680542,
-0.214543417096138,
-0.0291055329144001,
-0.17503249645233154,
0.29615581035614014,
0.380918025970459,
-0.5066590309143066,
0.005115596577525139,
0.1990891993045807,
0.055161550641059875,
-0.022541971877217293,
0.09959037601947784,
-0.022141043096780777,
-0.3059599697589874,
0.04090379551053047,
0.49171993136405945,
0.15378710627555847,
-0.26637929677963257,
0.1600128710269928,
-0.11762581765651703,
0.31245189905166626,
-0.104578897356987,
-0.21104058623313904,
0.17803247272968292,
-0.1978171318769455,
0.07724718004465103,
0.34421417117118835,
0.10064880549907684,
0.07314904034137726,
0.15172383189201355,
0.23669016361236572,
0.2627987563610077,
-0.014598459005355835,
0.13767872750759125,
-0.3742271661758423,
-0.12367510795593262,
0.5215672254562378,
-0.029221907258033752,
-0.12060900032520294,
-0.13602417707443237,
0.28570646047592163,
0.0708589181303978,
-0.5509328246116638,
0.3172677159309387,
-0.05190582573413849,
-0.21671684086322784,
-0.1051703467965126,
-0.06783222407102585,
-0.27533334493637085,
0.08933248370885849,
0.00852183997631073,
-0.15710434317588806,
-0.1031779944896698,
0.13143593072891235,
0.3487203121185303,
0.22029651701450348,
-0.07066167891025543,
0.1376141905784607,
0.325572669506073,
0.21024665236473083,
-0.12322161346673965,
-0.1961740255355835,
0.2985316514968872,
0.18516147136688232,
0.031646206974983215,
0.343484491109848,
0.5387342572212219,
0.6095017790794373,
0.33053499460220337,
0.1166384369134903,
-0.1535797268152237,
-0.008897269144654274,
0.15177077054977417,
-0.08276335150003433,
0.33730199933052063,
0.05625363066792488,
0.25890886783599854,
0.23355861008167267,
0.14373759925365448,
-0.045978233218193054,
-0.15960539877414703,
0.049943163990974426,
-0.2975463569164276,
-0.0883350819349289,
0.25613242387771606,
0.09416872262954712,
-0.33252933621406555,
-0.23693525791168213,
0.2850647568702698,
-0.42007210850715637,
0.04883161187171936,
0.5032714009284973,
0.23405589163303375,
0.05444972962141037,
-0.22701705992221832,
0.04027761518955231,
0.09037439525127411,
0.3946579396724701,
0.4178869426250458,
0.008885785937309265,
-0.10347171872854233,
-0.1379939168691635,
-0.5994325876235962,
0.3813457190990448,
-0.14603009819984436,
-0.31466418504714966,
0.2011699080467224,
-0.20768141746520996,
-0.06724666804075241,
-0.04997380077838898,
0.302867591381073,
-0.08449687063694,
-0.44208014011383057,
-0.11756925284862518,
-0.09502668678760529,
-0.13223019242286682,
0.040006786584854126,
0.0771140530705452,
-0.09336995333433151,
-0.3849792182445526,
0.2547544836997986,
-0.04689677432179451,
0.01476605236530304,
-0.2855847477912903,
0.02917417883872986,
0.2676052451133728,
0.043335989117622375,
0.34465155005455017,
0.027812011539936066,
0.6503304243087769,
0.0226505808532238,
-0.06704185158014297,
-0.16654762625694275,
-0.564509391784668,
-0.18354877829551697,
0.23395764827728271,
-0.033003706485033035,
0.08500497043132782,
-0.2679871916770935,
-0.14122095704078674,
-0.1686556041240692,
0.12264242768287659,
-0.2162848711013794,
-0.16807673871517181,
0.05593437701463699,
0.08776954561471939,
-0.1959017515182495,
0.0565820150077343,
0.1865473985671997,
0.1782934069633484,
0.1410544514656067,
0.09131094068288803,
-0.04280216991901398,
-0.2933972477912903,
0.721962034702301,
0.31789258122444153,
-0.32899215817451477,
-0.10936951637268066,
0.5189721584320068,
-0.428249716758728,
0.06749160587787628,
-0.17824287712574005,
-0.1602870225906372,
0.19866634905338287,
-0.03762994706630707,
-0.28474554419517517,
0.11954841017723083,
-0.27235472202301025,
-0.19588805735111237,
0.039719048887491226,
0.3688364028930664,
-0.23179861903190613,
-0.2942271828651428,
0.025650445371866226,
-0.04904706031084061
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | > Let's say someone want to create his own private script. As the script is not meant to be shared, it's not going to be placed in `/datasets` right ? Maybe the script is going to be inside another project. If I'm not wrong in this case the `test_dataset_common.py` is not going to test his script.
>
> Raising an error in the post init is a sanity check that would tell the user immediately what's wrong.
> The error is raised if he tried to load the script or if he uses `nlp-cli test`
OK, fair point! I'm good with this then :-) | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 104 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
> Let's say someone want to create his own private script. As the script is not meant to be shared, it's not going to be placed in `/datasets` right ? Maybe the script is going to be inside another project. If I'm not wrong in this case the `test_dataset_common.py` is not going to test his script.
>
> Raising an error in the post init is a sanity check that would tell the user immediately what's wrong.
> The error is raised if he tried to load the script or if he uses `nlp-cli test`
OK, fair point! I'm good with this then :-) | [
-0.25899410247802734,
-0.07369358837604523,
-0.015254542231559753,
0.0288223959505558,
0.1579802930355072,
-0.041310835629701614,
0.24658548831939697,
0.36798980832099915,
-0.028709322214126587,
0.17531593143939972,
0.2646574378013611,
0.05594006925821304,
-0.03029670938849449,
0.17604492604732513,
0.33244776725769043,
0.23235076665878296,
-0.2913941442966461,
0.1864967942237854,
-0.07710929214954376,
0.016778379678726196,
-0.2735128402709961,
0.050037167966365814,
-0.06403953582048416,
0.450955867767334,
-0.29961949586868286,
-0.10649263113737106,
0.07054480910301208,
0.7143411636352539,
0.06308124959468842,
-0.7312725186347961,
0.048649489879608154,
-0.07748408615589142,
-0.007865790277719498,
0.4407295882701874,
-0.00011142984294565395,
-0.019478369504213333,
0.4618401527404785,
0.003524722531437874,
-0.0689258724451065,
0.07247702777385712,
-0.17374810576438904,
-0.09084200859069824,
0.05138979107141495,
-0.2682943642139435,
0.29564881324768066,
-0.05177021399140358,
0.022612664848566055,
-0.18552491068840027,
0.08657815307378769,
0.3922327756881714,
0.18309611082077026,
-0.024210672825574875,
-0.12000611424446106,
0.03529907017946243,
-0.15428516268730164,
0.12569962441921234,
-0.09574603289365768,
0.17174355685710907,
-0.01048530638217926,
-0.13893330097198486,
0.3547589182853699,
-0.11015377938747406,
-0.18461178243160248,
-0.18355844914913177,
-0.09658268839120865,
-0.022353146225214005,
0.14724288880825043,
-0.33212125301361084,
-0.07106724381446838,
0.17804023623466492,
0.5612505674362183,
-0.3993370532989502,
-0.09995879232883453,
-0.024776950478553772,
0.11156945675611496,
-0.15933509171009064,
0.6348380446434021,
0.08677889406681061,
-0.4499504566192627,
0.29788604378700256,
0.019808193668723106,
-0.022130530327558517,
-0.2121792435646057,
-0.11712385714054108,
0.29404759407043457,
0.29775935411453247,
0.24757933616638184,
0.21249955892562866,
-0.06642670929431915,
-0.11669836938381195,
0.009241169318556786,
-0.06505858153104782,
-0.1567489057779312,
0.13529306650161743,
-0.05308189615607262,
-0.3080888092517853,
-0.1428198218345642,
0.15384981036186218,
0.05588357895612717,
0.34300053119659424,
0.2519833445549011,
0.18570849299430847,
0.25698158144950867,
0.2506783604621887,
-0.16130244731903076,
0.1339491754770279,
0.40098387002944946,
0.2990507483482361,
0.6236927509307861,
-0.1575414091348648,
-0.004087764769792557,
0.04455575346946716,
-0.11043614894151688,
-0.4622136950492859,
0.16891098022460938,
0.2555393576622009,
0.5153276920318604,
-0.24058900773525238,
-0.22292855381965637,
0.20176228880882263,
0.08436319977045059,
-0.34044942259788513,
0.21882234513759613,
0.3535422682762146,
0.20396688580513,
-0.12831982970237732,
0.110151007771492,
-0.11157836019992828,
0.049886755645275116,
0.13258928060531616,
0.13551969826221466,
0.019484398886561394,
-0.34253573417663574,
0.23392494022846222,
0.27800676226615906,
0.025173969566822052,
0.26476117968559265,
-0.09487856179475784,
0.3192140460014343,
-0.1470055878162384,
0.23619744181632996,
0.1114872395992279,
0.015166953206062317,
0.42417439818382263,
-0.1512550413608551,
-0.054671213030815125,
0.19317904114723206,
-0.43083620071411133,
-0.2680145800113678,
0.20572325587272644,
0.0008572563529014587,
-0.5775302648544312,
-0.14053232967853546,
0.2011544108390808,
0.003366997465491295,
0.09411453455686569,
0.3283129036426544,
-0.24284668266773224,
0.17929142713546753,
-0.2854365110397339,
0.5357719659805298,
-0.11619371175765991,
-0.004140019416809082,
-0.30298998951911926,
-0.14408515393733978,
0.4246901273727417,
-0.40692824125289917,
0.1373339146375656,
0.127866730093956,
-0.3241143524646759,
-0.2816294729709625,
0.11557835340499878,
-0.24981757998466492,
0.07023420184850693,
-0.23592586815357208,
0.203280970454216,
0.5043261051177979,
-0.4697704315185547,
0.03277771919965744,
0.24895288050174713,
-0.22617369890213013,
-0.23273442685604095,
0.3977282643318176,
-0.05176674574613571,
-0.3327862024307251,
-0.236883744597435,
0.19968527555465698,
0.039226237684488297,
0.0010279379785060883,
-0.06535524874925613,
-0.31902480125427246,
0.11686325073242188,
0.13391779363155365,
-0.05075452849268913,
-0.22604240477085114,
0.10152741521596909,
0.23728743195533752,
0.1426333487033844,
0.3302113115787506,
-0.11311444640159607,
-0.14206144213676453,
0.04508694261312485,
0.3145918846130371,
-0.07191438972949982,
0.08778427541255951,
0.1956665813922882,
-0.311898797750473,
0.2174484133720398,
0.0493430569767952,
0.16966314613819122,
0.08285084366798401,
-0.3300769329071045,
-0.3825141191482544,
0.021414095535874367,
-0.012341801077127457,
0.07927235215902328,
0.11838190257549286,
0.15219204127788544,
-0.05653654783964157,
-0.22907699644565582,
-0.3402204215526581,
0.5378345847129822,
-0.4079754948616028,
0.08465231209993362,
0.0950699895620346,
-0.020838195458054543,
-0.38223233819007874,
-0.02746112272143364,
-0.09343837201595306,
0.019480951130390167,
0.12224037200212479,
-0.02603805810213089,
-0.1267015039920807,
0.4845700263977051,
0.15731696784496307,
-0.069658562541008,
0.11761360615491867,
0.17023280262947083,
-0.1680598109960556,
-0.5042802095413208,
0.16767336428165436,
0.2314814180135727,
0.05808456242084503,
-0.020622748881578445,
0.09237523376941681,
0.12799003720283508,
-0.1072751134634018,
-0.1363842785358429,
-0.19900953769683838,
-0.27449169754981995,
0.07764428108930588,
-0.2774184048175812,
-0.3091975450515747,
-0.11043687164783478,
0.4379783570766449,
0.08631430566310883,
0.31580838561058044,
0.23025166988372803,
-0.17658038437366486,
-0.36852318048477173,
-0.027048196643590927,
-0.205556258559227,
0.06770268082618713,
0.08419257402420044,
0.48222336173057556,
0.28411340713500977,
0.24075812101364136,
0.09323310852050781,
0.5527023077011108,
0.026129215955734253,
-0.2562209963798523,
0.4976337254047394,
-0.2907971739768982,
-0.07312607020139694,
0.27192580699920654,
0.1440475881099701,
0.22818590700626373,
0.08985480666160583,
-0.17293040454387665,
0.05594492331147194,
-0.12484686076641083,
-0.3489912748336792,
0.127339705824852,
0.10648934543132782,
-0.4883482754230499,
0.011946355924010277,
0.07737897336483002,
-0.17837533354759216,
-0.2715306282043457,
0.03767221421003342,
-0.34945547580718994,
0.08212316036224365,
0.18402433395385742,
-0.25504323840141296,
-0.07708694040775299,
0.181817427277565,
-0.38229313492774963,
0.363146036863327,
-0.0006082989275455475,
-0.3772961497306824,
-0.3110797107219696,
0.20742079615592957,
-0.05615561455488205,
-0.023015221580863,
0.2765996754169464,
0.047305624932050705,
0.17381268739700317,
-0.1268734633922577,
-0.012919561937451363,
-0.026662355288863182,
-0.3076480031013489,
0.08904803544282913,
-0.0731518343091011,
0.30459800362586975,
0.2605307400226593,
-0.019410163164138794,
0.3330318331718445,
-0.5554252862930298,
0.23676186800003052,
-0.012508712708950043,
0.055495865643024445,
-0.022996729239821434,
0.36839842796325684,
-0.2899759113788605,
-0.4599078297615051,
-0.27304837107658386,
-0.1660022735595703,
-0.3593102991580963,
0.08974137157201767,
0.21364155411720276,
0.17676803469657898,
0.47711285948753357,
-0.10206613689661026,
0.03471887484192848,
-0.15257231891155243,
0.22639533877372742,
0.04143187031149864,
-0.14147897064685822,
0.10476435720920563,
-0.1613767445087433,
-0.04817819967865944,
0.05850519612431526,
0.06456145644187927,
-0.03137507662177086,
-0.25531744956970215,
-0.36030685901641846,
-0.39190325140953064,
-0.029627280309796333,
0.4469292163848877,
-0.020500898361206055,
-0.06357014179229736,
0.02233981341123581,
0.1617009937763214,
-0.1411607414484024,
-0.2046431005001068,
-0.4188927710056305,
0.006073646247386932,
-0.030757352709770203,
0.18494461476802826,
0.3100282847881317,
0.200449138879776,
-0.27578413486480713,
-0.06515005230903625,
0.2546035647392273,
0.11021709442138672,
0.08122898638248444,
-0.13589580357074738,
0.5752912163734436,
0.06245440989732742,
-0.07298033684492111,
0.1311720758676529,
0.2638396918773651,
-0.5292271971702576,
0.2316981554031372,
-0.06865796446800232,
-0.17942754924297333,
-0.15595561265945435,
-0.026000503450632095,
-0.10307972133159637,
-0.16403859853744507,
0.1234070211648941,
-0.22393065690994263,
0.06562015414237976,
0.125920832157135,
-0.10232625901699066,
-0.05635504052042961,
0.013312455266714096,
0.05727413669228554,
0.4720270037651062,
-0.37286239862442017,
-0.08583768457174301,
-0.7293674945831299,
-0.4968923032283783,
-0.25777101516723633,
0.2549182176589966,
0.07708123326301575,
0.5549781918525696,
-0.3354474902153015,
-0.007788540795445442,
-0.014177463948726654,
0.09051837772130966,
0.3594045042991638,
-0.6166859269142151,
-0.1744118630886078,
0.3179556131362915,
0.32520440220832825,
0.017650073394179344,
-0.12380805611610413,
-0.12797829508781433,
0.24226009845733643,
0.202955424785614,
0.060165390372276306,
-0.14436186850070953,
-0.09837368875741959,
0.27700358629226685,
0.0703095868229866,
-0.23301491141319275,
-0.2306617647409439,
-0.29537907242774963,
-0.5221819281578064,
-0.31722292304039,
0.07564936578273773,
0.1584096997976303,
-0.19828645884990692,
-0.16273662447929382,
0.37458738684654236,
0.4104066491127014,
0.28537002205848694,
0.2225712537765503,
0.34279900789260864,
0.01816038228571415,
0.031051337718963623,
-0.1419254094362259,
-0.1240544468164444,
0.16687071323394775,
0.04259980469942093,
0.3071741461753845,
-0.16854630410671234,
0.31514137983322144,
-0.10638151317834854,
-0.26268327236175537,
0.48848211765289307,
0.3747071623802185,
-0.08686457574367523,
-0.20772919058799744,
-0.011212285608053207,
0.1408366858959198,
-0.12364833801984787,
-0.14573697745800018,
0.24576784670352936,
-0.09544909000396729,
-0.425324946641922,
-0.3315299451351166,
0.5285422205924988,
-0.03683248162269592,
-0.1543339490890503,
0.15839341282844543,
0.2528825104236603,
-0.43555280566215515,
0.3171696066856384,
-0.02359868586063385,
1.009492039680481,
0.026029232889413834,
0.18224944174289703,
0.026685204356908798,
0.020466774702072144,
0.25299325585365295,
0.05716661363840103,
-0.2546554207801819,
-0.35899123549461365,
-0.24206064641475677,
-0.03609906882047653,
-0.21158698201179504,
0.3920060694217682,
0.11329793930053711,
-0.6862989068031311,
0.10698036849498749,
0.07325099408626556,
-0.4404618442058563,
0.08758565783500671,
0.4046410620212555,
-0.5055277347564697,
0.11022733151912689,
-0.38122642040252686,
0.06526397168636322,
0.006334263831377029,
0.2197699397802353,
-0.3231379985809326,
0.20309168100357056,
0.041557278484106064,
-0.5604798197746277,
-0.2519156336784363,
-0.13122445344924927,
-0.057501185685396194,
0.026003563776612282,
0.11453068256378174,
-0.0018908828496932983,
0.09004643559455872,
-0.04764716699719429,
0.4843031167984009,
0.40953847765922546,
-0.033982694149017334,
0.10655663907527924,
0.2371029257774353,
0.07596808671951294,
-0.017191346734762192,
-0.01276023406535387,
0.3163476288318634,
-0.02182690054178238,
-0.37575438618659973,
-0.05120733380317688,
-0.23283983767032623,
-0.16870993375778198,
-0.0517745316028595,
0.023392442613840103,
0.22796565294265747,
-0.4463290572166443,
-0.08617207407951355,
-0.22445201873779297,
-0.368964284658432,
-0.10316908359527588,
0.1646476686000824,
0.039137765765190125,
-0.1585284322500229,
0.30284059047698975,
0.10286642611026764,
-0.5426006317138672,
0.12657560408115387,
-0.36600083112716675,
-0.15650656819343567,
-0.1675863265991211,
0.3593985438346863,
-0.14040744304656982,
-0.01637222059071064,
-0.2563295066356659,
0.3726072311401367,
-0.27158835530281067,
-0.03151269257068634,
-0.13133789598941803,
0.40810930728912354,
-0.22394859790802002,
0.01504498440772295,
0.151992067694664,
0.32726484537124634,
0.2644484341144562,
-0.0740475207567215,
-0.27790915966033936,
-0.2734902799129486,
0.2948618233203888,
0.2976791560649872,
0.44587451219558716,
0.07540018111467361,
0.22126536071300507,
0.1327991783618927,
-0.286376416683197,
-0.3192940056324005,
-0.10928002744913101,
-0.4299294054508209,
0.14061301946640015,
0.2967292368412018,
0.22057399153709412,
-0.038122717291116714,
0.06760421395301819,
0.08584989607334137,
-0.028248440474271774,
-0.03093542531132698,
-0.14421798288822174,
-0.057533517479896545,
0.16650187969207764,
0.24721631407737732,
-0.2160649448633194,
0.04306696727871895,
-0.39492231607437134,
0.199088916182518,
0.11185470223426819,
-0.12924125790596008,
0.3932282626628876,
-0.07022660970687866,
0.31690889596939087,
0.07345321029424667,
-0.1718086302280426,
-0.3375632166862488,
0.2695426940917969,
-0.2254522740840912,
0.25208741426467896,
0.009741414338350296,
0.36196571588516235,
-0.500434398651123,
-0.06536206603050232,
0.23192857205867767,
0.15507201850414276,
-0.08850175142288208,
0.18337759375572205,
-0.1386408507823944,
-0.16213881969451904,
-0.08095555007457733,
-0.16367186605930328,
0.354978084564209,
0.40371862053871155,
-0.5462315678596497,
0.001743614673614502,
0.2004547417163849,
0.13810418546199799,
-0.06200140342116356,
0.0937858447432518,
-0.012856949120759964,
-0.31638777256011963,
0.05198417231440544,
0.4815278947353363,
0.15527914464473724,
-0.2766698896884918,
0.1780310869216919,
-0.06121991574764252,
0.32645758986473083,
-0.16171357035636902,
-0.1917698234319687,
0.19149424135684967,
-0.2926677167415619,
0.06534960120916367,
0.37944817543029785,
0.07303009927272797,
0.06810130178928375,
0.1811096966266632,
0.19753679633140564,
0.2796778082847595,
-0.019546978175640106,
0.17264796793460846,
-0.32722559571266174,
-0.08805441856384277,
0.5023877024650574,
-0.03128272294998169,
-0.09648704528808594,
-0.13002631068229675,
0.24165625870227814,
0.10500550270080566,
-0.4987523555755615,
0.2887016236782074,
-0.025419877842068672,
-0.1857956051826477,
-0.08465886116027832,
-0.05929071828722954,
-0.24225661158561707,
0.013556353747844696,
-0.03780486062169075,
-0.21971940994262695,
-0.10442060232162476,
0.08718603849411011,
0.3541947305202484,
0.2229820042848587,
-0.10009334981441498,
0.12254741787910461,
0.3002932071685791,
0.2073337435722351,
-0.10704348236322403,
-0.2320559024810791,
0.2833486497402191,
0.18814712762832642,
0.033493783324956894,
0.2955726385116577,
0.5312149524688721,
0.5971384048461914,
0.3687882423400879,
0.06795774400234222,
-0.14687249064445496,
0.005232524126768112,
0.14430823922157288,
-0.08144094049930573,
0.3233669698238373,
0.1025819405913353,
0.21792380511760712,
0.24051041901111603,
0.1743127405643463,
-0.07067044824361801,
-0.1323995441198349,
0.04952753707766533,
-0.30739864706993103,
-0.09589405357837677,
0.2811785638332367,
0.17008750140666962,
-0.30720290541648865,
-0.20943982899188995,
0.24215027689933777,
-0.4538593590259552,
0.057896215468645096,
0.5415462255477905,
0.22318822145462036,
0.07984161376953125,
-0.2220141738653183,
0.07585152983665466,
0.13164785504341125,
0.3412792980670929,
0.3738611042499542,
0.030227722600102425,
-0.1637962907552719,
-0.09684691578149796,
-0.6747530698776245,
0.3396189510822296,
-0.1239246129989624,
-0.29207831621170044,
0.21896937489509583,
-0.2153349220752716,
-0.0260869562625885,
-0.03728724271059036,
0.22896620631217957,
-0.0955798476934433,
-0.38569751381874084,
-0.11732129752635956,
-0.15049222111701965,
-0.0941801369190216,
0.035793717950582504,
0.10171108692884445,
-0.04226762056350708,
-0.3849422037601471,
0.27448880672454834,
-0.06241341680288315,
0.06074307858943939,
-0.26916617155075073,
0.03491200506687164,
0.3300473988056183,
0.06411329656839371,
0.3543832004070282,
0.042625732719898224,
0.6361707448959351,
0.026547372341156006,
-0.07795518636703491,
-0.20378249883651733,
-0.5302868485450745,
-0.18135954439640045,
0.25537994503974915,
0.02958383411169052,
0.034190256148576736,
-0.24296490848064423,
-0.1804146021604538,
-0.23164288699626923,
0.10583078116178513,
-0.2296370416879654,
-0.1441848874092102,
0.020484471693634987,
0.0704280436038971,
-0.11056846380233765,
0.0618630051612854,
0.11665472388267517,
0.1710154116153717,
0.06826124340295792,
0.10802318155765533,
-0.11653020977973938,
-0.3268016278743744,
0.7651093006134033,
0.30232444405555725,
-0.35168272256851196,
-0.11153958737850189,
0.5400024652481079,
-0.40540680289268494,
0.07446270436048508,
-0.22085502743721008,
-0.15088772773742676,
0.2314431369304657,
-0.05201780050992966,
-0.27387502789497375,
0.1391822099685669,
-0.24946603178977966,
-0.2005147784948349,
0.001488320529460907,
0.354778528213501,
-0.18027499318122864,
-0.24213355779647827,
-0.02264835126698017,
-0.08695824444293976
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | I'm fine with this as well (even though I understand what you meant @patrickvonplaten, we can still change it later if needed) | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 22 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
I'm fine with this as well (even though I understand what you meant @patrickvonplaten, we can still change it later if needed) | [
-0.08457872271537781,
-0.2509133815765381,
-0.08066050708293915,
0.10284928977489471,
0.23559224605560303,
-0.035065099596977234,
0.12209035456180573,
0.12539568543434143,
-0.0008092187345027924,
0.2611882984638214,
0.28619715571403503,
-0.06396658718585968,
-0.11209174245595932,
0.07947037369012833,
-0.22941085696220398,
0.19553200900554657,
-0.25765207409858704,
0.007683306932449341,
-0.09692054986953735,
0.017375372350215912,
-0.2948078513145447,
0.19385790824890137,
-0.023916170001029968,
0.3703940510749817,
-0.09869952499866486,
0.11784399300813675,
0.2095836102962494,
0.5052485466003418,
-0.16111618280410767,
-0.3363421559333801,
-0.07047725468873978,
-0.28153517842292786,
-0.14957210421562195,
0.2998220920562744,
-0.00009177038737107068,
0.048383377492427826,
0.5011682510375977,
0.044804662466049194,
0.028820782899856567,
0.21358944475650787,
-0.16895361244678497,
-0.12030556052923203,
-0.23804686963558197,
-0.26353517174720764,
0.08346039801836014,
0.1643030196428299,
-0.038611941039562225,
0.047902002930641174,
0.05177026242017746,
0.19173553586006165,
0.3835794925689697,
-0.16298756003379822,
-0.08733754605054855,
-0.07157738506793976,
-0.11253341287374496,
0.026265956461429596,
-0.24167023599147797,
0.18493159115314484,
-0.051683783531188965,
0.08427122235298157,
0.13754872977733612,
0.031187433749437332,
-0.07944090664386749,
-0.013521172106266022,
0.013449177145957947,
-0.11047366261482239,
0.23876261711120605,
-0.11916561424732208,
0.05238468572497368,
0.09186683595180511,
0.44634202122688293,
-0.009313080459833145,
0.20456543564796448,
0.1900329887866974,
0.0062293438240885735,
-0.08847825229167938,
0.7446648478507996,
0.000559530220925808,
-0.39000704884529114,
0.05361839383840561,
-0.009462181478738785,
-0.20386843383312225,
-0.30115991830825806,
-0.2278149574995041,
-0.07328295707702637,
0.32425159215927124,
-0.03854675590991974,
-0.0013813599944114685,
0.05036696791648865,
-0.027537286281585693,
-0.01374287623912096,
0.0027548223733901978,
-0.24287205934524536,
-0.03449909761548042,
0.1347103863954544,
-0.12864398956298828,
-0.15131700038909912,
0.1673407256603241,
0.03676379472017288,
-0.0030878596007823944,
0.047169044613838196,
0.1471502035856247,
0.2208019644021988,
0.2412024736404419,
-0.3624648153781891,
0.12686555087566376,
0.45139142870903015,
0.17868313193321228,
0.3625497817993164,
-0.05412919074296951,
0.14193826913833618,
0.021674148738384247,
0.01839413121342659,
-0.5723279118537903,
-0.15722595155239105,
0.35538363456726074,
0.30027395486831665,
-0.1330147087574005,
-0.06586780399084091,
0.20249734818935394,
0.044416435062885284,
-0.12369335442781448,
0.2871532142162323,
0.2616635262966156,
0.08638669550418854,
-0.3719014525413513,
0.11404313147068024,
-0.17473724484443665,
0.24953897297382355,
0.28801122307777405,
0.09767872840166092,
0.05371779948472977,
-0.40453311800956726,
-0.041743069887161255,
0.12136264145374298,
0.09528787434101105,
0.11626379191875458,
-0.11207560449838638,
0.2568812370300293,
0.02199515700340271,
-0.03322877362370491,
0.06010916456580162,
0.1943928748369217,
0.2920232117176056,
-0.09567328542470932,
-0.028818823397159576,
0.14696484804153442,
-0.031070329248905182,
-0.030909445136785507,
0.1512148082256317,
-0.07047796994447708,
-0.29650014638900757,
-0.1641685664653778,
0.39366117119789124,
0.1777285784482956,
-0.05947558581829071,
0.2863035798072815,
-0.18795332312583923,
-0.07346316426992416,
0.00008189678192138672,
0.39061495661735535,
0.13993942737579346,
-0.06169106811285019,
-0.18265685439109802,
-0.20323175191879272,
0.23984965682029724,
-0.31076642870903015,
0.13620848953723907,
-0.13722147047519684,
-0.3393598794937134,
-0.03260774165391922,
0.1087028831243515,
-0.22523599863052368,
-0.12198743969202042,
-0.35220038890838623,
0.21176762878894806,
0.276114284992218,
-0.27325791120529175,
0.28099673986434937,
0.1475260704755783,
-0.2298406958580017,
-0.2916010618209839,
0.18202942609786987,
-0.1695856899023056,
-0.2063188999891281,
-0.16397400200366974,
0.056419312953948975,
0.03194623440504074,
0.03428244963288307,
-0.037067756056785583,
-0.28239381313323975,
0.005205938592553139,
-0.014286704361438751,
-0.2800743281841278,
-0.056276556104421616,
0.031642768532037735,
0.1894257813692093,
0.06534242630004883,
0.28683793544769287,
-0.023146089166402817,
-0.12112122774124146,
0.07768905162811279,
0.3724598288536072,
0.20409418642520905,
-0.06855768710374832,
0.41577503085136414,
-0.0650060847401619,
0.13452526926994324,
-0.028157144784927368,
0.18698328733444214,
0.23604121804237366,
0.04492270201444626,
-0.2433943748474121,
-0.13544028997421265,
-0.01192208006978035,
0.05427757650613785,
0.37729594111442566,
0.29129961133003235,
0.0697784572839737,
-0.30813586711883545,
-0.014925733208656311,
0.08180948346853256,
-0.4960995018482208,
0.003770110197365284,
0.24501925706863403,
-0.14593541622161865,
-0.5365650057792664,
0.1688605546951294,
-0.22458510100841522,
-0.2723377048969269,
0.10636591911315918,
-0.03135504201054573,
-0.10251948982477188,
0.4458734393119812,
-0.09458520263433456,
-0.20442868769168854,
0.06571286171674728,
0.2106226682662964,
-0.18246732652187347,
-0.3091135025024414,
0.11779707670211792,
0.22614355385303497,
-0.027774125337600708,
-0.054687343537807465,
0.15034595131874084,
-0.09766998887062073,
-0.08129943907260895,
-0.05701638013124466,
-0.18590353429317474,
-0.17158043384552002,
-0.01722579076886177,
-0.14801336824893951,
-0.13252918422222137,
-0.10644955188035965,
0.14559361338615417,
0.1758894920349121,
-0.06522557139396667,
0.02639183960855007,
-0.13769996166229248,
-0.4969327449798584,
0.0640948936343193,
-0.004689095541834831,
-0.06202536076307297,
0.11842478811740875,
0.47035765647888184,
0.29187554121017456,
-0.009713111445307732,
0.15000952780246735,
0.2881738841533661,
0.11760559678077698,
-0.1329968273639679,
0.3132741451263428,
-0.24954769015312195,
-0.09073767066001892,
0.4786224365234375,
0.11574158072471619,
0.15857882797718048,
0.20883896946907043,
-0.19741711020469666,
-0.09044785052537918,
-0.350075364112854,
-0.2433520406484604,
0.11984247714281082,
-0.04092467576265335,
-0.31382229924201965,
-0.08487505465745926,
0.11492961645126343,
-0.1985478401184082,
-0.32459506392478943,
-0.13298512995243073,
-0.28499963879585266,
-0.060287006199359894,
0.3355109691619873,
-0.1964176744222641,
-0.24119789898395538,
0.35382944345474243,
-0.11502717435359955,
0.08576922118663788,
0.015850702300667763,
-0.11089462786912918,
-0.24057620763778687,
0.2979288101196289,
-0.042225033044815063,
0.2230874001979828,
0.1107536107301712,
-0.30804741382598877,
0.24505765736103058,
-0.31221216917037964,
0.03097289800643921,
-0.18655990064144135,
-0.24083274602890015,
0.10722213238477707,
-0.2258981317281723,
0.10451964288949966,
0.2204473316669464,
0.06016584113240242,
0.14453771710395813,
-0.5032767057418823,
0.3557087182998657,
-0.01191529631614685,
0.008252030238509178,
-0.17147380113601685,
0.3716721832752228,
-0.16138416528701782,
-0.38381463289260864,
-0.15887096524238586,
0.08253801614046097,
-0.44547101855278015,
-0.1417820155620575,
-0.018205417320132256,
0.08363405615091324,
0.5577101707458496,
-0.0007239412516355515,
0.09934396296739578,
-0.012509908527135849,
0.11784869432449341,
-0.22285693883895874,
-0.10273188352584839,
0.17718550562858582,
-0.18530648946762085,
-0.04205868020653725,
0.05811389163136482,
0.1565660983324051,
-0.14589177072048187,
-0.23149821162223816,
-0.17982721328735352,
-0.2651514410972595,
-0.02964615263044834,
0.19867359101772308,
-0.013943690806627274,
-0.16488394141197205,
0.05028991773724556,
0.10026153922080994,
-0.3527349829673767,
-0.20518261194229126,
-0.30448657274246216,
0.08154445141553879,
0.07589477300643921,
0.3031662404537201,
0.09857627749443054,
0.07983965426683426,
-0.3048005998134613,
0.08607038110494614,
-0.10001033544540405,
0.11216132342815399,
0.15330231189727783,
-0.1233123317360878,
0.5123174786567688,
0.053492579609155655,
-0.07662291824817657,
0.1923585832118988,
0.23684751987457275,
-0.43813759088516235,
0.27252107858657837,
-0.11250001937150955,
-0.11338189989328384,
-0.10389652848243713,
-0.0015745814889669418,
0.028108343482017517,
-0.22365990281105042,
0.06012888252735138,
0.04151790216565132,
0.05369490012526512,
-0.03646094352006912,
0.041418030858039856,
0.22923222184181213,
0.05651590973138809,
0.37110987305641174,
0.4200090169906616,
-0.32488813996315,
-0.1209181621670723,
-0.4207901656627655,
-0.2849562466144562,
-0.10531548410654068,
0.30001866817474365,
0.08593837916851044,
0.2800928056240082,
-0.30373331904411316,
-0.08551552891731262,
-0.05414177477359772,
0.04070627689361572,
0.514901340007782,
-0.3772626221179962,
-0.039850734174251556,
0.28366121649742126,
0.3761228621006012,
0.29498180747032166,
-0.25205299258232117,
-0.07610339671373367,
0.10302276909351349,
0.10587228834629059,
0.044639769941568375,
-0.07992708683013916,
0.0479448102414608,
0.03655830770730972,
0.006585846189409494,
-0.3015444874763489,
-0.12495354562997818,
-0.2943227291107178,
-0.24445626139640808,
-0.19695068895816803,
0.1704535335302353,
0.24986498057842255,
-0.16527549922466278,
0.01697418838739395,
0.1851733773946762,
0.4307374358177185,
0.05234292149543762,
0.025979578495025635,
0.19756557047367096,
-0.002699911594390869,
0.12269707024097443,
-0.05834456533193588,
-0.11565977334976196,
0.3123632073402405,
0.05375140160322189,
0.1583569496870041,
-0.1865980625152588,
0.25976747274398804,
-0.006026998162269592,
-0.23964473605155945,
0.12855134904384613,
0.1902455985546112,
0.0575450137257576,
-0.2152276337146759,
0.05455388128757477,
0.11142797768115997,
-0.0436168909072876,
-0.12050443887710571,
0.18092651665210724,
0.019385945051908493,
-0.14632298052310944,
-0.013407796621322632,
0.24090147018432617,
-0.027859684079885483,
-0.1799950897693634,
0.29190459847450256,
0.4404442310333252,
-0.3765316903591156,
0.03237604722380638,
0.0268440879881382,
0.7550326585769653,
0.11597791314125061,
-0.1646367609500885,
0.12451007962226868,
-0.2552441656589508,
-0.02563484199345112,
0.0928950160741806,
-0.016083505004644394,
-0.18933886289596558,
0.06621729582548141,
0.026840733364224434,
0.0153239406645298,
0.40421852469444275,
0.11707287281751633,
-0.6036544442176819,
0.036014579236507416,
-0.16073794662952423,
-0.22272416949272156,
-0.14498469233512878,
0.05902186036109924,
-0.3601905107498169,
0.09598797559738159,
-0.1949814409017563,
0.31095272302627563,
0.26232224702835083,
0.19008924067020416,
-0.3974493145942688,
0.03084952011704445,
0.26085376739501953,
-0.5204159617424011,
-0.3202590346336365,
-0.1488872766494751,
-0.19871553778648376,
-0.06237948685884476,
0.12675359845161438,
0.09818264842033386,
-0.020529650151729584,
-0.12241187691688538,
0.24766695499420166,
0.22156266868114471,
-0.035122208297252655,
0.2491675615310669,
0.35998350381851196,
0.10567597299814224,
-0.20916974544525146,
-0.10744409263134003,
0.05772507190704346,
-0.06126324087381363,
-0.2639687657356262,
0.0028454363346099854,
-0.3578220009803772,
-0.06966962665319443,
-0.10922665148973465,
0.07761157304048538,
0.11785192787647247,
-0.24990558624267578,
0.24976925551891327,
-0.05805706977844238,
-0.22993718087673187,
-0.034336209297180176,
0.363357275724411,
-0.2140362709760666,
-0.10381724685430527,
0.17623616755008698,
0.14184492826461792,
-0.3734956979751587,
0.09705933928489685,
-0.3415955603122711,
-0.35258907079696655,
0.07316361367702484,
0.24635997414588928,
-0.2502358853816986,
-0.181058868765831,
-0.27420997619628906,
0.10598205775022507,
-0.3557729721069336,
0.08433186262845993,
-0.10178234428167343,
0.35914555191993713,
-0.41231489181518555,
0.01358002983033657,
0.22030305862426758,
0.37612760066986084,
0.384238600730896,
-0.08585010468959808,
-0.01617458462715149,
-0.15104907751083374,
0.06786295771598816,
-0.06865572929382324,
0.3529788851737976,
-0.24365124106407166,
0.07520879805088043,
0.32481274008750916,
-0.4518680274486542,
-0.49787789583206177,
-0.027964958921074867,
-0.4141663908958435,
0.14393487572669983,
-0.010283533483743668,
0.023238450288772583,
0.08323845267295837,
0.09560011327266693,
0.3163929283618927,
-0.028137758374214172,
-0.10922271013259888,
-0.31598395109176636,
0.01089601218700409,
0.07925458997488022,
0.012582439929246902,
-0.08902183920145035,
0.04853522777557373,
-0.2912958860397339,
0.16259750723838806,
0.2163161188364029,
-0.19975422322750092,
0.4292932152748108,
-0.014708541333675385,
0.16633878648281097,
-0.033418308943510056,
-0.09831587225198746,
-0.06127099320292473,
0.035511065274477005,
-0.020167924463748932,
0.3402656316757202,
-0.16545148193836212,
0.09382323920726776,
-0.36712753772735596,
-0.13331955671310425,
0.1862746775150299,
0.10137693583965302,
-0.12647953629493713,
0.18980473279953003,
-0.19236671924591064,
0.17297697067260742,
-0.0892578512430191,
-0.07897494733333588,
0.3317090570926666,
0.3158612549304962,
-0.3153446614742279,
-0.335886150598526,
0.29807648062705994,
0.463357150554657,
-0.057954199612140656,
0.03386278450489044,
-0.32458776235580444,
-0.4174412488937378,
0.10752788186073303,
0.291780561208725,
-0.019109584391117096,
-0.3438768982887268,
0.18118292093276978,
0.11187856644392014,
0.12311465293169022,
-0.07474958151578903,
-0.3150288462638855,
0.3288405239582062,
-0.5274112820625305,
0.08957244455814362,
0.3126264810562134,
-0.23986515402793884,
0.2014847695827484,
0.09767357259988785,
0.17533251643180847,
0.010829541832208633,
-0.013948757201433182,
0.11660680919885635,
-0.17946776747703552,
-0.04642333462834358,
0.3663877844810486,
-0.08201795816421509,
-0.08455796539783478,
0.033832941204309464,
0.1945711076259613,
-0.11315231770277023,
-0.2986465096473694,
0.2351105660200119,
-0.1420487016439438,
-0.15800058841705322,
-0.24233731627464294,
-0.134111687541008,
-0.0685485303401947,
-0.07673149555921555,
-0.032546404749155045,
0.07083429396152496,
0.19054295122623444,
0.19271902740001678,
0.24346411228179932,
0.023533858358860016,
-0.15065984427928925,
0.27385202050209045,
0.19257938861846924,
0.16174723207950592,
-0.10423775762319565,
-0.33213773369789124,
0.1889030784368515,
0.1812930405139923,
-0.09330342710018158,
0.3540618419647217,
0.36523082852363586,
0.39349502325057983,
0.2973381280899048,
0.18212595582008362,
-0.15735289454460144,
-0.012724604457616806,
0.17406566441059113,
-0.2316005378961563,
0.21439100801944733,
0.11829842627048492,
0.013820938766002655,
0.17617064714431763,
0.3120994567871094,
-0.29301777482032776,
0.08827263116836548,
-0.14039982855319977,
-0.2004532366991043,
0.2551051378250122,
-0.015647344291210175,
0.2461552619934082,
0.004649713635444641,
-0.28158465027809143,
0.05744417756795883,
-0.42201292514801025,
0.004758615046739578,
0.22321733832359314,
0.03087598830461502,
0.18569687008857727,
0.06393478065729141,
0.178644061088562,
0.1264014095067978,
0.4399563670158386,
0.2328542321920395,
-0.18435335159301758,
-0.06034165620803833,
-0.05591542646288872,
-0.35477176308631897,
0.1336560994386673,
-0.054754916578531265,
0.012733353301882744,
-0.10752267390489578,
-0.1594056487083435,
0.12611520290374756,
-0.08401726186275482,
0.17620371282100677,
-0.1632126122713089,
-0.1991034597158432,
0.02613389492034912,
-0.1452212780714035,
0.12660041451454163,
0.5764026641845703,
0.0867168977856636,
0.22066697478294373,
-0.3823555111885071,
0.24993853271007538,
0.005165739916265011,
0.32528382539749146,
-0.15214253962039948,
-0.03310312703251839,
0.21900737285614014,
0.25047531723976135,
0.3450196385383606,
0.0864548608660698,
0.24807238578796387,
-0.24552440643310547,
-0.14379681646823883,
-0.14948859810829163,
-0.28285273909568787,
-0.10151475667953491,
0.042377129197120667,
0.20572111010551453,
-0.13786211609840393,
-0.07685419172048569,
-0.09706850349903107,
-0.33753547072410583,
0.07183738052845001,
-0.11009683459997177,
0.2769306004047394,
-0.15627801418304443,
0.21921032667160034,
-0.021574195474386215,
0.0759497582912445,
-0.22081595659255981,
0.06267455965280533,
0.15611296892166138,
-0.0301767997443676,
-0.301414430141449,
-0.3699491322040558,
0.7133086323738098,
0.3250621259212494,
-0.372780978679657,
-0.11165284365415573,
0.19237282872200012,
-0.01784684509038925,
0.18376480042934418,
-0.29322272539138794,
-0.06568272411823273,
0.17413660883903503,
0.017428811639547348,
-0.2070731669664383,
-0.07735346257686615,
-0.09618785977363586,
-0.1337062567472458,
0.07213003933429718,
0.2753896713256836,
-0.013509124517440796,
-0.17194418609142303,
-0.039297159761190414,
-0.0009413138031959534
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | > We could have a bunch of simple consistency tests that run before uploading with the CLI (without loading data if we don't want to force the user to have dummy data)?
Yes! I guess that's a big question whether we should force the user to add dummy data. It's probably too tedious for the user...so when uploading to circle ci should we just check
- 1) All configs can be instantiated (if there are any)
- 2) The BuilderClass can be instantiated ...
- 3) ... maybe some more
and maybe suggest to the user to add dummy data using the dummy data command? | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 105 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
> We could have a bunch of simple consistency tests that run before uploading with the CLI (without loading data if we don't want to force the user to have dummy data)?
Yes! I guess that's a big question whether we should force the user to add dummy data. It's probably too tedious for the user...so when uploading to circle ci should we just check
- 1) All configs can be instantiated (if there are any)
- 2) The BuilderClass can be instantiated ...
- 3) ... maybe some more
and maybe suggest to the user to add dummy data using the dummy data command? | [
-0.20751190185546875,
-0.08451409637928009,
-0.023768868297338486,
0.169592022895813,
0.046751223504543304,
-0.13075397908687592,
0.12233442068099976,
0.004010843113064766,
-0.12987983226776123,
0.4190080761909485,
0.3707389831542969,
-0.2349991798400879,
-0.1418035328388214,
0.5642367601394653,
-0.32840320467948914,
0.12753096222877502,
-0.11938882619142532,
0.06736472249031067,
-0.15796762704849243,
0.22837398946285248,
-0.19650080800056458,
0.13949060440063477,
0.10636793076992035,
0.14219725131988525,
-0.26903286576271057,
-0.10530862957239151,
-0.07883691042661667,
0.3348541557788849,
-0.2634582817554474,
-0.34598734974861145,
0.04036390036344528,
0.35435807704925537,
-0.18446871638298035,
0.5345382690429688,
-0.0001083643437596038,
-0.02104642614722252,
0.4766120910644531,
-0.078713558614254,
-0.29082751274108887,
0.19190117716789246,
0.19330987334251404,
-0.1545408070087433,
-0.11726928502321243,
-0.2857496738433838,
-0.043490372598171234,
0.5555424690246582,
-0.24717698991298676,
0.21178513765335083,
0.08056969195604324,
0.03790890797972679,
0.20307764410972595,
0.15708202123641968,
0.015200521796941757,
-0.02513963356614113,
-0.21247446537017822,
0.34882569313049316,
-0.20447364449501038,
0.2995746433734894,
0.2467271387577057,
0.390806645154953,
0.2241663634777069,
0.02460169978439808,
0.15783433616161346,
-0.016518842428922653,
-0.12256316095590591,
-0.17908725142478943,
0.329026460647583,
-0.37091147899627686,
0.06652338802814484,
0.2532288134098053,
0.4656964838504791,
0.13577495515346527,
-0.07326462864875793,
0.234549880027771,
0.20583561062812805,
-0.12286298722028732,
0.7318711280822754,
-0.13465115427970886,
-0.4208563268184662,
-0.024863097816705704,
-0.23957280814647675,
-0.24639028310775757,
-0.15215712785720825,
0.030257154256105423,
-0.1266889125108719,
0.10739902406930923,
0.09024391323328018,
0.11191245913505554,
0.016015049070119858,
-0.1143709272146225,
-0.02931176871061325,
-0.23191580176353455,
-0.32287049293518066,
0.17101235687732697,
0.3018835783004761,
-0.4550124406814575,
-0.23848888278007507,
0.5943632125854492,
-0.04079710692167282,
0.27952519059181213,
-0.018918350338935852,
0.12017543613910675,
0.3167978525161743,
0.2350192666053772,
-0.09716568887233734,
0.0940416157245636,
0.15212596952915192,
0.37582191824913025,
0.39433419704437256,
0.005565695930272341,
0.054416853934526443,
-0.005534838885068893,
0.05253256857395172,
-0.4171583652496338,
-0.06470492482185364,
0.25493553280830383,
0.11129958927631378,
-0.17971086502075195,
-0.02234792150557041,
0.2826991379261017,
0.07549938559532166,
0.046900611370801926,
0.3713819086551666,
0.21608927845954895,
-0.010454876348376274,
0.05214966833591461,
0.2770659923553467,
0.046692587435245514,
0.17410683631896973,
0.111020028591156,
0.17341294884681702,
-0.19048722088336945,
0.001599721610546112,
0.07638484239578247,
0.24100126326084137,
-0.03280738368630409,
0.08657089620828629,
0.15623034536838531,
0.13612601161003113,
-0.07366839051246643,
0.26954013109207153,
-0.05224781483411789,
0.08386527746915817,
0.3747949004173279,
-0.035747770220041275,
-0.06369530409574509,
0.013860167935490608,
-0.4286874532699585,
-0.15974360704421997,
0.11617503315210342,
-0.25995370745658875,
-0.2416931837797165,
-0.31660619378089905,
0.27031248807907104,
-0.07842345535755157,
0.03493589162826538,
0.20454540848731995,
-0.21490342915058136,
-0.0003810897469520569,
-0.08898262679576874,
0.09273070842027664,
0.04233166575431824,
0.015552010387182236,
-0.0435858778655529,
-0.1751864105463028,
0.4644089937210083,
-0.3204406797885895,
0.019830919802188873,
-0.1859150230884552,
-0.10533259809017181,
-0.14978516101837158,
0.04032798111438751,
-0.2872858941555023,
0.09065420925617218,
-0.37992385029792786,
-0.21926485002040863,
0.33058834075927734,
-0.2758578658103943,
0.19468992948532104,
0.10179978609085083,
-0.11769507080316544,
0.19864578545093536,
-0.004429958760738373,
0.0029237251728773117,
-0.2076171189546585,
-0.18856194615364075,
0.0995616465806961,
-0.0504700168967247,
-0.1756000518798828,
-0.03534208983182907,
-0.29557374119758606,
-0.017778635025024414,
0.18324682116508484,
-0.22650380432605743,
-0.07429467141628265,
0.2248462736606598,
0.030683442950248718,
-0.207403764128685,
0.1555078625679016,
-0.16230854392051697,
-0.2585431933403015,
0.09698168933391571,
0.2998761534690857,
-0.16973085701465607,
0.013796366751194,
0.5567269921302795,
-0.3057442903518677,
0.28795579075813293,
0.008256316184997559,
0.22182390093803406,
0.18473538756370544,
-0.1294047236442566,
-0.12295269221067429,
0.050758183002471924,
-0.13223838806152344,
0.3046793043613434,
0.16962437331676483,
0.20854200422763824,
0.08630697429180145,
-0.3830051124095917,
-0.0711580365896225,
0.20396871864795685,
-0.664026141166687,
0.1677672266960144,
0.43020099401474,
-0.18426133692264557,
-0.5265199542045593,
0.20746029913425446,
-0.20620058476924896,
-0.25247469544410706,
0.009313210844993591,
-0.24196210503578186,
-0.14003270864486694,
0.3790160119533539,
0.05207750201225281,
-0.11311884224414825,
0.007738281041383743,
0.14306026697158813,
0.08307640254497528,
-0.10287705063819885,
-0.12254168838262558,
0.27528461813926697,
-0.11515652388334274,
-0.05510765686631203,
0.10137122869491577,
0.2873411178588867,
-0.040057066828012466,
-0.04095228761434555,
-0.06680913269519806,
-0.03525637090206146,
0.10433581471443176,
0.0029786452651023865,
-0.29895859956741333,
-0.14770561456680298,
0.3762017786502838,
0.18059122562408447,
0.42056336998939514,
0.10228627920150757,
-0.02269914746284485,
-0.28295665979385376,
0.02324724942445755,
-0.05657457560300827,
-0.10113776475191116,
0.0803932324051857,
0.49430903792381287,
0.3348501920700073,
0.01412598229944706,
0.3437037467956543,
0.42918533086776733,
0.03038986772298813,
-0.19549322128295898,
0.07761682569980621,
-0.2602996230125427,
-0.05486706271767616,
0.40560182929039,
0.1389511227607727,
-0.012591158971190453,
0.3325228989124298,
-0.12144672125577927,
0.06685467064380646,
-0.31762081384658813,
-0.12900836765766144,
0.23275986313819885,
0.06028178334236145,
-0.3206450939178467,
-0.02976815775036812,
0.3097289800643921,
-0.06408554315567017,
-0.078365258872509,
-0.026388950645923615,
-0.3906781077384949,
-0.0963064655661583,
0.316961407661438,
-0.03893264755606651,
-0.2882117033004761,
0.2297094613313675,
-0.017540719360113144,
0.505734920501709,
-0.07101865857839584,
-0.23394279181957245,
-0.4671443998813629,
0.15574325621128082,
-0.2224295437335968,
0.08656463027000427,
0.4390096962451935,
-0.629826009273529,
0.24291177093982697,
-0.4802441895008087,
0.31301021575927734,
0.05788150429725647,
-0.6400205492973328,
0.17420801520347595,
0.14010405540466309,
0.22040632367134094,
0.11966855823993683,
0.27469080686569214,
0.16203267872333527,
-0.3998870253562927,
0.2682989835739136,
0.008333070203661919,
-0.06675127893686295,
0.043167829513549805,
0.16131216287612915,
-0.3616466224193573,
-0.4475586712360382,
0.023929864168167114,
-0.052182212471961975,
-0.2324003428220749,
-0.22618438303470612,
0.32514315843582153,
0.1348138004541397,
0.4930577576160431,
0.13122569024562836,
0.0043182773515582085,
0.4207407534122467,
0.24770455062389374,
-0.1478830873966217,
-0.5999133586883545,
0.2499230057001114,
-0.10702496021986008,
-0.14185479283332825,
0.09332379698753357,
-0.13813774287700653,
0.14356499910354614,
-0.15523947775363922,
-0.2173236608505249,
-0.22675421833992004,
-0.009673243388533592,
0.3363506495952606,
-0.040075190365314484,
-0.24683062732219696,
0.1145152822136879,
0.19787415862083435,
-0.17477689683437347,
-0.118765689432621,
-0.10124804079532623,
0.14838744699954987,
0.15438535809516907,
0.3812597393989563,
-0.22548961639404297,
-0.05565030872821808,
-0.1332414150238037,
0.20927837491035461,
0.015331026166677475,
-0.14546076953411102,
0.11072982102632523,
-0.0016726180911064148,
0.5823408961296082,
0.03176896274089813,
-0.04811232164502144,
-0.0038502230308949947,
0.18624618649482727,
-0.46109843254089355,
0.07944975793361664,
-0.04976332187652588,
-0.2708320617675781,
-0.2858739495277405,
0.34375837445259094,
0.13906127214431763,
-0.1893092542886734,
0.07375940680503845,
-0.1258586049079895,
0.2046966850757599,
-0.09601323306560516,
-0.04825626313686371,
-0.06697595864534378,
-0.045797593891620636,
0.26901766657829285,
0.5685328245162964,
-0.21819639205932617,
-0.08182774484157562,
-0.6930060386657715,
-0.6079776883125305,
-0.01935294270515442,
0.31786662340164185,
0.16938748955726624,
0.13178066909313202,
-0.28100427985191345,
-0.11123616248369217,
-0.13070762157440186,
-0.0793152004480362,
0.28170567750930786,
-0.5475307106971741,
-0.3252990245819092,
0.2699239253997803,
0.3588913679122925,
-0.09617994725704193,
-0.3401568531990051,
-0.13016356527805328,
0.10502075403928757,
0.2420659363269806,
0.3117736279964447,
-0.18755213916301727,
-0.011230872012674809,
0.07872450351715088,
0.15694624185562134,
-0.3277324438095093,
-0.11282236874103546,
-0.3484695553779602,
-0.27429676055908203,
-0.18131650984287262,
0.27258896827697754,
0.0738929733633995,
-0.0643015056848526,
-0.029149413108825684,
0.1182841956615448,
0.21762482821941376,
0.216353178024292,
0.06332066655158997,
0.4197147488594055,
0.2400709092617035,
0.16848546266555786,
-0.10961149632930756,
-0.2682054936885834,
0.12968319654464722,
0.04455924779176712,
0.2981692850589752,
-0.010249011218547821,
0.4202771782875061,
0.18397364020347595,
-0.2787756025791168,
0.13396699726581573,
0.37526556849479675,
0.06706632673740387,
-0.15522783994674683,
-0.11184707283973694,
0.15019771456718445,
-0.33592134714126587,
0.25028783082962036,
-0.006858153268694878,
0.05459894984960556,
-0.1950972080230713,
0.27408507466316223,
0.02779417857527733,
-0.04383193701505661,
-0.0996636152267456,
0.3118654191493988,
0.27367278933525085,
-0.3164750933647156,
0.23773044347763062,
0.19547736644744873,
0.984465479850769,
-0.027370475232601166,
-0.0540517158806324,
0.02335107885301113,
-0.16138073801994324,
-0.09777352213859558,
0.03886988013982773,
-0.24308381974697113,
-0.11940255761146545,
0.34159159660339355,
-0.045915283262729645,
-0.05366039648652077,
0.5033406019210815,
0.13291394710540771,
-0.6892940402030945,
-0.07553223520517349,
-0.342989981174469,
-0.13114841282367706,
-0.09209831058979034,
0.4261181056499481,
-0.5028977990150452,
-0.03594108298420906,
0.2526443302631378,
0.24861016869544983,
0.04001793637871742,
0.4346708655357361,
-0.3527286946773529,
0.18526619672775269,
0.1291806995868683,
-0.49193674325942993,
-0.15379223227500916,
-0.13296014070510864,
-0.5446158647537231,
-0.03406410664319992,
0.11264587938785553,
-0.07654427736997604,
-0.14647886157035828,
-0.0009718798100948334,
0.4262816309928894,
0.35441747307777405,
0.014047795906662941,
0.27621230483055115,
0.15536588430404663,
0.20257307589054108,
0.14820139110088348,
-0.0743417963385582,
0.20314647257328033,
-0.1311478614807129,
-0.024417877197265625,
0.022140055894851685,
-0.3455711305141449,
-0.11814521998167038,
-0.01536831259727478,
-0.26598453521728516,
0.27757740020751953,
-0.3224462568759918,
0.23363648355007172,
-0.14291593432426453,
-0.4112650156021118,
0.05403090640902519,
0.1976781040430069,
-0.23184002935886383,
-0.14605113863945007,
0.13570640981197357,
0.03841274976730347,
-0.2065189927816391,
0.0764773041009903,
-0.35037633776664734,
-0.18244510889053345,
-0.09588468074798584,
0.2244437038898468,
-0.3626905679702759,
0.07193641364574432,
-0.2634187638759613,
0.37019622325897217,
-0.5037528872489929,
0.07516121119260788,
-0.058999378234148026,
0.3866250813007355,
-0.48832207918167114,
-0.20475098490715027,
0.5103034377098083,
0.4629325866699219,
0.35255056619644165,
0.004032626748085022,
-0.14579129219055176,
-0.46650010347366333,
-0.0026325955986976624,
0.4034772515296936,
0.45340868830680847,
-0.1926107406616211,
0.11466912925243378,
0.22570738196372986,
-0.11493587493896484,
-0.3411983251571655,
-0.17162422835826874,
-0.47013401985168457,
0.14707720279693604,
-0.011553704738616943,
0.013533376157283783,
0.02484847605228424,
-0.10330533981323242,
0.13402411341667175,
-0.1924019455909729,
-0.09933095425367355,
-0.19304904341697693,
-0.05671664699912071,
0.09291506558656693,
0.05659152939915657,
-0.13429147005081177,
0.212373286485672,
-0.13152208924293518,
0.32859060168266296,
0.09749606251716614,
-0.13886503875255585,
-0.07739315927028656,
-0.11234766244888306,
0.04575304314494133,
-0.2716614305973053,
-0.12406451255083084,
-0.49769479036331177,
0.007569938898086548,
0.23126466572284698,
0.2612280249595642,
0.04486149176955223,
0.06178352236747742,
-0.251995325088501,
-0.13370607793331146,
0.29270654916763306,
0.334835946559906,
-0.35033106803894043,
0.12570390105247498,
-0.20928740501403809,
0.022100411355495453,
0.09282985329627991,
-0.13595102727413177,
0.21561624109745026,
0.2616741359233856,
-0.43158814311027527,
-0.025884827598929405,
0.262905478477478,
0.28105905652046204,
0.029452424496412277,
-0.08745604008436203,
-0.16269797086715698,
-0.33799418807029724,
0.10602796077728271,
0.29998964071273804,
-0.05966925248503685,
-0.3259366750717163,
0.5260253548622131,
-0.0047662463039159775,
0.06342363357543945,
-0.2076980620622635,
0.044757191091775894,
0.12589740753173828,
-0.342174232006073,
0.25145795941352844,
0.19949418306350708,
-0.24502089619636536,
-0.15077242255210876,
-0.4087788462638855,
0.01456308364868164,
-0.036097243428230286,
-0.16892006993293762,
0.2358427792787552,
0.10043690353631973,
-0.0942794531583786,
0.4958779811859131,
-0.10874009132385254,
-0.02067118138074875,
0.26943472027778625,
0.3575116693973541,
-0.10537237673997879,
-0.4361181855201721,
-0.37557169795036316,
-0.5147734880447388,
-0.41261759400367737,
-0.3346658945083618,
-0.05731760710477829,
-0.4675314128398895,
-0.11090432852506638,
-0.10262060165405273,
0.11244682967662811,
0.23216727375984192,
0.1363641917705536,
0.04502543807029724,
0.4606790542602539,
-0.05364483594894409,
0.023308586329221725,
-0.09287682920694351,
0.17550283670425415,
0.047656167298555374,
-0.30672335624694824,
0.527076780796051,
0.1908683031797409,
-0.1057959794998169,
0.20560471713542938,
0.2453547567129135,
0.3830392360687256,
0.24048593640327454,
0.19194699823856354,
0.08712349086999893,
-0.050272393971681595,
0.07102283835411072,
-0.20947091281414032,
0.14573369920253754,
0.14687196910381317,
-0.1717899739742279,
0.16727228462696075,
0.2277979701757431,
-0.19071918725967407,
-0.03850433602929115,
-0.23537783324718475,
-0.09387671947479248,
-0.13692110776901245,
0.13253676891326904,
0.1884954422712326,
-0.029339123517274857,
-0.2820875644683838,
0.08185397833585739,
-0.21056094765663147,
0.025863680988550186,
0.25351211428642273,
-0.0017454440239816904,
0.09052876383066177,
-0.12086857110261917,
0.08777220547199249,
0.14455850422382355,
0.38708817958831787,
0.30902594327926636,
-0.30702343583106995,
-0.3334990441799164,
-0.2672637104988098,
-0.3798833191394806,
0.09305675327777863,
-0.027121778577566147,
0.13184276223182678,
0.02470468357205391,
0.0338711217045784,
0.11136624217033386,
0.06493201106786728,
0.2672812342643738,
-0.2289435714483261,
-0.13486197590827942,
-0.2842947840690613,
-0.2579262852668762,
0.15482652187347412,
0.24615749716758728,
-0.010861814022064209,
0.04464567452669144,
-0.49145740270614624,
0.1594652235507965,
0.054771166294813156,
0.13603654503822327,
0.1823878288269043,
-0.19672106206417084,
0.24214908480644226,
0.38198739290237427,
0.185002863407135,
0.04578365385532379,
0.42065855860710144,
-0.012236397713422775,
-0.0015929937362670898,
-0.004151809960603714,
-0.38050758838653564,
-0.2371416985988617,
0.15424537658691406,
0.0847734659910202,
0.03378588706254959,
-0.19124022126197815,
0.10832108557224274,
-0.26417288184165955,
-0.2911228537559509,
0.031218774616718292,
0.009512539952993393,
-0.008967803791165352,
0.03249964118003845,
-0.051342908293008804,
0.24285653233528137,
0.050759512931108475,
0.3556567430496216,
0.2392917275428772,
0.045237623155117035,
-0.24708916246891022,
-0.05927196890115738,
0.6074226498603821,
0.2646847069263458,
-0.24300777912139893,
-0.03608148545026779,
0.35561108589172363,
-0.2404777705669403,
0.27619192004203796,
-0.11193624883890152,
-0.14741632342338562,
0.1076960414648056,
-0.14418527483940125,
-0.3572452962398529,
0.3211387097835541,
0.045727502554655075,
-0.07967003434896469,
-0.022645216435194016,
0.5679951906204224,
-0.173103928565979,
-0.2272661179304123,
-0.18076346814632416,
0.046342529356479645
] |
https://github.com/huggingface/datasets/pull/196 | Check invalid config name | I really like that we have a test with dummy data for canonical datasets. This is insurance that they'll keep working in the long run.
On the other hand I understand that we will probably not force this practice for scripts uploaded on S3 by a user under his namespace (non-canonical), as it is tedious. As I understand right now the test is done for all the datasets on aws, even the non-canonical ? We should think about different tests for non-canonical datasets.
I also like the idea of a simple consistency test ! | As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows. | 94 | text: Check invalid config name
As said in #194, we should raise an error if the config name has bad characters.
Bad characters are those that are not allowed for directory names on windows.
I really like that we have a test with dummy data for canonical datasets. This is insurance that they'll keep working in the long run.
On the other hand I understand that we will probably not force this practice for scripts uploaded on S3 by a user under his namespace (non-canonical), as it is tedious. As I understand right now the test is done for all the datasets on aws, even the non-canonical ? We should think about different tests for non-canonical datasets.
I also like the idea of a simple consistency test ! | [
-0.1620139181613922,
-0.08168831467628479,
-0.03903382644057274,
-0.12042871117591858,
-0.02546851336956024,
-0.1860657036304474,
0.3741456866264343,
0.17646245658397675,
-0.018292617052793503,
0.17941828072071075,
0.33789435029029846,
-0.1271037459373474,
-0.0781342089176178,
0.271986722946167,
0.07997302711009979,
0.27934008836746216,
-0.11695799976587296,
0.026702456176280975,
-0.08006380498409271,
0.15310077369213104,
-0.3559163808822632,
0.17334116995334625,
0.031235337257385254,
-0.0025299564003944397,
-0.2011493295431137,
0.2923513948917389,
-0.05425182729959488,
0.33606165647506714,
-0.01974492333829403,
-0.31748613715171814,
0.20106792449951172,
0.004296652972698212,
-0.015449298545718193,
0.6639441251754761,
-0.00011613279639277607,
-0.10613609850406647,
0.8103893399238586,
-0.07020940631628036,
-0.08344969153404236,
0.0685109868645668,
-0.2839423716068268,
0.1850828230381012,
-0.11767476797103882,
-0.20239999890327454,
-0.004374230280518532,
0.49387985467910767,
-0.09289903938770294,
-0.042455025017261505,
-0.11522054672241211,
0.2822198271751404,
0.15937776863574982,
0.08175507932901382,
-0.3731054961681366,
0.03679925203323364,
0.18222439289093018,
0.34768712520599365,
-0.15723899006843567,
0.010178394615650177,
0.11162488907575607,
-0.23408232629299164,
0.1930713653564453,
-0.00779334781691432,
-0.0018999259918928146,
0.18336497247219086,
0.05364302173256874,
-0.09593064337968826,
-0.089004747569561,
-0.03160785138607025,
-0.011979140341281891,
0.5433365702629089,
0.7591374516487122,
-0.17086270451545715,
-0.2250741720199585,
0.08340276032686234,
-0.04560992494225502,
-0.17027756571769714,
0.6973530054092407,
-0.060164324939250946,
-0.12611007690429688,
0.09025367349386215,
-0.11834126710891724,
-0.10148900747299194,
-0.242692232131958,
0.06559380888938904,
-0.19839228689670563,
0.44608166813850403,
-0.008500861935317516,
0.12266835570335388,
-0.08060191571712494,
-0.03561469167470932,
0.11839079111814499,
-0.26133260130882263,
-0.18344345688819885,
-0.14356230199337006,
-0.07736176252365112,
-0.42972972989082336,
-0.4186914265155792,
0.07301872223615646,
-0.02372712641954422,
0.4725782871246338,
0.10250778496265411,
0.13486352562904358,
0.2901216149330139,
0.2601279020309448,
-0.1626386046409607,
0.2668166160583496,
0.5895869731903076,
0.2537711262702942,
0.47146111726760864,
0.2488454431295395,
0.18741032481193542,
-0.011075694113969803,
0.0076333265751600266,
-0.5931063890457153,
-0.19052481651306152,
0.23292815685272217,
0.31288957595825195,
-0.4018661081790924,
-0.0754094049334526,
0.1708705872297287,
0.16488873958587646,
-0.19233262538909912,
0.2511240541934967,
0.32925471663475037,
0.21560144424438477,
-0.22360044717788696,
0.012959171086549759,
0.2228507399559021,
0.23716847598552704,
0.07839679718017578,
0.17543727159500122,
-0.07286909222602844,
-0.11008220911026001,
-0.08376255631446838,
0.27654901146888733,
0.09438768029212952,
0.30992257595062256,
-0.23591455817222595,
0.21683011949062347,
-0.05177268385887146,
0.17896145582199097,
0.058739546686410904,
0.31876340508461,
0.5737705230712891,
-0.04207636043429375,
0.01002204418182373,
-0.036540333181619644,
-0.1612960249185562,
-0.18899253010749817,
0.053168874233961105,
0.033326730132102966,
-0.5314195156097412,
-0.20833413302898407,
0.1510472595691681,
-0.36830031871795654,
-0.08431435376405716,
0.04224563017487526,
-0.1530987024307251,
-0.005080230534076691,
-0.05400107428431511,
0.4398860037326813,
0.02525670826435089,
-0.09964517503976822,
0.03508970886468887,
-0.2373327761888504,
0.43586426973342896,
-0.3215741813182831,
0.20316895842552185,
-0.1588340699672699,
0.0008698552846908569,
-0.0571245476603508,
0.1475711166858673,
-0.11590288579463959,
-0.337620347738266,
-0.23113751411437988,
0.17316047847270966,
0.1978486180305481,
-0.296220064163208,
0.30316638946533203,
0.1953374594449997,
0.011084198951721191,
-0.07383488118648529,
0.348108172416687,
-0.38269755244255066,
-0.21539171040058136,
-0.42416054010391235,
-0.1024678498506546,
-0.10753998160362244,
0.02131478488445282,
-0.07021943479776382,
-0.17560644447803497,
-0.023840777575969696,
-0.005821313709020615,
-0.1355334222316742,
-0.10234569013118744,
-0.17205309867858887,
0.14647173881530762,
-0.046755410730838776,
0.04593144729733467,
-0.09274514019489288,
-0.1976284682750702,
0.12668853998184204,
0.49646952748298645,
-0.08180740475654602,
0.12283994257450104,
0.4180466830730438,
-0.46197229623794556,
0.2491055428981781,
0.2967815399169922,
0.16942717134952545,
0.043773453682661057,
-0.233398899435997,
-0.073081836104393,
-0.16871389746665955,
0.05094170570373535,
0.06124769151210785,
0.057768434286117554,
0.2906363308429718,
0.06628511846065521,
-0.2857469916343689,
-0.25982666015625,
-0.28151169419288635,
-0.46530595421791077,
0.014329451136291027,
-0.049949970096349716,
-0.137636199593544,
-0.12070464342832565,
0.1842919886112213,
0.05464696139097214,
-0.4021572470664978,
0.09294375777244568,
-0.4099939167499542,
-0.17755791544914246,
0.40695425868034363,
0.21710823476314545,
0.25898605585098267,
0.1114625558257103,
0.5968464612960815,
-0.17307277023792267,
-0.2507895827293396,
0.10932361334562302,
0.2868466079235077,
-0.07198944687843323,
-0.007545188069343567,
-0.17485547065734863,
0.26009124517440796,
-0.20076516270637512,
-0.006995804607868195,
-0.33438873291015625,
-0.29341962933540344,
0.14672593772411346,
-0.24517785012722015,
-0.4586568772792816,
0.028482995927333832,
0.4962691068649292,
0.12602728605270386,
-0.05793683975934982,
0.0794777125120163,
-0.013149548321962357,
-0.37386107444763184,
0.247259721159935,
-0.32439568638801575,
-0.012731194496154785,
0.07247542589902878,
0.23257994651794434,
0.1683247983455658,
0.21584036946296692,
0.30787596106529236,
0.4618571400642395,
0.025664731860160828,
0.030599884688854218,
0.05745609104633331,
-0.2407195270061493,
-0.2780241072177887,
0.5872120261192322,
0.20851625502109528,
0.08352880924940109,
0.13686254620552063,
-0.19739097356796265,
-0.12074082344770432,
-0.3728615641593933,
-0.21297501027584076,
0.24857133626937866,
-0.03112134151160717,
-0.6003854870796204,
0.03533262759447098,
0.07465562969446182,
-0.05376794934272766,
-0.31115540862083435,
-0.029694996774196625,
-0.24402648210525513,
-0.06364145129919052,
0.35009700059890747,
0.03972011059522629,
-0.3685489892959595,
0.3056035041809082,
0.03641095384955406,
0.4229101538658142,
-0.13549672067165375,
-0.5170695781707764,
-0.68467116355896,
-0.03548848628997803,
-0.13844740390777588,
0.07898817956447601,
0.33819255232810974,
-0.327127605676651,
0.21129260957241058,
-0.3860209584236145,
0.011026967316865921,
-0.21881473064422607,
-0.6150373220443726,
0.012343380600214005,
-0.07518674433231354,
0.3752245604991913,
0.29066193103790283,
-0.01261291652917862,
0.24809731543064117,
-0.2687290608882904,
0.08930172026157379,
-0.22801344096660614,
-0.0762658417224884,
0.04260517656803131,
0.19721072912216187,
-0.3369089365005493,
-0.35883617401123047,
-0.22969815135002136,
0.4228841960430145,
-0.12007112801074982,
-0.07984752953052521,
0.13192768394947052,
0.004245974123477936,
0.04843032732605934,
-0.07034004479646683,
-0.052013881504535675,
-0.015209954231977463,
-0.03099108301103115,
-0.13142068684101105,
-0.3871668577194214,
0.20709405839443207,
0.06306567788124084,
-0.05841128155589104,
0.03924861177802086,
0.04520039260387421,
0.11708502471446991,
-0.041587017476558685,
-0.25161314010620117,
-0.38054266571998596,
0.2053283452987671,
0.2868167459964752,
0.11170998215675354,
-0.16305965185165405,
0.0617431104183197,
-0.00427528889849782,
-0.0746951699256897,
-0.2551044821739197,
-0.26063114404678345,
-0.24350526928901672,
0.17895600199699402,
0.2938782572746277,
0.1789971888065338,
0.10364102572202682,
-0.0899244025349617,
0.23696880042552948,
0.15614858269691467,
-0.1558201014995575,
0.06275524944067001,
-0.18048329651355743,
0.35617539286613464,
0.09603574126958847,
0.12866541743278503,
0.23577715456485748,
0.24555754661560059,
-0.33318859338760376,
0.3056527376174927,
-0.24071812629699707,
-0.1336013376712799,
-0.06389690190553665,
0.09296034276485443,
-0.2263430655002594,
-0.09900161623954773,
0.20581267774105072,
-0.46844184398651123,
-0.02643571048974991,
0.02357197180390358,
0.005621902644634247,
0.2695525884628296,
-0.012358319014310837,
0.41729819774627686,
0.48029041290283203,
-0.2586515545845032,
-0.022159874439239502,
-0.48616930842399597,
-0.30062010884284973,
-0.10054773837327957,
0.5126163959503174,
-0.10773197561502457,
0.5786399245262146,
-0.13005372881889343,
-0.07912448048591614,
-0.11394372582435608,
-0.11301743984222412,
0.7392361164093018,
-0.8992249369621277,
-0.00735820084810257,
0.1002875417470932,
0.16022592782974243,
-0.10359800606966019,
-0.24285803735256195,
-0.3741045892238617,
-0.15131396055221558,
-0.014013644307851791,
0.22612044215202332,
-0.1835448145866394,
-0.06448443233966827,
-0.007434900850057602,
-0.18931980431079865,
-0.10336433351039886,
-0.2401575893163681,
-0.17462332546710968,
-0.2960980534553528,
-0.2208646535873413,
0.09801884740591049,
0.22642026841640472,
-0.4342031180858612,
-0.3399978280067444,
0.1965639293193817,
0.04771961271762848,
0.25523456931114197,
0.17696548998355865,
0.3741254210472107,
-0.19864246249198914,
0.024583809077739716,
-0.008614912629127502,
-0.05425582826137543,
-0.06253037601709366,
0.3166317641735077,
0.39349669218063354,
0.10540585219860077,
-0.10106785595417023,
0.0037334896624088287,
-0.09736397117376328,
0.4100343883037567,
0.25562235713005066,
0.13196857273578644,
-0.15324819087982178,
-0.2014702707529068,
0.16453467309474945,
-0.19141046702861786,
-0.14398197829723358,
0.26112309098243713,
0.3270087242126465,
-0.01469010766595602,
-0.047556355595588684,
0.43017202615737915,
0.02373010665178299,
-0.17585396766662598,
0.18183694779872894,
0.16570597887039185,
-0.2990257740020752,
0.37114644050598145,
0.07614893466234207,
0.7249093651771545,
-0.07940462231636047,
0.021366912871599197,
0.053221359848976135,
-0.17701029777526855,
0.32635724544525146,
-0.18557658791542053,
-0.18694022297859192,
-0.21209658682346344,
0.25789758563041687,
-0.16682985424995422,
-0.1240781843662262,
0.5230840444564819,
0.17216211557388306,
-0.612277090549469,
0.33520445227622986,
0.19570709764957428,
-0.0830262154340744,
0.004417160525918007,
0.32208380103111267,
-0.4471389651298523,
0.10513350367546082,
-0.07174316048622131,
0.10100491344928741,
0.16693057119846344,
0.44342800974845886,
-0.1440630555152893,
0.22918479144573212,
0.2118336260318756,
-0.5727933049201965,
-0.18240247666835785,
-0.04592936486005783,
-0.2153932750225067,
-0.3773324489593506,
0.11494898796081543,
-0.05468978360295296,
0.11002829670906067,
-0.07862693071365356,
0.3796502351760864,
0.3827093839645386,
-0.05790264904499054,
0.3065876364707947,
0.3562051057815552,
0.14886917173862457,
0.05544721707701683,
-0.29963040351867676,
0.09719859808683395,
-0.07753496617078781,
-0.25870281457901,
-0.11478405445814133,
-0.06415446102619171,
-0.034047309309244156,
0.31091588735580444,
-0.16851405799388885,
-0.0922330766916275,
-0.35674118995666504,
-0.042954061180353165,
-0.18021780252456665,
-0.4756312966346741,
-0.08084605634212494,
0.15894994139671326,
-0.14079998433589935,
-0.2753281593322754,
0.19172880053520203,
0.03611788526177406,
-0.40150049328804016,
-0.07638430595397949,
-0.17982608079910278,
-0.3831673264503479,
0.2070048302412033,
0.09891758859157562,
-0.17401443421840668,
0.19886885583400726,
-0.2594977915287018,
0.15158677101135254,
-0.1443353146314621,
-0.009684085845947266,
-0.17728663980960846,
0.15320594608783722,
-0.4117457866668701,
0.22149832546710968,
-0.05640396848320961,
0.43138134479522705,
0.2465406060218811,
-0.04858475551009178,
-0.15885871648788452,
0.11407985538244247,
0.06220736727118492,
0.4136706590652466,
0.5639743804931641,
0.14444097876548767,
-0.14353497326374054,
0.02461702935397625,
-0.17319151759147644,
-0.27726590633392334,
0.03022497147321701,
-0.17499220371246338,
0.334208607673645,
-0.0702134221792221,
0.13074429333209991,
0.09259392321109772,
-0.1302804797887802,
0.11726155877113342,
-0.021889962255954742,
-0.10732050240039825,
-0.13561874628067017,
-0.07029944658279419,
0.14837956428527832,
0.21174001693725586,
-0.0637841522693634,
-0.07542452961206436,
-0.09154624491930008,
0.11755207180976868,
0.05974704772233963,
-0.07206444442272186,
0.12500980496406555,
-0.1787869781255722,
0.4531988501548767,
0.19591395556926727,
-0.4846760928630829,
-0.2888713479042053,
0.12449769675731659,
-0.15092183649539948,
0.060787878930568695,
-0.29264354705810547,
0.2640652656555176,
-0.137544184923172,
-0.05022367835044861,
0.3214118778705597,
0.09390921145677567,
-0.3403947353363037,
0.28845053911209106,
-0.03450004756450653,
0.01009463518857956,
-0.03308942914009094,
-0.5257991552352905,
0.28077933192253113,
0.4810430109500885,
-0.3988943099975586,
-0.30095717310905457,
0.2405160665512085,
0.1905718594789505,
-0.12141335755586624,
-0.09280280768871307,
-0.44316309690475464,
0.18574051558971405,
0.24342107772827148,
0.22288167476654053,
0.23661759495735168,
-0.30657869577407837,
0.41124480962753296,
-0.01862764172255993,
0.21653398871421814,
-0.30601727962493896,
-0.06297093629837036,
0.171689972281456,
-0.41802674531936646,
0.12988728284835815,
0.1692027896642685,
-0.16958120465278625,
0.06063954532146454,
-0.26553457975387573,
0.31238943338394165,
0.2400323748588562,
-0.04708395153284073,
0.3158488869667053,
-0.13624730706214905,
0.15085570514202118,
0.25060683488845825,
-0.014128223061561584,
-0.15972208976745605,
0.3907029330730438,
0.4272010028362274,
-0.0176645889878273,
-0.19011403620243073,
0.21663162112236023,
-0.35054638981819153,
-0.4612661302089691,
0.1204962357878685,
-0.31451210379600525,
-0.7543289065361023,
0.12220174819231033,
0.11713996529579163,
-0.055107057094573975,
0.07480268180370331,
0.18414518237113953,
0.2694620192050934,
0.41281479597091675,
-0.06484834849834442,
0.14079402387142181,
0.2833738625049591,
-0.018874693661928177,
0.192449152469635,
-0.287550151348114,
0.31888073682785034,
0.23788213729858398,
-0.10350397229194641,
0.4274996817111969,
0.47352510690689087,
0.6582887172698975,
-0.13132251799106598,
0.1455836296081543,
0.021306727081537247,
-0.010925168171525002,
-0.004187604412436485,
-0.020812466740608215,
0.29829850792884827,
-0.04118923842906952,
-0.13500452041625977,
0.25425052642822266,
0.23588845133781433,
0.011016716249287128,
0.24594426155090332,
-0.24638687074184418,
-0.41950929164886475,
-0.03575761616230011,
0.1568445861339569,
0.24498510360717773,
0.05282340198755264,
-0.2460346221923828,
0.31538984179496765,
-0.3161660134792328,
0.06432656198740005,
0.6141371726989746,
-0.03816400468349457,
0.1315268576145172,
-0.05670388787984848,
0.044315874576568604,
0.013342172838747501,
0.5340055227279663,
0.2702672481536865,
-0.12197621911764145,
-0.1508977711200714,
-0.025671616196632385,
-0.3211562931537628,
0.20738348364830017,
-0.2080550193786621,
-0.019143693149089813,
0.16400697827339172,
-0.09182287752628326,
0.1974409818649292,
-0.02019515261054039,
0.07338659465312958,
-0.18033607304096222,
-0.4270998239517212,
0.17052596807479858,
-0.39187994599342346,
-0.01085292175412178,
0.08333691209554672,
0.1318156123161316,
0.13856063783168793,
-0.4591786861419678,
0.1978713721036911,
0.04571446776390076,
-0.09080950915813446,
-0.08559343963861465,
0.2842562794685364,
0.5265843272209167,
0.2666866183280945,
0.23191381990909576,
0.0366862416267395,
0.4768504798412323,
-0.18088829517364502,
0.1700814664363861,
-0.16120216250419617,
-0.29586613178253174,
-0.2431146204471588,
0.41773492097854614,
-0.1041516661643982,
-0.13215260207653046,
-0.033601343631744385,
0.021020956337451935,
-0.08973944187164307,
-0.03578665480017662,
-0.2694026529788971,
0.15353846549987793,
0.0586102157831192,
-0.06970075517892838,
-0.25756922364234924,
0.09919371455907822,
-0.04515960067510605,
0.3088630139827728,
0.04345424473285675,
-0.007549808360636234,
-0.2707352042198181,
-0.30665913224220276,
0.7644824385643005,
0.04511161148548126,
-0.18064026534557343,
-0.008254410699009895,
0.32065072655677795,
-0.05844064801931381,
0.1374036818742752,
-0.38679829239845276,
0.015038281679153442,
0.19060654938220978,
0.0503375418484211,
-0.2408195436000824,
0.15615563094615936,
0.2014615535736084,
-0.04528728500008583,
-0.11583182215690613,
0.419873982667923,
-0.0426316112279892,
-0.146124005317688,
-0.20290403068065643,
-0.21415433287620544
] |
https://github.com/huggingface/datasets/pull/194 | Add Dataset: Qanta | @lhoestq - the config name is rather special here: *E.g.* `mode=first,char_skip=25`. It includes `=` and `,` - will that be a problem for windows folders, you think?
Apart from that good to merge for me. | Fixes dummy data for #169 @EntilZha | 35 | text: Add Dataset: Qanta
Fixes dummy data for #169 @EntilZha
@lhoestq - the config name is rather special here: *E.g.* `mode=first,char_skip=25`. It includes `=` and `,` - will that be a problem for windows folders, you think?
Apart from that good to merge for me. | [
-0.2527712285518646,
-0.09335551410913467,
-0.044499583542346954,
-0.060146674513816833,
0.21652019023895264,
0.2904934883117676,
0.20114606618881226,
0.27982792258262634,
-0.47574377059936523,
0.18140965700149536,
-0.38306131958961487,
-0.253342866897583,
-0.06696327775716782,
0.458398699760437,
-0.04144853353500366,
0.031602486968040466,
0.16383938491344452,
0.24564073979854584,
-0.07777397334575653,
0.0165083184838295,
-0.3961523473262787,
0.38675007224082947,
-0.17147547006607056,
-0.09311410784721375,
-0.3575907051563263,
0.19142432510852814,
-0.17888468503952026,
0.39087197184562683,
-0.3224598169326782,
0.09898967295885086,
-0.13636916875839233,
0.23230589926242828,
-0.10937722027301788,
0.28380900621414185,
-0.00010913077858276665,
-0.022284958511590958,
0.22575534880161285,
-0.2152123749256134,
-0.22739717364311218,
0.40149807929992676,
-0.31990599632263184,
0.02338736690580845,
-0.3918960690498352,
0.07754149287939072,
0.11052244156599045,
0.018623553216457367,
-0.16267447173595428,
-0.16600103676319122,
0.06068076565861702,
0.31184765696525574,
0.23587529361248016,
-0.042485035955905914,
-0.2560393810272217,
-0.1032034382224083,
0.047648075968027115,
0.0950772687792778,
-0.024127036333084106,
0.21553246676921844,
0.07702130824327469,
0.10853144526481628,
0.4334008991718292,
0.307380735874176,
0.07466490566730499,
-0.4093194305896759,
0.10550850629806519,
0.07315141707658768,
0.13418111205101013,
-0.2375672161579132,
0.15132230520248413,
0.10462454706430435,
0.42045140266418457,
-0.20508062839508057,
0.020029060542583466,
0.11276567727327347,
0.12064122408628464,
-0.5840097665786743,
0.23893266916275024,
0.11394695937633514,
-0.15255168080329895,
0.19905336201190948,
0.06133347749710083,
-0.4003628194332123,
-0.18048301339149475,
-0.27117133140563965,
-0.08636204153299332,
0.27231156826019287,
0.0968124121427536,
-0.027801893651485443,
-0.06641115248203278,
0.009298084303736687,
0.03318333625793457,
-0.2746887803077698,
-0.3905402719974518,
-0.13227887451648712,
0.12450216710567474,
-0.053853221237659454,
-0.22954300045967102,
0.18234024941921234,
0.051398731768131256,
0.07828506827354431,
0.013301827944815159,
0.04532812535762787,
0.11210650205612183,
0.05531710013747215,
-0.13035576045513153,
0.36754417419433594,
0.24139419198036194,
-0.02082839421927929,
0.030806196853518486,
-0.13458813726902008,
0.3097403049468994,
-0.009351111948490143,
0.1406114399433136,
-0.37188002467155457,
-0.15306663513183594,
0.06453770399093628,
0.1638881266117096,
0.06754957139492035,
-0.3192259669303894,
-0.13177740573883057,
0.3962506949901581,
-0.2670513391494751,
-0.09423559904098511,
0.39658474922180176,
0.04380551725625992,
-0.12829896807670593,
-0.06649967283010483,
0.142128124833107,
-0.09303002059459686,
-0.07332523167133331,
0.000021062325686216354,
-0.09136246144771576,
-0.013481155037879944,
-0.031061189249157906,
-0.15224622189998627,
-0.13456372916698456,
-0.26152366399765015,
0.12247558683156967,
0.3452099561691284,
0.38569143414497375,
-0.05405169725418091,
-0.004581109154969454,
0.2239646017551422,
0.27519017457962036,
-0.02157575450837612,
0.0761905238032341,
-0.1319463700056076,
-0.10019940882921219,
-0.11688202619552612,
0.28488120436668396,
-0.16685926914215088,
-0.24256257712841034,
-0.4967741370201111,
0.26878467202186584,
0.056305885314941406,
-0.08540184795856476,
0.11617933213710785,
0.38886481523513794,
-0.1951829195022583,
-0.2641547918319702,
0.07352215051651001,
0.2921890616416931,
0.1525285243988037,
-0.2947483956813812,
-0.006002782844007015,
0.20359088480472565,
-0.7079649567604065,
-0.05476092919707298,
-0.058589156717061996,
-0.28613802790641785,
0.3141894042491913,
0.2220911979675293,
-0.05378531664609909,
-0.06341562420129776,
-0.39944061636924744,
0.04882323741912842,
0.4492703676223755,
-0.11405971646308899,
-0.08377736061811447,
-0.03745448589324951,
-0.195572629570961,
-0.14996090531349182,
0.2424643337726593,
0.12349506467580795,
0.2356693595647812,
0.0014858241192996502,
0.29699426889419556,
0.21788744628429413,
-0.07078772038221359,
-0.16748033463954926,
-0.336174339056015,
-0.2741963863372803,
0.03234155476093292,
-0.017996663227677345,
-0.08144731819629669,
-0.03776925057172775,
-0.03573397547006607,
-0.49752697348594666,
0.23963147401809692,
-0.15635205805301666,
0.1611023247241974,
0.04128967970609665,
0.505317211151123,
-0.005894780158996582,
0.2457006424665451,
0.4018123149871826,
-0.27118387818336487,
-0.15407270193099976,
0.14267590641975403,
0.22485798597335815,
0.09738773852586746,
-0.22570057213306427,
-0.2511838972568512,
-0.18245097994804382,
-0.2896939218044281,
-0.2666364014148712,
0.13855686783790588,
0.2734300196170807,
-0.14207229018211365,
-0.23347964882850647,
-0.22060030698776245,
0.1438991278409958,
0.339224249124527,
0.12067290395498276,
0.07597910612821579,
0.14874275028705597,
-0.43420201539993286,
0.23648910224437714,
-0.2215798944234848,
-0.05034895986318588,
-0.1294594407081604,
-0.07518438249826431,
0.05703943222761154,
0.46093255281448364,
-0.13458457589149475,
0.2166869342327118,
0.23820224404335022,
-0.10371576249599457,
0.3368106484413147,
-0.19591712951660156,
0.18650956451892853,
0.3706900477409363,
0.13015437126159668,
-0.07712723314762115,
-0.3716031014919281,
0.21543852984905243,
-0.23836179077625275,
-0.062428079545497894,
-0.169045090675354,
0.0020281709730625153,
0.04674358665943146,
0.20859524607658386,
-0.04488079622387886,
-0.14417582750320435,
0.2152617871761322,
0.440544992685318,
0.09696315228939056,
0.07048778235912323,
-0.09245871752500534,
0.11739444732666016,
0.2519071102142334,
-0.16658997535705566,
-0.14236968755722046,
0.23452606797218323,
-0.1104230210185051,
-0.026137547567486763,
-0.09435659646987915,
0.10455100238323212,
0.5531741976737976,
0.3129182755947113,
0.01762787625193596,
0.12937943637371063,
0.07530239969491959,
-0.2547396719455719,
0.5315929651260376,
0.09038878232240677,
-0.26197826862335205,
0.43179792165756226,
-0.0612700879573822,
0.056562840938568115,
-0.3239850699901581,
-0.163119837641716,
0.20249997079372406,
0.032832030206918716,
-0.2159574031829834,
-0.09457699209451675,
0.2837812304496765,
-0.17051482200622559,
-0.2021796554327011,
-0.30590030550956726,
-0.3826296329498291,
-0.36449846625328064,
0.3319544792175293,
-0.39272549748420715,
-0.08632950484752655,
0.2522425949573517,
0.06389632821083069,
0.5045166611671448,
0.13318517804145813,
-0.485947847366333,
-0.21372051537036896,
0.25819820165634155,
0.0005710721015930176,
0.2052074819803238,
0.1622571349143982,
-0.21840669214725494,
0.35091978311538696,
-0.49104174971580505,
0.2197207659482956,
0.012361900880932808,
-0.47000524401664734,
0.15003257989883423,
-0.2059679478406906,
0.473367840051651,
0.13821114599704742,
0.09679455310106277,
0.028945952653884888,
-0.44164296984672546,
0.17477518320083618,
0.20605191588401794,
-0.18070538341999054,
-0.23587054014205933,
-0.09190285205841064,
0.10364235937595367,
-0.21380388736724854,
-0.336376816034317,
0.011869010515511036,
-0.19937999546527863,
0.015719860792160034,
-0.13071827590465546,
0.021765436977148056,
0.1695743203163147,
0.05944922938942909,
-0.07546035945415497,
-0.09111441671848297,
-0.24999213218688965,
-0.39234644174575806,
-0.10318697988986969,
0.40188416838645935,
-0.2289777547121048,
-0.13963668048381805,
0.054294269531965256,
-0.07096380740404129,
0.03819777071475983,
-0.2674633860588074,
-0.182231605052948,
-0.13103222846984863,
-0.11837892234325409,
0.2043081670999527,
-0.12559746205806732,
0.11785835027694702,
0.28604644536972046,
0.14480915665626526,
-0.167923241853714,
-0.09715946018695831,
-0.3620325028896332,
-0.08331669121980667,
0.16224336624145508,
0.34563541412353516,
-0.17737612128257751,
0.06568707525730133,
-0.31447941064834595,
0.5042694211006165,
0.12334102392196655,
0.6251720190048218,
0.19125604629516602,
-0.05043772608041763,
0.6315393447875977,
-0.16535213589668274,
-0.2444566786289215,
0.2228166162967682,
0.03172328323125839,
-0.13615556061267853,
0.2999246120452881,
0.14560717344284058,
0.16565118730068207,
-0.0806039571762085,
-0.25783681869506836,
-0.2571721076965332,
-0.18979376554489136,
0.2807741165161133,
0.11341377347707748,
0.00014406442642211914,
-0.028241882100701332,
-0.3613412380218506,
-0.0191268939524889,
-0.0029524127021431923,
0.10704447329044342,
0.7328195571899414,
-0.2073613405227661,
-0.04443027079105377,
-0.5417316555976868,
-0.1626838892698288,
-0.20462217926979065,
0.16627158224582672,
0.10261613875627518,
0.1114896610379219,
-0.17624759674072266,
-0.2096828818321228,
-0.027800224721431732,
-0.00136096915230155,
0.7218502163887024,
-0.14183443784713745,
-0.45897573232650757,
0.224431112408638,
0.5883784294128418,
-0.13811343908309937,
-0.08748909831047058,
-0.2179459035396576,
-0.26179054379463196,
0.14874623715877533,
0.32182398438453674,
-0.07287327945232391,
0.0669345110654831,
0.15077906847000122,
0.127054825425148,
-0.24629053473472595,
-0.14540725946426392,
-0.38559791445732117,
-0.27907583117485046,
-0.4547787308692932,
-0.0439828559756279,
0.03417167812585831,
0.2444101721048355,
-0.4418179988861084,
0.1511775255203247,
0.3054327070713043,
-0.37618350982666016,
0.5172580480575562,
0.0452982559800148,
0.315144807100296,
0.06260871142148972,
0.03144436702132225,
-0.021901343017816544,
-0.07548597455024719,
0.11702023446559906,
0.5003030300140381,
0.07729943096637726,
0.03935223072767258,
0.024768725037574768,
-0.2875193953514099,
0.5673348307609558,
0.3292214870452881,
-0.15292349457740784,
-0.011055715382099152,
-0.47091421484947205,
0.025824952870607376,
-0.13056185841560364,
-0.06656619906425476,
0.15989097952842712,
0.12710268795490265,
-0.5428999066352844,
0.21197503805160522,
0.11028911918401718,
0.06623326241970062,
-0.16836747527122498,
0.23616653680801392,
0.5158805251121521,
-0.2420559972524643,
0.16865095496177673,
-0.07685176283121109,
1.1221963167190552,
0.1403750777244568,
0.7203083038330078,
0.1261393129825592,
-0.365776002407074,
-0.014493384398519993,
0.11447781324386597,
0.16292494535446167,
-0.18838781118392944,
0.012468195520341396,
-0.09083215892314911,
-0.051354773342609406,
0.24102774262428284,
-0.181116983294487,
-0.7987451553344727,
0.08389901369810104,
-0.38092315196990967,
0.1364004760980606,
-0.021045712754130363,
-0.07997272908687592,
-0.5932065844535828,
-0.10504944622516632,
0.08493345975875854,
0.07595755904912949,
0.27429264783859253,
-0.04370595142245293,
-0.21679764986038208,
-0.30073899030685425,
-0.012306682765483856,
-0.15311291813850403,
-0.037417810410261154,
-0.22855037450790405,
-0.35153257846832275,
-0.28025805950164795,
-0.0923444926738739,
-0.13830286264419556,
-0.1790178120136261,
-0.10104872286319733,
0.12108577787876129,
0.1082107424736023,
-0.16658206284046173,
0.19829322397708893,
-0.006669290363788605,
0.20267541706562042,
-0.11116676777601242,
-0.4476870000362396,
-0.008305927738547325,
-0.10339855402708054,
-0.17110028862953186,
0.1340474784374237,
-0.043698716908693314,
-0.10061515867710114,
-0.23778459429740906,
0.10108359903097153,
0.1498641073703766,
-0.15591199696063995,
-0.056516021490097046,
0.03200738504528999,
-0.12993933260440826,
-0.24621450901031494,
0.13233748078346252,
-0.07074953615665436,
-0.17158730328083038,
0.39480289816856384,
-0.04899006709456444,
-0.2879728376865387,
-0.1978173553943634,
-0.016670458018779755,
0.09948234260082245,
-0.18034958839416504,
0.502713680267334,
-0.2465774416923523,
-0.1236947551369667,
-0.24609747529029846,
0.4982897639274597,
-0.061846815049648285,
-0.04624953866004944,
-0.02942560613155365,
0.043493885546922684,
-0.12699531018733978,
0.06469358503818512,
0.3061406910419464,
0.23350511491298676,
0.20636865496635437,
-0.15682905912399292,
-0.1719912439584732,
-0.24236848950386047,
0.049778882414102554,
-0.08761519193649292,
0.37741485238075256,
-0.09106692671775818,
0.14450553059577942,
0.44528818130493164,
0.06318029761314392,
-0.3894881308078766,
0.05217321962118149,
0.112138532102108,
0.060954444110393524,
0.08202025294303894,
0.09063288569450378,
0.26490268111228943,
0.046391427516937256,
0.09695619344711304,
-0.0720377191901207,
-0.14703470468521118,
-0.16795027256011963,
-0.05793891102075577,
0.12436434626579285,
-0.31044280529022217,
-0.21771258115768433,
0.2374085783958435,
-0.06544430553913116,
-0.16550514101982117,
0.35157081484794617,
0.037063468247652054,
-0.07959681749343872,
-0.0883394181728363,
0.16679050028324127,
0.3035522699356079,
-0.41434648633003235,
-0.09996629506349564,
0.12804096937179565,
0.3076971471309662,
0.4886244535446167,
-0.10790786892175674,
0.11984624713659286,
-0.5234865546226501,
-0.16010737419128418,
0.3411702513694763,
0.3361756205558777,
0.15246015787124634,
0.32272157073020935,
-0.10205291956663132,
-0.07132181525230408,
0.10266271233558655,
-0.20219312608242035,
0.3885504901409149,
0.3358720541000366,
-0.3058854043483734,
-0.11487472802400589,
0.09957224130630493,
0.21611960232257843,
-0.28052154183387756,
-0.46547257900238037,
-0.2802007496356964,
-0.16261433064937592,
0.07796238362789154,
0.1761527955532074,
0.2597943842411041,
-0.1715790331363678,
0.20737400650978088,
0.17562079429626465,
-0.12018188089132309,
-0.02488243207335472,
-0.044472385197877884,
0.45012661814689636,
-0.23123405873775482,
0.21695707738399506,
0.47940823435783386,
0.09424552321434021,
-0.008892141282558441,
0.5104901194572449,
-0.08874032646417618,
0.2127440869808197,
0.3038296103477478,
0.039446018636226654,
0.16408589482307434,
-0.3175728917121887,
0.30763810873031616,
-0.0807129293680191,
-0.22596827149391174,
0.1860252469778061,
0.4701114892959595,
0.04181254655122757,
-0.11318393051624298,
-0.15924407541751862,
-0.007971731945872307,
-0.039214421063661575,
-0.11443493515253067,
-0.166351318359375,
0.2817820906639099,
-0.19679677486419678,
-0.2126063108444214,
0.005539488047361374,
0.11089566349983215,
-0.07053424417972565,
0.40154507756233215,
0.0894012451171875,
0.16032475233078003,
0.10168740898370743,
0.13092324137687683,
0.21625199913978577,
0.028152406215667725,
-0.24979077279567719,
0.23795470595359802,
0.2824285328388214,
0.10409192740917206,
0.6063757538795471,
0.4249984622001648,
0.45971572399139404,
0.14124128222465515,
0.001490255817770958,
0.11908157914876938,
-0.23749534785747528,
-0.010082527995109558,
-0.11695733666419983,
0.17759190499782562,
0.3305842876434326,
-0.26157069206237793,
0.3046223819255829,
0.23224006593227386,
-0.17332038283348083,
0.06517503410577774,
0.09654205292463303,
-0.29423534870147705,
-0.20541298389434814,
0.06807481497526169,
-0.0743393823504448,
0.0025346651673316956,
-0.4337383210659027,
-0.07139378041028976,
-0.43411561846733093,
-0.040689002722501755,
0.7439939379692078,
-0.15514373779296875,
0.029217500239610672,
-0.14369459450244904,
0.09887109696865082,
0.30366501212120056,
0.3809078335762024,
0.1931113600730896,
-0.063695028424263,
-0.2963067889213562,
-0.15056151151657104,
-0.43405070900917053,
-0.2431505024433136,
0.311735600233078,
0.34760478138923645,
-0.11523457616567612,
0.14610692858695984,
0.0410190187394619,
0.18402154743671417,
0.29918938875198364,
0.26343294978141785,
-0.17838764190673828,
-0.08385521173477173,
-0.38520514965057373,
0.16707195341587067,
0.3577519655227661,
0.27819234132766724,
-0.058692704886198044,
-0.41181710362434387,
0.5562468767166138,
-0.030835527926683426,
0.149550199508667,
-0.040372252464294434,
-0.20975300669670105,
0.23921886086463928,
0.28997331857681274,
0.07986574620008469,
0.16809207201004028,
0.1757974624633789,
-0.3198350965976715,
0.07608459889888763,
0.04436296224594116,
0.031144479289650917,
-0.21179667115211487,
0.044550247490406036,
0.4492851495742798,
-0.013853815384209156,
-0.2995259463787079,
-0.1440366953611374,
0.0801079273223877,
0.1939583420753479,
0.14363901317119598,
0.05704428628087044,
-0.4139788746833801,
0.3258797824382782,
0.09439130872488022,
0.11235377192497253,
-0.21017321944236755,
0.5295278429985046,
0.054901935160160065,
0.08781325817108154,
-0.31392180919647217,
-0.4649933874607086,
0.38433074951171875,
0.379866361618042,
-0.45661985874176025,
-0.14354030787944794,
0.1188608855009079,
0.24004623293876648,
0.3262280225753784,
-0.5308884978294373,
0.09737200289964676,
0.30351611971855164,
-0.04589260369539261,
-0.20769643783569336,
0.3403317928314209,
0.06284405291080475,
-0.04031476378440857,
-0.20349401235580444,
0.19042153656482697,
0.2024541199207306,
-0.14739520847797394,
-0.04199908301234245,
-0.1847047507762909
] |
https://github.com/huggingface/datasets/pull/194 | Add Dataset: Qanta | It's ok to have `=` and `,`.
Windows doesn't like things like `?`, `:`, `/` etc.
I'll add some lines to raise an error if the config name is invalid. | Fixes dummy data for #169 @EntilZha | 30 | text: Add Dataset: Qanta
Fixes dummy data for #169 @EntilZha
It's ok to have `=` and `,`.
Windows doesn't like things like `?`, `:`, `/` etc.
I'll add some lines to raise an error if the config name is invalid. | [
-0.16372540593147278,
-0.17328482866287231,
-0.12648162245750427,
-0.21973522007465363,
0.15252868831157684,
0.10067003220319748,
0.4091596007347107,
-0.009999852627515793,
-0.23613327741622925,
0.07538236677646637,
0.05357743054628372,
-0.1768847554922104,
0.08894672989845276,
0.3975924849510193,
0.08533409237861633,
-0.015562504529953003,
-0.03498174995183945,
0.31349462270736694,
-0.014673449099063873,
0.07934974133968353,
-0.4165751338005066,
0.2389127016067505,
0.005991987884044647,
0.09449569880962372,
-0.37901949882507324,
-0.09236852824687958,
-0.04103420674800873,
0.22119846940040588,
-0.12745246291160583,
-0.1759483814239502,
-0.10580054670572281,
0.43196189403533936,
-0.1502317190170288,
0.04130793362855911,
-0.00010522688535274938,
0.016114667057991028,
0.15325993299484253,
-0.18715903162956238,
-0.27394169569015503,
0.3878602385520935,
-0.3972126841545105,
0.13411881029605865,
-0.15606679022312164,
-0.14434844255447388,
-0.06841820478439331,
-0.05002199485898018,
-0.00776941142976284,
0.04153133183717728,
0.2947912812232971,
0.4062677025794983,
0.2717357277870178,
0.051824092864990234,
-0.02474621683359146,
-0.305189847946167,
0.04216908663511276,
0.004073597490787506,
-0.003267645835876465,
0.1285538673400879,
0.05184163525700569,
0.10561209172010422,
0.42492470145225525,
0.26260310411453247,
0.05909622460603714,
-0.20052862167358398,
0.06289927661418915,
0.09900607168674469,
0.130327045917511,
-0.10540890693664551,
0.27965766191482544,
0.23655763268470764,
0.4977307915687561,
-0.3678615391254425,
-0.19507303833961487,
0.1527726948261261,
0.13714924454689026,
-0.4121643304824829,
0.16178104281425476,
0.025705408304929733,
-0.19089068472385406,
0.15807153284549713,
0.07311265915632248,
-0.4094351828098297,
-0.0686388909816742,
-0.12642918527126312,
-0.23178112506866455,
0.12633274495601654,
0.10725389420986176,
0.06783544272184372,
-0.3085985779762268,
0.024928953498601913,
-0.14253295958042145,
-0.05043533444404602,
-0.32767391204833984,
-0.21066351234912872,
0.08267810195684433,
0.0032780542969703674,
-0.16565358638763428,
-0.01504167914390564,
-0.02989841252565384,
-0.10470779240131378,
0.19384822249412537,
0.1551181674003601,
0.24413621425628662,
0.12994322180747986,
-0.1867135614156723,
0.12124909460544586,
0.38194528222084045,
-0.013363553211092949,
0.055737677961587906,
-0.0843803733587265,
0.2821463942527771,
-0.15318647027015686,
0.15785568952560425,
-0.31668660044670105,
0.022320829331874847,
0.21236619353294373,
0.31081944704055786,
0.15190288424491882,
-0.42891010642051697,
0.12264568358659744,
0.4257395565509796,
-0.1443173587322235,
-0.031592149287462234,
0.5360645055770874,
-0.09600269049406052,
-0.417205810546875,
0.12187793850898743,
0.24027961492538452,
0.039465710520744324,
-0.2559080421924591,
-0.1174166277050972,
0.04112090542912483,
-0.09327702969312668,
-0.011529216542840004,
-0.06143316254019737,
0.10983516275882721,
0.10911979526281357,
0.109995998442173,
-0.05451658368110657,
0.08610264956951141,
0.10168875008821487,
-0.10662457346916199,
0.10350146889686584,
0.2737146019935608,
0.06745016574859619,
0.028449254110455513,
0.0014493651688098907,
-0.16281424462795258,
-0.07016952335834503,
0.44524484872817993,
-0.020307645201683044,
-0.09803786873817444,
-0.4147471487522125,
0.3491993844509125,
-0.005064811557531357,
-0.2660391330718994,
0.2439981997013092,
0.3807382583618164,
-0.1511920988559723,
-0.14034749567508698,
0.17971031367778778,
0.13982543349266052,
0.18182194232940674,
-0.2295350283384323,
0.1515866070985794,
0.36468952894210815,
-0.7275292873382568,
-0.09854839742183685,
0.006063962820917368,
-0.3594997525215149,
0.12063202261924744,
-0.009047161787748337,
-0.0358843058347702,
0.31412583589553833,
-0.20619158446788788,
0.09957829117774963,
0.4844973683357239,
-0.023188581690192223,
0.008995447307825089,
-0.16805268824100494,
-0.16588206589221954,
-0.380652517080307,
0.1578764021396637,
0.20525123178958893,
0.23770958185195923,
0.06786901503801346,
0.3521662652492523,
-0.037131842225790024,
0.002149352803826332,
-0.10915403068065643,
-0.21324576437473297,
-0.18287186324596405,
-0.1315845549106598,
0.06558157503604889,
0.0936366394162178,
-0.022394418716430664,
0.04754262790083885,
-0.25631850957870483,
0.11717288196086884,
0.03166995197534561,
0.05569867044687271,
0.11799699068069458,
0.37230345606803894,
0.12647099792957306,
-0.02281714230775833,
0.24419903755187988,
-0.3487812578678131,
-0.13553860783576965,
0.05973118543624878,
0.18041503429412842,
0.2771138548851013,
-0.08939507603645325,
-0.4240570664405823,
0.029751786962151527,
-0.20817722380161285,
-0.25154808163642883,
0.25480717420578003,
0.33102571964263916,
-0.1594497263431549,
-0.20821917057037354,
-0.22490380704402924,
0.1639455109834671,
0.22463847696781158,
0.1520649939775467,
0.11410021781921387,
0.024824505671858788,
-0.286022424697876,
0.042642686516046524,
-0.08716931939125061,
0.016602419316768646,
0.03495797887444496,
0.0956171527504921,
0.1353495717048645,
0.3980109691619873,
-0.019090168178081512,
-0.013645954430103302,
0.11243967711925507,
-0.08843721449375153,
0.1772589385509491,
-0.265987753868103,
0.045091792941093445,
0.4047767221927643,
0.12869374454021454,
-0.09546898305416107,
-0.386396199464798,
0.15466350317001343,
-0.221171572804451,
-0.2360081672668457,
-0.2809678018093109,
0.040308497846126556,
0.1505803018808365,
-0.05128609389066696,
-0.12124822288751602,
-0.2978358268737793,
0.01208411157131195,
0.384808748960495,
0.089211106300354,
-0.07798890769481659,
-0.2343209832906723,
0.03697682172060013,
0.2018154263496399,
0.0001248735934495926,
0.1796308308839798,
0.03740846738219261,
-0.2586623430252075,
0.2755928039550781,
0.06437397748231888,
0.13381800055503845,
0.34327247738838196,
0.3655618727207184,
-0.21043872833251953,
0.22776076197624207,
-0.16613519191741943,
-0.2790791988372803,
0.44818732142448425,
0.0069238245487213135,
-0.37521234154701233,
0.22736763954162598,
-0.12880752980709076,
-0.10639772564172745,
-0.17145588994026184,
-0.2112542688846588,
0.13482630252838135,
-0.009006207808852196,
-0.4525107741355896,
-0.1812162697315216,
0.16419121623039246,
0.04072585701942444,
-0.2207450419664383,
-0.3961525857448578,
-0.28550106287002563,
-0.33745482563972473,
0.3052785396575928,
-0.28446337580680847,
-0.19727908074855804,
0.19996288418769836,
-0.17455321550369263,
0.19694042205810547,
0.09815502166748047,
-0.5604015588760376,
0.025178201496601105,
0.0875411108136177,
-0.011969029903411865,
0.25986242294311523,
-0.10094517469406128,
0.07280908524990082,
0.6024340391159058,
-0.5506188273429871,
0.14312481880187988,
-0.0815330296754837,
-0.27940839529037476,
0.14648087322711945,
-0.15103787183761597,
0.606943666934967,
0.234772190451622,
0.3838488459587097,
-0.21263329684734344,
-0.35349902510643005,
0.3395023047924042,
0.3490292727947235,
-0.05150686204433441,
-0.2668527662754059,
0.12679095566272736,
-0.059653185307979584,
-0.18593384325504303,
-0.3944810926914215,
0.04226936399936676,
-0.08926623314619064,
-0.03463146835565567,
-0.20109181106090546,
0.15913201868534088,
0.26630690693855286,
0.15495891869068146,
-0.02301180735230446,
0.06363802403211594,
-0.22114907205104828,
-0.37156423926353455,
-0.08049320429563522,
0.38804101943969727,
-0.17366410791873932,
-0.14654947817325592,
0.255106121301651,
-0.227789968252182,
0.01798628270626068,
-0.08579212427139282,
-0.15953901410102844,
-0.2768222689628601,
0.00545446015894413,
0.19130836427211761,
0.03040963225066662,
0.14517521858215332,
0.3131619095802307,
0.14814430475234985,
-0.23435409367084503,
-0.16572117805480957,
-0.5977411270141602,
0.27047502994537354,
0.14220017194747925,
0.3745933771133423,
-0.012147068977355957,
0.13603395223617554,
-0.5308960676193237,
0.3434516191482544,
0.08664059638977051,
0.229644775390625,
0.3207858204841614,
-0.34310391545295715,
0.5029124021530151,
0.10284476727247238,
-0.18058650195598602,
0.10033802688121796,
0.12463917583227158,
-0.07309484481811523,
0.22901323437690735,
-0.16420042514801025,
0.27582523226737976,
-0.10350093245506287,
0.007943179458379745,
-0.4778045415878296,
-0.23537258803844452,
0.34259071946144104,
-0.06964921206235886,
0.12352953851222992,
-0.020042750984430313,
-0.054158445447683334,
-0.005640481598675251,
0.05012679100036621,
0.051931507885456085,
0.5405911803245544,
-0.20910713076591492,
-0.09678921103477478,
-0.4951079487800598,
-0.1797192543745041,
-0.3321446180343628,
0.18122953176498413,
-0.15125007927417755,
0.2964248061180115,
-0.2948181927204132,
0.08204368501901627,
0.06283265352249146,
-0.0030986908823251724,
0.6460101008415222,
-0.340593546628952,
-0.35398948192596436,
0.15487463772296906,
0.40084969997406006,
-0.1699780821800232,
-0.07431049644947052,
-0.3150346875190735,
-0.10037598758935928,
0.006790367886424065,
0.021368451416492462,
-0.18850630521774292,
0.2581981122493744,
0.12430407851934433,
0.05235080420970917,
-0.4280126094818115,
-0.16394302248954773,
-0.4124177098274231,
-0.33185186982154846,
-0.35866397619247437,
0.15869101881980896,
0.06547075510025024,
0.06378981471061707,
0.016303785145282745,
0.09503249824047089,
0.1073797345161438,
-0.13444948196411133,
0.387432336807251,
0.22567152976989746,
0.3334012031555176,
0.0588734969496727,
0.012197718024253845,
0.09980012476444244,
-0.03757230192422867,
-0.010183895006775856,
0.30596354603767395,
0.10491763055324554,
0.008399531245231628,
-0.06098024547100067,
-0.42039424180984497,
0.4175857901573181,
0.21774093806743622,
0.07908971607685089,
0.06437641382217407,
-0.2283846139907837,
0.1698005199432373,
-0.11341618001461029,
0.1385086327791214,
0.11376361548900604,
0.01688772439956665,
-0.3187679946422577,
-0.09338933974504471,
0.04291681945323944,
-0.24077607691287994,
-0.0921163409948349,
0.055458176881074905,
0.5616147518157959,
-0.41502875089645386,
0.16028624773025513,
0.32746586203575134,
0.9198232293128967,
0.009899500757455826,
0.2412901073694229,
0.1474321484565735,
-0.37045639753341675,
0.17474661767482758,
0.10029695928096771,
0.1607772707939148,
-0.36952802538871765,
0.14233675599098206,
-0.05892384052276611,
-0.036495909094810486,
0.2606109380722046,
-0.0783306360244751,
-0.9142447710037231,
0.18040822446346283,
-0.21709933876991272,
0.18777558207511902,
0.03859870880842209,
-0.047475479543209076,
-0.3442593812942505,
-0.03774984925985336,
0.03511396795511246,
0.18303370475769043,
0.04298901557922363,
0.018006106838583946,
-0.2430451214313507,
-0.10174489766359329,
-0.055762879550457,
-0.27576518058776855,
-0.24826601147651672,
-0.32325050234794617,
-0.601428210735321,
-0.3956889510154724,
0.030357040464878082,
0.015620626509189606,
-0.25203070044517517,
-0.04534480348229408,
0.4230017066001892,
0.2354026883840561,
-0.06413309276103973,
0.17797468602657318,
-0.05093280225992203,
0.012218468822538853,
-0.32177501916885376,
-0.18491090834140778,
-0.015833353623747826,
-0.08472016453742981,
-0.5427154898643494,
0.20876199007034302,
-0.13836267590522766,
-0.03367680311203003,
-0.19820520281791687,
0.021041370928287506,
-0.060163065791130066,
-0.18830572068691254,
0.11191464960575104,
-0.07605375349521637,
-0.01377059705555439,
-0.23690807819366455,
0.20693182945251465,
0.004901491105556488,
-0.03439857438206673,
0.3735819160938263,
0.12770134210586548,
-0.20684033632278442,
-0.19997943937778473,
-0.026382118463516235,
-0.18644481897354126,
-0.06133211776614189,
0.645323634147644,
-0.25677257776260376,
-0.08424991369247437,
-0.354941189289093,
0.16876551508903503,
0.0408342219889164,
0.018680095672607422,
-0.17405632138252258,
-0.005197535268962383,
-0.20178870856761932,
-0.031389448791742325,
0.2740647792816162,
0.17950128018856049,
0.2904023230075836,
-0.052260369062423706,
-0.31388622522354126,
-0.21589168906211853,
0.09314903616905212,
0.07651010155677795,
0.3419362008571625,
-0.1485207974910736,
0.19991235435009003,
0.49338361620903015,
0.14033275842666626,
-0.483979731798172,
-0.12121067196130753,
-0.08093181997537613,
0.2343015819787979,
0.12942031025886536,
-0.020621895790100098,
0.26543673872947693,
0.0698024332523346,
0.20914390683174133,
-0.19598591327667236,
-0.29861873388290405,
-0.2672455906867981,
-0.23619693517684937,
0.08201133459806442,
-0.2289256453514099,
-0.17765644192695618,
-0.05103229731321335,
0.07457942515611649,
0.10341261327266693,
0.24543479084968567,
0.07821907103061676,
0.10641907900571823,
-0.1600256711244583,
0.3338647186756134,
0.33668646216392517,
-0.10482368618249893,
-0.3298990726470947,
-0.05397171527147293,
0.3337159752845764,
0.3705524206161499,
-0.12923520803451538,
0.07021208852529526,
-0.38658225536346436,
-0.11868475377559662,
0.4641331136226654,
0.4184727668762207,
0.27319127321243286,
0.21457624435424805,
-0.2417735457420349,
-0.056983835995197296,
0.1544620841741562,
-0.031206928193569183,
0.19123558700084686,
0.4166417419910431,
-0.39433398842811584,
0.006105249747633934,
0.09773781150579453,
0.30425164103507996,
-0.2546404004096985,
0.016420550644397736,
-0.006474519148468971,
-0.10118816792964935,
0.23899877071380615,
0.22904156148433685,
0.2247973084449768,
-0.26058995723724365,
0.19098052382469177,
0.07918273657560349,
-0.006914069876074791,
-0.25277960300445557,
-0.2052440047264099,
0.4896167516708374,
-0.2564801871776581,
0.2731013596057892,
0.46536555886268616,
0.17778144776821136,
0.002408549189567566,
0.4304927587509155,
0.09715495258569717,
0.19400286674499512,
0.2706146240234375,
0.048753220587968826,
0.009296722710132599,
-0.21536603569984436,
0.4959208369255066,
0.0006396472454071045,
-0.050767213106155396,
0.008679281920194626,
0.42528587579727173,
-0.03886920213699341,
-0.09631089121103287,
0.059450071305036545,
-0.17248860001564026,
-0.028809402137994766,
-0.1542280614376068,
-0.20559059083461761,
-0.05936205014586449,
-0.09801692515611649,
-0.2997741103172302,
-0.16936816275119781,
0.23542943596839905,
-0.21347124874591827,
0.21225103735923767,
-0.08776023983955383,
0.0578739158809185,
0.008425673469901085,
0.024236148223280907,
0.20055988430976868,
-0.1558736264705658,
-0.3088480830192566,
0.1040768250823021,
0.22885054349899292,
0.1008470430970192,
0.6419434547424316,
0.41460978984832764,
0.2604999244213104,
0.15369939804077148,
-0.02589796856045723,
0.2040354460477829,
-0.14898604154586792,
-0.05342569202184677,
-0.11193212866783142,
0.01564534194767475,
0.241593599319458,
-0.21236082911491394,
0.3374204635620117,
0.32414311170578003,
-0.22859975695610046,
0.15308350324630737,
0.046610768884420395,
-0.10761350393295288,
-0.06752324104309082,
-0.1739458441734314,
0.0058998409658670425,
-0.0880526751279831,
-0.23013946413993835,
-0.1446680724620819,
-0.4833000898361206,
-0.046341829001903534,
0.6339792609214783,
-0.26472800970077515,
0.13662797212600708,
-0.09444775432348251,
0.13849306106567383,
0.12999483942985535,
0.29269343614578247,
0.12117496132850647,
0.04965908080339432,
-0.29823413491249084,
-0.08289261162281036,
-0.4687546491622925,
-0.21088257431983948,
0.1453646719455719,
0.04901338368654251,
0.02215966209769249,
-0.03308369964361191,
0.047399140894412994,
0.19171442091464996,
0.15094009041786194,
0.15444572269916534,
-0.1645008772611618,
0.08320321142673492,
-0.46221867203712463,
0.08674854040145874,
0.3908907175064087,
0.27151039242744446,
0.06950250267982483,
-0.25633180141448975,
0.28658902645111084,
0.13556867837905884,
0.197341650724411,
-0.15504363179206848,
-0.16651301085948944,
0.24166876077651978,
0.04957769811153412,
0.33688783645629883,
0.12109649926424026,
0.37573063373565674,
-0.34829920530319214,
0.18486526608467102,
-0.058723803609609604,
-0.013172302395105362,
-0.2305389940738678,
0.08562929928302765,
0.32639461755752563,
0.0729137733578682,
0.07671334594488144,
-0.1321214884519577,
-0.04476329684257507,
0.26484742760658264,
0.14606207609176636,
0.052866678684949875,
-0.2820255160331726,
0.3463471233844757,
0.11866389960050583,
0.05494723841547966,
-0.10198577493429184,
0.18454515933990479,
-0.006175488233566284,
0.19417144358158112,
-0.2189788818359375,
-0.4370027482509613,
0.29367244243621826,
0.3562380075454712,
-0.26783159375190735,
-0.15566931664943695,
0.256311297416687,
-0.03240104764699936,
0.30568668246269226,
-0.5472013354301453,
0.2565523386001587,
0.3068639039993286,
-0.19801589846611023,
-0.28970691561698914,
0.1320778727531433,
0.12718333303928375,
0.009631279855966568,
-0.042322102934122086,
0.2797008752822876,
0.090918630361557,
-0.008079294115304947,
-0.3919079303741455,
-0.2475033551454544
] |
https://github.com/huggingface/datasets/pull/194 | Add Dataset: Qanta | Thanks for fixing things up! I'm curious to take a look at the zip files now to know the format for future reference. | Fixes dummy data for #169 @EntilZha | 23 | text: Add Dataset: Qanta
Fixes dummy data for #169 @EntilZha
Thanks for fixing things up! I'm curious to take a look at the zip files now to know the format for future reference. | [
-0.09179741889238358,
-0.050794072449207306,
-0.1772656887769699,
-0.006552517414093018,
0.008709076792001724,
0.13007289171218872,
0.2261853963136673,
0.3585527837276459,
-0.40513142943382263,
0.024898037314414978,
-0.22623762488365173,
-0.07438138872385025,
0.27650517225265503,
0.6877892017364502,
0.27575477957725525,
-0.008563503623008728,
-0.11277621239423752,
0.2575151324272156,
-0.20623698830604553,
0.11484846472740173,
-0.37489473819732666,
0.32317909598350525,
-0.05109436810016632,
-0.10844413936138153,
-0.41109499335289,
0.1287161111831665,
-0.20767748355865479,
0.12529665231704712,
-0.12422934919595718,
-0.13068938255310059,
-0.04623376578092575,
0.4180864989757538,
-0.03702335059642792,
0.162318617105484,
-0.00010904580994974822,
-0.057026710361242294,
0.14520925283432007,
-0.31852787733078003,
-0.44970640540122986,
0.27012792229652405,
-0.35781076550483704,
-0.13402697443962097,
-0.17094390094280243,
-0.049347471445798874,
-0.09879479557275772,
-0.24743781983852386,
-0.006301267072558403,
-0.00019101426005363464,
0.46181976795196533,
0.39198750257492065,
0.2572089433670044,
0.14090271294116974,
0.08987927436828613,
-0.3051457405090332,
0.35259294509887695,
-0.02438819408416748,
0.07459504902362823,
0.1882871836423874,
0.16876643896102905,
0.09456280618906021,
0.2198328673839569,
0.25026261806488037,
0.1421312540769577,
-0.20312534272670746,
-0.06020934879779816,
0.03380438685417175,
0.04941089451313019,
-0.19550101459026337,
0.27557915449142456,
0.23644772171974182,
0.514942467212677,
-0.3108552396297455,
-0.3387952744960785,
0.10195288807153702,
-0.03485466539859772,
-0.33279672265052795,
0.06629690527915955,
0.2523331940174103,
-0.04522772505879402,
0.3086034059524536,
0.12475914508104324,
-0.18732845783233643,
-0.16415557265281677,
0.07117798924446106,
-0.42020609974861145,
0.20878475904464722,
-0.0815550684928894,
-0.07141751796007156,
-0.2104552835226059,
0.02810809388756752,
0.10172531008720398,
-0.0625583827495575,
-0.17215953767299652,
-0.09814782440662384,
0.1590612232685089,
-0.06026149541139603,
-0.15491285920143127,
-0.1830342710018158,
-0.0026742033660411835,
-0.195452481508255,
0.1020895391702652,
0.2394919991493225,
-0.18606707453727722,
0.01619798317551613,
-0.17296260595321655,
0.4219137132167816,
0.21058771014213562,
0.0006147781386971474,
0.07011144608259201,
0.17884549498558044,
0.43192604184150696,
-0.21850460767745972,
-0.023110732436180115,
-0.17071533203125,
-0.1762508749961853,
0.2745555639266968,
-0.015435734763741493,
-0.08698635548353195,
-0.42649418115615845,
0.15107443928718567,
0.33616453409194946,
0.07599382847547531,
-0.2662525177001953,
0.4120517671108246,
-0.059988442808389664,
-0.01683448627591133,
0.08953118324279785,
0.12694552540779114,
0.015156583860516548,
-0.33376654982566833,
-0.14057983458042145,
0.056103263050317764,
0.12504081428050995,
-0.10932313650846481,
0.0020372457802295685,
-0.1739078164100647,
0.18956328928470612,
-0.03175481781363487,
0.009019933640956879,
0.0565175786614418,
0.1536359339952469,
0.1009855568408966,
0.386688768863678,
0.4695248007774353,
-0.021348904818296432,
0.23452310264110565,
-0.060071054846048355,
-0.0030320286750793457,
-0.005004070699214935,
0.4579143524169922,
-0.27099546790122986,
-0.18546022474765778,
-0.5390903353691101,
0.2643759846687317,
-0.12999819219112396,
-0.020643342286348343,
0.24213606119155884,
0.15381939709186554,
-0.19788721203804016,
-0.14722755551338196,
0.1220763623714447,
-0.030838795006275177,
0.23626336455345154,
-0.19403067231178284,
0.09877684712409973,
0.2689758837223053,
-0.9105049967765808,
-0.1074838936328888,
-0.18027079105377197,
-0.09522011876106262,
0.3953397572040558,
-0.010265156626701355,
0.06823576986789703,
0.17996615171432495,
-0.41764429211616516,
-0.02748597040772438,
0.260034441947937,
0.020827632397413254,
-0.3050379157066345,
-0.07446316629648209,
-0.15197446942329407,
-0.16274915635585785,
0.14463309943675995,
0.2498069852590561,
0.11484865844249725,
0.06546034663915634,
0.3776392340660095,
-0.11871188879013062,
0.07682877033948898,
-0.09427531808614731,
-0.30531197786331177,
-0.35442784428596497,
0.09663651138544083,
0.1672690361738205,
0.16432631015777588,
0.033956367522478104,
-0.17992731928825378,
-0.4408976435661316,
0.1607162058353424,
0.0461694560945034,
-0.03086373768746853,
0.16386821866035461,
0.4120829105377197,
0.04761932045221329,
0.22993634641170502,
0.4073806703090668,
-0.33096766471862793,
-0.16037112474441528,
-0.18433994054794312,
0.0038277991116046906,
-0.11144554615020752,
-0.2318069189786911,
-0.6710296869277954,
-0.07807772606611252,
-0.1451915204524994,
-0.3614959418773651,
0.20700010657310486,
0.12211119383573532,
0.05408863350749016,
-0.14006130397319794,
-0.1258304864168167,
0.29648372530937195,
0.2750586271286011,
0.1028364822268486,
-0.10177017748355865,
-0.03446039929986,
-0.12337536364793777,
0.1395699828863144,
0.22790119051933289,
0.19011780619621277,
-0.010331928730010986,
-0.20476704835891724,
0.08354951441287994,
0.299672394990921,
0.03770957514643669,
-0.02523009479045868,
0.16035225987434387,
-0.1319454163312912,
0.34254369139671326,
-0.19084511697292328,
-0.09311977028846741,
0.4985262155532837,
0.012152674607932568,
0.014806024730205536,
-0.5869830846786499,
0.5025984048843384,
-0.14595404267311096,
-0.48485755920410156,
-0.3684595227241516,
0.2607005834579468,
0.13577573001384735,
0.12000827491283417,
-0.07738742232322693,
-0.25744444131851196,
-0.14950072765350342,
0.45785003900527954,
0.3030678629875183,
-0.18651127815246582,
0.03790172189474106,
0.30166172981262207,
0.29523733258247375,
-0.013275343924760818,
0.19089001417160034,
0.1330968141555786,
-0.3867773115634918,
0.021226797252893448,
0.2462393343448639,
0.15775848925113678,
0.10085151344537735,
0.23554937541484833,
0.049974195659160614,
0.05616266652941704,
-0.006849921308457851,
-0.3583510220050812,
0.21771538257598877,
-0.06342799961566925,
-0.3392150104045868,
0.24614673852920532,
0.009627756662666798,
-0.23756490647792816,
-0.20568346977233887,
0.1951919049024582,
-0.004252421669661999,
0.12154808640480042,
-0.3576078414916992,
-0.25210174918174744,
0.014855971559882164,
-0.23758581280708313,
-0.2549048960208893,
-0.27770206332206726,
-0.07228708267211914,
-0.4631321430206299,
0.41576266288757324,
-0.2485482096672058,
-0.16077862679958344,
0.1573379635810852,
0.19947074353694916,
0.26040318608283997,
0.24838201701641083,
-0.09466905146837234,
-0.20593613386154175,
-0.09109188616275787,
-0.06002666801214218,
0.2854626178741455,
-0.08196400851011276,
0.02272825501859188,
0.35245075821876526,
-0.6733809113502502,
0.18147696554660797,
-0.173493430018425,
-0.4494980573654175,
0.09914277493953705,
-0.19282914698123932,
0.5259648561477661,
0.17992986738681793,
0.4908216595649719,
-0.18022240698337555,
-0.08221370726823807,
0.01775532029569149,
0.34987345337867737,
-0.15963201224803925,
-0.15877358615398407,
-0.19210980832576752,
0.16416579484939575,
-0.3537163734436035,
-0.5208856463432312,
-0.07581409066915512,
-0.002250758931040764,
0.13546790182590485,
-0.16756661236286163,
0.13005557656288147,
-0.0012832507491111755,
0.19435636699199677,
0.10015401244163513,
-0.085518479347229,
-0.5145015120506287,
-0.3988944888114929,
-0.2846199870109558,
0.6054113507270813,
-0.1452198624610901,
-0.32514688372612,
0.0982854813337326,
-0.2523699402809143,
0.1363593488931656,
-0.2937965989112854,
-0.20363913476467133,
-0.4566496014595032,
-0.1122475117444992,
0.24387675523757935,
0.028763215988874435,
0.06783339381217957,
0.32793691754341125,
-0.001832893118262291,
-0.18608802556991577,
-0.11552175879478455,
-0.14301349222660065,
-0.015093296766281128,
0.2666102945804596,
0.3074587285518646,
-0.19595187902450562,
-0.15600892901420593,
-0.3036651611328125,
0.3047698140144348,
0.21215716004371643,
0.43819692730903625,
0.19802901148796082,
-0.18683548271656036,
0.40726137161254883,
0.03608348220586777,
0.010440202429890633,
-0.09499064832925797,
0.08478710055351257,
0.07562552392482758,
0.282351016998291,
0.002391691319644451,
0.33513104915618896,
0.10058960318565369,
-0.044925037771463394,
-0.6987683773040771,
-0.15677683055400848,
0.2674672603607178,
0.08418019115924835,
0.07598830759525299,
0.07980357110500336,
-0.18480320274829865,
-0.23050528764724731,
-0.09654123336076736,
0.09411945939064026,
0.3313547968864441,
0.12185905128717422,
-0.050047021359205246,
-0.417433500289917,
-0.1551799178123474,
-0.32010185718536377,
0.3397308588027954,
0.04394059628248215,
0.13271288573741913,
-0.04849708452820778,
0.017632145434617996,
0.06163143739104271,
-0.13886073231697083,
0.542332112789154,
-0.11728215962648392,
-0.20330820977687836,
0.16997666656970978,
0.2797553837299347,
-0.32547685503959656,
-0.19855256378650665,
-0.4377095103263855,
-0.1485251933336258,
0.006816614419221878,
0.1322503685951233,
-0.17748332023620605,
0.16283859312534332,
0.10871873050928116,
0.10069096833467484,
-0.22687317430973053,
-0.050077054649591446,
-0.21961268782615662,
-0.2885422706604004,
-0.2857925593852997,
0.04100237041711807,
0.1406998336315155,
-0.06654232740402222,
-0.38362112641334534,
-0.08539046347141266,
0.22498999536037445,
-0.07287729531526566,
0.31807592511177063,
0.12497660517692566,
0.44888707995414734,
0.18348908424377441,
-0.19909101724624634,
0.36072930693626404,
-0.09117361903190613,
0.03522516041994095,
0.3731541931629181,
0.20925691723823547,
-0.07690700888633728,
0.04441000893712044,
-0.5687664151191711,
0.29062801599502563,
0.3030672073364258,
-0.10095101594924927,
-0.06110282987356186,
-0.3020244538784027,
0.06749396026134491,
-0.07232934981584549,
0.12993274629116058,
0.03634452819824219,
0.030081305652856827,
-0.21301206946372986,
-0.1487194299697876,
0.12448723614215851,
-0.0050376467406749725,
-0.009505406022071838,
0.19073009490966797,
0.19293373823165894,
-0.004704365506768227,
0.35082685947418213,
0.05861397087574005,
0.9826270341873169,
-0.13847263157367706,
0.3822959065437317,
0.2001533806324005,
-0.065396249294281,
0.20814301073551178,
-0.1347803771495819,
0.25589603185653687,
-0.4375635087490082,
0.15657131373882294,
-0.12470989674329758,
0.10800527036190033,
0.16164535284042358,
-0.021859079599380493,
-0.7816367149353027,
0.2328709363937378,
-0.1975654661655426,
0.11499826610088348,
0.1327378749847412,
-0.1743747591972351,
-0.40748855471611023,
0.006500060670077801,
0.17165812849998474,
0.22060319781303406,
0.057428959757089615,
0.12830302119255066,
-0.02674957551062107,
-0.2957530617713928,
-0.32962343096733093,
-0.04951619356870651,
-0.13206535577774048,
-0.25981876254081726,
-0.35467565059661865,
-0.2710856795310974,
0.11383463442325592,
0.024610064923763275,
-0.43121621012687683,
0.09519657492637634,
0.3033844828605652,
0.22865146398544312,
-0.14850787818431854,
0.21743285655975342,
-0.10416073352098465,
-0.03914010152220726,
-0.11255038529634476,
0.061853982508182526,
-0.1083807498216629,
-0.05139606446027756,
-0.3399653434753418,
0.27201443910598755,
-0.18813277781009674,
0.061538368463516235,
-0.18887510895729065,
-0.01203697919845581,
0.05066506937146187,
-0.25726810097694397,
0.0927402675151825,
-0.03226824104785919,
-0.1649235635995865,
-0.29182425141334534,
0.1916225105524063,
0.018345344811677933,
-0.00794238317757845,
0.13192079961299896,
0.16493266820907593,
-0.22007973492145538,
-0.17817910015583038,
0.24004393815994263,
0.17598968744277954,
0.07946110516786575,
0.5859102010726929,
-0.15550637245178223,
0.06668254733085632,
-0.2724460959434509,
0.23862648010253906,
-0.06427889317274094,
-0.2227644920349121,
0.11327430605888367,
-0.25775396823883057,
-0.14638862013816833,
-0.12016219645738602,
0.43973127007484436,
0.04793994128704071,
0.1267576962709427,
-0.22409950196743011,
-0.27131354808807373,
-0.39396241307258606,
0.020436476916074753,
-0.031059447675943375,
0.3235474228858948,
0.015018239617347717,
0.07906380295753479,
0.20645834505558014,
0.07539313286542892,
-0.4295451045036316,
0.18380692601203918,
-0.0083767119795084,
0.07413625717163086,
0.02584853395819664,
-0.03638863563537598,
0.19794361293315887,
-0.04175649583339691,
0.13200189173221588,
0.1976621299982071,
-0.3452471196651459,
-0.3114396333694458,
-0.16373224556446075,
0.12130409479141235,
-0.31911933422088623,
-0.1559532731771469,
0.11096426844596863,
0.17498184740543365,
-0.08932991325855255,
0.3240887522697449,
0.059672389179468155,
-0.08757254481315613,
0.037220604717731476,
0.40932586789131165,
0.3298438787460327,
-0.07555500417947769,
-0.19303300976753235,
-0.004406053572893143,
0.3512999415397644,
0.38884472846984863,
-0.1614459902048111,
0.09145399183034897,
-0.4368603229522705,
-0.09734965115785599,
0.3193987011909485,
0.2824890613555908,
0.07950060069561005,
0.23658478260040283,
0.05994173884391785,
-0.10288172960281372,
0.25648996233940125,
-0.06621061265468597,
0.030011601746082306,
0.2112683653831482,
-0.24367894232273102,
-0.06272541731595993,
-0.009355755522847176,
0.2228941172361374,
-0.355659157037735,
-0.03502568230032921,
-0.026649873703718185,
-0.03553065285086632,
0.145006000995636,
0.12778759002685547,
0.5171684622764587,
-0.0699957087635994,
0.5071033835411072,
0.12336082011461258,
-0.182814821600914,
-0.06410491466522217,
-0.12102490663528442,
0.41701647639274597,
0.04274755343794823,
0.2777237296104431,
0.19775962829589844,
-0.1258590668439865,
-0.1344289481639862,
0.18778906762599945,
0.12422151118516922,
0.05085250735282898,
0.23787924647331238,
0.04109616577625275,
0.015553884208202362,
-0.39478567242622375,
0.2196681797504425,
0.24568846821784973,
-0.15377435088157654,
0.23188483715057373,
0.5524238348007202,
0.3652726709842682,
-0.05079742521047592,
-0.042256828397512436,
-0.19261175394058228,
0.01611272618174553,
-0.08962323516607285,
-0.08540864288806915,
0.08643265068531036,
-0.24888038635253906,
-0.5019941329956055,
0.008016310632228851,
0.08028199523687363,
-0.12286993861198425,
0.4028041660785675,
0.025782983750104904,
-0.18325485289096832,
0.006223913282155991,
-0.18347904086112976,
0.11200004816055298,
0.10088959336280823,
-0.11068429052829742,
0.10197874158620834,
0.3512340188026428,
0.11415614187717438,
0.5290701985359192,
0.43771621584892273,
0.31229570508003235,
-0.2991296350955963,
0.052671853452920914,
0.262667715549469,
-0.1364608258008957,
-0.10871967673301697,
-0.022986575961112976,
-0.01782839745283127,
0.25210660696029663,
-0.1919572651386261,
0.24128638207912445,
0.2817409038543701,
-0.18245677649974823,
0.10749118030071259,
0.02725830301642418,
0.2386634647846222,
-0.09260393679141998,
-0.21165037155151367,
-0.20935547351837158,
-0.1556245982646942,
-0.33422526717185974,
-0.31868991255760193,
-0.4032588601112366,
-0.04617231711745262,
0.3913569748401642,
-0.024939093738794327,
0.1110682561993599,
-0.0909501388669014,
0.1178368628025055,
-0.09134230017662048,
0.3844296634197235,
0.36624056100845337,
-0.1633104383945465,
-0.2806103825569153,
-0.42689013481140137,
-0.4120995104312897,
0.008696824312210083,
0.12142598628997803,
0.24785318970680237,
0.05114835128188133,
-0.006649721413850784,
0.006231099367141724,
0.2751319706439972,
0.18896037340164185,
0.166609525680542,
-0.14495903253555298,
0.019967854022979736,
-0.5647194385528564,
0.13520865142345428,
0.43993377685546875,
0.2923884391784668,
-0.00647321343421936,
-0.19177111983299255,
0.42472875118255615,
0.11790737509727478,
0.17017865180969238,
0.03153076767921448,
-0.16638588905334473,
0.12237375974655151,
0.033935077488422394,
0.22790804505348206,
-0.0009713023900985718,
-0.04681935906410217,
-0.34782329201698303,
0.03739907592535019,
0.0040743350982666016,
0.04899182543158531,
0.10668367147445679,
0.14691492915153503,
0.230706587433815,
0.43450090289115906,
0.21072717010974884,
-0.019490431994199753,
0.0869264155626297,
0.21098104119300842,
0.09447810053825378,
0.16247344017028809,
-0.3606627881526947,
0.29325562715530396,
-0.039618171751499176,
-0.128538578748703,
0.0927722305059433,
0.4459432065486908,
0.015134721994400024,
0.07954341173171997,
-0.10322773456573486,
-0.36321717500686646,
0.0946701169013977,
0.17020677030086517,
-0.27126452326774597,
-0.032996829599142075,
-0.09648780524730682,
0.13701008260250092,
0.28748416900634766,
-0.3676671087741852,
0.27559688687324524,
0.2730775773525238,
-0.19996541738510132,
0.041461434215307236,
0.09089092910289764,
0.11991514265537262,
0.22445206344127655,
-0.21633781492710114,
0.4859555661678314,
0.3261520266532898,
-0.007975485175848007,
-0.24006183445453644,
-0.27328044176101685
] |
https://github.com/huggingface/datasets/pull/190 | add squad Spanish v1 and v2 | Nice ! :)
Can we group them into one dataset with two versions, instead of having two datasets ? | This PR add the Spanish Squad versions 1 and 2 datasets.
Fixes #164 | 19 | text: add squad Spanish v1 and v2
This PR add the Spanish Squad versions 1 and 2 datasets.
Fixes #164
Nice ! :)
Can we group them into one dataset with two versions, instead of having two datasets ? | [
-0.35051119327545166,
0.017548874020576477,
-0.25143420696258545,
0.04466669633984566,
0.036100491881370544,
0.0946376845240593,
0.054834771901369095,
0.2157772332429886,
-0.24584859609603882,
0.07630108296871185,
-0.20576205849647522,
0.20124714076519012,
0.20023013651371002,
-0.26227399706840515,
0.06400606036186218,
-0.2607050836086273,
0.09909524023532867,
0.08586706221103668,
-0.06193843483924866,
-0.07700364291667938,
-0.20942716300487518,
0.17253369092941284,
-0.13807585835456848,
-0.07942117750644684,
-0.018227092921733856,
-0.019202737137675285,
-0.08562850207090378,
-0.017245151102542877,
-0.29625239968299866,
-0.28710266947746277,
-0.13981027901172638,
0.41606405377388,
0.1899435967206955,
0.3480060398578644,
-0.00010479899356141686,
-0.25437021255493164,
-0.11288686096668243,
-0.07042603939771652,
-0.0333547368645668,
0.10518358647823334,
-0.015062354505062103,
-0.0422755666077137,
-0.3040771782398224,
0.007583066821098328,
-0.037484850734472275,
-0.3852508068084717,
0.0016337502747774124,
-0.43568241596221924,
0.3826332688331604,
0.2665071189403534,
0.2859324812889099,
-0.09149941056966782,
0.0006832554936408997,
-0.38449740409851074,
0.16944777965545654,
-0.2677540183067322,
-0.2498113363981247,
-0.14487889409065247,
0.614158034324646,
0.009767413139343262,
0.3624305725097656,
0.46011629700660706,
0.21698997914791107,
-0.1111563891172409,
-0.18424901366233826,
0.04190105199813843,
0.05193491280078888,
-0.27391284704208374,
0.22922804951667786,
-0.1064034029841423,
0.35297539830207825,
-0.23388776183128357,
-0.37300774455070496,
0.08306793123483658,
0.23886504769325256,
0.014913184568285942,
-0.16427797079086304,
-0.07369838654994965,
0.13558582961559296,
0.03781282529234886,
-0.013717024587094784,
-0.2798663079738617,
-0.08803669363260269,
0.09507513046264648,
0.0076907724142074585,
0.32707250118255615,
0.036656152456998825,
0.066327303647995,
0.2156173288822174,
-0.0017569474875926971,
0.13833275437355042,
0.11429840326309204,
-0.07688693702220917,
0.30956804752349854,
0.05059116333723068,
-0.2696877121925354,
-0.1197618618607521,
-0.15040045976638794,
0.2225399613380432,
-0.3182253837585449,
-0.11253654956817627,
-0.05098026990890503,
-0.014686333015561104,
0.06476075202226639,
0.26472803950309753,
-0.12658047676086426,
0.4988105297088623,
0.3717927932739258,
0.06944315135478973,
-0.17420031130313873,
-0.03376198559999466,
0.10251545161008835,
-0.1876964271068573,
-0.4991781413555145,
-0.18723587691783905,
0.2612527906894684,
0.14942657947540283,
-0.15227194130420685,
0.16901041567325592,
0.04368823021650314,
-0.1263532042503357,
-0.22998088598251343,
-0.11636155098676682,
0.38300082087516785,
0.1354750394821167,
0.07094946503639221,
-0.1088360995054245,
0.16630081832408905,
-0.0011101439595222473,
-0.467308908700943,
-0.18387004733085632,
0.06454230099916458,
-0.23386967182159424,
-0.06049048900604248,
0.09600010514259338,
0.035649970173835754,
0.0018373271450400352,
0.22600404918193817,
0.03365393728017807,
-0.011300727725028992,
0.061718448996543884,
-0.26855722069740295,
0.17047259211540222,
-0.07268592715263367,
0.32125306129455566,
0.03553858399391174,
-0.09737825393676758,
-0.13365893065929413,
-0.14188095927238464,
0.2729436457157135,
0.07813828438520432,
0.004356857389211655,
-0.437540203332901,
0.3371668756008148,
0.1372234970331192,
-0.11850544810295105,
0.04546228423714638,
0.5206531286239624,
0.19843009114265442,
-0.3065587878227234,
0.010545849800109863,
-0.04696187376976013,
-0.30081707239151,
0.050385259091854095,
-0.0991731807589531,
0.27976560592651367,
-0.7088033556938171,
-0.01783231645822525,
0.12534020841121674,
-0.1997559517621994,
-0.17299914360046387,
0.29010072350502014,
-0.14797276258468628,
-0.08041097968816757,
-0.0462595671415329,
-0.03591110557317734,
0.5105581283569336,
-0.32927462458610535,
-0.08780648559331894,
-0.03892802074551582,
-0.13391652703285217,
-0.3364262580871582,
0.09104154258966446,
-0.04752366244792938,
0.29914239048957825,
-0.0064396932721138,
-0.07277479767799377,
0.1735365241765976,
-0.3951721787452698,
-0.04337742552161217,
-0.17122094333171844,
-0.058004237711429596,
0.07519084215164185,
0.1924569308757782,
0.19503255188465118,
0.0009133517742156982,
0.14659759402275085,
0.15953537821769714,
0.1934560090303421,
-0.07988940179347992,
0.1303459256887436,
0.1186954528093338,
0.32064443826675415,
-0.020344629883766174,
0.01799752004444599,
-0.08162838965654373,
-0.49149781465530396,
-0.12654301524162292,
-0.09395401179790497,
0.04909483343362808,
0.3682197332382202,
-0.3548234701156616,
-0.2063518464565277,
-0.28460943698883057,
-0.1691914200782776,
-0.23027899861335754,
0.25227680802345276,
0.10337119549512863,
-0.22103847563266754,
-0.40584516525268555,
-0.173173189163208,
0.0447971448302269,
-0.11819059401750565,
-0.007890315726399422,
0.11944833397865295,
0.21514831483364105,
-0.4231138825416565,
-0.04233437031507492,
-0.14088839292526245,
0.3896825313568115,
0.125299870967865,
-0.11443804204463959,
0.15956652164459229,
0.21396857500076294,
-0.15840961039066315,
0.1379794478416443,
0.3591523766517639,
-0.22055737674236298,
0.16815480589866638,
-0.008902188390493393,
-0.024717269465327263,
-0.23891673982143402,
-0.07790625095367432,
-0.11736645549535751,
-0.3693487048149109,
0.08232621848583221,
0.21396763622760773,
0.07152600586414337,
0.009164392948150635,
-0.17743289470672607,
0.2128673940896988,
0.1623879224061966,
-0.22415849566459656,
-0.3195280432701111,
-0.14875878393650055,
0.21938404440879822,
-0.004970818758010864,
0.08800503611564636,
-0.35424262285232544,
0.3474590480327606,
0.4981553852558136,
0.18898656964302063,
-0.018212363123893738,
-0.03742685168981552,
0.17488858103752136,
0.09111293405294418,
-0.11450134217739105,
0.15044748783111572,
0.3215480446815491,
0.2982056140899658,
0.0779363363981247,
0.09765363484621048,
0.027925394475460052,
-0.01291264221072197,
0.07405620813369751,
-0.08559627830982208,
0.16899541020393372,
0.15891849994659424,
0.0835370421409607,
0.07595225423574448,
-0.21332311630249023,
-0.12145525217056274,
0.16031649708747864,
0.030446812510490417,
-0.19423365592956543,
-0.23212231695652008,
0.04103489965200424,
-0.2166537046432495,
-0.4930484890937805,
-0.05495728924870491,
-0.20793746411800385,
0.046164996922016144,
0.331664502620697,
-0.10920049250125885,
-0.15027129650115967,
0.4739862382411957,
0.2869471609592438,
0.4746173620223999,
-0.12927024066448212,
0.12572593986988068,
0.33571499586105347,
0.028791222721338272,
-0.008060861378908157,
0.29326948523521423,
0.0459405854344368,
-0.3045910894870758,
0.25760170817375183,
-0.3090841472148895,
-0.2045089155435562,
-0.30162376165390015,
-0.3645261526107788,
0.1442025601863861,
-0.10923436284065247,
0.12165786325931549,
0.08194269239902496,
0.27422192692756653,
-0.09386305510997772,
-0.2434038370847702,
0.07760094851255417,
0.012965602800250053,
-0.22217366099357605,
-0.5033875703811646,
-0.23088857531547546,
-0.11159331351518631,
-0.2574429512023926,
-0.8487212061882019,
-0.30502504110336304,
-0.2806875705718994,
-0.05911290645599365,
0.048608217388391495,
0.11620122939348221,
-0.019966192543506622,
0.14507709443569183,
-0.03596284240484238,
-0.1481514275074005,
-0.039578184485435486,
-0.2958610951900482,
0.09535466134548187,
0.26467448472976685,
-0.32031679153442383,
-0.14263716340065002,
0.0878555178642273,
0.1583184152841568,
0.14998625218868256,
-0.30751991271972656,
0.10066342353820801,
-0.2886708974838257,
0.20138509571552277,
0.023410659283399582,
-0.09329605102539062,
0.37660616636276245,
0.2876948118209839,
-0.01074436865746975,
-0.24445828795433044,
-0.1999513804912567,
-0.36549073457717896,
-0.018050462007522583,
0.0588679201900959,
0.3592545986175537,
-0.645147442817688,
0.06508486717939377,
-0.006984677165746689,
0.6273155212402344,
0.29581883549690247,
0.1510259211063385,
0.05874324217438698,
-0.04786541312932968,
0.19710898399353027,
-0.12353534251451492,
-0.371492862701416,
0.2886867821216583,
0.06771015375852585,
0.10235723853111267,
0.34023168683052063,
0.14170697331428528,
-0.16145983338356018,
0.018284045159816742,
0.23929435014724731,
-0.15348419547080994,
-0.009065955877304077,
0.12286073714494705,
0.2786044776439667,
0.15981504321098328,
0.08463838696479797,
-0.07148291170597076,
-0.18803304433822632,
0.21743068099021912,
-0.26939651370048523,
0.009947501122951508,
0.05682450160384178,
0.12359276413917542,
-0.637543797492981,
0.13284586369991302,
0.20671558380126953,
0.2641536593437195,
0.1498023420572281,
0.088746078312397,
-0.029087260365486145,
0.04113375395536423,
-0.11588335037231445,
0.022689027711749077,
0.45962727069854736,
-0.2088857740163803,
-0.23328842222690582,
0.004665754735469818,
0.005825173109769821,
-0.07343870401382446,
-0.23080970346927643,
-0.16079440712928772,
-0.007942731492221355,
0.4017530381679535,
0.044261470437049866,
-0.10381539165973663,
-0.04236920177936554,
0.6173224449157715,
0.07857368141412735,
-0.019231226295232773,
-0.16805985569953918,
-0.19272659718990326,
-0.10607318580150604,
-0.2698138952255249,
0.3250191807746887,
0.2726428806781769,
-0.1723441332578659,
-0.0660470500588417,
-0.1816064566373825,
0.5107832551002502,
-0.20778200030326843,
0.18408077955245972,
0.18562699854373932,
0.18661820888519287,
0.5688827633857727,
-0.03081517666578293,
0.20200127363204956,
-0.13834282755851746,
0.03130749613046646,
0.3199712634086609,
-0.20707732439041138,
-0.27430999279022217,
0.27668046951293945,
-0.5022878646850586,
0.5126628875732422,
0.4293038547039032,
0.16685020923614502,
0.1861032247543335,
-0.08646717667579651,
0.00159454345703125,
0.1813020408153534,
-0.16486218571662903,
0.35824015736579895,
0.025316178798675537,
-0.08520787209272385,
-0.4541929066181183,
0.0849606990814209,
0.14510859549045563,
-0.19126072525978088,
0.19301021099090576,
0.07655022293329239,
-0.22482113540172577,
0.08772390335798264,
-0.07661383599042892,
0.8377977609634399,
0.13454808294773102,
-0.09694072604179382,
-0.1839006543159485,
-0.24458451569080353,
0.19910776615142822,
0.015314333140850067,
-0.01405579224228859,
-0.2447528839111328,
0.0645737573504448,
0.11982588469982147,
-0.11595708131790161,
0.21750956773757935,
0.1112346276640892,
-0.5737727284431458,
0.16283927857875824,
-0.17106404900550842,
0.18583320081233978,
0.0635886862874031,
0.21545132994651794,
0.003740144893527031,
-0.20607022941112518,
-0.02487170323729515,
0.20564739406108856,
-0.07590112090110779,
-0.030906353145837784,
-0.33994966745376587,
-0.011929621919989586,
0.0529019720852375,
-0.2546865940093994,
-0.369276225566864,
-0.061905138194561005,
-0.34008267521858215,
-0.056911587715148926,
0.040037307888269424,
-0.0019179284572601318,
0.3385065495967865,
0.4112021028995514,
0.5178351402282715,
0.14386168122291565,
-0.016824593767523766,
0.2779456079006195,
0.39660608768463135,
0.06428951770067215,
-0.17476698756217957,
-0.29291555285453796,
-0.11119553446769714,
-0.25181594491004944,
-0.24302244186401367,
0.09084701538085938,
0.021713506430387497,
-0.056916311383247375,
-0.6211658716201782,
0.15376222133636475,
0.2238045632839203,
-0.08450450003147125,
-0.046197257936000824,
0.41863957047462463,
0.04071764275431633,
-0.438170462846756,
0.2198769897222519,
-0.02347274124622345,
-0.16242657601833344,
0.035511039197444916,
0.2824268043041229,
-0.15061551332473755,
-0.077641561627388,
0.24566802382469177,
0.13968074321746826,
-0.3354777693748474,
0.24810241162776947,
0.31465888023376465,
-0.1657983511686325,
-0.40337181091308594,
-0.03390352427959442,
0.3095749616622925,
-0.34348344802856445,
-0.24718819558620453,
-0.12504388391971588,
-0.5162779092788696,
-0.020452290773391724,
0.32768335938453674,
0.15900394320487976,
0.2893429100513458,
0.09927882254123688,
-0.05606262758374214,
-0.1757577359676361,
0.07702895998954773,
-0.12203967571258545,
0.09192816913127899,
0.05701865255832672,
0.25529223680496216,
0.2661064565181732,
0.3203571140766144,
-0.45785045623779297,
0.04265820235013962,
-0.27907615900039673,
0.28842398524284363,
-0.13207872211933136,
-0.0359639897942543,
-0.2176557183265686,
-0.27351096272468567,
0.21447888016700745,
0.06332625448703766,
-0.2581053376197815,
-0.2570408880710602,
0.06914982199668884,
0.10170940309762955,
-0.02650732547044754,
0.07434938848018646,
0.12442915886640549,
0.16195248067378998,
-0.0871056318283081,
0.1844436228275299,
0.0013555623590946198,
0.1735629439353943,
0.1962340623140335,
0.25202852487564087,
-0.16758446395397186,
0.01816735789179802,
0.2139127403497696,
-0.13524025678634644,
0.29900455474853516,
0.04780842736363411,
0.12567606568336487,
0.3126358985900879,
-0.06113705039024353,
-0.16377848386764526,
0.19898442924022675,
0.10536650568246841,
0.20056018233299255,
0.49075764417648315,
-0.25159353017807007,
-0.0833510309457779,
0.21731242537498474,
0.43561336398124695,
0.2116370052099228,
0.1228962242603302,
-0.3600917458534241,
0.22530347108840942,
-0.18148356676101685,
0.3718123733997345,
-0.4046981930732727,
0.01835915446281433,
0.2034238874912262,
-0.06914947181940079,
0.10076133906841278,
0.3164283335208893,
0.20546460151672363,
0.25486692786216736,
0.5494805574417114,
0.2989124655723572,
0.1392734944820404,
-0.12114229798316956,
0.31630605459213257,
0.03756256401538849,
-0.2722654938697815,
-0.07503622770309448,
-0.020066162571310997,
-0.04175659641623497,
-0.28456535935401917,
0.06527791172266006,
-0.30057767033576965,
0.2215775102376938,
0.2918682396411896,
0.14837326109409332,
0.4605371356010437,
0.10340757668018341,
0.29455792903900146,
0.29375022649765015,
0.1686195433139801,
-0.11527689546346664,
0.2465236932039261,
0.33162975311279297,
-0.09098172932863235,
-0.5334962606430054,
-0.038819000124931335,
-0.11140024662017822,
-0.1549103856086731,
0.02056155540049076,
-0.2493782341480255,
-0.27754124999046326,
-0.4260309636592865,
-0.07830226421356201,
-0.007324721664190292,
-0.011755980551242828,
0.1207270473241806,
-0.08018453419208527,
0.019681498408317566,
-0.18552306294441223,
0.17500203847885132,
-0.0647285059094429,
0.09253033250570297,
-0.2316875010728836,
0.43776941299438477,
-0.11603759229183197,
-0.10276634991168976,
0.31572553515434265,
0.41724181175231934,
0.018825586885213852,
0.18435171246528625,
0.2879520356655121,
0.04817495122551918,
-0.11462636291980743,
-0.08597895503044128,
0.023400261998176575,
-0.22937405109405518,
0.05886740982532501,
-0.04624519869685173,
0.2935529053211212,
0.286297470331192,
-0.21591655910015106,
0.10574370622634888,
0.09511242806911469,
-0.16445517539978027,
-0.016843413934111595,
0.14066243171691895,
-0.0747712031006813,
-0.1279723048210144,
0.011995717883110046,
0.026808589696884155,
-0.1232244148850441,
-0.04456141218543053,
0.1519695669412613,
0.005036226473748684,
-0.05282817408442497,
-0.25652921199798584,
0.13814328610897064,
0.3440500795841217,
0.2615591287612915,
0.04501212388277054,
0.12151968479156494,
-0.23215791583061218,
-0.2957655191421509,
-0.5267921686172485,
0.030271783471107483,
0.11496277153491974,
0.49348267912864685,
-0.1417602151632309,
0.36346200108528137,
0.3972177803516388,
0.3963301181793213,
0.4923778772354126,
-0.31153327226638794,
0.11987058073282242,
0.08855149149894714,
-0.47423720359802246,
0.23426388204097748,
0.5118326544761658,
0.37108317017555237,
0.26842057704925537,
-0.10560426861047745,
0.1370447427034378,
-0.20290115475654602,
0.21700316667556763,
-0.1427943855524063,
-0.3155567944049835,
0.22908055782318115,
-0.05276764929294586,
0.22252583503723145,
-0.053099848330020905,
0.34088054299354553,
-0.16095826029777527,
0.16767016053199768,
-0.2051788866519928,
-0.3142150640487671,
-0.2767139971256256,
0.23493877053260803,
0.21576394140720367,
0.25837716460227966,
-0.12602443993091583,
-0.1606244593858719,
-0.01508261263370514,
-0.06768211722373962,
0.07202843576669693,
0.4426915943622589,
-0.42677679657936096,
0.2327551692724228,
0.25151124596595764,
0.06692701578140259,
-0.4342527389526367,
0.11858116835355759,
-0.09230877459049225,
-0.05356574058532715,
-0.31149405241012573,
-0.3752593696117401,
0.4891520142555237,
0.2536958158016205,
-0.2780819833278656,
-0.22606214880943298,
0.2604372501373291,
0.5450847148895264,
-0.2063932567834854,
-0.37720152735710144,
-0.10876264423131943,
0.18748940527439117,
-0.07822167873382568,
-0.30315303802490234,
0.15539231896400452,
-0.15794388949871063,
-0.04978986456990242,
-0.08618709444999695,
0.10980749130249023,
0.0938907191157341,
-0.1010185107588768,
-0.09359489381313324,
-0.29526275396347046
] |
https://github.com/huggingface/datasets/pull/190 | add squad Spanish v1 and v2 | @mariamabarham - feel free to merge when you're ready. I only checked the dummy files. I did not run the SLOW tests. | This PR add the Spanish Squad versions 1 and 2 datasets.
Fixes #164 | 22 | text: add squad Spanish v1 and v2
This PR add the Spanish Squad versions 1 and 2 datasets.
Fixes #164
@mariamabarham - feel free to merge when you're ready. I only checked the dummy files. I did not run the SLOW tests. | [
-0.39999473094940186,
0.06962384283542633,
-0.1996450275182724,
-0.1396801769733429,
0.0600418895483017,
0.17703813314437866,
0.06821539252996445,
0.3463563024997711,
-0.23051717877388,
0.2107630968093872,
-0.2969731390476227,
0.2698783576488495,
0.18241487443447113,
-0.3547995686531067,
-0.036644402891397476,
-0.0578780472278595,
0.16253402829170227,
0.14577654004096985,
-0.036129772663116455,
-0.16334876418113708,
-0.17078879475593567,
0.23361073434352875,
-0.07537157088518143,
-0.06359295547008514,
-0.10969352722167969,
0.1023387685418129,
-0.027385273948311806,
0.07685870677232742,
-0.21978607773780823,
-0.3787403106689453,
-0.022601895034313202,
0.395377516746521,
0.10854457318782806,
0.35535308718681335,
-0.00010205742000835016,
-0.10303635895252228,
0.2112434059381485,
-0.08602530509233475,
-0.09623220562934875,
0.1466747373342514,
-0.016761748120188713,
-0.2162177711725235,
-0.1557338833808899,
-0.031079664826393127,
-0.055358149111270905,
-0.21927060186862946,
0.13622282445430756,
-0.36015254259109497,
0.40590494871139526,
0.23298506438732147,
0.31422436237335205,
0.12103752791881561,
-0.06621203571557999,
-0.5428971648216248,
0.16677799820899963,
-0.17609132826328278,
-0.08801300078630447,
-0.1709437221288681,
0.6022310256958008,
0.0011055972427129745,
0.2329166829586029,
0.34945443272590637,
0.10613545775413513,
-0.1121712476015091,
-0.2722775936126709,
0.01922004111111164,
0.027584027498960495,
-0.2668013572692871,
0.2417481243610382,
-0.026561088860034943,
0.23446014523506165,
-0.20744484663009644,
-0.16839244961738586,
0.09059504419565201,
0.22136147320270538,
-0.00695246085524559,
0.07340329140424728,
-0.051240451633930206,
0.04211922734975815,
0.05981935188174248,
0.03766418993473053,
-0.2306160032749176,
0.014544747769832611,
0.04325871169567108,
0.027421027421951294,
0.2286064177751541,
0.11390360444784164,
-0.06517782062292099,
0.344312459230423,
0.03602924570441246,
0.004037532955408096,
0.1535589098930359,
-0.0929013043642044,
0.1625591218471527,
-0.09776151180267334,
-0.21865686774253845,
-0.01491248607635498,
-0.2541661560535431,
0.13543596863746643,
-0.3249248266220093,
-0.048767730593681335,
-0.08786706626415253,
0.07211807370185852,
0.0608198456466198,
0.08635218441486359,
-0.10752220451831818,
0.4131092131137848,
0.27468034625053406,
0.18042951822280884,
-0.013350171968340874,
0.03821459040045738,
0.18883097171783447,
-0.1736721694469452,
-0.48655760288238525,
-0.17053239047527313,
0.2704577147960663,
0.034984856843948364,
-0.2161080688238144,
-0.056983523070812225,
-0.04804626852273941,
0.0014646798372268677,
-0.23107536137104034,
-0.10099261999130249,
0.4349842071533203,
0.08743572980165482,
0.004568073898553848,
-0.11088602244853973,
0.18043389916419983,
-0.1190326139330864,
-0.4473578631877899,
-0.26988065242767334,
0.09490863978862762,
-0.1321939080953598,
-0.07515101134777069,
0.28050631284713745,
-0.17228318750858307,
0.0880243256688118,
0.18794596195220947,
0.1178722232580185,
0.06955671310424805,
0.03596591204404831,
-0.24390827119350433,
0.20743682980537415,
-0.09378115832805634,
0.36522069573402405,
0.16505621373653412,
-0.04918694868683815,
-0.19040405750274658,
-0.048354629427194595,
0.1777268499135971,
-0.14197316765785217,
0.05947980657219887,
-0.46873295307159424,
0.33931076526641846,
0.04738234728574753,
-0.11738277971744537,
0.17440423369407654,
0.5003991723060608,
-0.012839525938034058,
-0.45801714062690735,
-0.1723180115222931,
-0.035460636019706726,
-0.19006775319576263,
0.10717976838350296,
0.07999173551797867,
0.4414254426956177,
-0.7027193903923035,
-0.06167111173272133,
0.13655823469161987,
-0.19435912370681763,
-0.006953664124011993,
0.35986626148223877,
-0.1969889998435974,
-0.14156877994537354,
-0.2819848656654358,
-0.01577504724264145,
0.40774521231651306,
-0.543084442615509,
-0.130992129445076,
-0.0006245510885491967,
-0.07654525339603424,
-0.3027017414569855,
0.13029745221138,
-0.10259568691253662,
0.320639044046402,
-0.11589714884757996,
-0.04800306260585785,
0.1671270877122879,
-0.25915586948394775,
-0.046110305935144424,
-0.2262718379497528,
0.013401461765170097,
0.031125182285904884,
0.22395218908786774,
0.19078056514263153,
0.022058047354221344,
0.1340688318014145,
0.22881130874156952,
0.24055328965187073,
-0.03077210858464241,
0.14169862866401672,
0.2393641620874405,
0.13153985142707825,
-0.17228233814239502,
0.10373334586620331,
0.09047200530767441,
-0.3090879023075104,
-0.008745245635509491,
-0.21249528229236603,
0.23021261394023895,
0.3084380626678467,
-0.11831261217594147,
-0.2792379558086395,
-0.2692355513572693,
-0.30445536971092224,
-0.15389451384544373,
0.27184927463531494,
0.2539583742618561,
-0.236586332321167,
-0.24033592641353607,
-0.10469771921634674,
-0.009466320276260376,
-0.13361312448978424,
-0.060378268361091614,
0.1043957769870758,
0.2763853371143341,
-0.40150707960128784,
-0.16625657677650452,
-0.06697345525026321,
0.17059123516082764,
-0.015766657888889313,
-0.040053851902484894,
0.009999612346291542,
0.19581297039985657,
-0.1727520078420639,
0.2797030210494995,
0.5484407544136047,
-0.21493752300739288,
0.19556351006031036,
-0.15564721822738647,
-0.010111445561051369,
-0.14216697216033936,
0.014021850191056728,
-0.09462008625268936,
-0.435820072889328,
0.053280919790267944,
0.1446409970521927,
-0.09132001549005508,
0.15726569294929504,
-0.23276302218437195,
0.3714403212070465,
0.1283182054758072,
-0.18190981447696686,
-0.3676236569881439,
-0.10005240142345428,
0.3659130334854126,
0.089816614985466,
-0.013410864397883415,
-0.21311542391777039,
0.14829443395137787,
0.7456330060958862,
0.046490203589200974,
-0.009612537920475006,
0.074864462018013,
0.03536120057106018,
-0.025379430502653122,
-0.12120379507541656,
0.06921516358852386,
0.36587247252464294,
0.33273637294769287,
0.2185058742761612,
0.023297389969229698,
-0.09087035804986954,
-0.05053742602467537,
0.09319351613521576,
-0.10856208205223083,
0.12279637902975082,
0.28245943784713745,
0.3327691853046417,
-0.011663571931421757,
-0.4314475655555725,
-0.08795664459466934,
0.15800097584724426,
0.0664195865392685,
-0.1368640512228012,
-0.320390909910202,
-0.1621893048286438,
-0.135862797498703,
-0.4851377606391907,
0.1669074445962906,
-0.29215529561042786,
-0.1631649285554886,
0.32109230756759644,
-0.20889851450920105,
0.000021375715732574463,
0.45420128107070923,
0.396799772977829,
0.29398608207702637,
-0.12742775678634644,
-0.08882515877485275,
0.19302672147750854,
0.03799809515476227,
-0.06818700581789017,
0.2695305049419403,
0.2000558227300644,
-0.23716473579406738,
0.13063324987888336,
-0.2353762835264206,
-0.024969179183244705,
-0.20683185756206512,
-0.35890719294548035,
0.21629999577999115,
-0.06501204520463943,
0.06347785145044327,
0.008842453360557556,
0.11005233228206635,
0.05597873032093048,
-0.14134082198143005,
0.11836052685976028,
-0.18146169185638428,
-0.27137938141822815,
-0.30379748344421387,
-0.3496939241886139,
-0.18507057428359985,
-0.18738098442554474,
-0.800092339515686,
-0.2349747270345688,
-0.276479572057724,
-0.14575953781604767,
0.1142297089099884,
0.015565883368253708,
0.016085496172308922,
0.13375554978847504,
0.12835955619812012,
-0.08303990215063095,
0.018104158341884613,
-0.355266273021698,
0.06310299038887024,
0.31005266308784485,
-0.27450716495513916,
-0.18414689600467682,
0.1439276933670044,
0.1704283505678177,
0.2540550231933594,
-0.4515511989593506,
-0.007436990737915039,
-0.19347365200519562,
0.06874929368495941,
0.09309759736061096,
-0.07238005101680756,
0.13780640065670013,
0.4797030985355377,
0.02572215534746647,
-0.3064717650413513,
-0.16692036390304565,
-0.4195151627063751,
0.1158958226442337,
0.17366862297058105,
0.2063940316438675,
-0.6912325024604797,
0.044020891189575195,
-0.03570004180073738,
0.6642658710479736,
0.1556350439786911,
0.17432455718517303,
0.09621100127696991,
-0.046006880700588226,
0.3034847676753998,
-0.2651100754737854,
-0.2950620949268341,
0.19775912165641785,
0.03456476330757141,
0.1302357167005539,
0.41615021228790283,
-0.021706897765398026,
-0.36523517966270447,
-0.12995702028274536,
0.198964923620224,
-0.22469201683998108,
0.03303534910082817,
0.05850044637918472,
0.3444744348526001,
0.03531978651881218,
0.15043167769908905,
-0.03560298681259155,
-0.3350151479244232,
-0.03397424891591072,
-0.12128263711929321,
0.0217415913939476,
-0.011591300368309021,
0.05423669517040253,
-0.612501323223114,
0.22965997457504272,
-0.06611763685941696,
0.23924031853675842,
0.04773498326539993,
0.16325698792934418,
-0.11113241314888,
-0.11166784167289734,
-0.13231907784938812,
-0.04137374088168144,
0.3668643534183502,
-0.1926296204328537,
-0.14232923090457916,
0.03708423301577568,
0.12841762602329254,
-0.18447791039943695,
-0.2620830535888672,
-0.3108046054840088,
-0.046130888164043427,
0.4215310513973236,
0.13774888217449188,
-0.07455514371395111,
-0.1358291655778885,
0.4564932882785797,
0.06387452781200409,
0.06998839974403381,
-0.08358435332775116,
-0.4083244204521179,
-0.07337247580289841,
-0.2889334261417389,
0.15672442317008972,
0.1827232539653778,
-0.07833518832921982,
-0.23429451882839203,
-0.318030446767807,
0.4141775965690613,
-0.2241712510585785,
0.27564603090286255,
0.3767867684364319,
0.11961697787046432,
0.40250927209854126,
0.027937084436416626,
0.1254948377609253,
-0.13626506924629211,
0.02658252976834774,
0.39716970920562744,
-0.17953874170780182,
-0.24963393807411194,
0.3858945667743683,
-0.4741596281528473,
0.394355446100235,
0.4278183579444885,
0.13181611895561218,
0.1440582275390625,
-0.21259969472885132,
-0.18691720068454742,
0.14965461194515228,
-0.11802632361650467,
0.4167162775993347,
0.07263121753931046,
-0.09291476756334305,
-0.16261467337608337,
-0.039463020861148834,
0.14053049683570862,
-0.1627872735261917,
0.008810695260763168,
-0.12902696430683136,
-0.14582031965255737,
0.033953506499528885,
0.021283410489559174,
0.8126261234283447,
-0.023023098707199097,
0.02137267030775547,
-0.06734292209148407,
-0.169276624917984,
0.318339467048645,
0.0010609105229377747,
0.12958376109600067,
-0.1907917708158493,
-0.0730709433555603,
0.1759844571352005,
-0.008679628372192383,
0.21279916167259216,
0.11719457060098648,
-0.5540792346000671,
0.1941308081150055,
-0.06777630746364594,
0.30444273352622986,
0.0693315640091896,
0.29538848996162415,
0.09337281435728073,
-0.2757360339164734,
-0.14440935850143433,
0.2392466962337494,
0.04255688935518265,
-0.10561230778694153,
-0.19713270664215088,
-0.1197562962770462,
0.004459120333194733,
-0.1965230405330658,
-0.08375219255685806,
0.13813316822052002,
-0.243119016289711,
0.03560059517621994,
0.1173744648694992,
-0.03568580374121666,
0.20440730452537537,
0.4623905420303345,
0.40058547258377075,
0.12230660021305084,
-0.023317111656069756,
0.365121066570282,
0.2310752272605896,
0.08668474853038788,
-0.024146871641278267,
-0.1442788988351822,
-0.02312619425356388,
-0.29463955760002136,
-0.2058880627155304,
0.21226373314857483,
-0.01337275467813015,
-0.021547961980104446,
-0.43214622139930725,
0.13272126019001007,
0.13820412755012512,
-0.01942741870880127,
-0.14598114788532257,
0.3554892838001251,
-0.016840064898133278,
-0.41356515884399414,
0.24726082384586334,
-0.1538151055574417,
-0.16814067959785461,
0.024303510785102844,
0.3439873158931732,
-0.2613067626953125,
-0.07183100283145905,
0.38112807273864746,
0.0452897809445858,
-0.21265017986297607,
0.41576889157295227,
0.15441836416721344,
-0.07454432547092438,
-0.39435067772865295,
-0.014634545892477036,
0.17175009846687317,
-0.47648778557777405,
-0.24089397490024567,
-0.05986576899886131,
-0.4817555546760559,
0.2055271714925766,
0.1606108546257019,
0.1672423779964447,
0.17116132378578186,
0.0075224339962005615,
-0.03688180819153786,
-0.1918904036283493,
0.02675151452422142,
-0.08920781314373016,
0.13035669922828674,
0.039998121559619904,
0.27991774678230286,
0.26336947083473206,
0.20534004271030426,
-0.48285743594169617,
0.14482255280017853,
-0.4348624050617218,
0.13335755467414856,
-0.2162289023399353,
-0.07977039366960526,
-0.07819453626871109,
-0.17425908148288727,
0.21419334411621094,
-0.03392961621284485,
-0.30644503235816956,
-0.2909454107284546,
0.08745172619819641,
0.08034707605838776,
-0.162851482629776,
0.1487693339586258,
0.12416287511587143,
0.11420369148254395,
-0.21716059744358063,
0.06674428284168243,
0.04609231278300285,
-0.01952209323644638,
0.059806063771247864,
0.24162383377552032,
-0.09216004610061646,
-0.13795626163482666,
0.3725801110267639,
-0.1477159857749939,
0.31982409954071045,
0.029416874051094055,
0.04165949299931526,
0.254891961812973,
-0.016018306836485863,
-0.19172827899456024,
0.1716386377811432,
0.33836597204208374,
0.09382635354995728,
0.5468342900276184,
-0.20056051015853882,
-0.14912231266498566,
0.12353053689002991,
0.3387383818626404,
0.16180048882961273,
0.08743585646152496,
-0.2158539891242981,
0.13150149583816528,
-0.08472160995006561,
0.3535366952419281,
-0.46979761123657227,
-0.004386803135275841,
0.3314233720302582,
-0.09012748301029205,
0.1948845088481903,
0.20301684737205505,
0.3015996515750885,
0.23195073008537292,
0.4910759925842285,
0.32606741786003113,
0.1359928548336029,
-0.21665209531784058,
0.1923620104789734,
0.12503135204315186,
-0.09335236251354218,
0.04317661002278328,
0.05238807946443558,
-0.13636313378810883,
-0.16029760241508484,
0.116696298122406,
-0.12182677537202835,
0.3870505094528198,
0.2895658612251282,
0.2442779541015625,
0.4881523549556732,
-0.09216485917568207,
0.18939515948295593,
0.2550444006919861,
0.06085369735956192,
0.053119949996471405,
0.1531103551387787,
0.4673503339290619,
-0.23038199543952942,
-0.4754435420036316,
-0.2703781723976135,
-0.04674667492508888,
-0.1721194088459015,
-0.07412935793399811,
-0.1452184021472931,
-0.30428776144981384,
-0.320050984621048,
-0.06184761971235275,
0.04616400599479675,
0.12334795296192169,
-0.05238911509513855,
-0.0688890814781189,
0.07026581466197968,
-0.014704806730151176,
0.06950260698795319,
-0.06005772203207016,
-0.008434176445007324,
-0.197245255112648,
0.4230113625526428,
-0.10489195585250854,
-0.07322028279304504,
0.40236982703208923,
0.3309858739376068,
0.17659355700016022,
0.15647083520889282,
0.2045549750328064,
-0.047806113958358765,
-0.07974246144294739,
-0.14266453683376312,
-0.011553328484296799,
0.0060123782604932785,
0.28117379546165466,
-0.142843097448349,
0.3384646475315094,
0.27282822132110596,
-0.22143007814884186,
-0.003573872148990631,
0.11023563146591187,
-0.23944658041000366,
-0.04673217609524727,
-0.04531266540288925,
-0.10746580362319946,
-0.035764653235673904,
-0.26127901673316956,
0.0952257290482521,
-0.26639387011528015,
-0.04150400683283806,
0.1762172132730484,
-0.04901408404111862,
-0.07509447634220123,
-0.10372719168663025,
0.150985985994339,
0.24588534235954285,
0.3403385877609253,
-0.023172836750745773,
0.07671768963336945,
-0.08780072629451752,
-0.23915430903434753,
-0.5128492116928101,
0.18493658304214478,
0.14824900031089783,
0.4469568431377411,
-0.22865337133407593,
0.28947657346725464,
0.3989934027194977,
0.1543850302696228,
0.5748507976531982,
-0.35426658391952515,
0.17554137110710144,
-0.05048878490924835,
-0.5223178267478943,
0.11745917797088623,
0.3994697332382202,
0.1832883059978485,
0.21796990931034088,
-0.12129900604486465,
0.05346401780843735,
-0.15632310509681702,
0.2258388102054596,
0.018241865560412407,
-0.3094269037246704,
0.10720106959342957,
-0.06037410348653793,
0.3085593581199646,
-0.0460570827126503,
0.4388241767883301,
-0.26095616817474365,
0.05700574070215225,
-0.06200103834271431,
-0.2997637093067169,
-0.19719430804252625,
0.1960355043411255,
0.2910280227661133,
0.2964754104614258,
-0.09235582500696182,
-0.06542417407035828,
0.02853737585246563,
0.09302748739719391,
0.08339235186576843,
0.29651689529418945,
-0.4368297755718231,
0.19029244780540466,
0.18494060635566711,
0.14133809506893158,
-0.375424325466156,
0.10936138033866882,
-0.09505502879619598,
-0.14776305854320526,
-0.3554932475090027,
-0.2823549211025238,
0.49818047881126404,
0.2921927273273468,
-0.22229687869548798,
-0.4145699739456177,
0.15625794231891632,
0.44135355949401855,
0.025206308811903,
-0.3673783838748932,
-0.046210579574108124,
0.0895436704158783,
0.06780494004487991,
-0.32388797402381897,
0.1927996575832367,
-0.21918122470378876,
0.14721204340457916,
0.001515224575996399,
-0.007567353546619415,
0.18079733848571777,
-0.08511672914028168,
-0.11519400775432587,
-0.20088337361812592
] |
https://github.com/huggingface/datasets/pull/173 | Rm extracted test dirs | Thanks for cleaning up the extracted dummy data folders! Instead of changing the file_utils we could also just put these folders under `.gitignore` (or maybe already done?). | All the dummy data used for tests were duplicated. For each dataset, we had one zip file but also its extracted directory. I removed all these directories
Furthermore instead of extracting next to the dummy_data.zip file, we extract in the temp `cached_dir` used for tests, so that all the extracted directories get removed after testing.
Finally there was a bug in the `mock_download_manager` that would let it create directories with invalid names, as in #172. I fixed that by encoding url arguments. I had to rename the dummy data for `scientific_papers` and `cnn_dailymail` (the aws tests don't pass for those 2 in this PR, but they will once aws will be synced, as the local ones do)
Let me know if it sounds good to you @patrickvonplaten . I'm still not entirely familiar with the mock downloader | 27 | text: Rm extracted test dirs
All the dummy data used for tests were duplicated. For each dataset, we had one zip file but also its extracted directory. I removed all these directories
Furthermore instead of extracting next to the dummy_data.zip file, we extract in the temp `cached_dir` used for tests, so that all the extracted directories get removed after testing.
Finally there was a bug in the `mock_download_manager` that would let it create directories with invalid names, as in #172. I fixed that by encoding url arguments. I had to rename the dummy data for `scientific_papers` and `cnn_dailymail` (the aws tests don't pass for those 2 in this PR, but they will once aws will be synced, as the local ones do)
Let me know if it sounds good to you @patrickvonplaten . I'm still not entirely familiar with the mock downloader
Thanks for cleaning up the extracted dummy data folders! Instead of changing the file_utils we could also just put these folders under `.gitignore` (or maybe already done?). | [
0.0000040531158447265625,
0.22405418753623962,
-0.09051074087619781,
0.16122952103614807,
0.06304849684238434,
-0.05186590552330017,
0.2013096660375595,
0.40518853068351746,
0.16519957780838013,
0.23816680908203125,
-0.15595611929893494,
0.30421534180641174,
0.02659311331808567,
0.12776459753513336,
-0.13189250230789185,
-0.13023295998573303,
-0.10264483839273453,
0.03915576636791229,
-0.20123052597045898,
0.14811798930168152,
-0.06303860247135162,
0.3011714518070221,
0.004207924008369446,
0.0380648709833622,
-0.10628731548786163,
0.02397049218416214,
-0.23461760580539703,
0.20579195022583008,
-0.3675040900707245,
-0.3767017722129822,
0.04250984638929367,
0.09283344447612762,
0.02509257197380066,
0.588867723941803,
-0.00010464363731443882,
-0.019070517271757126,
0.4073203206062317,
-0.13552533090114594,
-0.3716989755630493,
-0.04910831153392792,
0.019388951361179352,
-0.11161479353904724,
-0.002041927771642804,
-0.22193795442581177,
-0.0485176146030426,
0.04498812183737755,
-0.20362427830696106,
0.24445292353630066,
0.27689188718795776,
0.4989384114742279,
0.29334720969200134,
0.28541478514671326,
-0.08895376324653625,
-0.08208311349153519,
0.2897190451622009,
-0.06825293600559235,
-0.24503324925899506,
0.3109513521194458,
0.0736427754163742,
0.02379886619746685,
0.12575946748256683,
0.12815982103347778,
-0.011049754917621613,
0.4870187044143677,
-0.1280234158039093,
0.05756433308124542,
0.2976704239845276,
-0.2527741491794586,
-0.21959689259529114,
0.023174773901700974,
0.3581951856613159,
-0.1626376211643219,
-0.27039599418640137,
0.04065290093421936,
0.010622859932482243,
-0.0659194067120552,
0.27920833230018616,
0.13081099092960358,
-0.2393980473279953,
0.053179796785116196,
-0.2258995771408081,
-0.09916428476572037,
-0.08238113671541214,
0.17266550660133362,
-0.3311590552330017,
0.20326805114746094,
-0.11747169494628906,
-0.02699322998523712,
0.29071417450904846,
0.11472202092409134,
-0.11375733464956284,
-0.30183786153793335,
-0.07080377638339996,
-0.07013298571109772,
-0.0036126263439655304,
-0.3468523323535919,
-0.2731175124645233,
-0.27252888679504395,
-0.003010867163538933,
0.516362726688385,
0.06727275997400284,
0.021001294255256653,
0.11106396466493607,
0.041147343814373016,
-0.12759295105934143,
0.5001518130302429,
-0.05574587732553482,
0.45632806420326233,
0.08474117517471313,
0.553183376789093,
-0.06286388635635376,
-0.017884232103824615,
0.12120002508163452,
-0.2012283205986023,
-0.46809566020965576,
0.18718475103378296,
0.17875981330871582,
-0.2815288305282593,
-0.10263804346323013,
0.08061181008815765,
-0.08561506122350693,
0.04613212123513222,
-0.27468743920326233,
0.17080718278884888,
0.008515110239386559,
-0.08222508430480957,
0.11005911231040955,
0.29687535762786865,
-0.06304001063108444,
-0.07636949419975281,
-0.11174891144037247,
0.17385143041610718,
-0.22001801431179047,
0.04973509907722473,
0.23689822852611542,
-0.14380872249603271,
0.32091787457466125,
-0.0024107666686177254,
0.07081986218690872,
-0.21142831444740295,
0.33731260895729065,
0.13995453715324402,
0.16482073068618774,
0.5400436520576477,
0.19635197520256042,
0.1302565187215805,
0.08841574192047119,
-0.09371784329414368,
-0.13388508558273315,
0.16731920838356018,
-0.1597456932067871,
-0.2681325078010559,
0.08879761397838593,
0.2833748459815979,
-0.30767226219177246,
-0.050907522439956665,
-0.14337307214736938,
-0.3526482582092285,
-0.24993717670440674,
-0.05119313299655914,
0.14691753685474396,
-0.1470029354095459,
0.03024091199040413,
0.04489338397979736,
0.08786025643348694,
0.32211944460868835,
-0.0815795511007309,
0.04196653515100479,
-0.4117494225502014,
0.057659950107336044,
0.5085516571998596,
0.27491381764411926,
-0.08629373461008072,
0.3441225290298462,
-0.43170469999313354,
0.18839706480503082,
0.23000964522361755,
-0.1578029841184616,
-0.12387558817863464,
0.46108734607696533,
-0.14604899287223816,
0.22950147092342377,
0.09348250180482864,
-0.43151143193244934,
-0.18210700154304504,
-0.12672749161720276,
-0.33527901768684387,
-0.08998293429613113,
0.05858980864286423,
0.1377074420452118,
-0.39479872584342957,
-0.339624285697937,
-0.14336511492729187,
-0.025416750460863113,
-0.014130529016256332,
0.09285352379083633,
-0.16628497838974,
-0.45774075388908386,
0.27828601002693176,
-0.04619554057717323,
-0.1150469109416008,
0.04414837807416916,
0.10192009061574936,
-0.2411028891801834,
0.007833367213606834,
0.22582772374153137,
-0.07314353436231613,
0.3445090055465698,
-0.3678154945373535,
0.43344560265541077,
-0.18255029618740082,
-0.09931603074073792,
-0.48102816939353943,
-0.19758112728595734,
-0.16390016674995422,
-0.4186929166316986,
0.18255901336669922,
0.26352638006210327,
0.10122206807136536,
-0.07937034964561462,
0.05891227349638939,
-0.17884989082813263,
0.0222811046987772,
0.13166218996047974,
-0.18923531472682953,
0.1669187992811203,
-0.24015147984027863,
-0.06965594738721848,
0.20307566225528717,
-0.24900037050247192,
0.06714390963315964,
-0.4669363796710968,
-0.15654733777046204,
0.24141547083854675,
0.20079480111598969,
0.2842453420162201,
0.46811628341674805,
0.014189034700393677,
-0.00008009560406208038,
-0.08827994763851166,
0.0566253662109375,
0.41788607835769653,
-0.08130424469709396,
0.09362231940031052,
-0.2435760498046875,
0.26382961869239807,
0.061362240463495255,
-0.05035097151994705,
-0.18572811782360077,
0.03474803268909454,
0.23639458417892456,
-0.23953740298748016,
0.061069853603839874,
-0.08106188476085663,
0.27066436409950256,
0.3485642969608307,
0.02778548002243042,
0.0294102244079113,
0.23294943571090698,
0.03245420753955841,
-0.1612870991230011,
-0.18902020156383514,
-0.16857707500457764,
0.16548646986484528,
-0.10216490179300308,
-0.15158164501190186,
-0.019040485844016075,
0.31439408659935,
0.4572206735610962,
0.08682563900947571,
0.3490419089794159,
0.16640648245811462,
0.05715673416852951,
-0.34524038434028625,
0.48160868883132935,
0.16048255562782288,
-0.2804599404335022,
0.28432542085647583,
-0.10517557710409164,
-0.24547754228115082,
-0.30294153094291687,
0.11015020310878754,
0.334387868642807,
0.4430830776691437,
-0.2362925410270691,
-0.07900894433259964,
-0.18281885981559753,
-0.15021252632141113,
-0.18319733440876007,
0.005604496691375971,
0.00022755376994609833,
-0.25766587257385254,
0.3137338161468506,
0.2531319856643677,
-0.4723541736602783,
0.21178047358989716,
0.12961287796497345,
0.34759068489074707,
-0.030833400785923004,
0.03592558205127716,
-0.513084888458252,
-0.016432901844382286,
-0.2768724858760834,
0.23685100674629211,
0.3459918200969696,
0.0009161210618913174,
0.2516574561595917,
-0.36686593294143677,
-0.11609543114900589,
-0.4118722975254059,
-0.11859253793954849,
0.16210554540157318,
0.1305479109287262,
0.5225484371185303,
0.19567999243736267,
0.16493043303489685,
0.30062568187713623,
-0.018469560891389847,
0.019977765157818794,
-0.22301426529884338,
-0.26138123869895935,
-0.0000073015689849853516,
0.053729236125946045,
0.065776027739048,
-0.1825707107782364,
-0.7553159594535828,
-0.03221496194601059,
-0.1684034913778305,
-0.11103098094463348,
0.1439477503299713,
0.13063514232635498,
-0.1813427209854126,
0.1372980922460556,
-0.10008648782968521,
0.01730315014719963,
-0.30793124437332153,
-0.27553150057792664,
-0.6620650291442871,
0.16787458956241608,
-0.27621692419052124,
-0.17215172946453094,
0.10405749082565308,
0.07540878653526306,
0.1415461003780365,
-0.20055459439754486,
-0.30552297830581665,
-0.2052682787179947,
0.05165737122297287,
-0.13845856487751007,
0.0038450025022029877,
-0.13858993351459503,
0.27369701862335205,
-0.020795736461877823,
-0.22267617285251617,
0.06514248251914978,
0.22709420323371887,
0.12068361043930054,
0.189045250415802,
0.29922693967819214,
-0.27457210421562195,
-0.11624964326620102,
0.1437133103609085,
0.646697998046875,
0.3781898319721222,
0.12898407876491547,
0.09446687996387482,
-0.022731849923729897,
0.17520901560783386,
0.0016682818531990051,
-0.02504025772213936,
0.00047302222810685635,
0.03297867625951767,
-0.2337506264448166,
0.48105013370513916,
-0.05921986699104309,
-0.11704949289560318,
0.06623784452676773,
0.17987053096294403,
-0.049093056470155716,
-0.42569687962532043,
0.18484432995319366,
-0.2640153765678406,
0.06816346198320389,
0.01911306381225586,
-0.13908453285694122,
-0.03422277048230171,
-0.08756478130817413,
0.19998931884765625,
0.05985942482948303,
0.057657498866319656,
-0.019447417929768562,
-0.35084256529808044,
0.06563132256269455,
-0.3131019175052643,
0.29522258043289185,
0.21158669888973236,
0.05457552894949913,
0.1135985404253006,
-0.061970993876457214,
0.10004580765962601,
-0.00627110293135047,
0.334837406873703,
-0.4940236210823059,
0.02778499945998192,
0.16838885843753815,
-0.1025327742099762,
0.03111010603606701,
-0.3734601140022278,
-0.4173926115036011,
-0.12656176090240479,
0.14625561237335205,
0.05410701781511307,
-0.1555113047361374,
-0.1007930114865303,
0.09860892593860626,
0.0979657843708992,
-0.11636292934417725,
-0.1603260636329651,
-0.12141701579093933,
-0.2493375539779663,
-0.39010778069496155,
0.16299615800380707,
-0.009334538131952286,
-0.1824387162923813,
-0.5197572708129883,
-0.09441995620727539,
0.17707040905952454,
0.09461983293294907,
0.11170918494462967,
-0.0028270818293094635,
0.14367777109146118,
-0.13871286809444427,
-0.005462804809212685,
0.2832103371620178,
-0.1636853963136673,
0.24419496953487396,
0.6376011967658997,
0.05671033635735512,
0.03397282958030701,
-0.016914289444684982,
-0.25789156556129456,
-0.05630596727132797,
0.3011988401412964,
0.14606106281280518,
-0.15498661994934082,
-0.4166406989097595,
0.19747349619865417,
-0.211039200425148,
0.3533812165260315,
0.37974292039871216,
-0.04022650793194771,
0.23183673620224,
0.014132829383015633,
0.14316268265247345,
-0.1600351631641388,
-0.334236741065979,
0.3358598053455353,
-0.39351344108581543,
-0.07531042397022247,
0.1702548712491989,
-0.14369672536849976,
0.8681852221488953,
0.03607495501637459,
0.14852328598499298,
0.184270441532135,
0.009373202919960022,
0.3359144628047943,
-0.35182344913482666,
0.05478345975279808,
-0.20231840014457703,
-0.0694156289100647,
0.012393651530146599,
-0.1268586963415146,
0.35491907596588135,
0.14671415090560913,
-0.36194953322410583,
0.2991756498813629,
-0.0478639155626297,
0.155401811003685,
0.21624970436096191,
0.2808901369571686,
-0.10153408348560333,
0.14789213240146637,
0.12313536554574966,
0.24587354063987732,
0.07352403551340103,
0.2346086949110031,
-0.014903998002409935,
-0.07775118201971054,
0.002191580832004547,
-0.15685923397541046,
-0.1105932965874672,
0.14360404014587402,
-0.2052592784166336,
-0.044836610555648804,
-0.04695768281817436,
0.06856665015220642,
-0.28180184960365295,
0.16147907078266144,
-0.07448478043079376,
-0.053331803530454636,
-0.2062661349773407,
0.2669169306755066,
-0.29584023356437683,
0.025446252897381783,
0.1496189832687378,
-0.03325099125504494,
0.1205994039773941,
-0.17917457222938538,
-0.3522663712501526,
0.0625658705830574,
-0.026846744120121002,
-0.09749801456928253,
0.20592084527015686,
-0.28901028633117676,
0.044904984533786774,
-0.35124510526657104,
-0.14034613966941833,
-0.15364286303520203,
-0.42227494716644287,
-0.2586464583873749,
0.25163573026657104,
0.015103492885828018,
-0.5170356631278992,
0.3395860195159912,
-0.04708336666226387,
-0.27739667892456055,
-0.08007682859897614,
0.2772073745727539,
-0.13710430264472961,
-0.03896547108888626,
0.3884110450744629,
-0.1049664318561554,
0.16597242653369904,
-0.3914414942264557,
0.02230440080165863,
-0.24188058078289032,
-0.21505779027938843,
0.28002244234085083,
-0.2468850314617157,
-0.1470118910074234,
0.16475383937358856,
0.4226486384868622,
0.42048442363739014,
0.11316164582967758,
-0.18736514449119568,
-0.04660971835255623,
-0.0005065649747848511,
-0.23542912304401398,
0.22721771895885468,
0.48350369930267334,
-0.19219371676445007,
0.11786480247974396,
0.016897687688469887,
0.20459116995334625,
-0.401108980178833,
0.34660404920578003,
-0.4273216128349304,
0.06909474730491638,
-0.13597209751605988,
-0.04139430820941925,
0.2642684578895569,
-0.10756984353065491,
0.15137024223804474,
0.12066838890314102,
-0.13984714448451996,
-0.3367634415626526,
-0.1777573823928833,
0.05964416265487671,
0.1619020402431488,
-0.11671726405620575,
0.21493956446647644,
0.08432965725660324,
0.20404869318008423,
0.1024516224861145,
0.035223111510276794,
-0.21918758749961853,
-0.05451700836420059,
0.16623042523860931,
0.17466618120670319,
-0.2112206220626831,
-0.2825332581996918,
0.001994490623474121,
-0.2686491310596466,
0.253851056098938,
0.0023909038864076138,
-0.066131591796875,
-0.08568505942821503,
-0.09796000272035599,
0.3121524155139923,
-0.038200512528419495,
-0.05030961334705353,
0.4245443642139435,
0.3809513449668884,
0.1423858404159546,
-0.16773925721645355,
-0.2678200602531433,
0.2961115539073944,
0.3270072937011719,
-0.3021836578845978,
-0.27389439940452576,
0.014076080173254013,
0.2989639937877655,
-0.2296494096517563,
-0.2916267216205597,
-0.22791695594787598,
0.11818516999483109,
0.09058824181556702,
0.13372792303562164,
0.302292138338089,
-0.10397246479988098,
0.49825042486190796,
0.12498871237039566,
0.2688254117965698,
-0.06287114322185516,
0.17838561534881592,
0.05287697911262512,
-0.3413477838039398,
0.05767761543393135,
0.028801415115594864,
-0.40040963888168335,
0.00008536875247955322,
-0.07570001482963562,
-0.0665849968791008,
0.3327487111091614,
0.013822164386510849,
0.05492451786994934,
0.027391090989112854,
-0.03700333833694458,
-0.014453016221523285,
0.1341525912284851,
0.0736231729388237,
0.3667282462120056,
0.33128899335861206,
0.15111508965492249,
-0.2612607777118683,
-0.26802241802215576,
-0.35761478543281555,
0.1687280535697937,
0.09280049800872803,
0.01442229188978672,
-0.5548473596572876,
-0.12392351776361465,
-0.2118682712316513,
0.094682976603508,
0.04293113574385643,
0.018115267157554626,
0.3587937355041504,
0.23828056454658508,
-0.22934319078922272,
-0.15119948983192444,
-0.26358112692832947,
-0.013573657721281052,
0.27215856313705444,
-0.2684671878814697,
-0.01078111119568348,
0.32143324613571167,
-0.2233523428440094,
0.07618606835603714,
0.3215729296207428,
0.489783376455307,
-0.13739421963691711,
-0.053247515112161636,
-0.03207273408770561,
-0.06344902515411377,
0.034256428480148315,
-0.11106676608324051,
0.19359074532985687,
-0.04236571490764618,
-0.20532679557800293,
0.10898792743682861,
0.27084919810295105,
-0.2609058916568756,
0.019925275817513466,
-0.0268087275326252,
-0.20370779931545258,
-0.1319693624973297,
0.7476271390914917,
0.17772267758846283,
0.021703384816646576,
-0.13115279376506805,
-0.050662167370319366,
-0.4346257746219635,
0.2641187310218811,
0.17152589559555054,
-0.1780671924352646,
0.14084205031394958,
0.06732859462499619,
0.12418791651725769,
0.005750203505158424,
0.5783243179321289,
0.21710874140262604,
-0.029443934559822083,
-0.5844966173171997,
-0.284739226102829,
-0.3940715789794922,
0.1844036877155304,
-0.020287800580263138,
-0.05207264423370361,
-0.028138794004917145,
0.0033079497516155243,
0.05671541020274162,
0.07778263092041016,
-0.10462601482868195,
-0.06123550608754158,
-0.0958794429898262,
0.3144749701023102,
-0.6288297176361084,
0.08581312000751495,
-0.15797977149486542,
0.051257215440273285,
0.139472097158432,
-0.44031473994255066,
0.28287723660469055,
-0.09141252934932709,
0.10461197048425674,
0.2661980390548706,
-0.09724853932857513,
0.4129153788089752,
0.2393735945224762,
0.2401672601699829,
0.013878582045435905,
0.4212675988674164,
-0.208730548620224,
-0.05667775869369507,
-0.0594414584338665,
0.001320449635386467,
-0.09728140383958817,
-0.04883973300457001,
-0.04855573549866676,
0.3044056296348572,
-0.051153458654880524,
0.21818219125270844,
-0.4093168377876282,
-0.05663468316197395,
0.17364490032196045,
0.13243596255779266,
-0.30963999032974243,
-0.04457494243979454,
-0.06348389387130737,
0.10704205930233002,
0.2364242523908615,
0.43617022037506104,
-0.059438228607177734,
0.05374249070882797,
-0.2813297510147095,
-0.09336155652999878,
0.6181426048278809,
0.31407588720321655,
-0.3089289665222168,
-0.013843463733792305,
0.29578307271003723,
0.12628908455371857,
0.19861899316310883,
-0.4134189486503601,
0.07936272770166397,
0.21236664056777954,
0.11462713778018951,
-0.011782921850681305,
0.3371870815753937,
0.23013047873973846,
0.1510818600654602,
-0.07603147625923157,
0.5745207667350769,
0.24741241335868835,
-0.058708805590867996,
-0.08666019141674042,
-0.20467610657215118
] |