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/2329 | Add cache dir for in-memory datasets | Hi,
I'm fine with that. I agree this adds too much complexity. Btw, I like the idea of reverting default in-memory for small datasets that led to this PR. | Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq.
Should fix #2322 | 29 | text: Add cache dir for in-memory datasets
Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq.
Should fix #2322
Hi,
I'm fine with that. I agree this adds too much complexity. Btw, I like the idea of reverting default in-memory for small datasets that led to this PR. | [
-0.1743069291114807,
0.051305755972862244,
-0.12986275553703308,
0.20375147461891174,
0.26132631301879883,
0.09548046439886093,
0.1636611372232437,
0.3100228011608124,
0.057295236736536026,
0.27866700291633606,
-0.027352530509233475,
0.1394795924425125,
0.04813460633158684,
-0.0402490608394146,
-0.048528119921684265,
0.17048518359661102,
-0.0003595203161239624,
-0.0015278160572052002,
-0.27386265993118286,
0.032592274248600006,
-0.29391705989837646,
0.0398753359913826,
-0.03219358250498772,
-0.34051376581192017,
-0.2949114441871643,
-0.02790176309645176,
0.07276123762130737,
0.2834020256996155,
-0.06208048760890961,
-0.4022080600261688,
0.28806304931640625,
0.10417231917381287,
0.02334362268447876,
0.07127892971038818,
-0.0000958768287091516,
0.11844761669635773,
0.23985758423805237,
-0.11774024367332458,
-0.11679151654243469,
0.42740488052368164,
-0.32010000944137573,
-0.06770914047956467,
-0.023976264521479607,
-0.23234647512435913,
0.12309467047452927,
0.22354818880558014,
0.13131648302078247,
-0.4472775161266327,
0.09619669616222382,
0.17827190458774567,
0.4058831036090851,
-0.06462390720844269,
-0.29316839575767517,
-0.0983499065041542,
0.03698812797665596,
0.05080203339457512,
-0.22597596049308777,
-0.19412146508693695,
0.14110003411769867,
-0.06624685972929001,
-0.11767447739839554,
0.5778236985206604,
0.031844161450862885,
0.2830979526042938,
0.2959434986114502,
-0.099424347281456,
0.03730342537164688,
-0.008716490119695663,
0.11236724257469177,
-0.20706409215927124,
0.6452836394309998,
-0.27589452266693115,
-0.132156640291214,
-0.11269348859786987,
-0.20843803882598877,
-0.22125113010406494,
0.20369493961334229,
-0.09074034541845322,
-0.03813204914331436,
0.12158043682575226,
-0.1304003894329071,
-0.17979547381401062,
-0.1274401992559433,
-0.2613021731376648,
0.06628495454788208,
0.11891600489616394,
0.022096607834100723,
-0.1406199038028717,
0.051824960857629776,
0.004107292741537094,
0.21864090859889984,
0.10793434828519821,
-0.19294998049736023,
-0.10634280741214752,
-0.15848477184772491,
-0.09416171908378601,
0.250431627035141,
0.10241251438856125,
0.19323357939720154,
0.0034076981246471405,
0.18346673250198364,
0.12115191668272018,
0.07054279744625092,
-0.05590473860502243,
-0.021148741245269775,
0.3110958933830261,
-0.05218563228845596,
0.05847157537937164,
0.29321369528770447,
-0.15690502524375916,
-0.04714778810739517,
-0.17327523231506348,
0.09078704565763474,
-0.3292222023010254,
0.3194025456905365,
0.1600891649723053,
0.12211838364601135,
-0.3789299726486206,
-0.06684484332799911,
0.08199005573987961,
-0.07657985389232635,
0.04797906056046486,
0.09034095704555511,
0.44239282608032227,
0.07843928784132004,
0.10804864764213562,
0.13783524930477142,
-0.11019721627235413,
-0.24015873670578003,
-0.039283860474824905,
-0.3088464140892029,
0.038027048110961914,
-0.2515949010848999,
0.22772866487503052,
0.352474182844162,
0.14325033128261566,
0.2013239711523056,
-0.2299080342054367,
0.17081034183502197,
0.042006850242614746,
0.16760419309139252,
-0.10361193120479584,
0.3891841769218445,
0.28139886260032654,
-0.03861401230096817,
0.1283598095178604,
0.06834908574819565,
0.005308810621500015,
-0.19637879729270935,
0.2579036355018616,
-0.0803188607096672,
-0.6334163546562195,
0.04981479048728943,
0.3716750741004944,
0.0016654320061206818,
-0.10153093934059143,
0.1636771708726883,
0.081592857837677,
0.1136656254529953,
-0.17282554507255554,
0.0715036541223526,
0.06050648167729378,
-0.13213719427585602,
-0.15093305706977844,
0.07154297083616257,
0.4518522620201111,
-0.35986584424972534,
0.17705276608467102,
-0.11026822775602341,
-0.005591832101345062,
0.20865023136138916,
0.18436986207962036,
-0.19320698082447052,
0.143839493393898,
-0.2531757652759552,
0.024105004966259003,
0.07181903719902039,
-0.39775070548057556,
-0.5289599895477295,
0.04834597930312157,
-0.08888047188520432,
-0.2081814557313919,
0.2181936502456665,
0.27017998695373535,
-0.06549239158630371,
-0.10220671445131302,
0.1268635243177414,
0.13816633820533752,
-0.10990417003631592,
0.27118444442749023,
-0.5151922106742859,
-0.10842879116535187,
0.0676439180970192,
0.11491544544696808,
0.26577886939048767,
0.16656000912189484,
-0.010964058339595795,
0.12089116126298904,
0.20707255601882935,
-0.06029520556330681,
0.11594121158123016,
0.31498831510543823,
0.4622618556022644,
-0.07558339834213257,
0.1519879251718521,
-0.041942231357097626,
-0.35315215587615967,
0.08406151086091995,
0.14648526906967163,
0.09141112864017487,
-0.0964968204498291,
-0.33030837774276733,
-0.15767276287078857,
-0.10016480088233948,
-0.11353898048400879,
-0.26240473985671997,
0.363895446062088,
0.05294547230005264,
0.13416095077991486,
-0.34332141280174255,
0.02977733686566353,
0.3220316469669342,
-0.07826967537403107,
-0.10911813378334045,
0.08294239640235901,
-0.030200611799955368,
-0.2312963455915451,
-0.034983161836862564,
-0.06753038614988327,
0.022578615695238113,
0.12800301611423492,
0.05568293482065201,
-0.17498043179512024,
0.29621678590774536,
0.06048159673810005,
0.004391603171825409,
0.2373637855052948,
0.2705630958080292,
-0.0471792072057724,
-0.1210741251707077,
0.08687354624271393,
-0.17367400228977203,
0.10837395489215851,
0.10246927291154861,
-0.20115149021148682,
0.11389137804508209,
0.04234255850315094,
0.056323111057281494,
0.026277072727680206,
-0.20320415496826172,
0.16087673604488373,
-0.11593511700630188,
0.26806172728538513,
-0.3554876148700714,
0.09699034690856934,
0.3179856240749359,
0.11747242510318756,
0.18198499083518982,
-0.3205578923225403,
0.2577875554561615,
0.025707097724080086,
0.22397038340568542,
0.021976519376039505,
0.09652633965015411,
0.05608484894037247,
-0.15788400173187256,
0.2604682147502899,
0.24871878325939178,
0.3485604524612427,
0.4163441061973572,
0.11471635848283768,
0.03760611265897751,
0.15768854320049286,
-0.181900754570961,
0.31942182779312134,
-0.06951247155666351,
0.13789689540863037,
0.16097363829612732,
0.26050376892089844,
-0.26196524500846863,
-0.40421387553215027,
0.013327367603778839,
0.15512190759181976,
0.28937795758247375,
-0.15044616162776947,
-0.09471417218446732,
-0.24731773138046265,
-0.5170120000839233,
-0.016845405101776123,
0.1043582484126091,
-0.014175090938806534,
-0.3256114423274994,
0.2836063504219055,
0.046362604945898056,
-0.42235469818115234,
0.19037805497646332,
-0.1936618983745575,
0.4292064905166626,
0.11925773322582245,
0.02526860311627388,
-0.23792919516563416,
-0.10072530061006546,
-0.07374143600463867,
0.2060733437538147,
0.13656161725521088,
-0.05833614245057106,
0.38760265707969666,
-0.019938664510846138,
0.17483261227607727,
-0.4717111587524414,
-0.25164681673049927,
0.11825256049633026,
0.13744810223579407,
0.1893949657678604,
0.0817577987909317,
0.22111192345619202,
0.0625709742307663,
-0.15392479300498962,
0.07675410062074661,
-0.1738509237766266,
-0.028948690742254257,
-0.18021808564662933,
-0.029021047055721283,
0.1260250061750412,
-0.3359847068786621,
-0.4274963438510895,
-0.032208360731601715,
-0.46827760338783264,
0.03708145022392273,
-0.07810596376657486,
0.21727824211120605,
0.3148093819618225,
-0.09180217981338501,
-0.1576758772134781,
0.12648504972457886,
0.050121091306209564,
-0.4086272120475769,
-0.3361976146697998,
0.3825765550136566,
-0.2696113586425781,
-0.0889689177274704,
-0.10188671201467514,
0.08309131860733032,
0.14049579203128815,
0.12317932397127151,
-0.324415922164917,
-0.3349416255950928,
-0.16582690179347992,
0.12036800384521484,
-0.019009366631507874,
0.00891907885670662,
0.43298378586769104,
0.04663770645856857,
-0.34876886010169983,
-0.2668553590774536,
-0.22597669064998627,
0.25848501920700073,
-0.1645154058933258,
0.10537312179803848,
-0.2471236288547516,
0.18575361371040344,
0.1931433528661728,
0.4074799418449402,
-0.22592061758041382,
0.25364840030670166,
0.2811703383922577,
0.16552428901195526,
0.4263761341571808,
-0.2091900110244751,
0.11270372569561005,
0.048932675272226334,
0.08123649656772614,
-0.47087717056274414,
0.23266173899173737,
0.14482644200325012,
-0.34992390871047974,
0.06494712829589844,
0.08678138256072998,
-0.002275317907333374,
-0.252448707818985,
0.1193561851978302,
0.008261460810899734,
0.08987121284008026,
0.32826998829841614,
-0.11234535276889801,
-0.5292952656745911,
0.033825136721134186,
0.11500149965286255,
0.1204051673412323,
0.06794507056474686,
-0.024051794782280922,
-0.24478240311145782,
-0.1298072636127472,
-0.4965304732322693,
0.11386768519878387,
0.1497720628976822,
0.12491770088672638,
-0.12715797126293182,
-0.38226696848869324,
-0.010922625660896301,
-0.05198889970779419,
0.47979801893234253,
-0.24583320319652557,
-0.03965245932340622,
0.05236957594752312,
-0.11709323525428772,
0.1488204300403595,
-0.08730201423168182,
0.01515144482254982,
0.34570109844207764,
0.09927532076835632,
-0.09296901524066925,
-0.11856808513402939,
-0.14489592611789703,
0.041161373257637024,
-0.02233733981847763,
-0.1684846431016922,
-0.26483476161956787,
-0.08959534764289856,
-0.30922552943229675,
-0.1516614407300949,
0.07856874912977219,
0.31162145733833313,
-0.11466486006975174,
0.16076892614364624,
0.11301623284816742,
-0.16726358234882355,
0.06753240525722504,
0.06465749442577362,
-0.00620249193161726,
0.4447014629840851,
0.13195955753326416,
0.09901618957519531,
-0.027057088911533356,
0.16257423162460327,
0.32683104276657104,
0.41709738969802856,
-0.2447197437286377,
0.2556844651699066,
0.07516774535179138,
-0.19418157637119293,
0.10624241083860397,
0.34190577268600464,
-0.02327219769358635,
-0.07777256518602371,
-0.13848857581615448,
0.10722184181213379,
-0.30640357732772827,
0.1986350566148758,
-0.2512035071849823,
-0.050466831773519516,
-0.08698058873414993,
-0.33942076563835144,
0.46960318088531494,
0.15256592631340027,
-0.26858365535736084,
0.5283194780349731,
0.0001714080572128296,
-0.39618054032325745,
0.09733676165342331,
0.183685302734375,
0.8518126606941223,
0.1254037618637085,
0.14909447729587555,
0.08004690706729889,
-0.06705990433692932,
0.17693522572517395,
-0.18692341446876526,
0.2558732032775879,
-0.25976237654685974,
-0.24681194126605988,
0.09280093759298325,
-0.06950485706329346,
-0.1269475221633911,
-0.13855507969856262,
-0.1612696647644043,
0.06553875654935837,
-0.04940967634320259,
-0.012342605739831924,
-0.011085357517004013,
0.0738014280796051,
-0.21854202449321747,
-0.23174263536930084,
-0.015393663197755814,
0.2978912591934204,
0.125887930393219,
-0.0871737152338028,
-0.3665182590484619,
-0.053096115589141846,
0.01599648967385292,
-0.009492380544543266,
-0.00790344923734665,
-0.09366701543331146,
-0.23938371241092682,
0.3175685405731201,
-0.22006440162658691,
0.07913602888584137,
-0.16086848080158234,
0.04943684861063957,
0.2213403284549713,
0.0683898776769638,
-0.23342666029930115,
0.23206211626529694,
0.12014761567115784,
0.29376837611198425,
-0.09037639200687408,
-0.13004641234874725,
0.30351030826568604,
-0.08028876036405563,
-0.008188903331756592,
-0.3217214345932007,
-0.24433784186840057,
-0.2623479962348938,
-0.08088310807943344,
-0.13779282569885254,
0.017594359815120697,
-0.20727206766605377,
-0.10355496406555176,
0.21881966292858124,
-0.12867452204227448,
-0.11085784435272217,
0.33993199467658997,
0.03787314146757126,
0.008811699226498604,
0.1456386148929596,
-0.04683719202876091,
-0.13778755068778992,
0.012501297518610954,
0.14725954830646515,
0.08422377705574036,
0.05905762314796448,
0.3563191890716553,
-0.026891030371189117,
-0.303091824054718,
-0.3015378415584564,
-0.18234902620315552,
0.019437802955508232,
-0.06628928333520889,
0.3361484110355377,
-0.1801982820034027,
-0.24497410655021667,
0.12022572010755539,
0.11365906894207001,
0.12889036536216736,
-0.01030489057302475,
-0.2073335200548172,
0.11426672339439392,
-0.48932892084121704,
0.04505113512277603,
-0.47915688157081604,
0.43316811323165894,
-0.24318164587020874,
0.08666600286960602,
-0.037465423345565796,
-0.071871817111969,
-0.5400288105010986,
-0.05826115608215332,
-0.27969256043434143,
0.12291304022073746,
-0.1827041357755661,
-0.005445439368486404,
0.044118255376815796,
-0.1657576709985733,
0.13792036473751068,
0.2459537833929062,
-0.2587505280971527,
-0.3998834788799286,
0.12634439766407013,
0.07640981674194336,
-0.01928245648741722,
-0.060820020735263824,
-0.0012296875938773155,
-0.09945576637983322,
-0.021618478000164032,
0.028012214228510857,
0.18430475890636444,
0.25285035371780396,
-0.0919213593006134,
0.18888433277606964,
0.14761151373386383,
-0.2123602032661438,
0.038046613335609436,
0.010040231049060822,
0.09880377352237701,
0.23373295366764069,
-0.23095647990703583,
0.10104778409004211,
-0.291206955909729,
-0.06986581534147263,
0.19892236590385437,
0.14607536792755127,
-0.11860428750514984,
0.19510352611541748,
0.1473294496536255,
-0.11632625758647919,
-0.08433327078819275,
0.5390718579292297,
0.19361671805381775,
-0.04192148894071579,
-0.1472209095954895,
-0.08650162070989609,
0.03381849825382233,
0.4407115876674652,
-0.14825138449668884,
-0.0037819461431354284,
-0.13295267522335052,
-0.32784777879714966,
0.1558617353439331,
0.2008717656135559,
0.27805614471435547,
-0.12919247150421143,
0.23121526837348938,
0.3403110206127167,
0.33473843336105347,
-0.4106028079986572,
-0.023000294342637062,
-0.1436179280281067,
-0.06042119488120079,
-0.06770484149456024,
0.4194309115409851,
0.1935412734746933,
0.24412795901298523,
0.5777829885482788,
0.11029281467199326,
0.45804736018180847,
0.25122398138046265,
-0.012337181717157364,
-0.2907470464706421,
-0.09234148263931274,
0.2202669233083725,
0.3399103879928589,
-0.0308668315410614,
0.026523593813180923,
0.1279916912317276,
0.07029597461223602,
-0.10818728804588318,
-0.09863846004009247,
-0.05076562613248825,
-0.05498779937624931,
-0.4481430649757385,
-0.01592440903186798,
-0.08691433072090149,
-0.11994688212871552,
-0.07765617221593857,
0.14775824546813965,
-0.02505498006939888,
0.09406234323978424,
0.31500792503356934,
-0.05256105959415436,
0.035204753279685974,
-0.06956347823143005,
0.1922512948513031,
0.16793975234031677,
0.29799944162368774,
-0.3549911677837372,
0.04568871855735779,
0.020344741642475128,
-0.3817785680294037,
0.21441756188869476,
0.4532393515110016,
0.26531487703323364,
0.25721582770347595,
0.0835961401462555,
-0.17222051322460175,
0.08656595647335052,
-0.01982111670076847,
-0.3482304811477661,
0.09484537690877914,
0.09362025558948517,
0.09593603014945984,
0.10093735158443451,
0.2772836685180664,
-0.27174317836761475,
0.2084132581949234,
-0.024043109267950058,
-0.021906912326812744,
0.06726987659931183,
-0.06690341979265213,
0.3314499855041504,
-0.2034769356250763,
0.06993836164474487,
0.058836329728364944,
-0.35411500930786133,
0.0029658027924597263,
0.244730606675148,
-0.23983246088027954,
0.17849117517471313,
-0.10144075006246567,
0.17674392461776733,
0.06046304479241371,
0.4756729006767273,
0.09297002851963043,
-0.18541306257247925,
-0.2636086046695709,
-0.2502182722091675,
-0.5469800233840942,
0.0883798599243164,
0.06967079639434814,
0.001597018912434578,
0.037741683423519135,
0.25462794303894043,
-0.03284003585577011,
-0.18827469646930695,
0.009439729154109955,
-0.14310918748378754,
0.00708512868732214,
-0.05779872089624405,
-0.4905022084712982,
0.11764644086360931,
0.0940307229757309,
-0.09115441888570786,
0.21434113383293152,
-0.38706931471824646,
0.06306479126214981,
0.1999713033437729,
0.37723028659820557,
-0.15913289785385132,
-0.08252227306365967,
0.18463605642318726,
0.3520450294017792,
0.3912799060344696,
0.10792231559753418,
0.150990828871727,
-0.14121532440185547,
-0.09797833114862442,
-0.2165105640888214,
-0.38444405794143677,
-0.14279372990131378,
-0.31804969906806946,
0.10632932186126709,
0.25036048889160156,
-0.26345542073249817,
-0.03183058276772499,
-0.21942080557346344,
0.05508412420749664,
-0.09964396059513092,
0.2956889271736145,
-0.2972731292247772,
0.2531639635562897,
-0.13794195652008057,
0.2555921673774719,
-0.06220585107803345,
0.2589336633682251,
0.11885340511798859,
0.07114051282405853,
-0.4745534658432007,
-0.43541887402534485,
0.42173612117767334,
0.11209859699010849,
-0.33300840854644775,
-0.05789566412568092,
0.35497772693634033,
0.3277006447315216,
-0.03684553503990173,
-0.5921393632888794,
0.036585234105587006,
0.1417475789785385,
0.01219729520380497,
-0.25970184803009033,
0.2756403982639313,
-0.04954807087779045,
-0.08150790631771088,
-0.08033853024244308,
0.25979310274124146,
0.1200193241238594,
-0.15827661752700806,
-0.23011064529418945,
-0.2093225121498108
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | For optimal storage, it would be better to:
- store only the audio file path in the cache Arrow file
- perform decoding of the audio file (into audio array and sample rate) on the fly, while loading the dataset from cache (or by adding a convenient `load_audio` function) | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 49 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
For optimal storage, it would be better to:
- store only the audio file path in the cache Arrow file
- perform decoding of the audio file (into audio array and sample rate) on the fly, while loading the dataset from cache (or by adding a convenient `load_audio` function) | [
-0.3816871643066406,
-0.1064593642950058,
-0.17874345183372498,
-0.10757900774478912,
-0.01318301260471344,
-0.2746858596801758,
0.19673770666122437,
0.17226479947566986,
-0.10815665125846863,
0.33167439699172974,
-0.16608202457427979,
0.3237476944923401,
-0.33167600631713867,
0.18051688373088837,
-0.05145036429166794,
-0.06143234670162201,
0.03389958292245865,
0.3177827298641205,
-0.043698862195014954,
0.13618221879005432,
0.02919735759496689,
0.05518732964992523,
-0.1962621510028839,
0.054464682936668396,
-0.07417909055948257,
-0.10128457099199295,
0.08149481564760208,
0.05587390437722206,
-0.45192262530326843,
-0.3637114465236664,
-0.005248427391052246,
0.1867402195930481,
-0.03542444854974747,
0.24292907118797302,
-0.00009465671610087156,
-0.2467164546251297,
0.170915424823761,
-0.14594534039497375,
-0.12497515976428986,
-0.22620560228824615,
-0.2281029224395752,
-0.2531034052371979,
-0.1591038554906845,
-0.15333618223667145,
-0.06283490359783173,
-0.12352415174245834,
0.08209528028964996,
-0.23777972161769867,
0.5017294883728027,
0.36324357986450195,
0.2893942594528198,
-0.18472197651863098,
-0.012364745140075684,
0.1121646836400032,
0.33080801367759705,
0.18315362930297852,
-0.23574063181877136,
-0.21466027200222015,
0.42785632610321045,
0.2084254026412964,
0.0009078681468963623,
0.42236894369125366,
-0.21091817319393158,
0.16203409433364868,
0.09804260730743408,
0.07390829920768738,
-0.3548104763031006,
-0.340006947517395,
-0.1057659164071083,
0.20012551546096802,
0.5422661304473877,
-0.454181045293808,
-0.253665566444397,
0.01787387579679489,
-0.03548026084899902,
-0.4307185113430023,
0.004951924085617065,
0.1471545547246933,
-0.37547168135643005,
0.10789203643798828,
-0.22426588833332062,
-0.0893641859292984,
-0.2090766280889511,
-0.047755710780620575,
0.36217212677001953,
-0.15626612305641174,
-0.20723482966423035,
-0.0608905628323555,
0.12844423949718475,
-0.10359756648540497,
-0.10070376098155975,
-0.028690684586763382,
0.05285662040114403,
0.34361615777015686,
0.03208467364311218,
-0.3494560718536377,
-0.14215189218521118,
-0.20726129412651062,
0.061036862432956696,
-0.15759623050689697,
0.04377302527427673,
-0.02878274768590927,
-0.013659542426466942,
0.2877775728702545,
-0.2041582614183426,
-0.10615794360637665,
0.02513236179947853,
-0.1910705715417862,
0.21844719350337982,
-0.20683686435222626,
0.05874327942728996,
-0.20204132795333862,
-0.07329560071229935,
0.03389498591423035,
-0.12513095140457153,
0.15625116229057312,
0.08006312698125839,
-0.26565906405448914,
-0.24010002613067627,
-0.0831952691078186,
0.04485145956277847,
0.01796267367899418,
-0.004819472320377827,
0.30320268869400024,
0.07030752301216125,
0.047675229609012604,
-0.0007627531886100769,
0.3543391823768616,
-0.08080125600099564,
0.0687628760933876,
0.07338578999042511,
0.12300918996334076,
0.08922038972377777,
0.2039683759212494,
0.3244100511074066,
0.31409332156181335,
0.39883366227149963,
0.132313534617424,
0.26299524307250977,
-0.01949959062039852,
0.4296328127384186,
-0.1292482316493988,
-0.0665496364235878,
-0.010412629693746567,
0.054221343249082565,
0.03429831564426422,
-0.1729424148797989,
0.2138790339231491,
-0.2531179189682007,
0.12832918763160706,
-0.05625208467245102,
-0.0760909914970398,
0.11745469272136688,
0.26266151666641235,
-0.0900680273771286,
0.04519561678171158,
0.11628324538469315,
0.3788593113422394,
0.028064608573913574,
-0.6117028594017029,
-0.10979799181222916,
0.033952124416828156,
-0.3803272843360901,
-0.21306662261486053,
0.22032539546489716,
-0.12862657010555267,
-0.12799786031246185,
0.030324488878250122,
-0.044239386916160583,
-0.046840887516736984,
0.09978055208921432,
0.0440223328769207,
0.010252093896269798,
-0.06138811260461807,
0.05261482298374176,
0.23282970488071442,
0.44156506657600403,
-0.5570454001426697,
-0.12130998075008392,
0.05435989424586296,
0.0687875896692276,
-0.08285800367593765,
0.2068972885608673,
0.14380711317062378,
0.39099371433258057,
-0.29435262084007263,
-0.11264239251613617,
0.2913320064544678,
-0.11376583576202393,
0.020724380388855934,
-0.13595889508724213,
-0.3375536799430847,
-0.00807226076722145,
0.10080426931381226,
-0.0985497385263443,
-0.24562186002731323,
-0.08999369293451309,
-0.05136311799287796,
0.12150909006595612,
-0.09300707280635834,
0.08887317031621933,
0.07679297775030136,
0.6556107401847839,
-0.09043242037296295,
-0.09953688830137253,
-0.21864968538284302,
0.5390943288803101,
-0.1127200573682785,
0.021784789860248566,
0.08881430327892303,
-0.1231253445148468,
-0.23765023052692413,
-0.016619103029370308,
-0.20362062752246857,
-0.17175507545471191,
-0.2563292384147644,
0.2825033962726593,
0.1723634898662567,
0.17983569204807281,
-0.17682497203350067,
-0.17897479236125946,
0.027251524850726128,
0.07584342360496521,
-0.19255682826042175,
-0.11041752994060516,
-0.24252700805664062,
-0.09338805079460144,
-0.16057461500167847,
0.13938334584236145,
0.2466064989566803,
-0.13133513927459717,
0.12431760877370834,
-0.11326812207698822,
0.40856173634529114,
0.30185696482658386,
0.2938634157180786,
-0.06426185369491577,
0.22275595366954803,
0.14564715325832367,
-0.3804984390735626,
0.3858796954154968,
0.09572692215442657,
0.331765353679657,
0.050386324524879456,
-0.23976412415504456,
0.11065533012151718,
-0.01748856157064438,
0.07927295565605164,
0.10069189965724945,
-0.24458983540534973,
0.23317843675613403,
0.2053113877773285,
-0.2710428237915039,
0.12676984071731567,
-0.11660867929458618,
-0.2541070878505707,
0.29109424352645874,
-0.23000095784664154,
-0.046915821731090546,
-0.05883163958787918,
0.431003212928772,
0.0006265640258789062,
0.016761526465415955,
0.264904260635376,
-0.10209072381258011,
-0.25102996826171875,
0.10751648992300034,
0.02037045732140541,
0.4630378484725952,
0.3967706561088562,
0.18160897493362427,
-0.1609766036272049,
-0.03766931593418121,
0.010644519701600075,
0.1893892139196396,
-0.19792191684246063,
-0.1865788698196411,
0.18229131400585175,
0.0032135522924363613,
-0.19121012091636658,
-0.21735802292823792,
-0.03252607583999634,
-0.1966739147901535,
0.008143451064825058,
0.0029699020087718964,
-0.2314627766609192,
0.08543525636196136,
-0.01162138395011425,
-0.10430443286895752,
-0.1199767217040062,
0.2521112561225891,
0.2331451177597046,
0.3590582013130188,
0.21597802639007568,
-0.10942940413951874,
0.2588171362876892,
0.13131685554981232,
0.1755675971508026,
-0.016999077051877975,
-0.030412128195166588,
0.13957355916500092,
0.18248164653778076,
-0.03141172230243683,
0.276460200548172,
0.06699614226818085,
0.3724745810031891,
0.31150832772254944,
0.15486347675323486,
0.025545749813318253,
0.1386404037475586,
-0.024886097759008408,
0.055171336978673935,
-0.06818697601556778,
0.26810669898986816,
-0.004252143204212189,
0.1773146092891693,
0.11370591819286346,
-0.385480135679245,
0.12901075184345245,
-0.10955126583576202,
-0.18048691749572754,
0.025887463241815567,
0.03190639242529869,
-0.13281483948230743,
-0.18108460307121277,
-0.39456769824028015,
-0.5329767465591431,
-0.44731736183166504,
0.18511885404586792,
0.03145667538046837,
0.16345277428627014,
-0.11654569953680038,
0.1937243640422821,
0.0017443150281906128,
0.1486426442861557,
0.41468557715415955,
-0.3091830909252167,
-0.19884943962097168,
0.3056822419166565,
-0.2629048824310303,
-0.1276865005493164,
-0.0998268872499466,
0.003071501851081848,
0.24903510510921478,
0.18351654708385468,
-0.05522569268941879,
-0.1865839958190918,
-0.01808072067797184,
0.07211066782474518,
0.12484057247638702,
0.22873526811599731,
0.40401262044906616,
0.227008655667305,
-0.19709111750125885,
-0.19396242499351501,
0.06674650311470032,
0.16962160170078278,
0.12359964102506638,
0.07498101890087128,
0.08696319162845612,
0.16030126810073853,
-0.06257563829421997,
0.6795016527175903,
0.34090808033943176,
0.13138523697853088,
-0.07853703200817108,
-0.03489132225513458,
0.18418936431407928,
-0.20223507285118103,
0.013026190921664238,
0.2568517029285431,
-0.024876639246940613,
-0.3336470127105713,
0.25711727142333984,
0.18090984225273132,
-0.131205216050148,
-0.15365412831306458,
0.1801704615354538,
-0.32090049982070923,
-0.0886298269033432,
0.24327673017978668,
0.09780985116958618,
0.29175132513046265,
-0.17902523279190063,
0.09439852088689804,
-0.015190418809652328,
-0.033002741634845734,
-0.1053352802991867,
0.04756073281168938,
0.15946438908576965,
0.05987050384283066,
-0.2799640893936157,
-0.15886427462100983,
-0.22132158279418945,
-0.009687133133411407,
0.262824147939682,
0.24755927920341492,
-0.2019549459218979,
-0.13448745012283325,
-0.07240422070026398,
-0.10388120263814926,
-0.09171836078166962,
-0.2097676545381546,
-0.18194006383419037,
0.024176906794309616,
0.39016401767730713,
0.19941766560077667,
0.22899578511714935,
-0.433079332113266,
-0.09617048501968384,
-0.09748294949531555,
0.03182176500558853,
-0.31773847341537476,
-0.03320004418492317,
-0.02033107727766037,
0.34557992219924927,
0.07588396966457367,
0.07170656323432922,
-0.10409505665302277,
-0.23989704251289368,
-0.27607348561286926,
0.07780112326145172,
-0.01965205930173397,
-0.0901947021484375,
-0.10118129849433899,
-0.1292264461517334,
0.28333669900894165,
0.02595357596874237,
0.21873246133327484,
0.11222432553768158,
0.2482597529888153,
-0.3335406482219696,
0.12208288908004761,
0.05641952529549599,
-0.32005226612091064,
-0.08489380776882172,
0.08876070380210876,
0.007737666368484497,
0.1809745877981186,
0.0017254408448934555,
-0.33952242136001587,
0.26588210463523865,
0.17744290828704834,
-0.03668243810534477,
0.1577904224395752,
-0.23874202370643616,
0.12206567823886871,
-0.5216652154922485,
0.1824595332145691,
0.2665296792984009,
0.19927279651165009,
0.13351471722126007,
-0.4254615306854248,
0.369189590215683,
-0.08289790898561478,
-0.19266033172607422,
0.3333832025527954,
-0.16508479416370392,
-0.26232367753982544,
0.40018701553344727,
0.017529122531414032,
0.8608605265617371,
0.307486891746521,
0.07546927034854889,
0.38593152165412903,
-0.07581692934036255,
-0.032733071595430374,
-0.5651333928108215,
0.054388705641031265,
0.001034379005432129,
0.02713862434029579,
-0.05450845882296562,
0.01297834888100624,
0.08397393673658371,
0.09848801046609879,
-0.6401531100273132,
0.0341622456908226,
0.40688270330429077,
-0.05047013983130455,
-0.113223135471344,
0.1874019354581833,
-0.2905799448490143,
-0.262148916721344,
0.044311996549367905,
0.29512351751327515,
-0.09153451025485992,
-0.13100002706050873,
0.06830500066280365,
-0.15713828802108765,
0.014621596783399582,
-0.08692337572574615,
-0.22083453834056854,
-0.14104129374027252,
-0.32647931575775146,
0.08737053722143173,
-0.22065380215644836,
-0.12866725027561188,
0.05058348551392555,
0.10330301523208618,
-0.17440129816532135,
0.41901856660842896,
-0.11218102276325226,
0.14046674966812134,
0.08269710838794708,
0.32550063729286194,
0.04835886135697365,
-0.08099834620952606,
-0.10274113714694977,
-0.2054593861103058,
-0.07555575668811798,
0.06492525339126587,
-0.10537434369325638,
-0.059631191194057465,
0.27813616394996643,
-0.23224280774593353,
0.2120465338230133,
-0.15507814288139343,
-0.33482569456100464,
0.24273443222045898,
-0.20866546034812927,
0.08424398303031921,
0.2801031470298767,
0.12696774303913116,
-0.48588231205940247,
0.4590047001838684,
-0.08737464249134064,
-0.005417533218860626,
-0.09833186864852905,
-0.27178752422332764,
-0.0286153145134449,
-0.10017044842243195,
0.1785457581281662,
-0.16914571821689606,
-0.17328159511089325,
-0.31768932938575745,
0.3230855464935303,
-0.27306610345840454,
0.0002490207552909851,
-0.13041794300079346,
0.12954655289649963,
-0.4456491470336914,
-0.07195210456848145,
-0.0629032552242279,
-0.065098337829113,
0.051583562046289444,
-0.30698320269584656,
-0.2139328271150589,
-0.3803500533103943,
0.25684380531311035,
0.3067575693130493,
0.19571639597415924,
-0.23890674114227295,
-0.0801030844449997,
-0.024981684982776642,
0.018398182466626167,
-0.5090128183364868,
-0.08129781484603882,
0.05866306275129318,
0.3159644305706024,
0.16863645613193512,
0.003016546368598938,
0.10359539091587067,
-0.014733335003256798,
0.21884781122207642,
0.0639588013291359,
-0.39730891585350037,
-0.2847467362880707,
-0.0404236763715744,
0.10973656177520752,
-0.03916499763727188,
-0.17102494835853577,
-0.05827638506889343,
-0.10420083999633789,
-0.3242321312427521,
-0.18528060615062714,
0.03447789326310158,
0.08904551714658737,
-0.23162643611431122,
0.15914365649223328,
-0.5008299350738525,
0.13201823830604553,
0.05088040232658386,
-0.03267010301351547,
-0.09172515571117401,
0.05061542987823486,
0.07764441519975662,
0.2405029684305191,
0.22200626134872437,
-0.2671148180961609,
0.2384771704673767,
0.30039724707603455,
0.07055073976516724,
-0.1555505394935608,
0.22197115421295166,
0.14699465036392212,
0.30190402269363403,
-0.03730536624789238,
0.3848167359828949,
0.22988589107990265,
-0.057068828493356705,
0.019380616024136543,
0.28713884949684143,
0.49427783489227295,
-0.10204076021909714,
0.059096913784742355,
-0.351196825504303,
-0.2932491898536682,
0.3308221697807312,
0.11422303318977356,
0.13849663734436035,
-0.05236472934484482,
0.2603325843811035,
-0.04369508847594261,
0.16799621284008026,
-0.39278537034988403,
-0.07496953010559082,
0.2633591592311859,
-0.05926535651087761,
0.009189832955598831,
-0.18879063427448273,
-0.03495050594210625,
0.22725972533226013,
0.5171070098876953,
-0.36255550384521484,
0.358234703540802,
0.4147268533706665,
-0.0108097605407238,
0.09793693572282791,
0.07332755625247955,
-0.09641417860984802,
0.1806298792362213,
-0.10160234570503235,
0.15000492334365845,
0.20154497027397156,
0.24053317308425903,
-0.431110680103302,
-0.18752031028270721,
-0.08023075014352798,
0.02505933679640293,
0.0500301755964756,
-0.14781151711940765,
0.0873216912150383,
-0.18525472283363342,
-0.3636784553527832,
-0.11325812339782715,
0.09504374861717224,
0.23926909267902374,
-0.019339345395565033,
0.023581288754940033,
0.357077419757843,
0.041964881122112274,
0.09215133637189865,
0.13880467414855957,
0.2719363570213318,
-0.21788497269153595,
0.2710612714290619,
0.4284723401069641,
-0.061580315232276917,
0.23314960300922394,
0.24097512662410736,
0.3194403350353241,
0.08134058117866516,
-0.5271492004394531,
0.46107205748558044,
-0.28191864490509033,
-0.12858663499355316,
-0.1459384262561798,
0.30337634682655334,
0.17360042035579681,
0.2954106032848358,
0.13024187088012695,
0.31177055835723877,
-0.25587549805641174,
0.0069563016295433044,
0.0389866828918457,
-0.5225462317466736,
-0.16850119829177856,
0.11524820327758789,
0.008419513702392578,
-0.07642363011837006,
0.017215874046087265,
-0.11283411830663681,
-0.5072765350341797,
0.031569015234708786,
0.29090645909309387,
-0.10205435752868652,
0.1752508282661438,
0.05493021383881569,
0.17235609889030457,
-0.08111746609210968,
0.1685243844985962,
0.055620502680540085,
0.27279210090637207,
-0.03504054993391037,
-0.17120026051998138,
-0.40105435252189636,
-0.19824740290641785,
0.109622061252594,
-0.0603761188685894,
-0.354123055934906,
0.02096123807132244,
0.4641167223453522,
0.4581878185272217,
-0.20451651513576508,
-0.013151085004210472,
0.014349927194416523,
0.07871659100055695,
-0.05777370184659958,
0.10734367370605469,
0.20234081149101257,
0.2984907925128937,
0.042591363191604614,
-0.5087945461273193,
-0.15165725350379944,
0.07996868342161179,
0.22107550501823425,
0.05190882086753845,
0.07850666344165802,
-0.018096769228577614,
-0.2051614224910736,
0.05089548975229263,
0.07140818238258362,
0.35165610909461975,
-0.43085142970085144,
-0.005006380379199982,
0.1134653091430664,
0.25669053196907043,
-0.12109941244125366,
-0.241059809923172,
0.031726691871881485,
0.5673263072967529,
-0.06582025438547134,
0.13061662018299103,
-0.17829500138759613,
0.19846495985984802,
0.0337882936000824,
-0.17646875977516174,
-0.15583713352680206,
0.03851179778575897,
-0.3489372432231903,
0.09795847535133362,
-0.03061084821820259,
0.16317018866539001,
-0.21494248509407043,
0.030959302559494972,
-0.30641302466392517,
-0.1569903939962387,
0.345525324344635,
0.0033790478482842445,
-0.13352642953395844,
-0.04373430088162422,
0.3890421390533447,
0.3155284523963928,
0.2797558903694153,
-0.7205032110214233,
0.10785063356161118,
0.09894704818725586,
0.05300481617450714,
-0.014722457155585289,
0.3420725166797638,
0.040648769587278366,
-0.30681750178337097,
-0.016815384849905968,
0.383628249168396,
0.001141417771577835,
0.018475348129868507,
-0.10552097856998444,
-0.5058495402336121
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | Just one step before having a first running example to benchmark.
Decision to make: how to call the function `dataset.features.decode_example`:
- The usual approach until now in speech applications: call it in a subsequent `.map` function
- Pros: multiprocessing can be used out of the box
- Cons: large disk storage required for caching decoded audio files, although having it cached will enhance speed for further usage
- Approach suggested by @lhoestq (see above: https://github.com/huggingface/datasets/pull/2324#discussion_r660758683): doing it in formatting
- Pros: no large disk storage required, as it will be done on the fly while iterating on the dataset
- Cons: it is not cached; need to implement multiprocessing for this case
- Other pros/cons for the previous options?
- Other options?
cc: @lhoestq @patrickvonplaten @anton-l | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 126 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
Just one step before having a first running example to benchmark.
Decision to make: how to call the function `dataset.features.decode_example`:
- The usual approach until now in speech applications: call it in a subsequent `.map` function
- Pros: multiprocessing can be used out of the box
- Cons: large disk storage required for caching decoded audio files, although having it cached will enhance speed for further usage
- Approach suggested by @lhoestq (see above: https://github.com/huggingface/datasets/pull/2324#discussion_r660758683): doing it in formatting
- Pros: no large disk storage required, as it will be done on the fly while iterating on the dataset
- Cons: it is not cached; need to implement multiprocessing for this case
- Other pros/cons for the previous options?
- Other options?
cc: @lhoestq @patrickvonplaten @anton-l | [
-0.32493576407432556,
-0.10707581788301468,
-0.12938669323921204,
-0.06065899133682251,
-0.010887105017900467,
-0.2487809956073761,
0.2373296022415161,
0.23201648890972137,
-0.14458850026130676,
0.3003215789794922,
-0.10993485152721405,
0.41283220052719116,
-0.2441316694021225,
0.23785986006259918,
-0.07810155302286148,
-0.17088386416435242,
0.00785459578037262,
0.33179426193237305,
0.0013463273644447327,
0.10233604907989502,
-0.037022870033979416,
0.08439060300588608,
-0.3249516487121582,
0.1860947608947754,
-0.12376595288515091,
-0.1646767258644104,
0.061413489282131195,
-0.0042736828327178955,
-0.37476620078086853,
-0.3847447335720062,
-0.062234342098236084,
0.16095341742038727,
-0.039951249957084656,
0.2461833357810974,
-0.00009761254477780312,
-0.25583192706108093,
0.2936703562736511,
-0.0760561004281044,
-0.2084844559431076,
-0.16050030291080475,
-0.27743569016456604,
-0.21448108553886414,
-0.2419872283935547,
-0.22462639212608337,
-0.1613839566707611,
-0.20490847527980804,
0.051112886518239975,
-0.2667563557624817,
0.509231686592102,
0.3191184401512146,
0.26635387539863586,
-0.09262005239725113,
0.005971673876047134,
0.0905112698674202,
0.2446514070034027,
0.17649587988853455,
-0.18480587005615234,
-0.2540314793586731,
0.24093486368656158,
0.162349671125412,
-0.02108592540025711,
0.6005329489707947,
-0.216885507106781,
0.16479863226413727,
0.14461761713027954,
0.05348781868815422,
-0.400870144367218,
-0.36510998010635376,
-0.143280029296875,
0.2533791661262512,
0.6101983189582825,
-0.41771796345710754,
-0.28594696521759033,
-0.12547826766967773,
-0.02966216206550598,
-0.4502328932285309,
-0.012297093868255615,
0.0444398894906044,
-0.3985452651977539,
0.19300591945648193,
-0.2217607945203781,
-0.08540808409452438,
-0.14413094520568848,
-0.0369635745882988,
0.28763899207115173,
-0.24032935500144958,
-0.260769784450531,
-0.011377938091754913,
0.14809738099575043,
-0.18547335267066956,
-0.2342548966407776,
-0.04154761880636215,
0.08859189599752426,
0.24001404643058777,
-0.07386650145053864,
-0.40554311871528625,
0.009740620851516724,
-0.15764665603637695,
0.11168641597032547,
-0.14925165474414825,
0.019148088991642,
0.028768671676516533,
-0.05350656062364578,
0.2587818503379822,
-0.08870114386081696,
0.007828673347830772,
0.12222381681203842,
-0.22614093124866486,
0.28205472230911255,
-0.22899700701236725,
0.06413581967353821,
-0.10798614472150803,
-0.10846257954835892,
0.04231194406747818,
-0.2092643529176712,
0.2372938096523285,
0.19951535761356354,
-0.2189980149269104,
-0.28868064284324646,
-0.006785399280488491,
0.006961360573768616,
-0.060828518122434616,
0.014479586854577065,
0.3246366083621979,
0.011449760757386684,
0.12066973745822906,
-0.012242728844285011,
0.3184303045272827,
-0.13822133839130402,
-0.03588879853487015,
0.06883993744850159,
0.10743048787117004,
0.10843949019908905,
0.21422506868839264,
0.21719996631145477,
0.38405293226242065,
0.3014465868473053,
0.07292477041482925,
0.20269283652305603,
0.003367926925420761,
0.42199772596359253,
-0.1707530915737152,
0.033095985651016235,
-0.09569427371025085,
-0.009818507358431816,
0.06709779798984528,
-0.15279021859169006,
0.16340844333171844,
-0.24363970756530762,
0.049389369785785675,
-0.018792465329170227,
-0.09833948314189911,
0.1297207623720169,
0.23236294090747833,
-0.052297428250312805,
-0.0050921812653541565,
0.04498890042304993,
0.5748419165611267,
-0.013665527105331421,
-0.5974766612052917,
-0.0922238901257515,
-0.02925373986363411,
-0.4206523895263672,
-0.1559593677520752,
0.2310030460357666,
0.011314325034618378,
-0.10899505019187927,
0.016837403178215027,
-0.02860945090651512,
-0.07894566655158997,
0.15590807795524597,
0.16087093949317932,
-0.11482326686382294,
0.03559620678424835,
0.050737276673316956,
0.3745681643486023,
0.408854216337204,
-0.577009379863739,
-0.1544404923915863,
0.18154194951057434,
0.08479137718677521,
0.0031191036105155945,
0.09370793402194977,
-0.021715961396694183,
0.3773820102214813,
-0.29158955812454224,
-0.026089929044246674,
0.281197726726532,
-0.11144325137138367,
0.024546878412365913,
-0.05901823565363884,
-0.37644362449645996,
0.12061232328414917,
0.0682450383901596,
-0.15131795406341553,
-0.19294121861457825,
-0.20504161715507507,
-0.07687162607908249,
0.12374930083751678,
-0.2153603434562683,
0.1324373483657837,
-0.03288819640874863,
0.5795080065727234,
-0.08798465132713318,
0.020944863557815552,
-0.30883046984672546,
0.48664286732673645,
-0.04960831254720688,
0.043909840285778046,
0.04741113632917404,
-0.0638473778963089,
-0.32169318199157715,
-0.012745734304189682,
-0.20468011498451233,
-0.1305449903011322,
-0.14052936434745789,
0.256149023771286,
0.14637842774391174,
0.24453681707382202,
-0.17395685613155365,
-0.3172650635242462,
0.08997675031423569,
0.06882181763648987,
-0.1782674789428711,
-0.1295851469039917,
-0.24532471597194672,
0.02741008624434471,
-0.11904998123645782,
0.0751638114452362,
0.2541325092315674,
-0.07136925309896469,
0.07967139035463333,
-0.1138467788696289,
0.40387481451034546,
0.27324578166007996,
0.2499839812517166,
-0.06910435110330582,
0.0867936760187149,
0.17252522706985474,
-0.42927059531211853,
0.3567638099193573,
0.1331077218055725,
0.3323240280151367,
0.010476984083652496,
-0.23574301600456238,
0.11839204281568527,
0.1308905929327011,
0.12348917126655579,
0.16210904717445374,
-0.16478046774864197,
0.21793536841869354,
0.1737341731786728,
-0.35124319791793823,
0.06796768307685852,
-0.1483083814382553,
-0.21890725195407867,
0.22389750182628632,
-0.24435777962207794,
-0.1708512157201767,
0.007815182209014893,
0.6039783358573914,
-0.1049330085515976,
0.12504231929779053,
0.23599407076835632,
-0.16235968470573425,
-0.26903045177459717,
0.16249573230743408,
-0.1312316358089447,
0.4221843481063843,
0.2934269607067108,
0.18965710699558258,
-0.05314347892999649,
0.01912449672818184,
0.15614204108715057,
0.12193506211042404,
-0.12827235460281372,
-0.14101704955101013,
0.17665532231330872,
-0.04121271148324013,
-0.09764751046895981,
-0.19794663786888123,
-0.14750643074512482,
-0.1732775717973709,
-0.026290250942111015,
-0.05020909011363983,
-0.15939675271511078,
0.02131558023393154,
-0.042151957750320435,
-0.07847198098897934,
-0.10394182801246643,
0.2676711976528168,
0.2710571885108948,
0.24417296051979065,
0.14338703453540802,
-0.11374412477016449,
0.23120467364788055,
0.18725939095020294,
0.2547106444835663,
0.04409029334783554,
0.0027934107929468155,
0.1205984503030777,
0.15987741947174072,
0.01423434354364872,
0.221389040350914,
0.08626573532819748,
0.42104315757751465,
0.19216468930244446,
0.121083565056324,
0.01275080256164074,
0.03328675404191017,
-0.049914076924324036,
0.21435149013996124,
-0.26760727167129517,
0.23034623265266418,
0.025259993970394135,
0.08973914384841919,
0.034828655421733856,
-0.3442387282848358,
0.11706168949604034,
-0.06915599852800369,
-0.1465229094028473,
-0.010708595626056194,
0.06190008297562599,
-0.17027010023593903,
-0.1681157499551773,
-0.41054871678352356,
-0.4922170639038086,
-0.5004902482032776,
0.37450647354125977,
-0.025830453261733055,
0.17468729615211487,
-0.09970898926258087,
0.024361006915569305,
0.2049884796142578,
0.12297988682985306,
0.41845080256462097,
-0.3511071801185608,
-0.10034215450286865,
0.1958143562078476,
-0.2253238409757614,
-0.18560092151165009,
-0.14711862802505493,
0.050647467374801636,
0.17086009681224823,
0.1823190599679947,
0.03051336109638214,
-0.20140954852104187,
-0.12138421833515167,
0.10327020287513733,
0.04079703986644745,
0.22869543731212616,
0.3765450417995453,
0.2584836483001709,
-0.1657053530216217,
-0.13292434811592102,
0.013580448925495148,
0.12489358335733414,
0.34366270899772644,
0.021719299256801605,
0.2220281958580017,
0.20142945647239685,
-0.05163569375872612,
0.7488820552825928,
0.4641317129135132,
0.12311320006847382,
-0.08239421248435974,
-0.06305204331874847,
0.06235182285308838,
-0.09275712817907333,
0.0291107390075922,
0.28663161396980286,
-0.1401207149028778,
-0.23219916224479675,
0.3235637843608856,
0.12671421468257904,
-0.21048188209533691,
-0.17580480873584747,
0.07817491888999939,
-0.3695971369743347,
-0.173883318901062,
0.2202191799879074,
0.03963245451450348,
0.2607943117618561,
-0.18257373571395874,
0.1830323040485382,
-0.08360117673873901,
0.06749895215034485,
-0.022334182634949684,
0.04697946831583977,
0.2788825035095215,
-0.04796323552727699,
-0.33914920687675476,
-0.1627718210220337,
-0.3473065495491028,
0.011790633201599121,
0.178920716047287,
0.21055011451244354,
-0.16427484154701233,
-0.23604926466941833,
-0.10150200128555298,
-0.1691211462020874,
-0.046829402446746826,
-0.19909390807151794,
-0.12719886004924774,
0.04421946033835411,
0.45145589113235474,
0.20345920324325562,
0.2680506408214569,
-0.5176027417182922,
0.006650371011346579,
-0.13770054280757904,
0.11477433145046234,
-0.35157227516174316,
-0.1462223380804062,
0.07942435145378113,
0.3662334084510803,
0.12252829968929291,
0.08807589113712311,
-0.09101222455501556,
-0.28488385677337646,
-0.3732219934463501,
0.10175052285194397,
0.039599232375621796,
-0.1114419475197792,
-0.14499947428703308,
-0.08813007920980453,
0.20152750611305237,
0.0800158753991127,
0.3544609546661377,
0.20825500786304474,
0.1261434257030487,
-0.28227296471595764,
0.10064443945884705,
0.1798839122056961,
-0.25664427876472473,
-0.12967556715011597,
0.21454347670078278,
0.14977993071079254,
-0.042384520173072815,
0.05383516848087311,
-0.2704686224460602,
0.36831220984458923,
0.23670102655887604,
-0.19679149985313416,
0.1234900951385498,
-0.17155568301677704,
0.21648728847503662,
-0.5884824395179749,
0.19423602521419525,
0.3450438678264618,
0.2802247703075409,
-0.04166678339242935,
-0.4134156405925751,
0.4278869926929474,
-0.013253530487418175,
-0.22614823281764984,
0.29213792085647583,
-0.056765779852867126,
-0.227098748087883,
0.40018904209136963,
-0.06832108646631241,
0.8687551617622375,
0.29936736822128296,
0.01395917683839798,
0.3965277671813965,
0.10208362340927124,
0.0725327804684639,
-0.5555185675621033,
0.11266012489795685,
0.1079556941986084,
-0.04354535788297653,
-0.11008168756961823,
0.04095446690917015,
0.18539923429489136,
0.11163933575153351,
-0.7310816049575806,
0.10961365699768066,
0.3791777491569519,
0.014381518587470055,
-0.10160217434167862,
0.24839413166046143,
-0.2771320044994354,
-0.34068259596824646,
-0.03637094050645828,
0.2668227255344391,
-0.10292495787143707,
0.007035417482256889,
0.15974441170692444,
-0.13695785403251648,
-0.08450047671794891,
-0.1745150238275528,
-0.1714242696762085,
-0.028841683641076088,
-0.32150593400001526,
0.07166729867458344,
-0.22174528241157532,
-0.05927090346813202,
0.2257426381111145,
0.23531018197536469,
-0.0981370359659195,
0.314471036195755,
-0.11820036172866821,
0.0875871405005455,
0.08107230067253113,
0.3431331217288971,
0.03865181654691696,
-0.07982727140188217,
0.08198773860931396,
-0.2272082269191742,
-0.11943073570728302,
0.16391167044639587,
-0.03965158015489578,
0.02931205928325653,
0.19054275751113892,
-0.17704512178897858,
0.17175783216953278,
-0.23445533215999603,
-0.26051682233810425,
0.3257007300853729,
-0.21514609456062317,
0.14381176233291626,
0.23229674994945526,
0.07143191248178482,
-0.5437825918197632,
0.4597150385379791,
-0.1360016018152237,
0.0048041194677352905,
-0.003686618059873581,
-0.24819058179855347,
0.016638489440083504,
-0.06648732721805573,
0.14927245676517487,
-0.10871182382106781,
-0.2008228302001953,
-0.30648598074913025,
0.11997788399457932,
-0.26873376965522766,
0.0006243288516998291,
-0.06432672590017319,
0.10678929835557938,
-0.36236080527305603,
-0.06671734899282455,
0.008780870586633682,
-0.17373201251029968,
-0.01324395090341568,
-0.3023785948753357,
-0.17067395150661469,
-0.3950939476490021,
0.2068915069103241,
0.33366429805755615,
0.1343000829219818,
-0.17836955189704895,
-0.01384945958852768,
-0.06989036500453949,
-0.003933623433113098,
-0.4811340272426605,
-0.0383044108748436,
0.02227029763162136,
0.38983574509620667,
0.3119819462299347,
-0.054409533739089966,
0.13782957196235657,
0.030451226979494095,
0.22228004038333893,
0.0954231470823288,
-0.33513182401657104,
-0.2725940942764282,
-0.060647591948509216,
0.140994131565094,
-0.05335152894258499,
-0.18677641451358795,
0.019234396517276764,
-0.04958029463887215,
-0.3261946141719818,
-0.3108004033565521,
0.18532757461071014,
0.035817258059978485,
-0.19734929502010345,
0.23019979894161224,
-0.47645244002342224,
0.07863233238458633,
0.0685010477900505,
-0.010915976017713547,
0.02616877481341362,
0.10521730780601501,
0.025802642107009888,
0.30003827810287476,
0.08348774909973145,
-0.19568824768066406,
0.11787664145231247,
0.261901319026947,
0.12711170315742493,
-0.11466806381940842,
0.2281246781349182,
0.12303617596626282,
0.26569095253944397,
-0.010198892094194889,
0.38098153471946716,
0.23477703332901,
-0.08426222205162048,
0.009750284254550934,
0.2990358769893646,
0.4328271746635437,
-0.11862919479608536,
0.06898413598537445,
-0.14979682862758636,
-0.365389883518219,
0.3473375737667084,
0.11482461541891098,
0.12049482762813568,
0.07387566566467285,
0.09108855575323105,
-0.13643787801265717,
0.15301160514354706,
-0.3252421021461487,
-0.002194422297179699,
0.3432680070400238,
-0.017355527728796005,
-0.045974407345056534,
-0.06559810787439346,
0.056399423629045486,
0.2881650924682617,
0.5313117504119873,
-0.3140014708042145,
0.32182684540748596,
0.3514712154865265,
0.14375349879264832,
0.2039821594953537,
-0.04132751375436783,
-0.0016252659261226654,
0.20248378813266754,
-0.09036871790885925,
0.19906559586524963,
0.0498836450278759,
0.1893213987350464,
-0.5271751284599304,
-0.23407484591007233,
-0.12228098511695862,
0.16089235246181488,
0.042318180203437805,
-0.18709105253219604,
0.170877143740654,
-0.14225724339485168,
-0.33804112672805786,
-0.08116567134857178,
0.02403102070093155,
0.1752452552318573,
-0.055744051933288574,
0.039404068142175674,
0.31909459829330444,
0.03848761320114136,
0.095420241355896,
-0.011409968137741089,
0.48782140016555786,
-0.23589874804019928,
0.16217976808547974,
0.32187575101852417,
-0.046236857771873474,
0.1398702710866928,
0.29117199778556824,
0.32028689980506897,
0.051802102476358414,
-0.6309967637062073,
0.4690282940864563,
-0.2727452516555786,
-0.1167323961853981,
-0.07483747601509094,
0.36543306708335876,
0.03835797682404518,
0.3113436996936798,
0.10702931880950928,
0.24068066477775574,
-0.243852898478508,
-0.15029312670230865,
-0.04903079941868782,
-0.4499405324459076,
-0.30135196447372437,
0.16568729281425476,
-0.07320379465818405,
-0.0740479975938797,
-0.023170404136180878,
-0.15987277030944824,
-0.5842124819755554,
-0.001202525570988655,
0.42880237102508545,
-0.07993648201227188,
0.23371320962905884,
0.051531095057725906,
0.16662241518497467,
-0.21602630615234375,
0.07805752009153366,
0.05576656013727188,
0.3172203302383423,
0.013468338176608086,
-0.07341130822896957,
-0.3705465793609619,
-0.18696504831314087,
0.1846042424440384,
-0.09630097448825836,
-0.261299729347229,
0.06744508445262909,
0.36254608631134033,
0.4557476043701172,
-0.29431623220443726,
-0.17698174715042114,
-0.06755780428647995,
0.004546064883470535,
-0.025933887809515,
0.1482611745595932,
0.04299132525920868,
0.2795289158821106,
0.11725662648677826,
-0.587331235408783,
-0.1781287044286728,
0.18310244381427765,
0.13630089163780212,
0.005981983616948128,
0.11200423538684845,
-0.07664290070533752,
-0.4759853184223175,
0.10706006735563278,
0.1669958531856537,
0.4243212342262268,
-0.4463835656642914,
-0.11431840807199478,
0.1276538223028183,
0.28391551971435547,
-0.14040832221508026,
-0.17198628187179565,
-0.032913219183683395,
0.5251460075378418,
-0.006302310153841972,
0.31689757108688354,
-0.23147422075271606,
0.15787476301193237,
0.16982214152812958,
-0.1803440898656845,
-0.25405219197273254,
0.033470481634140015,
-0.3770288825035095,
0.05254427716135979,
0.032798897475004196,
0.2531813979148865,
-0.25427040457725525,
0.08460744470357895,
-0.2514023184776306,
-0.17214946448802948,
0.40649551153182983,
-0.08459021151065826,
-0.16229574382305145,
-0.049506932497024536,
0.40853646397590637,
0.23659512400627136,
0.2239149510860443,
-0.787595272064209,
0.14048472046852112,
0.151682049036026,
0.03298088163137436,
-0.04457612335681915,
0.30636468529701233,
0.03399593383073807,
-0.34422874450683594,
-0.0344950407743454,
0.42298638820648193,
-0.05397257208824158,
-0.027460776269435883,
0.035455796867609024,
-0.42375004291534424
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | @albertvillanova I'm in two minds about this, to be honest. For example, if we consider CommonVoice, which is encoded in lossy `mp3`:
- If we decompress `mp3` into raw `wav` arrays, loading a batch will speed up about 40x.
- However, a 60gb English mp3 dataset will blow up to about 600gb raw (iirc), which is why loading on-the-fly (optionally?) could be very beneficial as well. | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 66 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
@albertvillanova I'm in two minds about this, to be honest. For example, if we consider CommonVoice, which is encoded in lossy `mp3`:
- If we decompress `mp3` into raw `wav` arrays, loading a batch will speed up about 40x.
- However, a 60gb English mp3 dataset will blow up to about 600gb raw (iirc), which is why loading on-the-fly (optionally?) could be very beneficial as well. | [
-0.4268076717853546,
-0.009651519358158112,
-0.196213960647583,
-0.14669543504714966,
-0.07932168990373611,
-0.24659839272499084,
0.23003749549388885,
0.15514735877513885,
-0.08141325414180756,
0.35069534182548523,
-0.10315611213445663,
0.28404784202575684,
-0.31017249822616577,
0.23460419476032257,
-0.10212231427431107,
-0.0702173262834549,
0.006432749330997467,
0.32613927125930786,
-0.04426035284996033,
0.0917598307132721,
0.06624673306941986,
0.04274849221110344,
-0.2304457128047943,
0.02922678366303444,
-0.07942403852939606,
-0.01278296671807766,
0.19029319286346436,
0.04819909855723381,
-0.5397403240203857,
-0.3430911898612976,
0.006106512621045113,
0.18299080431461334,
-0.04899662733078003,
0.23037591576576233,
-0.00009627490362618119,
-0.2746495008468628,
0.26267048716545105,
-0.10361013561487198,
-0.231436625123024,
-0.15319950878620148,
-0.19965782761573792,
-0.3069251775741577,
-0.24040520191192627,
-0.13958609104156494,
-0.030084509402513504,
-0.1158565804362297,
0.07188114523887634,
-0.18865665793418884,
0.4543567895889282,
0.31120166182518005,
0.2500227987766266,
-0.1396411806344986,
-0.08943095803260803,
0.0057159061543643475,
0.31778985261917114,
0.1100788563489914,
-0.16826048493385315,
-0.17958290874958038,
0.43518441915512085,
0.1363949328660965,
0.029897719621658325,
0.4897732138633728,
-0.2495700567960739,
0.14714279770851135,
0.11458170413970947,
0.03413105383515358,
-0.23971793055534363,
-0.32194894552230835,
-0.15760967135429382,
0.2888025939464569,
0.5291491746902466,
-0.34002918004989624,
-0.3219817280769348,
-0.04311684891581535,
0.02058028057217598,
-0.48565438389778137,
-0.05550960451364517,
0.13764385879039764,
-0.36253848671913147,
0.13625743985176086,
-0.33128151297569275,
0.032346781343221664,
-0.1282205730676651,
0.06051390618085861,
0.30786776542663574,
-0.20266100764274597,
-0.1588423103094101,
-0.05496544390916824,
0.22156865894794464,
-0.05121447145938873,
-0.19858720898628235,
0.012441772036254406,
0.09984835237264633,
0.37877434492111206,
0.0654187873005867,
-0.3153199255466461,
-0.12472600489854813,
-0.2119903564453125,
0.1476019322872162,
-0.23224397003650665,
0.01845991238951683,
0.006147937849164009,
-0.06274271756410599,
0.3086632788181305,
-0.09606100618839264,
-0.0501863919198513,
-0.02382597327232361,
-0.3008900582790375,
0.23259364068508148,
-0.23904645442962646,
0.12567134201526642,
-0.10627921670675278,
-0.04730139672756195,
0.013817870058119297,
-0.2284802496433258,
0.16829678416252136,
-0.00478573702275753,
-0.267244815826416,
-0.4133604168891907,
-0.10376904159784317,
0.05253804475069046,
-0.11931101977825165,
0.023262936621904373,
0.2504700720310211,
0.06338582932949066,
0.06347347795963287,
-0.126997172832489,
0.37885749340057373,
-0.0982012003660202,
0.10719557851552963,
0.1480134278535843,
0.07091862708330154,
0.057587552815675735,
0.2252923846244812,
0.37603893876075745,
0.15518885850906372,
0.36242008209228516,
0.14484107494354248,
0.23671673238277435,
0.005239084362983704,
0.35730820894241333,
-0.12867151200771332,
-0.19185563921928406,
-0.01510588452219963,
-0.018565375357866287,
0.025264499709010124,
-0.22604291141033173,
0.21891169250011444,
-0.30588069558143616,
0.19095349311828613,
-0.2032165229320526,
-0.120578333735466,
0.13697658479213715,
0.24464385211467743,
-0.0643828809261322,
-0.014342259615659714,
0.05734553560614586,
0.38725340366363525,
-0.03995909541845322,
-0.6489548683166504,
-0.07587776333093643,
0.00530657172203064,
-0.3647380769252777,
-0.08269763737916946,
0.12231972068548203,
-0.11271177232265472,
-0.1492055058479309,
0.04030947387218475,
-0.09260393679141998,
-0.06238676235079765,
0.21180066466331482,
0.1701672077178955,
-0.07607050240039825,
-0.003256678581237793,
-0.0052632782608270645,
0.18728508055210114,
0.44612959027290344,
-0.5122677087783813,
-0.07537991553544998,
0.09093517065048218,
0.05360665172338486,
-0.04753189533948898,
0.286003977060318,
0.08907683938741684,
0.3084139823913574,
-0.33542147278785706,
-0.12660551071166992,
0.3019823431968689,
-0.09247523546218872,
0.08425120264291763,
-0.1143110990524292,
-0.4239756762981415,
0.020733477547764778,
0.11414669454097748,
-0.101877361536026,
-0.1909032166004181,
-0.10510972887277603,
-0.04166469722986221,
0.14635959267616272,
-0.0995076447725296,
0.041938960552215576,
-0.0025627389550209045,
0.526138186454773,
-0.08963745832443237,
-0.09512890130281448,
-0.21065732836723328,
0.6061864495277405,
-0.11730215698480606,
-0.024891162291169167,
0.2054227888584137,
0.03416646271944046,
-0.25099965929985046,
-0.046310905367136,
-0.21625059843063354,
-0.09990309178829193,
-0.17737752199172974,
0.21645094454288483,
0.13086242973804474,
0.147200345993042,
-0.24610912799835205,
-0.25280025601387024,
-0.02530401013791561,
0.05986244976520538,
-0.2111431360244751,
-0.0908975601196289,
-0.3191201984882355,
-0.04227393865585327,
-0.07778991013765335,
0.10785867273807526,
0.20445004105567932,
-0.13182973861694336,
0.13017500936985016,
-0.0987936481833458,
0.3638034462928772,
0.203680157661438,
0.3544154167175293,
-0.016872897744178772,
0.27536702156066895,
0.1737029105424881,
-0.2411300390958786,
0.4370562732219696,
0.09823150932788849,
0.3615494966506958,
-0.004060409963130951,
-0.34041112661361694,
0.12390412390232086,
-0.07742279767990112,
0.13790319859981537,
0.08843471109867096,
-0.27833467721939087,
0.2592526376247406,
0.23168602585792542,
-0.3662027418613434,
0.13129600882530212,
-0.10112963616847992,
-0.22582480311393738,
0.2479475885629654,
-0.14224271476268768,
0.04777603596448898,
-0.09483664482831955,
0.4822700023651123,
-0.04925151169300079,
-0.02094019204378128,
0.3111248314380646,
-0.033529020845890045,
-0.28031742572784424,
0.047812774777412415,
-0.010298710316419601,
0.5347205996513367,
0.4079260230064392,
0.22931015491485596,
-0.26309916377067566,
0.010707401670515537,
-0.05320983752608299,
0.14355985820293427,
-0.13707226514816284,
-0.18991070985794067,
0.1416870653629303,
-0.03112313337624073,
-0.14337997138500214,
-0.25673213601112366,
-0.04648751765489578,
-0.13696564733982086,
-0.04007481783628464,
0.03079449012875557,
-0.20749495923519135,
0.1279536932706833,
0.03267188370227814,
-0.14525367319583893,
-0.17131485044956207,
0.29090896248817444,
0.18381823599338531,
0.43679845333099365,
0.2176702469587326,
-0.20151269435882568,
0.18571242690086365,
0.21328969299793243,
0.24077379703521729,
-0.1047472432255745,
-0.008063403889536858,
0.049351766705513,
0.1627754420042038,
-0.007197484374046326,
0.2653290629386902,
0.12897521257400513,
0.34780657291412354,
0.33098429441452026,
0.11559132486581802,
-0.023715363815426826,
0.1443956196308136,
-0.06675499677658081,
0.09100805222988129,
-0.09291999042034149,
0.2720564305782318,
-0.035130053758621216,
0.11917778849601746,
0.0549958273768425,
-0.3877692222595215,
0.08742111921310425,
-0.07496721297502518,
-0.0973878875374794,
0.009256554767489433,
0.05491706728935242,
-0.08467680215835571,
-0.21597100794315338,
-0.40539273619651794,
-0.5411636233329773,
-0.4831599295139313,
0.223290354013443,
-0.006586223840713501,
0.1679302453994751,
-0.06115353852510452,
0.19558219611644745,
-0.0012217627372592688,
0.1629657745361328,
0.48405909538269043,
-0.32823920249938965,
-0.17519986629486084,
0.17843611538410187,
-0.24634593725204468,
-0.09258610010147095,
-0.1420721411705017,
0.09437122941017151,
0.11929510533809662,
0.23604083061218262,
-0.010418843477964401,
-0.09532961994409561,
-0.04596924036741257,
-0.018973536789417267,
0.12928009033203125,
0.23399998247623444,
0.4035053551197052,
0.22134678065776825,
-0.24031075835227966,
-0.1207495778799057,
0.1607465147972107,
-0.059740401804447174,
0.11385563015937805,
0.039876967668533325,
0.11289782077074051,
0.1643979549407959,
-0.13069258630275726,
0.7113510966300964,
0.3148329257965088,
0.22054168581962585,
-0.048992469906806946,
0.04389528930187225,
0.1812009960412979,
-0.29373595118522644,
0.005338700488209724,
0.2306533008813858,
-0.06324490904808044,
-0.37024110555648804,
0.29629507660865784,
0.1733243465423584,
-0.21755826473236084,
-0.16381174325942993,
0.20194846391677856,
-0.31285005807876587,
-0.046783193945884705,
0.29248303174972534,
0.1371944546699524,
0.28229162096977234,
-0.11953558027744293,
0.18476107716560364,
0.009281488135457039,
-0.05627558380365372,
-0.11186178028583527,
0.06029948219656944,
0.24115833640098572,
0.00356061733327806,
-0.23466427624225616,
-0.11290696263313293,
-0.23518797755241394,
-0.025590017437934875,
0.22525231540203094,
0.27557286620140076,
-0.2320919781923294,
-0.20974576473236084,
-0.06424763798713684,
-0.11425436288118362,
-0.07290710508823395,
-0.12301119416952133,
-0.22516725957393646,
-0.016349460929632187,
0.37910789251327515,
0.23183079063892365,
0.19143016636371613,
-0.4655494689941406,
-0.09421820938587189,
-0.0482947863638401,
0.05020303279161453,
-0.3103376030921936,
-0.07868442684412003,
0.11507958173751831,
0.3942827880382538,
0.1711706668138504,
0.05585085228085518,
-0.05754825845360756,
-0.23720020055770874,
-0.32454466819763184,
0.12006516754627228,
-0.031021112576127052,
-0.05061493441462517,
-0.2077639102935791,
-0.10137374699115753,
0.22857666015625,
0.08949519693851471,
0.2784964144229889,
0.07416509091854095,
0.1547703742980957,
-0.26448673009872437,
0.1461605727672577,
-0.060654476284980774,
-0.2813855707645416,
-0.10945107042789459,
0.1853988617658615,
-0.0005086399614810944,
0.16575615108013153,
0.026748279109597206,
-0.31842750310897827,
0.21381935477256775,
0.2962770462036133,
-0.04104490578174591,
0.05848456919193268,
-0.2544881999492645,
0.139699786901474,
-0.5508568286895752,
0.12235727906227112,
0.2665161192417145,
0.25164487957954407,
0.08737307786941528,
-0.44644781947135925,
0.42191004753112793,
0.0004247613251209259,
-0.22218628227710724,
0.24570631980895996,
-0.22744853794574738,
-0.17741744220256805,
0.3865322470664978,
-0.03207458555698395,
0.908150315284729,
0.25702226161956787,
0.06672124564647675,
0.3076482117176056,
-0.010166645050048828,
-0.02584005519747734,
-0.582893431186676,
0.04012615233659744,
0.07536481320858002,
0.018303383141756058,
-0.07196561247110367,
0.020683761686086655,
0.10341691970825195,
0.20412121713161469,
-0.5642976760864258,
0.14539854228496552,
0.5220324397087097,
-0.09097813069820404,
-0.12360762059688568,
0.2599136233329773,
-0.4012261629104614,
-0.29618406295776367,
-0.0021322928369045258,
0.24942955374717712,
0.024722598493099213,
-0.04191775247454643,
0.06546013057231903,
-0.11642718315124512,
0.03280848637223244,
-0.12333846092224121,
-0.21991793811321259,
-0.1997014582157135,
-0.27651527523994446,
0.06531845778226852,
-0.32404929399490356,
-0.08181820809841156,
0.033263858407735825,
0.057962413877248764,
-0.25995171070098877,
0.39606425166130066,
-0.17234539985656738,
0.1340837925672531,
0.06648924946784973,
0.37680765986442566,
0.06475699692964554,
-0.11793889850378036,
0.007869668304920197,
-0.18130630254745483,
-0.04645448923110962,
0.03703802078962326,
-0.16051527857780457,
-0.03148435801267624,
0.20269843935966492,
-0.12190908193588257,
0.24799013137817383,
-0.1073106899857521,
-0.4037761390209198,
0.27658021450042725,
-0.27000144124031067,
0.06657101213932037,
0.2429112046957016,
0.1263875663280487,
-0.44052836298942566,
0.488039493560791,
-0.08657793700695038,
-0.0773947536945343,
-0.12893660366535187,
-0.18233981728553772,
0.026692863553762436,
-0.1306961476802826,
0.14871007204055786,
-0.22897440195083618,
-0.2049971967935562,
-0.33552664518356323,
0.2969928979873657,
-0.20859086513519287,
-0.12262623012065887,
-0.10813148319721222,
0.21606536209583282,
-0.4996960759162903,
0.04097047075629234,
0.03461923450231552,
-0.07581986486911774,
0.024572890251874924,
-0.3449932038784027,
-0.2341601699590683,
-0.2958607077598572,
0.19812971353530884,
0.436392605304718,
0.21562081575393677,
-0.14992783963680267,
-0.19210436940193176,
-0.02194110117852688,
-0.07534044981002808,
-0.4820769727230072,
-0.03314083069562912,
0.08477232605218887,
0.366619348526001,
0.1879250407218933,
0.11366710811853409,
0.1396842896938324,
0.041449110954999924,
0.1708524078130722,
0.07906828075647354,
-0.3818255364894867,
-0.2736716866493225,
0.012558132410049438,
0.15156200528144836,
-0.013107366859912872,
-0.1948806345462799,
0.016934696584939957,
-0.08703789114952087,
-0.34141501784324646,
-0.2669368386268616,
0.11021994054317474,
0.03127861022949219,
-0.21245737373828888,
0.04763280227780342,
-0.39995694160461426,
0.16742479801177979,
0.16455836594104767,
0.03583521395921707,
-0.04498715698719025,
0.10038727521896362,
0.022077415138483047,
0.28727757930755615,
0.23655128479003906,
-0.24058012664318085,
0.21110983192920685,
0.26898857951164246,
0.12789936363697052,
-0.05856659263372421,
0.26116102933883667,
0.12064263224601746,
0.30987340211868286,
0.044186536222696304,
0.3969866931438446,
0.40664365887641907,
-0.02429145947098732,
-0.06979825347661972,
0.35700759291648865,
0.4654940962791443,
-0.11357749998569489,
0.04277142882347107,
-0.44253966212272644,
-0.3022848069667816,
0.3229691684246063,
0.10322533547878265,
0.20951572060585022,
-0.030236605554819107,
0.24559557437896729,
-0.09933505952358246,
0.1353772133588791,
-0.30407625436782837,
-0.1329997181892395,
0.34276309609413147,
-0.04992683231830597,
-0.05175724998116493,
-0.2772705852985382,
-0.1413753181695938,
0.13617658615112305,
0.45177775621414185,
-0.4343023896217346,
0.4190722107887268,
0.41103991866111755,
0.06377968192100525,
0.028095614165067673,
0.08774660527706146,
0.0066463761031627655,
0.27521586418151855,
-0.033965274691581726,
0.24259328842163086,
0.2572788596153259,
0.200107142329216,
-0.4642300009727478,
-0.11917849630117416,
-0.1365949809551239,
-0.010577134788036346,
0.1155770793557167,
-0.1628129482269287,
0.05397902429103851,
-0.2247873842716217,
-0.3613808751106262,
0.0008951574563980103,
-0.044295866042375565,
0.30169224739074707,
-0.006178729236125946,
0.047527678310871124,
0.32888883352279663,
0.015484909527003765,
0.009649466723203659,
0.03922715783119202,
0.3208156228065491,
-0.28912022709846497,
0.1304500550031662,
0.34424662590026855,
0.0020329803228378296,
0.3154870569705963,
0.36476391553878784,
0.4030848443508148,
0.1348170042037964,
-0.3872421979904175,
0.3863515853881836,
-0.3238235116004944,
-0.08864249289035797,
-0.1788388043642044,
0.40649867057800293,
0.16229721903800964,
0.3920530378818512,
0.13896293938159943,
0.27256637811660767,
-0.2383744716644287,
-0.024696890264749527,
-0.0100940503180027,
-0.6389240026473999,
-0.22272011637687683,
0.11864133179187775,
0.027704736217856407,
-0.0568242184817791,
-0.10172100365161896,
-0.1072613075375557,
-0.4764910340309143,
0.05484743416309357,
0.25608813762664795,
-0.12801067531108856,
0.19676944613456726,
0.08170682191848755,
0.16188466548919678,
-0.07598961889743805,
0.2085563838481903,
0.10956539213657379,
0.22737020254135132,
-0.11322779208421707,
-0.08804278820753098,
-0.4252544939517975,
-0.23267683386802673,
0.04882548004388809,
0.08945273607969284,
-0.2843970060348511,
-0.019526194781064987,
0.52669757604599,
0.5748499631881714,
-0.29884135723114014,
-0.06947650015354156,
-0.0052743637934327126,
0.09724904596805573,
0.005922641605138779,
0.10452155768871307,
0.28016817569732666,
0.32872065901756287,
0.029067452996969223,
-0.5963889956474304,
-0.08535538613796234,
0.03825558349490166,
0.18333739042282104,
0.021470924839377403,
0.11570660769939423,
-0.04892925173044205,
-0.16838660836219788,
0.1052694171667099,
0.0935143381357193,
0.41813603043556213,
-0.4173111915588379,
-0.041445598006248474,
0.05184159055352211,
0.27411359548568726,
-0.09961740672588348,
-0.13727569580078125,
-0.004981856793165207,
0.4378754794597626,
0.0007114801555871964,
0.12557779252529144,
-0.18129095435142517,
0.17655843496322632,
-0.008211057633161545,
-0.14893533289432526,
-0.15193264186382294,
-0.05065051466226578,
-0.36921048164367676,
0.08479835838079453,
-0.08091072738170624,
0.1684248298406601,
-0.11148379743099213,
0.005314858630299568,
-0.2790515720844269,
-0.14930607378482819,
0.3154733180999756,
-0.015880005434155464,
-0.08299750089645386,
-0.08708570152521133,
0.3316573202610016,
0.38145631551742554,
0.2908838093280792,
-0.7143064141273499,
0.1689208745956421,
0.069566510617733,
0.09200845658779144,
0.04130944237112999,
0.3705560564994812,
0.07057267427444458,
-0.3460865914821625,
-0.09585882723331451,
0.371920645236969,
-0.06623177975416183,
-0.053327254951000214,
-0.12515045702457428,
-0.48125481605529785
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | Users can do the conversion from mp3 to wav by themselves if they want to using `map`.
IMO it's better if we can keep the decoding part with the minimal features to be both easy to understand and flexible, i.e. just having the on-the-fly decoding of the audio data (with the sampling rate parameter)
Decompressing from mp3 to wav sounds like an optimization that depends on the problem that the user wants to solve, the constrains from its environment (disk space, IO speed), and other parameters (optimal training speed for example). Therefore I would leave this to the user to decide whether it has to do it or not.
Let me know what you think about this | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 117 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
Users can do the conversion from mp3 to wav by themselves if they want to using `map`.
IMO it's better if we can keep the decoding part with the minimal features to be both easy to understand and flexible, i.e. just having the on-the-fly decoding of the audio data (with the sampling rate parameter)
Decompressing from mp3 to wav sounds like an optimization that depends on the problem that the user wants to solve, the constrains from its environment (disk space, IO speed), and other parameters (optimal training speed for example). Therefore I would leave this to the user to decide whether it has to do it or not.
Let me know what you think about this | [
-0.18956664204597473,
-0.11146074533462524,
-0.1869591921567917,
-0.21407721936702728,
-0.012746147811412811,
-0.23346784710884094,
0.13043203949928284,
0.21199524402618408,
-0.16614678502082825,
0.37174713611602783,
-0.1095859482884407,
0.38870182633399963,
-0.3206619918346405,
0.13888771831989288,
-0.19649888575077057,
-0.12000702321529388,
0.03983841836452484,
0.3038683533668518,
-0.05220480263233185,
0.12152594327926636,
0.016446832567453384,
0.06645287573337555,
-0.25091588497161865,
0.12089703977108002,
0.13516247272491455,
0.016351133584976196,
0.05991438031196594,
-0.0592474564909935,
-0.6294004321098328,
-0.30961862206459045,
-0.09116821736097336,
0.1458815336227417,
-0.026613380759954453,
0.06110600009560585,
-0.00009519032028038055,
-0.3349469304084778,
0.2133198082447052,
-0.12043693661689758,
-0.04827892780303955,
-0.2154984027147293,
-0.287131667137146,
-0.2615312933921814,
-0.17761582136154175,
-0.17443853616714478,
-0.032558292150497437,
-0.20813491940498352,
0.11155728995800018,
-0.10547807812690735,
0.572348952293396,
0.24145326018333435,
0.2797287702560425,
-0.23912809789180756,
-0.03867337480187416,
0.1312207728624344,
0.292635053396225,
0.1392197608947754,
-0.27275505661964417,
-0.12691330909729004,
0.3697463870048523,
0.16287951171398163,
-0.03313679248094559,
0.505837082862854,
-0.16303159296512604,
0.14018604159355164,
0.17797070741653442,
0.0713573694229126,
-0.08596649020910263,
-0.47192445397377014,
-0.1793135404586792,
0.2189696729183197,
0.5827232599258423,
-0.2739497125148773,
-0.24227462708950043,
0.007757879793643951,
0.12306921184062958,
-0.3926689028739929,
-0.11906229704618454,
0.1385258287191391,
-0.40035706758499146,
0.1777784824371338,
-0.17449647188186646,
-0.06454663723707199,
-0.18273133039474487,
-0.05020759999752045,
0.2698383033275604,
-0.15639404952526093,
-0.16981838643550873,
-0.05134972929954529,
0.1915319412946701,
-0.08111821860074997,
-0.11855969578027725,
-0.035350997000932693,
0.11642637848854065,
0.3978652060031891,
0.08323541283607483,
-0.44008877873420715,
-0.1443411409854889,
-0.25851133465766907,
0.08735241740942001,
-0.08626238256692886,
0.07689809799194336,
-0.0004986226558685303,
0.12166531383991241,
0.32133835554122925,
-0.0657997876405716,
-0.1739460676908493,
-0.021189622581005096,
-0.29662734270095825,
0.1771228313446045,
-0.2339717447757721,
0.14799095690250397,
-0.14085155725479126,
-0.002427375875413418,
-0.06512878090143204,
-0.2950689494609833,
0.20262223482131958,
0.12719696760177612,
-0.19514867663383484,
-0.29621580243110657,
-0.15378490090370178,
-0.060861967504024506,
-0.033703893423080444,
-0.04504474252462387,
0.17699134349822998,
0.09103132784366608,
0.07530620694160461,
-0.08004914224147797,
0.3347111940383911,
-0.035571590065956116,
0.17486613988876343,
0.13758009672164917,
0.06483730673789978,
0.10589654743671417,
0.2015383541584015,
0.18363745510578156,
0.255090594291687,
0.3196667432785034,
0.193738654255867,
0.24213269352912903,
-0.0218286644667387,
0.38681909441947937,
-0.16767966747283936,
-0.005971625447273254,
-0.06630882620811462,
-0.03518717736005783,
0.016740432009100914,
-0.22953779995441437,
0.2045029252767563,
-0.2652643322944641,
0.1409267783164978,
-0.19129714369773865,
-0.021312355995178223,
0.18513552844524384,
0.2658233344554901,
-0.04271528869867325,
0.11560075730085373,
0.1237577497959137,
0.5080581903457642,
-0.09216909855604172,
-0.6021746397018433,
-0.07402699440717697,
-0.055523425340652466,
-0.3513374328613281,
-0.19378064572811127,
0.12992756068706512,
-0.12102250754833221,
0.051703330129384995,
0.027017205953598022,
0.020389830693602562,
-0.047390010207891464,
0.22601547837257385,
0.09570756554603577,
-0.11812029778957367,
0.04805195331573486,
0.05844525247812271,
0.17386727035045624,
0.5270229578018188,
-0.4311341345310211,
-0.043611593544483185,
0.08462511748075485,
0.1435437947511673,
-0.011670565232634544,
0.16805943846702576,
0.024815965443849564,
0.21860843896865845,
-0.36411023139953613,
-0.22877293825149536,
0.26605838537216187,
-0.16304855048656464,
-0.01026792824268341,
-0.06117641553282738,
-0.4291543960571289,
0.14139464497566223,
0.019331958144903183,
-0.1163485199213028,
-0.07740754634141922,
-0.12180482596158981,
-0.07624903321266174,
0.1253391057252884,
-0.0730753093957901,
0.08199099451303482,
-0.04886845499277115,
0.5479426383972168,
-0.18405233323574066,
-0.07029391080141068,
-0.20345476269721985,
0.608113169670105,
-0.11460944265127182,
-0.032656941562891006,
0.17090366780757904,
-0.07488678395748138,
-0.23452118039131165,
0.00012979470193386078,
-0.3070800304412842,
-0.14198102056980133,
-0.21262012422084808,
0.2646103501319885,
-0.011892788112163544,
0.12220779061317444,
-0.2799796760082245,
-0.20721645653247833,
-0.16533759236335754,
0.15795835852622986,
-0.12559396028518677,
-0.15901651978492737,
-0.2668922543525696,
-0.05893655866384506,
-0.025417938828468323,
0.15388035774230957,
0.23526853322982788,
-0.10149585455656052,
0.12078036367893219,
-0.036440711468458176,
0.22068610787391663,
0.22642508149147034,
0.30049967765808105,
-0.04979652911424637,
0.19097046554088593,
0.176468163728714,
-0.3452056050300598,
0.3089718520641327,
0.07069212198257446,
0.3897150456905365,
-0.07390084117650986,
-0.22575992345809937,
0.16694670915603638,
0.04526902735233307,
0.17388811707496643,
0.09094226360321045,
-0.1425476372241974,
0.17580869793891907,
0.1830882728099823,
-0.3738228976726532,
0.16263048350811005,
-0.24781329929828644,
-0.16613663733005524,
0.18325579166412354,
-0.22115342319011688,
-0.005181342363357544,
-0.0495242103934288,
0.4539426863193512,
-0.0030286889523267746,
-0.157401442527771,
0.2730659544467926,
0.025178954005241394,
-0.25066831707954407,
0.06280295550823212,
0.006447147578001022,
0.4928715229034424,
0.3540511727333069,
0.3049667477607727,
-0.11897025257349014,
0.06522738933563232,
0.09980340301990509,
0.1617444008588791,
-0.11059592664241791,
-0.11947301775217056,
0.04956189543008804,
-0.14152395725250244,
-0.09664785116910934,
-0.10389767587184906,
-0.0624057874083519,
-0.09655670821666718,
-0.03448346257209778,
0.061252932995557785,
-0.18672247231006622,
0.08491384983062744,
-0.02725278027355671,
-0.10606446862220764,
-0.18774887919425964,
0.1445191651582718,
0.08666644245386124,
0.31589168310165405,
0.13405592739582062,
-0.22012321650981903,
0.14538981020450592,
0.20545633137226105,
0.19931145012378693,
-0.1458534449338913,
0.16537269949913025,
0.08369866013526917,
0.20348675549030304,
0.05747384577989578,
0.30863577127456665,
0.14587803184986115,
0.32110098004341125,
0.2649366557598114,
0.10903044790029526,
0.05547146499156952,
0.11751136928796768,
-0.05440741032361984,
0.12521737813949585,
-0.1763451248407364,
0.24666330218315125,
0.02819729596376419,
0.1890915036201477,
0.05635698139667511,
-0.39865049719810486,
0.11686110496520996,
0.014232581481337547,
-0.1427522450685501,
-0.06888338923454285,
0.11723440885543823,
-0.10684983432292938,
-0.2574521005153656,
-0.32413506507873535,
-0.5834866762161255,
-0.4419766068458557,
0.20558878779411316,
0.009593620896339417,
0.2608766555786133,
-0.13379375636577606,
0.1348259299993515,
0.022191133350133896,
0.189689502120018,
0.40023261308670044,
-0.28540581464767456,
-0.20637482404708862,
0.19066983461380005,
-0.31194400787353516,
-0.1339237242937088,
-0.12833847105503082,
0.13561595976352692,
0.3164803087711334,
0.22444680333137512,
0.06992582976818085,
-0.06783843785524368,
0.02895732782781124,
0.057213108986616135,
-0.06635177880525589,
0.22213490307331085,
0.3312639594078064,
0.2956738770008087,
-0.1980983316898346,
-0.12242689728736877,
0.2164945751428604,
0.04063505679368973,
0.20550116896629333,
0.12469016015529633,
0.1669081747531891,
0.10979290306568146,
-0.06591936945915222,
0.7114850282669067,
0.3398020267486572,
0.21050557494163513,
-0.10881489515304565,
0.06217771768569946,
0.05596477910876274,
-0.1352226436138153,
0.08068162202835083,
0.2956881821155548,
-0.09227843582630157,
-0.22215797007083893,
0.2834724187850952,
0.16123750805854797,
-0.21038220822811127,
-0.21072918176651,
0.2506156265735626,
-0.3098139464855194,
-0.15640810132026672,
0.25190308690071106,
0.13352254033088684,
0.16058465838432312,
-0.213439479470253,
0.17264336347579956,
-0.004461957141757011,
0.013102946802973747,
-0.008488195948302746,
0.16003607213497162,
0.2472105622291565,
0.06700127571821213,
-0.20237872004508972,
-0.18336550891399384,
-0.31445208191871643,
-0.07131370902061462,
0.2321549504995346,
0.1564658284187317,
-0.15132969617843628,
-0.19895294308662415,
-0.12284570932388306,
-0.15442129969596863,
-0.10558436810970306,
-0.12935081124305725,
-0.22506605088710785,
-0.023756830021739006,
0.48702430725097656,
0.35374605655670166,
0.1592678725719452,
-0.41022777557373047,
-0.04039681702852249,
-0.08517350256443024,
0.03947346657514572,
-0.35546693205833435,
-0.1971798688173294,
0.017779121175408363,
0.2833423614501953,
0.18075819313526154,
0.05213703587651253,
-0.039269499480724335,
-0.2973220646381378,
-0.16881488263607025,
0.04282494634389877,
0.07662766426801682,
-0.12242551892995834,
-0.2082206755876541,
-0.1474648118019104,
0.243697389960289,
0.10724826902151108,
0.35069888830184937,
0.12919089198112488,
0.041591621935367584,
-0.2792700231075287,
0.03128543868660927,
-0.062076158821582794,
-0.29551395773887634,
-0.05240897089242935,
0.16077907383441925,
0.08854266256093979,
0.07597431540489197,
0.08847647160291672,
-0.31466785073280334,
0.3524729311466217,
0.2293391227722168,
-0.0596771314740181,
0.1611480712890625,
-0.31847622990608215,
0.15250883996486664,
-0.6148427724838257,
0.08894649893045425,
0.29042282700538635,
0.19696731865406036,
0.0653693899512291,
-0.3856229782104492,
0.4672820270061493,
-0.07772529125213623,
-0.24094106256961823,
0.39148834347724915,
-0.1095060259103775,
-0.2130749672651291,
0.3067493438720703,
0.08332595229148865,
0.9395566582679749,
0.3220532536506653,
-0.01840929314494133,
0.3130561113357544,
-0.10441239178180695,
0.1046353280544281,
-0.4191848635673523,
0.05433593690395355,
0.026136521250009537,
0.04854689538478851,
-0.13317501544952393,
0.028679195791482925,
0.2902597486972809,
0.14941933751106262,
-0.584583044052124,
0.11325465887784958,
0.505020260810852,
-0.08590880036354065,
-0.029757244512438774,
0.23314782977104187,
-0.3603794574737549,
-0.22952109575271606,
0.07523525506258011,
0.2681531310081482,
-0.12232407927513123,
-0.028997931629419327,
0.08547089248895645,
-0.323897123336792,
-0.10666534304618835,
-0.0743585079908371,
-0.0833202674984932,
-0.09242737293243408,
-0.3593856692314148,
0.09038934111595154,
-0.28796908259391785,
-0.04367624595761299,
0.19272750616073608,
0.04884347692131996,
-0.3369680643081665,
0.29320329427719116,
-0.21742266416549683,
0.04529620707035065,
0.002346515655517578,
0.39447781443595886,
0.042388156056404114,
-0.017692046239972115,
-0.02099655009806156,
-0.20292186737060547,
0.021158896386623383,
0.04206724837422371,
-0.14769791066646576,
0.048119619488716125,
0.2277853786945343,
-0.15819716453552246,
0.267196387052536,
-0.13092681765556335,
-0.319389671087265,
0.2888667583465576,
-0.26076194643974304,
0.15074555575847626,
0.2666683495044708,
0.10538242012262344,
-0.5651663541793823,
0.4148208200931549,
-0.08308745920658112,
0.06850594282150269,
0.0016758274286985397,
-0.3137342631816864,
-0.010489795356988907,
-0.08162371814250946,
0.08120830357074738,
-0.34194692969322205,
-0.25192004442214966,
-0.29135701060295105,
0.32395121455192566,
-0.2757825553417206,
-0.022304631769657135,
-0.20681418478488922,
0.12085472047328949,
-0.3945366144180298,
-0.011071055196225643,
-0.13325750827789307,
-0.08937409520149231,
-0.006880909204483032,
-0.2830387055873871,
-0.23072507977485657,
-0.32786664366722107,
0.15382003784179688,
0.23838216066360474,
0.13296857476234436,
-0.2958675026893616,
-0.09163077175617218,
0.011929543688893318,
0.0008891373872756958,
-0.49514341354370117,
-0.025685975328087807,
0.05322955548763275,
0.3997373580932617,
0.020357660949230194,
0.039258964359760284,
-0.033308759331703186,
0.030460171401500702,
0.2078721672296524,
0.08423234522342682,
-0.3900911509990692,
-0.2816753089427948,
-0.045881487429142,
0.13620702922344208,
-0.03172128647565842,
-0.2272636443376541,
0.08655373007059097,
0.019546106457710266,
-0.38059139251708984,
-0.1983269900083542,
0.06666392087936401,
-0.004371441900730133,
-0.12450253963470459,
0.09788434207439423,
-0.3825315833091736,
0.1712416410446167,
0.06608334183692932,
-0.011158499866724014,
-0.016745463013648987,
0.08805184811353683,
0.055109426379203796,
0.25891900062561035,
0.12210315465927124,
-0.2368066906929016,
0.2087036669254303,
0.28890740871429443,
-0.04998892545700073,
-0.24308443069458008,
0.3028408885002136,
0.21625271439552307,
0.3122555911540985,
0.0062193195335567,
0.2687012851238251,
0.3284059166908264,
-0.04152430593967438,
0.01790820248425007,
0.39131155610084534,
0.4626343548297882,
-0.06658935546875,
0.08407621830701828,
-0.42185911536216736,
-0.25336769223213196,
0.25228962302207947,
0.04528452455997467,
0.14973066747188568,
-0.057931266725063324,
0.10714264214038849,
-0.23154547810554504,
0.14734579622745514,
-0.334466814994812,
-0.034262072294950485,
0.3603680431842804,
-0.07451581954956055,
-0.013110119849443436,
-0.19704580307006836,
-0.08008943498134613,
0.11336234956979752,
0.2623891830444336,
-0.4449223279953003,
0.3886944651603699,
0.4527754783630371,
-0.025914784520864487,
0.15870431065559387,
0.08476543426513672,
-0.14418147504329681,
0.32045745849609375,
0.03157798945903778,
0.2734741270542145,
0.23738394677639008,
0.14258897304534912,
-0.4519504904747009,
-0.25546497106552124,
0.05229131132364273,
0.06550414115190506,
0.09003345668315887,
-0.0877053439617157,
0.10262173414230347,
-0.17922554910182953,
-0.42230668663978577,
-0.10919585824012756,
0.0044057369232177734,
0.08779864758253098,
0.00397048145532608,
0.06063643842935562,
0.3568548560142517,
0.2535536587238312,
-0.09993939846754074,
-0.013325966894626617,
0.4735342264175415,
-0.3401651680469513,
0.021735014393925667,
0.2825147807598114,
-0.07528656721115112,
0.22528554499149323,
0.27190089225769043,
0.3061146140098572,
0.09579084068536758,
-0.5148175358772278,
0.3369385898113251,
-0.21210642158985138,
-0.179506316781044,
-0.06284954398870468,
0.3163900673389435,
0.21839283406734467,
0.3706417679786682,
0.13220377266407013,
0.25022298097610474,
-0.233903706073761,
-0.13820382952690125,
0.09952834248542786,
-0.5109355449676514,
-0.24615368247032166,
0.12151850014925003,
0.02238158881664276,
-0.1056419163942337,
0.08925379812717438,
-0.06340938061475754,
-0.4817432761192322,
0.02680155634880066,
0.14298024773597717,
-0.12363151460886002,
0.17596250772476196,
0.11266043037176132,
0.16838893294334412,
-0.06474541127681732,
0.11314959824085236,
0.007612250745296478,
0.16371726989746094,
-0.08618637174367905,
-0.12749722599983215,
-0.3047018051147461,
-0.2846163511276245,
0.25476184487342834,
0.048987142741680145,
-0.2577514946460724,
0.0169061366468668,
0.4271146059036255,
0.5268357396125793,
-0.35577285289764404,
-0.0952715054154396,
0.16761288046836853,
0.08254331350326538,
-0.048597607761621475,
0.07944963872432709,
0.26057326793670654,
0.28494182229042053,
-0.001500757411122322,
-0.44117477536201477,
-0.03116452321410179,
0.043268244713544846,
0.19879433512687683,
0.04176223278045654,
0.15073414146900177,
-0.02389177307486534,
-0.09401068091392517,
0.02991826832294464,
0.1328469216823578,
0.2727926969528198,
-0.4338427782058716,
-0.14678896963596344,
0.18867897987365723,
0.39623430371284485,
-0.0627768412232399,
-0.12387757748365402,
-0.03354882821440697,
0.40571051836013794,
0.05379988253116608,
0.19090785086154938,
-0.2367033064365387,
0.1040339544415474,
0.02267320454120636,
-0.062250908464193344,
-0.2761286497116089,
-0.054349035024642944,
-0.25823429226875305,
0.06002284958958626,
-0.034647248685359955,
0.1474224328994751,
-0.1763097494840622,
0.0012211352586746216,
-0.2680487036705017,
-0.07656172662973404,
0.36745256185531616,
-0.006802292540669441,
-0.0725608617067337,
0.0025598141364753246,
0.3288724422454834,
0.38500693440437317,
0.4324449300765991,
-0.8178480267524719,
0.08818209916353226,
0.07909754663705826,
-0.016828328371047974,
0.057876672595739365,
0.4141201078891754,
-0.009055713191628456,
-0.36623457074165344,
-0.03945720195770264,
0.37375131249427795,
-0.05729765444993973,
-0.02198876067996025,
-0.030803322792053223,
-0.48403167724609375
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | @albertvillanova, In my opinion the pros strongly outweigh the cons in the @lhoestq's suggestion which is why I think we should go forward with it.
The cons:
- "the operation won't be cached" is not to important as the user will most likely access just a couple of audio array to see how it looks like and then for the "full" feature extraction she/he will make use of `.map(...)` anyways which means that the result will be cached.
- Regarding the multi-processing - if I understand correctly it'll follow the same logic here -> the user will only access some audio arrays for testing playing around with the model but use `.map(...)` for larger operations where multi-processing would still work as before.
The advantages mostly solve the main poinpoints being:
- exploding disk space
- bad user experience since the audio is not loaded on the go
=> So I'm very much in favor of the "direct-access" feature | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 158 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
@albertvillanova, In my opinion the pros strongly outweigh the cons in the @lhoestq's suggestion which is why I think we should go forward with it.
The cons:
- "the operation won't be cached" is not to important as the user will most likely access just a couple of audio array to see how it looks like and then for the "full" feature extraction she/he will make use of `.map(...)` anyways which means that the result will be cached.
- Regarding the multi-processing - if I understand correctly it'll follow the same logic here -> the user will only access some audio arrays for testing playing around with the model but use `.map(...)` for larger operations where multi-processing would still work as before.
The advantages mostly solve the main poinpoints being:
- exploding disk space
- bad user experience since the audio is not loaded on the go
=> So I'm very much in favor of the "direct-access" feature | [
-0.34320348501205444,
-0.07187510281801224,
-0.17102257907390594,
-0.15583175420761108,
-0.1956128180027008,
-0.20495671033859253,
0.43889516592025757,
0.089164137840271,
-0.1347465068101883,
0.3390357792377472,
-0.2319914996623993,
0.2661570608615875,
-0.39994901418685913,
0.33595290780067444,
-0.09121008962392807,
-0.04050440341234207,
0.07537874579429626,
0.16912570595741272,
0.010938167572021484,
0.19504354894161224,
-0.09943433105945587,
0.04211871325969696,
-0.3023368716239929,
0.19897380471229553,
-0.13179709017276764,
-0.05815630406141281,
0.061389997601509094,
-0.01129923015832901,
-0.40036922693252563,
-0.257030725479126,
-0.09392579644918442,
0.2566836178302765,
-0.10623399913311005,
0.26421594619750977,
-0.00010109540016856045,
-0.1657899171113968,
0.11513017117977142,
-0.08227377384901047,
0.062155719846487045,
-0.12532787024974823,
-0.2253175973892212,
-0.198329895734787,
-0.18260398507118225,
-0.31963658332824707,
0.025788474828004837,
0.01733577996492386,
0.10568660497665405,
-0.23627160489559174,
0.5582744479179382,
0.17237597703933716,
0.20609360933303833,
-0.10306496918201447,
0.00039246678352355957,
0.2112456113100052,
0.15734055638313293,
0.22752414643764496,
-0.15834163129329681,
-0.19291633367538452,
0.3585812747478485,
0.11123623698949814,
-0.016247563064098358,
0.6950390338897705,
-0.17112849652767181,
0.10415756702423096,
0.022279776632785797,
0.07718096673488617,
-0.21855676174163818,
-0.35591694712638855,
-0.11466842144727707,
0.2723543345928192,
0.36906665563583374,
-0.23190191388130188,
-0.4431248605251312,
-0.009488072246313095,
-0.09320428222417831,
-0.44220805168151855,
-0.13948044180870056,
0.2569500207901001,
-0.2514774203300476,
0.17987315356731415,
-0.26221081614494324,
-0.21172966063022614,
-0.18236640095710754,
-0.19790486991405487,
0.2849143147468567,
-0.11837717890739441,
-0.15081673860549927,
0.14231576025485992,
0.10781779885292053,
-0.0011521987617015839,
-0.1228627935051918,
-0.11395421624183655,
0.18162062764167786,
0.34630218148231506,
-0.09673593938350677,
-0.29985499382019043,
0.02212175354361534,
-0.2739236056804657,
0.04687108099460602,
-0.19051487743854523,
0.08535025268793106,
-0.032356105744838715,
-0.055095285177230835,
0.3475627303123474,
-0.06232508644461632,
-0.15016435086727142,
-0.07666587084531784,
-0.20516084134578705,
0.2602066695690155,
-0.2170403003692627,
-0.0158575139939785,
-0.11266111582517624,
0.16627244651317596,
0.07268044352531433,
-0.16620662808418274,
0.2009291648864746,
0.06609085202217102,
-0.2555524408817291,
-0.19919973611831665,
-0.09049419313669205,
-0.09590595960617065,
-0.19379237294197083,
0.06111655756831169,
0.33407050371170044,
0.14482001960277557,
0.18969762325286865,
-0.06044144555926323,
0.3478150963783264,
-0.03303635120391846,
0.0023453915491700172,
0.034461405128240585,
0.11848960816860199,
0.01539558544754982,
0.1783328801393509,
0.3081001937389374,
0.2744952440261841,
0.34648066759109497,
0.04645425081253052,
0.2739684581756592,
0.01828695833683014,
0.4462081491947174,
-0.15103386342525482,
0.0033129900693893433,
0.1080373078584671,
0.02972954884171486,
0.006317151710391045,
-0.22183404862880707,
0.280040979385376,
-0.2347641885280609,
0.13860240578651428,
-0.12721464037895203,
-0.2446897178888321,
0.39060965180397034,
0.20479203760623932,
-0.07807310670614243,
0.1357041299343109,
0.0060362666845321655,
0.46810171008110046,
0.17911677062511444,
-0.5746338367462158,
-0.14315128326416016,
-0.005026835948228836,
-0.36330339312553406,
-0.2454231083393097,
0.08648256212472916,
0.00571836531162262,
-0.1050550788640976,
0.12423643469810486,
-0.027056001126766205,
-0.010985616594552994,
0.07492712885141373,
0.06682327389717102,
-0.21088626980781555,
0.041356101632118225,
0.10350502282381058,
0.33303964138031006,
0.4370212256908417,
-0.5881470441818237,
0.030937613919377327,
0.13798658549785614,
0.09090150892734528,
-0.0025694184005260468,
0.3134549856185913,
0.05519851669669151,
0.14346303045749664,
-0.3440532982349396,
-0.2057792842388153,
0.09549274295568466,
-0.1710614264011383,
0.03574372082948685,
-0.12959948182106018,
-0.5043518543243408,
0.22067612409591675,
0.0029101166874170303,
0.12422443926334381,
-0.13842174410820007,
-0.21795883774757385,
-0.15472182631492615,
0.19542557001113892,
-0.17448435723781586,
0.16197754442691803,
-0.16048306226730347,
0.5841441750526428,
-0.21183668076992035,
-0.1111963540315628,
-0.42074376344680786,
0.5401769280433655,
0.020794615149497986,
-0.14917227625846863,
0.10792076587677002,
0.09542804211378098,
-0.2934017777442932,
0.1895637810230255,
-0.08196176588535309,
-0.13559354841709137,
-0.36761683225631714,
0.20864173769950867,
0.13005194067955017,
0.14213238656520844,
-0.2877126634120941,
-0.39327073097229004,
0.06727477163076401,
0.2051422894001007,
-0.18369799852371216,
-0.23530273139476776,
-0.20666447281837463,
-0.13301199674606323,
0.06446211040019989,
-0.1426583230495453,
0.13901099562644958,
-0.1850982904434204,
0.013901759870350361,
0.05601635202765465,
0.4003453850746155,
0.3263741135597229,
0.12831836938858032,
-0.03846174478530884,
0.33369824290275574,
0.16884566843509674,
-0.26769375801086426,
0.40583720803260803,
0.07554994523525238,
0.3414826989173889,
-0.03273351490497589,
-0.24917349219322205,
0.24526682496070862,
0.07504385709762573,
0.18694785237312317,
0.05060896277427673,
-0.2108175903558731,
0.23116666078567505,
0.20553991198539734,
-0.3148370087146759,
0.08566966652870178,
-0.1873341053724289,
-0.16979341208934784,
0.14664417505264282,
-0.27267467975616455,
-0.172666996717453,
0.03202568739652634,
0.45683518052101135,
0.10446833074092865,
-0.20991250872612,
0.2177245318889618,
0.016548100858926773,
-0.29766321182250977,
0.05797670781612396,
0.0049959756433963776,
0.6131965517997742,
0.31188440322875977,
0.1713370531797409,
-0.14793485403060913,
0.029527679085731506,
0.11089013516902924,
0.24011006951332092,
-0.1851380318403244,
-0.08783745765686035,
0.1035124734044075,
0.04313021898269653,
-0.09718958288431168,
-0.05399443209171295,
-0.135911762714386,
-0.025653136894106865,
-0.09980899840593338,
-0.005205351859331131,
-0.12827759981155396,
0.15524056553840637,
0.09539129585027695,
-0.03454975783824921,
-0.17023266851902008,
0.20809884369373322,
0.199076846241951,
0.3695427179336548,
0.19762253761291504,
-0.22965453565120697,
0.13908903300762177,
0.18727530539035797,
0.19768144190311432,
-0.22142910957336426,
0.15662619471549988,
0.1442420333623886,
0.22821266949176788,
0.027891220524907112,
0.20362219214439392,
0.15285691618919373,
0.31871718168258667,
0.2820608913898468,
0.30410486459732056,
-0.21547992527484894,
0.18074551224708557,
-0.14626893401145935,
0.08631986379623413,
-0.0365593284368515,
0.3402785360813141,
0.1124957874417305,
-0.14415055513381958,
0.2044152021408081,
-0.40421903133392334,
0.22193673253059387,
-0.048893216997385025,
-0.1809941828250885,
-0.0484425313770771,
0.15424644947052002,
-0.06390265375375748,
-0.25206393003463745,
-0.39704689383506775,
-0.5715914964675903,
-0.3641807436943054,
0.35378342866897583,
-0.03594531491398811,
0.2301030158996582,
-0.17689581215381622,
0.08211646974086761,
-0.06553923338651657,
0.12077938765287399,
0.30598586797714233,
-0.36602872610092163,
-0.13063934445381165,
-0.0001034177839756012,
-0.22703661024570465,
-0.1965230256319046,
-0.20031656324863434,
0.026429254561662674,
0.3038090169429779,
0.25018423795700073,
0.07190331816673279,
-0.23808623850345612,
0.012993291951715946,
-0.045048534870147705,
0.1287747323513031,
0.15639305114746094,
0.488025963306427,
0.30689629912376404,
-0.14870142936706543,
-0.06874530762434006,
0.16474728286266327,
0.2875649929046631,
0.2367892563343048,
-0.011095508933067322,
0.11043760925531387,
0.15237392485141754,
0.05483696237206459,
0.742292582988739,
0.34764403104782104,
0.18314996361732483,
-0.11623099446296692,
0.10017664730548859,
-0.017991889268159866,
-0.27103742957115173,
-0.12350078672170639,
0.16650579869747162,
-0.28473901748657227,
-0.3828454613685608,
0.25028079748153687,
0.07160481810569763,
-0.2976531982421875,
-0.22750543057918549,
0.32000085711479187,
-0.3595907390117645,
-0.18474209308624268,
0.2633417546749115,
0.09751757979393005,
0.4133417010307312,
0.07396823167800903,
-0.00961972028017044,
-0.087795689702034,
0.09380839020013809,
-0.07277846336364746,
0.11031102389097214,
0.31179314851760864,
-0.10161235183477402,
-0.3946252465248108,
-0.2568703591823578,
-0.22891247272491455,
0.10744680464267731,
0.2987346649169922,
0.20525309443473816,
-0.11140955984592438,
-0.28163525462150574,
-0.027528896927833557,
-0.30789053440093994,
0.06031803786754608,
-0.2697063386440277,
-0.13774801790714264,
0.0670502781867981,
0.16808541119098663,
0.29028934240341187,
0.04578370228409767,
-0.4650667607784271,
-0.023760035634040833,
-0.0025895610451698303,
0.17693465948104858,
-0.31656545400619507,
-0.18370872735977173,
0.022602401673793793,
0.34347862005233765,
-0.0035585835576057434,
0.08076577633619308,
-0.07909312844276428,
-0.0010103248059749603,
-0.2785112261772156,
0.0009031146764755249,
-0.009682862088084221,
-0.11932738870382309,
-0.19299812614917755,
-0.03274819627404213,
0.2663487493991852,
0.14063617587089539,
0.30429786443710327,
0.21655845642089844,
0.014635687693953514,
-0.36220914125442505,
0.2268683910369873,
-0.15622131526470184,
-0.23938357830047607,
-0.16181106865406036,
0.0689067468047142,
0.012514585629105568,
0.19036239385604858,
0.04611349105834961,
-0.2810298204421997,
0.30544137954711914,
0.26147815585136414,
-0.10427076369524002,
0.14234259724617004,
-0.08610435575246811,
0.13243946433067322,
-0.5420494675636292,
0.12886586785316467,
0.20843687653541565,
0.21620646119117737,
0.1969490349292755,
-0.42818960547447205,
0.34741368889808655,
-0.1096118688583374,
-0.31691187620162964,
0.2458891123533249,
-0.20288504660129547,
-0.22809725999832153,
0.3506103754043579,
0.049399733543395996,
0.796110212802887,
0.31845521926879883,
0.10831917822360992,
0.32540038228034973,
-0.1132819652557373,
-0.0032738789450377226,
-0.7093281745910645,
0.06990767270326614,
0.005625095218420029,
-0.0010268008336424828,
-0.07192553579807281,
-0.032556504011154175,
0.20540589094161987,
0.28181710839271545,
-0.47383710741996765,
0.10747057944536209,
0.5130350589752197,
-0.003268968313932419,
-0.13779114186763763,
0.2606709599494934,
-0.13321074843406677,
-0.23049823939800262,
0.15561263263225555,
0.18750536441802979,
0.050367388874292374,
-0.20690836012363434,
0.02988281473517418,
-0.18138764798641205,
-0.03370262682437897,
-0.17752417922019958,
-0.23973849415779114,
-0.19797906279563904,
-0.37784862518310547,
0.17660082876682281,
-0.3503980338573456,
-0.015520140528678894,
0.1333826631307602,
0.05284199118614197,
-0.22908316552639008,
0.25747179985046387,
-0.13745246827602386,
-0.011165585368871689,
0.07234279066324234,
0.40157821774482727,
0.06632822751998901,
-0.09538570046424866,
0.03867954760789871,
-0.3256327509880066,
-0.15445534884929657,
0.0904122143983841,
-0.23912404477596283,
0.00942041352391243,
0.2936018705368042,
0.0349041149020195,
0.256816565990448,
-0.15729659795761108,
-0.3388254642486572,
0.4883987307548523,
-0.19757391512393951,
0.017277371138334274,
0.18574990332126617,
0.14044427871704102,
-0.6681278944015503,
0.6607140898704529,
-0.24559836089611053,
0.11245293915271759,
-0.05601654574275017,
-0.21995654702186584,
0.13215559720993042,
-0.06323517858982086,
0.12052145600318909,
-0.24304665625095367,
-0.12137937545776367,
-0.3116910457611084,
0.21199241280555725,
-0.21010631322860718,
-0.06764025241136551,
-0.038581643253564835,
0.15407328307628632,
-0.4913252592086792,
0.05822500213980675,
-0.11152619123458862,
-0.01196020096540451,
0.04545096307992935,
-0.3334842026233673,
-0.18396900594234467,
-0.34359943866729736,
0.25652623176574707,
0.19529558718204498,
0.13135845959186554,
-0.2691953480243683,
0.15457887947559357,
-0.07373661547899246,
0.22118651866912842,
-0.4554758369922638,
0.04478044807910919,
0.07364370673894882,
0.4008663296699524,
0.22692619264125824,
0.01910211332142353,
0.0026905066333711147,
0.06618106365203857,
0.17197273671627045,
0.00567164272069931,
-0.5211303234100342,
-0.2601431906223297,
0.018968284130096436,
0.133080393075943,
-0.08722501993179321,
-0.11681155115365982,
0.17771723866462708,
-0.02432090975344181,
-0.43799278140068054,
-0.05584739148616791,
0.0561932809650898,
0.015420127660036087,
-0.1976318508386612,
0.18718719482421875,
-0.4389559328556061,
0.09390432387590408,
0.006199408322572708,
0.11447755247354507,
-0.09173668920993805,
-0.07485818862915039,
0.0044195097871124744,
0.3420460820198059,
0.11710985004901886,
-0.3043331801891327,
0.08215554803609848,
0.16871044039726257,
-0.13295724987983704,
-0.034014083445072174,
0.29198193550109863,
0.17212754487991333,
0.2674560546875,
-0.1002974584698677,
0.4608151316642761,
0.3112987279891968,
0.05238692834973335,
0.15773510932922363,
0.28685322403907776,
0.41049087047576904,
-0.2887347936630249,
0.08697760850191116,
-0.20656587183475494,
-0.3852510452270508,
0.3181954026222229,
0.1867760717868805,
0.35476431250572205,
0.13695959746837616,
0.32518795132637024,
-0.04980140179395676,
0.11928386241197586,
-0.3805055022239685,
-0.11872991919517517,
0.2655349373817444,
-0.08562186360359192,
0.13370202481746674,
-0.08524399250745773,
-0.04792475327849388,
0.1762395203113556,
0.4400429129600525,
-0.2683686316013336,
0.36654412746429443,
0.4140714108943939,
0.07170813530683517,
0.2569007873535156,
0.07501578330993652,
-0.16471344232559204,
0.08940470963716507,
-0.030604183673858643,
0.27349308133125305,
0.1506044566631317,
0.24598395824432373,
-0.4274900257587433,
-0.27215346693992615,
-0.1198720708489418,
0.28820541501045227,
0.14473676681518555,
-0.20631203055381775,
0.13996611535549164,
-0.19759470224380493,
-0.3007833957672119,
-0.10427016019821167,
-0.009387902915477753,
0.306831955909729,
0.28657054901123047,
0.045633260160684586,
0.29451873898506165,
0.08019089698791504,
-0.07524345815181732,
-0.01761920377612114,
0.36445730924606323,
-0.3336077332496643,
0.1392417997121811,
0.44151002168655396,
-0.09227526187896729,
0.22434663772583008,
0.3996543288230896,
0.30182039737701416,
0.059827882796525955,
-0.47140371799468994,
0.388365238904953,
-0.3279152512550354,
-0.053001388907432556,
-0.205185666680336,
0.3453068435192108,
0.30002573132514954,
0.2869139015674591,
0.2568548619747162,
0.15700967609882355,
-0.18740695714950562,
0.004204157739877701,
0.10461044311523438,
-0.3467899560928345,
-0.3451615869998932,
0.12545566260814667,
0.06699669361114502,
-0.09531164914369583,
0.15712574124336243,
-0.019106611609458923,
-0.5610202550888062,
0.1439477652311325,
0.3113507032394409,
-0.22889043390750885,
0.14523425698280334,
0.12290776520967484,
0.138518288731575,
-0.09946742653846741,
0.23127032816410065,
-0.03429592773318291,
0.20938676595687866,
-0.15587183833122253,
-0.03610708937048912,
-0.44095537066459656,
-0.38817572593688965,
0.1383538395166397,
0.07822773605585098,
-0.3320169746875763,
0.18731927871704102,
0.5148595571517944,
0.49850064516067505,
-0.17511893808841705,
-0.19878742098808289,
-0.08424529433250427,
0.2792344093322754,
-0.22124746441841125,
0.20364080369472504,
0.12919208407402039,
0.34247255325317383,
0.09386143088340759,
-0.5051494836807251,
-0.17183153331279755,
0.14398205280303955,
0.10916959494352341,
0.07000148296356201,
0.02897419035434723,
0.07674612104892731,
-0.09884999692440033,
0.0860912874341011,
0.18153022229671478,
0.3079742193222046,
-0.366998553276062,
-0.06840860098600388,
0.04148370027542114,
0.31977343559265137,
-0.20249208807945251,
-0.21678119897842407,
0.12721356749534607,
0.6076453924179077,
-0.12298070639371872,
0.14337798953056335,
-0.15034276247024536,
0.07575733214616776,
-0.009526282548904419,
-0.28560540080070496,
-0.25201597809791565,
-0.025549009442329407,
-0.1934880018234253,
0.02751145325601101,
0.03929159417748451,
0.27598845958709717,
-0.1913236379623413,
-0.009284686297178268,
-0.3943164348602295,
-0.04671803489327431,
0.4877057373523712,
0.036955416202545166,
-0.15193411707878113,
-0.1279657483100891,
0.37987667322158813,
0.2469780147075653,
0.29074719548225403,
-0.8439280986785889,
-0.1288614124059677,
0.14652864634990692,
0.013359934091567993,
-0.07868365198373795,
0.3790826201438904,
0.0023301150649785995,
-0.5937900543212891,
-0.045185524970293045,
0.19628497958183289,
-0.11996746808290482,
-0.053106386214494705,
-0.16414926946163177,
-0.4575870633125305
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | Update: I've retaken this issue.
If the decoding logic is implemented when "examples are accessed", then if afterwards we use the `.map`, it tries to apply the decoding twice (as maps iterates over the examples, thus "accessing them", before trying to apply the map function)...
I'm thinking on some other approach... | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 51 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
Update: I've retaken this issue.
If the decoding logic is implemented when "examples are accessed", then if afterwards we use the `.map`, it tries to apply the decoding twice (as maps iterates over the examples, thus "accessing them", before trying to apply the map function)...
I'm thinking on some other approach... | [
-0.1810634285211563,
-0.14634773135185242,
-0.12767821550369263,
-0.0043808817863464355,
0.0033781714737415314,
-0.22922897338867188,
0.13552184402942657,
0.1552707999944687,
-0.09707385301589966,
0.4516342282295227,
-0.053111448884010315,
0.5013490915298462,
-0.18956995010375977,
0.0808052346110344,
-0.23818427324295044,
-0.054591260850429535,
-0.010019548237323761,
0.3557564616203308,
-0.047165729105472565,
0.10087448358535767,
0.03702237457036972,
0.147784024477005,
-0.33379852771759033,
0.10362217575311661,
0.06649096310138702,
-0.1125684604048729,
0.10832279920578003,
-0.054957032203674316,
-0.4427320659160614,
-0.40588217973709106,
-0.06898646056652069,
0.10423141717910767,
-0.06383230537176132,
0.1875278651714325,
-0.00009793361823540181,
-0.12805795669555664,
0.2791862487792969,
-0.07998660951852798,
-0.028717566281557083,
-0.2569904923439026,
-0.3439968526363373,
-0.22216378152370453,
-0.1439148485660553,
-0.25112834572792053,
-0.1463089883327484,
-0.1369946300983429,
0.14588408172130585,
-0.3381819427013397,
0.640255868434906,
0.19009040296077728,
0.25597506761550903,
-0.23774205148220062,
0.004333272576332092,
0.1336565613746643,
0.4262083172798157,
0.14643728733062744,
-0.1829550862312317,
-0.12363682687282562,
0.3671287000179291,
0.17591875791549683,
-0.08254801481962204,
0.5986071825027466,
-0.1944858431816101,
0.2873179614543915,
-0.04474436491727829,
0.1412704437971115,
-0.14516082406044006,
-0.40799444913864136,
-0.20865613222122192,
0.24098646640777588,
0.45098409056663513,
-0.2520526945590973,
-0.2228221744298935,
-0.08263662457466125,
-0.08341939002275467,
-0.2702174186706543,
-0.09988982230424881,
-0.02780493162572384,
-0.3928430676460266,
0.21800009906291962,
-0.287601113319397,
0.06255301833152771,
-0.12470096349716187,
0.02630690485239029,
0.3514024019241333,
-0.14124813675880432,
-0.2825744152069092,
0.0722711905837059,
0.24559080600738525,
-0.08729004114866257,
-0.12209158390760422,
0.09609747678041458,
-0.018688786774873734,
0.3550405502319336,
0.10594366490840912,
-0.24465233087539673,
0.005469217896461487,
-0.1881725788116455,
0.06798333674669266,
-0.33382004499435425,
0.1251227855682373,
0.11088325083255768,
-0.10510171204805374,
0.506912887096405,
-0.08954085409641266,
-0.14962662756443024,
0.055928755551576614,
-0.0014844969846308231,
0.2570614814758301,
-0.18196670711040497,
0.014434680342674255,
-0.10415146499872208,
-0.09112155437469482,
-0.10978955030441284,
-0.3050621747970581,
0.2412530779838562,
0.18155953288078308,
-0.19823329150676727,
-0.19827990233898163,
-0.07051508128643036,
-0.26594632863998413,
-0.030744213610887527,
-0.012441872619092464,
0.26317793130874634,
0.16604256629943848,
0.05490841716527939,
0.004242677241563797,
0.33230453729629517,
-0.19509261846542358,
0.026270616799592972,
0.06397027522325516,
-0.01167115569114685,
-0.010467339307069778,
0.11181878298521042,
0.19830217957496643,
0.3599694073200226,
0.3683722913265228,
0.21516820788383484,
0.186967134475708,
-0.07950279116630554,
0.35204872488975525,
-0.14912426471710205,
0.17357558012008667,
-0.04197097197175026,
0.07069955766201019,
0.09458816051483154,
-0.07915118336677551,
0.16809117794036865,
-0.22322067618370056,
0.12344902008771896,
-0.1986878514289856,
0.02612437680363655,
0.30481189489364624,
0.2365136295557022,
-0.050245534628629684,
0.13662061095237732,
0.1279895007610321,
0.5251972079277039,
0.05976787209510803,
-0.7755303382873535,
-0.15193337202072144,
0.02863107994198799,
-0.35034093260765076,
-0.17603625357151031,
0.22073790431022644,
-0.0025725364685058594,
-0.1367616057395935,
0.11100693047046661,
-0.05740482360124588,
-0.047659602016210556,
0.17162099480628967,
0.060734037309885025,
-0.2454099804162979,
-0.020914174616336823,
-0.09428740292787552,
0.2731059789657593,
0.3872518241405487,
-0.5597864389419556,
-0.1927032619714737,
0.2611517906188965,
0.14412732422351837,
0.05646274983882904,
0.11300063878297806,
-0.04118812456727028,
0.4248102009296417,
-0.25408264994621277,
-0.18300992250442505,
0.2291966825723648,
-0.08831795305013657,
0.018268970772624016,
-0.11588478088378906,
-0.27849245071411133,
0.14358839392662048,
-0.07372570037841797,
-0.22414164245128632,
-0.08332236856222153,
0.009511373937129974,
-0.16714505851268768,
0.16822990775108337,
-0.14756560325622559,
0.1516212373971939,
0.03526276722550392,
0.6155176162719727,
-0.18057779967784882,
0.08020635694265366,
-0.18689724802970886,
0.5961574912071228,
-0.04520538076758385,
-0.08407199382781982,
-0.09838688373565674,
-0.11281555891036987,
-0.255123496055603,
-0.004524717107415199,
-0.3152264654636383,
-0.2739500105381012,
-0.21334204077720642,
0.2969508469104767,
0.08315429091453552,
0.07265487313270569,
-0.1860845685005188,
-0.11844706535339355,
-0.1758165806531906,
0.21274738013744354,
-0.24472463130950928,
-0.09018167853355408,
-0.26792532205581665,
-0.14279599487781525,
-0.12612953782081604,
-0.025916390120983124,
0.16373296082019806,
-0.004290349781513214,
0.014656595885753632,
-0.08834515511989594,
0.40449413657188416,
0.33373987674713135,
0.3271549344062805,
-0.11965995281934738,
-0.020829766988754272,
0.119889035820961,
-0.47614532709121704,
0.2170363962650299,
0.26110661029815674,
0.32814523577690125,
-0.04544904828071594,
-0.28593710064888,
0.1715000420808792,
0.14753232896327972,
0.17908638715744019,
0.11697791516780853,
-0.17214499413967133,
0.3290671110153198,
0.1480918824672699,
-0.4225985109806061,
-0.04089773818850517,
-0.19801171123981476,
-0.2542339563369751,
0.22525008022785187,
-0.3526712954044342,
0.07950040698051453,
-0.05358336120843887,
0.45061907172203064,
-0.01053454726934433,
0.014410916715860367,
0.2620793879032135,
-0.06160207837820053,
-0.17910239100456238,
0.1065509021282196,
0.04895052686333656,
0.36329466104507446,
0.2771146297454834,
0.3563389182090759,
-0.15798324346542358,
-0.11656532436609268,
0.05001983046531677,
0.09130829572677612,
-0.115024134516716,
-0.11074884980916977,
0.19721487164497375,
0.027972081676125526,
-0.15145286917686462,
-0.2126425802707672,
-0.09483572095632553,
0.031263381242752075,
-0.06663075089454651,
-0.08110745996236801,
-0.053563691675662994,
-0.06951120495796204,
-0.015479009598493576,
-0.14553822576999664,
-0.2091173380613327,
0.333932101726532,
0.037601158022880554,
0.3045467734336853,
0.1981208175420761,
-0.2186897248029709,
0.24820688366889954,
0.3341854512691498,
0.024500593543052673,
-0.028937149792909622,
0.08736160397529602,
0.138795405626297,
0.02816784754395485,
-0.07933167368173599,
0.23895978927612305,
0.0614844411611557,
0.21134036779403687,
0.23007643222808838,
0.12074542790651321,
-0.04944908246397972,
0.14387346804141998,
-0.17997995018959045,
0.21077948808670044,
-0.11524192988872528,
0.2924709618091583,
-0.04334035515785217,
0.08811761438846588,
0.020610198378562927,
-0.37579768896102905,
0.1487988382577896,
-0.10211542993783951,
-0.18602007627487183,
0.12177328765392303,
-0.02094268798828125,
-0.2027660608291626,
-0.4032217264175415,
-0.45088353753089905,
-0.3837625980377197,
-0.4645639657974243,
0.26936933398246765,
-0.0925212949514389,
0.2215549200773239,
-0.11215083301067352,
0.1590811014175415,
0.13100245594978333,
0.10414286702871323,
0.29137107729911804,
-0.35662204027175903,
-0.09833315014839172,
0.2847590446472168,
-0.39599719643592834,
-0.07993854582309723,
-0.03588190674781799,
-0.005793971940875053,
0.2365233600139618,
0.29050564765930176,
-0.05191827565431595,
-0.1556938737630844,
-0.02938619814813137,
-0.006251387298107147,
0.015676816925406456,
0.28322774171829224,
0.37455087900161743,
0.3601680397987366,
-0.1953946352005005,
-0.24723407626152039,
0.16069133579730988,
0.230528324842453,
0.21893930435180664,
0.057383790612220764,
0.2094176709651947,
0.18723800778388977,
0.11616575717926025,
0.6636282205581665,
0.46441754698753357,
0.19954025745391846,
-0.026054106652736664,
-0.03298766911029816,
0.122349813580513,
-0.09354180842638016,
0.15849009156227112,
0.15237964689731598,
-0.15320128202438354,
-0.2814977765083313,
0.22858783602714539,
0.17257612943649292,
-0.3358873724937439,
-0.1848383992910385,
0.27214062213897705,
-0.44617822766304016,
-0.2628769278526306,
0.14088912308216095,
-0.015985623002052307,
0.222431480884552,
-0.1405078023672104,
0.2130221724510193,
0.015460863709449768,
0.06902319192886353,
-0.06605206429958344,
-0.08128753304481506,
0.34265172481536865,
0.031960777938365936,
-0.33073490858078003,
-0.20235559344291687,
-0.11120261996984482,
0.026711612939834595,
0.18452312052249908,
0.26699838042259216,
-0.1526842564344406,
-0.13906720280647278,
0.014314338564872742,
-0.10467864573001862,
-0.028294578194618225,
-0.2358943074941635,
-0.005811549723148346,
0.01773873344063759,
0.47508883476257324,
0.1471894383430481,
0.09647293388843536,
-0.5812397003173828,
-0.018222909420728683,
-0.04160643741488457,
0.1025661826133728,
-0.3610668182373047,
0.02255476638674736,
-0.02987472340464592,
0.2896409332752228,
0.1454646736383438,
0.03806367516517639,
-0.10558266192674637,
-0.2747650444507599,
-0.4276959002017975,
0.013144038617610931,
0.15477479994297028,
-0.15303011238574982,
-0.19221825897693634,
-0.2735438942909241,
0.2765021324157715,
0.09515324980020523,
0.26965606212615967,
0.2564488351345062,
0.2921251058578491,
-0.20983640849590302,
0.08059196174144745,
0.24527403712272644,
-0.32749032974243164,
-0.11139793694019318,
0.3254064619541168,
0.08530318737030029,
0.03210638836026192,
0.04574824124574661,
-0.35663890838623047,
0.24645456671714783,
0.25777751207351685,
-0.11882677674293518,
0.0924622043967247,
-0.18394553661346436,
-0.0028200149536132812,
-0.5304015278816223,
0.23609419167041779,
0.33012184500694275,
0.14234133064746857,
0.12688279151916504,
-0.40262407064437866,
0.3511590361595154,
-0.10712817311286926,
-0.3645373582839966,
0.4899584650993347,
-0.2160375863313675,
-0.30788350105285645,
0.5715195536613464,
-0.04156055301427841,
0.8140469193458557,
0.32263344526290894,
-0.12939289212226868,
0.32283538579940796,
-0.08189129084348679,
-0.06797687709331512,
-0.5150731205940247,
0.20164039731025696,
0.01642617955803871,
0.058751363307237625,
-0.05985596030950546,
0.01030581071972847,
0.17770588397979736,
0.24755726754665375,
-0.6438748240470886,
0.017859896644949913,
0.3918290138244629,
0.11429999768733978,
-0.08697932958602905,
-0.027310892939567566,
-0.13652659952640533,
-0.2142815887928009,
0.12222851067781448,
0.23089885711669922,
0.02811799757182598,
0.013889877125620842,
0.1235138401389122,
-0.32725030183792114,
-0.069175586104393,
-0.20649123191833496,
-0.20701655745506287,
-0.0030485540628433228,
-0.3831956386566162,
0.16195648908615112,
-0.23533248901367188,
-0.015861675143241882,
0.11640450358390808,
0.22084200382232666,
-0.24323062598705292,
0.429395854473114,
-0.17163272202014923,
0.10719746351242065,
0.17516803741455078,
0.33612775802612305,
0.011742405593395233,
-0.04096917435526848,
-0.2470647394657135,
-0.15585312247276306,
-0.1943001002073288,
0.1281033307313919,
-0.12057642638683319,
0.04904334247112274,
0.029914677143096924,
-0.0123291015625,
0.11912920325994492,
-0.13159701228141785,
-0.26630234718322754,
0.31759801506996155,
-0.1862395703792572,
0.1024237871170044,
0.22631993889808655,
0.04571892321109772,
-0.598213255405426,
0.49580273032188416,
-0.13409021496772766,
-0.014920026063919067,
0.07576648890972137,
-0.15599051117897034,
-0.1121339425444603,
-0.04513552039861679,
0.05272216722369194,
-0.20012249052524567,
-0.20758546888828278,
-0.22997120022773743,
0.2590923309326172,
-0.3199256360530853,
-0.026904217898845673,
-0.18500003218650818,
0.10291607677936554,
-0.36513814330101013,
0.041261084377765656,
-0.05237094685435295,
-0.14896874129772186,
0.048691526055336,
-0.31447362899780273,
-0.2688950300216675,
-0.3049863278865814,
0.09373883903026581,
0.18979667127132416,
0.17003874480724335,
-0.1806335151195526,
-0.04395086318254471,
-0.1380196213722229,
0.18000826239585876,
-0.45997902750968933,
0.11907762289047241,
0.10156472772359848,
0.45797058939933777,
0.07293001562356949,
0.050518158823251724,
0.07687348127365112,
0.022624149918556213,
0.16252510249614716,
0.2611875534057617,
-0.3651418685913086,
-0.21945497393608093,
0.007391076534986496,
0.13872283697128296,
-0.09238898009061813,
-0.21445608139038086,
0.07886921614408493,
-0.08168524503707886,
-0.2118900567293167,
-0.25418755412101746,
0.12168578803539276,
0.04198804497718811,
-0.182437464594841,
0.24611254036426544,
-0.41938576102256775,
0.20520451664924622,
0.17428554594516754,
-0.11827567219734192,
-0.14945806562900543,
0.17976661026477814,
0.1398882120847702,
0.15134897828102112,
0.10999702662229538,
-0.17809796333312988,
0.2590292692184448,
0.08747567981481552,
0.029204584658145905,
-0.14133566617965698,
0.33799198269844055,
0.14051759243011475,
0.38924914598464966,
-0.019787289202213287,
0.42885419726371765,
0.1498594582080841,
-0.1413411945104599,
0.057120658457279205,
0.30599117279052734,
0.4335070252418518,
-0.1356543004512787,
0.04141661152243614,
-0.12627308070659637,
-0.19839011132717133,
0.300963819026947,
0.12287783622741699,
0.17538447678089142,
-0.03947077691555023,
0.21448567509651184,
-0.16308775544166565,
0.08587373793125153,
-0.37948334217071533,
-0.04016891494393349,
0.446331650018692,
-0.16983747482299805,
-0.07669976353645325,
-0.27327945828437805,
-0.20991286635398865,
0.2626655399799347,
0.5274565815925598,
-0.389870822429657,
0.265140175819397,
0.340530663728714,
0.112092524766922,
0.17905579507350922,
-0.0843888521194458,
-0.020555544644594193,
0.22443369030952454,
-0.021962791681289673,
0.31488150358200073,
0.1953660249710083,
0.102797731757164,
-0.44610846042633057,
-0.16372281312942505,
-0.061172112822532654,
0.07339653372764587,
0.07189112156629562,
-0.19226935505867004,
0.13050350546836853,
-0.177964985370636,
-0.35778823494911194,
-0.13148510456085205,
0.10096684098243713,
0.2604685425758362,
0.09960862249135971,
0.09868451207876205,
0.2207929939031601,
0.01406948920339346,
-0.06739196181297302,
-0.02051125466823578,
0.5168254375457764,
-0.3332609236240387,
0.3129863440990448,
0.3947346806526184,
-0.03538859635591507,
0.18535348773002625,
0.16469009220600128,
0.28017470240592957,
0.13867627084255219,
-0.5762420892715454,
0.4607410430908203,
-0.27393776178359985,
-0.15694370865821838,
-0.16784386336803436,
0.3654203712940216,
0.19013163447380066,
0.19773651659488678,
0.26438990235328674,
0.19672749936580658,
-0.24470384418964386,
-0.05162728950381279,
0.056107763200998306,
-0.3500969111919403,
-0.11871640384197235,
0.08327408134937286,
-0.1469964236021042,
0.06770899146795273,
0.11085549741983414,
-0.2933582663536072,
-0.5295889377593994,
-0.07970385253429413,
0.2851601243019104,
-0.13790163397789001,
0.18770909309387207,
0.05242098867893219,
0.1506100296974182,
-0.08083340525627136,
0.0460299476981163,
0.02194972336292267,
0.2268775999546051,
-0.12764397263526917,
-0.16561026871204376,
-0.44965749979019165,
-0.06605523079633713,
-0.03179511800408363,
0.04412358999252319,
-0.2796166241168976,
0.04894912987947464,
0.4215807318687439,
0.46023643016815186,
-0.18148742616176605,
-0.1954318732023239,
0.09735613316297531,
0.10596676170825958,
-0.04601404815912247,
0.0680110827088356,
0.15414077043533325,
0.13674230873584747,
0.10143877565860748,
-0.5530862808227539,
-0.11166644096374512,
0.02135409787297249,
0.17611926794052124,
0.08416371792554855,
0.11791622638702393,
-0.12641651928424835,
-0.2527715563774109,
0.15872272849082947,
0.27306732535362244,
0.3714861571788788,
-0.44742026925086975,
-0.07359027862548828,
0.08989790081977844,
0.23161102831363678,
-0.07322166860103607,
-0.14937710762023926,
0.04959844797849655,
0.5019831657409668,
-0.15826427936553955,
0.05659946799278259,
-0.24507589638233185,
0.017102347686886787,
0.10172685980796814,
-0.01614978164434433,
-0.28019195795059204,
0.06688755750656128,
-0.3647455871105194,
0.09061677008867264,
-0.10673980414867401,
0.19100460410118103,
-0.23068535327911377,
0.037834517657756805,
-0.20303094387054443,
-0.2473362386226654,
0.38020190596580505,
-0.13005779683589935,
-0.15672160685062408,
0.07483164966106415,
0.308078795671463,
0.20349425077438354,
0.2269120216369629,
-0.7906454801559448,
0.08855364471673965,
0.18472439050674438,
0.012875746935606003,
-0.06784053146839142,
0.23855043947696686,
0.11540605127811432,
-0.35240161418914795,
0.006712432950735092,
0.4579319655895233,
0.21624070405960083,
-0.057255446910858154,
0.0868314802646637,
-0.47254353761672974
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | I have reimplemented the previous approach, so that we can discuss about it: examples are decoded when accessed. | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 18 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
I have reimplemented the previous approach, so that we can discuss about it: examples are decoded when accessed. | [
-0.3301638662815094,
-0.1321706920862198,
-0.17892929911613464,
-0.11577367782592773,
0.013403045013546944,
-0.2518030107021332,
0.14361172914505005,
0.21315722167491913,
-0.11619338393211365,
0.38663238286972046,
-0.12018095701932907,
0.36240383982658386,
-0.31289687752723694,
0.21811653673648834,
-0.10355113446712494,
-0.09583021700382233,
0.025769151747226715,
0.3659221827983856,
-0.05328713357448578,
0.12938494980335236,
0.1126333624124527,
0.08841795474290848,
-0.23751866817474365,
0.10338564962148666,
-0.0302504263818264,
-0.10175404697656631,
0.05159415304660797,
0.060239363461732864,
-0.5078719258308411,
-0.37743282318115234,
-0.021456455811858177,
0.17559053003787994,
-0.05466313660144806,
0.24483951926231384,
-0.0000948778833844699,
-0.22651278972625732,
0.16835664212703705,
-0.12498269975185394,
-0.0956440418958664,
-0.2122255116701126,
-0.2179953157901764,
-0.253578245639801,
-0.13512946665287018,
-0.18127599358558655,
-0.14082849025726318,
-0.19002780318260193,
0.059497687965631485,
-0.18051022291183472,
0.5681937336921692,
0.3596038818359375,
0.2904393672943115,
-0.1465206742286682,
0.004756525158882141,
0.056264061480760574,
0.308574914932251,
0.19410091638565063,
-0.22213180363178253,
-0.18518923223018646,
0.4296184182167053,
0.2390112280845642,
-0.008367083966732025,
0.40896371006965637,
-0.19188286364078522,
0.21844929456710815,
-0.009240657091140747,
0.07997747510671616,
-0.31500864028930664,
-0.35840269923210144,
-0.18747809529304504,
0.24952024221420288,
0.4737339913845062,
-0.3877207040786743,
-0.18035010993480682,
0.014282375574111938,
0.009958844631910324,
-0.36299481987953186,
-0.09159944206476212,
0.1407950073480606,
-0.44877007603645325,
0.14773790538311005,
-0.21863247454166412,
-0.031343162059783936,
-0.2645399570465088,
-0.07670086622238159,
0.36285170912742615,
-0.15343421697616577,
-0.2279599905014038,
-0.05806843936443329,
0.13920217752456665,
-0.06735051423311234,
-0.07064066082239151,
0.06925331056118011,
0.024316685274243355,
0.3135879635810852,
0.08438083529472351,
-0.3325837552547455,
-0.10499293357133865,
-0.20541411638259888,
0.07176922261714935,
-0.1681092083454132,
0.041205935180187225,
0.01966516673564911,
-0.05647077411413193,
0.3905048072338104,
-0.19543716311454773,
-0.19472838938236237,
0.05765257030725479,
-0.12991325557231903,
0.2424638867378235,
-0.18141771852970123,
0.058222685009241104,
-0.14816901087760925,
-0.1016320139169693,
-0.002403238555416465,
-0.24268336594104767,
0.24155297875404358,
0.10842804610729218,
-0.24563591182231903,
-0.2772066295146942,
-0.08683795481920242,
-0.04999924823641777,
0.021330105140805244,
-0.03523401916027069,
0.2923906445503235,
0.046473179012537,
0.04943063110113144,
-0.004214715212583542,
0.35461175441741943,
-0.10323524475097656,
-0.014829517342150211,
0.06698602437973022,
0.16106407344341278,
0.09535534679889679,
0.1433614045381546,
0.3455111086368561,
0.2977011501789093,
0.3765181303024292,
0.18820738792419434,
0.3006291389465332,
-0.03598235920071602,
0.4445926249027252,
-0.06872622668743134,
-0.00597575306892395,
-0.04450618848204613,
0.12452487647533417,
0.020192502066493034,
-0.059569988399744034,
0.12447629868984222,
-0.2572072744369507,
0.09897889196872711,
-0.09617950767278671,
0.03518470749258995,
0.1173623725771904,
0.2681431472301483,
-0.10700668394565582,
-0.014543257653713226,
0.1697077453136444,
0.4443506598472595,
-0.08661340922117233,
-0.6583622097969055,
-0.15993455052375793,
0.032270025461912155,
-0.3015200197696686,
-0.17444230616092682,
0.27353420853614807,
-0.12274910509586334,
-0.16900604963302612,
0.015478156507015228,
-0.00861671194434166,
-0.1199357658624649,
0.1305476874113083,
0.022986777126789093,
-0.014760737307369709,
-0.06755317002534866,
0.007744472473859787,
0.2075890451669693,
0.41024380922317505,
-0.5594724416732788,
0.005847549997270107,
0.10366202890872955,
0.1353696882724762,
-0.0970391184091568,
0.19017907977104187,
0.033594224601984024,
0.3695138692855835,
-0.22318336367607117,
-0.1722366362810135,
0.2686225175857544,
-0.15433263778686523,
-0.005120856687426567,
-0.09187617897987366,
-0.3426525592803955,
-0.02267519384622574,
0.10262808203697205,
-0.08320784568786621,
-0.18719667196273804,
-0.03967220336198807,
-0.08818036317825317,
0.21431684494018555,
-0.160618394613266,
0.0431089922785759,
0.10259123146533966,
0.6898592114448547,
-0.1373070776462555,
-0.06007704138755798,
-0.24849525094032288,
0.6227867603302002,
-0.14435596764087677,
0.010743249207735062,
0.1351509690284729,
-0.0910891592502594,
-0.2532855272293091,
-0.13710170984268188,
-0.2285044938325882,
-0.11201973259449005,
-0.23586025834083557,
0.3097038269042969,
0.16392046213150024,
0.12219314277172089,
-0.16212691366672516,
-0.17005683481693268,
-0.038645967841148376,
0.09468919038772583,
-0.16975754499435425,
-0.06032506749033928,
-0.23865848779678345,
-0.11641237884759903,
-0.18878598511219025,
0.1775081306695938,
0.24420854449272156,
-0.09605743736028671,
0.09069531410932541,
-0.07978395372629166,
0.38397347927093506,
0.29144829511642456,
0.29326537251472473,
0.038685888051986694,
0.14800460636615753,
0.10505753755569458,
-0.44755813479423523,
0.30974337458610535,
0.16813679039478302,
0.32763585448265076,
0.05962521582841873,
-0.24222120642662048,
0.16782084107398987,
0.011656329035758972,
0.07778599113225937,
0.10908561944961548,
-0.17558413743972778,
0.2685267925262451,
0.13909263908863068,
-0.33434435725212097,
0.14473068714141846,
-0.13156411051750183,
-0.26655325293540955,
0.2022254467010498,
-0.29942038655281067,
-0.05166017264127731,
-0.07427769154310226,
0.41629451513290405,
-0.0010315198451280594,
0.03249860554933548,
0.22529464960098267,
-0.11771006137132645,
-0.18065717816352844,
0.09160887449979782,
0.014844659715890884,
0.393176794052124,
0.40558215975761414,
0.21210621297359467,
-0.12313290685415268,
-0.0770033448934555,
0.06124350428581238,
0.17219795286655426,
-0.17030945420265198,
-0.22923152148723602,
0.16046902537345886,
-0.056531257927417755,
-0.21673929691314697,
-0.23158422112464905,
-0.08518530428409576,
-0.19567017257213593,
-0.024009568616747856,
-0.04656391590833664,
-0.1363023817539215,
0.03197751194238663,
-0.0038392245769500732,
-0.1528569757938385,
-0.12425190955400467,
0.3022138178348541,
0.16443318128585815,
0.33172935247421265,
0.1962491124868393,
-0.10798753798007965,
0.22813324630260468,
0.17004825174808502,
0.1870093047618866,
-0.005152711644768715,
0.11409325152635574,
0.10056701302528381,
0.12429375946521759,
-0.08186879754066467,
0.3057856857776642,
0.0682845413684845,
0.3677343726158142,
0.34412553906440735,
0.11608035117387772,
0.07992704212665558,
0.13880249857902527,
-0.12127989530563354,
0.12334223836660385,
-0.09708735346794128,
0.3301554322242737,
0.003981657326221466,
0.18794205784797668,
0.07532818615436554,
-0.39537668228149414,
0.09634625166654587,
-0.11353689432144165,
-0.12014023959636688,
0.05603262037038803,
0.012376442551612854,
-0.14296674728393555,
-0.2761375606060028,
-0.4384898245334625,
-0.5162045955657959,
-0.43255606293678284,
0.0932508036494255,
0.017511460930109024,
0.15959642827510834,
-0.09652748703956604,
0.19609783589839935,
0.0564543679356575,
0.1281210482120514,
0.4117403030395508,
-0.2700200080871582,
-0.1735963225364685,
0.27899155020713806,
-0.32974791526794434,
-0.13617508113384247,
-0.04665486514568329,
0.03544633090496063,
0.23626834154129028,
0.15626943111419678,
-0.008778870105743408,
-0.18255406618118286,
-0.013191347941756248,
0.03200334683060646,
0.054802779108285904,
0.2589775621891022,
0.3074429929256439,
0.25033074617385864,
-0.23826739192008972,
-0.24191367626190186,
0.15313565731048584,
0.15934811532497406,
0.12147659063339233,
0.055825214833021164,
0.08120362460613251,
0.14779505133628845,
-0.008118592202663422,
0.6051657795906067,
0.342813640832901,
0.14216084778308868,
-0.039955027401447296,
-0.11431976407766342,
0.20782241225242615,
-0.049660824239254,
0.1036432757973671,
0.1913955807685852,
-0.05439649522304535,
-0.3218057155609131,
0.26973193883895874,
0.16799241304397583,
-0.13860465586185455,
-0.19316299259662628,
0.20743361115455627,
-0.3980165719985962,
-0.11466482281684875,
0.1915512979030609,
0.06026868894696236,
0.2678118348121643,
-0.21658168733119965,
0.1285632848739624,
-0.008702165447175503,
0.01220610924065113,
-0.1321648359298706,
0.03275309503078461,
0.16526901721954346,
0.06239217147231102,
-0.26141661405563354,
-0.19177532196044922,
-0.130054771900177,
-0.004080787301063538,
0.20739859342575073,
0.2383216917514801,
-0.20658403635025024,
-0.14023645222187042,
-0.05099612474441528,
-0.12434906512498856,
-0.13302405178546906,
-0.16461417078971863,
-0.18068048357963562,
0.01040092296898365,
0.4465491771697998,
0.15921512246131897,
0.16378262639045715,
-0.5805716514587402,
-0.10542397201061249,
-0.11993411183357239,
0.004976376891136169,
-0.3427373170852661,
-0.011670989915728569,
0.04892609268426895,
0.30187302827835083,
0.07916705310344696,
0.09410853683948517,
-0.08308153599500656,
-0.2768082320690155,
-0.2923547327518463,
0.04895883426070213,
0.03247819095849991,
-0.1024818867444992,
-0.20380452275276184,
-0.171947181224823,
0.267395555973053,
0.08443480730056763,
0.26477688550949097,
0.19649751484394073,
0.20852458477020264,
-0.29973453283309937,
0.04794475808739662,
0.034418925642967224,
-0.2685193121433258,
-0.11296264827251434,
0.14017434418201447,
0.06208134815096855,
0.1307384967803955,
0.012626397423446178,
-0.4099709391593933,
0.31338977813720703,
0.18308758735656738,
-0.06392598897218704,
0.17028403282165527,
-0.18027278780937195,
0.09862901270389557,
-0.4955710172653198,
0.23003534972667694,
0.2989045977592468,
0.17802287638187408,
0.1340615153312683,
-0.42434221506118774,
0.3430706858634949,
-0.07885123789310455,
-0.22405041754245758,
0.3086773455142975,
-0.14804595708847046,
-0.2058088481426239,
0.40705054998397827,
0.004145689308643341,
0.8238874077796936,
0.30075523257255554,
-0.005535546690225601,
0.4183681011199951,
-0.09914529323577881,
0.0014346207026392221,
-0.520201563835144,
0.054475683718919754,
0.0104549340903759,
0.002173920162022114,
-0.09023283421993256,
0.017614636570215225,
0.13262563943862915,
0.12501536309719086,
-0.6986899971961975,
0.03462982922792435,
0.3784548044204712,
-0.05511888489127159,
-0.052327319979667664,
0.10031452775001526,
-0.28185519576072693,
-0.16040359437465668,
0.009776011109352112,
0.2973591089248657,
-0.11108353734016418,
-0.11591359972953796,
0.08529134094715118,
-0.23729252815246582,
-0.0480797104537487,
-0.1488848775625229,
-0.22669042646884918,
-0.07480788230895996,
-0.23822236061096191,
0.03310079500079155,
-0.17631419003009796,
-0.12098544836044312,
0.07786811888217926,
0.12048675119876862,
-0.16641128063201904,
0.443867564201355,
-0.15126581490039825,
0.16511057317256927,
0.041217878460884094,
0.3145875632762909,
0.08183927088975906,
0.00819301325827837,
-0.1441391408443451,
-0.21132215857505798,
-0.14452192187309265,
0.14914050698280334,
-0.05763905495405197,
-0.02694772556424141,
0.237328439950943,
-0.16970740258693695,
0.14685623347759247,
-0.1454080492258072,
-0.27020806074142456,
0.24034540355205536,
-0.1855815201997757,
0.08465513586997986,
0.2781714200973511,
0.11870729923248291,
-0.5401764512062073,
0.4568192958831787,
-0.020353976637125015,
-0.02949570119380951,
-0.03757733479142189,
-0.282372385263443,
-0.042415179312229156,
-0.10381250083446503,
0.11631061881780624,
-0.11358457803726196,
-0.1300351768732071,
-0.33037787675857544,
0.29644516110420227,
-0.24195332825183868,
0.019827015697956085,
-0.16395103931427002,
0.16712120175361633,
-0.3948465585708618,
0.01875910349190235,
-0.01960485801100731,
-0.11342611908912659,
0.038288746029138565,
-0.31654664874076843,
-0.21917162835597992,
-0.3518020212650299,
0.17762047052383423,
0.2686070501804352,
0.21726955473423004,
-0.20118698477745056,
-0.1016554981470108,
-0.062317341566085815,
0.05840650945901871,
-0.5062308311462402,
-0.08966030180454254,
-0.003420677036046982,
0.290932297706604,
0.14907124638557434,
0.03452208638191223,
0.09962207078933716,
0.0054672034457325935,
0.20943425595760345,
0.08721944689750671,
-0.34529027342796326,
-0.273511677980423,
-0.05420120432972908,
0.10401513427495956,
-0.05105237662792206,
-0.10868974775075912,
-0.009212161414325237,
-0.04181278124451637,
-0.31390804052352905,
-0.1674022376537323,
0.09072670340538025,
0.02869214117527008,
-0.18350963294506073,
0.2307291030883789,
-0.4965706169605255,
0.208706796169281,
0.11576361954212189,
-0.11647354066371918,
-0.07840472459793091,
0.11817994713783264,
0.10201627016067505,
0.2134835124015808,
0.23026372492313385,
-0.27028170228004456,
0.28330716490745544,
0.22321659326553345,
0.12242109328508377,
-0.11778715997934341,
0.2382802665233612,
0.20033575594425201,
0.3193809688091278,
-0.056872159242630005,
0.4514096677303314,
0.21089684963226318,
-0.05008803680539131,
0.06197996437549591,
0.30646011233329773,
0.4859062433242798,
-0.1093062162399292,
0.09957719594240189,
-0.3134569823741913,
-0.2829741835594177,
0.32248127460479736,
0.12671275436878204,
0.09567432105541229,
-0.05236414074897766,
0.2832881212234497,
-0.12580236792564392,
0.16736039519309998,
-0.31743955612182617,
-0.055875129997730255,
0.34608715772628784,
-0.08984775841236115,
-0.05293971672654152,
-0.2887383997440338,
-0.1674552708864212,
0.2278766930103302,
0.4946094751358032,
-0.3944055736064911,
0.3258008360862732,
0.3364919424057007,
-0.018718864768743515,
0.1806957721710205,
0.11136928200721741,
-0.05278075858950615,
0.12937529385089874,
-0.01521347463130951,
0.1844196617603302,
0.19085019826889038,
0.2624160051345825,
-0.4286097288131714,
-0.2096880078315735,
-0.10357481986284256,
0.039428114891052246,
0.1225874200463295,
-0.10033734142780304,
0.016626480966806412,
-0.17138494551181793,
-0.41705310344696045,
-0.15690262615680695,
0.14487186074256897,
0.26373010873794556,
-0.08083707094192505,
0.08052962273359299,
0.34170109033584595,
0.04548558592796326,
0.018443290144205093,
0.13039849698543549,
0.3302583396434784,
-0.2779306173324585,
0.16939592361450195,
0.4178328514099121,
-0.049466297030448914,
0.23592455685138702,
0.25376662611961365,
0.3429071307182312,
0.055215608328580856,
-0.4993630647659302,
0.444068044424057,
-0.34397760033607483,
-0.15334036946296692,
-0.10958375781774521,
0.28575804829597473,
0.17247536778450012,
0.3232906460762024,
0.1264873594045639,
0.30794909596443176,
-0.25748589634895325,
-0.005651123821735382,
-0.03304106369614601,
-0.5372551679611206,
-0.1763966977596283,
0.11664699763059616,
-0.025388367474079132,
0.0033488422632217407,
-0.04772942513227463,
-0.22766989469528198,
-0.559364914894104,
0.031867220997810364,
0.253802090883255,
-0.07645612210035324,
0.14106956124305725,
0.018859345465898514,
0.1756363809108734,
-0.1008685976266861,
0.15312176942825317,
0.04760994762182236,
0.31509727239608765,
0.018934687599539757,
-0.18727122247219086,
-0.3669358491897583,
-0.10684897750616074,
0.11406202614307404,
-0.10708867013454437,
-0.3552181124687195,
-0.0912916287779808,
0.511754035949707,
0.44293856620788574,
-0.23870699107646942,
-0.0636204406619072,
0.03724496811628342,
0.08418942242860794,
-0.10892482101917267,
0.08008947968482971,
0.21071931719779968,
0.24167653918266296,
0.040395885705947876,
-0.45009082555770874,
-0.15075214207172394,
0.049553342163562775,
0.22609224915504456,
0.08411970734596252,
0.03779928386211395,
-0.03943559154868126,
-0.2560895085334778,
0.02153126895427704,
0.10281090438365936,
0.43747252225875854,
-0.4935303032398224,
-0.005078345537185669,
0.1204695850610733,
0.23216217756271362,
-0.12376077473163605,
-0.14695066213607788,
0.0023597143590450287,
0.5229909420013428,
-0.056849606335163116,
0.1069241315126419,
-0.17909669876098633,
0.1999063640832901,
0.038789741694927216,
-0.12221189588308334,
-0.15720628201961517,
0.010307561606168747,
-0.34516656398773193,
0.0751512423157692,
-0.027835145592689514,
0.14886659383773804,
-0.2078242301940918,
0.02326798625290394,
-0.20819786190986633,
-0.18234390020370483,
0.3274962306022644,
0.0151986600831151,
-0.12522296607494354,
-0.07407431304454803,
0.3563084006309509,
0.22249636054039001,
0.2762332856655121,
-0.6393772959709167,
0.1102905347943306,
0.09253442287445068,
0.07398271560668945,
0.006148193031549454,
0.33275869488716125,
0.10722480714321136,
-0.3040056824684143,
0.006954796612262726,
0.3833722174167633,
0.07726778090000153,
0.042111121118068695,
-0.09239090979099274,
-0.4789378046989441
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | What about creating a new specific formatting, just for decoding? This would be only active within a context manager. | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 19 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
What about creating a new specific formatting, just for decoding? This would be only active within a context manager. | [
-0.3126629590988159,
-0.17461538314819336,
-0.196149542927742,
-0.11626113951206207,
0.040159374475479126,
-0.27048054337501526,
0.12892986834049225,
0.24319033324718475,
-0.14889825880527496,
0.3675045967102051,
-0.13881707191467285,
0.3540057837963104,
-0.32693520188331604,
0.22921837866306305,
-0.15365955233573914,
-0.1265687346458435,
-0.018102355301380157,
0.41409894824028015,
0.010330498218536377,
0.15308347344398499,
0.0803334191441536,
0.07492703944444656,
-0.1633925586938858,
0.0961630791425705,
-0.0446443073451519,
-0.07585915178060532,
0.09536723792552948,
0.021470047533512115,
-0.5026284456253052,
-0.4224716126918793,
-0.02356312796473503,
0.18611568212509155,
-0.05407652631402016,
0.2032274603843689,
-0.00009421482536708936,
-0.22191987931728363,
0.17828281223773956,
-0.12747356295585632,
-0.05325200781226158,
-0.1866985708475113,
-0.238444983959198,
-0.31058162450790405,
-0.13523519039154053,
-0.13196717202663422,
-0.1762935221195221,
-0.16495630145072937,
0.016697317361831665,
-0.15391206741333008,
0.5301862359046936,
0.3578166961669922,
0.2923126518726349,
-0.1663239598274231,
-0.01251286268234253,
0.10815776139497757,
0.3102462887763977,
0.17873384058475494,
-0.24529850482940674,
-0.20280419290065765,
0.4231213331222534,
0.23897621035575867,
-0.004116341471672058,
0.4550158679485321,
-0.22636505961418152,
0.2727474272251129,
0.044278811663389206,
0.03799199312925339,
-0.2684338688850403,
-0.39610952138900757,
-0.19760721921920776,
0.2903599143028259,
0.472783625125885,
-0.3799695670604706,
-0.1682712882757187,
-0.026083607226610184,
0.019343316555023193,
-0.44661077857017517,
-0.06983271986246109,
0.1393779069185257,
-0.44775843620300293,
0.14439377188682556,
-0.186913400888443,
-0.01154113095253706,
-0.24619723856449127,
-0.04632112383842468,
0.3205043077468872,
-0.1048714816570282,
-0.20081612467765808,
-0.11837684363126755,
0.15407517552375793,
-0.053287573158741,
-0.09984449297189713,
0.11061489582061768,
-0.05392099544405937,
0.2854827046394348,
0.05397670716047287,
-0.3911581337451935,
-0.17789554595947266,
-0.20745152235031128,
0.04381538927555084,
-0.15216214954853058,
0.047111380845308304,
0.05964606627821922,
-0.0739959180355072,
0.39255768060684204,
-0.17459097504615784,
-0.18254300951957703,
0.053410619497299194,
-0.18046560883522034,
0.25308358669281006,
-0.2366117537021637,
0.0997222512960434,
-0.1180272176861763,
-0.09382567554712296,
-0.03566807880997658,
-0.29936641454696655,
0.2773483693599701,
0.08843369036912918,
-0.20860664546489716,
-0.2504976987838745,
-0.11529507488012314,
0.0010717995464801788,
0.014172293245792389,
-0.049994971603155136,
0.23776838183403015,
0.1225772351026535,
0.08735328912734985,
-0.0028052330017089844,
0.36651402711868286,
-0.10298875719308853,
-0.023245621472597122,
0.13409270346164703,
0.1397799402475357,
0.0826086699962616,
0.1430235356092453,
0.320518434047699,
0.32830676436424255,
0.3066396117210388,
0.2288908213376999,
0.22745691239833832,
-0.09800837934017181,
0.4662971496582031,
-0.04821386933326721,
0.019569508731365204,
-0.0377943329513073,
0.0523185096681118,
0.02231462486088276,
-0.07429949939250946,
0.10231548547744751,
-0.27994269132614136,
0.018341202288866043,
-0.07484237104654312,
0.05967264249920845,
0.0030122268944978714,
0.25595805048942566,
-0.06844930350780487,
-0.009332448244094849,
0.17051272094249725,
0.5194776058197021,
-0.0841389074921608,
-0.6309260129928589,
-0.0728742852807045,
0.04829413443803787,
-0.3145731985569,
-0.13786324858665466,
0.19708754122257233,
-0.14723290503025055,
-0.1609533131122589,
-0.006949085742235184,
-0.02083626575767994,
-0.13915811479091644,
0.1681869924068451,
0.07013052701950073,
0.008399462327361107,
-0.07139947265386581,
0.048300884664058685,
0.15990497171878815,
0.3918689787387848,
-0.5658646821975708,
0.014487970620393753,
0.11397058516740799,
0.08784589171409607,
-0.0967644453048706,
0.2406284213066101,
0.04405934736132622,
0.3536716401576996,
-0.25371289253234863,
-0.17898353934288025,
0.24960662424564362,
-0.12364798784255981,
0.010540293529629707,
-0.08668835461139679,
-0.35108163952827454,
0.013933833688497543,
0.11949911713600159,
-0.10366716980934143,
-0.21190041303634644,
-0.0800657793879509,
-0.11843135207891464,
0.12270736694335938,
-0.1701871007680893,
0.07251963764429092,
0.07455721497535706,
0.6448251008987427,
-0.09811168909072876,
-0.06718700379133224,
-0.278990775346756,
0.6464851498603821,
-0.19015738368034363,
0.024816732853651047,
0.16031822562217712,
-0.027573242783546448,
-0.3063269853591919,
-0.07201369851827621,
-0.3074071705341339,
-0.1203577071428299,
-0.22863689064979553,
0.3126288056373596,
0.15956911444664001,
0.12243436276912689,
-0.15163014829158783,
-0.18098331987857819,
-0.025957753881812096,
0.1692996770143509,
-0.17876207828521729,
0.006415258161723614,
-0.3260142505168915,
-0.07903897017240524,
-0.15784162282943726,
0.18801915645599365,
0.3020864427089691,
-0.12865200638771057,
0.13740208745002747,
-0.09169591963291168,
0.34937992691993713,
0.29973453283309937,
0.282180517911911,
-0.05460371822118759,
0.18540312349796295,
0.14361238479614258,
-0.363688200712204,
0.26012274622917175,
0.15959252417087555,
0.2955135107040405,
0.05194815993309021,
-0.2690383493900299,
0.2168595939874649,
0.04816869646310806,
0.09017151594161987,
0.030186727643013,
-0.1883814036846161,
0.2860519587993622,
0.0939207673072815,
-0.3320644199848175,
0.07114972174167633,
-0.12058775126934052,
-0.3042251467704773,
0.19456085562705994,
-0.2525293827056885,
-0.06417648494243622,
-0.06610562652349472,
0.4065103828907013,
-0.013402033597230911,
0.05756204575300217,
0.23890268802642822,
-0.06155083328485489,
-0.15305456519126892,
0.07002982497215271,
0.06362789869308472,
0.3163248300552368,
0.39510267972946167,
0.16807571053504944,
-0.061278581619262695,
-0.019539356231689453,
0.021590199321508408,
0.1854221522808075,
-0.15292654931545258,
-0.23078638315200806,
0.20719164609909058,
-0.07696472108364105,
-0.2243535816669464,
-0.2009364664554596,
-0.05070672184228897,
-0.2010728418827057,
-0.04223933070898056,
-0.033797673881053925,
-0.21104054152965546,
-0.018621869385242462,
-0.040084030479192734,
-0.20711126923561096,
-0.11860387772321701,
0.2387683093547821,
0.22485674917697906,
0.35656148195266724,
0.18894468247890472,
-0.13221649825572968,
0.23130984604358673,
0.16041553020477295,
0.2364322543144226,
-0.03830863535404205,
0.1428835391998291,
0.08189523220062256,
0.0723206028342247,
-0.015367981046438217,
0.2931022047996521,
0.12436088919639587,
0.3144269287586212,
0.3065779209136963,
0.09874514490365982,
0.06933149695396423,
0.16672642529010773,
-0.1071304976940155,
0.13885630667209625,
-0.13409744203090668,
0.25885456800460815,
0.0054512545466423035,
0.1861097514629364,
0.060228750109672546,
-0.41294512152671814,
0.0894366055727005,
-0.013759585097432137,
-0.12449198216199875,
0.057549796998500824,
-0.003968002274632454,
-0.11900404095649719,
-0.2810942232608795,
-0.3910628855228424,
-0.5397393107414246,
-0.48834824562072754,
0.15658637881278992,
-0.06680203974246979,
0.1886255443096161,
-0.1152171865105629,
0.1470487415790558,
0.022288184612989426,
0.11011700332164764,
0.3920985162258148,
-0.29244574904441833,
-0.14668333530426025,
0.2671406865119934,
-0.35279738903045654,
-0.08989633619785309,
-0.05633025988936424,
0.051274292171001434,
0.2404460906982422,
0.13244318962097168,
-0.003786243498325348,
-0.14762330055236816,
0.011075538583099842,
-0.008663985878229141,
0.08341795206069946,
0.22565075755119324,
0.33541399240493774,
0.2560756802558899,
-0.22643360495567322,
-0.17461135983467102,
0.15087340772151947,
0.07698066532611847,
0.1083996593952179,
0.027698054909706116,
0.10537564009428024,
0.1554691195487976,
-0.03291666880249977,
0.625885009765625,
0.31584686040878296,
0.1937340795993805,
-0.0420035794377327,
-0.0891888290643692,
0.2110314965248108,
-0.07493054121732712,
0.13813477754592896,
0.22383365035057068,
-0.02456340193748474,
-0.2782100439071655,
0.3168290853500366,
0.16219130158424377,
-0.1732783168554306,
-0.16765904426574707,
0.15238599479198456,
-0.40040498971939087,
-0.14228767156600952,
0.267901748418808,
0.05836509168148041,
0.24235624074935913,
-0.274458646774292,
0.13318142294883728,
0.04626617208123207,
-0.013058665208518505,
-0.06488663703203201,
0.11451172828674316,
0.10799926519393921,
0.06374862045049667,
-0.31163525581359863,
-0.24484150111675262,
-0.08070152252912521,
-0.0197208970785141,
0.24856728315353394,
0.2598065137863159,
-0.21361598372459412,
-0.09433881938457489,
-0.07357203960418701,
-0.11597426980733871,
-0.12822195887565613,
-0.2235802412033081,
-0.2082914263010025,
-0.006622047163546085,
0.4524414539337158,
0.21790176630020142,
0.16213905811309814,
-0.5267893671989441,
-0.09127246588468552,
-0.15499544143676758,
-0.01645936816930771,
-0.3488939702510834,
-0.05844081938266754,
0.010295120999217033,
0.28040811419487,
0.07731369137763977,
0.10243262350559235,
-0.06454738974571228,
-0.2470460832118988,
-0.29741331934928894,
0.09264571964740753,
0.051739439368247986,
-0.14991341531276703,
-0.1309078335762024,
-0.17875877022743225,
0.261513888835907,
0.10951168090105057,
0.3111855387687683,
0.1778954565525055,
0.16975513100624084,
-0.27021199464797974,
-0.01873299479484558,
0.05233228579163551,
-0.2986587882041931,
-0.09195227921009064,
0.10963816940784454,
0.05013078451156616,
0.03248746320605278,
0.015682559460401535,
-0.44130241870880127,
0.3408869504928589,
0.17054641246795654,
0.003548828884959221,
0.18368087708950043,
-0.17184260487556458,
0.0940457135438919,
-0.543174684047699,
0.19218167662620544,
0.2919221520423889,
0.2353166788816452,
0.0351194329559803,
-0.4223369061946869,
0.36576464772224426,
-0.07231336086988449,
-0.21627342700958252,
0.31718069314956665,
-0.11295175552368164,
-0.22643208503723145,
0.43894267082214355,
0.03059881553053856,
0.8505501747131348,
0.30943143367767334,
-0.02579883113503456,
0.35849499702453613,
-0.15144690871238708,
0.026865215972065926,
-0.5474267601966858,
0.09095077216625214,
0.0030747540295124054,
0.09757620841264725,
-0.0948275625705719,
0.0636022686958313,
0.14444522559642792,
0.13246691226959229,
-0.6706174612045288,
0.05153483524918556,
0.32953017950057983,
-0.08029448986053467,
-0.057115934789180756,
0.1297876238822937,
-0.29043176770210266,
-0.21789692342281342,
-0.0023032967001199722,
0.29534244537353516,
-0.13683855533599854,
-0.11572273075580597,
0.06270860135555267,
-0.21334418654441833,
-0.007313959300518036,
-0.10717562586069107,
-0.2799186110496521,
-0.14818833768367767,
-0.24314726889133453,
-0.0006425287574529648,
-0.19328737258911133,
-0.14526526629924774,
0.12367361783981323,
0.1020006388425827,
-0.1502811163663864,
0.4131816625595093,
-0.13597559928894043,
0.15681977570056915,
0.04182478040456772,
0.334140419960022,
0.04189162701368332,
-0.05603111535310745,
-0.10897742211818695,
-0.20934012532234192,
-0.1211158037185669,
0.10851550102233887,
-0.021212300285696983,
-0.024067815393209457,
0.2533424496650696,
-0.1577794849872589,
0.1447533816099167,
-0.12189225852489471,
-0.25610074400901794,
0.15482667088508606,
-0.14666374027729034,
0.11377784609794617,
0.27537015080451965,
0.07329913973808289,
-0.5090944766998291,
0.4280184507369995,
-0.06068052724003792,
-0.01427198201417923,
-0.03484116867184639,
-0.3122224509716034,
-0.0007886327803134918,
-0.14002761244773865,
0.09880673140287399,
-0.10927164554595947,
-0.1607336699962616,
-0.34236940741539,
0.3068081736564636,
-0.2650417983531952,
0.04544598609209061,
-0.12698912620544434,
0.1851896345615387,
-0.47928619384765625,
-0.0072478861548006535,
-0.010998036712408066,
-0.09643638134002686,
0.08202819526195526,
-0.31220555305480957,
-0.20297911763191223,
-0.32863208651542664,
0.11323647946119308,
0.24896340072155,
0.21455290913581848,
-0.21700263023376465,
-0.049891483038663864,
-0.10043277591466904,
0.051636435091495514,
-0.5013967156410217,
-0.0928325355052948,
0.045172810554504395,
0.29873284697532654,
0.11447736620903015,
0.05008501932024956,
0.0512702651321888,
-0.00993452686816454,
0.1855914443731308,
0.14785021543502808,
-0.3224785327911377,
-0.2718987464904785,
-0.10306589305400848,
0.1142340674996376,
-0.09291490167379379,
-0.1006995290517807,
0.04631246626377106,
0.00897727906703949,
-0.28506699204444885,
-0.17275018990039825,
0.09721222519874573,
0.06937442719936371,
-0.1553443968296051,
0.2567133605480194,
-0.4981904923915863,
0.16697201132774353,
0.09947679936885834,
-0.13032570481300354,
-0.06608545780181885,
0.16461709141731262,
0.1350342482328415,
0.19518855214118958,
0.21203799545764923,
-0.21129639446735382,
0.3148430585861206,
0.2720734477043152,
0.14789214730262756,
-0.11723167449235916,
0.21733975410461426,
0.2523435950279236,
0.31332749128341675,
0.01802552305161953,
0.37659844756126404,
0.20002855360507965,
-0.045003119856119156,
0.024172158911824226,
0.35951220989227295,
0.4848150908946991,
-0.06192106008529663,
0.10568592697381973,
-0.2899821400642395,
-0.31894227862358093,
0.30827653408050537,
0.14123040437698364,
0.13648521900177002,
-0.1027851477265358,
0.23824992775917053,
-0.15031781792640686,
0.17632974684238434,
-0.3269280791282654,
0.0027737594209611416,
0.30966880917549133,
-0.06960988789796829,
-0.09990999102592468,
-0.20725589990615845,
-0.1380426585674286,
0.23676878213882446,
0.42254698276519775,
-0.33910083770751953,
0.24920174479484558,
0.37988168001174927,
0.010469168424606323,
0.14385366439819336,
0.0959412157535553,
-0.05198485776782036,
0.12932011485099792,
-0.015906833112239838,
0.2061859667301178,
0.22530597448349,
0.23221978545188904,
-0.42673566937446594,
-0.24185219407081604,
-0.0440421923995018,
0.0907813087105751,
0.11166495084762573,
-0.0803762674331665,
0.023123949766159058,
-0.13620337843894958,
-0.38574546575546265,
-0.11155723035335541,
0.15490490198135376,
0.24381469190120697,
-0.07174406945705414,
0.1535768210887909,
0.34444111585617065,
0.10178827494382858,
0.01839328743517399,
0.06893444061279297,
0.408437043428421,
-0.2722693681716919,
0.13914771378040314,
0.46596306562423706,
-0.08833643794059753,
0.2866693139076233,
0.23242661356925964,
0.3611753284931183,
0.006814632564783096,
-0.5730668902397156,
0.40652263164520264,
-0.392443984746933,
-0.12999284267425537,
-0.11333420127630234,
0.3272606432437897,
0.1872938871383667,
0.3402464985847473,
0.0767458826303482,
0.29906657338142395,
-0.25549450516700745,
-0.05622464790940285,
-0.035100195556879044,
-0.5835635662078857,
-0.14974352717399597,
0.07975156605243683,
0.005249869078397751,
-0.013039734214544296,
-0.06710807979106903,
-0.24212044477462769,
-0.5321955680847168,
-0.0025076931342482567,
0.2568318545818329,
-0.03702739626169205,
0.13312402367591858,
0.0699683129787445,
0.1692526787519455,
0.0010435637086629868,
0.12724323570728302,
0.02880648896098137,
0.27893689274787903,
0.058328818529844284,
-0.17368200421333313,
-0.3120840787887573,
-0.10242784768342972,
0.10792484879493713,
-0.15145239233970642,
-0.3676505982875824,
-0.12181638181209564,
0.4643990099430084,
0.4575430154800415,
-0.27794069051742554,
-0.060888662934303284,
0.05978420376777649,
0.0809968113899231,
-0.07721681892871857,
0.14888721704483032,
0.23321977257728577,
0.23681437969207764,
0.06339658796787262,
-0.44882431626319885,
-0.0998447984457016,
0.14328721165657043,
0.2158031165599823,
0.04576534405350685,
0.10743522644042969,
-0.04503541812300682,
-0.25247013568878174,
0.01759372651576996,
0.1412114053964615,
0.42119258642196655,
-0.5008331537246704,
-0.056970782577991486,
0.14492793381214142,
0.30621328949928284,
-0.18886937201023102,
-0.11874062567949295,
0.032005567103624344,
0.5460758209228516,
-0.06257332116365433,
0.10852721333503723,
-0.22033601999282837,
0.24084961414337158,
0.015061985701322556,
-0.08163852989673615,
-0.1737864464521408,
0.014349978417158127,
-0.3366188108921051,
0.015231529250741005,
-0.014996413141489029,
0.17317751049995422,
-0.18216095864772797,
0.046120576560497284,
-0.2269096076488495,
-0.1700025349855423,
0.27913418412208557,
0.03546305000782013,
-0.15160182118415833,
-0.019695311784744263,
0.37642720341682434,
0.25289446115493774,
0.36113905906677246,
-0.6618998646736145,
0.09802141040563583,
0.0594828836619854,
0.07715808600187302,
0.009742826223373413,
0.31585681438446045,
0.09236185252666473,
-0.34017881751060486,
0.014579761773347855,
0.29651331901550293,
0.09914012998342514,
0.016395417973399162,
-0.13503901660442352,
-0.4807736277580261
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | Hi @lhoestq, as we discussed, I've followed your suggestion of implementing the decoding step within the formatting logic: extract-decode-format. Feel free to tell me what you think.
@patrickvonplaten and @anton-l, could you have a look at the use case in the test (https://github.com/huggingface/datasets/pull/2324/files#diff-58e348f6e4deaa5f3119e420a5d48ebb82875a78c28628831748fb54f59b2c78R34-R50) and tell me if this is aligned with your needs? Thanks. | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 54 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
Hi @lhoestq, as we discussed, I've followed your suggestion of implementing the decoding step within the formatting logic: extract-decode-format. Feel free to tell me what you think.
@patrickvonplaten and @anton-l, could you have a look at the use case in the test (https://github.com/huggingface/datasets/pull/2324/files#diff-58e348f6e4deaa5f3119e420a5d48ebb82875a78c28628831748fb54f59b2c78R34-R50) and tell me if this is aligned with your needs? Thanks. | [
-0.300295352935791,
-0.13267555832862854,
-0.1542641669511795,
-0.026712723076343536,
0.03381989523768425,
-0.2238309681415558,
0.029873568564653397,
0.2737683057785034,
-0.22728487849235535,
0.2440905123949051,
-0.2113238424062729,
0.43336519598960876,
-0.2311852127313614,
0.35688620805740356,
-0.13049517571926117,
-0.1901175081729889,
-0.037974752485752106,
0.38785168528556824,
0.01418827474117279,
0.2518537640571594,
0.11188733577728271,
0.21357318758964539,
-0.2807716131210327,
0.09179654717445374,
-0.04596714675426483,
-0.038725435733795166,
0.043291620910167694,
0.0025703422725200653,
-0.5519710183143616,
-0.41208526492118835,
-0.004096886143088341,
0.16944417357444763,
-0.08638805150985718,
0.2611261308193207,
-0.0000979948163148947,
-0.3112722337245941,
0.14013057947158813,
-0.10920004546642303,
-0.08998958766460419,
-0.177983358502388,
-0.24845710396766663,
-0.3494053781032562,
-0.1787974089384079,
-0.17477500438690186,
-0.18243694305419922,
-0.2052752524614334,
-0.060659006237983704,
-0.23351633548736572,
0.6163469552993774,
0.23938938975334167,
0.26430851221084595,
-0.06131352111697197,
0.11175636947154999,
0.14494340121746063,
0.21731442213058472,
0.22139741480350494,
-0.12017697095870972,
-0.1345287412405014,
0.2855772376060486,
0.22150251269340515,
0.10955069214105606,
0.5060815811157227,
-0.25360697507858276,
0.18491359055042267,
0.00007777661085128784,
0.12067311257123947,
-0.47178518772125244,
-0.3335716724395752,
-0.19383195042610168,
0.26796185970306396,
0.5597178339958191,
-0.3171491324901581,
-0.3196812570095062,
-0.08259721100330353,
-0.012851797044277191,
-0.45875146985054016,
-0.1443614661693573,
0.145497664809227,
-0.3838084936141968,
0.30424508452415466,
-0.2590954899787903,
0.029916994273662567,
-0.29865676164627075,
-0.10365128517150879,
0.23117074370384216,
-0.21144086122512817,
-0.34757429361343384,
-0.07756345719099045,
0.13228757679462433,
0.07007461786270142,
-0.18790756165981293,
0.042576514184474945,
-0.02414342388510704,
0.2593672573566437,
0.018589988350868225,
-0.46977362036705017,
-0.17632219195365906,
-0.11271407455205917,
0.1448144018650055,
0.0023661907762289047,
0.0236427653580904,
0.11711527407169342,
-0.10286606103181839,
0.3473028838634491,
-0.12702032923698425,
-0.0942721962928772,
0.14109143614768982,
-0.19419005513191223,
0.13640019297599792,
-0.22465454041957855,
0.19938983023166656,
-0.20051181316375732,
0.003577325027436018,
-0.03519199416041374,
-0.31239044666290283,
0.2008674144744873,
0.18454518914222717,
-0.31682896614074707,
-0.36370065808296204,
-0.006463224999606609,
-0.04117417335510254,
-0.10924575477838516,
-0.0802636668086052,
0.29970258474349976,
0.11794479936361313,
0.1682584285736084,
-0.06879837810993195,
0.2804187536239624,
-0.13618986308574677,
0.06915274262428284,
0.06994330883026123,
0.17122890055179596,
0.13375407457351685,
0.05398312956094742,
0.24711929261684418,
0.19970887899398804,
0.272091805934906,
0.21124115586280823,
0.25005120038986206,
-0.12924693524837494,
0.24020344018936157,
-0.09159715473651886,
0.2359243631362915,
0.02016744390130043,
0.024012818932533264,
0.11671487241983414,
-0.07095928490161896,
0.20254136621952057,
-0.1842033863067627,
0.024086620658636093,
-0.14371713995933533,
0.07568813860416412,
0.014341434463858604,
0.2336808741092682,
-0.1866908073425293,
-0.046212486922740936,
0.05128711462020874,
0.4364858567714691,
0.019246183335781097,
-0.5503610372543335,
-0.11825812608003616,
-0.05911429226398468,
-0.356450617313385,
-0.11635514348745346,
0.3446861505508423,
0.013949669897556305,
-0.2635096609592438,
0.06292407214641571,
0.12044569849967957,
-0.18042241036891937,
0.2983168959617615,
0.06037400662899017,
0.03653402999043465,
-0.0389992818236351,
-0.034447118639945984,
0.3709057569503784,
0.31457898020744324,
-0.4949394464492798,
-0.04594425857067108,
0.25505250692367554,
0.16015027463436127,
0.09983203560113907,
0.1914428174495697,
-0.11426489800214767,
0.371692955493927,
-0.16616083681583405,
-0.19166350364685059,
0.32345902919769287,
-0.07235616445541382,
-0.04878639802336693,
-0.06741377711296082,
-0.28225472569465637,
0.11907410621643066,
0.05886286124587059,
-0.2096828669309616,
-0.16034623980522156,
-0.1231943741440773,
-0.10253630578517914,
0.25542160868644714,
-0.17616987228393555,
0.05987367779016495,
0.01924656331539154,
0.663119912147522,
-0.11320331692695618,
0.021045269444584846,
-0.4090498387813568,
0.4484468996524811,
-0.1252036690711975,
0.09945476055145264,
0.047110024839639664,
-0.14778867363929749,
-0.2524157166481018,
-0.15002727508544922,
-0.23335248231887817,
-0.2454036921262741,
-0.24571827054023743,
0.2511613965034485,
0.08268648386001587,
0.11168186366558075,
-0.2739841043949127,
-0.20208679139614105,
0.04158850759267807,
0.18490132689476013,
-0.11250001192092896,
-0.12913939356803894,
-0.25702986121177673,
-0.06588820368051529,
-0.09126591682434082,
0.09058874845504761,
0.3543509542942047,
-0.06939689069986343,
0.01721319742500782,
-0.03888559713959694,
0.354586660861969,
0.33158114552497864,
0.2095421999692917,
-0.08459939807653427,
0.03307786583900452,
0.17009243369102478,
-0.4335312843322754,
0.18612152338027954,
0.1008276641368866,
0.3031097650527954,
0.03139147162437439,
-0.32654163241386414,
0.32365912199020386,
-0.10250142216682434,
0.13853400945663452,
0.0030282996594905853,
-0.12435191124677658,
0.33380863070487976,
0.07592381536960602,
-0.2493383139371872,
-0.01176619902253151,
-0.11911660432815552,
-0.3750443756580353,
0.27589669823646545,
-0.3910899758338928,
-0.035963211208581924,
0.05095145106315613,
0.4114586412906647,
-0.0011709332466125488,
-0.1298627257347107,
0.2460474669933319,
-0.05258847028017044,
-0.13745807111263275,
0.06382337957620621,
0.06404395401477814,
0.3732748031616211,
0.3588372468948364,
0.1990613490343094,
-0.03921377658843994,
0.054826900362968445,
0.05061904340982437,
0.2726588845252991,
-0.06763817369937897,
-0.23279593884944916,
0.2978205680847168,
-0.002916028257459402,
-0.05234723910689354,
-0.26852670311927795,
-0.08555194735527039,
-0.2378770262002945,
-0.030401350930333138,
-0.11822645366191864,
-0.06094849854707718,
-0.08302859216928482,
-0.07333307713270187,
-0.236161008477211,
-0.20661015808582306,
0.24737302958965302,
0.06875453889369965,
0.25894784927368164,
0.0895349532365799,
-0.16547195613384247,
0.13784083724021912,
0.20338602364063263,
0.16518376767635345,
-0.072797030210495,
0.15032538771629333,
0.032479479908943176,
0.13582071661949158,
0.08540128171443939,
0.2573736906051636,
0.15630792081356049,
0.36233773827552795,
0.39846163988113403,
0.058721527457237244,
0.060863688588142395,
0.1308545172214508,
-0.12532636523246765,
0.27428701519966125,
-0.26585543155670166,
0.2834150791168213,
0.12280696630477905,
0.13862718641757965,
0.06701139360666275,
-0.2765025496482849,
0.06549879908561707,
-0.026405274868011475,
-0.20471283793449402,
0.05426095426082611,
0.06808076053857803,
-0.09869448840618134,
-0.3999687731266022,
-0.3954416513442993,
-0.5013638734817505,
-0.42624467611312866,
0.22296172380447388,
-0.07039570063352585,
0.2416035532951355,
-0.056218862533569336,
-0.006881633773446083,
0.08662200719118118,
0.005962055176496506,
0.32411637902259827,
-0.36333024501800537,
-0.15669800341129303,
0.2426138073205948,
-0.318768173456192,
-0.14684760570526123,
-0.025954104959964752,
0.22745712101459503,
0.14485754072666168,
0.1588471531867981,
0.15912862122058868,
-0.2552083134651184,
-0.035545021295547485,
-0.044916968792676926,
-0.012530919164419174,
0.2530754506587982,
0.34817805886268616,
0.24505621194839478,
-0.1929570585489273,
-0.24219626188278198,
0.2887016832828522,
0.09536854922771454,
0.0552065446972847,
0.008498750627040863,
0.08829289674758911,
0.20793169736862183,
0.12302470207214355,
0.5426356792449951,
0.4386945366859436,
0.16667117178440094,
-0.08763974905014038,
-0.06450588256120682,
0.14470912516117096,
-0.0500466451048851,
0.07593545317649841,
0.1673981249332428,
-0.11906459927558899,
-0.12652194499969482,
0.3466812074184418,
0.18953895568847656,
0.052697837352752686,
-0.1387183964252472,
0.23415929079055786,
-0.39525482058525085,
-0.10173282772302628,
0.2699962556362152,
0.05996162071824074,
0.2507781982421875,
-0.1463823765516281,
0.21158543229103088,
0.1714162975549698,
-0.024865195155143738,
-0.12151199579238892,
0.05763835087418556,
0.3279741406440735,
0.031712550669908524,
-0.2977880835533142,
-0.25930196046829224,
-0.27969929575920105,
0.07269106060266495,
0.22628608345985413,
0.2687760293483734,
-0.19859659671783447,
-0.06393801420927048,
-0.04497148096561432,
-0.1688287854194641,
0.03430571407079697,
-0.19893069565296173,
-0.12535792589187622,
-0.08905085921287537,
0.38275620341300964,
0.232950821518898,
0.1242753267288208,
-0.6547999382019043,
-0.00661949347704649,
-0.19807793200016022,
0.10270064324140549,
-0.4907391369342804,
-0.22837497293949127,
0.18320055305957794,
0.37550878524780273,
0.09896905720233917,
0.04890510439872742,
-0.11191496253013611,
-0.2929897606372833,
-0.3633106052875519,
0.09240375459194183,
0.19576601684093475,
0.0019841990433633327,
-0.2141072303056717,
-0.08274104446172714,
0.24250611662864685,
0.13730475306510925,
0.3453868627548218,
0.16204598546028137,
0.29375895857810974,
-0.22976188361644745,
-0.041512321680784225,
0.17477913200855255,
-0.19838488101959229,
-0.0589786022901535,
0.23661959171295166,
0.06786009669303894,
0.018841654062271118,
0.02446986362338066,
-0.441757470369339,
0.45647525787353516,
0.22599419951438904,
-0.07270883023738861,
0.12560562789440155,
-0.20707668364048004,
0.11476853489875793,
-0.5968335270881653,
0.18659546971321106,
0.26642903685569763,
0.22362950444221497,
-0.018028397113084793,
-0.403522789478302,
0.39481741189956665,
-0.07339417189359665,
-0.1631414294242859,
0.2639103829860687,
0.030897587537765503,
-0.2590620815753937,
0.4211176633834839,
-0.08287770301103592,
0.8585383892059326,
0.35482555627822876,
-0.025966685265302658,
0.4317336976528168,
-0.20947778224945068,
0.011968898586928844,
-0.46323728561401367,
0.019090142101049423,
-0.060492854565382004,
0.04381393641233444,
-0.158599853515625,
0.06091286614537239,
0.24134746193885803,
0.09121393412351608,
-0.6070458292961121,
0.15824203193187714,
0.18950165808200836,
0.024180257692933083,
0.06013470143079758,
0.117121621966362,
-0.26517531275749207,
-0.22756856679916382,
-0.030178461223840714,
0.2548837959766388,
-0.21982289850711823,
-0.046192992478609085,
0.04175370931625366,
-0.32662105560302734,
-0.0074093155562877655,
-0.11387661099433899,
-0.24806183576583862,
-0.05151743441820145,
-0.2879631519317627,
0.042725659906864166,
-0.19090409576892853,
-0.22711843252182007,
0.26215660572052,
0.10822141915559769,
-0.11354033648967743,
0.3499510884284973,
-0.13798566162586212,
0.13492268323898315,
-0.04860225319862366,
0.3358471691608429,
0.08768081665039062,
-0.06077852100133896,
-0.03525247424840927,
-0.17885133624076843,
-0.014538250863552094,
0.033294517546892166,
-0.013661980628967285,
-0.009246818721294403,
0.3458891212940216,
-0.05849356949329376,
0.1048882007598877,
-0.22650845348834991,
-0.39837929606437683,
0.25902509689331055,
-0.10389907658100128,
0.07755202054977417,
0.22528555989265442,
0.15081076323986053,
-0.7017284631729126,
0.5235637426376343,
-0.12759312987327576,
-0.024494238197803497,
-0.008132245391607285,
-0.24926239252090454,
-0.06590893119573593,
-0.15717282891273499,
0.17891204357147217,
-0.0904904156923294,
-0.2334260791540146,
-0.31361961364746094,
0.2020326852798462,
-0.1726282238960266,
-0.09726377576589584,
-0.14744462072849274,
0.15433283150196075,
-0.23836290836334229,
0.01975351944565773,
-0.021391529589891434,
-0.21614940464496613,
0.01554836705327034,
-0.26459383964538574,
-0.3990563154220581,
-0.14977142214775085,
0.053049471229314804,
0.13378703594207764,
0.20527878403663635,
-0.14088600873947144,
0.131513774394989,
-0.21263650059700012,
0.10187019407749176,
-0.4639744162559509,
0.05343300849199295,
0.16200721263885498,
0.3573172688484192,
0.09075650572776794,
0.061552658677101135,
0.10880882292985916,
-0.1056777685880661,
0.1630217432975769,
0.32395267486572266,
-0.35316070914268494,
-0.2667018473148346,
-0.06333968788385391,
0.13178186118602753,
-0.11476550251245499,
-0.09461385011672974,
0.03138841688632965,
0.2043289989233017,
-0.3778539299964905,
-0.20235954225063324,
0.12498831748962402,
0.02125459536910057,
-0.11193221807479858,
0.26983529329299927,
-0.443663090467453,
0.16379974782466888,
0.06508529931306839,
-0.12194675207138062,
-0.011147119104862213,
0.16691485047340393,
0.10591442883014679,
0.22061941027641296,
0.0011053201742470264,
-0.16169163584709167,
0.21672990918159485,
0.26913928985595703,
0.16968965530395508,
-0.15171930193901062,
0.23445764183998108,
0.15089929103851318,
0.28566721081733704,
0.009167801588773727,
0.5419856309890747,
0.22281292080879211,
-0.06201694905757904,
0.005848361179232597,
0.23818358778953552,
0.41834214329719543,
-0.08290593326091766,
0.13725455105304718,
-0.1970931738615036,
-0.29049745202064514,
0.2145695686340332,
0.12262755632400513,
0.21547183394432068,
0.032193623483181,
0.09554976969957352,
-0.11740559339523315,
0.21685072779655457,
-0.2939246892929077,
-0.02086029201745987,
0.3732356131076813,
-0.014665506780147552,
-0.02093276008963585,
-0.09130000323057175,
-0.17154763638973236,
0.1516510546207428,
0.46218711137771606,
-0.37710532546043396,
0.31213489174842834,
0.39937958121299744,
0.11542648077011108,
0.11951509118080139,
-0.04530554264783859,
-0.0900321900844574,
0.13689492642879486,
0.013181887567043304,
0.30852022767066956,
0.1800810694694519,
0.32131433486938477,
-0.522570788860321,
-0.29771122336387634,
0.016739921644330025,
0.19240112602710724,
0.10087041556835175,
-0.10634495317935944,
0.05176592618227005,
-0.12314067780971527,
-0.34610894322395325,
-0.08179733902215958,
0.04552855342626572,
0.12525275349617004,
-0.06851401925086975,
0.0837985947728157,
0.2979624569416046,
0.03664880990982056,
0.014740871265530586,
0.04446243494749069,
0.4855916500091553,
-0.40231630206108093,
0.11972438544034958,
0.45075303316116333,
-0.03184211999177933,
0.23733216524124146,
0.2878590524196625,
0.43158698081970215,
-0.05459681898355484,
-0.47576335072517395,
0.26361584663391113,
-0.42914098501205444,
-0.11716961115598679,
0.017300613224506378,
0.3153665065765381,
0.0665372908115387,
0.18748284876346588,
0.21018455922603607,
0.2456757128238678,
-0.21619179844856262,
-0.15874116122722626,
0.14294227957725525,
-0.4152562618255615,
-0.16262519359588623,
0.13485825061798096,
-0.06620805710554123,
-0.03645312041044235,
-0.0010707005858421326,
-0.24948671460151672,
-0.48748210072517395,
0.03492145985364914,
0.26806390285491943,
0.024924492463469505,
0.13768905401229858,
0.16402122378349304,
0.1542191505432129,
-0.009683392941951752,
0.1120930165052414,
0.12248077988624573,
0.20859774947166443,
-0.05512615293264389,
-0.14694355428218842,
-0.3957481384277344,
-0.27489298582077026,
0.3498224914073944,
-0.09328014403581619,
-0.24290019273757935,
-0.01133236289024353,
0.424009770154953,
0.4236694574356079,
-0.3012441396713257,
-0.11690980941057205,
0.1549071967601776,
0.04942656308412552,
-0.1305692046880722,
0.12896715104579926,
0.20415201783180237,
0.18890467286109924,
-0.002704726532101631,
-0.4630740284919739,
-0.11140836775302887,
0.05442645028233528,
0.14169028401374817,
0.037370458245277405,
0.18086306750774384,
-0.18071313202381134,
-0.33650463819503784,
-0.1219385415315628,
0.1944490671157837,
0.474224328994751,
-0.42080262303352356,
-0.001278625801205635,
0.209305539727211,
0.2478201985359192,
-0.18752819299697876,
0.0564299151301384,
-0.021192766726017,
0.5823149681091309,
0.04849190264940262,
0.0453338548541069,
-0.22634780406951904,
0.24324312806129456,
0.01202334463596344,
-0.12210549414157867,
-0.3112279772758484,
0.07832158356904984,
-0.39544111490249634,
0.05337987095117569,
-0.03386891260743141,
0.2636358141899109,
-0.21639475226402283,
0.06964006274938583,
-0.32052716612815857,
-0.24398086965084076,
0.27205127477645874,
-0.021006962284445763,
-0.17811748385429382,
0.08616800606250763,
0.31805887818336487,
0.35048869252204895,
0.19600413739681244,
-0.8044943809509277,
0.10717090219259262,
0.06669417768716812,
-0.04152018576860428,
-0.08954961597919464,
0.4013034999370575,
0.028838012367486954,
-0.3587065041065216,
-0.003315545618534088,
0.42032092809677124,
0.1763002872467041,
-0.09073443710803986,
-0.07601013034582138,
-0.4507420063018799
] |
https://github.com/huggingface/datasets/pull/2324 | Create Audio feature | Hi @lhoestq, if you validate this approach, we could merge the Audio feature this (or early next) week. | Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`. | 18 | text: Create Audio feature
Create `Audio` feature to handle raw audio files.
Some decisions to be further discussed:
- I have chosen `soundfile` as the audio library; another interesting library is `librosa`, but this requires `soundfile` (see [here](https://github.com/librosa/librosa/blob/main/setup.cfg#L53)). If we require some more advanced functionalities, we could eventually switch the library.
- I have implemented the audio feature as an extra: `pip install datasets[audio]`. For the moment, the typical datasets user uses only text datasets, and there is no need for them for additional package requirements for audio/image if they do not need them.
- For tests, I require audio dependencies (so that all audio functionalities are checked with our CI test suite); I exclude Linux platforms, which require an additional library to be installed with the distribution package manager
- I also require `pytest-datadir`, which allow to have (audio) data files for tests
- The audio data contain: array and sample_rate.
- The array is reshaped as 1D array (expected input for `Wav2Vec2`).
Note that to install `soundfile` on Linux, you need to install `libsndfile` using your distribution’s package manager, for example `sudo apt-get install libsndfile1`.
Hi @lhoestq, if you validate this approach, we could merge the Audio feature this (or early next) week. | [
-0.39052894711494446,
-0.138142392039299,
-0.1843714565038681,
-0.21565954387187958,
-0.024261143058538437,
-0.2340972125530243,
0.21391704678535461,
0.25548872351646423,
-0.12314154207706451,
0.3409340977668762,
-0.14781610667705536,
0.3326476812362671,
-0.3270871043205261,
0.2854722738265991,
-0.04473677650094032,
-0.026231780648231506,
0.08251110464334488,
0.3691481947898865,
-0.06709074974060059,
0.15613454580307007,
0.052645035088062286,
0.07044447958469391,
-0.20303145051002502,
0.0898984894156456,
-0.066269651055336,
-0.036161623895168304,
0.1337021440267563,
0.06247705593705177,
-0.5196407437324524,
-0.36243724822998047,
0.01850067265331745,
0.1923518180847168,
-0.09350711107254028,
0.26542359590530396,
-0.00009530596435070038,
-0.285765141248703,
0.2091507762670517,
-0.08167403191328049,
-0.0849771797657013,
-0.2542429566383362,
-0.19371312856674194,
-0.23912039399147034,
-0.16532285511493683,
-0.11489081382751465,
-0.0919681116938591,
-0.13246816396713257,
0.051706381142139435,
-0.1214027926325798,
0.45300114154815674,
0.3709276616573334,
0.2791203260421753,
-0.14420223236083984,
0.000699508935213089,
0.030520934611558914,
0.31829264760017395,
0.2401614934206009,
-0.22898659110069275,
-0.24723464250564575,
0.4779146909713745,
0.16178922355175018,
0.08686282485723495,
0.45416152477264404,
-0.17167146503925323,
0.12934966385364532,
0.06902287155389786,
0.04176553711295128,
-0.3457281291484833,
-0.35545116662979126,
-0.17669537663459778,
0.23154157400131226,
0.5213160514831543,
-0.41251862049102783,
-0.1487872451543808,
0.04251205921173096,
-0.021871507167816162,
-0.4078547954559326,
-0.05195426195859909,
0.148995041847229,
-0.41120773553848267,
0.07814769446849823,
-0.2191707193851471,
-0.09383229166269302,
-0.2306075096130371,
-0.023117609322071075,
0.3767445683479309,
-0.07746028900146484,
-0.14605556428432465,
-0.043975941836833954,
0.15463131666183472,
-0.09065873175859451,
-0.09551390260457993,
0.05066300183534622,
0.013837162405252457,
0.31588658690452576,
0.038879990577697754,
-0.36912766098976135,
-0.1106879934668541,
-0.2575116753578186,
0.06812280416488647,
-0.16542352735996246,
-0.022795580327510834,
-0.041557103395462036,
-0.08819299191236496,
0.3710806667804718,
-0.13585670292377472,
-0.16814763844013214,
0.08587754517793655,
-0.17137625813484192,
0.2443932592868805,
-0.17760173976421356,
0.10766814649105072,
-0.1537342667579651,
0.023235104978084564,
0.0028289537876844406,
-0.21464942395687103,
0.13465848565101624,
0.174930602312088,
-0.23947763442993164,
-0.2492615282535553,
-0.1440218687057495,
0.04783698171377182,
0.005422582384198904,
-0.0032041845843195915,
0.22568058967590332,
0.05121590942144394,
0.024707697331905365,
0.015705198049545288,
0.3827095031738281,
-0.059770241379737854,
0.10360029339790344,
0.1141224279999733,
0.14609718322753906,
0.09477899968624115,
0.11344187706708908,
0.40107735991477966,
0.25671833753585815,
0.3691730797290802,
0.21561594307422638,
0.35796505212783813,
-0.024563007056713104,
0.37376776337623596,
-0.05982831493020058,
-0.07949135452508926,
-0.0019176527857780457,
0.06761366128921509,
0.016604149714112282,
-0.10328014194965363,
0.1894875168800354,
-0.24644777178764343,
0.12887293100357056,
-0.09716137498617172,
-0.01560433954000473,
0.058629110455513,
0.2707929313182831,
-0.09334731847047806,
-0.0022746361792087555,
0.12910549342632294,
0.42620012164115906,
-0.10048545151948929,
-0.6556813716888428,
-0.12831667065620422,
0.0706634670495987,
-0.30716052651405334,
-0.1303643435239792,
0.2085052877664566,
-0.2144574671983719,
-0.1762349009513855,
-0.02679208293557167,
-0.0873197615146637,
-0.07215781509876251,
0.0718325674533844,
0.02192162722349167,
-0.01815781556069851,
-0.07052307575941086,
0.02825266309082508,
0.22637827694416046,
0.4152977764606476,
-0.5854583382606506,
-0.000014217570424079895,
0.038363706320524216,
0.06634983420372009,
-0.15479141473770142,
0.18950362503528595,
0.12252481281757355,
0.3494117558002472,
-0.25207045674324036,
-0.1281609833240509,
0.2726103663444519,
-0.1722937524318695,
0.007944365963339806,
-0.1238214522600174,
-0.32317063212394714,
-0.029858849942684174,
0.11943235993385315,
-0.06430131196975708,
-0.21143004298210144,
-0.06524937599897385,
-0.08836901187896729,
0.14754723012447357,
-0.13737072050571442,
0.07581403106451035,
0.0217343308031559,
0.73113614320755,
-0.13638567924499512,
-0.08061562478542328,
-0.30895620584487915,
0.6085753440856934,
-0.1739605963230133,
0.006971292197704315,
0.19744868576526642,
-0.03158643841743469,
-0.2449367791414261,
-0.11813579499721527,
-0.2307962030172348,
-0.08723248541355133,
-0.2722117602825165,
0.27220460772514343,
0.12015413492918015,
0.10492761433124542,
-0.19829820096492767,
-0.2230825573205948,
-0.01784989796578884,
0.06223513185977936,
-0.1658942699432373,
-0.08296847343444824,
-0.22887678444385529,
-0.13890418410301208,
-0.11316218972206116,
0.13030922412872314,
0.2660241723060608,
-0.15448111295700073,
0.15533815324306488,
-0.06818026304244995,
0.3979739248752594,
0.23134204745292664,
0.2623046636581421,
0.01602073758840561,
0.2043255716562271,
0.18044862151145935,
-0.3974717855453491,
0.27208709716796875,
0.12198732793331146,
0.3211900591850281,
0.0319710299372673,
-0.2670109272003174,
0.11142294108867645,
-0.02374696359038353,
0.10057602822780609,
0.08444304764270782,
-0.16425929963588715,
0.22914287447929382,
0.15999194979667664,
-0.35071516036987305,
0.19042038917541504,
-0.11960268020629883,
-0.2805125415325165,
0.21359284222126007,
-0.22685717046260834,
-0.10375701636075974,
-0.09611216932535172,
0.4327688217163086,
-0.002672828733921051,
-0.017014220356941223,
0.27381888031959534,
-0.08000881224870682,
-0.1986120343208313,
0.07309460639953613,
-0.00929613783955574,
0.4829450249671936,
0.4168025553226471,
0.16481497883796692,
-0.08153434097766876,
-0.05264418572187424,
0.05819396674633026,
0.1815410852432251,
-0.15358437597751617,
-0.22734308242797852,
0.160253643989563,
0.016110220924019814,
-0.21180352568626404,
-0.23064672946929932,
-0.018811315298080444,
-0.18436859548091888,
-0.04124537855386734,
-0.016890667378902435,
-0.20777049660682678,
0.08961834013462067,
0.006331928074359894,
-0.16531726717948914,
-0.13584189116954803,
0.1732863336801529,
0.18923382461071014,
0.40160977840423584,
0.25186678767204285,
-0.09356728196144104,
0.29030656814575195,
0.20119240880012512,
0.237102210521698,
-0.0549328476190567,
0.03142203390598297,
0.06216147541999817,
0.18615838885307312,
-0.016504984349012375,
0.29997456073760986,
0.07772953808307648,
0.3955778479576111,
0.37127870321273804,
0.20083199441432953,
0.04450296610593796,
0.09052122384309769,
-0.1726832389831543,
0.05993970111012459,
-0.07694655656814575,
0.3233090937137604,
0.029620543122291565,
0.12801407277584076,
0.11885082721710205,
-0.4638759195804596,
0.08202040195465088,
-0.12220463901758194,
-0.20195692777633667,
0.0060640256851911545,
0.000532092119101435,
-0.0711640939116478,
-0.2670716643333435,
-0.47698143124580383,
-0.5097594857215881,
-0.4672296643257141,
0.16356274485588074,
0.006117410957813263,
0.18299084901809692,
-0.10258739441633224,
0.17678427696228027,
-0.05755660682916641,
0.0978265032172203,
0.35028666257858276,
-0.2729250192642212,
-0.14732687175273895,
0.2112341970205307,
-0.28799930214881897,
-0.12301400303840637,
-0.08258827030658722,
0.05061003565788269,
0.22610971331596375,
0.13866940140724182,
-0.0041494667530059814,
-0.21389897167682648,
-0.007749127224087715,
0.05361616984009743,
0.09877124428749084,
0.23583360016345978,
0.4003416895866394,
0.2377401739358902,
-0.22038230299949646,
-0.1813124716281891,
0.1503273993730545,
0.10035763680934906,
0.1554599106311798,
0.06663200259208679,
0.09856784343719482,
0.18639329075813293,
-0.08165977895259857,
0.6602712273597717,
0.3203914761543274,
0.15574169158935547,
-0.08819492161273956,
-0.06996946036815643,
0.2247607409954071,
-0.22294333577156067,
-0.06471935659646988,
0.19417351484298706,
-0.040165409445762634,
-0.3046357035636902,
0.259996235370636,
0.19451192021369934,
-0.12075098603963852,
-0.18478025496006012,
0.23397907614707947,
-0.3712901771068573,
-0.07249327003955841,
0.18510043621063232,
0.127601757645607,
0.3087903559207916,
-0.15798650681972504,
0.03866814076900482,
-0.02693919464945793,
-0.006937410682439804,
-0.10481174290180206,
0.10216992348432541,
0.12338238954544067,
0.04826822876930237,
-0.30235883593559265,
-0.15762384235858917,
-0.16934984922409058,
0.008387468755245209,
0.25044798851013184,
0.23603667318820953,
-0.23597785830497742,
-0.21537429094314575,
-0.1011151373386383,
-0.09802079200744629,
-0.0582796186208725,
-0.18907561898231506,
-0.24553056061267853,
0.0011210236698389053,
0.44280683994293213,
0.2355240136384964,
0.1663527488708496,
-0.4529026448726654,
-0.10395803302526474,
-0.0234246626496315,
0.09339823573827744,
-0.31612440943717957,
-0.02079855278134346,
0.0903744101524353,
0.3180798888206482,
0.11064061522483826,
0.08760901540517807,
-0.07251988351345062,
-0.22485435009002686,
-0.2936672270298004,
0.03223097324371338,
0.034231461584568024,
-0.06056027486920357,
-0.14929012954235077,
-0.12269803881645203,
0.2882254421710968,
0.015597857534885406,
0.2244623303413391,
0.10688953101634979,
0.16961216926574707,
-0.313931405544281,
0.13714167475700378,
-0.0605921745300293,
-0.34596458077430725,
-0.12402839958667755,
0.11419960111379623,
0.04378962144255638,
0.12857094407081604,
-0.005971014499664307,
-0.38727137446403503,
0.330218106508255,
0.1524960696697235,
-0.012507819570600986,
0.18198415637016296,
-0.2347773313522339,
0.11765006184577942,
-0.46769264340400696,
0.2168131321668625,
0.3017282485961914,
0.19921354949474335,
0.13098733127117157,
-0.37876608967781067,
0.3210425078868866,
-0.05409226939082146,
-0.20535634458065033,
0.36048242449760437,
-0.24446405470371246,
-0.21316425502300262,
0.3454994559288025,
-0.10502473264932632,
0.8517922163009644,
0.3031730055809021,
0.05242333933711052,
0.33461081981658936,
-0.10370050370693207,
0.004950491711497307,
-0.5371886491775513,
0.06641803681850433,
0.017788883298635483,
0.033906690776348114,
-0.05961170047521591,
0.010537859052419662,
0.119643434882164,
0.09029112756252289,
-0.646223247051239,
0.037416208535432816,
0.4029969573020935,
-0.0024495013058185577,
-0.10415130108594894,
0.1617923080921173,
-0.2716251313686371,
-0.2085670530796051,
-0.04688618332147598,
0.2861064374446869,
-0.0967361181974411,
-0.1398855447769165,
0.0680880919098854,
-0.18496190011501312,
-0.007488612085580826,
-0.20109404623508453,
-0.2251732498407364,
-0.13948598504066467,
-0.17562922835350037,
0.05336245149374008,
-0.178618386387825,
-0.11671848595142365,
0.07008448243141174,
0.08007171005010605,
-0.19425295293331146,
0.4724288284778595,
-0.12916620075702667,
0.2191474437713623,
0.049819737672805786,
0.3502682149410248,
0.022345978766679764,
-0.050088539719581604,
-0.13201455771923065,
-0.26114776730537415,
-0.14142388105392456,
0.10596843808889389,
-0.09716230630874634,
-0.15988789498806,
0.19193607568740845,
-0.16316428780555725,
0.19680830836296082,
-0.1629023402929306,
-0.2788453996181488,
0.2746659219264984,
-0.1609390825033188,
0.008514776825904846,
0.27809134125709534,
0.09023840725421906,
-0.5096040368080139,
0.4581698477268219,
-0.012527473270893097,
-0.04283605143427849,
-0.09495708346366882,
-0.26550063490867615,
-0.0184265598654747,
-0.12105301022529602,
0.12179966270923615,
-0.1184123307466507,
-0.08750443160533905,
-0.3254258334636688,
0.30297619104385376,
-0.20223954319953918,
-0.054081838577985764,
-0.11597230285406113,
0.21721796691417694,
-0.43366360664367676,
0.020318366587162018,
-0.00836436077952385,
-0.07443203032016754,
0.08383156359195709,
-0.31682804226875305,
-0.15610794723033905,
-0.3599587380886078,
0.22341033816337585,
0.2836858034133911,
0.26673439145088196,
-0.1951139271259308,
-0.04145172983407974,
-0.023392699658870697,
0.023447183892130852,
-0.5027803182601929,
-0.09864871948957443,
0.02120763249695301,
0.3527318239212036,
0.19773021340370178,
-0.013287298381328583,
0.08631961792707443,
-0.028172027319669724,
0.20897571742534637,
0.04709027335047722,
-0.353432834148407,
-0.2887865900993347,
-0.016124248504638672,
0.11014341562986374,
-0.011210005730390549,
-0.0694982260465622,
-0.018047988414764404,
-0.03185292333364487,
-0.3464994728565216,
-0.09582490473985672,
0.0123179592192173,
0.01027204841375351,
-0.19660751521587372,
0.1836959272623062,
-0.47264352440834045,
0.15276460349559784,
0.13836859166622162,
-0.04063916951417923,
-0.07608811557292938,
0.07528405636548996,
0.06616488099098206,
0.2196301817893982,
0.21504303812980652,
-0.2508534789085388,
0.2493017613887787,
0.2768731415271759,
0.11584743857383728,
-0.09780468791723251,
0.16628755629062653,
0.2085779458284378,
0.2969275414943695,
-0.06841624528169632,
0.4675193428993225,
0.2483067810535431,
-0.05181151628494263,
0.05239701271057129,
0.3016428053379059,
0.492200642824173,
-0.16360217332839966,
0.030128514394164085,
-0.33590346574783325,
-0.28141167759895325,
0.29983416199684143,
0.05980468541383743,
0.15097948908805847,
-0.04803038761019707,
0.3196460008621216,
-0.026736507192254066,
0.13305601477622986,
-0.3918083906173706,
-0.0023019863292574883,
0.33033648133277893,
-0.07820729911327362,
-0.07079844176769257,
-0.23489069938659668,
-0.1524164229631424,
0.1794927716255188,
0.4650152325630188,
-0.4014457166194916,
0.33884021639823914,
0.3400074541568756,
-0.07680577039718628,
0.23856735229492188,
0.14169877767562866,
-0.0658319741487503,
0.10822181403636932,
-0.033861711621284485,
0.14312134683132172,
0.25885266065597534,
0.28143587708473206,
-0.428587406873703,
-0.2198871523141861,
-0.06722071766853333,
0.03772440925240517,
0.12365549057722092,
-0.09873634576797485,
0.034463152289390564,
-0.1544947624206543,
-0.35460564494132996,
-0.15533119440078735,
0.13240312039852142,
0.30780184268951416,
0.01691044121980667,
0.04269832372665405,
0.27078381180763245,
0.034825555980205536,
0.0685746818780899,
0.14695122838020325,
0.28326037526130676,
-0.22943945229053497,
0.12061885744333267,
0.3757104277610779,
-0.08046001195907593,
0.2673172354698181,
0.3270949721336365,
0.377871036529541,
0.08198672533035278,
-0.44998154044151306,
0.4368094801902771,
-0.3333950936794281,
-0.11774031817913055,
-0.11433373391628265,
0.2757243812084198,
0.18466459214687347,
0.35308703780174255,
0.11418521404266357,
0.30988723039627075,
-0.24038229882717133,
0.02396780624985695,
-0.06034860387444496,
-0.564960241317749,
-0.23528116941452026,
0.1277153640985489,
0.014851158484816551,
-0.07739301770925522,
-0.07509056478738785,
-0.12106878310441971,
-0.5124019980430603,
-0.0026329634711146355,
0.2967492938041687,
-0.03996456414461136,
0.12425290793180466,
-0.00906725600361824,
0.1742928922176361,
-0.05370423570275307,
0.12899412214756012,
0.04987112432718277,
0.26879486441612244,
-0.004550435580313206,
-0.18747588992118835,
-0.41763588786125183,
-0.18019914627075195,
0.12522880733013153,
-0.0023358166217803955,
-0.3001450300216675,
-0.06293604522943497,
0.5048430562019348,
0.4556018114089966,
-0.20665325224399567,
-0.0898134782910347,
-0.024805795401334763,
0.07227012515068054,
-0.09383310377597809,
0.13092997670173645,
0.2707594037055969,
0.28449320793151855,
0.060200951993465424,
-0.44339802861213684,
-0.13827219605445862,
0.03244344890117645,
0.21158692240715027,
0.07309062778949738,
0.03885985165834427,
0.025720864534378052,
-0.1953602135181427,
0.010537907481193542,
0.10965297371149063,
0.39059895277023315,
-0.4708176255226135,
-0.009824988432228565,
0.14766865968704224,
0.17795543372631073,
-0.20609909296035767,
-0.16381198167800903,
-0.0030696168541908264,
0.5258342027664185,
-0.05144859850406647,
0.063166543841362,
-0.1734972894191742,
0.23492664098739624,
-0.0005801506340503693,
-0.1540934145450592,
-0.12601545453071594,
-0.03806735575199127,
-0.3110714852809906,
0.09677974879741669,
-0.04642018675804138,
0.11871439963579178,
-0.21602845191955566,
0.001799868419766426,
-0.2889549732208252,
-0.25635409355163574,
0.3264809250831604,
0.04821664094924927,
-0.15769360959529877,
-0.11658278107643127,
0.3662611246109009,
0.2842467427253723,
0.295208603143692,
-0.707352340221405,
0.025064095854759216,
0.08796132355928421,
0.08293473720550537,
0.06513972580432892,
0.3604465425014496,
0.04408244416117668,
-0.31088966131210327,
-0.013574382290244102,
0.3494948446750641,
0.06258159875869751,
0.04377363622188568,
-0.0869266539812088,
-0.493305504322052
] |
https://github.com/huggingface/datasets/pull/2315 | Datasets cli improvements | Additionally, I've deleted the points that are not very relevant for this repo (I guess the deleted points originate from the transformers repo). With this change, running `datasets-cli` is identical to copy-pasting the code from `bug_report.md`, but is more elegant because it doesn't require launching the REPL and copy-pasting the code. | This PR:
* replaces the code from the `bug_report.md` that was used to get relevant system info with a dedicated command (a more elegant approach than copy-pasting the code IMO)
* removes the `download` command (copied from the transformers repo?)
* adds missing help messages to the cli commands
| 51 | text: Datasets cli improvements
This PR:
* replaces the code from the `bug_report.md` that was used to get relevant system info with a dedicated command (a more elegant approach than copy-pasting the code IMO)
* removes the `download` command (copied from the transformers repo?)
* adds missing help messages to the cli commands
Additionally, I've deleted the points that are not very relevant for this repo (I guess the deleted points originate from the transformers repo). With this change, running `datasets-cli` is identical to copy-pasting the code from `bug_report.md`, but is more elegant because it doesn't require launching the REPL and copy-pasting the code. | [
-0.5134177803993225,
0.09644095599651337,
-0.09454932808876038,
0.007522996515035629,
-0.012651879340410233,
0.2347424030303955,
0.23952819406986237,
0.5894873738288879,
-0.02816791832447052,
-0.11788994073867798,
-0.07000835984945297,
0.4300020933151245,
0.20971544086933136,
-0.017741244286298752,
0.12254232913255692,
-0.009091023355722427,
-0.011825278401374817,
0.3182545602321625,
0.0019057095050811768,
-0.03669155761599541,
-0.17723631858825684,
-0.016840407624840736,
-0.030006911605596542,
0.1332714557647705,
-0.09905026853084564,
-0.1629067212343216,
0.05040242522954941,
0.05729327350854874,
-0.11186105757951736,
-0.4654884338378906,
0.14239370822906494,
0.3369421362876892,
0.22129231691360474,
0.1648012399673462,
-0.00010420636681374162,
-0.10917825996875763,
0.41539329290390015,
0.08412446081638336,
-0.5203859210014343,
0.2046380192041397,
-0.3789743483066559,
-0.6217320561408997,
0.08356903493404388,
-0.34841203689575195,
0.20126166939735413,
-0.012235851027071476,
-0.020072782412171364,
-0.12708398699760437,
0.18146921694278717,
0.2797619104385376,
0.27726566791534424,
0.37398219108581543,
-0.1548212468624115,
-0.17055580019950867,
0.3429899513721466,
0.21050992608070374,
-0.18185627460479736,
0.08527737855911255,
0.5594240427017212,
0.15176022052764893,
0.03545280918478966,
0.4174859821796417,
-0.09865634143352509,
-0.0796290934085846,
0.1618015170097351,
-0.024428613483905792,
0.29193049669265747,
-0.00983092188835144,
0.27959877252578735,
0.1468626856803894,
0.5771162509918213,
-0.4565994441509247,
-0.21436865627765656,
-0.10298226773738861,
0.06726805865764618,
-0.12949402630329132,
-0.0029750242829322815,
0.09844100475311279,
-0.1796104609966278,
0.09409300982952118,
-0.38167083263397217,
-0.21042172610759735,
-0.16893817484378815,
-0.25256264209747314,
-0.02494553104043007,
0.33789753913879395,
-0.013025726191699505,
-0.07337702065706253,
0.03563389182090759,
-0.08044053614139557,
0.09508692473173141,
-0.068564772605896,
-0.29269254207611084,
0.09537710249423981,
-0.1672467142343521,
-0.3838743567466736,
0.1974409520626068,
-0.1737830936908722,
0.19014963507652283,
0.13333222270011902,
-0.26519477367401123,
0.15838590264320374,
0.07948233187198639,
-0.08943281322717667,
0.21936774253845215,
-0.015060007572174072,
0.1461719572544098,
0.5699446201324463,
0.5244224071502686,
0.16291239857673645,
0.3611491620540619,
-0.08928600698709488,
0.011698589660227299,
0.1490093618631363,
0.0879562646150589,
0.16812801361083984,
0.1921854019165039,
-0.2581290304660797,
-0.2099558413028717,
0.10789337009191513,
0.09201230853796005,
-0.32014983892440796,
-0.01227314118295908,
0.3416951894760132,
0.07758606225252151,
0.00041490793228149414,
0.014367800205945969,
-0.14015713334083557,
-0.043398693203926086,
-0.19843317568302155,
-0.2343595176935196,
-0.20824311673641205,
-0.22392894327640533,
-0.05755484849214554,
0.2286795824766159,
0.1489688605070114,
0.12436122447252274,
-0.13584330677986145,
-0.0029348358511924744,
0.2183331549167633,
0.13090147078037262,
0.17817045748233795,
-0.027739956974983215,
0.4089183211326599,
0.015795260667800903,
0.25888898968696594,
0.06653693318367004,
-0.009339414536952972,
-0.2860824465751648,
0.35970431566238403,
-0.1555975079536438,
-0.36903226375579834,
-0.2382333129644394,
0.27362489700317383,
-0.2021527886390686,
-0.023016102612018585,
0.09614691883325577,
0.03935461491346359,
-0.010211996734142303,
-0.17961172759532928,
0.23504474759101868,
0.10334575921297073,
0.08661940693855286,
-0.06655889749526978,
0.2285386323928833,
0.47414618730545044,
-0.5214657783508301,
-0.1844083070755005,
-0.2812008261680603,
-0.40775689482688904,
-0.040749527513980865,
-0.11686037480831146,
-0.11896900832653046,
0.2228018343448639,
-0.034854188561439514,
-0.16362112760543823,
0.3502402603626251,
-0.30978408455848694,
-0.3872087597846985,
0.3233788311481476,
-0.0669708400964737,
-0.11075735837221146,
0.053849201649427414,
0.20653249323368073,
0.06186602637171745,
-0.044155701994895935,
-0.26678726077079773,
0.02037300169467926,
-0.10874120891094208,
0.26579177379608154,
-0.09372836351394653,
-0.3454926908016205,
-0.10801981389522552,
0.25420108437538147,
0.17593365907669067,
0.13325068354606628,
0.14978159964084625,
0.3028837740421295,
0.5828149914741516,
0.10440423339605331,
0.12544292211532593,
-0.023212365806102753,
0.5944317579269409,
-0.17200703918933868,
0.1631476879119873,
-0.13964657485485077,
-0.44577276706695557,
0.17273330688476562,
0.18366065621376038,
0.08026880025863647,
-0.11007434129714966,
-0.13871803879737854,
-0.32862743735313416,
0.0618821382522583,
-0.011201489716768265,
-0.18284107744693756,
0.20706991851329803,
0.15676720440387726,
-0.006100168451666832,
-0.25809475779533386,
-0.28031113743782043,
0.3293955624103546,
-0.3372655510902405,
0.06886014342308044,
0.2800479233264923,
0.213311567902565,
-0.1245620921254158,
-0.0630401223897934,
-0.18375609815120697,
-0.0664544478058815,
-0.08118636161088943,
0.004087818320840597,
-0.2462030053138733,
0.548260509967804,
-0.2358069121837616,
0.18049821257591248,
0.19007381796836853,
0.12574931979179382,
0.23645934462547302,
-0.10379648208618164,
0.27013492584228516,
0.31164467334747314,
-0.03481774404644966,
0.1785668134689331,
-0.636198103427887,
-0.12074311077594757,
0.1323419064283371,
0.31630975008010864,
0.14379295706748962,
0.12475446611642838,
0.14771053194999695,
-0.07145269215106964,
-0.07048700004816055,
-0.2370617687702179,
-0.12444138526916504,
0.2724575698375702,
0.3679620027542114,
-0.04056517034769058,
-0.05768971145153046,
0.2702382504940033,
0.5769249796867371,
-0.1606067270040512,
-0.1004582867026329,
0.1410977840423584,
-0.24073147773742676,
-0.04579970985651016,
0.32407864928245544,
0.5780009627342224,
0.16054478287696838,
0.31784218549728394,
-0.031226199120283127,
0.16723734140396118,
0.030675917863845825,
-0.021536346524953842,
0.22445327043533325,
0.17936483025550842,
-0.0871841236948967,
0.05209917575120926,
-0.02536831609904766,
0.06751998513936996,
0.010762430727481842,
-0.16086190938949585,
0.005889752879738808,
0.3021393418312073,
-0.1705927848815918,
-0.03961082547903061,
-0.08620690554380417,
-0.31085947155952454,
-0.09765809029340744,
0.2604537904262543,
-0.17957089841365814,
-0.2846815586090088,
0.036177247762680054,
-0.20734405517578125,
-0.21871034801006317,
0.23640559613704681,
-0.13315564393997192,
0.5340485572814941,
0.030640168115496635,
-0.007243074476718903,
-0.24646462500095367,
-0.07750209420919418,
-0.21168053150177002,
0.23742184042930603,
-0.0227822195738554,
0.06743268668651581,
0.3265538215637207,
-0.3337428867816925,
0.31184887886047363,
-0.5832107663154602,
-0.2128172218799591,
0.2455424666404724,
0.07882682979106903,
0.019229760393500328,
0.31921565532684326,
0.1255819946527481,
-0.03379780799150467,
-0.13252730667591095,
0.1405356526374817,
-0.23725907504558563,
-0.032741475850343704,
-0.20639783143997192,
-0.06775829941034317,
-0.06832310557365417,
-0.33495667576789856,
-0.47323134541511536,
-0.10897638648748398,
-0.5071613788604736,
0.07310284674167633,
-0.20870263874530792,
0.29300448298454285,
0.2915631830692291,
0.08479592949151993,
0.3456190228462219,
0.03625084459781647,
0.05641108751296997,
0.08491290360689163,
-0.1373663693666458,
0.1572694331407547,
-0.17346571385860443,
-0.13097330927848816,
0.005897786468267441,
0.2010963261127472,
-0.24450725317001343,
0.21876758337020874,
-0.48282915353775024,
-0.0243990495800972,
-0.2731858491897583,
0.02779759094119072,
0.07921522855758667,
0.31532594561576843,
0.3188402056694031,
0.08855637907981873,
-0.14499706029891968,
-0.012360773980617523,
-0.27340444922447205,
-0.0489233061671257,
-0.025781016796827316,
0.31303292512893677,
-0.1150745376944542,
0.29092544317245483,
-0.06100648641586304,
0.4483281970024109,
0.2604672610759735,
-0.0584360770881176,
-0.13663747906684875,
-0.011372895911335945,
0.5247291922569275,
0.15237781405448914,
-0.09258716553449631,
-0.00010111113078892231,
0.04527776688337326,
-0.3585880398750305,
0.3361521363258362,
0.2339070439338684,
-0.35076552629470825,
-0.06893086433410645,
-0.018599901348352432,
0.06581833213567734,
-0.3673110902309418,
-0.08260699361562729,
0.2425905019044876,
0.32286909222602844,
0.15743686258792877,
0.16845276951789856,
-0.22695229947566986,
0.08157332241535187,
0.16957210004329681,
0.30334538221359253,
-0.1654130220413208,
-0.10179759562015533,
-0.4805452525615692,
-0.24360616505146027,
-0.34833332896232605,
0.11295001208782196,
-0.03667145222425461,
-0.1222427636384964,
-0.04004555940628052,
-0.29014506936073303,
-0.083994060754776,
-0.11715666949748993,
0.08667877316474915,
-0.47187381982803345,
0.15847957134246826,
0.330877423286438,
0.2705584168434143,
-0.0182957760989666,
-0.2751416265964508,
-0.4078107476234436,
0.22733445465564728,
0.3809608817100525,
0.47636348009109497,
-0.09357504546642303,
-0.3551156520843506,
0.507266640663147,
-0.027836469933390617,
-0.08257800340652466,
-0.16246217489242554,
-0.012140482664108276,
-0.02167310006916523,
-0.34092622995376587,
0.13427859544754028,
-0.1160002052783966,
-0.15874852240085602,
-0.12964953482151031,
0.0014470815658569336,
0.27406367659568787,
0.29598531126976013,
0.0013992786407470703,
0.4083711504936218,
0.2696628272533417,
0.19588854908943176,
0.15759718418121338,
-0.07121516764163971,
0.07454521209001541,
0.1783217489719391,
0.38405534625053406,
-0.2778700888156891,
-0.30147016048431396,
0.16174060106277466,
-0.5676116943359375,
0.30160024762153625,
0.33325687050819397,
-0.09065241366624832,
-0.2626734673976898,
0.09204048663377762,
0.1251314878463745,
-0.08716335147619247,
0.04625440388917923,
0.011066002771258354,
0.10423463582992554,
-0.22775501012802124,
-0.39208048582077026,
0.3461267650127411,
0.146478071808815,
-0.23654136061668396,
-0.011621721088886261,
0.09053037315607071,
-0.07824760675430298,
0.08703575283288956,
0.24684900045394897,
0.823320746421814,
-0.13368992507457733,
-0.09271501004695892,
-0.011725440621376038,
-0.31467485427856445,
0.5054928064346313,
-0.40263092517852783,
0.0005127247422933578,
-0.3222655951976776,
-0.17146268486976624,
0.09574799239635468,
0.0058620162308216095,
0.0482712984085083,
0.1307697892189026,
-0.4730328917503357,
0.13711224496364594,
-0.1573934555053711,
0.28408297896385193,
0.29443618655204773,
0.20497092604637146,
-0.05124512314796448,
-0.2619853913784027,
-0.07236959785223007,
0.26535528898239136,
-0.060398198664188385,
-0.06785984337329865,
-0.3234007656574249,
-0.0833553895354271,
0.05133407190442085,
-0.22066672146320343,
-0.46970516443252563,
0.09766831994056702,
0.14844457805156708,
0.02911781519651413,
-0.04408751055598259,
0.016877450048923492,
0.0428808368742466,
-0.07585190236568451,
0.23435832560062408,
0.5136870741844177,
-0.16013740003108978,
0.2446916103363037,
0.06176145002245903,
0.22340452671051025,
0.1070241779088974,
0.16883493959903717,
0.2650124430656433,
-0.014665691182017326,
-0.32931482791900635,
0.013649925589561462,
-0.11772371083498001,
-0.176275372505188,
0.15270516276359558,
-0.15302979946136475,
0.39290672540664673,
-0.14972394704818726,
0.22882068157196045,
0.17569518089294434,
-0.09110020846128464,
-0.18511039018630981,
0.2233109027147293,
0.009208444505929947,
-0.039707303047180176,
0.11936523020267487,
-0.023494403809309006,
-0.35039007663726807,
-0.032919760793447495,
-0.14057201147079468,
0.06884357333183289,
-0.3867814540863037,
0.10152042657136917,
0.14159193634986877,
-0.11724970489740372,
-0.45834052562713623,
-0.11405517160892487,
-0.00261930120177567,
-0.3323289453983307,
0.057827576994895935,
-0.23394480347633362,
-0.3350486159324646,
0.040434133261442184,
0.2352968454360962,
0.1446875035762787,
0.3338666558265686,
-0.20196634531021118,
-0.0829753428697586,
-0.3998355269432068,
0.15249621868133545,
0.042993299663066864,
0.3319987952709198,
-0.12375716120004654,
-0.2823750674724579,
-0.015548432245850563,
-0.2304125726222992,
-0.47722598910331726,
-0.20258603990077972,
-0.2715924382209778,
-0.04445783048868179,
0.22783571481704712,
0.09789770841598511,
0.13859879970550537,
-0.11301548779010773,
0.12683327496051788,
-0.011128567159175873,
-0.271273136138916,
-0.2832224369049072,
-0.16192464530467987,
0.06646360456943512,
-0.16339895129203796,
-0.06601598113775253,
0.13248707354068756,
-0.04505497217178345,
-0.04345908388495445,
-0.13148805499076843,
0.12530890107154846,
-0.060387078672647476,
0.11693663895130157,
0.18970444798469543,
0.04490615427494049,
0.09613237529993057,
-0.2953706383705139,
0.1359332948923111,
0.16665047407150269,
0.15470929443836212,
-0.14826317131519318,
0.29077428579330444,
-0.1657768189907074,
0.000879146158695221,
0.08761778473854065,
0.21317243576049805,
0.1922498643398285,
0.3893401324748993,
0.14834925532341003,
0.08751463890075684,
-0.0018435604870319366,
0.328410267829895,
0.3398546874523163,
0.1213022992014885,
-0.07415605336427689,
-0.17461907863616943,
0.03749380633234978,
0.36535486578941345,
-0.31688836216926575,
-0.039211664348840714,
0.06925614178180695,
-0.21569281816482544,
0.0409415028989315,
0.22581559419631958,
0.16031108796596527,
-0.12175946682691574,
0.42658883333206177,
0.1557329297065735,
0.774807333946228,
-0.15384529531002045,
0.30252134799957275,
0.7060211896896362,
-0.08751322329044342,
-0.026195887476205826,
0.10108966380357742,
0.04074859991669655,
0.04409535974264145,
0.1777692437171936,
-0.10449058562517166,
0.025754395872354507,
0.39317235350608826,
0.19410352408885956,
-0.021758966147899628,
0.059483956545591354,
0.500493049621582,
0.19775208830833435,
-0.22407251596450806,
-0.005388401448726654,
0.12213149666786194,
-0.02487242966890335,
-0.08256836235523224,
0.02004070021212101,
-0.2745569944381714,
-0.16947242617607117,
-0.12117401510477066,
0.11484968662261963,
0.09916709363460541,
-0.12990182638168335,
-0.30678918957710266,
0.07508344948291779,
-0.020164143294095993,
0.05077427625656128,
0.3062410056591034,
-0.09756433963775635,
0.22240601480007172,
-0.16059857606887817,
0.05428324639797211,
-0.06115537881851196,
0.09816500544548035,
-0.37869277596473694,
-0.1250303089618683,
-0.026073098182678223,
-0.04915013909339905,
0.09362317621707916,
0.5004969835281372,
0.2891765832901001,
0.3870547413825989,
0.29576656222343445,
0.2037562131881714,
0.042366914451122284,
0.031500741839408875,
-0.14621099829673767,
-0.0768074318766594,
0.028521422296762466,
-0.07428672909736633,
-0.0611136220395565,
0.24010801315307617,
-0.26348286867141724,
0.014637922868132591,
-0.2938421368598938,
-0.03223567083477974,
-0.09864914417266846,
0.3460811376571655,
0.11314152181148529,
-0.33204513788223267,
0.012042718008160591,
-0.0732705220580101,
-0.2427530586719513,
-0.052735019475221634,
0.5311902165412903,
0.00902567245066166,
0.051663994789123535,
-0.2262229323387146,
0.1530144363641739,
-0.058698561042547226,
0.2938804626464844,
0.23990583419799805,
0.019520241767168045,
-0.1105068027973175,
-0.2794550061225891,
-0.5799775719642639,
0.018273741006851196,
0.14270077645778656,
-0.07736790180206299,
0.06856267154216766,
0.2584480941295624,
-0.08077669888734818,
0.04862591624259949,
0.3988765478134155,
-0.27288103103637695,
-0.2331375777721405,
-0.22938847541809082,
-0.3288031220436096,
-0.17741648852825165,
0.16065730154514313,
0.03792860358953476,
0.05728410184383392,
-0.1790095865726471,
0.10202603042125702,
0.18858644366264343,
0.10122693330049515,
-0.28205782175064087,
-0.28736501932144165,
0.4740704298019409,
0.020921893417835236,
0.48294174671173096,
0.056341663002967834,
0.2611042261123657,
-0.0942336916923523,
-0.4080025851726532,
-0.27195438742637634,
-0.22989659011363983,
-0.1994878649711609,
-0.0065541937947273254,
-0.06524306535720825,
0.11311446130275726,
-0.126217320561409,
0.030441947281360626,
-0.41070064902305603,
-0.18243257701396942,
0.14081287384033203,
0.023824915289878845,
-0.2977941036224365,
-0.07337801903486252,
-0.062042661011219025,
-0.04439447075128555,
0.0009630005806684494,
-0.010624825954437256,
0.02689027599990368,
-0.033783186227083206,
-0.26695507764816284,
-0.3105255365371704,
0.4136961102485657,
-0.04698234796524048,
-0.2857325077056885,
-0.28438255190849304,
0.2860557436943054,
-0.3155496120452881,
0.036123014986515045,
-0.5652778744697571,
-0.06501005589962006,
0.26272594928741455,
-0.1383674144744873,
-0.3238336443901062,
0.14910344779491425,
0.05870601534843445,
0.04533829912543297,
-0.07076026499271393,
0.44962093234062195,
-0.030963867902755737,
-0.33636465668678284,
-0.1287190318107605,
-0.354581356048584
] |
https://github.com/huggingface/datasets/pull/2314 | Minor refactor prepare_module | @lhoestq this is the PR that I mentioned to you, which can be considered as a first step in refactoring `prepare_module`. | Start to refactor `prepare_module` to try to decouple functionality.
This PR does:
- extract function `_initialize_dynamic_modules_namespace_package`
- extract function `_find_module_in_github_or_s3`
- some renaming of variables
- use of f-strings | 21 | text: Minor refactor prepare_module
Start to refactor `prepare_module` to try to decouple functionality.
This PR does:
- extract function `_initialize_dynamic_modules_namespace_package`
- extract function `_find_module_in_github_or_s3`
- some renaming of variables
- use of f-strings
@lhoestq this is the PR that I mentioned to you, which can be considered as a first step in refactoring `prepare_module`. | [
0.02579379454255104,
-0.29196447134017944,
-0.21905702352523804,
-0.1811276227235794,
0.29801875352859497,
-0.2041609287261963,
-0.006901878863573074,
0.40988579392433167,
-0.25136640667915344,
0.2166692316532135,
0.2677299976348877,
0.35010164976119995,
-0.18413321673870087,
0.18096812069416046,
0.22222492098808289,
0.027064727619290352,
0.12748387455940247,
0.30856502056121826,
0.10826532542705536,
0.0437808558344841,
-0.2065165638923645,
0.26174458861351013,
-0.34876519441604614,
0.20446911454200745,
0.17567481100559235,
0.14932382106781006,
0.19184677302837372,
0.18411943316459656,
-0.1914532333612442,
-0.36926066875457764,
-0.0037284884601831436,
0.18864116072654724,
-0.1825740486383438,
-0.0223066583275795,
-0.00009395406232215464,
-0.09677863121032715,
0.2332288771867752,
-0.26339754462242126,
-0.16909898817539215,
0.023700356483459473,
0.022725217044353485,
0.07181110978126526,
-0.01597079262137413,
-0.03937998414039612,
-0.21250122785568237,
-0.18351265788078308,
-0.09023980051279068,
-0.11667953431606293,
0.1458505094051361,
0.2748846113681793,
0.43511056900024414,
-0.07968368381261826,
0.12413845956325531,
-0.09243447333574295,
0.35555315017700195,
0.023376744240522385,
-0.11548582464456558,
-0.010371088981628418,
0.21560679376125336,
-0.013263532891869545,
0.3995536267757416,
0.2447614073753357,
-0.13929107785224915,
0.05133797973394394,
0.38354480266571045,
0.02503783255815506,
0.16922828555107117,
-0.3043305277824402,
0.05393779277801514,
-0.2944819927215576,
0.1823062002658844,
-0.3450563848018646,
0.14105543494224548,
-0.031199991703033447,
-0.04955712705850601,
-0.3242410719394684,
0.1752777397632599,
-0.09785931557416916,
-0.14152921736240387,
0.08510586619377136,
0.18668700754642487,
-0.3198937773704529,
-0.04554188251495361,
-0.10621611773967743,
0.17494738101959229,
0.28285014629364014,
-0.24424028396606445,
-0.03589463233947754,
0.24793413281440735,
-0.14108054339885712,
-0.008750648237764835,
0.21951910853385925,
-0.07913118600845337,
0.016842883080244064,
0.16218027472496033,
-0.06000034138560295,
0.2246151864528656,
-0.15150895714759827,
-0.0030958764255046844,
0.18558886647224426,
-0.34519848227500916,
0.3446098268032074,
0.318525493144989,
0.03675039857625961,
-0.31083032488822937,
0.057166408747434616,
0.2564276158809662,
0.24418850243091583,
0.11073963344097137,
0.22997096180915833,
0.06496746838092804,
-0.03914806991815567,
-0.23133862018585205,
-0.3850228786468506,
-0.16784605383872986,
0.17228004336357117,
0.20220066606998444,
0.04355083033442497,
0.08284468948841095,
-0.04148015379905701,
-0.16040830314159393,
-0.12488508224487305,
-0.07290994375944138,
0.2726510763168335,
0.12813851237297058,
0.14933618903160095,
0.2108474224805832,
-0.18050609529018402,
-0.3136245906352997,
-0.104066863656044,
-0.16992652416229248,
0.22301067411899567,
-0.37099912762641907,
-0.07859114557504654,
-0.22647394239902496,
0.06283748149871826,
0.14275647699832916,
0.034497883170843124,
0.24189676344394684,
-0.30534908175468445,
0.24127274751663208,
0.23100438714027405,
0.33314764499664307,
0.1944659799337387,
-0.14446154236793518,
-0.1130237728357315,
0.09461935609579086,
-0.18139883875846863,
-0.21153804659843445,
0.06259685009717941,
-0.21499857306480408,
-0.47693637013435364,
-0.07348038256168365,
0.3677443265914917,
0.09046792984008789,
0.16897957026958466,
0.17442765831947327,
0.006433483213186264,
-0.1686706244945526,
-0.1755889505147934,
0.22430355846881866,
0.0035010091960430145,
0.16652065515518188,
-0.16675478219985962,
0.19297942519187927,
0.08076974749565125,
0.1938847452402115,
-0.0510181225836277,
0.08638322353363037,
-0.12489566206932068,
0.23951822519302368,
-0.15375050902366638,
-0.16690774261951447,
0.1659322828054428,
-0.2987898588180542,
0.06430083513259888,
0.5194988250732422,
-0.6064724326133728,
0.15503448247909546,
0.0743754580616951,
-0.08076952397823334,
-0.0895344614982605,
-0.022925369441509247,
-0.24647904932498932,
-0.3175874352455139,
-0.06811244785785675,
0.10539834946393967,
-0.008679298684000969,
0.07585915178060532,
-0.023496178910136223,
-0.1864096224308014,
0.03581980615854263,
-0.27679383754730225,
-0.15258051455020905,
0.06563220918178558,
0.22116655111312866,
-0.153579443693161,
0.09351324290037155,
0.24149727821350098,
-0.1573539674282074,
-0.0222906693816185,
0.19074034690856934,
0.42351028323173523,
0.06809302419424057,
-0.05230512470006943,
-0.09812069684267044,
0.006265588104724884,
-0.07052896916866302,
-0.24468593299388885,
0.011783424764871597,
0.00009091943502426147,
-0.11076294630765915,
-0.20769363641738892,
-0.065408855676651,
-0.09567640721797943,
-0.27531617879867554,
0.379968523979187,
0.2016984522342682,
0.05743090435862541,
-0.24058739840984344,
-0.2992067337036133,
0.12702763080596924,
-0.24804000556468964,
-0.06334853172302246,
-0.16395030915737152,
-0.07879908382892609,
-0.22986947000026703,
0.11043600738048553,
0.10622294247150421,
0.2071579098701477,
-0.014389827847480774,
-0.14751935005187988,
0.17624911665916443,
0.3534379303455353,
0.2608596980571747,
-0.07548202574253082,
0.1313147395849228,
0.053904205560684204,
-0.18969303369522095,
0.07330554723739624,
0.0051286593079566956,
-0.47700175642967224,
-0.04475598409771919,
0.19458651542663574,
0.18516084551811218,
0.3141708970069885,
-0.08908756077289581,
0.06720499694347382,
0.04996678978204727,
-0.13823911547660828,
0.1485626995563507,
-0.12996475398540497,
0.028938228264451027,
-0.26801156997680664,
-0.0670846700668335,
0.3406144976615906,
0.10806527733802795,
-0.01186327077448368,
-0.3064969778060913,
0.03526967018842697,
0.46290668845176697,
-0.16940493881702423,
0.02409951761364937,
0.1860048770904541,
0.16429555416107178,
-0.1585063636302948,
-0.2607727348804474,
0.0733950138092041,
0.1847027689218521,
0.14596739411354065,
-0.05272778496146202,
0.17812618613243103,
0.3306639492511749,
-0.10965991765260696,
0.42756029963493347,
0.3031544089317322,
-0.019910160452127457,
0.042142435908317566,
-0.035552263259887695,
0.09461618214845657,
0.10572469979524612,
-0.1259087324142456,
-0.07481193542480469,
0.045416347682476044,
-0.17014949023723602,
0.12824882566928864,
-0.2969669997692108,
0.007682662457227707,
-0.06247659772634506,
0.09507274627685547,
-0.10712122917175293,
0.015874994918704033,
0.05600931495428085,
-0.18448324501514435,
-0.19979187846183777,
0.30029937624931335,
0.30125609040260315,
0.217493936419487,
-0.2623947560787201,
0.016398917883634567,
0.0027275346219539642,
-0.1879102885723114,
-0.11264287680387497,
0.26718947291374207,
-0.009540170431137085,
0.0063310726545751095,
0.2756272554397583,
-0.4704724848270416,
-0.04521357640624046,
-0.18148842453956604,
-0.3250886797904968,
0.3484291434288025,
-0.22781212627887726,
0.019739210605621338,
0.46300211548805237,
-0.22359846532344818,
0.268261194229126,
-0.160552978515625,
0.08793601393699646,
-0.13190849125385284,
-0.14997825026512146,
-0.18442106246948242,
-0.0532989501953125,
-0.0002506757155060768,
-0.3511258661746979,
-0.3434711694717407,
0.09021580964326859,
-0.4779023826122284,
0.13307511806488037,
0.06096745654940605,
0.16351556777954102,
0.37642696499824524,
-0.0205013919621706,
0.130513995885849,
-0.22859922051429749,
0.08432076871395111,
-0.17298714816570282,
-0.04299955070018768,
-0.1076592206954956,
-0.20185396075248718,
0.07603190839290619,
0.06822572648525238,
-0.03735893964767456,
0.19557487964630127,
-0.18466462194919586,
-0.049590058624744415,
-0.41875311732292175,
0.21006925404071808,
-0.03726055473089218,
-0.12289741635322571,
-0.01577671803534031,
0.24401694536209106,
0.4149005115032196,
-0.3962705433368683,
-0.19803890585899353,
-0.2608073353767395,
0.002414226531982422,
0.006954958662390709,
0.23668941855430603,
0.11566605418920517,
0.08355329185724258,
-0.3927115797996521,
0.5503601431846619,
-0.13196977972984314,
0.029653364792466164,
-0.081962451338768,
-0.048687517642974854,
0.2754199504852295,
-0.03907090425491333,
0.1399800032377243,
-0.13709284365177155,
0.08324187994003296,
-0.08541516959667206,
0.3311801850795746,
-0.19719338417053223,
-0.007041415199637413,
-0.1360485851764679,
0.053912002593278885,
-0.18427857756614685,
-0.26608628034591675,
0.1065426841378212,
-0.05065607279539108,
0.29966825246810913,
-0.18274018168449402,
-0.19903311133384705,
-0.21013520658016205,
0.5195156335830688,
0.12981067597866058,
0.11643515527248383,
0.1328200101852417,
-0.13390687108039856,
-0.3374142050743103,
0.09744174778461456,
0.0020623356103897095,
0.2407885044813156,
0.005684803240001202,
-0.02620449662208557,
0.025742512196302414,
-0.4663325846195221,
0.04233013838529587,
-0.19906795024871826,
0.04748832434415817,
-0.2616921663284302,
-0.25336092710494995,
0.41288092732429504,
-0.009038373827934265,
0.18651628494262695,
-0.24053332209587097,
-0.08203905820846558,
0.3012118339538574,
-0.05165865644812584,
-0.007022552192211151,
-0.20100319385528564,
-0.5360285639762878,
0.2241150438785553,
-0.23169508576393127,
0.03827310726046562,
0.18427054584026337,
-0.35145318508148193,
-0.3237992823123932,
-0.34798485040664673,
0.0098906010389328,
0.29051369428634644,
-0.16873089969158173,
-0.03536451607942581,
0.23466773331165314,
0.2606249749660492,
0.006360165774822235,
0.09611310064792633,
0.11873690783977509,
0.34732773900032043,
0.044062793254852295,
-0.15886537730693817,
0.015315022319555283,
-0.08866481482982635,
0.18175028264522552,
0.16117483377456665,
-0.1817837506532669,
-0.06542140245437622,
0.3921947181224823,
-0.02497601881623268,
0.4684150815010071,
0.2400885373353958,
0.004268319346010685,
0.4410856068134308,
-0.2251855880022049,
0.255959153175354,
-0.3366429805755615,
0.06514359265565872,
0.37942567467689514,
-0.16927661001682281,
-0.07585252821445465,
-0.47718918323516846,
0.1943080723285675,
-0.06311416625976562,
-0.33707380294799805,
0.07297219336032867,
0.03495759144425392,
-0.20843087136745453,
0.20197345316410065,
0.336795449256897,
0.926713228225708,
0.23649543523788452,
0.001061607152223587,
0.10676811635494232,
-0.2769409418106079,
0.16449452936649323,
-0.447892427444458,
0.2329564094543457,
-0.3437090516090393,
0.3034544289112091,
0.10686740279197693,
-0.09835024923086166,
0.12621673941612244,
-0.397480845451355,
-0.3716891407966614,
-0.04336332529783249,
-0.20538440346717834,
0.014146612957119942,
0.11763913184404373,
-0.07932691276073456,
0.14836394786834717,
0.04701907932758331,
-0.1417120397090912,
0.2719033658504486,
-0.1326560527086258,
0.1179366409778595,
-0.2176181674003601,
-0.15699991583824158,
0.04611505940556526,
-0.07769295573234558,
-0.08881884068250656,
-0.05491984635591507,
0.0839259997010231,
-0.07017845660448074,
0.20261520147323608,
0.04115745425224304,
0.17600098252296448,
-0.13211418688297272,
0.26481375098228455,
0.1810080111026764,
0.05852867662906647,
0.2948572635650635,
0.11459463834762573,
0.012559853494167328,
-0.18562443554401398,
0.09534645080566406,
-0.03921028971672058,
-0.2177937626838684,
-0.134232297539711,
0.08126311004161835,
-0.24407437443733215,
-0.08608578145503998,
-0.381949782371521,
0.172726571559906,
0.39680802822113037,
-0.07804740965366364,
0.010974494740366936,
0.1761600524187088,
-0.03661618009209633,
-0.21848367154598236,
0.31067514419555664,
-0.2716320753097534,
-0.21129903197288513,
-0.03411829471588135,
0.04135400801897049,
-0.1989835500717163,
0.08030357956886292,
-0.3609270751476288,
0.17453280091285706,
-0.04400582239031792,
0.13395819067955017,
-0.13093306124210358,
-0.1387430727481842,
-0.43796467781066895,
-0.2667923867702484,
-0.12721045315265656,
-0.06253859400749207,
0.3010173439979553,
0.1105954498052597,
-0.3498308062553406,
0.36940422654151917,
0.3630291521549225,
0.012361567467451096,
-0.0642135813832283,
-0.15990979969501495,
0.2110942304134369,
-0.16606144607067108,
0.019784387201070786,
-0.2026182860136032,
0.3478357791900635,
-0.04936065152287483,
0.2271198183298111,
-0.07702163606882095,
0.12323721498250961,
-0.5368167757987976,
-0.08631828427314758,
-0.4812963008880615,
0.2877773642539978,
-0.16095483303070068,
-0.3046666979789734,
0.027958646416664124,
0.018486415967345238,
0.2803138196468353,
0.14889517426490784,
-0.27485549449920654,
-0.3950086832046509,
-0.08628682792186737,
0.06339502334594727,
-0.3645472824573517,
0.19183240830898285,
0.28022465109825134,
0.3844062089920044,
-0.13698287308216095,
0.013468917459249496,
0.093809112906456,
-0.05017148330807686,
0.29144251346588135,
0.2366197556257248,
0.18766716122627258,
-0.017173290252685547,
0.07255518436431885,
-0.13606685400009155,
0.048028577119112015,
0.38962554931640625,
0.024247493594884872,
-0.1372544914484024,
-0.3987065851688385,
-0.20268142223358154,
0.3014683425426483,
0.23837703466415405,
0.2546660304069519,
0.22534894943237305,
0.1989232301712036,
0.16108334064483643,
-0.08420561254024506,
-0.2174849510192871,
-0.1043478325009346,
0.3165745139122009,
-0.1880364716053009,
-0.20327997207641602,
0.03623777627944946,
0.39146456122398376,
-0.11539261043071747,
-0.003976097330451012,
-0.18358543515205383,
-0.2537045478820801,
0.03378487750887871,
0.2933482825756073,
0.3778207302093506,
0.15657849609851837,
0.3494001626968384,
0.22285130620002747,
0.07838461548089981,
0.052824001759290695,
0.06658267974853516,
-0.21836361289024353,
0.011620711535215378,
-0.007457371801137924,
0.26868918538093567,
0.054791755974292755,
0.31528574228286743,
0.22882625460624695,
0.0047073885798454285,
0.35356858372688293,
0.02014906145632267,
0.18776389956474304,
0.08620765805244446,
-0.054088324308395386,
0.37548694014549255,
0.1643979847431183,
0.0640740618109703,
0.257620632648468,
-0.0981518030166626,
-0.006472930312156677,
0.1990027278661728,
0.050322748720645905,
0.059531666338443756,
0.20412030816078186,
-0.03931649774312973,
-0.21969059109687805,
0.1499493420124054,
-0.1420001983642578,
-0.29860153794288635,
-0.08091367781162262,
0.28663933277130127,
0.06498520821332932,
0.3049044609069824,
0.1068936288356781,
0.08402769267559052,
0.18872728943824768,
0.07501807063817978,
-0.10522583872079849,
0.34554174542427063,
-0.24998345971107483,
0.06717227399349213,
0.06534815579652786,
-0.16349682211875916,
-0.007958471775054932,
0.030257128179073334,
0.42087018489837646,
0.21845246851444244,
-0.3313063979148865,
-0.24081890285015106,
0.00011932104825973511,
0.14109757542610168,
-0.13281011581420898,
-0.04517970234155655,
0.14355789124965668,
0.25762656331062317,
-0.05428878962993622,
0.35633671283721924,
-0.3208124339580536,
-0.1714729517698288,
-0.029921453446149826,
-0.3169398903846741,
-0.08018864691257477,
0.1883387416601181,
0.3320528268814087,
-0.07701607793569565,
-0.28397175669670105,
0.39627915620803833,
-0.44711464643478394,
-0.037009693682193756,
0.30698683857917786,
0.1911347359418869,
-0.06523054838180542,
0.025776945054531097,
0.20116545259952545,
0.24420811235904694,
0.3272779583930969,
-0.11614933609962463,
0.007933218032121658,
-0.18385863304138184,
-0.3536452054977417,
-0.02685544639825821,
0.26708129048347473,
0.08280046284198761,
-0.017220567911863327,
0.09675798565149307,
0.058194175362586975,
0.23877236247062683,
-0.26510393619537354,
-0.06417001783847809,
-0.21754202246665955,
-0.17330387234687805,
-0.03044513612985611,
-0.3007296919822693,
0.23476409912109375,
-0.08197528123855591,
-0.20397353172302246,
0.2734784483909607,
-0.10946802794933319,
-0.15299423038959503,
-0.07400811463594437,
0.26898396015167236,
-0.18935897946357727,
-0.09118965268135071,
0.6050876975059509,
0.09377925843000412,
0.4246450364589691,
0.02474285289645195,
-0.0006225332617759705,
-0.2892950773239136,
-0.3784681260585785,
-0.0027903951704502106,
-0.15713003277778625,
0.07338697463274002,
0.07660774886608124,
-0.018459424376487732,
-0.2341429442167282,
-0.15069638192653656,
-0.07481962442398071,
-0.4685531556606293,
-0.019108686596155167,
0.23739470541477203,
0.3832800090312958,
-0.2829279899597168,
0.04052911698818207,
0.18850183486938477,
0.11223980039358139,
0.0771438330411911,
0.2184477150440216,
-0.04385887831449509,
0.007852187380194664,
-0.6884063482284546,
-0.13316071033477783,
0.5019075870513916,
0.1650177240371704,
-0.38176870346069336,
0.11197730153799057,
0.37060949206352234,
-0.15984180569648743,
0.04412340372800827,
-0.6044623851776123,
0.06528168171644211,
0.2412874698638916,
0.1339486837387085,
-0.2427636981010437,
0.30997833609580994,
-0.005366204306483269,
-0.11687208712100983,
-0.1214849054813385,
0.2529858946800232,
-0.06436198204755783,
-0.0657900795340538,
-0.1329450011253357,
-0.22833041846752167
] |
https://github.com/huggingface/datasets/pull/2311 | Add SLR52, SLR53 and SLR54 to OpenSLR | Hi @lhoestq , I am not sure about the error message:
```
#!/bin/bash -eo pipefail
./scripts/datasets_metadata_validator.py
WARNING:root:❌ Failed to validate 'datasets/openslr/README.md':
__init__() got an unexpected keyword argument 'SLR32'
INFO:root:❌ Failed on 1 files.
Exited with code exit status 1
CircleCI received exit code 1
```
Could you have a look please? Thanks. | Add large speech datasets for Sinhala, Bengali and Nepali. | 52 | text: Add SLR52, SLR53 and SLR54 to OpenSLR
Add large speech datasets for Sinhala, Bengali and Nepali.
Hi @lhoestq , I am not sure about the error message:
```
#!/bin/bash -eo pipefail
./scripts/datasets_metadata_validator.py
WARNING:root:❌ Failed to validate 'datasets/openslr/README.md':
__init__() got an unexpected keyword argument 'SLR32'
INFO:root:❌ Failed on 1 files.
Exited with code exit status 1
CircleCI received exit code 1
```
Could you have a look please? Thanks. | [
-0.3683086335659027,
-0.26788586378097534,
-0.0814996212720871,
0.36339741945266724,
0.28820890188217163,
0.1872924268245697,
-0.057512316852808,
0.06281417608261108,
-0.11578625440597534,
0.08082492649555206,
-0.03057260625064373,
0.1542700082063675,
-0.37322476506233215,
0.0969093069434166,
-0.0841057077050209,
-0.0979999303817749,
0.11114010959863663,
0.023200809955596924,
-0.38328471779823303,
-0.2500469982624054,
-0.2856122851371765,
0.19709211587905884,
-0.2333700954914093,
0.08397462964057922,
0.10706555843353271,
0.19475768506526947,
0.008607575669884682,
0.17083333432674408,
-0.4103713035583496,
-0.48305487632751465,
-0.03528604656457901,
0.02933843620121479,
0.0333312526345253,
0.14546509087085724,
-0.00011914292554138228,
-0.23827454447746277,
0.3510171175003052,
-0.22516511380672455,
-0.3106447756290436,
-0.18737344443798065,
-0.21552520990371704,
-0.2043324112892151,
-0.16574423015117645,
-0.10187040269374847,
0.24354323744773865,
-0.3463621437549591,
0.031543150544166565,
-0.4198843240737915,
0.2242678999900818,
0.7592140436172485,
0.1528024673461914,
-0.0964115560054779,
0.34078943729400635,
0.177842378616333,
0.07619994878768921,
-0.0023164749145507812,
-0.09073024988174438,
-0.02451680600643158,
0.1466817557811737,
0.019348712638020515,
0.339356392621994,
0.3247230350971222,
-0.2267225682735443,
-0.2549557089805603,
0.3552986681461334,
-0.3160710632801056,
0.3986417353153229,
-0.5764108896255493,
0.27181804180145264,
0.16072750091552734,
0.3634029030799866,
-0.15915322303771973,
-0.13772322237491608,
-0.003568783402442932,
-0.24485522508621216,
-0.39179983735084534,
0.07006020843982697,
0.5899981260299683,
-0.14958049356937408,
0.024018654599785805,
0.009067819453775883,
-0.42225056886672974,
-0.3278447687625885,
0.20732173323631287,
0.15842729806900024,
0.7917066812515259,
0.03808722272515297,
0.1658497303724289,
0.16233393549919128,
-0.14974501729011536,
0.24419105052947998,
-0.09615855664014816,
-0.2781907021999359,
0.447594553232193,
-0.4540107250213623,
0.1569967418909073,
0.010317254811525345,
0.21692803502082825,
0.17900538444519043,
0.033155038952827454,
-0.001589830033481121,
-0.033891886472702026,
0.017507098615169525,
0.18676680326461792,
0.02564116381108761,
-0.03760717064142227,
0.0726010650396347,
0.26961469650268555,
0.010749883949756622,
-0.2694844603538513,
0.21294113993644714,
-0.08480038493871689,
-0.05396033450961113,
-0.17601913213729858,
-0.03574254736304283,
0.18642696738243103,
0.26705652475357056,
-0.2082609385251999,
-0.10063248872756958,
0.5525279641151428,
-0.5957559943199158,
-0.2986016273498535,
0.08392072468996048,
0.38338232040405273,
-0.15599268674850464,
0.2806376814842224,
0.09600198268890381,
0.18898187577724457,
0.06779685616493225,
0.029354285448789597,
0.04711614549160004,
0.4894428551197052,
-0.4145871102809906,
0.045617491006851196,
-0.09379242360591888,
-0.28135910630226135,
0.18127208948135376,
0.10366509854793549,
-0.06315511465072632,
-0.1910712718963623,
0.14224591851234436,
-0.19785018265247345,
0.08383453637361526,
0.15475821495056152,
-0.13501454889774323,
0.04761362820863724,
0.1938178688287735,
-0.04308810457587242,
-0.13039401173591614,
0.15525391697883606,
-0.16288357973098755,
-0.3180408775806427,
-0.22505365312099457,
0.149931862950325,
-0.004943998530507088,
0.01580825261771679,
0.05179426074028015,
0.14854352176189423,
0.15514710545539856,
-0.25094807147979736,
0.040449321269989014,
-0.3236856460571289,
-0.2977965176105499,
-0.06011123210191727,
0.07830152660608292,
0.1666393280029297,
-0.39321035146713257,
0.11730554699897766,
0.009471701458096504,
-0.1666111946105957,
0.23298785090446472,
-0.10986524820327759,
-0.035366982221603394,
0.13020829856395721,
-0.2937574088573456,
0.05154642462730408,
0.6092199683189392,
-0.8755679130554199,
-0.12623842060565948,
0.22129398584365845,
0.09490703046321869,
-0.2802395522594452,
0.49889159202575684,
0.012574988417327404,
0.07182735949754715,
-0.27510473132133484,
0.12284977734088898,
0.026736347004771233,
-0.06518731266260147,
0.0701979249715805,
-0.3751656413078308,
0.13492049276828766,
0.012473423033952713,
0.1598907858133316,
0.1695302277803421,
0.05813971161842346,
0.0860140472650528,
0.09716804325580597,
0.4426041841506958,
-0.13843965530395508,
0.01993793435394764,
0.19825100898742676,
0.38014963269233704,
0.2670685648918152,
0.048643600195646286,
-0.12550319731235504,
-0.04142200946807861,
-0.31205761432647705,
-0.011447174474596977,
0.3291134238243103,
-0.26370012760162354,
-0.05804082378745079,
-0.34818124771118164,
0.030194120481610298,
-0.27280232310295105,
0.17489665746688843,
0.11266440153121948,
0.14163470268249512,
0.2728823125362396,
0.14032384753227234,
-0.09115147590637207,
0.4374926686286926,
-0.25447842478752136,
-0.00028305049636401236,
-0.3366648852825165,
0.16552117466926575,
-0.30923667550086975,
-0.10774952173233032,
0.13239184021949768,
0.12041549384593964,
0.19477277994155884,
-0.09339150041341782,
-0.14632222056388855,
0.34648340940475464,
-0.21602457761764526,
-0.1416252702474594,
0.010536860674619675,
0.5504704117774963,
-0.2549712657928467,
-0.3498856723308563,
0.3391503095626831,
0.03893694654107094,
0.10846760869026184,
0.04325815290212631,
0.12003012746572495,
0.00818365067243576,
0.12714193761348724,
0.17269203066825867,
0.10614064335823059,
-0.048847176134586334,
0.15562370419502258,
-0.08625867962837219,
-0.17718477547168732,
-0.06358880549669266,
0.22830826044082642,
-0.1573409140110016,
0.16533997654914856,
-0.08329765498638153,
-0.4213087558746338,
-0.37852588295936584,
0.28380417823791504,
-0.010200873017311096,
0.08560102432966232,
0.08921176195144653,
-0.038988418877124786,
-0.06751486659049988,
-0.13884302973747253,
0.18664830923080444,
0.5056421160697937,
-0.024023771286010742,
-0.21071243286132812,
0.38804882764816284,
0.226495161652565,
0.01607121154665947,
0.3409843146800995,
0.21862998604774475,
-0.07662550359964371,
0.5163652300834656,
0.10336356610059738,
-0.041630443185567856,
-0.2681914269924164,
-0.13674744963645935,
0.152082622051239,
0.41738131642341614,
-0.26699185371398926,
0.16404709219932556,
-0.11154859513044357,
-0.29115888476371765,
-0.37169021368026733,
-0.0889103040099144,
-0.23334839940071106,
-0.36568954586982727,
0.08740085363388062,
0.07057936489582062,
0.13093483448028564,
0.19363625347614288,
-0.19241981208324432,
0.2734573185443878,
-0.021460620686411858,
0.015059385448694229,
-0.161251962184906,
-0.03388531878590584,
-0.03054571896791458,
-0.0486086942255497,
0.30828797817230225,
0.2098420262336731,
0.4156236946582794,
-0.045458003878593445,
-0.085879385471344,
-0.23816612362861633,
-0.27318650484085083,
0.21391554176807404,
-0.12470497190952301,
-0.0009441245347261429,
0.318595290184021,
0.04926571249961853,
0.4489811062812805,
-0.21570096909999847,
0.17890499532222748,
0.27040648460388184,
-0.10893986374139786,
0.06524118781089783,
-0.048439864069223404,
0.07153081893920898,
-0.14055174589157104,
-0.37773650884628296,
-0.23309166729450226,
-0.48419737815856934,
-0.10036303102970123,
-0.029964515939354897,
0.19470950961112976,
0.11945294588804245,
-0.0818462073802948,
-0.025579243898391724,
-0.17058417201042175,
0.33969685435295105,
-0.12566818296909332,
0.07185214757919312,
0.0901077389717102,
0.000925316009670496,
-0.2583608031272888,
0.20617255568504333,
0.0218973308801651,
0.28653058409690857,
-0.20824970304965973,
-0.3946158289909363,
-0.3359881043434143,
-0.10229656100273132,
-0.23048371076583862,
-0.373630553483963,
0.05349934846162796,
0.2752196192741394,
-0.007538293022662401,
0.06852618604898453,
-0.15435701608657837,
0.09951689839363098,
-0.059424497187137604,
-0.20426928997039795,
0.3247147798538208,
0.025942347943782806,
0.6628097891807556,
-0.1422351747751236,
0.29580241441726685,
-0.04509815201163292,
-0.07141456007957458,
0.29414093494415283,
0.07316512614488602,
0.2722358703613281,
0.020389750599861145,
-0.29424819350242615,
0.27561140060424805,
0.2595471441745758,
-0.12527155876159668,
0.18580135703086853,
-0.16666433215141296,
0.245975062251091,
-0.06267286837100983,
0.29915180802345276,
-0.1483050286769867,
-0.050081975758075714,
0.05081608146429062,
-0.06501497328281403,
0.32933804392814636,
-0.16865262389183044,
-0.21049809455871582,
-0.027259891852736473,
0.02675110101699829,
0.10585451126098633,
0.23291350901126862,
0.2406301498413086,
-0.12222255766391754,
-0.6543708443641663,
-0.13847365975379944,
-0.30902791023254395,
0.2626873254776001,
-0.03688209876418114,
0.44501954317092896,
-0.23800188302993774,
0.006825491786003113,
0.08964557200670242,
-0.06848908215761185,
0.25720828771591187,
-0.3989658057689667,
-0.13305895030498505,
0.09004847705364227,
0.5849378705024719,
-0.17816580832004547,
-0.33101874589920044,
-0.1951378881931305,
0.47998130321502686,
0.5038477778434753,
0.1414017677307129,
-0.617513120174408,
-0.1456601470708847,
0.25787273049354553,
0.16486603021621704,
-0.20079690217971802,
-0.1651318073272705,
-0.3169882893562317,
-0.30111008882522583,
-0.32312119007110596,
0.050955887883901596,
0.2326466292142868,
0.34326493740081787,
0.062425144016742706,
0.3953493535518646,
0.48292842507362366,
-0.06340594589710236,
0.35636281967163086,
-0.11730766296386719,
0.13457819819450378,
0.1450452357530594,
-0.03668815642595291,
-0.5282953977584839,
0.16877540946006775,
0.1349850296974182,
0.5517395734786987,
0.10640178620815277,
-0.42604178190231323,
0.1117716059088707,
-0.297105610370636,
0.5783534646034241,
0.0027782469987869263,
0.013469052501022816,
0.18966126441955566,
-0.1028551235795021,
0.006515525281429291,
-0.14922857284545898,
0.1429639607667923,
0.3685195744037628,
0.020643670111894608,
-0.6402762532234192,
-0.5052809119224548,
0.3702387809753418,
0.11965270340442657,
-0.18384376168251038,
0.28914791345596313,
-0.013263121247291565,
-0.2512710392475128,
0.20118623971939087,
0.061223506927490234,
1.316017508506775,
0.08460189402103424,
-0.04451696202158928,
-0.16515979170799255,
-0.0830315500497818,
0.17124691605567932,
-0.3659488558769226,
-0.07567930966615677,
-0.44060125946998596,
0.19619250297546387,
-0.043336011469364166,
-0.07550590485334396,
-0.03876347094774246,
-0.05400785058736801,
-0.5021050572395325,
0.2563965320587158,
-0.2383350133895874,
-0.33791953325271606,
0.0002079550176858902,
0.3874607980251312,
-0.3251195549964905,
-0.013613345101475716,
-0.08841872960329056,
0.0714377760887146,
0.019745055586099625,
0.10090973973274231,
-0.20833072066307068,
-0.02329210191965103,
-0.03498949110507965,
-0.42299216985702515,
-0.46782076358795166,
0.04428891837596893,
-0.03355240076780319,
-0.11368890106678009,
0.11452801525592804,
-0.1766110509634018,
0.34589871764183044,
0.3879792392253876,
0.44943785667419434,
0.27575063705444336,
0.12014525383710861,
-0.004409335553646088,
-0.121970035135746,
-0.30161571502685547,
0.006060708314180374,
0.19932158291339874,
0.12458303570747375,
-0.24783870577812195,
-0.15132220089435577,
0.5743695497512817,
-0.06805826723575592,
-0.14265556633472443,
-0.305989533662796,
-0.002300247550010681,
0.2783551812171936,
-0.25807276368141174,
-0.4803832471370697,
0.18378809094429016,
-0.22349268198013306,
0.10833115875720978,
0.07178711891174316,
0.1194286197423935,
-0.510429322719574,
0.21007266640663147,
-0.038290295749902725,
-0.12898284196853638,
0.13335880637168884,
-0.10335882753133774,
-0.09903354197740555,
-0.040544770658016205,
0.4520435631275177,
0.37848255038261414,
0.08310109376907349,
-0.2840737998485565,
-0.22079381346702576,
-0.2495955526828766,
-0.19138437509536743,
-0.1583944857120514,
0.306524395942688,
-0.13793477416038513,
0.16222302615642548,
0.44693225622177124,
-0.13672681152820587,
0.3804720640182495,
-0.009794138371944427,
-0.4435424506664276,
-0.1988334059715271,
-0.07775311172008514,
-0.144468292593956,
0.01869373396039009,
-0.3659532070159912,
0.0053812796249985695,
-0.03745674341917038,
0.15890417993068695,
-0.30382949113845825,
-0.002291513606905937,
-0.4386632740497589,
0.14866670966148376,
0.3696955442428589,
0.13182032108306885,
-0.12835606932640076,
0.08394528925418854,
0.09361699223518372,
0.07043839991092682,
-0.38023459911346436,
-0.059914480894804,
-0.0035969167947769165,
0.19175966084003448,
0.416364461183548,
0.0013896746095269918,
-0.1465435028076172,
-0.19117972254753113,
-0.05622062459588051,
0.2051829695701599,
-0.13013577461242676,
0.3348071277141571,
-0.09591323137283325,
0.23837102949619293,
-0.027105528861284256,
0.1421206295490265,
-0.04960760101675987,
-0.021003440022468567,
-0.12226712703704834,
0.20075416564941406,
0.23521898686885834,
0.20058616995811462,
0.1309581995010376,
-0.18423861265182495,
-0.38001540303230286,
0.14761961996555328,
0.20384934544563293,
-0.030102640390396118,
0.30899518728256226,
-0.16053323447704315,
0.0948287695646286,
0.06220804154872894,
0.32481783628463745,
0.4154984951019287,
-0.3681733310222626,
0.2157004028558731,
0.07162564992904663,
0.16179807484149933,
-0.11126859486103058,
-0.12058262526988983,
-0.1406927853822708,
-0.19755606353282928,
0.007525235414505005,
0.14302407205104828,
0.1608402132987976,
-0.07763686776161194,
0.24332445859909058,
0.08727683871984482,
0.3517754077911377,
0.12322536110877991,
0.11849534511566162,
0.13663724064826965,
-0.2362423688173294,
0.18179330229759216,
0.3550679385662079,
-0.23051059246063232,
-0.11547159403562546,
0.32043468952178955,
-0.19671186804771423,
0.42624565958976746,
0.4919791519641876,
0.03983253240585327,
0.04375758394598961,
-0.1316150277853012,
0.17246367037296295,
0.15893104672431946,
0.0978720411658287,
0.022397629916667938,
-0.15376681089401245,
0.25780901312828064,
-0.0004309415817260742,
0.03940103203058243,
-0.12313331663608551,
0.2792496979236603,
0.028827428817749023,
-0.09151653945446014,
-0.25178223848342896,
-0.19406606256961823,
0.016605205833911896,
0.049417030066251755,
0.20975182950496674,
-0.0154995396733284,
-0.11740168929100037,
0.0809474065899849,
-0.0663558840751648,
0.2558346688747406,
-0.2947712242603302,
0.3134079873561859,
-0.046902529895305634,
-0.31930965185165405,
0.2431972771883011,
0.2749149799346924,
-0.0814940333366394,
0.27145329117774963,
0.12702277302742004,
0.6662470698356628,
0.5080718994140625,
0.05098238214850426,
0.22053848206996918,
-0.3710300922393799,
0.1812346875667572,
0.19475384056568146,
0.3762754499912262,
0.3917691707611084,
0.33945927023887634,
0.2015742063522339,
0.059124238789081573,
-0.12655021250247955,
0.3539268374443054,
0.1242140382528305,
-0.10369153320789337,
-0.1081591546535492,
0.019986622035503387,
0.02778247930109501,
-0.17192132771015167,
-0.6236492395401001,
0.24581271409988403,
-0.5906230807304382,
-0.08970633149147034,
0.5136677622795105,
0.20221079885959625,
0.014162976294755936,
-0.32347381114959717,
0.03571781888604164,
-0.03360576927661896,
0.4200053811073303,
0.7445418834686279,
0.30447643995285034,
-0.16755199432373047,
-0.41517919301986694,
-0.5734484791755676,
0.1947915256023407,
-0.20912683010101318,
-0.18596267700195312,
-0.3385470509529114,
-0.011522606015205383,
0.352994829416275,
0.1676371544599533,
-0.09110510349273682,
0.06310497969388962,
-0.09569190442562103,
0.21921347081661224,
-0.23456935584545135,
-0.06087243929505348,
0.030717533081769943,
0.38449981808662415,
-0.11996828764677048,
0.0032938197255134583,
-0.032534729689359665,
-0.1023675948381424,
0.11214330047369003,
-0.17749769985675812,
0.03340872377157211,
-0.14722153544425964,
0.06314308941364288,
0.28321897983551025,
0.01843801699578762,
0.9511144161224365,
-0.06900937110185623,
-0.09832009673118591,
0.046873658895492554,
-0.04927190765738487,
-0.2666160762310028,
-0.1697063446044922,
0.08039595186710358,
0.32992616295814514,
-0.18131369352340698,
-0.056942250579595566,
-0.35654744505882263,
0.3758432865142822,
-0.2940325140953064,
-0.29311057925224304,
-0.3206617832183838,
0.18071970343589783,
0.11165555566549301,
-0.0768813043832779,
-0.015399551019072533,
-0.1466538906097412,
0.22623710334300995,
0.00039173103868961334,
-0.4196198582649231,
-0.23989689350128174,
0.628063976764679,
-0.14347495138645172,
-0.17599238455295563,
-0.2370046228170395,
0.3624645173549652,
-0.08939377218484879,
0.07656900584697723,
-0.8749892711639404,
0.03511079400777817,
0.267202228307724,
0.24831873178482056,
-0.15688274800777435,
0.1391642987728119,
0.029057571664452553,
0.04524018242955208,
0.09282785654067993,
-0.48565974831581116,
0.09377410262823105,
-0.030542951077222824,
-0.03574087470769882,
-0.14477857947349548
] |
https://github.com/huggingface/datasets/pull/2311 | Add SLR52, SLR53 and SLR54 to OpenSLR | Hi ! The error is unrelated to your PR and has been fixed on master
Next time feel free to merge master into your branch to fix the CI error ;) | Add large speech datasets for Sinhala, Bengali and Nepali. | 31 | text: Add SLR52, SLR53 and SLR54 to OpenSLR
Add large speech datasets for Sinhala, Bengali and Nepali.
Hi ! The error is unrelated to your PR and has been fixed on master
Next time feel free to merge master into your branch to fix the CI error ;) | [
-0.2357921600341797,
-0.07019338011741638,
-0.11772936582565308,
0.10311013460159302,
0.28723055124282837,
-0.12278217822313309,
-0.07424919307231903,
0.21873675286769867,
0.0035316701978445053,
0.4314191937446594,
-0.23243333399295807,
0.10975810140371323,
0.02452659048140049,
0.18855836987495422,
-0.2589552700519562,
-0.31286537647247314,
0.03261692076921463,
-0.047748416662216187,
-0.31048864126205444,
-0.12178031355142593,
-0.17786598205566406,
0.15040628612041473,
-0.05795462429523468,
-0.11940400302410126,
0.008957956917583942,
-0.06026504933834076,
-0.15784583985805511,
0.017003662884235382,
-0.28592491149902344,
-0.23399658501148224,
-0.20335304737091064,
-0.018466297537088394,
0.24873557686805725,
0.07947096973657608,
-0.00010074270539917052,
-0.015478696674108505,
0.27901071310043335,
-0.22256365418434143,
-0.22117425501346588,
-0.06284227967262268,
-0.05092306435108185,
-0.10450844466686249,
-0.22698333859443665,
-0.03746974095702171,
-0.13636814057826996,
-0.2436625212430954,
0.03309892117977142,
-0.3068161904811859,
0.001620963215827942,
0.6053544878959656,
0.3450702428817749,
-0.04073093831539154,
0.1998218148946762,
-0.3340716063976288,
0.2572837769985199,
0.04233391582965851,
-0.1396573781967163,
-0.14319223165512085,
0.2592676877975464,
0.20650938153266907,
-0.04475361853837967,
0.2609383761882782,
0.20104530453681946,
-0.28001898527145386,
-0.12112119048833847,
-0.23468248546123505,
0.3934745490550995,
-0.412693053483963,
0.23241761326789856,
0.07513955235481262,
0.3454912602901459,
0.06300688534975052,
0.04599837213754654,
0.22211232781410217,
0.06185559555888176,
-0.2379004955291748,
0.1648048460483551,
0.36040788888931274,
-0.0706019476056099,
0.09913812577724457,
0.006174657493829727,
-0.36240124702453613,
-0.10057055205106735,
0.25201523303985596,
0.2726699411869049,
0.33135852217674255,
0.03337475657463074,
-0.08521030098199844,
0.10795837640762329,
-0.29643893241882324,
0.2074916958808899,
0.14793343842029572,
-0.25623443722724915,
0.011689696460962296,
-0.35464587807655334,
0.18036533892154694,
0.1313163936138153,
0.13091059029102325,
-0.04969608783721924,
0.18059664964675903,
0.10706748068332672,
0.0990850031375885,
-0.011388475075364113,
0.06913448870182037,
0.007383948192000389,
0.0558442659676075,
-0.1795901358127594,
0.4124481976032257,
0.007412921637296677,
-0.04178733006119728,
0.17425192892551422,
0.0675470381975174,
0.02627592906355858,
-0.1410941183567047,
-0.5260356664657593,
0.008703156374394894,
0.08630652725696564,
-0.12607988715171814,
0.038531430065631866,
0.24352608621120453,
-0.4121911823749542,
-0.049662329256534576,
0.0175459086894989,
0.28081014752388,
0.09791430085897446,
0.29181182384490967,
0.10992476344108582,
0.11404241621494293,
0.09097781032323837,
-0.06780634820461273,
-0.18113604187965393,
0.3771766722202301,
-0.37295225262641907,
-0.030261291190981865,
0.07752750813961029,
-0.13586734235286713,
0.003513013944029808,
0.15548504889011383,
0.0721474289894104,
-0.22179511189460754,
-0.0003481060266494751,
-0.030982431024312973,
0.028950609266757965,
0.11112595349550247,
0.06042453274130821,
0.021949617192149162,
0.00698133185505867,
-0.11497242748737335,
-0.022675350308418274,
0.16751283407211304,
-0.1585920751094818,
-0.1415897160768509,
-0.24984095990657806,
0.3715968132019043,
0.01294095441699028,
-0.05210208147764206,
0.30260515213012695,
0.355395644903183,
-0.009201057255268097,
-0.1041862964630127,
0.031260743737220764,
-0.22728241980075836,
-0.12376049160957336,
0.06296609342098236,
-0.06478939205408096,
0.024017557501792908,
-0.14721235632896423,
0.05682156980037689,
-0.03160347789525986,
-0.31081342697143555,
0.3728213608264923,
0.23404544591903687,
0.016647394746541977,
-0.11396870762109756,
-0.1796443909406662,
0.030477799475193024,
0.42461997270584106,
-0.4235576391220093,
-0.29226481914520264,
0.062341805547475815,
-0.04176583141088486,
-0.4846557080745697,
0.22385844588279724,
0.027443842962384224,
0.14603164792060852,
-0.05723815783858299,
0.06966960430145264,
0.19491314888000488,
-0.10633806884288788,
0.12656886875629425,
-0.40943917632102966,
0.09015635401010513,
-0.062505342066288,
0.3885793685913086,
0.15061628818511963,
0.15371456742286682,
0.30407190322875977,
0.28044047951698303,
0.2591467797756195,
-0.3550293743610382,
0.3141186535358429,
0.261674165725708,
0.3002115786075592,
0.043056897819042206,
-0.034425221383571625,
-0.01327173039317131,
0.15584790706634521,
-0.22913312911987305,
-0.2557385265827179,
0.6628668308258057,
0.2072676718235016,
0.083306223154068,
-0.21178218722343445,
-0.107795350253582,
0.007864683866500854,
0.2625848352909088,
0.3200135827064514,
0.3167191743850708,
-0.13307000696659088,
0.024533044546842575,
0.07506528496742249,
0.3085387349128723,
-0.29620471596717834,
-0.1655118465423584,
-0.015503693372011185,
0.17334865033626556,
-0.41885310411453247,
-0.09664710611104965,
0.35681578516960144,
0.1232171356678009,
0.1516106277704239,
-0.06288169324398041,
-0.15039706230163574,
0.07577800750732422,
-0.31793034076690674,
0.14344388246536255,
0.22376525402069092,
0.05936526507139206,
-0.12675227224826813,
-0.42145925760269165,
0.0264987014234066,
0.060799792408943176,
-0.07069094479084015,
0.04781212657690048,
0.06273046880960464,
0.102688729763031,
0.09404149651527405,
-0.12675872445106506,
0.06094912439584732,
0.1702592372894287,
0.4217838943004608,
-0.14972838759422302,
-0.17396602034568787,
-0.3539251685142517,
0.17204329371452332,
0.2759062647819519,
0.03166103735566139,
0.06300143152475357,
-0.44017136096954346,
-0.2340545952320099,
0.3173666298389435,
-0.074335478246212,
0.17109432816505432,
0.14913657307624817,
0.1044025719165802,
-0.17838507890701294,
-0.046981826424598694,
0.0813983678817749,
0.06791475415229797,
0.15916256606578827,
0.012049999088048935,
0.10535259544849396,
0.2399905025959015,
-0.2166193127632141,
0.22824525833129883,
0.11324712634086609,
0.09214993566274643,
0.32623130083084106,
0.35614413022994995,
-0.12724417448043823,
-0.4071144461631775,
0.06974174082279205,
0.15953560173511505,
0.4381807744503021,
0.12080897390842438,
-0.24836573004722595,
-0.1436433047056198,
-0.23148185014724731,
-0.16081151366233826,
-0.10659550130367279,
-0.05237192288041115,
-0.1554575115442276,
0.22977015376091003,
-0.22559866309165955,
-0.33639833331108093,
0.2568398416042328,
-0.07628031075000763,
0.31539520621299744,
0.012610988691449165,
0.04145471006631851,
-0.14075401425361633,
-0.08524230867624283,
-0.10725878924131393,
0.2469331920146942,
0.29449477791786194,
-0.0702478364109993,
0.2741689383983612,
0.030515050515532494,
0.04740999639034271,
-0.3904041349887848,
-0.330963134765625,
0.19404399394989014,
-0.04536939412355423,
-0.3386801779270172,
0.09386618435382843,
-0.14878664910793304,
0.0009231455624103546,
-0.3271391689777374,
0.15101340413093567,
0.17267371714115143,
-0.25038519501686096,
0.09004144370555878,
-0.1282075196504593,
0.06545921415090561,
-0.20018422603607178,
-0.5695850849151611,
-0.21688729524612427,
-0.5554286241531372,
-0.05937431752681732,
0.031167443841695786,
0.11017823219299316,
-0.09281153976917267,
0.03353983908891678,
-0.11558524519205093,
-0.1194736510515213,
-0.03832339495420456,
-0.3842497766017914,
0.06124188378453255,
0.19731812179088593,
-0.22755706310272217,
-0.4413936138153076,
0.19270098209381104,
0.055111952126026154,
0.14995212852954865,
-0.12080234289169312,
-0.5250884294509888,
-0.13936075568199158,
-0.01393846608698368,
0.08743998408317566,
0.015444615855813026,
-0.05703353136777878,
0.17843392491340637,
0.07104126363992691,
-0.31174808740615845,
-0.08332961797714233,
-0.25620561838150024,
0.14341333508491516,
0.2775977849960327,
0.2765965759754181,
-0.21161499619483948,
0.22734728455543518,
-0.16839304566383362,
0.2082020789384842,
0.1533750295639038,
0.1277315467596054,
0.48326197266578674,
0.3258800208568573,
0.2608075439929962,
-0.125078022480011,
-0.08194875717163086,
0.48759016394615173,
0.07534244656562805,
0.021969109773635864,
0.3998519778251648,
-0.15942752361297607,
-0.4386794865131378,
-0.2355746626853943,
-0.09171261638402939,
0.0008241087198257446,
-0.15914371609687805,
0.1523648053407669,
-0.2588037848472595,
0.41062700748443604,
-0.07848948985338211,
-0.3656579554080963,
-0.2604759633541107,
-0.09629109501838684,
0.1648019254207611,
-0.16824977099895477,
0.011182419955730438,
-0.08850794285535812,
-0.7011499404907227,
-0.01023552194237709,
-0.20685437321662903,
0.09085513651371002,
-0.003034493885934353,
0.5157278776168823,
-0.3663046658039093,
-0.08888831734657288,
0.07938909530639648,
-0.07274137437343597,
-0.16140218079090118,
-0.26615065336227417,
-0.3709135055541992,
0.14575333893299103,
0.12373067438602448,
-0.10118475556373596,
-0.14338189363479614,
-0.3363267183303833,
0.22399699687957764,
0.41848933696746826,
0.03508053347468376,
-0.3471353054046631,
0.022828642278909683,
0.26685982942581177,
0.08523210883140564,
-0.116611048579216,
-0.034279629588127136,
-0.09325078129768372,
-0.3515002727508545,
-0.24937394261360168,
0.11475501954555511,
0.13605418801307678,
0.36646008491516113,
-0.011819775216281414,
0.19490426778793335,
0.24164773523807526,
0.04058387130498886,
0.11666686832904816,
-0.13467064499855042,
0.04159420356154442,
0.399494469165802,
-0.05247221887111664,
-0.3914162516593933,
0.30108770728111267,
-0.06065819412469864,
0.6036100387573242,
0.032341260462999344,
-0.2754090428352356,
0.454057514667511,
-0.3908732235431671,
0.18080362677574158,
0.10747368633747101,
0.23265743255615234,
0.23177167773246765,
0.175545334815979,
0.10935564339160919,
0.10593366622924805,
0.14591023325920105,
0.13668541610240936,
-0.0251353457570076,
-0.488273024559021,
-0.07792569696903229,
0.14881747961044312,
-0.044162750244140625,
-0.0718746930360794,
-0.12122796475887299,
-0.0056030601263046265,
-0.1029159352183342,
0.2521700859069824,
0.1253279596567154,
1.0190346240997314,
-0.07125161588191986,
-0.12208369374275208,
-0.1188659593462944,
-0.04119226336479187,
0.31496405601501465,
-0.23549996316432953,
0.0444161593914032,
-0.22694134712219238,
-0.05914886295795441,
0.1291223019361496,
0.025644492357969284,
-0.24863427877426147,
-0.14801064133644104,
-0.49787768721580505,
-0.13413724303245544,
0.07337607443332672,
-0.057088155299425125,
0.217289000749588,
0.33227279782295227,
-0.13378575444221497,
-0.17833594977855682,
-0.20346885919570923,
0.2761111855506897,
-0.029798343777656555,
0.0750499814748764,
-0.02079223096370697,
-0.1587136834859848,
-0.2062646597623825,
-0.10607068240642548,
-0.3512181043624878,
0.1894340217113495,
-0.07248716801404953,
-0.03363998979330063,
0.03751945495605469,
-0.25757384300231934,
0.334758996963501,
0.33727937936782837,
0.6270108222961426,
0.17335094511508942,
-0.09270327538251877,
0.09883676469326019,
0.0116061270236969,
-0.34185105562210083,
-0.05056632682681084,
0.11248655617237091,
0.11028699576854706,
-0.41582202911376953,
-0.2462565302848816,
0.5236461758613586,
-0.0029491293244063854,
-0.07271619141101837,
-0.6027519702911377,
-0.006836220622062683,
0.014203447848558426,
-0.07669823616743088,
-0.09189963340759277,
0.07009541988372803,
-0.18166472017765045,
-0.10587811470031738,
0.2400681972503662,
-0.02906160056591034,
-0.22097501158714294,
-0.047427862882614136,
0.31559163331985474,
-0.058253176510334015,
-0.051566850394010544,
0.097459577023983,
0.18098172545433044,
-0.1179126501083374,
0.40090247988700867,
0.39864906668663025,
-0.05851147323846817,
-0.3554003834724426,
-0.2761423587799072,
-0.16526299715042114,
-0.1948516070842743,
-0.06485308706760406,
0.12631823122501373,
-0.3526906371116638,
0.03364408388733864,
0.567070484161377,
-0.13281647861003876,
0.2673119604587555,
-0.11587649583816528,
-0.06608065962791443,
-0.6046891808509827,
-0.09326249361038208,
-0.08261199295520782,
0.10861416161060333,
-0.21909311413764954,
0.16594702005386353,
0.012206243351101875,
0.2949945628643036,
-0.4603087902069092,
-0.08175569027662277,
-0.5702863931655884,
0.21786481142044067,
0.2967674434185028,
-0.20264601707458496,
-0.10490816831588745,
0.11559861898422241,
0.23766475915908813,
-0.06434085965156555,
-0.24647745490074158,
-0.24378874897956848,
0.025637667626142502,
0.05819271504878998,
0.24513351917266846,
0.038146987557411194,
-0.10211346298456192,
-0.05345236510038376,
0.10252521932125092,
0.17128683626651764,
-0.0874326229095459,
0.21873638033866882,
-0.17393814027309418,
0.035344842821359634,
-0.37762802839279175,
-0.2895747721195221,
0.35265862941741943,
0.024170272052288055,
0.13539451360702515,
0.06031128391623497,
0.04348853603005409,
0.2458622008562088,
0.2650452256202698,
-0.21810868382453918,
-0.06351146847009659,
0.13854989409446716,
0.244232177734375,
0.19727325439453125,
0.13188999891281128,
-0.15338139235973358,
0.03757784143090248,
0.14302130043506622,
0.09444376826286316,
-0.18300777673721313,
-0.24316619336605072,
0.12326419353485107,
0.10347466915845871,
0.3826940059661865,
-0.33014196157455444,
-0.07477923482656479,
0.15861348807811737,
-0.2174026072025299,
0.15190981328487396,
0.11148069053888321,
0.2928865849971771,
-0.1973816305398941,
0.08131376653909683,
0.15737664699554443,
-0.08711354434490204,
0.1641412377357483,
-0.005038030445575714,
0.27110281586647034,
-0.05206426978111267,
0.0010031946003437042,
0.3137431740760803,
-0.32876282930374146,
-0.1683017611503601,
0.2299235463142395,
-0.1508653163909912,
0.5010387301445007,
0.3451453149318695,
0.13911689817905426,
0.3343917727470398,
-0.148744598031044,
0.42430251836776733,
0.06561098247766495,
0.12667296826839447,
0.02866632491350174,
-0.06501489877700806,
0.39406055212020874,
0.19460085034370422,
-0.0631575733423233,
-0.23723426461219788,
0.34243044257164,
-0.3045409619808197,
-0.0710744708776474,
-0.22278830409049988,
-0.27869635820388794,
-0.08430841565132141,
0.19111546874046326,
0.09609830379486084,
0.30165255069732666,
0.2668894827365875,
0.20620083808898926,
-0.07296596467494965,
0.09229564666748047,
-0.12103920429944992,
0.13920503854751587,
-0.19047731161117554,
-0.25556063652038574,
0.39183273911476135,
0.08858442306518555,
-0.3710598349571228,
0.31024450063705444,
0.1140982136130333,
0.3651915192604065,
0.2452106475830078,
0.032932400703430176,
0.2055598348379135,
0.1310104876756668,
0.006424492225050926,
-0.053696054965257645,
0.3624318242073059,
0.5755525827407837,
0.20446927845478058,
0.2497340887784958,
0.18360121548175812,
-0.297374963760376,
0.24806150794029236,
-0.08000509440898895,
-0.197528675198555,
0.06792709231376648,
-0.015815317630767822,
0.0488651841878891,
-0.16806232929229736,
-0.444635272026062,
0.0005193948745727539,
-0.2551024854183197,
-0.06137925386428833,
0.11496111750602722,
-0.14081966876983643,
0.0481315478682518,
-0.26818788051605225,
0.15463070571422577,
-0.13433799147605896,
0.5559412837028503,
0.34921184182167053,
0.10960653424263,
-0.12631182372570038,
-0.5069844126701355,
-0.22646541893482208,
0.445484459400177,
-0.14282648265361786,
0.08096988499164581,
-0.42348867654800415,
0.1705700159072876,
0.5720074772834778,
0.028365304693579674,
0.05880273878574371,
0.045944008976221085,
-0.22495368123054504,
0.17731088399887085,
-0.43507638573646545,
0.14305973052978516,
0.17900359630584717,
0.15248286724090576,
0.058382973074913025,
0.029944881796836853,
0.08925589919090271,
0.10310938954353333,
0.3290742337703705,
-0.2379113882780075,
-0.11908763647079468,
-0.16760709881782532,
-0.040566250681877136,
0.20174050331115723,
0.28140801191329956,
0.4847628176212311,
-0.15687891840934753,
-0.12542086839675903,
-0.036232996731996536,
-0.29103225469589233,
-0.11757701635360718,
-0.08658429235219955,
0.21031013131141663,
0.509624719619751,
-0.08436238020658493,
0.20748668909072876,
-0.17890989780426025,
0.24411366879940033,
-0.0978437066078186,
0.1362343579530716,
-0.16788914799690247,
0.18065643310546875,
-0.0535556934773922,
-0.0696449875831604,
0.20280715823173523,
-0.08735481649637222,
0.18945875763893127,
-0.2253124713897705,
-0.3582291603088379,
-0.4099101424217224,
0.3118271231651306,
-0.0543290376663208,
-0.26839858293533325,
-0.18373402953147888,
0.10370343178510666,
0.19792425632476807,
0.00774325430393219,
-0.552620530128479,
0.15515226125717163,
0.08673828095197678,
0.2599494457244873,
-0.16914211213588715,
0.09178140759468079,
-0.20445340871810913,
0.11912597715854645,
0.006273824721574783,
-0.19979605078697205,
0.09009744971990585,
-0.09003151953220367,
-0.2283666431903839,
-0.11262062937021255
] |
https://github.com/huggingface/datasets/pull/2310 | Update README.md | Hi @cryoff, thanks for completing the dataset card.
Now there is an automatic validation tool to assure that all dataset cards contain all the relevant information. This is the cause of the non-passing test on your Pull Request:
```
Found fields that are not non-empty list of strings: {'annotations_creators': [], 'language_creators': []}
``` | Provides description of data instances and dataset features | 53 | text: Update README.md
Provides description of data instances and dataset features
Hi @cryoff, thanks for completing the dataset card.
Now there is an automatic validation tool to assure that all dataset cards contain all the relevant information. This is the cause of the non-passing test on your Pull Request:
```
Found fields that are not non-empty list of strings: {'annotations_creators': [], 'language_creators': []}
``` | [
-0.16444267332553864,
0.1211719661951065,
-0.1709369570016861,
0.11443063616752625,
0.06773252785205841,
0.029715172946453094,
0.03320073336362839,
0.27656567096710205,
0.05442908778786659,
0.1682826280593872,
0.37619155645370483,
0.41366130113601685,
-0.03193114325404167,
0.2399403303861618,
0.11187376081943512,
0.05170327425003052,
-0.06535329669713974,
0.1860794574022293,
0.040688224136829376,
-0.1398884505033493,
-0.0031278803944587708,
0.09819617867469788,
-0.3161875307559967,
-0.10996200144290924,
-0.008939668536186218,
-0.03746125102043152,
-0.07598663866519928,
0.17714926600456238,
-0.25838083028793335,
-0.3115885257720947,
0.01618102751672268,
0.2634741961956024,
-0.4905053973197937,
0.4944767653942108,
-0.00010921854118350893,
-0.013511847704648972,
0.4642176628112793,
-0.21506063640117645,
-0.22487495839595795,
-0.4209773540496826,
-0.4137243330478668,
-0.08033845573663712,
-0.11500098556280136,
-0.09779290109872818,
-0.03449960798025131,
-0.21561619639396667,
-0.2512664198875427,
-0.2958381175994873,
0.27454841136932373,
0.36662420630455017,
0.2150622010231018,
0.2891619801521301,
0.2554706335067749,
-0.22962374985218048,
0.31890401244163513,
0.3987148404121399,
-0.11840299516916275,
0.020894501358270645,
0.2920050024986267,
0.016262322664260864,
0.06475455313920975,
0.5810006856918335,
-0.17671681940555573,
-0.013497743755578995,
0.3887234926223755,
-0.3951803743839264,
0.04267185181379318,
-0.3600594103336334,
0.4491458833217621,
0.04181652516126633,
0.7417392730712891,
-0.07034296542406082,
-0.3765784800052643,
0.009736992418766022,
-0.06981052458286285,
0.1503642350435257,
0.10304151475429535,
0.19684629142284393,
-0.17768548429012299,
0.04332289099693298,
-0.3477502763271332,
-0.20025822520256042,
-0.09558273106813431,
-0.14430727064609528,
-0.026278328150510788,
0.33721601963043213,
-0.043660469353199005,
-0.05826273560523987,
-0.0580027811229229,
-0.2544335126876831,
0.027858015149831772,
-0.07877406477928162,
-0.2030733823776245,
0.2092851996421814,
-0.13448765873908997,
-0.371539443731308,
0.09534234553575516,
-0.27254989743232727,
0.3585264980792999,
0.18445083498954773,
0.017411937937140465,
0.17014554142951965,
-0.21730373799800873,
0.2655651569366455,
0.23090149462223053,
0.13745960593223572,
0.6483184099197388,
0.13011959195137024,
-0.07792122662067413,
-0.13702595233917236,
0.011020656675100327,
-0.0005635879933834076,
-0.031105782836675644,
0.10250600427389145,
-0.11273245513439178,
0.034019410610198975,
0.18634037673473358,
-0.36833587288856506,
-0.30037233233451843,
0.26307621598243713,
-0.3843095600605011,
-0.34553107619285583,
0.026810823008418083,
0.4676401913166046,
-0.10559748113155365,
0.11597158014774323,
-0.05155753344297409,
0.13972637057304382,
-0.01868431642651558,
-0.1377871334552765,
-0.23498764634132385,
0.11306814849376678,
-0.2173832654953003,
-0.16397660970687866,
0.2521553635597229,
-0.05112212523818016,
0.6016778349876404,
-0.21626675128936768,
0.03587688133120537,
-0.10731250047683716,
0.41366180777549744,
0.17151913046836853,
0.4005403518676758,
0.6236110925674438,
0.09959866106510162,
0.06792539358139038,
0.17465566098690033,
-0.08034153282642365,
0.08454478532075882,
0.44868865609169006,
-0.3222227692604065,
-0.23925524950027466,
0.08893224596977234,
0.3265121579170227,
-0.039620473980903625,
-0.00164693221449852,
-0.010943695902824402,
0.0965966135263443,
-0.049656517803668976,
0.1828865259885788,
0.22292163968086243,
0.1889808028936386,
0.18761654198169708,
0.11679507791996002,
-0.01676667109131813,
0.30932217836380005,
-0.21487079560756683,
-0.0519527830183506,
-0.19919757544994354,
0.03214377537369728,
-0.04076267033815384,
-0.03068995103240013,
-0.1914440244436264,
-0.1165301576256752,
0.0014278218150138855,
0.28805702924728394,
0.5634464025497437,
-0.3378269374370575,
0.03152695670723915,
0.22617726027965546,
-0.08518847823143005,
-0.1384742110967636,
0.178329735994339,
-0.23885664343833923,
0.1823975145816803,
-0.026043584570288658,
0.1124209463596344,
-0.24219714105129242,
-0.07378426194190979,
0.06510667502880096,
-0.256020724773407,
-0.07345310598611832,
0.04417852312326431,
0.03980107977986336,
0.141531303524971,
-0.1377086043357849,
0.1466912478208542,
0.29006296396255493,
0.26379552483558655,
-0.16733473539352417,
-0.015814753249287605,
0.13394981622695923,
0.45645153522491455,
-0.14013144373893738,
0.03314228355884552,
0.1109633669257164,
-0.3563297688961029,
0.15098735690116882,
0.024764712899923325,
0.3914949297904968,
0.15849241614341736,
-0.20293615758419037,
-0.5155165791511536,
0.22004066407680511,
0.008310489356517792,
-0.3445039689540863,
0.17386411130428314,
0.13025060296058655,
-0.2614605724811554,
-0.11625716090202332,
-0.2970295548439026,
-0.2088257372379303,
-0.5251296758651733,
0.03693323954939842,
-0.09255850315093994,
-0.04420392960309982,
-0.1745464950799942,
0.013155798427760601,
0.054333724081516266,
0.0069517940282821655,
0.2415160834789276,
-0.19543227553367615,
-0.053907886147499084,
0.14007240533828735,
0.29364341497421265,
-0.06481814384460449,
0.00188378244638443,
0.27020949125289917,
0.2942045331001282,
-0.32761475443840027,
0.08812687546014786,
0.09963986277580261,
0.09281589090824127,
-0.25537896156311035,
-0.44172021746635437,
0.3388419449329376,
-0.1520870178937912,
-0.0062162429094314575,
-0.02262166701257229,
0.0666794553399086,
0.2859821915626526,
-0.056875091046094894,
-0.09968986362218857,
-0.36867761611938477,
-0.027601461857557297,
0.152920201420784,
0.1848820298910141,
0.00544135645031929,
-0.16598448157310486,
0.10968714207410812,
0.32279664278030396,
0.1071670800447464,
0.010305792093276978,
0.040355440229177475,
-0.057963721454143524,
-0.23794209957122803,
0.15772266685962677,
0.11892923712730408,
0.23741409182548523,
0.1774814873933792,
0.1486392468214035,
0.10818345099687576,
0.2699689567089081,
-0.26283079385757446,
0.27425968647003174,
-0.06737597286701202,
-0.10011603683233261,
0.16912388801574707,
0.04849047586321831,
0.007210278883576393,
-0.4054429531097412,
0.12569594383239746,
0.2420673966407776,
0.41626226902008057,
-0.4142967164516449,
-0.1718311458826065,
0.020154697820544243,
-0.11021773517131805,
0.015160270035266876,
-0.1675349622964859,
-0.3570464551448822,
-0.25612491369247437,
0.1921960711479187,
0.13275334239006042,
-0.1530463546514511,
0.12442190200090408,
0.0180501826107502,
0.25127723813056946,
0.010651851072907448,
0.020156031474471092,
-0.2623891234397888,
-0.14340496063232422,
-0.07071401178836823,
0.181331068277359,
0.41538119316101074,
0.14581485092639923,
0.3685474395751953,
-0.013986039906740189,
0.00250428169965744,
-0.2973332405090332,
-0.5824670195579529,
0.12524175643920898,
-0.24064727127552032,
0.061657197773456573,
0.13119658827781677,
0.18642626702785492,
0.1040128618478775,
-0.03935122489929199,
0.12079058587551117,
-0.3800431191921234,
-0.5049602389335632,
-0.05598524585366249,
0.12329833954572678,
-0.19347533583641052,
-0.4600648880004883,
-0.45770958065986633,
0.20521274209022522,
-0.16006919741630554,
0.14726769924163818,
0.1258489340543747,
0.28497880697250366,
0.22451627254486084,
0.061104994267225266,
0.14991441369056702,
-0.1469660997390747,
-0.1814374178647995,
-0.2291383594274521,
-0.5131573677062988,
0.0852850005030632,
-0.17659549415111542,
-0.22811944782733917,
0.45620474219322205,
0.24755512177944183,
0.27604901790618896,
0.029340842738747597,
-0.29178571701049805,
-0.4955332577228546,
0.11292804032564163,
0.05327269807457924,
0.17270740866661072,
-0.05623414367437363,
0.2156330645084381,
-0.014665218070149422,
-0.25243067741394043,
-0.3494873046875,
-0.2780728042125702,
0.1595015823841095,
0.3327346742153168,
0.06474907696247101,
-0.20145562291145325,
0.1517857015132904,
-0.10906057059764862,
0.4742961525917053,
0.10178473591804504,
0.1040268987417221,
0.22275133430957794,
0.060241930186748505,
0.2050902396440506,
-0.042831696569919586,
-0.27721551060676575,
-0.11475560814142227,
0.13805535435676575,
-0.11323581635951996,
0.18103614449501038,
-0.11212622374296188,
-0.05776704102754593,
-0.14023056626319885,
-0.02618451789021492,
-0.19656971096992493,
-0.021767105907201767,
0.06602232158184052,
-0.4923033118247986,
0.220120370388031,
0.07838858664035797,
0.21352729201316833,
-0.13197189569473267,
0.09733505547046661,
0.04338253289461136,
0.11080269515514374,
0.12892863154411316,
-0.2464810013771057,
-0.4639950692653656,
0.01092441938817501,
-0.13484391570091248,
0.11488103866577148,
-0.07496551424264908,
0.399155855178833,
-0.2133936882019043,
0.07974352687597275,
0.055171385407447815,
-0.18598967790603638,
0.40263962745666504,
-0.6580466628074646,
0.08007829636335373,
0.30984774231910706,
-0.11274948716163635,
0.39153680205345154,
0.022747214883565903,
-0.20990243554115295,
0.12300623208284378,
0.1775713860988617,
0.46649450063705444,
-0.31225574016571045,
-0.5027120113372803,
0.29442402720451355,
-0.4583801329135895,
-0.04639233648777008,
0.2281738966703415,
-0.14459243416786194,
-0.38566452264785767,
-0.18153619766235352,
0.02148798108100891,
0.2769884169101715,
0.21878847479820251,
-0.03360644727945328,
0.06442290544509888,
0.07913695275783539,
0.05463474243879318,
0.2346595972776413,
0.17612089216709137,
0.1139574944972992,
0.26572462916374207,
-0.02327810972929001,
0.11719167977571487,
-0.07815718650817871,
0.24161195755004883,
0.5232112407684326,
-0.03619426116347313,
-0.23247051239013672,
0.04257062450051308,
-0.5442937016487122,
0.45836254954338074,
0.3104238212108612,
0.09803049266338348,
0.2946561574935913,
0.007569099776446819,
-0.11355632543563843,
-0.12177946418523788,
0.05277195945382118,
0.12813250720500946,
-0.2185365855693817,
0.1538437455892563,
-0.6512188911437988,
0.1965997964143753,
-0.11154824495315552,
0.037006884813308716,
0.372252881526947,
0.20355775952339172,
-0.17194755375385284,
0.27049243450164795,
0.45784589648246765,
0.8992686867713928,
0.22648471593856812,
-0.29789113998413086,
-0.05733721703290939,
-0.1516137272119522,
0.21373066306114197,
-0.21263305842876434,
-0.11133575439453125,
-0.5216984152793884,
0.10100837796926498,
-0.12774525582790375,
-0.12099434435367584,
0.30240926146507263,
0.1276090294122696,
-0.29213133454322815,
-0.013133161701261997,
0.10664147138595581,
0.2272615134716034,
0.25136175751686096,
0.4478152394294739,
-0.1518959254026413,
0.15701541304588318,
-0.263264924287796,
0.23404565453529358,
0.2683877944946289,
0.02079017460346222,
-0.12359674274921417,
-0.3051695227622986,
0.02757502719759941,
-0.4172428250312805,
-0.3963833451271057,
-0.10995253175497055,
-0.17218470573425293,
-0.09629657119512558,
0.09446863830089569,
-0.2701539397239685,
0.42741426825523376,
-0.10846933722496033,
0.3350772261619568,
0.17935532331466675,
-0.3220774531364441,
0.30454692244529724,
-0.11407238990068436,
0.08984871208667755,
-0.009308556094765663,
0.024966269731521606,
0.306022047996521,
-0.2243034541606903,
-0.32490119338035583,
0.3060849606990814,
-0.46854138374328613,
-0.3440280556678772,
-0.09146495908498764,
0.18141698837280273,
0.030323361977934837,
-0.05148378387093544,
-0.028560586273670197,
0.07147448509931564,
-0.17142048478126526,
-0.116581991314888,
0.17657463252544403,
-0.026578009128570557,
-0.21153336763381958,
0.005547076463699341,
0.21255725622177124,
-0.1764264851808548,
0.11035604774951935,
0.1856253445148468,
-0.04935760051012039,
-0.04714101552963257,
0.4743180274963379,
-0.10890026390552521,
0.10021866858005524,
-0.46182188391685486,
-0.05660763010382652,
0.1793413609266281,
-0.42556092143058777,
-0.04001513496041298,
-0.1755646914243698,
-0.2057117223739624,
0.3420570194721222,
0.7235927581787109,
0.1623610258102417,
0.40917515754699707,
-0.0832882970571518,
-0.2995389401912689,
0.07729598879814148,
0.06363412737846375,
-0.11083941161632538,
0.11939285695552826,
-0.32775601744651794,
0.04354283958673477,
0.28336024284362793,
0.19071266055107117,
-0.4510425627231598,
-0.06051897257566452,
-0.25209757685661316,
0.343683123588562,
-0.17218568921089172,
-0.03695356100797653,
-0.07198256999254227,
-0.2869945764541626,
0.04376615583896637,
-0.11683163046836853,
-0.3947788178920746,
-0.2921687364578247,
-0.039114899933338165,
0.12670022249221802,
0.13995444774627686,
0.07064598053693771,
-0.09772596508264542,
0.08767098933458328,
-0.2749795913696289,
0.0577489510178566,
0.20145463943481445,
-0.25933706760406494,
-0.1308378428220749,
0.16885219514369965,
0.14633452892303467,
0.22146853804588318,
-0.3607046604156494,
-0.07620113343000412,
0.16011416912078857,
0.007236771285533905,
-0.04212721064686775,
-0.10837094485759735,
-0.07600460201501846,
-0.08747713267803192,
0.3039647340774536,
0.24438434839248657,
-0.01871982216835022,
-0.005849167704582214,
0.23315215110778809,
-0.11882036924362183,
0.05714600160717964,
0.04505404457449913,
0.31855928897857666,
0.3413377106189728,
-0.09611334651708603,
0.08181238174438477,
0.1465759575366974,
0.28959619998931885,
-0.24266909062862396,
-0.13399434089660645,
0.1512339860200882,
0.1832934319972992,
0.05464518442749977,
0.01397397369146347,
0.4682280719280243,
-0.13851411640644073,
0.1430179476737976,
0.26890450716018677,
0.3223811686038971,
-0.27761512994766235,
0.13040198385715485,
0.18668866157531738,
-0.23885338008403778,
0.14613018929958344,
0.3055017292499542,
-0.03634845092892647,
0.11000192165374756,
-0.09415885806083679,
0.37054014205932617,
0.6874115467071533,
0.4009558856487274,
0.11302883923053741,
-0.27858391404151917,
-0.17343933880329132,
0.4622516930103302,
0.20912453532218933,
0.12084712833166122,
0.2605675160884857,
0.14847882091999054,
0.09470376372337341,
0.057350486516952515,
-0.10454120486974716,
-0.15250256657600403,
-0.02540990337729454,
-0.04521690309047699,
0.08069568872451782,
-0.35837095975875854,
-0.2981018126010895,
-0.20068319141864777,
-0.06963877379894257,
0.04671667888760567,
0.19253286719322205,
0.23426909744739532,
-0.19516892731189728,
-0.2482413798570633,
-0.2730286419391632,
-0.23426514863967896,
0.1459948569536209,
0.09830015897750854,
-0.49592727422714233,
0.13481085002422333,
0.33641624450683594,
-0.0928613692522049,
0.029957488179206848,
0.48827725648880005,
0.3451426923274994,
0.22788025438785553,
0.024751003831624985,
-0.07845764607191086,
-0.14250266551971436,
-0.186682790517807,
-0.006245162338018417,
0.29627373814582825,
-0.033283062279224396,
-0.22158987820148468,
0.06236816570162773,
0.18957532942295074,
-0.16627207398414612,
0.03236890211701393,
0.3049648702144623,
-0.059967298060655594,
-0.1062442809343338,
0.03966637700796127,
0.1814795732498169,
-0.22254252433776855,
-0.14262649416923523,
-0.07584980875253677,
-0.10671366751194,
0.021089959889650345,
0.3631074130535126,
-0.012705507688224316,
0.04497494176030159,
-0.26809483766555786,
0.1326899528503418,
-0.04722442850470543,
0.64693683385849,
0.26219290494918823,
-0.11730220168828964,
-0.25895190238952637,
-0.4756959080696106,
-0.7994908690452576,
0.05681338161230087,
-0.014801912009716034,
0.20022553205490112,
0.334791362285614,
0.273468554019928,
0.39064881205558777,
-0.006677825003862381,
-0.18198944628238678,
-0.26910650730133057,
-0.16581125557422638,
0.16523119807243347,
-0.422747403383255,
0.1662520319223404,
0.050461262464523315,
0.006271065212786198,
-0.06007367745041847,
-0.03278989717364311,
0.27160972356796265,
-0.20591801404953003,
0.1147085502743721,
-0.25596970319747925,
-0.03234042227268219,
0.2763311266899109,
0.12596501410007477,
0.059679076075553894,
-0.15388037264347076,
0.4674125015735626,
-0.027663851156830788,
-0.11037872731685638,
-0.05227091535925865,
0.0943334549665451,
0.014065208844840527,
0.1676677167415619,
0.2400970160961151,
0.42291897535324097,
0.2707594633102417,
0.1537240445613861,
-0.08604687452316284,
0.2156263291835785,
0.03339472413063049,
-0.2719471752643585,
-0.3341314196586609,
0.24705970287322998,
-0.03843694180250168,
-0.0864126980304718,
-0.23215466737747192,
-0.10136491805315018,
-0.0016668103635311127,
-0.13587342202663422,
-0.42182064056396484,
-0.21343585848808289,
0.43934595584869385,
-0.15707693994045258,
-0.21787641942501068,
-0.2543420195579529,
0.24626906216144562,
-0.2578347623348236,
-0.3380820155143738,
-0.8307628631591797,
-0.09859960526227951,
0.3744509518146515,
-0.02552427351474762,
-0.23119843006134033,
0.17343977093696594,
0.20126573741436005,
0.04057594761252403,
-0.14767299592494965,
0.22606919705867767,
0.04137729853391647,
0.10513392090797424,
-0.029433773830533028,
-0.18708905577659607
] |
https://github.com/huggingface/datasets/pull/2302 | Add SubjQA dataset | I'm not sure why the windows test fails, but looking at the logs it looks like some caching issue on one of the metrics ... maybe re-run and 🤞 ? | Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond. | 30 | text: Add SubjQA dataset
Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond.
I'm not sure why the windows test fails, but looking at the logs it looks like some caching issue on one of the metrics ... maybe re-run and 🤞 ? | [
-0.20303508639335632,
0.24124804139137268,
-0.06421609222888947,
-0.00933276116847992,
0.050628647208213806,
0.1857929825782776,
0.23688238859176636,
0.04188533127307892,
-0.11237846314907074,
0.10752454400062561,
-0.08564101159572601,
0.2097133845090866,
0.0704028531908989,
0.20442849397659302,
0.0018412098288536072,
-0.0681699737906456,
-0.1165076419711113,
0.0842054933309555,
0.015110187232494354,
-0.10728922486305237,
-0.3462529480457306,
0.2794385254383087,
-0.45804470777511597,
0.007999449968338013,
-0.2378869354724884,
-0.2813606560230255,
-0.23620544373989105,
0.11177848279476166,
-0.11550266295671463,
-0.20184263586997986,
0.11133021116256714,
-0.0730246901512146,
-0.2026137262582779,
0.4162813127040863,
-0.00011613779497565702,
-0.1108081266283989,
0.12665915489196777,
-0.12686431407928467,
-0.1626206785440445,
0.14609645307064056,
-0.23499277234077454,
0.14876991510391235,
-0.3771625757217407,
-0.05436614900827408,
-0.16303297877311707,
0.007569510024040937,
0.05042602866888046,
-0.4504397213459015,
0.2689715027809143,
0.35033300518989563,
0.11563652753829956,
0.09837425500154495,
-0.43749260902404785,
-0.1684507429599762,
-0.022767633199691772,
-0.2113925665616989,
-0.1155620664358139,
0.2490718513727188,
0.4999817907810211,
-0.2238747775554657,
-0.22354725003242493,
-0.052327074110507965,
0.20185993611812592,
0.05905495211482048,
-0.1868925392627716,
0.10997907817363739,
0.2958499789237976,
-0.44952496886253357,
0.2303188145160675,
0.14150306582450867,
0.5846344828605652,
-0.138204425573349,
-0.33566102385520935,
-0.1854100227355957,
0.13116644322872162,
-0.15760035812854767,
0.23077186942100525,
-0.004446148872375488,
0.09278544783592224,
0.11323432624340057,
0.12473536282777786,
0.2717650830745697,
-0.18007828295230865,
-0.11547417938709259,
-0.034533094614744186,
0.1995578408241272,
0.06260056793689728,
-0.017727620899677277,
0.029662000015378,
0.028557220473885536,
-0.17763833701610565,
0.09871979057788849,
-0.40455031394958496,
0.058431416749954224,
-0.4797806739807129,
-0.25891560316085815,
0.05306422337889671,
-0.24148046970367432,
-0.054410338401794434,
0.041693516075611115,
0.23511481285095215,
0.223875492811203,
0.5089216232299805,
-0.025580890476703644,
0.23443081974983215,
0.5289252996444702,
0.381337970495224,
-0.19932706654071808,
0.07341648638248444,
-0.21260873973369598,
-0.0887431651353836,
0.2306928038597107,
0.09271154552698135,
-0.3077348470687866,
-0.2636377513408661,
0.07340170443058014,
0.04490649700164795,
-0.06186912953853607,
-0.40791773796081543,
0.18755078315734863,
-0.0017409324645996094,
-0.18512678146362305,
0.12963153421878815,
0.22450146079063416,
0.0754423663020134,
-0.15712767839431763,
-0.3483688235282898,
0.41103512048721313,
-0.14224304258823395,
-0.16583628952503204,
-0.07152333110570908,
0.11313280463218689,
-0.2245805561542511,
0.016949135810136795,
0.2717605233192444,
0.3729107975959778,
0.008666910231113434,
-0.06365909427404404,
0.10933025181293488,
0.043964892625808716,
0.06221270561218262,
-0.15795168280601501,
0.2865298390388489,
0.16807617247104645,
0.24384281039237976,
0.11820358783006668,
0.05683647468686104,
-0.32132649421691895,
-0.1788400113582611,
0.1689150482416153,
0.031095702201128006,
-0.25805047154426575,
-0.06833764910697937,
0.17653599381446838,
-0.28049248456954956,
-0.08320950716733932,
0.028641097247600555,
0.43610522150993347,
0.014082401990890503,
0.03319191560149193,
0.18346166610717773,
0.25901007652282715,
-0.36431294679641724,
0.012234431691467762,
0.10811915248632431,
0.40719062089920044,
-0.5519201755523682,
0.010056637227535248,
0.11031832545995712,
0.008006785064935684,
-0.05243270844221115,
0.24161487817764282,
0.0829850509762764,
0.292340487241745,
-0.10620089620351791,
0.2107829600572586,
0.15889382362365723,
-0.07280751317739487,
-0.5519553422927856,
0.19144216179847717,
-0.46687525510787964,
-0.24758046865463257,
-0.00854489952325821,
-0.005339665804058313,
0.4316331446170807,
-0.054438311606645584,
0.3015521764755249,
0.27818626165390015,
-0.24707725644111633,
0.006932063028216362,
-0.26890382170677185,
-0.15663081407546997,
0.16728460788726807,
0.31441232562065125,
0.03409324586391449,
-0.08070658892393112,
-0.024973884224891663,
-0.3687962293624878,
0.21809467673301697,
0.12782730162143707,
0.07730522751808167,
0.05377570539712906,
0.2856297492980957,
-0.39202797412872314,
0.26148074865341187,
-0.028364328667521477,
0.1271979957818985,
0.2775552570819855,
-0.5269180536270142,
0.31083202362060547,
0.5098468661308289,
-0.024833478033542633,
-0.49398335814476013,
0.07841061055660248,
-0.163063183426857,
-0.29108259081840515,
0.04281040281057358,
-0.0806969404220581,
-0.09087927639484406,
0.10916174948215485,
-0.041414663195610046,
0.013414131477475166,
0.0442410483956337,
-0.1688728928565979,
-0.050987403839826584,
-0.10547838360071182,
-0.25166967511177063,
0.020983446389436722,
0.07048403471708298,
0.24732866883277893,
0.05650697275996208,
-0.16246701776981354,
-0.056345582008361816,
0.21286886930465698,
-0.3249899446964264,
0.2509361803531647,
0.5921056866645813,
-0.15586484968662262,
0.024103600531816483,
-0.31203100085258484,
0.07745393365621567,
0.47224774956703186,
-0.026762746274471283,
-0.1558385193347931,
-0.3993269205093384,
0.4777689576148987,
-0.09426525235176086,
0.10692669451236725,
-0.2289809286594391,
0.10029486566781998,
0.2880203127861023,
-0.17235831916332245,
-0.1248779371380806,
-0.16865228116512299,
0.20406360924243927,
0.10428880155086517,
-0.20748890936374664,
-0.11272987723350525,
0.15050311386585236,
0.1723896563053131,
0.19574078917503357,
-0.1959567368030548,
0.34020471572875977,
0.2212325930595398,
0.0018697082996368408,
-0.15974578261375427,
-0.03207213431596756,
-0.13230620324611664,
0.5471295714378357,
0.15683719515800476,
0.25677934288978577,
0.02623133733868599,
-0.04632309079170227,
-0.2880720794200897,
0.3470112383365631,
0.3373412489891052,
-0.22258399426937103,
0.3133588433265686,
0.39275482296943665,
0.08635008335113525,
-0.29713037610054016,
0.2679595649242401,
0.10884617269039154,
0.13402600586414337,
-0.33310022950172424,
0.054652139544487,
0.08240523934364319,
0.035293154418468475,
0.08061874657869339,
-0.4520026445388794,
-0.006203167140483856,
-0.283468633890152,
0.6356393098831177,
-0.32159966230392456,
-0.2602307200431824,
0.4697306752204895,
0.0904456228017807,
0.7581568956375122,
-0.010999832302331924,
-0.12122791260480881,
0.007893815636634827,
-0.2596028447151184,
-0.1762826144695282,
0.11563728749752045,
0.11482493579387665,
0.13977982103824615,
0.26096633076667786,
-0.23360472917556763,
-0.07376337051391602,
0.07302545011043549,
-0.36790719628334045,
0.19760087132453918,
0.21076612174510956,
1.016252875328064,
-0.039873987436294556,
-0.0015239492058753967,
-0.10733101516962051,
-0.3770669400691986,
0.048115696758031845,
0.0247295331209898,
-0.1750994771718979,
0.022782079875469208,
-0.1176561787724495,
-0.18145594000816345,
-0.2628346383571625,
-0.574051558971405,
0.18411141633987427,
-0.3092513084411621,
0.13341155648231506,
-0.2155194729566574,
-0.005683720111846924,
0.4149455428123474,
-0.08920719474554062,
-0.034417688846588135,
0.22830605506896973,
-0.19586656987667084,
-0.41895151138305664,
-0.2521421015262604,
0.4201245903968811,
-0.1588158756494522,
-0.4222535490989685,
-0.040019284933805466,
-0.38180309534072876,
0.030965618789196014,
-0.4649008512496948,
-0.25288820266723633,
0.020886201411485672,
0.12630967795848846,
-0.11189194023609161,
0.287830114364624,
-0.13698457181453705,
0.18590307235717773,
-0.4698786437511444,
-0.1457284688949585,
-0.1686197966337204,
-0.4066087305545807,
0.4530859887599945,
0.5881165266036987,
0.2945423722267151,
-0.36028456687927246,
0.3240513205528259,
0.020136915147304535,
0.40458279848098755,
0.08889040350914001,
0.2802451252937317,
0.0665416345000267,
-0.07194578647613525,
0.08837436139583588,
0.004629313945770264,
-0.48414283990859985,
0.5210293531417847,
-0.10651811957359314,
-0.08294859528541565,
0.4683353304862976,
-0.04822597652673721,
-0.33029550313949585,
0.006174128502607346,
0.12671403586864471,
-0.2710169553756714,
-0.2862881124019623,
0.2584328055381775,
-0.21765443682670593,
-0.04181505739688873,
0.16786068677902222,
0.08499068766832352,
-0.3017948567867279,
0.06094982475042343,
0.10452668368816376,
-0.028722599148750305,
0.12442807853221893,
-0.2557280957698822,
-0.44883623719215393,
0.026222288608551025,
-0.2160998284816742,
0.1115100085735321,
0.10988090187311172,
0.4649392366409302,
-0.247858464717865,
-0.23049470782279968,
-0.028149761259555817,
-0.09917893260717392,
0.8672216534614563,
-0.25109922885894775,
-0.006953202188014984,
0.3553445041179657,
0.40720754861831665,
-0.17902544140815735,
-0.23878198862075806,
-0.11078523099422455,
0.3411509394645691,
0.37427130341529846,
-0.02098783850669861,
0.15083032846450806,
0.1467432677745819,
0.4076429307460785,
-0.25685790181159973,
-0.35191455483436584,
0.0640549436211586,
-0.4685301184654236,
-0.34355589747428894,
-0.04678959771990776,
0.4108305275440216,
0.004592807963490486,
0.14927929639816284,
0.04370474815368652,
-0.10316967964172363,
0.25314921140670776,
-0.2138647437095642,
0.17493855953216553,
0.4150838851928711,
0.16719505190849304,
0.3083095848560333,
0.43981030583381653,
-0.07822085171937943,
0.1220870092511177,
-0.21942918002605438,
0.12990964949131012,
0.033196672797203064,
0.11574912816286087,
0.5561232566833496,
-0.5752429366111755,
0.3448711633682251,
0.46822866797447205,
0.11337488144636154,
0.03845925256609917,
-0.09554598480463028,
0.1847948431968689,
-0.3975090980529785,
-0.06700929254293442,
0.16944876313209534,
0.029917724430561066,
-0.03527607396245003,
0.26807230710983276,
0.43898531794548035,
-0.38935407996177673,
-0.2934665083885193,
0.10754751414060593,
0.15167437493801117,
-0.03131767362356186,
0.275725781917572,
0.42005693912506104,
1.0522525310516357,
0.2397172749042511,
-0.1812613308429718,
0.167413592338562,
-0.2824653387069702,
-0.11628352105617523,
0.1449182629585266,
0.3436208963394165,
-0.3106177747249603,
-0.2702973484992981,
0.09465181827545166,
-0.12163262069225311,
-0.028378374874591827,
0.21124610304832458,
-0.3887370526790619,
-0.058694466948509216,
0.33308935165405273,
0.15689542889595032,
0.278795063495636,
0.1477820873260498,
-0.22383072972297668,
-0.06864401698112488,
-0.08398408442735672,
0.07327331602573395,
0.29107755422592163,
0.05256771296262741,
-0.09671642631292343,
-0.21389272809028625,
-0.13248895108699799,
-0.02322654239833355,
-0.23193451762199402,
-0.014457368291914463,
-0.28799158334732056,
-0.08401083201169968,
0.2631537616252899,
-0.3040996193885803,
0.3969286382198334,
0.1588623821735382,
0.5851010680198669,
-0.24726836383342743,
-0.264295756816864,
0.29027703404426575,
-0.10595294088125229,
0.049720946699380875,
0.23486191034317017,
-0.14733603596687317,
0.2768041789531708,
-0.19589266180992126,
-0.26826754212379456,
-0.07715082913637161,
0.05836254358291626,
-0.09004625678062439,
-0.38435494899749756,
0.3144916296005249,
0.003709733486175537,
-0.22166970372200012,
-0.06743903458118439,
-0.15024052560329437,
0.07189953327178955,
-0.4102851152420044,
0.056759100407361984,
-0.06999079883098602,
-0.1153792142868042,
0.4773651361465454,
-0.07605040073394775,
-0.18148621916770935,
-0.06723083555698395,
0.16482704877853394,
-0.21610099077224731,
0.193817138671875,
0.22993415594100952,
0.12005917727947235,
0.034197136759757996,
-0.3429313898086548,
0.17222553491592407,
-0.08219638466835022,
-0.08811590820550919,
-0.09047047793865204,
-0.23906809091567993,
-0.6088454723358154,
0.1174313873052597,
0.2084175944328308,
0.28722164034843445,
0.161660298705101,
-0.22109606862068176,
-0.45307883620262146,
-0.1904991865158081,
0.2915865480899811,
-0.16419236361980438,
-0.02039850875735283,
-0.02686363458633423,
0.08400033414363861,
0.34862440824508667,
0.33512017130851746,
-0.31203585863113403,
-0.03323693573474884,
-0.34663063287734985,
0.16030678153038025,
-0.10315719246864319,
-0.33875569701194763,
0.24420417845249176,
-0.09250305593013763,
-0.02164178527891636,
-0.18241001665592194,
-0.3237384557723999,
-0.1305435299873352,
-0.07812191545963287,
0.13232456147670746,
-0.27250146865844727,
-0.0034354273229837418,
-0.031809162348508835,
0.1514902412891388,
-0.1499190777540207,
-0.020654814317822456,
-0.09884141385555267,
-0.33833184838294983,
0.033258531242609024,
-0.05443921312689781,
-0.09338352084159851,
-0.1761702001094818,
-0.23750633001327515,
-0.09061302244663239,
0.04548206925392151,
0.06436881422996521,
0.15104641020298004,
0.2338954210281372,
-0.17847207188606262,
-0.06382884085178375,
0.17045463621616364,
0.36788737773895264,
0.014166705310344696,
-0.11536251753568649,
0.26745495200157166,
-0.23567186295986176,
0.06830441951751709,
0.3199758231639862,
0.006631854921579361,
0.02026015892624855,
-0.17973098158836365,
0.1250341683626175,
-0.2680971324443817,
0.142591193318367,
-0.3987422585487366,
-0.23843888938426971,
0.062373269349336624,
-0.36615005135536194,
0.07414187490940094,
0.24862948060035706,
0.2301560640335083,
-0.09453645348548889,
0.31467869877815247,
0.42597851157188416,
0.42627280950546265,
-0.21208785474300385,
-0.12468107044696808,
0.3093281090259552,
-0.3316856622695923,
0.15526024997234344,
0.28419241309165955,
-0.1328691691160202,
0.04696762189269066,
0.23190824687480927,
0.19152063131332397,
0.6126177906990051,
0.11244875192642212,
0.3066774308681488,
-0.1874220371246338,
-0.05558021366596222,
0.21876558661460876,
0.34210801124572754,
-0.045135870575904846,
0.3123164772987366,
0.33945155143737793,
0.39071840047836304,
-0.5556601881980896,
0.01903623156249523,
-0.29123052954673767,
-0.40510791540145874,
-0.16692161560058594,
-0.07710623741149902,
-0.3697650730609894,
-0.26217737793922424,
-0.12633547186851501,
-0.12809891998767853,
0.09807007014751434,
0.09195178002119064,
-0.020123235881328583,
-0.255108118057251,
-0.3210698366165161,
0.029652893543243408,
-0.19642707705497742,
0.20225632190704346,
-0.008030354976654053,
-0.322185218334198,
0.2976842224597931,
0.0569082647562027,
0.02392515540122986,
0.1565532386302948,
0.5555990934371948,
0.35986462235450745,
-0.06086595356464386,
-0.6120845675468445,
0.153290256857872,
0.02739657461643219,
-0.24892300367355347,
-0.06061027571558952,
0.28423774242401123,
0.19227173924446106,
-0.08258216083049774,
0.32435521483421326,
0.1802854984998703,
-0.023306583985686302,
0.2741440534591675,
0.6222812533378601,
0.06667953729629517,
-0.09447993338108063,
-0.2689010202884674,
0.1593640297651291,
-0.03157001733779907,
-0.015130843967199326,
-0.09107337146997452,
0.11768371611833572,
0.09777194261550903,
-0.09713366627693176,
-0.3809824287891388,
0.12417691200971603,
-0.0568157397210598,
0.07359613478183746,
-0.024494964629411697,
0.5650135278701782,
0.049364082515239716,
0.20155122876167297,
-0.2166747897863388,
0.014939554035663605,
-0.669513463973999,
0.02066677063703537,
0.5854076743125916,
0.360108882188797,
0.28965625166893005,
0.29828986525535583,
0.35959815979003906,
0.2286590188741684,
0.19814486801624298,
0.2877683639526367,
-0.1488855481147766,
-0.01348888874053955,
-0.5958700776100159,
0.09995806217193604,
0.16230741143226624,
0.41075363755226135,
-0.06378535181283951,
-0.2990860342979431,
0.17254313826560974,
0.27240708470344543,
-0.03744688630104065,
0.12840236723423004,
-0.20749491453170776,
0.037853311747312546,
-0.04575300216674805,
0.2644948959350586,
0.07844794541597366,
0.22684063017368317,
-0.19221854209899902,
0.2835928499698639,
-0.24120527505874634,
-0.19667097926139832,
-0.04538312926888466,
-0.17604267597198486,
0.3348144292831421,
0.4230247139930725,
0.011443069204688072,
-0.08315925300121307,
0.17641764879226685,
-0.16955339908599854,
0.3420960307121277,
-0.08373826742172241,
-0.5624863505363464,
0.30001822113990784,
0.11648940294981003,
0.21223843097686768,
-0.013166806660592556,
0.21515142917633057,
0.06965536624193192,
0.1317073106765747,
-0.009378105401992798,
-0.18615320324897766,
0.3763013482093811,
-0.1333281397819519,
-0.1353899985551834,
-0.19913674890995026,
0.3452792167663574,
-0.1286400556564331,
0.10369279235601425,
-0.19579176604747772,
-0.3642653822898865,
0.1496466100215912,
0.056724950671195984,
-0.3858959376811981,
0.20538797974586487,
0.295367568731308,
-0.13887417316436768,
-0.10638953745365143,
0.006511464715003967,
0.1518847644329071,
-0.1877032220363617,
0.0023623183369636536,
-0.2521930932998657
] |
https://github.com/huggingface/datasets/pull/2302 | Add SubjQA dataset | Hi @lewtun, thanks for adding this dataset!
If the dataset is going to be referenced heavily, I think it's worth spending some time to make the dataset card really great :) To start, the information that is currently in the `Data collection` paragraph should probably be organized in the `Dataset Creation` section.
Here's a link to the [relevant section of the guide](https://github.com/huggingface/datasets/blob/master/templates/README_guide.md#dataset-creation), let me know if you have any questions! | Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond. | 70 | text: Add SubjQA dataset
Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond.
Hi @lewtun, thanks for adding this dataset!
If the dataset is going to be referenced heavily, I think it's worth spending some time to make the dataset card really great :) To start, the information that is currently in the `Data collection` paragraph should probably be organized in the `Dataset Creation` section.
Here's a link to the [relevant section of the guide](https://github.com/huggingface/datasets/blob/master/templates/README_guide.md#dataset-creation), let me know if you have any questions! | [
0.061843302100896835,
0.21094560623168945,
-0.08614721894264221,
0.02251483127474785,
0.13172805309295654,
0.24297401309013367,
0.05622197687625885,
0.040819816291332245,
-0.3414049446582794,
-0.041106030344963074,
-0.1536928415298462,
0.4292888045310974,
0.22343972325325012,
0.31493040919303894,
0.1773453652858734,
-0.09309642016887665,
-0.0732337161898613,
0.0845603346824646,
0.09950938075780869,
-0.16592569649219513,
-0.23019634187221527,
0.1650918424129486,
-0.2851473093032837,
0.09124235808849335,
-0.28665149211883545,
-0.382718950510025,
0.08313804119825363,
0.14536836743354797,
-0.3448983430862427,
-0.32786980271339417,
0.16136434674263,
0.2047303318977356,
-0.11832194030284882,
0.18994101881980896,
-0.00010547091369517148,
-0.18065226078033447,
-0.008521802723407745,
-0.2529510259628296,
-0.40572890639305115,
-0.00660724937915802,
-0.2175837755203247,
-0.14662961661815643,
-0.12004908174276352,
-0.044387634843587875,
-0.09453018754720688,
-0.07233017683029175,
0.07073593884706497,
-0.2901497185230255,
0.29951512813568115,
0.1467253565788269,
0.18843941390514374,
-0.024785958230495453,
-0.3231128454208374,
-0.21732431650161743,
-0.1385553479194641,
0.1755920648574829,
-0.22322340309619904,
0.1768677830696106,
0.40129178762435913,
-0.0034406082704663277,
-0.19976037740707397,
0.11318202316761017,
0.06454804539680481,
-0.17249394953250885,
0.22891056537628174,
0.11335489153862,
0.03057444840669632,
-0.5468060970306396,
0.2194780707359314,
0.23298481106758118,
0.5861793756484985,
-0.2892756760120392,
-0.40145614743232727,
-0.35405489802360535,
0.2538437843322754,
-0.0876162126660347,
0.036938443779945374,
0.037222154438495636,
0.01276935450732708,
0.21111316978931427,
0.06717313081026077,
0.10042925924062729,
-0.30100399255752563,
-0.1761794239282608,
0.1605464071035385,
0.07879665493965149,
-0.08511374145746231,
-0.09169674664735794,
0.13436928391456604,
-0.054384440183639526,
-0.24253693222999573,
0.11434311419725418,
-0.2817249298095703,
0.10692466795444489,
-0.5128023028373718,
-0.31648528575897217,
0.1984652876853943,
-0.27275481820106506,
0.24902433156967163,
0.10903622210025787,
0.3399115204811096,
0.17611786723136902,
0.22709910571575165,
0.049729734659194946,
0.4072751998901367,
0.10589291155338287,
0.3253219425678253,
-0.1707065850496292,
-0.042324841022491455,
-0.203938290476799,
0.23570287227630615,
0.07230975478887558,
0.10525154322385788,
0.09663287550210953,
-0.46033522486686707,
-0.015434309840202332,
0.04891947656869888,
0.005102712661027908,
-0.2352728694677353,
0.15805654227733612,
-0.0077293068170547485,
-0.253480464220047,
0.10036966949701309,
0.17405584454536438,
0.007887670770287514,
-0.12898480892181396,
-0.4624667763710022,
0.21511301398277283,
-0.004568946547806263,
-0.4108223021030426,
-0.08658231049776077,
0.06834988296031952,
-0.23791661858558655,
0.07477191835641861,
0.09973382949829102,
0.09610044956207275,
0.03052801452577114,
0.021994978189468384,
0.16866889595985413,
0.15700094401836395,
0.1236344575881958,
-0.20796659588813782,
0.4168097972869873,
0.2565007507801056,
0.2779644727706909,
0.15945649147033691,
0.09237025678157806,
-0.05765169858932495,
-0.22668159008026123,
0.17097848653793335,
-0.09640476852655411,
-0.36251774430274963,
-0.3668540418148041,
0.18415042757987976,
-0.17078347504138947,
-0.204541876912117,
-0.12006764858961105,
0.5716792345046997,
0.06384335458278656,
0.03225493058562279,
0.18700943887233734,
0.4062197208404541,
-0.21374492347240448,
-0.14890195429325104,
0.08417554944753647,
0.43252140283584595,
-0.6289087533950806,
-0.07980886101722717,
-0.06688186526298523,
-0.1340501308441162,
0.02906031906604767,
0.23541352152824402,
-0.10148042440414429,
0.3764636218547821,
0.018894752487540245,
0.20314709842205048,
0.42907777428627014,
0.04130435362458229,
-0.5218254923820496,
0.22014594078063965,
-0.43849122524261475,
-0.09759822487831116,
-0.09720046073198318,
0.22565504908561707,
0.3899775445461273,
-0.0005937652895227075,
0.10358215123414993,
0.3185268044471741,
-0.24969425797462463,
-0.029473043978214264,
-0.10493175685405731,
-0.12489718198776245,
0.07654526829719543,
0.24972186982631683,
-0.3150510787963867,
0.08577240258455276,
-0.08341359347105026,
-0.19771608710289001,
0.24079754948616028,
0.08773466944694519,
0.10741432756185532,
0.17452536523342133,
0.5041405558586121,
-0.10223683714866638,
0.17438988387584686,
0.03938433527946472,
-0.2564453184604645,
0.01579979434609413,
-0.3698684871196747,
0.4337925612926483,
0.18726933002471924,
-0.14532940089702606,
-0.49483102560043335,
0.04982610046863556,
-0.23689614236354828,
-0.31474828720092773,
0.0878046378493309,
-0.20274636149406433,
-0.1275331974029541,
-0.07878781855106354,
-0.23286576569080353,
0.2108151912689209,
-0.14005696773529053,
0.057811904698610306,
-0.3535517752170563,
-0.1113947406411171,
-0.21789982914924622,
0.09992776811122894,
0.033905208110809326,
0.2673659324645996,
0.016491446644067764,
0.02139590121805668,
-0.033795926719903946,
0.21622997522354126,
-0.2746880352497101,
0.11316519975662231,
0.5069185495376587,
0.07060810178518295,
0.18266282975673676,
-0.21696539223194122,
0.17745427787303925,
0.0017752442508935928,
0.04354223236441612,
-0.025413908064365387,
-0.4923621714115143,
0.45073193311691284,
-0.07808411121368408,
0.106415294110775,
-0.17510202527046204,
0.07493627071380615,
0.27201002836227417,
0.07814811170101166,
-0.13263820111751556,
-0.20017731189727783,
-0.1252913624048233,
0.21539337933063507,
0.15361492335796356,
-0.02717893011868,
0.08197905123233795,
0.39961475133895874,
0.15155746042728424,
-0.12036773562431335,
0.14550945162773132,
0.3690052926540375,
-0.02807934582233429,
-0.23421457409858704,
-0.05226081609725952,
0.10771112143993378,
0.33731281757354736,
0.22564108669757843,
0.09553979337215424,
-0.16072703897953033,
0.022436177358031273,
-0.25568002462387085,
0.17359167337417603,
0.5278046727180481,
-0.11095300316810608,
0.14732374250888824,
0.3754390478134155,
0.24590833485126495,
-0.20363086462020874,
0.07758544385433197,
-0.041631683707237244,
0.22336937487125397,
-0.1412360519170761,
0.18995539844036102,
0.19649289548397064,
-0.12866201996803284,
0.09983257949352264,
-0.4572308361530304,
-0.0686732679605484,
-0.3731085956096649,
0.44716697931289673,
-0.3582647442817688,
-0.19054381549358368,
0.454367995262146,
0.28258243203163147,
0.8522977232933044,
-0.035259708762168884,
0.06290154904127121,
0.10106822848320007,
-0.2821196913719177,
0.05613324046134949,
0.16865305602550507,
-0.06555838882923126,
0.2215150147676468,
0.2525191605091095,
-0.2013029307126999,
0.07184066623449326,
-0.15423449873924255,
-0.4528259336948395,
0.32250815629959106,
-0.00741267204284668,
0.795781135559082,
0.16797199845314026,
0.17369434237480164,
-0.24402759969234467,
-0.4262072443962097,
0.006092522293329239,
0.0907348021864891,
-0.24709968268871307,
-0.13158255815505981,
-0.44592806696891785,
0.049693960696458817,
-0.20595945417881012,
-0.5611197352409363,
-0.04358915239572525,
-0.38640835881233215,
0.26675522327423096,
-0.17400383949279785,
0.15301910042762756,
0.4698793590068817,
-0.05682549998164177,
-0.02652481570839882,
-0.02052931673824787,
-0.03806917369365692,
-0.39074039459228516,
-0.4430302679538727,
0.4390904903411865,
-0.24352560937404633,
-0.19325068593025208,
-0.03378921002149582,
-0.3815627694129944,
0.1687583029270172,
-0.505800187587738,
-0.10770554840564728,
-0.032748423516750336,
0.036511730402708054,
-0.006085410714149475,
0.11242472380399704,
-0.019214695319533348,
0.10610554367303848,
-0.35075289011001587,
-0.15735697746276855,
-0.08415161073207855,
-0.4550088942050934,
0.3528139591217041,
0.569595992565155,
0.3609694242477417,
-0.24306261539459229,
0.28596603870391846,
0.0013484209775924683,
0.5220665335655212,
0.2516392469406128,
0.24507376551628113,
0.04247315227985382,
0.10860855877399445,
0.047600846737623215,
0.08124997466802597,
-0.3570541441440582,
0.2841011583805084,
-0.06021171808242798,
-0.026052093133330345,
0.3414921760559082,
0.1602577567100525,
-0.060889698565006256,
0.09283727407455444,
0.1393555849790573,
-0.3960060775279999,
-0.29614654183387756,
0.276492714881897,
0.13736915588378906,
-0.004960857331752777,
0.06884400546550751,
-0.05023978650569916,
-0.36087316274642944,
0.1316261887550354,
-0.06335002183914185,
0.011561557650566101,
0.2694876194000244,
-0.0774552971124649,
-0.37533557415008545,
0.03768331930041313,
-0.30143609642982483,
-0.06174024939537048,
0.060586899518966675,
0.08287494629621506,
-0.2979176342487335,
-0.15453073382377625,
0.136017844080925,
0.1775674819946289,
0.6591333150863647,
-0.24070574343204498,
-0.28492045402526855,
0.1367935687303543,
0.26114705204963684,
-0.0850236564874649,
0.0659639984369278,
0.010887723416090012,
0.2022424042224884,
0.539422333240509,
-0.1885671615600586,
0.003020770847797394,
-0.047503963112831116,
0.5422356128692627,
-0.38305073976516724,
-0.24463126063346863,
-0.020819565281271935,
-0.2730005383491516,
-0.381565660238266,
-0.23557940125465393,
0.27789443731307983,
0.06306521594524384,
0.008005538955330849,
0.23774287104606628,
-0.1790727972984314,
0.4856172204017639,
0.012086961418390274,
0.16638599336147308,
0.4714314043521881,
0.16471847891807556,
0.43543121218681335,
0.20269307494163513,
0.18222816288471222,
-0.021556921303272247,
0.20425550639629364,
0.26385968923568726,
-0.06907670199871063,
-0.019052401185035706,
0.46781203150749207,
-0.4706079661846161,
0.48657259345054626,
0.3949926495552063,
0.264245867729187,
0.2541227340698242,
-0.012928325682878494,
0.0830778032541275,
-0.35887473821640015,
-0.0684301033616066,
-0.030395956709980965,
-0.22343522310256958,
-0.1002587229013443,
-0.19635172188282013,
0.6072938442230225,
-0.2531929612159729,
-0.31814929842948914,
-0.17397406697273254,
0.3274463415145874,
0.050567708909511566,
0.2719672918319702,
0.5183524489402771,
1.089719295501709,
0.14770042896270752,
-0.04128411039710045,
0.10285569727420807,
-0.1872367560863495,
0.3042530119419098,
-0.20711523294448853,
0.1801803559064865,
-0.3613072633743286,
-0.2537151873111725,
-0.02637256309390068,
-0.11316709220409393,
-0.09859850257635117,
0.3540830612182617,
-0.29523956775665283,
0.059562113136053085,
0.03814943879842758,
0.07084851711988449,
0.14864450693130493,
0.17477741837501526,
-0.0687708854675293,
-0.4878743588924408,
-0.2520986497402191,
0.09427237510681152,
0.024688292294740677,
-0.037684258073568344,
-0.07521423697471619,
-0.4573960304260254,
-0.20020194351673126,
0.08975300192832947,
-0.20743781328201294,
-0.2235715389251709,
-0.24099895358085632,
-0.22370877861976624,
0.4469037353992462,
-0.2766481935977936,
0.44515103101730347,
0.24659642577171326,
0.46136903762817383,
-0.19086289405822754,
-0.2217765897512436,
0.19756272435188293,
-0.07716550678014755,
0.03504957631230354,
0.041262637823820114,
-0.09411049634218216,
0.3521197438240051,
-0.06293494999408722,
-0.10384023189544678,
-0.02893170714378357,
0.046469397842884064,
-0.07440154254436493,
-0.2186974585056305,
0.3543189764022827,
0.11919376254081726,
-0.28119999170303345,
-0.17392036318778992,
-0.14427092671394348,
0.012427359819412231,
-0.4434206783771515,
0.11318734288215637,
0.25744056701660156,
-0.08044034987688065,
0.17200729250907898,
0.038926053792238235,
-0.06128618121147156,
-0.205302432179451,
0.027326107025146484,
0.06236322596669197,
-0.15832747519016266,
0.08099664747714996,
0.2631337642669678,
-0.19163864850997925,
-0.3729614317417145,
0.2533392608165741,
0.03914206102490425,
-0.2383773922920227,
-0.07615375518798828,
0.02004370279610157,
-0.5252485275268555,
-0.06734369695186615,
0.2983683943748474,
0.2170947641134262,
0.20595115423202515,
-0.33094796538352966,
-0.2615657150745392,
-0.3425671458244324,
0.3285107910633087,
-0.2766462564468384,
0.03116023540496826,
0.07336987555027008,
0.09740579128265381,
0.3539973497390747,
0.549214243888855,
-0.38439416885375977,
-0.19409900903701782,
-0.352327436208725,
0.09078153967857361,
0.1544860303401947,
-0.24188700318336487,
0.11178001016378403,
-0.05990653857588768,
-0.041225604712963104,
-0.1250188946723938,
-0.45020419359207153,
-0.17696791887283325,
-0.11625869572162628,
0.13971054553985596,
-0.1560353934764862,
-0.11525937169790268,
-0.028118543326854706,
0.24901656806468964,
-0.3684803545475006,
-0.13942155241966248,
0.030990276485681534,
-0.23030561208724976,
0.24178804457187653,
0.007621654309332371,
-0.18586254119873047,
-0.05847419053316116,
-0.16152746975421906,
-0.09566712379455566,
0.22359883785247803,
0.048362113535404205,
0.47191473841667175,
0.06442249566316605,
-0.469022661447525,
-0.1648474931716919,
0.1550542414188385,
0.5171397924423218,
0.3164748549461365,
-0.08256688714027405,
0.12899985909461975,
-0.11949774622917175,
-0.10622301697731018,
0.4816038906574249,
-0.0840221494436264,
-0.04743090271949768,
-0.09056932479143143,
-0.07421240955591202,
-0.1634167730808258,
0.1720832735300064,
-0.32163482904434204,
-0.3473869264125824,
-0.022528212517499924,
-0.4225732982158661,
0.10166364908218384,
0.35703256726264954,
0.30895254015922546,
0.18205901980400085,
0.23264387249946594,
0.34561556577682495,
0.35640645027160645,
-0.1841794103384018,
0.09565719962120056,
0.154628187417984,
-0.310867577791214,
0.13709455728530884,
0.46761804819107056,
0.0973488986492157,
0.12989185750484467,
0.1889793574810028,
0.015678659081459045,
0.5162752866744995,
0.16796812415122986,
0.19836974143981934,
-0.01695278286933899,
-0.11503152549266815,
0.3294443190097809,
0.5491419434547424,
-0.15925341844558716,
0.09913033246994019,
0.32052338123321533,
0.3704771399497986,
-0.30385684967041016,
-0.005606264341622591,
-0.1976483017206192,
-0.1898466944694519,
-0.28664007782936096,
-0.0018106000497937202,
-0.23808176815509796,
-0.22328001260757446,
-0.13365039229393005,
-0.25493764877319336,
0.0031380020081996918,
-0.16762706637382507,
0.1042051836848259,
-0.39323896169662476,
0.012283913791179657,
-0.10226220637559891,
-0.1640283763408661,
0.2358320951461792,
-0.06703724712133408,
-0.15146225690841675,
0.24548810720443726,
-0.08920527994632721,
0.019923005253076553,
0.03508196026086807,
0.4552101492881775,
0.18107160925865173,
-0.01773487776517868,
-0.19073103368282318,
0.121319979429245,
-0.13792648911476135,
-0.22744522988796234,
0.16692060232162476,
0.07856280356645584,
0.18513987958431244,
-0.05566282942891121,
0.2539830803871155,
0.17791219055652618,
-0.08648969233036041,
-0.043967802077531815,
0.5575751066207886,
0.3366812467575073,
0.015036934986710548,
-0.17739462852478027,
0.07154381275177002,
-0.11559885740280151,
0.055667974054813385,
0.0023124292492866516,
-0.1191365122795105,
-0.023924950510263443,
0.15847906470298767,
-0.32163622975349426,
0.01340070366859436,
-0.18492738902568817,
0.1269017904996872,
-0.01121877133846283,
0.4860629439353943,
0.21464435756206512,
-0.06711474061012268,
-0.27478253841400146,
0.021533869206905365,
-0.5463414192199707,
-0.0040346235036849976,
0.4906942844390869,
0.370224267244339,
0.4088825285434723,
0.358667254447937,
0.25519901514053345,
0.4408112168312073,
-0.00939081609249115,
0.02058432251214981,
-0.12405490130186081,
-0.04969159513711929,
-0.46092671155929565,
0.03969653695821762,
-0.007956571877002716,
0.419222891330719,
-0.08666984736919403,
0.04507678747177124,
0.08155808597803116,
0.19937488436698914,
-0.0013495273888111115,
-0.14427532255649567,
-0.23023919761180878,
0.07451792061328888,
-0.01810256391763687,
0.22586682438850403,
0.08248323947191238,
0.07950104027986526,
-0.22114384174346924,
-0.05557283014059067,
0.055446162819862366,
-0.14889246225357056,
-0.054577428847551346,
-0.04076160490512848,
0.3650854527950287,
0.6675314903259277,
0.00966164655983448,
-0.06373439729213715,
-0.023718232288956642,
-0.20421826839447021,
0.2997973561286926,
-0.2190922051668167,
-0.6285369396209717,
0.3936701714992523,
0.16236725449562073,
0.08872432261705399,
-0.032390281558036804,
0.08121690154075623,
0.21628659963607788,
0.13923461735248566,
-0.04003548249602318,
-0.15020045638084412,
0.4118088483810425,
-0.06104861572384834,
-0.12341046333312988,
-0.1637054681777954,
0.353537917137146,
-0.05952338129281998,
0.11241739988327026,
-0.4336983859539032,
-0.08196055889129639,
0.1118440106511116,
-0.012329582124948502,
-0.36295410990715027,
0.280911922454834,
0.11385272443294525,
-0.07000333070755005,
-0.24111902713775635,
0.15416154265403748,
0.06719633936882019,
-0.23651140928268433,
-0.0029311776161193848,
-0.27724337577819824
] |
https://github.com/huggingface/datasets/pull/2302 | Add SubjQA dataset | > If the dataset is going to be referenced heavily, I think it's worth spending some time to make the dataset card really great :) To start, the information that is currently in the `Data collection` paragraph should probably be organized in the `Dataset Creation` section.
great idea @yjernite! i've added some extra information / moved things as you suggest and will wrap up the rest tomorrow :) | Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond. | 68 | text: Add SubjQA dataset
Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond.
> If the dataset is going to be referenced heavily, I think it's worth spending some time to make the dataset card really great :) To start, the information that is currently in the `Data collection` paragraph should probably be organized in the `Dataset Creation` section.
great idea @yjernite! i've added some extra information / moved things as you suggest and will wrap up the rest tomorrow :) | [
0.06779751181602478,
0.3241816461086273,
-0.0934685617685318,
-0.06936079263687134,
0.09607922285795212,
0.2614573538303375,
0.009283803403377533,
0.06542669981718063,
-0.41509920358657837,
-0.04137738049030304,
-0.03548498451709747,
0.4866460859775543,
0.23771746456623077,
0.2480897158384323,
0.1948215663433075,
-0.046271324157714844,
0.00739799439907074,
0.11934956908226013,
0.08162334561347961,
-0.11060146242380142,
-0.26597172021865845,
0.11875233799219131,
-0.23592747747898102,
0.02944120392203331,
-0.2281629890203476,
-0.3899281322956085,
-0.005935005843639374,
0.20360684394836426,
-0.29756006598472595,
-0.33525538444519043,
0.015063567087054253,
0.243014395236969,
-0.13167427480220795,
0.1323317587375641,
-0.00010460706835146993,
-0.21032275259494781,
-0.020028263330459595,
-0.2304711490869522,
-0.41072872281074524,
0.01597674936056137,
-0.24799513816833496,
-0.20147424936294556,
-0.13003450632095337,
-0.03929077461361885,
-0.057856813073158264,
-0.06359691172838211,
0.05847601592540741,
-0.3526427745819092,
0.24843727052211761,
0.21263019740581512,
0.21181637048721313,
-0.13961350917816162,
-0.3021513819694519,
-0.2623344659805298,
-0.15691134333610535,
0.05427299812436104,
-0.2275325506925583,
0.06156108155846596,
0.4025045931339264,
0.00919198989868164,
-0.13894060254096985,
0.1292489618062973,
0.08449926227331161,
-0.23021654784679413,
0.3020670711994171,
0.0947873443365097,
0.044553596526384354,
-0.470843642950058,
0.22075548768043518,
0.18927037715911865,
0.6801321506500244,
-0.34612199664115906,
-0.3985291123390198,
-0.29001563787460327,
0.2510351240634918,
-0.0948786810040474,
-0.050889357924461365,
0.05740121006965637,
0.07895782589912415,
0.18378384411334991,
0.15420328080654144,
-0.00417871680110693,
-0.29010090231895447,
-0.14109551906585693,
0.15731337666511536,
0.24547313153743744,
0.046393271535634995,
-0.09971626847982407,
0.08635970950126648,
-0.1110415905714035,
-0.005367925390601158,
0.15558403730392456,
-0.316613107919693,
0.09915854036808014,
-0.45124614238739014,
-0.22679270803928375,
0.15303026139736176,
-0.27539223432540894,
0.16284185647964478,
0.09318850934505463,
0.31140565872192383,
0.16844365000724792,
0.24226006865501404,
0.0500003919005394,
0.3557814955711365,
0.05198017880320549,
0.28931471705436707,
-0.11195448786020279,
-0.09859810769557953,
-0.2880288362503052,
0.2611677944660187,
-0.01566953957080841,
0.02888534963130951,
0.021667953580617905,
-0.41262301802635193,
0.011410234495997429,
0.002247024327516556,
0.12253159284591675,
-0.15944115817546844,
0.19138213992118835,
0.009156998246908188,
-0.205470472574234,
-0.01052942592650652,
0.18374161422252655,
0.027159996330738068,
-0.11355189234018326,
-0.3692358732223511,
0.22858621180057526,
0.04270239174365997,
-0.43274325132369995,
-0.11904220283031464,
0.07675597816705704,
-0.3131667673587799,
0.13124613463878632,
0.05612429603934288,
0.1677032709121704,
-0.016423264518380165,
0.07634616643190384,
0.13902969658374786,
0.14553767442703247,
0.14317668974399567,
-0.14130398631095886,
0.3721633553504944,
0.22542303800582886,
0.29431962966918945,
0.1871308833360672,
0.03681240975856781,
-0.04253572225570679,
-0.2011488378047943,
0.24416178464889526,
-0.050883226096630096,
-0.30105477571487427,
-0.4442528486251831,
0.2079642415046692,
-0.1248326301574707,
-0.25062698125839233,
-0.02106902003288269,
0.5266047716140747,
0.056258220225572586,
-0.05734897404909134,
0.1436353325843811,
0.3999231457710266,
-0.16720199584960938,
-0.10541372001171112,
0.0311626847833395,
0.41947776079177856,
-0.6903197169303894,
-0.027093105018138885,
-0.1860758364200592,
-0.04780104383826256,
0.03796833008527756,
0.16527783870697021,
-0.08727553486824036,
0.4348876476287842,
0.06920462101697922,
0.2025258094072342,
0.41288161277770996,
0.029663991183042526,
-0.5397672653198242,
0.2127874195575714,
-0.4782133102416992,
-0.15019507706165314,
-0.09226157516241074,
0.24605180323123932,
0.34151387214660645,
-0.01897471211850643,
0.1788834035396576,
0.21902602910995483,
-0.2832218110561371,
0.060310155153274536,
-0.10707417875528336,
-0.13200709223747253,
0.09678088128566742,
0.26464906334877014,
-0.21512483060359955,
0.13805492222309113,
-0.028786353766918182,
-0.1286328136920929,
0.2527293562889099,
0.09312625229358673,
0.12448801845312119,
0.13074994087219238,
0.5193787813186646,
-0.1495111882686615,
0.14094865322113037,
0.016912143677473068,
-0.2285289764404297,
0.010049562901258469,
-0.2654874324798584,
0.4131362736225128,
0.22507455945014954,
-0.10240519791841507,
-0.49500566720962524,
0.006943574175238609,
-0.20168738067150116,
-0.32107847929000854,
0.12242254614830017,
-0.18508344888687134,
-0.2096829116344452,
-0.16107995808124542,
-0.20032691955566406,
0.19887427985668182,
-0.11197642236948013,
0.03074660710990429,
-0.2584579885005951,
-0.13021712005138397,
-0.24317549169063568,
0.05307314544916153,
-0.036842238157987595,
0.3024216294288635,
0.03367853909730911,
0.07034388929605484,
-0.03729879483580589,
0.2579320967197418,
-0.2680143713951111,
0.12462833523750305,
0.5116841197013855,
-0.05443328619003296,
0.141992449760437,
-0.1977185755968094,
0.21166999638080597,
0.0008784737437963486,
-0.06397660821676254,
-0.004956524819135666,
-0.4967881143093109,
0.35836008191108704,
-0.07428206503391266,
0.09243427962064743,
-0.12781697511672974,
0.03947478532791138,
0.2535979449748993,
0.05812400206923485,
-0.12347910553216934,
-0.2157284915447235,
-0.11226089298725128,
0.29350075125694275,
0.12898841500282288,
-0.009124217554926872,
0.033990196883678436,
0.4652617275714874,
0.19776023924350739,
-0.02287108823657036,
0.14607568085193634,
0.3595356345176697,
-0.09797409921884537,
-0.17465734481811523,
-0.024940041825175285,
0.15870673954486847,
0.300275057554245,
0.27114567160606384,
0.05278436839580536,
-0.08387895673513412,
0.08535642176866531,
-0.295918732881546,
0.12199988216161728,
0.46735548973083496,
-0.07490584999322891,
0.12223654985427856,
0.3121192157268524,
0.2629537284374237,
-0.11569047719240189,
0.10417410731315613,
0.015720535069704056,
0.2669055759906769,
-0.1234416514635086,
0.15752342343330383,
0.19959335029125214,
-0.16124771535396576,
0.07744399458169937,
-0.4908239543437958,
-0.01201319694519043,
-0.3973603844642639,
0.4430307149887085,
-0.3882555365562439,
-0.2259855419397354,
0.47642654180526733,
0.2510572075843811,
0.8288019895553589,
-0.06324201077222824,
0.08651946485042572,
0.11390767991542816,
-0.24306942522525787,
0.10327410697937012,
0.20789270102977753,
-0.061805590987205505,
0.2685362696647644,
0.3030647039413452,
-0.11814834177494049,
0.10856089740991592,
-0.173684760928154,
-0.3809435963630676,
0.23149260878562927,
0.02356281690299511,
0.6790675520896912,
0.09786241501569748,
0.21442067623138428,
-0.1852383017539978,
-0.4669981002807617,
0.02330176532268524,
0.17963987588882446,
-0.24059385061264038,
-0.1399068534374237,
-0.42969954013824463,
0.06223011389374733,
-0.2066449671983719,
-0.5730351805686951,
-0.10811271518468857,
-0.4178481698036194,
0.19199593365192413,
-0.15670707821846008,
0.19036155939102173,
0.3078690469264984,
-0.004546156618744135,
-0.15753622353076935,
0.05758611485362053,
-0.12956935167312622,
-0.3021193742752075,
-0.37626540660858154,
0.41642946004867554,
-0.2477332353591919,
-0.17959889769554138,
0.028765592724084854,
-0.3505218029022217,
0.19940043985843658,
-0.4739251732826233,
-0.03062225878238678,
0.08461154252290726,
0.07901982963085175,
-0.05719681829214096,
0.07917389273643494,
-0.08737128227949142,
0.16252386569976807,
-0.26209139823913574,
-0.2098660171031952,
-0.07059898227453232,
-0.4546974301338196,
0.30175983905792236,
0.48612403869628906,
0.33471453189849854,
-0.3111269176006317,
0.2693471908569336,
-0.020874055102467537,
0.4633607268333435,
0.2535407543182373,
0.21532760560512543,
-0.013686314225196838,
0.08409743756055832,
0.07617730647325516,
0.08926648646593094,
-0.3783636689186096,
0.3236464262008667,
0.022936776280403137,
-0.04217754676938057,
0.37097620964050293,
0.09307263046503067,
-0.09874725341796875,
0.11018657684326172,
0.12904714047908783,
-0.4020744562149048,
-0.24955689907073975,
0.32723748683929443,
-0.024493396282196045,
0.023862428963184357,
0.03883282467722893,
-0.049226291477680206,
-0.4041733741760254,
0.10646094381809235,
-0.1459137350320816,
-0.025137215852737427,
0.2869958281517029,
-0.06583384424448013,
-0.3055361807346344,
0.026555392891168594,
-0.2569023668766022,
-0.057154521346092224,
0.03843022510409355,
0.07600352168083191,
-0.28280189633369446,
-0.14174051582813263,
0.041910141706466675,
0.1273575723171234,
0.5610038638114929,
-0.33641737699508667,
-0.36002039909362793,
0.1317967176437378,
0.32359778881073,
-0.10923153907060623,
0.052992869168519974,
0.05006261542439461,
0.23084938526153564,
0.5753363370895386,
-0.17671939730644226,
0.04802762717008591,
0.0700378343462944,
0.49579086899757385,
-0.379451185464859,
-0.2547491192817688,
-0.10579271614551544,
-0.2835555970668793,
-0.26760903000831604,
-0.26050493121147156,
0.2716001868247986,
0.010556844994425774,
-0.057121649384498596,
0.24532966315746307,
-0.2531031668186188,
0.4776674509048462,
-0.06549204885959625,
0.16398200392723083,
0.42460620403289795,
0.18881547451019287,
0.4364178776741028,
0.18509039282798767,
0.18454521894454956,
-0.021420180797576904,
0.3237690031528473,
0.2748154103755951,
-0.08661296963691711,
-0.003204554319381714,
0.39748555421829224,
-0.4849461615085602,
0.5198611617088318,
0.3967074751853943,
0.3114890456199646,
0.3030287027359009,
0.022500256076455116,
0.06652393937110901,
-0.32157066464424133,
-0.09000129252672195,
-0.04934648424386978,
-0.2322576493024826,
-0.12345808744430542,
-0.2973382771015167,
0.5073261857032776,
-0.23005256056785583,
-0.31548628211021423,
-0.13492998480796814,
0.19391953945159912,
-0.04884617030620575,
0.25397640466690063,
0.470758318901062,
1.0720866918563843,
0.11697060614824295,
-0.03410632535815239,
-0.04113218933343887,
-0.06797648966312408,
0.32071182131767273,
-0.2493918091058731,
0.15548114478588104,
-0.4121585786342621,
-0.22876262664794922,
-0.020864306017756462,
-0.08931978046894073,
-0.11648385971784592,
0.33137720823287964,
-0.43264663219451904,
0.027905814349651337,
-0.000035665929317474365,
0.11804623901844025,
0.229641854763031,
0.27352792024612427,
-0.07957076281309128,
-0.4657424986362457,
-0.17513997852802277,
0.10612541437149048,
-0.0519062802195549,
-0.17954294383525848,
-0.09196296334266663,
-0.4622969627380371,
-0.2786484360694885,
0.1821199655532837,
-0.2330154925584793,
-0.1920548975467682,
-0.19491185247898102,
-0.29507744312286377,
0.2930836081504822,
-0.20658156275749207,
0.4624176621437073,
0.20469209551811218,
0.48471570014953613,
-0.06649352610111237,
-0.21126611530780792,
0.2560442388057709,
-0.0410919189453125,
-0.03686399757862091,
0.003076136577874422,
-0.11121120303869247,
0.300344854593277,
-0.0832669734954834,
-0.18535441160202026,
0.042422980070114136,
0.06015521287918091,
-0.16305011510849,
-0.2852616608142853,
0.3098154067993164,
0.18614788353443146,
-0.28910303115844727,
-0.1384189873933792,
-0.05098065733909607,
0.007971402257680893,
-0.48290714621543884,
0.1539124697446823,
0.21181920170783997,
-0.054214201867580414,
0.16102400422096252,
0.024126483127474785,
-0.03259395807981491,
-0.2024853676557541,
-0.0129452645778656,
0.061264388263225555,
-0.12279611080884933,
0.10482455044984818,
0.2931327223777771,
-0.10370805859565735,
-0.388060599565506,
0.22398656606674194,
0.08431345969438553,
-0.0867425724864006,
-0.09816229343414307,
-0.018551090732216835,
-0.5518307089805603,
-0.07190100848674774,
0.22654856741428375,
0.2002284675836563,
0.2363719344139099,
-0.420850545167923,
-0.18856675922870636,
-0.3406129479408264,
0.29269886016845703,
-0.24920867383480072,
0.056047771126031876,
0.000374525785446167,
0.20122678577899933,
0.2852548360824585,
0.5826975703239441,
-0.4183617830276489,
-0.2521715462207794,
-0.3322503864765167,
0.08978204429149628,
0.10685189813375473,
-0.264657199382782,
0.012697247788310051,
-0.13419410586357117,
-0.015548464842140675,
-0.09683248400688171,
-0.31216421723365784,
-0.21501943469047546,
-0.07638388872146606,
0.12444720417261124,
-0.07681387662887573,
-0.0842173621058464,
-0.02612125501036644,
0.19086356461048126,
-0.317483127117157,
-0.17470361292362213,
-0.04469199478626251,
-0.30669763684272766,
0.18156683444976807,
0.06209249421954155,
-0.041577745229005814,
-0.06277792900800705,
-0.13289614021778107,
-0.1397494077682495,
0.21680901944637299,
0.11850591003894806,
0.3535212576389313,
0.11699861288070679,
-0.3761681318283081,
-0.11195449531078339,
0.2351141721010208,
0.49395281076431274,
0.3200175166130066,
0.05665045231580734,
0.08299794048070908,
-0.1134258508682251,
-0.031169699504971504,
0.39565613865852356,
-0.0793461948633194,
0.016404706984758377,
-0.04471611604094505,
-0.10314563661813736,
-0.16157203912734985,
0.23017270863056183,
-0.3139899671077728,
-0.3050827383995056,
-0.10334950685501099,
-0.4792930483818054,
0.13119366765022278,
0.3411577045917511,
0.25611937046051025,
0.14075857400894165,
0.2425643652677536,
0.3779662251472473,
0.3396437168121338,
-0.25246506929397583,
0.09772205352783203,
0.1833704113960266,
-0.2632504999637604,
0.15585781633853912,
0.41358938813209534,
0.06513009965419769,
0.0809800922870636,
0.3634093403816223,
0.06327572464942932,
0.5178699493408203,
0.287946879863739,
0.1560373306274414,
-0.025333397090435028,
-0.06726193428039551,
0.3760978579521179,
0.5295199751853943,
-0.08738486468791962,
0.013287805020809174,
0.40859103202819824,
0.27952179312705994,
-0.20246358215808868,
-0.03128013759851456,
-0.1840318739414215,
-0.18183228373527527,
-0.2835842967033386,
0.06266987323760986,
-0.3240761458873749,
-0.22457244992256165,
-0.06722478568553925,
-0.3073194921016693,
0.01483250968158245,
-0.17380666732788086,
0.02590426802635193,
-0.38521021604537964,
-0.0021072030067443848,
-0.0851067304611206,
-0.06203904747962952,
0.17814654111862183,
-0.11881183832883835,
-0.20577487349510193,
0.22146540880203247,
-0.08247575163841248,
-0.09587337076663971,
0.06530645489692688,
0.3474060297012329,
0.17856477200984955,
0.09945668280124664,
-0.17009703814983368,
0.21598002314567566,
-0.13320893049240112,
-0.2682822644710541,
0.16733437776565552,
-0.006455695256590843,
0.23959854245185852,
-0.05152490362524986,
0.1890081763267517,
0.20481817424297333,
-0.13250698149204254,
-0.018176399171352386,
0.5605951547622681,
0.3178000748157501,
0.09621846675872803,
-0.15232262015342712,
0.18074309825897217,
-0.20886817574501038,
0.08596214652061462,
0.07418496906757355,
-0.16582947969436646,
-0.005235821008682251,
0.24398714303970337,
-0.348490834236145,
-0.023362435400485992,
-0.19920875132083893,
0.13699959218502045,
0.10917389392852783,
0.5245574712753296,
0.166742205619812,
0.035808660089969635,
-0.3200037479400635,
-0.08897115290164948,
-0.5439780950546265,
0.016049079596996307,
0.38866451382637024,
0.3837350904941559,
0.3792213201522827,
0.3440970182418823,
0.2838972210884094,
0.39041393995285034,
-0.002181828022003174,
0.08452869206666946,
-0.18125978112220764,
-0.04350912570953369,
-0.5140326619148254,
0.038837555795907974,
0.0722845047712326,
0.4272930324077606,
-0.05658925324678421,
0.0746256560087204,
0.06044244393706322,
0.20168733596801758,
0.05908810347318649,
-0.1313374787569046,
-0.2975980043411255,
0.1617339700460434,
0.008924487978219986,
0.25196290016174316,
0.041995689272880554,
0.11909402906894684,
-0.2642596960067749,
-0.021907862275838852,
0.038193441927433014,
-0.18659910559654236,
-0.1276262104511261,
-0.005222134292125702,
0.39232271909713745,
0.6678829193115234,
0.0639006495475769,
-0.08672258257865906,
-0.0755319595336914,
-0.29061266779899597,
0.25099194049835205,
-0.21537870168685913,
-0.6387544870376587,
0.46503666043281555,
0.23235401511192322,
0.18005266785621643,
-0.14838925004005432,
0.05559293180704117,
0.1581422984600067,
0.125497967004776,
-0.08167531341314316,
-0.17056353390216827,
0.347713440656662,
0.09690304100513458,
-0.17094896733760834,
-0.16286563873291016,
0.3040447235107422,
-0.12004401534795761,
0.17267507314682007,
-0.35669034719467163,
-0.08884777128696442,
0.12929072976112366,
0.016957435756921768,
-0.3731430470943451,
0.24081167578697205,
0.11655205488204956,
-0.03322066366672516,
-0.24652795493602753,
0.15551269054412842,
0.06186045706272125,
-0.21990759670734406,
-0.13695555925369263,
-0.3089293837547302
] |
https://github.com/huggingface/datasets/pull/2302 | Add SubjQA dataset | hi @yjernite and @lhoestq, i've fleshed out the dataset card and think this is now ready for another round of review! | Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond. | 21 | text: Add SubjQA dataset
Hello datasetters 🙂!
Here's an interesting dataset about extractive question-answering on _subjective_ product / restaurant reviews. It's quite challenging for models fine-tuned on SQuAD and provides a nice example of domain adaptation (i.e. fine-tuning a SQuAD model on this domain gives better performance).
I found a bug in the start/end indices that I've proposed a fix for here: https://github.com/megagonlabs/SubjQA/pull/2
Unfortunately, the dataset creators are unresponsive, so for now I am using my fork as the source. Will update the URL if/when the creators respond.
hi @yjernite and @lhoestq, i've fleshed out the dataset card and think this is now ready for another round of review! | [
-0.06450016051530838,
0.14372098445892334,
-0.12487250566482544,
-0.06716889142990112,
0.04712701588869095,
0.09476573020219803,
0.1407545655965805,
0.1401733160018921,
-0.24914978444576263,
-0.04797807335853577,
-0.31480345129966736,
0.3506911098957062,
0.06570278108119965,
0.35174447298049927,
0.1615089476108551,
0.002757105976343155,
-0.151126891374588,
-0.017657160758972168,
0.007764115929603577,
-0.20638856291770935,
-0.16652809083461761,
0.19826489686965942,
-0.28060680627822876,
0.06947323679924011,
-0.24674175679683685,
-0.2613874673843384,
-0.025626054033637047,
-0.005672939121723175,
-0.17355702817440033,
-0.21584919095039368,
0.13918693363666534,
0.1376761496067047,
-0.0964595153927803,
0.32149386405944824,
-0.00010524720710236579,
-0.18820185959339142,
-0.0466015562415123,
-0.25775063037872314,
-0.29162946343421936,
0.0405876487493515,
-0.18249833583831787,
0.1101759821176529,
-0.17010566592216492,
0.004279009997844696,
-0.21707960963249207,
-0.11058030277490616,
0.019556604325771332,
-0.3243645131587982,
0.35722386837005615,
0.1757146269083023,
0.19538170099258423,
-0.10931479930877686,
-0.5393370389938354,
-0.18371270596981049,
-0.1625126302242279,
-0.0210605189204216,
-0.15135826170444489,
0.16702976822853088,
0.5713123083114624,
-0.03678992763161659,
-0.21221184730529785,
0.04517894983291626,
0.06814827769994736,
-0.1970604509115219,
-0.028522998094558716,
0.03850141912698746,
0.268412321805954,
-0.4545547068119049,
0.28264564275741577,
0.2978546619415283,
0.5346628427505493,
-0.1017877534031868,
-0.3499184250831604,
-0.35103604197502136,
0.28707727789878845,
0.048080891370773315,
-0.06685430556535721,
-0.04407605528831482,
-0.0028791362419724464,
0.23106996715068817,
0.12696567177772522,
0.15162041783332825,
-0.25449222326278687,
-0.15759339928627014,
0.11799980700016022,
0.18211571872234344,
-0.03182537108659744,
-0.1550929844379425,
0.06931118667125702,
-0.013205625116825104,
-0.1840618997812271,
0.15121811628341675,
-0.2773853540420532,
0.07309947162866592,
-0.5752252340316772,
-0.3714456856250763,
0.17793944478034973,
-0.2478552758693695,
0.09270823746919632,
0.09334240108728409,
0.30819377303123474,
0.26376450061798096,
0.3160983920097351,
-0.04951471835374832,
0.47239503264427185,
0.2738921046257019,
0.41405096650123596,
-0.1158522292971611,
-0.14476050436496735,
-0.2409178614616394,
-0.05122891813516617,
0.2013203203678131,
0.0804128497838974,
0.028999220579862595,
-0.38677993416786194,
-0.0077826473861932755,
-0.1054445207118988,
-0.07405785471200943,
-0.2314450591802597,
0.14530546963214874,
0.02078646421432495,
-0.1487504094839096,
0.21511198580265045,
0.16735365986824036,
-0.023569699376821518,
0.010743312537670135,
-0.4733647108078003,
0.272344708442688,
0.02231219969689846,
-0.3241426646709442,
-0.1293613761663437,
0.12043620645999908,
-0.21802201867103577,
-0.04454229027032852,
0.15040598809719086,
0.32477813959121704,
-0.005260787438601255,
-0.14273355901241302,
0.2212846875190735,
0.13983090221881866,
0.08819612115621567,
-0.15780380368232727,
0.3468320667743683,
0.0870935469865799,
0.23035454750061035,
-0.005996794439852238,
0.09081951528787613,
-0.23100215196609497,
-0.2678620219230652,
0.12890532612800598,
-0.023185350000858307,
-0.3106297254562378,
-0.19900141656398773,
0.2243478149175644,
-0.23981638252735138,
-0.2798536419868469,
0.03005770593881607,
0.5590384602546692,
0.07530269026756287,
0.06565995514392853,
0.15148979425430298,
0.29899710416793823,
-0.19662116467952728,
-0.06587628275156021,
0.01849397085607052,
0.3835793137550354,
-0.5188319683074951,
0.011803306639194489,
-0.022292133420705795,
0.08366531133651733,
0.021982088685035706,
0.19870895147323608,
-0.04435334727168083,
0.2430475950241089,
0.12305650115013123,
0.17987467348575592,
0.38039901852607727,
-0.022623104974627495,
-0.4977230727672577,
0.22506244480609894,
-0.49383193254470825,
-0.1742032915353775,
-0.005542390048503876,
0.17094866931438446,
0.41374149918556213,
-0.029410816729068756,
0.1948540210723877,
0.3463099002838135,
-0.24101001024246216,
-0.1133381575345993,
-0.2670663595199585,
-0.19381354749202728,
0.05871657282114029,
0.41439899802207947,
-0.10504716634750366,
-0.06882550567388535,
-0.22067192196846008,
-0.34246769547462463,
0.2889910936355591,
0.20074160397052765,
0.05994029343128204,
0.08700066804885864,
0.44314348697662354,
-0.2057049423456192,
0.2310573160648346,
-0.13963696360588074,
0.03288056701421738,
0.0007463395595550537,
-0.5780543088912964,
0.39453253149986267,
0.36084234714508057,
-0.11455970257520676,
-0.4882522225379944,
0.03980746865272522,
-0.2680317163467407,
-0.38015493750572205,
0.16764818131923676,
-0.25676625967025757,
-0.1454934924840927,
0.035456929355859756,
-0.25955629348754883,
0.13343626260757446,
0.03994336724281311,
-0.11862136423587799,
-0.08131776750087738,
-0.09951666742563248,
-0.22414030134677887,
0.09094760566949844,
0.03005540370941162,
0.27086952328681946,
-0.052730388939380646,
0.021472657099366188,
0.058409083634614944,
0.12843826413154602,
-0.3119376599788666,
0.21226941049098969,
0.6131467819213867,
-0.08535708487033844,
0.11368191987276077,
-0.09918065369129181,
0.11944156140089035,
0.18852855265140533,
-0.00011945748701691628,
-0.12467576563358307,
-0.4102858304977417,
0.5373113751411438,
-0.10775898396968842,
0.15057267248630524,
-0.2425442934036255,
0.1190844401717186,
0.23335760831832886,
-0.046602763235569,
-0.14557576179504395,
-0.20714719593524933,
0.009715288877487183,
0.09910798072814941,
0.07639126479625702,
-0.08732498437166214,
0.1608937829732895,
0.37156692147254944,
0.09136614203453064,
-0.09049481898546219,
0.3092723488807678,
0.24939173460006714,
-0.009474240243434906,
-0.21472668647766113,
0.017729487270116806,
0.1525222361087799,
0.29060792922973633,
0.31154897809028625,
0.2170451283454895,
-0.13889415562152863,
0.041900597512722015,
-0.23882392048835754,
0.24800536036491394,
0.3656299114227295,
-0.0719139501452446,
0.18643707036972046,
0.4149353504180908,
0.1852208524942398,
-0.2044678032398224,
0.13012100756168365,
-0.051206886768341064,
0.1357026845216751,
-0.024441644549369812,
0.18073239922523499,
-0.0002233460545539856,
0.039076924324035645,
0.14184893667697906,
-0.36376649141311646,
0.019679103046655655,
-0.30862703919410706,
0.6410259008407593,
-0.4448279142379761,
-0.2491452991962433,
0.45579466223716736,
0.18857091665267944,
0.8057069182395935,
-0.02620939165353775,
-0.07641080021858215,
0.08508792519569397,
-0.43825680017471313,
-0.05724711716175079,
0.23463469743728638,
-0.05617895722389221,
0.03731328621506691,
0.1778535544872284,
-0.1291152983903885,
-0.03382861614227295,
0.11496951431035995,
-0.4286586046218872,
0.24980944395065308,
0.15092045068740845,
0.7653558254241943,
0.06956645101308823,
0.029814794659614563,
-0.29903101921081543,
-0.3093109130859375,
0.03479980304837227,
0.1440517157316208,
-0.12751404941082,
-0.012379331514239311,
-0.2535954415798187,
-0.02816948853433132,
-0.20125557482242584,
-0.5291397571563721,
-0.05533748120069504,
-0.3337477147579193,
0.2688472867012024,
-0.19302038848400116,
0.10895925760269165,
0.46836936473846436,
-0.041370540857315063,
-0.04632258415222168,
-0.04158630222082138,
-0.14381065964698792,
-0.47516608238220215,
-0.3120307922363281,
0.446666955947876,
-0.20981884002685547,
-0.1841433048248291,
-0.1425318568944931,
-0.3281736373901367,
0.21278595924377441,
-0.453477680683136,
-0.1427682787179947,
-0.029555149376392365,
0.21573542058467865,
-0.10031713545322418,
0.2293529212474823,
-0.17903009057044983,
0.13375718891620636,
-0.3004200756549835,
-0.17719820141792297,
-0.07760537415742874,
-0.3028184473514557,
0.5009472966194153,
0.6542595624923706,
0.30520299077033997,
-0.3539049029350281,
0.207322359085083,
0.13592226803302765,
0.330325186252594,
0.040764715522527695,
0.29652029275894165,
0.0034956857562065125,
0.02663051337003708,
-0.05785968527197838,
0.09507486969232559,
-0.39243897795677185,
0.3526192605495453,
-0.11117744445800781,
-0.18749840557575226,
0.39494287967681885,
0.09756284952163696,
-0.2975638806819916,
-0.10027425736188889,
0.10319496691226959,
-0.2693805992603302,
-0.26826247572898865,
0.2048397660255432,
0.031127259135246277,
-0.10541190952062607,
0.13364125788211823,
-0.08462397754192352,
-0.3501613438129425,
0.15427368879318237,
-0.036486800760030746,
-0.17737962305545807,
0.25231823325157166,
-0.20542730391025543,
-0.4177488684654236,
0.08142070472240448,
-0.1228090152144432,
0.008963309228420258,
0.04472177103161812,
0.06002817302942276,
-0.19393965601921082,
-0.21384289860725403,
0.13446840643882751,
0.09798863530158997,
0.6785055994987488,
-0.22295355796813965,
-0.08011554181575775,
0.1722487062215805,
0.23400533199310303,
-0.24659189581871033,
-0.073123499751091,
0.025700677186250687,
0.24899356067180634,
0.4725359380245209,
-0.23656895756721497,
0.0461759939789772,
0.08952495455741882,
0.45392411947250366,
-0.38689422607421875,
-0.2557331323623657,
-0.06779102981090546,
-0.25517910718917847,
-0.27924415469169617,
-0.08040851354598999,
0.35046136379241943,
0.0877823606133461,
0.0672103762626648,
0.243118017911911,
-0.19422031939029694,
0.45119911432266235,
-0.055110037326812744,
0.2455061972141266,
0.49227815866470337,
0.06636270880699158,
0.2541668117046356,
0.24516561627388,
-0.08970329165458679,
-0.004437372088432312,
-0.06819139420986176,
0.1588791012763977,
-0.029574129730463028,
-0.010507114231586456,
0.5174362659454346,
-0.5460572838783264,
0.3740740716457367,
0.40316683053970337,
0.2230604887008667,
0.14029861986637115,
-0.036773208528757095,
0.06719435006380081,
-0.19542287290096283,
-0.1608748733997345,
-0.07435441017150879,
-0.13760578632354736,
0.08065512776374817,
-0.052899859845638275,
0.6055067777633667,
-0.4009886085987091,
-0.34167736768722534,
-0.10913795232772827,
0.18002849817276,
0.11523555964231491,
0.32088780403137207,
0.5577500462532043,
1.1146553754806519,
0.20846238732337952,
-0.07674525678157806,
0.13915902376174927,
-0.32110118865966797,
0.12410669028759003,
-0.16441389918327332,
0.30002111196517944,
-0.30212220549583435,
-0.1289534568786621,
0.05755677819252014,
-0.08574815094470978,
-0.14395597577095032,
0.4555661082267761,
-0.24117103219032288,
0.006010564975440502,
0.10986508429050446,
0.08768126368522644,
0.24160189926624298,
0.1012161374092102,
-0.12748947739601135,
-0.24808844923973083,
-0.21060973405838013,
0.13190986216068268,
0.03681885451078415,
-0.04925281181931496,
-0.04984832927584648,
-0.4260656237602234,
-0.24598053097724915,
0.23470960557460785,
-0.20958112180233002,
-0.07344774156808853,
-0.3242686986923218,
-0.12135434150695801,
0.3222901523113251,
-0.36615556478500366,
0.3408846855163574,
0.2510150969028473,
0.28804028034210205,
-0.22241096198558807,
-0.2486599087715149,
0.3032737672328949,
-0.1484088897705078,
0.0568242110311985,
0.13403980433940887,
-0.09888773411512375,
0.33254820108413696,
-0.21125733852386475,
-0.21331259608268738,
-0.009344026446342468,
0.2063433676958084,
-0.09621144086122513,
-0.34880325198173523,
0.3621543049812317,
0.15030315518379211,
-0.19852030277252197,
-0.16074442863464355,
0.003428630530834198,
0.026562679558992386,
-0.42075443267822266,
0.1371973156929016,
0.0921446681022644,
-0.05345788970589638,
0.3170132637023926,
0.03096715360879898,
0.010028071701526642,
-0.13654489815235138,
0.15620404481887817,
0.18597173690795898,
0.024141009896993637,
0.16499176621437073,
0.141675665974617,
-0.19212089478969574,
-0.4741427004337311,
0.14604023098945618,
-0.08265263587236404,
-0.19126659631729126,
-0.077391117811203,
-0.2104557454586029,
-0.7107765078544617,
0.03439156338572502,
0.024009976536035538,
0.2958589792251587,
0.23933491110801697,
-0.25765398144721985,
-0.24788741767406464,
-0.2673959732055664,
0.3371521234512329,
-0.2531243860721588,
-0.07214842736721039,
0.015662457793951035,
0.13560563325881958,
0.2412383258342743,
0.41354799270629883,
-0.4207177460193634,
-0.11386004090309143,
-0.29526951909065247,
0.06494808197021484,
-0.06085621565580368,
-0.3889036476612091,
0.139237642288208,
-0.023284222930669785,
0.031899482011795044,
-0.16936586797237396,
-0.45153433084487915,
-0.20189163088798523,
-0.027473438531160355,
0.10910434275865555,
-0.23753246665000916,
0.056970126926898956,
-0.12000297755002975,
0.2640697956085205,
-0.3910176455974579,
0.008270502090454102,
-0.06636755168437958,
-0.2916966378688812,
0.24290251731872559,
-0.00673053739592433,
-0.15153107047080994,
-0.21465036273002625,
-0.20688295364379883,
-0.04477178305387497,
0.12602654099464417,
-0.07254864275455475,
0.4252050518989563,
0.09451740980148315,
-0.14671815931797028,
-0.14764171838760376,
0.135518878698349,
0.4731873869895935,
0.113029845058918,
-0.14965248107910156,
0.33347538113594055,
-0.14784793555736542,
-0.02485397271811962,
0.45193755626678467,
-0.10381080210208893,
-0.009108558297157288,
-0.0020708697848021984,
-0.05979175120592117,
-0.26590245962142944,
0.2188267707824707,
-0.37618204951286316,
-0.23109854757785797,
0.0480886809527874,
-0.2888225018978119,
0.076698899269104,
0.32439014315605164,
0.22248151898384094,
0.021552108228206635,
0.400598406791687,
0.479026734828949,
0.4629598557949066,
-0.21619968116283417,
0.01503121666610241,
0.11790568381547928,
-0.2897857427597046,
0.05607824772596359,
0.323192298412323,
-0.027068614959716797,
0.12923099100589752,
0.10445190966129303,
0.004623532295227051,
0.5716288089752197,
0.1831754744052887,
0.18241477012634277,
0.03278274089097977,
0.08819574117660522,
0.2472299188375473,
0.5810790061950684,
-0.21160587668418884,
0.2989337742328644,
0.25933629274368286,
0.36598631739616394,
-0.3521381914615631,
0.02961430884897709,
-0.18364833295345306,
-0.21891476213932037,
-0.2665746212005615,
0.0019981078803539276,
-0.2192843109369278,
-0.351504385471344,
-0.23027174174785614,
-0.28105592727661133,
0.015532087534666061,
-0.07434260845184326,
0.039717692881822586,
-0.24990878999233246,
-0.0870848149061203,
0.08335188776254654,
-0.23993951082229614,
0.11766272038221359,
0.10143311321735382,
-0.2331850528717041,
0.21765080094337463,
0.095303475856781,
0.03616851568222046,
0.09593749046325684,
0.4330214560031891,
0.1396399736404419,
-0.031103938817977905,
-0.5226852893829346,
0.13204140961170197,
-0.058578889816999435,
-0.25025105476379395,
0.031410351395606995,
0.11217664927244186,
0.303241491317749,
-0.04800708219408989,
0.3111015856266022,
0.2151806652545929,
-0.07762305438518524,
0.1282009333372116,
0.631922721862793,
0.17852072417736053,
-0.020025402307510376,
-0.33712804317474365,
0.22713081538677216,
-0.16299426555633545,
0.06727902591228485,
-0.08203128725290298,
-0.018194478005170822,
-0.04864906147122383,
-0.0857262909412384,
-0.3264961242675781,
0.02337557077407837,
-0.17612536251544952,
0.13680042326450348,
-0.059202734380960464,
0.5118483901023865,
0.11241555213928223,
-0.10084646195173264,
-0.11314163357019424,
0.09771762788295746,
-0.4207509160041809,
0.10282984375953674,
0.5322343707084656,
0.3106895983219147,
0.31467777490615845,
0.3254272937774658,
0.3415782153606415,
0.48170900344848633,
0.08384846150875092,
0.1502608060836792,
-0.2510294020175934,
-0.020778357982635498,
-0.6061726808547974,
0.15155676007270813,
0.12738864123821259,
0.45426541566848755,
-0.0077325161546468735,
-0.048709262162446976,
0.02069927752017975,
0.2085808962583542,
0.0504685714840889,
-0.026839707046747208,
-0.3229597210884094,
0.06189398840069771,
-0.052847571671009064,
0.24472609162330627,
0.05561719089746475,
0.07271595299243927,
-0.15257903933525085,
0.026768779382109642,
-0.031902629882097244,
-0.21109813451766968,
-0.05965687707066536,
-0.1583859622478485,
0.42922717332839966,
0.45442476868629456,
0.029536662623286247,
-0.1716601699590683,
0.1527065634727478,
-0.11209511756896973,
0.26276904344558716,
-0.16417501866817474,
-0.5353825092315674,
0.23420670628547668,
0.31397414207458496,
0.13510245084762573,
-0.06764969229698181,
0.17297908663749695,
0.1477767825126648,
0.10738609731197357,
0.014251187443733215,
-0.09619378298521042,
0.45665040612220764,
0.03345337510108948,
-0.15052101016044617,
-0.16520629823207855,
0.34087783098220825,
-0.03363402187824249,
0.2398301661014557,
-0.3388098180294037,
-0.20800380408763885,
0.11539442837238312,
0.035906773060560226,
-0.1861017495393753,
0.27302178740501404,
0.2117113471031189,
-0.10539285093545914,
-0.22110427916049957,
-0.05664949119091034,
0.06557463854551315,
-0.17296478152275085,
-0.12047553062438965,
-0.2983477711677551
] |
https://github.com/huggingface/datasets/pull/2295 | Create ExtractManager | Hi @lhoestq,
Once that #2578 has been merged, I would like to ask you to have a look at this PR: it implements the same logic as the one in #2578 but for all the other file compression formats.
Thanks. | Perform refactoring to decouple extract functionality. | 40 | text: Create ExtractManager
Perform refactoring to decouple extract functionality.
Hi @lhoestq,
Once that #2578 has been merged, I would like to ask you to have a look at this PR: it implements the same logic as the one in #2578 but for all the other file compression formats.
Thanks. | [
-0.07460400462150574,
-0.1705704778432846,
-0.14785130321979523,
-0.019750259816646576,
-0.0042205750942230225,
-0.0724688321352005,
-0.15569302439689636,
0.44017207622528076,
-0.16555280983448029,
0.3619539737701416,
-0.05407863110303879,
0.33760300278663635,
-0.0723409429192543,
0.34815627336502075,
0.043947648257017136,
-0.07772286236286163,
-0.09642451256513596,
0.43941551446914673,
0.1757485568523407,
0.32112669944763184,
-0.2601144313812256,
0.26704996824264526,
-0.2347654402256012,
-0.057622477412223816,
0.03600607439875603,
0.3903455138206482,
0.033970609307289124,
0.11014844477176666,
-0.4986662268638611,
-0.18597382307052612,
0.0354209765791893,
0.17790907621383667,
0.07092993706464767,
0.18134517967700958,
-0.0001000294869299978,
-0.2228904366493225,
0.2869158387184143,
-0.15831758081912994,
-0.03869383782148361,
-0.0015755444765090942,
-0.16557195782661438,
-0.2674415707588196,
0.024137722328305244,
-0.16731545329093933,
0.10351159423589706,
-0.14862161874771118,
0.1287859082221985,
0.010083533823490143,
0.43256592750549316,
-0.008881375193595886,
0.29471316933631897,
-0.01259688287973404,
0.2233780473470688,
-0.2924579381942749,
-0.02294030785560608,
0.13739237189292908,
0.048409126698970795,
-0.12373465299606323,
0.3092823624610901,
0.17266309261322021,
0.0962446928024292,
0.25808677077293396,
-0.04385700076818466,
-0.1555105447769165,
0.16210097074508667,
-0.05237020552158356,
0.06897146254777908,
-0.41776078939437866,
0.12412062287330627,
0.04185539856553078,
0.3669702112674713,
0.10043419897556305,
0.11037161946296692,
0.09529449790716171,
-0.14509738981723785,
-0.6576843857765198,
0.0643797367811203,
-0.032550111413002014,
-0.05825149640440941,
0.07696684449911118,
0.06458591669797897,
-0.14232821762561798,
-0.130761057138443,
-0.14974476397037506,
-0.3123726546764374,
-0.035346269607543945,
-0.2912210524082184,
-0.24352827668190002,
0.6345371007919312,
0.25533390045166016,
0.011436817236244678,
0.04260207340121269,
-0.10653451085090637,
0.03560728207230568,
0.2616065740585327,
-0.22926346957683563,
-0.0774681344628334,
-0.20866051316261292,
-0.18691611289978027,
0.17418228089809418,
-0.05464727431535721,
0.2903990149497986,
0.3049360513687134,
0.1742021143436432,
-0.025428038090467453,
0.07774928212165833,
0.1976587176322937,
0.1502675712108612,
0.19197435677051544,
0.22289305925369263,
0.045010197907686234,
-0.23734775185585022,
0.13664847612380981,
-0.09882515668869019,
-0.19465257227420807,
0.15123382210731506,
0.061740294098854065,
-0.24187664687633514,
-0.12096435576677322,
-0.04483390972018242,
0.11132023483514786,
-0.38421449065208435,
-0.1566750556230545,
-0.1707620918750763,
0.10589432716369629,
0.016589729115366936,
0.13283956050872803,
-0.038235828280448914,
-0.06360399723052979,
-0.14862105250358582,
-0.18971119821071625,
0.3256760537624359,
-0.1987900584936142,
-0.20118600130081177,
0.06163693591952324,
-0.13875551521778107,
-0.13815613090991974,
0.11284319311380386,
0.09537381678819656,
-0.05789327993988991,
0.08947422355413437,
0.032655756920576096,
0.428743451833725,
0.15476958453655243,
0.24721664190292358,
-0.24301770329475403,
0.16299432516098022,
-0.17513348162174225,
-0.16571655869483948,
0.09308014065027237,
-0.27832645177841187,
-0.46665096282958984,
-0.2589980959892273,
0.4000430703163147,
0.04997427016496658,
0.06057190150022507,
0.3570312559604645,
0.253593772649765,
-0.3547813594341278,
-0.14662890136241913,
0.09161379933357239,
0.1313287913799286,
0.04068075492978096,
0.019643375650048256,
-0.040448009967803955,
-0.03243418037891388,
-0.5022250413894653,
-0.030825771391391754,
-0.27671584486961365,
-0.214699387550354,
0.5814207196235657,
-0.08655665814876556,
-0.2471570372581482,
-0.1842576563358307,
-0.2501412630081177,
0.30167853832244873,
0.39804399013519287,
-0.07426095008850098,
0.014302373863756657,
0.0982416570186615,
-0.18521249294281006,
0.09177915751934052,
0.35601285099983215,
-0.27300360798835754,
0.15219058096408844,
-0.23051364719867706,
-0.09550593793392181,
0.24106356501579285,
0.04485625773668289,
-0.4068972170352936,
-0.00028320029377937317,
-0.07506698369979858,
-0.1345442235469818,
-0.17383810877799988,
0.1902804672718048,
0.14898444712162018,
-0.0023286640644073486,
0.047520410269498825,
0.18095946311950684,
-0.05509592965245247,
0.10940640419721603,
0.0034401491284370422,
0.18709176778793335,
0.057477012276649475,
0.10104464739561081,
-0.11111493408679962,
0.1997123658657074,
-0.04291923716664314,
-0.5446872711181641,
0.10529187321662903,
0.22099852561950684,
-0.268473744392395,
-0.1265714466571808,
-0.3484950661659241,
-0.11319442093372345,
-0.3769818842411041,
0.3382015824317932,
0.12749233841896057,
0.1694469302892685,
-0.2679295241832733,
-0.2643722891807556,
-0.09832291305065155,
0.189659982919693,
-0.04769640788435936,
-0.1798076182603836,
-0.15028342604637146,
-0.24616609513759613,
-0.10517780482769012,
-0.030432868748903275,
0.018333934247493744,
-0.09309882670640945,
-0.1357395052909851,
0.06738024204969406,
0.13102883100509644,
-0.13561184704303741,
0.18632610142230988,
-0.18434640765190125,
0.04405634105205536,
0.10556400567293167,
0.04480813816189766,
0.0024649668484926224,
0.12090274691581726,
0.07678557187318802,
-0.0031956136226654053,
-0.0729612186551094,
0.19215062260627747,
0.19441933929920197,
-0.198672354221344,
0.16396701335906982,
-0.1305346041917801,
0.024408699944615364,
-0.3052203059196472,
0.27673184871673584,
-0.4221142828464508,
-0.08930061757564545,
0.025699730962514877,
-0.09716884791851044,
0.12083464115858078,
0.18929755687713623,
0.1405545324087143,
0.46322447061538696,
-0.0764138400554657,
-0.20788055658340454,
0.30700257420539856,
0.030915413051843643,
-0.1737816333770752,
-0.4336532950401306,
0.3954428732395172,
0.4099760055541992,
0.2723510265350342,
0.30198225378990173,
-0.03684022277593613,
0.40045422315597534,
-0.10531216114759445,
0.5557577013969421,
0.16423292458057404,
-0.062399111688137054,
0.4169280230998993,
-0.19961418211460114,
0.062450021505355835,
-0.209393709897995,
0.030933570116758347,
0.04832426458597183,
-0.13992621004581451,
0.2514920234680176,
-0.1767493486404419,
-0.45971381664276123,
-0.3433261513710022,
-0.08709985017776489,
0.16578754782676697,
0.0010771416127681732,
-0.16684627532958984,
0.2595563232898712,
0.0807916522026062,
-0.2345614731311798,
-0.08544439822435379,
-0.015604368411004543,
0.26398134231567383,
-0.286824107170105,
0.36384162306785583,
-0.14428381621837616,
0.15812112390995026,
-0.0512755885720253,
0.28899043798446655,
0.0625608041882515,
-0.21716351807117462,
0.15148036181926727,
0.005851738154888153,
0.13808634877204895,
-0.08041324466466904,
-0.36095455288887024,
0.4831031560897827,
-0.020872656255960464,
-0.2936680316925049,
0.3002435564994812,
-0.3344055414199829,
0.15243400633335114,
-0.3120317757129669,
-0.07938697189092636,
-0.09780363738536835,
-0.3791182339191437,
-0.14925971627235413,
0.02326977625489235,
0.057466864585876465,
-0.3722056746482849,
-0.205057293176651,
-0.18534739315509796,
-0.4175562858581543,
0.28946223855018616,
-0.05418121814727783,
0.1866295337677002,
0.28400328755378723,
-0.28768932819366455,
0.07723042368888855,
0.0477919802069664,
0.12935465574264526,
-0.32391631603240967,
-0.16665616631507874,
0.07519710063934326,
-0.3583739101886749,
-0.08839994668960571,
0.003947295248508453,
0.00732538104057312,
-0.11096230149269104,
-0.06166592240333557,
0.2706732749938965,
-0.28715288639068604,
-0.10465331375598907,
-0.24144472181797028,
-0.04579325020313263,
0.21430999040603638,
0.46677133440971375,
0.09630194306373596,
-0.337004154920578,
-0.12086400389671326,
-0.10032545030117035,
0.15417668223381042,
0.14492756128311157,
0.06362761557102203,
-0.1322946548461914,
-0.0006858333945274353,
-0.040264055132865906,
-0.08259275555610657,
-0.18286296725273132,
0.19760145246982574,
0.16158053278923035,
0.20447590947151184,
0.2484813630580902,
-0.037356093525886536,
0.04874748736619949,
-0.0435226708650589,
0.05714630335569382,
-0.17160111665725708,
0.27945220470428467,
-0.17847934365272522,
-0.01281682401895523,
-0.12950105965137482,
-0.10113842785358429,
-0.13780395686626434,
-0.1323724240064621,
0.047153670340776443,
0.45389828085899353,
0.1856634020805359,
-0.14467011392116547,
-0.3014090657234192,
0.06964708864688873,
0.3560945689678192,
0.19454707205295563,
0.11594993621110916,
0.47308340668678284,
-0.05393647402524948,
-0.23870588839054108,
-0.028538821265101433,
-0.0935327336192131,
0.3854731321334839,
0.1150435209274292,
-0.35230621695518494,
-0.037179313600063324,
-0.5533304810523987,
-0.022737935185432434,
-0.030794892460107803,
0.35506248474121094,
-0.044417157769203186,
-0.19952894747257233,
0.20962250232696533,
-0.315024197101593,
0.47636011242866516,
-0.2613793611526489,
-0.14668190479278564,
0.2543233036994934,
-0.03539455309510231,
0.20526738464832306,
-0.23382526636123657,
-0.43019920587539673,
0.36299219727516174,
0.008753503672778606,
-0.022663580253720284,
-0.1044158861041069,
-0.0682092159986496,
-0.10459010303020477,
-0.174830362200737,
-0.1891012191772461,
0.25978517532348633,
0.16466954350471497,
-0.17890313267707825,
0.02856268361210823,
0.059147775173187256,
-0.2591935694217682,
0.25800248980522156,
-0.048829417675733566,
0.36660513281822205,
-0.2833094596862793,
-0.25066709518432617,
-0.07109572738409042,
0.12976209819316864,
0.2594645917415619,
0.024988772347569466,
-0.10708105564117432,
-0.11413218080997467,
0.25106266140937805,
-0.3271946310997009,
0.3381456136703491,
0.13769695162773132,
0.09874524176120758,
0.367898166179657,
-0.1460229456424713,
0.18311713635921478,
-0.3162880837917328,
-0.3139980733394623,
0.17682331800460815,
-0.18725624680519104,
0.057883892208337784,
0.11015518009662628,
0.23782458901405334,
0.45200908184051514,
0.02708403766155243,
0.16204683482646942,
-0.21500886976718903,
-0.16920886933803558,
-0.1440313458442688,
0.15148277580738068,
0.9115462303161621,
0.28519266843795776,
-0.14653153717517853,
-0.06159789115190506,
-0.2849680483341217,
0.24010278284549713,
-0.2801319658756256,
0.3168044686317444,
-0.22089020907878876,
-0.2595817744731903,
-0.17457430064678192,
-0.009734492748975754,
0.1999792456626892,
-0.12022358179092407,
-0.48057836294174194,
-0.027650190517306328,
-0.26277294754981995,
0.12635040283203125,
0.000957101583480835,
0.15825217962265015,
-0.34650918841362,
-0.08768369257450104,
-0.00690833106637001,
0.17677882313728333,
0.09812784194946289,
0.1643017828464508,
-0.10865747928619385,
-0.3714222311973572,
0.24361467361450195,
0.037166304886341095,
0.22951482236385345,
0.09809853881597519,
0.18368443846702576,
0.1622818112373352,
0.1426856368780136,
-0.11885562539100647,
-0.08075322210788727,
-0.19030903279781342,
-0.04610327631235123,
-0.1059025377035141,
0.047720909118652344,
0.0010130926966667175,
0.06093708053231239,
0.013849821873009205,
-0.03319630026817322,
-0.17601557075977325,
0.28595438599586487,
-0.2716030478477478,
0.14715221524238586,
0.1929914653301239,
-0.0628591999411583,
-0.14580810070037842,
0.03933383524417877,
0.16911394894123077,
0.14367252588272095,
0.05371410772204399,
-0.22886574268341064,
0.10085509717464447,
-0.26437267661094666,
-0.1650656908750534,
0.2622576951980591,
-0.11787435412406921,
-0.3021547496318817,
0.07700570672750473,
-0.16477446258068085,
0.022266142070293427,
-0.03281073272228241,
0.08151910454034805,
0.20270299911499023,
-0.2947927713394165,
0.17347808182239532,
-0.2163221389055252,
-0.11125075072050095,
-0.36789754033088684,
-0.4522153437137604,
-0.010374803096055984,
-0.13627073168754578,
0.6040293574333191,
0.06796659529209137,
-0.27633196115493774,
0.27472877502441406,
0.14535576105117798,
0.0787670910358429,
0.10087290406227112,
-0.3727741539478302,
-0.0406462699174881,
-0.18532945215702057,
-0.06192833185195923,
-0.3465839922428131,
0.27845069766044617,
-0.15165506303310394,
0.41444817185401917,
0.08590973168611526,
0.07262545078992844,
-0.48962855339050293,
0.26319292187690735,
0.15571001172065735,
0.044180434197187424,
-0.006636118516325951,
-0.29894012212753296,
-0.15747736394405365,
0.06464742124080658,
0.13755899667739868,
0.43007194995880127,
-0.2716519832611084,
-0.31555289030075073,
-0.022062061354517937,
0.06855723261833191,
-0.2940065264701843,
0.02145601063966751,
0.21919001638889313,
0.2603108882904053,
-0.22889018058776855,
0.2123287171125412,
0.08757206797599792,
-0.161913201212883,
0.027143076062202454,
0.11623786389827728,
0.1819370836019516,
-0.03759706765413284,
-0.04515017196536064,
-0.10340750217437744,
0.14344465732574463,
0.43904703855514526,
-0.06782439351081848,
-0.0713595375418663,
-0.43744248151779175,
-0.07302197813987732,
0.03601619228720665,
0.04038579389452934,
0.18862023949623108,
0.050690386444330215,
0.18587440252304077,
0.2187882661819458,
-0.24955056607723236,
0.03275478258728981,
0.2953515648841858,
0.22540625929832458,
-0.0244784876704216,
-0.16847409307956696,
-0.0821177288889885,
0.3487852215766907,
-0.17002947628498077,
-0.09970322996377945,
-0.17661161720752716,
-0.2060704082250595,
-0.1487925797700882,
0.03449723869562149,
0.4585176408290863,
0.04020410776138306,
0.2529049813747406,
0.2936158776283264,
0.03724663332104683,
0.08200641721487045,
0.30521976947784424,
0.42151376605033875,
-0.03908609598875046,
0.024975169450044632,
0.28842228651046753,
-0.07850807905197144,
0.3883849084377289,
-0.4233456254005432,
-0.14488738775253296,
0.23132190108299255,
0.229826420545578,
0.19808587431907654,
0.2332455813884735,
-0.2230779528617859,
0.08174855262041092,
0.25511598587036133,
0.1903962790966034,
0.4419876039028168,
0.29081007838249207,
0.1807762086391449,
-0.16535042226314545,
0.11897700279951096,
-0.021987367421388626,
0.4090094566345215,
-0.02426907792687416,
0.12493440508842468,
0.09762506186962128,
-0.2974756956100464,
-0.31025025248527527,
0.029769647866487503,
0.2678124010562897,
0.5004367232322693,
0.15904979407787323,
0.018398985266685486,
-0.098971888422966,
0.4954828917980194,
-0.10273811966180801,
-0.17036089301109314,
0.39897653460502625,
-0.19286282360553741,
-0.37844136357307434,
0.3310139775276184,
-0.1678519994020462,
0.25200122594833374,
0.4574226140975952,
0.2633579969406128,
0.12521368265151978,
-0.1382659524679184,
-0.4087715148925781,
-0.045461539179086685,
-0.09039465337991714,
-0.16317112743854523,
0.04223513603210449,
0.23451979458332062,
-0.17338484525680542,
-0.1060907244682312,
0.2853541076183319,
-0.309156209230423,
-0.10848575830459595,
0.004117242991924286,
0.0735010951757431,
-0.11444127559661865,
0.017928749322891235,
0.7600221633911133,
0.017508529126644135,
0.010949810966849327,
0.023802481591701508,
-0.27808523178100586,
-0.331930547952652,
0.23496857285499573,
0.12929320335388184,
-0.05125717446208,
0.031169474124908447,
0.17183701694011688,
0.19751758873462677,
0.019291725009679794,
0.18698331713676453,
-0.5636942386627197,
0.045777346938848495,
-0.32612985372543335,
-0.11353559792041779,
0.20568081736564636,
0.29565688967704773,
-0.18184904754161835,
0.019075727090239525,
0.23146697878837585,
0.20416831970214844,
-0.11758817732334137,
0.08168023824691772,
-0.1393187791109085,
0.21442601084709167,
-0.23498037457466125,
-0.32047033309936523,
0.31132957339286804,
0.6061229109764099,
-0.17351791262626648,
-0.029018385335803032,
-0.06016849726438522,
0.06848914921283722,
-0.12047965824604034,
0.30959606170654297,
-0.22382880747318268,
-0.037861764430999756,
0.19098256528377533,
0.23641462624073029,
0.3534676134586334,
0.18820062279701233,
-0.1820763647556305,
-0.4245808720588684,
-0.19787023961544037,
0.30725786089897156,
0.5510939955711365,
-0.1775464564561844,
0.05787345767021179,
0.20449404418468475,
0.05155318230390549,
-0.16212689876556396,
0.17172980308532715,
-0.4159531593322754,
0.28199705481529236,
-0.1655808687210083,
0.1374475061893463,
-0.4026948809623718,
0.1210893914103508,
-0.030581146478652954,
-0.05324578285217285,
0.4507956802845001,
0.573890745639801,
0.07857666909694672,
-0.10469050705432892,
-0.5430662631988525,
-0.33350178599357605,
0.21355769038200378,
0.2474038004875183,
-0.33891725540161133,
0.060832634568214417,
0.21879151463508606,
0.08879309892654419,
0.16781388223171234,
-0.26329654455184937,
0.014296889305114746,
0.04167421534657478,
-0.1779175102710724,
0.01640402525663376,
0.383783757686615,
-0.014937646687030792,
-0.13278433680534363,
-0.04075717180967331,
0.04691159352660179,
0.5001233816146851,
-0.12207047641277313,
-0.3230336308479309,
0.0433497279882431
] |
https://github.com/huggingface/datasets/pull/2290 | Bbaw egyptian | Hi @phiwi,
Thanks for contributing this nice dataset. If you have any blocking problem or question, do not hesitate to ask here. We are pleased to help you.
Could you please first synchronize with our master branch? From your branch `bbaw_egyptian`, type:
```
git fetch upstream master
git merge upstream/master
``` | This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-) | 51 | text: Bbaw egyptian
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-)
Hi @phiwi,
Thanks for contributing this nice dataset. If you have any blocking problem or question, do not hesitate to ask here. We are pleased to help you.
Could you please first synchronize with our master branch? From your branch `bbaw_egyptian`, type:
```
git fetch upstream master
git merge upstream/master
``` | [
0.07390908896923065,
0.09341776371002197,
-0.19400514662265778,
-0.036262162029743195,
-0.07809966802597046,
-0.15797606110572815,
-0.07038190960884094,
0.3881610333919525,
-0.0540829673409462,
0.03294302523136139,
-0.15140047669410706,
-0.041620198637247086,
0.05821346491575241,
0.3829137682914734,
0.00468918401747942,
-0.12354469299316406,
-0.10265710204839706,
0.006037160754203796,
0.05979251116514206,
-0.00329764187335968,
-0.1496056467294693,
0.28417256474494934,
0.05130186676979065,
0.00015514343976974487,
0.2838800251483917,
0.03058030642569065,
-0.24089407920837402,
0.1425790637731552,
-0.43764588236808777,
-0.13372361660003662,
0.05020754039287567,
0.098239466547966,
-0.25856971740722656,
0.4401606321334839,
-0.00009553032577969134,
-0.2811141014099121,
0.31880754232406616,
-0.19953091442584991,
-0.2578558027744293,
-0.059009745717048645,
-0.12146706879138947,
-0.02138650417327881,
-0.3591853082180023,
-0.3934381306171417,
-0.17889538407325745,
0.0723864734172821,
0.22453747689723969,
0.013950154185295105,
0.08955973386764526,
-0.10299775749444962,
0.3142051696777344,
-0.25701016187667847,
0.16412590444087982,
-0.069394052028656,
0.1527634859085083,
0.22606509923934937,
-0.05665202438831329,
-0.07937759160995483,
0.2003416121006012,
0.3293747901916504,
-0.13879862427711487,
0.4798893928527832,
-0.29890599846839905,
-0.12399573624134064,
-0.12432458251714706,
-0.33471953868865967,
0.212180495262146,
-0.23992308974266052,
0.2916056513786316,
0.21349018812179565,
0.15320852398872375,
-0.15271472930908203,
-0.010643377900123596,
0.0861864909529686,
-0.17319567501544952,
-0.17033922672271729,
-0.09540819376707077,
0.4828149676322937,
-0.2885972261428833,
0.08230176568031311,
0.1360117644071579,
-0.2550084590911865,
-0.3305288553237915,
0.1497800350189209,
-0.3377063572406769,
0.1384493112564087,
-0.21603688597679138,
-0.1506415605545044,
0.15197859704494476,
-0.1142578125,
-0.13601993024349213,
0.16802312433719635,
-0.2525646388530731,
0.20969608426094055,
-0.08284156024456024,
-0.06789273023605347,
0.25582244992256165,
0.421524316072464,
0.237802654504776,
0.07074610888957977,
0.1122799962759018,
0.31372740864753723,
0.06975138932466507,
0.16750703752040863,
-0.02528543397784233,
-0.17573973536491394,
0.26304715871810913,
0.05503327399492264,
0.08613477647304535,
0.1909358650445938,
-0.02865534834563732,
0.12317188084125519,
0.024734418839216232,
0.03482235223054886,
-0.1412287801504135,
-0.08119940757751465,
0.026820484548807144,
-0.21903251111507416,
0.26714834570884705,
0.11558568477630615,
-0.36312124133110046,
-0.20397824048995972,
-0.20998336374759674,
0.12450108677148819,
0.02548791840672493,
-0.2313976287841797,
0.4049861431121826,
-0.09066934138536453,
-0.09872961044311523,
-0.33976152539253235,
-0.16069096326828003,
0.2109701782464981,
-0.050390131771564484,
-0.15125316381454468,
-0.08098681271076202,
-0.32878851890563965,
-0.019562773406505585,
-0.03332618996500969,
0.12872153520584106,
0.26129332184791565,
-0.16784697771072388,
-0.11065998673439026,
0.3036741316318512,
0.2627646327018738,
0.08090297877788544,
-0.0029236413538455963,
-0.04495095834136009,
0.0006413906812667847,
-0.269337922334671,
0.034290898591279984,
0.053643859922885895,
-0.18672309815883636,
-0.21581165492534637,
0.32274141907691956,
-0.2080778032541275,
0.0326407253742218,
0.12508171796798706,
0.32382649183273315,
0.12313034385442734,
-0.04496419429779053,
0.11199750751256943,
0.22629597783088684,
-0.3366123139858246,
-0.06434858590364456,
0.10155486315488815,
0.14458593726158142,
-0.06238885596394539,
-0.21667711436748505,
-0.01502823643386364,
0.14962777495384216,
0.15045204758644104,
0.2071991264820099,
0.09901049733161926,
-0.0707898959517479,
-0.014594979584217072,
0.24767731130123138,
-0.06705809384584427,
0.03564407303929329,
-0.33573538064956665,
0.2494010180234909,
0.16732554137706757,
-0.02584746852517128,
0.041858915239572525,
-0.05587202310562134,
0.45853546261787415,
-0.28587424755096436,
0.3940739929676056,
0.32103168964385986,
0.18485145270824432,
0.012724021449685097,
-0.2548229396343231,
-0.48570889234542847,
-0.25821393728256226,
0.29532894492149353,
0.1188117265701294,
-0.16213089227676392,
0.02616085112094879,
-0.1385289430618286,
0.3728225529193878,
-0.019057001918554306,
-0.03336259722709656,
0.35685497522354126,
0.05463840439915657,
0.004881329834461212,
0.19106991589069366,
-0.01587105728685856,
0.37720787525177,
-0.040852680802345276,
0.12262080609798431,
0.7909136414527893,
-0.45013558864593506,
0.09161590039730072,
-0.17814302444458008,
-0.08566413074731827,
-0.15632420778274536,
0.13496807217597961,
0.3736530840396881,
-0.1404423862695694,
-0.13432665169239044,
0.324943870306015,
0.1401708573102951,
0.5738508105278015,
0.07048796862363815,
-0.0906449481844902,
-0.6864691972732544,
-0.002836786210536957,
-0.2241581231355667,
-0.14727893471717834,
0.00004497542977333069,
0.12534691393375397,
0.07615572959184647,
0.0863996297121048,
0.07106129825115204,
-0.10163614898920059,
-0.5477614402770996,
0.19411031901836395,
-0.0645027607679367,
0.4594479203224182,
0.10314653813838959,
-0.31656691431999207,
0.3817882537841797,
-0.020188502967357635,
0.15341462194919586,
-0.11477316915988922,
0.29884010553359985,
0.0422644317150116,
0.25090450048446655,
-0.04921016842126846,
-0.03569941967725754,
-0.05989042669534683,
0.0765639990568161,
-0.19948425889015198,
-0.06982968002557755,
0.06326480209827423,
0.4999719560146332,
0.047392114996910095,
-0.17455530166625977,
0.045503441244363785,
-0.19685254991054535,
0.27456337213516235,
0.47282448410987854,
-0.30596932768821716,
-0.03887326270341873,
0.3371487855911255,
-0.14811959862709045,
-0.14865325391292572,
-0.27606722712516785,
0.02175377681851387,
-0.03363044559955597,
0.10172969847917557,
0.3643868565559387,
-0.026190830394625664,
0.194093257188797,
-0.002125975675880909,
0.1156366616487503,
0.1827143132686615,
0.06663797050714493,
0.003183789551258087,
0.24008551239967346,
0.026911690831184387,
-0.4650985300540924,
-0.027537193149328232,
-0.06460882723331451,
0.07927823066711426,
0.10335433483123779,
0.3534198999404907,
0.15318621695041656,
-0.47198405861854553,
0.22184975445270538,
-0.4862062931060791,
-0.19767947494983673,
-0.3567071855068207,
0.11052536964416504,
-0.019002798944711685,
0.1052805483341217,
-0.049782782793045044,
0.13806287944316864,
0.21173550188541412,
-0.04047827050089836,
-0.081389881670475,
-0.43484532833099365,
-0.3360263407230377,
-0.11920043081045151,
0.23748373985290527,
-0.00704421941190958,
-0.04132457077503204,
0.2326485812664032,
-0.3318217098712921,
-0.14040102064609528,
0.15518616139888763,
-0.39911460876464844,
0.21862994134426117,
-0.33480823040008545,
0.1621602326631546,
0.22780054807662964,
0.21268075704574585,
-0.3405926823616028,
-0.17051255702972412,
0.060247182846069336,
-0.16196410357952118,
-0.22463729977607727,
0.13949832320213318,
-0.18138675391674042,
0.23042863607406616,
-0.11405457556247711,
-0.07817453891038895,
-0.1568858027458191,
-0.19710412621498108,
0.2443440556526184,
-0.021936845034360886,
0.28590476512908936,
0.07367022335529327,
-0.2521202564239502,
-0.20058387517929077,
0.3708217740058899,
0.017935320734977722,
-0.3846597671508789,
-0.7618831992149353,
0.2591089904308319,
0.03238123282790184,
-0.2195374220609665,
-0.008975904434919357,
0.027607519179582596,
0.14747682213783264,
-0.16450795531272888,
-0.2710287570953369,
0.35237744450569153,
-0.17308232188224792,
-0.15750455856323242,
-0.03027953952550888,
-0.13344122469425201,
0.041863031685352325,
-0.00041265925392508507,
-0.16547361016273499,
-0.07447022199630737,
0.04274600371718407,
0.1013459861278534,
0.331577867269516,
0.25216957926750183,
-0.0006854664534330368,
0.03884255886077881,
0.4394053518772125,
-0.17582960426807404,
-0.1594468057155609,
0.29129117727279663,
0.12498408555984497,
0.3960293233394623,
0.014330249279737473,
0.08818459510803223,
-0.2259274423122406,
0.0458882637321949,
-0.02101278305053711,
-0.1459803283214569,
0.04353427141904831,
0.23708733916282654,
-0.27133798599243164,
0.013891156762838364,
-0.32889440655708313,
-0.3107594847679138,
-0.4389840364456177,
0.13667717576026917,
-0.11342211067676544,
0.06566570699214935,
-0.14757512509822845,
-0.33436331152915955,
-0.058229491114616394,
0.04523000121116638,
0.11535976827144623,
0.13009177148342133,
-0.09862732142210007,
0.15015959739685059,
0.05667890980839729,
0.21623606979846954,
-0.6257889866828918,
0.17944037914276123,
-0.08768200129270554,
-0.19655808806419373,
-0.27838870882987976,
0.06332232058048248,
0.22098073363304138,
-0.1395828127861023,
0.27859586477279663,
-0.18901754915714264,
0.22626104950904846,
0.2195625603199005,
0.06763006746768951,
0.07998012006282806,
0.08643701672554016,
-0.062310054898262024,
-0.24748313426971436,
0.5333911776542664,
-0.4151901304721832,
-0.43594640493392944,
-0.04467896744608879,
0.2963109612464905,
0.1631658524274826,
-0.08462103456258774,
-0.018146589398384094,
-0.1701413244009018,
-0.6641846299171448,
-0.2381509393453598,
0.05440216511487961,
0.34230929613113403,
-0.031193163245916367,
0.09853635728359222,
0.19138838350772858,
0.15072117745876312,
0.39628979563713074,
0.28075069189071655,
-0.05726771801710129,
-0.21532148122787476,
-0.25803664326667786,
-0.16484755277633667,
0.29082080721855164,
-0.05983996391296387,
-0.03607647866010666,
0.36646753549575806,
0.35632383823394775,
-0.11280684173107147,
-0.14830011129379272,
-0.34616440534591675,
0.09203333407640457,
0.1508759707212448,
0.3385585844516754,
0.17079240083694458,
0.01466636173427105,
0.13958247005939484,
-0.2692050039768219,
-0.20628060400485992,
0.07761922478675842,
0.1540183573961258,
-0.5048379898071289,
-0.3310888111591339,
0.2936939597129822,
-0.09642176330089569,
-0.1646338254213333,
0.09160137176513672,
-0.18546245992183685,
-0.15791961550712585,
0.36980390548706055,
-0.01056748628616333,
1.1413705348968506,
-0.23071397840976715,
0.14399434626102448,
0.07621404528617859,
-0.07570276409387589,
-0.0801926702260971,
-0.12896662950515747,
-0.08010369539260864,
-0.2478683590888977,
-0.03344745561480522,
-0.2425554245710373,
0.2183821201324463,
0.02540149912238121,
0.04338726028800011,
-0.31000953912734985,
0.0853884220123291,
-0.11381417512893677,
-0.18707188963890076,
0.295987069606781,
-0.16987353563308716,
-0.12749768793582916,
-0.0484665222465992,
-0.3566187620162964,
0.31903275847435,
-0.11350283026695251,
0.2907690405845642,
0.1304170787334442,
-0.4611068367958069,
0.1333891749382019,
-0.21383829414844513,
-0.4035069942474365,
0.21848157048225403,
0.11137697845697403,
0.027666393667459488,
-0.09394189715385437,
-0.21346421539783478,
0.1023072600364685,
-0.08998237550258636,
0.16277047991752625,
0.09790930151939392,
0.06383174657821655,
0.1336190402507782,
0.21023499965667725,
-0.288686066865921,
0.20140916109085083,
-0.14783115684986115,
0.19919955730438232,
-0.09696102142333984,
-0.4544302225112915,
0.16026094555854797,
0.0672704353928566,
-0.09262269735336304,
-0.1570730209350586,
0.14959144592285156,
0.09892524778842926,
0.18976834416389465,
-0.06472865492105484,
0.322858601808548,
-0.21879270672798157,
0.006610848009586334,
0.23538033664226532,
0.24628937244415283,
-0.2281743586063385,
0.0496801920235157,
-0.22678641974925995,
-0.1750182807445526,
-0.17816753685474396,
0.24160608649253845,
0.18488860130310059,
-0.07427456974983215,
0.17132078111171722,
0.5028255581855774,
-0.049697741866111755,
-0.298394113779068,
0.02990543842315674,
0.19275915622711182,
-0.1596372127532959,
-0.14150606095790863,
0.10719671100378036,
-0.01862093061208725,
0.2554776072502136,
0.12475353479385376,
-0.08484992384910583,
-0.05621772259473801,
-0.0435234010219574,
-0.3304407298564911,
0.08878327161073685,
0.41914814710617065,
-0.2298308163881302,
-0.06636534631252289,
0.08747372776269913,
0.05098888278007507,
-0.01699998788535595,
0.05088474601507187,
-0.4581470191478729,
0.4368046522140503,
-0.3124691843986511,
0.09034614264965057,
0.07137621194124222,
-0.23131760954856873,
0.10563308000564575,
-0.17663542926311493,
0.2584454119205475,
-0.041036784648895264,
-0.32545897364616394,
-0.3853345513343811,
-0.2317679226398468,
0.04969468712806702,
-0.1007746085524559,
0.13778764009475708,
0.10050220787525177,
-0.14028269052505493,
0.013436916284263134,
0.13842612504959106,
0.17258626222610474,
0.4348751902580261,
0.17501860857009888,
0.14324291050434113,
-0.06376858055591583,
0.3305521607398987,
-0.14269256591796875,
-0.12638919055461884,
0.12340901046991348,
0.11093979328870773,
0.04758469760417938,
-0.07190835475921631,
-0.17546753585338593,
-0.005665332078933716,
0.20934371650218964,
0.28561240434646606,
-0.0876743346452713,
0.0367080494761467,
0.559236466884613,
0.039722997695207596,
0.24517148733139038,
-0.1092011034488678,
0.24591627717018127,
-0.07258450984954834,
-0.16008910536766052,
-0.3965204954147339,
-0.1730029284954071,
0.3021905720233917,
-0.26565098762512207,
-0.22106605768203735,
-0.2244318425655365,
-0.27171871066093445,
0.08743490278720856,
0.2568177878856659,
0.07668688893318176,
-0.000941932201385498,
0.16411367058753967,
-0.020672358572483063,
0.28353479504585266,
-0.11794252693653107,
0.2759420871734619,
0.5075443983078003,
-0.06236020103096962,
-0.11782217025756836,
0.06976917386054993,
0.03883682191371918,
0.14560295641422272,
0.39464056491851807,
0.14769910275936127,
0.12186824530363083,
0.46872323751449585,
0.3298856317996979,
0.09313485026359558,
-0.08146832883358002,
-0.02625318244099617,
0.522172212600708,
0.17169904708862305,
0.227361261844635,
0.14584980905056,
-0.04050775617361069,
0.0949004665017128,
0.01879175379872322,
-0.11046887934207916,
0.278441458940506,
0.2375323474407196,
0.05746481940150261,
0.10934014618396759,
-0.09536229819059372,
-0.14203286170959473,
-0.2105035036802292,
-0.022354234009981155,
0.007570359855890274,
0.054071854799985886,
0.1492938995361328,
0.154933363199234,
-0.05437127500772476,
-0.09529156237840652,
-0.24272656440734863,
0.12509219348430634,
-0.27097493410110474,
0.15627004206180573,
0.3378475606441498,
-0.2183038890361786,
0.06001770496368408,
0.02813989855349064,
0.390905499458313,
-0.22035229206085205,
-0.41686132550239563,
0.4225178360939026,
-0.35956886410713196,
-0.22125476598739624,
0.0310078002512455,
-0.12307636439800262,
0.3473956286907196,
-0.06575453281402588,
0.01175379753112793,
0.25324106216430664,
-0.21891063451766968,
-0.005376353859901428,
0.2541201114654541,
0.12708786129951477,
0.37175655364990234,
0.40345847606658936,
-0.13445211946964264,
-0.10169389843940735,
-0.27331066131591797,
0.06369298696517944,
-0.37809091806411743,
0.03506239876151085,
0.14251680672168732,
0.01448112167418003,
0.12037939578294754,
0.1347266137599945,
0.15761758387088776,
0.013760458678007126,
0.46889403462409973,
0.4911777675151825,
0.16003073751926422,
-0.00463664997369051,
-0.2973628044128418,
-0.1281040906906128,
-0.06542649120092392,
-0.09173017740249634,
-0.06577815860509872,
-0.005903356708586216,
0.038189597427845,
0.6392253637313843,
-0.011641092598438263,
-0.13700030744075775,
-0.05375063046813011,
-0.43291980028152466,
0.03348658233880997,
-0.2724634110927582,
0.12986384332180023,
0.3917931318283081,
0.15939852595329285,
-0.26261839270591736,
-0.09844743460416794,
0.007013816386461258,
-0.025740470737218857,
0.24754497408866882,
-0.29681235551834106,
-0.13113784790039062,
-0.02502281591296196,
-0.10790885984897614,
-0.40616968274116516,
0.03133811801671982,
0.02232980728149414,
-0.25299447774887085,
-0.3600885272026062,
0.31917232275009155,
0.07402238994836807,
0.03657412901520729,
0.5968562960624695,
0.09102340787649155,
0.3271059989929199,
0.08992134034633636,
-0.02871028706431389,
-0.08438298851251602,
0.09222930669784546,
-0.24013406038284302,
0.05989799648523331,
-0.40068864822387695,
0.07499387860298157,
0.13312619924545288,
0.23085898160934448,
-0.23581013083457947,
0.2527787387371063,
0.048311274498701096,
0.028647156432271004,
-0.16769260168075562,
-0.1694808155298233,
0.2598617970943451,
0.05784326791763306,
-0.4094260632991791,
-0.10067000240087509,
-0.05487866699695587,
0.1826440691947937,
0.4411408603191376,
-0.4011276364326477,
0.22198918461799622,
0.07958923280239105,
0.20064550638198853,
-0.4292454421520233,
0.2966327667236328,
0.15451040863990784,
-0.16433067619800568,
-0.2322859913110733,
0.21269431710243225,
0.19372496008872986,
-0.08932877331972122,
-0.1483137458562851,
-0.1887863278388977
] |
https://github.com/huggingface/datasets/pull/2290 | Bbaw egyptian | Thanks ! Can you check that you have `black==21.4b0` and run `make style` again ? This should fix the "check_code_quality" CI issue | This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-) | 22 | text: Bbaw egyptian
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-)
Thanks ! Can you check that you have `black==21.4b0` and run `make style` again ? This should fix the "check_code_quality" CI issue | [
0.027473893016576767,
0.045382559299468994,
-0.14970070123672485,
0.049301713705062866,
-0.036745913326740265,
-0.2708843946456909,
0.0006508678197860718,
0.46172598004341125,
-0.13700619339942932,
0.20621837675571442,
-0.008546101860702038,
0.06579365581274033,
0.12464108318090439,
0.49175554513931274,
-0.08375240862369537,
0.031917668879032135,
-0.18090900778770447,
0.07892225682735443,
0.12117377668619156,
-0.06839685887098312,
-0.1399664282798767,
0.2660236954689026,
-0.03524990379810333,
0.0030824467539787292,
0.19857299327850342,
0.016344506293535233,
-0.1658087819814682,
0.07114091515541077,
-0.39114755392074585,
-0.2138381153345108,
-0.008454283699393272,
0.13425083458423615,
-0.3449735641479492,
0.3992219865322113,
-0.00009540059545543045,
-0.3110736608505249,
0.2960960865020752,
-0.16784198582172394,
-0.05050235614180565,
-0.03133508563041687,
0.06668805330991745,
0.18964225053787231,
-0.32705676555633545,
-0.2962530553340912,
-0.3486114740371704,
0.16878429055213928,
0.06073319911956787,
0.031056173145771027,
0.05446865037083626,
0.0045461878180503845,
0.35918769240379333,
-0.0602814257144928,
0.09317611157894135,
0.024180535227060318,
0.2038160115480423,
0.14243903756141663,
-0.11785101145505905,
-0.0007866062223911285,
0.4156948924064636,
0.23969057202339172,
-0.08194256573915482,
0.49772119522094727,
-0.23779140412807465,
-0.17588964104652405,
-0.1346258819103241,
-0.3675045967102051,
0.1252882480621338,
-0.2936857044696808,
0.25720643997192383,
0.2288757562637329,
0.16394436359405518,
-0.04503104090690613,
0.06389589607715607,
0.26813605427742004,
-0.16990868747234344,
-0.17135058343410492,
0.15262123942375183,
0.3133353888988495,
-0.22796599566936493,
-0.007795214653015137,
-0.04042975604534149,
-0.09118896722793579,
-0.35944658517837524,
0.07455336302518845,
-0.04320642352104187,
0.05850549414753914,
-0.24009385704994202,
-0.14144077897071838,
0.1658305674791336,
0.013128839433193207,
0.0033035455271601677,
0.1541242152452469,
-0.3723078966140747,
0.1849893033504486,
0.06964432448148727,
-0.028199762105941772,
0.32146790623664856,
0.5610719919204712,
0.16388922929763794,
0.09701970219612122,
0.2142251431941986,
0.40355420112609863,
0.1536356508731842,
0.07797927409410477,
-0.1973390430212021,
-0.15412700176239014,
0.25136324763298035,
0.03353153169155121,
0.10449196398258209,
0.14110368490219116,
-0.04684361070394516,
0.08650772273540497,
-0.024173226207494736,
-0.25231191515922546,
-0.00829123705625534,
0.09506736695766449,
0.06800515949726105,
-0.37388649582862854,
0.1581600159406662,
0.2520895302295685,
-0.3518175780773163,
-0.13187642395496368,
-0.1950981765985489,
0.19483476877212524,
0.13598282635211945,
-0.39581793546676636,
0.5408886075019836,
0.03766774758696556,
-0.2708430290222168,
-0.2974931001663208,
-0.13819515705108643,
0.22070209681987762,
-0.09395970404148102,
-0.19779746234416962,
-0.0241590216755867,
-0.20329755544662476,
-0.08176450431346893,
-0.028060652315616608,
0.2642400860786438,
-0.0001233406364917755,
-0.1327173411846161,
-0.06695924699306488,
0.43431103229522705,
0.20890182256698608,
-0.12691357731819153,
0.010412214323878288,
0.14961321651935577,
-0.18351545929908752,
-0.13812997937202454,
0.03296121209859848,
0.02259974181652069,
-0.0560801737010479,
-0.17954577505588531,
0.32648590207099915,
-0.23043213784694672,
0.10937470197677612,
0.24496284127235413,
0.15122008323669434,
0.18659645318984985,
-0.028765741735696793,
0.17017194628715515,
0.1017807349562645,
-0.275788813829422,
-0.06675735116004944,
0.11548114567995071,
0.32752445340156555,
-0.13610845804214478,
-0.12776517868041992,
0.17469121515750885,
0.19558370113372803,
0.3021535277366638,
0.16798388957977295,
0.08050313591957092,
-0.025686301290988922,
-0.08561241626739502,
0.13734473288059235,
0.12106732279062271,
-0.10915344953536987,
-0.22936147451400757,
0.36050084233283997,
0.09609277546405792,
-0.09362288564443588,
-0.013980567455291748,
-0.18900226056575775,
0.40754634141921997,
-0.2331366389989853,
0.2833091616630554,
0.1593560427427292,
0.16594111919403076,
-0.03729932755231857,
-0.47002360224723816,
-0.29734355211257935,
-0.15009959042072296,
0.09952160716056824,
0.21589678525924683,
-0.17401760816574097,
0.04085294157266617,
-0.2948448359966278,
0.37392038106918335,
-0.13826598227024078,
-0.17137297987937927,
0.3036677837371826,
0.2933718264102936,
-0.11313962936401367,
0.06463475525379181,
0.006128489971160889,
0.6197928190231323,
-0.031082211062312126,
0.019023455679416656,
0.706782877445221,
-0.2143869251012802,
0.07389823347330093,
-0.2196083962917328,
-0.19149307906627655,
-0.27501434087753296,
-0.06845586001873016,
0.41100749373435974,
-0.2496623992919922,
-0.2249550223350525,
0.2013177126646042,
0.23197440803050995,
0.4940147399902344,
0.020328739657998085,
-0.1902361661195755,
-0.5394234657287598,
0.055024586617946625,
-0.37105056643486023,
-0.311786025762558,
0.0385771244764328,
0.05512862652540207,
0.13017705082893372,
0.12291976809501648,
-0.2509293854236603,
-0.08024754375219345,
-0.4474148452281952,
0.03964844346046448,
-0.11681010574102402,
0.2975725829601288,
0.035774942487478256,
-0.43916940689086914,
0.2444790154695511,
0.08768258988857269,
0.12141738831996918,
-0.11236503720283508,
0.2948961853981018,
0.11507415026426315,
0.07159203290939331,
-0.07090885192155838,
-0.1267341822385788,
-0.10186898708343506,
0.006338616833090782,
-0.17114290595054626,
-0.17695772647857666,
0.014056548476219177,
0.5870916843414307,
0.048552367836236954,
-0.2651304304599762,
-0.003299964591860771,
-0.14081943035125732,
0.14959847927093506,
0.356736958026886,
-0.17328336834907532,
0.11009432375431061,
0.18125897645950317,
0.11815383285284042,
-0.09787372499704361,
-0.30120939016342163,
0.05781179293990135,
-0.13390062749385834,
0.08750935643911362,
0.1491410881280899,
0.01477569155395031,
0.02233562245965004,
-0.01802913099527359,
0.15337686240673065,
0.14731457829475403,
0.1305377036333084,
0.025630515068769455,
0.04792444407939911,
0.045088477432727814,
-0.5226407051086426,
-0.10286426544189453,
-0.11148625612258911,
-0.0335087925195694,
-0.06466616690158844,
0.33798155188560486,
0.1102471649646759,
-0.280011385679245,
0.06781832128763199,
-0.20535916090011597,
-0.14604689180850983,
-0.2151235044002533,
0.17028690874576569,
-0.016120757907629013,
-0.051542073488235474,
-0.055827975273132324,
0.01957213506102562,
0.19116170704364777,
0.04532551020383835,
-0.12198924273252487,
-0.31348738074302673,
-0.2755720615386963,
-0.19433170557022095,
0.19855380058288574,
0.07613655179738998,
0.1296537071466446,
0.41202521324157715,
-0.4716505706310272,
0.025652263313531876,
0.16115441918373108,
-0.5004494190216064,
0.21781988441944122,
-0.3176572322845459,
0.31810668110847473,
0.216403990983963,
0.186953604221344,
-0.25655364990234375,
-0.1385921835899353,
0.1503290832042694,
-0.13841448724269867,
-0.23316548764705658,
0.18214687705039978,
-0.16789720952510834,
-0.050651416182518005,
-0.2522675096988678,
-0.1913226842880249,
0.11867769062519073,
-0.22175510227680206,
0.015495732426643372,
-0.12749242782592773,
0.2187778651714325,
0.2238740772008896,
-0.09608037769794464,
-0.21773909032344818,
0.36084094643592834,
0.13843205571174622,
-0.49752646684646606,
-0.6842857003211975,
0.31507164239883423,
-0.034788671880960464,
-0.34518328309059143,
-0.10974246263504028,
0.0697781965136528,
0.2939046025276184,
-0.21101349592208862,
-0.20880647003650665,
0.230848029255867,
-0.14349855482578278,
-0.16137580573558807,
0.10320843011140823,
-0.12616069614887238,
0.1686529964208603,
0.02837006375193596,
-0.24771571159362793,
-0.1909443438053131,
0.06907957792282104,
0.11510300636291504,
0.17047551274299622,
0.39886215329170227,
-0.01986290141940117,
0.08050064742565155,
0.24967139959335327,
-0.19395823776721954,
-0.0744020938873291,
0.27142515778541565,
0.2374272346496582,
0.46139729022979736,
0.2607850134372711,
0.07630781084299088,
-0.29630613327026367,
0.21915262937545776,
0.027583852410316467,
-0.3301658034324646,
0.05416083708405495,
0.012959680519998074,
-0.2210756242275238,
-0.0568372905254364,
-0.35946589708328247,
-0.37738439440727234,
-0.46112120151519775,
0.25153595209121704,
-0.17241622507572174,
0.05460084229707718,
-0.15495741367340088,
-0.009271755814552307,
-0.015795571729540825,
0.02563435584306717,
0.25184857845306396,
0.09548884630203247,
-0.03758683055639267,
0.033479318022727966,
0.1115456372499466,
0.0058966027572751045,
-0.4737390875816345,
0.2805754244327545,
-0.04167792573571205,
-0.05577990412712097,
-0.27158188819885254,
-0.029879745095968246,
0.18724673986434937,
-0.1842581331729889,
0.28385916352272034,
-0.2712137699127197,
0.26260799169540405,
0.4253232777118683,
0.07890722900629044,
0.020761845633387566,
-0.05357709154486656,
-0.20504719018936157,
-0.2615755796432495,
0.4678039848804474,
-0.46261560916900635,
-0.3389871418476105,
0.048707447946071625,
0.2491944432258606,
0.10572181642055511,
-0.1432904452085495,
-0.057186681777238846,
-0.2820660173892975,
-0.5469891428947449,
-0.27564001083374023,
0.20918482542037964,
0.3708688020706177,
-0.01039123348891735,
-0.22260241210460663,
0.08225218951702118,
0.20018379390239716,
0.22117459774017334,
0.30688828229904175,
0.0991542786359787,
-0.012041246518492699,
-0.2477017641067505,
-0.12151220440864563,
0.21569320559501648,
-0.20385253429412842,
-0.09310764819383621,
0.21863849461078644,
0.24784736335277557,
-0.008048295974731445,
-0.11709516495466232,
-0.44416874647140503,
-0.00002979487180709839,
0.23071807622909546,
0.14196372032165527,
-0.05283214896917343,
0.012140798382461071,
0.13046804070472717,
-0.3161570429801941,
-0.11398281902074814,
0.07442514598369598,
0.050466496497392654,
-0.4310797154903412,
-0.07660013437271118,
0.2467692792415619,
-0.1546807587146759,
-0.1451779007911682,
0.14026658236980438,
0.015182852745056152,
-0.15310920774936676,
0.5055360198020935,
0.21714532375335693,
1.1741302013397217,
-0.16140080988407135,
-0.046330664306879044,
-0.002103399485349655,
-0.08439326286315918,
-0.2800404727458954,
0.01162070780992508,
-0.09189894050359726,
-0.36456236243247986,
-0.2844391167163849,
-0.12029047310352325,
0.1311924308538437,
0.12877066433429718,
0.009469475597143173,
-0.3331516683101654,
0.05230763182044029,
-0.1109117865562439,
-0.09564334154129028,
0.2816697657108307,
-0.21972493827342987,
-0.08913721144199371,
0.03158179670572281,
-0.22123588621616364,
0.3573201894760132,
-0.07426077127456665,
0.3696097433567047,
-0.05521661788225174,
-0.3717036843299866,
0.11605003476142883,
-0.44794756174087524,
-0.4195442795753479,
0.3115607798099518,
0.053514838218688965,
-0.06401597708463669,
-0.03205914422869682,
-0.17945194244384766,
0.33226150274276733,
0.03001875802874565,
0.37468934059143066,
0.416660338640213,
-0.09101753681898117,
0.18906843662261963,
0.44755205512046814,
-0.17881521582603455,
0.13146723806858063,
-0.14050278067588806,
0.2600294351577759,
-0.086979940533638,
-0.5121090412139893,
0.13334301114082336,
0.046300921589136124,
-0.07181306928396225,
-0.05231407284736633,
0.038016874343156815,
0.014009673148393631,
0.04540841281414032,
0.0312948003411293,
0.20179493725299835,
-0.052424341440200806,
-0.17543403804302216,
0.2774175703525543,
0.2730216383934021,
-0.1757090985774994,
0.23625940084457397,
0.005425676703453064,
-0.1795935034751892,
0.0005173832178115845,
0.0689186379313469,
0.17916113138198853,
-0.11256011575460434,
0.10579407960176468,
0.3463559150695801,
-0.16647250950336456,
-0.39733174443244934,
0.03319995105266571,
0.12832611799240112,
-0.1158350333571434,
-0.05251292511820793,
0.020978035405278206,
-0.10538306832313538,
0.1489628702402115,
0.3453964591026306,
-0.10153363645076752,
0.025633756071329117,
0.0035929791629314423,
-0.26523321866989136,
0.0016063936054706573,
0.2914119362831116,
-0.1812518686056137,
0.12860794365406036,
0.0923558697104454,
0.11417031288146973,
-0.016774309799075127,
0.0578107088804245,
-0.4899025559425354,
0.26907584071159363,
-0.3507964313030243,
0.05177741497755051,
0.1875944435596466,
-0.10067736357450485,
0.1372913271188736,
-0.20214398205280304,
0.19801022112369537,
0.1481248289346695,
-0.24434897303581238,
-0.346407949924469,
-0.24420666694641113,
0.041523486375808716,
-0.120213083922863,
0.10592145472764969,
0.15293864905834198,
-0.10495352745056152,
0.07470551133155823,
0.06018476560711861,
0.17346981167793274,
0.3037094175815582,
0.11766818165779114,
0.03750709071755409,
-0.16149789094924927,
0.27860185503959656,
-0.027624011039733887,
-0.13570594787597656,
0.004067718982696533,
0.36544615030288696,
0.05094915255904198,
-0.2267981767654419,
-0.06657340377569199,
-0.023073352873325348,
0.26856544613838196,
0.27510181069374084,
-0.17568139731884003,
0.12738491594791412,
0.32130691409111023,
-0.023454010486602783,
0.21578645706176758,
-0.03569133207201958,
0.16735409200191498,
-0.059830620884895325,
-0.13126184046268463,
-0.37839534878730774,
-0.10856004059314728,
0.344325453042984,
-0.2221352458000183,
-0.1629357933998108,
-0.4249017834663391,
-0.2668240964412689,
0.11931376159191132,
0.343426376581192,
-0.07305113971233368,
-0.024305112659931183,
0.24690775573253632,
-0.019772738218307495,
0.1488046497106552,
-0.08100385218858719,
0.18181197345256805,
0.2505788207054138,
-0.14603428542613983,
-0.13836027681827545,
0.15199705958366394,
-0.2670119106769562,
-0.13213708996772766,
0.24376869201660156,
0.2392776906490326,
0.13507482409477234,
0.3838485777378082,
0.4381939470767975,
-0.10115564614534378,
-0.02954052947461605,
0.053334951400756836,
0.26355910301208496,
0.16465583443641663,
0.3201078772544861,
0.25498685240745544,
-0.1798883080482483,
0.06156080216169357,
-0.1568184643983841,
-0.23783326148986816,
0.1505531668663025,
0.09888205677270889,
0.03280704841017723,
-0.043715398758649826,
-0.11633488535881042,
-0.09212089329957962,
-0.1340838074684143,
0.04814288765192032,
0.26184654235839844,
-0.06329160928726196,
0.16836407780647278,
0.08047626912593842,
-0.048845842480659485,
-0.1519959270954132,
-0.33945152163505554,
0.24689999222755432,
-0.3834161162376404,
0.30360278487205505,
0.251217782497406,
-0.07774846255779266,
0.11638453602790833,
0.12191859632730484,
0.5022128224372864,
-0.1462423950433731,
-0.40648603439331055,
0.12105220556259155,
-0.3412741422653198,
-0.15168733894824982,
0.014192339032888412,
0.011966816149652004,
0.40084031224250793,
-0.018653105944395065,
0.11024339497089386,
0.243696391582489,
-0.22775433957576752,
0.039455629885196686,
0.18393783271312714,
0.14646710455417633,
0.42259129881858826,
0.25917214155197144,
-0.08130103349685669,
0.04454044997692108,
-0.4902186095714569,
-0.06555203348398209,
-0.31507331132888794,
0.12019483000040054,
0.09106524288654327,
0.034577902406454086,
0.12199998646974564,
0.060980189591646194,
0.16932132840156555,
0.18415552377700806,
0.5047392845153809,
0.40439489483833313,
0.06551893800497055,
-0.08669942617416382,
-0.23792637884616852,
-0.191782146692276,
0.032651156187057495,
-0.08634364604949951,
0.09194383025169373,
-0.1779312938451767,
0.06202302873134613,
0.5307694673538208,
-0.12964923679828644,
0.13757149875164032,
-0.12057677656412125,
-0.24231654405593872,
0.07792320847511292,
-0.256369411945343,
0.2501276135444641,
0.35032719373703003,
0.022894978523254395,
-0.22579391300678253,
-0.08075004070997238,
0.019789844751358032,
0.004322652705013752,
0.332833856344223,
-0.1885792762041092,
-0.15706126391887665,
-0.12501129508018494,
-0.19877642393112183,
-0.16054704785346985,
0.11147832870483398,
0.16419190168380737,
-0.2383926808834076,
-0.39211133122444153,
0.21387159824371338,
0.11842548102140427,
0.23587779700756073,
0.6391106247901917,
0.26373815536499023,
0.42573243379592896,
0.26237523555755615,
-0.022217493504285812,
-0.15670526027679443,
0.148456871509552,
-0.1562221497297287,
-0.038579706102609634,
-0.41810399293899536,
0.12362126260995865,
0.06302791833877563,
0.16538523137569427,
-0.23026525974273682,
0.2968140244483948,
-0.07894669473171234,
0.07555221766233444,
-0.2533818483352661,
-0.37241673469543457,
0.31081730127334595,
0.09031657874584198,
-0.4472276270389557,
-0.12900325655937195,
0.11611464619636536,
0.04830832779407501,
0.33062610030174255,
-0.48876240849494934,
0.13557541370391846,
-0.04284021258354187,
0.1469937562942505,
-0.38317281007766724,
0.28785720467567444,
0.0766669362783432,
-0.05603555962443352,
-0.13053004443645477,
0.32790082693099976,
0.17676708102226257,
-0.04257848113775253,
-0.16523820161819458,
-0.11435025185346603
] |
https://github.com/huggingface/datasets/pull/2290 | Bbaw egyptian | Hi @phiwi, there are still some minor problems in relation with the tags you used in the dataset card (README.md).
Here you can find the output of the metadata validator:
```
WARNING:root:❌ Failed to validate 'datasets/bbaw_egyptian/README.md':
Could not validate the metada, found the following errors:
* field 'size_categories':
['100K<n<1000K'] are not registered tags for 'size_categories', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/size_categories.json
* field 'task_ids':
['machine translation'] are not registered tags for 'task_ids', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/tasks.json
* field 'languages':
['eg'] are not registered tags for 'languages', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/languages.json
``` | This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-) | 86 | text: Bbaw egyptian
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-)
Hi @phiwi, there are still some minor problems in relation with the tags you used in the dataset card (README.md).
Here you can find the output of the metadata validator:
```
WARNING:root:❌ Failed to validate 'datasets/bbaw_egyptian/README.md':
Could not validate the metada, found the following errors:
* field 'size_categories':
['100K<n<1000K'] are not registered tags for 'size_categories', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/size_categories.json
* field 'task_ids':
['machine translation'] are not registered tags for 'task_ids', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/tasks.json
* field 'languages':
['eg'] are not registered tags for 'languages', reference at https://github.com/huggingface/datasets/tree/master/src/datasets/utils/resources/languages.json
``` | [
-0.002251371741294861,
0.007565245032310486,
-0.14680981636047363,
0.17927896976470947,
-0.028163213282823563,
-0.0969587117433548,
-0.06481833755970001,
0.3750089704990387,
-0.06839493662118912,
-0.028237640857696533,
-0.039461515843868256,
0.10425588488578796,
0.04360043257474899,
0.3942790925502777,
0.017608538269996643,
-0.06833163648843765,
-0.08575258404016495,
-0.17749625444412231,
-0.02331370860338211,
-0.06670970469713211,
-0.1347876489162445,
0.2278662621974945,
-0.013676688075065613,
-0.04372134804725647,
0.03179585561156273,
-0.06383374333381653,
-0.24105508625507355,
0.104664146900177,
-0.5342954993247986,
-0.3261667490005493,
0.07778739184141159,
0.016348807141184807,
-0.18790242075920105,
0.46101510524749756,
-0.00009909662912832573,
-0.28084200620651245,
0.3065894842147827,
-0.22708992660045624,
-0.2143542617559433,
-0.16266150772571564,
-0.10242360830307007,
-0.018398882821202278,
-0.3021584749221802,
-0.37130606174468994,
-0.17416474223136902,
-0.12859773635864258,
0.14638711512088776,
-0.08099289238452911,
0.02847420424222946,
-0.0022007348015904427,
0.2947327494621277,
-0.10984206199645996,
0.17041853070259094,
-0.051662568002939224,
0.10335374623537064,
0.3568503260612488,
-0.0821482241153717,
-0.018257837742567062,
0.2606236934661865,
0.24338054656982422,
-0.13719701766967773,
0.5472016334533691,
-0.19124819338321686,
-0.016104597598314285,
-0.011867225170135498,
-0.26145535707473755,
0.11138792335987091,
-0.3807846009731293,
0.34594571590423584,
0.2870241701602936,
0.267738938331604,
-0.21489056944847107,
-0.0949820876121521,
-0.010251305997371674,
-0.24799469113349915,
-0.12862128019332886,
0.0012405961751937866,
0.4711238741874695,
-0.16992102563381195,
0.062334127724170685,
0.024536289274692535,
-0.1795758306980133,
-0.2664279341697693,
0.10286032408475876,
-0.28593432903289795,
0.26435181498527527,
-0.23875585198402405,
-0.14338111877441406,
0.15986375510692596,
-0.1002834141254425,
-0.041606198996305466,
0.22943316400051117,
-0.3126499652862549,
0.321151465177536,
-0.12955278158187866,
-0.004485026001930237,
0.25872111320495605,
0.5113698840141296,
0.2959437668323517,
-0.05211349576711655,
0.13124607503414154,
0.3082042932510376,
0.01409908663481474,
0.10777793824672699,
0.07289859652519226,
-0.1370306760072708,
0.22274160385131836,
0.01580014079809189,
-0.024803437292575836,
0.12326164543628693,
0.009641796350479126,
0.0756976380944252,
-0.057876452803611755,
0.047920942306518555,
-0.17467884719371796,
-0.044171109795570374,
0.052329957485198975,
-0.3201947808265686,
0.23425409197807312,
0.1553114801645279,
-0.2290850281715393,
-0.2666260898113251,
-0.2758515775203705,
0.2504621148109436,
0.026116836816072464,
-0.2808663249015808,
0.2764427065849304,
-0.030244365334510803,
-0.09583715349435806,
-0.2360730916261673,
-0.1534544676542282,
0.28496822714805603,
-0.20288421213626862,
-0.1341012418270111,
0.017454419285058975,
-0.25823974609375,
0.1274702250957489,
-0.08416365087032318,
-0.001177370548248291,
0.12835611402988434,
-0.09153833240270615,
-0.17201544344425201,
0.42645490169525146,
0.2671201527118683,
0.0425262488424778,
0.05416439473628998,
0.05728432163596153,
0.05378560721874237,
-0.26952478289604187,
-0.042514391243457794,
-0.032653696835041046,
-0.09338794648647308,
-0.1785394549369812,
0.2948622405529022,
-0.23263531923294067,
0.04913857579231262,
0.010164499282836914,
0.37485989928245544,
0.1635732352733612,
0.02249639853835106,
0.11499698460102081,
0.18640322983264923,
-0.4162965714931488,
-0.04910677298903465,
0.06682591140270233,
0.2721148431301117,
-0.10173164308071136,
-0.14654132723808289,
0.11215396970510483,
0.18632443249225616,
0.12947097420692444,
0.1767006814479828,
-0.032137852162122726,
0.09833565354347229,
-0.076555535197258,
0.3642193078994751,
-0.08854732662439346,
-0.08959329128265381,
-0.28383615612983704,
0.2821156978607178,
0.16230875253677368,
0.047402508556842804,
0.033971257507801056,
-0.18437111377716064,
0.5267516374588013,
-0.3136802017688751,
0.3098911941051483,
0.1884831190109253,
0.2379767745733261,
-0.0005965344607830048,
-0.31561392545700073,
-0.46639132499694824,
-0.039316944777965546,
0.30888596177101135,
0.09231981635093689,
-0.20163628458976746,
0.11596498638391495,
-0.032970935106277466,
0.38266438245773315,
-0.06268103420734406,
-0.00507016945630312,
0.4170612692832947,
-0.020872730761766434,
-0.0791696161031723,
0.15230830013751984,
-0.11392626911401749,
0.20908507704734802,
-0.07654011249542236,
0.07930628210306168,
0.8320798873901367,
-0.36925268173217773,
0.011698883026838303,
-0.20673108100891113,
-0.21197986602783203,
-0.2391817420721054,
-0.00020739063620567322,
0.33692696690559387,
-0.2303144633769989,
-0.08677968382835388,
0.3161316215991974,
0.07125431299209595,
0.5443639755249023,
0.07100947946310043,
-0.09642163664102554,
-0.7138531804084778,
-0.035944513976573944,
-0.2829897701740265,
-0.20216704905033112,
0.16859546303749084,
0.0915871262550354,
0.08506806194782257,
-0.002304354915395379,
0.05438816919922829,
-0.06036181002855301,
-0.40268534421920776,
0.1760949045419693,
-0.08000274747610092,
0.44328397512435913,
0.21041177213191986,
-0.3522615432739258,
0.38012728095054626,
0.002416815608739853,
0.205898255109787,
-0.1120116263628006,
0.16725951433181763,
0.13954804837703705,
0.05032183974981308,
-0.027892805635929108,
0.07502427697181702,
-0.11923607438802719,
0.0985511988401413,
-0.20531122386455536,
-0.16523420810699463,
0.03344430774450302,
0.4563107192516327,
0.038938574492931366,
-0.17209815979003906,
0.1484745293855667,
-0.2093948870897293,
0.21407590806484222,
0.6531820297241211,
-0.12592677772045135,
0.015480704605579376,
0.31356126070022583,
-0.1639271080493927,
-0.1108914390206337,
-0.1889815330505371,
0.04837535694241524,
0.05776853859424591,
0.13715028762817383,
0.34979555010795593,
0.07772032916545868,
0.06169716268777847,
-0.022969117388129234,
0.13275784254074097,
0.17820385098457336,
0.07870098948478699,
0.05901165306568146,
0.10749100148677826,
0.046940289437770844,
-0.5333619117736816,
-0.054796069860458374,
-0.05183347314596176,
0.15390987694263458,
-0.01691523566842079,
0.2972155213356018,
0.021308748051524162,
-0.4297063946723938,
0.20543573796749115,
-0.5745686888694763,
-0.23995572328567505,
-0.3648294508457184,
0.10419350862503052,
-0.06012296304106712,
0.09582392871379852,
0.01099427230656147,
0.055629435926675797,
0.0675080269575119,
-0.12243587523698807,
-0.009112777188420296,
-0.39903977513313293,
-0.3371101915836334,
-0.14112386107444763,
0.18116572499275208,
0.10728392750024796,
0.13147790729999542,
0.28330495953559875,
-0.4477388858795166,
-0.1540454775094986,
0.08361715823411942,
-0.4227220118045807,
0.3007357120513916,
-0.38220977783203125,
0.20172372460365295,
0.17469127476215363,
0.29009366035461426,
-0.33984774351119995,
-0.15297766029834747,
0.11083918064832687,
-0.12455875426530838,
-0.25475773215293884,
0.07317923754453659,
-0.19319629669189453,
0.07904507964849472,
-0.18403726816177368,
-0.34730690717697144,
-0.14649996161460876,
-0.24331122636795044,
0.2049580216407776,
0.02098756656050682,
0.29256826639175415,
0.226825550198555,
-0.11992987245321274,
-0.13500845432281494,
0.11276569962501526,
0.0633302703499794,
-0.49906039237976074,
-0.7454015016555786,
0.36199262738227844,
0.02225269004702568,
-0.38406163454055786,
0.04295564070343971,
0.15052257478237152,
0.3568008542060852,
-0.1207198053598404,
-0.2614598274230957,
0.19623693823814392,
-0.10334870219230652,
-0.271043986082077,
-0.022459015250205994,
0.07938770204782486,
0.16399528086185455,
-0.00541341258212924,
-0.14913500845432281,
-0.09393686056137085,
0.05404651537537575,
0.1325506567955017,
0.21566379070281982,
0.32802116870880127,
-0.04922029376029968,
0.0956873819231987,
0.43011683225631714,
-0.16822323203086853,
-0.07512608170509338,
0.2215343564748764,
0.2754772901535034,
0.26246213912963867,
0.1011180579662323,
0.06573249399662018,
-0.250444233417511,
0.1241360679268837,
-0.09894309937953949,
-0.0938645452260971,
0.0961657240986824,
0.09474711865186691,
-0.10358545929193497,
-0.010235853493213654,
-0.2433546483516693,
-0.38077303767204285,
-0.3771358132362366,
0.1653764247894287,
-0.0508992001414299,
0.10709480196237564,
-0.03333297744393349,
-0.14693737030029297,
-0.04930185526609421,
0.060627780854701996,
0.2348506599664688,
0.22192713618278503,
-0.07461259514093399,
0.18767017126083374,
-0.14166469871997833,
0.21618495881557465,
-0.6475573182106018,
0.14927494525909424,
-0.1455107480287552,
-0.1306377798318863,
-0.2914395034313202,
0.09939154237508774,
0.15648049116134644,
-0.13136319816112518,
0.3725534677505493,
-0.230764701962471,
0.20646575093269348,
0.2698330879211426,
0.09289300441741943,
-0.05791008472442627,
0.11023001372814178,
-0.14457052946090698,
-0.19699737429618835,
0.5155603885650635,
-0.21597152948379517,
-0.4970669150352478,
-0.047506071627140045,
0.17857131361961365,
0.10447283089160919,
-0.015838410705327988,
-0.030210323631763458,
-0.2774326205253601,
-0.7510738968849182,
-0.3334406614303589,
0.0770357996225357,
0.4663294553756714,
-0.042571112513542175,
0.0661187544465065,
0.14903049170970917,
0.06369152665138245,
0.3189533054828644,
0.37847810983657837,
0.17912937700748444,
-0.01846613921225071,
-0.19712722301483154,
-0.09155665338039398,
0.30879807472229004,
0.10432756692171097,
0.16810333728790283,
0.47617778182029724,
0.2809908390045166,
-0.10642185807228088,
-0.07324965298175812,
-0.48096367716789246,
0.1087300181388855,
0.1858242303133011,
0.28370410203933716,
0.15498724579811096,
-0.045773543417453766,
0.14291569590568542,
-0.3946762681007385,
-0.11681845039129257,
0.08359537273645401,
0.08296862244606018,
-0.5407262444496155,
-0.29899242520332336,
0.35552093386650085,
-0.059875499457120895,
-0.10942689329385757,
0.158130943775177,
-0.009050711989402771,
-0.2826051712036133,
0.402851402759552,
0.011976592242717743,
1.2092905044555664,
-0.12444563210010529,
0.13447533547878265,
-0.003333665430545807,
-0.04581056907773018,
-0.09736105799674988,
-0.1290520429611206,
-0.1421378254890442,
-0.2947857081890106,
-0.08981920778751373,
-0.2082761526107788,
0.17977209389209747,
0.15942031145095825,
0.14062458276748657,
-0.41952940821647644,
0.13988983631134033,
-0.04421735182404518,
-0.2718088924884796,
0.16905750334262848,
0.06820175051689148,
-0.21911829710006714,
-0.1898772120475769,
-0.4816873073577881,
0.301094114780426,
-0.14026212692260742,
0.3139459192752838,
0.07697641849517822,
-0.3773995637893677,
-0.034645818173885345,
-0.30343466997146606,
-0.3325713872909546,
0.2049613893032074,
-0.0358203649520874,
-0.15283125638961792,
-0.02185746282339096,
-0.10636962950229645,
0.3907672166824341,
0.011933088302612305,
0.26784464716911316,
0.11620444059371948,
-0.052891314029693604,
0.1872413009405136,
0.06265653669834137,
-0.27326175570487976,
0.15063129365444183,
-0.21934127807617188,
0.3051585853099823,
-0.08988352119922638,
-0.4693799316883087,
0.08597008883953094,
-0.007972467690706253,
0.11681407690048218,
-0.08571754395961761,
0.12629510462284088,
0.045018620789051056,
0.03531157597899437,
-0.13818739354610443,
0.22028233110904694,
-0.09474913775920868,
-0.028463089838624,
0.23136498034000397,
0.2099705934524536,
-0.22637738287448883,
0.2500019371509552,
-0.057448599487543106,
-0.14701326191425323,
-0.14362497627735138,
0.3768850564956665,
0.11514942348003387,
-0.08480184525251389,
0.13931384682655334,
0.47849196195602417,
-0.11236518621444702,
-0.33950114250183105,
-0.03311514854431152,
0.24663853645324707,
-0.17405590415000916,
-0.26885703206062317,
0.13405919075012207,
-0.06239569932222366,
0.15378506481647491,
0.3157871961593628,
0.0033287182450294495,
-0.15259569883346558,
-0.09052656590938568,
-0.3884759545326233,
0.0073682572692632675,
0.531044602394104,
-0.1859230399131775,
-0.04591716453433037,
0.03507012873888016,
0.10088406503200531,
0.029748784378170967,
0.14447101950645447,
-0.4570806920528412,
0.4337930381298065,
-0.2060866355895996,
0.18406563997268677,
0.10635685175657272,
-0.23004847764968872,
0.18795610964298248,
-0.2425077110528946,
0.20609532296657562,
0.14117653667926788,
-0.36315056681632996,
-0.32496556639671326,
-0.3308217525482178,
0.05114690959453583,
-0.04559725522994995,
0.03441503643989563,
0.13098351657390594,
-0.14255544543266296,
-0.06662897765636444,
0.07224617898464203,
0.15166841447353363,
0.4064318835735321,
0.1469697505235672,
0.10650362074375153,
0.013562582433223724,
0.28775566816329956,
-0.062484778463840485,
-0.15392756462097168,
0.10598810017108917,
0.18726542592048645,
0.12967006862163544,
-0.14241008460521698,
-0.15911361575126648,
0.024611540138721466,
0.20965184271335602,
0.27527767419815063,
-0.009150296449661255,
0.004314124584197998,
0.5142322182655334,
0.021381430327892303,
0.2403320074081421,
0.012176522985100746,
0.2980671525001526,
0.04687812179327011,
-0.1425393968820572,
-0.35095807909965515,
-0.07912971824407578,
0.2967199683189392,
-0.24147653579711914,
-0.24153725802898407,
-0.10097965598106384,
-0.23618753254413605,
0.10345833003520966,
0.2897348403930664,
0.19960501790046692,
0.13276426494121552,
0.056266941130161285,
-0.06376982480287552,
0.4300445020198822,
-0.18660110235214233,
0.1981399804353714,
0.2991015315055847,
-0.1697380393743515,
-0.09188903868198395,
0.2639603018760681,
0.041546035557985306,
0.1358913630247116,
0.4786563515663147,
0.17811664938926697,
0.25294438004493713,
0.43411803245544434,
0.45308151841163635,
-0.11701367050409317,
-0.07804200053215027,
0.003455549478530884,
0.4697423279285431,
0.15936803817749023,
0.27045440673828125,
0.08445675671100616,
-0.019890233874320984,
0.0626683235168457,
-0.026307253167033195,
-0.1468789130449295,
0.20263148844242096,
0.16370809078216553,
-0.05962900444865227,
0.08211348205804825,
-0.15218374133110046,
-0.1284542679786682,
-0.1869870275259018,
0.003918096423149109,
-0.07309590280056,
0.08943208307027817,
0.09695909917354584,
0.06545606255531311,
-0.10162167251110077,
-0.19648069143295288,
-0.17310139536857605,
0.20964574813842773,
-0.2649918794631958,
0.3212343156337738,
0.2595921456813812,
-0.15740133821964264,
0.0037914738059043884,
0.20670494437217712,
0.45997148752212524,
-0.10896126925945282,
-0.3352651298046112,
0.31319665908813477,
-0.36430150270462036,
-0.17426630854606628,
0.019616805016994476,
0.05398678779602051,
0.33079349994659424,
0.057166580110788345,
0.15075434744358063,
0.24332180619239807,
-0.20645086467266083,
-0.1569739282131195,
0.1706068366765976,
0.06407943367958069,
0.40825775265693665,
0.3082588315010071,
-0.3036905825138092,
-0.06343034654855728,
-0.28942033648490906,
0.0040402039885520935,
-0.5033101439476013,
0.048658207058906555,
0.26050612330436707,
-0.04503394663333893,
0.2318231761455536,
0.03297106549143791,
0.13967300951480865,
0.007929672487080097,
0.5629498362541199,
0.4723999798297882,
0.03427863121032715,
-0.03576795756816864,
-0.349445104598999,
-0.40464645624160767,
-0.06640555709600449,
-0.13117027282714844,
-0.11073710024356842,
-0.042677219957113266,
0.08556264638900757,
0.5376648902893066,
0.030006777495145798,
-0.08252495527267456,
-0.005530199501663446,
-0.2877797782421112,
0.08561227470636368,
-0.28731319308280945,
0.15282070636749268,
0.16945978999137878,
0.27063536643981934,
-0.2537308633327484,
-0.060345493257045746,
-0.008965600281953812,
-0.02224775031208992,
0.20813152194023132,
-0.4175373911857605,
-0.003994952887296677,
-0.15861937403678894,
-0.14658352732658386,
-0.15680895745754242,
0.0859849750995636,
0.1112796738743782,
-0.19780951738357544,
-0.36678755283355713,
0.16459564864635468,
0.1208406612277031,
0.08723360300064087,
0.6543229818344116,
0.16007864475250244,
0.4461972713470459,
0.09395880997180939,
-0.08854633569717407,
-0.13393014669418335,
0.05663662031292915,
-0.1766308844089508,
0.04126138240098953,
-0.48235023021698,
0.18381798267364502,
0.14396679401397705,
0.15190374851226807,
-0.23129001259803772,
0.3155182898044586,
0.0337647944688797,
0.09343603253364563,
-0.2376822531223297,
-0.22349615395069122,
0.3288697898387909,
-0.07900048047304153,
-0.42980483174324036,
0.005377347581088543,
-0.04068423807621002,
0.07354812324047089,
0.22228772938251495,
-0.6620933413505554,
0.19633755087852478,
0.09048483520746231,
0.154120534658432,
-0.3961021304130554,
0.204544335603714,
-0.023609429597854614,
-0.17510201036930084,
-0.2065868079662323,
0.24306806921958923,
0.14279571175575256,
-0.11637379229068756,
-0.13525594770908356,
-0.04723697155714035
] |
https://github.com/huggingface/datasets/pull/2290 | Bbaw egyptian | Thanks, @phiwi. Now all tests should pass green.
However, I think there is still an issue with the language code:
- the code for the Ancient Egyptian is not `ar-EG`
- there is no ISO 639-1 code for the Ancient Egyptian
- there is an ISO 639-2 code: `egy`; but this code will not pass the validation test because it is not in the list of valid codes
I am not sure what to do in this case... Maybe @lhoestq has an idea? Maybe adding the code to the list? https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/languages.json | This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-) | 91 | text: Bbaw egyptian
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-)
Thanks, @phiwi. Now all tests should pass green.
However, I think there is still an issue with the language code:
- the code for the Ancient Egyptian is not `ar-EG`
- there is no ISO 639-1 code for the Ancient Egyptian
- there is an ISO 639-2 code: `egy`; but this code will not pass the validation test because it is not in the list of valid codes
I am not sure what to do in this case... Maybe @lhoestq has an idea? Maybe adding the code to the list? https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/languages.json | [
0.136155903339386,
0.1064060628414154,
-0.06807877123355865,
0.18569257855415344,
-0.21996884047985077,
-0.03943007066845894,
-0.07497787475585938,
0.49153435230255127,
0.09945952892303467,
-0.16462238132953644,
-0.02648744359612465,
0.020855773240327835,
-0.013857993297278881,
0.4521958529949188,
0.026062259450554848,
0.05924071744084358,
-0.12714028358459473,
-0.10599556565284729,
0.24631346762180328,
-0.15469783544540405,
-0.18506312370300293,
0.2639184594154358,
-0.09670287370681763,
-0.002862021327018738,
0.08765669167041779,
0.09860304743051529,
-0.19165277481079102,
0.11608132719993591,
-0.4915515184402466,
-0.3492974042892456,
0.07689148932695389,
0.18216866254806519,
-0.20433443784713745,
0.4545373320579529,
-0.00010875120642594993,
-0.3226325511932373,
0.2721472978591919,
-0.22649222612380981,
-0.1854282021522522,
-0.1653946489095688,
-0.14839690923690796,
0.1617783010005951,
-0.4465153217315674,
-0.2803625166416168,
-0.2056995928287506,
0.03890106454491615,
0.04786023497581482,
-0.08978761732578278,
0.24379931390285492,
0.24433434009552002,
0.16902218759059906,
0.12828929722309113,
0.1446007639169693,
0.09698125720024109,
-0.02618452161550522,
0.4241456985473633,
-0.07658465206623077,
0.10853075981140137,
0.2854722738265991,
0.2568751871585846,
-0.013016417622566223,
0.5253835320472717,
-0.11408709734678268,
0.009248588234186172,
-0.21393823623657227,
-0.23159122467041016,
0.011973626911640167,
-0.2523675858974457,
0.19064739346504211,
0.34947213530540466,
0.17228004336357117,
-0.1294955611228943,
-0.19407519698143005,
0.10713320225477219,
-0.27333906292915344,
-0.2677295207977295,
0.16829484701156616,
0.2429017275571823,
-0.17413072288036346,
0.22639919817447662,
-0.08568695932626724,
-0.21553747355937958,
-0.32870566844940186,
0.1526833176612854,
-0.27523282170295715,
0.084099680185318,
-0.10156942903995514,
-0.11065942794084549,
0.20084922015666962,
0.16195739805698395,
-0.1097608432173729,
0.15632519125938416,
-0.28111642599105835,
0.41254255175590515,
-0.12127555906772614,
-0.16294172406196594,
0.2919696867465973,
0.6383934020996094,
0.23845109343528748,
0.0959848016500473,
0.16762256622314453,
0.27575451135635376,
0.048230744898319244,
0.028289202600717545,
-0.004451677203178406,
-0.029116053134202957,
0.36957553029060364,
-0.025204498320817947,
0.17257893085479736,
0.29868608713150024,
0.029768820852041245,
0.13992121815681458,
-0.1384943276643753,
-0.10458336025476456,
-0.10502590239048004,
0.054329078644514084,
0.15079793334007263,
-0.5438860654830933,
0.2712816298007965,
0.33489057421684265,
-0.30701830983161926,
-0.361457496881485,
-0.09430792182683945,
0.30558592081069946,
0.12840990722179413,
-0.47234946489334106,
0.349439799785614,
0.05454505607485771,
-0.141519233584404,
-0.4374610185623169,
-0.03481787070631981,
0.13446886837482452,
-0.07182697206735611,
0.025662507861852646,
0.08590435981750488,
-0.3366949260234833,
0.11913841217756271,
-0.12213922291994095,
0.11703142523765564,
-0.03521515429019928,
-0.26908934116363525,
-0.15559634566307068,
0.3669445514678955,
0.1255010962486267,
-0.18614132702350616,
0.06639360636472702,
0.13319885730743408,
-0.04235808551311493,
-0.2633631229400635,
-0.03572159260511398,
0.13851207494735718,
-0.12673057615756989,
-0.1486966609954834,
0.16674336791038513,
-0.4642208218574524,
0.06489141285419464,
0.0643543004989624,
0.38936737179756165,
0.24906909465789795,
-0.22763127088546753,
0.16178728640079498,
0.05833905190229416,
-0.3785506784915924,
0.1388164758682251,
0.1340576708316803,
0.42113566398620605,
-0.16637884080410004,
-0.12645785510540009,
0.23517562448978424,
0.26632681488990784,
0.014059983193874359,
0.22890256345272064,
0.10979679226875305,
0.14067232608795166,
-0.12764456868171692,
0.2938327193260193,
-0.03737860172986984,
0.037789177149534225,
-0.27790817618370056,
0.180657759308815,
0.18225513398647308,
0.09526630491018295,
0.06657649576663971,
-0.34108102321624756,
0.35933446884155273,
-0.4377588927745819,
0.1204865574836731,
0.16698941588401794,
0.2116156965494156,
-0.15259777009487152,
-0.49289417266845703,
-0.20778532326221466,
0.07473398745059967,
0.36804768443107605,
0.13010500371456146,
-0.22475150227546692,
-0.08077680319547653,
-0.07141973078250885,
0.41396036744117737,
-0.13865619897842407,
-0.11473077535629272,
0.18882903456687927,
0.13900794088840485,
-0.15117639303207397,
0.07493063807487488,
-0.00856924057006836,
0.3964901864528656,
-0.03691917657852173,
0.06321019679307938,
0.7163493633270264,
-0.23985014855861664,
0.09378241002559662,
-0.28892096877098083,
-0.15384235978126526,
-0.37035563588142395,
-0.1826688051223755,
0.18339958786964417,
-0.18303197622299194,
0.09299829602241516,
0.4114241600036621,
0.05948921665549278,
0.631557047367096,
0.10190300643444061,
-0.056138452142477036,
-0.8078702688217163,
0.05799417197704315,
-0.33100593090057373,
-0.25679147243499756,
0.14240609109401703,
0.2220749855041504,
0.14880019426345825,
-0.0824226513504982,
-0.0699627697467804,
-0.11404476314783096,
-0.3570431172847748,
-0.13527911901474,
-0.2954615354537964,
0.3991302251815796,
0.11903664469718933,
-0.45162299275398254,
0.2420848160982132,
0.14434091746807098,
0.12543998658657074,
-0.0051818229258060455,
0.18660911917686462,
0.2460291087627411,
0.10884356498718262,
0.09965670108795166,
-0.08433426916599274,
-0.106862373650074,
-0.07442934811115265,
-0.28869011998176575,
-0.2287101149559021,
0.23411288857460022,
0.7966278195381165,
-0.04168982803821564,
-0.09340748190879822,
0.12472843378782272,
-0.11562247574329376,
-0.04248861223459244,
0.6254586577415466,
-0.24967613816261292,
-0.024862922728061676,
0.24496561288833618,
0.06799416244029999,
-0.09555553644895554,
-0.23905274271965027,
-0.21902473270893097,
0.09470018744468689,
-0.012536803260445595,
0.1835620105266571,
0.09999042749404907,
-0.05035555735230446,
-0.01399211585521698,
0.10383520275354385,
0.04421452432870865,
0.14131352305412292,
0.00252721831202507,
0.16172261536121368,
0.05165968835353851,
-0.4699724316596985,
-0.12492954730987549,
-0.04104381054639816,
0.02482631430029869,
-0.18700115382671356,
0.3927200734615326,
0.08612659573554993,
-0.18857938051223755,
0.013667344115674496,
-0.33648815751075745,
-0.25724637508392334,
-0.18624897301197052,
0.27974724769592285,
0.031960900872945786,
0.06323908269405365,
-0.02227967046201229,
0.10145947337150574,
0.11582841724157333,
-0.1940266191959381,
-0.23330159485340118,
-0.4492826461791992,
-0.3598093092441559,
-0.2529444694519043,
0.07651448249816895,
0.3214244842529297,
0.050107598304748535,
0.20299530029296875,
-0.4380607604980469,
-0.2750479578971863,
0.1593470424413681,
-0.42759013175964355,
0.19719699025154114,
-0.4277065396308899,
0.35361385345458984,
0.07239441573619843,
0.35194021463394165,
-0.3313487768173218,
-0.18932034075260162,
0.17189881205558777,
-0.2774350941181183,
-0.27113643288612366,
0.1317322850227356,
-0.02332567237317562,
0.1484878659248352,
-0.0571819469332695,
-0.45129719376564026,
-0.017766902223229408,
-0.1075926125049591,
0.22442473471164703,
-0.17790193855762482,
0.24061577022075653,
0.2954472601413727,
-0.19138915836811066,
-0.1364479511976242,
0.22467143833637238,
-0.0453198179602623,
-0.6356225609779358,
-0.6463065147399902,
0.44275185465812683,
-0.004008754156529903,
-0.3486690819263458,
-0.174458846449852,
0.1460191011428833,
0.3900809586048126,
-0.2720634341239929,
-0.2311604619026184,
0.12799684703350067,
-0.0625348687171936,
-0.14750376343727112,
0.018561936914920807,
-0.030397875234484673,
0.26673489809036255,
-0.093497633934021,
-0.0530187264084816,
-0.06831179559230804,
-0.038322679698467255,
0.2407720386981964,
0.3660720884799957,
0.4421403110027313,
0.08991941064596176,
0.08577824383974075,
0.3594721257686615,
-0.11178602278232574,
0.04146203026175499,
0.25512078404426575,
0.3896588087081909,
0.4279526472091675,
0.09285050630569458,
-0.05657445639371872,
-0.2936743497848511,
0.1672031134366989,
-0.08209280669689178,
-0.1153295487165451,
0.09708482027053833,
0.10010587424039841,
-0.014417072758078575,
-0.061298973858356476,
-0.21418747305870056,
-0.30641356110572815,
-0.4652646481990814,
0.21693506836891174,
0.07553157210350037,
0.10739608108997345,
0.009146355092525482,
-0.06022174283862114,
0.0290224589407444,
0.13677453994750977,
0.3777395188808441,
0.21447190642356873,
0.07065720111131668,
0.1840609312057495,
-0.15113043785095215,
0.012780748307704926,
-0.6175201535224915,
0.40057557821273804,
-0.09965154528617859,
0.12125704437494278,
-0.3224887251853943,
0.12539464235305786,
0.1611333191394806,
-0.1176210269331932,
0.46959227323532104,
-0.3108423054218292,
0.20275546610355377,
0.21331481635570526,
0.07706917077302933,
-0.027053652331233025,
-0.11956289410591125,
-0.06912147998809814,
-0.3450978398323059,
0.5321295857429504,
-0.46874237060546875,
-0.5182347893714905,
-0.058393631130456924,
0.4107900559902191,
0.2563944160938263,
-0.14594650268554688,
-0.10946498066186905,
-0.4340932071208954,
-0.7676810026168823,
-0.30977243185043335,
0.22934100031852722,
0.4967072308063507,
0.035324666649103165,
0.021988656371831894,
0.4181160628795624,
0.1386421173810959,
0.1166326031088829,
0.40517377853393555,
0.12531274557113647,
-0.09917516261339188,
-0.19052836298942566,
-0.10982120037078857,
0.5063661336898804,
-0.22335678339004517,
-0.03534606844186783,
0.46913617849349976,
0.2443757802248001,
-0.17891696095466614,
-0.13819217681884766,
-0.48645347356796265,
0.24876606464385986,
0.3509882986545563,
0.24728168547153473,
-0.017603188753128052,
-0.09456319361925125,
0.013996370136737823,
-0.336647629737854,
-0.018112873658537865,
0.11529304832220078,
0.1721138209104538,
-0.557140052318573,
-0.17414598166942596,
0.19270610809326172,
0.008707305416464806,
-0.12134982645511627,
0.2675725817680359,
0.06683743000030518,
-0.2807053029537201,
0.5050092935562134,
-0.19483909010887146,
1.1744965314865112,
-0.06751029193401337,
0.02490798942744732,
0.08822593092918396,
-0.06177135184407234,
-0.28643113374710083,
-0.05947408452630043,
-0.06320163607597351,
-0.27248281240463257,
-0.22701942920684814,
-0.17661292850971222,
0.18232356011867523,
0.25934532284736633,
-0.03532751649618149,
-0.32548022270202637,
0.39545738697052,
-0.04262419417500496,
-0.14782504737377167,
0.26584240794181824,
0.04839830845594406,
-0.11729598790407181,
-0.023511454463005066,
-0.525240957736969,
0.18545208871364594,
-0.029857270419597626,
0.5298065543174744,
-0.05136312171816826,
-0.39053577184677124,
-0.10367514193058014,
-0.6385990977287292,
-0.5264753103256226,
0.11542320996522903,
-0.01700614020228386,
-0.18412861227989197,
0.117062047123909,
-0.21306027472019196,
0.49276110529899597,
0.07786522805690765,
0.47623348236083984,
0.251836359500885,
-0.11207544803619385,
0.07373040914535522,
0.20417222380638123,
-0.18842002749443054,
0.05898107588291168,
-0.3557319939136505,
0.3524779975414276,
-0.12787795066833496,
-0.4703494608402252,
0.1299096941947937,
-0.029027972370386124,
-0.05095679685473442,
0.018892377614974976,
0.11035944521427155,
-0.07692888379096985,
0.013363109901547432,
0.08535593748092651,
0.24936281144618988,
0.06877557933330536,
-0.14613087475299835,
0.14171448349952698,
0.20362049341201782,
-0.30787888169288635,
0.18251603841781616,
-0.07424101233482361,
-0.04215407744050026,
-0.09357444941997528,
0.19241201877593994,
-0.02821919322013855,
-0.07761968672275543,
0.29453331232070923,
0.4811961054801941,
0.036854468286037445,
-0.2524435818195343,
0.07130936533212662,
0.49978411197662354,
-0.4727019965648651,
-0.18613216280937195,
0.11326292157173157,
-0.04201587289571762,
-0.06902847439050674,
0.3145347535610199,
0.1130608543753624,
-0.17283841967582703,
0.11892309784889221,
-0.35427719354629517,
0.12625856697559357,
0.45084136724472046,
-0.23685769736766815,
-0.04834006354212761,
-0.027980433776974678,
0.31777963042259216,
-0.08104261010885239,
0.1684485226869583,
-0.3546329140663147,
0.3315790891647339,
-0.32883819937705994,
0.13694314658641815,
0.060915976762771606,
-0.10817042738199234,
0.15363159775733948,
-0.33037325739860535,
0.07917514443397522,
0.16246533393859863,
-0.37218916416168213,
-0.19600582122802734,
-0.2652578353881836,
0.0985325276851654,
-0.07238790392875671,
0.020702701061964035,
0.19610992074012756,
0.015693508088588715,
0.08901937305927277,
0.021143237128853798,
-0.012526917271316051,
0.20678472518920898,
0.19694189727306366,
0.11914093792438507,
0.01777605339884758,
0.2802193760871887,
-0.08341605961322784,
-0.22834521532058716,
0.0612570121884346,
0.27707791328430176,
0.21436052024364471,
-0.11300316452980042,
-0.06764822453260422,
0.02945779263973236,
0.19608575105667114,
0.2587122321128845,
-0.046844854950904846,
-0.02712702751159668,
0.32427266240119934,
-0.04463200271129608,
0.14502647519111633,
-0.022753316909074783,
0.22526511549949646,
0.14416402578353882,
-0.20248709619045258,
-0.15499964356422424,
-0.13578742742538452,
0.15266352891921997,
-0.2850255072116852,
-0.0857962891459465,
-0.06740733981132507,
-0.14496535062789917,
0.002120640128850937,
0.45804667472839355,
0.26854079961776733,
0.006686747074127197,
0.24666042625904083,
-0.06236289069056511,
0.18414542078971863,
0.006910800933837891,
0.18544168770313263,
0.21459795534610748,
-0.15333838760852814,
-0.04607684537768364,
0.26033520698547363,
-0.13500940799713135,
0.02031661570072174,
-0.020079001784324646,
-0.029973037540912628,
0.06952919811010361,
0.2550339102745056,
0.595719575881958,
-0.10186373442411423,
0.02376948669552803,
-0.10993283987045288,
0.3684787154197693,
0.34898674488067627,
0.2679799795150757,
0.049774426966905594,
-0.07406876236200333,
0.023205801844596863,
-0.20336678624153137,
-0.3052201569080353,
0.10767127573490143,
0.3672417998313904,
-0.0009039184078574181,
0.08021095395088196,
-0.15936356782913208,
-0.2925780713558197,
-0.07578156143426895,
0.03865198418498039,
-0.1483021378517151,
0.06511664390563965,
0.1614162027835846,
-0.028613470494747162,
-0.24531380832195282,
-0.21746140718460083,
-0.19614383578300476,
0.20175857841968536,
-0.3450331389904022,
0.47218403220176697,
0.3075723350048065,
-0.1993880569934845,
0.21682922542095184,
0.2596930265426636,
0.3782694935798645,
-0.3344341516494751,
-0.35976505279541016,
0.33582767844200134,
-0.44512781500816345,
-0.1144978255033493,
0.13321341574192047,
0.20099258422851562,
0.27128636837005615,
0.08471556007862091,
0.14008426666259766,
0.10956424474716187,
-0.07430314272642136,
-0.054071683436632156,
0.15372365713119507,
0.04024218022823334,
0.2888942062854767,
0.5027052760124207,
-0.1934364140033722,
0.0357077419757843,
-0.33429989218711853,
-0.1373474895954132,
-0.3563201129436493,
0.18258866667747498,
-0.0039382632821798325,
0.05404084920883179,
0.25027990341186523,
0.17451922595500946,
0.07521415501832962,
0.11501167714595795,
0.45497292280197144,
0.4901599884033203,
0.13313278555870056,
-0.33277156949043274,
-0.3338056802749634,
-0.4154588580131531,
-0.09978317469358444,
-0.010315045714378357,
0.028251389041543007,
-0.04869665950536728,
0.005348194390535355,
0.4839249551296234,
0.0993322804570198,
-0.048497095704078674,
-0.18010659515857697,
-0.22076085209846497,
0.07611585408449173,
-0.3459951877593994,
0.22980964183807373,
0.42458289861679077,
0.30081164836883545,
-0.22885549068450928,
-0.02498576045036316,
0.07056021690368652,
-0.24255453050136566,
0.029993407428264618,
-0.2854379415512085,
-0.05181410163640976,
-0.2723779082298279,
-0.1546759456396103,
-0.14251583814620972,
0.2795560657978058,
0.16844457387924194,
-0.09165255725383759,
-0.20667317509651184,
0.06076718121767044,
0.24699167907238007,
-0.03499365597963333,
0.6537209749221802,
0.11481870710849762,
0.45827144384384155,
0.09657162427902222,
-0.20919384062290192,
-0.19388848543167114,
0.24929237365722656,
-0.09957293421030045,
0.07908402383327484,
-0.5677092671394348,
0.05915740132331848,
-0.04972894489765167,
0.21679338812828064,
-0.19417613744735718,
0.23858845233917236,
-0.09256896376609802,
0.1221819818019867,
-0.3759116530418396,
-0.23178215324878693,
0.48049136996269226,
-0.12381935864686966,
-0.38913291692733765,
0.05841726064682007,
0.21679113805294037,
0.20703217387199402,
0.0685788094997406,
-0.6374669075012207,
0.15164393186569214,
-0.011622286401689053,
0.1680518388748169,
-0.45600804686546326,
0.24925747513771057,
0.11530518531799316,
0.03646529093384743,
-0.1388058215379715,
0.3736340403556824,
0.07705272734165192,
-0.21647527813911438,
-0.07193061709403992,
-0.024118216708302498
] |
https://github.com/huggingface/datasets/pull/2290 | Bbaw egyptian | I have just checked that in the [list of valid codes](https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/languages.json) there are already ISO 639-2 codes. Therefore, I would suggest you to add it to the list:
```
"egy": "Egyptian (Ancient)",
```
and change it in the dataset card. | This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-) | 40 | text: Bbaw egyptian
This is the "hieroglyph corpus" that I could unfortunately not contribute during the marathon. I re-extracted it again now, so that it is in the state as used in my paper (seee documentation). I hope it satiesfies your requirements and wish every scientist out their loads of fun deciphering a 5.000 years old language :-)
I have just checked that in the [list of valid codes](https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/languages.json) there are already ISO 639-2 codes. Therefore, I would suggest you to add it to the list:
```
"egy": "Egyptian (Ancient)",
```
and change it in the dataset card. | [
0.09818850457668304,
0.02835075557231903,
-0.1077253669500351,
0.0819760113954544,
-0.014391783624887466,
-0.09165051579475403,
-0.12535999715328217,
0.377412885427475,
0.037488073110580444,
-0.056415095925331116,
-0.1346796452999115,
0.06653954833745956,
0.025451023131608963,
0.49137240648269653,
0.062142495065927505,
0.005531221628189087,
-0.09054312855005264,
0.005756773054599762,
0.12691494822502136,
-0.04464373737573624,
-0.19513972103595734,
0.30731719732284546,
0.007312029600143433,
0.12976054847240448,
0.11223086714744568,
0.07999233156442642,
-0.17954811453819275,
0.046711165457963943,
-0.4954010844230652,
-0.2754722535610199,
0.11709928512573242,
0.15164552628993988,
-0.11381899565458298,
0.3400914669036865,
-0.00009912456152960658,
-0.23215226829051971,
0.212818905711174,
-0.26510748267173767,
-0.19903919100761414,
-0.07449692487716675,
-0.10013164579868317,
0.07924357056617737,
-0.34182068705558777,
-0.4058527648448944,
-0.2283288538455963,
-0.0592324398458004,
0.1477545201778412,
-0.14132395386695862,
0.146295964717865,
0.061851438134908676,
0.2922373116016388,
0.037748370319604874,
0.17501983046531677,
-0.07077841460704803,
0.11990302801132202,
0.36631298065185547,
-0.04586553946137428,
0.05985504388809204,
0.16355279088020325,
0.301398366689682,
-0.012780621647834778,
0.5219717025756836,
-0.13629136979579926,
0.03450506180524826,
-0.022780627012252808,
-0.11430779844522476,
-0.04228048771619797,
-0.27673447132110596,
0.30123138427734375,
0.32850345969200134,
0.2437690794467926,
-0.26692336797714233,
-0.14172245562076569,
0.13462182879447937,
-0.1804983913898468,
-0.2775256037712097,
0.1650661826133728,
0.21937976777553558,
-0.15765267610549927,
0.15487922728061676,
0.14250338077545166,
-0.19595959782600403,
-0.2960478961467743,
0.13997790217399597,
-0.23969636857509613,
0.10097488760948181,
-0.19847343862056732,
-0.09869267791509628,
0.20153909921646118,
-0.1148717850446701,
-0.16384784877300262,
0.26679229736328125,
-0.2860581874847412,
0.23029683530330658,
-0.052744898945093155,
-0.08341570943593979,
0.13250696659088135,
0.5815457105636597,
0.30340951681137085,
0.008979329839348793,
0.16498605906963348,
0.2678588926792145,
0.05318265035748482,
0.06363958865404129,
-0.05763215944170952,
-0.20634862780570984,
0.3442426323890686,
-0.06093869358301163,
0.18652014434337616,
0.24087560176849365,
0.021914418786764145,
0.08080969750881195,
-0.049431364983320236,
-0.08838491886854172,
-0.060938768088817596,
-0.06531614810228348,
0.16032229363918304,
-0.3938990831375122,
0.2375536859035492,
0.1870841532945633,
-0.1978742480278015,
-0.25108999013900757,
-0.27767106890678406,
0.18378812074661255,
0.17493101954460144,
-0.4364802837371826,
0.40377378463745117,
-0.03994149714708328,
-0.15201158821582794,
-0.42528825998306274,
-0.08464250713586807,
0.2238958328962326,
-0.09687162935733795,
-0.007550911977887154,
-0.008539889007806778,
-0.29398635029792786,
0.0416254997253418,
-0.04953719303011894,
0.0588202178478241,
0.15968415141105652,
-0.23881922662258148,
-0.04511317238211632,
0.32097554206848145,
0.24306391179561615,
-0.11691935360431671,
0.12687374651432037,
0.008427370339632034,
-0.054393019527196884,
-0.3018248677253723,
-0.041243329644203186,
0.03216071426868439,
-0.1021675169467926,
-0.3302697241306305,
0.2834092974662781,
-0.31307923793792725,
-0.020973213016986847,
0.10909265279769897,
0.30733323097229004,
0.18034526705741882,
-0.15222598612308502,
0.2855096459388733,
0.1511715203523636,
-0.327688068151474,
0.05889517441391945,
0.12656614184379578,
0.30403321981430054,
-0.15920181572437286,
-0.13338316977024078,
0.12653382122516632,
0.12138476967811584,
0.14181333780288696,
0.27231645584106445,
0.0186215378344059,
-0.09302545338869095,
-0.14131195843219757,
0.3128633499145508,
-0.01822447031736374,
0.08703538775444031,
-0.3306840658187866,
0.195199653506279,
0.15539316833019257,
-0.08243882656097412,
0.07291004806756973,
-0.13263662159442902,
0.4550020396709442,
-0.3040691316127777,
0.3139559030532837,
0.19618502259254456,
0.32263994216918945,
-0.039707206189632416,
-0.29396718740463257,
-0.41683125495910645,
-0.028187759220600128,
0.29655587673187256,
0.033694759011268616,
-0.16746467351913452,
-0.016609936952590942,
0.031817637383937836,
0.36816686391830444,
-0.10142168402671814,
-0.053452543914318085,
0.3627188801765442,
0.14906175434589386,
0.038327496498823166,
0.09663578122854233,
-0.07151862978935242,
0.2816530466079712,
-0.0797901451587677,
0.1326073408126831,
0.7167973518371582,
-0.4228348135948181,
-0.0538712702691555,
-0.2016722559928894,
-0.1518399715423584,
-0.3463527262210846,
-0.08785179257392883,
0.2990119457244873,
-0.1937442421913147,
-0.00029016099870204926,
0.30645129084587097,
0.09450805187225342,
0.612298309803009,
0.1371793895959854,
-0.05581319332122803,
-0.7606299519538879,
0.007273746654391289,
-0.2883356213569641,
-0.20256787538528442,
0.07364124804735184,
0.12014883011579514,
0.09477932751178741,
0.016236919909715652,
-0.08738909661769867,
-0.0969209149479866,
-0.3899669349193573,
-0.018463678658008575,
-0.09032460302114487,
0.3601435422897339,
0.10323058813810349,
-0.3566642999649048,
0.32347050309181213,
0.045632969588041306,
0.1661292016506195,
0.05181538313627243,
0.14939981698989868,
0.1473420262336731,
0.16081470251083374,
-0.0807512030005455,
-0.1103864312171936,
-0.056900471448898315,
0.1298462599515915,
-0.1401640623807907,
-0.1407715529203415,
-0.010488204658031464,
0.5452902317047119,
0.060019634664058685,
-0.09282920509576797,
0.1935434639453888,
-0.18658575415611267,
0.08333146572113037,
0.6195425987243652,
-0.2868427634239197,
0.04195961356163025,
0.3518940806388855,
-0.09893647581338882,
-0.1345641016960144,
-0.23121106624603271,
-0.06861267238855362,
0.07003270089626312,
0.07898657023906708,
0.25424182415008545,
0.08454660326242447,
0.03832428157329559,
-0.05735497921705246,
0.08467568457126617,
0.09880328178405762,
0.116980642080307,
-0.05837405472993851,
0.1248246356844902,
-0.007930858992040157,
-0.5751608610153198,
-0.13287195563316345,
-0.0601009875535965,
0.1532188057899475,
-0.12114028632640839,
0.35709720849990845,
0.0023239366710186005,
-0.2829417884349823,
0.03614136204123497,
-0.3168104290962219,
-0.28076374530792236,
-0.33289510011672974,
0.20002861320972443,
-0.04024623706936836,
0.04993430897593498,
-0.04788960516452789,
0.0037210695445537567,
0.0632183700799942,
-0.09591393917798996,
-0.16625112295150757,
-0.38472169637680054,
-0.3679552674293518,
-0.16967391967773438,
0.15894460678100586,
0.05724872648715973,
0.0338563434779644,
0.31491619348526,
-0.4490949809551239,
-0.12356002628803253,
-0.06326352059841156,
-0.4549260139465332,
0.2911432385444641,
-0.42512381076812744,
0.2735171914100647,
0.28381848335266113,
0.21357494592666626,
-0.3433306813240051,
-0.18555955588817596,
0.19637128710746765,
-0.22625617682933807,
-0.2483092099428177,
0.09932342171669006,
-0.2628059685230255,
0.160958394408226,
-0.11934511363506317,
-0.2781112790107727,
-0.14110581576824188,
-0.12977302074432373,
0.22288551926612854,
-0.25228121876716614,
0.20583905279636383,
0.2568984627723694,
-0.26563236117362976,
-0.05305900424718857,
0.16631339490413666,
-0.07095891982316971,
-0.5970581769943237,
-0.6970269083976746,
0.4532405138015747,
-0.06959392130374908,
-0.2932959198951721,
-0.04013587161898613,
0.11124898493289948,
0.23753364384174347,
-0.1872369796037674,
-0.1980387270450592,
0.053588878363370895,
-0.22290639579296112,
-0.06371902674436569,
0.046276189386844635,
0.019326187670230865,
0.12362620234489441,
-0.11741764098405838,
-0.18004842102527618,
-0.0645102858543396,
-0.08706056326627731,
0.2782132029533386,
0.2780510187149048,
0.22030925750732422,
0.0706145316362381,
0.10024476796388626,
0.30080339312553406,
-0.2003256231546402,
-0.009304427541792393,
0.20459187030792236,
0.3423610329627991,
0.2014864981174469,
0.13208702206611633,
0.033962950110435486,
-0.15870769321918488,
0.15899185836315155,
-0.003684118390083313,
-0.08861123025417328,
0.0967668890953064,
0.054403871297836304,
0.021080970764160156,
0.07012788951396942,
-0.31912046670913696,
-0.3354319632053375,
-0.4838256537914276,
0.11047382652759552,
0.13922849297523499,
0.02475554868578911,
-0.10760466754436493,
-0.18044717609882355,
-0.060504741966724396,
0.054438136518001556,
0.28372684121131897,
0.19081029295921326,
-0.0687754824757576,
0.1913284957408905,
-0.17285896837711334,
0.12766048312187195,
-0.5766101479530334,
0.2940443158149719,
-0.19335320591926575,
-0.0050201499834656715,
-0.2645528018474579,
0.08290813118219376,
0.2916623651981354,
-0.10595161467790604,
0.403747022151947,
-0.27562639117240906,
0.22650879621505737,
0.17379119992256165,
0.0830942764878273,
-0.11551033705472946,
0.04016977921128273,
-0.11071014404296875,
-0.23858563601970673,
0.33733466267585754,
-0.42414015531539917,
-0.5200466513633728,
-0.08526386320590973,
0.38762739300727844,
0.15147563815116882,
-0.13848309218883514,
-0.08356839418411255,
-0.2448258101940155,
-0.8321384191513062,
-0.3363173007965088,
0.05446867272257805,
0.4473012685775757,
-0.09504149854183197,
0.10371647030115128,
0.2595735788345337,
0.08461169898509979,
0.3006826639175415,
0.3779274821281433,
0.08644945919513702,
-0.07129790633916855,
-0.18059739470481873,
-0.11387558281421661,
0.44525277614593506,
0.008092619478702545,
-0.0958111360669136,
0.46562835574150085,
0.15299516916275024,
-0.37257128953933716,
-0.1270064115524292,
-0.5234723091125488,
0.08006519824266434,
0.22190430760383606,
0.23542357981204987,
0.09285109490156174,
0.047004200518131256,
0.14273014664649963,
-0.3302302360534668,
-0.1205563023686409,
0.20965810120105743,
0.16952483355998993,
-0.546831488609314,
-0.2369200438261032,
0.3224104642868042,
0.09637883305549622,
-0.1403469443321228,
0.09955170005559921,
0.21855510771274567,
-0.3088425099849701,
0.3597272038459778,
-0.028040379285812378,
1.1146382093429565,
-0.21212323009967804,
0.1792437583208084,
0.1252678632736206,
-0.07263129949569702,
0.014085905626416206,
0.006944864988327026,
-0.16804096102714539,
-0.23084871470928192,
-0.19831161201000214,
-0.17858090996742249,
0.2945742607116699,
0.16835330426692963,
-0.010820716619491577,
-0.3427673280239105,
0.22306501865386963,
-0.14987961947917938,
-0.15559881925582886,
0.2101745903491974,
-0.01627810113132,
-0.1676730215549469,
-0.1652839630842209,
-0.5260963439941406,
0.2842923402786255,
-0.0825570821762085,
0.48133260011672974,
0.1523316502571106,
-0.4680008292198181,
0.05171402916312218,
-0.4543028473854065,
-0.39203423261642456,
0.1136876568198204,
0.0235584769397974,
-0.10828845202922821,
0.06996846944093704,
-0.11358506977558136,
0.35426679253578186,
0.020225901156663895,
0.4757533669471741,
0.13502715528011322,
-0.12610170245170593,
0.036513153463602066,
0.06928598880767822,
-0.20173309743404388,
0.09053803235292435,
-0.22009451687335968,
0.2449115365743637,
-0.06498667597770691,
-0.46596553921699524,
0.1350020170211792,
0.12427103519439697,
-0.04048224166035652,
-0.03930453956127167,
-0.031595587730407715,
-0.09149324893951416,
0.026825882494449615,
-0.04796989634633064,
0.17416363954544067,
-0.014185357838869095,
-0.09131807088851929,
0.21070142090320587,
0.19278568029403687,
-0.2087581604719162,
0.07898970693349838,
-0.15403388440608978,
-0.13384121656417847,
-0.15874923765659332,
0.2797796130180359,
0.11099068820476532,
-0.06807927787303925,
0.22945326566696167,
0.4668799638748169,
-0.11624280363321304,
-0.30032703280448914,
0.0744728222489357,
0.4098515808582306,
-0.443342000246048,
-0.18958507478237152,
0.23894056677818298,
0.0311087965965271,
0.013752125203609467,
0.3737950623035431,
-0.02904430776834488,
-0.17686691880226135,
0.02786852791905403,
-0.27709776163101196,
0.004773937165737152,
0.4413333535194397,
-0.19361555576324463,
-0.07214218378067017,
0.11772998422384262,
0.17803840339183807,
0.08368828147649765,
-0.016173699870705605,
-0.4544208347797394,
0.45959725975990295,
-0.12583571672439575,
0.0616927444934845,
0.28014063835144043,
-0.12088891118764877,
0.19547851383686066,
-0.1799074113368988,
0.22428391873836517,
0.11375997215509415,
-0.31685540080070496,
-0.3009112477302551,
-0.375102162361145,
0.041335105895996094,
-0.14567142724990845,
0.044774480164051056,
0.1669265627861023,
-0.1678663045167923,
0.0034877676516771317,
0.045121803879737854,
0.23626941442489624,
0.43530794978141785,
0.18228882551193237,
0.19074232876300812,
-0.12463271617889404,
0.23710933327674866,
-0.05908499285578728,
-0.12425345182418823,
0.12763258814811707,
0.32255834341049194,
0.14784377813339233,
-0.10023902356624603,
-0.19890733063220978,
0.030740953981876373,
0.22796685993671417,
0.32819828391075134,
-0.08755761384963989,
0.01284070685505867,
0.3337836265563965,
-0.0803309977054596,
0.16982480883598328,
0.11969906091690063,
0.2566473186016083,
0.01088138297200203,
-0.15285815298557281,
-0.3945605754852295,
-0.10865369439125061,
0.2503804564476013,
-0.320740282535553,
-0.15416684746742249,
-0.14616228640079498,
-0.21061651408672333,
0.03972205892205238,
0.41242295503616333,
0.1539693921804428,
0.051471129059791565,
0.19808337092399597,
-0.12026919424533844,
0.21515929698944092,
-0.06307446956634521,
0.20603322982788086,
0.3518044948577881,
-0.0831148773431778,
-0.07106614112854004,
0.24756012856960297,
0.050465356558561325,
0.14718663692474365,
0.279895156621933,
0.023272115737199783,
0.10559673607349396,
0.33388036489486694,
0.5362672209739685,
0.036751214414834976,
-0.1148320734500885,
-0.021929580718278885,
0.3891470432281494,
0.26777321100234985,
0.2518151104450226,
0.1284281313419342,
0.011121012270450592,
-0.018745403736829758,
-0.015325352549552917,
-0.20019252598285675,
0.23142334818840027,
0.2344513237476349,
-0.1277669221162796,
0.21372860670089722,
-0.10517898201942444,
-0.2127545028924942,
-0.12816274166107178,
-0.10913950204849243,
-0.09474074840545654,
0.1395057588815689,
0.08911439031362534,
0.10861857980489731,
-0.17897768318653107,
-0.14679774641990662,
-0.2579137682914734,
0.1490515172481537,
-0.2615673542022705,
0.331127405166626,
0.2603576183319092,
-0.24934479594230652,
0.20575755834579468,
0.1654372364282608,
0.4145914316177368,
-0.2760598063468933,
-0.3524262607097626,
0.3673417866230011,
-0.4315379858016968,
-0.1375301033258438,
0.09701608866453171,
0.01864273101091385,
0.3374316394329071,
0.053016990423202515,
0.12072423100471497,
0.2262016087770462,
-0.1675538718700409,
-0.18208952248096466,
0.14180906116962433,
0.28253471851348877,
0.4004334509372711,
0.319478303194046,
-0.17261789739131927,
0.07276109606027603,
-0.3161187171936035,
-0.09088865667581558,
-0.44382280111312866,
0.02947567030787468,
0.030848007649183273,
0.07357339560985565,
0.20428729057312012,
0.11285383999347687,
0.12871268391609192,
0.06273546814918518,
0.4259513020515442,
0.4766840934753418,
0.1492862105369568,
-0.057820551097393036,
-0.21790811419487,
-0.3436037302017212,
-0.04896273463964462,
-0.003416493535041809,
-0.10968688875436783,
-0.0652141124010086,
-0.050020381808280945,
0.6042481660842896,
-0.013305392116308212,
0.01931671053171158,
-0.14865371584892273,
-0.3360154926776886,
-0.0490967258810997,
-0.2304118126630783,
0.152943953871727,
0.3932892680168152,
0.26176774501800537,
-0.206163689494133,
-0.03402147442102432,
0.10080810636281967,
-0.08791207522153854,
0.14252635836601257,
-0.4507211446762085,
0.07011795043945312,
-0.2166241854429245,
-0.3116805851459503,
-0.0714004784822464,
0.159553661942482,
0.0773567408323288,
-0.21406280994415283,
-0.3350447714328766,
0.15381361544132233,
0.14921830594539642,
0.022470910102128983,
0.6458311080932617,
0.20087698101997375,
0.381687194108963,
0.07465729862451553,
-0.08710719645023346,
-0.23044495284557343,
0.14821757376194,
-0.21039362251758575,
0.08328895270824432,
-0.5427513718605042,
0.19594009220600128,
0.14479267597198486,
0.09858009964227676,
-0.20465119183063507,
0.24004468321800232,
0.025301281362771988,
0.04592713713645935,
-0.22928600013256073,
-0.187998965382576,
0.37359240651130676,
-0.0323936864733696,
-0.3486342132091522,
0.01369518879801035,
0.16476686298847198,
0.20165693759918213,
0.20545217394828796,
-0.5756441354751587,
0.297642320394516,
0.01617290824651718,
0.2052900195121765,
-0.4366549253463745,
0.3301173746585846,
0.11385451257228851,
-0.06903862953186035,
-0.25473737716674805,
0.3548569083213806,
0.1275806576013565,
-0.18231824040412903,
-0.18904085457324982,
-0.12710806727409363
] |
https://github.com/huggingface/datasets/pull/2289 | Allow collaborators to self-assign issues | What do you think, @lhoestq? 😉
I think this could be another step to facilitate community contributions. | Allow collaborators (without write access to the repository) to self-assign issues.
In order to self-assign an issue, they have to comment it with the word: `#take` or `#self-assign`. | 17 | text: Allow collaborators to self-assign issues
Allow collaborators (without write access to the repository) to self-assign issues.
In order to self-assign an issue, they have to comment it with the word: `#take` or `#self-assign`.
What do you think, @lhoestq? 😉
I think this could be another step to facilitate community contributions. | [
0.07258766889572144,
0.15320593118667603,
-0.10917647182941437,
-0.24907870590686798,
-0.11321350932121277,
0.0015167966485023499,
0.11761899292469025,
0.08237701654434204,
0.025446530431509018,
0.33460479974746704,
0.21296831965446472,
0.5038208961486816,
-0.2811192572116852,
-0.04895396903157234,
-0.14693312346935272,
0.19460760056972504,
-0.26732245087623596,
-0.12298654019832611,
-0.09943725168704987,
-0.032142139971256256,
-0.1596071422100067,
-0.11206147074699402,
-0.24131593108177185,
0.08769166469573975,
-0.06775668263435364,
-0.03826374560594559,
0.31661751866340637,
-0.006714031100273132,
-0.23982758820056915,
-0.21285602450370789,
-0.2087651789188385,
0.5942220091819763,
-0.4131249487400055,
0.0335206612944603,
-0.00010432343697175384,
-0.18924754858016968,
0.23077037930488586,
0.05461744964122772,
-0.14186348021030426,
-0.1407461315393448,
-0.3147595226764679,
-0.16693280637264252,
0.029861679300665855,
-0.11275674402713776,
0.006771143525838852,
0.1704627424478531,
0.18605810403823853,
-0.10028120875358582,
0.25514286756515503,
-0.19313286244869232,
0.24750858545303345,
0.1290661245584488,
0.1342984288930893,
-0.06559154391288757,
0.0034589096903800964,
0.1544976532459259,
-0.278427392244339,
0.17179743945598602,
0.42867159843444824,
0.2218780815601349,
0.13913245499134064,
0.1152801662683487,
-0.20059515535831451,
-0.14751861989498138,
0.43191221356391907,
-0.1345873475074768,
0.37877604365348816,
-0.37637415528297424,
-0.11450818926095963,
-0.005908086895942688,
0.7199523448944092,
-0.06400727480649948,
0.07051341980695724,
-0.011340968310832977,
0.10416946560144424,
0.49156075716018677,
-0.2235761284828186,
0.024509020149707794,
-0.3217979967594147,
0.18420477211475372,
0.18751324713230133,
-0.28206151723861694,
-0.2631136178970337,
-0.09058988094329834,
0.5598175525665283,
0.2693599462509155,
-0.0972699299454689,
0.1496846079826355,
0.0351543091237545,
0.24009042978286743,
-0.18877528607845306,
0.1298152208328247,
0.22862599790096283,
0.3790506422519684,
0.18807655572891235,
-0.03880367428064346,
0.21197012066841125,
-0.04602842032909393,
0.22140324115753174,
0.2816911041736603,
0.21475495398044586,
-0.06559449434280396,
-0.2534089982509613,
0.28193199634552,
0.005990995094180107,
-0.2238316535949707,
0.010878108441829681,
0.08202678710222244,
0.20583054423332214,
-0.23093847930431366,
0.4548048675060272,
0.108266182243824,
-0.309642493724823,
-0.1129893884062767,
-0.06658262014389038,
0.26371315121650696,
0.47705960273742676,
0.10522545874118805,
-0.02237740159034729,
0.13497434556484222,
-0.11156586557626724,
-0.20694923400878906,
-0.11178498715162277,
0.14541277289390564,
0.08619636297225952,
0.13821157813072205,
-0.04351623356342316,
-0.2705639600753784,
-0.005337171256542206,
-0.3131248354911804,
-0.15303492546081543,
-0.10868881642818451,
-0.2317265421152115,
-0.04999148100614548,
-0.0931445062160492,
-0.011020734906196594,
0.17994923889636993,
-0.03604144975543022,
0.20075459778308868,
-0.06819634139537811,
-0.011995550245046616,
0.236575186252594,
-0.025577731430530548,
0.07703327387571335,
-0.16600815951824188,
0.021693648770451546,
0.12239626049995422,
-0.26227816939353943,
-0.20782841742038727,
0.4672171473503113,
-0.04112672060728073,
-0.17975151538848877,
-0.2902211546897888,
0.2355698198080063,
0.44270002841949463,
0.0763695240020752,
-0.0022170469164848328,
0.10678547620773315,
0.19829043745994568,
0.0835130363702774,
0.6097806096076965,
0.25189825892448425,
0.24938929080963135,
-0.14526547491550446,
-0.05067279934883118,
0.3766161799430847,
0.18477636575698853,
-0.0624808669090271,
0.0779242217540741,
-0.26599082350730896,
0.22906175255775452,
0.16178224980831146,
0.08411986380815506,
-0.04914424568414688,
0.04729989916086197,
0.493127703666687,
0.3200380504131317,
-0.33630943298339844,
-0.1946624368429184,
0.28051498532295227,
-0.37608587741851807,
-0.2426651120185852,
0.19648423790931702,
0.45349064469337463,
0.29870375990867615,
-0.13284116983413696,
0.3757438659667969,
0.04619528353214264,
-0.08242616057395935,
-0.08932779729366302,
-0.321598082780838,
-0.1726386547088623,
-0.028157837688922882,
-0.06601785868406296,
-0.03553246334195137,
0.2500092685222626,
0.24338221549987793,
0.010574609972536564,
0.3557488024234772,
-0.006717432290315628,
0.21264353394508362,
-0.44905757904052734,
0.7937760949134827,
-0.07146656513214111,
-0.08908577263355255,
0.030502062290906906,
-0.12876629829406738,
-0.16021019220352173,
0.05322115868330002,
0.17115449905395508,
0.35741639137268066,
-0.27106019854545593,
-0.5536967515945435,
0.13440248370170593,
-0.02124566212296486,
0.0033721569925546646,
0.09191039204597473,
-0.25219473242759705,
-0.37323808670043945,
-0.04014943540096283,
-0.35943618416786194,
0.1305437684059143,
-0.48406916856765747,
0.051088929176330566,
0.00775996595621109,
-0.27907249331474304,
-0.34520211815834045,
0.2556585669517517,
-0.2101997286081314,
0.26037681102752686,
-0.10918254405260086,
-0.01652330346405506,
0.2265339195728302,
0.21928071975708008,
-0.40279871225357056,
0.06319262087345123,
-0.30653998255729675,
0.1673518866300583,
0.04722427576780319,
-0.4827841818332672,
-0.17464858293533325,
0.04663349315524101,
0.2074771523475647,
0.0008765161037445068,
0.09588214755058289,
-0.017242610454559326,
-0.33971261978149414,
0.031972698867321014,
-0.46558481454849243,
0.06792375445365906,
-0.10738230496644974,
0.07545773684978485,
-0.30389922857284546,
0.028512530028820038,
-0.09735111892223358,
0.1584317833185196,
0.4265034794807434,
0.006659792736172676,
-0.1385594606399536,
0.10076611489057541,
-0.034063104540109634,
-0.02137255296111107,
0.12479142099618912,
0.27681753039360046,
0.26628345251083374,
-0.10887686163187027,
-0.13630172610282898,
-0.057699188590049744,
0.05665534734725952,
0.16797496378421783,
-0.18517547845840454,
0.081901915371418,
0.2015494406223297,
-0.2290528267621994,
-0.07190509885549545,
-0.17176838219165802,
-0.32776591181755066,
0.19371768832206726,
-0.06153359264135361,
0.3355562090873718,
0.11250615864992142,
0.03015260025858879,
0.011506536975502968,
0.28608936071395874,
-0.2548099458217621,
-0.19668935239315033,
0.2841227650642395,
-0.11272891610860825,
0.25114044547080994,
0.1209133043885231,
-0.07206687331199646,
-0.3529844284057617,
0.18948586285114288,
0.04913308098912239,
-0.2842383086681366,
0.22901403903961182,
-0.07210979610681534,
0.7524034380912781,
-0.2680482268333435,
0.239364355802536,
-0.17043612897396088,
-0.14559711515903473,
0.263116717338562,
0.23144805431365967,
-0.00501014431938529,
-0.2530158460140228,
0.3805285692214966,
0.022118641063570976,
0.006460940465331078,
0.11923956871032715,
-0.34754082560539246,
-0.04144260287284851,
-0.21326546370983124,
0.06223030388355255,
-0.0404210090637207,
-0.05571536719799042,
0.4271209239959717,
-0.2662544250488281,
-0.1649879515171051,
-0.12310527265071869,
-0.27798864245414734,
-0.5559895038604736,
0.03084774687886238,
-0.2124880850315094,
-0.4963410198688507,
-0.2736373543739319,
-0.12557773292064667,
-0.6525524258613586,
0.6292608380317688,
0.16785825788974762,
0.10306404531002045,
0.2294713407754898,
-0.07002309709787369,
0.3104630708694458,
0.33146151900291443,
0.11067768931388855,
-0.08818193525075912,
-0.35743066668510437,
0.07293698191642761,
-0.09629297256469727,
0.009854165837168694,
-0.058005962520837784,
0.1529051810503006,
0.01982879266142845,
-0.17071372270584106,
0.19263766705989838,
-0.19919785857200623,
0.11651357263326645,
0.4010103642940521,
-0.0950600802898407,
-0.008225223049521446,
0.15207763016223907,
0.24231019616127014,
-0.2965589165687561,
0.02485574036836624,
-0.20959557592868805,
0.09969309717416763,
0.5475357174873352,
-0.21072587370872498,
0.27808645367622375,
-0.13247227668762207,
-0.08022554218769073,
0.6820399761199951,
0.0657566636800766,
0.372578889131546,
0.13294868171215057,
0.10982268303632736,
0.24627253413200378,
0.16469955444335938,
-0.04493314400315285,
0.313483327627182,
0.3400472402572632,
-0.21109145879745483,
0.12916144728660583,
0.04655085504055023,
-0.05824291706085205,
0.1887895166873932,
-0.5236121416091919,
-0.17267966270446777,
-0.07649949193000793,
-0.17692288756370544,
-0.28351765871047974,
0.21640819311141968,
-0.182394340634346,
-0.3893395662307739,
-0.06640119850635529,
-0.05178035423159599,
0.08995729684829712,
0.3447936177253723,
0.5112819075584412,
-0.027821088209748268,
-0.10683296620845795,
0.34805870056152344,
-0.4342855215072632,
0.05391433462500572,
-0.18170304596424103,
-0.09984699636697769,
-0.30699336528778076,
-0.2042405605316162,
0.38038867712020874,
0.03726738691329956,
0.09223030507564545,
-0.18326465785503387,
-0.29625076055526733,
-0.19054238498210907,
0.4624095559120178,
0.19155164062976837,
-0.022018514573574066,
0.29197993874549866,
0.13782164454460144,
-0.11210988461971283,
-0.10272639989852905,
-0.13723278045654297,
0.04806322231888771,
0.3674277663230896,
-0.712656557559967,
-0.03930463641881943,
-0.01337527111172676,
0.059736672788858414,
-0.27602776885032654,
-0.45821186900138855,
0.25658050179481506,
0.4907948672771454,
-0.10286680608987808,
0.4354531764984131,
0.10096070170402527,
0.21933718025684357,
0.11841734498739243,
0.08731384575366974,
0.12449264526367188,
-0.36057522892951965,
0.2588234841823578,
-0.1723552644252777,
-0.12067393958568573,
-0.3577924072742462,
-0.14767882227897644,
0.30627933144569397,
-0.18289507925510406,
-0.00884997844696045,
0.12229570001363754,
-0.5049980878829956,
0.6198469400405884,
0.17121204733848572,
0.11023009568452835,
0.20806843042373657,
0.10347185283899307,
0.2150086611509323,
-0.42810189723968506,
-0.019975926727056503,
-0.08858432620763779,
-0.21863950788974762,
0.012261386960744858,
-0.33402910828590393,
0.20597022771835327,
0.01582258939743042,
-0.20278391242027283,
0.28773099184036255,
0.31141841411590576,
-0.0040633780881762505,
0.13252775371074677,
0.3257632255554199,
1.0822381973266602,
-0.06644396483898163,
0.08291538059711456,
-0.1630561351776123,
-0.2869057357311249,
0.164867103099823,
-0.4286201000213623,
-0.016931407153606415,
-0.20987413823604584,
0.4272392690181732,
-0.22230976819992065,
-0.025021834298968315,
0.12122378498315811,
-0.19737212359905243,
-0.27408847212791443,
-0.18783219158649445,
-0.31644636392593384,
-0.05817098543047905,
0.2050449103116989,
-0.2331622838973999,
0.1502431482076645,
-0.1665382981300354,
0.41319355368614197,
0.18743835389614105,
0.05743159353733063,
0.1576344519853592,
-0.04628676548600197,
-0.21703004837036133,
0.014285612851381302,
-0.15708842873573303,
-0.5123615860939026,
-0.14204111695289612,
0.18466421961784363,
-0.265178382396698,
0.5138503313064575,
0.20148439705371857,
0.673916757106781,
0.02966979332268238,
0.4962989091873169,
0.14656253159046173,
-0.14436037838459015,
-0.05784172937273979,
-0.11390360444784164,
0.18081362545490265,
-0.1501011699438095,
0.1418052464723587,
0.31626710295677185,
-0.16311076283454895,
-0.11413522064685822,
0.34687966108322144,
-0.10045897960662842,
-0.4559531807899475,
-0.626575767993927,
0.3599926233291626,
0.3695233464241028,
0.0933106541633606,
-0.05764904245734215,
0.286008358001709,
-0.2397528737783432,
0.01400105282664299,
0.1550154983997345,
0.0058951228857040405,
-0.20589587092399597,
-0.21797406673431396,
0.1421452909708023,
-0.24109219014644623,
0.20422697067260742,
-0.14618724584579468,
0.13523675501346588,
-0.05739688500761986,
0.12438644468784332,
-0.36252638697624207,
-0.1285400092601776,
-0.31303632259368896,
-0.21838411688804626,
0.15061436593532562,
-0.3188613951206207,
-0.12302053719758987,
-0.0588151216506958,
-0.2563227713108063,
-0.17073875665664673,
0.4863974452018738,
0.14744482934474945,
0.2957930564880371,
-0.09915119409561157,
-0.05271470919251442,
-0.2814401388168335,
-0.21225132048130035,
-0.28877097368240356,
-0.05499021336436272,
-0.03202328458428383,
0.15990182757377625,
0.2667265236377716,
0.3800114095211029,
-0.37858113646507263,
-0.14998680353164673,
-0.5378255248069763,
0.09513755887746811,
0.4336719810962677,
-0.05939323455095291,
-0.2261684089899063,
-0.04258938133716583,
0.13460008800029755,
0.27525413036346436,
-0.26456376910209656,
-0.2360363006591797,
-0.3279915153980255,
0.13161523640155792,
0.1550477147102356,
0.10402722656726837,
0.21098826825618744,
0.11769431829452515,
-0.28860920667648315,
0.26393985748291016,
0.08737348020076752,
0.017042845487594604,
-0.0011981353163719177,
0.172840878367424,
0.04135433956980705,
0.5102198123931885,
-0.3694472908973694,
0.19742687046527863,
0.22450411319732666,
0.27905136346817017,
0.005836965050548315,
-0.04975954443216324,
-0.23583993315696716,
-0.033727504312992096,
-0.12714260816574097,
0.24717459082603455,
0.5840355753898621,
0.2895142436027527,
0.07238103449344635,
0.053802501410245895,
0.04262026771903038,
-0.420703262090683,
-0.07531215995550156,
-0.3367060422897339,
-0.016335787251591682,
-0.3312518298625946,
0.16438081860542297,
0.27481067180633545,
-0.06695020198822021,
0.049382004886865616,
-0.06756043434143066,
-0.2539268136024475,
0.09466975927352905,
0.1321507692337036,
0.24838027358055115,
0.06045830249786377,
-0.18456752598285675,
0.11510124057531357,
0.08650795370340347,
-0.3250594139099121,
0.15190313756465912,
-0.1304132491350174,
-0.18952235579490662,
0.1044107973575592,
0.1737186163663864,
-0.15305712819099426,
0.09124557673931122,
-0.2993048429489136,
-0.05418819934129715,
0.15868711471557617,
0.1952003538608551,
0.21546688675880432,
0.005167163908481598,
0.16896547377109528,
0.7555242776870728,
0.19174650311470032,
0.1553947478532791,
0.11599837243556976,
0.31138983368873596,
0.09642156213521957,
0.10486281663179398,
0.0838906392455101,
0.29719606041908264,
-0.0027947165071964264,
0.09457311779260635,
-0.21757543087005615,
-0.21209977567195892,
-0.174780011177063,
-0.3603149652481079,
-0.22752004861831665,
0.13004590570926666,
-0.11734525859355927,
0.3870318531990051,
0.07268557697534561,
0.14393292367458344,
-0.1870640516281128,
0.05348816514015198,
0.057004477828741074,
0.19044655561447144,
-0.29056376218795776,
-0.08579882234334946,
-0.4505506753921509,
-0.12184768915176392,
0.034009095281362534,
0.35444071888923645,
0.26261740922927856,
0.3135915696620941,
0.1605645716190338,
0.10119758546352386,
-0.1821526288986206,
0.11476148664951324,
-0.1373974233865738,
0.014358862303197384,
0.23124538362026215,
0.00954761728644371,
-0.2201213240623474,
0.11648313701152802,
-0.20984047651290894,
0.21682097017765045,
-0.06654034554958344,
-0.045169342309236526,
-0.11626149713993073,
0.3439989387989044,
0.17945817112922668,
-0.4441077709197998,
0.0673246681690216,
0.05601809546351433,
-0.16410383582115173,
0.20280061662197113,
0.07064273953437805,
-0.13466516137123108,
-0.018391383811831474,
-0.36755117774009705,
0.09812691062688828,
0.0901445597410202,
0.38812705874443054,
0.37574222683906555,
-0.28050458431243896,
-0.08077375590801239,
0.02475082129240036,
-0.3294277489185333,
0.45315590500831604,
0.2638378143310547,
-0.12680411338806152,
0.22608737647533417,
0.010803887620568275,
0.23233520984649658,
0.13446515798568726,
-0.0816979706287384,
-0.4541601836681366,
-0.11714480817317963,
0.0008383952081203461,
-0.046790774911642075,
0.17317207157611847,
0.16670441627502441,
-0.21587595343589783,
0.10895657539367676,
0.22515293955802917,
-0.021398771554231644,
0.14357157051563263,
0.15958145260810852,
-0.2749713063240051,
-0.1916082203388214,
0.2541293501853943,
0.16209019720554352,
-0.038661256432533264,
-0.06661812216043472,
-0.24745380878448486,
-0.09733515977859497,
-0.058888211846351624,
0.16243284940719604,
0.06404256820678711,
-0.10268587619066238,
-0.07635947316884995,
0.0826469212770462,
0.04341745376586914,
-0.1495724320411682,
-0.18638578057289124,
-0.41949689388275146,
-0.13162530958652496,
-0.15417714416980743,
0.0453566238284111,
-0.19598877429962158,
-0.08064617216587067,
0.04379317909479141,
0.004650563932955265,
-0.16436222195625305,
-0.12120115011930466,
0.3040314316749573,
-0.0682317242026329,
-0.27064359188079834,
-0.10241436213254929,
0.2516012191772461,
0.10201863199472427,
-0.23248781263828278,
-0.08965685963630676,
0.43846917152404785,
-0.08194460719823837,
0.08919526636600494,
-0.5553399324417114,
0.018246471881866455,
0.45795950293540955,
-0.1972416341304779,
-0.10949724912643433,
0.428825318813324,
-0.14635823667049408,
-0.20513291656970978,
-0.1490943729877472,
-0.3382970094680786,
-0.15960541367530823,
0.08902662992477417,
0.14739573001861572,
-0.4564857482910156
] |
https://github.com/huggingface/datasets/pull/2289 | Allow collaborators to self-assign issues | @lhoestq, it doesn't exist in `transformers`... I picked the idea from `scikit-learn`, where I have previously collaborated...
And sure, this must be documented! I just wanted first to know your opinion... | Allow collaborators (without write access to the repository) to self-assign issues.
In order to self-assign an issue, they have to comment it with the word: `#take` or `#self-assign`. | 31 | text: Allow collaborators to self-assign issues
Allow collaborators (without write access to the repository) to self-assign issues.
In order to self-assign an issue, they have to comment it with the word: `#take` or `#self-assign`.
@lhoestq, it doesn't exist in `transformers`... I picked the idea from `scikit-learn`, where I have previously collaborated...
And sure, this must be documented! I just wanted first to know your opinion... | [
0.21919409930706024,
-0.14237116277217865,
0.015788618475198746,
-0.05948861688375473,
-0.11984087526798248,
-0.09316186606884003,
0.4088830053806305,
-0.08842657506465912,
0.08000773191452026,
0.30076971650123596,
0.2086208313703537,
0.3760029971599579,
-0.2507013976573944,
-0.21524089574813843,
-0.007667888887226582,
0.25481152534484863,
-0.10680613666772842,
0.038468822836875916,
-0.1827327311038971,
-0.1043747216463089,
-0.22758014500141144,
-0.0011294502764940262,
-0.3603377938270569,
0.02202366665005684,
-0.2605537176132202,
0.09665267914533615,
0.2766719460487366,
-0.17380693554878235,
0.004624733701348305,
-0.16981998085975647,
-0.02360582910478115,
0.4307805895805359,
-0.40004226565361023,
0.22047054767608643,
-0.00011810701107606292,
-0.019617196172475815,
0.24692919850349426,
-0.06443794071674347,
0.02252161130309105,
0.18468230962753296,
-0.2845276892185211,
0.0068968795239925385,
0.1558484584093094,
-0.3074338436126709,
-0.0012705624103546143,
0.37166067957878113,
0.1569652259349823,
-0.0898955911397934,
0.40445178747177124,
-0.13726985454559326,
0.13781887292861938,
0.4811171591281891,
0.04050226882100105,
-0.11646297574043274,
0.028821773827075958,
0.11123010516166687,
-0.2462536096572876,
-0.041528668254613876,
0.27104973793029785,
0.2566196024417877,
0.13036051392555237,
0.11141344904899597,
-0.001142432913184166,
-0.32009419798851013,
0.4398620128631592,
-0.09215310961008072,
0.5120363235473633,
-0.4132114052772522,
-0.1257353127002716,
-0.0033936724066734314,
0.7978154420852661,
-0.08133988827466965,
-0.12588006258010864,
-0.1421264410018921,
0.024650122970342636,
0.6335952877998352,
0.07864397019147873,
0.015706276521086693,
-0.3720024526119232,
0.2361646443605423,
0.1711859256029129,
-0.27657946944236755,
-0.2017844021320343,
-0.10628582537174225,
0.42137059569358826,
0.5951007604598999,
-0.02137133851647377,
0.14847049117088318,
0.04169362038373947,
0.23253284394741058,
0.16513362526893616,
-0.1031976193189621,
0.1297024041414261,
0.357847660779953,
0.043866902589797974,
-0.08821142464876175,
0.005073033273220062,
-0.25832241773605347,
0.10638950020074844,
0.26095259189605713,
0.23533259332180023,
-0.1446576714515686,
-0.11611156910657883,
0.3728140890598297,
0.13923928141593933,
0.044894538819789886,
-0.15233850479125977,
0.2939545810222626,
0.09711871296167374,
-0.2632572054862976,
0.48445045948028564,
0.11216645687818527,
-0.4247826039791107,
-0.03924335166811943,
0.1004524976015091,
0.16000011563301086,
0.1913960576057434,
0.29603099822998047,
0.018876949325203896,
0.09740319848060608,
-0.28494542837142944,
-0.1464037448167801,
0.005801166407763958,
0.2524365782737732,
0.03878370299935341,
0.11143811047077179,
0.17823703587055206,
-0.5083250403404236,
0.029378963634371758,
-0.2707095444202423,
-0.1502615362405777,
-0.04949894919991493,
-0.3691670894622803,
-0.08625122904777527,
-0.1982622742652893,
0.4140602648258209,
0.25790902972221375,
-0.3439556062221527,
0.21579134464263916,
-0.06823557615280151,
-0.17492659389972687,
0.1560388058423996,
0.142808198928833,
0.35915470123291016,
-0.24935978651046753,
0.011817002668976784,
-0.021083112806081772,
-0.3844452500343323,
-0.258399099111557,
0.3966311812400818,
-0.10958080738782883,
-0.217728853225708,
-0.19530822336673737,
0.133982315659523,
0.17634323239326477,
0.08973623067140579,
-0.01682112365961075,
0.04870420694351196,
0.4166681170463562,
-0.03353156894445419,
0.6176763772964478,
0.25893810391426086,
0.21955826878547668,
-0.20537303388118744,
0.15665490925312042,
0.38126835227012634,
0.10801735520362854,
-0.30797576904296875,
-0.043441422283649445,
-0.14000093936920166,
0.16458582878112793,
0.33527013659477234,
-0.2093351036310196,
0.16878482699394226,
-0.011074713431298733,
0.3978654742240906,
0.44628623127937317,
-0.2874547839164734,
-0.23198877274990082,
0.21316899359226227,
-0.34663307666778564,
-0.18896369636058807,
0.12156670540571213,
0.4668481647968292,
0.19850558042526245,
-0.15149830281734467,
0.3450436294078827,
0.013150842860341072,
0.046747829765081406,
-0.010189365595579147,
-0.2994605600833893,
-0.36750081181526184,
-0.05746322125196457,
-0.22013194859027863,
0.2726876139640808,
0.2888891100883484,
0.03458758071064949,
0.21959605813026428,
0.3126784563064575,
0.01531132310628891,
0.21555697917938232,
-0.04358721524477005,
0.7710257172584534,
-0.026382558047771454,
-0.041869085282087326,
-0.1735025942325592,
-0.17537185549736023,
-0.0843927413225174,
-0.15961574018001556,
0.10629475116729736,
0.26321348547935486,
-0.41151535511016846,
-0.3839297294616699,
0.23933224380016327,
0.05456385761499405,
-0.19038601219654083,
0.011311966925859451,
-0.08351826667785645,
-0.31966012716293335,
-0.09801225364208221,
-0.35469260811805725,
0.12732185423374176,
-0.25899359583854675,
0.02525760792195797,
-0.17881633341312408,
-0.18368837237358093,
-0.3955787420272827,
0.1504513919353485,
-0.2891343832015991,
0.24654248356819153,
-0.15220186114311218,
0.03872025012969971,
0.17888915538787842,
0.18759384751319885,
-0.45250529050827026,
-0.018555328249931335,
-0.3350314199924469,
0.2319362461566925,
0.13370487093925476,
-0.676145613193512,
-0.24139150977134705,
0.2931807339191437,
0.2678171396255493,
0.008979842066764832,
-0.11005624383687973,
-0.030295148491859436,
-0.27773424983024597,
0.028407126665115356,
-0.21152254939079285,
0.05047627538442612,
-0.11707808077335358,
-0.009107928723096848,
-0.47869667410850525,
0.009724952280521393,
-0.18333926796913147,
0.20369449257850647,
0.39297956228256226,
0.21884925663471222,
0.028797365725040436,
-0.08965245634317398,
0.37087133526802063,
-0.04847363382577896,
0.20104491710662842,
0.2327306866645813,
0.10579859465360641,
-0.2123870551586151,
-0.3060802221298218,
-0.06841153651475906,
0.17746537923812866,
0.1591966450214386,
-0.0845642238855362,
0.0009700767695903778,
0.1746290922164917,
-0.11625756323337555,
0.07095545530319214,
0.1300353705883026,
-0.1598106175661087,
0.2735271453857422,
-0.006447951775044203,
0.3063677251338959,
0.05168449878692627,
-0.16715306043624878,
0.09709827601909637,
0.11488144844770432,
-0.273355633020401,
-0.07932516932487488,
0.3969307541847229,
0.13813817501068115,
-0.07958315312862396,
0.17195485532283783,
-0.1741647720336914,
-0.297002911567688,
-0.010000549256801605,
-0.010167598724365234,
-0.1361386924982071,
0.2749359905719757,
-0.1745479255914688,
0.7665310502052307,
-0.1618398278951645,
0.06641833484172821,
-0.1474226713180542,
-0.24180389940738678,
0.18828386068344116,
0.06294421851634979,
-0.14766117930412292,
-0.23127198219299316,
0.2981603443622589,
0.10174238681793213,
-0.033042266964912415,
0.36223313212394714,
-0.41823214292526245,
0.06506989151239395,
0.023851584643125534,
-0.008415518328547478,
0.00804736465215683,
-0.2385963648557663,
0.36099910736083984,
-0.36744269728660583,
-0.2694775462150574,
-0.19696453213691711,
-0.2559153139591217,
-0.5479225516319275,
0.059108298271894455,
-0.3321760296821594,
-0.37968409061431885,
-0.2154845893383026,
-0.19932442903518677,
-0.6060079336166382,
0.6386551856994629,
0.06780599057674408,
0.009070821106433868,
0.36452293395996094,
-0.13683953881263733,
0.34360992908477783,
0.34711953997612,
0.12515504658222198,
-0.017405018210411072,
-0.19575530290603638,
0.18305301666259766,
0.058815646916627884,
0.010072585195302963,
-0.06369511783123016,
-0.1725051999092102,
0.05774514377117157,
-0.13373684883117676,
0.20494072139263153,
0.11247264593839645,
-0.19048602879047394,
0.21705254912376404,
-0.1260066032409668,
0.07815735042095184,
0.47088080644607544,
0.19832749664783478,
-0.17241644859313965,
0.004773251712322235,
-0.18719635903835297,
0.1947421133518219,
0.3865744173526764,
-0.0587330237030983,
0.17598041892051697,
-0.23916131258010864,
0.04483678564429283,
0.8122740387916565,
0.08826903998851776,
0.2027132660150528,
-0.10297998785972595,
0.13050363957881927,
0.23021027445793152,
0.21009990572929382,
-0.13529352843761444,
0.1681451052427292,
0.2793390452861786,
-0.4023856520652771,
0.12592726945877075,
-0.12426897138357162,
-0.16620120406150818,
0.10740768909454346,
-0.4374917149543762,
-0.31667032837867737,
-0.25567251443862915,
-0.1591222733259201,
-0.2104187309741974,
0.26869481801986694,
-0.25337570905685425,
-0.25639477372169495,
-0.1324128806591034,
-0.015526905655860901,
0.1595255732536316,
0.35810524225234985,
0.274860143661499,
-0.1355186551809311,
-0.11887452006340027,
0.3069860637187958,
-0.3821258544921875,
-0.19023995101451874,
-0.2646329700946808,
0.1859884113073349,
-0.24800892174243927,
-0.19303032755851746,
0.3786011338233948,
-0.04727183282375336,
0.20261463522911072,
-0.13289281725883484,
-0.09268924593925476,
-0.052825529128313065,
0.32605117559432983,
0.05791474133729935,
-0.11117379367351532,
0.0946853756904602,
-0.05302901566028595,
0.07309089601039886,
-0.17154642939567566,
-0.2140602320432663,
-0.11294019967317581,
0.43836671113967896,
-0.6371418237686157,
-0.2513115406036377,
-0.14815370738506317,
-0.0809602215886116,
-0.1663576066493988,
-0.2819287180900574,
0.07341460138559341,
0.6581553816795349,
-0.07608328014612198,
0.4700791537761688,
0.24126388132572174,
0.010081762447953224,
0.08819838613271713,
0.12772712111473083,
0.07350097596645355,
-0.3059653043746948,
0.006079383194446564,
-0.07686476409435272,
-0.11870212852954865,
-0.38989078998565674,
-0.3699646294116974,
0.3822261095046997,
-0.04020361229777336,
-0.2498301863670349,
0.18217065930366516,
-0.35461121797561646,
0.6156308650970459,
0.18094229698181152,
0.02230912074446678,
0.10822874307632446,
0.2015329897403717,
0.04950450733304024,
-0.40288200974464417,
-0.05136113241314888,
0.1430533528327942,
-0.2956320643424988,
-0.052092961966991425,
-0.3257756531238556,
0.35793474316596985,
0.032574355602264404,
-0.2447064369916916,
0.3292137384414673,
0.3028264045715332,
-0.18114635348320007,
0.3943102955818176,
0.3675389587879181,
1.239919662475586,
0.014426428824663162,
0.41237950325012207,
-0.09477271884679794,
-0.1625443696975708,
0.2676866948604584,
-0.5661167502403259,
0.10082855075597763,
-0.36537739634513855,
0.38854271173477173,
-0.2987803518772125,
-0.14548161625862122,
0.15464258193969727,
-0.1733761578798294,
-0.25912901759147644,
-0.22721825540065765,
-0.24627941846847534,
0.17638128995895386,
0.3210177421569824,
-0.23485378921031952,
0.2448267936706543,
-0.27325528860092163,
0.4289349317550659,
0.0399574413895607,
0.192437544465065,
0.31395018100738525,
-0.046133287250995636,
-0.2744455933570862,
-0.028299495577812195,
-0.06248869001865387,
-0.6250002384185791,
-0.04639124870300293,
0.12636330723762512,
0.06464692950248718,
0.532980740070343,
0.25705277919769287,
0.7173321843147278,
0.03900277614593506,
0.453279972076416,
0.276144802570343,
-0.12755750119686127,
0.1502782553434372,
-0.2359873652458191,
0.2205444872379303,
-0.2277420461177826,
0.2823895514011383,
0.45202645659446716,
-0.02175576239824295,
-0.24311885237693787,
0.5384594202041626,
-0.1463158279657364,
-0.37694883346557617,
-0.6423900723457336,
0.34245842695236206,
0.3105710744857788,
0.04988475516438484,
-0.11183242499828339,
0.42797359824180603,
-0.26941585540771484,
0.018643435090780258,
0.06890782713890076,
-0.003611147403717041,
-0.33230817317962646,
0.0007261037826538086,
0.039622679352760315,
-0.2568206787109375,
0.22261077165603638,
0.191475972533226,
0.15267989039421082,
0.03268866240978241,
0.1396813839673996,
-0.49658462405204773,
-0.1840331256389618,
-0.28641659021377563,
0.054093070328235626,
0.1523677259683609,
-0.6585797071456909,
-0.2035854607820511,
-0.32880356907844543,
-0.4780922532081604,
-0.14407621324062347,
0.5240027904510498,
0.2819288372993469,
0.29110482335090637,
-0.30517449975013733,
-0.03200468793511391,
-0.2786847651004791,
-0.09890373051166534,
-0.21519161760807037,
0.12111850082874298,
-0.06500169634819031,
0.37267830967903137,
0.21256710588932037,
0.2639419436454773,
-0.30283889174461365,
-0.24570730328559875,
-0.6921631693840027,
0.044442176818847656,
0.3246924877166748,
-0.1850072741508484,
-0.07724913209676743,
-0.004534254781901836,
0.03535299003124237,
0.24282442033290863,
-0.20677916705608368,
-0.07374359667301178,
-0.37052372097969055,
0.18587391078472137,
0.11651796847581863,
0.23565150797367096,
0.08205293864011765,
0.07616598904132843,
-0.21291732788085938,
0.10820753872394562,
0.11504872143268585,
0.18971601128578186,
0.16432154178619385,
0.4793972074985504,
-0.037119437009096146,
0.4444027543067932,
-0.6219909191131592,
0.22772492468357086,
0.2585657238960266,
0.22555214166641235,
-0.007390327751636505,
0.006862327456474304,
-0.1865435242652893,
-0.016330622136592865,
-0.33627650141716003,
0.31390702724456787,
0.36101359128952026,
0.38124144077301025,
0.16461116075515747,
-0.13336622714996338,
0.19057175517082214,
-0.4716774523258209,
0.0017436482012271881,
-0.24407196044921875,
0.015572065487504005,
-0.36532625555992126,
0.12259448319673538,
0.1843215972185135,
-0.10094916820526123,
-0.05783193185925484,
0.016160819679498672,
-0.271514892578125,
0.11614029109477997,
0.24436375498771667,
0.09262023866176605,
0.12246246635913849,
-0.024316266179084778,
0.1751076579093933,
0.26292237639427185,
-0.4159177541732788,
0.15668147802352905,
0.0757710337638855,
-0.01396872103214264,
0.19180230796337128,
0.19429756700992584,
-0.018536079674959183,
0.4152696132659912,
-0.01842915266752243,
0.06860925257205963,
0.006514392793178558,
-0.010124675929546356,
0.16840679943561554,
0.1766531765460968,
0.1952838897705078,
0.4625847339630127,
-0.04133853316307068,
0.24333469569683075,
0.23605570197105408,
0.133997842669487,
-0.11911683529615402,
-0.08007010072469711,
0.2456350475549698,
0.09154434502124786,
0.031139878556132317,
0.03288997709751129,
-0.3559947907924652,
0.049379587173461914,
-0.0823553204536438,
-0.4149940311908722,
-0.25172117352485657,
0.2977614998817444,
-0.027300134301185608,
0.39782485365867615,
0.10406272113323212,
0.2120179533958435,
0.06675359606742859,
0.16965234279632568,
0.07456542551517487,
0.36176690459251404,
-0.4164109230041504,
-0.06041795760393143,
-0.3709220886230469,
-0.059161871671676636,
-0.2767751216888428,
0.3255877196788788,
0.27718040347099304,
0.2480924427509308,
0.06746633350849152,
0.0739859864115715,
-0.17250043153762817,
0.004170909523963928,
-0.20899777114391327,
0.09465517848730087,
0.2661508321762085,
0.03352930024266243,
-0.13418033719062805,
-0.022612500935792923,
-0.1563333123922348,
0.14113973081111908,
0.14307203888893127,
0.0669851303100586,
-0.24522189795970917,
0.5453106760978699,
-0.004221636801958084,
-0.5912835001945496,
0.1618906855583191,
0.13011589646339417,
-0.2956491708755493,
0.17039912939071655,
0.05676978826522827,
-0.15685907006263733,
0.10790706425905228,
-0.20256942510604858,
0.019265830516815186,
0.1674354076385498,
0.4267142713069916,
0.3418276607990265,
-0.2724215090274811,
-0.04379924014210701,
0.21967728435993195,
-0.28908097743988037,
0.2517491579055786,
0.2596767544746399,
-0.17131629586219788,
0.19949431717395782,
0.11144906282424927,
0.0004057064652442932,
0.08967719972133636,
-0.07818976044654846,
-0.31018584966659546,
-0.09786399453878403,
0.0704449936747551,
0.12240438163280487,
0.09808909893035889,
0.0610673762857914,
-0.23066920042037964,
0.19763268530368805,
-0.024240653961896896,
-0.22685019671916962,
0.19355705380439758,
0.03999669849872589,
-0.2216646522283554,
-0.28776827454566956,
0.4338741600513458,
0.17258179187774658,
-0.04117874801158905,
-0.21214865148067474,
0.03706647455692291,
-0.1000901460647583,
-0.1653503179550171,
0.21588729321956635,
-0.09406693279743195,
-0.01983138546347618,
-0.10371338576078415,
0.1264817714691162,
0.1935829073190689,
-0.19379663467407227,
-0.23392732441425323,
-0.4787210524082184,
-0.3304275572299957,
-0.03707167133688927,
-0.026485521346330643,
-0.3494434654712677,
-0.06562570482492447,
-0.07493986934423447,
0.17109276354312897,
0.2294531613588333,
0.05808845907449722,
0.12245769798755646,
-0.03155098855495453,
-0.3133537769317627,
-0.17192593216896057,
0.4348576068878174,
0.03516475856304169,
-0.2847643792629242,
-0.10875358432531357,
0.43494904041290283,
-0.043858952820301056,
0.09753049910068512,
-0.6749180555343628,
-0.05970381200313568,
0.4991713762283325,
-0.1259341835975647,
-0.2426096349954605,
0.1535360962152481,
-0.028926320374011993,
-0.2029566764831543,
-0.11154867708683014,
-0.08449134230613708,
-0.2520548403263092,
0.12682481110095978,
0.144941046833992,
-0.4573596119880676
] |
https://github.com/huggingface/datasets/pull/2287 | Avoid copying table's record batches | Thanks for fixing it. I actually included a similar fix in #2291 along with some updates in tests
I'm closing this one in favor of #2291 if you don't mind.
Thanks again ! | Fixes #2276 | 33 | text: Avoid copying table's record batches
Fixes #2276
Thanks for fixing it. I actually included a similar fix in #2291 along with some updates in tests
I'm closing this one in favor of #2291 if you don't mind.
Thanks again ! | [
-0.2458130419254303,
-0.08768205344676971,
-0.10954581201076508,
-0.19910793006420135,
-0.14587964117527008,
-0.205098956823349,
0.11095894128084183,
0.4163222908973694,
0.0014290455728769302,
0.27660879492759705,
0.012467960827052593,
0.1820565015077591,
0.0901312306523323,
0.19988200068473816,
0.0263618566095829,
0.3209739327430725,
0.1507071554660797,
0.21007439494132996,
-0.05959993600845337,
-0.09054958820343018,
-0.17833994328975677,
-0.08283701539039612,
0.009972356259822845,
0.09964950382709503,
-0.1823178231716156,
0.09079920500516891,
0.1683351993560791,
-0.04915598779916763,
-0.15389807522296906,
-0.16115504503250122,
-0.2294333428144455,
0.23713742196559906,
0.029733099043369293,
0.21555687487125397,
-0.00009548965317662805,
0.012180425226688385,
0.06768634915351868,
-0.07169734686613083,
-0.24725666642189026,
0.2268775850534439,
-0.3752574324607849,
-0.07548201084136963,
0.013925180770456791,
0.008703760802745819,
0.061274394392967224,
0.20738516747951508,
-0.1315619945526123,
-0.05509074032306671,
0.14127500355243683,
0.19010698795318604,
0.3930419087409973,
0.20717167854309082,
-0.30804264545440674,
-0.24639174342155457,
0.3730618953704834,
-0.10896633565425873,
-0.16927412152290344,
0.031239639967679977,
0.36197999119758606,
-0.17517994344234467,
-0.24734658002853394,
0.4804004728794098,
-0.15597271919250488,
0.0440557599067688,
-0.033800236880779266,
-0.1836465299129486,
0.3934309184551239,
0.0749138742685318,
0.3968227207660675,
0.01039189100265503,
0.3058322072029114,
-0.27817603945732117,
0.10009834915399551,
-0.1422571837902069,
-0.0192827507853508,
-0.216241717338562,
0.08126068860292435,
0.014038674533367157,
-0.004085204564034939,
0.10464009642601013,
-0.12726929783821106,
-0.15370124578475952,
-0.1322120577096939,
-0.33547264337539673,
0.0341358482837677,
-0.16439580917358398,
-0.03563253954052925,
-0.39474090933799744,
0.300773948431015,
-0.18525952100753784,
0.4412130117416382,
-0.0009623393416404724,
-0.3008016049861908,
-0.09063413739204407,
0.017713923007249832,
-0.11959363520145416,
0.1892300248146057,
0.16095858812332153,
0.14889955520629883,
0.09837640821933746,
0.16866010427474976,
0.2466902732849121,
0.3809422254562378,
-0.09480158239603043,
0.10712264478206635,
0.041920460760593414,
0.10290796309709549,
0.08327115327119827,
0.2526830732822418,
0.26391464471817017,
-0.008485957980155945,
0.006511908024549484,
0.1439320594072342,
-0.08892641216516495,
-0.07624906301498413,
0.01571119762957096,
0.05637705326080322,
-0.3076048493385315,
-0.09407414495944977,
0.2402055412530899,
0.25793713331222534,
-0.0064008948393166065,
-0.026615776121616364,
0.4161078631877899,
0.10464251041412354,
-0.16416141390800476,
0.2321876436471939,
0.0765891820192337,
-0.2953416705131531,
-0.17037492990493774,
-0.4120173454284668,
-0.034241341054439545,
-0.13336396217346191,
0.1247243583202362,
0.24003766477108002,
0.225094273686409,
-0.028028497472405434,
0.024037767201662064,
0.13455331325531006,
0.03754144906997681,
-0.2172688990831375,
0.06633059680461884,
0.2443409562110901,
0.3084951341152191,
0.23846855759620667,
-0.07712555676698685,
0.14680419862270355,
-0.14540353417396545,
0.12806996703147888,
0.4327237606048584,
-0.0017008408904075623,
-0.29435551166534424,
-0.22438417375087738,
0.43911147117614746,
0.04293433576822281,
-0.09202080965042114,
-0.07169806212186813,
0.004454668611288071,
0.15942184627056122,
0.04080089554190636,
0.09828978776931763,
0.13991764187812805,
0.09436747431755066,
-0.02265884354710579,
-0.07721363008022308,
0.33299964666366577,
-0.1733473390340805,
-0.044071078300476074,
0.20747074484825134,
-0.22375616431236267,
0.3246432840824127,
0.14137139916419983,
-0.0048014153726398945,
0.021955911070108414,
0.16913922131061554,
0.12884898483753204,
-0.04858361929655075,
0.03604590520262718,
-0.2359408587217331,
-0.054847486317157745,
-0.24965126812458038,
-0.1905054748058319,
0.012905113399028778,
-0.12645752727985382,
0.1896122545003891,
-0.09570113569498062,
0.21401265263557434,
0.1481231302022934,
-0.08968432247638702,
0.3746721148490906,
-0.44933202862739563,
-0.054956868290901184,
-0.31513410806655884,
-0.01485968753695488,
-0.001996047794818878,
0.26811641454696655,
-0.020236492156982422,
0.018488459289073944,
0.05757244676351547,
-0.1114456057548523,
-0.017255965620279312,
0.06918144226074219,
0.4806932508945465,
0.06811497360467911,
-0.09550318121910095,
0.1768464744091034,
-0.12768787145614624,
-0.19036635756492615,
-0.1965457946062088,
0.043819937855005264,
0.1611580103635788,
-0.31978005170822144,
-0.05322645232081413,
0.026834899559617043,
-0.2823832929134369,
0.17484939098358154,
0.3126588463783264,
-0.17894795536994934,
-0.09241925179958344,
0.002726256847381592,
0.11427895724773407,
-0.14137454330921173,
-0.30730003118515015,
0.014537678100168705,
-0.010455597192049026,
-0.18555952608585358,
-0.28333911299705505,
-0.109143927693367,
0.07034284621477127,
0.24815833568572998,
0.32880961894989014,
0.17307212948799133,
-0.05514740198850632,
0.29883888363838196,
-0.2809673547744751,
0.11121432483196259,
-0.16106835007667542,
0.11336559057235718,
-0.011376587674021721,
0.08110123872756958,
-0.04999277740716934,
-0.36815550923347473,
0.014900288544595242,
-0.0010244771838188171,
-0.15237000584602356,
0.3293871283531189,
-0.004428736865520477,
-0.09005867689847946,
0.19058051705360413,
-0.0963764563202858,
0.13879342377185822,
-0.24584317207336426,
0.26675859093666077,
-0.3981640636920929,
0.11806374788284302,
0.3760004937648773,
-0.3096466064453125,
-0.033104315400123596,
-0.21052029728889465,
0.4294895827770233,
0.05057587847113609,
0.057645101100206375,
0.31816112995147705,
0.020469043403863907,
0.07473482936620712,
-0.27291402220726013,
-0.015276016667485237,
0.30990228056907654,
0.14229978621006012,
0.31530481576919556,
0.19972293078899384,
0.010895505547523499,
0.12541820108890533,
-0.38134297728538513,
0.23189270496368408,
-0.056181102991104126,
-0.060070060193538666,
0.20193475484848022,
0.03479229658842087,
-0.2302665114402771,
-0.32762646675109863,
0.27213260531425476,
-0.009192198514938354,
0.25028014183044434,
-0.2986512780189514,
-0.2545630633831024,
-0.5059868097305298,
-0.302970826625824,
-0.13551752269268036,
-0.005525054410099983,
0.07898209989070892,
-0.2859628200531006,
0.5302406549453735,
0.36915871500968933,
-0.6298589110374451,
0.16816115379333496,
0.028125807642936707,
0.5403055548667908,
-0.1302456557750702,
0.1665784865617752,
-0.1889626830816269,
-0.12248915433883667,
-0.13857430219650269,
0.2682914733886719,
-0.03875239938497543,
-0.021023493260145187,
0.2774823009967804,
-0.05590662360191345,
0.06240357458591461,
-0.3733362853527069,
-0.06491608917713165,
0.088166743516922,
-0.007890645414590836,
-0.12893250584602356,
0.10438775271177292,
0.2579250931739807,
-0.15798348188400269,
-0.09924165159463882,
-0.14925821125507355,
-0.2910296618938446,
-0.16245228052139282,
0.06682804226875305,
-0.07567724585533142,
-0.09664201736450195,
-0.2860817313194275,
-0.07954665273427963,
-0.06099097430706024,
-0.3462866544723511,
0.12463963031768799,
-0.08070337772369385,
0.18806740641593933,
0.3271288573741913,
0.08430997282266617,
-0.04429209977388382,
-0.17319560050964355,
-0.0026251915842294693,
-0.3700205385684967,
-0.04564579576253891,
0.07319045066833496,
-0.3133966624736786,
-0.3250546157360077,
-0.1104789525270462,
0.2683109641075134,
-0.25195401906967163,
-0.11657257378101349,
-0.1531197428703308,
-0.12331029772758484,
0.03299509361386299,
0.031595442444086075,
0.18608611822128296,
0.023069357499480247,
0.22713033854961395,
-0.08872544765472412,
-0.42926380038261414,
-0.21909818053245544,
-0.04600803554058075,
0.19227981567382812,
-0.21473193168640137,
0.15176191926002502,
-0.3464728593826294,
0.20274081826210022,
0.11148884892463684,
0.5043697953224182,
-0.014701143838465214,
0.19519297778606415,
0.2928815186023712,
-0.08613546192646027,
0.32615897059440613,
-0.2226220667362213,
0.025159908458590508,
-0.09357524663209915,
0.014650270342826843,
-0.0898158997297287,
0.30204540491104126,
-0.23835217952728271,
-0.1220766231417656,
0.15788820385932922,
-0.022241229191422462,
-0.06456562131643295,
-0.40358537435531616,
0.1297723948955536,
0.10853902250528336,
0.09702060371637344,
0.3015258312225342,
-0.08380245417356491,
-0.11383840441703796,
-0.10815966874361038,
-0.052472833544015884,
-0.11587098240852356,
-0.04953061789274216,
-0.1796172857284546,
-0.28795328736305237,
-0.25338685512542725,
-0.3882454037666321,
0.31234776973724365,
0.05483848229050636,
0.3028907775878906,
-0.18014433979988098,
-0.5248016119003296,
-0.03899548947811127,
0.10577193647623062,
0.3605915904045105,
-0.005927961319684982,
0.11773481220006943,
-0.130222350358963,
0.01373550295829773,
0.08342211693525314,
-0.11983609199523926,
-0.052082359790802,
0.25074678659439087,
0.24948294460773468,
-0.1362396627664566,
-0.039284758269786835,
-0.07428047060966492,
0.36498957872390747,
-0.09113205224275589,
-0.07968666404485703,
0.05541601404547691,
-0.12734439969062805,
-0.13454008102416992,
-0.26255589723587036,
0.32826292514801025,
0.37797847390174866,
-0.03347050026059151,
-0.3589325249195099,
-0.09742087870836258,
0.200602188706398,
0.2165296971797943,
0.023435190320014954,
0.09392356872558594,
0.28070640563964844,
0.07989958673715591,
0.18111936748027802,
-0.13259463012218475,
0.07977009564638138,
0.3982793390750885,
0.2649330496788025,
-0.4788376986980438,
0.053920432925224304,
0.059489984065294266,
-0.341567724943161,
0.13891245424747467,
0.36391156911849976,
0.16203604638576508,
0.32672709226608276,
0.04983162134885788,
0.05835523456335068,
0.19350886344909668,
-0.40470030903816223,
-0.2676094174385071,
-0.20183910429477692,
0.05841025337576866,
0.05006881803274155,
0.3505014181137085,
0.14494553208351135,
-0.052140310406684875,
0.03669416159391403,
-0.07959449291229248,
-0.14138492941856384,
0.1043187826871872,
0.022517472505569458,
0.7462562918663025,
0.33667147159576416,
0.1745847463607788,
-0.017365984618663788,
-0.16604286432266235,
-0.2328939288854599,
0.0113661028444767,
-0.010015010833740234,
-0.42023980617523193,
-0.3886398673057556,
0.1247149109840393,
0.04839995130896568,
-0.1271040141582489,
0.04046999663114548,
-0.2308865189552307,
0.03689344972372055,
-0.29611971974372864,
0.05951836332678795,
0.03146379441022873,
-0.32710492610931396,
-0.05650094896554947,
-0.2042185515165329,
0.00619976781308651,
0.25938087701797485,
0.30516552925109863,
-0.24096712470054626,
-0.02405388653278351,
-0.03950152546167374,
0.16341839730739594,
-0.2456001341342926,
-0.07016928493976593,
0.14462631940841675,
-0.15813392400741577,
0.036620840430259705,
0.0817393958568573,
0.08015726506710052,
-0.2324034571647644,
-0.3472467064857483,
0.18666142225265503,
0.16629232466220856,
-0.05510284751653671,
0.13265164196491241,
0.5109646916389465,
0.3363737463951111,
-0.15318086743354797,
0.09891720861196518,
0.23547782003879547,
-0.12366823107004166,
0.004452362656593323,
-0.15578791499137878,
0.06208021938800812,
-0.21755468845367432,
-0.26984912157058716,
0.06911075115203857,
0.07921359688043594,
-0.2648133635520935,
-0.2076014131307602,
0.13488923013210297,
-0.007111702114343643,
-0.31226882338523865,
0.34372931718826294,
-0.08224920928478241,
-0.024817965924739838,
0.2764841914176941,
0.003592468798160553,
-0.20105817914009094,
-0.07060463726520538,
0.4330275356769562,
0.10733401775360107,
-0.04471367970108986,
0.1498943269252777,
0.09545792639255524,
-0.3824123740196228,
-0.45103785395622253,
-0.08704935759305954,
0.2331000566482544,
-0.45612457394599915,
0.23004032671451569,
-0.27500367164611816,
-0.3819167912006378,
0.20701657235622406,
0.40281108021736145,
-0.053961873054504395,
0.08380098640918732,
-0.23254694044589996,
0.21277067065238953,
0.010793816298246384,
0.13222427666187286,
-0.17350110411643982,
0.32360291481018066,
0.20334914326667786,
0.3915431797504425,
0.04768994450569153,
0.11332350224256516,
-0.5209406614303589,
-0.02391783893108368,
-0.1700255423784256,
0.07919657975435257,
-0.1331791877746582,
-0.01791241019964218,
-0.011530566960573196,
-0.17443281412124634,
0.18665599822998047,
0.3278541564941406,
-0.029881689697504044,
-0.4744422435760498,
0.11612676084041595,
0.05306227505207062,
-0.054500557482242584,
0.2337970733642578,
-0.11265183240175247,
0.026014532893896103,
-0.3208223879337311,
0.2144642025232315,
0.06195342168211937,
-0.11550495773553848,
0.05836179107427597,
-0.04251578822731972,
0.23351876437664032,
0.013866964727640152,
0.4708009958267212,
0.002526450902223587,
0.010450534522533417,
0.06682803481817245,
-0.26177307963371277,
-0.07561570405960083,
-0.3805457055568695,
-0.13647004961967468,
0.07141648232936859,
0.170794278383255,
0.27965205907821655,
0.25746673345565796,
-0.0675962045788765,
-0.02590782940387726,
-0.43074119091033936,
0.326499879360199,
-0.02699381485581398,
0.07962647080421448,
-0.12851719558238983,
-0.4437822103500366,
0.22784030437469482,
0.44194990396499634,
-0.26985687017440796,
-0.2887670695781708,
-0.07505597174167633,
-0.3943568468093872,
0.12772445380687714,
0.2588939070701599,
0.11763283610343933,
-0.2753332257270813,
0.25119251012802124,
0.4281570613384247,
0.027329184114933014,
-0.3901520371437073,
-0.027677010744810104,
0.029453778639435768,
-0.10597973316907883,
0.011991269886493683,
0.23804661631584167,
0.1724792867898941,
0.15612497925758362,
0.13292436301708221,
0.201908677816391,
0.14136715233325958,
0.07152459025382996,
-0.0892881453037262,
0.057259202003479004,
-0.3878999948501587,
0.09101933240890503,
0.16990910470485687,
-0.03453318774700165,
0.14294567704200745,
0.32401329278945923,
-0.0257410928606987,
-0.03879621624946594,
-0.021583164110779762,
-0.15813694894313812,
0.09514163434505463,
-0.1955072283744812,
-0.043282631784677505,
-0.20000533759593964,
-0.03536612167954445,
-0.06441618502140045,
-0.14300185441970825,
0.05280470475554466,
0.36206352710723877,
0.08403293788433075,
-0.09290137887001038,
0.10396747291088104,
-0.06115902215242386,
-0.18057426810264587,
-0.038943275809288025,
0.13503317534923553,
-0.15640830993652344,
0.026678010821342468,
-0.08691684901714325,
-0.008081763982772827,
0.2825104594230652,
0.3960072100162506,
0.24814391136169434,
0.20583342015743256,
0.11666958034038544,
-0.1812411993741989,
-0.16967688500881195,
-0.16726739704608917,
-0.20003677904605865,
0.13762447237968445,
0.21726614236831665,
-0.09288135170936584,
0.22038376331329346,
0.2684369385242462,
-0.2737036645412445,
0.1648215800523758,
0.3625715672969818,
-0.054108742624521255,
0.2262263000011444,
0.1599825918674469,
0.5115200281143188,
-0.3719402253627777,
-0.009693734347820282,
-0.07871631532907486,
-0.21392139792442322,
0.13424742221832275,
0.1679428368806839,
-0.31458932161331177,
0.0942024439573288,
-0.21274609863758087,
0.19298572838306427,
0.3914700150489807,
0.4551570415496826,
0.08753065764904022,
-0.09255626052618027,
-0.11530715972185135,
-0.1774246245622635,
-0.23746338486671448,
0.17651480436325073,
0.010680846869945526,
0.06622050702571869,
0.2136082649230957,
0.2623450756072998,
0.10372919589281082,
-0.07594167441129684,
0.04252300411462784,
-0.07179728150367737,
-0.18803146481513977,
0.13700786232948303,
-0.2835899591445923,
0.0641583651304245,
0.13790063560009003,
-0.005817389115691185,
0.03846433758735657,
-0.20342472195625305,
0.239095076918602,
0.21426993608474731,
0.30863794684410095,
-0.2523759603500366,
-0.08568032085895538,
0.033918898552656174,
0.12170413881540298,
0.19839134812355042,
0.006435416638851166,
-0.08704164624214172,
-0.30138757824897766,
0.07843320071697235,
0.0555674284696579,
0.04685113951563835,
-0.2689771056175232,
-0.14583265781402588,
0.3695949614048004,
-0.14621642231941223,
0.22438794374465942,
-0.04433940723538399,
0.11110015213489532,
0.10327083617448807,
0.1914839744567871,
0.3255138695240021,
-0.26453837752342224,
0.328922837972641,
0.20939859747886658,
0.05578751862049103,
-0.1495031714439392,
0.09961417317390442,
-0.016431130468845367,
0.28475964069366455,
-0.34872835874557495,
-0.5975378155708313,
0.3953472077846527,
-0.17495104670524597,
-0.21184666454792023,
-0.032420262694358826,
0.5866003036499023,
-0.11723168939352036,
-0.3338170051574707,
-0.4425118863582611,
-0.06863076984882355,
-0.04286119341850281,
-0.1499883234500885,
-0.12894339859485626,
0.43784859776496887,
-0.12095440924167633,
0.08546313643455505,
-0.14023280143737793,
0.24360661208629608,
0.3435935080051422,
-0.1595865935087204,
-0.13974781334400177,
-0.3149909973144531
] |
https://github.com/huggingface/datasets/pull/2280 | Fixed typo seperate->separate | Hi ! Thanks for the fix :)
The CI fail isn't related to your PR. I opened a PR #2286 to fix the CI.
We'll wait for #2286 to be merged to master first if you don't mind | 38 | text: Fixed typo seperate->separate
Hi ! Thanks for the fix :)
The CI fail isn't related to your PR. I opened a PR #2286 to fix the CI.
We'll wait for #2286 to be merged to master first if you don't mind | [
-0.14834825694561005,
-0.1782684177160263,
-0.16793474555015564,
-0.10144808888435364,
0.18571874499320984,
-0.22059714794158936,
0.19571219384670258,
-0.13442474603652954,
-0.14119932055473328,
0.3132667541503906,
0.130100280046463,
-0.02307351864874363,
0.29466429352760315,
0.3946768343448639,
-0.31451037526130676,
-0.14378942549228668,
-0.14138609170913696,
0.15847495198249817,
0.2185957431793213,
0.05084160715341568,
-0.11336812376976013,
0.2825446128845215,
-0.08484584838151932,
0.29756301641464233,
0.05317400395870209,
-0.22578105330467224,
0.11197684705257416,
0.3050018548965454,
-0.3128278851509094,
-0.18745657801628113,
0.19514547288417816,
0.19802254438400269,
-0.21446813642978668,
0.24243327975273132,
-0.00009291525202570483,
0.020229123532772064,
0.27754390239715576,
0.0018195398151874542,
-0.01653008535504341,
0.11908398568630219,
-0.2023344337940216,
0.10464244335889816,
-0.16817282140254974,
-0.056811101734638214,
-0.1789780855178833,
0.05663216859102249,
-0.05189105123281479,
0.13865777850151062,
0.23955793678760529,
0.36128827929496765,
0.42037683725357056,
0.11545555293560028,
0.08551348745822906,
-0.3640564978122711,
0.06026783213019371,
-0.07507017254829407,
-0.13014009594917297,
-0.050256501883268356,
-0.04067568480968475,
-0.08625014871358871,
-0.05442463606595993,
0.22991017997264862,
0.18136242032051086,
0.10058842599391937,
0.0593625083565712,
0.006446337793022394,
0.2689867317676544,
-0.06691932678222656,
0.1331113576889038,
-0.37912166118621826,
0.14550983905792236,
-0.021092653274536133,
0.05338092893362045,
0.1693425476551056,
0.002814206760376692,
-0.3808182179927826,
0.27383533120155334,
0.048944294452667236,
-0.0965399295091629,
0.06714027374982834,
-0.03315527364611626,
-0.18285465240478516,
-0.068782739341259,
-0.16973301768302917,
-0.10546071827411652,
0.09745348244905472,
-0.012056046165525913,
-0.12169919162988663,
0.08916589617729187,
0.10930052399635315,
0.16673873364925385,
0.301499605178833,
-0.13856181502342224,
-0.2246599942445755,
0.30527642369270325,
-0.06168944388628006,
0.10343845188617706,
0.23087915778160095,
-0.1970544457435608,
-0.0192975252866745,
0.059959545731544495,
-0.02844758704304695,
0.1116572767496109,
0.10285204648971558,
0.15853700041770935,
0.07397778332233429,
0.192442387342453,
0.4055531322956085,
0.37474751472473145,
0.2706887423992157,
-0.0481262244284153,
-0.07100021839141846,
0.06804953515529633,
-0.24866832792758942,
-0.3294118344783783,
0.1733209192752838,
0.029086176306009293,
-0.2370387762784958,
-0.3614211976528168,
0.19670723378658295,
0.16159659624099731,
0.07163239270448685,
-0.2837141156196594,
0.31891438364982605,
0.1025477722287178,
0.29327043890953064,
0.1883067786693573,
-0.19164885580539703,
-0.08586550503969193,
-0.09999439865350723,
-0.25993508100509644,
0.1643868237733841,
-0.3734012246131897,
-0.04719347506761551,
-0.1353001892566681,
0.09078268706798553,
0.07891742885112762,
0.02410213276743889,
0.4148545265197754,
-0.21013885736465454,
-0.20614467561244965,
0.21766456961631775,
0.030977744609117508,
0.2743428647518158,
0.2021113634109497,
-0.19006985425949097,
0.19215363264083862,
-0.4158697724342346,
0.2802428901195526,
0.1483307182788849,
-0.19146794080734253,
-0.21614357829093933,
-0.34658825397491455,
0.4213046431541443,
0.15443524718284607,
-0.014702651649713516,
0.36263006925582886,
-0.10785993933677673,
0.1978394091129303,
-0.07898350059986115,
0.12418970465660095,
0.022666042670607567,
-0.08727312088012695,
-0.0719723254442215,
-0.09874945133924484,
-0.12839768826961517,
-0.05956406891345978,
-0.09898508340120316,
0.07356061041355133,
-0.1756710410118103,
0.31779220700263977,
0.37562084197998047,
-0.08860097080469131,
0.23304304480552673,
-0.17284631729125977,
-0.04282443970441818,
0.24135491251945496,
-0.3665213882923126,
-0.09125345200300217,
0.20724540948867798,
-0.3103027939796448,
-0.46618208289146423,
-0.03690030425786972,
-0.23162871599197388,
0.21603688597679138,
-0.05698540434241295,
0.2783121168613434,
0.05430784821510315,
-0.40598395466804504,
0.22009211778640747,
-0.5101804733276367,
-0.07171420753002167,
-0.519603967666626,
-0.11490310728549957,
0.10898208618164062,
0.18631790578365326,
0.15742415189743042,
0.18269659578800201,
0.32426559925079346,
-0.14075495302677155,
-0.08279504626989365,
0.21967020630836487,
0.26920127868652344,
0.052252739667892456,
0.025343207642436028,
0.10575173050165176,
0.1541706919670105,
-0.18664845824241638,
-0.2950983941555023,
0.40887677669525146,
0.3288443982601166,
-0.21920041739940643,
-0.4232231676578522,
-0.04175393283367157,
-0.02308053895831108,
-0.24077245593070984,
0.4063582420349121,
0.08337511122226715,
-0.07334710657596588,
-0.2320973426103592,
0.06348887085914612,
-0.08617458492517471,
-0.248041570186615,
0.052677225321531296,
0.10857085883617401,
-0.13678643107414246,
-0.5922238230705261,
0.030091363936662674,
0.07136957347393036,
0.06030924245715141,
0.1643175482749939,
0.08999750018119812,
-0.11318840831518173,
0.26978600025177,
-0.2734116017818451,
0.1997591257095337,
0.07486086338758469,
-0.1693773716688156,
0.18234826624393463,
-0.22679239511489868,
-0.21809901297092438,
0.014620322734117508,
-0.07774264365434647,
0.08602561801671982,
-0.0743618831038475,
0.2707209587097168,
-0.0621173195540905,
-0.19743293523788452,
0.11267663538455963,
0.05368637293577194,
0.2652694284915924,
-0.3219912648200989,
0.04029045253992081,
-0.5080899000167847,
0.16681978106498718,
-0.015900220721960068,
-0.376060426235199,
-0.14104419946670532,
-0.07340260595083237,
0.09770729392766953,
0.19643782079219818,
0.17196525633335114,
-0.028892099857330322,
-0.032072558999061584,
0.26724472641944885,
0.03537113964557648,
-0.045437008142471313,
0.333620548248291,
0.3186619281768799,
0.23288777470588684,
-0.002525884658098221,
0.12440439313650131,
0.10312320291996002,
-0.26004618406295776,
0.2631778120994568,
-0.048006415367126465,
-0.09958396852016449,
0.36019548773765564,
0.08872950822114944,
-0.005973915569484234,
-0.1148839071393013,
0.15048301219940186,
-0.06255221366882324,
0.22353963553905487,
-0.15767064690589905,
-0.23027895390987396,
-0.02044406160712242,
-0.07543952763080597,
0.07929892092943192,
0.11659881472587585,
0.2834510803222656,
-0.14231552183628082,
0.3813549280166626,
0.033328115940093994,
-0.2781720459461212,
0.151419535279274,
-0.06629009544849396,
0.1753070056438446,
-0.059894364327192307,
0.3894495964050293,
0.02048809826374054,
-0.1730894148349762,
-0.016742151230573654,
0.31077396869659424,
-0.048073362559080124,
-0.16255059838294983,
0.29043856263160706,
-0.23993714153766632,
-0.08128079771995544,
-0.25763264298439026,
-0.32434648275375366,
0.253961443901062,
0.018323929980397224,
-0.12892195582389832,
0.39045363664627075,
0.07600005716085434,
0.1349467933177948,
-0.33283498883247375,
0.24006685614585876,
-0.30072149634361267,
-0.2789143919944763,
-0.3093038499355316,
0.08202220499515533,
-0.07817818224430084,
-0.39199021458625793,
-0.3867439031600952,
0.0183461531996727,
-0.3247045576572418,
0.05272696912288666,
0.017400503158569336,
0.07451548427343369,
-0.005660039372742176,
-0.16543760895729065,
-0.3049783706665039,
0.00012169685214757919,
-0.18592523038387299,
-0.2967033088207245,
-0.19191528856754303,
-0.06597413122653961,
-0.34713584184646606,
-0.3005251884460449,
0.1630631983280182,
0.13557307422161102,
0.08729324489831924,
-0.2400837540626526,
-0.16062593460083008,
-0.0849035382270813,
0.03913585841655731,
0.052666690200567245,
-0.057272717356681824,
-0.04438666254281998,
0.19498851895332336,
0.08251448720693588,
-0.40368878841400146,
-0.16156400740146637,
-0.2728174328804016,
0.0342586487531662,
0.04437244310975075,
0.3742911219596863,
-0.41592156887054443,
0.06164969876408577,
0.0020253732800483704,
0.48052799701690674,
0.0879153162240982,
-0.011210162192583084,
-0.03805450350046158,
-0.11016394942998886,
0.1583215445280075,
0.13554318249225616,
-0.15893346071243286,
0.26240411400794983,
-0.07203719019889832,
-0.26236987113952637,
0.4631804823875427,
-0.046924516558647156,
-0.23665545880794525,
-0.1726478636264801,
0.000673411414027214,
-0.0011365599930286407,
-0.21432332694530487,
0.001482238993048668,
0.0225074365735054,
0.24814996123313904,
0.1620389223098755,
-0.11546866595745087,
-0.0019528232514858246,
0.1014518141746521,
0.07704387605190277,
0.01612093299627304,
-0.09349352866411209,
-0.18155913054943085,
0.034239720553159714,
-0.13002869486808777,
-0.08933787792921066,
0.16498254239559174,
0.053435951471328735,
-0.09143273532390594,
-0.22294402122497559,
-0.11298676580190659,
0.0021023303270339966,
-0.14821434020996094,
-0.04898175597190857,
-0.2691318094730377,
-0.22807015478610992,
0.032758112996816635,
0.1798923909664154,
0.373424232006073,
-0.07784891128540039,
-0.20098432898521423,
0.4867479205131531,
0.3749563694000244,
0.05727645382285118,
-0.11245938390493393,
0.04028577730059624,
0.3598208427429199,
-0.37118762731552124,
-0.2880215644836426,
-0.03442546725273132,
-0.24476684629917145,
-0.4277029037475586,
-0.3663981258869171,
0.33380693197250366,
0.3706842362880707,
-0.02315390296280384,
-0.20506426692008972,
-0.03658365085721016,
0.3478785753250122,
0.2018524408340454,
-0.09416551887989044,
0.02991000935435295,
0.04201255738735199,
-0.13126106560230255,
-0.23500502109527588,
-0.1519816815853119,
0.054366596043109894,
0.3449718952178955,
0.31058740615844727,
-0.06498529016971588,
-0.06693336367607117,
0.08581908792257309,
-0.25959911942481995,
0.08092100918292999,
0.38284173607826233,
0.058537647128105164,
0.037950459867715836,
0.12440422922372818,
0.3903021812438965,
0.31316977739334106,
-0.06317436695098877,
-0.09660593420267105,
-0.06187140569090843,
0.014461224898695946,
0.19202566146850586,
-0.3202803432941437,
-0.045642316341400146,
-0.099625363945961,
-0.0034622959792613983,
0.0778193399310112,
-0.22584709525108337,
0.21165317296981812,
0.14790648221969604,
0.8256891965866089,
0.2843661606311798,
-0.037862297147512436,
-0.33930253982543945,
-0.08367638289928436,
0.21648149192333221,
-0.1575903594493866,
0.11693739145994186,
-0.3560805320739746,
-0.22623606026172638,
0.02153865434229374,
0.13967259228229523,
0.1547832190990448,
-0.1741725504398346,
-0.4307365417480469,
0.09947045892477036,
0.04839058220386505,
0.09961012750864029,
0.17257480323314667,
0.03814499080181122,
0.03062589094042778,
0.10365340113639832,
-0.0040438976138830185,
0.21301943063735962,
0.026430264115333557,
0.1544565111398697,
-0.19143322110176086,
-0.1457556188106537,
0.06499676406383514,
-0.13691332936286926,
-0.4217427968978882,
0.02287249267101288,
-0.3739246428012848,
-0.05656126141548157,
-0.0441589392721653,
-0.22106166183948517,
0.06353759765625,
0.18091997504234314,
0.6317568421363831,
0.0978165864944458,
-0.11002625524997711,
0.3673088550567627,
0.29940032958984375,
-0.06764665991067886,
-0.17064161598682404,
0.011492515914142132,
-0.18480969965457916,
-0.312622994184494,
-0.18354637920856476,
-0.11429031938314438,
-0.20562048256397247,
-0.07248217612504959,
-0.23317855596542358,
0.18570157885551453,
0.10610753297805786,
-0.10839474201202393,
0.10052880644798279,
-0.06948681175708771,
-0.24361026287078857,
-0.32708460092544556,
0.3328179717063904,
-0.14077284932136536,
0.008087432943284512,
-0.09093824774026871,
0.17675940692424774,
-0.17095181345939636,
0.010005872696638107,
-0.04521278291940689,
0.1236417219042778,
-0.2699277997016907,
0.0020068883895874023,
-0.08983349055051804,
-0.2272961586713791,
-0.40875741839408875,
-0.11225546896457672,
-0.20935305953025818,
-0.08428007364273071,
0.16383002698421478,
-0.023304669186472893,
-0.3520034849643707,
0.013157968409359455,
0.5319486856460571,
0.23293671011924744,
0.3417862057685852,
-0.19073422253131866,
-0.08687350898981094,
-0.28842228651046753,
0.06356877833604813,
-0.2602679431438446,
0.0054884254932403564,
0.15039166808128357,
0.5385257601737976,
0.24328580498695374,
0.025378920137882233,
-0.5114145278930664,
-0.10731072723865509,
-0.45289018750190735,
-0.020038556307554245,
0.12487556785345078,
-0.2890002727508545,
0.04357478767633438,
-0.0664772242307663,
0.2673046588897705,
0.1785445660352707,
0.09805155545473099,
-0.35764023661613464,
0.14211681485176086,
0.07499032467603683,
0.025469521060585976,
0.13586664199829102,
0.21037869155406952,
0.30009233951568604,
0.026129743084311485,
0.3120769262313843,
0.12498548626899719,
0.016039155423641205,
0.21902385354042053,
0.0019299732521176338,
-0.20500849187374115,
0.1719411164522171,
0.0015483349561691284,
-0.1910971850156784,
0.16579967737197876,
0.3126224875450134,
-0.2259959578514099,
0.07987067103385925,
-0.213272824883461,
-0.2797802686691284,
0.3772890269756317,
0.03917568176984787,
0.2325916588306427,
0.596488356590271,
-0.051658809185028076,
-0.1070498675107956,
-0.23599867522716522,
0.1470874845981598,
0.16429485380649567,
0.10236644744873047,
-0.296230673789978,
0.055394455790519714,
-0.09675855189561844,
0.43583351373672485,
-0.3078934848308563,
0.14498592913150787,
0.01279167365282774,
-0.2519153654575348,
0.06171990558505058,
0.20326478779315948,
0.1839911788702011,
-0.25363272428512573,
0.143184632062912,
0.3728683292865753,
0.10946109890937805,
-0.4763079881668091,
-0.0648379921913147,
0.07105778157711029,
-0.13155992329120636,
0.1300588846206665,
0.2251257747411728,
-0.2146620899438858,
0.10416756570339203,
0.17517264187335968,
0.05098880082368851,
0.23297472298145294,
0.3388589918613434,
0.1862349510192871,
0.2773924767971039,
0.03497616574168205,
0.20659872889518738,
-0.07313309609889984,
0.14033137261867523,
-0.04526909440755844,
0.28344279527664185,
-0.006756767630577087,
-0.0009317547082901001,
-0.10238917171955109,
-0.18255388736724854,
0.14659948647022247,
-0.25191888213157654,
-0.09669607877731323,
-0.4283876121044159,
-0.00883530080318451,
-0.16078613698482513,
0.007824163883924484,
0.18873585760593414,
0.5169304609298706,
0.41138455271720886,
-0.11307039856910706,
-0.09621091187000275,
-0.21132034063339233,
-0.1803978979587555,
-0.029811739921569824,
0.15000572800636292,
-0.12182366847991943,
0.4330780506134033,
0.09642839431762695,
-0.1678396612405777,
0.09589210152626038,
0.2787573039531708,
0.4259309768676758,
0.0731058344244957,
0.08232517540454865,
-0.16024237871170044,
-0.0062585510313510895,
-0.13414743542671204,
-0.06246713176369667,
-0.058356620371341705,
0.2696186900138855,
0.2732851803302765,
0.010110646486282349,
0.2998766303062439,
-0.3859866261482239,
0.2512021064758301,
-0.02660868689417839,
-0.12208661437034607,
0.2642643451690674,
0.031561367213726044,
0.08277193456888199,
-0.1569298356771469,
-0.09586139023303986,
0.12747813761234283,
-0.18343698978424072,
-0.08156772702932358,
0.05216449499130249,
-0.09775244444608688,
0.11069106310606003,
-0.12322535365819931,
0.1910693645477295,
0.36850371956825256,
0.2623591721057892,
0.12781383097171783,
0.013849601149559021,
-0.04790370166301727,
-0.28816500306129456,
-0.18830709159374237,
0.3935374915599823,
0.07592687755823135,
0.12611359357833862,
-0.1255693882703781,
0.22561269998550415,
0.12463533133268356,
0.05263129994273186,
0.2592300772666931,
-0.10613186657428741,
0.05831526964902878,
0.1536674201488495,
-0.27248433232307434,
0.27806389331817627,
0.20166294276714325,
-0.20585668087005615,
0.23635312914848328,
-0.12743565440177917,
0.08740562945604324,
0.3715410828590393,
0.2989691197872162,
-0.022603362798690796,
-0.23536401987075806,
0.34218889474868774,
0.16635626554489136,
-0.05210718512535095,
0.21353420615196228,
0.2981623411178589,
-0.41575267910957336,
-0.12061887234449387,
0.10710605978965759,
-0.20722287893295288,
-0.3386887311935425,
0.24586182832717896,
0.28293880820274353,
0.047794684767723083,
0.11480165272951126,
-0.09369830787181854,
-0.18565930426120758,
-0.11301477253437042,
0.20843471586704254,
0.18574519455432892,
-0.36826765537261963,
0.2713954746723175,
0.21647581458091736,
-0.12177111953496933,
-0.05727573484182358,
0.15610328316688538,
-0.056543558835983276,
-0.101612888276577,
-0.3568195700645447,
-0.6494934558868408,
0.4935823082923889,
0.17655563354492188,
-0.24989672005176544,
0.17091979086399078,
0.20658597350120544,
0.016883376985788345,
-0.045042090117931366,
-0.3882337510585785,
-0.03374752029776573,
-0.05520431697368622,
-0.012244302779436111,
-0.38102108240127563,
-0.03923594206571579,
-0.17724303901195526,
-0.034530140459537506,
-0.01721605658531189,
0.4203922152519226,
0.16426655650138855,
-0.389297217130661,
-0.08409827947616577,
0.03796539455652237
] |
|
https://github.com/huggingface/datasets/pull/2280 | Fixed typo seperate->separate | The PR has been merged ! Feel free to merge master into your branch to fix the CI | 18 | text: Fixed typo seperate->separate
The PR has been merged ! Feel free to merge master into your branch to fix the CI | [
-0.14191895723342896,
-0.25525420904159546,
-0.18902890384197235,
-0.03103308379650116,
0.1537068486213684,
-0.09524964541196823,
0.07113953679800034,
0.03186946362257004,
-0.09616455435752869,
0.356045126914978,
0.04103412479162216,
0.05670911818742752,
0.29049524664878845,
0.24856622517108917,
-0.3570576608181,
-0.03622885048389435,
0.008061453700065613,
0.07117751240730286,
-0.0076539963483810425,
-0.02237147092819214,
-0.013323426246643066,
0.293343186378479,
0.0015132278203964233,
0.14592701196670532,
0.017051242291927338,
-0.2147890329360962,
0.03743656724691391,
0.20577996969223022,
-0.35635697841644287,
-0.11553698033094406,
0.05559457838535309,
0.10146285593509674,
-0.33735957741737366,
0.34596121311187744,
-0.00009403096919413656,
0.048958659172058105,
0.24618005752563477,
-0.04015909135341644,
-0.10375626385211945,
0.08535465598106384,
-0.22739961743354797,
-0.04042740538716316,
-0.05160664767026901,
-0.03389336168766022,
-0.1539241075515747,
-0.0216204896569252,
-0.03168829530477524,
0.13575175404548645,
0.2820635437965393,
0.24325039982795715,
0.42240041494369507,
-0.05262698605656624,
0.10311220586299896,
-0.30597198009490967,
-0.06639104336500168,
-0.03454912453889847,
-0.010044246912002563,
-0.04796889051795006,
-0.12169541418552399,
0.05780971795320511,
0.03070247173309326,
0.1927715241909027,
0.13106414675712585,
-0.03241582214832306,
0.039913564920425415,
-0.045588213950395584,
0.37886083126068115,
-0.21583935618400574,
0.03671873360872269,
-0.31983333826065063,
0.09680638462305069,
-0.015482515096664429,
0.0633077546954155,
0.08787774294614792,
-0.004584161099046469,
-0.25295668840408325,
0.1599641740322113,
0.19344010949134827,
-0.09204041957855225,
0.0537649430334568,
0.05559703707695007,
-0.2357775866985321,
0.055331751704216,
-0.19648726284503937,
-0.13787074387073517,
0.14782188832759857,
-0.004536840133368969,
-0.1824723482131958,
0.17944717407226562,
0.1610267013311386,
-0.06778142601251602,
0.08228698372840881,
-0.2072206735610962,
-0.19588132202625275,
0.2592438757419586,
-0.028180329129099846,
-0.012467369437217712,
-0.008363299071788788,
-0.23987028002738953,
-0.003947492688894272,
-0.1008046567440033,
-0.12121773511171341,
0.1498730629682541,
0.1585230678319931,
0.30355802178382874,
0.09919120371341705,
0.16231191158294678,
0.4099358916282654,
0.19387881457805634,
0.1309206485748291,
0.021715369075536728,
-0.030676163733005524,
-0.04672817885875702,
-0.1987365335226059,
-0.436095654964447,
0.16438478231430054,
0.12556767463684082,
-0.14757519960403442,
-0.2491971105337143,
0.061236895620822906,
0.06555879861116409,
0.046505317091941833,
-0.21713432669639587,
0.13793790340423584,
-0.016230961307883263,
0.22796127200126648,
0.09497968852519989,
-0.12277765572071075,
-0.02903376892209053,
0.024358872324228287,
-0.3477779030799866,
0.06341642886400223,
-0.3331366181373596,
-0.30236947536468506,
-0.21911095082759857,
-0.09117963910102844,
0.07785318046808243,
0.15347981452941895,
0.27621355652809143,
-0.21581855416297913,
-0.3539758324623108,
0.18166495859622955,
0.08270307630300522,
0.20563273131847382,
0.22686731815338135,
-0.22301769256591797,
0.3289916217327118,
-0.3022533655166626,
0.19779619574546814,
0.2055216133594513,
-0.20750373601913452,
-0.15686196088790894,
-0.42271554470062256,
0.4266093075275421,
0.15784382820129395,
0.11359883844852448,
0.22929978370666504,
0.0022342316806316376,
0.20489826798439026,
0.057062480598688126,
0.14699982106685638,
0.058358125388622284,
0.021212104707956314,
-0.06804103404283524,
-0.07128945738077164,
-0.18165870010852814,
-0.0411669947206974,
-0.2408251017332077,
-0.004501176066696644,
-0.3774562478065491,
0.2987461984157562,
0.4965725541114807,
-0.03205432370305061,
0.2135888934135437,
-0.090837262570858,
-0.0596248060464859,
0.2513287365436554,
-0.41228461265563965,
-0.1503412127494812,
0.17270813882350922,
-0.35299742221832275,
-0.3504127264022827,
0.023606806993484497,
-0.20724079012870789,
0.2943607270717621,
0.056830037385225296,
0.229580357670784,
0.08507957309484482,
-0.3526317775249481,
0.15183867514133453,
-0.41144153475761414,
-0.17997990548610687,
-0.4977636933326721,
-0.2625640332698822,
0.1232852041721344,
0.2555455267429352,
0.16212336719036102,
0.18411752581596375,
0.4530618488788605,
0.029206743463873863,
-0.07432427257299423,
0.20997001230716705,
0.4217711091041565,
0.07753071188926697,
-0.01652454398572445,
0.18236416578292847,
0.09273546189069748,
-0.2550380825996399,
-0.2327720671892166,
0.4532582461833954,
0.2563995122909546,
-0.20347833633422852,
-0.23049724102020264,
-0.02321494184434414,
-0.08508932590484619,
-0.19433417916297913,
0.4093290865421295,
0.0729285404086113,
-0.14634910225868225,
-0.26726269721984863,
0.05725286528468132,
-0.016390493139624596,
-0.10832252353429794,
0.13251513242721558,
0.06811980903148651,
-0.05803465098142624,
-0.48245692253112793,
0.08911497890949249,
0.052605003118515015,
0.19126145541667938,
0.12822221219539642,
0.044510744512081146,
-0.11601949483156204,
0.20668986439704895,
-0.27940094470977783,
0.20687717199325562,
0.09422660619020462,
-0.1659765988588333,
0.15519770979881287,
-0.14970260858535767,
-0.24700191617012024,
-0.09293985366821289,
-0.03327292948961258,
0.06715593487024307,
-0.15932777523994446,
0.22520755231380463,
0.08784012496471405,
-0.10899677127599716,
0.09714047610759735,
0.003029916435480118,
0.15232793986797333,
-0.2433617264032364,
0.13350655138492584,
-0.4762364625930786,
0.06746591627597809,
0.029693007469177246,
-0.26068511605262756,
-0.03792580962181091,
0.10654400289058685,
0.10986258834600449,
0.2824093997478485,
0.11991187930107117,
-0.10397178679704666,
-0.06319214403629303,
0.13388992846012115,
-0.04930669814348221,
-0.1339857131242752,
0.2642713487148285,
0.17614802718162537,
0.29749879240989685,
0.03135455399751663,
0.13095836341381073,
0.25834622979164124,
-0.1676015406847,
0.4596293866634369,
0.07862067967653275,
-0.0676206722855568,
0.3317531943321228,
0.04953758418560028,
-0.05472199246287346,
-0.13864563405513763,
0.26683539152145386,
-0.01576227694749832,
0.24860742688179016,
0.004006583243608475,
-0.16581526398658752,
-0.20333026349544525,
-0.13459037244319916,
-0.016551464796066284,
0.056193988770246506,
0.11805112659931183,
-0.27829188108444214,
0.28754961490631104,
0.047258514910936356,
-0.25063058733940125,
0.14517606794834137,
0.2045041173696518,
0.10333535075187683,
0.025568244978785515,
0.35771411657333374,
0.0229952409863472,
-0.2519734501838684,
-0.012263607233762741,
0.35148462653160095,
0.026713799685239792,
-0.2069845050573349,
0.325509250164032,
-0.12474314868450165,
-0.1491905301809311,
-0.24025270342826843,
-0.39783772826194763,
0.28954076766967773,
-0.13973434269428253,
-0.1646914929151535,
0.3178333044052124,
-0.0017730966210365295,
0.18321365118026733,
-0.28626203536987305,
0.08538654446601868,
-0.24312765896320343,
-0.41630247235298157,
-0.334625780582428,
-0.05852162837982178,
-0.1041722297668457,
-0.27514955401420593,
-0.38048458099365234,
-0.06937652826309204,
-0.34467774629592896,
0.1810804009437561,
0.04690781608223915,
0.12847939133644104,
-0.011035059578716755,
-0.1759742647409439,
-0.22481253743171692,
-0.06972424685955048,
-0.14225110411643982,
-0.23348674178123474,
-0.0896124541759491,
-0.15651066601276398,
-0.2269992083311081,
-0.20544704794883728,
0.21286725997924805,
0.24059395492076874,
0.0616450309753418,
-0.36280226707458496,
-0.15534621477127075,
0.06418279558420181,
0.029652699828147888,
0.08096620440483093,
0.10767349600791931,
-0.09261935949325562,
0.1796446293592453,
0.13069035112857819,
-0.3588060140609741,
-0.09693251550197601,
-0.2717931568622589,
0.04642985016107559,
0.1632530391216278,
0.26279228925704956,
-0.4530126750469208,
0.18581533432006836,
-0.08194389194250107,
0.42053699493408203,
0.21786443889141083,
0.0981113463640213,
-0.2009100615978241,
-0.06178639084100723,
0.09907287359237671,
0.04363980144262314,
-0.24761082231998444,
0.22653581202030182,
-0.009817972779273987,
-0.20737992227077484,
0.4997621774673462,
-0.03685934469103813,
-0.13363789021968842,
-0.14374525845050812,
-0.10010835528373718,
0.0024336017668247223,
-0.2180158793926239,
-0.08240695297718048,
-0.018658354878425598,
0.1304929554462433,
0.13940219581127167,
-0.1909172236919403,
-0.022735008969902992,
0.06718138605356216,
0.0390438474714756,
0.05189329385757446,
-0.2159292995929718,
-0.01770920678973198,
0.1321861743927002,
-0.10364662110805511,
-0.1513083577156067,
0.05269770696759224,
0.06986744701862335,
-0.17753541469573975,
-0.19279229640960693,
-0.21383729577064514,
0.024612754583358765,
-0.10743269324302673,
0.0005103647708892822,
-0.14053861796855927,
-0.19081130623817444,
-0.048837870359420776,
0.11280262470245361,
0.5446872115135193,
-0.16533879935741425,
-0.13353292644023895,
0.426656574010849,
0.4575366675853729,
-0.012701444327831268,
-0.13284674286842346,
-0.11138848960399628,
0.30345088243484497,
-0.380172461271286,
-0.20225854218006134,
0.01190721895545721,
-0.3060174584388733,
-0.2234567105770111,
-0.5186322927474976,
0.3619430363178253,
0.295608788728714,
0.060763467103242874,
-0.16612981259822845,
-0.02030838467180729,
0.22153592109680176,
0.2582319676876068,
-0.061228856444358826,
-0.04309035837650299,
0.1166069433093071,
-0.16478165984153748,
-0.23741920292377472,
-0.21143180131912231,
0.20078302919864655,
0.4348408877849579,
0.471785306930542,
0.016119137406349182,
0.01764129102230072,
0.16624853014945984,
-0.32622668147087097,
0.1432778239250183,
0.26062360405921936,
0.1834588646888733,
0.07948336005210876,
0.1741906851530075,
0.48648399114608765,
0.27406322956085205,
-0.08784991502761841,
-0.005694834515452385,
-0.008273138664662838,
-0.22836275398731232,
0.19115050137043,
-0.3159915506839752,
0.08963842689990997,
-0.035331834107637405,
0.07352419197559357,
-0.12841030955314636,
-0.20198440551757812,
0.048354778438806534,
0.17236752808094025,
0.8041368722915649,
0.19335182011127472,
-0.0026467926800251007,
-0.19347268342971802,
-0.1502031832933426,
0.26521003246307373,
-0.2082076072692871,
0.09706474840641022,
-0.3380594551563263,
-0.10520778596401215,
-0.012563077732920647,
0.12050981819629669,
0.027167443186044693,
-0.20654188096523285,
-0.44226720929145813,
0.05593011900782585,
-0.003190472722053528,
0.4092095196247101,
0.1393897831439972,
0.04270283132791519,
0.1785098761320114,
0.17366871237754822,
-0.013438444584608078,
0.26555293798446655,
0.06057557463645935,
0.15457339584827423,
-0.1427706778049469,
-0.2343994379043579,
-0.022358767688274384,
-0.07716234773397446,
-0.33347249031066895,
0.09329787641763687,
-0.20726780593395233,
0.09632596373558044,
-0.10905338823795319,
-0.17681625485420227,
-0.0037346631288528442,
0.07771998643875122,
0.45710819959640503,
0.10520011931657791,
-0.028712203726172447,
0.3183101713657379,
0.3903750777244568,
-0.0657024160027504,
-0.1787639707326889,
-0.007155006751418114,
-0.16957557201385498,
-0.3191767930984497,
-0.14609301090240479,
-0.07375948876142502,
-0.12698085606098175,
-0.13957390189170837,
-0.2470705211162567,
0.28880447149276733,
0.061975426971912384,
-0.08548487722873688,
0.04251592978835106,
0.10874798893928528,
-0.2935958802700043,
-0.33111023902893066,
0.32092350721359253,
-0.173644557595253,
-0.13213007152080536,
-0.11539287120103836,
0.20279233157634735,
-0.2785113751888275,
-0.05332416668534279,
0.04694339632987976,
0.27967166900634766,
-0.364217609167099,
0.08007652312517166,
-0.02791866473853588,
-0.20123417675495148,
-0.4348583221435547,
-0.14722292125225067,
-0.09587030112743378,
-0.23948338627815247,
0.30913785099983215,
-0.0870402380824089,
-0.36549314856529236,
0.16767024993896484,
0.45914700627326965,
0.2057163566350937,
0.5031442046165466,
-0.24192889034748077,
-0.005548365414142609,
-0.34941330552101135,
-0.033923812210559845,
-0.3362323045730591,
0.07489407062530518,
0.16223573684692383,
0.45357951521873474,
0.17277958989143372,
0.11581437289714813,
-0.5094566941261292,
-0.09371522814035416,
-0.3553732633590698,
-0.018639426678419113,
0.051213689148426056,
-0.31769227981567383,
0.03399239480495453,
-0.10967771708965302,
0.29054930806159973,
0.0024564601480960846,
0.05285872519016266,
-0.4088285267353058,
0.11744861304759979,
0.053305745124816895,
-0.012399867177009583,
0.14771802723407745,
0.08861252665519714,
0.34033411741256714,
-0.016799859702587128,
0.25495997071266174,
0.1468300223350525,
-0.027597036212682724,
0.31476446986198425,
0.03676252439618111,
-0.053683456033468246,
0.09135353565216064,
0.036326080560684204,
-0.2127881497144699,
0.2165275514125824,
0.15777334570884705,
-0.2176508903503418,
0.09039657562971115,
-0.29660364985466003,
-0.18602591753005981,
0.23985953629016876,
0.10476595908403397,
0.3102293908596039,
0.6146762371063232,
-0.002733469009399414,
-0.1221110075712204,
-0.26296165585517883,
0.14109016954898834,
0.1499936431646347,
0.020187269896268845,
-0.21525289118289948,
-0.07296246290206909,
-0.18853965401649475,
0.42986854910850525,
-0.31171277165412903,
0.06017473712563515,
0.08024454861879349,
-0.2243414670228958,
0.05779886618256569,
0.18358778953552246,
0.201339453458786,
-0.18292908370494843,
-0.040796540677547455,
0.39750170707702637,
0.06454634666442871,
-0.3841865062713623,
0.24926957488059998,
0.3499027192592621,
-0.015995725989341736,
0.13869568705558777,
0.08489470183849335,
-0.24357366561889648,
0.032279498875141144,
0.14474065601825714,
0.030976295471191406,
0.20130591094493866,
0.39139100909233093,
-0.06570224463939667,
0.4538027048110962,
0.14637406170368195,
0.2209213674068451,
0.10566270351409912,
0.054252684116363525,
-0.1149958148598671,
0.26210612058639526,
-0.028649017214775085,
0.05813690274953842,
-0.25613516569137573,
-0.1255885511636734,
0.34645918011665344,
-0.39146459102630615,
0.033534325659275055,
-0.4235084652900696,
0.07193466275930405,
-0.19582512974739075,
0.025445573031902313,
0.15099017322063446,
0.39155179262161255,
0.21425354480743408,
0.030761096626520157,
-0.030550524592399597,
-0.06880950182676315,
-0.2123706042766571,
0.07323485612869263,
0.2117566615343094,
-0.2331569492816925,
0.3107678294181824,
0.06370358914136887,
-0.25068143010139465,
0.025510285049676895,
0.2258063405752182,
0.4922429919242859,
0.1554168164730072,
0.09480388462543488,
-0.08989319205284119,
0.14878995716571808,
-0.22869636118412018,
-0.030763478949666023,
-0.03064904361963272,
0.1537395417690277,
0.2622857093811035,
0.03427690267562866,
0.31474512815475464,
-0.3473980724811554,
0.2330973744392395,
-0.07547213137149811,
-0.19496223330497742,
0.22134830057621002,
0.2614242732524872,
0.1443386673927307,
-0.2294403612613678,
-0.08612636476755142,
0.2504652440547943,
-0.17328065633773804,
-0.09598022699356079,
0.1705535650253296,
-0.030667874962091446,
0.10119219124317169,
-0.16401445865631104,
0.18894349038600922,
0.30020731687545776,
0.2860279083251953,
0.11283503472805023,
0.05893520265817642,
-0.0715218111872673,
-0.2518620193004608,
-0.0762958973646164,
0.4104965329170227,
-0.004800036549568176,
0.12491296231746674,
-0.15973727405071259,
0.11344727873802185,
0.14750635623931885,
0.060015805065631866,
0.2226313352584839,
-0.1743289977312088,
-0.0316929928958416,
0.0033139027655124664,
-0.2372896522283554,
0.29087033867836,
0.26722097396850586,
-0.2042875438928604,
0.321296364068985,
-0.04112255573272705,
0.1307091861963272,
0.2829800546169281,
0.29890328645706177,
-0.0674850195646286,
-0.22364652156829834,
0.31430304050445557,
0.14019909501075745,
-0.31227681040763855,
0.13997744023799896,
0.2187144011259079,
-0.3848014175891876,
-0.14976882934570312,
0.25568491220474243,
-0.09355845302343369,
-0.4468157887458801,
0.3436119854450226,
0.2034338414669037,
0.13220550119876862,
0.04605691879987717,
-0.04565472528338432,
-0.1845177859067917,
-0.11344604939222336,
0.21110914647579193,
0.1875699907541275,
-0.3356846272945404,
0.10819142311811447,
0.21731621026992798,
0.02545199543237686,
0.04317731037735939,
0.05326706916093826,
0.022921700030565262,
-0.10093649476766586,
-0.36264199018478394,
-0.6213133335113525,
0.3526381850242615,
0.2284443974494934,
-0.2576983571052551,
0.00824075285345316,
0.1311371773481369,
0.18696638941764832,
-0.06317338347434998,
-0.37896645069122314,
-0.06835191696882248,
0.001841029617935419,
-0.08609327673912048,
-0.4032803177833557,
0.054328083992004395,
-0.19178132712841034,
0.047029826790094376,
-0.02280224859714508,
0.34551161527633667,
0.24629199504852295,
-0.4244607090950012,
-0.022431841120123863,
-0.057400573045015335
] |
|
https://github.com/huggingface/datasets/pull/2270 | Fix iterable interface expected by numpy | It's been fixed in this commit: https://github.com/huggingface/datasets/commit/549110e08238b3716a5904667095fb003acda54e
Basically #2246 broke querying an index with a simple iterable.
With the fix, it's again possible to use iterables and we can keep RandIter as it is.
Closing since the fix is already on master | Numpy expects the old iterable interface with `__getitem__` instead of `__iter__`. | 42 | text: Fix iterable interface expected by numpy
Numpy expects the old iterable interface with `__getitem__` instead of `__iter__`.
It's been fixed in this commit: https://github.com/huggingface/datasets/commit/549110e08238b3716a5904667095fb003acda54e
Basically #2246 broke querying an index with a simple iterable.
With the fix, it's again possible to use iterables and we can keep RandIter as it is.
Closing since the fix is already on master | [
-0.3540498614311218,
0.03108803927898407,
-0.10968853533267975,
0.2717992067337036,
0.40194547176361084,
-0.07995779812335968,
0.4631180167198181,
0.48989421129226685,
0.11787834763526917,
0.40058964490890503,
-0.20188675820827484,
0.3286534547805786,
0.047133877873420715,
-0.3049802780151367,
-0.09510477632284164,
0.028155306354165077,
-0.11182325333356857,
0.1566528081893921,
-0.23277536034584045,
0.06257171183824539,
-0.34397584199905396,
0.2951156198978424,
-0.14080491662025452,
0.11893132328987122,
0.029635051265358925,
0.0236098300665617,
-0.10976457595825195,
0.1326325684785843,
-0.23710806667804718,
-0.576200544834137,
0.24413089454174042,
0.301594078540802,
0.1255168318748474,
0.3134085237979889,
-0.00010134009062312543,
0.10092203319072723,
0.4273538589477539,
0.04503417760133743,
-0.18831700086593628,
-0.44959771633148193,
0.3210144639015198,
0.06683722883462906,
0.24076172709465027,
-0.4284888505935669,
-0.1897069215774536,
-0.06631911545991898,
0.18083113431930542,
0.14734125137329102,
-0.04684583842754364,
0.09686385840177536,
0.30313006043434143,
0.20887748897075653,
0.20880670845508575,
-0.26842522621154785,
0.153686061501503,
0.08856940269470215,
-0.0288617592304945,
0.18247215449810028,
0.28356125950813293,
0.09500862658023834,
-0.23226171731948853,
0.10329227149486542,
-0.05351264402270317,
0.11705270409584045,
0.20891574025154114,
0.012663377448916435,
0.30413973331451416,
-0.019916772842407227,
0.06753809750080109,
0.181839257478714,
0.33817219734191895,
0.04708210751414299,
-0.16249199211597443,
-0.19612392783164978,
-0.15553903579711914,
-0.5261131525039673,
0.1870347410440445,
-0.12948456406593323,
-0.08799253404140472,
0.1770937591791153,
-0.19003617763519287,
0.031651925295591354,
0.039927951991558075,
0.1824159324169159,
-0.08636452257633209,
0.2819046974182129,
-0.0808233767747879,
0.20417624711990356,
0.31737464666366577,
-0.0707961693406105,
0.31848961114883423,
0.4250825345516205,
-0.1942579299211502,
0.004304004833102226,
-0.1603921502828598,
-0.20051872730255127,
0.5480616688728333,
-0.01609298586845398,
0.37726613879203796,
0.22225533425807953,
0.08336470276117325,
0.2782076299190521,
-0.09772375971078873,
0.02801358699798584,
0.35053229331970215,
-0.011880453675985336,
-0.02129475027322769,
0.23544257879257202,
0.3291645646095276,
0.4437582194805145,
0.22791096568107605,
-0.13656628131866455,
0.15270653367042542,
-0.0031057444866746664,
-0.04854966700077057,
0.1802104413509369,
0.22068069875240326,
-0.05319006368517876,
0.016077427193522453,
-0.21296584606170654,
-0.07003625482320786,
-0.1489211469888687,
0.14100436866283417,
0.3006594777107239,
0.05199487879872322,
-0.14499050378799438,
-0.03398280590772629,
0.16442206501960754,
-0.029100757092237473,
0.09710930287837982,
-0.23871321976184845,
-0.037021178752183914,
-0.05338152498006821,
-0.22435522079467773,
-0.16258282959461212,
-0.22361138463020325,
0.3507554829120636,
0.09264243394136429,
0.026120610535144806,
0.04752720892429352,
0.033645935356616974,
-0.21675372123718262,
0.28795677423477173,
0.0943538248538971,
-0.11515843868255615,
0.06723252683877945,
0.3305548429489136,
-0.5481746196746826,
-0.1662963330745697,
-0.02506248652935028,
-0.2610331177711487,
-0.3983498811721802,
-0.12525995075702667,
0.18436162173748016,
-0.19598807394504547,
0.19946637749671936,
0.38256508111953735,
0.20498453080654144,
0.052054546773433685,
-0.27915525436401367,
0.08605144917964935,
-0.2913048267364502,
-0.33814728260040283,
-0.19421203434467316,
0.08579526096582413,
0.2500591278076172,
-0.0227342676371336,
-0.03074542060494423,
0.23996204137802124,
-0.026915062218904495,
0.15037801861763,
0.2711399793624878,
-0.37440627813339233,
-0.1054065003991127,
-0.4181799292564392,
0.2984108328819275,
0.14059805870056152,
-0.04579209163784981,
-0.3062973618507385,
-0.13149021565914154,
-0.18957947194576263,
0.012309623882174492,
-0.036560289561748505,
0.09776323288679123,
-0.01980297639966011,
-0.2015634924173355,
0.2024654895067215,
-0.02017888054251671,
-0.015951888635754585,
-0.10403095185756683,
-0.14701364934444427,
-0.07000628113746643,
0.23914168775081635,
0.03672825172543526,
0.09422535449266434,
0.26208826899528503,
0.11523934453725815,
-0.3834953308105469,
0.5203651189804077,
-0.3689001500606537,
-0.22590550780296326,
-0.08360011130571365,
0.3170712888240814,
0.037038858979940414,
0.1725335270166397,
-0.25214388966560364,
0.014563918113708496,
0.24496665596961975,
0.1389472633600235,
0.07858303189277649,
-0.038735345005989075,
-0.10779111087322235,
-0.08352521061897278,
0.0872618556022644,
-0.15054292976856232,
-0.036593999713659286,
0.21765685081481934,
0.10086553543806076,
-0.05881650000810623,
-0.13113796710968018,
-0.2982963025569916,
-0.09088895469903946,
-0.3041699230670929,
-0.15416616201400757,
-0.5835729241371155,
0.07248225808143616,
-0.058945633471012115,
-0.2360835075378418,
-0.02434787154197693,
0.14220450818538666,
0.15447670221328735,
-0.33636412024497986,
-0.08708055317401886,
0.3515442907810211,
0.09744618833065033,
-0.42635810375213623,
0.01442110538482666,
0.039216458797454834,
0.06202050298452377,
0.17451494932174683,
-0.03197406232357025,
0.2547907829284668,
0.04404086247086525,
-0.2692023813724518,
0.016229838132858276,
0.3151952624320984,
-0.16464529931545258,
0.27675750851631165,
0.11222007870674133,
0.010356150567531586,
0.47406479716300964,
0.13849720358848572,
-0.10990219563245773,
-0.19056659936904907,
0.17592531442642212,
0.3165924847126007,
-0.13186496496200562,
-0.007727073505520821,
-0.5934303998947144,
0.2110167294740677,
0.15724222362041473,
-0.06000358238816261,
0.1271306872367859,
0.06552444398403168,
0.10277682542800903,
-0.05401851236820221,
0.015069562010467052,
-0.15408067405223846,
0.1986139714717865,
0.07150793820619583,
0.16997887194156647,
0.0339670330286026,
0.18570618331432343,
-0.18387284874916077,
0.27672645449638367,
0.20249317586421967,
0.10461216419935226,
0.059625353664159775,
0.16669324040412903,
-0.2631432116031647,
-0.2929542362689972,
-0.39669325947761536,
-0.16862145066261292,
0.30277499556541443,
-0.1850302368402481,
0.1572960466146469,
-0.1560821831226349,
0.2010347545146942,
0.21787862479686737,
-0.15406595170497894,
0.16002823412418365,
-0.47276780009269714,
-0.00036955252289772034,
0.6476988196372986,
-0.040928132832050323,
-0.027813522145152092,
-0.02148500643670559,
0.05530405044555664,
0.32716819643974304,
0.3125399649143219,
-0.221267431974411,
-0.4795738458633423,
-0.11244641989469528,
0.08879619836807251,
-0.08381057530641556,
-0.08887215703725815,
0.09700219333171844,
-0.22870400547981262,
-0.131577730178833,
-0.2757643163204193,
-0.38098570704460144,
0.3207942843437195,
-0.28996074199676514,
0.5464751720428467,
0.6811249256134033,
0.13371416926383972,
-0.2900848984718323,
0.014981663785874844,
0.34634852409362793,
-0.2502402663230896,
-0.11850747466087341,
0.21031588315963745,
-0.08118865638971329,
-0.0062288255430758,
-0.11252349615097046,
-0.11434867233037949,
-0.16190586984157562,
-0.37372303009033203,
0.4104682207107544,
0.04294387623667717,
0.3474242091178894,
0.5416303277015686,
0.01076927874237299,
0.23550797998905182,
-0.14876899123191833,
-0.22123165428638458,
-0.3704739511013031,
-0.3738383650779724,
0.42142683267593384,
-0.20804612338542938,
-0.29818153381347656,
-0.16918960213661194,
0.024296831339597702,
-0.06960931420326233,
0.020652679726481438,
-0.23480366170406342,
-0.35065221786499023,
0.04793458804488182,
0.49513572454452515,
0.19235382974147797,
-0.06538411229848862,
0.07647831737995148,
0.12570525705814362,
-0.22852157056331635,
0.006456311792135239,
-0.10748365521430969,
-0.0905817374587059,
0.11791777610778809,
0.03035607933998108,
0.30965057015419006,
0.4081307649612427,
0.05904577299952507,
0.6363152861595154,
0.1184125691652298,
-0.11279094219207764,
0.353022038936615,
-0.0946013554930687,
0.40388891100883484,
-0.2927933633327484,
-0.48398739099502563,
0.03745434060692787,
-0.1377755105495453,
-0.29940634965896606,
-0.035086095333099365,
-0.25650763511657715,
-0.4687791168689728,
-0.11086812615394592,
-0.1063714474439621,
0.16676950454711914,
-0.5486640334129333,
0.11683584749698639,
0.6516520380973816,
-0.19847029447555542,
-0.03664669394493103,
0.353933185338974,
-0.2792438864707947,
-0.08042716234922409,
0.07474721968173981,
0.043668460100889206,
0.16030973196029663,
-0.09226863086223602,
-0.6066784858703613,
-0.45572584867477417,
-0.3909452557563782,
0.26825255155563354,
0.3453214764595032,
0.16956599056720734,
0.19942928850650787,
-0.303168922662735,
0.11189430952072144,
-0.11140389740467072,
0.6329993605613708,
0.08286742866039276,
-0.23161642253398895,
0.47365280985832214,
-0.27160805463790894,
-0.14969682693481445,
0.1284831017255783,
-0.1251295804977417,
0.6463834047317505,
0.3086371421813965,
0.010433077812194824,
-0.3235225975513458,
-0.2421160489320755,
0.19955822825431824,
0.12183444947004318,
-0.11388474702835083,
-0.19340254366397858,
-0.3766132891178131,
-0.4839555621147156,
-0.11897218227386475,
-0.09096836298704147,
0.07604040205478668,
-0.055619798600673676,
0.047705166041851044,
-0.24337127804756165,
-0.18417027592658997,
-0.09944351017475128,
-0.14948751032352448,
0.039387296885252,
0.2330113649368286,
-0.020442897453904152,
-0.043999820947647095,
0.5376725792884827,
-0.14739888906478882,
-0.05687134712934494,
0.10501497983932495,
-0.0006455779075622559,
0.1000685766339302,
0.11794352531433105,
-0.12256363034248352,
0.03199021518230438,
0.29015231132507324,
-0.15841858088970184,
-0.10579939931631088,
0.12397325038909912,
0.18085937201976776,
-0.10998675227165222,
-0.19892355799674988,
0.06443160772323608,
0.08780360966920853,
-0.20475931465625763,
-0.3765670359134674,
0.15227609872817993,
-0.06538859009742737,
-0.14088939130306244,
0.33214613795280457,
-0.17191119492053986,
0.03740400820970535,
-0.05181332677602768,
-0.10698492079973221,
0.721653163433075,
0.11755034327507019,
-0.1074560284614563,
0.47966626286506653,
0.1804816871881485,
0.28672081232070923,
0.18089722096920013,
0.324984073638916,
-0.3834831416606903,
-0.5441535711288452,
0.017703069373965263,
-0.13968534767627716,
-0.060640931129455566,
-0.19186842441558838,
-0.16896970570087433,
0.43775486946105957,
-0.15063440799713135,
0.18646392226219177,
-0.06836153566837311,
0.06482648849487305,
-0.20096135139465332,
0.16857054829597473,
-0.00926177017390728,
0.15932722389698029,
-0.04310694336891174,
0.0038474686443805695,
-0.007490789517760277,
-0.10785683244466782,
0.249739408493042,
-0.15600985288619995,
-0.04591739550232887,
-0.0414033979177475,
-0.04196896404027939,
0.25595420598983765,
0.14110763370990753,
-0.16276979446411133,
-0.2027319371700287,
0.004919417202472687,
0.0678006038069725,
-0.05653941258788109,
-0.12817463278770447,
0.023570246994495392,
-0.030533581972122192,
0.0075803291983902454,
0.16287066042423248,
0.11857229471206665,
0.3509337902069092,
-0.0163633543998003,
-0.18065686523914337,
0.246584951877594,
-0.0826314389705658,
-0.25805383920669556,
-0.33295226097106934,
0.14775067567825317,
-0.16316856443881989,
-0.3243374526500702,
0.15309390425682068,
-0.15208978950977325,
-0.09529593586921692,
-0.32209017872810364,
0.16918982565402985,
0.06309233605861664,
0.08649429678916931,
-0.014459274709224701,
0.006600379943847656,
-0.17376093566417694,
0.019052766263484955,
0.32502463459968567,
0.06528539955615997,
0.0023696906864643097,
0.26821768283843994,
0.3032011091709137,
-0.38568300008773804,
-0.13340121507644653,
-0.44647401571273804,
0.3236750066280365,
-0.2572700083255768,
0.2805682420730591,
-0.2727433145046234,
0.2633364796638489,
0.012309947051107883,
0.12435412406921387,
0.053499456495046616,
-0.04029850661754608,
-0.2967928946018219,
-0.22194983065128326,
-0.4308204650878906,
0.10395553708076477,
-0.04208759590983391,
0.13441894948482513,
0.07424339652061462,
-0.4083136022090912,
-0.11642591655254364,
-0.10211598873138428,
-0.3952332139015198,
-0.14884185791015625,
-0.3209346830844879,
0.2279340624809265,
0.055676043033599854,
-0.3034023642539978,
-0.040511466562747955,
-0.03972677141427994,
0.19593048095703125,
0.17135033011436462,
-0.3898334205150604,
-0.23669302463531494,
0.016018398106098175,
0.09228790551424026,
0.04477320611476898,
-0.1240139976143837,
0.11525676399469376,
-0.14922219514846802,
-0.10945875942707062,
-0.3053334951400757,
0.18215051293373108,
-0.10344374924898148,
0.1356246918439865,
-0.1327008605003357,
0.3164585530757904,
-0.008562274277210236,
0.11595997214317322,
0.09373778104782104,
0.19367872178554535,
0.09425204247236252,
-0.20946727693080902,
0.06673484295606613,
-0.3895750939846039,
-0.12789738178253174,
0.17608636617660522,
0.2803819477558136,
0.36279118061065674,
0.13401927053928375,
0.429504930973053,
-0.12351085245609283,
-0.10111349076032639,
0.25678178668022156,
0.2712448835372925,
0.3965413570404053,
-0.09521058201789856,
-0.03355209901928902,
0.004303445108234882,
0.258606493473053,
-0.30545520782470703,
-0.02971254661679268,
0.2323659211397171,
0.4017278254032135,
0.2386924922466278,
0.2018214762210846,
0.010836835950613022,
-0.1453629434108734,
0.23067811131477356,
0.07614017277956009,
0.5659793615341187,
-0.4134790301322937,
-0.004427120089530945,
0.0929807722568512,
-0.15454651415348053,
-0.27515289187431335,
0.56589674949646,
0.11810976266860962,
0.19345413148403168,
0.47640305757522583,
-0.25637301802635193,
0.45257842540740967,
0.29465386271476746,
0.0352109894156456,
0.12110592424869537,
-0.14094538986682892,
0.09946711361408234,
0.33732372522354126,
0.2148927003145218,
0.006581924855709076,
0.2118612676858902,
0.5022283792495728,
-0.12742118537425995,
0.28408005833625793,
-0.09167639166116714,
0.28831371665000916,
-0.24602439999580383,
-0.03732401877641678,
-0.36756885051727295,
-0.21802297234535217,
-0.13675546646118164,
-0.14238978922367096,
-0.019070308655500412,
0.13356438279151917,
0.4334215521812439,
0.06463029980659485,
-0.0038472414016723633,
-0.6475668549537659,
0.14907246828079224,
-0.09380122274160385,
0.21460063755512238,
-0.28661301732063293,
-0.10795406252145767,
0.3682730197906494,
-0.1408786028623581,
-0.029642213135957718,
0.3988877534866333,
0.40178170800209045,
0.26088759303092957,
-0.21758580207824707,
-0.23182013630867004,
-0.2317933440208435,
-0.23192483186721802,
-0.17377133667469025,
0.005268130451440811,
-0.25376448035240173,
-0.06082542613148689,
0.0764530599117279,
0.13941343128681183,
-0.15553006529808044,
0.2916669547557831,
-0.06930471956729889,
0.549647867679596,
-0.22173817455768585,
-0.07111918181180954,
0.12303866446018219,
-0.059477731585502625,
0.17613549530506134,
-0.3916245102882385,
-0.17904797196388245,
0.32066407799720764,
0.2958833575248718,
-0.06929882615804672,
0.1936151087284088,
-0.018658053129911423,
0.16471202671527863,
0.0010763462632894516,
-0.08029335737228394,
0.011935386806726456,
-0.10970320552587509,
-0.24805009365081787,
0.22294162213802338,
-0.3828854262828827,
0.054204296320676804,
0.12239746749401093,
0.15214580297470093,
0.24475905299186707,
0.2856360673904419,
0.14499466121196747,
0.08011621981859207,
0.11650794744491577,
-0.35319024324417114,
0.32880106568336487,
0.11381262540817261,
-0.13246989250183105,
-0.02586640790104866,
-0.11444760859012604,
-0.1789960414171219,
0.020290557295084,
-0.16959089040756226,
0.043588023632764816,
-0.39733603596687317,
0.12369541078805923,
-0.30713003873825073,
-0.05545669049024582,
0.01808052882552147,
0.03179517760872841,
0.1606939733028412,
0.1626165211200714,
-0.06176602840423584,
-0.04825398698449135,
0.13293035328388214,
-0.2998737692832947,
-0.4103437662124634,
-0.01014392077922821,
0.3034375309944153,
0.10528074204921722,
0.081610769033432,
-0.10944143682718277,
0.004058685153722763,
-0.39188504219055176,
0.2675234079360962,
-0.04072060436010361,
0.01671067625284195,
-0.3859390914440155,
0.2717883586883545,
-0.33498215675354004,
0.10292985290288925,
-0.23502174019813538,
0.06680934131145477,
0.22378197312355042,
0.1986900120973587,
-0.06505924463272095,
-0.6243919134140015,
0.6617401838302612,
-0.1452137976884842,
-0.4054475426673889,
-0.14825379848480225,
0.06561680138111115,
0.35637420415878296,
-0.09321015328168869,
-0.4510893225669861,
-0.097462497651577,
0.21466511487960815,
0.131227046251297,
-0.2577832341194153,
-0.07363751530647278,
0.31757551431655884,
0.0540253184735775,
-0.22246849536895752,
0.4540724754333496,
0.33859118819236755,
-0.3549187183380127,
-0.03941652178764343,
0.028182484209537506
] |
https://github.com/huggingface/datasets/pull/2268 | Don't use pyarrow 4.0.0 since it segfaults when casting a sliced ListArray of integers | @lhoestq the ticket you mentioned is now in state resolved. Pyarrow supports AArch64 after version 4.0.0. Because of this restriction `datasets` is not installing in AArch64 systems. | This test `tests/test_table.py::test_concatenation_table_cast` segfaults with the latest update of pyarrow 4.0.0.
Setting `pyarrow<4.0.0` for now. I'll open an issue on JIRA once I know more about the origin of the issue | 27 | text: Don't use pyarrow 4.0.0 since it segfaults when casting a sliced ListArray of integers
This test `tests/test_table.py::test_concatenation_table_cast` segfaults with the latest update of pyarrow 4.0.0.
Setting `pyarrow<4.0.0` for now. I'll open an issue on JIRA once I know more about the origin of the issue
@lhoestq the ticket you mentioned is now in state resolved. Pyarrow supports AArch64 after version 4.0.0. Because of this restriction `datasets` is not installing in AArch64 systems. | [
-0.5872341990470886,
0.30536380410194397,
-0.07831605523824692,
0.09114685654640198,
0.16712109744548798,
0.06285060197114944,
0.19087085127830505,
0.5148057341575623,
-0.42431747913360596,
-0.07502533495426178,
-0.16266131401062012,
0.42514941096305847,
-0.015019391663372517,
-0.11986390501260757,
-0.06661482155323029,
-0.04055434465408325,
0.07232449948787689,
0.2544358968734741,
-0.12363496422767639,
0.12012730538845062,
-0.20445576310157776,
0.13495169579982758,
-0.3231208622455597,
0.21227118372917175,
-0.18732741475105286,
0.1672237664461136,
-0.15777075290679932,
-0.03981056809425354,
-0.35024493932724,
-0.543235719203949,
0.23395080864429474,
-0.07439915835857391,
0.04193795844912529,
0.27816200256347656,
-0.000109530781628564,
0.06371662020683289,
0.39825236797332764,
0.10711710155010223,
-0.2821022570133209,
0.060808733105659485,
-0.10568350553512573,
-0.02172306925058365,
0.01928039640188217,
-0.08186639845371246,
0.05567321926355362,
-0.36784493923187256,
-0.03864347189664841,
0.200519859790802,
0.03973156958818436,
0.34830424189567566,
0.23221422731876373,
0.17669686675071716,
0.2848508358001709,
-0.34506428241729736,
0.4020199179649353,
0.05655372515320778,
-0.1277296543121338,
0.24956144392490387,
0.20171044766902924,
-0.06990040093660355,
-0.16203638911247253,
0.043233320116996765,
-0.09261728823184967,
-0.03774867206811905,
-0.34056413173675537,
-0.11736356467008591,
-0.1388932168483734,
-0.19225583970546722,
0.2556648850440979,
0.11130353063344955,
0.5734943747520447,
-0.4323022663593292,
-0.2867144048213959,
-0.018647484481334686,
0.23191964626312256,
-0.24973642826080322,
0.11705908924341202,
0.27063223719596863,
-0.1717926561832428,
0.23293843865394592,
-0.30465272068977356,
0.05733094364404678,
-0.16161850094795227,
0.17276260256767273,
-0.07221467047929764,
0.23963750898838043,
0.22641676664352417,
0.09871568530797958,
0.06968292593955994,
-0.2402811497449875,
0.336514949798584,
0.09472507238388062,
-0.33673393726348877,
0.13897697627544403,
-0.3566994071006775,
-0.005258750170469284,
-0.01161395013332367,
0.3336296081542969,
0.4534883499145508,
-0.27812379598617554,
-0.13244308531284332,
0.06818512827157974,
0.18716734647750854,
0.06764457374811172,
0.050842493772506714,
0.05052300915122032,
0.19923239946365356,
0.2274484634399414,
0.20316201448440552,
0.15609343349933624,
-0.005235709249973297,
0.17387154698371887,
-0.003478447673842311,
-0.3048786222934723,
0.029501523822546005,
-0.2466881275177002,
0.07062692940235138,
-0.22919127345085144,
-0.3676852583885193,
-0.04108412191271782,
-0.5558755993843079,
-0.06892506033182144,
0.13172604143619537,
0.4604419469833374,
-0.05620511993765831,
-0.27657774090766907,
-0.05527365207672119,
0.5039548277854919,
-0.18089470267295837,
-0.3264833390712738,
-0.20788872241973877,
-0.07702790200710297,
-0.13735562562942505,
-0.12910445034503937,
0.2519291043281555,
-0.13409128785133362,
0.23408955335617065,
0.09093312919139862,
0.0345907099545002,
0.33443617820739746,
-0.17479723691940308,
0.028250601142644882,
-0.1707482933998108,
0.5506397485733032,
0.11911994218826294,
-0.03192548826336861,
0.006052214652299881,
-0.047661300748586655,
-0.043714750558137894,
0.2770303189754486,
0.05129358917474747,
-0.32293394207954407,
0.11578736454248428,
0.2407228946685791,
-0.28462547063827515,
-0.07760339975357056,
0.08257832378149033,
-0.03764442726969719,
0.16859570145606995,
-0.21354365348815918,
0.002458319067955017,
-0.28617310523986816,
0.37093648314476013,
-0.29245537519454956,
0.14043545722961426,
-0.01278020441532135,
-0.3737908601760864,
0.10274304449558258,
-0.3153790831565857,
-0.15878652036190033,
0.04069265350699425,
0.22902065515518188,
-0.2885063886642456,
0.0666671022772789,
-0.2957480251789093,
0.48150771856307983,
0.41250914335250854,
0.07996223866939545,
-0.46089890599250793,
-0.07139550149440765,
0.13097961246967316,
-0.19407831132411957,
-0.06110595911741257,
-0.09586675465106964,
0.15859603881835938,
-0.012297802604734898,
0.11523124575614929,
0.03850952163338661,
-0.09298162162303925,
-0.027996961027383804,
-0.17272892594337463,
-0.19214685261249542,
0.023798640817403793,
0.21800610423088074,
0.0765247717499733,
-0.02470577508211136,
0.2141709327697754,
-0.26812103390693665,
0.3231297433376312,
-0.2538479268550873,
0.009156651794910431,
-0.042418502271175385,
0.3889138400554657,
-0.22936592996120453,
0.09540515393018723,
-0.11290273070335388,
-0.15479665994644165,
0.26028597354888916,
-0.18514588475227356,
0.10179108381271362,
-0.32995426654815674,
-0.15627796947956085,
-0.1433897316455841,
0.3222074806690216,
-0.05952602997422218,
0.06502304971218109,
0.1363389790058136,
-0.05646997690200806,
0.1546773910522461,
0.06945167481899261,
-0.051413774490356445,
-0.024052461609244347,
-0.06631151586771011,
-0.02593352645635605,
0.17142434418201447,
0.2991509735584259,
-0.2676311135292053,
-0.4527592957019806,
0.10935257375240326,
0.11357327550649643,
0.04162783548235893,
-0.0326232984662056,
-0.02174455299973488,
0.38850459456443787,
-0.021485434845089912,
-0.30958956480026245,
-0.05779029428958893,
0.038456082344055176,
-0.11933261901140213,
-0.3962780833244324,
0.1427631974220276,
-0.21888472139835358,
-0.055627353489398956,
0.03523385524749756,
0.18048328161239624,
0.2439412921667099,
0.12592248618602753,
-0.15627452731132507,
0.19464589655399323,
0.20105886459350586,
0.48769983649253845,
0.11823000013828278,
0.024814089760184288,
-0.180242121219635,
0.161496102809906,
-0.07985660433769226,
0.16317713260650635,
0.10128564387559891,
-0.5149556398391724,
-0.0022012367844581604,
0.4463328421115875,
-0.1359267234802246,
0.17405834794044495,
0.20302119851112366,
-0.11572202295064926,
0.011705126613378525,
0.150096133351326,
-0.16840790212154388,
0.45601916313171387,
0.23059524595737457,
-0.0903753787279129,
0.04326309636235237,
-0.14346882700920105,
-0.27447742223739624,
0.2958194315433502,
0.0670488104224205,
0.3678160309791565,
0.06422854959964752,
0.19791163504123688,
-0.13503994047641754,
-0.3396030068397522,
-0.0003170818090438843,
0.08160153776407242,
0.2859629690647125,
-0.3281310796737671,
-0.001149926334619522,
-0.2036014199256897,
-0.230523020029068,
-0.11642025411128998,
-0.414995402097702,
-0.20985791087150574,
-0.3118462860584259,
0.18251430988311768,
0.18088752031326294,
-0.19482381641864777,
0.5014446973800659,
-0.01650119572877884,
0.08220773935317993,
0.1311555653810501,
-0.2654646635055542,
-0.1165701150894165,
-0.03682834655046463,
-0.30646833777427673,
0.14830537140369415,
0.22634316980838776,
-0.05806852877140045,
0.21972960233688354,
-0.048975832760334015,
0.1267155408859253,
-0.4460241496562958,
-0.4420435428619385,
0.1452384889125824,
-0.3329654932022095,
0.10315307229757309,
0.4116200804710388,
0.07791727036237717,
-0.33891236782073975,
-0.26083502173423767,
0.35485222935676575,
-0.2408813238143921,
-0.21287868916988373,
0.44507238268852234,
0.018373984843492508,
-0.21865618228912354,
-0.1766130030155182,
-0.25936368107795715,
-0.16192935407161713,
-0.2702423632144928,
0.09419314563274384,
0.09409363567829132,
0.020027995109558105,
0.06332289427518845,
0.29611849784851074,
0.23818829655647278,
-0.2226773351430893,
-0.1696750372648239,
-0.021754421293735504,
0.14953428506851196,
0.31946948170661926,
-0.27126237750053406,
-0.45923158526420593,
0.13368025422096252,
-0.0834452360868454,
0.31965261697769165,
0.22533638775348663,
-0.30602526664733887,
0.07030719518661499,
-0.13202835619449615,
0.3923877775669098,
0.1871027648448944,
-0.1294279545545578,
0.3425980806350708,
0.04814789071679115,
-0.12457874417304993,
-0.19348084926605225,
0.05186298117041588,
0.19645088911056519,
-0.03796464204788208,
0.05081111937761307,
-0.10659588128328323,
0.19995522499084473,
0.04112954065203667,
0.5354059338569641,
0.1639280915260315,
-0.10734376311302185,
0.3650176227092743,
-0.22984495759010315,
0.27803030610084534,
-0.2100512683391571,
-0.0348440445959568,
-0.2204086184501648,
0.09308823943138123,
-0.06854230165481567,
0.15543709695339203,
-0.11252034455537796,
-0.4707167148590088,
-0.07856088876724243,
-0.03338466212153435,
-0.22064247727394104,
-0.2619205117225647,
0.10079456120729446,
-0.05293536186218262,
0.15630459785461426,
0.05391554906964302,
-0.006776291877031326,
0.0068657901138067245,
-0.10987353324890137,
-0.06116544455289841,
-0.17461736500263214,
-0.1627369225025177,
-0.09264763444662094,
-0.08851563930511475,
-0.46789640188217163,
-0.1759362518787384,
0.29779142141342163,
0.08739881962537766,
0.3934871554374695,
-0.0507732629776001,
-0.3112011253833771,
0.14352522790431976,
-0.12594300508499146,
0.5308195352554321,
-0.14323951303958893,
-0.1251673549413681,
0.32688286900520325,
0.21494582295417786,
-0.3557172119617462,
-0.09903228282928467,
-0.2089209258556366,
0.18135739862918854,
0.10722890496253967,
-0.009057112038135529,
-0.37371909618377686,
-0.12007351219654083,
0.5053462386131287,
0.1602373719215393,
0.087074413895607,
0.02717355638742447,
-0.2983236014842987,
-0.3166007995605469,
-0.10333391278982162,
-0.025368839502334595,
0.020126251503825188,
0.2672169506549835,
-0.2557886838912964,
0.2117866724729538,
-0.24462048709392548,
-0.2107730209827423,
-0.09598639607429504,
0.30106696486473083,
0.3633435070514679,
-0.3892371356487274,
0.21870839595794678,
-0.07007383555173874,
-0.1382226198911667,
0.586949348449707,
0.5167502760887146,
0.00476522371172905,
-0.31880471110343933,
0.010471475310623646,
-0.19199202954769135,
0.3875874876976013,
0.09216144680976868,
-0.21307271718978882,
-0.08903715759515762,
-0.13336044549942017,
-0.0006693974137306213,
0.055523984134197235,
-0.19889195263385773,
0.4104999005794525,
-0.13032111525535583,
-0.3517518937587738,
-0.11179667711257935,
0.2214469313621521,
0.09886524081230164,
-0.07295020669698715,
-0.0024867355823516846,
0.24314309656620026,
-0.230632483959198,
0.4255640506744385,
0.12184305489063263,
0.7571346759796143,
-0.17883789539337158,
0.16354629397392273,
0.5532335042953491,
0.2927212119102478,
0.10079175978899002,
0.06816394627094269,
0.18161924183368683,
-0.5554530024528503,
-0.1914895474910736,
0.07701656967401505,
-0.24693314731121063,
0.312491238117218,
-0.0005464330315589905,
-0.3135252296924591,
-0.008029317483305931,
-0.07849648594856262,
0.4972818195819855,
0.25473740696907043,
-0.019235042855143547,
-0.11410070210695267,
0.07298465073108673,
-0.4250430464744568,
0.2275780439376831,
0.14594712853431702,
-0.1669367402791977,
-0.0033591240644454956,
-0.0830492228269577,
-0.313153475522995,
-0.33354419469833374,
-0.3289684057235718,
0.20743811130523682,
0.028267592191696167,
0.044809043407440186,
0.21676191687583923,
0.0483161062002182,
0.17697498202323914,
0.5321246981620789,
0.024477101862430573,
0.1366865187883377,
-0.2088344842195511,
0.23811328411102295,
-0.08145929127931595,
-0.08934430032968521,
0.2933799922466278,
-0.06931008398532867,
0.36822569370269775,
-0.144474595785141,
-0.2423953115940094,
0.32385799288749695,
-0.0033456687815487385,
-0.10188566893339157,
-0.01355135440826416,
0.004033342003822327,
-0.08647032082080841,
-0.5625864863395691,
0.00794956274330616,
-0.34865468740463257,
0.09301425516605377,
-0.18477007746696472,
0.15599113702774048,
0.08428534120321274,
-0.04299180209636688,
0.2503461241722107,
-0.16768498718738556,
-0.2481478899717331,
-0.1547795981168747,
0.3354359269142151,
0.015431957319378853,
0.16119742393493652,
0.3832930028438568,
0.25098109245300293,
-0.11226283758878708,
-0.328442245721817,
-0.23395344614982605,
0.21003450453281403,
-0.8230637907981873,
-0.04977472126483917,
0.023841261863708496,
0.05438987910747528,
0.23393987119197845,
0.2856557071208954,
0.03846503794193268,
0.0854327455163002,
-0.2035626620054245,
-0.26202577352523804,
-0.22302837669849396,
0.3866615295410156,
0.1515892893075943,
0.10672841221094131,
0.03171573579311371,
0.008020520210266113,
0.18522565066814423,
-0.02100527100265026,
-0.3527321219444275,
-0.023943021893501282,
-0.13442514836788177,
0.21719330549240112,
-0.5078170299530029,
0.029115958139300346,
0.3143806755542755,
-0.120196133852005,
0.25749915838241577,
0.04128987342119217,
-0.13577528297901154,
-0.23814541101455688,
0.1969662457704544,
0.07162821292877197,
0.08560062944889069,
-0.07091296464204788,
0.019043754786252975,
-0.23190371692180634,
-0.11184866726398468,
0.026537258177995682,
0.15341831743717194,
-0.16735783219337463,
-0.1991153210401535,
-0.16141265630722046,
0.7304810881614685,
-0.1352677047252655,
0.07917369157075882,
0.04590046778321266,
-0.2799474895000458,
0.16191017627716064,
-0.08070849627256393,
0.310678631067276,
-0.05699455738067627,
-0.1619308441877365,
0.3377275764942169,
0.15714262425899506,
0.036034420132637024,
-0.09393110126256943,
0.2815312445163727,
-0.36097198724746704,
0.05656486377120018,
-0.06837696582078934,
0.637338399887085,
0.2208338975906372,
-0.1613503247499466,
-0.10822659730911255,
0.42060065269470215,
0.2697463631629944,
-0.3760364055633545,
-0.23158200085163116,
0.1654789000749588,
0.06246301159262657,
-0.06377542018890381,
0.20629441738128662,
0.29765981435775757,
0.003082685172557831,
0.14104445278644562,
0.078262560069561,
0.3674619793891907,
0.2527581751346588,
0.0849405974149704,
0.6901070475578308,
-0.004444736987352371,
0.0642564594745636,
0.17537079751491547,
0.09612885117530823,
0.09768864512443542,
0.2960529327392578,
-0.5843284726142883,
0.18667063117027283,
-0.06536151468753815,
-0.25874626636505127,
0.2258146107196808,
-0.30463874340057373,
0.16790686547756195,
0.18769189715385437,
0.0741620659828186,
-0.23727765679359436,
0.010583095252513885,
0.5187963843345642,
0.2879584729671478,
0.0005404548719525337,
-0.300479531288147,
0.17617620527744293,
-0.18373197317123413,
0.11371421813964844,
-0.16818022727966309,
-0.1745258867740631,
-0.056883011013269424,
-0.045980941504240036,
-0.22536197304725647,
-0.086697518825531,
0.5371790528297424,
0.13307951390743256,
0.07578106969594955,
-0.4182228744029999,
0.41490626335144043,
0.17965415120124817,
-0.1447710394859314,
-0.17807123064994812,
0.1594412922859192,
0.18684042990207672,
-0.2465822696685791,
0.17243407666683197,
0.30793532729148865,
0.5823086500167847,
0.18161287903785706,
-0.1107654869556427,
0.05510496720671654,
-0.2858365774154663,
-0.0554250106215477,
-0.14554405212402344,
0.17288698256015778,
0.15646466612815857,
0.12427739799022675,
0.260015070438385,
0.2505977153778076,
-0.09265685826539993,
0.08093278110027313,
0.0755184143781662,
0.23882801830768585,
0.026947110891342163,
0.13794603943824768,
-0.05276532471179962,
-0.2643486261367798,
0.046272825449705124,
-0.054299525916576385,
-0.22194665670394897,
0.1322055608034134,
0.3788653016090393,
-0.08754552155733109,
0.021464798599481583,
-0.1932741105556488,
0.12372058629989624,
0.06204111874103546,
0.6212788820266724,
0.12265127897262573,
0.34568122029304504,
-0.26172739267349243,
-0.2646660804748535,
-0.32783135771751404,
0.09859044849872589,
-0.19085127115249634,
0.14039987325668335,
0.22177442908287048,
0.03453676402568817,
0.061394453048706055,
0.024799399077892303,
0.1585140824317932,
0.12830594182014465,
-0.18060584366321564,
0.2274440973997116,
-0.28146758675575256,
0.004581410437822342,
0.06962297111749649,
0.02961702086031437,
-0.18959501385688782,
-0.16846680641174316,
0.4147658050060272,
-0.5485851168632507,
0.13213032484054565,
-0.1927841156721115,
-0.04253172129392624,
0.34620311856269836,
-0.27069178223609924,
0.13389942049980164,
0.05498360097408295,
0.37430140376091003,
0.01643630862236023,
-0.060284942388534546,
-0.2554822564125061,
-0.4062957465648651,
-0.03897688910365105,
0.24069547653198242,
0.07483300566673279,
0.2909238934516907,
-0.08560484647750854,
0.09982281923294067,
-0.16385000944137573,
0.11495772749185562,
-0.07487586885690689,
0.14585812389850616,
0.044064559042453766,
0.31495359539985657,
-0.1325908899307251,
0.20615196228027344,
-0.012638062238693237,
-0.038415826857089996,
0.010114043951034546,
0.1819673776626587,
-0.3330703675746918,
-0.5916925072669983,
0.3346982002258301,
-0.4196184277534485,
-0.1407167613506317,
-0.07325099408626556,
0.06983053684234619,
0.0599651113152504,
-0.32784968614578247,
-0.5122956037521362,
0.05277947336435318,
0.3123582601547241,
0.06453344970941544,
-0.28242531418800354,
0.18147780001163483,
0.3240152895450592,
0.006337855011224747,
-0.11348158121109009,
0.4682595729827881,
0.006916681304574013,
-0.24310292303562164,
0.04336945340037346,
-0.21835841238498688
] |
https://github.com/huggingface/datasets/pull/2266 | Make tests run faster | Sorry I didn't know you were also working on it ^^'
And yes I 100% agree with you on the points you mentioned. We should definitely improve the coverage. It would be nice to have a clearer separation to know which tests in the suite are unit tests and which ones are integration tests
| From 7min to 2min to run pytest.
Ideally we should keep the whole CI run time below 10min.
In this PR I removed the remote tests that were never used.
I also replaced nested parametrized tests with unit tests.
This makes me think that we could still add more high level tests to check for a few combinations of parameters (but not all of them since there are too many of them).
Let me know what you think
Finally in another PR we can also separate in two circleci jobs:
- the tests of the code code of the lib
- the tests of the all the dataset/metric scripts. | 54 | text: Make tests run faster
From 7min to 2min to run pytest.
Ideally we should keep the whole CI run time below 10min.
In this PR I removed the remote tests that were never used.
I also replaced nested parametrized tests with unit tests.
This makes me think that we could still add more high level tests to check for a few combinations of parameters (but not all of them since there are too many of them).
Let me know what you think
Finally in another PR we can also separate in two circleci jobs:
- the tests of the code code of the lib
- the tests of the all the dataset/metric scripts.
Sorry I didn't know you were also working on it ^^'
And yes I 100% agree with you on the points you mentioned. We should definitely improve the coverage. It would be nice to have a clearer separation to know which tests in the suite are unit tests and which ones are integration tests
| [
-0.17429578304290771,
-0.23291397094726562,
-0.23606766760349274,
-0.030727170407772064,
-0.050881318747997284,
-0.04433581978082657,
0.09345634281635284,
0.24087020754814148,
-0.19486665725708008,
0.15004998445510864,
0.19274361431598663,
0.21937257051467896,
-0.19843071699142456,
0.5595627427101135,
-0.27488288283348083,
-0.27187472581863403,
-0.12726300954818726,
-0.024035871028900146,
-0.0032831132411956787,
0.18637339770793915,
-0.20745010673999786,
0.03361346572637558,
-0.19658255577087402,
-0.16998128592967987,
0.327169805765152,
-0.31552231311798096,
-0.08575887978076935,
-0.03732134401798248,
-0.18425194919109344,
-0.47905755043029785,
-0.02343876101076603,
0.3503984808921814,
-0.20732858777046204,
0.1490822434425354,
-0.0001098411885323003,
-0.2596780061721802,
0.43402695655822754,
0.021400021389126778,
-0.15288664400577545,
0.30794134736061096,
0.5802128314971924,
-0.0752967894077301,
0.2589704990386963,
-0.39419618248939514,
-0.12652651965618134,
0.3669508099555969,
-0.4697136878967285,
-0.17413362860679626,
-0.029285967350006104,
0.31990930438041687,
0.2559794485569,
0.4602607488632202,
-0.2658056616783142,
0.12391892820596695,
-0.06619428843259811,
0.1985483020544052,
-0.3491646647453308,
0.11980453133583069,
0.7675756216049194,
0.22254803776741028,
-0.006303749978542328,
0.1102205216884613,
-0.08675949275493622,
0.18499025702476501,
0.1272778958082199,
-0.026969626545906067,
0.018193349242210388,
-0.3565523028373718,
-0.016305964440107346,
-0.11783752590417862,
0.1722204089164734,
-0.08726691454648972,
-0.0615263357758522,
0.09910013526678085,
0.022829730063676834,
-0.5091428756713867,
0.2733522653579712,
-0.0024164123460650444,
-0.3654358386993408,
-0.08690407872200012,
-0.5640770196914673,
0.02393445372581482,
-0.29347991943359375,
-0.08177419006824493,
-0.05929192155599594,
-0.06843817234039307,
0.1628960520029068,
0.10423026233911514,
0.16886700689792633,
0.2729072570800781,
0.20792047679424286,
0.20041325688362122,
0.04124739393591881,
-0.08853352069854736,
0.20656679570674896,
-0.54377281665802,
0.016866207122802734,
0.43914794921875,
0.191287100315094,
0.458953320980072,
-0.33391568064689636,
0.09805557131767273,
0.22443246841430664,
-0.1070009246468544,
-0.1580289602279663,
-0.10582320392131805,
0.113941490650177,
0.09234649688005447,
0.3969942331314087,
0.12592969834804535,
-0.03804773464798927,
0.21306180953979492,
0.3516096770763397,
-0.2875708043575287,
-0.16583997011184692,
0.3774072825908661,
-0.06519901007413864,
-0.39745524525642395,
0.12188652902841568,
0.1499086618423462,
-0.11877356469631195,
-0.20990002155303955,
0.08187843859195709,
0.28088220953941345,
-0.2401319146156311,
0.08183209598064423,
0.0058828964829444885,
-0.05855123698711395,
-0.10397451370954514,
0.04887424409389496,
-0.03356417268514633,
0.13917909562587738,
-0.0800807923078537,
0.09818880259990692,
0.18629701435565948,
-0.13501068949699402,
0.14060908555984497,
0.09944078326225281,
0.5446373820304871,
-0.1088302880525589,
0.2791105806827545,
0.02556150034070015,
0.10134287178516388,
0.2173086702823639,
-0.1025247722864151,
-0.2159062623977661,
0.03615107387304306,
0.16658863425254822,
-0.37152713537216187,
0.4163564145565033,
-0.12590891122817993,
-0.43404701352119446,
0.16070091724395752,
0.18065351247787476,
-0.22170394659042358,
-0.124399334192276,
0.12118406593799591,
-0.08797802031040192,
-0.14117038249969482,
-0.09152869880199432,
0.1389855295419693,
-0.23426680266857147,
0.10916376113891602,
-0.08441787213087082,
0.08370652049779892,
0.30016374588012695,
0.053493861109018326,
0.07236532866954803,
0.04138734191656113,
0.15382830798625946,
0.45641613006591797,
0.04862193018198013,
-0.15449188649654388,
0.20020544528961182,
-0.2672690451145172,
-0.4160594344139099,
0.3370269238948822,
-0.4254947602748871,
0.17397943139076233,
0.25646457076072693,
0.0940369963645935,
-0.25647395849227905,
0.26125022768974304,
-0.12621557712554932,
0.3373921811580658,
-0.1375134438276291,
-0.2707661986351013,
-0.10464112460613251,
-0.43179383873939514,
0.2929893136024475,
-0.45865726470947266,
-0.24385479092597961,
0.2817952632904053,
0.06403671205043793,
0.2040838748216629,
-0.2423209249973297,
-0.18196359276771545,
-0.30599141120910645,
0.36048439145088196,
-0.1014719009399414,
-0.1989937722682953,
-0.1435776650905609,
0.4472840130329132,
-0.12586307525634766,
-0.07982960343360901,
0.22973313927650452,
-0.11238441616296768,
0.10432516783475876,
0.008149143308401108,
0.4227765202522278,
0.24966321885585785,
-0.16156087815761566,
-0.04928118363022804,
-0.15032340586185455,
0.10147832334041595,
-0.454822838306427,
0.061772674322128296,
0.036222174763679504,
-0.11071307957172394,
-0.39088770747184753,
-0.15483428537845612,
-0.009674275293946266,
-0.3043215870857239,
0.006945300847291946,
0.15004025399684906,
0.04951491206884384,
-0.2483859807252884,
0.11045453697443008,
-0.0544910803437233,
0.16907629370689392,
0.089533232152462,
-0.3161681592464447,
-0.235713392496109,
-0.0179886594414711,
0.2526809275150299,
0.09562477469444275,
0.24240094423294067,
0.24540305137634277,
0.3505896031856537,
-0.18580694496631622,
0.060417115688323975,
0.016559774056077003,
-0.20012083649635315,
0.01718500256538391,
-0.08680959790945053,
0.5987144708633423,
-0.1077466607093811,
0.40872544050216675,
-0.04869528114795685,
-0.03826015442609787,
0.05819161236286163,
-0.13360264897346497,
-0.23633168637752533,
0.22408118844032288,
0.19783912599086761,
0.0628160834312439,
0.21554350852966309,
0.2186342179775238,
-0.12904725968837738,
0.4700893461704254,
0.2584051489830017,
-0.14344926178455353,
-0.5393164157867432,
0.21519193053245544,
0.37158310413360596,
-0.21443703770637512,
0.04095635563135147,
0.10186243057250977,
0.3549577593803406,
0.25914424657821655,
-0.1272023767232895,
0.06763183325529099,
-0.003959584981203079,
-0.09878724068403244,
0.3082449734210968,
0.22394871711730957,
-0.309159517288208,
0.11433422565460205,
-0.1525779515504837,
0.06429067254066467,
-0.010738000273704529,
-0.4429580867290497,
-0.0179409421980381,
0.37202975153923035,
-0.24988608062267303,
-0.17076829075813293,
0.12775015830993652,
0.05926705151796341,
0.01126493513584137,
0.1881948560476303,
0.07229353487491608,
-0.23549704253673553,
0.08638069033622742,
-0.1121755987405777,
-0.2211083322763443,
0.25132423639297485,
-0.16482262313365936,
0.7045626640319824,
-0.2718513607978821,
-0.21268372237682343,
-0.22387753427028656,
-0.15496142208576202,
-0.06401576101779938,
0.2021634429693222,
0.18513047695159912,
-0.04928882047533989,
0.6845496892929077,
-0.21667441725730896,
-0.1993359923362732,
0.06205633282661438,
-0.5088158249855042,
0.11804813891649246,
-0.09046739339828491,
0.1557970494031906,
-0.02834256738424301,
-0.028013527393341064,
-0.05672309547662735,
-0.11525667458772659,
0.04936244711279869,
-0.273586630821228,
-0.20573244988918304,
-0.20166662335395813,
-0.11988826841115952,
0.021059421822428703,
-0.05597744882106781,
-0.8051060438156128,
-0.18259049952030182,
-0.30310797691345215,
-0.05841284990310669,
0.00015386193990707397,
0.15947720408439636,
-0.04275386035442352,
-0.06278529018163681,
-0.0674876943230629,
0.17563891410827637,
0.17611786723136902,
0.0002955629024654627,
-0.21459291875362396,
-0.12744222581386566,
-0.2060818076133728,
-0.1878087967634201,
-0.018567856401205063,
0.03509150817990303,
0.2646537125110626,
-0.14362412691116333,
-0.32480430603027344,
-0.40235480666160583,
-0.00775640644133091,
0.2601088285446167,
-0.13714753091335297,
-0.2025356888771057,
0.18947526812553406,
0.22870208323001862,
-0.1492006927728653,
0.24551153182983398,
-0.11161673069000244,
-0.1679394245147705,
0.1119762510061264,
0.04496486857533455,
0.002377629280090332,
0.37750449776649475,
-0.47413209080696106,
0.5554659962654114,
0.48656582832336426,
0.023158913478255272,
-0.1625143438577652,
-0.08983118832111359,
0.09039964526891708,
-0.043142832815647125,
-0.3120957016944885,
0.52894526720047,
0.13920430839061737,
-0.43869924545288086,
0.21827799081802368,
-0.12158770114183426,
-0.059311941266059875,
-0.045041996985673904,
0.14463156461715698,
-0.22929856181144714,
-0.29714688658714294,
0.30306944251060486,
-0.015555504709482193,
0.27822110056877136,
-0.27619993686676025,
0.09108278900384903,
-0.011792155914008617,
-0.04882904514670372,
0.21099066734313965,
0.24029318988323212,
0.03038383275270462,
-0.05773206427693367,
-0.20529720187187195,
-0.3564872145652771,
-0.3990356922149658,
0.1808827668428421,
0.09443499892950058,
0.014412335120141506,
-0.06725813448429108,
0.0792737603187561,
0.17863985896110535,
-0.12239409238100052,
0.051213398575782776,
-0.27509641647338867,
-0.1740095019340515,
0.31980130076408386,
-0.426066517829895,
0.001372743397951126,
-0.011329274624586105,
-0.37640106678009033,
0.2934771776199341,
-0.02279604971408844,
0.2177799940109253,
-0.017652742564678192,
-0.2844086289405823,
0.42880672216415405,
0.15968364477157593,
0.026972327381372452,
0.09243489801883698,
0.05926450714468956,
-0.5157116055488586,
-0.12451508641242981,
0.6462539434432983,
0.08128179609775543,
-0.06187959387898445,
-0.435638427734375,
-0.27580544352531433,
0.4223616421222687,
-0.12049535661935806,
0.12254195660352707,
0.14145061373710632,
0.20281311869621277,
-0.1668635904788971,
0.24848172068595886,
-0.22703438997268677,
-0.25341811776161194,
0.20415303111076355,
0.0763770192861557,
-0.45186465978622437,
0.5628669261932373,
0.20660167932510376,
-0.16429385542869568,
0.46335655450820923,
0.38131463527679443,
-0.02511300891637802,
0.12414185702800751,
-0.48036280274391174,
0.49979740381240845,
-0.11893681436777115,
0.005556479562073946,
0.09182266891002655,
0.19954736530780792,
0.15790988504886627,
-0.2462485432624817,
-0.18328526616096497,
-0.000033657997846603394,
-0.27582406997680664,
0.3923751711845398,
-0.0356161966919899,
-0.013270195573568344,
0.3683885931968689,
0.3139331638813019,
0.9765265583992004,
0.21480748057365417,
-0.1359475553035736,
0.060734402388334274,
0.05156143009662628,
0.18075594305992126,
-0.13448388874530792,
0.016927022486925125,
-0.3440600037574768,
0.3259999752044678,
0.20771503448486328,
-0.23338064551353455,
0.04538068547844887,
-0.44582074880599976,
-0.3971755802631378,
0.02583068236708641,
-0.024529919028282166,
-0.059298280626535416,
-0.009917622432112694,
0.24099132418632507,
0.019917625933885574,
-0.019738029688596725,
0.24743689596652985,
0.17696914076805115,
-0.2079290896654129,
0.055301159620285034,
-0.01716025173664093,
0.1661112904548645,
-0.057163357734680176,
-0.08281970024108887,
-0.31608620285987854,
-0.30253729224205017,
-0.17413778603076935,
-0.026677671819925308,
-0.061136338859796524,
-0.2757836580276489,
0.1402621865272522,
0.049593206495046616,
0.2531907856464386,
0.3525126576423645,
-0.1938720941543579,
0.06023825705051422,
-0.09568574279546738,
0.16814830899238586,
0.34396472573280334,
-0.06142190843820572,
-0.04716676473617554,
-0.39223864674568176,
-0.25525954365730286,
-0.17626959085464478,
-0.326877236366272,
-0.3306163549423218,
0.06799289584159851,
0.08345985412597656,
0.24444442987442017,
-0.1387597620487213,
0.15159893035888672,
-0.017916515469551086,
-0.41756272315979004,
-0.25704747438430786,
0.18632183969020844,
0.10819050669670105,
-0.26074326038360596,
0.7112656235694885,
0.14761187136173248,
-0.2989955544471741,
-0.1400219053030014,
-0.4172166585922241,
0.44948381185531616,
-0.16492876410484314,
-0.0408744141459465,
-0.0619608536362648,
-0.062083665281534195,
-0.3820294141769409,
0.3347660303115845,
-0.02248843014240265,
0.006966747343540192,
0.1886487752199173,
0.048455823212862015,
-0.17012667655944824,
0.06171094626188278,
0.46722230315208435,
0.23318494856357574,
0.36384227871894836,
-0.31347188353538513,
-0.08077668398618698,
-0.3995973467826843,
0.06651242077350616,
0.22848910093307495,
0.2590976357460022,
-0.13592937588691711,
0.19713351130485535,
-0.008003853261470795,
0.11240509152412415,
-0.35867518186569214,
-0.20453104376792908,
-0.17348900437355042,
0.021838238462805748,
-0.09792322665452957,
-0.24025875329971313,
0.1502903252840042,
0.059201937168836594,
0.1102219969034195,
0.045371852815151215,
0.046251699328422546,
-0.2854476571083069,
0.03569378703832626,
0.12348838150501251,
-0.17770901322364807,
0.045755431056022644,
0.1223725900053978,
0.16485977172851562,
-0.06963929533958435,
-0.12536069750785828,
0.06418749690055847,
-0.14372485876083374,
0.1693095713853836,
-0.014761697500944138,
0.1718311458826065,
-0.25753965973854065,
-0.22356471419334412,
0.2842959761619568,
0.09835277497768402,
0.30333614349365234,
0.002418909687548876,
0.10339270532131195,
0.14840862154960632,
-0.27602964639663696,
0.5308852195739746,
0.3870706558227539,
0.03128169849514961,
0.33320289850234985,
-0.14885354042053223,
0.2593258023262024,
-0.001635916531085968,
-0.1833348274230957,
0.10769379138946533,
0.525951623916626,
0.03616157919168472,
0.06550892442464828,
-0.0008069584146142006,
0.213901087641716,
-0.1256178617477417,
-0.037686917930841446,
-0.36100512742996216,
-0.13861681520938873,
0.22020551562309265,
0.31273913383483887,
0.1313258856534958,
-0.05152478814125061,
0.5021812319755554,
-0.10799599438905716,
0.46692314743995667,
-0.0455055758357048,
-0.023619476705789566,
-0.25371652841567993,
-0.09878777712583542,
-0.05350372567772865,
0.07894492894411087,
-0.39628341794013977,
0.042728811502456665,
-0.41283750534057617,
0.10070808976888657,
0.40846648812294006,
0.08984313160181046,
0.16584905982017517,
0.12931883335113525,
0.23324723541736603,
0.43497297167778015,
-0.3559054732322693,
0.034726597368717194,
-0.0833796039223671,
0.14156882464885712,
0.4201813042163849,
-0.07319491356611252,
-0.7475553154945374,
-0.2611118257045746,
-0.0882205069065094,
0.070787213742733,
0.06902842223644257,
-0.28430473804473877,
0.045825980603694916,
-0.16862410306930542,
0.10214954614639282,
0.12141063809394836,
0.08332490921020508,
0.3033744692802429,
0.17084071040153503,
-0.22864316403865814,
0.041862305253744125,
-0.13323485851287842,
-0.03767971694469452,
0.14070647954940796,
-0.03231055289506912,
0.2753599286079407,
0.11267120391130447,
0.008286751806735992,
-0.27537786960601807,
0.19283635914325714,
0.3089596927165985,
-0.013655584305524826,
-0.022018935531377792,
-0.23678965866565704,
-0.05523844435811043,
0.12489360570907593,
0.05424930155277252,
-0.022047441452741623,
0.1379888951778412,
-0.16795963048934937,
0.047925349324941635,
0.1928713172674179,
-0.15880393981933594,
0.12490208446979523,
-0.11800789833068848,
-0.5548145174980164,
-0.05201314017176628,
0.4596192240715027,
0.5612725019454956,
-0.22866138815879822,
-0.09017021954059601,
0.006368272006511688,
-0.3876393139362335,
-0.09216777980327606,
0.22475720942020416,
-0.20348545908927917,
-0.15657955408096313,
0.0708509162068367,
0.11442971229553223,
0.06606847047805786,
0.6034670472145081,
0.005040518939495087,
0.39948374032974243,
-0.3682829439640045,
-0.20155008137226105,
-0.37234556674957275,
0.12291436642408371,
0.05870195850729942,
0.11253352463245392,
0.3125820457935333,
-0.18012529611587524,
0.19037404656410217,
0.14568538963794708,
0.41145944595336914,
-0.02438562549650669,
0.3077702522277832,
-0.2784688174724579,
-0.5284590721130371,
0.0882791131734848,
0.23174865543842316,
-0.03336353600025177,
0.05612492561340332,
-0.1382550150156021,
0.2660350501537323,
-0.12870803475379944,
0.016956031322479248,
0.019432246685028076,
-0.247369647026062,
0.7453709840774536,
0.14865031838417053,
0.15717628598213196,
0.12228041142225266,
0.49093911051750183,
0.012569587677717209,
0.011350592598319054,
0.13012303411960602,
-0.0791834220290184,
0.13658499717712402,
0.12282554805278778,
0.022361189126968384,
-0.136257141828537,
-0.0029692170210182667,
-0.34825944900512695,
-0.21366183459758759,
0.10842446982860565,
-0.017076129093766212,
-0.18890446424484253,
0.12049124389886856,
0.07731592655181885,
0.10477734357118607,
0.2053166776895523,
-0.10502027720212936,
0.27914977073669434,
0.022236451506614685,
0.09941472113132477,
-0.5515732765197754,
-0.17352184653282166,
0.5970302820205688,
0.19991865754127502,
-0.05717582255601883,
-0.16624818742275238,
0.2898479700088501,
-0.004583731293678284,
0.34941020607948303,
-0.2439379096031189,
-0.32310158014297485,
0.056667838245630264,
0.07902757823467255,
-0.34163033962249756,
0.5628119707107544,
0.1554684191942215,
-0.030171997845172882,
-0.07122109085321426,
0.4626047909259796,
-0.12238415330648422,
0.023053286597132683,
-0.10225813090801239,
-0.05603580176830292
] |
https://github.com/huggingface/datasets/pull/2266 | Make tests run faster | Never mind: we both noticed tests can be improved. More PRs to come... 😉
According to the literature, unit tests are those that test a behavior unit, isolated from the other components and must be very fast: for me, this last requirement implies that they must be performed completely _in memory_.
As opposed, integration tests are those which also test interactions with _external_ components, like web services, databases, file system, etc.
The problem I see is that our code is still too coupled and it is difficult to isolate components for testing. Therefore, I would suggest acting iteratively, by refactoring to decouple components and then implement unit tests for each component in isolation. | From 7min to 2min to run pytest.
Ideally we should keep the whole CI run time below 10min.
In this PR I removed the remote tests that were never used.
I also replaced nested parametrized tests with unit tests.
This makes me think that we could still add more high level tests to check for a few combinations of parameters (but not all of them since there are too many of them).
Let me know what you think
Finally in another PR we can also separate in two circleci jobs:
- the tests of the code code of the lib
- the tests of the all the dataset/metric scripts. | 113 | text: Make tests run faster
From 7min to 2min to run pytest.
Ideally we should keep the whole CI run time below 10min.
In this PR I removed the remote tests that were never used.
I also replaced nested parametrized tests with unit tests.
This makes me think that we could still add more high level tests to check for a few combinations of parameters (but not all of them since there are too many of them).
Let me know what you think
Finally in another PR we can also separate in two circleci jobs:
- the tests of the code code of the lib
- the tests of the all the dataset/metric scripts.
Never mind: we both noticed tests can be improved. More PRs to come... 😉
According to the literature, unit tests are those that test a behavior unit, isolated from the other components and must be very fast: for me, this last requirement implies that they must be performed completely _in memory_.
As opposed, integration tests are those which also test interactions with _external_ components, like web services, databases, file system, etc.
The problem I see is that our code is still too coupled and it is difficult to isolate components for testing. Therefore, I would suggest acting iteratively, by refactoring to decouple components and then implement unit tests for each component in isolation. | [
-0.18003985285758972,
-0.2584879398345947,
-0.2631237506866455,
-0.05125034600496292,
-0.05158935487270355,
-0.12000429630279541,
0.049859419465065,
0.29515936970710754,
-0.2285473346710205,
0.1573483943939209,
0.011575515381991863,
0.2678726315498352,
-0.21256770193576813,
0.2925494909286499,
-0.2904508411884308,
-0.13174472749233246,
-0.09432109445333481,
0.20617324113845825,
0.0025905072689056396,
0.2952030301094055,
-0.09809143841266632,
-0.022663725540041924,
-0.03015049174427986,
-0.23015452921390533,
0.30400803685188293,
-0.44417694211006165,
-0.08960684388875961,
-0.02149273455142975,
-0.10236610472202301,
-0.5611035823822021,
-0.10469134896993637,
0.4227088987827301,
-0.32967957854270935,
0.19905996322631836,
-0.00010927388939308003,
-0.1885470151901245,
0.40378832817077637,
0.03436949849128723,
-0.3212336003780365,
0.36792922019958496,
0.6232897639274597,
0.02736513502895832,
0.2404278963804245,
-0.4083610475063324,
-0.10946033149957657,
0.26761212944984436,
-0.433571994304657,
-0.13777974247932434,
-0.1066666692495346,
0.304298460483551,
0.235003262758255,
0.5401241779327393,
-0.35913774371147156,
0.08070562779903412,
-0.09414739161729813,
0.3203218877315521,
-0.18248102068901062,
-0.002154022455215454,
0.69844651222229,
0.23572471737861633,
-0.04806175082921982,
-0.05898791179060936,
-0.14548291265964508,
0.3043803572654724,
0.06259867548942566,
-0.17003574967384338,
-0.003895975649356842,
-0.26296085119247437,
-0.01913350448012352,
-0.16206133365631104,
0.0923486277461052,
-0.06503800302743912,
0.05446182191371918,
0.19265270233154297,
-0.06419046968221664,
-0.33125734329223633,
0.21828848123550415,
-0.15201933681964874,
-0.34620141983032227,
-0.053200919181108475,
-0.42898550629615784,
0.019883016124367714,
-0.2170616239309311,
-0.001661546528339386,
0.03611829876899719,
-0.0848446637392044,
0.14298130571842194,
0.1574021875858307,
0.1715877503156662,
0.1407059133052826,
0.18135660886764526,
0.22819125652313232,
-0.08124576508998871,
-0.21764391660690308,
0.3061286509037018,
-0.47911500930786133,
0.016738474369049072,
0.5330269932746887,
0.2235514223575592,
0.48200803995132446,
-0.22243933379650116,
0.03206273168325424,
0.35450229048728943,
-0.09245011955499649,
-0.3114873766899109,
0.02044720947742462,
0.06777217239141464,
0.07139895111322403,
0.34337979555130005,
0.16002345085144043,
-0.19545584917068481,
0.2585504651069641,
0.3151983320713043,
-0.3446085453033447,
-0.020840507000684738,
0.15073177218437195,
-0.02452196180820465,
-0.21837645769119263,
-0.032427653670310974,
-0.04953842610120773,
-0.1295994520187378,
-0.02950974367558956,
0.10335011780261993,
0.2688553035259247,
-0.2125784456729889,
0.2122938632965088,
0.058935992419719696,
-0.15328380465507507,
-0.19057172536849976,
0.007042377255856991,
0.007666800636798143,
0.291015625,
0.029780756682157516,
-0.0012285597622394562,
0.2892988622188568,
-0.10579554736614227,
0.19676242768764496,
0.2393348664045334,
0.39280807971954346,
-0.25559768080711365,
0.20971202850341797,
-0.07453210651874542,
0.11711274087429047,
0.2486860752105713,
-0.10109728574752808,
-0.27933403849601746,
0.041563037782907486,
-0.028992842882871628,
-0.3778929114341736,
0.36541780829429626,
-0.0673176571726799,
-0.35317903757095337,
0.34970563650131226,
0.14581653475761414,
-0.31370973587036133,
-0.08962659537792206,
0.14772376418113708,
-0.023482929915189743,
-0.1507231593132019,
-0.19164824485778809,
0.18079420924186707,
-0.2566174268722534,
0.08749017119407654,
-0.012448528781533241,
0.13860417902469635,
0.341602087020874,
-0.13042408227920532,
0.14865075051784515,
-0.017660638317465782,
0.2560034692287445,
0.4082854986190796,
0.09342511743307114,
-0.11875111609697342,
0.23369356989860535,
-0.23223409056663513,
-0.4361575245857239,
0.18363234400749207,
-0.47572532296180725,
0.2109764814376831,
0.2671346068382263,
-0.018650326877832413,
-0.15507979691028595,
0.3062092363834381,
-0.04057874158024788,
0.30147212743759155,
-0.08688737452030182,
-0.12444937229156494,
-0.0050040967762470245,
-0.33716437220573425,
0.3125646710395813,
-0.44745299220085144,
-0.3900631368160248,
0.40831297636032104,
0.07376046478748322,
0.16287703812122345,
-0.1772754192352295,
-0.1202031746506691,
-0.21142451465129852,
0.2569664418697357,
-0.038516055792570114,
-0.11744284629821777,
-0.15137094259262085,
0.4774574041366577,
-0.1212145984172821,
0.02842261642217636,
0.110655777156353,
0.03657829016447067,
0.17044472694396973,
0.1436557024717331,
0.3367707431316376,
0.2266160547733307,
-0.1063719317317009,
-0.15373191237449646,
-0.12279100716114044,
0.17492179572582245,
-0.35261428356170654,
0.05604749172925949,
0.011528640985488892,
0.01583211123943329,
-0.34956905245780945,
-0.05523185431957245,
0.12696699798107147,
-0.2552465796470642,
-0.027599822729825974,
0.17046834528446198,
-0.047908246517181396,
-0.16204507648944855,
0.07682055979967117,
-0.13822108507156372,
0.05302481725811958,
0.024930555373430252,
-0.2862403392791748,
-0.13472911715507507,
0.12722116708755493,
0.2977950870990753,
0.19738534092903137,
0.2830037772655487,
0.09680070728063583,
0.2806894779205322,
-0.10371458530426025,
0.0745539516210556,
0.08380588889122009,
-0.07154173403978348,
0.025717072188854218,
0.1212511956691742,
0.5805665850639343,
-0.26111653447151184,
0.45094096660614014,
-0.01944943144917488,
-0.10545876622200012,
0.044343188405036926,
-0.09480054676532745,
-0.4099459946155548,
0.277265727519989,
0.2897622287273407,
0.045158565044403076,
0.3920730948448181,
0.18481771647930145,
0.01916087418794632,
0.40373876690864563,
0.16043902933597565,
-0.1693967580795288,
-0.5227305293083191,
0.23130416870117188,
0.32609817385673523,
-0.1935131847858429,
0.048950545489788055,
0.10123251378536224,
0.4780157804489136,
0.2720770537853241,
-0.15055105090141296,
0.03621910512447357,
-0.05417075753211975,
-0.07250866293907166,
0.37125712633132935,
0.3791999816894531,
-0.08080733567476273,
0.17138183116912842,
0.10828806459903717,
0.06895264983177185,
0.08798491209745407,
-0.5708812475204468,
0.010493593290448189,
0.32941994071006775,
-0.30800768733024597,
-0.02367328852415085,
0.05864301323890686,
0.18976140022277832,
0.09543909132480621,
0.137592151761055,
0.1119479387998581,
-0.09982893615961075,
0.01190892793238163,
-0.22048765420913696,
-0.19207175076007843,
0.17662422358989716,
-0.0827728807926178,
0.8120417594909668,
-0.25204983353614807,
-0.22607539594173431,
-0.2706238329410553,
-0.10008091479539871,
0.09346292912960052,
0.14982403814792633,
0.032163187861442566,
0.0852975845336914,
0.6435896754264832,
-0.20753686130046844,
-0.15392573177814484,
0.17629937827587128,
-0.582310140132904,
0.04248020425438881,
-0.0779578909277916,
0.327349454164505,
-0.01798705756664276,
-0.025060191750526428,
0.11153721809387207,
-0.24337778985500336,
0.12902739644050598,
-0.3211731016635895,
-0.21767966449260712,
-0.1692783087491989,
-0.13132070004940033,
-0.011302772909402847,
-0.014025509357452393,
-0.7149062156677246,
-0.17254428565502167,
-0.30741941928863525,
0.08454243838787079,
0.05613299831748009,
0.15588420629501343,
-0.0380111001431942,
0.04169315844774246,
0.05402699485421181,
0.36536332964897156,
0.328922301530838,
0.09781774133443832,
-0.12214963138103485,
-0.18952979147434235,
-0.20444218814373016,
-0.017888523638248444,
-0.10543390363454819,
0.011675409972667694,
0.259285569190979,
-0.08661345392465591,
-0.28876787424087524,
-0.4463444650173187,
-0.1477455198764801,
0.30716729164123535,
-0.1724817454814911,
-0.28503626585006714,
0.11799384653568268,
0.246757373213768,
-0.18137586116790771,
0.27608758211135864,
-0.07929551601409912,
-0.05882512778043747,
0.24826371669769287,
-0.13394960761070251,
0.06880362331867218,
0.4869283139705658,
-0.2755112648010254,
0.5266028046607971,
0.3359070420265198,
0.00400996208190918,
-0.333903044462204,
-0.20234930515289307,
0.06043670326471329,
-0.09114468842744827,
-0.3431132733821869,
0.43200549483299255,
0.01954096555709839,
-0.5924103260040283,
0.25096964836120605,
-0.1515009105205536,
0.03129981830716133,
-0.022831294685602188,
0.14430993795394897,
-0.16815659403800964,
-0.20890292525291443,
0.19719986617565155,
-0.15548531711101532,
0.1332191824913025,
-0.2777986228466034,
-0.006200972944498062,
-0.0729575902223587,
-0.026183802634477615,
0.14868906140327454,
0.30447524785995483,
-0.07737735658884048,
-0.023333124816417694,
-0.13040782511234283,
-0.32702550292015076,
-0.3565200865268707,
0.12309729307889938,
0.04755674675107002,
0.15097759664058685,
-0.022132575511932373,
0.007050324231386185,
0.23765788972377777,
-0.2667129635810852,
-0.06346775591373444,
-0.06967876851558685,
-0.09030963480472565,
0.29028698801994324,
-0.5213097333908081,
-0.05485242232680321,
-0.03528895229101181,
-0.364849716424942,
0.15657836198806763,
0.09875427186489105,
0.19392186403274536,
-0.011640079319477081,
-0.2937942147254944,
0.2887283265590668,
0.10617585480213165,
0.09740212559700012,
0.08973526954650879,
0.023258227854967117,
-0.5611647963523865,
-0.2558962404727936,
0.6358948349952698,
0.03698505461215973,
0.015565970912575722,
-0.38469064235687256,
-0.2611638009548187,
0.23361974954605103,
-0.12416186928749084,
0.21358612179756165,
0.03813767433166504,
-0.0337417796254158,
-0.21079857647418976,
0.28131622076034546,
-0.2776317298412323,
-0.23492896556854248,
0.17624682188034058,
0.0033618025481700897,
-0.3596153259277344,
0.4591744840145111,
0.05359940975904465,
-0.017576519399881363,
0.4112915098667145,
0.4219951927661896,
-0.04551935940980911,
0.2661682665348053,
-0.3803134858608246,
0.5560596585273743,
-0.27110591530799866,
0.04465270787477493,
-0.06516265869140625,
0.1648794710636139,
0.16861224174499512,
-0.09584591537714005,
-0.14504271745681763,
0.047899629920721054,
-0.2165219485759735,
0.3838375508785248,
0.010350897908210754,
-0.12309592962265015,
0.4456506371498108,
0.3607725501060486,
0.8845201730728149,
0.19155776500701904,
-0.1203063428401947,
0.18457436561584473,
-0.056774791330099106,
0.053361110389232635,
-0.16345609724521637,
0.04897445812821388,
-0.18217484652996063,
0.27940693497657776,
0.2415730506181717,
-0.17964285612106323,
0.11995576322078705,
-0.37576824426651,
-0.3513195216655731,
-0.11877595633268356,
-0.10394766926765442,
-0.07125072181224823,
-0.032414667308330536,
0.21010911464691162,
0.08256189525127411,
-0.044566020369529724,
0.30534568428993225,
0.18170611560344696,
-0.3014124631881714,
0.10288442671298981,
0.08598386496305466,
0.20035846531391144,
-0.16816522181034088,
0.09349325299263,
-0.17009691894054413,
-0.3360321521759033,
-0.2598719000816345,
0.16401781141757965,
-0.1295897215604782,
-0.3516808748245239,
0.053548116236925125,
0.08935520052909851,
0.2001042515039444,
0.29508838057518005,
-0.1277005672454834,
0.15942451357841492,
-0.061236701905727386,
0.0848405510187149,
0.34496864676475525,
-0.20420947670936584,
-0.007631992921233177,
-0.31048786640167236,
-0.23385262489318848,
-0.2676388621330261,
-0.3914485275745392,
-0.3771553039550781,
0.1801374852657318,
-0.0050176531076431274,
0.21826431155204773,
-0.14361268281936646,
-0.03300867974758148,
0.009387783706188202,
-0.4888670742511749,
-0.19801616668701172,
0.1735236793756485,
0.06760625541210175,
-0.21018868684768677,
0.5864735245704651,
0.09546834230422974,
-0.3568713366985321,
-0.15062272548675537,
-0.3680536448955536,
0.2291351854801178,
-0.2019503265619278,
0.03342362865805626,
-0.10117387771606445,
-0.16861151158809662,
-0.3433694839477539,
0.38820579648017883,
-0.10413690656423569,
0.07299847155809402,
0.31841275095939636,
-0.0005136965773999691,
-0.13360053300857544,
0.11429060250520706,
0.36111411452293396,
0.29351961612701416,
0.3561022877693176,
-0.3343878984451294,
-0.028911571949720383,
-0.4594704210758209,
0.0654139369726181,
0.3890039324760437,
0.20298869907855988,
-0.16808810830116272,
0.12916724383831024,
-0.1856347918510437,
0.25859174132347107,
-0.35352975130081177,
-0.18428422510623932,
-0.20008380711078644,
0.13375447690486908,
-0.2849513292312622,
-0.37431731820106506,
0.015520296059548855,
0.1390710324048996,
0.14247554540634155,
-0.02921968698501587,
0.055428747087717056,
-0.28003570437431335,
-0.08588528633117676,
0.10434997081756592,
-0.22868630290031433,
0.06345655769109726,
0.03138108551502228,
0.08736160397529602,
-0.09510430693626404,
-0.2012966126203537,
0.0995938777923584,
-0.07791895419359207,
0.048268161714076996,
-0.05810702592134476,
0.06808914244174957,
-0.28928250074386597,
-0.2109227478504181,
0.30793046951293945,
0.08436675369739532,
0.2927115559577942,
0.05168680474162102,
0.18022450804710388,
0.04570192098617554,
-0.22343270480632782,
0.3588663339614868,
0.5097168684005737,
0.09961560368537903,
0.221269428730011,
-0.09633315354585648,
0.19011135399341583,
-0.01720157079398632,
-0.2521495521068573,
0.0997927114367485,
0.4372556805610657,
0.02020132914185524,
0.12285144627094269,
-0.06467407941818237,
0.2179901897907257,
-0.024343490600585938,
0.05898679792881012,
-0.3825303614139557,
-0.19866423308849335,
0.25170642137527466,
0.3200083076953888,
0.08034715056419373,
-0.09380096942186356,
0.5696262717247009,
-0.12897920608520508,
0.4542214870452881,
-0.2337597757577896,
-0.1788947880268097,
-0.26532256603240967,
0.013062138110399246,
-0.05065670236945152,
0.10820158571004868,
-0.37113356590270996,
0.1054682508111,
-0.3223283886909485,
0.02116825431585312,
0.47057464718818665,
0.16904133558273315,
0.3457348942756653,
0.18426255881786346,
0.32907918095588684,
0.424672931432724,
-0.3379135727882385,
-0.06216461956501007,
-0.12366103380918503,
0.09309552609920502,
0.5490601658821106,
-0.24244646728038788,
-0.6056452393531799,
-0.26459240913391113,
-0.07621404528617859,
0.13849464058876038,
-0.005204494576901197,
-0.1487114131450653,
0.058279849588871,
-0.23801028728485107,
0.04730964079499245,
0.13888715207576752,
0.052945107221603394,
0.11410852521657944,
0.2653309404850006,
-0.20467911660671234,
-0.07999636977910995,
-0.15389254689216614,
-0.015409499406814575,
0.24239858984947205,
-0.1751437485218048,
0.1429988145828247,
0.15541867911815643,
-0.03714524954557419,
-0.21880391240119934,
0.08761083334684372,
0.39445391297340393,
0.04498911648988724,
-0.14966949820518494,
-0.14280328154563904,
-0.14077183604240417,
0.013352779671549797,
0.04819134622812271,
-0.02390037477016449,
0.01738329976797104,
-0.16854450106620789,
0.021944161504507065,
0.23176465928554535,
-0.19645068049430847,
-0.14667679369449615,
-0.06993265450000763,
-0.6461186408996582,
-0.12940895557403564,
0.5231384038925171,
0.5326537489891052,
-0.21518298983573914,
0.018142014741897583,
0.11855670809745789,
-0.32392436265945435,
0.00904390774667263,
0.11187879741191864,
-0.3043290674686432,
-0.19352641701698303,
0.23723646998405457,
0.09906803071498871,
-0.15141825377941132,
0.4836607873439789,
0.012674212455749512,
0.3377665877342224,
-0.33471640944480896,
-0.20317144691944122,
-0.30251312255859375,
-0.06118132919073105,
0.09372229874134064,
0.005552327260375023,
0.4067481458187103,
-0.024516239762306213,
0.10865581035614014,
0.03904804587364197,
0.25442567467689514,
-0.16458557546138763,
0.2616959810256958,
-0.26775869727134705,
-0.41439327597618103,
0.12520524859428406,
0.09206363558769226,
-0.14744211733341217,
0.0987590104341507,
-0.18421468138694763,
0.11998361349105835,
-0.038777854293584824,
-0.010117016732692719,
-0.026445891708135605,
-0.1494085192680359,
0.8548033237457275,
0.10921189188957214,
0.09379930794239044,
0.003622366115450859,
0.5176902413368225,
0.03139859437942505,
0.042358338832855225,
0.11487693339586258,
-0.06587295979261398,
0.11203192174434662,
0.06667991727590561,
0.04235507547855377,
-0.08203845471143723,
0.04971715807914734,
-0.35635921359062195,
-0.12281648069620132,
0.08952094614505768,
-0.08379465341567993,
-0.19297616183757782,
0.20732931792736053,
0.00036077480763196945,
0.04099640995264053,
0.34213533997535706,
-0.0867612287402153,
0.372536301612854,
0.08800779283046722,
0.11371789872646332,
-0.620516836643219,
-0.1978854089975357,
0.5285505652427673,
0.2875802516937256,
-0.11203625798225403,
-0.09387943148612976,
0.36697906255722046,
-0.033086664974689484,
0.3585212826728821,
-0.11853399127721786,
-0.4167766571044922,
0.04674851894378662,
-0.03474985063076019,
-0.3720960319042206,
0.653009831905365,
0.2796073257923126,
0.0755482167005539,
-0.027154317125678062,
0.2891662120819092,
-0.15758690237998962,
0.12559597194194794,
-0.200483500957489,
-0.044771693646907806
] |
https://github.com/huggingface/datasets/pull/2264 | Fix memory issue in multiprocessing: Don't pickle table index | The memory issue didn't come from `self.__dict__.copy()` but from the fact that this dict contains `_batches` which has all the batches of the table in it.
Therefore for a MemoryMappedTable all the data in `_batches` were copied in memory when pickling and this is the issue. | The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap ! | 46 | text: Fix memory issue in multiprocessing: Don't pickle table index
The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap !
The memory issue didn't come from `self.__dict__.copy()` but from the fact that this dict contains `_batches` which has all the batches of the table in it.
Therefore for a MemoryMappedTable all the data in `_batches` were copied in memory when pickling and this is the issue. | [
-0.25491848587989807,
-0.25665855407714844,
-0.038270290940999985,
0.23826730251312256,
0.07898135483264923,
-0.13757431507110596,
-0.1326916664838791,
0.26453956961631775,
0.21956416964530945,
0.4045456647872925,
-0.00009298929944634438,
0.5096015334129333,
0.03734607249498367,
0.005093710497021675,
-0.030384842306375504,
0.21634124219417572,
0.0448223240673542,
-0.08339987695217133,
-0.3623237609863281,
0.030499644577503204,
-0.41433921456336975,
0.16308285295963287,
-0.24085277318954468,
-0.07003654539585114,
-0.38623929023742676,
0.0699474886059761,
-0.19771072268486023,
0.18333368003368378,
-0.13764145970344543,
-0.20481449365615845,
0.06192536652088165,
0.12952695786952972,
-0.281389981508255,
0.33575040102005005,
-0.00010466333333170041,
0.08450518548488617,
0.24957473576068878,
-0.0678194984793663,
-0.01963113248348236,
0.1287752389907837,
-0.1421051025390625,
0.11927691102027893,
0.1647687703371048,
-0.045791856944561005,
0.18127569556236267,
0.27429068088531494,
-0.008076498284935951,
-0.11641930043697357,
0.2916683852672577,
0.05835181847214699,
0.34778034687042236,
0.006519773975014687,
-0.0036080777645111084,
-0.1630222648382187,
0.270286500453949,
0.1151483952999115,
-0.07684055715799332,
0.18601547181606293,
0.2573683261871338,
-0.22213010489940643,
-0.07058247178792953,
0.2901347279548645,
-0.23235708475112915,
0.2841881215572357,
-0.16101327538490295,
-0.11089424043893814,
0.01641634851694107,
0.045819398015737534,
0.4568903148174286,
0.08691884577274323,
0.22934451699256897,
-0.33106526732444763,
0.007836051285266876,
-0.06450001150369644,
-0.02824554592370987,
-0.3250235319137573,
0.17561207711696625,
-0.06872683763504028,
-0.054459020495414734,
0.016071708872914314,
-0.04184896498918533,
-0.0664849653840065,
0.17175419628620148,
-0.34330689907073975,
-0.05675051733851433,
0.109356589615345,
0.005973757244646549,
0.11763102561235428,
0.2909840941429138,
-0.20014949142932892,
0.01808210276067257,
0.20965056121349335,
-0.22915026545524597,
0.00865436252206564,
-0.06095096096396446,
0.06232813745737076,
0.25465235114097595,
-0.23607438802719116,
0.13825783133506775,
-0.1570490449666977,
0.030789192765951157,
0.24030530452728271,
0.16274061799049377,
-0.06965666264295578,
0.39892569184303284,
-0.02940393052995205,
-0.40851733088493347,
0.5689713954925537,
0.24502040445804596,
0.0587284080684185,
-0.41298148036003113,
-0.04516201466321945,
0.2546810507774353,
0.10466119647026062,
0.23558540642261505,
-0.014934450387954712,
0.06924812495708466,
-0.20172953605651855,
-0.2877792418003082,
0.20028947293758392,
0.19706732034683228,
0.08449959009885788,
-0.05832996591925621,
0.4706081449985504,
-0.025158636271953583,
0.2587807774543762,
0.10413914918899536,
-0.07174072414636612,
-0.39469820261001587,
0.03994443267583847,
-0.4094787538051605,
0.06148377060890198,
-0.31332916021347046,
0.06117822974920273,
0.13832208514213562,
0.4302563965320587,
0.1024794653058052,
0.10347773879766464,
0.05279961973428726,
-0.2331397831439972,
0.09035209566354752,
-0.30742019414901733,
0.22715824842453003,
0.49503451585769653,
-0.044069502502679825,
-0.03120134025812149,
0.11541810631752014,
-0.055040936917066574,
-0.046096403151750565,
0.40692660212516785,
-0.10487563163042068,
-0.16101346909999847,
0.14824208617210388,
0.3008936643600464,
0.12942668795585632,
0.1591814011335373,
-0.24079319834709167,
-0.06987549364566803,
0.26467621326446533,
-0.016177495941519737,
0.08064377307891846,
-0.2830837368965149,
-0.25273603200912476,
-0.35793522000312805,
0.08424033224582672,
0.47672444581985474,
-0.18756619095802307,
-0.14021247625350952,
-0.13842745125293732,
-0.1511165201663971,
0.44831138849258423,
0.26621896028518677,
0.12530195713043213,
0.19483548402786255,
0.0008729174733161926,
0.26069945096969604,
-0.3078996539115906,
-0.13786736130714417,
-0.40677401423454285,
-0.050081223249435425,
-0.13783439993858337,
0.21756380796432495,
-0.09745261818170547,
0.07102140784263611,
0.34293892979621887,
0.35379087924957275,
0.5685957670211792,
0.13406875729560852,
-0.16616779565811157,
0.30216437578201294,
-0.4133853614330292,
-0.019353285431861877,
-0.23108933866024017,
-0.0724191814661026,
0.18114809691905975,
-0.0815705880522728,
-0.12278754264116287,
-0.1623847633600235,
0.25981405377388,
-0.08289076387882233,
0.1583225280046463,
0.009405603632330894,
0.41124653816223145,
0.13473574817180634,
0.014350542798638344,
-0.2923913300037384,
-0.09482268244028091,
0.26289448142051697,
-0.2151893526315689,
-0.1051873117685318,
-0.11753083765506744,
-0.23626960813999176,
0.081322580575943,
0.3091455101966858,
-0.313520610332489,
-0.13261473178863525,
0.22230157256126404,
-0.07056005299091339,
-0.06825069338083267,
-0.1179332584142685,
0.015680629760026932,
0.09588096290826797,
-0.19542044401168823,
-0.00700230011716485,
0.045393314212560654,
-0.13599887490272522,
-0.23392249643802643,
-0.36210066080093384,
0.07831702381372452,
0.18656723201274872,
0.24010547995567322,
0.0313570573925972,
-0.14444968104362488,
0.15599438548088074,
0.36277371644973755,
-0.06312577426433563,
-0.020506300032138824,
-0.06291021406650543,
-0.05651652067899704,
-0.184431254863739,
0.17736293375492096,
-0.03820299729704857,
0.1815858781337738,
-0.3415151834487915,
0.14698664844036102,
0.26963791251182556,
-0.1812075972557068,
0.07598300278186798,
-0.001085665076971054,
0.1339344084262848,
0.27204975485801697,
-0.003329925239086151,
0.4560852348804474,
-0.27247297763824463,
-0.04288565739989281,
0.2825050354003906,
-0.047906577587127686,
0.07115020602941513,
-0.3540177345275879,
0.1370108276605606,
0.2674888074398041,
0.24434763193130493,
0.1368783712387085,
0.12225378304719925,
0.05264386907219887,
-0.34478628635406494,
-0.08470481634140015,
0.11380445957183838,
0.4225347638130188,
0.05828440934419632,
0.07865376770496368,
0.04972558841109276,
0.09154662489891052,
-0.08373160660266876,
0.24172037839889526,
-0.1056990921497345,
0.15183676779270172,
0.05999590456485748,
-0.06848751753568649,
-0.24259422719478607,
-0.19389119744300842,
0.2059643268585205,
0.19740192592144012,
0.3141782283782959,
-0.19141517579555511,
-0.2840263843536377,
-0.31562402844429016,
-0.2246900498867035,
0.08178671449422836,
0.2011307328939438,
0.020578835159540176,
-0.2327113151550293,
0.10272276401519775,
0.2243586927652359,
-0.38021427392959595,
-0.009365737438201904,
-0.024851743131875992,
0.10291136056184769,
-0.22136522829532623,
0.09185625612735748,
-0.07519011199474335,
-0.325162410736084,
-0.15720945596694946,
0.15352731943130493,
0.17499135434627533,
0.07914681732654572,
0.2675929069519043,
0.1865086406469345,
-0.12394697964191437,
-0.13817425072193146,
0.02880900353193283,
0.03431907296180725,
-0.25280195474624634,
-0.09751011431217194,
0.27207857370376587,
0.17240478098392487,
0.052042946219444275,
0.1715185046195984,
0.11473721265792847,
-0.40475964546203613,
-0.2748222053050995,
0.09239283204078674,
-0.002132947091013193,
0.01834203116595745,
-0.13128060102462769,
-0.0021619945764541626,
-0.180568665266037,
-0.2506725788116455,
0.5441415309906006,
-0.06889799237251282,
0.2681262195110321,
0.11000850051641464,
-0.052458491176366806,
0.10053481161594391,
0.06659120321273804,
0.044337742030620575,
-0.34692832827568054,
0.06308339536190033,
-0.22457601130008698,
-0.15957003831863403,
-0.2009384036064148,
0.020699869841337204,
0.1964854747056961,
0.18649806082248688,
0.020265955477952957,
-0.4743283987045288,
0.2013450413942337,
-0.29298093914985657,
0.13647553324699402,
0.08057407289743423,
0.018335072323679924,
0.37855032086372375,
0.1565164476633072,
-0.32751816511154175,
-0.08388789743185043,
-0.23602576553821564,
0.05258511006832123,
0.20048171281814575,
-0.1698099970817566,
-0.01704799011349678,
0.33271169662475586,
-0.04585212469100952,
0.6199643611907959,
0.15018704533576965,
0.40949714183807373,
0.37463781237602234,
0.13337576389312744,
0.2338898777961731,
-0.3540385663509369,
-0.06838203221559525,
-0.1890638917684555,
-0.1750202775001526,
-0.24911463260650635,
0.03023403137922287,
-0.20458337664604187,
-0.2289159744977951,
0.1206696480512619,
-0.03298031911253929,
-0.038579896092414856,
-0.3060464560985565,
0.32212191820144653,
-0.2386530637741089,
-0.010734453797340393,
0.12158368527889252,
-0.1907109022140503,
-0.2070462703704834,
0.07354650646448135,
-0.1576027125120163,
-0.4546767473220825,
-0.006405197083950043,
-0.3461717963218689,
-0.06619293987751007,
-0.36301958560943604,
-0.3401806652545929,
0.29366639256477356,
-0.022400865331292152,
0.5026934146881104,
-0.1688455492258072,
-0.4561852812767029,
0.10158897191286087,
-0.08700302988290787,
0.4246525764465332,
-0.10608679801225662,
-0.023890070617198944,
0.3560973107814789,
-0.3011549413204193,
-0.05240350589156151,
-0.09939266741275787,
-0.1438017040491104,
0.5680805444717407,
0.11348864436149597,
-0.1356935203075409,
-0.23708823323249817,
-0.05871516466140747,
0.3127589523792267,
0.045259542763233185,
-0.2391262799501419,
0.1619594395160675,
-0.25663065910339355,
-0.3207084536552429,
0.0879301130771637,
0.3627438247203827,
0.23954062163829803,
0.15877658128738403,
-0.06106242537498474,
0.015261933207511902,
-0.005954105406999588,
-0.10992145538330078,
-0.16380442678928375,
-0.09328638017177582,
0.39382117986679077,
-0.1021965816617012,
0.5144280791282654,
-0.15168936550617218,
-0.11532434821128845,
0.27078890800476074,
0.607711136341095,
-0.36692047119140625,
0.25915753841400146,
0.05781728774309158,
-0.18164625763893127,
0.11844871938228607,
0.23715528845787048,
0.1832839548587799,
0.3318104147911072,
-0.12257464230060577,
0.12730038166046143,
-0.18912452459335327,
-0.3300877809524536,
-0.0658702477812767,
0.009515789337456226,
-0.10978367179632187,
-0.16824986040592194,
0.1913893073797226,
0.2025810033082962,
-0.032052990049123764,
0.601616621017456,
-0.32508981227874756,
-0.2158949375152588,
0.28916120529174805,
0.18750828504562378,
0.7406302690505981,
-0.3292499780654907,
0.1880304515361786,
-0.26930737495422363,
-0.07213029265403748,
-0.2541576027870178,
0.0860331803560257,
-0.03339698165655136,
-0.27182871103286743,
-0.3337803781032562,
0.20895054936408997,
-0.0394667312502861,
-0.048767708241939545,
-0.1315920352935791,
-0.24269424378871918,
0.15436877310276031,
-0.14058005809783936,
-0.1649627834558487,
0.10730624943971634,
0.0698394775390625,
0.034507013857364655,
-0.09455734491348267,
0.4260011613368988,
0.24803155660629272,
0.1486751139163971,
-0.20179970562458038,
0.04699164628982544,
0.16163459420204163,
0.09379829466342926,
-0.30656254291534424,
-0.4436321258544922,
-0.13456082344055176,
-0.3104405403137207,
0.4388280510902405,
-0.024029888212680817,
0.3313570022583008,
-0.24532584846019745,
-0.26380985975265503,
-0.21225343644618988,
0.05119641125202179,
-0.04175695776939392,
0.17405879497528076,
0.3193018436431885,
0.18313512206077576,
0.012720085680484772,
0.19992227852344513,
0.24192053079605103,
-0.011846434324979782,
-0.36619430780410767,
0.07112084329128265,
-0.11146339774131775,
-0.30129075050354004,
-0.18164560198783875,
0.21104353666305542,
0.1559574007987976,
-0.022633543238043785,
-0.31000179052352905,
0.09350549429655075,
-0.22133752703666687,
-0.269741952419281,
0.2538868188858032,
0.17534665763378143,
-0.16187617182731628,
0.7374014854431152,
-0.21640579402446747,
-0.3043767213821411,
-0.07406432926654816,
0.244493305683136,
0.35318925976753235,
0.27702605724334717,
0.28446364402770996,
0.08251549303531647,
-0.13976731896400452,
-0.3119789659976959,
-0.16378268599510193,
0.014264741912484169,
-0.16717562079429626,
0.4328042268753052,
-0.30224019289016724,
-0.13150416314601898,
0.16720189154148102,
0.3039228320121765,
0.08782116323709488,
0.12441667914390564,
-0.3872077763080597,
0.08852529525756836,
-0.3574434518814087,
0.10231499373912811,
-0.039585452526807785,
0.3287997841835022,
-0.0597781240940094,
0.1877620965242386,
0.10536013543605804,
0.3160446882247925,
-0.40766286849975586,
-0.008709537796676159,
-0.52024906873703,
0.21704691648483276,
-0.03545549511909485,
-0.11042400449514389,
-0.03125684708356857,
-0.07376383244991302,
0.1909245252609253,
0.4186677932739258,
0.12789341807365417,
-0.3557884097099304,
0.12089858949184418,
0.05090665817260742,
-0.15460669994354248,
0.17585302889347076,
-0.281367689371109,
-0.1056053638458252,
-0.22432969510555267,
-0.03506625071167946,
0.030599143356084824,
0.15077006816864014,
-0.1609145700931549,
-0.04420819133520126,
0.4023151397705078,
-0.08590906113386154,
0.31781214475631714,
0.34545716643333435,
-0.06160949170589447,
0.0937887653708458,
-0.1419074684381485,
0.11206419765949249,
0.046234115958213806,
-0.1811908334493637,
-0.03443681821227074,
-0.0898539200425148,
-0.22546784579753876,
-0.2417227327823639,
0.006538622081279755,
0.08788570016622543,
-0.4023643136024475,
0.11957910656929016,
0.21174882352352142,
0.39608344435691833,
0.02685701660811901,
-0.1497974693775177,
0.2143949270248413,
0.3181923031806946,
-0.18281936645507812,
-0.10468385368585587,
0.03960379213094711,
-0.18753251433372498,
0.00015299394726753235,
0.23655518889427185,
0.1194833368062973,
0.03975619375705719,
-0.04094872623682022,
0.2769225239753723,
0.09803333133459091,
-0.2489956170320511,
0.07189393043518066,
-0.39222463965415955,
0.10399763286113739,
0.023160066455602646,
0.1876983940601349,
0.1423375904560089,
0.0899215117096901,
0.3055340051651001,
0.1492193341255188,
0.28659626841545105,
-0.23833563923835754,
-0.015508700162172318,
0.10232957452535629,
-0.5207820534706116,
0.18100987374782562,
0.11860258877277374,
-0.3165458142757416,
0.19485077261924744,
-0.007700935006141663,
0.3055790364742279,
-0.16628369688987732,
-0.36404645442962646,
-0.15918651223182678,
0.12168224155902863,
-0.4189138412475586,
-0.1361876130104065,
0.007259886711835861,
0.0018232092261314392,
-0.06250807642936707,
0.012903720140457153,
0.15380966663360596,
0.23937198519706726,
0.6041531562805176,
0.12058544903993607,
-0.08281923830509186,
-0.0315001904964447,
-0.14864856004714966,
-0.17037832736968994,
0.08919660747051239,
-0.45196133852005005,
-0.017047585919499397,
0.066014364361763,
-0.047804951667785645,
-0.12787844240665436,
0.39496317505836487,
0.347810834646225,
0.2937297523021698,
-0.3077071011066437,
0.053158968687057495,
0.027515318244695663,
-0.0438477098941803,
-0.30593356490135193,
0.2634061872959137,
0.013353526592254639,
0.09192532300949097,
0.01756640151143074,
0.20720823109149933,
-0.16204766929149628,
-0.32847028970718384,
0.45359674096107483,
0.34687304496765137,
0.1244179755449295,
0.05776604637503624,
0.13995811343193054,
-0.3838525414466858,
0.07422809302806854,
0.2066303789615631,
-0.44961637258529663,
0.13759289681911469,
0.1489022970199585,
-0.4326397776603699,
0.013065561652183533,
-0.1490868777036667,
0.1466904878616333,
-0.032563090324401855,
0.5895167589187622,
0.20838460326194763,
-0.05439054220914841,
-0.39937302470207214,
-0.24583318829536438,
-0.33869805932044983,
0.14363040030002594,
-0.4018663167953491,
-0.1386946439743042,
0.17643572390079498,
0.5210188627243042,
-0.13843584060668945,
-0.405842125415802,
0.11563451588153839,
0.07542558014392853,
-0.15566319227218628,
0.3784339427947998,
-0.24987050890922546,
-0.0856405645608902,
-0.05778558552265167,
-0.29420173168182373,
0.17017912864685059,
-0.34304186701774597,
0.2475939393043518,
0.14956451952457428,
0.2083965241909027,
-0.30398452281951904,
-0.09085562080144882,
0.09017886221408844,
0.4290279746055603,
0.14093080163002014,
-0.07148289680480957,
0.20910969376564026,
-0.09163559228181839,
-0.07344458997249603,
-0.043244991451501846,
-0.12511931359767914,
0.0299612395465374,
-0.14520999789237976,
0.14224562048912048,
0.09230908751487732,
-0.0034124949015676975,
0.1326378881931305,
-0.15439113974571228,
0.037420932203531265,
-0.08209410309791565,
0.22561675310134888,
-0.06148181110620499,
0.08487863838672638,
0.1640523374080658,
0.09657397866249084,
-0.06794530153274536,
0.3386082947254181,
-0.0683613270521164,
0.1971442848443985,
-0.3465747833251953,
-0.45302537083625793,
0.4675092101097107,
-0.07739289849996567,
-0.2915472984313965,
-0.14886610209941864,
0.42324298620224,
-0.3748963177204132,
-0.19671450555324554,
-0.5926128029823303,
-0.07013359665870667,
0.1260417401790619,
-0.05043768882751465,
-0.3954612910747528,
0.2510151267051697,
-0.1682911366224289,
0.011082213371992111,
-0.20096154510974884,
0.34474948048591614,
0.03276056796312332,
-0.19075129926204681,
0.23701629042625427,
-0.05478401482105255
] |
https://github.com/huggingface/datasets/pull/2264 | Fix memory issue in multiprocessing: Don't pickle table index | I'm still investigating why we didn't catch this issue in the tests.
This test should have caught it but didn't:
https://github.com/huggingface/datasets/blob/3db67f5ff6cbf807b129d2b4d1107af27623b608/tests/test_table.py#L350-L353 | The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap ! | 21 | text: Fix memory issue in multiprocessing: Don't pickle table index
The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap !
I'm still investigating why we didn't catch this issue in the tests.
This test should have caught it but didn't:
https://github.com/huggingface/datasets/blob/3db67f5ff6cbf807b129d2b4d1107af27623b608/tests/test_table.py#L350-L353 | [
-0.2604426443576813,
-0.23145222663879395,
-0.09798137843608856,
0.26757943630218506,
0.15234100818634033,
-0.03915286064147949,
0.033896543085575104,
0.31416216492652893,
0.23773768544197083,
0.36594533920288086,
-0.019958196207880974,
0.2677804231643677,
0.04785976931452751,
0.4278760254383087,
-0.046271249651908875,
0.07552339136600494,
0.09435594081878662,
0.06430055946111679,
-0.17888909578323364,
0.19338177144527435,
-0.3747248649597168,
0.11513017863035202,
-0.26298007369041443,
-0.10680316388607025,
-0.5411748290061951,
0.0300124641507864,
-0.2012985497713089,
0.2012413740158081,
-0.16288775205612183,
-0.30769988894462585,
-0.007100732997059822,
0.2338058203458786,
-0.3025358319282532,
0.4451605975627899,
-0.00010125582775799558,
0.05172407627105713,
0.11661161482334137,
-0.05083724111318588,
-0.09812739491462708,
0.09503214806318283,
0.010176267474889755,
-0.10763703286647797,
0.05970863997936249,
-0.005666904151439667,
0.009038753807544708,
0.16280339658260345,
-0.08382530510425568,
-0.048121631145477295,
0.0584394745528698,
0.012272330932319164,
0.3525320589542389,
0.4043673872947693,
0.0126861073076725,
-0.03674493357539177,
0.21341589093208313,
0.013943854719400406,
-0.1869574338197708,
-0.01842697337269783,
0.1950739175081253,
-0.14160111546516418,
-0.17395123839378357,
0.42431122064590454,
0.05045695602893829,
0.37059009075164795,
-0.12302608042955399,
-0.008777211420238018,
-0.1112353727221489,
0.061966460198163986,
0.27706122398376465,
0.14722180366516113,
0.23581081628799438,
-0.20055627822875977,
-0.18023596704006195,
-0.133328378200531,
-0.0338752306997776,
-0.5826005935668945,
0.2453460395336151,
0.11566266417503357,
-0.09827457368373871,
-0.01319095864892006,
-0.2377087026834488,
-0.17623011767864227,
0.16947470605373383,
-0.2565702795982361,
-0.11123780906200409,
0.05626207962632179,
-0.05338316783308983,
-0.005433797836303711,
0.371125191450119,
-0.10993960499763489,
-0.13245363533496857,
0.1684872806072235,
-0.21398192644119263,
-0.0755443423986435,
-0.3197886049747467,
0.06035369634628296,
0.29194021224975586,
-0.06546693295240402,
0.2871774435043335,
0.056673210114240646,
-0.10539690405130386,
0.2215029001235962,
0.08975651115179062,
-0.17648187279701233,
0.2507837116718292,
0.01798022910952568,
-0.25775524973869324,
0.152491956949234,
0.3568311929702759,
0.21324512362480164,
-0.37784430384635925,
-0.07285209000110626,
0.3298548460006714,
-0.08796707540750504,
0.019753288477659225,
-0.13511717319488525,
0.16570928692817688,
-0.23372963070869446,
-0.3794553279876709,
0.2180597186088562,
0.2517380714416504,
0.03513350710272789,
-0.02685326710343361,
0.5508901476860046,
-0.03564046695828438,
0.2561143636703491,
0.14735500514507294,
0.060014620423316956,
-0.5055034756660461,
-0.0959700495004654,
-0.4127073585987091,
-0.03883393481373787,
-0.32317548990249634,
0.20320571959018707,
0.20138880610466003,
0.04176756367087364,
0.2620854079723358,
0.12538450956344604,
0.13305070996284485,
-0.2535393238067627,
0.182478666305542,
-0.31656089425086975,
0.15044382214546204,
0.4652124345302582,
0.0010406412184238434,
0.03961459547281265,
0.07699756324291229,
-0.1272098869085312,
0.0760166123509407,
0.28230875730514526,
-0.047124072909355164,
-0.31919777393341064,
0.07324717938899994,
0.2537284791469574,
-0.038667719811201096,
0.13377991318702698,
-0.23710507154464722,
0.03497888147830963,
0.24202701449394226,
0.09594027698040009,
-0.00597091019153595,
-0.06169772148132324,
-0.343370258808136,
-0.315760999917984,
0.2855365574359894,
0.4403323531150818,
-0.04786582291126251,
-0.08532003313302994,
0.12778392434120178,
-0.2642938792705536,
0.2736700475215912,
0.33872056007385254,
0.09768069535493851,
0.0496310219168663,
-0.11471764743328094,
0.12476296722888947,
-0.35891592502593994,
-0.02210128679871559,
-0.36896613240242004,
-0.028573963791131973,
-0.098423071205616,
0.04848962277173996,
0.0240304097533226,
0.04618768393993378,
-0.04268509894609451,
0.2810913920402527,
0.3067924976348877,
0.1151391863822937,
-0.15122278034687042,
0.3781810402870178,
-0.4289577901363373,
-0.11391378194093704,
-0.0346563383936882,
0.021750308573246002,
0.17351852357387543,
-0.252427875995636,
-0.21065157651901245,
-0.21817940473556519,
0.3997652232646942,
-0.1269652396440506,
0.04692882299423218,
0.18399572372436523,
0.2605566680431366,
0.10836261510848999,
0.031722862273454666,
-0.2791171371936798,
-0.2280137538909912,
0.36236825585365295,
-0.06899136304855347,
0.04599634185433388,
-0.029347077012062073,
-0.3235859274864197,
0.06079675257205963,
0.17264707386493683,
-0.2234625369310379,
-0.2092476785182953,
0.21719996631145477,
0.010451085865497589,
-0.0875537246465683,
-0.07816410064697266,
-0.1484956294298172,
0.10527125000953674,
-0.23665198683738708,
0.013770775869488716,
-0.18765851855278015,
0.054862700402736664,
-0.22002939879894257,
-0.34410062432289124,
0.07584048062562943,
0.14167073369026184,
0.0359400138258934,
-0.016633329913020134,
-0.06515691429376602,
0.36519452929496765,
0.24296481907367706,
-0.10493117570877075,
0.2698090374469757,
0.1666955053806305,
0.00996073056012392,
-0.09890945255756378,
-0.007860580459237099,
-0.17857186496257782,
0.13861702382564545,
-0.23278439044952393,
0.026241164654493332,
0.31702733039855957,
-0.23716141283512115,
0.16869710385799408,
0.04598245769739151,
-0.019990546628832817,
0.2081584930419922,
0.008452635258436203,
0.312196284532547,
-0.11054205894470215,
0.09088525176048279,
0.0008949749171733856,
-0.2018432766199112,
0.10163991153240204,
-0.5937156081199646,
0.08833695203065872,
0.34530434012413025,
0.24655458331108093,
0.18585294485092163,
0.10844686627388,
0.1266583502292633,
-0.34941068291664124,
-0.058841243386268616,
-0.226994127035141,
0.49108457565307617,
0.12970766425132751,
0.0032537542283535004,
-0.024287445470690727,
0.08310674875974655,
-0.12958920001983643,
0.24790522456169128,
-0.07656405866146088,
0.030400704592466354,
0.13944679498672485,
0.03481002151966095,
-0.4085315763950348,
-0.3256206810474396,
0.16021586954593658,
0.2948683202266693,
0.41562530398368835,
-0.2960360050201416,
-0.24410578608512878,
-0.31990131735801697,
-0.11319053918123245,
0.0934525728225708,
0.08647061139345169,
-0.09571768343448639,
-0.2312522977590561,
0.16513383388519287,
0.20065543055534363,
-0.2433549463748932,
0.14849406480789185,
-0.17072266340255737,
0.2240554839372635,
-0.11280187219381332,
0.30374443531036377,
-0.0967160165309906,
-0.18462514877319336,
-0.08135019987821579,
0.12575311958789825,
0.272703617811203,
0.13060913980007172,
0.35798248648643494,
-0.06030621379613876,
-0.10940510779619217,
-0.2416766881942749,
0.042189836502075195,
0.0703173577785492,
-0.13674834370613098,
0.14823977649211884,
0.21452108025550842,
0.2329322248697281,
-0.07459771633148193,
-0.017260007560253143,
0.2638055086135864,
-0.4567897915840149,
-0.2676256000995636,
0.0837695449590683,
0.023135893046855927,
0.11642205715179443,
-0.06897129118442535,
-0.38144999742507935,
0.003933802247047424,
-0.3491116166114807,
0.4544256329536438,
-0.19087253510951996,
0.13393598794937134,
0.1765005737543106,
0.000452936626970768,
0.128837451338768,
-0.0957530289888382,
0.08185072988271713,
-0.373361736536026,
-0.1532956063747406,
-0.2809397876262665,
-0.12573646008968353,
-0.35515379905700684,
0.013783741742372513,
0.2299298495054245,
0.11245398223400116,
-0.07164621353149414,
-0.5155788064002991,
0.041325151920318604,
-0.32917726039886475,
0.2266843616962433,
0.0436982586979866,
0.17233748733997345,
0.23010039329528809,
-0.04463197663426399,
-0.39412352442741394,
-0.14153960347175598,
-0.22020718455314636,
0.007241874933242798,
-0.08386387676000595,
-0.026800967752933502,
-0.1477101743221283,
0.3647521436214447,
0.11420415341854095,
0.7847536206245422,
0.09926323592662811,
0.21579162776470184,
0.48257362842559814,
-0.059588976204395294,
0.27763280272483826,
-0.2991863787174225,
-0.15368404984474182,
-0.04662996903061867,
-0.21181443333625793,
-0.05339447408914566,
0.07790616154670715,
-0.009527858346700668,
-0.14731833338737488,
0.045630015432834625,
0.0566130094230175,
-0.133110910654068,
-0.27686434984207153,
0.3050456643104553,
0.09462347626686096,
0.11275801807641983,
0.15636998414993286,
-0.2897501587867737,
-0.1474253237247467,
-0.05369722098112106,
-0.1261969357728958,
-0.15458257496356964,
0.0484386645257473,
-0.25312280654907227,
-0.12919466197490692,
-0.3899090886116028,
-0.3276664614677429,
0.2730264663696289,
0.05353381484746933,
0.4409177601337433,
-0.17146286368370056,
-0.3480413854122162,
0.12899577617645264,
-0.08096207678318024,
0.6429999470710754,
-0.10141380876302719,
-0.18371376395225525,
0.19691385328769684,
-0.31917041540145874,
-0.1429033726453781,
-0.043510839343070984,
-0.2693922817707062,
0.6025391817092896,
0.12121246755123138,
0.1500435769557953,
-0.1975823938846588,
-0.3759731650352478,
0.3916133940219879,
0.16939902305603027,
-0.1874012053012848,
0.015583864413201809,
-0.5693989992141724,
-0.3055104613304138,
-0.08079759031534195,
0.48629680275917053,
0.19655682146549225,
0.12586423754692078,
-0.1348671168088913,
-0.09374050050973892,
-0.07353545725345612,
-0.036765992641448975,
-0.10303331911563873,
-0.06923125684261322,
0.42514297366142273,
0.00749304611235857,
0.559576690196991,
-0.019862622022628784,
-0.12398383021354675,
0.21811285614967346,
0.5950013995170593,
-0.26511529088020325,
0.2938636541366577,
0.1358073353767395,
-0.07714544236660004,
0.2862631678581238,
0.3366433382034302,
0.046238433569669724,
0.30327528715133667,
-0.1852806657552719,
0.3288448452949524,
-0.21767449378967285,
-0.07737559080123901,
0.21992620825767517,
0.10744163393974304,
-0.06146680936217308,
-0.212908536195755,
0.3704230487346649,
0.10027025640010834,
-0.02648203819990158,
0.47282034158706665,
0.11993755400180817,
-0.006830825470387936,
0.1321220099925995,
0.037595052272081375,
0.7404547929763794,
-0.2751389741897583,
0.10768023133277893,
0.06679260730743408,
-0.03386736661195755,
-0.17710016667842865,
-0.07403799146413803,
0.15913145244121552,
-0.35231640934944153,
-0.6125552654266357,
0.2101764678955078,
-0.022128283977508545,
0.02294548973441124,
-0.1615985482931137,
-0.04151923954486847,
0.23639987409114838,
-0.07538764923810959,
-0.31224995851516724,
-0.13226090371608734,
0.11798949539661407,
-0.13803614675998688,
-0.07060165703296661,
0.15330499410629272,
0.26084253191947937,
0.12989237904548645,
-0.11517883837223053,
-0.06496414542198181,
0.3220168948173523,
0.2354992926120758,
-0.17816050350666046,
-0.3857341408729553,
-0.20595958828926086,
-0.01668502949178219,
0.3467526435852051,
0.06342887878417969,
0.14787335693836212,
-0.20959866046905518,
-0.12075425684452057,
-0.0798172801733017,
0.0003468841314315796,
-0.017509372904896736,
0.1380401998758316,
0.08619721233844757,
0.12299984693527222,
0.04887847602367401,
0.20835396647453308,
0.3787924647331238,
-0.07420417666435242,
-0.508651614189148,
-0.046249762177467346,
-0.0642593652009964,
-0.16996639966964722,
-0.031170226633548737,
0.18991853296756744,
-0.10955445468425751,
-0.1603068858385086,
-0.20699921250343323,
-0.054199010133743286,
-0.13224007189273834,
-0.3285244405269623,
0.2764478325843811,
0.2676379680633545,
-0.2473898082971573,
0.5307096242904663,
-0.07847651839256287,
-0.3699086606502533,
-0.10330371558666229,
0.36611002683639526,
0.2740674912929535,
0.19408050179481506,
0.2836320400238037,
0.29021787643432617,
-0.18997600674629211,
-0.3169119954109192,
0.03744569420814514,
0.3526500165462494,
-0.3529984951019287,
0.4377777874469757,
-0.14376960694789886,
-0.014417245984077454,
0.12964968383312225,
0.3706953227519989,
0.009699370712041855,
-0.04690312594175339,
-0.31767240166664124,
-0.034567419439554214,
-0.2636408805847168,
0.19169816374778748,
0.04129892215132713,
0.40957456827163696,
-0.052583348006010056,
0.05126318708062172,
0.18146981298923492,
0.27807414531707764,
-0.41005605459213257,
0.09314898401498795,
-0.642825722694397,
0.15610487759113312,
-0.10770122706890106,
-0.08227420598268509,
0.10958246886730194,
-0.033737361431121826,
0.17444048821926117,
0.24529005587100983,
-0.10657332092523575,
-0.3768950402736664,
0.08614124357700348,
0.057457730174064636,
-0.15347206592559814,
0.1747874766588211,
-0.12260139733552933,
-0.012034192681312561,
-0.13649162650108337,
-0.1428457349538803,
0.29862311482429504,
0.1826454997062683,
-0.07889319956302643,
-0.06888733804225922,
0.307767778635025,
-0.15038570761680603,
0.356828510761261,
0.2000739723443985,
0.04116470366716385,
0.039043571799993515,
0.02561890333890915,
0.013123668730258942,
-0.09682278335094452,
-0.10949402302503586,
-0.026589397341012955,
-0.03564626723527908,
-0.1515623778104782,
-0.14884355664253235,
-0.07771588116884232,
-0.13557015359401703,
-0.29807156324386597,
0.17317697405815125,
0.3771059513092041,
0.25113800168037415,
-0.027395406737923622,
-0.012545467354357243,
0.11073771864175797,
0.3503294885158539,
-0.2629617154598236,
-0.108596071600914,
-0.09540165960788727,
-0.054092101752758026,
0.08282820880413055,
0.22139745950698853,
0.22544488310813904,
0.08927290141582489,
0.017701968550682068,
0.21288630366325378,
0.059907637536525726,
-0.20628978312015533,
-0.10682675242424011,
-0.35452717542648315,
-0.05016476288437843,
-0.08031818270683289,
0.3187907338142395,
0.10646079480648041,
0.1047300398349762,
0.24487023055553436,
0.18130329251289368,
0.4435660243034363,
-0.10056593269109726,
0.1442258059978485,
-0.03449269384145737,
-0.46066540479660034,
0.04076671972870827,
0.009790688753128052,
-0.22877559065818787,
0.04721422493457794,
-0.15322424471378326,
0.5009908676147461,
-0.26953962445259094,
-0.2611236572265625,
-0.2909340262413025,
0.16716407239437103,
-0.3252637982368469,
-0.23203757405281067,
0.07185167074203491,
-0.02540425956249237,
-0.10056966543197632,
0.03551749512553215,
0.13410046696662903,
0.21359223127365112,
0.5842041969299316,
0.0630335882306099,
-0.04621237516403198,
-0.15167610347270966,
-0.020412947982549667,
0.14393918216228485,
0.27728772163391113,
-0.2433958649635315,
0.011427387595176697,
0.26402801275253296,
0.051630593836307526,
-0.025770481675863266,
0.47446680068969727,
0.463435560464859,
0.09573911875486374,
-0.2031846046447754,
0.04443233460187912,
-0.08867467939853668,
-0.01100766658782959,
-0.29740217328071594,
0.3421516418457031,
-0.010184481739997864,
0.22070671617984772,
0.08648870885372162,
0.22717565298080444,
-0.21795813739299774,
-0.1583711951971054,
0.2661225497722626,
0.4554314911365509,
-0.16910557448863983,
0.11258938908576965,
-0.01982562616467476,
-0.2594451606273651,
0.012899400666356087,
0.09953346848487854,
-0.45082899928092957,
0.1687059998512268,
0.18455563485622406,
-0.3320152461528778,
0.13488680124282837,
-0.12023016810417175,
0.17047548294067383,
-0.022108949720859528,
0.5679135322570801,
0.09810662269592285,
0.047616928815841675,
-0.316435307264328,
-0.16197319328784943,
-0.5364082455635071,
0.13061624765396118,
-0.18824949860572815,
-0.039721034467220306,
0.25168657302856445,
0.4264179468154907,
-0.16668745875358582,
-0.22964178025722504,
0.23656919598579407,
0.0049486844800412655,
0.04811874032020569,
0.24406597018241882,
-0.42923739552497864,
-0.006307821720838547,
-0.22502373158931732,
-0.09846821427345276,
0.14670315384864807,
-0.2530200183391571,
0.1997862607240677,
0.13916067779064178,
0.14408433437347412,
-0.2652885317802429,
0.005267225205898285,
0.05542335286736488,
0.22351855039596558,
0.1521977186203003,
-0.01220984198153019,
0.23276259005069733,
-0.09837473183870316,
-0.17236487567424774,
-0.31453874707221985,
-0.3589847981929779,
-0.041001319885253906,
-0.1334383487701416,
0.04876452684402466,
0.13656462728977203,
-0.03207342326641083,
0.016352983191609383,
-0.055477436631917953,
0.16223491728305817,
-0.10590486228466034,
0.2563548684120178,
-0.04372720420360565,
0.03858557343482971,
0.15333405137062073,
0.05186013504862785,
0.0725533664226532,
0.47179552912712097,
-0.03334891051054001,
0.09615053981542587,
-0.34018945693969727,
-0.4772947430610657,
0.5011614561080933,
-0.0018212636932730675,
-0.27222099900245667,
-0.24045109748840332,
0.49129074811935425,
-0.09507248550653458,
-0.25735217332839966,
-0.7726396322250366,
-0.0450298897922039,
0.0441427119076252,
0.11052300035953522,
-0.4822540283203125,
0.1434525102376938,
-0.14286181330680847,
0.029685411602258682,
-0.14252813160419464,
0.35194799304008484,
-0.062495067715644836,
-0.1837892383337021,
0.1847561001777649,
-0.01977941393852234
] |
https://github.com/huggingface/datasets/pull/2264 | Fix memory issue in multiprocessing: Don't pickle table index | I'll focus on the patch release and fix the test in another PR after the release | The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap ! | 16 | text: Fix memory issue in multiprocessing: Don't pickle table index
The table index is currently being pickled when doing multiprocessing, which brings all the record batches of the dataset in memory.
I fixed that by not pickling the index attributes. Therefore each process has to rebuild the index when unpickling the table.
Fix issue #2256
We'll do a patch release asap !
I'll focus on the patch release and fix the test in another PR after the release | [
-0.3253197968006134,
-0.13411402702331543,
-0.13365377485752106,
0.18832385540008545,
0.0642697811126709,
-0.18139751255512238,
-0.0075935013592243195,
0.3098331689834595,
0.2194156050682068,
0.43908071517944336,
0.10384591668844223,
0.35421809554100037,
0.03778495639562607,
0.2623821198940277,
-0.1887824386358261,
0.08406101167201996,
0.053675003349781036,
0.07305039465427399,
-0.1932770311832428,
0.19233135879039764,
-0.398044615983963,
0.0929519459605217,
-0.2779581546783447,
-0.06775802373886108,
-0.4790690541267395,
0.045027270913124084,
-0.11646117269992828,
0.18638402223587036,
-0.1441800594329834,
-0.26050418615341187,
-0.18361783027648926,
0.11213196814060211,
-0.2867865562438965,
0.4165962040424347,
-0.00009699702786747366,
0.0491359606385231,
0.20971928536891937,
0.011341163888573647,
-0.04330149292945862,
0.1767655909061432,
-0.09279590845108032,
0.04594534635543823,
-0.00004874670412391424,
-0.012067079544067383,
0.02326361835002899,
0.28448575735092163,
-0.010436980053782463,
-0.19168730080127716,
0.04092009365558624,
0.0843864232301712,
0.402475506067276,
0.28870105743408203,
-0.04426727816462517,
-0.11216461658477783,
0.22714349627494812,
-0.136945441365242,
-0.2051583230495453,
-0.101798877120018,
0.2861354351043701,
-0.10212256014347076,
-0.22919508814811707,
0.3351462781429291,
0.073931023478508,
0.3460254371166229,
-0.20074695348739624,
-0.10206816345453262,
0.06457114964723587,
0.10915914177894592,
0.37413346767425537,
0.027329856529831886,
0.2318073809146881,
-0.09457225352525711,
0.03125161677598953,
0.0731525793671608,
-0.0890980213880539,
-0.44852182269096375,
0.2891097664833069,
0.06346607208251953,
-0.08178673684597015,
-0.0533105693757534,
-0.17859239876270294,
-0.17151182889938354,
0.1105768233537674,
-0.2850947380065918,
-0.09378580003976822,
0.1388341337442398,
0.028255265206098557,
-0.002680659294128418,
0.36229896545410156,
-0.14070017635822296,
0.09420111775398254,
0.2227049171924591,
-0.19375984370708466,
-0.10726988315582275,
-0.20246605575084686,
0.07577897608280182,
0.20176711678504944,
-0.15045440196990967,
0.21297982335090637,
-0.020938284695148468,
-0.04132028669118881,
0.31673863530158997,
0.1953894942998886,
-0.16361376643180847,
0.2310459464788437,
-0.018795259296894073,
-0.2384687066078186,
0.22071871161460876,
0.2814057171344757,
0.04460356757044792,
-0.4266655445098877,
-0.037433922290802,
0.33073869347572327,
-0.1197102963924408,
0.01021919772028923,
-0.09500078856945038,
0.009795933961868286,
-0.18816620111465454,
-0.35297250747680664,
0.2459697425365448,
0.15411201119422913,
0.07976607978343964,
-0.04195941239595413,
0.510295033454895,
0.0027937483973801136,
0.2454768717288971,
0.1799997091293335,
0.009072743356227875,
-0.4703959822654724,
-0.11093790084123611,
-0.382745623588562,
-0.028314173221588135,
-0.37618130445480347,
0.1406027227640152,
0.24459238350391388,
0.12694208323955536,
0.20497621595859528,
0.06343263387680054,
0.10375615209341049,
-0.2792368233203888,
0.25691643357276917,
-0.2722699046134949,
0.209628164768219,
0.3517340421676636,
0.1154807060956955,
-0.02450735867023468,
-0.014109287410974503,
-0.13630104064941406,
0.11033277958631516,
0.36331823468208313,
0.0012366697192192078,
-0.24196168780326843,
-0.004685172811150551,
0.34423860907554626,
0.1056404560804367,
0.15203484892845154,
0.05301400646567345,
-0.0586257241666317,
0.1973639726638794,
0.0630171149969101,
-0.014112614095211029,
-0.010561361908912659,
-0.25113335251808167,
-0.2511022090911865,
0.1552208662033081,
0.3615517020225525,
-0.035846732556819916,
0.01570570468902588,
-0.01527232676744461,
-0.18970102071762085,
0.31446000933647156,
0.18455278873443604,
0.10819441825151443,
0.038810133934020996,
-0.05448472499847412,
0.11887086927890778,
-0.35065391659736633,
-0.056124184280633926,
-0.3256857097148895,
0.03854069113731384,
-0.16148118674755096,
-0.06757503002882004,
-0.008692443370819092,
0.05919552594423294,
-0.012981481850147247,
0.3349912762641907,
0.32821929454803467,
0.1156487688422203,
-0.1841999590396881,
0.37238314747810364,
-0.5201938152313232,
-0.05778798460960388,
-0.129922553896904,
0.02236229181289673,
0.28690823912620544,
-0.23179244995117188,
-0.1862272024154663,
-0.1165546327829361,
0.31893014907836914,
-0.07837323844432831,
0.07735186070203781,
0.11499829590320587,
0.17804546654224396,
-0.005907163023948669,
-0.02559921331703663,
-0.2124093472957611,
-0.09479343146085739,
0.27122563123703003,
-0.09752731025218964,
-0.024694114923477173,
0.1266331523656845,
-0.22905433177947998,
0.003373323008418083,
0.14591889083385468,
-0.1307571679353714,
-0.10969451069831848,
0.3180711567401886,
0.12225341796875,
-0.17743058502674103,
-0.08586038649082184,
-0.06092364341020584,
0.03324095904827118,
-0.16750562191009521,
-0.1378394365310669,
0.0021753525361418724,
-0.061763159930706024,
-0.3164508640766144,
-0.3596351742744446,
0.10608851909637451,
0.05944362282752991,
0.12422625720500946,
0.04267878085374832,
-0.06945694983005524,
0.3535020053386688,
0.2616647481918335,
-0.09534899890422821,
0.27671337127685547,
0.12361110746860504,
-0.03149521350860596,
-0.10105828940868378,
0.012470994144678116,
-0.08748598396778107,
0.06677466630935669,
-0.23340705037117004,
0.08495308458805084,
0.268140971660614,
-0.2591801583766937,
0.10140145570039749,
0.08450931310653687,
-0.017593970522284508,
0.20670795440673828,
-0.11049622297286987,
0.3753891587257385,
-0.15209144353866577,
0.09763139486312866,
0.03985577076673508,
-0.22569569945335388,
0.04416963458061218,
-0.5133812427520752,
0.05557847023010254,
0.22764752805233002,
0.30975526571273804,
0.24720725417137146,
-0.023042917251586914,
0.14596015214920044,
-0.353235125541687,
-0.09193552285432816,
-0.163202702999115,
0.4439489245414734,
0.11437193304300308,
0.1253960132598877,
-0.07327742874622345,
0.09301957488059998,
-0.1472717523574829,
0.19654949009418488,
-0.10145357251167297,
0.07013680040836334,
0.17343378067016602,
0.016798904165625572,
-0.4388955235481262,
-0.2611461877822876,
0.17250630259513855,
0.3655126392841339,
0.3901212513446808,
-0.2001035511493683,
-0.27617985010147095,
-0.26955798268318176,
-0.14554518461227417,
0.13175855576992035,
0.14042240381240845,
0.10122255980968475,
-0.21106559038162231,
0.22395266592502594,
0.20164048671722412,
-0.32312285900115967,
0.19118446111679077,
-0.18185442686080933,
0.2823682129383087,
-0.1480843722820282,
0.3731722831726074,
-0.050298310816287994,
-0.17937587201595306,
-0.13275915384292603,
0.207267627120018,
0.2364037185907364,
0.15172280371189117,
0.31911277770996094,
0.00413346104323864,
-0.04868781566619873,
-0.187611922621727,
0.06138778477907181,
0.08181135356426239,
0.0321553610265255,
0.03755076974630356,
0.1605384200811386,
0.12811776995658875,
-0.08393973112106323,
-0.12409967184066772,
0.11082993447780609,
-0.4463949501514435,
-0.20073777437210083,
0.03873057663440704,
0.08071010559797287,
0.056462932378053665,
-0.17830343544483185,
-0.34414932131767273,
0.06810973584651947,
-0.34817060828208923,
0.26419639587402344,
-0.15084877610206604,
0.14680621027946472,
0.031958792358636856,
0.008257291279733181,
0.05986121669411659,
0.00047197984531521797,
0.010721692815423012,
-0.3410795331001282,
-0.03632460534572601,
-0.3102761507034302,
-0.18930654227733612,
-0.3443954885005951,
0.006721999496221542,
0.18809862434864044,
0.1391558051109314,
-0.030202947556972504,
-0.41392314434051514,
0.1769862025976181,
-0.2230043262243271,
0.15068911015987396,
0.03666282445192337,
0.0326637364923954,
0.212307408452034,
0.06400176137685776,
-0.4515465795993805,
-0.16225968301296234,
-0.17452126741409302,
0.0471118725836277,
-0.10712122172117233,
-0.004735171794891357,
-0.13580948114395142,
0.2095544934272766,
0.0987822562456131,
0.7064231634140015,
-0.04197324812412262,
0.16903237998485565,
0.3740527927875519,
-0.004687296226620674,
0.2079404592514038,
-0.24518316984176636,
-0.051905952394008636,
-0.049200523644685745,
-0.12591984868049622,
-0.10508644580841064,
0.11283251643180847,
-0.06495030224323273,
-0.3504073917865753,
0.030908651649951935,
0.1486639678478241,
-0.10811182856559753,
-0.22993402183055878,
0.2958902418613434,
-0.007830381393432617,
0.1603420227766037,
0.09576989710330963,
-0.22552913427352905,
-0.15696404874324799,
-0.013761186972260475,
-0.13540016114711761,
-0.3086548447608948,
0.04914617910981178,
-0.3635917901992798,
-0.040817394852638245,
-0.3157038390636444,
-0.21756738424301147,
0.2985645830631256,
0.08354029059410095,
0.4376203119754791,
-0.23824168741703033,
-0.35224634408950806,
0.09536273777484894,
-0.12320297211408615,
0.4606337547302246,
-0.13443702459335327,
-0.09249596297740936,
0.271704763174057,
-0.27886828780174255,
0.006207285448908806,
-0.051356904208660126,
-0.30403244495391846,
0.6167741417884827,
0.16845008730888367,
-0.0159275084733963,
-0.09962635487318039,
-0.2427874356508255,
0.3251209259033203,
-0.026892798021435738,
-0.186089426279068,
0.050613462924957275,
-0.40525999665260315,
-0.2490530014038086,
-0.008786849677562714,
0.4667225182056427,
0.17400547862052917,
0.10898135602474213,
-0.13489946722984314,
-0.14027279615402222,
-0.08360648900270462,
-0.04022211581468582,
-0.1735749989748001,
-0.06689931452274323,
0.3653273582458496,
-0.023363810032606125,
0.5448326468467712,
-0.09995688498020172,
-0.07889984548091888,
0.23705846071243286,
0.37826821208000183,
-0.25289660692214966,
0.4621410369873047,
0.23737242817878723,
-0.2097732275724411,
0.20341837406158447,
0.26513582468032837,
0.1407676786184311,
0.26479968428611755,
-0.2015087902545929,
0.23106706142425537,
-0.12198885530233383,
-0.03738689795136452,
0.1653652936220169,
0.004431706853210926,
0.03328053653240204,
-0.13483072817325592,
0.28868162631988525,
0.08996978402137756,
-0.08648691326379776,
0.43237096071243286,
-0.057666003704071045,
-0.036252669990062714,
0.13830284774303436,
0.16945989429950714,
0.7496753931045532,
-0.22036580741405487,
-0.001452665776014328,
-0.057844825088977814,
-0.11851801723241806,
-0.31859394907951355,
-0.04983711615204811,
0.18802839517593384,
-0.34079962968826294,
-0.5550847053527832,
0.2667393088340759,
-0.055243127048015594,
-0.03133209049701691,
-0.13238190114498138,
-0.199946328997612,
0.03206229209899902,
-0.1071552038192749,
-0.40410754084587097,
-0.09624896198511124,
0.15034428238868713,
-0.09046915918588638,
0.0005276408046483994,
0.3960629105567932,
0.29661989212036133,
0.1427692472934723,
-0.18607893586158752,
-0.1137780174612999,
0.2794814705848694,
0.2341148555278778,
-0.16925977170467377,
-0.3366263806819916,
-0.14680051803588867,
-0.02631068229675293,
0.37550222873687744,
-0.09492585062980652,
0.21083585917949677,
-0.20778386294841766,
-0.21176990866661072,
-0.12499848008155823,
0.05423366278409958,
-0.00209682434797287,
0.2778671979904175,
0.2681888937950134,
0.049424268305301666,
0.032862164080142975,
0.2187315821647644,
0.2517276108264923,
-0.10641054064035416,
-0.47501906752586365,
0.035811811685562134,
-0.08932428061962128,
-0.22128941118717194,
-0.07295554876327515,
0.2209824025630951,
0.012123394757509232,
-0.07369844615459442,
-0.18843059241771698,
0.046987276524305344,
-0.2711668908596039,
-0.2584339380264282,
0.3460375964641571,
0.16135460138320923,
-0.16254204511642456,
0.5550669431686401,
-0.003615640103816986,
-0.3311898112297058,
-0.08039915561676025,
0.2996184527873993,
0.28797608613967896,
0.2043154537677765,
0.19469517469406128,
0.18767613172531128,
-0.1836663782596588,
-0.3674389123916626,
-0.03704804927110672,
0.22587648034095764,
-0.21094438433647156,
0.37069618701934814,
-0.21421991288661957,
-0.14263662695884705,
0.2648482918739319,
0.35248851776123047,
0.024090267717838287,
0.0759531557559967,
-0.32116401195526123,
0.08007693290710449,
-0.19106516242027283,
0.09927177429199219,
-0.02170177921652794,
0.39355185627937317,
-0.1455724537372589,
0.015981502830982208,
0.1296078860759735,
0.27289775013923645,
-0.4600353240966797,
0.08031077682971954,
-0.6864943504333496,
0.21766969561576843,
-0.20248936116695404,
-0.112384133040905,
-0.07226055860519409,
-0.039285920560359955,
0.21731781959533691,
0.2847341299057007,
-0.042239394038915634,
-0.4137575626373291,
0.16306322813034058,
0.032715097069740295,
-0.07852588593959808,
0.13713613152503967,
-0.16643306612968445,
-0.024892151355743408,
-0.12018576264381409,
-0.014815397560596466,
0.2051933854818344,
0.11293450742959976,
-0.1542189121246338,
-0.055053096264600754,
0.2652963697910309,
-0.0532299280166626,
0.3370298147201538,
0.1824580878019333,
0.026875831186771393,
0.14243721961975098,
-0.05797583609819412,
0.05487465858459473,
-0.011882339604198933,
-0.19354774057865143,
0.04908058047294617,
-0.036539651453495026,
-0.14635498821735382,
-0.07383028417825699,
-0.05321183800697327,
-0.04434933513402939,
-0.30989310145378113,
0.15834127366542816,
0.2151028960943222,
0.24620185792446136,
-0.038458842784166336,
-0.09341888129711151,
0.0892549380660057,
0.42337244749069214,
-0.18115927278995514,
-0.1638854593038559,
-0.21456608176231384,
-0.11469648033380508,
0.10411286354064941,
0.14833015203475952,
0.14944657683372498,
-0.09731705486774445,
0.027298439294099808,
0.33128097653388977,
0.03418094664812088,
-0.2388966828584671,
-0.1879507154226303,
-0.3513442873954773,
-0.07584794610738754,
-0.10773709416389465,
0.2380281388759613,
0.0842934250831604,
0.08415330201387405,
0.20988856256008148,
0.22970572113990784,
0.4546838402748108,
0.021421488374471664,
0.11846926808357239,
-0.025200575590133667,
-0.33859243988990784,
0.09359743446111679,
0.09659416973590851,
-0.19403037428855896,
0.10690539330244064,
-0.047192275524139404,
0.24462279677391052,
-0.23574648797512054,
-0.21861211955547333,
-0.30009725689888,
0.05377386510372162,
-0.3477768301963806,
-0.14310351014137268,
-0.05308646708726883,
-0.027765333652496338,
-0.1566808670759201,
0.07721340656280518,
0.1750512570142746,
0.4036693572998047,
0.5848147869110107,
0.09881503880023956,
-0.07990817725658417,
0.018114369362592697,
-0.01399322971701622,
0.07981184124946594,
0.19900324940681458,
-0.33758825063705444,
0.02022521197795868,
0.20577721297740936,
0.07825060933828354,
-0.033259909600019455,
0.44839048385620117,
0.3683334290981293,
0.1796388477087021,
-0.33083420991897583,
-0.017546426504850388,
-0.04932849481701851,
-0.043129514902830124,
-0.34186190366744995,
0.31019097566604614,
0.10795803368091583,
0.19412314891815186,
0.07957498729228973,
0.2654019892215729,
-0.24718259274959564,
-0.09334096312522888,
0.35038313269615173,
0.3967280387878418,
0.020299235358834267,
-0.018950380384922028,
0.10628597438335419,
-0.2706795036792755,
0.07003987580537796,
0.03298253193497658,
-0.40273967385292053,
0.1144939586520195,
0.07521745562553406,
-0.38094815611839294,
0.14866343140602112,
-0.09631776064634323,
0.18168899416923523,
0.019270749762654305,
0.579463541507721,
-0.012253429740667343,
0.03514844551682472,
-0.3369557857513428,
-0.3061044216156006,
-0.3613028824329376,
0.23060056567192078,
-0.20492148399353027,
-0.06186416745185852,
0.17856857180595398,
0.4401630163192749,
-0.15163514018058777,
-0.25233393907546997,
0.18949048221111298,
-0.02228211984038353,
-0.05664562061429024,
0.36907440423965454,
-0.4257528483867645,
0.10415008664131165,
-0.04771525412797928,
-0.16916777193546295,
0.11480580270290375,
-0.27756235003471375,
0.20049746334552765,
0.14534270763397217,
0.283459335565567,
-0.20757704973220825,
-0.1699243187904358,
0.12938150763511658,
0.3618866801261902,
0.12335962057113647,
-0.07907553017139435,
0.2471548318862915,
-0.19175580143928528,
-0.146999791264534,
-0.22507017850875854,
-0.28233569860458374,
-0.0003624148666858673,
-0.23920461535453796,
0.2318297177553177,
0.02349916845560074,
0.03712625801563263,
0.13276948034763336,
-0.004520614631474018,
0.16466662287712097,
-0.13659584522247314,
0.3583814799785614,
0.0030599217861890793,
-0.04377449303865433,
0.1678655743598938,
-0.0043264105916023254,
0.0010221870616078377,
0.36279529333114624,
-0.05957156419754028,
0.0038660112768411636,
-0.37703704833984375,
-0.4169537127017975,
0.3668094277381897,
0.057618364691734314,
-0.29149162769317627,
-0.2867012619972229,
0.4737035632133484,
-0.192020446062088,
-0.16239936649799347,
-0.6279349327087402,
-0.13461118936538696,
0.02365364506840706,
0.04666488617658615,
-0.4023558795452118,
0.043609507381916046,
-0.12187038362026215,
-0.018781162798404694,
-0.13096269965171814,
0.28231990337371826,
0.00898316502571106,
-0.09203849732875824,
0.08199816942214966,
-0.009527185931801796
] |
https://github.com/huggingface/datasets/pull/2260 | GooAQ dataset added | Thanks for adding this one !
The download manager does support downloading files on git lfs via their github url. No need for a manual download option ;) | @lhoestq here the dataset is stored with Git LFS. Should I add option for manual downloading of dataset using `git lfs pull` post repo cloning or can we accommodate this in the current `download_and_extract`? | 28 | text: GooAQ dataset added
@lhoestq here the dataset is stored with Git LFS. Should I add option for manual downloading of dataset using `git lfs pull` post repo cloning or can we accommodate this in the current `download_and_extract`?
Thanks for adding this one !
The download manager does support downloading files on git lfs via their github url. No need for a manual download option ;) | [
-0.4169520437717438,
-0.009159281849861145,
-0.012866365723311901,
0.07351946085691452,
-0.1876315176486969,
0.0120106041431427,
-0.09905526041984558,
0.010636257007718086,
0.20699363946914673,
0.18508383631706238,
-0.18979379534721375,
0.14820496737957,
-0.01214525569230318,
0.28010597825050354,
0.3056598901748657,
0.00482463464140892,
-0.2225050926208496,
0.193442240357399,
-0.008380547165870667,
-0.1726689636707306,
-0.2638663947582245,
0.09254827350378036,
0.1989545077085495,
-0.17917244136333466,
0.30953508615493774,
-0.1989562213420868,
-0.013630321249365807,
-0.040705546736717224,
-0.35679712891578674,
-0.03099735826253891,
-0.13402314484119415,
0.3966105580329895,
0.31520432233810425,
-0.006619535386562347,
-0.0001212096176459454,
-0.23439548909664154,
0.01718175783753395,
-0.19743037223815918,
-0.15599799156188965,
-0.2013678401708603,
-0.3918476402759552,
-0.0012463536113500595,
0.07903449237346649,
-0.36786046624183655,
0.03588537871837616,
0.23785093426704407,
0.3755146861076355,
-0.0059319064021110535,
0.4350401759147644,
-0.029081981629133224,
0.12590491771697998,
0.05758385360240936,
0.11960938572883606,
0.12274768948554993,
0.38161006569862366,
0.251880943775177,
0.05158472806215286,
0.32633429765701294,
0.46795859932899475,
0.5588610768318176,
0.23001837730407715,
0.18744730949401855,
0.17563192546367645,
-0.02573343738913536,
0.1635393500328064,
0.0858159139752388,
0.11772923916578293,
-0.5417375564575195,
-0.07397181540727615,
0.3819177448749542,
0.6311838626861572,
-0.10552842170000076,
-0.4945426881313324,
-0.14068728685379028,
0.33533576130867004,
-0.04857945814728737,
-0.19090163707733154,
0.42818132042884827,
-0.16954241693019867,
0.24871577322483063,
-0.39937859773635864,
-0.9166269898414612,
-0.19282814860343933,
0.1844930350780487,
-0.027755696326494217,
0.02814970165491104,
-0.10946380347013474,
0.07179103046655655,
0.04305793344974518,
0.2991976737976074,
-0.2716023027896881,
-0.29862892627716064,
-0.10110917687416077,
0.33715641498565674,
0.23226308822631836,
-0.23152610659599304,
-0.17597761750221252,
-0.1539343297481537,
0.1251836121082306,
0.34468287229537964,
-0.126917764544487,
-0.12113570421934128,
-0.4258512556552887,
0.08762219548225403,
0.1478220671415329,
0.02048742026090622,
-0.25406724214553833,
0.3541187345981598,
0.26105207204818726,
0.03667492792010307,
0.03335468843579292,
-0.17784076929092407,
-0.0855388417840004,
0.2317654937505722,
0.04328599199652672,
0.0482337549328804,
0.013510871678590775,
-0.1980707198381424,
-0.08110556751489639,
-0.2108546495437622,
-0.24240463972091675,
-0.2213185876607895,
-0.20314352214336395,
0.0016854777932167053,
-0.06170046702027321,
-0.30852624773979187,
0.13297152519226074,
0.2062234729528427,
0.4060959219932556,
-0.34475475549697876,
-0.11013314127922058,
0.1823037564754486,
0.20100048184394836,
-0.11472884565591812,
-0.17393578588962555,
-0.1406749188899994,
-0.024766039103269577,
-0.04676348343491554,
-0.3591321110725403,
0.11402605473995209,
0.07940685749053955,
-0.05700840428471565,
0.06946834921836853,
0.4996625781059265,
0.20308537781238556,
-0.0037088412791490555,
-0.23635108768939972,
-0.0426984503865242,
-0.34475189447402954,
0.5481340885162354,
-0.38333576917648315,
-0.48103004693984985,
-0.16224916279315948,
0.07983079552650452,
-0.03485137224197388,
-0.3220710754394531,
-0.7476000189781189,
0.16444434225559235,
-0.15373766422271729,
0.02368289604783058,
0.2424556314945221,
0.2992176413536072,
-0.01735907793045044,
-0.15378277003765106,
0.02191021479666233,
0.48098015785217285,
-0.4524683952331543,
-0.16044089198112488,
-0.33975061774253845,
-0.20994359254837036,
0.5587170720100403,
0.11949177086353302,
-0.14084315299987793,
0.3360723555088043,
-0.1512278914451599,
0.39271509647369385,
0.8281666040420532,
-0.2885034382343292,
-0.22019091248512268,
0.4419507682323456,
-0.08949055522680283,
-0.05847461521625519,
0.13133031129837036,
0.3691057860851288,
0.17958815395832062,
-0.08247264474630356,
-0.3501792848110199,
0.5336792469024658,
-0.24742472171783447,
-0.0417497493326664,
-0.11511872708797455,
-0.5193990468978882,
-0.21359117329120636,
0.3118848204612732,
0.3498072326183319,
0.356763631105423,
0.3610703647136688,
-0.038440242409706116,
0.16666516661643982,
0.006486404687166214,
-0.008827722631394863,
0.048666395246982574,
0.6590069532394409,
-0.12235225737094879,
-0.3342299163341522,
-0.1321413815021515,
-0.28169071674346924,
0.037910908460617065,
-0.33999744057655334,
-0.003857329487800598,
-0.16851232945919037,
-0.19190911948680878,
-0.02711164578795433,
-0.08639740943908691,
-0.10767421126365662,
0.1708248257637024,
-0.09719112515449524,
-0.038913972675800323,
0.08796419203281403,
0.14597269892692566,
0.019556935876607895,
0.4085831344127655,
-0.2482403963804245,
0.32044392824172974,
0.015900833532214165,
0.13356442749500275,
-0.03967932611703873,
-0.042838674038648605,
0.024017684161663055,
-0.21007180213928223,
-0.1996813416481018,
-0.403251975774765,
-0.012902017682790756,
0.26390576362609863,
-0.20950815081596375,
0.3334558606147766,
0.23414933681488037,
0.04004983603954315,
0.2374580055475235,
0.4178636074066162,
-0.3035937249660492,
-0.11133182048797607,
-0.07820973545312881,
0.12989556789398193,
-0.1269887387752533,
0.03594683110713959,
0.22265681624412537,
-0.350259929895401,
0.02691878378391266,
-0.059925369918346405,
0.1286190152168274,
-0.004629034548997879,
0.18425069749355316,
-0.304443359375,
-0.20562003552913666,
0.6420076489448547,
0.5033087730407715,
-0.12616035342216492,
-0.4862769544124603,
0.1542920619249344,
0.4278290271759033,
-0.07621334493160248,
0.23396635055541992,
0.38711845874786377,
0.025150824338197708,
-0.15065716207027435,
0.06189507991075516,
0.5855700373649597,
0.28167808055877686,
0.17733293771743774,
0.014835000038146973,
0.03094654157757759,
0.4466823637485504,
-0.21385757625102997,
0.3401181101799011,
-0.1825597733259201,
0.009704820811748505,
0.10519981384277344,
-0.017545146867632866,
0.12438539415597916,
-0.17011824250221252,
0.07953712344169617,
0.16176949441432953,
0.3393082618713379,
0.050402503460645676,
-0.2927570641040802,
-0.06301993131637573,
-0.21506789326667786,
-0.08239638060331345,
0.13851776719093323,
-0.35628068447113037,
-0.32640883326530457,
0.15099555253982544,
0.22430188953876495,
-0.14070793986320496,
-0.11124032735824585,
0.05416477099061012,
0.14746715128421783,
-0.14753837883472443,
-0.3764533996582031,
-0.14002785086631775,
0.2638959586620331,
-0.16359248757362366,
0.08231064677238464,
0.10269761830568314,
-0.41493383049964905,
0.4501851797103882,
-0.16309510171413422,
0.34588342905044556,
-0.5736863613128662,
-0.17970052361488342,
0.26581329107284546,
0.14977353811264038,
0.019687693566083908,
0.1505935788154602,
0.250515878200531,
0.06171613931655884,
0.015929974615573883,
-0.3508123755455017,
-0.009194724261760712,
-0.33458051085472107,
-0.44322192668914795,
-0.1764937937259674,
0.1677001416683197,
-0.21754637360572815,
-0.1444147825241089,
-0.620389461517334,
-0.2409568428993225,
0.29390841722488403,
0.2568713426589966,
0.21604977548122406,
-0.14397487044334412,
-0.4531262218952179,
-0.1693381369113922,
-0.10025526583194733,
-0.24180489778518677,
-0.22033056616783142,
-0.6254141330718994,
0.3366544246673584,
0.009887276217341423,
-0.11687886714935303,
0.11074204742908478,
0.07261759787797928,
-0.02653442695736885,
0.26629316806793213,
-0.5897520780563354,
-0.22060051560401917,
-0.0777370035648346,
0.40591052174568176,
-0.18463577330112457,
0.30501869320869446,
0.4641827642917633,
0.059846363961696625,
0.012410463765263557,
0.13779667019844055,
0.3119533658027649,
0.4518445134162903,
0.5439835786819458,
0.09948354959487915,
-0.04802987724542618,
0.18771806359291077,
0.04335961118340492,
0.5852890014648438,
-0.15357355773448944,
0.13428007066249847,
0.30220937728881836,
0.03542392700910568,
0.20717833936214447,
-0.008443750441074371,
0.07142065465450287,
-0.20991376042366028,
0.19669686257839203,
0.012336689978837967,
0.3810068964958191,
0.004022195003926754,
-0.14121787250041962,
-0.10206522792577744,
-0.3497697412967682,
-0.24502047896385193,
-0.29552823305130005,
-0.2408747524023056,
-0.0655934289097786,
0.12901748716831207,
0.07430572807788849,
-0.29238978028297424,
-0.10274173319339752,
-0.0448165088891983,
-0.03578760102391243,
0.38175690174102783,
0.507034420967102,
0.14044871926307678,
-0.024316679686307907,
-0.17613475024700165,
-0.40116843581199646,
0.1961611807346344,
0.22462935745716095,
-0.17163227498531342,
0.012219127267599106,
0.22960373759269714,
0.2698143720626831,
0.00890452042222023,
0.3157086968421936,
-0.3176403343677521,
0.01590554043650627,
-0.26535528898239136,
-0.17599743604660034,
0.31962850689888,
-0.14137229323387146,
-0.11948281526565552,
0.18565548956394196,
0.560752272605896,
0.04854841157793999,
-0.5600155591964722,
-0.13058215379714966,
0.3094800114631653,
0.06845785677433014,
-0.17049388587474823,
-0.3688984513282776,
0.06299322843551636,
-0.09859047830104828,
-0.16080354154109955,
0.023400425910949707,
0.17920446395874023,
0.05160350725054741,
0.27540865540504456,
0.24204273521900177,
0.06290161609649658,
0.0673145279288292,
0.08293023705482483,
-0.2054707258939743,
0.04249901324510574,
0.4030284583568573,
-0.032281436026096344,
-0.181172177195549,
-0.05452510714530945,
0.04439997300505638,
0.4790830910205841,
0.024960631504654884,
-0.1835971474647522,
-0.16381040215492249,
-0.46879950165748596,
0.054482463747262955,
0.03592604398727417,
-0.03583567216992378,
0.15004652738571167,
-0.1440039575099945,
0.20039987564086914,
0.045016929507255554,
-0.1169392317533493,
-0.01609126850962639,
-0.06512077897787094,
-0.30923062562942505,
-0.3147645890712738,
0.44177281856536865,
0.014926496893167496,
-0.1158590018749237,
0.36549893021583557,
0.030195724219083786,
-0.3322039842605591,
-0.18295854330062866,
-0.050619401037693024,
1.0053411722183228,
-0.23252101242542267,
0.09991884231567383,
0.10720545798540115,
-0.10975290089845657,
0.3782288134098053,
-0.4076659679412842,
-0.12301427125930786,
-0.17182043194770813,
0.14741672575473785,
-0.22777105867862701,
0.11192139983177185,
0.21506169438362122,
0.37045037746429443,
-0.31700101494789124,
0.3025587201118469,
0.10748295485973358,
0.019074654206633568,
0.29808586835861206,
0.5100240707397461,
-0.04904310405254364,
-0.05765644088387489,
0.24379132688045502,
-0.07562436163425446,
-0.010358385741710663,
0.5198490619659424,
-0.009150800295174122,
-0.5369699597358704,
0.03750566765666008,
0.14043059945106506,
-0.2754240334033966,
-0.004266276955604553,
-0.19331365823745728,
0.08162230998277664,
-0.15896816551685333,
-0.13839343190193176,
0.05628463253378868,
-0.011534865945577621,
0.3006030023097992,
0.24206186830997467,
-0.22203688323497772,
0.0697559341788292,
-0.05447635054588318,
0.08750878274440765,
0.0963253378868103,
0.2491651475429535,
0.269552618265152,
-0.2903161942958832,
-0.15078680217266083,
0.14658361673355103,
-0.12413955479860306,
-0.5575840473175049,
-0.07747827470302582,
-0.0710778534412384,
-0.05416521430015564,
-0.08911781013011932,
-0.5121200680732727,
0.34848150610923767,
-0.17986303567886353,
0.08804456889629364,
0.017116378992795944,
0.12622308731079102,
-0.06240670382976532,
0.19487446546554565,
-0.3573756515979767,
-0.10805363208055496,
-0.26148033142089844,
0.13639771938323975,
0.13545291125774384,
0.16010326147079468,
0.28678643703460693,
-0.28035953640937805,
0.022676903754472733,
-0.1386127769947052,
0.08184856921434402,
-0.12107069790363312,
-0.4038521945476532,
0.07808813452720642,
-0.12427518516778946,
0.18817339837551117,
-0.17157544195652008,
0.2699498236179352,
0.01981288753449917,
0.09686814993619919,
-0.17037762701511383,
-0.2519325017929077,
-0.2547426223754883,
-0.11463239789009094,
-0.06803886592388153,
0.10626775026321411,
0.1953103244304657,
0.24895261228084564,
0.1376028209924698,
0.018850788474082947,
-0.20681995153427124,
0.18189910054206848,
-0.08548729866743088,
0.01745535060763359,
0.33936601877212524,
0.09230966866016388,
0.19511060416698456,
0.027727406471967697,
-0.0020638927817344666,
-0.25114238262176514,
-0.22296248376369476,
0.003049492835998535,
0.05852551385760307,
0.18690088391304016,
-0.057881973683834076,
0.12641163170337677,
0.1467244178056717,
-0.36601823568344116,
-0.4314747750759125,
0.32672998309135437,
0.020302169024944305,
-0.022293316200375557,
-0.046054936945438385,
0.12728643417358398,
0.15032395720481873,
-0.06440829485654831,
-0.6140848398208618,
0.2833656966686249,
-0.12535512447357178,
0.45751577615737915,
-0.2882867157459259,
0.3829231262207031,
0.016396082937717438,
-0.05089414864778519,
-0.2551470696926117,
-0.12284652143716812,
0.020427294075489044,
0.26033711433410645,
0.3345480263233185,
-0.07519716024398804,
0.1363244354724884,
-0.07228469848632812,
0.34798744320869446,
-0.15392093360424042,
0.021831855177879333,
-0.15884524583816528,
-0.07521437108516693,
0.09171460568904877,
-0.38263818621635437,
-0.05976056680083275,
0.08356405794620514,
0.0440153069794178,
0.10841046273708344,
0.30428409576416016,
0.2517554461956024,
0.5181034207344055,
0.3374689817428589,
0.003166208043694496,
0.5304161906242371,
0.11898362636566162,
-0.017798636108636856,
0.2822383940219879,
0.03673171624541283,
0.24311338365077972,
0.05398973077535629,
0.5255095958709717,
-0.10501270741224289,
-0.25264400243759155,
-0.259948194026947,
-0.09849056601524353,
0.22679060697555542,
-0.12438106536865234,
0.4778965413570404,
-0.5464884042739868,
0.14224623143672943,
0.2994111180305481,
-0.19374948740005493,
0.19451603293418884,
0.23067651689052582,
-0.02179422229528427,
0.16811086237430573,
-0.15938252210617065,
0.012514600530266762,
0.5824100375175476,
-0.0017410889267921448,
0.15545028448104858,
-0.022541988641023636,
-0.1392112672328949,
-0.06583518534898758,
0.18395034968852997,
0.03502144291996956,
-0.2725986838340759,
-0.18444159626960754,
0.3221591114997864,
0.28074464201927185,
0.14404620230197906,
-0.05202673375606537,
-0.23169276118278503,
0.37019744515419006,
-0.3061014413833618,
0.09121142327785492,
-0.10112756490707397,
-0.22754588723182678,
0.26501962542533875,
0.4103539288043976,
-0.08757779002189636,
0.08725464344024658,
0.29627862572669983,
0.2088860720396042,
0.013080893084406853,
-0.10673677921295166,
-0.07286643981933594,
-0.15722642838954926,
0.10515236854553223,
-0.04499663785099983,
0.19841106235980988,
0.06363580375909805,
-0.04236795753240585,
0.29770562052726746,
0.05027760565280914,
0.027795076370239258,
-0.23477552831172943,
0.5360487103462219,
0.2732385993003845,
-0.2925295829772949,
-0.13383063673973083,
0.014271959662437439,
-0.005323369055986404,
0.15664561092853546,
0.08345431089401245,
-0.38204842805862427,
-0.027081869542598724,
-0.2355118691921234,
0.013590909540653229,
-0.08273039758205414,
0.28783586621284485,
0.4817696809768677,
0.014132600277662277,
-0.10252731293439865,
-0.19390925765037537,
-0.33924075961112976,
-0.1901988685131073,
0.10906429588794708,
-0.3906300961971283,
0.17423804104328156,
0.3015606999397278,
0.11423739045858383,
0.22326809167861938,
0.08386813849210739,
0.06177911534905434,
-0.24979425966739655,
0.30692926049232483,
-0.10748384892940521,
-0.23523353040218353,
-0.03505527228116989,
0.14265967905521393,
-0.1046769767999649,
-0.2481859028339386,
0.39147821068763733,
-0.3060353398323059,
-0.08216199278831482,
-0.21598879992961884,
0.1155526340007782,
0.12495316565036774,
0.2992256283760071,
0.4376768469810486,
-0.12824973464012146,
-0.19176971912384033,
-0.1717701554298401,
-0.07082848250865936,
0.47355225682258606,
0.17043237388134003,
-0.41255441308021545,
0.06358799338340759,
-0.09579584002494812,
0.18455781042575836,
0.05701964348554611,
0.1309678554534912,
-0.40737491846084595,
-0.08259674161672592,
-0.1028774082660675,
0.2183479368686676,
-0.38001754879951477,
-0.07738108932971954,
-0.17039218544960022,
-0.0418211854994297,
0.21918243169784546,
0.32487744092941284,
-0.014478802680969238,
-0.06171761453151703,
-0.5217017531394958,
-0.03094778209924698,
0.23452916741371155,
-0.08063188940286636,
0.09420724213123322,
-0.07020581513643265,
0.05566639453172684,
0.06469952315092087,
-0.07881324738264084,
-0.39281317591667175,
0.13511991500854492,
0.6081537008285522,
-0.24658572673797607,
-0.013257214799523354,
0.38418057560920715,
0.18856598436832428,
-0.029959555715322495,
0.035936493426561356,
0.35306644439697266,
0.007312977686524391,
-0.24693907797336578,
-0.26401618123054504,
-0.13138419389724731
] |
https://github.com/huggingface/datasets/pull/2259 | Add support for Split.ALL | Honestly, I think we should fix some other issues in Split API before this change. E. g. currently the following will not work, even though it should:
```python
import datasets
datasets.load_dataset("sst", split=datasets.Split.TRAIN+datasets.Split.TEST) # AssertionError
```
EDIT:
Actually, think it's OK to merge this PR because the fix will not touch this PR's code. | The title says it all. | 53 | text: Add support for Split.ALL
The title says it all.
Honestly, I think we should fix some other issues in Split API before this change. E. g. currently the following will not work, even though it should:
```python
import datasets
datasets.load_dataset("sst", split=datasets.Split.TRAIN+datasets.Split.TEST) # AssertionError
```
EDIT:
Actually, think it's OK to merge this PR because the fix will not touch this PR's code. | [
-0.4961993396282196,
-0.10111842304468155,
-0.21643729507923126,
-0.3615933060646057,
0.053722403943538666,
0.1943109631538391,
0.36694347858428955,
0.4657793641090393,
0.1413617879152298,
0.2669532299041748,
-0.13130490481853485,
0.2667976915836334,
-0.171397864818573,
0.5039911270141602,
-0.12904344499111176,
-0.3942560851573944,
0.144187331199646,
0.3982276916503906,
0.25452500581741333,
0.2966054677963257,
-0.4054369628429413,
0.1752706915140152,
-0.25294220447540283,
-0.16468755900859833,
-0.23935829102993011,
0.059020861983299255,
-0.04604814201593399,
0.058584291487932205,
-0.15114009380340576,
-0.3676796555519104,
-0.0005493443459272385,
0.03371846303343773,
-0.05175311118364334,
0.17927968502044678,
-0.00010232899512629956,
0.16728366911411285,
0.24003516137599945,
0.06827657669782639,
-0.12765231728553772,
-0.023181214928627014,
-0.19196230173110962,
-0.15245939791202545,
0.33252304792404175,
0.09415443986654282,
-0.2668250799179077,
-0.021073035895824432,
-0.16501909494400024,
-0.2552550435066223,
0.4743664264678955,
0.21756751835346222,
0.2571066617965698,
0.12655581533908844,
0.20513592660427094,
-0.3499643802642822,
-0.013852111995220184,
0.07450323551893234,
-0.2961937189102173,
-0.2474743127822876,
0.17198434472084045,
-0.035937242209911346,
-0.03287016600370407,
0.001239618519321084,
0.03582616150379181,
0.2336544245481491,
-0.15029534697532654,
-0.13887475430965424,
-0.1813659369945526,
-0.35490965843200684,
-0.03972131758928299,
0.025771770626306534,
0.28058698773384094,
0.07823558151721954,
-0.3960675895214081,
-0.314454585313797,
-0.07886894047260284,
-0.43955153226852417,
-0.14464247226715088,
0.16837963461875916,
-0.01383031252771616,
0.3366720378398895,
0.08421874046325684,
-0.2355414479970932,
0.01947827637195587,
0.08731384575366974,
-0.16131889820098877,
0.6321048736572266,
0.037129975855350494,
0.19048675894737244,
0.29619935154914856,
0.300781786441803,
0.06205596402287483,
0.35941123962402344,
0.02115699090063572,
-0.21913085877895355,
-0.423424631357193,
-0.2563130855560303,
-0.1282033622264862,
-0.46250614523887634,
-0.11969031393527985,
0.27987992763519287,
-0.2413320690393448,
0.0888969898223877,
-0.012904461473226547,
0.02941468544304371,
0.11349251866340637,
-0.042930297553539276,
0.13441815972328186,
0.33510449528694153,
0.16947510838508606,
0.040990252047777176,
0.22394606471061707,
-0.07687823474407196,
0.14623956382274628,
-0.3174356520175934,
-0.4449303448200226,
0.19531893730163574,
0.19565173983573914,
0.19788619875907898,
-0.23923353850841522,
-0.40858110785484314,
-0.20582851767539978,
-0.31855764985084534,
-0.02600705623626709,
0.09209498763084412,
0.1619109958410263,
0.2620919346809387,
-0.016816571354866028,
0.14514592289924622,
-0.14122943580150604,
-0.41091153025627136,
-0.22375094890594482,
0.14025744795799255,
-0.15595842897891998,
0.04734145849943161,
-0.03089352883398533,
0.020561357960104942,
-0.042995281517505646,
-0.05410138890147209,
0.22043897211551666,
-0.007438492029905319,
-0.06592407077550888,
-0.014417896047234535,
0.18812015652656555,
0.2925789952278137,
0.2620924711227417,
-0.10036163777112961,
0.1350557953119278,
-0.03980385512113571,
-0.11022250354290009,
0.1786547601222992,
-0.45559269189834595,
-0.3714018762111664,
-0.386851966381073,
0.3069489300251007,
0.10107319056987762,
-0.06401349604129791,
0.05108840391039848,
0.350568562746048,
-0.026225440204143524,
-0.30185040831565857,
0.24502578377723694,
0.04663807898759842,
-0.3025090992450714,
-0.12028106302022934,
0.4173964262008667,
0.0510958656668663,
-0.2951800525188446,
-0.10044144093990326,
-0.34459710121154785,
-0.18482403457164764,
0.13872145116329193,
0.301785409450531,
-0.18147504329681396,
0.10769199579954147,
-0.14810742437839508,
0.34212785959243774,
0.4606799781322479,
-0.17814922332763672,
0.05561353266239166,
0.25051745772361755,
-0.11754826456308365,
-0.22732608020305634,
0.20544293522834778,
-0.19335004687309265,
0.2599639594554901,
0.020392868667840958,
0.22063444554805756,
0.18599924445152283,
-0.20193415880203247,
0.00042484700679779053,
-0.18613409996032715,
-0.34606388211250305,
-0.08260636031627655,
0.2893960475921631,
0.34438449144363403,
-0.02643837034702301,
0.1521429717540741,
0.2326381653547287,
0.40134212374687195,
-0.09780058264732361,
0.039532750844955444,
-0.17952722311019897,
0.2680247724056244,
0.03645576536655426,
0.01429820992052555,
-0.3141300678253174,
-0.04917021840810776,
0.08933808654546738,
0.23642992973327637,
0.1884886622428894,
0.262589693069458,
-0.3152824640274048,
-0.13856402039527893,
-0.03797169402241707,
-0.2167513221502304,
-0.1852196902036667,
0.2030443549156189,
-0.22342991828918457,
0.16659094393253326,
0.13096794486045837,
-0.2318871170282364,
-0.07612203806638718,
0.07852558046579361,
0.10114876180887222,
-0.09263122081756592,
0.37664806842803955,
-0.18671728670597076,
0.024043453857302666,
-0.10805749148130417,
0.28269341588020325,
-0.15284043550491333,
-0.17570295929908752,
0.015373213216662407,
0.49656182527542114,
0.07840399444103241,
0.007415659725666046,
-0.15416675806045532,
-0.1576344519853592,
0.17587631940841675,
-0.10480249673128128,
-0.2079407125711441,
0.1529196798801422,
0.03752276673913002,
-0.03897297382354736,
-0.06300178170204163,
0.05997388809919357,
-0.21784265339374542,
0.0028711259365081787,
0.13744023442268372,
-0.01673424057662487,
0.16932383179664612,
-0.22610662877559662,
-0.07287651300430298,
-0.2154192477464676,
-0.11331725120544434,
-0.41879233717918396,
-0.05507927015423775,
-0.23964513838291168,
-0.05394970625638962,
-0.0510094091296196,
0.6584964394569397,
0.003059346228837967,
0.008692026138305664,
0.1261999011039734,
-0.009948961436748505,
-0.029541565105319023,
0.011197876185178757,
0.26072630286216736,
0.38459670543670654,
0.29404082894325256,
0.22946810722351074,
-0.03737965226173401,
0.23798325657844543,
-0.15855437517166138,
0.3484204113483429,
0.3722724914550781,
0.031020935624837875,
0.23180276155471802,
0.015953000634908676,
-0.022354811429977417,
-0.12234364449977875,
-0.0004514157772064209,
0.0577879399061203,
0.17607031762599945,
-0.16145211458206177,
-0.2452932745218277,
-0.23666049540042877,
-0.10835911333560944,
-0.012904622592031956,
-0.21666811406612396,
0.08005107194185257,
-0.5116694569587708,
0.33870071172714233,
0.013356547802686691,
-0.16085003316402435,
0.22829607129096985,
-0.08344568312168121,
0.26219281554222107,
-0.04833380877971649,
-0.0668564960360527,
0.028618372976779938,
0.16069476306438446,
0.034278031438589096,
0.33292844891548157,
0.03479264676570892,
-0.14829672873020172,
0.39932459592819214,
-0.13734452426433563,
-0.13666626811027527,
0.1263553351163864,
-0.36307233572006226,
0.21116429567337036,
-0.2540592551231384,
-0.219299778342247,
0.42167747020721436,
-0.12748530507087708,
0.26772934198379517,
-0.4654211103916168,
0.11578144878149033,
-0.4472276568412781,
-0.1381753385066986,
-0.2592731714248657,
0.1298016756772995,
0.09727492183446884,
-0.5455913543701172,
-0.5470925569534302,
-0.11834394186735153,
-0.6588447093963623,
0.5340901613235474,
-0.02959398925304413,
-0.062009379267692566,
-0.18715402483940125,
0.12744975090026855,
0.15983210504055023,
0.06940313428640366,
-0.25454944372177124,
-0.18277814984321594,
0.10818144679069519,
-0.04331269487738609,
-0.19004981219768524,
-0.021660100668668747,
0.05762561783194542,
-0.01384995598345995,
0.032909996807575226,
-0.27215057611465454,
-0.07042166590690613,
-0.3534987270832062,
-0.31607022881507874,
0.08854830265045166,
-0.24687042832374573,
-0.005946984514594078,
0.3031577169895172,
0.0749644860625267,
-0.22497767210006714,
0.08468983322381973,
-0.21624921262264252,
-0.09649617224931717,
0.03073192946612835,
-0.15720611810684204,
0.000032899901270866394,
0.32519394159317017,
0.23604223132133484,
0.6010838747024536,
0.19513943791389465,
0.1760461926460266,
0.17785164713859558,
-0.1516980081796646,
0.16539889574050903,
-0.28938552737236023,
-0.4889127314090729,
0.0303064975887537,
-0.12097027897834778,
0.01959053799510002,
0.37975090742111206,
0.09821146726608276,
-0.16670148074626923,
-0.2874060273170471,
-0.09255136549472809,
-0.09117545187473297,
-0.2666603922843933,
0.020560892298817635,
-0.08354130387306213,
0.13941359519958496,
-0.31909123063087463,
0.03274129331111908,
0.20078633725643158,
0.08753177523612976,
0.02400810644030571,
0.2140600085258484,
0.08469793200492859,
-0.07191097736358643,
-0.27306246757507324,
-0.011110805906355381,
-0.23697295784950256,
0.25569409132003784,
0.2147679179906845,
0.16338805854320526,
-0.06507732719182968,
-0.2770908772945404,
0.07186770439147949,
-0.054986484348773956,
0.6307282447814941,
-0.23653550446033478,
-0.3698800802230835,
0.04186997190117836,
0.08423234522342682,
0.19313973188400269,
-0.009527310729026794,
-0.13833262026309967,
0.29541483521461487,
0.4205474257469177,
0.15346713364124298,
-0.21784964203834534,
-0.24761392176151276,
0.7191065549850464,
-0.02534407749772072,
0.0272311232984066,
-0.10927718132734299,
-0.24310937523841858,
0.038072988390922546,
-0.3872505724430084,
0.01602000743150711,
0.4328611493110657,
-0.034720517694950104,
-0.10721953958272934,
-0.17117629945278168,
0.08056461811065674,
-0.49508196115493774,
0.12075842916965485,
0.07321706414222717,
0.07994626462459564,
-0.009778783656656742,
0.08204153180122375,
-0.06320017576217651,
-0.1535986363887787,
0.13246481120586395,
0.47324642539024353,
-0.30967819690704346,
-0.4687654376029968,
0.07241913676261902,
-0.08416751027107239,
0.5058498978614807,
0.24069839715957642,
-0.12385834753513336,
0.33245420455932617,
-0.14853136241436005,
0.30374693870544434,
-0.10354895889759064,
0.141628697514534,
0.19489489495754242,
-0.20263125002384186,
-0.31179189682006836,
-0.31660839915275574,
0.19675883650779724,
0.10771684348583221,
0.08980560302734375,
0.21445944905281067,
0.31755125522613525,
-0.17517529428005219,
0.25356775522232056,
-0.2755703330039978,
0.6252754926681519,
0.06277590245008469,
0.12546373903751373,
-0.004297308623790741,
-0.24038603901863098,
0.5783758163452148,
-0.21297895908355713,
0.3391222357749939,
-0.19076098501682281,
0.0849422812461853,
-0.046017423272132874,
0.08017803728580475,
0.32228466868400574,
-0.1941719800233841,
-0.4286159873008728,
0.24612130224704742,
0.18094749748706818,
0.08885256201028824,
-0.058027930557727814,
0.3315141201019287,
-0.06047382205724716,
-0.1115383505821228,
0.12536638975143433,
0.17734123766422272,
-0.0851420909166336,
-0.22660547494888306,
0.10540895909070969,
-0.14099417626857758,
0.12845149636268616,
-0.09568309783935547,
-0.3482356071472168,
-0.11354680359363556,
0.005538805853575468,
0.12211248278617859,
0.03250182792544365,
-0.10796491801738739,
0.4871070683002472,
-0.11277332901954651,
0.08183413743972778,
0.19706572592258453,
-0.14956919848918915,
0.07970868051052094,
-0.16596633195877075,
0.01387047115713358,
-0.16882362961769104,
0.043011002242565155,
0.3077436685562134,
0.003694552928209305,
-0.019892044365406036,
0.01890932023525238,
-0.09791872650384903,
-0.4460694193840027,
-0.41492563486099243,
0.4679059386253357,
0.44813692569732666,
-0.5112910866737366,
-0.1311599612236023,
0.09353290498256683,
-0.024876669049263,
-0.48202431201934814,
0.1948753148317337,
-0.08687618374824524,
-0.17237812280654907,
0.01720619574189186,
-0.09214462339878082,
-0.20080997049808502,
-0.0711599588394165,
0.047581423074007034,
-0.0033248476684093475,
0.06822970509529114,
0.2169554978609085,
0.03911908343434334,
-0.12683860957622528,
-0.26529887318611145,
-0.01641683652997017,
0.22639231383800507,
-0.3691404163837433,
0.24370554089546204,
0.03235195204615593,
-0.13605955243110657,
0.3562563955783844,
0.10047104954719543,
-0.030159853398799896,
0.34963420033454895,
-0.17868918180465698,
-0.08282595127820969,
0.03994402289390564,
0.055788811296224594,
-0.2046802043914795,
0.32013943791389465,
0.31442710757255554,
0.6054140329360962,
0.015777302905917168,
0.012015714310109615,
-0.3761831223964691,
0.07879846543073654,
-0.03411544859409332,
0.06695268303155899,
-0.09939228743314743,
-0.3123297393321991,
0.1300336718559265,
-0.04593682661652565,
0.2437877058982849,
0.034569717943668365,
-0.09418511390686035,
-0.2685813903808594,
0.13405615091323853,
0.10660766065120697,
0.15726399421691895,
0.17781908810138702,
0.02336367964744568,
0.09151145070791245,
-0.25514182448387146,
0.001899986993521452,
0.16249580681324005,
-0.035052474588155746,
-0.10409164428710938,
0.41431334614753723,
0.3165324032306671,
0.0345623679459095,
-0.0442289337515831,
-0.04803448170423508,
-0.06117047369480133,
0.1667937934398651,
-0.12068513035774231,
0.286967009305954,
0.001254680217243731,
0.10064041614532471,
0.12998877465724945,
0.1887854039669037,
0.35262465476989746,
0.20949536561965942,
0.07469672709703445,
-0.09752459824085236,
-0.08882685005664825,
-0.26593145728111267,
0.49085959792137146,
0.1939263492822647,
0.03925685957074165,
0.1099214106798172,
0.21071115136146545,
0.25538262724876404,
-0.2446393519639969,
-0.06784605979919434,
0.1081492155790329,
0.06355945765972137,
0.31401070952415466,
0.29424384236335754,
0.32744100689888,
0.19930094480514526,
0.04188485071063042,
0.26852723956108093,
0.25624561309814453,
-0.16566509008407593,
0.3739199936389923,
0.5463463068008423,
-0.17494213581085205,
-0.0043490976095199585,
-0.021548820659518242,
-0.4398155212402344,
0.07206764817237854,
0.19463780522346497,
-0.2122381627559662,
0.6381120085716248,
0.1900756061077118,
0.006386656314134598,
0.3163774907588959,
-0.0564521849155426,
0.020141877233982086,
-0.2701624631881714,
-0.14464300870895386,
0.08123722672462463,
0.1967308074235916,
0.4162885844707489,
-0.4357021152973175,
-0.02215154841542244,
-0.04306723177433014,
-0.06113818660378456,
-0.113871268928051,
-0.027557596564292908,
0.1991487592458725,
0.03166171908378601,
-0.28176307678222656,
-0.07863498479127884,
0.21529066562652588,
0.14785172045230865,
0.44805097579956055,
-0.16959621012210846,
0.1845027506351471,
0.18473568558692932,
0.037871696054935455,
-0.06707795709371567,
0.18510334193706512,
-0.1394481360912323,
-0.16987358033657074,
0.1677444577217102,
-0.22959282994270325,
0.03247850388288498,
0.05077379196882248,
0.45781850814819336,
0.03137412294745445,
-0.0040346309542655945,
-0.3233793079853058,
-0.08626417815685272,
-0.14328110218048096,
0.048519231379032135,
0.15415550768375397,
0.0659533143043518,
0.18714523315429688,
0.2213485836982727,
0.24845564365386963,
-0.2786683440208435,
0.10474845767021179,
-0.1432589292526245,
0.02238333970308304,
-0.5617952346801758,
0.5908625721931458,
0.045973025262355804,
-0.24392449855804443,
-0.02675313502550125,
0.19313201308250427,
-0.44968003034591675,
-0.17520497739315033,
0.07081102579832077,
-0.25557446479797363,
-0.08817844837903976,
-0.2507384121417999,
0.12294314801692963,
0.20711752772331238,
0.2325747311115265,
-0.027779515832662582,
0.014189992100000381,
0.10807612538337708,
0.019866392016410828,
-0.1908278912305832,
0.025289759039878845,
0.03463466838002205,
0.013309856876730919,
-0.17177307605743408,
0.1379019170999527,
0.1571999490261078,
0.15962840616703033,
0.07017470896244049,
-0.18693238496780396,
0.3401385545730591,
-0.08626450598239899,
-0.14612729847431183,
0.14840932190418243,
0.17100416123867035,
-0.12557265162467957,
0.11874784529209137,
-0.15142017602920532,
0.12099843472242355,
-0.02968427911400795,
0.038788847625255585,
-0.09349671006202698,
-0.15261945128440857,
0.5448756814002991,
-0.029297903180122375,
0.10961254686117172,
0.13765168190002441,
0.1563597172498703,
-0.39898520708084106,
0.23287299275398254,
-0.10164280235767365,
-0.18873552978038788,
-0.48324599862098694,
0.3007861077785492,
0.06447279453277588,
0.19497157633304596,
-0.23103509843349457,
-0.21213488280773163,
-0.20220886170864105,
0.021526165306568146,
-0.064003124833107,
0.20280756056308746,
-0.3978111147880554,
0.33063602447509766,
0.057474300265312195,
0.062433235347270966,
0.2277003824710846,
0.32766833901405334,
-0.11808104813098907,
-0.27161115407943726,
-0.20349285006523132,
-0.6266882419586182,
0.0736144632101059,
0.03599419444799423,
-0.3064543604850769,
-0.18687309324741364,
0.04253329336643219,
0.5514175295829773,
0.17215003073215485,
-0.6538493633270264,
-0.3601939082145691,
0.2351510226726532,
0.19430437684059143,
-0.024342935532331467,
0.4894599914550781,
0.1271638572216034,
-0.1218332052230835,
-0.045432671904563904,
-0.08353468775749207,
0.26918238401412964,
-0.2535255551338196,
0.37578555941581726,
-0.2799829840660095
] |
https://github.com/huggingface/datasets/pull/2258 | Fix incorrect update_metadata_with_features calls in ArrowDataset | @lhoestq Maybe a test that runs the functions that call `update_metadata_with_features` and checks if metadata was updated would be nice to prevent this from happening in the future. | Fixes bugs in the `unpdate_metadata_with_features` calls (caused by changes in #2151) | 28 | text: Fix incorrect update_metadata_with_features calls in ArrowDataset
Fixes bugs in the `unpdate_metadata_with_features` calls (caused by changes in #2151)
@lhoestq Maybe a test that runs the functions that call `update_metadata_with_features` and checks if metadata was updated would be nice to prevent this from happening in the future. | [
0.01390320435166359,
0.06436161696910858,
-0.15902814269065857,
-0.03776762634515762,
0.12517476081848145,
-0.2545108497142792,
0.19795061647891998,
0.5406834483146667,
-0.32040396332740784,
-0.0531807541847229,
0.23419132828712463,
0.7032552361488342,
-0.06154172867536545,
-0.21772632002830505,
-0.36041879653930664,
0.11999808251857758,
0.02999422699213028,
0.12560078501701355,
-0.2501540184020996,
-0.08297094702720642,
-0.16779477894306183,
0.14209826290607452,
-0.09526550769805908,
-0.006078377366065979,
-0.3327370285987854,
-0.08137636631727219,
0.1653408706188202,
0.21305391192436218,
-0.07023771107196808,
-0.5678837895393372,
-0.14706207811832428,
-0.008401930332183838,
-0.3818879723548889,
0.1341327279806137,
-0.0001017906324705109,
-0.14644306898117065,
0.4617179036140442,
0.004575086757540703,
-0.2783961594104767,
0.2453860491514206,
-0.10918940603733063,
-0.120383620262146,
0.2818216383457184,
-0.11140565574169159,
0.18379002809524536,
-0.3848007619380951,
-0.2911266088485718,
-0.199067622423172,
0.08565693348646164,
0.22222566604614258,
0.3957996368408203,
-0.04312343895435333,
0.03872884437441826,
-0.07934331148862839,
0.22586488723754883,
0.13685667514801025,
-0.04674645885825157,
0.11111710965633392,
0.14642010629177094,
0.054087914526462555,
0.032127443701028824,
0.7023901343345642,
-0.188727006316185,
0.0008161161094903946,
0.2249131202697754,
-0.20232577621936798,
0.14965468645095825,
-0.29792550206184387,
0.35484805703163147,
-0.08943765610456467,
0.5438608527183533,
-0.1406373381614685,
-0.004343400243669748,
-0.029280509799718857,
-0.14350585639476776,
-0.11107341945171356,
0.31524839997291565,
-0.11150037497282028,
0.06340065598487854,
-0.10100841522216797,
0.3106216788291931,
-0.3374781608581543,
0.04551517218351364,
-0.07728077471256256,
0.04924111068248749,
0.38090524077415466,
0.021930620074272156,
-0.06892090290784836,
0.13791421055793762,
-0.28727948665618896,
0.03510436788201332,
0.30381664633750916,
-0.4333706498146057,
0.0412866435945034,
0.03611675649881363,
-0.12014396488666534,
0.11332116276025772,
-0.43528321385383606,
0.008073456585407257,
0.40389037132263184,
0.029114961624145508,
0.3196597397327423,
-0.16182594001293182,
0.007172092795372009,
-0.01170925423502922,
0.025212932378053665,
0.46633169054985046,
0.06922685354948044,
0.14375868439674377,
-0.15121792256832123,
0.017181459814310074,
-0.030544057488441467,
0.0905366837978363,
-0.2556048631668091,
0.27002352476119995,
0.18158680200576782,
0.44694167375564575,
-0.41291141510009766,
0.009121494367718697,
0.17631296813488007,
-0.10901731252670288,
-0.06070864945650101,
-0.20080390572547913,
0.05919332802295685,
0.12297604978084564,
0.06456579267978668,
0.05145599693059921,
0.029819833114743233,
-0.0212373249232769,
-0.0005790200084447861,
-0.16858631372451782,
-0.02848120406270027,
-0.2095593512058258,
0.06463667750358582,
0.15622538328170776,
-0.007234528660774231,
0.22980959713459015,
0.08593127876520157,
-0.2349851280450821,
-0.33342209458351135,
0.13573051989078522,
0.08784522116184235,
0.29929518699645996,
0.27766746282577515,
-0.39270180463790894,
0.15433752536773682,
0.014649001881480217,
0.2075778990983963,
-0.045606378465890884,
0.2980992794036865,
-0.34300529956817627,
-0.3639422655105591,
-0.47615814208984375,
0.37538477778434753,
0.1785491406917572,
-0.004613429307937622,
0.17089498043060303,
-0.01623215526342392,
-0.11022690683603287,
-0.11836233735084534,
0.4014158844947815,
0.22137108445167542,
0.1733836531639099,
-0.06988498568534851,
-0.20933620631694794,
0.15906259417533875,
-0.26397427916526794,
0.1600082814693451,
-0.1273026317358017,
0.07027826458215714,
0.1126134842634201,
0.01141035184264183,
-0.2468692809343338,
-0.1284695565700531,
-0.11684876680374146,
0.1846502274274826,
0.28402402997016907,
-0.3775674104690552,
-0.10609488934278488,
0.024517878890037537,
-0.13127905130386353,
-0.08804895728826523,
-0.12129557877779007,
-0.1915658712387085,
0.028146907687187195,
-0.048082660883665085,
-0.1373172402381897,
-0.20668040215969086,
0.21858198940753937,
0.0976090058684349,
-0.554476261138916,
-0.07758338749408722,
-0.06333212554454803,
-0.1856744885444641,
0.08131734281778336,
-0.07244846969842911,
0.07753189653158188,
-0.04017097130417824,
0.23452571034431458,
0.04291621595621109,
0.03867463767528534,
0.10606137663125992,
0.6038615703582764,
-0.010984264314174652,
0.16566060483455658,
0.15376180410385132,
-0.31251561641693115,
0.025975048542022705,
0.09199591726064682,
-0.005849894136190414,
-0.16158588230609894,
-0.28187260031700134,
-0.1816895306110382,
-0.11145668476819992,
-0.03600529953837395,
-0.19271892309188843,
0.3056904375553131,
0.1943657547235489,
-0.2561793029308319,
-0.02915584109723568,
-0.2088872790336609,
-0.02311190403997898,
-0.011636177077889442,
0.10226636379957199,
0.15747669339179993,
-0.016218401491642,
0.09031089395284653,
-0.16436299681663513,
-0.07294708490371704,
0.015209458768367767,
0.19121021032333374,
-0.10997159779071808,
-0.2824748158454895,
0.43563148379325867,
0.13879132270812988,
0.1387738287448883,
-0.013364538550376892,
0.23878037929534912,
0.03387727588415146,
-0.1522180289030075,
-0.1326284557580948,
0.16357161104679108,
0.018400732427835464,
-0.010135412216186523,
-0.09020782262086868,
0.13620665669441223,
0.08410942554473877,
0.06624376773834229,
-0.08804108202457428,
-0.03661971166729927,
0.23206278681755066,
-0.059447769075632095,
-0.08851703256368637,
-0.26115334033966064,
-0.3199572265148163,
0.09748250246047974,
0.09083341062068939,
0.04363454133272171,
-0.10343556106090546,
0.32568272948265076,
0.32884836196899414,
0.24700471758842468,
0.16477027535438538,
0.2316845953464508,
-0.14530280232429504,
-0.07712282240390778,
0.13357481360435486,
-0.14277440309524536,
0.17121931910514832,
0.1149233803153038,
-0.027102086693048477,
0.08199520409107208,
0.18384622037410736,
-0.21377608180046082,
0.3100278973579407,
0.1507754623889923,
0.2606627643108368,
0.29466965794563293,
0.2363392561674118,
-0.030442271381616592,
-0.3012937605381012,
-0.06358127295970917,
0.0398743599653244,
0.27496546506881714,
-0.1229889988899231,
-0.03998516499996185,
-0.2276163399219513,
-0.2512175738811493,
-0.17248854041099548,
-0.35410276055336,
-0.23491808772087097,
-0.2689335346221924,
0.2463778555393219,
0.2690458595752716,
-0.450090616941452,
0.3254212737083435,
-0.04537101089954376,
0.3881107568740845,
-0.0729011595249176,
0.005979498848319054,
-0.32613545656204224,
-0.13982979953289032,
-0.12849432229995728,
0.14487843215465546,
0.14975778758525848,
0.032940104603767395,
0.2164992392063141,
0.251670241355896,
0.2879379987716675,
-0.31796419620513916,
-0.5528817176818848,
-0.07078968733549118,
0.1487935483455658,
-0.3244871497154236,
0.0018048584461212158,
-0.17203743755817413,
0.1193528026342392,
-0.3291836678981781,
-0.14034444093704224,
-0.16798394918441772,
-0.0660269632935524,
-0.1385505497455597,
-0.027271758764982224,
0.268921822309494,
-0.35710152983665466,
-0.27205023169517517,
0.10626131296157837,
-0.4576205909252167,
0.20168153941631317,
-0.014196928590536118,
0.13029618561267853,
0.30423447489738464,
-0.1136603057384491,
0.07874595373868942,
-0.3369484841823578,
-0.0054458193480968475,
-0.18544957041740417,
0.21124926209449768,
-0.011197943240404129,
-0.1859530657529831,
-0.061064478009939194,
0.037854451686143875,
0.050812892615795135,
0.3475353419780731,
0.09776477515697479,
-0.2207404375076294,
-0.22071681916713715,
-0.006848243996500969,
0.021038461476564407,
-0.3119271695613861,
-0.3976544737815857,
0.3615976572036743,
0.32658612728118896,
-0.38840681314468384,
-0.15576405823230743,
0.00775594636797905,
0.20527726411819458,
0.020516952499747276,
0.021560795605182648,
-0.32654666900634766,
0.06435050815343857,
-0.21205200254917145,
0.3706510663032532,
-0.2380204051733017,
-0.03691839054226875,
0.13589313626289368,
0.06568233668804169,
0.2922542691230774,
-0.1478748619556427,
0.001492273062467575,
-0.3188439607620239,
0.044563569128513336,
0.1301039606332779,
0.2506091594696045,
-0.21337884664535522,
-0.41981422901153564,
0.0643487274646759,
0.06905296444892883,
-0.27862629294395447,
-0.26853442192077637,
0.17474694550037384,
-0.21991601586341858,
0.05921183526515961,
0.07171115279197693,
0.20891717076301575,
-0.11001034080982208,
-0.0758894830942154,
0.2939754128456116,
-0.09399190545082092,
0.07087631523609161,
-0.17007875442504883,
-0.02443474903702736,
0.02039855159819126,
-0.06107770651578903,
0.22068601846694946,
-0.09226768463850021,
0.4312317967414856,
-0.07320178300142288,
-0.4125024974346161,
0.11853347718715668,
0.00019912142306566238,
0.12465816736221313,
-0.0378752127289772,
0.026294870302081108,
0.16628853976726532,
0.1448093205690384,
-0.00783471204340458,
-0.2847805619239807,
-0.18535789847373962,
0.3501182794570923,
0.07228276133537292,
0.5659621953964233,
-0.14181649684906006,
-0.06169072911143303,
-0.03647984564304352,
-0.2602214217185974,
0.01981460675597191,
0.26642921566963196,
-0.11507086455821991,
-0.0921090766787529,
-0.1829986274242401,
0.19053778052330017,
0.13763949275016785,
0.030064338818192482,
-0.16709598898887634,
-0.12445926666259766,
-0.20754998922348022,
-0.1330694556236267,
-0.16522274911403656,
0.09676848351955414,
0.4414263963699341,
0.031015213578939438,
0.1619899570941925,
-0.05708121508359909,
0.21339531242847443,
0.2427375614643097,
0.3599105179309845,
0.2034100741147995,
0.01643960177898407,
-0.015441931784152985,
-0.37463364005088806,
0.1972048133611679,
0.29843491315841675,
0.05349552258849144,
0.44023939967155457,
-0.3899976909160614,
0.10490182042121887,
0.034617502242326736,
0.034729551523923874,
0.21093660593032837,
-0.08427345007658005,
0.03969072923064232,
-0.0010788701474666595,
0.5431244969367981,
0.11123107373714447,
-0.24675507843494415,
0.6422134637832642,
-0.0009622126817703247,
-0.12613049149513245,
0.19551034271717072,
0.3903375566005707,
0.9149960279464722,
0.3909416198730469,
-0.11479246616363525,
-0.030651655048131943,
-0.3757339119911194,
0.34003639221191406,
-0.12354939430952072,
0.05065462365746498,
-0.39323583245277405,
-0.026502229273319244,
0.15590210258960724,
0.08608317375183105,
0.009953059256076813,
-0.08018799126148224,
-0.3820192515850067,
-0.17522190511226654,
-0.2205227017402649,
0.0531250424683094,
0.04357930272817612,
0.009165741503238678,
0.16211175918579102,
-0.016784340143203735,
0.07063266634941101,
0.22604161500930786,
-0.0246724933385849,
0.2500254213809967,
-0.1371038556098938,
-0.18675832450389862,
0.12513244152069092,
-0.2998529076576233,
-0.16294166445732117,
0.07018715888261795,
0.08664610981941223,
0.15128017961978912,
0.12768319249153137,
0.06487928330898285,
-0.20641544461250305,
-0.5502802133560181,
0.07406818121671677,
0.0758698433637619,
-0.15575973689556122,
0.215309739112854,
0.3431345820426941,
0.14808110892772675,
-0.006926294416189194,
0.12256331741809845,
0.2707061767578125,
-0.20270851254463196,
-0.05346738547086716,
0.18691985309123993,
-0.1482432633638382,
-0.17581062018871307,
-0.30913853645324707,
0.06781379878520966,
-0.16733355820178986,
0.06862027943134308,
0.09398907423019409,
0.1497940719127655,
-0.27689415216445923,
-0.08900777995586395,
0.2900828719139099,
-0.259952187538147,
-0.09257395565509796,
0.08834685385227203,
0.26050254702568054,
-0.3882189095020294,
0.07095848023891449,
0.29641908407211304,
-0.048813410103321075,
0.01360936090350151,
0.35146525502204895,
-0.20277822017669678,
-0.08030533790588379,
-0.4006667733192444,
-0.34295791387557983,
0.1148032397031784,
-0.5714116096496582,
0.1966041475534439,
-0.19228753447532654,
-0.15593908727169037,
0.2644064426422119,
0.12856589257717133,
0.03020298480987549,
0.27908459305763245,
-0.2119244486093521,
-0.0037131160497665405,
-0.22454936802387238,
0.09162123501300812,
-0.2241186946630478,
0.17884491384029388,
-0.50504469871521,
-0.11968870460987091,
0.02676033414900303,
0.06547720730304718,
-0.4725576341152191,
0.14394788444042206,
0.0264700036495924,
0.20351147651672363,
-0.0944509208202362,
-0.029098331928253174,
-0.2327580749988556,
0.009327638894319534,
0.13721062242984772,
0.3595202565193176,
-0.0670815035700798,
-0.3541605472564697,
-0.07900165021419525,
0.09731563180685043,
0.0023011676967144012,
0.05991797149181366,
-0.06263860315084457,
0.013488233089447021,
-0.12418785691261292,
0.135903000831604,
-0.02445143088698387,
-0.13791786134243011,
-0.01190512627363205,
0.17886121571063995,
0.24045786261558533,
0.20083379745483398,
0.09539535641670227,
0.050478801131248474,
0.12329388409852982,
0.08169139176607132,
-0.12396740168333054,
0.0269334577023983,
-0.15817368030548096,
-0.11138980090618134,
0.19346068799495697,
0.12383313477039337,
-0.274649977684021,
0.12726783752441406,
-0.06377450376749039,
-0.06082487106323242,
0.05254371836781502,
-0.038574084639549255,
0.08935905247926712,
0.2724023461341858,
-0.06439483910799026,
-0.5281583666801453,
0.22587725520133972,
0.4083178639411926,
-0.30441659688949585,
-0.34834858775138855,
-0.21062558889389038,
0.0010858532041311264,
-0.003976393491029739,
-0.0443766787648201,
0.34349963068962097,
-0.2027054727077484,
0.34612566232681274,
0.3807206153869629,
-0.13079090416431427,
-0.29688483476638794,
0.11706630885601044,
0.27211853861808777,
-0.2537368834018707,
-0.13811345398426056,
0.34949761629104614,
0.029295120388269424,
0.24648022651672363,
0.3526765704154968,
0.05363842844963074,
0.5818411111831665,
0.4941549599170685,
-0.2135390341281891,
0.10586503893136978,
-0.11027804017066956,
-0.04606606438755989,
0.16588792204856873,
0.17631587386131287,
0.24828267097473145,
0.295457661151886,
0.06188458949327469,
0.14554797112941742,
-0.3618289828300476,
-0.07874239981174469,
0.004919715225696564,
-0.22847390174865723,
0.024222366511821747,
0.051185399293899536,
-0.2131023406982422,
-0.34028172492980957,
0.01752837374806404,
-0.017457570880651474,
0.35846561193466187,
0.45874395966529846,
-0.0875200480222702,
-0.21238087117671967,
-0.06441511958837509,
-0.1152712032198906,
-0.007940471172332764,
0.4830562174320221,
-0.12481386959552765,
0.0024057887494564056,
0.07401169836521149,
-0.12337678670883179,
0.21359503269195557,
0.2274804264307022,
0.19039243459701538,
0.3878297209739685,
-0.10036243498325348,
-0.04325671121478081,
-0.19306516647338867,
0.022581735625863075,
0.022075168788433075,
0.34079933166503906,
0.2237166166305542,
-0.11889447271823883,
0.05852724239230156,
0.24714431166648865,
-0.324895441532135,
0.17843733727931976,
-0.11922241747379303,
0.0050271740183234215,
0.10043133795261383,
0.20361028611660004,
0.32063159346580505,
-0.29834774136543274,
-0.12861914932727814,
-0.08848153799772263,
-0.1234801858663559,
-0.46393710374832153,
0.3158683776855469,
0.26542532444000244,
-0.04477120190858841,
-0.12963861227035522,
0.1681375652551651,
-0.02396291494369507,
0.7275873422622681,
0.11747606843709946,
-0.1815030574798584,
0.12194515764713287,
-0.302111953496933,
-0.5119935274124146,
0.3040795624256134,
-0.1339440941810608,
0.03058302216231823,
0.2789989411830902,
0.004600869491696358,
0.0846465528011322,
-0.014892488718032837,
0.09039981663227081,
-0.2102208435535431,
0.09948360919952393,
-0.2876053750514984,
-0.6075807809829712,
0.25612691044807434,
0.032424844801425934,
-0.22044648230075836,
0.09612835198640823,
-0.30380910634994507,
0.17144010961055756,
-0.06314757466316223,
0.3115079998970032,
0.05343140661716461,
-0.4396440386772156,
0.14821481704711914,
0.4371759593486786,
0.5015617609024048,
-0.0882713794708252,
0.09123554080724716,
-0.051505133509635925,
-0.1771874874830246,
-0.22209322452545166,
-0.18913380801677704,
-0.010673089884221554,
0.18578916788101196,
0.2483377754688263,
0.10404913127422333,
0.19039000570774078,
0.11808443069458008,
-0.34375542402267456,
0.33249709010124207,
-0.009299557656049728,
0.23469096422195435,
-0.2620072066783905,
0.15699101984500885,
0.1662372350692749,
0.049404799938201904,
-0.16486720740795135,
0.24612581729888916,
0.0626954510807991,
0.14419715106487274,
-0.5084525346755981,
-0.5291516780853271,
0.7098410725593567,
0.00024245865643024445,
-0.3612726330757141,
-0.045485977083444595,
0.5525667667388916,
0.3832095265388489,
-0.17866119742393494,
-0.46988824009895325,
-0.1533583104610443,
0.2516053020954132,
-0.0009913388639688492,
-0.11487969756126404,
0.13083328306674957,
-0.16114574670791626,
0.021256040781736374,
-0.10697625577449799,
0.30539870262145996,
0.09053294360637665,
0.16075505316257477,
-0.07863061875104904,
-0.15045200288295746
] |
https://github.com/huggingface/datasets/pull/2257 | added metrics for CUAD | > For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
@bhavitvyamalik I guess the mentioned metrics are enough but it would be better if exact match is also added since the standard SQUAD dataset also has it. | For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here | 61 | text: added metrics for CUAD
For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
> For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
@bhavitvyamalik I guess the mentioned metrics are enough but it would be better if exact match is also added since the standard SQUAD dataset also has it. | [
-0.4121716618537903,
-0.25697141885757446,
-0.07395990937948227,
-0.2770213484764099,
0.23605531454086304,
-0.10657212883234024,
0.3339574337005615,
-0.05211113020777702,
0.11754678189754486,
0.35555335879325867,
0.07845918089151382,
-0.24752186238765717,
0.24921561777591705,
0.09394329786300659,
0.2220626324415207,
0.19357702136039734,
0.024096712470054626,
-0.005959130823612213,
0.365230917930603,
-0.17466485500335693,
-0.3161560595035553,
0.024083388969302177,
-0.21272562444210052,
-0.20381595194339752,
-0.29185250401496887,
0.027013368904590607,
0.0030718017369508743,
-0.07281412929296494,
-0.02687644772231579,
-0.19587568938732147,
0.07153874635696411,
0.14250528812408447,
0.033598221838474274,
-0.11532174795866013,
-0.00011017907672794536,
-0.2183615267276764,
0.1835085153579712,
-0.2625558078289032,
-0.09916538000106812,
0.10147913545370102,
-0.2953219711780548,
-0.2984040379524231,
0.12453563511371613,
-0.3447231352329254,
-0.07009494304656982,
0.5768015384674072,
0.02414233237504959,
-0.08598104864358902,
0.5347655415534973,
0.3493860065937042,
0.20941755175590515,
-0.05055899918079376,
0.17000460624694824,
-0.255042165517807,
-0.21682485938072205,
0.021824922412633896,
-0.3141991198062897,
-0.04128231108188629,
0.42952749133110046,
0.26576995849609375,
-0.11004873365163803,
0.3064499497413635,
0.18595871329307556,
0.18897637724876404,
0.22122901678085327,
0.2528434097766876,
0.22731569409370422,
-0.10755565762519836,
0.17289066314697266,
0.1726652979850769,
0.17502766847610474,
-0.22412195801734924,
-0.5475226044654846,
0.02009616047143936,
0.08841609209775925,
-0.5347520112991333,
0.02415449544787407,
-0.07801597565412521,
-0.09513144195079803,
0.0019648969173431396,
-0.1741684526205063,
-0.027731338515877724,
-0.11183108389377594,
-0.09349440038204193,
-0.08952890336513519,
0.14301586151123047,
0.053935855627059937,
-0.28810247778892517,
0.051665011793375015,
0.015407033264636993,
-0.15069828927516937,
0.21491162478923798,
0.17116335034370422,
0.08253879845142365,
-0.4588530659675598,
-0.33526480197906494,
-0.18266534805297852,
-0.03667018562555313,
0.2971264123916626,
0.06844070553779602,
0.47357261180877686,
0.14802317321300507,
0.06824441254138947,
0.08222606033086777,
-0.1884789764881134,
0.38820505142211914,
0.2396685779094696,
0.2915930449962616,
0.04474608227610588,
0.12838265299797058,
0.07680314779281616,
0.10552047193050385,
0.15636083483695984,
-0.03689396753907204,
0.38290509581565857,
0.12175354361534119,
-0.13150422275066376,
-0.4237693250179291,
-0.040630705654621124,
0.3613754212856293,
0.24697604775428772,
-0.2672068476676941,
-0.11003486067056656,
0.19535276293754578,
0.1381140500307083,
-0.07421117275953293,
-0.13970474898815155,
0.27156615257263184,
0.08982282876968384,
-0.058480434119701385,
-0.20721863210201263,
-0.04680066928267479,
0.11939482390880585,
0.2361399084329605,
0.24434785544872284,
-0.03227166831493378,
0.18443606793880463,
-0.13598695397377014,
0.12944364547729492,
0.06895998120307922,
-0.05653420835733414,
-0.056404609233140945,
0.371282696723938,
0.05305131897330284,
0.13018877804279327,
-0.14144209027290344,
-0.06341856718063354,
-0.4270167350769043,
-0.09029240906238556,
-0.01665707677602768,
-0.08207542449235916,
-0.23384785652160645,
-0.306583046913147,
0.27211499214172363,
-0.09500675648450851,
-0.22917187213897705,
0.20197729766368866,
0.1729174256324768,
-0.10116160660982132,
0.11445720493793488,
0.09426182508468628,
0.17552290856838226,
-0.21066810190677643,
0.00455677043646574,
0.35086590051651,
0.10061514377593994,
-0.3740633726119995,
-0.1388949602842331,
0.04243091866374016,
-0.006501331925392151,
0.1436244696378708,
0.23483476042747498,
0.1300874501466751,
-0.36112937331199646,
0.02069046162068844,
-0.011412829160690308,
0.36803311109542847,
-0.7533512115478516,
-0.17241080105304718,
-0.20478691160678864,
0.1391386240720749,
-0.2984943687915802,
0.2614383101463318,
-0.08082233369350433,
0.5819689035415649,
0.07198398560285568,
0.20045727491378784,
0.26978057622909546,
-0.23528558015823364,
-0.1460465043783188,
-0.19759328663349152,
0.08211608976125717,
-0.033739738166332245,
0.2845045030117035,
0.31939056515693665,
-0.20544520020484924,
0.20819362998008728,
-0.12865056097507477,
-0.16057777404785156,
0.09762459993362427,
-0.03942384570837021,
-0.07664788514375687,
0.5139756798744202,
-0.4083735942840576,
0.05194200575351715,
0.05302250385284424,
-0.42763200402259827,
-0.0076662153005599976,
-0.028701674193143845,
0.2977915406227112,
0.1151670292019844,
-0.3634539842605591,
-0.04942283034324646,
0.10224800556898117,
-0.08525684475898743,
-0.10441888868808746,
0.1429370790719986,
-0.24943462014198303,
-0.21650564670562744,
-0.15888093411922455,
-0.1157921701669693,
0.35955750942230225,
-0.38523736596107483,
0.05671289563179016,
0.34374624490737915,
0.11583812534809113,
-0.33099421858787537,
-0.19979046285152435,
0.34289905428886414,
0.6107935905456543,
0.19320014119148254,
0.1490047127008438,
0.04488532617688179,
0.06307031214237213,
0.19585293531417847,
0.12371090799570084,
0.38501837849617004,
0.24231761693954468,
0.4251536726951599,
-0.009248852729797363,
-0.011322101578116417,
-0.33595752716064453,
-0.1397685557603836,
-0.3012092709541321,
-0.30781081318855286,
0.24547098577022552,
0.37584808468818665,
0.07321193069219589,
0.17962129414081573,
-0.09734512865543365,
0.18429133296012878,
-0.1311541199684143,
0.07100771367549896,
-0.21550901234149933,
-0.000652458518743515,
0.20575672388076782,
0.2701783776283264,
-0.015925100073218346,
-0.31584155559539795,
0.239187091588974,
0.2763335704803467,
-0.037078067660331726,
0.3711414635181427,
0.21187934279441833,
0.12711629271507263,
-0.36447373032569885,
-0.048232175409793854,
-0.1958499550819397,
-0.140879824757576,
0.36233583092689514,
0.12679937481880188,
-0.08044910430908203,
-0.10242471098899841,
-0.1717028170824051,
0.11901548504829407,
0.09281294047832489,
-0.3487536907196045,
0.045240532606840134,
-0.08074748516082764,
0.13446027040481567,
-0.3099207282066345,
-0.07184520363807678,
-0.25134041905403137,
0.042049817740917206,
-0.2426307052373886,
-0.605837345123291,
0.048290036618709564,
0.24185612797737122,
-0.05330263078212738,
0.06790044158697128,
-0.23386642336845398,
-0.35396134853363037,
0.2854769229888916,
-0.2799888253211975,
0.27219417691230774,
0.4958679974079132,
0.007595375180244446,
0.7359010577201843,
-0.1398213654756546,
0.12597128748893738,
-0.18807458877563477,
-0.23729141056537628,
-0.16243445873260498,
0.2248409390449524,
0.04531930387020111,
-0.1031772717833519,
0.338379830121994,
-0.12929633259773254,
0.4641801118850708,
-0.11709857732057571,
-0.44379034638404846,
-0.056970611214637756,
-0.08111104369163513,
0.15898668766021729,
-0.11663943529129028,
0.1627810001373291,
-0.3326820731163025,
-0.23656119406223297,
0.01788572035729885,
-0.04269816353917122,
-0.41469958424568176,
-0.052477892488241196,
-0.5018295645713806,
-0.5114085674285889,
-0.043343208730220795,
-0.18208739161491394,
-0.3035619556903839,
-0.07672329246997833,
-0.13205695152282715,
0.3835408091545105,
0.05073436722159386,
-0.07069900631904602,
-0.1767486035823822,
0.012314110063016415,
-0.11044984310865402,
0.007700726855546236,
-0.39698243141174316,
-0.1825653314590454,
0.33312860131263733,
-0.09415971487760544,
-0.16772955656051636,
0.08908919990062714,
-0.04833950847387314,
0.1801724135875702,
-0.12795621156692505,
-0.05898525193333626,
-0.6345389485359192,
-0.03083113767206669,
0.15977080166339874,
0.006756879389286041,
0.29847946763038635,
0.3336501121520996,
0.004753109533339739,
-0.23424898087978363,
-0.010697372257709503,
-0.6500440239906311,
0.21303844451904297,
0.1316465139389038,
0.12669619917869568,
-0.6808199882507324,
0.13105012476444244,
0.08481302857398987,
0.7973915338516235,
0.1004069447517395,
-0.3641020953655243,
-0.0845503956079483,
-0.05102911591529846,
0.2857923209667206,
-0.07926537841558456,
-0.1480630487203598,
0.6707164645195007,
0.0753026157617569,
0.06270017474889755,
0.19290506839752197,
-0.04180726408958435,
-0.08420328050851822,
-0.22658739984035492,
0.08172808587551117,
-0.47087132930755615,
-0.1861320436000824,
-0.23361791670322418,
0.33187857270240784,
0.13765518367290497,
-0.039870742708444595,
0.04433120787143707,
-0.15257662534713745,
-0.17396360635757446,
0.11128264665603638,
0.3253045082092285,
-0.10534635931253433,
0.043006446212530136,
-0.42494526505470276,
-0.07494773715734482,
-0.30884915590286255,
0.3604457378387451,
0.003952188417315483,
0.2858200669288635,
-0.1537541002035141,
-0.07809364050626755,
-0.1822434812784195,
0.20103710889816284,
0.3988540768623352,
-0.4359361231327057,
-0.08429171144962311,
-0.11092013120651245,
0.19460539519786835,
0.08490269631147385,
0.073389932513237,
-0.0065637677907943726,
-0.3511953353881836,
0.3382895290851593,
0.1679968386888504,
-0.23649457097053528,
0.19411587715148926,
0.4054974615573883,
-0.29765376448631287,
-0.0819060355424881,
-0.07897334545850754,
-0.15234942734241486,
0.08883421868085861,
-0.06798814982175827,
0.4362919330596924,
-0.04332020878791809,
-0.12103798985481262,
0.30119583010673523,
-0.24176852405071259,
0.05119691789150238,
-0.29072973132133484,
0.1278277337551117,
0.23391689360141754,
0.035172171890735626,
0.19965201616287231,
0.03898775205016136,
0.1661372035741806,
-0.10543785989284515,
-0.36176007986068726,
0.10170042514801025,
-0.2921888828277588,
-0.09634029865264893,
0.08204540610313416,
-0.3779665231704712,
0.4635205864906311,
0.29362738132476807,
0.13877907395362854,
-0.024448007345199585,
-0.154330313205719,
0.027215976268053055,
0.05238257348537445,
-0.0826278030872345,
-0.06831139326095581,
0.27112430334091187,
-0.37461239099502563,
0.23124960064888,
0.20421980321407318,
0.006756868213415146,
0.02002575248479843,
-0.02740112692117691,
0.4532319903373718,
-0.09848301857709885,
0.30740123987197876,
0.19817011058330536,
1.0057317018508911,
-0.14182095229625702,
-0.2739250957965851,
-0.051125235855579376,
-0.29553282260894775,
0.05367579311132431,
0.009902294725179672,
-0.25699716806411743,
-0.07243654131889343,
-0.14227548241615295,
0.0033228974789381027,
-0.05448485165834427,
0.005138322710990906,
0.12889915704727173,
-0.32000261545181274,
0.15110167860984802,
0.04657171666622162,
-0.014422331005334854,
0.14564742147922516,
0.3880852162837982,
0.24523136019706726,
-0.29326245188713074,
-0.022849231958389282,
0.16595867276191711,
-0.12013973295688629,
-0.02021099627017975,
0.01838628202676773,
0.09093555808067322,
0.06892840564250946,
-0.06043996661901474,
-0.18628472089767456,
0.007034316658973694,
-0.4151204526424408,
-0.16827575862407684,
0.21201904118061066,
-0.48167192935943604,
-0.032162562012672424,
-0.05532623454928398,
0.7156819701194763,
0.05082867294549942,
-0.24556249380111694,
0.41757434606552124,
-0.07426387816667557,
0.20662453770637512,
0.2714877426624298,
0.0616564080119133,
0.13647958636283875,
-0.24654245376586914,
0.095279760658741,
0.1206975132226944,
0.07610278576612473,
-0.2236977070569992,
-0.003262937068939209,
-0.12358501553535461,
-0.04582939296960831,
-0.07297282665967941,
-0.11936146020889282,
0.18358707427978516,
-0.10392299294471741,
-0.1479804664850235,
0.17327634990215302,
0.11015121638774872,
0.22123916447162628,
0.27598631381988525,
0.17885670065879822,
-0.10784553736448288,
-0.12818512320518494,
0.2205970287322998,
-0.0401349812746048,
-0.2504928410053253,
-0.06365261226892471,
-0.24024777114391327,
-0.343606173992157,
-0.21135374903678894,
-0.4313257038593292,
0.13915616273880005,
-0.10785358399152756,
-0.07942739129066467,
0.010956873185932636,
-0.26984524726867676,
0.0665346086025238,
0.23469556868076324,
0.3930444121360779,
-0.08215197175741196,
0.18473412096500397,
-0.3520374596118927,
-0.26263388991355896,
0.08687376976013184,
-0.31069812178611755,
0.3089648485183716,
0.01164255291223526,
0.3913816511631012,
0.1439610868692398,
0.3908418118953705,
-0.388388991355896,
-0.07846259325742722,
-0.14417725801467896,
-0.009412992745637894,
-0.3102460205554962,
-0.3381204307079315,
0.153413787484169,
-0.11755208671092987,
0.17995430529117584,
-0.11970657110214233,
-0.2994379997253418,
-0.22491034865379333,
-0.018352877348661423,
0.07314730435609818,
0.009800502099096775,
0.2639661431312561,
-0.16283974051475525,
0.19593369960784912,
-0.1690683811903,
0.06998233497142792,
0.13731110095977783,
0.07294537127017975,
-0.07830014824867249,
0.40707483887672424,
-0.09208394587039948,
-0.05232638120651245,
-0.021870234981179237,
-0.2280961573123932,
0.16742762923240662,
0.17458873987197876,
0.24636758863925934,
0.28009435534477234,
-0.22575220465660095,
0.01982865482568741,
0.3897535800933838,
0.4004858434200287,
0.13704536855220795,
0.07230377197265625,
0.32165229320526123,
0.030142953619360924,
-0.19586683809757233,
0.19030852615833282,
-0.10932077467441559,
-0.11095480620861053,
-0.2902706563472748,
0.013396693393588066,
-0.3908122181892395,
0.2550562620162964,
-0.6318150758743286,
0.08672793954610825,
0.11003904044628143,
0.11568301171064377,
0.26825371384620667,
0.06449246406555176,
0.4691098630428314,
-0.3147643804550171,
0.4264112710952759,
0.25308623909950256,
0.44255515933036804,
-0.4826371669769287,
0.02333090826869011,
-0.3442743122577667,
0.25445324182510376,
-0.06560532748699188,
0.2742137610912323,
0.008839879184961319,
0.1253950297832489,
-0.12672404944896698,
-0.1153741106390953,
0.330696165561676,
0.08178859949111938,
0.3779130280017853,
0.49624988436698914,
-0.1001313179731369,
0.2804928719997406,
0.3107818365097046,
-0.2084377408027649,
-0.07363290339708328,
0.24075886607170105,
0.22875934839248657,
0.17162515223026276,
-0.20573195815086365,
-0.2630811333656311,
-0.45901432633399963,
-0.04242836683988571,
0.15680454671382904,
0.05124876648187637,
-0.10068663209676743,
-0.14321815967559814,
-0.24799023568630219,
0.07474514842033386,
-0.0382414236664772,
-0.01494668424129486,
-0.10046471655368805,
0.08644607663154602,
0.21360981464385986,
-0.014900945127010345,
0.010472234338521957,
0.2309623658657074,
-0.08424344658851624,
0.19978943467140198,
0.06798394024372101,
-0.22722753882408142,
0.3186669945716858,
0.37827375531196594,
0.2797539532184601,
-0.1873912215232849,
0.13809779286384583,
0.1820424348115921,
0.1332240253686905,
-0.2208118438720703,
0.07214359939098358,
0.14405588805675507,
0.19063234329223633,
-0.44291430711746216,
0.14898094534873962,
0.2663841247558594,
-0.15616151690483093,
0.049294862896203995,
-0.17647787928581238,
-0.130201518535614,
-0.010731291025876999,
0.019369475543498993,
0.08168331533670425,
-0.23105329275131226,
-0.17439112067222595,
0.17444884777069092,
0.057770758867263794,
0.14410072565078735,
0.03452654182910919,
-0.016001202166080475,
-0.05905258283019066,
-0.2780616581439972,
0.12015822529792786,
0.11370629072189331,
0.25470373034477234,
0.2726973295211792,
-0.15557807683944702,
-0.20776812732219696,
-0.11652210354804993,
-0.47705531120300293,
0.2844635844230652,
0.4775502383708954,
0.2924189865589142,
0.24521835148334503,
0.3719348907470703,
0.21561846137046814,
0.1775946021080017,
0.2768440246582031,
-0.06763241440057755,
-0.24616801738739014,
-0.2968049943447113,
-0.5945762395858765,
0.037024132907390594,
0.059024423360824585,
-0.10099808871746063,
-0.049602631479501724,
0.05851096659898758,
0.2071475237607956,
-0.2131226360797882,
0.0586482509970665,
-0.08475273102521896,
-0.06628958135843277,
0.15198276937007904,
0.5402915477752686,
0.0316762700676918,
0.004118058830499649,
0.17363616824150085,
-0.01947817951440811,
0.25407764315605164,
0.23855023086071014,
-0.005099951755255461,
-0.14806847274303436,
0.1295081079006195,
0.10596910119056702,
-0.10964065045118332,
0.2321499139070511,
-0.07826422154903412,
0.15236863493919373,
0.32464107871055603,
0.054686203598976135,
-0.18108446896076202,
-0.3592541813850403,
0.2563185393810272,
0.31219762563705444,
-0.008382544852793217,
0.05388354882597923,
0.1255183219909668,
-0.0677446648478508,
0.13275057077407837,
-0.17361657321453094,
-0.36025354266166687,
0.16659025847911835,
0.36307498812675476,
0.22669284045696259,
-0.3271911144256592,
0.4248548746109009,
0.1055038720369339,
0.29146692156791687,
-0.806433916091919,
-0.11236859112977982,
0.34548595547676086,
-0.03866679221391678,
-0.25400424003601074,
0.3933529257774353,
-0.06989772617816925,
0.09467704594135284,
-0.12881900370121002,
-0.03537417948246002,
0.11950719356536865,
0.014518095180392265,
-0.2103046476840973,
-0.1392912119626999
] |
https://github.com/huggingface/datasets/pull/2257 | added metrics for CUAD | I would like to quote it from the website that I am following to learn
these things.
Exact Match:
This metric is as simple as it sounds. For each question+answer pair, if
the characters of the model's prediction exactly match the characters of
*(one
of) the True Answer(s)*, EM = 1, otherwise EM = 0. This is a strict
all-or-nothing metric; being off by a single character results in a score
of 0. When assessing against a negative example, if the model predicts any
text at all, it automatically receives a 0 for that example.
So, I guess you need to ensure at least 1 predicted answer matches for EM
to be 1.
Source:
https://qa.fastforwardlabs.com/no%20answer/null%20threshold/bert/distilbert/exact%20match/f1/robust%20predictions/2020/06/09/Evaluating_BERT_on_SQuAD.html
You can go to their homepage and read the other links. They have detailed
explanations on evaluation metrics. You can also have a look at the
squad_v2 metric file for further clarification.
Regards,
Mohammed Rakib
On Sun, 25 Apr 2021 at 15:20, Bhavitvya Malik ***@***.***>
wrote:
> I'm a little confused when it comes to 2 ground truths which can be a
> possible answer. Like here for eg.
>
> predictions = [{'prediction_text': ['The seller:', 'The buyer/End-User:
> Shenzhen LOHAS Supply Chain Management Co., Ltd.'], 'id':
> 'LohaCompanyltd_20191209_F-1_EX-10.16_11917878_EX-10.16_Supply
> Agreement__Parties'}]
>
> references = [{'answers': {'answer_start': [143, 49], 'text': ['The
> seller:', 'The buyer/End-User: Shenzhen LOHAS Supply Chain Management Co.,
> Ltd.']}, 'id':
> 'LohaCompanyltd_20191209_F-1_EX-10.16_11917878_EX-10.16_Supply
> Agreement__Parties'}]
>
> Should I ensure at least 1 predicted answer matches or both predicted
> answers should match (like in this case) for EM to be 1?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/datasets/pull/2257#issuecomment-826289753>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHMYZAZSAEZNFWEMVAPK6M3TKPNHLANCNFSM43QFZVPQ>
> .
>
| For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here | 291 | text: added metrics for CUAD
For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
I would like to quote it from the website that I am following to learn
these things.
Exact Match:
This metric is as simple as it sounds. For each question+answer pair, if
the characters of the model's prediction exactly match the characters of
*(one
of) the True Answer(s)*, EM = 1, otherwise EM = 0. This is a strict
all-or-nothing metric; being off by a single character results in a score
of 0. When assessing against a negative example, if the model predicts any
text at all, it automatically receives a 0 for that example.
So, I guess you need to ensure at least 1 predicted answer matches for EM
to be 1.
Source:
https://qa.fastforwardlabs.com/no%20answer/null%20threshold/bert/distilbert/exact%20match/f1/robust%20predictions/2020/06/09/Evaluating_BERT_on_SQuAD.html
You can go to their homepage and read the other links. They have detailed
explanations on evaluation metrics. You can also have a look at the
squad_v2 metric file for further clarification.
Regards,
Mohammed Rakib
On Sun, 25 Apr 2021 at 15:20, Bhavitvya Malik ***@***.***>
wrote:
> I'm a little confused when it comes to 2 ground truths which can be a
> possible answer. Like here for eg.
>
> predictions = [{'prediction_text': ['The seller:', 'The buyer/End-User:
> Shenzhen LOHAS Supply Chain Management Co., Ltd.'], 'id':
> 'LohaCompanyltd_20191209_F-1_EX-10.16_11917878_EX-10.16_Supply
> Agreement__Parties'}]
>
> references = [{'answers': {'answer_start': [143, 49], 'text': ['The
> seller:', 'The buyer/End-User: Shenzhen LOHAS Supply Chain Management Co.,
> Ltd.']}, 'id':
> 'LohaCompanyltd_20191209_F-1_EX-10.16_11917878_EX-10.16_Supply
> Agreement__Parties'}]
>
> Should I ensure at least 1 predicted answer matches or both predicted
> answers should match (like in this case) for EM to be 1?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/datasets/pull/2257#issuecomment-826289753>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHMYZAZSAEZNFWEMVAPK6M3TKPNHLANCNFSM43QFZVPQ>
> .
>
| [
-0.15244753658771515,
-0.2145290970802307,
-0.09441065788269043,
-0.08112545311450958,
0.2777225077152252,
-0.20768114924430847,
0.1826501190662384,
-0.10138772428035736,
0.07925230264663696,
0.38308340311050415,
-0.10025346279144287,
-0.1601843535900116,
0.31356874108314514,
-0.01549645233899355,
0.14240986108779907,
0.32861047983169556,
0.021077506244182587,
0.052525024861097336,
0.12109226733446121,
-0.3056965470314026,
-0.22086212038993835,
0.053940899670124054,
-0.07220038771629333,
0.04537456855177879,
-0.3714604377746582,
0.01579262688755989,
-0.133017435669899,
-0.06673125177621841,
-0.2679802179336548,
-0.15177802741527557,
0.15632867813110352,
0.2144075185060501,
-0.15449729561805725,
0.06661319732666016,
-0.00011545979941729456,
-0.1751948893070221,
0.10073672235012054,
-0.19903627038002014,
-0.10339900851249695,
-0.14158235490322113,
-0.525922954082489,
-0.13667234778404236,
0.17083370685577393,
-0.23263782262802124,
0.07679983228445053,
0.6423410773277283,
0.04139535501599312,
-0.020192347466945648,
0.5735946297645569,
0.26007023453712463,
0.1499907523393631,
-0.005020426586270332,
0.224405899643898,
-0.11048930138349533,
-0.19733178615570068,
-0.3193034529685974,
-0.17952130734920502,
0.06428023427724838,
0.038138195872306824,
0.1186065673828125,
-0.08987312763929367,
0.27181386947631836,
0.25133055448532104,
0.12905992567539215,
0.3465442359447479,
0.30727195739746094,
0.5202012062072754,
-0.29962411522865295,
0.08359010517597198,
0.2390558421611786,
-0.034478649497032166,
-0.13570329546928406,
-0.570391833782196,
0.0042831748723983765,
-0.01243996899574995,
-0.3982926905155182,
-0.07786159962415695,
-0.09810535609722137,
-0.18549564480781555,
0.02939612790942192,
-0.34849005937576294,
-0.006629805080592632,
-0.15617093443870544,
-0.04713001102209091,
-0.22783593833446503,
0.40281185507774353,
-0.06390263885259628,
-0.1297282576560974,
0.12157425284385681,
0.09394293278455734,
-0.304315984249115,
-0.04328896850347519,
0.2290107160806656,
0.14062568545341492,
-0.4764258861541748,
-0.37727102637290955,
-0.07196126133203506,
-0.0007906034588813782,
0.2979859411716461,
-0.27961939573287964,
0.47838759422302246,
0.0412820465862751,
0.0189799964427948,
0.09225764870643616,
-0.060083720833063126,
0.5818626880645752,
0.08777591586112976,
0.24583370983600616,
0.07112818956375122,
0.02295691892504692,
0.1999446600675583,
0.16812121868133545,
-0.016566580161452293,
0.04679296538233757,
0.11583192646503448,
0.049123868346214294,
-0.049260564148426056,
-0.5812620520591736,
-0.31681281328201294,
0.45886245369911194,
-0.022637657821178436,
-0.17941418290138245,
-0.1307564526796341,
0.1802452802658081,
0.09679194539785385,
0.21556824445724487,
-0.0695737972855568,
0.1813439577817917,
0.08367230743169785,
-0.07915814220905304,
-0.08608575165271759,
-0.07292306423187256,
-0.03542638570070267,
0.1889636218547821,
0.29186755418777466,
0.015644952654838562,
0.16495051980018616,
-0.13897553086280823,
0.21956489980220795,
-0.029812389984726906,
-0.14175552129745483,
-0.22234484553337097,
0.3220629394054413,
0.18455973267555237,
-0.07068563997745514,
-0.04550878703594208,
0.11844022572040558,
-0.4048129916191101,
-0.016841791570186615,
0.21731233596801758,
-0.09486090391874313,
-0.2848165035247803,
0.019454149529337883,
0.23674705624580383,
-0.08849212527275085,
-0.014669355005025864,
0.14512866735458374,
0.5213027596473694,
-0.0887407436966896,
0.3282066583633423,
0.15866689383983612,
0.0024936627596616745,
-0.1988852471113205,
0.04042372852563858,
0.44098201394081116,
0.110411636531353,
-0.5112931132316589,
0.10054463148117065,
0.23483802378177643,
0.043513789772987366,
-0.17168357968330383,
0.2869719862937927,
-0.032220061868429184,
-0.08889465779066086,
0.080481618642807,
-0.016164526343345642,
0.18551918864250183,
-0.49593988060951233,
-0.1642705500125885,
-0.14521849155426025,
0.10741142928600311,
-0.25556379556655884,
0.18963941931724548,
-0.08842121064662933,
0.2516297698020935,
-0.09928032010793686,
0.27782806754112244,
0.0028535593301057816,
-0.17919744551181793,
-0.24431662261486053,
-0.3125455677509308,
-0.005608338862657547,
0.00031586363911628723,
-0.03604869544506073,
0.12823578715324402,
-0.3166556656360626,
-0.09538335353136063,
0.10343393683433533,
-0.2201654016971588,
0.14281997084617615,
-0.14451460540294647,
-0.08698005974292755,
0.42286816239356995,
-0.6603858470916748,
0.2083795666694641,
0.11631310731172562,
-0.6910122632980347,
0.016160529106855392,
-0.21135257184505463,
0.16971826553344727,
0.22685198485851288,
-0.3158605694770813,
-0.23247596621513367,
0.12426181882619858,
-0.011606428772211075,
-0.16560478508472443,
0.12109315395355225,
-0.4094959795475006,
-0.034915998578071594,
-0.10249409079551697,
-0.30674928426742554,
0.20428553223609924,
-0.33663496375083923,
-0.1123194620013237,
0.31967681646347046,
-0.011186120100319386,
-0.27977338433265686,
0.04887296259403229,
0.29323485493659973,
0.44627463817596436,
0.08919317275285721,
0.33302339911460876,
-0.01934635266661644,
0.2545258700847626,
0.06737770140171051,
0.15800471603870392,
0.30306142568588257,
0.5331981778144836,
0.2607210576534271,
-0.03536710888147354,
0.10735427588224411,
-0.2143276035785675,
0.28312405943870544,
-0.24727201461791992,
-0.27966687083244324,
0.3238406479358673,
0.12664580345153809,
0.15506339073181152,
0.1611248105764389,
-0.3432804346084595,
0.09366639703512192,
-0.010234460234642029,
-0.2386929839849472,
-0.2773245573043823,
0.1303081065416336,
0.14458997547626495,
0.266510546207428,
0.14706233143806458,
-0.01876293122768402,
0.18048080801963806,
0.03020515665411949,
-0.056093521416187286,
0.13571688532829285,
0.188344806432724,
0.1066654622554779,
-0.46232014894485474,
-0.22808995842933655,
-0.24404467642307281,
0.17834478616714478,
0.22904326021671295,
0.13040007650852203,
-0.06495753675699234,
-0.3254047930240631,
-0.16787633299827576,
0.04501824080944061,
0.23922422528266907,
-0.35553717613220215,
0.27643030881881714,
0.121915802359581,
0.09790461510419846,
-0.06276330351829529,
-0.08439898490905762,
-0.030536433681845665,
0.07373306900262833,
-0.43118369579315186,
-0.40342870354652405,
0.1119316965341568,
0.43739551305770874,
-0.1294415146112442,
-0.3719199299812317,
-0.20775723457336426,
-0.2939894199371338,
0.45395398139953613,
-0.2624192237854004,
0.23989883065223694,
0.3488084077835083,
0.0660586804151535,
0.7344333529472351,
-0.15548929572105408,
0.5090546011924744,
-0.37168753147125244,
-0.32296106219291687,
-0.06627636402845383,
0.1384420245885849,
-0.01232664193958044,
-0.09311328083276749,
0.2305622547864914,
-0.1671271026134491,
0.006576273590326309,
-0.10958056896924973,
-0.3740708529949188,
0.016084842383861542,
-0.17609435319900513,
0.32785308361053467,
-0.03035391867160797,
-0.027821071445941925,
-0.4256157875061035,
-0.19391168653964996,
0.13897474110126495,
0.04845251888036728,
-0.28358012437820435,
-0.04136422649025917,
-0.26208582520484924,
-0.5278369784355164,
-0.07951480150222778,
-0.4506348669528961,
-0.08007551729679108,
0.0967605710029602,
-0.04299728572368622,
0.09802941977977753,
0.07260628044605255,
-0.15766671299934387,
-0.08792456239461899,
0.23787005245685577,
-0.1521216481924057,
-0.21056698262691498,
-0.4446697235107422,
-0.09215522557497025,
0.31880879402160645,
0.02114478126168251,
-0.22586233913898468,
0.06875310838222504,
-0.10185965895652771,
0.07708771526813507,
-0.21982522308826447,
0.052218981087207794,
-0.7988470196723938,
0.09665364027023315,
-0.06092129647731781,
-0.036662757396698,
0.32224008440971375,
0.23566539585590363,
-0.1556323617696762,
-0.18502303957939148,
-0.1519489288330078,
-0.5794135332107544,
0.5081862807273865,
0.23274776339530945,
0.13650968670845032,
-0.48727986216545105,
0.22685691714286804,
0.021891262382268906,
0.9252191185951233,
0.18993400037288666,
-0.20582298934459686,
-0.1732460856437683,
0.10306695848703384,
0.26256701350212097,
-0.14779138565063477,
0.011163061484694481,
0.41732341051101685,
-0.02733553946018219,
-0.20160265266895294,
0.29537302255630493,
-0.0497259721159935,
0.16236945986747742,
-0.24992506206035614,
0.22626474499702454,
-0.4171246588230133,
-0.09947127103805542,
-0.12335564196109772,
0.18780440092086792,
-0.05001191049814224,
0.0898418128490448,
-0.07910722494125366,
-0.013177523389458656,
-0.08368153125047684,
0.007500026375055313,
0.12211738526821136,
0.03936731442809105,
-0.06376179307699203,
-0.1391395628452301,
-0.35109734535217285,
-0.3585543930530548,
0.3358458876609802,
0.033236123621463776,
0.34700581431388855,
0.1014709621667862,
0.16904893517494202,
0.09087855368852615,
0.04370570555329323,
0.4754316806793213,
0.03781896084547043,
-0.17456522583961487,
-0.03795693442225456,
0.013362657278776169,
0.043940626084804535,
-0.13970474898815155,
-0.3895440697669983,
-0.533288300037384,
0.10013899207115173,
0.15276123583316803,
-0.47600510716438293,
0.0991252064704895,
0.1519433856010437,
-0.17137068510055542,
-0.15421062707901,
0.12913092970848083,
-0.30833274126052856,
0.15736645460128784,
0.008212165907025337,
0.37035104632377625,
0.17891152203083038,
-0.21828430891036987,
0.18913568556308746,
-0.09701937437057495,
0.23823675513267517,
-0.20225653052330017,
0.17491772770881653,
0.26613298058509827,
-0.1135159283876419,
0.013591814786195755,
0.10052084922790527,
0.12017621845006943,
-0.12115870416164398,
-0.3772752583026886,
0.109016552567482,
-0.2530040144920349,
0.055204734206199646,
0.21655482053756714,
-0.3053514361381531,
0.41998863220214844,
0.45309996604919434,
-0.002713694702833891,
-0.15172260999679565,
-0.118157759308815,
0.151138037443161,
0.14992257952690125,
-0.04529780149459839,
0.14651712775230408,
0.19324155151844025,
-0.306912362575531,
0.24188914895057678,
0.3698333203792572,
-0.17919544875621796,
-0.14331653714179993,
-0.11754924058914185,
0.574302077293396,
0.001159035600721836,
0.25088733434677124,
0.1508127897977829,
1.1220364570617676,
-0.14504730701446533,
-0.24200981855392456,
0.05812738090753555,
-0.2704283595085144,
0.2565394639968872,
-0.2351142168045044,
-0.08958499878644943,
-0.06526345759630203,
0.02567262388765812,
-0.11199262738227844,
0.0027061663568019867,
-0.05348905175924301,
0.16869094967842102,
-0.4450851082801819,
0.38534194231033325,
0.2045546919107437,
-0.17159351706504822,
0.09998849779367447,
0.24944362044334412,
0.25971999764442444,
-0.08637827634811401,
-0.24983060359954834,
0.1174924224615097,
0.1110958606004715,
0.1120716780424118,
-0.0927097499370575,
0.340289831161499,
0.014581557363271713,
-0.23894375562667847,
-0.2454671561717987,
-0.165054589509964,
-0.5754314064979553,
-0.07549547404050827,
0.2955523133277893,
-0.5139965415000916,
0.033925313502550125,
0.06956259906291962,
0.647476851940155,
-0.056065838783979416,
-0.2958405613899231,
0.24297985434532166,
-0.15509992837905884,
0.27298104763031006,
0.21864882111549377,
-0.13554905354976654,
0.12120366096496582,
-0.3007618486881256,
0.03293941169977188,
0.18209721148014069,
-0.10898486524820328,
0.007453706115484238,
-0.003633648157119751,
-0.12255951762199402,
0.5067163705825806,
-0.04002249985933304,
-0.10051316022872925,
0.11907388269901276,
-0.005057452246546745,
-0.0016250722110271454,
0.13282343745231628,
-0.00847925990819931,
0.1497083157300949,
0.3050118088722229,
0.24586527049541473,
-0.3306766152381897,
-0.012106552720069885,
0.26791447401046753,
-0.08659172058105469,
-0.09095539152622223,
0.143549844622612,
-0.34163689613342285,
-0.2309454381465912,
-0.14263445138931274,
-0.3870109021663666,
0.20609910786151886,
-0.21478703618049622,
-0.026488687843084335,
0.16523349285125732,
-0.21049052476882935,
-0.03921319171786308,
0.6311338543891907,
0.5925074815750122,
0.037223756313323975,
0.10219350457191467,
-0.34545695781707764,
0.023702995851635933,
0.24125632643699646,
-0.08752349019050598,
0.2170735001564026,
0.08764912933111191,
0.26160919666290283,
0.1640859693288803,
0.5707823634147644,
-0.3407266438007355,
-0.09158653020858765,
-0.3527987599372864,
0.15036335587501526,
-0.33273130655288696,
-0.20483487844467163,
0.10460854321718216,
0.023082975298166275,
0.09124728292226791,
-0.07463237643241882,
-0.3873426914215088,
-0.22281751036643982,
0.07888659834861755,
0.13582608103752136,
0.11460945755243301,
0.15939268469810486,
-0.17971430718898773,
0.20091815292835236,
-0.11883509159088135,
0.04617416858673096,
0.17279580235481262,
0.27460986375808716,
0.03290990740060806,
0.29940158128738403,
-0.1660051792860031,
0.19242244958877563,
-0.15232808887958527,
-0.2729782462120056,
0.15751053392887115,
0.013503119349479675,
0.2616269588470459,
0.18148624897003174,
-0.26174139976501465,
-0.07698866724967957,
0.1795278787612915,
0.29555046558380127,
0.06152893975377083,
0.044376254081726074,
0.30064523220062256,
0.1222093477845192,
-0.09022358059883118,
-0.04189730063080788,
0.021896790713071823,
0.08799652010202408,
-0.28552326560020447,
-0.09718126803636551,
-0.10184547305107117,
0.18278861045837402,
-0.449362576007843,
0.3154287040233612,
0.004917734302580357,
0.11625593900680542,
0.16257448494434357,
0.1607159525156021,
0.47585615515708923,
-0.4524480104446411,
0.41871750354766846,
0.2659555673599243,
0.3644191026687622,
-0.2867054343223572,
-0.18046855926513672,
-0.2213870882987976,
0.18434804677963257,
0.1115233302116394,
0.24132195115089417,
-0.16502442955970764,
0.24339374899864197,
-0.3372111916542053,
-0.3872552812099457,
0.24585720896720886,
-0.1260184347629547,
0.527195394039154,
0.32634955644607544,
0.17908857762813568,
0.2977147400379181,
0.31984102725982666,
-0.23408648371696472,
-0.13571801781654358,
0.2471083551645279,
0.44195276498794556,
0.00476630125194788,
0.12779636681079865,
-0.32032108306884766,
-0.24535571038722992,
0.027433596551418304,
-0.010283522307872772,
0.036096446216106415,
-0.3296408951282501,
0.0256941094994545,
-0.21574923396110535,
-0.07438057661056519,
-0.09441164135932922,
0.19893184304237366,
0.13092169165611267,
0.0037787631154060364,
0.1668180525302887,
-0.15364187955856323,
0.08364594727754593,
0.2839914560317993,
-0.0799441784620285,
0.45809176564216614,
0.1318204700946808,
-0.0358167365193367,
0.37717190384864807,
0.6864555478096008,
0.13015539944171906,
0.13213136792182922,
-0.03974258154630661,
0.16612111032009125,
0.2601095139980316,
-0.10836390405893326,
0.14375263452529907,
0.11315058916807175,
0.057579051703214645,
-0.4936433434486389,
0.06512290239334106,
0.2180221676826477,
-0.15408848226070404,
0.013767857104539871,
-0.1534973382949829,
0.09600736200809479,
-0.14537490904331207,
-0.11324883252382278,
0.08560334146022797,
0.11135334521532059,
0.0394834503531456,
0.16105031967163086,
-0.01948697119951248,
-0.003760647028684616,
-0.34046903252601624,
-0.15664879977703094,
0.018203888088464737,
-0.05060306936502457,
0.09504617005586624,
0.02339651994407177,
0.12720714509487152,
0.30616024136543274,
-0.24143534898757935,
-0.42729452252388,
0.11113643646240234,
-0.381131112575531,
0.2387508749961853,
0.4718225598335266,
0.20262214541435242,
0.10484983772039413,
0.3912571966648102,
0.05965087190270424,
0.2734895944595337,
0.11623048782348633,
-0.04728215932846069,
-0.5911074280738831,
-0.08659064769744873,
-0.4856831133365631,
0.2364630550146103,
-0.2883816957473755,
-0.13274428248405457,
-0.054038770496845245,
-0.00858234241604805,
0.08141259104013443,
0.019230570644140244,
-0.06583261489868164,
0.1506200134754181,
0.16642242670059204,
0.259258896112442,
0.6447303295135498,
0.07157588005065918,
0.32838961482048035,
0.32295435667037964,
0.1602613627910614,
0.30632245540618896,
0.1650511473417282,
0.04373171925544739,
-0.22307199239730835,
-0.12881425023078918,
0.02671774849295616,
-0.24359102547168732,
0.14165833592414856,
-0.17833742499351501,
0.23051957786083221,
0.4111892580986023,
0.07059032469987869,
-0.16528435051441193,
-0.3404521048069,
0.16962210834026337,
0.1627955138683319,
-0.03392560034990311,
0.05777676776051521,
0.12639036774635315,
0.04820399731397629,
0.11493203043937683,
-0.31422874331474304,
-0.06444371491670609,
0.2956516146659851,
0.3149077892303467,
0.15378260612487793,
-0.33690887689590454,
0.5163577795028687,
0.12468491494655609,
0.09927203506231308,
-1.0319147109985352,
-0.34370213747024536,
0.3194415271282196,
0.0489177405834198,
-0.3794194161891937,
0.13890066742897034,
-0.006740180775523186,
0.02621893212199211,
-0.2566182017326355,
0.1747894138097763,
0.06270401179790497,
0.010739004239439964,
-0.24823600053787231,
-0.3799399137496948
] |
https://github.com/huggingface/datasets/pull/2257 | added metrics for CUAD | Updated the same @MohammedRakib! Even if a single answer matches I'm returning 1 in that case for EM (not traversing all predictions once we have one `exact_match` from prediction) | For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here | 29 | text: added metrics for CUAD
For now I've added F1, AUPR, Precision at 80% recall, and Precision at 90%. Last 3 metrics were reported in the [paper](https://arxiv.org/pdf/2103.06268.pdf). Please let me know if we require `exact_match` metric too here
Updated the same @MohammedRakib! Even if a single answer matches I'm returning 1 in that case for EM (not traversing all predictions once we have one `exact_match` from prediction) | [
-0.4050827622413635,
-0.4081277847290039,
-0.16405220329761505,
-0.2264278382062912,
0.21875536441802979,
-0.25135087966918945,
0.013384956866502762,
0.05352843180298805,
0.24542725086212158,
0.42053496837615967,
0.18478287756443024,
-0.2914612591266632,
-0.022956430912017822,
0.161419078707695,
0.17655439674854279,
0.09791206568479538,
0.04227083921432495,
0.08131365478038788,
0.22641459107398987,
-0.24049116671085358,
-0.4403122067451477,
0.10822274535894394,
-0.15989002585411072,
-0.09574604034423828,
-0.16153846681118011,
0.12506043910980225,
-0.10993173718452454,
-0.05342577397823334,
-0.12106155604124069,
-0.13174012303352356,
0.19074665009975433,
0.0673869252204895,
-0.0927676185965538,
0.047527045011520386,
-0.0001054171661962755,
-0.2559131979942322,
0.22174718976020813,
-0.2002030909061432,
0.09922832250595093,
-0.05319608747959137,
-0.26441019773483276,
-0.2637649476528168,
0.16421522200107574,
-0.2055073082447052,
-0.13169285655021667,
0.39560002088546753,
0.0006152186542749405,
-0.155595064163208,
0.38093459606170654,
0.2655009925365448,
0.2871915102005005,
-0.07034718990325928,
0.27105870842933655,
-0.17143651843070984,
-0.2189958691596985,
-0.07030747830867767,
-0.17609059810638428,
-0.0902872234582901,
0.17540860176086426,
0.06715023517608643,
-0.16825392842292786,
0.3347681760787964,
0.22376668453216553,
0.21827682852745056,
0.3388414978981018,
0.061399195343256,
0.38299664855003357,
-0.0407281368970871,
-0.07902513444423676,
0.15887834131717682,
0.23815298080444336,
-0.07226400077342987,
-0.4666675925254822,
0.15036630630493164,
-0.07867716997861862,
-0.5984559059143066,
-0.10322891920804977,
-0.15867076814174652,
-0.26354968547821045,
-0.15710605680942535,
-0.2646043300628662,
0.037625107914209366,
-0.249343603849411,
-0.19510792195796967,
-0.33145609498023987,
0.344397634267807,
-0.0037629129365086555,
-0.2082137167453766,
0.06774267554283142,
0.00578242726624012,
-0.21963241696357727,
0.21464158594608307,
0.18000593781471252,
0.0329911932349205,
-0.5706387758255005,
-0.2768377959728241,
0.014440570026636124,
0.15018585324287415,
0.1823996901512146,
0.23350761830806732,
0.46846437454223633,
0.337510347366333,
0.24678775668144226,
0.04329003021121025,
-0.09791742265224457,
0.6168389320373535,
0.07607817649841309,
0.13661590218544006,
0.18387290835380554,
0.098667673766613,
0.06820319592952728,
0.019627196714282036,
0.11731430143117905,
0.0040134647861123085,
0.33002591133117676,
0.14257922768592834,
-0.21001242101192474,
-0.6328638792037964,
-0.15787270665168762,
0.36378809809684753,
0.2098076343536377,
-0.19877368211746216,
-0.047932639718055725,
0.1313403844833374,
-0.03128665313124657,
0.17285951972007751,
0.07470885664224625,
-0.049871087074279785,
0.05914193391799927,
0.20784202218055725,
-0.30886512994766235,
-0.08323274552822113,
-0.21663692593574524,
0.03650510683655739,
0.19944672286510468,
0.12836173176765442,
0.32818683981895447,
-0.34283778071403503,
0.1820160448551178,
0.09776264429092407,
-0.07152653485536575,
-0.008831070736050606,
0.34971851110458374,
0.23938609659671783,
-0.11581078171730042,
-0.14193794131278992,
-0.010479766875505447,
-0.30386465787887573,
-0.050750039517879486,
-0.12667810916900635,
0.002457261085510254,
-0.3886171281337738,
-0.01012677513062954,
0.3405272960662842,
-0.06380404531955719,
-0.06460808962583542,
0.2156142294406891,
0.29146307706832886,
-0.1012461856007576,
0.3813910484313965,
0.002980835735797882,
0.04572482407093048,
-0.14391139149665833,
-0.06292088329792023,
0.4437772333621979,
-0.10063046216964722,
-0.25661343336105347,
0.04977191984653473,
0.06632217019796371,
-0.040206264704465866,
0.16597138345241547,
0.2670959532260895,
0.12359340488910675,
-0.35320091247558594,
-0.09641026705503464,
0.12402424216270447,
0.25581327080726624,
-0.366635799407959,
-0.14968819916248322,
-0.18470482528209686,
0.21727870404720306,
-0.28538545966148376,
0.3272612690925598,
-0.002381297294050455,
0.2285672128200531,
-0.08663065731525421,
0.34572744369506836,
0.11460929363965988,
-0.12196420133113861,
-0.16874153912067413,
-0.2756088674068451,
0.05901286005973816,
-0.25533342361450195,
0.06322591006755829,
0.34066811203956604,
-0.26179373264312744,
0.05352010205388069,
-0.1266867071390152,
-0.09942581504583359,
0.07014273852109909,
-0.23649467527866364,
-0.11229614913463593,
0.5675269365310669,
-0.4484199285507202,
0.22581727802753448,
0.047427333891391754,
-0.29559406638145447,
0.03798576444387436,
-0.08779119700193405,
0.20060962438583374,
0.13418035209178925,
-0.2353893220424652,
-0.1187669187784195,
0.1987924426794052,
-0.020840372890233994,
-0.12243449687957764,
0.2828296422958374,
-0.21539878845214844,
-0.07528224587440491,
-0.03423074260354042,
-0.2701001763343811,
0.12737604975700378,
-0.10169995576143265,
-0.1040627509355545,
0.15641120076179504,
-0.08499963581562042,
-0.36506015062332153,
-0.050291839987039566,
0.28681743144989014,
0.39293500781059265,
0.12617303431034088,
0.08515056222677231,
-0.030465252697467804,
0.08593232929706573,
0.09299737960100174,
0.0007388368248939514,
0.03936685249209404,
0.508257269859314,
0.22042834758758545,
-0.08756952732801437,
0.06342101842164993,
-0.2971327602863312,
0.06977812945842743,
-0.25357916951179504,
-0.014997914433479309,
0.36087745428085327,
0.29869210720062256,
0.15116193890571594,
0.1548869013786316,
-0.0970410704612732,
0.06650140881538391,
-0.22533182799816132,
0.04132426530122757,
-0.3145480155944824,
0.30030739307403564,
0.14038436114788055,
0.13085603713989258,
-0.10101895034313202,
-0.28755974769592285,
0.12571293115615845,
0.16670484840869904,
-0.04855050891637802,
0.23971307277679443,
0.0793415755033493,
-0.07918407768011093,
-0.3988645076751709,
-0.06392515450716019,
-0.14992037415504456,
-0.10632750391960144,
0.2796216309070587,
0.3423517644405365,
0.1441425085067749,
-0.2107439488172531,
-0.2266828417778015,
0.17140567302703857,
0.11959105730056763,
-0.3951134979724884,
0.17525014281272888,
-0.22877702116966248,
-0.03315714746713638,
-0.3377346694469452,
-0.042920444160699844,
-0.22533774375915527,
0.07457906007766724,
-0.22228872776031494,
-0.43213143944740295,
-0.03610536456108093,
0.2904411256313324,
-0.006394027732312679,
-0.22533518075942993,
0.015294091776013374,
-0.39008834958076477,
0.31037116050720215,
0.007981717586517334,
-0.07627308368682861,
0.36716315150260925,
-0.13962234556674957,
0.42981937527656555,
-0.10180916637182236,
0.44471096992492676,
-0.4269005358219147,
-0.31866154074668884,
-0.10875759273767471,
0.26346462965011597,
-0.04974804446101189,
0.012034989893436432,
0.43918880820274353,
-0.05548183619976044,
0.44575679302215576,
0.027046047151088715,
-0.5021066665649414,
-0.009758219122886658,
-0.17674992978572845,
0.21534448862075806,
0.10409076511859894,
-0.04795113205909729,
-0.19978545606136322,
-0.10315393656492233,
0.024129433557391167,
-0.12621422111988068,
-0.31785112619400024,
0.20198743045330048,
-0.3959936797618866,
-0.37389716506004333,
-0.03489094600081444,
-0.27557191252708435,
-0.047911643981933594,
-0.051417507231235504,
-0.1428879052400589,
0.254404753446579,
0.006737276911735535,
-0.12394032627344131,
-0.14955444633960724,
0.12395356595516205,
-0.08372674137353897,
-0.14561177790164948,
-0.3106178343296051,
-0.140013188123703,
0.348747193813324,
-0.04837804287672043,
-0.21433208882808685,
0.00511791929602623,
-0.0740857869386673,
0.23474742472171783,
-0.00936269760131836,
-0.0713692158460617,
-0.5952202081680298,
0.05208040773868561,
0.02526545152068138,
0.07255477458238602,
0.09885548055171967,
0.24039213359355927,
-0.027968386188149452,
-0.3789539635181427,
-0.04202231019735336,
-0.34424686431884766,
0.28067120909690857,
-0.05020016431808472,
0.09222064912319183,
-0.5264899730682373,
0.30534738302230835,
0.1410483568906784,
0.49505430459976196,
0.06085499748587608,
-0.4862591326236725,
0.03308405354619026,
0.2370775192975998,
0.1809321641921997,
-0.09083602577447891,
0.08112802356481552,
0.45967793464660645,
0.04017370194196701,
0.06562332063913345,
0.21611946821212769,
-0.10827162861824036,
0.00544691551476717,
-0.31451416015625,
0.021189365535974503,
-0.07059739530086517,
-0.15909798443317413,
-0.17368994653224945,
0.09351644665002823,
0.0812549963593483,
0.0153387151658535,
0.09146488457918167,
-0.023004034534096718,
-0.10983481258153915,
0.24794980883598328,
0.08350729942321777,
-0.01205126941204071,
-0.16970236599445343,
-0.1483372002840042,
-0.044305138289928436,
-0.5509450435638428,
0.5032099485397339,
-0.0460815355181694,
0.17221955955028534,
0.06911815702915192,
0.007352784276008606,
-0.1370518058538437,
0.08129587024450302,
0.3709816336631775,
-0.26731863617897034,
-0.06037118285894394,
-0.10690979659557343,
-0.09948191791772842,
0.16841071844100952,
0.03801305964589119,
-0.17145690321922302,
-0.33240342140197754,
0.03225598484277725,
0.2972896695137024,
-0.19255700707435608,
0.11426234245300293,
0.13655215501785278,
-0.05792224407196045,
-0.1601850986480713,
-0.0400422178208828,
-0.1504971832036972,
0.02018987387418747,
0.09944697469472885,
0.49174177646636963,
-0.02025274746119976,
-0.1657503843307495,
0.14946845173835754,
-0.3062923550605774,
-0.06871204078197479,
-0.28544431924819946,
0.08228275179862976,
0.034182049334049225,
0.013182765804231167,
-0.20734407007694244,
0.10241495072841644,
0.017678651958703995,
-0.0721413642168045,
-0.2643895447254181,
0.1758095622062683,
-0.15254606306552887,
-0.11428722739219666,
0.05744386836886406,
-0.17052710056304932,
0.27915120124816895,
0.10031086206436157,
-0.06750162690877914,
-0.2007666826248169,
0.030849896371364594,
0.228895902633667,
-0.07802465558052063,
0.028188826516270638,
0.025420214980840683,
0.2737138867378235,
-0.27531465888023376,
0.23508071899414062,
0.18039074540138245,
0.0318617969751358,
-0.1821368932723999,
-0.002756129950284958,
0.3408935070037842,
-0.1731945425271988,
0.2803715467453003,
0.3190787136554718,
0.8081605434417725,
-0.11180254817008972,
-0.2991030216217041,
0.05121081322431564,
-0.05696936324238777,
0.10879535973072052,
-0.10751175880432129,
-0.02115841954946518,
-0.1598348617553711,
-0.22912132740020752,
-0.11697597801685333,
-0.0054214224219322205,
0.05741744488477707,
-0.10502678155899048,
-0.21273750066757202,
0.4442395865917206,
0.19880153238773346,
-0.18939292430877686,
-0.037812769412994385,
0.1305273473262787,
0.42214715480804443,
-0.10209065675735474,
0.10888034105300903,
0.2319687008857727,
-0.06068216264247894,
0.03100678324699402,
0.01946905627846718,
0.1461051106452942,
0.22867578268051147,
-0.26127225160598755,
-0.27640002965927124,
0.030512619763612747,
-0.41731521487236023,
0.06619589030742645,
-0.15135599672794342,
-0.4892793893814087,
-0.16020220518112183,
-0.25014209747314453,
0.7227460145950317,
0.0733160525560379,
-0.2454414963722229,
0.36890846490859985,
0.06100738048553467,
0.23370450735092163,
0.11165502667427063,
-0.05494927987456322,
0.31163010001182556,
-0.269618958234787,
0.05432664602994919,
0.09095272421836853,
-0.008097844198346138,
-0.031241657212376595,
-0.044455841183662415,
-0.23074086010456085,
0.17364920675754547,
0.09029625356197357,
0.12613622844219208,
0.172500878572464,
-0.04903923720121384,
-0.14601004123687744,
0.2452337145805359,
0.17914247512817383,
0.11748374998569489,
0.502582311630249,
0.1918874979019165,
-0.1623469591140747,
-0.10761025547981262,
0.1680900752544403,
0.18187841773033142,
-0.34183743596076965,
0.10335637629032135,
-0.26326289772987366,
-0.32663875818252563,
-0.2473716139793396,
-0.6233135461807251,
0.37504830956459045,
-0.2774500250816345,
-0.008176452480256557,
0.025273039937019348,
-0.19558948278427124,
0.2728396952152252,
0.48804375529289246,
0.36557549238204956,
-0.23862144351005554,
0.08061592280864716,
-0.1822124570608139,
-0.21870042383670807,
0.128408282995224,
-0.30344638228416443,
0.4513876438140869,
-0.20170682668685913,
0.13527238368988037,
0.09320773184299469,
0.41398903727531433,
-0.45338255167007446,
-0.2596271336078644,
-0.2348424196243286,
0.027564816176891327,
-0.28538835048675537,
-0.12454191595315933,
0.09111630171537399,
0.13697494566440582,
0.30914071202278137,
-0.001896105706691742,
-0.4044874310493469,
-0.289413183927536,
-0.012023909017443657,
0.054883092641830444,
0.10635895282030106,
0.23398450016975403,
-0.028780002146959305,
0.21086522936820984,
-0.20394188165664673,
0.026215070858597755,
0.04937819018959999,
0.03944026678800583,
-0.052650198340415955,
0.34615999460220337,
0.002861563116312027,
0.018329236656427383,
0.20436811447143555,
-0.2538546621799469,
0.16377133131027222,
0.03736788406968117,
0.14100851118564606,
0.0772181898355484,
-0.21321386098861694,
-0.16238534450531006,
0.19586864113807678,
0.14417651295661926,
-0.0883961021900177,
0.03799699619412422,
0.31835225224494934,
0.0506896935403347,
-0.34359210729599,
-0.023570656776428223,
0.06015409529209137,
-0.04755189269781113,
-0.06780971586704254,
-0.27387943863868713,
-0.12799057364463806,
0.3823601007461548,
-0.5881706476211548,
0.10897043347358704,
0.007931141182780266,
0.3403363823890686,
0.2416715919971466,
-0.05455908924341202,
0.4584830105304718,
-0.3999580144882202,
0.40352195501327515,
0.07793222367763519,
0.40065261721611023,
-0.47108566761016846,
0.04846814274787903,
-0.3447936773300171,
0.2546065151691437,
-0.09939590096473694,
0.13681566715240479,
0.043587762862443924,
0.40604981780052185,
0.12574726343154907,
-0.30162981152534485,
0.2900034189224243,
-0.10658127814531326,
0.48272332549095154,
0.14997217059135437,
-0.003379378467798233,
0.31031107902526855,
0.2042050063610077,
-0.28946802020072937,
0.04950239881873131,
0.2681835889816284,
0.06153643876314163,
0.14416395127773285,
0.12206454575061798,
-0.4642946720123291,
-0.11428593099117279,
-0.07673368602991104,
-0.003484579734504223,
0.11880505084991455,
-0.15711259841918945,
0.05546380579471588,
-0.18879811465740204,
0.08422043919563293,
0.2377367913722992,
0.18762630224227905,
-0.04200146347284317,
0.09689723700284958,
0.1103457361459732,
-0.1782551407814026,
-0.05973704904317856,
0.22946268320083618,
-0.08667941391468048,
0.27228865027427673,
0.42515379190444946,
-0.17843052744865417,
0.07855437695980072,
0.3830254077911377,
0.19377821683883667,
-0.04049263894557953,
-0.06571273505687714,
0.22939768433570862,
0.155268594622612,
-0.15240968763828278,
-0.1663535237312317,
0.208710178732872,
0.14869475364685059,
-0.28817489743232727,
0.15252149105072021,
0.24919578433036804,
-0.15312330424785614,
0.21828530728816986,
-0.23552285134792328,
0.12163421511650085,
0.02232568897306919,
0.0613052137196064,
0.2313116043806076,
-0.09354192018508911,
-0.05728871375322342,
0.2081805169582367,
-0.14873673021793365,
0.00792319793254137,
-0.1306268572807312,
-0.06194963678717613,
-0.12706142663955688,
-0.15657559037208557,
0.14173118770122528,
0.09700743854045868,
0.37749457359313965,
-0.013453077524900436,
0.1465466022491455,
-0.2966163754463196,
-0.09928436577320099,
-0.417539119720459,
0.2725614607334137,
0.5558881163597107,
0.3009245693683624,
0.11997120082378387,
0.247878298163414,
0.20676206052303314,
-0.016474664211273193,
0.0632985532283783,
-0.02586469054222107,
-0.2168823927640915,
-0.11359097063541412,
-0.5701080560684204,
0.22164076566696167,
-0.04393924027681351,
-0.23747050762176514,
0.07675619423389435,
-0.022734003141522408,
0.0029464587569236755,
-0.13069553673267365,
0.15409842133522034,
-0.07271214574575424,
0.1769840270280838,
0.3306827247142792,
0.7476440668106079,
0.2771012783050537,
0.22180615365505219,
0.2647778391838074,
0.0005416013300418854,
0.23469913005828857,
0.16628971695899963,
-0.019189996644854546,
-0.20992445945739746,
0.05063393712043762,
0.1831362247467041,
-0.09568925201892853,
0.16656777262687683,
-0.16126061975955963,
0.056212168186903,
0.2342943400144577,
0.05742651969194412,
-0.23969246447086334,
-0.19999180734157562,
0.30471891164779663,
0.2980705797672272,
-0.09677150845527649,
0.08209414780139923,
-0.03604225069284439,
0.06495022028684616,
0.05766318738460541,
-0.16732557117938995,
-0.4424791634082794,
0.2802402377128601,
0.4165598452091217,
0.22916235029697418,
-0.22579799592494965,
0.43096357583999634,
0.0923817828297615,
0.2042618691921234,
-0.8956363797187805,
-0.15920031070709229,
0.3348712921142578,
0.10630148649215698,
-0.20136506855487823,
0.3392351567745209,
0.041142258793115616,
0.05545937642455101,
-0.2669573724269867,
0.2255956083536148,
0.04876784235239029,
-0.0767190158367157,
-0.2610795497894287,
-0.21978624165058136
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | Looks really nice so far, thanks !
Maybe if a dataset doesn't have a template for a specific task we could try the default template of this task ? | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 29 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
Looks really nice so far, thanks !
Maybe if a dataset doesn't have a template for a specific task we could try the default template of this task ? | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | hey @SBrandeis @lhoestq,
i now have a better idea about what you guys are trying to achieve with the task templates and have a few follow-up questions:
1. how did you envision using `DatasetInfo` for running evaluation? my understanding is that all `dataset_infos.json` files are stored in the `datasets` repo (unlike `transformers` where each model's weights etc are stored in a dedicated repo).
this suggests the following workflow:
```
- git clone datasets
- load target dataset to evaluate
- load `dataset_infos.json` for target dataset
- run eval for each task template in `task_templates`
- store metrics as evaluation cards (similar to what is done in `autonlp`)
```
2. assuming the above workflow, i see that the current `TaskTemplate` attributes of `task`, `input_schema`, and `label_schema` still require some wrangling from `dataset_infos.json` to reproduce additional mappings like `label2id` that we'd need for e.g. text classification. an alternative would be to instantiate the task template class directly from the JSON with something like
```python
from datasets.tasks import TextClassification
from transformers import AutoModelForSequenceClassification, AutoConfig
tc = TextClassification.from_json("path/to/dataset_infos.json")
# load a model with the desired config
model_ckpt = ...
config = AutoConfig.from_pretrained(model_ckpt, label2id=tc.label2id, id2label=tc.id2label)
model = AutoModelForSequenceClassification.from_pretrained(model_ckpt, config=config)
# run eval ...
```
perhaps this is what @SBrandeis had in mind with the `TaskTemplate.from_dict` method?
3. i personally prefer using `task_templates` over `supervised_keys` because it encourages the contributor to think in terms of 1 or more tasks. my question here is do we currently use `supervised_keys` for anything important in the `datasets` library? | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 249 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
hey @SBrandeis @lhoestq,
i now have a better idea about what you guys are trying to achieve with the task templates and have a few follow-up questions:
1. how did you envision using `DatasetInfo` for running evaluation? my understanding is that all `dataset_infos.json` files are stored in the `datasets` repo (unlike `transformers` where each model's weights etc are stored in a dedicated repo).
this suggests the following workflow:
```
- git clone datasets
- load target dataset to evaluate
- load `dataset_infos.json` for target dataset
- run eval for each task template in `task_templates`
- store metrics as evaluation cards (similar to what is done in `autonlp`)
```
2. assuming the above workflow, i see that the current `TaskTemplate` attributes of `task`, `input_schema`, and `label_schema` still require some wrangling from `dataset_infos.json` to reproduce additional mappings like `label2id` that we'd need for e.g. text classification. an alternative would be to instantiate the task template class directly from the JSON with something like
```python
from datasets.tasks import TextClassification
from transformers import AutoModelForSequenceClassification, AutoConfig
tc = TextClassification.from_json("path/to/dataset_infos.json")
# load a model with the desired config
model_ckpt = ...
config = AutoConfig.from_pretrained(model_ckpt, label2id=tc.label2id, id2label=tc.id2label)
model = AutoModelForSequenceClassification.from_pretrained(model_ckpt, config=config)
# run eval ...
```
perhaps this is what @SBrandeis had in mind with the `TaskTemplate.from_dict` method?
3. i personally prefer using `task_templates` over `supervised_keys` because it encourages the contributor to think in terms of 1 or more tasks. my question here is do we currently use `supervised_keys` for anything important in the `datasets` library? | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | 1. How do you envision using DatasetInfo for running evaluation?
The initial idea was to be able to do something like this:
```python
from datasets import load_dataset
dset = load_dataset("name", task="binary_classification")
# OR
dset = load_dataset("name")
dset = dset.prepare_for_task("binary_classification")
```
2. I don't think that's needed if we proceed as mentioned above
3. `supervised_keys` are mostly a legacy compatibility thing with TF datasets, not sure it's used for anything right now. I'll let @lhoestq give more details on that
[Edit 1] Typo | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 82 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
1. How do you envision using DatasetInfo for running evaluation?
The initial idea was to be able to do something like this:
```python
from datasets import load_dataset
dset = load_dataset("name", task="binary_classification")
# OR
dset = load_dataset("name")
dset = dset.prepare_for_task("binary_classification")
```
2. I don't think that's needed if we proceed as mentioned above
3. `supervised_keys` are mostly a legacy compatibility thing with TF datasets, not sure it's used for anything right now. I'll let @lhoestq give more details on that
[Edit 1] Typo | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | > The initial idea was to be able to do something like this:
>
> ```python
> from datasets import load_dataset
> dset = load_dataset("name", task="binary_classification")
> # OR
> dset = load_dataset("name")
> dset = dset.prepare_for_task("binary_classification")
> ```
ah that's very elegant! just so i've completely understood, the result would be that the relevant column names of `dset` would be mapped to e.g. `text` and `label` and thus we'd have a uniform schema for the evaluation of all `binary_classification` tasks? | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 81 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
> The initial idea was to be able to do something like this:
>
> ```python
> from datasets import load_dataset
> dset = load_dataset("name", task="binary_classification")
> # OR
> dset = load_dataset("name")
> dset = dset.prepare_for_task("binary_classification")
> ```
ah that's very elegant! just so i've completely understood, the result would be that the relevant column names of `dset` would be mapped to e.g. `text` and `label` and thus we'd have a uniform schema for the evaluation of all `binary_classification` tasks? | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | That's correct! Also, the features need to be appropriately casted
For a classification task for example, we would need to cast the datasets features to something like this:
```python
datasets.Features({
"text": datasets.Value("string"),
"label": datasets.ClassLabel(names=[...]),
})
```
| This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 36 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
That's correct! Also, the features need to be appropriately casted
For a classification task for example, we would need to cast the datasets features to something like this:
```python
datasets.Features({
"text": datasets.Value("string"),
"label": datasets.ClassLabel(names=[...]),
})
```
| [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | 3. We can ignore `supervised_keys` (it came from TFDS and we're not using it) and use `task_templates` | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 17 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
3. We can ignore `supervised_keys` (it came from TFDS and we're not using it) and use `task_templates` | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | great, thanks a lot for your answers! now it's much clearer what i need to do next 😃 | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 18 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
great, thanks a lot for your answers! now it's much clearer what i need to do next 😃 | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | hey @lhoestq @SBrandeis,
i've made some small tweaks to @SBrandeis's code so that `Dataset.prepare_for_task` is called in `DatasetBuilder`. using the `emotion` dataset as a test case, the following now works:
```python
# DatasetDict with default columns
ds = load_dataset("./datasets/emotion/")
# DatasetDict({
# train: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 16000
# })
# validation: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 2000
# })
# test: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 2000
# })
# })
# DatasetDict with remapped columns
ds = load_dataset("./datasets/emotion/", task="text_classification")
DatasetDict({
# train: Dataset({
# features: ['text', 'label'],
# num_rows: 16000
# })
# validation: Dataset({
# features: ['text', 'label'],
# num_rows: 2000
# })
# test: Dataset({
# features: ['text', 'label'],
# num_rows: 2000
# })
# })
# Dataset with default columns
ds = load_dataset("./datasets/emotion/", split="train")
# Map/cast features
ds = ds.prepare_for_task("text_classification")
# Dataset({
# features: ['text', 'label'],
# num_rows: 16000
# })
```
i have a few follow-up questions / remarks:
1. i'm working under the assumption that contributors / users only provide a unique set of task types. in particular, the current implementation does not support something like:
```python
task_templates=[TextClassification(labels=class_names, text_column="tweet", label_column="emotion"), TextClassification(labels=class_names, text_column="some_other_column", label_column="some_other_column")]
```
since we use `TaskTemplate.task` and the filter for compatible templates in `Dataset.prepare_for_task`. should we support these scenarios? my hunch is that this is rare in practice, but please correct me if i'm wrong.
2. when we eventually run evaluation for `transformers` models, i expect we'll be using the `Trainer` for which we can pass the standard label names to `TrainingArguments.label_names`. if that's the case, it might be prudent to heed the warning from the [docs](https://huggingface.co/transformers/main_classes/trainer.html?highlight=trainer#trainer) and use `labels` instead of `label` in the schema:
> your model can accept multiple label arguments (use the label_names in your TrainingArguments to indicate their name to the Trainer) but none of them should be named "label".
3. i plan to forge ahead on the rest of the pipeline taxonomy. please let me know if you'd prefer smaller, self-contained pull requests (e.g. one per task) | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 339 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
hey @lhoestq @SBrandeis,
i've made some small tweaks to @SBrandeis's code so that `Dataset.prepare_for_task` is called in `DatasetBuilder`. using the `emotion` dataset as a test case, the following now works:
```python
# DatasetDict with default columns
ds = load_dataset("./datasets/emotion/")
# DatasetDict({
# train: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 16000
# })
# validation: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 2000
# })
# test: Dataset({
# features: ['tweet', 'emotion'],
# num_rows: 2000
# })
# })
# DatasetDict with remapped columns
ds = load_dataset("./datasets/emotion/", task="text_classification")
DatasetDict({
# train: Dataset({
# features: ['text', 'label'],
# num_rows: 16000
# })
# validation: Dataset({
# features: ['text', 'label'],
# num_rows: 2000
# })
# test: Dataset({
# features: ['text', 'label'],
# num_rows: 2000
# })
# })
# Dataset with default columns
ds = load_dataset("./datasets/emotion/", split="train")
# Map/cast features
ds = ds.prepare_for_task("text_classification")
# Dataset({
# features: ['text', 'label'],
# num_rows: 16000
# })
```
i have a few follow-up questions / remarks:
1. i'm working under the assumption that contributors / users only provide a unique set of task types. in particular, the current implementation does not support something like:
```python
task_templates=[TextClassification(labels=class_names, text_column="tweet", label_column="emotion"), TextClassification(labels=class_names, text_column="some_other_column", label_column="some_other_column")]
```
since we use `TaskTemplate.task` and the filter for compatible templates in `Dataset.prepare_for_task`. should we support these scenarios? my hunch is that this is rare in practice, but please correct me if i'm wrong.
2. when we eventually run evaluation for `transformers` models, i expect we'll be using the `Trainer` for which we can pass the standard label names to `TrainingArguments.label_names`. if that's the case, it might be prudent to heed the warning from the [docs](https://huggingface.co/transformers/main_classes/trainer.html?highlight=trainer#trainer) and use `labels` instead of `label` in the schema:
> your model can accept multiple label arguments (use the label_names in your TrainingArguments to indicate their name to the Trainer) but none of them should be named "label".
3. i plan to forge ahead on the rest of the pipeline taxonomy. please let me know if you'd prefer smaller, self-contained pull requests (e.g. one per task) | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | hey @lhoestq @SBrandeis, i think this is ready for another review 😃
in addition to a few comments / questions i've left in the pr, here's a few remarks:
1. after some experimentation, i decided against allowing the user to specify nested column names for question-answering. i couldn't find a simple solution with the current api and suspect that i'd have to touch many areas of `datasets` to "unflatten" columns in a generic fashion.
2. in the current implementation, the user can specify the outer column name for question-answering, but is expected to follow the inner schema for e.g. `answers.text` and `answers.answer_start`. we can decide later how much flexibility we want to give users
3. i added a few unit tests
4. as discussed, let's keep this pr focused on text classification / question answering and i'll add the other tasks in separate prs
5. i renamed the tasks e.g. `text_classification` -> `text-classification` for consistency with the `Trainer` model cards [here](https://github.com/huggingface/transformers/pull/11599#pullrequestreview-656371007). | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 161 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
hey @lhoestq @SBrandeis, i think this is ready for another review 😃
in addition to a few comments / questions i've left in the pr, here's a few remarks:
1. after some experimentation, i decided against allowing the user to specify nested column names for question-answering. i couldn't find a simple solution with the current api and suspect that i'd have to touch many areas of `datasets` to "unflatten" columns in a generic fashion.
2. in the current implementation, the user can specify the outer column name for question-answering, but is expected to follow the inner schema for e.g. `answers.text` and `answers.answer_start`. we can decide later how much flexibility we want to give users
3. i added a few unit tests
4. as discussed, let's keep this pr focused on text classification / question answering and i'll add the other tasks in separate prs
5. i renamed the tasks e.g. `text_classification` -> `text-classification` for consistency with the `Trainer` model cards [here](https://github.com/huggingface/transformers/pull/11599#pullrequestreview-656371007). | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | > i'm not sure why the benchmarks are getting cancelled - is this expected?
Hmm I don't know. It's certainly unrelated to this PR though. Maybe github has some issues | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 30 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
> i'm not sure why the benchmarks are getting cancelled - is this expected?
Hmm I don't know. It's certainly unrelated to this PR though. Maybe github has some issues | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | hey @lhoestq and @SBrandeis, i've:
* extended the `prepare_for_task` API along the lines that @lhoestq suggested. i wasn't entirely sure what the `datasets` convention is for docstrings with mixed types, so please see if my proposal makes sense
* added a few new tests to check that we trigger the value errors on incorrect input
i think this is ready for another review :) | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 64 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
hey @lhoestq and @SBrandeis, i've:
* extended the `prepare_for_task` API along the lines that @lhoestq suggested. i wasn't entirely sure what the `datasets` convention is for docstrings with mixed types, so please see if my proposal makes sense
* added a few new tests to check that we trigger the value errors on incorrect input
i think this is ready for another review :) | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2255 | Task casting for text classification & question answering | > Looks all good thank you :)
>
> Can you also add `prepare_for_task` in the `main_classes.rst` file of the documentation ?
Done! I also remembered that I needed to do the same for `DatasetDict`, so included this as well :) | This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
``` | 41 | text: Task casting for text classification & question answering
This PR implements task preparation for a given task, in the continuation of #2143
Task taxonomy follows 🤗 Transformers's pipelines taxonomy: https://github.com/huggingface/transformers/tree/master/src/transformers/pipelines
Edit by @lewtun:
This PR implements support for the following tasks:
* `text-classification`
* `question-answering`
The intended usage is as follows:
```python
# Load a dataset with default column names / features
ds = load_dataset("dataset_name")
# Cast column names / features to schema. Casting is defined in the dataset's `DatasetInfo`
ds = ds.prepare_for_task(task="text-classification")
# Casting can also be realised during load
ds = load_dataset("dataset_name", task="text-classification")
# We can also combine shared tasks across dataset concatenation
ds1 = load_dataset("dataset_name_1", task="text-classification")
ds2 = load_dataset("dataset_name_2", task="text-classification")
# If the tasks have the same schema, so will `ds_concat`
ds_concat = concatenate_datasets([ds1, ds2])
```
Note that the current implementation assumes that `DatasetInfo.task_templates` has been pre-defined by the user / contributor when overriding the `MyDataset(GeneratorBasedBuilder)._info` function.
As pointed out by @SBrandeis, for evaluation we'll need a way to detect which datasets are already have a compatible schema so we don't have to edit hundreds of dataset scripts. One possibility is to check if the schema features are a subset of the dataset ones, e.g.
```python
squad = load_dataset("./datasets/squad", split="train")
qa = QuestionAnswering()
schema = Features({**qa.input_schema, **qa.label_schema})
assert all(item in squad.features.items() for item in schema.items())
```
> Looks all good thank you :)
>
> Can you also add `prepare_for_task` in the `main_classes.rst` file of the documentation ?
Done! I also remembered that I needed to do the same for `DatasetDict`, so included this as well :) | [
-0.35310739278793335,
-0.3892418444156647,
-0.0920795202255249,
0.16780585050582886,
0.34159862995147705,
-0.12624812126159668,
0.24722661077976227,
0.3363364040851593,
0.05572524294257164,
0.0879792720079422,
0.09324988722801208,
0.2028810828924179,
-0.1889609545469284,
0.12266863137483597,
0.10294389724731445,
-0.22638872265815735,
0.042960986495018005,
-0.11432673037052155,
-0.38838323950767517,
0.055012449622154236,
-0.06797803938388824,
0.1960715502500534,
-0.0672244057059288,
-0.08589576184749603,
-0.30256012082099915,
-0.000497773289680481,
-0.029775375500321388,
-0.08044224232435226,
0.10698381811380386,
-0.22780339419841766,
0.24950464069843292,
0.2394324690103531,
0.20179368555545807,
0.22124163806438446,
-0.00010576689965091646,
-0.04204220324754715,
0.08817943185567856,
-0.0841907486319542,
-0.2690105438232422,
-0.2733331322669983,
-0.10587428510189056,
0.0029957424849271774,
0.001726087648421526,
-0.1295287013053894,
-0.12529891729354858,
0.32866179943084717,
0.1785559505224228,
0.02191861718893051,
0.4803469181060791,
0.1033979207277298,
0.18490613996982574,
0.3727589249610901,
-0.007702331990003586,
0.05960254743695259,
0.02496795728802681,
0.301480770111084,
-0.3095322549343109,
-0.1425151824951172,
0.38246020674705505,
0.248016357421875,
0.03301422297954559,
0.305338054895401,
-0.08050533384084702,
-0.10747073590755463,
0.15131323039531708,
-0.029522791504859924,
0.289357453584671,
-0.4809689223766327,
-0.0534818172454834,
0.21165725588798523,
0.6012962460517883,
-0.27083635330200195,
-0.3537238836288452,
-0.3604285717010498,
-0.17904140055179596,
-0.07001863420009613,
0.005074828863143921,
-0.08940664678812027,
-0.18344172835350037,
0.04371478408575058,
-0.12201499938964844,
0.09522742033004761,
-0.042744360864162445,
-0.5365418791770935,
-0.08024459332227707,
0.7267634868621826,
0.01913467049598694,
-0.13508999347686768,
-0.25124865770339966,
-0.04272419214248657,
0.3207052946090698,
-0.4040837585926056,
0.041422970592975616,
0.1888071596622467,
-0.4027196168899536,
-0.3737902343273163,
0.08572331070899963,
-0.2659955620765686,
0.12360147386789322,
0.2935558557510376,
0.024041036143898964,
0.1981503665447235,
0.01975613832473755,
0.05245811864733696,
0.19138655066490173,
0.3037867248058319,
0.140272855758667,
0.12028516083955765,
-0.08166027069091797,
0.14977170526981354,
-0.15512004494667053,
-0.016979213804006577,
-0.3310111165046692,
-0.017342299222946167,
0.27553725242614746,
0.3223319351673126,
0.33528006076812744,
-0.05164383351802826,
-0.2301243543624878,
-0.10428855568170547,
0.09822814911603928,
-0.06848789751529694,
0.14553476870059967,
0.231230229139328,
0.007544858381152153,
0.4121437072753906,
-0.0610201396048069,
0.10013819485902786,
-0.07658738642930984,
-0.08243077993392944,
-0.1713409721851349,
-0.11037598550319672,
-0.05747081711888313,
-0.1359347403049469,
0.23308734595775604,
0.3014645278453827,
0.06103425472974777,
-0.13126051425933838,
0.23059406876564026,
-0.14770621061325073,
-0.06781533360481262,
0.019899966195225716,
0.12303377687931061,
0.3352455198764801,
-0.1846894472837448,
-0.10152442753314972,
0.09229187667369843,
0.05695447325706482,
-0.4407040476799011,
0.09750190377235413,
0.03701336309313774,
-0.19705061614513397,
0.22617173194885254,
0.28217291831970215,
-0.15612390637397766,
-0.1813475787639618,
-0.2782410979270935,
0.27379846572875977,
0.21423865854740143,
0.10223039984703064,
0.2511383593082428,
-0.22008155286312103,
-0.1370975524187088,
-0.04784497618675232,
0.20054495334625244,
0.2342570424079895,
0.11380399763584137,
-0.17072345316410065,
0.15225335955619812,
-0.2316397726535797,
-0.07990077883005142,
0.1570291668176651,
-0.10271614789962769,
0.1752021461725235,
0.08066543191671371,
0.19042612612247467,
0.352828711271286,
-0.4152289927005768,
0.10542627424001694,
0.14630459249019623,
-0.067078597843647,
0.15906015038490295,
0.3088127374649048,
-0.08844202756881714,
0.19194822013378143,
-0.34855666756629944,
-0.041209325194358826,
0.288718581199646,
-0.11662265658378601,
0.19440540671348572,
-0.13137993216514587,
0.052349723875522614,
-0.2180360108613968,
0.17222395539283752,
0.23980098962783813,
-0.0571284219622612,
-0.3577749729156494,
0.3568688929080963,
0.032404910773038864,
-0.12350666522979736,
0.1693570762872696,
-0.09645976126194,
0.12285535037517548,
0.08739028871059418,
0.002889036200940609,
-0.40612366795539856,
-0.5069208145141602,
0.10700034350156784,
0.2316177487373352,
0.07104581594467163,
-0.0559503436088562,
-0.33296334743499756,
-0.12962615489959717,
0.3214084208011627,
-0.023114118725061417,
-0.25230053067207336,
0.15942493081092834,
-0.043605104088783264,
0.02272065356373787,
-0.3771957755088806,
-0.2558977007865906,
0.15755313634872437,
-0.005739761516451836,
0.08961890637874603,
-0.07495930790901184,
0.007897373288869858,
-0.04720820486545563,
-0.0031312843784689903,
-0.14088788628578186,
0.18959030508995056,
-0.0614798441529274,
-0.034887704998254776,
0.140133798122406,
0.10743959993124008,
-0.1797746866941452,
0.09906773269176483,
-0.20145738124847412,
0.4995911717414856,
-0.07502809911966324,
-0.14124159514904022,
-0.11381907016038895,
0.08114952594041824,
0.20086656510829926,
-0.010894306004047394,
-0.321611613035202,
0.36011219024658203,
-0.261262983083725,
0.25608205795288086,
0.2047024518251419,
-0.22515708208084106,
0.22796940803527832,
-0.12005053460597992,
-0.36646103858947754,
0.24711856245994568,
0.19724898040294647,
-0.13239140808582306,
-0.23580513894557953,
0.2521638572216034,
-0.5033010244369507,
0.041404396295547485,
0.4441644549369812,
-0.16690003871917725,
0.14688459038734436,
-0.018854908645153046,
-0.054285936057567596,
0.08243724703788757,
-0.07014927268028259,
0.09015469253063202,
0.30191943049430847,
0.1061488687992096,
0.27144089341163635,
0.13625681400299072,
-0.15223999321460724,
-0.0852988213300705,
0.3014812767505646,
0.17847833037376404,
0.0419723242521286,
0.327961802482605,
0.11000064760446548,
0.1560250073671341,
-0.2847914695739746,
-0.17400071024894714,
-0.014587197452783585,
-0.2955397069454193,
-0.28977978229522705,
0.33881449699401855,
0.21684403717517853,
-0.08138289302587509,
-0.6106843948364258,
0.20979078114032745,
0.007652468979358673,
-0.2591555714607239,
0.2249719649553299,
0.09821324050426483,
-0.2212129831314087,
0.251913458108902,
-0.04120342805981636,
0.11891761422157288,
-0.2593217194080353,
-0.4855361580848694,
-0.2999357581138611,
-0.1747039556503296,
0.05661916732788086,
0.1522667557001114,
0.009809897281229496,
-0.10123700648546219,
0.21513642370700836,
-0.20908580720424652,
0.059780918061733246,
-0.15359695255756378,
-0.42572662234306335,
0.2729037404060364,
-0.34149330854415894,
0.029856156557798386,
-0.06367219984531403,
-0.015295431017875671,
0.1444290429353714,
-0.5176516175270081,
0.054847199469804764,
-0.24578754603862762,
-0.23824556171894073,
0.07498078048229218,
0.15038949251174927,
-0.3111109435558319,
-0.3505368232727051,
-0.5368756651878357,
-0.06780802458524704,
-0.37471556663513184,
0.25888949632644653,
0.011087670922279358,
-0.05746716260910034,
0.4943927228450775,
-0.12699563801288605,
-0.24690957367420197,
-0.02428930252790451,
0.18635763227939606,
-0.10033884644508362,
-0.015643320977687836,
0.16511906683444977,
0.001265866681933403,
-0.0850413590669632,
-0.16709786653518677,
-0.42382144927978516,
0.2193504422903061,
0.25684478878974915,
0.05360057204961777,
-0.029493119567632675,
-0.14490625262260437,
0.17747773230075836,
0.21659809350967407,
-0.14166636765003204,
0.509821891784668,
0.19924215972423553,
-0.1003449484705925,
0.02906583994626999,
-0.004050752148032188,
0.04428689554333687,
0.05390850082039833,
0.1297600418329239,
-0.10264938324689865,
0.3893333375453949,
0.06928025186061859,
0.5774216651916504,
-0.07303648442029953,
-0.04647372290492058,
0.1425081193447113,
0.0884225144982338,
-0.024643424898386,
-0.08107266575098038,
-0.062116317451000214,
0.1418910175561905,
-0.08484527468681335,
-0.24111714959144592,
0.27890703082084656,
-0.018946528434753418,
-0.1104450672864914,
0.09477852284908295,
0.07344648241996765,
-0.24647259712219238,
-0.40993860363960266,
0.35761743783950806,
-0.2563169002532959,
0.4251042902469635,
-0.020315315574407578,
-0.026060089468955994,
-0.15275944769382477,
-0.0407358855009079,
0.006862994283437729,
0.30331552028656006,
0.10984335839748383,
-0.1169288158416748,
-0.38388824462890625,
0.1727357804775238,
-0.23007044196128845,
0.171212837100029,
0.26349711418151855,
0.005953201558440924,
-0.0147295743227005,
-0.2644343972206116,
-0.019254446029663086,
-0.15969473123550415,
0.5228433012962341,
-0.14603213965892792,
0.10942529141902924,
0.09876421093940735,
-0.252111554145813,
0.0841410830616951,
-0.2136734127998352,
-0.23013821244239807,
-0.280312180519104,
0.11913168430328369,
0.2492019236087799,
-0.4650559425354004,
-0.19284620881080627,
0.358847439289093,
-0.0867839977145195,
-0.09965617954730988,
0.02105431631207466,
-0.19679532945156097,
-0.3309812843799591,
-0.24835173785686493,
0.2878047227859497,
0.6671043634414673,
0.1318133920431137,
-0.26005205512046814,
0.32745328545570374,
-0.2213650494813919,
0.1625918447971344,
0.34039223194122314,
0.24316932260990143,
-0.18609324097633362,
-0.02238178253173828,
0.293567955493927,
-0.10961954295635223,
-0.3280286192893982,
-0.11406998336315155,
0.48644688725471497,
0.09718260169029236,
-0.5063040256500244,
-0.06100619584321976,
0.18785247206687927,
0.43172523379325867,
0.190073162317276,
-0.03995383530855179,
-0.007979370653629303,
-0.0846424549818039,
-0.23865856230258942,
-0.4333408772945404,
0.11098739504814148,
0.3167976140975952,
0.2556534707546234,
-0.49635234475135803,
-0.43694716691970825,
0.4320818781852722,
0.2348257154226303,
-0.367465615272522,
-0.27793559432029724,
-0.267256498336792,
-0.44469109177589417,
0.28612834215164185,
0.18699127435684204,
0.9313144087791443,
-0.19959108531475067,
0.2091858983039856,
0.06537386029958725,
-0.206476628780365,
0.3755277395248413,
-0.38221627473831177,
0.24179287254810333,
-0.2690921127796173,
-0.28232282400131226,
-0.07564201951026917,
-0.08868023008108139,
0.139609694480896,
0.3331650495529175,
-0.28385597467422485,
0.2293565273284912,
0.10508285462856293,
0.3484109044075012,
-0.00009206216782331467,
0.17358198761940002,
-0.19588075578212738,
-0.274009644985199,
-0.3408900797367096,
0.16152773797512054,
-0.009695969521999359,
0.236707866191864,
-0.10349011421203613,
0.02412072941660881,
0.08966535329818726,
-0.2164885550737381,
-0.4626834988594055,
0.2062639594078064,
0.2562103271484375,
-0.15047156810760498,
0.30029919743537903,
0.030541591346263885,
0.3112564980983734,
0.23577609658241272,
0.4596354365348816,
0.07458914071321487,
0.11078648269176483,
0.34738418459892273,
-0.170020192861557,
0.19569747149944305,
-0.04628269001841545,
0.002382081001996994,
0.5093840956687927,
-0.01019941084086895,
0.026321761310100555,
0.0037385746836662292,
-0.0006929449737071991,
0.052541397511959076,
-0.45197567343711853,
-0.06809623539447784,
0.17623049020767212,
-0.399511456489563,
0.12128062546253204,
0.15612685680389404,
-0.006676590070128441,
-0.1701844185590744,
0.17748400568962097,
-0.2949882745742798,
-0.22302210330963135,
0.14926409721374512,
0.10847611725330353,
-0.19694501161575317,
0.03231353685259819,
0.002022981643676758,
0.16607287526130676,
0.09306207299232483,
0.270174503326416,
0.14545351266860962,
-0.15752705931663513,
-0.32487571239471436,
-0.24993565678596497,
0.07800769805908203,
-0.5753570199012756,
0.1274675726890564,
-0.10782139748334885,
-0.6076958775520325,
0.15066511929035187,
0.5761576890945435,
0.2526971399784088,
-0.16221576929092407,
-0.03840433061122894,
-0.024752914905548096,
-0.19158585369586945,
0.3287648558616638,
0.0406680665910244,
0.37283292412757874,
-0.020778605714440346,
0.38779985904693604,
0.03529662638902664,
0.2457544207572937,
-0.420615553855896,
-0.35932856798171997,
-0.39096903800964355,
0.4432728886604309,
-0.15207891166210175,
-0.2649051249027252,
0.1474010944366455,
0.011536676436662674,
0.14441163837909698,
0.07573650777339935,
-0.22412580251693726,
-0.2633814811706543,
-0.2948342561721802,
0.12800374627113342,
0.007535770535469055,
0.28309863805770874,
-0.12302272766828537,
0.20238199830055237,
0.10133038461208344,
-0.284494012594223,
0.1567133367061615,
-0.0509595051407814,
0.10319783538579941,
0.26263663172721863,
0.3689247667789459,
0.42482635378837585,
-0.16504384577274323,
-0.03498511016368866,
-0.06213389337062836,
0.15746942162513733,
0.09814340621232986,
0.0954129621386528,
-0.09680117666721344,
0.006269402801990509,
-0.28276747465133667,
0.25650373101234436,
0.6636648178100586,
0.04128854349255562,
0.17455223202705383,
0.10829818248748779,
-0.05264311283826828,
-0.23102045059204102,
0.264444500207901,
0.18942736089229584,
0.028901921585202217,
-0.05948111414909363,
-0.13508158922195435,
0.300374299287796,
-0.11241864413022995,
0.11904444545507431,
-0.09828166663646698,
-0.2310417890548706,
0.027426641434431076,
0.33337172865867615,
0.02396668866276741,
0.07896560430526733,
0.40773433446884155,
0.24647632241249084,
0.7398631572723389,
-0.3717787265777588,
0.21253573894500732,
0.13432523608207703,
0.008955154567956924,
0.10854119807481766,
0.471449613571167,
0.026904461905360222,
0.32152947783470154,
-0.03616175800561905,
0.13880792260169983,
0.21724535524845123,
-0.08844978362321854,
0.18398413062095642,
0.2395305335521698,
0.09476102888584137,
-0.12954013049602509,
-0.06171691417694092,
0.07254943251609802,
0.24413716793060303,
0.03559650480747223,
-0.3121189475059509,
-0.011353650130331516,
0.12126541882753372,
-0.23236766457557678,
0.3288708031177521,
-0.28146207332611084,
-0.4331112205982208,
0.09154853224754333,
-0.09707233309745789,
-0.12031972408294678,
-0.14563487470149994,
0.000020019710063934326,
-0.10204124450683594,
0.34615054726600647,
-0.009993046522140503,
0.1286177784204483,
-0.051524169743061066,
0.2863176763057709,
-0.1248955950140953,
0.25926128029823303,
-0.3493395149707794,
0.30557090044021606,
0.2140689641237259,
0.05216952785849571,
0.16263936460018158,
0.32199347019195557,
0.37377455830574036,
0.12642666697502136,
-0.18744534254074097,
-0.035469915717840195,
-0.3156716823577881,
-0.0912758857011795,
-0.29100143909454346,
0.2312573492527008,
-0.060458287596702576,
0.3483771085739136,
0.1785116344690323,
0.23655244708061218,
-0.17220021784305573,
-0.0038133040070533752,
-0.10045771300792694,
-0.2936050593852997,
-0.23484639823436737,
0.758027970790863,
0.25204700231552124,
-0.10292518138885498,
0.010419430211186409,
0.12771205604076385,
-0.3021116852760315,
-0.09272074699401855,
0.182081401348114,
-0.0189953725785017,
0.18721327185630798,
0.07932759076356888,
0.13283871114253998,
0.3125712275505066,
0.25628992915153503,
0.08834325522184372,
0.10344403982162476,
-0.04973975569009781,
0.25327032804489136,
-0.3973151445388794,
-0.1625516712665558,
0.353709876537323,
-0.10509122163057327,
0.1559673249721527,
0.12622663378715515,
0.15679284930229187,
0.2593505382537842,
-0.6586098670959473,
-0.3348940312862396,
-0.11154714971780777,
0.15591272711753845,
-0.13627249002456665,
-0.07631176710128784,
0.1670197695493698,
0.06102965772151947,
0.18748632073402405,
-0.2401348352432251,
-0.15433534979820251,
0.18079012632369995,
0.10200081020593643,
-0.15074174106121063,
0.031464457511901855,
0.4431142807006836,
-0.27703428268432617,
-0.15238292515277863,
-0.05900532007217407,
0.5827436447143555,
-0.16220608353614807,
-0.05258775129914284,
-0.00997023656964302,
-0.3357093036174774,
-0.3467100262641907,
0.1356087476015091,
-0.1419302076101303,
0.29466620087623596,
-0.015209855511784554,
0.11229813098907471,
-0.029238741844892502,
-0.24662582576274872,
-0.02023019827902317,
-0.14302580058574677,
-0.245890811085701,
-0.0391167476773262,
-0.3331986367702484,
0.23666228353977203,
0.09581426531076431,
0.4204027056694031,
0.13078302145004272,
0.008761042729020119,
-0.2626190185546875,
-0.6562614440917969,
0.37339237332344055,
-0.07050872594118118,
-0.47806257009506226,
-0.20362786948680878,
0.026549309492111206,
-0.05236414819955826,
0.08484576642513275,
-0.8204637765884399,
0.1258401870727539,
0.2716751992702484,
-0.1594916582107544,
-0.07219328731298447,
0.28489288687705994,
0.36001837253570557,
-0.13462227582931519,
-0.2935946583747864,
0.2501697540283203,
-0.13520121574401855,
0.053182244300842285,
-0.24549110233783722,
-0.2911157011985779
] |
https://github.com/huggingface/datasets/pull/2253 | Perform minor refactoring: use config | @lhoestq is there a problem in the master branch? I got a segmentation fault...
```
tests/test_table.py::test_concatenation_table_cast[in_memory] Fatal Python error: Segmentation fault
``` | Perform minor refactoring related to `config`. | 22 | text: Perform minor refactoring: use config
Perform minor refactoring related to `config`.
@lhoestq is there a problem in the master branch? I got a segmentation fault...
```
tests/test_table.py::test_concatenation_table_cast[in_memory] Fatal Python error: Segmentation fault
``` | [
-0.22442138195037842,
-0.31297850608825684,
-0.11353039741516113,
0.09679433703422546,
0.25281670689582825,
0.39327019453048706,
-0.07681874930858612,
0.45996835827827454,
-0.339956670999527,
0.2003924548625946,
-0.0549994632601738,
-0.007428464479744434,
-0.27792155742645264,
-0.17877434194087982,
-0.09965775907039642,
0.028257282450795174,
0.1565226912498474,
0.18640515208244324,
-0.30596256256103516,
0.14930914342403412,
-0.38546299934387207,
0.11771416664123535,
-0.15661604702472687,
0.059015482664108276,
-0.22489744424819946,
0.350807249546051,
-0.14036384224891663,
0.16162854433059692,
-0.06843648105859756,
-0.1980534940958023,
-0.1089480072259903,
-0.04254868999123573,
-0.10375957190990448,
0.341632604598999,
-0.00010379384912084788,
0.08494627475738525,
0.09497514367103577,
0.044775135815143585,
-0.25183629989624023,
0.09625138342380524,
-0.106831856071949,
-0.017347265034914017,
-0.07544995844364166,
0.06649786978960037,
0.0984170213341713,
0.029955562204122543,
0.008103623986244202,
0.32866716384887695,
0.22272378206253052,
0.19859030842781067,
0.34380027651786804,
-0.17667613923549652,
0.037896644324064255,
-0.1563279777765274,
0.030753005295991898,
-0.061488568782806396,
0.09136317670345306,
0.4764641523361206,
-0.046256259083747864,
-0.16146311163902283,
0.19887851178646088,
0.1657380312681198,
0.050653181970119476,
-0.31771206855773926,
0.024536702781915665,
-0.26538681983947754,
0.3479650616645813,
-0.159872367978096,
0.33015358448028564,
-0.24604833126068115,
0.07858067750930786,
-0.3404543399810791,
0.04493557661771774,
0.30645158886909485,
0.09799985587596893,
-0.37935253977775574,
0.12403611838817596,
0.13825958967208862,
0.06619684398174286,
0.1964205950498581,
-0.24533501267433167,
-0.4765125513076782,
-0.012549087405204773,
-0.12053105235099792,
-0.11474993824958801,
0.22732380032539368,
0.04194062575697899,
-0.19823530316352844,
0.142509326338768,
-0.05170705169439316,
-0.2925046980381012,
0.2414933741092682,
-0.4267244040966034,
0.07260056585073471,
-0.3440014719963074,
-0.08401784300804138,
0.0631619244813919,
-0.21517664194107056,
-0.03792500123381615,
0.19424496591091156,
-0.04214588180184364,
0.14201620221138,
0.4441176652908325,
-0.04587960243225098,
-0.020001955330371857,
0.17128625512123108,
-0.10424055904150009,
0.6728463768959045,
-0.002455238252878189,
-0.06887660920619965,
-0.19228045642375946,
0.03435247018933296,
-0.13700328767299652,
-0.33150985836982727,
-0.08446858078241348,
0.12576600909233093,
0.051661498844623566,
0.017071019858121872,
-0.0485108345746994,
0.22463606297969818,
-0.32431039214134216,
0.008070271462202072,
0.08611941337585449,
0.33225899934768677,
0.09322294592857361,
0.09034903347492218,
0.24375154078006744,
0.14130055904388428,
-0.17717978358268738,
-0.04203901067376137,
-0.2104181945323944,
0.11388200521469116,
-0.503132164478302,
-0.06174818426370621,
-0.0966961458325386,
-0.10200884938240051,
-0.11974555253982544,
0.20646841824054718,
0.20929358899593353,
-0.241903156042099,
-0.4902035892009735,
-0.07275490462779999,
-0.02879776805639267,
0.28642570972442627,
-0.35844850540161133,
-0.24485594034194946,
0.16849112510681152,
0.24773691594600677,
0.03611868619918823,
0.13218280673027039,
-0.20252162218093872,
-0.5269803404808044,
-0.16626569628715515,
0.35638946294784546,
0.1316298544406891,
0.3458854854106903,
0.5419575572013855,
-0.0897664725780487,
0.38566097617149353,
-0.28221413493156433,
0.11635780334472656,
-0.12344405055046082,
0.08225500583648682,
-0.23285949230194092,
0.3388875722885132,
0.2834130525588989,
-0.0500701367855072,
-0.1981131136417389,
-0.013629807159304619,
-0.06391243636608124,
0.4334651529788971,
0.3185309171676636,
0.07747156172990799,
0.392697274684906,
-0.15032942593097687,
0.09303118288516998,
0.39161592721939087,
0.08623349666595459,
0.022415099665522575,
-0.19039249420166016,
-0.343017041683197,
-0.2240891009569168,
-0.1570228934288025,
-0.2022048830986023,
0.13078969717025757,
0.06636735796928406,
0.36039334535598755,
-0.1705481857061386,
-0.029069775715470314,
-0.0022492073476314545,
-0.42993494868278503,
0.10315939784049988,
0.04032346233725548,
-0.11305996775627136,
0.09101983904838562,
0.3648167550563812,
-0.18904292583465576,
0.1280573457479477,
0.3062557578086853,
-0.12317904829978943,
-0.05036747455596924,
0.14189693331718445,
0.2512897253036499,
0.20590974390506744,
0.023494534194469452,
-0.15271151065826416,
0.200445294380188,
-0.06728694587945938,
0.15446723997592926,
0.16155213117599487,
0.028726816177368164,
0.0921148955821991,
-0.16859662532806396,
0.04316365718841553,
0.00304417684674263,
-0.016487400978803635,
0.3227410316467285,
-0.05355243384838104,
-0.1337643563747406,
-0.3222094178199768,
-0.19949761033058167,
-0.08248883485794067,
-0.2502017617225647,
0.14638939499855042,
0.03721889853477478,
0.1947832703590393,
-0.36287733912467957,
-0.24459534883499146,
-0.06548143178224564,
0.14931875467300415,
0.07338977605104446,
0.019857801496982574,
-0.009599832817912102,
0.46711140871047974,
0.027364088222384453,
-0.3220406770706177,
-0.22803640365600586,
0.17943409085273743,
-0.20280122756958008,
-0.15005961060523987,
-0.05633436143398285,
-0.25978216528892517,
0.00539647601544857,
-0.016586724668741226,
0.4255542457103729,
0.22792698442935944,
0.10420355200767517,
0.16520708799362183,
0.004191022366285324,
0.00003137625753879547,
-0.1835293471813202,
0.029144760221242905,
0.1865878850221634,
-0.25439372658729553,
0.4349214732646942,
-0.006482008844614029,
-0.23163852095603943,
0.022774364799261093,
-0.4008171856403351,
-0.18421509861946106,
-0.05611904338002205,
-0.12104877829551697,
0.06646040081977844,
0.14022019505500793,
0.2379370927810669,
0.0015532318502664566,
-0.16501551866531372,
-0.12665122747421265,
0.27054011821746826,
-0.04381995648145676,
-0.14959755539894104,
0.2641622722148895,
0.03878604620695114,
-0.025290630757808685,
0.2833727300167084,
0.08878269046545029,
0.18483857810497284,
0.1646081805229187,
-0.06040075421333313,
-0.0067382389679551125,
0.18196529150009155,
0.04304630681872368,
-0.004887055605649948,
0.2230546772480011,
-0.34999677538871765,
0.13510125875473022,
-0.2751803994178772,
-0.2124188244342804,
-0.18511119484901428,
-0.28933951258659363,
-0.06210194155573845,
-0.18359854817390442,
0.07815024256706238,
-0.226951003074646,
-0.3098686635494232,
0.282358318567276,
-0.05466558784246445,
0.24505580961704254,
-0.0875232070684433,
0.08971469849348068,
0.05153495818376541,
-0.0849861428141594,
-0.0005646087229251862,
0.1749722808599472,
0.07035478204488754,
-0.22125360369682312,
0.01950938068330288,
-0.257697731256485,
-0.18028578162193298,
0.2033018320798874,
-0.05483440309762955,
-0.03140992671251297,
-0.2417801171541214,
-0.03198505938053131,
0.4620346426963806,
0.05337567999958992,
0.055814228951931,
-0.46065863966941833,
0.24321727454662323,
-0.03020188957452774,
-0.1263066530227661,
0.30050504207611084,
0.22572806477546692,
0.19954833388328552,
-0.357779324054718,
-0.1580221951007843,
-0.01784391514956951,
-0.43703702092170715,
0.08076638728380203,
-0.09414204955101013,
0.19847020506858826,
0.30931544303894043,
0.04985159635543823,
-0.23195473849773407,
-0.1632595807313919,
0.20229321718215942,
0.06251885741949081,
0.39546844363212585,
-0.12345971167087555,
-0.18217960000038147,
-0.011496707797050476,
-0.01997552067041397,
0.10600656270980835,
0.30742985010147095,
-0.1804029792547226,
-0.22410878539085388,
0.41443967819213867,
0.06112750619649887,
-0.00955674797296524,
-0.3242361545562744,
-0.021110577508807182,
-0.2813098132610321,
0.20211994647979736,
-0.17416352033615112,
0.16892603039741516,
-0.02230146899819374,
-0.12557777762413025,
0.017736736685037613,
0.05215981602668762,
-0.3689877986907959,
0.4874565899372101,
-0.2934741973876953,
0.47605448961257935,
0.029856611043214798,
0.08252429217100143,
0.0397627055644989,
-0.0357135608792305,
0.10223253071308136,
-0.28181692957878113,
-0.1942625790834427,
0.02393728867173195,
-0.051848024129867554,
-0.5545051097869873,
0.1280704289674759,
-0.11831594258546829,
-0.0963732898235321,
-0.12095499783754349,
-0.08126533776521683,
-0.1339651644229889,
-0.34607526659965515,
0.25856202840805054,
-0.3476930856704712,
0.25345849990844727,
-0.4009259045124054,
-0.12682566046714783,
0.11646464467048645,
0.07699865847826004,
-0.0914822369813919,
0.29462313652038574,
-0.12912213802337646,
-0.1886090338230133,
-0.2129199355840683,
-0.6370453834533691,
0.15478216111660004,
0.22268791496753693,
-0.025077885016798973,
0.7046793103218079,
-0.13770784437656403,
-0.34378209710121155,
-0.10815802216529846,
0.036866579204797745,
0.5107271075248718,
0.4516960680484772,
-0.14587551355361938,
0.4116618037223816,
-0.09035609662532806,
0.34178847074508667,
-0.26293110847473145,
0.017840314656496048,
0.3661649525165558,
0.4981163442134857,
-0.24636974930763245,
-0.2116134762763977,
-0.05510735884308815,
0.38009878993034363,
0.08955051749944687,
-0.10261698067188263,
0.10265391319990158,
-0.34508857131004333,
0.040838345885276794,
-0.050227344036102295,
0.06415434181690216,
0.033894315361976624,
0.22749419510364532,
-0.1419811248779297,
0.4999273121356964,
0.28578847646713257,
-0.35500597953796387,
0.10116150230169296,
0.008969435468316078,
0.26499250531196594,
-0.26113513112068176,
0.22517403960227966,
-0.2908860146999359,
-0.047109052538871765,
0.4776075780391693,
0.22319753468036652,
0.09783805906772614,
-0.09458200633525848,
0.1437970995903015,
0.3901394307613373,
0.4138247072696686,
0.168523371219635,
0.14624741673469543,
0.3380844295024872,
-0.052781395614147186,
0.1227879598736763,
-0.06794623285531998,
-0.31996384263038635,
0.03327621519565582,
-0.05863945558667183,
-0.5299723744392395,
-0.1408592313528061,
0.06035734713077545,
0.12317970395088196,
0.038793012499809265,
0.2206963449716568,
-0.2961149215698242,
-0.26577913761138916,
0.34077292680740356,
0.13794676959514618,
1.0106596946716309,
0.14615246653556824,
0.1285041719675064,
-0.06479969620704651,
-0.1533755511045456,
-0.07876180112361908,
-0.2794635593891144,
0.34310275316238403,
-0.43694236874580383,
-0.1669882833957672,
0.1185336709022522,
-0.1225157380104065,
0.013961289077997208,
-0.4116818308830261,
-0.3777756690979004,
-0.005596664734184742,
-0.66615229845047,
0.14570514857769012,
0.02574601024389267,
-0.3214264512062073,
-0.07631011307239532,
0.2105015367269516,
-0.12326675653457642,
0.19701023399829865,
0.1768668293952942,
-0.2122790515422821,
-0.3408967852592468,
0.06082816794514656,
-0.223671093583107,
-0.06803309917449951,
-0.43621134757995605,
-0.03290611505508423,
-0.07275735586881638,
0.1435651183128357,
0.15157920122146606,
0.09578308463096619,
0.0017284732311964035,
0.04697228968143463,
-0.20730452239513397,
0.46141451597213745,
0.07872916013002396,
-0.02201502025127411,
0.2596640884876251,
0.029904168099164963,
-0.0323881097137928,
0.1774681955575943,
0.2059488594532013,
-0.12908793985843658,
-0.3706229627132416,
0.2739911377429962,
-0.06141478568315506,
-0.17286980152130127,
-0.22536665201187134,
0.2102961391210556,
0.013214588165283203,
-0.36331069469451904,
-0.02418786846101284,
-0.05659221112728119,
-0.0349770188331604,
-0.22517068684101105,
0.25464099645614624,
0.13604636490345,
-0.3165687918663025,
0.027267426252365112,
-0.01020698994398117,
-0.20085790753364563,
-0.07128667831420898,
0.18465083837509155,
0.20587337017059326,
0.09421008825302124,
0.40560418367385864,
0.0788772851228714,
-0.1321324110031128,
-0.3102950155735016,
0.10313471406698227,
0.012427648529410362,
-0.26915064454078674,
0.12759235501289368,
-0.15552429854869843,
-0.11586607247591019,
0.28928864002227783,
0.3714364469051361,
0.2798423171043396,
0.08336642384529114,
-0.33962899446487427,
-0.1553977131843567,
-0.3487846851348877,
0.20438238978385925,
-0.026361223310232162,
0.23270364105701447,
-0.32024621963500977,
0.5290214419364929,
-0.08798376470804214,
0.15681518614292145,
-0.4287857413291931,
-0.28819647431373596,
-0.7285181879997253,
0.19573920965194702,
-0.5375833511352539,
-0.014782987534999847,
-0.19963914155960083,
-0.11529484391212463,
0.2736549973487854,
0.14519819617271423,
-0.13118267059326172,
-0.26165351271629333,
0.3099190592765808,
0.08934987336397171,
-0.13825920224189758,
0.16075170040130615,
-0.18569950759410858,
0.22959686815738678,
0.12574703991413116,
0.1382630318403244,
-0.09383924305438995,
-0.24607834219932556,
0.12937434017658234,
0.14673186838626862,
0.31704357266426086,
-0.07259614020586014,
0.17506633698940277,
0.11395342648029327,
0.030111797153949738,
0.07136285305023193,
-0.06626313924789429,
0.09772972762584686,
-0.13725541532039642,
-0.2036699652671814,
-0.32039669156074524,
0.25031131505966187,
-0.16805537045001984,
-0.0695350170135498,
0.13552063703536987,
-0.13363659381866455,
-0.13744956254959106,
-0.23242367804050446,
0.2320207953453064,
0.5150256156921387,
-0.16762124001979828,
0.010507551953196526,
0.18820711970329285,
0.31249743700027466,
0.07683701813220978,
-0.08425391465425491,
-0.005838159471750259,
-0.2369338721036911,
-0.10682684183120728,
0.2745174765586853,
-0.021785223856568336,
-0.14778420329093933,
0.0024969950318336487,
0.14965683221817017,
-0.16194778680801392,
0.18749617040157318,
0.23495876789093018,
0.5477254390716553,
0.04772469773888588,
0.07138095796108246,
0.07434384524822235,
0.04138556122779846,
0.06747765839099884,
0.1926061362028122,
0.1987161636352539,
0.3470653295516968,
0.13195767998695374,
-0.10220089554786682,
0.19132326543331146,
-0.17396663129329681,
0.08273211866617203,
-0.10381820797920227,
-0.15666216611862183,
-0.006631381809711456,
-0.28129589557647705,
0.06904765963554382,
-0.005391334183514118,
-0.3544120788574219,
0.11469931155443192,
0.10605406761169434,
-0.24349072575569153,
0.10166150331497192,
-0.07319793105125427,
-0.07560615241527557,
-0.11380235850811005,
-0.1665043830871582,
0.2280864417552948,
0.24046866595745087,
0.1543635129928589,
0.09465945512056351,
-0.06488518416881561,
0.1656229943037033,
-0.032097361981868744,
0.1686093509197235,
0.18705707788467407,
-0.3621346652507782,
-0.02202150784432888,
0.10477068275213242,
0.15220366418361664,
0.2763007879257202,
0.15905186533927917,
0.5765718817710876,
0.4360184073448181,
-0.06590183079242706,
-0.34281229972839355,
0.008851375430822372,
0.05661500245332718,
0.07762352377176285,
0.31119340658187866,
0.28677260875701904,
0.06716430187225342,
-0.06834980845451355,
0.2652672827243805,
-0.2137995958328247,
0.16716620326042175,
0.20882204174995422,
0.14547233283519745,
-0.07470157742500305,
0.2663780450820923,
-0.018732577562332153,
-0.5040338039398193,
0.015889648348093033,
0.19393247365951538,
-0.37423983216285706,
0.3090117871761322,
0.1969161182641983,
-0.024664413183927536,
-0.031496115028858185,
0.19895176589488983,
0.1665070354938507,
0.4471563696861267,
0.7761337757110596,
0.2921563684940338,
0.12861156463623047,
-0.29001694917678833,
-0.41079068183898926,
0.2108030915260315,
0.14049072563648224,
0.07721137255430222,
0.08972176909446716,
0.2102862447500229,
-0.03418191894888878,
0.030033394694328308,
-0.04504670947790146,
-0.006961122155189514,
-0.11526118218898773,
-0.29807353019714355,
0.49797889590263367,
-0.2307422161102295,
0.005586419254541397,
-0.16059844195842743,
0.008341232314705849,
0.041881367564201355,
-0.022773003205657005,
0.30653536319732666,
-0.26858940720558167,
0.2356623411178589,
0.011719327419996262,
-0.11563695222139359,
0.3238629698753357,
0.18242193758487701,
0.24354052543640137,
0.005716132000088692,
0.20085951685905457,
-0.13880613446235657,
-0.3220755457878113,
-0.15985721349716187,
-0.6164080500602722,
0.008917137049138546,
0.10159178078174591,
0.07129259407520294,
-0.08215054869651794,
0.06014402210712433,
-0.19806666672229767,
-0.2439914047718048,
0.0787736028432846,
-0.004523035138845444,
0.3282693922519684,
0.07280371338129044,
0.12224436551332474,
0.2073913812637329,
-0.11456124484539032,
0.08116389811038971,
0.3380853831768036,
0.05856059119105339,
0.20927664637565613,
-0.4712531566619873,
-0.2823229134082794,
0.40847212076187134,
0.11250574886798859,
-0.3361491560935974,
-0.18381810188293457,
0.27893829345703125,
-0.12592783570289612,
-0.051659755408763885,
-0.8092274069786072,
-0.17383190989494324,
0.18188367784023285,
-0.03149482235312462,
-0.47935351729393005,
0.4192327558994293,
0.17112866044044495,
-0.08489825576543808,
0.08051915466785431,
0.3710465431213379,
-0.17404013872146606,
-0.1459842026233673,
0.003169342875480652,
-0.1232881173491478
] |
https://github.com/huggingface/datasets/pull/2249 | Allow downloading/processing/caching only specific splits | > If you pass a dictionary like this:
>
> ```
> {"main_metadata": url_to_main_data,
> "secondary_metadata": url_to_sec_data,
> "train": url_train_data,
> "test": url_test_data}
> ```
>
> then only the train or test keys will be kept, which I feel not intuitive.
>
> For example if the users asks to load the "train" split, then the main and secondary metadata won't be downloaded.
> You can fix that by keeping all the keys except the splits to ignore
Hi @lhoestq, I have been thinking about this and I think it is worth that we discuss about it.
When I created this PR, my first idea was to create a "hack" inside the download manager that will be able to filter some split(s) without touching any dataset script. Of course, the download manager does not know about splits logic, and thus this trick would only work for some very specific datasets: only the ones containing that pass a dict to the download manager containing only the keys "train", "validation", "test" (or the one passed by the user for advanced users knowing they can do it), e.g. the `natural_questions` dataset (which was one of the targets).
The big inconvenient of this approach is that it is not applicable to many datasets (or worse, it should be constantly tweaked to cope with exceptional cases). One exceptional case is the one you pointed out. But I see others:
- the split keys can be different: train, test, dev, val, validation, eval,...
- in `hope_edi` dataset, the split keys are: TRAIN_DOWNLOAD_URL, VALIDATION_DOWNLOAD_URL
- in `few_rel` dataset, the split keys are: train_wiki, val_nyt, val_pubmed,..., pid2name
- in `curiosity_dialogs`, the split keys are: train, val, test, test_zero; this means that for every split we pass, we will also get test_zero
- in `deal_or_no_dialog`, each of the splits URL is passed separately to the download manager, so all splits would be always downloaded
- etc.
Then after discussing, another idea emerged: pass a `split` parameter to `_split_generators`, which know about the splits logic, so that it can handle which splits are passed to the download manager. This approach is more accurate and can be tweaked so that it works with all the datasets we want. The only inconvenient is that then for every target dataset, we must modify its corresponding `_split_generators` script method.
My point is that I don't think it is a good idea to implement both approaches. They could even interfere with each other!
If you agree, I would implement ONLY the second one, which is simpler, more consistent and stable and will avoid future problems. | Allow downloading/processing/caching only specific splits without downloading/processing/caching the other splits.
This PR implements two steps to handle only specific splits:
- it allows processing/caching only specific splits into Arrow files
- for some simple cases, it allows downloading only specific splits (which is more intricate as it depends on the user-defined method `_split_generators`)
This PR makes several assumptions:
- `DownloadConfig` contains the configuration settings for downloading
- the parameter `split` passed to `load_dataset` is just a parameter for loading (from cache), not for downloading | 431 | text: Allow downloading/processing/caching only specific splits
Allow downloading/processing/caching only specific splits without downloading/processing/caching the other splits.
This PR implements two steps to handle only specific splits:
- it allows processing/caching only specific splits into Arrow files
- for some simple cases, it allows downloading only specific splits (which is more intricate as it depends on the user-defined method `_split_generators`)
This PR makes several assumptions:
- `DownloadConfig` contains the configuration settings for downloading
- the parameter `split` passed to `load_dataset` is just a parameter for loading (from cache), not for downloading
> If you pass a dictionary like this:
>
> ```
> {"main_metadata": url_to_main_data,
> "secondary_metadata": url_to_sec_data,
> "train": url_train_data,
> "test": url_test_data}
> ```
>
> then only the train or test keys will be kept, which I feel not intuitive.
>
> For example if the users asks to load the "train" split, then the main and secondary metadata won't be downloaded.
> You can fix that by keeping all the keys except the splits to ignore
Hi @lhoestq, I have been thinking about this and I think it is worth that we discuss about it.
When I created this PR, my first idea was to create a "hack" inside the download manager that will be able to filter some split(s) without touching any dataset script. Of course, the download manager does not know about splits logic, and thus this trick would only work for some very specific datasets: only the ones containing that pass a dict to the download manager containing only the keys "train", "validation", "test" (or the one passed by the user for advanced users knowing they can do it), e.g. the `natural_questions` dataset (which was one of the targets).
The big inconvenient of this approach is that it is not applicable to many datasets (or worse, it should be constantly tweaked to cope with exceptional cases). One exceptional case is the one you pointed out. But I see others:
- the split keys can be different: train, test, dev, val, validation, eval,...
- in `hope_edi` dataset, the split keys are: TRAIN_DOWNLOAD_URL, VALIDATION_DOWNLOAD_URL
- in `few_rel` dataset, the split keys are: train_wiki, val_nyt, val_pubmed,..., pid2name
- in `curiosity_dialogs`, the split keys are: train, val, test, test_zero; this means that for every split we pass, we will also get test_zero
- in `deal_or_no_dialog`, each of the splits URL is passed separately to the download manager, so all splits would be always downloaded
- etc.
Then after discussing, another idea emerged: pass a `split` parameter to `_split_generators`, which know about the splits logic, so that it can handle which splits are passed to the download manager. This approach is more accurate and can be tweaked so that it works with all the datasets we want. The only inconvenient is that then for every target dataset, we must modify its corresponding `_split_generators` script method.
My point is that I don't think it is a good idea to implement both approaches. They could even interfere with each other!
If you agree, I would implement ONLY the second one, which is simpler, more consistent and stable and will avoid future problems. | [
-0.033248599618673325,
-0.02948959916830063,
-0.09555837512016296,
0.10058528184890747,
-0.13768641650676727,
-0.2769307792186737,
-0.03468412533402443,
0.14888896048069,
0.08790592849254608,
0.01593136042356491,
-0.022997740656137466,
0.2012910693883896,
-0.08488129079341888,
0.23518596589565277,
-0.013425079174339771,
-0.37327730655670166,
-0.13458603620529175,
0.1534561812877655,
0.2029474973678589,
0.2105811983346939,
-0.2129540741443634,
-0.17540483176708221,
-0.09732751548290253,
-0.12727637588977814,
-0.11397179961204529,
-0.12487147003412247,
0.04709555208683014,
0.2560670077800751,
-0.48017218708992004,
-0.4044100344181061,
-0.12259307503700256,
0.4807244539260864,
0.012597311288118362,
-0.3081541359424591,
-0.00011796564649557695,
0.006680473685264587,
0.14065195620059967,
-0.272501677274704,
-0.20208367705345154,
0.022613435983657837,
-0.48396357893943787,
-0.04184781014919281,
-0.09443776309490204,
-0.22001324594020844,
0.1181117370724678,
0.05145793780684471,
-0.051449134945869446,
-0.16359716653823853,
0.605604887008667,
0.13925248384475708,
0.11117720603942871,
-0.015588689595460892,
-0.20866890251636505,
0.03698507323861122,
0.4414409101009369,
0.14906075596809387,
-0.26461562514305115,
-0.11033821105957031,
0.2553335428237915,
0.15881867706775665,
-0.22426098585128784,
0.16738827526569366,
-0.19191309809684753,
0.21733838319778442,
0.4323183298110962,
-0.1425769031047821,
0.20817604660987854,
-0.7839993238449097,
0.060099080204963684,
0.3877400755882263,
0.5582140684127808,
-0.026809006929397583,
-0.32054853439331055,
-0.4020845890045166,
-0.2927780747413635,
-0.2549765706062317,
0.06333687901496887,
0.16983479261398315,
-0.4119836091995239,
0.2273782342672348,
-0.2961297333240509,
-0.25271937251091003,
-0.09160962700843811,
-0.068073570728302,
-0.08866921067237854,
0.40658265352249146,
0.08784675598144531,
0.06291911751031876,
0.4975925087928772,
0.46264874935150146,
0.4354473352432251,
-0.1872505247592926,
0.030618170276284218,
0.09902270138263702,
0.11104117333889008,
-0.16038787364959717,
-0.32071447372436523,
0.1996426284313202,
0.22184574604034424,
0.5619825124740601,
-0.16860441863536835,
0.12926378846168518,
0.08372281491756439,
0.06147856265306473,
0.16548088192939758,
-0.04837176576256752,
0.1240687370300293,
0.39508652687072754,
0.23538491129875183,
0.1636865735054016,
0.1820332407951355,
0.1423046588897705,
0.1952943503856659,
-0.2233761101961136,
-0.11332377791404724,
0.23862877488136292,
0.06261026114225388,
0.031866688281297684,
-0.2203351855278015,
-0.14816434681415558,
-0.033546824008226395,
-0.5085351467132568,
0.06264423578977585,
0.3695775270462036,
-0.0011945073492825031,
0.17391538619995117,
-0.3509107232093811,
0.10442117601633072,
0.054233141243457794,
-0.2727273404598236,
-0.10607510060071945,
0.02460413984954357,
-0.38989126682281494,
0.2910926043987274,
0.3609345555305481,
-0.14300109446048737,
0.33062055706977844,
0.23476654291152954,
-0.13070139288902283,
-0.2268778681755066,
0.13888704776763916,
-0.12108565866947174,
0.3295917212963104,
0.5575973987579346,
0.014000553637742996,
0.043560221791267395,
0.023068588227033615,
-0.09980302304029465,
-0.33505406975746155,
0.23207241296768188,
-0.5059006214141846,
-0.4663415253162384,
0.34565383195877075,
0.12040301412343979,
-0.38503414392471313,
0.1532173454761505,
0.04485248029232025,
0.17177103459835052,
0.24392622709274292,
-0.025480493903160095,
0.4104922115802765,
0.21383517980575562,
-0.18799574673175812,
-0.34451955556869507,
0.07363171130418777,
0.38148945569992065,
-0.3833053410053253,
-0.09295901656150818,
-0.06385675817728043,
-0.40365836024284363,
0.3605585992336273,
0.16025711596012115,
-0.3296677768230438,
0.1895672082901001,
-0.2301008701324463,
0.2431250959634781,
0.45895856618881226,
-0.10534462332725525,
-0.35673263669013977,
0.4655286371707916,
0.08219404518604279,
0.14376328885555267,
0.5684698224067688,
0.007504621520638466,
0.7091275453567505,
-0.2324690967798233,
-0.23325461149215698,
0.09088374674320221,
-0.0927414819598198,
-0.026705386117100716,
-0.03565308824181557,
-0.3301238417625427,
-0.011489540338516235,
-0.08022438734769821,
0.12026052176952362,
0.369432270526886,
0.17588841915130615,
0.2874757647514343,
0.22641468048095703,
0.20337386429309845,
0.23305818438529968,
-0.17044222354888916,
-0.16974179446697235,
0.114198237657547,
0.09018642455339432,
0.017522279173135757,
-0.44064146280288696,
0.2762705385684967,
-0.1573750227689743,
-0.2622058391571045,
0.09696567803621292,
-0.44163817167282104,
-0.3741455674171448,
-0.10278293490409851,
-0.1858038753271103,
-0.4441698491573334,
0.04497919976711273,
-0.10665513575077057,
0.05675867572426796,
-0.25124675035476685,
-0.24035857617855072,
0.1354684829711914,
0.2723526358604431,
0.04685583338141441,
0.048907570540905,
-0.06534870713949203,
-0.15929755568504333,
0.2108151912689209,
-0.21421223878860474,
-0.09999201446771622,
0.10527008026838303,
-0.0817258208990097,
0.22543823719024658,
0.371881902217865,
0.5883557200431824,
0.05336837098002434,
-0.11863233894109726,
0.2963276505470276,
0.21825821697711945,
-0.031352054327726364,
0.13211311399936676,
-0.08135214447975159,
0.17949452996253967,
-0.1272544264793396,
-0.3611088991165161,
0.43392062187194824,
-0.09500902891159058,
0.2678578197956085,
0.038577839732170105,
-0.004730423912405968,
0.17676208913326263,
-0.2190610021352768,
-0.19880712032318115,
-0.31925010681152344,
-0.12622961401939392,
-0.04571465775370598,
0.20024226605892181,
0.14461524784564972,
-0.0086454376578331,
0.2876107692718506,
0.26892122626304626,
-0.13807974755764008,
-0.16146034002304077,
0.07341602444648743,
0.07985366135835648,
-0.1659887135028839,
-0.01621716283261776,
0.7264522910118103,
0.4906729459762573,
0.24116834998130798,
0.24267372488975525,
0.06557609885931015,
-0.005279906094074249,
-0.3480631411075592,
0.3930090367794037,
0.14760956168174744,
-0.08232426643371582,
0.1630190908908844,
-0.32093340158462524,
0.01990957371890545,
-0.1335790753364563,
-0.18122507631778717,
0.33857613801956177,
0.09403005242347717,
-0.2530075013637543,
-0.02169319987297058,
-0.3095017373561859,
-0.3281490206718445,
0.23107518255710602,
0.07966163009405136,
-0.11535175144672394,
-0.1762317568063736,
0.25038856267929077,
0.055852122604846954,
-0.27467188239097595,
-0.001475367695093155,
-0.22857338190078735,
0.4673234522342682,
-0.39125603437423706,
-0.2699776589870453,
-0.3002588152885437,
-0.21402689814567566,
0.04032867029309273,
0.07560546696186066,
0.2765030264854431,
-0.08591198176145554,
0.4387299716472626,
-0.2220536768436432,
-0.41388052701950073,
-0.16647030413150787,
-0.10856819152832031,
0.225293830037117,
-0.06176203489303589,
-0.18775801360607147,
0.23759394884109497,
0.21474987268447876,
0.3343207836151123,
-0.30483734607696533,
-0.1174577996134758,
0.03700065612792969,
-0.2603311538696289,
-0.20193062722682953,
0.14676149189472198,
0.21190610527992249,
-0.5136902928352356,
-0.4347052276134491,
-0.13343989849090576,
-0.40471911430358887,
0.20100004971027374,
0.10050900280475616,
0.35419684648513794,
-0.026286691427230835,
0.041644901037216187,
-0.09632329642772675,
-0.11397484689950943,
-0.14413444697856903,
-0.33890873193740845,
-0.01318308338522911,
0.20609156787395477,
-0.12378586828708649,
0.034183140844106674,
0.25833871960639954,
-0.04988539591431618,
-0.04071173444390297,
0.3847901225090027,
-0.2772454023361206,
0.08007429540157318,
-0.1378161460161209,
0.3152609169483185,
-0.07677022367715836,
0.04202854633331299,
0.5905287265777588,
0.02627074159681797,
-0.02793842926621437,
-0.07115785032510757,
0.0019791219383478165,
0.038653820753097534,
-0.14771342277526855,
0.19309431314468384,
0.039389997720718384,
0.22719568014144897,
0.0907922089099884,
1.1641901731491089,
0.016618866473436356,
0.3801897168159485,
0.19870279729366302,
0.08476964384317398,
0.20541912317276,
-0.021555960178375244,
0.27695026993751526,
0.041429776698350906,
-0.32906416058540344,
-0.20791557431221008,
0.08836466073989868,
0.012512587942183018,
-0.3797275125980377,
-0.18340614438056946,
0.04805963858962059,
-0.08539843559265137,
-0.3012998402118683,
0.23842287063598633,
-0.16046127676963806,
0.07388768345117569,
-0.02356766350567341,
0.2502738833427429,
0.13254401087760925,
0.10436616092920303,
-0.09165573120117188,
0.396371066570282,
0.32248735427856445,
0.1349921077489853,
-0.11921180784702301,
0.2834208905696869,
-0.3786635100841522,
-0.004622898995876312,
0.014324689283967018,
-0.0057502808049321175,
-0.11597742140293121,
-0.11177574843168259,
0.34751272201538086,
0.0804426372051239,
0.6417872905731201,
-0.3705078661441803,
0.06810532510280609,
-0.05598399415612221,
-0.01208198070526123,
0.11634286493062973,
-0.2376548796892166,
-0.08291101455688477,
0.13758626580238342,
0.18784791231155396,
0.14566665887832642,
-0.47758451104164124,
-0.23615345358848572,
-0.21354465186595917,
-0.0903310477733612,
0.07217477262020111,
-0.2012241780757904,
-0.02329661138355732,
-0.10456934571266174,
-0.4679704010486603,
0.22459536790847778,
0.45546096563339233,
-0.3679105043411255,
-0.373428076505661,
0.1552010178565979,
0.15088555216789246,
0.12673935294151306,
0.009870603680610657,
0.2268238216638565,
0.08528359979391098,
-0.10243115574121475,
-0.1558058261871338,
0.07601691037416458,
0.009404849261045456,
0.10068708658218384,
0.4562143087387085,
-0.1860576570034027,
-0.11814327538013458,
0.17016497254371643,
-0.146392822265625,
-0.12896442413330078,
0.48190683126449585,
-0.026766855269670486,
0.08059833943843842,
0.1899135857820511,
0.01279585063457489,
-0.15426920354366302,
0.06608017534017563,
-0.04730291664600372,
-0.5790550708770752,
-0.27502894401550293,
-0.7303870320320129,
0.4868348240852356,
0.20419223606586456,
-0.4004659056663513,
0.21232672035694122,
0.1558910608291626,
-0.2374366819858551,
0.20915541052818298,
0.34054380655288696,
1.2258127927780151,
0.20770037174224854,
0.20117619633674622,
0.06683558225631714,
-0.33188050985336304,
0.49746236205101013,
-0.40990525484085083,
-0.005282899364829063,
0.019639980047941208,
0.09437976777553558,
-0.2831055521965027,
-0.17676888406276703,
0.19848960638046265,
0.09551596641540527,
-0.38529038429260254,
0.2524263262748718,
-0.2851344645023346,
0.005158338695764542,
0.23783980309963226,
0.047250159084796906,
-0.4206937551498413,
-0.16946305334568024,
0.34670552611351013,
0.015797272324562073,
0.026930494233965874,
0.2131192684173584,
-0.008667277172207832,
-0.30140674114227295,
-0.07390293478965759,
-0.11335276812314987,
-0.34200429916381836,
-0.11096570640802383,
-0.34192079305648804,
-0.1325003057718277,
-0.27333328127861023,
0.21832160651683807,
0.23888200521469116,
0.1820821911096573,
0.08451297879219055,
-0.15927588939666748,
-0.2655767500400543,
0.14339721202850342,
0.07597137987613678,
0.08778199553489685,
-0.040840208530426025,
-0.2025306075811386,
0.2940174341201782,
-0.16135117411613464,
-0.15505512058734894,
0.16158320009708405,
-0.43038198351860046,
-0.21315203607082367,
-0.17566165328025818,
0.4139670133590698,
0.17004244029521942,
-0.1022622287273407,
-0.03948488086462021,
-0.1050126850605011,
-0.2171037793159485,
-0.16928821802139282,
0.03424057364463806,
-0.05137117952108383,
-0.06189245358109474,
0.15404734015464783,
-0.39565569162368774,
-0.1731044352054596,
-0.09401796758174896,
0.08438080549240112,
0.023781824856996536,
0.11590427160263062,
0.003890387713909149,
-0.4967590868473053,
-0.33122527599334717,
-0.30429384112358093,
-0.06307543814182281,
-0.3136611878871918,
-0.45637547969818115,
0.11286945641040802,
0.0017481737304478884,
-0.38044869899749756,
0.016167178750038147,
0.18875980377197266,
0.30811405181884766,
0.38785484433174133,
-0.05031901225447655,
-0.29250556230545044,
0.007417967543005943,
-0.07327692210674286,
-0.3503269851207733,
0.16762833297252655,
-0.21682357788085938,
0.21067054569721222,
0.14877164363861084,
0.37674835324287415,
-0.2469581812620163,
-0.08981580287218094,
0.10596447438001633,
0.13686496019363403,
-0.01249559223651886,
0.1342916637659073,
-0.24877403676509857,
-0.1468229740858078,
-0.11748693138360977,
0.10933903604745865,
-0.46173095703125,
-0.12129400670528412,
-0.22266612946987152,
0.19607162475585938,
0.08858863264322281,
-0.1294681876897812,
0.014756833203136921,
0.08186272531747818,
-0.20179535448551178,
0.1267130821943283,
0.16296769678592682,
0.10427563637495041,
0.09215961396694183,
0.014435450546443462,
0.40248242020606995,
0.45315536856651306,
-0.3657081723213196,
0.195219025015831,
-0.1769903302192688,
0.3370910882949829,
0.08297272026538849,
0.37855982780456543,
-0.3757729232311249,
-0.04943278431892395,
-0.11043677479028702,
0.008040323853492737,
0.36751294136047363,
0.16920047998428345,
0.3574405014514923,
0.17917786538600922,
0.12038478255271912,
-0.0795009434223175,
0.14181379973888397,
0.5697609782218933,
-0.015219554305076599,
-0.14575500786304474,
0.33208200335502625,
0.1611962765455246,
-0.1588800847530365,
-0.2213716208934784,
-0.008378488942980766,
0.1252598911523819,
0.01515386626124382,
0.412609338760376,
0.48125526309013367,
-0.009716160595417023,
-0.031256116926670074,
-0.008345985785126686,
0.40256646275520325,
-0.22110800445079803,
0.01706450805068016,
0.6227818131446838,
0.01135820522904396,
0.20441557466983795,
0.2793302536010742,
-0.07196652889251709,
0.14114093780517578,
-0.08737258613109589,
-0.12740832567214966,
0.5644675493240356,
0.20507201552391052,
0.17185087502002716,
0.00772462785243988,
-0.315567284822464,
0.024221546947956085,
0.14357341825962067,
-0.20485582947731018,
0.11183618009090424,
0.07307034730911255,
0.025323543697595596,
0.16845138370990753,
-0.04309888929128647,
0.03461124747991562,
0.05299924314022064,
0.2372809648513794,
-0.17882701754570007,
-0.2388664335012436,
-0.33039718866348267,
-0.17130646109580994,
-0.08969707787036896,
-0.0031856410205364227,
-0.16871774196624756,
0.7833253145217896,
0.07832624763250351,
-0.025535225868225098,
-0.010348176583647728,
0.13603661954402924,
-0.15188923478126526,
0.295809268951416,
-0.38540881872177124,
-0.07368383556604385,
-0.04880775511264801,
-0.2623818516731262,
0.2678303122520447,
-0.20633384585380554,
0.3205176591873169,
0.13193868100643158,
0.012388283386826515,
-0.2114604264497757,
0.04513797536492348,
-0.009977951645851135,
-0.19724491238594055,
0.3266558349132538,
0.288788378238678,
0.0021416768431663513,
0.17912811040878296,
0.03637339919805527,
-0.08110775053501129,
0.1164267510175705,
0.08297822624444962,
-0.09618419408798218,
-0.06442511081695557,
0.3382056951522827,
0.44757896661758423,
0.014341771602630615,
0.4552949368953705,
0.20450489223003387,
-0.12323656678199768,
-0.08815333992242813,
-0.0862937718629837,
-0.18346869945526123,
0.21919381618499756,
-0.005042819306254387,
0.04642447829246521,
0.07471995055675507,
0.47764766216278076,
0.0397384837269783,
-0.048612602055072784,
-0.27963441610336304,
0.07270781695842743,
-0.472663938999176,
-0.15894916653633118,
-0.18781888484954834,
-0.3650919198989868,
0.18594099581241608,
0.2595200538635254,
0.13470521569252014,
0.3722730875015259,
-0.19179998338222504,
0.16592568159103394,
0.34590572118759155,
0.4881632328033447,
-0.02387949638068676,
0.0025733448565006256,
0.18406647443771362,
0.40950965881347656,
-0.028921030461788177,
-0.40034013986587524,
0.35306018590927124,
0.10366880893707275,
-0.03175049647688866,
-0.061976686120033264,
-0.09621905535459518,
0.72860187292099,
0.35337743163108826,
0.20042958855628967,
0.11861792206764221,
0.2008829116821289,
-0.13845372200012207,
0.1719338744878769,
-0.3076701760292053,
0.3953826427459717,
-0.41497161984443665,
-0.4402887523174286,
0.17077139019966125,
-0.22099009156227112,
-0.2485302984714508,
0.08568444848060608,
-0.34137284755706787,
0.41858065128326416,
0.05376472324132919,
0.2657952606678009,
-0.16019921004772186,
-0.043256137520074844,
0.05263533443212509,
0.20496982336044312,
0.23010805249214172,
0.17183886468410492,
-0.0948653519153595,
-0.17203351855278015,
-0.25605714321136475,
-0.22208331525325775,
0.46079766750335693,
0.1348414272069931,
-0.1611754298210144,
-0.0651576891541481,
0.4346598982810974,
0.41118642687797546,
0.13157406449317932,
-0.41491860151290894,
-0.25645726919174194,
0.1856631189584732,
-0.37191662192344666,
-0.28104376792907715,
0.17740921676158905,
-0.022322025150060654,
-0.2280498743057251,
-0.22502979636192322,
0.22831948101520538,
-0.04019644856452942,
-0.2577172815799713,
-0.03471888601779938,
-0.5631611347198486
] |
https://github.com/huggingface/datasets/pull/2249 | Allow downloading/processing/caching only specific splits | Hi @albertvillanova !
Yup I agree with you, implementing the 2nd approach seems to be the right solution | Allow downloading/processing/caching only specific splits without downloading/processing/caching the other splits.
This PR implements two steps to handle only specific splits:
- it allows processing/caching only specific splits into Arrow files
- for some simple cases, it allows downloading only specific splits (which is more intricate as it depends on the user-defined method `_split_generators`)
This PR makes several assumptions:
- `DownloadConfig` contains the configuration settings for downloading
- the parameter `split` passed to `load_dataset` is just a parameter for loading (from cache), not for downloading | 18 | text: Allow downloading/processing/caching only specific splits
Allow downloading/processing/caching only specific splits without downloading/processing/caching the other splits.
This PR implements two steps to handle only specific splits:
- it allows processing/caching only specific splits into Arrow files
- for some simple cases, it allows downloading only specific splits (which is more intricate as it depends on the user-defined method `_split_generators`)
This PR makes several assumptions:
- `DownloadConfig` contains the configuration settings for downloading
- the parameter `split` passed to `load_dataset` is just a parameter for loading (from cache), not for downloading
Hi @albertvillanova !
Yup I agree with you, implementing the 2nd approach seems to be the right solution | [
-0.34299781918525696,
-0.18016068637371063,
-0.1495637446641922,
-0.00024433434009552,
-0.18613196909427643,
-0.25296148657798767,
0.011078085750341415,
0.21544480323791504,
0.17721085250377655,
0.06085076555609703,
-0.06839656084775925,
0.16891556978225708,
0.05161265283823013,
0.16683819890022278,
-0.08836077153682709,
-0.37119409441947937,
-0.14706769585609436,
0.30078765749931335,
0.05772489309310913,
0.06273859739303589,
-0.2739013433456421,
-0.10960939526557922,
-0.04464579001069069,
-0.051237285137176514,
-0.13667237758636475,
-0.2374821901321411,
0.20689556002616882,
0.1957685649394989,
-0.4420033097267151,
-0.2980640232563019,
-0.09314880520105362,
0.303762286901474,
0.08791223168373108,
-0.27052947878837585,
-0.00010545603436185047,
0.09786562621593475,
0.2029690444469452,
-0.12375104427337646,
-0.05713210254907608,
0.33405834436416626,
-0.49384766817092896,
-0.12052122503519058,
-0.052334435284137726,
-0.19023489952087402,
0.10001897066831589,
0.17770762741565704,
0.08332855999469757,
-0.2977878451347351,
0.6462135314941406,
0.04955965653061867,
0.2635570168495178,
-0.020136743783950806,
-0.17081080377101898,
-0.09674329310655594,
0.3750365972518921,
0.08079926669597626,
-0.2705014646053314,
-0.2291843146085739,
0.16104097664356232,
0.31158125400543213,
-0.2510020434856415,
0.26265716552734375,
0.0632580891251564,
0.31324291229248047,
0.12566368281841278,
-0.04435598850250244,
0.20203250646591187,
-0.5994888544082642,
0.14316636323928833,
0.27723947167396545,
0.5309628844261169,
0.0867195576429367,
-0.2480805218219757,
-0.1748848557472229,
-0.2638002336025238,
-0.36853161454200745,
0.10844333469867706,
0.262420117855072,
-0.33579161763191223,
0.2358969897031784,
-0.25062596797943115,
-0.327014684677124,
-0.16537252068519592,
-0.14572034776210785,
-0.1219407320022583,
0.1854284107685089,
0.058245688676834106,
0.036387450993061066,
0.3749288022518158,
0.35744649171829224,
0.4187619090080261,
0.0541987270116806,
-0.04224426671862602,
-0.01516405213624239,
0.03508109226822853,
-0.07281285524368286,
-0.4603363275527954,
0.2222379446029663,
0.21820059418678284,
0.5131641030311584,
-0.07086110860109329,
0.2663111388683319,
0.15289312601089478,
0.08768191933631897,
-0.0008061546832323074,
-0.09875810146331787,
0.06291906535625458,
0.30708548426628113,
0.2947843074798584,
0.10903488099575043,
0.0920170247554779,
0.051391735672950745,
0.08760545402765274,
-0.35217899084091187,
-0.21419347822666168,
0.13489103317260742,
0.004061464220285416,
-0.02146638184785843,
-0.32879671454429626,
-0.2171735167503357,
0.17443740367889404,
-0.3889644742012024,
-0.012517371214926243,
0.48989343643188477,
0.13185550272464752,
0.06723946332931519,
-0.1748911738395691,
0.08320851624011993,
-0.01821044646203518,
-0.38242119550704956,
-0.21544267237186432,
-0.005759177729487419,
-0.4597055912017822,
0.3042448163032532,
0.38364899158477783,
-0.09624776244163513,
0.26646602153778076,
0.24327091872692108,
-0.036089882254600525,
-0.18441450595855713,
0.21603521704673767,
-0.138320192694664,
0.3457232415676117,
0.47050371766090393,
0.17883427441120148,
-0.05722755193710327,
0.007119458168745041,
0.24263988435268402,
-0.1804240643978119,
0.23866108059883118,
-0.28566429018974304,
-0.44083261489868164,
0.2508428692817688,
0.2795034348964691,
-0.10670072585344315,
0.15665066242218018,
0.16798695921897888,
0.08412464708089828,
0.23656505346298218,
-0.14292402565479279,
0.29535090923309326,
0.2578775882720947,
-0.1369486302137375,
-0.3421379625797272,
0.18350817263126373,
0.3274171054363251,
-0.35651373863220215,
-0.004855133593082428,
-0.2649172246456146,
-0.3868800699710846,
0.47069600224494934,
0.29305604100227356,
-0.3492436110973358,
-0.13331037759780884,
-0.2917264401912689,
0.3781690001487732,
0.5598665475845337,
0.05752671882510185,
-0.20410609245300293,
0.5614265203475952,
0.03820214420557022,
-0.11553549766540527,
0.4509836733341217,
0.0014305731747299433,
0.6044890880584717,
-0.03839360922574997,
-0.2556008994579315,
0.15949435532093048,
0.04874416068196297,
0.013447044417262077,
-0.14372915029525757,
-0.282367467880249,
-0.09504498541355133,
-0.18688912689685822,
0.24288977682590485,
0.3291247487068176,
0.26189786195755005,
0.2275642305612564,
0.3438306450843811,
0.12412521243095398,
0.2887146770954132,
-0.08582565188407898,
-0.0084635429084301,
-0.009630225598812103,
-0.040603991597890854,
0.005376804620027542,
-0.3898938298225403,
0.137577623128891,
-0.3339215815067291,
-0.329968124628067,
0.10084864497184753,
-0.41500145196914673,
-0.28866174817085266,
-0.09167509526014328,
-0.09480346739292145,
-0.33869194984436035,
0.16580231487751007,
0.050948068499565125,
0.08431018888950348,
-0.3394058048725128,
-0.24255630373954773,
0.22814252972602844,
0.16447031497955322,
0.03667496517300606,
0.06451869010925293,
0.028978297486901283,
-0.09889943152666092,
0.029909122735261917,
-0.07966494560241699,
-0.19683903455734253,
0.07812107354402542,
-0.11845732480287552,
0.16138383746147156,
0.4485044777393341,
0.4339827597141266,
0.1305401623249054,
-0.019527114927768707,
-0.0896080881357193,
0.14959001541137695,
-0.20485541224479675,
0.07296495884656906,
-0.14918255805969238,
0.054543644189834595,
-0.054754264652729034,
-0.2215399146080017,
0.2888145446777344,
-0.10910890996456146,
0.13349825143814087,
0.17621731758117676,
-0.06647928059101105,
0.18037064373493195,
-0.1942371428012848,
-0.061334528028964996,
-0.2876981496810913,
-0.10520730912685394,
0.07486367225646973,
0.1998239904642105,
0.06459958851337433,
-0.1657930314540863,
0.21875512599945068,
0.33880650997161865,
-0.024243485182523727,
-0.1324666440486908,
0.10252687335014343,
0.1738947480916977,
-0.1439642608165741,
0.12092892825603485,
0.5135787725448608,
0.4194665551185608,
0.34348931908607483,
0.3253272473812103,
-0.02498435787856579,
0.028941698372364044,
-0.3264561593532562,
0.3953336775302887,
0.044907346367836,
0.00949135422706604,
0.15825816988945007,
-0.3181281089782715,
-0.1969148963689804,
-0.2041115164756775,
0.022858526557683945,
0.23422199487686157,
0.05352737009525299,
-0.16167955100536346,
-0.14463704824447632,
-0.27022263407707214,
-0.2599753141403198,
0.10992453992366791,
0.06653361767530441,
-0.1357789784669876,
-0.04011216759681702,
0.23973114788532257,
0.06898081302642822,
-0.20840124785900116,
0.11847022920846939,
-0.28682732582092285,
0.3660949766635895,
-0.20640456676483154,
-0.12196508795022964,
-0.256477952003479,
0.033921532332897186,
-0.08074447512626648,
0.19570857286453247,
0.05483643710613251,
0.10755185782909393,
0.3295725882053375,
-0.24706648290157318,
-0.2570309638977051,
-0.13667485117912292,
0.09926866739988327,
0.268035352230072,
-0.016931764781475067,
-0.2852233052253723,
0.18637806177139282,
0.29025959968566895,
0.20834580063819885,
-0.3103460967540741,
-0.04717988148331642,
-0.21954034268856049,
-0.17079830169677734,
-0.26980873942375183,
0.09025749564170837,
0.22554726898670197,
-0.4450837969779968,
-0.48898783326148987,
-0.07297933846712112,
-0.6393814086914062,
0.26041901111602783,
0.21642564237117767,
0.3098865747451782,
-0.19390782713890076,
0.03600671514868736,
-0.1397513896226883,
0.11272022128105164,
-0.12664347887039185,
-0.33245280385017395,
0.002013508230447769,
0.26520901918411255,
-0.2648964524269104,
-0.13873949646949768,
0.2489084005355835,
0.09187009185552597,
0.05450816452503204,
0.5037333965301514,
-0.10112938284873962,
0.17505662143230438,
-0.21202732622623444,
0.249417245388031,
-0.24285602569580078,
0.06525510549545288,
0.4714355170726776,
-0.03833038732409477,
-0.2314826250076294,
-0.08423113822937012,
0.11917215585708618,
0.1287076622247696,
-0.24126780033111572,
0.12522462010383606,
-0.016100235283374786,
0.14542408287525177,
0.1247299313545227,
1.0505369901657104,
0.14084520936012268,
0.3008941113948822,
0.24827513098716736,
0.11010242253541946,
0.22289487719535828,
-0.023718230426311493,
0.2848561704158783,
0.06916044652462006,
-0.24145185947418213,
-0.2199265956878662,
0.19345369935035706,
0.01494242250919342,
-0.34946736693382263,
-0.21477016806602478,
0.04205586388707161,
-0.08565996587276459,
-0.26982447504997253,
0.18727120757102966,
0.05236023664474487,
0.26477929949760437,
-0.018437568098306656,
0.2012406885623932,
0.1398852914571762,
0.18242987990379333,
-0.0067825643345713615,
0.2921640872955322,
0.29548555612564087,
0.09517577290534973,
-0.040664639323949814,
0.2682175636291504,
-0.38552889227867126,
0.11159124225378036,
-0.013360456563532352,
0.009352107532322407,
-0.21214714646339417,
-0.27101626992225647,
0.349331796169281,
0.01641020178794861,
0.4400835633277893,
-0.25603652000427246,
0.032895706593990326,
-0.13853205740451813,
0.026560932397842407,
0.044868893921375275,
-0.04773663729429245,
0.00042403489351272583,
0.19364941120147705,
0.2729511260986328,
0.0594310387969017,
-0.49246394634246826,
-0.18639706075191498,
-0.10622772574424744,
-0.12084595113992691,
-0.016166478395462036,
-0.29284435510635376,
-0.1621280461549759,
0.009214773774147034,
-0.408109188079834,
0.23432427644729614,
0.39133331179618835,
-0.39903444051742554,
-0.1938878893852234,
0.07434165477752686,
0.09585296362638474,
0.020323634147644043,
-0.19360874593257904,
0.2773175835609436,
0.23297187685966492,
-0.2962866425514221,
-0.21539314091205597,
0.10901884734630585,
-0.008518099784851074,
0.1524486243724823,
0.4866546392440796,
-0.2362825870513916,
-0.0043946802616119385,
0.23234930634498596,
-0.23066021502017975,
-0.14887011051177979,
0.46603456139564514,
-0.07129980623722076,
0.01699656993150711,
0.21631568670272827,
0.02632061392068863,
-0.017550941556692123,
0.029602112248539925,
-0.08525871485471725,
-0.5979318618774414,
-0.12203014642000198,
-0.5057579874992371,
0.37775349617004395,
0.08749327063560486,
-0.2915913164615631,
0.24826408922672272,
0.1943579614162445,
-0.20567825436592102,
0.11933305859565735,
0.2667187750339508,
1.0262712240219116,
0.2679750919342041,
0.06605102121829987,
0.10277705639600754,
-0.40364301204681396,
0.3270442485809326,
-0.2050749957561493,
0.1570158451795578,
-0.053992368280887604,
-0.032154712826013565,
-0.13431207835674286,
-0.1482657939195633,
0.13864384591579437,
0.09551304578781128,
-0.3635021448135376,
0.13294975459575653,
-0.22956465184688568,
-0.23442071676254272,
0.08872663229703903,
0.07332891970872879,
-0.41234317421913147,
-0.08587205410003662,
0.3080030679702759,
0.14702263474464417,
-0.11103612184524536,
0.26433464884757996,
-0.1258605420589447,
-0.3365277051925659,
0.03178352490067482,
-0.09146706759929657,
-0.21264559030532837,
-0.03198353946208954,
-0.3203122019767761,
-0.04549643397331238,
-0.3155847191810608,
-0.008672676980495453,
0.06969299912452698,
0.02631697803735733,
0.06903465837240219,
-0.17203965783119202,
-0.1723722666501999,
0.18703524768352509,
0.14403611421585083,
0.04085402190685272,
-0.21399016678333282,
-0.12857690453529358,
0.13987408578395844,
-0.224970281124115,
-0.03806094080209732,
-0.010806940495967865,
-0.36946314573287964,
-0.2029833197593689,
0.05809091031551361,
0.37121033668518066,
0.09647288918495178,
-0.1858731508255005,
0.01617339439690113,
-0.04584835469722748,
-0.24866266548633575,
-0.21461495757102966,
0.19158655405044556,
-0.03235672414302826,
-0.15695787966251373,
0.03506620228290558,
-0.13965120911598206,
-0.18379150331020355,
-0.16220159828662872,
0.12001979351043701,
-0.08502927422523499,
0.14758968353271484,
-0.05207435041666031,
-0.3734360635280609,
-0.4584658145904541,
-0.40332797169685364,
-0.12069427967071533,
-0.15048107504844666,
-0.6777621507644653,
0.1130056232213974,
-0.1048835888504982,
-0.27365949749946594,
0.054451629519462585,
0.15303093194961548,
0.32369357347488403,
0.414698988199234,
0.0335267148911953,
-0.13538897037506104,
-0.10902085900306702,
-0.09832125902175903,
-0.4036443829536438,
0.1702026128768921,
-0.11703350394964218,
0.1968509554862976,
0.17451515793800354,
0.33189406991004944,
-0.38684847950935364,
-0.0348631888628006,
0.04337850958108902,
0.0984390377998352,
-0.1747480183839798,
-0.11604524403810501,
-0.050060708075761795,
0.0050019146874547005,
0.0649285838007927,
0.19258055090904236,
-0.4868924021720886,
-0.21782398223876953,
-0.07272344827651978,
0.15702159702777863,
-0.015489686280488968,
-0.14221937954425812,
-0.0420747734606266,
0.06461173295974731,
-0.19660823047161102,
0.159969300031662,
0.2022630274295807,
-0.022326823323965073,
-0.05173826217651367,
-0.07913575321435928,
0.387546569108963,
0.21431466937065125,
-0.4399073123931885,
0.09903308004140854,
-0.1680307388305664,
0.3535768985748291,
-0.07605964690446854,
0.39632564783096313,
-0.3079072833061218,
-0.16894197463989258,
0.04448741674423218,
-0.02105586975812912,
0.4751202464103699,
0.1969938576221466,
0.20533937215805054,
0.03211759775876999,
-0.003935977816581726,
-0.24122709035873413,
0.2710997760295868,
0.40220147371292114,
0.12792512774467468,
-0.16170167922973633,
0.16791215538978577,
0.3351898491382599,
-0.13257351517677307,
-0.07286912202835083,
0.00453495979309082,
-0.1068817675113678,
0.09572397172451019,
0.3068597614765167,
0.5029417872428894,
-0.08619644492864609,
0.07993902266025543,
0.15045136213302612,
0.33613312244415283,
-0.36387908458709717,
0.02520863711833954,
0.4425770044326782,
-0.156235471367836,
0.2030257284641266,
0.2213933765888214,
0.03980564326047897,
0.10780981183052063,
0.036176808178424835,
-0.2194516360759735,
0.5175089836120605,
0.22990843653678894,
0.07804983109235764,
-0.03910640627145767,
-0.36168184876441956,
-0.1590687334537506,
0.10001188516616821,
-0.19068890810012817,
0.18290437757968903,
0.11976634711027145,
0.16119393706321716,
-0.031885772943496704,
-0.1457904428243637,
0.015604624524712563,
-0.048987407237291336,
0.03146517649292946,
-0.06783263385295868,
-0.15268635749816895,
-0.33086714148521423,
-0.2610703110694885,
-0.0058330949395895,
0.008690137416124344,
0.024690885096788406,
0.7024946212768555,
0.14304320514202118,
0.1422516107559204,
0.04745956510305405,
0.13287538290023804,
-0.19413810968399048,
0.2347767949104309,
-0.35231634974479675,
0.08925122767686844,
-0.06876571476459503,
-0.3530622720718384,
0.3522224426269531,
-0.15167111158370972,
0.12873317301273346,
0.003356926143169403,
0.15556307137012482,
-0.21879544854164124,
0.1371963769197464,
0.06731513142585754,
-0.3314095437526703,
0.17270897328853607,
0.2917516231536865,
0.050986938178539276,
0.26585838198661804,
0.15837542712688446,
-0.24275659024715424,
0.22683709859848022,
-0.10599716007709503,
-0.10719005763530731,
-0.06585253775119781,
0.2003166675567627,
0.28312867879867554,
-0.1358906626701355,
0.25101324915885925,
0.05452750250697136,
-0.18360617756843567,
0.14729471504688263,
-0.16629604995250702,
-0.37517356872558594,
0.13495486974716187,
-0.00009530829265713692,
0.09647540748119354,
-0.01183043047785759,
0.5053943991661072,
-0.09237661957740784,
0.031141746789216995,
-0.12838107347488403,
-0.1553080976009369,
-0.3182646632194519,
0.07433556765317917,
-0.22299471497535706,
-0.12299572676420212,
0.22523297369480133,
0.30847597122192383,
0.05992491543292999,
0.3291900157928467,
0.050624825060367584,
0.14164087176322937,
0.24381095170974731,
0.5323053598403931,
-0.019681943580508232,
0.015018843114376068,
0.3699606657028198,
0.2774185836315155,
-0.038384005427360535,
-0.4531685411930084,
0.3460827171802521,
0.10683363676071167,
0.15827906131744385,
0.04986169934272766,
-0.22598779201507568,
0.6258569955825806,
0.3038638234138489,
0.2572428584098816,
0.21784819662570953,
-0.018697768449783325,
-0.29443490505218506,
0.10492789000272751,
-0.19646459817886353,
0.20590320229530334,
-0.3524375557899475,
-0.3010235130786896,
0.3357420861721039,
-0.0726558119058609,
-0.1465211808681488,
0.028847482055425644,
-0.42166826128959656,
0.39115485548973083,
0.0021816492080688477,
0.36869487166404724,
-0.017348062247037888,
0.04844044893980026,
0.0915878489613533,
0.025338763371109962,
0.2546229958534241,
0.14867325127124786,
-0.10764160752296448,
-0.3977123200893402,
-0.3223736882209778,
-0.32552021741867065,
0.41397327184677124,
-0.002146373502910137,
-0.245441272854805,
0.009234907105565071,
0.5200272798538208,
0.6941373944282532,
0.13020886480808258,
-0.36090999841690063,
-0.16554558277130127,
0.1254044771194458,
-0.33228927850723267,
-0.20395168662071228,
0.02667911909520626,
0.0056313457898795605,
-0.33734241127967834,
-0.18503451347351074,
0.36717838048934937,
0.142134889960289,
-0.30842700600624084,
-0.12827007472515106,
-0.5613256096839905
] |
https://github.com/huggingface/datasets/pull/2246 | Faster map w/ input_columns & faster slicing w/ Iterable keys | @lhoestq Just fixed the code style issues— I think it should be good to merge now :) | @lhoestq Fixes #2193
- `map` now uses `with_format` to only load needed columns in memory when `input_columns` is set
- Slicing datasets with Iterables of indices now uses a new `Table.fast_gather` method, implemented with `np.searchsorted`, to find the appropriate batch indices all at once. `pa.concat_tables` is no longer used for this; we just call `pa.Table.from_batches` with a list of all the batch slices.
Together these changes have sped up batched `map()` calls over subsets of columns quite considerably in my initial testing. | 17 | text: Faster map w/ input_columns & faster slicing w/ Iterable keys
@lhoestq Fixes #2193
- `map` now uses `with_format` to only load needed columns in memory when `input_columns` is set
- Slicing datasets with Iterables of indices now uses a new `Table.fast_gather` method, implemented with `np.searchsorted`, to find the appropriate batch indices all at once. `pa.concat_tables` is no longer used for this; we just call `pa.Table.from_batches` with a list of all the batch slices.
Together these changes have sped up batched `map()` calls over subsets of columns quite considerably in my initial testing.
@lhoestq Just fixed the code style issues— I think it should be good to merge now :) | [
-0.30820515751838684,
-0.016230478882789612,
-0.2407878339290619,
-0.11214728653430939,
-0.1307632029056549,
0.061080463230609894,
0.051285840570926666,
0.7695648074150085,
0.06030842289328575,
0.12452995777130127,
-0.27994242310523987,
0.6454223394393921,
0.12341520190238953,
0.25218555331230164,
0.15865831077098846,
-0.052986711263656616,
0.23962044715881348,
0.4705318212509155,
-0.25734570622444153,
0.042441852390766144,
-0.4914819896221161,
0.2257513850927353,
-0.3842076063156128,
0.015503577888011932,
0.13061220943927765,
-0.07394646108150482,
-0.0777871310710907,
-0.0064862072467803955,
-0.16798201203346252,
-0.34377264976501465,
-0.09011965990066528,
0.10089802742004395,
-0.2288675457239151,
0.25930270552635193,
-0.00010305190517101437,
0.0329466313123703,
0.2106548398733139,
0.10514459013938904,
0.14872948825359344,
0.2133963704109192,
-0.0631951242685318,
-0.6616079807281494,
-0.1573324054479599,
-0.25527018308639526,
0.21507158875465393,
-0.36308565735816956,
0.10776514559984207,
-0.013952307403087616,
-0.10352310538291931,
-0.11264654994010925,
0.2749555706977844,
0.04723469167947769,
-0.127521812915802,
-0.01103625912219286,
0.21164163947105408,
-0.04664909094572067,
-0.1423298418521881,
-0.4403444230556488,
0.5561635494232178,
-0.2910100519657135,
0.025786131620407104,
0.3495907187461853,
-0.19930312037467957,
-0.21695871651172638,
0.2875993251800537,
0.0841377004981041,
0.2668397128582001,
-0.21900442242622375,
-0.04470644146203995,
0.1764247715473175,
0.22207310795783997,
-0.016243524849414825,
0.005307662300765514,
-0.07806367427110672,
-0.3838047981262207,
-0.3557099997997284,
-0.002894170582294464,
-0.2583518922328949,
-0.12913449108600616,
-0.1641090214252472,
-0.23442095518112183,
0.03758908808231354,
0.09298747777938843,
-0.3219476342201233,
-0.001538105309009552,
0.3534508943557739,
0.1478140950202942,
-0.05674917250871658,
0.35120388865470886,
-0.25764840841293335,
0.056479766964912415,
-0.04373934119939804,
-0.018443267792463303,
0.2393002212047577,
-0.33647462725639343,
-0.3160572052001953,
0.442128986120224,
-0.022816017270088196,
0.1050134226679802,
-0.3386194705963135,
0.2873350977897644,
0.2887214124202728,
0.12923192977905273,
0.002660401165485382,
0.2584954500198364,
0.2691003382205963,
0.07063641399145126,
0.1342584788799286,
0.23145559430122375,
-0.013868946582078934,
0.07306790351867676,
0.19077372550964355,
0.3252416253089905,
-0.34920239448547363,
-0.19964465498924255,
-0.13123741745948792,
-0.19096578657627106,
-0.01349649578332901,
0.02103751339018345,
-0.035131506621837616,
0.11113602668046951,
-0.24286600947380066,
-0.011299406178295612,
0.2763109803199768,
0.2193996161222458,
0.185744047164917,
-0.11224015802145004,
-0.23577778041362762,
-0.21143202483654022,
0.09611887484788895,
-0.21634821593761444,
0.07362543046474457,
-0.11512628197669983,
-0.11505479365587234,
0.022176388651132584,
0.17862646281719208,
-0.20209340751171112,
0.011511626653373241,
0.03970569372177124,
0.396994948387146,
-0.14427559077739716,
0.08666384220123291,
0.4553886950016022,
0.2191675454378128,
0.10256640613079071,
-0.1560114622116089,
0.1390157788991928,
-0.024631470441818237,
-0.3558650612831116,
0.3386836647987366,
-0.1672120988368988,
-0.2939424216747284,
0.21588890254497528,
0.28060758113861084,
0.039802536368370056,
0.09574029594659805,
0.117551788687706,
0.4908052682876587,
0.050832588225603104,
-0.3578159809112549,
0.09915680438280106,
0.017861708998680115,
-0.1367957890033722,
-0.2941626012325287,
0.14123718440532684,
0.028674408793449402,
-0.3828510344028473,
-0.021187201142311096,
0.20907406508922577,
-0.08498089015483856,
0.10056295245885849,
0.45623499155044556,
-0.20073579251766205,
0.03381769731640816,
0.059747278690338135,
0.39017999172210693,
0.41617652773857117,
-0.10544776171445847,
-0.22543030977249146,
0.284358412027359,
0.1006813794374466,
0.035600073635578156,
0.03352714329957962,
-0.05620504543185234,
0.2055085301399231,
-0.023311765864491463,
0.27770450711250305,
0.13430443406105042,
-0.05838344991207123,
0.1515101045370102,
-0.3738151490688324,
-0.08481253683567047,
0.26980406045913696,
0.07686258852481842,
-0.016561564058065414,
-0.21550977230072021,
-0.13731113076210022,
-0.504715621471405,
0.27982401847839355,
-0.01991528645157814,
0.026504546403884888,
-0.07677610218524933,
0.15653851628303528,
-0.17087119817733765,
0.2695544958114624,
0.07669151574373245,
-0.1548842191696167,
0.01788564771413803,
-0.27189135551452637,
0.003962099552154541,
0.08263760805130005,
-0.1999470442533493,
0.04016266018152237,
0.062603659927845,
0.029032140970230103,
-0.0813058465719223,
0.22525137662887573,
-0.23362410068511963,
0.14725662767887115,
-0.17506153881549835,
-0.28579190373420715,
-0.12167423218488693,
0.07339714467525482,
-0.2669278085231781,
-0.23974020779132843,
-0.11995042860507965,
-0.1589614450931549,
0.07279522716999054,
-0.22546367347240448,
0.2622278332710266,
0.0460151731967926,
-0.003304559038951993,
0.045623015612363815,
0.3541177809238434,
-0.1608869582414627,
0.006340146064758301,
-0.1868998408317566,
0.2666398286819458,
0.130203515291214,
0.11393225193023682,
0.25599250197410583,
-0.2899535894393921,
0.02235492691397667,
-0.36173751950263977,
-0.3364850878715515,
0.3216303288936615,
-0.43116381764411926,
0.36139097809791565,
0.018863745033740997,
-0.11507392674684525,
0.011824602261185646,
0.1737942099571228,
-0.08716291189193726,
-0.047348394989967346,
0.001026935875415802,
0.2159852832555771,
0.0305137000977993,
0.0921793058514595,
-0.0295291468501091,
0.3651220500469208,
0.5658639669418335,
-0.14338184893131256,
-0.3351116478443146,
0.009641222655773163,
0.031036347150802612,
-0.2416834831237793,
-0.12245538830757141,
-0.1776638776063919,
0.3033584952354431,
0.15023395419120789,
0.10748832672834396,
-0.09601254761219025,
0.13503886759281158,
-0.13285516202449799,
0.423238068819046,
0.2675507366657257,
-0.0715412050485611,
0.047253936529159546,
-0.029360586777329445,
0.07077867537736893,
-0.14022114872932434,
0.004506971687078476,
0.022107256576418877,
0.16297242045402527,
0.04027589038014412,
-0.18326708674430847,
0.014774171635508537,
-0.1675824224948883,
0.10657643526792526,
-0.17534540593624115,
0.19259974360466003,
-0.5776112675666809,
0.13554997742176056,
-0.10651694238185883,
-0.33664387464523315,
0.34323999285697937,
0.25450757145881653,
0.39538729190826416,
-0.03880206495523453,
0.02855866216123104,
-0.1948620080947876,
-0.20187166333198547,
0.09407772123813629,
0.2032163143157959,
0.03503558412194252,
0.023794179782271385,
-0.025041567161679268,
0.07408617436885834,
0.02156173437833786,
-0.030170762911438942,
-0.35837602615356445,
0.04997982084751129,
-0.47506654262542725,
-0.19687901437282562,
0.4538891315460205,
0.08468189090490341,
-0.16469337046146393,
-0.30411866307258606,
0.13107363879680634,
-0.47373121976852417,
-0.2152411937713623,
-0.21476921439170837,
0.01381712406873703,
-0.17167986929416656,
-0.29965007305145264,
-0.373897522687912,
-0.113108329474926,
-0.6049207448959351,
0.42017418146133423,
-0.08169910311698914,
0.2705955505371094,
0.11874735355377197,
-0.05372103303670883,
0.24716222286224365,
0.0999937504529953,
-0.2567831575870514,
-0.1678641140460968,
0.052241358906030655,
0.1927834302186966,
-0.2762306332588196,
-0.11134694516658783,
-0.26535412669181824,
0.08502029627561569,
0.1185520589351654,
-0.19318771362304688,
-0.1314726620912552,
0.14352530241012573,
-0.19617518782615662,
0.250244677066803,
0.15438711643218994,
0.214787095785141,
0.40844982862472534,
0.17747756838798523,
-0.25810369849205017,
-0.07811111211776733,
-0.27001795172691345,
-0.2432059347629547,
0.1931898295879364,
-0.07438700646162033,
0.13273023068904877,
0.4124417304992676,
-0.022376365959644318,
0.5300448536872864,
0.15530620515346527,
0.13336603343486786,
0.04836082458496094,
0.2786894142627716,
0.3710940480232239,
-0.20486357808113098,
-0.11305683851242065,
-0.11252257972955704,
-0.06869186460971832,
-0.0989646390080452,
0.18674853444099426,
-0.17754149436950684,
-0.5094997882843018,
-0.07256034016609192,
-0.02497290074825287,
0.1905672550201416,
-0.10936741530895233,
0.39051809906959534,
0.0380139984190464,
0.06918537616729736,
0.14941665530204773,
0.09822694212198257,
-0.42876413464546204,
0.14904043078422546,
-0.019936228170990944,
-0.14072498679161072,
0.29030123353004456,
-0.3123711347579956,
-0.3964782655239105,
-0.37676721811294556,
-0.7638221383094788,
0.3877185583114624,
0.09508810937404633,
0.06949054449796677,
0.04388417676091194,
-0.7256739735603333,
0.003973685204982758,
-0.04563923180103302,
0.7690145373344421,
-0.30021747946739197,
-0.556536078453064,
0.449431836605072,
0.05497540533542633,
0.02274765633046627,
-0.06832615286111832,
-0.135287344455719,
0.39194875955581665,
0.39475974440574646,
0.653756320476532,
-0.05806484818458557,
-0.17492814362049103,
0.2691589593887329,
-0.1813465654850006,
0.08059322834014893,
-0.0026142592541873455,
-0.18730531632900238,
-0.19029533863067627,
-0.07330767810344696,
0.11326364427804947,
0.13641776144504547,
0.09902417659759521,
-0.19396191835403442,
-0.0800333097577095,
0.25224682688713074,
0.18157729506492615,
0.016367509961128235,
0.2488681823015213,
0.22310292720794678,
0.08239574730396271,
0.21895647048950195,
0.04483693838119507,
-0.023233801126480103,
-0.049304768443107605,
0.16807249188423157,
-0.39507585763931274,
0.32184138894081116,
0.1968831717967987,
-0.018565166741609573,
0.41092437505722046,
0.2725173234939575,
0.2130221128463745,
0.00615333765745163,
-0.14170604944229126,
0.10718058794736862,
0.014173849485814571,
-0.46851903200149536,
0.08698548376560211,
0.08258303254842758,
-0.4037412405014038,
-0.182381734251976,
0.4416968524456024,
0.29412925243377686,
-0.2294706255197525,
0.4827049672603607,
-0.21441669762134552,
0.040195733308792114,
0.5820043683052063,
0.11298446357250214,
0.8089492917060852,
-0.04292411357164383,
0.2297169417142868,
0.05285228416323662,
0.005636297166347504,
0.21765491366386414,
-0.28011101484298706,
0.2640112638473511,
-0.19698846340179443,
-0.3054879307746887,
0.0753428041934967,
-0.07279563695192337,
-0.04210740327835083,
0.05687520280480385,
-0.5337176322937012,
0.10160472244024277,
0.23045234382152557,
0.39743438363075256,
-0.18255873024463654,
-0.2060200273990631,
0.22051844000816345,
-0.39455676078796387,
-0.06902746111154556,
0.1297832876443863,
0.20246177911758423,
-0.23339775204658508,
-0.018135085701942444,
-0.21524979174137115,
0.028861340135335922,
-0.1837141513824463,
-0.12636196613311768,
-0.08815711736679077,
0.06540084630250931,
0.42479920387268066,
0.18858757615089417,
-0.2087416648864746,
0.038845986127853394,
0.1326863169670105,
-0.1061352789402008,
0.026950526982545853,
0.01415187306702137,
0.12509600818157196,
0.5994957089424133,
0.37414443492889404,
0.14273904263973236,
-0.16352085769176483,
0.17874309420585632,
-0.049700625240802765,
-0.04305911809206009,
0.1822986900806427,
-0.21649251878261566,
-0.36923110485076904,
-0.5073074102401733,
0.5042380690574646,
0.05631169304251671,
-0.22444333136081696,
0.008336528204381466,
0.17591506242752075,
-0.2699165642261505,
-0.2127302885055542,
0.18520909547805786,
-0.09208202362060547,
-0.08520593494176865,
0.6530696749687195,
0.006329186260700226,
-0.30695220828056335,
0.11873967945575714,
0.19191235303878784,
0.19579365849494934,
-0.08860744535923004,
0.22214815020561218,
0.04315083101391792,
-0.42596012353897095,
-0.2673085927963257,
-0.16382935643196106,
0.06714185327291489,
0.14847683906555176,
0.1269466131925583,
-0.21972833573818207,
-0.19867171347141266,
0.3731478750705719,
0.2753318250179291,
0.03982703015208244,
0.35690605640411377,
-0.35225361585617065,
0.21043342351913452,
-0.3563900589942932,
0.30025970935821533,
0.07474936544895172,
0.4434783160686493,
0.17915984988212585,
0.02826002985239029,
-0.05823586881160736,
0.41728460788726807,
-0.4209696352481842,
-0.02438797615468502,
-0.07363414019346237,
0.07398732751607895,
-0.12811633944511414,
-0.06098172813653946,
-0.09448010474443436,
0.0670250803232193,
0.13374386727809906,
0.48670434951782227,
-0.314186692237854,
-0.30848222970962524,
0.26998141407966614,
0.08037704974412918,
-0.04074598848819733,
-0.1688612848520279,
-0.04368764907121658,
0.15314027667045593,
-0.31813374161720276,
-0.14344783127307892,
0.02705475315451622,
-0.2600530683994293,
0.012031231075525284,
-0.043461158871650696,
0.4385741949081421,
-0.16654658317565918,
0.32928502559661865,
0.27059975266456604,
0.25569260120391846,
0.12310631573200226,
0.02001071721315384,
0.15754617750644684,
-0.36312949657440186,
-0.2409302294254303,
0.1625637710094452,
0.25270065665245056,
0.3127407133579254,
0.050871431827545166,
0.33646532893180847,
-0.05197954177856445,
-0.3280165195465088,
-0.020676851272583008,
0.1689961552619934,
0.1622985601425171,
-0.08405165374279022,
-0.10339643806219101,
-0.1803099513053894,
0.2618033289909363,
-0.21896561980247498,
-0.32939010858535767,
0.07068899273872375,
0.12194091081619263,
0.13460123538970947,
0.024272538721561432,
0.44645074009895325,
0.025282926857471466,
0.20971842110157013,
0.20329761505126953,
0.2727777659893036,
-0.19497784972190857,
0.1760997176170349,
0.27425241470336914,
0.047374363988637924,
-0.16835828125476837,
0.20313119888305664,
-0.10126614570617676,
0.11192094534635544,
0.232956200838089,
-0.03117842972278595,
0.15621434152126312,
0.196724534034729,
0.1651967465877533,
-0.06751231104135513,
-0.10592789947986603,
0.07932034134864807,
0.2572108805179596,
-0.12413474917411804,
0.20891177654266357,
0.2833642065525055,
0.19917291402816772,
-0.27073997259140015,
-0.06526093184947968,
-0.057749636471271515,
0.22966152429580688,
-0.3450164496898651,
-0.16319330036640167,
-0.022705448791384697,
-0.23908692598342896,
-0.06956227123737335,
-0.0969601646065712,
0.0589868426322937,
0.1737581044435501,
0.5751843452453613,
-0.05535276234149933,
0.21528057754039764,
0.039032842963933945,
0.15927045047283173,
-0.1970195770263672,
0.5949411392211914,
-0.24590733647346497,
-0.08561185747385025,
0.05849045515060425,
-0.0969601720571518,
-0.027173537760972977,
0.27873700857162476,
0.4721603989601135,
0.31294769048690796,
-0.2620859146118164,
-0.010989799164235592,
-0.2113076150417328,
-0.03933848813176155,
-0.11963031440973282,
0.06083282455801964,
-0.03977528214454651,
-0.23089765012264252,
0.17919205129146576,
0.18346001207828522,
-0.144306480884552,
-0.13072866201400757,
0.06466685980558395,
0.23411975800991058,
-0.09018313884735107,
-0.008514009416103363,
0.13297434151172638,
-0.3124125897884369,
0.018583882600069046,
0.07828271389007568,
-0.1626635640859604,
-0.06133951246738434,
0.11218534409999847,
0.03209564462304115,
0.10056381672620773,
-0.08866531401872635,
0.14693675935268402,
0.002903735265135765,
0.6739680171012878,
0.08432255685329437,
-0.12588325142860413,
-0.33253952860832214,
-0.33501172065734863,
-0.29899653792381287,
-0.052571482956409454,
0.0007639117538928986,
0.28746330738067627,
0.18328727781772614,
0.5126507878303528,
0.1866631805896759,
-0.0993061363697052,
0.25362351536750793,
-0.20192961394786835,
-0.22736042737960815,
0.1036728098988533,
-0.33056914806365967,
0.24398626387119293,
0.09793148934841156,
-0.09709157794713974,
0.11972463130950928,
-0.29580506682395935,
0.17886221408843994,
0.2708543837070465,
0.20868852734565735,
-0.4558526873588562,
0.01616041362285614,
0.322614848613739,
0.49905356764793396,
0.11559896171092987,
0.18651852011680603,
-0.24199655652046204,
-0.1944310963153839,
-0.14759406447410583,
-0.19011616706848145,
-0.11103688925504684,
-0.13989534974098206,
0.23335906863212585,
-0.03534829989075661,
-0.17213161289691925,
-0.15176796913146973,
-0.317027747631073,
0.024011947214603424,
-0.020604150369763374,
-0.22072972357273102,
0.14087456464767456,
-0.06572737544775009,
-0.226868137717247,
-0.05707181990146637,
0.1248808428645134,
-0.14435379207134247,
0.33491963148117065,
0.17287972569465637,
0.18889407813549042,
-0.40879136323928833,
-0.44506120681762695,
0.344687283039093,
-0.1073172464966774,
-0.3152199387550354,
-0.05188332870602608,
-0.08398336172103882,
0.0031226277351379395,
0.23483140766620636,
-0.4121221601963043,
-0.40751174092292786,
0.11764319986104965,
-0.06924533098936081,
-0.13895998895168304,
0.22420142590999603,
-0.10739384591579437,
-0.050191402435302734,
-0.321453332901001,
0.1388927698135376,
0.1324247419834137,
-0.11918770521879196,
-0.16089558601379395,
-0.27902358770370483
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | @lhoestq The tests for key type and duplicate keys have been added and verified successfully.
After generating with an intentionally faulty `mnist` script, when there is an incompatible key type, it shows:
```
Downloading and preparing dataset mnist/mnist (download: 11.06 MiB, generated: 60.62 MiB, post-processed: Unknown size, total: 71.67 MiB) to C:\Users\nikhil\.cache\huggingface\datasets\mnist\mnist\1.0.0\5064c25e57a1678f700d2dc798ffe8a6d519405cca7d33670fffda477857a994...
0 examples [00:00, ? examples/s]2021-04-26 02:50:03.703836: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
FAILURE TO GENERATE DATASET: Invalid key type detected
Found Key [0, 0] of type <class 'list'>
Keys should be either str, int or bytes type
```
In the case of duplicate keys, it now gives:
```
Downloading and preparing dataset mnist/mnist (download: 11.06 MiB, generated: 60.62 MiB, post-processed: Unknown size, total: 71.67 MiB) to C:\Users\nikhil\.cache\huggingface\datasets\mnist\mnist\1.0.0\5064c25e57a1678f700d2dc798ffe8a6d519405cca7d33670fffda477857a994...
0 examples [00:00, ? examples/s]2021-04-26 02:53:13.498579: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\datasets\datasets-1\src\datasets\load.py", line 746, in load_dataset
builder_instance.download_and_prepare(
File "f:\datasets\datasets-1\src\datasets\builder.py", line 587, in download_and_prepare
self._download_and_prepare(
File "f:\datasets\datasets-1\src\datasets\builder.py", line 665, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "f:\datasets\datasets-1\src\datasets\builder.py", line 1002, in _prepare_split
writer.write(example, key)
File "f:\datasets\datasets-1\src\datasets\arrow_writer.py", line 321, in write
self.check_duplicates()
File "f:\datasets\datasets-1\src\datasets\arrow_writer.py", line 331, in check_duplicates
raise DuplicatedKeysError(key)
datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 234467
Keys should be unique and deterministic in nature
```
Please let me know if this is what we wanted to implement. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 221 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
@lhoestq The tests for key type and duplicate keys have been added and verified successfully.
After generating with an intentionally faulty `mnist` script, when there is an incompatible key type, it shows:
```
Downloading and preparing dataset mnist/mnist (download: 11.06 MiB, generated: 60.62 MiB, post-processed: Unknown size, total: 71.67 MiB) to C:\Users\nikhil\.cache\huggingface\datasets\mnist\mnist\1.0.0\5064c25e57a1678f700d2dc798ffe8a6d519405cca7d33670fffda477857a994...
0 examples [00:00, ? examples/s]2021-04-26 02:50:03.703836: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
FAILURE TO GENERATE DATASET: Invalid key type detected
Found Key [0, 0] of type <class 'list'>
Keys should be either str, int or bytes type
```
In the case of duplicate keys, it now gives:
```
Downloading and preparing dataset mnist/mnist (download: 11.06 MiB, generated: 60.62 MiB, post-processed: Unknown size, total: 71.67 MiB) to C:\Users\nikhil\.cache\huggingface\datasets\mnist\mnist\1.0.0\5064c25e57a1678f700d2dc798ffe8a6d519405cca7d33670fffda477857a994...
0 examples [00:00, ? examples/s]2021-04-26 02:53:13.498579: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "f:\datasets\datasets-1\src\datasets\load.py", line 746, in load_dataset
builder_instance.download_and_prepare(
File "f:\datasets\datasets-1\src\datasets\builder.py", line 587, in download_and_prepare
self._download_and_prepare(
File "f:\datasets\datasets-1\src\datasets\builder.py", line 665, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "f:\datasets\datasets-1\src\datasets\builder.py", line 1002, in _prepare_split
writer.write(example, key)
File "f:\datasets\datasets-1\src\datasets\arrow_writer.py", line 321, in write
self.check_duplicates()
File "f:\datasets\datasets-1\src\datasets\arrow_writer.py", line 331, in check_duplicates
raise DuplicatedKeysError(key)
datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 234467
Keys should be unique and deterministic in nature
```
Please let me know if this is what we wanted to implement. Thanks! | [
-0.2152424156665802,
0.17221766710281372,
-0.03298380598425865,
0.24760836362838745,
0.07902601361274719,
-0.07275828719139099,
0.3451024293899536,
0.26862847805023193,
-0.18285095691680908,
0.20133671164512634,
0.329755574464798,
0.5607315897941589,
-0.20236696302890778,
0.10036822408437729,
0.283194899559021,
-0.16636118292808533,
0.04283444955945015,
0.14061585068702698,
0.015412136912345886,
-0.040194518864154816,
-0.163333460688591,
0.142547607421875,
0.06017060577869415,
-0.013484396040439606,
-0.3690031170845032,
-0.27787724137306213,
-0.05711068585515022,
0.13767975568771362,
-0.3445934057235718,
-0.3577214479446411,
0.08331290632486343,
0.20468653738498688,
-0.220328688621521,
0.38719236850738525,
-0.00011191406520083547,
0.11202529072761536,
0.34459561109542847,
0.10131813585758209,
-0.2834397554397583,
-0.16672585904598236,
-0.12524962425231934,
-0.06224586069583893,
-0.13155578076839447,
-0.12891417741775513,
0.16953453421592712,
-0.43571025133132935,
-0.1271408200263977,
-0.10337162017822266,
0.5853323340415955,
0.24594059586524963,
0.16223816573619843,
0.13243569433689117,
0.5857114791870117,
-0.039972007274627686,
0.18074658513069153,
0.1296854168176651,
-0.31212523579597473,
0.15979816019535065,
0.0999905988574028,
0.2674475312232971,
-0.12859034538269043,
0.3509763181209564,
0.41610023379325867,
0.047596920281648636,
0.30186423659324646,
0.019306030124425888,
0.32527971267700195,
-0.2579003870487213,
0.13289818167686462,
0.41282692551612854,
0.38054293394088745,
-0.257357656955719,
-0.19607341289520264,
-0.09933856874704361,
-0.04189926013350487,
-0.2787977457046509,
0.47292494773864746,
-0.028737826272845268,
-0.364098459482193,
-0.17973731458187103,
-0.17942927777767181,
-0.04491036385297775,
-0.24033528566360474,
-0.1803181767463684,
-0.0471014603972435,
-0.11951388418674469,
0.09875733405351639,
0.013175509870052338,
0.34564825892448425,
-0.05650957673788071,
0.27561885118484497,
-0.19894565641880035,
-0.2261452078819275,
0.058282315731048584,
-0.1791515350341797,
-0.27687811851501465,
-0.052839867770671844,
-0.3212120831012726,
0.1917230188846588,
-0.10098816454410553,
0.34166067838668823,
0.06548787653446198,
-0.007331308908760548,
0.07520025223493576,
0.05430661514401436,
0.19506798684597015,
0.06735136359930038,
0.06575708091259003,
0.018396534025669098,
0.09366423636674881,
-0.17875130474567413,
0.10362774133682251,
-0.1577400118112564,
-0.3862129747867584,
0.49285537004470825,
0.2768685817718506,
-0.009289558976888657,
-0.020098231732845306,
0.026935776695609093,
0.3570508062839508,
-0.25088173151016235,
-0.23959535360336304,
0.015478525310754776,
0.13800294697284698,
-0.03371502086520195,
-0.07196773588657379,
-0.10281512886285782,
-0.10587787628173828,
-0.08366824686527252,
0.03273319825530052,
-0.08592069149017334,
0.1520344316959381,
-0.30898651480674744,
-0.17385172843933105,
0.3747410178184509,
-0.12411993741989136,
0.07203001528978348,
0.329130619764328,
-0.029902219772338867,
-0.23069392144680023,
0.2632652521133423,
-0.016838330775499344,
0.20518091320991516,
0.12479560077190399,
-0.14110738039016724,
-0.005854065530002117,
-0.25166186690330505,
-0.27246737480163574,
-0.1429884284734726,
0.16295196115970612,
-0.025702044367790222,
-0.4591329097747803,
-0.1495070457458496,
0.2328556478023529,
-0.035223040729761124,
0.1093292161822319,
0.004123888909816742,
-0.0158674418926239,
-0.002277068793773651,
0.053232353180646896,
0.09210699796676636,
0.07593460381031036,
-0.0431632436811924,
-0.3058823347091675,
0.15968088805675507,
0.061172835528850555,
-0.504641056060791,
0.03183327615261078,
-0.4192153811454773,
-0.040843646973371506,
0.04411881044507027,
0.19998027384281158,
-0.2250107228755951,
0.34977614879608154,
-0.23086358606815338,
0.057439982891082764,
0.5757792592048645,
0.04509430006146431,
-0.26778826117515564,
0.262886106967926,
-0.08043801039457321,
0.059714242815971375,
0.3283436596393585,
-0.012205425649881363,
0.200899139046669,
-0.14280129969120026,
0.11424952745437622,
-0.10497425496578217,
-0.2267056405544281,
-0.29076501727104187,
-0.3615710437297821,
-0.33543461561203003,
-0.11356285214424133,
-0.03555375710129738,
0.23917417228221893,
-0.30768832564353943,
0.08956278860569,
-0.02975822240114212,
-0.07880570739507675,
-0.20353806018829346,
-0.011195947416126728,
-0.02444613352417946,
0.3829095661640167,
-0.34689873456954956,
0.03394252806901932,
0.09090575575828552,
-0.49935460090637207,
0.38749876618385315,
-0.28765544295310974,
0.04449842497706413,
-0.16049273312091827,
-0.2585486173629761,
-0.12911400198936462,
0.09436380863189697,
-0.22066743671894073,
-0.2151775062084198,
0.14931972324848175,
0.042509231716394424,
0.02807312086224556,
-0.0022641196846961975,
-0.3139522671699524,
-0.2913920283317566,
-0.2541830837726593,
-0.05273666977882385,
-0.270651638507843,
-0.04060908779501915,
-0.26547127962112427,
-0.017530925571918488,
-0.18347956240177155,
0.26512107253074646,
-0.05115269869565964,
-0.0861167460680008,
-0.015723252668976784,
0.20050275325775146,
-0.04914938658475876,
0.31940633058547974,
-0.056770503520965576,
0.4052807688713074,
0.1943700909614563,
-0.2344357669353485,
-0.025111088529229164,
-0.22548484802246094,
-0.041386812925338745,
-0.16687975823879242,
0.037145134061574936,
0.5468341112136841,
-0.2185588926076889,
-0.09213874489068985,
-0.0358521044254303,
-0.17543350160121918,
0.12688174843788147,
-0.16878867149353027,
0.09103234112262726,
-0.20188401639461517,
0.07374215126037598,
0.09849098324775696,
-0.06768059730529785,
0.23449760675430298,
-0.08584035933017731,
0.16038477420806885,
0.38605397939682007,
0.030692514032125473,
0.015969034284353256,
-0.040978774428367615,
0.09183719754219055,
-0.017631078138947487,
-0.048108138144016266,
0.5828008055686951,
0.21424037218093872,
-0.0034245909191668034,
0.1840304732322693,
0.172024667263031,
-0.03302997723221779,
-0.08927523344755173,
0.3801622688770294,
-0.21338744461536407,
0.1013297364115715,
0.4300454258918762,
-0.127916619181633,
0.015652747824788094,
-0.2974359095096588,
0.20810185372829437,
0.43643826246261597,
0.21560955047607422,
-0.17836621403694153,
-0.16975203156471252,
-0.1926904171705246,
0.18801149725914001,
-0.3800782561302185,
0.053481459617614746,
-0.03313877061009407,
-0.17638741433620453,
0.301969051361084,
0.24631796777248383,
-0.07592283934354782,
0.12577742338180542,
0.21391098201274872,
0.2680094838142395,
-0.08973982185125351,
-0.03560451418161392,
-0.192115917801857,
-0.20661211013793945,
-0.22036007046699524,
0.20259380340576172,
0.5244879722595215,
-0.0863908901810646,
0.44189128279685974,
-0.059806883335113525,
-0.08441190421581268,
-0.53652423620224,
-0.47042757272720337,
0.1411137580871582,
-0.1288536787033081,
0.1648324877023697,
0.363980233669281,
-0.12114956974983215,
-0.20636966824531555,
-0.5195935964584351,
0.20133988559246063,
-0.26188844442367554,
-0.4568149745464325,
0.12370455265045166,
-0.15935467183589935,
0.0457942970097065,
-0.27093085646629333,
-0.41118037700653076,
0.0062702978029847145,
-0.16825976967811584,
0.38145577907562256,
0.12763617932796478,
0.3811298608779907,
0.06590229272842407,
0.1956457793712616,
0.03841099143028259,
0.034112729132175446,
-0.0660003051161766,
-0.21561495959758759,
-0.14919701218605042,
0.25804856419563293,
-0.24191220104694366,
-0.2542301118373871,
0.2707577645778656,
-0.3185914158821106,
0.3525207042694092,
0.08459672331809998,
-0.4035412669181824,
0.020463727414608,
-0.13941791653633118,
0.4331046938896179,
0.15705734491348267,
0.08537667989730835,
0.16806858777999878,
0.24797172844409943,
-0.1490534096956253,
-0.17871785163879395,
0.17736902832984924,
0.23883816599845886,
-0.029120076447725296,
0.4554058015346527,
0.10292325913906097,
0.4829722046852112,
-0.004304185509681702,
0.9575725197792053,
0.20054824650287628,
-0.4236854612827301,
-0.007831975817680359,
-0.08108342438936234,
0.09506405889987946,
-0.07856655865907669,
-0.16186319291591644,
0.02942548133432865,
-0.07132028043270111,
-0.02679484523832798,
0.012744009494781494,
-0.25521019101142883,
0.02056916430592537,
0.086491659283638,
0.2553993761539459,
-0.29078689217567444,
-0.4210449755191803,
0.40998202562332153,
-0.32537028193473816,
0.10106009989976883,
-0.1791820377111435,
-0.009302802383899689,
-0.13076503574848175,
0.00033703912049531937,
0.2342357337474823,
0.13142827153205872,
0.14387783408164978,
-0.2404005378484726,
-0.05436408892273903,
-0.02752402052283287,
-0.42735007405281067,
0.2074543833732605,
0.12510472536087036,
0.2474328726530075,
-0.1913495659828186,
0.0731830820441246,
0.11370837688446045,
-0.14185656607151031,
0.5453314781188965,
-0.5911725759506226,
0.01056135818362236,
0.0889921486377716,
-0.10064429044723511,
0.28659796714782715,
-0.09374438226222992,
-0.1506950706243515,
0.1780846118927002,
-0.04185857996344566,
0.0894477516412735,
-0.36295318603515625,
0.02627514861524105,
0.10840640962123871,
-0.12540771067142487,
-0.061344847083091736,
-0.17971226572990417,
-0.19977964460849762,
-0.10211995244026184,
-0.22122953832149506,
0.09193246066570282,
0.07130273431539536,
0.22632917761802673,
-0.19408762454986572,
-0.0812675952911377,
-0.0885440856218338,
0.08635365962982178,
0.29517239332199097,
0.07861000299453735,
0.25793612003326416,
0.027147280052304268,
0.24054700136184692,
-0.06823517382144928,
-0.030110977590084076,
0.310843825340271,
0.3173958361148834,
0.011816447600722313,
-0.03838494420051575,
0.02446925640106201,
-0.35510560870170593,
-0.12965121865272522,
0.29349571466445923,
-0.17045536637306213,
0.16636809706687927,
0.18358562886714935,
-0.05462983250617981,
-0.056634169071912766,
-0.05886228755116463,
0.37303587794303894,
0.04926741123199463,
-0.2782838046550751,
-0.288213849067688,
0.2702248990535736,
0.14733411371707916,
-0.1690460443496704,
0.596063494682312,
0.12557324767112732,
-0.27539148926734924,
0.16741681098937988,
0.40122348070144653,
0.9291985630989075,
0.1278933733701706,
-0.14170974493026733,
0.05889121815562248,
-0.222123920917511,
0.34430477023124695,
-0.23391574621200562,
0.11874866485595703,
-0.3077942132949829,
-0.023966971784830093,
-0.0997091606259346,
-0.15318380296230316,
0.22671177983283997,
0.05031021684408188,
-0.30367517471313477,
-0.14416660368442535,
0.04248947650194168,
0.2997499406337738,
0.04817210137844086,
0.5169501304626465,
-0.4624031186103821,
0.06780621409416199,
0.1594289094209671,
0.05169221758842468,
0.23679427802562714,
0.004842817783355713,
-0.18551817536354065,
-0.32357436418533325,
0.0739358514547348,
-0.32189828157424927,
-0.43669217824935913,
-0.12591710686683655,
-0.3932567834854126,
0.10153448581695557,
0.16458724439144135,
-0.1489754468202591,
0.4013081192970276,
-0.013680439442396164,
0.7118973135948181,
0.029010752215981483,
-0.1251140683889389,
0.21964621543884277,
0.41786670684814453,
0.2050004005432129,
0.03823256492614746,
-0.37631621956825256,
0.28731659054756165,
-0.2818572223186493,
-0.0945335403084755,
0.07453320920467377,
-0.11895982921123505,
-0.1548403799533844,
0.021415427327156067,
-0.1308516412973404,
-0.1017497181892395,
-0.1384703516960144,
0.2465582937002182,
-0.05947086215019226,
-0.5304593443870544,
-0.08863337337970734,
0.1572745144367218,
-0.07306066155433655,
-0.3029356300830841,
0.13813520967960358,
-0.18045487999916077,
-0.04708987846970558,
0.14346157014369965,
-0.13962426781654358,
0.242398202419281,
0.06697091460227966,
0.4021502733230591,
0.06743194162845612,
0.0160670168697834,
-0.3684300184249878,
-0.07973334193229675,
0.5162683129310608,
-0.6555234789848328,
0.07994333654642105,
-0.08606179803609848,
-0.18352459371089935,
0.1851014792919159,
0.6853879690170288,
0.3928335905075073,
0.6147779822349548,
-0.154245063662529,
-0.05265054479241371,
-0.2955667972564697,
0.09475405514240265,
0.0025149062275886536,
0.5115026831626892,
-0.3020370304584503,
0.23316532373428345,
-0.05322287231683731,
0.37546730041503906,
-0.3735378682613373,
0.012237799353897572,
-0.06624908745288849,
0.05653626099228859,
-0.6076188087463379,
-0.16288283467292786,
0.026479758322238922,
-0.1466805785894394,
0.09835034608840942,
0.1832098364830017,
-0.546798586845398,
-0.15811452269554138,
0.0304989255964756,
0.13667890429496765,
-0.06343179941177368,
0.0879257321357727,
-0.06213332712650299,
0.07571806758642197,
-0.03779015690088272,
0.21243762969970703,
0.17712388932704926,
-0.2152111530303955,
-0.10603293776512146,
0.05121086910367012,
0.25216713547706604,
0.3273274600505829,
-0.3334137201309204,
-0.20752041041851044,
-0.2614186704158783,
0.4931175112724304,
0.11214645206928253,
0.07534246891736984,
-0.08225113898515701,
-0.08343133330345154,
0.0814046710729599,
0.19631314277648926,
-0.15751402080059052,
-0.10379888862371445,
0.2423868477344513,
-0.08737362921237946,
-0.35303008556365967,
-0.15923383831977844,
0.3050040900707245,
0.22968915104866028,
-0.22237682342529297,
-0.2101653516292572,
-0.08114463835954666,
0.24293412268161774,
-0.1000545546412468,
-0.045459289103746414,
-0.016993798315525055,
-0.06170258671045303,
0.1997775137424469,
0.244118332862854,
0.4625076949596405,
-0.2760055661201477,
-0.20522956550121307,
0.14301913976669312,
-0.18057766556739807,
-0.5799592137336731,
0.29774174094200134,
0.6096936464309692,
-0.2402929812669754,
0.01549961045384407,
0.36714473366737366,
-0.0551496185362339,
-0.1648484468460083,
-0.004274759441614151,
-0.3090057373046875,
0.36684828996658325,
0.25338923931121826,
0.2237958014011383,
0.37462377548217773,
-0.10136574506759644,
0.5170071125030518,
0.24103152751922607,
-0.016553200781345367,
0.175966277718544,
0.25680696964263916,
0.2563622295856476,
0.08019442856311798,
0.02839207462966442,
-0.35734012722969055,
0.06032338738441467,
-0.1733224093914032,
0.08991546928882599,
-0.6407919526100159,
-0.33268317580223083,
-0.4064543545246124,
0.01687495782971382,
0.0056873224675655365,
0.04721195250749588,
0.1014992967247963,
0.2754574418067932,
-0.13846497237682343,
-0.09955961257219315,
0.14150479435920715,
0.02467353269457817,
0.4267062544822693,
-0.3353652358055115,
0.3993058204650879,
0.3947577476501465,
-0.29915204644203186,
-0.05365654453635216,
0.41288238763809204,
0.40502628684043884,
0.13133984804153442,
-0.12293340265750885,
0.24624985456466675,
0.15844225883483887,
-0.056974127888679504,
0.05148717761039734,
0.32835033535957336,
0.1171824187040329,
-0.0811673104763031,
0.13019588589668274,
0.14951296150684357,
-0.15761294960975647,
-0.209050253033638,
0.04825282469391823,
-0.061794210225343704,
-0.030070282518863678,
0.19116215407848358,
0.18107792735099792,
-0.05576085299253464,
0.023912543430924416,
0.22796469926834106,
-0.19394811987876892,
-0.6716874241828918,
0.470867395401001,
-0.056161247193813324,
0.07072602957487106,
-0.24824778735637665,
0.12424029409885406,
-0.09055550396442413,
0.5037966966629028,
0.20725107192993164,
-0.06300482153892517,
-0.3919145166873932,
-0.1434754580259323,
-0.5861835479736328,
0.1908990889787674,
-0.10979090631008148,
-0.11813735961914062,
0.24032042920589447,
0.4134676456451416,
0.13005702197551727,
0.14112809300422668,
0.17368166148662567,
0.11951540410518646,
-0.06831538677215576,
0.47887545824050903,
-0.5007742643356323,
0.25995486974716187,
0.13202685117721558,
-0.17223100364208221,
-0.14066249132156372,
-0.2756102681159973,
0.3404737412929535,
-0.04314408451318741,
0.06823871284723282,
0.06875516474246979,
-0.09181255847215652,
0.36091405153274536,
0.1449524462223053,
0.3112958073616028,
0.20338398218154907,
0.2608169615268707,
0.04832912236452103,
-0.2523764967918396,
-0.037853676825761795,
0.13253547251224518,
-0.21917709708213806,
0.2248927652835846,
0.390108197927475,
0.3201218843460083,
0.21960091590881348,
0.2245699167251587,
-0.30862918496131897,
0.10364280641078949,
-0.002507708966732025,
-0.16168974339962006,
-0.36454546451568604,
0.1433924436569214,
-0.032100047916173935,
0.09200295805931091,
0.21139152348041534,
0.30439287424087524,
0.07076592743396759,
-0.08753439038991928,
-0.32420188188552856,
-0.48371535539627075,
0.376280814409256,
-0.2720325291156769,
-0.07778263092041016,
-0.12235055863857269,
0.23601743578910828,
0.27036067843437195,
0.1348152905702591,
-0.6898248195648193,
-0.12376044690608978,
0.18155427277088165,
-0.18717849254608154,
0.20539283752441406,
0.016301503404974937,
0.008723477832973003,
0.2629651129245758,
-0.17257757484912872,
0.021333709359169006,
-0.0482340008020401,
-0.0025058910250663757,
-0.24532000720500946,
-0.3886982202529907
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | This looks pretty cool !
We can make focus on the GeneratorBasedBuilder for now yes.
Do you think we could make the ArrowWriter not look for duplicates by default ?
This way we can just enable duplicate detections when instantiating the writer in the GeneratorBasedBuilder for now. | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 47 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
This looks pretty cool !
We can make focus on the GeneratorBasedBuilder for now yes.
Do you think we could make the ArrowWriter not look for duplicates by default ?
This way we can just enable duplicate detections when instantiating the writer in the GeneratorBasedBuilder for now. | [
-0.12525124847888947,
0.0844285786151886,
-0.0026092417538166046,
0.212185338139534,
-0.02232980728149414,
-0.0009963661432266235,
0.19753852486610413,
0.1663026213645935,
-0.3041352927684784,
0.17134617269039154,
0.311710387468338,
0.36224663257598877,
-0.1502876728773117,
0.03785551339387894,
0.22158944606781006,
-0.0483570322394371,
0.09318283200263977,
0.20144838094711304,
0.15744590759277344,
0.06359376013278961,
-0.216412752866745,
0.17806601524353027,
-0.07126177102327347,
0.11204478144645691,
-0.3822025954723358,
-0.14110243320465088,
-0.11883840709924698,
0.15970101952552795,
-0.34333309531211853,
-0.5048027634620667,
-0.11561444401741028,
0.4892052412033081,
-0.19554004073143005,
0.2076812982559204,
-0.00011482922127470374,
-0.0742790699005127,
0.33710670471191406,
0.1483728140592575,
-0.24948738515377045,
0.044714950025081635,
-0.28145352005958557,
-0.03900858759880066,
-0.11340774595737457,
0.023518241941928864,
0.19467997550964355,
-0.48327237367630005,
0.005037963390350342,
-0.10781468451023102,
0.46257275342941284,
-0.15603604912757874,
0.1613086313009262,
-0.1651948094367981,
0.5470682978630066,
-0.0004968697903677821,
0.2516306936740875,
0.27707231044769287,
-0.2469007819890976,
0.023522458970546722,
0.22227951884269714,
0.2481958568096161,
-0.17643368244171143,
0.4451574385166168,
0.3418472707271576,
0.03562108427286148,
0.4845564067363739,
0.02854827791452408,
0.18273183703422546,
-0.08870963752269745,
0.05586697906255722,
0.2571125328540802,
0.4498608708381653,
-0.2968568801879883,
-0.2561042308807373,
-0.10979969054460526,
-0.06046061962842941,
-0.2070726752281189,
0.4074247181415558,
0.0342337004840374,
-0.2722153961658478,
-0.16434882581233978,
-0.24513520300388336,
-0.2519112527370453,
-0.20433399081230164,
-0.3349651098251343,
0.21801769733428955,
-0.04958482086658478,
0.17634829878807068,
-0.026168793439865112,
0.41810327768325806,
0.15110716223716736,
0.3916126489639282,
-0.2609623074531555,
-0.3527066707611084,
0.10359397530555725,
0.01092478260397911,
-0.2682238817214966,
-0.0829450860619545,
0.17294974625110626,
0.20255142450332642,
0.07564450800418854,
0.25648361444473267,
0.1503416895866394,
0.13986437022686005,
0.004336994141340256,
0.28687629103660583,
-0.035029612481594086,
0.289524108171463,
0.1719382107257843,
0.060555849224328995,
-0.0005308791296556592,
-0.21508586406707764,
0.0031286776065826416,
-0.03908110037446022,
-0.3416414260864258,
0.7588204741477966,
0.3098677098751068,
-0.01975136063992977,
-0.18380853533744812,
0.3363749384880066,
0.22453854978084564,
-0.13617925345897675,
-0.414971262216568,
-0.03864132985472679,
0.06255695968866348,
0.1491764932870865,
-0.0001130029559135437,
-0.16473186016082764,
-0.15219619870185852,
-0.03149672597646713,
-0.07268226146697998,
-0.11776526272296906,
-0.036132898181676865,
-0.213617205619812,
-0.047721609473228455,
0.2986207604408264,
-0.13193152844905853,
0.009481817483901978,
0.3006017804145813,
-0.07932156324386597,
-0.029046284034848213,
0.23362791538238525,
0.024735193699598312,
0.19996854662895203,
-0.054763313382864,
-0.2977336645126343,
-0.05400121957063675,
-0.2441275268793106,
-0.13744395971298218,
-0.1689014434814453,
0.2508913576602936,
0.1410432755947113,
-0.37336745858192444,
-0.14835457503795624,
0.21501955389976501,
-0.18801678717136383,
0.06595055013895035,
0.06695602834224701,
0.023297537118196487,
0.009921260178089142,
0.03217644616961479,
0.09094250202178955,
0.2998882532119751,
0.03981991484761238,
-0.12317775934934616,
-0.051675695925951004,
0.19009710848331451,
-0.37103554606437683,
-0.05607330799102783,
-0.4800581932067871,
-0.16366395354270935,
-0.009286187589168549,
0.01716834306716919,
-0.1878248155117035,
0.3263194262981415,
-0.18196353316307068,
0.038915589451789856,
0.5216186046600342,
0.1419338434934616,
-0.20328179001808167,
0.24467067420482635,
-0.05359778180718422,
-0.027656489983201027,
0.4839329719543457,
0.11759982258081436,
0.08435825258493423,
-0.13275031745433807,
-0.005396910011768341,
-0.20213375985622406,
-0.3607683479785919,
-0.18452967703342438,
-0.4408087432384491,
-0.24728883802890778,
-0.22497810423374176,
-0.12574172019958496,
0.10703492164611816,
-0.3411582112312317,
-0.027098894119262695,
-0.12428779155015945,
0.03971198946237564,
-0.1902473121881485,
0.02213575690984726,
-0.1757473349571228,
0.5693250298500061,
-0.3006201982498169,
0.05779626592993736,
0.07549542933702469,
-0.20774412155151367,
0.25839370489120483,
-0.3485884666442871,
0.008562121540307999,
-0.12113519012928009,
-0.3650251030921936,
0.004797235131263733,
0.11927459388971329,
-0.3491632640361786,
-0.14409227669239044,
0.09394636750221252,
-0.019643716514110565,
-0.053408555686473846,
-0.16554343700408936,
-0.21994462609291077,
-0.24162253737449646,
0.027317991480231285,
-0.06064310297369957,
-0.12387332320213318,
-0.16864588856697083,
-0.2429080456495285,
0.12786315381526947,
-0.2839388847351074,
0.24717289209365845,
-0.08898379653692245,
0.058179955929517746,
0.004434613510966301,
0.18432432413101196,
0.03433585911989212,
0.23930436372756958,
0.18470656871795654,
0.2834971845149994,
0.1058991327881813,
-0.41551002860069275,
0.1138298287987709,
-0.12748770415782928,
-0.02961231768131256,
-0.14072798192501068,
-0.0351230651140213,
0.5296844244003296,
-0.3040306866168976,
-0.09128115326166153,
-0.09687814116477966,
-0.1718573123216629,
-0.10370200127363205,
-0.21970896422863007,
-0.007785620633512735,
-0.22015798091888428,
-0.0016131438314914703,
0.027394473552703857,
-0.1358061581850052,
0.3651202917098999,
0.01962871104478836,
0.22866058349609375,
0.27267295122146606,
0.022044092416763306,
0.05054992437362671,
-0.004565350711345673,
0.04838573932647705,
-0.08228984475135803,
-0.05355532467365265,
0.47780635952949524,
0.21127715706825256,
0.13206811249256134,
0.1400972306728363,
0.1388361006975174,
0.18331994116306305,
-0.019297998398542404,
0.46770286560058594,
-0.1341744065284729,
-0.17189770936965942,
0.27256545424461365,
-0.3092798590660095,
-0.03595501556992531,
-0.3942403793334961,
0.36596181988716125,
0.21749389171600342,
0.07463467866182327,
-0.08742856979370117,
-0.2166212797164917,
0.0021607354283332825,
0.1200147196650505,
-0.3457432687282562,
0.08763284981250763,
-0.03707316890358925,
-0.19995617866516113,
0.5163819193840027,
0.03272317349910736,
-0.1435384452342987,
0.0675363838672638,
-0.03258168324828148,
0.3730525076389313,
-0.2687137722969055,
0.09236006438732147,
-0.0971834659576416,
-0.25766995549201965,
-0.0960007831454277,
0.2206561118364334,
0.5687184929847717,
-0.03980476036667824,
0.553434431552887,
0.037487298250198364,
0.04524359107017517,
-0.5323778986930847,
-0.3782678544521332,
-0.0048632510006427765,
-0.0951308161020279,
0.04622901976108551,
0.3849523961544037,
-0.17347310483455658,
-0.12423582375049591,
-0.4226013422012329,
0.030446063727140427,
-0.3185354173183441,
-0.4759887456893921,
0.1745729148387909,
-0.18147286772727966,
0.10712722688913345,
-0.20406204462051392,
-0.19146037101745605,
0.11772859841585159,
-0.13729402422904968,
0.524185061454773,
0.12625065445899963,
0.35447120666503906,
-0.08436005562543869,
0.04730365797877312,
-0.10298121720552444,
-0.05786924436688423,
-0.08153951168060303,
-0.15371933579444885,
-0.22484652698040009,
0.24163080751895905,
-0.15215350687503815,
-0.0629701316356659,
0.2194986641407013,
-0.35312706232070923,
0.18664127588272095,
-0.13712380826473236,
-0.2979575991630554,
0.06917833536863327,
-0.07159215211868286,
0.4561268091201782,
0.24451065063476562,
0.32902243733406067,
0.12879550457000732,
0.4791531562805176,
-0.19830875098705292,
-0.014625944197177887,
0.12904344499111176,
0.15607047080993652,
-0.29475706815719604,
0.4017612338066101,
0.043762531131505966,
0.21256986260414124,
-0.21878524124622345,
0.889451801776886,
0.30174458026885986,
-0.056894656270742416,
0.09367402642965317,
0.1716061532497406,
0.06840310990810394,
-0.06091735512018204,
-0.2533966898918152,
-0.060290705412626266,
-0.06917928159236908,
-0.04610771685838699,
0.10738488286733627,
-0.08749402314424515,
0.08719392120838165,
0.1265546828508377,
0.15945450961589813,
-0.2520526051521301,
-0.39695751667022705,
0.3533434569835663,
-0.48407959938049316,
0.05195416510105133,
-0.261121541261673,
-0.17181234061717987,
-0.19878965616226196,
-0.06689650565385818,
0.150771826505661,
-0.06103543937206268,
0.29648274183273315,
-0.2756243944168091,
0.018844831734895706,
0.03864192217588425,
-0.20172497630119324,
0.2902863621711731,
0.08589653670787811,
-0.05133095011115074,
0.018382098525762558,
-0.09448066353797913,
0.17235910892486572,
-0.08511293679475784,
0.45939505100250244,
-0.5579268932342529,
-0.016943663358688354,
-0.0008418187499046326,
-0.06235532462596893,
0.3626216650009155,
-0.05143851786851883,
-0.0016307495534420013,
0.27368831634521484,
-0.22283123433589935,
-0.03033284842967987,
-0.48422521352767944,
0.07776107639074326,
0.25048524141311646,
-0.08970443159341812,
-0.0999755710363388,
-0.2615075707435608,
-0.19303888082504272,
0.06228186935186386,
-0.09338143467903137,
0.14428624510765076,
0.026018185541033745,
0.10727901011705399,
-0.2639939486980438,
0.08769167959690094,
-0.06308887153863907,
0.04907730966806412,
0.25679996609687805,
0.03157508373260498,
0.2143290638923645,
-0.17171679437160492,
0.26651692390441895,
0.09920728206634521,
-0.27853772044181824,
0.04767254739999771,
0.4933698773384094,
-0.03561506047844887,
-0.08321136236190796,
-0.15008080005645752,
-0.35519182682037354,
0.049799054861068726,
0.3857526183128357,
-0.06802940368652344,
0.31264472007751465,
0.24683243036270142,
-0.06855820119380951,
-0.18348248302936554,
-0.4849052429199219,
0.06211017072200775,
0.06357033550739288,
-0.1614169478416443,
-0.207256481051445,
0.23301976919174194,
0.16020703315734863,
-0.24125421047210693,
0.5887735486030579,
0.278674840927124,
-0.2190537303686142,
0.23814673721790314,
0.32109081745147705,
1.0547679662704468,
0.12889660894870758,
-0.14636147022247314,
-0.35086867213249207,
-0.36626332998275757,
-0.00037279841490089893,
-0.09417662769556046,
-0.03003566339612007,
-0.43615055084228516,
-0.021638326346874237,
-0.08587338030338287,
-0.15712161362171173,
0.27486106753349304,
0.08799660205841064,
-0.34385600686073303,
-0.16850398480892181,
0.039962850511074066,
0.14551566541194916,
0.03709450364112854,
0.48408377170562744,
-0.5165032744407654,
0.18013031780719757,
0.3045693337917328,
0.055823467671871185,
0.25719451904296875,
-0.11936482787132263,
-0.1479828655719757,
-0.3079073429107666,
0.14459560811519623,
-0.4436883330345154,
-0.487191379070282,
-0.2543155550956726,
-0.2720398008823395,
0.041396625339984894,
0.1792498379945755,
-0.10713532567024231,
0.49918892979621887,
-0.04157339408993721,
0.7656091451644897,
0.046683356165885925,
-0.08914285153150558,
0.13252943754196167,
0.49160847067832947,
0.29382333159446716,
-0.10701311379671097,
-0.17351864278316498,
0.11650879681110382,
-0.16837134957313538,
-0.21850639581680298,
-0.00653558224439621,
-0.06966900825500488,
-0.40159404277801514,
-0.09809079021215439,
-0.13716593384742737,
-0.05141274631023407,
-0.18922969698905945,
0.28254011273384094,
-0.14637738466262817,
-0.4576287865638733,
-0.15616559982299805,
0.13309191167354584,
0.16696156561374664,
-0.3465207815170288,
0.187348872423172,
-0.1915411651134491,
0.12840519845485687,
0.13507744669914246,
-0.17258259654045105,
0.3154750168323517,
0.22358697652816772,
0.1955932378768921,
-0.007412958890199661,
-0.05296434462070465,
-0.37096214294433594,
0.016824014484882355,
0.4395979046821594,
-0.6169283390045166,
0.10410868376493454,
0.09312917292118073,
-0.2854888439178467,
0.13948538899421692,
0.5748887658119202,
0.3503878116607666,
0.6120609641075134,
-0.1902618557214737,
0.20658189058303833,
-0.2940826117992401,
0.12059757113456726,
-0.0010752789676189423,
0.46030810475349426,
-0.41172507405281067,
0.10451199114322662,
-0.044133227318525314,
0.5654560327529907,
-0.3610145151615143,
0.03465655446052551,
0.019840067252516747,
0.023544175550341606,
-0.6496922969818115,
-0.19061648845672607,
-0.15902608633041382,
-0.1943897157907486,
0.10786117613315582,
0.13694779574871063,
-0.3910643458366394,
-0.15295514464378357,
0.14320503175258636,
0.16459143161773682,
-0.12474419921636581,
0.060363806784152985,
0.009263744577765465,
0.3605769872665405,
0.12158910930156708,
0.23544016480445862,
0.024876542389392853,
-0.2717808783054352,
-0.06556667387485504,
0.1536998152732849,
0.44626131653785706,
0.09010142832994461,
-0.35990262031555176,
-0.17091147601604462,
-0.2060747742652893,
0.5092644095420837,
0.0686531737446785,
0.037848956882953644,
-0.14597688615322113,
-0.17544937133789062,
0.1565243899822235,
0.275007039308548,
0.0009466633200645447,
-0.08949806541204453,
0.1102011650800705,
0.02113688737154007,
-0.4069536328315735,
-0.005453253164887428,
0.313261479139328,
0.2166544795036316,
-0.039627883583307266,
-0.21465669572353363,
-0.1807633936405182,
0.24762548506259918,
-0.18631593883037567,
-0.1503787785768509,
-0.13261990249156952,
-0.21429666876792908,
0.10864412784576416,
0.27240827679634094,
0.393902987241745,
-0.21088699996471405,
-0.19513829052448273,
0.17342793941497803,
-0.20423290133476257,
-0.41485971212387085,
0.313581645488739,
0.6005330681800842,
-0.1402759999036789,
-0.1135779619216919,
0.4419649541378021,
-0.04279864951968193,
-0.1438940465450287,
-0.21370388567447662,
-0.33487263321876526,
0.3063773214817047,
0.07032807171344757,
0.3273777961730957,
0.3276541531085968,
-0.06015536189079285,
0.6373599171638489,
0.1210574060678482,
0.24390964210033417,
-0.00846116989850998,
0.2836254835128784,
0.32366955280303955,
0.10904873162508011,
0.051467377692461014,
-0.29872429370880127,
0.028378024697303772,
-0.021116960793733597,
0.001680111512541771,
-0.30969205498695374,
-0.34256237745285034,
-0.3281870484352112,
-0.04960206151008606,
-0.07261793315410614,
0.055973052978515625,
0.31105726957321167,
0.1176837682723999,
-0.01994873583316803,
-0.12379546463489532,
0.3439217209815979,
-0.030965633690357208,
0.5500809550285339,
-0.4230286180973053,
0.20517024397850037,
0.29152870178222656,
-0.10214760899543762,
0.12237074971199036,
0.6168732643127441,
0.2823728919029236,
0.08570074290037155,
-0.19759757816791534,
0.18262441456317902,
-0.014887187629938126,
-0.14655360579490662,
-0.028528567403554916,
0.31330591440200806,
-0.015807613730430603,
-0.07024194300174713,
-0.04221644997596741,
0.11673948168754578,
-0.04810881242156029,
-0.10656554996967316,
0.061933208256959915,
-0.1470727175474167,
0.05955132469534874,
0.2638421654701233,
0.3618175983428955,
-0.281222939491272,
0.13989758491516113,
0.22558951377868652,
-0.09653091430664062,
-0.6119964122772217,
0.35788694024086,
-0.10028219223022461,
-0.059723637998104095,
-0.41175177693367004,
0.09276992082595825,
0.1143592894077301,
0.45989498496055603,
0.22545796632766724,
-0.044830091297626495,
-0.5124487280845642,
-0.14061778783798218,
-0.5275503396987915,
0.1440674364566803,
-0.10825061798095703,
0.017959652468562126,
0.2696681320667267,
0.31450074911117554,
0.14393986761569977,
0.21019336581230164,
0.09595552831888199,
0.20693406462669373,
-0.2701602280139923,
0.5995630025863647,
-0.3849516212940216,
0.29153621196746826,
0.5968484282493591,
-0.10015429556369781,
-0.15926697850227356,
-0.28807252645492554,
0.34894102811813354,
-0.0036357082426548004,
0.07833047956228256,
0.15899017453193665,
-0.055431172251701355,
0.5048059225082397,
0.10429759323596954,
0.2568824887275696,
0.16675713658332825,
0.1751764714717865,
0.06187933683395386,
-0.12438369542360306,
0.07413819432258606,
0.09531836211681366,
-0.3822862505912781,
0.15102268755435944,
0.4356212615966797,
0.3375689387321472,
0.13810613751411438,
0.06156184896826744,
-0.19253197312355042,
0.0026092769112437963,
-0.19260819256305695,
0.14405663311481476,
-0.283659964799881,
0.16280189156532288,
-0.05536726862192154,
0.16039319336414337,
0.012509913183748722,
0.10910214483737946,
-0.006385400891304016,
-0.0983150526881218,
-0.4216271638870239,
-0.41499799489974976,
0.2641560435295105,
-0.08055681735277176,
0.05526674911379814,
-0.035547368228435516,
0.3317824900150299,
0.2121536135673523,
-0.04173041135072708,
-0.7428712248802185,
-0.08776012808084488,
0.25042733550071716,
-0.1589718461036682,
0.2321244180202484,
0.11623238027095795,
0.1268814206123352,
0.18776579201221466,
-0.1796276718378067,
0.18276330828666687,
-0.15966513752937317,
0.14513318240642548,
-0.304994136095047,
-0.33852827548980713
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Thank you @lhoestq
> Do you think we could make the ArrowWriter not look for duplicates by default ?
We can definitely do that by including a `check_duplicates` argument while instantiating `ArrowWriter()`.
However, since only `GeneratorBasedBuilder` uses the `write()` function (which includes the detection code) and the others like `ArrowBasedBuilder` use `write_table()` which remains as it was (without duplicate detection). I don't think it would be necessary.
Nonetheless, doing this would require just some small changes. Please let me know your thoughts on this. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 85 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Thank you @lhoestq
> Do you think we could make the ArrowWriter not look for duplicates by default ?
We can definitely do that by including a `check_duplicates` argument while instantiating `ArrowWriter()`.
However, since only `GeneratorBasedBuilder` uses the `write()` function (which includes the detection code) and the others like `ArrowBasedBuilder` use `write_table()` which remains as it was (without duplicate detection). I don't think it would be necessary.
Nonetheless, doing this would require just some small changes. Please let me know your thoughts on this. Thanks! | [
-0.06444542855024338,
0.06956063210964203,
0.021779149770736694,
0.2072971612215042,
0.005414096638560295,
-0.0005458220839500427,
0.1395798921585083,
0.1355096846818924,
-0.3001456558704376,
0.13342876732349396,
0.33998027443885803,
0.37038499116897583,
-0.1360873132944107,
0.0056351106613874435,
0.21070179343223572,
-0.052997052669525146,
0.11230404675006866,
0.21652933955192566,
0.17768007516860962,
0.022900260984897614,
-0.2557382583618164,
0.1528303325176239,
-0.04048528894782066,
0.16561084985733032,
-0.3612346053123474,
-0.13960039615631104,
-0.1596536636352539,
0.16338184475898743,
-0.3255211412906647,
-0.5191434621810913,
-0.05579553171992302,
0.4680239260196686,
-0.13049879670143127,
0.19827747344970703,
-0.00011914702190551907,
-0.12092743068933487,
0.2932634949684143,
0.12779565155506134,
-0.24670419096946716,
0.050276510417461395,
-0.2838992476463318,
-0.020504899322986603,
-0.0718541219830513,
-0.011097654700279236,
0.20948249101638794,
-0.5008334517478943,
-0.026099389418959618,
-0.10671195387840271,
0.48945480585098267,
-0.15127047896385193,
0.11819690465927124,
-0.14794981479644775,
0.5645480751991272,
0.03696355223655701,
0.24016332626342773,
0.2763252258300781,
-0.2013266235589981,
0.06364170461893082,
0.16167813539505005,
0.22483843564987183,
-0.14020851254463196,
0.35289129614830017,
0.3165781497955322,
0.02449955604970455,
0.515276312828064,
-0.04442036151885986,
0.20232802629470825,
-0.11498475074768066,
0.05631788820028305,
0.24260884523391724,
0.48182564973831177,
-0.3419717848300934,
-0.29029205441474915,
-0.11850932240486145,
-0.058596931397914886,
-0.24190081655979156,
0.4718741774559021,
0.042188361287117004,
-0.2697421908378601,
-0.1870143860578537,
-0.25956791639328003,
-0.25809067487716675,
-0.2172258496284485,
-0.3005574345588684,
0.25761348009109497,
-0.13751935958862305,
0.22054864466190338,
-0.0016678720712661743,
0.4250654876232147,
0.08095093071460724,
0.3389955759048462,
-0.3098801374435425,
-0.3620271682739258,
0.13096074759960175,
0.035779714584350586,
-0.2870514392852783,
-0.07755597680807114,
0.16248629987239838,
0.21509718894958496,
0.0766071155667305,
0.24575836956501007,
0.1549561321735382,
0.10676592588424683,
-0.02784041315317154,
0.2810063660144806,
0.0038057733327150345,
0.316069632768631,
0.2507435381412506,
-0.02716366946697235,
0.002966171596199274,
-0.20239034295082092,
0.022488780319690704,
-0.028893981128931046,
-0.3018341362476349,
0.8410016894340515,
0.3743693232536316,
-0.05337955057621002,
-0.23707106709480286,
0.3660893440246582,
0.2824743092060089,
-0.2196314036846161,
-0.43946510553359985,
-0.028052128851413727,
0.0738230049610138,
0.14249207079410553,
0.04086768999695778,
-0.15799680352210999,
-0.1800832599401474,
-0.09707924723625183,
-0.04826423153281212,
-0.07227671146392822,
-0.03244546800851822,
-0.2607395052909851,
-0.029093099758028984,
0.3022744953632355,
-0.10708041489124298,
-0.008610904216766357,
0.30491870641708374,
-0.037541210651397705,
-0.012319069355726242,
0.1519334316253662,
-0.03858116269111633,
0.28287288546562195,
-0.02665521577000618,
-0.32145002484321594,
-0.06184699386358261,
-0.25961047410964966,
-0.11899743974208832,
-0.1745244264602661,
0.40511542558670044,
0.13361825048923492,
-0.4271499514579773,
-0.11173918843269348,
0.1632889360189438,
-0.23063868284225464,
0.05990069359540939,
0.0847167819738388,
-0.02655443176627159,
0.016278058290481567,
-0.031006358563899994,
0.16141432523727417,
0.26573559641838074,
0.02789681777358055,
-0.17475993931293488,
-0.043526120483875275,
0.2224888801574707,
-0.35292816162109375,
-0.04693474620580673,
-0.44921720027923584,
-0.17512214183807373,
-0.016680672764778137,
0.04600820317864418,
-0.18044374883174896,
0.29826176166534424,
-0.1646142303943634,
0.017537511885166168,
0.4475991129875183,
0.17286114394664764,
-0.15165230631828308,
0.23469167947769165,
0.03206931799650192,
0.02637709118425846,
0.4761984348297119,
0.11157229542732239,
0.0638807862997055,
-0.1247888058423996,
-0.01553749293088913,
-0.27539801597595215,
-0.36443984508514404,
-0.23186074197292328,
-0.44652900099754333,
-0.26980045437812805,
-0.19326543807983398,
-0.15063975751399994,
0.10078723728656769,
-0.3132082223892212,
-0.01608576625585556,
-0.19124570488929749,
0.03957393020391464,
-0.20134368538856506,
-0.04809163510799408,
-0.14231151342391968,
0.6057712435722351,
-0.2799838185310364,
0.008945062756538391,
0.08690381795167923,
-0.21216264367103577,
0.2866341769695282,
-0.3725861608982086,
-0.0044564977288246155,
-0.08760002255439758,
-0.33963721990585327,
0.03618587553501129,
0.08991772681474686,
-0.27314749360084534,
-0.07854108512401581,
0.019567038863897324,
-0.039634495973587036,
-0.061014324426651,
-0.16045771539211273,
-0.19229231774806976,
-0.24470791220664978,
-0.06548107415437698,
-0.04575775936245918,
-0.09476593136787415,
-0.20155026018619537,
-0.20897607505321503,
0.1072218045592308,
-0.31438249349594116,
0.2858060300350189,
0.002718653529882431,
0.12590283155441284,
-0.040833622217178345,
0.2265019416809082,
0.044487252831459045,
0.2505754828453064,
0.16772618889808655,
0.3646756708621979,
0.12542113661766052,
-0.4235215187072754,
0.10528024286031723,
-0.08322614431381226,
-0.008496681228280067,
-0.12071222066879272,
-0.08849721401929855,
0.5645094513893127,
-0.2937936782836914,
-0.10963030904531479,
-0.06277889013290405,
-0.2218010574579239,
-0.15190741419792175,
-0.24162054061889648,
-0.06897690892219543,
-0.1859331727027893,
-0.007304001599550247,
0.07689365744590759,
-0.15680140256881714,
0.4170309007167816,
0.005679629743099213,
0.14422382414340973,
0.19454129040241241,
-0.02646743506193161,
0.03249741718173027,
0.06757358461618423,
0.12633579969406128,
-0.06142063066363335,
-0.0014246441423892975,
0.5089202523231506,
0.2716183662414551,
0.1230531558394432,
0.10603965818881989,
0.15103599429130554,
0.11656705290079117,
0.014378763735294342,
0.49457743763923645,
-0.1126491129398346,
-0.21134188771247864,
0.2559150755405426,
-0.3045671582221985,
0.05540180951356888,
-0.37184685468673706,
0.4373006522655487,
0.18926218152046204,
0.06667986512184143,
-0.13815873861312866,
-0.23448815941810608,
-0.05803874135017395,
0.0982951894402504,
-0.33921492099761963,
0.14954854547977448,
-0.0703815221786499,
-0.1379590928554535,
0.45992588996887207,
-0.021189089864492416,
-0.14571897685527802,
0.09477649629116058,
-0.004418542608618736,
0.4210565984249115,
-0.27466997504234314,
0.013351105153560638,
-0.07960332185029984,
-0.2220197319984436,
-0.10268092900514603,
0.16456690430641174,
0.5094406008720398,
-0.03719167411327362,
0.5809610486030579,
0.018285518512129784,
0.031057901680469513,
-0.5528895854949951,
-0.36977022886276245,
-0.05246560275554657,
-0.046487100422382355,
0.03518294170498848,
0.31823062896728516,
-0.14909839630126953,
-0.17912282049655914,
-0.4145725965499878,
0.04751930758357048,
-0.34344789385795593,
-0.42742010951042175,
0.17699098587036133,
-0.1683371663093567,
0.09260820597410202,
-0.199758842587471,
-0.1616521179676056,
0.11638495326042175,
-0.09135468304157257,
0.5472341179847717,
0.13860590755939484,
0.3900678753852844,
-0.10833145678043365,
0.08922279626131058,
-0.17115740478038788,
-0.10487744212150574,
-0.07001651078462601,
-0.11126748472452164,
-0.22820360958576202,
0.25061744451522827,
-0.09096328169107437,
-0.0520227886736393,
0.26073309779167175,
-0.3227790594100952,
0.14447355270385742,
-0.06854734569787979,
-0.33420753479003906,
0.02326047793030739,
-0.03840275853872299,
0.4633868336677551,
0.1873193234205246,
0.3241402208805084,
0.1804564744234085,
0.4830823242664337,
-0.15339778363704681,
-0.026927277445793152,
-0.010781504213809967,
0.18094880878925323,
-0.232269287109375,
0.47152572870254517,
0.08447152376174927,
0.2551121115684509,
-0.21202948689460754,
0.9366387724876404,
0.33364593982696533,
-0.056569863110780716,
0.05678711086511612,
0.17538197338581085,
0.12634584307670593,
-0.03521560877561569,
-0.2470623403787613,
-0.12880085408687592,
-0.09330330789089203,
-0.06158106401562691,
0.0803595781326294,
-0.08929751068353653,
0.06416720896959305,
0.11710219085216522,
0.10733252763748169,
-0.2731746733188629,
-0.4046039581298828,
0.37032631039619446,
-0.5146201848983765,
0.15683522820472717,
-0.2850981056690216,
-0.1910877227783203,
-0.2454548329114914,
-0.08336056023836136,
0.12313921749591827,
-0.009612321853637695,
0.3456178903579712,
-0.27666908502578735,
-0.03612750396132469,
-0.020044900476932526,
-0.15194576978683472,
0.28463467955589294,
0.09930604696273804,
0.09915304183959961,
0.014494318515062332,
-0.09270387142896652,
0.2000298798084259,
-0.06311234831809998,
0.41794413328170776,
-0.5394989252090454,
-0.028541333973407745,
-0.01861134171485901,
-0.042652592062950134,
0.29734304547309875,
-0.07729776203632355,
-0.011448986828327179,
0.30345419049263,
-0.2757894992828369,
-0.06914268434047699,
-0.49879923462867737,
0.08747521787881851,
0.20135095715522766,
-0.08079545199871063,
-0.09583990275859833,
-0.29800599813461304,
-0.2143077850341797,
0.09346220642328262,
-0.10211494565010071,
0.19756655395030975,
0.023223919793963432,
0.09919590502977371,
-0.2983914613723755,
0.12826310098171234,
-0.018013285472989082,
0.027323700487613678,
0.30151110887527466,
-0.03576798364520073,
0.26786893606185913,
-0.16260027885437012,
0.26197102665901184,
0.007909256964921951,
-0.27671489119529724,
0.076045460999012,
0.4908733367919922,
-0.13314487040042877,
-0.09926512837409973,
-0.19719398021697998,
-0.32806846499443054,
0.0433887243270874,
0.45024099946022034,
-0.07803414762020111,
0.34939149022102356,
0.26688748598098755,
-0.08582788705825806,
-0.20887935161590576,
-0.5799020528793335,
0.06090118736028671,
0.016912776976823807,
-0.16299524903297424,
-0.18152031302452087,
0.22396492958068848,
0.17727713286876678,
-0.2503030300140381,
0.566011905670166,
0.30396538972854614,
-0.2503044903278351,
0.2134924978017807,
0.3599240481853485,
1.143892526626587,
0.16949699819087982,
-0.12452952563762665,
-0.3181507885456085,
-0.4083068370819092,
-0.09812416881322861,
-0.0036836527287960052,
-0.05218164622783661,
-0.40380677580833435,
-0.004377757199108601,
-0.11397812515497208,
-0.17701846361160278,
0.2736511826515198,
0.09901721775531769,
-0.2962370216846466,
-0.1261395663022995,
0.05338418483734131,
0.17965662479400635,
0.11451150476932526,
0.48142868280410767,
-0.5227771997451782,
0.19293925166130066,
0.29906874895095825,
-0.0100669264793396,
0.26572471857070923,
-0.16312170028686523,
-0.14223718643188477,
-0.3201862573623657,
0.2245042324066162,
-0.48588240146636963,
-0.5092365741729736,
-0.3478515148162842,
-0.30668219923973083,
0.007467206567525864,
0.21008919179439545,
-0.08852367848157883,
0.5190288424491882,
-0.02133423462510109,
0.7623900175094604,
0.05127761512994766,
-0.07821419090032578,
0.1072184145450592,
0.5221315026283264,
0.3257344365119934,
-0.12394038587808609,
-0.16842639446258545,
0.10056622326374054,
-0.12294470518827438,
-0.17639291286468506,
-0.0015522539615631104,
-0.1425044685602188,
-0.4068185091018677,
-0.13515305519104004,
-0.14555653929710388,
-0.022111989557743073,
-0.23836590349674225,
0.2541678547859192,
-0.14593899250030518,
-0.49671775102615356,
-0.11471137404441833,
0.09906478226184845,
0.1449717879295349,
-0.2909926772117615,
0.2689247131347656,
-0.2137160748243332,
0.10274194180965424,
0.09231600165367126,
-0.15535175800323486,
0.30181747674942017,
0.23006153106689453,
0.21914546191692352,
-0.055436354130506516,
-0.06398600339889526,
-0.3397984504699707,
0.07510218769311905,
0.34484413266181946,
-0.6077656745910645,
0.1010875329375267,
0.06389248371124268,
-0.21767079830169678,
0.12051321566104889,
0.46833813190460205,
0.415796160697937,
0.6591917276382446,
-0.17506730556488037,
0.21219363808631897,
-0.2400778979063034,
0.175937682390213,
0.039271749556064606,
0.4470982551574707,
-0.43931499123573303,
0.10473589599132538,
-0.021295160055160522,
0.5094912648200989,
-0.30810290575027466,
0.08494354784488678,
-0.01684291660785675,
0.050335608422756195,
-0.6302134990692139,
-0.10791952162981033,
-0.18023693561553955,
-0.23558396100997925,
0.03260260075330734,
0.0933697372674942,
-0.39543721079826355,
-0.09330617636442184,
0.17121349275112152,
0.19456639885902405,
-0.10796550661325455,
0.03521867096424103,
-0.0028143986128270626,
0.2519630789756775,
0.11094142496585846,
0.25418829917907715,
-0.09645994007587433,
-0.26277852058410645,
-0.12196110188961029,
0.18415768444538116,
0.4801422953605652,
0.16201406717300415,
-0.3737297058105469,
-0.1257786601781845,
-0.2618635892868042,
0.5531376004219055,
0.09541098028421402,
-0.018013667315244675,
-0.13967905938625336,
-0.18165278434753418,
0.14949388802051544,
0.24129942059516907,
-0.013854168355464935,
-0.1032152995467186,
0.10231286287307739,
0.08138790726661682,
-0.4274158179759979,
-0.039994508028030396,
0.2872895300388336,
0.24181124567985535,
-0.13845601677894592,
-0.21249991655349731,
-0.14404568076133728,
0.19184310734272003,
-0.17563655972480774,
-0.1288081556558609,
-0.14680328965187073,
-0.21287550032138824,
0.09088416397571564,
0.32898056507110596,
0.43264177441596985,
-0.2566773295402527,
-0.13140487670898438,
0.19629830121994019,
-0.20690813660621643,
-0.4112575650215149,
0.3147008717060089,
0.6497873067855835,
-0.15449951589107513,
-0.11131758987903595,
0.4243467152118683,
-0.01710786297917366,
-0.19409635663032532,
-0.2493995875120163,
-0.28105828166007996,
0.31965363025665283,
0.13819363713264465,
0.3757879137992859,
0.27361342310905457,
-0.11911347508430481,
0.6205386519432068,
0.14511516690254211,
0.224765807390213,
-0.04008767008781433,
0.30684807896614075,
0.33409491181373596,
0.09840898215770721,
0.03815240412950516,
-0.28444716334342957,
-0.008840549737215042,
0.014115992933511734,
0.04289722442626953,
-0.3286452293395996,
-0.3495914041996002,
-0.3361418843269348,
-0.039498597383499146,
-0.08670021593570709,
0.04523283243179321,
0.31759142875671387,
0.15076985955238342,
0.03985337167978287,
-0.11941985785961151,
0.2671678960323334,
-0.022340331226587296,
0.5707200765609741,
-0.43991756439208984,
0.20596447587013245,
0.33818888664245605,
-0.10698460042476654,
0.14109444618225098,
0.6099763512611389,
0.34510958194732666,
0.1370181143283844,
-0.23325440287590027,
0.17777329683303833,
0.028363589197397232,
-0.12004243582487106,
0.08881654590368271,
0.2933045029640198,
0.008712686598300934,
-0.08139663934707642,
-0.10943186283111572,
0.08228325843811035,
0.00042296573519706726,
-0.07560467720031738,
0.04392156004905701,
-0.1299104392528534,
-0.04587788134813309,
0.3491315245628357,
0.4379180073738098,
-0.275896817445755,
0.17495830357074738,
0.2298220694065094,
-0.050557684153318405,
-0.5927068591117859,
0.38962727785110474,
-0.09849287569522858,
-0.06227930262684822,
-0.3427501320838928,
0.07060644030570984,
0.07386015355587006,
0.48474666476249695,
0.24327871203422546,
-0.09337504953145981,
-0.564595639705658,
-0.1231347844004631,
-0.5521076917648315,
0.10262835025787354,
-0.10352396965026855,
0.02649441920220852,
0.34256941080093384,
0.2297053337097168,
0.10695770382881165,
0.19803377985954285,
0.11474896967411041,
0.21358855068683624,
-0.24752914905548096,
0.5812002420425415,
-0.3756427466869354,
0.3197593688964844,
0.6331214308738708,
-0.08246912807226181,
-0.18248771131038666,
-0.28699278831481934,
0.39608216285705566,
0.06627285480499268,
0.02215723693370819,
0.1762295663356781,
-0.0941196009516716,
0.49407416582107544,
0.20282863080501556,
0.28330323100090027,
0.19538557529449463,
0.20543710887432098,
0.12990066409111023,
-0.1485220342874527,
0.2115967720746994,
0.13098067045211792,
-0.3453211784362793,
0.1887764185667038,
0.43347692489624023,
0.2838180959224701,
0.07854416221380234,
0.06254804879426956,
-0.15657246112823486,
-0.056872058659791946,
-0.22462844848632812,
0.12688441574573517,
-0.3179128170013428,
0.15174055099487305,
0.011304229497909546,
0.1591128557920456,
-0.02831079252064228,
0.13649317622184753,
-0.02343454211950302,
-0.05749795585870743,
-0.4359094500541687,
-0.3610144257545471,
0.3004021644592285,
-0.07042080909013748,
0.09932926297187805,
-0.09241407364606857,
0.34487879276275635,
0.16013959050178528,
-0.012224173173308372,
-0.7762942314147949,
-0.16852045059204102,
0.28507429361343384,
-0.1708775758743286,
0.2027856558561325,
0.11543695628643036,
0.03613532707095146,
0.21285410225391388,
-0.16388902068138123,
0.14270958304405212,
-0.17955172061920166,
0.10633313655853271,
-0.2669881582260132,
-0.3399227261543274
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | I like the idea of having the duplicate detection optional for other uses of the ArrowWriter.
This class is the main tool to write python data in arrow format so I'd expect it to be flexible.
That's why I think by default it shouldn't require users to provide keys or do any duplicates detection.
An alternative would be to subclass the writer to include duplicates detection in another class.
Both options are fine for me, let me know what you think ! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 82 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
I like the idea of having the duplicate detection optional for other uses of the ArrowWriter.
This class is the main tool to write python data in arrow format so I'd expect it to be flexible.
That's why I think by default it shouldn't require users to provide keys or do any duplicates detection.
An alternative would be to subclass the writer to include duplicates detection in another class.
Both options are fine for me, let me know what you think ! | [
0.014618072658777237,
0.019963502883911133,
0.020715605467557907,
0.16732504963874817,
-0.0242752805352211,
0.09998442977666855,
0.2370707094669342,
0.09159795939922333,
-0.21647925674915314,
0.06070065498352051,
0.36843544244766235,
0.35780274868011475,
-0.1733543574810028,
0.010471297428011894,
0.15757866203784943,
-0.12231405079364777,
0.014801688492298126,
0.21522411704063416,
0.21695585548877716,
0.022071607410907745,
-0.20247219502925873,
0.16823425889015198,
-0.09692321717739105,
0.12819534540176392,
-0.36781299114227295,
-0.15741541981697083,
-0.1143898069858551,
0.1408255696296692,
-0.30446234345436096,
-0.4916338324546814,
-0.027872856706380844,
0.41814032196998596,
-0.13863861560821533,
0.22842317819595337,
-0.00011297274613752961,
-0.07116301357746124,
0.255534827709198,
0.1316324919462204,
-0.2070237249135971,
0.016571559011936188,
-0.17845511436462402,
-0.09047834575176239,
0.09243118017911911,
-0.06507519632577896,
0.1968863308429718,
-0.5500210523605347,
-0.011960530653595924,
-0.05600474774837494,
0.6416313052177429,
-0.1143300011754036,
0.1703483760356903,
-0.0827486515045166,
0.5837158560752869,
0.09012919664382935,
0.21711072325706482,
0.19445522129535675,
-0.22579258680343628,
0.1291103959083557,
0.17164520919322968,
0.2499803900718689,
-0.1391201615333557,
0.4226880967617035,
0.27352163195610046,
-0.027782391756772995,
0.4297601878643036,
-0.08440166711807251,
0.2117963433265686,
-0.18070349097251892,
0.03677485138177872,
0.2179296612739563,
0.4215913712978363,
-0.32866236567497253,
-0.30796268582344055,
-0.1415328085422516,
-0.051010970026254654,
-0.20602771639823914,
0.393079549074173,
0.14127065241336823,
-0.2704830765724182,
-0.10410451889038086,
-0.22112992405891418,
-0.1498079001903534,
-0.21535298228263855,
-0.21629394590854645,
0.30308136343955994,
-0.12035757303237915,
0.163109689950943,
0.06482328474521637,
0.2659420073032379,
0.15289661288261414,
0.2900504767894745,
-0.23651912808418274,
-0.23399552702903748,
0.18829427659511566,
0.0352201946079731,
-0.2705785036087036,
-0.07815120369195938,
0.050326425582170486,
0.05725470185279846,
0.12933552265167236,
0.28562986850738525,
0.12552803754806519,
0.21415220201015472,
0.026734190061688423,
0.26079925894737244,
-0.04059818387031555,
0.2275134027004242,
0.274393767118454,
-0.01983296126127243,
-0.008710931986570358,
-0.12456431984901428,
-0.026986584067344666,
-0.028320420533418655,
-0.2890569269657135,
0.9245309829711914,
0.27677300572395325,
0.0374489426612854,
-0.19913624227046967,
0.22329062223434448,
0.302746057510376,
-0.37198030948638916,
-0.38620829582214355,
-0.08199334889650345,
0.04348081722855568,
0.14003169536590576,
0.08995403349399567,
-0.1084718108177185,
-0.12213677167892456,
-0.011229920201003551,
0.13608941435813904,
-0.0820682942867279,
0.02952246367931366,
-0.18859702348709106,
-0.107008196413517,
0.2891318202018738,
-0.1574331521987915,
0.059099502861499786,
0.2730013430118561,
-0.09003496170043945,
-0.13636241853237152,
0.2758057117462158,
0.04209680110216141,
0.28040066361427307,
0.04025331884622574,
-0.2893827557563782,
-0.09547744691371918,
-0.17202144861221313,
-0.09789495170116425,
-0.15154802799224854,
0.3364838659763336,
0.0077179670333862305,
-0.3902058005332947,
-0.16812589764595032,
0.19704964756965637,
-0.13501420617103577,
0.004071507602930069,
0.21118974685668945,
-0.09692305326461792,
0.022368237376213074,
0.01972929760813713,
0.22674207389354706,
0.205800861120224,
0.056297119706869125,
-0.23507000505924225,
-0.10705237835645676,
0.20344464480876923,
-0.30020672082901,
-0.07028301805257797,
-0.373183935880661,
-0.05391651764512062,
-0.03670915216207504,
0.0949508547782898,
-0.24564228951931,
0.3445890247821808,
-0.08931280672550201,
-0.004685491323471069,
0.5754828453063965,
-0.011201411485671997,
-0.16972482204437256,
0.22497248649597168,
0.021426953375339508,
0.06907682120800018,
0.52316814661026,
0.1833236962556839,
0.026582054793834686,
-0.19479899108409882,
0.015177126973867416,
-0.20774532854557037,
-0.34922271966934204,
-0.2824646830558777,
-0.3958892524242401,
-0.224893718957901,
-0.1763048768043518,
-0.10533787310123444,
0.03300220146775246,
-0.37777602672576904,
-0.044238485395908356,
-0.21255232393741608,
0.0872865542769432,
-0.22494640946388245,
-0.0025534373708069324,
-0.07429627329111099,
0.5352523922920227,
-0.22587545216083527,
-0.013493016362190247,
0.04620292782783508,
-0.14800837635993958,
0.19514673948287964,
-0.2378540337085724,
0.03116699866950512,
-0.20718564093112946,
-0.371551513671875,
0.009296700358390808,
0.09076844155788422,
-0.4282909631729126,
-0.18682843446731567,
0.08105026185512543,
-0.18015366792678833,
0.024093996733427048,
-0.13062305748462677,
-0.1334005445241928,
-0.19798077642917633,
-0.03350440040230751,
0.02486707828938961,
-0.09424473345279694,
-0.24838829040527344,
-0.18055622279644012,
0.08771590888500214,
-0.2772127687931061,
0.3140021562576294,
0.016397789120674133,
0.07258457690477371,
-0.0225193090736866,
0.2084425389766693,
0.09266191720962524,
0.09398011118173599,
0.04113474488258362,
0.27689361572265625,
0.052388016134500504,
-0.3968498408794403,
0.11695064604282379,
0.026611551642417908,
0.0833946168422699,
-0.10510790348052979,
-0.09548064321279526,
0.6230344176292419,
-0.2610401213169098,
-0.18488574028015137,
-0.07332222908735275,
-0.1455507129430771,
-0.20009247958660126,
-0.16697512567043304,
-0.1378902643918991,
-0.1917041391134262,
-0.042504142969846725,
-0.009658433496952057,
-0.07793033123016357,
0.36260831356048584,
0.01265881210565567,
0.06606384366750717,
0.22521093487739563,
-0.045180823653936386,
0.12847837805747986,
0.05506245046854019,
0.03439049422740936,
0.0327005572617054,
-0.04132237285375595,
0.5375444293022156,
0.2312668263912201,
0.14146602153778076,
0.09592556953430176,
0.1128854975104332,
0.08641613274812698,
-0.010716227814555168,
0.45463672280311584,
-0.12605002522468567,
-0.17843106389045715,
0.16866423189640045,
-0.3216283917427063,
0.09609916806221008,
-0.3810279965400696,
0.37403997778892517,
0.09042689949274063,
-0.014445999637246132,
-0.13134026527404785,
-0.14872287213802338,
0.041748762130737305,
0.15349513292312622,
-0.37628939747810364,
0.0804092139005661,
0.0035133883357048035,
-0.24825988709926605,
0.4123668670654297,
0.011626370251178741,
-0.16451707482337952,
0.010796531103551388,
-0.1310611367225647,
0.24381238222122192,
-0.20266175270080566,
-0.12979193031787872,
0.04280395805835724,
-0.1856948584318161,
-0.06744704395532608,
0.21607869863510132,
0.47972947359085083,
-0.06582215428352356,
0.6480204463005066,
0.07490816712379456,
0.03415339067578316,
-0.5339570045471191,
-0.38399964570999146,
-0.09268669784069061,
-0.11924734711647034,
-0.017550984397530556,
0.34657230973243713,
-0.16008274257183075,
-0.1840730905532837,
-0.405648797750473,
0.045280661433935165,
-0.3625069558620453,
-0.38280031085014343,
0.21734482049942017,
-0.11671469360589981,
0.04104636237025261,
-0.22194962203502655,
-0.20482438802719116,
0.07224876433610916,
-0.10059991478919983,
0.5816324353218079,
0.21712322533130646,
0.3766559958457947,
-0.0832279771566391,
0.11199356615543365,
-0.06998110562562943,
-0.07009617984294891,
-0.05171583592891693,
-0.10179112106561661,
-0.23031304776668549,
0.2460603415966034,
-0.09406179934740067,
-0.12809708714485168,
0.3221796452999115,
-0.27145588397979736,
0.12772154808044434,
-0.08769381791353226,
-0.2327195405960083,
-0.1445893496274948,
-0.07900762557983398,
0.47820788621902466,
0.11374974995851517,
0.3845028281211853,
0.21192044019699097,
0.49747344851493835,
-0.18346856534481049,
0.011739913374185562,
0.15607042610645294,
0.1728491187095642,
-0.2280009388923645,
0.2922331392765045,
0.01578882522881031,
0.2277851104736328,
-0.11084935069084167,
0.889752984046936,
0.4458853304386139,
-0.0034985169768333435,
0.10842322558164597,
0.18427346646785736,
0.13641603291034698,
-0.06587281078100204,
-0.23743431270122528,
-0.1901428997516632,
-0.17471209168434143,
-0.04740013927221298,
-0.03102414309978485,
-0.09908860176801682,
0.11007340997457504,
0.11982393264770508,
0.09822742640972137,
-0.3475895822048187,
-0.44487378001213074,
0.36540937423706055,
-0.5229052305221558,
0.12502162158489227,
-0.33265966176986694,
-0.11681023240089417,
-0.18623273074626923,
-0.046696729958057404,
0.11311611533164978,
0.0900699719786644,
0.27962514758110046,
-0.20085477828979492,
0.052313175052404404,
-0.023954417556524277,
-0.16222861409187317,
0.30522945523262024,
0.1293725073337555,
0.09418293088674545,
0.0570465587079525,
-0.07379908859729767,
0.19587092101573944,
-0.0678441971540451,
0.36647990345954895,
-0.5486109256744385,
-0.034543879330158234,
0.006537755951285362,
-0.01543722115457058,
0.14702126383781433,
-0.07014891505241394,
-0.10946130007505417,
0.33542394638061523,
-0.3424219787120819,
-0.13335435092449188,
-0.42588040232658386,
0.04997170716524124,
0.2696727514266968,
-0.13709862530231476,
-0.06376133859157562,
-0.2622857093811035,
-0.27114447951316833,
0.01641564443707466,
-0.1978982388973236,
0.15745848417282104,
0.17512746155261993,
0.06499186903238297,
-0.2272111475467682,
0.1483650654554367,
-0.05125591158866882,
0.06744883209466934,
0.3194092810153961,
-0.033933937549591064,
0.19842496514320374,
-0.20150229334831238,
0.18927504122257233,
0.024640824645757675,
-0.2908570468425751,
0.01415337435901165,
0.5422800779342651,
-0.03192118927836418,
-0.17179709672927856,
-0.2435133159160614,
-0.26743242144584656,
0.1327820122241974,
0.3914504051208496,
-0.1104896068572998,
0.30366456508636475,
0.16180069744586945,
-0.10922957956790924,
-0.18458041548728943,
-0.5815451741218567,
0.12932878732681274,
0.06927454471588135,
-0.1951627880334854,
-0.1724412888288498,
0.21126997470855713,
0.16578492522239685,
-0.1905043125152588,
0.5319148302078247,
0.30102434754371643,
-0.2601313591003418,
0.23663204908370972,
0.32330769300460815,
1.0375075340270996,
0.12962615489959717,
0.05318670719861984,
-0.2869322896003723,
-0.4103643298149109,
0.0005713093560189009,
0.06361939758062363,
-0.07909812033176422,
-0.3502162992954254,
0.10573577135801315,
-0.1777767390012741,
-0.13163115084171295,
0.33032679557800293,
0.01962083950638771,
-0.36464792490005493,
-0.03500983491539955,
-0.03735317289829254,
0.11379499733448029,
0.08486215770244598,
0.4896668791770935,
-0.5648860931396484,
0.15994404256343842,
0.20813500881195068,
0.060134440660476685,
0.31810206174850464,
-0.18721340596675873,
-0.1345004439353943,
-0.36030566692352295,
0.14784885942935944,
-0.4779231548309326,
-0.4515647292137146,
-0.28764986991882324,
-0.3424554169178009,
0.11198017746210098,
0.2157381922006607,
-0.20078426599502563,
0.5344828367233276,
-0.09067459404468536,
0.5643988251686096,
0.06675414741039276,
-0.06229837238788605,
0.04578050598502159,
0.3632623255252838,
0.24688713252544403,
-0.1472412496805191,
-0.19213049113750458,
0.2693146765232086,
-0.07900457084178925,
-0.16253648698329926,
0.03172774612903595,
-0.17401087284088135,
-0.4195895791053772,
0.015469446778297424,
-0.04136710613965988,
-0.03933589160442352,
-0.28584152460098267,
0.14172635972499847,
-0.14014838635921478,
-0.5557656288146973,
-0.15503861010074615,
0.13489368557929993,
0.18069803714752197,
-0.28741946816444397,
0.14861778914928436,
-0.2297162264585495,
0.10015401244163513,
0.1175910234451294,
-0.21707794070243835,
0.31199562549591064,
0.22313690185546875,
0.28971830010414124,
-0.099148690700531,
-0.04256872460246086,
-0.3861572742462158,
0.09986419230699539,
0.3664456307888031,
-0.5579124689102173,
0.08942412585020065,
0.1003890335559845,
-0.13516740500926971,
0.08517519384622574,
0.4484190344810486,
0.3931658864021301,
0.6051455736160278,
-0.18039356172084808,
0.1323290318250656,
-0.2776797413825989,
0.11651784181594849,
0.15878087282180786,
0.40647265315055847,
-0.49413183331489563,
0.21522608399391174,
0.10202532261610031,
0.4683743417263031,
-0.3592323362827301,
0.0738864615559578,
-0.04668962210416794,
0.05303216353058815,
-0.4814906418323517,
-0.11341895908117294,
-0.03849601373076439,
-0.12671925127506256,
0.07838576287031174,
0.138724684715271,
-0.43098708987236023,
-0.15944409370422363,
0.11029860377311707,
0.14728353917598724,
-0.010788362473249435,
0.012090271338820457,
0.03372631222009659,
0.22853045165538788,
0.10712046921253204,
0.24747121334075928,
-0.07468442618846893,
-0.19187793135643005,
-0.09623104333877563,
0.24827326834201813,
0.3936159014701843,
0.1361197829246521,
-0.40063172578811646,
-0.24798434972763062,
-0.3596865236759186,
0.49649232625961304,
0.08737293630838394,
-0.07919657975435257,
-0.013440272770822048,
-0.11200883984565735,
0.12541374564170837,
0.25030380487442017,
0.04134296998381615,
-0.1701093316078186,
0.059508342295885086,
-0.009122312068939209,
-0.4429570138454437,
-0.10220295935869217,
0.31767457723617554,
0.281332790851593,
-0.12245260179042816,
-0.1611597239971161,
-0.20953142642974854,
0.23347240686416626,
-0.17398793995380402,
-0.10801288485527039,
-0.09345875680446625,
-0.19564305245876312,
0.1656208336353302,
0.3402364253997803,
0.3169059157371521,
-0.1735316812992096,
-0.2027135044336319,
0.16021883487701416,
-0.2276138961315155,
-0.4334862232208252,
0.26018646359443665,
0.5590395331382751,
-0.11434519290924072,
-0.10233579576015472,
0.4569152295589447,
-0.06634190678596497,
-0.15279421210289001,
-0.22064270079135895,
-0.25775113701820374,
0.3485718369483948,
0.16165791451931,
0.28172966837882996,
0.2128066122531891,
-0.05765387415885925,
0.640798032283783,
0.02177433669567108,
0.2059914469718933,
0.043287038803100586,
0.32230472564697266,
0.3746929466724396,
0.06278037279844284,
0.029464449733495712,
-0.2997780740261078,
-0.0020742975175380707,
-0.09823731333017349,
-0.004638940095901489,
-0.23133045434951782,
-0.2963952124118805,
-0.2887888252735138,
-0.08622188866138458,
-0.02492937073111534,
-0.03360793739557266,
0.3544674217700958,
0.17160764336585999,
0.10695495456457138,
-0.11954237520694733,
0.2291773557662964,
-0.011046350002288818,
0.6890104413032532,
-0.4304087162017822,
0.0733732208609581,
0.34478455781936646,
-0.11638948321342468,
0.04607626050710678,
0.5313922166824341,
0.401534765958786,
0.0097819734364748,
-0.24407121539115906,
0.2084079533815384,
0.011548703536391258,
-0.1624748557806015,
0.09291733801364899,
0.3240692615509033,
0.03032122552394867,
0.003934776410460472,
-0.06450505554676056,
0.13005207479000092,
-0.050674520432949066,
-0.08561758697032928,
0.0438801534473896,
-0.1995484083890915,
-0.1358477771282196,
0.3478488624095917,
0.24067871272563934,
-0.38633447885513306,
0.0850452333688736,
0.2965678870677948,
-0.06984187662601471,
-0.5964429378509521,
0.45848873257637024,
-0.01563146524131298,
-0.08179543912410736,
-0.42780548334121704,
0.10185199975967407,
0.18803977966308594,
0.4753192663192749,
0.30223095417022705,
-0.057911209762096405,
-0.5389342904090881,
0.01860085129737854,
-0.5645807981491089,
0.10494181513786316,
-0.20671847462654114,
-0.029134565964341164,
0.3210093379020691,
0.19852280616760254,
0.1463724821805954,
0.3077230453491211,
0.05774753540754318,
0.3137679994106293,
-0.21308572590351105,
0.5158041715621948,
-0.3387302756309509,
0.2773042321205139,
0.6506991982460022,
-0.1779770404100418,
-0.10914655774831772,
-0.36382630467414856,
0.32506582140922546,
-0.09912582486867905,
0.10387559980154037,
0.08106014132499695,
-0.11722570657730103,
0.47611892223358154,
0.23292973637580872,
0.34455424547195435,
0.22115559875965118,
0.1700819432735443,
0.11132592707872391,
-0.19609174132347107,
0.2171582728624344,
0.16250446438789368,
-0.3608200252056122,
0.24619439244270325,
0.3954628109931946,
0.3465126156806946,
0.06399451941251755,
0.027878474444150925,
-0.08628228306770325,
0.02256050333380699,
-0.22127361595630646,
-0.011793330311775208,
-0.26555395126342773,
0.20096568763256073,
-0.033641036599874496,
0.2277442216873169,
-0.04670926555991173,
0.15057139098644257,
-0.07844538986682892,
-0.10728178173303604,
-0.40165138244628906,
-0.42797157168388367,
0.22157245874404907,
-0.13856258988380432,
0.032675791531801224,
-0.018842192366719246,
0.286115825176239,
0.09005893766880035,
0.059156447649002075,
-0.8194166421890259,
-0.08202128112316132,
0.2259078174829483,
-0.13851559162139893,
0.0891360342502594,
0.18066683411598206,
0.011856719851493835,
0.1263331174850464,
-0.10543601214885712,
0.1837039589881897,
-0.2715964615345001,
0.12846127152442932,
-0.20830754935741425,
-0.3895765542984009
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | > This class is the main tool to write python data in arrow format so I'd expect it to be flexible.
> That's why I think by default it shouldn't require users to provide keys or do any duplicates detection.
Well, that makes sense as the writer can indeed be used for other purposes as well.
> We can definitely do that by including a `check_duplicates` argument while instantiating `ArrowWriter()`.
I think that this would be the simplest and the more efficient option for achieving this as subclassing the writer only for this would lead to unnecessary complexity and code duplication (in case of `writer()`).
I will be adding the changes soon. Thanks for the feedback @lhoestq! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 117 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
> This class is the main tool to write python data in arrow format so I'd expect it to be flexible.
> That's why I think by default it shouldn't require users to provide keys or do any duplicates detection.
Well, that makes sense as the writer can indeed be used for other purposes as well.
> We can definitely do that by including a `check_duplicates` argument while instantiating `ArrowWriter()`.
I think that this would be the simplest and the more efficient option for achieving this as subclassing the writer only for this would lead to unnecessary complexity and code duplication (in case of `writer()`).
I will be adding the changes soon. Thanks for the feedback @lhoestq! | [
-0.013063039630651474,
0.03156614303588867,
-0.0041078850626945496,
0.22598351538181305,
0.060711540281772614,
0.05906268209218979,
0.21026688814163208,
0.14259086549282074,
-0.22215580940246582,
0.027497634291648865,
0.3031025826931,
0.40341371297836304,
-0.19562409818172455,
0.06911063939332962,
0.20744360983371735,
-0.19242796301841736,
0.03268851339817047,
0.2189672589302063,
0.17213478684425354,
0.002808965742588043,
-0.192123144865036,
0.10563681274652481,
-0.01723363623023033,
0.14722734689712524,
-0.36749354004859924,
-0.23722562193870544,
-0.15353606641292572,
0.18501287698745728,
-0.31666243076324463,
-0.5428211688995361,
-0.013583486899733543,
0.3576224744319916,
-0.13516107201576233,
0.2797413170337677,
-0.00011164761963300407,
-0.1009640097618103,
0.24809777736663818,
0.1282740980386734,
-0.23872384428977966,
-0.008817881345748901,
-0.2414114773273468,
-0.18925346434116364,
0.02077086642384529,
-0.10449422895908356,
0.1517530381679535,
-0.6041545271873474,
-0.0399085134267807,
-0.10717040300369263,
0.6681797504425049,
-0.08353569358587265,
0.18555697798728943,
-0.13822373747825623,
0.5941884517669678,
0.03304396942257881,
0.25266021490097046,
0.18010306358337402,
-0.19172623753547668,
0.1359768509864807,
0.14855694770812988,
0.2989750802516937,
-0.11977478116750717,
0.3422422409057617,
0.264535129070282,
-0.09084026515483856,
0.41911962628364563,
-0.0863388255238533,
0.2060110867023468,
-0.22720754146575928,
0.062039852142333984,
0.19603613018989563,
0.4367139935493469,
-0.3552438020706177,
-0.3245067596435547,
-0.0771915540099144,
-0.07738339155912399,
-0.21896643936634064,
0.3440414369106293,
0.22444434463977814,
-0.30459630489349365,
-0.11250928044319153,
-0.19793091714382172,
-0.10353747010231018,
-0.2690277099609375,
-0.17131337523460388,
0.35144686698913574,
-0.08155672252178192,
0.15403138101100922,
0.06317035853862762,
0.26774030923843384,
0.09887977689504623,
0.25906145572662354,
-0.27112001180648804,
-0.26135531067848206,
0.18822209537029266,
0.026622474193572998,
-0.24661286175251007,
-0.11801860481500626,
0.03595282882452011,
0.0992521122097969,
0.14999991655349731,
0.20918700098991394,
0.13381719589233398,
0.18939584493637085,
-0.006456397473812103,
0.21558430790901184,
-0.05825716629624367,
0.2687988579273224,
0.2445814460515976,
-0.05564580112695694,
-0.07270507514476776,
-0.16504508256912231,
-0.03459002822637558,
-0.04908349737524986,
-0.3071988821029663,
0.8746581077575684,
0.3271772563457489,
0.0006963722407817841,
-0.16239134967327118,
0.3056372404098511,
0.32691091299057007,
-0.29413270950317383,
-0.35916009545326233,
-0.06164960935711861,
0.08133187144994736,
0.13392704725265503,
0.0406109020113945,
-0.12002506107091904,
-0.1137990802526474,
0.0008076075464487076,
0.12894733250141144,
-0.0882904902100563,
0.044663205742836,
-0.25421586632728577,
-0.11332330852746964,
0.2390090674161911,
-0.1771388202905655,
0.018311234191060066,
0.26843157410621643,
-0.10536226630210876,
-0.1436513513326645,
0.26185861229896545,
0.018900638446211815,
0.3261730372905731,
0.04937898367643356,
-0.28070488572120667,
-0.06616471707820892,
-0.18450644612312317,
-0.10354921966791153,
-0.19095885753631592,
0.31432124972343445,
0.04958375543355942,
-0.42724907398223877,
-0.18151868879795074,
0.20835793018341064,
-0.13014063239097595,
0.08125238865613937,
0.1830674558877945,
-0.11347699165344238,
0.017642654478549957,
0.030611854046583176,
0.2247891128063202,
0.20277485251426697,
0.09798388183116913,
-0.3118794560432434,
-0.028058376163244247,
0.1817672848701477,
-0.3147416412830353,
-0.00507788360118866,
-0.33595582842826843,
-0.06090446189045906,
-0.013732470571994781,
0.08281051367521286,
-0.19224967062473297,
0.3010476231575012,
-0.04698190093040466,
0.003073453903198242,
0.5890834331512451,
0.04909319058060646,
-0.15643176436424255,
0.22578954696655273,
0.03934428095817566,
-0.0027236100286245346,
0.5022583603858948,
0.1599092334508896,
0.11309437453746796,
-0.17362701892852783,
-0.008924946188926697,
-0.18341054022312164,
-0.33156004548072815,
-0.23224541544914246,
-0.37167102098464966,
-0.19608372449874878,
-0.19532151520252228,
-0.1563325673341751,
0.03215546905994415,
-0.3639052212238312,
0.025389015674591064,
-0.23224607110023499,
0.044542353600263596,
-0.2487473487854004,
0.022663390263915062,
-0.06400459259748459,
0.5352233052253723,
-0.22054512798786163,
-0.00860049668699503,
0.014258172363042831,
-0.15110936760902405,
0.19223466515541077,
-0.27451038360595703,
0.057088326662778854,
-0.2627444863319397,
-0.3406945466995239,
-0.08122952282428741,
0.1296987682580948,
-0.3824232816696167,
-0.14416417479515076,
0.09126845747232437,
-0.1319168359041214,
0.10139042139053345,
-0.11609451472759247,
-0.17831923067569733,
-0.20287753641605377,
-0.06351938098669052,
0.003373302984982729,
-0.129409521818161,
-0.22705209255218506,
-0.1783483475446701,
0.012107876129448414,
-0.2873050570487976,
0.3277326822280884,
0.018310129642486572,
0.1035827025771141,
-0.033617228269577026,
0.21784955263137817,
0.0923067033290863,
0.08290516585111618,
0.07158944010734558,
0.33189088106155396,
0.07985435426235199,
-0.4101669192314148,
0.2026013880968094,
-0.026155732572078705,
0.09368753433227539,
-0.0924033597111702,
-0.06731725484132767,
0.62785404920578,
-0.2700129747390747,
-0.17148196697235107,
-0.06421807408332825,
-0.12443391978740692,
-0.17817232012748718,
-0.10205848515033722,
-0.13437587022781372,
-0.1544223129749298,
-0.08145102858543396,
-0.03342219814658165,
-0.05864706635475159,
0.31760475039482117,
0.030231855809688568,
0.1459958404302597,
0.26674216985702515,
-0.10005457699298859,
0.13052809238433838,
0.04837139695882797,
0.0403582863509655,
0.009690601378679276,
-0.050641000270843506,
0.5472533106803894,
0.19167843461036682,
0.11877044290304184,
0.11504774540662766,
0.10423335433006287,
0.12124237418174744,
-0.006086257286369801,
0.4777570068836212,
-0.13382881879806519,
-0.16799166798591614,
0.17193567752838135,
-0.3409154713153839,
0.07193925231695175,
-0.2766473889350891,
0.36073073744773865,
0.0971621423959732,
0.06816872209310532,
-0.10670650005340576,
-0.11633607000112534,
0.040762364864349365,
0.15478217601776123,
-0.38905417919158936,
-0.05730292573571205,
-0.026218630373477936,
-0.24187567830085754,
0.33037465810775757,
-0.07772660255432129,
-0.17749358713626862,
0.05411422997713089,
-0.11653700470924377,
0.24940171837806702,
-0.12704087793827057,
-0.07400628179311752,
-0.014826085418462753,
-0.25309067964553833,
-0.04661586880683899,
0.2000357210636139,
0.46749189496040344,
-0.052903711795806885,
0.6188434362411499,
0.028153492137789726,
0.07425743341445923,
-0.4734210669994354,
-0.331435889005661,
-0.1245732307434082,
-0.14381392300128937,
0.02848689816892147,
0.3738964796066284,
-0.08065521717071533,
-0.18208585679531097,
-0.434237003326416,
0.11791157722473145,
-0.4016113579273224,
-0.3766598403453827,
0.1994931548833847,
-0.09209224581718445,
0.03974245861172676,
-0.21069635450839996,
-0.22230765223503113,
-0.021012628450989723,
-0.16186819970607758,
0.5910251140594482,
0.21027125418186188,
0.43058037757873535,
-0.10795732587575912,
0.16318640112876892,
-0.025910910218954086,
-0.04257946088910103,
-0.007466161623597145,
-0.09873660653829575,
-0.2593279778957367,
0.23583881556987762,
-0.15295813977718353,
-0.1355304718017578,
0.31563904881477356,
-0.3092178702354431,
0.11096109449863434,
-0.08536217361688614,
-0.15468132495880127,
-0.07796024531126022,
-0.09462586045265198,
0.49509841203689575,
0.13126817345619202,
0.4279375672340393,
0.13167566061019897,
0.4921007752418518,
-0.16347281634807587,
-0.022031543776392937,
0.13595986366271973,
0.12221319228410721,
-0.25461462140083313,
0.23845148086547852,
0.05072581022977829,
0.2490469515323639,
-0.1468338966369629,
0.892045795917511,
0.38244032859802246,
-0.05858571454882622,
0.05143672972917557,
0.16784588992595673,
0.13567793369293213,
-0.0741482600569725,
-0.23571446537971497,
-0.20049802958965302,
-0.1350577473640442,
-0.048041991889476776,
0.008165687322616577,
-0.07338020205497742,
0.13263730704784393,
0.14855974912643433,
0.09258897602558136,
-0.34591159224510193,
-0.4042178988456726,
0.4749302864074707,
-0.5412237048149109,
0.14331211149692535,
-0.40101730823516846,
-0.12140430510044098,
-0.23368561267852783,
0.013658570125699043,
0.08567017316818237,
0.06541129946708679,
0.24676701426506042,
-0.19433332979679108,
0.02433650568127632,
-0.033007748425006866,
-0.20647400617599487,
0.35697245597839355,
0.16023796796798706,
0.06922319531440735,
0.056693900376558304,
-0.08212295174598694,
0.19810113310813904,
-0.05125325545668602,
0.3756212592124939,
-0.5211185812950134,
-0.03350633382797241,
0.018318142741918564,
-0.06659387052059174,
0.14628814160823822,
-0.02097172476351261,
-0.11670607328414917,
0.32650357484817505,
-0.3700961768627167,
-0.09617383778095245,
-0.48170655965805054,
-0.022153519093990326,
0.2469545602798462,
-0.14054811000823975,
-0.07316569238901138,
-0.2361249178647995,
-0.204469233751297,
-0.04812736064195633,
-0.16587087512016296,
0.1646193563938141,
0.15621094405651093,
0.11454648524522781,
-0.2666528820991516,
0.13733626902103424,
-0.029003387317061424,
0.14086514711380005,
0.3248080015182495,
-0.053420450538396835,
0.23992088437080383,
-0.20278726518154144,
0.1552538424730301,
-0.004167526960372925,
-0.26575979590415955,
0.0394112765789032,
0.48240789771080017,
-0.0852850079536438,
-0.09858156740665436,
-0.20856067538261414,
-0.24150995910167694,
0.17433997988700867,
0.3752546012401581,
-0.11346493661403656,
0.2822664678096771,
0.1782892346382141,
-0.09770053625106812,
-0.2021418809890747,
-0.5667957663536072,
0.13137125968933105,
0.07851506024599075,
-0.20995359122753143,
-0.2906810939311981,
0.2382473647594452,
0.17663909494876862,
-0.17381587624549866,
0.48069483041763306,
0.2690734267234802,
-0.25231069326400757,
0.28522682189941406,
0.3999791443347931,
1.0956004858016968,
0.08212466537952423,
0.04369795322418213,
-0.2591228783130646,
-0.41827499866485596,
0.03594990074634552,
0.042815402150154114,
-0.11209306120872498,
-0.42908114194869995,
0.11190104484558105,
-0.11691407114267349,
-0.14830249547958374,
0.3201886713504791,
0.06715195626020432,
-0.34977445006370544,
-0.08160940557718277,
-0.0935903936624527,
0.08094313740730286,
0.08127500861883163,
0.46551579236984253,
-0.5984506607055664,
0.09960803389549255,
0.11186256259679794,
0.08192925900220871,
0.2435949146747589,
-0.23520556092262268,
-0.13752532005310059,
-0.3905159831047058,
0.0762968361377716,
-0.4057338833808899,
-0.46751898527145386,
-0.23773854970932007,
-0.3157843053340912,
0.09876909852027893,
0.19511140882968903,
-0.2087368369102478,
0.46263474225997925,
-0.09754952788352966,
0.5807490944862366,
0.10180561244487762,
-0.0015569142997264862,
0.027800409123301506,
0.35776588320732117,
0.23801204562187195,
-0.0782732143998146,
-0.20034773647785187,
0.27667930722236633,
-0.08568958938121796,
-0.18398579955101013,
0.06220009922981262,
-0.16831791400909424,
-0.36510562896728516,
-0.019218578934669495,
-0.05415302515029907,
-0.06066703796386719,
-0.3246639668941498,
0.10549835860729218,
-0.16491550207138062,
-0.5828893780708313,
-0.10178864747285843,
0.15090692043304443,
0.21550655364990234,
-0.3844464123249054,
0.22691893577575684,
-0.23602275550365448,
0.07174554467201233,
0.1417163461446762,
-0.27844610810279846,
0.32392072677612305,
0.25612714886665344,
0.28776273131370544,
-0.03289102017879486,
-0.06136401742696762,
-0.3967787027359009,
0.0810438022017479,
0.34512367844581604,
-0.559512197971344,
0.13274681568145752,
0.07739438861608505,
-0.14454180002212524,
0.09550731629133224,
0.42020684480667114,
0.38826942443847656,
0.6297915577888489,
-0.14369620382785797,
0.08575163781642914,
-0.3151874244213104,
0.1698988676071167,
0.1613823026418686,
0.4174894094467163,
-0.4885901212692261,
0.13811008632183075,
0.05555156618356705,
0.4947070777416229,
-0.37257206439971924,
0.054784975945949554,
-0.038464248180389404,
0.08250024169683456,
-0.4813639223575592,
-0.16420456767082214,
-0.034612368792295456,
-0.10701470077037811,
0.07446780800819397,
0.12338755279779434,
-0.46769970655441284,
-0.1580137014389038,
0.1377144604921341,
0.15145455300807953,
-0.02797554060816765,
-0.0001985263079404831,
0.01133738737553358,
0.22144253551959991,
0.10335148870944977,
0.22522489726543427,
-0.039520010352134705,
-0.13982665538787842,
-0.12929058074951172,
0.22627627849578857,
0.39267951250076294,
0.17376300692558289,
-0.4106708765029907,
-0.1795898675918579,
-0.29232215881347656,
0.48038530349731445,
0.07498864084482193,
-0.039717353880405426,
-0.07014334201812744,
-0.14089173078536987,
0.1390182226896286,
0.24710732698440552,
0.06333485245704651,
-0.14566627144813538,
0.18962758779525757,
-0.004099547863006592,
-0.4143216907978058,
-0.07978871464729309,
0.3501611649990082,
0.26717889308929443,
-0.10836005210876465,
-0.1140831708908081,
-0.1680556833744049,
0.24444390833377838,
-0.09915120154619217,
-0.06042209267616272,
-0.08625733852386475,
-0.2141868621110916,
0.1379307061433792,
0.3456008732318878,
0.30054694414138794,
-0.18297889828681946,
-0.26346009969711304,
0.14779910445213318,
-0.1951299011707306,
-0.38950109481811523,
0.2977098822593689,
0.5816422700881958,
-0.1087619811296463,
-0.0796399861574173,
0.4603276252746582,
-0.019355691969394684,
-0.13793489336967468,
-0.24286247789859772,
-0.2687476873397827,
0.3746151626110077,
0.2145519256591797,
0.21624867618083954,
0.26039037108421326,
-0.08729654550552368,
0.5942878723144531,
0.028353393077850342,
0.20916184782981873,
0.08316445350646973,
0.2510785162448883,
0.43491658568382263,
0.030566643923521042,
-0.03998975455760956,
-0.23654340207576752,
0.06720278412103653,
-0.10427815467119217,
-0.0037991320714354515,
-0.2721301317214966,
-0.27460718154907227,
-0.30790990591049194,
-0.10314992070198059,
-0.06019699200987816,
-0.0586792528629303,
0.339657187461853,
0.2044166922569275,
0.16060759127140045,
-0.09064798057079315,
0.2116880714893341,
0.0020220279693603516,
0.6473885178565979,
-0.4117649793624878,
0.15490178763866425,
0.3499211072921753,
-0.10834014415740967,
0.003615349531173706,
0.4576449990272522,
0.4458707869052887,
0.0790090411901474,
-0.2873333692550659,
0.2545022666454315,
0.034320276230573654,
-0.13663654029369354,
0.14224115014076233,
0.34284767508506775,
0.050038762390613556,
0.001449868083000183,
-0.04711182415485382,
0.15757869184017181,
-0.08229038864374161,
-0.09787291288375854,
0.03171535208821297,
-0.1652296632528305,
-0.04868577420711517,
0.32028937339782715,
0.22835005819797516,
-0.41530123353004456,
0.08972887694835663,
0.27439364790916443,
-0.09679940342903137,
-0.6224384307861328,
0.46892422437667847,
-0.014511237852275372,
-0.07826469093561172,
-0.4405974745750427,
0.11003094911575317,
0.17134326696395874,
0.5835637450218201,
0.2818036377429962,
-0.00675906240940094,
-0.5373165607452393,
0.005966059863567352,
-0.4680940806865692,
0.057160884141922,
-0.16180314123630524,
-0.06056278198957443,
0.23321455717086792,
0.18411558866500854,
0.17185954749584198,
0.2904815077781677,
0.0880642980337143,
0.2728121280670166,
-0.22398458421230316,
0.5280489921569824,
-0.36407768726348877,
0.2941761016845703,
0.5728188753128052,
-0.12056463956832886,
-0.10317462682723999,
-0.35026413202285767,
0.292727530002594,
-0.05549159273505211,
0.10825876146554947,
0.1311020851135254,
-0.15528130531311035,
0.5017732381820679,
0.15669167041778564,
0.33237653970718384,
0.21184687316417694,
0.2186623066663742,
0.10336647182703018,
-0.21283487975597382,
0.1890784353017807,
0.10083922743797302,
-0.30849969387054443,
0.29343876242637634,
0.3814393877983093,
0.36769115924835205,
0.11485319584608078,
0.05548267066478729,
-0.14443399012088776,
0.019816046580672264,
-0.2695491909980774,
-0.010967694222927094,
-0.20207197964191437,
0.14795157313346863,
-0.0683339461684227,
0.14300724864006042,
0.013062157668173313,
0.16447724401950836,
-0.05285336822271347,
-0.03650273382663727,
-0.4164559841156006,
-0.4078128933906555,
0.26562249660491943,
-0.12451508641242981,
-0.05028090626001358,
-0.03412383794784546,
0.275410532951355,
0.13118109107017517,
0.09579400718212128,
-0.7677568197250366,
-0.051856715232133865,
0.20220431685447693,
-0.1475270688533783,
0.12280197441577911,
0.12976379692554474,
-0.008342714980244637,
0.13223323225975037,
-0.10484209656715393,
0.18351775407791138,
-0.2647170126438141,
0.1317586600780487,
-0.2651046812534332,
-0.40417927503585815
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | @lhoestq I have pushed the final changes just now.
Now, the keys and duplicate checking will be necessary only when the `ArrowWriter` is initialized with `check_duplicates=True` specifically (in this case, for `GeneratorBasedBuilders`)
Let me know if this is what was required. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 42 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
@lhoestq I have pushed the final changes just now.
Now, the keys and duplicate checking will be necessary only when the `ArrowWriter` is initialized with `check_duplicates=True` specifically (in this case, for `GeneratorBasedBuilders`)
Let me know if this is what was required. Thanks! | [
-0.22042642533779144,
0.1326548159122467,
-0.03455108031630516,
0.2354397028684616,
0.03755209594964981,
-0.02357964590191841,
0.1225849837064743,
0.16509704291820526,
-0.3205413222312927,
0.15525060892105103,
0.26578354835510254,
0.44683870673179626,
-0.09191755205392838,
0.029443467035889626,
0.20694702863693237,
-0.08938638865947723,
0.10064235329627991,
0.22804784774780273,
0.12535881996154785,
0.03425467759370804,
-0.2615300416946411,
0.21651802957057953,
-0.043943893164396286,
0.09881909936666489,
-0.36244475841522217,
-0.20377610623836517,
-0.12431115657091141,
0.2316732406616211,
-0.3245786130428314,
-0.4891844689846039,
-0.10501821339130402,
0.3717733919620514,
-0.1974940299987793,
0.2325662076473236,
-0.00011166406329721212,
-0.04099833965301514,
0.3083891272544861,
0.1676865518093109,
-0.3611263632774353,
0.12917804718017578,
-0.29602667689323425,
-0.09152372926473618,
-0.1440872699022293,
0.00451207160949707,
0.20459645986557007,
-0.47827959060668945,
-0.04139520972967148,
-0.07663440704345703,
0.5454007983207703,
-0.03589066490530968,
0.20278939604759216,
-0.13445095717906952,
0.6739985346794128,
-0.10657091438770294,
0.23861739039421082,
0.1864708662033081,
-0.20662619173526764,
0.008507129736244678,
0.1611478328704834,
0.2799893319606781,
-0.13221579790115356,
0.40858060121536255,
0.3216944634914398,
0.04140447825193405,
0.4082222282886505,
-0.07925102114677429,
0.1492871344089508,
-0.1083005964756012,
0.18001338839530945,
0.2557902932167053,
0.472745418548584,
-0.2478756308555603,
-0.25583311915397644,
-0.0762823075056076,
-0.1255195438861847,
-0.21394027769565582,
0.4018910527229309,
0.0513860359787941,
-0.2427399456501007,
-0.188507080078125,
-0.24949227273464203,
-0.13425086438655853,
-0.1854381263256073,
-0.34276527166366577,
0.12630824744701385,
-0.017063312232494354,
0.17010195553302765,
0.015633825212717056,
0.3573399782180786,
0.010538069531321526,
0.2673468291759491,
-0.23626574873924255,
-0.39305251836776733,
0.040151819586753845,
-0.003932047635316849,
-0.26104286313056946,
-0.06551282852888107,
0.19038820266723633,
0.22055557370185852,
0.042024459689855576,
0.17310310900211334,
0.1483033001422882,
0.15493474900722504,
-0.011891961097717285,
0.23337285220623016,
0.021685916930437088,
0.2551111578941345,
0.18180283904075623,
-0.002739138901233673,
0.010538483038544655,
-0.24245038628578186,
-0.01689533144235611,
-0.06191585585474968,
-0.3993723690509796,
0.7155296206474304,
0.318719744682312,
-0.06704559922218323,
-0.23774008452892303,
0.21592408418655396,
0.2974064350128174,
-0.10465071350336075,
-0.3096437156200409,
-0.038640111684799194,
0.15638467669487,
0.12270684540271759,
-0.04005218297243118,
-0.12446443736553192,
-0.21340280771255493,
-0.07355202734470367,
-0.04821677505970001,
-0.1496076136827469,
-0.0005787145346403122,
-0.2735133469104767,
-0.10911976546049118,
0.27731895446777344,
-0.10560134053230286,
0.046634286642074585,
0.25872740149497986,
-0.11464761197566986,
-0.03886710852384567,
0.15359464287757874,
-0.005983073264360428,
0.24444368481636047,
0.050548091530799866,
-0.18921850621700287,
-0.05576961487531662,
-0.241027370095253,
-0.14603693783283234,
-0.13546372950077057,
0.2624059021472931,
0.09563127160072327,
-0.4284011721611023,
-0.16003333032131195,
0.25755998492240906,
-0.18193355202674866,
0.026032704859972,
0.17135420441627502,
-0.05498388782143593,
0.01752660423517227,
-0.009233195334672928,
0.11568169295787811,
0.20381946861743927,
0.03563206270337105,
-0.15285366773605347,
0.03240501880645752,
0.19806906580924988,
-0.4230347275733948,
0.010218553245067596,
-0.45604780316352844,
-0.13556954264640808,
-0.0008084774017333984,
0.0513666607439518,
-0.17242500185966492,
0.2559690773487091,
-0.16865843534469604,
0.08236430585384369,
0.4736120104789734,
0.20135323703289032,
-0.23223434388637543,
0.29074984788894653,
-0.03209532052278519,
-0.07241320610046387,
0.443088173866272,
0.03464177995920181,
0.09160162508487701,
-0.09797266125679016,
0.046074092388153076,
-0.21799667179584503,
-0.3392620086669922,
-0.17190298438072205,
-0.43853631615638733,
-0.15451906621456146,
-0.2035411298274994,
-0.10736814141273499,
0.14387422800064087,
-0.3403629660606384,
0.07117100805044174,
-0.09992857277393341,
0.02477383241057396,
-0.18604019284248352,
0.03577715903520584,
-0.02610739693045616,
0.4821685254573822,
-0.270957887172699,
0.03504686430096626,
0.057643160223960876,
-0.21023887395858765,
0.2631983458995819,
-0.34401804208755493,
0.06981818377971649,
-0.14109408855438232,
-0.3037567734718323,
-0.11353494226932526,
0.14185503125190735,
-0.345912367105484,
-0.2165149748325348,
0.1215764582157135,
0.04675716161727905,
-0.006241178140044212,
-0.17394454777240753,
-0.17271688580513,
-0.2696610391139984,
-0.01418694481253624,
-0.0884329080581665,
-0.15352463722229004,
-0.2099008709192276,
-0.2878568470478058,
-0.0003727078437805176,
-0.23785272240638733,
0.22910377383232117,
0.03376201167702675,
0.0660361796617508,
-0.01779831014573574,
0.22091951966285706,
-0.004616077523678541,
0.15459531545639038,
0.16937696933746338,
0.3004510998725891,
0.0850471779704094,
-0.36912211775779724,
0.17289230227470398,
-0.14305347204208374,
0.02304510399699211,
-0.10802095383405685,
-0.038059450685977936,
0.5512809157371521,
-0.2799329161643982,
-0.12850338220596313,
0.0020044557750225067,
-0.12749704718589783,
0.006798321381211281,
-0.18962374329566956,
0.02734886296093464,
-0.20169048011302948,
-0.003074485808610916,
0.03252656012773514,
-0.12410868704319,
0.33497485518455505,
0.06831581890583038,
0.26136815547943115,
0.30528751015663147,
-0.0064673032611608505,
0.03550777956843376,
0.008404970169067383,
0.015749238431453705,
-0.06763002276420593,
-0.04663503170013428,
0.49138399958610535,
0.21116074919700623,
0.14753571152687073,
0.16184723377227783,
0.1339767724275589,
0.15883204340934753,
-0.029305346310138702,
0.502242386341095,
-0.2104058712720871,
-0.15931665897369385,
0.3123583495616913,
-0.31453433632850647,
0.007668094243854284,
-0.39413192868232727,
0.3017258644104004,
0.26624560356140137,
0.15311068296432495,
-0.0914127379655838,
-0.2112218737602234,
-0.062175631523132324,
0.08404161781072617,
-0.37493541836738586,
0.035135235637426376,
-0.0890929102897644,
-0.2463868260383606,
0.4175286889076233,
0.010351881384849548,
-0.1779470592737198,
0.11570166051387787,
0.002194473519921303,
0.26536276936531067,
-0.1756262481212616,
0.14552301168441772,
-0.09679500758647919,
-0.2615676820278168,
-0.14422348141670227,
0.22803044319152832,
0.47106224298477173,
-0.03479370102286339,
0.4902585446834564,
-0.04353385418653488,
0.07530767470598221,
-0.5632209181785583,
-0.3327845633029938,
-0.005274306982755661,
-0.1458892971277237,
0.05191946029663086,
0.44383499026298523,
-0.075871542096138,
-0.14404916763305664,
-0.4648936986923218,
0.16104161739349365,
-0.3503444790840149,
-0.4456546902656555,
0.20343568921089172,
-0.15354129672050476,
-0.016537398099899292,
-0.2441362887620926,
-0.22599932551383972,
0.12216305732727051,
-0.1678844839334488,
0.5181668996810913,
0.16075995564460754,
0.39229869842529297,
-0.022824522107839584,
0.14078974723815918,
-0.05596623569726944,
-0.0295866709202528,
-0.1011890396475792,
-0.17476652562618256,
-0.2164449691772461,
0.21921470761299133,
-0.17975473403930664,
-0.12499649822711945,
0.274616003036499,
-0.22678104043006897,
0.1915154755115509,
-0.13050706684589386,
-0.2349870800971985,
0.09877137094736099,
-0.10085958242416382,
0.4779210686683655,
0.17573945224285126,
0.306459903717041,
0.1677648276090622,
0.4147461950778961,
-0.2453339844942093,
-0.09188301861286163,
0.008653264492750168,
0.16315484046936035,
-0.28258344531059265,
0.43529212474823,
-0.04679611325263977,
0.25646790862083435,
-0.1909102499485016,
0.885162353515625,
0.26179027557373047,
-0.13358907401561737,
0.09226598590612411,
0.13170072436332703,
0.09859456866979599,
-0.1017131432890892,
-0.23919092118740082,
-0.03551318868994713,
-0.10942262411117554,
-0.058605682104825974,
0.13567624986171722,
-0.1298336386680603,
0.12395224720239639,
0.143212229013443,
0.06492093205451965,
-0.25408899784088135,
-0.3510226607322693,
0.3678756356239319,
-0.4339766502380371,
0.09260417520999908,
-0.2885713279247284,
-0.13391605019569397,
-0.25145700573921204,
0.03277650848031044,
0.08773474395275116,
-0.017282821238040924,
0.2612523138523102,
-0.2511327862739563,
0.006606247276067734,
0.010122600011527538,
-0.24142104387283325,
0.35909193754196167,
0.06216400861740112,
0.04600409418344498,
-0.11322550475597382,
-0.06834201514720917,
0.07691880315542221,
-0.08591459691524506,
0.4404863119125366,
-0.5249095559120178,
0.09355650097131729,
0.07481209933757782,
-0.07450433075428009,
0.3398298919200897,
-0.0674554854631424,
-0.049695611000061035,
0.2881462872028351,
-0.22903995215892792,
-0.012489646673202515,
-0.5125659704208374,
0.057968854904174805,
0.21918874979019165,
-0.1714807003736496,
-0.09170167148113251,
-0.20574668049812317,
-0.2129940241575241,
-0.016344748437404633,
-0.15900030732154846,
0.17218773066997528,
0.08963010460138321,
0.13339021801948547,
-0.24311353266239166,
0.061593327671289444,
0.00009953789412975311,
0.039875686168670654,
0.2462148368358612,
-0.009755481034517288,
0.24753135442733765,
-0.11119809746742249,
0.20229321718215942,
-0.009582728147506714,
-0.16780278086662292,
0.10638920217752457,
0.4642265737056732,
-0.09940800070762634,
-0.07835681736469269,
-0.09182454645633698,
-0.3089916706085205,
0.03887230157852173,
0.3607747554779053,
-0.09694729000329971,
0.24999916553497314,
0.31862983107566833,
-0.0445065051317215,
-0.13021564483642578,
-0.5119385719299316,
0.09108559042215347,
0.07946403324604034,
-0.1572449803352356,
-0.20269575715065002,
0.17651905119419098,
0.1669720858335495,
-0.22480283677577972,
0.47773945331573486,
0.28975582122802734,
-0.20537018775939941,
0.2124454528093338,
0.3510877192020416,
1.065106749534607,
0.10980026423931122,
-0.12045729160308838,
-0.2875013053417206,
-0.3210258483886719,
0.01682586409151554,
-0.06452296674251556,
-0.03261641785502434,
-0.38616278767585754,
-0.00803996343165636,
-0.04391951858997345,
-0.14624178409576416,
0.2826491892337799,
0.09272274374961853,
-0.3916201889514923,
-0.08428653329610825,
-0.0068268850445747375,
0.16437524557113647,
0.09043822437524796,
0.4643874764442444,
-0.5591685175895691,
0.19980846345424652,
0.20666652917861938,
0.09848180413246155,
0.21941734850406647,
-0.11046288907527924,
-0.2015630006790161,
-0.33795100450515747,
0.15572544932365417,
-0.4228735566139221,
-0.5072320699691772,
-0.19025549292564392,
-0.27952584624290466,
0.018039124086499214,
0.1767621487379074,
-0.038104865700006485,
0.42615067958831787,
-0.03668229654431343,
0.7064346075057983,
0.08917327225208282,
-0.07705802470445633,
0.18579135835170746,
0.4173084497451782,
0.24397672712802887,
-0.1012469008564949,
-0.16179412603378296,
0.13868756592273712,
-0.19500651955604553,
-0.2023094892501831,
-0.01238829642534256,
-0.16282758116722107,
-0.3218129873275757,
-0.027438677847385406,
-0.10314208269119263,
-0.056620195508003235,
-0.30776840448379517,
0.2780027985572815,
-0.203660249710083,
-0.526513397693634,
-0.19087986648082733,
0.16708780825138092,
0.0957452803850174,
-0.36712178587913513,
0.18888583779335022,
-0.17966584861278534,
0.07108704745769501,
0.10017916560173035,
-0.14288347959518433,
0.2175966203212738,
0.306013822555542,
0.29415175318717957,
0.004050746560096741,
-0.06316324323415756,
-0.4128233790397644,
-0.06916631758213043,
0.3989085555076599,
-0.6271975040435791,
0.15529972314834595,
0.009393775835633278,
-0.2580012381076813,
0.1835973709821701,
0.5597305297851562,
0.3641539216041565,
0.6664499640464783,
-0.14035458862781525,
0.09503164887428284,
-0.2825070917606354,
0.11170310527086258,
-0.016823921352624893,
0.4240866005420685,
-0.40737399458885193,
0.13716533780097961,
0.022452665492892265,
0.5248305797576904,
-0.39697733521461487,
0.056311897933483124,
-0.0974205806851387,
0.08820336312055588,
-0.6605484485626221,
-0.25820374488830566,
-0.16335712373256683,
-0.18213815987110138,
0.13388729095458984,
0.17987337708473206,
-0.4397353231906891,
-0.1504148542881012,
0.16609308123588562,
0.15712441504001617,
-0.10212477296590805,
0.029401209205389023,
-0.022447533905506134,
0.2844792604446411,
0.06712490320205688,
0.2642514705657959,
0.03202757239341736,
-0.2758433520793915,
-0.09117832779884338,
0.13628169894218445,
0.4328450560569763,
0.16815632581710815,
-0.3202621340751648,
-0.19034840166568756,
-0.21795251965522766,
0.5395399332046509,
0.0537906140089035,
0.022789951413869858,
-0.17999252676963806,
-0.20486459136009216,
0.14812210202217102,
0.23106446862220764,
0.06111950799822807,
-0.1098678782582283,
0.23064789175987244,
-0.02362459897994995,
-0.44609153270721436,
0.0037071160040795803,
0.3728685975074768,
0.21371780335903168,
-0.0711863785982132,
-0.17462658882141113,
-0.1793285608291626,
0.2610190212726593,
-0.17380011081695557,
-0.10758288949728012,
-0.09006428718566895,
-0.1733570098876953,
0.09656116366386414,
0.21202240884304047,
0.40419653058052063,
-0.2550150454044342,
-0.1695966273546219,
0.18424758315086365,
-0.11870522797107697,
-0.3907974362373352,
0.223588228225708,
0.6353365778923035,
-0.17016512155532837,
-0.04154090955853462,
0.45984354615211487,
-0.002201925963163376,
-0.14258414506912231,
-0.13675296306610107,
-0.359425812959671,
0.30314725637435913,
0.12256351113319397,
0.3409556448459625,
0.33544260263442993,
-0.11287274956703186,
0.6384971141815186,
0.14135055243968964,
0.19969263672828674,
-0.0016483291983604431,
0.19464118778705597,
0.2812020182609558,
0.006558817345649004,
0.08108720183372498,
-0.31052106618881226,
0.08887020498514175,
-0.12218765169382095,
-0.005749037954956293,
-0.37059909105300903,
-0.36726754903793335,
-0.3558461368083954,
-0.039515502750873566,
-0.07619141042232513,
0.09351319819688797,
0.30566442012786865,
0.09559325128793716,
0.0085182785987854,
-0.11846655607223511,
0.3011753261089325,
-0.003047887235879898,
0.5191108584403992,
-0.45396000146865845,
0.2807137668132782,
0.4153006076812744,
-0.15150026977062225,
0.13207221031188965,
0.583673357963562,
0.47204646468162537,
0.104477658867836,
-0.20914678275585175,
0.19752568006515503,
0.0299312062561512,
-0.11552349478006363,
-0.01925557292997837,
0.33798348903656006,
-0.023543640971183777,
-0.03391608968377113,
0.013425339013338089,
0.15610472857952118,
-0.10363849997520447,
-0.14574353396892548,
0.02135557308793068,
-0.08771294355392456,
0.09930700063705444,
0.1990494430065155,
0.30301007628440857,
-0.2892909646034241,
0.10392984002828598,
0.2418697476387024,
-0.06314710527658463,
-0.5604850649833679,
0.34241968393325806,
-0.06977815181016922,
-0.010358085855841637,
-0.3643043637275696,
0.11718599498271942,
0.08718055486679077,
0.5890376567840576,
0.25260794162750244,
-0.040103159844875336,
-0.5061167478561401,
-0.16903185844421387,
-0.5221691727638245,
0.11973980069160461,
-0.1407392919063568,
-0.026298679411411285,
0.27802902460098267,
0.290544331073761,
0.18484844267368317,
0.14526286721229553,
0.11146938800811768,
0.19925040006637573,
-0.21561677753925323,
0.5768768787384033,
-0.3950023055076599,
0.285612553358078,
0.536458432674408,
-0.13119177520275116,
-0.0830036997795105,
-0.3005733788013458,
0.38909974694252014,
0.06664573401212692,
0.1158389076590538,
0.16173839569091797,
-0.1404857635498047,
0.48888832330703735,
0.1298184096813202,
0.24718685448169708,
0.1934293955564499,
0.2555946409702301,
0.046226851642131805,
-0.16668525338172913,
0.1390933096408844,
0.1302517205476761,
-0.319253146648407,
0.14977824687957764,
0.42581039667129517,
0.30742356181144714,
0.1998189091682434,
0.14354760944843292,
-0.19780205190181732,
0.003513671224936843,
-0.19955235719680786,
0.1321997195482254,
-0.3398802578449249,
0.19610919058322906,
-0.02933673933148384,
0.09973303973674774,
0.02082892507314682,
0.14425718784332275,
0.0003806464374065399,
-0.1509382128715515,
-0.4732668399810791,
-0.4497728943824768,
0.3270225524902344,
-0.04377813637256622,
-0.03279625624418259,
-0.05764424800872803,
0.2999679148197174,
0.174770325422287,
-0.0011031609028577805,
-0.7286710143089294,
-0.07548195868730545,
0.23272892832756042,
-0.11491123586893082,
0.12504014372825623,
0.047877002507448196,
0.03784686326980591,
0.13444828987121582,
-0.13510969281196594,
0.19048121571540833,
-0.10183001309633255,
0.12281982600688934,
-0.31071600317955017,
-0.3383047580718994
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | @lhoestq Thanks for the feedback! I will be adding the tests for the same very soon.
However, I'm not sure as to what exactly is causing the `segmentation fault` in the failing CI tests. It seems to be something from `test_concatenation_table_cast` from `test_table.py`, but I'm not sure as to what exactly. Would be great if you could help. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 59 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
@lhoestq Thanks for the feedback! I will be adding the tests for the same very soon.
However, I'm not sure as to what exactly is causing the `segmentation fault` in the failing CI tests. It seems to be something from `test_concatenation_table_cast` from `test_table.py`, but I'm not sure as to what exactly. Would be great if you could help. Thanks! | [
-0.24128542840480804,
0.18115556240081787,
0.02307569608092308,
0.24567310512065887,
0.14007942378520966,
0.1119164302945137,
0.32798588275909424,
0.3564895987510681,
-0.4785684645175934,
0.11915165185928345,
0.2259535789489746,
0.3789977729320526,
-0.14843612909317017,
0.08914347738027573,
0.06737055629491806,
-0.17241892218589783,
0.15246443450450897,
0.14727091789245605,
0.1073748916387558,
0.18779921531677246,
-0.2162322849035263,
0.21475736796855927,
-0.06882502883672714,
0.15697085857391357,
-0.4356638789176941,
-0.2324291467666626,
-0.27722251415252686,
0.23042133450508118,
-0.22861048579216003,
-0.49415555596351624,
0.10375671088695526,
0.20744596421718597,
-0.30834677815437317,
0.46641263365745544,
-0.00011895680654561147,
-0.0476759672164917,
0.25377357006073,
0.10860267281532288,
-0.30977752804756165,
0.06795360893011093,
-0.06233078986406326,
0.04794751852750778,
-0.08532916009426117,
0.02344164252281189,
0.24176689982414246,
-0.25642359256744385,
-0.28552302718162537,
-0.0036407411098480225,
0.46647804975509644,
0.09639929980039597,
0.13439926505088806,
-0.019391527399420738,
0.3614198863506317,
-0.12182863801717758,
0.193942129611969,
0.18066877126693726,
-0.2643061876296997,
0.2834567427635193,
0.15565282106399536,
0.15303103625774384,
-0.11758271604776382,
0.26710939407348633,
0.3415510058403015,
-0.03664421662688255,
0.15724846720695496,
-0.08990161865949631,
0.07212299853563309,
-0.2326708436012268,
0.2296471893787384,
0.09876549243927002,
0.35055866837501526,
-0.1420886516571045,
-0.18204240500926971,
0.1570049524307251,
-0.11375173926353455,
-0.31998440623283386,
0.344441294670105,
0.11293718218803406,
-0.2326965481042862,
-0.08894073963165283,
-0.4147137403488159,
0.0006870643701404333,
-0.23808835446834564,
-0.31483203172683716,
0.06562347710132599,
-0.04769083857536316,
0.27156051993370056,
0.027879081666469574,
0.3269669711589813,
-0.0084916353225708,
0.0901557207107544,
-0.0015672892332077026,
-0.5179522633552551,
0.102330781519413,
-0.21321608126163483,
-0.2398078292608261,
0.001300133764743805,
0.18981507420539856,
0.19002842903137207,
0.3265509009361267,
0.11480933427810669,
0.19902169704437256,
0.4015893042087555,
-0.06208604574203491,
0.1628277748823166,
0.24102766811847687,
0.012251108884811401,
0.5053133368492126,
-0.05405273288488388,
0.055492471903562546,
-0.33796927332878113,
0.054944008588790894,
-0.2010461986064911,
-0.36411741375923157,
0.5786444544792175,
0.17202696204185486,
-0.09620895981788635,
-0.27426227927207947,
0.05020211637020111,
0.3437151312828064,
-0.16694068908691406,
-0.09759495407342911,
0.07761729508638382,
0.317535936832428,
0.184299498796463,
-0.04431075602769852,
-0.09302428364753723,
0.07484520971775055,
-0.06918878853321075,
0.09279190748929977,
-0.10052021592855453,
-0.06100715324282646,
-0.3850240409374237,
-0.1352497786283493,
0.3087145686149597,
-0.22535160183906555,
0.01146477647125721,
0.24718959629535675,
0.12815135717391968,
-0.23644039034843445,
-0.14533254504203796,
-0.06970366835594177,
0.4100920557975769,
0.2589675486087799,
-0.23691460490226746,
-0.1460321545600891,
-0.04393576458096504,
-0.08637743443250656,
-0.04069555178284645,
0.1403108537197113,
-0.020128056406974792,
-0.4833402633666992,
-0.21732211112976074,
0.18074755370616913,
-0.24246130883693695,
0.1741979867219925,
0.43162405490875244,
-0.17534637451171875,
0.10760824382305145,
-0.19356316328048706,
0.10716080665588379,
-0.0516279861330986,
0.10361956059932709,
-0.24219883978366852,
0.23525339365005493,
0.33156922459602356,
-0.3062826097011566,
-0.0817287415266037,
-0.3462720215320587,
0.07314963638782501,
0.146329864859581,
0.2628883123397827,
-0.06628420203924179,
0.3244173228740692,
-0.1289626955986023,
0.16574251651763916,
0.45976942777633667,
0.18630336225032806,
-0.05910433083772659,
0.28170329332351685,
-0.07265259325504303,
-0.05468165874481201,
0.17596903443336487,
-0.02302047424018383,
0.15786951780319214,
-0.09908249229192734,
0.08569279313087463,
-0.2946300506591797,
-0.46412160992622375,
-0.12955443561077118,
-0.3920656740665436,
0.011254826560616493,
-0.04677233844995499,
-0.14274542033672333,
0.12901510298252106,
-0.19814014434814453,
0.10197452455759048,
-0.2858234643936157,
0.017415683716535568,
-0.21918019652366638,
-0.0321049839258194,
-0.19798880815505981,
0.4849535822868347,
-0.44062328338623047,
0.12657907605171204,
0.07035507261753082,
-0.13206970691680908,
0.29607924818992615,
-0.23492585122585297,
0.1996719390153885,
-0.19357521831989288,
-0.1521783471107483,
-0.3174022138118744,
0.27660033106803894,
-0.32427316904067993,
-0.08485546708106995,
0.03391685336828232,
-0.04623981565237045,
-0.10820287466049194,
-0.24065464735031128,
-0.1360691487789154,
-0.4847774803638458,
-0.08214230090379715,
0.0866805836558342,
0.0842166393995285,
-0.03145432099699974,
-0.41693639755249023,
-0.17570559680461884,
-0.30483102798461914,
0.25020793080329895,
0.111847423017025,
-0.11966942250728607,
-0.1474127471446991,
0.3790769875049591,
0.06049893796443939,
0.05895869433879852,
-0.0022269636392593384,
0.28607606887817383,
0.04565247893333435,
-0.44874274730682373,
0.09357638657093048,
-0.17931200563907623,
-0.004238832276314497,
-0.19913873076438904,
0.13025334477424622,
0.5824061036109924,
-0.31317102909088135,
-0.0385473296046257,
0.0426018089056015,
-0.0656743124127388,
0.057697050273418427,
-0.1477537602186203,
0.028321893885731697,
-0.24405866861343384,
0.24490799009799957,
-0.09599058330059052,
-0.3274862468242645,
0.26511120796203613,
-0.005852334201335907,
0.20309755206108093,
0.11680882424116135,
-0.032799042761325836,
0.017483413219451904,
0.051669150590896606,
0.25465333461761475,
-0.1439264416694641,
0.023847870528697968,
0.3390885889530182,
0.31507548689842224,
-0.09662450104951859,
0.0987645834684372,
0.2262265682220459,
0.02169324830174446,
-0.012467563152313232,
0.5364227294921875,
-0.12421558797359467,
-0.03289536386728287,
0.39549076557159424,
-0.2526509463787079,
0.1235383152961731,
-0.20644143223762512,
0.19389188289642334,
0.224587544798851,
0.1878931075334549,
-0.2456056773662567,
0.11494042724370956,
-0.05050760507583618,
0.025758326053619385,
-0.42153963446617126,
-0.13960079848766327,
0.06885142624378204,
-0.3182622790336609,
0.35032540559768677,
-0.12235423922538757,
-0.23914735019207,
0.1718742400407791,
-0.21626076102256775,
0.3757886290550232,
-0.05734247341752052,
0.00934664998203516,
-0.07126659154891968,
-0.24565042555332184,
-0.17372268438339233,
0.11501461267471313,
0.43976402282714844,
-0.020373739302158356,
0.21790488064289093,
-0.15163826942443848,
0.05873503535985947,
-0.28406766057014465,
-0.41890382766723633,
0.06627163290977478,
-0.19268019497394562,
0.21391429007053375,
0.48550641536712646,
-0.08650703728199005,
-0.11620565503835678,
-0.6665546894073486,
0.19216419756412506,
-0.46097955107688904,
-0.35047557950019836,
0.4940754771232605,
-0.07645504921674728,
-0.08497267961502075,
-0.2972104251384735,
-0.3447660803794861,
0.16043820977210999,
-0.12662096321582794,
0.2668820023536682,
0.18869514763355255,
0.25553053617477417,
0.17974087595939636,
0.09929567575454712,
-0.21364754438400269,
-0.1629665642976761,
-0.11322879791259766,
-0.06746459007263184,
-0.058970026671886444,
0.09695246070623398,
-0.11758045107126236,
-0.13997438549995422,
0.3342980742454529,
-0.24828237295150757,
0.4036422371864319,
0.00015825964510440826,
-0.24686199426651,
0.3667040169239044,
0.09800604730844498,
0.3962259590625763,
0.08412440121173859,
0.08831451833248138,
-0.09328216314315796,
0.34061145782470703,
-0.10836261510848999,
-0.05874016508460045,
0.06601913273334503,
0.055177103728055954,
-0.1555730700492859,
0.35876381397247314,
-0.29596757888793945,
0.2583656311035156,
-0.10797560214996338,
0.8940331935882568,
0.4043619930744171,
-0.2170095294713974,
0.15703463554382324,
0.06648160517215729,
0.15917512774467468,
-0.18856504559516907,
-0.28559768199920654,
0.10761157423257828,
-0.2018527388572693,
-0.3192105293273926,
0.21725352108478546,
-0.07178764045238495,
-0.20548349618911743,
0.13307763636112213,
0.3233002722263336,
-0.28782758116722107,
-0.4199833273887634,
0.516175389289856,
-0.5383846759796143,
0.21722468733787537,
-0.28253036737442017,
0.03232219070196152,
-0.14360609650611877,
-0.11687077581882477,
0.09051890671253204,
-0.006266862154006958,
0.2188987135887146,
-0.2893587648868561,
-0.06682091951370239,
-0.3426475524902344,
-0.0622403547167778,
0.31019511818885803,
0.19506070017814636,
0.38023698329925537,
-0.1741238236427307,
-0.18494078516960144,
-0.011822372674942017,
-0.013987742364406586,
0.2944623827934265,
-0.29427972435951233,
-0.024454742670059204,
0.2817886769771576,
-0.04715624451637268,
0.3877085745334625,
-0.16463200747966766,
-0.06120174750685692,
0.33075204491615295,
-0.06712786853313446,
0.0040885284543037415,
-0.37018251419067383,
0.07150442153215408,
0.40544164180755615,
-0.013246440328657627,
-0.09913075715303421,
0.08763622492551804,
-0.2134232223033905,
-0.05762920156121254,
-0.022601239383220673,
0.2744075059890747,
-0.056849151849746704,
0.23262879252433777,
-0.39658811688423157,
0.13146750628948212,
0.1422380656003952,
-0.04166209325194359,
0.15643969178199768,
0.17302675545215607,
0.23217064142227173,
-0.2018204629421234,
0.2528829276561737,
-0.1512170284986496,
-0.25374895334243774,
0.2774384617805481,
0.5366047620773315,
0.010749617591500282,
0.05593208968639374,
-0.06104300171136856,
-0.07911988347768784,
0.07942816615104675,
0.4526892602443695,
-0.027976512908935547,
0.22534999251365662,
0.2132827341556549,
-0.04868695139884949,
-0.06429583579301834,
-0.43877583742141724,
0.05437751114368439,
-0.017928726971149445,
-0.34091636538505554,
0.1116262674331665,
-0.05885196477174759,
0.03300509974360466,
-0.15566378831863403,
0.4263414740562439,
0.12800002098083496,
-0.14195528626441956,
0.49550384283065796,
0.3398805856704712,
1.1039562225341797,
0.2747829556465149,
-0.09644815325737,
-0.09995432943105698,
0.033560462296009064,
-0.23085473477840424,
0.0874733179807663,
-0.001024201512336731,
-0.435091495513916,
-0.23435869812965393,
-0.005011681467294693,
-0.17483258247375488,
0.22619089484214783,
-0.06672914326190948,
-0.4250471889972687,
-0.028308765962719917,
-0.26703357696533203,
0.37728351354599,
0.16821664571762085,
0.08279325067996979,
-0.4878125786781311,
0.27053701877593994,
0.24147650599479675,
0.045608118176460266,
0.22689104080200195,
-0.13170097768306732,
-0.3137812614440918,
-0.19474062323570251,
0.028433907777071,
-0.4009380340576172,
-0.6430894136428833,
-0.06791724264621735,
-0.2558307647705078,
-0.02797306701540947,
0.1886690855026245,
-0.1213482916355133,
0.44067996740341187,
-0.051223333925008774,
0.5839926600456238,
0.17198210954666138,
-0.0742887407541275,
0.19246618449687958,
0.3709827661514282,
0.21323412656784058,
0.17014102637767792,
-0.23368479311466217,
0.3982107937335968,
-0.13126850128173828,
-0.15814484655857086,
-0.07094555348157883,
-0.21468518674373627,
-0.2818066477775574,
0.1574123203754425,
0.007108420133590698,
-0.12165506184101105,
-0.3822256624698639,
0.29299819469451904,
-0.31156837940216064,
-0.3988451659679413,
-0.37961095571517944,
0.08070778846740723,
0.12806813418865204,
-0.3910961449146271,
0.35425832867622375,
-0.17123037576675415,
0.007798217236995697,
0.05324436351656914,
-0.23013946413993835,
0.0697217732667923,
0.11684279143810272,
0.3040079176425934,
0.044428545981645584,
-0.0009427070617675781,
-0.35853299498558044,
0.031098507344722748,
0.3428499698638916,
-0.6701042056083679,
0.1012742891907692,
-0.11235208064317703,
-0.1578807681798935,
0.18804439902305603,
0.7248880863189697,
0.4911121726036072,
0.5561054944992065,
-0.4027293026447296,
-0.0969342589378357,
-0.35083115100860596,
0.2945546507835388,
0.0399075485765934,
0.4402388334274292,
-0.5565979480743408,
0.22752909362316132,
0.01829882152378559,
0.5658313632011414,
-0.28252071142196655,
-0.08087201416492462,
-0.44149133563041687,
0.16214226186275482,
-0.6439272165298462,
-0.270077645778656,
-0.130341574549675,
-0.25724631547927856,
0.04793470352888107,
0.15824119746685028,
-0.3225008547306061,
-0.08479932695627213,
0.19561296701431274,
0.179083451628685,
-0.05700525641441345,
-0.01478593610227108,
-0.022466201335191727,
0.2533299922943115,
0.2208588570356369,
0.10591952502727509,
0.022996682673692703,
-0.35997846722602844,
-0.06407403945922852,
-0.12557001411914825,
0.31249308586120605,
0.21623051166534424,
-0.18585290014743805,
-0.04356443136930466,
-0.2462504506111145,
0.4491499662399292,
0.12660405039787292,
-0.012623094022274017,
-0.13421785831451416,
-0.2804035246372223,
0.12676848471164703,
0.36892765760421753,
-0.07728536427021027,
-0.17246052622795105,
0.2660236954689026,
0.009522981941699982,
-0.3817114233970642,
-0.18134211003780365,
0.4683263301849365,
0.29323965311050415,
-0.0407717227935791,
-0.010206869803369045,
-0.03212253749370575,
0.1661842316389084,
-0.06256289035081863,
-0.20555640757083893,
-0.13218142092227936,
-0.19674424827098846,
-0.009620454162359238,
0.37300506234169006,
0.33884197473526,
-0.29410144686698914,
-0.08760392665863037,
0.1154923364520073,
-0.09239030629396439,
-0.2234981507062912,
0.3784143924713135,
0.5357373952865601,
-0.23434029519557953,
0.13874724507331848,
0.3510168790817261,
-0.22945958375930786,
-0.1642588973045349,
-0.2781972289085388,
-0.3226536512374878,
0.5391677618026733,
0.22549641132354736,
0.10189492255449295,
0.30389875173568726,
-0.05499548465013504,
0.3527272343635559,
-0.1972033977508545,
0.0890391394495964,
0.048321034759283066,
0.21379831433296204,
0.34621384739875793,
-0.1890200674533844,
-0.2434903383255005,
-0.3591836988925934,
0.03237540274858475,
-0.13901638984680176,
0.09152254462242126,
-0.5327266454696655,
-0.224695086479187,
-0.3618179261684418,
-0.019719116389751434,
-0.04577228054404259,
0.18212801218032837,
0.3605278432369232,
0.16808448731899261,
-0.09057191014289856,
-0.10235480964183807,
0.17423662543296814,
0.023564105853438377,
0.3655945658683777,
-0.42698702216148376,
0.42362117767333984,
0.40210622549057007,
-0.12612222135066986,
0.13313402235507965,
0.40873074531555176,
0.7226594686508179,
0.10612431913614273,
-0.1507783979177475,
-0.014834330417215824,
-0.010900434106588364,
-0.11681288480758667,
0.09878326207399368,
0.3886176645755768,
-0.02479756623506546,
0.048469699919223785,
-0.006254715844988823,
0.09277592599391937,
-0.08125985413789749,
-0.03361954167485237,
0.09476304054260254,
0.024690479040145874,
0.015112597495317459,
0.2533351480960846,
0.09860864281654358,
-0.2749398946762085,
0.005327116698026657,
0.24833908677101135,
-0.0017037726938724518,
-0.29966071248054504,
0.26493552327156067,
-0.11537140607833862,
-0.029766201972961426,
-0.17427699267864227,
0.07840811461210251,
0.22252915799617767,
0.6871892213821411,
0.277106374502182,
0.0653940960764885,
-0.5781847834587097,
-0.2216787040233612,
-0.2593453526496887,
0.17908835411071777,
0.037896789610385895,
0.07349006831645966,
0.376169890165329,
0.2691461741924286,
0.20732218027114868,
0.09829210489988327,
0.16021384298801422,
0.06312002241611481,
0.05296996235847473,
0.5934576988220215,
-0.3581162691116333,
0.38680005073547363,
0.1495218276977539,
-0.14100982248783112,
-0.23070134222507477,
-0.2968771159648895,
0.45516788959503174,
-0.06046804413199425,
-0.005329977720975876,
0.2895045876502991,
-0.42652902007102966,
0.4941602349281311,
-0.056830309331417084,
0.255636990070343,
0.08174087852239609,
0.4416647255420685,
0.12934598326683044,
-0.09399618208408356,
-0.17424987256526947,
-0.3531104028224945,
-0.02177662029862404,
0.16051025688648224,
0.3093273639678955,
0.2902059555053711,
0.3575739562511444,
0.2543591856956482,
-0.14066670835018158,
-0.227988138794899,
-0.08229649066925049,
0.23409098386764526,
-0.19488964974880219,
0.16840077936649323,
-0.12630845606327057,
0.02873501554131508,
0.17092245817184448,
0.2917286157608032,
-0.024446949362754822,
-0.03686972334980965,
-0.26371556520462036,
-0.5897815227508545,
0.38744691014289856,
-0.10702794045209885,
-0.1448056399822235,
-0.2010452151298523,
0.18565067648887634,
0.06491873413324356,
-0.04299743473529816,
-0.6513840556144714,
-0.2627122700214386,
0.04422711953520775,
-0.15191388130187988,
-0.14256703853607178,
0.11578954756259918,
-0.009612951427698135,
0.06380216777324677,
-0.018063200637698174,
0.23593570291996002,
-0.10817266255617142,
0.025930920615792274,
-0.17410460114479065,
-0.2586459517478943
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | You can merge master into your branch to fix this issue.
Basically pyarrow 4.0.0 has a segfault issue (which has now been resolved on the master branch of pyarrow).
So until 4.0.1 comes out we changed to using `pyarrow<4.0.0` recently. | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 40 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
You can merge master into your branch to fix this issue.
Basically pyarrow 4.0.0 has a segfault issue (which has now been resolved on the master branch of pyarrow).
So until 4.0.1 comes out we changed to using `pyarrow<4.0.0` recently. | [
-0.18851110339164734,
0.3025805950164795,
0.015162989497184753,
0.27032437920570374,
0.10313494503498077,
0.0010666251182556152,
0.22540849447250366,
0.33883675932884216,
-0.4776776432991028,
0.11371926218271255,
0.09907364845275879,
0.4672386050224304,
-0.04924769699573517,
0.006763199344277382,
0.1651475429534912,
-0.0366666316986084,
0.1056336909532547,
0.1546623408794403,
0.06735548377037048,
0.08726708590984344,
-0.14488479495048523,
0.11014897376298904,
-0.08642920851707458,
0.1793174296617508,
-0.3799860179424286,
-0.046842627227306366,
-0.15618816018104553,
0.12467209994792938,
-0.3077521026134491,
-0.67073655128479,
-0.09664952009916306,
0.121239572763443,
-0.2196996808052063,
0.3019021153450012,
-0.00011124126467620954,
0.06564497947692871,
0.4002513885498047,
0.18150141835212708,
-0.40123528242111206,
-0.03443753719329834,
-0.042788099497556686,
0.024168921634554863,
0.04096740484237671,
0.00981200486421585,
0.2286820113658905,
-0.5820736885070801,
0.03425617888569832,
0.30556678771972656,
0.399212121963501,
0.08087943494319916,
0.19843626022338867,
-0.006864333525300026,
0.7466684579849243,
-0.024789124727249146,
0.4141565263271332,
0.09298679977655411,
-0.14240151643753052,
0.3124634623527527,
0.09807262569665909,
0.18828868865966797,
-0.2884767949581146,
0.19387678802013397,
0.25863945484161377,
0.009365209378302097,
0.21953719854354858,
0.012045349925756454,
0.29745423793792725,
-0.06762903183698654,
0.027526479214429855,
0.29146599769592285,
0.40007221698760986,
-0.36279013752937317,
-0.31985312700271606,
-0.06673771142959595,
-0.038336221128702164,
-0.3010295033454895,
0.36324334144592285,
0.2786872684955597,
-0.27119359374046326,
-0.10239803791046143,
-0.17776605486869812,
0.05123891308903694,
-0.15192651748657227,
-0.13081510365009308,
0.05870196223258972,
-0.033673763275146484,
0.26943740248680115,
0.0820843055844307,
0.35366347432136536,
-0.01529749482870102,
0.2787490487098694,
-0.07347288727760315,
-0.2724234461784363,
0.06662312895059586,
-0.1762780398130417,
-0.06930132210254669,
-0.09860780090093613,
0.2551320493221283,
0.2784522771835327,
-0.04451239854097366,
0.09360836446285248,
0.12396197021007538,
0.35554537177085876,
0.0509980209171772,
0.19399937987327576,
-0.03550355136394501,
0.14818227291107178,
0.021801702678203583,
0.08901554346084595,
-0.009834704920649529,
-0.16041380167007446,
0.045707959681749344,
-0.06489704549312592,
-0.41126567125320435,
0.6586456894874573,
0.11844749003648758,
0.024660196155309677,
-0.08802031725645065,
0.08914539963006973,
0.14256958663463593,
-0.39679455757141113,
-0.3300532102584839,
-0.09332593530416489,
0.1287938952445984,
0.05491514131426811,
-0.21562236547470093,
-0.16845208406448364,
-0.05126212537288666,
-0.12063795328140259,
-0.2089654803276062,
-0.136728435754776,
-0.03724140301346779,
-0.24827735126018524,
-0.06484677642583847,
0.22433458268642426,
-0.29073524475097656,
0.08152071386575699,
0.36030006408691406,
-0.16528406739234924,
0.01256348192691803,
-0.0902087464928627,
0.025429941713809967,
-0.12107043713331223,
0.127329483628273,
-0.0902431309223175,
-0.0531294122338295,
-0.3018481731414795,
-0.18214859068393707,
-0.10176382213830948,
0.2602364718914032,
0.06154194474220276,
-0.4594672918319702,
-0.2606060206890106,
0.23080749809741974,
-0.21758101880550385,
0.08868050575256348,
0.0042260512709617615,
-0.14048291742801666,
0.005729071795940399,
-0.03609101474285126,
0.04619057476520538,
0.13357627391815186,
0.28491953015327454,
-0.2878945469856262,
0.03731627017259598,
0.08427482843399048,
-0.46475836634635925,
-0.02456056699156761,
-0.4249662458896637,
-0.1373104453086853,
-0.022751793265342712,
0.2531623840332031,
-0.26719117164611816,
0.26663461327552795,
-0.16984352469444275,
0.29834872484207153,
0.3908742070198059,
0.20571987330913544,
-0.39275336265563965,
0.052749522030353546,
-0.02751334384083748,
-0.0947408378124237,
0.28960540890693665,
-0.07521671056747437,
0.13756705820560455,
-0.0849214494228363,
-0.005539543926715851,
-0.17902620136737823,
-0.181781604886055,
-0.13770033419132233,
-0.443450391292572,
-0.22439703345298767,
0.05636657401919365,
-0.03418317809700966,
0.047782670706510544,
-0.3773932456970215,
0.11746000498533249,
-0.25780028104782104,
0.0438583604991436,
-0.25834399461746216,
0.029959088191390038,
-0.11617551743984222,
0.4615635871887207,
-0.225898876786232,
0.12850601971149445,
0.05111627280712128,
-0.3332878649234772,
0.32276013493537903,
-0.4095344841480255,
0.10882416367530823,
-0.2805430293083191,
-0.2566131055355072,
-0.1084851548075676,
0.18196198344230652,
-0.25177788734436035,
-0.08044709265232086,
0.1743917018175125,
-0.08941410481929779,
0.0678352564573288,
0.06388288736343384,
-0.1364726722240448,
-0.267194539308548,
0.022826911881566048,
0.06481567025184631,
0.015461384318768978,
0.09862621128559113,
-0.3742476999759674,
-0.2874971926212311,
-0.14620456099510193,
0.12440848350524902,
0.11787497997283936,
0.04572014510631561,
0.07292873412370682,
0.32574331760406494,
0.0022655162028968334,
0.16797098517417908,
-0.15616852045059204,
0.22987334430217743,
0.11307507753372192,
-0.4366244673728943,
-0.04844491928815842,
-0.04879167303442955,
-0.05594206228852272,
-0.07249453663825989,
0.10907117277383804,
0.38431012630462646,
0.006852254271507263,
-0.12205789238214493,
0.06560781598091125,
-0.06749085336923599,
-0.05913432314991951,
-0.15004894137382507,
0.12865157425403595,
0.03517366200685501,
0.006226439028978348,
-0.05989630147814751,
0.06448717415332794,
0.3923538625240326,
0.022400587797164917,
0.1295449286699295,
0.41459986567497253,
-0.09758375585079193,
0.11362370103597641,
0.0038842372596263885,
-0.1267920732498169,
-0.11411616206169128,
0.04375329613685608,
0.13241107761859894,
0.07340927422046661,
0.15952862799167633,
0.024870168417692184,
0.1662805825471878,
0.05112820118665695,
-0.054309599101543427,
0.3977403938770294,
-0.19183360040187836,
0.1483633667230606,
0.25465628504753113,
0.016046609729528427,
-0.03924448415637016,
-0.40619784593582153,
0.40276241302490234,
0.34164226055145264,
0.25163450837135315,
-0.20868293941020966,
-0.20598481595516205,
-0.2744138240814209,
0.11705144494771957,
-0.2729299068450928,
-0.1767151653766632,
-0.21940508484840393,
-0.242835134267807,
0.4462047219276428,
0.16414694488048553,
-0.14532366394996643,
0.21919935941696167,
0.10075125098228455,
-0.026406660676002502,
-0.10084475576877594,
-0.02044941671192646,
-0.21664313971996307,
-0.31487852334976196,
-0.3379191756248474,
0.17510323226451874,
0.5228890776634216,
-0.1365482360124588,
0.3194097578525543,
0.02113013155758381,
-0.016212204471230507,
-0.5480325818061829,
-0.4187680780887604,
0.04637030512094498,
-0.152889683842659,
0.18064646422863007,
0.338134765625,
-0.1249513030052185,
-0.1593249887228012,
-0.4781181812286377,
0.2791597247123718,
-0.3696262538433075,
-0.505748450756073,
0.34837260842323303,
-0.17187252640724182,
0.12509934604167938,
-0.18902048468589783,
-0.2122664749622345,
0.03802487999200821,
-0.15543679893016815,
0.5030561089515686,
0.03403294458985329,
0.3877550959587097,
-0.047239985316991806,
0.21007615327835083,
0.017485789954662323,
-0.21844904124736786,
-0.12253211438655853,
-0.07493466883897781,
-0.030499080196022987,
0.30568116903305054,
-0.14210312068462372,
-0.2796521782875061,
0.21479350328445435,
-0.2350034862756729,
0.1892223060131073,
-0.001980517990887165,
-0.2669672966003418,
0.13123202323913574,
-0.0029944684356451035,
0.6846287250518799,
0.2103315144777298,
0.11862410604953766,
0.2477753907442093,
0.36564841866493225,
-0.1655975878238678,
-0.0211295448243618,
0.09991288185119629,
0.10565035790205002,
-0.08524429053068161,
0.3309423327445984,
-0.14270564913749695,
0.09912437200546265,
-0.017896488308906555,
0.8764784932136536,
-0.008492379449307919,
-0.14946219325065613,
0.19687668979167938,
-0.13812564313411713,
-0.02968241646885872,
-0.11965835839509964,
-0.10579011589288712,
0.023849444463849068,
-0.18802693486213684,
0.042625077068805695,
0.16721074283123016,
-0.16154220700263977,
-0.1367400735616684,
0.08927871286869049,
-0.014667869545519352,
-0.39973413944244385,
-0.4057779610157013,
0.25955888628959656,
-0.16747693717479706,
0.08394265174865723,
-0.19764088094234467,
-0.061876486986875534,
-0.06838968396186829,
-0.08731582015752792,
0.12632019817829132,
-0.18068383634090424,
0.16977524757385254,
-0.18564473092556,
0.09816485643386841,
-0.16029399633407593,
-0.1723390519618988,
0.3047534227371216,
0.1932317465543747,
-0.12849067151546478,
0.02889808639883995,
-0.16134580969810486,
0.1234637126326561,
-0.1718791127204895,
0.570713996887207,
-0.22518576681613922,
0.021021641790866852,
0.10315607488155365,
0.091033935546875,
-0.0074939243495464325,
-0.18912623822689056,
0.053992193192243576,
0.05617789924144745,
-0.11030180752277374,
-0.11501289904117584,
-0.6680855751037598,
-0.018786028027534485,
0.2377132922410965,
0.004030846990644932,
-0.06816446036100388,
-0.21684573590755463,
-0.285194456577301,
-0.07260538637638092,
-0.09702642261981964,
0.02537253499031067,
-0.021027792245149612,
0.28478536009788513,
-0.299785852432251,
0.12934362888336182,
-0.02769562415778637,
0.05099886655807495,
0.04157625883817673,
0.15077346563339233,
0.25610509514808655,
-0.3514334559440613,
0.1612461358308792,
0.037966981530189514,
-0.16647593677043915,
0.4138968586921692,
0.46116718649864197,
0.16752725839614868,
-0.1684420108795166,
-0.11105487495660782,
-0.16509480774402618,
0.06296639889478683,
0.21727050840854645,
-0.06126970425248146,
0.16398513317108154,
0.12773987650871277,
-0.08858464658260345,
0.010217751376330853,
-0.45511406660079956,
0.25579842925071716,
-0.16118714213371277,
-0.1695200800895691,
0.09187667816877365,
0.2707553207874298,
0.13185547292232513,
-0.06474604457616806,
0.24357616901397705,
0.38444608449935913,
-0.22181108593940735,
0.23273509740829468,
0.26550060510635376,
0.9744696617126465,
-0.06164492666721344,
-0.0666167289018631,
0.09789934754371643,
-0.3334510922431946,
0.05227184668183327,
-0.10042022168636322,
0.09288585186004639,
-0.45300814509391785,
0.06655639410018921,
0.016977505758404732,
-0.09585011005401611,
0.22998720407485962,
0.11795500665903091,
-0.25547412037849426,
-0.10191471874713898,
-0.07397975027561188,
0.3594902455806732,
0.17825265228748322,
0.36015450954437256,
-0.4220011830329895,
0.18519146740436554,
0.008786932565271854,
0.106667160987854,
0.1762503981590271,
-0.12320567667484283,
-0.13315919041633606,
-0.33612221479415894,
0.04282942786812782,
-0.3726276159286499,
-0.41999351978302,
-0.0658206194639206,
-0.40322867035865784,
-0.06594885885715485,
0.31751832365989685,
-0.15109819173812866,
0.16303721070289612,
-0.019497256726026535,
0.20361670851707458,
-0.05975305661559105,
-0.0668204203248024,
0.17834724485874176,
0.37909385561943054,
0.10302754491567612,
-0.062138088047504425,
-0.21122591197490692,
0.1393536478281021,
-0.214761883020401,
-0.2601645290851593,
0.1006726324558258,
-0.12154166400432587,
-0.25909101963043213,
0.0004053264856338501,
-0.06113171577453613,
-0.23383457958698273,
-0.2888816297054291,
0.39443111419677734,
-0.36078745126724243,
-0.3249564468860626,
-0.22363656759262085,
0.1679350882768631,
-0.05271259695291519,
-0.2690955698490143,
0.15542514622211456,
-0.24178184568881989,
0.06405143439769745,
-0.006366059184074402,
0.04397367686033249,
0.16628992557525635,
0.4149788022041321,
0.3660666048526764,
0.022726211696863174,
-0.0115329809486866,
-0.2893528342247009,
-0.19480809569358826,
0.5174927711486816,
-0.844484269618988,
0.03381165862083435,
-0.012131462804973125,
0.02915063500404358,
0.15180447697639465,
0.5149499177932739,
0.2910661995410919,
0.5392705798149109,
-0.07578267902135849,
0.05232278257608414,
-0.2682930827140808,
0.2868277430534363,
0.22529704868793488,
0.24580338597297668,
-0.17508789896965027,
0.36590465903282166,
0.0982484221458435,
0.3848888874053955,
-0.36167973279953003,
0.09192875027656555,
-0.03173345327377319,
0.1894822120666504,
-0.6389361619949341,
-0.27521803975105286,
0.011360567063093185,
-0.12508895993232727,
0.19431301951408386,
0.19114428758621216,
-0.2406436800956726,
-0.2161215841770172,
0.09791696071624756,
0.10340862721204758,
0.004735004156827927,
0.08202588558197021,
0.047560982406139374,
0.21715043485164642,
0.19987279176712036,
0.25109702348709106,
0.16361263394355774,
-0.1537797451019287,
-0.1518172025680542,
0.11834074556827545,
0.6648946404457092,
0.07861433178186417,
-0.3258044123649597,
-0.2148839831352234,
-0.23015698790550232,
0.4765968322753906,
0.11076081544160843,
0.12800931930541992,
-0.1859140545129776,
-0.1012192890048027,
0.16638730466365814,
0.10874529927968979,
-0.061676472425460815,
-0.1728447675704956,
0.29473817348480225,
-0.2171625941991806,
-0.4805321991443634,
-0.2769882380962372,
0.480876624584198,
0.24419713020324707,
-0.053940434008836746,
-0.16262568533420563,
0.10354962199926376,
0.2574877142906189,
-0.19724410772323608,
-0.0951412245631218,
0.002291634678840637,
-0.09804767370223999,
0.10550419986248016,
0.14431242644786835,
0.35514044761657715,
-0.2261282056570053,
-0.20319123566150665,
0.148057222366333,
-0.06845200061798096,
-0.15944446623325348,
0.13996413350105286,
0.7486035227775574,
-0.1400013417005539,
-0.10892996191978455,
0.5130237936973572,
-0.1320500522851944,
-0.0786997452378273,
-0.24768944084644318,
-0.49520349502563477,
0.20166410505771637,
0.007367562502622604,
0.16182145476341248,
0.3690815567970276,
-0.0667954832315445,
0.3353654146194458,
0.213511124253273,
0.31525853276252747,
-0.17654907703399658,
0.129131019115448,
0.49571606516838074,
0.2906999886035919,
-0.05498655140399933,
-0.24419835209846497,
0.26639366149902344,
-0.11967403441667557,
0.08303576707839966,
-0.3069881200790405,
-0.30753180384635925,
-0.22979842126369476,
0.05601518228650093,
-0.12684109807014465,
-0.15201528370380402,
0.4398479163646698,
0.2558344602584839,
-0.014403089880943298,
-0.35070663690567017,
0.14712320268154144,
0.10562678426504135,
0.4366294741630554,
-0.3305434286594391,
0.2754112780094147,
0.3738073706626892,
-0.3382335603237152,
-0.053336840122938156,
0.5066887736320496,
0.5380124449729919,
0.13187475502490997,
-0.27605703473091125,
0.13243839144706726,
-0.04947972670197487,
-0.05378030240535736,
0.03741796687245369,
0.2251749485731125,
0.17663460969924927,
0.13716760277748108,
0.03597639501094818,
0.16847963631153107,
-0.14464274048805237,
-0.09392803907394409,
-0.02400510385632515,
-0.00754961185157299,
-0.010114374570548534,
0.07169924676418304,
0.19232508540153503,
-0.4000629186630249,
0.10774587839841843,
0.15826457738876343,
-0.03501560539007187,
-0.295269638299942,
0.28570377826690674,
0.10545597970485687,
-0.061583876609802246,
-0.36263030767440796,
0.1189022958278656,
0.12801100313663483,
0.6417505145072937,
0.287497878074646,
0.17344199120998383,
-0.47131285071372986,
-0.14109991490840912,
-0.3921721577644348,
0.16265325248241425,
-0.3883964717388153,
0.10478875041007996,
0.3020884692668915,
0.33634358644485474,
0.04934227839112282,
0.24769355356693268,
0.23422205448150635,
0.11411043256521225,
-0.2887648642063141,
0.6512923240661621,
-0.3848607540130615,
0.24096378684043884,
0.308238685131073,
-0.2271280735731125,
-0.14219450950622559,
-0.2954302728176117,
0.47136491537094116,
-0.2090466171503067,
0.10981977730989456,
0.10618054866790771,
-0.07362212240695953,
0.5277954339981079,
0.0940207839012146,
0.3452129065990448,
0.08890669047832489,
0.18468007445335388,
0.11879745870828629,
-0.08696535974740982,
-0.04872448369860649,
-0.033383820205926895,
-0.3126399517059326,
0.14075890183448792,
0.25504687428474426,
0.28099119663238525,
0.22361993789672852,
0.0576140359044075,
-0.30032074451446533,
0.2537969946861267,
-0.1632222831249237,
0.10236586630344391,
-0.07372769713401794,
0.14736084640026093,
0.015137813985347748,
-0.0048093949444592,
-0.047967202961444855,
-0.0011629089713096619,
-0.04212088882923126,
-0.12008645385503769,
-0.5371227860450745,
-0.5291017293930054,
0.31392961740493774,
-0.4187474846839905,
0.026767220348119736,
-0.033132169395685196,
0.15728625655174255,
0.2521602511405945,
-0.08740250021219254,
-0.5632132291793823,
0.005485698580741882,
0.32425057888031006,
0.030428897589445114,
0.026099931448698044,
0.02874133177101612,
0.064539834856987,
0.17021381855010986,
-0.04759564623236656,
0.17727597057819366,
-0.10317368060350418,
0.06117434799671173,
-0.24548381567001343,
-0.36786991357803345
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | @lhoestq Thanks for the help with the CI failures. Apologies for the multiple merge commits. My local repo got messy while merging which led to this.
Will be pushing the commit for the tests soon! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 35 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
@lhoestq Thanks for the help with the CI failures. Apologies for the multiple merge commits. My local repo got messy while merging which led to this.
Will be pushing the commit for the tests soon! | [
-0.2512265145778656,
0.17552927136421204,
-0.05100777745246887,
0.1933908611536026,
0.010699566453695297,
-0.05457283556461334,
0.13415448367595673,
0.2290184050798416,
-0.29035329818725586,
0.14747990667819977,
0.23428109288215637,
0.45994699001312256,
-0.07199925929307938,
0.12245089560747147,
0.14363572001457214,
-0.050638407468795776,
0.11665350943803787,
0.19775184988975525,
0.0836820974946022,
0.038743458688259125,
-0.19976286590099335,
0.23138046264648438,
-0.022224415093660355,
0.030899357050657272,
-0.370947003364563,
-0.19253872334957123,
-0.14112146198749542,
0.21357661485671997,
-0.3958019018173218,
-0.45167064666748047,
-0.05191429331898689,
0.3269539475440979,
-0.25756269693374634,
0.3327929973602295,
-0.00011030733003281057,
-0.028800342231988907,
0.38840484619140625,
0.16073709726333618,
-0.34520915150642395,
0.07094376534223557,
-0.2722458243370056,
-0.07691233605146408,
-0.10745939612388611,
-0.003329940140247345,
0.21732279658317566,
-0.4053073823451996,
-0.05227120965719223,
-0.07223539054393768,
0.5437102317810059,
-0.020360905677080154,
0.21922367811203003,
-0.1029156893491745,
0.6147443056106567,
-0.15291829407215118,
0.27171480655670166,
0.2708609104156494,
-0.26536765694618225,
0.030144836753606796,
0.18513600528240204,
0.2820449769496918,
-0.1424664855003357,
0.36710527539253235,
0.35056883096694946,
0.018413269892334938,
0.33075231313705444,
-0.04114431515336037,
0.11722442507743835,
-0.11574973165988922,
0.21671700477600098,
0.22119253873825073,
0.4553305506706238,
-0.19704553484916687,
-0.2509278953075409,
0.0030966773629188538,
-0.1264278143644333,
-0.2323135882616043,
0.37690186500549316,
0.05629730224609375,
-0.23326990008354187,
-0.1979280561208725,
-0.32170119881629944,
-0.14432157576084137,
-0.20205944776535034,
-0.3602728843688965,
0.12451577186584473,
0.01062718778848648,
0.16093307733535767,
0.0289854034781456,
0.35342228412628174,
0.0011737160384654999,
0.2636866271495819,
-0.17942450940608978,
-0.44581112265586853,
0.04120649769902229,
-0.04006917402148247,
-0.26931101083755493,
-0.06531327217817307,
0.1927908957004547,
0.2185138463973999,
0.14649179577827454,
0.15149840712547302,
0.1463327258825302,
0.165360689163208,
-0.01167452335357666,
0.24453790485858917,
0.049435313791036606,
0.2223842442035675,
0.15989278256893158,
0.06356938928365707,
-0.022381525486707687,
-0.23001687228679657,
0.029625356197357178,
-0.07837966084480286,
-0.35961613059043884,
0.6051177382469177,
0.2333553433418274,
-0.05225585028529167,
-0.2651844918727875,
0.21566729247570038,
0.29088011384010315,
-0.05626602843403816,
-0.28000277280807495,
-0.07789471745491028,
0.1472449004650116,
0.11961041390895844,
-0.044593580067157745,
-0.12913408875465393,
-0.19741269946098328,
-0.030211906880140305,
-0.030852921307086945,
-0.17334100604057312,
-0.0043466947972774506,
-0.3086560070514679,
-0.12832151353359222,
0.29216238856315613,
-0.1404126137495041,
0.06861832737922668,
0.2687278687953949,
-0.06614650785923004,
-0.07445541024208069,
0.10313457250595093,
0.011940399184823036,
0.22086426615715027,
0.07376642525196075,
-0.16113846004009247,
-0.09537476301193237,
-0.2274373322725296,
-0.21851679682731628,
-0.10458027571439743,
0.19848594069480896,
0.0536036491394043,
-0.3872942626476288,
-0.24716930091381073,
0.2729996144771576,
-0.18502534925937653,
0.05244947224855423,
0.1136150136590004,
-0.010653112083673477,
-0.012369558215141296,
-0.013996144756674767,
0.10633958131074905,
0.23980660736560822,
0.13296690583229065,
-0.1528628021478653,
0.07458844035863876,
0.15933969616889954,
-0.4060511291027069,
0.01108008623123169,
-0.43401432037353516,
-0.07596716284751892,
-0.016796700656414032,
0.14177927374839783,
-0.18933473527431488,
0.19661659002304077,
-0.17836399376392365,
0.11212027072906494,
0.47502464056015015,
0.1156228631734848,
-0.2309899777173996,
0.32017722725868225,
-0.01813831552863121,
-0.1746591329574585,
0.39347365498542786,
0.019245879724621773,
0.1593935191631317,
-0.12822209298610687,
0.015268314629793167,
-0.22244246304035187,
-0.34808549284935,
-0.1601620465517044,
-0.4280100166797638,
-0.19725541770458221,
-0.2656642198562622,
-0.1040564775466919,
0.15975259244441986,
-0.34527742862701416,
0.1615767627954483,
-0.130132257938385,
0.028462450951337814,
-0.2003459334373474,
0.026053261011838913,
-0.025792602449655533,
0.5292851328849792,
-0.3241392970085144,
0.016122261062264442,
0.07348643988370895,
-0.21635106205940247,
0.23338505625724792,
-0.3413929343223572,
0.11910580843687057,
-0.07863834500312805,
-0.31473231315612793,
-0.1546432077884674,
0.19478309154510498,
-0.31248289346694946,
-0.1813805103302002,
0.14236681163311005,
0.04860104247927666,
-0.039995208382606506,
-0.17947861552238464,
-0.21059681475162506,
-0.3095795810222626,
-0.019242290407419205,
-0.07498112320899963,
-0.13628526031970978,
-0.17692919075489044,
-0.31599605083465576,
-0.02608269453048706,
-0.21249832212924957,
0.20869070291519165,
0.018024366348981857,
-0.011441324837505817,
-0.010243872180581093,
0.27735835313796997,
-0.03154801204800606,
0.17873910069465637,
0.2513136863708496,
0.29383957386016846,
0.14456281065940857,
-0.39227715134620667,
0.12472391873598099,
-0.14482907950878143,
-0.005009387619793415,
-0.11252418160438538,
-0.11409676820039749,
0.5178749561309814,
-0.3102591037750244,
-0.14126667380332947,
-0.008162464946508408,
-0.09283733367919922,
0.038948334753513336,
-0.20472325384616852,
-0.03649144619703293,
-0.203390434384346,
-0.012568090111017227,
-0.005990415811538696,
-0.1503346860408783,
0.3277114927768707,
0.11052344739437103,
0.2536969780921936,
0.30823779106140137,
0.027625154703855515,
0.0071554034948349,
-0.030525431036949158,
0.04431810975074768,
-0.1205020397901535,
-0.044358499348163605,
0.49851194024086,
0.20164704322814941,
0.14629992842674255,
0.18244041502475739,
0.10487476736307144,
0.15420575439929962,
-0.030561335384845734,
0.49965474009513855,
-0.20957879722118378,
-0.09842041879892349,
0.33578726649284363,
-0.2458098828792572,
-0.0018053790554404259,
-0.3500138521194458,
0.2780998647212982,
0.30763888359069824,
0.14457932114601135,
-0.0216438639909029,
-0.20434355735778809,
-0.0806560069322586,
0.0939454510807991,
-0.32981738448143005,
-0.05752398446202278,
-0.06577251851558685,
-0.2861883342266083,
0.39124709367752075,
0.03579624369740486,
-0.20286725461483002,
0.15176568925380707,
-0.04616313427686691,
0.2884121239185333,
-0.15334680676460266,
0.15810465812683105,
-0.14356519281864166,
-0.26916980743408203,
-0.16357016563415527,
0.22771808505058289,
0.4979516267776489,
-0.0691249892115593,
0.48449012637138367,
-0.05479650944471359,
0.1059093326330185,
-0.5911164879798889,
-0.3807682394981384,
0.039525460451841354,
-0.17311584949493408,
0.08052214980125427,
0.4585844576358795,
-0.14987926185131073,
-0.12959171831607819,
-0.48512792587280273,
0.16088686883449554,
-0.4087789058685303,
-0.4746333956718445,
0.18518033623695374,
-0.1503683477640152,
-0.07248887419700623,
-0.2502371072769165,
-0.24280670285224915,
0.1408773958683014,
-0.18979524075984955,
0.4934524893760681,
0.1906927525997162,
0.3343813419342041,
0.008862712420523167,
0.10889003425836563,
-0.03197379410266876,
0.00002168538048863411,
-0.1636885702610016,
-0.2144021838903427,
-0.249670147895813,
0.20550020039081573,
-0.2479156255722046,
-0.12351188063621521,
0.3571522831916809,
-0.1980358511209488,
0.2788669168949127,
-0.13040713965892792,
-0.267570436000824,
0.1533375233411789,
-0.06011132150888443,
0.4801953434944153,
0.21350905299186707,
0.26192203164100647,
0.17581848800182343,
0.3760645091533661,
-0.2867869734764099,
-0.10895708203315735,
-0.01074950024485588,
0.15358099341392517,
-0.25156643986701965,
0.45128095149993896,
-0.06438387930393219,
0.2309606671333313,
-0.15541599690914154,
0.8602204322814941,
0.23160898685455322,
-0.11112833023071289,
0.11344317346811295,
0.12352845072746277,
0.13171198964118958,
-0.11682919412851334,
-0.20840223133563995,
0.030004287138581276,
-0.1287691593170166,
-0.05889817327260971,
0.1709684133529663,
-0.08856053650379181,
0.008055460639297962,
0.09811168909072876,
0.12430521845817566,
-0.19036495685577393,
-0.3271788954734802,
0.3384159803390503,
-0.47250688076019287,
0.05201048403978348,
-0.2657102644443512,
-0.12263011932373047,
-0.21837757527828217,
0.010224862024188042,
0.11490823328495026,
-0.10613763332366943,
0.22007113695144653,
-0.2608017921447754,
-0.008897282183170319,
-0.021070126444101334,
-0.21569111943244934,
0.33049729466438293,
0.04607398808002472,
0.06773823499679565,
-0.11538887768983841,
-0.11528468877077103,
0.08437006175518036,
-0.11261381208896637,
0.3983811140060425,
-0.5150594711303711,
0.03188060596585274,
0.09467342495918274,
-0.07308720797300339,
0.2950958013534546,
-0.1003931313753128,
-0.0532192699611187,
0.3518713116645813,
-0.15854673087596893,
0.04297458007931709,
-0.5129467844963074,
0.03776230290532112,
0.3009655773639679,
-0.22222714126110077,
-0.0871405228972435,
-0.13061417639255524,
-0.19165173172950745,
-0.005415920168161392,
-0.13545672595500946,
0.16031712293624878,
0.0767800584435463,
0.13683123886585236,
-0.2630137503147125,
0.02181703969836235,
-0.024506954476237297,
0.04525899142026901,
0.22617149353027344,
0.01284741796553135,
0.26508620381355286,
-0.1034967303276062,
0.1801995038986206,
-0.06069511920213699,
-0.10094483196735382,
0.0809764489531517,
0.5087521076202393,
-0.017012163996696472,
-0.02840723842382431,
-0.03248067945241928,
-0.3323648273944855,
0.017338737845420837,
0.3318405747413635,
-0.038740817457437515,
0.18632468581199646,
0.3071981370449066,
-0.022208653390407562,
-0.08949213474988937,
-0.46597379446029663,
0.08537112176418304,
0.0457281656563282,
-0.16486479341983795,
-0.08228517323732376,
0.15494459867477417,
0.1295660436153412,
-0.22769379615783691,
0.4888080060482025,
0.3217448592185974,
-0.149208202958107,
0.21949076652526855,
0.3749519884586334,
1.0236746072769165,
0.17388437688350677,
-0.1278829276561737,
-0.2826351523399353,
-0.3173443078994751,
0.03557087108492851,
-0.08218816667795181,
-0.0305965356528759,
-0.38981541991233826,
-0.02323491871356964,
-0.017075367271900177,
-0.14805161952972412,
0.22459882497787476,
0.014399580657482147,
-0.4179896414279938,
-0.11989790946245193,
0.019609712064266205,
0.28081417083740234,
0.09239634871482849,
0.4164385199546814,
-0.5707504153251648,
0.19414283335208893,
0.22760362923145294,
0.13868092000484467,
0.20537874102592468,
-0.09823717176914215,
-0.1990654170513153,
-0.3109418749809265,
0.09470945596694946,
-0.37147092819213867,
-0.5333902835845947,
-0.13918742537498474,
-0.2444731444120407,
0.04432916268706322,
0.1795826256275177,
-0.08493798226118088,
0.36708685755729675,
-0.06440722942352295,
0.7023854851722717,
0.10319848358631134,
-0.12908346951007843,
0.22664475440979004,
0.4052680730819702,
0.22849677503108978,
-0.05700553581118584,
-0.21792951226234436,
0.13628067076206207,
-0.20447346568107605,
-0.1760207712650299,
-0.008830398321151733,
-0.17111387848854065,
-0.3357303738594055,
0.028004363179206848,
-0.0879683792591095,
-0.08349072933197021,
-0.28816109895706177,
0.31442326307296753,
-0.16422691941261292,
-0.5168431997299194,
-0.23723946511745453,
0.17932115495204926,
0.06268168985843658,
-0.3780999183654785,
0.19798195362091064,
-0.1139250248670578,
0.05489836633205414,
0.09631812572479248,
-0.15021777153015137,
0.20797491073608398,
0.2355208694934845,
0.2587612271308899,
0.00899617001414299,
-0.04165263846516609,
-0.4324316680431366,
-0.08017684519290924,
0.4285362958908081,
-0.6330000162124634,
0.14543817937374115,
-0.04924148693680763,
-0.2881370782852173,
0.20218181610107422,
0.61776202917099,
0.4043412208557129,
0.6798803210258484,
-0.19273491203784943,
0.08414356410503387,
-0.33216673135757446,
0.18109753727912903,
-0.03380801901221275,
0.46999576687812805,
-0.3962085247039795,
0.1381634622812271,
0.0542694553732872,
0.5002707242965698,
-0.40845802426338196,
0.05159113556146622,
-0.14871202409267426,
0.0685717761516571,
-0.5876915454864502,
-0.2869477868080139,
-0.12730935215950012,
-0.19823765754699707,
0.13612237572669983,
0.19844816625118256,
-0.42332035303115845,
-0.15910908579826355,
0.17242489755153656,
0.13889485597610474,
-0.09394343942403793,
0.059845663607120514,
-0.009541163221001625,
0.28779280185699463,
0.06423510611057281,
0.2702312767505646,
0.07711893320083618,
-0.2787114381790161,
-0.06306755542755127,
0.07070568948984146,
0.40411365032196045,
0.14301323890686035,
-0.2798289954662323,
-0.18340349197387695,
-0.1077892929315567,
0.5086565613746643,
0.019067518413066864,
0.04454193636775017,
-0.1607780158519745,
-0.23664472997188568,
0.22758077085018158,
0.2739852964878082,
0.007089652121067047,
-0.04342141002416611,
0.2533932626247406,
-0.05209372192621231,
-0.4306342899799347,
0.0232516061514616,
0.4123586118221283,
0.18080204725265503,
-0.055858876556158066,
-0.14502745866775513,
-0.15346765518188477,
0.2821913957595825,
-0.17771516740322113,
-0.12748949229717255,
-0.11666311323642731,
-0.11586738377809525,
0.09207881987094879,
0.1874966323375702,
0.40528613328933716,
-0.3142108917236328,
-0.11123207211494446,
0.2094305455684662,
-0.11141674965620041,
-0.39953356981277466,
0.27055883407592773,
0.5840274095535278,
-0.23028379678726196,
-0.034258220344781876,
0.4465816915035248,
-0.08311671018600464,
-0.14815330505371094,
-0.16431361436843872,
-0.37698620557785034,
0.3244878053665161,
0.15218482911586761,
0.3038771450519562,
0.38617563247680664,
-0.02270938828587532,
0.6027965545654297,
0.05569307506084442,
0.22554349899291992,
0.013519532978534698,
0.22524380683898926,
0.2947847247123718,
-0.0048364875838160515,
-0.01665186695754528,
-0.3768758177757263,
0.11414684355258942,
-0.1403636336326599,
0.0006955517455935478,
-0.435512512922287,
-0.3401504158973694,
-0.3092285394668579,
0.006436266005039215,
-0.08308035135269165,
0.16149860620498657,
0.3016343116760254,
0.11732570827007294,
-0.00450260192155838,
-0.16503684222698212,
0.28754550218582153,
0.00885593332350254,
0.4823816120624542,
-0.40468502044677734,
0.3709811568260193,
0.40860146284103394,
-0.14107219874858856,
0.0711478590965271,
0.5844155550003052,
0.4794428050518036,
0.07392522692680359,
-0.17907311022281647,
0.19837787747383118,
0.06688381731510162,
-0.1463560163974762,
-0.028286390006542206,
0.36505937576293945,
0.0188848078250885,
-0.04251400753855705,
-0.0011569606140255928,
0.17327474057674408,
-0.12691687047481537,
-0.08535522222518921,
-0.06591255962848663,
-0.1087036281824112,
0.10415701568126678,
0.16774946451187134,
0.30539703369140625,
-0.30489349365234375,
0.09022943675518036,
0.24265512824058533,
-0.06521087884902954,
-0.5666706562042236,
0.30534180998802185,
-0.10026863217353821,
0.012958092615008354,
-0.3624309003353119,
0.13149498403072357,
0.09148012101650238,
0.5911741852760315,
0.25181734561920166,
-0.008715033531188965,
-0.4273771047592163,
-0.2103467434644699,
-0.4566059708595276,
0.11890318989753723,
-0.05146243795752525,
-0.026816576719284058,
0.2080388069152832,
0.344637930393219,
0.225176602602005,
0.14479197561740875,
0.20704233646392822,
0.09454939514398575,
-0.15287762880325317,
0.5127996206283569,
-0.3881489336490631,
0.3185277283191681,
0.47597163915634155,
-0.14118877053260803,
-0.06473730504512787,
-0.28803494572639465,
0.3809839189052582,
0.12693770229816437,
0.1223921850323677,
0.15541242063045502,
-0.16934898495674133,
0.4952753186225891,
0.021005088463425636,
0.19431327283382416,
0.2024114578962326,
0.2016509622335434,
0.05090288817882538,
-0.1599656194448471,
0.02072790637612343,
0.06832072883844376,
-0.2806621491909027,
0.15274712443351746,
0.41032394766807556,
0.3180529475212097,
0.20419755578041077,
0.15385405719280243,
-0.17154079675674438,
-0.068293496966362,
-0.15086224675178528,
0.14364095032215118,
-0.3334256112575531,
0.13511694967746735,
-0.056431591510772705,
0.047049686312675476,
0.030945617705583572,
0.15846316516399384,
-0.01698150485754013,
-0.13263456523418427,
-0.417755126953125,
-0.4516409635543823,
0.34527498483657837,
-0.08678741753101349,
-0.0479259230196476,
-0.047984302043914795,
0.26237642765045166,
0.23135271668434143,
-0.028057822957634926,
-0.6503612399101257,
-0.10197734832763672,
0.16816847026348114,
-0.12257925420999527,
0.09692628681659698,
0.06486740708351135,
0.004491015337407589,
0.14673328399658203,
-0.14024700224399567,
0.240472212433815,
-0.0827949270606041,
0.08643718808889389,
-0.31583645939826965,
-0.31805771589279175
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Hey @lhoestq, I've just added the required tests for checking key duplicates and invalid key data types.
I think we have caught a nice little issue as 27 datasets are currently using non-unique keys (hence, the failing tests: All these datasets are giving `DuplicateKeysError` during testing).
These datasets were not detected earlier as there was no key checking when `num_examples < writer_batch_size` due to which they passed the dummy data generation test. This bug was fixed by adding the test to `writer.finalize()` method as well for checking any leftover examples from batches.
I'd like to make changes to the faulty datasets' scripts. However, I was wondering if I should do that in this PR itself or open a new PR as this might get messy in the same PR. Let me know your thoughts on this. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 137 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Hey @lhoestq, I've just added the required tests for checking key duplicates and invalid key data types.
I think we have caught a nice little issue as 27 datasets are currently using non-unique keys (hence, the failing tests: All these datasets are giving `DuplicateKeysError` during testing).
These datasets were not detected earlier as there was no key checking when `num_examples < writer_batch_size` due to which they passed the dummy data generation test. This bug was fixed by adding the test to `writer.finalize()` method as well for checking any leftover examples from batches.
I'd like to make changes to the faulty datasets' scripts. However, I was wondering if I should do that in this PR itself or open a new PR as this might get messy in the same PR. Let me know your thoughts on this. Thanks! | [
-0.16815343499183655,
0.12026123702526093,
-0.01151016354560852,
0.1510833352804184,
-0.14560088515281677,
0.13313305377960205,
0.1959870308637619,
0.14490284025669098,
-0.23515672981739044,
-0.03194509446620941,
0.3481285274028778,
0.3009272515773773,
-0.20265187323093414,
0.0684845820069313,
0.37858816981315613,
-0.011704623699188232,
0.13285453617572784,
0.11253932118415833,
0.3752197325229645,
0.20446468889713287,
-0.3881814777851105,
0.05278943479061127,
-0.011185452342033386,
0.2122926563024521,
-0.3203757703304291,
-0.40232837200164795,
-0.2800252139568329,
0.25336652994155884,
-0.061614133417606354,
-0.6280848979949951,
-0.04847170040011406,
0.3944026529788971,
-0.018803922459483147,
0.24543312191963196,
-0.00012292344763409346,
-0.13675883412361145,
0.2639545202255249,
0.1395963579416275,
-0.010048598982393742,
0.28130078315734863,
-0.2656436860561371,
-0.011535161174833775,
-0.23896121978759766,
0.03439135104417801,
0.3457716107368469,
-0.6594616770744324,
-0.0554407462477684,
-0.06023447960615158,
0.449984073638916,
0.1754755973815918,
0.08410598337650299,
0.026164475828409195,
0.3774920105934143,
-0.03084125742316246,
0.2169257402420044,
0.1409989595413208,
-0.0454101487994194,
-0.07475803792476654,
0.2550688683986664,
0.16775169968605042,
-0.1420508623123169,
0.3140087127685547,
0.21031275391578674,
-0.04626314714550972,
0.34676361083984375,
-0.10467608273029327,
0.1570264995098114,
-0.13548338413238525,
0.12184806168079376,
0.08131539076566696,
0.3971758186817169,
-0.371024489402771,
-0.4144872725009918,
-0.24358153343200684,
-0.08707228302955627,
-0.33262282609939575,
0.3472672700881958,
0.008258703164756298,
-0.16744263470172882,
-0.07684707641601562,
-0.1998242437839508,
-0.199926495552063,
-0.10815119743347168,
-0.29377758502960205,
0.08454428613185883,
-0.1540950983762741,
0.28275635838508606,
0.12125661969184875,
0.276169091463089,
0.0453922376036644,
0.35088106989860535,
-0.3171587586402893,
-0.42185473442077637,
-0.17085835337638855,
0.10788386315107346,
-0.28328531980514526,
0.08604831248521805,
0.20042067766189575,
0.33674508333206177,
0.13289879262447357,
0.18085448443889618,
0.09816247224807739,
0.1308387964963913,
-0.12096501141786575,
0.27906331419944763,
0.11175133287906647,
0.24989983439445496,
0.3409523069858551,
0.0029164589941501617,
0.1146477684378624,
-0.14377905428409576,
-0.0119168721139431,
0.041410308331251144,
-0.45391321182250977,
0.7575171589851379,
0.4607017934322357,
0.018608566373586655,
-0.3087097406387329,
0.060389064252376556,
0.46262145042419434,
-0.06423725932836533,
-0.3534789979457855,
-0.06805188953876495,
0.13553288578987122,
0.21240468323230743,
0.2610068917274475,
-0.032589755952358246,
-0.13203851878643036,
-0.07098313421010971,
0.06595142930746078,
-0.022831380367279053,
0.10054396092891693,
-0.28653818368911743,
0.04754187911748886,
0.17308467626571655,
0.05762274190783501,
0.09509109705686569,
0.19244250655174255,
-0.011147163808345795,
-0.12145359814167023,
0.07877309620380402,
-0.03896670043468475,
0.26729992032051086,
0.036820005625486374,
-0.28523367643356323,
-0.10783311724662781,
-0.33045995235443115,
-0.16197657585144043,
-0.1119515672326088,
0.4651747941970825,
0.19560185074806213,
-0.45523232221603394,
0.1269647777080536,
0.10314877331256866,
-0.3202317953109741,
-0.0615229532122612,
0.12710040807724,
-0.026107143610715866,
-0.02624005824327469,
-0.2411266714334488,
0.14472107589244843,
-0.012963499873876572,
0.07627247273921967,
-0.1644502580165863,
-0.10373108088970184,
0.4348835349082947,
-0.4202895164489746,
0.17164839804172516,
-0.24095813930034637,
0.05107615888118744,
0.053512200713157654,
0.14777326583862305,
-0.1886870414018631,
0.44925716519355774,
-0.18306438624858856,
-0.1341150999069214,
0.2726282477378845,
-0.030988983809947968,
-0.10702131688594818,
0.1818707138299942,
0.0331500843167305,
0.007622899487614632,
0.5882083773612976,
-0.02102758176624775,
-0.04792024567723274,
-0.12370717525482178,
0.09374123811721802,
-0.47315192222595215,
-0.45348235964775085,
-0.17179758846759796,
-0.5025097727775574,
-0.14433982968330383,
-0.13703425228595734,
-0.15192663669586182,
0.31386834383010864,
-0.15156912803649902,
-0.12635374069213867,
0.002431754022836685,
-0.015506654977798462,
-0.139180988073349,
0.037973836064338684,
-0.046468742191791534,
0.4385092854499817,
-0.28687942028045654,
-0.053467120975255966,
-0.06300798058509827,
-0.23846298456192017,
0.26637110114097595,
-0.3766171932220459,
-0.19317804276943207,
-0.03485898673534393,
-0.3458355665206909,
-0.20704591274261475,
0.10429263859987259,
-0.2746087908744812,
-0.28110313415527344,
-0.06006728112697601,
0.19808143377304077,
-0.008774684742093086,
-0.2590959668159485,
-0.34187617897987366,
-0.29098671674728394,
-0.024984661489725113,
-0.08999553322792053,
-0.28796011209487915,
-0.12664155662059784,
-0.29004165530204773,
-0.04138963297009468,
-0.1871023327112198,
0.3237902522087097,
0.09661868959665298,
0.06021348387002945,
0.04705671966075897,
0.2916484773159027,
0.03541036322712898,
0.21231859922409058,
0.24631017446517944,
0.3116861581802368,
0.09291905909776688,
-0.355659544467926,
0.11639705300331116,
-0.15653470158576965,
-0.030352003872394562,
0.051539622247219086,
-0.18452784419059753,
0.7580561637878418,
-0.23536236584186554,
-0.06509999185800552,
-0.055053383111953735,
-0.23782038688659668,
-0.14317265152931213,
-0.3230438232421875,
-0.18147946894168854,
-0.07943383604288101,
0.06419853866100311,
0.06452889740467072,
-0.1052650660276413,
0.2226155698299408,
-0.1141158938407898,
0.19687792658805847,
0.23094046115875244,
-0.07601773738861084,
-0.16358160972595215,
0.07017825543880463,
0.3206689953804016,
-0.07570646703243256,
-0.0018230471760034561,
0.4520808756351471,
0.303424596786499,
0.11935741454362869,
-0.10369478166103363,
0.07216022163629532,
0.12466299533843994,
-0.04264695942401886,
0.3081161081790924,
-0.02174120396375656,
-0.24783207476139069,
0.4516892731189728,
-0.14490655064582825,
0.07120292633771896,
-0.22841882705688477,
0.3143328130245209,
0.2463349997997284,
0.17408157885074615,
-0.22994570434093475,
-0.12343787401914597,
-0.14416863024234772,
0.05529745668172836,
-0.47609156370162964,
0.2698846459388733,
0.1237841546535492,
-0.1828380674123764,
0.4067607522010803,
-0.22612059116363525,
-0.19699615240097046,
0.09364841878414154,
0.04956866428256035,
0.3273298144340515,
-0.35816943645477295,
0.21287478506565094,
-0.16511937975883484,
-0.33748871088027954,
-0.19360440969467163,
0.10371305048465729,
0.5083160400390625,
-0.008188324980437756,
0.57306969165802,
-0.1457841992378235,
-0.06770753860473633,
-0.6985568404197693,
-0.3689280152320862,
-0.006849639117717743,
-0.015717890113592148,
0.1430458128452301,
0.4230136275291443,
-0.05802243947982788,
-0.07654161751270294,
-0.521213948726654,
0.17368902266025543,
-0.4764227569103241,
-0.21918587386608124,
0.07395657151937485,
-0.08143635839223862,
0.11187966912984848,
-0.06561101973056793,
-0.4178464114665985,
0.10409234464168549,
-0.05559989809989929,
0.4743689298629761,
0.19120171666145325,
0.23731286823749542,
-0.21527259051799774,
0.09503324329853058,
-0.17698363959789276,
-0.13265740871429443,
-0.18934744596481323,
-0.04181409627199173,
-0.16177010536193848,
0.033789437264204025,
-0.05594164878129959,
-0.15174870193004608,
0.19906753301620483,
-0.3250465989112854,
-0.0031426921486854553,
-0.008594147861003876,
-0.36587297916412354,
-0.24712997674942017,
0.0402461513876915,
0.49944114685058594,
0.1445242166519165,
0.16180168092250824,
0.22386659681797028,
0.40466126799583435,
-0.11391589045524597,
-0.08366383612155914,
-0.16345404088497162,
-0.03184876590967178,
-0.05785372853279114,
0.45060256123542786,
0.15669092535972595,
0.37198781967163086,
-0.24187393486499786,
0.8095291256904602,
0.3289308547973633,
-0.1986565738916397,
0.014317762106657028,
0.006460204720497131,
0.21748201549053192,
-0.10586147755384445,
-0.2904779016971588,
-0.16314394772052765,
-0.07198275625705719,
-0.1370939165353775,
0.06281173974275589,
-0.08636794239282608,
0.15220223367214203,
0.17259904742240906,
0.305052250623703,
-0.4054719805717468,
-0.3123566508293152,
0.39002126455307007,
-0.48035669326782227,
0.2445288598537445,
-0.1552060842514038,
-0.11033572256565094,
-0.4587043225765228,
0.005313551053404808,
0.08127257227897644,
0.11361038684844971,
0.40491434931755066,
-0.2778633236885071,
-0.19173653423786163,
-0.025982851162552834,
-0.24159863591194153,
0.4149157404899597,
0.08377840369939804,
0.350676953792572,
-0.1306808590888977,
0.012249097228050232,
0.10378280282020569,
-0.2565348446369171,
0.43783724308013916,
-0.7075958847999573,
-0.10331639647483826,
0.03761045262217522,
0.04134782403707504,
0.23761527240276337,
-0.0868835374712944,
-0.12955164909362793,
0.26353511214256287,
-0.2042984962463379,
0.07001572847366333,
-0.4653168320655823,
-0.015025811269879341,
0.1970635950565338,
0.07203149795532227,
-0.1427398920059204,
-0.15935148298740387,
-0.17246833443641663,
-0.2618706226348877,
-0.37090545892715454,
0.23369696736335754,
0.05952431261539459,
-0.07085009664297104,
-0.25477632880210876,
0.12357613444328308,
0.05938057601451874,
-0.0021323077380657196,
0.23894992470741272,
-0.07076172530651093,
0.2141914665699005,
0.07835453748703003,
0.21925950050354004,
-0.10413439571857452,
-0.2129802703857422,
0.35502955317497253,
0.33101361989974976,
-0.10327330231666565,
-0.024728208780288696,
-0.09649887681007385,
-0.28199633955955505,
0.11658204346895218,
0.5836173892021179,
-0.039348989725112915,
0.2689962685108185,
0.348213791847229,
0.06749880313873291,
-0.107589490711689,
-0.408376008272171,
0.2138947993516922,
0.1210632398724556,
-0.19759762287139893,
-0.28981345891952515,
0.04629647731781006,
0.2823936641216278,
-0.26943543553352356,
0.30970436334609985,
0.13433483242988586,
-0.17677858471870422,
0.3648673892021179,
0.26797187328338623,
1.0463802814483643,
0.00850098580121994,
-0.06257733702659607,
-0.21319419145584106,
-0.20624816417694092,
0.11946176737546921,
-0.12164252251386642,
-0.01569102331995964,
-0.28010618686676025,
0.05635516718029976,
-0.042379602789878845,
-0.10107287764549255,
0.3454897701740265,
-0.046551793813705444,
-0.29452815651893616,
0.10437522083520889,
0.09369033575057983,
0.07848818600177765,
0.20090027153491974,
0.36802810430526733,
-0.4376828372478485,
0.3440805673599243,
0.1842089146375656,
-0.10390744358301163,
0.15659508109092712,
0.02665446698665619,
-0.26509422063827515,
-0.2534915804862976,
0.07471095025539398,
-0.4001423120498657,
-0.5590513348579407,
-0.47157153487205505,
-0.27279430627822876,
-0.1497177928686142,
0.14108943939208984,
-0.15318593382835388,
0.3642256557941437,
0.26165759563446045,
0.8065115809440613,
0.011563479900360107,
0.033889077603816986,
0.10485322773456573,
0.41651344299316406,
0.225872203707695,
-0.050243526697158813,
-0.13364438712596893,
0.10457976162433624,
-0.14198389649391174,
-0.30458107590675354,
0.15035833418369293,
-0.20571595430374146,
-0.3504441976547241,
-0.24263626337051392,
-0.06534034013748169,
0.09110410511493683,
-0.31538280844688416,
0.17388075590133667,
-0.1510835886001587,
-0.5019936561584473,
-0.29305270314216614,
0.0604763925075531,
0.10293061286211014,
-0.16714677214622498,
0.3233948349952698,
-0.30628716945648193,
0.05864652991294861,
-0.0057626888155937195,
-0.3217999339103699,
0.1697862446308136,
0.19319230318069458,
0.3061943054199219,
0.01792250946164131,
0.10082510113716125,
-0.2666914165019989,
0.004984371364116669,
0.41787782311439514,
-0.6409624218940735,
0.08371294289827347,
-0.018466120585799217,
-0.15485604107379913,
0.20232456922531128,
0.37567704916000366,
0.5803113579750061,
0.38427793979644775,
-0.09686274081468582,
0.14164109528064728,
-0.30243605375289917,
0.24884161353111267,
0.33864250779151917,
0.374858021736145,
-0.34191372990608215,
0.4284001290798187,
-0.09597525000572205,
0.3996931314468384,
-0.24763906002044678,
0.021297752857208252,
-0.21270932257175446,
0.1546608805656433,
-0.4843718707561493,
-0.16953632235527039,
-0.2684275805950165,
-0.23533594608306885,
-0.005538653582334518,
0.16813114285469055,
-0.2827949523925781,
-0.04061076045036316,
0.2523271143436432,
0.2145334631204605,
0.03155925124883652,
0.04974818229675293,
0.011205251328647137,
0.2872242331504822,
0.3170420825481415,
0.3164326250553131,
-0.04221278429031372,
-0.16211169958114624,
-0.0674242228269577,
0.18143299221992493,
0.31161120533943176,
0.17880505323410034,
-0.21873459219932556,
-0.08727593719959259,
-0.27510297298431396,
0.4854125380516052,
0.06305596232414246,
0.1639748215675354,
-0.027089392766356468,
-0.11624399572610855,
0.0792769119143486,
0.15291273593902588,
0.0861305445432663,
0.08615070581436157,
0.07258813083171844,
0.012163646519184113,
-0.33069735765457153,
0.06294211000204086,
0.2944178283214569,
0.4107741713523865,
-0.09276874363422394,
-0.0650806874036789,
-0.19766905903816223,
0.10221332311630249,
-0.1565595120191574,
0.09960836917161942,
-0.10184183716773987,
-0.21119028329849243,
0.026909295469522476,
0.3497055768966675,
0.5226432085037231,
-0.2335444539785385,
-0.04968619346618652,
0.28143376111984253,
-0.05117962509393692,
-0.4598681330680847,
0.1665051132440567,
0.5465518236160278,
-0.05887983366847038,
0.0059831105172634125,
0.41280025243759155,
0.09185104072093964,
-0.288363516330719,
-0.39185822010040283,
-0.2009485960006714,
0.41077518463134766,
0.19796818494796753,
0.32349979877471924,
0.2235272228717804,
-0.19813860952854156,
0.6937417984008789,
-0.04530125856399536,
0.2848774790763855,
0.027102846652269363,
0.337354451417923,
0.4484042227268219,
0.046995148062705994,
-0.020345676690340042,
-0.20498259365558624,
0.027399234473705292,
0.02505955845117569,
-0.068036288022995,
-0.492949515581131,
-0.33957141637802124,
-0.1471075713634491,
0.1014442890882492,
-0.08052246272563934,
0.08106478303670883,
0.2883208990097046,
0.06195882335305214,
-0.1351698637008667,
-0.13071371614933014,
0.2582336366176605,
-0.22582343220710754,
0.6003478765487671,
-0.29776066541671753,
0.31623610854148865,
0.35090458393096924,
-0.18966612219810486,
0.3017699122428894,
0.6470058560371399,
0.4854728877544403,
0.003061242401599884,
-0.26039454340934753,
0.22581371665000916,
-0.06170494481921196,
-0.053976625204086304,
0.10923387110233307,
0.37894317507743835,
-0.1314018815755844,
-0.01807979866862297,
0.02481710910797119,
0.08058032393455505,
-0.010730309411883354,
-0.14035655558109283,
-0.07561399042606354,
-0.2419642210006714,
-0.15469834208488464,
0.35976532101631165,
0.22684957087039948,
-0.4322430193424225,
0.2031187117099762,
0.2700609564781189,
0.04474439471960068,
-0.5337375402450562,
0.39400365948677063,
-0.08275583386421204,
-0.021483605727553368,
-0.13277362287044525,
0.06893526017665863,
-0.0647011548280716,
0.45579198002815247,
0.34580498933792114,
-0.04506215453147888,
-0.6718109250068665,
0.04505591094493866,
-0.6136553883552551,
0.25158149003982544,
-0.09156616032123566,
-0.07114773988723755,
0.44204479455947876,
0.052820250391960144,
0.10264009982347488,
0.1826569139957428,
0.0874146968126297,
0.12539689242839813,
-0.2504270672798157,
0.6511331796646118,
-0.43339890241622925,
0.3814179599285126,
0.49583250284194946,
0.08354698866605759,
-0.05096594989299774,
-0.34294071793556213,
0.3519515097141266,
0.16967330873012543,
-0.05473311245441437,
0.16786712408065796,
-0.1395709216594696,
0.43488746881484985,
0.01835506036877632,
0.2601078450679779,
0.18732333183288574,
0.45311978459358215,
0.06281041353940964,
-0.21567894518375397,
0.04822283983230591,
-0.109889917075634,
-0.2226041555404663,
0.16368362307548523,
0.1649957001209259,
0.2561342120170593,
0.14251579344272614,
0.0058973804116249084,
-0.16101978719234467,
-0.21183444559574127,
-0.019741453230381012,
0.21202339231967926,
-0.21601398289203644,
0.10485606640577316,
0.01921461522579193,
-0.016622984781861305,
0.20647284388542175,
0.4344126284122467,
0.04583894461393356,
-0.07367396354675293,
-0.47650521993637085,
-0.3596040904521942,
0.3764030337333679,
-0.1408402919769287,
0.1574174165725708,
0.04328485578298569,
0.25775641202926636,
0.04669602960348129,
-0.016455596312880516,
-0.6610338687896729,
-0.14069800078868866,
0.22446313500404358,
-0.13663765788078308,
0.023572631180286407,
-0.042997412383556366,
-0.16812023520469666,
-0.11600126326084137,
0.09656111896038055,
0.05046574026346207,
-0.1420750916004181,
0.003692684695124626,
-0.13824449479579926,
-0.208245649933815
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Hi ! Once https://github.com/huggingface/datasets/pull/2333 is merged, feel free to merge master into your branch to fix the CI :) | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 19 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Hi ! Once https://github.com/huggingface/datasets/pull/2333 is merged, feel free to merge master into your branch to fix the CI :) | [
-0.20789793133735657,
0.019160330295562744,
-0.0024589281529188156,
0.2969006896018982,
0.1055062785744667,
0.03012826293706894,
0.12335218489170074,
0.18677665293216705,
-0.2421531081199646,
0.13638825714588165,
0.07460397481918335,
0.42731356620788574,
-0.10426055639982224,
0.2873457372188568,
0.20185859501361847,
-0.03448396176099777,
0.08742453157901764,
0.1497116982936859,
0.005878478288650513,
0.07139182090759277,
-0.11622654646635056,
0.25687018036842346,
0.04043692350387573,
-0.027250729501247406,
-0.42016077041625977,
-0.20150604844093323,
-0.16941148042678833,
0.2290951907634735,
-0.42265889048576355,
-0.4052014946937561,
0.07335368543863297,
0.3672139644622803,
-0.21567711234092712,
0.4226152002811432,
-0.00011184794129803777,
-0.01608782634139061,
0.39088839292526245,
0.15098324418067932,
-0.38187167048454285,
-0.05708935856819153,
-0.2613759934902191,
-0.17803023755550385,
-0.05321354418992996,
-0.0027086660265922546,
0.15540465712547302,
-0.3689524531364441,
-0.13035403192043304,
-0.05769071727991104,
0.6516538858413696,
-0.06806647777557373,
0.197222501039505,
0.07795387506484985,
0.6389117240905762,
-0.15872463583946228,
0.25309497117996216,
0.3697589039802551,
-0.2684606611728668,
0.08757570385932922,
0.09014810621738434,
0.3229733407497406,
-0.03193221241235733,
0.4022187292575836,
0.3764627277851105,
0.037018027156591415,
0.413441002368927,
-0.020280849188566208,
-0.07760148495435715,
-0.14476531744003296,
0.13921700417995453,
0.3256813585758209,
0.39226892590522766,
-0.2725389003753662,
-0.3576138913631439,
-0.19477540254592896,
-0.1136065199971199,
-0.3004610538482666,
0.3981168866157532,
0.06950406730175018,
-0.2313092052936554,
-0.14054830372333527,
-0.36151349544525146,
-0.07805337756872177,
-0.12706655263900757,
-0.2966839671134949,
0.12971891462802887,
-0.0253685861825943,
0.0006445087492465973,
0.023653604090213776,
0.4050052762031555,
-0.06491471827030182,
0.11554794013500214,
-0.18689776957035065,
-0.38683611154556274,
0.03204721212387085,
-0.1430680900812149,
-0.3131158947944641,
-0.050701528787612915,
0.20703819394111633,
0.35805463790893555,
0.19892914593219757,
0.04996905103325844,
0.16037070751190186,
0.04110712558031082,
-0.023343078792095184,
0.28169921040534973,
0.12215219438076019,
0.20518413186073303,
0.14083673059940338,
0.1075475662946701,
0.11154855042695999,
-0.19129717350006104,
-0.01706928387284279,
0.0012108772061765194,
-0.284010648727417,
0.5396824479103088,
0.1865927278995514,
0.08181773126125336,
-0.27928146719932556,
0.23123717308044434,
0.22588935494422913,
-0.022594882175326347,
-0.27905699610710144,
-0.007205716334283352,
0.15470105409622192,
0.1111515611410141,
-0.08513224869966507,
-0.17625556886196136,
-0.12509563565254211,
0.01368970237672329,
-0.03047681599855423,
-0.17233826220035553,
-0.05539197847247124,
-0.22690390050411224,
-0.0004872651770710945,
0.2555786669254303,
-0.28363490104675293,
0.11116725951433182,
0.23549047112464905,
0.000731833279132843,
-0.08369143307209015,
0.013097358867526054,
0.0467272587120533,
0.17140522599220276,
0.08316975831985474,
-0.13388478755950928,
0.00039788149297237396,
-0.18662217259407043,
-0.1935485154390335,
-0.12834981083869934,
0.06290335208177567,
-0.007206365466117859,
-0.4434816837310791,
-0.22107426822185516,
0.21392641961574554,
-0.2848770022392273,
0.05815231055021286,
-0.06281884759664536,
0.032393068075180054,
-0.027698390185832977,
0.07881283760070801,
0.13093921542167664,
0.3388630151748657,
-0.03227106109261513,
-0.14747707545757294,
0.1518223136663437,
0.25314709544181824,
-0.3411015570163727,
-0.09375634044408798,
-0.38514572381973267,
-0.16144467890262604,
-0.13261130452156067,
0.22785839438438416,
-0.21496522426605225,
0.16535179316997528,
-0.2483622431755066,
0.16104421019554138,
0.36127790808677673,
0.0878148078918457,
-0.24368956685066223,
0.26530447602272034,
-0.05112827569246292,
-0.036665067076683044,
0.3518061339855194,
-0.03322630375623703,
0.12013482302427292,
-0.1618494689464569,
0.01597772166132927,
-0.1806836724281311,
-0.2903269827365875,
-0.20874474942684174,
-0.3529765009880066,
-0.2806151211261749,
-0.2746521234512329,
-0.0904567688703537,
0.03377324342727661,
-0.30579668283462524,
0.1615416258573532,
-0.19547078013420105,
0.05206703394651413,
-0.2374756932258606,
0.02399771846830845,
0.04184073209762573,
0.5669280290603638,
-0.22166134417057037,
-0.040230393409729004,
0.0023093484342098236,
-0.45529747009277344,
0.3022255301475525,
-0.24187661707401276,
0.10952542722225189,
-0.2474524825811386,
-0.4025089740753174,
-0.19504591822624207,
0.14726874232292175,
-0.3458141088485718,
-0.15513911843299866,
0.09797130525112152,
0.03959178924560547,
0.029426705092191696,
-0.06388579308986664,
-0.2304813712835312,
-0.1955374926328659,
-0.03222396969795227,
0.02712101861834526,
-0.2665838897228241,
-0.07611780613660812,
-0.2322421818971634,
-0.013214408420026302,
-0.14084571599960327,
0.25395825505256653,
0.07263123244047165,
-0.0519949346780777,
0.010515084490180016,
0.2793421447277069,
-0.11888512969017029,
0.2536008358001709,
0.2195306122303009,
0.35624364018440247,
0.16175833344459534,
-0.3175840377807617,
0.07175028324127197,
-0.18797282874584198,
-0.00009401747956871986,
-0.12236462533473969,
-0.20367157459259033,
0.5819717645645142,
-0.2990991175174713,
-0.15704935789108276,
0.009705327451229095,
-0.09826251119375229,
0.07731980085372925,
-0.16732847690582275,
-0.011442248709499836,
-0.25675493478775024,
-0.00192994624376297,
-0.09252512454986572,
-0.029744086787104607,
0.3391377329826355,
0.01722808927297592,
0.2582201659679413,
0.3719397485256195,
-0.023892398923635483,
0.005844440311193466,
0.020821642130613327,
-0.0018493905663490295,
-0.08733169734477997,
0.0029681436717510223,
0.4778487980365753,
0.1832856833934784,
0.16267937421798706,
0.19038105010986328,
0.21114885807037354,
0.21322624385356903,
-0.04567231982946396,
0.45458316802978516,
-0.14925451576709747,
-0.04680502414703369,
0.252623975276947,
-0.20217785239219666,
0.040039464831352234,
-0.35518500208854675,
0.3305995762348175,
0.2767518162727356,
0.18177726864814758,
-0.10973198711872101,
-0.2193824201822281,
-0.10823047161102295,
-0.04511941224336624,
-0.37128329277038574,
-0.06634391099214554,
-0.1798894852399826,
-0.3189883828163147,
0.31272149085998535,
0.1231699287891388,
-0.18117418885231018,
0.16841256618499756,
0.031023070216178894,
0.24602007865905762,
-0.13684801757335663,
0.1016228199005127,
-0.18160179257392883,
-0.20733734965324402,
-0.06153750419616699,
0.16070058941841125,
0.5772377252578735,
-0.06365655362606049,
0.4851526618003845,
-0.13417133688926697,
0.16895700991153717,
-0.6985138058662415,
-0.43311503529548645,
0.12182124704122543,
-0.2687849998474121,
0.17614014446735382,
0.4816764295101166,
-0.1096084862947464,
-0.173497274518013,
-0.35543543100357056,
0.25180134177207947,
-0.3659615218639374,
-0.5247138738632202,
0.13593462109565735,
-0.1430920660495758,
-0.03783974051475525,
-0.24312329292297363,
-0.19677889347076416,
0.08951395750045776,
-0.20310421288013458,
0.5815357565879822,
0.07040411233901978,
0.35068070888519287,
0.1485956758260727,
0.08642664551734924,
0.023622803390026093,
-0.1868690848350525,
-0.1298392117023468,
-0.27254799008369446,
-0.42598724365234375,
0.24064239859580994,
-0.2576702833175659,
-0.1575937271118164,
0.3264051675796509,
-0.1053820252418518,
0.20164312422275543,
-0.1585579812526703,
-0.24038460850715637,
-0.10940717905759811,
-0.16026262938976288,
0.5067383050918579,
0.27260053157806396,
0.3514678180217743,
0.21050512790679932,
0.2771633267402649,
-0.2228749692440033,
-0.12674373388290405,
-0.1048441231250763,
0.11800732463598251,
-0.2969866394996643,
0.35788825154304504,
-0.01707853376865387,
0.3228468894958496,
-0.09223555028438568,
0.9378116130828857,
0.35984697937965393,
-0.11027060449123383,
0.2313975840806961,
0.05872681364417076,
0.2141965627670288,
-0.13727185130119324,
-0.3101537525653839,
-0.025201555341482162,
-0.13118162751197815,
0.06763163954019547,
0.244320347905159,
-0.006822178140282631,
0.16417327523231506,
0.10925532877445221,
0.04685353860259056,
-0.2169940173625946,
-0.43969306349754333,
0.24899832904338837,
-0.321953147649765,
0.03839154168963432,
-0.25515756011009216,
-0.14977425336837769,
-0.2025085836648941,
-0.023704905062913895,
0.13340477645397186,
0.05388738960027695,
0.18995344638824463,
-0.14709559082984924,
-0.10094209015369415,
-0.04948938637971878,
-0.3289915919303894,
0.3865710496902466,
0.08520850539207458,
0.01786220073699951,
-0.10679908096790314,
-0.12359986454248428,
0.07704047858715057,
-0.07846155762672424,
0.5143442153930664,
-0.4761999845504761,
0.019166240468621254,
-0.019611621275544167,
-0.19571998715400696,
0.20534376800060272,
0.008630339056253433,
-0.005995273590087891,
0.2501855790615082,
-0.17404188215732574,
0.23736572265625,
-0.6594589948654175,
-0.11449860036373138,
0.23312345147132874,
-0.09636382013559341,
-0.013009537011384964,
-0.15614663064479828,
-0.2538975179195404,
-0.08795888721942902,
-0.2312273383140564,
0.11551637947559357,
0.057402633130550385,
0.13036638498306274,
-0.21616977453231812,
0.04652683809399605,
-0.09678816050291061,
0.08720237016677856,
0.2642853260040283,
0.014532145112752914,
0.26691555976867676,
0.027178600430488586,
0.20490983128547668,
0.06417682766914368,
-0.03984983265399933,
0.05276802182197571,
0.6311624646186829,
-0.05585276708006859,
-0.20097851753234863,
-0.1631011664867401,
-0.2649180591106415,
0.002657972276210785,
0.35542118549346924,
-0.040588099509477615,
0.2615787386894226,
0.3898576498031616,
0.03636685758829117,
-0.1215277835726738,
-0.42214974761009216,
0.09965464472770691,
0.16083863377571106,
-0.2617225646972656,
-0.01722697913646698,
0.2306291162967682,
0.25302883982658386,
-0.17091280221939087,
0.4507066309452057,
0.46725761890411377,
-0.15476055443286896,
-0.01112038642168045,
0.2438604235649109,
0.9957398772239685,
0.13185501098632812,
-0.053141575306653976,
-0.15841665863990784,
-0.32423722743988037,
0.21707883477210999,
0.05425756424665451,
-0.12818703055381775,
-0.35916993021965027,
-0.06105255335569382,
-0.038684964179992676,
-0.09958157688379288,
0.2419784665107727,
-0.09853103756904602,
-0.3046932518482208,
-0.016776863485574722,
0.055689260363578796,
0.3498409688472748,
0.007489641662687063,
0.4989877939224243,
-0.5647273063659668,
0.07322977483272552,
0.04074632376432419,
0.11275018751621246,
0.16943566501140594,
0.021569188684225082,
-0.17600315809249878,
-0.35893380641937256,
0.1493571400642395,
-0.39335209131240845,
-0.45754027366638184,
-0.19147717952728271,
-0.31592297554016113,
0.0272168330848217,
0.24964982271194458,
-0.21431775391101837,
0.39378592371940613,
-0.052010927349328995,
0.8059161305427551,
0.06554630398750305,
-0.180731862783432,
0.155809223651886,
0.24677473306655884,
0.2847585380077362,
-0.12471597641706467,
-0.28062665462493896,
0.1784704029560089,
-0.16781368851661682,
-0.12500828504562378,
-0.12006490677595139,
-0.055659424513578415,
-0.2542799413204193,
0.08348804712295532,
-0.12958824634552002,
-0.3098459243774414,
-0.3586938679218292,
0.2582562565803528,
-0.19781172275543213,
-0.4244929254055023,
-0.24796530604362488,
0.13840237259864807,
0.06051107123494148,
-0.3608914315700531,
0.12507519125938416,
-0.07423554360866547,
0.05616474151611328,
0.06633260101079941,
-0.08522772043943405,
0.08053069561719894,
0.24902361631393433,
0.282096266746521,
0.1030864417552948,
-0.07974324375391006,
-0.3839513063430786,
-0.08259560167789459,
0.43759751319885254,
-0.6962623596191406,
0.17078661918640137,
0.04056999459862709,
-0.1595103144645691,
0.12339012324810028,
0.6587932705879211,
0.365711510181427,
0.59676593542099,
-0.015799496322870255,
0.02351662516593933,
-0.35989242792129517,
0.24797946214675903,
-0.020513031631708145,
0.4657013416290283,
-0.30906325578689575,
0.14400996267795563,
0.07269600033760071,
0.4899534285068512,
-0.3875167667865753,
0.12025588750839233,
-0.1153016984462738,
0.03961838036775589,
-0.40734776854515076,
-0.240241140127182,
0.04221411049365997,
-0.25246724486351013,
0.08509211242198944,
0.22230224311351776,
-0.46673181653022766,
-0.14643920958042145,
0.13106265664100647,
0.1361280083656311,
-0.10081393271684647,
0.021802790462970734,
0.07279864698648453,
0.328305184841156,
0.0867106020450592,
0.16865745186805725,
0.18310941755771637,
-0.18711698055267334,
-0.011153794825077057,
0.024161890149116516,
0.35210156440734863,
0.07676708698272705,
-0.3364166021347046,
-0.16131557524204254,
-0.007030375301837921,
0.388264000415802,
0.025439877063035965,
0.0028219111263751984,
-0.2148960679769516,
-0.16932541131973267,
0.2362181842327118,
0.24081608653068542,
0.17271825671195984,
-0.1089283898472786,
0.17996510863304138,
-0.07857109606266022,
-0.44162723422050476,
0.14170615375041962,
0.5195513963699341,
0.08057060837745667,
-0.07498875260353088,
-0.06221868842840195,
-0.050580840557813644,
0.23568958044052124,
-0.20717467367649078,
-0.04652548208832741,
-0.008883019909262657,
-0.10201897472143173,
0.13041184842586517,
0.24205400049686432,
0.354958176612854,
-0.1005040854215622,
-0.1416780948638916,
0.14770442247390747,
-0.08733607828617096,
-0.26529377698898315,
0.3627241551876068,
0.4497534930706024,
-0.17370189726352692,
-0.06551353633403778,
0.5754046440124512,
-0.03168238326907158,
-0.1207883283495903,
-0.20786572992801666,
-0.5007799863815308,
0.3698652386665344,
0.054521284997463226,
0.2987825572490692,
0.44330859184265137,
-0.15599392354488373,
0.524682343006134,
0.058143965899944305,
0.21915610134601593,
-0.0545387864112854,
0.10518238693475723,
0.5113023519515991,
-0.06692036241292953,
-0.08397065848112106,
-0.3683290183544159,
0.28654396533966064,
-0.09729953855276108,
-0.028990402817726135,
-0.3412918150424957,
-0.307738333940506,
-0.2092987596988678,
0.041830044239759445,
-0.07051284611225128,
-0.04241453856229782,
0.3617026209831238,
0.10443096607923508,
-0.02522643655538559,
-0.2922043800354004,
0.26975396275520325,
0.13224145770072937,
0.5131418108940125,
-0.30880069732666016,
0.34279167652130127,
0.3919548988342285,
-0.20762714743614197,
0.04491091147065163,
0.6530429720878601,
0.4756275713443756,
-0.033915236592292786,
-0.039215561002492905,
0.2514370381832123,
0.04447951540350914,
-0.12451130896806717,
0.03285665065050125,
0.36056116223335266,
-0.04618789255619049,
-0.06852295994758606,
0.04939616098999977,
0.16286197304725647,
-0.1479649543762207,
-0.13596458733081818,
-0.17269006371498108,
-0.09672431647777557,
-0.06345862150192261,
0.23333701491355896,
0.0694807767868042,
-0.23590904474258423,
-0.005619116127490997,
0.2471078336238861,
-0.07420270144939423,
-0.4795868396759033,
0.35367026925086975,
-0.0052757710218429565,
0.007040424272418022,
-0.3923247754573822,
0.11983688175678253,
0.07871242612600327,
0.5474948287010193,
0.3278144896030426,
-0.032031066715717316,
-0.40829840302467346,
-0.15251466631889343,
-0.6091949939727783,
0.016051068902015686,
-0.028692927211523056,
-0.04894004017114639,
0.18564610183238983,
0.2822876274585724,
0.1741410195827484,
0.16655565798282623,
0.138726145029068,
0.09006421267986298,
-0.0730648934841156,
0.3444761633872986,
-0.3598253130912781,
0.31713730096817017,
0.29440081119537354,
-0.22961725294589996,
-0.012738908641040325,
-0.29191479086875916,
0.3528713285923004,
0.10723467916250229,
0.03811243921518326,
0.15906988084316254,
0.05131995677947998,
0.2883293330669403,
-0.1353798359632492,
0.20138588547706604,
0.23216095566749573,
0.2332727462053299,
0.08756931126117706,
-0.1467822641134262,
-0.0023568011820316315,
-0.023716960102319717,
-0.3349439799785614,
0.2523256838321686,
0.276976078748703,
0.4095613360404968,
0.14389732480049133,
0.11552892625331879,
-0.2449028640985489,
-0.005442869383841753,
-0.07711391150951385,
0.02666882425546646,
-0.2796477675437927,
0.19431865215301514,
-0.08271771669387817,
0.04144500195980072,
0.09350958466529846,
0.22649097442626953,
-0.0014634355902671814,
-0.08830872923135757,
-0.42414432764053345,
-0.5553857684135437,
0.4295344352722168,
-0.13024106621742249,
-0.031183676794171333,
-0.03734736517071724,
0.2615894675254822,
0.34785985946655273,
-0.22386254370212555,
-0.7757989764213562,
0.0010511502623558044,
0.13948749005794525,
-0.08568637073040009,
0.11212404072284698,
0.13104116916656494,
-0.07443523406982422,
0.15132848918437958,
-0.12234736979007721,
0.32311129570007324,
-0.032919786870479584,
-0.004504291340708733,
-0.14102788269519806,
-0.23244214057922363
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Thanks a lot for the help @lhoestq. Besides merging the new changes, I guess this PR is completed for now :) | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 21 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Thanks a lot for the help @lhoestq. Besides merging the new changes, I guess this PR is completed for now :) | [
-0.26274776458740234,
0.14506664872169495,
-0.0676974430680275,
0.1707928329706192,
0.024835985153913498,
-0.05750475078821182,
0.10483677685260773,
0.24368047714233398,
-0.3046315610408783,
0.13523508608341217,
0.18450352549552917,
0.5216625928878784,
-0.09279008954763412,
0.0640818402171135,
0.2044006586074829,
-0.09716086089611053,
0.1297757774591446,
0.17917057871818542,
0.10665754973888397,
0.038151815533638,
-0.2559739351272583,
0.24872702360153198,
-0.013637393712997437,
0.06754220277070999,
-0.3524280786514282,
-0.15214891731739044,
-0.14480505883693695,
0.19047534465789795,
-0.36824941635131836,
-0.5053184032440186,
-0.08783721923828125,
0.34811094403266907,
-0.2057190090417862,
0.22831210494041443,
-0.00010981377999996766,
-0.04602118581533432,
0.3673180937767029,
0.1666990965604782,
-0.3515600562095642,
0.16313646733760834,
-0.29571589827537537,
-0.13757173717021942,
-0.11122304946184158,
0.024511948227882385,
0.22771689295768738,
-0.4715592563152313,
-0.018283268436789513,
-0.0301208458840847,
0.4582803249359131,
-0.037847328931093216,
0.22536686062812805,
-0.15560339391231537,
0.6565857529640198,
-0.14557819068431854,
0.24279898405075073,
0.18923190236091614,
-0.2176830768585205,
0.03131163865327835,
0.19827614724636078,
0.29093480110168457,
-0.15230292081832886,
0.389554888010025,
0.3339881896972656,
-0.028193719685077667,
0.38480979204177856,
-0.07316181808710098,
0.14763040840625763,
-0.0754874125123024,
0.2114306092262268,
0.24059471487998962,
0.4800359308719635,
-0.20362776517868042,
-0.2556060552597046,
-0.04118116945028305,
-0.11308986693620682,
-0.2637804448604584,
0.34033268690109253,
0.06698890775442123,
-0.23245523869991302,
-0.1770421713590622,
-0.24050487577915192,
-0.1937728375196457,
-0.1960085779428482,
-0.3420102000236511,
0.10731691122055054,
0.04421063885092735,
0.2012951821088791,
-0.012527726590633392,
0.32273417711257935,
0.015233905985951424,
0.30107343196868896,
-0.17436803877353668,
-0.4642888009548187,
-0.03945038840174675,
-0.028518754988908768,
-0.2552862763404846,
-0.07941082864999771,
0.183665469288826,
0.20017531514167786,
0.0943964421749115,
0.13343916833400726,
0.20300281047821045,
0.1533273458480835,
-0.027165085077285767,
0.24065546691417694,
0.0001463117077946663,
0.23764291405677795,
0.15877065062522888,
0.05229070037603378,
0.001458259648643434,
-0.2031286358833313,
-0.009460598230361938,
-0.06840521842241287,
-0.4134107530117035,
0.5903394222259521,
0.2723263204097748,
-0.02428426779806614,
-0.22079883515834808,
0.24460247159004211,
0.26893460750579834,
-0.022470785304903984,
-0.33347630500793457,
-0.10875099152326584,
0.1742200255393982,
0.1378677785396576,
-0.022961974143981934,
-0.14196524024009705,
-0.20648644864559174,
-0.036200013011693954,
-0.06586802750825882,
-0.15930241346359253,
-0.020816590636968613,
-0.27234727144241333,
-0.14506296813488007,
0.2541356682777405,
-0.11549648642539978,
0.07007001340389252,
0.24150536954402924,
-0.09398986399173737,
-0.0635269284248352,
0.09125787019729614,
0.008642809465527534,
0.2623250484466553,
0.042070500552654266,
-0.15086647868156433,
-0.10018979012966156,
-0.2559197247028351,
-0.16065067052841187,
-0.12083727866411209,
0.2750835120677948,
0.08823015540838242,
-0.4312112629413605,
-0.2547657787799835,
0.2711966633796692,
-0.13988661766052246,
0.0041887275874614716,
0.1408122181892395,
0.04275011271238327,
-0.0056582167744636536,
-0.018688829615712166,
0.1611413061618805,
0.20711129903793335,
0.10036002099514008,
-0.14868734776973724,
0.03199724107980728,
0.09176959842443466,
-0.43959519267082214,
0.015177525579929352,
-0.45218798518180847,
-0.14186322689056396,
-0.020610570907592773,
0.07596538960933685,
-0.2188151478767395,
0.20525440573692322,
-0.17147283256053925,
0.10573235154151917,
0.4580191969871521,
0.1839301735162735,
-0.2564891278743744,
0.2630135118961334,
-0.006183244287967682,
-0.14699816703796387,
0.39370453357696533,
0.04257126525044441,
0.15883205831050873,
-0.10437740385532379,
0.03469514101743698,
-0.2371601015329361,
-0.3111884593963623,
-0.16667473316192627,
-0.4412403404712677,
-0.17607422173023224,
-0.1900586038827896,
-0.12282417714595795,
0.19519081711769104,
-0.36083629727363586,
0.12062235176563263,
-0.07241925597190857,
0.08458361029624939,
-0.1808883547782898,
0.06120415776968002,
-0.003945335745811462,
0.5183513164520264,
-0.22730915248394012,
0.022441299632191658,
0.03437002748250961,
-0.20785334706306458,
0.21770796179771423,
-0.35604989528656006,
0.09082173556089401,
-0.11041061580181122,
-0.31724077463150024,
-0.13520947098731995,
0.17462916672229767,
-0.2921575903892517,
-0.2367698848247528,
0.14260455965995789,
0.04715905338525772,
-0.04952724277973175,
-0.20741605758666992,
-0.21505072712898254,
-0.2741152346134186,
0.019415726885199547,
-0.07317978888750076,
-0.15977561473846436,
-0.17674145102500916,
-0.2864929735660553,
-0.024421967566013336,
-0.2148590087890625,
0.22872203588485718,
0.03343440964818001,
0.02637922763824463,
-0.004453535191714764,
0.2897373139858246,
0.008810525760054588,
0.1833803802728653,
0.21991175413131714,
0.23606657981872559,
0.13252808153629303,
-0.3790743947029114,
0.20166219770908356,
-0.17899300158023834,
-0.00953991524875164,
-0.08959940820932388,
-0.0501607283949852,
0.5097297430038452,
-0.2854403555393219,
-0.1277194619178772,
-0.0061378031969070435,
-0.10845375806093216,
0.007059386000037193,
-0.17888019979000092,
0.01582309417426586,
-0.1662949025630951,
-0.07227569818496704,
-0.0004975851625204086,
-0.11024962365627289,
0.3213004767894745,
0.08428376913070679,
0.30159518122673035,
0.33895453810691833,
-0.0042898040264844894,
-0.02983463555574417,
0.05743784084916115,
0.013304203748703003,
-0.12920814752578735,
-0.03940018266439438,
0.46044114232063293,
0.18752212822437286,
0.19591861963272095,
0.14349108934402466,
0.10749112069606781,
0.18475110828876495,
-0.048723962157964706,
0.5257524251937866,
-0.1358065903186798,
-0.14377374947071075,
0.3121013343334198,
-0.23782145977020264,
-0.030893798917531967,
-0.3690215051174164,
0.31449732184410095,
0.3016047477722168,
0.14091064035892487,
-0.0027147121727466583,
-0.2443331778049469,
-0.08665785938501358,
0.06427106261253357,
-0.3240925073623657,
-0.04662826657295227,
-0.0988769382238388,
-0.2973344326019287,
0.3830035328865051,
0.014499351382255554,
-0.19860517978668213,
0.17305129766464233,
-0.009491410106420517,
0.2627723515033722,
-0.1669185906648636,
0.19034874439239502,
-0.13651272654533386,
-0.2956928312778473,
-0.11886697262525558,
0.2369103729724884,
0.4709247648715973,
-0.02033098042011261,
0.44726666808128357,
-0.011756578460335732,
0.08543576300144196,
-0.6101930141448975,
-0.3529336750507355,
-0.004706148058176041,
-0.1775379776954651,
0.008990218862891197,
0.4870402216911316,
-0.1155642718076706,
-0.12370746582746506,
-0.4788605868816376,
0.14509300887584686,
-0.3576537072658539,
-0.4619447588920593,
0.13534361124038696,
-0.11693352460861206,
0.00991990976035595,
-0.21221500635147095,
-0.23256126046180725,
0.0888165682554245,
-0.2309660017490387,
0.5342487692832947,
0.15924468636512756,
0.3825496435165405,
-0.03674701973795891,
0.1274486929178238,
-0.06589778512716293,
-0.05373799055814743,
-0.1700296401977539,
-0.1822953224182129,
-0.1830180287361145,
0.1806756556034088,
-0.23438645899295807,
-0.10697627067565918,
0.3052682876586914,
-0.1930650770664215,
0.214817613363266,
-0.17499622702598572,
-0.1783081293106079,
0.1179124191403389,
-0.0881904885172844,
0.5026830434799194,
0.16643209755420685,
0.27186810970306396,
0.18825671076774597,
0.41171029210090637,
-0.27880728244781494,
-0.05629538744688034,
-0.014654948376119137,
0.09849511086940765,
-0.28107190132141113,
0.426633358001709,
-0.045951418578624725,
0.22118520736694336,
-0.16949191689491272,
0.8311989903450012,
0.2300536036491394,
-0.08878602087497711,
0.11556297540664673,
0.13211476802825928,
0.10912039875984192,
-0.15022635459899902,
-0.18752482533454895,
0.029395805671811104,
-0.14405465126037598,
-0.033834364265203476,
0.153102308511734,
-0.08764781057834625,
0.08841607719659805,
0.12805667519569397,
0.0825716108083725,
-0.2125035524368286,
-0.3377174437046051,
0.38065004348754883,
-0.42384836077690125,
0.056015029549598694,
-0.23439806699752808,
-0.13973090052604675,
-0.25654855370521545,
0.027848195284605026,
0.14432024955749512,
-0.08402130007743835,
0.19314011931419373,
-0.24927042424678802,
-0.014939513057470322,
0.04236958175897598,
-0.2919065058231354,
0.3594239056110382,
0.050944603979587555,
0.03742016851902008,
-0.07271091639995575,
-0.13654962182044983,
0.05731399729847908,
-0.08792682737112045,
0.44112586975097656,
-0.5133031010627747,
-0.0026757344603538513,
0.06458860635757446,
-0.04804560914635658,
0.3312469720840454,
-0.08985008299350739,
-0.02348228171467781,
0.30064356327056885,
-0.1704641580581665,
0.044286880642175674,
-0.5024133920669556,
0.013016894459724426,
0.27817267179489136,
-0.18306457996368408,
-0.07872819900512695,
-0.1526365727186203,
-0.20719945430755615,
0.009747985750436783,
-0.15822483599185944,
0.13615761697292328,
0.10296989232301712,
0.15357549488544464,
-0.2572862207889557,
0.00958094373345375,
-0.019145091995596886,
-0.0005890727043151855,
0.19142204523086548,
-0.014613151550292969,
0.2970643639564514,
-0.10644491016864777,
0.14347834885120392,
-0.05194072425365448,
-0.12215642631053925,
0.11837553232908249,
0.4604896903038025,
-0.10915307700634003,
-0.0442516952753067,
-0.056136198341846466,
-0.3423992991447449,
0.0870298370718956,
0.3334498405456543,
-0.026308733969926834,
0.22753962874412537,
0.274202436208725,
0.0026438534259796143,
-0.07159582525491714,
-0.4746001660823822,
0.07027263939380646,
0.07978974282741547,
-0.15073691308498383,
-0.13355176150798798,
0.16917121410369873,
0.13100503385066986,
-0.24006123840808868,
0.47421619296073914,
0.31449389457702637,
-0.17884784936904907,
0.20970365405082703,
0.33786967396736145,
1.0227407217025757,
0.16724041104316711,
-0.07598266005516052,
-0.2801443040370941,
-0.3713688254356384,
0.05538580194115639,
-0.11343402415513992,
0.006053842604160309,
-0.3769315183162689,
-0.03894311934709549,
-0.016442283987998962,
-0.13297010958194733,
0.21588101983070374,
0.012060403823852539,
-0.394733190536499,
-0.1131879985332489,
0.007611982524394989,
0.17568688094615936,
0.10109197348356247,
0.46251362562179565,
-0.5488044023513794,
0.16682367026805878,
0.19820615649223328,
0.1243056207895279,
0.14454984664916992,
-0.141742542386055,
-0.22566431760787964,
-0.3417578339576721,
0.10145385563373566,
-0.36251503229141235,
-0.506354570388794,
-0.16469767689704895,
-0.1976781189441681,
0.04144713655114174,
0.17954038083553314,
-0.08358985930681229,
0.34492477774620056,
-0.0681103765964508,
0.6743277311325073,
0.07336893677711487,
-0.06835922598838806,
0.27393782138824463,
0.38166746497154236,
0.25216659903526306,
-0.06546629220247269,
-0.19825559854507446,
0.1256006956100464,
-0.19010990858078003,
-0.1924433708190918,
0.020747534930706024,
-0.17308571934700012,
-0.3505129814147949,
-0.010840192437171936,
-0.0962432473897934,
-0.05000029504299164,
-0.2889789640903473,
0.24847956001758575,
-0.17552903294563293,
-0.5331071019172668,
-0.266025185585022,
0.18036966025829315,
0.05918426439166069,
-0.38085269927978516,
0.17388474941253662,
-0.09245218336582184,
0.03060239553451538,
0.1033218502998352,
-0.11683397740125656,
0.18287503719329834,
0.2041654735803604,
0.30215033888816833,
0.03219045326113701,
-0.048628028482198715,
-0.4095342755317688,
-0.07325500249862671,
0.4164840579032898,
-0.6484708189964294,
0.142984539270401,
-0.06129729375243187,
-0.2586647570133209,
0.22255952656269073,
0.5245089530944824,
0.3937414288520813,
0.7085087895393372,
-0.17232297360897064,
0.13975268602371216,
-0.32511746883392334,
0.16986027359962463,
-0.05321564897894859,
0.4680701196193695,
-0.40246307849884033,
0.16052420437335968,
0.03276745229959488,
0.49847763776779175,
-0.41178274154663086,
0.06991349905729294,
-0.0754319280385971,
0.07436338067054749,
-0.6386668682098389,
-0.31017687916755676,
-0.16847467422485352,
-0.21357345581054688,
0.14841674268245697,
0.2304849624633789,
-0.39859262108802795,
-0.16866087913513184,
0.14900608360767365,
0.13823452591896057,
-0.09596525877714157,
0.06552666425704956,
-0.02456006035208702,
0.31202590465545654,
0.05501970648765564,
0.3014492988586426,
0.039923280477523804,
-0.28694620728492737,
-0.09671568870544434,
0.1561242789030075,
0.4517088234424591,
0.13653349876403809,
-0.22905994951725006,
-0.20635691285133362,
-0.10397723317146301,
0.5583340525627136,
0.034829117357730865,
0.04862542822957039,
-0.17021916806697845,
-0.22389869391918182,
0.21537265181541443,
0.24370157718658447,
0.06903767585754395,
-0.063452810049057,
0.2134246826171875,
-0.02506302297115326,
-0.4607369899749756,
-0.002891821786761284,
0.4000762104988098,
0.199806347489357,
-0.04904874414205551,
-0.1932734102010727,
-0.13007405400276184,
0.2932929992675781,
-0.21188196539878845,
-0.11794330179691315,
-0.0896441787481308,
-0.14629007875919342,
0.0654766708612442,
0.12628665566444397,
0.39786532521247864,
-0.26200854778289795,
-0.15022189915180206,
0.2505873739719391,
-0.15171286463737488,
-0.39475589990615845,
0.3002738952636719,
0.6111109852790833,
-0.19702239334583282,
-0.06196613982319832,
0.5016958117485046,
-0.005629934370517731,
-0.10653422027826309,
-0.09439443051815033,
-0.3599880337715149,
0.30470073223114014,
0.1267392635345459,
0.30867817997932434,
0.39202868938446045,
-0.03526243567466736,
0.574712872505188,
0.10347992181777954,
0.20724794268608093,
-0.014941848814487457,
0.25107598304748535,
0.31663182377815247,
0.02071920409798622,
-0.01258196122944355,
-0.30119821429252625,
0.14099055528640747,
-0.1519431173801422,
-0.041736774146556854,
-0.3586805760860443,
-0.33304858207702637,
-0.3275156319141388,
-0.0170573890209198,
-0.08991815149784088,
0.10359650105237961,
0.30023932456970215,
0.1298520267009735,
0.01406097412109375,
-0.16204816102981567,
0.30929335951805115,
-0.03431578725576401,
0.49854812026023865,
-0.4138607978820801,
0.27615591883659363,
0.414070725440979,
-0.15729905664920807,
0.10296900570392609,
0.5693946480751038,
0.4388105869293213,
0.07983174920082092,
-0.2060183733701706,
0.19570598006248474,
0.060933176428079605,
-0.10352282971143723,
0.0012497399002313614,
0.30072474479675293,
0.06351637840270996,
-0.004284791648387909,
0.033317290246486664,
0.17630784213542938,
-0.13078059256076813,
-0.11481274664402008,
-0.01521730050444603,
-0.08706799149513245,
0.09932062029838562,
0.19457799196243286,
0.3401721715927124,
-0.3655191659927368,
0.11123272031545639,
0.25287410616874695,
-0.10212285816669464,
-0.5458611845970154,
0.3240119516849518,
-0.07718537747859955,
-0.027016237378120422,
-0.36042550206184387,
0.12588635087013245,
0.12104354798793793,
0.5963386297225952,
0.23260673880577087,
-0.01870492845773697,
-0.4533854126930237,
-0.2253115475177765,
-0.47753041982650757,
0.10362245887517929,
-0.08337093889713287,
-0.02911938726902008,
0.25630220770835876,
0.31372231245040894,
0.18721021711826324,
0.12281647324562073,
0.1713106632232666,
0.16114956140518188,
-0.13688454031944275,
0.5366057753562927,
-0.39518842101097107,
0.32566478848457336,
0.5412916541099548,
-0.10679492354393005,
-0.06382720172405243,
-0.2641705870628357,
0.39017874002456665,
0.1017836332321167,
0.12994477152824402,
0.12538501620292664,
-0.15540091693401337,
0.5122830271720886,
0.11571811884641647,
0.22814473509788513,
0.1768707036972046,
0.1574985831975937,
0.03725407272577286,
-0.17564994096755981,
0.059596315026283264,
0.04337034747004509,
-0.2912129759788513,
0.19861432909965515,
0.3827776312828064,
0.3098982870578766,
0.20274777710437775,
0.11782188713550568,
-0.1953495740890503,
0.007357203401625156,
-0.21328845620155334,
0.14553426206111908,
-0.3697153329849243,
0.15375450253486633,
0.01726866513490677,
0.044590722769498825,
0.022194895893335342,
0.15966305136680603,
-0.01014363020658493,
-0.15018592774868011,
-0.4987713694572449,
-0.4670761227607727,
0.319740355014801,
-0.04889770597219467,
-0.07746706902980804,
-0.026796963065862656,
0.2776525020599365,
0.23215997219085693,
-0.014387233182787895,
-0.6791120171546936,
-0.08725173026323318,
0.20104126632213593,
-0.09819670766592026,
0.13468682765960693,
0.0676582008600235,
0.018628614023327827,
0.13857664167881012,
-0.15980488061904907,
0.217244490981102,
-0.043244488537311554,
0.08796032518148422,
-0.33394280076026917,
-0.3472844958305359
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | I just merged the PR, feel free to merge `master` into your branch. It should fix most most of the CI issues. If there are some left we can fix them in this PR :) | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 35 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
I just merged the PR, feel free to merge `master` into your branch. It should fix most most of the CI issues. If there are some left we can fix them in this PR :) | [
-0.276119589805603,
0.20164921879768372,
-0.02921282686293125,
0.20739860832691193,
0.06105057895183563,
-0.08921360224485397,
0.11413987725973129,
0.21490660309791565,
-0.33411529660224915,
0.16890239715576172,
0.2460792064666748,
0.47363004088401794,
-0.03831576183438301,
0.1831083744764328,
0.028079260140657425,
-0.04489552974700928,
0.12768769264221191,
0.16451525688171387,
0.07958246022462845,
0.025200150907039642,
-0.15786974132061005,
0.24759911000728607,
0.004106350243091583,
0.04253166913986206,
-0.35400766134262085,
-0.24172964692115784,
-0.1260553002357483,
0.2673848271369934,
-0.35656145215034485,
-0.40178385376930237,
-0.04792405664920807,
0.3457045257091522,
-0.23623625934123993,
0.3133631646633148,
-0.00010991649469360709,
-0.04748879373073578,
0.3973386883735657,
0.168955460190773,
-0.3570970594882965,
0.0646941289305687,
-0.1983257234096527,
-0.07385962456464767,
-0.07820180803537369,
-0.025267578661441803,
0.15917173027992249,
-0.3399249017238617,
-0.13328951597213745,
-0.01992173120379448,
0.6083065867424011,
0.010947124101221561,
0.23028363287448883,
-0.09082654863595963,
0.5286577343940735,
-0.14448174834251404,
0.2263565957546234,
0.28727370500564575,
-0.27661290764808655,
0.048897456377744675,
0.19527436792850494,
0.34708094596862793,
-0.11807695776224136,
0.3202987611293793,
0.3226015865802765,
-0.05583236739039421,
0.303581178188324,
-0.06939306855201721,
0.14632511138916016,
-0.1871725618839264,
0.24983817338943481,
0.14084121584892273,
0.4546055793762207,
-0.09725400060415268,
-0.183880016207695,
0.08272599428892136,
-0.09380434453487396,
-0.265118807554245,
0.41132327914237976,
0.024447359144687653,
-0.23721465468406677,
-0.19122271239757538,
-0.2918437421321869,
-0.12087543308734894,
-0.19037297368049622,
-0.34920942783355713,
0.15273982286453247,
0.002460479736328125,
0.1478642225265503,
0.05254372954368591,
0.3489377200603485,
0.029787641018629074,
0.28184974193573,
-0.15834376215934753,
-0.4851400554180145,
-0.008797083981335163,
-0.015255894511938095,
-0.2544955015182495,
-0.0874716266989708,
0.29103389382362366,
0.14541307091712952,
0.20193485915660858,
0.13701914250850677,
0.22553196549415588,
0.1949775069952011,
-0.016768991947174072,
0.28128886222839355,
0.0432201623916626,
0.15024203062057495,
0.24228297173976898,
0.13280922174453735,
-0.02365070953965187,
-0.23879912495613098,
0.025381319224834442,
-0.13878893852233887,
-0.365004301071167,
0.5299906134605408,
0.2312261462211609,
-0.07584225386381149,
-0.34061554074287415,
0.20907974243164062,
0.26224571466445923,
0.024508781731128693,
-0.2141084372997284,
-0.03864482045173645,
0.1507047414779663,
0.07863976061344147,
0.0007944591343402863,
-0.09445641189813614,
-0.18770810961723328,
-0.03317756950855255,
-0.02699780836701393,
-0.15976035594940186,
-0.11507518589496613,
-0.32661622762680054,
-0.1343214064836502,
0.22471831738948822,
-0.1704251915216446,
0.06122084707021713,
0.2793717086315155,
-0.00019305944442749023,
-0.13749811053276062,
0.05849562585353851,
0.04157547652721405,
0.18988792598247528,
0.11735765635967255,
-0.16395725309848785,
-0.11944876611232758,
-0.17681919038295746,
-0.24701687693595886,
-0.0874871090054512,
0.2182813584804535,
0.007927197962999344,
-0.36999601125717163,
-0.2847004234790802,
0.26589035987854004,
-0.21888072788715363,
0.10665050894021988,
0.0729665607213974,
-0.07609884440898895,
-0.01020844280719757,
0.002488028258085251,
0.07325932383537292,
0.22586843371391296,
0.153319850564003,
-0.1698160171508789,
0.06187426298856735,
0.1174481213092804,
-0.3020448684692383,
0.016635745763778687,
-0.4208725690841675,
-0.05458351597189903,
0.028066352009773254,
0.1931978166103363,
-0.2107267677783966,
0.1917298138141632,
-0.20139625668525696,
-0.0331030935049057,
0.5193306803703308,
0.050869155675172806,
-0.22592607140541077,
0.34050077199935913,
-0.06625794619321823,
-0.21517832577228546,
0.35793450474739075,
0.017243796959519386,
0.23645423352718353,
-0.16425080597400665,
-0.07181255519390106,
-0.18445026874542236,
-0.3967861235141754,
-0.10530644655227661,
-0.4514210820198059,
-0.16656112670898438,
-0.33455801010131836,
-0.08178182691335678,
0.11849641799926758,
-0.2584467828273773,
0.21611741185188293,
-0.16715891659259796,
0.05066552013158798,
-0.2112855613231659,
0.014503905549645424,
0.019927386194467545,
0.522030770778656,
-0.30177462100982666,
-0.0007898558396846056,
0.1961030662059784,
-0.180990070104599,
0.20187604427337646,
-0.31617891788482666,
0.12822303175926208,
-0.033312827348709106,
-0.32055753469467163,
-0.1344277262687683,
0.15136386454105377,
-0.285367876291275,
-0.19100689888000488,
0.1319073885679245,
0.05500029772520065,
-0.07020098716020584,
-0.24250821769237518,
-0.14856848120689392,
-0.26858410239219666,
-0.03541496396064758,
-0.070475272834301,
-0.12118135392665863,
-0.16771738231182098,
-0.3606347441673279,
-0.012877686880528927,
-0.16637784242630005,
0.23190250992774963,
0.06247132271528244,
-0.04373206943273544,
-0.09395433962345123,
0.25707724690437317,
-0.060299333184957504,
0.222636878490448,
0.18864548206329346,
0.32828664779663086,
0.17024967074394226,
-0.38527971506118774,
0.09680875390768051,
-0.1116020530462265,
-0.028332285583019257,
-0.11770575493574142,
-0.12063070386648178,
0.5175419449806213,
-0.34406113624572754,
-0.15223288536071777,
0.0094049833714962,
-0.0018396079540252686,
0.0935620367527008,
-0.19381248950958252,
-0.09462928771972656,
-0.19505344331264496,
-0.029653754085302353,
-0.010312899947166443,
-0.16171103715896606,
0.37637802958488464,
0.13325302302837372,
0.27774277329444885,
0.26309674978256226,
0.05980508401989937,
-0.07439997047185898,
0.015310537070035934,
0.09325852990150452,
-0.09067004919052124,
-0.031161995604634285,
0.5089990496635437,
0.22638925909996033,
0.17515872418880463,
0.09699118137359619,
0.12249955534934998,
0.23476266860961914,
-0.06885193288326263,
0.5366489291191101,
-0.17568306624889374,
-0.0841144472360611,
0.28774455189704895,
-0.22726066410541534,
0.06789018213748932,
-0.274242103099823,
0.2845061421394348,
0.28893163800239563,
0.14728528261184692,
-0.002030611038208008,
-0.1582116186618805,
-0.07069846242666245,
0.06453826278448105,
-0.2424226999282837,
-0.012515242211520672,
0.0240918155759573,
-0.2596778869628906,
0.3231547474861145,
0.03240925818681717,
-0.26808467507362366,
0.17817288637161255,
-0.044367991387844086,
0.3063686490058899,
-0.21029481291770935,
0.20001842081546783,
-0.08149228990077972,
-0.33679521083831787,
-0.22934499382972717,
0.20914185047149658,
0.5327732563018799,
-0.07914439588785172,
0.4927237927913666,
-0.06925409287214279,
0.1442369520664215,
-0.6058292388916016,
-0.43766218423843384,
0.0633721798658371,
-0.1809951663017273,
0.07399430871009827,
0.43164554238319397,
-0.16134972870349884,
-0.16996589303016663,
-0.5236354470252991,
0.181248277425766,
-0.40682804584503174,
-0.45569804310798645,
0.1709364652633667,
-0.15024885535240173,
-0.1813921332359314,
-0.25272685289382935,
-0.212681382894516,
0.11604993045330048,
-0.25736305117607117,
0.39683419466018677,
0.14012300968170166,
0.3275683522224426,
0.08302773535251617,
0.06404324620962143,
-0.15107126533985138,
-0.011371269822120667,
-0.21506689488887787,
-0.2116909921169281,
-0.3075380325317383,
0.206764355301857,
-0.25330498814582825,
-0.2295333594083786,
0.4067855775356293,
-0.19438250362873077,
0.3020942807197571,
-0.11274320632219315,
-0.25551527738571167,
0.18292288482189178,
-0.017051776871085167,
0.5122509002685547,
0.23255948722362518,
0.24047106504440308,
0.17066529393196106,
0.3844097852706909,
-0.27475008368492126,
-0.08132195472717285,
-0.05578187108039856,
0.13508310914039612,
-0.22779631614685059,
0.49682915210723877,
-0.09533447027206421,
0.27618297934532166,
-0.22309808433055878,
0.7943285703659058,
0.27625808119773865,
-0.09467174112796783,
0.07018214464187622,
0.18454056978225708,
0.12928074598312378,
-0.07992685586214066,
-0.22226424515247345,
0.13009987771511078,
-0.13532105088233948,
-0.11657051742076874,
0.2841229736804962,
-0.0567302480340004,
-0.04364044964313507,
0.05818299204111099,
0.1437194049358368,
-0.18089637160301208,
-0.37290525436401367,
0.35876309871673584,
-0.5383263826370239,
0.10417637974023819,
-0.25348860025405884,
-0.10909219831228256,
-0.2644940912723541,
-0.023115385323762894,
0.09820689260959625,
-0.09228411316871643,
0.14763234555721283,
-0.25900205969810486,
0.003898143768310547,
-0.06444656848907471,
-0.19587838649749756,
0.31634441018104553,
0.017109407112002373,
0.06166249141097069,
-0.14835035800933838,
-0.0951785296201706,
0.08424589782953262,
-0.0716271698474884,
0.3203012943267822,
-0.45584920048713684,
-0.06399879604578018,
0.09111860394477844,
-0.10951816290616989,
0.29576292634010315,
-0.13400085270404816,
0.009400859475135803,
0.41940975189208984,
-0.15233692526817322,
0.053882550448179245,
-0.47800326347351074,
0.013563795015215874,
0.30259376764297485,
-0.24304912984371185,
-0.11026587337255478,
-0.09026128053665161,
-0.18425603210926056,
-0.05792040750384331,
-0.1798539012670517,
0.1828211098909378,
0.03187532722949982,
0.09064853936433792,
-0.32153233885765076,
-0.02395661175251007,
0.012528616935014725,
0.07804146409034729,
0.17752587795257568,
0.05646112933754921,
0.2945665717124939,
-0.09975054860115051,
0.17502360045909882,
-0.09913381934165955,
-0.05973362177610397,
0.13777606189250946,
0.5288974046707153,
0.02567143365740776,
0.04599536582827568,
0.02744840830564499,
-0.353503555059433,
0.0017646849155426025,
0.3624948263168335,
-0.02524331584572792,
0.14435048401355743,
0.28673529624938965,
0.06766819953918457,
-0.02740338072180748,
-0.5006704330444336,
-0.007394026964902878,
0.06032281368970871,
-0.20935648679733276,
-0.00857133511453867,
0.071443572640419,
0.1192694902420044,
-0.2458571046590805,
0.4378710687160492,
0.2354053407907486,
-0.10670004785060883,
0.2647051215171814,
0.429068922996521,
1.0579549074172974,
0.2092045396566391,
-0.13670821487903595,
-0.26617303490638733,
-0.31417131423950195,
0.07779857516288757,
-0.05665000528097153,
-0.05870611220598221,
-0.3761065900325775,
-0.085993193089962,
0.02510923705995083,
-0.12050212919712067,
0.1951887011528015,
-0.002296779304742813,
-0.49242934584617615,
-0.11976342648267746,
0.023711033165454865,
0.31535694003105164,
0.13922731578350067,
0.3940979242324829,
-0.5168503522872925,
0.12869715690612793,
0.18826816976070404,
0.1423267424106598,
0.14642491936683655,
-0.0598299466073513,
-0.21641197800636292,
-0.3706011176109314,
0.0454246886074543,
-0.3359425663948059,
-0.5252786874771118,
-0.11801135540008545,
-0.2880849540233612,
0.03664209693670273,
0.18346422910690308,
-0.07780426740646362,
0.38524481654167175,
-0.04391130432486534,
0.7787766456604004,
0.11967940628528595,
-0.11048981547355652,
0.25950732827186584,
0.4094918668270111,
0.2341790795326233,
-0.030723655596375465,
-0.22522711753845215,
0.08040688931941986,
-0.22205036878585815,
-0.13764329254627228,
-0.021713517606258392,
-0.17920345067977905,
-0.32237720489501953,
0.009112447500228882,
-0.07630941271781921,
-0.1202838271856308,
-0.22633367776870728,
0.2938399910926819,
-0.21150052547454834,
-0.5557612180709839,
-0.26305001974105835,
0.1761126071214676,
0.029094230383634567,
-0.3632047176361084,
0.2340591847896576,
-0.03353003039956093,
0.05637647211551666,
0.08552838861942291,
-0.18260306119918823,
0.19402197003364563,
0.17651747167110443,
0.25895190238952637,
-0.005866438150405884,
-0.006774723529815674,
-0.4408915638923645,
-0.059187181293964386,
0.36044183373451233,
-0.5954286456108093,
0.12972791492938995,
-0.05635695904493332,
-0.34946924448013306,
0.2019885778427124,
0.6756576895713806,
0.4385008215904236,
0.6630153656005859,
-0.1911248415708542,
0.08004583418369293,
-0.4650135040283203,
0.16689127683639526,
-0.057647790759801865,
0.4194723069667816,
-0.4297099709510803,
0.12981335818767548,
0.06682482361793518,
0.5164005756378174,
-0.3988693654537201,
-0.03966355323791504,
-0.19968155026435852,
0.08282060921192169,
-0.4586413502693176,
-0.28872618079185486,
-0.13337911665439606,
-0.2552865445613861,
0.10567997395992279,
0.16216111183166504,
-0.3705615699291229,
-0.16191285848617554,
0.17277412116527557,
0.14451302587985992,
-0.07421480119228363,
0.011628082022070885,
0.0070791663601994514,
0.3036496639251709,
0.07319983839988708,
0.2679125964641571,
0.08471354842185974,
-0.2886103689670563,
-0.03054279088973999,
-0.02842836081981659,
0.2786133289337158,
0.16934245824813843,
-0.250529408454895,
-0.12335130572319031,
-0.08876664936542511,
0.5428215265274048,
0.013155333697795868,
0.02874460443854332,
-0.1300162523984909,
-0.28812384605407715,
0.24718894064426422,
0.2529715299606323,
0.026671163737773895,
-0.007176317274570465,
0.26041239500045776,
-0.029575586318969727,
-0.4209804832935333,
0.11526903510093689,
0.3367369771003723,
0.13543105125427246,
-0.049429792910814285,
-0.12681879103183746,
-0.13803350925445557,
0.2764620780944824,
-0.17128311097621918,
-0.10970703512430191,
-0.13205130398273468,
-0.14784321188926697,
0.019273776561021805,
0.21119800209999084,
0.41687092185020447,
-0.37966400384902954,
-0.08852101862430573,
0.20329996943473816,
-0.10781912505626678,
-0.39484697580337524,
0.36560457944869995,
0.5632116794586182,
-0.22095686197280884,
-0.004325497895479202,
0.428786963224411,
-0.1017066091299057,
-0.19944652915000916,
-0.19736520946025848,
-0.35590294003486633,
0.3490905463695526,
0.19999387860298157,
0.3019806444644928,
0.3918312191963196,
-0.05240578204393387,
0.5755144953727722,
-0.0011423826217651367,
0.22246979176998138,
-0.03222089260816574,
0.2559141516685486,
0.2427077293395996,
0.025474581867456436,
-0.14633600413799286,
-0.3811541795730591,
0.13018767535686493,
-0.16356906294822693,
0.04078197106719017,
-0.48642048239707947,
-0.26771461963653564,
-0.33542171120643616,
0.017118025571107864,
-0.09683461487293243,
0.20688946545124054,
0.26661068201065063,
0.19970190525054932,
-0.030650876462459564,
-0.1448507308959961,
0.22227025032043457,
0.05024152994155884,
0.42544400691986084,
-0.36646923422813416,
0.44670403003692627,
0.31851089000701904,
-0.15831305086612701,
0.06879384070634842,
0.5225921273231506,
0.5106000304222107,
0.140398308634758,
-0.14354124665260315,
0.17205198109149933,
0.11177811026573181,
-0.13827361166477203,
-0.020982321351766586,
0.337404727935791,
0.045447707176208496,
-0.010196525603532791,
-0.06180573254823685,
0.16443970799446106,
-0.14801667630672455,
-0.042484935373067856,
-0.151968315243721,
-0.15320470929145813,
0.14000019431114197,
0.17877565324306488,
0.32779616117477417,
-0.3394028842449188,
0.07504118978977203,
0.22681975364685059,
-0.033431392163038254,
-0.48444661498069763,
0.2857675552368164,
-0.08230199664831161,
0.0143362395465374,
-0.3767368793487549,
0.13768675923347473,
0.11416102945804596,
0.5754896402359009,
0.26680728793144226,
-0.011386707425117493,
-0.45178577303886414,
-0.26379549503326416,
-0.44575414061546326,
0.12563404440879822,
-0.01769855245947838,
0.02083391509950161,
0.2290211170911789,
0.30186066031455994,
0.26414182782173157,
0.14116400480270386,
0.21365579962730408,
0.032491929829120636,
-0.07389276474714279,
0.466951847076416,
-0.3665813207626343,
0.33978360891342163,
0.4532472491264343,
-0.14725244045257568,
-0.06388494372367859,
-0.3154597580432892,
0.4188470244407654,
0.21884359419345856,
0.13135749101638794,
0.16118402779102325,
-0.19867239892482758,
0.47630637884140015,
0.006265457719564438,
0.16205498576164246,
0.23986054956912994,
0.1896379441022873,
0.07398012280464172,
-0.1601182371377945,
-0.020607110112905502,
0.03973388671875,
-0.27512943744659424,
0.20221900939941406,
0.39528563618659973,
0.31328919529914856,
0.21837013959884644,
0.17986680567264557,
-0.24661681056022644,
-0.1890069991350174,
-0.13398614525794983,
0.1629956215620041,
-0.31843292713165283,
0.12796011567115784,
-0.03420797735452652,
0.11481569707393646,
0.08057563751935959,
0.20359092950820923,
-0.03081721067428589,
-0.14062069356441498,
-0.4214792251586914,
-0.4597783088684082,
0.3491685390472412,
-0.06995996832847595,
-0.030278699472546577,
-0.03407702594995499,
0.3145262598991394,
0.1762806922197342,
-0.03004678525030613,
-0.5181879997253418,
-0.11232591420412064,
0.08670879155397415,
-0.2187492847442627,
0.07299232482910156,
0.07890842854976654,
-0.009502667933702469,
0.17444656789302826,
-0.1250641942024231,
0.29144418239593506,
-0.079596608877182,
0.0633196011185646,
-0.288102924823761,
-0.2560671269893646
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | @lhoestq Looks like the PR is completed now. Thanks for helping me out so much in this :) | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 18 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
@lhoestq Looks like the PR is completed now. Thanks for helping me out so much in this :) | [
-0.24311621487140656,
0.10116922855377197,
-0.060255855321884155,
0.20841267704963684,
0.06429098546504974,
-0.065013587474823,
0.11949411034584045,
0.19860155880451202,
-0.2961869537830353,
0.15782904624938965,
0.25036460161209106,
0.488599568605423,
-0.08973335474729538,
0.07853448390960693,
0.19875235855579376,
-0.1172017753124237,
0.07254156470298767,
0.18682581186294556,
0.1130872517824173,
0.04066694527864456,
-0.2275666892528534,
0.22594580054283142,
-0.03672780096530914,
0.08770585060119629,
-0.38375866413116455,
-0.2083321213722229,
-0.13146904110908508,
0.1887775957584381,
-0.36114293336868286,
-0.4885188937187195,
-0.0726163238286972,
0.30062463879585266,
-0.19334006309509277,
0.22774654626846313,
-0.00010991846647812054,
-0.05709119141101837,
0.3563315272331238,
0.14375855028629303,
-0.3495597243309021,
0.11930420994758606,
-0.2869121730327606,
-0.0951763316988945,
-0.11328113079071045,
0.029683969914913177,
0.19370728731155396,
-0.4746710956096649,
-0.0063129086047410965,
-0.04110007360577583,
0.4953958988189697,
-0.027045276015996933,
0.22968889772891998,
-0.151206374168396,
0.6810701489448547,
-0.14398348331451416,
0.21487754583358765,
0.18204611539840698,
-0.24389897286891937,
0.021720070391893387,
0.17857930064201355,
0.27858471870422363,
-0.1679280698299408,
0.3958479166030884,
0.36976200342178345,
-0.00450577586889267,
0.35980692505836487,
-0.06271572411060333,
0.17491988837718964,
-0.08400258421897888,
0.1960441768169403,
0.21491137146949768,
0.4859316051006317,
-0.20489564538002014,
-0.23557662963867188,
-0.04068733751773834,
-0.09542422741651535,
-0.2347000688314438,
0.33764535188674927,
0.10103120654821396,
-0.2681443989276886,
-0.1636674702167511,
-0.25682181119918823,
-0.14367249608039856,
-0.21372561156749725,
-0.363286554813385,
0.11694702506065369,
-0.002657182514667511,
0.17304681241512299,
0.0046697333455085754,
0.3211599290370941,
0.016987256705760956,
0.2862192690372467,
-0.16815024614334106,
-0.4126020669937134,
-0.004997709766030312,
-0.04307596758008003,
-0.2325270175933838,
-0.08137959986925125,
0.20588800311088562,
0.19929951429367065,
0.0834513008594513,
0.1330588459968567,
0.17852237820625305,
0.15916089713573456,
-0.012042216956615448,
0.26953232288360596,
0.0015044184401631355,
0.23835253715515137,
0.17248006165027618,
0.005496583878993988,
0.007735873572528362,
-0.22475801408290863,
-0.01279783621430397,
-0.11852143704891205,
-0.3942306637763977,
0.6297829151153564,
0.2763095498085022,
-0.05115530639886856,
-0.22235403954982758,
0.2114318162202835,
0.30602073669433594,
-0.05743454769253731,
-0.31540319323539734,
-0.09799826145172119,
0.1786256581544876,
0.1281900405883789,
-0.051262445747852325,
-0.11730065941810608,
-0.2283732146024704,
-0.05238926410675049,
-0.04933018982410431,
-0.1758628636598587,
0.01779872179031372,
-0.31989648938179016,
-0.17010697722434998,
0.25920429825782776,
-0.09067060053348541,
0.08568473905324936,
0.21886096894741058,
-0.09218879044055939,
-0.07642759382724762,
0.14464214444160461,
0.013317270204424858,
0.24690738320350647,
0.050789862871170044,
-0.12253233790397644,
-0.07771354913711548,
-0.2253871113061905,
-0.1816064566373825,
-0.10934385657310486,
0.25779420137405396,
0.09856419265270233,
-0.41724687814712524,
-0.192961648106575,
0.27276620268821716,
-0.1549995094537735,
0.029008449986577034,
0.1590641885995865,
-0.0009624548256397247,
0.0131295844912529,
0.019910793751478195,
0.14042629301548004,
0.1937476545572281,
0.09025846421718597,
-0.14039014279842377,
0.06333443522453308,
0.12235154956579208,
-0.4289626479148865,
0.005254246294498444,
-0.4096281826496124,
-0.1587407886981964,
0.012309029698371887,
0.06530886143445969,
-0.18685126304626465,
0.2517571747303009,
-0.1848328560590744,
0.10755439102649689,
0.47506800293922424,
0.1932382881641388,
-0.2538798451423645,
0.2896483242511749,
-0.07128892093896866,
-0.1375635415315628,
0.39622947573661804,
0.04559707269072533,
0.12782618403434753,
-0.08340532332658768,
0.02977323904633522,
-0.21643784642219543,
-0.32126253843307495,
-0.17732545733451843,
-0.42579343914985657,
-0.1379803866147995,
-0.21308501064777374,
-0.09077836573123932,
0.16522514820098877,
-0.3497549295425415,
0.10940726101398468,
-0.07040300965309143,
0.06501308083534241,
-0.17602159082889557,
0.09017505496740341,
-0.0029418952763080597,
0.5162726044654846,
-0.22517861425876617,
0.013208268210291862,
0.002313651144504547,
-0.1493636965751648,
0.24060660600662231,
-0.3389912247657776,
0.09141680598258972,
-0.1429188847541809,
-0.2910047173500061,
-0.16297537088394165,
0.17156431078910828,
-0.3311235308647156,
-0.23425692319869995,
0.14809399843215942,
0.034273743629455566,
-0.02622533030807972,
-0.19593481719493866,
-0.18679502606391907,
-0.2554340064525604,
-0.007658494636416435,
-0.10097821801900864,
-0.17866022884845734,
-0.17112649977207184,
-0.29192736744880676,
-0.03833085298538208,
-0.20331943035125732,
0.23195812106132507,
0.03041723370552063,
0.046787362545728683,
0.012643741443753242,
0.23608103394508362,
0.026083361357450485,
0.1400335729122162,
0.24233213067054749,
0.24506409466266632,
0.08959388732910156,
-0.41747841238975525,
0.19435454905033112,
-0.20108649134635925,
0.001415798906236887,
-0.10727903991937637,
-0.02271284908056259,
0.5469458699226379,
-0.279996395111084,
-0.14162465929985046,
-0.017622817307710648,
-0.08011592924594879,
0.026990415528416634,
-0.18599514663219452,
0.04229170083999634,
-0.15389880537986755,
-0.014508139342069626,
0.007560509257018566,
-0.11324712634086609,
0.2860456705093384,
0.06702029705047607,
0.26503247022628784,
0.3165223002433777,
0.0014340691268444061,
-0.015915632247924805,
0.012104026973247528,
0.03527126833796501,
-0.09978923201560974,
-0.04514230787754059,
0.4481676518917084,
0.15601184964179993,
0.18251349031925201,
0.16618317365646362,
0.08733537793159485,
0.1539555788040161,
-0.03769402951002121,
0.49988290667533875,
-0.19646061956882477,
-0.10806529968976974,
0.30803754925727844,
-0.2841140627861023,
-0.042629439383745193,
-0.37655994296073914,
0.29462990164756775,
0.2967275381088257,
0.16060426831245422,
-0.013699240982532501,
-0.23719896376132965,
-0.08052676916122437,
0.06323007494211197,
-0.3416655957698822,
-0.04089365899562836,
-0.05511654540896416,
-0.2598974108695984,
0.372016966342926,
0.011614911258220673,
-0.1688089817762375,
0.18219991028308868,
-0.03378409892320633,
0.2445445954799652,
-0.12703365087509155,
0.16036677360534668,
-0.10460734367370605,
-0.30171841382980347,
-0.14477130770683289,
0.24017593264579773,
0.4522787928581238,
-0.006897064857184887,
0.46542394161224365,
-0.021660594269633293,
0.0839945450425148,
-0.5959160327911377,
-0.3237534165382385,
0.030241576954722404,
-0.17739400267601013,
0.028656110167503357,
0.5117049217224121,
-0.10225935280323029,
-0.15935105085372925,
-0.446864515542984,
0.18045169115066528,
-0.3456067442893982,
-0.46857377886772156,
0.17330384254455566,
-0.12087190896272659,
0.015825392678380013,
-0.20775984227657318,
-0.22224000096321106,
0.08509380370378494,
-0.19097009301185608,
0.5229114890098572,
0.18524932861328125,
0.38867974281311035,
-0.05095119774341583,
0.15434643626213074,
-0.04157868027687073,
-0.0524950735270977,
-0.16758914291858673,
-0.1895952820777893,
-0.21539568901062012,
0.17494912445545197,
-0.18860162794589996,
-0.12892189621925354,
0.29904696345329285,
-0.18639236688613892,
0.18769261240959167,
-0.16072845458984375,
-0.2117546945810318,
0.08966372907161713,
-0.07315992563962936,
0.49858933687210083,
0.1624467521905899,
0.2939797639846802,
0.16155436635017395,
0.3810480535030365,
-0.2706349492073059,
-0.08869537711143494,
0.0047599561512470245,
0.16777652502059937,
-0.295963853597641,
0.45562952756881714,
-0.04672598838806152,
0.2273278534412384,
-0.160869300365448,
0.8378419280052185,
0.2605215609073639,
-0.12102736532688141,
0.09982924163341522,
0.11014983057975769,
0.06875288486480713,
-0.09932876378297806,
-0.18325680494308472,
0.032996516674757004,
-0.12241587042808533,
-0.05682038515806198,
0.13136136531829834,
-0.09004674106836319,
0.09478940814733505,
0.11278420686721802,
0.09379307925701141,
-0.23834702372550964,
-0.32243892550468445,
0.36094561219215393,
-0.4326878488063812,
0.0729726180434227,
-0.2574167549610138,
-0.11599330604076385,
-0.25739529728889465,
0.05422542989253998,
0.11108271777629852,
-0.11138857901096344,
0.23474854230880737,
-0.25172409415245056,
-0.0031423382461071014,
0.03333564102649689,
-0.29524195194244385,
0.3461040258407593,
0.03604326769709587,
0.05432954430580139,
-0.10185055434703827,
-0.09356163442134857,
0.0823715478181839,
-0.09152970463037491,
0.46246492862701416,
-0.5184916257858276,
0.06118524819612503,
0.06239214166998863,
-0.08309175074100494,
0.3429962396621704,
-0.06774276494979858,
-0.05715157464146614,
0.31889045238494873,
-0.18899045884609222,
0.0018431544303894043,
-0.5309151411056519,
0.06372924149036407,
0.2363961786031723,
-0.21074897050857544,
-0.1050548106431961,
-0.17600366473197937,
-0.20612458884716034,
-0.025764791294932365,
-0.11810815334320068,
0.1901685893535614,
0.11662902683019638,
0.16098856925964355,
-0.23546242713928223,
0.01860751211643219,
-0.0073877256363630295,
0.05816206336021423,
0.19755053520202637,
-0.029338043183088303,
0.28060537576675415,
-0.12678441405296326,
0.16136151552200317,
-0.008755400776863098,
-0.1333841234445572,
0.11660421639680862,
0.4688839912414551,
-0.09857292473316193,
-0.04339110851287842,
-0.014714796096086502,
-0.3421318531036377,
0.08810648322105408,
0.31708624958992004,
-0.02425108477473259,
0.16855105757713318,
0.2828749716281891,
0.019556313753128052,
-0.09962363541126251,
-0.4899024963378906,
0.08446340262889862,
0.07705679535865784,
-0.1501508504152298,
-0.1774788200855255,
0.1497708559036255,
0.10443566739559174,
-0.20090004801750183,
0.4716748595237732,
0.30767393112182617,
-0.1743697077035904,
0.21240290999412537,
0.3531477749347687,
1.0269169807434082,
0.13505472242832184,
-0.09510582685470581,
-0.25899961590766907,
-0.34610021114349365,
0.0437481552362442,
-0.11792413890361786,
-0.0160004124045372,
-0.4204285740852356,
-0.05640869587659836,
-0.03732813149690628,
-0.16925880312919617,
0.2400316298007965,
0.05499942600727081,
-0.3875828683376312,
-0.10401441901922226,
0.010907232761383057,
0.157611683011055,
0.11936194449663162,
0.45172029733657837,
-0.5476393103599548,
0.18012788891792297,
0.1801426112651825,
0.13365428149700165,
0.1708090603351593,
-0.1285344511270523,
-0.22963383793830872,
-0.3386608362197876,
0.10520601272583008,
-0.3803396224975586,
-0.5002936720848083,
-0.13523045182228088,
-0.24435105919837952,
0.012639135122299194,
0.1857205331325531,
-0.07327860593795776,
0.35836371779441833,
-0.03324544057250023,
0.6631909012794495,
0.06800628453493118,
-0.0914943739771843,
0.2755769193172455,
0.4102289378643036,
0.2242838591337204,
-0.08978090435266495,
-0.1695166379213333,
0.15308572351932526,
-0.19898423552513123,
-0.21555638313293457,
0.006339769810438156,
-0.17570555210113525,
-0.3197341561317444,
0.010302290320396423,
-0.10774411261081696,
-0.06048831343650818,
-0.3080723285675049,
0.24566097557544708,
-0.19459989666938782,
-0.5073782801628113,
-0.2413026988506317,
0.1857100874185562,
0.09465955942869186,
-0.40206968784332275,
0.15714503824710846,
-0.07783132791519165,
0.05189935863018036,
0.12135881185531616,
-0.12696492671966553,
0.18154063820838928,
0.24153199791908264,
0.2923333942890167,
0.033839840441942215,
-0.07173067331314087,
-0.42720097303390503,
-0.08605069667100906,
0.4208064079284668,
-0.6525139808654785,
0.11923698335886002,
-0.011747444979846478,
-0.24155989289283752,
0.21512970328330994,
0.5502756834030151,
0.3855224847793579,
0.6653490662574768,
-0.16712671518325806,
0.10399945080280304,
-0.2985444962978363,
0.13340619206428528,
-0.05290049687027931,
0.4346817135810852,
-0.4081028401851654,
0.18448300659656525,
0.0608627125620842,
0.49509871006011963,
-0.4195157289505005,
0.02778775244951248,
-0.12961691617965698,
0.07856275141239166,
-0.6479326486587524,
-0.31319108605384827,
-0.16443336009979248,
-0.1738583892583847,
0.16895826160907745,
0.24953219294548035,
-0.4354356527328491,
-0.16878566145896912,
0.17067502439022064,
0.13751886785030365,
-0.08360245823860168,
0.0844801813364029,
-0.017357006669044495,
0.3028513789176941,
0.030629783868789673,
0.2966780960559845,
0.02195882424712181,
-0.23768022656440735,
-0.08389371633529663,
0.13619375228881836,
0.44894564151763916,
0.15173260867595673,
-0.25653550028800964,
-0.22474494576454163,
-0.11714030802249908,
0.5546463131904602,
0.05952752009034157,
-0.0017226748168468475,
-0.15065178275108337,
-0.2130872756242752,
0.17779594659805298,
0.23951619863510132,
0.071934774518013,
-0.0930265411734581,
0.2282191812992096,
-0.047904498875141144,
-0.44342494010925293,
-0.01367875188589096,
0.42555052042007446,
0.18414166569709778,
-0.05687377601861954,
-0.17091010510921478,
-0.13601496815681458,
0.3007023334503174,
-0.20594903826713562,
-0.09199728071689606,
-0.09139542281627655,
-0.1767505705356598,
0.056889478117227554,
0.149044930934906,
0.399026095867157,
-0.25474071502685547,
-0.1645766794681549,
0.20355674624443054,
-0.10962693393230438,
-0.4082530736923218,
0.2370002567768097,
0.6039793491363525,
-0.20242638885974884,
-0.07732363045215607,
0.5124912858009338,
0.003344506025314331,
-0.12372387200593948,
-0.11399254202842712,
-0.3604656159877777,
0.31330788135528564,
0.11819624155759811,
0.33650386333465576,
0.32560163736343384,
-0.06925740092992783,
0.5989329814910889,
0.11570962518453598,
0.18100661039352417,
-0.021936580538749695,
0.18195840716362,
0.3182794749736786,
0.0008986247703433037,
0.057478416711091995,
-0.31570225954055786,
0.14735949039459229,
-0.17235854268074036,
-0.018346091732382774,
-0.3819769322872162,
-0.33129987120628357,
-0.36622512340545654,
-0.026322785764932632,
-0.0530683733522892,
0.10798826068639755,
0.3018925189971924,
0.11199967563152313,
0.0202338770031929,
-0.1678917109966278,
0.29520896077156067,
-0.0200759656727314,
0.49790000915527344,
-0.4526228606700897,
0.3165910542011261,
0.3761112689971924,
-0.16187870502471924,
0.08559441566467285,
0.5427342653274536,
0.43680426478385925,
0.07314378023147583,
-0.24371901154518127,
0.18841859698295593,
0.04461060091853142,
-0.11131701618432999,
-0.020328298211097717,
0.3312772214412689,
0.02472556009888649,
0.006562205031514168,
0.056445080786943436,
0.17841410636901855,
-0.13040105998516083,
-0.12291891872882843,
0.028985576704144478,
-0.08359181880950928,
0.10221977531909943,
0.1924344003200531,
0.2956174612045288,
-0.3296928107738495,
0.10192935168743134,
0.26138290762901306,
-0.12856759130954742,
-0.5246247053146362,
0.30142199993133545,
-0.09741275757551193,
-0.020447498187422752,
-0.3573385179042816,
0.1292562633752823,
0.07336437702178955,
0.5885049700737,
0.2551608681678772,
-0.00583842396736145,
-0.4830191731452942,
-0.22985228896141052,
-0.5054221153259277,
0.12964887917041779,
-0.1140373945236206,
-0.09597805142402649,
0.24820064008235931,
0.3283277451992035,
0.19398078322410583,
0.1321796476840973,
0.14203312993049622,
0.1959695965051651,
-0.159491628408432,
0.6001907587051392,
-0.38631075620651245,
0.30784642696380615,
0.513602077960968,
-0.08051437139511108,
-0.07863084971904755,
-0.2760343551635742,
0.3528352379798889,
0.1143096312880516,
0.14091920852661133,
0.11815544962882996,
-0.16978101432323456,
0.4943079948425293,
0.09842318296432495,
0.24485111236572266,
0.18036463856697083,
0.22466596961021423,
0.04069029539823532,
-0.13707339763641357,
0.07426942139863968,
0.05275546759366989,
-0.26967161893844604,
0.1582818329334259,
0.4009895324707031,
0.3272155523300171,
0.2252393513917923,
0.13289345800876617,
-0.21765832602977753,
0.000925594475120306,
-0.18242643773555756,
0.1450243592262268,
-0.33223310112953186,
0.16722102463245392,
-0.021546635776758194,
0.03996560722589493,
0.031207460910081863,
0.1430395543575287,
0.0038821958005428314,
-0.16531135141849518,
-0.46391594409942627,
-0.46286946535110474,
0.33178985118865967,
-0.06426670402288437,
-0.09964479506015778,
-0.01711602509021759,
0.2817239761352539,
0.21107083559036255,
-0.03715602308511734,
-0.6742974519729614,
-0.046772852540016174,
0.2068386971950531,
-0.09552554786205292,
0.12705619633197784,
0.06177433207631111,
-0.0073746852576732635,
0.13543225824832916,
-0.13458630442619324,
0.2355390042066574,
-0.06783048808574677,
0.11712154746055603,
-0.3330555558204651,
-0.3368644714355469
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Hey @lhoestq, I've added the test and corrected the Cl errors as well. Do let me know if this requires any change. Thanks! | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 23 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Hey @lhoestq, I've added the test and corrected the Cl errors as well. Do let me know if this requires any change. Thanks! | [
-0.23383992910385132,
0.10417981445789337,
-0.03459267318248749,
0.2354716956615448,
0.018932949751615524,
-0.032364170998334885,
0.14017218351364136,
0.19659100472927094,
-0.24553683400154114,
0.1481492519378662,
0.2493067979812622,
0.4501902759075165,
-0.11095652729272842,
0.034387074410915375,
0.20890922844409943,
-0.0870913565158844,
0.10823850333690643,
0.2194172441959381,
0.12387949973344803,
0.020136244595050812,
-0.23915202915668488,
0.17521630227565765,
-0.03548024222254753,
0.07628592848777771,
-0.3934774696826935,
-0.24671295285224915,
-0.15364640951156616,
0.21992048621177673,
-0.33729174733161926,
-0.4851243793964386,
-0.1061122938990593,
0.33487653732299805,
-0.1987949013710022,
0.295802503824234,
-0.00011201454617548734,
-0.06503523886203766,
0.3513702154159546,
0.16090884804725647,
-0.36590129137039185,
0.10593494027853012,
-0.31543663144111633,
-0.0883430764079094,
-0.1308983564376831,
-0.014869369566440582,
0.18726342916488647,
-0.46625202894210815,
-0.04155966639518738,
-0.09449659287929535,
0.5421994924545288,
-0.015954073518514633,
0.20133136212825775,
-0.1440178006887436,
0.633195161819458,
-0.152776300907135,
0.24221104383468628,
0.19487404823303223,
-0.20925281941890717,
0.04177191108465195,
0.19435489177703857,
0.30246230959892273,
-0.16279718279838562,
0.36729878187179565,
0.3603793978691101,
0.013228723779320717,
0.37079137563705444,
-0.041053060442209244,
0.1571948528289795,
-0.09064118564128876,
0.18841171264648438,
0.2565787434577942,
0.4811171591281891,
-0.22814473509788513,
-0.26030322909355164,
-0.03180871903896332,
-0.09826453030109406,
-0.22227506339550018,
0.37082627415657043,
0.11057698726654053,
-0.259459525346756,
-0.1730419099330902,
-0.251811683177948,
-0.151192307472229,
-0.21369852125644684,
-0.34094327688217163,
0.15371976792812347,
-0.03336363285779953,
0.17994853854179382,
0.0120566226541996,
0.3610383868217468,
0.017577748745679855,
0.2673444151878357,
-0.20442751049995422,
-0.42895209789276123,
0.050698600709438324,
-0.028833996504545212,
-0.25190746784210205,
-0.08893544226884842,
0.20289507508277893,
0.20143753290176392,
0.0869327262043953,
0.16008293628692627,
0.16386470198631287,
0.1574191302061081,
-0.003955695778131485,
0.22795766592025757,
0.007383635267615318,
0.273583322763443,
0.17422005534172058,
0.004188746213912964,
0.006870552897453308,
-0.2716653048992157,
-0.017823632806539536,
-0.08370210230350494,
-0.39331328868865967,
0.6808086037635803,
0.27471959590911865,
-0.09184479713439941,
-0.22902892529964447,
0.23641914129257202,
0.2941504418849945,
-0.08452960848808289,
-0.32134342193603516,
-0.029520295560359955,
0.206821471452713,
0.1176757663488388,
-0.09799925237894058,
-0.13096250593662262,
-0.1767984926700592,
-0.03645780682563782,
-0.06944000720977783,
-0.15674366056919098,
0.042582347989082336,
-0.31593191623687744,
-0.12316318601369858,
0.29724740982055664,
-0.08295227587223053,
0.045171596109867096,
0.2672116160392761,
-0.14562185108661652,
-0.07148688286542892,
0.14344139397144318,
-0.011261329054832458,
0.2489650845527649,
0.02704170159995556,
-0.1780978888273239,
-0.08801005035638809,
-0.25276628136634827,
-0.16370919346809387,
-0.12402017414569855,
0.23895716667175293,
0.11312560737133026,
-0.3782448172569275,
-0.1790478527545929,
0.25357699394226074,
-0.16789686679840088,
0.0580151230096817,
0.1766919493675232,
-0.04327760264277458,
-0.024728335440158844,
-0.019411297515034676,
0.12451872229576111,
0.22575515508651733,
0.10633642971515656,
-0.15537841618061066,
0.05942806601524353,
0.19261574745178223,
-0.44405993819236755,
0.023612596094608307,
-0.45218709111213684,
-0.11107644438743591,
-0.003896668553352356,
0.062370944768190384,
-0.15471616387367249,
0.27133050560951233,
-0.1809455305337906,
0.0986688882112503,
0.491120845079422,
0.18855854868888855,
-0.2243519276380539,
0.2915072739124298,
-0.03073161095380783,
-0.14961346983909607,
0.4369451403617859,
0.0563480481505394,
0.06768256425857544,
-0.11195765435695648,
0.008373834192752838,
-0.22832147777080536,
-0.3402678072452545,
-0.1828911304473877,
-0.4329671859741211,
-0.13881666958332062,
-0.21010242402553558,
-0.1044909656047821,
0.14562328159809113,
-0.3574710488319397,
0.11585985869169235,
-0.10010462254285812,
0.012508083134889603,
-0.2129248082637787,
0.05212513357400894,
-0.04664210230112076,
0.5284168124198914,
-0.29071903228759766,
-0.019464677199721336,
0.03148232400417328,
-0.1887049674987793,
0.26516762375831604,
-0.3566628098487854,
0.0872115045785904,
-0.1193346381187439,
-0.28715914487838745,
-0.1565834879875183,
0.18414610624313354,
-0.3380751311779022,
-0.19778622686862946,
0.11860030889511108,
0.05884646996855736,
0.003936026245355606,
-0.17219558358192444,
-0.16340447962284088,
-0.2761765718460083,
-0.02824166789650917,
-0.09007591009140015,
-0.1389729380607605,
-0.17734767496585846,
-0.27708736062049866,
-0.0218324214220047,
-0.24039684236049652,
0.22492828965187073,
0.04026635363698006,
0.03401150181889534,
-0.00898703746497631,
0.26094478368759155,
0.004797673784196377,
0.14476177096366882,
0.22336024045944214,
0.262591153383255,
0.08975817263126373,
-0.4097653925418854,
0.1525512933731079,
-0.17425957322120667,
0.002532798796892166,
-0.11716808378696442,
-0.07444844394922256,
0.5360226035118103,
-0.2575746178627014,
-0.15338179469108582,
-0.015621040016412735,
-0.10618063062429428,
-0.026023898273706436,
-0.22163182497024536,
0.04953900724649429,
-0.1671946942806244,
0.01841326430439949,
-0.0024295076727867126,
-0.1256544440984726,
0.2964053750038147,
0.08821207284927368,
0.2277204692363739,
0.2921305298805237,
-0.011367060244083405,
0.0580657497048378,
-0.004726625978946686,
0.049826085567474365,
-0.08186645060777664,
-0.027829958125948906,
0.47738632559776306,
0.17207778990268707,
0.13765954971313477,
0.16415634751319885,
0.11330348253250122,
0.14382769167423248,
-0.01918264664709568,
0.48396191000938416,
-0.23385120928287506,
-0.11513682454824448,
0.2932437062263489,
-0.2937081754207611,
-0.035953473299741745,
-0.32493025064468384,
0.32059726119041443,
0.2836622893810272,
0.16383907198905945,
-0.05796763300895691,
-0.21081705391407013,
-0.08630373328924179,
0.11827564984560013,
-0.36990317702293396,
0.004137256182730198,
-0.0561697892844677,
-0.23315805196762085,
0.39710962772369385,
0.009958799928426743,
-0.18315210938453674,
0.14379285275936127,
-0.06530918180942535,
0.27529922127723694,
-0.15112721920013428,
0.10807327181100845,
-0.14722073078155518,
-0.2655233144760132,
-0.1651325821876526,
0.21923871338367462,
0.5172202587127686,
0.006131714675575495,
0.5159890651702881,
-0.030794600024819374,
0.10685178637504578,
-0.5581192970275879,
-0.31470030546188354,
0.0015221349895000458,
-0.13762734830379486,
0.06735461205244064,
0.4596036672592163,
-0.10930788516998291,
-0.17318379878997803,
-0.46074703335762024,
0.19383126497268677,
-0.4077676832675934,
-0.4600433111190796,
0.2069077044725418,
-0.11081988364458084,
-0.02359398454427719,
-0.2216803878545761,
-0.23510563373565674,
0.09885802865028381,
-0.16814230382442474,
0.4967108368873596,
0.18913106620311737,
0.37253570556640625,
-0.04629039391875267,
0.1396821141242981,
-0.014438020996749401,
-0.02143370918929577,
-0.12107188999652863,
-0.17590683698654175,
-0.19865000247955322,
0.18909598886966705,
-0.20923195779323578,
-0.13227060437202454,
0.3057006895542145,
-0.26007989048957825,
0.20523294806480408,
-0.1298789083957672,
-0.24470724165439606,
0.1371491551399231,
-0.08130864053964615,
0.506439208984375,
0.19726179540157318,
0.29622894525527954,
0.15499445796012878,
0.37542256712913513,
-0.24672771990299225,
-0.1048695296049118,
0.02957168221473694,
0.18738499283790588,
-0.2975217401981354,
0.4626309871673584,
-0.04505782574415207,
0.2336379885673523,
-0.20170187950134277,
0.8239552974700928,
0.24097946286201477,
-0.13518540561199188,
0.11407801508903503,
0.10120122879743576,
0.08293021470308304,
-0.1126512661576271,
-0.23261626064777374,
-0.018931644037365913,
-0.08200213313102722,
-0.07052693516016006,
0.15584690868854523,
-0.11352511495351791,
0.07357475161552429,
0.11766272783279419,
0.1010650098323822,
-0.24933072924613953,
-0.34925520420074463,
0.38210242986679077,
-0.46012604236602783,
0.07494476437568665,
-0.3053732216358185,
-0.11481036245822906,
-0.22817370295524597,
0.015285594388842583,
0.10165959596633911,
-0.09103378653526306,
0.2348383069038391,
-0.2728971242904663,
-0.040486887097358704,
0.012657960876822472,
-0.23852697014808655,
0.35877659916877747,
0.06703825294971466,
0.08840629458427429,
-0.12251384556293488,
-0.08274483680725098,
0.08677873760461807,
-0.08258949220180511,
0.45005571842193604,
-0.5666247010231018,
0.08125512301921844,
0.07592612504959106,
-0.056649986654520035,
0.3204072415828705,
-0.06967099010944366,
-0.10110286623239517,
0.2988555431365967,
-0.18897287547588348,
-0.011280454695224762,
-0.5118464827537537,
0.06506381183862686,
0.231458842754364,
-0.17439861595630646,
-0.09251674264669418,
-0.19700367748737335,
-0.18679839372634888,
0.0021865814924240112,
-0.12421472370624542,
0.1826215386390686,
0.06958796083927155,
0.17671328783035278,
-0.23395897448062897,
0.06264948844909668,
-0.018823402002453804,
0.07233420759439468,
0.26575976610183716,
-0.0069812689907848835,
0.27896323800086975,
-0.1023237407207489,
0.1930808126926422,
-0.04744499921798706,
-0.1355322152376175,
0.11854275315999985,
0.4514864683151245,
-0.10174579918384552,
-0.012004747986793518,
-0.06672213971614838,
-0.33799999952316284,
0.07374434918165207,
0.32890501618385315,
-0.061547428369522095,
0.21612825989723206,
0.2868296504020691,
-0.034791864454746246,
-0.11854373663663864,
-0.47138118743896484,
0.08053766936063766,
0.08354496210813522,
-0.1811736673116684,
-0.14381453394889832,
0.1722879707813263,
0.13959385454654694,
-0.21102875471115112,
0.48579639196395874,
0.3031994104385376,
-0.19888193905353546,
0.2178739458322525,
0.36010757088661194,
1.0441914796829224,
0.1129898875951767,
-0.15216100215911865,
-0.2489205002784729,
-0.3126506805419922,
0.03512955084443092,
-0.08353304117918015,
-0.04163218289613724,
-0.4209494888782501,
-0.02916804701089859,
-0.02895990014076233,
-0.16684970259666443,
0.27040067315101624,
0.09242841601371765,
-0.4095698893070221,
-0.0826496034860611,
0.006917618215084076,
0.16095682978630066,
0.10032252967357635,
0.48607927560806274,
-0.5546230673789978,
0.1974123865365982,
0.193985253572464,
0.1147385686635971,
0.2300923466682434,
-0.11358095705509186,
-0.21664515137672424,
-0.3186380863189697,
0.08944982290267944,
-0.4017341136932373,
-0.5096626877784729,
-0.1578829288482666,
-0.2612136900424957,
0.01081831008195877,
0.17967639863491058,
-0.06659053266048431,
0.41932323575019836,
-0.051620129495859146,
0.6903902292251587,
0.10684333741664886,
-0.09702060371637344,
0.2150040715932846,
0.38715940713882446,
0.2230631560087204,
-0.0566914901137352,
-0.17614546418190002,
0.15846404433250427,
-0.18908831477165222,
-0.23393842577934265,
0.0023860707879066467,
-0.16259925067424774,
-0.34194856882095337,
0.02862982451915741,
-0.11018295586109161,
-0.08352985978126526,
-0.30495142936706543,
0.2472919374704361,
-0.20687907934188843,
-0.5338190197944641,
-0.1998479813337326,
0.16957683861255646,
0.09689529240131378,
-0.3896334171295166,
0.18347597122192383,
-0.11944401264190674,
0.06338998675346375,
0.10212431848049164,
-0.17739301919937134,
0.16312333941459656,
0.25706520676612854,
0.2931995987892151,
0.04255897179245949,
-0.019104767590761185,
-0.43700096011161804,
-0.06216249614953995,
0.4468057155609131,
-0.6312698721885681,
0.13582074642181396,
-0.010082544758915901,
-0.26487693190574646,
0.17677772045135498,
0.5617151856422424,
0.4110755920410156,
0.6687917709350586,
-0.14763382077217102,
0.10125716030597687,
-0.31387442350387573,
0.13185423612594604,
0.02257370762526989,
0.451917827129364,
-0.4302237033843994,
0.15250377357006073,
0.05162510275840759,
0.5322068929672241,
-0.3935692012310028,
0.040087588131427765,
-0.13368244469165802,
0.07114001363515854,
-0.6595536470413208,
-0.25424817204475403,
-0.12821897864341736,
-0.18752798438072205,
0.13676494359970093,
0.1887216866016388,
-0.4514255225658417,
-0.14696931838989258,
0.19751277565956116,
0.14906743168830872,
-0.10642900317907333,
0.06311658769845963,
-0.02471088618040085,
0.26977992057800293,
0.10993508994579315,
0.25301146507263184,
-0.008666278794407845,
-0.2935276925563812,
-0.09486201405525208,
0.13677704334259033,
0.45172199606895447,
0.15484994649887085,
-0.32359135150909424,
-0.19840562343597412,
-0.1706475019454956,
0.5068469643592834,
0.03051021695137024,
0.012066647410392761,
-0.12648633122444153,
-0.22461819648742676,
0.17641796171665192,
0.24521955847740173,
0.029366642236709595,
-0.08423522859811783,
0.22402077913284302,
-0.03606601804494858,
-0.4280928075313568,
-0.009760902263224125,
0.39447975158691406,
0.19088615477085114,
-0.07947518676519394,
-0.13607117533683777,
-0.13276761770248413,
0.27302706241607666,
-0.18068194389343262,
-0.05392209440469742,
-0.06248406693339348,
-0.15726053714752197,
0.10301995277404785,
0.21872881054878235,
0.3668344020843506,
-0.27381646633148193,
-0.1734979897737503,
0.1951541304588318,
-0.14632633328437805,
-0.41062504053115845,
0.24711938202381134,
0.6689587235450745,
-0.2090824842453003,
-0.027886461466550827,
0.4872016906738281,
-0.03544202819466591,
-0.16935011744499207,
-0.1681554764509201,
-0.3923066556453705,
0.31013986468315125,
0.1025950089097023,
0.32306596636772156,
0.3511063754558563,
-0.06265181303024292,
0.6234899759292603,
0.12945224344730377,
0.21832731366157532,
-0.008059106767177582,
0.1590653657913208,
0.3704509735107422,
-0.0179959237575531,
0.007695791777223349,
-0.33442288637161255,
0.08784811198711395,
-0.1375836730003357,
0.019458817318081856,
-0.40446776151657104,
-0.33503061532974243,
-0.34411054849624634,
-0.03140059858560562,
-0.05664212629199028,
0.0967111811041832,
0.2539488673210144,
0.1384638100862503,
0.029352892190217972,
-0.13263054192066193,
0.2954842448234558,
0.01876514032483101,
0.5027934908866882,
-0.44717851281166077,
0.31733810901641846,
0.3852408528327942,
-0.14059875905513763,
0.11892396211624146,
0.536124050617218,
0.4437955319881439,
0.1054828092455864,
-0.2226259857416153,
0.20212887227535248,
0.03498236462473869,
-0.13574381172657013,
-0.006853553466498852,
0.3757692873477936,
0.03678504377603531,
-0.02392248809337616,
0.028054505586624146,
0.157722607254982,
-0.11331170797348022,
-0.10470636188983917,
-0.00013827532529830933,
-0.10365371406078339,
0.09761203825473785,
0.20252388715744019,
0.2971923351287842,
-0.3265870213508606,
0.08160021901130676,
0.22142016887664795,
-0.08189135789871216,
-0.519834578037262,
0.30887487530708313,
-0.12008168548345566,
0.008888715878129005,
-0.34956347942352295,
0.12014366686344147,
0.08936695754528046,
0.5908834934234619,
0.23651772737503052,
0.02021896466612816,
-0.5120783448219299,
-0.20309048891067505,
-0.4982966482639313,
0.11488053947687149,
-0.11000868678092957,
-0.06607568264007568,
0.23576220870018005,
0.3143068552017212,
0.19720055162906647,
0.12946727871894836,
0.1506018191576004,
0.1783744841814041,
-0.19886881113052368,
0.5939826965332031,
-0.40201786160469055,
0.29307693243026733,
0.4890855550765991,
-0.0860850065946579,
-0.08074083924293518,
-0.2840563952922821,
0.38937726616859436,
0.08314545452594757,
0.10997127741575241,
0.1789712905883789,
-0.14024144411087036,
0.48178166151046753,
0.0863989070057869,
0.27064865827560425,
0.17459924519062042,
0.29426896572113037,
0.04559433460235596,
-0.1376228779554367,
0.08002111315727234,
0.0909307599067688,
-0.27595052123069763,
0.13700467348098755,
0.4305066466331482,
0.32996276021003723,
0.23523962497711182,
0.16618232429027557,
-0.19823923707008362,
0.015652474015951157,
-0.165694922208786,
0.14167000353336334,
-0.3199787735939026,
0.13740628957748413,
-0.03603382781147957,
0.05785597115755081,
0.0493270643055439,
0.112291619181633,
-0.017565950751304626,
-0.14279624819755554,
-0.44339972734451294,
-0.4390476942062378,
0.34495919942855835,
-0.08369029313325882,
-0.055799420922994614,
-0.04077638313174248,
0.296441912651062,
0.1944851577281952,
-0.028645755723118782,
-0.6904187798500061,
-0.07915705442428589,
0.2098446637392044,
-0.10685659199953079,
0.13597889244556427,
0.05706074461340904,
0.011064726859331131,
0.16555899381637573,
-0.10433371365070343,
0.21152973175048828,
-0.10604681819677353,
0.11819669604301453,
-0.3333302140235901,
-0.32782262563705444
] |
https://github.com/huggingface/datasets/pull/2245 | Add `key` type and duplicates verification with hashing | Merging. I'll update the comment on the master branch (for some reason I can edit files on this branch) | Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this! | 19 | text: Add `key` type and duplicates verification with hashing
Closes #2230
There is currently no verification for the data type and the uniqueness of the keys yielded by the `dataset_builder`.
This PR is currently a work in progress with the following goals:
- [x] Adding `hash_salt` to `ArrowWriter` so that the keys belonging to different splits have different hash
- [x] Add `key` arrtibute to `ArrowWriter.write()` for hashing
- [x] Add a hashing class which takes an input key of certain type (`str`/`int`/anything convertible to string) and produces a 128-bit hash using `hashlib.md5`
- [x] Creating a function giving a custom error message when non-unique keys are found
**[This will take care of type-checking for keys]**
- [x] Checking for duplicate keys in `writer.write()` for each batch
[**NOTE**: This PR is currently concerned with `GeneratorBasedBuilder` only, for simplification. A subsequent PR will be made in future for `ArrowBasedBuilder`]
@lhoestq Thank you for the feedback. It would be great to have your guidance on this!
Merging. I'll update the comment on the master branch (for some reason I can edit files on this branch) | [
-0.2919762134552002,
0.13105669617652893,
-0.044707559049129486,
0.2038600593805313,
-0.042330652475357056,
0.04230432212352753,
0.008351713418960571,
0.3249630033969879,
-0.31837230920791626,
0.09960602223873138,
0.03733551502227783,
0.4278676211833954,
-0.11223690956830978,
0.057714447379112244,
0.06958169490098953,
0.030792243778705597,
0.21571186184883118,
0.20743796229362488,
-0.01696474850177765,
0.05215681344270706,
-0.25482505559921265,
0.30666184425354004,
0.030137337744235992,
-0.004971109330654144,
-0.3227125406265259,
-0.03146687150001526,
-0.1654690057039261,
0.2904011309146881,
-0.45321640372276306,
-0.3593097925186157,
-0.08808878064155579,
0.33676877617836,
-0.29904472827911377,
0.3442932069301605,
-0.00010993946489179507,
-0.03387632966041565,
0.3787042498588562,
0.21890583634376526,
-0.36928364634513855,
0.06807254999876022,
-0.2801215648651123,
-0.15060661733150482,
-0.16907259821891785,
0.07850327342748642,
0.31700944900512695,
-0.5076276063919067,
-0.060129500925540924,
-0.08108331263065338,
0.4847422242164612,
-0.061235953122377396,
0.20891229808330536,
-0.17970049381256104,
0.6092683672904968,
-0.14749358594417572,
0.18610838055610657,
0.21557433903217316,
-0.09752611070871353,
0.051929451525211334,
0.13089078664779663,
0.26982828974723816,
-0.025092951953411102,
0.31360962986946106,
0.33001309633255005,
-0.19299308955669403,
0.4532734155654907,
-0.16367383301258087,
0.1368478238582611,
-0.1165759414434433,
0.1400739848613739,
0.21308109164237976,
0.42916178703308105,
-0.17448636889457703,
-0.15790385007858276,
0.05325845628976822,
-0.18103906512260437,
-0.25763872265815735,
0.4039683938026428,
-0.008878977969288826,
-0.19362255930900574,
-0.20643623173236847,
-0.22430434823036194,
-0.2636149525642395,
-0.19867828488349915,
-0.3656085729598999,
0.07404409348964691,
0.18138417601585388,
0.28714480996131897,
0.010486103594303131,
0.36694151163101196,
-0.04162011295557022,
0.25980493426322937,
-0.22690078616142273,
-0.46837541460990906,
0.021824704483151436,
-0.10314388573169708,
-0.2745274305343628,
-0.18059813976287842,
0.09169003367424011,
0.2119722068309784,
0.14669284224510193,
0.031004417687654495,
0.08449959009885788,
0.17760398983955383,
0.028026403859257698,
0.29148927330970764,
0.05033601447939873,
0.22202333807945251,
0.059952594339847565,
0.029678305611014366,
-0.12119291722774506,
-0.13731272518634796,
0.06671367585659027,
-0.05597939342260361,
-0.451824814081192,
0.4656221568584442,
0.11941570043563843,
-0.028490640223026276,
-0.23918552696704865,
0.2247599959373474,
0.15886995196342468,
0.006519421935081482,
-0.26129359006881714,
-0.1021159440279007,
0.10064205527305603,
0.0602719746530056,
-0.008331798017024994,
-0.04865148663520813,
-0.1463381052017212,
-0.026730582118034363,
0.005978734232485294,
-0.11316201835870743,
-0.014599326997995377,
-0.2544514536857605,
-0.2582088112831116,
0.180214524269104,
-0.16625118255615234,
-0.04314597696065903,
0.33349618315696716,
-0.04530548304319382,
0.03719416260719299,
-0.029358841478824615,
0.0005257371813058853,
0.2755269408226013,
0.06649098545312881,
-0.0838666632771492,
-0.11290480941534042,
-0.2532431483268738,
-0.10075485706329346,
-0.09567409008741379,
0.21435093879699707,
0.08464770764112473,
-0.39141419529914856,
-0.3243046998977661,
0.27636465430259705,
-0.11864583939313889,
0.06384936720132828,
0.08852286636829376,
0.06148765981197357,
-0.003449283540248871,
-0.0763912945985794,
0.018908411264419556,
0.2905583381652832,
0.07822661101818085,
-0.18511639535427094,
0.11328885704278946,
0.015653938055038452,
-0.4553298354148865,
0.06313012540340424,
-0.463413804769516,
-0.12207643687725067,
-0.00027545541524887085,
0.2409401386976242,
-0.2133876085281372,
0.0681568831205368,
-0.2074812352657318,
0.11435118317604065,
0.4656704366207123,
0.09827673435211182,
-0.1709633469581604,
0.26069968938827515,
-0.039510197937488556,
-0.17846040427684784,
0.3944697082042694,
0.014838777482509613,
0.1349392533302307,
-0.19113749265670776,
0.09741633385419846,
-0.05719084292650223,
-0.35325637459754944,
-0.16189397871494293,
-0.4200608432292938,
-0.12927895784378052,
-0.18714220821857452,
-0.18104024231433868,
0.17950482666492462,
-0.4397430419921875,
0.10278372466564178,
-0.10208479315042496,
0.04405713826417923,
-0.1632305383682251,
0.05984441936016083,
-0.012701407074928284,
0.5318684577941895,
-0.21140949428081512,
0.02159205824136734,
0.10428985208272934,
-0.19319283962249756,
0.16313114762306213,
-0.3460741937160492,
0.0974152609705925,
-0.03257550299167633,
-0.3222725987434387,
-0.14776557683944702,
0.12078820914030075,
-0.24399606883525848,
-0.12990865111351013,
0.13490189611911774,
0.0253993459045887,
-0.06884218752384186,
-0.24857620894908905,
-0.24378135800361633,
-0.1894647628068924,
0.019424328580498695,
-0.01613297499716282,
-0.2147659957408905,
-0.15414057672023773,
-0.3214437961578369,
0.06158293038606644,
-0.21356473863124847,
0.25947004556655884,
-0.024271279573440552,
0.019818441942334175,
0.022046159952878952,
0.3454952538013458,
-0.14429481327533722,
0.21540561318397522,
0.23302635550498962,
0.16343794763088226,
0.21532224118709564,
-0.3707388639450073,
0.11316642165184021,
-0.2067805379629135,
-0.017484160140156746,
-0.11665013432502747,
-0.08576995879411697,
0.37892186641693115,
-0.25675874948501587,
-0.1162508949637413,
0.0734715461730957,
-0.09556672722101212,
-0.04113013297319412,
-0.13827809691429138,
0.0032801181077957153,
-0.09743982553482056,
-0.05492209270596504,
-0.004691680893301964,
-0.05420396476984024,
0.42685988545417786,
0.12292888760566711,
0.27053120732307434,
0.38379350304603577,
0.0623868890106678,
-0.07211140543222427,
-0.021133482456207275,
-0.06488233059644699,
-0.1973438858985901,
-0.07489822804927826,
0.44519713521003723,
0.21466988325119019,
0.2087119221687317,
0.19926273822784424,
0.14888305962085724,
0.18509724736213684,
0.023622076958417892,
0.5432221293449402,
-0.11070923507213593,
-0.0557524599134922,
0.34312036633491516,
-0.20652399957180023,
-0.005112717859447002,
-0.30622556805610657,
0.3824121952056885,
0.2988213300704956,
0.06813841313123703,
0.017386544495821,
-0.17463530600070953,
-0.06489109247922897,
0.03118797391653061,
-0.3680855631828308,
-0.07537460327148438,
-0.22883746027946472,
-0.3943519592285156,
0.3571964502334595,
0.0671013742685318,
-0.21271778643131256,
0.1556023508310318,
0.1437874138355255,
0.2013501524925232,
-0.17379991710186005,
0.10162711143493652,
-0.10338470339775085,
-0.2280784547328949,
-0.11673010140657425,
0.22792452573776245,
0.5288631319999695,
-0.08921658247709274,
0.44789034128189087,
0.03981885313987732,
0.07944188266992569,
-0.4964674115180969,
-0.4400283098220825,
0.00986369326710701,
-0.2742491364479065,
-0.050237469375133514,
0.4558278024196625,
-0.1849205642938614,
-0.009434333071112633,
-0.5261151194572449,
0.07868892699480057,
-0.3244389295578003,
-0.5571064352989197,
0.08408976346254349,
-0.11949186027050018,
-0.001997391227632761,
-0.24633532762527466,
-0.2674867510795593,
0.09739600121974945,
-0.3038564622402191,
0.4691341519355774,
0.05390806868672371,
0.3213193416595459,
-0.06941945105791092,
0.08187806606292725,
-0.11718488484621048,
-0.03225334361195564,
-0.17890788614749908,
-0.19468963146209717,
-0.13933077454566956,
0.13865169882774353,
-0.25523602962493896,
-0.03236963972449303,
0.4271148443222046,
-0.10532846301794052,
0.32230791449546814,
-0.18107031285762787,
-0.10320216417312622,
0.27577081322669983,
-0.09685909003019333,
0.47616052627563477,
0.2298872172832489,
0.27422839403152466,
0.1379966288805008,
0.41332128643989563,
-0.26237523555755615,
-0.06556899100542068,
-0.016309212893247604,
0.11482694745063782,
-0.1858120858669281,
0.4851490557193756,
-0.06405952572822571,
0.22526860237121582,
-0.19902032613754272,
0.8729454874992371,
0.24698004126548767,
-0.022042516618967056,
0.05812256783246994,
0.21963943541049957,
0.16634853184223175,
-0.1378641128540039,
-0.21106766164302826,
-0.018220283091068268,
-0.1007896363735199,
0.010383125394582748,
0.1660291999578476,
-0.001284560188651085,
0.06289195269346237,
0.043677978217601776,
0.04180044308304787,
-0.1619848906993866,
-0.2948707044124603,
0.3248397707939148,
-0.42796075344085693,
-0.040278904139995575,
-0.2394953817129135,
-0.3183765709400177,
-0.20954382419586182,
0.012933878228068352,
0.16125966608524323,
-0.003319874405860901,
0.13373318314552307,
-0.1225547194480896,
0.05562331900000572,
0.0378216877579689,
-0.27926862239837646,
0.33141112327575684,
0.046058930456638336,
-0.005819323472678661,
-0.0883946642279625,
-0.23851251602172852,
0.008959509432315826,
-0.08033625781536102,
0.4260408878326416,
-0.4137127995491028,
-0.05708133429288864,
-0.012107767164707184,
-0.009611517190933228,
0.3439907133579254,
-0.06330321729183197,
0.08969083428382874,
0.2261589914560318,
-0.003657199442386627,
0.05943666771054268,
-0.5803705453872681,
-0.060920532792806625,
0.2523227035999298,
-0.13649432361125946,
-0.06130806356668472,
-0.13152430951595306,
-0.22549471259117126,
0.012489847838878632,
-0.2355223447084427,
-0.030893340706825256,
0.10712603479623795,
0.18470904231071472,
-0.3178428113460541,
-0.004580788314342499,
-0.009122475981712341,
-0.07384136319160461,
0.29621219635009766,
-0.005660727620124817,
0.2707224190235138,
-0.17485888302326202,
0.1333906352519989,
-0.13162533938884735,
0.02317298948764801,
0.15450215339660645,
0.6004453301429749,
0.03792453557252884,
-0.11213836073875427,
-0.048183783888816833,
-0.32440945506095886,
0.17527031898498535,
0.2448670119047165,
-0.027954578399658203,
0.1717786192893982,
0.26206547021865845,
-0.11512398719787598,
-0.0425926074385643,
-0.44373148679733276,
0.03786279261112213,
0.14124391973018646,
-0.2564220130443573,
-0.02177756279706955,
0.16617241501808167,
0.22390718758106232,
-0.19887223839759827,
0.501934826374054,
0.2579073905944824,
-0.20238013565540314,
0.15446460247039795,
0.27626776695251465,
1.0421732664108276,
0.15519455075263977,
-0.04706830158829689,
-0.21827977895736694,
-0.3916447162628174,
0.0960301086306572,
-0.13322968780994415,
-0.04999961704015732,
-0.3442698121070862,
0.04116218164563179,
0.017333367839455605,
-0.10563983023166656,
0.14382898807525635,
-0.012963749468326569,
-0.3357549011707306,
-0.12431929260492325,
0.004861019551753998,
0.2538567781448364,
0.04965350776910782,
0.5092952251434326,
-0.4878047704696655,
0.17502665519714355,
0.09015827625989914,
0.1056051254272461,
0.194629967212677,
-0.17042309045791626,
-0.22012445330619812,
-0.4614173173904419,
0.007918808609247208,
-0.32146573066711426,
-0.3909721374511719,
-0.08990122377872467,
-0.09129472076892853,
0.11891540884971619,
0.08101551979780197,
-0.08730124682188034,
0.38757985830307007,
-0.11590412259101868,
0.7103646993637085,
0.049714602530002594,
0.012677080929279327,
0.20066989958286285,
0.38254040479660034,
0.20527704060077667,
-0.07613134384155273,
-0.2611454725265503,
0.172554150223732,
-0.2394905686378479,
-0.06897169351577759,
0.07463616132736206,
-0.10056542605161667,
-0.4322860836982727,
-0.023615524172782898,
-0.005421660840511322,
-0.12368333339691162,
-0.2634633183479309,
0.18929429352283478,
-0.0583379864692688,
-0.527241051197052,
-0.20623864233493805,
0.16240744292736053,
0.029351510107517242,
-0.40117549896240234,
0.1345774233341217,
-0.10715311765670776,
-0.030571971088647842,
0.10413497686386108,
-0.17878907918930054,
0.22219359874725342,
0.11956080794334412,
0.2618076801300049,
0.040264029055833817,
-0.0382654145359993,
-0.3168598711490631,
-0.16680286824703217,
0.4840203821659088,
-0.6951274871826172,
0.13864652812480927,
-0.0924651175737381,
-0.3033944368362427,
0.27267906069755554,
0.4831221103668213,
0.40951967239379883,
0.6881037950515747,
-0.1598152220249176,
0.17033831775188446,
-0.39541569352149963,
0.19810810685157776,
-0.10547728836536407,
0.49516040086746216,
-0.31196004152297974,
0.17752736806869507,
0.05164550244808197,
0.5290034413337708,
-0.39303818345069885,
0.03450552374124527,
-0.043020233511924744,
0.04930269718170166,
-0.6254129409790039,
-0.24343952536582947,
-0.18650193512439728,
-0.2978525161743164,
0.11029589176177979,
0.14067132771015167,
-0.3920823037624359,
-0.14182254672050476,
0.2031925916671753,
0.12461136281490326,
-0.06376095116138458,
0.04201016575098038,
-0.027155306190252304,
0.26986193656921387,
0.07236288487911224,
0.361521452665329,
0.14605095982551575,
-0.4064689874649048,
-0.11147603392601013,
0.024371318519115448,
0.4241360127925873,
0.1091659739613533,
-0.23855064809322357,
-0.12747842073440552,
-0.039012931287288666,
0.5017310380935669,
-0.0336381159722805,
0.023544883355498314,
-0.24506309628486633,
-0.24833181500434875,
0.22312280535697937,
0.23278936743736267,
0.03113076090812683,
-0.05216977745294571,
0.2581035792827606,
-0.053313128650188446,
-0.48604655265808105,
-0.04012111574411392,
0.4270426630973816,
0.14149191975593567,
0.03795845806598663,
-0.1647844761610031,
-0.15872448682785034,
0.2587625980377197,
-0.22549480199813843,
-0.1505143642425537,
-0.10459671914577484,
-0.09089022874832153,
0.04515288397669792,
0.11933975666761398,
0.4045032858848572,
-0.2232436090707779,
-0.18316303193569183,
0.30718526244163513,
-0.23500822484493256,
-0.30282866954803467,
0.37220123410224915,
0.6396413445472717,
-0.2002129703760147,
0.007840361446142197,
0.45444947481155396,
-0.00011551380157470703,
-0.1014312133193016,
-0.026138000190258026,
-0.3394984304904938,
0.32538673281669617,
0.18304169178009033,
0.19350780546665192,
0.5301607251167297,
-0.021232232451438904,
0.4921194314956665,
0.10433758795261383,
0.282613605260849,
0.04755892604589462,
0.35834479331970215,
0.2800356447696686,
-0.01013126503676176,
-0.19861161708831787,
-0.17836794257164001,
0.253296822309494,
-0.12077363580465317,
0.045875538140535355,
-0.3365441560745239,
-0.3018747568130493,
-0.24749428033828735,
-0.018465185537934303,
-0.06906133890151978,
0.056588076055049896,
0.31257903575897217,
0.18304309248924255,
0.026006557047367096,
-0.0641055479645729,
0.2469702959060669,
0.036309171468019485,
0.49752718210220337,
-0.3434377908706665,
0.22767065465450287,
0.48076242208480835,
-0.20565634965896606,
0.11994992196559906,
0.572772204875946,
0.4904474914073944,
0.09311304986476898,
-0.22505122423171997,
0.2390032708644867,
0.11783820390701294,
-0.1326124370098114,
-0.05859718099236488,
0.2536167502403259,
0.04181757941842079,
-0.07905504107475281,
-0.0008660051971673965,
0.17359967529773712,
-0.11856912821531296,
-0.1575891077518463,
-0.14522799849510193,
-0.09702150523662567,
0.08352728188037872,
0.21136820316314697,
0.34611189365386963,
-0.3498217463493347,
0.08720739930868149,
0.29762792587280273,
-0.07672229409217834,
-0.611483097076416,
0.36985355615615845,
0.018339557573199272,
0.007794540375471115,
-0.394570529460907,
0.1213497519493103,
0.1834091693162918,
0.5858576893806458,
0.29618528485298157,
-0.015089236199855804,
-0.4283300042152405,
-0.2659478485584259,
-0.44122806191444397,
0.04842809587717056,
-0.0960407704114914,
0.041106805205345154,
0.18386772274971008,
0.3349475562572479,
0.2849578261375427,
0.0830911174416542,
0.2748085856437683,
0.12848207354545593,
-0.11415126919746399,
0.41757312417030334,
-0.36896762251853943,
0.32358264923095703,
0.5330045223236084,
-0.18563397228717804,
-0.048895012587308884,
-0.2263588011264801,
0.4210180342197418,
0.11174362897872925,
0.13437938690185547,
0.1303473860025406,
-0.09033278375864029,
0.5758709907531738,
0.1030912697315216,
0.05071708559989929,
0.18199743330478668,
0.13279137015342712,
0.01956140249967575,
-0.2473008781671524,
0.12749889492988586,
0.14928244054317474,
-0.39972928166389465,
0.1953691840171814,
0.3590284287929535,
0.30887240171432495,
0.1566859483718872,
0.15598654747009277,
-0.15735115110874176,
0.02710370160639286,
-0.17556451261043549,
0.10928725451231003,
-0.38856226205825806,
0.07159458100795746,
-0.022525981068611145,
0.08085822314023972,
0.08069273084402084,
0.29175224900245667,
-0.007218487560749054,
-0.10802318900823593,
-0.4922117590904236,
-0.4470936059951782,
0.26403549313545227,
0.016265898942947388,
-0.1083189994096756,
-0.09969708323478699,
0.21052846312522888,
0.31034502387046814,
0.02245609648525715,
-0.6791324019432068,
-0.13698710501194,
0.11422817409038544,
-0.10403179377317429,
0.12306530773639679,
0.07612159848213196,
-0.038425203412771225,
0.15791267156600952,
-0.15451084077358246,
0.15581846237182617,
-0.016817081719636917,
0.027029966935515404,
-0.3115924000740051,
-0.3315203785896301
] |
https://github.com/huggingface/datasets/pull/2244 | Set specific cache directories per test function call | It looks like the `comet` metric test fails because it tries to load a model in memory.
In the tests I think we have `patch_comet` that mocks the model download + inference. Not sure why it didn't work though.
I can take a look tomorrow (this afternoon is the pytorch ecosystem day) | Implement specific cache directories (datasets, metrics and modules) per test function call.
Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls.
This PR implements specific cache directories for each test function call, so that tests are atomic and there are no side effects.
| 52 | text: Set specific cache directories per test function call
Implement specific cache directories (datasets, metrics and modules) per test function call.
Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls.
This PR implements specific cache directories for each test function call, so that tests are atomic and there are no side effects.
It looks like the `comet` metric test fails because it tries to load a model in memory.
In the tests I think we have `patch_comet` that mocks the model download + inference. Not sure why it didn't work though.
I can take a look tomorrow (this afternoon is the pytorch ecosystem day) | [
0.011458195745944977,
-0.11338990926742554,
-0.1084967702627182,
0.023829448968172073,
0.12182100117206573,
-0.09896960109472275,
-0.17639943957328796,
0.2658455967903137,
0.33368220925331116,
-0.0425371378660202,
-0.11466385424137115,
0.09870564192533493,
-0.15279629826545715,
-0.24961541593074799,
0.3261074423789978,
-0.41145145893096924,
0.003673270344734192,
0.04755757376551628,
-0.13264627754688263,
0.20244045555591583,
-0.26274818181991577,
0.14472141861915588,
-0.1606210619211197,
0.11794200539588928,
-0.3191107213497162,
-0.17940250039100647,
-0.11910319328308105,
0.1988697648048401,
-0.21085335314273834,
-0.5526231527328491,
0.16899767518043518,
0.27729082107543945,
-0.10146666318178177,
0.46366453170776367,
-0.00010745002509793267,
-0.04063388705253601,
0.3004433512687683,
-0.1738274097442627,
-0.07004868984222412,
0.17485524713993073,
0.17774450778961182,
0.05770961940288544,
0.1126498207449913,
-0.2859998047351837,
0.0953824445605278,
0.2420484870672226,
0.09921009093523026,
-0.31867557764053345,
0.22274239361286163,
0.4720342457294464,
0.224272683262825,
0.26318076252937317,
-0.17171315848827362,
-0.1959833949804306,
-0.15218818187713623,
-0.19930841028690338,
-0.22707337141036987,
0.43652501702308655,
0.15727144479751587,
0.08683767169713974,
-0.21227625012397766,
0.12798383831977844,
0.0751025527715683,
0.5714236497879028,
0.44343137741088867,
-0.023167267441749573,
0.24097812175750732,
-0.33422574400901794,
-0.12705647945404053,
-0.023834392428398132,
0.30251240730285645,
-0.39262473583221436,
-0.12092390656471252,
0.30175289511680603,
-0.34075894951820374,
-0.5449720621109009,
0.1673940122127533,
0.10081910341978073,
-0.25318166613578796,
-0.03598196431994438,
-0.2960679233074188,
-0.2294517457485199,
-0.19346487522125244,
-0.053546369075775146,
-0.0013913288712501526,
0.06949261575937271,
0.0032459620852023363,
0.06261038780212402,
0.13201402127742767,
0.31474387645721436,
0.10682262480258942,
-0.011995777487754822,
-0.15062734484672546,
0.12459660321474075,
-0.07838252186775208,
-0.12469382584095001,
-0.09711440652608871,
0.10130520164966583,
0.3464091718196869,
0.26627129316329956,
0.1995840072631836,
0.16681551933288574,
0.3107016980648041,
0.10216669738292694,
-0.062657430768013,
0.5645744800567627,
0.08392545580863953,
0.1409721076488495,
0.2822988033294678,
0.2995648682117462,
-0.17070549726486206,
-0.0013260655105113983,
0.3528415262699127,
-0.30257320404052734,
0.2709178030490875,
0.07216976583003998,
0.23939861357212067,
-0.24557088315486908,
0.15505468845367432,
0.11249427497386932,
0.0757615938782692,
-0.2482558786869049,
0.09741505235433578,
0.45581841468811035,
-0.09687123447656631,
0.006335513666272163,
0.017565663903951645,
-0.005488250404596329,
-0.2478126585483551,
0.06620531529188156,
-0.3268943727016449,
0.2873053252696991,
-0.451953649520874,
0.3449624478816986,
0.2296709567308426,
0.1725202053785324,
0.4752558469772339,
-0.1970328837633133,
0.45989519357681274,
-0.1951819509267807,
0.33812427520751953,
-0.04011492803692818,
0.27086061239242554,
0.43431079387664795,
-0.10005131363868713,
-0.02219540625810623,
0.13165728747844696,
0.1785304695367813,
-0.2952646315097809,
0.13115477561950684,
-0.15899237990379333,
-0.5151944756507874,
0.4929800033569336,
0.2099314033985138,
-0.45968103408813477,
0.18609589338302612,
0.12864886224269867,
0.13845080137252808,
0.04691792652010918,
-0.13132061064243317,
0.45800504088401794,
-0.06005419045686722,
-0.07524806261062622,
-0.19315418601036072,
0.16899172961711884,
0.6027021408081055,
-0.04318831115961075,
-0.07081051915884018,
0.35174649953842163,
-0.16010288894176483,
0.3373708128929138,
0.1776353120803833,
-0.11199167370796204,
0.051796674728393555,
-0.23030884563922882,
-0.17343062162399292,
0.4301963150501251,
-0.208526149392128,
-0.303239643573761,
-0.09426293522119522,
0.02975623309612274,
-0.016492223367094994,
0.1217401847243309,
-0.033546291291713715,
-0.07011408358812332,
0.029139885678887367,
0.1766749769449234,
-0.0591278150677681,
-0.09027834236621857,
-0.045249298214912415,
-0.4632178843021393,
-0.007597049698233604,
0.2311297208070755,
-0.09835703670978546,
0.20882655680179596,
0.13436517119407654,
-0.18950983881950378,
0.2797812521457672,
0.017280738800764084,
0.006937168538570404,
-0.0850650891661644,
0.09931976348161697,
0.1895238310098648,
-0.3095552325248718,
0.15721933543682098,
-0.14364010095596313,
-0.1963324248790741,
0.3544200658798218,
-0.45570802688598633,
0.07700348645448685,
0.24585051834583282,
-0.034340158104896545,
-0.29671794176101685,
-0.027856934815645218,
-0.00933072343468666,
-0.5837175250053406,
0.16758650541305542,
0.03985637426376343,
0.34490764141082764,
-0.13021938502788544,
-0.24905802309513092,
0.4001714587211609,
-0.24981094896793365,
-0.13372452557086945,
-0.06563521921634674,
-0.019944068044424057,
-0.30462542176246643,
-0.1060512363910675,
-0.3546460270881653,
-0.09987112134695053,
0.06333727389574051,
-0.32628944516181946,
-0.14608678221702576,
0.44163739681243896,
0.2794569432735443,
-0.3381878733634949,
0.2015402913093567,
0.36625856161117554,
0.052024371922016144,
-0.06183090806007385,
0.1529572308063507,
0.12151098251342773,
-0.00931281503289938,
-0.051319681107997894,
-0.10401967912912369,
0.2637658417224884,
0.046592552214860916,
-0.0588858500123024,
-0.035799410194158554,
-0.1450800746679306,
0.17726890742778778,
-0.034353986382484436,
-0.11782390624284744,
0.09592649340629578,
0.27289286255836487,
-0.10021103918552399,
0.22138555347919464,
0.0018094256520271301,
-0.015148989856243134,
-0.16263335943222046,
0.1681051105260849,
-0.10859370231628418,
0.1351708471775055,
0.04652710631489754,
-0.04394511133432388,
-0.5116446614265442,
-0.11489498615264893,
-0.12559543550014496,
0.6869179606437683,
0.040738340467214584,
0.2843671441078186,
0.07162091135978699,
-0.24158331751823425,
-0.17182442545890808,
0.05337513983249664,
0.1262018084526062,
-0.3364831805229187,
-0.14803194999694824,
-0.010065779089927673,
-0.04997136816382408,
-0.19121435284614563,
-0.1375729739665985,
0.317313015460968,
0.33434346318244934,
-0.20022234320640564,
0.0677027776837349,
0.0906226709485054,
-0.05445036292076111,
-0.02883853018283844,
0.11720442771911621,
0.017297379672527313,
-0.24901436269283295,
0.17058464884757996,
-0.12532542645931244,
0.018364008516073227,
0.2071944922208786,
-0.01218552514910698,
0.7781766057014465,
-0.11289230734109879,
-0.08163826912641525,
-0.3249760866165161,
-0.1897864192724228,
-0.05911856144666672,
0.11514338850975037,
-0.04363343492150307,
0.07425498962402344,
0.3317626714706421,
-0.169394388794899,
-0.13461695611476898,
-0.15120041370391846,
-0.22490337491035461,
0.16762825846672058,
0.17521114647388458,
0.4682377874851227,
0.07277137041091919,
0.10611982643604279,
0.24333737790584564,
0.14391212165355682,
0.14009764790534973,
-0.4857892096042633,
-0.18835465610027313,
0.004702096804976463,
-0.10110719501972198,
-0.0967038944363594,
-0.23141252994537354,
-0.5320614576339722,
-0.029856866225600243,
-0.2764696478843689,
0.12905767560005188,
0.05757787451148033,
0.12915456295013428,
-0.05978234112262726,
-0.024824736639857292,
0.15841710567474365,
-0.19030974805355072,
-0.010867210105061531,
-0.23032984137535095,
-0.33051905035972595,
0.17529834806919098,
-0.3005213439464569,
-0.2679677903652191,
0.06144506111741066,
0.08355651050806046,
0.1690046191215515,
-0.03481427580118179,
-0.23745989799499512,
-0.8290607929229736,
-0.10327138006687164,
0.0862816870212555,
0.061063412576913834,
-0.17581631243228912,
0.28731805086135864,
-0.28640201687812805,
-0.21095335483551025,
-0.14755287766456604,
-0.1774471551179886,
0.0933694839477539,
0.14592045545578003,
0.23570820689201355,
-0.20855939388275146,
-0.11324115842580795,
0.011921104043722153,
0.7703403234481812,
0.3801391124725342,
-0.10040262341499329,
0.061146944761276245,
-0.022692812606692314,
0.33577761054039,
-0.08835045248270035,
0.06485501676797867,
0.250713050365448,
-0.20347338914871216,
-0.3216853141784668,
0.012283466756343842,
-0.006006227806210518,
-0.23463359475135803,
0.01914209872484207,
0.03607342764735222,
0.2593039870262146,
-0.017645642161369324,
0.26300445199012756,
-0.2994745969772339,
0.1283809095621109,
-0.19428780674934387,
-0.18168969452381134,
-0.23294475674629211,
0.12654176354408264,
0.17976346611976624,
0.35253429412841797,
0.1661565750837326,
0.16356389224529266,
-0.1515149176120758,
0.054305631667375565,
-0.3454839587211609,
0.37907272577285767,
-0.06786558777093887,
0.2920799255371094,
-0.1566106081008911,
-0.040189869701862335,
0.044169701635837555,
-0.1311476081609726,
0.37042129039764404,
-0.14946788549423218,
-0.02774503082036972,
0.12323765456676483,
-0.2516670227050781,
0.06050052493810654,
0.0023637227714061737,
-0.2409135401248932,
0.28502219915390015,
0.21454770863056183,
0.0001897066831588745,
-0.05684405192732811,
-0.3265650272369385,
0.006354359909892082,
-0.0312496405094862,
-0.1566491276025772,
0.09615564346313477,
-0.319223552942276,
-0.20569944381713867,
-0.023287257179617882,
0.3163909614086151,
0.21458838880062103,
-0.38308951258659363,
-0.10449641197919846,
0.14607104659080505,
0.19721227884292603,
0.08786926418542862,
-0.08188013732433319,
0.26616355776786804,
0.2784598767757416,
-0.39459607005119324,
-0.17214548587799072,
0.22335876524448395,
-0.22558602690696716,
-0.04662477225065231,
0.2811817526817322,
-0.31974345445632935,
-0.0961020439863205,
0.20008337497711182,
0.17919816076755524,
0.1000605970621109,
0.3147636353969574,
-0.026335343718528748,
-0.03489294648170471,
-0.4015575051307678,
0.22149381041526794,
-0.05409490689635277,
0.35612836480140686,
0.14856240153312683,
-0.043331366032361984,
0.12236453592777252,
-0.39344552159309387,
0.3947817087173462,
0.15536506474018097,
-0.3159542679786682,
0.48517346382141113,
-0.14701569080352783,
-0.024325566366314888,
0.10345961153507233,
0.24501439929008484,
0.8257750272750854,
0.0526275560259819,
0.1826116144657135,
0.0075234342366456985,
-0.23449848592281342,
0.192125141620636,
-0.5106483101844788,
0.20248976349830627,
-0.028092145919799805,
-0.04745260998606682,
-0.05245714634656906,
-0.26562952995300293,
0.16953404247760773,
-0.28799694776535034,
-0.49635905027389526,
0.3013562262058258,
-0.029525313526391983,
-0.06496688723564148,
0.1322600543498993,
0.07699156552553177,
-0.04601246863603592,
0.12229514122009277,
0.2087346911430359,
0.23141300678253174,
-0.23088856041431427,
0.18346454203128815,
-0.16259664297103882,
0.04564255103468895,
0.06720392405986786,
-0.035504117608070374,
-0.18889641761779785,
-0.04171887785196304,
-0.19063207507133484,
0.038274988532066345,
0.083500936627388,
0.036672234535217285,
-0.1676684319972992,
0.15110032260417938,
0.2670629918575287,
-0.060207683593034744,
-0.26478907465934753,
0.19541031122207642,
-0.03577166795730591,
-0.04469980299472809,
-0.04391002655029297,
-0.01611100137233734,
0.26388460397720337,
-0.182218998670578,
-0.22978520393371582,
0.09611008316278458,
-0.3905174732208252,
-0.3461097478866577,
0.01851920783519745,
0.2282238006591797,
0.05248989909887314,
-0.11799370497465134,
-0.012137087062001228,
-0.009755097329616547,
-0.5100017189979553,
-0.10639961063861847,
0.21328693628311157,
0.16543400287628174,
-0.35615476965904236,
0.19638299942016602,
-0.015636008232831955,
-0.3385275900363922,
-0.0026446618139743805,
0.029049981385469437,
-0.11797527223825455,
-0.2021971344947815,
0.09992393106222153,
-0.3292030096054077,
-0.05150126665830612,
-0.30383309721946716,
-0.421688050031662,
0.10849417746067047,
-0.3372516930103302,
0.41331514716148376,
-0.20219312608242035,
-0.19824358820915222,
0.16202062368392944,
0.25522729754447937,
0.41268372535705566,
0.08471435308456421,
-0.24995531141757965,
-0.1580696403980255,
-0.30038395524024963,
0.013652913272380829,
-0.13295210897922516,
0.4525681734085083,
-0.17505735158920288,
0.0968397855758667,
0.21256950497627258,
0.5661238431930542,
-0.4014955461025238,
-0.09427601099014282,
-0.3913916349411011,
0.01802990771830082,
-0.10226698219776154,
-0.17405369877815247,
-0.09134978801012039,
-0.021220194175839424,
-0.03568239137530327,
0.25751209259033203,
-0.3719519376754761,
-0.25548481941223145,
-0.09222307801246643,
0.11845765262842178,
-0.07510802894830704,
0.04006262123584747,
-0.09462732821702957,
0.10989043116569519,
0.0713081955909729,
-0.011202393099665642,
0.19527007639408112,
0.14026319980621338,
-0.1679391711950302,
0.3030506372451782,
0.4048711955547333,
0.002404339611530304,
-0.15485458076000214,
-0.027444370090961456,
0.06575854122638702,
0.12237970530986786,
0.04812008515000343,
-0.011915341019630432,
-0.2468324899673462,
-0.13323280215263367,
-0.035497035831213,
0.25675657391548157,
0.07587310671806335,
0.12388139963150024,
0.03759066015481949,
0.12210607528686523,
-0.06775666028261185,
-0.3969004154205322,
0.10267601907253265,
0.38069120049476624,
-0.0907195657491684,
0.00829668901860714,
-0.18749049305915833,
0.1973537653684616,
-0.10489797592163086,
-0.19310502707958221,
-0.10963846743106842,
0.084243044257164,
0.1899036318063736,
0.24011409282684326,
0.5075818300247192,
0.11854420602321625,
0.5467507243156433,
0.11676868051290512,
0.5336493849754333,
-0.1848955750465393,
-0.03562048822641373,
-0.20199352502822876,
-0.05896500125527382,
0.027091069146990776,
0.5531225204467773,
0.05546348914504051,
0.27773481607437134,
0.0010324791073799133,
0.2714877724647522,
0.5473321080207825,
0.00882212445139885,
0.25626340508461,
-0.10877259820699692,
0.048927467316389084,
-0.07971496880054474,
-0.16839513182640076,
0.11480903625488281,
0.2652209401130676,
-0.04063348472118378,
0.2279316484928131,
-0.5136155486106873,
-0.23930642008781433,
-0.20227904617786407,
-0.15522384643554688,
0.17582842707633972,
-0.10322079062461853,
-0.12467650324106216,
-0.19850106537342072,
-0.03642825782299042,
-0.13208913803100586,
0.21079033613204956,
0.1434537172317505,
0.564106822013855,
-0.059449002146720886,
-0.2393772155046463,
0.07943184673786163,
0.08435462415218353,
0.19010421633720398,
0.1900435984134674,
-0.09858961403369904,
0.24970225989818573,
0.2724895179271698,
-0.19302356243133545,
0.06891901791095734,
0.35461726784706116,
0.23765335977077484,
0.13427799940109253,
-0.3073534667491913,
-0.06799357384443283,
0.1085551381111145,
-0.09921721369028091,
-0.018328404054045677,
0.2055700123310089,
0.2379763275384903,
-0.5059486627578735,
-0.014103380963206291,
0.2355167269706726,
-0.14416825771331787,
0.5843976736068726,
-0.05884366109967232,
0.09175769984722137,
-0.14382249116897583,
0.7070924043655396,
0.23823663592338562,
-0.05110198259353638,
0.004838243126869202,
-0.026376895606517792,
-0.4474446177482605,
-0.06595783680677414,
-0.007190920412540436,
-0.40536919236183167,
-0.0336964875459671,
0.02223004773259163,
0.11016729474067688,
0.06103119999170303,
0.6903699040412903,
0.17631401121616364,
0.20300546288490295,
-0.5512399077415466,
-0.016994819045066833,
-0.4793652296066284,
0.2452629804611206,
-0.046458352357149124,
-0.005217347294092178,
0.1291804164648056,
0.052315905690193176,
-0.08819236606359482,
-0.02912203222513199,
-0.072348952293396,
0.1296623796224594,
-0.07698114216327667,
0.07660111039876938,
-0.7341456413269043,
0.05505078285932541,
-0.19980992376804352,
0.13056828081607819,
0.21209904551506042,
-0.2299884557723999,
-0.030160043388605118,
0.12371082603931427,
0.08081948012113571,
0.13837772607803345,
-0.2893906533718109,
0.6498927474021912,
0.4934273958206177,
0.3174300789833069,
0.12826354801654816,
0.4646730422973633,
0.14713260531425476,
0.06446123123168945,
-0.23132339119911194,
0.023340526968240738,
0.08273229002952576,
-0.5576521158218384,
0.011729944497346878,
0.14317628741264343,
-0.24988767504692078,
-0.3767364025115967,
-0.29250800609588623,
0.3245141804218292,
0.02406272292137146,
-0.298910915851593,
0.051308006048202515,
-0.051515161991119385,
-0.056367289274930954,
0.14591573178768158,
0.3625766336917877,
0.5389810800552368,
-0.07894241809844971,
-0.007637058384716511,
-0.32662343978881836,
0.11702698469161987,
0.71580570936203,
0.1415829211473465,
-0.31827807426452637,
-0.05985233932733536,
0.35049915313720703,
0.08686436712741852,
-0.1300879567861557,
-0.6586520671844482,
-0.20901775360107422,
0.08966352790594101,
0.05238868296146393,
-0.470235139131546,
0.27493220567703247,
-0.06165710464119911,
-0.011851362884044647,
-0.16803085803985596,
0.7465258836746216,
-0.11619981378316879,
0.04095158725976944,
-0.2216966450214386,
-0.36064380407333374
] |
https://github.com/huggingface/datasets/pull/2244 | Set specific cache directories per test function call | @lhoestq finally I did not find out why the mock is not used... If you can give me some other hint tomorrow... | Implement specific cache directories (datasets, metrics and modules) per test function call.
Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls.
This PR implements specific cache directories for each test function call, so that tests are atomic and there are no side effects.
| 22 | text: Set specific cache directories per test function call
Implement specific cache directories (datasets, metrics and modules) per test function call.
Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls.
This PR implements specific cache directories for each test function call, so that tests are atomic and there are no side effects.
@lhoestq finally I did not find out why the mock is not used... If you can give me some other hint tomorrow... | [
-0.011521905660629272,
-0.25835657119750977,
-0.18837103247642517,
-0.096224844455719,
0.02295476384460926,
-0.06075696274638176,
0.1295112669467926,
0.1829591542482376,
0.10412202775478363,
0.29958754777908325,
0.15446054935455322,
0.07592549920082092,
0.013341271318495274,
-0.21539361774921417,
0.04074832424521446,
-0.11587588489055634,
0.05163852870464325,
0.16622716188430786,
-0.06122560799121857,
0.22982637584209442,
-0.2256685197353363,
0.06147751957178116,
-0.28133922815322876,
-0.1782524734735489,
-0.15370295941829681,
-0.033428363502025604,
-0.15820173919200897,
0.2004546821117401,
-0.06712444126605988,
-0.3843851387500763,
-0.0833372250199318,
0.18114592134952545,
-0.09395913034677505,
0.24900329113006592,
-0.00010128927533514798,
-0.011085093021392822,
0.3728230595588684,
-0.23707666993141174,
-0.06530174612998962,
0.2138182371854782,
0.04775705933570862,
0.052533283829689026,
-0.12403189390897751,
-0.3127109706401825,
0.024384569376707077,
0.25393837690353394,
0.2304743528366089,
-0.47997188568115234,
0.24517077207565308,
0.28379639983177185,
0.30407023429870605,
0.1723203808069229,
-0.2553337514400482,
-0.25165751576423645,
-0.07534340769052505,
-0.23009337484836578,
-0.22258685529232025,
0.20054693520069122,
0.0581277571618557,
0.14766517281532288,
-0.01489439606666565,
0.16398866474628448,
0.07885214686393738,
0.5024818778038025,
0.2493034303188324,
-0.21895435452461243,
0.001988746225833893,
-0.21481522917747498,
0.0206686370074749,
-0.1668645143508911,
0.5653234124183655,
-0.4184338450431824,
0.05226271599531174,
0.4831206798553467,
-0.30422988533973694,
-0.22954140603542328,
0.05987849831581116,
-0.0761939138174057,
-0.017399698495864868,
0.09369683265686035,
-0.3627794086933136,
-0.12478391826152802,
-0.07635517418384552,
-0.062055766582489014,
0.27187153697013855,
-0.13547345995903015,
-0.06930896639823914,
0.0457787849009037,
0.11660933494567871,
0.2816365957260132,
0.0757332593202591,
-0.09900709986686707,
-0.02978092059493065,
0.028603967279195786,
0.16289672255516052,
-0.04171472042798996,
-0.07897580415010452,
0.2352038323879242,
0.28482457995414734,
0.2941948175430298,
-0.054794080555438995,
0.26991596817970276,
0.23626939952373505,
0.11217736452817917,
-0.06040753051638603,
0.572248637676239,
0.18862169981002808,
0.19356267154216766,
0.13104599714279175,
0.3057596981525421,
-0.21112538874149323,
-0.03697306662797928,
0.3081270754337311,
-0.21512877941131592,
0.024247698485851288,
0.14995446801185608,
-0.08107732981443405,
-0.11340909451246262,
0.14103803038597107,
-0.05036349222064018,
-0.09366284310817719,
-0.21856364607810974,
-0.1264769285917282,
0.6926800012588501,
0.09864132106304169,
-0.019799020141363144,
0.09424537420272827,
-0.028992027044296265,
-0.2370324432849884,
0.004967262037098408,
-0.3005158007144928,
0.2902772128582001,
-0.410324364900589,
0.2781393229961395,
0.10539871454238892,
0.07998514175415039,
0.4894273579120636,
-0.0900457575917244,
0.33677446842193604,
-0.1244695782661438,
0.3620487153530121,
-0.03865566849708557,
0.3864995539188385,
0.16862308979034424,
-0.0067940689623355865,
-0.025495121255517006,
0.18153786659240723,
0.3066960573196411,
-0.2402319610118866,
0.16116103529930115,
0.0021605119109153748,
-0.37851738929748535,
0.5669465661048889,
0.2510628402233124,
-0.15179073810577393,
0.219206303358078,
0.24397718906402588,
-0.06895992159843445,
-0.03208120912313461,
-0.3327118456363678,
0.408663272857666,
0.010276326909661293,
-0.1327335387468338,
-0.2938269376754761,
0.06026144325733185,
0.5509050488471985,
-0.07341035455465317,
0.08391477167606354,
0.3030819594860077,
-0.08640208840370178,
0.3008108139038086,
0.08050401508808136,
-0.05462708696722984,
0.015062391757965088,
-0.3341827392578125,
-0.09561285376548767,
0.34796616435050964,
-0.5264294147491455,
-0.23343342542648315,
0.06717721372842789,
0.1353270262479782,
-0.2501750886440277,
0.20528119802474976,
-0.10908889025449753,
-0.3162001669406891,
0.048885002732276917,
-0.15274296700954437,
-0.13805487751960754,
-0.15450641512870789,
0.15616050362586975,
-0.4112453758716583,
0.0035294629633426666,
-0.005930617451667786,
-0.16819442808628082,
-0.08151397109031677,
0.25123101472854614,
-0.16346067190170288,
0.14907579123973846,
0.09173561632633209,
0.06424891203641891,
-0.05869174748659134,
0.08843749761581421,
0.1385917365550995,
-0.20893390476703644,
0.05631432682275772,
0.024638645350933075,
-0.14219072461128235,
0.18143200874328613,
-0.21862490475177765,
0.06523801386356354,
0.36661118268966675,
-0.06495121866464615,
-0.29625558853149414,
-0.12203691899776459,
-0.04448459669947624,
-0.6276253461837769,
0.30358803272247314,
0.3840092122554779,
0.27962353825569153,
-0.19445224106311798,
-0.12910671532154083,
0.10049787908792496,
-0.18478167057037354,
-0.33740565180778503,
-0.11959776282310486,
-0.08788395673036575,
-0.3626338839530945,
-0.07470546662807465,
-0.2625742554664612,
0.044774480164051056,
0.03215730935335159,
-0.37897613644599915,
-0.10722227394580841,
0.37855765223503113,
0.2997112572193146,
-0.056807637214660645,
0.17278173565864563,
0.23183661699295044,
-0.14414888620376587,
-0.19416846334934235,
0.10728984326124191,
-0.10242199897766113,
0.010779823176562786,
0.015079408884048462,
-0.1615905463695526,
0.23797385394573212,
0.018104759976267815,
-0.11256075650453568,
-0.10840655863285065,
-0.24683542549610138,
-0.004221348091959953,
-0.17346353828907013,
-0.037834279239177704,
-0.07861749082803726,
0.09941396117210388,
0.21639525890350342,
0.4850391149520874,
0.11734222620725632,
-0.023492731153964996,
-0.06628171354532242,
0.16591989994049072,
0.0819837749004364,
0.09666483104228973,
-0.1477527916431427,
0.17646755278110504,
-0.4072604179382324,
0.15492701530456543,
-0.16774745285511017,
0.6250471472740173,
0.2192065268754959,
0.21162115037441254,
-0.028487281873822212,
0.08102162182331085,
-0.03093789517879486,
-0.022207356989383698,
-0.10676127672195435,
-0.11938540637493134,
-0.13692593574523926,
-0.059387922286987305,
-0.09768164902925491,
-0.015298675745725632,
0.0011166706681251526,
0.12332343310117722,
0.1425560563802719,
-0.0678451731801033,
-0.04166713356971741,
-0.044854238629341125,
0.02381652593612671,
0.036506377160549164,
0.24545586109161377,
0.33002111315727234,
-0.12945838272571564,
0.09578130394220352,
-0.2825146019458771,
-0.03439996391534805,
0.25788721442222595,
0.003697078675031662,
0.5302841663360596,
-0.08411083370447159,
-0.2291307896375656,
-0.5010266304016113,
-0.01576012559235096,
-0.07677697390317917,
0.17503957450389862,
0.0076089585199952126,
0.08495119959115982,
0.3282623291015625,
-0.1583610475063324,
-0.23980340361595154,
-0.3508715331554413,
0.019473403692245483,
0.204412043094635,
0.05774172767996788,
0.24353037774562836,
0.21774564683437347,
0.009600847959518433,
0.09966178238391876,
0.12772569060325623,
0.058186907321214676,
-0.49067339301109314,
-0.4368678629398346,
-0.23386745154857635,
-0.058983590453863144,
0.019064443185925484,
-0.2588788866996765,
-0.5902447700500488,
0.04193089157342911,
-0.43386968970298767,
0.17988480627536774,
0.07325969636440277,
0.08645779639482498,
-0.14622235298156738,
0.026697203516960144,
0.01930912211537361,
-0.07345723360776901,
0.056562185287475586,
-0.2804151177406311,
-0.2819739282131195,
0.03829926997423172,
-0.32810208201408386,
-0.19551022350788116,
-0.01773444563150406,
-0.004349164664745331,
0.20896969735622406,
-0.1092519462108612,
-0.25660791993141174,
-0.5992649793624878,
0.043247394263744354,
0.21583592891693115,
-0.0598675012588501,
0.027935173362493515,
0.31833261251449585,
-0.09111776947975159,
-0.29473206400871277,
-0.22719427943229675,
-0.3363039493560791,
0.14666639268398285,
-0.0852312371134758,
0.22262197732925415,
0.16153791546821594,
0.030066758394241333,
0.09242899715900421,
0.7560640573501587,
0.32416093349456787,
0.07063580304384232,
0.11959832906723022,
-0.21166598796844482,
0.4931964874267578,
-0.24440348148345947,
-0.025912649929523468,
0.27486786246299744,
0.12881207466125488,
-0.294919490814209,
0.22703514993190765,
-0.16278958320617676,
-0.19166134297847748,
-0.015288926661014557,
0.03543391451239586,
0.1036563441157341,
-0.007664479315280914,
0.13381332159042358,
-0.411208838224411,
0.0903097614645958,
-0.16980163753032684,
-0.19541922211647034,
-0.2348340004682541,
0.21459800004959106,
0.20704472064971924,
0.09939297288656235,
0.016588561236858368,
0.19462469220161438,
-0.23378649353981018,
0.20647120475769043,
-0.18067532777786255,
0.36037731170654297,
0.10035993903875351,
0.40564072132110596,
-0.2219752073287964,
-0.12579622864723206,
-0.05549907684326172,
-0.02328110672533512,
0.40243053436279297,
-0.3175150454044342,
-0.014807429164648056,
0.14591236412525177,
-0.1628570854663849,
0.1804949790239334,
0.046348344534635544,
-0.1657770872116089,
0.17057514190673828,
0.21263648569583893,
-0.09201537072658539,
-0.060305606573820114,
-0.23951639235019684,
0.009123746305704117,
0.003697739914059639,
-0.04058219492435455,
-0.185544952750206,
-0.3063730001449585,
-0.1073756143450737,
-0.05388300493359566,
0.1711301952600479,
0.19263237714767456,
-0.3599075675010681,
0.07316543161869049,
0.17323540151119232,
0.20989291369915009,
-0.08517713844776154,
-0.1005517989397049,
0.04116044193506241,
0.18761375546455383,
-0.3337380588054657,
-0.3065693974494934,
0.2592335343360901,
-0.35632631182670593,
0.012194718234241009,
0.15054060518741608,
-0.444429486989975,
0.11003437638282776,
0.188693106174469,
0.1627916842699051,
0.17869558930397034,
0.19004927575588226,
0.13686975836753845,
-0.1694405972957611,
-0.49534425139427185,
0.1389905959367752,
0.03913469240069389,
0.05886317417025566,
0.102574422955513,
-0.13956859707832336,
0.28919023275375366,
-0.2713344097137451,
0.34358763694763184,
0.015138573944568634,
-0.27657657861709595,
0.3986530601978302,
-0.16734068095684052,
-0.06353675574064255,
0.2698420286178589,
0.11073499172925949,
0.7388142943382263,
0.06882690638303757,
0.12439759075641632,
0.04678209125995636,
-0.015067145228385925,
0.20335491001605988,
-0.5375275611877441,
0.08497109264135361,
-0.13029073178768158,
-0.0893159881234169,
0.05730890482664108,
-0.3509945869445801,
0.16040325164794922,
-0.09372107684612274,
-0.6247891187667847,
0.25472989678382874,
0.02015291154384613,
-0.027812305837869644,
0.13111239671707153,
0.0834248960018158,
-0.08903436362743378,
0.25024276971817017,
-0.003970080986618996,
0.264337420463562,
0.19923916459083557,
0.10902315378189087,
-0.1644432544708252,
0.16985289752483368,
-0.11468210816383362,
-0.08416828513145447,
-0.03878144547343254,
-0.022316906601190567,
-0.3771897554397583,
0.032296642661094666,
0.22222840785980225,
0.21353040635585785,
-0.1814616471529007,
0.4302111864089966,
0.2784808874130249,
0.030998947098851204,
-0.22007891535758972,
0.06305619329214096,
0.21893861889839172,
0.03821229562163353,
-0.04042891040444374,
-0.05390709266066551,
0.1706894487142563,
-0.2134976089000702,
-0.16192379593849182,
0.07664460688829422,
-0.44397225975990295,
-0.33693641424179077,
-0.0908840000629425,
0.3559672236442566,
0.1322832703590393,
-0.26899078488349915,
-0.1799965649843216,
0.07631455361843109,
-0.3742177486419678,
-0.04863451421260834,
0.2550166845321655,
0.09590926766395569,
-0.32093238830566406,
0.2925804853439331,
-0.07242348790168762,
-0.24858024716377258,
-0.009691942483186722,
-0.005588419735431671,
-0.33708083629608154,
-0.07258722186088562,
0.1064140573143959,
-0.3497265577316284,
-0.13231855630874634,
-0.30366629362106323,
-0.11274203658103943,
0.10973745584487915,
-0.011301327496767044,
0.2280031442642212,
-0.1341562569141388,
-0.39828723669052124,
0.1851024627685547,
0.35986724495887756,
0.38631099462509155,
0.05790732055902481,
-0.3075508773326874,
0.0489700511097908,
-0.33270251750946045,
-0.013459689915180206,
-0.09912510216236115,
0.41438543796539307,
-0.06322810798883438,
0.3375992774963379,
0.34751176834106445,
0.47991374135017395,
-0.4671814441680908,
-0.04456580430269241,
-0.5319473743438721,
0.09236761927604675,
-0.15357667207717896,
-0.21029922366142273,
-0.08792950958013535,
0.1921212077140808,
0.11795605719089508,
0.20211096107959747,
-0.37685921788215637,
-0.3334418535232544,
0.10939328372478485,
0.07426892966032028,
-0.15927717089653015,
0.20377101004123688,
-0.08483710139989853,
0.16583293676376343,
0.08815865218639374,
-0.007907131686806679,
0.11876241862773895,
0.04451069235801697,
-0.18400238454341888,
0.20787426829338074,
0.246236652135849,
-0.07833937555551529,
-0.17602959275245667,
-0.05573750287294388,
0.03733130171895027,
0.07626954466104507,
-0.09603405743837357,
-0.06828365474939346,
-0.23106439411640167,
-0.25137245655059814,
0.19050590693950653,
0.23166531324386597,
0.16308489441871643,
0.10399597883224487,
-0.02886316180229187,
0.26906466484069824,
0.0996512919664383,
-0.1301673948764801,
0.10171131789684296,
0.10957847535610199,
-0.1907721757888794,
0.023075325414538383,
-0.1389494240283966,
0.30368033051490784,
-0.045364320278167725,
-0.02285574935376644,
-0.12382793426513672,
-0.056080013513565063,
0.2545357644557953,
0.32835903763771057,
0.5171091556549072,
-0.14982157945632935,
0.6640109419822693,
0.08809621632099152,
0.3641802966594696,
-0.5384881496429443,
-0.20824865996837616,
-0.3309240937232971,
-0.22754798829555511,
0.057162608951330185,
0.4280950129032135,
0.03241262584924698,
0.23301196098327637,
-0.10832084715366364,
0.38653355836868286,
0.6029372811317444,
-0.04798229783773422,
0.12260472774505615,
-0.1667194664478302,
-0.04832516983151436,
0.25515860319137573,
0.013059690594673157,
0.15723179280757904,
0.12902167439460754,
-0.03719761222600937,
0.3129030764102936,
-0.3453534245491028,
0.012476548552513123,
0.01079828105866909,
-0.07705552875995636,
0.09456285834312439,
-0.18027979135513306,
0.08351815491914749,
-0.07792237401008606,
-0.03697845712304115,
-0.22914505004882812,
0.23432759940624237,
0.21424615383148193,
0.5466101169586182,
0.009053565561771393,
-0.08091580867767334,
0.2686268389225006,
0.0639253705739975,
0.05656082555651665,
0.20677432417869568,
-0.2869385778903961,
0.24182477593421936,
-0.027841970324516296,
-0.11343945562839508,
0.0989474207162857,
0.33568745851516724,
0.28254181146621704,
0.10800688713788986,
-0.10357770323753357,
-0.1873200684785843,
0.02941092848777771,
-0.07774868607521057,
-0.24456238746643066,
0.17569047212600708,
0.049849897623062134,
-0.39829814434051514,
-0.017868904396891594,
0.3097938895225525,
-0.2304404079914093,
0.268364280462265,
0.08557161688804626,
-0.14946559071540833,
-0.08500385284423828,
0.3140367567539215,
0.21780532598495483,
-0.13916084170341492,
-0.008893799036741257,
0.24468031525611877,
-0.3249622881412506,
-0.03796277195215225,
-0.18154101073741913,
-0.5626625418663025,
0.04231158643960953,
0.04222346469759941,
0.1701701283454895,
0.10920490324497223,
0.33364197611808777,
0.15485897660255432,
0.16305366158485413,
-0.45395052433013916,
-0.20036152005195618,
-0.2810060381889343,
0.26615431904792786,
0.15091004967689514,
-0.12104423344135284,
0.03035745397210121,
0.12422007322311401,
-0.00491168349981308,
-0.22512073814868927,
-0.11387872695922852,
-0.13646170496940613,
0.09888096898794174,
0.269023597240448,
-0.5511658787727356,
0.027532849460840225,
-0.14947377145290375,
-0.03409624099731445,
0.2918213903903961,
-0.33432111144065857,
-0.1053149402141571,
0.17888043820858002,
0.21313324570655823,
0.07121019065380096,
-0.24131032824516296,
0.639373779296875,
0.45427078008651733,
0.14906905591487885,
0.03209970146417618,
0.3958713710308075,
-0.07170391827821732,
0.03651642054319382,
-0.05838930234313011,
0.21217195689678192,
0.10609006136655807,
-0.548691987991333,
0.04882330447435379,
-0.05302995443344116,
-0.35910099744796753,
-0.16557522118091583,
-0.2692725956439972,
0.23843643069267273,
0.1422538310289383,
0.25876182317733765,
-0.06181466579437256,
0.024514315649867058,
-0.15483036637306213,
0.22349970042705536,
0.17060479521751404,
0.36087021231651306,
-0.1343967616558075,
0.10492078959941864,
-0.4749974012374878,
0.18668460845947266,
0.5301762819290161,
0.1154608353972435,
-0.30971404910087585,
0.06040748208761215,
0.3731822371482849,
0.06645649671554565,
-0.2124609500169754,
-0.45993155241012573,
-0.09842175245285034,
0.16721048951148987,
0.15909242630004883,
-0.2950204014778137,
0.3069969415664673,
-0.1441878378391266,
0.09144291281700134,
-0.066093310713768,
0.6632891893386841,
-0.11135108023881912,
0.27580755949020386,
-0.2241499274969101,
-0.3168324828147888
] |
https://github.com/huggingface/datasets/pull/2241 | Add SLR32 to OpenSLR | > And yet another one ! Thanks a lot :)
I just hope you don’t get fed up with openslr PR 😊 there are still few other datasets created by google in openslr that is not in hf dataset yet
| I would like to add SLR32 to OpenSLR. It contains four South African languages: Afrikaans, Sesotho, Setswana and isiXhosa | 40 | text: Add SLR32 to OpenSLR
I would like to add SLR32 to OpenSLR. It contains four South African languages: Afrikaans, Sesotho, Setswana and isiXhosa
> And yet another one ! Thanks a lot :)
I just hope you don’t get fed up with openslr PR 😊 there are still few other datasets created by google in openslr that is not in hf dataset yet
| [
0.03359994664788246,
-0.2371288537979126,
-0.1896071434020996,
0.13170838356018066,
0.016650047153234482,
0.11797826737165451,
-0.1388891339302063,
-0.1234157383441925,
0.25639739632606506,
0.4151453971862793,
-0.20297499001026154,
0.0660286471247673,
-0.07039686292409897,
-0.020447947084903717,
0.15904201567173004,
-0.3810153901576996,
0.1002906784415245,
0.036052100360393524,
-0.2829022705554962,
-0.12936589121818542,
-0.37391921877861023,
0.11624379456043243,
0.13856913149356842,
-0.3182910084724426,
0.20912282168865204,
0.07780642807483673,
-0.3663744032382965,
0.03019132651388645,
-0.11399348825216293,
-0.09540087729692459,
-0.5596636533737183,
0.38338616490364075,
0.25244706869125366,
-0.013722740113735199,
-0.00011523898865561932,
-0.271125465631485,
0.1533968150615692,
-0.05561055615544319,
-0.34358617663383484,
0.04582008719444275,
-0.03476066142320633,
-0.261819452047348,
-0.39176860451698303,
-0.0022064372897148132,
-0.09187419712543488,
-0.3141077756881714,
0.15393447875976562,
-0.6404967308044434,
-0.2567167282104492,
0.32093244791030884,
0.1552511304616928,
-0.11034368723630905,
0.16803012788295746,
-0.2597857415676117,
0.25250622630119324,
0.0866931676864624,
-0.05505991727113724,
0.10650025308132172,
0.16007697582244873,
0.019184960052371025,
0.32498985528945923,
0.40018129348754883,
0.12056979537010193,
-0.370607852935791,
0.21836841106414795,
-0.07244209200143814,
-0.002893321216106415,
-0.3329160511493683,
0.2992573082447052,
0.3045327663421631,
0.6081045866012573,
0.03797668218612671,
-0.15104661881923676,
0.1711694300174713,
0.07225412875413895,
-0.18314680457115173,
-0.0075830817222595215,
0.3828215003013611,
0.08107593655586243,
0.2895934581756592,
-0.0911373421549797,
-0.6658939123153687,
-0.08165031671524048,
0.2791757583618164,
-0.05180952697992325,
0.5546039342880249,
0.2360134869813919,
0.029951807111501694,
0.05100707709789276,
-0.02008730173110962,
0.4483572840690613,
-0.19336320459842682,
-0.20517665147781372,
0.08581429719924927,
0.12736216187477112,
0.15707170963287354,
-0.11136265844106674,
0.012741759419441223,
0.17299848794937134,
0.1448027491569519,
-0.06332699954509735,
-0.024088431149721146,
-0.3461977243423462,
-0.06786168366670609,
-0.1541857272386551,
-0.23551225662231445,
0.01938192918896675,
0.16184209287166595,
-0.05348659306764603,
-0.24470427632331848,
0.45179152488708496,
-0.22626414895057678,
0.14692597091197968,
-0.02261662855744362,
-0.4393453299999237,
-0.24516808986663818,
0.12802250683307648,
0.21763011813163757,
0.06416302174329758,
0.30123788118362427,
-0.5720398426055908,
-0.2623051106929779,
-0.26160451769828796,
0.24948188662528992,
0.02087864652276039,
0.11312554031610489,
0.38853538036346436,
0.1904781311750412,
0.18962037563323975,
-0.09089173376560211,
-0.08486896753311157,
0.43587055802345276,
-0.04114731401205063,
0.2935560643672943,
-0.2531689703464508,
0.029065648093819618,
-0.05715365707874298,
0.057462260127067566,
0.04961541295051575,
-0.2668561041355133,
-0.08860970288515091,
-0.17822377383708954,
-0.009849995374679565,
0.04750910401344299,
-0.02094225585460663,
0.1560830920934677,
-0.11763009428977966,
-0.13151636719703674,
-0.24237680435180664,
0.37798622250556946,
0.03591352701187134,
0.2359086126089096,
-0.5247405171394348,
0.1918104588985443,
0.16183072328567505,
-0.40038880705833435,
0.41398125886917114,
0.36403724551200867,
-0.4453901946544647,
0.028163399547338486,
0.45310693979263306,
0.04992341995239258,
-0.23520855605602264,
0.2300683856010437,
-0.2407829463481903,
0.16830486059188843,
-0.46334853768348694,
0.03543246537446976,
0.05607213079929352,
-0.2382967472076416,
0.37792813777923584,
-0.018716339021921158,
0.1683187484741211,
-0.09330727905035019,
-0.07115709036588669,
0.02088569849729538,
0.36409473419189453,
-0.26097527146339417,
-0.16198864579200745,
0.19873584806919098,
-0.10904142260551453,
-0.398563951253891,
0.3763475716114044,
0.3154229521751404,
-0.12516537308692932,
0.1602913737297058,
0.10692955553531647,
0.3479653596878052,
-0.1314077079296112,
0.0020452607423067093,
-0.17852675914764404,
-0.005580021068453789,
0.06810411810874939,
0.5016287565231323,
0.25651228427886963,
0.14381426572799683,
0.33041682839393616,
0.14720574021339417,
0.38582295179367065,
-0.16295994818210602,
0.2530446946620941,
0.2938276529312134,
0.47851407527923584,
0.30297574400901794,
-0.009028163738548756,
-0.12210125476121902,
0.021388880908489227,
-0.2907409071922302,
-0.12183548510074615,
0.3191438913345337,
0.4573584198951721,
0.035383500158786774,
-0.1854400932788849,
-0.04682232439517975,
0.07549340277910233,
0.06736786663532257,
0.0431395024061203,
0.43567976355552673,
-0.2942398190498352,
-0.03829571604728699,
0.04533239081501961,
0.4005644917488098,
-0.04697813466191292,
-0.11020414531230927,
-0.12227992713451385,
0.19618764519691467,
-0.2396996170282364,
-0.04867195710539818,
0.14532555639743805,
0.15748172998428345,
0.02842886373400688,
0.16013671457767487,
0.07899978011846542,
0.09241583943367004,
-0.3150087893009186,
0.12471494823694229,
0.5255560874938965,
-0.20815430581569672,
0.02103917859494686,
-0.5664207339286804,
0.25446221232414246,
0.07594170421361923,
0.028478015214204788,
0.006908580660820007,
-0.15585675835609436,
0.0577399842441082,
0.214742049574852,
-0.03478338569402695,
-0.08638699352741241,
0.17442478239536285,
-0.08528460562229156,
-0.17679205536842346,
-0.1535986214876175,
-0.12340105324983597,
0.1765507459640503,
0.218081995844841,
0.030920270830392838,
0.03050764463841915,
-0.48946771025657654,
0.008588433265686035,
0.4322544038295746,
-0.25874409079551697,
0.1626497209072113,
0.2761314809322357,
-0.16729196906089783,
-0.0769767314195633,
-0.009213343262672424,
-0.17185866832733154,
-0.012533530592918396,
0.2867584526538849,
-0.015455398708581924,
0.06887040287256241,
0.4086315631866455,
-0.05814202129840851,
0.1475788950920105,
0.08799511939287186,
0.10916390269994736,
0.10939545929431915,
0.3717271387577057,
-0.02286810427904129,
-0.33216163516044617,
-0.12323351204395294,
-0.0254826657474041,
0.08536408096551895,
0.18373730778694153,
-0.10060447454452515,
-0.14855101704597473,
-0.056383684277534485,
-0.2586097717285156,
0.12731997668743134,
-0.40391308069229126,
-0.20983858406543732,
0.16640552878379822,
-0.23840096592903137,
-0.047429535537958145,
0.11614666879177094,
0.01644778996706009,
0.5341606140136719,
-0.24044376611709595,
-0.11813484877347946,
-0.08858602494001389,
0.029453519731760025,
-0.10852118581533432,
0.120041623711586,
0.01743791252374649,
-0.02382473088800907,
0.6911789178848267,
0.23513643443584442,
-0.06800265610218048,
-0.4964786767959595,
-0.16198965907096863,
0.06407440453767776,
0.13118553161621094,
-0.3347119092941284,
0.05889853090047836,
-0.25702136754989624,
-0.03630562871694565,
-0.14420582354068756,
-0.0990702211856842,
0.3860298991203308,
-0.37641292810440063,
-0.30185964703559875,
-0.17227111756801605,
0.34889692068099976,
0.060444895178079605,
-0.20517075061798096,
-0.25700148940086365,
-0.35358813405036926,
0.21369986236095428,
-0.06865765154361725,
0.0027198009192943573,
-0.03234575688838959,
-0.04915478080511093,
0.14915847778320312,
-0.02786899171769619,
-0.13375169038772583,
-0.3077666759490967,
0.3906455338001251,
0.11002278327941895,
-0.07237448543310165,
-0.15484564006328583,
-0.06155259907245636,
-0.021808654069900513,
-0.46883225440979004,
-0.10174281150102615,
-0.5063799619674683,
-0.3212261497974396,
-0.3338336646556854,
0.05645601078867912,
-0.1721104383468628,
0.11772463470697403,
0.5581916570663452,
0.03365567326545715,
-0.16785235702991486,
0.07548180967569351,
-0.5117254853248596,
0.006537593901157379,
0.20860880613327026,
0.2911209464073181,
0.002638820558786392,
0.5457540154457092,
-0.2361554652452469,
0.377430260181427,
0.0900813490152359,
0.33155468106269836,
0.45117005705833435,
0.24756351113319397,
0.1978161633014679,
-0.17225316166877747,
-0.16706281900405884,
0.44354382157325745,
0.38858842849731445,
0.053245753049850464,
0.3981996178627014,
-0.18852499127388,
-0.12402746826410294,
0.06933354586362839,
-0.15477243065834045,
-0.14832283556461334,
0.15821953117847443,
0.2080366313457489,
-0.16168570518493652,
0.3059579133987427,
-0.40776941180229187,
-0.6715036034584045,
-0.17959816753864288,
-0.11029181629419327,
0.084227055311203,
0.1291903555393219,
0.21921539306640625,
0.13789620995521545,
-0.7674450874328613,
0.139800563454628,
-0.266662061214447,
0.31535011529922485,
0.23936381936073303,
0.13499431312084198,
-0.34936463832855225,
0.06530571728944778,
0.16670005023479462,
-0.053443148732185364,
0.06307268887758255,
-0.3700244128704071,
-0.542849063873291,
0.09654867649078369,
0.18327078223228455,
0.027851583436131477,
-0.09060139954090118,
-0.2704397141933441,
-0.03914513811469078,
0.30652812123298645,
0.1198531836271286,
-0.31430402398109436,
0.007371207699179649,
0.6876734495162964,
0.1383981555700302,
-0.2539515495300293,
-0.2828139662742615,
-0.13008657097816467,
-0.4961155951023102,
-0.30046555399894714,
-0.05995398014783859,
0.24570520222187042,
0.43099507689476013,
0.29661139845848083,
0.022625591605901718,
0.08094029128551483,
-0.12294372916221619,
0.44491416215896606,
-0.526124119758606,
-0.05032029002904892,
0.6160300970077515,
-0.227058544754982,
-0.33285215497016907,
0.09928622841835022,
-0.02233739010989666,
0.3723334074020386,
-0.09040665626525879,
-0.2410421371459961,
0.5768206715583801,
-0.4350956380367279,
0.629743218421936,
0.21136333048343658,
0.48041531443595886,
0.3508274257183075,
0.1215042844414711,
0.11992201209068298,
-0.27639973163604736,
-0.060507576912641525,
0.03071369230747223,
-0.11210288107395172,
-0.633411705493927,
-0.22456316649913788,
0.5380722880363464,
-0.13949745893478394,
-0.1090054139494896,
-0.09386014938354492,
0.2996644973754883,
-0.15277282893657684,
0.1841224879026413,
0.22276505827903748,
1.3351846933364868,
-0.3661402463912964,
-0.081226646900177,
-0.1685815453529358,
-0.33823347091674805,
0.22441324591636658,
-0.30951571464538574,
-0.16945874691009521,
-0.25190985202789307,
0.09133066982030869,
-0.053906626999378204,
-0.04095698893070221,
-0.04357291758060455,
0.005476303398609161,
-0.3045813739299774,
-0.16560962796211243,
-0.02624335139989853,
-0.19769982993602753,
0.38102591037750244,
0.6168955564498901,
-0.1288134753704071,
-0.24525398015975952,
0.003490360453724861,
0.08791505545377731,
0.11353190243244171,
0.1414983868598938,
-0.013594726100564003,
-0.16356678307056427,
-0.03258363902568817,
-0.013268142938613892,
-0.4000088572502136,
-0.0696820467710495,
0.015406647697091103,
-0.3342849612236023,
0.10812751948833466,
-0.3193575441837311,
0.3243046700954437,
0.4512615203857422,
0.6276769638061523,
0.1616530865430832,
0.06289266049861908,
0.06530558317899704,
-0.10458115488290787,
-0.27813106775283813,
-0.081699438393116,
0.08895889669656754,
0.032612863928079605,
-0.4633515179157257,
-0.17565873265266418,
0.5177129507064819,
0.08966515213251114,
-0.4510986804962158,
-0.7052729725837708,
0.03048476204276085,
-0.05210200697183609,
0.11844737827777863,
-0.10523746907711029,
0.3896995484828949,
0.05765901878476143,
-0.1407693773508072,
0.06272350251674652,
0.032120756804943085,
-0.10341943055391312,
-0.350555956363678,
0.3452768921852112,
-0.17357967793941498,
-0.2859455943107605,
0.14235259592533112,
0.10011989623308182,
-0.018857261165976524,
0.525049090385437,
0.26088592410087585,
-0.021811410784721375,
-0.3219296634197235,
-0.021026361733675003,
0.3423770070075989,
0.009166419506072998,
-0.15673401951789856,
0.023039575666189194,
-0.32150691747665405,
-0.27903470396995544,
0.25041574239730835,
-0.07651139050722122,
0.06690375506877899,
-0.05372948944568634,
-0.111011803150177,
-0.19128477573394775,
-0.015968069434165955,
-0.1434919238090515,
0.10240990668535233,
-0.2060059905052185,
0.15305162966251373,
-0.06116567552089691,
0.2730080485343933,
-0.3111281991004944,
-0.015060817822813988,
-0.3306557834148407,
0.027794351801276207,
0.106146439909935,
-0.07358226925134659,
-0.13265486061573029,
0.12497709691524506,
0.15812858939170837,
-0.22164316475391388,
-0.16981914639472961,
-0.12246675789356232,
-0.1573496162891388,
0.16520807147026062,
0.1167384460568428,
0.25359612703323364,
-0.1805500090122223,
-0.3008003830909729,
0.20779216289520264,
0.16899530589580536,
-0.05720386281609535,
0.2755464017391205,
-0.012977585196495056,
0.012494771741330624,
-0.0031803585588932037,
-0.11463017016649246,
0.047596462070941925,
-0.046278052031993866,
0.06483465433120728,
0.3283129930496216,
0.1186341792345047,
0.05913333222270012,
0.39358165860176086,
-0.13862675428390503,
-0.10596934705972672,
0.27850961685180664,
0.42121177911758423,
0.05410861223936081,
-0.06439244002103806,
-0.007053755223751068,
0.09740005433559418,
0.07413218915462494,
0.11793677508831024,
-0.3291090428829193,
-0.4495805501937866,
0.1174837201833725,
0.04582639038562775,
0.2019336223602295,
-0.2296610176563263,
-0.013522329740226269,
-0.09913976490497589,
-0.5460138916969299,
0.06607232987880707,
0.4095456004142761,
0.1354002207517624,
0.3015289902687073,
0.20859669148921967,
-0.006698139943182468,
-0.09409979730844498,
0.2311370074748993,
-0.1881113350391388,
-0.10633121430873871,
-0.0064627304673194885,
0.15601100027561188,
0.5827023983001709,
-0.07636359333992004,
-0.07677405327558517,
-0.10273246467113495,
-0.0518181249499321,
0.22509817779064178,
0.07980944216251373,
0.24380140006542206,
0.4201146364212036,
-0.22172152996063232,
0.4419967830181122,
0.05342201143503189,
0.14674115180969238,
0.12857148051261902,
0.03304911032319069,
0.256050169467926,
-0.04892260208725929,
-0.05218426510691643,
-0.06502695381641388,
0.39546748995780945,
0.0859551876783371,
-0.11028605699539185,
-0.023134149610996246,
-0.11166457831859589,
-0.24711592495441437,
0.21366265416145325,
0.18766340613365173,
-0.13675948977470398,
0.13659174740314484,
0.10290820151567459,
0.009578555822372437,
0.09460127353668213,
-0.21099036931991577,
-0.035755522549152374,
-0.10231978446245193,
-0.3602389991283417,
0.1129954382777214,
-0.22492103278636932,
-0.1633775383234024,
0.24906174838542938,
0.12068378180265427,
-0.10061179101467133,
0.12004640698432922,
-0.003963368013501167,
0.3050331175327301,
-0.23877201974391937,
-0.07444895803928375,
0.0829198881983757,
0.047626201063394547,
0.5274869203567505,
0.13118186593055725,
0.1712513267993927,
0.06510733813047409,
-0.15199565887451172,
0.18663015961647034,
-0.03760191425681114,
-0.1851835548877716,
-0.2796277403831482,
0.1034725233912468,
0.12185432761907578,
0.08925933390855789,
-0.45044979453086853,
0.1968425214290619,
-0.20656725764274597,
-0.09120888262987137,
0.13811731338500977,
-0.20108520984649658,
-0.03606833517551422,
0.024363745003938675,
0.029646441340446472,
0.06914037466049194,
0.09966672211885452,
0.5382281541824341,
0.14565855264663696,
-0.1388915777206421,
-0.4056450128555298,
-0.05991449952125549,
0.179742693901062,
-0.19634781777858734,
-0.07728072255849838,
-0.1284976601600647,
0.0687219426035881,
0.5764564275741577,
0.03063463792204857,
0.013216428458690643,
0.14098721742630005,
-0.07893477380275726,
0.2450750321149826,
-0.1283314973115921,
0.06534959375858307,
0.32446926832199097,
0.5885167121887207,
-0.00571567565202713,
0.14763811230659485,
0.15782293677330017,
0.1233721375465393,
0.07110368460416794,
-0.4833962917327881,
0.10693798959255219,
-0.13266070187091827,
-0.035864248871803284,
0.20753294229507446,
0.13987670838832855,
0.34258151054382324,
-0.3620339035987854,
-0.08537977933883667,
0.20937377214431763,
-0.1798771768808365,
-0.1974039077758789,
-0.30543217062950134,
0.02508523501455784,
0.28144073486328125,
0.026767579838633537,
-0.11643527448177338,
0.04059626907110214,
0.6007956266403198,
-0.2533475458621979,
0.23309405148029327,
-0.31033992767333984,
0.22018340229988098,
-0.10054764151573181,
-0.07007531076669693,
0.25609490275382996,
0.006452798843383789,
0.2898729145526886,
-0.17245225608348846,
-0.5087051391601562,
-0.2854951322078705,
0.3154834508895874,
0.0996251255273819,
-0.30456992983818054,
0.12563946843147278,
0.0999971553683281,
0.258617103099823,
0.2784061133861542,
-0.4859052002429962,
-0.04519329220056534,
0.33957403898239136,
0.25729432702064514,
-0.03905417397618294,
0.328539103269577,
0.14405545592308044,
0.22592632472515106,
-0.020754802972078323,
-0.38112977147102356,
0.0469624325633049,
0.06960038840770721,
-0.43445101380348206,
-0.24078458547592163
] |
https://github.com/huggingface/datasets/pull/2228 | [WIP] Add ArrayXD support for fixed size list. | Awesome thanks ! To fix the CI you just need to merge master into your branch.
The error is unrelated to your PR | Add support for fixed size list for ArrayXD when shape is known . See https://github.com/huggingface/datasets/issues/2146
Since offset are not stored anymore, the file size is now roughly equal to the actual data size. | 23 | text: [WIP] Add ArrayXD support for fixed size list.
Add support for fixed size list for ArrayXD when shape is known . See https://github.com/huggingface/datasets/issues/2146
Since offset are not stored anymore, the file size is now roughly equal to the actual data size.
Awesome thanks ! To fix the CI you just need to merge master into your branch.
The error is unrelated to your PR | [
-0.450249046087265,
-0.3517155647277832,
-0.17155207693576813,
0.0781153067946434,
0.3152911067008972,
-0.13141317665576935,
0.14649274945259094,
0.32965460419654846,
0.04953381046652794,
0.4605509042739868,
-0.012894844636321068,
-0.1733645349740982,
-0.11891420930624008,
0.4947512149810791,
-0.14503099024295807,
-0.141760915517807,
-0.02704053372144699,
0.2911699414253235,
-0.07107017934322357,
0.018249593675136566,
0.0960618257522583,
0.3019878566265106,
0.04099411517381668,
-0.1009669303894043,
-0.024619868025183678,
-0.24772781133651733,
-0.1141328439116478,
0.3117973804473877,
-0.4057372510433197,
-0.251094251871109,
0.24246321618556976,
-0.03354097530245781,
0.06404349952936172,
0.1524515450000763,
-0.00010566289711277932,
-0.0007317662239074707,
0.29727137088775635,
-0.2875412106513977,
-0.042457617819309235,
-0.012347310781478882,
-0.0879477858543396,
-0.4009940028190613,
-0.15671218931674957,
-0.25945863127708435,
-0.09699217975139618,
-0.15291926264762878,
-0.06028108298778534,
0.08344222605228424,
0.3231937289237976,
0.2432691752910614,
0.3593154847621918,
0.08916734904050827,
0.47898727655410767,
-0.22437766194343567,
0.03904253989458084,
0.19791318476200104,
-0.07294381409883499,
-0.020062878727912903,
0.20153672993183136,
0.4251103401184082,
0.06657730042934418,
0.1466280072927475,
0.0011566169559955597,
0.0426245853304863,
0.22609871625900269,
-0.08051475882530212,
0.10065443813800812,
-0.19392217695713043,
0.30537649989128113,
0.14153927564620972,
0.3902912139892578,
-0.050344616174697876,
-0.054124727845191956,
-0.33245381712913513,
0.013064464554190636,
-0.368076354265213,
0.13416442275047302,
0.23246078193187714,
-0.12990975379943848,
0.08497784286737442,
-0.5302754640579224,
0.021590188145637512,
-0.11672812700271606,
-0.01798573136329651,
-0.019914530217647552,
-0.013257235288619995,
-0.3278009593486786,
-0.006591096520423889,
0.1991589516401291,
-0.31808632612228394,
-0.21773727238178253,
0.09102924913167953,
-0.2700902223587036,
0.013553759083151817,
-0.08188031613826752,
-0.19097648561000824,
0.14771556854248047,
-0.013563580811023712,
0.40716972947120667,
-0.03549318015575409,
-0.034037500619888306,
-0.10191909223794937,
0.11394662410020828,
-0.10576380044221878,
0.2547672390937805,
0.5846747756004333,
-0.19303283095359802,
0.09055230021476746,
0.05623732879757881,
0.3351883888244629,
0.15651170909404755,
-0.10666302591562271,
-0.006783268880099058,
-0.05044777691364288,
-0.3198228180408478,
-0.13632208108901978,
0.2695942521095276,
-0.25578027963638306,
-0.06334404647350311,
0.21840523183345795,
0.24303069710731506,
0.16737022995948792,
-0.20482410490512848,
0.2586936056613922,
0.07817743718624115,
0.1434849202632904,
0.006315387785434723,
-0.08517009764909744,
-0.025042764842510223,
0.03258182853460312,
-0.23217391967773438,
-0.17716313898563385,
-0.08769406378269196,
-0.3316780626773834,
-0.13087226450443268,
-0.14829140901565552,
0.42990341782569885,
-0.19259151816368103,
0.49839502573013306,
0.07863515615463257,
-0.2837170362472534,
0.0697077214717865,
0.2551325261592865,
0.3684867322444916,
0.14957861602306366,
-0.21710161864757538,
0.09653311967849731,
-0.19586309790611267,
-0.18954187631607056,
0.2788291275501251,
-0.4365054965019226,
-0.2868117094039917,
-0.3046247959136963,
0.28568121790885925,
-0.2604331970214844,
0.11204171180725098,
-0.2304864525794983,
0.18827539682388306,
0.2753119468688965,
-0.09311005473136902,
-0.010217010974884033,
-0.19374972581863403,
-0.1034596860408783,
-0.20503464341163635,
0.14278173446655273,
0.10793871432542801,
-0.1765604317188263,
0.07450483739376068,
0.17850983142852783,
-0.17515011131763458,
-0.12750720977783203,
0.39459991455078125,
0.04407283291220665,
0.028883572667837143,
-0.3864362835884094,
0.03310973197221756,
-0.030147500336170197,
-0.2711924612522125,
-0.5011961460113525,
0.12841370701789856,
-0.0983983725309372,
-0.08924392610788345,
-0.024418018758296967,
0.008961906656622887,
0.35318294167518616,
-0.038708556443452835,
-0.13432657718658447,
-0.02376866713166237,
-0.1942940056324005,
0.16157281398773193,
-0.3047421872615814,
-0.43192538619041443,
-0.4899389147758484,
0.028410963714122772,
0.0011742785573005676,
0.12065443396568298,
0.21966886520385742,
0.15242122113704681,
0.3424079418182373,
-0.22754332423210144,
0.14428183436393738,
0.5327804088592529,
0.2531154751777649,
-0.2509812116622925,
0.01052778959274292,
-0.08142334222793579,
-0.4151649475097656,
-0.016992809250950813,
-0.028807757422327995,
-0.12275345623493195,
0.27320605516433716,
-0.19917897880077362,
-0.3377719223499298,
-0.0536905899643898,
0.02142719179391861,
-0.1816302388906479,
0.23865777254104614,
-0.1102764904499054,
0.2255195677280426,
-0.18790578842163086,
-0.16937921941280365,
-0.014066295698285103,
-0.29132312536239624,
-0.06504501402378082,
-0.2701970040798187,
-0.1402205377817154,
-0.206587553024292,
-0.1330036073923111,
0.18112245202064514,
0.2361840009689331,
-0.1175861731171608,
-0.21117015182971954,
-0.21805235743522644,
0.2581281363964081,
-0.11923442780971527,
0.13419431447982788,
0.0007834434509277344,
0.30663490295410156,
-0.0295578446239233,
-0.1331293284893036,
0.16174834966659546,
0.03616425395011902,
-0.04183131456375122,
0.08154324442148209,
-0.3701610565185547,
0.3643399477005005,
-0.0969901829957962,
-0.17469674348831177,
-0.0019077770411968231,
-0.06346680968999863,
0.46178966760635376,
-0.15587589144706726,
0.06294793635606766,
-0.1952349692583084,
0.14745385944843292,
0.13761846721172333,
-0.08766567707061768,
0.07018594443798065,
-0.19232308864593506,
0.07816226780414581,
0.4003559648990631,
0.10365243256092072,
-0.19196677207946777,
0.40221622586250305,
0.057859670370817184,
-0.09340360015630722,
0.04847710579633713,
0.09564913809299469,
0.46679502725601196,
0.3118073344230652,
0.013748027384281158,
0.26740601658821106,
0.33188503980636597,
-0.23532728850841522,
0.3569026589393616,
-0.14105224609375,
-0.15954355895519257,
0.3168136775493622,
0.3172304928302765,
-0.05844114348292351,
-0.32073989510536194,
0.08804337680339813,
-0.23358690738677979,
0.29781386256217957,
-0.14007440209388733,
-0.09267226606607437,
-0.05260930210351944,
-0.3689306676387787,
-0.17347916960716248,
-0.005993104539811611,
-0.2106752097606659,
-0.1201295480132103,
0.09898019582033157,
0.21480746567249298,
-0.2977578639984131,
0.10816594958305359,
0.05358292534947395,
0.3235011696815491,
0.18659427762031555,
0.19802658259868622,
-0.015004001557826996,
0.0938887968659401,
-0.16230928897857666,
0.1635875701904297,
0.157954603433609,
-0.311688095331192,
0.3309331238269806,
-0.22776103019714355,
0.07317075878381729,
-0.35340407490730286,
-0.4435465931892395,
0.1526610404253006,
0.06423082202672958,
0.17329344153404236,
0.3481385409832001,
0.21587318181991577,
-0.033641885966062546,
-0.11501388996839523,
0.0812641829252243,
-0.2851458489894867,
-0.46255168318748474,
-0.2199084609746933,
-0.10846728831529617,
-0.18529875576496124,
-0.40509459376335144,
-0.01576746255159378,
-0.11944117397069931,
-0.4712907373905182,
0.39698779582977295,
0.23164771497249603,
0.2257455289363861,
0.31456637382507324,
0.2068694531917572,
0.03615381196141243,
-0.07046984881162643,
-0.2491917908191681,
-0.2674221098423004,
-0.5098554491996765,
0.05391417816281319,
-0.2870618402957916,
-0.48400595784187317,
0.2783624231815338,
0.004989420995116234,
0.1302952766418457,
-0.0557914674282074,
-0.4933791160583496,
-0.3454042375087738,
-0.17932501435279846,
0.0818873792886734,
0.07642945647239685,
0.13015946745872498,
0.2942866384983063,
-0.21751585602760315,
-0.15931229293346405,
-0.13502764701843262,
-0.25776922702789307,
0.1629311740398407,
0.21909871697425842,
0.35112541913986206,
0.037735845893621445,
0.16028469800949097,
0.15091052651405334,
0.4513421654701233,
0.45867452025413513,
-0.02444925531744957,
0.23467585444450378,
-0.08105941861867905,
0.4687053859233856,
-0.33378541469573975,
-0.048552848398685455,
0.6147515177726746,
0.10130825638771057,
-0.19212140142917633,
0.4242176413536072,
0.11802864074707031,
-0.008316634222865105,
0.18944066762924194,
-0.10288001596927643,
0.12518733739852905,
-0.161358043551445,
0.216557115316391,
0.23100683093070984,
0.20195960998535156,
0.01179695874452591,
-0.27815669775009155,
-0.33477747440338135,
-0.22564411163330078,
-0.1518711894750595,
0.15774112939834595,
0.011277586221694946,
0.1518404483795166,
-0.3354642391204834,
-0.20564991235733032,
-0.4152674973011017,
0.4138656258583069,
0.10322236269712448,
-0.039547309279441833,
-0.27670741081237793,
0.00261688232421875,
0.1236729696393013,
-0.01403878815472126,
0.3959499001502991,
0.2811587154865265,
-0.29111337661743164,
-0.046278320252895355,
-0.029571998864412308,
0.028689416125416756,
-0.1303803026676178,
0.029981497675180435,
0.049820348620414734,
0.4110308289527893,
0.4763195812702179,
-0.2698965072631836,
-0.07674611359834671,
0.19791699945926666,
0.06665775179862976,
-0.17249734699726105,
0.020610518753528595,
-0.2236228585243225,
-0.43873050808906555,
-0.4554317593574524,
0.14774693548679352,
0.2250615656375885,
0.16125231981277466,
0.03204112499952316,
-0.1902862787246704,
-0.15144027769565582,
-0.1203327625989914,
-0.3183501958847046,
-0.012652269564568996,
0.5193358659744263,
0.03939051181077957,
-0.10345841944217682,
0.059316787868738174,
0.09809349477291107,
0.2938769459724426,
0.5681868195533752,
0.015892796218395233,
0.16545253992080688,
0.06385008990764618,
-0.2503906786441803,
0.07266238331794739,
0.39804184436798096,
0.009461297653615475,
-0.16119131445884705,
0.13543716073036194,
0.5722433924674988,
-0.2350616604089737,
-0.09821603447198868,
0.05655992031097412,
-0.06939957290887833,
-0.07088065892457962,
-0.007937386631965637,
-0.12697890400886536,
-0.11553461849689484,
0.23868338763713837,
0.347303181886673,
0.06202415004372597,
-0.022532373666763306,
0.010309088975191116,
0.21796730160713196,
0.8914095759391785,
0.15436822175979614,
0.055634524673223495,
0.20086035132408142,
-0.31028664112091064,
0.19936221837997437,
0.09631027281284332,
0.10152532905340195,
-0.4013528823852539,
-0.29061925411224365,
0.07536671310663223,
0.04345555230975151,
0.1334807276725769,
-0.06215358525514603,
-0.24897485971450806,
0.08657044172286987,
0.31639528274536133,
0.20327039062976837,
-0.16202466189861298,
0.06895552575588226,
-0.2353936731815338,
-0.16920070350170135,
-0.4334491491317749,
0.2333659529685974,
-0.11395138502120972,
0.08440003544092178,
-0.2014947235584259,
-0.18865706026554108,
-0.0803845077753067,
-0.22679811716079712,
-0.43294215202331543,
-0.13641542196273804,
-0.2389494776725769,
0.0638885423541069,
0.10257992148399353,
-0.25059235095977783,
-0.07181358337402344,
0.20805084705352783,
0.21844987571239471,
0.23947720229625702,
-0.2689759433269501,
0.11637228727340698,
-0.11552368849515915,
0.17221541702747345,
-0.09648240357637405,
-0.09906654804944992,
-0.0416157990694046,
-0.20962780714035034,
0.041821204125881195,
-0.24231570959091187,
-0.06533874571323395,
-0.09176914393901825,
-0.13745824992656708,
0.045545607805252075,
-0.1054656058549881,
-0.2297871708869934,
-0.2941023111343384,
-0.40221351385116577,
-0.06287218630313873,
-0.08440691232681274,
0.1875104159116745,
0.08654897660017014,
0.09098391234874725,
0.1371557116508484,
0.3651385009288788,
-0.15841853618621826,
-0.027393750846385956,
0.186784565448761,
0.14299210906028748,
-0.1530623435974121,
0.1711847484111786,
-0.0789526104927063,
-0.04126132279634476,
-0.13150665163993835,
0.16468605399131775,
-0.1700839251279831,
-0.3601009249687195,
0.24548043310642242,
-0.01181231252849102,
-0.19077536463737488,
-0.0363784097135067,
0.45566660165786743,
0.309395432472229,
0.21441832184791565,
-0.06704841554164886,
-0.3041646480560303,
-0.6230241656303406,
0.09083356708288193,
-0.3132995665073395,
0.44548144936561584,
0.25222256779670715,
0.06994941830635071,
0.09841762483119965,
0.07772203534841537,
-0.40846675634384155,
0.09604817628860474,
-0.4988742768764496,
-0.034112073481082916,
0.2737053334712982,
-0.1223529502749443,
0.06706837564706802,
-0.27514588832855225,
0.034941717982292175,
0.0218964871019125,
-0.37836793065071106,
-0.2796231806278229,
0.019725240767002106,
0.09032180905342102,
0.03313097357749939,
-0.10073282569646835,
0.1920400708913803,
-0.05170411989092827,
-0.1976165473461151,
-0.19317805767059326,
0.06041042134165764,
-0.10210420936346054,
0.11215388029813766,
-0.14402976632118225,
-0.06282533705234528,
-0.16720744967460632,
0.24684448540210724,
0.07687492668628693,
0.30381858348846436,
0.004813060164451599,
-0.0819418728351593,
0.21620798110961914,
-0.3046526610851288,
-0.0746004730463028,
0.16459153592586517,
0.3047846555709839,
0.16990923881530762,
0.2574031352996826,
0.4184077978134155,
0.012153632938861847,
-0.07717981934547424,
0.3815722167491913,
0.4217607080936432,
0.005555290728807449,
-0.07008712738752365,
0.11304642260074615,
0.12488221377134323,
0.28090885281562805,
-0.30422085523605347,
-0.13965801894664764,
0.5082882046699524,
0.1483827531337738,
-0.11401793360710144,
0.24631048738956451,
0.40380656719207764,
-0.18545016646385193,
0.15697121620178223,
0.33127203583717346,
0.492537260055542,
-0.3108086585998535,
0.046759430319070816,
0.26256275177001953,
-0.0258590430021286,
0.13827551901340485,
0.22709007561206818,
-0.030299142003059387,
0.48800453543663025,
0.5570322275161743,
-0.08226009458303452,
0.26640841364860535,
0.3348280191421509,
0.21022720634937286,
0.13076487183570862,
-0.3382140100002289,
0.01737029105424881,
-0.038813039660453796,
-0.05676814913749695,
0.13897433876991272,
0.27884942293167114,
0.07979808747768402,
-0.002223464660346508,
-0.33540233969688416,
-0.1286013424396515,
0.37771230936050415,
-0.4201163947582245,
0.1580079197883606,
-0.15182064473628998,
-0.055766213685274124,
0.1086149513721466,
0.11448395252227783,
-0.09527227282524109,
0.15586531162261963,
0.47924381494522095,
-0.13131211698055267,
-0.15881337225437164,
-0.34897512197494507,
-0.10662994533777237,
0.22113659977912903,
0.09048877656459808,
-0.21517516672611237,
0.46344488859176636,
0.4024322032928467,
0.010072022676467896,
0.15010717511177063,
0.6153885126113892,
0.6132020950317383,
0.1998436003923416,
0.4254826009273529,
0.1499766856431961,
0.2455441802740097,
-0.07902256399393082,
-0.3289574682712555,
0.04802899807691574,
0.22736099362373352,
0.1693955957889557,
0.08285412192344666,
0.26453834772109985,
-0.18936537206172943,
0.18555933237075806,
-0.32105952501296997,
-0.2020690143108368,
-0.13547280430793762,
-0.02427520602941513,
0.003209782764315605,
-0.1733570396900177,
-0.22860285639762878,
-0.1110844537615776,
-0.28111207485198975,
0.11925390362739563,
0.048236213624477386,
-0.05306756868958473,
0.31628942489624023,
0.01741359382867813,
0.13411346077919006,
-0.1012837290763855,
0.2714514434337616,
0.2815653383731842,
-0.22657659649848938,
-0.11464013904333115,
-0.3026420474052429,
-0.5593442916870117,
0.21528410911560059,
0.026474904268980026,
-0.009150343015789986,
0.08917837589979172,
0.11414748430252075,
0.030403215438127518,
-0.19881995022296906,
0.26701784133911133,
-0.28372377157211304,
0.330715537071228,
0.08945892751216888,
-0.35859498381614685,
-0.05217822268605232,
-0.008227415382862091,
-0.1409795731306076,
0.12341472506523132,
0.01804427057504654,
0.30573570728302,
0.25329098105430603,
0.09497857838869095,
-0.03995422646403313,
0.3354796767234802,
-0.2356128692626953,
-0.14927484095096588,
-0.22395560145378113,
0.263255774974823,
0.08499051630496979,
-0.23651233315467834,
0.021424217149615288,
-0.2278836965560913,
0.05157497152686119,
-0.41713276505470276,
0.38198140263557434,
0.12102091312408447,
0.4175465703010559,
-0.3233260214328766,
-0.22235675156116486,
-0.2462630718946457,
-0.0006678833160549402,
0.1470516324043274,
0.167104110121727,
-0.2004173994064331,
0.3428654074668884,
-0.14984570443630219,
0.12073491513729095,
0.34913066029548645,
0.24071064591407776,
0.03956732898950577,
-0.0867430716753006,
-0.19617146253585815,
-0.37288951873779297,
0.4070393443107605,
0.16182562708854675,
-0.1942194700241089,
0.27161073684692383,
0.0615520179271698,
0.07178189605474472,
-0.31430289149284363,
-0.45199325680732727,
0.11639448255300522,
0.16232669353485107,
-0.14509537816047668,
-0.038829632103443146,
0.20468121767044067,
-0.18721887469291687,
0.029020320624113083,
-0.05239301919937134,
0.5435521602630615,
0.2278946340084076,
-0.44323983788490295,
0.14432616531848907,
-0.1890091747045517
] |
https://github.com/huggingface/datasets/pull/2225 | fixed one instance of 'train' to 'test' | Thanks ! good catch
Could you also update the metadata of this dataset ?
You can do so by running
```
datasets-cli test ./datasets/newsgroup --all_configs --save_infos --ignore_verifications
```
This should update the dataset_infos.json file that contains the size of all the splits for example. | I believe this should be 'test' instead of 'train' | 44 | text: fixed one instance of 'train' to 'test'
I believe this should be 'test' instead of 'train'
Thanks ! good catch
Could you also update the metadata of this dataset ?
You can do so by running
```
datasets-cli test ./datasets/newsgroup --all_configs --save_infos --ignore_verifications
```
This should update the dataset_infos.json file that contains the size of all the splits for example. | [
-0.39921271800994873,
-0.08612480759620667,
-0.1782991588115692,
0.08965710550546646,
0.1486213654279709,
-0.008510194718837738,
0.3641776442527771,
0.44641855359077454,
0.04545186087489128,
0.2960195541381836,
-0.009463559836149216,
0.21425366401672363,
0.054239671677351,
0.2699264585971832,
-0.15549708902835846,
-0.20301330089569092,
-0.05738813430070877,
0.17643049359321594,
-0.05288451910018921,
-0.1565832495689392,
-0.1581328809261322,
0.1518392562866211,
-0.06043776124715805,
-0.07967370748519897,
-0.6213224530220032,
-0.08849585801362991,
-0.21470943093299866,
0.15614637732505798,
-0.05957597494125366,
-0.15464596450328827,
-0.08820603787899017,
0.06707300990819931,
-0.1074812188744545,
0.5541527271270752,
-0.00010010933328885585,
-0.020266879349946976,
0.22416631877422333,
0.05239704251289368,
-0.2297072857618332,
0.28388646245002747,
-0.4104025959968567,
-0.2704085409641266,
-0.17134970426559448,
-0.2544515132904053,
-0.05940553545951843,
0.00006387289613485336,
-0.1305501013994217,
-0.2088511437177658,
0.41968709230422974,
0.30088216066360474,
0.3496653735637665,
0.09019321948289871,
-0.11169134080410004,
-0.2290879338979721,
0.2707988917827606,
0.17450784146785736,
-0.011301366612315178,
-0.027170047163963318,
-0.05520312488079071,
-0.08029763400554657,
-0.1517702341079712,
0.4310366213321686,
0.2746276259422302,
0.04308493435382843,
-0.23994633555412292,
-0.040021173655986786,
-0.1753253936767578,
-0.23197758197784424,
0.16650867462158203,
-0.0003253072500228882,
0.3137992024421692,
-0.11451815813779831,
-0.2637719511985779,
-0.09802350401878357,
-0.05981806293129921,
-0.20323477685451508,
0.026126638054847717,
0.13354508578777313,
0.16341793537139893,
0.11913108825683594,
-0.14401644468307495,
-0.15329822897911072,
-0.08971206843852997,
-0.06921641528606415,
-0.34766367077827454,
0.40940484404563904,
-0.004340453073382378,
0.033886637538671494,
0.145654559135437,
-0.025713983923196793,
-0.14473241567611694,
0.3959071934223175,
-0.33594584465026855,
-0.06903847306966782,
-0.21156658232212067,
-0.3019242286682129,
-0.09051693230867386,
-0.15359821915626526,
0.14298954606056213,
0.1015980988740921,
-0.23003917932510376,
0.13946139812469482,
0.16325171291828156,
-0.04821156710386276,
0.3107371926307678,
-0.0025642598047852516,
0.1755611002445221,
0.5652028322219849,
0.24369360506534576,
0.18021707236766815,
-0.222678542137146,
-0.061426274478435516,
-0.04192120209336281,
-0.2914576232433319,
-0.12660934031009674,
-0.01043974980711937,
0.043430499732494354,
-0.07358910143375397,
-0.20872411131858826,
0.027302216738462448,
-0.024432161822915077,
-0.16061387956142426,
-0.1639811396598816,
0.3629242181777954,
0.09965409338474274,
0.08802333474159241,
0.026402562856674194,
0.15984246134757996,
-0.3006093204021454,
-0.3728952407836914,
-0.37806689739227295,
0.062476079910993576,
-0.28287041187286377,
-0.08311381936073303,
0.08290858566761017,
0.17275039851665497,
0.2761598825454712,
0.03765648230910301,
-0.05918174982070923,
-0.08735542744398117,
-0.0882822722196579,
-0.014070304110646248,
-0.1453338861465454,
0.28045254945755005,
0.11604835093021393,
0.06892315298318863,
-0.02081463858485222,
-0.019049927592277527,
0.0770946517586708,
0.095017209649086,
-0.16929063200950623,
-0.2875145375728607,
-0.2197614163160324,
0.38018861413002014,
0.08880799263715744,
-0.021362274885177612,
0.16786953806877136,
0.2857048213481903,
0.38008782267570496,
-0.04744266718626022,
-0.07314477115869522,
-0.06831824779510498,
-0.09701992571353912,
-0.09777001291513443,
0.1378568559885025,
0.19858479499816895,
-0.47971224784851074,
-0.0895729660987854,
-0.22923585772514343,
-0.10538725554943085,
0.3580402433872223,
0.46061304211616516,
0.03539649024605751,
0.069841668009758,
-0.12489040940999985,
0.37830817699432373,
0.21350574493408203,
0.19935867190361023,
-0.2918300926685333,
0.1963331699371338,
-0.22374410927295685,
-0.39431408047676086,
-0.06472625583410263,
-0.16395512223243713,
0.3472483158111572,
0.16026800870895386,
-0.026452764868736267,
0.12305038422346115,
-0.20569829642772675,
0.281307190656662,
-0.4019949734210968,
-0.0769893154501915,
0.02742464281618595,
0.046588119119405746,
0.403535395860672,
-0.0991475060582161,
0.19791793823242188,
0.32253050804138184,
0.49442365765571594,
0.005192931741476059,
0.11685875803232193,
0.2224435806274414,
0.35098177194595337,
-0.12232595682144165,
0.20421350002288818,
-0.20769450068473816,
-0.16175904870033264,
0.0724315419793129,
-0.02906968630850315,
0.01569913700222969,
0.27461913228034973,
-0.2342793494462967,
-0.5319941639900208,
-0.058761656284332275,
0.033004455268383026,
-0.108893021941185,
0.2888046205043793,
0.07206545770168304,
-0.05151909962296486,
-0.14503200352191925,
-0.1602834314107895,
-0.02829701639711857,
-0.245231032371521,
0.15976381301879883,
0.06983257830142975,
0.37434205412864685,
-0.343077689409256,
-0.06033089756965637,
0.11207027733325958,
0.05579807609319687,
0.038902945816516876,
-0.16537098586559296,
-0.1706371307373047,
0.4080710709095001,
0.21281243860721588,
0.1957794725894928,
0.1497657746076584,
-0.21794138848781586,
0.23932556807994843,
-0.11976313591003418,
0.1412149965763092,
-0.03363270312547684,
-0.16271305084228516,
-0.06416146457195282,
-0.320689857006073,
0.12593279778957367,
0.06570066511631012,
-0.01920592039823532,
-0.04969002306461334,
0.004126662388443947,
0.1107856035232544,
-0.18421094119548798,
0.18780413269996643,
-0.38911086320877075,
-0.17562752962112427,
-0.22233456373214722,
-0.10232917964458466,
0.08518785983324051,
-0.19028273224830627,
0.10137923806905746,
0.5223354697227478,
0.08683913946151733,
-0.04080191254615784,
0.18407395482063293,
-0.05196697264909744,
-0.05908798426389694,
0.026363318786025047,
0.5028892755508423,
0.22134003043174744,
0.34815514087677,
0.33836829662323,
-0.04259013384580612,
0.18059717118740082,
-0.18932123482227325,
0.22660693526268005,
0.04885211959481239,
0.026820369064807892,
0.3451385796070099,
0.165839284658432,
-0.26758190989494324,
-0.26087015867233276,
0.07867361605167389,
0.08984420448541641,
0.34547048807144165,
-0.12768769264221191,
-0.13512131571769714,
-0.17599156498908997,
-0.040133699774742126,
-0.03596184775233269,
-0.1694096475839615,
-0.17837131023406982,
-0.3131610155105591,
0.34604060649871826,
-0.19155965745449066,
-0.24669256806373596,
0.23706099390983582,
0.005022648721933365,
0.18996316194534302,
0.1861182302236557,
0.4076860845088959,
0.0026296116411685944,
-0.028724052011966705,
-0.2905161678791046,
0.26744166016578674,
0.10424678772687912,
0.12235592305660248,
0.19306974112987518,
-0.1414860188961029,
-0.1699039489030838,
-0.11151238530874252,
-0.20269957184791565,
0.012950342148542404,
-0.17319868505001068,
0.04168619215488434,
0.2514340281486511,
0.3486243486404419,
-0.04997602850198746,
-0.2856498658657074,
0.12969805300235748,
-0.21494916081428528,
-0.12256179004907608,
-0.20088696479797363,
0.06170698627829552,
0.13554060459136963,
-0.3871261775493622,
-0.579507052898407,
-0.046790771186351776,
-0.43686410784721375,
0.2608112096786499,
0.05835731700062752,
0.16550937294960022,
0.1966392993927002,
0.15562079846858978,
-0.08826199918985367,
-0.00982668623328209,
-0.12927110493183136,
-0.3702511191368103,
-0.12923315167427063,
0.18473096191883087,
-0.21196706593036652,
-0.23078621923923492,
0.06696262955665588,
-0.046476125717163086,
0.14757943153381348,
-0.10203287750482559,
-0.32993531227111816,
0.22232826054096222,
-0.2067284882068634,
-0.02261045202612877,
-0.08594855666160583,
0.021291028708219528,
0.15331095457077026,
-0.07620590925216675,
-0.26155996322631836,
-0.14781516790390015,
-0.017064742743968964,
0.10583771765232086,
-0.021047234535217285,
0.34702199697494507,
-0.32565000653266907,
0.23647820949554443,
0.06829680502414703,
0.6035792827606201,
0.14623354375362396,
-0.08602485060691833,
0.014987125992774963,
-0.26881882548332214,
0.07398870587348938,
0.050183217972517014,
-0.28175273537635803,
0.3095360994338989,
-0.004861012101173401,
-0.3215145468711853,
0.33438652753829956,
0.06461615115404129,
-0.2081117480993271,
0.14812681078910828,
0.0864923894405365,
0.05006533861160278,
-0.3694113492965698,
0.10585639625787735,
0.08944350481033325,
0.23012733459472656,
0.017855960875749588,
0.08496839553117752,
-0.08298659324645996,
0.10437729954719543,
0.02247578650712967,
0.019313976168632507,
-0.2009471356868744,
-0.11701195687055588,
-0.4387286305427551,
-0.030901221558451653,
-0.21464428305625916,
0.18351566791534424,
-0.062327850610017776,
0.1089373528957367,
-0.12403111159801483,
-0.17484572529792786,
-0.044953957200050354,
-0.03199723735451698,
0.5346804261207581,
-0.2627493739128113,
-0.0756300836801529,
0.12378203868865967,
0.2622096538543701,
0.021152475848793983,
-0.16423669457435608,
-0.39697566628456116,
0.3085176348686218,
0.46841397881507874,
0.25483888387680054,
-0.18145833909511566,
-0.07228983938694,
0.4921036958694458,
0.07446575909852982,
-0.1604996919631958,
-0.0023011467419564724,
-0.22397570312023163,
-0.026199091225862503,
-0.28809866309165955,
0.2640950083732605,
0.11881185322999954,
0.019420476630330086,
-0.30003979802131653,
-0.22321605682373047,
0.15937654674053192,
-0.24967652559280396,
0.04029616340994835,
0.2489030808210373,
0.47981902956962585,
0.059576842933893204,
0.10978397727012634,
-0.01960841193795204,
0.15073713660240173,
0.2821829319000244,
0.41015467047691345,
-0.11789777874946594,
0.12065321952104568,
0.15430080890655518,
-0.32471734285354614,
0.4088645279407501,
0.30099889636039734,
0.07332838326692581,
-0.010932326316833496,
-0.032756537199020386,
0.4333673119544983,
0.09873925149440765,
0.24311664700508118,
0.3548365533351898,
-0.020548483356833458,
-0.16790591180324554,
-0.21641375124454498,
0.23237702250480652,
0.07957874238491058,
0.018330059945583344,
0.2651122212409973,
0.008967965841293335,
-0.08216921240091324,
0.12945887446403503,
0.001142360270023346,
0.8400020003318787,
0.23083387315273285,
-0.20714953541755676,
0.14914073050022125,
-0.1231158971786499,
0.09322419762611389,
-0.24121850728988647,
0.1358150839805603,
-0.4974524974822998,
-0.09303981810808182,
0.16367438435554504,
0.07812188565731049,
0.12440094351768494,
0.1453780084848404,
-0.3765871226787567,
-0.05811474472284317,
-0.23572364449501038,
0.0042340196669101715,
-0.2306998372077942,
0.14511962234973907,
-0.23256412148475647,
-0.09583057463169098,
0.038068678230047226,
0.27658697962760925,
-0.14326681196689606,
0.0930931568145752,
-0.09521414339542389,
-0.07167991995811462,
0.0016263537108898163,
-0.19694344699382782,
-0.36840909719467163,
-0.031196806579828262,
-0.04358581826090813,
0.14696969091892242,
-0.0844583660364151,
-0.10859527438879013,
0.013074994087219238,
-0.016136374324560165,
0.0994126945734024,
0.3629884421825409,
-0.044759005308151245,
0.3357684910297394,
-0.025552362203598022,
0.13352231681346893,
-0.005019792355597019,
0.14546604454517365,
0.12452421337366104,
-0.011233668774366379,
-0.4668273329734802,
-0.1680205762386322,
-0.16490285098552704,
0.10019996762275696,
-0.1961577981710434,
0.05921398848295212,
0.18103145062923431,
-0.6398576498031616,
0.08125606179237366,
0.04172688350081444,
-0.1257762908935547,
-0.3501138687133789,
0.28766998648643494,
-0.1741643100976944,
-0.1629539579153061,
0.3031499683856964,
0.2683643698692322,
-0.16941577196121216,
-0.10182803869247437,
0.23227614164352417,
0.09800522774457932,
0.08924028277397156,
0.4020656645298004,
0.0920189768075943,
-0.09991943836212158,
-0.5079593658447266,
0.18263551592826843,
0.12316818535327911,
-0.2877446115016937,
0.19771412014961243,
-0.3309277296066284,
-0.20780625939369202,
0.310192346572876,
0.17620839178562164,
0.28452008962631226,
0.27662795782089233,
-0.13615766167640686,
-0.12519104778766632,
-0.40132784843444824,
0.15205250680446625,
-0.15447740256786346,
0.45998138189315796,
-0.2450391948223114,
0.27857038378715515,
0.02821611426770687,
0.2515895962715149,
-0.4609639048576355,
0.057652220129966736,
-0.3074997663497925,
0.1332577019929886,
-0.1793699413537979,
-0.24915504455566406,
0.013447623699903488,
-0.14037775993347168,
0.24173733592033386,
0.15481695532798767,
-0.01631561480462551,
-0.3224443793296814,
-0.03399801254272461,
0.04481029510498047,
-0.10868603736162186,
0.2525227963924408,
0.09543875604867935,
0.1728176474571228,
-0.16163796186447144,
-0.009964469820261002,
0.1542324721813202,
-0.14605812728405,
0.08695726096630096,
0.3161543905735016,
0.39224883913993835,
-0.19447940587997437,
0.22514091432094574,
-0.2272121012210846,
0.16514377295970917,
0.18602271378040314,
-0.0920543521642685,
0.2259816825389862,
0.06791043281555176,
-0.18624606728553772,
0.06631943583488464,
0.0657874196767807,
0.03884025290608406,
0.3479461371898651,
0.08739626407623291,
-0.21599595248699188,
-0.05198894813656807,
0.12179946899414062,
0.546499490737915,
0.38809603452682495,
-0.07172082364559174,
0.07110998034477234,
-0.001923130825161934,
0.48870861530303955,
-0.37089210748672485,
0.023317869752645493,
0.29805707931518555,
-0.0811300128698349,
0.07982496917247772,
0.22291412949562073,
0.04011440649628639,
-0.15156684815883636,
-0.19512365758419037,
0.3879345655441284,
0.11244385689496994,
-0.17087586224079132,
0.2623624801635742,
0.44155994057655334,
-0.3792891502380371,
-0.08823053538799286,
0.28687140345573425,
-0.1904100924730301,
0.1649942547082901,
0.35792702436447144,
-0.06651734560728073,
0.6248587965965271,
0.15399843454360962,
0.08078069984912872,
0.2277640402317047,
-0.17054614424705505,
0.037635527551174164,
0.0766674354672432,
-0.05200548470020294,
-0.03494294732809067,
0.17338696122169495,
0.43216192722320557,
-0.22545628249645233,
-0.34141603112220764,
-0.20924828946590424,
0.041701775044202805,
-0.3763127028942108,
0.07341726124286652,
-0.22121547162532806,
-0.12458763271570206,
-0.4217233657836914,
-0.07570110261440277,
0.06581146270036697,
0.16954736411571503,
0.3211272954940796,
0.02890148013830185,
0.0110100656747818,
-0.2558835744857788,
-0.008860591799020767,
-0.03028075397014618,
0.25955742597579956,
-0.43417349457740784,
0.08515150845050812,
0.1986047774553299,
-0.12371920049190521,
0.1390155702829361,
0.14032495021820068,
0.37017884850502014,
0.1060410812497139,
0.055648017674684525,
-0.04459977149963379,
-0.01911388337612152,
-0.16938835382461548,
-0.04705113172531128,
-0.02679729461669922,
0.04248933866620064,
-0.17800019681453705,
0.29419806599617004,
0.2724049687385559,
-0.31291812658309937,
0.06709537655115128,
0.10706716030836105,
-0.01812601462006569,
-0.15191058814525604,
0.2506612539291382,
0.11254460364580154,
-0.2851608991622925,
-0.274023175239563,
-0.262964129447937,
-0.3776017725467682,
-0.1682538092136383,
0.1289229691028595,
-0.17263181507587433,
0.1990586817264557,
-0.1385613977909088,
0.15298272669315338,
0.06969553232192993,
0.4074179232120514,
-0.07616983354091644,
-0.2646676301956177,
-0.059889234602451324,
-0.4534388780593872,
-0.36691075563430786,
0.03172210603952408,
-0.28979453444480896,
-0.10226825624704361,
-0.0904172733426094,
0.3443256914615631,
-0.21108847856521606,
-0.14612635970115662,
0.41187870502471924,
0.10634826868772507,
-0.08740676939487457,
0.15110623836517334,
-0.5452408790588379,
0.06336899846792221,
-0.15954552590847015,
0.0013690944761037827,
0.2029137760400772,
-0.09327152371406555,
0.16317369043827057,
0.08022608608007431,
0.15763667225837708,
0.177130788564682,
-0.2936698794364929,
0.3328760266304016,
0.012591611593961716,
0.010888032615184784,
0.08017801493406296,
0.26242727041244507,
-0.2769872546195984,
0.03725559264421463,
-0.4112873673439026,
-0.402830570936203,
-0.428562730550766,
0.1730678677558899,
0.20673663914203644,
0.49769362807273865,
0.02710033394396305,
-0.07302235066890717,
-0.14499430358409882,
-0.018511924892663956,
0.23567230999469757,
0.15235674381256104,
-0.18020431697368622,
0.1662944108247757,
0.1986558437347412,
0.0108828479424119,
0.1616375744342804,
0.3105372190475464,
-0.02709423005580902,
-0.09569677710533142,
-0.23575592041015625,
-0.5991412997245789,
0.507034420967102,
0.041514672338962555,
-0.3507622182369232,
-0.26203209161758423,
0.2694111466407776,
0.18114766478538513,
-0.09035912901163101,
-0.45566681027412415,
-0.19124755263328552,
0.21348130702972412,
-0.16322225332260132,
-0.07869881391525269,
0.16423286497592926,
0.2037789523601532,
-0.03446153551340103,
0.010920137166976929,
0.20253106951713562,
0.1966281533241272,
-0.21511484682559967,
0.1117202490568161,
-0.13140344619750977
] |
https://github.com/huggingface/datasets/pull/2223 | Set test cache config | > why a cache dir per test function does not work?
Probably because we end up with multiple `datasets_module` in the python path. This breaks the import of all the datasets/metrics modules.
If you want to use one modules cache per test, you may need remove the `datasets_module` that was added to the python path during the test.
Indeed if the module cache hasn't been initialized, then it's added to the python path by calling `init_dynamic_modules`:
https://github.com/huggingface/datasets/blob/ba76012a19193a35053b9e20243ff40c2b4204ab/src/datasets/load.py#L291-L291 | Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | 77 | text: Set test cache config
Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects.
> why a cache dir per test function does not work?
Probably because we end up with multiple `datasets_module` in the python path. This breaks the import of all the datasets/metrics modules.
If you want to use one modules cache per test, you may need remove the `datasets_module` that was added to the python path during the test.
Indeed if the module cache hasn't been initialized, then it's added to the python path by calling `init_dynamic_modules`:
https://github.com/huggingface/datasets/blob/ba76012a19193a35053b9e20243ff40c2b4204ab/src/datasets/load.py#L291-L291 | [
-0.2977633774280548,
-0.10324239730834961,
-0.08883868902921677,
-0.05649466812610626,
0.29548317193984985,
0.24021440744400024,
0.20294082164764404,
0.2844075858592987,
0.28756168484687805,
0.24329963326454163,
-0.07726623862981796,
0.060772549360990524,
0.03980318456888199,
0.03729981184005737,
0.2539433240890503,
-0.051683180034160614,
-0.08218177407979965,
0.0898042619228363,
-0.10519066452980042,
0.28404414653778076,
-0.21479955315589905,
0.10297462344169617,
-0.15365922451019287,
-0.08488398790359497,
-0.2720198333263397,
-0.06737686693668365,
-0.060060061514377594,
0.24444279074668884,
-0.045419007539749146,
-0.5218508839607239,
0.34696221351623535,
0.23441602289676666,
0.037377167493104935,
0.3836438059806824,
-0.00010132036550203338,
0.05737832188606262,
0.31692755222320557,
-0.21929921209812164,
-0.28897154331207275,
-0.0935942679643631,
-0.06342679262161255,
0.01049918495118618,
-0.023688359186053276,
-0.21493075788021088,
-0.04209794104099274,
-0.00009498465806245804,
0.13761994242668152,
-0.5653347969055176,
0.03535674512386322,
0.3978329002857208,
0.3081671893596649,
0.2682946026325226,
-0.25078970193862915,
-0.10891471803188324,
-0.0015101656317710876,
-0.18507613241672516,
-0.12576286494731903,
0.14418147504329681,
-0.050977930426597595,
-0.000051326118409633636,
-0.05453706532716751,
0.2823311984539032,
0.015515299513936043,
0.36060985922813416,
0.29302701354026794,
0.10099632292985916,
0.05273153632879257,
-0.10968109965324402,
0.12936094403266907,
-0.15605223178863525,
0.6273459792137146,
-0.578070342540741,
-0.19505231082439423,
-0.04360586777329445,
-0.2375825196504593,
-0.4600781202316284,
0.25057458877563477,
0.17201176285743713,
-0.07037914544343948,
0.20446361601352692,
-0.31300899386405945,
-0.15480144321918488,
0.024595290422439575,
-0.04252438247203827,
0.03533893823623657,
-0.0885358601808548,
-0.18131600320339203,
-0.016785845160484314,
0.1657765656709671,
0.1424415111541748,
0.16369442641735077,
-0.13498210906982422,
-0.1772962510585785,
0.040829263627529144,
-0.08980299532413483,
0.07532046735286713,
0.1988341212272644,
0.2258121371269226,
0.20745614171028137,
0.30505943298339844,
-0.13186649978160858,
0.1416732370853424,
0.05230676755309105,
0.057460442185401917,
-0.17938195168972015,
0.611966609954834,
0.26662760972976685,
0.29657161235809326,
0.23557555675506592,
0.1870795488357544,
-0.22409775853157043,
-0.18986481428146362,
0.3738306164741516,
-0.30546796321868896,
0.2478940635919571,
0.017707323655486107,
0.06024450808763504,
-0.14073510468006134,
0.05154053866863251,
-0.13760906457901,
0.06814821064472198,
-0.1919296830892563,
0.1433837115764618,
0.5820143818855286,
0.026672158390283585,
0.05510827898979187,
-0.04878684878349304,
0.1947823017835617,
-0.21949374675750732,
0.267880916595459,
-0.37405139207839966,
0.22357355058193207,
-0.24161158502101898,
0.361005574464798,
0.26525479555130005,
-0.0011418741196393967,
0.5743470788002014,
-0.10920434445142746,
0.2223455309867859,
-0.29879868030548096,
0.29143330454826355,
0.09727729856967926,
0.2449224889278412,
0.3943575918674469,
0.07934148609638214,
0.1792137771844864,
0.19641555845737457,
-0.011691723018884659,
-0.29998692870140076,
0.0702904462814331,
-0.22686022520065308,
-0.5105975270271301,
0.42979559302330017,
0.2455756515264511,
-0.3003416657447815,
0.08915278315544128,
-0.0842413380742073,
-0.10590192675590515,
0.0604713074862957,
-0.20934270322322845,
0.21218448877334595,
-0.04390841722488403,
-0.19371454417705536,
-0.24123746156692505,
0.2987722158432007,
0.5746517181396484,
0.010179754346609116,
-0.019607510417699814,
0.33735910058021545,
-0.06245286390185356,
0.08898959308862686,
0.007671676576137543,
-0.17298458516597748,
0.21347078680992126,
-0.3062251806259155,
0.052912637591362,
0.3856182098388672,
-0.5882638692855835,
-0.3802190124988556,
-0.2289019078016281,
0.031028538942337036,
-0.08711431920528412,
0.1246090978384018,
-0.06277572363615036,
-0.21353133022785187,
-0.0015399194089695811,
-0.028677210211753845,
0.2185136079788208,
-0.12977983057498932,
0.2168203443288803,
-0.31878939270973206,
-0.000515492632985115,
0.05713554471731186,
-0.1275806725025177,
0.07405175268650055,
0.16476424038410187,
-0.08271313458681107,
0.1446148306131363,
0.12128996104001999,
-0.13226653635501862,
0.04030662775039673,
0.33312028646469116,
0.0882066935300827,
-0.028892703354358673,
0.08494432270526886,
-0.07277070730924606,
-0.341180682182312,
0.3249203860759735,
-0.012241668999195099,
-0.07143528759479523,
0.02705332636833191,
-0.08593625575304031,
-0.2790215015411377,
-0.19699698686599731,
-0.3967105448246002,
-0.5046135187149048,
0.16456249356269836,
0.25953009724617004,
0.46258243918418884,
-0.05751274526119232,
-0.31043875217437744,
0.5435542464256287,
-0.056095946580171585,
-0.03557926043868065,
-0.26119813323020935,
-0.06519613415002823,
-0.13632571697235107,
-0.07874707877635956,
-0.2679882049560547,
-0.018741123378276825,
0.09038913995027542,
-0.3050914406776428,
-0.1917726695537567,
0.5233249664306641,
0.2750452160835266,
0.0881747454404831,
0.3014167249202728,
0.11595743894577026,
-0.06652941554784775,
-0.05561219900846481,
0.09046856313943863,
-0.09205316007137299,
0.03952869400382042,
0.08910133689641953,
-0.324067085981369,
0.2688789367675781,
-0.12951874732971191,
-0.03051302582025528,
-0.019426967948675156,
-0.13503511250019073,
0.2549044191837311,
-0.041885994374752045,
-0.03941309452056885,
-0.17734958231449127,
0.1741655468940735,
-0.044407691806554794,
0.3331162929534912,
0.004509005695581436,
-0.10880123823881149,
0.03513028472661972,
0.17623962461948395,
0.049309272319078445,
0.05520326644182205,
-0.03941041976213455,
0.010739028453826904,
-0.29860642552375793,
-0.01570587418973446,
0.19255541265010834,
0.7126935124397278,
0.2523665726184845,
0.31738394498825073,
0.12123557180166245,
0.035040441900491714,
-0.16697098314762115,
0.16567888855934143,
-0.17484940588474274,
-0.20743004977703094,
-0.07244639843702316,
0.1489853858947754,
-0.30712753534317017,
-0.22619768977165222,
0.14516165852546692,
-0.028009627014398575,
0.19795574247837067,
-0.29008913040161133,
0.145853191614151,
-0.215057834982872,
-0.05764477327466011,
-0.14075157046318054,
-0.15079118311405182,
0.04063332453370094,
-0.2601432204246521,
0.11049523949623108,
-0.07790924608707428,
0.06517897546291351,
0.29216814041137695,
-0.051394592970609665,
0.33260613679885864,
-0.006379351019859314,
-0.34190812706947327,
-0.35051360726356506,
-0.04348687455058098,
-0.10499463230371475,
0.037015173584222794,
-0.0019949227571487427,
0.061719249933958054,
0.29029741883277893,
-0.3372012972831726,
-0.11992520093917847,
-0.42767849564552307,
-0.015243709087371826,
0.10971580445766449,
0.07235028594732285,
0.42338111996650696,
0.1883522868156433,
0.0987694039940834,
0.08460193872451782,
0.05282191187143326,
0.3020898699760437,
-0.3528665602207184,
-0.10955790430307388,
-0.04545123875141144,
0.147903710603714,
0.2386302798986435,
-0.24115540087223053,
-0.4429144561290741,
-0.023393774405121803,
-0.3726300597190857,
-0.01848261058330536,
0.05826926603913307,
0.07254905253648758,
0.22625648975372314,
0.020463451743125916,
-0.01653105579316616,
-0.2544459104537964,
0.04064922779798508,
-0.32705867290496826,
-0.5356382131576538,
0.19039133191108704,
-0.41539809107780457,
-0.19598276913166046,
0.06994929909706116,
0.171443372964859,
0.24714960157871246,
0.005639323964715004,
-0.33571720123291016,
-0.733642578125,
-0.11988578736782074,
0.28387531638145447,
0.08681890368461609,
0.33190175890922546,
0.21231289207935333,
-0.13412585854530334,
-0.1744268834590912,
-0.17387104034423828,
-0.38053444027900696,
0.11219196766614914,
0.05658064782619476,
0.25946900248527527,
0.0201268270611763,
0.051131971180438995,
0.00709037110209465,
0.6288365721702576,
0.4445576071739197,
0.17561350762844086,
0.18679270148277283,
-0.1498223841190338,
0.601186990737915,
-0.29394757747650146,
-0.16373470425605774,
0.010466987267136574,
0.10941988229751587,
-0.22146649658679962,
0.16390061378479004,
0.21963518857955933,
-0.04400956630706787,
-0.16215476393699646,
-0.02392256073653698,
-0.03836193308234215,
-0.27653321623802185,
0.1036904975771904,
-0.3014238774776459,
0.14272311329841614,
0.08381049335002899,
-0.03137783706188202,
-0.4113718867301941,
0.0373355932533741,
0.11747637391090393,
0.2792845070362091,
-0.07399389892816544,
0.26045113801956177,
-0.257487952709198,
0.06710543483495712,
-0.37892088294029236,
0.34473592042922974,
-0.020697910338640213,
0.26897498965263367,
-0.10819081962108612,
-0.07073042541742325,
0.0479593500494957,
0.055478014051914215,
0.503714919090271,
-0.4126242697238922,
0.026090901345014572,
0.09047037363052368,
-0.09153691679239273,
-0.10036325454711914,
-0.005346111953258514,
0.15689696371555328,
0.24250993132591248,
0.04259077459573746,
0.12224677950143814,
-0.11787956207990646,
-0.3651486337184906,
0.05579657852649689,
0.26559701561927795,
-0.12495173513889313,
-0.14889462292194366,
-0.4074748754501343,
-0.42393869161605835,
-0.15189725160598755,
0.11939777433872223,
0.03389360010623932,
-0.08947806805372238,
0.20721948146820068,
0.09198343753814697,
0.06957878172397614,
-0.06259862333536148,
-0.05333776772022247,
0.08934715390205383,
0.4069364368915558,
0.011455430649220943,
-0.07027524709701538,
0.39665040373802185,
-0.2551262676715851,
-0.13845105469226837,
0.3876170814037323,
-0.43264392018318176,
0.016656219959259033,
0.026984278112649918,
0.10467282682657242,
0.1495942771434784,
0.3414623737335205,
-0.14569096267223358,
-0.047682784497737885,
-0.2565877139568329,
0.07521986961364746,
-0.12107070535421371,
0.2880946099758148,
0.07140754908323288,
0.1588088423013687,
0.0762522891163826,
-0.5446787476539612,
0.32171303033828735,
0.16865530610084534,
-0.07299000769853592,
0.5177862644195557,
-0.06030671298503876,
-0.24189426004886627,
0.09579134732484818,
-0.08859743922948837,
0.6426133513450623,
-0.15308721363544464,
0.07824072241783142,
0.05804555118083954,
-0.06245647743344307,
0.19672375917434692,
-0.42685467004776,
0.2851727604866028,
-0.0906284749507904,
-0.09693089872598648,
0.024806225672364235,
-0.2998957335948944,
0.0016397014260292053,
-0.3935370445251465,
-0.3962191939353943,
0.40409907698631287,
-0.1157042384147644,
0.029456455260515213,
0.01391916535794735,
0.10353900492191315,
-0.27929583191871643,
-0.09678570926189423,
-0.21025148034095764,
0.2791096866130829,
-0.026736639440059662,
0.3077658414840698,
-0.0943763330578804,
0.15325036644935608,
0.021896328777074814,
-0.14066791534423828,
-0.10256430506706238,
-0.1541195809841156,
-0.28120186924934387,
0.07028354704380035,
0.04992690309882164,
-0.05584514141082764,
-0.3399794101715088,
0.33968427777290344,
0.3141975998878479,
0.052975766360759735,
-0.18952585756778717,
0.13837751746177673,
-0.0674300417304039,
0.08178982883691788,
-0.13007785379886627,
-0.13689973950386047,
0.2828978896141052,
-0.1456998884677887,
-0.16666777431964874,
0.06411676108837128,
-0.23447801172733307,
-0.30497390031814575,
0.08430163562297821,
0.13393986225128174,
0.052271485328674316,
-0.19523905217647552,
-0.07924018800258636,
0.08612348884344101,
0.06340628862380981,
-0.2004639357328415,
0.2187136560678482,
0.21713197231292725,
-0.24708150327205658,
0.3090808093547821,
-0.19593550264835358,
-0.3823566138744354,
-0.09515266120433807,
-0.03215955197811127,
-0.20161205530166626,
-0.1256771981716156,
0.12286628037691116,
-0.0680694580078125,
-0.09770507365465164,
-0.17319652438163757,
-0.07826124131679535,
0.0902240052819252,
-0.07530377805233002,
0.40722912549972534,
-0.07584808021783829,
-0.0436445027589798,
0.05687490850687027,
0.18807582557201385,
0.11284380406141281,
-0.06787803024053574,
-0.19128818809986115,
-0.15065602958202362,
-0.311375230550766,
0.058395251631736755,
-0.06274190545082092,
0.489692747592926,
0.03578389436006546,
0.05932597815990448,
0.14918221533298492,
0.17877234518527985,
-0.42602893710136414,
0.024412788450717926,
-0.2522464990615845,
0.09640877693891525,
0.049209948629140854,
-0.009448390454053879,
0.2467317283153534,
-0.017235390841960907,
0.10795111954212189,
-0.0351974219083786,
-0.47749555110931396,
-0.3210512697696686,
-0.06690943241119385,
0.09866384416818619,
-0.1513645350933075,
0.12858936190605164,
-0.01186884194612503,
-0.008046578615903854,
0.066068634390831,
-0.27710896730422974,
0.1836382895708084,
0.2632550597190857,
-0.19567979872226715,
0.10231773555278778,
0.01341012492775917,
-0.21106526255607605,
-0.017878929153084755,
-0.07926490902900696,
-0.03556358814239502,
-0.013504326343536377,
-0.12294654548168182,
0.12914949655532837,
-0.31776925921440125,
-0.050326064229011536,
0.12326675653457642,
0.14577412605285645,
0.14325416088104248,
0.029044989496469498,
-0.11231114715337753,
-0.09521739184856415,
0.020398113876581192,
0.05431896448135376,
0.29902854561805725,
0.21077747642993927,
-0.19905629754066467,
0.1424160897731781,
-0.011842938140034676,
0.2458910048007965,
-0.08353178203105927,
-0.062087371945381165,
0.0804516077041626,
0.06764140725135803,
0.2821846604347229,
0.4670538008213043,
0.4051888883113861,
-0.022309090942144394,
0.33923399448394775,
0.17639532685279846,
0.5889042019844055,
-0.4226548671722412,
0.006891033612191677,
-0.09534819424152374,
-0.15423493087291718,
0.044669486582279205,
0.5573591589927673,
0.17219184339046478,
0.11685235798358917,
0.30786240100860596,
0.07415391504764557,
0.5696961283683777,
-0.05063049495220184,
-0.08848743140697479,
-0.40705132484436035,
-0.24002668261528015,
0.24944636225700378,
-0.062187984585762024,
-0.07139182090759277,
-0.024040527641773224,
-0.025914311408996582,
0.4315754473209381,
-0.5599637031555176,
-0.012586748227477074,
-0.06504559516906738,
0.08393175154924393,
0.021304454654455185,
-0.2506639063358307,
0.24467438459396362,
-0.14278951287269592,
0.13091182708740234,
0.02697274461388588,
0.19041237235069275,
-0.028210625052452087,
0.370362788438797,
-0.15063640475273132,
-0.012174293398857117,
-0.03236362338066101,
0.16451668739318848,
0.13853013515472412,
0.1309514343738556,
-0.18465681374073029,
0.22059883177280426,
-0.11396801471710205,
-0.1699320375919342,
0.00886441394686699,
0.2996285557746887,
0.43474358320236206,
0.10053153336048126,
-0.007331565022468567,
-0.0375489667057991,
0.016452884301543236,
-0.035605426877737045,
-0.1833135336637497,
0.19498412311077118,
-0.017016880214214325,
-0.34897908568382263,
0.07057447731494904,
0.32191771268844604,
-0.23651759326457977,
0.1166810542345047,
-0.07550127804279327,
0.07630491256713867,
-0.258327454328537,
0.22634002566337585,
0.16460290551185608,
0.08061609417200089,
-0.10616539418697357,
0.2305220365524292,
-0.43137553334236145,
0.160446897149086,
0.2901354730129242,
-0.16530822217464447,
0.07639758288860321,
-0.04164247587323189,
0.14463022351264954,
0.2595241069793701,
0.40362247824668884,
0.23581533133983612,
0.20083096623420715,
-0.39731907844543457,
-0.052075378596782684,
-0.5620616674423218,
0.17344650626182556,
0.021788956597447395,
0.03329770267009735,
-0.047175779938697815,
0.14865554869174957,
0.007610946893692017,
0.029956365004181862,
0.20716175436973572,
0.01075802557170391,
0.11458200961351395,
0.01610758528113365,
-0.39564210176467896,
-0.0849352777004242,
-0.13559533655643463,
0.0820285901427269,
0.21702717244625092,
-0.38901153206825256,
-0.03993730619549751,
-0.1772204488515854,
0.16574624180793762,
0.08649023622274399,
0.11454515159130096,
0.39575791358947754,
0.10832150280475616,
0.3607921600341797,
0.04682207107543945,
0.2569498121738434,
0.0752364918589592,
0.15545491874217987,
-0.40382474660873413,
-0.06387383490800858,
-0.09089234471321106,
-0.5465101599693298,
-0.14830560982227325,
0.14218944311141968,
-0.42533954977989197,
-0.27046188712120056,
-0.5315017104148865,
0.18170200288295746,
0.35403281450271606,
0.04015325382351875,
0.17570602893829346,
0.12675067782402039,
-0.07872185856103897,
0.1547587513923645,
0.34864890575408936,
0.406972199678421,
-0.15329834818840027,
0.2522226870059967,
-0.36623990535736084,
-0.11801247298717499,
0.5769357681274414,
0.0015013283118605614,
-0.45475441217422485,
0.007229361683130264,
0.3266676962375641,
0.1618753969669342,
-0.29656827449798584,
-0.6531429886817932,
0.16111630201339722,
0.15041498839855194,
0.038345299661159515,
-0.5245652794837952,
0.35005754232406616,
-0.1935635358095169,
0.0957721471786499,
-0.023859858512878418,
0.3343370854854584,
0.08709801733493805,
-0.04048321396112442,
-0.20822520554065704,
-0.18827641010284424
] |
https://github.com/huggingface/datasets/pull/2223 | Set test cache config | @lhoestq, for the moment, this PR avoids populating the `~/.cache` dir during training, which is already an improvement, isn't it? | Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | 20 | text: Set test cache config
Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects.
@lhoestq, for the moment, this PR avoids populating the `~/.cache` dir during training, which is already an improvement, isn't it? | [
-0.14452968537807465,
-0.21892791986465454,
-0.1820746213197708,
-0.29043298959732056,
0.13898037374019623,
0.26627832651138306,
-0.07376475632190704,
0.3932700455188751,
0.016149796545505524,
0.10548543930053711,
0.3478511571884155,
0.017303746193647385,
0.009242312982678413,
-0.22314509749412537,
0.30004242062568665,
-0.15266840159893036,
0.07868722826242447,
0.06284745037555695,
0.21412569284439087,
0.21460272371768951,
-0.3587544858455658,
0.024349810555577278,
-0.22001363337039948,
0.07006893306970596,
-0.24726992845535278,
-0.19040557742118835,
0.05157162994146347,
0.3551972508430481,
0.10237009823322296,
-0.5179246664047241,
0.15310470759868622,
0.15516935288906097,
-0.03093891590833664,
0.060706622898578644,
-0.00010248682519886643,
0.043974876403808594,
0.2983892560005188,
-0.13053525984287262,
-0.22102083265781403,
0.24320247769355774,
-0.14417219161987305,
0.04623701423406601,
-0.15026737749576569,
-0.11138838529586792,
-0.09916564077138901,
0.17707552015781403,
0.37537992000579834,
-0.35001811385154724,
-0.05556748807430267,
0.33844640851020813,
0.28998976945877075,
-0.04410038888454437,
-0.32125920057296753,
-0.09266172349452972,
0.15997880697250366,
-0.19171659648418427,
-0.24341809749603271,
0.09165185689926147,
0.005761846899986267,
0.09920508414506912,
0.054555945098400116,
0.12635093927383423,
0.016316013410687447,
0.22365595400333405,
0.3293783366680145,
0.09747102856636047,
0.23935335874557495,
-0.12573179602622986,
0.22365429997444153,
-0.16553273797035217,
0.4180382192134857,
-0.34638306498527527,
0.15104831755161285,
0.11967789381742477,
-0.08584024012088776,
-0.3259585201740265,
0.3093775510787964,
0.1426379680633545,
-0.17756639420986176,
0.2649988532066345,
-0.2663339376449585,
-0.27924370765686035,
-0.12360189855098724,
-0.2364587038755417,
0.025692790746688843,
0.06221061944961548,
-0.0303354412317276,
-0.09384150058031082,
0.19634994864463806,
0.2246728241443634,
0.262979656457901,
-0.0791931003332138,
-0.2425256371498108,
0.048220183700323105,
0.08655669540166855,
-0.06384433805942535,
-0.08002399653196335,
0.19801291823387146,
-0.00634712353348732,
0.2636207342147827,
-0.0630902573466301,
0.3196857273578644,
0.12439508736133575,
0.031665317714214325,
-0.44281521439552307,
0.47610291838645935,
0.20474034547805786,
0.5481503009796143,
0.04183242470026016,
0.11868894100189209,
-0.16405171155929565,
-0.05530227720737457,
0.15615710616111755,
-0.4038548767566681,
0.10212789475917816,
0.09031174331903458,
-0.1280999332666397,
0.013035494834184647,
-0.04160696268081665,
0.2264479696750641,
-0.22520345449447632,
-0.12889376282691956,
-0.14936178922653198,
0.4201893210411072,
-0.0024793483316898346,
0.00677841529250145,
0.13815924525260925,
-0.02682800590991974,
-0.1090613380074501,
0.16652771830558777,
-0.27940434217453003,
0.08556047081947327,
-0.2945877015590668,
0.037314705550670624,
-0.1639619618654251,
0.17557407915592194,
0.48225677013397217,
-0.17997363209724426,
0.12114192545413971,
0.0041647255420684814,
0.23993930220603943,
0.2591531574726105,
0.417803019285202,
0.37046530842781067,
-0.08332699537277222,
-0.04110155999660492,
0.15018819272518158,
0.06695353239774704,
-0.2087995409965515,
0.3663555085659027,
-0.11270911246538162,
-0.49074751138687134,
0.302135705947876,
0.2992689311504364,
-0.1763748973608017,
0.07284235954284668,
0.25308823585510254,
-0.16666553914546967,
0.20472785830497742,
-0.0941765159368515,
0.49087244272232056,
-0.013182330876588821,
-0.11447843909263611,
-0.2097146064043045,
0.12929867208003998,
0.3068140149116516,
-0.1696433275938034,
-0.03133445233106613,
0.47033554315567017,
-0.07921069860458374,
0.14008940756320953,
0.05772675573825836,
-0.1801893264055252,
0.24485203623771667,
-0.1650715321302414,
-0.11137186735868454,
0.28904202580451965,
-0.25038209557533264,
-0.3198273777961731,
-0.2288168966770172,
-0.1627684235572815,
0.07645576447248459,
0.14798575639724731,
-0.04872477799654007,
-0.3014250695705414,
0.12971343100070953,
0.03261739760637283,
0.16685625910758972,
-0.27473801374435425,
0.015535874292254448,
-0.48139312863349915,
0.056510135531425476,
-0.029795974493026733,
-0.09028230607509613,
0.20316071808338165,
0.11534854024648666,
-0.21684402227401733,
0.3757520616054535,
0.22142794728279114,
0.027536209672689438,
0.026494577527046204,
0.0199274942278862,
-0.01765415444970131,
0.03584013506770134,
-0.052949920296669006,
0.24633735418319702,
-0.05606324225664139,
0.0831667110323906,
0.02152247726917267,
-0.12922808527946472,
0.1915745735168457,
-0.11018171906471252,
-0.21338728070259094,
-0.20926180481910706,
-0.2956978678703308,
-0.6091854572296143,
0.1625131219625473,
0.4061500132083893,
0.28351545333862305,
-0.15575554966926575,
-0.26632845401763916,
0.30103999376296997,
-0.2882715165615082,
-0.02623184770345688,
-0.18315806984901428,
-0.2563577890396118,
-0.2919329106807709,
0.16622009873390198,
-0.6326971650123596,
-0.07654041796922684,
-0.16982874274253845,
-0.3320885896682739,
-0.067572683095932,
0.5156784653663635,
0.08529869467020035,
0.052707649767398834,
0.41736823320388794,
0.2225417196750641,
0.030982883647084236,
-0.13744144141674042,
0.10614454746246338,
0.004421565681695938,
-0.13002288341522217,
0.05508009344339371,
-0.28603193163871765,
0.18497830629348755,
-0.0017197877168655396,
-0.11891957372426987,
-0.23337501287460327,
-0.21525917947292328,
-0.03353794664144516,
-0.08368666470050812,
-0.05705083906650543,
0.16063517332077026,
0.002490431070327759,
0.223300039768219,
0.1400088220834732,
-0.05268502235412598,
-0.2399328052997589,
-0.07784859091043472,
-0.04362495616078377,
-0.23928117752075195,
-0.06192607432603836,
0.042583759874105453,
0.16588059067726135,
-0.3256852924823761,
-0.1690526157617569,
0.15225008130073547,
0.5344600677490234,
0.21698211133480072,
0.3110896050930023,
0.18331074714660645,
-0.02005213126540184,
-0.2405814379453659,
0.24899151921272278,
-0.09737695753574371,
-0.2065075933933258,
-0.05457179993391037,
-0.07693954557180405,
-0.09130880981683731,
-0.04791694134473801,
0.20187489688396454,
0.1175907775759697,
0.17821218073368073,
-0.21391655504703522,
0.09906093776226044,
0.07643280178308487,
-0.06510120630264282,
-0.10590987652540207,
0.10778657346963882,
0.2751125693321228,
-0.19949519634246826,
0.27324068546295166,
-0.16801418364048004,
-0.22672583162784576,
0.3262493908405304,
-0.15638311207294464,
0.6664812564849854,
0.020782696083188057,
-0.22689209878444672,
-0.13590428233146667,
0.024225765839219093,
-0.24365240335464478,
0.21520653367042542,
-0.07424455136060715,
-0.2283206284046173,
0.23934489488601685,
-0.44688835740089417,
-0.23217761516571045,
-0.36797571182250977,
0.0066877976059913635,
0.0955299437046051,
0.09301108121871948,
0.19573405385017395,
0.29640474915504456,
0.14797180891036987,
-0.0928179919719696,
-0.16889744997024536,
0.0155442263931036,
-0.23009055852890015,
-0.14665137231349945,
-0.3965718448162079,
0.1281891167163849,
0.16790863871574402,
-0.22890442609786987,
-0.5093123316764832,
0.08814843744039536,
-0.3019883334636688,
0.005225110799074173,
0.009939685463905334,
0.09923027455806732,
0.2729620039463043,
-0.047011345624923706,
-0.015669135376811028,
-0.23534081876277924,
-0.2437693178653717,
-0.24622631072998047,
-0.5095340609550476,
-0.05454205349087715,
-0.22917790710926056,
0.12095394730567932,
-0.03731858730316162,
0.0010358113795518875,
0.00032701343297958374,
-0.04205165058374405,
-0.35977083444595337,
-0.3530968725681305,
-0.032478414475917816,
0.4157615005970001,
-0.12515969574451447,
-0.000501677393913269,
0.22651779651641846,
-0.017423192039132118,
-0.33660396933555603,
-0.021736448630690575,
-0.1699504554271698,
0.06254030764102936,
-0.00523536279797554,
0.3964824676513672,
0.06078317388892174,
-0.14529317617416382,
0.00608295202255249,
0.822411835193634,
0.04730695113539696,
0.08470805734395981,
-0.1477467566728592,
-0.1395263820886612,
0.37033045291900635,
-0.14878711104393005,
0.17314554750919342,
0.16444015502929688,
0.20765471458435059,
-0.46856600046157837,
0.22757509350776672,
0.14926773309707642,
-0.08469592779874802,
0.1615307629108429,
0.01851797103881836,
0.15405073761940002,
-0.14011456072330475,
0.36613497138023376,
-0.6529607176780701,
0.18978625535964966,
-0.07837353646755219,
-0.05827149376273155,
-0.15909844636917114,
0.1445314884185791,
0.05410702899098396,
0.20067524909973145,
0.029747791588306427,
0.2716013491153717,
-0.26578789949417114,
0.06307483464479446,
-0.18955731391906738,
0.3099897503852844,
0.03451686352491379,
0.1900874823331833,
-0.2646879255771637,
-0.28965330123901367,
0.07967200875282288,
0.20155376195907593,
0.5857847332954407,
-0.4654008150100708,
0.002404581755399704,
0.0774894505739212,
0.08910071849822998,
0.22639791667461395,
-0.18661487102508545,
-0.018780050799250603,
0.20821808278560638,
0.11253708600997925,
0.07395658642053604,
0.19401344656944275,
-0.10584679245948792,
0.1561436504125595,
-0.11759308725595474,
-0.13653311133384705,
0.12297423928976059,
-0.3088020384311676,
-0.3228546380996704,
-0.03528028726577759,
0.5288058519363403,
0.24188067018985748,
-0.28841066360473633,
0.09574182331562042,
0.23649214208126068,
0.2550930380821228,
0.3116151690483093,
-0.14336535334587097,
0.07366843521595001,
0.2563031017780304,
0.1645040512084961,
-0.30572524666786194,
0.30034521222114563,
-0.16044233739376068,
-0.022350681945681572,
0.10740047693252563,
-0.369958758354187,
0.373809278011322,
0.004084818065166473,
0.041317254304885864,
0.24619534611701965,
0.4501194953918457,
0.08282723277807236,
-0.055868200957775116,
-0.3064272701740265,
0.15911048650741577,
-0.02973836660385132,
0.19722476601600647,
0.08503478020429611,
-0.050634000450372696,
0.15585531294345856,
-0.5142701268196106,
0.18244436383247375,
0.0808621197938919,
-0.21461647748947144,
0.16615933179855347,
-0.1885330229997635,
-0.3095685541629791,
0.16277270019054413,
0.3128279745578766,
0.8885995149612427,
-0.004033423960208893,
0.3568599224090576,
0.02149750292301178,
-0.2628948986530304,
0.07818686217069626,
-0.5671368837356567,
0.38120949268341064,
-0.0917225256562233,
-0.1585458219051361,
-0.08317498862743378,
-0.19446131587028503,
0.09027448296546936,
-0.27388131618499756,
-0.5445098280906677,
0.20559951663017273,
-0.2215835452079773,
-0.0404524989426136,
0.3009001612663269,
-0.14540831744670868,
-0.14178670942783356,
0.18083152174949646,
0.11388296633958817,
0.2387320101261139,
0.07932975888252258,
0.2705215811729431,
-0.2891916334629059,
0.05853985249996185,
0.15613293647766113,
-0.10639887303113937,
-0.08927544206380844,
-0.12648464739322662,
-0.2737135589122772,
-0.04535588622093201,
0.1451844424009323,
0.07547588646411896,
-0.4239012598991394,
0.2887795567512512,
0.23765382170677185,
0.11768858134746552,
0.045195236802101135,
0.34463217854499817,
0.40293219685554504,
0.1475515365600586,
0.09252871572971344,
-0.12874358892440796,
0.28432732820510864,
-0.10943405330181122,
-0.2316303253173828,
0.00406985729932785,
-0.5299452543258667,
-0.3872276544570923,
-0.17948362231254578,
0.1568741798400879,
0.4086105227470398,
-0.0814647302031517,
-0.15171192586421967,
0.04793667420744896,
-0.34537479281425476,
-0.1028394028544426,
0.24189868569374084,
-0.08226558566093445,
-0.2714438736438751,
0.1138017326593399,
0.015115592628717422,
-0.5842871069908142,
0.02607240527868271,
-0.19506040215492249,
-0.22863483428955078,
-0.10545726120471954,
0.36700239777565,
-0.3677186667919159,
-0.073131263256073,
-0.26125600934028625,
0.1205361858010292,
0.19797644019126892,
0.12705686688423157,
0.17384277284145355,
-0.15568481385707855,
-0.28421837091445923,
0.09340497106313705,
0.19899044930934906,
0.4008966088294983,
0.16838358342647552,
-0.3275390863418579,
0.05056600272655487,
-0.18803824484348297,
-0.09424307942390442,
-0.02620365098118782,
0.5021771192550659,
0.013159699738025665,
0.030228085815906525,
0.30709707736968994,
0.11719579994678497,
-0.43888989090919495,
-0.021406102925539017,
-0.41503679752349854,
0.2844354510307312,
-0.211822509765625,
0.15576809644699097,
0.09087835997343063,
-0.03565915673971176,
0.10472865402698517,
0.06362494081258774,
-0.2987692654132843,
-0.33003902435302734,
0.03383898362517357,
0.10198314487934113,
-0.2661236524581909,
-0.03910630941390991,
0.09954589605331421,
0.26630115509033203,
0.11694680154323578,
0.08629757165908813,
-0.02799619734287262,
0.07650510221719742,
0.034410860389471054,
0.23830647766590118,
0.026513472199440002,
0.055266112089157104,
0.07682722806930542,
-0.17381976544857025,
-0.02324748784303665,
0.12025781720876694,
-0.23058588802814484,
0.051537398248910904,
-0.38759052753448486,
-0.20140781998634338,
0.22678403556346893,
0.2932044267654419,
0.20252203941345215,
0.14685264229774475,
-0.06961499899625778,
0.010254837572574615,
-0.1163477748632431,
-0.028738288208842278,
0.044449709355831146,
0.14897523820400238,
-0.3280429542064667,
-0.1592143028974533,
-0.02525661513209343,
0.3276699483394623,
0.0008162446320056915,
-0.0905611589550972,
-0.12427088618278503,
-0.06603021919727325,
0.029234331101179123,
0.34129196405410767,
0.3618733882904053,
-0.08547122031450272,
0.2936039865016937,
0.1674860119819641,
0.4150453209877014,
-0.47763556241989136,
0.10892876982688904,
0.15532006323337555,
-0.29528990387916565,
0.01443951204419136,
0.30531570315361023,
-0.22848454117774963,
0.13431189954280853,
0.1790062040090561,
0.44356486201286316,
0.5846556425094604,
0.23003420233726501,
0.027993429452180862,
-0.3635566830635071,
-0.10829636454582214,
0.29477396607398987,
0.21869929134845734,
-0.13282936811447144,
0.1072772741317749,
0.2967762351036072,
0.26654908061027527,
-0.2438461035490036,
-0.21766330301761627,
0.025231333449482918,
-0.14427393674850464,
-0.10286525636911392,
-0.2359272986650467,
0.19468654692173004,
-0.15212956070899963,
-0.11633293330669403,
0.09123355150222778,
0.1526382565498352,
0.1722933053970337,
0.5440404415130615,
-0.1247047632932663,
-0.03778350353240967,
0.302800714969635,
0.3044772744178772,
-0.025186240673065186,
0.09312634915113449,
-0.42328760027885437,
0.2176085263490677,
-0.22765307128429413,
-0.27236106991767883,
0.2876162827014923,
0.33746978640556335,
0.2695523202419281,
0.2090723067522049,
-0.03277293220162392,
-0.03451549634337425,
-0.12135319411754608,
0.10351011157035828,
-0.1410258263349533,
0.06794022023677826,
0.2202911376953125,
-0.49345165491104126,
-0.010096058249473572,
0.31290900707244873,
-0.18455660343170166,
0.48257946968078613,
0.015750233083963394,
0.04094961658120155,
-0.08742645382881165,
0.05182759463787079,
0.3844270706176758,
-0.04170791804790497,
0.005550045520067215,
0.37664058804512024,
-0.39531105756759644,
0.23927076160907745,
0.03336678445339203,
-0.15143820643424988,
0.14121729135513306,
0.09449651092290878,
0.12873126566410065,
0.34795090556144714,
0.6305053234100342,
0.1755136251449585,
-0.20772820711135864,
-0.47611990571022034,
-0.1765737384557724,
-0.1720689833164215,
0.23430535197257996,
0.03490600734949112,
-0.03817649185657501,
0.039523761719465256,
0.04115714877843857,
0.0435682013630867,
-0.08611275255680084,
0.10061552375555038,
-0.30296263098716736,
-0.164454385638237,
0.053029488772153854,
-0.27606233954429626,
0.0886487364768982,
0.2853809893131256,
0.1801234632730484,
0.21671690046787262,
-0.4603285491466522,
0.10928429663181305,
0.007302663289010525,
0.23856839537620544,
0.07153569161891937,
-0.175764799118042,
0.3841952979564667,
0.3371025025844574,
0.3462236523628235,
-0.014934239909052849,
0.15356338024139404,
-0.09053635597229004,
0.034271568059921265,
-0.28941166400909424,
0.023638762533664703,
-0.19214847683906555,
-0.31876838207244873,
-0.10520493984222412,
0.052419111132621765,
-0.33702552318573,
-0.25472989678382874,
-0.3973863422870636,
-0.08824992924928665,
0.3626718521118164,
0.149599090218544,
-0.03645457327365875,
-0.08746957033872604,
-0.060979437083005905,
0.1828010529279709,
0.22833266854286194,
0.3751523494720459,
-0.08307129144668579,
-0.0639723613858223,
-0.4964929223060608,
-0.0078119682148098946,
0.5054954290390015,
0.20351620018482208,
-0.4385775327682495,
-0.09873733669519424,
0.22559499740600586,
0.11097248643636703,
-0.10433643311262131,
-0.5277048349380493,
-0.05444350093603134,
0.1480514109134674,
0.02858959324657917,
-0.5061277151107788,
0.17403316497802734,
-0.07041776180267334,
0.05406372621655464,
-0.04682961478829384,
0.5308090448379517,
-0.1402607262134552,
-0.08187215775251389,
-0.33062171936035156,
-0.5350726246833801
] |
https://github.com/huggingface/datasets/pull/2223 | Set test cache config | Yes we can merge it this way if you're fine with it !
This is a good improvement | Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | 18 | text: Set test cache config
Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects.
Yes we can merge it this way if you're fine with it !
This is a good improvement | [
-0.23494839668273926,
-0.1688491702079773,
-0.18455582857131958,
-0.34275269508361816,
0.02247619815170765,
0.32788002490997314,
0.030240487307310104,
0.39872273802757263,
0.16596193611621857,
0.12104567140340805,
0.13543443381786346,
-0.09299975633621216,
0.10010407119989395,
-0.14974945783615112,
0.10650482773780823,
0.004596006125211716,
-0.009703308343887329,
0.07499855011701584,
0.21499261260032654,
0.3960629105567932,
-0.36575403809547424,
0.14454656839370728,
-0.09325408935546875,
0.17213691771030426,
-0.06622277945280075,
-0.06929706037044525,
0.14165012538433075,
0.375652015209198,
0.031193427741527557,
-0.49693310260772705,
0.1627541333436966,
0.23994523286819458,
-0.10606490820646286,
0.1384773850440979,
-0.00009637494804337621,
0.09642632305622101,
0.3892444968223572,
-0.11906922608613968,
-0.09868733584880829,
0.23098504543304443,
-0.10307300090789795,
0.1713227480649948,
-0.13303793966770172,
-0.0869331806898117,
0.034616172313690186,
-0.009156708605587482,
0.24152563512325287,
-0.4490903615951538,
-0.22990502417087555,
0.2974409759044647,
0.3402274250984192,
0.06933853775262833,
-0.3431721329689026,
-0.09236016869544983,
0.15018315613269806,
-0.2263578325510025,
-0.11707694828510284,
0.024680139496922493,
0.11929978430271149,
0.12370915710926056,
0.18708078563213348,
0.0933183878660202,
0.0980808287858963,
0.1326158195734024,
0.2459600269794464,
-0.03879657760262489,
0.2881387174129486,
-0.10594674944877625,
0.1848413348197937,
-0.2356981337070465,
0.44508758187294006,
-0.313151091337204,
0.16262789070606232,
0.2234979271888733,
-0.19600950181484222,
-0.21573588252067566,
0.31125935912132263,
0.1799018830060959,
-0.0306362546980381,
0.24983996152877808,
-0.2302631437778473,
-0.34620338678359985,
-0.05074140056967735,
-0.21662123501300812,
0.04968392103910446,
0.1003512367606163,
0.02272394672036171,
-0.050661563873291016,
0.08556274324655533,
0.12861743569374084,
0.2714354991912842,
-0.1723545789718628,
-0.3846438527107239,
-0.13925792276859283,
0.22678102552890778,
-0.0017278119921684265,
-0.01142527163028717,
0.12956933677196503,
0.12114540487527847,
0.25378015637397766,
-0.10906638205051422,
0.1555057168006897,
0.11988452076911926,
0.0007721371948719025,
-0.3628607988357544,
0.5147985816001892,
0.2951201796531677,
0.3101215958595276,
0.1823767125606537,
0.11024270206689835,
-0.0627807155251503,
-0.09144752472639084,
0.29860302805900574,
-0.4944715201854706,
0.023568961769342422,
0.0025703255087137222,
0.012568142265081406,
-0.11583296954631805,
0.10916589945554733,
-0.050108712166547775,
-0.06265036761760712,
-0.015291986986994743,
-0.07997151464223862,
0.35153883695602417,
0.09341385960578918,
0.06471946090459824,
0.21801505982875824,
0.060561999678611755,
-0.060920119285583496,
0.22459818422794342,
-0.2591802179813385,
0.048601388931274414,
-0.13544024527072906,
0.08132576197385788,
-0.11982731521129608,
0.04503257945179939,
0.4258945882320404,
-0.13303714990615845,
0.23520928621292114,
-0.06988005340099335,
0.21846741437911987,
0.31193509697914124,
0.3301449120044708,
0.44467100501060486,
0.1264861822128296,
0.00017941370606422424,
0.10409049689769745,
-0.0034440159797668457,
-0.21347379684448242,
0.302145391702652,
0.007180068641901016,
-0.515227735042572,
0.18807777762413025,
0.3471052646636963,
-0.1548839658498764,
0.16595524549484253,
0.26348599791526794,
-0.21390126645565033,
0.15037886798381805,
-0.22903569042682648,
0.31141573190689087,
0.08854474127292633,
-0.05639227479696274,
-0.17907007038593292,
0.15091295540332794,
0.19896963238716125,
-0.26125219464302063,
-0.014744717627763748,
0.3166672885417938,
-0.0794510692358017,
-0.0001673176884651184,
0.05620744824409485,
-0.22432908415794373,
0.14840736985206604,
-0.31998106837272644,
-0.08827567845582962,
0.23471441864967346,
-0.3797653019428253,
-0.2734779417514801,
-0.2124606817960739,
-0.14837978780269623,
-0.06939064711332321,
0.09807872027158737,
-0.04013551399111748,
-0.3040069341659546,
0.09310176223516464,
0.013695001602172852,
0.1371462047100067,
-0.2208721935749054,
0.1128542497754097,
-0.4732009768486023,
-0.039323288947343826,
0.017454924061894417,
-0.286790668964386,
0.14315339922904968,
0.0672638863325119,
-0.17356085777282715,
0.22607967257499695,
0.15715840458869934,
0.0006969384849071503,
0.03744400292634964,
0.07625196874141693,
0.09040732681751251,
-0.004933267831802368,
-0.02762366272509098,
0.2375536561012268,
0.08083315938711166,
0.10742940753698349,
-0.12594643235206604,
-0.0832698792219162,
0.24851322174072266,
-0.15118280053138733,
-0.24830362200737,
-0.2525959312915802,
-0.2703011929988861,
-0.6528858542442322,
0.20272013545036316,
0.48288363218307495,
0.323322057723999,
-0.23494653403759003,
-0.1306334286928177,
0.3102383613586426,
-0.20090380311012268,
-0.14186565577983856,
-0.18025505542755127,
-0.21058908104896545,
-0.3804969787597656,
0.14904403686523438,
-0.5238285064697266,
-0.18853437900543213,
-0.08337552100419998,
-0.24527005851268768,
-0.15207642316818237,
0.6032927632331848,
0.007727095857262611,
0.11397558450698853,
0.39157265424728394,
0.02220471203327179,
0.015895649790763855,
0.04223465546965599,
0.07859686017036438,
-0.0454477034509182,
-0.14446993172168732,
0.07128755003213882,
-0.268242746591568,
0.15440121293067932,
0.06738371402025223,
-0.037396736443042755,
-0.08710420876741409,
-0.18880438804626465,
0.06896498054265976,
0.022800948470830917,
-0.01941666379570961,
-0.004906050860881805,
0.07461877912282944,
0.13720716536045074,
0.09382186830043793,
-0.10511229932308197,
-0.16770899295806885,
0.035150401294231415,
-0.12438398599624634,
-0.09598603844642639,
-0.07523513585329056,
0.009415019303560257,
0.13180093467235565,
-0.3071206212043762,
-0.17434220016002655,
0.15666738152503967,
0.6486243605613708,
0.26381680369377136,
0.19232960045337677,
0.18235135078430176,
0.08097870647907257,
-0.20481671392917633,
0.28656458854675293,
-0.011162273585796356,
-0.21591781079769135,
0.013772699981927872,
0.14739400148391724,
-0.2582458555698395,
-0.0779755711555481,
0.25811967253685,
0.08554960042238235,
-0.027563290670514107,
-0.24150070548057556,
0.09550421684980392,
0.02013029344379902,
-0.07667698711156845,
-0.15233950316905975,
0.10762893408536911,
0.11038996279239655,
-0.4187254309654236,
0.31803059577941895,
-0.075412318110466,
-0.30516889691352844,
0.3280297815799713,
-0.05568193644285202,
0.4737973213195801,
-0.032925091683864594,
-0.2374938279390335,
-0.2120921015739441,
0.028090812265872955,
-0.1746751070022583,
0.19569654762744904,
-0.04093609377741814,
-0.1793525516986847,
0.32230955362319946,
-0.4339582622051239,
-0.20492859184741974,
-0.3975238502025604,
-0.0964064970612526,
0.07862073928117752,
0.16518209874629974,
0.24130654335021973,
0.23910686373710632,
0.10837754607200623,
0.17682522535324097,
-0.24387428164482117,
0.024953210726380348,
-0.27554288506507874,
-0.20129430294036865,
-0.4315938949584961,
0.14180834591388702,
0.1736626774072647,
-0.33446407318115234,
-0.5740854144096375,
0.13243906199932098,
-0.4188723862171173,
-0.045163340866565704,
-0.07580754160881042,
0.05847570300102234,
0.10038243234157562,
-0.1331988424062729,
-0.1350763589143753,
-0.1727353036403656,
-0.2342207282781601,
-0.21898488700389862,
-0.35323041677474976,
-0.0212908573448658,
-0.4336279034614563,
0.08061125129461288,
0.03936300054192543,
0.14897826313972473,
0.054964736104011536,
-0.14887665212154388,
-0.29306262731552124,
-0.3195289373397827,
0.002005789428949356,
0.3067265748977661,
0.10839955508708954,
-0.12923914194107056,
0.27582797408103943,
0.00397960701957345,
-0.33352842926979065,
-0.04856196790933609,
-0.17895850539207458,
0.08314356207847595,
0.08713255077600479,
0.38085275888442993,
0.06647472083568573,
-0.1177745833992958,
-0.10184921324253082,
0.7442754507064819,
0.047496598213911057,
0.2255496382713318,
-0.1828942894935608,
0.0035467371344566345,
0.45700734853744507,
-0.21951687335968018,
0.10011215507984161,
0.030972378328442574,
0.16352984309196472,
-0.39397484064102173,
0.27055150270462036,
0.2734573483467102,
-0.06098609417676926,
0.011871743947267532,
-0.020070752128958702,
0.14000368118286133,
-0.2164105623960495,
0.10763704031705856,
-0.44146156311035156,
0.10964693129062653,
0.023152343928813934,
-0.18788576126098633,
-0.24795247614383698,
0.07442034035921097,
0.13784421980381012,
0.3586115837097168,
-0.13256987929344177,
0.22328947484493256,
-0.27568429708480835,
0.1881500631570816,
-0.302851140499115,
0.39407020807266235,
0.10894959419965744,
0.22736336290836334,
-0.1945386677980423,
-0.31208398938179016,
-0.0021772384643554688,
0.04019293561577797,
0.5809470415115356,
-0.4065248370170593,
-0.02472127228975296,
0.06276898086071014,
0.15976016223430634,
0.1284818947315216,
-0.21419155597686768,
0.19178901612758636,
0.15748564898967743,
0.25567880272865295,
0.07441811263561249,
0.2467852234840393,
-0.18668437004089355,
0.08908555656671524,
0.039833977818489075,
-0.21622523665428162,
-0.049140579998493195,
-0.4025401771068573,
-0.42222312092781067,
-0.1648339480161667,
0.22167477011680603,
0.17178550362586975,
-0.19322292506694794,
-0.04070698469877243,
0.23880000412464142,
0.20075654983520508,
0.10115619748830795,
-0.1985616236925125,
0.07029706239700317,
0.3273290991783142,
0.0269447211176157,
-0.2418065071105957,
0.16451334953308105,
-0.17737185955047607,
-0.030459558591246605,
0.14028741419315338,
-0.22788405418395996,
0.31603628396987915,
0.07931943237781525,
-0.04706297069787979,
0.09934735298156738,
0.3528406620025635,
-0.006718478165566921,
-0.04799548536539078,
-0.3338182270526886,
0.032803621143102646,
0.08028985559940338,
0.2786315083503723,
0.06084832549095154,
-0.003852423746138811,
0.18354728817939758,
-0.27165332436561584,
0.04707321152091026,
0.1724805235862732,
-0.23144793510437012,
0.3502066433429718,
-0.26714104413986206,
-0.33843713998794556,
0.17875893414020538,
0.0698152631521225,
0.7882541418075562,
-0.011573359370231628,
0.20895712077617645,
-0.05939406901597977,
-0.373068630695343,
0.04030672833323479,
-0.5230659246444702,
0.3613353967666626,
-0.016373373568058014,
-0.14762715995311737,
0.018706398084759712,
-0.20635229349136353,
-0.028900817036628723,
-0.374613881111145,
-0.5058088302612305,
0.2383253127336502,
-0.19452589750289917,
0.027389977127313614,
0.20350058376789093,
0.04874233901500702,
-0.08886848390102386,
0.16248461604118347,
0.05812081694602966,
0.2689223885536194,
0.07262090593576431,
0.22591806948184967,
-0.2826835811138153,
0.07347533106803894,
0.15814384818077087,
-0.047600723803043365,
-0.14055854082107544,
-0.06305545568466187,
-0.04706176742911339,
0.09070359170436859,
-0.08866442739963531,
0.12157341837882996,
-0.4238552451133728,
0.2580835819244385,
0.2730996012687683,
0.16032272577285767,
0.018648337572813034,
0.34485486149787903,
0.4507661461830139,
0.021603325381875038,
-0.08029714971780777,
-0.16546612977981567,
0.1651710718870163,
-0.20863136649131775,
-0.30375951528549194,
0.07959771901369095,
-0.391349196434021,
-0.3632776737213135,
-0.15022829174995422,
0.17594824731349945,
0.337529718875885,
-0.1600128710269928,
-0.1168348640203476,
0.15798413753509521,
-0.2046509087085724,
-0.2470805048942566,
0.2826770544052124,
-0.06988908350467682,
-0.2306886613368988,
0.014967657625675201,
-0.16549979150295258,
-0.5639935731887817,
-0.024844273924827576,
-0.2026418149471283,
-0.2045358121395111,
-0.1358795017004013,
0.1405183970928192,
-0.21288640797138214,
-0.0870799720287323,
-0.1650102138519287,
0.07452849298715591,
-0.024955447763204575,
-0.0474708117544651,
0.3097994923591614,
-0.1564313918352127,
-0.32567858695983887,
0.05175433307886124,
0.1550687551498413,
0.2886068820953369,
0.27099311351776123,
-0.32268181443214417,
0.08051145076751709,
-0.26289716362953186,
-0.06014186143875122,
-0.130598783493042,
0.5984968543052673,
0.13603746891021729,
0.06852499395608902,
0.2167235165834427,
0.11633456498384476,
-0.4634324610233307,
-0.017409535124897957,
-0.3543310761451721,
0.22840002179145813,
-0.25509363412857056,
0.0854535698890686,
0.12165630608797073,
-0.07116973400115967,
0.10800804197788239,
0.06259886920452118,
-0.2979224622249603,
-0.3625887930393219,
0.1222885400056839,
0.08676304668188095,
-0.30168357491493225,
-0.031164782121777534,
0.09625272452831268,
0.09111043810844421,
0.2814270853996277,
0.12328650057315826,
0.15351207554340363,
0.03919552266597748,
-0.027153894305229187,
0.08065690845251083,
0.04547956585884094,
-0.15497371554374695,
0.032415419816970825,
0.03425432741641998,
0.016424447298049927,
0.1937987208366394,
-0.23611536622047424,
0.14003930985927582,
-0.4363161623477936,
-0.1838250607252121,
0.18891672790050507,
0.23313477635383606,
0.13041380047798157,
0.3061699867248535,
-0.16869089007377625,
0.05298309773206711,
-0.23438656330108643,
-0.016920508816838264,
0.09867987781763077,
0.11170077323913574,
-0.2771930992603302,
-0.11467324942350388,
-0.09411711245775223,
0.33390286564826965,
-0.09064291417598724,
-0.09761833399534225,
-0.09032833576202393,
0.014678455889225006,
0.0680769830942154,
0.28387314081192017,
0.36300384998321533,
-0.14528028666973114,
0.38834136724472046,
0.42906877398490906,
0.3000667095184326,
-0.4367412328720093,
0.08021213114261627,
0.057478390634059906,
-0.30190226435661316,
0.07580684125423431,
0.26406458020210266,
-0.08972162008285522,
0.11170478910207748,
0.10131172090768814,
0.3877345025539398,
0.4933226406574249,
0.244115948677063,
-0.041166383773088455,
-0.2086365520954132,
0.033099304884672165,
0.2742086350917816,
0.07320638000965118,
-0.061311155557632446,
0.1110408753156662,
0.45921576023101807,
0.24339011311531067,
-0.28545457124710083,
-0.2388557493686676,
0.06860430538654327,
0.02576901763677597,
-0.056383438408374786,
-0.23381397128105164,
0.2291201651096344,
-0.1011882871389389,
-0.01553739607334137,
0.1347828209400177,
0.26155003905296326,
0.24884574115276337,
0.3515152037143707,
-0.09552302956581116,
-0.014421433210372925,
0.2123946249485016,
0.376910001039505,
0.06162237375974655,
0.04345523193478584,
-0.35370510816574097,
0.1277766227722168,
0.015418782830238342,
-0.25384360551834106,
0.35566622018814087,
0.3839317262172699,
0.35708799958229065,
0.10542887449264526,
-0.0691041648387909,
-0.061298828572034836,
0.07140073925256729,
0.09911149740219116,
-0.16062767803668976,
0.003472480922937393,
0.15307685732841492,
-0.4144008159637451,
0.06350666284561157,
0.37547942996025085,
-0.2241688221693039,
0.36582815647125244,
-0.0719178318977356,
0.04513157904148102,
-0.1084597110748291,
0.11620646715164185,
0.35024455189704895,
-0.0877038836479187,
0.018443962559103966,
0.2968190312385559,
-0.29376840591430664,
0.1707548350095749,
0.07805819809436798,
-0.10231117159128189,
0.11839649826288223,
0.06436972320079803,
0.16288107633590698,
0.3324783444404602,
0.5192307829856873,
0.2308257520198822,
-0.12233995646238327,
-0.3606870472431183,
-0.20836704969406128,
-0.14280670881271362,
0.21606802940368652,
0.06286066770553589,
0.09762470424175262,
-0.1091834232211113,
0.08534751087427139,
0.01865857094526291,
-0.12199176847934723,
0.2110188603401184,
-0.1941586285829544,
-0.19949588179588318,
-0.015103526413440704,
-0.2592255473136902,
0.06633662432432175,
0.3584749102592468,
0.037348732352256775,
0.32318276166915894,
-0.4108722507953644,
0.05082283169031143,
-0.06525874137878418,
0.2760564386844635,
0.07683899998664856,
-0.19220194220542908,
0.539239227771759,
0.2730281949043274,
0.191765695810318,
0.061165615916252136,
0.0641578808426857,
-0.13171741366386414,
-0.06666846573352814,
-0.2713966369628906,
-0.08889175206422806,
-0.24403320252895355,
-0.40961357951164246,
-0.05897192284464836,
-0.020253684371709824,
-0.34638097882270813,
-0.23460637032985687,
-0.40770480036735535,
0.026732709258794785,
0.3129080533981323,
0.23165026307106018,
0.020134901627898216,
-0.1420442909002304,
-0.07522793114185333,
0.15519088506698608,
0.3029996156692505,
0.3243747651576996,
-0.14236104488372803,
-0.008879169821739197,
-0.39289164543151855,
-0.13604499399662018,
0.46457439661026,
0.34524446725845337,
-0.4228121340274811,
-0.012663984671235085,
0.22543880343437195,
0.14452162384986877,
-0.08410898596048355,
-0.512303352355957,
-0.009710080921649933,
0.12257696688175201,
0.07557050883769989,
-0.38952890038490295,
0.09602533280849457,
-0.11747798323631287,
0.07682028412818909,
-0.053653690963983536,
0.4360491931438446,
0.04416411370038986,
-0.09757577627897263,
-0.3375098705291748,
-0.3953365683555603
] |
https://github.com/huggingface/datasets/pull/2223 | Set test cache config | I will eventually try to implement a `cache_dir` per test function in another PR, but I think I should first fix some side effects in tests: each test function should be atomic and able to have its own `cache_dir` without being affected by the `cache_dir` set in other test functions. | Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | 50 | text: Set test cache config
Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects.
I will eventually try to implement a `cache_dir` per test function in another PR, but I think I should first fix some side effects in tests: each test function should be atomic and able to have its own `cache_dir` without being affected by the `cache_dir` set in other test functions. | [
-0.1879202127456665,
-0.042685143649578094,
-0.167098268866539,
-0.32390516996383667,
0.09817418456077576,
0.1648656129837036,
-0.0015983693301677704,
0.3427538573741913,
0.14035610854625702,
0.22749948501586914,
0.2412164956331253,
0.0039970059879124165,
-0.013725140132009983,
-0.21529310941696167,
0.1810852587223053,
0.02060467191040516,
0.02739330381155014,
0.10166855901479721,
0.07853937894105911,
0.3227972984313965,
-0.4106052815914154,
0.07240601629018784,
-0.09577596187591553,
0.1041906476020813,
-0.1267765611410141,
-0.18709304928779602,
0.15908309817314148,
0.29687514901161194,
0.1689155250787735,
-0.43525630235671997,
0.1744300127029419,
0.22264230251312256,
-0.05735493451356888,
0.07218104600906372,
-0.00009715771011542529,
0.11508207023143768,
0.2575201988220215,
-0.26859378814697266,
-0.03967677801847458,
0.17384961247444153,
-0.07960636913776398,
0.2007216066122055,
-0.15382008254528046,
-0.1102382093667984,
0.05757010728120804,
0.18051503598690033,
0.28315457701683044,
-0.568220853805542,
-0.10540483891963959,
0.3505435883998871,
0.3207412660121918,
0.019980132579803467,
-0.3789973855018616,
-0.05106234550476074,
0.19766752421855927,
-0.23602919280529022,
-0.20693589746952057,
0.07411344349384308,
-0.021661728620529175,
0.12175324559211731,
-0.03264275938272476,
0.14703011512756348,
-0.03367505595088005,
0.396632581949234,
0.3278180658817291,
-0.000973961316049099,
0.23119226098060608,
-0.16152198612689972,
0.09558039903640747,
-0.20628121495246887,
0.4384189546108246,
-0.5211224555969238,
0.04803711920976639,
0.13784298300743103,
-0.25309547781944275,
-0.24342527985572815,
0.40111878514289856,
0.10831178724765778,
-0.051788706332445145,
0.14868515729904175,
-0.1736970841884613,
-0.20836585760116577,
-0.0064081475138664246,
-0.07334178686141968,
0.20260152220726013,
-0.006814256310462952,
-0.08493031561374664,
-0.0779309943318367,
0.15588994324207306,
0.15635791420936584,
0.21205487847328186,
-0.0696018859744072,
-0.21402299404144287,
-0.14018774032592773,
0.17677365243434906,
0.090033158659935,
0.03451929986476898,
0.18160243332386017,
0.25528624653816223,
0.25968387722969055,
-0.09004519879817963,
0.21622082591056824,
0.09167234599590302,
-0.028543367981910706,
-0.4009241461753845,
0.5908704996109009,
0.11377519369125366,
0.36635562777519226,
0.17040111124515533,
0.13610520958900452,
-0.18133585155010223,
-0.05362182855606079,
0.34309303760528564,
-0.3915804624557495,
0.1390521079301834,
0.07202640175819397,
-0.09333951026201248,
-0.08257511258125305,
0.1576990783214569,
0.055642396211624146,
0.03217910975217819,
-0.00007194001227617264,
-0.013497467152774334,
0.484233558177948,
0.06442023068666458,
0.1437237560749054,
-0.006114952266216278,
0.0020037125796079636,
-0.1626865267753601,
0.35595476627349854,
-0.234231099486351,
0.0012954715639352798,
-0.2050900161266327,
0.29481956362724304,
-0.042951129376888275,
0.12651081383228302,
0.5044745206832886,
-0.16063500940799713,
0.3267853260040283,
-0.05339106544852257,
0.3323535621166229,
0.19621458649635315,
0.379558265209198,
0.44757533073425293,
0.01795072853565216,
0.10004445910453796,
0.04825236648321152,
0.026897966861724854,
-0.3397480547428131,
0.1788979172706604,
-0.05365395545959473,
-0.5943649411201477,
0.346483051776886,
0.3096334934234619,
-0.2459944784641266,
0.27215540409088135,
0.19815436005592346,
-0.2298460155725479,
0.23623377084732056,
-0.25567635893821716,
0.480682909488678,
-0.09362587332725525,
-0.14476841688156128,
-0.2959081530570984,
0.15484867990016937,
0.463522732257843,
0.0021547675132751465,
-0.0433390848338604,
0.3561932146549225,
0.009376432746648788,
0.12033824622631073,
-0.0016084574162960052,
-0.10105505585670471,
0.12782226502895355,
-0.2692950665950775,
-0.1435447335243225,
0.24693650007247925,
-0.37348470091819763,
-0.4003793001174927,
-0.2769956588745117,
-0.1358417570590973,
-0.04795104265213013,
0.15811972320079803,
-0.05734596028923988,
-0.2995402216911316,
0.01051876600831747,
0.000015974044799804688,
0.1696292608976364,
-0.15020038187503815,
0.22169291973114014,
-0.4738566279411316,
-0.06271840631961823,
-0.03010334074497223,
-0.15069416165351868,
0.05046916753053665,
0.19350072741508484,
-0.3063001334667206,
0.31294864416122437,
0.06938473880290985,
0.003577224910259247,
0.05665368586778641,
0.058026351034641266,
0.12938305735588074,
-0.05419599264860153,
0.048603348433971405,
0.21153157949447632,
-0.09277670830488205,
0.09738662093877792,
-0.050683505833148956,
-0.13958582282066345,
0.19276893138885498,
-0.15145918726921082,
-0.0835406482219696,
-0.2830658555030823,
-0.26875194907188416,
-0.575892448425293,
0.20117662847042084,
0.4290149509906769,
0.4546891450881958,
-0.1379205286502838,
-0.1791442185640335,
0.3408978581428528,
-0.09231521934270859,
-0.16720101237297058,
-0.1175709068775177,
-0.3499602973461151,
-0.26656094193458557,
-0.009815429337322712,
-0.5402722358703613,
-0.11448543518781662,
-0.18118926882743835,
-0.2970384359359741,
-0.1387309432029724,
0.5525947213172913,
0.22950468957424164,
-0.024855151772499084,
0.27220916748046875,
0.2538643479347229,
-0.028331885114312172,
0.06210598722100258,
0.10403406620025635,
-0.025502551347017288,
-0.13670726120471954,
0.16670113801956177,
-0.0982525423169136,
0.2344135195016861,
-0.10772256553173065,
-0.09842175990343094,
-0.17532294988632202,
-0.20601581037044525,
0.1394307166337967,
-0.03558613359928131,
-0.002367238514125347,
-0.03521164134144783,
0.09968661516904831,
0.12805140018463135,
0.3141785264015198,
-0.05859781801700592,
-0.13154812157154083,
-0.07473533600568771,
-0.20530277490615845,
-0.05897927284240723,
0.09138910472393036,
-0.037004150450229645,
0.2160763442516327,
-0.30446675419807434,
-0.036100052297115326,
0.20866252481937408,
0.6240249872207642,
0.250913143157959,
0.1602153778076172,
0.027577882632613182,
0.07062405347824097,
-0.25313544273376465,
0.14864633977413177,
-0.1490301638841629,
-0.1369897723197937,
0.015018191188573837,
0.023836027830839157,
-0.2164134383201599,
0.053019553422927856,
0.151926651597023,
0.02690250240266323,
0.13580700755119324,
-0.22711880505084991,
0.0890703946352005,
0.033336132764816284,
-0.01628999039530754,
-0.06857305765151978,
0.1191430538892746,
0.17909695208072662,
-0.19342750310897827,
0.26232194900512695,
-0.14725622534751892,
-0.2544345259666443,
0.30746808648109436,
-0.20083558559417725,
0.5540666580200195,
-0.14070047438144684,
-0.3679548501968384,
-0.28836941719055176,
0.017162451520562172,
-0.19377398490905762,
0.13812673091888428,
-0.08237062394618988,
-0.10323174297809601,
0.2702558934688568,
-0.3152417242527008,
-0.2370518445968628,
-0.24776428937911987,
0.05207369476556778,
0.08743925392627716,
0.20741164684295654,
0.2433425337076187,
0.2160288244485855,
-0.03508968651294708,
0.15030866861343384,
-0.21026507019996643,
0.002380534540861845,
-0.31158024072647095,
-0.06714952737092972,
-0.2585521936416626,
0.043501127511262894,
0.22938336431980133,
-0.3030557930469513,
-0.3719237446784973,
0.0630883052945137,
-0.33406126499176025,
0.14110782742500305,
-0.013511145487427711,
0.1007373183965683,
0.09225748479366302,
-0.10884928703308105,
-0.10119552165269852,
-0.22498036921024323,
-0.13647378981113434,
-0.23959511518478394,
-0.34072038531303406,
0.02986329421401024,
-0.3833540380001068,
0.10032099485397339,
-0.11102446913719177,
0.035598162561655045,
0.009776785969734192,
0.0203241016715765,
-0.34368544816970825,
-0.5188974142074585,
-0.025149894878268242,
0.3484884798526764,
0.013783380389213562,
-0.11800643801689148,
0.17849192023277283,
0.010790894739329815,
-0.2727281451225281,
-0.05640467256307602,
-0.2624604105949402,
0.20534160733222961,
0.006416117772459984,
0.24884077906608582,
0.12277711927890778,
-0.22374814748764038,
0.01983398199081421,
0.6029812097549438,
0.2093277871608734,
0.17341279983520508,
-0.11801084876060486,
-0.08119537681341171,
0.4023406207561493,
-0.21904417872428894,
0.16659322381019592,
0.17378222942352295,
0.14626088738441467,
-0.5048708915710449,
0.14467301964759827,
0.14216357469558716,
-0.12188980728387833,
0.04889024794101715,
0.038846079260110855,
0.11709240823984146,
-0.25027191638946533,
0.23452128469944,
-0.5152987241744995,
0.14251376688480377,
-0.07702209055423737,
-0.1532745063304901,
-0.25268957018852234,
-0.018904050812125206,
0.14126639068126678,
0.2839367091655731,
-0.11688507348299026,
0.22410820424556732,
-0.044905148446559906,
0.19370022416114807,
-0.21233081817626953,
0.3579540252685547,
0.1357547491788864,
0.24965986609458923,
-0.18435238301753998,
-0.24908986687660217,
-0.09037962555885315,
0.028003288432955742,
0.515930712223053,
-0.39879143238067627,
0.11152786761522293,
0.02395300194621086,
0.033670276403427124,
0.18619638681411743,
-0.13541415333747864,
0.12912769615650177,
0.13337713479995728,
0.15069375932216644,
0.024260152131319046,
0.16246047616004944,
-0.09582076221704483,
-0.10277286171913147,
-0.06303941458463669,
-0.11378370225429535,
-0.021652258932590485,
-0.3827051818370819,
-0.35079169273376465,
-0.0033282265067100525,
0.3480079770088196,
-0.005739523097872734,
-0.34274500608444214,
0.16057468950748444,
0.2347264438867569,
0.24964454770088196,
0.08538839221000671,
-0.23884160816669464,
0.08342355489730835,
0.3230672776699066,
0.032081373035907745,
-0.2472335696220398,
0.3435312807559967,
-0.3714978098869324,
-0.021038414910435677,
-0.02423359453678131,
-0.40440651774406433,
0.29838189482688904,
0.03934060037136078,
0.1533859372138977,
-0.0013816431164741516,
0.3589448928833008,
-0.03154775872826576,
-0.0918537899851799,
-0.3541121184825897,
0.06989521533250809,
0.0006081117317080498,
0.284566730260849,
-0.03569275885820389,
-0.08408784121274948,
0.2343936413526535,
-0.4963834285736084,
0.11059516668319702,
0.17455169558525085,
-0.21469444036483765,
0.3980167508125305,
-0.2983579635620117,
-0.3080868124961853,
0.25545036792755127,
0.27992019057273865,
0.6879080533981323,
-0.013123385608196259,
0.16960830986499786,
-0.0906464159488678,
-0.20534752309322357,
0.11977916955947876,
-0.5715873837471008,
0.2833601236343384,
-0.002193830907344818,
-0.12112507224082947,
-0.0377030149102211,
-0.3332430124282837,
-0.09712762385606766,
-0.40194183588027954,
-0.597163200378418,
0.23115946352481842,
-0.16380730271339417,
-0.0274372436106205,
0.04713425785303116,
0.03198647499084473,
-0.23551499843597412,
-0.025282081216573715,
0.06157894805073738,
0.28402674198150635,
-0.13635189831256866,
0.2452484369277954,
-0.09411030262708664,
0.1513519436120987,
0.13190998136997223,
0.04170729219913483,
-0.19621190428733826,
-0.05171593651175499,
-0.3262057900428772,
0.018848497420549393,
-0.019763819873332977,
0.1701372116804123,
-0.4158658981323242,
0.32279419898986816,
0.303775817155838,
0.16835251450538635,
-0.04651593416929245,
0.17944644391536713,
0.3807719051837921,
0.11846596747636795,
0.04783601313829422,
-0.17639511823654175,
0.17028506100177765,
-0.14712107181549072,
-0.1471485048532486,
-0.01564060151576996,
-0.31862443685531616,
-0.3355448842048645,
-0.0996403694152832,
0.04849180206656456,
0.2131994664669037,
-0.09943598508834839,
-0.01716424897313118,
0.18717961013317108,
-0.1360185295343399,
-0.12500730156898499,
0.272769957780838,
-0.06609822809696198,
-0.19841037690639496,
0.20143625140190125,
-0.2440628558397293,
-0.46648991107940674,
-0.04966427758336067,
-0.23475554585456848,
-0.24288427829742432,
-0.12331441044807434,
0.04840537905693054,
-0.3170817494392395,
-0.054514963179826736,
-0.1934119164943695,
0.047118961811065674,
0.021565048024058342,
0.0016149133443832397,
0.33689987659454346,
-0.1896694004535675,
-0.3371484875679016,
-0.05174727365374565,
0.18284249305725098,
0.3678014874458313,
0.12533491849899292,
-0.28943169116973877,
0.08933223783969879,
-0.2976003885269165,
0.047298695892095566,
-0.07098843157291412,
0.5015932321548462,
0.052143394947052,
0.02818397432565689,
0.1808270812034607,
0.15893667936325073,
-0.447258323431015,
-0.1187940239906311,
-0.33778440952301025,
0.11790191382169724,
-0.22319792211055756,
0.09842276573181152,
0.16532601416110992,
0.011478304862976074,
0.0955951064825058,
0.11697882413864136,
-0.32369697093963623,
-0.3371441960334778,
0.08721362054347992,
0.05793067812919617,
-0.22272208333015442,
-0.015723872929811478,
-0.01277301087975502,
0.0425897017121315,
0.2026509791612625,
-0.04413296654820442,
0.12556825578212738,
0.14061331748962402,
-0.14275622367858887,
0.18080998957157135,
0.037486083805561066,
-0.08199618011713028,
0.03650713711977005,
-0.056492529809474945,
-0.13136164844036102,
0.035165369510650635,
-0.11816209554672241,
0.25725260376930237,
-0.36525264382362366,
-0.24312607944011688,
0.20834307372570038,
0.21313288807868958,
0.09360344707965851,
0.21800857782363892,
-0.2346993088722229,
0.08461542427539825,
-0.10458166897296906,
0.039333902299404144,
0.0790633112192154,
0.19618506729602814,
-0.19910794496536255,
-0.06768690049648285,
0.011159960180521011,
0.3100322484970093,
0.06685768812894821,
-0.13808941841125488,
-0.13852189481258392,
0.058464471250772476,
0.14701053500175476,
0.40879201889038086,
0.36511924862861633,
-0.14805495738983154,
0.4027310609817505,
0.2684812545776367,
0.3793054223060608,
-0.4814639091491699,
-0.032947786152362823,
0.009806115180253983,
-0.20306971669197083,
0.07994319498538971,
0.3365252614021301,
-0.018887002021074295,
0.21410799026489258,
0.14712628722190857,
0.4236981272697449,
0.5624575018882751,
0.16660663485527039,
-0.01737094298005104,
-0.32753124833106995,
-0.1332637369632721,
0.183402881026268,
-0.01716482639312744,
-0.10538363456726074,
0.13888120651245117,
0.28677064180374146,
0.3042680621147156,
-0.32739877700805664,
-0.08866311609745026,
-0.003777898848056793,
-0.08021557331085205,
0.01010335236787796,
-0.23949086666107178,
0.26467975974082947,
-0.0491461418569088,
0.043954186141490936,
0.12081165611743927,
0.1647406816482544,
0.2338736355304718,
0.5929306745529175,
-0.09434367716312408,
-0.0183018296957016,
0.34265685081481934,
0.3114265203475952,
0.00283220037817955,
0.12931522727012634,
-0.24262121319770813,
0.14164094626903534,
-0.01887296885251999,
-0.18845054507255554,
0.1529812067747116,
0.2721731662750244,
0.3116295337677002,
0.16974090039730072,
-0.15935583412647247,
-0.0850231945514679,
0.07516953349113464,
0.13531772792339325,
-0.2677668333053589,
0.1527470201253891,
0.16276609897613525,
-0.3676207363605499,
-0.033541224896907806,
0.3339240252971649,
-0.22112910449504852,
0.1945405900478363,
0.0287371464073658,
0.09657211601734161,
0.06914228200912476,
0.12435658276081085,
0.41833117604255676,
0.04799517244100571,
0.08426544070243835,
0.35127007961273193,
-0.2932494282722473,
0.19656291604042053,
0.007909411564469337,
-0.2350696176290512,
0.08962459117174149,
0.2105030119419098,
0.15763986110687256,
0.41446635127067566,
0.521653413772583,
0.08584221452474594,
-0.04586757719516754,
-0.4035053551197052,
-0.12490357458591461,
-0.19254814088344574,
0.21588841080665588,
0.081505186855793,
0.014480950310826302,
-0.005843563005328178,
0.03833324462175369,
-0.04019840806722641,
-0.10137602686882019,
-0.08275388181209564,
-0.12233287841081619,
-0.13964709639549255,
0.1515391319990158,
-0.22525851428508759,
0.014788035303354263,
0.030372127890586853,
0.03883051872253418,
0.2879197299480438,
-0.4613317847251892,
-0.09550546109676361,
0.11279192566871643,
0.23868834972381592,
0.096476249396801,
-0.1670081615447998,
0.46902450919151306,
0.26546424627304077,
0.3045371174812317,
0.07388196140527725,
0.05448496714234352,
-0.11051150411367416,
0.05656154453754425,
-0.33009079098701477,
-0.05804624781012535,
-0.2137906700372696,
-0.6464390754699707,
-0.1863231360912323,
-0.13583987951278687,
-0.3897404372692108,
-0.20134708285331726,
-0.49753040075302124,
0.02262575924396515,
0.3304998278617859,
0.28735512495040894,
0.04659687727689743,
0.005111765116453171,
-0.012121584266424179,
0.15767823159694672,
0.2601861357688904,
0.36816927790641785,
-0.15697365999221802,
0.11260533332824707,
-0.4349491596221924,
0.04409216344356537,
0.490644633769989,
0.2754599153995514,
-0.30696791410446167,
0.011532838456332684,
0.3151698410511017,
0.15183760225772858,
-0.22131620347499847,
-0.509723424911499,
0.05864071100950241,
0.08934348821640015,
0.13217411935329437,
-0.5074602961540222,
0.04773767665028572,
-0.1661607325077057,
0.0365353561937809,
-0.11530917882919312,
0.4496621787548065,
-0.047525033354759216,
-0.15776774287223816,
-0.25619015097618103,
-0.36864709854125977
] |
https://github.com/huggingface/datasets/pull/2222 | Fix too long WindowsFileLock name | Windows users should disable the max path length limit. It's a nightmare to handle it.
Also the lock path must not be changed in a random way. Otherwise from another process the lock path might not be the same and the locking mechanism won't work. | Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename. | 45 | text: Fix too long WindowsFileLock name
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename.
Windows users should disable the max path length limit. It's a nightmare to handle it.
Also the lock path must not be changed in a random way. Otherwise from another process the lock path might not be the same and the locking mechanism won't work. | [
0.032468635588884354,
-0.11919952929019928,
-0.0649326741695404,
-0.014758959412574768,
-0.12494005262851715,
0.026940934360027313,
0.3680647909641266,
0.0006231851875782013,
0.11159785091876984,
0.232513427734375,
0.23934872448444366,
-0.02415223978459835,
-0.1851966381072998,
0.011045986786484718,
-0.3776416778564453,
0.0039217472076416016,
-0.16791069507598877,
-0.03338949382305145,
-0.04131477326154709,
0.10922661423683167,
-0.2546124756336212,
0.3367822468280792,
-0.10011070221662521,
0.23393481969833374,
-0.3438092768192291,
0.03953717276453972,
-0.04847617447376251,
0.3572957217693329,
-0.06022190302610397,
-0.0719207301735878,
-0.3766963481903076,
0.22244691848754883,
-0.07798421382904053,
0.3894164264202118,
-0.00009394776134286076,
-0.1604105830192566,
0.25440430641174316,
0.1740230917930603,
-0.03120102919638157,
0.22066226601600647,
-0.14379093050956726,
-0.1270715594291687,
-0.08976099640130997,
-0.1951129138469696,
0.22099044919013977,
0.12422195822000504,
0.0697193369269371,
0.10716576874256134,
0.37449830770492554,
0.162660613656044,
0.36169394850730896,
0.024449478834867477,
0.041974443942308426,
-0.10937737673521042,
0.10484544932842255,
-0.3268824815750122,
-0.13801206648349762,
0.2055421620607376,
0.284472793340683,
-0.11602847278118134,
-0.31822946667671204,
0.006379075348377228,
-0.03275218605995178,
-0.06286077201366425,
0.15956729650497437,
-0.20697742700576782,
0.06971351057291031,
-0.20663800835609436,
0.27064093947410583,
0.04033360257744789,
0.07413506507873535,
0.1627110242843628,
-0.011606432497501373,
-0.04214802011847496,
0.20456111431121826,
-0.018663249909877777,
0.47912126779556274,
0.06943416595458984,
-0.04702839255332947,
0.07752484828233719,
0.07942476123571396,
-0.06678084284067154,
-0.15274551510810852,
-0.20930732786655426,
-0.043486036360263824,
0.08710070699453354,
0.13496947288513184,
-0.09738288074731827,
0.4552515745162964,
-0.035846270620822906,
0.1692318320274353,
0.2642897963523865,
-0.12631668150424957,
-0.0796699970960617,
0.06608614325523376,
-0.03046937845647335,
-0.12911319732666016,
0.5731226205825806,
-0.10580910742282867,
-0.027133014053106308,
-0.08960027247667313,
0.1463623344898224,
0.4544265866279602,
-0.027128830552101135,
-0.2688654661178589,
-0.04265249893069267,
0.006579108536243439,
-0.020163334906101227,
0.3102884292602539,
0.07632067799568176,
-0.23661381006240845,
0.1651623249053955,
0.016608964651823044,
-0.686207115650177,
0.028924327343702316,
0.2534613609313965,
0.16825219988822937,
-0.10309736430644989,
0.3083624839782715,
0.21158413589000702,
0.20608952641487122,
0.030667005106806755,
0.11465173214673996,
0.08689438551664352,
0.13322916626930237,
-0.19401311874389648,
0.06999717652797699,
-0.17795835435390472,
-0.2539495825767517,
0.201897993683815,
-0.16235961019992828,
-0.006059126928448677,
-0.37168142199516296,
0.07518266886472702,
0.1620297133922577,
-0.027958840131759644,
0.14599153399467468,
0.06854399293661118,
-0.06797897815704346,
-0.07567024976015091,
0.09098966419696808,
0.015728740021586418,
-0.05240302532911301,
-0.005911841988563538,
0.1726503074169159,
-0.017631035298109055,
-0.07892900705337524,
-0.09654070436954498,
0.18510845303535461,
0.07245796918869019,
-0.34220635890960693,
-0.10098449885845184,
-0.17981229722499847,
0.38385990262031555,
0.06688489019870758,
0.20473885536193848,
0.39277419447898865,
-0.3077385127544403,
-0.09721262007951736,
0.39304670691490173,
0.1102149486541748,
-0.10261689126491547,
0.10711529850959778,
-0.005817009136080742,
-0.3326628804206848,
0.2727518677711487,
0.1686791032552719,
0.15757878124713898,
0.09501604735851288,
-0.22313953936100006,
0.07579891383647919,
0.10831132531166077,
-0.024694912135601044,
0.021332774311304092,
-0.37645721435546875,
0.3752292990684509,
-0.24332094192504883,
-0.04173142462968826,
-0.28578680753707886,
0.11064059287309647,
-0.4731738567352295,
-0.2900053858757019,
0.2521236836910248,
-0.01472355704754591,
0.32351353764533997,
0.06673561036586761,
0.035198260098695755,
0.09110456705093384,
0.24388423562049866,
0.03278219699859619,
-0.40222230553627014,
-0.259654700756073,
-0.14944565296173096,
-0.14520445466041565,
0.15560010075569153,
-0.1191335991024971,
0.11078742891550064,
0.42729902267456055,
0.31117963790893555,
0.08732839673757553,
-0.16750478744506836,
0.19697882235050201,
0.145364910364151,
0.25560837984085083,
-0.15124964714050293,
0.33157265186309814,
-0.13361254334449768,
0.06735806912183762,
-0.23945632576942444,
-0.01761961728334427,
0.1368371546268463,
-0.057442378252744675,
-0.018180139362812042,
-0.1064552292227745,
0.03776990622282028,
0.07749190926551819,
0.3713964521884918,
0.30165666341781616,
-0.0931376963853836,
-0.23590055108070374,
0.2852420508861542,
0.1868046224117279,
-0.2922208309173584,
-0.048701997846364975,
0.08518397808074951,
-0.14131861925125122,
-0.4211689829826355,
-0.18091981112957,
0.024055548012256622,
-0.12473384290933609,
0.27088630199432373,
-0.04404910281300545,
0.03731120377779007,
0.30137017369270325,
0.23406948149204254,
0.1833326518535614,
-0.049293577671051025,
0.1271282285451889,
-0.08946513384580612,
-0.021103426814079285,
-0.008050652220845222,
0.12090148031711578,
-0.09041512757539749,
-0.05866296589374542,
0.1505662202835083,
-0.044379398226737976,
-0.27903270721435547,
-0.0859055146574974,
0.08039331436157227,
-0.04001016169786453,
-0.03249228745698929,
-0.3573770821094513,
0.04058828949928284,
0.03596354275941849,
0.18944081664085388,
0.2589970529079437,
-0.07453211396932602,
0.08280065655708313,
-0.008953429758548737,
-0.10173483937978745,
0.27257898449897766,
0.024987854063510895,
-0.07928117364645004,
0.15447860956192017,
0.009867168962955475,
0.1999225616455078,
-0.15042409300804138,
0.30996763706207275,
0.21977055072784424,
0.30260246992111206,
0.0049714334309101105,
0.07135230302810669,
-0.014849982224404812,
-0.35872218012809753,
0.2943366467952728,
-0.06912586092948914,
-0.12438830733299255,
0.22661322355270386,
-0.1250811517238617,
-0.20494993031024933,
-0.299504816532135,
-0.33513110876083374,
0.11522295325994492,
0.0882638692855835,
-0.17244985699653625,
-0.27361154556274414,
-0.1923694610595703,
0.01442645862698555,
-0.14558546245098114,
0.06832201778888702,
0.061195433139801025,
-0.2978527545928955,
0.20695489645004272,
0.4642640948295593,
-0.3062536418437958,
0.17307928204536438,
-0.11786840856075287,
0.004047408699989319,
-0.07748562097549438,
0.18318387866020203,
0.024484463036060333,
0.1701829880475998,
-0.004443835467100143,
0.24303755164146423,
0.2685827612876892,
-0.22373056411743164,
0.21083876490592957,
-0.004260053858160973,
-0.0993926003575325,
-0.42144742608070374,
-0.2150827944278717,
-0.11138159036636353,
-0.039322882890701294,
0.17207682132720947,
0.16661842167377472,
0.27976834774017334,
-0.05995216965675354,
-0.2820909917354584,
-0.014846493490040302,
-0.20162291824817657,
-0.016352783888578415,
-0.1763571947813034,
0.08219072967767715,
-0.18566322326660156,
-0.33356624841690063,
0.116395503282547,
-0.03119218908250332,
-0.3628993034362793,
0.2609179615974426,
-0.14804048836231232,
0.15109634399414062,
0.20680205523967743,
-0.09628139436244965,
0.18349707126617432,
-0.04778632894158363,
0.1012827455997467,
-0.11035630851984024,
-0.21535561978816986,
0.21550479531288147,
-0.13420094549655914,
-0.37530937790870667,
0.05831320211291313,
0.22133034467697144,
-0.28860536217689514,
-0.17173683643341064,
-0.23094382882118225,
-0.1451406627893448,
-0.29694420099258423,
0.27041763067245483,
-0.1793849915266037,
-0.11924050748348236,
0.3006746768951416,
-0.07837298512458801,
-0.35444021224975586,
-0.05250806361436844,
-0.07205167412757874,
0.2834525406360626,
0.09010493010282516,
0.17687059938907623,
-0.04426836222410202,
-0.1382049024105072,
-0.12061712145805359,
0.2928287088871002,
-0.09846754372119904,
0.17079481482505798,
0.13312426209449768,
-0.17916332185268402,
0.10903123021125793,
-0.20979198813438416,
-0.12028958648443222,
0.07536409795284271,
0.1988062560558319,
-0.1353924423456192,
0.12761807441711426,
-0.17491808533668518,
0.1399485319852829,
0.19695021212100983,
-0.22965992987155914,
-0.10952188819646835,
-0.3658003509044647,
-0.05801454931497574,
0.4889901280403137,
-0.03628232330083847,
0.03080524504184723,
0.07847506552934647,
0.2410733997821808,
-0.07309568673372269,
0.16822022199630737,
0.3470050096511841,
-0.12740853428840637,
-0.060196034610271454,
0.01850920543074608,
-0.01956653781235218,
-0.19167384505271912,
0.05264078080654144,
-0.12078919261693954,
0.10501621663570404,
-0.30976808071136475,
-0.24294337630271912,
0.1168578714132309,
-0.1825348436832428,
0.5740305185317993,
0.21310845017433167,
0.26851558685302734,
0.17167168855667114,
0.21230101585388184,
0.3154660761356354,
-0.21302078664302826,
-0.06250330805778503,
0.047032613307237625,
0.20111729204654694,
0.20482689142227173,
0.13766524195671082,
0.12068794667720795,
-0.2771499752998352,
-0.11382745206356049,
-0.2671142518520355,
-0.19315461814403534,
-0.02648448944091797,
-0.06337295472621918,
-0.3684113025665283,
0.30552366375923157,
0.10270684212446213,
-0.0365741066634655,
0.01021523680537939,
-0.12411360442638397,
0.07324524223804474,
-0.38858547806739807,
0.023297205567359924,
0.054657381027936935,
0.26341965794563293,
0.0420428030192852,
0.12780658900737762,
-0.16368430852890015,
0.22567901015281677,
-0.17735250294208527,
-0.10853073000907898,
-0.10033385455608368,
0.44470441341400146,
0.2877514064311981,
-0.4985804557800293,
-0.07332853227853775,
0.37599343061447144,
-0.04679369181394577,
0.1365956962108612,
0.15662701427936554,
0.41675257682800293,
-0.18678832054138184,
-0.03775705769658089,
-0.0002876175567507744,
-0.06158653646707535,
0.21828977763652802,
0.29056841135025024,
-0.2511036992073059,
0.014244448393583298,
-0.18725590407848358,
0.24257583916187286,
0.3110557794570923,
-0.3083091974258423,
0.06016702950000763,
-0.05955446511507034,
0.7985628843307495,
-0.04557245969772339,
-0.062302764505147934,
-0.14350154995918274,
-0.29105454683303833,
-0.1407427340745926,
0.29674196243286133,
-0.03381682187318802,
-0.23013636469841003,
-0.2540726065635681,
0.1063803881406784,
-0.022283628582954407,
0.18983182311058044,
-0.17734494805335999,
-0.3640902638435364,
-0.08840060979127884,
-0.0649094507098198,
-0.09073618054389954,
-0.21206782758235931,
0.3853272795677185,
-0.3938255310058594,
-0.05149472877383232,
0.17869070172309875,
0.31795406341552734,
0.18778987228870392,
0.030297808349132538,
-0.2982967793941498,
-0.10241760313510895,
0.27411505579948425,
-0.25742560625076294,
-0.27448201179504395,
-0.01796470209956169,
-0.40051865577697754,
-0.058136776089668274,
-0.3401203453540802,
0.17748357355594635,
-0.17811548709869385,
-0.3517954349517822,
0.03420540690422058,
0.3750665783882141,
-0.0609717071056366,
0.20610448718070984,
0.15289539098739624,
-0.17611929774284363,
-0.1444774568080902,
-0.08104296028614044,
0.015816081315279007,
-0.17154115438461304,
-0.11946801096200943,
-0.3900148272514343,
0.0590444877743721,
-0.07241760939359665,
-0.20422308146953583,
-0.00004756450653076172,
0.28395405411720276,
0.03681141510605812,
-0.07248853147029877,
-0.14224854111671448,
-0.3983073830604553,
-0.15921449661254883,
0.3533881604671478,
-0.0864325761795044,
-0.030039386823773384,
0.05750271677970886,
-0.13815903663635254,
-0.2770159840583801,
-0.1524747610092163,
0.16719886660575867,
-0.1746900975704193,
0.025746971368789673,
0.502747654914856,
0.09673266112804413,
-0.1097232848405838,
-0.42411112785339355,
-0.06108073145151138,
-0.3227110505104065,
-0.14859387278556824,
0.0873822420835495,
0.05015398934483528,
-0.26214906573295593,
0.11112228035926819,
-0.0069636814296245575,
0.3247660994529724,
0.2446267306804657,
0.020518239587545395,
-0.11379634588956833,
-0.3601376712322235,
-0.15697357058525085,
-0.346801221370697,
0.21977834403514862,
-0.18855971097946167,
0.11881797015666962,
0.26245757937431335,
-0.2511198818683624,
-0.5262372493743896,
0.17313320934772491,
-0.09099079668521881,
-0.1264970451593399,
0.1630162000656128,
-0.1941756010055542,
0.013166423887014389,
0.014540785923600197,
0.30574071407318115,
0.39217108488082886,
0.13228845596313477,
-0.45077642798423767,
-0.2303285300731659,
0.0030463337898254395,
0.06017044186592102,
0.01875506527721882,
0.14944778382778168,
-0.42621201276779175,
-0.020720399916172028,
0.2810908257961273,
-0.05032144859433174,
0.21579712629318237,
0.16028687357902527,
0.22372454404830933,
0.15480244159698486,
0.16614218056201935,
0.049270883202552795,
-0.0787186473608017,
0.026719681918621063,
0.21300846338272095,
-0.1212829202413559,
0.15152323246002197,
-0.22034567594528198,
0.06056194007396698,
-0.2991383373737335,
0.06303136795759201,
0.0703517347574234,
0.21402814984321594,
-0.06919779628515244,
0.18330979347229004,
-0.339380145072937,
0.18831183016300201,
0.08582433313131332,
0.14840063452720642,
-0.044391728937625885,
-0.45095720887184143,
0.3858228027820587,
0.4850575029850006,
-0.18874646723270416,
0.08154267817735672,
-0.22560249269008636,
-0.39015960693359375,
-0.040322061628103256,
0.0605180598795414,
-0.00848056748509407,
-0.2632547616958618,
-0.3536321520805359,
0.323407381772995,
0.06861510127782822,
-0.16293027997016907,
-0.11614847183227539,
0.2279783934354782,
-0.13105197250843048,
-0.025295790284872055,
0.2757909595966339,
-0.010094035416841507,
-0.009899936616420746,
0.1110491007566452,
-0.19240331649780273,
0.1374673843383789,
0.012900562956929207,
0.18710921704769135,
0.19702455401420593,
-0.10618238151073456,
0.11761750280857086,
0.15830600261688232,
0.14079737663269043,
0.05284421145915985,
-0.09009313583374023,
-0.006005801260471344,
0.026017026975750923,
-0.1262984275817871,
-0.20569990575313568,
0.2666179835796356,
-0.36363884806632996,
-0.24271151423454285,
-0.0440208874642849,
0.08377548307180405,
-0.12896648049354553,
0.23123720288276672,
0.03182965889573097,
0.18974439799785614,
0.2763364017009735,
0.11544355750083923,
0.009012743830680847,
0.019634045660495758,
-0.14264756441116333,
0.10972949862480164,
0.14820054173469543,
-0.3896559774875641,
-0.10039746016263962,
0.020700320601463318,
-0.008269749581813812,
0.25180602073669434,
0.055546388030052185,
0.24966393411159515,
0.1800491213798523,
0.03193335980176926,
-0.052636805921792984,
0.06984329968690872,
0.09799735993146896,
-0.19718198478221893,
0.3397757411003113,
0.18777167797088623,
0.09784151613712311,
0.1299450844526291,
0.2844836711883545,
-0.39691561460494995,
0.17795716226100922,
0.05612466111779213,
-0.20917874574661255,
0.2999504804611206,
0.05693279951810837,
0.537482500076294,
-0.050920918583869934,
-0.051124319434165955,
0.1544850468635559,
-0.3255583941936493,
-0.17380455136299133,
0.13325302302837372,
0.005369042977690697,
0.22069698572158813,
-0.11141300946474075,
0.1830684095621109,
0.2112780511379242,
0.35832780599594116,
0.24370604753494263,
0.08540862798690796,
-0.22421278059482574,
-0.015497907996177673,
-0.3722371459007263,
0.2387298047542572,
-0.008011359721422195,
-0.15546411275863647,
-0.019252849742770195,
-0.04313004016876221,
-0.18078094720840454,
-0.2729150056838989,
0.22732225060462952,
0.08802112936973572,
0.0844278633594513,
0.24142979085445404,
-0.195148304104805,
0.40675729513168335,
0.5465021729469299,
-0.08518166840076447,
0.17916235327720642,
-0.21157127618789673,
0.4130282700061798,
0.040119718760252,
0.27987685799598694,
0.002174617722630501,
-0.02056991308927536,
-0.040999140590429306,
0.16791489720344543,
0.17992326617240906,
-0.029861846938729286,
-0.15833160281181335,
-0.3348369598388672,
0.07814133167266846,
-0.31257882714271545,
0.1338745802640915,
-0.11826293170452118,
-0.5396763682365417,
0.39263877272605896,
-0.06941431760787964,
-0.05620124191045761,
-0.08196178078651428,
-0.27639007568359375,
0.22437451779842377,
-0.1766490340232849,
0.14276665449142456,
-0.29602426290512085,
0.40938547253608704,
0.2058512568473816,
0.20478838682174683,
0.04154814034700394,
0.27463340759277344,
0.08609237521886826,
-0.01360933855175972,
-0.23125052452087402,
-0.3066471219062805,
0.2870408296585083,
-0.116608627140522,
-0.32802021503448486,
0.1261548101902008,
0.4425937533378601,
-0.11740116029977798,
0.06587082147598267,
-0.24523043632507324,
0.061314694583415985,
-0.07056716829538345,
-0.07351609319448471,
-0.12214304506778717,
0.29215630888938904,
-0.051782723516225815,
-0.01965351402759552,
0.022980142384767532,
0.0030720755457878113,
0.26645374298095703,
-0.1488604098558426,
-0.08709727227687836,
-0.009111016988754272
] |
https://github.com/huggingface/datasets/pull/2222 | Fix too long WindowsFileLock name | Do you agree with handling the case where MAX_PATH is not disabled? If not, we can close this PR.
If so, would it work a deterministic lock path instead of random? | Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename. | 31 | text: Fix too long WindowsFileLock name
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename.
Do you agree with handling the case where MAX_PATH is not disabled? If not, we can close this PR.
If so, would it work a deterministic lock path instead of random? | [
0.2066618949174881,
-0.36177968978881836,
-0.09380221366882324,
0.06152907758951187,
-0.10196433961391449,
-0.005906946957111359,
0.1845504641532898,
-0.20636998116970062,
0.034522801637649536,
0.0032133832573890686,
0.5875999331474304,
-0.11719012260437012,
-0.35652944445610046,
-0.01964205503463745,
-0.2534548342227936,
-0.13184300065040588,
-0.105549655854702,
-0.03960961103439331,
0.2840903401374817,
0.25471967458724976,
-0.4309650659561157,
0.19466963410377502,
-0.3993109464645386,
0.23379205167293549,
-0.2433072030544281,
0.05824308842420578,
-0.17662154138088226,
0.3397589921951294,
0.12440761178731918,
-0.018096737563610077,
-0.4907146692276001,
0.2785302698612213,
0.015580151230096817,
0.010056830942630768,
-0.00012013185914838687,
-0.2690568268299103,
0.2981778383255005,
-0.08300472050905228,
0.3963971734046936,
0.1430908739566803,
-0.3504658639431,
0.026068219915032387,
-0.6610777378082275,
-0.21416912972927094,
0.10591471940279007,
0.10395414382219315,
0.13461370766162872,
0.14605028927326202,
-0.014079362154006958,
0.18435680866241455,
0.15553873777389526,
-0.08650071918964386,
0.018289756029844284,
0.06992722302675247,
0.08582247048616409,
-0.2781842350959778,
-0.0667458176612854,
0.23119260370731354,
0.1470550298690796,
0.0016772504895925522,
-0.14978337287902832,
-0.19967280328273773,
0.13398385047912598,
-0.22808466851711273,
0.35227835178375244,
-0.16755537688732147,
0.44064173102378845,
0.07170776277780533,
0.3014645576477051,
0.30569297075271606,
0.029419127851724625,
0.1493454873561859,
-0.0786391943693161,
-0.10917125642299652,
0.17185784876346588,
-0.23628254234790802,
0.3844000995159149,
0.14804568886756897,
-0.3154257535934448,
0.22403210401535034,
0.04117699712514877,
-0.130300834774971,
-0.1531592607498169,
-0.2803370952606201,
-0.4191684424877167,
0.13076943159103394,
0.08596203476190567,
0.11967617273330688,
0.222513347864151,
-0.12872706353664398,
0.3123425841331482,
0.026392251253128052,
0.08602583408355713,
-0.40585657954216003,
0.08250632882118225,
-0.19114592671394348,
-0.15802541375160217,
0.7930631041526794,
0.1524890959262848,
-0.0017429888248443604,
-0.22518527507781982,
0.06943793594837189,
0.49174246191978455,
-0.03482374548912048,
0.08089807629585266,
-0.23064643144607544,
0.05655543506145477,
0.2724892795085907,
0.2958008646965027,
0.16174377501010895,
-0.21552307903766632,
0.38732898235321045,
0.03812029957771301,
-0.764259934425354,
-0.24757184088230133,
0.377234548330307,
0.1489839106798172,
-0.22049039602279663,
-0.05807501822710037,
0.48183077573776245,
0.14956164360046387,
-0.17998649179935455,
0.18893645703792572,
0.3058256506919861,
0.084245465695858,
0.11888416856527328,
-0.009232679381966591,
-0.3654959201812744,
0.19578157365322113,
0.36319321393966675,
0.030140813440084457,
-0.030949778854846954,
-0.31832727789878845,
-0.08438397198915482,
-0.13361331820487976,
0.19013917446136475,
0.12647327780723572,
-0.1972908079624176,
0.0015902146697044373,
-0.07401063293218613,
0.005786065012216568,
-0.27038800716400146,
0.27295970916748047,
0.013297926634550095,
-0.14601823687553406,
-0.30506882071495056,
-0.2063462734222412,
-0.22072196006774902,
-0.06424877047538757,
0.6289301514625549,
-0.06613514572381973,
-0.30601969361305237,
0.13246862590312958,
0.11494380235671997,
-0.3087477684020996,
0.1267455816268921,
0.31349843740463257,
-0.13746656477451324,
0.13822676241397858,
0.3412707448005676,
0.3108036518096924,
-0.20829154551029205,
0.16763457655906677,
0.007838062010705471,
-0.28976523876190186,
0.22746583819389343,
0.013291984796524048,
0.17759104073047638,
0.41237953305244446,
-0.10803434252738953,
0.07169961929321289,
0.11021243035793304,
-0.036377519369125366,
-0.12908074259757996,
-0.45847809314727783,
0.16633951663970947,
-0.055396147072315216,
0.2115572690963745,
-0.12134717404842377,
0.05770685151219368,
-0.530135452747345,
-0.09820111095905304,
0.3957854211330414,
-0.17151010036468506,
0.030652722343802452,
-0.25994181632995605,
0.30042368173599243,
0.059789616614580154,
0.01873202994465828,
-0.23216105997562408,
-0.4869222342967987,
-0.30001744627952576,
0.16306519508361816,
-0.08873704820871353,
0.41503965854644775,
-0.20513096451759338,
-0.06623808294534683,
0.6050969362258911,
0.5327792763710022,
0.15803562104701996,
-0.2854580879211426,
0.11994030326604843,
0.10870690643787384,
0.3197558522224426,
-0.11044728010892868,
0.1581699550151825,
0.0733468160033226,
0.0024561844766139984,
-0.1779705286026001,
-0.3069772720336914,
0.3250736594200134,
-0.32939064502716064,
0.138473778963089,
-0.2932838499546051,
0.3037911057472229,
0.2942846119403839,
0.1499907225370407,
0.2076076716184616,
-0.14995740354061127,
-0.38097578287124634,
-0.050482310354709625,
-0.11229413002729416,
-0.7000579833984375,
-0.055519986897706985,
0.10762327909469604,
-0.06847243756055832,
-0.34134504199028015,
0.1332980990409851,
-0.39720988273620605,
0.0012054145336151123,
0.20852401852607727,
-0.10684558004140854,
0.3102676272392273,
0.2881642282009125,
0.11793240159749985,
-0.023340947926044464,
-0.02561703324317932,
0.2167932391166687,
0.050771940499544144,
-0.13450616598129272,
0.07329003512859344,
0.028792409226298332,
-0.24029943346977234,
0.04070331156253815,
-0.12621355056762695,
0.1952684074640274,
-0.16289277374744415,
0.05452347546815872,
0.17408151924610138,
-0.16349981725215912,
-0.17398643493652344,
-0.4948464334011078,
-0.25234663486480713,
0.15229426324367523,
0.29996293783187866,
0.43814364075660706,
-0.12421751022338867,
0.0800761878490448,
-0.3282196819782257,
-0.04938796907663345,
0.2208508402109146,
-0.17043182253837585,
-0.24515283107757568,
0.35768505930900574,
0.1606433391571045,
0.18447339534759521,
-0.21520160138607025,
0.3173307776451111,
0.25930139422416687,
0.32019418478012085,
-0.16207145154476166,
0.052960433065891266,
0.18687450885772705,
-0.186820849776268,
0.3593476116657257,
0.17832639813423157,
-0.40087687969207764,
0.30208542943000793,
-0.10522086918354034,
-0.12392758578062057,
-0.22883161902427673,
-0.5153749585151672,
0.26885876059532166,
0.0796448215842247,
-0.26256516575813293,
-0.32518795132637024,
0.2093425691127777,
-0.075578473508358,
-0.21687422692775726,
0.14280502498149872,
0.05548897385597229,
-0.03969024866819382,
0.12159635871648788,
0.22217293083667755,
-0.36835628747940063,
0.12674622237682343,
-0.16841505467891693,
0.4125920534133911,
-0.2800019085407257,
-0.11501763015985489,
0.20656880736351013,
0.25070223212242126,
0.10012187063694,
0.12489716708660126,
0.2054678499698639,
-0.32165756821632385,
0.2080279439687729,
-0.1858704686164856,
-0.4283078908920288,
-0.2602311968803406,
-0.36775171756744385,
0.06482356786727905,
0.011952953413128853,
0.05134423077106476,
0.5595037937164307,
0.2694011926651001,
0.009286627173423767,
-0.07738953828811646,
0.011112076230347157,
0.1755906194448471,
0.48532694578170776,
-0.3995399475097656,
0.3579336404800415,
0.06725692003965378,
-0.19987145066261292,
0.25178399682044983,
0.03228474035859108,
-0.3109579384326935,
0.3993697166442871,
0.03461291268467903,
0.23921361565589905,
0.07182860374450684,
-0.0843440517783165,
0.16386336088180542,
-0.14383439719676971,
-0.26539817452430725,
-0.05999379605054855,
-0.34914037585258484,
0.03597954660654068,
0.20121555030345917,
-0.18305107951164246,
-0.23727166652679443,
0.07593623548746109,
-0.42580175399780273,
-0.07041077315807343,
-0.24093806743621826,
-0.3777267634868622,
-0.017175568267703056,
0.5217254757881165,
-0.06092211604118347,
-0.1350405216217041,
0.4054361581802368,
-0.2481626272201538,
-0.17678725719451904,
-0.07529302686452866,
-0.03815215080976486,
0.17074112594127655,
0.03264070674777031,
0.4345927834510803,
0.5184277892112732,
-0.3556957244873047,
0.09085829555988312,
0.3922548294067383,
-0.16802848875522614,
0.025394489988684654,
-0.17417871952056885,
-0.05381174385547638,
0.19849178194999695,
0.057360149919986725,
0.3160686194896698,
0.14609487354755402,
0.15450483560562134,
-0.35325610637664795,
0.13882040977478027,
-0.02738521620631218,
0.262246698141098,
0.2083858847618103,
-0.15580925345420837,
0.20061185956001282,
-0.2772185206413269,
0.2630910575389862,
0.2608779966831207,
0.02079179883003235,
0.049471694976091385,
0.04192620515823364,
0.01678510010242462,
-0.026676742359995842,
-0.08312086760997772,
0.5100585222244263,
0.3011089861392975,
-0.1062454804778099,
0.12612444162368774,
-0.0370633527636528,
-0.31089529395103455,
0.018718212842941284,
-0.0909089520573616,
0.12670040130615234,
-0.0020048990845680237,
-0.32772502303123474,
-0.022217899560928345,
-0.44856390357017517,
0.5111434459686279,
0.08669070899486542,
0.19970543682575226,
0.026223111897706985,
0.2187408208847046,
0.4502160847187042,
-0.13242696225643158,
0.05802952125668526,
0.044472191482782364,
0.3807923495769501,
0.4494101107120514,
-0.048690102994441986,
0.12518277764320374,
-0.181134894490242,
-0.06991694867610931,
0.0892256498336792,
-0.36975032091140747,
0.032011356204748154,
-0.024226460605859756,
-0.1736845225095749,
0.4254947900772095,
0.5915138125419617,
-0.2778061032295227,
0.12550415098667145,
-0.03813164681196213,
0.056546181440353394,
-0.30582740902900696,
0.03337834030389786,
0.004936056211590767,
0.2076980173587799,
-0.12941046059131622,
-0.0035684723407030106,
-0.31086018681526184,
0.18319861590862274,
0.04423477500677109,
-0.1779506951570511,
-0.12274256348609924,
0.42483097314834595,
0.3006851077079773,
-0.4943196177482605,
0.17366839945316315,
0.5684973001480103,
-0.16700828075408936,
-0.024153798818588257,
0.13726814091205597,
0.6394671201705933,
-0.2502460777759552,
-0.1062924712896347,
0.03308920934796333,
0.0654974952340126,
-0.016332043334841728,
0.12599234282970428,
-0.04605589061975479,
0.22235220670700073,
-0.16656604409217834,
0.18651406466960907,
0.46822673082351685,
-0.4423306882381439,
0.01922687329351902,
0.07859452813863754,
1.1343101263046265,
0.11928685009479523,
0.0562472902238369,
-0.37712791562080383,
-0.24880196154117584,
0.002057670848444104,
0.08320796489715576,
0.10981637239456177,
-0.2837166488170624,
-0.21896131336688995,
0.018916936591267586,
-0.2038787603378296,
0.583811342716217,
-0.06274166703224182,
-0.2871882915496826,
0.11590872704982758,
0.07703176140785217,
-0.19149461388587952,
0.12402570992708206,
0.18854454159736633,
-0.4220895767211914,
0.17791520059108734,
0.15336072444915771,
-0.03083055093884468,
0.07393543422222137,
-0.044144805520772934,
-0.2711753249168396,
0.10051748901605606,
0.2169102430343628,
-0.4999160170555115,
-0.3597927689552307,
-0.3488999009132385,
-0.29810643196105957,
-0.5444493293762207,
-0.3925945460796356,
0.07922251522541046,
-0.06835246086120605,
-0.20680639147758484,
-0.06866022944450378,
0.47308871150016785,
-0.05145969241857529,
0.347840279340744,
0.23148438334465027,
-0.1476963311433792,
0.0948399156332016,
-0.019795607775449753,
-0.1881961226463318,
-0.20153868198394775,
-0.005345672369003296,
-0.2766610085964203,
-0.2623627185821533,
-0.2368362843990326,
-0.42843568325042725,
0.03850468993186951,
0.46496570110321045,
-0.028989728540182114,
-0.17068761587142944,
-0.13045689463615417,
-0.2549281418323517,
-0.12400192022323608,
0.08377623558044434,
-0.06295391917228699,
-0.025499559938907623,
0.009580671787261963,
-0.23753230273723602,
-0.09295003861188889,
-0.12111710011959076,
-0.06843622773885727,
0.09920378774404526,
0.08384191244840622,
0.33250197768211365,
-0.20248357951641083,
-0.11820945143699646,
-0.2205144762992859,
0.06495536118745804,
-0.48750197887420654,
-0.3717113435268402,
0.11631999164819717,
0.034424927085638046,
-0.43400800228118896,
-0.004887822084128857,
0.187530055642128,
0.35987240076065063,
0.40432804822921753,
0.08643031120300293,
-0.270643413066864,
-0.3469916582107544,
-0.20807389914989471,
-0.24022535979747772,
0.1928579956293106,
-0.11289817839860916,
0.2636130452156067,
0.03601241111755371,
-0.5793848633766174,
-0.3068521320819855,
0.18022646009922028,
-0.2604212760925293,
0.08560158312320709,
-0.05929131060838699,
-0.09300415962934494,
-0.2208298295736313,
-0.09868057072162628,
0.12853659689426422,
0.4520421028137207,
0.3145853877067566,
-0.1738027036190033,
-0.13332368433475494,
0.16599637269973755,
0.3854370415210724,
-0.07298153638839722,
0.19774016737937927,
-0.1760440319776535,
-0.024038683623075485,
0.4822539687156677,
-0.13048765063285828,
0.3680354058742523,
0.2255508452653885,
0.12725813686847687,
0.02933235466480255,
0.051156677305698395,
-0.09164685755968094,
-0.040493354201316833,
0.2512654662132263,
0.509423553943634,
-0.011353814043104649,
0.5101660490036011,
-0.37784507870674133,
0.13483022153377533,
-0.5730975866317749,
0.2318350374698639,
0.060491472482681274,
0.2911281883716583,
0.03159809112548828,
0.03915061056613922,
-0.520923376083374,
0.05841265618801117,
-0.02464052475988865,
0.40421062707901,
-0.2576499879360199,
-0.4507026672363281,
0.4915749430656433,
0.21982140839099884,
-0.36968010663986206,
0.23367853462696075,
-0.2358849048614502,
-0.44523146748542786,
0.006002277135848999,
0.17442487180233002,
0.08653135597705841,
-0.2765159010887146,
-0.3134351372718811,
0.22359254956245422,
0.36806318163871765,
-0.15601909160614014,
-0.09002915024757385,
0.4713994264602661,
-0.009815935045480728,
0.0746370404958725,
0.20761874318122864,
0.21764425933361053,
0.11053603142499924,
0.007844295352697372,
-0.12879514694213867,
0.14602290093898773,
0.11211748421192169,
0.25149139761924744,
0.061786726117134094,
-0.20421357452869415,
0.6198261976242065,
0.29009681940078735,
0.012818962335586548,
-0.05356019735336304,
0.18377983570098877,
0.1890864074230194,
0.16621385514736176,
0.05983787775039673,
0.012437356635928154,
-0.04508484527468681,
-0.29111364483833313,
-0.3983451724052429,
0.09684926271438599,
-0.08806044608354568,
-0.16481168568134308,
0.2285023033618927,
0.013329718261957169,
0.19467419385910034,
0.4449811577796936,
0.07471184432506561,
0.2289619892835617,
-0.05871598422527313,
0.11617260426282883,
-0.04224857687950134,
0.1430658996105194,
-0.5836308598518372,
0.07422211021184921,
0.06502776592969894,
-0.017273694276809692,
0.5371171236038208,
-0.10956739634275436,
0.31412678956985474,
0.012235604226589203,
0.19218413531780243,
-0.20402127504348755,
-0.1449079066514969,
0.3024612367153168,
-0.0714620053768158,
0.27815622091293335,
0.2976859211921692,
0.1501120924949646,
0.2348398119211197,
0.07096196711063385,
-0.18995465338230133,
0.5029559135437012,
0.06776002049446106,
-0.15804040431976318,
-0.10590602457523346,
0.07209731638431549,
0.5511380434036255,
-0.017137162387371063,
0.10489330440759659,
0.1268208920955658,
-0.21812793612480164,
-0.14856372773647308,
-0.10537540912628174,
0.09992621093988419,
0.1664283573627472,
0.187813401222229,
0.031668152660131454,
0.024073202162981033,
0.12859314680099487,
0.12447710335254669,
0.09125541150569916,
-0.3355763554573059,
0.04636885225772858,
-0.23719774186611176,
0.2034429907798767,
-0.03856445476412773,
-0.25182366371154785,
0.13300159573554993,
-0.2388068288564682,
-0.004031479358673096,
-0.26724815368652344,
-0.12761318683624268,
0.41100195050239563,
0.08454160392284393,
0.3977425992488861,
-0.06055603176355362,
0.2361401617527008,
0.5520222783088684,
0.21074318885803223,
0.14285917580127716,
-0.4505937993526459,
0.24359230697155,
0.323795884847641,
-0.0008529834449291229,
-0.18948814272880554,
-0.04281514137983322,
0.10443739593029022,
0.20262955129146576,
0.18489500880241394,
0.0011702217161655426,
0.017984479665756226,
-0.05895282328128815,
-0.07425190508365631,
-0.23656463623046875,
0.17921943962574005,
-0.3083186149597168,
-0.3569117784500122,
0.40328550338745117,
-0.21474994719028473,
-0.14150723814964294,
-0.20905961096286774,
-0.0642392560839653,
0.1039491668343544,
-0.179169163107872,
0.17001445591449738,
-0.14269483089447021,
0.2421444058418274,
0.015420973300933838,
0.42444849014282227,
-0.15294702351093292,
0.19849878549575806,
-0.07938316464424133,
-0.11097594350576401,
-0.3085189461708069,
-0.15041251480579376,
0.5319468975067139,
-0.07042552530765533,
-0.32203933596611023,
-0.11279589682817459,
0.5699946880340576,
-0.04208003729581833,
0.017847666516900063,
-0.32449111342430115,
-0.19131354987621307,
0.1302817314863205,
0.09639207273721695,
-0.2278185784816742,
-0.04531293734908104,
-0.24927648901939392,
-0.08643577992916107,
-0.08724608272314072,
-0.05930878221988678,
-0.15357717871665955,
-0.2431343048810959,
-0.13185913860797882,
-0.24613678455352783
] |
https://github.com/huggingface/datasets/pull/2222 | Fix too long WindowsFileLock name | I'd rather not handle this at all, since there will be other places in the code where the limit will break things | Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename. | 22 | text: Fix too long WindowsFileLock name
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename.
I'd rather not handle this at all, since there will be other places in the code where the limit will break things | [
-0.04061548411846161,
-0.32900547981262207,
-0.1971159726381302,
-0.09681957960128784,
-0.2457541972398758,
0.12671774625778198,
0.09610433876514435,
0.08805296570062637,
0.11865794658660889,
0.1667904108762741,
0.49164482951164246,
-0.2889949381351471,
-0.28837481141090393,
0.10746002942323685,
-0.2663571238517761,
0.09001748263835907,
-0.1855543851852417,
-0.045572638511657715,
-0.012971654534339905,
0.2485966831445694,
-0.3401329219341278,
0.18867574632167816,
0.039846763014793396,
0.2568316161632538,
-0.36307114362716675,
0.051474679261446,
0.05995099991559982,
0.3530653119087219,
-0.03957676142454147,
-0.11738234013319016,
-0.4063106179237366,
0.1441873162984848,
-0.06585515290498734,
-0.08583097904920578,
-0.00010828911763383076,
-0.23684614896774292,
0.24104537069797516,
-0.034412894397974014,
0.0010648081079125404,
0.1363423764705658,
-0.10546167194843292,
-0.10281969606876373,
-0.20438601076602936,
-0.27986255288124084,
0.25606948137283325,
0.1736287623643875,
0.13572435081005096,
0.0393681600689888,
0.18695154786109924,
0.3046678602695465,
0.23431052267551422,
-0.04329051077365875,
-0.08356031775474548,
-0.12129593640565872,
0.17589280009269714,
-0.4005357027053833,
-0.0165281742811203,
0.2936302125453949,
0.21498095989227295,
-0.009172294288873672,
-0.053240515291690826,
-0.04475332051515579,
-0.02833237312734127,
-0.19613799452781677,
0.22157958149909973,
-0.24302758276462555,
0.4978785514831543,
0.04245182126760483,
0.22419267892837524,
0.30404600501060486,
-0.08635614067316055,
0.15606938302516937,
-0.08526121079921722,
-0.12992730736732483,
0.09314601868391037,
-0.20462001860141754,
0.3676064908504486,
0.011179604567587376,
-0.1324048489332199,
0.12139588594436646,
-0.21565906703472137,
-0.047626759856939316,
-0.16222965717315674,
-0.08098851144313812,
-0.16423475742340088,
0.08182920515537262,
0.10062450915575027,
0.042621344327926636,
0.5624504089355469,
-0.1750527024269104,
0.20887161791324615,
0.13450641930103302,
0.0037519074976444244,
-0.03168749809265137,
0.10096080601215363,
-0.10091981291770935,
-0.2572736144065857,
0.4848313331604004,
0.14351609349250793,
-0.07325185090303421,
0.021318510174751282,
-0.009614229202270508,
0.45806893706321716,
0.0539328008890152,
-0.17902998626232147,
-0.16227732598781586,
0.13004928827285767,
-0.05426594987511635,
0.12343308329582214,
0.07786836475133896,
0.07938539981842041,
0.15046274662017822,
0.017625931650400162,
-0.7193629741668701,
-0.28824999928474426,
0.39920660853385925,
0.3730844259262085,
-0.08399297297000885,
-0.03613877296447754,
0.22990499436855316,
0.25039443373680115,
0.05865173041820526,
0.34382590651512146,
0.09418594837188721,
0.15042252838611603,
-0.1636253297328949,
-0.0004801638424396515,
-0.2530180811882019,
0.026630042120814323,
0.07643052190542221,
-0.10415998846292496,
0.2308964878320694,
-0.24776723980903625,
0.061057716608047485,
-0.036217670887708664,
-0.007285851985216141,
0.19555814564228058,
-0.15975631773471832,
0.1533375084400177,
-0.194441556930542,
0.06138771027326584,
-0.19175828993320465,
0.23785275220870972,
0.09122233092784882,
0.028025377541780472,
-0.00649670697748661,
-0.16391505300998688,
-0.24320241808891296,
0.005058027803897858,
0.20451825857162476,
-0.2251901924610138,
-0.24251814186573029,
-0.1083516925573349,
0.2733151316642761,
-0.12227563560009003,
0.2948295474052429,
0.19105267524719238,
-0.13796094059944153,
-0.013899765908718109,
0.3482847809791565,
0.21497029066085815,
-0.07793422788381577,
0.19060517847537994,
-0.013334500603377819,
-0.3062916696071625,
0.21059231460094452,
-0.022534172981977463,
0.01262015849351883,
-0.03553193435072899,
-0.09404048323631287,
0.10963616520166397,
0.2073150873184204,
-0.10810242593288422,
-0.026362568140029907,
-0.41136935353279114,
0.4454287886619568,
-0.1124897375702858,
0.057694677263498306,
-0.05458316206932068,
-0.08051726222038269,
-0.5030068755149841,
-0.18147999048233032,
0.32614532113075256,
-0.09147556871175766,
0.18221531808376312,
-0.22263522446155548,
0.23749063909053802,
0.2547212839126587,
0.09290678054094315,
-0.12297986447811127,
-0.1568574458360672,
-0.3243134319782257,
-0.07140202075242996,
-0.18371336162090302,
0.17251721024513245,
-0.1999037265777588,
-0.13726750016212463,
0.5799544453620911,
0.23324260115623474,
0.10798756778240204,
-0.07184737175703049,
0.2600809335708618,
-0.04166858270764351,
0.27909886837005615,
-0.2626885771751404,
0.14159879088401794,
-0.14611369371414185,
-0.10024729371070862,
-0.013437477871775627,
-0.4636017084121704,
0.12909245491027832,
-0.24853511154651642,
-0.05317468196153641,
0.026283686980605125,
0.4276071786880493,
0.33020520210266113,
0.2547408640384674,
0.1149635761976242,
0.021641738712787628,
-0.4568294584751129,
0.18877838551998138,
0.000805046409368515,
-0.5546755194664001,
0.12714724242687225,
0.10814228653907776,
-0.2500515878200531,
-0.2738542854785919,
-0.13133428990840912,
-0.06564135104417801,
-0.05490837246179581,
0.23271429538726807,
-0.06785058975219727,
0.35178110003471375,
0.5693197846412659,
0.10747364908456802,
0.03863896057009697,
-0.1725175380706787,
0.25114044547080994,
-0.06989236921072006,
-0.09284451603889465,
-0.05934019386768341,
0.1763094663619995,
-0.2961052656173706,
0.11201771348714828,
-0.04995408654212952,
0.0007197186350822449,
-0.21659128367900848,
0.14579172432422638,
0.16695386171340942,
-0.17135746777057648,
-0.26179060339927673,
-0.44517913460731506,
-0.1418076604604721,
-0.10513848066329956,
0.44592949748039246,
0.3217223584651947,
-0.03515954315662384,
0.0004522465169429779,
0.1458023339509964,
-0.17729374766349792,
0.3005943298339844,
-0.2520914077758789,
0.031015470623970032,
0.35483795404434204,
0.01588958501815796,
0.14362245798110962,
-0.26851481199264526,
0.223472461104393,
0.07868940383195877,
0.2766774594783783,
-0.018394645303487778,
0.020953282713890076,
-0.023888006806373596,
-0.23587089776992798,
0.41602760553359985,
0.12992292642593384,
-0.19467276334762573,
0.15826265513896942,
-0.07466452568769455,
-0.29480883479118347,
-0.09610474109649658,
-0.5161173343658447,
0.10887376964092255,
0.06295156478881836,
-0.2117299884557724,
-0.18393206596374512,
0.02337726764380932,
-0.23916199803352356,
-0.055778078734874725,
-0.12119858711957932,
-0.10104620456695557,
-0.3469291925430298,
0.06752896308898926,
0.399394690990448,
-0.46954140067100525,
0.12167167663574219,
-0.12840482592582703,
0.18017379939556122,
-0.07061221450567245,
-0.05724770575761795,
0.16856814920902252,
0.33824190497398376,
0.11465451866388321,
0.14812807738780975,
0.04711339622735977,
-0.4018324613571167,
0.21272589266300201,
-0.009545017965137959,
-0.1587314009666443,
-0.3186402916908264,
-0.2836829423904419,
0.14894437789916992,
0.270250529050827,
0.04217861592769623,
0.47840192914009094,
0.24673530459403992,
0.21943272650241852,
-0.3842232823371887,
-0.06934932619333267,
0.05695956200361252,
0.3164336383342743,
-0.2940275967121124,
0.22293628752231598,
0.2456807643175125,
-0.11016151309013367,
0.37441033124923706,
0.1620463728904724,
-0.45747238397598267,
0.32760411500930786,
-0.23121723532676697,
0.28028327226638794,
0.4309772551059723,
-0.054471392184495926,
0.27605360746383667,
-0.020952187478542328,
-0.0702616423368454,
0.03875945881009102,
-0.09016864001750946,
0.23266103863716125,
-0.03980715572834015,
-0.15979433059692383,
-0.07567042112350464,
-0.014179650694131851,
-0.30443188548088074,
-0.012554790824651718,
-0.2375868409872055,
-0.2020415961742401,
-0.27029550075531006,
0.22072386741638184,
-0.21050229668617249,
-0.34237492084503174,
0.29230761528015137,
-0.20972822606563568,
-0.33109837770462036,
-0.10784883052110672,
-0.03176312893629074,
0.0992686077952385,
0.02540726587176323,
0.13470380008220673,
0.1893022656440735,
-0.14390981197357178,
0.02870730683207512,
0.13260206580162048,
-0.14038074016571045,
0.21709074079990387,
-0.061318859457969666,
-0.05559925734996796,
0.09417479485273361,
0.003675423562526703,
0.2046710103750229,
-0.1056329682469368,
0.11476203799247742,
-0.3081420063972473,
0.15560157597064972,
-0.07224791496992111,
0.36554384231567383,
0.32890623807907104,
-0.19748015701770782,
0.0030643530189990997,
-0.26732197403907776,
0.3133350908756256,
0.3260149359703064,
-0.06314528733491898,
-0.004491480067372322,
-0.050607066601514816,
0.11251117289066315,
-0.08154505491256714,
-0.04888029769062996,
0.3033154606819153,
-0.033734194934368134,
-0.034024935215711594,
-0.02607305534183979,
-0.07315494865179062,
-0.12267858535051346,
0.19643430411815643,
-0.02193276584148407,
0.12266102433204651,
-0.2596728205680847,
-0.33265554904937744,
-0.211772158741951,
-0.28491297364234924,
0.5302597880363464,
0.06470489501953125,
0.21946896612644196,
0.029845140874385834,
0.354291707277298,
0.13394129276275635,
-0.23584719002246857,
0.04234873875975609,
0.1671217381954193,
0.3812030553817749,
0.3882952332496643,
0.0857967808842659,
0.04957716912031174,
-0.0292854942381382,
0.06121212989091873,
-0.07692411541938782,
-0.01897965371608734,
-0.034625642001628876,
-0.13865536451339722,
-0.3223045766353607,
0.20491668581962585,
0.3273675739765167,
-0.07325728237628937,
0.12530866265296936,
-0.07620376348495483,
0.16556662321090698,
-0.4288676977157593,
0.03602677583694458,
-0.06509236991405487,
0.1935122013092041,
0.0774831771850586,
-0.06399399042129517,
-0.21581271290779114,
0.055579666048288345,
-0.10604241490364075,
-0.22124406695365906,
0.10334861278533936,
0.3970775902271271,
0.3160564601421356,
-0.40800386667251587,
0.20397543907165527,
0.45581620931625366,
-0.07462527602910995,
0.21128776669502258,
0.11596537381410599,
0.6194506287574768,
-0.2596641182899475,
0.30184611678123474,
0.06519780308008194,
0.000042865052819252014,
-0.10867182910442352,
0.3280240595340729,
-0.04511498659849167,
0.22855116426944733,
-0.12823134660720825,
0.3058587908744812,
0.2657722234725952,
-0.617512583732605,
-0.24219867587089539,
0.15719352662563324,
0.8703241944313049,
-0.039827585220336914,
-0.08784627914428711,
-0.5158736705780029,
-0.2662183940410614,
0.06542220711708069,
0.11950899660587311,
0.007859508506953716,
-0.08134283125400543,
-0.30517977476119995,
0.09706711769104004,
-0.10598986595869064,
0.4352290630340576,
0.0051519908010959625,
-0.33687350153923035,
0.0820745900273323,
-0.18248146772384644,
0.1675272136926651,
-0.14013077318668365,
0.3039591312408447,
-0.5308398008346558,
-0.10037785768508911,
0.021076790988445282,
0.13588586449623108,
-0.09232249855995178,
-0.2802260220050812,
-0.305500864982605,
0.2234956920146942,
0.2596956491470337,
-0.5582023859024048,
-0.23765181005001068,
-0.1779540777206421,
-0.4192781150341034,
-0.4100950360298157,
-0.4610620141029358,
0.09949086606502533,
-0.28504571318626404,
-0.49394160509109497,
-0.012998946011066437,
0.4791240394115448,
0.02545277029275894,
0.013973984867334366,
-0.15375569462776184,
-0.2760270833969116,
-0.16707944869995117,
-0.1646987795829773,
-0.22062061727046967,
-0.15184253454208374,
0.21222123503684998,
-0.21176111698150635,
0.007371061481535435,
-0.11960773169994354,
-0.08796083927154541,
-0.0627249926328659,
0.30559343099594116,
-0.17450593411922455,
0.1288803219795227,
-0.23691099882125854,
-0.1680605560541153,
-0.048431746661663055,
0.1673915982246399,
-0.16596704721450806,
-0.19271263480186462,
-0.24261650443077087,
-0.09247040748596191,
-0.2793884575366974,
-0.08945223689079285,
0.04968569427728653,
-0.04515005648136139,
0.026627525687217712,
0.4983823299407959,
-0.05615837126970291,
0.08237823843955994,
-0.33794963359832764,
-0.01965777948498726,
-0.10969957709312439,
-0.2722029387950897,
0.31522905826568604,
-0.15654246509075165,
-0.4329429268836975,
-0.159034863114357,
0.2584161162376404,
0.40723884105682373,
0.5086632370948792,
0.04771072044968605,
-0.3175640106201172,
-0.37908655405044556,
0.033535949885845184,
-0.2645885646343231,
0.3116895258426666,
-0.20901361107826233,
0.16272450983524323,
0.10663408041000366,
-0.34392887353897095,
-0.44613322615623474,
0.02483421005308628,
-0.36532193422317505,
0.12033139169216156,
0.06644485145807266,
-0.10166779905557632,
0.11066757142543793,
0.01616005226969719,
0.23796644806861877,
0.3023366332054138,
0.11339832097291946,
-0.33908721804618835,
-0.27483251690864563,
0.043579936027526855,
0.009761831723153591,
-0.12473038583993912,
0.35143783688545227,
-0.2329670488834381,
0.23381079733371735,
0.14867180585861206,
-0.056567054241895676,
0.1376986801624298,
0.40989017486572266,
0.10522299259901047,
0.20042474567890167,
0.09306942671537399,
0.05076099932193756,
-0.23625701665878296,
0.19580598175525665,
0.5976108312606812,
-0.07840128988027573,
0.39907410740852356,
-0.2773839831352234,
0.014048688113689423,
-0.3141663372516632,
0.25425562262535095,
0.1326378732919693,
0.13791251182556152,
-0.3267917335033417,
0.2286188006401062,
-0.511742115020752,
0.2537454664707184,
0.014086194336414337,
0.31858718395233154,
-0.29227370023727417,
-0.3871649503707886,
0.37795916199684143,
0.3650490641593933,
-0.0976402759552002,
-0.06647545099258423,
-0.2080194503068924,
-0.5823962688446045,
-0.08227905631065369,
0.22391673922538757,
-0.11393597722053528,
-0.3792439103126526,
0.021815478801727295,
0.2410622239112854,
0.16451242566108704,
-0.05580631643533707,
-0.10525374114513397,
0.6110020279884338,
-0.15482576191425323,
0.017766475677490234,
0.2166697084903717,
0.1021503359079361,
0.281521201133728,
-0.002162940800189972,
-0.09407339245080948,
0.15565292537212372,
0.1664642095565796,
0.15004010498523712,
0.2239670753479004,
-0.13291819393634796,
0.22081483900547028,
0.25624293088912964,
0.0729307234287262,
0.03979472815990448,
0.01417156308889389,
-0.005039118230342865,
0.2040686011314392,
-0.0716572254896164,
-0.19019043445587158,
0.180945485830307,
-0.16051778197288513,
-0.3686228096485138,
0.011706970632076263,
0.1562119722366333,
-0.317196786403656,
0.15171083807945251,
0.13278943300247192,
0.11052678525447845,
0.28927427530288696,
-0.12352022528648376,
0.20487011969089508,
0.17514504492282867,
0.04484863951802254,
0.04496133327484131,
-0.01705673336982727,
-0.7050788402557373,
0.03845629096031189,
0.20227894186973572,
0.1270969659090042,
0.44209790229797363,
-0.007896920666098595,
0.34455689787864685,
0.04992259666323662,
0.07777053117752075,
-0.036453671753406525,
-0.11604335904121399,
0.05282042920589447,
-0.050185780972242355,
0.2605826258659363,
0.36425653100013733,
0.24447296559810638,
0.30554085969924927,
0.2071671038866043,
-0.32892802357673645,
0.2961406111717224,
0.03463610261678696,
-0.3688916563987732,
0.08880722522735596,
-0.009188026189804077,
0.6921130418777466,
0.02385140210390091,
-0.1770772486925125,
0.249582439661026,
-0.328428715467453,
-0.24983806908130646,
0.16441243886947632,
-0.047416143119335175,
0.2580166757106781,
0.48398035764694214,
0.1212148517370224,
0.2437140792608261,
0.34625208377838135,
0.14405857026576996,
0.1276227831840515,
-0.2308170348405838,
-0.12733373045921326,
0.03531486541032791,
-0.007070913910865784,
-0.2921731173992157,
-0.1958848088979721,
0.1492382138967514,
-0.1860954910516739,
-0.05690313130617142,
-0.11993765830993652,
0.1648993194103241,
0.2572600543498993,
0.036760080605745316,
0.21528933942317963,
0.1286923885345459,
0.017500711604952812,
0.6566253304481506,
0.033638082444667816,
0.22978529334068298,
-0.3265613317489624,
0.385182648897171,
0.217669278383255,
0.157248854637146,
-0.12888161838054657,
0.004065185785293579,
0.0076287053525447845,
-0.06865812093019485,
0.2277870774269104,
0.06966236233711243,
-0.12439677119255066,
-0.23683926463127136,
0.08928491175174713,
-0.3252575397491455,
0.2312515825033188,
-0.17776083946228027,
-0.3765210509300232,
0.37376490235328674,
-0.1299702525138855,
-0.1633155792951584,
-0.06673230230808258,
-0.1608428955078125,
0.2948063015937805,
0.04902961105108261,
0.0655374825000763,
-0.0487690344452858,
0.2828778624534607,
0.06671834737062454,
0.38211590051651,
-0.17111724615097046,
0.2275894582271576,
-0.026068732142448425,
-0.05978429317474365,
-0.05848313122987747,
-0.2628597915172577,
0.5229635238647461,
-0.06091233342885971,
-0.4136984646320343,
0.04666019231081009,
0.6181472539901733,
0.0039527639746665955,
0.09754399210214615,
-0.1166195198893547,
-0.025880388915538788,
0.09788182377815247,
0.11065033078193665,
-0.4535634219646454,
0.3392414450645447,
-0.07498182356357574,
-0.06033539026975632,
0.036395538598299026,
-0.03099997341632843,
0.16438990831375122,
-0.4019828736782074,
-0.24287188053131104,
-0.2845350503921509
] |
https://github.com/huggingface/datasets/pull/2220 | Fix infinite loop in WindowsFileLock | How is it possible to get an infinite loop ? Can you add more details ? | Raise exception to avoid infinite loop. | 16 | text: Fix infinite loop in WindowsFileLock
Raise exception to avoid infinite loop.
How is it possible to get an infinite loop ? Can you add more details ? | [
0.03436604514718056,
-0.5503714084625244,
-0.22782595455646515,
0.36239171028137207,
-0.03791814297437668,
0.22427207231521606,
-0.04660338535904884,
-0.06684249639511108,
0.2279818058013916,
0.27275365591049194,
0.27114754915237427,
-0.24569618701934814,
0.02439972013235092,
-0.08347176015377045,
-0.47634637355804443,
-0.0072095878422260284,
-0.04220264405012131,
0.1493789106607437,
0.03440744802355766,
0.12484654784202576,
-0.14121481776237488,
0.10764297097921371,
-0.308003693819046,
-0.034424424171447754,
-0.442367821931839,
-0.26922670006752014,
-0.1619434952735901,
0.30877235531806946,
-0.09702908247709274,
-0.13383078575134277,
-0.24425263702869415,
-0.043530840426683426,
0.046066008508205414,
0.1686985343694687,
-0.00010537468187976629,
-0.08337099850177765,
0.30954456329345703,
-0.01250886358320713,
0.055581871420145035,
-0.07437999546527863,
-0.07228865474462509,
0.03380513936281204,
-0.3009359836578369,
-0.25040966272354126,
0.3717358410358429,
0.0790686160326004,
0.31592729687690735,
-0.010670166462659836,
0.5487332940101624,
-0.0006023915484547615,
0.31271883845329285,
0.12269394099712372,
0.2497188299894333,
-0.11719881743192673,
0.23511731624603271,
-0.2643483877182007,
0.09044478088617325,
0.3279939293861389,
0.6900914907455444,
-0.44690564274787903,
-0.10806220024824142,
-0.044474631547927856,
0.051175519824028015,
-0.18219099938869476,
-0.01882561296224594,
-0.26273444294929504,
0.27615147829055786,
-0.3356407880783081,
0.048127129673957825,
0.06549164652824402,
0.08280739188194275,
0.07414168119430542,
0.16343283653259277,
0.3012571930885315,
0.22122247517108917,
0.1706886887550354,
0.14791160821914673,
0.14643494784832,
-0.16171546280384064,
0.2995087802410126,
0.1685437560081482,
-0.1577317863702774,
-0.22170788049697876,
-0.22850646078586578,
-0.19558949768543243,
-0.030745983123779297,
0.07444266974925995,
0.1627451479434967,
0.10697522759437561,
0.2730315923690796,
0.051950853317976,
0.04335692524909973,
0.03712943196296692,
0.07216697931289673,
-0.19258417189121246,
-0.062365513294935226,
-0.12334121018648148,
0.2758372724056244,
0.1339588165283203,
-0.09616170823574066,
-0.09820844233036041,
0.004705572500824928,
0.39740872383117676,
0.1376374512910843,
0.01282703410834074,
-0.16005009412765503,
0.18856608867645264,
-0.24088653922080994,
-0.08424456417560577,
0.02092311717569828,
-0.2506290674209595,
-0.007372945547103882,
-0.009079918265342712,
-0.4223950505256653,
0.017307762056589127,
0.24662595987319946,
0.42425215244293213,
-0.07818184792995453,
-0.06890836358070374,
0.29241305589675903,
-0.5038667917251587,
0.16944029927253723,
0.056014250963926315,
-0.12014754861593246,
0.015608630143105984,
-0.2667343020439148,
0.10517086088657379,
-0.003556258976459503,
-0.13256561756134033,
-0.06120991334319115,
-0.1487419754266739,
0.3596636950969696,
-0.26181185245513916,
0.1953609585762024,
-0.23746173083782196,
-0.1345921754837036,
-0.07244712859392166,
0.3908957242965698,
-0.05538921803236008,
-0.35317331552505493,
-0.006106540560722351,
-0.26171475648880005,
-0.09344977885484695,
-0.002625696361064911,
0.21115684509277344,
-0.07016953080892563,
0.0739588588476181,
-0.11810820549726486,
0.38913431763648987,
0.26219767332077026,
-0.24068579077720642,
0.04756147786974907,
-0.16833676397800446,
0.33754268288612366,
0.15977902710437775,
0.1599493771791458,
0.20350448787212372,
-0.26668494939804077,
0.007526516914367676,
0.11109809577465057,
0.20895816385746002,
-0.15943004190921783,
0.3464130163192749,
0.12021454423666,
-0.5618553757667542,
0.23448443412780762,
-0.13162408769130707,
0.4442371129989624,
0.19411920011043549,
-0.3902026116847992,
-0.034914322197437286,
0.15701943635940552,
0.09884247928857803,
0.2052832543849945,
-0.47815805673599243,
0.3543112277984619,
0.03858346492052078,
-0.09996981918811798,
-0.25147294998168945,
-0.0815056636929512,
-0.2984578609466553,
-0.3846634030342102,
0.07335828244686127,
-0.05359683930873871,
0.44102588295936584,
0.03539812192320824,
0.218039870262146,
-0.28223443031311035,
0.0752389058470726,
-0.33789974451065063,
-0.3255523145198822,
0.15511539578437805,
-0.32454442977905273,
-0.1961507499217987,
-0.07083101570606232,
0.03418268263339996,
0.4919447898864746,
0.27363866567611694,
0.344025582075119,
-0.006203632801771164,
-0.10617233067750931,
0.36305540800094604,
0.37026914954185486,
0.34453439712524414,
-0.21365605294704437,
0.1359156370162964,
-0.20689448714256287,
-0.043284352868795395,
-0.36376211047172546,
-0.12977644801139832,
0.23867228627204895,
-0.05873677879571915,
-0.026920195668935776,
0.11882305890321732,
0.24344733357429504,
0.2081131786108017,
0.30829256772994995,
0.09941453486680984,
-0.2696090340614319,
-0.30419790744781494,
0.06445057690143585,
0.12749896943569183,
-0.5222817063331604,
-0.0807201936841011,
-0.175985187292099,
0.10668027400970459,
-0.19228488206863403,
-0.16481353342533112,
0.032209739089012146,
-0.1935754418373108,
0.19332069158554077,
-0.039627883583307266,
0.05416582152247429,
0.017284058034420013,
0.011064824648201466,
-0.029912680387496948,
-0.06471859663724899,
0.02501899003982544,
-0.19772766530513763,
-0.5536814332008362,
-0.20837239921092987,
-0.24421437084674835,
0.2416750192642212,
-0.18660695850849152,
0.23970812559127808,
-0.111411452293396,
-0.030882108956575394,
0.1290833055973053,
-0.06258091330528259,
-0.002729242667555809,
-0.3152487576007843,
-0.30838531255722046,
0.08703561127185822,
0.1096610426902771,
0.1891023814678192,
0.2494780272245407,
0.022996053099632263,
-0.1870231330394745,
-0.004340529441833496,
-0.15618643164634705,
0.16252829134464264,
-0.29362207651138306,
0.0724160224199295,
0.14923936128616333,
0.10751812160015106,
0.10282576829195023,
-0.24220257997512817,
-0.09967915713787079,
0.4177197217941284,
0.20881696045398712,
0.059407997876405716,
0.16559074819087982,
0.017300743609666824,
-0.21490994095802307,
0.3129066526889801,
0.07802895456552505,
-0.03157695382833481,
0.41210705041885376,
-0.10701821744441986,
-0.24085058271884918,
-0.31562691926956177,
-0.48481670022010803,
0.06153064966201782,
0.28271326422691345,
-0.11962372064590454,
-0.020830579102039337,
0.12784680724143982,
0.10878966003656387,
-0.048815466463565826,
0.0022446773946285248,
0.10059958696365356,
-0.10880906134843826,
0.010257434099912643,
0.3918599784374237,
-0.007661905139684677,
-0.2642170190811157,
-0.10793952643871307,
0.24200797080993652,
0.21644830703735352,
0.37198954820632935,
-0.07841286063194275,
0.05530168488621712,
-0.21091437339782715,
0.1656285971403122,
0.24824263155460358,
-0.27619093656539917,
0.3866863250732422,
0.0734388530254364,
-0.05250753462314606,
-0.6541429758071899,
0.01614924520254135,
0.14778563380241394,
-0.06716492772102356,
0.22000451385974884,
0.18067406117916107,
0.34502577781677246,
-0.15548846125602722,
-0.08771621435880661,
-0.1463438719511032,
-0.07210554927587509,
-0.22388379275798798,
-0.2544266879558563,
-0.02872302196919918,
0.06176741421222687,
0.07643082737922668,
0.026425696909427643,
-0.09822259843349457,
-0.2805579602718353,
0.15903499722480774,
-0.21014490723609924,
0.01589936763048172,
0.02686568722128868,
-0.15344662964344025,
0.5712044835090637,
0.083222396671772,
-0.04086078703403473,
-0.13309267163276672,
-0.061887651681900024,
0.07953448593616486,
0.14580905437469482,
-0.17391850054264069,
0.106743723154068,
-0.11915235966444016,
-0.38323840498924255,
-0.23384661972522736,
-0.46754515171051025,
-0.3351718485355377,
-0.12606540322303772,
-0.08279469609260559,
-0.5330268740653992,
0.17824076116085052,
0.05824952572584152,
-0.4307718276977539,
-0.2612036466598511,
-0.08857269585132599,
0.0187436044216156,
0.1503353714942932,
-0.15801376104354858,
0.07840019464492798,
0.043756965547800064,
0.14814810454845428,
0.12355291843414307,
0.11621975898742676,
0.31674909591674805,
0.33477911353111267,
0.22531576454639435,
-0.06401326507329941,
-0.02159653976559639,
-0.13243553042411804,
0.03387600928544998,
-0.15023505687713623,
0.1040586531162262,
-0.2975696325302124,
-0.060937926173210144,
-0.11685977131128311,
-0.04009518027305603,
0.2468431293964386,
-0.4095154404640198,
-0.07456392049789429,
-0.17038749158382416,
-0.1100422739982605,
0.24918948113918304,
-0.04913207143545151,
-0.15594816207885742,
-0.24194595217704773,
0.43578359484672546,
-0.11729555577039719,
-0.020921891555190086,
0.2629696726799011,
-0.006605982780456543,
0.036005593836307526,
-0.07386347651481628,
-0.20454631745815277,
0.07193166762590408,
0.258193701505661,
0.1477331668138504,
0.2826947867870331,
-0.09644518047571182,
0.024635765701532364,
0.48955583572387695,
-0.24937449395656586,
0.9689582586288452,
0.2389640212059021,
0.05026496946811676,
0.3682827949523926,
0.10543566942214966,
0.34592553973197937,
-0.13458138704299927,
-0.4748619794845581,
0.2775607705116272,
0.0806586891412735,
0.21039728820323944,
0.24289411306381226,
0.03906208649277687,
-0.16536399722099304,
0.19480668008327484,
-0.1344277411699295,
-0.34914350509643555,
0.16418574750423431,
-0.2542285621166229,
-0.09587351977825165,
0.29430902004241943,
0.2223406732082367,
-0.037937771528959274,
-0.07086130976676941,
-0.05105798318982124,
-0.09101013839244843,
-0.16359999775886536,
-0.06826138496398926,
-0.3872270882129669,
0.05345502868294716,
-0.1415484994649887,
-0.1633557230234146,
-0.1436420977115631,
0.012504775077104568,
-0.054081983864307404,
-0.2096906304359436,
0.2299489974975586,
0.5665460824966431,
0.345004677772522,
-0.06735311448574066,
-0.010108016431331635,
0.198733851313591,
0.27076637744903564,
0.2211819589138031,
0.12111221998929977,
0.2397271990776062,
-0.16055633127689362,
-0.0455019436776638,
0.003224305808544159,
0.047779254615306854,
-0.030831288546323776,
0.4156580865383148,
0.04138588160276413,
0.004629703238606453,
-0.15241050720214844,
0.4383470416069031,
0.3669930100440979,
-0.21867430210113525,
-0.04012586548924446,
0.054249491542577744,
0.9061494469642639,
0.12751513719558716,
-0.15775340795516968,
-0.06281673908233643,
-0.1812678575515747,
0.013300986960530281,
-0.021104611456394196,
0.08737489581108093,
-0.31862592697143555,
-0.37357112765312195,
-0.14947721362113953,
-0.13380151987075806,
0.1241404116153717,
-0.16370370984077454,
-0.22895170748233795,
0.09353901445865631,
-0.02584771439433098,
-0.2784659266471863,
0.12346348911523819,
-0.023351045325398445,
-0.684070348739624,
0.42610979080200195,
0.058421771973371506,
0.2504434883594513,
0.23371478915214539,
0.057722777128219604,
-0.626844048500061,
0.09719794988632202,
0.3982645273208618,
-0.14901791512966156,
-0.31505030393600464,
-0.19625943899154663,
-0.40806975960731506,
0.11403131484985352,
0.007199874147772789,
0.34458810091018677,
-0.06578797101974487,
-0.19347931444644928,
0.03313417732715607,
0.21871288120746613,
0.04713130742311478,
-0.11715838313102722,
0.3903347849845886,
-0.11141213029623032,
0.04908404126763344,
-0.12063612043857574,
0.17152917385101318,
-0.04629359394311905,
-0.20550864934921265,
0.17462293803691864,
-0.1521637886762619,
-0.2250247299671173,
-0.2863727807998657,
0.31336671113967896,
0.16364464163780212,
0.1406211405992508,
-0.20559045672416687,
-0.16621434688568115,
-0.19703823328018188,
-0.051214005798101425,
0.22210358083248138,
-0.04551335424184799,
-0.1909761279821396,
0.164747953414917,
-0.14789901673793793,
-0.28030097484588623,
0.13561585545539856,
0.14537006616592407,
-0.08624206483364105,
-0.04898938536643982,
0.2591151297092438,
0.23342393338680267,
-0.16099993884563446,
-0.3021182119846344,
0.3043714463710785,
-0.22247980535030365,
-0.01622411608695984,
0.18247006833553314,
-0.07909005135297775,
0.2505751848220825,
0.010344823822379112,
0.2272394746541977,
0.365564227104187,
0.22635945677757263,
-0.204978346824646,
-0.48882246017456055,
-0.2377643883228302,
-0.09166578948497772,
-0.12752141058444977,
0.24389566481113434,
0.13510772585868835,
0.042050160467624664,
0.2658267915248871,
-0.46249720454216003,
-0.42988672852516174,
0.17766281962394714,
-0.28175798058509827,
0.07630714774131775,
0.1589757651090622,
-0.1943560242652893,
-0.2776874303817749,
0.22048984467983246,
0.23079556226730347,
0.5227842330932617,
0.008056113496422768,
-0.3726504445075989,
0.18381555378437042,
0.044497519731521606,
0.12698253989219666,
0.11222673952579498,
-0.07778865098953247,
-0.28167837858200073,
0.290648490190506,
0.5073020458221436,
0.014631956815719604,
0.08226801455020905,
0.18700160086154938,
-0.08374536037445068,
-0.17618954181671143,
0.3430224061012268,
-0.2176467627286911,
-0.012567967176437378,
0.13062724471092224,
0.06006338819861412,
-0.17455068230628967,
-0.047984778881073,
0.04892131686210632,
-0.06078775227069855,
-0.3734131455421448,
0.23128679394721985,
0.13289368152618408,
0.14842969179153442,
-0.23547977209091187,
0.23558586835861206,
-0.21851247549057007,
0.09412994235754013,
-0.08034659922122955,
0.0559515617787838,
-0.24250367283821106,
-0.13519306480884552,
0.3042956292629242,
0.42565280199050903,
0.09611129760742188,
0.057153645902872086,
-0.08854696154594421,
-0.23118384182453156,
-0.028238922357559204,
0.11546696722507477,
-0.22950340807437897,
-0.5005333423614502,
-0.2536882162094116,
0.1262504756450653,
0.03936541825532913,
-0.05658142268657684,
-0.4207649827003479,
0.20645107328891754,
-0.10671298950910568,
-0.06818978488445282,
0.14395548403263092,
0.04427562654018402,
0.287458598613739,
0.1536085605621338,
-0.15361380577087402,
0.050060249865055084,
-0.15696480870246887,
0.1278986781835556,
0.06820524483919144,
-0.0520787388086319,
0.3961442708969116,
0.2801740765571594,
0.16224361956119537,
0.0038731172680854797,
-0.012717314064502716,
-0.06377802044153214,
0.04188213869929314,
0.14394697546958923,
-0.16235660016536713,
0.15385764837265015,
-0.1280428171157837,
-0.028955986723303795,
-0.016221478581428528,
0.02581038326025009,
0.0820036232471466,
0.22498732805252075,
0.23440130054950714,
0.41763532161712646,
-0.16326844692230225,
-0.048254549503326416,
-0.10714155435562134,
0.20167452096939087,
-0.1441456377506256,
0.48443955183029175,
-0.20815330743789673,
-0.2801292836666107,
0.12276902794837952,
0.17088836431503296,
0.33068612217903137,
-0.14800773561000824,
0.30272969603538513,
0.25261974334716797,
0.3163706064224243,
-0.10392175614833832,
-0.10941369086503983,
0.0797906368970871,
-0.0996093824505806,
0.014642830938100815,
0.3506617248058319,
-0.016159839928150177,
-0.10853634774684906,
0.004551544785499573,
0.22856660187244415,
-0.28531205654144287,
0.4863854944705963,
0.17643606662750244,
-0.029977068305015564,
-0.08964397013187408,
-0.17011591792106628,
0.3312346935272217,
0.06310965865850449,
-0.07198384404182434,
0.12577927112579346,
-0.539169192314148,
-0.08746229857206345,
0.12935291230678558,
-0.5731284022331238,
0.18887859582901,
0.2200533151626587,
0.14573721587657928,
-0.1990799903869629,
0.012396417558193207,
0.21908991038799286,
0.11764582246541977,
-0.13608500361442566,
0.18393127620220184,
-0.12710249423980713,
0.1369049847126007,
0.3330649733543396,
0.11572752892971039,
-0.03677503019571304,
-0.09880267083644867,
-0.13598942756652832,
-0.004591736942529678,
0.30613869428634644,
-0.05933820828795433,
-0.23056308925151825,
0.40452852845191956,
-0.08649100363254547,
0.05781952291727066,
0.6854937076568604,
0.06466946750879288,
-0.16373340785503387,
-0.2363419234752655,
0.4693068563938141,
-0.2082424908876419,
0.2454841434955597,
-0.20499414205551147,
0.04386834800243378,
-0.10946327447891235,
-0.05145794153213501,
0.10337220877408981,
0.022624872624874115,
0.01802773028612137,
-0.22317218780517578,
0.20358997583389282,
-0.12567657232284546,
0.04789120331406593,
0.07872875034809113,
-0.2376176118850708,
0.17995885014533997,
0.11446745693683624,
-0.18978819251060486,
-0.3895680606365204,
0.22143684327602386,
0.10664215683937073,
0.04988246411085129,
0.0007688056211918592,
-0.43604519963264465,
0.40210390090942383,
-0.3333224356174469,
0.12897828221321106,
-0.037174951285123825,
0.09726540744304657,
0.28735625743865967,
0.04683823883533478,
-0.25531005859375,
-0.19905218482017517,
0.378950297832489,
-0.14199510216712952,
-0.3701803982257843,
0.014092269353568554,
0.42022281885147095,
0.2469007968902588,
-0.18124771118164062,
0.06424177438020706,
-0.06741679459810257,
0.2693663537502289,
-0.05537042021751404,
-0.37357115745544434,
0.2917565703392029,
0.00377310486510396,
0.03154775872826576,
0.05568883940577507,
-0.04894552379846573,
0.2578476369380951,
-0.17084254324436188,
0.07188421487808228,
-0.08650830388069153
] |
https://github.com/huggingface/datasets/pull/2220 | Fix infinite loop in WindowsFileLock | Yes, in Windows, if the filename is too long, a `FileNotFoundError` is raised. The exception should be raised in this case. Otherwise, we get into an infinite loop.
If other process has the file locked, then `PermissionError` is raised. In this case, `pass` is OK. | Raise exception to avoid infinite loop. | 45 | text: Fix infinite loop in WindowsFileLock
Raise exception to avoid infinite loop.
Yes, in Windows, if the filename is too long, a `FileNotFoundError` is raised. The exception should be raised in this case. Otherwise, we get into an infinite loop.
If other process has the file locked, then `PermissionError` is raised. In this case, `pass` is OK. | [
0.07657790184020996,
-0.16719725728034973,
-0.20465563237667084,
0.11437387019395828,
-0.17695005238056183,
0.03170035034418106,
0.10557635128498077,
0.1786176860332489,
0.0979684591293335,
0.27757179737091064,
0.2671920657157898,
-0.1453571319580078,
-0.11330800503492355,
-0.22132666409015656,
-0.5502249002456665,
0.07851375639438629,
0.0004590824246406555,
0.06737089902162552,
0.10527913272380829,
0.07992516458034515,
-0.33020830154418945,
0.12736766040325165,
-0.27785587310791016,
0.26222482323646545,
-0.31582212448120117,
0.0051119644194841385,
-0.1471470445394516,
0.3524458110332489,
0.07523684948682785,
-0.15369907021522522,
-0.41838765144348145,
0.05819970369338989,
0.10005734115839005,
0.38538700342178345,
-0.00009930228407029063,
-0.1052766665816307,
0.4153549075126648,
-0.03504682332277298,
0.13366219401359558,
0.02143172174692154,
-0.06486384570598602,
-0.17010720074176788,
-0.347500205039978,
-0.3358367681503296,
0.4045240581035614,
0.06278002262115479,
0.3447527587413788,
0.0967319905757904,
0.46071797609329224,
0.007032238878309727,
0.30608850717544556,
0.034775521606206894,
0.3040875196456909,
0.19878897070884705,
0.3080720901489258,
-0.1548663079738617,
-0.025632595643401146,
0.18846020102500916,
0.583067774772644,
-0.2595304846763611,
-0.22898781299591064,
0.17521816492080688,
-0.12559324502944946,
-0.1273510754108429,
0.005631871521472931,
-0.29416215419769287,
0.367007315158844,
-0.2719191312789917,
0.018089205026626587,
0.1764642298221588,
-0.053540267050266266,
0.11951056867837906,
-0.0648759976029396,
-0.010507471859455109,
0.26909592747688293,
-0.03244789317250252,
0.2829928398132324,
0.08587423712015152,
-0.24459123611450195,
0.24198518693447113,
0.15586911141872406,
-0.27828356623649597,
-0.26560449600219727,
-0.1857849806547165,
-0.11207578331232071,
-0.16956421732902527,
-0.00595072191208601,
0.1613263636827469,
0.09173696488142014,
-0.004493162035942078,
-0.23613613843917847,
-0.0832076147198677,
0.10265116393566132,
-0.06528257578611374,
-0.18318629264831543,
-0.05633340775966644,
-0.19798383116722107,
0.3252568542957306,
0.12381193786859512,
-0.0772918239235878,
-0.18312986195087433,
-0.0035201162099838257,
0.45641928911209106,
-0.002039700746536255,
-0.08840382099151611,
-0.22817346453666687,
0.2820694148540497,
-0.0719723105430603,
0.23837235569953918,
-0.005389185156673193,
-0.2527129352092743,
0.07733514904975891,
-0.04525895416736603,
-0.4270692765712738,
-0.026248399168252945,
0.3231690526008606,
0.47600436210632324,
-0.12948986887931824,
-0.06641364842653275,
0.3992214798927307,
-0.34249287843704224,
0.028440242633223534,
0.16368231177330017,
0.15788035094738007,
0.027152739465236664,
-0.08312276750802994,
0.19085495173931122,
-0.16648294031620026,
-0.11793404072523117,
0.08439525961875916,
-0.09388229995965958,
0.033782560378313065,
-0.22588367760181427,
0.25407811999320984,
-0.055711809545755386,
-0.19625341892242432,
-0.01010926067829132,
0.06442961096763611,
-0.04414287209510803,
-0.17133277654647827,
0.08337797224521637,
-0.14365240931510925,
0.08253525197505951,
0.007938157767057419,
0.05043018236756325,
-0.04186934232711792,
-0.0030446499586105347,
-0.21145634353160858,
0.2624928057193756,
0.518726646900177,
-0.365621954202652,
0.04660266265273094,
0.033237192779779434,
0.3231271207332611,
0.07807682454586029,
0.37772971391677856,
0.3678750693798065,
-0.29200953245162964,
-0.006599940359592438,
-0.11986786127090454,
0.29463958740234375,
-0.1699463129043579,
0.33375105261802673,
-0.017993301153182983,
-0.3715992569923401,
0.4031391143798828,
0.054287370294332504,
0.34350165724754333,
0.12283474951982498,
-0.264020174741745,
-0.0352497324347496,
0.16826623678207397,
0.12017665058374405,
-0.16414004564285278,
-0.4735075831413269,
0.5120701193809509,
0.08230040967464447,
-0.20540878176689148,
-0.21327871084213257,
0.15515409409999847,
-0.3113626539707184,
-0.06482147425413132,
0.23402661085128784,
-0.06331983208656311,
0.2772836983203888,
-0.1869947463274002,
-0.017000943422317505,
-0.21400654315948486,
-0.004624428227543831,
-0.11689358204603195,
-0.36337989568710327,
0.1574399322271347,
0.028987398371100426,
0.0011205542832612991,
0.0376899279654026,
-0.14384031295776367,
0.27779248356819153,
0.28001803159713745,
0.5312254428863525,
0.04479621350765228,
-0.14935991168022156,
0.2642155885696411,
0.24474221467971802,
0.1419062316417694,
-0.19841702282428741,
0.21650540828704834,
-0.06313986331224442,
-0.11767875403165817,
-0.26260626316070557,
-0.14657993614673615,
0.12022604048252106,
-0.22234651446342468,
0.01567063480615616,
-0.038739077746868134,
0.09680790454149246,
0.22129765152931213,
0.3002554774284363,
0.25365370512008667,
-0.22898685932159424,
-0.16838082671165466,
0.11652922630310059,
0.2565070390701294,
-0.6085627675056458,
-0.006406817585229874,
-0.09752117097377777,
-0.01733727566897869,
-0.17752830684185028,
-0.09757116436958313,
0.04071694612503052,
-0.13714218139648438,
0.263217568397522,
-0.17963020503520966,
0.11146924644708633,
0.20974484086036682,
0.07695336639881134,
-0.16650180518627167,
-0.18281275033950806,
0.060592956840991974,
0.0348593033850193,
-0.14545169472694397,
-0.15766212344169617,
-0.0011202208697795868,
0.2979702353477478,
-0.18664872646331787,
0.1502048373222351,
0.10936437547206879,
0.005792807787656784,
0.06469756364822388,
0.04544631391763687,
-0.19093966484069824,
-0.27991724014282227,
-0.24331629276275635,
-0.23044027388095856,
0.17319941520690918,
0.19330359995365143,
0.3095024526119232,
0.009758960455656052,
-0.11940702795982361,
-0.03131308779120445,
-0.29087087512016296,
0.38780465722084045,
-0.37922561168670654,
-0.04387994110584259,
0.26002782583236694,
0.17158150672912598,
0.2774599492549896,
-0.11725431680679321,
0.003817405551671982,
0.34829777479171753,
0.28862565755844116,
-0.03421926125884056,
0.023615818470716476,
0.19370940327644348,
-0.3306995630264282,
0.19860343635082245,
0.13467645645141602,
-0.004839771427214146,
0.5452717542648315,
-0.2226959466934204,
-0.28927525877952576,
-0.25608861446380615,
-0.5761365294456482,
0.22775626182556152,
0.21242068707942963,
-0.12428364157676697,
-0.25278082489967346,
0.2216375768184662,
0.03668341785669327,
-0.09082897007465363,
-0.06002328172326088,
-0.1265164613723755,
-0.11157055199146271,
0.1644052118062973,
0.40411025285720825,
-0.27929598093032837,
0.028728412464261055,
-0.15388385951519012,
0.142734557390213,
0.11152982711791992,
0.11308048665523529,
-0.0353604331612587,
0.19420349597930908,
-0.11886856704950333,
0.188349649310112,
0.46063941717147827,
-0.4009925425052643,
0.3655793070793152,
0.045130111277103424,
0.12730759382247925,
-0.43516793847084045,
-0.141835555434227,
0.05289015918970108,
-0.2774444818496704,
0.03170544281601906,
0.09700944274663925,
0.26948726177215576,
-0.024738404899835587,
-0.189652681350708,
-0.10777053982019424,
-0.20849353075027466,
-0.05172223597764969,
-0.2123589664697647,
0.1211555078625679,
-0.13887938857078552,
-0.1098649650812149,
0.05597424879670143,
-0.18817447125911713,
-0.422739177942276,
0.3924972414970398,
-0.17796458303928375,
0.10912072658538818,
0.27901536226272583,
-0.3664238154888153,
0.5047196745872498,
0.16272097826004028,
0.007059760391712189,
-0.050508763641119,
-0.01882239058613777,
0.12532730400562286,
0.004953551571816206,
-0.21895183622837067,
0.02477153018116951,
0.07849954813718796,
-0.48134326934814453,
-0.1718982607126236,
-0.24853897094726562,
-0.27831581234931946,
-0.09908095747232437,
0.17394660413265228,
-0.2970758378505707,
-0.02352149225771427,
0.13684877753257751,
-0.39649686217308044,
-0.2784730792045593,
0.005982831120491028,
0.020867280662059784,
0.08978764712810516,
0.02752312645316124,
0.0859239399433136,
0.07401718944311142,
0.06059934198856354,
-0.0038102902472019196,
0.16337889432907104,
0.15995121002197266,
0.4917100667953491,
0.13973025977611542,
0.030539879575371742,
0.10294826328754425,
0.07699908316135406,
0.09296654909849167,
0.036559879779815674,
0.14673909544944763,
-0.34770721197128296,
0.037622012197971344,
-0.10633860528469086,
0.0072911879979074,
0.07603379338979721,
-0.5524844527244568,
-0.18700146675109863,
-0.33768242597579956,
-0.11550204455852509,
0.43890073895454407,
-0.12715360522270203,
-0.08224478363990784,
-0.10374921560287476,
0.2895166873931885,
-0.17379510402679443,
0.06710205972194672,
0.5278697609901428,
0.17763063311576843,
-0.15143652260303497,
0.056565407663583755,
-0.13896450400352478,
-0.1955566108226776,
0.3295978307723999,
0.21429292857646942,
0.36523759365081787,
-0.10979487001895905,
-0.3027706444263458,
0.2123487889766693,
-0.4202706515789032,
0.9357408285140991,
0.36075887084007263,
-0.07224755734205246,
0.06477995216846466,
0.2945176064968109,
0.3388088643550873,
-0.11278313398361206,
-0.19674578309059143,
0.2739817500114441,
0.3257984519004822,
0.10654288530349731,
0.06212719529867172,
-0.2126312106847763,
-0.27298274636268616,
-0.011161582544445992,
-0.11805905401706696,
-0.38708698749542236,
0.01793402060866356,
-0.19550859928131104,
-0.4215759336948395,
0.4139426350593567,
0.3982236385345459,
-0.009818346239626408,
-0.131407231092453,
-0.0681004598736763,
-0.01866559498012066,
-0.19737178087234497,
0.11378375440835953,
-0.2402297854423523,
0.08732794970273972,
0.006050343159586191,
-0.08106790482997894,
-0.22056013345718384,
0.22469604015350342,
-0.015611009672284126,
-0.15147516131401062,
0.060643382370471954,
0.496945321559906,
0.3958839476108551,
-0.466957688331604,
0.042938217520713806,
0.43968629837036133,
0.09452542662620544,
0.1456490159034729,
0.15152572095394135,
0.36147814989089966,
-0.2451266646385193,
-0.16946910321712494,
0.044071100652217865,
0.007131255231797695,
-0.06711388379335403,
0.35245195031166077,
-0.14552772045135498,
0.1126517802476883,
-0.1256418228149414,
0.3983907401561737,
0.35958153009414673,
-0.24612446129322052,
-0.04121708124876022,
-0.24019408226013184,
0.7489650845527649,
0.11969342827796936,
0.05697110295295715,
-0.04375044256448746,
-0.07943292707204819,
0.01965927518904209,
-0.11084132641553879,
-0.05380420386791229,
-0.2159423679113388,
-0.40962186455726624,
0.008513549342751503,
-0.0030956752598285675,
0.44705864787101746,
-0.2555604577064514,
-0.1576896458864212,
0.13635848462581635,
0.17772214114665985,
-0.296642929315567,
-0.13933119177818298,
0.2692296504974365,
-0.7290230989456177,
0.3017520308494568,
0.09156395494937897,
0.2303551435470581,
0.16899174451828003,
0.08122114837169647,
-0.24047282338142395,
-0.10270383208990097,
0.28518912196159363,
-0.268261194229126,
-0.05465516820549965,
-0.12469092756509781,
-0.2841978669166565,
-0.11024333536624908,
-0.19353322684764862,
0.27878880500793457,
-0.09922392666339874,
-0.223904550075531,
-0.14855782687664032,
0.20133928954601288,
0.035808078944683075,
0.12402327358722687,
0.1166500598192215,
-0.007665104232728481,
-0.16779331862926483,
-0.0748128816485405,
0.3151102662086487,
-0.01330835185945034,
-0.08866968750953674,
0.05399591475725174,
-0.1689058542251587,
-0.3055066466331482,
-0.2292003035545349,
0.2584301233291626,
0.2992941737174988,
0.14536073803901672,
-0.2696100175380707,
-0.1968308985233307,
-0.528334379196167,
0.02572198584675789,
0.24566355347633362,
-0.14215584099292755,
-0.2570813000202179,
0.11056803166866302,
-0.19757716357707977,
-0.32020747661590576,
0.024867957457900047,
0.21063095331192017,
-0.12097903341054916,
-0.12039047479629517,
0.3644457161426544,
0.11235590279102325,
-0.1152479350566864,
-0.2404249906539917,
0.271737664937973,
-0.09959340840578079,
-0.059189219027757645,
0.10630707442760468,
0.10010388493537903,
0.31054049730300903,
0.15869131684303284,
0.042015764862298965,
0.26880908012390137,
0.17463764548301697,
0.00818748027086258,
-0.34963980317115784,
-0.3419215679168701,
-0.12157964706420898,
-0.15374189615249634,
0.3077594041824341,
0.0862123891711235,
0.12128496170043945,
0.1879328340291977,
-0.47749432921409607,
-0.4604400098323822,
0.09850409626960754,
-0.2837686836719513,
-0.08810784667730331,
0.17347128689289093,
-0.0899641141295433,
-0.1413920372724533,
0.1173727959394455,
0.18854740262031555,
0.63319331407547,
0.04528946802020073,
-0.3785809278488159,
0.06862159073352814,
0.047694891691207886,
0.1872650682926178,
0.044836968183517456,
-0.06273539364337921,
-0.5065832734107971,
0.16867347061634064,
0.4823138117790222,
-0.0020763669162988663,
0.0776195377111435,
0.014146588742733002,
0.1073252335190773,
-0.09583307802677155,
0.11230754107236862,
0.027572833001613617,
0.13369084894657135,
0.04212440550327301,
0.24478475749492645,
-0.2059977948665619,
0.06983975321054459,
-0.2211982160806656,
0.19174137711524963,
-0.33246561884880066,
0.1028556302189827,
0.029295697808265686,
0.1323333978652954,
-0.034367576241493225,
0.07662861049175262,
-0.372965544462204,
0.1710447520017624,
0.12685438990592957,
0.1702396273612976,
-0.24440433084964752,
-0.2862913906574249,
0.4117111265659332,
0.4271968603134155,
0.01575499027967453,
0.21859994530677795,
-0.008651664480566978,
-0.2411685436964035,
0.02919549122452736,
0.0533524826169014,
-0.2955009937286377,
-0.25525933504104614,
-0.26792341470718384,
0.15377911925315857,
-0.03263476490974426,
-0.030208174139261246,
-0.31913870573043823,
0.33065786957740784,
0.053663965314626694,
0.14514289796352386,
0.26614439487457275,
0.04769458621740341,
0.1266845464706421,
0.18802189826965332,
-0.3503420650959015,
0.10211443156003952,
-0.13084012269973755,
0.17867344617843628,
-0.0634731575846672,
-0.03469191864132881,
0.30245184898376465,
0.2057521492242813,
-0.10406182706356049,
0.1173950582742691,
0.03286029398441315,
-0.10447413474321365,
0.10356143862009048,
0.0176516305655241,
-0.08202027529478073,
0.1262567639350891,
-0.20075705647468567,
-0.04149556905031204,
-0.00016118958592414856,
-0.10985121130943298,
-0.03611250966787338,
0.09157513082027435,
0.1416742503643036,
0.3132766783237457,
-0.08555932343006134,
0.21204575896263123,
0.07472851872444153,
0.24392513930797577,
-0.3941592872142792,
0.1746470034122467,
0.06919180601835251,
-0.3424953818321228,
-0.17913369834423065,
0.31097251176834106,
0.25317537784576416,
0.15995046496391296,
0.07569438964128494,
0.21779556572437286,
0.1953636258840561,
-0.10476507246494293,
-0.1283879578113556,
0.018951449543237686,
0.0026381388306617737,
-0.05333968624472618,
0.5442341566085815,
0.10815227031707764,
-0.05710975453257561,
0.04499712958931923,
0.25098660588264465,
-0.2998823821544647,
0.3624269962310791,
0.11729312688112259,
-0.25473642349243164,
-0.05803430825471878,
0.0013771355152130127,
0.3130604922771454,
0.059839844703674316,
-0.2626776397228241,
-0.030987881124019623,
-0.4378035366535187,
0.017091862857341766,
0.1621740460395813,
-0.499982625246048,
0.1789245307445526,
-0.0029960204847157,
0.15466375648975372,
-0.22211940586566925,
-0.09546443819999695,
0.24580849707126617,
0.128094881772995,
-0.2911660373210907,
0.2643107771873474,
-0.2688148319721222,
0.1932559460401535,
0.1916615217924118,
-0.02883921004831791,
0.10373317450284958,
-0.24045111238956451,
-0.19097700715065002,
-0.18047918379306793,
0.026918582618236542,
-0.17822685837745667,
-0.0009012939408421516,
0.338673859834671,
-0.08370169997215271,
0.2117794007062912,
0.6237431168556213,
-0.04151996970176697,
0.0007089432328939438,
-0.2863560914993286,
0.4270864427089691,
-0.11983145773410797,
0.15027779340744019,
-0.21281684935092926,
-0.016289114952087402,
0.0023132357746362686,
0.16075044870376587,
0.008479028940200806,
-0.017263343557715416,
-0.003857441246509552,
-0.3315666913986206,
-0.0038917604833841324,
0.05889591947197914,
0.1861356794834137,
-0.07506045699119568,
-0.3990757167339325,
0.14938461780548096,
0.12245588004589081,
-0.07759963721036911,
-0.30060774087905884,
-0.008089205250144005,
0.24617214500904083,
-0.1567455232143402,
0.1115742176771164,
-0.3029707670211792,
0.3222329616546631,
-0.09428147971630096,
0.184785857796669,
-0.07611378282308578,
0.2845076620578766,
0.1785348653793335,
0.17536316812038422,
-0.3544367551803589,
-0.1711796075105667,
0.5223641395568848,
-0.31941479444503784,
-0.3001094460487366,
0.16061903536319733,
0.4441307783126831,
0.08535511791706085,
-0.10291434079408646,
-0.1424693763256073,
-0.020690150558948517,
0.14336344599723816,
-0.020523183047771454,
-0.4378860592842102,
0.22432948648929596,
-0.09424838423728943,
-0.10446564853191376,
0.012809135019779205,
-0.16971255838871002,
0.23633572459220886,
-0.20001192390918732,
0.10994631052017212,
-0.0899401605129242
] |
https://github.com/huggingface/datasets/pull/2220 | Fix infinite loop in WindowsFileLock | Note that the filelock module comes from this project that hasn't changed in years - while still being used by ten of thousands of projects:
https://github.com/benediktschmitt/py-filelock
Unless we have proper tests for this, I wouldn't recommend to change it | Raise exception to avoid infinite loop. | 39 | text: Fix infinite loop in WindowsFileLock
Raise exception to avoid infinite loop.
Note that the filelock module comes from this project that hasn't changed in years - while still being used by ten of thousands of projects:
https://github.com/benediktschmitt/py-filelock
Unless we have proper tests for this, I wouldn't recommend to change it | [
0.03203092887997627,
-0.17900696396827698,
-0.21472057700157166,
-0.17148709297180176,
-0.06762184947729111,
0.14648008346557617,
0.177020862698555,
0.10581380128860474,
0.2850961685180664,
0.13894128799438477,
0.2982967495918274,
-0.07948347181081772,
-0.15031522512435913,
-0.056977178901433945,
-0.32518985867500305,
0.12756294012069702,
0.09357108175754547,
0.17149335145950317,
-0.020203925669193268,
0.1578357219696045,
-0.2999754548072815,
0.07902757078409195,
-0.1628279983997345,
0.09850393235683441,
-0.2947140634059906,
-0.041375696659088135,
-0.05009451508522034,
0.33333730697631836,
-0.01568026654422283,
-0.4366011917591095,
-0.06302046030759811,
0.26281917095184326,
-0.0332341268658638,
0.15945656597614288,
-0.00010005982039729133,
-0.05621205270290375,
0.3748396039009094,
0.023214759305119514,
0.09039327502250671,
0.13816384971141815,
0.20785605907440186,
-0.09544631093740463,
-0.20379337668418884,
-0.1723032295703888,
0.19457393884658813,
-0.18805363774299622,
0.33399224281311035,
-0.012795638293027878,
0.3095841109752655,
0.029442090541124344,
0.2882697284221649,
0.24517273902893066,
0.32803821563720703,
0.0633334219455719,
0.33334317803382874,
-0.16675277054309845,
0.03509075939655304,
0.42992469668388367,
0.7806365489959717,
-0.5403223037719727,
-0.22776159644126892,
0.2336912900209427,
-0.0937560424208641,
-0.18561039865016937,
0.14051561057567596,
-0.1382814198732376,
0.3933592140674591,
-0.3009760081768036,
-0.18665054440498352,
0.006126124411821365,
-0.0702333077788353,
-0.1582653522491455,
-0.09912942349910736,
-0.07722130417823792,
0.39373233914375305,
-0.15358635783195496,
0.009599946439266205,
0.04385800659656525,
-0.13596896827220917,
0.2444837987422943,
0.344740629196167,
-0.19786421954631805,
-0.19555264711380005,
-0.10268974304199219,
-0.10413714498281479,
0.08808300644159317,
0.19726645946502686,
0.02183636650443077,
0.1675640493631363,
0.07621895521879196,
-0.0904620960354805,
0.21684591472148895,
-0.012831456959247589,
-0.1570882499217987,
-0.17838887870311737,
-0.1498202532529831,
0.05566418915987015,
0.15098190307617188,
0.1168646439909935,
0.0509319007396698,
-0.20038937032222748,
0.040739431977272034,
0.5056117177009583,
0.033378005027770996,
-0.07707594335079193,
-0.2647777497768402,
0.1748022735118866,
-0.11981348693370819,
0.27539509534835815,
0.0769628956913948,
-0.12228333950042725,
0.16270998120307922,
0.03297121077775955,
-0.6547442078590393,
0.14596594870090485,
0.4629635214805603,
0.4331139326095581,
0.05662291869521141,
0.000013105571269989014,
0.25708135962486267,
-0.12148720026016235,
0.08587364107370377,
0.14439387619495392,
-0.037764064967632294,
0.20318451523780823,
0.0014776363968849182,
0.1675855815410614,
-0.013506583869457245,
-0.22680963575839996,
0.07647687196731567,
-0.10411955416202545,
0.19714468717575073,
-0.16257710754871368,
0.10107003897428513,
0.028553467243909836,
-0.20131812989711761,
-0.09916166961193085,
0.3074972927570343,
-0.03273981809616089,
-0.12398982048034668,
0.2554071843624115,
0.0011987918987870216,
-0.029306679964065552,
0.059520166367292404,
-0.04684228450059891,
-0.2088283747434616,
0.14917773008346558,
-0.08953960984945297,
0.17399463057518005,
0.4090922474861145,
-0.2208397090435028,
-0.02972056157886982,
-0.21903230249881744,
0.3590136170387268,
0.08576713502407074,
0.07776579260826111,
0.20470517873764038,
-0.2454434186220169,
-0.08855815976858139,
-0.04743117466568947,
0.38093721866607666,
-0.2849520444869995,
0.24528595805168152,
0.047205451875925064,
-0.47896915674209595,
0.41279369592666626,
-0.020108172670006752,
0.29260820150375366,
0.2725798487663269,
-0.38885077834129333,
-0.1794305443763733,
0.10270257294178009,
-0.01531235035508871,
0.057088255882263184,
-0.4257739186286926,
0.3060861825942993,
-0.01958061009645462,
-0.329612672328949,
-0.3710373342037201,
-0.25012099742889404,
-0.2682420015335083,
-0.2359718680381775,
0.0692601203918457,
0.12531545758247375,
0.1563805490732193,
-0.11545966565608978,
0.16325321793556213,
-0.13404276967048645,
-0.011776706203818321,
0.0006593558937311172,
-0.3396257758140564,
-0.19760240614414215,
0.018082601949572563,
-0.00234326533973217,
0.10184694081544876,
-0.19284558296203613,
0.11277594417333603,
0.253817617893219,
0.4766564965248108,
-0.08794623613357544,
-0.2181984782218933,
0.12617158889770508,
0.479078471660614,
0.21303395926952362,
-0.18922916054725647,
0.11029785126447678,
-0.12019257992506027,
0.03932146728038788,
-0.44553694128990173,
-0.12785349786281586,
-0.06483830511569977,
-0.22107239067554474,
0.12486488372087479,
0.010201876983046532,
-0.010931942611932755,
0.11486975848674774,
0.33357715606689453,
0.052204351872205734,
-0.14514517784118652,
-0.14629586040973663,
0.09577426314353943,
0.12276841700077057,
-0.3180212080478668,
0.13652752339839935,
-0.10966192185878754,
0.12997478246688843,
-0.10607973486185074,
-0.22605548799037933,
0.07692491263151169,
-0.05604534596204758,
0.08783212304115295,
-0.1912895292043686,
0.12206018716096878,
0.23243632912635803,
0.1945698857307434,
0.10956449061632156,
-0.01719518005847931,
0.07642371952533722,
0.024685082957148552,
-0.18672022223472595,
-0.20836329460144043,
0.151249498128891,
0.09989926964044571,
0.020539499819278717,
0.12111415714025497,
0.17012923955917358,
-0.05748869851231575,
-0.07961181551218033,
-0.08416414260864258,
-0.10171404480934143,
-0.3180643320083618,
-0.32167327404022217,
-0.16064836084842682,
0.11110629141330719,
0.051502298563718796,
0.2743569016456604,
-0.05651528388261795,
-0.11274050176143646,
0.06755220890045166,
-0.14479610323905945,
0.27428296208381653,
-0.3289383351802826,
0.1000274121761322,
0.3289579451084137,
0.21312040090560913,
0.06586985290050507,
-0.12229667603969574,
0.018044639378786087,
0.3357815742492676,
0.3645619750022888,
-0.09370313584804535,
0.14230602979660034,
0.1517147421836853,
-0.26024049520492554,
0.2429606020450592,
0.01247890293598175,
-0.178453728556633,
0.5416172742843628,
0.02308979071676731,
-0.3569377660751343,
-0.2916351854801178,
-0.49426954984664917,
-0.02329104021191597,
0.21164245903491974,
-0.045620113611221313,
-0.15271613001823425,
0.013842510059475899,
0.1111127957701683,
-0.04154016822576523,
-0.027802754193544388,
-0.030405640602111816,
-0.22158470749855042,
0.2370528131723404,
0.3720710575580597,
-0.2564929127693176,
-0.047494031488895416,
-0.188981294631958,
0.12271404266357422,
0.17731843888759613,
0.0675499439239502,
0.011205166578292847,
0.020851269364356995,
-0.1329919397830963,
0.22891032695770264,
0.3036588430404663,
-0.2806743383407593,
0.4144032895565033,
0.005225641652941704,
-0.014253643341362476,
-0.5143892765045166,
-0.24950143694877625,
0.09646202623844147,
-0.059772998094558716,
0.08933635801076889,
0.29227691888809204,
0.22610604763031006,
0.06884372979402542,
-0.2432553619146347,
-0.01608951762318611,
-0.2665398418903351,
0.007320765405893326,
-0.1465144008398056,
-0.03832358494400978,
0.14351333677768707,
-0.1302582025527954,
0.0549500547349453,
-0.2351260930299759,
-0.4245695173740387,
0.27385514974594116,
-0.19018258154392242,
-0.009113281965255737,
0.28671321272850037,
-0.1083393543958664,
0.3601495623588562,
0.09018893539905548,
-0.06977289915084839,
0.02613559179008007,
-0.12147639691829681,
0.13258761167526245,
0.02633218839764595,
-0.26229166984558105,
0.013558860868215561,
-0.2031879723072052,
-0.4588804244995117,
-0.16323302686214447,
-0.3819049596786499,
-0.534116804599762,
-0.10959139466285706,
0.07420305907726288,
-0.3082781732082367,
-0.028871187940239906,
0.14620602130889893,
-0.1881171315908432,
-0.39201128482818604,
0.06506705284118652,
0.12516461312770844,
0.12389649450778961,
0.03872264176607132,
-0.06826931983232498,
0.06722772866487503,
-0.11935446411371231,
0.07017020881175995,
0.04551347717642784,
0.19082984328269958,
0.34954512119293213,
0.09743693470954895,
-0.030809925869107246,
0.19212527573108673,
0.00203850120306015,
-0.07824501395225525,
-0.13111884891986847,
0.04924045503139496,
-0.20622266829013824,
-0.010188683867454529,
-0.1592094600200653,
0.12383262068033218,
0.25191256403923035,
-0.4038088321685791,
-0.12453647702932358,
-0.5245031118392944,
0.02984406054019928,
0.3025204837322235,
-0.10259290784597397,
-0.13979536294937134,
-0.22402599453926086,
0.11685967445373535,
-0.06854550540447235,
0.11856406927108765,
0.5024999976158142,
0.03752455115318298,
-0.05421101301908493,
0.15004514157772064,
-0.07882000505924225,
-0.1808217167854309,
0.18411985039710999,
0.09671629220247269,
0.2554807662963867,
0.06173131242394447,
-0.27689287066459656,
0.14688482880592346,
-0.37583646178245544,
0.8193793296813965,
0.3687213957309723,
-0.06505797058343887,
0.2133859395980835,
0.30904120206832886,
0.18777179718017578,
-0.19240717589855194,
-0.32577988505363464,
0.17421521246433258,
0.03837357833981514,
0.2553642988204956,
0.1792483925819397,
-0.09899058938026428,
-0.1992010623216629,
0.17660227417945862,
-0.17972061038017273,
-0.2256506383419037,
-0.02648419328033924,
-0.2593868374824524,
-0.48705968260765076,
0.3528203070163727,
0.22117069363594055,
-0.19961605966091156,
0.053425081074237823,
-0.11332729458808899,
0.0573471337556839,
-0.4135172665119171,
0.11173566430807114,
-0.14783404767513275,
0.15647786855697632,
-0.07392200082540512,
-0.11780969798564911,
-0.144698366522789,
-0.01870712637901306,
0.08230870217084885,
-0.1414310485124588,
0.05233070254325867,
0.470745712518692,
0.27699339389801025,
-0.245639830827713,
-0.05962083488702774,
0.3619714081287384,
-0.007441847585141659,
0.31500792503356934,
0.017747320234775543,
0.43111109733581543,
-0.3009568452835083,
-0.023290803655982018,
0.10061253607273102,
0.03535750135779381,
0.07731655985116959,
0.33287346363067627,
-0.10663450509309769,
-0.06951214373111725,
-0.1401250958442688,
0.4199422597885132,
0.22982384264469147,
-0.29112696647644043,
0.005603891797363758,
-0.014773979783058167,
0.6518734097480774,
0.16479861736297607,
0.11765551567077637,
0.05446823686361313,
-0.23389233648777008,
0.06937123090028763,
-0.023440292105078697,
0.082930788397789,
-0.15571905672550201,
-0.3482961058616638,
0.009027259424328804,
-0.04512336850166321,
0.33142560720443726,
-0.21733592450618744,
-0.29513412714004517,
0.1340319663286209,
0.09440061450004578,
-0.46865496039390564,
-0.19918213784694672,
0.24312910437583923,
-0.5984901189804077,
0.1845770627260208,
-0.06479121744632721,
0.2553235590457916,
0.23889802396297455,
0.1457902491092682,
-0.27157315611839294,
-0.049286793917417526,
0.3154751658439636,
-0.23007966578006744,
-0.2156032770872116,
-0.23085615038871765,
-0.2563752233982086,
0.10559199005365372,
-0.05606532469391823,
0.2972102165222168,
-0.18096934258937836,
-0.2312614619731903,
-0.12814493477344513,
0.23983632028102875,
0.08480166643857956,
-0.04606971517205238,
0.14197242259979248,
0.08109959959983826,
-0.05600989609956741,
-0.10897988080978394,
0.28166961669921875,
-0.010450411587953568,
-0.2533504366874695,
-0.058494068682193756,
0.05205685272812843,
-0.24746660888195038,
-0.17635340988636017,
0.21222302317619324,
0.2623106837272644,
0.18556857109069824,
-0.1567038893699646,
-0.13411326706409454,
-0.40383100509643555,
-0.12399628758430481,
0.2661464512348175,
0.03328029066324234,
-0.15737958252429962,
0.21079295873641968,
-0.35652637481689453,
-0.18156206607818604,
0.05528509244322777,
0.15214106440544128,
-0.15143227577209473,
-0.22443585097789764,
0.3446007966995239,
0.19706980884075165,
-0.03158792853355408,
-0.33244094252586365,
0.26194122433662415,
-0.09517091512680054,
-0.07518927752971649,
0.17554694414138794,
0.014475708827376366,
0.17974235117435455,
0.1363155096769333,
-0.010152135044336319,
0.3788703680038452,
0.14802229404449463,
-0.0310691986232996,
-0.16941556334495544,
-0.46084922552108765,
0.011635877192020416,
0.04522484540939331,
0.3164271414279938,
0.05747349560260773,
0.214677095413208,
0.22986027598381042,
-0.5280411839485168,
-0.5009110569953918,
0.20161820948123932,
-0.15685485303401947,
-0.09135468304157257,
0.053933631628751755,
-0.21946567296981812,
-0.15836398303508759,
0.08891728520393372,
0.28238749504089355,
0.40820175409317017,
-0.025036968290805817,
-0.3872506022453308,
-0.10749825835227966,
0.020431414246559143,
0.007952412590384483,
0.18821240961551666,
0.3054129183292389,
-0.26786738634109497,
0.2931388318538666,
0.38111093640327454,
0.04207765683531761,
0.043765343725681305,
0.04844807833433151,
0.18662527203559875,
0.04844997078180313,
0.12790869176387787,
0.11360707879066467,
-0.14520306885242462,
-0.012962289154529572,
-0.04649399220943451,
-0.09823044389486313,
0.07636824250221252,
-0.1113765612244606,
0.08959944546222687,
-0.2319498211145401,
0.2991124987602234,
0.09834357351064682,
0.09935206174850464,
-0.10942623764276505,
0.2580830454826355,
-0.3864004909992218,
0.27742210030555725,
0.06447629630565643,
0.18847651779651642,
-0.22762233018875122,
-0.2633785903453827,
0.260221391916275,
0.47171348333358765,
-0.23767633736133575,
0.05459143593907356,
-0.06833414733409882,
-0.26585692167282104,
0.10122843086719513,
0.052649930119514465,
-0.23623090982437134,
-0.2928265631198883,
-0.05120877921581268,
0.2698844075202942,
0.018786603584885597,
-0.21689869463443756,
-0.13798466324806213,
0.3471170663833618,
-0.17068248987197876,
-0.15970195829868317,
0.17306682467460632,
0.08885431289672852,
0.2632770538330078,
0.21130171418190002,
-0.2356066107749939,
0.1412004679441452,
-0.21444401144981384,
0.18004527688026428,
0.02850550040602684,
-0.07903192192316055,
0.24912187457084656,
0.2305355966091156,
0.14671622216701508,
-0.056010372936725616,
0.1850225031375885,
0.23837631940841675,
-0.06181393191218376,
-0.011888213455677032,
-0.03049856424331665,
0.217259019613266,
-0.07806770503520966,
-0.1736232340335846,
0.30262213945388794,
0.04501459747552872,
-0.05463414639234543,
-0.0035485252737998962,
0.204555481672287,
0.23023439943790436,
-0.24551627039909363,
0.09900328516960144,
0.005914323031902313,
0.07957784086465836,
-0.3165133595466614,
0.15612679719924927,
0.15282180905342102,
-0.1515965759754181,
-0.2163650244474411,
0.4161771535873413,
0.11631084233522415,
0.10739396512508392,
0.15165476500988007,
0.26923850178718567,
0.12435898184776306,
-0.11906717717647552,
-0.06637775897979736,
-0.09506209194660187,
0.0035577844828367233,
-0.14729934930801392,
0.2752418518066406,
0.1173112690448761,
0.10921227931976318,
-0.07278259098529816,
0.3308146595954895,
-0.3748144805431366,
0.2569601237773895,
0.07801727205514908,
-0.27882108092308044,
-0.016581987962126732,
0.05457460880279541,
0.5074191093444824,
-0.07393293082714081,
-0.21251845359802246,
0.22855857014656067,
-0.5703372955322266,
-0.17130322754383087,
0.22047041356563568,
-0.2385062724351883,
0.13663461804389954,
0.0594450905919075,
0.1697365790605545,
-0.011759430170059204,
-0.013966742902994156,
0.09967989474534988,
0.07669596374034882,
-0.20239359140396118,
0.2860925793647766,
-0.31948575377464294,
0.07139000296592712,
0.21360526978969574,
0.009192930534482002,
0.10979428142309189,
-0.218868687748909,
-0.07953692227602005,
0.017712391912937164,
0.18979428708553314,
-0.07800692319869995,
-0.18117697536945343,
0.10552965104579926,
-0.15708500146865845,
0.22699898481369019,
0.6690666079521179,
-0.020418455824255943,
0.028299160301685333,
-0.3172738254070282,
0.25720304250717163,
-0.14532913267612457,
0.2516915798187256,
-0.21239888668060303,
-0.037893667817115784,
0.08272644877433777,
-0.017132699489593506,
0.21045562624931335,
0.17454789578914642,
-0.09382431209087372,
-0.3139480650424957,
-0.15961924195289612,
-0.1775011122226715,
0.06785109639167786,
-0.21305052936077118,
-0.40360990166664124,
0.13963750004768372,
0.20407085120677948,
-0.18332529067993164,
-0.521721363067627,
-0.11528229713439941,
0.17634645104408264,
0.0597400963306427,
-0.05808960273861885,
-0.4140188694000244,
0.5333254337310791,
0.007748804986476898,
0.05009471997618675,
-0.19094210863113403,
0.32388973236083984,
0.3376699388027191,
0.15448163449764252,
-0.33978819847106934,
-0.33970510959625244,
0.35477861762046814,
-0.3642023503780365,
-0.24165984988212585,
0.02561742067337036,
0.4347374141216278,
-0.04382289946079254,
-0.021688444539904594,
-0.09399203211069107,
0.1779838502407074,
0.03739270940423012,
0.0595322921872139,
-0.3126102387905121,
0.3885856568813324,
-0.021715156733989716,
-0.05356960371136665,
0.043262165039777756,
-0.05879543721675873,
0.19922730326652527,
-0.16083373129367828,
-0.05526920408010483,
-0.11344658583402634
] |
https://github.com/huggingface/datasets/pull/2220 | Fix infinite loop in WindowsFileLock | I'm pretty sure many things from the library could break for windows users that haven't disabled the max path length limit.
Maybe it would be simpler to simply raise an error on startup. For exampe, for windows users the error could ask them to disable the limit if it's not been disabled yet ? | Raise exception to avoid infinite loop. | 54 | text: Fix infinite loop in WindowsFileLock
Raise exception to avoid infinite loop.
I'm pretty sure many things from the library could break for windows users that haven't disabled the max path length limit.
Maybe it would be simpler to simply raise an error on startup. For exampe, for windows users the error could ask them to disable the limit if it's not been disabled yet ? | [
-0.3364850878715515,
0.030033141374588013,
-0.10985492169857025,
0.0858798623085022,
-0.042454689741134644,
0.055700190365314484,
0.1722794622182846,
0.08110510557889938,
0.3148186206817627,
0.24720418453216553,
0.7587980628013611,
-0.030565721914172173,
-0.4624433219432831,
0.019849466159939766,
-0.30061328411102295,
-0.08673952519893646,
-0.052409879863262177,
0.19846394658088684,
-0.10608568787574768,
0.19505663216114044,
-0.341805636882782,
0.2074137032032013,
-0.2575467824935913,
0.18903157114982605,
-0.2220659852027893,
-0.22715550661087036,
-0.018416140228509903,
0.36274251341819763,
-0.050090327858924866,
-0.4027221202850342,
-0.13652539253234863,
-0.02750140056014061,
0.02336367964744568,
0.006160534918308258,
-0.00011135141539853066,
-0.23504287004470825,
0.3258522152900696,
0.057296156883239746,
0.10985103249549866,
-0.1392901986837387,
0.05420535057783127,
0.25737085938453674,
0.008453574031591415,
-0.36855724453926086,
0.2478833794593811,
0.1529386043548584,
0.07753989100456238,
-0.2752631604671478,
0.3802536129951477,
0.4257045388221741,
0.19145111739635468,
0.31141868233680725,
0.11528526246547699,
-0.016455285251140594,
0.47188469767570496,
-0.10133178532123566,
-0.11846444010734558,
0.233759805560112,
0.46756866574287415,
-0.31091663241386414,
-0.21725726127624512,
0.007771212607622147,
0.12412092089653015,
-0.07518967986106873,
0.0836113914847374,
-0.34234529733657837,
0.36064431071281433,
-0.24794039130210876,
-0.06502265483140945,
0.21750152111053467,
-0.04606514424085617,
0.033241041004657745,
0.014350894838571548,
-0.07667156308889389,
0.25545361638069153,
-0.011512013152241707,
0.5096747875213623,
0.012393975630402565,
-0.15099510550498962,
0.085650235414505,
0.18745450675487518,
-0.1279224008321762,
-0.21371066570281982,
-0.00007504969835281372,
-0.01203254982829094,
-0.07917611300945282,
0.1691966950893402,
0.20034700632095337,
0.5003260970115662,
0.06391103565692902,
0.09415219724178314,
0.5909018516540527,
-0.13117007911205292,
0.0036200969479978085,
0.00979888066649437,
-0.16187095642089844,
0.008476778864860535,
0.02159537374973297,
0.18608182668685913,
0.35713040828704834,
-0.1690228432416916,
0.08113299310207367,
0.4784962236881256,
0.06916040182113647,
-0.0691537857055664,
-0.029014065861701965,
0.31053268909454346,
-0.1402747482061386,
0.06938758492469788,
0.2104821354150772,
-0.01888367533683777,
0.18221515417099,
-0.06706172227859497,
-0.6711686849594116,
-0.24854061007499695,
0.5241639614105225,
0.30171799659729004,
-0.2814520597457886,
-0.11607043445110321,
0.4208492636680603,
-0.09522412717342377,
-0.023450052365660667,
0.20995493233203888,
0.007084302604198456,
0.18237148225307465,
0.14152991771697998,
0.07650472968816757,
-0.17653828859329224,
-0.18037648499011993,
0.0660770907998085,
0.11617693305015564,
0.32867521047592163,
-0.381171852350235,
0.3218587338924408,
0.015014801174402237,
-0.2720387578010559,
0.11707723140716553,
-0.07387128472328186,
0.003610745072364807,
-0.4065120220184326,
0.31455039978027344,
-0.0449201762676239,
0.09692838042974472,
0.11893792450428009,
0.02074478566646576,
-0.24724745750427246,
-0.019921153783798218,
-0.2036634236574173,
-0.14670893549919128,
0.3565312623977661,
-0.16281288862228394,
-0.36857476830482483,
-0.1621423214673996,
0.231558158993721,
-0.03712250664830208,
0.3196946978569031,
0.24601873755455017,
-0.1171252578496933,
-0.10912773758172989,
-0.07263584434986115,
0.3148435056209564,
-0.23511208593845367,
0.1528237909078598,
0.13309308886528015,
-0.30941781401634216,
0.2958769202232361,
0.017211254686117172,
0.2865809202194214,
0.20023289322853088,
-0.14345304667949677,
-0.314311683177948,
0.17428606748580933,
-0.2262546271085739,
0.19038784503936768,
-0.42928504943847656,
0.4871077537536621,
0.256822794675827,
-0.11558067798614502,
-0.1392134726047516,
-0.0014790078857913613,
-0.24969948828220367,
-0.2982630133628845,
0.00046149641275405884,
-0.20572024583816528,
0.2602135241031647,
-0.13160020112991333,
0.0236278735101223,
0.06161430478096008,
0.109818235039711,
-0.18002738058567047,
-0.4430384635925293,
-0.2913708984851837,
-0.04029563069343567,
0.021423347294330597,
0.18708400428295135,
-0.11916326731443405,
0.21837225556373596,
0.47446733713150024,
0.29355019330978394,
-0.022118251770734787,
-0.16882435977458954,
0.30931270122528076,
0.40319040417671204,
0.08807046711444855,
-0.2743561565876007,
0.02008567377924919,
0.12826374173164368,
-0.11098281294107437,
-0.15069755911827087,
-0.33504781126976013,
0.3567100763320923,
-0.27420684695243835,
-0.060761768370866776,
-0.050187721848487854,
0.01388666033744812,
0.04895685240626335,
0.12485754489898682,
0.05252091586589813,
0.11265690624713898,
-0.07966941595077515,
0.0006562843918800354,
-0.25186824798583984,
-0.5026254653930664,
0.06708741188049316,
-0.21210969984531403,
-0.12805192172527313,
-0.24421323835849762,
-0.06520261615514755,
-0.10547398030757904,
0.15780580043792725,
0.07543940097093582,
-0.253764271736145,
0.18875879049301147,
0.29380667209625244,
0.18337960541248322,
-0.25368088483810425,
-0.07638851553201675,
0.15753157436847687,
0.054438233375549316,
-0.37541869282722473,
-0.17225447297096252,
0.06749691069126129,
-0.13378453254699707,
0.1010010614991188,
-0.03310725837945938,
0.1964091956615448,
-0.0702204555273056,
0.14369747042655945,
0.11254356801509857,
0.09033385664224625,
-0.28965291380882263,
-0.4000786542892456,
-0.12777982652187347,
0.022176146507263184,
0.30012065172195435,
0.2199663370847702,
0.05611955001950264,
-0.22077086567878723,
-0.02454570308327675,
-0.25149863958358765,
0.18917636573314667,
-0.18717850744724274,
0.05464604124426842,
0.3922649919986725,
0.40131524205207825,
0.10882691293954849,
-0.04851238429546356,
0.04038869962096214,
0.5319703221321106,
0.11221758276224136,
0.17234396934509277,
0.15797767043113708,
-0.22086361050605774,
-0.34503796696662903,
0.27187904715538025,
0.027893710881471634,
-0.16976387798786163,
0.49435946345329285,
-0.16007593274116516,
-0.07954757660627365,
-0.41682010889053345,
-0.6110073924064636,
0.021543825045228004,
0.2442232221364975,
-0.12445515394210815,
-0.008648339658975601,
0.3150699734687805,
-0.04220593720674515,
-0.12486270070075989,
-0.06912911683320999,
-0.012103695422410965,
-0.11680576205253601,
0.3143194913864136,
0.3092033565044403,
-0.40116265416145325,
-0.01306886039674282,
-0.0481572188436985,
0.3819252550601959,
-0.05349224805831909,
0.04395395517349243,
-0.1163555234670639,
0.056758102029561996,
-0.2870520055294037,
0.0997406542301178,
0.44872167706489563,
-0.27914750576019287,
0.3061731159687042,
-0.01798468455672264,
-0.1604514867067337,
-0.5492170453071594,
-0.3846443295478821,
0.16598457098007202,
0.1861189603805542,
0.331066370010376,
0.3029783368110657,
0.17901381850242615,
0.12853005528450012,
-0.5530003309249878,
-0.08111326396465302,
-0.2850654423236847,
0.08880539238452911,
-0.276936799287796,
0.0714501142501831,
0.11510518193244934,
-0.28001195192337036,
-0.32274723052978516,
0.13955964148044586,
-0.498087614774704,
0.5240390300750732,
-0.03993077948689461,
0.13406270742416382,
0.309916228055954,
0.06724207103252411,
0.41345974802970886,
-0.016031846404075623,
-0.08752033114433289,
0.000725586898624897,
-0.08238572627305984,
0.040914759039878845,
-0.08716027438640594,
-0.4687834084033966,
0.17935927212238312,
-0.1549064815044403,
-0.10781444609165192,
-0.0074981581419706345,
-0.7361652851104736,
-0.2410004734992981,
-0.04619337618350983,
0.016044247895479202,
-0.35059455037117004,
-0.24654577672481537,
0.2110486924648285,
-0.16236047446727753,
-0.2849406898021698,
0.20375606417655945,
0.2019188106060028,
0.22511783242225647,
0.006987420842051506,
0.1253306269645691,
-0.00464504212141037,
0.10632768273353577,
-0.007407080382108688,
0.006180502474308014,
-0.0022971313446760178,
0.3563862144947052,
0.1354600042104721,
0.04062976688146591,
0.3346531391143799,
-0.15278837084770203,
0.29110392928123474,
0.1513100415468216,
-0.12398427724838257,
-0.29349231719970703,
0.10662153363227844,
-0.029908154159784317,
-0.1346191167831421,
0.06952150166034698,
0.013450544327497482,
-0.005249358713626862,
-0.5233887434005737,
0.174791619181633,
-0.10843399167060852,
-0.08662908524274826,
-0.17436328530311584,
0.06593234091997147,
0.40542489290237427,
0.08533371984958649,
0.2636145055294037,
0.484136164188385,
-0.10227035731077194,
0.06055567041039467,
-0.21913304924964905,
-0.09352025389671326,
-0.07238437980413437,
0.13941557705402374,
0.021027186885476112,
0.5182877779006958,
-0.3729451298713684,
-0.35658133029937744,
0.15418076515197754,
-0.31589847803115845,
0.4649319052696228,
0.2077098935842514,
-0.20162247121334076,
0.17324912548065186,
0.22241470217704773,
0.174652561545372,
-0.34894993901252747,
-0.19870926439762115,
-0.027409035712480545,
0.035450782626867294,
0.20230494439601898,
0.14112773537635803,
0.046070367097854614,
0.03647051379084587,
0.09498580545186996,
-0.04262364283204079,
-0.04949769750237465,
-0.055597491562366486,
-0.5094941258430481,
-0.28600144386291504,
0.4891870319843292,
0.21203358471393585,
0.04434475675225258,
-0.016778700053691864,
-0.19723275303840637,
-0.15351195633411407,
-0.39352884888648987,
-0.061707690358161926,
-0.13475584983825684,
0.27378037571907043,
-0.21361671388149261,
-0.07861176133155823,
-0.10649779438972473,
-0.04559016227722168,
-0.08982940763235092,
-0.16819490492343903,
-0.053647879511117935,
0.8068138957023621,
0.516760528087616,
-0.3757254481315613,
0.15831077098846436,
0.5149635076522827,
-0.15333496034145355,
0.207595556974411,
-0.01658947765827179,
0.42136210203170776,
-0.3009064495563507,
0.4587665796279907,
0.09104617685079575,
-0.00788527075201273,
-0.012618066743016243,
0.2674843966960907,
-0.17917600274085999,
0.11442750692367554,
-0.05084015801548958,
0.6130827069282532,
0.057573385536670685,
-0.34763675928115845,
0.03801877051591873,
0.28865864872932434,
0.9421238303184509,
-0.02836558222770691,
0.1247553825378418,
0.029597748070955276,
-0.06435799598693848,
0.0708555206656456,
-0.11020241677761078,
0.03847195953130722,
-0.21633535623550415,
-0.3311000466346741,
-0.06704601645469666,
-0.0971447080373764,
0.43509262800216675,
-0.2338462918996811,
-0.42567601799964905,
0.06287146359682083,
0.27526170015335083,
-0.41435447335243225,
-0.27273449301719666,
0.48281610012054443,
-0.7703126072883606,
0.209796741604805,
0.05622165650129318,
0.08579401671886444,
0.2647589147090912,
0.12271994352340698,
-0.4258892238140106,
0.0708322823047638,
0.4782591164112091,
-0.5890193581581116,
-0.47939884662628174,
-0.15120884776115417,
-0.38398051261901855,
0.02150401659309864,
-0.05210636183619499,
0.13122016191482544,
0.02870940789580345,
-0.265139639377594,
-0.0514245480298996,
0.14310762286186218,
-0.14946623146533966,
0.038760945200920105,
-0.04867783188819885,
-0.304735392332077,
0.041636012494564056,
-0.04450516402721405,
0.1756727546453476,
-0.09328918159008026,
0.08203954249620438,
0.1704687625169754,
-0.34249502420425415,
0.029458284378051758,
-0.4059189558029175,
0.2806711196899414,
0.45064616203308105,
0.0690842717885971,
0.06685976684093475,
-0.04901054501533508,
-0.3238047659397125,
-0.08676713705062866,
0.135212704539299,
-0.13403233885765076,
-0.09682220220565796,
0.07862146943807602,
-0.03133658692240715,
-0.2923744022846222,
0.05064608156681061,
0.002808317542076111,
-0.26338180899620056,
-0.2108013927936554,
0.15338397026062012,
0.09634222090244293,
0.05500819534063339,
-0.3529936671257019,
0.31626811623573303,
0.01811908558011055,
-0.3246169686317444,
-0.08382969349622726,
-0.011524076573550701,
-0.17950588464736938,
0.1708926558494568,
0.32130399346351624,
0.5163586139678955,
0.26320400834083557,
-0.04140161722898483,
-0.3848416209220886,
-0.408386766910553,
0.17343562841415405,
-0.16105297207832336,
0.448970228433609,
-0.0449664331972599,
-0.06979610025882721,
0.2054065763950348,
-0.4119935929775238,
-0.30949512124061584,
0.06828314065933228,
-0.32941725850105286,
0.022139400243759155,
-0.16661205887794495,
-0.09231237322092056,
0.1685972362756729,
0.24296806752681732,
0.034330666065216064,
0.3141635060310364,
0.04306803643703461,
-0.2380170226097107,
-0.13513128459453583,
0.12368343770503998,
0.2428576946258545,
-0.015026561915874481,
0.11825541406869888,
-0.2847442626953125,
0.2703031599521637,
0.26072871685028076,
-0.07501425594091415,
-0.049743715673685074,
-0.0461602658033371,
0.01854345202445984,
0.09024485945701599,
0.32716718316078186,
-0.2825714647769928,
0.051626477390527725,
-0.049513980746269226,
0.09648408740758896,
-0.16096378862857819,
0.16581030189990997,
-0.09136087447404861,
-0.09572214633226395,
-0.23795825242996216,
0.4103521704673767,
0.1371995508670807,
0.08359438925981522,
-0.39702993631362915,
0.2075757533311844,
-0.28126874566078186,
-0.1581331193447113,
0.080469511449337,
0.5201924443244934,
-0.3251081705093384,
-0.15056587755680084,
0.40668317675590515,
0.3265330195426941,
-0.0704207643866539,
-0.049925874918699265,
-0.3877941370010376,
-0.2719481587409973,
-0.010203085839748383,
0.1675081104040146,
-0.05780903995037079,
-0.4179690182209015,
0.12679389119148254,
0.19151821732521057,
-0.20917896926403046,
-0.1556510180234909,
-0.17221522331237793,
0.34224802255630493,
-0.45071128010749817,
-0.1331135630607605,
0.0015062559396028519,
0.0011587068438529968,
0.3462539613246918,
0.12232241034507751,
-0.2945535182952881,
0.4212917685508728,
-0.012283485382795334,
0.20478127896785736,
-0.29935750365257263,
-0.0553010031580925,
0.19833798706531525,
0.06059221923351288,
0.4896440804004669,
-0.0585121214389801,
0.10795912891626358,
0.3863702416419983,
-0.014120829291641712,
-0.11236075311899185,
-0.15489812195301056,
-0.12940579652786255,
-0.08366569131612778,
-0.10997568070888519,
0.21139231324195862,
0.08249673992395401,
-0.15435358881950378,
0.04294881597161293,
0.2485428899526596,
0.280939519405365,
0.2683001160621643,
0.08620209246873856,
0.06552109122276306,
0.08384896069765091,
-0.043047934770584106,
0.23584261536598206,
-0.09106775373220444,
-0.33584412932395935,
0.2962784469127655,
0.1912544071674347,
0.17493794858455658,
0.15228883922100067,
0.15250958502292633,
0.27368348836898804,
0.2590826153755188,
-0.1840728223323822,
-0.1371290236711502,
-0.10882191359996796,
0.17485176026821136,
-0.07066310942173004,
0.4451631009578705,
0.2680162787437439,
0.29579389095306396,
0.2536536455154419,
0.12617449462413788,
-0.20633412897586823,
0.4629732668399811,
-0.043481502681970596,
-0.22620029747486115,
-0.13678193092346191,
-0.11075469106435776,
0.6243536472320557,
0.07954629510641098,
-0.2245386242866516,
0.20786458253860474,
-0.493154913187027,
-0.12229360640048981,
0.005299956537783146,
-0.28192245960235596,
0.24758204817771912,
0.07686547935009003,
0.07319318503141403,
0.17630213499069214,
0.1934543251991272,
0.2638474106788635,
0.24862638115882874,
-0.16711868345737457,
-0.09361845254898071,
-0.4000903069972992,
0.07692394405603409,
-0.002617824822664261,
0.10129673779010773,
0.23021090030670166,
-0.28707611560821533,
-0.343875914812088,
0.06573222577571869,
0.12618683278560638,
0.22294722497463226,
-0.1476610004901886,
0.0630851686000824,
-0.286774605512619,
0.17045436799526215,
0.7640807628631592,
-0.03115302138030529,
0.012970589101314545,
-0.33434173464775085,
0.3615727424621582,
-0.027168061584234238,
0.0070838481187820435,
-0.0013799984008073807,
-0.1521921455860138,
-0.07578340172767639,
0.4905647933483124,
0.12425287067890167,
-0.005831742659211159,
0.040111299604177475,
-0.10532692819833755,
0.06689254939556122,
-0.31373345851898193,
-0.12534421682357788,
0.117548868060112,
-0.16704976558685303,
0.3161378502845764,
-0.06291872262954712,
-0.2175322324037552,
-0.2063373327255249,
-0.1669853925704956,
0.3395496904850006,
0.20814038813114166,
0.2337689846754074,
-0.45862433314323425,
0.2784906327724457,
-0.04267651587724686,
0.35477203130722046,
-0.08255138993263245,
0.30946916341781616,
0.20923848450183868,
-0.020105654373764992,
-0.21316422522068024,
-0.15374617278575897,
0.5807939767837524,
-0.33680278062820435,
-0.1821221262216568,
0.135788694024086,
0.5110000371932983,
0.31758764386177063,
-0.036647386848926544,
-0.4533429741859436,
-0.21037063002586365,
0.08507107198238373,
0.17639723420143127,
-0.43521544337272644,
0.09860531985759735,
-0.29161807894706726,
-0.07526043802499771,
-0.01883605495095253,
0.28336817026138306,
0.037265826016664505,
-0.28288698196411133,
0.24433684349060059,
-0.31025421619415283
] |
https://github.com/huggingface/datasets/pull/2219 | Added CUAD dataset | 1) Changed the language in a few places apart from those you mentioned in README
2) Reduced the size of dummy data folder by removing all other entries except the first
3) Updated YAML tags by using to the past version of `datasets-tagging` app. Will update the quick fix on that repository too in a while | Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1). | 56 | text: Added CUAD dataset
Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1).
1) Changed the language in a few places apart from those you mentioned in README
2) Reduced the size of dummy data folder by removing all other entries except the first
3) Updated YAML tags by using to the past version of `datasets-tagging` app. Will update the quick fix on that repository too in a while | [
-0.3925192058086395,
-0.012854017317295074,
-0.24034245312213898,
-0.00811711698770523,
0.3996978998184204,
0.10246212035417557,
0.3891948163509369,
0.30525484681129456,
0.1448543816804886,
0.2563733458518982,
-0.13882863521575928,
0.06371310353279114,
0.05339222028851509,
0.3022570312023163,
0.098835788667202,
0.17998845875263214,
0.2055995762348175,
-0.05501565337181091,
0.09307931363582611,
-0.09965977817773819,
-0.2871705889701843,
0.14273501932621002,
-0.033514779061079025,
-0.1354527324438095,
-0.24362793564796448,
-0.06401152163743973,
-0.19912655651569366,
0.20739108324050903,
-0.2768392860889435,
-0.47975653409957886,
0.22689466178417206,
0.16227327287197113,
-0.2093498259782791,
0.28180474042892456,
-0.00009958789451047778,
-0.15680818259716034,
0.2334432452917099,
-0.09098957479000092,
-0.19727811217308044,
0.04451729357242584,
-0.12375348806381226,
-0.38669514656066895,
0.056538961827754974,
-0.08265592157840729,
-0.0890117958188057,
-0.01248908694833517,
-0.1388029009103775,
-0.28479063510894775,
-0.02670784294605255,
0.2363988310098648,
0.34748998284339905,
-0.23601184785366058,
0.08882738649845123,
-0.18216635286808014,
0.192739337682724,
0.15696632862091064,
-0.19667096436023712,
-0.04888589307665825,
0.49297624826431274,
0.15471893548965454,
0.05131146311759949,
0.2033810317516327,
0.10384775698184967,
0.026855818927288055,
0.2360755205154419,
0.11261923611164093,
0.19497495889663696,
-0.2485673725605011,
0.29612061381340027,
0.06516267359256744,
0.5571792721748352,
-0.3242322504520416,
-0.24744582176208496,
-0.010623499751091003,
-0.14055052399635315,
-0.49815452098846436,
0.2070440948009491,
0.30156856775283813,
-0.06579621136188507,
0.10322897136211395,
-0.0741441547870636,
-0.08744247257709503,
-0.20468220114707947,
0.011210530996322632,
-0.09656811505556107,
0.339231014251709,
-0.07242997735738754,
-0.16509512066841125,
-0.03155823424458504,
-0.13716848194599152,
0.07643347233533859,
0.0022011399269104004,
-0.1008477509021759,
0.14041005074977875,
-0.2710711658000946,
-0.13537880778312683,
-0.008484646677970886,
-0.01963377743959427,
0.3814324736595154,
0.006182985380291939,
0.13449889421463013,
0.19752132892608643,
-0.040196552872657776,
-0.053504057228565216,
0.02731556072831154,
0.32260245084762573,
-0.03426721692085266,
0.01905841752886772,
0.33579421043395996,
-0.05008719861507416,
0.18976804614067078,
-0.14923110604286194,
-0.16302762925624847,
-0.08360537141561508,
0.005667414516210556,
0.0475827157497406,
0.1424197107553482,
-0.37271302938461304,
-0.1574091762304306,
-0.03022104874253273,
0.1337873637676239,
-0.002197040244936943,
-0.14928382635116577,
0.32695579528808594,
-0.020235400646924973,
-0.041361212730407715,
-0.13857373595237732,
0.19848938286304474,
-0.09374512732028961,
0.1193917915225029,
-0.2774408161640167,
0.10234047472476959,
-0.10862070322036743,
-0.20786230266094208,
0.1561451256275177,
-0.1112394630908966,
0.3049676716327667,
-0.011937539093196392,
-0.08146919310092926,
0.03467055410146713,
0.12455067038536072,
-0.022094644606113434,
0.1393086016178131,
0.23769043385982513,
0.019323091953992844,
-0.01284766849130392,
0.07557816803455353,
-0.5124961137771606,
-0.23732218146324158,
0.05880741775035858,
-0.36884787678718567,
-0.3709786534309387,
-0.2584605813026428,
0.34176328778266907,
0.10263356566429138,
0.07646205276250839,
0.16017284989356995,
0.3709104359149933,
-0.07674361020326614,
-0.012691941112279892,
0.028393536806106567,
0.2577323317527771,
-0.11484327912330627,
-0.21474681794643402,
0.2675212621688843,
0.2769789695739746,
-0.5611386895179749,
-0.0768609344959259,
-0.2254326194524765,
-0.19518299400806427,
0.024213142693042755,
0.014163956046104431,
0.023361533880233765,
-0.1252388060092926,
-0.22356034815311432,
0.30972957611083984,
0.15152686834335327,
-0.42558592557907104,
-0.4067777097225189,
-0.052757129073143005,
0.1953592151403427,
-0.18863587081432343,
0.06917626410722733,
0.12310222536325455,
0.19480064511299133,
-0.10160975158214569,
-0.04035568982362747,
0.28124475479125977,
-0.19407038390636444,
-0.032880935817956924,
-0.42805466055870056,
-0.16712495684623718,
0.07872890681028366,
0.0938720554113388,
0.04681182652711868,
-0.06661494821310043,
0.4588474631309509,
-0.138082355260849,
0.056629300117492676,
-0.09379112720489502,
0.1270810216665268,
0.09717021882534027,
0.5464836955070496,
-0.1737668216228485,
0.07277410477399826,
0.15842396020889282,
-0.5199073553085327,
0.041580505669116974,
0.09092962741851807,
0.27100351452827454,
-0.2752646803855896,
-0.4178406000137329,
-0.21957510709762573,
0.11593080312013626,
-0.1762227714061737,
-0.2842950224876404,
0.28290995955467224,
0.10108345746994019,
0.0509478859603405,
0.09280544519424438,
0.054664816707372665,
0.2375391721725464,
-0.07572831213474274,
-0.06124323979020119,
0.054194267839193344,
0.1122470498085022,
-0.09835732728242874,
0.004461952950805426,
0.1412806212902069,
0.18265777826309204,
0.014683041721582413,
-0.2655356824398041,
-0.1734875738620758,
0.38644853234291077,
0.16105586290359497,
0.18386361002922058,
0.37341922521591187,
0.3186284303665161,
0.38921287655830383,
-0.11136916279792786,
0.3897762596607208,
-0.07098385691642761,
0.1319207102060318,
-0.1806374341249466,
-0.4164283275604248,
0.2606433629989624,
-0.10611832141876221,
0.02875436097383499,
0.11468625068664551,
0.06397999823093414,
0.4358447194099426,
0.0008249431848526001,
0.09513745456933975,
-0.26609307527542114,
-0.055030327290296555,
0.24626722931861877,
0.37157806754112244,
-0.012936091050505638,
-0.2358502596616745,
0.3966950476169586,
0.3677523136138916,
0.026712842285633087,
0.04797784611582756,
0.23275139927864075,
-0.36233294010162354,
-0.2582789957523346,
0.13602639734745026,
0.16218797862529755,
0.19728787243366241,
0.2983875274658203,
0.21769069135189056,
0.1860916018486023,
0.23019371926784515,
-0.11085998266935349,
0.32858335971832275,
0.1038486436009407,
-0.18147499859333038,
0.20420730113983154,
0.19836308062076569,
-0.1364123374223709,
-0.36774274706840515,
0.024197593331336975,
-0.03408580273389816,
0.3582010865211487,
-0.05686675012111664,
-0.17502164840698242,
-0.2598133683204651,
-0.10455493628978729,
0.13030028343200684,
-0.3843015730381012,
-0.21995976567268372,
-0.3367392420768738,
0.24986900389194489,
-0.08907642960548401,
-0.20236293971538544,
0.38749802112579346,
0.06354568898677826,
0.4332335293292999,
-0.06895016133785248,
0.11092452704906464,
-0.16330699622631073,
-0.2097126990556717,
-0.1349349319934845,
0.2869066298007965,
0.23932132124900818,
0.17119178175926208,
0.4470985531806946,
-0.2836045026779175,
0.3206711411476135,
-0.28901106119155884,
-0.45365941524505615,
0.10393321514129639,
-0.04603966325521469,
0.46207308769226074,
0.1718311905860901,
0.16452306509017944,
-0.17073439061641693,
-0.01911405846476555,
0.16308380663394928,
-0.1991744190454483,
-0.22461897134780884,
-0.07425989210605621,
-0.13768720626831055,
-0.15027731657028198,
-0.20163419842720032,
-0.5916082262992859,
-0.45726829767227173,
-0.3670879602432251,
-0.06386704742908478,
0.2558740973472595,
0.1979072093963623,
0.09248527139425278,
0.2656731903553009,
0.12604090571403503,
0.1137700006365776,
-0.18990032374858856,
-0.2809768617153168,
-0.2774101197719574,
0.3082449436187744,
-0.35884982347488403,
-0.34964439272880554,
0.24083828926086426,
0.06714264303445816,
0.21959105134010315,
-0.08216536045074463,
-0.33357709646224976,
-0.12239013612270355,
-0.054311156272888184,
0.2912578582763672,
0.27029532194137573,
-0.06153888255357742,
0.3681706488132477,
0.281859427690506,
-0.26533302664756775,
-0.054475437849760056,
-0.3599132001399994,
-0.0579599067568779,
-0.06672567874193192,
0.01575484871864319,
-0.15400254726409912,
0.26831912994384766,
-0.028322024270892143,
0.6026880741119385,
0.05964074656367302,
0.02830216847360134,
0.30906641483306885,
-0.07984023541212082,
0.36963242292404175,
-0.30881667137145996,
-0.0866587832570076,
0.24505680799484253,
0.0202818363904953,
0.09486021846532822,
0.509548008441925,
0.29289117455482483,
-0.2477126270532608,
0.007534720003604889,
-0.16828329861164093,
-0.1671152412891388,
-0.10377511382102966,
0.03082001768052578,
0.11586562544107437,
0.14316654205322266,
0.05851249769330025,
-0.1542794555425644,
-0.17588205635547638,
-0.2453392744064331,
0.033321790397167206,
0.19707483053207397,
-0.18961384892463684,
0.012813322246074677,
-0.29991060495376587,
0.19135217368602753,
-0.48568689823150635,
0.4064371585845947,
-0.02262652851641178,
-0.11363685131072998,
-0.1604122519493103,
-0.2205413281917572,
-0.02070605754852295,
-0.06304600834846497,
0.4543365240097046,
-0.2987765073776245,
-0.2336389273405075,
0.18486227095127106,
0.12002605199813843,
-0.018004845827817917,
0.020591456443071365,
-0.22214673459529877,
0.059073008596897125,
0.21042025089263916,
0.24489302933216095,
-0.21454067528247833,
-0.10477182269096375,
0.0002743322402238846,
0.2351548671722412,
-0.06661356985569,
0.23400942981243134,
-0.05393911525607109,
-0.2795771062374115,
-0.4092077910900116,
0.07590040564537048,
-0.011483028531074524,
0.1089150607585907,
0.06063207983970642,
-0.25930169224739075,
-0.059301622211933136,
0.031582076102495193,
0.08561326563358307,
0.26523882150650024,
0.44807738065719604,
-0.04769480600953102,
0.2087319791316986,
-0.14595180749893188,
0.29891955852508545,
0.20936532318592072,
0.5422598123550415,
-0.1248505711555481,
-0.03471776843070984,
0.12892277538776398,
-0.48842963576316833,
0.42932066321372986,
0.14997752010822296,
-0.0410732738673687,
-0.009491443634033203,
-0.07644791901111603,
0.20125725865364075,
-0.15372614562511444,
0.14502136409282684,
0.15038634836673737,
0.28830236196517944,
-0.3714475631713867,
-0.23606380820274353,
0.21973979473114014,
-0.028149863705039024,
-0.17936480045318604,
0.3549659848213196,
0.10708573460578918,
-0.24381639063358307,
0.25500690937042236,
0.15340839326381683,
0.9635068774223328,
0.09266982972621918,
-0.12867555022239685,
0.08155850321054459,
-0.111353799700737,
0.05551214516162872,
-0.1898980587720871,
-0.04991549253463745,
-0.18096359074115753,
-0.16843648254871368,
-0.008577389642596245,
0.11290690302848816,
0.15698277950286865,
0.14580991864204407,
-0.5709390640258789,
0.06359384953975677,
-0.04975910112261772,
-0.07244221866130829,
-0.20835459232330322,
0.24236539006233215,
0.16112565994262695,
-0.25932392477989197,
0.10954701155424118,
0.28847888112068176,
0.12203212827444077,
-0.08691966533660889,
-0.03501877933740616,
-0.0063905976712703705,
-0.07005923986434937,
-0.14347997307777405,
-0.15001565217971802,
-0.07246821373701096,
-0.08479158580303192,
-0.023880455642938614,
-0.06683188676834106,
-0.33367976546287537,
0.0653391182422638,
-0.19879621267318726,
0.40572667121887207,
0.16412226855754852,
-0.20914889872074127,
0.3099505305290222,
-0.005834043025970459,
0.21738295257091522,
0.1740802675485611,
-0.033854689449071884,
-0.007241459563374519,
-0.32072025537490845,
-0.08633790165185928,
-0.05935546010732651,
-0.05918021872639656,
-0.04142666235566139,
-0.07732255756855011,
-0.19926945865154266,
0.30245137214660645,
-0.25600317120552063,
-0.08262372016906738,
-0.0019927620887756348,
-0.22505488991737366,
-0.3561241328716278,
0.29028454422950745,
-0.019165270030498505,
0.14180709421634674,
0.17399847507476807,
0.2674236595630646,
-0.28643283247947693,
-0.25105950236320496,
-0.06779340654611588,
0.14155247807502747,
0.044540345668792725,
0.26378631591796875,
0.10426679253578186,
-0.2702283263206482,
-0.4526054859161377,
-0.21610793471336365,
0.06624674052000046,
-0.40213850140571594,
0.07220722734928131,
0.05837182328104973,
-0.16214479506015778,
0.03119470551609993,
0.2747389078140259,
0.14039593935012817,
0.21952417492866516,
-0.16410385072231293,
-0.35380569100379944,
-0.2394736409187317,
0.1259847730398178,
-0.04464050009846687,
0.5435200929641724,
-0.44339868426322937,
-0.18332283198833466,
0.13223402202129364,
0.20588454604148865,
-0.49676069617271423,
-0.029402030631899834,
-0.16572117805480957,
-0.014714431017637253,
-0.1955554038286209,
0.16267231106758118,
0.14341597259044647,
-0.08067354559898376,
0.21805107593536377,
-0.13275869190692902,
-0.30574464797973633,
-0.33349353075027466,
-0.09140710532665253,
0.09470270574092865,
-0.1545219123363495,
-0.12452120333909988,
0.24531424045562744,
0.19024966657161713,
-0.2663174867630005,
-0.14490778744220734,
0.16431714594364166,
-0.17683443427085876,
-0.19870413839817047,
0.09511050581932068,
0.01539430022239685,
-0.07219196110963821,
0.1215992122888565,
-0.11214865744113922,
0.3118564486503601,
0.17560791969299316,
-0.045450855046510696,
0.042794447392225266,
-0.12467292696237564,
-0.161185622215271,
0.21220794320106506,
0.20734518766403198,
0.037901051342487335,
0.06537740677595139,
0.21468454599380493,
0.07881040871143341,
0.10298815369606018,
0.2138410359621048,
0.1232278048992157,
0.04926379397511482,
-0.18424014747142792,
0.0711800754070282,
0.2592872977256775,
0.3842218220233917,
-0.5872253179550171,
-0.11935129016637802,
0.052000027149915695,
-0.1600332260131836,
0.11311762034893036,
0.022530287504196167,
0.49141642451286316,
-0.07496247440576553,
0.11989648640155792,
0.18996238708496094,
0.6289244890213013,
-0.36423635482788086,
0.12851683795452118,
0.1518617421388626,
-0.19452854990959167,
0.09927327930927277,
0.11848055571317673,
-0.03773793950676918,
-0.07236846536397934,
0.559842050075531,
-0.11769642680883408,
0.189271941781044,
0.2438458502292633,
0.07613386958837509,
0.02251843735575676,
-0.09617672860622406,
0.3462451100349426,
0.3036494255065918,
-0.2788444757461548,
0.06670201569795609,
0.34736254811286926,
0.1301700472831726,
-0.004755900241434574,
-0.18809574842453003,
-0.3601157069206238,
0.0890955999493599,
-0.09926966577768326,
-0.007590185850858688,
0.16209030151367188,
-0.26508593559265137,
-0.10951854288578033,
-0.05118107795715332,
-0.007248885929584503,
-0.13877969980239868,
0.28110963106155396,
-0.13261903822422028,
-0.04279041290283203,
-0.18843257427215576,
0.31436896324157715,
-0.014237049967050552,
0.2594083249568939,
-0.09694509953260422,
0.22072549164295197,
0.12228139489889145,
-0.06062304973602295,
0.07887002825737,
0.4800755977630615,
0.3758174777030945,
0.2475242167711258,
0.10446251928806305,
0.18379032611846924,
-0.19494526088237762,
-0.21055611968040466,
-0.14680492877960205,
0.1619277149438858,
0.0776609480381012,
-0.20392471551895142,
0.017297230660915375,
0.3032373785972595,
-0.2555446922779083,
0.0786077231168747,
-0.004188898950815201,
-0.1365712732076645,
-0.05132155492901802,
-0.04737301915884018,
0.04402489215135574,
-0.29237738251686096,
-0.19701285660266876,
0.01153518259525299,
-0.24195405840873718,
-0.0893087387084961,
0.4802442789077759,
-0.09698124974966049,
0.07912703603506088,
-0.28695374727249146,
0.16757185757160187,
-0.02159133553504944,
0.5296226739883423,
-0.03743339702486992,
-0.0053950101137161255,
-0.07337827980518341,
-0.32878100872039795,
-0.74434894323349,
0.06699731945991516,
-0.03257331624627113,
-0.030746396631002426,
-0.04603669047355652,
0.15374840795993805,
0.0869697853922844,
0.049271099269390106,
0.19680993258953094,
-0.0013893890427425504,
0.058544307947158813,
-0.12028966844081879,
-0.5887405872344971,
0.1902141124010086,
0.00929514691233635,
0.22811271250247955,
0.030569255352020264,
-0.31681427359580994,
0.13530831038951874,
-0.18773043155670166,
0.1620669960975647,
-0.046753890812397,
0.14891359210014343,
0.05501774325966835,
0.3110736608505249,
0.3219382166862488,
0.10545080900192261,
0.12107232213020325,
-0.2631395161151886,
0.07298789918422699,
-0.22646021842956543,
-0.31833547353744507,
-0.10195554792881012,
0.29633015394210815,
0.28668639063835144,
0.01951068639755249,
-0.004532983060926199,
-0.3164384961128235,
0.043649718165397644,
0.08984606713056564,
0.11178329586982727,
0.1521400362253189,
-0.09787912666797638,
0.28403088450431824,
0.1353103518486023,
0.04694120213389397,
-0.032430391758680344,
0.060894615948200226,
-0.006174370646476746,
-0.24566589295864105,
-0.129307359457016,
-0.4636329412460327,
0.25069883465766907,
0.18338719010353088,
-0.12898370623588562,
-0.1515767127275467,
0.09482402354478836,
0.1416574865579605,
0.05188586190342903,
-0.5635384321212769,
0.10006511956453323,
0.3297462463378906,
0.16571104526519775,
-0.2520303726196289,
0.4330993890762329,
-0.003916989080607891,
-0.012684624642133713,
-0.1374613493680954,
0.329134076833725,
0.05514327436685562,
-0.13375063240528107,
0.026566509157419205,
-0.2740302085876465
] |
https://github.com/huggingface/datasets/pull/2219 | Added CUAD dataset | @bhavitvyamalik Thanks for adding the dataset on huggingface! Can you please add a metric also for the dataset using the squad_v2 metric file? | Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1). | 23 | text: Added CUAD dataset
Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1).
@bhavitvyamalik Thanks for adding the dataset on huggingface! Can you please add a metric also for the dataset using the squad_v2 metric file? | [
-0.3523402810096741,
-0.30274146795272827,
-0.17806024849414825,
-0.010667622089385986,
0.41665196418762207,
-0.020494524389505386,
0.3084087073802948,
-0.05587448552250862,
0.0389687679708004,
0.23684251308441162,
-0.19369277358055115,
-0.02223644219338894,
0.19472825527191162,
0.15860728919506073,
0.3730195462703705,
0.008637189865112305,
-0.06977222114801407,
-0.16982689499855042,
0.13178038597106934,
-0.10478344559669495,
-0.09020227938890457,
0.18940438330173492,
-0.09451082348823547,
-0.22686828672885895,
-0.25056979060173035,
-0.09637055546045303,
0.06166958808898926,
0.08305095136165619,
-0.2605305314064026,
-0.4546557366847992,
0.287972629070282,
0.060558877885341644,
0.011870414018630981,
0.4311729669570923,
-0.0001085655385395512,
-0.183965802192688,
0.09428918361663818,
-0.08473124355077744,
-0.14779511094093323,
-0.09059751033782959,
-0.08831827342510223,
-0.481395423412323,
-0.025630734860897064,
-0.15116271376609802,
-0.16732758283615112,
0.2368115931749344,
-0.09992966055870056,
-0.3002784252166748,
0.4427255392074585,
0.26065579056739807,
0.27536606788635254,
0.17174045741558075,
0.08588771522045135,
-0.28939342498779297,
-0.16424867510795593,
0.1854839026927948,
-0.3292745351791382,
0.17362381517887115,
0.4385017156600952,
0.24531418085098267,
0.06880752742290497,
0.24216072261333466,
0.19722947478294373,
0.020970415323972702,
0.4582820534706116,
0.33353888988494873,
0.22116851806640625,
-0.052936047315597534,
0.13328464329242706,
0.06652548909187317,
0.2323439121246338,
-0.3782018721103668,
-0.36067408323287964,
-0.00012487918138504028,
0.11238671094179153,
-0.6145389676094055,
-0.002554565668106079,
0.10357289761304855,
-0.05739405378699303,
0.0505450963973999,
-0.21296633780002594,
-0.039297886192798615,
-0.22138196229934692,
0.008612796664237976,
-0.10782669484615326,
0.11337508261203766,
-0.2629222571849823,
-0.1306993067264557,
-0.04466927424073219,
-0.0164295993745327,
-0.3556893765926361,
0.24343550205230713,
0.01343642920255661,
0.32955512404441833,
-0.3931448459625244,
-0.26067212224006653,
-0.006482377648353577,
-0.1798878312110901,
0.3801766335964203,
-0.0151248499751091,
0.18325352668762207,
-0.10292082279920578,
0.0288296677172184,
-0.03744072467088699,
0.0946788638830185,
0.3113873302936554,
0.18825417757034302,
-0.0041838535107672215,
0.16534170508384705,
0.29903629422187805,
0.17186391353607178,
-0.21005427837371826,
0.13229963183403015,
-0.09632012248039246,
0.12432831525802612,
-0.032102715224027634,
0.019909817725419998,
-0.2890513837337494,
-0.15607063472270966,
0.16451065242290497,
0.3591794967651367,
-0.29085075855255127,
-0.010355875827372074,
0.39782169461250305,
0.048459719866514206,
-0.1924091875553131,
-0.05494815856218338,
0.29620540142059326,
0.08294527977705002,
0.053287994116544724,
-0.26502394676208496,
0.10927245020866394,
-0.10127986967563629,
0.1492304652929306,
0.22174890339374542,
-0.26157626509666443,
0.16994789242744446,
-0.10922650992870331,
0.36821699142456055,
0.028897494077682495,
-0.11751575022935867,
0.025075092911720276,
0.12233585119247437,
-0.04542875662446022,
0.2497183382511139,
-0.019405454397201538,
-0.0027785412967205048,
-0.5956999063491821,
-0.05477099493145943,
-0.11655303090810776,
-0.27605515718460083,
-0.06360829621553421,
-0.3932192623615265,
0.21153078973293304,
-0.017335547134280205,
-0.05820869654417038,
-0.05045493692159653,
0.3553215563297272,
-0.2680875360965729,
0.10099941492080688,
0.03066946566104889,
0.3875649571418762,
-0.34328344464302063,
-0.04910460487008095,
0.39925822615623474,
0.12103120982646942,
-0.40171360969543457,
-0.3846721649169922,
0.08789104223251343,
-0.1982947587966919,
-0.18131747841835022,
0.2011691927909851,
0.11511117219924927,
-0.24130752682685852,
-0.12647680938243866,
0.0018636733293533325,
0.27368417382240295,
-0.7687187194824219,
-0.44068145751953125,
-0.19442284107208252,
-0.12986473739147186,
-0.3498283326625824,
0.08720248937606812,
0.05335957184433937,
0.5396033525466919,
0.0013645440340042114,
0.17804640531539917,
0.295265793800354,
-0.06155833601951599,
-0.2589150667190552,
-0.2831880748271942,
-0.060438111424446106,
0.07495558261871338,
0.15303245186805725,
0.04501393809914589,
-0.01683458685874939,
0.413760781288147,
-0.06552235782146454,
0.015362337231636047,
0.1151985451579094,
0.02731969952583313,
0.12369897961616516,
0.5702521204948425,
-0.20796968042850494,
0.015425236895680428,
-0.034035734832286835,
-0.45904541015625,
0.009186845272779465,
0.11231251060962677,
0.30491888523101807,
0.051159992814064026,
-0.2878451347351074,
-0.3773527145385742,
0.10584729164838791,
-0.08368736505508423,
-0.196940615773201,
0.16930344700813293,
-0.2728731036186218,
-0.06592102348804474,
0.10972139239311218,
-0.15434442460536957,
0.28626611828804016,
-0.2517203688621521,
0.07552536576986313,
0.10012519359588623,
0.22819916903972626,
-0.07429241389036179,
0.017412040382623672,
0.18796181678771973,
0.48431921005249023,
0.08456245809793472,
0.03572208434343338,
0.02282918430864811,
0.09161986410617828,
-0.06587981432676315,
0.25443169474601746,
0.6074174046516418,
0.225236713886261,
0.3408471345901489,
-0.2719121277332306,
-0.00768929161131382,
-0.46958574652671814,
-0.041302390396595,
-0.2367849349975586,
-0.45566657185554504,
0.2376824915409088,
0.03915141522884369,
0.04947644844651222,
-0.05241017043590546,
-0.004419529810547829,
0.2528088390827179,
-0.0011484771966934204,
-0.08476259559392929,
-0.2428268939256668,
-0.03943610563874245,
0.21966692805290222,
0.44514602422714233,
-0.21353141963481903,
-0.0055055320262908936,
0.13455305993556976,
0.3190467655658722,
-0.027935335412621498,
0.12389644235372543,
0.2435005009174347,
-0.04016277939081192,
-0.03618946671485901,
-0.13075031340122223,
-0.09323336184024811,
0.030414611101150513,
0.27573317289352417,
0.18311208486557007,
0.14439089596271515,
0.20759601891040802,
-0.05297123268246651,
0.0600021667778492,
-0.06044827401638031,
-0.3315691351890564,
0.041692204773426056,
0.19901518523693085,
-0.013704448007047176,
-0.20454755425453186,
0.15140588581562042,
-0.27544263005256653,
0.18082046508789062,
-0.22214123606681824,
-0.44834718108177185,
0.12787695229053497,
0.1716538369655609,
-0.0480663999915123,
-0.19075524806976318,
-0.4101760685443878,
-0.1580791026353836,
0.046468451619148254,
-0.2083536684513092,
0.3463582694530487,
0.4279504120349884,
0.17623503506183624,
0.533022403717041,
-0.09533800929784775,
0.045501306653022766,
0.032521165907382965,
-0.1484328657388687,
0.12875859439373016,
0.21071858704090118,
0.026714611798524857,
-0.03306414559483528,
0.48975351452827454,
-0.17045554518699646,
0.4019976258277893,
-0.13957244157791138,
-0.3524765372276306,
0.051252275705337524,
-0.1599961221218109,
0.3970809280872345,
-0.024683088064193726,
0.2780740559101105,
-0.21861082315444946,
0.06933877617120743,
0.23977720737457275,
-0.1356557458639145,
-0.30262070894241333,
-0.20837147533893585,
-0.3513454794883728,
-0.20251420140266418,
-0.03728891536593437,
-0.12748685479164124,
-0.2920130491256714,
-0.1559954136610031,
0.07920392602682114,
0.33293217420578003,
-0.03874453157186508,
-0.00478958897292614,
-0.023289166390895844,
0.24484102427959442,
-0.10330551117658615,
-0.19055823981761932,
-0.39806705713272095,
-0.5370860695838928,
0.34163957834243774,
-0.19933494925498962,
-0.1670997589826584,
0.27391016483306885,
0.17566758394241333,
0.23459604382514954,
-0.36459195613861084,
-0.4149675965309143,
-0.5871283411979675,
0.1106657162308693,
0.3129604756832123,
0.10900119692087173,
0.18535378575325012,
0.2879452109336853,
-0.1807890683412552,
-0.17412260174751282,
-0.159986674785614,
-0.7394281029701233,
0.024261534214019775,
0.19310498237609863,
0.020633496344089508,
-0.476369708776474,
0.2861231863498688,
0.06550332903862,
0.7437255382537842,
0.3394121825695038,
-0.1308412402868271,
0.16996213793754578,
-0.1642511785030365,
0.4234260320663452,
-0.014340154826641083,
-0.41991904377937317,
0.4755283296108246,
0.10181273519992828,
0.2071237713098526,
0.2429691106081009,
0.29482248425483704,
0.08400803059339523,
-0.2015327364206314,
-0.13585400581359863,
-0.24898946285247803,
-0.023084955289959908,
-0.190257728099823,
0.46989864110946655,
0.06131954863667488,
-0.09114933013916016,
-0.06830712407827377,
-0.19788767397403717,
-0.18726366758346558,
0.05953451618552208,
0.38998281955718994,
-0.07353480905294418,
0.18755540251731873,
-0.40788400173187256,
0.16869689524173737,
-0.6533316969871521,
0.28551530838012695,
-0.08769196271896362,
-0.05331892520189285,
-0.3045920133590698,
0.14864486455917358,
-0.0059386491775512695,
0.06164233013987541,
0.638592004776001,
-0.15624989569187164,
-0.07862558960914612,
0.07810038328170776,
0.029969170689582825,
-0.14977434277534485,
0.21882395446300507,
0.008831914514303207,
-0.017898254096508026,
0.3378365635871887,
0.3421439826488495,
-0.18222780525684357,
0.04084724560379982,
0.2428753823041916,
-0.08434591442346573,
-0.07474415749311447,
-0.019147101789712906,
-0.2868792712688446,
-0.12291371822357178,
-0.1420186460018158,
0.2622891664505005,
0.03199966996908188,
0.2830664813518524,
0.372609406709671,
-0.15701119601726532,
0.19892004132270813,
-0.1309841275215149,
0.11541905254125595,
0.16699814796447754,
0.1647360920906067,
0.37663599848747253,
0.1355195939540863,
0.2867498993873596,
0.0919630378484726,
-0.3123742938041687,
0.2391519695520401,
-0.23144537210464478,
-0.22091636061668396,
0.14144375920295715,
-0.3463353216648102,
0.49954238533973694,
0.19576486945152283,
0.1135304793715477,
0.15865495800971985,
0.030371595174074173,
0.34387505054473877,
-0.1805674284696579,
-0.05065951496362686,
0.2750122845172882,
0.2968088388442993,
-0.24218028783798218,
-0.052078597247600555,
0.2887406647205353,
-0.09565195441246033,
0.11857075989246368,
0.2691214680671692,
0.5120368599891663,
-0.0812726765871048,
-0.04888550192117691,
0.1687832772731781,
1.0190682411193848,
-0.06031768023967743,
-0.22829341888427734,
0.042238473892211914,
-0.1944838911294937,
0.2909148037433624,
-0.1661834418773651,
-0.22703546285629272,
-0.16489177942276,
-0.14728005230426788,
0.03139839321374893,
-0.03849707916378975,
0.09163746982812881,
-0.11118161678314209,
-0.38249385356903076,
-0.07763325423002243,
-0.16744379699230194,
-0.005213893949985504,
-0.16928881406784058,
0.3143422603607178,
0.2068808376789093,
-0.3184296488761902,
-0.28625059127807617,
0.22971558570861816,
-0.021189779043197632,
-0.03942539915442467,
-0.1693703532218933,
-0.06927874684333801,
-0.07327474653720856,
-0.007795326411724091,
-0.26736167073249817,
-0.27901872992515564,
-0.16005289554595947,
-0.1765286773443222,
0.21818172931671143,
-0.4341862201690674,
0.04730914905667305,
0.1298491656780243,
0.7409901022911072,
-0.023955363780260086,
-0.3236423134803772,
0.42681705951690674,
-0.3711811602115631,
0.22960339486598969,
0.13512708246707916,
0.015965402126312256,
-0.1453314572572708,
-0.34726932644844055,
-0.1247720867395401,
0.13180416822433472,
0.21840979158878326,
-0.14031678438186646,
0.08255629241466522,
0.04331178963184357,
-0.03454532474279404,
-0.29175251722335815,
0.0658540278673172,
0.14602810144424438,
0.1652136594057083,
-0.18318647146224976,
0.18086084723472595,
0.2962777018547058,
0.0049466704949736595,
0.035807523876428604,
0.3716052770614624,
-0.2630769908428192,
-0.08471739292144775,
0.2579394578933716,
-0.15871000289916992,
-0.22914166748523712,
0.047028474509716034,
0.12127630412578583,
-0.22319042682647705,
-0.21434640884399414,
-0.17199908196926117,
0.07124627381563187,
-0.3629167079925537,
-0.021111391484737396,
0.23060236871242523,
0.03538288176059723,
-0.15353910624980927,
0.12559162080287933,
0.17237292230129242,
-0.09448643773794174,
0.12527862191200256,
-0.44517675042152405,
-0.3673747181892395,
0.04275961220264435,
-0.23717765510082245,
0.22054076194763184,
-0.050514452159404755,
0.2892111539840698,
0.1727106124162674,
0.3343275189399719,
-0.4164242148399353,
-0.01102034468203783,
-0.09944511950016022,
-0.07979599386453629,
0.04954702779650688,
-0.18403774499893188,
0.21127790212631226,
-0.21832211315631866,
0.13207855820655823,
-0.09894226491451263,
-0.47614356875419617,
-0.2571530342102051,
-0.0800473690032959,
0.0957021489739418,
-0.1715075969696045,
0.04393000155687332,
-0.03955748677253723,
0.24017582833766937,
-0.26686733961105347,
-0.1161574199795723,
0.2868410348892212,
0.1355310082435608,
0.05807166546583176,
0.08658015727996826,
-0.26909545063972473,
-0.025070734322071075,
-0.02956276945769787,
-0.2056136280298233,
0.6415683031082153,
0.17953911423683167,
0.03496292233467102,
0.07563121616840363,
-0.19303545355796814,
0.01471199095249176,
0.2574189007282257,
0.3022488057613373,
0.2782996892929077,
0.16715079545974731,
0.15790535509586334,
-0.005863815546035767,
0.0161106176674366,
0.255467027425766,
0.08243051916360855,
-0.15452301502227783,
-0.2647251486778259,
0.28545957803726196,
-0.1650886833667755,
0.2594069838523865,
-0.4442078769207001,
0.02745514176785946,
0.3456152379512787,
0.0965518206357956,
0.1947079747915268,
0.12243273854255676,
0.1970234364271164,
0.08016587793827057,
0.2649846374988556,
0.1139402762055397,
0.5670523643493652,
-0.30696576833724976,
0.11412431299686432,
-0.26989105343818665,
0.031451400369405746,
0.023016076534986496,
0.2847821116447449,
0.06016053259372711,
0.018729031085968018,
0.1809602677822113,
-0.21474123001098633,
0.23282180726528168,
-0.07039128988981247,
0.1477174013853073,
0.2426663339138031,
-0.11381764709949493,
0.17538471519947052,
0.2652224898338318,
-0.26443806290626526,
-0.0706951841711998,
0.09599479287862778,
0.5174611806869507,
-0.07856227457523346,
-0.27760523557662964,
-0.37469711899757385,
-0.05651233717799187,
-0.10565758496522903,
0.10605469346046448,
-0.021150290966033936,
-0.17729328572750092,
-0.03151249885559082,
-0.12317158281803131,
0.10191580653190613,
-0.1289084404706955,
-0.0690554827451706,
-0.23653249442577362,
0.028186164796352386,
0.001407821662724018,
-0.12887334823608398,
0.2584981620311737,
0.21353012323379517,
0.0141422338783741,
0.22712501883506775,
0.16375476121902466,
0.04226293787360191,
0.20418961346149445,
0.5224888324737549,
0.2828996777534485,
-0.18819895386695862,
0.23899386823177338,
0.2989111542701721,
0.05882221832871437,
-0.18151791393756866,
0.0158684104681015,
0.09899592399597168,
0.009010851383209229,
-0.33100074529647827,
0.1686921864748001,
0.27507609128952026,
-0.19467881321907043,
0.015175417065620422,
-0.03098675236105919,
0.016618896275758743,
-0.36164602637290955,
-0.1387498378753662,
-0.4286804497241974,
-0.14139734208583832,
-0.370484322309494,
0.0886603593826294,
-0.10213551670312881,
0.1086229532957077,
0.13009688258171082,
-0.1762230396270752,
0.01915755495429039,
-0.34835949540138245,
0.1259373277425766,
-0.05707688257098198,
0.36168596148490906,
0.02110586315393448,
0.006144087761640549,
-0.07496239989995956,
-0.22415807843208313,
-0.8585543036460876,
0.2054603546857834,
0.2677597999572754,
0.1934938281774521,
-0.028203412890434265,
0.26157692074775696,
0.1276823729276657,
0.19763553142547607,
0.41993677616119385,
-0.0015921093290671706,
-0.06903112679719925,
-0.3402111232280731,
-0.5058214664459229,
0.06236878037452698,
-0.024218253791332245,
0.13343331217765808,
0.04222278296947479,
0.21312740445137024,
0.05892070755362511,
-0.10441932827234268,
0.05654364824295044,
-0.10346105694770813,
0.14597879350185394,
-0.2638665437698364,
0.29347991943359375,
0.17489445209503174,
-0.05306988209486008,
0.26690977811813354,
-0.0789809450507164,
0.22809982299804688,
0.04545446112751961,
-0.11243218183517456,
-0.021156584843993187,
0.2104206383228302,
0.0898870974779129,
0.1269097775220871,
-0.047302037477493286,
-0.33099693059921265,
0.09714579582214355,
0.42052173614501953,
0.12184551358222961,
-0.09324873983860016,
-0.161781907081604,
0.18217161297798157,
0.13009563088417053,
-0.018050050362944603,
-0.016671564429998398,
0.07173873484134674,
0.016088977456092834,
0.10581135749816895,
-0.07096520066261292,
-0.20789757370948792,
0.3303987681865692,
-0.03368980064988136,
-0.03720572963356972,
-0.24114957451820374,
0.22778567671775818,
0.3850931227207184,
-0.05863550305366516,
-0.7230883240699768,
0.06404920667409897,
0.32284724712371826,
0.21374234557151794,
-0.255202978849411,
0.508878231048584,
-0.3993571400642395,
0.04927050694823265,
-0.047685492783784866,
0.1854589283466339,
0.11105471849441528,
-0.11025067418813705,
0.1188809871673584,
-0.13606135547161102
] |
https://github.com/huggingface/datasets/pull/2215 | Add datasets SLR35 and SLR36 to OpenSLR | Hi @lhoestq,
Could you please help me, I got this error message in all "ci/circleci: run_dataset_script_tests_pyarrow*" tests:
```
...
"""Wrapper classes for various types of tokenization."""
from bleurt.lib import bert_tokenization
import tensorflow.compat.v1 as tf
> import sentencepiece as spm
E ModuleNotFoundError: No module named 'sentencepiece'
...
```
I am not sure why I do get it. Thanks.
| I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia. | 57 | text: Add datasets SLR35 and SLR36 to OpenSLR
I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia.
Hi @lhoestq,
Could you please help me, I got this error message in all "ci/circleci: run_dataset_script_tests_pyarrow*" tests:
```
...
"""Wrapper classes for various types of tokenization."""
from bleurt.lib import bert_tokenization
import tensorflow.compat.v1 as tf
> import sentencepiece as spm
E ModuleNotFoundError: No module named 'sentencepiece'
...
```
I am not sure why I do get it. Thanks.
| [
-0.21044977009296417,
0.03594502806663513,
-0.09222301840782166,
0.1666317880153656,
0.004026863723993301,
0.24202841520309448,
0.2609998285770416,
0.17166928946971893,
-0.2705792486667633,
0.1838693916797638,
0.04030056297779083,
0.1635851114988327,
-0.33278343081474304,
-0.030107583850622177,
0.041734516620635986,
-0.46154746413230896,
0.17705067992210388,
0.1297578066587448,
-0.06116028130054474,
-0.07766963541507721,
0.004610609263181686,
0.121794193983078,
-0.17091861367225647,
0.10398196429014206,
-0.40553170442581177,
-0.17175930738449097,
-0.11250337213277817,
-0.20461034774780273,
-0.2705962657928467,
-0.5209500193595886,
-0.12374024093151093,
0.08190028369426727,
0.20666275918483734,
0.4978458881378174,
-0.00012405822053551674,
-0.0876610279083252,
0.16739819943904877,
-0.14489519596099854,
-0.22746345400810242,
-0.3694809675216675,
0.19988679885864258,
-0.22444571554660797,
0.04074574261903763,
-0.27627748250961304,
-0.030159268528223038,
-0.36480027437210083,
0.051819924265146255,
-0.2100594937801361,
0.005767785012722015,
0.5517126321792603,
0.06668396294116974,
0.32209324836730957,
0.19584940373897552,
-0.12877005338668823,
0.4115060865879059,
-0.17890958487987518,
0.032188013195991516,
-0.13311070203781128,
0.23344185948371887,
0.1341959536075592,
0.10775454342365265,
0.105767160654068,
-0.16480445861816406,
-0.1107342392206192,
0.3241356611251831,
0.006639544852077961,
-0.22282171249389648,
-0.6867986917495728,
0.19739851355552673,
0.1900433599948883,
0.5680537223815918,
-0.3125801682472229,
-0.07792957127094269,
0.010074391961097717,
0.13118785619735718,
-0.2830480933189392,
0.0005323067307472229,
0.3634724020957947,
-0.07662852108478546,
0.12227994203567505,
0.011183474212884903,
-0.3815281093120575,
-0.3181929588317871,
0.4107770323753357,
-0.015310972929000854,
0.4387456476688385,
0.1006113663315773,
0.10822167992591858,
-0.0933932512998581,
-0.043827980756759644,
0.2834065854549408,
0.12081534415483475,
0.2175067961215973,
0.28380969166755676,
-0.23865695297718048,
-0.04295823723077774,
-0.018704377114772797,
-0.32608604431152344,
0.12740564346313477,
0.10363447666168213,
-0.07374615967273712,
-0.1016932800412178,
-0.05205337330698967,
0.14500564336776733,
-0.3048252463340759,
0.2594343423843384,
0.21361005306243896,
0.48664024472236633,
0.0864831954240799,
-0.12438454478979111,
0.004214644432067871,
0.12145057320594788,
-0.1681315004825592,
-0.16621223092079163,
-0.35840722918510437,
-0.09233930706977844,
0.2725170850753784,
0.04994131997227669,
-0.14936095476150513,
0.4015308618545532,
-0.49337491393089294,
-0.37512314319610596,
-0.04726524278521538,
0.40028223395347595,
-0.07294730097055435,
-0.13625583052635193,
0.327919602394104,
0.3047705888748169,
0.0028713643550872803,
-0.10790283977985382,
-0.12542623281478882,
0.5897808074951172,
-0.1828719973564148,
0.09742375463247299,
0.10305380821228027,
-0.05567200109362602,
0.1147930920124054,
-0.015226961113512516,
0.2105201631784439,
-0.0469818077981472,
0.25101134181022644,
-0.17642146348953247,
-0.13659203052520752,
0.13217540085315704,
0.08964677155017853,
0.0632520392537117,
-0.18281960487365723,
0.33372068405151367,
-0.03991255536675453,
0.4335232377052307,
-0.30656105279922485,
-0.053203728049993515,
-0.16170307993888855,
0.09986267238855362,
-0.34576088190078735,
-0.2288770079612732,
0.3601897060871124,
0.22469793260097504,
0.10530906170606613,
-0.00273001566529274,
0.013087153434753418,
-0.0958511084318161,
-0.16783638298511505,
-0.02743489295244217,
0.07314953953027725,
0.0045824795961380005,
-0.43829652667045593,
-0.12834763526916504,
0.35835111141204834,
0.08074694126844406,
0.20915000140666962,
0.10180792212486267,
-0.1299063265323639,
0.554494321346283,
-0.18159224092960358,
0.15998367965221405,
0.5338380336761475,
-0.23378778994083405,
-0.351737380027771,
-0.08695214241743088,
-0.2064635306596756,
-0.4032435119152069,
0.3175829350948334,
0.12111368030309677,
0.13215506076812744,
0.09120433032512665,
-0.10820257663726807,
0.18296051025390625,
-0.023379234597086906,
-0.07053227722644806,
-0.12844467163085938,
-0.1607295721769333,
0.19044853746891022,
0.2141638696193695,
0.4383013844490051,
-0.010536380112171173,
0.045883163809776306,
0.2677306830883026,
0.05387018620967865,
-0.3887922167778015,
0.2233530580997467,
0.3634961247444153,
0.21784596145153046,
0.2153073251247406,
0.060897186398506165,
-0.17470306158065796,
-0.13573598861694336,
-0.07849365472793579,
-0.25839298963546753,
0.48124104738235474,
-0.2196277529001236,
-0.02783825621008873,
-0.21299567818641663,
-0.17339947819709778,
0.051038116216659546,
0.014880221337080002,
-0.034892477095127106,
0.3234946131706238,
0.05399684980511665,
0.13330097496509552,
-0.30002930760383606,
0.006757753901183605,
-0.07403455674648285,
0.13951458036899567,
0.07548615336418152,
0.4513806402683258,
-0.2211626172065735,
-0.27571922540664673,
0.029307425022125244,
0.06842304766178131,
0.14472201466560364,
-0.2406332641839981,
-0.0027272431179881096,
0.16327914595603943,
-0.31186622381210327,
0.08548648655414581,
0.018131036311388016,
-0.11131243407726288,
0.00800991803407669,
-0.47442278265953064,
0.19565239548683167,
-0.2341548353433609,
-0.13359245657920837,
-0.07458397001028061,
0.11523029208183289,
0.20987185835838318,
0.10452938079833984,
-0.029766492545604706,
0.18694473803043365,
0.00956144742667675,
-0.09735308587551117,
-0.1569662094116211,
-0.06577861309051514,
-0.3057125210762024,
0.25709807872772217,
-0.031616076827049255,
0.2902180254459381,
0.02027958258986473,
-0.3924576938152313,
-0.29079607129096985,
0.463352769613266,
-0.19624172151088715,
0.2835220694541931,
0.15039168298244476,
-0.0807187482714653,
0.13489800691604614,
-0.2373233139514923,
-0.16283643245697021,
0.33640509843826294,
0.21148474514484406,
-0.009209033101797104,
0.08413208276033401,
0.03787914291024208,
-0.1728266030550003,
-0.0024543479084968567,
0.33484238386154175,
-0.005897128023207188,
0.287583589553833,
0.16789500415325165,
-0.042091961950063705,
-0.26607081294059753,
-0.11665685474872589,
0.3637695610523224,
0.4398849904537201,
-0.1666281670331955,
-0.05303124338388443,
-0.01773596927523613,
-0.20134568214416504,
-0.34704622626304626,
-0.23748889565467834,
-0.11918982863426208,
-0.20827080309391022,
0.09867735207080841,
-0.18331362307071686,
0.035528574138879776,
0.3033663034439087,
0.13225872814655304,
0.4867454767227173,
0.052097879350185394,
-0.13285282254219055,
0.12760001420974731,
-0.020038411021232605,
-0.2582685351371765,
0.0034982264041900635,
0.22138246893882751,
-0.03642362728714943,
0.4634608328342438,
-0.04731833189725876,
0.062660813331604,
-0.4368028938770294,
-0.608620285987854,
0.24159058928489685,
-0.1920265108346939,
0.04602539539337158,
0.14973077178001404,
0.03485455363988876,
-0.12765607237815857,
-0.29555636644363403,
0.17536115646362305,
0.10204564034938812,
-0.31081002950668335,
-0.021296070888638496,
-0.027746427804231644,
-0.03784601017832756,
-0.049153443425893784,
-0.6529501080513,
-0.32176050543785095,
-0.3284519612789154,
-0.2076009064912796,
0.04750863090157509,
0.0383579358458519,
-0.10319168120622635,
0.028043054044246674,
0.17351990938186646,
0.2661598026752472,
0.05832851678133011,
-0.06194062530994415,
-0.08935864269733429,
0.44218388199806213,
-0.3514588177204132,
-0.4207157492637634,
0.06957404315471649,
-0.07336439937353134,
0.37715721130371094,
-0.07180953770875931,
-0.4535302519798279,
-0.27077773213386536,
-0.03729255497455597,
-0.026061974465847015,
-0.07137474417686462,
0.12076295167207718,
0.10527769476175308,
-0.02279164083302021,
0.057472191751003265,
-0.22625389695167542,
-0.009969275444746017,
0.2608301639556885,
-0.13058063387870789,
0.21421250700950623,
-0.05523504316806793,
0.5833368301391602,
0.05075329169631004,
0.6315176486968994,
-0.016581322997808456,
-0.1324910968542099,
0.34489575028419495,
0.03565232828259468,
0.06427625566720963,
0.014200061559677124,
-0.34715506434440613,
0.3689507842063904,
0.20967350900173187,
-0.07633809745311737,
0.35266467928886414,
-0.4313826858997345,
-0.09426499903202057,
-0.13426703214645386,
-0.008865974843502045,
-0.005914844572544098,
-0.05154132470488548,
0.26097580790519714,
-0.19208133220672607,
0.5951242446899414,
-0.27687808871269226,
-0.3551710247993469,
-0.2355354279279709,
-0.16916334629058838,
0.11682586371898651,
-0.011394843459129333,
0.04463738203048706,
0.0669022798538208,
-0.7975274324417114,
0.03388673812150955,
-0.40518835186958313,
0.5063295960426331,
0.20861567556858063,
0.3557188808917999,
-0.23548465967178345,
0.08910562843084335,
0.17135576903820038,
0.17038577795028687,
0.1372072845697403,
-0.10221169888973236,
-0.3163401484489441,
0.2120659500360489,
0.19574537873268127,
-0.28619101643562317,
-0.14448672533035278,
-0.3095042109489441,
0.012696931138634682,
0.1941269487142563,
-0.12020376324653625,
-0.341189980506897,
-0.11045584082603455,
0.5887875556945801,
0.09028912335634232,
-0.0255986750125885,
-0.14985927939414978,
-0.2613353729248047,
-0.259322851896286,
-0.4134671688079834,
0.16694611310958862,
0.07471031695604324,
0.35095179080963135,
0.05837064981460571,
-0.021651962772011757,
0.13928189873695374,
-0.23491919040679932,
0.4740039110183716,
-0.060268864035606384,
0.142337828874588,
0.17285123467445374,
-0.06990760564804077,
-0.1086450070142746,
0.07594458013772964,
0.49125200510025024,
0.332360178232193,
-0.2754359245300293,
-0.5365622043609619,
0.31747540831565857,
-0.18349863588809967,
0.7188699841499329,
0.2604890763759613,
-0.03630704805254936,
0.4360266923904419,
-0.10783109068870544,
0.02046719565987587,
0.10636544227600098,
0.5295630097389221,
0.2483377456665039,
0.12883318960666656,
-0.5263741612434387,
-0.24123023450374603,
0.04685727134346962,
0.08526968955993652,
0.00577855110168457,
-0.21418547630310059,
-0.08469517529010773,
-0.2712816894054413,
0.34603387117385864,
0.06493482738733292,
1.1829848289489746,
-0.05115573853254318,
0.01722077652812004,
-0.03386154770851135,
0.08153152465820312,
0.7342289686203003,
-0.38144630193710327,
0.05545002222061157,
-0.1871633380651474,
0.055156558752059937,
-0.08333927392959595,
-0.3107517957687378,
0.0855819508433342,
0.12887296080589294,
-0.3740514814853668,
0.13479050993919373,
-0.10062049329280853,
-0.058641668409109116,
0.16501054167747498,
0.7047614455223083,
0.17250028252601624,
-0.13483069837093353,
-0.07643602043390274,
0.015240319073200226,
-0.16542889177799225,
0.2632313370704651,
-0.10245998203754425,
-0.02785644307732582,
-0.35677382349967957,
-0.22277599573135376,
-0.07481937110424042,
0.0027318578213453293,
-0.39488860964775085,
0.13766463100910187,
-0.027343031018972397,
-0.3825080990791321,
0.3356901705265045,
0.37294498085975647,
0.5127221941947937,
0.05610836669802666,
0.07125372439622879,
0.13275766372680664,
-0.42097052931785583,
-0.38124310970306396,
0.024949604645371437,
0.008165261708199978,
0.5602565407752991,
-0.2094067931175232,
-0.19948336482048035,
0.5972172617912292,
0.1900535225868225,
-0.2239551544189453,
-0.2651689946651459,
-0.05944615602493286,
0.3181508779525757,
-0.20800717175006866,
-0.35066691040992737,
0.12014982849359512,
-0.058072514832019806,
-0.10756184160709381,
0.000907648354768753,
0.22354762256145477,
-0.3063533306121826,
-0.20355349779129028,
0.28479209542274475,
-0.31626686453819275,
0.02890041284263134,
0.11783164739608765,
0.22943934798240662,
-0.24407964944839478,
0.69514000415802,
0.44171440601348877,
0.05609086900949478,
-0.10530790686607361,
-0.1752542406320572,
0.2510227859020233,
-0.22784772515296936,
-0.07883244007825851,
0.04252001643180847,
-0.16978374123573303,
-0.07436223328113556,
0.36013349890708923,
0.16946274042129517,
0.3810110092163086,
-0.23914314806461334,
-0.24186214804649353,
-0.4960794746875763,
0.1175602450966835,
0.13046523928642273,
0.38523539900779724,
-0.04801764339208603,
0.42425093054771423,
0.056893959641456604,
0.2344864159822464,
-0.19744376838207245,
0.028071681037545204,
-0.3509041368961334,
0.24075239896774292,
0.3647225797176361,
-0.1584639549255371,
-0.08258799463510513,
0.09974293410778046,
-0.04141607880592346,
-0.0586189329624176,
-0.25049442052841187,
-0.01188942976295948,
-0.17896822094917297,
0.16556333005428314,
0.14866088330745697,
0.11568254232406616,
-0.21472829580307007,
-0.16833126544952393,
0.23291894793510437,
-0.062197618186473846,
0.128989115357399,
0.016143236309289932,
-0.15045692026615143,
0.18351833522319794,
0.009911790490150452,
-0.35393720865249634,
0.03478548675775528,
-0.059997133910655975,
0.07202219218015671,
-0.05572973191738129,
0.31396859884262085,
0.2184503972530365,
0.4391554892063141,
0.012958317995071411,
0.13613185286521912,
0.10375549644231796,
0.4456120729446411,
-0.04029516875743866,
-0.1172880306839943,
-0.265766441822052,
0.07736314833164215,
0.06802423298358917,
-0.1476878672838211,
-0.009646587073802948,
-0.38033872842788696,
0.017553100362420082,
0.14543670415878296,
0.09312796592712402,
-0.31633689999580383,
-0.1933126598596573,
0.2810521125793457,
0.022900719195604324,
0.008663047105073929,
0.19629569351673126,
0.2681664824485779,
0.4094976782798767,
-0.10828328132629395,
0.170851469039917,
0.23941469192504883,
0.2380416840314865,
0.23843435943126678,
0.028658930212259293,
-0.18218004703521729,
0.15673737227916718,
0.24401463568210602,
-0.012717962265014648,
0.0011052042245864868,
0.16891568899154663,
-0.14352241158485413,
0.4761964678764343,
0.1097922995686531,
0.17553941905498505,
0.5083279013633728,
0.03962751850485802,
0.051537975668907166,
0.34396663308143616,
0.39547035098075867,
-0.04229883849620819,
-0.1555282473564148,
0.4501926600933075,
0.2601886987686157,
-0.23031260073184967,
-0.05687708407640457,
0.48633381724357605,
-0.2652170956134796,
0.007227638736367226,
-0.22010186314582825,
-0.1886541247367859,
0.0016282275319099426,
-0.04319552704691887,
0.2565717101097107,
-0.16710856556892395,
-0.19716361165046692,
0.09941388666629791,
-0.23554088175296783,
0.2744540274143219,
-0.1179049089550972,
0.2959834635257721,
-0.2667170763015747,
-0.2685106098651886,
0.4777347147464752,
-0.2144453078508377,
-0.2085762917995453,
0.1953551471233368,
0.34528279304504395,
0.26888588070869446,
0.26536697149276733,
0.031225331127643585,
-0.01611216738820076,
-0.1727471947669983,
0.022546248510479927,
0.08010827749967575,
0.21624261140823364,
0.27182668447494507,
0.05137384310364723,
0.20677320659160614,
-0.010546596720814705,
-0.14037945866584778,
-0.07696381211280823,
0.14502893388271332,
-0.14008164405822754,
-0.27548396587371826,
-0.13031741976737976,
-0.15260615944862366,
-0.21575573086738586,
-0.38704901933670044,
0.09359464049339294,
-0.6144490838050842,
0.053082484751939774,
0.4650396406650543,
-0.06345895677804947,
-0.09135806560516357,
-0.1268843561410904,
-0.028235480189323425,
-0.1661396026611328,
0.43945223093032837,
0.5442385673522949,
0.3156769573688507,
-0.2500336170196533,
-0.5002346634864807,
-0.4719490110874176,
0.36203229427337646,
0.09974000602960587,
0.11045481264591217,
-0.18992836773395538,
0.04413779079914093,
0.38220104575157166,
-0.029568195343017578,
0.2494003176689148,
0.12233114242553711,
-0.4646404981613159,
0.06747300922870636,
-0.5662343502044678,
0.12855279445648193,
-0.04287192225456238,
0.32098257541656494,
-0.043986402451992035,
0.2252410650253296,
-0.06280545890331268,
-0.19973856210708618,
-0.08901505172252655,
-0.3246505856513977,
0.023503296077251434,
0.009063873440027237,
0.00434383749961853,
0.6270363330841064,
0.09433981031179428,
1.0965114831924438,
-0.04054098576307297,
0.09619979560375214,
0.08264774084091187,
-0.2727710008621216,
-0.2023814171552658,
0.336161345243454,
0.08900225907564163,
0.5421442985534668,
-0.1679605096578598,
-0.1526462882757187,
-0.18076904118061066,
0.22121120989322662,
0.009564150124788284,
-0.36468467116355896,
-0.17679011821746826,
0.1756775975227356,
-0.1089809238910675,
0.13257868587970734,
0.27498358488082886,
0.08023984730243683,
0.1036522313952446,
0.02562943659722805,
-0.32250943779945374,
-0.3270367681980133,
0.5861935615539551,
-0.3715774416923523,
-0.23026002943515778,
-0.22752225399017334,
0.07509930431842804,
0.26159754395484924,
-0.05241739749908447,
-0.850547194480896,
-0.08881102502346039,
0.23959288001060486,
0.2860150933265686,
-0.34369581937789917,
0.239273801445961,
0.1983325332403183,
0.1595759242773056,
-0.015748552978038788,
0.0892769917845726,
-0.08731675148010254,
-0.1795235425233841,
-0.3484787344932556,
-0.2826126217842102
] |
https://github.com/huggingface/datasets/pull/2215 | Add datasets SLR35 and SLR36 to OpenSLR | Hi ! This issue appeared on master since the last update of `BLEURT`.
I'm working on a fix. You can ignore this issue for this PR | I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia. | 26 | text: Add datasets SLR35 and SLR36 to OpenSLR
I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia.
Hi ! This issue appeared on master since the last update of `BLEURT`.
I'm working on a fix. You can ignore this issue for this PR | [
-0.08571399748325348,
-0.16624560952186584,
-0.12630786001682281,
0.18531948328018188,
0.18639053404331207,
0.034478478133678436,
-0.07971532642841339,
-0.016865868121385574,
-0.062107279896736145,
0.3178345859050751,
-0.13353292644023895,
-0.020730657503008842,
-0.2270793318748474,
-0.032622430473566055,
-0.2230893075466156,
-0.09475061297416687,
-0.15829503536224365,
0.10182259976863861,
-0.3425304889678955,
-0.0759899914264679,
-0.2661249041557312,
0.2605401277542114,
0.0374596044421196,
-0.065484419465065,
-0.11959000676870346,
-0.002713525667786598,
0.15345856547355652,
-0.08157464116811752,
-0.45003536343574524,
-0.4820857346057892,
-0.10959957540035248,
-0.07906611263751984,
-0.004873063415288925,
0.2240673154592514,
-0.00011174600513186306,
-0.10557836294174194,
0.29556190967559814,
-0.06304755806922913,
-0.4878714382648468,
-0.08744169771671295,
-0.19735121726989746,
-0.31973734498023987,
-0.062436193227767944,
-0.03706424683332443,
-0.1704026460647583,
-0.42612332105636597,
0.08729537576436996,
-0.3463626205921173,
-0.10541518032550812,
0.5150169134140015,
0.23691688477993011,
-0.014246195554733276,
0.09321688115596771,
-0.40562087297439575,
0.39317554235458374,
-0.20264725387096405,
-0.04825740307569504,
-0.023406080901622772,
0.24958737194538116,
0.23792286217212677,
-0.011252224445343018,
0.2933619022369385,
0.09599436074495316,
-0.17012275755405426,
0.3273426592350006,
-0.19005201756954193,
0.19865119457244873,
-0.23523041605949402,
0.3994591534137726,
0.06902685761451721,
0.4864997863769531,
0.09812802076339722,
0.019592881202697754,
0.14118894934654236,
0.12936782836914062,
-0.17358985543251038,
0.1491180658340454,
0.4666321575641632,
-0.03733060508966446,
0.09183084964752197,
-0.20390745997428894,
-0.3573243021965027,
-0.029510248452425003,
0.275887668132782,
0.07372574508190155,
0.3546256422996521,
-0.048229292035102844,
-0.05938403308391571,
0.18360324203968048,
-0.1521073579788208,
0.21660970151424408,
0.05139569938182831,
-0.13127700984477997,
0.10395497828722,
-0.06961721181869507,
0.1961284875869751,
0.05079136788845062,
-0.017410635948181152,
0.08004884421825409,
0.1543773114681244,
0.1760329008102417,
-0.24260246753692627,
-0.15848295390605927,
0.1683443784713745,
-0.04080750420689583,
0.04172385856509209,
0.14876393973827362,
0.26841992139816284,
0.1855585277080536,
0.1692623794078827,
0.2739870846271515,
0.11328086256980896,
0.1192215234041214,
-0.3863930106163025,
-0.43719756603240967,
-0.07702527195215225,
0.2059399038553238,
0.04134940728545189,
-0.05370030552148819,
0.292651891708374,
-0.048325829207897186,
-0.30202391743659973,
-0.11549481004476547,
0.304422527551651,
-0.18565033376216888,
-0.4019015431404114,
0.39016270637512207,
0.20976804196834564,
0.29535773396492004,
-0.05105447769165039,
-0.2612041234970093,
0.2649996876716614,
-0.23617462813854218,
-0.14992935955524445,
0.05152018740773201,
-0.37031352519989014,
0.24170593917369843,
0.09449917078018188,
0.007637456059455872,
0.06773019582033157,
0.027501525357365608,
-0.15322501957416534,
0.1040404662489891,
0.21145860850811005,
-0.01736779697239399,
0.010831275954842567,
-0.09320743381977081,
0.06496552377939224,
0.036478832364082336,
0.48848915100097656,
0.0235879048705101,
-0.12370780110359192,
-0.4710232615470886,
0.2940504550933838,
0.09630556404590607,
-0.02723533660173416,
0.29430389404296875,
0.20023462176322937,
0.25075778365135193,
-0.0596529021859169,
0.02131480723619461,
-0.06024479866027832,
-0.2526356875896454,
-0.09181905537843704,
0.042542897164821625,
-0.11068694293498993,
-0.13855884969234467,
-0.02595696970820427,
0.1623580902814865,
-0.03287086635828018,
0.38770145177841187,
0.30417144298553467,
-0.2250330001115799,
-0.006684564054012299,
-0.2872923016548157,
-0.3531549572944641,
0.2645385265350342,
0.061088208109140396,
-0.4661403000354767,
-0.05456890910863876,
-0.2087770700454712,
-0.4033961296081543,
0.4524979591369629,
0.19227007031440735,
0.09837484359741211,
0.09731577336788177,
0.2324684113264084,
0.3427291512489319,
-0.007725296542048454,
-0.08870423585176468,
-0.31737226247787476,
-0.12751062214374542,
0.08112487196922302,
0.1555212140083313,
0.36556476354599,
0.08863358199596405,
0.23478475213050842,
0.4003031551837921,
0.16044190526008606,
-0.24763911962509155,
0.2847870886325836,
0.3706398010253906,
0.2369152456521988,
-0.08004212379455566,
0.12337353825569153,
0.025259096175432205,
-0.03733654320240021,
-0.005156159400939941,
-0.1699601709842682,
0.3964790999889374,
0.08399884402751923,
0.040355607867240906,
-0.23589274287223816,
-0.2726825177669525,
-0.0004201941192150116,
-0.05683698132634163,
0.1401951164007187,
0.36330536007881165,
-0.2969714105129242,
-0.026388831436634064,
0.0684804767370224,
0.09178940951824188,
-0.2915659546852112,
-0.06483462452888489,
-0.04273714870214462,
0.2150467336177826,
-0.3371713161468506,
-0.04613783583045006,
0.055663809180259705,
-0.023809358477592468,
0.14170396327972412,
0.1063871905207634,
-0.11065424978733063,
-0.017365649342536926,
-0.21450260281562805,
0.07392565160989761,
0.23485779762268066,
-0.13118679821491241,
0.047185540199279785,
-0.39536252617836,
0.05153428763151169,
0.21894116699695587,
-0.06004819646477699,
0.07358000427484512,
-0.09165290743112564,
-0.05186125636100769,
-0.11315205693244934,
-0.07711877673864365,
0.142971470952034,
0.09772913157939911,
0.22130709886550903,
-0.19377005100250244,
0.10602016746997833,
-0.3983241021633148,
0.30345073342323303,
0.034716203808784485,
0.02325562760233879,
0.060581132769584656,
-0.4225419759750366,
-0.13735583424568176,
0.31596189737319946,
0.04297478869557381,
0.14501741528511047,
0.2906702756881714,
-0.032731227576732635,
-0.037164464592933655,
-0.1388578563928604,
0.13595908880233765,
0.0896679162979126,
0.25111469626426697,
0.21395473182201385,
-0.04230435937643051,
0.23382557928562164,
-0.28782302141189575,
0.18641149997711182,
0.16163581609725952,
-0.045479875057935715,
0.3142528831958771,
0.4382939636707306,
-0.1883988380432129,
-0.3105725049972534,
0.06152915582060814,
0.4201417565345764,
0.26208677887916565,
0.05548723414540291,
-0.26481637358665466,
-0.17099852859973907,
0.03464841842651367,
-0.2083849310874939,
0.09543479979038239,
-0.20267298817634583,
-0.23461200296878815,
0.24493910372257233,
0.058715738356113434,
-0.31420978903770447,
0.18274670839309692,
0.07352061569690704,
0.4647044539451599,
-0.03703238442540169,
0.04513850063085556,
0.291221022605896,
-0.03977208212018013,
-0.13658618927001953,
0.20979419350624084,
0.10946232825517654,
-0.311933696269989,
0.42822185158729553,
0.0837753489613533,
-0.06541351228952408,
-0.6335102319717407,
-0.5337075591087341,
0.1533871591091156,
0.09212090075016022,
-0.045206084847450256,
0.24107626080513,
-0.06456953287124634,
-0.02701374515891075,
-0.16966675221920013,
0.14706717431545258,
0.29860591888427734,
-0.311437726020813,
-0.031108971685171127,
-0.11441301554441452,
0.09868358075618744,
-0.20414656400680542,
-0.3880879878997803,
-0.1152937188744545,
-0.5443333387374878,
-0.17739033699035645,
-0.07374583929777145,
0.03939340263605118,
-0.12002765387296677,
0.10408598184585571,
-0.061271727085113525,
0.2724349796772003,
-0.056136004626750946,
-0.31570109724998474,
0.25445032119750977,
0.33593952655792236,
-0.42473557591438293,
-0.2793838679790497,
0.1517779529094696,
0.12465323507785797,
0.18104159832000732,
-0.04733828827738762,
-0.5595460534095764,
-0.19422611594200134,
-0.21588005125522614,
-0.11449006199836731,
-0.14193789660930634,
0.05840176343917847,
0.019819796085357666,
0.10225875675678253,
-0.3009239435195923,
-0.2649136781692505,
-0.30696386098861694,
0.2041478455066681,
0.06758768111467361,
0.35576093196868896,
-0.08659372478723526,
0.2507003843784332,
0.0736917108297348,
0.6318910717964172,
-0.06185349449515343,
0.02163580432534218,
0.34505343437194824,
0.23062783479690552,
0.23118753731250763,
-0.043245770037174225,
-0.35676321387290955,
0.3536888062953949,
0.26472383737564087,
-0.1664697527885437,
0.32579582929611206,
-0.26736605167388916,
-0.028371313586831093,
-0.016827566549181938,
-0.02789565548300743,
0.1354805827140808,
0.029051687568426132,
0.1342700570821762,
-0.0017842762172222137,
0.36482366919517517,
-0.14615893363952637,
-0.49672386050224304,
-0.11578699946403503,
-0.1689203977584839,
-0.004004539921879768,
-0.006865337491035461,
0.06811969727277756,
0.04234166070818901,
-0.3818446397781372,
-0.0059546600095927715,
-0.35233667492866516,
0.35436341166496277,
0.026994630694389343,
0.19767925143241882,
-0.3550451695919037,
0.06683827191591263,
0.11356642842292786,
0.1934404969215393,
-0.045728668570518494,
-0.1633964478969574,
-0.11197352409362793,
0.024717029184103012,
-0.006282735615968704,
-0.21920233964920044,
-0.019285408779978752,
-0.12497906386852264,
0.1425972431898117,
0.4269673526287079,
-0.021749503910541534,
-0.3591771423816681,
0.0018258828204125166,
0.4754928648471832,
-0.055817101150751114,
-0.1417989879846573,
0.05776767060160637,
-0.33739912509918213,
-0.38669753074645996,
-0.32417723536491394,
0.07032709568738937,
0.1813625991344452,
0.42052432894706726,
-0.015563316643238068,
-0.06040926277637482,
0.048342764377593994,
-0.06349708139896393,
0.18029335141181946,
-0.2521214187145233,
0.2931894361972809,
0.35669025778770447,
0.1533873975276947,
-0.23488256335258484,
0.26939254999160767,
0.31121137738227844,
0.7726666331291199,
-0.29380175471305847,
-0.46156829595565796,
0.5786148905754089,
-0.3128104507923126,
0.3460036516189575,
0.30657535791397095,
0.03554730489850044,
0.3751264810562134,
0.07390907406806946,
0.22431379556655884,
0.22166231274604797,
0.34466552734375,
0.04353228211402893,
-0.13852447271347046,
-0.37350162863731384,
-0.21730300784111023,
0.1456630527973175,
-0.09627784788608551,
-0.10971666127443314,
-0.021557241678237915,
0.054625656455755234,
-0.19562140107154846,
0.054539602249860764,
0.20321795344352722,
1.0276973247528076,
-0.14530573785305023,
0.03106640838086605,
-0.18284311890602112,
-0.34485602378845215,
0.3988761603832245,
-0.11133251339197159,
0.08981864899396896,
-0.29255548119544983,
-0.008004874922335148,
0.12878794968128204,
-0.11448334157466888,
-0.10403610020875931,
0.011266421526670456,
-0.21591544151306152,
-0.11679546535015106,
-0.1911253035068512,
-0.14854031801223755,
0.1353691667318344,
0.43187859654426575,
0.012041481211781502,
-0.023104365915060043,
-0.06200064718723297,
0.1613560914993286,
-0.04114804416894913,
0.12549716234207153,
0.018676068633794785,
-0.22809326648712158,
-0.09501352906227112,
-0.19270537793636322,
-0.16960936784744263,
0.0887901782989502,
-0.28201597929000854,
0.12078743427991867,
-0.05287886783480644,
-0.43614423274993896,
0.23674070835113525,
0.3680900037288666,
0.5797672867774963,
0.21067994832992554,
0.005735529586672783,
0.35500863194465637,
-0.29570838809013367,
-0.23538409173488617,
-0.3098714053630829,
0.20929771661758423,
0.08658306300640106,
-0.31207045912742615,
-0.043528907001018524,
0.38695716857910156,
-0.007436838932335377,
-0.33901166915893555,
-0.2667643427848816,
0.18540146946907043,
-0.1686902940273285,
-0.04363572224974632,
-0.2974857985973358,
-0.06434500217437744,
-0.07881329953670502,
-0.2078886777162552,
0.1220950037240982,
0.2131727635860443,
-0.19962933659553528,
-0.5351552963256836,
0.28320932388305664,
-0.3595718443393707,
0.02257155068218708,
0.2910161018371582,
0.38022422790527344,
-0.09114286303520203,
0.6635714769363403,
0.16934514045715332,
-0.0036067813634872437,
-0.18101456761360168,
-0.3613438606262207,
0.1563243269920349,
-0.13907822966575623,
0.18046694993972778,
-0.042475420981645584,
-0.3879854381084442,
0.05104566365480423,
0.5587502121925354,
0.17047560214996338,
0.4264427721500397,
-0.15554316341876984,
-0.13435068726539612,
-0.48076504468917847,
0.06312993913888931,
-0.2493797093629837,
0.31079962849617004,
-0.09369048476219177,
0.02902589738368988,
0.041913263499736786,
0.31333279609680176,
-0.3687911033630371,
0.17364098131656647,
-0.5004377961158752,
0.27165037393569946,
0.32798483967781067,
-0.22168713808059692,
-0.005360825918614864,
0.08857107162475586,
0.04636134207248688,
-0.2093261033296585,
-0.3013452887535095,
-0.14986541867256165,
-0.22705508768558502,
0.08861005306243896,
0.13186633586883545,
0.1361410915851593,
-0.3774571716785431,
-0.3379443883895874,
0.10360598564147949,
0.13700006902217865,
0.17064858973026276,
0.14205849170684814,
-0.06299272179603577,
-0.0061895279213786125,
-0.39521324634552,
-0.4144788980484009,
0.33671724796295166,
-0.09635110199451447,
0.13468626141548157,
-0.07423123717308044,
0.2927738428115845,
0.176535502076149,
0.3021865487098694,
-0.08665129542350769,
0.1565077155828476,
-0.023388490080833435,
0.17915230989456177,
0.24372488260269165,
-0.015292346477508545,
-0.3463704586029053,
-0.011036455631256104,
0.058562010526657104,
0.027540169656276703,
-0.32008954882621765,
-0.2485874593257904,
-0.03946560621261597,
0.03917953372001648,
0.25941741466522217,
-0.42568299174308777,
-0.44344982504844666,
0.0031140632927417755,
0.0157044418156147,
0.012267399579286575,
0.07313691079616547,
0.40524375438690186,
0.22971689701080322,
-0.047556474804878235,
0.32489702105522156,
-0.1862783432006836,
0.048941414803266525,
-0.0644618570804596,
0.10425178706645966,
-0.13007576763629913,
0.059004466980695724,
0.34312504529953003,
-0.027965731918811798,
0.07117040455341339,
0.11023737490177155,
-0.10584890097379684,
0.5521255135536194,
0.2559795379638672,
0.040439363569021225,
0.5102066993713379,
-0.3461785614490509,
0.4029375910758972,
0.30113112926483154,
0.29197967052459717,
0.0028194785118103027,
-0.025486178696155548,
0.30791231989860535,
0.08430908620357513,
-0.22797875106334686,
-0.12767110764980316,
0.26295965909957886,
-0.23089930415153503,
-0.037362709641456604,
0.08294514566659927,
-0.270338773727417,
0.02693265676498413,
0.25357377529144287,
0.1368625909090042,
0.08056239783763885,
0.15635466575622559,
-0.09223218262195587,
-0.14095532894134521,
0.05171963572502136,
-0.24547556042671204,
0.46001914143562317,
-0.3079606294631958,
-0.3139481246471405,
0.25068199634552,
-0.05941872298717499,
-0.36631491780281067,
0.3490048348903656,
0.4399467706680298,
0.22270922362804413,
0.27964651584625244,
0.10845401883125305,
-0.0685715600848198,
0.07403688132762909,
-0.09637868404388428,
-0.18424566090106964,
0.27210843563079834,
0.6258080005645752,
-0.1224367767572403,
0.3246295154094696,
0.09589828550815582,
-0.2830903232097626,
0.2208559811115265,
0.06354395300149918,
-0.19751061499118805,
0.03320755809545517,
-0.23036283254623413,
0.029908176511526108,
-0.24468153715133667,
-0.324066162109375,
-0.03214111179113388,
-0.32148265838623047,
-0.32034537196159363,
0.35247960686683655,
0.04265689477324486,
0.06691264361143112,
-0.16141560673713684,
0.09177497029304504,
0.0012372024357318878,
0.454623281955719,
0.4486725330352783,
0.05117874965071678,
-0.2758675217628479,
-0.5191982388496399,
-0.38384294509887695,
0.42354968190193176,
-0.08474625647068024,
0.07161413878202438,
-0.10201464593410492,
0.18712864816188812,
0.3805515766143799,
-0.13793069124221802,
0.32418328523635864,
-0.04607507586479187,
-0.15212790668010712,
0.15054097771644592,
-0.3978111147880554,
0.0031136050820350647,
0.382581889629364,
0.08952537178993225,
0.05082710087299347,
-0.007425796240568161,
0.06199062243103981,
-0.14923503994941711,
0.1580517292022705,
-0.2488441914319992,
0.0860186219215393,
-0.08704523742198944,
0.20130330324172974,
0.4464164674282074,
0.23768791556358337,
0.6927493810653687,
-0.22692987322807312,
-0.11793126910924911,
0.08256856352090836,
-0.2889903485774994,
-0.13937771320343018,
0.1119294986128807,
0.30654963850975037,
0.8104032278060913,
-0.10940200835466385,
0.014762790873646736,
-0.27704480290412903,
0.6389449834823608,
-0.16370782256126404,
-0.10547797381877899,
-0.15119826793670654,
0.2341020256280899,
-0.07629230618476868,
0.09896907210350037,
0.26656538248062134,
0.050444409251213074,
0.16343867778778076,
-0.31712600588798523,
-0.4832191467285156,
-0.5201195478439331,
0.5166217088699341,
-0.20032085478305817,
-0.2756471335887909,
0.0028270226903259754,
0.12846273183822632,
0.5388241410255432,
0.0921330600976944,
-0.688528835773468,
-0.09603171050548553,
0.11996316909790039,
0.16945892572402954,
-0.22129181027412415,
0.13385096192359924,
0.08752430975437164,
0.18528112769126892,
-0.08442416042089462,
-0.08076980710029602,
0.14977788925170898,
-0.4332028031349182,
-0.332952618598938,
-0.2949368357658386
] |
https://github.com/huggingface/datasets/pull/2215 | Add datasets SLR35 and SLR36 to OpenSLR | > Hi ! This issue appeared on master since the last update of `BLEURT`.
> I'm working on a fix. You can ignore this issue for this PR
Thanks for the info | I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia. | 32 | text: Add datasets SLR35 and SLR36 to OpenSLR
I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia.
> Hi ! This issue appeared on master since the last update of `BLEURT`.
> I'm working on a fix. You can ignore this issue for this PR
Thanks for the info | [
-0.1018298864364624,
-0.16969682276248932,
-0.11680585145950317,
0.20698417723178864,
0.17038783431053162,
0.02690058946609497,
-0.07916709780693054,
0.00041908398270606995,
-0.07205434143543243,
0.3229827880859375,
-0.13686172664165497,
-0.0106118842959404,
-0.2441200464963913,
-0.027987074106931686,
-0.20803092420101166,
-0.08645309507846832,
-0.17618682980537415,
0.09662164747714996,
-0.3697326183319092,
-0.09078426659107208,
-0.2366502583026886,
0.27160194516181946,
0.0415475070476532,
-0.09424057602882385,
-0.12961606681346893,
0.010750219225883484,
0.12946663796901703,
-0.08311789482831955,
-0.4320032596588135,
-0.4869776666164398,
-0.09789726883172989,
-0.08836056292057037,
-0.015700167044997215,
0.23508687317371368,
-0.00011170285870321095,
-0.09786667674779892,
0.3269408941268921,
-0.0515902005136013,
-0.47844675183296204,
-0.10128450393676758,
-0.21220555901527405,
-0.33237308263778687,
-0.0661093071103096,
-0.03465854004025459,
-0.19396281242370605,
-0.41629260778427124,
0.06301960349082947,
-0.34846797585487366,
-0.10849925875663757,
0.5098164677619934,
0.24317866563796997,
-0.03718988969922066,
0.1042979508638382,
-0.3874266445636749,
0.4118425250053406,
-0.17837561666965485,
-0.029621725901961327,
-0.025875478982925415,
0.2345488965511322,
0.23956620693206787,
0.007047861814498901,
0.3048270642757416,
0.09997639060020447,
-0.16852717101573944,
0.3398836553096771,
-0.19101384282112122,
0.2125638723373413,
-0.24849414825439453,
0.3966059684753418,
0.07737965881824493,
0.5082241296768188,
0.1406565010547638,
0.002102141734212637,
0.12969955801963806,
0.12441563606262207,
-0.16680780053138733,
0.18291568756103516,
0.4631892442703247,
-0.019024591892957687,
0.09376408904790878,
-0.20810163021087646,
-0.368978887796402,
-0.03074474260210991,
0.295635461807251,
0.07676996290683746,
0.3577032685279846,
-0.050524525344371796,
-0.06264948099851608,
0.16470184922218323,
-0.1774248629808426,
0.22198382019996643,
0.023665769025683403,
-0.1450706571340561,
0.12543901801109314,
-0.0867411345243454,
0.18275435268878937,
0.02132631093263626,
-0.01676095277070999,
0.08037160336971283,
0.15880869328975677,
0.18608985841274261,
-0.22119224071502686,
-0.1602761298418045,
0.14445799589157104,
-0.03598951920866966,
0.055766429752111435,
0.14359717071056366,
0.2642436921596527,
0.19956237077713013,
0.16466830670833588,
0.2547084391117096,
0.11106380820274353,
0.13309794664382935,
-0.40336722135543823,
-0.4165014624595642,
-0.061073482036590576,
0.21751588582992554,
0.010836075991392136,
-0.015128793194890022,
0.2650233507156372,
-0.06740011274814606,
-0.3127855956554413,
-0.10934967547655106,
0.3136531710624695,
-0.20167791843414307,
-0.36987295746803284,
0.3831678032875061,
0.19982172548770905,
0.27867254614830017,
-0.06032274290919304,
-0.25288528203964233,
0.24221067130565643,
-0.22918368875980377,
-0.12278269976377487,
0.06936408579349518,
-0.37080469727516174,
0.22184531390666962,
0.08542178571224213,
0.014819465577602386,
0.046092599630355835,
0.02862854115664959,
-0.15598784387111664,
0.08561274409294128,
0.204636812210083,
-0.01733386144042015,
0.017605988308787346,
-0.11944790184497833,
0.08334130048751831,
0.03179430961608887,
0.4819177985191345,
0.0012125447392463684,
-0.1260046511888504,
-0.45426279306411743,
0.2982860505580902,
0.10633686184883118,
-0.0025142058730125427,
0.2704166769981384,
0.19727544486522675,
0.23964446783065796,
-0.057598959654569626,
0.0005957111716270447,
-0.04194086790084839,
-0.26745399832725525,
-0.09378606826066971,
0.036103785037994385,
-0.10689152777194977,
-0.11195169389247894,
-0.038739703595638275,
0.1392212212085724,
-0.0166047140955925,
0.38077056407928467,
0.2857072651386261,
-0.2282843440771103,
-0.0208401158452034,
-0.29728713631629944,
-0.35671520233154297,
0.2550523579120636,
0.054325688630342484,
-0.4895811975002289,
-0.0490078367292881,
-0.20393967628479004,
-0.3920866549015045,
0.45644015073776245,
0.19127406179904938,
0.1185152679681778,
0.095024973154068,
0.20653322339057922,
0.3431204557418823,
0.02011728845536709,
-0.05541488528251648,
-0.3400833010673523,
-0.13632743060588837,
0.06926178187131882,
0.16983672976493835,
0.3928073048591614,
0.07743784785270691,
0.24173825979232788,
0.3990452289581299,
0.17336943745613098,
-0.2538154125213623,
0.29202866554260254,
0.3799932599067688,
0.2606576681137085,
-0.08506929874420166,
0.11554510146379471,
0.02484039217233658,
-0.04812346398830414,
0.012310877442359924,
-0.16477784514427185,
0.3620120584964752,
0.09581858664751053,
0.028585419058799744,
-0.2064248025417328,
-0.2855987846851349,
0.011170193552970886,
-0.05204048380255699,
0.1350378394126892,
0.3739020526409149,
-0.28839704394340515,
-0.024972353130578995,
0.07119245827198029,
0.1278044581413269,
-0.2700102627277374,
-0.06646110862493515,
-0.012855175882577896,
0.2480846792459488,
-0.31777679920196533,
-0.06284439563751221,
0.08351576328277588,
-0.035134345293045044,
0.15259447693824768,
0.09166717529296875,
-0.12541717290878296,
-0.017356157302856445,
-0.21709994971752167,
0.08412379771471024,
0.20360538363456726,
-0.14913560450077057,
0.09036815166473389,
-0.3953038156032562,
0.058015987277030945,
0.23395711183547974,
-0.0638483539223671,
0.07538778334856033,
-0.09734082967042923,
-0.05056539177894592,
-0.11280936002731323,
-0.08187655359506607,
0.15185610949993134,
0.08156143873929977,
0.2158718705177307,
-0.21195393800735474,
0.08793125301599503,
-0.39874470233917236,
0.28506025671958923,
0.01844922825694084,
0.04065979644656181,
0.037709519267082214,
-0.41117945313453674,
-0.12515491247177124,
0.296919584274292,
0.05223003402352333,
0.15269359946250916,
0.28767111897468567,
-0.03742270916700363,
-0.029794804751873016,
-0.1254253089427948,
0.1335718333721161,
0.10589466989040375,
0.24954456090927124,
0.21666064858436584,
-0.04015006870031357,
0.2605941891670227,
-0.29647794365882874,
0.20486196875572205,
0.14924301207065582,
-0.03773697093129158,
0.33371150493621826,
0.4635186791419983,
-0.18296000361442566,
-0.2951151728630066,
0.08177877962589264,
0.41672074794769287,
0.24552282691001892,
0.04750165715813637,
-0.283499538898468,
-0.1939602643251419,
0.03308248519897461,
-0.2105473428964615,
0.08172457665205002,
-0.21172189712524414,
-0.22522999346256256,
0.23777775466442108,
0.054470643401145935,
-0.3127908408641815,
0.18706825375556946,
0.09530413150787354,
0.4625690281391144,
-0.022428952157497406,
0.07209236919879913,
0.29180315136909485,
-0.034684568643569946,
-0.14148950576782227,
0.20239372551441193,
0.13437308371067047,
-0.32933250069618225,
0.4246790111064911,
0.0816148892045021,
-0.06263624131679535,
-0.6239871978759766,
-0.5283108353614807,
0.15298625826835632,
0.12102688103914261,
-0.041844695806503296,
0.20430108904838562,
-0.08406145870685577,
-0.033284567296504974,
-0.1473114788532257,
0.13464567065238953,
0.2736213505268097,
-0.31724774837493896,
-0.04419485479593277,
-0.09309115260839462,
0.11974605172872543,
-0.21469731628894806,
-0.3837530314922333,
-0.13137483596801758,
-0.53703373670578,
-0.1946035772562027,
-0.07110252976417542,
0.058857742697000504,
-0.11033842712640762,
0.10344048589468002,
-0.06338133662939072,
0.268336683511734,
-0.04978242516517639,
-0.316545307636261,
0.22241348028182983,
0.34634533524513245,
-0.4504925012588501,
-0.29923030734062195,
0.16300813853740692,
0.13160912692546844,
0.1831008791923523,
-0.04325892776250839,
-0.5817005038261414,
-0.18867309391498566,
-0.22341135144233704,
-0.118454709649086,
-0.14477968215942383,
0.04586105793714523,
0.026291735470294952,
0.08882148563861847,
-0.29798218607902527,
-0.262472927570343,
-0.29020532965660095,
0.1958785057067871,
0.07497569918632507,
0.3530656397342682,
-0.06875377148389816,
0.26525506377220154,
0.06692072749137878,
0.6348026990890503,
-0.06972034275531769,
0.018004057928919792,
0.3533017635345459,
0.2463439702987671,
0.22176392376422882,
-0.03207427263259888,
-0.3642626702785492,
0.3472331762313843,
0.2625235319137573,
-0.16242557764053345,
0.3234156668186188,
-0.25040698051452637,
-0.03915437310934067,
-0.042798493057489395,
-0.0633876621723175,
0.14129981398582458,
0.0065149106085300446,
0.1208675280213356,
0.013927757740020752,
0.35745885968208313,
-0.14506253600120544,
-0.4819336533546448,
-0.10993210971355438,
-0.21163064241409302,
-0.00696122832596302,
0.009856127202510834,
0.06977954506874084,
0.03246268257498741,
-0.38544774055480957,
0.00499374233186245,
-0.3504749834537506,
0.3691744804382324,
0.0286793801933527,
0.19007156789302826,
-0.35792458057403564,
0.07607079297304153,
0.11726795881986618,
0.17191071808338165,
-0.028841957449913025,
-0.14364920556545258,
-0.07590511441230774,
0.01674453169107437,
-0.018443550914525986,
-0.20672211050987244,
-0.03260491043329239,
-0.10408341884613037,
0.15125000476837158,
0.40667515993118286,
-0.003041215240955353,
-0.35857757925987244,
-0.009885745123028755,
0.44769635796546936,
-0.059892263263463974,
-0.14685401320457458,
0.050742149353027344,
-0.3291003406047821,
-0.3444313108921051,
-0.3324183523654938,
0.05853239819407463,
0.14114630222320557,
0.4569832682609558,
-0.028307495638728142,
-0.08046141266822815,
0.023592529818415642,
-0.08463026583194733,
0.16330993175506592,
-0.25945407152175903,
0.3228133022785187,
0.36444392800331116,
0.1866142600774765,
-0.2281702756881714,
0.28701430559158325,
0.31735914945602417,
0.7688524723052979,
-0.2947932183742523,
-0.4475853443145752,
0.583747148513794,
-0.3219600319862366,
0.3281666040420532,
0.3340228199958801,
0.02753305807709694,
0.35872647166252136,
0.0751466155052185,
0.21040299534797668,
0.2060406655073166,
0.33980002999305725,
0.030615156516432762,
-0.1290547400712967,
-0.37955719232559204,
-0.2042502611875534,
0.14861948788166046,
-0.08063965290784836,
-0.10914994776248932,
-0.012300409376621246,
0.02537592127919197,
-0.22184383869171143,
0.037502922117710114,
0.22916051745414734,
1.031415581703186,
-0.14665436744689941,
0.04969611391425133,
-0.20333325862884521,
-0.35822027921676636,
0.3893984854221344,
-0.10185819864273071,
0.09583120048046112,
-0.2968936562538147,
-0.012419088743627071,
0.141651913523674,
-0.11526062339544296,
-0.1128331646323204,
0.018862761557102203,
-0.21651597321033478,
-0.1173839196562767,
-0.1667948216199875,
-0.1382807344198227,
0.10417967289686203,
0.4466229975223541,
0.018652694299817085,
-0.03459729999303818,
-0.07852713763713837,
0.16499488055706024,
-0.04491107910871506,
0.13026823103427887,
0.024635232985019684,
-0.23794978857040405,
-0.1000489741563797,
-0.19123944640159607,
-0.15583884716033936,
0.09486215561628342,
-0.2641308009624481,
0.12967908382415771,
-0.07275797426700592,
-0.46174848079681396,
0.2399558424949646,
0.3580102324485779,
0.5453288555145264,
0.22548846900463104,
0.011630990542471409,
0.35067975521087646,
-0.31640321016311646,
-0.2286796271800995,
-0.3331208825111389,
0.21298618614673615,
0.0879523903131485,
-0.316201388835907,
-0.04552358388900757,
0.393198162317276,
0.02392898127436638,
-0.346563458442688,
-0.26602765917778015,
0.1761871874332428,
-0.16761235892772675,
-0.041821446269750595,
-0.3077182173728943,
-0.07803535461425781,
-0.08157214522361755,
-0.20103900134563446,
0.1282968670129776,
0.20840594172477722,
-0.2040204554796219,
-0.5213439464569092,
0.3091716766357422,
-0.3510805070400238,
0.03508923202753067,
0.33744990825653076,
0.38190770149230957,
-0.08424797654151917,
0.668444037437439,
0.17316217720508575,
-0.0015490278601646423,
-0.1823177933692932,
-0.33379417657852173,
0.1283426284790039,
-0.1412108987569809,
0.18982379138469696,
-0.056698989123106,
-0.35499244928359985,
0.06027203053236008,
0.5429292917251587,
0.15202367305755615,
0.4395379424095154,
-0.1334112286567688,
-0.13884295523166656,
-0.48244360089302063,
0.06684479862451553,
-0.26002010703086853,
0.31809765100479126,
-0.09561924636363983,
0.013761185109615326,
0.028851116076111794,
0.3152771294116974,
-0.3706405758857727,
0.18825891613960266,
-0.47308045625686646,
0.23822790384292603,
0.31428655982017517,
-0.20062074065208435,
-0.0019453598652034998,
0.06757968664169312,
0.03871479630470276,
-0.2064683735370636,
-0.2872728109359741,
-0.15287744998931885,
-0.21602652966976166,
0.08590202778577805,
0.12940022349357605,
0.12661384046077728,
-0.3898361623287201,
-0.3678789734840393,
0.11930455267429352,
0.14167086780071259,
0.18502183258533478,
0.12161283940076828,
-0.057839080691337585,
-0.00774993933737278,
-0.3753935992717743,
-0.4335903227329254,
0.3084098696708679,
-0.06540371477603912,
0.1291867196559906,
-0.07929147779941559,
0.27752619981765747,
0.18058358132839203,
0.31150612235069275,
-0.08614060282707214,
0.16523295640945435,
-0.04136284440755844,
0.15429213643074036,
0.2378098964691162,
0.0095522440969944,
-0.3653895854949951,
-0.005682829767465591,
0.0731365755200386,
0.014347884804010391,
-0.3316701054573059,
-0.24691729247570038,
-0.01979425549507141,
0.05059829354286194,
0.2604978680610657,
-0.41860082745552063,
-0.4343962073326111,
0.012904697097837925,
0.01609940268099308,
0.005456533282995224,
0.05547451227903366,
0.3929930031299591,
0.21800953149795532,
-0.0578291118144989,
0.3476411700248718,
-0.2062203735113144,
0.0750010758638382,
-0.060423847287893295,
0.13283240795135498,
-0.12634028494358063,
0.07667659223079681,
0.35470661520957947,
-0.03507218882441521,
0.060305338352918625,
0.11831050366163254,
-0.11358297616243362,
0.5362715721130371,
0.24672895669937134,
0.023400668054819107,
0.5267232060432434,
-0.3367812931537628,
0.3925634026527405,
0.2988494634628296,
0.2874857783317566,
-0.0003941282629966736,
-0.03717576712369919,
0.309215247631073,
0.09320870041847229,
-0.2503047287464142,
-0.12491215765476227,
0.2688812017440796,
-0.22708404064178467,
-0.035035260021686554,
0.05997582525014877,
-0.26984670758247375,
0.013677604496479034,
0.2722734808921814,
0.09846214950084686,
0.08865773677825928,
0.133823424577713,
-0.05492529273033142,
-0.13520407676696777,
0.06888394802808762,
-0.2671199142932892,
0.4654591381549835,
-0.2874310314655304,
-0.30892306566238403,
0.24287015199661255,
-0.05696031451225281,
-0.3351261019706726,
0.3423413634300232,
0.4390701651573181,
0.20359715819358826,
0.2734757363796234,
0.09068171679973602,
-0.07190443575382233,
0.10165108740329742,
-0.08608434349298477,
-0.1766853779554367,
0.2869805097579956,
0.6369198560714722,
-0.14889642596244812,
0.3057084381580353,
0.0958009660243988,
-0.2836950719356537,
0.24186788499355316,
0.06028282269835472,
-0.21677684783935547,
0.008980471640825272,
-0.2314450442790985,
0.060062162578105927,
-0.23473021388053894,
-0.3093031346797943,
-0.053350575268268585,
-0.31265386939048767,
-0.31333979964256287,
0.3573751747608185,
0.051531899720430374,
0.07003216445446014,
-0.17697575688362122,
0.09272800385951996,
-0.007718805223703384,
0.45823991298675537,
0.43230459094047546,
0.044025663286447525,
-0.2563050091266632,
-0.5192478895187378,
-0.3986785113811493,
0.40416935086250305,
-0.09498262405395508,
0.10484689474105835,
-0.12326191365718842,
0.1934911012649536,
0.37106961011886597,
-0.12886178493499756,
0.34250542521476746,
-0.06423994898796082,
-0.14687113463878632,
0.14728567004203796,
-0.40639033913612366,
0.0010923966765403748,
0.38577157258987427,
0.09432222694158554,
0.048810288310050964,
-0.008165676146745682,
0.06255631893873215,
-0.16007666289806366,
0.14609763026237488,
-0.23293329775333405,
0.0879896879196167,
-0.09974665939807892,
0.19973701238632202,
0.45177602767944336,
0.22501350939273834,
0.6886718273162842,
-0.2096523940563202,
-0.13747970759868622,
0.06796076148748398,
-0.2969275116920471,
-0.12268782407045364,
0.11503660678863525,
0.30510929226875305,
0.8178210258483887,
-0.09742961823940277,
0.007209442555904388,
-0.2956547737121582,
0.6505140662193298,
-0.18051780760288239,
-0.10695657134056091,
-0.14157721400260925,
0.2139754593372345,
-0.06220279633998871,
0.08262088149785995,
0.2699744701385498,
0.07706277072429657,
0.14029797911643982,
-0.3151489496231079,
-0.4968823790550232,
-0.5278832316398621,
0.5046916007995605,
-0.22186054289340973,
-0.2608920931816101,
-0.018859930336475372,
0.15627065300941467,
0.5184430480003357,
0.09303200244903564,
-0.672257125377655,
-0.09458111226558685,
0.12360316514968872,
0.16098377108573914,
-0.18898461759090424,
0.1470569372177124,
0.12594148516654968,
0.1991814225912094,
-0.1044750064611435,
-0.08760514855384827,
0.16077813506126404,
-0.409997820854187,
-0.34660229086875916,
-0.29449301958084106
] |
https://github.com/huggingface/datasets/pull/2203 | updated banking77 train and test data | Hi ! Can you add a description regarding this PR ? Why do you think we need to update the dummy data used to test the `banking77` dataset loading script ? | 31 | text: updated banking77 train and test data
Hi ! Can you add a description regarding this PR ? Why do you think we need to update the dummy data used to test the `banking77` dataset loading script ? | [
-0.2440313696861267,
-0.44067874550819397,
-0.15251967310905457,
-0.12205652892589569,
0.15574976801872253,
0.08862132579088211,
0.2429172694683075,
0.11849197745323181,
0.2532907724380493,
0.09180887788534164,
0.244959756731987,
-0.14193496108055115,
0.1811217963695526,
0.277239590883255,
0.24540983140468597,
-0.3373964726924896,
0.17647430300712585,
0.1087975800037384,
0.27528488636016846,
-0.009679779410362244,
-0.2334047257900238,
-0.05546308308839798,
-0.41937917470932007,
-0.11167179048061371,
-0.37173405289649963,
0.03818550333380699,
-0.22458499670028687,
0.3150331676006317,
-0.2666201889514923,
-0.35403746366500854,
0.022117028012871742,
0.20661188662052155,
0.3150315582752228,
0.13921751081943512,
-0.00010955964535241947,
-0.24670261144638062,
0.20046335458755493,
-0.06481289118528366,
-0.33817869424819946,
0.2777533233165741,
-0.11860430985689163,
-0.004186030477285385,
-0.22185346484184265,
-0.08429425209760666,
-0.22771015763282776,
-0.3474142253398895,
0.06456474214792252,
0.09930133819580078,
0.22133082151412964,
0.38928064703941345,
0.24927444756031036,
-0.07317778468132019,
-0.22465305030345917,
-0.4387248158454895,
-0.1361643671989441,
-0.007376872003078461,
0.14618337154388428,
0.39486590027809143,
0.3288229703903198,
0.05952686816453934,
-0.21335116028785706,
0.08476313948631287,
0.1393805742263794,
-0.33278870582580566,
-0.1608920693397522,
0.05765967816114426,
0.5749561190605164,
-0.11941516399383545,
0.22306391596794128,
0.02788727730512619,
0.5013821721076965,
0.09085118770599365,
-0.05991492420434952,
0.16661158204078674,
-0.055496878921985626,
-0.4313156306743622,
0.06778983771800995,
0.2506476044654846,
-0.16244274377822876,
0.29028427600860596,
-0.4307325780391693,
-0.018280744552612305,
0.05730457603931427,
-0.20483233034610748,
-0.3223283588886261,
-0.10982093214988708,
-0.11556649953126907,
0.038262560963630676,
0.06765639781951904,
-0.06972083449363708,
-0.07434741407632828,
-0.09961912781000137,
-0.23749271035194397,
-0.17735618352890015,
0.2209850549697876,
-0.37276649475097656,
-0.09879369288682938,
0.12124500423669815,
-0.019049527123570442,
0.1392865628004074,
-0.06129615008831024,
0.24088460206985474,
-0.2766377925872803,
-0.07993153482675552,
0.07051558047533035,
0.29803550243377686,
0.1981021761894226,
0.11211661994457245,
-0.19111163914203644,
0.5012474060058594,
-0.1625935435295105,
-0.08013231307268143,
-0.03486457094550133,
0.14684343338012695,
-0.16821284592151642,
0.1674509048461914,
0.007498595863580704,
-0.20261818170547485,
-0.31843578815460205,
0.1727534830570221,
0.04065972566604614,
-0.21432824432849884,
-0.11991562694311142,
0.4430750012397766,
-0.17612162232398987,
-0.0020576603710651398,
0.0618685707449913,
-0.13378722965717316,
0.029632968828082085,
-0.3672594428062439,
-0.21291664242744446,
0.23600506782531738,
-0.6277956366539001,
0.03599042445421219,
-0.0864555686712265,
0.4357115924358368,
0.481215238571167,
-0.00664993841201067,
-0.02643052488565445,
0.04656065255403519,
0.0912960022687912,
-0.04097958281636238,
0.42266857624053955,
0.3791612684726715,
0.027721013873815536,
-0.22548280656337738,
-0.14637082815170288,
0.1899915188550949,
-0.017943568527698517,
0.4321596324443817,
-0.06385479122400284,
-0.35128068923950195,
-0.026148168370127678,
0.2828149199485779,
-0.24663206934928894,
-0.5507528781890869,
0.06376132369041443,
-0.04258813336491585,
-0.2432253360748291,
-0.1600111573934555,
0.2681782841682434,
-0.030370846390724182,
-0.3345620632171631,
-0.17286013066768646,
0.0006980299949645996,
0.021921217441558838,
-0.28630977869033813,
0.12943916022777557,
0.2979376018047333,
-0.2341398298740387,
0.3261242210865021,
0.014036793261766434,
-0.25358501076698303,
0.1578066051006317,
-0.10514883697032928,
-0.2869197130203247,
0.3561164438724518,
-0.15521632134914398,
0.0867534950375557,
0.021885832771658897,
-0.07186570018529892,
0.25312864780426025,
0.11653288453817368,
-0.00034420989686623216,
-0.18774841725826263,
0.10587593168020248,
0.1220422089099884,
-0.163235142827034,
-0.27758124470710754,
0.060449130833148956,
-0.19021447002887726,
-0.1102265864610672,
0.1710173636674881,
0.22233827412128448,
-0.21956433355808258,
0.20597651600837708,
-0.23829087615013123,
0.2745581865310669,
0.5215699076652527,
0.06052052602171898,
0.06013505905866623,
-0.1821267157793045,
0.19066117703914642,
0.316402792930603,
0.15991467237472534,
0.27956750988960266,
-0.09177669137716293,
0.03605629503726959,
0.10004131495952606,
0.19080224633216858,
0.6561173796653748,
-0.20455391705036163,
-0.4014703035354614,
-0.31349706649780273,
-0.034723538905382156,
-0.5464214086532593,
0.13864566385746002,
0.0949857085943222,
-0.011475987732410431,
-0.2259097546339035,
-0.19473141431808472,
0.17396706342697144,
-0.35192498564720154,
-0.02449270710349083,
-0.034905917942523956,
-0.0037061404436826706,
-0.1108003482222557,
-0.10085979849100113,
-0.3408898711204529,
0.10566562414169312,
-0.057291269302368164,
-0.05772199481725693,
-0.03178829699754715,
0.2545167803764343,
0.35129740834236145,
-0.10856661200523376,
0.3201073408126831,
0.38799476623535156,
0.17328736186027527,
0.010020818561315536,
0.38549625873565674,
-0.07340919971466064,
-0.19787012040615082,
0.0698312297463417,
-0.4459891617298126,
0.3798485994338989,
0.07264944911003113,
-0.35148629546165466,
-0.0772576630115509,
-0.12136058509349823,
0.016642702743411064,
-0.17852264642715454,
0.1471637487411499,
0.045744188129901886,
-0.10775338113307953,
-0.0706000030040741,
0.022613003849983215,
-0.07871206104755402,
-0.31166088581085205,
0.28057801723480225,
0.29073214530944824,
-0.1357620805501938,
-0.18186825513839722,
0.09965214133262634,
-0.07449356466531754,
-0.23679804801940918,
-0.0048432983458042145,
0.028064552694559097,
0.25845015048980713,
0.17821037769317627,
-0.04314347729086876,
0.10455135256052017,
0.3728659749031067,
-0.1805626004934311,
0.11325058341026306,
-0.09344790875911713,
-0.11708433926105499,
0.01534738764166832,
-0.1537066251039505,
0.23777228593826294,
-0.20308786630630493,
-0.10724231600761414,
0.23408390581607819,
0.3131793141365051,
-0.06871894001960754,
-0.20471647381782532,
0.23129630088806152,
-0.35308513045310974,
-0.28222018480300903,
0.12391263991594315,
0.33355575799942017,
-0.25311386585235596,
-0.0017807334661483765,
0.22814305126667023,
-0.08127463608980179,
0.13711601495742798,
0.1676611751317978,
0.3899487853050232,
-0.21088653802871704,
0.36981508135795593,
-0.3009093403816223,
0.1108095571398735,
-0.17656561732292175,
0.22322982549667358,
-0.23622919619083405,
0.024597687646746635,
0.23630134761333466,
-0.2966945469379425,
-0.13387319445610046,
-0.347614586353302,
-0.5644571185112,
-0.048909127712249756,
-0.17704948782920837,
-0.0758938267827034,
0.36797618865966797,
0.2569461464881897,
-0.023073870688676834,
0.03488076478242874,
-0.02515845187008381,
0.0031784530729055405,
-0.3179636299610138,
-0.09757260233163834,
0.08959298580884933,
0.03270493820309639,
-0.14742177724838257,
-0.5258821845054626,
-0.0734349712729454,
-0.13937871158123016,
0.21459746360778809,
0.040917251259088516,
0.05588921904563904,
0.17720822989940643,
0.11671613156795502,
0.031108923256397247,
-0.42327409982681274,
-0.03568464517593384,
-0.13064312934875488,
-0.36484232544898987,
-0.19328586757183075,
-0.032223328948020935,
-0.04727670177817345,
0.17353010177612305,
0.007769539952278137,
-0.37575533986091614,
-0.31256920099258423,
-0.2290678173303604,
-0.3597548305988312,
-0.04965245723724365,
0.3203929364681244,
-0.0017868764698505402,
-0.10529486835002899,
0.256892591714859,
-0.3074655532836914,
-0.2802463471889496,
-0.1090405136346817,
-0.3302382230758667,
-0.27652984857559204,
0.09136755019426346,
0.40783926844596863,
-0.20527538657188416,
-0.02509097382426262,
-0.34972742199897766,
0.4097062945365906,
0.4079746901988983,
-0.3813271224498749,
-0.11112843453884125,
-0.29761749505996704,
0.06275792419910431,
-0.3825058937072754,
0.0013238415122032166,
-0.49507930874824524,
-0.13623511791229248,
-0.07928928732872009,
0.257657527923584,
-0.2368529736995697,
0.30593469738960266,
0.05905350297689438,
-0.21131904423236847,
-0.1389133632183075,
-0.0762251615524292,
0.34935298562049866,
-0.10952846705913544,
0.19977602362632751,
-0.04580875486135483,
-0.13310420513153076,
0.02108186110854149,
0.03215869516134262,
-0.14261966943740845,
0.22329388558864594,
0.29136577248573303,
-0.07713023573160172,
-0.25449424982070923,
0.09621291607618332,
-0.27045342326164246,
0.1104249507188797,
-0.02593446709215641,
0.25417864322662354,
0.022463034838438034,
0.03402884304523468,
0.10584019869565964,
0.17486295104026794,
0.30599546432495117,
-0.6078181862831116,
0.0413118377327919,
0.03778699040412903,
-0.2938450872898102,
0.5752845406532288,
-0.07690836489200592,
-0.2768729329109192,
0.23000852763652802,
0.37429890036582947,
0.5180500745773315,
0.24935954809188843,
-0.30610814690589905,
0.6272879838943481,
-0.082876056432724,
-0.13242144882678986,
-0.06371638923883438,
-0.2288367599248886,
-0.017459796741604805,
-0.06398306787014008,
0.11928901076316833,
0.08527591824531555,
-0.015180926769971848,
-0.38380974531173706,
0.05684817209839821,
0.4713445007801056,
0.4194999039173126,
0.1824880987405777,
-0.11320032179355621,
-0.026235200464725494,
0.3587738871574402,
0.10648220777511597,
-0.12204588949680328,
0.001352943480014801,
0.3870149850845337,
0.41121354699134827,
0.018917320296168327,
0.03132813423871994,
0.09262194484472275,
-0.021152202039957047,
0.33958256244659424,
0.46610474586486816,
0.3426031768321991,
0.08380329608917236,
-0.012526746839284897,
0.03305812180042267,
-0.15882718563079834,
0.032449718564748764,
0.04608120024204254,
0.02800484374165535,
-0.08969228714704514,
-0.25813227891921997,
0.2674669623374939,
-0.06436051428318024,
-0.25928065180778503,
-0.18769237399101257,
-0.039532050490379333,
-0.05696670711040497,
0.2798019051551819,
0.04436130076646805,
0.878187358379364,
0.21236348152160645,
0.43389496207237244,
0.0762476697564125,
-0.029140004888176918,
-0.0625898614525795,
-0.5099514126777649,
0.027779575437307358,
-0.7130202651023865,
-0.2225634753704071,
-0.10257472842931747,
-0.15299564599990845,
0.09743322432041168,
-0.15690885484218597,
-0.5067049860954285,
0.04260746017098427,
0.06925500929355621,
-0.1334097683429718,
0.13439233601093292,
0.27740076184272766,
-0.09176698327064514,
0.27394595742225647,
0.24860408902168274,
0.09957338869571686,
0.1761026680469513,
0.18747572600841522,
-0.021637700498104095,
-0.02822510525584221,
-0.14441044628620148,
-0.00663076713681221,
-0.23776544630527496,
-0.03209218382835388,
0.042483460158109665,
-0.14910627901554108,
0.08066526055335999,
0.27889758348464966,
0.170572429895401,
0.0638171061873436,
0.40777820348739624,
0.17520365118980408,
-0.09462451189756393,
0.2818453013896942,
0.271889328956604,
-0.1777176409959793,
0.10190297663211823,
0.01851097121834755,
0.25280052423477173,
-0.17240998148918152,
-0.6857208013534546,
0.22990477085113525,
-0.47426941990852356,
-0.18284772336483002,
-0.33579421043395996,
0.03352142870426178,
0.41228967905044556,
-0.5556225776672363,
-0.1710657924413681,
0.0015989020466804504,
-0.27716752886772156,
-0.0888596773147583,
0.19433851540088654,
-0.05568641424179077,
-0.06025923416018486,
0.030797213315963745,
0.4138985574245453,
-0.4064736068248749,
-0.10696235299110413,
0.13778072595596313,
0.22642281651496887,
-0.15213826298713684,
0.2963072955608368,
-0.13035644590854645,
0.057497963309288025,
-0.42738470435142517,
-0.014475826174020767,
0.5153157114982605,
-0.35350301861763,
0.09620446711778641,
0.11213883012533188,
-0.04130178689956665,
0.35034382343292236,
0.628761351108551,
0.16052311658859253,
0.1479436457157135,
-0.04028429090976715,
-0.17481708526611328,
-0.3391065299510956,
0.1427350789308548,
-0.0025565586984157562,
0.28266477584838867,
0.09673067182302475,
-0.11036773025989532,
0.27128010988235474,
-0.25054553151130676,
-0.42097505927085876,
0.15263588726520538,
-0.03574897348880768,
0.5179558992385864,
0.008753590285778046,
-0.05774931609630585,
0.020600754767656326,
0.18518951535224915,
0.06424570828676224,
-0.02429201453924179,
-0.34562790393829346,
-0.27346765995025635,
0.004865901544690132,
0.1421958953142166,
0.014108913019299507,
-0.10399725288152695,
-0.25206536054611206,
0.24494563043117523,
-0.09508846700191498,
0.22873270511627197,
-0.055818911641836166,
-0.04706130921840668,
0.04633190482854843,
0.39902180433273315,
0.10039130598306656,
0.500029444694519,
-0.14853128790855408,
-0.20224398374557495,
0.14014723896980286,
0.34119752049446106,
-0.18199990689754486,
-0.05271753668785095,
-0.24684345722198486,
-0.2418133020401001,
-0.08133752644062042,
0.18563520908355713,
0.34066203236579895,
-0.03395821154117584,
0.08784819394350052,
0.14802652597427368,
0.27873310446739197,
-0.2924306392669678,
-0.009719975292682648,
0.3498114049434662,
-0.4526647925376892,
-0.24518026411533356,
0.0008035274222493172,
0.2547528147697449,
-0.16843006014823914,
0.2185603678226471,
0.26675599813461304,
-0.02478601038455963,
-0.09803725779056549,
0.09076116979122162,
0.696865975856781,
0.22175082564353943,
0.39957088232040405,
0.0846017375588417,
-0.06386686116456985,
-0.15632709860801697,
-0.025342455133795738,
0.1570816934108734,
-0.35301700234413147,
0.01756870001554489,
0.135227233171463,
0.17344170808792114,
-0.16040098667144775,
0.19321183860301971,
0.10517749190330505,
0.4842691719532013,
0.10665109008550644,
-0.016346607357263565,
-0.4534964859485626,
-0.13917340338230133,
0.63060063123703,
0.2344118356704712,
-0.33202677965164185,
-0.2216000258922577,
0.24469999969005585,
0.5307480096817017,
-0.03376825526356697,
0.1887669712305069,
-0.27268412709236145,
-0.25549155473709106,
-0.27304476499557495,
-0.0018315603956580162,
-0.09225893020629883,
0.03165930509567261,
-0.5818625688552856,
0.052885863929986954,
0.034781314432621,
0.23329098522663116,
0.5635815858840942,
-0.2797011137008667,
-0.21590165793895721,
0.08543933182954788,
0.07044059038162231,
0.06248197332024574,
0.10444039851427078,
-0.23651833832263947,
0.1520230770111084,
0.22693321108818054,
-0.007179632782936096,
0.5966342687606812,
0.3997093141078949,
0.20264247059822083,
0.27580904960632324,
0.09949322044849396,
-0.15166892111301422,
0.11243350803852081,
-0.044470109045505524,
0.2455262541770935,
0.18914449214935303,
0.21533598005771637,
0.13666726648807526,
0.1378060281276703,
0.2347443401813507,
-0.147801011800766,
-0.08262917399406433,
0.24274563789367676,
-0.08022156357765198,
-0.05991389602422714,
0.3763466775417328,
0.2758549451828003,
0.0029008984565734863,
-0.14822611212730408,
0.24669668078422546,
0.092830128967762,
0.015724997967481613,
0.08221648633480072,
0.04516146704554558,
-0.14763370156288147,
0.019138775765895844,
0.1005142405629158,
-0.001974336802959442,
0.5743489265441895,
0.4161723554134369,
0.03653344511985779,
-0.517191469669342,
-0.2273300141096115,
-0.15891683101654053,
0.1714470088481903,
0.1054646223783493,
-0.24533629417419434,
-0.12277013063430786,
-0.06345444917678833,
-0.008435666561126709,
-0.01970978081226349,
-0.08301518857479095,
-0.2689644992351532,
0.09623894095420837,
0.3783762753009796,
-0.2735283672809601,
0.11695247888565063,
0.24106808006763458,
0.3651657700538635,
0.017575319856405258,
-0.3231307864189148,
0.242106094956398,
-0.14416265487670898,
0.1242433413863182,
-0.08387702703475952,
-0.2966393232345581,
0.08760252594947815,
0.16162152588367462,
0.4604400098323822,
-0.2240486890077591,
0.6336839199066162,
-0.04892045259475708,
-0.09117449820041656,
-0.013520937412977219,
-0.12916027009487152,
0.04876689240336418,
0.11697465926408768,
0.27047258615493774,
0.18037131428718567,
0.3227252960205078,
0.23774603009223938,
0.138126403093338,
0.09579624980688095,
-0.02149970829486847,
-0.10651479661464691,
-0.19405557215213776,
0.0937616378068924,
-0.040238846093416214,
0.0838371068239212,
0.22603416442871094,
0.08062660694122314,
0.19141800701618195,
-0.07833245396614075,
-0.34693312644958496,
-0.07519351691007614,
0.48894014954566956,
0.03322992101311684,
-0.10765863955020905,
-0.2434907704591751,
0.1813129186630249,
0.07095523923635483,
-0.020803900435566902,
-0.9170966744422913,
0.1291353404521942,
0.1871272772550583,
0.020291414111852646,
-0.21675166487693787,
0.44305095076560974,
-0.12124001979827881,
-0.016185801476240158,
0.0670613944530487,
0.5397009253501892,
-0.074410080909729,
-0.02183062583208084,
-0.3478825092315674,
-0.12119190394878387
] |
|
https://github.com/huggingface/datasets/pull/2199 | Fix backward compatibility in Dataset.load_from_disk | What about using `_indices_data_files` field in save_to_disk instead of `_indices_files` ?
This way future datasets can also be reloaded from older versions of the lib
`_indices_files` was introduced in a recent PR and was not released | Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195. | 36 | text: Fix backward compatibility in Dataset.load_from_disk
Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195.
What about using `_indices_data_files` field in save_to_disk instead of `_indices_files` ?
This way future datasets can also be reloaded from older versions of the lib
`_indices_files` was introduced in a recent PR and was not released | [
-0.4214216470718384,
0.17330634593963623,
-0.1630026400089264,
0.275241494178772,
0.1442461609840393,
0.19135400652885437,
0.3401663601398468,
0.41818058490753174,
0.13947302103042603,
0.12990416586399078,
0.20189327001571655,
0.2658613920211792,
0.11911260336637497,
0.12430690973997116,
-0.1612682044506073,
0.15136000514030457,
0.14736631512641907,
0.39726701378822327,
-0.26667261123657227,
0.028783343732357025,
-0.5718724131584167,
0.07533129304647446,
-0.07744595408439636,
-0.005074895918369293,
-0.1342739313840866,
-0.03015304170548916,
0.10192945599555969,
0.22886881232261658,
-0.2918151617050171,
-0.4015430808067322,
0.17121581733226776,
0.20485183596611023,
0.1943003386259079,
0.13226066529750824,
-0.00010120207298314199,
-0.0071627795696258545,
0.31119853258132935,
-0.08137575536966324,
-0.28526854515075684,
-0.09054514765739441,
-0.3279447555541992,
-0.09751176089048386,
0.1103004738688469,
-0.3200225234031677,
0.08244071155786514,
-0.2973645329475403,
-0.09450703859329224,
-0.17063915729522705,
0.20675700902938843,
-0.01916665770113468,
0.36848556995391846,
-0.03622620925307274,
0.1823856234550476,
-0.3464409410953522,
0.32861432433128357,
-0.08550412952899933,
-0.033544089645147324,
0.11138704419136047,
0.1741703301668167,
0.24011150002479553,
0.07027702033519745,
0.27501723170280457,
-0.20687463879585266,
-0.1516091376543045,
0.43783268332481384,
-0.19820784032344818,
0.4333172142505646,
-0.16038799285888672,
-0.038387641310691833,
-0.020049184560775757,
0.9451102614402771,
-0.23074325919151306,
-0.1245042011141777,
-0.05041580647230148,
-0.140905499458313,
-0.4903569519519806,
0.3288978636264801,
-0.43010133504867554,
0.05634612217545509,
0.05133805796504021,
-0.02170395292341709,
-0.40023738145828247,
-0.1712895780801773,
-0.04926702380180359,
0.09456680715084076,
0.21566197276115417,
0.029489275068044662,
-0.029040366411209106,
0.2742438018321991,
-0.11220704019069672,
0.3742421269416809,
0.1362072080373764,
-0.14245116710662842,
-0.11219851672649384,
0.04385552555322647,
-0.11141520738601685,
-0.08435451239347458,
-0.16783177852630615,
0.0637785941362381,
0.05383748933672905,
0.056214991956949234,
0.3245373070240021,
-0.10748099535703659,
0.11944486945867538,
0.19415469467639923,
0.24281422793865204,
0.1569107174873352,
-0.040290120989084244,
0.3892098069190979,
0.1747337430715561,
-0.13479499518871307,
-0.19979536533355713,
0.009544876404106617,
-0.43988052010536194,
0.1575988233089447,
0.15712809562683105,
0.06109686195850372,
-0.4027223289012909,
-0.3181764483451843,
0.046116575598716736,
0.0268232524394989,
-0.13287712633609772,
0.014342062175273895,
0.22768405079841614,
0.11829599738121033,
0.09624402970075607,
0.20085880160331726,
0.0031180307269096375,
-0.1753598004579544,
0.12464556843042374,
-0.19111095368862152,
-0.1940954327583313,
-0.01935800164937973,
-0.05005515366792679,
0.07284845411777496,
-0.17724771797657013,
0.13688360154628754,
0.15606048703193665,
0.04730049893260002,
0.09804795682430267,
-0.0019474467262625694,
0.081033855676651,
0.3578836917877197,
0.2913648784160614,
-0.20993945002555847,
0.0539623498916626,
0.1182510107755661,
-0.2967928647994995,
-0.187039315700531,
0.4565596282482147,
-0.33073216676712036,
-0.35389378666877747,
-0.05770064890384674,
0.38159623742103577,
-0.03906313329935074,
-0.0571807324886322,
-0.07691027969121933,
0.09170244634151459,
-0.079550601541996,
-0.49316921830177307,
0.08850008994340897,
-0.08162840455770493,
-0.17350329458713531,
-0.2567093074321747,
0.1156318411231041,
0.1553785502910614,
-0.6264371871948242,
0.12479251623153687,
-0.02329273149371147,
-0.1750241219997406,
-0.1489085853099823,
0.09656216204166412,
-0.21264174580574036,
-0.04830861836671829,
-0.1569208800792694,
0.023602522909641266,
0.25587326288223267,
-0.11410823464393616,
-0.44946956634521484,
0.005903236567974091,
-0.050536662340164185,
-0.11944615840911865,
0.0032214224338531494,
0.2590494155883789,
0.3125363290309906,
-0.21143470704555511,
0.07842765003442764,
0.05216439068317413,
0.13327793776988983,
-0.1483830064535141,
-0.36261895298957825,
-0.25421497225761414,
0.10334838181734085,
-0.02366296760737896,
0.02047266811132431,
0.11870796978473663,
0.10413408279418945,
0.022027358412742615,
0.17882776260375977,
-0.08028596639633179,
-0.055005013942718506,
0.2832130789756775,
0.4417518377304077,
-0.14666011929512024,
0.10115370154380798,
0.027987278997898102,
-0.3508695065975189,
0.2027720808982849,
0.11417980492115021,
-0.11393339931964874,
0.29702210426330566,
-0.20983491837978363,
-0.21689629554748535,
-0.09915423393249512,
-0.2345982939004898,
0.23370905220508575,
0.2377447783946991,
-0.16715700924396515,
-0.27103057503700256,
-0.03397923335433006,
-0.118660107254982,
0.060694970190525055,
-0.13201668858528137,
-0.009318302385509014,
-0.19598214328289032,
0.15958286821842194,
-0.3944029211997986,
0.07718846946954727,
-0.07931816577911377,
0.0748080164194107,
0.3625892996788025,
-0.11157442629337311,
-0.10029982775449753,
0.3613906502723694,
0.08009840548038483,
0.22007086873054504,
-0.11616740375757217,
0.444563627243042,
0.24531929194927216,
-0.11492903530597687,
0.1404283344745636,
0.27323779463768005,
0.03547520563006401,
-0.06738494336605072,
-0.035405099391937256,
0.407758891582489,
-0.21410499513149261,
0.008404776453971863,
0.07140667736530304,
-0.173147514462471,
0.10220570862293243,
0.02194363996386528,
0.005573609843850136,
-0.3452473282814026,
-0.17870058119297028,
0.16320684552192688,
-0.22466064989566803,
0.1999100148677826,
-0.10874472558498383,
0.2571612298488617,
0.2494480162858963,
-0.023491721600294113,
0.05912360921502113,
0.35756948590278625,
0.17367565631866455,
-0.28113481402397156,
0.06323742121458054,
0.30078908801078796,
0.2519138753414154,
0.28441980481147766,
0.13562987744808197,
-0.005540447309613228,
0.07307709753513336,
-0.29029107093811035,
0.43751001358032227,
0.010374277830123901,
0.3038574159145355,
0.3086989223957062,
-0.18777990341186523,
0.2256542444229126,
-0.32525238394737244,
0.1827073097229004,
0.07933379709720612,
0.3716045916080475,
-0.2864377796649933,
-0.07080452144145966,
-0.283374160528183,
-0.3018586337566376,
-0.11271387338638306,
-0.2020183801651001,
-0.24057051539421082,
-0.2625982463359833,
0.11251836270093918,
0.29423707723617554,
-0.27459293603897095,
0.1585501730442047,
-0.030319305136799812,
0.2513507604598999,
0.06529039889574051,
0.04968137666583061,
-0.24106644093990326,
-0.1334131956100464,
-0.12254435569047928,
0.1763993352651596,
0.22017145156860352,
0.16813477873802185,
0.25490817427635193,
-0.010595249943435192,
0.10752012580633163,
-0.45838430523872375,
-0.48084965348243713,
-0.08623601496219635,
-0.10622723400592804,
0.10928471386432648,
0.17899462580680847,
0.1717294156551361,
-0.20270361006259918,
-0.26730528473854065,
-0.01887615956366062,
-0.2834260165691376,
-0.0946565493941307,
-0.24091199040412903,
-0.06028548255562782,
0.23153190314769745,
-0.1506866067647934,
-0.3862920105457306,
0.056382179260253906,
-0.5306264758110046,
0.17731517553329468,
-0.06507595628499985,
0.21586449444293976,
0.4524158537387848,
0.13876838982105255,
-0.10870805382728577,
0.41155821084976196,
-0.03412451595067978,
-0.34506186842918396,
-0.29324355721473694,
0.11119049787521362,
-0.10936275124549866,
-0.2718021869659424,
0.01422184333205223,
0.15566830337047577,
-0.11899276077747345,
0.090184785425663,
-0.405467689037323,
-0.1926739662885666,
0.17905300855636597,
0.03430495038628578,
0.02373962104320526,
-0.059201277792453766,
0.2616930305957794,
0.179428830742836,
-0.2648441791534424,
-0.16652905941009521,
-0.34771543741226196,
0.16844391822814941,
-0.024871371686458588,
0.11082224547863007,
0.0339779369533062,
0.3609215319156647,
-0.24782513082027435,
0.4092032313346863,
-0.16757269203662872,
0.013321977108716965,
0.5082722902297974,
0.29788291454315186,
0.6355361938476562,
-0.37466880679130554,
-0.08136910200119019,
-0.1315784901380539,
-0.04169286787509918,
-0.2817419767379761,
0.08835849165916443,
-0.16024351119995117,
-0.11992790549993515,
-0.027546415105462074,
-0.1286059468984604,
-0.14256741106510162,
-0.373813271522522,
0.032563719898462296,
0.07026892155408859,
0.07333450019359589,
0.12437020242214203,
0.09562446922063828,
-0.18556582927703857,
0.10366018116474152,
0.09683379530906677,
0.10378827154636383,
0.2993603050708771,
-0.09266200661659241,
-0.15477213263511658,
-0.1876102238893509,
-0.2084745168685913,
0.33942896127700806,
0.13887880742549896,
0.30279454588890076,
-0.21301378309726715,
-0.3452286422252655,
-0.09157313406467438,
-0.04579447582364082,
0.4505923390388489,
-0.15786658227443695,
-0.006470866501331329,
0.4111846089363098,
0.14625298976898193,
-0.1991574764251709,
0.014687497168779373,
0.19809719920158386,
0.2521902024745941,
-0.14746658504009247,
0.5713056325912476,
-0.09719222784042358,
-0.23138967156410217,
0.038057416677474976,
0.29337820410728455,
-0.20749583840370178,
-0.21372340619564056,
-0.23876310884952545,
-0.2297351062297821,
-0.29086899757385254,
0.027819335460662842,
-0.15559083223342896,
0.0014825700782239437,
-0.39968395233154297,
-0.03742652013897896,
-0.0028191078454256058,
-0.040300868451595306,
-0.02915915846824646,
-0.02669794112443924,
0.581898033618927,
0.03174259513616562,
0.10803245007991791,
0.09084691107273102,
-0.04060310125350952,
0.5264893174171448,
0.2630193531513214,
-0.376096248626709,
0.2884945273399353,
0.0710611566901207,
-0.10534504801034927,
0.15299788117408752,
0.34220266342163086,
0.10808660089969635,
0.04814784601330757,
0.015016677789390087,
-0.22638152539730072,
-0.20483483374118805,
-0.26377031207084656,
0.009474038146436214,
-0.046868015080690384,
-0.313211590051651,
-0.3477419316768646,
0.48924943804740906,
-0.006453624926507473,
-0.17718487977981567,
0.26149770617485046,
0.24830834567546844,
-0.13595512509346008,
0.40203720331192017,
0.3806598484516144,
0.9506416320800781,
-0.03129079192876816,
0.12575680017471313,
0.09714202582836151,
0.013688318431377411,
0.19119444489479065,
-0.029890432953834534,
0.02236531861126423,
-0.5492117404937744,
-0.5119776129722595,
-0.027744684368371964,
0.014822546392679214,
0.10484352707862854,
0.00018313154578208923,
-0.4382748603820801,
0.04428071156144142,
-0.15638336539268494,
0.09388068318367004,
-0.09871776401996613,
0.14944323897361755,
-0.20251072943210602,
-0.09877127408981323,
-0.21182721853256226,
0.19334180653095245,
0.21807454526424408,
-0.09947752952575684,
-0.3496646285057068,
-0.1955120712518692,
0.19275957345962524,
-0.29703712463378906,
-0.04473227262496948,
-0.14926207065582275,
-0.06581627577543259,
0.39442747831344604,
-0.252360463142395,
-0.3518819212913513,
0.04856270179152489,
0.03406018763780594,
0.4365891218185425,
-0.05648549273610115,
-0.15560808777809143,
-0.02658097818493843,
-0.00315123051404953,
0.0465579554438591,
-0.13437169790267944,
-0.025012481957674026,
0.38594678044319153,
-0.17861169576644897,
-0.19910509884357452,
-0.08229421824216843,
-0.12038671225309372,
-0.4997522830963135,
-0.10242924839258194,
0.0474834069609642,
0.0013366825878620148,
-0.1623019278049469,
-0.2565871775150299,
-0.05273014307022095,
-0.18311598896980286,
-0.3411974310874939,
0.25103166699409485,
-0.0003673732280731201,
0.08561498671770096,
0.16867779195308685,
0.05108041316270828,
-0.20804670453071594,
-0.010165557265281677,
0.40094223618507385,
-0.015266969799995422,
0.06432805955410004,
0.3710407316684723,
0.007392536848783493,
-0.22444820404052734,
-0.3502388000488281,
0.18226930499076843,
0.33938321471214294,
-0.09999478608369827,
0.16309906542301178,
-0.06604701280593872,
0.002802744507789612,
0.09460119158029556,
0.4876088798046112,
0.13968169689178467,
0.15021884441375732,
-0.18405523896217346,
-0.18822069466114044,
-0.3900246024131775,
0.31562644243240356,
-0.158468097448349,
0.46074289083480835,
-0.0214230976998806,
-0.5346482992172241,
-0.02504906989634037,
-0.31408339738845825,
-0.460235595703125,
0.2086462676525116,
0.05271758884191513,
0.13267019391059875,
0.1694357693195343,
-0.13111835718154907,
-0.07307476550340652,
-0.08734689652919769,
0.13755187392234802,
0.10163569450378418,
-0.3927484154701233,
-0.30314046144485474,
0.08065398037433624,
0.11235728114843369,
-0.04031774401664734,
-0.06703801453113556,
-0.15936602652072906,
-0.2730805277824402,
-0.2628209590911865,
0.010075618512928486,
0.044793274253606796,
0.19054865837097168,
0.057075634598731995,
0.16969721019268036,
0.1949489414691925,
0.26285937428474426,
-0.007753495126962662,
0.1293821781873703,
0.18280650675296783,
0.4125441908836365,
-0.11350620537996292,
0.12131518125534058,
-0.46775537729263306,
-0.10074140876531601,
-0.12095261365175247,
0.22525420784950256,
0.16958878934383392,
-0.1070663258433342,
0.2545270621776581,
-0.1420912891626358,
0.02706414833664894,
0.6335049271583557,
0.4479595422744751,
0.3204086720943451,
0.0016312312800437212,
-0.09671764820814133,
0.13646888732910156,
0.3355397582054138,
-0.24821500480175018,
-0.24739955365657806,
0.0448429137468338,
-0.25237351655960083,
-0.11484448611736298,
0.09281838685274124,
0.5170682072639465,
-0.11711439490318298,
0.15241369605064392,
0.1602783501148224,
0.29847049713134766,
-0.08586479723453522,
0.21862347424030304,
0.27573999762535095,
-0.025566935539245605,
-0.03950149193406105,
0.18727080523967743,
0.237956240773201,
0.3840508759021759,
0.327839195728302,
-0.16230562329292297,
0.311001718044281,
0.27770793437957764,
0.06823107600212097,
-0.07645528763532639,
-0.5207093954086304,
0.3031933903694153,
0.3016034960746765,
-0.017955750226974487,
0.08184543997049332,
0.2941756546497345,
0.30830952525138855,
-0.19074971973896027,
-0.02669767290353775,
-0.08857672661542892,
-0.03824210539460182,
-0.33080577850341797,
-0.08759023249149323,
0.1410321146249771,
-0.2526934742927551,
-0.01852879673242569,
-0.10041916370391846,
-0.19678211212158203,
0.1506454050540924,
0.0789925679564476,
-0.008371517062187195,
0.04019131511449814,
-0.056199558079242706,
0.15698768198490143,
0.0644688680768013,
0.023082666099071503,
-0.15130116045475006,
0.10750124603509903,
0.14853981137275696,
-0.21718835830688477,
0.2824189364910126,
0.3242829144001007,
0.38881897926330566,
0.16231508553028107,
-0.03811030834913254,
0.016866039484739304,
-0.10247839987277985,
-0.08041059225797653,
-0.06911601126194,
-0.013297248631715775,
0.23913578689098358,
-0.02647436410188675,
0.2999151051044464,
0.2446235716342926,
-0.14614693820476532,
0.08936664462089539,
0.08550547063350677,
0.3449949026107788,
-0.009850651025772095,
-0.2780333161354065,
0.2629055976867676,
-0.21501198410987854,
0.009796276688575745,
-0.021459832787513733,
-0.18550875782966614,
-0.10258282721042633,
0.4317953884601593,
0.11213673651218414,
0.05684051662683487,
0.019871100783348083,
0.18392817676067352,
-0.0012111179530620575,
0.4600006639957428,
0.22255995869636536,
-0.2291448712348938,
-0.27259305119514465,
-0.13092388212680817,
-0.8917762041091919,
0.25143933296203613,
0.3309478461742401,
0.4753897488117218,
0.34114935994148254,
0.04601465165615082,
0.22940018773078918,
-0.07839450985193253,
0.2775099277496338,
-0.1753450334072113,
0.15242937207221985,
-0.07210473716259003,
-0.16025078296661377,
0.1777406632900238,
0.3187582492828369,
-0.3294113874435425,
-0.09043830633163452,
-0.3008516728878021,
0.20440521836280823,
-0.009794007986783981,
0.20297649502754211,
-0.32085949182510376,
-0.015387780964374542,
-0.111111119389534,
0.37853318452835083,
0.5070598125457764,
0.010026583448052406,
0.1487935483455658,
-0.27078935503959656,
-0.13627484440803528,
-0.05911199375987053,
-0.2296801209449768,
-0.16183528304100037,
0.12452289462089539,
0.10388852655887604,
0.2339746356010437,
-0.23982472717761993,
0.168873593211174,
-0.33429810404777527,
0.16124078631401062,
-0.18599656224250793,
0.03245393931865692,
-0.59747713804245,
0.1833205372095108,
-0.07820680737495422,
0.003922417759895325,
0.09480376541614532,
0.18008005619049072,
0.2988032102584839,
0.2133663445711136,
-0.4249268174171448,
-0.36491623520851135,
0.5575962662696838,
0.036906078457832336,
-0.12539975345134735,
-0.1577388048171997,
0.11261284351348877,
0.3953094482421875,
0.07101695984601974,
-0.579113781452179,
0.057613737881183624,
0.3254774212837219,
0.03184489533305168,
-0.22835329174995422,
0.1285455971956253,
-0.24370449781417847,
0.059785325080156326,
-0.15829534828662872,
0.382264643907547,
0.1780705451965332,
-0.2502088248729706,
-0.1690959334373474,
-0.29608988761901855
] |
https://github.com/huggingface/datasets/pull/2199 | Fix backward compatibility in Dataset.load_from_disk | Yes, I have seen it is not released yet...
You are right! It was your awesome PR on Tables which renamed this. If there is no particular reason for this renaming, yes, we could switch it back to the previous `_indices_data_files`. ;) | Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195. | 42 | text: Fix backward compatibility in Dataset.load_from_disk
Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195.
Yes, I have seen it is not released yet...
You are right! It was your awesome PR on Tables which renamed this. If there is no particular reason for this renaming, yes, we could switch it back to the previous `_indices_data_files`. ;) | [
-0.19236066937446594,
0.09254780411720276,
-0.16283665597438812,
0.023992154747247696,
0.006513828411698341,
0.3612440228462219,
0.31752100586891174,
0.4823590815067291,
0.14723864197731018,
0.04267086833715439,
0.16668008267879486,
0.21876254677772522,
0.16066710650920868,
0.15009590983390808,
-0.0378158874809742,
0.3272945284843445,
0.29779818654060364,
0.4259500503540039,
-0.09538304805755615,
0.14547181129455566,
-0.6645129323005676,
0.006702952086925507,
-0.09365089982748032,
0.3140440583229065,
-0.028044460341334343,
-0.025066567584872246,
0.09727415442466736,
0.05278167501091957,
-0.41408467292785645,
-0.5047157406806946,
0.0836857408285141,
0.3070290982723236,
0.041440222412347794,
0.13142891228199005,
-0.00010666628804756328,
0.09173771739006042,
0.39770060777664185,
-0.17153018712997437,
-0.31314319372177124,
-0.055113017559051514,
-0.43953216075897217,
-0.12336214631795883,
0.1518523246049881,
-0.41562187671661377,
0.0993613675236702,
-0.2619471848011017,
0.0394386425614357,
-0.18715445697307587,
-0.21430154144763947,
0.07951857894659042,
0.3098717927932739,
-0.0811360627412796,
0.08764806389808655,
-0.4410184919834137,
0.37176892161369324,
-0.11579771339893341,
-0.11152684688568115,
0.07691653817892075,
0.13923558592796326,
0.1419784128665924,
0.05125545337796211,
0.3177120089530945,
-0.1726817935705185,
-0.02404111623764038,
0.4786321222782135,
-0.09286947548389435,
0.4022941589355469,
-0.07335638999938965,
0.05340263247489929,
-0.09182234853506088,
0.8924142718315125,
-0.14614993333816528,
-0.05055243521928787,
-0.058433521538972855,
-0.04984655976295471,
-0.35132214426994324,
0.15326562523841858,
-0.351065456867218,
0.013093974441289902,
0.07386016845703125,
0.08819208294153214,
-0.4956059455871582,
-0.01772875338792801,
-0.16055963933467865,
-0.08204904943704605,
0.2851529121398926,
-0.031231898814439774,
-0.011709168553352356,
0.39853399991989136,
-0.09231273829936981,
0.4751846492290497,
0.2474064975976944,
-0.21099036931991577,
-0.1513289213180542,
0.1258503496646881,
-0.16359367966651917,
0.0444929301738739,
-0.027543924748897552,
0.006068997085094452,
-0.08343155682086945,
0.08302128314971924,
0.049301959574222565,
-0.040145143866539,
-0.009453408420085907,
0.10571956634521484,
0.2732622027397156,
0.23600426316261292,
-0.025857727974653244,
0.4269726276397705,
0.23852744698524475,
-0.03564123809337616,
-0.11129241436719894,
0.09224901348352432,
-0.3792620003223419,
-0.11276663839817047,
0.12277675420045853,
0.06684847176074982,
-0.19554215669631958,
-0.35785895586013794,
-0.020955320447683334,
0.2961713969707489,
-0.19227564334869385,
-0.10059259831905365,
0.11062683165073395,
0.34417763352394104,
0.05861230567097664,
0.33860868215560913,
-0.08965644985437393,
-0.09711669385433197,
0.015375989489257336,
-0.10126011073589325,
-0.29104024171829224,
-0.2105269432067871,
-0.05940338224172592,
-0.05791083350777626,
-0.05387162044644356,
-0.0795462429523468,
0.1272633969783783,
0.09578117728233337,
0.1625756025314331,
-0.17684200406074524,
0.10543639957904816,
0.4587879180908203,
0.33046168088912964,
-0.2965216040611267,
0.03162654489278793,
0.26822224259376526,
-0.41919809579849243,
-0.17621195316314697,
0.5283321142196655,
-0.5911803245544434,
-0.22615796327590942,
-0.13797640800476074,
0.2937537431716919,
0.036724116653203964,
-0.11454328894615173,
-0.1408023238182068,
0.18435432016849518,
-0.10198646038770676,
-0.5143520832061768,
0.254950612783432,
0.00463850237429142,
-0.05953454598784447,
-0.08766162395477295,
-0.25617411732673645,
-0.074378103017807,
-0.5844859480857849,
0.10506127774715424,
0.03270928934216499,
-0.1543501913547516,
-0.22692805528640747,
0.08482863754034042,
-0.2404392808675766,
-0.06015584617853165,
-0.219432532787323,
0.041873909533023834,
0.17612893879413605,
-0.08072198927402496,
-0.2450706958770752,
0.04756713658571243,
-0.009643975645303726,
-0.32980453968048096,
0.21834306418895721,
0.03378259018063545,
0.32278814911842346,
-0.22912093997001648,
0.379472017288208,
-0.3141946792602539,
0.18444514274597168,
-0.17922760546207428,
-0.16809538006782532,
-0.3590265214443207,
0.16285818815231323,
-0.049860015511512756,
0.02616271562874317,
0.28093984723091125,
0.05819941684603691,
-0.08831830322742462,
0.1627701222896576,
0.04492773488163948,
-0.13525231182575226,
0.20824478566646576,
0.19038443267345428,
0.00282837450504303,
0.2881060242652893,
0.1611926555633545,
-0.1496676206588745,
0.16727888584136963,
0.056367382407188416,
-0.08754004538059235,
0.12415550649166107,
-0.31406521797180176,
-0.2677145004272461,
-0.09159979969263077,
-0.11196444928646088,
0.2863173186779022,
0.19648319482803345,
-0.2457924783229828,
-0.2737974524497986,
-0.01087525300681591,
-0.3214045763015747,
-0.12280523031949997,
-0.1654578596353531,
-0.17466071248054504,
-0.18129190802574158,
0.0754752978682518,
-0.30196207761764526,
0.21851390600204468,
-0.14392875134944916,
0.0549691841006279,
0.09298160672187805,
-0.03681977838277817,
-0.07015800476074219,
0.34505370259284973,
0.03465989977121353,
0.025926925241947174,
0.07444494217634201,
0.4974733591079712,
0.14522092044353485,
0.04679543897509575,
0.16861113905906677,
0.11521600186824799,
0.021434009075164795,
0.1277625858783722,
0.007901512086391449,
0.3043802082538605,
-0.3534245193004608,
-0.07875413447618484,
-0.030219534412026405,
-0.12718431651592255,
0.14446425437927246,
0.023035701364278793,
-0.12809859216213226,
-0.3698989748954773,
-0.1827981323003769,
0.0916673094034195,
-0.3286638855934143,
0.16479924321174622,
-0.09860645234584808,
0.2047635018825531,
0.47092822194099426,
-0.2239914983510971,
0.12224595248699188,
0.3679080009460449,
0.14569273591041565,
-0.230266273021698,
-0.12994344532489777,
0.31819799542427063,
0.5482693910598755,
0.27482572197914124,
0.012286785989999771,
-0.011157134547829628,
0.1337091624736786,
-0.33388978242874146,
0.49997591972351074,
0.04935016483068466,
0.21322833001613617,
0.26806938648223877,
-0.22309274971485138,
-0.008792445994913578,
-0.32035404443740845,
0.2634059190750122,
0.1795571893453598,
0.38252830505371094,
-0.25974324345588684,
-0.08604151010513306,
-0.29106569290161133,
-0.3400977849960327,
-0.04817618057131767,
-0.02291499450802803,
-0.1841176450252533,
-0.3012668788433075,
0.279199481010437,
0.045325253158807755,
-0.215341255068779,
0.24104468524456024,
-0.12011778354644775,
0.3434317409992218,
-0.07029785960912704,
0.10054608434438705,
-0.4567526876926422,
-0.3373526334762573,
0.06604645401239395,
0.150893896818161,
0.11572891473770142,
-0.13259676098823547,
0.24645169079303741,
-0.26204556226730347,
0.13775350153446198,
-0.6329557299613953,
-0.36588266491889954,
-0.07455311715602875,
-0.2626400589942932,
-0.07439430058002472,
0.23717285692691803,
0.17686837911605835,
-0.1058715209364891,
-0.21952702105045319,
-0.1242762953042984,
-0.34091290831565857,
-0.2713473439216614,
-0.2920789122581482,
-0.1614016443490982,
0.27193257212638855,
-0.16938695311546326,
-0.36904922127723694,
-0.09584039449691772,
-0.44737643003463745,
0.26589593291282654,
-0.22137290239334106,
0.017748497426509857,
0.33522412180900574,
-0.11223384737968445,
-0.05874914303421974,
0.33320799469947815,
-0.19702808558940887,
-0.4806973934173584,
-0.142892524600029,
0.03950656205415726,
-0.07577537000179291,
-0.16276466846466064,
-0.09113997220993042,
0.20101657509803772,
-0.14357586205005646,
-0.08234507590532303,
-0.34303390979766846,
-0.12145797908306122,
0.2600710093975067,
0.11923319101333618,
0.10787440836429596,
-0.14336232841014862,
0.3681980073451996,
0.20244213938713074,
-0.2892444133758545,
-0.13403122127056122,
-0.28939786553382874,
-0.11165239661931992,
0.12850263714790344,
-0.01103346049785614,
0.22858744859695435,
0.3915390372276306,
-0.24998721480369568,
0.31567123532295227,
-0.34761855006217957,
0.10868582129478455,
0.3270704746246338,
0.14936017990112305,
0.6353289484977722,
-0.4699747860431671,
0.07816840708255768,
-0.20521950721740723,
-0.09607203304767609,
-0.2657560706138611,
0.07553327083587646,
-0.3018164336681366,
-0.19038666784763336,
-0.05081977695226669,
-0.04861573874950409,
-0.2056780755519867,
-0.25102365016937256,
0.051934778690338135,
-0.09687112271785736,
0.06758494675159454,
0.1551193743944168,
-0.08638836443424225,
-0.17380625009536743,
-0.0016518393531441689,
0.15038686990737915,
0.17905765771865845,
0.2786323130130768,
-0.15933406352996826,
-0.30227139592170715,
-0.26345765590667725,
-0.1198313906788826,
0.36865127086639404,
-0.01327942032366991,
0.22996999323368073,
-0.07976062595844269,
-0.40465033054351807,
0.08750592172145844,
0.16349108517169952,
0.4406817555427551,
0.0005377624183893204,
-0.11392980813980103,
0.3998161256313324,
0.233760803937912,
-0.051789529621601105,
-0.15813805162906647,
0.2075158953666687,
0.3289009630680084,
-0.16382411122322083,
0.7671590447425842,
-0.0225900337100029,
-0.315289169549942,
0.1879345327615738,
0.17255300283432007,
-0.2533815801143646,
-0.0705263763666153,
-0.4136992394924164,
-0.15560561418533325,
-0.11415306478738785,
0.11060678213834763,
0.13695073127746582,
-0.03792376071214676,
-0.39656415581703186,
0.12099246680736542,
-0.00021120905876159668,
-0.08375915884971619,
-0.056873127818107605,
0.08549261093139648,
0.3681051731109619,
0.14461536705493927,
-0.0851801410317421,
0.22636635601520538,
0.03524100035429001,
0.4800848662853241,
0.29559147357940674,
-0.44850480556488037,
0.179966539144516,
0.32391121983528137,
-0.17379574477672577,
0.14375245571136475,
0.3031364679336548,
0.13607800006866455,
0.29650717973709106,
0.05770290270447731,
-0.14617310464382172,
-0.405693918466568,
-0.49141839146614075,
0.020574131980538368,
-0.19825230538845062,
-0.34755071997642517,
-0.30797725915908813,
0.4945317506790161,
0.03246124088764191,
-0.26588839292526245,
0.23947080969810486,
0.46828460693359375,
-0.17031243443489075,
0.4125075340270996,
0.14811913669109344,
0.8423882722854614,
-0.2596263885498047,
0.25406160950660706,
-0.22110220789909363,
-0.0598154217004776,
0.21130043268203735,
-0.22754725813865662,
0.22260423004627228,
-0.4498935043811798,
-0.570219099521637,
-0.1303313970565796,
0.002592630684375763,
0.16591671109199524,
-0.019210055470466614,
-0.4064505398273468,
0.08580372482538223,
-0.15495502948760986,
0.1687752902507782,
-0.12995529174804688,
-0.18903009593486786,
-0.027390236034989357,
0.07441380620002747,
-0.22091716527938843,
0.12371785938739777,
0.17623500525951385,
-0.07337409257888794,
-0.14840519428253174,
0.0865650549530983,
0.06381967663764954,
-0.15817707777023315,
-0.015097178518772125,
-0.33661407232284546,
0.09460947662591934,
0.4215225577354431,
-0.20123879611492157,
-0.3581782579421997,
-0.06431840360164642,
0.13521085679531097,
0.38169699907302856,
-0.03152128681540489,
-0.11315010488033295,
0.17718549072742462,
0.08773508667945862,
0.16737960278987885,
-0.014730780385434628,
0.058317698538303375,
0.39973658323287964,
-0.11933250725269318,
-0.10327669978141785,
0.029924478381872177,
-0.09670151770114899,
-0.6313459277153015,
-0.3636156916618347,
0.20646803081035614,
-0.07978932559490204,
-0.05692198872566223,
-0.24387727677822113,
-0.10661204159259796,
0.13955049216747284,
-0.2879470884799957,
0.1707926094532013,
-0.04269414395093918,
0.1889798492193222,
0.08263132721185684,
0.01124361902475357,
-0.38007599115371704,
0.1397189497947693,
0.3964792490005493,
0.16200649738311768,
-0.09652578830718994,
0.29100480675697327,
-0.17920158803462982,
-0.23967331647872925,
-0.3082500994205475,
0.317829430103302,
0.42449453473091125,
-0.25429511070251465,
0.27077338099479675,
0.08926820009946823,
-0.07345206290483475,
0.1432473510503769,
0.29649001359939575,
0.22801059484481812,
0.22067990899085999,
-0.3713024854660034,
-0.0357755608856678,
-0.26784735918045044,
0.4475683569908142,
-0.17340844869613647,
0.32576993107795715,
0.2292388379573822,
-0.5911356210708618,
0.08128311485052109,
-0.4984656870365143,
-0.3650129437446594,
0.330291211605072,
-0.015084369108080864,
0.1561667025089264,
0.21759775280952454,
-0.04294946789741516,
-0.09321708232164383,
-0.08276709914207458,
0.13718409836292267,
-0.05036686360836029,
-0.24092116951942444,
-0.2607770264148712,
-0.011502998881042004,
0.13458216190338135,
-0.12215734273195267,
0.2325325310230255,
-0.11150714010000229,
-0.34003639221191406,
-0.1778305172920227,
0.14773227274417877,
0.04227398708462715,
0.2515840232372284,
0.18430234491825104,
0.21531441807746887,
0.17177605628967285,
0.13381394743919373,
0.15474781394004822,
0.20793262124061584,
0.22852261364459991,
0.47818052768707275,
-0.09948485344648361,
0.17903393507003784,
-0.4875428378582001,
0.0797702819108963,
-0.22147643566131592,
0.43558892607688904,
0.13211098313331604,
0.022537726908922195,
0.26532965898513794,
-0.04111742228269577,
0.07345186173915863,
0.39918622374534607,
0.27701127529144287,
0.291745662689209,
-0.005908879917114973,
-0.4644131064414978,
0.1353951096534729,
0.22377212345600128,
-0.28714439272880554,
-0.35709133744239807,
0.038426198065280914,
-0.05716229975223541,
-0.18485447764396667,
-0.03758636862039566,
0.614456832408905,
-0.07742322981357574,
0.12216348201036453,
0.13702702522277832,
0.25648316740989685,
-0.0940764844417572,
0.13816885650157928,
0.3609578311443329,
0.10078893601894379,
-0.08307299017906189,
0.30682528018951416,
0.021312501281499863,
0.24626073241233826,
0.46925216913223267,
-0.04297748953104019,
0.2788921892642975,
0.4534335732460022,
0.1808677315711975,
0.027020815759897232,
-0.15979021787643433,
0.2046126276254654,
0.12615253031253815,
-0.26886433362960815,
0.05742357671260834,
0.3855113089084625,
0.17732015252113342,
-0.17369616031646729,
0.03832079470157623,
-0.11887671798467636,
-0.23607207834720612,
-0.1822005808353424,
-0.26167863607406616,
0.23867878317832947,
-0.2450256645679474,
0.026764750480651855,
-0.15912501513957977,
-0.219866544008255,
0.4020974636077881,
0.21173202991485596,
-0.09544888138771057,
0.17216071486473083,
0.15278618037700653,
0.14563292264938354,
0.017383204773068428,
0.10695799440145493,
-0.10312429070472717,
-0.10388202220201492,
0.0819183737039566,
-0.007446683943271637,
0.6460055112838745,
0.36160808801651,
0.2605527639389038,
-0.02001282200217247,
0.019187286496162415,
-0.06121484562754631,
-0.10276864469051361,
-0.12112525850534439,
-0.05150097608566284,
0.11963924765586853,
0.40107032656669617,
-0.04088914021849632,
0.1655564159154892,
0.24683475494384766,
-0.07849284261465073,
0.04928562417626381,
0.11269088089466095,
0.4009186923503876,
0.03612420707941055,
-0.2600925862789154,
0.20980870723724365,
-0.3025849163532257,
0.12351474165916443,
0.31349918246269226,
-0.11765436083078384,
0.002439319621771574,
0.3932851552963257,
0.12122277915477753,
-0.052413735538721085,
0.08409848064184189,
0.14555545151233673,
0.11025644838809967,
0.4046175479888916,
0.1276523917913437,
-0.24866917729377747,
-0.11588793247938156,
-0.20380407571792603,
-0.6397894024848938,
0.2155001163482666,
0.4979645609855652,
0.44938603043556213,
0.26117897033691406,
0.07131797075271606,
0.2976154386997223,
-0.16966000199317932,
0.3808540105819702,
-0.39116987586021423,
-0.04784073308110237,
0.019849292933940887,
-0.10706047713756561,
0.11848446726799011,
0.26881498098373413,
-0.16518840193748474,
-0.19043511152267456,
-0.22084006667137146,
0.041993770748376846,
0.05118316039443016,
0.1052115187048912,
-0.4626113176345825,
0.08929993212223053,
0.08757883310317993,
0.32596492767333984,
0.5352305769920349,
0.027227606624364853,
0.1508978009223938,
-0.13626781105995178,
-0.10428149998188019,
0.02855542302131653,
-0.39465418457984924,
-0.19540935754776,
0.24885886907577515,
0.17455002665519714,
-0.14297503232955933,
-0.21549372375011444,
-0.05913418158888817,
-0.16979406774044037,
0.11907083541154861,
-0.266099750995636,
0.20790798962116241,
-0.6918433904647827,
0.15843576192855835,
0.04639670252799988,
-0.031936511397361755,
0.1897772252559662,
0.20392277836799622,
0.3478410840034485,
0.2877052128314972,
-0.17177820205688477,
-0.1286678910255432,
0.3305332660675049,
0.10201269388198853,
-0.2213456928730011,
0.038478150963783264,
0.16206207871437073,
0.22641530632972717,
0.030257679522037506,
-0.5297023057937622,
-0.007640615105628967,
0.3633370101451874,
0.09106003493070602,
-0.24367819726467133,
0.15262854099273682,
-0.19943112134933472,
0.13410675525665283,
-0.16563834249973297,
0.28946101665496826,
0.16892361640930176,
-0.27101823687553406,
-0.2586197257041931,
-0.1886277198791504
] |