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/2416
Add KLUE dataset
> > I'm not sure why I got error like below when I auto-generate dummy data "mrc" > > ``` > > datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET ! > > Found duplicate Key: 0 > > Keys should be unique and deterministic in nature > > ``` > > Please check out the suggestion below. I think it might be a cause. The problem was `id_` in mrc when yield was not unique. (I used index in `enumerate(paragraphs)` by mistake) I fixed it and update all the things
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
88
text: Add KLUE dataset Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks! > > I'm not sure why I got error like below when I auto-generate dummy data "mrc" > > ``` > > datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET ! > > Found duplicate Key: 0 > > Keys should be unique and deterministic in nature > > ``` > > Please check out the suggestion below. I think it might be a cause. The problem was `id_` in mrc when yield was not unique. (I used index in `enumerate(paragraphs)` by mistake) I fixed it and update all the things
[ 0.17080338299274445, -0.371407151222229, -0.016841914504766464, 0.05635374039411545, -0.0017274469137191772, 0.2557638883590698, 0.2822552025318146, 0.0858408659696579, -0.11963529884815216, 0.1722283661365509, 0.18088237941265106, 0.25158050656318665, 0.016656480729579926, 0.09891020506620407, 0.19960251450538635, -0.10618923604488373, 0.08192625641822815, 0.08970481902360916, 0.3144117593765259, -0.2510623037815094, -0.43772104382514954, 0.33071497082710266, -0.3436407446861267, -0.019464120268821716, -0.25307491421699524, 0.022172696888446808, -0.4434201717376709, 0.15378031134605408, -0.283820241689682, -0.446336567401886, 0.09887159615755081, 0.22023996710777283, -0.12126484513282776, 0.3669772148132324, -0.00011656229617074132, -0.1982845813035965, 0.2954840660095215, -0.26078319549560547, -0.2306911051273346, -0.018603384494781494, -0.03637921065092087, -0.10097888112068176, -0.26756876707077026, -0.49346810579299927, -0.05902579054236412, 0.004575903993099928, 0.11227253079414368, -0.4661630392074585, 0.42212891578674316, 0.3312986493110657, 0.1704438328742981, 0.028480280190706253, 0.33032411336898804, -0.16774600744247437, -0.04163898527622223, 0.06985525041818619, -0.10049384832382202, 0.11416737735271454, 0.14269569516181946, 0.008126631379127502, 0.13226523995399475, 0.06716464459896088, 0.19061744213104248, -0.020101457834243774, 0.3597071170806885, 0.0730293020606041, -0.2113611102104187, -0.5898036956787109, 0.41296833753585815, 0.41419509053230286, 0.570927083492279, -0.460056334733963, -0.12833409011363983, 0.048500098288059235, 0.19619332253932953, -0.035491399466991425, 0.027055636048316956, 0.22093631327152252, -0.10898794233798981, -0.10487246513366699, -0.06572970002889633, -0.2855724096298218, -0.15683600306510925, -0.06500186026096344, 0.19602978229522705, 0.20647397637367249, 0.11449160426855087, 0.05884780362248421, 0.08866791427135468, 0.13243454694747925, -0.0740935206413269, -0.3481837511062622, -0.32208332419395447, 0.49935105443000793, -0.09197956323623657, -0.28549301624298096, -0.0107053741812706, -0.28786346316337585, 0.43082723021507263, -0.3167630434036255, 0.2636007070541382, -0.07532931864261627, 0.07878263294696808, 0.01919584721326828, 0.07870480418205261, 0.3277769386768341, 0.32283687591552734, 0.2917726933956146, 0.04218699038028717, -0.08529692888259888, 0.24571099877357483, -0.05177208036184311, 0.02795415371656418, 0.05800944194197655, 0.35024192929267883, 0.15735498070716858, 0.10005912184715271, -0.003875553607940674, -0.20164883136749268, 0.3647310435771942, -0.2471654713153839, -0.2394532859325409, -0.5242664217948914, -0.0849834457039833, -0.06828013062477112, -0.29158127307891846, -0.017128150910139084, 0.2783507704734802, -0.11163926869630814, -0.3085743486881256, -0.24820999801158905, 0.1469641923904419, -0.2702105641365051, -0.03979763388633728, -0.006847940385341644, -0.33985114097595215, 0.4031197726726532, 0.2015579789876938, -0.12532491981983185, -0.13699300587177277, 0.08751934766769409, -0.013736606575548649, -0.3479638397693634, -0.18813912570476532, 0.08978927135467529, -0.04866693913936615, -0.007221147418022156, -0.13895761966705322, 0.02013995498418808, 0.1724167764186859, -0.326588898897171, -0.3005606234073639, -0.07489492744207382, 0.21524420380592346, -0.10095159709453583, -0.05556603521108627, -0.0468846932053566, 0.40961307287216187, 0.11322548240423203, -0.14607350528240204, 0.12363500893115997, 0.22459976375102997, -0.214291512966156, -0.2674933969974518, 0.18946708738803864, 0.5262850522994995, -0.4007634222507477, -0.0077429115772247314, -0.2521328628063202, 0.086378313601017, 0.08103673905134201, -0.028101366013288498, -0.006803642958402634, 0.5935184359550476, -0.24561427533626556, 0.33263808488845825, 0.25385263562202454, -0.06679140031337738, -0.26609352231025696, 0.4568290114402771, -0.15637359023094177, -0.010085776448249817, 0.1861451119184494, 0.016062000766396523, -0.024943962693214417, 0.001984379719942808, 0.2078416645526886, -0.2324930876493454, -0.24601790308952332, -0.21021795272827148, -0.25631019473075867, -0.3086879253387451, 0.07455471903085709, -0.07487042248249054, 0.38627567887306213, 0.059767551720142365, 0.32721713185310364, -0.08039094507694244, 0.16703230142593384, -0.22701731324195862, -0.013517368584871292, 0.28236883878707886, 0.2097763866186142, -0.05552463233470917, 0.26749876141548157, 0.2158576250076294, -0.3496244251728058, 0.3363410234451294, -0.2875412702560425, 0.43886449933052063, 0.05025758221745491, -0.27076250314712524, -0.2638370096683502, -0.15928225219249725, -0.38615816831588745, -0.3159816563129425, 0.13894760608673096, -0.1029500663280487, 0.07153628766536713, 0.203682541847229, -0.020979341119527817, 0.12501253187656403, 0.1234857439994812, -0.08612849563360214, -0.3833889663219452, 0.16120722889900208, -0.22834204137325287, 0.022768821567296982, 0.11448021233081818, 0.25466790795326233, 0.13422787189483643, -0.06423808634281158, -0.13444599509239197, 0.34858188033103943, -0.12269094586372375, 0.19831953942775726, 0.2551557719707489, -0.2853754162788391, 0.2200070023536682, -0.17289793491363525, 0.18296436965465546, 0.257738322019577, 0.3037978708744049, -0.28811201453208923, -0.004466935992240906, 0.28688862919807434, 0.12099677324295044, -0.27867215871810913, -0.05585240572690964, -0.08282414823770523, 0.08347316831350327, -0.1150026023387909, 0.19077575206756592, -0.11827907711267471, 0.306243896484375, 0.16186435520648956, 0.15163123607635498, -0.11258099973201752, -0.3691744804382324, 0.1510869860649109, 0.2325427532196045, -0.10128206014633179, 0.22916454076766968, 0.16147947311401367, -0.054679565131664276, -0.27410170435905457, -0.016085682436823845, 0.19158171117305756, 0.3998780846595764, 0.15712560713291168, -0.13161391019821167, 0.22697098553180695, -0.12174265831708908, -0.11042327433824539, 0.09551176428794861, -0.06187543272972107, -0.02629215270280838, 0.43205544352531433, -0.1430053561925888, 0.11437724530696869, -0.34448373317718506, 0.2264176309108734, 0.3099988102912903, 0.3285420835018158, -0.19736798107624054, -0.11424016207456589, 0.06722201406955719, 0.20910674333572388, 0.06580565124750137, 0.26556774973869324, -0.036592256277799606, -0.28615352511405945, 0.3107225298881531, -0.20641908049583435, 0.16185244917869568, -0.03717806190252304, 0.07143300771713257, 0.3651663661003113, -0.1361820548772812, 0.16307185590267181, -0.13765448331832886, -0.3372214138507843, -0.38602927327156067, 0.16673550009727478, 0.13775065541267395, 0.27036625146865845, 0.4473808705806732, -0.37949231266975403, 0.1333760768175125, -0.45809486508369446, -0.3041645288467407, 0.04961538687348366, -0.3143013119697571, 0.2244316190481186, 0.20379699766635895, -0.0666363537311554, -0.16838382184505463, -0.19810618460178375, 0.15365847945213318, -0.19100867211818695, -0.514936089515686, 0.3859468996524811, -0.08334140479564667, -0.21841928362846375, -0.20224161446094513, -0.5573740601539612, -0.004687771201133728, 0.026722870767116547, 0.010041911154985428, -0.0033704079687595367, 0.11361470818519592, -0.08932726085186005, 0.09082772582769394, 0.1398780345916748, 0.3842947781085968, -0.2650895416736603, -0.45106741786003113, -0.2520851492881775, 0.3357987105846405, -0.2863222360610962, -0.41605255007743835, 0.22329697012901306, -0.34179389476776123, 0.33574196696281433, -0.06627863645553589, -0.47258275747299194, -0.2918533980846405, 0.2194761484861374, 0.19980725646018982, -0.17764019966125488, 0.04221148043870926, 0.3148835301399231, 0.1051061823964119, -0.013893361203372478, -0.18996918201446533, -0.0013101566582918167, 0.507746696472168, 0.1636422574520111, 0.40647783875465393, 0.04723820835351944, 0.5888261198997498, -0.07832798361778259, 0.6826925277709961, 0.5260288119316101, 0.1742958128452301, 0.25774747133255005, -0.005917439237236977, 0.2786490023136139, -0.06009765714406967, -0.21399159729480743, 0.01343462523072958, -0.12268492579460144, 0.18907418847084045, 0.37249451875686646, -0.0680413618683815, -0.17011593282222748, -0.1602134108543396, 0.06932090222835541, -0.27818265557289124, -0.046072278171777725, -0.07523581385612488, -0.07770245522260666, 0.3454863429069519, -0.05848291143774986, 0.08029244095087051, -0.27524593472480774, -0.11450482159852982, 0.05339737609028816, -0.04567405581474304, 0.17033252120018005, 0.048160191625356674, -0.4847968518733978, -0.13349339365959167, -0.6763095259666443, 0.28008177876472473, 0.13387209177017212, 0.11835826188325882, -0.10814468562602997, 0.36064356565475464, 0.10550899058580399, -0.03499473258852959, 0.27325379848480225, -0.7693099975585938, -0.16229748725891113, 0.04249102994799614, 0.29987832903862, -0.05028335750102997, -0.046794548630714417, -0.21827755868434906, 0.2538740932941437, 0.03379017859697342, 0.1820342242717743, -0.4764149785041809, 0.21317158639431, 0.2909635305404663, 0.05632133036851883, -0.35988298058509827, -0.39654847979545593, -0.22745157778263092, -0.38890886306762695, -0.2166421115398407, -0.06792212277650833, 0.026785174384713173, 0.16317115724086761, 0.024279210716485977, 0.07473252713680267, 0.05922197550535202, 0.1851246953010559, 0.2010713517665863, -0.0433414988219738, 0.400067538022995, 0.2548799514770508, 0.26138749718666077, 0.2668164074420929, -0.4646287262439728, 0.27409836649894714, 0.5466127991676331, -0.2729721665382385, -0.09451372921466827, -0.13507622480392456, -0.5868619084358215, -0.04496816545724869, 0.21667155623435974, 0.151436448097229, 0.17082953453063965, -0.043067529797554016, -0.06218390166759491, -0.08774591982364655, -0.1930684596300125, 0.3587588369846344, 0.02416062355041504, -0.3366566598415375, -0.5888924598693848, 0.0475640743970871, -0.15426421165466309, 0.007896505296230316, 0.28731685876846313, -0.07293443381786346, -0.355903685092926, 0.15344639122486115, 0.1532575488090515, 0.8704789876937866, 0.28858327865600586, -0.1282113939523697, 0.0185401551425457, 0.034673579037189484, -0.054962582886219025, -0.4260614514350891, -0.012693667784333229, -0.35990792512893677, -0.10882734507322311, -0.2117004692554474, 0.09812244772911072, 0.18086491525173187, 0.1982257068157196, -0.5473512411117554, 0.3871724605560303, 0.10882477462291718, -0.05400294438004494, -0.016601575538516045, 0.46734458208084106, -0.1704016625881195, 0.20875686407089233, 0.47134482860565186, 0.12091231346130371, 0.018053986132144928, 0.19564907252788544, -0.14371365308761597, -0.2564278841018677, -0.12049613893032074, -0.3244321346282959, -0.31802451610565186, -0.10267101228237152, -0.29513782262802124, 0.2508348226547241, -0.007415127009153366, -0.20727671682834625, 0.2247636616230011, 0.2613653838634491, 0.8253384828567505, 0.25648415088653564, -0.18664944171905518, -0.0839477926492691, 0.379472941160202, -0.14955097436904907, -0.07915791124105453, -0.09535787254571915, 0.02270575799047947, -0.13048288226127625, -0.3863738477230072, 0.38995692133903503, -0.22170458734035492, -0.1724129170179367, -0.31720370054244995, -0.2947261333465576, -0.20617248117923737, -0.17378990352153778, -0.20138229429721832, 0.32502543926239014, -0.2787368893623352, -0.2787127196788788, 0.06210234761238098, 0.27782249450683594, -0.18694894015789032, 0.12500281631946564, -0.16955633461475372, -0.09801292419433594, -0.06134573742747307, 0.13829542696475983, 0.29770731925964355, 0.15543301403522491, 0.37696197628974915, -0.16217480599880219, -0.09072205424308777, -0.2134573757648468, 0.10808158665895462, 0.33101946115493774, -0.5324336886405945, -0.10388851910829544, -0.17388977110385895, 0.04292164742946625, 0.060987163335084915, 0.3403281271457672, 0.28770846128463745, 0.2266731858253479, 0.019167054444551468, -0.12456566095352173, -0.23972491919994354, 0.1533374786376953, 0.0901736170053482, 0.2610149681568146, 0.09947661310434341, -0.035494036972522736, 0.4136503040790558, 0.5386621356010437, -0.33026278018951416, 0.10249185562133789, -0.12891368567943573, -0.010579157620668411, 0.21889497339725494, -0.019316792488098145, -0.0441521592438221, -0.1344427615404129, 0.03591141849756241, 0.17769309878349304, -0.3741946816444397, -0.13905400037765503, -0.003336329013109207, 0.163117915391922, -0.05767641216516495, 0.020622706040740013, 0.055299073457717896, -0.1917094588279724, -0.18368929624557495, 0.11000904440879822, 0.0468212254345417, -0.08787067234516144, -0.03130915015935898, 0.1401146948337555, 0.48669639229774475, 0.10013443976640701, -0.19586874544620514, 0.029213828966021538, -0.15222732722759247, 0.1992417722940445, 0.027036014944314957, 0.03072643280029297, 0.2374594360589981, -0.052000485360622406, 0.04762507975101471, 0.1850982904434204, -0.06178508698940277, -0.0052610523998737335, 0.15759390592575073, -0.40738797187805176, 0.32905539870262146, 0.026674071326851845, 0.0021900851279497147, 0.05197865888476372, -0.46708184480667114, 0.04679334908723831, 0.23225966095924377, 0.17925430834293365, -0.46257808804512024, -0.33512082695961, -0.06944946944713593, -0.030397292226552963, 0.2013857364654541, 0.151170551776886, 0.42496341466903687, 0.07015439867973328, -0.04828865826129913, 0.1645473837852478, 0.11423815786838531, -0.18586881458759308, 0.29599881172180176, 0.3652828335762024, -0.05159340053796768, 0.15577441453933716, 0.22110117971897125, 0.009858077391982079, -0.31125468015670776, -0.20187006890773773, 0.160247802734375, 0.1934216320514679, 0.31295472383499146, 0.33286529779434204, 0.18611103296279907, -0.12056711316108704, 0.35108304023742676, 0.20002850890159607, -0.26130467653274536, 0.25956398248672485, 0.4030223488807678, 0.2546253800392151, -0.16569733619689941, 0.074924536049366, -0.3995245099067688, -0.1066742092370987, -0.19297954440116882, 0.1367347240447998, 0.12477688491344452, -0.31286853551864624, -0.24560458958148956, -0.06182723864912987, 0.11936189234256744, -0.0915662944316864, 0.043971747159957886, -0.2653825283050537, -0.16814981400966644, 0.06021860986948013, 0.11585362255573273, 0.2868732213973999, 0.09831355512142181, -0.3269674777984619, 0.15349765121936798, 0.10475952178239822, -0.19899815320968628, 0.07625529170036316, 0.6013063788414001, 0.2597106993198395, 0.20347526669502258, -0.23891782760620117, 0.20263859629631042, 0.1651892066001892, -0.08223044127225876, 0.3648849129676819, 0.24021601676940918, 0.2683669328689575, -0.2609938085079193, 0.17116603255271912, 0.033630773425102234, -0.09247221052646637, 0.09135840088129044, 0.44033700227737427, -0.03133228048682213, -0.22803427278995514, 0.43943479657173157, -0.011250164359807968, -0.18629124760627747, 0.033419374376535416, 0.17297551035881042, -0.5338569283485413, -0.0009972238913178444, 0.2643657326698303, -0.029900087043642998, -0.13547436892986298, -0.36938974261283875, 0.10374896973371506, -0.13037049770355225, 0.26193326711654663, 0.3229876458644867, -0.14495208859443665, -0.5577419996261597, -0.2561599016189575, -0.8125277757644653, 0.1614021360874176, -0.24765315651893616, -0.06610622256994247, 0.17049594223499298, 0.13076628744602203, 0.06533229351043701, 0.12366922944784164, 0.1766093373298645, 0.11776868999004364, -0.12643854320049286, 0.3923003375530243, -0.4854726493358612, 0.17833898961544037, 0.18910962343215942, 0.05961598455905914, -0.1588778793811798, -0.2405877411365509, 0.25839510560035706, -0.03773292899131775, 0.04275736212730408, 0.0040043313056230545, 0.17850251495838165, 0.3276723623275757, 0.08923985064029694, 0.31930071115493774, -0.023303711786866188, 0.5128673315048218, -0.1469489336013794, 0.03637804090976715, 0.20694205164909363, 0.0730205774307251, -0.051745764911174774, 0.24279752373695374, 0.5706161856651306, 0.2408929169178009, -0.014760779216885567, -0.3858191967010498, -0.016641788184642792, 0.12530869245529175, 0.21357639133930206, -0.033934202045202255, -0.5109491944313049, 0.34719613194465637, -0.1270763874053955, -0.1007012352347374, 0.21276909112930298, 0.19828581809997559, 0.10343973338603973, 0.01906963251531124, 0.14502057433128357, -0.2344517558813095, 0.2030114382505417, -0.15832474827766418, -0.04755029082298279, -0.21618351340293884, 0.14237947762012482, 0.14839956164360046, -0.12938348948955536, -0.4475388824939728, -0.0008741617202758789, 0.41956833004951477, 0.061896272003650665, 0.057813916355371475, 0.19007357954978943, -0.12098619341850281, -0.009726103395223618, -0.029490629211068153, -0.26167982816696167, 0.03907914459705353, -0.14563800394535065, 0.19345661997795105, -0.4130746126174927 ]
https://github.com/huggingface/datasets/pull/2416
Add KLUE dataset
To fix the CI you can just merge master into your branch and it should be all green hopefully :)
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
20
text: Add KLUE dataset Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks! To fix the CI you can just merge master into your branch and it should be all green hopefully :)
[ 0.0029028840363025665, -0.14070236682891846, -0.20521363615989685, -0.10055170953273773, 0.049361638724803925, 0.14238271117210388, 0.08921419084072113, 0.2562609612941742, -0.284150093793869, 0.28369414806365967, 0.027488909661769867, 0.18252545595169067, 0.09581444412469864, 0.28104546666145325, -0.09974363446235657, 0.030575277283787727, 0.03299781680107117, 0.12138120830059052, 0.17017433047294617, -0.1945141702890396, -0.1289556622505188, 0.33310624957084656, -0.09781994670629501, -0.12319478392601013, 0.05594556778669357, -0.1991366297006607, -0.18180586397647858, 0.037899624556303024, -0.28230899572372437, -0.3584675192832947, 0.07569369673728943, 0.23318453133106232, -0.19749628007411957, 0.551795244216919, -0.00010456978634465486, -0.16338197886943817, 0.25834086537361145, -0.1168898269534111, -0.2135787308216095, -0.025268882513046265, 0.003742411732673645, -0.33921873569488525, -0.07992393523454666, -0.31697437167167664, -0.2629025876522064, 0.2676180601119995, 0.013943839818239212, -0.21584096550941467, 0.42550939321517944, 0.4944474399089813, 0.2842026948928833, 0.0875810831785202, -0.017997287213802338, 0.005021266173571348, -0.005417294800281525, 0.027220476418733597, -0.20551519095897675, 0.07973727583885193, 0.3811832368373871, 0.13342684507369995, -0.0366259440779686, 0.16381627321243286, 0.29074329137802124, -0.22515548765659332, -0.11751352995634079, -0.20435182750225067, 0.009243115782737732, -0.5012285709381104, 0.5051871538162231, 0.10356450080871582, 0.5361596345901489, 0.039549604058265686, -0.08694837987422943, 0.2698573172092438, 0.08597419410943985, -0.1722988486289978, 0.18607881665229797, 0.0533902570605278, -0.025965966284275055, -0.11549583077430725, -0.07509120553731918, -0.31994500756263733, -0.11793681979179382, -0.00018371641635894775, 0.11629350483417511, 0.49495041370391846, 0.013733788393437862, -0.103267602622509, 0.00702986866235733, 0.14933854341506958, -0.1932162642478943, 0.12923629581928253, -0.49848589301109314, 0.3828544318675995, 0.03936854749917984, -0.060493726283311844, 0.3407769203186035, -0.07271776348352432, -0.04521965980529785, 0.063507579267025, 0.10503043234348297, 0.21324065327644348, 0.18849985301494598, 0.11102499812841415, 0.2227592170238495, 0.16975951194763184, 0.36690130829811096, 0.22110603749752045, 0.12457599490880966, 0.09921380877494812, 0.19066551327705383, 0.0696651041507721, -0.15760104358196259, -0.028701379895210266, -0.11499504745006561, 0.05354641005396843, 0.06988774240016937, -0.22487573325634003, 0.07338756322860718, 0.15804700553417206, 0.0685412809252739, -0.04491962119936943, -0.16303500533103943, 0.11369515210390091, -0.16265611350536346, -0.1407906711101532, 0.031094707548618317, 0.19025982916355133, 0.0065714456140995026, -0.17705468833446503, -0.23499204218387604, 0.04821910336613655, -0.33113864064216614, -0.23177099227905273, -0.031794335693120956, -0.4766980707645416, 0.3784220516681671, -0.02079293504357338, 0.2581633925437927, -0.19766351580619812, -0.1155504584312439, 0.13794974982738495, -0.062293700873851776, 0.01921253651380539, 0.10248664021492004, 0.042722396552562714, 0.2017042338848114, -0.36401665210723877, 0.04719848185777664, -0.03422863781452179, -0.313551664352417, -0.11802863329648972, -0.2867916524410248, 0.28218865394592285, -0.1951136440038681, -0.058022722601890564, -0.1584215760231018, 0.22679057717323303, 0.19914135336875916, -0.23290792107582092, 0.1016220971941948, 0.10651780664920807, -0.10993552207946777, -0.11719142645597458, 0.2887170910835266, -0.04885302484035492, -0.0876869410276413, -0.07598704099655151, -0.38696521520614624, -0.024014607071876526, 0.10753323882818222, 0.04361885040998459, -0.03180888295173645, 0.21109077334403992, -0.2145588994026184, 0.07339908182621002, 0.5270181894302368, -0.43036916851997375, -0.42353180050849915, 0.4773355722427368, -0.27790355682373047, -0.3060464859008789, 0.02107180655002594, -0.17844074964523315, 0.2680702209472656, -0.12079356610774994, -0.04978016018867493, 0.06083449721336365, -0.20028060674667358, 0.1041053906083107, -0.35622599720954895, -0.25699350237846375, -0.17459218204021454, 0.08422316610813141, 0.3901710510253906, 0.080813467502594, 0.5190705060958862, -0.08743498474359512, 0.3450191915035248, -0.039377521723508835, 0.06414671987295151, 0.3787271976470947, 0.3736564815044403, 0.1570793241262436, -0.055898722261190414, 0.5077632069587708, 0.16049504280090332, 0.041481249034404755, -0.0705154612660408, 0.470133513212204, 0.2700635492801666, -0.2557203471660614, -0.31387755274772644, -0.10209686309099197, -0.28149160742759705, -0.36460399627685547, 0.34083467721939087, 0.11133263260126114, -0.13099195063114166, 0.1840551644563675, 0.01520669087767601, -0.07536718994379044, -0.07866477221250534, -0.1778085082769394, 0.11974352598190308, 0.10269158333539963, -0.36959272623062134, 0.021134017035365105, 0.23998737335205078, 0.22378194332122803, 0.08690458536148071, -0.09190164506435394, -0.2849363684654236, 0.19096267223358154, -0.38128647208213806, 0.4651455283164978, 0.38549500703811646, -0.12864960730075836, -0.035065412521362305, -0.17436560988426208, -0.16236993670463562, 0.3266933858394623, 0.051285721361637115, -0.10484600067138672, -0.043916359543800354, 0.20860518515110016, 0.2545259892940521, -0.14651668071746826, 0.10123541951179504, 0.14503274857997894, 0.29276415705680847, -0.07756499946117401, -0.32882317900657654, -0.2095632553100586, 0.28414386510849, -0.08588194847106934, 0.10152748227119446, -0.38135483860969543, -0.12675194442272186, 0.03998218849301338, 0.33098483085632324, 0.03382464125752449, 0.23627132177352905, -0.061528973281383514, 0.07107488811016083, -0.2554240822792053, 0.17340834438800812, 0.06715546548366547, 0.022052347660064697, 0.06870245933532715, 0.2025410681962967, 0.1409909874200821, 0.18437200784683228, -0.11621057987213135, 0.07150769233703613, 0.07208206504583359, 0.21725714206695557, 0.24298492074012756, 0.15801221132278442, -0.12322133034467697, -0.28607842326164246, 0.18596556782722473, -0.006376978009939194, 0.13015905022621155, -0.04799602925777435, -0.010358888655900955, 0.032444000244140625, -0.0788499116897583, 0.2590930759906769, 0.03852219879627228, -0.07315246760845184, -0.4357401430606842, 0.11969933658838272, -0.15698088705539703, -0.16838237643241882, 0.1951461285352707, -0.027413880452513695, 0.2602355182170868, -0.06664900481700897, 0.001420736312866211, 0.0710945874452591, -0.4417172968387604, -0.32414886355400085, 0.2605563700199127, 0.07907741516828537, -0.12090595066547394, 0.4463658928871155, -0.33786821365356445, 0.2254919856786728, -0.32757171988487244, -0.5358772873878479, 0.08142510056495667, -0.3104926347732544, 0.06576303392648697, -0.0029422491788864136, 0.056540779769420624, -0.3478621244430542, -0.28600984811782837, 0.14893752336502075, -0.31195127964019775, -0.322463721036911, -0.0013574585318565369, 0.0638732984662056, -0.15014562010765076, -0.1848989874124527, -0.3190808892250061, -0.008013701066374779, -0.38073110580444336, 0.014610722661018372, 0.0005308501422405243, 0.06101279333233833, -0.04775593802332878, -0.0006695911288261414, 0.18103647232055664, 0.2825031280517578, -0.18767595291137695, -0.39685431122779846, -0.4027515649795532, 0.22973208129405975, -0.4711202383041382, -0.5519757270812988, 0.47614285349845886, -0.06332314759492874, 0.5982379913330078, -0.3110141158103943, -0.5519340634346008, -0.019569292664527893, 0.3576308488845825, 0.23701411485671997, 0.13437750935554504, -0.2220379263162613, 0.10484588891267776, 0.01970299892127514, -0.13792972266674042, -0.12233889102935791, -0.08245439827442169, 0.15309394896030426, 0.1627311110496521, 0.3665798306465149, -0.25618839263916016, 0.5039568543434143, 0.08756986260414124, 0.3358328938484192, 0.2088140845298767, 0.4354151785373688, 0.13940048217773438, 0.13712114095687866, 0.3087857663631439, -0.014812961220741272, -0.30422964692115784, 0.5037218928337097, -0.1342923641204834, -0.15869995951652527, 0.6070009469985962, 0.08788362890481949, -0.5479020476341248, -0.3024022579193115, 0.012202799320220947, -0.27835336327552795, -0.11608853936195374, -0.056296005845069885, -0.22289642691612244, 0.2836454212665558, -0.06542722880840302, -0.05087466537952423, -0.28931736946105957, -0.1675892174243927, 0.03679819777607918, 0.17568716406822205, -0.18063995242118835, 0.06859941780567169, -0.3928366005420685, -0.35254567861557007, -0.33295750617980957, 0.15118408203125, 0.09661854803562164, 0.10713764280080795, -0.336205393075943, 0.2117108404636383, 0.051836926490068436, -0.10552970319986343, -0.08822406828403473, -0.5483682155609131, 0.08416834473609924, 0.31801149249076843, 0.10632945597171783, 0.019946517422795296, -0.23650124669075012, -0.2906726598739624, 0.22179332375526428, 0.33978626132011414, 0.0014588460326194763, -0.03925686329603195, 0.1350652128458023, 0.38387349247932434, -0.22257067263126373, -0.2263363152742386, 0.14330069720745087, -0.43876710534095764, -0.5957946181297302, -0.16251122951507568, 0.13831837475299835, 0.06800872087478638, 0.12621940672397614, -0.13733932375907898, 0.16275787353515625, 0.13216936588287354, 0.08385372161865234, -0.042926862835884094, 0.022542499005794525, 0.13614246249198914, 0.381306916475296, -0.18918193876743317, -0.08476636558771133, -0.2183862030506134, 0.12281589210033417, 0.5185161828994751, 0.019577572122216225, 0.019664078950881958, 0.16598466038703918, -0.5112688541412354, 0.20196321606636047, 0.18110907077789307, 0.15749146044254303, -0.008035153150558472, 0.10688144713640213, 0.10494498908519745, 0.023006930947303772, 0.14273744821548462, 0.19479653239250183, 0.181167334318161, -0.34492507576942444, -0.2925681173801422, 0.10970795899629593, -0.11477378010749817, -0.055826760828495026, 0.1768854856491089, -0.07547308504581451, -0.26736584305763245, 0.10163275897502899, 0.29356062412261963, 0.7362043857574463, 0.3622320294380188, -0.23987442255020142, 0.25262224674224854, -0.11196918040513992, -0.08256641775369644, -0.33141064643859863, 0.036512672901153564, -0.12186522781848907, -0.34647998213768005, -0.043764859437942505, 0.15041211247444153, 0.11100693047046661, 0.03702375292778015, -0.4155307114124298, 0.06011393293738365, -0.0020567625761032104, 0.3021165430545807, 0.16893646121025085, 0.2667628824710846, 0.049530208110809326, 0.12073510885238647, -0.062458738684654236, 0.3036634027957916, -0.023940548300743103, 0.3621148467063904, -0.19944918155670166, -0.20758114755153656, -0.32602035999298096, -0.12631762027740479, -0.43063515424728394, 0.036491334438323975, -0.08525014668703079, 0.28757280111312866, -0.31844478845596313, -0.34289002418518066, 0.11371748149394989, 0.30034926533699036, 0.7001686096191406, 0.3506830930709839, -0.13630852103233337, 0.17985056340694427, 0.281423956155777, -0.29920297861099243, -0.058078184723854065, 0.13916015625, 0.019091729074716568, -0.39002200961112976, -0.2467111349105835, 0.41500115394592285, -0.17983220517635345, -0.2143929898738861, -0.20492854714393616, -0.026004672050476074, -0.2961846590042114, 0.09524586796760559, -0.02367747575044632, 0.29020336270332336, -0.2101205289363861, -0.2280517965555191, 0.1845477670431137, 0.07881317287683487, -0.21777956187725067, -0.1892065405845642, 0.3771287202835083, -0.034375518560409546, -0.0014445390552282333, 0.10798665881156921, 0.23490992188453674, -0.2777780294418335, 0.4526420831680298, 0.08486658334732056, 0.00884338840842247, -0.38460561633110046, 0.15201300382614136, 0.2738439738750458, -0.021342821419239044, -0.18642334640026093, -0.26617762446403503, -0.3893428146839142, -0.04254588857293129, 0.44491100311279297, 0.2355259656906128, 0.2301618456840515, -0.09395107626914978, -0.15401992201805115, -0.49163588881492615, 0.27996253967285156, -0.19127599895000458, 0.008235763758420944, -0.08670444041490555, 0.021104607731103897, 0.5242598056793213, 0.43417149782180786, -0.4421147108078003, -0.09220059216022491, -0.42762741446495056, -0.039626285433769226, 0.4952978193759918, -0.047504082322120667, 0.25540891289711, -0.18286702036857605, 0.10499867796897888, -0.1760924756526947, -0.3203493356704712, -0.288198322057724, 0.1929982304573059, 0.06690043956041336, 0.02835254743695259, 0.020782075822353363, 0.15930379927158356, 0.14175724983215332, -0.13469301164150238, 0.10848002880811691, -0.05796130374073982, -0.2631058692932129, 0.08150364458560944, 0.09768757224082947, -0.15310195088386536, 0.18812918663024902, 0.20182211697101593, -0.17445187270641327, 0.0296742282807827, 0.15339015424251556, -0.04259999841451645, 0.16827580332756042, 0.421105295419693, -0.16669875383377075, 0.32459908723831177, 0.10796400904655457, -0.1832294911146164, 0.3576500117778778, 0.19289439916610718, -0.41357123851776123, 0.3996487557888031, 0.04343465343117714, -0.043369654566049576, -0.22424307465553284, -0.238349050283432, 0.2105739414691925, 0.17478355765342712, 0.2997935116291046, -0.2615453004837036, -0.05244918540120125, 0.06431686133146286, -0.1734468787908554, 0.2350890040397644, -0.018386714160442352, 0.19822290539741516, -0.05811254680156708, 0.0458761528134346, 0.2932461202144623, 0.12285305559635162, -0.20849087834358215, 0.4397731125354767, 0.27607616782188416, -0.23883846402168274, 0.12710441648960114, -0.038053445518016815, -0.009089641273021698, -0.18362298607826233, -0.2011314183473587, 0.16156122088432312, 0.40799668431282043, 0.4713059961795807, 0.20744724571704865, 0.21594613790512085, -0.02317766845226288, 0.24603164196014404, -0.01067669689655304, -0.19537582993507385, 0.2901709973812103, 0.2555502653121948, 0.07972265034914017, -0.16868461668491364, -0.25883081555366516, -0.34801822900772095, 0.015070024877786636, -0.27987027168273926, 0.12417717278003693, -0.12055600434541702, -0.14101281762123108, -0.15345554053783417, 0.009764313697814941, 0.1504913568496704, 0.16106820106506348, -0.186275452375412, 0.008588112890720367, -0.052846476435661316, 0.22520935535430908, -0.1531948745250702, 0.10959272086620331, 0.10087820887565613, -0.2055157572031021, 0.3234036862850189, -0.08215917646884918, -0.07755926251411438, -0.02978276088833809, 0.1968015432357788, 0.30605363845825195, 0.11882500350475311, -0.057286422699689865, 0.19261117279529572, 0.1175955981016159, -0.1581985503435135, -0.01868904009461403, 0.13628649711608887, 0.44288715720176697, -0.1132354885339737, 0.08694417774677277, 0.20102635025978088, -0.2685214877128601, 0.3454945683479309, 0.13054707646369934, -0.20527242124080658, 0.07596291601657867, 0.10620971769094467, -0.005679495632648468, -0.36976683139801025, -0.1736624836921692, -0.08733115345239639, -0.37683695554733276, 0.0224747471511364, 0.1762905716896057, 0.08521246165037155, 0.03670915961265564, -0.23627254366874695, 0.17356672883033752, 0.22824567556381226, 0.39841628074645996, 0.2124275416135788, 0.07057903707027435, -0.05282449722290039, -0.5372129678726196, -0.5082684755325317, 0.1319197118282318, 0.21135233342647552, -0.012796426191926003, -0.09100764244794846, 0.12427981197834015, 0.23798993229866028, 0.26084035634994507, 0.37416887283325195, -0.316163033246994, 0.05172933638095856, -0.12422826886177063, -0.39162102341651917, 0.1076429933309555, 0.32455211877822876, 0.2310463935136795, -0.02076728828251362, -0.04181571304798126, 0.12481549382209778, -0.06123039871454239, 0.2652353048324585, 0.012156685814261436, -0.1345345377922058, 0.049777280539274216, -0.30504101514816284, 0.16046783328056335, 0.09387296438217163, 0.40468743443489075, -0.19509518146514893, -0.07581838965415955, 0.009172547608613968, -0.030860671773552895, -0.06547177582979202, 0.3706338107585907, 0.23792360723018646, 0.5329794883728027, 0.009529098868370056, -0.14679953455924988, -0.12521745264530182, 0.005689703859388828, 0.12514403462409973, 0.04325461760163307, -0.18227455019950867, 0.12150212377309799, 0.09633747488260269, -0.03219517692923546, 0.18021497130393982, 0.16937220096588135, -0.054805688560009, -0.14975306391716003, -0.11673428863286972, -0.30501270294189453, 0.29426825046539307, -0.20055793225765228, -0.1548682600259781, -0.15983542799949646, 0.23395104706287384, 0.16174696385860443, 0.027227625250816345, -0.2519461512565613, -0.008543580770492554, 0.04412231966853142, 0.10416287183761597, -0.21980372071266174, 0.21225443482398987, -0.15345893800258636, 0.0898304134607315, 0.0060579776763916016, -0.16122828423976898, -0.12295427173376083, -0.17081832885742188, -0.1352352797985077, -0.32779210805892944 ]
https://github.com/huggingface/datasets/pull/2416
Add KLUE dataset
@lhoestq Thanks for reviewing! It's harder than I thought to add dataset card. 😅 I checked and updated your suggestion (script, readme details, dummy data). dummy data is little bit larger than expected because `ner` dataset is about 80 lines and `dp` dataset is about 25 lines to avoid 0 examples. I'm not sure why some CI keep fails, can u check for this?
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
64
text: Add KLUE dataset Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks! @lhoestq Thanks for reviewing! It's harder than I thought to add dataset card. 😅 I checked and updated your suggestion (script, readme details, dummy data). dummy data is little bit larger than expected because `ner` dataset is about 80 lines and `dp` dataset is about 25 lines to avoid 0 examples. I'm not sure why some CI keep fails, can u check for this?
[ -0.07409274578094482, -0.07478547096252441, -0.13276290893554688, -0.047751717269420624, -0.010987687855958939, 0.17057552933692932, 0.12831364572048187, 0.1769445538520813, -0.07121115922927856, 0.26462501287460327, 0.20947639644145966, 0.2528957426548004, 0.08305131644010544, 0.4762575626373291, 0.24002917110919952, -0.12194553017616272, 0.0843275636434555, 0.2002669870853424, 0.24952350556850433, -0.06880754232406616, -0.22057512402534485, 0.1946752518415451, -0.22640958428382874, -0.20763130486011505, 0.00024328520521521568, -0.16688916087150574, -0.3840799033641815, -0.08180173486471176, -0.25981834530830383, -0.4405035078525543, 0.2073356658220291, 0.2821807861328125, -0.07999272644519806, 0.6119497418403625, -0.00010876872693188488, -0.31026554107666016, 0.20992529392242432, -0.20668430626392365, -0.3080270290374756, -0.09502989053726196, 0.00909423828125, -0.35759711265563965, -0.22198449075222015, -0.3448036313056946, -0.13340017199516296, 0.10364368557929993, 0.0871412381529808, -0.3829892575740814, 0.2459781914949417, 0.4548143446445465, 0.2192366123199463, 0.17423421144485474, -0.06249671429395676, -0.14126445353031158, 0.12622618675231934, 0.24573931097984314, -0.2655964493751526, 0.06086775287985802, 0.4627847671508789, 0.02344401367008686, 0.0029572322964668274, 0.15749700367450714, 0.16764520108699799, -0.3483467102050781, 0.041529957205057144, -0.13061419129371643, -0.13299313187599182, -0.542290449142456, 0.5275516510009766, 0.21977362036705017, 0.62255859375, -0.26892849802970886, -0.23379309475421906, 0.06872048228979111, 0.21734373271465302, -0.22547151148319244, 0.1874009519815445, -0.0007867095991969109, -0.1089048981666565, -0.11271241307258606, -0.09548179060220718, -0.2537018954753876, -0.15991432964801788, 0.04344303533434868, 0.3033348321914673, 0.2578083872795105, 0.07441018521785736, -0.02383999526500702, -0.02465478703379631, 0.10086245089769363, 0.021890869364142418, -0.1940426528453827, -0.4480607211589813, 0.4613215923309326, -0.07622930407524109, -0.19672232866287231, 0.2454272210597992, 0.07594311237335205, 0.1681487262248993, -0.001622755080461502, 0.33577075600624084, 0.15307484567165375, 0.18282198905944824, 0.149556964635849, 0.1430845558643341, 0.24225379526615143, 0.3912832736968994, 0.252238392829895, -0.012895338237285614, -0.018898855894804, 0.2262662649154663, 0.03402506932616234, -0.09857446700334549, 0.08983459323644638, -0.07656683027744293, -0.02593611553311348, -0.10235612839460373, -0.13603541254997253, -0.11125046014785767, 0.17810708284378052, 0.05095385015010834, -0.14418955147266388, -0.18494196236133575, 0.33522775769233704, -0.25946933031082153, -0.05221589654684067, 0.03996971249580383, 0.1895373910665512, 0.05268697440624237, -0.15502528846263885, -0.13442553579807281, 0.24928292632102966, -0.36940130591392517, -0.04477216303348541, 0.2026093453168869, -0.385410875082016, 0.3043294847011566, -0.13088403642177582, 0.09627802670001984, -0.030960561707615852, -0.012767069041728973, -0.09502243995666504, 0.10139977931976318, -0.15684446692466736, 0.18943805992603302, 0.004741393029689789, -0.06355749070644379, -0.1469709277153015, -0.06247895210981369, 0.1262596994638443, -0.29493874311447144, 0.0022095367312431335, -0.1682395190000534, 0.25838732719421387, -0.1497136950492859, -0.2436710000038147, -0.29529640078544617, 0.29164832830429077, -0.009517848491668701, -0.46402105689048767, 0.03984854370355606, 0.06162424758076668, -0.31201979517936707, -0.16310951113700867, 0.2455991804599762, 0.21341753005981445, -0.3514173924922943, -0.012509200721979141, -0.3180117607116699, 0.005588682368397713, 0.15841656923294067, -0.03661777451634407, -0.11862765997648239, 0.3378622829914093, -0.29317349195480347, 0.13901647925376892, 0.6959809064865112, -0.4001963138580322, -0.3593005836009979, 0.6346651911735535, -0.1695919930934906, -0.13516409695148468, 0.11542084813117981, 0.14696969091892242, 0.3292071521282196, -0.1048872172832489, 0.012258321046829224, 0.11645610630512238, -0.3240590989589691, 0.00834302045404911, -0.2810177206993103, -0.19228330254554749, 0.004751801490783691, 0.2023645043373108, 0.34343618154525757, -0.017848625779151917, 0.4332115948200226, -0.19227036833763123, 0.42023417353630066, -0.11747899651527405, 0.04565370827913284, 0.38071209192276, 0.36836540699005127, 0.05150916427373886, 0.13798485696315765, 0.30501919984817505, -0.05833923816680908, 0.11966899782419205, -0.1658017337322235, 0.37132301926612854, 0.36148232221603394, -0.35986608266830444, -0.3457607626914978, -0.05321134626865387, -0.2821351885795593, -0.25844019651412964, 0.19099290668964386, -0.004289895296096802, 0.01704491674900055, 0.1427876353263855, -0.05511285364627838, 0.13302253186702728, -0.08031619340181351, -0.17669565975666046, 0.04604627192020416, 0.0778493583202362, -0.35896942019462585, -0.08310204744338989, 0.18449977040290833, 0.1890754997730255, 0.027657341212034225, -0.06254207342863083, -0.15308675169944763, 0.1926741600036621, -0.20501455664634705, 0.1893870234489441, 0.423298716545105, -0.33678221702575684, 0.020432662218809128, -0.16383543610572815, 0.03698170185089111, 0.22713898122310638, 0.23301266133785248, -0.3004440367221832, -0.10860209912061691, 0.26895248889923096, 0.13435332477092743, -0.19406616687774658, 0.12943805754184723, -0.0781363919377327, 0.1900492012500763, 0.04749768599867821, -0.23028390109539032, -0.15051686763763428, 0.45817288756370544, 0.1521390825510025, 0.12969015538692474, -0.27424657344818115, -0.17401370406150818, 0.06770486384630203, 0.42629873752593994, 0.0425926111638546, 0.15649926662445068, 0.18382126092910767, 0.07012420892715454, -0.19152390956878662, 0.15105438232421875, 0.20552240312099457, 0.2683854103088379, 0.23804691433906555, 0.05809764564037323, 0.06345595419406891, -0.023074112832546234, -0.09023735672235489, 0.058370042592287064, -0.025783807039260864, 0.06567387282848358, 0.1774781197309494, 0.05966974049806595, 0.15048502385616302, -0.21945390105247498, -0.20512868463993073, 0.12808318436145782, 0.18176309764385223, -0.1343504637479782, -0.001169055700302124, 0.07114649564027786, -0.29964953660964966, 0.20776325464248657, 0.22583188116550446, -0.008976414799690247, -0.4118165671825409, 0.11874724924564362, -0.16457055509090424, -0.06304313242435455, 0.1539834439754486, -0.3460153043270111, 0.3661116063594818, -0.22944402694702148, -0.21991156041622162, 0.04066032916307449, -0.2853957712650299, -0.3859848082065582, 0.20441561937332153, 0.2283163219690323, -0.028408562764525414, 0.6413339376449585, -0.32912662625312805, 0.22364738583564758, -0.28619322180747986, -0.5976594686508179, 0.1400265097618103, -0.27879154682159424, 0.14576871693134308, -0.05032889544963837, 0.14578334987163544, -0.30020439624786377, -0.2861369550228119, 0.040782734751701355, -0.2920168340206146, -0.3423800766468048, 0.19537870585918427, 0.00904547143727541, -0.31900036334991455, -0.2898942232131958, -0.5474631786346436, 0.021407458931207657, -0.26930394768714905, 0.0781988874077797, 0.03428756073117256, 0.1989959478378296, -0.06515010446310043, 0.18006013333797455, 0.24903082847595215, 0.011452758684754372, -0.15701065957546234, -0.30100366473197937, -0.3598540723323822, 0.3410840630531311, -0.4048093855381012, -0.6671612858772278, 0.5066798329353333, -0.19833175837993622, 0.6270569562911987, -0.12010374665260315, -0.5061288475990295, -0.013983188197016716, 0.2593025267124176, 0.2400805652141571, 0.0229658093303442, -0.06414122134447098, 0.23944754898548126, -0.026235142722725868, -0.09093036502599716, -0.15752866864204407, -0.16402412950992584, 0.21692192554473877, 0.08168387413024902, 0.42962682247161865, -0.18996450304985046, 0.618006706237793, 0.06166258081793785, 0.20244809985160828, 0.2207845002412796, 0.24750936031341553, 0.32064446806907654, -0.039283908903598785, 0.3406885862350464, -0.07265450805425644, -0.33212873339653015, 0.3279416561126709, -0.14812412858009338, -0.03823930025100708, 0.3927796483039856, -0.0624249204993248, -0.5538404583930969, -0.42191773653030396, -0.03044958785176277, -0.15313339233398438, 0.021788563579320908, 0.20695114135742188, -0.2564484179019928, 0.26186177134513855, -0.13178524374961853, 0.029243431985378265, -0.49166765809059143, -0.22219425439834595, -0.0678224042057991, 0.0603751614689827, 0.10162662714719772, 0.06778063625097275, -0.49382323026657104, -0.2678927779197693, -0.46183067560195923, 0.22924929857254028, 0.17226365208625793, 0.28024691343307495, -0.4032636880874634, 0.27978798747062683, -0.03952491283416748, 0.026370946317911148, 0.007661834359169006, -0.5506137013435364, -0.15769487619400024, 0.2410435676574707, 0.14258430898189545, -0.3632965683937073, -0.004045985639095306, -0.27532199025154114, -0.017587268725037575, 0.301103800535202, 0.06141212582588196, -0.09451122581958771, 0.1863618791103363, 0.45252111554145813, -0.04319151118397713, -0.17157502472400665, -0.10098466277122498, -0.33187025785446167, -0.5677456855773926, -0.1969059705734253, 0.09121105074882507, 0.062292687594890594, 0.1103476956486702, -0.07774729281663895, -0.0029707737267017365, 0.14500045776367188, -0.0007817596197128296, 0.17956066131591797, 0.07973942160606384, 0.12649935483932495, 0.3904070258140564, 0.12442432343959808, -0.24500060081481934, -0.1340588629245758, 0.30378422141075134, 0.501186192035675, -0.03841744735836983, -0.024589546024799347, 0.15852081775665283, -0.6285244822502136, 0.3693602681159973, 0.23645558953285217, 0.12681610882282257, 0.210219144821167, -0.036669857800006866, 0.005034521222114563, -0.11647411435842514, 0.1940203160047531, 0.19428139925003052, 0.05370192974805832, -0.4529508650302887, -0.4645351469516754, 0.08866774290800095, -0.018449906259775162, -0.050571098923683167, 0.2080077826976776, 0.01543581485748291, -0.38075220584869385, 0.2728269696235657, 0.1590685248374939, 0.9291975498199463, 0.46044427156448364, -0.0976758748292923, 0.26093789935112, -0.058321576565504074, -0.08774711191654205, -0.20437708497047424, 0.031049877405166626, -0.19804009795188904, -0.315355122089386, -0.12165092676877975, -0.021970365196466446, 0.1920161247253418, 0.11674252897500992, -0.5443713068962097, 0.2029518038034439, 0.0752677321434021, 0.0417504720389843, 0.11881954222917557, 0.4696311950683594, -0.3018690049648285, -0.08200053870677948, 0.024724707007408142, 0.22227448225021362, 0.049481507390737534, 0.2256670594215393, -0.13705755770206451, -0.23085211217403412, -0.3901512324810028, -0.23933236300945282, -0.38950514793395996, 0.041564710438251495, -0.37862899899482727, -0.025844495743513107, -0.4341267943382263, -0.2523927688598633, 0.45151323080062866, 0.35119882225990295, 0.6574900150299072, 0.3226102292537689, -0.1657683253288269, 0.07600292563438416, 0.0531923808157444, -0.21739715337753296, 0.08491945266723633, -0.08905365318059921, 0.1809244453907013, -0.35117846727371216, -0.298348993062973, 0.38595515489578247, -0.16917264461517334, -0.11396539211273193, -0.22436761856079102, -0.07344792783260345, -0.16687794029712677, -0.11542491614818573, -0.22824449837207794, 0.1397552192211151, -0.2532810568809509, -0.16543535888195038, 0.14594970643520355, 0.12667614221572876, -0.1073523461818695, 0.12487666308879852, 0.2302512526512146, 0.016620278358459473, -0.1270422786474228, 0.23063626885414124, 0.12352863699197769, -0.3072799742221832, 0.4556431174278259, 0.0449473075568676, -0.1464863121509552, -0.3760557174682617, 0.14140397310256958, 0.42901411652565, -0.11149300634860992, -0.4444170594215393, -0.2245788872241974, -0.16035544872283936, -0.10234638303518295, 0.38160213828086853, 0.18118079006671906, 0.10996933281421661, 0.014366772025823593, -0.14434480667114258, -0.4460708200931549, 0.332241415977478, 0.06157561391592026, 0.17845548689365387, -0.030042409896850586, 0.046130694448947906, 0.5633520483970642, 0.4528454542160034, -0.4053746163845062, -0.13122984766960144, -0.18322880566120148, 0.07670685648918152, 0.5713592767715454, 0.11638153344392776, 0.19976456463336945, -0.15228226780891418, 0.048361510038375854, 0.032224390655756, -0.20703822374343872, -0.16910332441329956, 0.12962788343429565, 0.09660851955413818, 0.011392424814403057, 0.07507485151290894, 0.054080668836832047, -0.11482874304056168, -0.1304589956998825, -0.017351817339658737, 0.012787051498889923, -0.23451057076454163, -0.07285727560520172, 0.09414529800415039, -0.0858008861541748, 0.2850256860256195, 0.14143507182598114, 0.09436056762933731, -0.11968162655830383, 0.2522498369216919, 0.10670028626918793, 0.058888256549835205, 0.3205370008945465, -0.1424507200717926, 0.2025759071111679, 0.20729228854179382, -0.029838241636753082, 0.18617936968803406, 0.24187016487121582, -0.42869216203689575, 0.42725083231925964, 0.15620926022529602, -0.05454142019152641, -0.014225557446479797, -0.31156888604164124, 0.19138304889202118, 0.3267177939414978, 0.23900309205055237, -0.27585914731025696, -0.09979981184005737, 0.06657761335372925, -0.1561477929353714, 0.20447659492492676, 0.08865837752819061, 0.2266019880771637, 0.03884144127368927, 0.02885918691754341, 0.1607072949409485, 0.24228869378566742, -0.24551264941692352, 0.2362816035747528, 0.08974945545196533, -0.16262851655483246, 0.2598840296268463, -0.042406342923641205, 0.0688159391283989, -0.20411065220832825, -0.04757382720708847, 0.11070488393306732, 0.5713549256324768, 0.4503075182437897, 0.37173888087272644, 0.11797910928726196, -0.19245439767837524, 0.33378031849861145, 0.11845207959413528, -0.23859059810638428, 0.315371036529541, 0.31102222204208374, 0.04003369063138962, -0.14829540252685547, -0.008573397994041443, -0.312385231256485, -0.11092393100261688, -0.19779527187347412, 0.2523350417613983, -0.27266016602516174, -0.2425166666507721, -0.1792471557855606, -0.12763649225234985, 0.17358902096748352, 0.1302136480808258, -0.2338559329509735, -0.010201022028923035, -0.18991272151470184, 0.3498462736606598, -0.10186152905225754, 0.19942182302474976, 0.13211560249328613, -0.2903696298599243, 0.31302621960639954, -0.17020483314990997, -0.052176639437675476, 0.02340679056942463, 0.2521239221096039, 0.3650856912136078, 0.1931142807006836, 0.05603499710559845, 0.13085688650608063, 0.0968412309885025, -0.1418866068124771, 0.07051394134759903, 0.23318973183631897, 0.31272369623184204, -0.07653680443763733, 0.20712779462337494, 0.17212116718292236, -0.17969326674938202, 0.019948137924075127, 0.28470277786254883, -0.14068053662776947, -0.06914184987545013, 0.08459837734699249, -0.05313296616077423, -0.2727297246456146, -0.24998995661735535, -0.01518084853887558, -0.30344533920288086, 0.1205689087510109, 0.3167257308959961, -0.06656122207641602, -0.01053178496658802, -0.29046252369880676, 0.11608339846134186, 0.04373934492468834, 0.37700045108795166, 0.353816956281662, -0.04912550002336502, -0.33893895149230957, -0.40203428268432617, -0.5668729543685913, 0.06806181371212006, 0.10925962030887604, -0.1232779324054718, -0.0937475934624672, 0.06147594749927521, 0.25958847999572754, 0.15857863426208496, 0.3556477129459381, -0.21717442572116852, 0.24741169810295105, 0.16258516907691956, -0.425004780292511, 0.01792808249592781, 0.24186454713344574, 0.25785428285598755, -0.10405904054641724, -0.16451135277748108, 0.08489632606506348, -0.18417318165302277, 0.1497187316417694, -0.16878047585487366, -0.11121215671300888, 0.025999318808317184, -0.2599702477455139, 0.35472530126571655, -0.006058506667613983, 0.7409323453903198, -0.19499656558036804, -0.0038630999624729156, -0.013081718236207962, 0.02454809658229351, 0.09179744124412537, 0.3374408185482025, 0.37887588143348694, 0.36892327666282654, 0.011605905368924141, -0.27501481771469116, 0.004036370199173689, 0.06563137471675873, 0.05356898903846741, 0.04259173944592476, -0.25498491525650024, 0.17962311208248138, 0.08970563858747482, 0.1289282739162445, 0.19125817716121674, 0.17233017086982727, -0.02130892127752304, -0.061990946531295776, -0.012203201651573181, -0.2579275667667389, 0.24287864565849304, -0.05334964767098427, -0.03202269971370697, -0.20743462443351746, 0.2346484363079071, -0.13704824447631836, 0.08654627203941345, -0.42691299319267273, -0.02193329483270645, 0.1464003175497055, 0.11682432889938354, -0.023228686302900314, 0.27650901675224304, -0.14853256940841675, 0.22060908377170563, -0.020511029288172722, -0.005623161792755127, -0.28295886516571045, -0.038334667682647705, -0.11739309132099152, -0.3225599527359009 ]
https://github.com/huggingface/datasets/pull/2416
Add KLUE dataset
Thanks ! That makes sense for ner and dp For mrc on the other hand there are still too many examples, maybe you can generate the dummy data for 5 examples for all tasks except ner and dp ?
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
39
text: Add KLUE dataset Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks! Thanks ! That makes sense for ner and dp For mrc on the other hand there are still too many examples, maybe you can generate the dummy data for 5 examples for all tasks except ner and dp ?
[ 0.23263587057590485, -0.3962780833244324, -0.17574399709701538, 0.04898563027381897, -0.17831119894981384, 0.1969105303287506, 0.09802649170160294, 0.10228374600410461, -0.0690889060497284, 0.15437531471252441, 0.24999123811721802, 0.17617453634738922, 0.06877356022596359, 0.07983339577913284, 0.303137868642807, -0.22253510355949402, 0.0774773359298706, 0.20121127367019653, 0.2538148760795593, -0.17138035595417023, -0.24540871381759644, 0.38306593894958496, -0.4447444677352905, -0.03611928969621658, 0.013452047482132912, -0.13300618529319763, -0.4166346788406372, 0.21495801210403442, -0.2126852124929428, -0.4719115197658539, 0.11530902981758118, 0.22688129544258118, -0.005483205430209637, 0.20547565817832947, -0.00011490977340145037, -0.4128043055534363, 0.2439555674791336, -0.2846911549568176, -0.23506425321102142, 0.03314124792814255, -0.045887965708971024, -0.3450273871421814, -0.07002872228622437, -0.5682238936424255, 0.0365431010723114, 0.32372286915779114, 0.1364830881357193, -0.16607458889484406, 0.4519895911216736, 0.7357702255249023, 0.15393127501010895, 0.1259482204914093, -0.054554130882024765, -0.10342899709939957, 0.22498127818107605, 0.24552614986896515, -0.04891276732087135, 0.08502596616744995, 0.5456679463386536, -0.00011887308210134506, 0.09776832908391953, 0.05081578716635704, 0.12760648131370544, 0.0234704427421093, 0.09463287889957428, -0.08076122403144836, -0.058276720345020294, -0.521398663520813, 0.24583670496940613, 0.5375677347183228, 0.5452095866203308, -0.11767778545618057, 0.05308670550584793, -0.09770354628562927, 0.018290705978870392, -0.17604736983776093, -0.07630837708711624, 0.1736234724521637, -0.2857773005962372, -0.13334612548351288, 0.0014306162483990192, -0.2882656455039978, -0.10767663270235062, -0.0015361085534095764, 0.0014328882098197937, 0.19209317862987518, -0.03850935027003288, -0.13387012481689453, 0.04527029022574425, 0.20675954222679138, -0.07099536061286926, -0.0935436338186264, -0.2648247182369232, 0.2595190405845642, -0.024222929030656815, -0.32873305678367615, 0.22906705737113953, -0.24702057242393494, 0.21274298429489136, -0.3577694296836853, 0.3847512900829315, 0.12058904767036438, 0.1411198079586029, 0.15712876617908478, -0.006708748638629913, 0.19977016746997833, 0.46332624554634094, 0.22143438458442688, 0.06338440626859665, 0.05983297899365425, 0.3270687460899353, 0.05816982686519623, -0.11586868017911911, 0.01783248409628868, -0.15725675225257874, 0.2361556887626648, -0.08856315165758133, -0.06349292397499084, -0.27126240730285645, 0.1059618666768074, -0.03958059102296829, -0.3204568326473236, -0.3776628077030182, 0.3463068902492523, -0.1493617594242096, -0.23616063594818115, -0.11572741717100143, 0.3709934949874878, -0.07499304413795471, -0.43125954270362854, -0.1966957151889801, 0.14192858338356018, -0.43605726957321167, -0.18670915067195892, 0.21617229282855988, -0.12361575663089752, 0.4701656699180603, 0.07256392389535904, -0.04122774302959442, -0.17235171794891357, 0.2100365161895752, -0.16435423493385315, -0.053845085203647614, -0.20564185082912445, 0.029720809310674667, -0.1425543576478958, -0.03777849301695824, 0.009145133197307587, -0.17515496909618378, 0.2083052396774292, -0.32682734727859497, 0.0474821962416172, 0.024094270542263985, 0.1945805847644806, -0.11926322430372238, -0.15217123925685883, -0.28406473994255066, 0.56305330991745, 0.07104060053825378, -0.33305996656417847, 0.24109917879104614, 0.07425214350223541, -0.14869599044322968, -0.2636719346046448, 0.12553620338439941, 0.3422539532184601, -0.20444202423095703, 0.024259187281131744, -0.19606779515743256, -0.017458993941545486, 0.06331430375576019, -0.061118271201848984, -0.14640797674655914, 0.5204503536224365, -0.2964012324810028, 0.23757340013980865, 0.568501889705658, -0.2838049829006195, 0.02920287661254406, 0.49438005685806274, 0.10836425423622131, -0.1497780978679657, 0.19410258531570435, -0.10790268331766129, 0.1636340469121933, -0.03121604025363922, -0.10376299917697906, 0.020334608852863312, -0.2396586537361145, -0.08580517023801804, -0.10509266704320908, -0.14650635421276093, 0.3014015555381775, 0.07013458013534546, 0.49672961235046387, 0.0760946050286293, 0.18718643486499786, -0.18865741789340973, 0.4171235263347626, -0.1775766760110855, 0.05185531824827194, 0.39806079864501953, 0.03421233594417572, 0.04798228293657303, 0.09689178317785263, 0.04072658717632294, -0.3001815676689148, 0.07244442403316498, -0.29367271065711975, 0.42918089032173157, 0.4259275794029236, -0.17029985785484314, -0.29522010684013367, -0.27309542894363403, -0.19422926008701324, -0.5417097806930542, 0.1805417239665985, -0.13815715909004211, 0.028481237590312958, 0.049331676214933395, -0.038128435611724854, 0.0005462067201733589, -0.028455115854740143, -0.09765899926424026, -0.06661082804203033, 0.34081628918647766, -0.18322470784187317, -0.017014645040035248, 0.2159721553325653, 0.2606796324253082, 0.17969311773777008, -0.09990127384662628, -0.019646698608994484, 0.05264631658792496, 0.12959639728069305, 0.04538729414343834, 0.2650461792945862, -0.1998019963502884, 0.08324005454778671, -0.12731806933879852, 0.14004965126514435, 0.39351382851600647, 0.24980658292770386, -0.3243776261806488, -0.3005039095878601, 0.2891491651535034, 0.3752901554107666, 0.0422106608748436, 0.058336012065410614, -0.022394517436623573, 0.02375228889286518, -0.10800182074308395, 0.10818851739168167, 0.16045154631137848, 0.46762189269065857, 0.15941481292247772, 0.23380203545093536, -0.22091634571552277, -0.44137170910835266, 0.05024236440658569, 0.3338072597980499, -0.1170152872800827, 0.17622223496437073, 0.27469566464424133, -0.043027982115745544, -0.3726944029331207, 0.09517989307641983, -0.09220796823501587, 0.32607001066207886, 0.26370689272880554, 0.1356353610754013, -0.0651465654373169, 0.02985527366399765, -0.1978771984577179, 0.01586984097957611, 0.07874874770641327, 0.0640309602022171, 0.09801437705755234, -0.040329813957214355, 0.039400696754455566, -0.165225088596344, -0.08454480767250061, 0.11462559551000595, 0.1613219827413559, -0.2826453745365143, -0.045449331402778625, 0.13923786580562592, -0.16565224528312683, 0.129022479057312, 0.5114923715591431, -0.20370030403137207, -0.45808470249176025, 0.136458158493042, -0.36492064595222473, 0.017475049942731857, -0.01112818531692028, 0.01570906862616539, 0.45082542300224304, -0.4145534932613373, 0.3181726336479187, -0.13789504766464233, -0.4248514771461487, -0.4852076768875122, 0.2340911626815796, 0.036286674439907074, 0.4162082374095917, 0.42438071966171265, -0.5198184847831726, -0.10309460014104843, -0.10912395268678665, -0.44243648648262024, 0.19532163441181183, -0.14986562728881836, 0.09620270878076553, 0.06264255940914154, 0.03256826102733612, -0.32582682371139526, -0.0063003660179674625, -0.07628726959228516, -0.19426974654197693, -0.42931047081947327, 0.16701188683509827, -0.016888586804270744, -0.13391271233558655, -0.10226058959960938, -0.6166021227836609, -0.12414511293172836, -0.28371500968933105, 0.1465366780757904, -0.04559994488954544, 0.3078869581222534, 0.03299394249916077, -0.016520395874977112, 0.2639051079750061, 0.11514374613761902, 0.06643719226121902, -0.33878350257873535, -0.12023231387138367, 0.1458139270544052, -0.4827668368816376, -0.42883312702178955, 0.1205415278673172, -0.26589295268058777, 0.38466399908065796, -0.0488070547580719, -0.3419625759124756, -0.25428301095962524, 0.07835188508033752, 0.14554017782211304, -0.19218675792217255, 0.02013806253671646, 0.263610303401947, -0.10835225135087967, -0.0491020530462265, -0.20057952404022217, -0.0824013352394104, 0.41407763957977295, 0.2957204282283783, 0.1802539825439453, -0.13314902782440186, 0.32763946056365967, -0.060177795588970184, 0.5436280369758606, 0.3154083490371704, 0.3451122045516968, 0.23478537797927856, -0.030477454885840416, 0.2174014449119568, 0.13930034637451172, -0.010597309097647667, 0.3963089883327484, -0.013661712408065796, 0.11066927015781403, 0.46739649772644043, -0.05387229472398758, -0.2687075436115265, -0.2731974124908447, 0.03146424889564514, -0.46968358755111694, 0.004256024956703186, 0.1293426901102066, -0.030535206198692322, 0.3485957682132721, -0.17717105150222778, 0.057287588715553284, -0.26334336400032043, -0.08751088380813599, -0.0991773009300232, 0.10500375926494598, 0.11048971116542816, 0.07827013731002808, -0.6739741563796997, 0.030698848888278008, -0.49266576766967773, 0.21059781312942505, -0.0037657180801033974, 0.09752067178487778, -0.25116589665412903, 0.37870630621910095, -0.06524205207824707, 0.09441771358251572, 0.2522245943546295, -0.6939004063606262, -0.060087695717811584, 0.153379887342453, 0.35251298546791077, -0.26439905166625977, -0.07428014278411865, -0.48061442375183105, 0.18062658607959747, 0.28329864144325256, 0.028796598315238953, -0.23400434851646423, 0.001936889486387372, 0.2571813464164734, -0.038159433752298355, -0.24143065512180328, -0.31465449929237366, -0.3006877601146698, -0.4932573735713959, -0.09220171719789505, 0.09116821736097336, 0.35924485325813293, 0.04276343807578087, -0.11978127807378769, -0.03908897936344147, 0.15083357691764832, 0.040950432419776917, 0.3301064372062683, -0.04116296395659447, 0.1904618740081787, 0.25371411442756653, -0.020828956738114357, -0.054807260632514954, -0.24967041611671448, 0.30491510033607483, 0.49599194526672363, -0.3764720857143402, 0.054450005292892456, 0.23225602507591248, -0.5275701880455017, 0.4366162121295929, 0.34529727697372437, 0.2896699011325836, 0.15938308835029602, -0.030128363519906998, 0.08930307626724243, -0.21606744825839996, 0.3268340826034546, 0.30207425355911255, 0.1727043092250824, -0.12091518938541412, -0.48293986916542053, 0.04522400349378586, -0.10378968715667725, -0.19255585968494415, 0.12516160309314728, -0.14813761413097382, -0.3779228627681732, -0.0567467175424099, 0.27223387360572815, 0.8861111998558044, 0.40249156951904297, 0.04044129699468613, 0.3870070278644562, -0.3066561222076416, -0.007470557000488043, -0.4069328308105469, 0.027572309598326683, -0.26245468854904175, -0.18358327448368073, -0.15529248118400574, -0.17550694942474365, 0.17826944589614868, 0.20031233131885529, -0.4299715459346771, 0.47479602694511414, 0.017088815569877625, -0.020036395639181137, 0.27777549624443054, 0.46740174293518066, -0.03799806535243988, 0.12196700274944305, 0.16986751556396484, 0.11529818177223206, -0.08066999912261963, 0.11186699569225311, -0.16163969039916992, -0.20984643697738647, -0.26440733671188354, -0.20949864387512207, -0.23742340505123138, -0.019472438842058182, -0.30065882205963135, 0.0001262091100215912, -0.06101654842495918, -0.1005103588104248, 0.3094036877155304, 0.32579439878463745, 0.49625569581985474, 0.14034231007099152, -0.14925244450569153, -0.021612927317619324, 0.05013975501060486, -0.16556356847286224, 0.06341852247714996, 0.08606220781803131, 0.08795341849327087, -0.3115152418613434, -0.18679648637771606, 0.38106533885002136, -0.24880997836589813, 0.15477630496025085, -0.4034794270992279, -0.03427153080701828, -0.28930503129959106, -0.051992710679769516, -0.07500448822975159, 0.43674707412719727, -0.2281218022108078, -0.240857794880867, 0.07980656623840332, 0.30263280868530273, -0.22357706725597382, 0.1751774698495865, 0.05786985158920288, -0.02178720384836197, -0.0003960076719522476, 0.007466159760951996, 0.3012307286262512, -0.3073166310787201, 0.2445986270904541, 0.032794903963804245, -0.10728331655263901, -0.3935329020023346, 0.16256701946258545, 0.49836650490760803, -0.19649723172187805, -0.08364758640527725, -0.37345048785209656, -0.19681227207183838, -0.05079750344157219, 0.48708420991897583, 0.2147948443889618, 0.11631696671247482, 0.0020120255649089813, -0.10679720342159271, -0.3563503921031952, 0.255543053150177, -0.022947754710912704, 0.06357131898403168, -0.18823832273483276, -0.08209754526615143, 0.5318204760551453, 0.6288747787475586, -0.36661580204963684, 0.1778954714536667, -0.23805391788482666, 0.1069464385509491, 0.22059641778469086, -0.14528021216392517, 0.028711490333080292, -0.06757745146751404, -0.046514470130205154, -0.03498878329992294, -0.4447789490222931, -0.15685129165649414, -0.048452720046043396, 0.14755311608314514, -0.08275105804204941, 0.08958994597196579, 0.31223738193511963, 0.03899666666984558, -0.15529370307922363, 0.015487952157855034, -0.16264867782592773, -0.3481166958808899, -0.08018915355205536, 0.40070176124572754, 0.25417065620422363, 0.2794836759567261, -0.0007040351629257202, 0.10805464535951614, -0.050340235233306885, 0.07587766647338867, 0.12679502367973328, 0.1865757256746292, 0.4213135838508606, -0.05547839403152466, 0.22323858737945557, 0.19803586602210999, -0.07290109992027283, -0.11036095768213272, 0.08141385763883591, -0.2952069044113159, 0.2769465744495392, -0.1307230293750763, -0.025152329355478287, 0.129591703414917, -0.3578457534313202, 0.21856079995632172, 0.3121669888496399, 0.22338858246803284, -0.34012356400489807, -0.0030385865829885006, 0.04664771258831024, -0.08951322734355927, 0.2343519926071167, 0.13010956346988678, 0.4093734323978424, -0.0935053676366806, -0.01982203871011734, 0.13979190587997437, -0.03781779855489731, -0.04959864914417267, 0.1964661329984665, 0.06851977854967117, -0.24380257725715637, 0.038947176188230515, 0.19302386045455933, 0.07567989826202393, -0.0569145604968071, -0.3298455476760864, 0.4518783390522003, 0.5115402936935425, 0.28729182481765747, 0.20636045932769775, 0.3743938207626343, -0.10756054520606995, 0.3430088758468628, 0.2977685332298279, -0.08809901773929596, 0.21770000457763672, 0.24243155121803284, 0.3363158702850342, -0.11162596195936203, -0.04206189513206482, -0.30003443360328674, -0.3275696933269501, -0.26780804991722107, 0.2407330572605133, 0.1381068080663681, -0.29700276255607605, -0.31938403844833374, -0.21245208382606506, 0.16043178737163544, -0.2803598642349243, 0.036922991275787354, -0.24336107075214386, -0.14504685997962952, 0.28098803758621216, 0.01922094076871872, 0.2052817940711975, 0.1630251109600067, -0.40096601843833923, 0.12873582541942596, -0.1459166258573532, -0.11815164983272552, 0.023652000352740288, 0.2730964720249176, 0.3228662610054016, 0.1887873113155365, -0.23402968049049377, -0.09515238553285599, 0.34061282873153687, -0.0654977560043335, 0.13305208086967468, 0.11193671822547913, 0.5055159330368042, 0.025254951789975166, 0.3644343614578247, 0.06520991772413254, -0.08969561010599136, 0.13075019419193268, 0.43925046920776367, -0.38964349031448364, -0.153434619307518, 0.2583487033843994, 0.027191702276468277, -0.3529541492462158, 0.11427617818117142, -0.031400859355926514, -0.5923604965209961, 0.06410259008407593, 0.1362481713294983, -0.08194456994533539, -0.044792551547288895, -0.22409841418266296, 0.09288208186626434, -0.15601016581058502, 0.27362701296806335, 0.22000375390052795, 0.25357380509376526, -0.5304655432701111, -0.3843790888786316, -0.5327597856521606, 0.12805429100990295, -0.15685199201107025, -0.157758891582489, 0.33858659863471985, 0.09359226375818253, 0.17132821679115295, 0.22741545736789703, 0.05906534194946289, 0.04121355712413788, 0.09606487303972244, 0.11563506722450256, -0.6478433609008789, 0.05107836425304413, 0.32370901107788086, 0.24604520201683044, 0.03899402916431427, -0.08187335729598999, 0.04513010382652283, -0.27416911721229553, 0.0752558708190918, -0.19710147380828857, 0.14444106817245483, 0.37797409296035767, 0.06526413559913635, 0.21889463067054749, -0.04257319122552872, 0.6557439565658569, -0.20683279633522034, -0.057245880365371704, 0.4271346628665924, 0.1790911704301834, -0.01954757794737816, 0.14721742272377014, 0.26449692249298096, 0.14046911895275116, -0.18118944764137268, -0.23583082854747772, -0.058477263897657394, 0.11438575387001038, 0.1909853219985962, 0.16272984445095062, -0.3861180543899536, 0.15093642473220825, 0.04202520102262497, 0.06852690875530243, 0.2952132821083069, 0.010463561862707138, -0.010237462818622589, -0.24482068419456482, -0.059216827154159546, -0.10004957765340805, 0.3196302652359009, 0.07087481021881104, -0.0031302738934755325, -0.41396564245224, 0.42311394214630127, 0.2334159016609192, 0.1763225495815277, -0.5758559703826904, -0.13754089176654816, 0.43329501152038574, 0.012109752744436264, 0.0946698933839798, 0.3277849853038788, -0.13006338477134705, -0.22054588794708252, 0.018594473600387573, -0.4217286705970764, -0.04669012874364853, -0.18363583087921143, -0.15484371781349182, -0.6266126036643982 ]
https://github.com/huggingface/datasets/pull/2416
Add KLUE dataset
> Thanks ! That makes sense for ner and dp > > For mrc on the other hand there are still too many examples, maybe you can generate the dummy data for 5 examples for all tasks except ner and dp ? Yes, I generate default lines in dataset-cli for other dataset except "dp" and "ner" I fixed mrc dataset, hope it's fine now :) the reason CI failed was I forgot to merge master into my branch 😅
Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks!
79
text: Add KLUE dataset Add `KLUE (Korean Language Understanding Evaluation)` dataset released recently from [paper](https://arxiv.org/abs/2105.09680), [github](https://github.com/KLUE-benchmark/KLUE) and [webpage](https://klue-benchmark.com/tasks). Please let me know if there's anything missing in the code or README. Thanks! > Thanks ! That makes sense for ner and dp > > For mrc on the other hand there are still too many examples, maybe you can generate the dummy data for 5 examples for all tasks except ner and dp ? Yes, I generate default lines in dataset-cli for other dataset except "dp" and "ner" I fixed mrc dataset, hope it's fine now :) the reason CI failed was I forgot to merge master into my branch 😅
[ -0.04165763407945633, -0.10409107059240341, -0.08409766852855682, 0.015230093151330948, -0.12129873037338257, 0.1312839686870575, 0.013918973505496979, 0.11532291769981384, -0.14073364436626434, 0.2471080869436264, 0.19357720017433167, 0.13346384465694427, 0.0880952924489975, 0.392904132604599, -0.022170472890138626, -0.05184067040681839, 0.02657449245452881, 0.20910587906837463, 0.09892753511667252, -0.13349337875843048, -0.10226812958717346, 0.35657602548599243, -0.16854125261306763, -0.09066735208034515, -0.056369442492723465, -0.2558477222919464, -0.3756422996520996, 0.14655163884162903, -0.32911568880081177, -0.3711754083633423, 0.2830784320831299, 0.39149245619773865, 0.006344277411699295, 0.4155575633049011, -0.00011913012713193893, -0.19572454690933228, 0.2179008275270462, -0.2443014532327652, -0.3509295582771301, -0.16586218774318695, -0.1803508996963501, -0.31697142124176025, 0.02601262554526329, -0.5190669298171997, -0.07614875584840775, 0.37001821398735046, -0.07618334144353867, -0.21792203187942505, 0.4593737721443176, 0.7169695496559143, 0.16842196881771088, 0.21001549065113068, -0.17569467425346375, -0.16985994577407837, 0.12672464549541473, 0.3523954749107361, -0.11770705878734589, 0.00826867762953043, 0.3798665404319763, 0.03949899971485138, 0.10686296224594116, -0.02426804043352604, 0.10515707731246948, -0.10995803773403168, 0.11745406687259674, -0.20620758831501007, -0.026677243411540985, -0.617107629776001, 0.27805620431900024, 0.4017305374145508, 0.6710882186889648, -0.10306302458047867, -0.04922647774219513, 0.09040536731481552, 0.13589462637901306, -0.03409418836236, 0.12562493979930878, 0.11292710155248642, -0.3299641013145447, -0.07702533900737762, -0.2917270064353943, -0.12644676864147186, -0.147420272231102, 0.0029346346855163574, 0.05968451499938965, 0.1902099847793579, 0.010664427652955055, 0.022078439593315125, 0.17148010432720184, 0.17963436245918274, -0.1754874885082245, -0.1516103446483612, -0.4410792589187622, 0.28867214918136597, -0.012826170772314072, -0.40541982650756836, 0.22301548719406128, 0.06315677613019943, 0.23190465569496155, -0.10103954374790192, 0.36364051699638367, -0.014324110001325607, 0.16285289824008942, 0.16550582647323608, 0.10224896669387817, 0.24738313257694244, 0.3154646158218384, 0.3329230844974518, 0.1668509542942047, -0.02577667124569416, 0.16181707382202148, 0.06617293506860733, -0.11967232823371887, 0.028706923127174377, -0.15077967941761017, 0.1773146092891693, 0.057652831077575684, -0.17633500695228577, -0.31992000341415405, 0.19453582167625427, 0.004155464470386505, -0.24458660185337067, -0.26728948950767517, 0.2366742491722107, -0.20612196624279022, -0.16838183999061584, -0.09097668528556824, 0.3326385021209717, 0.04677776247262955, -0.18357449769973755, -0.182478666305542, 0.06425317376852036, -0.35168129205703735, -0.14873483777046204, 0.13967028260231018, -0.3144190311431885, 0.352210134267807, 0.1743820160627365, 0.12379452586174011, -0.16409435868263245, 0.13437673449516296, -0.04627404361963272, -0.08494245260953903, 0.09755689650774002, 0.10904745757579803, -0.018331484869122505, 0.12864583730697632, -0.2801109552383423, -0.05951414257287979, 0.15370890498161316, -0.3824869692325592, -0.08309538662433624, -0.21346496045589447, 0.15555796027183533, -0.28265810012817383, -0.026532478630542755, -0.4711935222148895, 0.2869272232055664, 0.10244600474834442, -0.2798379957675934, 0.004510536789894104, 0.07434308528900146, 0.0071709044277668, -0.20260252058506012, 0.23455318808555603, 0.2598837912082672, -0.2654603123664856, -0.039658620953559875, -0.20095765590667725, -0.04868321493268013, 0.07293064892292023, 0.07092776894569397, -0.1097872257232666, 0.421207457780838, -0.27228137850761414, 0.0024232417345046997, 0.5939693450927734, -0.3514292240142822, -0.1473628282546997, 0.6608328223228455, 0.04424518346786499, -0.1641269028186798, 0.12062820047140121, -0.10805511474609375, 0.3765019178390503, -0.11997592449188232, -0.2636094093322754, 0.0808476060628891, -0.4146183431148529, 0.06754002720117569, -0.21047478914260864, -0.24442227184772491, 0.0034668706357479095, 0.03406823053956032, 0.400564581155777, 0.23014891147613525, 0.43204545974731445, -0.27706968784332275, 0.5014235377311707, -0.20104506611824036, 0.05794556438922882, 0.38420552015304565, 0.2596122920513153, -0.15242229402065277, 0.01648668386042118, 0.21809121966362, -0.2245057225227356, 0.11769198626279831, -0.02774127945303917, 0.5333150029182434, 0.3109170198440552, -0.2964240312576294, -0.34087055921554565, -0.17071102559566498, -0.3055920898914337, -0.34623780846595764, 0.13885359466075897, 0.009957544505596161, -0.029530279338359833, -0.1291816085577011, -0.06656190752983093, 0.07276738435029984, -0.16094084084033966, -0.06438225507736206, 0.01911916583776474, 0.3690919876098633, -0.23309101164340973, 0.06747610867023468, 0.0772552639245987, 0.21668383479118347, 0.09930972754955292, -0.1601385623216629, -0.20752233266830444, 0.21628063917160034, -0.1593010276556015, 0.22326824069023132, 0.27888408303260803, -0.17656271159648895, 0.1262579709291458, -0.27809128165245056, 0.04123867303133011, 0.3254491090774536, 0.031695928424596786, -0.2135133147239685, -0.3633555769920349, 0.25452709197998047, 0.14809300005435944, 0.051748890429735184, 0.09374450147151947, 0.06397579610347748, 0.2038593590259552, -0.08854876458644867, -0.2188432216644287, -0.09042973816394806, 0.35340049862861633, 0.14234432578086853, 0.17655682563781738, -0.12060277163982391, -0.20403245091438293, 0.04974203184247017, 0.17801342904567719, -0.017278030514717102, 0.07114706188440323, 0.2035071849822998, 0.1334381103515625, -0.17884927988052368, 0.15449924767017365, 0.314643532037735, 0.3483327627182007, 0.15660366415977478, 0.11726515740156174, 0.05599407106637955, -0.0012641139328479767, -0.12328573316335678, 0.0638868659734726, 0.0011880844831466675, 0.27435752749443054, 0.2217526137828827, 0.0261332169175148, 0.1699945479631424, -0.08914065361022949, -0.0592757910490036, 0.2590480148792267, 0.36530953645706177, -0.2534661889076233, -0.031117528676986694, 0.05399998277425766, -0.09712224453687668, 0.2388661503791809, 0.30741530656814575, -0.08020295202732086, -0.3901260793209076, -0.034682489931583405, -0.24901151657104492, -0.12973390519618988, 0.17047178745269775, -0.11220251023769379, 0.3406069278717041, -0.3501221537590027, 0.013242839835584164, -0.06880693882703781, -0.3863527476787567, -0.2880917191505432, 0.18406355381011963, 0.19326749444007874, 0.23723168671131134, 0.4655763506889343, -0.3585363030433655, 0.00005341880023479462, -0.3513314127922058, -0.5293864011764526, 0.2092394381761551, -0.06656765192747116, 0.20607297122478485, 0.1591358482837677, 0.16883033514022827, -0.33527272939682007, -0.26443931460380554, -0.00253908708691597, -0.0820462554693222, -0.4462631046772003, 0.13904474675655365, -0.12862901389598846, -0.20069071650505066, -0.13493816554546356, -0.37473738193511963, -0.22815454006195068, -0.3293622136116028, 0.002504907548427582, -0.07394112646579742, 0.2681582570075989, 0.1626451015472412, 0.03755887597799301, -0.01559655275195837, 0.21280376613140106, -0.0849791020154953, -0.2278132438659668, -0.34077417850494385, 0.09309689700603485, -0.48515766859054565, -0.464537113904953, 0.3246663212776184, -0.13507547974586487, 0.5613051652908325, 0.14420345425605774, -0.5290578603744507, -0.02305442839860916, 0.07342594116926193, 0.253446102142334, 0.004826266318559647, -0.04642065614461899, 0.1930064558982849, -0.07191840559244156, 0.011519117280840874, -0.11010345071554184, -0.0854262113571167, 0.3282080590724945, 0.24950218200683594, 0.3058263659477234, -0.1834825873374939, 0.6389791369438171, -0.048944368958473206, 0.4513733386993408, 0.4580872058868408, 0.2711033225059509, 0.28894156217575073, 0.05630183219909668, 0.3521399199962616, 0.11442488431930542, -0.2860984206199646, 0.5100928544998169, 0.008692175149917603, -0.15147192776203156, 0.4755246043205261, 0.013609410263597965, -0.33859318494796753, -0.29831844568252563, 0.09908659756183624, -0.23889046907424927, -0.061051853001117706, 0.03785613551735878, -0.2897154986858368, 0.3797859847545624, -0.12716928124427795, 0.04570673406124115, -0.32441577315330505, -0.17403075098991394, -0.23816831409931183, 0.2428889274597168, 0.10372108966112137, 0.14697614312171936, -0.7631238698959351, -0.15876296162605286, -0.40677163004875183, 0.15252543985843658, -0.04520037770271301, 0.10805106163024902, -0.3439696729183197, 0.3317146599292755, -0.05006489157676697, 0.06967195868492126, 0.12836509943008423, -0.7065522074699402, -0.13140034675598145, 0.18360543251037598, 0.35916295647621155, -0.3038775324821472, -0.18697918951511383, -0.21526166796684265, 0.3769640028476715, 0.47775015234947205, 0.2707749009132385, -0.16251671314239502, -0.032726168632507324, 0.41083043813705444, -0.006441885139793158, -0.12169073522090912, -0.2858116924762726, -0.2058870941400528, -0.630350649356842, -0.27830782532691956, 0.16043022274971008, 0.2444724589586258, 0.016194233670830727, -0.26650044322013855, -0.05243848264217377, 0.15321405231952667, 0.04733620584011078, 0.27348652482032776, 0.0018811337649822235, 0.2280629575252533, 0.35996806621551514, 0.056597452610731125, -0.27317991852760315, 0.007596183568239212, 0.35530543327331543, 0.6315191984176636, -0.3614998459815979, 0.02100791037082672, 0.3267262279987335, -0.5863729119300842, 0.365078866481781, 0.27322566509246826, 0.22939777374267578, 0.009312547743320465, 0.1315438449382782, 0.166515052318573, -0.06450048834085464, 0.3024897873401642, 0.03721483051776886, 0.11950012296438217, -0.5303728580474854, -0.35160085558891296, 0.042814042419195175, -0.010007773526012897, -0.1794068068265915, 0.10373689234256744, -0.13224230706691742, -0.3699851334095001, 0.08175650984048843, 0.34612375497817993, 0.8484131097793579, 0.4974791407585144, -0.10692465305328369, 0.18298298120498657, -0.11757710576057434, 0.22004283964633942, -0.2297770380973816, -0.13203048706054688, -0.3165905773639679, -0.3476957082748413, -0.08696738630533218, -0.09225941449403763, 0.13367688655853271, 0.25099629163742065, -0.5824988484382629, 0.24869073927402496, 0.035183586180210114, 0.2482743263244629, 0.3042476773262024, 0.46376073360443115, -0.13458147644996643, 0.033101364970207214, 0.12676532566547394, 0.12253867089748383, -0.13764840364456177, 0.14557182788848877, -0.19073253870010376, -0.18779176473617554, -0.21138602495193481, -0.100278839468956, -0.3530696630477905, 0.041528619825839996, -0.5213507413864136, 0.0010853074491024017, -0.18616712093353271, -0.3399922251701355, 0.37722688913345337, 0.4176393747329712, 0.8338467478752136, 0.33161067962646484, -0.14541417360305786, 0.11702847480773926, 0.085194431245327, -0.03911498561501503, 0.0904693678021431, -0.05840438976883888, 0.1629219502210617, -0.3487183153629303, -0.21248677372932434, 0.1650838702917099, -0.30915969610214233, -0.0662243664264679, -0.2217637300491333, -0.16421552002429962, -0.18609461188316345, -0.08176512271165848, -0.12753592431545258, 0.15583071112632751, -0.177702859044075, -0.23389478027820587, 0.049974214285612106, 0.18141067028045654, -0.11664474755525589, 0.24502411484718323, 0.0286190714687109, -0.030885521322488785, 0.010620156303048134, -0.07259362190961838, 0.2875654697418213, -0.40067756175994873, 0.22806532680988312, 0.057794708758592606, 0.02207520231604576, -0.3784271776676178, 0.22744965553283691, 0.4916364252567291, -0.143110990524292, -0.16778208315372467, -0.28904005885124207, -0.3034151792526245, 0.010839195922017097, 0.7146032452583313, 0.24539948999881744, 0.28117403388023376, 0.022265080362558365, -0.15680980682373047, -0.5641711354255676, 0.1901000738143921, -0.06209052726626396, 0.23142151534557343, -0.1698082685470581, 0.0013628117740154266, 0.4490271210670471, 0.4870176911354065, -0.3209018111228943, -0.04386456310749054, -0.2866915166378021, 0.017615539953112602, 0.593812108039856, 0.061871252954006195, 0.10756206512451172, -0.21047629415988922, -0.08063788712024689, -0.06667008250951767, -0.2653208076953888, -0.11706440895795822, 0.01772255450487137, 0.1573256254196167, 0.02988358773291111, -0.06945597380399704, 0.3303007185459137, -0.08962572365999222, -0.17168553173542023, -0.05057822912931442, 0.004800641909241676, -0.3468377888202667, -0.011594921350479126, 0.011594672687351704, -0.010262865573167801, 0.2053396999835968, 0.013566337525844574, 0.055525824427604675, 0.0755566954612732, 0.08015570044517517, 0.02212814800441265, 0.2783187925815582, 0.3572261929512024, -0.06988110393285751, 0.25166237354278564, 0.20818263292312622, -0.08043797314167023, 0.19697779417037964, 0.03228238970041275, -0.3807496428489685, 0.21013951301574707, 0.16495674848556519, 0.13288208842277527, -0.104438915848732, -0.24150614440441132, 0.25932517647743225, 0.23641395568847656, 0.22449739277362823, -0.28124260902404785, -0.0158829465508461, 0.19689899682998657, -0.02184675633907318, 0.2080245316028595, 0.12405341863632202, 0.2781114876270294, -0.2567155361175537, 0.07964519411325455, 0.17841917276382446, 0.198476642370224, -0.26427435874938965, 0.38557225465774536, 0.2512715458869934, -0.2421094924211502, 0.10674239695072174, 0.045691512525081635, -0.11192585527896881, -0.17369210720062256, -0.24090759456157684, 0.2211264967918396, 0.5658307075500488, 0.5255175232887268, 0.07347109913825989, 0.4096478819847107, -0.2044437676668167, 0.4743214547634125, 0.04178255796432495, -0.20869338512420654, 0.11423132568597794, 0.32845234870910645, 0.2448458969593048, -0.1613316535949707, -0.3089621663093567, -0.48571065068244934, -0.1768011599779129, -0.33509233593940735, 0.23715443909168243, -0.3378663957118988, -0.3045320510864258, -0.12225940823554993, -0.1852284073829651, -0.0323227234184742, -0.037605687975883484, -0.0035035833716392517, -0.1029854565858841, -0.11638309061527252, 0.11647122353315353, -0.14493033289909363, 0.17902639508247375, 0.02298576384782791, -0.286176860332489, 0.3803116977214813, -0.09419739246368408, -0.18267565965652466, -0.06334033608436584, 0.27709630131721497, 0.45229965448379517, 0.2848970293998718, 0.13835261762142181, 0.023510757833719254, 0.26176899671554565, -0.07957617193460464, 0.02459460124373436, 0.0885944664478302, 0.49850669503211975, -0.10025393962860107, 0.2438504844903946, 0.09956836700439453, -0.08855518698692322, 0.15819330513477325, 0.2150186449289322, -0.3592665195465088, -0.16108036041259766, 0.18082861602306366, 0.08171817660331726, -0.35426634550094604, 0.1780700534582138, 0.0080476775765419, -0.3695378303527832, 0.03261689096689224, 0.24553585052490234, -0.0741773247718811, 0.06751130521297455, -0.2702302932739258, 0.0862320065498352, -0.0661063939332962, 0.2027890682220459, 0.2933334410190582, 0.14068803191184998, -0.48534050583839417, -0.4418548345565796, -0.731228768825531, 0.07208523899316788, -0.03923061862587929, -0.032632242888212204, 0.1933850347995758, 0.10663455724716187, 0.31783053278923035, 0.1342201977968216, 0.2213582843542099, -0.06499665975570679, 0.1830127090215683, -0.02185550332069397, -0.544839084148407, 0.0036071836948394775, 0.1438627541065216, 0.2131975293159485, -0.04791342467069626, -0.1356525421142578, 0.09487792104482651, -0.06406950950622559, 0.05444546043872833, -0.1662926971912384, -0.013516508042812347, 0.3902478516101837, -0.2710752487182617, 0.15325455367565155, 0.0881352424621582, 0.7384746074676514, -0.16531550884246826, -0.04821551591157913, 0.1651454120874405, 0.038143791258335114, -0.14620976150035858, 0.24612680077552795, 0.23178385198116302, 0.4709157645702362, -0.10661537200212479, -0.07139068841934204, -0.18972085416316986, -0.2991415560245514, 0.1728680431842804, 0.05103009566664696, -0.3372488021850586, 0.17245613038539886, 0.07147709280252457, 0.08276115357875824, 0.28688570857048035, 0.11278388649225235, 0.06037835404276848, -0.05707182735204697, -0.018531449139118195, -0.22130751609802246, 0.43039166927337646, 0.029491595923900604, -0.07726453244686127, -0.368601530790329, 0.36021387577056885, 0.0006386116147041321, 0.08514964580535889, -0.3475918471813202, -0.17597553133964539, 0.26349711418151855, -0.05948854982852936, -0.1184287965297699, 0.23201236128807068, 0.018294181674718857, 0.08745966851711273, -0.0013357102870941162, -0.2724361717700958, -0.052847154438495636, -0.35469281673431396, -0.09010592103004456, -0.4155930280685425 ]
https://github.com/huggingface/datasets/pull/2414
Update README.md
Merging since the CI error is unrelated to this PR and has been fixed on master
Provides description of data instances and dataset features
16
text: Update README.md Provides description of data instances and dataset features Merging since the CI error is unrelated to this PR and has been fixed on master
[ -0.43443626165390015, 0.12486375868320465, -0.14907264709472656, -0.04130784422159195, 0.1744166910648346, 0.07676736265420914, 0.23745760321617126, 0.14701160788536072, -0.3110645115375519, 0.12709704041481018, 0.02627738192677498, 0.09060834348201752, 0.1337018460035324, 0.6378139853477478, -0.11381283402442932, 0.07753580808639526, 0.18449649214744568, 0.03685629367828369, -0.21293815970420837, 0.10202980041503906, -0.09283599257469177, 0.198634073138237, -0.20599696040153503, -0.0858992338180542, -0.11315304040908813, -0.06909138709306717, -0.02406422235071659, 0.38661259412765503, -0.2761043608188629, -0.34325170516967773, 0.14851529896259308, 0.0832938402891159, -0.19274692237377167, 0.22160284221172333, -0.00009931817476172, 0.05433681607246399, 0.4898838996887207, -0.008308954536914825, -0.33565181493759155, -0.04384796321392059, -0.2017122507095337, -0.19463394582271576, 0.052838779985904694, -0.003424122929573059, 0.22382697463035583, -0.28129416704177856, -0.09179696440696716, 0.08627679944038391, 0.09441487491130829, 0.17760224640369415, 0.35224661231040955, 0.292315810918808, 0.1635308861732483, -0.3092796802520752, 0.0692857876420021, 0.1258210390806198, 0.04611299932003021, 0.0197027288377285, 0.2628604769706726, 0.09546863287687302, 0.05607665702700615, 0.4747694730758667, -0.03661560267210007, -0.05822545662522316, 0.2620384395122528, -0.15920425951480865, 0.3018497824668884, -0.13559620082378387, 0.31210657954216003, -0.12394688278436661, 0.7982442378997803, -0.008696146309375763, -0.10871607065200806, 0.12200719863176346, -0.005943259224295616, -0.12392346560955048, 0.1913509964942932, -0.030584847554564476, -0.10453106462955475, -0.038293708115816116, -0.34380581974983215, 0.009676597081124783, 0.18683969974517822, -0.19605104625225067, -0.30006054043769836, 0.23367077112197876, -0.18031837046146393, -0.01287863403558731, -0.06841793656349182, -0.28885889053344727, 0.20686830580234528, 0.08395715057849884, -0.1499020904302597, -0.17502795159816742, -0.018984537571668625, -0.2475776970386505, -0.028165943920612335, 0.07494524866342545, 0.09563957899808884, 0.04953688755631447, -0.04970163851976395, -0.07568050175905228, 0.04193681851029396, 0.19336271286010742, 0.445200651884079, 0.0618874691426754, -0.021476909518241882, -0.0007332237437367439, 0.16844409704208374, 0.061328571289777756, 0.07223889231681824, -0.004813730716705322, 0.06105099618434906, -0.24241302907466888, -0.2386084347963333, -0.0877782478928566, 0.3499332666397095, -0.21842151880264282, -0.2989027500152588, 0.1716115027666092, 0.1394117772579193, 0.06351501494646072, -0.24742037057876587, 0.11780677735805511, 0.03928191959857941, 0.0651797503232956, 0.18580517172813416, -0.11980065703392029, -0.10436168313026428, 0.00687009934335947, -0.31569984555244446, 0.01835482195019722, -0.1873811036348343, -0.27828481793403625, -0.03866104036569595, -0.07892626523971558, 0.3385939300060272, 0.09147105365991592, 0.2550012767314911, -0.018736310303211212, -0.3036232888698578, 0.13035035133361816, 0.12439145892858505, 0.43022915720939636, 0.20247690379619598, -0.21227741241455078, 0.12852372229099274, -0.15801694989204407, 0.15279510617256165, 0.19794991612434387, -0.2930716872215271, -0.25878676772117615, -0.41220343112945557, 0.41818201541900635, 0.06748181581497192, -0.04884481430053711, 0.1876344084739685, 0.025935320183634758, 0.1609109491109848, -0.189625084400177, -0.04195309430360794, 0.08994293957948685, 0.013987619429826736, -0.02873496152460575, 0.0013449527323246002, 0.21179763972759247, -0.24785323441028595, -0.02759373188018799, -0.0984460636973381, -0.11096000671386719, -0.01679365336894989, 0.1787939816713333, -0.16797077655792236, -0.15860894322395325, -0.20409849286079407, -0.15327638387680054, 0.27192223072052, -0.4491422772407532, -0.22992266714572906, 0.19932538270950317, -0.1748589724302292, -0.30588164925575256, 0.04142935201525688, -0.07542475312948227, 0.2868655025959015, -0.05470506474375725, 0.26635146141052246, 0.00738790538161993, -0.4084266722202301, -0.03444138169288635, -0.2941596508026123, -0.14993268251419067, -0.2619485855102539, -0.12465597689151764, -0.00579114630818367, 0.08761963993310928, 0.3384823799133301, 0.08587778359651566, 0.2573421895503998, 0.13563358783721924, 0.10384105890989304, 0.17026089131832123, 0.16571545600891113, -0.00870554894208908, 0.0866885781288147, 0.08040962368249893, -0.3157108724117279, -0.08426357805728912, 0.21876826882362366, 0.2493833303451538, 0.11797025799751282, -0.1978951096534729, -0.4908953309059143, -0.08532123267650604, -0.14622293412685394, -0.3641582429409027, 0.35413968563079834, -0.04628567397594452, -0.39181971549987793, -0.272100031375885, -0.1467612385749817, 0.04775763303041458, -0.23297956585884094, 0.026182429865002632, -0.13551345467567444, 0.1512203812599182, -0.35507431626319885, -0.011465928517282009, 0.03752434253692627, 0.0673161968588829, 0.014094788581132889, 0.03133855760097504, -0.13028362393379211, 0.2970826029777527, -0.25732725858688354, 0.36602628231048584, 0.07255005091428757, 0.20275110006332397, 0.28368422389030457, -0.05190945416688919, 0.12666113674640656, -0.1859305500984192, 0.10914161056280136, 0.08062589913606644, -0.4110848009586334, 0.1743100881576538, -0.16970938444137573, -0.040954478085041046, 0.30205923318862915, 0.14971008896827698, 0.43286946415901184, -0.06898345798254013, -0.028134340420365334, -0.529019832611084, -0.2464471310377121, 0.21168234944343567, 0.18578258156776428, 0.05464427173137665, -0.12628449499607086, 0.20305490493774414, 0.2853018641471863, 0.17803585529327393, -0.08683735877275467, -0.12754279375076294, -0.2406955361366272, -0.16585704684257507, 0.06947509944438934, 0.3656456768512726, 0.32983872294425964, 0.3032754361629486, 0.2039756029844284, 0.34347298741340637, 0.284878671169281, -0.09511285275220871, 0.28556573390960693, 0.1498209685087204, 0.13980042934417725, 0.4547227621078491, 0.28889960050582886, 0.21080142259597778, -0.3143984377384186, 0.18937304615974426, 0.29335588216781616, 0.2547137439250946, -0.19601355493068695, -0.15027113258838654, -0.21454358100891113, -0.1787976622581482, -0.07560882717370987, 0.22657577693462372, -0.10185688734054565, -0.42342448234558105, -0.0022270791232585907, 0.27352333068847656, -0.2246943712234497, 0.22461307048797607, 0.03861985728144646, 0.15528099238872528, 0.11975544691085815, 0.4321643114089966, 0.09176923334598541, 0.009306239895522594, -0.08337993174791336, 0.3056758940219879, 0.15563355386257172, 0.04102553427219391, 0.2223760038614273, -0.2133643925189972, 0.11335091292858124, -0.5584946274757385, -0.5916752815246582, 0.24425359070301056, -0.08285076171159744, 0.05797436088323593, 0.34543731808662415, -0.08614324033260345, 0.07261474430561066, -0.21366432309150696, 0.014676926657557487, -0.19401995837688446, -0.5465245246887207, -0.2538157105445862, 0.08241146057844162, -0.1764988750219345, -0.2681867778301239, -0.34344911575317383, -0.09275050461292267, -0.41532832384109497, -0.1118524968624115, -0.10200044512748718, 0.08388447761535645, 0.08561232686042786, -0.13307444751262665, -0.06907345354557037, -0.004544843453913927, -0.3494901955127716, -0.3835486173629761, -0.294725239276886, -0.1233711838722229, -0.30445078015327454, -0.1982146054506302, 0.36770322918891907, 0.19864976406097412, 0.3320595622062683, 0.028999200090765953, -0.22136244177818298, -0.25766509771347046, 0.053231097757816315, 0.10154920816421509, 0.17109152674674988, 0.05772717297077179, 0.33881646394729614, 0.11188947409391403, -0.3754417598247528, -0.19937443733215332, -0.3591190576553345, -0.03059377521276474, 0.20947828888893127, 0.16195693612098694, -0.24021658301353455, 0.30878153443336487, 0.014043472707271576, 0.5117551684379578, 0.11852315068244934, -0.1344909816980362, -0.0056046247482299805, 0.07647986710071564, 0.38002270460128784, 0.01804787665605545, -0.2015620321035385, 0.172339528799057, -0.2836399972438812, -0.14263466000556946, 0.2776944637298584, -0.06096543371677399, 0.018603384494781494, -0.08065713942050934, -0.06237296760082245, -0.1062527596950531, -0.22354695200920105, -0.17636941373348236, -0.12997524440288544, 0.3228215277194977, 0.06285388767719269, -0.2060999870300293, -0.08502368628978729, 0.09789226949214935, -0.02638193406164646, 0.4153065085411072, -0.010447375476360321, -0.09022650867700577, -0.20656374096870422, 0.021482331678271294, -0.18132644891738892, 0.18405744433403015, -0.13154441118240356, 0.28256842494010925, -0.15335655212402344, -0.22126862406730652, -0.11464379727840424, -0.05540141090750694, 0.2983247637748718, -0.3340837359428406, -0.0895736813545227, 0.1095772385597229, -0.03275543451309204, 0.39482396841049194, -0.21866938471794128, -0.047044288367033005, 0.4702182412147522, 0.05743483453989029, 0.42312243580818176, 0.10880861431360245, -0.21635667979717255, 0.5402452945709229, -0.24044112861156464, -0.015811745077371597, 0.07615561783313751, -0.011388275772333145, -0.2936548590660095, -0.4426262378692627, 0.029862523078918457, 0.2212975025177002, -0.23690728843212128, -0.3123973608016968, -0.17037588357925415, 0.04805697128176689, 0.12164909392595291, -0.012268990278244019, 0.028746578842401505, 0.10395315289497375, 0.16613897681236267, 0.0708560198545456, -0.10028862953186035, 0.2299637347459793, 0.4453435242176056, 0.6420305967330933, 0.06704166531562805, -0.2910271883010864, 0.28927257657051086, -0.3556612730026245, 0.15822488069534302, 0.23315948247909546, 0.07271651178598404, 0.005114413797855377, 0.14512574672698975, 0.004395142197608948, 0.06612645089626312, -0.06896154582500458, -0.01793038286268711, 0.026232488453388214, -0.11071084439754486, 0.0593402236700058, 0.143673837184906, 0.1279183179140091, 0.00512319803237915, 0.057516708970069885, -0.10784712433815002, -0.19140374660491943, -0.009951548650860786, 0.24120408296585083, 0.6963609457015991, 0.34617799520492554, 0.10606169700622559, -0.0017367769032716751, -0.03778520226478577, 0.2738075852394104, -0.06271719932556152, 0.10048411041498184, -0.3354625403881073, -0.31177082657814026, -0.10266903787851334, 0.015643473714590073, 0.10099261999130249, -0.09907855093479156, -0.46557357907295227, -0.05291978269815445, -0.06037945672869682, 0.22028744220733643, 0.03006497398018837, 0.07497420907020569, -0.11482072621583939, 0.0032491516321897507, 0.029529359191656113, 0.22694572806358337, 0.06545604020357132, 0.022587843239307404, -0.20793911814689636, -0.24948810040950775, 0.11515916883945465, -0.07239562273025513, -0.27877330780029297, 0.01283123716711998, -0.04228104650974274, 0.13252797722816467, -0.16837051510810852, -0.313310444355011, 0.09732624888420105, -0.12819774448871613, 0.3794785141944885, 0.08045163005590439, -0.05549580603837967, 0.29462769627571106, 0.24948880076408386, 0.14749260246753693, -0.21713773906230927, -0.11660034209489822, 0.21233250200748444, -0.3134666681289673, -0.09023603796958923, -0.027467072010040283, -0.08685679733753204, -0.1590648740530014, -0.08523863554000854, 0.17194509506225586, 0.03333817794919014, -0.20270967483520508, 0.058361005038022995, 0.1719970405101776, -0.27125442028045654, -0.39641788601875305, 0.2376422882080078, -0.19062621891498566, -0.04411680996417999, 0.017560895532369614, 0.17054666578769684, -0.193269282579422, 0.12868301570415497, 0.19071993231773376, 0.22023025155067444, -0.22770069539546967, 0.3055669963359833, -0.01941440999507904, -0.12297465652227402, -0.33515262603759766, -0.14561641216278076, 0.05361980199813843, -0.15559017658233643, 0.16004906594753265, -0.2315126657485962, -0.19371297955513, 0.30350229144096375, 0.4896867871284485, 0.14909732341766357, 0.3837847113609314, -0.18228304386138916, -0.2937859296798706, -0.5123162269592285, 0.23782657086849213, -0.3391578197479248, 0.2157054990530014, 0.015323448926210403, 0.2377941608428955, 0.1794549971818924, 0.04567151516675949, -0.483825147151947, 0.07295598089694977, -0.2715808153152466, 0.1491735875606537, 0.18554261326789856, -0.23621034622192383, -0.20997147262096405, -0.239085391163826, 0.1611860990524292, -0.0001551322638988495, -0.28211966156959534, -0.29472675919532776, 0.18185679614543915, 0.08895424008369446, 0.09718525409698486, -0.06157178431749344, 0.09638124704360962, 0.1969269961118698, -0.20221006870269775, 0.20232373476028442, 0.3966090977191925, -0.01203177496790886, -0.004678934812545776, -0.16516155004501343, -0.2122914344072342, 0.08501721918582916, 0.09158004820346832, -0.043390803039073944, 0.36726394295692444, -0.027371205389499664, -0.18092219531536102, -0.0006719604134559631, -0.14159733057022095, -0.10940293967723846, 0.3010197579860687, 0.16790644824504852, -0.025088392198085785, 0.328923761844635, 0.1666819453239441, -0.1984318345785141, -0.21562202274799347, 0.23137560486793518, 0.12487348914146423, 0.19639837741851807, -0.14079549908638, -0.13000209629535675, 0.05796957015991211, 0.38502123951911926, -0.5578181743621826, -0.2205457240343094, 0.04479479789733887, -0.02637144923210144, 0.05990618094801903, -0.06463398784399033, 0.49520984292030334, -0.11497572064399719, -0.0439331978559494, 0.5137147307395935, 0.31365829706192017, -0.370771586894989, 0.32801222801208496, 0.3308650553226471, -0.06160804629325867, 0.1205233633518219, 0.18759414553642273, 0.06109684705734253, 0.10192709416151047, 0.27385038137435913, 0.16440507769584656, 0.3662737309932709, 0.5740199089050293, 0.14433375000953674, 0.23283299803733826, -0.2863518297672272, 0.5299203991889954, 0.043297745287418365, -0.03832489252090454, 0.0837121233344078, 0.3439750075340271, -0.38392525911331177, -0.04693692922592163, -0.2638061046600342, -0.2087562084197998, 0.09494808316230774, -0.3202863931655884, 0.08736392855644226, 0.03453589975833893, -0.30408933758735657, -0.16926759481430054, 0.034712400287389755, -0.09636913239955902, 0.18156278133392334, 0.46751028299331665, -0.3049176335334778, -0.04942519962787628, -0.22047556936740875, -0.1332281231880188, 0.2331036627292633, -0.06542976945638657, -0.22701288759708405, 0.22917400300502777, 0.23628979921340942, -0.17456850409507751, 0.15929025411605835, 0.49667152762413025, 0.5071200728416443, 0.2422179877758026, 0.1914496272802353, -0.03435560688376427, 0.09930603206157684, -0.1401839256286621, -0.12844428420066833, -0.16367720067501068, 0.08743517100811005, -0.09644840657711029, 0.04826265946030617, 0.26433807611465454, -0.16900832951068878, 0.2021443396806717, -0.13354650139808655, -0.25977781414985657, -0.2088775336742401, -0.06299839168787003, 0.1988774836063385, -0.07811934500932693, 0.09003867208957672, 0.2834450304508209, -0.17730554938316345, -0.34663814306259155, 0.5789862275123596, 0.000867330702021718, 0.1600589156150818, -0.07498128712177277, 0.20118358731269836, 0.07231125235557556, 0.40114039182662964, 0.37877386808395386, -0.11725249141454697, -0.0635618269443512, -0.2326616793870926, -0.5208122730255127, 0.21323272585868835, 0.2048567235469818, 0.1583605408668518, 0.12931644916534424, 0.22995181381702423, 0.2030799686908722, -0.0029000304639339447, 0.23076817393302917, -0.3687289357185364, 0.05416499078273773, -0.11578845977783203, -0.32169798016548157, 0.022133545950055122, 0.07028069347143173, -0.24084487557411194, 0.20425114035606384, -0.06918585300445557, 0.13772091269493103, 0.22132833302021027, 0.20254290103912354, -0.15172728896141052, -0.18260988593101501, 0.26235973834991455, 0.02370438724756241, 0.1305825263261795, 0.10406903922557831, 0.2533670663833618, -0.26284679770469666, -0.18920062482357025, -0.145597442984581, -0.14372894167900085, -0.3604748845100403, 0.3756776750087738, 0.1735522747039795, 0.045588888227939606, 0.007090702652931213, 0.15019109845161438, -0.04413716867566109, -0.19235146045684814, -0.046995051205158234, 0.07143070548772812, -0.31709563732147217, 0.18052157759666443, 0.06990652531385422, 0.08104342967271805, 0.06273244321346283, 0.20847362279891968, 0.06467626243829727, -0.1343953162431717, -0.3141430616378784, -0.5556961297988892, 0.3695886731147766, 0.19698911905288696, -0.2604292035102844, -0.3470129668712616, 0.11594761908054352, 0.029404811561107635, -0.0471981018781662, -0.5054367780685425, -0.007502563297748566, 0.2123534083366394, -0.11932422965765, -0.17275941371917725, 0.10164308547973633, -0.16766713559627533, -0.12465949356555939, -0.07617592811584473, 0.3490721583366394, 0.16440138220787048, -0.3063887655735016, -0.06162375211715698, -0.17933671176433563 ]
https://github.com/huggingface/datasets/pull/2414
Update README.md
Thank you for taking a look at the CI error - I was a bit confused with that. Thanks!
Provides description of data instances and dataset features
19
text: Update README.md Provides description of data instances and dataset features Thank you for taking a look at the CI error - I was a bit confused with that. Thanks!
[ -0.39742928743362427, 0.12527409195899963, -0.20844043791294098, -0.02862587571144104, 0.18413138389587402, -0.00006632506847381592, 0.2608792781829834, 0.001162225380539894, -0.15597057342529297, 0.17841312289237976, 0.1633746176958084, 0.04025682434439659, 0.007168757729232311, 0.6520501971244812, -0.08644004166126251, 0.007933337241411209, 0.17009282112121582, 0.014678306877613068, -0.14140279591083527, -0.11018091440200806, 0.0004118606448173523, 0.06263892352581024, -0.23858962953090668, -0.09107418358325958, -0.1085486188530922, -0.26322367787361145, -0.06605979055166245, 0.21442869305610657, -0.3329257667064667, -0.32589009404182434, 0.19119462370872498, 0.12495695054531097, -0.07349543273448944, 0.2681533694267273, -0.00010078542254632339, -0.006586693227291107, 0.5136286020278931, -0.047790125012397766, -0.4231427013874054, 0.05699648708105087, -0.22900012135505676, -0.11621177196502686, 0.11137191951274872, -0.19367536902427673, 0.16798731684684753, 0.013223417103290558, -0.07032676041126251, -0.06350730359554291, 0.1749373972415924, 0.19080844521522522, 0.357331246137619, 0.41524046659469604, 0.06822526454925537, -0.3109632730484009, 0.1498163938522339, 0.19467651844024658, -0.05233731120824814, 0.13057543337345123, 0.3601732850074768, 0.2696712911128998, -0.052659936249256134, 0.5300633907318115, -0.16969896852970123, 0.1169712096452713, 0.20777559280395508, -0.09158188849687576, 0.2831414043903351, -0.046855367720127106, 0.3270702064037323, -0.20587757229804993, 0.9545478820800781, 0.09409746527671814, -0.30308735370635986, 0.2758694291114807, -0.08878441154956818, -0.10806184262037277, 0.0025318190455436707, -0.05899863690137863, -0.024886343628168106, -0.008226025849580765, -0.47551417350769043, 0.02490640990436077, 0.05027351528406143, -0.20311982929706573, -0.20490825176239014, 0.1878097504377365, -0.3450998067855835, 0.09325709193944931, -0.20459319651126862, -0.13513636589050293, 0.12141062319278717, 0.271390438079834, -0.12366119027137756, 0.014815503731369972, 0.08169066160917282, -0.3644990921020508, 0.04459977149963379, 0.2249768078327179, 0.054284751415252686, 0.1522446721792221, 0.015233160927891731, -0.1544489860534668, -0.04767109826207161, 0.18607807159423828, 0.2919911742210388, -0.03722240403294563, 0.0459192618727684, -0.13489587604999542, 0.16600297391414642, -0.033390555530786514, 0.029318075627088547, -0.1139289066195488, -0.05596070736646652, -0.06858961284160614, -0.19793127477169037, -0.053248316049575806, 0.2308613508939743, -0.2577377259731293, -0.31781598925590515, 0.0614912286400795, 0.15122419595718384, -0.13444331288337708, -0.0981951653957367, 0.2626793384552002, -0.024673543870449066, -0.23587480187416077, 0.07465773075819016, -0.11257348954677582, -0.13226132094860077, -0.24361813068389893, -0.3172425627708435, 0.16433238983154297, -0.18360085785388947, -0.20598329603672028, -0.053446464240550995, -0.003627955913543701, 0.37612029910087585, -0.1159803718328476, 0.2689542770385742, 0.0396343469619751, -0.05106864869594574, 0.1211048811674118, -0.035030804574489594, 0.5280488133430481, 0.0723685771226883, 0.010576048865914345, 0.22557303309440613, -0.23398719727993011, 0.11032862216234207, 0.11921070516109467, -0.43204060196876526, -0.20126602053642273, -0.38161125779151917, 0.3470299541950226, 0.1185021698474884, -0.19268852472305298, 0.16988785564899445, -0.09187139570713043, 0.09807558357715607, -0.18744076788425446, -0.03031086176633835, 0.20084981620311737, 0.17220138013362885, -0.10251513123512268, 0.003717184066772461, 0.2758778929710388, -0.1562991887331009, 0.10297933220863342, -0.17214956879615784, -0.002048928290605545, 0.05420767143368721, 0.003404596820473671, -0.11709630489349365, -0.06654158979654312, -0.04652080312371254, -0.14728614687919617, 0.5093756318092346, -0.4927384555339813, -0.1458158642053604, 0.2586877942085266, -0.09154193103313446, -0.619889497756958, 0.16923022270202637, -0.09399249404668808, 0.26477548480033875, -0.060933735221624374, 0.05213439464569092, -0.1617598831653595, -0.30433958768844604, -0.04823651164770126, -0.2513849139213562, -0.06092371791601181, -0.2830621600151062, -0.0722755491733551, -0.07015451788902283, 0.1787300854921341, 0.4914134442806244, 0.03935032710433006, 0.25496891140937805, 0.07729514688253403, 0.002327568596228957, 0.05757881700992584, 0.2554665207862854, -0.05311845242977142, 0.015368638560175896, 0.18944492936134338, -0.27317187190055847, -0.060715727508068085, 0.26841163635253906, 0.22718344628810883, 0.25517141819000244, -0.16319766640663147, -0.4803229868412018, 0.015755461528897285, -0.029627565294504166, -0.4143110513687134, 0.3522065579891205, 0.06713292002677917, -0.23885677754878998, -0.17689694464206696, -0.1374678611755371, -0.08469787240028381, -0.23844961822032928, -0.04900571331381798, -0.10268206894397736, 0.03326787054538727, -0.33046501874923706, 0.06430371850728989, 0.12672846019268036, -0.12148285657167435, 0.08621294051408768, -0.0603240542113781, -0.15682640671730042, 0.38969966769218445, -0.12552551925182343, 0.31881487369537354, 0.18073290586471558, 0.4087158441543579, 0.08823243528604507, 0.021904971450567245, 0.3661153018474579, -0.2645643353462219, 0.1337771862745285, 0.0915059968829155, -0.3747577369213104, 0.09057189524173737, -0.20123113691806793, -0.14451652765274048, 0.048291996121406555, 0.18528302013874054, 0.4942610561847687, -0.09855008125305176, -0.19294299185276031, -0.49954378604888916, -0.3819026052951813, 0.2556169033050537, 0.043828245252370834, -0.1869404911994934, -0.09212739765644073, 0.033081427216529846, 0.13134099543094635, 0.21337807178497314, -0.05962226539850235, -0.19253838062286377, -0.13167721033096313, -0.07014380395412445, 0.22581090033054352, 0.34625545144081116, 0.3010105490684509, 0.1950480341911316, 0.173441082239151, 0.2320982664823532, 0.3125133216381073, -0.04818088933825493, 0.150788351893425, -0.041397981345653534, 0.1367892622947693, 0.20668697357177734, 0.05822392553091049, 0.23213458061218262, -0.17590224742889404, 0.07691648602485657, 0.20526349544525146, 0.37017297744750977, -0.19064174592494965, -0.0389842614531517, -0.096828393638134, -0.1522347629070282, 0.06500957161188126, 0.07550747692584991, 0.06253302842378616, -0.36916789412498474, -0.10067269206047058, 0.23971399664878845, -0.17848773300647736, 0.29318952560424805, -0.14536260068416595, 0.29769009351730347, 0.17489302158355713, 0.4597316384315491, 0.06558062881231308, 0.0009588731918483973, -0.09327518194913864, 0.248731791973114, 0.0623646154999733, 0.16335098445415497, 0.39323851466178894, -0.3675418496131897, 0.3665054440498352, -0.5569895505905151, -0.5092760324478149, 0.19181044399738312, -0.07810390740633011, 0.1557314097881317, 0.4183390438556671, 0.08284781128168106, -0.1949176788330078, -0.12003199011087418, 0.10173369944095612, -0.3136017918586731, -0.40466445684432983, -0.27782872319221497, 0.024102574214339256, -0.3097045421600342, -0.20065464079380035, -0.2727709114551544, -0.06633903086185455, -0.28907960653305054, -0.18571792542934418, -0.002527005970478058, 0.081092469394207, 0.2491290271282196, -0.019741030409932137, 0.07131421566009521, 0.059243544936180115, -0.16303876042366028, -0.432900607585907, -0.4947287142276764, 0.0989798828959465, -0.2677927613258362, -0.22105096280574799, 0.40483754873275757, 0.021238457411527634, 0.3970482647418976, 0.09555770456790924, -0.3284357190132141, -0.24219320714473724, 0.1553119271993637, -0.039662428200244904, 0.2352340668439865, 0.15093915164470673, 0.4315093755722046, -0.06138620898127556, -0.33734843134880066, -0.30317795276641846, -0.43885713815689087, -0.10181751102209091, 0.24158301949501038, 0.20433354377746582, -0.20347437262535095, 0.31992948055267334, -0.09890419989824295, 0.35584545135498047, 0.006273204460740089, -0.1623324602842331, 0.08163085579872131, -0.0009349510073661804, 0.3323012590408325, 0.10510977357625961, -0.26608696579933167, 0.30048292875289917, -0.1659059226512909, -0.26421067118644714, 0.37053078413009644, -0.11809074133634567, -0.21594372391700745, -0.14807190001010895, -0.06575425714254379, -0.2180749773979187, -0.068565234541893, -0.10997101664543152, -0.20126943290233612, 0.37839022278785706, 0.07186052203178406, -0.10215570032596588, -0.08426344394683838, 0.18587538599967957, -0.06397677958011627, 0.36143434047698975, -0.00794374942779541, -0.10445943474769592, -0.17610344290733337, 0.011481910943984985, -0.053210146725177765, 0.17775437235832214, -0.1829552799463272, 0.2256794422864914, -0.0909394919872284, -0.04418204724788666, 0.03500845655798912, -0.06998766213655472, 0.09901058673858643, -0.3975229263305664, -0.1820879727602005, 0.1082015186548233, -0.008087672293186188, 0.139753058552742, -0.14747053384780884, -0.27723413705825806, 0.6351315379142761, -0.10044074058532715, 0.40791624784469604, 0.20414698123931885, -0.15893591940402985, 0.5948101282119751, -0.24216975271701813, -0.20128211379051208, 0.16132891178131104, -0.005345221608877182, -0.38854479789733887, -0.3201356530189514, 0.06481003761291504, 0.19799566268920898, -0.28380292654037476, -0.11341696977615356, -0.007591821253299713, 0.25653567910194397, 0.2574135363101959, -0.09213386476039886, 0.12452752888202667, 0.07932110875844955, 0.25476306676864624, -0.08337010443210602, 0.0323256179690361, 0.15951254963874817, 0.32796570658683777, 0.5114054083824158, -0.08882783353328705, 0.05240090936422348, 0.2000519037246704, -0.33425548672676086, 0.14990335702896118, 0.21959903836250305, 0.09384100139141083, -0.16425132751464844, 0.1902596354484558, -0.011895842850208282, 0.04991369694471359, -0.06989852339029312, 0.05452316999435425, -0.07240930944681168, -0.034742552787065506, -0.15828247368335724, 0.19605226814746857, -0.056634679436683655, -0.13967393338680267, 0.10182960331439972, 0.17391493916511536, -0.048326000571250916, 0.016836702823638916, 0.5303381085395813, 0.7334907650947571, 0.4777644872665405, -0.007062774151563644, -0.08215072751045227, -0.008493814617395401, 0.2463672161102295, -0.037875525653362274, 0.007067672908306122, -0.4700072407722473, -0.35800284147262573, -0.13177837431430817, -0.03310953080654144, 0.16849130392074585, 0.06556546688079834, -0.5607404708862305, -0.1575598418712616, -0.027188878506422043, 0.14243274927139282, 0.017555663362145424, -0.03647571802139282, -0.05179349333047867, 0.10798242688179016, 0.25074005126953125, 0.25206857919692993, 0.07700538635253906, 0.05313745141029358, -0.20418530702590942, -0.11046621203422546, 0.0545177198946476, -0.26424121856689453, -0.3741433024406433, -0.271633505821228, -0.15602101385593414, 0.053332891315221786, -0.056808266788721085, -0.19028717279434204, 0.09105734527111053, -0.06066489592194557, 0.43846583366394043, 0.1619293987751007, -0.16423773765563965, 0.10433425009250641, 0.24200552701950073, 0.12287919223308563, -0.2078372836112976, -0.036594219505786896, 0.1865755170583725, -0.37041226029396057, -0.09753129631280899, -0.04504556208848953, -0.22290033102035522, -0.19902320206165314, -0.011250421404838562, 0.12876026332378387, 0.06306365877389908, -0.27532610297203064, 0.1803181916475296, 0.16520975530147552, -0.1814369410276413, -0.20763073861598969, 0.22540085017681122, -0.0455545037984848, 0.11038849502801895, 0.1251094937324524, 0.3468609154224396, -0.09781235456466675, 0.13457123935222626, 0.18804720044136047, 0.16892853379249573, -0.16219797730445862, 0.23451539874076843, -0.20314909517765045, -0.24203012883663177, -0.42631304264068604, -0.05981146916747093, -0.012001818977296352, -0.08993177860975266, 0.06591174751520157, -0.16984961926937103, -0.06746835261583328, 0.1793498694896698, 0.6748899221420288, 0.2265581339597702, 0.47270628809928894, -0.20693576335906982, -0.456498384475708, -0.5340100526809692, 0.28566741943359375, -0.3377690613269806, 0.06872273236513138, -0.12547490000724792, 0.03084941953420639, 0.42131873965263367, -0.026829564943909645, -0.4969400465488434, 0.01301733311265707, -0.15099282562732697, 0.1608615219593048, 0.3637204170227051, -0.07819186896085739, -0.09734316170215607, -0.075694739818573, 0.15242934226989746, -0.0960247665643692, -0.3352504074573517, -0.254326194524765, 0.13386382162570953, 0.10903316736221313, 0.15759989619255066, -0.06719040125608444, 0.26845934987068176, 0.22931720316410065, -0.27640029788017273, 0.1300860047340393, 0.20614729821681976, 0.09803224354982376, -0.04907242953777313, -0.03172675892710686, -0.08089219033718109, 0.1580388844013214, -0.13102859258651733, -0.09288255870342255, 0.34646761417388916, 0.012500017881393433, -0.22136105597019196, 0.01093953475356102, 0.05753506347537041, -0.21883311867713928, 0.443060040473938, 0.2196548581123352, -0.10791821777820587, 0.34771376848220825, 0.14379604160785675, -0.1795416623353958, 0.10580936074256897, 0.2280590832233429, -0.04251644015312195, 0.19151200354099274, -0.21122537553310394, -0.01067526638507843, 0.12042012810707092, 0.38458096981048584, -0.36315664649009705, -0.09110350906848907, -0.0011696815490722656, -0.1142648383975029, -0.0062277838587760925, 0.0007184520363807678, 0.42772576212882996, -0.2147493064403534, 0.15096063911914825, 0.37494564056396484, 0.31492361426353455, -0.34721577167510986, 0.20366474986076355, 0.21940355002880096, -0.32429367303848267, 0.09150665998458862, 0.2933083772659302, 0.005375465378165245, -0.09299009293317795, 0.13394266366958618, 0.14889833331108093, 0.32079562544822693, 0.5683948993682861, 0.07350318878889084, 0.04561199992895126, -0.2532811164855957, 0.5405629277229309, -0.03766830265522003, -0.02538183331489563, 0.10582368075847626, 0.22228331863880157, -0.32646483182907104, -0.0117725795134902, -0.053315386176109314, -0.41515713930130005, -0.08066163957118988, -0.27981293201446533, 0.058711837977170944, -0.16220249235630035, -0.28382810950279236, -0.22757011651992798, -0.04565400257706642, -0.15000826120376587, 0.2342219352722168, 0.46418508887290955, -0.35652971267700195, -0.12967386841773987, -0.1692693829536438, -0.07967541366815567, 0.1115238294005394, -0.07943541556596756, -0.2410910427570343, 0.29091787338256836, 0.2670944631099701, -0.012079477310180664, 0.15764012932777405, 0.4555889070034027, 0.4856896996498108, 0.23337627947330475, 0.29978132247924805, -0.10648183524608612, 0.007273218594491482, -0.18255460262298584, -0.022947920486330986, -0.006812639534473419, 0.07322713732719421, -0.0665740966796875, 0.03439377620816231, 0.23093163967132568, -0.1476917266845703, 0.40289321541786194, -0.09622511267662048, -0.20612554252147675, -0.12549331784248352, -0.26047834753990173, 0.20139643549919128, -0.11180058121681213, 0.016056157648563385, 0.2988356351852417, -0.299082487821579, -0.21260245144367218, 0.32044699788093567, -0.20063526928424835, 0.07540620118379593, -0.07455110549926758, 0.17230048775672913, 0.020426083356142044, 0.5912754535675049, 0.3555108904838562, -0.007749877870082855, 0.10259614884853363, -0.4020223021507263, -0.49847903847694397, 0.22501249611377716, 0.2084144800901413, 0.13539603352546692, -0.01881267875432968, 0.21053668856620789, 0.2813076376914978, 0.1516077220439911, 0.34833186864852905, -0.5373750925064087, -0.12411757558584213, -0.09075790643692017, -0.2447829395532608, -0.11764064431190491, -0.030384846031665802, -0.06108684837818146, 0.05797732621431351, 0.03096291422843933, 0.13260310888290405, 0.1695139855146408, 0.20740637183189392, -0.1721770465373993, -0.1727236807346344, 0.24912872910499573, -0.0319163054227829, 0.2877623736858368, 0.057197026908397675, 0.3715532422065735, -0.24356776475906372, -0.1548694372177124, -0.20828098058700562, 0.09525414556264877, -0.22883205115795135, 0.31280073523521423, 0.30609503388404846, 0.12488928437232971, 0.044605739414691925, 0.2178448736667633, -0.03928530961275101, -0.06789059937000275, -0.059005312621593475, -0.11498931795358658, -0.3150755763053894, 0.16380469501018524, 0.08097303658723831, -0.1086893081665039, 0.007154007442295551, -0.009938158094882965, 0.08901160955429077, -0.1092604398727417, -0.2663443684577942, -0.43135660886764526, 0.5186306238174438, 0.125538632273674, -0.12351261079311371, -0.2647287845611572, 0.07961297035217285, -0.06447192281484604, 0.06594660878181458, -0.44114506244659424, 0.1448439657688141, 0.2345018982887268, -0.0673857107758522, -0.15774770081043243, 0.21258914470672607, -0.036523327231407166, -0.18350255489349365, -0.03531758114695549, 0.5127885937690735, 0.028084319084882736, -0.15596307814121246, -0.22805383801460266, -0.14514967799186707 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
I thought the renaming was suggested only for the env var, and not for the config variable... As you think is better! ;)
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
23
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ I thought the renaming was suggested only for the env var, and not for the config variable... As you think is better! ;)
[ -0.11647586524486542, -0.4389858841896057, -0.11466722190380096, 0.08393436670303345, 0.3679400682449341, 0.1213725283741951, -0.010078582912683487, 0.2331818789243698, 0.196817085146904, 0.27680426836013794, 0.022126415744423866, -0.023536760360002518, 0.08256423473358154, 0.3865894079208374, 0.04294925555586815, -0.026563845574855804, 0.1727786660194397, 0.02461213618516922, -0.11125130951404572, -0.027550870552659035, -0.44169068336486816, 0.09095793962478638, 0.03379158675670624, -0.16283439099788666, -0.23169077932834625, 0.21146954596042633, 0.02770516835153103, 0.4029231071472168, -0.2394336313009262, -0.23688000440597534, 0.014599943533539772, 0.2492566704750061, -0.15379081666469574, 0.20706698298454285, -0.00010536300396779552, -0.07451024651527405, 0.24816900491714478, -0.09306442737579346, -0.15015855431556702, 0.12633347511291504, -0.2552390992641449, -0.34058085083961487, -0.2301502674818039, -0.24786007404327393, 0.0037641525268554688, -0.024424105882644653, 0.10989776998758316, -0.33492082357406616, -0.09019674360752106, 0.1458713561296463, 0.2841169834136963, -0.05115097761154175, 0.14296993613243103, -0.31873902678489685, 0.002741500735282898, 0.12300560623407364, -0.11131812632083893, 0.16481178998947144, -0.1501709371805191, 0.06103120744228363, 0.001614898443222046, 0.33890941739082336, 0.2619524598121643, 0.1582363098859787, 0.5499435067176819, 0.018317321315407753, -0.1777208149433136, 0.05677954852581024, 0.23535388708114624, 0.09927584230899811, 0.45500102639198303, -0.26833420991897583, -0.12272251397371292, -0.00026363879442214966, -0.03722899779677391, -0.3524067997932434, 0.29193755984306335, 0.042774684727191925, -0.08283613622188568, -0.01985931023955345, -0.1766156703233719, -0.4299658536911011, -0.13402850925922394, -0.014469601213932037, -0.13596084713935852, 0.29371362924575806, -0.1011238619685173, 0.033471159636974335, 0.2947593629360199, -0.18664953112602234, -0.2693108320236206, 0.14089666306972504, -0.1613341122865677, -0.1712682545185089, -0.18119093775749207, 0.011820182204246521, -0.05660567432641983, -0.06179092079401016, 0.3284868597984314, -0.20807303488254547, -0.2002582550048828, 0.15730831027030945, 0.3671344518661499, 0.024521462619304657, -0.1555781066417694, 0.202999085187912, 0.25169646739959717, 0.12741439044475555, 0.13387301564216614, 0.1766911745071411, 0.024102013558149338, -0.15843155980110168, 0.1921929121017456, -0.33654361963272095, -0.14756812155246735, -0.11625292152166367, 0.15701879560947418, -0.2539343535900116, 0.11072952300310135, 0.34499797224998474, 0.12139039486646652, -0.21219201385974884, 0.00910121388733387, 0.4866226613521576, -0.02519707754254341, -0.16120365262031555, 0.14193899929523468, -0.12419649958610535, -0.08956433832645416, 0.06386427581310272, -0.3028581440448761, -0.10595878958702087, -0.30570733547210693, 0.2535298466682434, 0.026446107774972916, 0.07304009050130844, 0.3039608299732208, -0.06086074560880661, 0.4587233066558838, -0.003375660628080368, -0.16620378196239471, 0.09011414647102356, 0.1904771476984024, 0.2794385850429535, -0.24332650005817413, 0.04959600418806076, 0.16524425148963928, -0.01500122994184494, -0.10374116152524948, 0.03915642946958542, -0.18864119052886963, -0.3389032483100891, -0.31895139813423157, 0.2608661651611328, 0.03583073243498802, -0.07393501698970795, 0.038820020854473114, 0.3749901354312897, 0.14743539690971375, 0.03131408616900444, 0.18437130749225616, 0.13391754031181335, -0.25461605191230774, -0.16478273272514343, 0.25073549151420593, 0.2423032820224762, -0.2876247763633728, -0.14574205875396729, 0.23548567295074463, -0.057281073182821274, 0.10430143773555756, 0.15682032704353333, -0.06579501181840897, -0.2587866485118866, -0.05006759613752365, 0.1261650025844574, -0.062424175441265106, -0.35440346598625183, -0.26443636417388916, 0.28556326031684875, -0.16850973665714264, -0.08612873405218124, 0.1756291687488556, -0.20941971242427826, -0.015940595418214798, 0.029739974066615105, 0.16150638461112976, 0.02229537069797516, 0.15317349135875702, -0.012642526999115944, -0.41018545627593994, -0.21503807604312897, -0.1067851334810257, 0.02363395318388939, -0.025173742324113846, 0.15528368949890137, -0.06809528917074203, -0.07374536246061325, 0.27635952830314636, -0.1527818888425827, 0.2280084788799286, 0.3812282085418701, 0.2950640022754669, 0.2681204676628113, 0.04427224397659302, 0.006245482712984085, -0.3418155610561371, 0.049210429191589355, 0.012206468731164932, 0.10901427268981934, 0.04469729959964752, -0.33057671785354614, -0.13539119064807892, -0.1360798329114914, 0.011336639523506165, -0.22507962584495544, 0.16541357338428497, 0.2169197052717209, -0.15163643658161163, -0.1557396948337555, -0.1267922818660736, 0.2562136650085449, -0.27465566992759705, 0.24959567189216614, -0.14517098665237427, -0.05010514706373215, -0.19624415040016174, 0.1731504648923874, -0.16891390085220337, 0.08596066385507584, 0.01215769350528717, 0.0062583256512880325, -0.13678830862045288, 0.508012592792511, -0.10921768844127655, -0.22428341209888458, 0.18881207704544067, -0.046217724680900574, -0.007659211754798889, -0.115750253200531, 0.3542715907096863, -0.28226056694984436, -0.08231823146343231, 0.07670866698026657, -0.2658252716064453, 0.01972893625497818, 0.0357842743396759, 0.050620876252651215, -0.08584102988243103, -0.35210174322128296, -0.03588826209306717, -0.13394542038440704, -0.021180225536227226, -0.3483046293258667, 0.1001465916633606, 0.0023175086826086044, 0.18832622468471527, -0.00016685202717781067, -0.4654169976711273, 0.05760244280099869, 0.4846533238887787, -0.09111441671848297, -0.27924782037734985, 0.34204182028770447, 0.06483139097690582, -0.12631860375404358, 0.04116315394639969, 0.025193404406309128, 0.41323333978652954, 0.42695707082748413, 0.028240922838449478, 0.23216654360294342, -0.007499909959733486, -0.049471039324998856, 0.42592522501945496, 0.0806400328874588, 0.0005148366908542812, 0.18280133605003357, -0.008846091106534004, -0.32090985774993896, -0.3853969871997833, -0.13210056722164154, 0.1447502076625824, 0.18657733500003815, -0.32777729630470276, -0.025678008794784546, -0.2276756316423416, -0.2396739423274994, -0.012345177121460438, -0.23954792320728302, -0.405264288187027, -0.3249678611755371, 0.02081153355538845, -0.05355739966034889, -0.08427932858467102, 0.2730984389781952, 0.08473850786685944, 0.17467781901359558, -0.031220480799674988, -0.1745889037847519, -0.23275317251682281, 0.2270302176475525, -0.08693090826272964, 0.09799724817276001, -0.10615881532430649, -0.1381562501192093, 0.27312788367271423, -0.0016185473650693893, 0.08992757648229599, -0.2754339575767517, -0.4621385633945465, 0.02866244874894619, -0.2508535385131836, 0.38842761516571045, 0.364239901304245, 0.16748151183128357, -0.18917983770370483, -0.16861018538475037, 0.38080063462257385, 0.19493736326694489, -0.022955331951379776, -0.2930488586425781, -0.009235856123268604, -0.12181471288204193, -0.12203896045684814, -0.24992260336875916, -0.1084020659327507, -0.5101427435874939, 0.2958541512489319, -0.07488769292831421, 0.1990029662847519, 0.5607417225837708, 0.15869192779064178, 0.02629493549466133, -0.15839800238609314, 0.08388573676347733, -0.5605514645576477, -0.4910684823989868, 0.15951697528362274, -0.272536039352417, -0.10152040421962738, -0.036147285252809525, 0.20457904040813446, 0.17035605013370514, -0.02562004327774048, -0.3778090476989746, -0.17928408086299896, -0.1959371119737625, 0.19380182027816772, -0.22037279605865479, 0.27727431058883667, 0.036357417702674866, -0.08442312479019165, -0.2508001923561096, -0.1219966858625412, -0.38649675250053406, 0.17914709448814392, -0.14652052521705627, 0.32674673199653625, 0.015959832817316055, 0.3228640556335449, 0.02880306914448738, 0.48469531536102295, 0.06329917907714844, 0.18206720054149628, 0.3306449055671692, -0.1920805126428604, 0.4684520661830902, -0.225534588098526, -0.33011165261268616, 0.4197637736797333, 0.16541168093681335, -0.013897445984184742, 0.32746970653533936, -0.044507432729005814, 0.25071701407432556, 0.20126938819885254, -0.03402411937713623, 0.06870299577713013, -0.19726885855197906, 0.1663496494293213, 0.28261280059814453, 0.07758749276399612, 0.07179543375968933, 0.056361325085163116, -0.2203541100025177, 0.1417742669582367, 0.13132789731025696, 0.4808574914932251, -0.33962729573249817, 0.029817799106240273, -0.3246327340602875, -0.08571438491344452, -0.4498540163040161, 0.39851582050323486, -0.11887700855731964, 0.23852097988128662, -0.21994583308696747, -0.2589520215988159, 0.045192744582891464, 0.0538981556892395, 0.7434538006782532, -0.13873426616191864, -0.39958274364471436, 0.006638515740633011, -0.02915763482451439, 0.01862047053873539, -0.017591942101716995, 0.09956037998199463, 0.15831655263900757, 0.08126111328601837, 0.3636245131492615, -0.48606160283088684, -0.2896546423435211, 0.445645272731781, -0.057114362716674805, -0.13352954387664795, -0.24261566996574402, -0.43306103348731995, -0.19448277354240417, -0.3480808734893799, 0.10227607190608978, -0.03627702221274376, 0.2377002090215683, 0.28074297308921814, 0.06071839854121208, 0.14396153390407562, 0.023118428885936737, 0.21978649497032166, 0.11876863241195679, 0.2566279172897339, 0.165022611618042, 0.09467966854572296, 0.05690225213766098, 0.2142820656299591, 0.3621028959751129, 0.33741068840026855, -0.32086849212646484, -0.1146821528673172, 0.015000538900494576, 0.010979422368109226, 0.5136077404022217, 0.3303462266921997, 0.10182888805866241, 0.19976943731307983, 0.34996750950813293, 0.5933938026428223, -0.2154318243265152, 0.17205677926540375, 0.1642661988735199, 0.1347956657409668, -0.5510450601577759, -0.3820801377296448, 0.5643311142921448, 0.04533987119793892, 0.05272136628627777, 0.5501450300216675, 0.4960784912109375, -0.4050951600074768, 0.03563476726412773, 0.08579115569591522, 0.9111440181732178, -0.03458213806152344, 0.17584452033042908, -0.004588909447193146, -0.2628117799758911, 0.21848423779010773, -0.17191055417060852, -0.01172611303627491, -0.35027816891670227, -0.3357335925102234, 0.07731426507234573, -0.00024392083287239075, 0.25603392720222473, -0.15418539941310883, -0.2967487871646881, 0.15945105254650116, 0.012785665690898895, 0.1283177137374878, -0.20344841480255127, 0.1829804629087448, -0.27269822359085083, -0.46347370743751526, 0.024823574349284172, 0.2561935484409332, -0.14728309214115143, 0.008487408980727196, -0.10141310840845108, -0.008870797231793404, -0.10237537324428558, -0.23405946791172028, -0.12177156656980515, -0.2407815158367157, -0.3697127103805542, -0.1869017332792282, 0.07534581422805786, -0.09581059217453003, 0.0831829309463501, -0.3203601539134979, 0.0998845174908638, 0.4548617899417877, -0.2169657200574875, 0.15121814608573914, -0.006582170724868774, 0.2152763456106186, -0.11709482222795486, -0.13850249350070953, 0.2088327556848526, -0.039422471076250076, -0.2598331570625305, -0.28845643997192383, 0.01376605685800314, -0.1051800549030304, -0.17769896984100342, -0.14704576134681702, 0.06780717521905899, -0.45817840099334717, -0.11710047721862793, 0.056576214730739594, 0.0967191606760025, -0.26251447200775146, 0.20633286237716675, -0.09798972308635712, -0.1294696182012558, 0.08951998502016068, 0.19977810978889465, -0.34192296862602234, -0.22989298403263092, 0.3106697201728821, -0.22089546918869019, 0.08034974336624146, 0.2936684191226959, 0.037302415817976, -0.21472787857055664, -0.2732035219669342, -0.05913887545466423, 0.12274160236120224, -0.1186942458152771, 0.016053881496191025, 0.24173343181610107, -0.3299218416213989, -0.10384301096200943, 0.17510244250297546, 0.2813138961791992, 0.03340044617652893, 0.1054820716381073, -0.09396978467702866, -0.6375812292098999, 0.2127223163843155, -0.40419864654541016, 0.41277897357940674, -0.17919713258743286, 0.18916663527488708, -0.0501570925116539, -0.02591771073639393, -0.4461228847503662, -0.03920096158981323, -0.029090426862239838, -0.06672574579715729, 0.14451861381530762, -0.05980638414621353, 0.36571913957595825, -0.10680313408374786, 0.2388710379600525, 0.12093676626682281, -0.31190696358680725, -0.2883373498916626, -0.31720319390296936, 0.10795164108276367, -0.00011554360389709473, -0.05349045246839523, 0.06453049927949905, -0.08626080304384232, -0.22624292969703674, -0.11387898027896881, 0.23998376727104187, 0.3184076249599457, 0.04469713941216469, 0.36630746722221375, 0.025997716933488846, -0.24833768606185913, 0.2619364261627197, -0.11489015817642212, 0.44281381368637085, 0.4327542781829834, -0.09706911444664001, 0.10430765151977539, -0.42437177896499634, -0.037360019981861115, -0.14192798733711243, 0.3377174139022827, 0.1044289618730545, 0.09134505689144135, -0.06905142217874527, -0.022457130253314972, -0.18998616933822632, 0.1968909353017807, 0.47546765208244324, 0.30709534883499146, -0.109235979616642, -0.1807737648487091, 0.17309123277664185, 0.3209806978702545, -0.07681822776794434, -0.04395690932869911, 0.11283721029758453, -0.2302880883216858, 0.07044051587581635, 0.18180394172668457, 0.23840275406837463, 0.014769673347473145, 0.020564004778862, 0.13306468725204468, 0.2263893485069275, -0.13860589265823364, 0.06578639149665833, 0.18969017267227173, -0.16200226545333862, 0.16266554594039917, 0.6606184244155884, 0.4181726574897766, 0.2942444086074829, 0.6860026121139526, 0.15847374498844147, 0.11168720573186874, 0.22738435864448547, 0.27399420738220215, -0.20059293508529663, -0.3417772650718689, 0.20626482367515564, 0.19853679835796356, -0.1591183841228485, 0.15765982866287231, 0.028737422078847885, 0.41783958673477173, -0.15060018002986908, -0.29811108112335205, -0.04394054785370827, 0.1645660251379013, -0.36363503336906433, -0.31055548787117004, 0.0855957418680191, 0.05336996167898178, -0.05422808974981308, 0.10572470724582672, 0.04160789027810097, -0.3686977028846741, 0.5071492195129395, -0.15247133374214172, 0.026263602077960968, -0.21350575983524323, 0.14839299023151398, 0.15406250953674316, 0.05573750287294388, -0.3065023720264435, 0.2414488047361374, 0.23387624323368073, -0.14027094841003418, 0.3702327609062195, 0.21962870657444, 0.41944217681884766, 0.08454564213752747, 0.2025478482246399, -0.008349998854100704, -0.012262875214219093, 0.021343229338526726, -0.1283414661884308, 0.13876862823963165, 0.23518916964530945, 0.03332454338669777, 0.2679603099822998, 0.22724248468875885, -0.28922441601753235, -0.08538344502449036, 0.05988243967294693, 0.010595683008432388, -0.11172595620155334, 0.09731712937355042, 0.11049623787403107, -0.04744702950119972, -0.0800500139594078, 0.02121778577566147, -0.6086244583129883, 0.09505720436573029, 0.4147494435310364, 0.2072826623916626, 0.08460192382335663, 0.03509103134274483, 0.14189667999744415, 0.09561236202716827, 0.4545897841453552, 0.13459846377372742, -0.09198015183210373, -0.28784456849098206, -0.0445161908864975, -0.47563761472702026, 0.19807517528533936, 0.08609220385551453, -0.13783667981624603, -0.05786687135696411, 0.15399467945098877, 0.19085218012332916, -0.39594924449920654, 0.23218673467636108, -0.18935911357402802, 0.22595976293087006, 0.04792502522468567, -0.2252970188856125, 0.07449959963560104, 0.11968433111906052, 0.05317661166191101, 0.3001222312450409, -0.22588199377059937, 0.1761283427476883, 0.13594669103622437, 0.06907974928617477, -0.49753254652023315, 0.24494829773902893, 0.1535402238368988, -0.23699960112571716, 0.43838077783584595, -0.026117930188775063, 0.27042704820632935, -0.3410426378250122, -0.2986956536769867, -0.15694700181484222, -0.1217883825302124, -0.3646406829357147, 0.16135622560977936, 0.03760190308094025, 0.2621346116065979, 0.06269844621419907, -0.3779003322124481, -0.29592055082321167, 0.2244815081357956, 0.03308715671300888, -0.06353805959224701, -0.19620127975940704, 0.4475007653236389, 0.18720701336860657, -0.14744068682193756, -0.03135077282786369, 0.4334631562232971, 0.16830116510391235, 0.20934419333934784, -0.35808128118515015, -0.43374666571617126, 0.749618411064148, 0.05994861572980881, -0.39062196016311646, 0.0412239208817482, 0.2558961510658264, 0.28782880306243896, -0.16652266681194305, -0.7261002659797668, 0.056755103170871735, 0.17818287014961243, -0.030356500297784805, -0.47254401445388794, 0.507220983505249, -0.36543014645576477, 0.04792803153395653, -0.024950364604592323, 0.4425579607486725, 0.003269338980317116, -0.3617006242275238, -0.12017934024333954, -0.1155947670340538 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
I think it's better if they match, so that users understand directly that they're directly connected
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
16
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ I think it's better if they match, so that users understand directly that they're directly connected
[ -0.21735094487667084, -0.5307783484458923, -0.15072529017925262, 0.11426283419132233, 0.2882400155067444, -0.021409951150417328, 0.011011786758899689, 0.07167056202888489, 0.36766573786735535, 0.3496515154838562, 0.007973728701472282, -0.13576796650886536, 0.2893865704536438, 0.41025465726852417, 0.022640541195869446, 0.0812176764011383, 0.11385461688041687, 0.09613998234272003, -0.22116237878799438, -0.11532631516456604, -0.3766140639781952, 0.10193808376789093, 0.05796821415424347, -0.17158551514148712, -0.18240536749362946, 0.21793197095394135, 0.10937473177909851, 0.39016222953796387, -0.10035111755132675, -0.1754366159439087, 0.07907620817422867, 0.3554227352142334, -0.26000285148620605, 0.14814971387386322, -0.00010625689901644364, -0.14287786185741425, 0.20138318836688995, -0.041590265929698944, -0.1566956490278244, 0.024263404309749603, -0.30837133526802063, -0.21995528042316437, -0.06212679296731949, -0.20393380522727966, 0.015142552554607391, -0.11921115964651108, 0.17967678606510162, -0.3573172986507416, 0.03256765007972717, 0.136859729886055, 0.26834315061569214, 0.12833324074745178, 0.19493065774440765, -0.3172701895236969, 0.09901922196149826, 0.09748982638120651, 0.08377014100551605, 0.220361590385437, -0.13477501273155212, 0.05802881717681885, -0.07173293083906174, 0.2724803388118744, 0.2438715398311615, 0.05132004991173744, 0.6039981245994568, 0.10903912782669067, -0.12567216157913208, 0.06913325190544128, 0.13888634741306305, 0.14470350742340088, 0.404301255941391, -0.15133455395698547, -0.05162698030471802, 0.04880537837743759, -0.20640216767787933, -0.2498546689748764, 0.24730592966079712, 0.024300558492541313, -0.026274077594280243, 0.10583765804767609, -0.3388175964355469, -0.32785627245903015, -0.17082548141479492, 0.29095107316970825, -0.09208771586418152, 0.3113577365875244, 0.005076833069324493, 0.07569844275712967, 0.25623026490211487, -0.22350077331066132, -0.12022761255502701, 0.04528899863362312, -0.1013588160276413, -0.30136993527412415, -0.0031081847846508026, 0.051773279905319214, -0.09882766753435135, -0.118145652115345, 0.4365409314632416, -0.21573856472969055, -0.2193516343832016, 0.1995609998703003, 0.1988368183374405, 0.15621218085289001, -0.05600397661328316, 0.09779520332813263, 0.1340792179107666, 0.039998624473810196, 0.0930606946349144, 0.18974508345127106, -0.03352361544966698, -0.173725426197052, 0.2364920675754547, -0.276573121547699, -0.17647765576839447, -0.015326421707868576, 0.16758374869823456, -0.197379469871521, -0.06051567941904068, 0.4049128293991089, -0.04053274169564247, -0.1744634062051773, -0.08881272375583649, 0.40801411867141724, 0.0033523710444569588, -0.029546886682510376, 0.21167318522930145, -0.09593302011489868, -0.14153781533241272, -0.013134598731994629, -0.3191910684108734, -0.08577340841293335, -0.20652826130390167, 0.2549298107624054, -0.0853482186794281, 0.06751008331775665, 0.2189164012670517, 0.047268591821193695, 0.4869083762168884, 0.06027790158987045, -0.15836986899375916, 0.062333155423402786, 0.2756739556789398, 0.2539060413837433, -0.14601504802703857, 0.08505845069885254, 0.18458372354507446, -0.005844052881002426, -0.08267181366682053, 0.010793820023536682, -0.11125900596380234, -0.31149670481681824, -0.2718353867530823, 0.27182045578956604, -0.020853372290730476, -0.08588781952857971, 0.06928017735481262, 0.22185847163200378, 0.12670272588729858, -0.009386025369167328, 0.21900010108947754, 0.12725892663002014, -0.4535878896713257, -0.11586300283670425, 0.21078766882419586, 0.19431263208389282, -0.34334373474121094, -0.13741151988506317, 0.34877997636795044, 0.008294099941849709, 0.11796119809150696, 0.26361411809921265, -0.15808461606502533, -0.17644062638282776, -0.070402592420578, 0.10267996788024902, -0.15069788694381714, -0.5657418966293335, -0.49896183609962463, 0.4689255654811859, -0.31763309240341187, 0.01996377296745777, 0.08154227584600449, -0.0793548971414566, 0.1088373214006424, 0.10889452695846558, 0.24595202505588531, 0.1994408667087555, 0.20284457504749298, -0.06171346455812454, -0.36644446849823, -0.2209784835577011, -0.0744919404387474, -0.11137108504772186, -0.04342590644955635, 0.09016042947769165, -0.08133774250745773, -0.10300564765930176, 0.338513046503067, -0.08008669316768646, 0.2747335135936737, 0.38058626651763916, 0.4027138650417328, 0.20361824333667755, 0.014928214251995087, 0.045601703226566315, -0.27504634857177734, -0.00007940828800201416, -0.01819705218076706, 0.11356086283922195, -0.17819522321224213, -0.39448636770248413, -0.06344489753246307, -0.040460217744112015, 0.024710845202207565, -0.08643771708011627, 0.15621216595172882, 0.16328860819339752, -0.127176895737648, -0.041752155870199203, 0.0792934000492096, 0.35219115018844604, -0.2966666519641876, 0.19531038403511047, -0.13138343393802643, 0.0906539335846901, -0.2637931704521179, 0.2314985990524292, -0.09550878405570984, 0.1208081990480423, 0.0862288847565651, 0.05203786492347717, -0.043858349323272705, 0.4804782271385193, -0.1392030268907547, -0.11119168996810913, 0.050877489149570465, -0.020143449306488037, 0.06785108149051666, -0.18815645575523376, 0.23208901286125183, -0.20080024003982544, -0.004546298645436764, 0.06443869322538376, -0.19828760623931885, 0.07478213310241699, 0.12128368020057678, 0.1228414922952652, -0.015716329216957092, -0.28090131282806396, 0.060727402567863464, -0.08886794745922089, 0.07634955644607544, -0.28099188208580017, 0.14551597833633423, 0.0633532702922821, 0.13182386755943298, 0.07347804307937622, -0.3802416920661926, 0.336904913187027, 0.514888346195221, -0.14216777682304382, -0.18414658308029175, 0.32326486706733704, -0.020369887351989746, -0.16738659143447876, 0.1292903870344162, -0.23142962157726288, 0.4271777272224426, 0.48881614208221436, 0.10446999967098236, 0.2330256551504135, -0.0063359979540109634, -0.17219841480255127, 0.3249468207359314, 0.0636475458741188, -0.05867850407958031, 0.2703155279159546, 0.031899344176054, -0.2406020611524582, -0.3284626007080078, -0.038156554102897644, -0.04294486716389656, 0.15321609377861023, -0.4253912568092346, 0.020630093291401863, -0.2651734948158264, -0.32533425092697144, -0.09587817639112473, -0.3121204674243927, -0.2919665277004242, -0.46879875659942627, 0.1541215479373932, 0.08329050242900848, -0.11735253036022186, 0.2490026205778122, 0.1842179000377655, 0.3078771233558655, -0.08431193977594376, -0.14100563526153564, -0.2714683413505554, 0.20478303730487823, -0.22888872027397156, 0.06307251751422882, -0.07553674280643463, -0.06970188021659851, 0.20958758890628815, 0.02204459346830845, 0.18856334686279297, -0.36511725187301636, -0.5381677150726318, 0.058113303035497665, -0.1553558111190796, 0.26959818601608276, 0.37371641397476196, 0.14964771270751953, -0.05773196369409561, -0.37014439702033997, 0.33028027415275574, 0.06585628539323807, -0.18970705568790436, -0.27760690450668335, -0.05761970579624176, -0.25534406304359436, -0.06719721108675003, -0.20007750391960144, -0.10732678323984146, -0.5618266463279724, 0.3331669569015503, 0.0127190500497818, 0.23793631792068481, 0.331069678068161, 0.10792674124240875, -0.08094342797994614, -0.1526482254266739, 0.12293104827404022, -0.536312997341156, -0.3560033142566681, 0.14195117354393005, -0.22831282019615173, -0.2544126510620117, -0.03204863891005516, 0.09186090528964996, 0.024519072845578194, 0.055868249386548996, -0.42696601152420044, -0.24432538449764252, -0.3443499803543091, 0.11018030345439911, -0.2287098467350006, 0.24173608422279358, -0.06487809121608734, -0.14521637558937073, -0.25902876257896423, -0.09881310164928436, -0.3062753677368164, 0.24447539448738098, -0.2776744067668915, 0.2501479983329773, -0.0501982718706131, 0.3971756398677826, 0.13643309473991394, 0.4715805649757385, 0.08179904520511627, 0.02394767664372921, 0.2356996089220047, -0.21086421608924866, 0.5060806274414062, -0.09280561655759811, -0.30173563957214355, 0.23806485533714294, 0.1870315670967102, 0.04792141914367676, 0.39786285161972046, -0.12260764092206955, 0.32403185963630676, 0.23630574345588684, -0.07490257173776627, -0.051888056099414825, -0.25734344124794006, 0.06406087428331375, 0.29256534576416016, -0.06732416898012161, 0.1460634022951126, 0.029779106378555298, -0.1480916440486908, 0.0004631495103240013, 0.08085325360298157, 0.4685657024383545, -0.2703561782836914, 0.021362455561757088, -0.24103422462940216, -0.07156315445899963, -0.4485822319984436, 0.536555290222168, -0.031585849821567535, 0.30581486225128174, -0.3372310400009155, -0.4000469446182251, 0.06828679889440536, -0.043388139456510544, 0.7481778264045715, -0.20847532153129578, -0.47167766094207764, -0.18950071930885315, -0.021804001182317734, -0.06409098953008652, 0.08331741392612457, 0.10967811942100525, 0.1365097612142563, 0.021811343729496002, 0.4157334566116333, -0.4520202875137329, -0.16635960340499878, 0.5081648826599121, -0.20736204087734222, -0.1763329952955246, -0.3293690085411072, -0.43566468358039856, -0.14927679300308228, -0.28027766942977905, 0.02116136997938156, -0.08807490020990372, 0.1898449808359146, 0.25363364815711975, -0.1346697211265564, 0.16858379542827606, 0.03772410750389099, 0.22102241218090057, 0.011722566559910774, 0.1507556140422821, 0.17574606835842133, 0.08251745998859406, 0.02509014867246151, 0.2565024793148041, 0.4193609654903412, 0.3333691656589508, -0.31140679121017456, -0.08334146440029144, -0.02986409142613411, -0.09330850094556808, 0.479708731174469, 0.4226108193397522, 0.16129501163959503, 0.4296630024909973, 0.38987207412719727, 0.45248138904571533, -0.16359125077724457, 0.2104850709438324, 0.13420528173446655, 0.1431097537279129, -0.5072094798088074, -0.2985776364803314, 0.3889372944831848, -0.09724923968315125, -0.04442095384001732, 0.3681509792804718, 0.46765202283859253, -0.2853718400001526, -0.09321732074022293, -0.025059685111045837, 1.0547465085983276, 0.0646502748131752, 0.27893805503845215, -0.09483812749385834, -0.302554726600647, 0.29113131761550903, -0.34180158376693726, -0.019557800143957138, -0.3440112769603729, -0.37559035420417786, -0.027235226705670357, -0.0267705749720335, 0.0438854917883873, -0.26480627059936523, -0.27709999680519104, 0.08401293307542801, 0.11189816892147064, 0.27272480726242065, -0.2352779358625412, 0.32689642906188965, -0.09558552503585815, -0.300492525100708, -0.006714889779686928, 0.21690672636032104, -0.04366639256477356, 0.10407523810863495, -0.1764066219329834, -0.14486446976661682, -0.1570652425289154, -0.2953125834465027, -0.07694769650697708, -0.17416352033615112, -0.39173829555511475, -0.05175814777612686, 0.06061392277479172, -0.05376172810792923, -0.02940824255347252, -0.37221938371658325, 0.09748218953609467, 0.382740318775177, -0.227597177028656, 0.05305919051170349, -0.026792451739311218, 0.2549246847629547, -0.08414360135793686, -0.19731275737285614, 0.051528796553611755, 0.004421379417181015, -0.2655811011791229, -0.2355218231678009, 0.15298733115196228, -0.13949903845787048, -0.25479352474212646, -0.09678409993648529, -0.045218586921691895, -0.48350003361701965, -0.0986647754907608, 0.14577138423919678, 0.06533494591712952, -0.19059495627880096, 0.16691432893276215, -0.25088751316070557, -0.03116558864712715, -0.09614027291536331, 0.2234029322862625, -0.4532528221607208, -0.21376045048236847, 0.48072299361228943, -0.1913674771785736, 0.06690184026956558, 0.12571801245212555, 0.06229504570364952, -0.2503945231437683, -0.21540594100952148, -0.0751446858048439, 0.4418279826641083, -0.12806327641010284, -0.19509056210517883, 0.14667561650276184, -0.2710415720939636, -0.16912147402763367, 0.33139553666114807, 0.35241246223449707, -0.05606810003519058, 0.13529840111732483, -0.07532034814357758, -0.6707082986831665, 0.2398262768983841, -0.3744148313999176, 0.44627881050109863, -0.030197536572813988, 0.06686017662286758, -0.08512113988399506, 0.04970636963844299, -0.4569084942340851, -0.09981649369001389, -0.014719761908054352, -0.21514113247394562, 0.13619427382946014, -0.17716625332832336, 0.5029320120811462, -0.1561722606420517, 0.22617049515247345, 0.04822515696287155, -0.3351951837539673, -0.265203058719635, -0.13305284082889557, 0.11297149211168289, 0.10846975445747375, -0.13958223164081573, 0.015140618197619915, -0.1050637885928154, -0.0879877507686615, -0.1149478629231453, 0.3293668031692505, 0.3019539415836334, 0.056198202073574066, 0.20410045981407166, -0.15641677379608154, -0.1526649296283722, 0.06554627418518066, -0.1502123326063156, 0.3600940406322479, 0.4692593216896057, -0.1088201105594635, -0.05811852961778641, -0.39668115973472595, -0.10500415414571762, -0.01918862573802471, 0.4611700475215912, 0.3889157772064209, 0.1139911636710167, -0.06090962886810303, 0.054500725120306015, -0.31463125348091125, 0.16005149483680725, 0.5993177890777588, 0.27723079919815063, -0.2189987748861313, -0.11679013818502426, 0.09555915743112564, 0.30061987042427063, -0.12920254468917847, -0.0016371899982914329, 0.18873681128025055, -0.29340362548828125, 0.054577041417360306, 0.21698296070098877, 0.3531959652900696, -0.02132284641265869, 0.14441342651844025, 0.19097110629081726, 0.2528071701526642, -0.18132244050502777, -0.07687626779079437, 0.09765200316905975, 0.009294431656599045, 0.2185872495174408, 0.6926802396774292, 0.49970462918281555, 0.36723294854164124, 0.5476003885269165, 0.04548155888915062, 0.2046903818845749, 0.21674254536628723, 0.18964055180549622, -0.05255993455648422, -0.32921525835990906, 0.19023966789245605, 0.16358044743537903, -0.04087464511394501, -0.013623982667922974, 0.2113223820924759, 0.4885180592536926, -0.12524551153182983, -0.25929540395736694, -0.08765017986297607, 0.09035792946815491, -0.3930061459541321, -0.2590509355068207, 0.02582545205950737, -0.0002714693546295166, -0.18395058810710907, -0.03981824219226837, 0.1055736243724823, -0.3292223811149597, 0.46680182218551636, -0.1229657381772995, 0.10280100256204605, -0.21642310917377472, 0.15673185884952545, 0.11673422902822495, -0.011096648871898651, -0.2848714590072632, 0.28372395038604736, 0.17914924025535583, -0.08225314319133759, 0.3722173869609833, 0.27447885274887085, 0.4162142276763916, 0.16671353578567505, 0.21075232326984406, -0.04080459848046303, 0.009076916612684727, -0.041128452867269516, -0.17083004117012024, 0.21168124675750732, 0.19395078718662262, 0.17103669047355652, 0.27272653579711914, 0.24497050046920776, -0.32855895161628723, 0.16332902014255524, 0.10584993660449982, -0.005185484886169434, -0.017627540975809097, 0.02203933149576187, 0.05668021738529205, -0.021994419395923615, -0.12942419946193695, -0.011603198945522308, -0.6954149007797241, -0.030461423099040985, 0.3425213098526001, 0.13476860523223877, 0.20027682185173035, -0.02100704237818718, 0.13192200660705566, 0.10718044638633728, 0.3263973891735077, 0.2901124060153961, -0.012276910245418549, -0.2255796641111374, 0.11291202902793884, -0.43405985832214355, 0.38002607226371765, -0.11030510067939758, -0.19688519835472107, -0.2006249874830246, 0.255592942237854, 0.191959947347641, -0.34088951349258423, 0.14979755878448486, -0.0892958864569664, 0.06910278648138046, -0.04902881383895874, -0.17314840853214264, 0.15784423053264618, 0.12406334280967712, -0.2138780653476715, 0.1692657619714737, -0.10326965898275375, 0.2580309510231018, 0.08999460190534592, 0.1102290078997612, -0.34372133016586304, 0.3105853199958801, 0.11872035264968872, -0.29954060912132263, 0.3831214904785156, 0.07354478538036346, 0.47951459884643555, -0.3526270389556885, -0.13729536533355713, -0.042800452560186386, -0.19721506536006927, -0.35406750440597534, 0.17399021983146667, -0.0378488190472126, 0.21877926588058472, 0.07891969382762909, -0.3923351466655731, -0.25984522700309753, 0.1958826780319214, 0.035640060901641846, 0.009409069083631039, -0.19163116812705994, 0.4597044885158539, -0.014905143529176712, -0.09192310273647308, -0.0687393769621849, 0.347537100315094, 0.18742798268795013, 0.012762259691953659, -0.22883330285549164, -0.40964749455451965, 0.5279015898704529, -0.05631585419178009, -0.21401657164096832, -0.04520586505532265, 0.3069155216217041, 0.378459095954895, -0.1172388419508934, -0.5604056119918823, -0.06832784414291382, 0.20810115337371826, -0.09142479300498962, -0.4334932565689087, 0.5564382672309875, -0.32847994565963745, 0.1273815780878067, -0.052978429943323135, 0.3652306795120239, 0.17615851759910583, -0.4259164333343506, -0.11534172296524048, -0.29901123046875 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Well, if you're not concerned about back-compat here, perhaps it could be renamed and shortened too ;) I'd suggest one of: * `HF_DATASETS_IN_MEMORY_MAX_SIZE` * `HF_DATASETS_MAX_IN_MEMORY_SIZE` the itention is to: 1. make it consistent with all the other `datasets` env vars which all start with `HF_DATASETS_`, e.g.: ``` HF_DATASETS_CACHE HF_DATASETS_OFFLINE ``` 2. allow to recode in the future to support 1M, 4K, 1T and not just bytes - bytes is not a great choice for this type of variable since it will be at least X Mbytes for most reasonable uses. And I agree with @albertvillanova that the config variable name shouldn't have the HF prefix - it's preaching to the choir - the user already knows it's a local variable. The only reason we prefix env vars, is because they are used outside of the software. But I do see a good point of you trying to make things consistent too. How about this: `config.IN_MEMORY_MAX_SIZE` (or whatever the final env var will be minus `HF_DATASETS_` prefix). This is of course just my opinion.
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
173
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Well, if you're not concerned about back-compat here, perhaps it could be renamed and shortened too ;) I'd suggest one of: * `HF_DATASETS_IN_MEMORY_MAX_SIZE` * `HF_DATASETS_MAX_IN_MEMORY_SIZE` the itention is to: 1. make it consistent with all the other `datasets` env vars which all start with `HF_DATASETS_`, e.g.: ``` HF_DATASETS_CACHE HF_DATASETS_OFFLINE ``` 2. allow to recode in the future to support 1M, 4K, 1T and not just bytes - bytes is not a great choice for this type of variable since it will be at least X Mbytes for most reasonable uses. And I agree with @albertvillanova that the config variable name shouldn't have the HF prefix - it's preaching to the choir - the user already knows it's a local variable. The only reason we prefix env vars, is because they are used outside of the software. But I do see a good point of you trying to make things consistent too. How about this: `config.IN_MEMORY_MAX_SIZE` (or whatever the final env var will be minus `HF_DATASETS_` prefix). This is of course just my opinion.
[ -0.21772773563861847, -0.3573434352874756, -0.0807858407497406, 0.09682510048151016, 0.3539942502975464, 0.021889090538024902, -0.03450126573443413, 0.20379292964935303, 0.27700963616371155, 0.3529540002346039, 0.16010940074920654, 0.007188081741333008, -0.0010985536500811577, 0.3181443512439728, -0.1058129072189331, 0.07931265234947205, 0.019603237509727478, 0.017198801040649414, -0.11568665504455566, 0.011429734528064728, -0.4022110104560852, -0.07807733863592148, 0.16202755272388458, -0.10967510938644409, -0.15713314712047577, 0.09300652146339417, -0.008604418486356735, 0.2501267194747925, -0.24455876648426056, -0.13666294515132904, 0.1079019159078598, 0.1909933239221573, 0.07309757173061371, 0.161371648311615, -0.00010388897499069571, -0.14858253300189972, 0.14832770824432373, -0.11555996537208557, -0.23273421823978424, 0.10448729991912842, -0.46283215284347534, -0.2994261384010315, -0.2306540608406067, -0.2877897024154663, 0.048937633633613586, 0.0003354595974087715, 0.0379515066742897, -0.5528513193130493, -0.11234965920448303, 0.11900200694799423, 0.2718266546726227, -0.14781886339187622, 0.008885864168405533, -0.26561644673347473, 0.05400847643613815, 0.12221814692020416, -0.022494062781333923, 0.00760259386152029, -0.3021327555179596, 0.10442566126585007, 0.11407952755689621, 0.24022936820983887, 0.2392025887966156, 0.23629853129386902, 0.6798825860023499, -0.06879197061061859, 0.031538791954517365, 0.06745518743991852, 0.07625901699066162, 0.21035310626029968, 0.5103964805603027, -0.30452632904052734, -0.21351557970046997, -0.048535674810409546, -0.01734890788793564, -0.46316397190093994, 0.2373632788658142, 0.1533568799495697, -0.11396986246109009, 0.06355774402618408, -0.2720155119895935, -0.4229736328125, -0.1461547315120697, 0.15379443764686584, -0.11688023805618286, 0.30209559202194214, -0.0105293532833457, 0.05072373151779175, 0.18673034012317657, -0.2455902248620987, -0.10129363089799881, -0.02203039452433586, -0.10190141201019287, -0.27193140983581543, -0.15229184925556183, 0.05327055603265762, -0.17071864008903503, -0.009884566068649292, 0.5074698328971863, -0.2438589483499527, 0.010078059509396553, 0.2284698784351349, 0.2906479239463806, 0.11009404063224792, -0.0636705756187439, 0.33770525455474854, 0.08603700995445251, 0.11328785866498947, 0.14404742419719696, 0.011474786326289177, 0.050730813294649124, -0.10783446580171585, 0.1323213130235672, -0.3155415654182434, 0.035670261830091476, -0.021388757973909378, 0.12896442413330078, -0.2751734256744385, 0.12034068256616592, 0.29034388065338135, 0.08700989931821823, -0.15142257511615753, -0.047381170094013214, 0.4123099148273468, 0.02268991246819496, 0.0004044771194458008, 0.01533576101064682, -0.1399494856595993, -0.0815773606300354, -0.09754904359579086, -0.2377883642911911, -0.19886140525341034, -0.28656530380249023, 0.3889665901660919, -0.0035637393593788147, 0.10335132479667664, 0.10765804350376129, 0.01829357072710991, 0.40608733892440796, 0.048590198159217834, -0.09126381576061249, -0.08848555386066437, 0.35173147916793823, 0.21389047801494598, -0.3055177330970764, 0.04426828771829605, 0.08785849809646606, 0.14117012917995453, -0.22640594840049744, 0.07622820883989334, -0.11654477566480637, -0.4350650906562805, -0.3985087275505066, 0.27411356568336487, -0.07448534667491913, -0.05081700533628464, 0.041311781853437424, 0.2616807222366333, 0.17158691585063934, 0.17074237763881683, 0.3038322627544403, -0.04509120434522629, -0.3465854227542877, -0.26732757687568665, 0.21928668022155762, 0.2770805060863495, -0.42218348383903503, -0.01917734369635582, 0.23477157950401306, -0.043485771864652634, 0.015347674489021301, 0.1451367884874344, -0.1968258172273636, -0.11225538700819016, -0.14598385989665985, -0.08296959847211838, 0.01105346530675888, -0.402477890253067, -0.3562731444835663, 0.417310506105423, -0.10578925907611847, -0.17391173541545868, 0.13977599143981934, -0.09057536721229553, 0.149128720164299, 0.09949792176485062, 0.12843787670135498, 0.19737403094768524, 0.07031091302633286, -0.01371905766427517, -0.4529781639575958, -0.38255545496940613, -0.048622436821460724, -0.023601843044161797, 0.005161978304386139, 0.11732930690050125, -0.09341540187597275, -0.07418336719274521, 0.143964946269989, -0.1658267229795456, 0.3082714378833771, 0.33950984477996826, 0.27957621216773987, 0.24496547877788544, -0.014960117638111115, -0.049697861075401306, -0.3934938311576843, 0.12955015897750854, 0.06146618723869324, -0.10913068056106567, 0.05230451375246048, -0.34822678565979004, 0.08198631554841995, -0.0981571301817894, -0.07480445504188538, -0.10855011641979218, 0.17817522585391998, 0.2016841471195221, -0.13509681820869446, -0.230628103017807, -0.046726781874895096, 0.4272075593471527, -0.14810200035572052, 0.10611115396022797, -0.007655195891857147, -0.019268080592155457, -0.20812632143497467, 0.12965437769889832, -0.14348608255386353, 0.08404151350259781, 0.04635801166296005, 0.046241629868745804, -0.12230894714593887, 0.4722915589809418, -0.050996389240026474, -0.24778105318546295, 0.19234010577201843, 0.1595577597618103, 0.05617672950029373, -0.006249409168958664, 0.4749906659126282, -0.27692416310310364, -0.06736957281827927, 0.16173353791236877, -0.16171854734420776, 0.1234169453382492, 0.17440025508403778, 0.016343839466571808, -0.06100388243794441, -0.3562341034412384, -0.095262311398983, -0.07346872985363007, 0.004679881036281586, -0.39526253938674927, -0.0005911886692047119, -0.014557421207427979, 0.05685343220829964, 0.049851082265377045, -0.3515492379665375, 0.09743967652320862, 0.35689249634742737, -0.16576510667800903, -0.1775902807712555, 0.34972214698791504, 0.06324269622564316, -0.025927061215043068, 0.11104109138250351, 0.0821288526058197, 0.4268202781677246, 0.4827057123184204, -0.037062887102365494, 0.08647684007883072, -0.12985096871852875, 0.04507646709680557, 0.2860852777957916, 0.15938839316368103, 0.10933201760053635, 0.2347811758518219, 0.015306421555578709, -0.20280303061008453, -0.15956145524978638, -0.16100579500198364, 0.15436650812625885, 0.1818608045578003, -0.33856314420700073, 0.09320545196533203, -0.34244728088378906, -0.2614505887031555, -0.19498905539512634, -0.2000274956226349, -0.31334614753723145, -0.3078671395778656, -0.03301894664764404, -0.14081597328186035, -0.05300167202949524, 0.1783805787563324, -0.0986681878566742, 0.2573886811733246, -0.00882205180823803, -0.27985113859176636, -0.0705595314502716, 0.2408105880022049, -0.24813756346702576, 0.04488879069685936, -0.018570836633443832, -0.11719538271427155, 0.31974175572395325, 0.319161057472229, 0.05423478037118912, -0.30916279554367065, -0.3537248969078064, 0.10664741694927216, -0.12392763793468475, 0.34340378642082214, 0.308260977268219, 0.06055287644267082, -0.11328749358654022, -0.2555338740348816, 0.24713467061519623, 0.23352977633476257, 0.056655414402484894, -0.20804919302463531, -0.019236385822296143, -0.0680413693189621, -0.1336251199245453, -0.17041587829589844, -0.1805969476699829, -0.5280355215072632, 0.15548692643642426, -0.10732416808605194, 0.256339430809021, 0.5575864315032959, 0.19600452482700348, -0.007090859115123749, -0.08661630004644394, 0.03207702934741974, -0.5214560031890869, -0.38725706934928894, 0.2311420887708664, -0.23654133081436157, -0.0654037594795227, -0.03894760459661484, 0.03753647580742836, 0.08648267388343811, 0.20244669914245605, -0.4280531406402588, -0.04601821303367615, -0.16212697327136993, 0.254192590713501, -0.3151460587978363, 0.19827541708946228, 0.03886494040489197, -0.0610286183655262, -0.20723967254161835, -0.08120580017566681, -0.4068162739276886, 0.24003863334655762, -0.11606111377477646, 0.18940794467926025, 0.09320548176765442, 0.2113349437713623, 0.1180410236120224, 0.3506813049316406, 0.21744632720947266, -0.02842887118458748, 0.19644691050052643, -0.0062732938677072525, 0.3714093267917633, -0.15677553415298462, -0.14188902080059052, 0.41340792179107666, 0.10180079936981201, -0.13533806800842285, 0.2325705736875534, -0.12684279680252075, 0.2012658566236496, 0.26739850640296936, -0.014902761206030846, 0.057932935655117035, -0.3228299617767334, 0.2396262139081955, 0.1594475507736206, 0.12718738615512848, -0.07945440709590912, -0.06180941313505173, -0.24955639243125916, 0.13781490921974182, 0.09990492463111877, 0.41543322801589966, -0.41722992062568665, 0.13717730343341827, -0.26369142532348633, -0.06528332829475403, -0.278954416513443, 0.4096033573150635, -0.09108510613441467, 0.3933633267879486, -0.17250901460647583, -0.2005687654018402, -0.09990260004997253, 0.019816385582089424, 0.6394582986831665, -0.2137593924999237, -0.3035181164741516, 0.02882983162999153, -0.006251022219657898, 0.11319147795438766, -0.11833828687667847, 0.15362313389778137, 0.10800891369581223, -0.08205963671207428, 0.1921083629131317, -0.3976670205593109, -0.24146392941474915, 0.34479188919067383, 0.031130384653806686, -0.23163366317749023, -0.25102683901786804, -0.28684744238853455, -0.03693082183599472, -0.31333598494529724, 0.0406465120613575, -0.19045771658420563, 0.11444492638111115, 0.23875027894973755, -0.04360529035329819, 0.05759286880493164, 0.10241944342851639, 0.20496824383735657, -0.056007202714681625, 0.27196255326271057, 0.03580492362380028, 0.09243012964725494, 0.06982133537530899, 0.15744197368621826, 0.5860918760299683, 0.15043944120407104, -0.30360981822013855, 0.057584937661886215, 0.10954966396093369, -0.043302904814481735, 0.4917866587638855, 0.3924408555030823, 0.0831509605050087, 0.09727225452661514, 0.3596316874027252, 0.4525023102760315, -0.3182777464389801, 0.10087122023105621, 0.06646528840065002, 0.022253233939409256, -0.4751628041267395, -0.46686407923698425, 0.5375111699104309, 0.12095971405506134, 0.008105143904685974, 0.4471380114555359, 0.37798571586608887, -0.44898298382759094, 0.13700439035892487, 0.24395793676376343, 1.0491797924041748, -0.10834468901157379, 0.22771091759204865, -0.09300046414136887, -0.19681516289710999, 0.10142650455236435, -0.19565719366073608, -0.11651082336902618, -0.23956437408924103, -0.1220676451921463, 0.06932517886161804, -0.03398863971233368, 0.24856626987457275, -0.16347143054008484, -0.43058860301971436, 0.1704808622598648, 0.028014183044433594, 0.1484040915966034, -0.17427943646907806, 0.2966698408126831, -0.25750380754470825, -0.4637664258480072, 0.09375455230474472, 0.2812038064002991, -0.16855603456497192, -0.10364969074726105, -0.10133049637079239, -0.19644078612327576, -0.042196325957775116, -0.05504657328128815, -0.15207058191299438, -0.2840273380279541, -0.5513363480567932, -0.07758849859237671, -0.175713911652565, -0.06252370029687881, 0.018997512757778168, -0.3257778286933899, 0.080512136220932, 0.37838491797447205, -0.20945845544338226, -0.04428676888346672, 0.06193699315190315, 0.15985257923603058, -0.16490204632282257, -0.2550050616264343, 0.2941259741783142, 0.03193537890911102, -0.3097706139087677, -0.1825442612171173, 0.1360681653022766, -0.06542781740427017, -0.04534786194562912, -0.30636584758758545, 0.147799551486969, -0.4501720666885376, -0.05124301090836525, 0.12314669787883759, 0.04172631725668907, -0.17611883580684662, 0.19081249833106995, -0.07080261409282684, -0.08485786616802216, 0.0717674046754837, 0.09890586137771606, -0.2646932005882263, -0.2391054779291153, 0.1797659546136856, -0.22736883163452148, 0.13572661578655243, 0.1102101057767868, 0.009852603077888489, -0.13896223902702332, -0.26991593837738037, 0.010288618505001068, 0.05352538079023361, 0.17033404111862183, -0.06916838139295578, 0.10458899289369583, -0.25984764099121094, -0.09778263419866562, 0.19571396708488464, 0.372306227684021, -0.09337940067052841, 0.10380472242832184, -0.04259038716554642, -0.549919605255127, 0.19854044914245605, -0.44494256377220154, 0.4436872899532318, -0.22043278813362122, 0.11737613379955292, -0.11809097230434418, 0.07822979241609573, -0.4561644196510315, -0.13616083562374115, 0.05218106508255005, -0.15769362449645996, 0.035316579043865204, 0.01607133075594902, 0.2781083881855011, -0.10892435908317566, 0.16809868812561035, 0.07075092196464539, -0.3523455262184143, -0.31666427850723267, -0.26085028052330017, 0.10173101723194122, 0.05448399856686592, -0.06010033190250397, 0.05164554342627525, -0.24340583384037018, -0.1911420226097107, -0.16607517004013062, 0.25745490193367004, 0.3395385444164276, 0.018633127212524414, 0.49476635456085205, 0.13247397541999817, -0.15976911783218384, 0.24500487744808197, -0.175428569316864, 0.4908193051815033, 0.48691868782043457, -0.04428279027342796, 0.3165169358253479, -0.31499356031417847, -0.0726446583867073, -0.281064510345459, 0.3125361204147339, 0.05814085528254509, 0.16636577248573303, -0.10965526849031448, -0.04477899521589279, -0.16425926983356476, 0.3695995807647705, 0.3388284146785736, 0.27543503046035767, -0.20826303958892822, -0.19554966688156128, 0.08390945196151733, 0.3374752998352051, 0.040078431367874146, -0.06383703649044037, 0.04796170815825462, -0.272190123796463, 0.0825124979019165, 0.3824406862258911, 0.3997064530849457, -0.09353457391262054, 0.011969335377216339, 0.11809394508600235, 0.16818517446517944, -0.28017377853393555, 0.09868666529655457, 0.2610360383987427, 0.03373121842741966, 0.12186066806316376, 0.5189732909202576, 0.556516170501709, 0.4846014380455017, 0.756912350654602, 0.19927655160427094, 0.13877925276756287, 0.2925446033477783, 0.19453364610671997, -0.16670146584510803, -0.4638459384441376, 0.28813159465789795, 0.2885434031486511, -0.06976796686649323, 0.12511029839515686, 0.04318469017744064, 0.3911285996437073, -0.06809663027524948, -0.27261075377464294, 0.037768758833408356, 0.04881104826927185, -0.23928302526474, -0.21422137320041656, 0.11912736296653748, 0.057618625462055206, -0.12384271621704102, 0.054015789180994034, 0.05453097075223923, -0.3274710178375244, 0.5062366724014282, -0.003004297614097595, 0.03592574596405029, -0.15195567905902863, 0.4131360650062561, 0.23935887217521667, -0.062194742262363434, -0.3224237859249115, 0.21895697712898254, 0.1407240331172943, -0.2208356261253357, 0.20252010226249695, 0.1728416085243225, 0.3412121534347534, 0.22616244852542877, -0.05688300356268883, 0.06181587278842926, 0.008677191101014614, 0.07586974650621414, -0.08965373039245605, 0.026706485077738762, 0.16289672255516052, 0.06392732262611389, 0.34470871090888977, 0.23993900418281555, -0.2323300838470459, -0.06433606147766113, -0.03023628517985344, -0.05226516351103783, -0.08157192170619965, 0.12031091749668121, 0.4287692606449127, 0.05461317300796509, 0.06630294770002365, 0.09183606505393982, -0.5673493146896362, 0.10021806508302689, 0.5239167809486389, 0.26475271582603455, 0.11664824932813644, 0.07695868611335754, 0.1371941864490509, 0.11303359270095825, 0.3661605715751648, 0.1183689683675766, -0.047929711639881134, -0.3097614347934723, 0.1273137331008911, -0.37494850158691406, 0.14487721025943756, -0.09448592364788055, -0.1968563348054886, 0.0545755960047245, 0.30564114451408386, 0.20794734358787537, -0.4137328267097473, 0.1321878433227539, -0.18808692693710327, 0.21113799512386322, 0.12683244049549103, -0.19212821125984192, -0.04105423763394356, 0.08026126027107239, -0.02594350092113018, 0.31984859704971313, -0.33880308270454407, 0.230972558259964, 0.15398962795734406, 0.08414966613054276, -0.48606961965560913, 0.22467279434204102, 0.3040713667869568, -0.244574636220932, 0.5946224331855774, -0.07523220032453537, 0.14659617841243744, -0.2037728726863861, -0.26728612184524536, -0.2966021001338959, 0.04774084687232971, -0.3482212722301483, -0.08245717734098434, 0.02744060568511486, 0.17262008786201477, -0.12329796701669693, -0.2933114469051361, -0.4774059057235718, 0.10687458515167236, -0.0031653568148612976, -0.19068790972232819, -0.030230024829506874, 0.404159814119339, 0.14790695905685425, -0.04674975946545601, -0.07527291029691696, 0.38729944825172424, 0.08924075961112976, 0.31214484572410583, -0.364188015460968, -0.25517740845680237, 0.5155717134475708, 0.17527775466442108, -0.2824931740760803, -0.08712577074766159, 0.31401365995407104, 0.32120808959007263, -0.009328993037343025, -0.7831543684005737, 0.1385228931903839, 0.258865624666214, -0.07608598470687866, -0.5031267404556274, 0.501000702381134, -0.18674995005130768, 0.016453322023153305, -0.06583777815103531, 0.42050179839134216, -0.09520468860864639, -0.37802982330322266, -0.24294954538345337, -0.10727661848068237 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Thanks for the comment :) I like both propositions, and I agree this would be better in order to allow support for 1M, 1T etc. Regarding the prefix of the variable in config.py I don't have a strong opinion. I just added it for consistency with the other variables that default to the env variables like HF_DATASETS_CACHE. However I agree this would be nice to have shorter names so I'm not against removing the prefix either. Since the feature is relatively new, I think we can still allow ourself to rename it
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
92
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Thanks for the comment :) I like both propositions, and I agree this would be better in order to allow support for 1M, 1T etc. Regarding the prefix of the variable in config.py I don't have a strong opinion. I just added it for consistency with the other variables that default to the env variables like HF_DATASETS_CACHE. However I agree this would be nice to have shorter names so I'm not against removing the prefix either. Since the feature is relatively new, I think we can still allow ourself to rename it
[ -0.022658640518784523, -0.5167520046234131, -0.042570970952510834, 0.0010041818022727966, 0.3099101781845093, 0.11142579466104507, 0.054726097732782364, 0.18479172885417938, 0.21495454013347626, 0.25575223565101624, 0.12201941013336182, -0.15489742159843445, -0.11023884266614914, 0.3299960792064667, 0.07070668041706085, -0.01659129559993744, 0.20088306069374084, -0.08355744183063507, 0.011385612189769745, 0.03911583125591278, -0.4869018495082855, -0.07509483397006989, 0.08138275146484375, 0.05364423245191574, -0.10425343364477158, 0.3032462000846863, -0.028567783534526825, 0.18645638227462769, -0.25371053814888, -0.37019839882850647, 0.1537238210439682, 0.30500277876853943, -0.015164844691753387, 0.0808008536696434, -0.00011794143938459456, -0.2017296850681305, 0.27784740924835205, -0.0396057665348053, -0.16169564425945282, -0.019561484456062317, -0.4234687387943268, -0.6433193683624268, -0.11885209381580353, -0.1882348358631134, 0.16614216566085815, -0.0960390642285347, 0.0959564819931984, -0.3607443869113922, -0.33254408836364746, 0.1721271276473999, 0.16207653284072876, -0.10270179808139801, -0.05717549845576286, -0.215947687625885, 0.1412065327167511, 0.14648276567459106, 0.0008155126124620438, 0.11817494034767151, -0.22034808993339539, 0.003413640893995762, 0.09640716761350632, 0.2432459145784378, 0.1978813111782074, 0.10136951506137848, 0.754418671131134, 0.020749427378177643, -0.007630825042724609, -0.07183533906936646, 0.04364635795354843, 0.22244203090667725, 0.4700622260570526, -0.31025704741477966, -0.3325161933898926, -0.09719876945018768, 0.011864897795021534, -0.49824756383895874, 0.06427671015262604, 0.16909269988536835, -0.10355427861213684, 0.12269292771816254, -0.13916613161563873, -0.43510812520980835, -0.1374550759792328, 0.12343676388263702, -0.15750494599342346, 0.4597817063331604, 0.027395427227020264, 0.17375098168849945, 0.11777885258197784, -0.026199135929346085, 0.024180740118026733, -0.1277051568031311, 0.052887819707393646, -0.15277808904647827, -0.21395210921764374, -0.01776888594031334, -0.2610759139060974, -0.03669817000627518, 0.40490925312042236, -0.16856595873832703, -0.2912648022174835, 0.0711430162191391, 0.37432006001472473, 0.06825389713048935, -0.14638176560401917, 0.24771104753017426, 0.235788494348526, 0.14952662587165833, 0.12671533226966858, 0.01039283536374569, 0.18779639899730682, 0.004214227199554443, 0.1973249763250351, -0.24368250370025635, 0.05252508446574211, 0.02716025710105896, 0.060398899018764496, -0.23177212476730347, 0.061305075883865356, 0.32128921151161194, 0.18119418621063232, -0.3361126184463501, 0.07244176417589188, 0.3786337375640869, -0.12009508907794952, 0.09323751926422119, -0.09088678658008575, 0.0077957883477211, 0.04850425571203232, 0.14278757572174072, -0.20724326372146606, -0.13675765693187714, -0.1407465785741806, 0.18439510464668274, -0.05571825057268143, 0.0012801066040992737, 0.11576315015554428, -0.041668154299259186, 0.6007609963417053, 0.20590028166770935, -0.021947713568806648, -0.014462808147072792, 0.3279387652873993, 0.2950232923030853, -0.5308635234832764, 0.010225130245089531, 0.2850249707698822, 0.16158197820186615, -0.2521175146102905, 0.12217061221599579, -0.23696166276931763, -0.49636149406433105, -0.30479076504707336, 0.16938114166259766, -0.10928776860237122, -0.08782736957073212, 0.06375795602798462, 0.4245525896549225, 0.17690598964691162, 0.05923320725560188, 0.3509874641895294, -0.07695581018924713, -0.34384873509407043, -0.362374871969223, 0.2292555570602417, 0.2712051272392273, -0.31431370973587036, -0.21673467755317688, 0.29404497146606445, -0.07688309252262115, 0.018511369824409485, 0.10445939004421234, -0.18747469782829285, -0.3003295660018921, -0.05499742925167084, -0.10411836206912994, -0.07227318733930588, -0.6184478998184204, -0.27789127826690674, 0.3897382616996765, -0.06274041533470154, -0.03591098263859749, 0.27330416440963745, -0.07536786794662476, 0.03147495537996292, -0.07195774465799332, 0.2018299102783203, 0.17364327609539032, 0.07891572266817093, -0.127385675907135, -0.3924872577190399, -0.42354920506477356, 0.1836017668247223, 0.12031958997249603, -0.02674650028347969, 0.08036860823631287, -0.16352644562721252, -0.25698915123939514, 0.26700493693351746, -0.09768873453140259, 0.2016877830028534, 0.10970761626958847, 0.3110102117061615, 0.17418372631072998, 0.11721226572990417, 0.029741480946540833, -0.3570441007614136, 0.10406043380498886, -0.057851389050483704, -0.003987349569797516, -0.054947301745414734, -0.3996715545654297, 0.13915911316871643, -0.05066489800810814, -0.07171168923377991, -0.16735723614692688, 0.0013541169464588165, -0.03455398231744766, -0.12620826065540314, -0.17444701492786407, -0.2591756582260132, 0.4758615493774414, -0.2283569872379303, 0.242914080619812, 0.006049014627933502, -0.09701590985059738, -0.05010875314474106, 0.4295387864112854, -0.3114316463470459, 0.16468200087547302, -0.025239191949367523, -0.06965004652738571, -0.10589880496263504, 0.48115667700767517, -0.019585993140935898, -0.348533034324646, 0.1372213214635849, 0.14069373905658722, 0.22640138864517212, -0.09195336699485779, 0.5290383696556091, -0.16236372292041779, 0.006872556172311306, 0.0641656294465065, -0.31353846192359924, 0.23988662660121918, 0.13257576525211334, 0.11866233497858047, -0.08742484450340271, -0.4011508822441101, -0.14667874574661255, 0.023436229676008224, -0.2300942838191986, -0.2826828956604004, -0.03406459465622902, -0.06274126470088959, 0.20831967890262604, -0.02364605851471424, -0.3107280433177948, 0.14975091814994812, 0.23699164390563965, -0.24743013083934784, -0.30576422810554504, 0.4683508276939392, 0.038772787898778915, -0.24819323420524597, 0.10240212827920914, -0.040726810693740845, 0.4762001037597656, 0.3166135251522064, -0.152875155210495, 0.0386657640337944, -0.06078473478555679, 0.004982665181159973, 0.4378019869327545, 0.25476574897766113, -0.11788786947727203, 0.2320067584514618, 0.036900583654642105, -0.17925147712230682, -0.08307695388793945, -0.23855561017990112, 0.045827627182006836, 0.17221000790596008, -0.27504074573516846, 0.1318548619747162, -0.10312681645154953, -0.23065757751464844, 0.02091093733906746, -0.27335190773010254, -0.4187951683998108, -0.28637000918388367, -0.015998128801584244, -0.345305472612381, 0.045074839144945145, 0.16580702364444733, -0.09449291229248047, 0.21966350078582764, -0.08507975190877914, -0.33682891726493835, -0.005308877676725388, 0.2992304861545563, 0.02548590861260891, -0.06794935464859009, -0.2826468348503113, -0.2794879674911499, 0.23858432471752167, 0.2893480658531189, -0.04295826703310013, -0.2629697322845459, -0.46629175543785095, -0.0164262056350708, -0.2591744065284729, 0.4237995743751526, 0.4510280191898346, -0.07599662244319916, 0.022975079715251923, -0.0978645384311676, 0.19251766800880432, 0.24459782242774963, 0.2084551453590393, -0.24881964921951294, -0.000013909913832321763, -0.09840460866689682, -0.03115019202232361, -0.13022872805595398, -0.5880811810493469, -0.42935773730278015, 0.29423975944519043, -0.0028198957443237305, 0.20684605836868286, 0.5932830572128296, 0.03855878487229347, -0.061704300343990326, -0.11979100108146667, -0.013628575950860977, -0.3590795397758484, -0.36331799626350403, 0.10328520089387894, -0.006640437990427017, -0.07117199897766113, -0.17204847931861877, -0.01955801621079445, 0.03920869901776314, 0.08235624432563782, -0.2853688597679138, -0.1868124157190323, -0.08190303295850754, 0.3857644200325012, -0.18917149305343628, 0.40023642778396606, 0.010881781578063965, 0.00018570851534605026, -0.11027763783931732, -0.049658045172691345, -0.2438025325536728, 0.02549220621585846, -0.07242228835821152, 0.23362386226654053, 0.18894314765930176, 0.21899646520614624, 0.02672717347741127, 0.44506633281707764, 0.3153054714202881, 0.202472984790802, 0.09103073924779892, -0.0997445359826088, 0.34256353974342346, -0.1184895858168602, -0.36299601197242737, 0.38718774914741516, 0.06407812982797623, -0.1411876678466797, 0.30125153064727783, 0.024736499413847923, 0.29478907585144043, 0.17966781556606293, -0.06684109568595886, 0.1987127661705017, -0.1318039745092392, 0.12237998098134995, 0.18356722593307495, 0.17045097053050995, 0.08034850656986237, 0.004775285720825195, -0.3256835341453552, 0.08050910383462906, 0.040829867124557495, 0.6414312720298767, -0.271626353263855, 0.07151967287063599, -0.2161007970571518, -0.21280278265476227, -0.4507598876953125, 0.2868391275405884, -0.07177526503801346, 0.4268357753753662, 0.019834984093904495, -0.31582385301589966, -0.031228691339492798, 0.0563231036067009, 0.7349621653556824, -0.1828107386827469, -0.5333989262580872, -0.08963960409164429, 0.049209654331207275, 0.08661902695894241, -0.15163671970367432, 0.18869340419769287, 0.18692335486412048, -0.17747041583061218, 0.44680464267730713, -0.46052199602127075, -0.3023742735385895, 0.42053064703941345, 0.16488413512706757, -0.11260948330163956, -0.3226955533027649, -0.2592953145503998, -0.07750777155160904, -0.21478787064552307, 0.11188307404518127, -0.17829445004463196, 0.0852641686797142, 0.24057410657405853, 0.159489244222641, 0.13815204799175262, 0.07902588695287704, 0.33479321002960205, -0.015766112133860588, 0.05299433320760727, -0.0028704789001494646, 0.15555237233638763, -0.017278846353292465, 0.026771634817123413, 0.40271952748298645, 0.1864529550075531, -0.41170719265937805, -0.18048211932182312, -0.15996280312538147, 0.026712827384471893, 0.5963214039802551, 0.4813108742237091, -0.05902059003710747, 0.3309899568557739, 0.2973346412181854, 0.5241591930389404, -0.1860114187002182, -0.013334657996892929, 0.20398424565792084, 0.014873902313411236, -0.7354438900947571, -0.5581852793693542, 0.6956111788749695, 0.13542839884757996, -0.03212286904454231, 0.47960788011550903, 0.22936829924583435, -0.3485080897808075, 0.05420787259936333, 0.07100704312324524, 1.1065949201583862, 0.05665351450443268, 0.5141587257385254, 0.047018636018037796, -0.26255476474761963, 0.23970524966716766, -0.16861101984977722, -0.117706298828125, -0.3352876901626587, -0.3350004553794861, 0.006204916164278984, -0.05643284693360329, 0.3129388093948364, -0.11098231375217438, -0.4073695242404938, 0.27854838967323303, -0.04604073986411095, 0.16605335474014282, -0.041656382381916046, 0.27690941095352173, -0.2681390643119812, -0.4155657887458801, 0.08805137127637863, 0.1336299180984497, -0.0647912248969078, 0.005549252033233643, -0.08008649200201035, -0.08758098632097244, -0.16930128633975983, -0.16800935566425323, -0.14868244528770447, -0.3970595598220825, -0.4206194281578064, 0.002948988229036331, -0.07626320421695709, -0.19866794347763062, 0.07627871632575989, -0.5158084034919739, 0.05353996157646179, 0.4916883111000061, -0.1047249585390091, 0.005239304155111313, 0.11236713826656342, 0.31373468041419983, -0.057613685727119446, -0.22300013899803162, 0.21254663169384003, 0.10595468431711197, -0.20685222744941711, -0.20169445872306824, -0.032972052693367004, -0.03880208730697632, -0.16113263368606567, -0.17838262021541595, 0.21080926060676575, -0.4805249869823456, -0.21924926340579987, -0.006599843502044678, 0.009422924369573593, -0.22122988104820251, 0.0963137298822403, 0.038538478314876556, -0.14497293531894684, 0.1383870542049408, -0.05672925338149071, -0.35024505853652954, -0.2585524022579193, 0.15106838941574097, -0.061527006328105927, -0.011932283639907837, 0.054836563766002655, 0.003956273198127747, -0.19184468686580658, -0.14222857356071472, 0.043038688600063324, 0.06426654011011124, -0.09823460876941681, -0.03765987232327461, 0.3808278739452362, -0.17368827760219574, -0.2002403289079666, 0.10172814130783081, 0.35843682289123535, -0.028550930321216583, 0.05792636051774025, 0.01960371434688568, -0.6061087250709534, 0.13010452687740326, -0.3809429109096527, 0.36962708830833435, -0.2553062438964844, 0.004431799054145813, -0.17134402692317963, -0.05708238482475281, -0.3134697675704956, -0.13269227743148804, 0.2731953561306, -0.25484469532966614, 0.146501824259758, 0.04085744917392731, 0.3653954863548279, -0.08812180161476135, 0.14359210431575775, -0.08924341201782227, -0.26557257771492004, -0.18688854575157166, -0.29716941714286804, 0.2023860514163971, 0.1229257732629776, -0.17780259251594543, 0.13470660150051117, -0.13877832889556885, -0.2499718964099884, -0.08427901566028595, 0.2659587562084198, 0.38564395904541016, 0.013968151062726974, 0.46018344163894653, 0.042057499289512634, -0.21720439195632935, 0.27821677923202515, 0.07444889098405838, 0.4936881959438324, 0.4395739436149597, 0.0695401132106781, 0.26209068298339844, -0.3837752938270569, -0.010968469083309174, -0.28860729932785034, 0.44265925884246826, -0.0195307657122612, 0.08555042743682861, -0.0532456710934639, 0.020896680653095245, -0.11421266198158264, 0.21752941608428955, 0.3453563451766968, 0.45027676224708557, -0.15543490648269653, -0.11980193853378296, 0.17613640427589417, 0.17675989866256714, -0.09063269197940826, -0.09835013002157211, 0.024619493633508682, -0.2629542648792267, 0.08818073570728302, 0.423641175031662, 0.4508500397205353, 0.02366674691438675, 0.08118763566017151, 0.08773107081651688, 0.3012848496437073, -0.11985763907432556, 0.05825194716453552, 0.44536328315734863, 0.187579944729805, 0.1919059008359909, 0.5560053586959839, 0.45075029134750366, 0.4243316948413849, 0.5945591926574707, 0.20159439742565155, 0.11587610095739365, 0.4052847921848297, 0.1865898072719574, -0.23521772027015686, -0.27389755845069885, 0.26618754863739014, 0.10207011550664902, -0.2064322531223297, -0.007842198014259338, 0.13850724697113037, 0.5990772247314453, -0.21867138147354126, -0.23987141251564026, 0.15221084654331207, 0.12262681126594543, -0.0603841170668602, -0.4102596640586853, 0.37939268350601196, 0.04243973642587662, -0.11213791370391846, -0.0005267858505249023, -0.0028699375689029694, -0.44240802526474, 0.46129125356674194, 0.028451502323150635, 0.1426309496164322, -0.07064478099346161, 0.4028836488723755, 0.24525845050811768, 0.14235974848270416, -0.20703859627246857, 0.07432682067155838, 0.16981080174446106, -0.09269049763679504, 0.3048956096172333, 0.08191237598657608, 0.450937420129776, 0.03418481722474098, 0.06409645080566406, -0.014712185598909855, -0.07543551921844482, 0.11252766847610474, 0.0057956986129283905, 0.15043239295482635, 0.14302465319633484, 0.10247966647148132, 0.2184486836194992, 0.11858870089054108, -0.13620814681053162, -0.001126401126384735, -0.03332742676138878, -0.3737964928150177, -0.26355859637260437, 0.253141313791275, 0.3447166383266449, -0.05352858081459999, 0.062451861798763275, 0.18296974897384644, -0.5423973202705383, -0.024698905646800995, 0.6021374464035034, 0.4095726013183594, 0.10855782777070999, 0.06733440607786179, 0.06301512569189072, -0.019702516496181488, 0.29081979393959045, 0.21537910401821136, 0.021605607122182846, -0.3647781312465668, 0.27697938680648804, -0.36237767338752747, 0.03906407952308655, -0.03233855590224266, -0.2690378427505493, 0.05598074570298195, 0.051850542426109314, 0.16901895403862, -0.3830694556236267, 0.10517528653144836, -0.09593190997838974, 0.3667762875556946, 0.09676773846149445, -0.09729737043380737, 0.06306959688663483, 0.1327141523361206, 0.181289941072464, 0.1926390528678894, -0.23993363976478577, 0.16953860223293304, 0.1246110051870346, -0.05386325344443321, -0.6330033540725708, 0.23265257477760315, 0.445412814617157, -0.2575250566005707, 0.5735182762145996, 0.0007634032517671585, 0.15384775400161743, -0.11338328570127487, -0.2604235112667084, -0.19769129157066345, -0.010001841932535172, -0.39591455459594727, 0.15894538164138794, -0.08771175146102905, 0.05167519301176071, 0.08721508085727692, -0.5806462168693542, -0.32990095019340515, 0.26134994626045227, -0.03517400100827217, -0.2809925079345703, -0.06589396297931671, 0.4670197367668152, 0.046594858169555664, -0.09838339686393738, -0.09794925898313522, 0.3952263593673706, 0.15689480304718018, 0.269682914018631, -0.2647835612297058, -0.3630364239215851, 0.5836654305458069, 0.1718951016664505, -0.2371731549501419, -0.1128392443060875, 0.22869400680065155, 0.22825637459754944, 0.038542963564395905, -0.704943060874939, -0.0457247719168663, 0.27821481227874756, -0.11449917405843735, -0.5738034844398499, 0.4668982923030853, -0.2414819300174713, 0.004996009171009064, -0.11953999102115631, 0.3437402844429016, -0.17425677180290222, -0.267528772354126, -0.14951138198375702, -0.09954964369535446 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Awesome, Let's use then: - `HF_DATASETS_IN_MEMORY_MAX_SIZE` for the env var - `config.IN_MEMORY_MAX_SIZE` for config. and for now bytes will be documented as the only option and down the road add support for K/M/G. @albertvillanova, does that sound good to you?
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
40
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Awesome, Let's use then: - `HF_DATASETS_IN_MEMORY_MAX_SIZE` for the env var - `config.IN_MEMORY_MAX_SIZE` for config. and for now bytes will be documented as the only option and down the road add support for K/M/G. @albertvillanova, does that sound good to you?
[ -0.3094857335090637, -0.5466750860214233, -0.09625215828418732, -0.011409103870391846, 0.4441572427749634, -0.006503880023956299, -0.2241751104593277, 0.36457592248916626, 0.2729676067829132, 0.3757559657096863, 0.08098069578409195, -0.037333112210035324, -0.1044120192527771, 0.37561333179473877, 0.11677268147468567, 0.12248050421476364, 0.09128838777542114, 0.12129652500152588, -0.18679165840148926, 0.024049118161201477, -0.37452569603919983, -0.03974089026451111, 0.13336783647537231, -0.26903897523880005, -0.08091092854738235, 0.2499849945306778, 0.0497111976146698, 0.21136578917503357, -0.36153969168663025, -0.26806774735450745, 0.11579695343971252, 0.12422958016395569, 0.029572073370218277, 0.16592296957969666, -0.0001056705805240199, 0.05377573519945145, 0.27861785888671875, -0.2510886490345001, -0.23787733912467957, 0.16799399256706238, -0.12768079340457916, -0.3047010600566864, -0.21777109801769257, -0.20362412929534912, -0.01096859760582447, -0.101766437292099, 0.1795526146888733, -0.435302734375, -0.026583537459373474, 0.16333651542663574, 0.2770758867263794, 0.028568491339683533, 0.12262189388275146, -0.24060499668121338, 0.19189676642417908, 0.24805891513824463, -0.058218732476234436, -0.07712365686893463, -0.07293139398097992, 0.06272352486848831, 0.046239592134952545, 0.23820807039737701, 0.28039583563804626, 0.1323825716972351, 0.5351667404174805, 0.03359357640147209, -0.0682949498295784, 0.09136174619197845, 0.11283162981271744, 0.3353133499622345, 0.27684882283210754, -0.2409903109073639, -0.2342519611120224, -0.08576855063438416, -0.0845765471458435, -0.4438023865222931, 0.2914636433124542, 0.2779264748096466, -0.20563670992851257, 0.09225830435752869, -0.22568479180335999, -0.2737957537174225, -0.20378312468528748, 0.09140106290578842, -0.16754963994026184, 0.25850650668144226, -0.04497880861163139, -0.1088356152176857, 0.3904101252555847, -0.149953693151474, -0.4302411675453186, 0.15260836482048035, -0.15488967299461365, -0.16193777322769165, -0.14043548703193665, -0.12173271179199219, 0.05231159180402756, -0.13151806592941284, 0.7201008200645447, -0.42461252212524414, -0.1294603794813156, 0.2571955621242523, 0.22443881630897522, 0.10119935870170593, -0.03446371480822563, 0.21981927752494812, 0.005251459777355194, 0.11864437907934189, 0.3330807089805603, 0.21912913024425507, 0.21843525767326355, -0.11293848603963852, 0.1421007364988327, -0.24997034668922424, -0.26286259293556213, -0.0548146590590477, 0.1074695736169815, -0.16723132133483887, 0.05380230396986008, 0.28591567277908325, 0.23643779754638672, 0.04961701110005379, 0.0343337208032608, 0.6123332977294922, -0.0299522802233696, -0.09872940927743912, 0.004077348858118057, -0.005376312881708145, -0.0917312279343605, 0.023618359118700027, -0.2298099398612976, -0.05743064358830452, -0.21300093829631805, 0.15192997455596924, 0.11643557250499725, 0.04650802165269852, 0.1256091445684433, 0.12277688831090927, 0.5649101138114929, 0.21642255783081055, -0.08676225692033768, -0.052465423941612244, 0.2363888919353485, 0.27965906262397766, -0.1442578136920929, 0.05789861083030701, 0.0884484052658081, 0.2140168696641922, -0.2638113498687744, -0.044951438903808594, -0.11884798854589462, -0.42662614583969116, -0.3936223089694977, 0.22523526847362518, 0.06785993278026581, -0.021242614835500717, -0.09188050776720047, 0.37901410460472107, 0.03430706262588501, 0.03023480996489525, 0.1446751356124878, 0.053238414227962494, -0.2995232045650482, -0.23893259465694427, 0.3470844030380249, 0.23914840817451477, -0.21148118376731873, -0.09401210397481918, 0.2858180105686188, -0.028363287448883057, 0.09669064730405807, 0.20913220942020416, -0.1779523640871048, -0.39349913597106934, -0.15631625056266785, 0.061898887157440186, -0.005202539265155792, -0.41456350684165955, -0.4001844823360443, 0.3831727206707001, 0.08328966796398163, -0.15636684000492096, 0.3292914032936096, -0.20645344257354736, 0.19947831332683563, 0.07701542228460312, 0.040767572820186615, 0.31486791372299194, 0.06190276890993118, 0.09041909128427505, -0.3382320702075958, -0.3885883688926697, -0.051968351006507874, -0.039484478533267975, 0.12563402950763702, -0.09212879091501236, -0.010185778141021729, 0.04801683500409126, 0.18576876819133759, -0.2792589068412781, 0.3689148426055908, 0.38763314485549927, 0.3354072570800781, 0.05180291086435318, 0.02298756316304207, -0.15474677085876465, -0.3309434950351715, 0.15608039498329163, -0.12083358317613602, 0.03453708812594414, -0.05320057272911072, -0.5272008180618286, -0.01251392625272274, -0.03337202966213226, 0.08374393731355667, -0.09095077216625214, 0.2266899049282074, 0.05155414342880249, 0.027889259159564972, -0.0029831547290086746, -0.06024123728275299, 0.12091907113790512, -0.09527909010648727, 0.1654268056154251, 0.12317138910293579, 0.13905653357505798, -0.17947207391262054, 0.024493597447872162, 0.01986132189631462, 0.10024425387382507, -0.03265002369880676, 0.058806996792554855, -0.04710013046860695, 0.3536287844181061, -0.13973122835159302, -0.1841346174478531, 0.15607619285583496, 0.08834689110517502, 0.17178693413734436, -0.002840951085090637, 0.31003469228744507, -0.23978595435619354, -0.10132238268852234, 0.23747599124908447, -0.3019307553768158, 0.20385104417800903, 0.14095234870910645, -0.0337567999958992, 0.11854858696460724, -0.3981765806674957, 0.10014645755290985, -0.02071588858962059, 0.14533890783786774, -0.4663829803466797, 0.08911842852830887, 0.031161166727542877, -0.042200490832328796, -0.01877734623849392, -0.38286858797073364, -0.028434865176677704, 0.564349889755249, 0.0916503369808197, -0.012551218271255493, 0.4562235176563263, 0.03332504630088806, -0.1722191572189331, 0.15726177394390106, -0.1656969040632248, 0.41146427392959595, 0.47537535429000854, 0.1683572232723236, -0.007910171523690224, -0.149689719080925, 0.03123006969690323, 0.30732014775276184, -0.07211785018444061, 0.017517901957035065, 0.3070673942565918, 0.008096459321677685, -0.376449853181839, -0.3935258686542511, -0.014936676248908043, 0.13718748092651367, 0.09544378519058228, -0.17928779125213623, -0.0839194729924202, -0.48426494002342224, -0.3269847333431244, 0.0006023813039064407, -0.13416211307048798, -0.37353017926216125, -0.2185814082622528, 0.1684749275445938, -0.05629515275359154, -0.05220834165811539, 0.15382088720798492, -0.1609586477279663, 0.2134820967912674, 0.10489735007286072, -0.1106782779097557, -0.1424383521080017, 0.1546114981174469, -0.19045063853263855, 0.08785632252693176, 0.01885007694363594, -0.13179850578308105, 0.3323984742164612, 0.2492842823266983, 0.030068080872297287, -0.21181154251098633, -0.5036776065826416, 0.204192116856575, -0.11447308957576752, 0.27989837527275085, 0.2983725965023041, 0.23301972448825836, -0.10760834813117981, 0.05380372703075409, 0.313544362783432, -0.06224377453327179, -0.12931418418884277, -0.0946420431137085, -0.10598020255565643, 0.0820155218243599, -0.30849868059158325, -0.05990920215845108, -0.1454833298921585, -0.6194929480552673, 0.13549703359603882, -0.013257374987006187, 0.15074750781059265, 0.25930026173591614, 0.27286115288734436, -0.006221970543265343, -0.11829820275306702, 0.08610475808382034, -0.4651186168193817, -0.40325433015823364, 0.2774416208267212, -0.3350048065185547, -0.1903100609779358, -0.032557521015405655, -0.029304975643754005, 0.045893777161836624, 0.1124345064163208, -0.3977758288383484, -0.2811662256717682, -0.23821063339710236, 0.09689214825630188, -0.2588818371295929, 0.21347473561763763, 0.010147079825401306, -0.21696633100509644, -0.23950964212417603, -0.18106243014335632, -0.26209530234336853, 0.14428508281707764, -0.05390193313360214, 0.20685437321662903, 0.09451349079608917, 0.3665653169155121, 0.2938767373561859, 0.39890164136886597, 0.17947931587696075, 0.12863430380821228, 0.4301029145717621, -0.1827763468027115, 0.5406955480575562, -0.12724336981773376, 0.020528452470898628, 0.3762565553188324, 0.14987711608409882, 0.053837865591049194, 0.3191624879837036, 0.04674004018306732, 0.30809885263442993, 0.32244473695755005, 0.03156331926584244, 0.0048914626240730286, -0.3313651978969574, 0.36534225940704346, 0.23502102494239807, 0.011761508882045746, -0.16650144755840302, -0.00030492618680000305, -0.2276930809020996, 0.06369999051094055, 0.09751427173614502, 0.38345885276794434, -0.2952253818511963, 0.20003366470336914, -0.2197500765323639, -0.06368912756443024, -0.383107990026474, 0.4301717281341553, -0.03700587898492813, 0.272535502910614, -0.23416768014431, -0.17465025186538696, -0.04122951626777649, -0.09476345777511597, 0.6961961984634399, -0.12472223490476608, -0.31264859437942505, -0.14769016206264496, -0.12398684024810791, -0.1319909393787384, -0.035685088485479355, 0.1462084949016571, -0.03388626128435135, -0.11715920269489288, 0.14786866307258606, -0.6619791388511658, -0.18768538534641266, 0.15460871160030365, 0.059729356318712234, -0.17688368260860443, -0.14077447354793549, -0.44049370288848877, -0.14814600348472595, -0.4166370928287506, 0.04046844318509102, 0.08107032626867294, 0.03668162599205971, 0.09167670458555222, -0.056929707527160645, -0.026932453736662865, -0.09711925685405731, 0.18238802254199982, 0.0751604437828064, 0.31473395228385925, 0.077192522585392, 0.035987865179777145, 0.062150366604328156, 0.12149590253829956, 0.5913362503051758, 0.3885962665081024, -0.2642729580402374, -0.17628329992294312, 0.024302495643496513, -0.027455896139144897, 0.44926828145980835, 0.32760047912597656, 0.030103325843811035, 0.25159749388694763, 0.4334236681461334, 0.24239249527454376, -0.36352795362472534, 0.23607409000396729, 0.0941505953669548, -0.0579247884452343, -0.42442360520362854, -0.275795042514801, 0.36625298857688904, 0.13409985601902008, 0.08653248846530914, 0.3494168221950531, 0.393973171710968, -0.38688337802886963, 0.051006902009248734, 0.20174679160118103, 0.8922874331474304, -0.1734912246465683, 0.29919442534446716, -0.054806604981422424, -0.1476052701473236, 0.19593484699726105, -0.36292850971221924, 0.06723660230636597, -0.3291609287261963, -0.26773717999458313, 0.0422368198633194, 0.01483209803700447, 0.20797139406204224, -0.25125670433044434, -0.3903481960296631, 0.09392663091421127, 0.12435543537139893, 0.29146236181259155, -0.33466508984565735, 0.21478381752967834, -0.3914223611354828, -0.49755069613456726, -0.18480706214904785, 0.2636771500110626, -0.17540434002876282, -0.08047300577163696, -0.07332995533943176, -0.21271401643753052, -0.03611171618103981, -0.2477756142616272, -0.12672951817512512, -0.30468207597732544, -0.4034084677696228, -0.08501584827899933, 0.1355004608631134, -0.10199844092130661, 0.00232088565826416, -0.2570926249027252, 0.13152408599853516, 0.40714550018310547, -0.21508747339248657, 0.014546815305948257, -0.09928532689809799, 0.1509590595960617, -0.258022665977478, -0.12232141196727753, 0.2368178367614746, -0.08128002285957336, -0.1450880765914917, -0.03446919471025467, 0.18068334460258484, -0.059182945638895035, -0.020430460572242737, -0.263293981552124, 0.06363774836063385, -0.356279581785202, -0.01703748293220997, -0.11696116626262665, 0.10680317878723145, -0.2072521448135376, 0.18936152756214142, -0.03607431799173355, -0.03705672174692154, 0.07888029515743256, 0.26676467061042786, -0.14028185606002808, -0.28791001439094543, 0.22807061672210693, -0.2805010974407196, 0.05348525941371918, 0.05109166353940964, 0.006492055952548981, -0.22467362880706787, -0.2359738051891327, -0.003556434065103531, 0.1594451516866684, -0.05373578518629074, 0.05622586980462074, 0.20293967425823212, -0.30276501178741455, -0.11023767292499542, 0.14341318607330322, 0.26361945271492004, -0.17143887281417847, 0.1486341506242752, -0.0916610136628151, -0.5889667868614197, 0.42539721727371216, -0.5591168403625488, 0.49794015288352966, -0.08414225280284882, 0.1390964835882187, -0.1873355507850647, 0.09558960050344467, -0.43657952547073364, -0.09402409195899963, -0.0568971261382103, -0.12269549071788788, 0.09452495723962784, -0.0060191527009010315, 0.342388391494751, -0.0842161476612091, 0.15034562349319458, 0.23473678529262543, -0.34496232867240906, -0.2542577385902405, -0.22332099080085754, 0.08127882331609726, 0.020045991986989975, 0.058712877333164215, 0.12380706518888474, -0.12971600890159607, -0.2609134018421173, -0.1769890934228897, 0.42849093675613403, 0.12722891569137573, -0.09619313478469849, 0.3510817289352417, 0.09940565377473831, -0.19745665788650513, 0.23024363815784454, -0.14099383354187012, 0.39254406094551086, 0.5270063281059265, -0.07641366124153137, 0.13624680042266846, -0.3015763759613037, -0.0822489783167839, -0.1161516085267067, 0.39918702840805054, 0.23243410885334015, 0.03156062960624695, -0.014073394238948822, -0.049938544631004333, -0.036543555557727814, 0.2965140640735626, 0.468609482049942, 0.16948096454143524, -0.1389436423778534, -0.0039796121418476105, 0.27637118101119995, 0.3174634873867035, -0.014443079940974712, -0.056073274463415146, 0.12749499082565308, -0.2707602381706238, 0.1910337507724762, 0.29261651635169983, 0.3951025605201721, 0.036506883800029755, 0.070584237575531, 0.11237011104822159, 0.025243312120437622, -0.14455819129943848, 0.00009079696610569954, 0.1919572651386261, -0.059151243418455124, 0.037101857364177704, 0.3704034686088562, 0.2981071472167969, 0.48324498534202576, 0.7048311829566956, 0.07250942289829254, 0.10200352221727371, 0.2383582592010498, 0.12729007005691528, -0.022814303636550903, -0.5097511410713196, 0.04974587261676788, 0.1334620863199234, -0.04866877198219299, 0.2701885998249054, 0.1402163803577423, 0.5772204399108887, -0.048208482563495636, -0.24113954603672028, -0.14496150612831116, 0.046228110790252686, -0.377602219581604, -0.2146892547607422, 0.061168111860752106, -0.007733695209026337, -0.06582619249820709, 0.05075454339385033, 0.059483375400304794, -0.20523600280284882, 0.3231189250946045, -0.0784110277891159, 0.14326979219913483, -0.1867416650056839, 0.2900543808937073, 0.18477582931518555, 0.0832107737660408, -0.2631104290485382, 0.22613322734832764, 0.268987238407135, -0.1552770882844925, 0.31256750226020813, 0.1335899531841278, 0.44268858432769775, 0.07202757149934769, -0.040249135345220566, -0.06238116696476936, 0.022944888100028038, 0.12201707065105438, -0.2985047698020935, -0.0364675410091877, 0.33406057953834534, 0.12338855862617493, 0.28378355503082275, 0.2297208160161972, -0.22869469225406647, -0.10905918478965759, -0.12222158908843994, -0.027472876012325287, 0.0015271147713065147, 0.07727421075105667, 0.28011417388916016, 0.07282046228647232, 0.00985139049589634, -0.02684904634952545, -0.5239723920822144, -0.12962856888771057, 0.3396373391151428, 0.1519073098897934, 0.16921639442443848, -0.06405770778656006, 0.11689212918281555, 0.1337919682264328, 0.43355390429496765, -0.09470531344413757, -0.13154757022857666, -0.08814141154289246, 0.1794823259115219, -0.37025076150894165, 0.13914932310581207, -0.1243627518415451, -0.21012337505817413, -0.019785426557064056, 0.23019102215766907, 0.280603289604187, -0.3129040598869324, 0.1383497267961502, -0.20012548565864563, 0.25616276264190674, 0.09491735696792603, -0.17369703948497772, -0.09254211187362671, -0.003651566803455353, -0.03434295952320099, 0.18746669590473175, -0.34067898988723755, 0.14059852063655853, -0.1760169267654419, 0.10614406317472458, -0.4371229410171509, 0.3145768940448761, 0.05268073454499245, -0.33298540115356445, 0.4516910910606384, 0.0892823338508606, 0.27690988779067993, -0.42217546701431274, -0.20933276414871216, -0.14993572235107422, -0.08445166051387787, -0.3478569984436035, -0.08509892970323563, -0.029698293656110764, 0.24663275480270386, -0.07386300712823868, -0.4370831251144409, -0.3624805212020874, 0.2079147845506668, 0.07356926798820496, -0.12512178719043732, 0.06904710829257965, 0.4532283842563629, 0.0009377673268318176, -0.22247914969921112, 0.023798353970050812, 0.4552654027938843, 0.15514403581619263, 0.04511352628469467, -0.23058196902275085, -0.46642765402793884, 0.46729710698127747, 0.06377251446247101, -0.3143019676208496, -0.09203757345676422, 0.1933809518814087, 0.3840361535549164, -0.13315364718437195, -0.6952970027923584, 0.19452142715454102, 0.08752956241369247, 0.09290691465139389, -0.34180009365081787, 0.37066614627838135, -0.13328543305397034, -0.008453276008367538, -0.12754754722118378, 0.27181220054626465, -0.007822494953870773, -0.34040436148643494, -0.22020412981510162, -0.11655089259147644 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Did I miss a PR with this change? I want to make sure to add it to transformers tests to avoid the overheard of rebuilding the datasets. Thank you!
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
29
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Did I miss a PR with this change? I want to make sure to add it to transformers tests to avoid the overheard of rebuilding the datasets. Thank you!
[ -0.15470801293849945, -0.5690057277679443, -0.13505220413208008, -0.14401081204414368, 0.3492342233657837, 0.15982919931411743, 0.0487729087471962, 0.014366386458277702, 0.16507896780967712, 0.27656400203704834, 0.09776761382818222, -0.1898600310087204, 0.15069454908370972, 0.09833652526140213, 0.25390979647636414, -0.1736857295036316, 0.3387320935726166, 0.1393827348947525, -0.1376951038837433, -0.05671871826052666, -0.5166091918945312, 0.006819156929850578, -0.18456575274467468, -0.14929302036762238, -0.24091701209545135, 0.38051214814186096, -0.14598457515239716, 0.16255851089954376, 0.04117554426193237, -0.2710239291191101, 0.42264822125434875, 0.22645458579063416, -0.013527657836675644, 0.20152871310710907, -0.00012928625801578164, -0.034418221563100815, 0.35956305265426636, -0.21389350295066833, 0.025607284158468246, 0.31111299991607666, -0.39564478397369385, -0.2269141525030136, -0.25688666105270386, -0.11820124834775925, 0.10213569551706314, -0.15254542231559753, 0.1634199470281601, -0.44687598943710327, -0.12643828988075256, 0.365460604429245, 0.07368524372577667, 0.3658289611339569, 0.12055154144763947, -0.3018951714038849, 0.21299725770950317, 0.28393471240997314, 0.17321278154850006, 0.08553506433963776, -0.21963563561439514, 0.04083002358675003, -0.09297796338796616, 0.11844156682491302, 0.3916185796260834, 0.10984496772289276, 0.46173423528671265, 0.1337440460920334, -0.06878473609685898, 0.13862410187721252, 0.151739701628685, 0.00664597749710083, 0.5434317588806152, -0.24133440852165222, -0.32923200726509094, 0.09928471595048904, -0.11417126655578613, -0.2846308648586273, 0.0893518477678299, 0.01832657866179943, 0.029435250908136368, 0.10523165762424469, -0.2867056131362915, -0.45398005843162537, -0.15308569371700287, 0.02935994416475296, -0.19901926815509796, 0.4401593804359436, 0.036903638392686844, 0.13220147788524628, 0.10128776729106903, 0.18137867748737335, -0.02144107222557068, 0.02054055780172348, -0.0778297632932663, -0.2988683581352234, 0.0030480027198791504, -0.1646651178598404, -0.10559258610010147, -0.2993696630001068, 0.18999707698822021, -0.12691910564899445, -0.3825697898864746, -0.0557837188243866, 0.22981147468090057, -0.23929756879806519, -0.20686323940753937, 0.31095945835113525, 0.007208101451396942, 0.4599073529243469, 0.12106800079345703, 0.08952000737190247, 0.09215059876441956, -0.03404311090707779, 0.27070367336273193, -0.09583663940429688, 0.02341292053461075, 0.18065395951271057, 0.11275403201580048, -0.3230460286140442, 0.10833505541086197, 0.16707728803157806, 0.0055207498371601105, -0.3550877869129181, -0.0715041533112526, 0.42719021439552307, 0.07966435700654984, 0.10379352420568466, 0.03484247624874115, -0.11333219707012177, -0.09368889778852463, 0.1339830607175827, -0.3035846948623657, -0.04556751623749733, -0.034434374421834946, 0.0999012365937233, 0.029781263321638107, 0.22403015196323395, 0.21737040579319, -0.18585069477558136, 0.41743552684783936, 0.1540498286485672, -0.0497298538684845, 0.17859913408756256, 0.5152790546417236, 0.5194544792175293, -0.43512576818466187, 0.20298796892166138, 0.2726200520992279, 0.10667577385902405, -0.29328012466430664, 0.25617650151252747, -0.030757620930671692, -0.6137127876281738, -0.22336818277835846, 0.006046781316399574, -0.24543538689613342, -0.3153798580169678, 0.04122210666537285, 0.2885524332523346, 0.2625575661659241, -0.11312958598136902, 0.5205161571502686, -0.07326657325029373, -0.41725414991378784, -0.030120782554149628, 0.25681906938552856, 0.2647990584373474, -0.3687625527381897, -0.28382033109664917, 0.23160098493099213, -0.01643836498260498, 0.29105374217033386, 0.1680576205253601, -0.2009272575378418, -0.1321106255054474, -0.15402686595916748, -0.2146485447883606, -0.173740416765213, -0.5000808238983154, -0.5297609567642212, 0.23070725798606873, -0.19889886677265167, -0.0832357406616211, 0.34676238894462585, -0.17048650979995728, -0.03116288036108017, -0.18083544075489044, -0.10236424207687378, 0.07561299204826355, 0.00816340185701847, 0.047200754284858704, -0.3658292293548584, -0.1599421352148056, 0.29117369651794434, 0.052095312625169754, 0.12495492398738861, 0.11174245178699493, -0.1271565556526184, 0.2178259938955307, 0.21236565709114075, -0.2579844892024994, 0.17594802379608154, 0.28198379278182983, 0.39786356687545776, -0.030976541340351105, 0.19595152139663696, 0.17415615916252136, -0.31325799226760864, -0.07423582673072815, -0.26961129903793335, 0.09852561354637146, -0.04836715757846832, -0.3452147841453552, -0.12296850234270096, -0.038067206740379333, 0.06975573301315308, -0.3107074499130249, -0.13510538637638092, 0.16323208808898926, -0.018879510462284088, -0.1565750688314438, -0.009242873638868332, 0.13119851052761078, -0.0791713073849678, 0.11479251831769943, -0.14366959035396576, 0.16049572825431824, -0.0936892181634903, 0.212931826710701, -0.34537822008132935, 0.13923417031764984, -0.18161454796791077, -0.29717668890953064, -0.4301535487174988, 0.4689432382583618, -0.09304238855838776, -0.21913738548755646, 0.3205164074897766, -0.007567480206489563, 0.29211893677711487, -0.5549381971359253, 0.38522347807884216, 0.045636482536792755, -0.12445336580276489, 0.16679763793945312, -0.5304005146026611, 0.04847273230552673, -0.18328815698623657, -0.07099040597677231, -0.11543849855661392, -0.2595609426498413, -0.04699195921421051, -0.041408129036426544, -0.1053631603717804, -0.1849384307861328, -0.04774515703320503, 0.09486061334609985, 0.11062750220298767, 0.1030067577958107, -0.1738552451133728, -0.03006099909543991, 0.4401699900627136, -0.3075924813747406, -0.22101274132728577, 0.4150683879852295, -0.052670158445835114, -0.3930043578147888, 0.15133357048034668, -0.14959239959716797, 0.7363463640213013, 0.2333049327135086, 0.20648089051246643, 0.06874673068523407, -0.0003572637215256691, -0.07103231549263, 0.3715288043022156, 0.21428240835666656, -0.16060231626033783, 0.2416059970855713, 0.18630224466323853, -0.13309884071350098, -0.3580523431301117, -0.1045704334974289, 0.2606804072856903, 0.17352145910263062, -0.3785686492919922, 0.03180612623691559, -0.07567150145769119, -0.00955120101571083, -0.14596010744571686, -0.31039783358573914, -0.19465777277946472, -0.37679624557495117, 0.14460700750350952, -0.3853929340839386, -0.1063484400510788, 0.2627379894256592, 0.2598046660423279, 0.42850303649902344, 0.09070523083209991, -0.2787933051586151, -0.31016480922698975, 0.23556864261627197, -0.16081511974334717, -0.09666579961776733, -0.14795824885368347, 0.027243847027420998, -0.017003623768687248, 0.08938363194465637, 0.20906522870063782, -0.2966058552265167, -0.728137195110321, -0.13036806881427765, -0.14562900364398956, 0.34778741002082825, 0.39446303248405457, 0.008401930332183838, 0.07585247606039047, -0.21232196688652039, -0.001461400417611003, -0.06884880363941193, 0.00033226795494556427, -0.11802166700363159, -0.2471209168434143, 0.05579724162817001, -0.054866328835487366, -0.35922250151634216, -0.17346684634685516, -0.3565084934234619, 0.36477625370025635, -0.10956703126430511, -0.004628725349903107, 0.4040969908237457, 0.015072847716510296, -0.09343661367893219, -0.01457391306757927, -0.26558491587638855, -0.39035505056381226, -0.28089213371276855, 0.27677464485168457, -0.1408555805683136, -0.11242920160293579, -0.2823214828968048, -0.2777095437049866, 0.05122207850217819, 0.058369413018226624, -0.3007103204727173, -0.07530004531145096, -0.33003541827201843, 0.1678835153579712, -0.24611422419548035, 0.33661603927612305, 0.28104108572006226, -0.3160867393016815, 0.006806334480643272, -0.03968386724591255, -0.19743391871452332, -0.05167197436094284, 0.1260543167591095, 0.4185903072357178, -0.22315892577171326, 0.1619846224784851, 0.09074482321739197, 0.5482894778251648, 0.08744096755981445, -0.0038003362715244293, 0.07842803746461868, -0.13222496211528778, 0.4069049060344696, -0.09595591574907303, -0.21020963788032532, 0.22310838103294373, 0.15610747039318085, -0.23334242403507233, 0.14399097859859467, -0.1680574119091034, 0.202742800116539, 0.5079861879348755, -0.10927405953407288, 0.2369937002658844, -0.1664993017911911, 0.18253882229328156, 0.06720830500125885, 0.19814777374267578, 0.16201181709766388, -0.003802686929702759, -0.39455220103263855, 0.01805371232330799, 0.30978527665138245, 0.39518827199935913, -0.015312597155570984, -0.022945592179894447, -0.28680452704429626, -0.10591958463191986, -0.42756640911102295, 0.43334007263183594, 0.061840735375881195, 0.5206252932548523, 0.12174147367477417, -0.41325247287750244, -0.06323203444480896, 0.06238497793674469, 1.0017751455307007, -0.32200998067855835, -0.3220163583755493, -0.1966378092765808, -0.09972710907459259, -0.05423028767108917, -0.267426997423172, -0.15347228944301605, 0.0334349125623703, -0.05294409021735191, 0.4437555968761444, -0.3163094222545624, -0.24985815584659576, 0.7423256635665894, -0.12464234232902527, -0.038041554391384125, -0.28322234749794006, -0.4412824809551239, -0.13076382875442505, -0.26011034846305847, 0.39267513155937195, -0.0730072632431984, 0.05059836059808731, 0.0910143181681633, 0.048722002655267715, 0.012198970653116703, 0.11067690700292587, -0.003314957022666931, -0.09385336935520172, 0.058906517922878265, 0.27695590257644653, -0.07208317518234253, 0.050312697887420654, -0.20917090773582458, 0.14153821766376495, 0.11218763887882233, -0.2211916446685791, -0.16405418515205383, 0.15647491812705994, -0.06728260964155197, 0.5424033403396606, 0.37227368354797363, 0.0076982975006103516, 0.13899077475070953, 0.39646685123443604, 0.5236294865608215, -0.22161443531513214, 0.2989456355571747, 0.15664182603359222, 0.17877638339996338, -0.5127758383750916, -0.24148336052894592, 0.641194224357605, 0.12147827446460724, 0.04115888476371765, 0.3870328366756439, 0.37546050548553467, -0.2660651206970215, 0.34845954179763794, 0.20155268907546997, 0.877942681312561, -0.12123896181583405, 0.26877933740615845, -0.09084352105855942, -0.24004150927066803, 0.3066147565841675, -0.35641056299209595, 0.040614575147628784, -0.17529337108135223, -0.5450671315193176, -0.10646435618400574, -0.1433524787425995, 0.2676416039466858, -0.2992783784866333, -0.34368929266929626, 0.2421342432498932, 0.3626934885978699, 0.16427986323833466, -0.034054480493068695, 0.2660209834575653, -0.011337654665112495, -0.28433701395988464, 0.3313201069831848, 0.0031444355845451355, 0.10726699233055115, 0.2591354250907898, 0.03412027657032013, 0.11037178337574005, -0.23896880447864532, -0.3009963035583496, -0.2780618965625763, -0.31944727897644043, -0.11353140324354172, 0.012394373305141926, 0.49776434898376465, -0.16455894708633423, 0.3224498927593231, -0.16050952672958374, 0.3037424385547638, 0.5091472864151001, -0.22053182125091553, 0.2352357804775238, -0.2587263584136963, 0.3860986530780792, 0.041707247495651245, -0.07937347143888474, 0.1027151346206665, 0.15284955501556396, -0.23798145353794098, -0.11801560968160629, -0.155301034450531, -0.25895586609840393, -0.1945270299911499, -0.3442220687866211, -0.018395476043224335, -0.5026379823684692, 0.029027875512838364, 0.1565510630607605, -0.14920467138290405, -0.2147345393896103, -0.025497112423181534, -0.24662663042545319, -0.2547087073326111, 0.09439580142498016, -0.006102297455072403, -0.5667333602905273, -0.2151077687740326, 0.2656189203262329, -0.15095284581184387, 0.08869443833827972, 0.31254690885543823, -0.07937595993280411, 0.04410286247730255, -0.07883080840110779, -0.2291404902935028, 0.3240271210670471, -0.41465604305267334, 0.012007901445031166, -0.08394310623407364, -0.2119506299495697, -0.071669802069664, 0.27144163846969604, 0.4006657600402832, 0.11315463483333588, -0.09873881936073303, 0.08550432324409485, -0.7299066185951233, 0.1257425844669342, -0.37139055132865906, 0.533968448638916, -0.11918067187070847, 0.1621275395154953, -0.07161646336317062, 0.16422618925571442, -0.17673161625862122, -0.035203397274017334, -0.017430905252695084, -0.12204436957836151, -0.01790112629532814, -0.06505273282527924, 0.29624855518341064, -0.18885712325572968, 0.022256704047322273, 0.16848056018352509, -0.17742861807346344, -0.02307691052556038, -0.28388461470603943, 0.22120244801044464, 0.12365253269672394, 0.04269181936979294, -0.0527523010969162, 0.2928709387779236, 0.02494862861931324, -0.10619073361158371, 0.20498378574848175, 0.008141957223415375, 0.005858168005943298, 0.5855298638343811, 0.16561418771743774, -0.3534369468688965, 0.12885534763336182, -0.017706044018268585, 0.4718211591243744, 0.29959017038345337, -0.05557789281010628, 0.39787331223487854, -0.19811759889125824, -0.024988900870084763, -0.327251672744751, 0.38587915897369385, 0.29622507095336914, 0.03523309901356697, -0.1545635461807251, 0.014271080493927002, -0.0628083124756813, 0.0835534855723381, 0.32003962993621826, 0.28712502121925354, -0.12677451968193054, -0.17002633213996887, -0.08040213584899902, 0.013692050240933895, -0.07743348181247711, -0.05100110545754433, 0.16699978709220886, -0.08628378808498383, -0.06646431237459183, 0.20905083417892456, 0.5586308240890503, 0.14871564507484436, 0.44475311040878296, 0.26078924536705017, 0.3779163956642151, -0.04981011897325516, 0.0934230238199234, 0.26900801062583923, -0.09007832407951355, 0.23241393268108368, 0.6214103698730469, 0.1458970010280609, 0.38946732878685, 0.5464438796043396, 0.3050588369369507, 0.2621484398841858, 0.00910249538719654, 0.3417167067527771, -0.2120923101902008, -0.31973305344581604, 0.20025105774402618, -0.011984005570411682, 0.015923164784908295, 0.026547357439994812, 0.33969026803970337, 0.49938809871673584, -0.046652041375637054, -0.10023830085992813, -0.25336605310440063, 0.04694641754031181, -0.08093632012605667, -0.48584631085395813, 0.33787718415260315, 0.21890303492546082, -0.10535198450088501, 0.11557413637638092, 0.10972960293292999, -0.25243955850601196, 0.48030582070350647, -0.09610714018344879, 0.02204965054988861, -0.0937044769525528, 0.4228436052799225, 0.00388166680932045, -0.0805281326174736, -0.270711213350296, 0.09142555296421051, 0.2868102788925171, -0.23000389337539673, 0.40198788046836853, 0.17308567464351654, 0.3786969780921936, -0.15896528959274292, 0.10174156725406647, 0.15704797208309174, -0.029848787933588028, -0.09549245983362198, 0.11844184994697571, 0.30239129066467285, 0.0670013576745987, 0.2185167521238327, -0.10936778783798218, 0.12176281213760376, -0.07388935983181, 0.04548043757677078, -0.0014312081038951874, -0.05049026384949684, -0.2634666860103607, 0.33206257224082947, 0.2563357949256897, -0.05599941685795784, 0.0247177816927433, 0.20098337531089783, -0.29670464992523193, 0.15100598335266113, 0.19506515562534332, 0.06717843562364578, 0.04678211361169815, 0.25450778007507324, -0.024328386411070824, 0.0706370621919632, 0.44123175740242004, 0.3046189248561859, 0.13729339838027954, -0.3476954698562622, 0.029676631093025208, -0.48528575897216797, 0.22512690722942352, 0.3219302296638489, -0.06649160385131836, 0.05410156026482582, 0.16383123397827148, 0.07660786807537079, -0.37746506929397583, 0.053641177713871, -0.13672417402267456, 0.27194944024086, 0.18525893986225128, -0.07620725780725479, 0.13436605036258698, 0.09183631837368011, 0.09714923053979874, 0.08887133747339249, -0.12550301849842072, 0.2764918804168701, 0.49376824498176575, -0.1675029695034027, -0.5334219336509705, 0.14512929320335388, 0.3242820203304291, -0.21526414155960083, 0.38875195384025574, 0.022688165307044983, 0.5869424343109131, -0.19931858777999878, -0.05024201422929764, -0.07594294846057892, -0.24029742181301117, -0.24687334895133972, -0.023619666695594788, -0.30392107367515564, 0.3544238805770874, 0.1041802242398262, -0.29937416315078735, -0.2099969983100891, 0.08319618552923203, 0.08353433012962341, -0.06414874643087387, -0.40518417954444885, 0.31858986616134644, -0.19447964429855347, -0.1454046219587326, 0.24711047112941742, 0.30114293098449707, 0.263837993144989, 0.22641359269618988, -0.23846454918384552, -0.16612458229064941, 0.636674165725708, -0.04856838285923004, -0.3280676305294037, -0.22091205418109894, 0.1555476039648056, 0.2637564241886139, -0.31603875756263733, -0.6002556085586548, -0.13374657928943634, 0.2644757330417633, -0.02328389883041382, -0.4374998211860657, 0.5590771436691284, 0.033998697996139526, 0.24830685555934906, -0.18569718301296234, 0.5681557655334473, -0.18639498949050903, -0.24805855751037598, -0.19934001564979553, -0.32266736030578613 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
@stas00 I'm taking on this now that I have finally finished the collaborative training experiment. Sorry for the delay.
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
19
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ @stas00 I'm taking on this now that I have finally finished the collaborative training experiment. Sorry for the delay.
[ -0.2586918771266937, -0.49766242504119873, -0.11056390404701233, 0.07893665879964828, 0.30665087699890137, -0.02247806265950203, 0.16517190635204315, 0.3094644844532013, 0.08874103426933289, 0.4350341558456421, -0.024027489125728607, -0.131418839097023, -0.049940042197704315, 0.42555171251296997, 0.0016347821801900864, -0.019482403993606567, 0.029708586633205414, 0.09754518419504166, -0.22033953666687012, -0.1652596890926361, -0.1936100870370865, 0.013750826008617878, -0.002550959587097168, -0.3546699285507202, -0.23468005657196045, 0.10939376801252365, -0.040672507137060165, 0.28602346777915955, -0.17608915269374847, -0.22503016889095306, 0.05977894365787506, 0.19582712650299072, -0.17338122427463531, 0.2386651337146759, -0.00010267262405250221, -0.06334920227527618, 0.1774597465991974, -0.1340053379535675, -0.12770585715770721, 0.14803142845630646, -0.11798496544361115, -0.13820204138755798, -0.15059636533260345, -0.13260650634765625, -0.3033081591129303, -0.1344117671251297, 0.14186690747737885, -0.37080731987953186, 0.12191972881555557, 0.3031882345676422, 0.31433552503585815, 0.28110557794570923, 0.09000736474990845, -0.32912540435791016, 0.0394316166639328, 0.07147955149412155, 0.016185248270630836, 0.1249690055847168, -0.00850646197795868, -0.051308855414390564, -0.18604454398155212, 0.27203479409217834, 0.4752746820449829, 0.15111377835273743, 0.39297905564308167, 0.06282231956720352, -0.08498240262269974, 0.02036765217781067, 0.08072928339242935, 0.06025237962603569, 0.33365991711616516, -0.025783799588680267, -0.0718877986073494, -0.006316680461168289, 0.07831564545631409, -0.3904527425765991, 0.1324574053287506, 0.21241819858551025, -0.23622746765613556, 0.016351211816072464, -0.3548387885093689, -0.06573404371738434, -0.2984279990196228, 0.08412932604551315, 0.06003434211015701, 0.18073105812072754, -0.12086781859397888, -0.055773861706256866, 0.39010271430015564, -0.09494012594223022, -0.358431875705719, 0.3672108054161072, -0.024896759539842606, -0.10634128004312515, -0.18309861421585083, -0.15659351646900177, 0.12138006836175919, -0.14938035607337952, 0.45372503995895386, -0.21927566826343536, -0.09000945091247559, 0.052076779305934906, 0.35581281781196594, 0.05213335156440735, -0.08919261395931244, 0.22491908073425293, -0.06104116886854172, 0.17398372292518616, 0.09566881507635117, 0.2508549988269806, -0.15016457438468933, -0.053647011518478394, 0.11698519438505173, -0.17024993896484375, -0.24176381528377533, -0.14381998777389526, -0.06164262816309929, -0.18785683810710907, -0.032061897218227386, 0.3365367650985718, 0.002879265695810318, 0.04402356594800949, -0.08483092486858368, 0.5310840606689453, -0.10078386962413788, -0.06572601199150085, 0.12297579646110535, -0.021190989762544632, -0.23216132819652557, -0.15476399660110474, -0.3399530351161957, 0.02497945725917816, -0.34514763951301575, 0.20578867197036743, 0.12711027264595032, 0.07982722669839859, 0.2535892724990845, -0.04792250692844391, 0.5561602115631104, 0.06767287105321884, 0.001798713579773903, 0.004980096593499184, 0.39346277713775635, 0.13502918183803558, -0.012823069468140602, -0.11326009780168533, 0.13760286569595337, -0.0076818764209747314, -0.1448904573917389, -0.16019386053085327, -0.11860569566488266, -0.23957248032093048, -0.2627512514591217, 0.2633889317512512, 0.038917165249586105, 0.05882291495800018, 0.0455358624458313, 0.38117483258247375, 0.12321363389492035, 0.1282922774553299, 0.21250584721565247, 0.06552459299564362, -0.40951502323150635, -0.15082648396492004, 0.3477674126625061, 0.3177422881126404, -0.16189225018024445, -0.1638306975364685, 0.4406849443912506, 0.05307085067033768, 0.12292252480983734, 0.3005857467651367, -0.11573772132396698, -0.20622628927230835, -0.1273428201675415, 0.10665300488471985, -0.04136902838945389, -0.4141163229942322, -0.3612183928489685, 0.1264876127243042, -0.26894843578338623, -0.020656844601035118, 0.13575255870819092, -0.15329264104366302, 0.17420214414596558, 0.16996268928050995, 0.13826557993888855, 0.40172308683395386, -0.078497976064682, 0.04589184373617172, -0.4162653982639313, -0.1541098952293396, -0.12165744602680206, 0.05786826089024544, 0.12620915472507477, -0.10280438512563705, -0.059307537972927094, 0.03023674711585045, 0.20649167895317078, -0.2923179268836975, 0.3650864362716675, 0.3150481581687927, 0.21854150295257568, 0.0878370851278305, 0.07790223509073257, 0.10022034496068954, -0.09356138855218887, 0.07725095003843307, -0.024843931198120117, 0.1527566909790039, 0.07906058430671692, -0.2734554409980774, -0.08901353180408478, -0.06014261394739151, 0.026382774114608765, -0.18512053787708282, 0.2104102522134781, 0.10759781301021576, 0.010522361844778061, -0.02780541218817234, 0.0034848377108573914, 0.5338875651359558, -0.3202546536922455, 0.19111037254333496, -0.24840395152568817, 0.1706167608499527, -0.21549178659915924, -0.03927949443459511, 0.07312202453613281, 0.23391160368919373, -0.049357786774635315, 0.011726130731403828, -0.11959712952375412, 0.3571816384792328, -0.17883656919002533, -0.14044375717639923, 0.23634681105613708, -0.027649208903312683, 0.02641408145427704, -0.3167845904827118, 0.16681289672851562, -0.09739872813224792, -0.0779799297451973, 0.1471664309501648, -0.17282554507255554, 0.19447319209575653, 0.009434401988983154, -0.10826360434293747, 0.1045285016298294, -0.22938823699951172, -0.003946468234062195, -0.13358405232429504, -0.04139856994152069, -0.2563146948814392, 0.29096466302871704, -0.17800650000572205, 0.17520900070667267, -0.030142182484269142, -0.5545363426208496, 0.10587231814861298, 0.49452853202819824, 0.014005955308675766, -0.058050401508808136, 0.32060539722442627, -0.015948131680488586, -0.14963757991790771, 0.0702846422791481, -0.145192489027977, 0.33526498079299927, 0.3840305805206299, 0.15387161076068878, 0.033600952476263046, -0.07184949517250061, -0.12972313165664673, 0.135226771235466, -0.20679984986782074, -0.021116890013217926, 0.19700148701667786, 0.2513275444507599, -0.25944551825523376, -0.3779396712779999, 0.02808254584670067, 0.015841828659176826, 0.162875697016716, -0.1631585955619812, 0.047284096479415894, -0.144478440284729, -0.24195823073387146, -0.037563256919384, -0.050113826990127563, -0.17898312211036682, -0.12834323942661285, 0.22128477692604065, 0.049094948917627335, -0.11441835761070251, 0.2256651073694229, 0.021283965557813644, 0.4492228031158447, 0.1204628199338913, 0.09545348584651947, 0.0004892349243164062, 0.2872293293476105, -0.20168858766555786, 0.17410245537757874, -0.045077137649059296, -0.020245522260665894, 0.3364429175853729, 0.017063209787011147, 0.13956555724143982, -0.07505326718091965, -0.4038095772266388, 0.07881288975477219, -0.19395166635513306, 0.21283003687858582, 0.18413344025611877, 0.17525002360343933, -0.21396350860595703, -0.25532621145248413, 0.2896052598953247, -0.2763094902038574, -0.158145472407341, -0.18524616956710815, -0.04865572974085808, -0.03828589618206024, -0.27345359325408936, -0.2964523434638977, -0.0480174645781517, -0.6019563674926758, 0.32793354988098145, -0.037693753838539124, 0.09295035898685455, 0.4850565195083618, 0.2562559247016907, 0.05560082197189331, -0.09366302937269211, 0.010545111261308193, -0.557853102684021, -0.5199117064476013, 0.255247563123703, -0.39163994789123535, -0.3529919981956482, -0.13878120481967926, 0.02561727538704872, 0.1710163801908493, 0.04078051075339317, -0.33671844005584717, -0.22597213089466095, -0.15023623406887054, 0.14167644083499908, -0.3370903432369232, 0.24845975637435913, 0.1253044456243515, -0.24807700514793396, -0.2972075641155243, -0.18771463632583618, -0.1195010393857956, 0.32839837670326233, -0.07482083141803741, 0.11814679205417633, -0.1140560731291771, 0.21483850479125977, 0.23031029105186462, 0.6079146265983582, 0.09806676208972931, -0.062176015228033066, 0.3898809850215912, -0.1385176032781601, 0.41559022665023804, -0.0779673233628273, -0.1637066900730133, 0.3668237328529358, 0.20446664094924927, 0.05867446959018707, 0.4428058862686157, -0.042111411690711975, 0.08229821175336838, 0.32889324426651, -0.06667637079954147, 0.056107789278030396, -0.267583966255188, 0.22377566993236542, 0.14046607911586761, 0.13971099257469177, -0.18112152814865112, -0.03315673768520355, -0.24655163288116455, -0.13423338532447815, 0.06988833844661713, 0.211225688457489, -0.24072054028511047, 0.03547985851764679, -0.21774008870124817, -0.013272390700876713, -0.45396971702575684, 0.3406493663787842, 0.004606179893016815, 0.2641628682613373, -0.27525490522384644, -0.31292250752449036, -0.013139724731445312, 0.028546780347824097, 0.6950777173042297, -0.036920398473739624, -0.3025748133659363, -0.15034574270248413, -0.07420603185892105, -0.028613142669200897, -0.04033271223306656, -0.0036995671689510345, -0.05656065046787262, -0.024313945323228836, 0.29171139001846313, -0.30059143900871277, -0.2524990439414978, 0.4414151608943939, -0.18367210030555725, -0.02382044494152069, -0.06951992213726044, -0.39246225357055664, -0.2217305302619934, -0.3029313385486603, 0.3441068232059479, -0.024223197251558304, 0.23577575385570526, 0.09349984675645828, -0.022003816440701485, 0.1353084295988083, -0.027620844542980194, 0.12511762976646423, 0.1676456779241562, 0.2518889605998993, 0.21399183571338654, 0.15521655976772308, 0.1138712614774704, 0.10045519471168518, 0.34454140067100525, 0.28485244512557983, -0.18128341436386108, -0.07761096954345703, -0.03180474787950516, -0.08024976402521133, 0.5240786075592041, 0.3490619659423828, -0.0017267563380300999, 0.287557452917099, 0.07803604006767273, 0.5380562543869019, -0.3213055431842804, 0.42656365036964417, 0.17144079506397247, 0.03083348274230957, -0.35414522886276245, -0.1728312075138092, 0.2919527292251587, -0.09242413938045502, 0.14494583010673523, 0.33069777488708496, 0.3730190396308899, -0.2755454480648041, 0.1339295506477356, 0.09754624217748642, 0.8706701397895813, -0.11279039084911346, 0.3204830288887024, 0.08629696071147919, -0.09910447895526886, 0.11765395849943161, -0.37018251419067383, 0.16345395147800446, -0.27246662974357605, -0.3752826750278473, 0.07072983682155609, 0.032038915902376175, 0.21287134289741516, -0.2196422666311264, -0.28157129883766174, 0.04272262379527092, 0.1424817442893982, 0.06982523947954178, -0.2956469655036926, 0.23539242148399353, -0.042890578508377075, -0.488477498292923, -0.1217324435710907, 0.2950369119644165, -0.0012118369340896606, -0.02993709221482277, -0.0003096535801887512, -0.15973493456840515, -0.16250474750995636, -0.2944750189781189, -0.04508349671959877, -0.06683513522148132, -0.31527549028396606, -0.10245014727115631, 0.21753764152526855, -0.17559805512428284, 0.14416679739952087, -0.17676162719726562, 0.21564429998397827, 0.3816032111644745, -0.18898631632328033, 0.08569662272930145, -0.13288411498069763, 0.07188577950000763, -0.18292175233364105, -0.07555965334177017, 0.305369108915329, -0.07454951852560043, -0.21011897921562195, -0.08220107108354568, 0.19919326901435852, -0.1621168851852417, -0.10558168590068817, -0.17376857995986938, -0.0777319073677063, -0.42352887988090515, 0.041132792830467224, -0.04540836811065674, 0.0009343549609184265, -0.12207604944705963, 0.23254500329494476, -0.052552156150341034, -0.2640531361103058, -0.03787848353385925, 0.3567820191383362, -0.3169570565223694, -0.1334964632987976, 0.32611557841300964, -0.02737826481461525, 0.1838354468345642, 0.3711959421634674, 0.11180384457111359, -0.025905247777700424, -0.3246462345123291, -0.24119031429290771, 0.5313525795936584, -0.20654964447021484, 0.029627632349729538, 0.16261614859104156, -0.2652769982814789, 0.020871387794613838, 0.27477946877479553, 0.14172768592834473, -0.04131434112787247, 0.11964663863182068, -0.00797685980796814, -0.66224604845047, 0.18421855568885803, -0.4348408281803131, 0.44812601804733276, -0.03214231878519058, 0.3356146216392517, -0.11202732473611832, 0.22392570972442627, -0.47137799859046936, -0.01591903157532215, -0.3615863621234894, -0.00022967159748077393, 0.07848779857158661, -0.2681109309196472, 0.4048580825328827, -0.12140001356601715, 0.22339661419391632, 0.2241576611995697, -0.3947208523750305, -0.33670833706855774, -0.20908580720424652, 0.06294979900121689, 0.014159904792904854, 0.012164056301116943, 0.14062921702861786, 0.053028255701065063, -0.32509976625442505, -0.1699937880039215, 0.3271741569042206, 0.14086315035820007, -0.04305905103683472, 0.24451260268688202, 0.07461252808570862, -0.1442241370677948, 0.27789270877838135, -0.24250558018684387, 0.3725452721118927, 0.36811912059783936, -0.13425660133361816, -0.03021879494190216, -0.3891771137714386, -0.10302324593067169, -0.07095716148614883, 0.42096996307373047, 0.29825904965400696, 0.020227741450071335, -0.05619295686483383, -0.02380182594060898, -0.3231978118419647, 0.04807513207197189, 0.4945508539676666, 0.03901371732354164, -0.20474734902381897, -0.014454289339482784, 0.2058514654636383, 0.3246442675590515, -0.13291192054748535, -0.00022020410688128322, 0.10981778800487518, -0.28712812066078186, 0.1962386965751648, 0.25726163387298584, 0.3494620621204376, 0.07753588259220123, 0.02054407447576523, 0.20279762148857117, -0.08213742822408676, -0.06868544220924377, 0.0583406463265419, -0.010493922978639603, -0.07155010104179382, 0.03600434213876724, 0.40814197063446045, 0.11040642857551575, 0.3592101037502289, 0.4049210548400879, -0.026749014854431152, 0.2698938548564911, 0.03127679601311684, 0.08132258802652359, 0.01943378895521164, -0.3160271644592285, 0.07246410846710205, 0.11062927544116974, 0.045301418751478195, 0.2304503619670868, -0.06486794352531433, 0.6559597849845886, -0.10223439335823059, -0.5242066383361816, -0.2002907246351242, 0.02553350105881691, -0.4263359308242798, -0.10919654369354248, 0.15706805884838104, -0.028041772544384003, -0.3252757489681244, 0.0810660570859909, 0.14203014969825745, -0.19943015277385712, 0.4856714606285095, -0.14138305187225342, 0.024190708994865417, -0.1009569764137268, 0.018112892284989357, 0.2757842242717743, 0.07470771670341492, -0.28719422221183777, 0.237409770488739, 0.024774104356765747, -0.215558260679245, 0.2289867401123047, 0.2746504843235016, 0.31596019864082336, 0.11394435912370682, 0.07954755425453186, 0.1098611131310463, 0.10355274379253387, -0.03857232630252838, -0.14934095740318298, 0.17762182652950287, 0.34919604659080505, -0.05819828435778618, 0.21501903235912323, 0.2168995440006256, -0.3151128888130188, 0.026520365849137306, -0.10407453775405884, -0.0410894937813282, -0.20349493622779846, 0.028654560446739197, 0.12457335740327835, 0.1349215805530548, -0.2715586721897125, -0.0732463076710701, -0.6468775868415833, 0.07829061150550842, 0.2911642789840698, 0.19372057914733887, 0.16778820753097534, -0.15074050426483154, 0.14279532432556152, -0.004927905276417732, 0.5540207624435425, 0.18379296362400055, -0.057515233755111694, -0.28512126207351685, -0.1557650864124298, -0.34849807620048523, 0.4026038944721222, -0.12360256910324097, -0.17678315937519073, -0.17537683248519897, 0.3353094458580017, 0.14596965909004211, -0.35616856813430786, 0.17677995562553406, -0.292764276266098, 0.21696200966835022, 0.06675375252962112, -0.2998979091644287, 0.07057127356529236, -0.2069549709558487, -0.10839585959911346, 0.23889195919036865, -0.15773487091064453, 0.14023776352405548, -0.0347023531794548, 0.13952472805976868, -0.16042080521583557, 0.24668624997138977, 0.016532737761735916, -0.29968953132629395, 0.303605854511261, -0.058728255331516266, 0.3092804551124573, -0.26912036538124084, -0.18716533482074738, -0.2586529552936554, -0.10415663570165634, -0.33014535903930664, -0.10158232599496841, 0.12917929887771606, 0.4369991719722748, -0.07137633115053177, -0.3196888864040375, -0.22479519248008728, 0.12442319095134735, 0.18174661695957184, 0.14116699993610382, 0.016118895262479782, 0.41871193051338196, 0.03525066375732422, -0.1301955133676529, 0.15028825402259827, 0.5023343563079834, 0.07237128913402557, -0.05388721823692322, -0.37069928646087646, -0.41333964467048645, 0.6005821228027344, -0.41388964653015137, -0.3956947922706604, -0.1190314069390297, 0.23835866153240204, 0.25768864154815674, -0.24906206130981445, -0.736645519733429, 0.11461933702230453, 0.04316312074661255, 0.03741706162691116, -0.35073912143707275, 0.5245732069015503, -0.11971381306648254, 0.08393751084804535, -0.028555437922477722, 0.37285923957824707, 0.07401491701602936, -0.2279750406742096, 0.06764958798885345, -0.25090888142585754 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Actually, why is this feature on by default? Users are very unlikely to understand what is going on or to know where to look. Should it at the very least emit a warning that this was done w/o asking the user to do so and how to turn it off? IMHO, this feature should be enabled explicitly by those who want it and not be On by default. This is an optimization that benefits only select users and is a burden on the rest. In my line of dev/debug work (multiple short runs that have to be very fast) now I have to remember to disable this feature explicitly on every machine I work :(
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
115
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Actually, why is this feature on by default? Users are very unlikely to understand what is going on or to know where to look. Should it at the very least emit a warning that this was done w/o asking the user to do so and how to turn it off? IMHO, this feature should be enabled explicitly by those who want it and not be On by default. This is an optimization that benefits only select users and is a burden on the rest. In my line of dev/debug work (multiple short runs that have to be very fast) now I have to remember to disable this feature explicitly on every machine I work :(
[ -0.16956882178783417, -0.8012021780014038, -0.01855098083615303, -0.06366893649101257, 0.356589138507843, 0.13016119599342346, 0.05108663812279701, 0.06513065099716187, 0.26335278153419495, 0.6296817064285278, 0.30554530024528503, -0.13190191984176636, 0.17581495642662048, 0.189445361495018, -0.03624594584107399, 0.06794646382331848, 0.21780714392662048, 0.2742660641670227, -0.09893608093261719, -0.2668300271034241, -0.3667324185371399, -0.11610977351665497, -0.08638706803321838, -0.10149313509464264, -0.280300498008728, 0.2139112502336502, 0.1900417059659958, 0.014677423983812332, -0.2574079632759094, -0.28941163420677185, 0.1449146717786789, 0.05849047750234604, -0.05054248124361038, -0.053799666464328766, -0.0001268885243916884, -0.25900089740753174, 0.3647698163986206, -0.03130090981721878, -0.2671473026275635, 0.13513946533203125, -0.3791174590587616, -0.23531849682331085, 0.05378935486078262, -0.33799540996551514, 0.21036508679389954, -0.07059895247220993, 0.2755284011363983, -0.6114509701728821, -0.06775778532028198, 0.08439347892999649, 0.06236591190099716, -0.00822676345705986, -0.17616069316864014, -0.21879063546657562, 0.24493205547332764, 0.2580235004425049, -0.1153031662106514, 0.10678063333034515, -0.2734130024909973, 0.02256692387163639, -0.10503009706735611, 0.18742236495018005, 0.21320480108261108, 0.2050444781780243, 0.6085518598556519, -0.047599006444215775, 0.04122641682624817, -0.20609763264656067, 0.08041796088218689, 0.3911735415458679, 0.40387383103370667, -0.10408546775579453, 0.1508832722902298, 0.019238881766796112, -0.09412176162004471, -0.333556592464447, 0.21449893712997437, 0.22690540552139282, 0.027374688535928726, 0.22838877141475677, -0.24338608980178833, -0.2631545662879944, -0.11295665055513382, 0.11372233927249908, -0.03261841833591461, 0.25575879216194153, -0.2383536845445633, 0.23328036069869995, 0.32623809576034546, 0.24280446767807007, -0.35658973455429077, -0.15292231738567352, 0.009020894765853882, -0.21791601181030273, 0.04592837765812874, -0.08504411578178406, 0.00893663614988327, -0.03750390559434891, 0.4036746621131897, -0.13042131066322327, -0.3271210491657257, 0.13998636603355408, 0.2919923961162567, 0.06910019367933273, -0.15133808553218842, 0.35439804196357727, 0.22940120100975037, -0.12346144765615463, 0.13177891075611115, -0.0031134732998907566, 0.24813881516456604, 0.09764754772186279, 0.35590025782585144, 0.03060803934931755, 0.041702236980199814, 0.05245615541934967, 0.08661828190088272, -0.1562814563512802, -0.18479184806346893, 0.3085290789604187, -0.2555921971797943, -0.24934647977352142, -0.027333606034517288, 0.18467381596565247, 0.10112162679433823, -0.15818873047828674, -0.20628765225410461, -0.0699443519115448, -0.15590855479240417, 0.12612473964691162, -0.07214713096618652, -0.15700165927410126, -0.17434200644493103, 0.16795353591442108, -0.007996249943971634, -0.06868988275527954, 0.13497775793075562, 0.28867724537849426, 0.4850194454193115, 0.1796659529209137, 0.034767791628837585, -0.12476605176925659, 0.24312463402748108, 0.34490615129470825, -0.3172222375869751, 0.2889241576194763, 0.32132425904273987, 0.1228056252002716, -0.31472647190093994, 0.18095284700393677, -0.3342919647693634, -0.5579728484153748, -0.2992127537727356, -0.015535303391516209, 0.02943875640630722, 0.10361570864915848, -0.015201009809970856, 0.4483313262462616, 0.028875425457954407, 0.10642895102500916, 0.34910768270492554, 0.03739292174577713, -0.5219094157218933, -0.2548125684261322, 0.1538318395614624, 0.3415929675102234, -0.21071156859397888, -0.14074116945266724, 0.26010945439338684, -0.19313082098960876, 0.36716732382774353, -0.00801505520939827, -0.35221007466316223, -0.013022072613239288, -0.19036759436130524, -0.020245835185050964, -0.18356937170028687, -0.35455015301704407, -0.36816081404685974, 0.32599303126335144, -0.4289000630378723, 0.18687453866004944, 0.3108983337879181, 0.00922349002212286, -0.03485755994915962, 0.051765307784080505, -0.024792902171611786, 0.3556838631629944, 0.3025667667388916, -0.1655205339193344, -0.2539536654949188, -0.2948358654975891, -0.02222086489200592, -0.08077831566333771, -0.30263131856918335, 0.15971523523330688, 0.06983508169651031, 0.03201668709516525, 0.0841844454407692, -0.06843265891075134, 0.1577850878238678, 0.16626600921154022, 0.3894816040992737, 0.16994929313659668, 0.2931802570819855, 0.16693979501724243, -0.25753286480903625, 0.051171861588954926, -0.007494749501347542, -0.14192378520965576, -0.027640551328659058, -0.5838398933410645, 0.050856590270996094, 0.06432253122329712, -0.12132930755615234, 0.07119934260845184, -0.10275499522686005, 0.17909306287765503, -0.191827654838562, 0.0776987373828888, -0.12076552212238312, 0.25299200415611267, -0.6430690288543701, 0.13344945013523102, -0.0030197910964488983, -0.25468695163726807, -0.04282081127166748, 0.503890335559845, -0.3786245286464691, 0.06859517842531204, -0.013063989579677582, -0.11008543521165848, -0.15375173091888428, 0.4367345869541168, 0.09093503654003143, -0.34691470861434937, 0.055266041308641434, 0.14414115250110626, 0.06627210974693298, -0.26220428943634033, 0.37527787685394287, -0.08053265511989594, -0.02928636223077774, 0.007584594190120697, -0.39819076657295227, 0.05444880574941635, -0.024096284061670303, 0.023040108382701874, -0.22402124106884003, -0.3822972774505615, -0.15136542916297913, 0.007403932511806488, -0.08899711817502975, -0.4581756889820099, -0.02453899011015892, 0.21901912987232208, 0.11368009448051453, 0.21103721857070923, -0.38972675800323486, 0.007078833878040314, 0.48717066645622253, -0.1271822601556778, -0.0848315879702568, 0.4566636085510254, 0.18988700211048126, -0.3337293565273285, 0.2084694802761078, -0.40466442704200745, 0.6217793822288513, 0.2631482779979706, 0.19380737841129303, 0.04782489314675331, 0.027456272393465042, -0.03805846720933914, 0.4486193060874939, 0.0047416090965271, -0.009873883798718452, 0.0810636505484581, 0.006617170292884111, 0.12195304781198502, -0.4877612888813019, -0.09596193581819534, -0.025798115879297256, 0.012764052487909794, -0.39609506726264954, 0.08150169998407364, -0.3630322813987732, -0.1763319969177246, -0.12019117176532745, -0.17623576521873474, -0.1301746815443039, -0.163166344165802, 0.18068307638168335, -0.26769542694091797, 0.09351840615272522, 0.16322924196720123, 0.2527958154678345, 0.7955886721611023, 0.04164087772369385, -0.22049281001091003, -0.22106076776981354, 0.5476096868515015, -0.28662800788879395, -0.13731499016284943, -0.3646682798862457, -0.12307021766901016, 0.24326647818088531, 0.1983887255191803, 0.22372978925704956, -0.2619505822658539, -0.7467209100723267, 0.05368886515498161, -0.059813037514686584, 0.36561742424964905, 0.1764722466468811, -0.17138968408107758, -0.1214754730463028, -0.06406507641077042, -0.15464533865451813, 0.23627153038978577, -0.01303299330174923, -0.17698779702186584, -0.26539379358291626, -0.10402178019285202, -0.26776546239852905, -0.006323628127574921, -0.03514666110277176, -0.34025129675865173, 0.39240962266921997, -0.015455417335033417, 0.16914412379264832, 0.27490830421447754, -0.19816075265407562, -0.022988811135292053, -0.18056464195251465, 0.1899455189704895, -0.36997273564338684, -0.3871431052684784, 0.21803250908851624, 0.056931208819150925, -0.09467223286628723, -0.15140248835086823, -0.11559468507766724, -0.18720947206020355, 0.19017769396305084, -0.7460699081420898, -0.04502654820680618, -0.44685250520706177, 0.3271459937095642, -0.42972782254219055, 0.4296240210533142, 0.08929579704999924, -0.13614872097969055, 0.03273136168718338, -0.04929204657673836, -0.2399468719959259, 0.034835606813430786, -0.26991379261016846, 0.25474992394447327, 0.0014635231345891953, 0.30989572405815125, 0.2735123932361603, 0.3996569514274597, 0.11309023201465607, 0.19099049270153046, 0.3469547927379608, 0.11530494689941406, 0.7737890481948853, -0.3956414461135864, -0.08237796276807785, 0.32234418392181396, 0.11348975449800491, -0.07159365713596344, 0.36749547719955444, -0.12495075911283493, 0.19513565301895142, 0.3804207742214203, -0.06535014510154724, 0.34441837668418884, -0.02049795724451542, 0.014016506262123585, 0.030600368976593018, 0.0601121261715889, 0.014968331903219223, 0.18395355343818665, 0.02882574126124382, 0.1264033317565918, 0.08103403449058533, 0.4226895570755005, 0.08813735097646713, 0.137879878282547, -0.3350667655467987, -0.17294302582740784, -0.14806553721427917, 0.35891446471214294, -0.10690733045339584, 0.36822509765625, -0.19322456419467926, -0.18249905109405518, 0.24337878823280334, 0.12332120537757874, 0.6354063153266907, 0.002911169081926346, -0.2790306806564331, -0.36870867013931274, -0.0675957202911377, 0.14569413661956787, -0.10050199925899506, 0.07286661863327026, 0.1099885031580925, -0.11275792121887207, 0.40187498927116394, -0.3251686692237854, -0.3202022910118103, 0.6774866580963135, -0.14276736974716187, 0.010515216737985611, -0.3675707280635834, -0.4281236231327057, -0.0021144263446331024, -0.0692405179142952, 0.23684704303741455, -0.139066681265831, 0.0711142048239708, 0.030009709298610687, 0.13206559419631958, -0.03727192431688309, 0.2684060335159302, 0.024690397083759308, -0.10693375766277313, -0.15929442644119263, 0.34647685289382935, -0.02836260199546814, 0.03519929572939873, 0.023349031805992126, 0.09600046277046204, 0.19059845805168152, -0.25711166858673096, -0.2565223276615143, -0.00854155421257019, 0.014853698201477528, 0.5946386456489563, 0.5789620876312256, 0.06637918949127197, 0.19177579879760742, 0.1926252543926239, 0.4946223497390747, -0.28213438391685486, 0.011472957208752632, 0.3116223216056824, -0.0059905629605054855, -0.5610729455947876, -0.29652151465415955, 0.7482787370681763, 0.10626734793186188, 0.11026762425899506, 0.5930777192115784, 0.5335131883621216, -0.0956597849726677, 0.043929729610681534, 0.1865587830543518, 1.175554633140564, 0.2085195779800415, 0.29758599400520325, -0.0034452155232429504, -0.2575227618217468, 0.2319371998310089, -0.37764209508895874, -0.1264060139656067, -0.06283990293741226, -0.4593000113964081, -0.11170100420713425, -0.18810316920280457, 0.5022727251052856, -0.15082569420337677, -0.3555714190006256, -0.07618541270494461, -0.010504238307476044, 0.2530551850795746, 0.12388422340154648, 0.2754940390586853, -0.2486766278743744, -0.4297166168689728, 0.415658563375473, -0.027951182797551155, 0.05580230802297592, 0.1569768786430359, -0.03120194561779499, 0.05667255073785782, 0.11292195320129395, -0.3497469425201416, -0.007107868790626526, -0.29410287737846375, -0.2549664080142975, 0.055516257882118225, 0.0676916092634201, -0.09753049910068512, 0.2906006872653961, -0.4377603232860565, 0.1249629408121109, 0.7637982964515686, -0.13324593007564545, 0.006246063858270645, 0.14588555693626404, 0.20249533653259277, 0.043009933084249496, -0.07474123686552048, 0.0731561928987503, 0.1116843894124031, -0.09828879684209824, -0.14402103424072266, -0.05561050400137901, -0.0770479217171669, -0.4670809805393219, -0.007926441729068756, 0.13662084937095642, -0.19014602899551392, -0.1391899734735489, 0.22552013397216797, 0.12276531755924225, -0.10370767116546631, -0.0133284330368042, -0.17299899458885193, -0.013718203641474247, 0.013194311410188675, -0.17757229506969452, -0.7808084487915039, -0.36566001176834106, 0.1718939244747162, 0.02895962819457054, 0.0821516215801239, 0.13093332946300507, -0.32475388050079346, -0.2358645349740982, -0.03886118903756142, 0.08735952526330948, 0.2736630439758301, -0.09547379612922668, -0.3293305039405823, 0.2438139170408249, -0.18720631301403046, -0.17637568712234497, 0.2185293287038803, 0.12981820106506348, -0.24668601155281067, -0.17679524421691895, -0.098329558968544, -0.3616773784160614, -0.05060535669326782, -0.6193501353263855, 0.31575822830200195, 0.03009416162967682, -0.16421590745449066, -0.06944244354963303, 0.0815076231956482, -0.18479835987091064, -0.05481217801570892, 0.18879495561122894, -0.20207010209560394, 0.12077489495277405, 0.1571221947669983, 0.299996018409729, 0.2004166543483734, 0.013287780806422234, 0.02997002936899662, -0.37620043754577637, -0.08756984770298004, -0.2585233449935913, 0.2999774217605591, 0.012918331660330296, -0.03655961900949478, 0.0007008444517850876, -0.20129303634166718, -0.31900501251220703, -0.1106075868010521, 0.2558742165565491, 0.36776480078697205, 0.01920037716627121, 0.3346005380153656, -0.04944620653986931, 0.0033340007066726685, 0.3037055730819702, -0.018913157284259796, 0.35036760568618774, 0.39778590202331543, -0.25268125534057617, 0.053491268306970596, -0.5089410543441772, -0.08917863667011261, -0.47268134355545044, 0.3038884401321411, 0.5048178434371948, 0.03405490145087242, -0.2461239993572235, 0.12859483063220978, 0.1268042027950287, -0.09863929450511932, 0.2718665301799774, 0.25084298849105835, -0.15682126581668854, -0.40206125378608704, 0.08031138777732849, 0.004720821976661682, 0.05644409358501434, -0.13978834450244904, -0.005713272839784622, -0.039029158651828766, -0.04819793999195099, 0.2689644694328308, 0.6042423248291016, 0.11910073459148407, 0.26199960708618164, 0.0029141325503587723, 0.13818246126174927, -0.21901562809944153, -0.11517038941383362, 0.3292997181415558, -0.02933976799249649, 0.18556825816631317, 0.5983338952064514, 0.4563763439655304, 0.49010732769966125, 0.4600822329521179, 0.2662926912307739, 0.2967749536037445, 0.4339529871940613, 0.054209623485803604, -0.293918251991272, -0.46879199147224426, 0.36271560192108154, 0.1912609040737152, -0.2243105173110962, -0.09960699826478958, 0.35638856887817383, 0.40884554386138916, -0.20565012097358704, -0.06714428216218948, -0.16340598464012146, -0.31229889392852783, -0.37244120240211487, -0.19230544567108154, 0.25404906272888184, 0.24123528599739075, -0.11185773462057114, 0.047572482377290726, 0.1049366444349289, -0.11350886523723602, 0.3510476052761078, -0.12131786346435547, -0.009629175066947937, -0.08337468653917313, 0.36621594429016113, 0.0823667123913765, 0.17667900025844574, -0.2733289301395416, -0.01929680071771145, -0.2031843215227127, 0.06372641772031784, 0.08222134411334991, 0.27474045753479004, 0.36108818650245667, 0.28847822546958923, 0.28414222598075867, -0.12076009064912796, -0.02429793030023575, 0.024050941690802574, -0.03988097608089447, 0.37565863132476807, 0.24027225375175476, 0.24702472984790802, 0.23523782193660736, -0.009848223067820072, -0.09449589252471924, 0.11819577217102051, 0.11399033665657043, 0.03366655483841896, -0.37859997153282166, -0.03663907200098038, 0.16169796884059906, 0.19099289178848267, 0.15569835901260376, 0.17670021951198578, -0.4141964614391327, 0.031026076525449753, 0.3884025514125824, 0.19703109562397003, -0.032248254865407944, -0.338267982006073, -0.0152421984821558, 0.07074713706970215, 0.24134086072444916, 0.2954465448856354, -0.08479299396276474, -0.26662713289260864, 0.1562681794166565, -0.4182995557785034, 0.32647383213043213, -0.035475630313158035, -0.22145874798297882, 0.21749179065227509, 0.1863091140985489, 0.07350176572799683, -0.14567811787128448, -0.17521141469478607, -0.25079357624053955, 0.21102586388587952, 0.028822366148233414, -0.04578982666134834, 0.1702081710100174, 0.07012851536273956, -0.0625075176358223, -0.17629718780517578, -0.3195119798183441, 0.5390257239341736, -0.03204529359936714, -0.10451637208461761, -0.4990161061286926, 0.26873520016670227, 0.22474688291549683, -0.05317780375480652, 0.5577728748321533, 0.08866424858570099, 0.22218960523605347, -0.13180948793888092, 0.03290698677301407, -0.11453047394752502, 0.04950391873717308, -0.1803729385137558, 0.15343409776687622, -0.011546004563570023, -0.07232663035392761, 0.0025472622364759445, -0.4528707265853882, -0.142914280295372, 0.37101972103118896, 0.09407724440097809, -0.11191597580909729, -0.059063173830509186, 0.19630637764930725, -0.36492881178855896, -0.03147682547569275, 0.03777552768588066, 0.336590975522995, 0.3391905426979065, 0.04000671207904816, -0.10547781735658646, -0.09730961918830872, 0.33219897747039795, -0.06626224517822266, -0.2257995754480362, -0.2844148278236389, 0.3360605835914612, 0.41893067955970764, -0.3220599889755249, -0.43334105610847473, -0.10755056142807007, 0.3122142255306244, -0.1443272829055786, -0.3326148986816406, 0.6314253807067871, -0.34099844098091125, 0.1332143247127533, -0.17024202644824982, 0.44346538186073303, -0.038155682384967804, -0.08374705165624619, 0.10317987203598022, -0.48611581325531006 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Having the dataset in memory is nice to get the speed but I agree that the lack of caching for dataset in memory is an issue. By default we always had caching on. Here the issue is that in-memory datasets are still not able to use the cache - we should fix this asap IMO. Here is the PR that fixes this: https://github.com/huggingface/datasets/pull/2329
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
63
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Having the dataset in memory is nice to get the speed but I agree that the lack of caching for dataset in memory is an issue. By default we always had caching on. Here the issue is that in-memory datasets are still not able to use the cache - we should fix this asap IMO. Here is the PR that fixes this: https://github.com/huggingface/datasets/pull/2329
[ -0.31214889883995056, -0.4957877993583679, -0.08464092016220093, 0.19722573459148407, 0.27649325132369995, 0.0028823688626289368, -0.04146004840731621, 0.4261518120765686, 0.22678890824317932, 0.21569669246673584, -0.06928058713674545, -0.0102798230946064, 0.08422254025936127, 0.3103768825531006, -0.0377056710422039, 0.06672509014606476, 0.1307564675807953, 0.05279459431767464, -0.21632516384124756, -0.1535373330116272, -0.23268714547157288, -0.05460192263126373, -0.11579690128564835, -0.37969183921813965, -0.2427821308374405, 0.0561937540769577, 0.026216814294457436, 0.17760628461837769, -0.22656120359897614, -0.30171218514442444, 0.09459993243217468, 0.1964050829410553, -0.014638865366578102, 0.2535690367221832, -0.00010247220780001953, -0.04839490354061127, 0.26786506175994873, -0.012489008717238903, -0.17843185365200043, 0.2618328630924225, -0.18059739470481873, -0.3459375500679016, -0.10982338339090347, -0.05287414789199829, -0.2129826545715332, -0.050931692123413086, 0.09057218581438065, -0.5179506540298462, 0.09772571921348572, 0.17470687627792358, 0.31658852100372314, 0.2305828034877777, -0.05613064765930176, -0.19686642289161682, 0.08555859327316284, 0.13811834156513214, -0.22632461786270142, -0.005678066983819008, 0.14060059189796448, 0.03156914561986923, -0.1972942352294922, 0.4281313419342041, 0.3005528748035431, 0.3358531594276428, 0.48423707485198975, 0.06774205714464188, -0.24472883343696594, 0.10267726331949234, 0.08842011541128159, 0.14107802510261536, 0.46586132049560547, -0.1069055125117302, -0.39982616901397705, -0.1344994157552719, -0.18655459582805634, -0.3055702745914459, 0.19077740609645844, 0.052856072783470154, -0.11075307428836823, 0.025691000744700432, -0.446289986371994, -0.17724841833114624, -0.015063732862472534, -0.14210638403892517, 0.07844522595405579, 0.10738083720207214, -0.04192986339330673, -0.0720820501446724, 0.3091852366924286, -0.10544523596763611, -0.09700021892786026, 0.065437912940979, -0.03121555969119072, 0.004872296471148729, -0.3233640491962433, -0.018922511488199234, 0.08704649657011032, 0.24851354956626892, 0.3620791435241699, -0.16004246473312378, -0.10813684016466141, 0.4072815477848053, 0.22857289016246796, -0.014658503234386444, -0.12457191944122314, 0.2899633049964905, -0.053165026009082794, -0.04741758480668068, 0.41761648654937744, 0.04546359181404114, -0.15724632143974304, -0.027728140354156494, 0.06918985396623611, -0.16398100554943085, -0.025422660633921623, -0.12550225853919983, -0.17269134521484375, -0.3770832419395447, -0.007644295692443848, 0.18724490702152252, 0.1249544695019722, -0.08149492740631104, 0.024151084944605827, 0.66005539894104, -0.20791476964950562, -0.09415549784898758, -0.045869022607803345, -0.1374499648809433, -0.3699815571308136, -0.13268622756004333, -0.2946886718273163, -0.052769873291254044, -0.2658971846103668, 0.24486765265464783, 0.2715345621109009, -0.1212223470211029, 0.2196478247642517, -0.0067092967219650745, 0.3527897000312805, 0.26631173491477966, 0.07568906247615814, -0.09603410959243774, 0.1562003493309021, 0.08540742099285126, -0.1018480509519577, 0.11095955222845078, 0.1834370642900467, 0.14090757071971893, -0.2218669056892395, -0.1995365023612976, -0.15867313742637634, -0.3902636766433716, -0.07949638366699219, 0.2359595000743866, -0.10638830810785294, -0.07724805176258087, 0.09822992980480194, 0.2859000563621521, 0.07010526955127716, 0.00770602747797966, -0.051773957908153534, 0.13004648685455322, -0.45803725719451904, -0.09615229070186615, 0.2333149015903473, 0.4380429983139038, -0.13173840939998627, -0.00734608992934227, 0.30965983867645264, 0.077378049492836, 0.22685837745666504, 0.32761919498443604, -0.2584594190120697, -0.24143630266189575, -0.24772752821445465, -0.09530492126941681, -0.11676160246133804, -0.42896193265914917, -0.5015159845352173, 0.310054749250412, 0.013820365071296692, -0.02619664929807186, 0.27377763390541077, 0.03175097331404686, 0.10272012650966644, 0.002078428165987134, 0.02376376837491989, 0.2585623264312744, 0.0581236258149147, 0.21227015554904938, -0.5637993216514587, -0.2644088864326477, 0.021266255527734756, 0.13593153655529022, -0.012754935771226883, 0.04589708149433136, 0.016943469643592834, -0.012034128420054913, 0.07464607059955597, -0.2517939507961273, 0.30908623337745667, 0.4489172101020813, 0.19802308082580566, 0.02336106076836586, 0.21897584199905396, 0.05129523575305939, -0.3884705901145935, 0.23837527632713318, -0.061053626239299774, 0.11312978714704514, 0.052007146179676056, -0.3824930191040039, -0.0047178976237773895, -0.07268454879522324, -0.013130243867635727, -0.2059304565191269, 0.22010311484336853, 0.05039374530315399, 0.2260286509990692, -0.05765566974878311, -0.04337393492460251, 0.5039579272270203, -0.15261958539485931, 0.02917882800102234, -0.13033321499824524, 0.03925976902246475, -0.12191098183393478, -0.008725679479539394, 0.11000023782253265, -0.0053842440247535706, 0.01950608193874359, -0.052079979330301285, -0.17937055230140686, 0.28789597749710083, -0.04553699493408203, 0.07742924243211746, 0.2512718737125397, 0.07819678634405136, 0.09276004880666733, -0.14053864777088165, 0.31220442056655884, -0.17066119611263275, 0.02855157107114792, 0.0058056265115737915, -0.48397186398506165, 0.4135441184043884, 0.014420639723539352, 0.12956202030181885, 0.21282519400119781, -0.3410439193248749, 0.13594156503677368, 0.04265369102358818, 0.08909457921981812, -0.23463432490825653, 0.2891422510147095, -0.06648240983486176, 0.39446336030960083, 0.1114937886595726, -0.31640374660491943, 0.20155099034309387, 0.5160136818885803, 0.19702261686325073, -0.06939180940389633, 0.40924450755119324, 0.004149802029132843, -0.33525902032852173, 0.2005462944507599, -0.09373704344034195, 0.3965291380882263, 0.4626791179180145, 0.22311466932296753, -0.0037696845829486847, -0.014252311550080776, -0.09125862270593643, 0.21203799545764923, -0.2556244730949402, -0.014385253190994263, 0.11979198455810547, 0.16073358058929443, -0.31868577003479004, -0.5496200919151306, -0.00830615870654583, 0.14739426970481873, 0.3631334900856018, -0.11385603249073029, -0.18248628079891205, -0.37909549474716187, -0.25601184368133545, 0.10330747812986374, -0.02071814239025116, -0.26394230127334595, -0.18087507784366608, 0.029373960569500923, 0.14507757127285004, 0.045960139483213425, 0.18697857856750488, -0.023070355877280235, 0.274068683385849, 0.05684895068407059, -0.053553514182567596, -0.32774266600608826, 0.0716686025261879, -0.18078947067260742, 0.07582579553127289, -0.006586650386452675, 0.00392258120700717, 0.28251078724861145, 0.09648676216602325, 0.08764676004648209, -0.26949864625930786, -0.3778921067714691, 0.046354055404663086, -0.021330825984477997, 0.19659991562366486, 0.051918406039476395, 0.22162404656410217, -0.16941335797309875, 0.04752779379487038, 0.4211174249649048, -0.228754460811615, -0.18405276536941528, -0.10186684876680374, -0.09739422053098679, 0.02406112290918827, -0.13874533772468567, -0.16438418626785278, -0.09348921477794647, -0.5270897150039673, 0.28879088163375854, 0.029483992606401443, 0.03738250210881233, 0.24704834818840027, 0.07899361103773117, 0.032598745077848434, -0.20492275059223175, 0.13910791277885437, -0.5269704461097717, -0.5756657719612122, 0.37255343794822693, -0.21882188320159912, -0.40953660011291504, -0.13250847160816193, 0.1144290566444397, 0.16009145975112915, 0.12161264568567276, -0.3613128662109375, -0.3033222556114197, -0.4666450619697571, 0.22470587491989136, -0.1358986645936966, 0.14837196469306946, 0.25340503454208374, -0.16574402153491974, -0.27999943494796753, -0.1828383207321167, -0.27760496735572815, 0.260826051235199, -0.31738588213920593, 0.08624465763568878, -0.07622072100639343, 0.4172123670578003, 0.24798762798309326, 0.5210334658622742, 0.2784070372581482, -0.01732638105750084, 0.3430511951446533, 0.005768653005361557, 0.36698630452156067, -0.2835930585861206, -0.1377987265586853, 0.2741210460662842, 0.010337024927139282, 0.007384456694126129, 0.26854783296585083, 0.01276602502912283, 0.023198861628770828, 0.061812132596969604, 0.07047021389007568, 0.10629075020551682, -0.09965892136096954, 0.11349888145923615, 0.1377718448638916, 0.11811496317386627, 0.20350636541843414, 0.1406370997428894, -0.31184864044189453, -0.0865388810634613, 0.07762360572814941, 0.08902239799499512, 0.022935204207897186, -0.07036188989877701, -0.3101860284805298, 0.021773353219032288, -0.5811905860900879, 0.3200009763240814, 0.056243181228637695, 0.3070572316646576, -0.2473183125257492, -0.12315922230482101, 0.16782522201538086, -0.09876953065395355, 0.6539693474769592, -0.14287880063056946, -0.15322454273700714, -0.1310056447982788, -0.34129807353019714, -0.12363916635513306, 0.08973230421543121, 0.10879591107368469, 0.03290792554616928, -0.04891110584139824, 0.2728155255317688, -0.4635315239429474, -0.3018306791782379, 0.13020235300064087, -0.05180785432457924, -0.10179688036441803, -0.2574131190776825, -0.3309875428676605, -0.0740058496594429, -0.2401113659143448, 0.17612403631210327, -0.07531986385583878, -0.05346802622079849, 0.18294988572597504, -0.06482882052659988, -0.05156930536031723, -0.013482803478837013, 0.04923002049326897, 0.019491415470838547, 0.3249240815639496, -0.001792639959603548, 0.39335983991622925, 0.11416599899530411, 0.150575190782547, 0.32788604497909546, 0.40729665756225586, -0.11792059242725372, -0.15905851125717163, 0.008182168938219547, 0.03803573548793793, 0.21435301005840302, 0.38389962911605835, 0.06409544497728348, 0.1936149150133133, 0.22095291316509247, 0.4300275444984436, -0.3469347059726715, 0.08370715379714966, 0.12634655833244324, 0.04842432960867882, -0.38957205414772034, -0.2687559723854065, 0.4981147348880768, 0.07761633396148682, 0.13545818626880646, 0.41816821694374084, 0.23359422385692596, -0.1584063619375229, 0.08489953726530075, 0.18003815412521362, 0.8901020884513855, -0.13796944916248322, 0.21436813473701477, 0.009451024234294891, -0.09344609826803207, 0.24437421560287476, -0.21329353749752045, 0.07460510730743408, -0.23761937022209167, -0.4796287417411804, 0.12746916711330414, 0.02419835701584816, 0.08963385969400406, -0.1781010776758194, -0.2180130034685135, 0.15299764275550842, 0.16873835027217865, 0.20491482317447662, -0.2559775412082672, 0.33568036556243896, -0.24890553951263428, -0.5001353621482849, -0.10881642997264862, 0.30199941992759705, -0.07437776029109955, 0.15949606895446777, 0.006608292460441589, -0.1316731572151184, -0.19559697806835175, -0.006701219826936722, -0.1418886035680771, -0.14564508199691772, -0.28237083554267883, 0.10408463329076767, -0.104386106133461, -0.12715047597885132, 0.0500030554831028, -0.14294254779815674, 0.22615163028240204, 0.21561792492866516, -0.4126114845275879, 0.29588478803634644, -0.08339161425828934, 0.2182675153017044, -0.01686343178153038, -0.1806088089942932, 0.13968728482723236, -0.14028966426849365, -0.17235848307609558, -0.14204177260398865, -0.04717631638050079, -0.26174765825271606, 0.0004406273365020752, -0.14735987782478333, -0.102384552359581, -0.1740597039461136, -0.04936207830905914, 0.1020309329032898, -0.05011836439371109, -0.24209077656269073, 0.2727234959602356, 0.19939370453357697, -0.020983150228857994, 0.17465072870254517, 0.243806853890419, -0.23787027597427368, -0.33261534571647644, 0.618563175201416, -0.03250948339700699, 0.03906857222318649, 0.24398984014987946, 0.13335856795310974, -0.34684479236602783, -0.2592235207557678, -0.10530608892440796, 0.23979908227920532, -0.31609126925468445, 0.0677071139216423, 0.0042524319142103195, -0.12468855082988739, -0.025274883955717087, 0.16861553490161896, 0.09492164850234985, -0.17312195897102356, 0.03051893040537834, -0.03772685304284096, -0.5698469877243042, 0.11367397010326385, -0.4556022882461548, 0.3410615622997284, -0.1547270119190216, 0.037087973207235336, -0.1590801626443863, 0.20008796453475952, -0.4723098576068878, -0.16983909904956818, -0.1354966163635254, -0.12406952679157257, 0.09839542955160141, -0.10358413308858871, 0.39532551169395447, 0.0018418924883008003, 0.18778808414936066, 0.24858452379703522, -0.39069223403930664, -0.3500749468803406, -0.03743009641766548, 0.08530691266059875, -0.07384974509477615, -0.1279202252626419, -0.008455540984869003, -0.06144058704376221, -0.476774662733078, -0.27391740679740906, 0.18441706895828247, 0.26785004138946533, -0.078057661652565, 0.09508077800273895, 0.1443667709827423, -0.1952947974205017, 0.2553457021713257, -0.211622416973114, 0.3240090012550354, 0.3205302357673645, -0.1076127290725708, -0.0733487531542778, -0.28949669003486633, -0.07956039160490036, 0.06227116659283638, 0.24643146991729736, 0.1169532760977745, -0.0175107903778553, 0.17517907917499542, -0.18423596024513245, -0.0842011347413063, 0.23634018003940582, 0.5085650682449341, 0.25047916173934937, 0.05017389357089996, -0.06686878949403763, 0.2610115110874176, 0.3263418972492218, -0.15188169479370117, -0.12258771806955338, 0.0579584501683712, -0.18851639330387115, 0.24126103520393372, 0.11141499876976013, 0.3303306996822357, 0.23928231000900269, 0.3066703975200653, 0.1642518937587738, 0.31460827589035034, -0.3560653328895569, -0.10935202240943909, -0.11120730638504028, 0.1845061480998993, 0.08536036312580109, 0.48189300298690796, 0.2610436975955963, 0.3522739112377167, 0.5666099190711975, 0.05106611177325249, 0.2897762060165405, 0.08213993161916733, 0.4278855621814728, -0.1504126489162445, -0.324566513299942, 0.042358364909887314, 0.27462416887283325, -0.10233312845230103, 0.15241973102092743, -0.07735832035541534, 0.5003766417503357, -0.22560560703277588, -0.3184190094470978, -0.287486732006073, 0.06128497049212456, -0.30994081497192383, -0.20732054114341736, 0.18275532126426697, -0.04361317679286003, -0.1537381410598755, 0.22478634119033813, -0.037929948419332504, -0.01775100827217102, 0.316544771194458, -0.057020336389541626, 0.17713622748851776, -0.36364907026290894, 0.10485722124576569, 0.09138746559619904, 0.2885385751724243, -0.17217843234539032, 0.2623375654220581, 0.029660843312740326, -0.24845319986343384, 0.0851650983095169, 0.36599478125572205, 0.2782726585865021, 0.16140922904014587, 0.12449713051319122, 0.042787957936525345, -0.0779758095741272, 0.0063299816101789474, -0.24362966418266296, 0.3612447679042816, 0.09251277893781662, -0.08906839787960052, 0.22446608543395996, 0.21729512512683868, -0.31586572527885437, 0.030149709433317184, -0.250287801027298, -0.09283451735973358, -0.07006582617759705, -0.016693785786628723, 0.06929585337638855, 0.058606863021850586, -0.08872713148593903, -0.08920728415250778, -0.3561534285545349, 0.0750291720032692, 0.22380663454532623, -0.07196850329637527, 0.07099508494138718, -0.15215706825256348, 0.1272660791873932, -0.045032959431409836, 0.6601176857948303, 0.18167908489704132, 0.05222522094845772, -0.2645278573036194, -0.17699706554412842, -0.5289091467857361, 0.13176876306533813, -0.12749426066875458, 0.05886531621217728, -0.01017460972070694, 0.46092185378074646, 0.08163736015558243, -0.23676081001758575, 0.2378341257572174, -0.03525552898645401, 0.1973366141319275, 0.07845348864793777, -0.24746017158031464, 0.15810222923755646, -0.20087580382823944, -0.11079882085323334, 0.16021470725536346, -0.42888590693473816, 0.31122660636901855, 0.09549765288829803, 0.16137975454330444, -0.2556447386741638, 0.20959919691085815, 0.02039724588394165, -0.1419423520565033, 0.44468599557876587, 0.057636961340904236, 0.16167405247688293, -0.21443748474121094, -0.11459148675203323, -0.28540968894958496, -0.13856646418571472, -0.10988255590200424, -0.048388153314590454, -0.01268552616238594, 0.23880156874656677, -0.018076658248901367, -0.3546355962753296, -0.25546959042549133, 0.32917484641075134, 0.03422047197818756, -0.08396737277507782, 0.008353089913725853, 0.3692331910133362, -0.030056573450565338, 0.024270985275506973, -0.003941171802580357, 0.2980723977088928, 0.18088224530220032, -0.04286924749612808, -0.42504584789276123, -0.3005889058113098, 0.49693208932876587, -0.07350962609052658, -0.1785445213317871, 0.055290691554546356, 0.23716121912002563, 0.4107753038406372, -0.27814653515815735, -0.5641619563102722, 0.08818871527910233, 0.1228368729352951, 0.14088132977485657, -0.3065086603164673, 0.4520082175731659, -0.1655193716287613, 0.01641341671347618, -0.1660270094871521, 0.43725863099098206, 0.10944365710020065, -0.2043210119009018, -0.0092412568628788, -0.017356611788272858 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
But why do they have to be datasets in memory in the first place? Why not just have the default that all datasets are normal and are cached which seems to be working solidly. And only enable in memory datasets explicitly if the user chooses to and then it doesn't matter if it's cached on not for the majority of the users who will not make this choice. I mean the definition of in-memory-datasets is very arbitrary - why 250MB and not 5GB? It's very likely that the user will want to set this threshold based on their RAM availability. So while doing that they can enable the in-memory-datasets. Unless I'm missing something here. The intention here is that things work well in general out of the box, and further performance optimizations are available to those who know what they are doing.
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
142
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ But why do they have to be datasets in memory in the first place? Why not just have the default that all datasets are normal and are cached which seems to be working solidly. And only enable in memory datasets explicitly if the user chooses to and then it doesn't matter if it's cached on not for the majority of the users who will not make this choice. I mean the definition of in-memory-datasets is very arbitrary - why 250MB and not 5GB? It's very likely that the user will want to set this threshold based on their RAM availability. So while doing that they can enable the in-memory-datasets. Unless I'm missing something here. The intention here is that things work well in general out of the box, and further performance optimizations are available to those who know what they are doing.
[ -0.04957389086484909, -0.668220043182373, -0.0522996187210083, 0.16646307706832886, 0.3634665608406067, 0.09755616635084152, 0.0156182199716568, 0.06837576627731323, 0.21669252216815948, 0.42385226488113403, 0.06680098921060562, -0.1660032570362091, 0.06127732992172241, 0.05071697384119034, -0.0355876088142395, 0.015987403690814972, 0.12585651874542236, 0.2037961632013321, -0.26565608382225037, -0.08981570601463318, -0.38462263345718384, -0.21723592281341553, -0.050280749797821045, -0.3770030736923218, -0.26432451605796814, 0.20309895277023315, 0.037221625447273254, 0.1530780792236328, -0.4649291932582855, -0.3042101562023163, 0.2206972986459732, 0.21003954112529755, 0.08124442398548126, -0.017215721309185028, -0.00011902508413186297, -0.12127292901277542, 0.30461543798446655, -0.10310487449169159, -0.2507316768169403, 0.1892137974500656, -0.37692299485206604, -0.31255045533180237, -0.09759228676557541, -0.28149402141571045, 0.2915649116039276, -0.04060306400060654, 0.23061536252498627, -0.7683684825897217, 0.07925115525722504, 0.25298672914505005, 0.1059156209230423, 0.07561159133911133, -0.14786310493946075, -0.23720164597034454, 0.12948879599571228, 0.21200066804885864, -0.15911982953548431, 0.03216330707073212, 0.0031443238258361816, -0.000040119513869285583, 0.07455356419086456, 0.16749529540538788, 0.19350804388523102, 0.17441190779209137, 0.6714860200881958, -0.06591387838125229, -0.238501638174057, -0.2298010289669037, -0.027649693191051483, 0.20560339093208313, 0.5325829982757568, -0.03285033255815506, -0.1502693146467209, -0.006106432527303696, -0.22451424598693848, -0.19015991687774658, 0.03823776915669441, 0.09098692238330841, 0.07172954082489014, 0.2520194947719574, -0.3506411910057068, -0.29638975858688354, -0.13492387533187866, 0.09902850538492203, 0.12021955847740173, 0.24639065563678741, -0.10110072046518326, 0.1900227665901184, 0.21692992746829987, 0.19069413840770721, -0.1323692947626114, -0.0807986781001091, 0.09444249421358109, -0.12512929737567902, -0.17494143545627594, 0.01295439898967743, -0.01836986094713211, 0.24736005067825317, 0.46545103192329407, -0.0909513533115387, -0.07575346529483795, 0.2604149281978607, 0.24094095826148987, 0.08151306211948395, -0.18128922581672668, 0.4121599495410919, 0.12949296832084656, -0.042881328612565994, 0.19682270288467407, -0.16117781400680542, 0.1978278011083603, -0.06001255661249161, 0.11933984607458115, -0.10233324021100998, 0.13617756962776184, 0.06421606242656708, 0.02482679858803749, -0.21961958706378937, 0.04054809361696243, 0.18894027173519135, -0.24358996748924255, -0.31023991107940674, 0.01484167855232954, 0.330889493227005, 0.09880302846431732, -0.1377347707748413, -0.20182159543037415, 0.009503522887825966, -0.16272945702075958, 0.0018301839008927345, -0.16391178965568542, 0.034316591918468475, -0.30459001660346985, 0.23283743858337402, 0.29072704911231995, -0.15260280668735504, 0.18641161918640137, 0.11927919834852219, 0.4643505811691284, 0.2691536247730255, 0.10048741847276688, -0.10152013599872589, 0.25174155831336975, 0.3301090896129608, -0.2604886591434479, 0.28618890047073364, 0.3591691255569458, 0.11347517371177673, -0.3113880455493927, 0.058044321835041046, -0.173488050699234, -0.677113950252533, -0.11388212442398071, 0.08003336936235428, -0.10473661124706268, 0.06794626265764236, -0.17985010147094727, 0.4428612291812897, 0.20726840198040009, 0.05823999270796776, 0.38748666644096375, -0.09154147654771805, -0.39538419246673584, -0.24057315289974213, 0.15009088814258575, 0.3415204882621765, -0.4224156439304352, 0.06213967502117157, 0.34182092547416687, -0.11589545011520386, 0.15544015169143677, 0.1256847232580185, -0.464171439409256, -0.10202715545892715, -0.1872495412826538, 0.008541099727153778, -0.16470760107040405, -0.4977118670940399, -0.4047400951385498, 0.15270671248435974, -0.06519966572523117, 0.12821762263774872, 0.4861421585083008, -0.11047517508268356, 0.01652483642101288, -0.02293519489467144, -0.09397627413272858, 0.15163953602313995, 0.11671286076307297, -0.23402579128742218, -0.31522858142852783, -0.14323697984218597, 0.20326930284500122, 0.03304441645741463, -0.05403214320540428, 0.2127409279346466, 0.05616505816578865, -0.05091837793588638, -0.07136412709951401, -0.18015345931053162, 0.3356831669807434, 0.1469670534133911, 0.14995509386062622, 0.219981387257576, 0.31975987553596497, 0.1330626904964447, -0.49287140369415283, 0.21231892704963684, 0.02428615838289261, 0.11664975434541702, -0.083375945687294, -0.5027653574943542, 0.0710362046957016, -0.07700585573911667, 0.028516702353954315, -0.28293299674987793, 0.020019277930259705, 0.018556691706180573, -0.014331262558698654, -0.11324182152748108, -0.294099360704422, 0.4737759530544281, -0.36472436785697937, 0.04034962132573128, -0.06532107293605804, -0.002292793244123459, -0.1526644378900528, 0.43221375346183777, -0.20914125442504883, 0.08638201653957367, -0.04078620672225952, -0.04576270654797554, -0.13182470202445984, 0.31792524456977844, 0.028614835813641548, -0.3562965989112854, 0.16159400343894958, 0.23661036789417267, 0.07287493348121643, -0.31448209285736084, 0.47300347685813904, -0.2644454538822174, 0.12074905633926392, -0.01353297010064125, -0.33999842405319214, 0.049058571457862854, 0.04125622659921646, 0.1854057013988495, -0.09365417063236237, -0.44810694456100464, -0.11069248616695404, 0.04076850041747093, -0.2289842963218689, -0.2727276682853699, 0.09195388853549957, 0.05170602351427078, 0.25338420271873474, 0.22498469054698944, -0.3636886179447174, 0.04194795340299606, 0.3170663118362427, 0.018371496349573135, -0.23686957359313965, 0.20815253257751465, 0.12438981235027313, -0.30277886986732483, 0.24075697362422943, -0.2658599317073822, 0.668796718120575, 0.35149016976356506, 0.16417977213859558, -0.003966130316257477, 0.01264155562967062, -0.15560293197631836, 0.2222786545753479, 0.06051444262266159, 0.077756367623806, 0.07726988941431046, -0.08211176842451096, 0.08106964826583862, -0.5446506142616272, -0.21180979907512665, 0.09144853800535202, 0.10969570279121399, -0.37965431809425354, 0.017648542299866676, -0.28231385350227356, -0.2799963355064392, 0.03423868492245674, -0.17834815382957458, -0.13013242185115814, -0.14211918413639069, 0.06681780517101288, -0.253537654876709, 0.1326078474521637, 0.11392900347709656, 0.14879876375198364, 0.7808529138565063, -0.0674954280257225, -0.06292993575334549, -0.250175416469574, 0.3283728063106537, -0.20063507556915283, -0.059334930032491684, -0.11478598415851593, -0.04387092962861061, 0.2418089359998703, 0.26113536953926086, 0.2000826746225357, -0.31135058403015137, -0.6289966106414795, -0.01602766662836075, -0.22769533097743988, 0.4149371087551117, 0.1065043956041336, 0.07592363655567169, -0.2172531634569168, 0.014468756504356861, 0.17652176320552826, 0.22532790899276733, -0.060227952897548676, -0.17790533602237701, -0.09770697355270386, -0.1663207858800888, -0.21748097240924835, -0.19363519549369812, -0.1551065742969513, -0.5133427977561951, 0.16795165836811066, 0.007085185497999191, 0.09338180720806122, 0.31810417771339417, 0.007455115206539631, -0.024761419743299484, -0.13628838956356049, 0.2280784696340561, -0.41601189970970154, -0.4235774278640747, 0.4407883286476135, -0.21270319819450378, -0.18559327721595764, -0.09840446710586548, -0.006133187562227249, -0.0031571537256240845, 0.348263144493103, -0.4858399033546448, -0.12977838516235352, -0.3384265601634979, 0.09988071024417877, -0.2556462287902832, 0.4355640411376953, 0.28271645307540894, -0.19796334207057953, 0.001068074256181717, -0.22474482655525208, -0.3112581968307495, 0.019308723509311676, -0.3179032504558563, 0.11613558232784271, 0.07454024255275726, 0.268257200717926, 0.2339145839214325, 0.6517888903617859, 0.16327205300331116, 0.22647662460803986, 0.4556886553764343, 0.14163297414779663, 0.595966637134552, -0.2991838753223419, -0.22504286468029022, 0.3880852162837982, 0.026535123586654663, -0.0967520996928215, 0.1645880937576294, -0.031109917908906937, 0.08263222873210907, 0.19744731485843658, 0.1637498140335083, 0.22455161809921265, 0.03209565207362175, 0.13038502633571625, 0.07238035649061203, 0.10853825509548187, 0.25351569056510925, 0.01650255173444748, -0.04921684414148331, 0.30518677830696106, 0.1282193511724472, 0.45721036195755005, 0.06419490277767181, 0.2258903980255127, -0.5102313160896301, -0.18240688741207123, -0.36505916714668274, 0.32943499088287354, 0.02366378717124462, 0.35255196690559387, -0.10067155957221985, -0.14145445823669434, 0.2358832061290741, 0.17879809439182281, 0.7638986110687256, -0.2987653911113739, -0.4954453110694885, -0.26176097989082336, -0.23436985909938812, 0.049952223896980286, -0.03253357857465744, 0.29188477993011475, 0.19340626895427704, -0.2514074742794037, 0.26574552059173584, -0.49610692262649536, -0.23135977983474731, 0.28093066811561584, -0.09001797437667847, -0.006672021001577377, -0.4410424530506134, -0.28987252712249756, -0.055371493101119995, -0.2635900378227234, -0.05515507608652115, -0.01072554849088192, -0.03451262786984444, 0.1473708152770996, 0.12241408228874207, -0.08912715315818787, 0.3135666847229004, 0.14067012071609497, -0.14210768043994904, -0.0963355228304863, 0.23079615831375122, -0.006915325298905373, 0.06059736758470535, 0.08923293650150299, 0.30118945240974426, 0.4599362909793854, -0.36255350708961487, -0.18020498752593994, 0.02187558077275753, 0.03264803811907768, 0.49627619981765747, 0.45695990324020386, 0.0405552014708519, 0.08251138031482697, 0.42753031849861145, 0.3135285973548889, -0.30443060398101807, 0.11876296252012253, 0.12715508043766022, -0.10099862515926361, -0.6544883847236633, -0.6077635288238525, 0.6658084988594055, 0.11672608554363251, 0.10193176567554474, 0.48444679379463196, 0.6167443990707397, -0.16513000428676605, 0.10753578692674637, 0.21396535634994507, 1.1667488813400269, 0.09364558756351471, 0.29464292526245117, -0.04583067446947098, -0.004907354712486267, 0.3400784730911255, -0.3329753875732422, -0.09029645472764969, -0.026972509920597076, -0.33543211221694946, -0.16435885429382324, -0.15609806776046753, 0.2807835340499878, -0.23587356507778168, -0.20952196419239044, -0.010749087668955326, 0.20247642695903778, 0.2645285725593567, 0.02983519248664379, 0.29201021790504456, -0.40788891911506653, -0.47345662117004395, 0.31476011872291565, 0.1066330075263977, 0.0641542300581932, 0.09484362602233887, -0.13452014327049255, 0.045705150812864304, -0.23550966382026672, -0.12135248631238937, -0.038801081478595734, -0.4933966100215912, -0.3687046766281128, 0.1129983589053154, -0.056056927889585495, -0.18806269764900208, 0.3058558404445648, -0.2521265745162964, 0.20812486112117767, 0.39655381441116333, -0.35721930861473083, -0.04998432472348213, 0.10629606246948242, 0.06754092872142792, -0.08237054944038391, -0.30002179741859436, 0.30334344506263733, 0.05861335247755051, -0.036201827228069305, -0.1099836602807045, -0.15063084661960602, -0.21480973064899445, -0.3020399808883667, -0.11404912173748016, 0.06612005829811096, -0.3005107641220093, -0.19913053512573242, 0.27966809272766113, 0.03478744998574257, -0.19572630524635315, 0.0643090307712555, 0.04471203312277794, 0.06447073817253113, 0.0706542581319809, -0.11650662124156952, -0.43589210510253906, -0.2991185784339905, 0.2291293442249298, -0.10617392510175705, 0.059771642088890076, 0.08018380403518677, -0.07489955425262451, -0.34633946418762207, -0.06298523396253586, -0.13152998685836792, 0.33494120836257935, -0.07561371475458145, -0.26389840245246887, 0.13827812671661377, -0.0463438406586647, -0.2485266774892807, 0.18237684667110443, 0.3721408247947693, -0.12179016321897507, 0.12269777059555054, -0.22046135365962982, -0.42468395829200745, 0.13713398575782776, -0.6464301347732544, 0.4521046578884125, -0.12128690630197525, -0.20025315880775452, -0.050812382251024246, 0.1161094456911087, -0.27976691722869873, -0.18842999637126923, 0.2789821922779083, -0.17766553163528442, 0.14022967219352722, 0.11205378919839859, 0.18077416718006134, 0.004734859801828861, -0.011298946104943752, 0.17007112503051758, -0.44634300470352173, -0.16339847445487976, -0.1498432755470276, 0.23484088480472565, 0.2619102895259857, -0.09217468649148941, -0.08409025520086288, -0.207805335521698, -0.28496378660202026, -0.11313489824533463, 0.19288857281208038, 0.37434592843055725, -0.10086646676063538, 0.2856466770172119, 0.14580239355564117, -0.08205600827932358, 0.03938118368387222, -0.016985531896352768, 0.49172449111938477, 0.23672287166118622, -0.09757855534553528, 0.0548575334250927, -0.42757299542427063, -0.017356276512145996, -0.3028707206249237, 0.33446356654167175, 0.3580658435821533, 0.03849971666932106, -0.005197383463382721, -0.009086504578590393, 0.27857911586761475, 0.07936523109674454, 0.396709144115448, 0.3823796808719635, -0.22291524708271027, 0.020836712792515755, 0.13232550024986267, 0.09386254101991653, 0.16559669375419617, 0.12229113280773163, -0.06558197736740112, -0.17084231972694397, 0.03089512512087822, 0.3884102404117584, 0.582411527633667, 0.19451814889907837, 0.2228575199842453, 0.03227400779724121, 0.30497652292251587, -0.2325621098279953, -0.1707638055086136, -0.13288578391075134, -0.09966012835502625, 0.10062967240810394, 0.7100634574890137, 0.4257141947746277, 0.3694365322589874, 0.49690020084381104, 0.16999603807926178, 0.4022544026374817, 0.3067311644554138, 0.2211693823337555, -0.4010964632034302, -0.3075219392776489, 0.2710808515548706, 0.30821728706359863, -0.007404707372188568, -0.0784393772482872, 0.17620165646076202, 0.43327340483665466, -0.23245689272880554, -0.09016963094472885, 0.1392509788274765, -0.1974363476037979, -0.20366421341896057, -0.14219646155834198, 0.04798521101474762, 0.04753052443265915, -0.1096213161945343, -0.024022391065955162, -0.01913927122950554, -0.2870715856552124, 0.4467106759548187, -0.1194145679473877, -0.08783756196498871, -0.2419092208147049, 0.4317243695259094, 0.21090149879455566, 0.15729008615016937, -0.23358725011348724, 0.05484399199485779, -0.11978352069854736, -0.1746010184288025, 0.13985559344291687, 0.4124731719493866, 0.2980325520038605, 0.27470654249191284, 0.15720491111278534, -0.17045126855373383, -0.01260681077837944, 0.013718144968152046, -0.1462857723236084, 0.4353647232055664, 0.17849205434322357, 0.1766631156206131, 0.1854196935892105, 0.05998697131872177, -0.13440316915512085, 0.14232344925403595, -0.025635700672864914, -0.0788123607635498, -0.35987529158592224, -0.1305101215839386, 0.2643904387950897, 0.07627741247415543, 0.3183746337890625, 0.17741268873214722, -0.47573694586753845, 0.11127501726150513, 0.3536192774772644, 0.07674451917409897, 0.0431193970143795, -0.36282777786254883, 0.04480665922164917, 0.0722196102142334, 0.3151155114173889, 0.3879610002040863, 0.07177919894456863, -0.4606618285179138, 0.03786322474479675, -0.5120995044708252, 0.08035286515951157, 0.021419130265712738, -0.18042977154254913, 0.1316087394952774, 0.26990675926208496, 0.23178786039352417, -0.009115811437368393, -0.0011229068040847778, -0.1341434121131897, 0.30914759635925293, 0.055192019790410995, -0.08712965250015259, 0.16497991979122162, 0.09174594283103943, 0.01910264603793621, -0.004774175584316254, -0.24259629845619202, 0.37601158022880554, 0.08073215186595917, -0.027901405468583107, -0.5505872368812561, 0.20453661680221558, 0.4257653057575226, 0.01260465383529663, 0.5294216871261597, 0.1256997138261795, 0.27560436725616455, -0.04098835587501526, 0.09098368883132935, -0.3203238546848297, -0.014023082330822945, -0.17545074224472046, -0.02783685177564621, -0.16462509334087372, 0.17763680219650269, -0.20644213259220123, -0.5020631551742554, -0.13815782964229584, 0.15104161202907562, 0.021951228380203247, -0.07583604753017426, -0.16298435628414154, 0.2957136631011963, -0.3405951261520386, -0.024299079552292824, 0.17876878380775452, 0.3604174554347992, 0.3162539303302765, 0.01647530309855938, -0.3218851685523987, -0.19564248621463776, 0.34417957067489624, 0.016349945217370987, -0.19258326292037964, -0.010842574760317802, 0.210728257894516, 0.538415253162384, -0.2216319590806961, -0.6467501521110535, -0.15715402364730835, 0.24092839658260345, -0.05115649849176407, -0.40643152594566345, 0.637965977191925, -0.22094285488128662, 0.005057662725448608, -0.14447173476219177, 0.40593382716178894, -0.09018811583518982, -0.058696337044239044, -0.04393957182765007, -0.35385727882385254 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
This is just for speed improvements, especially for data exploration/experiments in notebooks. Ideally it shouldn't have changed anything regarding caching behavior in the first place (i.e. have the caching enabled by default). The 250MB limit has also been chosen to not create unexpected high memory usage on small laptops.
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
49
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ This is just for speed improvements, especially for data exploration/experiments in notebooks. Ideally it shouldn't have changed anything regarding caching behavior in the first place (i.e. have the caching enabled by default). The 250MB limit has also been chosen to not create unexpected high memory usage on small laptops.
[ -0.13437673449516296, -0.45044511556625366, -0.13338018953800201, 0.1502630114555359, 0.23461657762527466, 0.02190210670232773, -0.07911795377731323, 0.28192251920700073, 0.21119026839733124, 0.1559368073940277, -0.045414723455905914, -0.15217240154743195, 0.08216341584920883, 0.262339323759079, 0.06600569188594818, 0.03207020461559296, 0.10896281152963638, 0.057800810784101486, -0.22891655564308167, -0.012270409613847733, -0.3692460358142853, -0.012831522151827812, 0.014300361275672913, -0.2797124981880188, -0.26188749074935913, 0.18963000178337097, 0.012185530737042427, 0.19369831681251526, -0.3696686029434204, -0.31731119751930237, 0.10626645386219025, 0.10763697326183319, 0.006594151258468628, 0.10619433224201202, -0.00010431808914290741, -0.17618541419506073, 0.3117913007736206, -0.1720399260520935, -0.1140313595533371, 0.2708674669265747, -0.10952527821063995, -0.31706517934799194, -0.18089860677719116, -0.17978864908218384, 0.10406073182821274, -0.11112679541110992, 0.062011584639549255, -0.3694150745868683, -0.07048486173152924, 0.3066370189189911, 0.3246017396450043, 0.029719077050685883, 0.1862141489982605, -0.18058694899082184, 0.37701061367988586, 0.02934935688972473, -0.10143585503101349, 0.025159232318401337, 0.015251949429512024, 0.04924791306257248, -0.16500604152679443, 0.27960529923439026, 0.24304243922233582, 0.2555065453052521, 0.6227091550827026, 0.012729558162391186, -0.22020280361175537, -0.08176666498184204, 0.2420123815536499, 0.15683136880397797, 0.5761672854423523, -0.06991836428642273, -0.1484731137752533, 0.0468105673789978, -0.21231693029403687, -0.3295947015285492, 0.23966211080551147, 0.1983206421136856, -0.1863836944103241, 0.010345958173274994, -0.3137226402759552, -0.18271873891353607, -0.157689169049263, -0.03594207763671875, -0.1724078208208084, 0.11453224718570709, -0.14735688269138336, -0.029475823044776917, 0.413040429353714, -0.0338967964053154, -0.08027489483356476, 0.17502877116203308, -0.10009798407554626, -0.12595541775226593, -0.15108831226825714, -0.05729590356349945, 0.005150660872459412, 0.11962829530239105, 0.5120756030082703, -0.21415220201015472, -0.025101441890001297, 0.09795770049095154, 0.3943800926208496, -0.16379809379577637, -0.15990182757377625, 0.36769893765449524, -0.0945664718747139, -0.10600530356168747, 0.2039766162633896, 0.11532362550497055, 0.049322765320539474, -0.08738600462675095, 0.22608675062656403, -0.2457883656024933, 0.0834474265575409, -0.12217225879430771, 0.015272710472345352, -0.3882553279399872, -0.0013622045516967773, 0.34136536717414856, 0.04786406457424164, -0.1495787799358368, -0.07450355589389801, 0.5038629770278931, -0.06808896362781525, -0.17137223482131958, -0.030139904469251633, -0.08891528099775314, -0.2116185575723648, -0.15831252932548523, -0.2768857181072235, 0.01902749016880989, -0.3045569062232971, 0.1362549364566803, 0.1937425434589386, 0.08092882484197617, 0.17949025332927704, -0.047944325953722, 0.22293613851070404, 0.14080505073070526, 0.13766592741012573, -0.15594175457954407, 0.48033565282821655, 0.3829013407230377, -0.12299655377864838, 0.10239354521036148, 0.14714953303337097, 0.17649339139461517, -0.2207668125629425, 0.17351284623146057, -0.20122146606445312, -0.5352143049240112, -0.17918473482131958, 0.23831211030483246, -0.022559668868780136, 0.02320246770977974, -0.038509003818035126, 0.2344614863395691, 0.15812955796718597, 0.013015415519475937, 0.277325302362442, 0.05799829959869385, -0.5111876130104065, -0.24595171213150024, 0.16142407059669495, 0.3225993514060974, -0.4132891893386841, 0.050165168941020966, 0.20336605608463287, 0.0404205247759819, 0.08922480046749115, 0.3361215591430664, -0.18867729604244232, -0.05474688857793808, -0.29031893610954285, 0.07750117778778076, -0.2580983638763428, -0.29264500737190247, -0.6161742806434631, 0.3482578694820404, 0.05779007077217102, 0.0560983344912529, 0.17619585990905762, 0.023126421496272087, 0.14355787634849548, -0.0032430212013423443, 0.12821701169013977, 0.17820978164672852, 0.14208371937274933, -0.031966060400009155, -0.4372873604297638, -0.31516095995903015, 0.05641963705420494, -0.08536265790462494, 0.05628378689289093, 0.11881125718355179, 0.05828287452459335, 0.0808601826429367, 0.11466874927282333, -0.15340305864810944, 0.27856191992759705, 0.36546361446380615, 0.2519541382789612, 0.0652797520160675, 0.09606712311506271, 0.12797945737838745, -0.3728930354118347, 0.16705790162086487, -0.13605749607086182, 0.04091301187872887, -0.02733917534351349, -0.3829270601272583, -0.02593432180583477, -0.21647144854068756, 0.10644510388374329, -0.2538840174674988, 0.19320480525493622, 0.020369160920381546, 0.13495025038719177, -0.10672566294670105, 0.11861346662044525, 0.4564567804336548, -0.323770135641098, 0.07697974145412445, -0.08857636153697968, -0.05664772540330887, -0.12819604575634003, 0.03688923269510269, -0.11205042898654938, -0.029841795563697815, -0.051575787365436554, -0.024863367900252342, -0.11954011768102646, 0.4733690321445465, 0.05145082622766495, -0.3306797742843628, -0.0776590034365654, 0.0936734601855278, 0.03512957692146301, -0.1873970776796341, 0.41660913825035095, -0.173286572098732, 0.02491692826151848, 0.04317374527454376, -0.3381844162940979, 0.1433219313621521, -0.05995982512831688, -0.03311764448881149, 0.12780660390853882, -0.3168095648288727, 0.07061391323804855, 0.07682783901691437, 0.038399457931518555, -0.25125497579574585, 0.17601439356803894, 0.09034198522567749, 0.15915536880493164, 0.10587409138679504, -0.29912906885147095, 0.060843952000141144, 0.3112717568874359, -0.08032415807247162, 0.014014232903718948, 0.47957664728164673, 0.04301423206925392, -0.37586843967437744, 0.16261562705039978, -0.03660012036561966, 0.5998702645301819, 0.38029077649116516, 0.1063183844089508, 0.038564085960388184, -0.04237502068281174, -0.12083923071622849, 0.23079940676689148, -0.08359280228614807, -0.08873532712459564, 0.11323569715023041, 0.018312662839889526, -0.1962934136390686, -0.41141897439956665, -0.023251712322235107, 0.144831582903862, 0.3481070101261139, -0.25927239656448364, -0.01036477368324995, -0.24461208283901215, -0.4577332139015198, 0.14633597433567047, 0.026888485997915268, -0.2488652467727661, -0.15679679811000824, -0.03571179509162903, 0.0597086101770401, 0.01959160342812538, 0.03512531891465187, 0.12954501807689667, 0.5487471222877502, 0.14736349880695343, 0.11682388186454773, -0.13972683250904083, 0.24569913744926453, -0.13667601346969604, 0.11730346083641052, -0.03733214735984802, -0.08853210508823395, 0.19149211049079895, 0.007812930271029472, 0.11532802879810333, -0.30028825998306274, -0.4446587860584259, 0.06255871802568436, -0.14786940813064575, 0.29626333713531494, 0.17440299689769745, 0.2616215646266937, -0.140919029712677, 0.01427753921598196, 0.12166588753461838, -0.13046441972255707, -0.1557847410440445, -0.1277877688407898, -0.10431027412414551, 0.07303254306316376, -0.19617024064064026, -0.10035733133554459, -0.18182769417762756, -0.5141159892082214, 0.35078859329223633, 0.0715978741645813, 0.17843082547187805, 0.42058661580085754, 0.1634070724248886, 0.04101888835430145, -0.026631781831383705, 0.07407339662313461, -0.5381383895874023, -0.46696937084198, 0.3611840307712555, -0.263192743062973, -0.42877745628356934, 0.014076899737119675, 0.19005627930164337, 0.06217574328184128, 0.07853128015995026, -0.5987023711204529, -0.21582606434822083, -0.44187915325164795, 0.10840779542922974, -0.3306243121623993, 0.1553378701210022, 0.214760884642601, -0.2783304750919342, -0.2521209418773651, -0.08276060223579407, -0.2963132858276367, 0.10703247040510178, -0.12746864557266235, 0.15713080763816833, -0.060837723314762115, 0.34984660148620605, 0.32372209429740906, 0.5202698707580566, 0.14368818700313568, 0.1629580557346344, 0.33942967653274536, 0.04558930546045303, 0.5101754665374756, -0.39877068996429443, -0.06374577432870865, 0.35765984654426575, -0.07214270532131195, -0.053405530750751495, 0.25118589401245117, -0.06365270912647247, 0.024481482803821564, 0.3074130415916443, -0.07217581570148468, 0.1545044481754303, -0.10371083766222, 0.31482064723968506, 0.2518143057823181, 0.01570557802915573, 0.09337790310382843, -0.016603946685791016, -0.2818911671638489, -0.0647718608379364, 0.1113605946302414, 0.19139663875102997, -0.1666344404220581, 0.10512841492891312, -0.2541750967502594, -0.07055839896202087, -0.5801350474357605, 0.4121309518814087, 0.06556688249111176, 0.22886894643306732, -0.22752948105335236, -0.2994767427444458, 0.09551864862442017, 0.032529160380363464, 0.6833008527755737, -0.17773713171482086, -0.2474723905324936, -0.08027702569961548, -0.11355966329574585, -0.07744185626506805, -0.10266656428575516, 0.05952015891671181, 0.1478080153465271, -0.035368386656045914, 0.15799349546432495, -0.25542518496513367, -0.2335384637117386, 0.3253486752510071, -0.03196953237056732, -0.1039213091135025, -0.13232026994228363, -0.4141090512275696, -0.17004868388175964, -0.2167203277349472, 0.1886395663022995, 0.09682519733905792, -0.03984830528497696, 0.1043090894818306, 0.03509647771716118, 0.050611115992069244, -0.013140738941729069, 0.0012057498097419739, -0.10787677764892578, 0.27789849042892456, 0.12433838844299316, 0.09840777516365051, -0.03480186313390732, 0.10389535129070282, 0.24757657945156097, 0.321552574634552, -0.23322969675064087, 0.08112021535634995, 0.2737458646297455, -0.203871950507164, 0.20492962002754211, 0.379899263381958, 0.059542715549468994, 0.1934639811515808, 0.28660184144973755, 0.396271288394928, -0.42667627334594727, 0.18226967751979828, 0.12648218870162964, -0.012009496800601482, -0.44136688113212585, -0.32012850046157837, 0.4141431748867035, 0.10937289893627167, 0.08318424224853516, 0.45602062344551086, 0.3305273652076721, -0.2595944106578827, 0.08718951791524887, 0.17649373412132263, 0.9642354249954224, -0.12369081377983093, 0.30724552273750305, -0.11977381259202957, -0.051317185163497925, 0.27309292554855347, -0.35571444034576416, 0.07989386469125748, -0.07553128153085709, -0.45866575837135315, 0.03145630657672882, -0.0394236221909523, 0.22235777974128723, -0.3428555727005005, -0.31513017416000366, 0.09148336201906204, 0.12882550060749054, 0.16562752425670624, -0.14797917008399963, 0.2769302427768707, -0.30639708042144775, -0.3044731318950653, 0.20617982745170593, 0.32358649373054504, -0.1003885567188263, 0.012656714767217636, -0.05745880305767059, 0.05541263148188591, -0.11017289757728577, -0.13833363354206085, -0.17985278367996216, -0.29154250025749207, -0.22002051770687103, 0.15260952711105347, -0.021179907023906708, -0.16359972953796387, -0.015133264474570751, -0.1925433725118637, 0.18951845169067383, 0.3096817433834076, -0.2775472402572632, 0.07679741084575653, 0.020646821707487106, 0.19041958451271057, -0.013639804907143116, -0.30755987763404846, 0.15916159749031067, -0.027788713574409485, -0.12703028321266174, -0.027868181467056274, 0.017395690083503723, -0.3564338684082031, -0.033417657017707825, -0.03566763550043106, 0.044662781059741974, -0.3968968689441681, -0.12330424785614014, -0.005542539060115814, -0.05220847576856613, -0.2023029923439026, 0.22567743062973022, 0.024727310985326767, -0.09308699518442154, 0.030626043677330017, 0.03243698552250862, -0.3765539526939392, -0.3231746554374695, 0.4857129752635956, 0.021645760163664818, 0.05765589326620102, 0.10534899681806564, 0.11950671672821045, -0.17711438238620758, -0.2280445396900177, -0.06391914188861847, 0.18901832401752472, -0.34225237369537354, 0.06399708241224289, -0.10125038772821426, -0.17601488530635834, -0.2207452356815338, 0.3422826826572418, 0.3614385724067688, 0.09593988955020905, 0.035652946680784225, -0.13553807139396667, -0.5490846037864685, 0.20788413286209106, -0.47120359539985657, 0.447761595249176, -0.13019190728664398, -0.12520863115787506, -0.03790782392024994, 0.024547064676880836, -0.44530338048934937, 0.040875062346458435, -0.05730787664651871, -0.12243995070457458, -0.01892569661140442, -0.15301507711410522, 0.33275938034057617, -0.11469356715679169, 0.12609373033046722, 0.31324154138565063, -0.30277276039123535, -0.3398810625076294, -0.08526808023452759, 0.08041811734437943, -0.05425640940666199, -0.2916136384010315, 0.005407846532762051, -0.1878398358821869, -0.28481730818748474, -0.08277369290590286, 0.19667017459869385, 0.3023069500923157, -0.015338212251663208, 0.10090374946594238, 0.04231336712837219, -0.26937007904052734, 0.2150951474905014, -0.028590798377990723, 0.2851325273513794, 0.33236002922058105, -0.021308504045009613, 0.14598698914051056, -0.363997220993042, -0.009605489671230316, -0.08568450808525085, 0.42608967423439026, 0.09959469735622406, -0.06685909628868103, 0.021770816296339035, -0.12608321011066437, -0.054549045860767365, 0.16885092854499817, 0.46217888593673706, 0.245864138007164, -0.16849297285079956, -0.2571253776550293, 0.1686757206916809, 0.3172852694988251, 0.024954307824373245, -0.24494530260562897, -0.04644159600138664, -0.16033115983009338, 0.05605200305581093, 0.23005735874176025, 0.5019127726554871, 0.05674314498901367, 0.30859172344207764, 0.25935956835746765, 0.2448355257511139, -0.12549671530723572, -0.09727160632610321, -0.00367007777094841, 0.10834610462188721, 0.10083020478487015, 0.5500003099441528, 0.3666090667247772, 0.4073578119277954, 0.6180126667022705, 0.15660353004932404, 0.13057337701320648, 0.22653046250343323, 0.38838234543800354, -0.27106863260269165, -0.4831000864505768, 0.2115553766489029, 0.289201021194458, -0.2802935838699341, 0.1783374845981598, 0.04493865370750427, 0.36231347918510437, -0.07831420749425888, -0.3377058207988739, -0.2264668345451355, -0.10619345307350159, -0.41678011417388916, -0.13991713523864746, 0.1973346471786499, -0.06101743131875992, -0.06650853902101517, 0.21893876791000366, -0.007659938186407089, -0.24747715890407562, 0.4843786358833313, -0.19467796385288239, -0.07586769759654999, -0.10502957552671432, 0.20851978659629822, 0.043817292898893356, 0.028283700346946716, -0.20277158915996552, 0.1744767278432846, 0.01515904814004898, -0.23800644278526306, 0.2838037312030792, 0.42926880717277527, 0.36344248056411743, 0.27046912908554077, 0.05303948372602463, 0.08268315345048904, 0.14615577459335327, -0.022265315055847168, -0.18050611019134521, 0.23018847405910492, 0.29196497797966003, 0.0917036235332489, 0.16243982315063477, 0.26627305150032043, -0.27404841780662537, 0.11983612179756165, -0.09241187572479248, 0.03182802349328995, -0.1926664263010025, -0.13004067540168762, 0.13660800457000732, 0.06140964478254318, -0.014559589326381683, 0.07106923311948776, -0.6149200201034546, 0.08983409404754639, 0.29313528537750244, 0.0017116439994424582, 0.20442485809326172, 0.037968091666698456, 0.13042788207530975, -0.14536069333553314, 0.5646409392356873, 0.22354477643966675, -0.013060279190540314, -0.3393421769142151, -0.08307957649230957, -0.47943735122680664, 0.1664348542690277, -0.12919560074806213, -0.050696756690740585, 0.04001764580607414, 0.5065616965293884, 0.06392870843410492, -0.26214802265167236, 0.10862718522548676, -0.21145500242710114, 0.03020589053630829, 0.14721736311912537, -0.220909982919693, 0.1229611486196518, 0.08248236775398254, 0.006047173403203487, 0.021471291780471802, -0.29957863688468933, 0.41563519835472107, 0.03441064432263374, 0.17514395713806152, -0.35130900144577026, 0.08377645909786224, 0.14723767340183258, -0.013106562197208405, 0.5014760494232178, 0.02479611150920391, 0.19880349934101105, -0.1531234085559845, -0.18927496671676636, -0.3286711871623993, 0.03557118773460388, -0.04107986018061638, -0.051697976887226105, 0.05074828118085861, 0.2786470055580139, -0.10722744464874268, -0.2530982792377472, -0.260291188955307, 0.3960479199886322, 0.019014358520507812, -0.08275286853313446, -0.14429326355457306, 0.46498435735702515, -0.06541277468204498, -0.038323383778333664, 0.10910861939191818, 0.36223945021629333, 0.22913587093353271, 0.08008728176355362, -0.30971062183380127, -0.2764292359352112, 0.4311162233352661, -0.14009961485862732, -0.23113545775413513, 0.013193749822676182, 0.3115486800670624, 0.32699936628341675, -0.2684957981109619, -0.5673497319221497, 0.040156133472919464, 0.1078624501824379, 0.017331479117274284, -0.5392525792121887, 0.5166719555854797, -0.29773110151290894, 0.039292749017477036, -0.14333774149417877, 0.5288006067276001, 0.01974540576338768, -0.3538195788860321, -0.11669272184371948, -0.27057886123657227 ]
https://github.com/huggingface/datasets/pull/2409
Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Won't it be more straight-forward to create a performance optimization doc and share all these optimizations there? That way the user will be in the knowing and will be able to get faster speeds if their RAM is large. It is hard for me to tell the average size of a dataset an average user will have, but my gut feeling is that many NLP datasets are larger than 250MB. Please correct me if I'm wrong. But at the same time what you're saying is that once https://github.com/huggingface/datasets/pull/2329 is completed and merged, the in-memory-datasets will be cached too. So if I wait long enough the whole issue will go away altogether, correct?
As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_
112
text: Add HF_ prefix to env var MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES As mentioned in https://github.com/huggingface/datasets/pull/2399 the env var should be prefixed by HF_ Won't it be more straight-forward to create a performance optimization doc and share all these optimizations there? That way the user will be in the knowing and will be able to get faster speeds if their RAM is large. It is hard for me to tell the average size of a dataset an average user will have, but my gut feeling is that many NLP datasets are larger than 250MB. Please correct me if I'm wrong. But at the same time what you're saying is that once https://github.com/huggingface/datasets/pull/2329 is completed and merged, the in-memory-datasets will be cached too. So if I wait long enough the whole issue will go away altogether, correct?
[ 0.015039835125207901, -0.31861644983291626, -0.0409184992313385, 0.31327658891677856, 0.1245315670967102, 0.07336027175188065, -0.258039653301239, 0.41427114605903625, -0.09139594435691833, 0.2304583191871643, 0.11884894222021103, -0.14085903763771057, -0.023857105523347855, -0.1637846976518631, 0.22409746050834656, 0.06086800992488861, 0.213878333568573, 0.1491115689277649, -0.05666381120681763, -0.07644732296466827, -0.21166765689849854, -0.11685465276241302, 0.08623206615447998, -0.18531785905361176, -0.2096208930015564, 0.12331829965114594, -0.12046293914318085, 0.12977564334869385, -0.3675583302974701, -0.2596395015716553, 0.11471429467201233, 0.2506231665611267, 0.07929038256406784, -0.0421733483672142, -0.00011877757788170129, -0.2169550359249115, 0.2878555357456207, -0.03964391350746155, -0.08614903688430786, 0.22522777318954468, -0.1235802173614502, -0.43460819125175476, -0.1670190393924713, -0.31841692328453064, 0.2119801640510559, 0.04586877301335335, 0.07927150279283524, -0.6272634863853455, -0.04466913640499115, 0.240119069814682, 0.10275609791278839, 0.09318887442350388, -0.13211537897586823, -0.021983524784445763, 0.21409890055656433, 0.11886107921600342, -0.10092805325984955, 0.08610174059867859, -0.18610361218452454, -0.1457235962152481, -0.07938491553068161, 0.41489532589912415, 0.2235838770866394, 0.010393166914582253, 0.5380192399024963, -0.03741254284977913, -0.12298087030649185, 0.003520771861076355, -0.08569609373807907, 0.011310305446386337, 0.3713532090187073, -0.07113365083932877, -0.12670424580574036, -0.1472058892250061, -0.12287775427103043, -0.45947030186653137, 0.17688271403312683, 0.05468875914812088, 0.018803752958774567, 0.10460090637207031, -0.40275877714157104, -0.4713732600212097, -0.020581189543008804, 0.06039416044950485, 0.2048816978931427, 0.29369544982910156, -0.026753343641757965, 0.011844813823699951, 0.23932214081287384, -0.15899528563022614, -0.09682530909776688, -0.03146390616893768, -0.020877700299024582, -0.17877793312072754, -0.1210310310125351, -0.15116646885871887, -0.021555401384830475, -0.1600513756275177, 0.3891049325466156, -0.15993863344192505, 0.14773114025592804, -0.0005516763776540756, 0.4523172974586487, 0.01906435936689377, 0.0582137405872345, 0.2742723524570465, -0.011930897831916809, 0.03834272548556328, 0.2240452915430069, -0.09728910773992538, 0.07285334169864655, 0.042066335678100586, 0.12516532838344574, 0.02456076815724373, -0.09398457407951355, -0.15811705589294434, -0.14585065841674805, -0.36685657501220703, -0.07117168605327606, 0.27617403864860535, -0.2273789346218109, -0.11613722890615463, -0.08087418228387833, 0.2928480803966522, -0.08638713508844376, 0.014707542955875397, 0.11339534819126129, -0.12875370681285858, -0.35963204503059387, 0.041882529854774475, -0.03333151713013649, 0.06863700598478317, -0.3681756854057312, 0.4572286009788513, 0.15448471903800964, 0.19900281727313995, 0.02439652569591999, -0.17417104542255402, 0.5223071575164795, -0.017381133511662483, -0.13929618895053864, -0.10809415578842163, 0.2779352068901062, 0.13964276015758514, -0.23355479538440704, -0.027637377381324768, 0.09009288251399994, 0.0000269375741481781, -0.45576953887939453, -0.04114556312561035, -0.13707822561264038, -0.49621400237083435, -0.036325953900814056, 0.1175021082162857, -0.029890740290284157, 0.03767814487218857, -0.061338864266872406, 0.6248458027839661, 0.20212753117084503, -0.09258430451154709, 0.28398287296295166, 0.11589323729276657, -0.7027907967567444, -0.2126968950033188, 0.1318836510181427, 0.1436554491519928, -0.047761574387550354, -0.15313804149627686, 0.24960888922214508, 0.4045347273349762, 0.09943446516990662, 0.5519734621047974, -0.21580198407173157, 0.027183502912521362, -0.1171196848154068, 0.19214515388011932, 0.10936541855335236, -0.6507548093795776, -0.447275847196579, 0.2922806441783905, -0.2667233347892761, -0.05711544305086136, 0.4008166491985321, -0.05628832429647446, 0.18635328114032745, -0.19769732654094696, 0.2037377953529358, 0.26584917306900024, -0.022243810817599297, -0.009600954130291939, -0.4895387291908264, -0.30194929242134094, 0.09798013418912888, 0.04244748130440712, 0.0629805251955986, 0.04246196895837784, -0.02196314185857773, 0.28288766741752625, 0.051522597670555115, 0.07339899986982346, 0.19370611011981964, 0.46285974979400635, 0.006305951625108719, 0.1360723227262497, 0.13356706500053406, 0.056107133626937866, -0.33679842948913574, -0.0075760893523693085, -0.1652449071407318, 0.0031272321939468384, 0.21704453229904175, -0.6635332703590393, 0.0009672399610280991, -0.12935836613178253, 0.25154775381088257, -0.2651737928390503, 0.003597322851419449, -0.15291695296764374, 0.28831708431243896, 0.007736973464488983, -0.054958127439022064, 0.4977426528930664, -0.3681507706642151, 0.03181636705994606, -0.10962510108947754, 0.0725189745426178, -0.11265606433153152, 0.19894571602344513, 0.10163764655590057, 0.2348088026046753, -0.044625453650951385, 0.16851706802845, -0.0881597027182579, 0.1799422800540924, -0.2611176371574402, -0.14349465072155, 0.3204557001590729, 0.33910825848579407, 0.2152128964662552, -0.2916336953639984, 0.47792932391166687, 0.026500273495912552, 0.009922118857502937, -0.009917717427015305, -0.38562729954719543, 0.09157787263393402, 0.13431574404239655, 0.1358809620141983, 0.26357364654541016, -0.44718071818351746, -0.09267996996641159, -0.05735195800662041, -0.16226646304130554, -0.14629675447940826, 0.20820550620555878, 0.10246716439723969, 0.2760787308216095, 0.08575963973999023, -0.3339138329029083, 0.07041983306407928, 0.5322967171669006, 0.08863471448421478, -0.3411666750907898, 0.43626677989959717, 0.21455809473991394, -0.27269312739372253, 0.10584065318107605, -0.45381367206573486, 0.5957130789756775, 0.47170886397361755, 0.15561607480049133, 0.12130826711654663, 0.07032336294651031, -0.03992491215467453, 0.2877671718597412, 0.1623179018497467, 0.20051772892475128, 0.12702599167823792, 0.1260048747062683, 0.11689373850822449, -0.28150710463523865, -0.03827878460288048, 0.009594080969691277, 0.0169550608843565, -0.26631274819374084, -0.1083323135972023, -0.1504240781068802, -0.6186225414276123, -0.02024346962571144, -0.08632738888263702, -0.3997998833656311, -0.1778390258550644, 0.1565677523612976, -0.10057750344276428, -0.12921416759490967, 0.16789965331554413, 0.030610453337430954, 0.6682377457618713, -0.11887066811323166, 0.10392069816589355, -0.10432182997465134, 0.27133145928382874, -0.25892728567123413, -0.11232338845729828, 0.03843853622674942, -0.15638524293899536, 0.4302326738834381, 0.2256704866886139, 0.4635186195373535, -0.36786743998527527, -0.6172162294387817, -0.06090443581342697, -0.06825044006109238, 0.11970307677984238, -0.004714451730251312, -0.2541770935058594, -0.32856661081314087, -0.15203288197517395, 0.11157361418008804, 0.0008011050522327423, -0.078089140355587, -0.31557348370552063, 0.05404464155435562, 0.06592687964439392, -0.1045445054769516, -0.267711341381073, -0.1743689626455307, -0.727982223033905, 0.23900416493415833, -0.09532409906387329, 0.20259013772010803, 0.24874407052993774, -0.13805876672267914, 0.032181497663259506, -0.12531670928001404, 0.06381244957447052, -0.38211551308631897, -0.32665735483169556, 0.14604131877422333, -0.2063523530960083, -0.2549295425415039, -0.3113032877445221, -0.018275029957294464, -0.0018946938216686249, 0.2501659691333771, -0.5892149209976196, 0.3116490840911865, -0.2032168209552765, 0.061326343566179276, -0.277753621339798, 0.29322296380996704, 0.40224334597587585, -0.23458918929100037, -0.11081088334321976, -0.031997181475162506, -0.26694250106811523, 0.11347287148237228, -0.2061009705066681, 0.2349148690700531, -0.018626004457473755, 0.21793314814567566, 0.2882932126522064, 0.6419259309768677, 0.27568304538726807, 0.22895610332489014, 0.2287341058254242, 0.1945350021123886, 0.5331399440765381, -0.04103640466928482, -0.1347835510969162, 0.12240532785654068, 0.00737898051738739, 0.009431291371583939, 0.4215967059135437, 0.1840134859085083, 0.03725399821996689, 0.1799786239862442, -0.0885670930147171, 0.08703448623418808, -0.1905185431241989, 0.23587796092033386, 0.0256352499127388, 0.036021165549755096, 0.19268755614757538, -0.16710780560970306, -0.24901825189590454, 0.022413527593016624, 0.0663071870803833, 0.3740028142929077, -0.03195556253194809, 0.08205124735832214, -0.21244409680366516, -0.07714591175317764, -0.4404197931289673, 0.22034451365470886, 0.08611379563808441, 0.3909160792827606, -0.2048177421092987, -0.13995063304901123, -0.019388973712921143, 0.036284614354372025, 0.5141682028770447, -0.08626430481672287, -0.4466373324394226, -0.06976482272148132, -0.09191368520259857, 0.09804068505764008, -0.033276043832302094, 0.20082120597362518, 0.3557140529155731, 0.13362260162830353, 0.38866063952445984, -0.4662017226219177, -0.32949215173721313, 0.49804913997650146, -0.21951450407505035, -0.13714052736759186, -0.44775620102882385, -0.23907950520515442, -0.1122591570019722, -0.2141059935092926, 0.1691095232963562, 0.0011178646236658096, 0.07018408179283142, 0.1400095671415329, 0.013032879680395126, 0.11142125725746155, 0.07605186104774475, 0.25641125440597534, -0.3123583495616913, 0.07453184574842453, 0.18828552961349487, 0.13574449717998505, -0.13008558750152588, 0.1547718644142151, 0.1823829859495163, 0.33176618814468384, -0.07849195599555969, 0.030427373945713043, -0.042159780859947205, 0.15019497275352478, 0.5668808817863464, 0.6120936870574951, 0.23382146656513214, 0.18271324038505554, 0.31416910886764526, 0.43872660398483276, -0.3803563416004181, 0.09639060497283936, 0.18827389180660248, -0.02672462910413742, -0.5993133187294006, -0.25099796056747437, 0.877037763595581, 0.44713157415390015, 0.10216027498245239, 0.6234866380691528, 0.5253872871398926, -0.42346858978271484, -0.06913994252681732, 0.28536736965179443, 1.3422785997390747, -0.12489625811576843, 0.46995288133621216, -0.1084975078701973, -0.08409842848777771, 0.5576167702674866, -0.6293075084686279, -0.00018344447016716003, -0.085810586810112, -0.23163330554962158, 0.046652600169181824, -0.00017692521214485168, 0.17417451739311218, -0.30350643396377563, -0.2022833675146103, 0.041880350559949875, 0.2692265510559082, 0.2513698637485504, -0.05517096817493439, 0.536318838596344, -0.4176037609577179, -0.5393953919410706, -0.1372782588005066, 0.015949249267578125, -0.09499384462833405, 0.015846073627471924, -0.11962571740150452, -0.09275876730680466, -0.3276841640472412, -0.18229134380817413, -0.11508655548095703, -0.2519274652004242, -0.021526450291275978, 0.28763502836227417, -0.36198070645332336, -0.08491388708353043, 0.18959714472293854, -0.40151336789131165, 0.02114628255367279, 0.40294742584228516, -0.3323191702365875, -0.017840217798948288, -0.05890192836523056, -0.03851298987865448, 0.13330526649951935, -0.18526792526245117, 0.19900362193584442, -0.14338615536689758, 0.06179977208375931, -0.2388281524181366, -0.1004188284277916, -0.17172446846961975, -0.45503804087638855, -0.14153172075748444, -0.04214852303266525, -0.23998034000396729, -0.15762779116630554, 0.25424349308013916, -0.336042582988739, -0.12248919904232025, 0.050298161804676056, 0.10415908694267273, -0.15622112154960632, 0.020110279321670532, 0.17978712916374207, -0.3782842755317688, -0.22505079209804535, 0.23927339911460876, 0.17155954241752625, -0.03247533738613129, 0.1808582991361618, -0.023001324385404587, -0.26355409622192383, -0.16184327006340027, -0.19056415557861328, 0.1999431848526001, 0.006793990731239319, -0.004420948214828968, 0.0950315073132515, -0.16701897978782654, -0.26837486028671265, -0.06687436997890472, 0.2784337103366852, -0.18019571900367737, 0.07204151153564453, -0.013804487884044647, -0.6242020130157471, 0.3496851325035095, -0.5536385774612427, 0.2928747832775116, -0.03600146993994713, -0.06820797920227051, -0.15875791013240814, 0.2169090211391449, -0.23121871054172516, -0.18317121267318726, -0.0486445426940918, -0.13828718662261963, 0.08175656944513321, 0.16836799681186676, 0.08311033248901367, -0.059246957302093506, -0.08128988742828369, 0.22645795345306396, -0.26373475790023804, -0.13180774450302124, -0.14130669832229614, 0.2143552303314209, 0.2055128514766693, -0.003579435870051384, 0.10625661909580231, -0.2357260137796402, -0.1563909500837326, -0.007805243134498596, 0.007487624883651733, 0.16321897506713867, 0.18106412887573242, 0.1493113487958908, -0.019785713404417038, -0.10704023391008377, 0.3481682538986206, 0.2935134470462799, 0.3875402510166168, 0.5665207505226135, -0.31903913617134094, 0.21284106373786926, -0.290935218334198, -0.0889643207192421, -0.29796454310417175, 0.13905444741249084, 0.24167731404304504, -0.03289666771888733, 0.04919600114226341, -0.12301482260227203, -0.013112064450979233, 0.16255031526088715, 0.3478153645992279, 0.38986489176750183, -0.17444883286952972, -0.07689090818166733, 0.10672689974308014, 0.0990934818983078, -0.03720041736960411, 0.059532977640628815, -0.011129755526781082, -0.42623865604400635, -0.13487491011619568, 0.24918439984321594, 0.4848204553127289, 0.27015650272369385, 0.21406684815883636, 0.17687129974365234, 0.23778896033763885, -0.1440613716840744, -0.16677474975585938, -0.13341347873210907, 0.12881381809711456, 0.1557246893644333, 0.42449551820755005, 0.45448437333106995, 0.4477643668651581, 0.20315228402614594, 0.20301944017410278, 0.4764062762260437, 0.2587534785270691, 0.1528969705104828, -0.23210766911506653, -0.20136411488056183, 0.12695789337158203, 0.33132097125053406, 0.14241179823875427, 0.14791437983512878, 0.14964590966701508, 0.48426058888435364, 0.03356288745999336, -0.21121977269649506, 0.0950135886669159, -0.04067185893654823, -0.28206267952919006, 0.07132032513618469, 0.25800415873527527, 0.004297174513339996, -0.08359358459711075, 0.06415122747421265, -0.007620878517627716, -0.19061993062496185, 0.2843857407569885, 0.047795288264751434, 0.09264183789491653, -0.15149284899234772, 0.30826956033706665, 0.21058455109596252, 0.2036018967628479, -0.4880824387073517, 0.10079243034124374, -0.10518762469291687, -0.06221237778663635, 0.05090636759996414, 0.5162489414215088, 0.46847963333129883, 0.2330876737833023, -0.05619445815682411, -0.109041228890419, 0.1265081763267517, 0.05202203243970871, -0.12879353761672974, 0.42204973101615906, 0.38553595542907715, 0.0225521270185709, 0.12199078500270844, -0.015824249014258385, -0.15248136222362518, 0.10874700546264648, 0.0939246267080307, -0.18313255906105042, -0.2859688401222229, -0.20690250396728516, 0.15729254484176636, -0.07486318051815033, 0.05217650532722473, 0.1646108627319336, -0.48973503708839417, 0.2508346736431122, 0.5882120132446289, 0.17053087055683136, 0.06405168771743774, -0.25246095657348633, 0.06404416263103485, 0.18588273227214813, 0.44316983222961426, 0.4660646617412567, 0.16014060378074646, -0.3791652023792267, -0.01940005272626877, -0.5789978504180908, 0.1569264680147171, -0.25348296761512756, -0.18293209373950958, 0.22371789813041687, 0.42122384905815125, 0.16529613733291626, -0.026627525687217712, -0.00564005970954895, -0.1421566903591156, 0.14295294880867004, -0.22348394989967346, -0.26176953315734863, 0.11029817163944244, -0.16018854081630707, -0.0508088618516922, 0.1597743183374405, -0.3882702589035034, 0.333411306142807, 0.236591637134552, -0.08351778984069824, -0.5366286635398865, 0.3547060191631317, 0.29308000206947327, 0.2922147512435913, 0.2103733867406845, 0.08537580072879791, 0.37918007373809814, -0.02517707645893097, -0.36027443408966064, -0.26857689023017883, 0.127480611205101, -0.24626894295215607, 0.0872228592634201, 0.02559490129351616, 0.10343034565448761, -0.46288949251174927, -0.46872082352638245, -0.24031434953212738, 0.1382567137479782, -0.18161718547344208, -0.1283794343471527, 0.056250445544719696, 0.07609366625547409, -0.07006194442510605, 0.11165747791528702, 0.11734828352928162, 0.580276370048523, 0.1250506341457367, 0.07690513134002686, -0.40739232301712036, -0.2779422402381897, 0.3359823226928711, -0.13828210532665253, -0.30074819922447205, 0.08445194363594055, 0.3870924413204193, 0.48035290837287903, -0.21069854497909546, -0.8011508584022522, -0.22096523642539978, 0.21152155101299286, -0.005163069814443588, -0.13179761171340942, 0.5264211893081665, -0.2720201015472412, -0.05651683360338211, -0.08850022405385971, 0.3079305589199066, -0.18791913986206055, -0.24434255063533783, 0.05839337036013603, -0.40608924627304077 ]
https://github.com/huggingface/datasets/pull/2404
Paperswithcode dataset mapping
live mapping can be found at https://huggingface.co/api/pwc/datasets-mapping and will be kept up to date going forward
This is a continuation of https://github.com/huggingface/huggingface_hub/pull/43, encoded directly inside dataset cards. As discussed: - `paperswithcode_id: null` when the dataset doesn't exist on paperswithcode's side. - I've added this new key at the end of the yaml instead of ordering all keys alphabetically as pyyaml's default. No strong opinion on that one though
16
text: Paperswithcode dataset mapping This is a continuation of https://github.com/huggingface/huggingface_hub/pull/43, encoded directly inside dataset cards. As discussed: - `paperswithcode_id: null` when the dataset doesn't exist on paperswithcode's side. - I've added this new key at the end of the yaml instead of ordering all keys alphabetically as pyyaml's default. No strong opinion on that one though live mapping can be found at https://huggingface.co/api/pwc/datasets-mapping and will be kept up to date going forward
[ 0.13046734035015106, -0.3154427409172058, -0.00006471388041973114, -0.11883535981178284, 0.14939913153648376, 0.14067083597183228, -0.04295097663998604, 0.36055850982666016, 0.048229362815618515, -0.012345179915428162, 0.10693921148777008, 0.2898530066013336, 0.22543823719024658, 0.21472519636154175, 0.2196647822856903, 0.10935560613870621, 0.11986549198627472, 0.17175999283790588, -0.007515385746955872, -0.015514537692070007, -0.3599185049533844, 0.06967215985059738, 0.0757465660572052, 0.058052949607372284, -0.16302397847175598, 0.014344429597258568, -0.0789150819182396, 0.3334423899650574, -0.2700297236442566, -0.4067842662334442, 0.3003361225128174, 0.2634953558444977, -0.31668829917907715, -0.1511680781841278, -0.00010792415559990332, -0.0008899196982383728, 0.17970596253871918, -0.1785295605659485, -0.10409869253635406, -0.21159930527210236, -0.07248133420944214, -0.3449750542640686, -0.08581098169088364, -0.24140062928199768, -0.30442002415657043, -0.1609044224023819, 0.1883181780576706, -0.02940545417368412, 0.035568222403526306, -0.018420223146677017, 0.21444915235042572, 0.3677530884742737, 0.1796492487192154, -0.07440831512212753, 0.27902039885520935, 0.3004654049873352, -0.18161022663116455, -0.25271278619766235, 0.3575938045978546, -0.05434240400791168, 0.058251816779375076, 0.5766312479972839, -0.13191509246826172, -0.15020634233951569, 0.27676573395729065, 0.2181321084499359, 0.16026362776756287, -0.22180631756782532, -0.0025484561920166016, 0.24534139037132263, 0.09122632443904877, -0.5109474658966064, 0.02813241444528103, -0.5652698278427124, -0.200630784034729, 0.017353979870676994, 0.12351447343826294, 0.23934699594974518, -0.15758344531059265, 0.20509858429431915, -0.17588545382022858, -0.05013180151581764, -0.13147981464862823, 0.06680181622505188, -0.10191746056079865, 0.27430450916290283, 0.11521361768245697, 0.05387058109045029, 0.14790257811546326, -0.07678177207708359, 0.0434575118124485, -0.025655437260866165, -0.11130796372890472, 0.40613245964050293, 0.002220798283815384, -0.3509830832481384, 0.24226757884025574, 0.2789986729621887, 0.491857647895813, -0.12557253241539001, -0.14117643237113953, 0.1255018711090088, 0.16896118223667145, 0.3424389660358429, 0.12548783421516418, -0.14892178773880005, 0.31834936141967773, 0.1812143176794052, -0.07801517844200134, 0.13667576014995575, 0.22848820686340332, 0.038922231644392014, 0.09048885852098465, 0.06534162908792496, -0.072530597448349, -0.1422780156135559, 0.35372263193130493, -0.0976678878068924, -0.3079412579536438, 0.03262212127447128, -0.18536493182182312, 0.24287277460098267, 0.030923377722501755, 0.49988433718681335, 0.2531709372997284, -0.14167392253875732, 0.1280822604894638, -0.1349601447582245, -0.16217684745788574, -0.06137283518910408, -0.15047915279865265, 0.021700168028473854, 0.011561557650566101, 0.025476040318608284, 0.009817101061344147, -0.6083273887634277, 0.29842180013656616, 0.009650246240198612, -0.011110030114650726, 0.20613235235214233, 0.006604030728340149, 0.3065292537212372, 0.595337450504303, 0.37743616104125977, 0.08649159967899323, 0.015363985672593117, 0.27744603157043457, -0.28116506338119507, -0.2423015832901001, 0.24414297938346863, -0.2548939883708954, -0.24992486834526062, -0.10078008472919464, 0.29817941784858704, -0.07336881756782532, -0.1873951405286789, 0.30241701006889343, 0.1984204798936844, 0.20788204669952393, -0.12578386068344116, 0.390504390001297, 0.2384660243988037, 0.08498689532279968, -0.06573131680488586, 0.050853125751018524, 0.501681923866272, -0.13025285303592682, -0.29497820138931274, 0.2999590039253235, -0.3843795359134674, -0.16379359364509583, -0.1953101009130478, -0.166568323969841, -0.18300548195838928, -0.11383646726608276, 0.3769915699958801, 0.10120747238397598, -0.4238268733024597, -0.48250386118888855, 0.20984070003032684, -0.06803259998559952, 0.1011364683508873, -0.14317643642425537, 0.2246374934911728, 0.18450738489627838, -0.09854278713464737, 0.07013468444347382, -0.06135166436433792, -0.08077514171600342, 0.18034550547599792, -0.3271583616733551, -0.16558541357517242, -0.09186320006847382, 0.10492944717407227, -0.156451016664505, -0.09728486090898514, 0.09540820121765137, 0.13336531817913055, 0.2961300015449524, -0.06708642840385437, 0.00321577163413167, 0.18427331745624542, 0.337273508310318, -0.0008749887347221375, 0.10174854844808578, -0.08610361814498901, -0.27360573410987854, 0.09417741745710373, -0.14442786574363708, 0.05599658563733101, -0.4413919448852539, -0.47617071866989136, -0.13659918308258057, 0.1835724413394928, -0.3501221239566803, -0.1926710605621338, 0.17995744943618774, -0.19023704528808594, 0.05033723637461662, -0.03649993985891342, -0.27474236488342285, 0.24621683359146118, -0.21824350953102112, 0.13356465101242065, -0.30583155155181885, 0.03387005627155304, 0.16082505881786346, 0.20535841584205627, -0.13354581594467163, 0.22994181513786316, 0.1234557181596756, -0.05532682314515114, 0.42268210649490356, 0.2823682129383087, -0.1084604263305664, -0.011233493685722351, 0.046978842467069626, 0.3073473870754242, 0.2890239953994751, -0.09440001845359802, -0.08662176132202148, 0.1748172789812088, -0.019837111234664917, 0.09594231098890305, -0.43310487270355225, 0.4624152183532715, 0.10192786157131195, 0.05869733914732933, -0.12238910794258118, -0.011826770380139351, 0.1358037143945694, -0.08453415334224701, -0.1529049575328827, -0.4344537556171417, 0.006861206144094467, -0.07731090486049652, 0.4033714830875397, -0.002069486305117607, -0.08977068960666656, 0.5424428582191467, 0.5365660786628723, -0.250069260597229, 0.08867596834897995, 0.17948278784751892, -0.2964591979980469, 0.12460003048181534, -0.004306532442569733, 0.10199868679046631, 0.02970012277364731, 0.3065835237503052, -0.16410377621650696, 0.2532988488674164, -0.04591711238026619, -0.2431374341249466, 0.34071552753448486, -0.018924839794635773, -0.05862514674663544, 0.12585149705410004, 0.26725468039512634, -0.15298427641391754, -0.6345884203910828, 0.2003021091222763, -0.02133125811815262, 0.15193934738636017, -0.27389347553253174, 0.0862051248550415, 0.011050531640648842, -0.5157445073127747, -0.13454186916351318, -0.29110655188560486, -0.22720733284950256, -0.4955611228942871, 0.37649768590927124, 0.09610997140407562, -0.3050772249698639, 0.17311003804206848, 0.0048934780061244965, 0.24304795265197754, -0.1099473237991333, -0.4794303774833679, -0.10772426426410675, -0.2829364240169525, 0.06376279145479202, 0.19127409160137177, -0.12185937911272049, -0.16573423147201538, 0.5498002171516418, -0.0991368442773819, 0.10138741880655289, -0.41038814187049866, -0.5351362824440002, 0.3081563115119934, -0.27750372886657715, 0.03163500502705574, 0.4202665388584137, 0.2593265771865845, 0.2107517570257187, -0.07680226117372513, 0.3515852093696594, 0.0285335686057806, -0.43910741806030273, -0.1315891146659851, -0.17853909730911255, -0.05960242077708244, -0.20544244349002838, -0.18748629093170166, -0.12935975193977356, -0.1801629215478897, 0.08700887113809586, -0.08382511138916016, 0.31807243824005127, -0.09872406721115112, -0.052870284765958786, -0.1457740217447281, -0.44995343685150146, -0.4192345142364502, -0.16427773237228394, -0.4420135021209717, 0.18054182827472687, -0.056799206882715225, -0.16006632149219513, 0.19736385345458984, 0.14060251414775848, -0.03163227066397667, 0.09687007963657379, 0.027194254100322723, -0.27082622051239014, 0.006075281649827957, 0.1533178687095642, 0.3960004150867462, -0.018116293475031853, 0.5404451489448547, 0.1907368004322052, -0.22043080627918243, -0.2616852819919586, 0.1295478790998459, 0.01483123004436493, -0.05486995726823807, 0.20345504581928253, 0.07837076485157013, 0.09634845703840256, 0.003865554928779602, 0.4358587861061096, 0.40438756346702576, 0.04714114964008331, 0.1703801304101944, -0.1481599360704422, 0.1500222235918045, 0.03454453498125076, -0.20376095175743103, -0.1633252203464508, 0.2781088054180145, 0.1957111805677414, 0.3871815800666809, 0.08803070336580276, -0.2983649969100952, 0.10868909955024719, -0.268699049949646, -0.3937404751777649, -0.2657301723957062, 0.17191118001937866, 0.10743445158004761, 0.03319127485156059, 0.0259895920753479, 0.15960490703582764, -0.18240174651145935, -0.1567356288433075, -0.11403168737888336, 0.26175111532211304, 0.1540333330631256, 0.13243673741817474, 0.13014347851276398, -0.04562060534954071, -0.5194623470306396, 0.3442797064781189, 0.03961096331477165, -0.31900936365127563, -0.06890440732240677, -0.23187720775604248, 0.23058493435382843, -0.1985994130373001, 0.40792959928512573, -0.00351557694375515, -0.09234768152236938, 0.01913616433739662, -0.21949876844882965, -0.21046991646289825, 0.16143403947353363, -0.003791388124227524, 0.07795093953609467, -0.18347503244876862, 0.23936159908771515, -0.493050217628479, -0.3135603964328766, 0.018960364162921906, -0.27397701144218445, -0.13526566326618195, 0.0362774059176445, -0.1200268566608429, -0.523949921131134, -0.4428688585758209, 0.27941474318504333, 0.08137854188680649, 0.17930133640766144, 0.0799332857131958, -0.09876535087823868, -0.025366364046931267, 0.13383403420448303, 0.09754679352045059, 0.3110373616218567, 0.1253909319639206, -0.127105712890625, -0.08445039391517639, 0.260599821805954, 0.5486943125724792, 0.395352840423584, 0.49649491906166077, 0.1501854658126831, -0.23739707469940186, -0.22812777757644653, -0.016568012535572052, 0.372611403465271, 0.2969847321510315, 0.1228475272655487, 0.34355035424232483, 0.10988025367259979, -0.020302899181842804, -0.3132300078868866, -0.30311018228530884, 0.07270562648773193, -0.07546734064817429, -0.32709020376205444, -0.21081863343715668, 0.5702637434005737, -0.11581049859523773, -0.1587640941143036, 0.3159865736961365, 0.3044477701187134, -0.5070734024047852, 0.0492718331515789, 0.20368242263793945, 0.9213548898696899, -0.10853289067745209, 0.33327656984329224, 0.23367717862129211, 0.13308323919773102, 0.5641111731529236, -0.4015234112739563, 0.17026501893997192, -0.4287007451057434, -0.10142697393894196, -0.23810043931007385, 0.09559373557567596, 0.07093766331672668, 0.04838162660598755, -0.18021154403686523, 0.12240438908338547, -0.18474027514457703, 0.2780190408229828, 0.0015088040381669998, -0.1586349904537201, -0.3620344400405884, -0.16894635558128357, -0.5271634459495544, 0.19067642092704773, 0.08820843696594238, 0.3252895772457123, -0.046805914491415024, -0.3674173355102539, -0.04125964641571045, -0.2825812101364136, -0.023926712572574615, 0.013771597295999527, -0.42363545298576355, -0.23755978047847748, -0.03330939635634422, -0.05406017601490021, -0.030834505334496498, 0.07271899282932281, 0.12665799260139465, -0.03861395642161369, -0.3150349259376526, 0.24393819272518158, 0.08213174343109131, -0.03218624368309975, -0.07187625765800476, 0.011147133074700832, 0.22913502156734467, -0.1902829110622406, -0.35049715638160706, 0.032949287444353104, -0.05157358944416046, -0.14706218242645264, -0.38861191272735596, 0.16161765158176422, -0.003545474261045456, -0.2042899876832962, -0.2015409618616104, -0.07339328527450562, -0.0017929896712303162, -0.16042587161064148, 0.14496690034866333, -0.13822847604751587, -0.16469570994377136, -0.21626979112625122, -0.009059209376573563, -0.24575211107730865, 0.08045828342437744, 0.22386878728866577, -0.09010916203260422, -0.09150516986846924, 0.31083011627197266, -0.01840314269065857, -0.2632949948310852, -0.3034396767616272, 0.05908520519733429, 0.5785353779792786, -0.29980191588401794, -0.12429548054933548, 0.35584867000579834, -0.11696578562259674, 0.19489741325378418, 0.5610777139663696, -0.07424365729093552, 0.07307726889848709, -0.18959590792655945, -0.27648383378982544, -0.07015054672956467, 0.24050043523311615, 0.10419119149446487, 0.2564554214477539, -0.00016294047236442566, 0.28447937965393066, 0.023580016568303108, 0.07974184304475784, -0.43263697624206543, 0.04875120520591736, -0.1611713469028473, 0.1265954226255417, 0.17246803641319275, 0.33534228801727295, 0.2744598388671875, -0.13228295743465424, 0.12977680563926697, 0.19412826001644135, -0.26026323437690735, -0.306392639875412, -0.19797144830226898, 0.1351749300956726, -0.04600562900304794, 0.010582768358290195, 0.13216625154018402, -0.06366951018571854, -0.05242261663079262, -0.20095065236091614, 0.5767507553100586, 0.13716799020767212, 0.06747184693813324, 0.14274738729000092, 0.27174246311187744, 0.17533627152442932, -0.2564595341682434, -0.1744176745414734, 0.1042390763759613, 0.11414387822151184, -0.12765604257583618, -0.17675018310546875, -0.625778079032898, 0.0478164404630661, 0.43709835410118103, 0.5526631474494934, 0.36332303285598755, 0.04463016241788864, 0.28606101870536804, 0.02229173108935356, -0.02524860017001629, 0.22967615723609924, 0.19518809020519257, -0.13184553384780884, -0.16379395127296448, -0.20174875855445862, -0.08572421967983246, 0.2625228464603424, -0.37463557720184326, -0.2875734865665436, 0.021026866510510445, -0.13833928108215332, 0.1614343374967575, 0.08956173807382584, 0.18541216850280762, 0.02040770649909973, 0.014506153762340546, -0.058958981186151505, 0.5640771389007568, -0.4188835024833679, 0.08178268373012543, 0.4642152190208435, 0.018425244837999344, 0.09061068296432495, 0.021442221477627754, 0.10537266731262207, 0.25694739818573, 0.3253830671310425, -0.18107569217681885, 0.5113604068756104, 0.0752614289522171, -0.003905016928911209, 0.06490934640169144, 0.0012410469353199005, 0.14032021164894104, 0.20816288888454437, 0.20777465403079987, 0.18711507320404053, 0.14817926287651062, 0.20419228076934814, 0.1542692631483078, -0.06949274241924286, -0.07471790164709091, 0.5717757344245911, 0.011490656062960625, -0.18531949818134308, -0.10818308591842651, -0.2241489291191101, 0.07301755249500275, -0.06895714998245239, 0.08358658850193024, -0.45640069246292114, 0.4061889350414276, -0.06011570990085602, 0.05415443331003189, -0.22403857111930847, 0.27827584743499756, 0.27325135469436646, 0.5085456967353821, -0.1485661417245865, 0.08350257575511932, 0.3814178705215454, -0.24675482511520386, 0.23227345943450928, 0.10828384757041931, 0.3518005907535553, 0.025523366406559944, -0.06646555662155151, 0.41934144496917725, -0.551866888999939, -0.15512806177139282, -0.04491983354091644, -0.03676113113760948, -0.09614278376102448, -0.24447248876094818, 0.12547951936721802, 0.19543860852718353, -0.2542710304260254, -0.38150614500045776, 0.12093889713287354, 0.05715964362025261, 0.2768648862838745, 0.11549200862646103, -0.3083197772502899, -0.11348240822553635, -0.12692415714263916, 0.10997052490711212, -0.2711048424243927, -0.09679540246725082, 0.37572988867759705, 0.28463178873062134, 0.22335132956504822, 0.031096968799829483, 0.1228310763835907, 0.12502142786979675, 0.4217465817928314, 0.11261767148971558, -0.15358927845954895, -0.22976844012737274, -0.19771261513233185, -0.3959195613861084, 0.10332050174474716, -0.16937121748924255, -0.2314641922712326, 0.2833178639411926, -0.013946741819381714, 0.2595992088317871, -0.14904192090034485, -0.20297543704509735, 0.07106934487819672, 0.08654338121414185, -0.1251644641160965, -0.008602257817983627, 0.026075849309563637, -0.11259159445762634, -0.21897898614406586, 0.09582750499248505, -0.25751200318336487, 0.0452401340007782, -0.13965246081352234, 0.10910593718290329, -0.28874391317367554, 0.528146505355835, -0.02621881477534771, -0.35668057203292847, -0.1909923553466797, 0.08610144257545471, 0.0967157632112503, -0.2887217700481415, 0.021677659824490547, 0.1860390156507492, -0.03916943818330765, -0.41196876764297485, 0.3823883831501007, 0.18566244840621948, 0.21607112884521484, 0.2083907127380371, -0.6644259095191956, -0.08379815518856049, 0.08554006367921829, 0.09631514549255371, -0.12611286342144012, -0.246435284614563, 0.20456163585186005, -0.05292666330933571, 0.08380594849586487, 0.014842105098068714, 0.3050810396671295, 0.026638340204954147, 0.03973089158535004, -0.037493474781513214, -0.5045883655548096, 0.32580000162124634, -0.30349665880203247, -0.047749921679496765, 0.10420557856559753, 0.1686568558216095, 0.20173995196819305, 0.03510941565036774, -0.6529906988143921, 0.06864223629236221, 0.2800639569759369, -0.12045270949602127, -0.3087427616119385, 0.2054278403520584, 0.11406657099723816, -0.12941333651542664, -0.13431072235107422, 0.5260998606681824, 0.2474290430545807, 0.00986500270664692, 0.006919462233781815, -0.331426203250885 ]
https://github.com/huggingface/datasets/pull/2399
Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Thank you for clarifying the precedence, @albertvillanova Isn't it typically the case where env vars have the highest precedence? In my understanding the point of env vars is to be able to override software w/o needing to touch the code. Please correct me if this is not so in the general case.
Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387.
52
text: Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387. Thank you for clarifying the precedence, @albertvillanova Isn't it typically the case where env vars have the highest precedence? In my understanding the point of env vars is to be able to override software w/o needing to touch the code. Please correct me if this is not so in the general case.
[ -0.0956013947725296, -0.42130643129348755, -0.10602791607379913, -0.042275622487068176, 0.4254763126373291, 0.018615730106830597, -0.07729457318782806, 0.3255646228790283, 0.18098962306976318, 0.22853024303913116, 0.47013935446739197, 0.15777726471424103, 0.07538803666830063, 0.004921561107039452, 0.04188362881541252, 0.3002481758594513, -0.028290070593357086, 0.005275353789329529, -0.06600984930992126, -0.058325376361608505, -0.525902509689331, -0.23979999125003815, -0.08270196616649628, -0.3681129813194275, 0.0823381245136261, 0.2882355749607086, 0.19222430884838104, 0.4207665026187897, -0.157417431473732, -0.2530038356781006, 0.166754350066185, 0.056736789643764496, 0.24645206332206726, -0.2746194303035736, -0.00010513362212805077, -0.08555267006158829, 0.30092135071754456, -0.06983082741498947, -0.11885233223438263, 0.37790822982788086, -0.4677758812904358, -0.421404093503952, -0.20861534774303436, -0.418038934469223, 0.2957936227321625, -0.06740303337574005, 0.11894804984331131, -0.655884325504303, -0.00946769118309021, 0.2759203314781189, 0.25199973583221436, -0.06430365890264511, -0.051050376147031784, -0.0393001027405262, 0.14459332823753357, -0.05653125047683716, -0.015282844193279743, 0.1973196268081665, 0.05974339321255684, 0.20839187502861023, -0.03733458369970322, 0.00960596278309822, 0.04695942997932434, 0.11523377895355225, 0.735466480255127, -0.008592580445110798, 0.4421014189720154, 0.061284154653549194, 0.13954707980155945, -0.09663989394903183, 0.4364035129547119, -0.03519730269908905, -0.040534213185310364, 0.04268000274896622, -0.02034146338701248, -0.39544734358787537, 0.29789039492607117, 0.11829308420419693, 0.09019608795642853, 0.20526640117168427, -0.16963320970535278, -0.25139349699020386, -0.26152318716049194, 0.06793608516454697, -0.21195170283317566, 0.1848037987947464, -0.017077311873435974, 0.02907482534646988, -0.025441084057092667, 0.09214644134044647, 0.2990913689136505, 0.116022028028965, 0.018265988677740097, -0.13743624091148376, -0.07423457503318787, -0.07799182087182999, 0.11057034134864807, 0.12116794288158417, 0.17388102412223816, -0.23908130824565887, -0.1268138289451599, 0.21963965892791748, 0.19107814133167267, 0.010936331003904343, -0.05980600789189339, 0.4173879027366638, -0.08859758824110031, 0.23883184790611267, 0.311950147151947, -0.042816467583179474, 0.013800699263811111, 0.1678684651851654, 0.07480272650718689, -0.36116108298301697, 0.013450399041175842, 0.3658672273159027, 0.09187448769807816, -0.4661044478416443, -0.22366273403167725, 0.3493673801422119, -0.09820549190044403, -0.09915320575237274, 0.2017143815755844, 0.5041066408157349, 0.11506876349449158, 0.11477064341306686, 0.03849387168884277, -0.06142386049032211, -0.2612541913986206, 0.14850881695747375, -0.1621057242155075, -0.07465232908725739, -0.2996562421321869, 0.04180409759283066, 0.1558418720960617, 0.22887136042118073, 0.18516536056995392, 0.1970190554857254, 0.36395686864852905, 0.06806424260139465, 0.1964053511619568, -0.13219581544399261, 0.3038190007209778, 0.13217708468437195, -0.31913867592811584, 0.24814768135547638, 0.27547508478164673, 0.18860845267772675, -0.17484444379806519, 0.5280761122703552, -0.2079085111618042, -0.6362432241439819, 0.07479054480791092, 0.26116472482681274, -0.13178256154060364, -0.18569087982177734, 0.31965503096580505, -0.07536694407463074, 0.22557154297828674, -0.1553725153207779, 0.3871692419052124, -0.02953195571899414, -0.25883325934410095, -0.31341078877449036, 0.12012974172830582, 0.14833487570285797, -0.5199234485626221, 0.04830106347799301, -0.03163043409585953, 0.12265722453594208, 0.32626134157180786, 0.0008051171898841858, -0.31730398535728455, -0.25734230875968933, -0.07317277044057846, -0.38008660078048706, -0.18162891268730164, -0.37742170691490173, -0.4691765010356903, 0.35867220163345337, -0.25587716698646545, 0.03680332005023956, 0.2495671808719635, 0.22988709807395935, -0.17681048810482025, -0.2553141117095947, -0.04813547432422638, 0.3208359479904175, 0.16508550941944122, 0.026141216978430748, -0.5441464781761169, -0.09413301199674606, -0.10286042094230652, -0.0011311694979667664, -0.02643181011080742, 0.14975550770759583, -0.1643722951412201, 0.1256079375743866, 0.018465358763933182, -0.2970905900001526, 0.06336408108472824, 0.22092677652835846, 0.195708230137825, 0.04039980098605156, 0.11088911443948746, 0.3648071587085724, -0.23885464668273926, 0.222968190908432, -0.2932012975215912, -0.3136466145515442, 0.11403628438711166, -0.296281099319458, 0.018937204033136368, -0.15103493630886078, -0.00013579055666923523, -0.30599668622016907, 0.1112297922372818, 0.3322472870349884, -0.27435028553009033, -0.23118160665035248, -0.19114024937152863, 0.09274550527334213, -0.4247380495071411, -0.25008711218833923, 0.3379232585430145, -0.1851402074098587, -0.25771743059158325, 0.21088893711566925, -0.30068641901016235, -0.10464336723089218, 0.024073895066976547, 0.17191703617572784, -0.22605761885643005, 0.42537832260131836, -0.1368834674358368, -0.19401855766773224, 0.0688452273607254, 0.048745542764663696, 0.1361766904592514, -0.17518754303455353, 0.5048145055770874, 0.10104280710220337, 0.05817398428916931, 0.27055594325065613, -0.5026631951332092, 0.27338147163391113, -0.22065894305706024, 0.02184956520795822, 0.01809728890657425, -0.4664686322212219, -0.1597011387348175, -0.11054236441850662, -0.07746163010597229, -0.5189006924629211, 0.15007846057415009, 0.4034426510334015, 0.1892552673816681, 0.18811526894569397, -0.26476287841796875, 0.15715840458869934, 0.2974812686443329, 0.08898930251598358, -0.12314540892839432, 0.24173671007156372, 0.23705020546913147, -0.23706889152526855, 0.1374427080154419, 0.13273189961910248, 0.6488244533538818, 0.27511265873908997, 0.09642800688743591, -0.10614191740751266, -0.005451400764286518, -0.1258692741394043, 0.4189230501651764, -0.03699302673339844, 0.0020280126482248306, 0.2075226902961731, 0.030718393623828888, -0.04380463436245918, -0.2012811005115509, 0.07133528590202332, 0.030387280508875847, 0.0016006138175725937, -0.32621675729751587, -0.13864126801490784, -0.16072909533977509, -0.4308314621448517, -0.18024756014347076, 0.05288480222225189, -0.01301058754324913, -0.21737387776374817, 0.20636729896068573, -0.4657318592071533, -0.28098034858703613, 0.07783161848783493, -0.04941118508577347, 0.4564800262451172, 0.007000347599387169, 0.0009345915168523788, -0.0781569555401802, 0.14694233238697052, -0.27667081356048584, 0.09383396804332733, -0.03364362195134163, 0.1309203803539276, 0.18865682184696198, 0.32061445713043213, 0.002829086035490036, -0.29226619005203247, -0.4464034140110016, -0.11857825517654419, -0.017712648957967758, 0.38792169094085693, 0.06702722609043121, 0.20216168463230133, -0.17665758728981018, -0.23359191417694092, 0.12708783149719238, 0.003338683396577835, 0.11142662167549133, -0.2691376209259033, 0.26022472977638245, 0.15386457741260529, -0.28797999024391174, -0.42603573203086853, -0.005865992978215218, -0.697044849395752, -0.19065071642398834, 0.22044126689434052, 0.1848587989807129, 0.09218797832727432, 0.129152312874794, -0.05222812294960022, 0.19386281073093414, 0.25409457087516785, -0.25662341713905334, -0.25729212164878845, 0.2576003968715668, -0.23548200726509094, -0.06457303464412689, -0.3017127215862274, 0.10893115401268005, 0.01992158591747284, 0.4103514552116394, -0.22573930025100708, -0.16881431639194489, -0.1242867112159729, 0.008320935070514679, -0.33609849214553833, 0.01888342574238777, 0.1518162488937378, -0.10746076703071594, -0.18834398686885834, -0.11401960253715515, -0.14300011098384857, -0.030196286737918854, -0.19278129935264587, 0.1474940925836563, -0.016860075294971466, 0.3907710313796997, 0.16879600286483765, 0.5865451693534851, -0.02306167408823967, 0.15945971012115479, 0.2676296830177307, 0.26163843274116516, 0.2944471538066864, -0.18644478917121887, -0.008736726827919483, 0.38189274072647095, 0.25003644824028015, -0.25273868441581726, 0.33877086639404297, -0.09178106486797333, -0.03560902178287506, 0.3553459644317627, 0.10135236382484436, 0.0048406124114990234, -0.11673973500728607, 0.3264937400817871, 0.05378827452659607, 0.3461584448814392, -0.13121671974658966, 0.08293697983026505, -0.3310054838657379, 0.27317219972610474, 0.019209228456020355, 0.18056413531303406, 0.029709458351135254, 0.007647328544408083, -0.30774882435798645, 0.02642735280096531, -0.14616385102272034, 0.3638079762458801, -0.14470037817955017, 0.40805932879447937, -0.02592017501592636, -0.5937638878822327, 0.14204487204551697, -0.23500126600265503, 0.5863779783248901, -0.0634358674287796, -0.01780492067337036, -0.21820716559886932, -0.05299126356840134, -0.09632565826177597, -0.09141905605792999, 0.07992298901081085, 0.3631637692451477, -0.17014656960964203, -0.19077950716018677, -0.23350843787193298, -0.0007486499380320311, 0.23702196776866913, -0.11501394957304001, 0.009616781026124954, -0.4355370104312897, -0.28125566244125366, 0.11873798817396164, -0.393929123878479, 0.10282859951257706, -0.10691055655479431, -0.16615775227546692, -0.22935053706169128, 0.0479731522500515, -0.1670244336128235, 0.17277666926383972, -0.12552021443843842, -0.1136520504951477, 0.224916011095047, -0.15270312130451202, 0.012037809938192368, -0.20083379745483398, 0.008892908692359924, 0.2546157240867615, 0.1975822150707245, -0.15529493987560272, -0.13379614055156708, 0.06989109516143799, -0.027026861906051636, 0.24003636837005615, 0.3697729706764221, -0.03378475457429886, -0.03599395602941513, 0.4588475227355957, -0.003535829484462738, -0.0589100681245327, 0.02404140494763851, 0.10785360634326935, -0.09243224561214447, -0.430794894695282, -0.5519187450408936, 0.52105313539505, 0.26723435521125793, -0.009645961225032806, 0.1288243979215622, -0.013540267944335938, -0.2332032024860382, 0.09960386157035828, 0.5572237968444824, 0.8325785398483276, 0.04416411370038986, 0.19481761753559113, -0.22824445366859436, 0.030545920133590698, 0.276858925819397, -0.19928456842899323, 0.22293271124362946, -0.2194705754518509, -0.413595974445343, 0.03759264200925827, -0.1973244845867157, 0.22459831833839417, -0.11871504783630371, -0.4015996754169464, 0.08037522435188293, 0.1240900456905365, -0.07559588551521301, -0.03071547858417034, 0.12794779241085052, -0.4346025884151459, -0.12429025769233704, 0.2533341944217682, 0.13520464301109314, -0.008737631142139435, 0.022135501727461815, -0.14511507749557495, 0.06156361475586891, -0.05995325744152069, -0.2518051266670227, 0.0705738216638565, -0.24951177835464478, -0.1129336953163147, 0.1334623396396637, -0.2268262803554535, -0.23910070955753326, 0.12711776793003082, -0.008321266621351242, 0.18894504010677338, 0.44827938079833984, -0.10401436686515808, 0.20929844677448273, 0.2017815113067627, 0.28337347507476807, 0.07803428918123245, -0.29083532094955444, -0.036296822130680084, -0.07545636594295502, -0.027416780591011047, -0.17110395431518555, -0.15123756229877472, -0.151479572057724, -0.33209311962127686, 0.1772317737340927, 0.22125773131847382, -0.14154641330242157, -0.3486528694629669, 0.15329931676387787, -0.10545589029788971, -0.18563193082809448, 0.19908161461353302, 0.01716478541493416, 0.20948860049247742, 0.09384012222290039, -0.3033148944377899, -0.481677383184433, -0.11652567982673645, 0.34348323941230774, 0.08336992561817169, 0.21219199895858765, 0.25548282265663147, -0.17282424867153168, -0.06983181834220886, -0.17077574133872986, -0.24803772568702698, -0.2598229944705963, -0.1449258029460907, 0.14535075426101685, 0.0639568343758583, -0.2184833139181137, 0.19517351686954498, 0.07596581429243088, 0.18009835481643677, 0.12253537029027939, -0.15632575750350952, -0.07690395414829254, -0.3995310664176941, 0.13798658549785614, -0.5022051930427551, 0.4231446385383606, -0.2315230667591095, -0.14195095002651215, -0.14078250527381897, -0.11033271253108978, -0.4186883866786957, -0.028126804158091545, -0.08609052002429962, 0.0444243960082531, -0.16695742309093475, 0.22765958309173584, -0.1743679642677307, 0.08890223503112793, 0.054048486053943634, 0.009550865739583969, -0.24196693301200867, -0.24652782082557678, 0.1510908305644989, 0.1654411107301712, 0.0020568855106830597, -0.06772149354219437, 0.17919684946537018, -0.32954710721969604, 0.04447740316390991, -0.07138965278863907, 0.23318064212799072, 0.01426524668931961, -0.13157913088798523, 0.269395649433136, -0.11506173014640808, 0.08015348017215729, 0.2825806140899658, 0.04360990598797798, 0.031588345766067505, -0.02246333658695221, -0.013724803924560547, 0.37428340315818787, -0.16460613906383514, -0.10780154913663864, -0.12498332560062408, 0.14740198850631714, 0.2893050014972687, 0.3530869781970978, -0.18942055106163025, 0.10467632114887238, -0.10490533709526062, 0.2468934804201126, 0.07540725916624069, 0.5492767095565796, -0.16220605373382568, -0.25623947381973267, 0.07132057100534439, 0.3262179493904114, 0.037785716354846954, -0.06463346630334854, -0.28077274560928345, -0.462753027677536, 0.07045803964138031, 0.18452446162700653, 0.403158962726593, -0.10520324110984802, 0.3488931655883789, 0.21498331427574158, 0.1879165917634964, -0.3905718922615051, 0.11193810403347015, 0.17434178292751312, -0.14811956882476807, -0.1785195767879486, 0.25076165795326233, 0.12004415690898895, 0.5027509927749634, 0.46486538648605347, 0.27835607528686523, 0.20961588621139526, 0.41341426968574524, 0.16371366381645203, -0.20065903663635254, -0.4115520119667053, 0.2206302285194397, 0.3301053047180176, -0.13824522495269775, 0.161311075091362, 0.44528523087501526, 0.1801312118768692, 0.0705624669790268, 0.0645994171500206, -0.207659512758255, -0.18458950519561768, -0.2825203537940979, -0.3030126392841339, -0.12190122157335281, -0.08158696442842484, -0.054213810712099075, 0.029667187482118607, -0.2855105996131897, -0.019833073019981384, 0.12770125269889832, 0.11723120510578156, -0.16256077587604523, -0.32651287317276, 0.6454775929450989, 0.04061025008559227, -0.11977366358041763, -0.10500799119472504, 0.21961726248264313, 0.15821847319602966, 0.0750110074877739, 0.4213172197341919, 0.1822689026594162, 0.30407941341400146, 0.4813554883003235, 0.023581594228744507, -0.20275814831256866, 0.21055109798908234, 0.14504168927669525, -0.36056435108184814, 0.15466943383216858, 0.14243729412555695, 0.36195454001426697, 0.22793163359165192, 0.2163466364145279, -0.17727801203727722, 0.17988179624080658, -0.18257459998130798, -0.003081483766436577, -0.03854610398411751, -0.1502443552017212, 0.5272752642631531, 0.08626078814268112, 0.3029056191444397, 0.04541003331542015, -0.6403589248657227, -0.09377220273017883, 0.13028641045093536, 0.2391117960214615, -0.11947230994701385, 0.03868402913212776, 0.15780580043792725, -0.1142515242099762, 0.47478675842285156, 0.3093215227127075, 0.1027519553899765, -0.2734737992286682, 0.04097270965576172, -0.498990535736084, 0.3608713150024414, 0.1694711446762085, -0.03191199153661728, -0.06216157227754593, 0.19541321694850922, 0.008047446608543396, -0.3496714234352112, 0.09723314642906189, -0.376960813999176, 0.2680303156375885, 0.2714834213256836, -0.13134868443012238, 0.2567477524280548, 0.42161881923675537, -0.024741386994719505, 0.07034560292959213, -0.4960368871688843, 0.12516672909259796, 0.21799175441265106, 0.2477489709854126, -0.3304409384727478, -0.057690124958753586, 0.27528926730155945, 0.029479414224624634, 0.8015344738960266, 0.10828002542257309, 0.23105289041996002, -0.21336773037910461, -0.17252495884895325, -0.4324362874031067, -0.12444810569286346, -0.1343914419412613, 0.007393792271614075, 0.11795912683010101, 0.12804853916168213, -0.27462103962898254, -0.06798498332500458, -0.21756614744663239, 0.07864154130220413, -0.2665618658065796, 0.10068104416131973, -0.0344853401184082, 0.22513656318187714, -0.11077535152435303, -0.03210563212633133, -0.22323809564113617, 0.19541031122207642, 0.23159323632717133, 0.05945877730846405, -0.48149240016937256, -0.1634906381368637, 0.4663822054862976, 0.23591016232967377, 0.06996262073516846, -0.07941317558288574, 0.38446298241615295, 0.1496310532093048, 0.10937623679637909, -0.4488946497440338, -0.1509316861629486, 0.27270203828811646, -0.00442543625831604, -0.4766755700111389, 0.39917153120040894, -0.17931680381298065, 0.05971187725663185, -0.24077124893665314, 0.25938141345977783, -0.03683898597955704, -0.17603930830955505, -0.17118531465530396, -0.28988271951675415 ]
https://github.com/huggingface/datasets/pull/2399
Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
Hi @stas00, Well, I'm not an expert on this topic, but the precedence hierarchy I have normally found is from higher to lower: - command line parameters - env vars - config files So yes, normally env vars have precedence over configuration files. Anyway, for Datasets, there are no configuration files. The _in-memory_ config is set from default values or env vars (which have precedence over default values). But this is done at import. However, once the library is imported, the user can modify the in-memory config, and this will have precedence over the rest of mechanisms (which take place only at import).
Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387.
103
text: Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387. Hi @stas00, Well, I'm not an expert on this topic, but the precedence hierarchy I have normally found is from higher to lower: - command line parameters - env vars - config files So yes, normally env vars have precedence over configuration files. Anyway, for Datasets, there are no configuration files. The _in-memory_ config is set from default values or env vars (which have precedence over default values). But this is done at import. However, once the library is imported, the user can modify the in-memory config, and this will have precedence over the rest of mechanisms (which take place only at import).
[ -0.2867280840873718, -0.21787092089653015, -0.07412667572498322, 0.09769175201654434, 0.42824095487594604, 0.015457279980182648, 0.020717687904834747, 0.35738885402679443, 0.17408835887908936, 0.22668792307376862, 0.19293977320194244, 0.07021942734718323, 0.012559247203171253, 0.06549764424562454, 0.012422607280313969, 0.3947872519493103, -0.009042248129844666, 0.11277499049901962, -0.3241310119628906, -0.07133185863494873, -0.39342325925827026, -0.00662575289607048, -0.15523004531860352, -0.484180748462677, 0.19244810938835144, 0.14015908539295197, 0.2091498225927353, 0.29243019223213196, -0.4219817817211151, -0.3560028076171875, 0.2665490210056305, 0.0991629958152771, 0.2649272084236145, -0.045632846653461456, -0.0001018187977024354, 0.0009138807654380798, 0.3445895314216614, -0.11587893962860107, -0.09996822476387024, 0.06193973124027252, -0.27153369784355164, -0.47996214032173157, 0.01795489341020584, -0.3280809819698334, 0.1365431249141693, -0.03765485808253288, 0.035292621701955795, -0.5435042381286621, 0.03537999838590622, 0.23448975384235382, 0.3490172326564789, -0.09520404785871506, -0.1416531801223755, -0.015673762187361717, 0.17200884222984314, 0.04077495262026787, -0.15372854471206665, 0.011915052309632301, 0.0449812151491642, 0.10796648263931274, 0.07669762521982193, 0.029785271733999252, -0.002762001007795334, 0.12003614008426666, 0.5849569439888, -0.06254987418651581, 0.1774570643901825, -0.19519788026809692, 0.05417690426111221, 0.0030601508915424347, 0.575801432132721, -0.35293295979499817, -0.18938980996608734, 0.015519440174102783, 0.13111768662929535, -0.4611310660839081, 0.3010816276073456, 0.2348325401544571, 0.0484316386282444, 0.10241211950778961, -0.12378279119729996, -0.24322232604026794, -0.22957469522953033, -0.010594956576824188, -0.14301036298274994, 0.34439995884895325, -0.008352742530405521, -0.048135556280612946, 0.19414156675338745, -0.1531296968460083, 0.04429582133889198, 0.06543722748756409, -0.13185346126556396, 0.07457520812749863, -0.1861099898815155, -0.07237377017736435, 0.13927426934242249, 0.21381157636642456, 0.2716878652572632, 0.024298254400491714, -0.0758468434214592, 0.20737019181251526, 0.1553524285554886, 0.05517102777957916, 0.04719813913106918, 0.43795403838157654, -0.05436649173498154, 0.11445552110671997, 0.40911442041397095, 0.10622046887874603, 0.025325294584035873, 0.08879305422306061, 0.06586543470621109, -0.4660920202732086, 0.12112903594970703, 0.15139153599739075, 0.12185777723789215, -0.4800390601158142, 0.07169409841299057, 0.20813721418380737, 0.13641953468322754, -0.10571986436843872, 0.11989393830299377, 0.5873669385910034, -0.07584860920906067, 0.1343042403459549, 0.10502718389034271, -0.06307926028966904, -0.33435389399528503, 0.13969171047210693, -0.15492835640907288, -0.10015295445919037, -0.31433942914009094, 0.06140977144241333, 0.2827802896499634, 0.024759303778409958, 0.1743640899658203, 0.37509095668792725, 0.25687962770462036, 0.014634031802415848, 0.376966655254364, -0.214873805642128, 0.31893056631088257, 0.3468042314052582, -0.12231774628162384, 0.2789192795753479, 0.20063741505146027, 0.1134638637304306, -0.38581448793411255, 0.39488187432289124, -0.292881578207016, -0.4864944815635681, 0.008988093584775925, 0.30821532011032104, -0.17379412055015564, 0.018306029960513115, 0.052782509475946426, 0.009394295513629913, 0.02531130611896515, -0.3082112669944763, 0.2108403742313385, -0.20948076248168945, -0.13808567821979523, -0.29891765117645264, 0.2809998095035553, 0.3422352075576782, -0.5376584529876709, 0.07935778796672821, -0.08938410133123398, -0.017418883740901947, 0.32580024003982544, 0.008251948282122612, -0.42025259137153625, -0.20627304911613464, -0.20012854039669037, -0.10444211214780807, 0.1702100783586502, -0.4071740210056305, -0.3881305754184723, 0.302300363779068, -0.03690096363425255, 0.015254100784659386, 0.06440037488937378, 0.24447154998779297, -0.0002031959593296051, 0.03951166570186615, -0.12582539021968842, 0.32012057304382324, 0.22072815895080566, 0.2595735192298889, -0.3275558054447174, -0.2502104341983795, -0.05157043784856796, -0.1774653196334839, -0.06035073474049568, 0.12363086640834808, 0.032833460718393326, 0.12425034493207932, 0.1293371319770813, -0.1556350290775299, 0.03640776872634888, 0.46469736099243164, 0.12728211283683777, 0.052511848509311676, 0.17004187405109406, 0.13501009345054626, -0.32031136751174927, 0.2566344738006592, 0.07407879829406738, -0.06926846504211426, -0.05283993482589722, -0.2727864384651184, -0.08540640026330948, -0.04185910522937775, -0.09602664411067963, -0.02567339688539505, 0.1967979222536087, 0.23929934203624725, -0.19464616477489471, -0.10569174587726593, -0.2369730919599533, 0.23080918192863464, -0.24641530215740204, -0.056348808109760284, 0.0005745301023125648, -0.03521602600812912, -0.13505029678344727, -0.04227270185947418, 0.009486973285675049, -0.12875378131866455, 0.02949550561606884, 0.08031870424747467, -0.29639190435409546, 0.4383774995803833, 0.14015468955039978, 0.11829088628292084, -0.19295361638069153, 0.148474782705307, 0.1725306361913681, -0.00981585681438446, 0.3089712858200073, -0.0808369368314743, 0.16206040978431702, 0.13790443539619446, -0.24978184700012207, 0.36519622802734375, -0.044220324605703354, 0.17614442110061646, 0.25226378440856934, -0.5389752388000488, 0.06881808489561081, -0.041944608092308044, -0.07580316811800003, -0.49946296215057373, 0.10966789722442627, 0.2749345898628235, 0.25026366114616394, 0.2747457027435303, -0.203319251537323, -0.030266322195529938, 0.4542962610721588, 0.1853591501712799, -0.09446976333856583, 0.2330591082572937, 0.16141864657402039, -0.14850842952728271, 0.2834516167640686, 0.3061653971672058, 0.587824821472168, 0.3115987181663513, 0.1307535320520401, 0.005746280774474144, -0.1216631755232811, -0.16377376019954681, 0.363627552986145, -0.17383317649364471, 0.07785094529390335, 0.24958473443984985, 0.13112817704677582, -0.11036347597837448, -0.29191944003105164, 0.09155449271202087, 0.006319617852568626, 0.06662597507238388, -0.27579575777053833, -0.06444186717271805, -0.4202600419521332, -0.3596760332584381, -0.22201579809188843, -0.013729915954172611, -0.20905546844005585, -0.07598444074392319, -0.0014557763934135437, -0.20950549840927124, -0.1543651670217514, 0.06757956743240356, -0.1388912796974182, 0.2509647607803345, -0.05124398693442345, -0.3053172528743744, -0.06501972675323486, 0.15471644699573517, -0.22769391536712646, 0.07292026281356812, 0.2092326134443283, 0.20565830171108246, 0.29202112555503845, 0.20356899499893188, -0.11330319195985794, -0.1569724678993225, -0.4261356294155121, 0.004177764058113098, 0.13172879815101624, 0.33541223406791687, -0.015629075467586517, 0.13671034574508667, 0.06108425557613373, -0.22739647328853607, 0.14416226744651794, -0.013967132195830345, 0.007076390087604523, -0.21827834844589233, 0.0803106427192688, 0.19073529541492462, -0.4111884534358978, -0.5984236598014832, -0.007954102009534836, -0.6779257655143738, -0.18830321729183197, 0.3847167491912842, 0.21933232247829437, 0.2478248029947281, 0.17006364464759827, -0.13893762230873108, 0.36749544739723206, 0.32632455229759216, -0.1721511334180832, -0.362393856048584, 0.36128926277160645, -0.41486015915870667, -0.14986784756183624, -0.020610950887203217, 0.14990097284317017, 0.19297505915164948, 0.3409414291381836, -0.41734784841537476, -0.029099494218826294, -0.3144437074661255, 0.00256182998418808, -0.310642272233963, 0.17113345861434937, 0.30332690477371216, -0.061542872339487076, -0.15700918436050415, -0.15252234041690826, -0.22524835169315338, 0.01351369172334671, -0.18369516730308533, 0.14129695296287537, -0.025154761970043182, 0.3365787863731384, -0.07961833477020264, 0.5007883310317993, -0.1849837303161621, 0.17240937054157257, 0.2659538686275482, 0.10146351903676987, 0.543643057346344, -0.356432169675827, 0.04118509590625763, 0.1240110918879509, 0.2558395564556122, -0.23657841980457306, 0.36400848627090454, 0.11358535289764404, -0.15714606642723083, 0.14129988849163055, 0.05739351734519005, -0.01445462740957737, -0.1930820494890213, 0.2556389570236206, 0.08887054026126862, 0.17598697543144226, -0.14412473142147064, -0.04493988677859306, -0.33161571621894836, 0.1373049020767212, -0.028556255623698235, 0.3285132646560669, -0.1995747983455658, 0.15086987614631653, -0.394918292760849, -0.09117896854877472, -0.20485177636146545, 0.1354551911354065, -0.11240487545728683, 0.3070067763328552, 0.03690948709845543, -0.50063157081604, 0.18727442622184753, -0.2933032512664795, 0.3995600938796997, -0.008612280711531639, -0.09244978427886963, -0.03916940093040466, -0.09013344347476959, -0.12269312888383865, -0.18456019461154938, 0.13908733427524567, 0.12279271334409714, 0.06572499871253967, -0.00817100703716278, -0.2679169178009033, -0.1538265496492386, -0.07024130970239639, 0.15557441115379333, -0.02652764320373535, -0.33226442337036133, -0.3753478229045868, -0.05906117334961891, -0.4497893452644348, -0.11383313685655594, -0.1078132763504982, -0.17735344171524048, -0.18423891067504883, -0.08285804837942123, -0.1543044149875641, -0.022815195843577385, 0.006289325654506683, 0.058367449790239334, 0.32842308282852173, -0.07587786763906479, 0.1167692244052887, -0.029272206127643585, 0.05098395049571991, 0.28109559416770935, 0.381460577249527, -0.12261855602264404, -0.010979384183883667, -0.02566300332546234, 0.05488662049174309, 0.15187227725982666, 0.24803641438484192, -0.13829798996448517, 0.031369369477033615, 0.12678217887878418, -0.07253146171569824, -0.24748027324676514, 0.17851881682872772, 0.14125889539718628, -0.08345825970172882, -0.3420024514198303, -0.6040596961975098, 0.4313272535800934, 0.24143095314502716, -0.08269709348678589, 0.44473740458488464, 0.04291122779250145, -0.27447280287742615, 0.14633312821388245, 0.3681311011314392, 0.8774818778038025, -0.17599458992481232, 0.20390212535858154, -0.07805046439170837, 0.041123129427433014, 0.3985553979873657, -0.2577001452445984, 0.23763293027877808, -0.33167028427124023, -0.20448099076747894, 0.14567096531391144, -0.22319525480270386, 0.2401062250137329, -0.19336320459842682, -0.3320784568786621, -0.001696815132163465, -0.08262185752391815, -0.04194677993655205, -0.2213999629020691, 0.17818719148635864, -0.44499170780181885, -0.33561405539512634, -0.004513721913099289, 0.23759031295776367, -0.030116505920886993, 0.016552241519093513, -0.23180001974105835, 0.10106932371854782, -0.014663774520158768, -0.1681179404258728, 0.06428128480911255, -0.09185861796140671, -0.30073773860931396, 0.11191099882125854, -0.2339555323123932, -0.0832824558019638, -0.003264470025897026, 0.11597317457199097, 0.010307811200618744, 0.46985843777656555, -0.1589859426021576, 0.20824138820171356, 0.0292552188038826, 0.24412843585014343, 0.021403882652521133, -0.14550253748893738, 0.19808539748191833, -0.088854119181633, -0.09696373343467712, -0.14601653814315796, -0.019708363339304924, -0.0319848507642746, 0.016612261533737183, 0.08873966336250305, 0.2380516529083252, -0.1769481599330902, -0.4641191363334656, 0.19947683811187744, 0.09908108413219452, -0.07386183738708496, 0.2761455774307251, -0.03458809107542038, 0.06590493023395538, 0.2897914946079254, -0.15302900969982147, -0.3579079508781433, -0.22015643119812012, 0.3995494246482849, 0.12779130041599274, -0.004638057202100754, 0.2763517498970032, -0.02244681678712368, -0.1048428863286972, -0.2420988380908966, -0.03927052766084671, -0.295653373003006, 0.062006257474422455, 0.24509146809577942, 0.14057202637195587, -0.15337932109832764, 0.31098800897598267, 0.1039959266781807, 0.08366234600543976, -0.01074201613664627, -0.18868499994277954, -0.08123776316642761, -0.29440250992774963, 0.043546486645936966, -0.397310733795166, 0.4522653818130493, -0.14084140956401825, -0.05241427198052406, -0.1635204404592514, -0.04482555389404297, -0.4579346477985382, -0.04517342895269394, -0.2061769664287567, 0.07568876445293427, 0.019280891865491867, 0.33469197154045105, -0.1852981597185135, -0.015014599077403545, 0.1042880266904831, -0.0005570463836193085, -0.3233778178691864, -0.3324070870876312, -0.08191803097724915, 0.10482554882764816, -0.15163004398345947, -0.033427849411964417, 0.17495106160640717, -0.5082641243934631, -0.08008818328380585, -0.1895248293876648, 0.28576982021331787, 0.09462865442037582, -0.12242023646831512, 0.1816449910402298, -0.012552853673696518, -0.046894706785678864, 0.07352367788553238, 0.13375268876552582, 0.03291261941194534, 0.13125847280025482, 0.028466545045375824, 0.2432420253753662, -0.3494451940059662, -0.04428181052207947, -0.13238531351089478, 0.06470970064401627, 0.09886181354522705, 0.2561197280883789, 0.011172715574502945, 0.1069982573390007, -0.02065226063132286, 0.2487611621618271, 0.1879928857088089, 0.3727683424949646, -0.0844692513346672, -0.1584370881319046, 0.16185152530670166, 0.34905946254730225, -0.019425593316555023, -0.1609056144952774, -0.19495341181755066, -0.38104936480522156, 0.07561388611793518, 0.22107279300689697, 0.34680697321891785, -0.0759529173374176, 0.31706035137176514, 0.10704543441534042, 0.319062739610672, -0.18524722754955292, 0.25384441018104553, 0.200224369764328, -0.12927109003067017, -0.12479113042354584, 0.20540718734264374, 0.0912761315703392, 0.4934893548488617, 0.5455935001373291, 0.09031170606613159, 0.4186467230319977, 0.34965959191322327, 0.14544285833835602, -0.30204230546951294, -0.5737262964248657, 0.3173745572566986, 0.2859766483306885, 0.0550302155315876, 0.09350667893886566, 0.27603694796562195, 0.15973326563835144, 0.031173162162303925, -0.10263899713754654, -0.06095103919506073, -0.0012686923146247864, -0.2508363127708435, -0.14725826680660248, -0.07457811385393143, -0.16701853275299072, -0.02075396105647087, 0.06749498844146729, -0.18933281302452087, -0.04802590608596802, 0.095006063580513, 0.2304002344608307, -0.008167020976543427, -0.33657363057136536, 0.4723820984363556, -0.0454082190990448, -0.05469971150159836, -0.17554309964179993, 0.26371121406555176, 0.09733117371797562, -0.007902495563030243, 0.22943370044231415, 0.083684042096138, 0.3115167021751404, 0.6243903636932373, 0.2099323719739914, -0.13402791321277618, 0.1419193148612976, 0.1645589917898178, -0.3093758821487427, 0.1272912323474884, 0.0924195945262909, 0.3495798110961914, 0.1781330406665802, 0.2519204616546631, -0.24890877306461334, 0.00019090250134468079, -0.12455597519874573, -0.1853400468826294, -0.11875884234905243, 0.037832360714673996, 0.42131972312927246, -0.05417626351118088, -0.029875092208385468, 0.09159515798091888, -0.5861181616783142, -0.0019320379942655563, 0.5065751671791077, 0.027371712028980255, -0.010668200440704823, -0.2469468116760254, 0.1501256227493286, -0.01790296658873558, 0.5108692646026611, 0.13120725750923157, 0.04819902777671814, -0.14902850985527039, -0.12411566078662872, -0.6504707336425781, 0.2700182795524597, 0.05759371444582939, -0.005509980022907257, 0.025107890367507935, 0.30850663781166077, -0.10484252125024796, -0.25959479808807373, 0.07914325594902039, -0.23583248257637024, 0.1266709417104721, 0.0285805594176054, -0.19003815948963165, 0.007281448692083359, 0.014288309961557388, -0.12929117679595947, -0.10809265077114105, -0.527601957321167, 0.0013992339372634888, -0.12380493432283401, 0.22707390785217285, -0.29502493143081665, -0.06960398703813553, 0.32127442955970764, 0.24855351448059082, 0.7084332704544067, 0.07776472717523575, 0.26052552461624146, -0.2108878791332245, -0.017813339829444885, -0.3517502546310425, -0.16458578407764435, -0.14337845146656036, -0.07443452626466751, 0.08869615197181702, 0.20409801602363586, -0.34333229064941406, -0.08732256293296814, -0.32482919096946716, 0.05691373720765114, -0.08552725613117218, -0.010331924073398113, 0.013565635308623314, 0.032631322741508484, -0.0670546293258667, -0.01833144947886467, -0.14348925650119781, 0.3185572922229767, 0.11931166797876358, 0.04895509034395218, -0.3882383108139038, -0.23450985550880432, 0.4110950231552124, 0.19568660855293274, -0.06979409605264664, -0.12716232240200043, 0.3092305660247803, 0.14722400903701782, 0.09646742045879364, -0.5177258253097534, 0.09081845730543137, 0.2343965470790863, 0.040270622819662094, -0.420027494430542, 0.4693889617919922, -0.19255241751670837, 0.0985102504491806, -0.24250592291355133, 0.12599945068359375, 0.12647435069084167, -0.14218267798423767, -0.2063169926404953, -0.1951063573360443 ]
https://github.com/huggingface/datasets/pull/2399
Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
In my limited experience env vars are typically above cmd line args, so that one can override scripts with cmd lines using env vars, but usually one then uses env vars inside cmd line args, so it's loud and clear. For example specifying a specific gpu number on a command line will depend on `CUDA_VISIBLE_DEVICES` so gpu0 will be different if someone sets `CUDA_VISIBLE_DEVICES=2,3` vs `CUDA_VISIBLE_DEVICES=0,1`. > However, once the library is imported, the user can modify the in-memory config, and this will have precedence over the rest of mechanisms (which take place only at import). And this is exactly the problem we are trying to solve here. For a good reason HF examples don't want to use `keep_in_memory=False`, and they may choose to now set `datasets.config.MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES` and which means we again can't override it via env var.
Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387.
138
text: Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387. In my limited experience env vars are typically above cmd line args, so that one can override scripts with cmd lines using env vars, but usually one then uses env vars inside cmd line args, so it's loud and clear. For example specifying a specific gpu number on a command line will depend on `CUDA_VISIBLE_DEVICES` so gpu0 will be different if someone sets `CUDA_VISIBLE_DEVICES=2,3` vs `CUDA_VISIBLE_DEVICES=0,1`. > However, once the library is imported, the user can modify the in-memory config, and this will have precedence over the rest of mechanisms (which take place only at import). And this is exactly the problem we are trying to solve here. For a good reason HF examples don't want to use `keep_in_memory=False`, and they may choose to now set `datasets.config.MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES` and which means we again can't override it via env var.
[ -0.34927186369895935, -0.17983773350715637, -0.004627333953976631, -0.042882055044174194, 0.41579651832580566, -0.055681511759757996, 0.1430007815361023, 0.36108389496803284, 0.3304820656776428, 0.3723726272583008, 0.07246892154216766, 0.07083568722009659, 0.046540647745132446, 0.06437335163354874, 0.075264573097229, 0.36462506651878357, 0.055420875549316406, 0.10243559628725052, -0.4379431903362274, -0.1299138367176056, -0.38735654950141907, -0.12627913057804108, -0.06306127458810806, -0.35553985834121704, 0.09713032096624374, 0.04977636784315109, 0.11306934058666229, 0.27745065093040466, -0.21422156691551208, -0.28755196928977966, 0.30958256125450134, 0.16082407534122467, 0.31394800543785095, -0.13225460052490234, -0.00010444325744174421, 0.023994140326976776, 0.09808246046304703, -0.216421440243721, -0.16735325753688812, 0.06473396718502045, -0.10763084143400192, -0.37340816855430603, -0.01779162883758545, -0.3127845525741577, 0.2730838656425476, -0.1487364023923874, 0.010339619591832161, -0.5465827584266663, -0.024794965982437134, 0.1587114781141281, 0.2898004949092865, -0.12255699932575226, -0.24728339910507202, -0.06319950520992279, 0.34160315990448, 0.07561438530683517, -0.10161493718624115, 0.0615713968873024, -0.0074987709522247314, -0.1968616247177124, 0.011876553297042847, 0.21136896312236786, 0.012197529897093773, 0.15392769873142242, 0.6118109226226807, -0.05036621168255806, 0.1387007236480713, -0.16739334166049957, 0.04005160927772522, 0.16514495015144348, 0.24993440508842468, -0.415828675031662, -0.11567956954240799, -0.008244801312685013, 0.06589151918888092, -0.3439469039440155, 0.23576152324676514, 0.09526598453521729, -0.0018030023202300072, 0.07008431851863861, -0.04783424735069275, -0.2102019041776657, -0.13975965976715088, 0.038040101528167725, 0.101127490401268, 0.30782270431518555, 0.1399901658296585, 0.08080091327428818, 0.15925192832946777, -0.08927461504936218, 0.06571978330612183, 0.10574589669704437, -0.08888636529445648, -0.05885658040642738, -0.12889613211154938, -0.01797976717352867, 0.12939685583114624, 0.014390848577022552, 0.4208369851112366, -0.1043766587972641, -0.17507819831371307, 0.16522952914237976, 0.10740924626588821, 0.18955576419830322, -0.10637722909450531, 0.46269142627716064, -0.10344893485307693, 0.05950871855020523, 0.2857212722301483, 0.28407275676727295, -0.07346155494451523, 0.10498318821191788, 0.08023853600025177, -0.42720887064933777, 0.03628915175795555, 0.15631705522537231, 0.10980743169784546, -0.3999112546443939, -0.11256445199251175, 0.4431816041469574, -0.11445591598749161, 0.08145053684711456, 0.04932525008916855, 0.682263195514679, 0.007136721163988113, 0.11589239537715912, 0.19620709121227264, -0.08959070593118668, -0.37435585260391235, 0.12135886400938034, -0.14629344642162323, 0.1362570971250534, -0.2547973394393921, 0.10871253907680511, 0.29086506366729736, 0.09181401133537292, 0.2758365571498871, 0.32845157384872437, 0.4171942472457886, 0.09494398534297943, 0.3207945227622986, -0.3056228756904602, 0.4887183606624603, 0.2514829635620117, -0.1573162078857422, 0.1833725869655609, 0.4085392355918884, -0.030303478240966797, -0.36061719059944153, 0.28342100977897644, -0.17063364386558533, -0.31115448474884033, -0.04474206268787384, 0.2509375512599945, -0.006254555657505989, 0.018696676939725876, 0.09405145049095154, 0.018308168277144432, -0.0685427114367485, -0.14765380322933197, 0.36540213227272034, -0.3463800549507141, -0.21573908627033234, -0.21709030866622925, 0.2997903525829315, 0.49799835681915283, -0.5083587169647217, -0.060803648084402084, 0.20212458074092865, -0.022258274257183075, 0.1441335678100586, 0.02855147048830986, -0.46149852871894836, -0.2163330614566803, -0.2581801116466522, -0.23003166913986206, -0.020640797913074493, -0.5759825706481934, -0.3300040066242218, 0.4397072494029999, 0.04155830293893814, 0.11902711540460587, 0.18010856211185455, 0.07281330972909927, 0.14066776633262634, -0.008900059387087822, -0.03793710470199585, 0.3254982829093933, 0.10459062457084656, 0.11505994945764542, -0.3159429728984833, -0.37302181124687195, 0.01843753084540367, -0.12032096087932587, 0.03685256093740463, 0.12198890745639801, 0.03697549179196358, 0.10671093314886093, 0.21519342064857483, -0.2379033863544464, 0.15815109014511108, 0.29618752002716064, 0.37412694096565247, 0.13281968235969543, 0.18759484589099884, 0.1642489731311798, -0.3958182632923126, 0.21670910716056824, -0.15794771909713745, -0.11092501878738403, 0.025022074580192566, -0.41755616664886475, 0.036742012947797775, 0.02496393211185932, 0.05254317820072174, -0.18055970966815948, 0.18036964535713196, 0.16408535838127136, -0.33765825629234314, -0.13121195137500763, -0.12503796815872192, 0.38114243745803833, -0.2141982764005661, -0.059188589453697205, 0.12492962181568146, 0.0183050986379385, -0.18680739402770996, -0.00008336082100868225, -0.08482881635427475, -0.015218093991279602, 0.08602602779865265, 0.007519924081861973, -0.2517493665218353, 0.37436574697494507, 0.1167982891201973, -0.0342576801776886, -0.24055582284927368, 0.07149126380681992, 0.10179535299539566, -0.00935354083776474, 0.4435243010520935, -0.16318607330322266, 0.1910378336906433, 0.20093044638633728, -0.07595407217741013, 0.36988121271133423, 0.052932921797037125, 0.22562211751937866, 0.26218461990356445, -0.5060315132141113, 0.03747016191482544, -0.10317771136760712, 0.09794842451810837, -0.5870698690414429, 0.14097341895103455, 0.2729487121105194, 0.16715040802955627, 0.08841226994991302, -0.1814657747745514, 0.11561363190412521, 0.3791610896587372, 0.3730403780937195, -0.13842648267745972, 0.24091970920562744, 0.16772958636283875, -0.11954053491353989, 0.3918505907058716, 0.04608096554875374, 0.463752806186676, 0.33884987235069275, -0.19090303778648376, 0.1603228896856308, -0.21336334943771362, -0.04203175753355026, 0.21202418208122253, -0.041154272854328156, 0.21308431029319763, 0.2377339005470276, 0.08307231962680817, -0.09123633801937103, -0.26520174741744995, -0.15461735427379608, 0.07214602828025818, 0.05027449131011963, -0.33598893880844116, 0.15250039100646973, -0.5247329473495483, -0.38074570894241333, -0.2645778954029083, -0.0794985443353653, -0.09728369116783142, -0.09747769683599472, 0.051805220544338226, -0.0411631278693676, -0.25065892934799194, 0.218952476978302, -0.15379925072193146, 0.2963716387748718, -0.21448345482349396, -0.23952524363994598, 0.0015019774436950684, 0.1762116551399231, -0.34073784947395325, 0.0497257374227047, 0.1884802132844925, 0.14496682584285736, 0.255483478307724, 0.3911895453929901, -0.1698981076478958, -0.2521629333496094, -0.5044896602630615, 0.05463118851184845, 0.05231131613254547, 0.4070957601070404, 0.011319033801555634, -0.038481369614601135, -0.02525932341814041, -0.2344416379928589, 0.03382154926657677, -0.009979342110455036, 0.0959453135728836, -0.26081788539886475, -0.09490744024515152, 0.07217980176210403, -0.3966819941997528, -0.5311735272407532, -0.04485767334699631, -0.6401732563972473, -0.33893853425979614, 0.2787719666957855, 0.20976924896240234, 0.1943797618150711, 0.2801334857940674, -0.017426809296011925, 0.4055664539337158, 0.18190895020961761, -0.13680753111839294, -0.1429952085018158, 0.27545687556266785, -0.39165037870407104, -0.10909596085548401, 0.10863754153251648, -0.0812777727842331, 0.06300162523984909, 0.30147093534469604, -0.5424951314926147, -0.12805818021297455, -0.19521866738796234, -0.01621849462389946, -0.3690688908100128, 0.06552426517009735, 0.1950039267539978, -0.06462732702493668, -0.18991123139858246, -0.20319828391075134, -0.3285624384880066, 0.20612777769565582, -0.23778676986694336, 0.13273444771766663, -0.16777747869491577, 0.5744838118553162, -0.007448781281709671, 0.33669090270996094, -0.10318852961063385, 0.08923183381557465, 0.3896653652191162, 0.1121256947517395, 0.5164562463760376, -0.3368493914604187, 0.10831481218338013, 0.2467643916606903, 0.15076754987239838, -0.24333277344703674, 0.3016681671142578, -0.11834607273340225, -0.019207259640097618, 0.23283013701438904, 0.002167612314224243, 0.20373305678367615, -0.24320247769355774, 0.3750155568122864, 0.10709841549396515, 0.01638895273208618, 0.010315626859664917, 0.037267446517944336, -0.3229103684425354, 0.1289990246295929, 0.08978338539600372, 0.32580655813217163, -0.1916927993297577, 0.21695399284362793, -0.22207090258598328, -0.11857394874095917, -0.07627483457326889, 0.2441762536764145, 0.019595090299844742, 0.43638041615486145, -0.05384785681962967, -0.4300132691860199, 0.10481338202953339, -0.2150574028491974, 0.4245823621749878, -0.01853027008473873, -0.05553143471479416, 0.04261435568332672, -0.2165745496749878, 0.02897956408560276, -0.34496283531188965, 0.06852695345878601, -0.037522099912166595, -0.12841781973838806, -0.010050348937511444, -0.20161932706832886, -0.21279726922512054, 0.18390056490898132, 0.011669719591736794, -0.03585899993777275, -0.18833261728286743, -0.30608320236206055, -0.002491198480129242, -0.5974730253219604, -0.15056970715522766, -0.09915951639413834, -0.20742350816726685, -0.2605195939540863, 0.022567685693502426, -0.12042832374572754, 0.0626801997423172, 0.16868259012699127, 0.05626104399561882, 0.15901264548301697, 0.023554842919111252, 0.058341484516859055, -0.20865531265735626, 0.10741953551769257, 0.5281651020050049, 0.3041101098060608, -0.06997230648994446, 0.02199859917163849, 0.0126801123842597, 0.14881941676139832, 0.1973249614238739, 0.3182971179485321, -0.04196944460272789, 0.1942674219608307, 0.26352035999298096, 0.09250837564468384, -0.24691876769065857, 0.22173409163951874, -0.005005324259400368, -0.2123176008462906, -0.22067515552043915, -0.4957563281059265, 0.49468162655830383, 0.1006336659193039, -0.005379863083362579, 0.36212655901908875, 0.08256997913122177, -0.3098733425140381, 0.3268249034881592, 0.4629613757133484, 0.7782032489776611, -0.04386798292398453, 0.1637810319662094, 0.005406158044934273, -0.22065924108028412, 0.28472644090652466, -0.389123797416687, 0.031099524348974228, -0.39872002601623535, -0.13719461858272552, 0.08705385029315948, -0.11046214401721954, 0.35457995533943176, -0.34808915853500366, -0.4134501814842224, 0.0032592301722615957, -0.051791638135910034, 0.06556513905525208, -0.22286710143089294, 0.10313774645328522, -0.4021681845188141, -0.45625969767570496, 0.1121269017457962, 0.22755667567253113, 0.008181042969226837, -0.00805262103676796, -0.23473167419433594, 0.046371713280677795, -0.09443685412406921, -0.1578136682510376, 0.07268083095550537, -0.0030163098126649857, -0.339708536863327, 0.15536010265350342, -0.08859212696552277, -0.023836888372898102, 0.21172238886356354, -0.15892133116722107, 0.1563206911087036, 0.36469313502311707, -0.08298949152231216, 0.10681219398975372, 0.08925971388816833, 0.1429874151945114, 0.059868842363357544, -0.181005597114563, 0.43990272283554077, -0.018902979791164398, -0.09844285249710083, -0.0773458257317543, 0.07595909386873245, -0.023474037647247314, 0.041230037808418274, -0.08190490305423737, 0.2924484610557556, -0.2699339687824249, -0.26516294479370117, 0.12017348408699036, 0.05266979709267616, -0.1310092955827713, 0.20050229132175446, -0.18554069101810455, 0.05681675672531128, 0.16415588557720184, 0.014379363507032394, -0.3651270270347595, -0.26103994250297546, 0.3324216306209564, 0.0007475130259990692, 0.06819511204957962, 0.33172479271888733, 0.03860018774867058, -0.15426841378211975, -0.23343876004219055, -0.13184404373168945, -0.06235654652118683, 0.011082157492637634, 0.11027345806360245, 0.15250715613365173, -0.2913144826889038, 0.10860394686460495, 0.11086511611938477, 0.019260816276073456, 0.003392137587070465, -0.06284190714359283, -0.1789645254611969, -0.44695016741752625, 0.18338073790073395, -0.6002276539802551, 0.3189968764781952, -0.06348559260368347, 0.09336267411708832, -0.24016344547271729, 0.09104309976100922, -0.43739017844200134, -0.1372155398130417, -0.21640481054782867, -0.013519492000341415, -0.25453099608421326, 0.3594732880592346, -0.15061818063259125, 0.09409712255001068, 0.07242346554994583, 0.09169229865074158, -0.357494592666626, -0.2645348608493805, -0.35658466815948486, 0.1305977702140808, -0.08360879868268967, -0.012907911092042923, 0.16474923491477966, -0.2739197611808777, -0.061277952045202255, -0.19983775913715363, 0.4046688973903656, 0.11522803455591202, -0.1688554883003235, 0.2752571702003479, -0.0242304764688015, -0.1272457242012024, 0.017739344388246536, -0.019665196537971497, 0.27539926767349243, 0.17510604858398438, -0.021062133833765984, 0.10132144391536713, -0.48843979835510254, -0.03556480258703232, -0.2658541798591614, 0.15478160977363586, 0.10785404592752457, 0.2854540944099426, -0.09499131888151169, 0.17075788974761963, 0.06606386601924896, 0.20150406658649445, 0.04211273044347763, 0.20752546191215515, -0.14655035734176636, -0.19837255775928497, 0.2739194333553314, 0.2592374384403229, -0.0450773760676384, -0.0639626756310463, -0.2656889855861664, -0.4505266547203064, 0.12761442363262177, 0.3594640791416168, 0.4676609933376312, -0.08706074953079224, 0.35448771715164185, 0.05946260690689087, 0.2111629992723465, -0.30129683017730713, 0.09448163211345673, 0.17414288222789764, -0.17831216752529144, 0.007207851856946945, 0.1681472361087799, 0.2123989462852478, 0.6156286001205444, 0.4791673421859741, 0.05827304720878601, 0.23456601798534393, 0.3634825646877289, 0.19263209402561188, -0.3232477605342865, -0.6132671236991882, 0.25033020973205566, 0.31767356395721436, 0.0879356786608696, 0.16305795311927795, 0.1992528736591339, 0.0687672421336174, 0.19841650128364563, -0.1030183658003807, -0.05672056972980499, -0.026854243129491806, -0.2489258050918579, -0.10276870429515839, -0.033746473491191864, 0.04410891979932785, -0.25077658891677856, 0.09619632363319397, -0.13420294225215912, -0.10146193206310272, 0.16313393414020538, 0.20800422132015228, -0.1934252232313156, -0.09934291243553162, 0.4332699179649353, -0.08428342640399933, -0.0020373985171318054, -0.2185867577791214, 0.14071814715862274, -0.023918762803077698, 0.042914845049381256, 0.14754502475261688, 0.06793026626110077, 0.31227925419807434, 0.5899480581283569, 0.17686215043067932, -0.19546820223331451, 0.19789007306098938, 0.20400461554527283, -0.22921057045459747, 0.005996126681566238, 0.1222609132528305, 0.40066009759902954, 0.24364309012889862, 0.16654768586158752, -0.22066539525985718, -0.10814699530601501, -0.06030091270804405, -0.14082926511764526, -0.04406813159584999, 0.05721563845872879, 0.5685710906982422, 0.124903105199337, -0.007426157593727112, -0.0005307123064994812, -0.5013843178749084, -0.02855968475341797, 0.42041298747062683, 0.017957959324121475, 0.17586877942085266, -0.10464586317539215, 0.1414986103773117, -0.14055190980434418, 0.44408807158470154, -0.0029992423951625824, -0.13565096259117126, -0.20576399564743042, 0.060794323682785034, -0.5424841642379761, 0.28454717993736267, -0.062065672129392624, -0.2585250735282898, 0.16402877867221832, 0.3059390187263489, 0.06813029944896698, -0.33904117345809937, 0.035977721214294434, -0.3239303231239319, 0.28944435715675354, 0.11195036768913269, -0.24049606919288635, -0.06938841938972473, -0.19109196960926056, 0.049858056008815765, 0.04878896474838257, -0.5527498126029968, 0.05453982576727867, -0.10776722431182861, 0.1748785674571991, -0.26150768995285034, -0.0895448550581932, 0.3451496660709381, -0.021626286208629608, 0.7787694931030273, -0.010291634127497673, 0.18323174118995667, -0.22935941815376282, 0.043295204639434814, -0.36383697390556335, -0.1921185553073883, -0.16960535943508148, -0.21419060230255127, 0.029746441170573235, 0.226236492395401, -0.20414826273918152, -0.2677139937877655, -0.2889871299266815, 0.19524948298931122, 0.005186326801776886, 0.03245028480887413, 0.025475626811385155, 0.33906665444374084, -0.10107675939798355, 0.09446140378713608, -0.021597744897007942, 0.3578576445579529, 0.1403779834508896, 0.11899413168430328, -0.41320812702178955, -0.24563540518283844, 0.5463454723358154, 0.2604728639125824, -0.1338079422712326, -0.18098478019237518, 0.46495819091796875, 0.05580586940050125, -0.1727682650089264, -0.5149147510528564, 0.10450123995542526, 0.12469696998596191, 0.12159159779548645, -0.4556925296783447, 0.44841521978378296, -0.20323610305786133, 0.13779868185520172, -0.24589994549751282, -0.014909237623214722, 0.0479288287460804, -0.10231052339076996, -0.12939009070396423, -0.20088134706020355 ]
https://github.com/huggingface/datasets/pull/2399
Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES
oops, sorry, didn't think earlier - do we need to prefix this with `HF_DATASETS` or `HF_` like all the other env vars? or is it long enough already to be unique - it's just not telling the user in the config file what projet this variable is for...
Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387.
48
text: Add env variable for MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES Add env variable for `MAX_IN_MEMORY_DATASET_SIZE_IN_BYTES`. This will allow to turn off default behavior: loading in memory (and not caching) small datasets. Fix #2387. oops, sorry, didn't think earlier - do we need to prefix this with `HF_DATASETS` or `HF_` like all the other env vars? or is it long enough already to be unique - it's just not telling the user in the config file what projet this variable is for...
[ -0.2745967209339142, -0.3159061670303345, -0.13463996350765228, -0.04705397039651871, 0.3378921151161194, 0.028720863163471222, -0.02133854851126671, 0.3569331169128418, 0.29325029253959656, 0.3389165699481964, 0.12515313923358917, 0.01837843842804432, 0.03224621340632439, 0.1393016129732132, -0.09148227423429489, 0.23793649673461914, -0.025497503578662872, 0.2324020266532898, -0.25995752215385437, -0.08622413128614426, -0.39603978395462036, -0.1876533329486847, 0.004872538149356842, -0.25718945264816284, -0.040888167917728424, 0.10989179462194443, 0.1178472489118576, 0.24900302290916443, -0.3498310446739197, -0.3285665512084961, 0.2526623010635376, 0.2235211431980133, 0.19132545590400696, -0.06048322468996048, -0.00010254432709189132, -0.038844626396894455, 0.23962220549583435, -0.09733638912439346, -0.18961700797080994, 0.24502333998680115, -0.3952053189277649, -0.41766828298568726, 0.0057489811442792416, -0.2822829782962799, 0.18405044078826904, -0.13881075382232666, 0.11969728022813797, -0.5229716300964355, 0.029349133372306824, 0.27729782462120056, 0.32139909267425537, -0.18391381204128265, -0.18584765493869781, -0.2578369379043579, 0.22314605116844177, 0.06355422735214233, -0.046608537435531616, -0.034305449575185776, -0.057315364480018616, -0.09784010797739029, -0.12351616472005844, 0.23772509396076202, 0.12501133978366852, 0.3208715617656708, 0.693651020526886, -0.037326112389564514, 0.19476087391376495, -0.26545676589012146, 0.11110377311706543, 0.09360892325639725, 0.5886358618736267, -0.14842715859413147, 0.06011887639760971, -0.0033375322818756104, 0.05464745685458183, -0.429223895072937, 0.22553208470344543, 0.12945717573165894, -0.11295652389526367, 0.04801446944475174, -0.29633548855781555, -0.3485381007194519, -0.2526794672012329, 0.11187397688627243, -0.14833056926727295, 0.32688650488853455, 0.08010789752006531, -0.051142267882823944, 0.17727158963680267, -0.14912691712379456, 0.289339542388916, 0.22792799770832062, -0.11949016153812408, -0.04877317324280739, -0.11713120341300964, -0.146866112947464, 0.03992480784654617, 0.007896922528743744, 0.34414055943489075, -0.1072111576795578, -0.1546165943145752, 0.12841948866844177, 0.1811898946762085, 0.009006820619106293, -0.0635981410741806, 0.3074447214603424, 0.06144913285970688, 0.09645439684391022, 0.27131858468055725, -0.0022459046449512243, -0.07641806453466415, 0.08416610956192017, 0.05794580653309822, -0.4185324013233185, 0.09233205020427704, 0.0385420136153698, 0.1804506927728653, -0.3257153034210205, -0.1258668303489685, 0.34228986501693726, 0.09759355336427689, -0.10457669198513031, 0.04515516012907028, 0.5406631827354431, -0.02335204929113388, 0.10714972019195557, 0.0623682364821434, -0.10720798373222351, -0.3442690670490265, -0.02071741223335266, -0.18332716822624207, -0.0004358682781457901, -0.2796039283275604, 0.15294286608695984, 0.2428160160779953, 0.2285732477903366, 0.20063191652297974, 0.2748716473579407, 0.3172803819179535, 0.019757166504859924, 0.20716390013694763, -0.11142516136169434, 0.2324092984199524, 0.20234167575836182, -0.24007195234298706, 0.1400965452194214, 0.3837386667728424, 0.007200665771961212, -0.23255634307861328, 0.3272819221019745, -0.2684362232685089, -0.4788682758808136, -0.2406577318906784, 0.3141564130783081, 0.02715234085917473, -0.2230631709098816, 0.3157505989074707, 0.13876022398471832, 0.010624051094055176, -0.06325159221887589, 0.22573399543762207, -0.019108422100543976, -0.3495526611804962, -0.16465933620929718, 0.2588716745376587, 0.356145441532135, -0.43742460012435913, -0.11132603883743286, -0.020049944519996643, -0.049219127744436264, 0.23720130324363708, -0.042090389877557755, -0.35399115085601807, -0.07804746180772781, -0.1528862714767456, -0.15158909559249878, 0.06966282427310944, -0.23693937063217163, -0.3738395869731903, 0.3924882411956787, -0.08474523574113846, -0.09426552802324295, 0.11419326812028885, 0.12832145392894745, 0.024880962446331978, 0.10233060270547867, 0.10227633267641068, 0.26893389225006104, 0.10069957375526428, 0.07994472235441208, -0.48001009225845337, -0.37276819348335266, -0.013281013816595078, -0.018728744238615036, 0.1953713744878769, 0.18665698170661926, 0.1325686275959015, 0.11618661135435104, 0.09777594357728958, -0.12817704677581787, 0.13100971281528473, 0.22102993726730347, 0.2259950190782547, 0.07654707133769989, 0.061000727117061615, 0.22275957465171814, -0.27957791090011597, 0.14907649159431458, -0.2589282691478729, -0.18325595557689667, 0.11278024315834045, -0.21925175189971924, -0.2118297815322876, -0.08022255450487137, -0.1170128881931305, -0.23423635959625244, 0.2147897481918335, 0.1063067764043808, -0.2790883481502533, -0.14562226831912994, -0.06949224323034286, 0.2463928759098053, -0.12399497628211975, -0.11240515112876892, 0.140512615442276, -0.05862421542406082, -0.12453574687242508, 0.18370158970355988, -0.12102581560611725, -0.16219639778137207, 0.15775372087955475, 0.17031361162662506, -0.27659401297569275, 0.5483964681625366, -0.024806085973978043, -0.11908012628555298, 0.16999907791614532, -0.014374002814292908, 0.15063002705574036, -0.03330868482589722, 0.461460143327713, -0.11386889219284058, 0.0639263242483139, 0.15324878692626953, -0.3719487488269806, 0.31776851415634155, -0.024039331823587418, 0.019474580883979797, 0.034534260630607605, -0.3812525272369385, -0.03359580785036087, -0.13879123330116272, 0.11565107852220535, -0.4910426735877991, 0.10450677573680878, 0.08794073760509491, 0.06356281042098999, 0.18818461894989014, -0.2978166341781616, 0.03894154727458954, 0.21804286539554596, 0.19149036705493927, -0.0626034066081047, 0.3714350759983063, 0.0909607857465744, -0.256695419549942, 0.18918323516845703, 0.18486982583999634, 0.6191667318344116, 0.34369972348213196, 0.021958015859127045, 0.11852112412452698, -0.06702473014593124, -0.08820591121912003, 0.323680579662323, -0.22026272118091583, 0.17185652256011963, 0.3100661635398865, 0.03116825968027115, -0.18299609422683716, -0.3402235507965088, -0.07539370656013489, 0.11017543822526932, 0.21409128606319427, -0.183334082365036, -0.13540799915790558, -0.33360370993614197, -0.3510749340057373, -0.05244831740856171, 0.007654017303138971, -0.16969269514083862, -0.23921848833560944, 0.2542803883552551, -0.1691746711730957, -0.14766952395439148, 0.22471362352371216, -0.2147318571805954, 0.5131410360336304, 0.04338810592889786, -0.007624303922057152, -0.07346820831298828, 0.15549162030220032, -0.13204684853553772, 0.12948542833328247, -0.05859321355819702, 0.06176437810063362, 0.18581818044185638, 0.19587083160877228, 0.06706248968839645, -0.31009525060653687, -0.35005462169647217, 0.03319466859102249, 0.1679350584745407, 0.33991333842277527, 0.04438449442386627, 0.2672535181045532, -0.06742897629737854, -0.25742480158805847, 0.16980519890785217, -0.021680636331439018, 0.12778489291667938, -0.20184175670146942, 0.04016895592212677, 0.1463259756565094, -0.17070676386356354, -0.4907822906970978, -0.21806743741035461, -0.5781595706939697, -0.12929657101631165, 0.240225687623024, 0.26071155071258545, 0.344765305519104, 0.3005833029747009, -0.08633500337600708, 0.13534770905971527, 0.10442064702510834, -0.364444762468338, -0.32674846053123474, 0.3635052442550659, -0.38891369104385376, -0.08723929524421692, -0.03068709559738636, 0.11433444917201996, 0.039144981652498245, 0.18133558332920074, -0.5084825158119202, -0.13267065584659576, -0.33184731006622314, -0.0610567182302475, -0.4294200837612152, 0.0958838164806366, 0.12839551270008087, -0.15069153904914856, -0.2658171057701111, -0.06358899176120758, -0.18426203727722168, 0.03334133327007294, -0.20321223139762878, 0.23789116740226746, -0.20639953017234802, 0.4153832197189331, 0.05296426638960838, 0.49519091844558716, 0.010247606784105301, 0.16663268208503723, 0.37518641352653503, 0.010560926049947739, 0.44205519556999207, -0.2661758065223694, -0.0664273351430893, 0.2860797941684723, 0.14215418696403503, -0.32699036598205566, 0.39747756719589233, -0.11530781537294388, -0.19723375141620636, 0.23660290241241455, -0.009424924850463867, 0.153905987739563, -0.2022865265607834, 0.21402131021022797, 0.06165314465761185, 0.021259810775518417, -0.06820607930421829, -0.014939017593860626, -0.37219151854515076, 0.14628002047538757, -0.02328617125749588, 0.19800859689712524, -0.12480900436639786, 0.13909175992012024, -0.2902471721172333, -0.0692538246512413, -0.20224499702453613, 0.2046336531639099, -0.20549410581588745, 0.4083913266658783, -0.21211349964141846, -0.43912917375564575, 0.12246109545230865, 0.0016998893115669489, 0.6465561389923096, -0.10097812116146088, -0.1711900681257248, -0.16029316186904907, 0.12249505519866943, -0.04880906641483307, -0.22581453621387482, 0.16974906623363495, 0.15646342933177948, -0.1313282698392868, 0.08724313974380493, -0.11421674489974976, -0.060097627341747284, 0.27640390396118164, -0.14797164499759674, -0.14781875908374786, -0.27057522535324097, -0.26082083582878113, 0.04272167384624481, -0.43406301736831665, 0.10243330150842667, -0.1729431301355362, -0.07759151607751846, -0.052849121391773224, 0.043219637125730515, -0.041515737771987915, 0.0778934434056282, 0.11793356388807297, 0.14585137367248535, 0.16449612379074097, 0.03708590567111969, -0.01696566864848137, -0.08441989123821259, 0.03658656030893326, 0.37113794684410095, 0.32200127840042114, -0.187992662191391, 0.08351628482341766, 0.09938421100378036, -0.04883704334497452, 0.24456429481506348, 0.3385077118873596, -0.05084492266178131, 0.14095617830753326, 0.26120078563690186, 0.3107582628726959, -0.1972934454679489, 0.21693354845046997, 0.014318847097456455, -0.26953092217445374, -0.4623156487941742, -0.461138516664505, 0.5302757620811462, 0.06950266659259796, -0.04558071494102478, 0.30014848709106445, -0.06543444097042084, -0.1997065544128418, 0.09983798116445541, 0.3316207230091095, 0.8385130167007446, -0.0657997876405716, 0.18135783076286316, -0.25159507989883423, -0.1240004152059555, 0.21777592599391937, -0.41184473037719727, 0.04871359094977379, -0.2149810492992401, -0.3289317786693573, 0.01759267784655094, -0.03777359426021576, 0.2802371382713318, -0.13668754696846008, -0.4573943316936493, -0.0007327147759497166, 0.030946582555770874, -0.12179681658744812, -0.20684759318828583, 0.24986469745635986, -0.3940587341785431, -0.25207045674324036, 0.23458044230937958, 0.27314499020576477, -0.07847782969474792, 0.044597089290618896, -0.18250060081481934, 0.007602985482662916, 0.0029130876064300537, -0.12863683700561523, -0.004883259534835815, -0.05939069390296936, -0.2987824082374573, 0.1522020548582077, -0.22956761717796326, -0.15485942363739014, 0.04736102744936943, -0.10730557143688202, 0.049947913736104965, 0.4142758548259735, -0.2515967786312103, 0.21536262333393097, 0.10219837725162506, 0.2338249385356903, -0.1983356773853302, -0.19876410067081451, 0.1166117787361145, -0.03281218186020851, -0.2295478880405426, -0.1833857297897339, -0.038139935582876205, -0.12471864372491837, -0.15979574620723724, 0.008200667798519135, 0.2359592765569687, -0.3195871114730835, -0.2798123359680176, 0.03939857706427574, -0.011997930705547333, -0.13609732687473297, 0.26114049553871155, -0.047288618981838226, 0.1346122920513153, 0.07808896899223328, 0.016509005799889565, -0.45812174677848816, -0.23803474009037018, 0.31011608242988586, 0.002830924466252327, 0.11739781498908997, 0.2453049123287201, -0.1380309760570526, -0.16375058889389038, -0.3258095979690552, 0.07465317100286484, -0.08441130071878433, -0.002423293888568878, 0.05359157547354698, 0.09497612714767456, -0.20797373354434967, 0.12310028076171875, 0.042648471891880035, 0.16959364712238312, 0.06145120784640312, 0.11038964986801147, -0.14755061268806458, -0.4743155241012573, -0.004178956151008606, -0.6160811185836792, 0.4875235855579376, -0.22607845067977905, -0.0003013238310813904, -0.013305669650435448, 0.09845077991485596, -0.4735327363014221, 0.04352361708879471, -0.12782816588878632, 0.024723537266254425, -0.2317635715007782, 0.20841655135154724, -0.02652856893837452, -0.044712893664836884, 0.1215616911649704, -0.039822764694690704, -0.3429872989654541, -0.33836036920547485, -0.15010061860084534, 0.1339695155620575, -0.02357304096221924, -0.09986519813537598, 0.10162237286567688, -0.2487538605928421, -0.0878460705280304, -0.1289237141609192, 0.23743224143981934, 0.12211700528860092, -0.07302528619766235, 0.2474096268415451, 0.115719735622406, -0.19447070360183716, 0.11205221712589264, -0.1408323496580124, 0.26513564586639404, 0.23554012179374695, -0.021489307284355164, 0.17679457366466522, -0.4440039396286011, -0.0650140643119812, -0.19552190601825714, 0.26968705654144287, 0.291614830493927, 0.14480778574943542, -0.1461552083492279, 0.02926619164645672, -0.08300246298313141, 0.17483732104301453, 0.032996661961078644, 0.43201103806495667, -0.26427239179611206, -0.16292428970336914, 0.18907681107521057, 0.3798092007637024, -0.005774354562163353, -0.04149176552891731, -0.048912059515714645, -0.2800467610359192, 0.15108703076839447, 0.19873318076133728, 0.41484832763671875, -0.091633141040802, 0.20537295937538147, 0.1845509111881256, 0.22251808643341064, -0.4192191958427429, 0.13634319603443146, 0.2041933387517929, -0.1635969579219818, -0.18696404993534088, 0.39015889167785645, 0.28599783778190613, 0.4764227271080017, 0.6495755910873413, 0.10035976022481918, 0.19620460271835327, 0.38554057478904724, 0.18186698853969574, -0.30809590220451355, -0.5506017208099365, 0.32781562209129333, 0.3216351270675659, -0.18024450540542603, 0.11035537719726562, 0.2645741105079651, 0.14424124360084534, 0.04429715499281883, -0.11613117158412933, -0.1065751239657402, -0.09455443918704987, -0.17913690209388733, -0.25808650255203247, 0.07289440184831619, -0.21594616770744324, -0.18082740902900696, 0.03127826377749443, -0.0968102514743805, -0.21338720619678497, 0.1815459430217743, 0.1270538717508316, -0.12088318169116974, -0.2257884442806244, 0.583479106426239, 0.14154356718063354, 0.019890815019607544, -0.2474573701620102, 0.1890859156847, 0.004716761410236359, -0.09604178369045258, 0.39179855585098267, 0.16590307652950287, 0.29765626788139343, 0.5689540505409241, 0.0931718498468399, -0.11174929887056351, 0.2272111475467682, 0.07355855405330658, -0.2725963294506073, 0.018168609589338303, 0.25447261333465576, 0.170913964509964, 0.16778753697872162, 0.2936544716358185, -0.2500860095024109, 0.15627214312553406, -0.11604748666286469, -0.020419567823410034, -0.0845293402671814, -0.0823601707816124, 0.6048069000244141, 0.09677580744028091, 0.15799635648727417, -0.024280838668346405, -0.6204839944839478, -0.0048950351774692535, 0.42416203022003174, 0.09882351011037827, 0.2090948522090912, -0.082293301820755, 0.1390613466501236, -0.019353725016117096, 0.4359869658946991, 0.07289218157529831, -0.018825732171535492, -0.18673808872699738, 0.042912110686302185, -0.6146365404129028, 0.257442444562912, -0.10617510974407196, -0.020939303562045097, 0.1435607373714447, 0.35262107849121094, 0.05302438884973526, -0.19010405242443085, 0.10365907847881317, -0.14562757313251495, 0.185512512922287, 0.14759035408496857, -0.2174593061208725, 0.15445183217525482, 0.2187967747449875, 0.22187376022338867, 0.08651816844940186, -0.39801865816116333, 0.27317148447036743, -0.0676373839378357, 0.2614717185497284, -0.2609628438949585, 0.003993891179561615, 0.35772213339805603, 0.044232651591300964, 0.7210471034049988, 0.05722291022539139, 0.19458788633346558, -0.31952786445617676, -0.04006312042474747, -0.4068271517753601, -0.15048356354236603, -0.2199251651763916, -0.27228260040283203, 0.2770400643348694, 0.16207368671894073, -0.18593308329582214, -0.24583934247493744, -0.27707168459892273, 0.23409682512283325, -0.19229166209697723, 0.08495364338159561, 0.03437638282775879, 0.20194998383522034, 0.09151164442300797, 0.04667843505740166, -0.2076571136713028, 0.3053101897239685, 0.19121676683425903, 0.11183863878250122, -0.30658459663391113, -0.20814692974090576, 0.48302578926086426, 0.1965535432100296, -0.25641390681266785, -0.06745105981826782, 0.35778483748435974, 0.1160854622721672, 0.07628189027309418, -0.5237872004508972, 0.13187721371650696, 0.2182452231645584, -0.07185499370098114, -0.4179263710975647, 0.4017118215560913, -0.17652016878128052, 0.0753587931394577, -0.17055025696754456, 0.39629703760147095, 0.1008613109588623, -0.16328966617584229, -0.2494993507862091, -0.25687697529792786 ]
https://github.com/huggingface/datasets/pull/2397
Fix number of classes in indic_glue sna.bn dataset
@lhoestq there are many things missing in the README.md file, but this correction is right despite not passing the validation tests...
As read in the [paper](https://www.aclweb.org/anthology/2020.findings-emnlp.445.pdf), Table 11.
21
text: Fix number of classes in indic_glue sna.bn dataset As read in the [paper](https://www.aclweb.org/anthology/2020.findings-emnlp.445.pdf), Table 11. @lhoestq there are many things missing in the README.md file, but this correction is right despite not passing the validation tests...
[ 0.02195936068892479, 0.04181620478630066, -0.1542462259531021, 0.03185198828577995, 0.021884892135858536, -0.021507661789655685, 0.2995585799217224, 0.2457883656024933, -0.1395498514175415, 0.12333138287067413, -0.11793351173400879, 0.12620458006858826, 0.0849423035979271, 0.15625908970832825, 0.31652185320854187, 0.17801013588905334, 0.1673334240913391, 0.159570574760437, 0.05895888805389404, -0.003849044442176819, -0.2257089763879776, 0.3624417185783386, -0.3889229893684387, -0.17098559439182281, -0.04273495078086853, 0.04805624485015869, -0.17696285247802734, 0.07700321823358536, -0.4636211097240448, -0.45468416810035706, 0.2978512942790985, 0.17493762075901031, -0.0781523734331131, -0.1538008451461792, -0.00010566010314505547, -0.23609524965286255, 0.1345585286617279, -0.1262141764163971, 0.1490572839975357, 0.5531890392303467, -0.1962461769580841, -0.2799850404262543, 0.007607025094330311, -0.17827799916267395, 0.01203489676117897, 0.008741576224565506, 0.035401590168476105, 0.2673591375350952, 0.14774158596992493, 0.25272467732429504, 0.2354600876569748, -0.23855175077915192, 0.05828116461634636, -0.023152699694037437, 0.0994730293750763, -0.09462770819664001, 0.0011255349963903427, 0.27044108510017395, 0.12215152382850647, -0.2534489035606384, -0.12183734029531479, 0.5100434422492981, -0.11498816311359406, -0.027057785540819168, 0.2540430724620819, -0.0815434679389, -0.02282232791185379, -0.1473790407180786, 0.12451396137475967, 0.2003055214881897, 0.33166831731796265, -0.05441920459270477, -0.017118368297815323, -0.1452876329421997, 0.22830428183078766, 0.03360661864280701, 0.14654266834259033, 0.06521368771791458, 0.1512627750635147, 0.1660812646150589, 0.14487256109714508, -0.0476110614836216, -0.007742609828710556, -0.02254527062177658, -0.0695933848619461, 0.26502954959869385, -0.17760439217090607, -0.10959310084581375, 0.042081043124198914, 0.0369982086122036, 0.06163499876856804, 0.3652833104133606, -0.2075013816356659, 0.14406909048557281, -0.24101488292217255, -0.18950195610523224, 0.16081775724887848, -0.06205341964960098, 0.03596992790699005, 0.29167062044143677, 0.09165353327989578, 0.198089599609375, 0.17418567836284637, -0.0042453184723854065, -0.11188314855098724, -0.09576165676116943, 0.2894662618637085, 0.49908557534217834, 0.06755126267671585, 0.23732081055641174, 0.1752178817987442, 0.06890696287155151, -0.08705906569957733, -0.5317177176475525, 0.09700120985507965, 0.07714718580245972, -0.16045556962490082, -0.23932364583015442, -0.011176688596606255, 0.1840408444404602, -0.2805517315864563, 0.05515004321932793, -0.24484190344810486, 0.11730672419071198, 0.16716676950454712, 0.09427423030138016, 0.3598012924194336, -0.08532186597585678, -0.10532387346029282, -0.2764972448348999, -0.2253786027431488, 0.29645100235939026, -0.26734739542007446, -0.027124686166644096, 0.14357951283454895, -0.09733891487121582, 0.16618026793003082, -0.025457855314016342, -0.14903321862220764, -0.10979123413562775, -0.019962690770626068, -0.00818885862827301, 0.47132620215415955, 0.4957033395767212, -0.25709033012390137, 0.17150835692882538, -0.019193071871995926, -0.27645859122276306, -0.09335073083639145, 0.010857980698347092, -0.2727973163127899, -0.33194273710250854, -0.13247889280319214, 0.2936074435710907, -0.013203556649386883, -0.017839569598436356, 0.24357235431671143, 0.0375368595123291, 0.4067547619342804, -0.17653945088386536, 0.3266960084438324, -0.2772800326347351, -0.18555602431297302, -0.25376930832862854, 0.20306162536144257, 0.3659592568874359, -0.14530935883522034, 0.017156928777694702, -0.07831384986639023, 0.01186862401664257, 0.09263136237859726, 0.04559171199798584, -0.07795288413763046, -0.08306161314249039, -0.35887056589126587, 0.535895824432373, 0.3528704047203064, -0.2070813626050949, -0.5658489465713501, -0.016614548861980438, 0.23809410631656647, -0.18817853927612305, 0.1047733724117279, -0.036849621683359146, 0.2670247554779053, -0.09006409347057343, 0.3977791965007782, 0.052732110023498535, 0.12473481893539429, -0.19637826085090637, -0.4605340361595154, 0.04714407026767731, 0.060972534120082855, 0.05982852354645729, 0.272600382566452, -0.1993197798728943, 0.06594713032245636, -0.05486754700541496, 0.3139190971851349, -0.01619681343436241, -0.057013824582099915, 0.18951821327209473, 0.46688228845596313, -0.2289351373910904, 0.1601640284061432, -0.008196186274290085, -0.31831443309783936, -0.03089641034603119, 0.12341392040252686, 0.46900925040245056, 0.11979180574417114, -0.22614111006259918, -0.3689311742782593, -0.16910265386104584, -0.2492247372865677, -0.42221975326538086, 0.30288076400756836, -0.0628245621919632, -0.1647738367319107, -0.18768851459026337, -0.02503669075667858, 0.5049335360527039, -0.45470038056373596, 0.24040889739990234, -0.2549661695957184, 0.2277933806180954, -0.39583706855773926, -0.0015775589272379875, 0.1940450668334961, 0.0910324901342392, -0.050774991512298584, -0.09863905608654022, -0.025668546557426453, 0.4018692672252655, 0.10109241306781769, -0.3668088912963867, 0.19480577111244202, 0.44247061014175415, 0.044598497450351715, -0.4958110451698303, 0.045334342867136, -0.13705135881900787, -0.04278704151511192, 0.019233301281929016, -0.03995268791913986, 0.35532253980636597, -0.09431390464305878, -0.06743895262479782, -0.15513384342193604, 0.06274837255477905, 0.13874900341033936, 0.07766038179397583, -0.387865275144577, -0.07189742475748062, -0.1853574812412262, 0.16242758929729462, 0.11119240522384644, 0.1377834528684616, -0.0929124727845192, 0.03906669840216637, 0.17954914271831512, 0.05061742290854454, 0.0004736706614494324, -0.07731164246797562, -0.21460479497909546, -0.22146278619766235, 0.08620740473270416, 0.5173792243003845, 0.2528994381427765, 0.08421442657709122, 0.25222086906433105, 0.04767751693725586, -0.048802491277456284, -0.27198588848114014, 0.23575791716575623, 0.12664252519607544, 0.17005546391010284, 0.3437272906303406, -0.02224254235625267, 0.13099081814289093, -0.41676002740859985, 0.10312077403068542, 0.030185451731085777, 0.12047766894102097, -0.3577894866466522, -0.04338181018829346, -0.0034227613359689713, -0.33217325806617737, -0.16943742334842682, 0.1547551453113556, -0.30672281980514526, -0.26622045040130615, 0.2497493475675583, -0.5760488510131836, -0.19250641763210297, 0.17696763575077057, 0.023173481225967407, 0.22811180353164673, 0.0015930961817502975, 0.1550193578004837, 0.09128102660179138, 0.19334430992603302, -0.10469258576631546, 0.221239373087883, 0.008296298794448376, 0.3499038815498352, 0.24544896185398102, -0.29220256209373474, -0.173004612326622, 0.02889455109834671, -0.6030299067497253, -0.027160771191120148, 0.08011166751384735, -0.07652205973863602, 0.6169701814651489, 0.10188630223274231, -0.05740508437156677, 0.015438341535627842, 0.006453151814639568, -0.22979262471199036, 0.013125775381922722, -0.021063366904854774, -0.17978616058826447, 0.06900426745414734, -0.17409636080265045, -0.5807223916053772, -0.11771660298109055, -0.3003317713737488, -0.23950211703777313, -0.036704979836940765, 0.13241347670555115, 0.37619781494140625, -0.013869637623429298, -0.006383561994880438, -0.06691665947437286, -0.1951550841331482, -0.4054970443248749, 0.03474104776978493, 0.23371514678001404, -0.015078296884894371, -0.21212543547153473, 0.08140787482261658, -0.11253337562084198, -0.004664037376642227, -0.24458985030651093, -0.29443275928497314, -0.34969955682754517, 0.07953055948019028, -0.05686478316783905, -0.014681100845336914, 0.20969335734844208, 0.20505625009536743, -0.18502511084079742, -0.194691464304924, -0.21315306425094604, -0.07573258876800537, 0.19821089506149292, 0.1450042724609375, 0.25224825739860535, -0.2983989715576172, 0.01656482368707657, 0.23631155490875244, 0.11936430633068085, 0.35961246490478516, -0.09051178395748138, 0.010509852319955826, 0.12078920751810074, 0.33981797099113464, -0.0000629127025604248, 0.0054025426506996155, 0.1261950582265854, 0.055489905178546906, 0.030264709144830704, 0.15705648064613342, -0.07649865001440048, -0.06042586266994476, 0.1364661604166031, -0.004017407074570656, -0.1754744052886963, -0.2219759225845337, 0.3209150731563568, -0.007073793560266495, 0.19750991463661194, 0.12239053845405579, -0.23419669270515442, 0.09254118800163269, 0.11457585543394089, 0.23149575293064117, 0.20059898495674133, -0.11011862009763718, 0.009449801407754421, -0.31381362676620483, -0.12939922511577606, -0.35986417531967163, 0.20253220200538635, -0.07980228215456009, 0.40208515524864197, 0.15047892928123474, -0.06962530314922333, 0.17639665305614471, 0.1659727692604065, 0.5436391830444336, -0.898369550704956, -0.1308821439743042, 0.32562658190727234, 0.31824859976768494, 0.010653046891093254, -0.33118921518325806, -0.3359486758708954, -0.15218974649906158, 0.5884369015693665, -0.17941680550575256, -0.1849989891052246, -0.09023118019104004, 0.5723963975906372, -0.2470957338809967, -0.09391353279352188, -0.029668036848306656, -0.2206439971923828, -0.0741816833615303, -0.13848833739757538, 0.23993238806724548, 0.48217639327049255, 0.007139282766729593, 0.09211980551481247, -0.14045320451259613, 0.1620587706565857, -0.15661463141441345, -0.0871032178401947, 0.06188013032078743, 0.32691869139671326, 0.4395398795604706, -0.03252171725034714, -0.1466555893421173, 0.17485889792442322, 0.029004652053117752, 0.5277522206306458, -0.47852233052253723, 0.05807743966579437, 0.3138250410556793, -0.17929813265800476, 0.47481176257133484, 0.23539921641349792, -0.010964291170239449, -0.19303691387176514, 0.1673022210597992, 0.015179622918367386, 0.14309467375278473, 0.14705494046211243, -0.05400007963180542, 0.022973954677581787, -0.09003984183073044, -0.2283877283334732, 0.28615787625312805, 0.02739715576171875, -0.20885121822357178, -0.010824307799339294, 0.44508522748947144, -0.23602864146232605, 0.23183877766132355, 0.32404792308807373, 0.848296582698822, 0.055083610117435455, -0.11253634095191956, 0.054290443658828735, -0.298970103263855, 0.2610519528388977, -0.3569779396057129, -0.020933113992214203, -0.4913560152053833, -0.42917293310165405, 0.0981438159942627, -0.028494492173194885, 0.06428033113479614, -0.06598249822854996, -0.2005428820848465, 0.11619769036769867, 0.23445983231067657, 0.16858074069023132, 0.13715459406375885, 0.13489466905593872, 0.16692949831485748, 0.07330059260129929, 0.0005635917186737061, 0.16295860707759857, 0.13301941752433777, 0.07689206302165985, -0.1679379940032959, -0.0501343309879303, -0.06309844553470612, -0.26316362619400024, -0.38486433029174805, -0.2307766079902649, -0.2726276218891144, -0.06107854098081589, 0.3318464457988739, -0.22477596998214722, 0.2126554548740387, -0.1417994648218155, 0.28141623735427856, 0.18701130151748657, -0.06867864727973938, 0.05127817019820213, 0.19538256525993347, -0.051314108073711395, 0.17331562936306, 0.24155741930007935, 0.35010313987731934, -0.15692391991615295, 0.11316836625337601, -0.24933075904846191, -0.24778376519680023, -0.13640975952148438, 0.07764934003353119, 0.08880416303873062, 0.4614144563674927, -0.3599088490009308, 0.019730299711227417, 0.07505953311920166, -0.09857551753520966, -0.3266642093658447, 0.2446420043706894, 0.06906099617481232, -0.19563816487789154, 0.1068606823682785, 0.1267506331205368, -0.09471482038497925, 0.163050577044487, 0.1748848557472229, 0.27146488428115845, -0.09174454212188721, 0.03961890935897827, 0.11242221295833588, -0.19690144062042236, -0.391212522983551, -0.13562756776809692, 0.4567432403564453, -0.27776092290878296, 0.059114355593919754, -0.264899343252182, -0.2503877878189087, 0.19909654557704926, 0.2538071572780609, 0.3383679986000061, 0.20702415704727173, -0.18097910284996033, -0.2707470953464508, -0.03108726628124714, 0.2053176313638687, -0.2816886901855469, 0.42340826988220215, -0.1792454719543457, 0.011550657451152802, 0.2763461470603943, 0.3053815960884094, -0.42602425813674927, -0.04977545887231827, -0.2598167955875397, 0.12843629717826843, 0.14800819754600525, 0.09865203499794006, -0.25331732630729675, -0.06155049055814743, 0.07863780856132507, 0.2638867497444153, -0.13305112719535828, -0.2869850993156433, 0.27999982237815857, 0.09975285828113556, 0.010668330825865269, 0.31108909845352173, 0.24570876359939575, 0.06784454733133316, -0.4418346881866455, 0.02329844981431961, -0.04584914445877075, -0.48270392417907715, 0.05537936091423035, 0.43991950154304504, 0.0441131517291069, -0.22787994146347046, 0.06830550730228424, 0.08884049952030182, -0.14102382957935333, -0.2539359927177429, -0.061630502343177795, 0.0476844348013401, -0.1116163432598114, -0.12021699547767639, 0.1474079042673111, 0.2767865061759949, -0.2688157558441162, 0.014006253331899643, 0.027977844700217247, -0.27853327989578247, -0.09328895807266235, 0.08152509480714798, 0.2511983811855316, 0.25937336683273315, -0.2236795723438263, -0.13072164356708527, -0.07608667016029358, 0.325266569852829, -0.5269367694854736, 0.032018255442380905, 0.1333821713924408, 0.024003896862268448, 0.0061162784695625305, 0.0779486745595932, 0.4500727951526642, -0.30486923456192017, 0.24131432175636292, 0.28345954418182373, 0.08483976125717163, -0.25823456048965454, 0.24837851524353027, 0.33716896176338196, -0.038422875106334686, -0.05587572976946831, 0.21796680986881256, -0.4131298065185547, 0.0370364710688591, 0.3243029713630676, 0.18026873469352722, 0.2061721831560135, 0.33888691663742065, 0.34048205614089966, 0.0901821106672287, -0.03361010178923607, 0.227819561958313, 0.4731890559196472, 0.04234778508543968, -0.035333871841430664, 0.23882333934307098, 0.2670392692089081, 0.13975757360458374, -0.297833651304245, -0.08597573637962341, -0.07829901576042175, -0.18315979838371277, 0.08562633395195007, 0.02082814648747444, -0.0016624704003334045, -0.23938652873039246, -0.06132780760526657, -0.0362846665084362, -0.08348739147186279, 0.42802780866622925, -0.15213920176029205, -0.09579893946647644, -0.26852190494537354, -0.06667990982532501, 0.02595067024230957, 0.20956438779830933, -0.47428831458091736, 0.11207199096679688, -0.3080085515975952, -0.03385288268327713, 0.03219335898756981, 0.299482524394989, 0.35720735788345337, -0.037442758679389954, 0.20647063851356506, -0.11652976274490356, 0.17405985295772552, -0.012498216703534126, -0.09324436634778976, -0.16080106794834137, 0.3875732421875, -0.14459528028964996, 0.024915441870689392, 0.16028143465518951, -0.2314687967300415, -0.2016715109348297, -0.006480034440755844, 0.18419517576694489, 0.08546189963817596, -0.030005820095539093, -0.11622023582458496, -0.3542127013206482, -0.1868816316127777, 0.1928132027387619, -0.2501623034477234, 0.021631285548210144, -0.00001234002411365509, -0.03308899700641632, 0.03814444690942764, -0.03438243642449379, 0.13655556738376617, -0.10627968609333038, 0.42827436327934265, 0.033056117594242096, -0.09168259054422379, -0.17636895179748535, -0.546512246131897, -0.6869702935218811, 0.2139441967010498, 0.16670025885105133, -0.11026439070701599, 0.1741945892572403, 0.3588731288909912, 0.061733972281217575, -0.1412981003522873, 0.08771510422229767, 0.1846141368150711, 0.13284744322299957, 0.14950543642044067, -0.2541520893573761, 0.07900960743427277, -0.09303312003612518, -0.23372882604599, 0.016298670321702957, -0.008135583251714706, 0.14462023973464966, -0.2927740812301636, 0.1001783236861229, 0.21112048625946045, -0.11231027543544769, 0.28467801213264465, 0.44546592235565186, 0.3485959470272064, 0.09457379579544067, 0.17389015853405, -0.06916679441928864, 0.009164975956082344, -0.2434042990207672, -0.20899198949337006, -0.1679099202156067, 0.6135505437850952, 0.17398199439048767, 0.39186882972717285, 0.0355285182595253, -0.06160508468747139, 0.09393200278282166, -0.26148250699043274, 0.13534989953041077, 0.22261275351047516, -0.6278260350227356, 0.2145901918411255, 0.18748855590820312, 0.3245314955711365, -0.1295684427022934, -0.12588194012641907, 0.011533796787261963, -0.4651825428009033, -0.443670392036438, -0.7146537899971008, 0.20016416907310486, -0.08873195201158524, -0.028651831671595573, -0.13024985790252686, 0.5422118306159973, 0.132199227809906, 0.10195402055978775, -0.9885241985321045, -0.22333088517189026, 0.24703286588191986, 0.07810766994953156, -0.4406827390193939, 0.5422765612602234, 0.15057413280010223, 0.1729341298341751, -0.09652464091777802, 0.05105502903461456, 0.10374618321657181, -0.15320135653018951, -0.3905048370361328, -0.5393093824386597 ]
https://github.com/huggingface/datasets/pull/2397
Fix number of classes in indic_glue sna.bn dataset
Yes indeed. We run the validation in all modified readme because we think that it is the time when contributors are the most likely to fix a dataset card - or it will never be done
As read in the [paper](https://www.aclweb.org/anthology/2020.findings-emnlp.445.pdf), Table 11.
36
text: Fix number of classes in indic_glue sna.bn dataset As read in the [paper](https://www.aclweb.org/anthology/2020.findings-emnlp.445.pdf), Table 11. Yes indeed. We run the validation in all modified readme because we think that it is the time when contributors are the most likely to fix a dataset card - or it will never be done
[ -0.14920969307422638, 0.026744455099105835, -0.10914544761180878, 0.15868625044822693, -0.08724682033061981, -0.00350131094455719, 0.3433167040348053, 0.09936660528182983, -0.1271994560956955, 0.017435140907764435, -0.06521499902009964, 0.10467097163200378, 0.15460370481014252, 0.02775302343070507, 0.19849495589733124, 0.3005952835083008, 0.1869889497756958, 0.2916313409805298, 0.08619283139705658, 0.1665128618478775, -0.23637372255325317, -0.04310441017150879, -0.4595811367034912, -0.24250240623950958, -0.27779725193977356, 0.0007742363959550858, -0.18074651062488556, 0.014938008040189743, -0.5008711814880371, -0.4744499921798706, 0.3855023682117462, 0.3774864673614502, -0.06046672537922859, -0.23671963810920715, -0.00010815163841471076, -0.24844765663146973, 0.19539614021778107, -0.02943483181297779, -0.009526534005999565, 0.5323222875595093, -0.41441062092781067, -0.13853861391544342, -0.19783464074134827, -0.07899829000234604, -0.07013647258281708, -0.0330854132771492, 0.010144265368580818, 0.2389845848083496, 0.27530571818351746, 0.1765005737543106, 0.146446093916893, -0.10752204805612564, 0.0019261352717876434, 0.055760156363248825, -0.07088836282491684, 0.09490281343460083, 0.03525819629430771, 0.25514477491378784, 0.031571075320243835, -0.15796346962451935, 0.07432425022125244, 0.4707270860671997, 0.08782296627759933, -0.18117010593414307, 0.27971309423446655, -0.11308896541595459, 0.03307905048131943, -0.1618850827217102, 0.09789805114269257, 0.29067718982696533, 0.2876596450805664, -0.07801235467195511, 0.03289104253053665, -0.3107556402683258, 0.22535327076911926, -0.00899755209684372, 0.22991427779197693, 0.05846211314201355, 0.38118457794189453, 0.3226991295814514, 0.1368616670370102, -0.06771775335073471, -0.008621782064437866, -0.06533057987689972, -0.03759277984499931, 0.3059556186199188, -0.1134737953543663, -0.05314050614833832, 0.036886654794216156, 0.07471314072608948, 0.12826181948184967, 0.1490446776151657, -0.38667139410972595, 0.2473691999912262, -0.294889897108078, -0.20597928762435913, 0.046779099851846695, 0.10681194812059402, -0.08980487287044525, 0.2519475817680359, 0.14313121140003204, 0.22835996747016907, 0.1915726661682129, 0.05996524170041084, 0.26330333948135376, -0.08794893324375153, 0.34996700286865234, 0.617225170135498, 0.1610981822013855, 0.0691041573882103, 0.1023002564907074, 0.04212621599435806, 0.04577216878533363, -0.3901621997356415, 0.2424047738313675, 0.11898378282785416, -0.2098149061203003, -0.2800896465778351, -0.09620082378387451, 0.17162124812602997, -0.21733957529067993, -0.029118163511157036, -0.10271643102169037, 0.20733961462974548, 0.12371599674224854, 0.07694482803344727, 0.10392811894416809, -0.22521711885929108, 0.05063765496015549, -0.10589980334043503, -0.12463400512933731, 0.22037415206432343, -0.3132920265197754, -0.07037444412708282, 0.06588888168334961, -0.2977656424045563, -0.06038450449705124, 0.000019665807485580444, -0.28149449825286865, -0.03103438951075077, -0.016219809651374817, -0.2082861363887787, 0.5033938884735107, 0.5919936299324036, -0.29366442561149597, 0.0014119688421487808, -0.06257998943328857, -0.1581728756427765, -0.061215464025735855, 0.12634870409965515, -0.19822531938552856, -0.378194659948349, 0.022839076817035675, 0.23556672036647797, -0.04773547872900963, 0.04528941959142685, 0.24750852584838867, -0.04159412905573845, 0.509658932685852, -0.2695792019367218, 0.3513622283935547, -0.23688502609729767, -0.202683687210083, -0.09344922751188278, -0.09934511035680771, 0.310616135597229, -0.10970829427242279, -0.05739303678274155, 0.021246151998639107, -0.03651696816086769, -0.0142287015914917, 0.03344649821519852, -0.2669459581375122, -0.12448408454656601, -0.3463280200958252, 0.5217276811599731, 0.5109951496124268, -0.17509573698043823, -0.49334296584129333, -0.10505348443984985, 0.15906912088394165, -0.06700138002634048, 0.12038514018058777, -0.03897352144122124, 0.24749548733234406, -0.3542547821998596, 0.3663109838962555, 0.03206036612391472, 0.09550190716981888, -0.27379974722862244, -0.4926263988018036, 0.25772783160209656, 0.13123178482055664, 0.02832110971212387, 0.11148817837238312, -0.27888187766075134, 0.18240225315093994, 0.11375036090612411, 0.27056658267974854, -0.04206902161240578, -0.0733562484383583, 0.09727548807859421, 0.6330446600914001, -0.26241248846054077, 0.153782919049263, -0.1591266393661499, -0.1961987018585205, -0.012053005397319794, 0.09717801213264465, 0.3185928463935852, 0.2874058187007904, -0.31092125177383423, -0.43333494663238525, -0.17809796333312988, -0.3188103139400482, -0.43117985129356384, 0.19186794757843018, -0.07754643261432648, 0.0527631901204586, -0.1296074241399765, -0.22088676691055298, 0.6331980228424072, -0.6872562170028687, 0.22160546481609344, -0.17921440303325653, 0.272022545337677, -0.31210842728614807, 0.11580556631088257, 0.005420893430709839, 0.00141974538564682, -0.09870433062314987, -0.251618891954422, -0.002232445403933525, 0.4491391181945801, 0.17573457956314087, -0.4679045081138611, -0.050690777599811554, 0.4735739231109619, 0.2991698384284973, -0.3542563021183014, 0.01711687445640564, -0.1661585569381714, -0.11448059231042862, -0.07154980301856995, 0.062357064336538315, 0.45804286003112793, -0.08985930681228638, -0.12291168421506882, -0.19053959846496582, -0.08098044991493225, 0.06412991136312485, 0.024349849671125412, -0.45756426453590393, -0.024682126939296722, -0.25181126594543457, 0.1121608167886734, 0.10447482764720917, 0.274996817111969, -0.183614581823349, 0.03550618886947632, 0.2964242696762085, 0.17790460586547852, 0.15664291381835938, -0.03307396173477173, -0.13369879126548767, -0.29387837648391724, 0.034177232533693314, 0.5013272762298584, 0.35757890343666077, -0.015203691087663174, 0.21941447257995605, 0.06503932923078537, -0.16948610544204712, -0.1641595959663391, 0.3492145836353302, -0.020929180085659027, 0.34907326102256775, 0.3133727014064789, 0.05295930430293083, 0.16582989692687988, -0.5227228403091431, 0.16782577335834503, 0.11245664209127426, 0.06177587807178497, -0.30790287256240845, 0.09428977221250534, 0.12238280475139618, -0.423581063747406, -0.29004961252212524, 0.13981413841247559, -0.22892388701438904, -0.1767512857913971, 0.25154978036880493, -0.5257810950279236, -0.12985308468341827, 0.2085052877664566, 0.008578121662139893, 0.28817903995513916, -0.13085755705833435, 0.16231779754161835, -0.04476394131779671, 0.24795445799827576, -0.1889181137084961, 0.19760583341121674, -0.005020579323172569, 0.22398917376995087, 0.3017377257347107, -0.10139794647693634, -0.20202787220478058, 0.035191141068935394, -0.6918215155601501, -0.07165881246328354, 0.04350987449288368, -0.16574391722679138, 0.5472548007965088, 0.1724640130996704, -0.013752292841672897, 0.12264144420623779, -0.09018958359956741, -0.034664787352085114, 0.011748796328902245, -0.14835229516029358, -0.15558136999607086, 0.15932869911193848, -0.2326965183019638, -0.4431157410144806, -0.03140577673912048, -0.21108447015285492, -0.1776525378227234, -0.11282582581043243, 0.08757565915584564, 0.3838699758052826, 0.018732398748397827, -0.11348181217908859, -0.10244612395763397, -0.28279244899749756, -0.3519938588142395, 0.09382295608520508, 0.13044854998588562, 0.08078097552061081, -0.23181574046611786, 0.025605466216802597, -0.12751296162605286, 0.0021316222846508026, -0.17272797226905823, -0.1473957896232605, -0.3940761983394623, 0.14331340789794922, -0.1527552455663681, -0.020209871232509613, 0.2185988873243332, 0.16773134469985962, -0.2541446089744568, -0.11703314632177353, -0.05473382771015167, 0.09057295322418213, 0.10418328642845154, 0.19485050439834595, 0.2743445336818695, -0.22443750500679016, -0.09325899928808212, 0.3088301718235016, -0.008059263229370117, 0.20026911795139313, -0.23788805305957794, 0.011205613613128662, 0.22513902187347412, 0.46840980648994446, -0.035253219306468964, -0.08078429102897644, 0.017528392374515533, 0.07616974413394928, -0.07464983314275742, 0.017553694546222687, -0.19901475310325623, -0.15018028020858765, 0.08535069227218628, -0.06720724701881409, 0.03842790424823761, -0.051422033458948135, 0.3505474925041199, 0.0033183880150318146, 0.31436458230018616, 0.26488205790519714, -0.27238237857818604, 0.3417760729789734, 0.22591876983642578, 0.15084008872509003, 0.2242969274520874, 0.09653402864933014, -0.13149169087409973, -0.3974606990814209, -0.22305624186992645, -0.17317357659339905, 0.1514834463596344, -0.05872378498315811, 0.43700674176216125, 0.20343302190303802, 0.029026612639427185, 0.23898610472679138, 0.04875769466161728, 0.4333988428115845, -0.8651323914527893, -0.13195790350437164, 0.3461094796657562, 0.3332847058773041, 0.049409233033657074, -0.2932303547859192, -0.21476726233959198, -0.23744213581085205, 0.5744950771331787, -0.026977404952049255, -0.26458609104156494, -0.16000324487686157, 0.4957541227340698, -0.32001739740371704, -0.15415659546852112, -0.10298725217580795, -0.2366277426481247, 0.037360548973083496, -0.15239623188972473, 0.43592843413352966, 0.47471484541893005, 0.03741377219557762, 0.05736438184976578, 0.023702841252088547, -0.09828390181064606, -0.11147060990333557, -0.12718945741653442, 0.11343230307102203, 0.1854449212551117, 0.43516552448272705, -0.024736735969781876, -0.30510303378105164, 0.19223766028881073, 0.08026741445064545, 0.5519134998321533, -0.2838667333126068, -0.032123811542987823, 0.20051395893096924, -0.11620698124170303, 0.44752177596092224, 0.2725030779838562, 0.04391666129231453, -0.07697352021932602, 0.23023223876953125, -0.048427924513816833, -0.019844140857458115, 0.11852255463600159, -0.161897212266922, 0.014112497679889202, -0.3388252854347229, -0.3868124186992645, 0.2509252727031708, 0.09476843476295471, -0.16705933213233948, 0.06065499782562256, 0.41822654008865356, -0.32429471611976624, 0.1766314059495926, 0.487115740776062, 0.9287430047988892, 0.08256448060274124, -0.08064815402030945, -0.0030231010168790817, -0.2694510221481323, 0.24660532176494598, -0.4781671166419983, -0.051350414752960205, -0.5484678149223328, -0.3717813789844513, 0.03910006582736969, 0.006452616304159164, 0.35639429092407227, -0.05024438351392746, -0.07414800673723221, 0.09005507081747055, 0.35249757766723633, 0.04987195506691933, -0.04296627640724182, 0.19030918180942535, -0.08237159997224808, 0.11037790775299072, -0.17436666786670685, 0.06426673382520676, 0.16456338763237, 0.00045060738921165466, -0.19190579652786255, -0.016124414280056953, 0.10012990236282349, -0.4231215715408325, -0.373018741607666, -0.4241417646408081, -0.35546866059303284, -0.14038613438606262, 0.2522330582141876, -0.21921879053115845, 0.31472328305244446, -0.188772052526474, 0.2795828580856323, 0.19057737290859222, 0.13934892416000366, 0.17603059113025665, 0.2052386999130249, -0.13900186121463776, -0.0012738003861159086, 0.20010696351528168, 0.442370742559433, -0.12239823490381241, 0.1185450628399849, -0.2377438247203827, -0.3047062158584595, -0.11710561066865921, 0.11061874032020569, 0.3014450669288635, 0.3093326687812805, -0.25161460041999817, -0.06852607429027557, 0.13582414388656616, -0.01867632195353508, -0.26443570852279663, 0.2018509954214096, 0.020192965865135193, -0.09649854898452759, 0.09276799112558365, -0.07929287850856781, -0.12123537063598633, 0.0447741374373436, 0.2552977204322815, 0.2811287045478821, -0.14169210195541382, 0.08200441300868988, -0.04966110736131668, -0.18418657779693604, -0.36759716272354126, -0.07497330754995346, 0.4402257800102234, -0.19369015097618103, -0.058085981756448746, -0.019067812711000443, -0.31511399149894714, 0.11298078298568726, 0.30824458599090576, 0.22110077738761902, 0.26685482263565063, -0.21114331483840942, -0.2965906262397766, 0.02349170483648777, -0.04082746058702469, -0.08191195130348206, 0.4518125355243683, -0.14968883991241455, -0.12100346386432648, 0.2150038182735443, 0.315618097782135, -0.3712499141693115, -0.09196533262729645, -0.21382007002830505, 0.2698897421360016, 0.1571107804775238, 0.18061956763267517, -0.18490809202194214, -0.09680619835853577, 0.0606556162238121, 0.5012196898460388, -0.191703200340271, -0.2901473939418793, 0.24040347337722778, 0.1257908195257187, 0.0964302271604538, 0.34814321994781494, -0.060696035623550415, 0.011790294200181961, -0.36018070578575134, 0.10026714950799942, 0.06197239086031914, -0.5363464951515198, 0.04244067519903183, 0.36672383546829224, -0.00040976330637931824, -0.259624719619751, 0.12649066746234894, 0.15897293388843536, -0.17900696396827698, -0.2929278612136841, -0.06285858154296875, 0.07966896146535873, -0.12153280526399612, -0.06976152956485748, -0.1107301190495491, 0.214222252368927, -0.1679568737745285, -0.05543817579746246, -0.020644351840019226, -0.26552140712738037, -0.07826997339725494, -0.11942081898450851, 0.26656675338745117, 0.4291037321090698, -0.18743452429771423, -0.2770498991012573, -0.008273594081401825, 0.22813209891319275, -0.34167391061782837, 0.10755467414855957, 0.10829120874404907, -0.02465902268886566, -0.023696476593613625, 0.17384594678878784, 0.5946983098983765, -0.08745793253183365, 0.08543475717306137, 0.24119314551353455, 0.17198699712753296, -0.32759737968444824, 0.27734068036079407, 0.38208726048469543, -0.016253087669610977, -0.041388895362615585, 0.14957749843597412, -0.32183733582496643, 0.010318130254745483, 0.2642189860343933, 0.16954466700553894, 0.36063337326049805, 0.40736496448516846, 0.28436097502708435, -0.07181686908006668, -0.08061583340167999, 0.3654639720916748, 0.5520749092102051, -0.1797144114971161, -0.03833262622356415, 0.37602829933166504, 0.16501086950302124, 0.13913962244987488, -0.16395042836666107, -0.037770383059978485, -0.016612235456705093, -0.08297570794820786, 0.1072937548160553, 0.031410180032253265, -0.06142287701368332, -0.09243635833263397, 0.019827499985694885, 0.11940804123878479, 0.06059751287102699, 0.3174843490123749, -0.1142396330833435, 0.00776287168264389, -0.18092632293701172, 0.07108849287033081, 0.20755735039710999, 0.27375221252441406, -0.4389558434486389, 0.09494474530220032, -0.433732807636261, 0.028833817690610886, 0.13516481220722198, 0.3388858735561371, 0.2886887192726135, -0.04440680146217346, 0.33845049142837524, -0.02719317376613617, -0.038473550230264664, 0.042541876435279846, -0.07433243840932846, -0.0008147694170475006, 0.27362072467803955, -0.16186435520648956, 0.11083562672138214, 0.1296859234571457, -0.1897108256816864, -0.17504876852035522, -0.17523573338985443, 0.2011248916387558, -0.08848793804645538, 0.02433907240629196, -0.1475282609462738, -0.27003800868988037, -0.18511980772018433, 0.3434780240058899, -0.03661523759365082, 0.17270717024803162, 0.13018228113651276, -0.09767912328243256, 0.09140606224536896, -0.23183873295783997, 0.10613435506820679, -0.09761148691177368, 0.4546352028846741, 0.12408429384231567, -0.24684986472129822, -0.1691478043794632, -0.5244514346122742, -0.6742340326309204, 0.1722995489835739, 0.1387859284877777, 0.02287997491657734, 0.14425641298294067, 0.2634391784667969, -0.041987232863903046, -0.06735387444496155, 0.0019031018018722534, 0.1985495537519455, 0.14090919494628906, 0.2587752938270569, -0.1768607199192047, 0.23400083184242249, -0.10853807628154755, -0.12771031260490417, -0.06897278130054474, -0.133433997631073, 0.25131574273109436, -0.23433741927146912, 0.06413471698760986, 0.17782874405384064, -0.01710546761751175, 0.29897063970565796, 0.4333328306674957, 0.5147219300270081, 0.05514787882566452, 0.14562039077281952, 0.13986274600028992, 0.09002996981143951, -0.21284028887748718, -0.11952933669090271, -0.12631884217262268, 0.5471687316894531, 0.15475015342235565, 0.42334362864494324, 0.022372527047991753, -0.1796686053276062, 0.05487620458006859, -0.23826918005943298, 0.06612219661474228, 0.16496767103672028, -0.3841545879840851, 0.02607823722064495, 0.1346735954284668, 0.3454243242740631, -0.0328187495470047, -0.061244361102581024, 0.1795034259557724, -0.5072246789932251, -0.40566253662109375, -0.7237993478775024, 0.09263569116592407, -0.14398537576198578, -0.08694601058959961, -0.1936425119638443, 0.5298354625701904, 0.15027621388435364, 0.05683542788028717, -1.1207271814346313, -0.31088584661483765, 0.32645878195762634, -0.03389449417591095, -0.401103138923645, 0.33340534567832947, 0.19822071492671967, 0.18180309236049652, -0.10775347054004669, 0.06059522181749344, -0.08529119193553925, -0.06705619394779205, -0.39624813199043274, -0.4457820653915405 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Initially I removed the ` - ` since there was only one `pretty_name` per config but turns out it was breaking here in `from_yaml_string`https://github.com/huggingface/datasets/blob/74751e3f98c74d22c48c6beb1fab0c13b5dfd075/src/datasets/utils/metadata.py#L197 in `/utils/metadata.py`
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
26
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Initially I removed the ` - ` since there was only one `pretty_name` per config but turns out it was breaking here in `from_yaml_string`https://github.com/huggingface/datasets/blob/74751e3f98c74d22c48c6beb1fab0c13b5dfd075/src/datasets/utils/metadata.py#L197 in `/utils/metadata.py`
[ -0.060366205871105194, -0.0849788635969162, -0.06213973090052605, 0.022601131349802017, 0.5266355872154236, -0.06519781798124313, 0.1150033101439476, 0.2552098333835602, -0.4528126120567322, 0.05128995329141617, 0.14011599123477936, 0.1555202603340149, 0.27220505475997925, 0.1711621880531311, 0.1947595775127411, 0.01817765086889267, -0.00936868041753769, -0.06298676133155823, 0.17078417539596558, 0.08003535866737366, 0.05717568099498749, 0.007035117596387863, 0.10748755931854248, 0.23940183222293854, -0.10571245849132538, 0.0500846803188324, 0.021973999217152596, -0.08968227356672287, -0.02074521593749523, -0.569758415222168, 0.04753003269433975, 0.10325376689434052, -0.23396505415439606, -0.11352551728487015, -0.0001041597206494771, -0.13131169974803925, 0.3635818362236023, -0.027529723942279816, -0.14765343070030212, -0.006592810153961182, -0.1761864721775055, -0.4961080551147461, -0.11221591383218765, -0.1679956465959549, 0.056861862540245056, 0.05726715922355652, -0.07878796011209488, -0.38808783888816833, 0.10369915515184402, -0.058829668909311295, 0.26718729734420776, -0.42696061730384827, -0.1401692032814026, 0.01762920431792736, 0.46660858392715454, 0.2277015894651413, -0.08065100014209747, -0.058415066450834274, 0.4267936050891876, -0.08552777022123337, 0.20269104838371277, 0.5763693451881409, -0.3524853587150574, -0.04384351894259453, 0.11028650403022766, 0.18968690931797028, 0.05686381459236145, 0.009134521707892418, 0.30178302526474, 0.30822405219078064, 0.4703468978404999, -0.3735772371292114, -0.32443058490753174, -0.3824015259742737, -0.08102594316005707, -0.36300918459892273, 0.2678373456001282, -0.17560255527496338, -0.018626008182764053, 0.13232551515102386, -0.11522886157035828, -0.26907846331596375, -0.020391549915075302, 0.04057324677705765, -0.00503409281373024, 0.11299591511487961, 0.09225700050592422, 0.12234112620353699, -0.1896180957555771, -0.12506744265556335, -0.12896698713302612, 0.011514675803482533, -0.29787036776542664, 0.017842164263129234, 0.03408706933259964, 0.12163008749485016, -0.24689984321594238, -0.20053216814994812, 0.4269331395626068, 0.09280950576066971, -0.2634998857975006, 0.1803981363773346, 0.22477766871452332, 0.0671224445104599, -0.10183906555175781, 0.048402514308691025, 0.6747395396232605, 0.2465391606092453, 0.16705337166786194, -0.052349600940942764, 0.3157224953174591, -0.07382689416408539, 0.06746887415647507, -0.2383706420660019, 0.06825993955135345, 0.006005249917507172, 0.4538561701774597, -0.04887988790869713, -0.3496045768260956, 0.1657753884792328, -0.12700600922107697, -0.22041118144989014, 0.1760687530040741, 0.04050548002123833, 0.07856360077857971, -0.14289146661758423, 0.001957204192876816, -0.15703734755516052, 0.14572732150554657, -0.20740602910518646, -0.2210787981748581, -0.23422636091709137, -0.03467510640621185, 0.5024026036262512, 0.05355391278862953, -0.13970671594142914, 0.30612465739250183, -0.10759031027555466, -0.028485022485256195, 0.09554293751716614, -0.10153979063034058, 0.06568782031536102, -0.009425714612007141, 0.25374677777290344, -0.31322425603866577, 0.24356530606746674, 0.1775204837322235, -0.4377511739730835, -0.0586119145154953, 0.09053244441747665, -0.2890821099281311, -0.298885703086853, -0.05576974153518677, 0.29078537225723267, 0.03313414007425308, -0.08265203982591629, -0.21082255244255066, 0.07711678743362427, 0.5400474071502686, 0.020125675946474075, 0.3875598609447479, 0.029369324445724487, 0.19217601418495178, -0.00941474363207817, 0.22211314737796783, 0.46349889039993286, -0.24642381072044373, -0.17335963249206543, 0.07616197317838669, -0.02906089648604393, 0.10456961393356323, -0.10153593122959137, -0.0801146924495697, -0.031552188098430634, 0.07142696529626846, 0.2914468050003052, 0.2292567789554596, -0.6585259437561035, -0.07618331164121628, 0.393160879611969, 0.0008857548236846924, 0.05961889773607254, 0.18072175979614258, -0.17271126806735992, 0.21544742584228516, 0.14814089238643646, 0.21514767408370972, 0.07693970203399658, -0.13103994727134705, -0.2021939605474472, -0.20292183756828308, 0.09205503016710281, -0.024547941982746124, -0.16113361716270447, -0.13064277172088623, -0.24306398630142212, -0.033810801804065704, -0.09170030802488327, 0.3588995635509491, 0.04393161088228226, 0.28549647331237793, 0.07862424105405807, 0.4750562310218811, 0.43517619371414185, 0.21191243827342987, -0.010577879846096039, -0.3527316749095917, 0.0059127844870090485, 0.10980468988418579, -0.03624521940946579, -0.5233684182167053, -0.24156078696250916, -0.1392143964767456, -0.067320816218853, -0.295932412147522, -0.2590799927711487, 0.12049804627895355, 0.38420602679252625, -0.27873140573501587, -0.21156521141529083, -0.01442478597164154, 0.33102017641067505, -0.2622235119342804, 0.18828776478767395, -0.12034343183040619, 0.1530669927597046, 0.026914702728390694, -0.16418759524822235, -0.28840136528015137, 0.008656680583953857, 0.23696854710578918, -0.050375889986753464, -0.07010328769683838, 0.6763205528259277, 0.12441368401050568, -0.029931306838989258, -0.04540558159351349, -0.10973863303661346, 0.1767449975013733, -0.18869085609912872, 0.09794213622808456, -0.13240008056163788, -0.16341042518615723, 0.003187038004398346, 0.013583410531282425, 0.03963217884302139, -0.3199038505554199, 0.31090039014816284, -0.16101187467575073, -0.03053528629243374, 0.17193534970283508, 0.05611521378159523, -0.2691574990749359, -0.5192844271659851, 0.006173126399517059, -0.28951597213745117, 0.24651692807674408, -0.24845243990421295, -0.19561514258384705, 0.0781903937458992, 0.4766084551811218, -0.07155618071556091, 0.03628658875823021, 0.1378064751625061, 0.031766027212142944, 0.0659060850739479, 0.0025836825370788574, 0.24921710789203644, 0.05370696634054184, 0.20897650718688965, -0.22003430128097534, 0.15088345110416412, 0.195167675614357, -0.2996642291545868, 0.34409061074256897, 0.24736742675304413, 0.16440542042255402, 0.12114061415195465, 0.13280092179775238, 0.0436222068965435, -0.19492721557617188, -0.1699615865945816, 0.20707587897777557, 0.1205112561583519, -0.16213853657245636, 0.3146347999572754, -0.3039216995239258, -0.30779117345809937, -0.26842057704925537, -0.40007323026657104, -0.38925743103027344, -0.2871563732624054, 0.183465838432312, -0.2945912480354309, -0.08438849449157715, 0.4831310212612152, 0.18065941333770752, -0.18315081298351288, -0.015116600319743156, -0.49649882316589355, -0.19647832214832306, -0.07945147156715393, -0.1992858648300171, 0.0490562804043293, -0.021166227757930756, -0.299235463142395, 0.3701305687427521, -0.19854795932769775, 0.1334926187992096, -0.4721631109714508, -0.5260204076766968, 0.12179908901453018, -0.19091778993606567, 0.24304307997226715, 0.23803643882274628, -0.05641448497772217, 0.0012803897261619568, -0.11820241808891296, 0.3731438219547272, 0.14882619678974152, -0.004204666242003441, 0.04184858128428459, 0.02439511939883232, -0.02204011008143425, -0.22299732267856598, -0.26463472843170166, -0.3793286681175232, -0.10182684659957886, -0.012446753680706024, -0.14031919836997986, 0.1352890133857727, 0.51546710729599, -0.15424801409244537, -0.06301089376211166, -0.41896313428878784, 0.1784248799085617, -0.10377367585897446, -0.2246508151292801, 0.006631013005971909, -0.10152909904718399, 0.08673947304487228, -0.08742627501487732, 0.34011775255203247, -0.07582595944404602, -0.04525420442223549, -0.3177621364593506, -0.1291564255952835, 0.13786320388317108, 0.18789663910865784, 0.05502331629395485, -0.19672726094722748, -0.048440247774124146, 0.2392239272594452, -0.1272333264350891, -0.115772545337677, -0.29154905676841736, 0.07351963222026825, -0.19548943638801575, 0.33309900760650635, -0.10346781462430954, 0.14952105283737183, 0.015417110174894333, 0.17953045666217804, 0.1272527575492859, -0.02471957728266716, 0.15387621521949768, -0.059540607035160065, 0.21513541042804718, -0.02765662968158722, -0.39314889907836914, -0.13120369613170624, 0.015730246901512146, 0.19172538816928864, 0.24380910396575928, 0.09176446497440338, 0.15175695717334747, 0.00867210328578949, -0.16033059358596802, -0.13288752734661102, -0.2603122591972351, -0.04739529639482498, -0.020528525114059448, -0.01447979360818863, 0.22040900588035583, 0.20786461234092712, -0.10254675149917603, -0.1550617218017578, 0.11342653632164001, 0.24385417997837067, -0.24921777844429016, -0.001075524021871388, -0.3168872594833374, 0.07378608733415604, 0.06480013579130173, 0.4500776529312134, 0.04753816872835159, 0.08092169463634491, -0.02617906779050827, -0.031833335757255554, 0.010883890092372894, 0.02802078239619732, 0.5453940033912659, -0.2592830955982208, -0.16126495599746704, 0.11899679899215698, 0.17660851776599884, 0.11580776423215866, -0.207383394241333, -0.034196898341178894, -0.00300456490367651, 0.1769784688949585, 0.44663146138191223, -0.38996657729148865, -0.2335522174835205, 0.316567599773407, 0.06562892347574234, -0.11721569299697876, 0.1843346655368805, -0.2552686333656311, -0.2720678746700287, -0.11683858186006546, -0.18878909945487976, -0.2859278619289398, 0.4475347697734833, 0.19819052517414093, 0.05923202261328697, 0.15780974924564362, 0.18371456861495972, 0.08495715260505676, 0.027115851640701294, 0.29621216654777527, -0.11735787242650986, 0.2326315939426422, 0.09733802080154419, 0.5425267219543457, 0.4551478624343872, 0.1147463321685791, -0.5151212811470032, -0.15940043330192566, -0.11075901240110397, -0.12110306322574615, 0.5809702277183533, 0.3583149313926697, -0.11414099484682083, 0.23085132241249084, 0.20113463699817657, 0.1462600827217102, -0.09701000899076462, 0.03332783281803131, 0.3913731276988983, 0.21541430056095123, -0.454210489988327, -0.6863702535629272, 0.654081404209137, 0.20280173420906067, -0.14828962087631226, 0.28451037406921387, 0.48859351873397827, -0.5790857076644897, 0.017381543293595314, 0.08810912817716599, 0.8366247415542603, -0.1323561817407608, 0.006180670112371445, -0.0034728124737739563, 0.09176859259605408, 0.3331076204776764, -0.23586159944534302, 0.16919031739234924, -0.2579919993877411, -0.07074487209320068, 0.0059513915330171585, 0.1808859258890152, 0.5058912634849548, 0.028938831761479378, -0.28258615732192993, 0.20348986983299255, -0.07378934323787689, 0.46772679686546326, -0.12842629849910736, 0.04859131574630737, -0.07617092877626419, -0.2521677613258362, -0.08812104910612106, 0.07415999472141266, -0.25296759605407715, 0.0273452028632164, 0.028491273522377014, -0.31683146953582764, 0.11052374541759491, -0.1756633073091507, -0.2968020737171173, -0.16917261481285095, -0.26672348380088806, -0.012458570301532745, 0.2539486885070801, -0.25016555190086365, -0.10719914734363556, -0.3009873926639557, 0.20632697641849518, 0.20091357827186584, -0.09377708286046982, 0.21304115653038025, -0.016942918300628662, 0.1738036423921585, -0.046331632882356644, 0.03260909393429756, 0.1913192719221115, -0.017737874761223793, -0.32994309067726135, -0.04466532915830612, 0.23056001961231232, -0.02885330282151699, -0.31143468618392944, -0.4024876356124878, 0.31629830598831177, -0.42353132367134094, 0.3482910990715027, -0.0036186054348945618, 0.4704385995864868, -0.4287576973438263, 0.16929371654987335, 0.09160303324460983, -0.3155178725719452, 0.02773004025220871, 0.0871366411447525, -0.3115770220756531, -0.16635507345199585, -0.15560472011566162, -0.1525285243988037, -0.22012706100940704, 0.33291661739349365, -0.0591706857085228, -0.19634909927845, -0.20974251627922058, 0.37402933835983276, 0.0631701797246933, -0.3033750355243683, -0.13794828951358795, 0.17939648032188416, -0.19129741191864014, 0.09491707384586334, 0.11405913531780243, 0.007381252944469452, 0.17385193705558777, 0.09994921088218689, -0.31954425573349, -0.1870194673538208, 0.3231862783432007, 0.21958103775978088, 0.061445947736501694, -0.32915133237838745, -0.06110434606671333, -0.18657422065734863, 0.1923532634973526, -0.3799688518047333, -0.09723640978336334, 0.14268983900547028, 0.3429373800754547, 0.07547193020582199, 0.12045156955718994, 0.19520652294158936, 0.0354544073343277, 0.20137959718704224, 0.020339220762252808, -0.10612316429615021, -0.2390587329864502, -0.14856748282909393, 0.11554297059774399, -0.20213261246681213, -0.12986449897289276, 0.0039059696719050407, -0.09524030983448029, 0.09231492877006531, -0.31811559200286865, 0.2801910936832428, 0.15227317810058594, 0.05839123576879501, 0.3052561283111572, -0.2650156319141388, 0.05113592743873596, 0.1557251363992691, -0.16248489916324615, -0.0014764517545700073, 0.4162067770957947, 0.00771554047241807, 0.07702048122882843, -0.26442867517471313, -0.056221477687358856, 0.009426262229681015, 0.08344273269176483, 0.026226229965686798, 0.07866519689559937, 0.07566364854574203, -0.3862348794937134, -0.03729914873838425, 0.14657658338546753, 0.33370736241340637, 0.24642416834831238, -0.09842337667942047, -0.3391017019748688, 0.17342323064804077, 0.22771309316158295, -0.3345320224761963, -0.06113898381590843, 0.1899464726448059, -0.10041151195764542, 0.03694896772503853, 0.3550901710987091, 0.17322856187820435, 0.005696594715118408, -0.19965888559818268, 0.09672489762306213, 0.640066385269165, -0.1078670471906662, -0.022195972502231598, 0.4745858907699585, -0.08723917603492737, 0.06248227879405022, 0.30909377336502075, 0.48034194111824036, 0.1785840094089508, 0.5872129797935486, -0.22629308700561523, 0.2694080173969269, 0.061050787568092346, -0.0324552021920681, -0.07916558533906937, -0.07394365966320038, 0.32701727747917175, 0.3610200881958008, -0.13105717301368713, 0.09159910678863525, -0.08076038956642151, 0.10441531985998154, 0.17727626860141754, -0.03650358319282532, 0.041578665375709534, 0.19867758452892303, 0.11522377282381058, -0.479894757270813, 0.13684521615505219, -0.24190902709960938, -0.0066870227456092834, -0.15390051901340485, 0.08402080833911896, -0.3693089485168457, 0.6175180673599243, -0.11327658593654633, -0.08016712963581085, -0.14700114727020264, 0.2571990191936493, -0.11008042842149734, 0.10384373366832733, -0.2431698441505432, 0.1618948131799698, 0.325191468000412, -0.2224525809288025, 0.2828097939491272, 0.19794723391532898, 0.3494011163711548, 0.17684681713581085, 0.14392784237861633, 0.08422165364027023, -0.4131624400615692, -0.12402979284524918, 0.14284098148345947, 0.25525006651878357, 0.16363531351089478, -0.5770830512046814, -0.06007131189107895, 0.12391087412834167, -0.2011423408985138, 0.05501426383852959, 0.38694268465042114, 0.1670437753200531, 0.08269062638282776, 0.24582570791244507, 0.039012789726257324, -0.1272854059934616, -0.11899960041046143, 0.01799648255109787, -0.21502023935317993, -0.21671919524669647, 0.9668472409248352, 0.41620707511901855, 0.022786542773246765, -0.04729978367686272, 0.10565760731697083, 0.15252257883548737, 0.2003791481256485, 0.2035185694694519, -0.041568733751773834, -0.1862388402223587, 0.18348927795886993, -0.22249241173267365, -0.018920354545116425, -0.14492997527122498, -0.08469102531671524, 0.10040432214736938, 0.050789281725883484, 0.2593931257724762, -0.1412298083305359, 0.3077200651168823, 0.05085170641541481, 0.07782606035470963, -0.3373153507709503, -0.1913491189479828, -0.15097510814666748, 0.34845709800720215, 0.21638242900371552, 0.2867043912410736, -0.20760682225227356, 0.2713587284088135, -0.43482306599617004, 0.08598314970731735, -0.40176934003829956, 0.18797624111175537, 0.4178730845451355, 0.08613651245832443, 0.27423304319381714, -0.06236306577920914, -0.0015508681535720825, -0.054667867720127106, -0.153605654835701, -0.08754627406597137, -0.513910174369812, -0.08865203708410263, 0.6539286375045776, 0.03489208593964577, -0.06280955672264099, -0.08475014567375183, -0.3367634415626526, -0.3213716149330139, 0.2160419523715973, -0.17893938720226288, -0.22409604489803314, -0.2719239890575409, 0.07069561630487442, 0.1497819423675537, -0.1203579530119896, -0.20832045376300812, -0.02654360979795456, -0.005416985601186752, 0.18650053441524506, -0.3353195786476135, -0.5490256547927856, 0.8035731911659241, -0.3550735414028168, -0.07566533237695694, -0.25132495164871216, 0.3361928462982178, 0.5212233066558838, 0.10016040503978729, -0.6639989614486694, -0.020314373075962067, 0.5593552589416504, 0.06923078000545502, -0.5923242568969727, 0.09081007540225983, 0.11605371534824371, 0.0611669160425663, 0.03025754913687706, 0.1198183074593544, 0.04058084636926651, -0.20124682784080505, -0.047617338597774506, -0.08430881798267365 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Looks like the parser doesn't allow things like ``` pretty_name: config_name1: My awesome config number 1 config_name2: My amazing config number 2 ``` therefore you had to use `-` and consider them as a list. I would be nice to add support for this case in the validator. There's one thing though: the DatasetMetadata object currently corresponds to the yaml tags that are flattened: the config names are just ignored, and the lists are concatenated. Therefore I think we would potentially need to instantiate several `DatasetMetadata` objects: one per config. Otherwise we would end up with a list of several pretty_name while we actually need at most 1 per config. What do you think @gchhablani ?
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
116
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Looks like the parser doesn't allow things like ``` pretty_name: config_name1: My awesome config number 1 config_name2: My amazing config number 2 ``` therefore you had to use `-` and consider them as a list. I would be nice to add support for this case in the validator. There's one thing though: the DatasetMetadata object currently corresponds to the yaml tags that are flattened: the config names are just ignored, and the lists are concatenated. Therefore I think we would potentially need to instantiate several `DatasetMetadata` objects: one per config. Otherwise we would end up with a list of several pretty_name while we actually need at most 1 per config. What do you think @gchhablani ?
[ -0.1749904751777649, 0.06530769169330597, -0.06477120518684387, 0.1023724377155304, 0.2958117723464966, 0.08887060731649399, 0.1364978402853012, 0.17201124131679535, -0.30046024918556213, -0.08980002999305725, 0.1509806513786316, 0.2286774218082428, 0.003141249530017376, 0.09988697618246078, 0.04786292091012001, -0.08282561600208282, 0.034954577684402466, 0.036047838628292084, 0.41946035623550415, 0.1506781280040741, 0.20471014082431793, -0.17936353385448456, 0.0013885796070098877, 0.34219586849212646, -0.11591799557209015, 0.02146735042333603, 0.016909679397940636, -0.2825019061565399, -0.19005610048770905, -0.7584207653999329, -0.05880022048950195, 0.2643985450267792, -0.19818462431430817, -0.0469299778342247, -0.00011314349831081927, 0.05150632560253143, 0.3637239336967468, 0.022190874442458153, -0.1648148149251938, -0.06415107846260071, -0.27720391750335693, -0.5292869806289673, -0.16613559424877167, -0.07183109223842621, -0.07564043253660202, -0.08768404275178909, -0.06024087220430374, -0.22184349596500397, 0.24179281294345856, 0.16133186221122742, 0.10895001888275146, -0.48129022121429443, 0.027682829648256302, 0.0992441177368164, 0.1494230479001999, 0.232786625623703, -0.11781357228755951, -0.31435325741767883, 0.38693687319755554, 0.02342498116195202, 0.1996011734008789, 0.2721993327140808, -0.22939445078372955, -0.22581379115581512, 0.04271154850721359, 0.07159359753131866, 0.11292701959609985, -0.019290152937173843, 0.13606250286102295, 0.3821027874946594, 0.6192553639411926, -0.35711997747421265, -0.340155690908432, -0.4103265404701233, -0.08783289790153503, -0.251015305519104, 0.10844938457012177, -0.19516465067863464, -0.11733616888523102, 0.19214089214801788, -0.2416655570268631, -0.14941740036010742, -0.19615083932876587, 0.06561451405286789, -0.00741349533200264, 0.456679105758667, 0.14391379058361053, 0.09541518986225128, 0.07760484516620636, 0.015933338552713394, 0.0024219793267548084, -0.2957748770713806, -0.06612558662891388, 0.07888203859329224, -0.13231611251831055, -0.03552195429801941, -0.41335514187812805, -0.26661208271980286, 0.421255499124527, 0.057991355657577515, 0.11875946074724197, 0.28749844431877136, 0.18113534152507782, 0.124968521296978, 0.2495829463005066, 0.19252841174602509, 0.7416012287139893, 0.3141166567802429, 0.058987244963645935, 0.02118760719895363, 0.25050970911979675, -0.023134279996156693, -0.08397430181503296, -0.12849894165992737, -0.05381098762154579, 0.24701035022735596, 0.24236424267292023, 0.023334842175245285, -0.4182710647583008, 0.2812497019767761, -0.26100683212280273, -0.24564741551876068, 0.3746117055416107, 0.21105319261550903, -0.0765102207660675, -0.013548318296670914, -0.17338033020496368, -0.2390495389699936, 0.5572679042816162, -0.3786090016365051, 0.007357788737863302, -0.11580274999141693, 0.08583715558052063, 0.41838690638542175, 0.03511529788374901, -0.4506852924823761, 0.24680015444755554, -0.07146099954843521, 0.15699124336242676, 0.06412562727928162, 0.06303773075342178, -0.1924133449792862, 0.17064395546913147, 0.15557023882865906, -0.3356798589229584, 0.10405058413743973, 0.0805635154247284, -0.6166166663169861, -0.1008724570274353, 0.2926080822944641, -0.11013709753751755, -0.3464791774749756, 0.07775849848985672, 0.165921151638031, 0.14054614305496216, -0.17152215540409088, -0.05278422683477402, 0.35268765687942505, 0.6157454252243042, -0.0219532772898674, 0.06971125304698944, -0.03210965543985367, 0.0866299420595169, -0.07850144803524017, 0.12349886447191238, 0.22558629512786865, -0.4937461316585541, -0.047094881534576416, -0.31289488077163696, -0.050154488533735275, -0.15347129106521606, -0.17037099599838257, -0.13444484770298004, 0.2350737452507019, 0.08059515804052353, 0.40584343671798706, 0.18830358982086182, -0.380811482667923, 0.03189677372574806, 0.2933431565761566, 0.14717817306518555, 0.2601016163825989, 0.2689839005470276, -0.2024841159582138, 0.37442630529403687, -0.09972074627876282, 0.05899713933467865, -0.11617973446846008, -0.1991337090730667, -0.36868101358413696, -0.24743300676345825, 0.2562894821166992, 0.3470325469970703, -0.1689404845237732, -0.06861935555934906, -0.1226411983370781, -0.26003822684288025, -0.07501993328332901, 0.3939591646194458, -0.17197978496551514, 0.14189513027668, 0.27388548851013184, 0.4289642572402954, 0.2305659055709839, 0.10294540226459503, -0.032775700092315674, -0.3938424289226532, -0.019661827012896538, 0.26717081665992737, -0.018809206783771515, -0.03137226402759552, -0.20636898279190063, -0.2617151737213135, 0.0932980328798294, -0.262118399143219, -0.2645222544670105, 0.1226377785205841, 0.3052254915237427, -0.07866527140140533, -0.35836338996887207, -0.17254188656806946, 0.3949669897556305, -0.11332898586988449, 0.13040566444396973, -0.011729972437024117, 0.07455103099346161, -0.11048571020364761, 0.01817188784480095, -0.31930795311927795, 0.06429637223482132, 0.175434410572052, -0.11848599463701248, 0.19824320077896118, 0.4154229760169983, 0.39967912435531616, -0.5497347116470337, -0.2445429265499115, 0.12122294306755066, 0.2379838228225708, -0.018504906445741653, 0.021429307758808136, 0.018384266644716263, -0.05029725655913353, -0.09408104419708252, -0.03288310766220093, 0.1642167866230011, -0.3150545358657837, 0.2486068606376648, -0.22264261543750763, -0.010223861783742905, 0.4003508687019348, 0.05400039628148079, -0.4208490252494812, -0.5016466975212097, -0.09061184525489807, -0.25191885232925415, 0.2767565846443176, -0.20892879366874695, -0.1139388456940651, 0.022599421441555023, 0.3279534578323364, 0.08843868970870972, 0.034819211810827255, 0.17894643545150757, 0.12651073932647705, 0.1884543001651764, 0.03863640874624252, 0.04779643192887306, 0.17616420984268188, 0.14603771269321442, -0.2615269124507904, 0.14509151875972748, 0.03152412548661232, -0.11617447435855865, 0.460378497838974, 0.17090678215026855, 0.14737758040428162, 0.17928948998451233, 0.017706632614135742, -0.023323677480220795, -0.219323068857193, -0.1482744961977005, 0.3116852939128876, 0.10028275102376938, -0.26816442608833313, 0.17522461712360382, -0.35570335388183594, -0.14507567882537842, -0.18228745460510254, -0.4263823926448822, -0.408358633518219, -0.20167088508605957, 0.40107208490371704, -0.2693805992603302, -0.15484730899333954, 0.5616273880004883, 0.20465321838855743, 0.10040415078401566, -0.07793550193309784, -0.2821846306324005, -0.2274925708770752, -0.048643458634614944, -0.3606051802635193, 0.03752035275101662, 0.026971232146024704, -0.3986668586730957, 0.17717349529266357, 0.11317741125822067, 0.0685143694281578, -0.3190344274044037, -0.6879870295524597, 0.25204500555992126, -0.04025717079639435, 0.21331052482128143, 0.19005465507507324, 0.04462769627571106, 0.1228146106004715, -0.26005926728248596, 0.18117006123065948, 0.41350555419921875, -0.1734379231929779, 0.03304704651236534, 0.2466348558664322, -0.18826228380203247, -0.11454106867313385, -0.13253507018089294, -0.3028980791568756, -0.12470720708370209, 0.028943616896867752, 0.008825574070215225, 0.22003407776355743, 0.27116820216178894, 0.0627727285027504, -0.17900052666664124, -0.4587746262550354, 0.13134005665779114, -0.129451721906662, 0.06843316555023193, 0.1306031495332718, -0.02923213504254818, -0.03982255980372429, -0.1658034473657608, 0.0646900087594986, -0.0018593519926071167, 0.014322785660624504, -0.020449921488761902, -0.0006617065519094467, 0.3223711848258972, -0.007354706525802612, 0.23292815685272217, -0.2671617865562439, 0.20394843816757202, 0.21502193808555603, 0.06732551753520966, -0.15280787646770477, -0.374863862991333, 0.17632976174354553, -0.14176198840141296, 0.3806685209274292, 0.040188878774642944, 0.11413566023111343, 0.21583831310272217, 0.16057619452476501, 0.230979323387146, -0.1970764845609665, 0.15961188077926636, 0.012218162417411804, -0.013815481215715408, 0.07713557779788971, -0.5497021079063416, -0.15958857536315918, -0.09861290454864502, 0.009641632437705994, 0.21890412271022797, -0.22592255473136902, 0.14781978726387024, -0.020524131134152412, 0.19565808773040771, -0.04977508261799812, -0.0988083928823471, 0.12277761101722717, -0.1334138661623001, 0.03592740744352341, 0.32271134853363037, 0.07168079167604446, -0.152033269405365, -0.05315520614385605, 0.056335557252168655, 0.17233315110206604, -0.04860719293355942, -0.12946337461471558, -0.2138979285955429, 0.08570783585309982, 0.11163125187158585, 0.38806718587875366, 0.215478777885437, 0.10563043504953384, -0.015244834125041962, 0.059094466269016266, -0.006363421678543091, 0.047329146414995193, 0.6505149006843567, -0.3518379330635071, -0.3970482349395752, 0.20102031528949738, -0.027252934873104095, 0.3844936490058899, -0.1991911083459854, 0.03673524037003517, -0.12383189797401428, 0.13387709856033325, 0.48867011070251465, -0.6522247195243835, -0.10264304280281067, 0.020459916442632675, 0.027009310200810432, -0.25934645533561707, 0.23571443557739258, -0.1473155915737152, -0.06724193692207336, -0.08140280097723007, -0.1927420198917389, -0.06566192209720612, 0.3375928997993469, 0.4033449590206146, 0.09545746445655823, -0.056304432451725006, -0.03281896561384201, -0.035383403301239014, 0.21847209334373474, 0.2465338408946991, -0.3047362267971039, 0.29260408878326416, -0.03556441515684128, 0.5898244380950928, 0.43729305267333984, -0.02497432380914688, -0.3261973559856415, -0.5421733856201172, -0.16665279865264893, -0.25341105461120605, 0.6677306294441223, 0.11396538466215134, -0.12360075116157532, 0.07400678098201752, 0.3272075653076172, 0.05770615488290787, -0.007597603835165501, 0.1457369327545166, 0.2670905590057373, 0.2239229828119278, -0.43843236565589905, -0.6730095148086548, 0.4513813555240631, 0.32869186997413635, -0.22215628623962402, 0.3802874684333801, 0.17275983095169067, -0.661653995513916, -0.0720023438334465, 0.35984498262405396, 0.8776648640632629, -0.06005377322435379, -0.14551903307437897, -0.13046249747276306, -0.1335647702217102, 0.25669822096824646, -0.5016636848449707, 0.25939247012138367, -0.40552014112472534, -0.3025650382041931, -0.026768440380692482, 0.19945800304412842, 0.6035587191581726, 0.5431229472160339, -0.5110159516334534, 0.06756778061389923, 0.048038750886917114, 0.3753143548965454, -0.07663613557815552, 0.17575399577617645, 0.11503347754478455, -0.1382129192352295, -0.0405309684574604, 0.05165553092956543, -0.2057761698961258, -0.14129474759101868, -0.1109517514705658, -0.3876855969429016, 0.10511130094528198, -0.3550736904144287, -0.43333899974823, -0.3429226875305176, -0.40535739064216614, -0.03763983026146889, 0.40817710757255554, -0.15264156460762024, 0.0924200713634491, -0.2006431519985199, 0.15004955232143402, 0.07857091724872589, -0.07567508518695831, 0.010132772848010063, -0.08290233463048935, 0.13376007974147797, -0.2847711741924286, -0.32517847418785095, 0.263828307390213, -0.1847744882106781, -0.00812472403049469, -0.05159028619527817, 0.03244474530220032, -0.25038284063339233, -0.10715004801750183, -0.09652383625507355, 0.32410818338394165, -0.38340359926223755, 0.30303671956062317, 0.18285080790519714, 0.4245368540287018, -0.3198910355567932, 0.08734942972660065, 0.058349430561065674, -0.5241604447364807, 0.11264023184776306, 0.029370684176683426, 0.11750280857086182, 0.041166357696056366, -0.2210312783718109, -0.026495564728975296, -0.19368793070316315, 0.29870373010635376, -0.10512968897819519, -0.2160850465297699, -0.18369194865226746, 0.10348904877901077, 0.16693821549415588, -0.053821977227926254, 0.033136993646621704, 0.09948830306529999, -0.6250897645950317, 0.049305446445941925, 0.17084892094135284, 0.1511523723602295, 0.346102774143219, -0.08157211542129517, -0.25122201442718506, -0.15254642069339752, 0.2695728540420532, 0.12733601033687592, 0.10500852763652802, -0.4052853286266327, 0.10027086734771729, -0.287324458360672, 0.2974448800086975, -0.2821633815765381, -0.3382856547832489, 0.0297070425003767, 0.2802680730819702, -0.05856660008430481, 0.11212226003408432, -0.25044113397598267, 0.09069287776947021, 0.14607609808444977, 0.21360383927822113, -0.0076251644641160965, -0.17359870672225952, 0.024777505546808243, 0.17885065078735352, 0.12139181792736053, 0.11193493753671646, -0.2322341352701187, 0.219094380736351, -0.174289733171463, -0.26988959312438965, 0.05269158259034157, -0.05178743973374367, 0.0696997418999672, 0.21148225665092468, 0.02338510751724243, 0.04225100576877594, 0.03412522375583649, -0.28296756744384766, -0.08948257565498352, 0.3723180890083313, 0.28273865580558777, 0.16043402254581451, -0.041007038205862045, 0.0180789977312088, 0.08982034772634506, 0.2548341155052185, 0.11970840394496918, -0.1033465638756752, 0.09458614885807037, -0.27581363916397095, -0.10985659062862396, 0.1992061287164688, 0.3120758533477783, 0.671905517578125, 0.05522921308875084, -0.2241031527519226, 0.2557814121246338, 0.13458174467086792, -0.37778112292289734, -0.24988210201263428, 0.42324933409690857, -0.050916749984025955, -0.011585898697376251, 0.27178332209587097, 0.01805117353796959, 0.09801089763641357, -0.12300099432468414, 0.18728777766227722, 0.5612500905990601, -0.1587437242269516, 0.10902738571166992, 0.5451189279556274, -0.14491021633148193, 0.15747418999671936, 0.21886351704597473, 0.2524019777774811, 0.17938590049743652, 0.30718135833740234, -0.25227007269859314, 0.28621435165405273, 0.24009615182876587, -0.06121184304356575, 0.2948644757270813, 0.08981320261955261, 0.3222377598285675, 0.37371134757995605, -0.035207077860832214, -0.032622724771499634, 0.0891624167561531, -0.19584819674491882, 0.36773428320884705, -0.08194277435541153, -0.3856353461742401, 0.16299095749855042, 0.1063225194811821, -0.25043851137161255, -0.08792346715927124, -0.25912973284721375, -0.004532739520072937, -0.21850816905498505, 0.2558179795742035, -0.37444865703582764, 0.700042724609375, -0.3689528703689575, -0.029781140387058258, -0.14507146179676056, 0.3125947117805481, 0.09941965341567993, 0.05364163592457771, -0.25546178221702576, 0.15786702930927277, 0.2618944048881531, -0.3037855327129364, 0.15472470223903656, 0.2130340337753296, 0.17726756632328033, 0.16613145172595978, 0.16050221025943756, -0.0003381362184882164, -0.6868523955345154, -0.09071937948465347, -0.001564251258969307, 0.4239148795604706, 0.17046526074409485, -0.460885226726532, 0.0612734891474247, 0.01668899692595005, -0.03543698042631149, 0.15714845061302185, 0.1591634750366211, 0.06640858948230743, -0.06877074390649796, 0.09504476189613342, 0.191129669547081, -0.24636626243591309, 0.2088942676782608, -0.09303874522447586, -0.07237765938043594, -0.3286544382572174, 0.7997119426727295, 0.3396277129650116, 0.1357194483280182, -0.08238440752029419, 0.08092306554317474, 0.05466378107666969, 0.10736523568630219, 0.029726043343544006, -0.18365329504013062, -0.17406105995178223, 0.19100309908390045, -0.3690674901008606, 0.02461383491754532, -0.039066653698682785, -0.12596571445465088, 0.07357808947563171, -0.0361747220158577, 0.3308294713497162, 0.23796863853931427, 0.15651258826255798, 0.08930359780788422, 0.062363944947719574, -0.05159582942724228, -0.15211808681488037, -0.047437313944101334, 0.5411525964736938, 0.293567419052124, 0.2749378979206085, -0.08895065635442734, 0.14982914924621582, -0.2190180867910385, 0.09836546331644058, -0.23160739243030548, 0.14653322100639343, 0.3540132939815521, 0.15321525931358337, 0.14017242193222046, 0.1430952548980713, -0.0026011615991592407, 0.006919547915458679, 0.269137442111969, -0.05305761471390724, -0.03029295988380909, -0.23188389837741852, 0.7149645686149597, 0.2537570595741272, -0.13234390318393707, -0.1304527223110199, -0.12336346507072449, -0.24137191474437714, 0.007294164039194584, 0.045212522149086, -0.1908387988805771, -0.2662639021873474, 0.03646017611026764, 0.10690832883119583, 0.0246847253292799, -0.11250407248735428, -0.2238340973854065, 0.04613732174038887, -0.03822090104222298, -0.2446051836013794, -0.5191576480865479, 0.596851110458374, -0.31909599900245667, -0.19209489226341248, -0.26833853125572205, 0.1545797884464264, 0.4850800633430481, 0.0235688965767622, -0.5661007165908813, -0.37545061111450195, 0.5358819365501404, -0.19870126247406006, -0.5190550088882446, -0.06195807829499245, 0.15675309300422668, -0.027330307289958, -0.06487724184989929, 0.004137448966503143, -0.08940767496824265, -0.12860551476478577, -0.2525089681148529, -0.06888891756534576 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
I was thinking of returning `metada_dict` (on line 193) whenever `load_dataset_card` is called (we can pass an extra parameter to `from_readme` or `from_yaml_string` for that to happen). One just needs config_name as key for the dictionary inside `pretty_name` dict and for single config, there would be only one value to print. We can do this for other fields as well like `size_categories`, `languages` etc. This will obviate the need to flatten the YAML tags so that don't have to instantiate several DatasetMetadata objects. What do you guys think @lhoestq @gchhablani? Update: I was thinking of returning the whole dictionary before flattening so that user can access whatever they want with specific configs. Let's say [this](https://pastebin.com/eJ84314f) is my `metadata_dict` before flattening (the loaded YAML string), so instead of validating it and then returning the items individually we can return it just after loading the YAML string.
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
145
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. I was thinking of returning `metada_dict` (on line 193) whenever `load_dataset_card` is called (we can pass an extra parameter to `from_readme` or `from_yaml_string` for that to happen). One just needs config_name as key for the dictionary inside `pretty_name` dict and for single config, there would be only one value to print. We can do this for other fields as well like `size_categories`, `languages` etc. This will obviate the need to flatten the YAML tags so that don't have to instantiate several DatasetMetadata objects. What do you guys think @lhoestq @gchhablani? Update: I was thinking of returning the whole dictionary before flattening so that user can access whatever they want with specific configs. Let's say [this](https://pastebin.com/eJ84314f) is my `metadata_dict` before flattening (the loaded YAML string), so instead of validating it and then returning the items individually we can return it just after loading the YAML string.
[ -0.08927366882562637, -0.18097734451293945, -0.10630185902118683, 0.26263055205345154, 0.17373666167259216, -0.17041605710983276, -0.010394815355539322, 0.2979764938354492, -0.23556749522686005, -0.06660212576389313, 0.12528659403324127, 0.4188511371612549, -0.012942655943334103, 0.3587108254432678, 0.03667357191443443, 0.2025631070137024, -0.0002541467547416687, -0.16282200813293457, 0.11613987386226654, 0.023665711283683777, -0.026440085843205452, 0.0058186836540699005, 0.09458105266094208, 0.2759612798690796, -0.057063210755586624, 0.12322397530078888, 0.06421481817960739, -0.044792525470256805, -0.20686368644237518, -0.5031521320343018, 0.29367998242378235, 0.2822439968585968, -0.13402874767780304, -0.1696028709411621, -0.00012057444109814242, -0.2319321185350418, 0.4078373908996582, -0.11965395510196686, -0.36011308431625366, -0.1976950615644455, -0.28299418091773987, -0.5640990138053894, 0.056989192962646484, -0.1849479079246521, -0.12082702666521072, -0.0800819993019104, -0.21500621736049652, -0.5941301584243774, 0.18344765901565552, -0.16964909434318542, 0.07600829750299454, -0.8229857683181763, -0.3134703040122986, 0.19955222308635712, 0.44200509786605835, 0.5225823521614075, 0.16017577052116394, 0.006867918185889721, 0.4320885241031647, -0.012508872896432877, 0.20320339500904083, 0.5468553304672241, -0.32848793268203735, -0.11104479432106018, 0.11067046970129013, 0.3042214810848236, 0.3590526282787323, 0.08351153135299683, 0.2101394236087799, 0.1708192527294159, 0.6969712376594543, -0.3525439202785492, -0.41310808062553406, -0.5444942116737366, 0.012882565148174763, -0.2052929401397705, -0.031967893242836, -0.2676560580730438, -0.1630304902791977, 0.07059328258037567, -0.04529464617371559, -0.2903233766555786, -0.004999123513698578, 0.02233094722032547, -0.25457414984703064, 0.3026399612426758, 0.10910254716873169, 0.1727190911769867, -0.1846126914024353, -0.12209036946296692, 0.008824736811220646, -0.1587991863489151, -0.17092816531658173, 0.05418058857321739, 0.10225626081228256, -0.075808584690094, -0.122834213078022, -0.32615816593170166, 0.4042505621910095, 0.14024850726127625, -0.0414881631731987, 0.3391256332397461, 0.21377842128276825, -0.058674201369285583, 0.20635971426963806, 0.036352697759866714, 0.7287908792495728, 0.3583022952079773, 0.05993131175637245, -0.25906839966773987, 0.20411361753940582, -0.04468013346195221, -0.05358385294675827, 0.2485058605670929, 0.025180339813232422, 0.2281186282634735, 0.28400617837905884, -0.16318942606449127, -0.2867498993873596, 0.26044192910194397, 0.04197525233030319, -0.36651408672332764, 0.12889999151229858, 0.06884293258190155, -0.12115948647260666, 0.2330724000930786, 0.04408252239227295, -0.2657063603401184, 0.4017193615436554, -0.16808268427848816, 0.006025182548910379, -0.2987018823623657, -0.1049938052892685, 0.49612101912498474, 0.17263120412826538, 0.12771804630756378, 0.07304013520479202, -0.1400090456008911, -0.03914310783147812, -0.004862688481807709, 0.058724336326122284, -0.005573997739702463, 0.33397382497787476, 0.10799901187419891, -0.4714027941226959, 0.19777026772499084, 0.1442198008298874, -0.3086300492286682, -0.26075446605682373, 0.1854867935180664, -0.13951706886291504, -0.3456501364707947, 0.054651886224746704, 0.1804722398519516, 0.17116321623325348, 0.11050383001565933, -0.1792173981666565, 0.38615894317626953, 0.3962922692298889, 0.010873038321733475, 0.18738359212875366, 0.0011913925409317017, 0.008048806339502335, -0.12152139842510223, 0.24515658617019653, 0.4510132670402527, -0.36092430353164673, -0.13147839903831482, -0.022085845470428467, -0.02226874977350235, -0.04429910331964493, -0.39479634165763855, -0.19710808992385864, 0.2739598751068115, 0.09079824388027191, 0.05149716138839722, 0.3172883093357086, -0.8465297222137451, -0.1358654797077179, 0.28047358989715576, -0.0076919905841350555, 0.37914398312568665, 0.24002185463905334, -0.041211895644664764, 0.3268183171749115, 0.20376130938529968, 0.43333810567855835, 0.08286826312541962, -0.22683215141296387, -0.2282739132642746, -0.07968111336231232, -0.0381486713886261, 0.18006594479084015, 0.010131414979696274, -0.14186613261699677, -0.07794114202260971, -0.027767524123191833, -0.09291063994169235, 0.4143732190132141, 0.11706051975488663, 0.2336900234222412, -0.26381343603134155, 0.35989832878112793, 0.3214888572692871, 0.2026698738336563, 0.12195370346307755, -0.6098669171333313, 0.13734039664268494, 0.18392907083034515, -0.20941123366355896, -0.39023566246032715, -0.29409074783325195, -0.05572693422436714, 0.07495235651731491, -0.19648121297359467, -0.14882755279541016, 0.06287096440792084, 0.27907615900039673, -0.11342225968837738, -0.1268441379070282, -0.22885872423648834, 0.3990122377872467, -0.1589268147945404, 0.0926065444946289, 0.07736621052026749, 0.03964710235595703, 0.2620537579059601, 0.2014928013086319, -0.2959570288658142, 0.14718550443649292, 0.044465795159339905, -0.13133859634399414, 0.2544316053390503, 0.29443326592445374, 0.3614558279514313, -0.2666950821876526, -0.1243923082947731, -0.06390811502933502, 0.1286284476518631, 0.04829687997698784, 0.2000381499528885, -0.29330044984817505, 0.04569682106375694, -0.29854273796081543, 0.05512189492583275, 0.3035062849521637, -0.19266539812088013, 0.3380351960659027, -0.33266186714172363, -0.10418374836444855, 0.12801432609558105, 0.16729040443897247, -0.5267208218574524, -0.6298717260360718, -0.36560237407684326, -0.22137057781219482, 0.23279480636119843, -0.2767943739891052, 0.1744198501110077, 0.23973283171653748, 0.37576723098754883, -0.03222736716270447, -0.06620603054761887, 0.16565629839897156, 0.1437123864889145, 0.002013368532061577, -0.0501299649477005, 0.26628774404525757, 0.2786831855773926, 0.154758483171463, -0.24844470620155334, 0.05117079243063927, 0.3398294746875763, -0.00507787149399519, 0.39934664964675903, 0.2424144297838211, 0.27069103717803955, 0.24995490908622742, 0.02993880771100521, -0.0689123123884201, 0.018187880516052246, -0.14436650276184082, 0.19094614684581757, 0.04000092297792435, 0.0005985349416732788, 0.1611766368150711, -0.03452202305197716, -0.5127620697021484, -0.09562085568904877, -0.6055224537849426, -0.09241631627082825, -0.2839983403682709, 0.06263847649097443, -0.3995346128940582, 0.01383378729224205, 0.302979439496994, 0.2004394233226776, 0.2146424949169159, -0.15752409398555756, -0.550041675567627, -0.16290012001991272, -0.3069695234298706, -0.1460329294204712, -0.03857746720314026, -0.0496876984834671, -0.5948312878608704, 0.43580344319343567, -0.05573097616434097, 0.17187899351119995, -0.24734273552894592, -0.37897980213165283, 0.12426378577947617, -0.09238885343074799, -0.01855381764471531, 0.29541194438934326, 0.012132406234741211, 0.19473481178283691, -0.06616068631410599, 0.22356759011745453, 0.3942188024520874, -0.010223854333162308, -0.12435250729322433, 0.20095449686050415, 0.03077695704996586, -0.09099292755126953, -0.18726378679275513, -0.41156837344169617, 0.0397440604865551, -0.015367373824119568, 0.01794668659567833, 0.14561516046524048, 0.2013176530599594, -0.24491280317306519, -0.04454125836491585, -0.44171521067619324, 0.2344312071800232, -0.1611008644104004, -0.10760539770126343, -0.21108026802539825, 0.10129883885383606, 0.15409977734088898, -0.27730557322502136, -0.020022805780172348, 0.13566769659519196, 0.041364267468452454, -0.2868926525115967, -0.014094864018261433, 0.39905571937561035, 0.25686314702033997, -0.06900887936353683, -0.19804035127162933, 0.09034492820501328, 0.4896619915962219, 0.002237599343061447, -0.06315642595291138, -0.18936800956726074, 0.18163251876831055, -0.07702091336250305, 0.06957440078258514, 0.020079821348190308, 0.03062918595969677, -0.060395143926143646, 0.056298598647117615, 0.27642539143562317, -0.11301666498184204, -0.10699144005775452, 0.08534111827611923, -0.051199350506067276, 0.09015028178691864, -0.30936089158058167, -0.4546937942504883, -0.12570807337760925, 0.18809178471565247, 0.1819489598274231, -0.02992553636431694, 0.0460759773850441, -0.32022419571876526, -0.05571821704506874, -0.26117631793022156, -0.12099254131317139, 0.021149933338165283, -0.4818231463432312, -0.25647979974746704, 0.2605787515640259, 0.2911190390586853, -0.18819350004196167, 0.11531314998865128, 0.0855606198310852, 0.046873170882463455, -0.08315358310937881, -0.04503176733851433, -0.08510065078735352, -0.15852588415145874, -0.05544986575841904, 0.2365625649690628, 0.14268146455287933, -0.0479494072496891, 0.11044345796108246, -0.1043906956911087, -0.06242060661315918, -0.04023326560854912, 0.5804190039634705, -0.15177106857299805, -0.29608774185180664, 0.227728009223938, -0.07891765981912613, 0.1393161118030548, -0.20767317712306976, -0.009989302605390549, 0.13370786607265472, -0.00600086897611618, 0.54313063621521, -0.6192538142204285, -0.09500253200531006, 0.00623791478574276, 0.07593563944101334, -0.15707026422023773, 0.2196551263332367, 0.03801463916897774, 0.06021377444267273, -0.08551988005638123, -0.08235790580511093, -0.3974829912185669, 0.3235176205635071, 0.17321772873401642, -0.1525266319513321, 0.07817556709051132, 0.14957195520401, 0.053550779819488525, 0.3116511404514313, 0.19972091913223267, -0.16292347013950348, 0.3920934796333313, 0.19613729417324066, 0.6352306604385376, 0.39258822798728943, 0.06440019607543945, -0.38646185398101807, 0.08209564536809921, -0.1857881247997284, -0.0590742826461792, 0.5136697292327881, 0.3082681894302368, -0.1485789269208908, 0.24408289790153503, 0.10504774749279022, 0.03361935913562775, -0.3286098539829254, -0.03775669261813164, 0.1619722694158554, 0.22668977081775665, -0.6378820538520813, -0.8648802042007446, 0.6645576357841492, 0.08842039108276367, -0.33575794100761414, 0.5339795351028442, 0.442840039730072, -0.6387666463851929, -0.019731367006897926, 0.363291472196579, 0.8962388038635254, -0.31611770391464233, 0.16612131893634796, -0.014086101204156876, 0.24365942180156708, 0.4444727301597595, -0.3638318181037903, 0.03192237392067909, -0.287200003862381, 0.20393167436122894, -0.0765710324048996, 0.1194697767496109, 0.30020028352737427, 0.13200239837169647, -0.4138906002044678, 0.00032958691008388996, 0.03845997899770737, 0.2866166830062866, -0.2064405083656311, 0.2861263155937195, 0.06398642063140869, -0.16254983842372894, 0.05518895015120506, -0.05876099690794945, -0.2014084905385971, 0.17102289199829102, -0.08431657403707504, -0.12098008394241333, -0.16196398437023163, -0.21997418999671936, -0.1723668873310089, -0.28526079654693604, -0.24431686103343964, 0.16641275584697723, 0.008612804114818573, -0.29319554567337036, -0.17671427130699158, -0.27219346165657043, 0.059616073966026306, 0.128678560256958, -0.11927641928195953, -0.09109832346439362, 0.10214404761791229, 0.2847225069999695, -0.003482913365587592, -0.26601478457450867, 0.2589242458343506, 0.07182171940803528, -0.2314850240945816, 0.06830814480781555, 0.2211807817220688, 0.16192607581615448, -0.19694805145263672, -0.049932584166526794, 0.5735693573951721, -0.4588736295700073, 0.18763913214206696, 0.18891584873199463, 0.31561994552612305, -0.07597523182630539, 0.014041149988770485, 0.2829655408859253, -0.16294997930526733, 0.2074468433856964, 0.17567263543605804, -0.25069499015808105, -0.09402318298816681, -0.177369624376297, 0.11344471573829651, -0.2660944163799286, 0.20310916006565094, -0.19119982421398163, -0.1935836672782898, -0.11649259179830551, 0.20820289850234985, -0.07853048294782639, -0.06672276556491852, -0.15051716566085815, 0.42440223693847656, -0.1723293513059616, 0.034436989575624466, 0.09629896283149719, 0.08081719279289246, 0.10863962769508362, 0.04985611513257027, -0.2477024346590042, -0.14226879179477692, 0.4527174234390259, 0.0662393718957901, 0.1640908420085907, -0.3082374036312103, -0.17645366489887238, -0.230259969830513, 0.22451071441173553, -0.2365749627351761, -0.29528048634529114, 0.22482827305793762, 0.27206265926361084, 0.08371530473232269, 0.3106970191001892, -0.020199380815029144, 0.06621471047401428, 0.11308416724205017, -0.0824582502245903, -0.06741814315319061, -0.12996813654899597, -0.01635439321398735, 0.18317797780036926, 0.015828290954232216, -0.07350225001573563, -0.029208660125732422, -0.08197793364524841, -0.06490200757980347, -0.32307448983192444, 0.1820511519908905, 0.1278773546218872, 0.12406386435031891, 0.32598644495010376, -0.014040905982255936, 0.105040043592453, -0.08239982277154922, 0.1901879757642746, -0.0015210658311843872, 0.2247353345155716, 0.01789993979036808, 0.27914050221443176, -0.051002584397792816, -0.06456125527620316, 0.050041720271110535, 0.3467092216014862, 0.11320887506008148, -0.06359007209539413, 0.283557653427124, -0.07384034991264343, 0.04369250312447548, 0.13666565716266632, 0.30927830934524536, 0.40678584575653076, -0.07067378610372543, -0.4054880738258362, 0.13955852389335632, 0.15067483484745026, -0.30312225222587585, -0.12657074630260468, 0.13148953020572662, -0.2023332267999649, -0.0397496297955513, 0.4424441456794739, -0.01713264361023903, 0.03983046114444733, -0.31149065494537354, -0.04802345484495163, 0.47424545884132385, 0.11639213562011719, 0.03883875906467438, 0.4610428214073181, 0.11929357051849365, -0.018431436270475388, 0.1971214860677719, 0.6823941469192505, 0.11028755456209183, 0.49773097038269043, -0.1877102553844452, 0.40256354212760925, -0.04912742227315903, 0.013821285218000412, -0.0818706527352333, -0.20911559462547302, 0.6644372940063477, 0.3297072649002075, -0.35266780853271484, -0.036585867404937744, 0.005011178553104401, -0.07564813643693924, 0.22155256569385529, 0.09872542321681976, -0.07874195277690887, 0.006372023373842239, 0.025906406342983246, -0.29903551936149597, 0.29426172375679016, -0.3825564682483673, 0.213640958070755, -0.25371861457824707, -0.02419126406311989, -0.45101040601730347, 0.36132383346557617, -0.04665486514568329, 0.13157232105731964, -0.04785781353712082, 0.3068724572658539, -0.10341783612966537, 0.13592003285884857, -0.2414342612028122, -0.061159320175647736, 0.27803876996040344, -0.04595421999692917, 0.246938094496727, -0.021060040220618248, 0.1266224980354309, 0.4066389501094818, -0.1432674527168274, 0.22412912547588348, -0.43127453327178955, -0.09025614708662033, -0.17204247415065765, 0.34149882197380066, 0.06061092019081116, -0.650615394115448, 0.10460621118545532, 0.0515802726149559, -0.02110370248556137, -0.2963017523288727, 0.44155123829841614, -0.01191425696015358, 0.0015277238562703133, 0.06390407681465149, 0.09752298146486282, -0.1841737926006317, 0.08012300729751587, 0.37024274468421936, -0.1401911824941635, -0.4302760362625122, 0.5663536787033081, 0.6014640927314758, 0.03869473934173584, 0.1354423612356186, 0.038939982652664185, -0.08780655264854431, 0.10403174161911011, -0.14937755465507507, 0.1002589762210846, -0.33643656969070435, 0.11531783640384674, -0.2513520121574402, -0.1278127133846283, 0.042379677295684814, -0.2818830907344818, 0.061625510454177856, 0.02263222448527813, 0.48674261569976807, -0.02327587828040123, 0.033645421266555786, 0.12748274207115173, -0.01682974398136139, -0.1536990851163864, -0.1455824226140976, -0.3660123646259308, -0.08542966842651367, 0.11866246163845062, 0.045827753841876984, -0.15683649480342865, 0.16088765859603882, -0.32662540674209595, 0.02188914269208908, -0.3870099186897278, 0.18080151081085205, 0.5100178718566895, 0.19894514977931976, 0.32611384987831116, -0.012007521465420723, 0.04896123334765434, 0.1703527867794037, -0.025107813999056816, 0.15742921829223633, -0.12680552899837494, 0.020208992063999176, 0.584736168384552, 0.13483673334121704, -0.1207934096455574, -0.09621920436620712, -0.22984366118907928, -0.24224577844142914, 0.008614066056907177, 0.07463710755109787, -0.30930373072624207, -0.20678265392780304, -0.009130660444498062, 0.21908089518547058, -0.19026800990104675, -0.26108166575431824, 0.15484774112701416, 0.10330452769994736, 0.24555127322673798, -0.24258120357990265, -0.22883401811122894, 0.6659598350524902, -0.1791147142648697, 0.011931225657463074, -0.33181142807006836, 0.4358215928077698, 0.08661763370037079, 0.11795772612094879, -0.6771432161331177, -0.05801266059279442, 0.6119299530982971, -0.2470705807209015, -0.3560625910758972, 0.041070953011512756, 0.103505939245224, -0.09630180895328522, -0.22384026646614075, 0.043560098856687546, -0.23266956210136414, 0.050502173602581024, -0.24019622802734375, -0.037297170609235764 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Hi @lhoestq @bhavitvyamalik @bhavitvyamalik, I'm not sure I understand your approach, can you please elaborate? The `metadata_dict` is flattened before instantiating the object, do you want to remove that? Still confused. Few things come to my mind after going through this PR. They might not be entirely relevant to the current task, but I'm just trying to think about possible cases and discuss them here. 1. Instead of instantiating a new `DatasetMetadata` for each config with flattened tags, why can't we make it more flexible and validate only non-dict items? However, in that case, the types wouldn't be as strict for the class attributes. It would also not work for cases that are like `Dict[str,List[Dict[str,str]]`, but I guess that won't be needed anyway in the foreseeable future? Ideally, it would be something like - Check the metadata tag type (root), do a DFS, and find the non-dict objects (leaves), and validate them. Is this an overkill to handle the problem? 2. For single-config datasets, there can be slightly different validation for `pretty_names`, than for multi-config. The user shouldn't need to provide a config name for single-config datasets, wdyt @bhavitvyamalik @lhoestq? Either way, for multi-config, the validation can use the dictionary keys in the path to that leaf node to verify `pretty_names: ... (config)` as well. This will check whether the config name is same as the key (might be unnecessary but prevents typos, so less work for the reviewer(s)). For future, however, it might be beneficial to have something like this. 3. Should we have a default config name for single-config datasets? People use any string they feel like. I've seen `plain_text`, `default` and the dataset name. I've used `image` for a few datasets myself AFAIR. For smarter validation (again, a future case ;-;), it'd be easier for us to have a simple rule for naming configs in single-config datasets. Wdyt @lhoestq?
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
312
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Hi @lhoestq @bhavitvyamalik @bhavitvyamalik, I'm not sure I understand your approach, can you please elaborate? The `metadata_dict` is flattened before instantiating the object, do you want to remove that? Still confused. Few things come to my mind after going through this PR. They might not be entirely relevant to the current task, but I'm just trying to think about possible cases and discuss them here. 1. Instead of instantiating a new `DatasetMetadata` for each config with flattened tags, why can't we make it more flexible and validate only non-dict items? However, in that case, the types wouldn't be as strict for the class attributes. It would also not work for cases that are like `Dict[str,List[Dict[str,str]]`, but I guess that won't be needed anyway in the foreseeable future? Ideally, it would be something like - Check the metadata tag type (root), do a DFS, and find the non-dict objects (leaves), and validate them. Is this an overkill to handle the problem? 2. For single-config datasets, there can be slightly different validation for `pretty_names`, than for multi-config. The user shouldn't need to provide a config name for single-config datasets, wdyt @bhavitvyamalik @lhoestq? Either way, for multi-config, the validation can use the dictionary keys in the path to that leaf node to verify `pretty_names: ... (config)` as well. This will check whether the config name is same as the key (might be unnecessary but prevents typos, so less work for the reviewer(s)). For future, however, it might be beneficial to have something like this. 3. Should we have a default config name for single-config datasets? People use any string they feel like. I've seen `plain_text`, `default` and the dataset name. I've used `image` for a few datasets myself AFAIR. For smarter validation (again, a future case ;-;), it'd be easier for us to have a simple rule for naming configs in single-config datasets. Wdyt @lhoestq?
[ 0.01377999410033226, -0.1933775246143341, 0.023612957447767258, 0.24207396805286407, 0.2449517846107483, -0.07289890944957733, 0.22241634130477905, 0.043674565851688385, -0.4703255295753479, -0.04822878539562225, 0.1801781952381134, 0.12395738810300827, -0.06674956530332565, 0.15229502320289612, -0.1355680674314499, -0.036749184131622314, 0.10687913745641708, -0.18992245197296143, 0.24928247928619385, 0.00808723270893097, 0.10331398248672485, -0.3578040599822998, 0.09945783019065857, 0.21580395102500916, -0.3063552975654602, -0.08815303444862366, -0.07883597910404205, 0.11979478597640991, -0.2791271209716797, -0.5492541790008545, 0.12072062492370605, 0.31371361017227173, -0.2170294225215912, 0.04421236366033554, -0.0001178965248982422, -0.02888057753443718, 0.3574243187904358, -0.11650777608156204, -0.14367273449897766, -0.022027313709259033, -0.36955228447914124, -0.34246376156806946, -0.20593030750751495, -0.13786786794662476, 0.08268383145332336, -0.09517693519592285, -0.211518794298172, -0.34665605425834656, 0.14855843782424927, -0.02034677565097809, 0.09512968361377716, -0.6504528522491455, -0.026843411847949028, 0.13267311453819275, 0.2773762047290802, 0.36171478033065796, 0.0193010400980711, 0.08079667389392853, 0.27169299125671387, 0.12966188788414001, 0.2869890332221985, 0.4005132019519806, -0.26973792910575867, -0.1498815268278122, 0.15211641788482666, 0.04452173784375191, 0.1610444337129593, -0.1081928014755249, 0.12532836198806763, 0.47597536444664, 0.7069985270500183, -0.26214122772216797, -0.5027827620506287, -0.4591948986053467, -0.11957576125860214, -0.23695014417171478, 0.12460435926914215, -0.1300986260175705, -0.04360702633857727, 0.24160225689411163, -0.1960708200931549, -0.16211165487766266, -0.15605303645133972, 0.03977079689502716, -0.14999732375144958, 0.24142910540103912, 0.1504281461238861, 0.12901684641838074, -0.14466170966625214, -0.1481010466814041, -0.09905404597520828, -0.28821852803230286, 0.03402499854564667, 0.02740928903222084, 0.10994306206703186, -0.10949388146400452, -0.22160357236862183, -0.42949041724205017, 0.41307660937309265, 0.30664628744125366, -0.14361032843589783, 0.3579369783401489, 0.26678940653800964, 0.0993417352437973, 0.038679253309965134, 0.07958371937274933, 0.5835274457931519, 0.3355465829372406, 0.14880084991455078, -0.14242900907993317, 0.12475821375846863, 0.006958946585655212, 0.006485309451818466, 0.027844514697790146, 0.13007627427577972, 0.24733439087867737, 0.3498985171318054, -0.1318698227405548, -0.29422712326049805, 0.18804392218589783, -0.3347786068916321, -0.2662103772163391, 0.1964755356311798, 0.04486771300435066, -0.11645983904600143, 0.014246111735701561, -0.25997599959373474, -0.15638123452663422, 0.3720071315765381, 0.007819178514182568, 0.019172843545675278, -0.15911971032619476, 0.07541370391845703, 0.3716292381286621, 0.20489320158958435, 0.005757175385951996, 0.20715682208538055, 0.04110715910792351, 0.037257373332977295, 0.11400865018367767, 0.1330859512090683, -0.1878683865070343, 0.15543293952941895, 0.30933278799057007, -0.6481683254241943, 0.11121334880590439, 0.04968717321753502, -0.32904136180877686, -0.18855687975883484, 0.16224154829978943, -0.2905309796333313, -0.49762746691703796, 0.1491359919309616, 0.158122256398201, 0.027045026421546936, 0.0298922061920166, -0.02647452801465988, 0.2613954246044159, 0.37701472640037537, -0.14959806203842163, 0.12734673917293549, 0.17621180415153503, 0.17103175818920135, -0.26585686206817627, 0.04435981065034866, 0.4552667737007141, -0.3691169023513794, -0.0009555146098136902, 0.09355396777391434, 0.08102239668369293, -0.008970215916633606, -0.1718079000711441, -0.2044197916984558, 0.17117634415626526, 0.05436404049396515, 0.1676151156425476, 0.0712314248085022, -0.7721661925315857, 0.007978616282343864, 0.1598857045173645, 0.006506867706775665, 0.5487784147262573, 0.3990649878978729, -0.19836468994617462, 0.1769210249185562, -0.11549724638462067, 0.14616918563842773, -0.013734199106693268, -0.345986008644104, -0.308463454246521, -0.316794753074646, 0.1288055032491684, 0.2931855320930481, -0.13932009041309357, -0.1954452395439148, -0.14465981721878052, -0.0639079287648201, -0.06365508586168289, 0.13429971039295197, -0.03537740930914879, 0.23164813220500946, 0.05311932414770126, 0.40729084610939026, 0.14914587140083313, 0.0356534868478775, 0.011458128690719604, -0.6990845799446106, 0.15356335043907166, 0.21240729093551636, 0.09838275611400604, -0.11732640862464905, -0.3829217553138733, -0.18575385212898254, -0.1704534888267517, -0.28882551193237305, -0.21433480083942413, 0.06460683047771454, 0.2734068036079407, 0.019179917871952057, -0.31807419657707214, -0.12615780532360077, 0.3662589192390442, -0.29160213470458984, 0.25704532861709595, 0.15081122517585754, -0.059996865689754486, 0.007634701207280159, 0.22916242480278015, -0.3966166377067566, 0.07151960581541061, 0.09162402153015137, -0.2898079454898834, 0.15078479051589966, 0.48008739948272705, 0.5479763746261597, -0.5294386148452759, -0.2258685827255249, 0.4264194965362549, 0.2125703990459442, 0.03069767728447914, 0.15832890570163727, -0.29916220903396606, 0.0022126976400613785, -0.1762172281742096, -0.13568848371505737, 0.3280988931655884, -0.11851672828197479, 0.22979047894477844, -0.1697947084903717, -0.17862501740455627, 0.258825421333313, -0.055308640003204346, -0.5853878259658813, -0.4565911293029785, -0.3153313398361206, -0.10320506989955902, 0.2767409086227417, 0.026759479194879532, -0.19503791630268097, 0.08036204427480698, 0.22265255451202393, 0.024726029485464096, -0.023411035537719727, 0.14493659138679504, 0.2907119691371918, 0.08384737372398376, -0.0701548233628273, 0.16940659284591675, 0.27506622672080994, 0.1178881824016571, -0.21108949184417725, 0.02737104892730713, 0.1445852667093277, -0.12021888047456741, 0.30868402123451233, 0.2283461093902588, 0.33230656385421753, 0.2090739905834198, 0.0405055470764637, 0.18006041646003723, -0.0154921505600214, -0.2045079916715622, 0.3575761616230011, 0.04230104386806488, -0.13233929872512817, 0.23166589438915253, -0.19855670630931854, -0.34664562344551086, -0.16266915202140808, -0.49812644720077515, -0.39515987038612366, -0.08337253332138062, 0.3839792013168335, -0.38649043440818787, -0.17638257145881653, 0.5099003314971924, 0.4256506562232971, 0.17666183412075043, -0.13835182785987854, -0.4873468279838562, -0.1810864955186844, -0.07160618156194687, -0.34608548879623413, -0.019033614546060562, 0.09864749014377594, -0.3433874547481537, 0.39422282576560974, -0.06049460172653198, 0.06125577539205551, -0.2217174470424652, -0.7752130031585693, 0.0018589012324810028, -0.07895965129137039, 0.1970600038766861, 0.1854810267686844, 0.021671779453754425, 0.2039826512336731, -0.04792892560362816, 0.1873108446598053, 0.4856540560722351, -0.09171944111585617, -0.020002560690045357, 0.10265079885721207, -0.0639212429523468, -0.16990511119365692, -0.33584684133529663, -0.46609264612197876, -0.07900388538837433, 0.044103220105171204, 0.019216936081647873, 0.24291984736919403, 0.5114220380783081, -0.04419691488146782, -0.24842597544193268, -0.2779335677623749, 0.5017694234848022, -0.10634760558605194, -0.10702097415924072, -0.1044565886259079, 0.10245361924171448, 0.016247469931840897, -0.28192949295043945, -0.03001437522470951, 0.02529960311949253, 0.20493903756141663, -0.09665729105472565, -0.2676074206829071, 0.37889230251312256, 0.1960906982421875, 0.1156141385436058, -0.14092178642749786, 0.2961776852607727, 0.3231489062309265, 0.04311130940914154, -0.1054377406835556, -0.24776242673397064, 0.14600154757499695, -0.08101888746023178, 0.19204413890838623, -0.016148533672094345, -0.0955788865685463, -0.05187365785241127, 0.0882728099822998, 0.14217156171798706, -0.10538443922996521, 0.0751454308629036, 0.06981994211673737, 0.11465980112552643, -0.04742295295000076, -0.35186153650283813, -0.14020197093486786, -0.057469919323921204, 0.06266419589519501, 0.12057125568389893, -0.058446742594242096, 0.16490960121154785, -0.09485791623592377, 0.20723405480384827, -0.1875048279762268, -0.14651301503181458, 0.20127935707569122, -0.38680994510650635, -0.0072195157408714294, 0.2330564260482788, 0.04447449743747711, -0.08119626343250275, 0.11851834505796432, 0.05395645275712013, 0.34079766273498535, -0.0716298297047615, -0.08050885796546936, -0.352300763130188, -0.054562684148550034, 0.17052233219146729, 0.24186639487743378, 0.271893173456192, 0.18508321046829224, 0.053006384521722794, -0.008083458989858627, 0.02524324506521225, 0.03784061595797539, 0.5373411178588867, -0.5292680859565735, -0.41887807846069336, 0.25690993666648865, 0.018997855484485626, 0.18223623931407928, -0.32799431681632996, -0.09372617304325104, 0.0684802383184433, 0.17169146239757538, 0.7749723792076111, -0.8030996322631836, -0.26831021904945374, -0.05665656924247742, 0.23119869828224182, -0.08551399409770966, 0.24052409827709198, -0.04221126064658165, -0.14848119020462036, -0.13588355481624603, -0.09662146121263504, -0.1530740112066269, 0.35441166162490845, 0.1540978103876114, 0.10714706778526306, -0.08249478042125702, 0.34414172172546387, 0.14921139180660248, 0.25958555936813354, 0.1108940914273262, -0.25685152411460876, 0.2770537734031677, -0.10876485705375671, 0.6931217908859253, 0.5884767174720764, 0.09313145279884338, -0.42926737666130066, -0.12768016755580902, -0.22420498728752136, -0.04996000975370407, 0.4479822516441345, 0.2931104302406311, 0.03633599728345871, 0.2584743797779083, 0.08527719974517822, 0.1054963618516922, -0.22288675606250763, 0.034903477877378464, 0.2000674605369568, 0.2216271162033081, -0.5458278059959412, -0.7885793447494507, 0.47972390055656433, 0.37911882996559143, -0.3256642818450928, 0.3388255834579468, 0.3954935669898987, -0.5540691614151001, 0.06225132942199707, 0.27091965079307556, 1.0039117336273193, 0.004304554313421249, 0.021540509536862373, 0.03603585064411163, 0.11617434024810791, 0.3071167767047882, -0.41832417249679565, 0.04430700093507767, -0.25875434279441833, -0.03237973898649216, 0.04055742919445038, 0.10114851593971252, 0.6231863498687744, 0.33815866708755493, -0.34905126690864563, 0.04862765222787857, -0.08184242993593216, 0.2386302649974823, -0.13314959406852722, 0.309544175863266, -0.014432856813073158, -0.11138381063938141, 0.10651811957359314, -0.04379548877477646, -0.07367773354053497, 0.043172672390937805, -0.0630694329738617, -0.0799010694026947, -0.1798631250858307, -0.4567352533340454, -0.22621634602546692, -0.500646710395813, -0.3551197052001953, 0.06894481182098389, 0.25695833563804626, -0.13230472803115845, 0.02372228354215622, -0.41159480810165405, 0.14326781034469604, 0.1905900090932846, -0.010398892685770988, -0.023311913013458252, 0.06607551127672195, 0.06049114465713501, -0.0851769745349884, -0.29404813051223755, 0.43237364292144775, -0.006223909556865692, -0.09927383065223694, -0.13567706942558289, -0.1851942539215088, 0.12829074263572693, -0.22745567560195923, -0.25785380601882935, 0.4357070326805115, -0.4487077593803406, 0.28074559569358826, 0.06562771648168564, 0.16121309995651245, -0.23825745284557343, 0.029525019228458405, 0.08412671834230423, -0.236092671751976, 0.38515231013298035, 0.03204086422920227, -0.060697875916957855, -0.05542374774813652, -0.3058553636074066, 0.08354420959949493, -0.17777906358242035, 0.16832153499126434, -0.3157471716403961, -0.17403334379196167, -0.17299574613571167, 0.27853354811668396, 0.003522875951603055, -0.00048169493675231934, 0.027287550270557404, 0.36221444606781006, -0.4784277081489563, 0.04445606470108032, 0.11053124815225601, 0.35475385189056396, 0.2770838737487793, 0.02250681445002556, -0.2219979166984558, -0.18699340522289276, 0.3997616767883301, 0.28284135460853577, 0.1556127518415451, -0.5114004015922546, -0.07932734489440918, -0.2829936444759369, 0.2793356776237488, -0.2528250217437744, -0.16839297115802765, 0.03973432630300522, 0.27883926033973694, 0.10853353142738342, 0.09553830325603485, -0.02553320676088333, 0.008612420409917831, 0.09153536707162857, -0.13682256639003754, -0.10053709149360657, -0.13066717982292175, 0.002773445099592209, 0.19048234820365906, 0.014073863625526428, -0.03572554886341095, -0.006270874757319689, -0.025143451988697052, -0.14244432747364044, -0.09693846851587296, 0.11033256351947784, 0.01903042569756508, 0.07246357202529907, 0.29184600710868835, -0.12400813400745392, 0.20180729031562805, -0.021024387329816818, 0.02780592069029808, -0.15765327215194702, 0.29221877455711365, 0.07046560943126678, 0.07255679368972778, -0.09458022564649582, -0.22673702239990234, 0.06557789444923401, 0.2416350245475769, 0.026589617133140564, -0.13450214266777039, 0.10455688089132309, -0.08078281581401825, 0.1222887635231018, 0.15499506890773773, 0.30769798159599304, 0.5698071122169495, -0.03877241164445877, -0.28028231859207153, 0.34255632758140564, 0.15017464756965637, -0.316413015127182, -0.0640498623251915, 0.21340903639793396, -0.1602141112089157, 0.09103783965110779, 0.42071086168289185, 0.11554296314716339, 0.09346893429756165, -0.43494004011154175, 0.04678606241941452, 0.520012617111206, 0.07792443037033081, 0.026136724278330803, 0.42573225498199463, -0.09045758843421936, 0.07381696254014969, 0.35072141885757446, 0.3759361207485199, 0.12934543192386627, 0.15135100483894348, -0.1653512418270111, 0.5195164680480957, -0.05124051123857498, -0.08312834799289703, -0.04024603217840195, -0.1616012156009674, 0.5064300894737244, 0.4358067512512207, -0.007527947425842285, -0.14570772647857666, -0.02793598175048828, 0.034412357956171036, 0.17571572959423065, -0.18491806089878082, 0.03747054934501648, 0.007244199514389038, 0.06081468239426613, -0.23058953881263733, -0.04359491914510727, -0.33241403102874756, 0.20332470536231995, -0.3265455365180969, 0.00929195061326027, -0.35625243186950684, 0.6073188781738281, -0.17432451248168945, 0.008775323629379272, -0.11964142322540283, 0.22101357579231262, -0.14105963706970215, 0.2563808262348175, -0.17240412533283234, 0.12220271676778793, 0.41191041469573975, -0.16972382366657257, 0.14849360287189484, 0.23417113721370697, 0.2824844717979431, 0.3719612956047058, 0.012388727627694607, 0.11140528321266174, -0.36044836044311523, -0.16995418071746826, 0.05889780819416046, 0.4852103888988495, 0.17245236039161682, -0.4888594150543213, -0.012199167162179947, 0.007001670077443123, -0.07604128122329712, -0.006797537207603455, 0.26488837599754333, -0.1229323148727417, -0.054506827145814896, 0.12701748311519623, 0.07820495963096619, -0.1828755885362625, 0.23232829570770264, 0.20629873871803284, -0.020357564091682434, -0.47000643610954285, 0.6819630861282349, 0.39861372113227844, 0.10042377561330795, 0.04193512350320816, 0.04883198440074921, 0.03650413453578949, 0.2800656855106354, 0.07144370675086975, 0.014482252299785614, -0.33966296911239624, 0.17889536917209625, -0.4290413558483124, 0.007289499044418335, -0.1500847041606903, -0.3026154041290283, 0.14339832961559296, 0.008960802108049393, 0.33768561482429504, 0.005447784438729286, -0.18949134647846222, 0.13805900514125824, 0.03524373844265938, -0.0007988400757312775, -0.38156312704086304, 0.005163107067346573, 0.21102826297283173, 0.12777180969715118, 0.12866804003715515, -0.26170870661735535, 0.24559396505355835, -0.15917283296585083, 0.032008275389671326, -0.3187905550003052, 0.325183629989624, 0.6552410125732422, 0.3766959309577942, 0.17352762818336487, 0.0431576743721962, 0.2169136106967926, 0.1430147886276245, -0.13784915208816528, 0.09924279153347015, -0.05744451656937599, -0.1730429232120514, 0.6602314114570618, 0.06751517951488495, -0.061402905732393265, -0.09225824475288391, -0.143761545419693, -0.1564028114080429, 0.00879192166030407, 0.004850815981626511, -0.1543073207139969, -0.2524567246437073, 0.15253092348575592, 0.17224383354187012, -0.09416712820529938, -0.1653072088956833, 0.039517879486083984, 0.0966641753911972, 0.10246125608682632, -0.3358275294303894, -0.49365097284317017, 0.809148907661438, -0.03632726892828941, -0.047491654753685, -0.3009168803691864, 0.27940499782562256, 0.07864400744438171, 0.12981820106506348, -0.5870488882064819, -0.17905201017856598, 0.5814454555511475, -0.16862410306930542, -0.5068541765213013, 0.09145815670490265, 0.017031541094183922, -0.35214391350746155, -0.07221157848834991, 0.13749685883522034, -0.31796181201934814, -0.07201039046049118, -0.1412898302078247, 0.017250172793865204 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Btw, `pretty_names` can also be used to handle this during validation :P ``` -# Dataset Card for [Dataset Name] +# Dataset Card for Allegro Reviews ``` This is where `DatasetMetadata` and `ReadMe` should be combined. But there are very few overlaps, I guess. @bhavitvyamalik @lhoestq What about adding a pretty name across all configs, and then config-specific names? Like ```yaml pretty_names: all_configs: X (dataset_name) config_1: X1 (config_1_name) config_2: X2 (config_2_name) ``` Then, using the `metadata_dict`, the ReadMe header can be validated against `X`. Sorry if I'm throwing too many ideas at once.
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
92
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Btw, `pretty_names` can also be used to handle this during validation :P ``` -# Dataset Card for [Dataset Name] +# Dataset Card for Allegro Reviews ``` This is where `DatasetMetadata` and `ReadMe` should be combined. But there are very few overlaps, I guess. @bhavitvyamalik @lhoestq What about adding a pretty name across all configs, and then config-specific names? Like ```yaml pretty_names: all_configs: X (dataset_name) config_1: X1 (config_1_name) config_2: X2 (config_2_name) ``` Then, using the `metadata_dict`, the ReadMe header can be validated against `X`. Sorry if I'm throwing too many ideas at once.
[ -0.19875212013721466, 0.05710139870643616, -0.0723833292722702, 0.15343068540096283, 0.41155099868774414, 0.1768132746219635, 0.161030113697052, 0.329032301902771, -0.2215137779712677, 0.009609207510948181, -0.008978361263871193, 0.17420552670955658, 0.12166063487529755, 0.24069304764270782, 0.12225520610809326, 0.14515680074691772, 0.030728518962860107, -0.011365674436092377, 0.23350661993026733, 0.1351879984140396, 0.07963309437036514, -0.2239946573972702, 0.2360868901014328, 0.1471461057662964, -0.007632216438651085, 0.06837285310029984, 0.10092324018478394, -0.339259535074234, -0.041499748826026917, -0.43299350142478943, 0.12962272763252258, 0.3294020891189575, -0.30407285690307617, -0.08976498991250992, -0.00010916142491623759, -0.0010957494378089905, 0.3095720410346985, -0.08043119311332703, -0.10530990362167358, -0.08081218600273132, -0.32400673627853394, -0.3990423083305359, -0.19524425268173218, -0.17518183588981628, 0.08946122229099274, -0.08974101394414902, -0.1000635176897049, -0.45443829894065857, 0.010342009365558624, -0.205585315823555, 0.15122653543949127, -0.6859252452850342, -0.25121477246284485, 0.12252022325992584, 0.44518280029296875, 0.4113163352012634, -0.09471793472766876, -0.13229641318321228, 0.4966703951358795, 0.045639343559741974, 0.3357204794883728, 0.5556436777114868, -0.23634569346904755, 0.10369482636451721, 0.16233670711517334, 0.16140761971473694, 0.3314324617385864, 0.15041682124137878, 0.12652020156383514, 0.4176788926124573, 0.6708853244781494, -0.5067685842514038, -0.4048939645290375, -0.5257614850997925, -0.013506758026778698, -0.353110134601593, 0.14425447583198547, -0.23660880327224731, -0.03552890568971634, 0.028279121965169907, -0.1735432744026184, -0.050567928701639175, 0.03634677082300186, 0.037138961255550385, 0.10019256174564362, 0.2637883424758911, 0.23393535614013672, 0.14648902416229248, 0.008344758301973343, -0.19263750314712524, 0.20257510244846344, -0.08118360489606857, -0.15826980769634247, 0.08678355813026428, 0.05384868383407593, -0.10008937120437622, -0.4182479977607727, -0.20243889093399048, 0.5087509751319885, 0.06710175424814224, -0.14494557678699493, 0.3220997452735901, 0.2603705823421478, 0.062462639063596725, 0.026810670271515846, -0.029828133061528206, 0.5961596369743347, 0.3106716275215149, 0.1532866358757019, -0.16021104156970978, 0.19855588674545288, -0.08224913477897644, 0.031336065381765366, -0.12856675684452057, -0.024655666202306747, 0.09385546296834946, 0.12816987931728363, -0.16648012399673462, -0.38797301054000854, 0.03184514865279198, -0.16461369395256042, -0.2540615200996399, 0.1520104855298996, 0.14776450395584106, 0.05334225669503212, -0.09249929338693619, -0.02232310362160206, -0.3189293146133423, 0.3625475764274597, -0.04511565342545509, -0.06413175910711288, -0.10385039448738098, 0.04038352146744728, 0.6418960690498352, 0.1657799333333969, 0.007743101567029953, 0.23021200299263, -0.06303151696920395, 0.05554983764886856, 0.01894795149564743, 0.15072651207447052, 0.027144506573677063, 0.1321016252040863, 0.17125529050827026, -0.22838477790355682, 0.16124272346496582, 0.011789444833993912, -0.4519196152687073, -0.3251486122608185, 0.011815082281827927, -0.24311590194702148, -0.21142201125621796, 0.19083838164806366, 0.2377409040927887, -0.020359016954898834, -0.06159430742263794, -0.1334279477596283, 0.25773999094963074, 0.5032672882080078, -0.10203243792057037, 0.2629653215408325, 0.2487667053937912, 0.22888600826263428, 0.012773840688169003, 0.2282188981771469, 0.32440608739852905, -0.19190675020217896, -0.29006898403167725, -0.11638243496417999, 0.08746355772018433, -0.12570345401763916, -0.19871142506599426, -0.08223435282707214, 0.0010740682482719421, 0.04376475512981415, 0.1773698478937149, 0.44688186049461365, -0.7881839871406555, 0.005887494422495365, 0.17850226163864136, 0.03122478723526001, 0.09722553938627243, 0.2694031894207001, -0.12274414300918579, 0.1913554072380066, 0.09481329470872879, 0.1475338339805603, 0.06799359619617462, -0.35240188241004944, -0.2568686604499817, -0.09772926568984985, 0.044827885925769806, -0.08658086508512497, 0.1286798119544983, -0.203630730509758, -0.4779154658317566, -0.08779074996709824, -0.2344328910112381, 0.26449283957481384, -0.07641004025936127, 0.29084861278533936, 0.08409503847360611, 0.3893487751483917, 0.3350176215171814, 0.07484772056341171, 0.0034183748066425323, -0.31164729595184326, 0.01877586543560028, 0.2788589894771576, -0.08432012796401978, -0.2357136756181717, -0.41016602516174316, -0.15258511900901794, -0.29183343052864075, -0.37061768770217896, -0.30984073877334595, 0.1197480857372284, 0.3344913721084595, -0.3702180087566376, -0.24805103242397308, -0.07815758883953094, 0.5204119086265564, -0.07248170673847198, 0.13849402964115143, -0.03154856339097023, -0.0327729657292366, 0.07923669368028641, 0.0021012136712670326, -0.31053608655929565, 0.14172059297561646, 0.062307555228471756, -0.03477855771780014, 0.17671310901641846, 0.42657774686813354, 0.15421316027641296, -0.08031801879405975, -0.06596877425909042, 0.09840134531259537, 0.10258473455905914, -0.05932826176285744, 0.05489891767501831, -0.299530565738678, -0.12120591849088669, -0.09211164712905884, -0.042938485741615295, 0.034760259091854095, -0.14741870760917664, 0.34797507524490356, -0.2543906569480896, -0.11578308790922165, 0.15836341679096222, -0.027328811585903168, -0.4078204035758972, -0.5204004049301147, -0.009744744747877121, -0.20035742223262787, 0.46408015489578247, -0.09420693665742874, 0.05006169527769089, 0.08450466394424438, 0.37956440448760986, 0.022948849946260452, 0.1352437287569046, -0.018638305366039276, 0.007074132561683655, 0.17221486568450928, -0.07638268172740936, 0.23249496519565582, 0.12639030814170837, 0.21909041702747345, -0.2160423994064331, 0.13290715217590332, 0.1549268513917923, -0.1773454248905182, 0.2271946668624878, 0.2902224063873291, 0.2738558351993561, 0.13341158628463745, -0.08553595095872879, -0.05840035900473595, -0.11357813328504562, -0.18697048723697662, 0.3139702379703522, 0.04307430610060692, -0.2083081156015396, 0.22517172992229462, -0.21915027499198914, -0.1408286839723587, -0.3583356738090515, -0.46867358684539795, -0.32185548543930054, -0.2018156200647354, 0.2300022393465042, -0.3419395983219147, -0.1654030829668045, 0.5133602619171143, 0.10937206447124481, 0.02239280939102173, -0.11523211747407913, -0.486821711063385, -0.1671036034822464, -0.22678875923156738, -0.16856861114501953, 0.06918872892856598, 0.1219940334558487, -0.14798526465892792, 0.48631787300109863, -0.13213595747947693, 0.19693514704704285, -0.29359617829322815, -0.5320125818252563, 0.03767384961247444, -0.12759068608283997, 0.1957688182592392, 0.12260271608829498, -0.06737706065177917, 0.06579527258872986, -0.26512855291366577, 0.1359354704618454, 0.3928639888763428, -0.08840129524469376, -0.17434963583946228, -0.028224671259522438, 0.0275946743786335, -0.16803643107414246, -0.2471122145652771, -0.4488172233104706, -0.16365091502666473, 0.042296286672353745, -0.2953770160675049, 0.15515437722206116, 0.31506770849227905, -0.26368555426597595, -0.20644254982471466, -0.49192264676094055, 0.23087531328201294, -0.1138606071472168, -0.1219831183552742, 0.07512902468442917, -0.06701100617647171, 0.27917709946632385, -0.09804488718509674, 0.00725521519780159, 0.08239896595478058, 0.107811838388443, -0.24117107689380646, 0.032579854130744934, 0.30104127526283264, -0.041926417499780655, 0.2296515852212906, -0.310660183429718, 0.03197650611400604, 0.3878744840621948, -0.01515222154557705, -0.12200544029474258, -0.3566841185092926, 0.14440131187438965, -0.23911768198013306, 0.24918532371520996, -0.08183233439922333, 0.030794192105531693, 0.015874691307544708, 0.03555413708090782, 0.13158713281154633, -0.0734570324420929, 0.1712099015712738, 0.20112740993499756, 0.08814351260662079, 0.3476123809814453, -0.38734129071235657, -0.03840862214565277, 0.09580613672733307, 0.23171137273311615, 0.21358639001846313, -0.017681483179330826, 0.08752042055130005, -0.09265198558568954, -0.035960208624601364, -0.0970718115568161, -0.31777694821357727, 0.030180644243955612, -0.1386609673500061, -0.03725080192089081, 0.10479594767093658, 0.06909393519163132, -0.10458922386169434, -0.09402742981910706, 0.24546962976455688, 0.36300331354141235, -0.30473095178604126, 0.015215665102005005, -0.42342570424079895, -0.022453581914305687, 0.2858858108520508, 0.4232845902442932, 0.20659862458705902, 0.09845385700464249, 0.009878184646368027, 0.03128426522016525, -0.12462207674980164, 0.028180386871099472, 0.4197499752044678, -0.273702472448349, -0.3384450674057007, 0.1907956749200821, 0.16051314771175385, 0.1636086106300354, -0.19676484167575836, 0.15830527245998383, -0.1275489777326584, 0.022436827421188354, 0.4312957227230072, -0.6331008076667786, -0.24159573018550873, 0.14201506972312927, 0.17037932574748993, -0.1413351595401764, 0.014960010536015034, -0.06518271565437317, -0.219498872756958, -0.062407031655311584, -0.1156008169054985, -0.29390522837638855, 0.3058386743068695, 0.14755083620548248, -0.15550360083580017, 0.16031117737293243, 0.21972015500068665, 0.18683886528015137, 0.1885327398777008, 0.2047634720802307, -0.09582807123661041, 0.38269659876823425, 0.13067692518234253, 0.4740864038467407, 0.5185598731040955, 0.007863838225603104, -0.5692532658576965, -0.2542906403541565, -0.14020630717277527, -0.21859462559223175, 0.49618104100227356, 0.1435350775718689, 0.09353503584861755, 0.30400148034095764, 0.14345699548721313, -0.18519775569438934, -0.09815879166126251, 0.24952124059200287, 0.017085490748286247, 0.23385506868362427, -0.5840191841125488, -0.853793740272522, 0.6207743883132935, 0.4947110414505005, -0.15716898441314697, 0.5703451037406921, 0.2886621356010437, -0.5947999954223633, -0.2614758610725403, 0.2594863772392273, 0.7676401734352112, -0.1588493436574936, 0.04155267775058746, -0.15646624565124512, 0.11014240980148315, 0.005373540334403515, -0.4140585660934448, 0.1814192831516266, -0.23640361428260803, -0.11570459604263306, 0.06010245531797409, -0.0006003938615322113, 0.5060725212097168, 0.22405152022838593, -0.20428164303302765, 0.15612299740314484, 0.23619963228702545, 0.33484336733818054, -0.12896029651165009, 0.09601238369941711, -0.17685295641422272, -0.3363035321235657, 0.0728038102388382, 0.03957010805606842, -0.2871057391166687, -0.012794364243745804, 0.036502547562122345, -0.23934701085090637, -0.02866322174668312, -0.13241371512413025, -0.20108674466609955, -0.44872063398361206, -0.2881970703601837, -0.12363196909427643, 0.017864177003502846, -0.2597481906414032, 0.07576839625835419, -0.36062896251678467, 0.28439319133758545, 0.1861078441143036, -0.07161541283130646, 0.24278384447097778, 0.05884822458028793, 0.1658250391483307, -0.16596145927906036, -0.25306519865989685, 0.14156018197536469, 0.006073355674743652, -0.15587155520915985, -0.060301877558231354, 0.3059030771255493, -0.09243839979171753, -0.24017712473869324, -0.15091268718242645, 0.31829696893692017, -0.3492743670940399, 0.3562338054180145, 0.10155732929706573, 0.4423781931400299, -0.357194721698761, 0.12448227405548096, 0.21454627811908722, -0.3375839591026306, 0.29361143708229065, -0.05084419623017311, -0.2560403645038605, -0.03825702890753746, -0.30037614703178406, -0.13702300190925598, -0.4169297218322754, 0.21640115976333618, -0.2228129357099533, -0.21392688155174255, -0.1658833920955658, 0.3327820301055908, 0.20604835450649261, -0.021267738193273544, -0.2536994516849518, 0.0543610081076622, -0.4271464943885803, 0.08937771618366241, 0.07673482596874237, 0.042257942259311676, 0.27861350774765015, 0.15210483968257904, -0.2178904414176941, -0.3536495268344879, 0.464993417263031, 0.23800426721572876, 0.27211883664131165, -0.2621079683303833, 0.0037670666351914406, -0.34636253118515015, 0.346079558134079, -0.31558653712272644, -0.1674782782793045, 0.16021914780139923, 0.3796065151691437, 0.00950741395354271, 0.13158798217773438, 0.024512624368071556, 0.09517823159694672, 0.1568780392408371, 0.10739336907863617, -0.0783737525343895, -0.18716919422149658, -0.06506147235631943, 0.12195618450641632, -0.14294075965881348, 0.02412046492099762, -0.014012574218213558, 0.03827562928199768, 0.12492026388645172, -0.3796614408493042, 0.19801893830299377, 0.028114333748817444, 0.0883927196264267, 0.2031126767396927, -0.04436111077666283, 0.05129488557577133, 0.0014849081635475159, 0.030168412253260612, -0.07719571888446808, 0.19597351551055908, 0.1256885677576065, 0.11282194405794144, -0.1480197310447693, -0.007457658648490906, 0.2753337621688843, 0.07496928423643112, 0.26840540766716003, 0.015629108995199203, -0.1221344843506813, -0.12460692226886749, -0.025899875909090042, 0.4242095351219177, 0.16499625146389008, 0.5712876319885254, -0.11188714951276779, -0.14971467852592468, 0.17124894261360168, 0.18939080834388733, -0.19780702888965607, -0.10505819320678711, 0.22071604430675507, -0.15845422446727753, 0.08888423442840576, 0.3659895360469818, 0.10433274507522583, 0.0626567155122757, -0.3564869165420532, 0.14313364028930664, 0.499926894903183, 0.0708603709936142, 0.09005431830883026, 0.5417487621307373, -0.03305472061038017, -0.06966087222099304, 0.20090006291866302, 0.4236468970775604, 0.31174957752227783, 0.38588738441467285, -0.3319413363933563, 0.35099318623542786, 0.049215443432331085, -0.25841522216796875, -0.005185343325138092, -0.04177463799715042, 0.38385993242263794, 0.30991697311401367, 0.03935369849205017, 0.10434684157371521, 0.0515851266682148, -0.1842372715473175, 0.26960283517837524, -0.1439375877380371, 0.10877028852701187, 0.05623999983072281, 0.15894941985607147, -0.25894659757614136, 0.25254514813423157, -0.2296593189239502, -0.028830301016569138, -0.17545770108699799, 0.16298678517341614, -0.5723756551742554, 0.5282872915267944, -0.07485786080360413, -0.018098242580890656, -0.16115300357341766, 0.3135407865047455, 0.2442229688167572, 0.0500379242002964, -0.2803330719470978, 0.017480049282312393, 0.3391787111759186, -0.33045414090156555, 0.22145362198352814, 0.09545177966356277, 0.017580248415470123, 0.038924746215343475, 0.011484712362289429, 0.1240839883685112, -0.41366031765937805, -0.10741671174764633, -0.051197171211242676, 0.132095068693161, 0.15052253007888794, -0.5529301762580872, 0.011313114315271378, 0.10455913841724396, -0.09948112815618515, -0.10886691510677338, 0.23767349123954773, 0.07547769695520401, -0.07558563351631165, 0.14008581638336182, 0.10427521914243698, -0.0388764888048172, 0.0943143367767334, 0.06985849887132645, -0.1906965970993042, -0.3580741286277771, 0.8798570036888123, 0.3510768413543701, -0.02028713934123516, -0.0026577638927847147, 0.07316474616527557, 0.06816036999225616, -0.008051220327615738, -0.036579664796590805, -0.00032120198011398315, -0.253586083650589, 0.06728816032409668, -0.2543647885322571, -0.05726582556962967, -0.16089466214179993, -0.15800489485263824, -0.07049278169870377, -0.036178745329380035, 0.3667606711387634, -0.14214743673801422, 0.21796190738677979, 0.11150742322206497, 0.19442449510097504, -0.03086763620376587, -0.31644541025161743, -0.2338552623987198, 0.24628867208957672, 0.19510839879512787, 0.3836238384246826, -0.13738170266151428, 0.09115715324878693, -0.10793967545032501, 0.08271480351686478, -0.4218326807022095, 0.16092044115066528, 0.6246630549430847, 0.2762277126312256, 0.296042263507843, -0.2226044237613678, 0.16128821671009064, 0.01354127749800682, -0.153516948223114, -0.00862685963511467, -0.23561924695968628, -0.16033808887004852, 0.6354710459709167, 0.029444556683301926, -0.18558497726917267, -0.2302660495042801, -0.18883101642131805, -0.15719278156757355, 0.08583417534828186, -0.08678290247917175, -0.25047677755355835, -0.14486852288246155, -0.0168010164052248, 0.30197247862815857, -0.07468786090612411, -0.26224425435066223, -0.065019890666008, 0.09958355128765106, 0.11079150438308716, -0.23975159227848053, -0.38251617550849915, 0.6895146369934082, -0.046053554862737656, -0.04368625581264496, -0.3624882102012634, 0.1515161246061325, 0.35805076360702515, 0.3586515486240387, -0.7117426991462708, -0.021353021264076233, 0.6178483366966248, -0.0014998577535152435, -0.39380210638046265, 0.0907532274723053, 0.2511020302772522, -0.034594450145959854, -0.14462734758853912, 0.20135554671287537, 0.06451740860939026, -0.17118433117866516, -0.12892158329486847, -0.1311018168926239 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
@bhavitvyamalik Now, I think I better understand what you're saying. So you want to skip validation for the unflattened metadata and just return it? And let the validation run for the flattened version?
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
33
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. @bhavitvyamalik Now, I think I better understand what you're saying. So you want to skip validation for the unflattened metadata and just return it? And let the validation run for the flattened version?
[ -0.1293836236000061, -0.27603578567504883, -0.024185508489608765, 0.0012283995747566223, 0.25677481293678284, -0.05282871797680855, 0.04210015386343002, 0.34251517057418823, -0.5102427005767822, 0.09147103875875473, 0.1846473067998886, 0.20517008006572723, 0.039822161197662354, 0.02321472577750683, -0.17109030485153198, 0.12310928851366043, -0.14441746473312378, 0.057159170508384705, 0.25988858938217163, 0.07636536657810211, 0.07066482305526733, -0.3491303026676178, 0.1137198656797409, 0.23279061913490295, -0.2632339298725128, -0.013545380905270576, 0.22093147039413452, 0.12189693748950958, -0.48504334688186646, -0.3974268138408661, 0.19604076445102692, 0.18368341028690338, -0.19529946148395538, -0.1269764006137848, -0.00010576815839158371, 0.00903443992137909, 0.36153990030288696, -0.1955530345439911, 0.027471452951431274, 0.054464004933834076, -0.15105952322483063, -0.1421651989221573, -0.2823547124862671, -0.09953958541154861, -0.24448642134666443, 0.004085666965693235, -0.17320166528224945, -0.17151430249214172, 0.1434202790260315, -0.06051652878522873, 0.21234312653541565, -0.34483203291893005, -0.16442644596099854, 0.14248357713222504, 0.053006261587142944, 0.15294435620307922, -0.034667033702135086, 0.037524886429309845, 0.17675825953483582, 0.18014909327030182, 0.2551364302635193, 0.6376315355300903, -0.2692437767982483, -0.14262601733207703, -0.03328192979097366, -0.009743870235979557, 0.26972445845603943, 0.11781018227338791, 0.2673496901988983, 0.48501020669937134, 0.5254409313201904, -0.1762738823890686, -0.3612545430660248, -0.28296154737472534, 0.07078831642866135, -0.3737150728702545, 0.12115718424320221, -0.050222575664520264, 0.042220208793878555, 0.2862057089805603, -0.29352033138275146, -0.2076960653066635, -0.08615478873252869, -0.07731066644191742, -0.1555584818124771, 0.4250600039958954, 0.1718873679637909, -0.03774136304855347, 0.05882306024432182, -0.14598210155963898, -0.018358539789915085, -0.20107947289943695, -0.0789015144109726, 0.20837533473968506, 0.1385072022676468, -0.3155289590358734, -0.2865678071975708, -0.4961075484752655, 0.4658357799053192, 0.2417128086090088, -0.14555709064006805, 0.3659976124763489, 0.10935880988836288, 0.12105961889028549, -0.06321485340595245, 0.01773625984787941, 0.6440759897232056, 0.36164724826812744, 0.0910864919424057, -0.057672519236803055, 0.35517385601997375, -0.0757773295044899, -0.00700373575091362, 0.1402498483657837, 0.13706617057323456, 0.3429206609725952, 0.4369812607765198, -0.28865355253219604, -0.45053786039352417, 0.15229131281375885, -0.15358400344848633, -0.1739707589149475, -0.006173131056129932, 0.13930174708366394, -0.1470198780298233, -0.05241928994655609, -0.3044375777244568, -0.25119441747665405, 0.2605704069137573, -0.18212905526161194, -0.07918094098567963, -0.01770976558327675, 0.048256855458021164, 0.2673676609992981, 0.27121153473854065, -0.2710581123828888, 0.2771492302417755, -0.05351264402270317, -0.01823287457227707, 0.11533936858177185, 0.18646393716335297, -0.07030606269836426, 0.40742021799087524, 0.13544797897338867, -0.3542184829711914, 0.09511800855398178, 0.1391926407814026, -0.2881203889846802, -0.20356187224388123, 0.2180062234401703, -0.4062923789024353, -0.44423389434814453, 0.026824118569493294, 0.300409197807312, 0.022818628698587418, 0.0751931220293045, 0.10632290691137314, 0.14475294947624207, 0.23071640729904175, -0.04342523217201233, 0.19398841261863708, 0.1869966685771942, 0.20907220244407654, -0.005553912371397018, 0.18590322136878967, 0.20261648297309875, -0.3289421498775482, 0.015630818903446198, -0.010483510792255402, -0.03669896349310875, -0.002159707248210907, -0.16867317259311676, -0.14193832874298096, 0.014296375215053558, -0.05867767333984375, 0.3008517026901245, 0.10210605710744858, -0.5994318723678589, -0.13500092923641205, 0.09249863028526306, 0.0389111265540123, 0.5196855664253235, 0.3012717068195343, -0.280429869890213, 0.1838846355676651, -0.017476584762334824, 0.23147203028202057, 0.08603886514902115, -0.27963849902153015, -0.20298171043395996, -0.3300358057022095, 0.1015670895576477, 0.3113335967063904, -0.1464310735464096, -0.09637391567230225, -0.16339802742004395, -0.15881618857383728, 0.12614469230175018, 0.24030160903930664, -0.072611004114151, 0.12246517837047577, 0.13002143800258636, 0.3581022620201111, -0.14810994267463684, 0.02973364293575287, -0.27405694127082825, -0.4550487995147705, 0.038237616419792175, 0.07177476584911346, 0.03447385132312775, -0.0007037743926048279, -0.42578840255737305, -0.32034391164779663, -0.24094407260417938, -0.2816206216812134, -0.35013940930366516, 0.2414470911026001, 0.1398070901632309, -0.08114729821681976, -0.37172675132751465, -0.1796274185180664, 0.11701394617557526, -0.16834059357643127, 0.16100892424583435, 0.12042459845542908, 0.060294561088085175, 0.029026513919234276, 0.04733743146061897, -0.21888481080532074, -0.06860905140638351, 0.0812489464879036, -0.22460103034973145, 0.24343565106391907, 0.5034309029579163, 0.2161945104598999, -0.3318924903869629, -0.10206093639135361, 0.30610406398773193, 0.1606859415769577, -0.05487317964434624, -0.08828092366456985, 0.005964093841612339, -0.2289585918188095, -0.02527151256799698, -0.14087244868278503, 0.3483498692512512, -0.13589875400066376, 0.05849950760602951, -0.09383562207221985, -0.2675766050815582, 0.2595421075820923, -0.16516892611980438, -0.5367181897163391, -0.5984430313110352, -0.2193993479013443, -0.2533153295516968, 0.014942660927772522, -0.14446638524532318, -0.19146567583084106, 0.03730015084147453, 0.5630003213882446, 0.04029817506670952, 0.08587803691625595, 0.13796637952327728, 0.14917699992656708, 0.1922476887702942, -0.002498200163245201, -0.08973849564790726, 0.07104188203811646, 0.2628025710582733, -0.17931587994098663, 0.17865796387195587, 0.06297960877418518, -0.03632736951112747, 0.35709598660469055, -0.043016351759433746, 0.2510596513748169, 0.2778027355670929, -0.109223872423172, 0.032845545560121536, -0.18578651547431946, 0.0357867069542408, 0.22427621483802795, -0.03660520166158676, -0.01487855613231659, -0.008217464201152325, -0.42943501472473145, -0.34869903326034546, -0.1958063840866089, -0.5904402732849121, -0.5894364714622498, -0.04928378760814667, 0.4473308324813843, -0.16216391324996948, -0.18740597367286682, 0.6184014081954956, 0.05315105989575386, 0.03776158392429352, 0.005637770518660545, -0.44337233901023865, -0.1876940280199051, -0.037856146693229675, -0.1675666868686676, 0.1623374968767166, -0.1756100356578827, -0.4195961058139801, 0.5345425009727478, 0.04173051565885544, 0.2662563920021057, -0.2469349205493927, -0.6697407364845276, 0.1735168993473053, -0.03267711400985718, -0.027028745040297508, 0.2620798349380493, 0.3569127917289734, 0.25102537870407104, -0.027984600514173508, 0.2509770095348358, 0.30310556292533875, -0.1319786012172699, -0.09008757025003433, 0.18331778049468994, 0.12384885549545288, -0.18703870475292206, -0.3114822506904602, -0.13438095152378082, -0.08895868808031082, -0.22500254213809967, -0.0981946736574173, 0.22397924959659576, 0.48182135820388794, -0.14238297939300537, -0.2152014672756195, -0.34848663210868835, 0.11916795372962952, -0.23558898270130157, -0.08445504307746887, 0.030927006155252457, 0.02554679475724697, 0.146925687789917, -0.11930643022060394, 0.15536563098430634, -0.005083780735731125, 0.07011844217777252, 0.15849369764328003, -0.23382650315761566, 0.37616777420043945, 0.04150765761733055, -0.06025466322898865, -0.23787005245685577, 0.40684205293655396, 0.28916841745376587, -0.1670473963022232, -0.13764682412147522, -0.12495754659175873, 0.18347716331481934, -0.09913092106580734, 0.3501017391681671, -0.1462876796722412, -0.14396190643310547, 0.2284744381904602, 0.07967589795589447, 0.0009279157966375351, -0.07100267708301544, -0.009212389588356018, 0.06345446407794952, 0.033711835741996765, -0.07502570003271103, -0.3391581177711487, -0.282880961894989, 0.15880998969078064, 0.2749403119087219, 0.2254098653793335, -0.1724461019039154, 0.22074203193187714, -0.09488686919212341, -0.11932866275310516, -0.10566868633031845, -0.02430006116628647, 0.14978373050689697, -0.24855303764343262, -0.0381154790520668, 0.34581735730171204, 0.15555086731910706, 0.006807627156376839, -0.09966576844453812, 0.23470760881900787, 0.24128837883472443, 0.012402988970279694, 0.06700155884027481, -0.267642617225647, -0.038987383246421814, 0.07690335065126419, 0.4416158199310303, 0.3177480101585388, -0.06647339463233948, 0.12874938547611237, -0.043518804013729095, -0.06244167685508728, -0.10588780790567398, 0.3157145380973816, -0.4246939420700073, -0.1276322901248932, 0.06888529658317566, 0.12668146193027496, 0.07150396704673767, -0.24095702171325684, -0.08892084658145905, 0.05203835293650627, 0.186807319521904, 0.9204923510551453, -0.5848247408866882, -0.23220685124397278, 0.06920023262500763, -0.09383489936590195, -0.15280257165431976, 0.2840456962585449, -0.3119005560874939, -0.10418341308832169, -0.09692709147930145, 0.2578273117542267, -0.1390656977891922, 0.4466288089752197, 0.08217912912368774, -0.021014979109168053, -0.09662880748510361, 0.2041652500629425, 0.04565901681780815, 0.24670664966106415, 0.2969103157520294, -0.2247953861951828, 0.08249634504318237, -0.15588437020778656, 0.7373888492584229, 0.35189366340637207, 0.062302470207214355, -0.24067476391792297, 0.049579549580812454, -0.24871128797531128, -0.2400512397289276, 0.44350358843803406, 0.2358817458152771, 0.05147040635347366, 0.2688789963722229, 0.16832095384597778, 0.09371595084667206, -0.27366727590560913, 0.10844046622514725, 0.05251758545637131, 0.1305493861436844, -0.4624325633049011, -0.4059246778488159, 0.3377203941345215, 0.07835248112678528, -0.08895038813352585, 0.4059089124202728, 0.36126673221588135, -0.5401114821434021, -0.2017420381307602, 0.449594110250473, 0.9121837019920349, 0.1446574330329895, -0.10120198130607605, -0.15335875749588013, 0.16268448531627655, 0.08743304759263992, -0.5698966979980469, 0.2141842395067215, -0.28817814588546753, -0.30113548040390015, 0.04370803385972977, 0.23773193359375, 0.5831028819084167, 0.3457528352737427, -0.2636723816394806, 0.12737597525119781, 0.19441528618335724, 0.32991012930870056, -0.057434432208538055, 0.2861337959766388, 0.0388132780790329, -0.08747796714305878, -0.17109014093875885, 0.0515429750084877, -0.18319809436798096, 0.10357266664505005, -0.028177395462989807, -0.15731000900268555, 0.023616213351488113, -0.5650398135185242, 0.06750041246414185, -0.13950113952159882, -0.29571855068206787, -0.1346442550420761, 0.1086435467004776, 0.039477020502090454, -0.3166678845882416, -0.6525357365608215, 0.05734016001224518, 0.35271692276000977, -0.0787416398525238, 0.03268756344914436, 0.15664461255073547, 0.08153738081455231, -0.1324329525232315, -0.1068834438920021, 0.2650367319583893, -0.23042768239974976, -0.12941735982894897, 0.07428870350122452, -0.06349677592515945, 0.05327676981687546, -0.10899035632610321, -0.35479921102523804, 0.23767516016960144, -0.3192622661590576, 0.1316898912191391, -0.016745448112487793, 0.32964763045310974, -0.21743184328079224, 0.14683181047439575, -0.09489838778972626, -0.3011261224746704, 0.019246868789196014, 0.2632870674133301, -0.07523701339960098, -0.07082964479923248, 0.09064405411481857, 0.06160517781972885, -0.08101588487625122, 0.18073010444641113, -0.4123705327510834, -0.1644545942544937, -0.2906714677810669, 0.14809200167655945, 0.18526828289031982, 0.006775334477424622, -0.09089761227369308, 0.28510740399360657, -0.3462473750114441, 0.12176541984081268, 0.09669126570224762, 0.1201711967587471, 0.24233481287956238, -0.1622561365365982, -0.3071219325065613, -0.1332806944847107, 0.21075411140918732, 0.15423521399497986, 0.21193748712539673, -0.2605193257331848, 0.06790700554847717, -0.23261025547981262, 0.2594723403453827, -0.42303526401519775, -0.2500736713409424, -0.03892156481742859, 0.3839288651943207, 0.07584107667207718, 0.1238446980714798, 0.08905638754367828, 0.05619530752301216, 0.20031055808067322, 0.12421362847089767, -0.08222472667694092, -0.32426488399505615, -0.10220351815223694, 0.12064162641763687, -0.06948845833539963, 0.1287536472082138, 0.09209253638982773, 0.1385778933763504, -0.08943727612495422, -0.09618832170963287, 0.2207648903131485, -0.1801176369190216, 0.1644386351108551, 0.43901902437210083, -0.1607501059770584, 0.03147769719362259, -0.11535407602787018, -0.23007908463478088, -0.12720194458961487, 0.32511091232299805, 0.007326385471969843, 0.14306026697158813, -0.21257556974887848, -0.05213376134634018, 0.05628996342420578, 0.05781998485326767, 0.12432114034891129, -0.011838987469673157, 0.06038098782300949, -0.09819591045379639, -0.15209224820137024, 0.00005511147901415825, 0.33818426728248596, 0.22821484506130219, -0.07617710530757904, -0.3942027986049652, 0.17312142252922058, 0.2799457311630249, -0.46856769919395447, -0.07478642463684082, 0.21828791499137878, -0.24821828305721283, 0.03568658605217934, 0.14446301758289337, 0.02326764538884163, 0.18152043223381042, -0.0649692565202713, 0.06605595350265503, 0.5372164249420166, -0.21101006865501404, -0.05668018385767937, 0.48888808488845825, -0.08223438262939453, -0.03811229392886162, 0.21766796708106995, 0.14426176249980927, 0.1664385348558426, 0.1056433618068695, 0.024334419518709183, 0.4492301642894745, -0.06934341043233871, -0.15279975533485413, -0.07584943622350693, -0.028420908376574516, 0.12352798879146576, 0.3885473608970642, -0.06645475327968597, 0.3070817291736603, 0.07073129713535309, -0.02513844519853592, 0.33382749557495117, -0.2130628079175949, -0.0802963450551033, 0.2057352513074875, 0.0405031181871891, -0.24811483919620514, 0.014126047492027283, -0.26703351736068726, 0.16731508076190948, -0.19751960039138794, 0.1643737256526947, -0.08907756209373474, 0.40006333589553833, -0.21133871376514435, 0.11630263924598694, 0.10882405191659927, 0.18264687061309814, 0.005029641091823578, 0.30290549993515015, -0.3019697368144989, 0.1697722226381302, 0.4207693338394165, -0.16555410623550415, 0.16711346805095673, 0.19723157584667206, 0.06648764759302139, 0.023753948509693146, 0.12991659343242645, 0.061240095645189285, -0.46904709935188293, -0.1842578649520874, 0.08050302416086197, 0.41888248920440674, 0.333091139793396, -0.5573636293411255, 0.28689682483673096, 0.15797574818134308, -0.20660680532455444, -0.008345779031515121, 0.07897257804870605, -0.11886712908744812, -0.0321180485188961, -0.09915881603956223, 0.4058944284915924, -0.215775728225708, -0.005963951349258423, 0.07399353384971619, -0.04435998201370239, -0.3295094966888428, 0.48872172832489014, 0.4681365489959717, 0.018649406731128693, -0.17518581449985504, 0.1301085650920868, -0.01677878573536873, 0.3372564911842346, -0.08296498656272888, -0.17104840278625488, -0.13180844485759735, 0.10527421534061432, -0.25943899154663086, 0.14020133018493652, -0.1555127501487732, -0.29153186082839966, 0.1930302530527115, -0.056977130472660065, 0.36795833706855774, 0.05401475727558136, 0.023815788328647614, 0.05216360464692116, 0.15890538692474365, 0.013685747981071472, -0.2209739089012146, 0.003441784530878067, 0.21669191122055054, 0.08828425407409668, 0.1406218707561493, -0.35335075855255127, 0.09419645369052887, -0.13958314061164856, 0.1552630066871643, -0.17586718499660492, 0.3381531238555908, 0.6210359930992126, 0.2717978358268738, 0.23770466446876526, 0.08789204806089401, 0.07937052845954895, -0.062140047550201416, -0.08838866651058197, 0.17799913883209229, 0.24807384610176086, -0.16378509998321533, 0.41718876361846924, 0.36028531193733215, -0.01075579784810543, 0.11078901588916779, -0.29774072766304016, -0.33514460921287537, 0.2814648747444153, -0.039160359650850296, -0.22560442984104156, -0.1410902589559555, -0.025022434070706367, 0.23234307765960693, -0.17022675275802612, -0.22046618163585663, 0.028152521699666977, 0.06970295310020447, 0.03194252401590347, -0.3383742570877075, -0.5015553832054138, 0.6317663788795471, -0.1241912767291069, -0.09286478161811829, -0.24093827605247498, 0.37868449091911316, 0.22907301783561707, -0.042763516306877136, -0.6171781420707703, -0.06153693050146103, 0.4689900577068329, -0.03172921761870384, -0.39588242769241333, 0.035678815096616745, 0.06947776675224304, -0.08855658769607544, -0.08147057890892029, 0.0823872983455658, -0.02373972162604332, -0.14937724173069, -0.2366398423910141, 0.0691232681274414 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Exactly! Validation is important but once the YAML tags are validated I feel we shouldn't do that again while calling `load_dataset_card`. +1 for default config name for single-config datasets.
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
29
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Exactly! Validation is important but once the YAML tags are validated I feel we shouldn't do that again while calling `load_dataset_card`. +1 for default config name for single-config datasets.
[ -0.2766653895378113, -0.17820611596107483, -0.02730489708483219, -0.03259448707103729, 0.45518994331359863, 0.14104437828063965, 0.23774687945842743, 0.24647122621536255, -0.08666950464248657, 0.14274561405181885, 0.1877719908952713, 0.34189605712890625, 0.2803206443786621, 0.24350102245807648, 0.20826348662376404, 0.20060376822948456, -0.010642513632774353, -0.011388622224330902, 0.24997979402542114, 0.04287801682949066, -0.0859195739030838, -0.13003307580947876, 0.09032654762268066, 0.24441619217395782, -0.18667927384376526, 0.10607880353927612, 0.10171191394329071, -0.07722298055887222, -0.06265320628881454, -0.6011823415756226, 0.09583104401826859, 0.3466006815433502, -0.12222354114055634, -0.17803701758384705, -0.00010725385800469667, -0.13901019096374512, 0.5869241952896118, -0.11934132874011993, -0.2730654180049896, -0.120051309466362, -0.43717631697654724, -0.6568605899810791, 0.010005767457187176, -0.19169984757900238, 0.07025278359651566, -0.19317491352558136, 0.09806927293539047, -0.2618647813796997, 0.06377629935741425, -0.22197052836418152, 0.22592997550964355, -0.6242464780807495, -0.3000769317150116, -0.04219898208975792, 0.3864160180091858, 0.2886800765991211, 0.07885877788066864, 0.11925150454044342, 0.32946789264678955, -0.009532942436635494, 0.20943763852119446, 0.5866195559501648, -0.1664896011352539, -0.051495518535375595, 0.19194287061691284, 0.1433352828025818, 0.29415810108184814, 0.03400124981999397, 0.23105385899543762, 0.29643911123275757, 0.6299036741256714, -0.3387647569179535, -0.2977057099342346, -0.3626897931098938, 0.11476882547140121, -0.42298027873039246, 0.26012682914733887, -0.17507143318653107, -0.005093981511890888, -0.011253762990236282, -0.11677207797765732, -0.22120700776576996, 0.12478482723236084, -0.02348092943429947, 0.09119395911693573, 0.18588651716709137, 0.14327646791934967, 0.21547606587409973, -0.013404268771409988, -0.06960372626781464, 0.0447973869740963, -0.1519288271665573, -0.2386898696422577, 0.12830446660518646, -0.1205512136220932, 0.11409124732017517, -0.3737308084964752, -0.11293404549360275, 0.2391301989555359, 0.21736758947372437, 0.04796870797872543, 0.36929887533187866, 0.3731595575809479, 0.15928508341312408, -0.0930853933095932, 0.09373359382152557, 0.6845570206642151, 0.21219363808631897, 0.023334380239248276, -0.0934901088476181, 0.17697207629680634, -0.10202821344137192, -0.13262735307216644, -0.15956588089466095, 0.10136359930038452, 0.02189868502318859, 0.15669305622577667, -0.06993675231933594, -0.27829402685165405, 0.02040254697203636, 0.0684528723359108, -0.29592764377593994, 0.21678505837917328, 0.21568408608436584, 0.028109680861234665, 0.06005510687828064, -0.011525237932801247, -0.2689583897590637, 0.27732381224632263, -0.171266108751297, -0.1527903974056244, -0.2570987045764923, -0.09276261925697327, 0.5232059359550476, 0.23170240223407745, -0.08689001202583313, 0.35852301120758057, -0.07721120864152908, -0.10566999018192291, 0.17222408950328827, 0.1518312245607376, 0.02369777485728264, 0.09277375042438507, 0.2493547797203064, -0.1922764778137207, 0.18933327496051788, 0.09487323462963104, -0.16668957471847534, -0.08261467516422272, 0.22748351097106934, -0.44410187005996704, -0.2818983495235443, 0.08003580570220947, 0.2933838665485382, 0.11534814536571503, -0.09632459282875061, -0.18480858206748962, 0.22462098300457, 0.4550265073776245, -0.2714393138885498, 0.31631970405578613, 0.029158681631088257, 0.07022196054458618, -0.03280775249004364, 0.163734570145607, 0.38540905714035034, -0.2258150726556778, -0.3865807354450226, -0.024739263579249382, -0.052830424159765244, 0.11246919631958008, -0.32419320940971375, -0.3204772174358368, 0.0060850828886032104, 0.08728823065757751, 0.17022262513637543, 0.4852359890937805, -0.5360262393951416, -0.10758166760206223, 0.2318362146615982, -0.09323259443044662, 0.1284615397453308, 0.1627378761768341, -0.002830475103110075, 0.13483917713165283, 0.18105252087116241, 0.24553948640823364, 0.045904550701379776, -0.11200286448001862, -0.20806220173835754, -0.19855499267578125, 0.019954821094870567, 0.07516689598560333, 0.035259805619716644, -0.21002985537052155, -0.174482524394989, -0.11292489618062973, -0.03150572627782822, 0.3218492567539215, 0.004556275904178619, 0.15021969377994537, 0.01664712280035019, 0.3296148180961609, 0.30612730979919434, 0.1821957528591156, 0.2635112404823303, -0.41501733660697937, 0.1118260994553566, 0.027962874621152878, -0.18865954875946045, -0.13437597453594208, -0.2346978485584259, -0.11960066854953766, -0.21145686507225037, -0.35650837421417236, -0.08802525699138641, 0.08427175134420395, 0.4309248626232147, -0.33436763286590576, -0.2763064503669739, -0.17848002910614014, 0.4645077586174011, -0.4005233645439148, 0.142568439245224, 0.05098462104797363, -0.12279776483774185, 0.08182493597269058, -0.021515361964702606, -0.3367682099342346, -0.16769123077392578, 0.07266612350940704, -0.11007417738437653, -0.0015402492135763168, 0.607457160949707, 0.21150515973567963, -0.1180773377418518, -0.08818326145410538, -0.14405114948749542, 0.11160756647586823, -0.07104529440402985, 0.026589851826429367, -0.2054489254951477, 0.004508846439421177, -0.06279045343399048, -0.04240594059228897, 0.16673769056797028, -0.369514524936676, 0.14524108171463013, -0.27535903453826904, -0.2729550898075104, 0.1261759102344513, 0.11603643000125885, -0.3634478449821472, -0.42149603366851807, -0.02981860563158989, -0.14882273972034454, 0.3605203926563263, -0.06616642326116562, -0.017340470105409622, -0.018198974430561066, 0.3910695016384125, -0.06399202346801758, -0.07026097923517227, 0.19098708033561707, 0.1493891179561615, -0.0511699914932251, 0.050435736775398254, 0.23061631619930267, 0.2707451581954956, 0.2672708034515381, -0.37777748703956604, -0.013127444311976433, 0.18545395135879517, -0.24337342381477356, 0.4240673780441284, 0.17103156447410583, 0.21597015857696533, 0.02192576974630356, 0.02891124226152897, -0.05251469835639, -0.25790855288505554, -0.07618457078933716, 0.4703967273235321, -0.04884325712919235, -0.11882449686527252, 0.2013997733592987, -0.141559436917305, -0.42691531777381897, -0.18149344623088837, -0.29354482889175415, -0.23994454741477966, -0.2862013578414917, 0.11518751084804535, -0.39373764395713806, -0.05629555135965347, 0.5587906241416931, 0.030823227018117905, 0.12763985991477966, -0.043005432933568954, -0.5747613310813904, -0.3045506477355957, -0.05852767452597618, -0.3274180591106415, 0.04094063863158226, -0.09245608001947403, -0.4112723469734192, 0.3593692481517792, -0.1961875557899475, 0.29427510499954224, -0.25797128677368164, -0.5007455945014954, 0.041354380548000336, -0.1385023593902588, 0.021327991038560867, 0.16410624980926514, 0.051463522017002106, -0.0008293166756629944, -0.14967720210552216, 0.24097737669944763, 0.1764925867319107, 0.10128720104694366, -0.16388581693172455, 0.046732764691114426, 0.01810648664832115, -0.26374030113220215, -0.3615559935569763, -0.4224301874637604, -0.11338357627391815, -0.02349681407213211, -0.07415276765823364, 0.16013866662979126, 0.42859458923339844, -0.08667734265327454, -0.03913187235593796, -0.35332393646240234, 0.08387718349695206, -0.142074853181839, -0.24302861094474792, 0.004459403455257416, 0.029730740934610367, 0.08339300006628036, -0.1047564297914505, 0.19949105381965637, 0.15016677975654602, -0.09043952077627182, -0.2625885009765625, 0.059837792068719864, 0.21613357961177826, 0.10148802399635315, 0.01772179827094078, -0.14355990290641785, -0.03703491389751434, 0.3048434555530548, -0.14343835413455963, -0.051938049495220184, -0.2611750364303589, 0.18999320268630981, -0.13031518459320068, 0.37000685930252075, -0.017766106873750687, 0.07820113003253937, -0.129751518368721, 0.05293995887041092, 0.01595139130949974, -0.15911565721035004, 0.29194149374961853, -0.017095519229769707, 0.177646204829216, -0.2017453908920288, -0.34198951721191406, -0.1814432591199875, 0.045602425932884216, 0.22926808893680573, 0.24210549890995026, -0.10441583395004272, -0.055471353232860565, -0.13226687908172607, -0.14730139076709747, -0.08793951570987701, -0.12497790157794952, 0.044060416519641876, -0.23812726140022278, -0.17285674810409546, 0.24718204140663147, 0.10730516165494919, -0.27406948804855347, -0.06393633782863617, 0.1343415230512619, 0.3625614047050476, -0.18641585111618042, 0.08001422137022018, -0.4010881781578064, 0.018706098198890686, 0.15749715268611908, 0.46516138315200806, 0.0080924853682518, 0.08519604802131653, -0.04437251761555672, -0.0683688074350357, -0.07374648749828339, 0.03843660652637482, 0.34922218322753906, -0.18971632421016693, -0.26988279819488525, 0.17051243782043457, 0.08018962293863297, 0.09487409889698029, -0.2717304825782776, 0.007507767528295517, -0.11579552292823792, 0.12967200577259064, 0.43396133184432983, -0.4237085282802582, -0.2933361530303955, 0.2307824045419693, 0.07686775922775269, -0.16592878103256226, 0.0981513187289238, -0.34954550862312317, -0.08994950354099274, -0.1616957038640976, -0.07453299313783646, -0.49783560633659363, 0.3848983347415924, 0.059737809002399445, 0.055033717304468155, 0.06026313453912735, 0.14605727791786194, 0.07365433871746063, 0.2682395279407501, 0.17839670181274414, 0.025347689166665077, 0.22056159377098083, 0.1486123502254486, 0.5673964023590088, 0.38561633229255676, 0.13278651237487793, -0.47970637679100037, -0.13226521015167236, 0.01679087057709694, -0.10130476206541061, 0.5083199143409729, 0.25558894872665405, -0.04327992722392082, 0.20699185132980347, 0.15644459426403046, -0.018437892198562622, -0.15365257859230042, 0.25717881321907043, 0.1416855752468109, 0.15951064229011536, -0.44580045342445374, -0.8215644955635071, 0.7217268347740173, 0.29627862572669983, -0.27554643154144287, 0.5896575450897217, 0.32319581508636475, -0.49401676654815674, -0.1318196952342987, 0.18826985359191895, 0.8954625725746155, -0.28211510181427, 0.061879146844148636, -0.037574321031570435, 0.1639142632484436, 0.22801576554775238, -0.31559258699417114, 0.14488737285137177, -0.20355558395385742, -0.10025503486394882, 0.07043265551328659, 0.09237049520015717, 0.5523686408996582, 0.19578984379768372, -0.3706810772418976, 0.16696642339229584, 0.05720643699169159, 0.2848229706287384, -0.0740705281496048, 0.2708921730518341, -0.15522342920303345, -0.3241199254989624, -0.01971261203289032, 0.07493899762630463, -0.13095158338546753, 0.07059531658887863, -0.0853845402598381, -0.1602587103843689, 0.0858442634344101, -0.22945688664913177, 0.06894828379154205, -0.1911274790763855, -0.36549386382102966, 0.009044289588928223, 0.042103346437215805, -0.12146271765232086, -0.14926499128341675, -0.23489177227020264, -0.14667414128780365, 0.212218776345253, -0.04742827266454697, 0.1336386650800705, 0.06203359365463257, 0.24437743425369263, -0.2325810194015503, -0.10081129521131516, 0.30076703429222107, 0.048386938869953156, -0.3196397125720978, 0.08760593086481094, 0.09642834216356277, 0.03783765435218811, -0.2688048779964447, -0.20850925147533417, 0.28189748525619507, -0.38191261887550354, 0.15006084740161896, -0.059428781270980835, 0.3183754086494446, -0.22119386494159698, 0.1558745950460434, 0.02529238536953926, -0.17220456898212433, -0.054384611546993256, 0.2810213267803192, -0.4035729467868805, -0.1633845716714859, -0.018179066479206085, -0.1080058291554451, -0.30202069878578186, 0.4122035503387451, -0.3400858938694, -0.06959548592567444, -0.2004636526107788, 0.3762476146221161, 0.21957355737686157, -0.19077831506729126, -0.2609768211841583, 0.23076507449150085, -0.31659597158432007, 0.17475441098213196, 0.06687817722558975, 0.03590615093708038, 0.24743294715881348, 0.14383633434772491, -0.1629030704498291, -0.3894582986831665, 0.36901944875717163, 0.16986745595932007, 0.2244713008403778, -0.2274569869041443, -0.2612934112548828, -0.09467344731092453, 0.21362930536270142, -0.3594616949558258, -0.12743882834911346, 0.11778441816568375, 0.397710919380188, -0.04495616257190704, 0.20765340328216553, 0.09465581178665161, 0.1547643542289734, 0.22050054371356964, -0.06381367892026901, -0.11214664578437805, -0.24819490313529968, -0.08809363842010498, 0.11021725088357925, -0.11401482671499252, 0.024193175137043, -0.12585888803005219, -0.11052517592906952, 0.05163877457380295, -0.2780393064022064, 0.2434884011745453, -0.07703552395105362, -0.002989843487739563, 0.3138193190097809, -0.08799193799495697, 0.031201329082250595, 0.06843232363462448, -0.06830351799726486, -0.1311785876750946, 0.34415489435195923, -0.01878264732658863, -0.016428496688604355, -0.15375903248786926, -0.042238861322402954, -0.039537884294986725, 0.11647467315196991, 0.3600229024887085, -0.024116579443216324, -0.06935199350118637, -0.23694102466106415, 0.09672106802463531, -0.03238677605986595, 0.13799814879894257, 0.3714398443698883, -0.10747763514518738, -0.45948559045791626, 0.04890735074877739, 0.2293645143508911, -0.25719913840293884, -0.12379685044288635, 0.03978349640965462, -0.022054672241210938, 0.02869638428092003, 0.29227694869041443, 0.18366773426532745, -0.04094777628779411, -0.2620377540588379, -0.011436824686825275, 0.5645465850830078, -0.1112649142742157, 0.011890629306435585, 0.5164414048194885, -0.10551582276821136, 0.11468899250030518, 0.1751956045627594, 0.40273794531822205, 0.14114516973495483, 0.455997109413147, -0.25765717029571533, 0.3916917145252228, 0.10620540380477905, 0.0873577743768692, -0.1529097855091095, -0.2863042950630188, 0.3513498902320862, 0.46538811922073364, -0.3285534381866455, 0.11647769063711166, 0.03686520457267761, 0.005896955728530884, 0.28704848885536194, -0.052037563174963, -0.09292950481176376, 0.06408758461475372, 0.06696191430091858, -0.4993895888328552, 0.04280337691307068, -0.3393656313419342, -0.06682655215263367, -0.10179314017295837, 0.07294756919145584, -0.23151560127735138, 0.5714292526245117, -0.043337926268577576, -0.006398186087608337, -0.022564401850104332, 0.3422170877456665, 0.11330066621303558, 0.10211574286222458, -0.22470660507678986, 0.13271696865558624, 0.21357086300849915, -0.24466732144355774, 0.4182157516479492, 0.20217499136924744, 0.19029445946216583, 0.3095225691795349, 0.26062747836112976, 0.03197992220520973, -0.25459396839141846, -0.028299832716584206, -0.05336187407374382, 0.3327248692512512, 0.29299092292785645, -0.5504987835884094, 0.0058006588369607925, 0.15984462201595306, -0.15912555158138275, -0.12897023558616638, 0.2602955996990204, 0.06834079325199127, -0.04960285872220993, 0.21635830402374268, 0.052590444684028625, -0.0675865113735199, -0.08357548713684082, 0.33679288625717163, -0.261611670255661, -0.12147913873195648, 0.8795847296714783, 0.5245967507362366, -0.015449555590748787, -0.04093803092837334, 0.09846951812505722, -0.024634581059217453, 0.4459134340286255, -0.13867948949337006, -0.14716485142707825, -0.3173506259918213, 0.13992835581302643, -0.19917717576026917, 0.10494653135538101, 0.015375848859548569, -0.050140853971242905, 0.055910345166921616, -0.03348309546709061, 0.3156874179840088, -0.1510031670331955, 0.10521581768989563, 0.07234517484903336, 0.10514797270298004, -0.1247435063123703, -0.27654504776000977, -0.16644160449504852, 0.22417791187763214, 0.33533066511154175, 0.18551835417747498, -0.2630152106285095, 0.20439067482948303, -0.4599234163761139, 0.12319367378950119, -0.3694249391555786, 0.07729911804199219, 0.5826824307441711, 0.3049534261226654, 0.5180368423461914, -0.22436848282814026, 0.12413094192743301, 0.02219400927424431, -0.04981181025505066, -0.03296736255288124, -0.3392859101295471, -0.07493290305137634, 0.6676897406578064, 0.10131332278251648, -0.16128142178058624, -0.004060090519487858, -0.2643924355506897, -0.2648864984512329, 0.062405847012996674, -0.060547955334186554, -0.25883546471595764, -0.17755132913589478, -0.09382911771535873, 0.261281818151474, -0.024765828624367714, -0.16922970116138458, 0.03665192425251007, 0.1420871466398239, 0.07900349050760269, -0.31170210242271423, -0.3313826024532318, 0.7548190355300903, -0.14895465970039368, 0.03214915096759796, -0.41398853063583374, 0.32319504022598267, 0.28334948420524597, 0.3043484091758728, -0.7125998139381409, 0.09068461507558823, 0.5772179365158081, -0.05877142399549484, -0.6300910711288452, 0.16161519289016724, 0.15232975780963898, 0.0680060088634491, -0.1767236888408661, 0.190242201089859, -0.09781039506196976, -0.04549809545278549, -0.3229650855064392, -0.06087241694331169 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
@bhavitvyamalik Actually, I made the `ReadMe` validation similar to `DatasetMetadata` validation and the class was validating the metadata during the creation. Maybe we need to have a separate validation method instead of having it in `__post_init__`? Wdyt @lhoestq? I'm sensing too many things to look into. It'd be great to discuss these sometime. But if this PR is urgent then @bhavitvyamalik's logic seems good to me. It doesn't need major modifications in validation.
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
73
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. @bhavitvyamalik Actually, I made the `ReadMe` validation similar to `DatasetMetadata` validation and the class was validating the metadata during the creation. Maybe we need to have a separate validation method instead of having it in `__post_init__`? Wdyt @lhoestq? I'm sensing too many things to look into. It'd be great to discuss these sometime. But if this PR is urgent then @bhavitvyamalik's logic seems good to me. It doesn't need major modifications in validation.
[ -0.1266518235206604, -0.01671154797077179, -0.012744978070259094, 0.12163439393043518, 0.3953654170036316, -0.03604801744222641, 0.13455241918563843, 0.2265874743461609, -0.4331236779689789, -0.08664971590042114, 0.21578483283519745, 0.06019654497504234, 0.12122096121311188, 0.06524274498224258, 0.17515984177589417, 0.15716338157653809, 0.039387255907058716, -0.04541175067424774, 0.1377929151058197, 0.0029901042580604553, 0.056717365980148315, -0.2597600817680359, 0.12340177595615387, 0.20913617312908173, -0.1519177407026291, -0.011205179616808891, 0.10557626187801361, -0.10021478682756424, -0.2987828850746155, -0.7633601427078247, 0.052534013986587524, 0.3329671323299408, -0.27682366967201233, -0.008090183138847351, -0.00010479928459972143, -0.010965399444103241, 0.4886825680732727, -0.03903781995177269, -0.121453657746315, 0.12383630871772766, -0.274933785200119, -0.3748070299625397, -0.10591399669647217, -0.13838686048984528, -0.06653416901826859, -0.12195036560297012, -0.10275764763355255, -0.2424284815788269, 0.10660342872142792, 0.10193625837564468, 0.204454243183136, -0.5724040269851685, -0.0081864632666111, 0.13321910798549652, 0.28570556640625, 0.43964314460754395, -0.09852688014507294, -0.06013196334242821, 0.4207927882671356, 0.08354924619197845, 0.10773763060569763, 0.5517861247062683, -0.11582469940185547, 0.0448310449719429, 0.21480506658554077, 0.09978374093770981, 0.27247780561447144, 0.03574958071112633, 0.09795711934566498, 0.4300181269645691, 0.7606980800628662, -0.2987346351146698, -0.4176129698753357, -0.4182690382003784, -0.05256075784564018, -0.2913263142108917, 0.3387271463871002, -0.055695220828056335, -0.1365901380777359, 0.2199900597333908, -0.19808541238307953, -0.045419368892908096, -0.08380323648452759, -0.07310634851455688, 0.1434430330991745, 0.31893694400787354, 0.24804626405239105, 0.030522115528583527, -0.128617525100708, -0.18567480146884918, 0.07096635550260544, -0.14678986370563507, -0.21075287461280823, 0.13377682864665985, 0.05319040268659592, -0.19356556236743927, -0.3485832214355469, -0.1458776891231537, 0.33630234003067017, 0.2411491870880127, -0.13033053278923035, 0.3737340569496155, 0.15054349601268768, 0.07778133451938629, -0.021052110940217972, 0.03233277425169945, 0.6504373550415039, 0.23386414349079132, 0.12870512902736664, -0.14514142274856567, 0.18744121491909027, 0.02449399046599865, 0.1586775779724121, -0.09148214012384415, 0.33188003301620483, 0.09489959478378296, 0.17608459293842316, -0.21109500527381897, -0.2863258719444275, 0.27773427963256836, -0.22751545906066895, -0.3118799030780792, 0.17847666144371033, 0.07275646179914474, -0.044359706342220306, -0.17117002606391907, -0.0214617308229208, -0.33771640062332153, 0.25839245319366455, -0.11656557768583298, -0.06002756953239441, 0.02975454181432724, -0.018913250416517258, 0.5010513067245483, 0.20212820172309875, -0.004940731450915337, 0.26659533381462097, -0.018962251022458076, -0.09694358706474304, 0.017474032938480377, 0.22098927199840546, -0.03951874375343323, 0.27537673711776733, 0.2887541949748993, -0.5499746799468994, 0.08038142323493958, 0.008807588368654251, -0.3902342915534973, -0.14981088042259216, 0.09470262378454208, -0.20832255482673645, -0.3189179301261902, 0.0924997627735138, 0.29579275846481323, 0.015335191041231155, -0.022959619760513306, 0.016023755073547363, 0.20017895102500916, 0.5299704670906067, -0.07228735089302063, 0.31576234102249146, 0.2310224175453186, 0.12748028337955475, -0.04053450748324394, 0.0841422975063324, 0.3998539447784424, -0.19978588819503784, -0.06242789328098297, 0.04170699790120125, -0.0031447596848011017, -0.1659998595714569, -0.30079469084739685, -0.2212655246257782, 0.17866238951683044, 0.07450654357671738, 0.20507274568080902, 0.21525315940380096, -0.7193074822425842, -0.04079613834619522, 0.23429560661315918, 0.033756569027900696, 0.12306328862905502, 0.3081863820552826, -0.1283101886510849, 0.1385321021080017, -0.06561422348022461, 0.12811288237571716, -0.05970098078250885, -0.22447067499160767, -0.15049393475055695, -0.4008311629295349, 0.14643533527851105, 0.027414388954639435, 0.09477269649505615, -0.061898913234472275, -0.38779422640800476, 0.03207063674926758, -0.07551920413970947, 0.2384258210659027, -0.026026304811239243, 0.2511405050754547, 0.19221578538417816, 0.4952548146247864, 0.07603372633457184, 0.08880425989627838, -0.05290255323052406, -0.2643461227416992, 0.012953553348779678, 0.3188399374485016, 0.12455419450998306, -0.20887385308742523, -0.2581939995288849, -0.24499070644378662, -0.18691876530647278, -0.3154858350753784, -0.30702054500579834, 0.1585661768913269, 0.18263517320156097, -0.22261306643486023, -0.19255973398685455, -0.12476439774036407, 0.5757489800453186, -0.30649855732917786, 0.19457057118415833, 0.05835548788309097, -0.052651144564151764, 0.019542116671800613, 0.000020589679479599, -0.35316118597984314, 0.09071038663387299, 0.0772910788655281, -0.10261755436658859, -0.012607555836439133, 0.5804104804992676, 0.35961395502090454, -0.35146403312683105, -0.20410075783729553, 0.11865921318531036, 0.16407634317874908, -0.08891229331493378, -0.027340052649378777, -0.284913033246994, -0.1113484725356102, -0.015368271619081497, -0.15708667039871216, 0.08678343147039413, -0.2275296300649643, -0.10955645889043808, -0.18450061976909637, -0.2665983736515045, 0.24913239479064941, -0.08693745732307434, -0.5194060206413269, -0.45597967505455017, -0.12333181500434875, -0.1905040591955185, 0.34081587195396423, 0.054942384362220764, -0.07216110825538635, -0.0032295063138008118, 0.38157662749290466, 0.0010663419961929321, 0.18056705594062805, 0.062372613698244095, 0.13545045256614685, 0.06114877015352249, 0.014183512888848782, 0.19124798476696014, 0.21185371279716492, 0.07817849516868591, -0.349035382270813, 0.15454818308353424, 0.11127015203237534, -0.1887458711862564, 0.41011595726013184, 0.18255168199539185, 0.2931446135044098, 0.12229140847921371, -0.036225542426109314, 0.08305133134126663, -0.26335984468460083, 0.024265959858894348, 0.39714285731315613, 0.06733708083629608, -0.24842983484268188, 0.1528933197259903, -0.22828178107738495, -0.09705939888954163, -0.2978484332561493, -0.31962084770202637, -0.3571406900882721, -0.16583481431007385, 0.2981905937194824, -0.25825992226600647, -0.09896156191825867, 0.4966636896133423, 0.13650166988372803, 0.05139422416687012, -0.09584218263626099, -0.47646498680114746, -0.1433834284543991, -0.1191314235329628, -0.2438061535358429, 0.08937637507915497, 0.08800406754016876, -0.23136673867702484, 0.49087682366371155, -0.04578683525323868, 0.16497574746608734, -0.28593847155570984, -0.7175178527832031, 0.06641840189695358, -0.06870879977941513, 0.2408488690853119, 0.08743073046207428, 0.10500940680503845, 0.10163722932338715, -0.08441359549760818, 0.13043999671936035, 0.23677077889442444, -0.1752704530954361, -0.03840581327676773, 0.06972815096378326, -0.17786574363708496, -0.283184289932251, -0.46999290585517883, -0.3579833209514618, -0.049988336861133575, -0.010943509638309479, -0.088896244764328, 0.06829637289047241, 0.44312164187431335, -0.18592692911624908, -0.23012256622314453, -0.3570941090583801, 0.18708743155002594, -0.1549605429172516, -0.20335417985916138, 0.05131467804312706, 0.05103227496147156, 0.10162992775440216, -0.08000416308641434, 0.08780815452337265, 0.07182013988494873, -0.0557200163602829, -0.09552837908267975, -0.1810835599899292, 0.2543693482875824, 0.2001054584980011, 0.09399275481700897, -0.28026947379112244, 0.2466394007205963, 0.26393696665763855, -0.08194439858198166, -0.0790172889828682, -0.2519147992134094, 0.1783580780029297, -0.2574848532676697, 0.3476260006427765, -0.21445176005363464, 0.052150189876556396, -0.03258666768670082, 0.09031842648983002, -0.050458185374736786, -0.24144919216632843, 0.1244911253452301, 0.14595149457454681, 0.16549746692180634, 0.030035771429538727, -0.36000052094459534, -0.027654606848955154, 0.0587763637304306, 0.10283263027667999, 0.16850505769252777, -0.1550268828868866, 0.04620380699634552, -0.035347241908311844, 0.09944161772727966, -0.30622220039367676, -0.26546505093574524, -0.025736117735505104, -0.06395280361175537, -0.0053031593561172485, 0.1956278383731842, 0.2400721311569214, 0.012203780934214592, -0.1536237895488739, 0.10969257354736328, 0.365731418132782, -0.1811135709285736, -0.09573674947023392, -0.4258059561252594, 0.03408060595393181, 0.1290406435728073, 0.224716454744339, 0.20662081241607666, 0.16935403645038605, 0.02579057589173317, -0.010043323040008545, -0.06135709583759308, 0.01744259148836136, 0.282589316368103, -0.5244243144989014, -0.25319474935531616, 0.04554475471377373, 0.16452428698539734, 0.28104761242866516, -0.31274697184562683, 0.09605970978736877, -0.04036717861890793, 0.21600940823554993, 0.49924612045288086, -0.5992787480354309, -0.22242489457130432, 0.22013671696186066, -0.08171457052230835, -0.1345359832048416, 0.07144361734390259, -0.23190368711948395, -0.15680670738220215, -0.14482082426548004, 0.10609474033117294, -0.18439851701259613, 0.2824755012989044, 0.22224292159080505, 0.1397012323141098, 0.13029290735721588, 0.3223361074924469, 0.12927111983299255, 0.26709675788879395, 0.14650630950927734, -0.08114758133888245, 0.253569632768631, -0.09778767824172974, 0.4849714934825897, 0.4956757426261902, 0.03207334131002426, -0.5123682022094727, -0.09769952297210693, -0.1512063443660736, -0.29755640029907227, 0.4134264588356018, 0.28314292430877686, 0.011180941015481949, 0.2618938684463501, 0.2511019706726074, -0.049559593200683594, -0.1870422065258026, 0.0698767900466919, 0.128072589635849, 0.10946875810623169, -0.4929835796356201, -0.7295014262199402, 0.5894608497619629, 0.1745017170906067, -0.2624046802520752, 0.2537897825241089, 0.3257538080215454, -0.5546979904174805, -0.1074867844581604, 0.40912067890167236, 0.8659961819648743, -0.024279460310935974, -0.06409366428852081, -0.11089938133955002, 0.09532211720943451, 0.09707629680633545, -0.434182345867157, 0.11328042298555374, -0.43588098883628845, -0.13633467257022858, 0.0875474289059639, 0.09439919888973236, 0.5421492457389832, 0.27034440636634827, -0.31320589780807495, -0.0034770099446177483, 0.3025321364402771, 0.40101906657218933, -0.11708979308605194, 0.3814564049243927, -0.08638275414705276, -0.16947752237319946, 0.00395291019231081, 0.10741907358169556, -0.20803456008434296, -0.028559301048517227, -0.0020295297726988792, -0.23195715248584747, 0.02585669234395027, -0.29329222440719604, -0.2107733190059662, -0.3077704906463623, -0.27132749557495117, 0.014894489198923111, 0.23713941872119904, -0.15146273374557495, 0.061215419322252274, -0.43107450008392334, 0.3298255205154419, 0.2941513657569885, -0.10445849597454071, 0.23733758926391602, 0.004723601043224335, 0.16768032312393188, -0.1617666631937027, -0.18419185280799866, 0.4052588939666748, -0.0014462843537330627, -0.13442063331604004, -0.1966472864151001, 0.021263785660266876, -0.03447893261909485, -0.18258467316627502, -0.3075154423713684, 0.3887169361114502, -0.4572758376598358, 0.25895944237709045, 0.07347311824560165, 0.24761176109313965, -0.26425307989120483, 0.17911292612552643, 0.049258194863796234, -0.2807709574699402, 0.15896691381931305, 0.05463860183954239, -0.20911279320716858, -0.09055499732494354, -0.17051878571510315, -0.04187614470720291, -0.19998560845851898, 0.25379061698913574, -0.18422913551330566, -0.1547619104385376, -0.29520922899246216, 0.4253232777118683, 0.18047501146793365, -0.09096483141183853, -0.21229423582553864, 0.30399641394615173, -0.4442008137702942, 0.2121572494506836, -0.027357634156942368, 0.130250945687294, 0.31028124690055847, 0.1430186778306961, -0.1399589478969574, -0.26767754554748535, 0.25065430998802185, 0.10974790155887604, 0.16054612398147583, -0.3665895164012909, -0.02972600981593132, -0.176260307431221, 0.3466981053352356, -0.386454313993454, -0.2474764734506607, 0.08272307366132736, 0.27333199977874756, 0.08406342566013336, 0.07310706377029419, 0.047392476350069046, -0.10457557439804077, 0.15594692528247833, 0.09494376182556152, -0.10170622915029526, -0.24837726354599, -0.04180912673473358, 0.11757229268550873, -0.0322350412607193, 0.12088876962661743, -0.07426828891038895, 0.016281362622976303, -0.07785011827945709, -0.1791401207447052, 0.06766584515571594, -0.07392239570617676, 0.08091842383146286, 0.3754958510398865, 0.009618721902370453, 0.08996400237083435, -0.032748136669397354, -0.20290975272655487, -0.2918006181716919, 0.35857802629470825, 0.04166629537940025, -0.03538620471954346, -0.08826231211423874, -0.01578868180513382, 0.10356339812278748, 0.09616794437170029, 0.12338089942932129, 0.019462792202830315, 0.007413953542709351, -0.28898006677627563, -0.051273901015520096, 0.18129770457744598, 0.21392542123794556, 0.35381096601486206, -0.08492308109998703, -0.38406407833099365, 0.15478387475013733, 0.2316269874572754, -0.23008160293102264, -0.05784682184457779, 0.1590873748064041, -0.15115760266780853, 0.05399039760231972, 0.25661712884902954, 0.12080302834510803, 0.1703319251537323, -0.24339096248149872, 0.2255534827709198, 0.6365683674812317, -0.1809891015291214, 0.025712931528687477, 0.4493775963783264, -0.06837833672761917, 0.008092604577541351, 0.39332398772239685, 0.2427920699119568, 0.12789073586463928, 0.3780033588409424, -0.004711084067821503, 0.4385163486003876, 0.12481057643890381, -0.06905579566955566, -0.1651877760887146, 0.017293110489845276, 0.36760392785072327, 0.4125564992427826, -0.09272144734859467, 0.006472736597061157, 0.12344352900981903, -0.09164058417081833, 0.2078428715467453, -0.18482108414173126, -0.19456356763839722, 0.019142305478453636, 0.03786757215857506, -0.1864342987537384, 0.04197298735380173, -0.2575373947620392, 0.0798020213842392, -0.14401349425315857, 0.06295634806156158, -0.31171321868896484, 0.500029981136322, -0.08665688335895538, 0.020534761250019073, -0.11198157072067261, 0.23699045181274414, 0.06587648391723633, 0.2412041425704956, -0.24465076625347137, 0.07480335235595703, 0.22093620896339417, -0.27514582872390747, 0.1765374094247818, 0.2991340160369873, 0.12037196755409241, 0.25645315647125244, 0.052440445870161057, 0.08461938798427582, -0.3714062571525574, -0.1228334978222847, 0.10558508336544037, 0.42382335662841797, 0.32665640115737915, -0.45613232254981995, 0.002208039164543152, 0.14803163707256317, -0.14347882568836212, 0.022446567192673683, 0.24970240890979767, -0.05207280442118645, -0.08093470335006714, 0.05160308629274368, 0.22488006949424744, -0.19631484150886536, -0.08885391056537628, 0.11018295586109161, -0.11629427969455719, -0.2645067572593689, 0.7790215611457825, 0.4890478849411011, 0.018971912562847137, -0.2956197261810303, 0.11055813729763031, 0.16110821068286896, 0.3589426875114441, 0.08772918581962585, -0.13560432195663452, -0.2313036173582077, 0.15884383022785187, -0.4940788149833679, 0.0023408085107803345, -0.12553606927394867, -0.1145319938659668, 0.01333432924002409, -0.05369684845209122, 0.33933791518211365, -0.045073002576828, -0.0548345148563385, 0.034702520817518234, 0.03058929741382599, -0.139542356133461, -0.2961600422859192, -0.07747747004032135, 0.3020133674144745, 0.13964934647083282, 0.18770921230316162, -0.13789045810699463, 0.2093442678451538, -0.2898692488670349, 0.15433236956596375, -0.2560861110687256, 0.11367988586425781, 0.627373993396759, 0.42431116104125977, 0.3062927722930908, -0.059264808893203735, 0.1408652365207672, 0.015718594193458557, -0.10794153064489365, 0.02847054973244667, -0.29937952756881714, -0.18624737858772278, 0.7491068243980408, 0.12719783186912537, 0.10600154101848602, 0.10224014520645142, -0.28435686230659485, -0.20272497832775116, 0.13338083028793335, -0.22890549898147583, -0.26668307185173035, -0.3180542588233948, -0.07643105089664459, 0.3052622973918915, 0.06649938970804214, -0.14346227049827576, -0.11292356997728348, 0.03545782342553139, 0.11053106188774109, -0.3542388081550598, -0.61232590675354, 0.623232364654541, -0.21578426659107208, 0.01602489873766899, -0.4073691666126251, 0.29017460346221924, 0.2638417184352875, 0.18378658592700958, -0.7174032926559448, -0.06922750174999237, 0.5511344075202942, -0.012472748756408691, -0.4812552332878113, 0.08814729750156403, 0.17480964958667755, -0.022852610796689987, -0.15217065811157227, 0.2249070554971695, -0.18752902746200562, -0.10701391845941544, -0.19783732295036316, 0.0647849515080452 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
> Maybe we need to have a separate validation method instead of having it in __post_init__? Wdyt @lhoestq? We can definitely have a `is_valid()` method instead of doing it in the post init. > What about adding a pretty name across all configs, and then config-specific names? Let's keep things simple to starts with. If we can allow both single-config and multi-config cases it would already be great :) for single-config: ```yaml pretty_name: Allegro Reviews ``` for multi-config: ```yaml pretty_name: mrpc: Microsoft Research Paraphrase Corpus (MRPC) sst2: Stanford Sentiment Treebank ... ``` To support the multi-config case I see two options: 1. Don't allow DatasetMetadata to have dictionaries but instead have separate DatasetMetadata objects per config 2. allow DatasetMetadata to have dictionaries. It implies to remove the flattening step. Then we could get metadata for a specific config this way for example: ```python from datasets import load_dataset_card glue_dataset_card = load_dataset_card("glue") print(glue_dataset_card.metadata) # DatasetMetatada object with dictionaries since there are many configs print(glue_dataset_card.metadata.get_metadata_for_config("mrpc")) # DatasetMetatada object with no dictionaries since there are only the mrpc tags ``` Let me know what you think or if you have other ideas.
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
188
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. > Maybe we need to have a separate validation method instead of having it in __post_init__? Wdyt @lhoestq? We can definitely have a `is_valid()` method instead of doing it in the post init. > What about adding a pretty name across all configs, and then config-specific names? Let's keep things simple to starts with. If we can allow both single-config and multi-config cases it would already be great :) for single-config: ```yaml pretty_name: Allegro Reviews ``` for multi-config: ```yaml pretty_name: mrpc: Microsoft Research Paraphrase Corpus (MRPC) sst2: Stanford Sentiment Treebank ... ``` To support the multi-config case I see two options: 1. Don't allow DatasetMetadata to have dictionaries but instead have separate DatasetMetadata objects per config 2. allow DatasetMetadata to have dictionaries. It implies to remove the flattening step. Then we could get metadata for a specific config this way for example: ```python from datasets import load_dataset_card glue_dataset_card = load_dataset_card("glue") print(glue_dataset_card.metadata) # DatasetMetatada object with dictionaries since there are many configs print(glue_dataset_card.metadata.get_metadata_for_config("mrpc")) # DatasetMetatada object with no dictionaries since there are only the mrpc tags ``` Let me know what you think or if you have other ideas.
[ -0.09903965145349503, -0.010882511734962463, 0.01961001753807068, 0.08564087003469467, 0.3992379903793335, -0.018336083739995956, 0.18958528339862823, 0.20694424211978912, -0.4037289321422577, 0.03678043186664581, -0.0025855405256152153, 0.20416705310344696, 0.019211988896131516, 0.17918485403060913, 0.01724766381084919, -0.0044190771877765656, -0.06288302689790726, -0.1487155258655548, 0.16867679357528687, 0.09703570604324341, 0.12075486779212952, -0.2385544329881668, 0.15312759578227997, 0.1628440022468567, -0.24066387116909027, -0.019037792459130287, -0.09984292834997177, -0.14157867431640625, -0.14896953105926514, -0.5702143311500549, 0.020390773192048073, 0.38913771510124207, -0.25582659244537354, -0.07872121781110764, -0.00011157977860420942, 0.03731919825077057, 0.3503637909889221, -0.03306814655661583, -0.14578774571418762, -0.030087321996688843, -0.28624778985977173, -0.4286845028400421, -0.05942545086145401, -0.16646745800971985, -0.006817946210503578, -0.06918453425168991, -0.14411279559135437, -0.4241160750389099, 0.138462096452713, -0.01329386793076992, 0.13951078057289124, -0.5436400175094604, -0.14312534034252167, 0.08898258954286575, 0.1867830604314804, 0.3484470248222351, -0.08554884046316147, 0.046341195702552795, 0.35887065529823303, -0.17063143849372864, 0.30350735783576965, 0.48836085200309753, -0.27402156591415405, 0.07247200608253479, 0.09799472242593765, 0.08943358063697815, 0.28374674916267395, 0.009726222604513168, 0.06507411599159241, 0.48313161730766296, 0.5543022751808167, -0.43651196360588074, -0.5131615996360779, -0.458623468875885, 0.021983884274959564, -0.25123974680900574, 0.15666887164115906, -0.15202127397060394, -0.09017437696456909, 0.20993857085704803, -0.013555939309298992, -0.050876107066869736, -0.06998039782047272, 0.06554395705461502, -0.06082308664917946, 0.3109738826751709, 0.2650950849056244, 0.14395642280578613, -0.11151932179927826, -0.14114347100257874, -0.04387105628848076, -0.09943052381277084, -0.04156588390469551, 0.01580864004790783, -0.04538266733288765, -0.015395816415548325, -0.2745898962020874, -0.2975948452949524, 0.315174400806427, 0.2589718699455261, -0.03232497349381447, 0.29445594549179077, 0.22980034351348877, 0.029029009863734245, 0.08799628913402557, -0.030286865308880806, 0.6235067844390869, 0.4342573583126068, 0.18230894207954407, -0.2024242877960205, 0.09688369929790497, 0.03197957202792168, 0.02731483057141304, -0.09960387647151947, 0.11604014039039612, 0.06582960486412048, 0.2808105945587158, -0.13427098095417023, -0.25277507305145264, 0.12164650112390518, -0.24259653687477112, -0.18452025949954987, 0.21676649153232574, 0.17078131437301636, -0.005166199989616871, 0.014139188453555107, -0.004567153751850128, -0.14733967185020447, 0.43718409538269043, -0.00718660606071353, -0.04082738608121872, -0.06426922976970673, 0.00400528684258461, 0.5732258558273315, 0.3642713129520416, -0.09747937321662903, 0.1974303424358368, -0.054339922964572906, 0.0679754689335823, -0.0620250441133976, 0.25446757674217224, -0.069442518055439, 0.24287593364715576, 0.19964446127414703, -0.4408431649208069, 0.1682712733745575, 0.10852256417274475, -0.47034764289855957, -0.25349628925323486, -0.039069026708602905, -0.13602149486541748, -0.37600016593933105, 0.09540577977895737, 0.22456999123096466, 0.05749405920505524, -0.0123080313205719, -0.08987175673246384, 0.26224952936172485, 0.43487322330474854, 0.008351270109415054, 0.21649661660194397, 0.10702082514762878, 0.229272723197937, -0.12204115092754364, 0.13899578154087067, 0.44444894790649414, -0.20022493600845337, -0.20875924825668335, 0.04146774113178253, -0.0516921766102314, -0.11424290388822556, -0.23887769877910614, -0.08243772387504578, 0.18958276510238647, 0.09218791127204895, 0.15548205375671387, 0.19973641633987427, -0.8951621651649475, -0.036980338394641876, 0.17415080964565277, 0.055596694350242615, 0.21975694596767426, 0.3940974771976471, -0.17964418232440948, 0.22116386890411377, 0.0878615528345108, 0.2830948531627655, 0.11836091428995132, -0.20436376333236694, -0.09627537429332733, -0.15882784128189087, 0.04959467798471451, -0.09688128530979156, 0.19974996149539948, -0.05222649499773979, -0.343493789434433, -0.1339242160320282, -0.18088656663894653, 0.25895607471466064, -0.0012935847043991089, 0.2431279718875885, 0.14888450503349304, 0.35452747344970703, 0.285201758146286, 0.045670539140701294, -0.09478631615638733, -0.41985559463500977, 0.048469386994838715, 0.37269553542137146, 0.0999501496553421, -0.30183517932891846, -0.4220581650733948, -0.071806401014328, -0.25963151454925537, -0.37301456928253174, -0.26196765899658203, 0.1599273979663849, 0.3952278196811676, -0.1005593091249466, -0.22302737832069397, -0.18701782822608948, 0.559848427772522, -0.048584144562482834, 0.22729846835136414, 0.13543690741062164, -0.0059799933806061745, 0.13739462196826935, -0.0319393053650856, -0.2727198898792267, 0.1348704844713211, 0.04333701729774475, -0.12606540322303772, 0.0830918401479721, 0.5227671265602112, 0.4060228168964386, -0.37153494358062744, -0.20196735858917236, 0.18225032091140747, 0.21437539160251617, -0.093354731798172, -0.02433614991605282, -0.2181212455034256, -0.11986411362886429, -0.1433081030845642, -0.013336949050426483, 0.1788921356201172, -0.22386185824871063, 0.39302390813827515, -0.17720553278923035, -0.08766164630651474, 0.2687494158744812, -0.07927188277244568, -0.6532949209213257, -0.5361137390136719, -0.1593778282403946, -0.2027532309293747, 0.483583927154541, -0.14733783900737762, -0.1459846794605255, -0.10706346482038498, 0.2276301234960556, 0.07318617403507233, 0.14747917652130127, -0.12730225920677185, 0.12096931040287018, 0.2324380874633789, 0.03535924106836319, 0.2923669219017029, 0.2639878988265991, 0.11565221846103668, -0.3367845416069031, 0.16050921380519867, 0.0898113027215004, -0.13867157697677612, 0.3458290100097656, 0.24356484413146973, 0.2994653880596161, 0.12063491344451904, 0.0193102415651083, 0.036031223833560944, -0.12978388369083405, -0.2968059182167053, 0.2835886478424072, -0.04645802825689316, -0.19581563770771027, 0.1735769361257553, -0.2847003638744354, -0.3136851191520691, -0.21205896139144897, -0.49330270290374756, -0.26843759417533875, -0.17358121275901794, 0.1844744086265564, -0.38336971402168274, -0.17206542193889618, 0.47641152143478394, 0.15502998232841492, -0.02436697483062744, -0.14030450582504272, -0.6726837754249573, -0.1071835607290268, -0.1878928691148758, -0.15179279446601868, 0.014801785349845886, 0.05317506939172745, -0.23296722769737244, 0.49566152691841125, 0.01949947513639927, 0.07492795586585999, -0.2802414298057556, -0.6015231013298035, 0.10842254012823105, -0.05984984338283539, 0.18141929805278778, 0.18454694747924805, -0.016601644456386566, 0.1659589260816574, -0.20497563481330872, 0.261920690536499, 0.4234895408153534, 0.054952047765254974, -0.03700532019138336, 0.020704135298728943, -0.021476246416568756, -0.18603827059268951, -0.22568902373313904, -0.5381066799163818, -0.12011511623859406, 0.10036510229110718, -0.2521231174468994, 0.1436024308204651, 0.4430081248283386, -0.20449654757976532, -0.11456183344125748, -0.4971902072429657, 0.353310227394104, -0.01781317964196205, -0.028791572898626328, 0.04558806121349335, -0.041772544384002686, 0.11657784879207611, -0.27135464549064636, 0.007781028747558594, 0.10250337421894073, 0.036929652094841, -0.06115458533167839, -0.19338983297348022, 0.18830981850624084, 0.23727160692214966, 0.1699380874633789, -0.16225379705429077, 0.16378894448280334, 0.34173792600631714, 0.007330829277634621, -0.02362404577434063, -0.3586362302303314, 0.1784466803073883, -0.1413516402244568, 0.1998143345117569, -0.038800761103630066, 0.03916336968541145, -0.0128345787525177, 0.0037216469645500183, 0.12978936731815338, -0.04271077737212181, 0.21944181621074677, 0.03516152873635292, 0.09032607078552246, 0.1407437026500702, -0.4552566409111023, -0.2032872587442398, -0.028306245803833008, 0.14853885769844055, 0.12198638916015625, -0.04699961096048355, 0.02628442272543907, -0.21264366805553436, 0.14441566169261932, -0.31262776255607605, -0.22972311079502106, -0.028122005984187126, -0.26229390501976013, -0.042567960917949677, 0.18367455899715424, 0.09295288473367691, -0.04511100426316261, 0.10390598326921463, 0.1384725123643875, 0.3823789954185486, -0.3977245092391968, -0.16439887881278992, -0.39092883467674255, -0.06597721576690674, 0.13723990321159363, 0.22699829936027527, 0.24192504584789276, 0.08580787479877472, 0.11954003572463989, 0.013404883444309235, -0.029184453189373016, 0.05369145795702934, 0.40119343996047974, -0.3240181803703308, -0.3458241820335388, 0.24664956331253052, 0.030574075877666473, 0.07876002043485641, -0.3512536287307739, -0.0340481661260128, -0.015738191083073616, 0.27811580896377563, 0.47731244564056396, -0.6548008322715759, -0.28816983103752136, 0.11068332940340042, 0.07471852004528046, -0.06461852788925171, 0.07890282571315765, -0.06849846243858337, -0.26550713181495667, -0.06967903673648834, -0.0625976100564003, -0.21801984310150146, 0.3892291188240051, 0.25606802105903625, 0.08089496195316315, 0.021664554253220558, 0.24375087022781372, 0.0861225426197052, 0.2869759798049927, 0.19547110795974731, -0.1902046799659729, 0.3743658661842346, 0.02263559214770794, 0.5010999441146851, 0.4970957934856415, 0.11716869473457336, -0.5221207737922668, -0.24465781450271606, -0.2438887357711792, -0.2103314846754074, 0.4648779630661011, 0.18254631757736206, -0.030562076717615128, 0.1530953049659729, 0.03575019910931587, -0.00925695151090622, -0.13441137969493866, 0.07451821118593216, 0.11654186993837357, 0.10805175453424454, -0.5391902923583984, -0.7893053293228149, 0.6522347927093506, 0.4053761661052704, -0.21263955533504486, 0.50129234790802, 0.4224092960357666, -0.6162357926368713, 0.0448223240673542, 0.15630313754081726, 0.7403736114501953, -0.0934276431798935, -0.04429754242300987, 0.019471140578389168, 0.09569717943668365, 0.26858803629875183, -0.25849074125289917, 0.11225087195634842, -0.2149467170238495, -0.1643727421760559, 0.12974606454372406, 0.03140469267964363, 0.5063616633415222, 0.3670327067375183, -0.38490724563598633, 0.11386194080114365, 0.1141137033700943, 0.23114897310733795, -0.17143045365810394, 0.33896154165267944, -0.16232256591320038, -0.2697913646697998, -0.01900705322623253, 0.003105640411376953, -0.25897806882858276, 0.022743981331586838, -0.02258078008890152, -0.17440208792686462, -0.1289881318807602, -0.2745528817176819, -0.31116917729377747, -0.34746238589286804, -0.41268208622932434, 0.04096192121505737, 0.20022474229335785, 0.0991985946893692, -0.09159883856773376, -0.43877917528152466, 0.2674764394760132, 0.2363126128911972, -0.08967430889606476, 0.08101795613765717, 0.10444092750549316, 0.08208896964788437, -0.1231171265244484, -0.25636252760887146, 0.33914849162101746, -0.014218350872397423, -0.1680460125207901, -0.09817657619714737, 0.11268124729394913, -0.03925159573554993, -0.19362597167491913, -0.16845731437206268, 0.2673332691192627, -0.2898085415363312, 0.2916104793548584, 0.15248367190361023, 0.2759009599685669, -0.26503559947013855, 0.13228249549865723, 0.17873257398605347, -0.3168829083442688, 0.37588661909103394, -0.11786161363124847, -0.12286444008350372, -0.0853615254163742, -0.2664335370063782, -0.035337015986442566, -0.2920464873313904, 0.2926426827907562, -0.15729230642318726, -0.14173808693885803, -0.20980051159858704, 0.33773019909858704, -0.030062265694141388, -0.03581463173031807, -0.019603751599788666, 0.3120661675930023, -0.389434814453125, 0.1459464132785797, 0.01454928144812584, 0.07361477613449097, 0.3761705458164215, 0.09106381237506866, -0.17543065547943115, -0.18539223074913025, 0.3351789116859436, 0.24933966994285583, 0.19451378285884857, -0.35390332341194153, 0.035427771508693695, -0.25756528973579407, 0.3560025691986084, -0.31153374910354614, -0.20771658420562744, 0.12509669363498688, 0.28352516889572144, 0.19591155648231506, 0.1652534306049347, -0.028473036363720894, 0.011217605322599411, 0.18799687922000885, 0.04471942037343979, 0.013009612448513508, -0.22891905903816223, -0.14572091400623322, 0.14552544057369232, 0.026512041687965393, 0.05980744957923889, 0.016289450228214264, -0.06396026164293289, -0.005191188305616379, -0.2457120418548584, 0.18340712785720825, 0.1312052309513092, 0.06822056323289871, 0.4069766104221344, 0.028796810656785965, 0.04051090031862259, 0.052805617451667786, 0.00035369768738746643, -0.16279099881649017, 0.2224102020263672, 0.1284806728363037, 0.212205708026886, -0.19658634066581726, -0.09124789386987686, 0.10542368143796921, 0.13231222331523895, -0.06973689794540405, 0.05896712839603424, -0.0010085180401802063, -0.15594077110290527, -0.03242381662130356, 0.31991690397262573, 0.23207351565361023, 0.5440568327903748, -0.07521916180849075, -0.14751362800598145, 0.10558486729860306, 0.22124135494232178, -0.20319081842899323, -0.10083863139152527, 0.1125299334526062, -0.14454321563243866, 0.15706521272659302, 0.48423975706100464, 0.038544509559869766, -0.009477369487285614, -0.39812523126602173, 0.05730115622282028, 0.46348661184310913, 0.03177742287516594, 0.09218268096446991, 0.49349284172058105, 0.022412549704313278, -0.14114132523536682, 0.20120146870613098, 0.36792218685150146, 0.19787809252738953, 0.22935344278812408, -0.1248328909277916, 0.38654959201812744, 0.03270545229315758, -0.23216402530670166, 0.0889020562171936, 0.05361933633685112, 0.36276715993881226, 0.3225066065788269, -0.20998474955558777, -0.00571800023317337, -0.09165182709693909, -0.08251405507326126, 0.07391111552715302, -0.048382606357336044, -0.032977886497974396, 0.10960724949836731, 0.1780981719493866, -0.34156522154808044, 0.04429738223552704, -0.23829510807991028, -0.008941374719142914, -0.19604770839214325, 0.06234763562679291, -0.4481944441795349, 0.7112331390380859, -0.07496434450149536, 0.02921013906598091, -0.2389708012342453, 0.29104673862457275, 0.062247972935438156, 0.23991945385932922, -0.2970832586288452, 0.016110356897115707, 0.27743393182754517, -0.3440214991569519, 0.05144121125340462, 0.2756175994873047, 0.17711995542049408, 0.2339862436056137, 0.08330944180488586, 0.09209054708480835, -0.4923507273197174, -0.09063614159822464, -0.011311822570860386, 0.3495020270347595, 0.19819962978363037, -0.5525761246681213, 0.06755849719047546, 0.09314054995775223, -0.11633189767599106, -0.13142602145671844, 0.1798362284898758, 0.02395731396973133, -0.09990711510181427, 0.13550126552581787, 0.14776374399662018, -0.12450388073921204, 0.18589873611927032, 0.17680148780345917, -0.30583077669143677, -0.4391549527645111, 0.8475648164749146, 0.45134273171424866, 0.0412711426615715, -0.11732001602649689, 0.0759422555565834, 0.047190114855766296, 0.1703794002532959, 0.07592758536338806, 0.0998716950416565, -0.3016747832298279, 0.08527448773384094, -0.24160563945770264, -0.13396477699279785, -0.1614234894514084, -0.265004962682724, 0.043698906898498535, 0.0705060288310051, 0.3172585964202881, 0.021581746637821198, 0.05900915712118149, 0.14865531027317047, 0.04448584094643593, -0.04903026670217514, -0.30970144271850586, -0.11000227928161621, 0.16424715518951416, 0.19642485678195953, 0.30389586091041565, -0.2996920943260193, 0.15830324590206146, -0.18368300795555115, 0.08278106898069382, -0.43118828535079956, 0.22130250930786133, 0.6577609777450562, 0.1588992476463318, 0.31474626064300537, -0.14988236129283905, 0.057217568159103394, 0.06807491928339005, -0.13914401829242706, -0.11731366813182831, -0.15478476881980896, -0.17406179010868073, 0.6158291101455688, 0.06798504292964935, 0.03702855482697487, -0.10832210630178452, -0.23528070747852325, -0.1357712745666504, 0.05288035422563553, -0.1284814029932022, -0.311492383480072, -0.1545858383178711, -0.028738390654325485, 0.3408166468143463, -0.05528473109006882, -0.19937527179718018, -0.008592899888753891, -0.005741119384765625, 0.22574564814567566, -0.22406019270420074, -0.5958325862884521, 0.6499252319335938, -0.08088550716638565, -0.023840751498937607, -0.3537502586841583, 0.314846932888031, 0.185219407081604, 0.33234795928001404, -0.5776285529136658, -0.055022869259119034, 0.6327609419822693, -0.05824439972639084, -0.5638573169708252, 0.1847238391637802, 0.26654624938964844, -0.0977218747138977, -0.12958313524723053, -0.019913844764232635, -0.209711492061615, -0.08429430425167084, -0.2693271040916443, 0.014697831124067307 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
I think Option 2 is better. Just to clarify, will `get_metadata_for_config` also return common details, like language, say?
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
18
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. I think Option 2 is better. Just to clarify, will `get_metadata_for_config` also return common details, like language, say?
[ -0.07254195958375931, -0.21992653608322144, -0.08647792786359787, 0.26618143916130066, 0.0727175623178482, -0.1519067883491516, 0.14373676478862762, 0.23654206097126007, -0.5405951738357544, 0.010476075112819672, 0.07810547947883606, 0.14842954277992249, 0.08294941484928131, 0.09490613639354706, 0.1455630362033844, 0.1426633894443512, 0.06962019205093384, -0.12156032025814056, 0.1734856218099594, -0.13150838017463684, -0.06645020097494125, -0.06528683751821518, 0.12782859802246094, 0.2883457541465759, -0.17471587657928467, 0.2996898889541626, -0.07141873985528946, -0.07481122761964798, -0.035744309425354004, -0.45330142974853516, -0.1272042989730835, 0.15303532779216766, -0.1453218311071396, -0.25092288851737976, -0.00011791205906774849, -0.18527241051197052, 0.40064942836761475, -0.11906329542398453, -0.11348959803581238, 0.08628170192241669, -0.3137037754058838, -0.6360301971435547, -0.13290227949619293, -0.19536130130290985, 0.12163766473531723, 0.011380580253899097, 0.008927417919039726, -0.2627459764480591, -0.2834007740020752, -0.1789151132106781, 0.13161805272102356, -0.6822851896286011, -0.27229323983192444, 0.18186409771442413, 0.5055745244026184, 0.3612213730812073, 0.02999589405953884, -0.005173550918698311, 0.38393905758857727, 0.23078683018684387, 0.233383446931839, 0.692749559879303, -0.2125372439622879, -0.04568568244576454, 0.07703353464603424, 0.3290998935699463, 0.18808746337890625, 0.08576348423957825, 0.4636284410953522, 0.20102694630622864, 0.8014182448387146, -0.13314726948738098, -0.30029016733169556, -0.3974002003669739, -0.03569537401199341, -0.25970926880836487, 0.14010071754455566, -0.19077448546886444, -0.00024493783712387085, 0.10534915328025818, -0.16829532384872437, -0.34849968552589417, 0.08445511758327484, 0.052455294877290726, -0.13037705421447754, 0.342592716217041, 0.1760740429162979, 0.2005610167980194, -0.3359638750553131, -0.28683769702911377, -0.08766435086727142, -0.28085991740226746, -0.11549267172813416, 0.008099792525172234, 0.23835840821266174, 0.022230803966522217, -0.2274867594242096, -0.31263697147369385, 0.27525678277015686, 0.35044652223587036, -0.27285417914390564, 0.2085844874382019, 0.19207574427127838, -0.006038688123226166, -0.12986929714679718, -0.16458338499069214, 0.7559955716133118, 0.38206255435943604, 0.08058222383260727, -0.3860076665878296, 0.31389299035072327, -0.0703103318810463, -0.139726921916008, 0.14452387392520905, 0.1302594393491745, 0.11405768245458603, 0.2677640914916992, -0.14210465550422668, -0.22546881437301636, 0.28128498792648315, -0.23078644275665283, -0.4228208065032959, 0.14826855063438416, 0.030599962919950485, -0.027979597449302673, -0.04316745698451996, -0.05488210916519165, -0.22901789844036102, 0.4717414081096649, -0.12492763251066208, -0.08339773863554001, -0.3169514834880829, 0.0075061507523059845, 0.5104995965957642, 0.08927443623542786, 0.05493592843413353, 0.42524680495262146, -0.14211995899677277, -0.018097013235092163, 0.06317948549985886, 0.03399806469678879, -0.015473928302526474, 0.21914803981781006, 0.20893968641757965, -0.41254788637161255, 0.2487383335828781, -0.09594431519508362, -0.3195919394493103, -0.23216426372528076, 0.26246729493141174, -0.25127601623535156, -0.4368067681789398, 0.21374541521072388, 0.20295962691307068, 0.21860381960868835, 0.030175747349858284, -0.03822223097085953, 0.465140700340271, 0.4183366894721985, -0.030742138624191284, 0.3234064280986786, 0.1621544361114502, 0.18527649343013763, -0.17672836780548096, 0.09487177431583405, 0.3915865421295166, -0.1627587527036667, -0.0770401731133461, 0.22940388321876526, 0.10504657030105591, 0.09799253195524216, -0.2759397029876709, -0.13310441374778748, -0.03516601026058197, 0.17401772737503052, 0.2422318309545517, 0.4022592306137085, -0.7269743084907532, -0.064381904900074, 0.30132296681404114, 0.08886334300041199, 0.15109187364578247, 0.31583812832832336, -0.08480262756347656, 0.015379885211586952, 0.2310805469751358, 0.29761481285095215, -0.04848942905664444, -0.18696022033691406, -0.14915665984153748, -0.06929616630077362, 0.1091192215681076, 0.07893446087837219, 0.035647451877593994, 0.07063552737236023, -0.17075642943382263, -0.09025663882493973, -0.11361965537071228, 0.4573700726032257, 0.1582598090171814, 0.19764187932014465, 0.08641263097524643, 0.38784059882164, 0.2293022722005844, 0.17138488590717316, 0.11735338717699051, -0.3162246346473694, 0.00907120481133461, 0.22012779116630554, -0.12904179096221924, -0.23707742989063263, -0.2508832812309265, 0.036147214472293854, -0.18775077164173126, -0.12542855739593506, -0.2786562144756317, 0.07665272802114487, 0.449663370847702, -0.27098560333251953, -0.34914201498031616, -0.08423078060150146, 0.31274139881134033, -0.13837255537509918, 0.15825143456459045, 0.06845858693122864, 0.06962575018405914, 0.15996232628822327, -0.04093322157859802, -0.3036608099937439, -0.0951305404305458, 0.2010381817817688, -0.08830665051937103, 0.1430346965789795, 0.4481220543384552, 0.26026472449302673, -0.19340883195400238, -0.05617879331111908, 0.13724371790885925, 0.17695291340351105, 0.01241132989525795, 0.16833917796611786, -0.2207978069782257, -0.07299499213695526, -0.09803661704063416, 0.0009849406778812408, -0.0010416284203529358, 0.009707773104310036, 0.2563006579875946, -0.1465732455253601, -0.2992120683193207, 0.09686727821826935, 0.21667370200157166, -0.5072318315505981, -0.4060136079788208, -0.25827640295028687, -0.12085328996181488, 0.2893006503582001, -0.07490581274032593, -0.13171446323394775, 0.19721926748752594, 0.5635892748832703, -0.09725958108901978, -0.14784395694732666, 0.1249738484621048, 0.06834311038255692, -0.07919616997241974, 0.004990760236978531, -0.052838459610939026, 0.2502442002296448, 0.1508382111787796, -0.10794992744922638, 0.11653871834278107, 0.3427267372608185, -0.11768212169408798, 0.3487739562988281, 0.3176966905593872, 0.2568969428539276, 0.1433199644088745, -0.01455523818731308, -0.09251660853624344, 0.03684791177511215, -0.26593372225761414, 0.22453029453754425, 0.22049061954021454, -0.04471958428621292, 0.10804309695959091, -0.11613164097070694, -0.24994444847106934, -0.24132227897644043, -0.4555014371871948, -0.46344897150993347, -0.17286986112594604, 0.033762127161026, -0.516033411026001, -0.09183117747306824, 0.3402705788612366, 0.2124512642621994, -0.002170547842979431, -0.12676306068897247, -0.403213232755661, -0.11621645092964172, 0.028511585667729378, -0.32238882780075073, -0.036222685128450394, -0.23705337941646576, -0.5325809121131897, 0.3383060097694397, -0.2415311634540558, 0.2767467498779297, -0.3342333137989044, -0.5386637449264526, 0.14134323596954346, -0.016797855496406555, -0.09547039866447449, 0.1862955093383789, -0.059887588024139404, 0.061803124845027924, -0.010754375718533993, 0.21102561056613922, 0.4530913829803467, 0.10181744396686554, -0.12377260625362396, 0.07405834645032883, -0.08518236875534058, -0.0027826428413391113, -0.31572192907333374, -0.489299476146698, -0.009844467043876648, -0.029456965625286102, -0.029626205563545227, 0.22867821156978607, 0.40535151958465576, -0.2732309103012085, -0.13607493042945862, -0.3782564103603363, 0.35136255621910095, -0.1056007444858551, -0.16599811613559723, -0.20971713960170746, 0.050881437957286835, 0.2586861252784729, -0.32035502791404724, 0.1312401443719864, -0.053895253688097, 0.11738277226686478, -0.17646828293800354, -0.018309950828552246, 0.18199943006038666, 0.30659446120262146, -0.017532922327518463, -0.08788039535284042, 0.07570840418338776, 0.3338496685028076, -0.05599190294742584, 0.011540692299604416, -0.2892438769340515, 0.15711089968681335, -0.15343406796455383, 0.2088858038187027, 0.08071368932723999, -0.08687704801559448, 0.0358329601585865, 0.02674904093146324, 0.23159003257751465, -0.08423693478107452, -0.22668692469596863, 0.00013021379709243774, 0.010914910584688187, 0.19226151704788208, -0.29683783650398254, -0.08065972477197647, 0.05389707535505295, 0.07679270207881927, 0.37450242042541504, -0.01753402128815651, 0.04844670742750168, -0.1967499852180481, -0.21659505367279053, -0.26932182908058167, -0.05090552568435669, -0.0070306770503520966, -0.09319770336151123, 0.031054161489009857, 0.1934240609407425, 0.1978054940700531, -0.11444404721260071, 0.017930135130882263, 0.03914269804954529, 0.4604679346084595, -0.26477906107902527, 0.028301967307925224, -0.29871872067451477, -0.09783444553613663, -0.04351639747619629, 0.35689109563827515, 0.16060882806777954, -0.005147562362253666, 0.05239592120051384, -0.07193277776241302, -0.09527912735939026, 0.020083479583263397, 0.282722532749176, -0.3173493444919586, -0.32949167490005493, -0.04483315348625183, 0.07468091696500778, 0.21332579851150513, -0.3208805322647095, -0.18511506915092468, -0.00032338593155145645, 0.3787226974964142, 0.6756331324577332, -0.5491072535514832, -0.13687826693058014, 0.26857444643974304, 0.006511003244668245, -0.07958094030618668, 0.11661415547132492, -0.16717585921287537, -0.06153180077672005, 0.055984050035476685, -0.0677829161286354, -0.39750349521636963, 0.3155041038990021, 0.2795533537864685, 0.02017112448811531, 0.2879476547241211, 0.14769968390464783, 0.1656993180513382, 0.1196979284286499, 0.09501425921916962, 0.008918858133256435, 0.3352491855621338, 0.05948052927851677, 0.6476701498031616, 0.47092899680137634, -0.0249653160572052, -0.4125908315181732, -0.045637696981430054, -0.09789908677339554, -0.23276518285274506, 0.7327650785446167, 0.35993316769599915, -0.1747693568468094, 0.23364117741584778, 0.11824692785739899, 0.07791857421398163, -0.2018759399652481, 0.02446002885699272, 0.2306683510541916, 0.24256080389022827, -0.609462559223175, -0.740827202796936, 0.7085938453674316, 0.19237105548381805, -0.32279956340789795, 0.25342878699302673, 0.26423126459121704, -0.5505969524383545, -0.29030781984329224, 0.13354620337486267, 0.9386274218559265, -0.07360365986824036, 0.07758694887161255, 0.013853223994374275, 0.002719428390264511, 0.26936471462249756, -0.4438052773475647, 0.08576474338769913, -0.2649277150630951, -0.09162541478872299, 0.060539983212947845, 0.0836961567401886, 0.4349423050880432, 0.26745593547821045, -0.2854197025299072, 0.01327921636402607, 0.1456354558467865, 0.4441626965999603, -0.07995862513780594, 0.19623945653438568, 0.014691202901303768, -0.08436354994773865, 0.10401568561792374, -0.06664677709341049, -0.3017485737800598, 0.2076624035835266, -0.019193867221474648, -0.10088303685188293, -0.2078247368335724, -0.2752528786659241, -0.18635863065719604, -0.29862213134765625, -0.12554681301116943, 0.015150327235460281, 0.17648161947727203, -0.24433307349681854, -0.3760417699813843, -0.6304382681846619, 0.07718179374933243, 0.32155707478523254, -0.04005017131567001, 0.03790117800235748, 0.07240863889455795, 0.22179000079631805, 0.01895133964717388, -0.1687520146369934, 0.06593190133571625, -0.006684534251689911, -0.25294971466064453, -0.008599624037742615, 0.13227896392345428, 0.12728704512119293, -0.45314690470695496, -0.2685256600379944, 0.3614635467529297, -0.32407647371292114, 0.22079841792583466, 0.3087162971496582, 0.1614711880683899, -0.11865413188934326, 0.03440932184457779, 0.2092788815498352, -0.2547988295555115, 0.14071610569953918, 0.20864459872245789, -0.3663317561149597, -0.20494793355464935, -0.20223915576934814, 0.18144750595092773, -0.34911787509918213, 0.18501684069633484, -0.3181454837322235, -0.22039595246315002, -0.032806672155857086, 0.4810982346534729, 0.007171262986958027, -0.01912488415837288, -0.29928070306777954, 0.291835755109787, -0.1453283727169037, 0.117672860622406, -0.18313036859035492, 0.13095977902412415, 0.14861851930618286, 0.09031599760055542, -0.15388967096805573, -0.22291399538516998, 0.3843390941619873, 0.13566114008426666, 0.17420898377895355, -0.3268362879753113, -0.1907660961151123, -0.21675363183021545, 0.13579170405864716, -0.24614699184894562, -0.25122636556625366, 0.27434155344963074, 0.33690133690834045, 0.1816605180501938, 0.17177340388298035, -0.1497306376695633, 0.13997860252857208, 0.11629559099674225, -0.14270494878292084, -0.07267842441797256, -0.08435475826263428, -0.049001000821590424, 0.13364022970199585, -0.06886798143386841, -0.0861043855547905, -0.008953781798481941, -0.1576836258172989, 0.06364941596984863, -0.17228591442108154, 0.20691297948360443, 0.13046061992645264, 0.13153284788131714, 0.36722487211227417, -0.2823276221752167, -0.08144182711839676, -0.09652291238307953, 0.07562562823295593, -0.14580830931663513, 0.28614526987075806, 0.004915024619549513, 0.2549651265144348, -0.13238254189491272, -0.06829990446567535, 0.09750661998987198, 0.23528364300727844, -0.13640089333057404, 0.011634767055511475, 0.05398957431316376, -0.2818683981895447, 0.2461925745010376, 0.14423750340938568, 0.17074237763881683, 0.1940278559923172, 0.04683602601289749, -0.4260455071926117, 0.011336283758282661, 0.1854785829782486, -0.3023712933063507, -0.14652259647846222, 0.02984020859003067, -0.01100097130984068, -0.020038127899169922, 0.38900598883628845, 0.11755934357643127, 0.15561236441135406, -0.10550697147846222, -0.03512813150882721, 0.573337733745575, 0.1223173663020134, -0.1767042875289917, 0.4693688154220581, 0.07286998629570007, 0.146661177277565, 0.28871381282806396, 0.6223565936088562, 0.07035771012306213, 0.3417155146598816, -0.049248360097408295, 0.3072381019592285, 0.17958059906959534, -0.05021584406495094, 0.04058000445365906, -0.12135189771652222, 0.2982836067676544, 0.39055752754211426, -0.2420981526374817, -0.018094703555107117, -0.015475422143936157, -0.15564557909965515, 0.30947843194007874, 0.0090616624802351, 0.09283974766731262, -0.0005065314471721649, -0.02066439390182495, -0.36822977662086487, 0.27180469036102295, -0.45136764645576477, -0.1150100976228714, -0.12110559642314911, 0.01259680837392807, -0.3563999533653259, 0.40171635150909424, -0.1098630428314209, 0.210923969745636, 0.03580610454082489, 0.29797613620758057, -0.21829169988632202, 0.07845259457826614, -0.18382374942302704, 0.09147407859563828, 0.20530930161476135, -0.10555003583431244, 0.3640225827693939, 0.1330394148826599, 0.18567553162574768, 0.266973614692688, 0.2806389033794403, 0.09636039286851883, -0.4416979253292084, -0.03221830353140831, -0.19231614470481873, 0.23743917047977448, 0.23897412419319153, -0.7585633993148804, -0.08700065314769745, 0.02936268039047718, -0.06820303201675415, -0.08003824949264526, 0.38258376717567444, -0.12607742846012115, -0.1510762870311737, 0.03077249974012375, 0.05903540551662445, -0.2606417238712311, 0.1643989086151123, 0.1412227749824524, -0.2431895136833191, -0.37846943736076355, 0.8805938959121704, 0.6236755847930908, -0.07204269617795944, 0.05515354126691818, 0.027481593191623688, -0.12816523015499115, 0.1791401356458664, -0.011566836386919022, 0.08692899346351624, -0.285952091217041, 0.11332036554813385, -0.034094568341970444, -0.057981230318546295, -0.0010338686406612396, -0.22535361349582672, 0.05403801053762436, 0.03199509531259537, 0.41528820991516113, -0.05163378268480301, 0.2318146824836731, 0.07359106093645096, 0.02128780633211136, -0.17662930488586426, -0.1065492331981659, -0.24310259521007538, 0.13104018568992615, 0.2191886305809021, 0.1467539221048355, -0.08914007246494293, 0.217103973031044, -0.31246501207351685, 0.04338287562131882, -0.6397991180419922, 0.08252078294754028, 0.6745625734329224, 0.44452738761901855, 0.30951380729675293, -0.07034037262201309, 0.09238112717866898, 0.041699185967445374, -0.20653393864631653, 0.10247814655303955, -0.2748573422431946, 0.005320725031197071, 0.7589729428291321, -0.005203749984502792, -0.21240341663360596, 0.00987335667014122, -0.3045640289783478, -0.16318465769290924, 0.1703507900238037, -0.015417352318763733, -0.2452419251203537, -0.07138019800186157, -0.060568325221538544, 0.18075275421142578, -0.20674706995487213, -0.21560560166835785, 0.1082167997956276, 0.13445153832435608, 0.018524402752518654, -0.31716349720954895, -0.326335072517395, 0.6949777603149414, 0.0448913611471653, -0.024069661274552345, -0.5557457804679871, 0.38054654002189636, 0.34416061639785767, 0.4508688151836395, -0.6030085682868958, -0.1782907396554947, 0.7535426020622253, -0.16204848885536194, -0.47421902418136597, -0.0472831167280674, 0.1354057639837265, -0.11066508293151855, -0.14095327258110046, 0.10483819246292114, -0.16714543104171753, -0.28328967094421387, -0.2838999927043915, -0.04790998622775078 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
> Just to clarify, will get_metadata_for_config also return common details, like language, say? Yes that would be more convenient IMO. For example a dataset card like this ```yaml languages: - en pretty_name: config1: Pretty Name for Config 1 config3: Pretty Name for Config 2 ``` then `metadat.get_metadata_for_config("config1")` would return something like ```python DatasetMetadata(languages=["en"], pretty_name="Pretty Name for Config 1") ```
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
59
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. > Just to clarify, will get_metadata_for_config also return common details, like language, say? Yes that would be more convenient IMO. For example a dataset card like this ```yaml languages: - en pretty_name: config1: Pretty Name for Config 1 config3: Pretty Name for Config 2 ``` then `metadat.get_metadata_for_config("config1")` would return something like ```python DatasetMetadata(languages=["en"], pretty_name="Pretty Name for Config 1") ```
[ -0.07250425964593887, -0.13115425407886505, -0.11920903623104095, 0.27583616971969604, 0.22726985812187195, -0.09313865005970001, -0.003874693065881729, 0.34373781085014343, -0.6261211633682251, -0.10600714385509491, 0.023199928924441338, 0.28248128294944763, 0.09398290514945984, 0.09197138249874115, 0.16759149730205536, 0.07579748332500458, 0.0591939277946949, -0.15117576718330383, 0.12386541813611984, -0.1624421626329422, 0.02441462129354477, 0.03151277080178261, 0.14141987264156342, 0.3045370578765869, -0.15528272092342377, 0.34126123785972595, -0.1217883825302124, -0.13330987095832825, -0.055675849318504333, -0.457966685295105, -0.0014176424592733383, 0.18583768606185913, -0.18429358303546906, -0.19721612334251404, -0.00012039943976560608, -0.18056800961494446, 0.4105287194252014, -0.14579159021377563, -0.24993334710597992, -0.13452644646167755, -0.1762620508670807, -0.6771929264068604, -0.008406314998865128, -0.16795587539672852, -0.06897227466106415, -0.16236981749534607, -0.12667608261108398, -0.5666056275367737, -0.1362687647342682, -0.03714296966791153, 0.1111396849155426, -0.5954198837280273, -0.3654160499572754, 0.18010492622852325, 0.517884373664856, 0.5012066960334778, 0.0191578958183527, -0.011101767420768738, 0.4730498492717743, 0.12907181680202484, 0.4249204695224762, 0.5945908427238464, -0.2719913423061371, 0.048107635229825974, 0.005626067519187927, 0.3946743607521057, 0.2403261661529541, 0.059847086668014526, 0.490291565656662, 0.22043663263320923, 0.8123509287834167, -0.29559656977653503, -0.36093202233314514, -0.48739221692085266, -0.07726864516735077, -0.26856422424316406, 0.04830295592546463, -0.151222825050354, -0.12089574337005615, 0.05792895704507828, -0.1292092651128769, -0.2968229353427887, 0.1344408392906189, 0.020440727472305298, -0.03882090747356415, 0.5057154297828674, 0.1593477874994278, 0.19357901811599731, -0.25548049807548523, -0.2671279311180115, -0.0034492043778300285, -0.1454845368862152, -0.0819711983203888, 0.13772258162498474, 0.2701186239719391, 0.050630368292331696, -0.1888144612312317, -0.309007853269577, 0.3011706471443176, 0.2737863063812256, -0.23892618715763092, 0.2629672884941101, 0.10846486687660217, -0.030431576073169708, 0.03832249343395233, -0.32088443636894226, 0.6769871711730957, 0.41129693388938904, 0.05221301317214966, -0.42674022912979126, 0.28570622205734253, -0.12048851698637009, -0.10102944076061249, 0.23373624682426453, 0.13329266011714935, 0.23993754386901855, 0.3631168007850647, -0.16470766067504883, -0.17672167718410492, 0.19872277975082397, -0.2208709716796875, -0.4075060188770294, 0.008578666485846043, -0.10599523037672043, -0.08733371645212173, -0.010285407304763794, -0.01404808834195137, -0.3366854786872864, 0.33620181679725647, -0.1272008866071701, -0.04313589632511139, -0.3435435891151428, -0.05014389380812645, 0.4528088867664337, 0.15395958721637726, 0.06568649411201477, 0.4000684320926666, -0.16276481747627258, -0.01716812700033188, 0.12250959873199463, 0.045200981199741364, 0.005883483216166496, 0.22925034165382385, 0.20524872839450836, -0.41780388355255127, 0.34729066491127014, 0.02419128268957138, -0.19865413010120392, -0.3817272484302521, 0.1627155989408493, -0.23255473375320435, -0.23187021911144257, 0.04821663349866867, 0.14958684146404266, 0.24722431600093842, 0.07233016192913055, -0.1846638321876526, 0.2927326261997223, 0.32858118414878845, -0.07646617293357849, 0.32197609543800354, 0.04500956833362579, 0.1599845439195633, -0.06484363973140717, 0.13290244340896606, 0.38018983602523804, -0.22120697796344757, -0.19111880660057068, 0.17273005843162537, 0.08657314628362656, 0.06595371663570404, -0.2877110242843628, -0.09609198570251465, 0.028979379683732986, 0.11193037033081055, 0.11915150284767151, 0.3826839029788971, -0.8234448432922363, -0.07016216963529587, 0.17786210775375366, 0.13542544841766357, 0.3162520229816437, 0.23959502577781677, -0.031209293752908707, 0.13106092810630798, 0.23499640822410583, 0.2612265944480896, 0.09446444362401962, -0.21816566586494446, -0.1818491369485855, 0.08831611275672913, 0.10838817059993744, 0.06000613421201706, -0.022209512069821358, -0.07045519351959229, -0.192312091588974, -0.07697629183530807, -0.07277747988700867, 0.5048196315765381, 0.1314258724451065, 0.22917385399341583, -0.03166733682155609, 0.41507014632225037, 0.3009989261627197, 0.271535724401474, 0.010440710932016373, -0.3585081994533539, 0.008518736809492111, 0.2915188670158386, -0.07814349234104156, -0.4342987537384033, -0.3349062204360962, 0.01778217777609825, -0.1791692078113556, -0.11804172396659851, -0.2940828502178192, 0.06652668118476868, 0.48674851655960083, -0.19415557384490967, -0.20802690088748932, -0.05227356404066086, 0.3830278813838959, 0.030153481289744377, 0.10249999910593033, 0.05725739523768425, 0.07805200666189194, 0.24174776673316956, -0.05606146901845932, -0.20548047125339508, 0.1334172934293747, 0.18440327048301697, -0.09955991804599762, 0.12621696293354034, 0.39312195777893066, 0.35687708854675293, -0.11735787987709045, -0.07377633452415466, 0.19722118973731995, 0.1756855845451355, 0.03331448510289192, 0.15896831452846527, -0.14161309599876404, -0.04425492510199547, -0.1267859786748886, 0.04978792741894722, 0.05805184319615364, -0.02607760950922966, 0.34025782346725464, -0.0487394742667675, -0.1643781065940857, 0.2027241736650467, 0.237659752368927, -0.4512646198272705, -0.4665631651878357, -0.30603307485580444, -0.08704310655593872, 0.2383783906698227, -0.19371141493320465, -0.09640327095985413, 0.2754616141319275, 0.5521333813667297, -0.06768950819969177, -0.12225718051195145, 0.13703283667564392, -0.006541810929775238, 0.006333969533443451, 0.025968287140130997, 0.0050129033625125885, 0.24953757226467133, 0.13813769817352295, 0.0036087408661842346, 0.23535360395908356, 0.34126514196395874, -0.11412455886602402, 0.3378666043281555, 0.31751739978790283, 0.16507168114185333, 0.04352736845612526, 0.048376068472862244, -0.01807156577706337, 0.07569801807403564, -0.2418285608291626, 0.12000343948602676, 0.22834265232086182, -0.060043662786483765, 0.271742582321167, -0.26968440413475037, -0.30980780720710754, -0.16926658153533936, -0.6438671946525574, -0.3473474979400635, -0.20703856647014618, -0.01096801832318306, -0.3565972149372101, 0.021174509078264236, 0.35797879099845886, 0.13464128971099854, 0.022540554404258728, -0.07831297069787979, -0.3838323950767517, -0.1518188863992691, -0.1642499715089798, -0.28897958993911743, -0.032141368836164474, -0.1560535877943039, -0.3907177150249481, 0.3933943808078766, -0.2420685738325119, 0.3173067569732666, -0.4572983682155609, -0.42707154154777527, 0.12365461140871048, -0.08857275545597076, -0.07075880467891693, 0.2322043478488922, -0.07309900224208832, 0.22534967958927155, 0.06788808852434158, 0.1960708349943161, 0.34147900342941284, 0.05707557499408722, -0.21762146055698395, 0.05755678191781044, 0.013040062040090561, -0.13245560228824615, -0.24205830693244934, -0.5487503409385681, 0.05626704916357994, 0.02554868906736374, -0.05122388154268265, 0.24845601618289948, 0.30377671122550964, -0.2995278239250183, -0.08756618201732635, -0.5135148167610168, 0.22217757999897003, -0.12461087852716446, -0.0834442526102066, -0.1697486937046051, -0.02254480868577957, 0.20112751424312592, -0.24151276051998138, 0.1583542376756668, 0.1480913609266281, 0.0061039081774652, -0.17092686891555786, -0.016430668532848358, 0.23346802592277527, 0.25492867827415466, -0.029588371515274048, -0.045942194759845734, 0.12139158695936203, 0.3278333246707916, -0.03907700255513191, 0.017264872789382935, -0.2953132390975952, 0.04201473668217659, -0.2021864652633667, 0.1872539222240448, -0.032610464841127396, 0.0327397882938385, 0.02120194584131241, -0.04988943040370941, 0.09087567031383514, -0.12078723311424255, -0.1371343433856964, -0.0936974287033081, 0.07329228520393372, 0.1918739378452301, -0.32198432087898254, -0.24417531490325928, -0.10241490602493286, 0.14065858721733093, 0.34379178285598755, 0.018583880737423897, 0.11528003215789795, -0.16363057494163513, -0.11420468986034393, -0.27706801891326904, -0.14175757765769958, -0.07727818191051483, -0.22100737690925598, -0.048223644495010376, 0.23634809255599976, 0.19428977370262146, -0.2677290737628937, -0.017894744873046875, 0.05945387855172157, 0.2215101569890976, -0.2752913534641266, 0.014095669612288475, -0.32242172956466675, -0.09139743447303772, 0.046324722468853, 0.35714149475097656, 0.19892150163650513, 0.023389805108308792, 0.05533810332417488, 0.0046896785497665405, -0.06472347676753998, 0.044717174023389816, 0.32488301396369934, -0.19904251396656036, -0.2996629476547241, 0.09482786059379578, 0.04051957279443741, 0.05946076661348343, -0.33652594685554504, -0.15938927233219147, 0.08514271676540375, 0.2973165512084961, 0.6740948557853699, -0.41852524876594543, -0.2376147210597992, 0.17971771955490112, -0.008973898366093636, -0.07024313509464264, 0.20655126869678497, -0.1358325481414795, -0.07474097609519958, 0.033228129148483276, -0.09495697170495987, -0.353591650724411, 0.300464391708374, 0.0731680616736412, -0.02500537596642971, 0.21090996265411377, 0.10794412344694138, 0.17625385522842407, 0.15140853822231293, 0.20574113726615906, -0.04318917170166969, 0.25420644879341125, 0.16431334614753723, 0.5946880578994751, 0.42960068583488464, 0.14172491431236267, -0.31569886207580566, -0.022462375462055206, -0.05657898634672165, -0.22759950160980225, 0.7025326490402222, 0.22605526447296143, -0.08848647773265839, 0.27464747428894043, 0.012183213606476784, 0.049353599548339844, -0.27680596709251404, 0.08242078125476837, 0.234171062707901, 0.18423625826835632, -0.5876110196113586, -0.8239004015922546, 0.7468025088310242, 0.2701057493686676, -0.2896571159362793, 0.340466171503067, 0.27288687229156494, -0.6052266359329224, -0.3308929204940796, 0.2167207896709442, 0.8953949213027954, -0.09598222374916077, 0.15605765581130981, -0.14787739515304565, -0.025975557044148445, 0.3260640501976013, -0.36080455780029297, 0.02831757813692093, -0.20376230776309967, 0.028963401913642883, -0.03773088753223419, 0.14099101722240448, 0.42702388763427734, 0.17506586015224457, -0.3145377039909363, 0.039243295788764954, 0.08985468745231628, 0.32326599955558777, -0.01444600522518158, 0.18945413827896118, -0.017083240672945976, -0.15372180938720703, 0.11394432932138443, -0.06014035642147064, -0.27395427227020264, 0.1631017029285431, 0.11086750030517578, -0.1542631834745407, -0.30942121148109436, -0.20421098172664642, -0.281147837638855, -0.3064328134059906, -0.19761110842227936, -0.026946187019348145, 0.17125602066516876, -0.14022961258888245, -0.31897008419036865, -0.6134621500968933, 0.14851129055023193, 0.3207734525203705, -0.16409355401992798, 0.06190548092126846, 0.0024054646492004395, 0.24553921818733215, -0.01723121665418148, -0.16666823625564575, 0.09092405438423157, 0.06490714102983475, -0.28881344199180603, 0.11775404214859009, 0.20970000326633453, 0.11962121725082397, -0.4236533045768738, -0.2332168072462082, 0.4115945100784302, -0.19831116497516632, 0.18711188435554504, 0.17204101383686066, 0.24047577381134033, -0.08679261803627014, 0.003054773434996605, 0.18220198154449463, -0.26576581597328186, 0.13313233852386475, 0.15787069499492645, -0.31291115283966064, -0.17002038657665253, -0.04603753238916397, 0.24579772353172302, -0.3501216173171997, 0.29685962200164795, -0.19976304471492767, -0.14420264959335327, -0.00252595916390419, 0.3068107068538666, 0.06515783071517944, 0.00045295804738998413, -0.3126332461833954, 0.32463911175727844, -0.12809766829013824, 0.08821070194244385, -0.0304824598133564, 0.002170354127883911, 0.1157337874174118, -0.06581911444664001, -0.1886765956878662, -0.1705288589000702, 0.3335949778556824, 0.002563316375017166, 0.14995282888412476, -0.30538690090179443, -0.19261769950389862, -0.15747392177581787, 0.17331701517105103, -0.2051071673631668, -0.1868884563446045, 0.2997504770755768, 0.34709763526916504, 0.2621835768222809, 0.317985475063324, -0.1270771473646164, 0.05039696395397186, 0.0794912576675415, -0.03284848481416702, -0.044362135231494904, -0.10076192766427994, -0.10850700736045837, 0.15350772440433502, -0.04279039055109024, -0.00007737847045063972, 0.020610138773918152, -0.14344751834869385, 0.12122145295143127, -0.2865377366542816, 0.15499964356422424, 0.11487369984388351, 0.20536334812641144, 0.4665180444717407, -0.10773594677448273, 0.003897428512573242, 0.0973760187625885, 0.01995791494846344, -0.08286163210868835, 0.19982600212097168, 0.12314140796661377, 0.22276167571544647, -0.12241291254758835, -0.041588734835386276, 0.09085362404584885, 0.25118783116340637, -0.006982088088989258, -0.000572841614484787, 0.1242688000202179, -0.1430167406797409, 0.2246861457824707, 0.17469006776809692, 0.12485304474830627, 0.23759999871253967, 0.08657169342041016, -0.5278964042663574, 0.0779467225074768, 0.13117147982120514, -0.35184246301651, -0.1914236694574356, 0.1480555385351181, 0.03863167762756348, -0.05184901878237724, 0.34493163228034973, 0.21116873621940613, 0.15433481335639954, -0.17067940533161163, -0.05586482957005501, 0.5533079504966736, 0.10310697555541992, -0.02988642454147339, 0.4703015089035034, 0.12137399613857269, 0.08565711230039597, 0.2485569417476654, 0.49912935495376587, 0.11921191960573196, 0.45325541496276855, -0.14063295722007751, 0.4372194707393646, 0.2298314869403839, -0.1751033514738083, 0.0036430135369300842, -0.06586842983961105, 0.3243463635444641, 0.2192668318748474, -0.15964451432228088, 0.0955599918961525, -0.01775994896888733, -0.22280257940292358, 0.35935503244400024, 0.020020462572574615, 0.014837929978966713, -0.005199972540140152, 0.08745703101158142, -0.4065264165401459, 0.33709582686424255, -0.3865259289741516, -0.054212719202041626, -0.23446249961853027, 0.008072178810834885, -0.42026394605636597, 0.4713780879974365, -0.2470257431268692, 0.15624257922172546, -0.00493629090487957, 0.12137471139431, -0.2366483211517334, -0.06163940578699112, -0.156765878200531, 0.02062610723078251, 0.19004124402999878, -0.1598714292049408, 0.20870676636695862, 0.09814074635505676, 0.175677090883255, 0.3078732490539551, 0.14198097586631775, 0.16235679388046265, -0.5288381576538086, -0.07919538021087646, -0.02137487195432186, 0.26802515983581543, 0.2002134919166565, -0.695836067199707, -0.20730866491794586, 0.04948541522026062, -0.02020876854658127, -0.10555331408977509, 0.3402382731437683, -0.03857918828725815, -0.14741192758083344, 0.12984758615493774, 0.06376046687364578, -0.20305195450782776, 0.06525258719921112, 0.22021928429603577, -0.3067742586135864, -0.47333091497421265, 0.8938535451889038, 0.5704535245895386, -0.10212964564561844, 0.013913438655436039, 0.011396657675504684, -0.0779423713684082, 0.21964071691036224, 0.06687825173139572, 0.06825020909309387, -0.15810970962047577, 0.10215400159358978, -0.2192002832889557, -0.10651407390832901, -0.11650623381137848, -0.3409856855869293, 0.050021447241306305, -0.014925520867109299, 0.4895504415035248, -0.0495687797665596, 0.1970767378807068, 0.08793165534734726, 0.024226225912570953, -0.28840744495391846, -0.21918298304080963, -0.30677419900894165, -0.06888853013515472, 0.27887827157974243, 0.1013999730348587, -0.03953411802649498, 0.2122230976819992, -0.49392077326774597, 0.03984510898590088, -0.6092768907546997, 0.07784749567508698, 0.5930997133255005, 0.47102364897727966, 0.34485962986946106, -0.035294659435749054, 0.08901567757129669, 0.13239505887031555, -0.2075243890285492, -0.10844676196575165, -0.1329888552427292, 0.12672142684459686, 0.7721008658409119, -0.03210149332880974, -0.19331954419612885, -0.09077345579862595, -0.25891727209091187, -0.24378849565982819, 0.21939946711063385, -0.022106852382421494, -0.31456345319747925, -0.03366679325699806, -0.04816320538520813, 0.1743258535861969, -0.18274079263210297, -0.3099447786808014, 0.03181660547852516, 0.0685078501701355, 0.1804961860179901, -0.2875274419784546, -0.2558797299861908, 0.6835921406745911, -0.09704244136810303, -0.17843204736709595, -0.5529618859291077, 0.3561709523200989, 0.24695786833763123, 0.3480108082294464, -0.667158842086792, -0.10389813035726547, 0.7519957423210144, -0.15650025010108948, -0.3170540928840637, 0.027010004967451096, 0.18471384048461914, 0.005044780671596527, -0.22792577743530273, 0.047557532787323, -0.08739842474460602, -0.13239121437072754, -0.23309023678302765, -0.10185927152633667 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
@lhoestq, should we do this post-processing in `load_dataset_card` by returning unflattened dictionary from `DatasetMetadata` or send this from `DatasetMetadata`? Since there isn't much to do I feel once we have the unflattened dictionary
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
33
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. @lhoestq, should we do this post-processing in `load_dataset_card` by returning unflattened dictionary from `DatasetMetadata` or send this from `DatasetMetadata`? Since there isn't much to do I feel once we have the unflattened dictionary
[ -0.11576779186725616, -0.14480119943618774, -0.0828922688961029, 0.11023223400115967, 0.12640157341957092, -0.09733684360980988, 0.016164585947990417, 0.16647487878799438, -0.1686820387840271, 0.1453123390674591, 0.2745610475540161, 0.2131902575492859, 0.21092219650745392, 0.43274518847465515, 0.20675627887248993, 0.2932748794555664, 0.12118987739086151, -0.1307513415813446, 0.1612471491098404, 0.03405884653329849, -0.18055979907512665, -0.28306540846824646, 0.0827898383140564, 0.12585866451263428, -0.2959107756614685, -0.11268658190965652, -0.078370101749897, 0.04230222851037979, -0.1283835470676422, -0.542482316493988, 0.1506163477897644, 0.3821243643760681, -0.14031316339969635, -0.26385727524757385, -0.00012489451910369098, -0.10394936054944992, 0.3253905773162842, -0.19362550973892212, -0.3255654573440552, -0.09051480889320374, -0.26886358857154846, -0.556948184967041, -0.016172129660844803, -0.20182615518569946, 0.049959853291511536, -0.2591497004032135, 0.027511291205883026, -0.371626079082489, 0.010017022490501404, -0.30526643991470337, 0.038685668259859085, -0.6716192960739136, -0.35050737857818604, 0.10037018358707428, 0.21985962986946106, 0.2836223840713501, 0.2129565328359604, -0.20007270574569702, 0.3206504285335541, 0.2130146622657776, 0.10873304307460785, 0.5025123953819275, -0.14380592107772827, -0.1216445118188858, 0.10675632953643799, 0.11533558368682861, 0.14454755187034607, 0.09341849386692047, 0.2543131113052368, 0.09347127377986908, 0.7029316425323486, -0.33069491386413574, -0.5414120554924011, -0.5226202011108398, 0.11257731169462204, -0.45562541484832764, 0.22733765840530396, -0.3455648720264435, -0.05835648998618126, 0.13740380108356476, -0.20614105463027954, -0.4797358810901642, 0.07043883204460144, 0.07490074634552002, -0.1675013303756714, 0.27564579248428345, 0.0981893464922905, 0.20566454529762268, -0.26863980293273926, -0.07970161736011505, -0.00331017654389143, -0.267120897769928, -0.02793874219059944, 0.08833044767379761, 0.14456012845039368, 0.03559190779924393, -0.20205143094062805, -0.3039502501487732, 0.2744902968406677, 0.32893896102905273, -0.1200154721736908, 0.3482094407081604, 0.22098416090011597, -0.03983059525489807, 0.2030048668384552, -0.030244071036577225, 0.6334502100944519, 0.32575130462646484, 0.11470524966716766, -0.2426878809928894, 0.21400150656700134, -0.16174930334091187, -0.20763471722602844, 0.14995256066322327, -0.09144636988639832, 0.17621266841888428, 0.001038242131471634, -0.12313929200172424, -0.5132840871810913, 0.150387704372406, -0.05495899170637131, -0.3310476243495941, 0.16911697387695312, 0.15676656365394592, -0.2526172995567322, 0.2202276587486267, 0.09716404974460602, -0.25020986795425415, 0.38639235496520996, -0.054875969886779785, -0.0643477737903595, -0.3091011047363281, -0.00893331691622734, 0.42717111110687256, 0.15655635297298431, -0.11843918263912201, 0.284062922000885, -0.18681684136390686, 0.010923542082309723, 0.19803115725517273, 0.1751408576965332, 0.04587363079190254, 0.3574061691761017, 0.28379547595977783, -0.08549682050943375, 0.4085632562637329, -0.16944926977157593, -0.3181568384170532, -0.1454654186964035, 0.4144752621650696, -0.3435162305831909, -0.4275754690170288, 0.2864065170288086, 0.13025616109371185, 0.05144672840833664, -0.09672549366950989, -0.0669807568192482, 0.28947383165359497, 0.4972802996635437, -0.056954480707645416, 0.18784494698047638, 0.22347161173820496, 0.030243780463933945, -0.17658258974552155, 0.27039751410484314, 0.3202129304409027, -0.41705992817878723, -0.15764501690864563, -0.007111226208508015, 0.014840943738818169, 0.08633000403642654, -0.15207092463970184, -0.22585639357566833, 0.25284916162490845, 0.12499202787876129, 0.054658517241477966, 0.41245195269584656, -0.7035521864891052, -0.1794462352991104, 0.18199867010116577, -0.03464094176888466, 0.2871672809123993, 0.23940226435661316, -0.07202694565057755, 0.24089369177818298, 0.28002792596817017, 0.48399272561073303, 0.26254987716674805, -0.43934279680252075, -0.114156574010849, -0.17498309910297394, -0.01755572482943535, 0.4133201241493225, 0.0016692597419023514, -0.002320248633623123, -0.0897982195019722, -0.16554740071296692, 0.03418860211968422, 0.35249587893486023, 0.10423605144023895, 0.28360873460769653, -0.13554970920085907, 0.3484326899051666, 0.4665535092353821, 0.20547832548618317, 0.14722439646720886, -0.3973349332809448, 0.014528751373291016, 0.03303418308496475, -0.27669909596443176, -0.35873520374298096, -0.3250204920768738, -0.12808451056480408, -0.07768300920724869, -0.15011438727378845, -0.11296860873699188, -0.07567523419857025, 0.37253332138061523, -0.18947036564350128, -0.14337439835071564, -0.3190322816371918, 0.49577832221984863, -0.3810092806816101, 0.2143378108739853, 0.1715732216835022, 0.04743468016386032, 0.3014512062072754, -0.03372874855995178, -0.4062000513076782, -0.10061099380254745, -0.016153857111930847, -0.17014142870903015, 0.11588969826698303, 0.4688882529735565, 0.23869813978672028, -0.2716655135154724, -0.035273417830467224, -0.0759483128786087, 0.23198428750038147, 0.13114169239997864, 0.10037219524383545, -0.19484752416610718, -0.04594466835260391, -0.2082464098930359, -0.028467468917369843, 0.35819509625434875, -0.27102401852607727, 0.23091736435890198, -0.12623079121112823, -0.26795002818107605, 0.05972018837928772, 0.33624911308288574, -0.34573283791542053, -0.4458627998828888, -0.2724955379962921, -0.15887579321861267, 0.5708082318305969, -0.2259790152311325, 0.0651661604642868, 0.1335292011499405, 0.5103046298027039, -0.05489519238471985, -0.05889812856912613, 0.13249418139457703, 0.07990774512290955, -0.0492650531232357, 0.07658974826335907, 0.24510125815868378, 0.2392503023147583, 0.12760263681411743, -0.21048620343208313, -0.06292539834976196, 0.26579660177230835, -0.08095452189445496, 0.3007739782333374, 0.2782055139541626, 0.40172287821769714, 0.18619811534881592, -0.031695567071437836, -0.07860445231199265, -0.078804150223732, 0.021327916532754898, 0.3261224925518036, 0.07918769121170044, 0.025745507329702377, 0.02305762656033039, -0.15394940972328186, -0.6405772566795349, -0.1526595801115036, -0.5393292307853699, -0.3899292051792145, -0.2973436713218689, 0.1693020761013031, -0.4942948818206787, -0.2037779837846756, 0.3096194565296173, 0.0964764654636383, 0.08904159069061279, -0.16074149310588837, -0.5116944313049316, -0.09121153503656387, -0.08246151357889175, -0.12554341554641724, -0.06141597405076027, -0.21922241151332855, -0.6043167114257812, 0.4917815923690796, 0.009697601199150085, 0.3906204104423523, -0.111081562936306, -0.6208072304725647, 0.06043149158358574, -0.007448285818099976, 0.010203922167420387, 0.30094969272613525, 0.10657434910535812, 0.10751092433929443, -0.16037766635417938, 0.27461883425712585, 0.3912130296230316, -0.0195479616522789, -0.2891582250595093, 0.1789795458316803, 0.136549711227417, -0.07818908989429474, -0.3949712812900543, -0.4394347071647644, -0.0013085473328828812, -0.09463256597518921, 0.04647089168429375, 0.15340951085090637, 0.14544253051280975, -0.1712106168270111, -0.08778033405542374, -0.3024917542934418, 0.10997859388589859, -0.005919916555285454, -0.19210045039653778, -0.09231232106685638, -0.0017084410646930337, 0.15936706960201263, -0.18864066898822784, 0.09526427835226059, 0.08503255248069763, 0.2385742962360382, -0.13840055465698242, 0.22723723948001862, 0.16071438789367676, 0.3306357264518738, 0.08873552829027176, -0.12571731209754944, 0.2538376450538635, 0.40392521023750305, 0.008844619616866112, -0.18051588535308838, -0.31164148449897766, 0.19482451677322388, 0.08668959140777588, 0.1816841959953308, 0.054291389882564545, 0.13452136516571045, 0.02325597032904625, 0.13027779757976532, 0.125228613615036, -0.08475545048713684, 0.00829210877418518, 0.1991429477930069, 0.018087834119796753, -0.04309762269258499, -0.21023830771446228, -0.38002869486808777, 0.03496371954679489, 0.2383989840745926, 0.22053071856498718, 0.07554205507040024, 0.04129326343536377, -0.305379718542099, -0.24250830709934235, -0.24598553776741028, -0.050743892788887024, 0.10540067404508591, -0.39575278759002686, -0.023588523268699646, 0.27132484316825867, 0.048744961619377136, -0.356801837682724, 0.08814514428377151, -0.053392715752124786, 0.238595649600029, 0.015967540442943573, 0.020207416266202927, -0.3395412862300873, -0.1665850579738617, 0.003295697271823883, 0.39342719316482544, 0.3354514241218567, 0.07677783817052841, 0.014618020504713058, -0.15874168276786804, 0.027240440249443054, -0.1598978489637375, 0.3915889263153076, -0.2770686447620392, -0.41527259349823, -0.009694059379398823, -0.12967008352279663, 0.15563012659549713, -0.022193850949406624, -0.054794080555438995, 0.051081568002700806, 0.1635890007019043, 0.38916096091270447, -0.49209100008010864, -0.2479708194732666, 0.16658633947372437, 0.05417584255337715, -0.2344602793455124, 0.3589378893375397, -0.17569613456726074, -0.15724818408489227, -0.1770407110452652, 0.02293512225151062, -0.3310275971889496, 0.38412031531333923, 0.1193772405385971, -0.03080647625029087, -0.013246862217783928, 0.22360217571258545, -0.015791155397892, 0.01921471580862999, 0.04961992800235748, -0.14247600734233856, 0.34045830368995667, 0.24416033923625946, 0.7940011024475098, 0.5089016556739807, 0.03248298540711403, -0.3239482045173645, 0.018232010304927826, -0.17167925834655762, -0.13954979181289673, 0.7256616950035095, 0.3867856562137604, -0.22589850425720215, 0.3789028227329254, 0.24104389548301697, -0.039289020001888275, -0.20698948204517365, 0.013975685462355614, 0.19528597593307495, 0.1560741662979126, -0.6731247901916504, -0.9606348276138306, 0.4031834006309509, 0.2691064178943634, -0.26451951265335083, 0.5411545634269714, 0.4729204773902893, -0.575151264667511, 0.012051308527588844, 0.2051287442445755, 0.9780780076980591, -0.2977195382118225, 0.14637449383735657, -0.16892334818840027, 0.13797637820243835, 0.376920610666275, -0.34866154193878174, 0.13616755604743958, -0.20200227200984955, -0.08098138868808746, 0.08697375655174255, 0.14130611717700958, 0.5666021108627319, 0.3184245824813843, -0.2131533920764923, 0.09106546640396118, 0.24213038384914398, 0.06973247230052948, -0.22326496243476868, 0.2227289080619812, -0.12990699708461761, -0.14092710614204407, -0.017645176500082016, -0.15567851066589355, -0.10560561716556549, 0.23954947292804718, -0.10313749313354492, -0.04556002840399742, -0.18324539065361023, -0.25165772438049316, 0.1038954108953476, -0.3218630850315094, -0.3826775848865509, -0.01805926114320755, -0.08944977819919586, -0.0904262363910675, -0.2843168377876282, -0.22087648510932922, 0.09455999732017517, 0.18535220623016357, 0.15449258685112, 0.14104576408863068, -0.09701987355947495, 0.10201892256736755, 0.05026940628886223, -0.0402538925409317, 0.37204739451408386, -0.04305686801671982, -0.342250794172287, -0.06159301847219467, 0.07896269112825394, -0.10205711424350739, -0.23821702599525452, -0.17259481549263, 0.49681973457336426, -0.5394363403320312, 0.16691413521766663, 0.1828940510749817, 0.25362005829811096, -0.0714840441942215, -0.03662014380097389, 0.2099209427833557, -0.11476629972457886, 0.16822580993175507, 0.11774390935897827, -0.3313835561275482, -0.22385461628437042, 0.029561441391706467, 0.09424285590648651, -0.48055896162986755, 0.23332850635051727, -0.3071114718914032, -0.2837226092815399, 0.034988537430763245, 0.27670416235923767, -0.011394049972295761, -0.17388704419136047, -0.11153705418109894, 0.28422266244888306, -0.1985526829957962, 0.02366124466061592, 0.13601981103420258, -0.03642018884420395, 0.12805557250976562, -0.10564351081848145, -0.1080092340707779, -0.39602139592170715, 0.4773046374320984, 0.33531567454338074, 0.1478254348039627, -0.225834459066391, -0.16035300493240356, -0.07969437539577484, 0.07796730101108551, -0.19087842106819153, -0.2452334314584732, 0.259532630443573, 0.49754732847213745, 0.01985444873571396, 0.2589721083641052, 0.07300233095884323, 0.17203529179096222, 0.06636381149291992, -0.23525039851665497, 0.018215814605355263, -0.054843463003635406, 0.0261070616543293, 0.2206847220659256, 0.06584195792675018, -0.15620054304599762, 0.06362876296043396, -0.1535639613866806, -0.007940027862787247, -0.17181091010570526, 0.4305468499660492, 0.000272899866104126, 0.11587788164615631, 0.2524764835834503, 0.030647316947579384, 0.1728205382823944, -0.20118913054466248, 0.17442941665649414, 0.031974200159311295, 0.43383491039276123, -0.14108842611312866, 0.11926528811454773, -0.23422490060329437, -0.0840919241309166, 0.13282153010368347, 0.16155877709388733, 0.23467445373535156, 0.027920670807361603, 0.12887458503246307, -0.35867464542388916, 0.03556234762072563, 0.031246768310666084, 0.2694752514362335, 0.29150909185409546, 0.01823827624320984, -0.392169713973999, 0.1607571840286255, 0.07769329845905304, -0.2037046253681183, 0.08303679525852203, 0.06436784565448761, -0.19236010313034058, -0.07475853711366653, 0.39036065340042114, 0.1899045705795288, 0.157179057598114, -0.28000277280807495, -0.10811906307935715, 0.4918970465660095, -0.0769234448671341, -0.03156096488237381, 0.5721430778503418, 0.08423863351345062, 0.10039882361888885, 0.10567722469568253, 0.5590335726737976, 0.01916082203388214, 0.4727934002876282, 0.03358115628361702, 0.5632305145263672, 0.2575993239879608, -0.07274861633777618, 0.039664674550294876, -0.2971568703651428, 0.5197343230247498, 0.5496093034744263, -0.2824488580226898, 0.1145111471414566, 0.05169065296649933, -0.06370899826288223, 0.28937482833862305, -0.08995167165994644, 0.10084309428930283, 0.13482603430747986, -0.1188262328505516, -0.31823673844337463, 0.04362448304891586, -0.33724525570869446, -0.1096099317073822, -0.009096246212720871, -0.013596266508102417, -0.3097686171531677, 0.3555911183357239, -0.07465854287147522, 0.10262548923492432, -0.018129708245396614, 0.19458892941474915, -0.23806747794151306, 0.3089626729488373, -0.09318260103464127, 0.16412357985973358, 0.3081289529800415, -0.0768909752368927, 0.4355822503566742, 0.20001403987407684, 0.05177735164761543, 0.2754656672477722, 0.02322540245950222, 0.30202290415763855, -0.24437089264392853, -0.08811450749635696, -0.11134390532970428, 0.4481672942638397, 0.003017537295818329, -0.588899552822113, -0.05051032826304436, 0.035133831202983856, -0.05344965681433678, -0.31170037388801575, 0.39884495735168457, 0.050264835357666016, -0.008368205279111862, 0.1119668185710907, -0.0423310250043869, -0.2393004298210144, 0.014218199998140335, 0.2688153088092804, -0.2488017976284027, -0.31061407923698425, 0.6428318023681641, 0.2725125253200531, -0.07305528223514557, -0.05509526655077934, 0.00205390527844429, -0.16994187235832214, 0.27329200506210327, -0.023812580853700638, 0.08383561670780182, -0.2823324501514435, -0.14024703204631805, -0.016101129353046417, 0.031320422887802124, 0.11035124957561493, -0.17907126247882843, -0.07697051763534546, 0.05118463933467865, 0.21850091218948364, -0.13904261589050293, 0.13148057460784912, 0.12410978972911835, 0.0988587886095047, 0.03920922428369522, -0.06592586636543274, -0.265825092792511, 0.08466286957263947, 0.16547277569770813, 0.0120510533452034, -0.2773282825946808, 0.0227111354470253, -0.11090414226055145, -0.021740952506661415, -0.40759801864624023, 0.1384124606847763, 0.564278781414032, 0.16738107800483704, 0.3303771913051605, -0.12829436361789703, 0.26296520233154297, -0.01943790167570114, -0.2070278525352478, 0.3001484274864197, -0.25329679250717163, -0.15765589475631714, 0.6857412457466125, 0.022766761481761932, 0.01725490763783455, 0.05470288544893265, -0.14478150010108948, -0.08364757150411606, 0.07239166647195816, -0.081454798579216, -0.25906240940093994, -0.09105982631444931, -0.12185434997081757, 0.08916009217500687, -0.18578572571277618, 0.010175642557442188, 0.23765414953231812, 0.2180209457874298, 0.0357607826590538, -0.3291665017604828, -0.22781938314437866, 0.6193732023239136, -0.10115618258714676, 0.2239738553762436, -0.4264327585697174, 0.3226209878921509, 0.3019978404045105, 0.2244304120540619, -0.6265117526054382, -0.03198765963315964, 0.5671764612197876, -0.08540188521146774, -0.47939205169677734, 0.13269607722759247, 0.07965849339962006, -0.17346155643463135, -0.1783149391412735, 0.34219592809677124, -0.23241224884986877, -0.10662893950939178, -0.32984915375709534, -0.04919767379760742 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
I was talking about this unflattened dictionary: > I was thinking of returning the whole dictionary before flattening so that user can access whatever they want with specific configs. Let's say [this](https://pastebin.com/eJ84314f) is my metadata_dict before flattening (the loaded YAML string), so instead of validating it and then returning the items individually we can return it just after loading the YAML string. Post-processing meant extracting config-specific fields from this dictionary and then return this `languages=["en"], pretty_name="Pretty Name for Config 1"`
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
80
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. I was talking about this unflattened dictionary: > I was thinking of returning the whole dictionary before flattening so that user can access whatever they want with specific configs. Let's say [this](https://pastebin.com/eJ84314f) is my metadata_dict before flattening (the loaded YAML string), so instead of validating it and then returning the items individually we can return it just after loading the YAML string. Post-processing meant extracting config-specific fields from this dictionary and then return this `languages=["en"], pretty_name="Pretty Name for Config 1"`
[ 0.04558895155787468, -0.17572706937789917, -0.14415526390075684, 0.08868808299303055, 0.297695517539978, -0.07962548732757568, 0.003975294530391693, 0.24698308110237122, -0.34537434577941895, 0.039130114018917084, 0.1342427283525467, 0.167859748005867, 0.059147968888282776, 0.1250867247581482, -0.0033819908276200294, 0.22652636468410492, 0.00674804300069809, -0.06919360160827637, 0.24511177837848663, -0.0265808142721653, -0.014612572267651558, -0.07375498861074448, 0.0643419474363327, 0.23910614848136902, -0.23242740333080292, 0.059775106608867645, 0.037107355892658234, 0.02050309255719185, -0.14024674892425537, -0.42225441336631775, 0.159347265958786, 0.2403278946876526, -0.3613339066505432, -0.21096888184547424, -0.00011122834985144436, -0.08076120913028717, 0.3086853623390198, -0.20967797935009003, -0.34548425674438477, -0.0463702529668808, -0.17113037407398224, -0.4634292423725128, -0.08780305087566376, -0.21956852078437805, 0.001784302294254303, -0.09360215067863464, -0.18278056383132935, -0.5481560230255127, 0.12578503787517548, -0.15142317116260529, 0.19221049547195435, -0.6874428987503052, -0.2633573114871979, 0.17907708883285522, 0.33917587995529175, 0.16893132030963898, 0.035113804042339325, -0.038327138870954514, 0.4221973717212677, 0.05945087969303131, 0.1714850664138794, 0.5404860377311707, -0.37218526005744934, -0.02612992376089096, -0.09421219676733017, 0.10400054603815079, 0.14075174927711487, -0.025196589529514313, 0.3663829267024994, 0.28254184126853943, 0.4903848469257355, -0.24037861824035645, -0.42708757519721985, -0.5242775678634644, -0.04664244502782822, -0.35594552755355835, -0.006548002362251282, -0.2918018698692322, -0.07547564804553986, 0.18137302994728088, -0.06024225428700447, -0.3059961199760437, 0.03831959515810013, 0.08368726819753647, -0.16448119282722473, 0.48213520646095276, 0.07138366997241974, 0.16235965490341187, -0.2543419301509857, -0.07034336775541306, -0.06889922171831131, -0.0989028736948967, -0.10964018106460571, 0.12915271520614624, 0.125207781791687, -0.001507394015789032, -0.12009061127901077, -0.40689247846603394, 0.37011203169822693, 0.1649622917175293, -0.1354503333568573, 0.3387534022331238, 0.12932759523391724, -0.05016236752271652, -0.04624902084469795, 0.09671945869922638, 0.6654534339904785, 0.2811412513256073, 0.056818898767232895, -0.24676458537578583, 0.18756680190563202, -0.020350735634565353, -0.050436533987522125, 0.11794877052307129, 0.025113560259342194, 0.19212031364440918, 0.42685258388519287, -0.10171961039304733, -0.4981178939342499, 0.2682259678840637, -0.1969476342201233, -0.2853740453720093, 0.02985866367816925, 0.008683770895004272, -0.16358420252799988, 0.08132444322109222, -0.024143245071172714, -0.19164015352725983, 0.2702064514160156, -0.1556035727262497, -0.1289706528186798, -0.1832023561000824, -0.05658549442887306, 0.3509521186351776, 0.11356821656227112, -0.02450600638985634, 0.24106809496879578, -0.10249218344688416, -0.03274077922105789, -0.047136470675468445, 0.06162533909082413, 0.05948137864470482, 0.3473084568977356, 0.11727409064769745, -0.38122251629829407, 0.34601184725761414, 0.17559576034545898, -0.5011248588562012, -0.1220208927989006, 0.11589553952217102, -0.35520273447036743, -0.39095279574394226, -0.05103370547294617, 0.25051265954971313, 0.028204258531332016, -0.05704037845134735, 0.1666668802499771, 0.2798301577568054, 0.5368460416793823, 0.11678658425807953, 0.3517530560493469, 0.09378232061862946, 0.05779578164219856, -0.08960592746734619, 0.21517665684223175, 0.3274282217025757, -0.42335063219070435, -0.08946637064218521, -0.06616131961345673, 0.0181594155728817, 0.08275575190782547, -0.23411323130130768, -0.002037285128608346, 0.19731777906417847, 0.10664579272270203, 0.18713761866092682, 0.1760408729314804, -0.6808112859725952, -0.14688615500926971, 0.22775542736053467, 0.011357448995113373, 0.5457271337509155, 0.1998770534992218, -0.26132112741470337, 0.3797416388988495, 0.2260410040616989, 0.39340832829475403, 0.07317423820495605, -0.13972784578800201, -0.3022308945655823, -0.20682571828365326, 0.08407455682754517, 0.2483135312795639, -0.08984425663948059, -0.16643917560577393, -0.165946364402771, -0.11076990514993668, 0.04231036454439163, 0.34495460987091064, -0.0003812834620475769, 0.4447087049484253, -0.01864505559206009, 0.2563191056251526, 0.43153947591781616, 0.2494484782218933, -0.01955554261803627, -0.47493743896484375, 0.10439106076955795, 0.16116826236248016, -0.03467739373445511, -0.4185217022895813, -0.31943708658218384, -0.173264741897583, 0.027549291029572487, -0.33713293075561523, -0.4559292793273926, 0.1572798788547516, 0.28168827295303345, -0.13552944362163544, -0.09854787588119507, -0.1589377373456955, 0.29515340924263, -0.19959081709384918, -0.013559680432081223, 0.07231993973255157, 0.016774142161011696, 0.16462385654449463, 0.031162872910499573, -0.3643484115600586, 0.2526024580001831, 0.012312758713960648, -0.15762585401535034, 0.1155301108956337, 0.42554154992103577, 0.2526090145111084, -0.3979381322860718, 0.00826917216181755, 0.07313460856676102, 0.09374183416366577, 0.04611937329173088, 0.16768333315849304, -0.10647311806678772, -0.05885189771652222, -0.21386680006980896, 0.0884900614619255, 0.3480808734893799, -0.1905076801776886, 0.3647337257862091, -0.24628137052059174, -0.13262724876403809, 0.3266247808933258, 0.06195935979485512, -0.4356662333011627, -0.6743943691253662, -0.202369824051857, -0.3645417392253876, 0.2642863094806671, -0.2543717622756958, 0.03518807888031006, 0.21482893824577332, 0.4468110203742981, -0.15458542108535767, -0.036749981343746185, 0.21229180693626404, 0.12209083139896393, 0.030924078077077866, -0.09435629844665527, 0.14511393010616302, 0.18398120999336243, 0.1995266079902649, -0.1654672473669052, 0.1197231337428093, 0.28385090827941895, -0.16548703610897064, 0.3223518431186676, 0.2512285113334656, 0.319336473941803, 0.3275696933269501, 0.0478365495800972, -0.001840001903474331, -0.1325768530368805, -0.18582212924957275, 0.1945512890815735, 0.142622172832489, -0.0009886287152767181, 0.22417180240154266, -0.3935825526714325, -0.4379411041736603, -0.06416299939155579, -0.6339574456214905, -0.3567935526371002, -0.32341209053993225, 0.19193801283836365, -0.37871840596199036, -0.10833396017551422, 0.39919546246528625, 0.21925769746303558, -0.037863269448280334, 0.034175485372543335, -0.43529781699180603, -0.2346857786178589, -0.2883436381816864, -0.16499370336532593, 0.05289410427212715, -0.16095685958862305, -0.591316282749176, 0.5394588708877563, 0.006589334458112717, 0.16963142156600952, -0.36095497012138367, -0.534302830696106, 0.13341915607452393, -0.14543868601322174, -0.04221536964178085, 0.3382941484451294, 0.06841155141592026, 0.05646802484989166, -0.1844937950372696, 0.270499050617218, 0.4399999678134918, -0.053752005100250244, -0.12287959456443787, 0.08397001028060913, 0.02924382872879505, -0.10413011908531189, -0.23859718441963196, -0.4746018946170807, 0.013248052448034286, -0.017643801867961884, 0.025049105286598206, 0.1470685452222824, 0.3289552927017212, -0.19727195799350739, 0.04407842829823494, -0.3475630283355713, 0.1598404496908188, -0.3315679728984833, 0.03385594114661217, -0.12236645817756653, -0.03935053199529648, 0.2741360068321228, -0.1934301108121872, 0.09230756014585495, 0.05592847242951393, -0.04494582489132881, -0.23708312213420868, 0.07441048324108124, 0.28248631954193115, 0.2725372016429901, -0.00548882782459259, -0.2326534539461136, 0.11266425997018814, 0.34633398056030273, -0.056382253766059875, -0.13694912195205688, -0.2494252771139145, 0.16419456899166107, -0.11989971250295639, 0.17626309394836426, -0.1155838742852211, -0.04666005074977875, 0.07772496342658997, 0.15698066353797913, 0.1528095304965973, 0.0073752813041210175, -0.0020329877734184265, 0.09475436061620712, 0.007992584258317947, -0.1663927435874939, -0.30746254324913025, -0.3016414940357208, -0.10708361864089966, 0.1577286720275879, 0.20528829097747803, -0.023895494639873505, 0.09242408722639084, -0.06461652368307114, -0.15226955711841583, -0.2346946895122528, -0.08133044093847275, 0.04180671647191048, -0.4905763864517212, -0.2208271026611328, 0.26060232520103455, 0.16378843784332275, -0.10451094806194305, 0.01893012411892414, 0.04930424690246582, 0.11279821395874023, -0.15333321690559387, -0.02005583606660366, -0.13592791557312012, -0.1016354188323021, -0.07444415241479874, 0.41175323724746704, 0.1817128211259842, -0.023115400224924088, 0.05402624234557152, -0.08324410021305084, 0.06989796459674835, 0.014273259788751602, 0.44784224033355713, -0.3488691747188568, -0.30206334590911865, 0.3302820026874542, -0.06253865361213684, 0.07395345717668533, -0.260975182056427, -0.050078678876161575, 0.1618809551000595, 0.19402894377708435, 0.5786692500114441, -0.5328694581985474, -0.15474900603294373, 0.14873918890953064, 0.05052899569272995, -0.12500374019145966, 0.3602190315723419, -0.13076400756835938, -0.18635380268096924, -0.17825298011302948, -0.08020734041929245, -0.3502465784549713, 0.41512978076934814, 0.20267052948474884, 0.004999570548534393, 0.08099788427352905, 0.35464751720428467, 0.04628322646021843, 0.11790607869625092, 0.14870432019233704, -0.2176186591386795, 0.202273890376091, 0.09857870638370514, 0.6845520734786987, 0.16989240050315857, 0.034173522144556046, -0.3962923288345337, 0.11832129955291748, -0.10918333381414413, -0.16173356771469116, 0.5400463342666626, 0.32257840037345886, -0.053000226616859436, 0.39478152990341187, 0.21833132207393646, 0.029222413897514343, -0.21044647693634033, 0.049010030925273895, 0.23148766160011292, 0.2786392569541931, -0.6451196670532227, -0.8127186894416809, 0.5189759135246277, 0.05288315191864967, -0.2501280903816223, 0.628748893737793, 0.4196197986602783, -0.566026508808136, 0.14670179784297943, 0.269963800907135, 0.9894441366195679, -0.1104690432548523, 0.1496535837650299, -0.06350214779376984, 0.13470055162906647, 0.261362224817276, -0.3716651201248169, 0.04113369435071945, -0.23802295327186584, 0.06879137456417084, 0.026113471016287804, 0.23485085368156433, 0.3895769715309143, 0.20037060976028442, -0.3768775761127472, 0.04935968667268753, 0.04830905795097351, 0.23793846368789673, -0.1557570993900299, 0.17110612988471985, 0.10814694315195084, -0.18710041046142578, 0.12990900874137878, -0.0006776414811611176, -0.13772930204868317, 0.2551317811012268, -0.058712366968393326, -0.09365817159414291, -0.16525298357009888, -0.15228308737277985, -0.19774022698402405, -0.26139116287231445, -0.2328374832868576, 0.19498585164546967, 0.13027097284793854, -0.16710630059242249, -0.2998151183128357, -0.44554993510246277, 0.10501366853713989, 0.16192445158958435, -0.10609997808933258, 0.06884589791297913, 0.1293240189552307, 0.11631650477647781, 0.1919398456811905, -0.12610489130020142, 0.2721463441848755, -0.02861172705888748, -0.24754095077514648, 0.04509825259447098, 0.09355930238962173, 0.03091680258512497, -0.3482357859611511, -0.15156151354312897, 0.36233359575271606, -0.42417773604393005, 0.07600639760494232, 0.1346762329339981, 0.2710017263889313, -0.24922512471675873, 0.08401705324649811, 0.08165135234594345, -0.22328250110149384, 0.06668417900800705, 0.12186771631240845, -0.3615267872810364, -0.19370026886463165, -0.0393332913517952, 0.15796342492103577, -0.20983988046646118, 0.36464348435401917, -0.21932671964168549, -0.2897840142250061, -0.15257377922534943, 0.1882593333721161, -0.08539164066314697, -0.05569809302687645, -0.10593099892139435, 0.27911433577537537, -0.2478536069393158, -0.03377343341708183, 0.1151060163974762, 0.0920398086309433, 0.3135193884372711, -0.19658993184566498, -0.33459627628326416, -0.18161793053150177, 0.2806001305580139, 0.2429840862751007, 0.059852235019207, -0.36766308546066284, -0.035610999912023544, -0.20475348830223083, 0.16105709969997406, -0.33343470096588135, -0.19372572004795074, 0.18251901865005493, 0.3072914183139801, 0.11038977652788162, 0.13116425275802612, 0.08332732319831848, 0.18972380459308624, 0.19448158144950867, -0.0878586396574974, -0.07268446683883667, -0.24691098928451538, -0.17855922877788544, 0.16176505386829376, -0.00911976769566536, -0.11761213839054108, 0.12736286222934723, -0.05348897725343704, 0.037930238991975784, -0.3185912072658539, 0.21003161370754242, 0.2536376416683197, 0.0938745066523552, 0.37408649921417236, -0.2622913122177124, 0.13656705617904663, 0.06755951792001724, -0.033752575516700745, -0.02861189842224121, 0.3931182622909546, 0.07527558505535126, 0.08782202005386353, -0.09453845769166946, -0.06694574654102325, 0.04482882469892502, 0.20499655604362488, 0.0028488487005233765, -0.06975065916776657, 0.2935214042663574, -0.20158149302005768, 0.03844422474503517, 0.06398989260196686, 0.3695482611656189, 0.25259923934936523, -0.10556850582361221, -0.4746321439743042, 0.09881900250911713, 0.21032020449638367, -0.25690215826034546, -0.06667798012495041, 0.28976720571517944, -0.10787531733512878, -0.03622353449463844, 0.3333809971809387, 0.08434063196182251, -0.031690213829278946, -0.20145465433597565, -0.0336805060505867, 0.4660481810569763, -0.13990601897239685, -0.08520354330539703, 0.4762273132801056, 0.11042782664299011, 0.04206187278032303, 0.2725273370742798, 0.35305386781692505, 0.22286689281463623, 0.4672389030456543, 0.05395456403493881, 0.35368824005126953, -0.02196900174021721, -0.03595495596528053, -0.12734994292259216, -0.1287289261817932, 0.5936542749404907, 0.3841436505317688, -0.28341713547706604, 0.2265016734600067, 0.00045927613973617554, -0.05910021811723709, 0.2868422269821167, 0.13354475796222687, 0.030298197641968727, 0.27337366342544556, -0.04266573488712311, -0.3813793659210205, 0.3005537986755371, -0.3443419635295868, 0.13821928203105927, -0.28450194001197815, 0.007995136082172394, -0.3618168830871582, 0.4878053367137909, -0.25055062770843506, -0.03911837935447693, 0.044689543545246124, 0.35381025075912476, -0.40751561522483826, 0.2246987223625183, -0.19539794325828552, 0.039437368512153625, 0.4101823568344116, -0.01158188283443451, 0.17932984232902527, 0.12370485812425613, 0.18929505348205566, 0.34597617387771606, -0.11188453435897827, 0.1702841818332672, -0.43159258365631104, -0.1530868262052536, -0.05626843497157097, 0.5506259202957153, 0.10467223823070526, -0.6717526316642761, 0.11055757105350494, 0.10922558605670929, -0.18646657466888428, -0.17758651077747345, 0.560889720916748, 0.01158918160945177, 0.12045495212078094, -0.09773913770914078, 0.16002286970615387, -0.20077970623970032, 0.06280119717121124, 0.2371685802936554, -0.23324522376060486, -0.43013548851013184, 0.5924957394599915, 0.48443853855133057, 0.07238100469112396, 0.016333989799022675, 0.09431184828281403, 0.003973856568336487, 0.252665251493454, 0.008324801921844482, -0.01826520264148712, -0.1739187389612198, 0.04879802465438843, -0.19568119943141937, 0.04018377512693405, -0.08856201171875, -0.31572577357292175, 0.05305222049355507, 0.051732659339904785, 0.3408714234828949, -0.12452544271945953, 0.12481462210416794, 0.11397365480661392, -0.008208838291466236, -0.1663479059934616, -0.20133161544799805, -0.18570171296596527, 0.1483292281627655, 0.24993403255939484, 0.1178131103515625, -0.18495696783065796, 0.15842625498771667, -0.15919223427772522, 0.09802352637052536, -0.3446075916290283, 0.19099736213684082, 0.6000702381134033, 0.25736069679260254, 0.25137025117874146, -0.012614352628588676, 0.09043200314044952, -0.12083078920841217, -0.06468763947486877, 0.07896152138710022, -0.14172522723674774, -0.06253204494714737, 0.6689630746841431, 0.12195359170436859, -0.1560339629650116, 0.00861625000834465, -0.3050033450126648, -0.1182430163025856, 0.23606394231319427, -0.018658285960555077, -0.26314595341682434, -0.21033553779125214, 0.08655993640422821, 0.2135334312915802, -0.059970926493406296, -0.27350038290023804, 0.1600041538476944, 0.08930069208145142, 0.21784479916095734, -0.29801642894744873, -0.3123590350151062, 0.7256345748901367, -0.11218268424272537, -0.10541588068008423, -0.19327324628829956, 0.25971686840057373, 0.2473718822002411, 0.09069029241800308, -0.5798864960670471, -0.08543139696121216, 0.655293345451355, -0.05567143112421036, -0.5014201998710632, 0.06945907324552536, 0.0216112919151783, -0.03740362077951431, -0.0910181775689125, 0.1269877552986145, -0.07880975306034088, -0.12047906219959259, -0.07096736878156662, -0.05780880153179169 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
I still don't understand what you mean by "returning unflattened dictionary from DatasetMetadata or send this from DatasetMetadata", sorry. Can you give an example or rephrase this ? IMO load_dataset_card can return a dataset card object with a metadata field. If the metadata isn't flat (i.e. it has several configs), you can get the flat metadata of 1 specific config with `get_metadata_for_config`. But of course if you have better ideas or suggestions, we can discuss this
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
76
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. I still don't understand what you mean by "returning unflattened dictionary from DatasetMetadata or send this from DatasetMetadata", sorry. Can you give an example or rephrase this ? IMO load_dataset_card can return a dataset card object with a metadata field. If the metadata isn't flat (i.e. it has several configs), you can get the flat metadata of 1 specific config with `get_metadata_for_config`. But of course if you have better ideas or suggestions, we can discuss this
[ -0.013464462012052536, -0.24365487694740295, -0.10043489933013916, 0.2143123596906662, 0.29720568656921387, -0.19462800025939941, 0.025827843695878983, 0.30826738476753235, -0.2409709244966507, 0.15539219975471497, 0.011340041644871235, 0.388151079416275, 0.12543053925037384, 0.35087859630584717, 0.033456042408943176, 0.1265716701745987, -0.012964688241481781, -0.15546336770057678, 0.09428995847702026, -0.045378997921943665, -0.05533876270055771, -0.15443365275859833, 0.05955930054187775, 0.16674572229385376, -0.21694707870483398, -0.061654508113861084, -0.019438430666923523, 0.005661085247993469, -0.42647260427474976, -0.383135050535202, 0.4171200692653656, 0.3011501133441925, -0.23350657522678375, -0.20740234851837158, -0.00011050068133044988, -0.08899528533220291, 0.3171467185020447, -0.22949135303497314, -0.3434865474700928, -0.23459114134311676, -0.2375706136226654, -0.45600563287734985, 0.06579355895519257, -0.2860555648803711, -0.20997026562690735, -0.0873684361577034, -0.11676546931266785, -0.41504088044166565, 0.0751684382557869, -0.08660215884447098, 0.17827938497066498, -0.6800969839096069, -0.19783297181129456, -0.04898625612258911, 0.2688697278499603, 0.2961500883102417, -0.004770079627633095, -0.025819692760705948, 0.3613501787185669, 0.2657108008861542, 0.1866922378540039, 0.43863019347190857, -0.37878474593162537, 0.07822591811418533, 0.11778439581394196, 0.1187651976943016, -0.012479893863201141, 0.02453162893652916, 0.3415447473526001, 0.29237279295921326, 0.8151464462280273, -0.34529370069503784, -0.4081505239009857, -0.40629690885543823, 0.048449356108903885, -0.299559623003006, 0.03481392189860344, -0.20351751148700714, -0.1931896209716797, 0.21932874619960785, -0.28573647141456604, -0.24970169365406036, -0.16992470622062683, 0.08955079317092896, -0.20482367277145386, 0.3513740599155426, 0.05354082211852074, 0.17514798045158386, -0.17931649088859558, -0.07269489765167236, -0.03911400958895683, -0.06528816372156143, -0.003291301429271698, 0.09073249250650406, 0.15830938518047333, -0.06882691383361816, -0.14951962232589722, -0.4820254147052765, 0.5665073990821838, 0.27484190464019775, -0.06710847467184067, 0.35559046268463135, 0.09901999682188034, 0.0011810734868049622, 0.15174290537834167, -0.10882104933261871, 0.7125908732414246, 0.4234945476055145, 0.012104686349630356, -0.1912340372800827, 0.15322205424308777, -0.16573968529701233, -0.20778422057628632, 0.24606004357337952, -0.012119682505726814, 0.1364186704158783, 0.3225904703140259, -0.23033872246742249, -0.5409337878227234, 0.036928288638591766, -0.17035716772079468, -0.2655620872974396, -0.04515337571501732, 0.1749730259180069, -0.23569609224796295, -0.030965514481067657, 0.048482201993465424, -0.21535338461399078, 0.32626548409461975, -0.2434854954481125, -0.043681323528289795, -0.1508975774049759, -0.01106361672282219, 0.348563015460968, 0.12998619675636292, -0.019210703670978546, 0.21127517521381378, -0.08669235557317734, 0.032175760716199875, 0.08101709187030792, 0.18508398532867432, 0.029505591839551926, 0.38575372099876404, 0.027915408834815025, -0.17072610557079315, 0.38843825459480286, 0.08870245516300201, -0.4285590648651123, -0.2721167802810669, 0.06529474258422852, -0.36956366896629333, -0.38282960653305054, -0.024451827630400658, 0.24535304307937622, 0.07963550090789795, -0.06435117870569229, 0.0030113160610198975, 0.38148096203804016, 0.14573419094085693, 0.021973472088575363, 0.2680715024471283, 0.22659195959568024, 0.11667019128799438, -0.22172699868679047, 0.36888623237609863, 0.3004014492034912, -0.41901513934135437, -0.15763477981090546, -0.03824947401881218, -0.09953562915325165, 0.024828031659126282, -0.19037708640098572, -0.17791201174259186, 0.2151123285293579, 0.04149947315454483, 0.009888723492622375, 0.2870433032512665, -0.7354332804679871, -0.26072606444358826, 0.1614445298910141, 0.10040374100208282, 0.37016239762306213, 0.20984454452991486, -0.09379133582115173, 0.422628253698349, 0.3459555208683014, 0.40296608209609985, 0.33454430103302, -0.3529219329357147, -0.2030431479215622, -0.05501779168844223, -0.06105519086122513, 0.2085544466972351, -0.05820610746741295, -0.08936291933059692, -0.05565885454416275, 0.10136989504098892, 0.09842637926340103, 0.35691630840301514, 0.0014212243258953094, 0.3892887532711029, 0.0038153454661369324, 0.34459859132766724, 0.32796406745910645, 0.1173413097858429, -0.039246127009391785, -0.5745021104812622, 0.06146582216024399, 0.1694534868001938, 0.007163744419813156, -0.38296031951904297, -0.27395379543304443, -0.2573523223400116, -0.07291150093078613, -0.2525287866592407, -0.2916595935821533, 0.13308806717395782, 0.1684442013502121, -0.06057503819465637, -0.09965503215789795, -0.1965288668870926, 0.3142816722393036, -0.22698800265789032, 0.03313019126653671, 0.07574568688869476, 0.16864220798015594, 0.31004637479782104, 0.03446086123585701, -0.33953115344047546, 0.05541713163256645, 0.12838035821914673, -0.15464229881763458, 0.09479445219039917, 0.4087378978729248, 0.14742159843444824, -0.2600201368331909, -0.02381536364555359, 0.15826791524887085, 0.10387271642684937, -0.03891335427761078, 0.20318984985351562, -0.08488264679908752, -0.09920322149991989, -0.19764551520347595, -0.1534191370010376, 0.41466373205184937, -0.16070106625556946, 0.2823752164840698, -0.09122638404369354, -0.05892608314752579, 0.24567443132400513, 0.09359659254550934, -0.3524700701236725, -0.5363478660583496, -0.35600605607032776, -0.2457600086927414, 0.41471096873283386, -0.24943457543849945, -0.00683671236038208, 0.23463964462280273, 0.5838105082511902, -0.0968872457742691, -0.017763175070285797, 0.15995439887046814, -0.058449842035770416, -0.08630289137363434, -0.06993231177330017, 0.29584556818008423, 0.26071780920028687, 0.2298508584499359, -0.1162174791097641, 0.1013173758983612, 0.2986427843570709, -0.04319825768470764, 0.4074430763721466, 0.220382422208786, 0.3674374222755432, 0.16062790155410767, -0.0806969478726387, -0.04226669669151306, -0.026088425889611244, -0.12757238745689392, 0.20213750004768372, 0.11481518298387527, 0.08390352129936218, 0.007893476635217667, -0.36830541491508484, -0.5566723346710205, -0.2152981013059616, -0.6180553436279297, -0.3655836880207062, -0.22600290179252625, 0.1228141263127327, -0.3411004841327667, -0.04716786742210388, 0.25659629702568054, 0.12424416840076447, 0.13808253407478333, -0.0353182815015316, -0.29945793747901917, -0.1116466373205185, -0.23087549209594727, -0.11705905944108963, 0.07600018382072449, -0.23584719002246857, -0.3749639689922333, 0.632609486579895, 0.011802604421973228, 0.36765170097351074, -0.47469496726989746, -0.39204925298690796, 0.21432828903198242, -0.011333148926496506, 0.09124002605676651, 0.4510135352611542, 0.18369318544864655, 0.12417526543140411, -0.08065395057201385, 0.3388213813304901, 0.3012247681617737, -0.03207017108798027, -0.15615302324295044, -0.053643397986888885, 0.14730913937091827, -0.017305877059698105, -0.474386066198349, -0.5371705889701843, -0.10003694891929626, -0.08231805264949799, -0.014077695086598396, 0.2414511889219284, 0.3186545968055725, -0.05780796706676483, 0.12502598762512207, -0.24684369564056396, 0.21702460944652557, -0.1288406252861023, -0.17237983644008636, -0.139556422829628, -0.1515091210603714, 0.06425116956233978, -0.16099202632904053, 0.20931512117385864, 0.14122331142425537, 0.05015693977475166, -0.06810712069272995, 0.060642894357442856, 0.20267543196678162, 0.28067365288734436, 0.08616945892572403, -0.22276164591312408, 0.19257238507270813, 0.28447040915489197, -0.1229599267244339, -0.21721649169921875, -0.27974602580070496, 0.16222114861011505, -0.13386940956115723, 0.15744338929653168, 0.014573538675904274, 0.0898195207118988, 0.09966464340686798, 0.08730428665876389, 0.11769703030586243, -0.07038794457912445, 0.010836903005838394, 0.007295120507478714, -0.034570273011922836, -0.011317901313304901, -0.31146299839019775, -0.2409464567899704, -0.03575421869754791, 0.20711833238601685, 0.2529202401638031, 0.01677960529923439, 0.09690720587968826, -0.17556984722614288, -0.27119943499565125, -0.2093174159526825, -0.10717259347438812, 0.054100386798381805, -0.25582385063171387, -0.2971751391887665, 0.23020502924919128, 0.11320657283067703, -0.24005544185638428, 0.08101660758256912, 0.09343233704566956, 0.12799622118473053, -0.20833712816238403, 0.08946596831083298, -0.3918505609035492, -0.12600825726985931, 0.047825634479522705, 0.3523969054222107, 0.19111761450767517, -0.14598475396633148, -0.005339391529560089, -0.05397208034992218, 0.14427798986434937, 0.10199332982301712, 0.4367462396621704, -0.31539982557296753, -0.3710606098175049, 0.13027799129486084, 0.0544101744890213, -0.04160381108522415, -0.16597206890583038, -0.18318277597427368, 0.194244846701622, 0.0850876122713089, 0.48844054341316223, -0.5842182636260986, -0.2786950170993805, 0.1257418990135193, 0.05537021905183792, -0.20608362555503845, 0.36296725273132324, 0.028680909425020218, -0.13836896419525146, -0.1965605914592743, -0.023347683250904083, -0.26427161693573, 0.3941921591758728, 0.02668924443423748, -0.15946340560913086, 0.03231172263622284, 0.489421010017395, 0.020875930786132812, 0.06815929710865021, 0.24456241726875305, -0.22196203470230103, 0.22100919485092163, 0.1508350372314453, 0.8427994251251221, 0.41397911310195923, 0.13337931036949158, -0.31793448328971863, 0.03143259137868881, -0.12527409195899963, -0.09479593485593796, 0.53337562084198, 0.2296953797340393, 0.026759643107652664, 0.44982194900512695, 0.14863140881061554, -0.05445505678653717, -0.0874212235212326, -0.09832853078842163, 0.18176256120204926, 0.09000149369239807, -0.6510772109031677, -0.8834508657455444, 0.3600001335144043, 0.09198863804340363, -0.22966624796390533, 0.5653364658355713, 0.43216049671173096, -0.634807288646698, 0.027736082673072815, 0.400407999753952, 0.9634710550308228, -0.20132987201213837, 0.05204018950462341, -0.040543727576732635, 0.08286072313785553, 0.410873681306839, -0.32923102378845215, -0.007551424205303192, -0.2894984781742096, -0.07984592765569687, 0.026541398838162422, 0.19349704682826996, 0.2835965156555176, 0.28866150975227356, -0.41618111729621887, 0.10048174858093262, 0.09844967722892761, 0.1596369743347168, -0.1166219413280487, 0.26083698868751526, -0.013133848085999489, -0.12715975940227509, -0.0711376890540123, 0.03365602344274521, -0.13224662840366364, 0.14691844582557678, -0.005749214440584183, -0.1684255599975586, -0.19006772339344025, -0.2518600821495056, -0.04895409569144249, -0.1411389410495758, -0.3500365912914276, 0.048549994826316833, 0.1428901106119156, -0.0015841200947761536, -0.22665612399578094, -0.2500489354133606, 0.03366478905081749, 0.12695929408073425, -0.20764966309070587, 0.08427008986473083, -0.028370387852191925, 0.15359394252300262, 0.12389829754829407, -0.15653415024280548, 0.3689192235469818, -0.008668432012200356, -0.33181893825531006, -0.012877106666564941, 0.11904507875442505, -0.10414230823516846, -0.21323993802070618, -0.23645205795764923, 0.5627607703208923, -0.4678257405757904, 0.05301645025610924, -0.039291635155677795, 0.2070395052433014, -0.14875157177448273, 0.06536315381526947, 0.16783270239830017, -0.05880507081747055, 0.07348024100065231, 0.32610589265823364, -0.35932832956314087, -0.13690981268882751, 0.07112010568380356, 0.06761316955089569, -0.3219681978225708, 0.2945924401283264, -0.1892242133617401, -0.2494620531797409, -0.11729764193296432, 0.26917797327041626, 0.263435959815979, -0.149566650390625, -0.037341270595788956, 0.24724967777729034, -0.08500111103057861, 0.10822678357362747, 0.19549447298049927, -0.030750028789043427, 0.22238850593566895, -0.2980300486087799, -0.19012674689292908, -0.17192226648330688, 0.40950047969818115, 0.18359272181987762, 0.16395661234855652, -0.3662357032299042, -0.24889810383319855, -0.06970831751823425, 0.03566320240497589, -0.33105412125587463, -0.1712648719549179, 0.11775278300046921, 0.3584265410900116, 0.2765292525291443, 0.1818878948688507, 0.09322074800729752, 0.20177483558654785, 0.12113115191459656, -0.1701183319091797, -0.015486620366573334, -0.20151415467262268, -0.1796220988035202, 0.16894371807575226, 0.00519944541156292, -0.11035631597042084, 0.023978356271982193, -0.14580921828746796, -0.006397780030965805, -0.27915939688682556, 0.2985490560531616, 0.24959799647331238, 0.1307310163974762, 0.3186894357204437, -0.049910660833120346, 0.18052810430526733, -0.248588427901268, 0.004396319389343262, 0.0841042548418045, 0.3426710367202759, -0.058619290590286255, 0.09616981446743011, -0.23291492462158203, -0.1455625742673874, 0.08945982158184052, 0.2717151641845703, 0.29688864946365356, 0.04010067135095596, 0.21818730235099792, -0.0838574469089508, 0.1142435371875763, 0.167213574051857, 0.29963159561157227, 0.12315769493579865, -0.12855105102062225, -0.3097827434539795, 0.17051181197166443, 0.2240719199180603, -0.2102951854467392, -0.0585583858191967, 0.13032756745815277, -0.34004393219947815, -0.044886987656354904, 0.2782609164714813, 0.06730122864246368, 0.1210954338312149, -0.2000967413187027, -0.24544861912727356, 0.5829599499702454, 0.008845051750540733, -0.05531005561351776, 0.5133306980133057, 0.05916574224829674, -0.061007220298051834, 0.1823369264602661, 0.28772127628326416, 0.22225849330425262, 0.378479540348053, -0.17634713649749756, 0.48798778653144836, 0.09019674360752106, -0.24025940895080566, 0.20179103314876556, -0.11094442009925842, 0.6158109903335571, 0.3481619656085968, -0.2112368941307068, 0.1319074034690857, -0.0502433180809021, -0.017943955957889557, 0.2479633390903473, 0.0295881200581789, -0.010045238770544529, 0.08617691695690155, 0.05919425189495087, -0.20478321611881256, 0.013093337416648865, -0.40281713008880615, -0.08375024050474167, -0.14217695593833923, -0.09944711625576019, -0.3200932741165161, 0.3875431418418884, -0.21842806041240692, 0.09049449115991592, -0.06592150777578354, 0.23397240042686462, -0.16553547978401184, 0.18787458539009094, -0.2271692305803299, 0.03144734352827072, 0.2958076596260071, -0.08056183159351349, 0.2669987678527832, 0.2456391155719757, 0.0499979592859745, 0.37897005677223206, 0.1057518720626831, 0.20509637892246246, -0.23307372629642487, -0.23011444509029388, -0.10527778416872025, 0.3189595639705658, 0.0008752867579460144, -0.7141194343566895, -0.04137508571147919, 0.16580869257450104, -0.17040830850601196, -0.2682326138019562, 0.4144836664199829, 0.0628289133310318, -0.0015618950128555298, -0.16624131798744202, 0.11316540092229843, -0.229843407869339, -0.060554251074790955, 0.13937847316265106, -0.3372134566307068, -0.45219558477401733, 0.5783762335777283, 0.42769426107406616, 0.0413544587790966, -0.10640139132738113, 0.08971163630485535, 0.02338441275060177, 0.23988182842731476, -0.08500930666923523, 0.12902499735355377, -0.19401319324970245, 0.025439143180847168, -0.1570928394794464, 0.09782497584819794, 0.10996930301189423, -0.23160119354724884, 0.03693908452987671, 0.10665012896060944, 0.2780541479587555, -0.19619467854499817, 0.08955204486846924, 0.10007132589817047, 0.10404238104820251, 0.0014341287314891815, -0.1873357743024826, -0.3562551736831665, 0.2631942927837372, 0.2217760533094406, 0.10474464297294617, -0.2409137487411499, 0.08819068968296051, -0.1634826958179474, 0.10580427199602127, -0.48696017265319824, 0.2431526780128479, 0.584613025188446, 0.11162160336971283, 0.2786833643913269, -0.018951399251818657, 0.332409143447876, -0.11955571919679642, -0.19723458588123322, 0.11736554652452469, -0.035792190581560135, -0.11569467186927795, 0.6186039447784424, 0.13110345602035522, -0.055799007415771484, 0.14338380098342896, -0.30076366662979126, -0.17217566072940826, 0.1723068654537201, -0.06338483840227127, -0.22693543136119843, -0.23888027667999268, -0.015323977917432785, 0.06468801945447922, -0.1873072236776352, -0.25136154890060425, 0.07954853773117065, 0.11869774758815765, 0.11702845990657806, -0.26360201835632324, -0.20562809705734253, 0.6781067848205566, -0.19553102552890778, 0.03616403415799141, -0.2988840639591217, 0.34475064277648926, 0.2004399597644806, 0.10019111633300781, -0.6027757525444031, -0.041350044310092926, 0.593467116355896, -0.07991698384284973, -0.39508259296417236, 0.15491603314876556, 0.20391561090946198, 0.015009548515081406, -0.21811510622501373, 0.22370411455631256, -0.0833035558462143, -0.12247719615697861, -0.14656779170036316, 0.006633929908275604 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
@lhoestq, I think he is saying whatever `get_metadata_for_config` is doing can be done in `load_dataset_card` by taking the unflattened `metadata_dict` as input. @bhavitvyamalik, I think it'd be better to have this "post-processing" in `DatasetMetadata` instead of `load_dataset_card`, as @lhoestq has shown. I'll quickly get on that. --- Three things that are to be changed in `DatasetMetadata`: 1. Allow Non-flat elements and their validation. 2. Create a method to get metadata by config name. 3. Create a `validate()` method. Once that is done, this PR can be updated and reviewed, wdys?
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
90
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. @lhoestq, I think he is saying whatever `get_metadata_for_config` is doing can be done in `load_dataset_card` by taking the unflattened `metadata_dict` as input. @bhavitvyamalik, I think it'd be better to have this "post-processing" in `DatasetMetadata` instead of `load_dataset_card`, as @lhoestq has shown. I'll quickly get on that. --- Three things that are to be changed in `DatasetMetadata`: 1. Allow Non-flat elements and their validation. 2. Create a method to get metadata by config name. 3. Create a `validate()` method. Once that is done, this PR can be updated and reviewed, wdys?
[ -0.012225717306137085, -0.02255311608314514, -0.09620657563209534, 0.10994159430265427, 0.36002010107040405, 0.05448765307664871, 0.13635028898715973, 0.2241506278514862, -0.4920564293861389, -0.12028057873249054, 0.050339214503765106, 0.2738909423351288, 0.23215501010417938, 0.23194174468517303, 0.10103753209114075, 0.06509305536746979, -0.014524988830089569, -0.11244787275791168, 0.28012752532958984, 0.12061750888824463, 0.008080355823040009, -0.19631250202655792, -0.09669677168130875, 0.18903928995132446, -0.25724151730537415, -0.08048320561647415, -0.06011948361992836, 0.020283035933971405, -0.2958500385284424, -0.5978385806083679, 0.008923882618546486, 0.3839900493621826, -0.2661442458629608, -0.009959913790225983, -0.00010887582902796566, -0.08447882533073425, 0.3884112238883972, -0.10201074182987213, -0.24014127254486084, -0.0025861263275146484, -0.34581637382507324, -0.3853439688682556, -0.2120799422264099, -0.14649724960327148, 0.16403576731681824, -0.12387021631002426, -0.23000164330005646, -0.4140852391719818, 0.09523224085569382, -0.07383329421281815, 0.18895383179187775, -0.6482974290847778, -0.1441948115825653, 0.0884409099817276, 0.2488080859184265, 0.3966267704963684, 0.0659322440624237, 0.026391124352812767, 0.36324918270111084, 0.09184886515140533, 0.2889099419116974, 0.5754103660583496, -0.3091757595539093, -0.030029036104679108, 0.1386750042438507, 0.07069537043571472, 0.1897461712360382, -0.02747972309589386, 0.32554891705513, 0.17151567339897156, 0.8361642360687256, -0.37637412548065186, -0.448652058839798, -0.40305477380752563, -0.0765218511223793, -0.31437262892723083, 0.18711572885513306, -0.07363429665565491, -0.18643531203269958, 0.19832327961921692, -0.16758064925670624, -0.278985857963562, -0.039009928703308105, -0.12437489628791809, 0.017604954540729523, 0.29064634442329407, 0.13593773543834686, 0.08093948662281036, -0.14172056317329407, -0.039984531700611115, 0.023626428097486496, -0.15132223069667816, -0.10327723622322083, 0.19130238890647888, 0.015432711690664291, 0.011770479381084442, -0.2579604983329773, -0.2272946834564209, 0.31838905811309814, 0.36551302671432495, -0.12068666517734528, 0.31435686349868774, 0.1596800684928894, 0.07962430268526077, 0.05998754873871803, -0.0061735594645142555, 0.6414894461631775, 0.3233512043952942, -0.02271983027458191, -0.12652206420898438, 0.3253116011619568, -0.07467149943113327, -0.11258269101381302, -0.04884681478142738, -0.021119453012943268, 0.1643897294998169, 0.38425254821777344, -0.24841639399528503, -0.40915799140930176, 0.16557227075099945, -0.12199369817972183, -0.33411434292793274, 0.1503276377916336, 0.1345157027244568, -0.16883358359336853, 0.03635091707110405, 0.009553097188472748, -0.25433266162872314, 0.37421271204948425, -0.023071391507983208, -0.04207028076052666, -0.11526444554328918, -0.0067729465663433075, 0.5008862614631653, 0.1621115803718567, -0.023396167904138565, 0.3296172320842743, -0.010290218517184258, -0.025549650192260742, 0.03957542032003403, 0.13728933036327362, -0.029100583866238594, 0.2675814628601074, 0.2896944284439087, -0.43715783953666687, 0.2539668381214142, 0.012114124372601509, -0.17430196702480316, -0.1572917103767395, 0.22251245379447937, -0.33238130807876587, -0.3192066550254822, 0.11117606610059738, 0.23469890654087067, 0.13676832616329193, -0.07857134193181992, -0.05782053619623184, 0.13680925965309143, 0.4528447687625885, -0.15657590329647064, 0.2887900769710541, 0.13446912169456482, 0.11849747598171234, -0.1270287185907364, 0.1787033975124359, 0.3277777433395386, -0.42511048913002014, 0.041033051908016205, 0.03494308516383171, 0.06736287474632263, 0.10246936976909637, -0.2743076682090759, -0.11246780306100845, 0.11873617768287659, 0.10954448580741882, 0.19178403913974762, 0.2514236271381378, -0.7158802151679993, -0.050757989287376404, 0.2564372420310974, -0.04307107627391815, 0.2641807794570923, 0.25708943605422974, -0.18172912299633026, 0.14061664044857025, 0.08267184346914291, 0.17433524131774902, -0.04255928844213486, -0.2100600302219391, -0.3131110668182373, -0.28829237818717957, 0.17382097244262695, 0.06940911710262299, -0.046987827867269516, -0.22873960435390472, -0.0984605923295021, -0.18259617686271667, 0.022850483655929565, 0.3367043733596802, 0.052394118160009384, 0.24471016228199005, 0.1682072877883911, 0.44465091824531555, 0.2614066004753113, 0.2033156156539917, 0.06176839768886566, -0.3598221242427826, 0.06514675915241241, 0.1792745739221573, 0.06040312349796295, -0.24623329937458038, -0.3630683422088623, -0.31747835874557495, -0.14307352900505066, -0.2635115385055542, -0.3413859009742737, 0.08806994557380676, 0.3121277093887329, -0.18695931136608124, -0.3136940598487854, -0.18493615090847015, 0.4261607527732849, -0.24294769763946533, 0.08784041553735733, 0.056008271872997284, -0.04616749286651611, 0.008643856272101402, 0.05280839279294014, -0.3174267113208771, 0.024874791502952576, 0.06363280862569809, -0.07069480419158936, -0.07825436443090439, 0.5768565535545349, 0.4030137360095978, -0.36807572841644287, -0.043006427586078644, 0.23202355206012726, 0.15578745305538177, 0.013352040201425552, 0.1333961933851242, -0.2997013032436371, 0.05869923532009125, -0.039062805473804474, -0.1164373978972435, 0.199887216091156, -0.4070039689540863, 0.23440581560134888, -0.09824028611183167, -0.2581644356250763, 0.255789577960968, 0.07975439727306366, -0.4182779788970947, -0.4448813796043396, -0.18245592713356018, -0.12443946301937103, 0.34810417890548706, -0.14809367060661316, 0.011433765292167664, 0.1291702389717102, 0.3215341567993164, -0.06357572972774506, -0.08356321603059769, 0.11086879670619965, 0.15531368553638458, 0.002274882048368454, -0.0025728419423103333, 0.14060942828655243, 0.2828541398048401, 0.13672415912151337, -0.2835899889469147, 0.11550725996494293, 0.2973422706127167, -0.18827296793460846, 0.362150102853775, 0.32020705938339233, 0.26356369256973267, 0.10320660471916199, 0.0032104174606502056, 0.048796217888593674, 0.05235935002565384, -0.0926138162612915, 0.37078192830085754, 0.14983956515789032, -0.1613154411315918, 0.28001725673675537, -0.30687418580055237, -0.26399075984954834, -0.2230461984872818, -0.5144826173782349, -0.3486587405204773, -0.2028546780347824, 0.19396719336509705, -0.390897661447525, -0.0630786269903183, 0.4656651020050049, 0.18085739016532898, 0.1217133179306984, 0.05649843066930771, -0.4983433485031128, -0.2799643874168396, -0.2079947143793106, -0.2359308898448944, 0.030395284295082092, 0.035212259739637375, -0.2585718631744385, 0.5330085158348083, -0.08847677707672119, 0.2320796698331833, -0.3506429195404053, -0.5313541293144226, 0.05059264972805977, -0.14007996022701263, 0.04227626323699951, 0.15404732525348663, 0.09685122221708298, 0.17970219254493713, -0.008383181877434254, 0.1826753318309784, 0.26259660720825195, -0.05212130770087242, -0.14378049969673157, 0.07564172893762589, -0.008090739138424397, -0.15776057541370392, -0.39039960503578186, -0.4714166820049286, -0.1362355500459671, 0.03197250887751579, -0.040757931768894196, 0.15912708640098572, 0.376916766166687, -0.027923699468374252, -0.14482717216014862, -0.40200215578079224, 0.2648850083351135, -0.20868618786334991, -0.22245126962661743, -0.13662804663181305, -0.0029023222159594297, 0.07453521341085434, -0.18623068928718567, 0.2945510149002075, 0.13188016414642334, 0.0018255296163260937, -0.08591096103191376, -0.12504519522190094, 0.3429524302482605, 0.2559620141983032, 0.05850234627723694, -0.19474700093269348, 0.21374574303627014, 0.2347669154405594, -0.05111704021692276, -0.11783745884895325, -0.31612440943717957, 0.11936333775520325, -0.1986594796180725, 0.19390521943569183, 0.003853973001241684, 0.008029015734791756, 0.033965546637773514, 0.0873139351606369, 0.017318841069936752, -0.15338602662086487, 0.08853434026241302, 0.09265925735235214, 0.05438323691487312, -0.050242356956005096, -0.4115852117538452, -0.21813753247261047, -0.10333791375160217, 0.13531894981861115, 0.23698130249977112, -0.03495405614376068, 0.08143197000026703, -0.13184544444084167, -0.017635062336921692, -0.27579665184020996, -0.06267808377742767, 0.052232928574085236, -0.23760956525802612, 0.017647400498390198, 0.1869957000017166, 0.1377541422843933, -0.24062514305114746, 0.007147345691919327, 0.18718264997005463, 0.27268099784851074, -0.10577229410409927, -0.13588422536849976, -0.3006229102611542, -0.00971364974975586, 0.20843258500099182, 0.3649458885192871, 0.19096623361110687, 0.1259726881980896, -0.023778904229402542, -0.03882775828242302, 0.04894961416721344, -0.006795262452214956, 0.42286211252212524, -0.32565566897392273, -0.3772772550582886, 0.23457971215248108, 0.15536361932754517, 0.14688031375408173, -0.2019718885421753, -0.13601107895374298, -0.00877312757074833, 0.3311236500740051, 0.585513174533844, -0.516523003578186, -0.2947219908237457, 0.15009936690330505, -0.012858133763074875, -0.12339483201503754, 0.19504863023757935, -0.20430584251880646, -0.18529897928237915, -0.2518278658390045, -0.04225292056798935, -0.22426307201385498, 0.40549227595329285, 0.1428796499967575, 0.15609170496463776, 0.20767198503017426, 0.3532427251338959, 0.01601375639438629, 0.1508360505104065, 0.16019394993782043, -0.19304680824279785, 0.2146115005016327, 0.09623341262340546, 0.692536473274231, 0.5329310297966003, 0.10164759308099747, -0.43407994508743286, -0.03757034242153168, -0.008772697299718857, -0.14976660907268524, 0.5741062164306641, 0.3387976586818695, -0.01697210967540741, 0.23252210021018982, 0.15237586200237274, -0.015321366488933563, -0.35047832131385803, 0.1510179340839386, 0.28283652663230896, 0.14669843018054962, -0.5170507431030273, -0.9091673493385315, 0.6404420137405396, 0.3075215220451355, -0.2812635898590088, 0.3777732253074646, 0.3256317377090454, -0.4485085606575012, -0.029950447380542755, 0.35778242349624634, 1.0224143266677856, -0.09626567363739014, -0.06797580420970917, -0.029434576630592346, 0.0523480549454689, 0.20087864995002747, -0.5264565348625183, 0.08617635816335678, -0.35738202929496765, -0.11311398446559906, 0.05306054651737213, 0.06039319559931755, 0.5653122663497925, 0.24159139394760132, -0.3811662495136261, 0.025151053443551064, 0.0018600896000862122, 0.2482423633337021, 0.03344101458787918, 0.27453598380088806, -0.1102401539683342, -0.1868855357170105, 0.02754785865545273, 0.06087202578783035, -0.13340750336647034, 0.1103961318731308, -0.10297639667987823, -0.15704824030399323, -0.1466137021780014, -0.20849721133708954, -0.1832905411720276, -0.3182845413684845, -0.3080953061580658, 0.012205694802105427, 0.08851471543312073, -0.08062635362148285, -0.04213576018810272, -0.485416054725647, 0.18323677778244019, 0.20310331881046295, -0.12208269536495209, 0.13135600090026855, -0.04128735512495041, 0.0348665751516819, 0.03912137448787689, -0.14200329780578613, 0.35950398445129395, -0.03581048175692558, -0.2404938042163849, -0.06897974759340286, 0.05642436444759369, -0.06820152699947357, -0.3170909881591797, -0.33398211002349854, 0.4340444803237915, -0.4289437532424927, 0.13998858630657196, -0.002651229500770569, 0.3385436534881592, -0.23831337690353394, 0.13163338601589203, 0.033992186188697815, -0.3659055531024933, 0.16521547734737396, 0.011269845068454742, -0.19253264367580414, -0.10166968405246735, -0.1043100580573082, 0.005505258217453957, -0.3864685297012329, 0.28217601776123047, -0.20721657574176788, -0.20323680341243744, -0.21684539318084717, 0.209256112575531, 0.007183173671364784, -0.12710075080394745, -0.12819422781467438, 0.23963694274425507, -0.3174401819705963, 0.0786135345697403, -0.050312671810388565, 0.09311532974243164, 0.15830306708812714, -0.09581170231103897, -0.26957428455352783, -0.2742491364479065, 0.3094642758369446, 0.18941077589988708, 0.13929127156734467, -0.3694261312484741, -0.05867354944348335, -0.17442724108695984, 0.285621702671051, -0.34529805183410645, -0.17200294137001038, 0.19124948978424072, 0.3741264045238495, 0.2794812023639679, 0.09573513269424438, -0.05248849466443062, 0.06114626303315163, 0.14166158437728882, 0.05715692788362503, -0.01728150062263012, -0.22578254342079163, -0.0008919183164834976, 0.15073397755622864, -0.08982355147600174, -0.07083488255739212, -0.00039193080738186836, -0.035341694951057434, -0.2366846799850464, -0.14691261947155, 0.15282568335533142, -0.07721918076276779, 0.08816550672054291, 0.2642737627029419, -0.10918773710727692, 0.13333472609519958, 0.06690741330385208, 0.007823769003152847, -0.14205680787563324, 0.33811163902282715, 0.06592181324958801, 0.10412319004535675, -0.18326270580291748, -0.10268157720565796, 0.05962923914194107, 0.2432379424571991, 0.21339739859104156, -0.018490757793188095, 0.15481480956077576, -0.2807919979095459, 0.17018066346645355, 0.10656377673149109, 0.3006495237350464, 0.4335990846157074, 0.05613047257065773, -0.37876999378204346, 0.21054795384407043, 0.20877660810947418, -0.2776815891265869, -0.04432251676917076, 0.15510888397693634, -0.141896590590477, -0.005704935640096664, 0.2721599042415619, 0.21202340722084045, 0.1211402416229248, -0.35189932584762573, 0.12367161363363266, 0.6397130489349365, 0.0001574382185935974, -0.0893513411283493, 0.5645642876625061, -0.02432522550225258, 0.07631134241819382, 0.25482258200645447, 0.394029825925827, 0.164255291223526, 0.32472026348114014, -0.12781456112861633, 0.5251237750053406, 0.12216389924287796, -0.08060622215270996, -0.07389902323484421, -0.2001754194498062, 0.3437691330909729, 0.4362373948097229, -0.11735181510448456, 0.1296248584985733, 0.012021996080875397, -0.059813059866428375, 0.24055717885494232, -0.10429713129997253, -0.12989583611488342, 0.2298956662416458, 0.09612932801246643, -0.31886324286460876, -0.017332326620817184, -0.4029234051704407, 0.09341111779212952, -0.22014233469963074, 0.05804754048585892, -0.291736364364624, 0.6191415786743164, -0.2728033661842346, -0.10034097731113434, -0.052688486874103546, 0.16519269347190857, -0.13075044751167297, 0.15849152207374573, -0.12149739265441895, 0.05793903395533562, 0.31331098079681396, -0.134918674826622, 0.2975820004940033, 0.25699618458747864, 0.29457199573516846, 0.38453736901283264, -0.0943666398525238, 0.03579714521765709, -0.4311235845088959, -0.11635268479585648, 0.09128957241773605, 0.4916023313999176, 0.111787348985672, -0.58173668384552, -0.005993559956550598, 0.11021502315998077, -0.1192246675491333, -0.2277422398328781, 0.3480653762817383, 0.14638906717300415, -0.024548744782805443, 0.23142457008361816, 0.12587545812129974, -0.23476579785346985, 0.07627694308757782, 0.16301070153713226, -0.1779279112815857, -0.3681930899620056, 0.8126509785652161, 0.445022851228714, 0.00017911195755004883, 0.006595270708203316, 0.09915322810411453, -0.02323330193758011, 0.34346649050712585, 0.10038981586694717, -0.04224842041730881, -0.3049255907535553, 0.10795137286186218, -0.3230120539665222, 0.01049911230802536, 0.014905963093042374, -0.285366028547287, 0.030009029433131218, -0.03509754687547684, 0.3093074858188629, -0.007162623107433319, 0.04279427230358124, 0.010718654841184616, 0.13908973336219788, -0.027474477887153625, -0.3274698555469513, -0.0019722916185855865, 0.15815991163253784, 0.23388905823230743, 0.12476599216461182, -0.2585847079753876, 0.17029404640197754, -0.2757624089717865, 0.11109396070241928, -0.3712414503097534, 0.17994405329227448, 0.6649119853973389, 0.29860156774520874, 0.2686779797077179, -0.1027069017291069, 0.13534387946128845, 0.08528204262256622, -0.05438694357872009, -0.02665117010474205, -0.12116076052188873, -0.06122451275587082, 0.6198927760124207, 0.11228406429290771, -0.12177401781082153, -0.0039051217027008533, -0.26314395666122437, -0.25934696197509766, 0.18241380155086517, -0.1236339807510376, -0.3005945384502411, -0.2818577289581299, -0.09787259250879288, 0.21984803676605225, -0.006372896023094654, -0.11622382700443268, -0.0057113394141197205, 0.08451278507709503, 0.18296101689338684, -0.5098719000816345, -0.36799561977386475, 0.8134670853614807, -0.1447615921497345, -0.11277475953102112, -0.3088896572589874, 0.293549507856369, 0.11031936854124069, 0.23025555908679962, -0.7101031541824341, -0.06652067601680756, 0.576832115650177, -0.06829331070184708, -0.46613967418670654, 0.12156505882740021, 0.07378490269184113, -0.06150157004594803, -0.133196622133255, 0.16982558369636536, -0.21228551864624023, -0.056188590824604034, -0.29550597071647644, 0.016805268824100494 ]
https://github.com/huggingface/datasets/pull/2395
`pretty_name` for dataset in YAML tags
Thanks @gchhablani for the help ! Now that https://github.com/huggingface/datasets/pull/2436 is merged you can remove the `-` in the pretty_name @bhavitvyamalik :)
I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here.
21
text: `pretty_name` for dataset in YAML tags I'm updating `pretty_name` for datasets in YAML tags as discussed with @lhoestq. Here are the first 10, please let me know if they're looking good. If dataset has 1 config, I've added `pretty_name` as `config_name: full_name_of_dataset` as config names were `plain_text`, `default`, `squad` etc (not so important in this case) whereas when dataset has >1 configs, I've added `config_name: full_name_of_dataset+config_name` so as to let user know about the `config` here. Thanks @gchhablani for the help ! Now that https://github.com/huggingface/datasets/pull/2436 is merged you can remove the `-` in the pretty_name @bhavitvyamalik :)
[ -0.12840060889720917, -0.20786601305007935, -0.08484672009944916, -0.08006656169891357, 0.5101158022880554, 0.00048379600048065186, 0.06241839379072189, 0.3183700740337372, -0.27269601821899414, 0.07283703982830048, -0.037795476615428925, 0.20261512696743011, 0.2689887285232544, 0.3053407371044159, 0.2314295917749405, 0.04296979308128357, 0.10040812194347382, 0.0673380196094513, 0.1165415570139885, -0.0020475685596466064, -0.016623595729470253, 0.010401353240013123, 0.07754223048686981, 0.22833287715911865, -0.012230577878654003, 0.02011916972696781, 0.05303090065717697, -0.15936124324798584, -0.152250736951828, -0.4800153970718384, 0.14503106474876404, 0.25903624296188354, -0.23483183979988098, -0.13204562664031982, -0.00010206266597378999, -0.07739429175853729, 0.4298596978187561, -0.026137759909033775, -0.209383025765419, -0.040406495332717896, -0.1434297114610672, -0.579369843006134, -0.02441095933318138, -0.18202811479568481, -0.027333244681358337, -0.07113150507211685, 0.10460320115089417, -0.29678985476493835, 0.06584571301937103, -0.13088788092136383, 0.27271243929862976, -0.35997381806373596, -0.19712741672992706, 0.020594049245119095, 0.3660288453102112, 0.2907406687736511, -0.11703965067863464, -0.07175280153751373, 0.4453461170196533, 0.014607980847358704, 0.25442740321159363, 0.5450296998023987, -0.1992952823638916, 0.11470234394073486, 0.10378436744213104, 0.18161900341510773, -0.008891858160495758, -0.0023693516850471497, 0.27626052498817444, 0.338251531124115, 0.5847765803337097, -0.43394070863723755, -0.3411954939365387, -0.28336045145988464, -0.01653839647769928, -0.33158761262893677, 0.23935145139694214, -0.20006658136844635, -0.023868542164564133, 0.057223886251449585, -0.1977987289428711, -0.17164915800094604, -0.024180930107831955, 0.07104192674160004, 0.08904513716697693, 0.18020915985107422, 0.09435045719146729, 0.136057510972023, -0.1226968765258789, -0.24174566566944122, -0.2179020196199417, -0.038386523723602295, -0.23429331183433533, 0.11206664890050888, -0.07072058320045471, 0.006005823612213135, -0.2552460730075836, -0.10071190446615219, 0.45068684220314026, 0.15533503890037537, -0.24169977009296417, 0.20281511545181274, 0.25774085521698, 0.07748524099588394, -0.1381736844778061, 0.08826965093612671, 0.6803104877471924, 0.11907581239938736, 0.20796504616737366, 0.04758886620402336, 0.33656322956085205, -0.05184023082256317, 0.053831055760383606, -0.21456795930862427, -0.01682901568710804, -0.009258514270186424, 0.3930729031562805, -0.048354312777519226, -0.3129516541957855, 0.04426676407456398, -0.07408834248781204, -0.2068670243024826, 0.09196198731660843, 0.05475814267992973, 0.027302097529172897, -0.22900807857513428, 0.005257785320281982, -0.24807678163051605, 0.14363138377666473, -0.2524521052837372, -0.2335808426141739, -0.24543128907680511, -0.0428893119096756, 0.4633513391017914, 0.11956809461116791, -0.16857849061489105, 0.310933381319046, -0.008972560986876488, 0.06341578811407089, 0.25920021533966064, 0.01542760245501995, 0.11750519275665283, -0.00333220511674881, 0.2382887899875641, -0.2526763379573822, 0.20963552594184875, 0.0881306454539299, -0.4668550491333008, -0.124747633934021, 0.036182187497615814, -0.1958799958229065, -0.16661132872104645, -0.037294819951057434, 0.28133705258369446, 0.04770245403051376, -0.07523428648710251, -0.2605448365211487, 0.31915128231048584, 0.3646782636642456, -0.05042126774787903, 0.32244133949279785, 0.14381027221679688, 0.3024723529815674, 0.04042293131351471, 0.31423941254615784, 0.3571261763572693, -0.1985977739095688, -0.2895019054412842, -0.03421425446867943, -0.15636606514453888, 0.092802993953228, -0.048970866948366165, -0.012952491641044617, -0.13982680439949036, 0.0925368219614029, 0.2907746434211731, 0.23175166547298431, -0.5256675481796265, -0.07954602688550949, 0.29505977034568787, -0.0016513019800186157, -0.008075753226876259, 0.12754720449447632, -0.11032389104366302, 0.16449876129627228, 0.2864723205566406, 0.055441439151763916, 0.056590914726257324, -0.08086313307285309, -0.16909538209438324, -0.20181098580360413, 0.03846587985754013, 0.04286503046751022, -0.021895984187722206, -0.16485396027565002, -0.18446534872055054, -0.02257850021123886, -0.1774716079235077, 0.3453739881515503, 0.05514828860759735, 0.30101245641708374, 0.09826964139938354, 0.4830568730831146, 0.4194437265396118, 0.2023976445198059, 0.0039534792304039, -0.460798442363739, -0.0749564915895462, 0.14143401384353638, 0.05273066833615303, -0.3004085421562195, -0.31971949338912964, -0.1818726360797882, -0.1232367753982544, -0.2842053771018982, -0.26982033252716064, 0.1278047412633896, 0.32184192538261414, -0.16994842886924744, -0.11626400053501129, -0.032171580940485, 0.3563784658908844, -0.17805176973342896, 0.1344892978668213, -0.2656010389328003, 0.1747966706752777, 0.030913373455405235, -0.08106190711259842, -0.2612544596195221, 0.026576433330774307, 0.15122656524181366, -0.041840072721242905, 0.027304038405418396, 0.499169260263443, -0.0016123256646096706, 0.003748774528503418, 0.25273826718330383, 0.037632256746292114, 0.1501864492893219, -0.16401799023151398, 0.06087799370288849, -0.1515338271856308, -0.11626020818948746, 0.13159772753715515, -0.06868215650320053, -0.04932355880737305, -0.19459247589111328, 0.22711798548698425, -0.1918233186006546, -0.09398652613162994, 0.22723573446273804, 0.06607617437839508, -0.28154653310775757, -0.4389178156852722, 0.10363532602787018, -0.27284032106399536, 0.33708545565605164, -0.19906315207481384, -0.2436063438653946, 0.013219982385635376, 0.4400600790977478, -0.12065310776233673, -0.012881986796855927, 0.2588776648044586, -0.09317056089639664, -0.014624581672251225, 0.12656766176223755, 0.14111171662807465, 0.04930341988801956, 0.3243420720100403, -0.22309616208076477, 0.1906874179840088, 0.21839922666549683, -0.2339259684085846, 0.278820663690567, 0.24517016112804413, 0.056211017072200775, 0.07149002701044083, 0.13898690044879913, 0.004690051078796387, -0.329252153635025, -0.12014631927013397, 0.2610635459423065, 0.10510708391666412, -0.118825763463974, 0.1587732881307602, -0.30856484174728394, -0.35051122307777405, -0.20319974422454834, -0.2686637341976166, -0.45294681191444397, -0.2788996398448944, 0.1658819019794464, -0.35813096165657043, -0.12991681694984436, 0.6278867721557617, 0.30543041229248047, -0.013501346111297607, -0.06857307255268097, -0.46637704968452454, -0.32600101828575134, -0.06870150566101074, -0.07102493196725845, 0.09543053805828094, -0.15214484930038452, -0.2666412889957428, 0.4690912067890167, -0.2916702628135681, 0.2535187005996704, -0.5633344054222107, -0.5570986866950989, 0.10798642039299011, -0.18270888924598694, 0.26061752438545227, 0.2463626265525818, 0.0961381122469902, -0.059195686131715775, -0.13335660099983215, 0.39006513357162476, 0.18976569175720215, -0.13620725274085999, -0.139617919921875, -0.08904767036437988, 0.03092045709490776, -0.22772839665412903, -0.22757059335708618, -0.3930205702781677, -0.10262307524681091, 0.11257538199424744, -0.17878778278827667, 0.0776812732219696, 0.4150080680847168, -0.14391250908374786, -0.1195170134305954, -0.4296838343143463, 0.1329776793718338, -0.259282648563385, -0.291998028755188, 0.061685770750045776, -0.17596067488193512, 0.11303547024726868, -0.13067620992660522, 0.27414238452911377, -0.07383041083812714, -0.1481194943189621, -0.29544809460639954, -0.14297249913215637, 0.024845557287335396, 0.18334834277629852, 0.24894939363002777, -0.09893792867660522, 0.027681663632392883, 0.20738323032855988, -0.1802007108926773, -0.03475891426205635, -0.38613757491111755, 0.06974838674068451, -0.1512400209903717, 0.3603719174861908, 0.01529721450060606, 0.21346431970596313, -0.09620216488838196, 0.3080071210861206, 0.1477738469839096, -0.05049903318285942, 0.16631022095680237, -0.015832891687750816, 0.2901618778705597, -0.060157276690006256, -0.30202773213386536, -0.024728849530220032, 0.06865783035755157, 0.24886979162693024, 0.3285098969936371, 0.0540243461728096, 0.09754887223243713, 0.015851221978664398, -0.12549321353435516, -0.08170203119516373, -0.2161581665277481, -0.05281330645084381, 0.05205211043357849, -0.09936245530843735, 0.2690158188343048, -0.023530185222625732, -0.18723087012767792, -0.18291711807250977, 0.09994147717952728, 0.4241160750389099, -0.3340575695037842, 0.05273948237299919, -0.3041301965713501, 0.15621918439865112, -0.0023412704467773438, 0.5109544992446899, -0.043847788125276566, -0.03257185220718384, -0.06772056221961975, -0.07804059982299805, 0.09571988135576248, 0.08504948765039444, 0.5219447612762451, -0.2530643343925476, -0.234654501080513, -0.02442440576851368, 0.14611518383026123, 0.17534121870994568, -0.24358895421028137, 0.032236646860837936, -0.04760819673538208, 0.12314966320991516, 0.4382111728191376, -0.46679872274398804, -0.34943005442619324, 0.26393845677375793, -0.009236134588718414, -0.12706413865089417, 0.10097284615039825, -0.34928831458091736, -0.2529763877391815, -0.15449415147304535, -0.17618328332901, -0.3311043083667755, 0.36266955733299255, 0.22453439235687256, 0.0038679204881191254, 0.07396772503852844, 0.17889469861984253, 0.14002826809883118, 0.14782293140888214, 0.26895928382873535, -0.010696733370423317, 0.24384567141532898, 0.1908571720123291, 0.5814486742019653, 0.3542064428329468, 0.08218783140182495, -0.6266522407531738, -0.2351873517036438, -0.06857715547084808, -0.16049225628376007, 0.6436718702316284, 0.2340109944343567, -0.06954650580883026, 0.19422100484371185, 0.21149879693984985, 0.22611482441425323, -0.22527563571929932, 0.10553063452243805, 0.3359944820404053, 0.3887726366519928, -0.43857428431510925, -0.5826070308685303, 0.6100845336914062, 0.22095678746700287, -0.17893874645233154, 0.3607695400714874, 0.5196576118469238, -0.4526948928833008, -0.14564606547355652, 0.09791327267885208, 0.8461169600486755, -0.1729631870985031, 0.06542618572711945, -0.10805372148752213, 0.03443644195795059, 0.3583325445652008, -0.2608443796634674, 0.1930864304304123, -0.24296675622463226, -0.09964746236801147, 0.08132009208202362, 0.1863248348236084, 0.5045772194862366, 0.08211842179298401, -0.16773086786270142, 0.1688614934682846, -0.03301038220524788, 0.41849836707115173, -0.15900273621082306, 0.0692596510052681, 0.07557415962219238, -0.3130020499229431, -0.08498865365982056, 0.12163063883781433, -0.250238835811615, 0.10917755961418152, 0.058174632489681244, -0.2718392610549927, 0.06220119073987007, -0.12177897989749908, -0.23203356564044952, -0.3004400134086609, -0.25577786564826965, -0.01772463321685791, 0.23888693749904633, -0.30283236503601074, -0.1269371509552002, -0.22235125303268433, 0.17491334676742554, 0.19097211956977844, -0.0890837013721466, 0.2137255072593689, 0.06409577280282974, 0.1756083071231842, -0.19879795610904694, 0.03602108731865883, 0.1803194284439087, -0.08491644263267517, -0.28492996096611023, -0.072796531021595, 0.24707353115081787, 0.018439270555973053, -0.26214492321014404, -0.40510302782058716, 0.1884094774723053, -0.39459332823753357, 0.27256351709365845, -0.0582118034362793, 0.5217979550361633, -0.3577825427055359, 0.18946287035942078, 0.05159388482570648, -0.28908148407936096, -0.0348968431353569, 0.27291375398635864, -0.33869996666908264, -0.12669122219085693, -0.11143136769533157, -0.18594062328338623, -0.19065897166728973, 0.30469197034835815, -0.13322840631008148, -0.2572312653064728, -0.20399466156959534, 0.3994837999343872, 0.14196179807186127, -0.368121474981308, -0.130479633808136, 0.2604890465736389, -0.2640807330608368, 0.030918050557374954, 0.09444799274206161, 0.008149854838848114, 0.15061897039413452, 0.13989894092082977, -0.18106961250305176, -0.29586872458457947, 0.30465030670166016, 0.0630439817905426, 0.14859960973262787, -0.19708415865898132, -0.0860486626625061, -0.046365007758140564, 0.09508305042982101, -0.41102921962738037, -0.12580175697803497, -0.032942332327365875, 0.3150525391101837, 0.1044163778424263, 0.12152373045682907, 0.16273993253707886, 0.007940735667943954, 0.19325411319732666, -0.07072830200195312, -0.1354409009218216, -0.2603653073310852, -0.14225447177886963, 0.09041056782007217, -0.2480756640434265, -0.02715407870709896, 0.02952900156378746, 0.0531056746840477, 0.07020515203475952, -0.27908164262771606, 0.2541237473487854, 0.07177629321813583, 0.10953900218009949, 0.29715558886528015, -0.25334787368774414, -0.08213942497968674, 0.050822943449020386, -0.16358061134815216, 0.15347248315811157, 0.44812625646591187, -0.00932560209184885, -0.05723971873521805, -0.3236524164676666, -0.010701730847358704, 0.08984429389238358, 0.11898580938577652, 0.16310298442840576, 0.02668111026287079, -0.08935492485761642, -0.25968772172927856, 0.020937543362379074, 0.1404697597026825, 0.2960984706878662, 0.16507752239704132, -0.17397987842559814, -0.31636345386505127, 0.22416618466377258, 0.2097800374031067, -0.40537920594215393, -0.05646948516368866, 0.3306773006916046, -0.09934984147548676, 0.07893827557563782, 0.22106903791427612, 0.11396977305412292, 0.19053718447685242, -0.17462466657161713, 0.06021630018949509, 0.5316097140312195, -0.12953412532806396, 0.05899729207158089, 0.3018183708190918, -0.10636681318283081, 0.11631803214550018, 0.34034574031829834, 0.493277370929718, 0.08686041086912155, 0.4954071640968323, -0.27567365765571594, 0.25242191553115845, -0.003803439438343048, 0.0007239021360874176, -0.03926149755716324, -0.0034333113580942154, 0.3080977499485016, 0.32791075110435486, -0.15955939888954163, 0.16082921624183655, -0.027599185705184937, 0.09820431470870972, 0.25179576873779297, -0.14220160245895386, -0.08297653496265411, 0.18773266673088074, 0.07295683026313782, -0.4445972740650177, 0.10998007655143738, -0.21522215008735657, -0.07395415008068085, -0.17701537907123566, 0.06576862186193466, -0.4223296046257019, 0.7072544097900391, -0.1826784759759903, 0.025907494127750397, -0.12844540178775787, 0.27128252387046814, -0.03443387150764465, 0.14086711406707764, -0.10523690283298492, 0.12319838255643845, 0.2753511071205139, -0.21711790561676025, 0.24669592082500458, 0.30616775155067444, 0.20894700288772583, 0.02605241909623146, 0.16374509036540985, 0.04443526640534401, -0.4169101417064667, -0.12143214046955109, 0.11217570304870605, 0.28728872537612915, 0.21357613801956177, -0.6644358038902283, -0.0644080713391304, 0.16276118159294128, -0.2118300050497055, 0.0535498708486557, 0.29304784536361694, 0.10497312247753143, 0.028679974377155304, 0.18091577291488647, -0.009400185197591782, -0.13185060024261475, -0.10389403998851776, 0.041697148233652115, -0.2750977873802185, -0.11681012809276581, 0.8196461200714111, 0.37239107489585876, -0.05198650062084198, -0.20878301560878754, 0.10739658772945404, 0.11625660955905914, 0.36387771368026733, 0.08397635072469711, 0.002161368727684021, -0.1310592144727707, 0.11196926236152649, -0.3182642161846161, -0.05069888383150101, -0.028199810534715652, -0.032941967248916626, 0.049845024943351746, -0.047615181654691696, 0.26821449398994446, -0.11098100244998932, 0.3325660228729248, 0.08927219361066818, 0.06103251874446869, -0.36396878957748413, -0.20475809276103973, -0.07611696422100067, 0.2780679762363434, 0.20589765906333923, 0.34382164478302, -0.13838869333267212, 0.17215390503406525, -0.3525194823741913, 0.08867060393095016, -0.3577430844306946, 0.2782263457775116, 0.36372604966163635, 0.07929694652557373, 0.250387579202652, -0.10051064938306808, 0.08229033648967743, -0.11074735224246979, -0.18047089874744415, 0.051644887775182724, -0.4135710597038269, -0.16987866163253784, 0.7541742920875549, 0.008825469762086868, -0.14077964425086975, -0.1442609280347824, -0.35389959812164307, -0.1947508305311203, 0.18473272025585175, -0.1271175891160965, -0.2723970413208008, -0.27179527282714844, -0.03140651062130928, 0.30307212471961975, -0.14553578197956085, -0.1981123983860016, -0.021499067544937134, -0.016535721719264984, 0.013855388388037682, -0.283142626285553, -0.5364610552787781, 0.7714360356330872, -0.27746066451072693, -0.06052142754197121, -0.27690163254737854, 0.19630390405654907, 0.6030756831169128, 0.12628276646137238, -0.6703142523765564, 0.06896109133958817, 0.47043362259864807, 0.045646362006664276, -0.5484750866889954, 0.15674090385437012, 0.053992316126823425, 0.1390896588563919, -0.04685975983738899, 0.2793367803096771, 0.16529670357704163, -0.1585102379322052, -0.09816577285528183, -0.14060719311237335 ]
https://github.com/huggingface/datasets/pull/2392
Update text classification template labels in DatasetInfo __post_init__
If I'm not mistaken, one way to fix this would be to drop the task templates when copying the info by inserting `dataset.info.task_templates = None` before the `Dataset.cast` call in `Dataset.prepare_for_task`. Moreover, we should do this change independently of the KeyError being raised because currently the following is possible: ```python dset = load_dataset("some_dataset") # let's say 'some_dataset' supports text classification and question answering dset_tc = dset.prepare_for_task("text-classification") dset_tc.preprare_for_task("question-answering") # this should raise an error because the schema is no longer valid for this task; currently this fails on 'rename_columns' ``` I see 2 options: 1. to drop the task templates after the first `Dataset.prepare_for_task` call 2. to save only the tasks compatible with the new schema after Dataset.prepare_for_task` (but then we have to update the column names of the compatible tasks to make sure the column mapping is still valid)
This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO
139
text: Update text classification template labels in DatasetInfo __post_init__ This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO If I'm not mistaken, one way to fix this would be to drop the task templates when copying the info by inserting `dataset.info.task_templates = None` before the `Dataset.cast` call in `Dataset.prepare_for_task`. Moreover, we should do this change independently of the KeyError being raised because currently the following is possible: ```python dset = load_dataset("some_dataset") # let's say 'some_dataset' supports text classification and question answering dset_tc = dset.prepare_for_task("text-classification") dset_tc.preprare_for_task("question-answering") # this should raise an error because the schema is no longer valid for this task; currently this fails on 'rename_columns' ``` I see 2 options: 1. to drop the task templates after the first `Dataset.prepare_for_task` call 2. to save only the tasks compatible with the new schema after Dataset.prepare_for_task` (but then we have to update the column names of the compatible tasks to make sure the column mapping is still valid)
[ -0.1952398121356964, -0.20339974761009216, -0.10928651690483093, -0.040790580213069916, 0.2219117283821106, 0.08373092859983444, 0.2809109687805176, 0.3798762857913971, -0.05571173503994942, 0.07646812498569489, -0.0013315672986209393, 0.4823918640613556, 0.21134456992149353, 0.14281754195690155, 0.017460811883211136, -0.14063675701618195, -0.10333245247602463, -0.097486212849617, -0.061620309948921204, -0.016488108783960342, -0.2562517523765564, -0.09732935577630997, -0.23162424564361572, -0.02655014395713806, -0.36943402886390686, -0.31565240025520325, -0.02676905319094658, 0.16549643874168396, -0.02519317902624607, -0.7104771137237549, 0.2886883616447449, 0.30918288230895996, 0.07187403738498688, 0.061290208250284195, -0.00009860360296443105, -0.03795824944972992, 0.2915879189968109, 0.0691627711057663, -0.11399820446968079, -0.04441969096660614, -0.15720057487487793, -0.320420503616333, -0.08574292808771133, -0.16021129488945007, 0.08818776160478592, -0.3043411672115326, -0.0037823859602212906, 0.019135020673274994, 0.2501877248287201, 0.24949166178703308, 0.2767185866832733, 0.08320411294698715, -0.03608964383602142, -0.11483900249004364, -0.08473288267850876, 0.2047593742609024, -0.129335418343544, -0.037182774394750595, 0.3292604088783264, 0.06911171227693558, 0.208607017993927, 0.5220900177955627, -0.14895859360694885, -0.04567115381360054, 0.23136207461357117, -0.12854254245758057, 0.5340204238891602, -0.20939725637435913, -0.08052396774291992, 0.024978376924991608, 0.5733126997947693, -0.3736758530139923, -0.3812193274497986, -0.2358170449733734, 0.09077423065900803, -0.3738595247268677, 0.1886911690235138, -0.2970115840435028, -0.08311647176742554, 0.21004974842071533, 0.16223904490470886, -0.03858617693185806, -0.03947803005576134, -0.31807512044906616, 0.2211553454399109, 0.35906341671943665, -0.003022383898496628, -0.009906627237796783, -0.29579293727874756, -0.012083426117897034, 0.14268937706947327, -0.23306110501289368, -0.04004066810011864, -0.026673950254917145, -0.08922320604324341, -0.13704001903533936, -0.07562205940485, -0.32266926765441895, -0.06622493267059326, 0.14888441562652588, -0.06132417172193527, 0.17897248268127441, -0.042001813650131226, 0.055420149117708206, 0.09132304787635803, 0.3985064625740051, 0.2716289162635803, 0.17940810322761536, 0.017438407987356186, -0.011009424924850464, -0.15857456624507904, -0.1125088706612587, 0.04304109141230583, -0.2841784358024597, 0.42723944783210754, 0.2438545823097229, 0.3192265033721924, -0.1704825609922409, -0.4135395884513855, -0.0198025144636631, -0.08770254254341125, 0.04172147065401077, 0.10009753704071045, 0.25555747747421265, 0.0496026910841465, 0.3622737228870392, 0.11245326697826385, -0.07669652253389359, -0.23768989741802216, 0.0037496527656912804, -0.23607170581817627, 0.09386864304542542, -0.21598292887210846, 0.13337865471839905, 0.145319864153862, -0.043062325567007065, 0.1674071103334427, 0.11000347137451172, 0.26242324709892273, -0.16357848048210144, 0.21791715919971466, -0.06253115087747574, 0.2814268469810486, 0.11527076363563538, -0.3474908173084259, 0.1609400063753128, 0.17242056131362915, -0.21978659927845, -0.2799428701400757, 0.14539536833763123, 0.008864201605319977, -0.35390251874923706, 0.09815096855163574, 0.33268681168556213, 0.10547247529029846, -0.1666959673166275, 0.12449342012405396, 0.2741550803184509, 0.15395690500736237, 0.0025445260107517242, 0.34552299976348877, -0.3889198303222656, -0.13627196848392487, -0.027917591854929924, 0.07794602960348129, 0.22408857941627502, -0.34068992733955383, -0.09761602431535721, 0.16209162771701813, -0.0307033471763134, -0.07848341017961502, -0.055322322994470596, -0.06795751303434372, 0.3204719126224518, 0.09123218804597855, -0.003179214894771576, 0.1443442553281784, -0.6639384031295776, -0.1339479237794876, -0.016759676858782768, -0.03964114189147949, 0.020526433363556862, 0.3402330279350281, -0.07929547876119614, -0.01616930402815342, -0.20741964876651764, 0.07126609981060028, 0.009731940925121307, -0.003984389826655388, 0.054648369550704956, -0.386900395154953, 0.23953777551651, -0.0017169676721096039, 0.12955419719219208, 0.0708211287856102, -0.1937623918056488, -0.22379639744758606, 0.17372195422649384, 0.10457092523574829, -0.08952480554580688, 0.1590244323015213, 0.1922474503517151, 0.17978715896606445, 0.2073572725057602, 0.1607503592967987, -0.0441390797495842, -0.28876248002052307, 0.13812872767448425, 0.359004944562912, 0.1292010247707367, -0.11545327305793762, -0.4896731972694397, -0.3689521849155426, 0.039396919310092926, -0.06587864458560944, -0.5019898414611816, 0.23488515615463257, 0.18845859169960022, -0.044697098433971405, -0.1989920437335968, -0.2157789170742035, 0.3036024570465088, -0.35985031723976135, 0.15235982835292816, 0.23720523715019226, -0.17537106573581696, 0.05050147697329521, 0.00031587760895490646, -0.1642279028892517, 0.19146154820919037, -0.019480347633361816, -0.06549911201000214, -0.04995128884911537, 0.47778746485710144, 0.18276770412921906, -0.06886501610279083, -0.10282806307077408, -0.08109147846698761, 0.03948453813791275, -0.26993006467819214, -0.03157350420951843, -0.16336248815059662, 0.11510935425758362, 0.028700515627861023, -0.20233359932899475, 0.4038401246070862, -0.05228664353489876, 0.13835829496383667, 0.029561080038547516, -0.22138816118240356, 0.1016836166381836, 0.008335545659065247, -0.3860721290111542, -0.059566885232925415, -0.20712469518184662, -0.09574595093727112, 0.28335991501808167, 0.0004810541868209839, -0.4642891585826874, 0.4192335307598114, 0.26361626386642456, 0.0601838193833828, -0.05675266683101654, -0.1516486406326294, -0.050102971494197845, 0.0561920627951622, 0.11556883901357651, -0.17838674783706665, 0.17056404054164886, 0.22196732461452484, 0.14681725203990936, 0.2479827105998993, -0.17934457957744598, -0.1186627522110939, 0.231641948223114, 0.21115365624427795, -0.19774532318115234, 0.08804237842559814, 0.12698067724704742, 0.012355593964457512, -0.20587202906608582, -0.12197549641132355, 0.16799645125865936, 0.007799546234309673, -0.29065313935279846, 0.028386199846863747, -0.1068214550614357, -0.2794376015663147, -0.3997722864151001, -0.03426366299390793, 0.01715889200568199, -0.3043615221977234, 0.22608333826065063, -0.06780771911144257, -0.17981690168380737, 0.40616512298583984, 0.12008659541606903, 0.2633662819862366, -0.0611308217048645, -0.007795928046107292, -0.21387501060962677, -0.18111646175384521, -0.015349343419075012, 0.15115965902805328, -0.02578520029783249, 0.11292757093906403, 0.19936542212963104, -0.01650495082139969, 0.016956910490989685, -0.04047708213329315, -0.5028411746025085, 0.0717296153306961, -0.30052661895751953, 0.04404200613498688, 0.10933614522218704, -0.14003193378448486, 0.0227675661444664, -0.26058244705200195, -0.045558881014585495, -0.12185296416282654, -0.1287420690059662, -0.29865187406539917, 0.06257566064596176, 0.013164770789444447, -0.26076042652130127, -0.762343168258667, -0.09721639007329941, -0.31607720255851746, 0.24049533903598785, 0.0527283139526844, -0.15730020403862, 0.47019416093826294, -0.04595893248915672, 0.10446138679981232, 0.017524350434541702, 0.23745237290859222, -0.2015223503112793, -0.2344517707824707, -0.05154239013791084, -0.17841657996177673, 0.061716366559267044, -0.09712759405374527, -0.12261985242366791, 0.17019912600517273, -0.10412994027137756, -0.09074176847934723, -0.2616247534751892, -0.16395814716815948, 0.3878256380558014, -0.08091855049133301, -0.007526164874434471, 0.22883078455924988, 0.19858808815479279, -0.2221633344888687, -0.0485335998237133, -0.08967269212007523, 0.06264133751392365, -0.18087217211723328, 0.03587949275970459, -0.374210387468338, 0.008640192449092865, 0.00008067861199378967, 0.35720038414001465, -0.09949137270450592, 0.008576102554798126, -0.044441744685173035, 0.27643656730651855, 0.3737665116786957, -0.23159655928611755, -0.08422459661960602, 0.07668933272361755, 0.02245861291885376, -0.08565811812877655, 0.08344808220863342, -0.05287895351648331, 0.04906580597162247, 0.18274106085300446, 0.04887400195002556, -0.06648005545139313, -0.2186666876077652, 0.08013905584812164, -0.020617462694644928, 0.3433850109577179, 0.19797807931900024, 0.05580990016460419, -0.420320987701416, 0.11697695404291153, 0.001368287019431591, 0.43436187505722046, -0.043167032301425934, -0.0221515242010355, -0.3576068878173828, 0.020218048244714737, -0.30594882369041443, 0.3027312755584717, 0.40541043877601624, 0.008973192423582077, 0.014602411538362503, -0.24331733584403992, 0.004216127097606659, 0.11210766434669495, 0.21445485949516296, -0.42929062247276306, 0.0015510283410549164, 0.41264837980270386, -0.25323760509490967, 0.09428083896636963, -0.2266424000263214, -0.28955042362213135, -0.01833394169807434, 0.3435523808002472, 0.49763545393943787, -0.05676840990781784, -0.3839893639087677, 0.2062404602766037, -0.18756984174251556, -0.03952525928616524, 0.003632359206676483, 0.004235945641994476, -0.4467310905456543, -0.12962399423122406, 0.44583550095558167, 0.4315835237503052, 0.07725199311971664, -0.24927130341529846, 0.3114728331565857, -0.19987057149410248, 0.2971041798591614, 0.008665837347507477, 0.11392021179199219, 0.00481435377150774, 0.14027437567710876, 0.005530945956707001, 0.10254953801631927, 0.09113314747810364, 0.11137903481721878, 0.224362313747406, -0.16907651722431183, -0.3507804274559021, -0.176021546125412, -0.11367522925138474, 0.4019392430782318, 0.365546852350235, -0.06121693179011345, 0.07935312390327454, -0.2941019535064697, -0.09795399010181427, -0.3581678569316864, 0.3952217400074005, 0.35316452383995056, 0.22441993653774261, -0.4209505021572113, -0.7341703176498413, 0.19494488835334778, 0.17825905978679657, -0.34082430601119995, 0.29475802183151245, -0.2574995160102844, -0.3621191680431366, 0.20841363072395325, 0.27911168336868286, 0.8787949085235596, 0.18132004141807556, 0.15321315824985504, 0.18720024824142456, 0.16855332255363464, 0.45651817321777344, -0.21730858087539673, 0.18933607637882233, -0.27176806330680847, -0.42363980412483215, 0.08112382143735886, 0.001289166510105133, 0.17638207972049713, 0.08447867631912231, -0.2829730808734894, 0.06812216341495514, 0.20765207707881927, -0.10087738931179047, 0.037901755422353745, 0.17174077033996582, -0.20545105636119843, -0.24427595734596252, -0.1657698005437851, 0.1810331493616104, 0.054637230932712555, -0.043412644416093826, -0.23149925470352173, 0.14932550489902496, 0.1313086301088333, -0.18901991844177246, -0.02808411419391632, -0.053026728332042694, 0.18988634645938873, 0.13033556938171387, 0.09328371286392212, 0.0709487795829773, 0.19647981226444244, -0.17729616165161133, 0.6855937242507935, 0.1627008467912674, 0.1567419469356537, 0.22581788897514343, 0.195669025182724, 0.12972481548786163, -0.0158021729439497, -0.08643655478954315, 0.7037057876586914, 0.1724625527858734, -0.14019560813903809, -0.11872879415750504, -0.12793180346488953, -0.006304379552602768, -0.41787829995155334, -0.32163459062576294, -0.055817410349845886, -0.2937801480293274, 0.1771421730518341, 0.27619993686676025, -0.18297724425792694, -0.350046306848526, 0.2420266568660736, -0.309684693813324, -0.25842294096946716, 0.2586154341697693, -0.006817679852247238, -0.4834999144077301, 0.0616019181907177, 0.10829475522041321, 0.10253705829381943, 0.16014790534973145, 0.5499579906463623, 0.13129381835460663, -0.11252756416797638, -0.27949556708335876, -0.004678551107645035, 0.10992813110351562, -0.21139532327651978, 0.29194948077201843, 0.05006793886423111, -0.18438619375228882, 0.09542566537857056, 0.6810499429702759, 0.045306578278541565, -0.07667990773916245, -0.18827000260353088, -0.02744998037815094, -0.3054591119289398, 0.18968510627746582, 0.010030925273895264, 0.39182978868484497, 0.01664113625884056, 0.6165554523468018, -0.08103721588850021, 0.04035930335521698, -0.48614513874053955, -0.2070135474205017, -0.12886279821395874, 0.20451386272907257, 0.007549889385700226, 0.09450311958789825, 0.08492540568113327, -0.0035797548480331898, 0.12699639797210693, 0.41794079542160034, 0.10147954523563385, -0.3378000855445862, -0.2896721363067627, 0.11517661064863205, -0.05709952116012573, 0.12836582958698273, 0.0022528250701725483, 0.12275367975234985, 0.07094167172908783, -0.013192521408200264, 0.1795775443315506, 0.09311813861131668, -0.021729648113250732, 0.5211735963821411, -0.26326751708984375, 0.4323732554912567, 0.2224816530942917, -0.03183840960264206, 0.04628314822912216, 0.015496306121349335, -0.055055417120456696, 0.1447998583316803, -0.2646142840385437, 0.035801708698272705, -0.02391509711742401, 0.11899425089359283, 0.021618880331516266, 0.18414899706840515, -0.044838033616542816, 0.05955198407173157, -0.019153837114572525, -0.1474173218011856, 0.2875993549823761, 0.2322262078523636, 0.00012859489652328193, -0.18325743079185486, 0.04374005272984505, 0.34451669454574585, -0.13552618026733398, 0.1843697428703308, -0.22414766252040863, -0.16892820596694946, 0.14896923303604126, 0.17932069301605225, 0.09808580577373505, 0.18145936727523804, -0.040234439074993134, 0.14372393488883972, 0.27429988980293274, -0.3351708650588989, 0.09080573916435242, 0.21158359944820404, -0.06197163835167885, 0.013277612626552582, 0.6567395925521851, 0.3373017907142639, 0.27872171998023987, 0.18183398246765137, 0.4097541272640228, 0.35960739850997925, 0.09231121838092804, 0.15481793880462646, -0.17458277940750122, 0.008902180939912796, 0.22858993709087372, 0.04513762146234512, 0.09401000291109085, 0.11625728011131287, 0.08009698987007141, 0.103831447660923, -0.28236743807792664, -0.09443338960409164, 0.07520316541194916, 0.16530530154705048, -0.20957982540130615, -0.3464439809322357, -0.2900938093662262, -0.17386052012443542, -0.09189601987600327, -0.11671479046344757, -0.09582805633544922, 0.08578270673751831, 0.47437140345573425, -0.1742730736732483, 0.03721217066049576, -0.21748921275138855, 0.046246062964200974, -0.1617095172405243, 0.3972717225551605, -0.15724559128284454, -0.009012239053845406, 0.08657059073448181, 0.014758117496967316, 0.19784419238567352, 0.4606880247592926, 0.2737855613231659, 0.06029140204191208, -0.13708294928073883, -0.2755751311779022, -0.33398404717445374, -0.009343119338154793, -0.12711957097053528, 0.3525293469429016, 0.03640785440802574, 0.015309523791074753, 0.29219797253608704, 0.2564069628715515, -0.18859566748142242, 0.0846034362912178, 0.001746494323015213, -0.12717214226722717, -0.2914341688156128, 0.5092090964317322, 0.37424638867378235, -0.20316088199615479, -0.05467537045478821, 0.1797225922346115, -0.28252285718917847, -0.15048107504844666, 0.3662467300891876, 0.18404683470726013, 0.18447968363761902, -0.22505803406238556, 0.17152193188667297, 0.1598890870809555, 0.42600294947624207, 0.18926545977592468, -0.34702563285827637, -0.08774460107088089, 0.05248957872390747, -0.5464067459106445, 0.04504987597465515, 0.14986896514892578, -0.3022710084915161, 0.1960749477148056, 0.04380239546298981, 0.13588902354240417, -0.006519351154565811, -0.14314381778240204, -0.011914294213056564, -0.06670226901769638, -0.07573781907558441, -0.26265209913253784, 0.017654648050665855, 0.05057710409164429, -0.12375925481319427, 0.2787528336048126, -0.07649325579404831, -0.09898100793361664, 0.3836825489997864, 0.1845760941505432, -0.11622148752212524, -0.07744968682527542, 0.41463834047317505, -0.031199544668197632, 0.3258337378501892, -0.014709612354636192, 0.21513867378234863, -0.05722738802433014, -0.10482553392648697, -0.13987205922603607, -0.3968477249145508, -0.4545136094093323, 0.30829375982284546, -0.31966277956962585, 0.3684573471546173, -0.07512366026639938, -0.14289690554141998, -0.04410143941640854, -0.05373263359069824, -0.023838985711336136, -0.38600999116897583, -0.3929198086261749, 0.014812132343649864, -0.22996017336845398, 0.009177075698971748, 0.023146357387304306, 0.5476869344711304, 0.1305379420518875, 0.07474896311759949, -0.3344765901565552, -0.5964866876602173, 0.47472238540649414, 0.03231215104460716, -0.5290738344192505, -0.002335114637389779, 0.15283891558647156, 0.3644200563430786, -0.013088515028357506, -0.7118514180183411, 0.057421185076236725, 0.2961360514163971, -0.052513591945171356, -0.3575086295604706, 0.21537354588508606, -0.04688958451151848, 0.06494726240634918, -0.21708045899868011, 0.18594440817832947, -0.1076725497841835, 0.09572359174489975, -0.24196112155914307, -0.21296417713165283 ]
https://github.com/huggingface/datasets/pull/2392
Update text classification template labels in DatasetInfo __post_init__
> If I'm not mistaken, one way to fix this would be to drop the task templates when copying the info by inserting `dataset.info.task_templates = None` before the `Dataset.cast` call in `Dataset.prepare_for_task`. Moreover, we should do this change independently of the KeyError being raised because currently the following is possible: > > ```python > dset = load_dataset("some_dataset") # let's say 'some_dataset' supports text classification and question answering > dset_tc = dset.prepare_for_task("text-classification") > dset_tc.preprare_for_task("question-answering") # this should raise an error because the schema is no longer valid for this task; currently this fails on 'rename_columns' > ``` > > I see 2 options: > > 1. to drop the task templates after the first `Dataset.prepare_for_task` call > 2. to save only the tasks compatible with the new schema after Dataset.prepare_for_task` (but then we have to update the column names of the compatible tasks to make sure the column mapping is still valid) thanks for the great idea @mariosasko and for spotting the problem with sequential task preparation! i am in favour of your option (1) since it is simple and saves us from having to keep track of the column mappings across multiple steps. i've implemented the change and refactored the tests to account for the new approach (including a new test that the templates are flushed after we call `prepare_for_task`). perhaps the slightly inelegant aspect here is that if we want to allow the user to set `labels` in the `TextClassification` template, then we have two places (`DatasetInfo.__post_init__` and `TextClassification.__post_init__`) where we need to update `label_schema`. on the other hand, dropping `labels` from the `TextClassification` signature would have the nice effect that users only have to think about column names when defining their tasks. in any case, i think it would be a good idea to merge #2376 soon as the current PR is touching a lot of the same places in the codebase 😄
This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO
315
text: Update text classification template labels in DatasetInfo __post_init__ This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO > If I'm not mistaken, one way to fix this would be to drop the task templates when copying the info by inserting `dataset.info.task_templates = None` before the `Dataset.cast` call in `Dataset.prepare_for_task`. Moreover, we should do this change independently of the KeyError being raised because currently the following is possible: > > ```python > dset = load_dataset("some_dataset") # let's say 'some_dataset' supports text classification and question answering > dset_tc = dset.prepare_for_task("text-classification") > dset_tc.preprare_for_task("question-answering") # this should raise an error because the schema is no longer valid for this task; currently this fails on 'rename_columns' > ``` > > I see 2 options: > > 1. to drop the task templates after the first `Dataset.prepare_for_task` call > 2. to save only the tasks compatible with the new schema after Dataset.prepare_for_task` (but then we have to update the column names of the compatible tasks to make sure the column mapping is still valid) thanks for the great idea @mariosasko and for spotting the problem with sequential task preparation! i am in favour of your option (1) since it is simple and saves us from having to keep track of the column mappings across multiple steps. i've implemented the change and refactored the tests to account for the new approach (including a new test that the templates are flushed after we call `prepare_for_task`). perhaps the slightly inelegant aspect here is that if we want to allow the user to set `labels` in the `TextClassification` template, then we have two places (`DatasetInfo.__post_init__` and `TextClassification.__post_init__`) where we need to update `label_schema`. on the other hand, dropping `labels` from the `TextClassification` signature would have the nice effect that users only have to think about column names when defining their tasks. in any case, i think it would be a good idea to merge #2376 soon as the current PR is touching a lot of the same places in the codebase 😄
[ -0.1952398121356964, -0.20339974761009216, -0.10928651690483093, -0.040790580213069916, 0.2219117283821106, 0.08373092859983444, 0.2809109687805176, 0.3798762857913971, -0.05571173503994942, 0.07646812498569489, -0.0013315672986209393, 0.4823918640613556, 0.21134456992149353, 0.14281754195690155, 0.017460811883211136, -0.14063675701618195, -0.10333245247602463, -0.097486212849617, -0.061620309948921204, -0.016488108783960342, -0.2562517523765564, -0.09732935577630997, -0.23162424564361572, -0.02655014395713806, -0.36943402886390686, -0.31565240025520325, -0.02676905319094658, 0.16549643874168396, -0.02519317902624607, -0.7104771137237549, 0.2886883616447449, 0.30918288230895996, 0.07187403738498688, 0.061290208250284195, -0.00009860360296443105, -0.03795824944972992, 0.2915879189968109, 0.0691627711057663, -0.11399820446968079, -0.04441969096660614, -0.15720057487487793, -0.320420503616333, -0.08574292808771133, -0.16021129488945007, 0.08818776160478592, -0.3043411672115326, -0.0037823859602212906, 0.019135020673274994, 0.2501877248287201, 0.24949166178703308, 0.2767185866832733, 0.08320411294698715, -0.03608964383602142, -0.11483900249004364, -0.08473288267850876, 0.2047593742609024, -0.129335418343544, -0.037182774394750595, 0.3292604088783264, 0.06911171227693558, 0.208607017993927, 0.5220900177955627, -0.14895859360694885, -0.04567115381360054, 0.23136207461357117, -0.12854254245758057, 0.5340204238891602, -0.20939725637435913, -0.08052396774291992, 0.024978376924991608, 0.5733126997947693, -0.3736758530139923, -0.3812193274497986, -0.2358170449733734, 0.09077423065900803, -0.3738595247268677, 0.1886911690235138, -0.2970115840435028, -0.08311647176742554, 0.21004974842071533, 0.16223904490470886, -0.03858617693185806, -0.03947803005576134, -0.31807512044906616, 0.2211553454399109, 0.35906341671943665, -0.003022383898496628, -0.009906627237796783, -0.29579293727874756, -0.012083426117897034, 0.14268937706947327, -0.23306110501289368, -0.04004066810011864, -0.026673950254917145, -0.08922320604324341, -0.13704001903533936, -0.07562205940485, -0.32266926765441895, -0.06622493267059326, 0.14888441562652588, -0.06132417172193527, 0.17897248268127441, -0.042001813650131226, 0.055420149117708206, 0.09132304787635803, 0.3985064625740051, 0.2716289162635803, 0.17940810322761536, 0.017438407987356186, -0.011009424924850464, -0.15857456624507904, -0.1125088706612587, 0.04304109141230583, -0.2841784358024597, 0.42723944783210754, 0.2438545823097229, 0.3192265033721924, -0.1704825609922409, -0.4135395884513855, -0.0198025144636631, -0.08770254254341125, 0.04172147065401077, 0.10009753704071045, 0.25555747747421265, 0.0496026910841465, 0.3622737228870392, 0.11245326697826385, -0.07669652253389359, -0.23768989741802216, 0.0037496527656912804, -0.23607170581817627, 0.09386864304542542, -0.21598292887210846, 0.13337865471839905, 0.145319864153862, -0.043062325567007065, 0.1674071103334427, 0.11000347137451172, 0.26242324709892273, -0.16357848048210144, 0.21791715919971466, -0.06253115087747574, 0.2814268469810486, 0.11527076363563538, -0.3474908173084259, 0.1609400063753128, 0.17242056131362915, -0.21978659927845, -0.2799428701400757, 0.14539536833763123, 0.008864201605319977, -0.35390251874923706, 0.09815096855163574, 0.33268681168556213, 0.10547247529029846, -0.1666959673166275, 0.12449342012405396, 0.2741550803184509, 0.15395690500736237, 0.0025445260107517242, 0.34552299976348877, -0.3889198303222656, -0.13627196848392487, -0.027917591854929924, 0.07794602960348129, 0.22408857941627502, -0.34068992733955383, -0.09761602431535721, 0.16209162771701813, -0.0307033471763134, -0.07848341017961502, -0.055322322994470596, -0.06795751303434372, 0.3204719126224518, 0.09123218804597855, -0.003179214894771576, 0.1443442553281784, -0.6639384031295776, -0.1339479237794876, -0.016759676858782768, -0.03964114189147949, 0.020526433363556862, 0.3402330279350281, -0.07929547876119614, -0.01616930402815342, -0.20741964876651764, 0.07126609981060028, 0.009731940925121307, -0.003984389826655388, 0.054648369550704956, -0.386900395154953, 0.23953777551651, -0.0017169676721096039, 0.12955419719219208, 0.0708211287856102, -0.1937623918056488, -0.22379639744758606, 0.17372195422649384, 0.10457092523574829, -0.08952480554580688, 0.1590244323015213, 0.1922474503517151, 0.17978715896606445, 0.2073572725057602, 0.1607503592967987, -0.0441390797495842, -0.28876248002052307, 0.13812872767448425, 0.359004944562912, 0.1292010247707367, -0.11545327305793762, -0.4896731972694397, -0.3689521849155426, 0.039396919310092926, -0.06587864458560944, -0.5019898414611816, 0.23488515615463257, 0.18845859169960022, -0.044697098433971405, -0.1989920437335968, -0.2157789170742035, 0.3036024570465088, -0.35985031723976135, 0.15235982835292816, 0.23720523715019226, -0.17537106573581696, 0.05050147697329521, 0.00031587760895490646, -0.1642279028892517, 0.19146154820919037, -0.019480347633361816, -0.06549911201000214, -0.04995128884911537, 0.47778746485710144, 0.18276770412921906, -0.06886501610279083, -0.10282806307077408, -0.08109147846698761, 0.03948453813791275, -0.26993006467819214, -0.03157350420951843, -0.16336248815059662, 0.11510935425758362, 0.028700515627861023, -0.20233359932899475, 0.4038401246070862, -0.05228664353489876, 0.13835829496383667, 0.029561080038547516, -0.22138816118240356, 0.1016836166381836, 0.008335545659065247, -0.3860721290111542, -0.059566885232925415, -0.20712469518184662, -0.09574595093727112, 0.28335991501808167, 0.0004810541868209839, -0.4642891585826874, 0.4192335307598114, 0.26361626386642456, 0.0601838193833828, -0.05675266683101654, -0.1516486406326294, -0.050102971494197845, 0.0561920627951622, 0.11556883901357651, -0.17838674783706665, 0.17056404054164886, 0.22196732461452484, 0.14681725203990936, 0.2479827105998993, -0.17934457957744598, -0.1186627522110939, 0.231641948223114, 0.21115365624427795, -0.19774532318115234, 0.08804237842559814, 0.12698067724704742, 0.012355593964457512, -0.20587202906608582, -0.12197549641132355, 0.16799645125865936, 0.007799546234309673, -0.29065313935279846, 0.028386199846863747, -0.1068214550614357, -0.2794376015663147, -0.3997722864151001, -0.03426366299390793, 0.01715889200568199, -0.3043615221977234, 0.22608333826065063, -0.06780771911144257, -0.17981690168380737, 0.40616512298583984, 0.12008659541606903, 0.2633662819862366, -0.0611308217048645, -0.007795928046107292, -0.21387501060962677, -0.18111646175384521, -0.015349343419075012, 0.15115965902805328, -0.02578520029783249, 0.11292757093906403, 0.19936542212963104, -0.01650495082139969, 0.016956910490989685, -0.04047708213329315, -0.5028411746025085, 0.0717296153306961, -0.30052661895751953, 0.04404200613498688, 0.10933614522218704, -0.14003193378448486, 0.0227675661444664, -0.26058244705200195, -0.045558881014585495, -0.12185296416282654, -0.1287420690059662, -0.29865187406539917, 0.06257566064596176, 0.013164770789444447, -0.26076042652130127, -0.762343168258667, -0.09721639007329941, -0.31607720255851746, 0.24049533903598785, 0.0527283139526844, -0.15730020403862, 0.47019416093826294, -0.04595893248915672, 0.10446138679981232, 0.017524350434541702, 0.23745237290859222, -0.2015223503112793, -0.2344517707824707, -0.05154239013791084, -0.17841657996177673, 0.061716366559267044, -0.09712759405374527, -0.12261985242366791, 0.17019912600517273, -0.10412994027137756, -0.09074176847934723, -0.2616247534751892, -0.16395814716815948, 0.3878256380558014, -0.08091855049133301, -0.007526164874434471, 0.22883078455924988, 0.19858808815479279, -0.2221633344888687, -0.0485335998237133, -0.08967269212007523, 0.06264133751392365, -0.18087217211723328, 0.03587949275970459, -0.374210387468338, 0.008640192449092865, 0.00008067861199378967, 0.35720038414001465, -0.09949137270450592, 0.008576102554798126, -0.044441744685173035, 0.27643656730651855, 0.3737665116786957, -0.23159655928611755, -0.08422459661960602, 0.07668933272361755, 0.02245861291885376, -0.08565811812877655, 0.08344808220863342, -0.05287895351648331, 0.04906580597162247, 0.18274106085300446, 0.04887400195002556, -0.06648005545139313, -0.2186666876077652, 0.08013905584812164, -0.020617462694644928, 0.3433850109577179, 0.19797807931900024, 0.05580990016460419, -0.420320987701416, 0.11697695404291153, 0.001368287019431591, 0.43436187505722046, -0.043167032301425934, -0.0221515242010355, -0.3576068878173828, 0.020218048244714737, -0.30594882369041443, 0.3027312755584717, 0.40541043877601624, 0.008973192423582077, 0.014602411538362503, -0.24331733584403992, 0.004216127097606659, 0.11210766434669495, 0.21445485949516296, -0.42929062247276306, 0.0015510283410549164, 0.41264837980270386, -0.25323760509490967, 0.09428083896636963, -0.2266424000263214, -0.28955042362213135, -0.01833394169807434, 0.3435523808002472, 0.49763545393943787, -0.05676840990781784, -0.3839893639087677, 0.2062404602766037, -0.18756984174251556, -0.03952525928616524, 0.003632359206676483, 0.004235945641994476, -0.4467310905456543, -0.12962399423122406, 0.44583550095558167, 0.4315835237503052, 0.07725199311971664, -0.24927130341529846, 0.3114728331565857, -0.19987057149410248, 0.2971041798591614, 0.008665837347507477, 0.11392021179199219, 0.00481435377150774, 0.14027437567710876, 0.005530945956707001, 0.10254953801631927, 0.09113314747810364, 0.11137903481721878, 0.224362313747406, -0.16907651722431183, -0.3507804274559021, -0.176021546125412, -0.11367522925138474, 0.4019392430782318, 0.365546852350235, -0.06121693179011345, 0.07935312390327454, -0.2941019535064697, -0.09795399010181427, -0.3581678569316864, 0.3952217400074005, 0.35316452383995056, 0.22441993653774261, -0.4209505021572113, -0.7341703176498413, 0.19494488835334778, 0.17825905978679657, -0.34082430601119995, 0.29475802183151245, -0.2574995160102844, -0.3621191680431366, 0.20841363072395325, 0.27911168336868286, 0.8787949085235596, 0.18132004141807556, 0.15321315824985504, 0.18720024824142456, 0.16855332255363464, 0.45651817321777344, -0.21730858087539673, 0.18933607637882233, -0.27176806330680847, -0.42363980412483215, 0.08112382143735886, 0.001289166510105133, 0.17638207972049713, 0.08447867631912231, -0.2829730808734894, 0.06812216341495514, 0.20765207707881927, -0.10087738931179047, 0.037901755422353745, 0.17174077033996582, -0.20545105636119843, -0.24427595734596252, -0.1657698005437851, 0.1810331493616104, 0.054637230932712555, -0.043412644416093826, -0.23149925470352173, 0.14932550489902496, 0.1313086301088333, -0.18901991844177246, -0.02808411419391632, -0.053026728332042694, 0.18988634645938873, 0.13033556938171387, 0.09328371286392212, 0.0709487795829773, 0.19647981226444244, -0.17729616165161133, 0.6855937242507935, 0.1627008467912674, 0.1567419469356537, 0.22581788897514343, 0.195669025182724, 0.12972481548786163, -0.0158021729439497, -0.08643655478954315, 0.7037057876586914, 0.1724625527858734, -0.14019560813903809, -0.11872879415750504, -0.12793180346488953, -0.006304379552602768, -0.41787829995155334, -0.32163459062576294, -0.055817410349845886, -0.2937801480293274, 0.1771421730518341, 0.27619993686676025, -0.18297724425792694, -0.350046306848526, 0.2420266568660736, -0.309684693813324, -0.25842294096946716, 0.2586154341697693, -0.006817679852247238, -0.4834999144077301, 0.0616019181907177, 0.10829475522041321, 0.10253705829381943, 0.16014790534973145, 0.5499579906463623, 0.13129381835460663, -0.11252756416797638, -0.27949556708335876, -0.004678551107645035, 0.10992813110351562, -0.21139532327651978, 0.29194948077201843, 0.05006793886423111, -0.18438619375228882, 0.09542566537857056, 0.6810499429702759, 0.045306578278541565, -0.07667990773916245, -0.18827000260353088, -0.02744998037815094, -0.3054591119289398, 0.18968510627746582, 0.010030925273895264, 0.39182978868484497, 0.01664113625884056, 0.6165554523468018, -0.08103721588850021, 0.04035930335521698, -0.48614513874053955, -0.2070135474205017, -0.12886279821395874, 0.20451386272907257, 0.007549889385700226, 0.09450311958789825, 0.08492540568113327, -0.0035797548480331898, 0.12699639797210693, 0.41794079542160034, 0.10147954523563385, -0.3378000855445862, -0.2896721363067627, 0.11517661064863205, -0.05709952116012573, 0.12836582958698273, 0.0022528250701725483, 0.12275367975234985, 0.07094167172908783, -0.013192521408200264, 0.1795775443315506, 0.09311813861131668, -0.021729648113250732, 0.5211735963821411, -0.26326751708984375, 0.4323732554912567, 0.2224816530942917, -0.03183840960264206, 0.04628314822912216, 0.015496306121349335, -0.055055417120456696, 0.1447998583316803, -0.2646142840385437, 0.035801708698272705, -0.02391509711742401, 0.11899425089359283, 0.021618880331516266, 0.18414899706840515, -0.044838033616542816, 0.05955198407173157, -0.019153837114572525, -0.1474173218011856, 0.2875993549823761, 0.2322262078523636, 0.00012859489652328193, -0.18325743079185486, 0.04374005272984505, 0.34451669454574585, -0.13552618026733398, 0.1843697428703308, -0.22414766252040863, -0.16892820596694946, 0.14896923303604126, 0.17932069301605225, 0.09808580577373505, 0.18145936727523804, -0.040234439074993134, 0.14372393488883972, 0.27429988980293274, -0.3351708650588989, 0.09080573916435242, 0.21158359944820404, -0.06197163835167885, 0.013277612626552582, 0.6567395925521851, 0.3373017907142639, 0.27872171998023987, 0.18183398246765137, 0.4097541272640228, 0.35960739850997925, 0.09231121838092804, 0.15481793880462646, -0.17458277940750122, 0.008902180939912796, 0.22858993709087372, 0.04513762146234512, 0.09401000291109085, 0.11625728011131287, 0.08009698987007141, 0.103831447660923, -0.28236743807792664, -0.09443338960409164, 0.07520316541194916, 0.16530530154705048, -0.20957982540130615, -0.3464439809322357, -0.2900938093662262, -0.17386052012443542, -0.09189601987600327, -0.11671479046344757, -0.09582805633544922, 0.08578270673751831, 0.47437140345573425, -0.1742730736732483, 0.03721217066049576, -0.21748921275138855, 0.046246062964200974, -0.1617095172405243, 0.3972717225551605, -0.15724559128284454, -0.009012239053845406, 0.08657059073448181, 0.014758117496967316, 0.19784419238567352, 0.4606880247592926, 0.2737855613231659, 0.06029140204191208, -0.13708294928073883, -0.2755751311779022, -0.33398404717445374, -0.009343119338154793, -0.12711957097053528, 0.3525293469429016, 0.03640785440802574, 0.015309523791074753, 0.29219797253608704, 0.2564069628715515, -0.18859566748142242, 0.0846034362912178, 0.001746494323015213, -0.12717214226722717, -0.2914341688156128, 0.5092090964317322, 0.37424638867378235, -0.20316088199615479, -0.05467537045478821, 0.1797225922346115, -0.28252285718917847, -0.15048107504844666, 0.3662467300891876, 0.18404683470726013, 0.18447968363761902, -0.22505803406238556, 0.17152193188667297, 0.1598890870809555, 0.42600294947624207, 0.18926545977592468, -0.34702563285827637, -0.08774460107088089, 0.05248957872390747, -0.5464067459106445, 0.04504987597465515, 0.14986896514892578, -0.3022710084915161, 0.1960749477148056, 0.04380239546298981, 0.13588902354240417, -0.006519351154565811, -0.14314381778240204, -0.011914294213056564, -0.06670226901769638, -0.07573781907558441, -0.26265209913253784, 0.017654648050665855, 0.05057710409164429, -0.12375925481319427, 0.2787528336048126, -0.07649325579404831, -0.09898100793361664, 0.3836825489997864, 0.1845760941505432, -0.11622148752212524, -0.07744968682527542, 0.41463834047317505, -0.031199544668197632, 0.3258337378501892, -0.014709612354636192, 0.21513867378234863, -0.05722738802433014, -0.10482553392648697, -0.13987205922603607, -0.3968477249145508, -0.4545136094093323, 0.30829375982284546, -0.31966277956962585, 0.3684573471546173, -0.07512366026639938, -0.14289690554141998, -0.04410143941640854, -0.05373263359069824, -0.023838985711336136, -0.38600999116897583, -0.3929198086261749, 0.014812132343649864, -0.22996017336845398, 0.009177075698971748, 0.023146357387304306, 0.5476869344711304, 0.1305379420518875, 0.07474896311759949, -0.3344765901565552, -0.5964866876602173, 0.47472238540649414, 0.03231215104460716, -0.5290738344192505, -0.002335114637389779, 0.15283891558647156, 0.3644200563430786, -0.013088515028357506, -0.7118514180183411, 0.057421185076236725, 0.2961360514163971, -0.052513591945171356, -0.3575086295604706, 0.21537354588508606, -0.04688958451151848, 0.06494726240634918, -0.21708045899868011, 0.18594440817832947, -0.1076725497841835, 0.09572359174489975, -0.24196112155914307, -0.21296417713165283 ]
https://github.com/huggingface/datasets/pull/2392
Update text classification template labels in DatasetInfo __post_init__
Tests are failing only because the `emotion` dataset card doesn't pass our dataset card validator (tags are missing), you can ignore this since it's unrelated to this PR.
This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO
28
text: Update text classification template labels in DatasetInfo __post_init__ This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO Tests are failing only because the `emotion` dataset card doesn't pass our dataset card validator (tags are missing), you can ignore this since it's unrelated to this PR.
[ -0.1952398121356964, -0.20339974761009216, -0.10928651690483093, -0.040790580213069916, 0.2219117283821106, 0.08373092859983444, 0.2809109687805176, 0.3798762857913971, -0.05571173503994942, 0.07646812498569489, -0.0013315672986209393, 0.4823918640613556, 0.21134456992149353, 0.14281754195690155, 0.017460811883211136, -0.14063675701618195, -0.10333245247602463, -0.097486212849617, -0.061620309948921204, -0.016488108783960342, -0.2562517523765564, -0.09732935577630997, -0.23162424564361572, -0.02655014395713806, -0.36943402886390686, -0.31565240025520325, -0.02676905319094658, 0.16549643874168396, -0.02519317902624607, -0.7104771137237549, 0.2886883616447449, 0.30918288230895996, 0.07187403738498688, 0.061290208250284195, -0.00009860360296443105, -0.03795824944972992, 0.2915879189968109, 0.0691627711057663, -0.11399820446968079, -0.04441969096660614, -0.15720057487487793, -0.320420503616333, -0.08574292808771133, -0.16021129488945007, 0.08818776160478592, -0.3043411672115326, -0.0037823859602212906, 0.019135020673274994, 0.2501877248287201, 0.24949166178703308, 0.2767185866832733, 0.08320411294698715, -0.03608964383602142, -0.11483900249004364, -0.08473288267850876, 0.2047593742609024, -0.129335418343544, -0.037182774394750595, 0.3292604088783264, 0.06911171227693558, 0.208607017993927, 0.5220900177955627, -0.14895859360694885, -0.04567115381360054, 0.23136207461357117, -0.12854254245758057, 0.5340204238891602, -0.20939725637435913, -0.08052396774291992, 0.024978376924991608, 0.5733126997947693, -0.3736758530139923, -0.3812193274497986, -0.2358170449733734, 0.09077423065900803, -0.3738595247268677, 0.1886911690235138, -0.2970115840435028, -0.08311647176742554, 0.21004974842071533, 0.16223904490470886, -0.03858617693185806, -0.03947803005576134, -0.31807512044906616, 0.2211553454399109, 0.35906341671943665, -0.003022383898496628, -0.009906627237796783, -0.29579293727874756, -0.012083426117897034, 0.14268937706947327, -0.23306110501289368, -0.04004066810011864, -0.026673950254917145, -0.08922320604324341, -0.13704001903533936, -0.07562205940485, -0.32266926765441895, -0.06622493267059326, 0.14888441562652588, -0.06132417172193527, 0.17897248268127441, -0.042001813650131226, 0.055420149117708206, 0.09132304787635803, 0.3985064625740051, 0.2716289162635803, 0.17940810322761536, 0.017438407987356186, -0.011009424924850464, -0.15857456624507904, -0.1125088706612587, 0.04304109141230583, -0.2841784358024597, 0.42723944783210754, 0.2438545823097229, 0.3192265033721924, -0.1704825609922409, -0.4135395884513855, -0.0198025144636631, -0.08770254254341125, 0.04172147065401077, 0.10009753704071045, 0.25555747747421265, 0.0496026910841465, 0.3622737228870392, 0.11245326697826385, -0.07669652253389359, -0.23768989741802216, 0.0037496527656912804, -0.23607170581817627, 0.09386864304542542, -0.21598292887210846, 0.13337865471839905, 0.145319864153862, -0.043062325567007065, 0.1674071103334427, 0.11000347137451172, 0.26242324709892273, -0.16357848048210144, 0.21791715919971466, -0.06253115087747574, 0.2814268469810486, 0.11527076363563538, -0.3474908173084259, 0.1609400063753128, 0.17242056131362915, -0.21978659927845, -0.2799428701400757, 0.14539536833763123, 0.008864201605319977, -0.35390251874923706, 0.09815096855163574, 0.33268681168556213, 0.10547247529029846, -0.1666959673166275, 0.12449342012405396, 0.2741550803184509, 0.15395690500736237, 0.0025445260107517242, 0.34552299976348877, -0.3889198303222656, -0.13627196848392487, -0.027917591854929924, 0.07794602960348129, 0.22408857941627502, -0.34068992733955383, -0.09761602431535721, 0.16209162771701813, -0.0307033471763134, -0.07848341017961502, -0.055322322994470596, -0.06795751303434372, 0.3204719126224518, 0.09123218804597855, -0.003179214894771576, 0.1443442553281784, -0.6639384031295776, -0.1339479237794876, -0.016759676858782768, -0.03964114189147949, 0.020526433363556862, 0.3402330279350281, -0.07929547876119614, -0.01616930402815342, -0.20741964876651764, 0.07126609981060028, 0.009731940925121307, -0.003984389826655388, 0.054648369550704956, -0.386900395154953, 0.23953777551651, -0.0017169676721096039, 0.12955419719219208, 0.0708211287856102, -0.1937623918056488, -0.22379639744758606, 0.17372195422649384, 0.10457092523574829, -0.08952480554580688, 0.1590244323015213, 0.1922474503517151, 0.17978715896606445, 0.2073572725057602, 0.1607503592967987, -0.0441390797495842, -0.28876248002052307, 0.13812872767448425, 0.359004944562912, 0.1292010247707367, -0.11545327305793762, -0.4896731972694397, -0.3689521849155426, 0.039396919310092926, -0.06587864458560944, -0.5019898414611816, 0.23488515615463257, 0.18845859169960022, -0.044697098433971405, -0.1989920437335968, -0.2157789170742035, 0.3036024570465088, -0.35985031723976135, 0.15235982835292816, 0.23720523715019226, -0.17537106573581696, 0.05050147697329521, 0.00031587760895490646, -0.1642279028892517, 0.19146154820919037, -0.019480347633361816, -0.06549911201000214, -0.04995128884911537, 0.47778746485710144, 0.18276770412921906, -0.06886501610279083, -0.10282806307077408, -0.08109147846698761, 0.03948453813791275, -0.26993006467819214, -0.03157350420951843, -0.16336248815059662, 0.11510935425758362, 0.028700515627861023, -0.20233359932899475, 0.4038401246070862, -0.05228664353489876, 0.13835829496383667, 0.029561080038547516, -0.22138816118240356, 0.1016836166381836, 0.008335545659065247, -0.3860721290111542, -0.059566885232925415, -0.20712469518184662, -0.09574595093727112, 0.28335991501808167, 0.0004810541868209839, -0.4642891585826874, 0.4192335307598114, 0.26361626386642456, 0.0601838193833828, -0.05675266683101654, -0.1516486406326294, -0.050102971494197845, 0.0561920627951622, 0.11556883901357651, -0.17838674783706665, 0.17056404054164886, 0.22196732461452484, 0.14681725203990936, 0.2479827105998993, -0.17934457957744598, -0.1186627522110939, 0.231641948223114, 0.21115365624427795, -0.19774532318115234, 0.08804237842559814, 0.12698067724704742, 0.012355593964457512, -0.20587202906608582, -0.12197549641132355, 0.16799645125865936, 0.007799546234309673, -0.29065313935279846, 0.028386199846863747, -0.1068214550614357, -0.2794376015663147, -0.3997722864151001, -0.03426366299390793, 0.01715889200568199, -0.3043615221977234, 0.22608333826065063, -0.06780771911144257, -0.17981690168380737, 0.40616512298583984, 0.12008659541606903, 0.2633662819862366, -0.0611308217048645, -0.007795928046107292, -0.21387501060962677, -0.18111646175384521, -0.015349343419075012, 0.15115965902805328, -0.02578520029783249, 0.11292757093906403, 0.19936542212963104, -0.01650495082139969, 0.016956910490989685, -0.04047708213329315, -0.5028411746025085, 0.0717296153306961, -0.30052661895751953, 0.04404200613498688, 0.10933614522218704, -0.14003193378448486, 0.0227675661444664, -0.26058244705200195, -0.045558881014585495, -0.12185296416282654, -0.1287420690059662, -0.29865187406539917, 0.06257566064596176, 0.013164770789444447, -0.26076042652130127, -0.762343168258667, -0.09721639007329941, -0.31607720255851746, 0.24049533903598785, 0.0527283139526844, -0.15730020403862, 0.47019416093826294, -0.04595893248915672, 0.10446138679981232, 0.017524350434541702, 0.23745237290859222, -0.2015223503112793, -0.2344517707824707, -0.05154239013791084, -0.17841657996177673, 0.061716366559267044, -0.09712759405374527, -0.12261985242366791, 0.17019912600517273, -0.10412994027137756, -0.09074176847934723, -0.2616247534751892, -0.16395814716815948, 0.3878256380558014, -0.08091855049133301, -0.007526164874434471, 0.22883078455924988, 0.19858808815479279, -0.2221633344888687, -0.0485335998237133, -0.08967269212007523, 0.06264133751392365, -0.18087217211723328, 0.03587949275970459, -0.374210387468338, 0.008640192449092865, 0.00008067861199378967, 0.35720038414001465, -0.09949137270450592, 0.008576102554798126, -0.044441744685173035, 0.27643656730651855, 0.3737665116786957, -0.23159655928611755, -0.08422459661960602, 0.07668933272361755, 0.02245861291885376, -0.08565811812877655, 0.08344808220863342, -0.05287895351648331, 0.04906580597162247, 0.18274106085300446, 0.04887400195002556, -0.06648005545139313, -0.2186666876077652, 0.08013905584812164, -0.020617462694644928, 0.3433850109577179, 0.19797807931900024, 0.05580990016460419, -0.420320987701416, 0.11697695404291153, 0.001368287019431591, 0.43436187505722046, -0.043167032301425934, -0.0221515242010355, -0.3576068878173828, 0.020218048244714737, -0.30594882369041443, 0.3027312755584717, 0.40541043877601624, 0.008973192423582077, 0.014602411538362503, -0.24331733584403992, 0.004216127097606659, 0.11210766434669495, 0.21445485949516296, -0.42929062247276306, 0.0015510283410549164, 0.41264837980270386, -0.25323760509490967, 0.09428083896636963, -0.2266424000263214, -0.28955042362213135, -0.01833394169807434, 0.3435523808002472, 0.49763545393943787, -0.05676840990781784, -0.3839893639087677, 0.2062404602766037, -0.18756984174251556, -0.03952525928616524, 0.003632359206676483, 0.004235945641994476, -0.4467310905456543, -0.12962399423122406, 0.44583550095558167, 0.4315835237503052, 0.07725199311971664, -0.24927130341529846, 0.3114728331565857, -0.19987057149410248, 0.2971041798591614, 0.008665837347507477, 0.11392021179199219, 0.00481435377150774, 0.14027437567710876, 0.005530945956707001, 0.10254953801631927, 0.09113314747810364, 0.11137903481721878, 0.224362313747406, -0.16907651722431183, -0.3507804274559021, -0.176021546125412, -0.11367522925138474, 0.4019392430782318, 0.365546852350235, -0.06121693179011345, 0.07935312390327454, -0.2941019535064697, -0.09795399010181427, -0.3581678569316864, 0.3952217400074005, 0.35316452383995056, 0.22441993653774261, -0.4209505021572113, -0.7341703176498413, 0.19494488835334778, 0.17825905978679657, -0.34082430601119995, 0.29475802183151245, -0.2574995160102844, -0.3621191680431366, 0.20841363072395325, 0.27911168336868286, 0.8787949085235596, 0.18132004141807556, 0.15321315824985504, 0.18720024824142456, 0.16855332255363464, 0.45651817321777344, -0.21730858087539673, 0.18933607637882233, -0.27176806330680847, -0.42363980412483215, 0.08112382143735886, 0.001289166510105133, 0.17638207972049713, 0.08447867631912231, -0.2829730808734894, 0.06812216341495514, 0.20765207707881927, -0.10087738931179047, 0.037901755422353745, 0.17174077033996582, -0.20545105636119843, -0.24427595734596252, -0.1657698005437851, 0.1810331493616104, 0.054637230932712555, -0.043412644416093826, -0.23149925470352173, 0.14932550489902496, 0.1313086301088333, -0.18901991844177246, -0.02808411419391632, -0.053026728332042694, 0.18988634645938873, 0.13033556938171387, 0.09328371286392212, 0.0709487795829773, 0.19647981226444244, -0.17729616165161133, 0.6855937242507935, 0.1627008467912674, 0.1567419469356537, 0.22581788897514343, 0.195669025182724, 0.12972481548786163, -0.0158021729439497, -0.08643655478954315, 0.7037057876586914, 0.1724625527858734, -0.14019560813903809, -0.11872879415750504, -0.12793180346488953, -0.006304379552602768, -0.41787829995155334, -0.32163459062576294, -0.055817410349845886, -0.2937801480293274, 0.1771421730518341, 0.27619993686676025, -0.18297724425792694, -0.350046306848526, 0.2420266568660736, -0.309684693813324, -0.25842294096946716, 0.2586154341697693, -0.006817679852247238, -0.4834999144077301, 0.0616019181907177, 0.10829475522041321, 0.10253705829381943, 0.16014790534973145, 0.5499579906463623, 0.13129381835460663, -0.11252756416797638, -0.27949556708335876, -0.004678551107645035, 0.10992813110351562, -0.21139532327651978, 0.29194948077201843, 0.05006793886423111, -0.18438619375228882, 0.09542566537857056, 0.6810499429702759, 0.045306578278541565, -0.07667990773916245, -0.18827000260353088, -0.02744998037815094, -0.3054591119289398, 0.18968510627746582, 0.010030925273895264, 0.39182978868484497, 0.01664113625884056, 0.6165554523468018, -0.08103721588850021, 0.04035930335521698, -0.48614513874053955, -0.2070135474205017, -0.12886279821395874, 0.20451386272907257, 0.007549889385700226, 0.09450311958789825, 0.08492540568113327, -0.0035797548480331898, 0.12699639797210693, 0.41794079542160034, 0.10147954523563385, -0.3378000855445862, -0.2896721363067627, 0.11517661064863205, -0.05709952116012573, 0.12836582958698273, 0.0022528250701725483, 0.12275367975234985, 0.07094167172908783, -0.013192521408200264, 0.1795775443315506, 0.09311813861131668, -0.021729648113250732, 0.5211735963821411, -0.26326751708984375, 0.4323732554912567, 0.2224816530942917, -0.03183840960264206, 0.04628314822912216, 0.015496306121349335, -0.055055417120456696, 0.1447998583316803, -0.2646142840385437, 0.035801708698272705, -0.02391509711742401, 0.11899425089359283, 0.021618880331516266, 0.18414899706840515, -0.044838033616542816, 0.05955198407173157, -0.019153837114572525, -0.1474173218011856, 0.2875993549823761, 0.2322262078523636, 0.00012859489652328193, -0.18325743079185486, 0.04374005272984505, 0.34451669454574585, -0.13552618026733398, 0.1843697428703308, -0.22414766252040863, -0.16892820596694946, 0.14896923303604126, 0.17932069301605225, 0.09808580577373505, 0.18145936727523804, -0.040234439074993134, 0.14372393488883972, 0.27429988980293274, -0.3351708650588989, 0.09080573916435242, 0.21158359944820404, -0.06197163835167885, 0.013277612626552582, 0.6567395925521851, 0.3373017907142639, 0.27872171998023987, 0.18183398246765137, 0.4097541272640228, 0.35960739850997925, 0.09231121838092804, 0.15481793880462646, -0.17458277940750122, 0.008902180939912796, 0.22858993709087372, 0.04513762146234512, 0.09401000291109085, 0.11625728011131287, 0.08009698987007141, 0.103831447660923, -0.28236743807792664, -0.09443338960409164, 0.07520316541194916, 0.16530530154705048, -0.20957982540130615, -0.3464439809322357, -0.2900938093662262, -0.17386052012443542, -0.09189601987600327, -0.11671479046344757, -0.09582805633544922, 0.08578270673751831, 0.47437140345573425, -0.1742730736732483, 0.03721217066049576, -0.21748921275138855, 0.046246062964200974, -0.1617095172405243, 0.3972717225551605, -0.15724559128284454, -0.009012239053845406, 0.08657059073448181, 0.014758117496967316, 0.19784419238567352, 0.4606880247592926, 0.2737855613231659, 0.06029140204191208, -0.13708294928073883, -0.2755751311779022, -0.33398404717445374, -0.009343119338154793, -0.12711957097053528, 0.3525293469429016, 0.03640785440802574, 0.015309523791074753, 0.29219797253608704, 0.2564069628715515, -0.18859566748142242, 0.0846034362912178, 0.001746494323015213, -0.12717214226722717, -0.2914341688156128, 0.5092090964317322, 0.37424638867378235, -0.20316088199615479, -0.05467537045478821, 0.1797225922346115, -0.28252285718917847, -0.15048107504844666, 0.3662467300891876, 0.18404683470726013, 0.18447968363761902, -0.22505803406238556, 0.17152193188667297, 0.1598890870809555, 0.42600294947624207, 0.18926545977592468, -0.34702563285827637, -0.08774460107088089, 0.05248957872390747, -0.5464067459106445, 0.04504987597465515, 0.14986896514892578, -0.3022710084915161, 0.1960749477148056, 0.04380239546298981, 0.13588902354240417, -0.006519351154565811, -0.14314381778240204, -0.011914294213056564, -0.06670226901769638, -0.07573781907558441, -0.26265209913253784, 0.017654648050665855, 0.05057710409164429, -0.12375925481319427, 0.2787528336048126, -0.07649325579404831, -0.09898100793361664, 0.3836825489997864, 0.1845760941505432, -0.11622148752212524, -0.07744968682527542, 0.41463834047317505, -0.031199544668197632, 0.3258337378501892, -0.014709612354636192, 0.21513867378234863, -0.05722738802433014, -0.10482553392648697, -0.13987205922603607, -0.3968477249145508, -0.4545136094093323, 0.30829375982284546, -0.31966277956962585, 0.3684573471546173, -0.07512366026639938, -0.14289690554141998, -0.04410143941640854, -0.05373263359069824, -0.023838985711336136, -0.38600999116897583, -0.3929198086261749, 0.014812132343649864, -0.22996017336845398, 0.009177075698971748, 0.023146357387304306, 0.5476869344711304, 0.1305379420518875, 0.07474896311759949, -0.3344765901565552, -0.5964866876602173, 0.47472238540649414, 0.03231215104460716, -0.5290738344192505, -0.002335114637389779, 0.15283891558647156, 0.3644200563430786, -0.013088515028357506, -0.7118514180183411, 0.057421185076236725, 0.2961360514163971, -0.052513591945171356, -0.3575086295604706, 0.21537354588508606, -0.04688958451151848, 0.06494726240634918, -0.21708045899868011, 0.18594440817832947, -0.1076725497841835, 0.09572359174489975, -0.24196112155914307, -0.21296417713165283 ]
https://github.com/huggingface/datasets/pull/2392
Update text classification template labels in DatasetInfo __post_init__
@lhoestq @SBrandeis i've fixed the tests and think this is now in a good state for another review :)
This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO
19
text: Update text classification template labels in DatasetInfo __post_init__ This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO @lhoestq @SBrandeis i've fixed the tests and think this is now in a good state for another review :)
[ -0.1952398121356964, -0.20339974761009216, -0.10928651690483093, -0.040790580213069916, 0.2219117283821106, 0.08373092859983444, 0.2809109687805176, 0.3798762857913971, -0.05571173503994942, 0.07646812498569489, -0.0013315672986209393, 0.4823918640613556, 0.21134456992149353, 0.14281754195690155, 0.017460811883211136, -0.14063675701618195, -0.10333245247602463, -0.097486212849617, -0.061620309948921204, -0.016488108783960342, -0.2562517523765564, -0.09732935577630997, -0.23162424564361572, -0.02655014395713806, -0.36943402886390686, -0.31565240025520325, -0.02676905319094658, 0.16549643874168396, -0.02519317902624607, -0.7104771137237549, 0.2886883616447449, 0.30918288230895996, 0.07187403738498688, 0.061290208250284195, -0.00009860360296443105, -0.03795824944972992, 0.2915879189968109, 0.0691627711057663, -0.11399820446968079, -0.04441969096660614, -0.15720057487487793, -0.320420503616333, -0.08574292808771133, -0.16021129488945007, 0.08818776160478592, -0.3043411672115326, -0.0037823859602212906, 0.019135020673274994, 0.2501877248287201, 0.24949166178703308, 0.2767185866832733, 0.08320411294698715, -0.03608964383602142, -0.11483900249004364, -0.08473288267850876, 0.2047593742609024, -0.129335418343544, -0.037182774394750595, 0.3292604088783264, 0.06911171227693558, 0.208607017993927, 0.5220900177955627, -0.14895859360694885, -0.04567115381360054, 0.23136207461357117, -0.12854254245758057, 0.5340204238891602, -0.20939725637435913, -0.08052396774291992, 0.024978376924991608, 0.5733126997947693, -0.3736758530139923, -0.3812193274497986, -0.2358170449733734, 0.09077423065900803, -0.3738595247268677, 0.1886911690235138, -0.2970115840435028, -0.08311647176742554, 0.21004974842071533, 0.16223904490470886, -0.03858617693185806, -0.03947803005576134, -0.31807512044906616, 0.2211553454399109, 0.35906341671943665, -0.003022383898496628, -0.009906627237796783, -0.29579293727874756, -0.012083426117897034, 0.14268937706947327, -0.23306110501289368, -0.04004066810011864, -0.026673950254917145, -0.08922320604324341, -0.13704001903533936, -0.07562205940485, -0.32266926765441895, -0.06622493267059326, 0.14888441562652588, -0.06132417172193527, 0.17897248268127441, -0.042001813650131226, 0.055420149117708206, 0.09132304787635803, 0.3985064625740051, 0.2716289162635803, 0.17940810322761536, 0.017438407987356186, -0.011009424924850464, -0.15857456624507904, -0.1125088706612587, 0.04304109141230583, -0.2841784358024597, 0.42723944783210754, 0.2438545823097229, 0.3192265033721924, -0.1704825609922409, -0.4135395884513855, -0.0198025144636631, -0.08770254254341125, 0.04172147065401077, 0.10009753704071045, 0.25555747747421265, 0.0496026910841465, 0.3622737228870392, 0.11245326697826385, -0.07669652253389359, -0.23768989741802216, 0.0037496527656912804, -0.23607170581817627, 0.09386864304542542, -0.21598292887210846, 0.13337865471839905, 0.145319864153862, -0.043062325567007065, 0.1674071103334427, 0.11000347137451172, 0.26242324709892273, -0.16357848048210144, 0.21791715919971466, -0.06253115087747574, 0.2814268469810486, 0.11527076363563538, -0.3474908173084259, 0.1609400063753128, 0.17242056131362915, -0.21978659927845, -0.2799428701400757, 0.14539536833763123, 0.008864201605319977, -0.35390251874923706, 0.09815096855163574, 0.33268681168556213, 0.10547247529029846, -0.1666959673166275, 0.12449342012405396, 0.2741550803184509, 0.15395690500736237, 0.0025445260107517242, 0.34552299976348877, -0.3889198303222656, -0.13627196848392487, -0.027917591854929924, 0.07794602960348129, 0.22408857941627502, -0.34068992733955383, -0.09761602431535721, 0.16209162771701813, -0.0307033471763134, -0.07848341017961502, -0.055322322994470596, -0.06795751303434372, 0.3204719126224518, 0.09123218804597855, -0.003179214894771576, 0.1443442553281784, -0.6639384031295776, -0.1339479237794876, -0.016759676858782768, -0.03964114189147949, 0.020526433363556862, 0.3402330279350281, -0.07929547876119614, -0.01616930402815342, -0.20741964876651764, 0.07126609981060028, 0.009731940925121307, -0.003984389826655388, 0.054648369550704956, -0.386900395154953, 0.23953777551651, -0.0017169676721096039, 0.12955419719219208, 0.0708211287856102, -0.1937623918056488, -0.22379639744758606, 0.17372195422649384, 0.10457092523574829, -0.08952480554580688, 0.1590244323015213, 0.1922474503517151, 0.17978715896606445, 0.2073572725057602, 0.1607503592967987, -0.0441390797495842, -0.28876248002052307, 0.13812872767448425, 0.359004944562912, 0.1292010247707367, -0.11545327305793762, -0.4896731972694397, -0.3689521849155426, 0.039396919310092926, -0.06587864458560944, -0.5019898414611816, 0.23488515615463257, 0.18845859169960022, -0.044697098433971405, -0.1989920437335968, -0.2157789170742035, 0.3036024570465088, -0.35985031723976135, 0.15235982835292816, 0.23720523715019226, -0.17537106573581696, 0.05050147697329521, 0.00031587760895490646, -0.1642279028892517, 0.19146154820919037, -0.019480347633361816, -0.06549911201000214, -0.04995128884911537, 0.47778746485710144, 0.18276770412921906, -0.06886501610279083, -0.10282806307077408, -0.08109147846698761, 0.03948453813791275, -0.26993006467819214, -0.03157350420951843, -0.16336248815059662, 0.11510935425758362, 0.028700515627861023, -0.20233359932899475, 0.4038401246070862, -0.05228664353489876, 0.13835829496383667, 0.029561080038547516, -0.22138816118240356, 0.1016836166381836, 0.008335545659065247, -0.3860721290111542, -0.059566885232925415, -0.20712469518184662, -0.09574595093727112, 0.28335991501808167, 0.0004810541868209839, -0.4642891585826874, 0.4192335307598114, 0.26361626386642456, 0.0601838193833828, -0.05675266683101654, -0.1516486406326294, -0.050102971494197845, 0.0561920627951622, 0.11556883901357651, -0.17838674783706665, 0.17056404054164886, 0.22196732461452484, 0.14681725203990936, 0.2479827105998993, -0.17934457957744598, -0.1186627522110939, 0.231641948223114, 0.21115365624427795, -0.19774532318115234, 0.08804237842559814, 0.12698067724704742, 0.012355593964457512, -0.20587202906608582, -0.12197549641132355, 0.16799645125865936, 0.007799546234309673, -0.29065313935279846, 0.028386199846863747, -0.1068214550614357, -0.2794376015663147, -0.3997722864151001, -0.03426366299390793, 0.01715889200568199, -0.3043615221977234, 0.22608333826065063, -0.06780771911144257, -0.17981690168380737, 0.40616512298583984, 0.12008659541606903, 0.2633662819862366, -0.0611308217048645, -0.007795928046107292, -0.21387501060962677, -0.18111646175384521, -0.015349343419075012, 0.15115965902805328, -0.02578520029783249, 0.11292757093906403, 0.19936542212963104, -0.01650495082139969, 0.016956910490989685, -0.04047708213329315, -0.5028411746025085, 0.0717296153306961, -0.30052661895751953, 0.04404200613498688, 0.10933614522218704, -0.14003193378448486, 0.0227675661444664, -0.26058244705200195, -0.045558881014585495, -0.12185296416282654, -0.1287420690059662, -0.29865187406539917, 0.06257566064596176, 0.013164770789444447, -0.26076042652130127, -0.762343168258667, -0.09721639007329941, -0.31607720255851746, 0.24049533903598785, 0.0527283139526844, -0.15730020403862, 0.47019416093826294, -0.04595893248915672, 0.10446138679981232, 0.017524350434541702, 0.23745237290859222, -0.2015223503112793, -0.2344517707824707, -0.05154239013791084, -0.17841657996177673, 0.061716366559267044, -0.09712759405374527, -0.12261985242366791, 0.17019912600517273, -0.10412994027137756, -0.09074176847934723, -0.2616247534751892, -0.16395814716815948, 0.3878256380558014, -0.08091855049133301, -0.007526164874434471, 0.22883078455924988, 0.19858808815479279, -0.2221633344888687, -0.0485335998237133, -0.08967269212007523, 0.06264133751392365, -0.18087217211723328, 0.03587949275970459, -0.374210387468338, 0.008640192449092865, 0.00008067861199378967, 0.35720038414001465, -0.09949137270450592, 0.008576102554798126, -0.044441744685173035, 0.27643656730651855, 0.3737665116786957, -0.23159655928611755, -0.08422459661960602, 0.07668933272361755, 0.02245861291885376, -0.08565811812877655, 0.08344808220863342, -0.05287895351648331, 0.04906580597162247, 0.18274106085300446, 0.04887400195002556, -0.06648005545139313, -0.2186666876077652, 0.08013905584812164, -0.020617462694644928, 0.3433850109577179, 0.19797807931900024, 0.05580990016460419, -0.420320987701416, 0.11697695404291153, 0.001368287019431591, 0.43436187505722046, -0.043167032301425934, -0.0221515242010355, -0.3576068878173828, 0.020218048244714737, -0.30594882369041443, 0.3027312755584717, 0.40541043877601624, 0.008973192423582077, 0.014602411538362503, -0.24331733584403992, 0.004216127097606659, 0.11210766434669495, 0.21445485949516296, -0.42929062247276306, 0.0015510283410549164, 0.41264837980270386, -0.25323760509490967, 0.09428083896636963, -0.2266424000263214, -0.28955042362213135, -0.01833394169807434, 0.3435523808002472, 0.49763545393943787, -0.05676840990781784, -0.3839893639087677, 0.2062404602766037, -0.18756984174251556, -0.03952525928616524, 0.003632359206676483, 0.004235945641994476, -0.4467310905456543, -0.12962399423122406, 0.44583550095558167, 0.4315835237503052, 0.07725199311971664, -0.24927130341529846, 0.3114728331565857, -0.19987057149410248, 0.2971041798591614, 0.008665837347507477, 0.11392021179199219, 0.00481435377150774, 0.14027437567710876, 0.005530945956707001, 0.10254953801631927, 0.09113314747810364, 0.11137903481721878, 0.224362313747406, -0.16907651722431183, -0.3507804274559021, -0.176021546125412, -0.11367522925138474, 0.4019392430782318, 0.365546852350235, -0.06121693179011345, 0.07935312390327454, -0.2941019535064697, -0.09795399010181427, -0.3581678569316864, 0.3952217400074005, 0.35316452383995056, 0.22441993653774261, -0.4209505021572113, -0.7341703176498413, 0.19494488835334778, 0.17825905978679657, -0.34082430601119995, 0.29475802183151245, -0.2574995160102844, -0.3621191680431366, 0.20841363072395325, 0.27911168336868286, 0.8787949085235596, 0.18132004141807556, 0.15321315824985504, 0.18720024824142456, 0.16855332255363464, 0.45651817321777344, -0.21730858087539673, 0.18933607637882233, -0.27176806330680847, -0.42363980412483215, 0.08112382143735886, 0.001289166510105133, 0.17638207972049713, 0.08447867631912231, -0.2829730808734894, 0.06812216341495514, 0.20765207707881927, -0.10087738931179047, 0.037901755422353745, 0.17174077033996582, -0.20545105636119843, -0.24427595734596252, -0.1657698005437851, 0.1810331493616104, 0.054637230932712555, -0.043412644416093826, -0.23149925470352173, 0.14932550489902496, 0.1313086301088333, -0.18901991844177246, -0.02808411419391632, -0.053026728332042694, 0.18988634645938873, 0.13033556938171387, 0.09328371286392212, 0.0709487795829773, 0.19647981226444244, -0.17729616165161133, 0.6855937242507935, 0.1627008467912674, 0.1567419469356537, 0.22581788897514343, 0.195669025182724, 0.12972481548786163, -0.0158021729439497, -0.08643655478954315, 0.7037057876586914, 0.1724625527858734, -0.14019560813903809, -0.11872879415750504, -0.12793180346488953, -0.006304379552602768, -0.41787829995155334, -0.32163459062576294, -0.055817410349845886, -0.2937801480293274, 0.1771421730518341, 0.27619993686676025, -0.18297724425792694, -0.350046306848526, 0.2420266568660736, -0.309684693813324, -0.25842294096946716, 0.2586154341697693, -0.006817679852247238, -0.4834999144077301, 0.0616019181907177, 0.10829475522041321, 0.10253705829381943, 0.16014790534973145, 0.5499579906463623, 0.13129381835460663, -0.11252756416797638, -0.27949556708335876, -0.004678551107645035, 0.10992813110351562, -0.21139532327651978, 0.29194948077201843, 0.05006793886423111, -0.18438619375228882, 0.09542566537857056, 0.6810499429702759, 0.045306578278541565, -0.07667990773916245, -0.18827000260353088, -0.02744998037815094, -0.3054591119289398, 0.18968510627746582, 0.010030925273895264, 0.39182978868484497, 0.01664113625884056, 0.6165554523468018, -0.08103721588850021, 0.04035930335521698, -0.48614513874053955, -0.2070135474205017, -0.12886279821395874, 0.20451386272907257, 0.007549889385700226, 0.09450311958789825, 0.08492540568113327, -0.0035797548480331898, 0.12699639797210693, 0.41794079542160034, 0.10147954523563385, -0.3378000855445862, -0.2896721363067627, 0.11517661064863205, -0.05709952116012573, 0.12836582958698273, 0.0022528250701725483, 0.12275367975234985, 0.07094167172908783, -0.013192521408200264, 0.1795775443315506, 0.09311813861131668, -0.021729648113250732, 0.5211735963821411, -0.26326751708984375, 0.4323732554912567, 0.2224816530942917, -0.03183840960264206, 0.04628314822912216, 0.015496306121349335, -0.055055417120456696, 0.1447998583316803, -0.2646142840385437, 0.035801708698272705, -0.02391509711742401, 0.11899425089359283, 0.021618880331516266, 0.18414899706840515, -0.044838033616542816, 0.05955198407173157, -0.019153837114572525, -0.1474173218011856, 0.2875993549823761, 0.2322262078523636, 0.00012859489652328193, -0.18325743079185486, 0.04374005272984505, 0.34451669454574585, -0.13552618026733398, 0.1843697428703308, -0.22414766252040863, -0.16892820596694946, 0.14896923303604126, 0.17932069301605225, 0.09808580577373505, 0.18145936727523804, -0.040234439074993134, 0.14372393488883972, 0.27429988980293274, -0.3351708650588989, 0.09080573916435242, 0.21158359944820404, -0.06197163835167885, 0.013277612626552582, 0.6567395925521851, 0.3373017907142639, 0.27872171998023987, 0.18183398246765137, 0.4097541272640228, 0.35960739850997925, 0.09231121838092804, 0.15481793880462646, -0.17458277940750122, 0.008902180939912796, 0.22858993709087372, 0.04513762146234512, 0.09401000291109085, 0.11625728011131287, 0.08009698987007141, 0.103831447660923, -0.28236743807792664, -0.09443338960409164, 0.07520316541194916, 0.16530530154705048, -0.20957982540130615, -0.3464439809322357, -0.2900938093662262, -0.17386052012443542, -0.09189601987600327, -0.11671479046344757, -0.09582805633544922, 0.08578270673751831, 0.47437140345573425, -0.1742730736732483, 0.03721217066049576, -0.21748921275138855, 0.046246062964200974, -0.1617095172405243, 0.3972717225551605, -0.15724559128284454, -0.009012239053845406, 0.08657059073448181, 0.014758117496967316, 0.19784419238567352, 0.4606880247592926, 0.2737855613231659, 0.06029140204191208, -0.13708294928073883, -0.2755751311779022, -0.33398404717445374, -0.009343119338154793, -0.12711957097053528, 0.3525293469429016, 0.03640785440802574, 0.015309523791074753, 0.29219797253608704, 0.2564069628715515, -0.18859566748142242, 0.0846034362912178, 0.001746494323015213, -0.12717214226722717, -0.2914341688156128, 0.5092090964317322, 0.37424638867378235, -0.20316088199615479, -0.05467537045478821, 0.1797225922346115, -0.28252285718917847, -0.15048107504844666, 0.3662467300891876, 0.18404683470726013, 0.18447968363761902, -0.22505803406238556, 0.17152193188667297, 0.1598890870809555, 0.42600294947624207, 0.18926545977592468, -0.34702563285827637, -0.08774460107088089, 0.05248957872390747, -0.5464067459106445, 0.04504987597465515, 0.14986896514892578, -0.3022710084915161, 0.1960749477148056, 0.04380239546298981, 0.13588902354240417, -0.006519351154565811, -0.14314381778240204, -0.011914294213056564, -0.06670226901769638, -0.07573781907558441, -0.26265209913253784, 0.017654648050665855, 0.05057710409164429, -0.12375925481319427, 0.2787528336048126, -0.07649325579404831, -0.09898100793361664, 0.3836825489997864, 0.1845760941505432, -0.11622148752212524, -0.07744968682527542, 0.41463834047317505, -0.031199544668197632, 0.3258337378501892, -0.014709612354636192, 0.21513867378234863, -0.05722738802433014, -0.10482553392648697, -0.13987205922603607, -0.3968477249145508, -0.4545136094093323, 0.30829375982284546, -0.31966277956962585, 0.3684573471546173, -0.07512366026639938, -0.14289690554141998, -0.04410143941640854, -0.05373263359069824, -0.023838985711336136, -0.38600999116897583, -0.3929198086261749, 0.014812132343649864, -0.22996017336845398, 0.009177075698971748, 0.023146357387304306, 0.5476869344711304, 0.1305379420518875, 0.07474896311759949, -0.3344765901565552, -0.5964866876602173, 0.47472238540649414, 0.03231215104460716, -0.5290738344192505, -0.002335114637389779, 0.15283891558647156, 0.3644200563430786, -0.013088515028357506, -0.7118514180183411, 0.057421185076236725, 0.2961360514163971, -0.052513591945171356, -0.3575086295604706, 0.21537354588508606, -0.04688958451151848, 0.06494726240634918, -0.21708045899868011, 0.18594440817832947, -0.1076725497841835, 0.09572359174489975, -0.24196112155914307, -0.21296417713165283 ]
https://github.com/huggingface/datasets/pull/2392
Update text classification template labels in DatasetInfo __post_init__
Maybe @SBrandeis you can also take a look to make sure you're fine with it ?
This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO
16
text: Update text classification template labels in DatasetInfo __post_init__ This PR implements the idea discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. The main reason for doing so is so avoid duplicating the label definitions in both `DatasetInfo.features` and `DatasetInfo.task_templates`. To avoid storing state in `DatasetInfo.__post_init__`, the current implementation flushes `DatasetInfo.task_templates` before the features are cast in `Dataset.prepare_for_task` (thanks to @mariosasko for this idea!). Here is an example of the current workflow: ```python ds1 = load_dataset("./datasets/emotion/") # cast features and flush templates ds2 = ds1.prepare_for_task("text-classification") assert ds2.info.task_templates is None ``` Note that if users want to pass a `TextClassification` template to `prepare_for_task`, we require them to set `TextClassification.labels` to match the dataset's features corresponding to `label_column`: ```python ds1 = load_dataset("./datasets/emotion/") # TextClassification.labels is None by default => invalid template task = TextClassification(text_column="text", label_column="label") # Raises ValueError ds1.prepare_for_task(task) # Specifying the labels => valid template task = TextClassification(text_column="text", label_column="label", labels=['anger', 'fear', 'joy', 'love', 'sadness', 'surprise']) ds1.prepare_for_task(task) ``` This PR also adds: * New tests + fixed some old tests that weren't testing `assertRaises` properly * A decorator to share docstrings across common functions. This allows us to document `DatasetDict.prepare_for_task` and `Dataset.prepare_for_task` in one place. * Fixes to avoid side-effects from in-place replacements of `DatasetInfo.task_templates` in `DatasetInfo.__post_init__`. Thanks to @lhoestq for figuring this out! * Removal of `FeaturesWithLazyClassLabel` since we now create a new instance of `TextClassification` in `DatasetInfo.__post_init__` and avoid the side-effects first pointed out by @mariosasko ### PR Description from original WIP Hi @yjernite and @lhoestq, here's a first stab at the suggestion discussed in #2389 to update the `labels` of the `TextClassification` template in the `DatasetInfo.__post_init__`. One problem I've spotted is that my current implementation introduces state into the `__post_init__`: * When we call `load_dataset`, `DatasetInfo.features` are the "raw" features without any casting so we can access the column names by the `label_column` specified in `TextClassification` * When we call `Dataset.prepare_for_task` we run into a problem because the `DatasetInfo.features` are first cast into the new schema which triggers a `KeyError` when we update the infos [here](https://github.com/huggingface/datasets/blob/8b2a78520828e0cc13c14a31f413a5395ef25110/src/datasets/arrow_dataset.py#L1959). Here's an explicit example of what I mean with the stack trace appended below: ```python from datasets import load_dataset # this works ds = load_dataset("emotion") # we can verify the task template is correctly set ds["train"].info.task_templates # returns [TextClassification(labels=('sadness', 'joy', 'love', 'anger', 'fear', 'surprise'), text_column='text', label_column='label')] # but this fails because the _post_init__ is looking for the original column names ds.prepare_for_task("text-classification") ``` ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-54a43019b319> in <module> ----> 1 ds.prepare_for_task("text-classification") ~/git/datasets/src/datasets/dataset_dict.py in prepare_for_task(self, task) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/dataset_dict.py in <dictcomp>(.0) 807 """ 808 self._check_values_type() --> 809 return DatasetDict({k: dataset.prepare_for_task(task=task) for k, dataset in self.items()}) ~/git/datasets/src/datasets/arrow_dataset.py in prepare_for_task(self, task) 1421 dataset = self.remove_columns(columns_to_drop) 1422 dataset = dataset.rename_columns(column_mapping) -> 1423 dataset = dataset.cast(features=template.features) 1424 return dataset 1425 ~/git/datasets/src/datasets/arrow_dataset.py in cast(self, features, batch_size, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, num_proc) 970 format = self.format 971 dataset = self.with_format("arrow") --> 972 dataset = dataset.map( 973 lambda t: t.cast(schema), 974 batched=True, ~/git/datasets/src/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint) 1583 1584 if num_proc is None or num_proc == 1: -> 1585 return self._map_single( 1586 function=function, 1587 with_indices=with_indices, ~/git/datasets/src/datasets/arrow_dataset.py in wrapper(*args, **kwargs) 173 } 174 # apply actual function --> 175 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) 176 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out] 177 # re-apply format to the output ~/git/datasets/src/datasets/fingerprint.py in wrapper(*args, **kwargs) 338 # Call actual function 339 --> 340 out = func(self, *args, **kwargs) 341 342 # Update fingerprint of in-place transforms + update in-place history of transforms ~/git/datasets/src/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset) 1959 if update_data: 1960 # Create new Dataset from buffer or file -> 1961 info = self.info.copy() 1962 info.features = writer._features 1963 if buf_writer is None: ~/git/datasets/src/datasets/info.py in copy(self) 274 275 def copy(self) -> "DatasetInfo": --> 276 return self.__class__(**{k: copy.deepcopy(v) for k, v in self.__dict__.items()}) 277 278 ~/git/datasets/src/datasets/info.py in __init__(self, description, citation, homepage, license, features, post_processed, supervised_keys, task_templates, builder_name, config_name, version, splits, download_checksums, download_size, post_processing_size, dataset_size, size_in_bytes) ~/git/datasets/src/datasets/info.py in __post_init__(self) 174 # The reason is that Dataset.prepare_for_task calls Dataset.cast which converts the 175 # DatasetInfo.features to the new schema and thus template.label_column is no longer a valid key --> 176 object.__setattr__(template, "labels", tuple(self.features[template.label_column].names)) 177 template.label_schema["labels"] = ClassLabel(names=template.labels) 178 self.task_templates[idx] = template KeyError: 'label' ``` What do you think? I did this a bit quickly, so maybe I'm overlooking something obvious :) One thing would be to only update the labels of the task template on load, but this seems a bit hacky IMO Maybe @SBrandeis you can also take a look to make sure you're fine with it ?
[ -0.1952398121356964, -0.20339974761009216, -0.10928651690483093, -0.040790580213069916, 0.2219117283821106, 0.08373092859983444, 0.2809109687805176, 0.3798762857913971, -0.05571173503994942, 0.07646812498569489, -0.0013315672986209393, 0.4823918640613556, 0.21134456992149353, 0.14281754195690155, 0.017460811883211136, -0.14063675701618195, -0.10333245247602463, -0.097486212849617, -0.061620309948921204, -0.016488108783960342, -0.2562517523765564, -0.09732935577630997, -0.23162424564361572, -0.02655014395713806, -0.36943402886390686, -0.31565240025520325, -0.02676905319094658, 0.16549643874168396, -0.02519317902624607, -0.7104771137237549, 0.2886883616447449, 0.30918288230895996, 0.07187403738498688, 0.061290208250284195, -0.00009860360296443105, -0.03795824944972992, 0.2915879189968109, 0.0691627711057663, -0.11399820446968079, -0.04441969096660614, -0.15720057487487793, -0.320420503616333, -0.08574292808771133, -0.16021129488945007, 0.08818776160478592, -0.3043411672115326, -0.0037823859602212906, 0.019135020673274994, 0.2501877248287201, 0.24949166178703308, 0.2767185866832733, 0.08320411294698715, -0.03608964383602142, -0.11483900249004364, -0.08473288267850876, 0.2047593742609024, -0.129335418343544, -0.037182774394750595, 0.3292604088783264, 0.06911171227693558, 0.208607017993927, 0.5220900177955627, -0.14895859360694885, -0.04567115381360054, 0.23136207461357117, -0.12854254245758057, 0.5340204238891602, -0.20939725637435913, -0.08052396774291992, 0.024978376924991608, 0.5733126997947693, -0.3736758530139923, -0.3812193274497986, -0.2358170449733734, 0.09077423065900803, -0.3738595247268677, 0.1886911690235138, -0.2970115840435028, -0.08311647176742554, 0.21004974842071533, 0.16223904490470886, -0.03858617693185806, -0.03947803005576134, -0.31807512044906616, 0.2211553454399109, 0.35906341671943665, -0.003022383898496628, -0.009906627237796783, -0.29579293727874756, -0.012083426117897034, 0.14268937706947327, -0.23306110501289368, -0.04004066810011864, -0.026673950254917145, -0.08922320604324341, -0.13704001903533936, -0.07562205940485, -0.32266926765441895, -0.06622493267059326, 0.14888441562652588, -0.06132417172193527, 0.17897248268127441, -0.042001813650131226, 0.055420149117708206, 0.09132304787635803, 0.3985064625740051, 0.2716289162635803, 0.17940810322761536, 0.017438407987356186, -0.011009424924850464, -0.15857456624507904, -0.1125088706612587, 0.04304109141230583, -0.2841784358024597, 0.42723944783210754, 0.2438545823097229, 0.3192265033721924, -0.1704825609922409, -0.4135395884513855, -0.0198025144636631, -0.08770254254341125, 0.04172147065401077, 0.10009753704071045, 0.25555747747421265, 0.0496026910841465, 0.3622737228870392, 0.11245326697826385, -0.07669652253389359, -0.23768989741802216, 0.0037496527656912804, -0.23607170581817627, 0.09386864304542542, -0.21598292887210846, 0.13337865471839905, 0.145319864153862, -0.043062325567007065, 0.1674071103334427, 0.11000347137451172, 0.26242324709892273, -0.16357848048210144, 0.21791715919971466, -0.06253115087747574, 0.2814268469810486, 0.11527076363563538, -0.3474908173084259, 0.1609400063753128, 0.17242056131362915, -0.21978659927845, -0.2799428701400757, 0.14539536833763123, 0.008864201605319977, -0.35390251874923706, 0.09815096855163574, 0.33268681168556213, 0.10547247529029846, -0.1666959673166275, 0.12449342012405396, 0.2741550803184509, 0.15395690500736237, 0.0025445260107517242, 0.34552299976348877, -0.3889198303222656, -0.13627196848392487, -0.027917591854929924, 0.07794602960348129, 0.22408857941627502, -0.34068992733955383, -0.09761602431535721, 0.16209162771701813, -0.0307033471763134, -0.07848341017961502, -0.055322322994470596, -0.06795751303434372, 0.3204719126224518, 0.09123218804597855, -0.003179214894771576, 0.1443442553281784, -0.6639384031295776, -0.1339479237794876, -0.016759676858782768, -0.03964114189147949, 0.020526433363556862, 0.3402330279350281, -0.07929547876119614, -0.01616930402815342, -0.20741964876651764, 0.07126609981060028, 0.009731940925121307, -0.003984389826655388, 0.054648369550704956, -0.386900395154953, 0.23953777551651, -0.0017169676721096039, 0.12955419719219208, 0.0708211287856102, -0.1937623918056488, -0.22379639744758606, 0.17372195422649384, 0.10457092523574829, -0.08952480554580688, 0.1590244323015213, 0.1922474503517151, 0.17978715896606445, 0.2073572725057602, 0.1607503592967987, -0.0441390797495842, -0.28876248002052307, 0.13812872767448425, 0.359004944562912, 0.1292010247707367, -0.11545327305793762, -0.4896731972694397, -0.3689521849155426, 0.039396919310092926, -0.06587864458560944, -0.5019898414611816, 0.23488515615463257, 0.18845859169960022, -0.044697098433971405, -0.1989920437335968, -0.2157789170742035, 0.3036024570465088, -0.35985031723976135, 0.15235982835292816, 0.23720523715019226, -0.17537106573581696, 0.05050147697329521, 0.00031587760895490646, -0.1642279028892517, 0.19146154820919037, -0.019480347633361816, -0.06549911201000214, -0.04995128884911537, 0.47778746485710144, 0.18276770412921906, -0.06886501610279083, -0.10282806307077408, -0.08109147846698761, 0.03948453813791275, -0.26993006467819214, -0.03157350420951843, -0.16336248815059662, 0.11510935425758362, 0.028700515627861023, -0.20233359932899475, 0.4038401246070862, -0.05228664353489876, 0.13835829496383667, 0.029561080038547516, -0.22138816118240356, 0.1016836166381836, 0.008335545659065247, -0.3860721290111542, -0.059566885232925415, -0.20712469518184662, -0.09574595093727112, 0.28335991501808167, 0.0004810541868209839, -0.4642891585826874, 0.4192335307598114, 0.26361626386642456, 0.0601838193833828, -0.05675266683101654, -0.1516486406326294, -0.050102971494197845, 0.0561920627951622, 0.11556883901357651, -0.17838674783706665, 0.17056404054164886, 0.22196732461452484, 0.14681725203990936, 0.2479827105998993, -0.17934457957744598, -0.1186627522110939, 0.231641948223114, 0.21115365624427795, -0.19774532318115234, 0.08804237842559814, 0.12698067724704742, 0.012355593964457512, -0.20587202906608582, -0.12197549641132355, 0.16799645125865936, 0.007799546234309673, -0.29065313935279846, 0.028386199846863747, -0.1068214550614357, -0.2794376015663147, -0.3997722864151001, -0.03426366299390793, 0.01715889200568199, -0.3043615221977234, 0.22608333826065063, -0.06780771911144257, -0.17981690168380737, 0.40616512298583984, 0.12008659541606903, 0.2633662819862366, -0.0611308217048645, -0.007795928046107292, -0.21387501060962677, -0.18111646175384521, -0.015349343419075012, 0.15115965902805328, -0.02578520029783249, 0.11292757093906403, 0.19936542212963104, -0.01650495082139969, 0.016956910490989685, -0.04047708213329315, -0.5028411746025085, 0.0717296153306961, -0.30052661895751953, 0.04404200613498688, 0.10933614522218704, -0.14003193378448486, 0.0227675661444664, -0.26058244705200195, -0.045558881014585495, -0.12185296416282654, -0.1287420690059662, -0.29865187406539917, 0.06257566064596176, 0.013164770789444447, -0.26076042652130127, -0.762343168258667, -0.09721639007329941, -0.31607720255851746, 0.24049533903598785, 0.0527283139526844, -0.15730020403862, 0.47019416093826294, -0.04595893248915672, 0.10446138679981232, 0.017524350434541702, 0.23745237290859222, -0.2015223503112793, -0.2344517707824707, -0.05154239013791084, -0.17841657996177673, 0.061716366559267044, -0.09712759405374527, -0.12261985242366791, 0.17019912600517273, -0.10412994027137756, -0.09074176847934723, -0.2616247534751892, -0.16395814716815948, 0.3878256380558014, -0.08091855049133301, -0.007526164874434471, 0.22883078455924988, 0.19858808815479279, -0.2221633344888687, -0.0485335998237133, -0.08967269212007523, 0.06264133751392365, -0.18087217211723328, 0.03587949275970459, -0.374210387468338, 0.008640192449092865, 0.00008067861199378967, 0.35720038414001465, -0.09949137270450592, 0.008576102554798126, -0.044441744685173035, 0.27643656730651855, 0.3737665116786957, -0.23159655928611755, -0.08422459661960602, 0.07668933272361755, 0.02245861291885376, -0.08565811812877655, 0.08344808220863342, -0.05287895351648331, 0.04906580597162247, 0.18274106085300446, 0.04887400195002556, -0.06648005545139313, -0.2186666876077652, 0.08013905584812164, -0.020617462694644928, 0.3433850109577179, 0.19797807931900024, 0.05580990016460419, -0.420320987701416, 0.11697695404291153, 0.001368287019431591, 0.43436187505722046, -0.043167032301425934, -0.0221515242010355, -0.3576068878173828, 0.020218048244714737, -0.30594882369041443, 0.3027312755584717, 0.40541043877601624, 0.008973192423582077, 0.014602411538362503, -0.24331733584403992, 0.004216127097606659, 0.11210766434669495, 0.21445485949516296, -0.42929062247276306, 0.0015510283410549164, 0.41264837980270386, -0.25323760509490967, 0.09428083896636963, -0.2266424000263214, -0.28955042362213135, -0.01833394169807434, 0.3435523808002472, 0.49763545393943787, -0.05676840990781784, -0.3839893639087677, 0.2062404602766037, -0.18756984174251556, -0.03952525928616524, 0.003632359206676483, 0.004235945641994476, -0.4467310905456543, -0.12962399423122406, 0.44583550095558167, 0.4315835237503052, 0.07725199311971664, -0.24927130341529846, 0.3114728331565857, -0.19987057149410248, 0.2971041798591614, 0.008665837347507477, 0.11392021179199219, 0.00481435377150774, 0.14027437567710876, 0.005530945956707001, 0.10254953801631927, 0.09113314747810364, 0.11137903481721878, 0.224362313747406, -0.16907651722431183, -0.3507804274559021, -0.176021546125412, -0.11367522925138474, 0.4019392430782318, 0.365546852350235, -0.06121693179011345, 0.07935312390327454, -0.2941019535064697, -0.09795399010181427, -0.3581678569316864, 0.3952217400074005, 0.35316452383995056, 0.22441993653774261, -0.4209505021572113, -0.7341703176498413, 0.19494488835334778, 0.17825905978679657, -0.34082430601119995, 0.29475802183151245, -0.2574995160102844, -0.3621191680431366, 0.20841363072395325, 0.27911168336868286, 0.8787949085235596, 0.18132004141807556, 0.15321315824985504, 0.18720024824142456, 0.16855332255363464, 0.45651817321777344, -0.21730858087539673, 0.18933607637882233, -0.27176806330680847, -0.42363980412483215, 0.08112382143735886, 0.001289166510105133, 0.17638207972049713, 0.08447867631912231, -0.2829730808734894, 0.06812216341495514, 0.20765207707881927, -0.10087738931179047, 0.037901755422353745, 0.17174077033996582, -0.20545105636119843, -0.24427595734596252, -0.1657698005437851, 0.1810331493616104, 0.054637230932712555, -0.043412644416093826, -0.23149925470352173, 0.14932550489902496, 0.1313086301088333, -0.18901991844177246, -0.02808411419391632, -0.053026728332042694, 0.18988634645938873, 0.13033556938171387, 0.09328371286392212, 0.0709487795829773, 0.19647981226444244, -0.17729616165161133, 0.6855937242507935, 0.1627008467912674, 0.1567419469356537, 0.22581788897514343, 0.195669025182724, 0.12972481548786163, -0.0158021729439497, -0.08643655478954315, 0.7037057876586914, 0.1724625527858734, -0.14019560813903809, -0.11872879415750504, -0.12793180346488953, -0.006304379552602768, -0.41787829995155334, -0.32163459062576294, -0.055817410349845886, -0.2937801480293274, 0.1771421730518341, 0.27619993686676025, -0.18297724425792694, -0.350046306848526, 0.2420266568660736, -0.309684693813324, -0.25842294096946716, 0.2586154341697693, -0.006817679852247238, -0.4834999144077301, 0.0616019181907177, 0.10829475522041321, 0.10253705829381943, 0.16014790534973145, 0.5499579906463623, 0.13129381835460663, -0.11252756416797638, -0.27949556708335876, -0.004678551107645035, 0.10992813110351562, -0.21139532327651978, 0.29194948077201843, 0.05006793886423111, -0.18438619375228882, 0.09542566537857056, 0.6810499429702759, 0.045306578278541565, -0.07667990773916245, -0.18827000260353088, -0.02744998037815094, -0.3054591119289398, 0.18968510627746582, 0.010030925273895264, 0.39182978868484497, 0.01664113625884056, 0.6165554523468018, -0.08103721588850021, 0.04035930335521698, -0.48614513874053955, -0.2070135474205017, -0.12886279821395874, 0.20451386272907257, 0.007549889385700226, 0.09450311958789825, 0.08492540568113327, -0.0035797548480331898, 0.12699639797210693, 0.41794079542160034, 0.10147954523563385, -0.3378000855445862, -0.2896721363067627, 0.11517661064863205, -0.05709952116012573, 0.12836582958698273, 0.0022528250701725483, 0.12275367975234985, 0.07094167172908783, -0.013192521408200264, 0.1795775443315506, 0.09311813861131668, -0.021729648113250732, 0.5211735963821411, -0.26326751708984375, 0.4323732554912567, 0.2224816530942917, -0.03183840960264206, 0.04628314822912216, 0.015496306121349335, -0.055055417120456696, 0.1447998583316803, -0.2646142840385437, 0.035801708698272705, -0.02391509711742401, 0.11899425089359283, 0.021618880331516266, 0.18414899706840515, -0.044838033616542816, 0.05955198407173157, -0.019153837114572525, -0.1474173218011856, 0.2875993549823761, 0.2322262078523636, 0.00012859489652328193, -0.18325743079185486, 0.04374005272984505, 0.34451669454574585, -0.13552618026733398, 0.1843697428703308, -0.22414766252040863, -0.16892820596694946, 0.14896923303604126, 0.17932069301605225, 0.09808580577373505, 0.18145936727523804, -0.040234439074993134, 0.14372393488883972, 0.27429988980293274, -0.3351708650588989, 0.09080573916435242, 0.21158359944820404, -0.06197163835167885, 0.013277612626552582, 0.6567395925521851, 0.3373017907142639, 0.27872171998023987, 0.18183398246765137, 0.4097541272640228, 0.35960739850997925, 0.09231121838092804, 0.15481793880462646, -0.17458277940750122, 0.008902180939912796, 0.22858993709087372, 0.04513762146234512, 0.09401000291109085, 0.11625728011131287, 0.08009698987007141, 0.103831447660923, -0.28236743807792664, -0.09443338960409164, 0.07520316541194916, 0.16530530154705048, -0.20957982540130615, -0.3464439809322357, -0.2900938093662262, -0.17386052012443542, -0.09189601987600327, -0.11671479046344757, -0.09582805633544922, 0.08578270673751831, 0.47437140345573425, -0.1742730736732483, 0.03721217066049576, -0.21748921275138855, 0.046246062964200974, -0.1617095172405243, 0.3972717225551605, -0.15724559128284454, -0.009012239053845406, 0.08657059073448181, 0.014758117496967316, 0.19784419238567352, 0.4606880247592926, 0.2737855613231659, 0.06029140204191208, -0.13708294928073883, -0.2755751311779022, -0.33398404717445374, -0.009343119338154793, -0.12711957097053528, 0.3525293469429016, 0.03640785440802574, 0.015309523791074753, 0.29219797253608704, 0.2564069628715515, -0.18859566748142242, 0.0846034362912178, 0.001746494323015213, -0.12717214226722717, -0.2914341688156128, 0.5092090964317322, 0.37424638867378235, -0.20316088199615479, -0.05467537045478821, 0.1797225922346115, -0.28252285718917847, -0.15048107504844666, 0.3662467300891876, 0.18404683470726013, 0.18447968363761902, -0.22505803406238556, 0.17152193188667297, 0.1598890870809555, 0.42600294947624207, 0.18926545977592468, -0.34702563285827637, -0.08774460107088089, 0.05248957872390747, -0.5464067459106445, 0.04504987597465515, 0.14986896514892578, -0.3022710084915161, 0.1960749477148056, 0.04380239546298981, 0.13588902354240417, -0.006519351154565811, -0.14314381778240204, -0.011914294213056564, -0.06670226901769638, -0.07573781907558441, -0.26265209913253784, 0.017654648050665855, 0.05057710409164429, -0.12375925481319427, 0.2787528336048126, -0.07649325579404831, -0.09898100793361664, 0.3836825489997864, 0.1845760941505432, -0.11622148752212524, -0.07744968682527542, 0.41463834047317505, -0.031199544668197632, 0.3258337378501892, -0.014709612354636192, 0.21513867378234863, -0.05722738802433014, -0.10482553392648697, -0.13987205922603607, -0.3968477249145508, -0.4545136094093323, 0.30829375982284546, -0.31966277956962585, 0.3684573471546173, -0.07512366026639938, -0.14289690554141998, -0.04410143941640854, -0.05373263359069824, -0.023838985711336136, -0.38600999116897583, -0.3929198086261749, 0.014812132343649864, -0.22996017336845398, 0.009177075698971748, 0.023146357387304306, 0.5476869344711304, 0.1305379420518875, 0.07474896311759949, -0.3344765901565552, -0.5964866876602173, 0.47472238540649414, 0.03231215104460716, -0.5290738344192505, -0.002335114637389779, 0.15283891558647156, 0.3644200563430786, -0.013088515028357506, -0.7118514180183411, 0.057421185076236725, 0.2961360514163971, -0.052513591945171356, -0.3575086295604706, 0.21537354588508606, -0.04688958451151848, 0.06494726240634918, -0.21708045899868011, 0.18594440817832947, -0.1076725497841835, 0.09572359174489975, -0.24196112155914307, -0.21296417713165283 ]
https://github.com/huggingface/datasets/pull/2389
Insert task templates for text classification
You might have thought about this already, but would it make sense to use the `datasets.features.ClassLabel` values when possible instead of declaring the list once for the `feature` and once for the `template`?
This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR
33
text: Insert task templates for text classification This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR You might have thought about this already, but would it make sense to use the `datasets.features.ClassLabel` values when possible instead of declaring the list once for the `feature` and once for the `template`?
[ -0.14614753425121307, -0.6716850399971008, -0.03635227680206299, 0.17042772471904755, 0.12097487598657608, 0.038983896374702454, 0.2681939899921417, 0.013160839676856995, -0.016624536365270615, 0.17828409373760223, 0.14991584420204163, 0.3253248333930969, -0.09553775936365128, 0.2677195072174072, 0.05710957944393158, -0.3805018365383148, 0.10258658230304718, 0.09937642514705658, 0.4335412383079529, 0.10693815350532532, -0.21463017165660858, -0.01753818802535534, 0.014788657426834106, 0.1073305755853653, -0.39944401383399963, -0.15947994589805603, -0.10462727397680283, -0.018234387040138245, 0.056862980127334595, -0.34330424666404724, 0.12509170174598694, 0.2112034261226654, 0.3723771274089813, -0.3427160680294037, -0.00011766968236770481, -0.04622767120599747, 0.09607326984405518, -0.039907634258270264, 0.03289881721138954, -0.08358356356620789, -0.363349586725235, -0.4192979037761688, -0.15015359222888947, -0.17838965356349945, -0.2502627670764923, 0.0676354318857193, 0.0331420935690403, 0.471615195274353, 0.13686354458332062, 0.3148947060108185, 0.09403416514396667, 0.06374402344226837, -0.25524136424064636, -0.2715896666049957, 0.29835930466651917, 0.13308928906917572, -0.2866462469100952, -0.13454028964042664, 0.5351400971412659, 0.2084301859140396, 0.23033592104911804, 0.5335991382598877, 0.006582995876669884, -0.029653683304786682, 0.5451022982597351, 0.16372306644916534, 0.16374069452285767, -0.3698275685310364, -0.22775313258171082, 0.05302473157644272, 0.546017050743103, -0.10768678039312363, -0.0726122260093689, -0.388443261384964, -0.060202017426490784, -0.42640450596809387, 0.17010775208473206, -0.06891876459121704, 0.005890350788831711, 0.32938846945762634, 0.18676239252090454, -0.40043801069259644, -0.004090987145900726, -0.11933436989784241, 0.13346044719219208, 0.007303684949874878, 0.01151559129357338, -0.027673810720443726, 0.029829321429133415, 0.21415720880031586, 0.17846333980560303, -0.24099186062812805, -0.020530644804239273, -0.08728177100419998, 0.14034707844257355, -0.3195047080516815, -0.08319751173257828, 0.03137986734509468, -0.26271072030067444, 0.26504626870155334, 0.03555510565638542, -0.10048358887434006, 0.09543679654598236, 0.2753240168094635, 0.2560494840145111, 0.03076331317424774, 0.4375711977481842, 0.3980923295021057, 0.0409279428422451, -0.0858345776796341, 0.13666795194149017, -0.15835469961166382, -0.24514438211917877, 0.04432206228375435, 0.2585161030292511, 0.10109211504459381, 0.13916781544685364, -0.08328636735677719, -0.42902326583862305, 0.13117943704128265, 0.13453546166419983, -0.1266425997018814, -0.05098993703722954, 0.4582217037677765, 0.08639594167470932, 0.34703829884529114, 0.052053749561309814, -0.024728156626224518, -0.09077823907136917, -0.18156082928180695, -0.015804056078195572, 0.1654195487499237, -0.23489679396152496, 0.037391144782304764, 0.20888499915599823, 0.026360632851719856, 0.2717454731464386, 0.1566629856824875, 0.27398085594177246, -0.14353087544441223, 0.14736919105052948, -0.20386891067028046, 0.036437615752220154, 0.18820244073867798, -0.24368436634540558, 0.09384358674287796, -0.1238517165184021, -0.023328747600317, -0.2562325596809387, 0.3970315754413605, -0.055359579622745514, -0.4135565459728241, 0.5555934906005859, 0.14335434138774872, 0.11076246201992035, 0.009903283789753914, -0.16242611408233643, 0.5918982028961182, 0.18695443868637085, 0.2009517401456833, 0.025847576558589935, -0.23772595822811127, -0.0851801186800003, -0.0060733612626791, -0.20480696856975555, 0.2771373391151428, -0.2565971910953522, -0.3050643801689148, 0.4799422025680542, -0.20742551982402802, -0.05024582892656326, 0.2993868291378021, -0.15763472020626068, 0.33526429533958435, -0.118096724152565, 0.04684343934059143, 0.4508539140224457, -0.24646660685539246, 0.2812109887599945, 0.07222609221935272, 0.09580715000629425, -0.2314053475856781, 0.3990330696105957, 0.20312897861003876, 0.12228316813707352, -0.3929319381713867, 0.33682501316070557, -0.18745116889476776, -0.26183873414993286, 0.06469187885522842, -0.1855783611536026, 0.25387582182884216, 0.24489463865756989, -0.04097465053200722, 0.12925124168395996, 0.12507298588752747, -0.4261380434036255, 0.3931787312030792, -0.13018137216567993, -0.18449001014232635, 0.0680878758430481, 0.18524402379989624, 0.1765015572309494, 0.2549975514411926, -0.055289071053266525, -0.31870120763778687, -0.18794459104537964, 0.08243481069803238, 0.12721893191337585, -0.061596453189849854, 0.5853493809700012, -0.25536075234413147, -0.16512390971183777, -0.10493077337741852, 0.01562577113509178, -0.26760363578796387, -0.04693173989653587, 0.022309396415948868, -0.11186616122722626, -0.45288628339767456, -0.2096567302942276, 0.15242092311382294, -0.27614733576774597, 0.14223657548427582, 0.27290093898773193, -0.12684427201747894, -0.08484675735235214, 0.17084529995918274, -0.14407974481582642, 0.06290063261985779, 0.12509287893772125, -0.11854290962219238, 0.3764514625072479, 0.0037691518664360046, 0.1119549572467804, -0.2383786290884018, -0.1206270232796669, 0.1238013505935669, 0.2761305272579193, -0.2594241797924042, -0.03401567041873932, -0.1836605817079544, 0.09455054998397827, -0.25862303376197815, -0.19845950603485107, 0.4196263551712036, 0.3467545211315155, 0.13236860930919647, -0.05312948301434517, -0.2527967095375061, 0.00940723903477192, 0.023702900856733322, -0.44993674755096436, 0.012504346668720245, 0.1729174256324768, 0.20201732218265533, -0.07179464399814606, 0.08928211778402328, -0.9028533697128296, 0.25863003730773926, 0.1864778697490692, 0.08588580787181854, 0.03462237864732742, -0.04652762413024902, 0.07826000452041626, 0.1595037579536438, 0.018991010263562202, -0.29342713952064514, 0.36001574993133545, 0.31594935059547424, 0.0032579340040683746, -0.06496606022119522, -0.4269322454929352, -0.12832419574260712, 0.28599852323532104, 0.16958384215831757, -0.29248547554016113, -0.14185917377471924, 0.1739049255847931, -0.0010715508833527565, -0.17067790031433105, -0.004416417330503464, 0.1637953519821167, -0.16677123308181763, -0.309458464384079, 0.07779671996831894, 0.15241478383541107, -0.37742093205451965, -0.307668000459671, 0.33097073435783386, -0.05099086835980415, -0.09676934778690338, 0.5377910137176514, -0.22156888246536255, -0.16086383163928986, 0.289420485496521, 0.26501381397247314, 0.48401153087615967, -0.48546603322029114, 0.050627171993255615, -0.13480105996131897, 0.007371647749096155, -0.17780715227127075, 0.0665661096572876, -0.2967032790184021, 0.11681174486875534, 0.5647006630897522, -0.0393901988863945, -0.14037227630615234, -0.1188596859574318, -0.2679336667060852, 0.20887911319732666, -0.19835682213306427, 0.0667230635881424, 0.11014018207788467, -0.010844789445400238, 0.03201066702604294, 0.11488954722881317, 0.22105585038661957, 0.22420050203800201, -0.08661806583404541, -0.31078189611434937, 0.024331027641892433, -0.10588899254798889, -0.22558088600635529, -0.5807649493217468, -0.13268983364105225, -0.22904573380947113, 0.0013456791639328003, 0.2887434661388397, 0.07818104326725006, 0.221677765250206, 0.06509186327457428, -0.12359373271465302, 0.0009437808766961098, 0.1646263748407364, -0.23139111697673798, 0.009506870061159134, 0.14793574810028076, -0.032133664935827255, -0.17811153829097748, -0.00929994136095047, -0.14087067544460297, -0.31447842717170715, 0.22500482201576233, 0.1783338487148285, -0.31784385442733765, -0.06757340580224991, 0.149912491440773, -0.06046867370605469, 0.16023387014865875, 0.2468774914741516, 0.022754110395908356, -0.09261796623468399, -0.0013779699802398682, -0.21632078289985657, 0.1462203413248062, -0.2121618092060089, 0.3111574351787567, -0.13822364807128906, -0.09576690942049026, -0.09677410125732422, 0.5726723074913025, 0.2076297551393509, -0.06202409043908119, 0.021803751587867737, -0.01644357107579708, 0.312076598405838, -0.02963380515575409, -0.19619150459766388, 0.3176555633544922, 0.05366311967372894, -0.10841018706560135, 0.06573639065027237, 0.0016843844205141068, -0.06648528575897217, -0.07883000373840332, 0.19572587311267853, 0.16835111379623413, -0.030653424561023712, 0.4019075930118561, 0.11560925096273422, 0.5012506246566772, 0.09385396540164948, -0.0253734327852726, -0.31008341908454895, 0.09920331090688705, -0.09382389485836029, 0.5364019274711609, 0.00802333652973175, 0.05913623049855232, -0.23275549709796906, 0.136958047747612, -0.4751344323158264, 0.05749346688389778, 0.11528585106134415, -0.08071763813495636, -0.16586075723171234, -0.019637707620859146, -0.01175031065940857, 0.24047474563121796, 0.3286932110786438, -0.4704473316669464, -0.15705789625644684, 0.1253991276025772, 0.0379963219165802, 0.2543514370918274, -0.21418660879135132, -0.639335572719574, -0.010516416281461716, 0.6158303022384644, 0.5064961910247803, -0.3535600006580353, -0.11762691289186478, -0.04426930099725723, -0.11327439546585083, -0.2175084352493286, -0.15836626291275024, 0.03998565301299095, -0.11556513607501984, -0.19990646839141846, 0.31793245673179626, 0.8083456158638, -0.014207221567630768, 0.0607326403260231, 0.12938064336776733, -0.07994444668292999, 0.038920171558856964, 0.4007108211517334, -0.006037243641912937, -0.10559391975402832, -0.06141047924757004, 0.1039317399263382, -0.17977824807167053, 0.2691173553466797, -0.09483808279037476, 0.33096152544021606, -0.29825839400291443, -0.5100907683372498, -0.09601995348930359, -0.2587766945362091, 0.5445472598075867, 0.4321568012237549, -0.03854253888130188, 0.08351700007915497, -0.34965431690216064, -0.05331405997276306, -0.22968263924121857, 0.2649025321006775, 0.07797729223966599, 0.10874874889850616, -0.5539035201072693, -0.49966996908187866, 0.019864652305841446, 0.22896848618984222, -0.3316538333892822, -0.042860813438892365, -0.41909825801849365, -0.5411335229873657, -0.011678630486130714, 0.10588878393173218, 0.9505473375320435, -0.11024963855743408, 0.21860860288143158, 0.13611052930355072, 0.12231269478797913, 0.7292504906654358, -0.3199259638786316, 0.07260671257972717, -0.10098940134048462, -0.2644444406032562, 0.032823994755744934, -0.09237310290336609, 0.34747153520584106, 0.40125465393066406, -0.2303144782781601, 0.2814348042011261, 0.4375928044319153, 0.0567827969789505, -0.2096274197101593, 0.025507524609565735, 0.07364117354154587, -0.31513166427612305, -0.1584978997707367, 0.0003400184214115143, 0.015784703195095062, 0.11913301050662994, -0.21876803040504456, 0.002070486079901457, 0.06098337844014168, -0.4403069019317627, -0.45394450426101685, -0.3362760841846466, -0.11600339412689209, -0.3112809658050537, 0.32817450165748596, -0.1355990618467331, 0.36197733879089355, -0.10531409084796906, 0.6205498576164246, -0.05349927023053169, -0.08549894392490387, 0.003353402018547058, 0.04617908596992493, 0.005846722517162561, -0.27380096912384033, -0.22588087618350983, 0.19795894622802734, -0.06289482116699219, 0.1328117549419403, 0.04210829362273216, -0.2562784254550934, 0.22422342002391815, -0.4639262557029724, 0.029276203364133835, -0.09966367483139038, -0.32245567440986633, -0.023983780294656754, 0.20436789095401764, -0.028122225776314735, -0.2644648551940918, 0.03166373446583748, 0.0934988260269165, -0.0348798967897892, 0.032206591218709946, 0.005776349455118179, 0.10882742702960968, -0.08380664885044098, -0.25837767124176025, 0.09609480202198029, -0.16057756543159485, 0.03829481452703476, 0.15836985409259796, -0.20997430384159088, -0.31199386715888977, 0.1895507276058197, 0.1139962449669838, -0.2745627760887146, 0.1297137439250946, 0.17415213584899902, -0.6537743806838989, -0.07525792717933655, 0.7802480459213257, 0.3134274482727051, -0.07732779532670975, 0.113764688372612, -0.015669208019971848, -0.2465946525335312, 0.1022791862487793, 0.12244777381420135, 0.2114243358373642, -0.05858420580625534, 0.5150943994522095, 0.24744099378585815, 0.10587073117494583, -0.2822435200214386, -0.2680819034576416, -0.15585072338581085, 0.4097236096858978, 0.018902640789747238, 0.16068443655967712, -0.008637767285108566, 0.0926884114742279, -0.07828234136104584, 0.24794936180114746, -0.042240291833877563, -0.15163227915763855, -0.2404821515083313, 0.19283318519592285, 0.04250636696815491, 0.3436875641345978, -0.025569505989551544, 0.2653106451034546, 0.2788524031639099, -0.01886836625635624, 0.014077570289373398, -0.03435041010379791, -0.030213482677936554, 0.458624929189682, 0.10575991123914719, 0.13890725374221802, 0.26822400093078613, -0.06907970458269119, 0.006017468869686127, 0.33518552780151367, 0.15876419842243195, -0.007711432874202728, 0.004252521321177483, 0.022032909095287323, -0.30458396673202515, 0.1764933466911316, 0.097820945084095, 0.2502674460411072, -0.32490596175193787, -0.018470846116542816, 0.1508350521326065, -0.00868987012654543, -0.017231149598956108, 0.24968916177749634, -0.17868363857269287, 0.21254807710647583, 0.10976962745189667, 0.2471643090248108, -0.34816259145736694, -0.06726430356502533, -0.08339561522006989, -0.16011090576648712, 0.08415217697620392, 0.6739060282707214, 0.16863594949245453, 0.24593934416770935, 0.06711257249116898, -0.03132331743836403, 0.16692303121089935, -0.5501527190208435, -0.1493828445672989, 0.0051584914326667786, 0.30350568890571594, 0.021479785442352295, 0.4599998891353607, 0.19743944704532623, 0.0023416802287101746, 0.03044024109840393, 0.3092304766178131, 0.13705262541770935, 0.27307114005088806, 0.40234220027923584, 0.1424366533756256, -0.11538566648960114, 0.1358502209186554, -0.008558064699172974, 0.17105460166931152, 0.0027898401021957397, 0.0522213876247406, -0.0006092339754104614, -0.051440026611089706, -0.028776157647371292, 0.03085109405219555, 0.062194883823394775, -0.19603031873703003, -0.3792230486869812, -0.11203183978796005, -0.12643489241600037, 0.05971266329288483, -0.12727530300617218, 0.02114543505012989, -0.17525941133499146, 0.4307183027267456, -0.19641076028347015, 0.2640303373336792, -0.3704184293746948, 0.3645346760749817, -0.20292410254478455, 0.26468226313591003, -0.18038310110569, 0.20062224566936493, -0.4815490245819092, -0.2331855595111847, 0.47922390699386597, 0.2514764070510864, 0.08912201225757599, 0.04844013601541519, 0.30661824345588684, 0.05316222459077835, -0.49780741333961487, -0.1474355012178421, -0.3838346302509308, 0.07065615803003311, 0.30153709650039673, 0.12103261053562164, 0.31754398345947266, -0.044928018003702164, -0.08379354327917099, 0.2597254514694214, -0.13109883666038513, -0.3899419903755188, -0.44165143370628357, 0.8098622560501099, 0.2545548677444458, -0.28634727001190186, 0.06822946667671204, 0.14703300595283508, -0.1878771185874939, 0.13690185546875, 0.43832799792289734, 0.2099861055612564, 0.15596601366996765, 0.021496795117855072, 0.04554228484630585, -0.06281709671020508, 0.17318105697631836, 0.053588904440402985, -0.11513597518205643, -0.3599831163883209, 0.24953167140483856, -0.2125324010848999, 0.04973960667848587, -0.235409677028656, -0.14365561306476593, 0.38680705428123474, 0.1351746767759323, 0.19920220971107483, 0.43644189834594727, -0.22864560782909393, 0.4254170060157776, 0.08613134175539017, 0.11110585927963257, -0.43333667516708374, -0.18525388836860657, 0.3446701169013977, 0.33026421070098877, 0.48876333236694336, -0.012645814567804337, -0.1571001261472702, 0.5587452054023743, -0.024778984487056732, -0.3230706453323364, -0.014444388449192047, 0.24546381831169128, 0.165440633893013, 0.31481021642684937, 0.11607566475868225, 0.14125031232833862, 0.007356919348239899, 0.04481878876686096, 0.158893883228302, -0.22624927759170532, -0.4486526846885681, 0.18692192435264587, -0.10068795084953308, 0.05459132045507431, -0.47930803894996643, -0.06231539323925972, -0.10438916832208633, -0.19386306405067444, 0.10321348905563354, -0.1614079624414444, -0.18133337795734406, 0.15518918633460999, -0.2357751727104187, 0.20658646523952484, -0.11261989176273346, 0.38026583194732666, 0.06608962267637253, -0.2494705468416214, -0.20416590571403503, -0.5700176358222961, 0.3590244948863983, -0.06429299712181091, -0.2841339707374573, -0.0036749227438122034, 0.2589932084083557, 0.27356070280075073, 0.13760492205619812, -1.0159845352172852, -0.30411794781684875, 0.415027379989624, -0.23562753200531006, -0.47673964500427246, 0.023328576236963272, -0.13665293157100677, -0.19373175501823425, -0.059505827724933624, 0.23275312781333923, -0.257463276386261, -0.042240630835294724, -0.4060029089450836, -0.41097187995910645 ]
https://github.com/huggingface/datasets/pull/2389
Insert task templates for text classification
> You might have thought about this already, but would it make sense to use the `datasets.features.ClassLabel` values when possible instead of declaring the list once for the `feature` and once for the `template`? hi @yjernite, these code insertions are auto-generated so could certainly be improved :) just so i understand, your idea is that instead of doing something like ```python class AGNews(datasets.GeneratorBasedBuilder): """AG News topic classification dataset.""" def _info(self): return datasets.DatasetInfo( description=_DESCRIPTION, features=datasets.Features( { "text": datasets.Value("string"), "label": datasets.features.ClassLabel( names=["World", "Sports", "Business", "Sci/Tech"] ), } ), homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html", citation=_CITATION, task_templates=[ TextClassification( labels=("Business", "Sci/Tech", "Sports", "World"), text_column="text", label_column="label", ) ], ) ``` we could do the following: ```python class AGNews(datasets.GeneratorBasedBuilder): """AG News topic classification dataset.""" def _info(self): info = datasets.DatasetInfo( description=_DESCRIPTION, features=datasets.Features( { "text": datasets.Value("string"), "label": datasets.features.ClassLabel( names=["World", "Sports", "Business", "Sci/Tech"] ), } ), homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html", citation=_CITATION, ) info.task_templates = [ TextClassification( labels=info.features.names, text_column="text", label_column="label", ) ] return info ```
This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR
147
text: Insert task templates for text classification This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR > You might have thought about this already, but would it make sense to use the `datasets.features.ClassLabel` values when possible instead of declaring the list once for the `feature` and once for the `template`? hi @yjernite, these code insertions are auto-generated so could certainly be improved :) just so i understand, your idea is that instead of doing something like ```python class AGNews(datasets.GeneratorBasedBuilder): """AG News topic classification dataset.""" def _info(self): return datasets.DatasetInfo( description=_DESCRIPTION, features=datasets.Features( { "text": datasets.Value("string"), "label": datasets.features.ClassLabel( names=["World", "Sports", "Business", "Sci/Tech"] ), } ), homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html", citation=_CITATION, task_templates=[ TextClassification( labels=("Business", "Sci/Tech", "Sports", "World"), text_column="text", label_column="label", ) ], ) ``` we could do the following: ```python class AGNews(datasets.GeneratorBasedBuilder): """AG News topic classification dataset.""" def _info(self): info = datasets.DatasetInfo( description=_DESCRIPTION, features=datasets.Features( { "text": datasets.Value("string"), "label": datasets.features.ClassLabel( names=["World", "Sports", "Business", "Sci/Tech"] ), } ), homepage="http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html", citation=_CITATION, ) info.task_templates = [ TextClassification( labels=info.features.names, text_column="text", label_column="label", ) ] return info ```
[ -0.05240316316485405, -0.4861575663089752, -0.020073547959327698, 0.2414945513010025, 0.34702640771865845, 0.09280402213335037, 0.20751969516277313, 0.11809210479259491, -0.013533295132219791, -0.01887109875679016, 0.05192437767982483, 0.36828842759132385, -0.1598236858844757, 0.33177894353866577, 0.1121150553226471, -0.4010981023311615, 0.028748340904712677, 0.029035553336143494, 0.36758002638816833, 0.026969991624355316, -0.15237465500831604, 0.09211929887533188, 0.020346730947494507, 0.07466435432434082, -0.2833363711833954, -0.2663560211658478, -0.2106667459011078, 0.13346660137176514, -0.04035157710313797, -0.31724727153778076, 0.08204622566699982, 0.25125718116760254, 0.33517515659332275, -0.004291050136089325, -0.00010946954716928303, -0.16835761070251465, -0.010169647634029388, -0.03221731632947922, -0.047873735427856445, -0.1535424143075943, -0.2068108320236206, -0.5141636729240417, -0.22615070641040802, -0.2130848467350006, -0.23619988560676575, -0.16568432748317719, -0.09380655735731125, 0.32594960927963257, 0.2751797139644623, 0.30936041474342346, 0.176920548081398, -0.10644346475601196, -0.07065071910619736, -0.2442675083875656, 0.15889084339141846, 0.16435319185256958, -0.38045457005500793, 0.0022249482572078705, 0.4179580509662628, 0.06216702610254288, 0.34194156527519226, 0.6880590915679932, -0.0930323675274849, -0.13205665349960327, 0.5693740844726562, 0.17518675327301025, 0.25987350940704346, -0.43886417150497437, -0.274149626493454, 0.029214730486273766, 0.37769100069999695, -0.2989712953567505, -0.41243401169776917, -0.33125999569892883, 0.058878879994153976, -0.44318631291389465, -0.014564476907253265, 0.0411272868514061, -0.05741087719798088, 0.3146858513355255, 0.23357829451560974, -0.311769962310791, -0.11275385320186615, -0.15468701720237732, 0.17892727255821228, 0.12488870322704315, 0.017698317766189575, -0.13048797845840454, 0.04489602893590927, 0.09587766975164413, 0.1745704710483551, -0.20875154435634613, 0.08796166628599167, 0.13644301891326904, -0.008774254471063614, -0.2903202474117279, 0.01669171452522278, -0.09838875383138657, 0.010385878384113312, 0.22326689958572388, 0.08327376842498779, -0.04630759358406067, 0.03846012055873871, 0.19839194416999817, 0.10808740556240082, 0.11714771389961243, 0.2671675682067871, 0.2788486182689667, 0.016197171062231064, -0.004271768033504486, 0.009887009859085083, -0.14132115244865417, -0.26440346240997314, -0.05904543772339821, 0.4897730350494385, 0.1443469524383545, 0.2884078025817871, 0.01620706543326378, -0.2725401222705841, 0.14456647634506226, -0.03637426719069481, 0.049045201390981674, -0.09470709413290024, 0.5098679661750793, 0.08751669526100159, 0.4321293234825134, 0.11422286927700043, 0.15044185519218445, -0.06766263395547867, -0.205784872174263, -0.0449053980410099, 0.2261398434638977, -0.3043680489063263, 0.12728051841259003, 0.3052617013454437, 0.0690346211194992, 0.10240072011947632, 0.190568745136261, 0.1697293221950531, -0.3274570107460022, 0.05706983059644699, -0.2038940191268921, 0.08779947459697723, 0.09959790110588074, -0.15412338078022003, 0.24117036163806915, -0.012174967676401138, -0.14051532745361328, -0.31906118988990784, 0.253736287355423, 0.0405130535364151, -0.21320433914661407, 0.2941679358482361, 0.2069581001996994, 0.1786029189825058, -0.06172211468219757, -0.24313053488731384, 0.5333133339881897, 0.14402395486831665, 0.45441487431526184, -0.07512115687131882, -0.17002786695957184, -0.08959139883518219, -0.03200274333357811, -0.03508565574884415, 0.5260514616966248, -0.12516902387142181, -0.20975248515605927, 0.3117188811302185, 0.08987025916576385, 0.007960058748722076, 0.21942757070064545, 0.02889704890549183, 0.5529715418815613, 0.09201209247112274, -0.01751677691936493, 0.44218146800994873, -0.45641323924064636, 0.16519708931446075, 0.1548658311367035, 0.11008501052856445, -0.0016368776559829712, 0.36863595247268677, 0.1228034645318985, 0.1229875385761261, -0.187571182847023, 0.2812349200248718, 0.11847338825464249, -0.13042382895946503, 0.24557074904441833, -0.25130587816238403, 0.19309192895889282, 0.2312312126159668, 0.08093053102493286, 0.13389641046524048, 0.03266136348247528, -0.41091984510421753, 0.137229785323143, 0.019158605486154556, -0.30924177169799805, 0.0714532658457756, 0.2866939902305603, 0.2842789590358734, 0.15265218913555145, 0.04704059287905693, -0.2697910666465759, -0.31408268213272095, 0.0840134248137474, 0.0645504966378212, 0.13785839080810547, 0.1358967274427414, -0.3106033205986023, -0.3404487073421478, 0.03266490250825882, -0.12898221611976624, -0.3621281385421753, 0.0937669426202774, 0.02555486559867859, -0.13197113573551178, -0.44713926315307617, -0.02202802337706089, 0.30433282256126404, -0.3416164815425873, 0.18429714441299438, 0.1267511248588562, -0.004904038272798061, -0.20520488917827606, -0.015972137451171875, 0.013941485434770584, 0.14922863245010376, 0.2969985902309418, -0.14596796035766602, 0.2535499930381775, 0.07646743953227997, 0.15098953247070312, -0.15033333003520966, 0.022921860218048096, 0.12969496846199036, 0.20496900379657745, -0.28631624579429626, -0.0025405045598745346, -0.14757028222084045, 0.13838551938533783, -0.17365804314613342, -0.1641300916671753, 0.4205692410469055, 0.2088109850883484, 0.14822331070899963, -0.05686052516102791, -0.0969684049487114, 0.14344963431358337, -0.05008282512426376, -0.3980029225349426, 0.0801801085472107, -0.026671122759580612, 0.12324589490890503, -0.23006492853164673, 0.040949735790491104, -0.6912652850151062, 0.30623942613601685, 0.2573671042919159, 0.0791521817445755, -0.01411358267068863, -0.0376737117767334, -0.038783565163612366, 0.2247246503829956, -0.09426455944776535, -0.18558552861213684, 0.2850039601325989, 0.31250429153442383, -0.10915228724479675, 0.10389139503240585, -0.22156678140163422, -0.056965962052345276, 0.355874240398407, 0.21081410348415375, -0.18465453386306763, -0.05659478157758713, 0.26401054859161377, 0.09107526391744614, -0.12427223473787308, -0.08737429976463318, 0.12353456765413284, -0.019768865779042244, -0.3996890187263489, 0.22866474092006683, 0.19428975880146027, -0.33963847160339355, -0.4799443483352661, 0.10152352601289749, 0.04418079927563667, -0.02749132364988327, 0.3720030188560486, -0.26117172837257385, -0.14100773632526398, 0.3659714460372925, 0.37848520278930664, 0.35658130049705505, -0.2316933572292328, -0.014176873490214348, -0.031396474689245224, -0.030153214931488037, 0.039743006229400635, 0.07778757810592651, -0.07448645681142807, 0.16016024351119995, 0.525499165058136, 0.03668879717588425, 0.019224155694246292, -0.16412898898124695, -0.37559032440185547, 0.09710536897182465, -0.2904326319694519, 0.19566674530506134, 0.014172032475471497, 0.06686457246541977, -0.010490145534276962, -0.09305870532989502, 0.2667882442474365, 0.12492428719997406, -0.02804468385875225, -0.16016535460948944, 0.10668021440505981, -0.1799774169921875, -0.17224659025669098, -0.7144604921340942, -0.17127396166324615, -0.29042887687683105, -0.07338482141494751, 0.313686728477478, 0.14375516772270203, 0.41676920652389526, 0.0933137759566307, -0.17166733741760254, 0.1252296417951584, 0.2322937399148941, -0.14575155079364777, 0.10446864366531372, 0.26880019903182983, -0.1593620926141739, -0.25574398040771484, -0.009441930800676346, -0.19304651021957397, -0.09701184928417206, 0.10094916075468063, 0.22118060290813446, -0.2576506733894348, -0.1146506518125534, 0.07251143455505371, -0.07750455290079117, 0.1944090723991394, 0.2819349765777588, 0.12503622472286224, -0.12856508791446686, 0.022691532969474792, -0.13362470269203186, 0.026637718081474304, -0.27197331190109253, 0.09623334556818008, -0.1496981382369995, -0.08185023814439774, -0.1739087849855423, 0.5414630174636841, 0.3538685739040375, -0.1522548645734787, 0.008647192269563675, 0.06906751543283463, 0.08254030346870422, 0.008035615086555481, -0.47064265608787537, 0.06860443204641342, 0.0010745376348495483, -0.030443329364061356, 0.08494153618812561, -0.009463787078857422, -0.12122661620378494, -0.05398344621062279, 0.18816368281841278, -0.07489025592803955, -0.1058422178030014, 0.40605872869491577, -0.03405134379863739, 0.5137943625450134, -0.02809590846300125, 0.0030081942677497864, -0.29661428928375244, 0.10718962550163269, -0.03633454442024231, 0.537112295627594, -0.10283587127923965, 0.017072442919015884, -0.0895707756280899, 0.03583201766014099, -0.3584687411785126, 0.04858538508415222, 0.141567662358284, -0.24264317750930786, -0.1252409666776657, 0.07779159396886826, -0.009259797632694244, 0.21583472192287445, 0.39752936363220215, -0.6694471836090088, -0.20609785616397858, 0.24641039967536926, -0.06224788725376129, 0.23804400861263275, -0.18248319625854492, -0.567675769329071, -0.08752948045730591, 0.6311244368553162, 0.5247517824172974, -0.415831595659256, -0.09470994770526886, 0.07791511714458466, -0.195877805352211, -0.22314304113388062, -0.09560254961252213, 0.09563912451267242, -0.14666566252708435, -0.19527633488178253, 0.4046781659126282, 0.7308533787727356, 0.19352923333644867, -0.01947888918220997, -0.022785086184740067, -0.04274071753025055, 0.23034080862998962, 0.3626015782356262, 0.08768156170845032, 0.07074092328548431, 0.07224154472351074, 0.1044093668460846, -0.1407344937324524, 0.2502535581588745, -0.18312647938728333, 0.2969701588153839, -0.309425413608551, -0.5590053200721741, -0.1418854296207428, -0.25041958689689636, 0.5514255166053772, 0.4131763279438019, -0.057258713990449905, 0.01065988838672638, -0.24828428030014038, -0.07596875727176666, -0.34844014048576355, 0.1624055653810501, 0.1495816707611084, 0.06495965272188187, -0.514201283454895, -0.666480541229248, 0.12707841396331787, 0.1989176869392395, -0.37328284978866577, -0.013343282043933868, -0.2001052349805832, -0.5573210716247559, 0.17204773426055908, 0.05400010570883751, 1.174393653869629, -0.14338375627994537, 0.05886823683977127, 0.19107559323310852, 0.02280738204717636, 0.5596622228622437, -0.2399081289768219, 0.08717451244592667, -0.23231960833072662, -0.1989770531654358, 0.10662055015563965, -0.07137668132781982, 0.2755108177661896, 0.3174164295196533, -0.4163171947002411, 0.26159897446632385, 0.19055677950382233, 0.08972157537937164, -0.08165053278207779, 0.2124498188495636, 0.08757521957159042, -0.5828317999839783, -0.49093228578567505, 0.1025058776140213, 0.0839303657412529, 0.035750459879636765, -0.19459715485572815, -0.210384339094162, -0.052813999354839325, -0.21191836893558502, -0.4303738474845886, -0.1511053442955017, -0.1754305511713028, -0.34768664836883545, 0.2697036862373352, -0.2554851174354553, 0.4047461152076721, -0.03831998631358147, 0.6404333114624023, 0.05337628722190857, -0.2601400911808014, -0.05223510041832924, -0.1551496684551239, 0.00795452669262886, -0.20461104810237885, -0.19171540439128876, 0.36843931674957275, -0.02990330010652542, -0.00808553397655487, 0.0417628288269043, -0.0881064161658287, 0.13101166486740112, -0.37174856662750244, -0.28019535541534424, -0.013386040925979614, -0.378390371799469, 0.06254665553569794, 0.19230708479881287, -0.03326995298266411, -0.36803868412971497, 0.13375693559646606, 0.1167093887925148, -0.2147401124238968, 0.18290168046951294, 0.1257382482290268, 0.09385943412780762, 0.013214446604251862, -0.1447870135307312, 0.209964781999588, 0.028420820832252502, 0.14911693334579468, 0.33869054913520813, -0.2312455028295517, -0.4140189290046692, 0.054770439863204956, 0.07136665284633636, -0.23364734649658203, 0.1612139344215393, 0.08364002406597137, -0.4799494743347168, 0.051166556775569916, 0.6515607237815857, 0.1936841607093811, -0.01262405514717102, 0.051837120205163956, -0.012925129383802414, -0.10986542701721191, -0.016543790698051453, 0.15566501021385193, 0.18147163093090057, -0.14636510610580444, 0.37982216477394104, 0.19841870665550232, 0.2182212471961975, -0.4018678367137909, -0.29926303029060364, -0.10164877027273178, 0.2874580919742584, -0.011294901371002197, 0.025663815438747406, 0.048390280455350876, 0.03341444209218025, 0.039240337908267975, 0.2565087080001831, -0.0012757927179336548, -0.24571439623832703, -0.39000359177589417, 0.14450043439865112, 0.06018955260515213, 0.3576151430606842, -0.022298142313957214, 0.24367259442806244, 0.17993362247943878, -0.20614664256572723, 0.09847107529640198, -0.09284918010234833, 0.02708502486348152, 0.3375681936740875, -0.14294378459453583, 0.18960309028625488, 0.18516062200069427, -0.22249415516853333, -0.09722808003425598, 0.21984495222568512, 0.326267808675766, -0.07939014583826065, 0.03939485549926758, -0.018461983650922775, -0.3705642521381378, 0.16689041256904602, 0.19574305415153503, 0.30101966857910156, 0.05168897286057472, -0.08585551381111145, 0.03232286497950554, 0.18563583493232727, 0.18243835866451263, 0.1471927911043167, -0.22303789854049683, 0.2549677789211273, -0.09168005734682083, 0.2988203465938568, -0.35966062545776367, -0.07625209540128708, -0.15914098918437958, -0.3163334131240845, 0.027135249227285385, 0.666760265827179, 0.08131198585033417, 0.08725719153881073, -0.003232240676879883, -0.02582741715013981, 0.42737361788749695, -0.3559090495109558, -0.12231354415416718, 0.01241779699921608, 0.27703773975372314, 0.028329119086265564, 0.3677383065223694, 0.22185125946998596, 0.03888162225484848, 0.011556219309568405, 0.26442041993141174, 0.07173779606819153, 0.03823775425553322, 0.2736915051937103, 0.12588737905025482, 0.0025453120470046997, 0.07431203871965408, 0.01117776334285736, 0.17864841222763062, 0.0575103797018528, 0.01994858682155609, 0.12647412717342377, 0.04656944423913956, -0.19044457376003265, 0.08825433999300003, 0.21652837097644806, -0.17542368173599243, -0.23452337086200714, -0.17656397819519043, -0.07815283536911011, -0.1510501205921173, -0.3086383044719696, -0.0348181314766407, -0.3160540461540222, 0.34048140048980713, -0.15416830778121948, 0.1028827428817749, -0.3689209222793579, 0.41930314898490906, -0.1801178753376007, 0.5055096745491028, -0.3321736454963684, 0.12367958575487137, -0.3450843095779419, -0.10705654323101044, 0.011125259101390839, 0.2944016456604004, 0.2092801183462143, 0.16675888001918793, 0.1400349885225296, 0.0317743644118309, -0.34279870986938477, -0.19544750452041626, -0.24430504441261292, -0.05598007142543793, 0.18034328520298004, 0.09478963911533356, 0.20611774921417236, 0.05792578309774399, -0.11848161369562149, 0.1688729077577591, 0.11966545879840851, -0.21542687714099884, -0.19536779820919037, 0.7650858759880066, 0.23196634650230408, -0.21709954738616943, -0.1531611680984497, 0.10396924614906311, -0.28141656517982483, 0.046679187566041946, 0.3988703489303589, 0.21630795300006866, 0.14404964447021484, -0.20352889597415924, 0.09176762402057648, 0.09821462631225586, 0.23224914073944092, 0.10799814015626907, -0.10807443410158157, -0.43003398180007935, 0.24336092174053192, -0.32606709003448486, -0.046914972364902496, -0.1435295194387436, -0.18330451846122742, 0.399081289768219, 0.2063552886247635, 0.08437295258045197, 0.3939450979232788, -0.2935015559196472, 0.1945321261882782, -0.08971203863620758, 0.17258231341838837, -0.5746634006500244, -0.10839863121509552, 0.16554734110832214, 0.21819035708904266, 0.4284520745277405, 0.05720695108175278, -0.09933482110500336, 0.30897757411003113, 0.0609908327460289, -0.1939549446105957, -0.15772491693496704, 0.1621299386024475, 0.06556867063045502, 0.3945748805999756, 0.030011573806405067, 0.020839497447013855, -0.0683990865945816, -0.1627315878868103, -0.049150075763463974, -0.2583481967449188, -0.41226232051849365, 0.24388271570205688, 0.03271926939487457, 0.24953687191009521, -0.28106439113616943, -0.12848909199237823, -0.18811450898647308, -0.0739767998456955, 0.11034604907035828, -0.41088274121284485, -0.17601965367794037, 0.17548580467700958, -0.16988058388233185, 0.1957278847694397, -0.1475311666727066, 0.20678511261940002, -0.08440038561820984, -0.07415079325437546, -0.2277926355600357, -0.6043848395347595, 0.3238420784473419, 0.10542557388544083, -0.33610308170318604, 0.08755889534950256, 0.36919188499450684, 0.14887921512126923, 0.23632743954658508, -0.9380951523780823, -0.12006757408380508, 0.28101110458374023, -0.14325398206710815, -0.3804907500743866, 0.2580678462982178, 0.055902380496263504, -0.1495128870010376, -0.08367622643709183, 0.03342420235276222, -0.2166450023651123, 0.12843336164951324, -0.3935123085975647, -0.316758394241333 ]
https://github.com/huggingface/datasets/pull/2389
Insert task templates for text classification
Or we could simply not specify the labels and update the template in the DatasetInfo postinit to give it the labels ?
This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR
22
text: Insert task templates for text classification This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR Or we could simply not specify the labels and update the template in the DatasetInfo postinit to give it the labels ?
[ -0.1117316484451294, -0.5855735540390015, 0.0038048885762691498, 0.1912071704864502, 0.10430174320936203, 0.1387610137462616, 0.2251618653535843, 0.025709500536322594, -0.06357130408287048, 0.1685040295124054, 0.06138061732053757, 0.37642902135849, 0.03781264275312424, 0.38913121819496155, 0.08754681795835495, -0.40634074807167053, 0.15073475241661072, 0.08103076368570328, 0.24961134791374207, 0.01347348839044571, -0.3936452865600586, -0.052285321056842804, -0.04644361138343811, -0.02691017836332321, -0.46736595034599304, -0.25951266288757324, -0.09278510510921478, -0.0719936415553093, -0.18731562793254852, -0.36438077688217163, 0.2244790941476822, 0.21312618255615234, 0.3816417157649994, -0.24519920349121094, -0.00011673837434500456, 0.017704911530017853, 0.06515179574489594, -0.1187341958284378, 0.1473172903060913, 0.0038755983114242554, -0.3765217363834381, -0.36035457253456116, -0.16047289967536926, -0.13098904490470886, -0.06756037473678589, 0.014300014823675156, 0.12327820807695389, 0.46698588132858276, 0.1298680454492569, 0.3106178641319275, 0.10651648044586182, 0.03675929829478264, -0.1788783073425293, -0.23055075109004974, 0.17087504267692566, 0.26417720317840576, -0.29411450028419495, -0.18905684351921082, 0.5544475317001343, 0.22123245894908905, 0.14846020936965942, 0.6379652619361877, 0.011079089716076851, 0.01769348233938217, 0.44461023807525635, 0.025400403887033463, 0.3875071704387665, -0.5273689031600952, -0.1880064606666565, 0.05808764323592186, 0.6972001791000366, -0.1616285741329193, -0.2318895012140274, -0.37929755449295044, 0.013480332680046558, -0.30762043595314026, 0.15219488739967346, -0.049283117055892944, -0.07341840863227844, 0.23367038369178772, 0.132743701338768, -0.23869438469409943, -0.13459059596061707, -0.13954511284828186, 0.18560579419136047, 0.10454711318016052, 0.09398996084928513, -0.05040902644395828, -0.15544246137142181, 0.2971900701522827, 0.2726244032382965, -0.09691448509693146, -0.07106520235538483, 0.02081381529569626, 0.0941447764635086, -0.34806886315345764, -0.2268882691860199, -0.03318014740943909, -0.13696300983428955, 0.17607279121875763, -0.15018953382968903, -0.08947664499282837, -0.029952384531497955, 0.32265418767929077, 0.24511533975601196, 0.05532144382596016, 0.3987370431423187, 0.42783674597740173, -0.016258910298347473, -0.1345870941877365, 0.18296301364898682, -0.125215083360672, -0.21058295667171478, 0.04134746268391609, 0.22137393057346344, 0.01252296008169651, 0.16535107791423798, -0.09038471430540085, -0.4079841375350952, 0.12623152136802673, 0.10865422338247299, -0.005489182658493519, -0.20079977810382843, 0.36946555972099304, -0.02892029657959938, 0.3794891834259033, 0.001972503960132599, -0.08800297230482101, -0.10205336660146713, -0.16332639753818512, -0.022594686597585678, 0.1420428454875946, -0.16870489716529846, 0.06436648964881897, 0.3417161703109741, 0.07573652267456055, 0.32283589243888855, 0.12810739874839783, 0.17405448853969574, -0.19384877383708954, 0.14598479866981506, -0.31408002972602844, 0.09767808765172958, 0.23234112560749054, -0.23005850613117218, 0.050926655530929565, -0.17291943728923798, -0.13359369337558746, -0.26203930377960205, 0.3060762882232666, -0.0908362939953804, -0.24784085154533386, 0.3028726577758789, 0.183383971452713, 0.10239098966121674, -0.15551640093326569, -0.17291873693466187, 0.5677551031112671, 0.023425325751304626, 0.13817903399467468, 0.14293831586837769, -0.2699829339981079, -0.07585307955741882, 0.09403448551893234, -0.19125716388225555, 0.31270551681518555, -0.29188793897628784, -0.3270839750766754, 0.4873353838920593, -0.23671573400497437, 0.09671884030103683, 0.2353813499212265, 0.05677416920661926, 0.3323819935321808, -0.04980718344449997, -0.05806015804409981, 0.3240598142147064, -0.3337571918964386, 0.13014473021030426, 0.037782859057188034, 0.14950473606586456, -0.21377044916152954, 0.3572825491428375, 0.24617554247379303, 0.23922578990459442, -0.19978779554367065, 0.19836044311523438, -0.21988338232040405, -0.39007872343063354, 0.09918970614671707, -0.13230954110622406, 0.21022193133831024, 0.051882997155189514, 0.15232563018798828, 0.4089210331439972, 0.14586788415908813, -0.37416133284568787, 0.27825650572776794, -0.17067956924438477, 0.029685262590646744, 0.25768139958381653, 0.24532903730869293, 0.21596430242061615, 0.2278365194797516, 0.08840490132570267, -0.3611697852611542, -0.24085766077041626, -0.06464541703462601, 0.14233043789863586, 0.1412167251110077, 0.5622134804725647, -0.2666330635547638, -0.20285186171531677, -0.08921588212251663, -0.002775881439447403, -0.38321584463119507, -0.03645220398902893, -0.14762096107006073, -0.13892704248428345, -0.5321165919303894, -0.31580936908721924, 0.2718729078769684, -0.21668684482574463, 0.2920498251914978, 0.2900732457637787, -0.2936268150806427, -0.10090606659650803, 0.04254261031746864, -0.08516788482666016, 0.1701054871082306, 0.02710508182644844, -0.03219520300626755, 0.2454724907875061, -0.05330146104097366, 0.07608360052108765, -0.2278861552476883, -0.014723673462867737, 0.10097779333591461, 0.14876922965049744, -0.38957810401916504, -0.21666567027568817, -0.2867234945297241, 0.10236289352178574, -0.19347545504570007, -0.21067962050437927, 0.13364993035793304, 0.35312768816947937, 0.12407413870096207, -0.0862102210521698, -0.24724724888801575, 0.014421654865145683, -0.052627600729465485, -0.2803235352039337, -0.08850948512554169, 0.03710900992155075, 0.058934107422828674, 0.14249859750270844, 0.0730007141828537, -0.8256553411483765, 0.13699722290039062, 0.2025568038225174, 0.14479660987854004, -0.022728703916072845, 0.08739295601844788, -0.07373014837503433, 0.12881401181221008, 0.08019526302814484, -0.23561939597129822, 0.2585773468017578, 0.33948034048080444, 0.0093524269759655, 0.15243986248970032, -0.17454391717910767, -0.1289844661951065, 0.22414091229438782, 0.18103256821632385, -0.3078359067440033, -0.04856976866722107, 0.0797996073961258, 0.11615234613418579, -0.189179927110672, 0.06210365518927574, 0.1813599318265915, -0.09052664786577225, -0.21810224652290344, -0.14360828697681427, 0.1493254005908966, -0.54190993309021, -0.3327272832393646, 0.33184102177619934, -0.06526081264019012, -0.09984555095434189, 0.5837472081184387, -0.2168043851852417, -0.11783929169178009, 0.3589645028114319, 0.1758805811405182, 0.40146076679229736, -0.45629632472991943, 0.06345853954553604, -0.2580551207065582, -0.03400149941444397, -0.11647496372461319, 0.0931655615568161, -0.33709749579429626, 0.038202907890081406, 0.5098143219947815, -0.21361900866031647, -0.09124402701854706, -0.08068080991506577, -0.31246522068977356, 0.3824034333229065, -0.16865915060043335, 0.12706094980239868, 0.043488115072250366, 0.11554741114377975, -0.01042669266462326, 0.13470478355884552, 0.04249255359172821, 0.1351022571325302, -0.17100101709365845, -0.40030133724212646, -0.15796218812465668, 0.06107006594538689, -0.19916483759880066, -0.6905819773674011, -0.2236548811197281, -0.25652027130126953, 0.08311393111944199, 0.1848629266023636, 0.04541506618261337, 0.3041577935218811, -0.1011359691619873, -0.12945109605789185, -0.11410339176654816, 0.1672949343919754, -0.1841955929994583, -0.10923145711421967, 0.16554221510887146, 0.06459479033946991, -0.1237020194530487, 0.028077837079763412, -0.01210895087569952, -0.24384483695030212, 0.20315112173557281, 0.07896168529987335, -0.21445727348327637, -0.003332391381263733, 0.24700713157653809, -0.042021095752716064, 0.17973607778549194, 0.47684335708618164, 0.13998408615589142, -0.11122803390026093, -0.09857615828514099, -0.2445402592420578, 0.04182902351021767, -0.22731515765190125, 0.19403612613677979, -0.2575445771217346, -0.011314921081066132, -0.20640286803245544, 0.36292028427124023, 0.10544539988040924, 0.012394137680530548, 0.14338693022727966, 0.07531295716762543, 0.4343342185020447, -0.15051057934761047, -0.02704814076423645, 0.35257452726364136, 0.12906350195407867, -0.08610435575246811, 0.033108651638031006, 0.03131255879998207, -0.11924802511930466, -0.06214858964085579, 0.13842898607254028, 0.007185447961091995, 0.06660658121109009, 0.24866998195648193, 0.11949992924928665, 0.473705530166626, 0.09657974541187286, -0.06473952531814575, -0.3374537229537964, 0.058034829795360565, -0.13462118804454803, 0.5583250522613525, 0.015724092721939087, 0.1281711310148239, -0.2452896237373352, 0.08323407918214798, -0.3824019432067871, 0.01709437370300293, 0.1398814469575882, -0.043443553149700165, -0.18099983036518097, -0.019345976412296295, 0.03723271191120148, 0.33191540837287903, 0.21561875939369202, -0.5632758736610413, -0.18468859791755676, -0.025950416922569275, 0.14261630177497864, 0.20472034811973572, -0.1381344497203827, -0.5152388215065002, 0.05848608911037445, 0.6403981447219849, 0.5703718662261963, -0.14324593544006348, -0.23272329568862915, 0.06679972261190414, -0.053324658423662186, -0.17464330792427063, -0.29708513617515564, 0.09059502184391022, -0.24545127153396606, -0.07966596633195877, 0.44058579206466675, 0.8188048005104065, -0.12235715240240097, 0.16716383397579193, 0.11928267776966095, -0.12827196717262268, 0.13674455881118774, 0.23249216377735138, 0.05713154748082161, -0.2069607973098755, -0.025961099192500114, -0.014605885371565819, -0.12329050898551941, 0.29837745428085327, 0.12701404094696045, 0.2717646062374115, -0.35110387206077576, -0.4815599322319031, 0.02935924008488655, -0.288245290517807, 0.48032137751579285, 0.2765120267868042, 0.10616479068994522, 0.006413362920284271, -0.327781617641449, -0.02339032292366028, -0.22716055810451508, 0.3572898209095001, 0.0013284571468830109, 0.15758472681045532, -0.6676161289215088, -0.4702569842338562, 0.09101548790931702, 0.2485383003950119, -0.32617637515068054, 0.03447020426392555, -0.3371279239654541, -0.46426922082901, -0.009231103584170341, 0.11304845660924911, 0.9043073654174805, 0.09227274358272552, 0.09358835220336914, 0.03138096258044243, 0.05309279263019562, 0.6459172964096069, -0.3116694688796997, 0.07738110423088074, -0.08668653666973114, -0.32793450355529785, -0.006462031975388527, -0.03526785969734192, 0.2161063253879547, 0.3156505823135376, -0.08593033254146576, 0.2668275833129883, 0.39829665422439575, 0.012731775641441345, 0.07748259603977203, -0.03032589890062809, 0.08032570779323578, -0.404509574174881, -0.10334303975105286, -0.00024373270571231842, -0.10459768772125244, 0.1310247778892517, -0.1834142506122589, 0.04455682635307312, 0.08974787592887878, -0.34473782777786255, -0.32272258400917053, -0.28976982831954956, -0.10345669090747833, -0.3896259665489197, 0.2781572937965393, 0.15066266059875488, 0.31820860505104065, -0.05413196608424187, 0.7352943420410156, -0.07849419116973877, -0.11566819250583649, 0.09418793022632599, 0.16869691014289856, -0.0026551461778581142, -0.12790729105472565, -0.03670693188905716, 0.29965075850486755, -0.10137712210416794, 0.14003616571426392, 0.023340608924627304, -0.3684714138507843, 0.2579699754714966, -0.5492847561836243, -0.16854210197925568, -0.17440490424633026, -0.21478192508220673, 0.18638713657855988, 0.0650424137711525, 0.17521236836910248, -0.2835094630718231, 0.07550450414419174, -0.13596037030220032, 0.017352350056171417, 0.16124938428401947, -0.007001146674156189, -0.03745531290769577, -0.12915249168872833, -0.26637622714042664, 0.14044883847236633, -0.002524726092815399, 0.15523064136505127, 0.09423969686031342, -0.11161681264638901, -0.32930687069892883, 0.1996341347694397, 0.20403262972831726, -0.29483428597450256, 0.0957028865814209, 0.23945903778076172, -0.5078386068344116, -0.07179754227399826, 0.7045742273330688, 0.24526990950107574, -0.12176517397165298, -0.015850353986024857, 0.04214785248041153, -0.443857342004776, 0.0620584636926651, -0.0962996631860733, 0.10052387416362762, 0.13254031538963318, 0.5850241184234619, 0.3868178129196167, 0.1818617880344391, -0.28399360179901123, -0.39715543389320374, -0.21997417509555817, 0.3239295482635498, 0.09006264805793762, 0.2631472051143646, -0.037822604179382324, -0.029925266280770302, -0.12330083549022675, 0.23810535669326782, -0.008618522435426712, -0.10679861903190613, -0.3156733214855194, 0.16441309452056885, 0.1358725130558014, 0.40329575538635254, -0.01900603622198105, 0.4119357466697693, 0.07495833188295364, 0.10157551616430283, 0.02964068204164505, 0.00813433900475502, -0.05467507988214493, 0.585604727268219, 0.012920081615447998, 0.2575649917125702, 0.01154293492436409, -0.06412900984287262, 0.0837966799736023, 0.33399030566215515, -0.01902851276099682, -0.07924771308898926, 0.08047965168952942, 0.13379958271980286, -0.2307402491569519, 0.11340422928333282, 0.10961417108774185, 0.2167932391166687, -0.2849588394165039, -0.067574143409729, 0.33135226368904114, 0.10658111423254013, -0.15384668111801147, 0.0830463394522667, -0.10519467294216156, 0.02087649516761303, 0.21906736493110657, 0.27346548438072205, -0.3401348292827606, 0.028464864939451218, -0.06746228039264679, -0.26005876064300537, 0.10405613481998444, 0.4991421103477478, 0.18437805771827698, 0.1986912488937378, 0.01857168972492218, 0.060166455805301666, 0.25555220246315, -0.5230399966239929, -0.07533232867717743, 0.029557285830378532, 0.2350315898656845, 0.030943656340241432, 0.5325762033462524, 0.20541049540042877, -0.08715987950563431, -0.038360267877578735, 0.40795978903770447, 0.24633073806762695, 0.2644304633140564, 0.28598999977111816, 0.11119414865970612, -0.03858424350619316, 0.08952543139457703, 0.03358357399702072, 0.18292149901390076, 0.05636095255613327, 0.03021281212568283, 0.03576764464378357, -0.1218089833855629, -0.05322656035423279, 0.07650692015886307, -0.06533992290496826, -0.31498730182647705, -0.2295246422290802, -0.35307347774505615, -0.04210369661450386, 0.008886933326721191, -0.12640927731990814, 0.002942591905593872, 0.004441991448402405, 0.548450767993927, -0.2021055370569229, 0.073785200715065, -0.24695028364658356, 0.20672258734703064, -0.14335930347442627, 0.3701587915420532, -0.1343674659729004, 0.23603658378124237, -0.505946934223175, -0.36937209963798523, 0.3013213574886322, 0.4870186746120453, 0.02273290604352951, 0.01912185363471508, 0.30964741110801697, -0.1713954359292984, -0.37381550669670105, -0.18696808815002441, -0.269802451133728, 0.16155846416950226, 0.3952544629573822, 0.09167042374610901, 0.18279382586479187, 0.011329073458909988, -0.04832696542143822, 0.3249972462654114, -0.0391661636531353, -0.2379046380519867, -0.29102787375450134, 0.600476086139679, 0.32460084557533264, -0.3418424129486084, 0.151321142911911, 0.15817898511886597, -0.2173309624195099, 0.13499492406845093, 0.3767227232456207, 0.11012015491724014, 0.08624499291181564, -0.12427027523517609, 0.05529118329286575, -0.004704462364315987, 0.3798915147781372, 0.20934346318244934, -0.2704890966415405, -0.16924546658992767, 0.2142997533082962, -0.16575190424919128, 0.061797693371772766, -0.045257244259119034, -0.2297293096780777, 0.3891313970088959, -0.09239489585161209, 0.10731411725282669, 0.28398868441581726, -0.34619247913360596, 0.3958875238895416, 0.06131790578365326, 0.13709400594234467, -0.48582273721694946, -0.0554688386619091, 0.2722456157207489, 0.4341345429420471, 0.47280895709991455, 0.01844487339258194, -0.16040746867656708, 0.5385958552360535, -0.025827834382653236, -0.2842370271682739, 0.02141633629798889, 0.3300023078918457, 0.022424640133976936, 0.315212219953537, 0.14992322027683258, 0.21905627846717834, -0.10188627988100052, 0.04484838247299194, 0.13484810292720795, -0.32449716329574585, -0.6485679745674133, 0.14197632670402527, -0.04996981844305992, 0.05287555605173111, -0.33593010902404785, -0.13630267977714539, -0.020773442462086678, -0.30063578486442566, -0.1566839963197708, -0.09867730736732483, -0.30725225806236267, 0.04415154457092285, -0.18755939602851868, 0.06116035580635071, 0.043565534055233, 0.35249897837638855, 0.10477426648139954, -0.32080477476119995, -0.3258017897605896, -0.6181532740592957, 0.26709043979644775, 0.01798892766237259, -0.2772534489631653, -0.07398612052202225, 0.14822039008140564, 0.4915645718574524, 0.08468327671289444, -0.9285764098167419, -0.1446181982755661, 0.4365334212779999, -0.11450590938329697, -0.3208536207675934, 0.10357911884784698, -0.1327914148569107, -0.16505266726016998, -0.06948696076869965, 0.23883849382400513, -0.15304788947105408, -0.12147621810436249, -0.319232314825058, -0.26290103793144226 ]
https://github.com/huggingface/datasets/pull/2389
Insert task templates for text classification
> Or we could simply not specify the labels and update the template in the DatasetInfo postinit to give it the labels ? Oh yes, that would be great! It does mean enforcing that people use the right feature type (sometimes people still use a `string` feature still because they don't want to enumerate the classes, but I guess you've been catching most of those in reviews @lhoestq ) There might be reasons where there should be a legitimate difference, but I can't really think of nay right now, and we can always duplicate the feature
This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR
96
text: Insert task templates for text classification This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR > Or we could simply not specify the labels and update the template in the DatasetInfo postinit to give it the labels ? Oh yes, that would be great! It does mean enforcing that people use the right feature type (sometimes people still use a `string` feature still because they don't want to enumerate the classes, but I guess you've been catching most of those in reviews @lhoestq ) There might be reasons where there should be a legitimate difference, but I can't really think of nay right now, and we can always duplicate the feature
[ -0.11373493075370789, -0.4916953444480896, 0.00974174216389656, 0.06177038326859474, 0.16733524203300476, 0.05573432892560959, 0.32478633522987366, 0.1764315813779831, -0.0936286449432373, 0.1970703899860382, 0.06972358375787735, 0.40187227725982666, -0.12589170038700104, 0.445715993642807, 0.014794180169701576, -0.4007468521595001, 0.12975938618183136, 0.04222205653786659, 0.18247529864311218, 0.04802993685007095, -0.2350865602493286, -0.0555117204785347, 0.0494021475315094, 0.06935153901576996, -0.4163565933704376, -0.1669803410768509, -0.038470782339572906, -0.09585284441709518, -0.22206932306289673, -0.3153302073478699, 0.24358518421649933, 0.23831622302532196, 0.3263055980205536, -0.11404236406087875, -0.0001096276828320697, -0.09959395974874496, 0.04549792408943176, 0.008364411070942879, 0.0316242091357708, 0.0018130391836166382, -0.3678877055644989, -0.43829765915870667, -0.08621665835380554, -0.18121938407421112, -0.06987224519252777, 0.1479412317276001, 0.06197529286146164, 0.3837641179561615, 0.0756438672542572, 0.1657499074935913, 0.1656370311975479, -0.09579866379499435, -0.1732357293367386, -0.2079707235097885, 0.1975487768650055, 0.31864333152770996, -0.44655686616897583, -0.06896746158599854, 0.5586793422698975, 0.1929895430803299, 0.22550052404403687, 0.5918809175491333, -0.0732649564743042, 0.0802612379193306, 0.5294705629348755, 0.019483525305986404, 0.26908889412879944, -0.3948002755641937, -0.2500147521495819, 0.30362337827682495, 0.6592628359794617, -0.15660890936851501, -0.2395876795053482, -0.3599003851413727, 0.01761768013238907, -0.2734171748161316, 0.10270507633686066, -0.02116008661687374, -0.12734182178974152, 0.1944998800754547, 0.13868138194084167, -0.13640540838241577, -0.04818215221166611, -0.19909967482089996, 0.24534368515014648, 0.10422056913375854, 0.07597964257001877, -0.0915626809000969, -0.19574181735515594, 0.19872616231441498, 0.19499167799949646, 0.022965699434280396, -0.04253887012600899, -0.05664539709687233, 0.10713605582714081, -0.3978354334831238, -0.18725243210792542, -0.05767977982759476, -0.049667105078697205, 0.20480231940746307, -0.09687699377536774, -0.03921440988779068, -0.08285530656576157, 0.19878670573234558, 0.15455485880374908, 0.15159888565540314, 0.43981701135635376, 0.2536802291870117, -0.05270851403474808, -0.1536925733089447, 0.0502789281308651, -0.06926638633012772, -0.06597331911325455, 0.0010311007499694824, 0.2991722524166107, 0.11977461725473404, 0.18566299974918365, -0.1677141636610031, -0.34578248858451843, 0.034131892025470734, 0.09128288179636002, -0.008969319984316826, -0.15831302106380463, 0.27974385023117065, 0.1161184310913086, 0.3414825201034546, -0.04193538427352905, -0.07827222347259521, -0.03896167129278183, -0.2464425265789032, 0.030388016253709793, 0.09266074001789093, -0.2542760968208313, 0.09922856837511063, 0.27140188217163086, 0.059403687715530396, 0.10663299262523651, 0.27195948362350464, 0.18505612015724182, -0.17746396362781525, 0.11260071396827698, -0.18267472088336945, 0.09414052963256836, 0.04820750653743744, -0.3586270809173584, -0.006600801832973957, -0.12331204116344452, -0.1976609081029892, -0.3887990713119507, 0.20658129453659058, -0.1051228865981102, -0.251703143119812, 0.2345689833164215, 0.24116598069667816, 0.23906119167804718, -0.1471097767353058, -0.11903978139162064, 0.629467785358429, -0.010438911616802216, 0.13215279579162598, 0.29973500967025757, -0.23565058410167694, -0.09909358620643616, 0.056973181664943695, -0.32479581236839294, 0.29707974195480347, -0.2174520045518875, -0.3315485715866089, 0.41155579686164856, -0.20957563817501068, -0.018874600529670715, 0.12090140581130981, 0.009179556742310524, 0.28898072242736816, 0.022626390680670738, -0.009023495018482208, 0.3433201313018799, -0.35732904076576233, 0.12955023348331451, 0.20642319321632385, 0.1370309740304947, -0.16297002136707306, 0.4509918987751007, 0.22560234367847443, 0.2198755145072937, -0.28638219833374023, 0.3515871465206146, -0.2447921484708786, -0.3141666650772095, 0.09600206464529037, -0.2065158188343048, 0.0006934963166713715, 0.1451592892408371, 0.0947285145521164, 0.22511105239391327, 0.04478507488965988, -0.2143714427947998, 0.1873149871826172, -0.06174545735120773, -0.11169274151325226, 0.1390281766653061, 0.08882136642932892, 0.26896896958351135, 0.14429160952568054, -0.009070953354239464, -0.4933212697505951, -0.2955901622772217, -0.0309704951941967, 0.12562572956085205, 0.24797919392585754, 0.5878883600234985, -0.36203306913375854, -0.1038585752248764, -0.0715610533952713, 0.019079063087701797, -0.3369653522968292, 0.06833086162805557, -0.22045251727104187, -0.16172364354133606, -0.5145822763442993, -0.23592276871204376, 0.26535797119140625, -0.23613688349723816, 0.17421910166740417, 0.368411660194397, -0.3274654448032379, -0.08391311019659042, 0.1495610773563385, -0.15754368901252747, 0.2330361008644104, -0.01646224409341812, -0.04984678328037262, 0.21708223223686218, -0.0065373703837394714, 0.05300965905189514, -0.24202649295330048, -0.06203250586986542, 0.17402827739715576, 0.13020268082618713, -0.29264602065086365, -0.1551869958639145, -0.2506588399410248, 0.04339498654007912, -0.12305368483066559, -0.30582571029663086, 0.23226022720336914, 0.2571913003921509, 0.08806221932172775, -0.1452738344669342, -0.22728708386421204, -0.045521512627601624, -0.08561449497938156, -0.4287232458591461, -0.04317247122526169, 0.08192691951990128, 0.0064417514950037, -0.029594426974654198, 0.1227135956287384, -0.7353841662406921, 0.2184937298297882, 0.3159373104572296, 0.13099424540996552, 0.0734027624130249, 0.14320248365402222, -0.046474605798721313, 0.12290827184915543, 0.028032299131155014, -0.19383251667022705, 0.29208090901374817, 0.3610624074935913, -0.05009942874312401, 0.13303592801094055, -0.2272399216890335, -0.06033621355891228, 0.2666284143924713, 0.0929981991648674, -0.28860482573509216, -0.17442888021469116, 0.027721822261810303, 0.1846824288368225, -0.13851654529571533, -0.061334796249866486, 0.09834809601306915, -0.14233539998531342, -0.18394745886325836, -0.09194518625736237, 0.1819535344839096, -0.4451344907283783, -0.3686547875404358, 0.23328934609889984, -0.06877455115318298, -0.09728696197271347, 0.5943946242332458, -0.24433714151382446, -0.09067793935537338, 0.2743717133998871, 0.12123502790927887, 0.4804155230522156, -0.4919915795326233, -0.04036760330200195, -0.15948574244976044, -0.03832754120230675, -0.15747061371803284, 0.14182254672050476, -0.15314528346061707, -0.004601471591740847, 0.570583164691925, -0.13329750299453735, -0.044329673051834106, -0.17790549993515015, -0.4752970039844513, 0.26208215951919556, -0.1558835506439209, 0.21786996722221375, 0.05468440800905228, -0.015779703855514526, -0.05051064491271973, -0.0766647681593895, 0.08839711546897888, 0.03733927756547928, -0.1780143678188324, -0.3097718060016632, -0.07869371026754379, -0.04212148115038872, -0.25822511315345764, -0.7058394551277161, -0.23771001398563385, -0.28849828243255615, 0.13644999265670776, 0.17129509150981903, 0.018833577632904053, 0.3464908301830292, -0.01841854676604271, -0.182395800948143, 0.003457522252574563, 0.2668481469154358, -0.3239284157752991, -0.032296549528837204, 0.007319021970033646, 0.05270006135106087, -0.11367276310920715, -0.12269459664821625, -0.037053097039461136, -0.21546506881713867, 0.1186765804886818, 0.11267662048339844, -0.2525395154953003, -0.07725369930267334, 0.2944523096084595, 0.042291413992643356, 0.05589393526315689, 0.40650829672813416, 0.2880154848098755, -0.1783922165632248, 0.09526034444570541, -0.1861879825592041, -0.07865787297487259, -0.24939566850662231, 0.167059987783432, -0.23712283372879028, -0.04267348349094391, -0.17449000477790833, 0.28866279125213623, 0.08737298846244812, 0.01767420955002308, 0.12768623232841492, 0.02591581642627716, 0.3502452075481415, -0.26417213678359985, -0.1165023222565651, 0.4418296217918396, -0.005114898085594177, -0.07969929277896881, 0.06004152446985245, 0.0777382180094719, -0.2570865750312805, -0.0099661685526371, 0.23256483674049377, 0.02497786283493042, -0.03079189546406269, 0.28465473651885986, 0.09599530696868896, 0.2944400906562805, 0.07136531174182892, -0.1260766088962555, -0.24278827011585236, 0.04384608939290047, -0.05244433507323265, 0.5916855335235596, -0.16899257898330688, 0.0837535634636879, -0.32464709877967834, 0.15872876346111298, -0.2724194824695587, 0.07870958745479584, 0.21092429757118225, -0.16941863298416138, -0.24703171849250793, -0.0658598318696022, 0.012288153171539307, 0.3495747148990631, 0.20840005576610565, -0.5344384908676147, -0.1729779839515686, -0.047622792422771454, 0.21222257614135742, 0.2358636111021042, -0.22567731142044067, -0.46346667408943176, -0.09934035688638687, 0.5691593885421753, 0.6140912175178528, -0.17821967601776123, -0.16715921461582184, 0.1243472546339035, -0.10144712775945663, -0.13937829434871674, -0.18159087002277374, 0.09843239188194275, -0.07382121682167053, -0.08769608289003372, 0.44090357422828674, 0.6817439198493958, -0.05648504197597504, 0.0801839828491211, 0.08294619619846344, -0.19093303382396698, 0.2044236660003662, 0.3317432999610901, 0.08660414814949036, -0.20657044649124146, 0.05399033799767494, -0.03712863475084305, -0.2288811206817627, 0.34642818570137024, -0.05147494375705719, 0.23546811938285828, -0.37305259704589844, -0.3885858654975891, -0.012681473046541214, -0.2568899393081665, 0.4251694977283478, 0.3187461197376251, 0.1542244255542755, 0.02818969264626503, -0.24931299686431885, -0.007690884172916412, -0.30253902077674866, 0.26013872027397156, 0.014571513049304485, 0.21325597167015076, -0.7372208833694458, -0.5280782580375671, 0.20440606772899628, 0.3584880530834198, -0.4372895359992981, 0.026928290724754333, -0.25967395305633545, -0.4421469271183014, 0.015482796356081963, 0.138599693775177, 1.0189542770385742, 0.10772666335105896, 0.22509601712226868, 0.09280336648225784, 0.047634661197662354, 0.7169741988182068, -0.3182927370071411, 0.0751798003911972, -0.052923448383808136, -0.3560634255409241, -0.03689826652407646, -0.03044811077415943, 0.11420169472694397, 0.32003653049468994, -0.18881867825984955, 0.21089327335357666, 0.27095937728881836, 0.10562967509031296, 0.0401417575776577, 0.048611752688884735, -0.03250700980424881, -0.35280534625053406, -0.031122751533985138, 0.0896884873509407, -0.06739766150712967, 0.06681603938341141, -0.188978910446167, -0.010061303153634071, 0.04069674387574196, -0.2890588045120239, -0.3800997734069824, -0.324880450963974, 0.005019524600356817, -0.2847575545310974, 0.26249757409095764, 0.09330517053604126, 0.32453638315200806, -0.2342013716697693, 0.6996806263923645, -0.06349976360797882, -0.15175989270210266, -0.01802101358771324, 0.1448025107383728, 0.19352635741233826, -0.04784758388996124, -0.18236136436462402, 0.38459092378616333, -0.03366810828447342, 0.17602774500846863, -0.04781526327133179, -0.2302902489900589, 0.1921025961637497, -0.5234737992286682, -0.130923330783844, -0.06729298830032349, -0.39083701372146606, 0.1560811549425125, 0.15733201801776886, 0.14246296882629395, -0.2556191086769104, 0.13481827080249786, -0.20221947133541107, 0.03859749436378479, 0.16148395836353302, 0.1547897458076477, -0.07372160255908966, -0.07392065227031708, -0.32658591866493225, 0.25444117188453674, 0.04914924502372742, 0.10885624587535858, -0.014447301626205444, -0.11887846142053604, -0.3606693744659424, 0.23878979682922363, 0.24736249446868896, -0.2960266172885895, 0.04556817561388016, 0.19556263089179993, -0.58501136302948, 0.028883162885904312, 0.6758944392204285, 0.40715503692626953, 0.1289595663547516, 0.02152547612786293, 0.1014404445886612, -0.3625967800617218, 0.043549779802560806, -0.067215695977211, 0.2239985167980194, -0.02745823748409748, 0.5087553858757019, 0.3247009515762329, 0.17308247089385986, -0.3597680628299713, -0.39390552043914795, -0.029122566804289818, 0.2564530074596405, 0.07785800099372864, 0.23675763607025146, -0.005036813206970692, -0.01555604487657547, -0.037160176783800125, 0.31420767307281494, 0.041450727730989456, -0.2139510214328766, -0.42502716183662415, 0.12283980846405029, 0.017210092395544052, 0.4363861083984375, 0.020875226706266403, 0.4867503046989441, 0.11782322824001312, 0.0314607247710228, 0.005064764991402626, 0.033108651638031006, -0.046633705496788025, 0.45413684844970703, 0.006860267370939255, 0.24149996042251587, 0.04767851531505585, -0.019253484904766083, 0.09243406355381012, 0.24223840236663818, 0.05257987231016159, -0.06416703015565872, 0.056792229413986206, 0.1419236660003662, -0.22301700711250305, 0.2142563760280609, 0.10681147873401642, 0.21567347645759583, -0.3326486647129059, -0.001550927758216858, 0.3180447220802307, 0.07689405977725983, -0.11789079010486603, 0.09323354065418243, -0.07941968739032745, -0.0744020938873291, 0.17065924406051636, 0.350790411233902, -0.26794490218162537, 0.004609481431543827, -0.1306336224079132, -0.2982390224933624, 0.030321914702653885, 0.3919905424118042, 0.11804400384426117, 0.22283151745796204, 0.06787695735692978, -0.01681416481733322, 0.17637009918689728, -0.5232264995574951, 0.024473484605550766, 0.07117246091365814, 0.18381892144680023, -0.007760029286146164, 0.5881223678588867, 0.02905811183154583, -0.060821421444416046, -0.04748877137899399, 0.415689617395401, 0.14685194194316864, 0.19445586204528809, 0.3260268568992615, 0.14201806485652924, 0.1966259926557541, 0.20135053992271423, 0.13537275791168213, 0.10195574164390564, 0.10214889049530029, 0.18426960706710815, -0.033144138753414154, -0.19900833070278168, -0.16563044488430023, 0.005982020869851112, -0.09204582870006561, -0.22305727005004883, -0.2311968058347702, -0.24857130646705627, -0.125075101852417, 0.012747980654239655, -0.182399183511734, -0.10163602232933044, -0.02195027470588684, 0.5655050277709961, -0.11781689524650574, 0.0810680165886879, -0.1963254064321518, 0.1950230598449707, -0.09374596923589706, 0.40872037410736084, -0.14814181625843048, 0.06257857382297516, -0.508368968963623, -0.29537105560302734, 0.23760820925235748, 0.4962252676486969, 0.10232281684875488, 0.14917568862438202, 0.3458813428878784, -0.17866477370262146, -0.3371974527835846, -0.11576731503009796, -0.27544060349464417, 0.028255030512809753, 0.4361404776573181, 0.03149912506341934, 0.14456048607826233, 0.09853837639093399, -0.09075933694839478, 0.34270039200782776, -0.15210725367069244, -0.2905224859714508, -0.311514288187027, 0.5845742225646973, 0.39948195219039917, -0.2805593013763428, 0.09803896397352219, 0.21765577793121338, -0.22455987334251404, 0.07907183468341827, 0.38512539863586426, 0.1906566321849823, 0.16898363828659058, -0.18701885640621185, 0.09863989800214767, 0.18824194371700287, 0.2990333139896393, 0.158813014626503, -0.2798895537853241, -0.07882265001535416, 0.3338278532028198, -0.2438042312860489, -0.01638161391019821, -0.03651133552193642, -0.15184447169303894, 0.30009815096855164, -0.04596356675028801, 0.09963394701480865, 0.28672391176223755, -0.31564104557037354, 0.2772233188152313, 0.053930819034576416, 0.08121030777692795, -0.4935925602912903, 0.012640304863452911, 0.38747233152389526, 0.32173076272010803, 0.4535641074180603, -0.027651172131299973, -0.14321370422840118, 0.4739626944065094, 0.03811418265104294, -0.27288031578063965, 0.011274799704551697, 0.2831690013408661, 0.054259080439805984, 0.36875486373901367, 0.21989238262176514, 0.14463569223880768, -0.03248018026351929, -0.11198277026414871, 0.09861822426319122, -0.32941734790802, -0.6515796780586243, 0.2024616003036499, -0.0971815288066864, -0.012042224407196045, -0.2735374867916107, -0.08704246580600739, -0.05884068086743355, -0.17739158868789673, -0.08316179364919662, -0.12894968688488007, -0.37483200430870056, 0.01219913363456726, -0.0917079746723175, 0.06195925176143646, -0.10747816413640976, 0.4444800615310669, 0.08940662443637848, -0.18780504167079926, -0.17399322986602783, -0.5726983547210693, 0.2194311022758484, 0.08330784738063812, -0.2041110247373581, -0.05661719664931297, 0.16835805773735046, 0.4539019763469696, 0.1252465397119522, -0.8284233212471008, -0.23090910911560059, 0.409034788608551, -0.12780973315238953, -0.21379153430461884, 0.2096499502658844, -0.10416518151760101, -0.21624402701854706, -0.13654053211212158, 0.20621910691261292, -0.23946690559387207, -0.07361463457345963, -0.24350716173648834, -0.28373295068740845 ]
https://github.com/huggingface/datasets/pull/2389
Insert task templates for text classification
Let's ignore the CI fails since they are unrelated to your changes. They're about dataset cards issues
This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR
17
text: Insert task templates for text classification This PR inserts text-classification templates for datasets with the following properties: * Only one config * At most two features of `(Value, ClassLabel)` type Note that this misses datasets like `sentiment140` which only has `Value` type features - these will be handled in a separate PR Let's ignore the CI fails since they are unrelated to your changes. They're about dataset cards issues
[ -0.25224289298057556, -0.4654754102230072, -0.06983446329832077, -0.09231476485729218, 0.1654437929391861, -0.13504734635353088, 0.1432528793811798, 0.061132676899433136, -0.051081907004117966, 0.16647610068321228, 0.07480917125940323, 0.45028311014175415, -0.08632435649633408, 0.42031586170196533, 0.025536583736538887, -0.28920111060142517, 0.13969480991363525, 0.1791517287492752, 0.17395436763763428, 0.11734569072723389, -0.16254450380802155, 0.10639108717441559, -0.05268823355436325, 0.06162472814321518, -0.31135761737823486, -0.3354852497577667, -0.15417322516441345, 0.20702049136161804, -0.21242773532867432, -0.3581708073616028, 0.2730053663253784, 0.3109108805656433, 0.1481296420097351, 0.07893913984298706, -0.00010271291102981195, -0.1324802190065384, 0.12361951172351837, -0.06477659195661545, 0.05103738233447075, -0.10314670205116272, -0.138384148478508, -0.36915093660354614, -0.08447980880737305, -0.026242218911647797, -0.136415034532547, 0.045758068561553955, -0.04074235260486603, 0.5339792966842651, 0.332174688577652, 0.4445359706878662, 0.24667386710643768, 0.07947798818349838, -0.03287666290998459, -0.33490729331970215, 0.18653056025505066, 0.343486487865448, -0.31593823432922363, -0.03974445164203644, 0.5390791893005371, 0.10695552080869675, 0.1764647364616394, 0.3986417055130005, -0.008622221648693085, 0.010342968627810478, 0.42951810359954834, -0.014235743321478367, 0.1932319700717926, -0.41936683654785156, -0.18408843874931335, 0.017954856157302856, 0.39619240164756775, -0.044482164084911346, -0.12644097208976746, -0.1532287746667862, 0.12096754461526871, -0.407623291015625, 0.21818172931671143, -0.13639184832572937, -0.13137710094451904, 0.1057569831609726, -0.017225269228219986, -0.17626044154167175, -0.07887382805347443, -0.304779589176178, 0.16900931298732758, 0.00040994584560394287, 0.013186739757657051, -0.25461870431900024, 0.02497786283493042, 0.12364957481622696, 0.24137528240680695, 0.057643212378025055, -0.16841895878314972, -0.011479915119707584, 0.06205277144908905, -0.35048630833625793, -0.08087418228387833, 0.06997250020503998, -0.13577568531036377, 0.2156277298927307, -0.04383324831724167, 0.1053759902715683, 0.011611963622272015, 0.3262692987918854, -0.12415440380573273, 0.1901320368051529, 0.28768500685691833, 0.3264514207839966, -0.010102413594722748, 0.0568966306746006, -0.00022357702255249023, 0.03166251257061958, -0.12444273382425308, -0.15196751058101654, 0.06005340442061424, 0.1218387708067894, 0.053714074194431305, -0.14227432012557983, -0.32164254784584045, 0.15023991465568542, 0.28600868582725525, 0.0409449003636837, -0.13795782625675201, 0.32270264625549316, 0.024567745625972748, 0.2045774757862091, 0.24129171669483185, 0.047261495143175125, -0.18119829893112183, 0.010486583225429058, -0.06335832178592682, 0.15133212506771088, -0.33192476630210876, 0.06806658953428268, 0.24267609417438507, -0.03435538336634636, 0.21495813131332397, 0.20889785885810852, 0.09955631196498871, -0.2589183747768402, 0.11642974615097046, 0.05454735830426216, 0.1452132761478424, 0.200711190700531, -0.23453691601753235, -0.12955188751220703, -0.0008269771933555603, -0.22478726506233215, -0.08897752314805984, 0.1883527636528015, -0.115707166492939, -0.26976338028907776, 0.1066981703042984, 0.3184363842010498, 0.11117517948150635, -0.18727798759937286, -0.07671832293272018, 0.5624970197677612, -0.01647912710905075, 0.1287420243024826, 0.13490863144397736, -0.1745658814907074, 0.021195273846387863, 0.12261456996202469, -0.19074639678001404, 0.3143399953842163, -0.13117103278636932, -0.2670815885066986, 0.30541130900382996, -0.26707136631011963, 0.17749768495559692, 0.11836227774620056, -0.021027104929089546, 0.1802213490009308, 0.0170407947152853, -0.03294748067855835, 0.4114071726799011, -0.2230834811925888, 0.1639433652162552, 0.163029283285141, -0.02230093628168106, -0.1992754489183426, 0.22415289282798767, 0.02906990982592106, 0.2239709347486496, -0.1930016130208969, 0.2170480340719223, -0.19336141645908356, -0.22747361660003662, 0.03277435898780823, -0.352162629365921, 0.12498156726360321, -0.17456792294979095, 0.04460960999131203, 0.37539437413215637, 0.04977332428097725, -0.16603249311447144, 0.15662576258182526, -0.09312853962182999, -0.13164569437503815, 0.10928229987621307, 0.17509126663208008, 0.34545931220054626, 0.0979599803686142, -0.01079778652638197, -0.32781994342803955, -0.059720106422901154, -0.11163964122533798, -0.04510779306292534, 0.26807501912117004, 0.5483203530311584, -0.17575737833976746, -0.37491270899772644, -0.15733136236667633, -0.09653040766716003, -0.48832330107688904, 0.14823031425476074, 0.08987566083669662, -0.12820272147655487, -0.4961887300014496, -0.19344712793827057, 0.2333596795797348, -0.3764451742172241, 0.25705596804618835, 0.3458069860935211, -0.1433306336402893, -0.24751214683055878, -0.12024092674255371, -0.058651916682720184, 0.20882439613342285, 0.02611134946346283, -0.12174507230520248, 0.0897587239742279, 0.2338975965976715, -0.10824166238307953, 0.007279045879840851, 0.019866228103637695, -0.08485038578510284, 0.15439119935035706, -0.26507678627967834, -0.06363800913095474, -0.2141217291355133, -0.01129777543246746, -0.08168420195579529, -0.2817373275756836, 0.2806912064552307, 0.07760151475667953, -0.04292721301317215, -0.07313238829374313, -0.2605757713317871, 0.08820375055074692, -0.09185802936553955, -0.38646388053894043, -0.038335103541612625, 0.04599541053175926, 0.09886279702186584, -0.01641627959907055, 0.10207109153270721, -0.6291934847831726, 0.11725961416959763, 0.20673666894435883, 0.08935646712779999, 0.0857451856136322, 0.1759665608406067, 0.055596932768821716, 0.024195406585931778, -0.10644328594207764, -0.009229648858308792, 0.3836107850074768, 0.31329286098480225, -0.08409783244132996, 0.19178417325019836, -0.32123395800590515, -0.2643841505050659, 0.36383163928985596, 0.12251803278923035, -0.27761125564575195, 0.06488929688930511, 0.12018351256847382, 0.21576574444770813, -0.2575283944606781, -0.12627995014190674, 0.060029059648513794, 0.009063387289643288, -0.2614017724990845, -0.11946127563714981, 0.13981090486049652, -0.38984671235084534, -0.36433646082878113, 0.3307254910469055, 0.20242469012737274, -0.08382859826087952, 0.46939682960510254, -0.3186364769935608, -0.11693038046360016, 0.2447626143693924, 0.27529099583625793, 0.49227023124694824, -0.38994288444519043, 0.10858091711997986, -0.1668025404214859, -0.07519375532865524, -0.19251465797424316, 0.2280016541481018, -0.14060136675834656, 0.0011116969399154186, 0.40046781301498413, -0.2595437467098236, 0.07552043348550797, -0.0781165361404419, -0.46044743061065674, 0.129521906375885, -0.301025927066803, 0.11288134008646011, 0.019892670214176178, 0.15316782891750336, -0.0294802226126194, -0.12154822051525116, 0.15231503546237946, -0.08778365701436996, -0.20396071672439575, -0.2641441822052002, -0.11577574908733368, -0.06230853125452995, -0.37959393858909607, -0.8209043741226196, -0.06370961666107178, -0.3894152045249939, 0.015314042568206787, 0.2058168649673462, -0.04591475427150726, 0.4203983545303345, 0.12183849513530731, -0.07946083694696426, -0.05001123994588852, 0.13705961406230927, -0.11226783692836761, -0.1305733323097229, 0.0707859992980957, -0.1681213229894638, -0.25897830724716187, 0.06644155085086823, -0.016241757199168205, -0.06613872945308685, 0.12296678125858307, 0.07825103402137756, -0.18571096658706665, -0.08176084607839584, 0.13714033365249634, 0.05388188362121582, 0.09838877618312836, 0.47915977239608765, 0.22483520209789276, -0.3637697398662567, 0.00864000990986824, -0.3071044087409973, -0.15789419412612915, -0.07059480249881744, 0.34058818221092224, -0.2659901976585388, 0.13541173934936523, -0.18881787359714508, 0.3775864839553833, 0.1004909873008728, -0.16110128164291382, 0.2507432699203491, 0.05589132755994797, 0.3287738263607025, -0.18392413854599, -0.13565129041671753, 0.38348329067230225, -0.06566907465457916, 0.03022020310163498, 0.18626254796981812, 0.01995782181620598, -0.20662441849708557, -0.08877875655889511, -0.0552825853228569, -0.09805699437856674, 0.09557661414146423, 0.32252150774002075, -0.1255616843700409, 0.4417775273323059, -0.04744143784046173, -0.08829507231712341, -0.24920839071273804, 0.09424155205488205, -0.07420201599597931, 0.5437380075454712, -0.13670086860656738, -0.002529054880142212, -0.3167899250984192, 0.09362125396728516, -0.2536919116973877, 0.16160346567630768, 0.009001498110592365, -0.16145199537277222, -0.3242015242576599, -0.11457853019237518, -0.030655845999717712, 0.2015402764081955, 0.017318055033683777, -0.41101324558258057, -0.3710141181945801, 0.02700686827301979, 0.15448234975337982, 0.04255061596632004, -0.287310391664505, -0.459261953830719, 0.04047413915395737, 0.5098158121109009, 0.6237537264823914, -0.020359918475151062, -0.08341844379901886, 0.17731885612010956, -0.23062820732593536, 0.048742715269327164, 0.010461435653269291, 0.06729055941104889, -0.21871092915534973, -0.28110384941101074, 0.6410036683082581, 0.47690263390541077, -0.038468122482299805, -0.19509154558181763, -0.05876827985048294, 0.03440365195274353, 0.1413472294807434, 0.26939183473587036, 0.08733950555324554, -0.13124683499336243, 0.09056409448385239, -0.10667833685874939, -0.24994918704032898, 0.16495341062545776, 0.022504620254039764, 0.17169678211212158, -0.34370318055152893, -0.17435359954833984, 0.049552932381629944, -0.3527059555053711, 0.353865385055542, 0.3167652189731598, 0.10569874197244644, 0.02590378373861313, -0.14223818480968475, 0.10059268772602081, -0.2870178818702698, 0.3229348361492157, 0.07099907100200653, 0.15919196605682373, -0.5041342973709106, -0.36246734857559204, 0.09125256538391113, 0.20475049316883087, -0.3522547483444214, -0.0737399160861969, -0.19054381549358368, -0.4310685098171234, 0.17925024032592773, 0.2654067277908325, 0.9569575190544128, 0.008745837956666946, 0.03542696684598923, -0.015472810715436935, -0.08281858265399933, 0.46000590920448303, -0.19077934324741364, 0.013347350060939789, -0.07656151801347733, -0.17489641904830933, 0.07641848921775818, -0.02431405521929264, 0.37727588415145874, 0.2585381269454956, -0.5051555037498474, 0.1839003711938858, 0.2764500379562378, 0.09140980243682861, 0.06623926013708115, 0.038574688136577606, -0.11846650391817093, -0.3055451810359955, -0.1687110811471939, 0.18614262342453003, -0.10638277232646942, 0.12104742228984833, -0.16647499799728394, 0.034538328647613525, -0.03220789134502411, -0.24814897775650024, -0.43397581577301025, -0.21597468852996826, -0.1253454089164734, -0.4661598801612854, 0.3201551139354706, -0.1255386769771576, 0.3534003794193268, -0.0511137880384922, 0.6962278485298157, 0.0751965343952179, -0.12938085198402405, 0.19709524512290955, 0.08271003514528275, 0.08444960415363312, -0.0681966170668602, -0.16522516310214996, 0.39918041229248047, -0.1540049910545349, 0.013762511312961578, -0.040827423334121704, -0.2596234977245331, 0.19561918079853058, -0.3641621470451355, -0.01096419245004654, 0.0019787438213825226, -0.3172018527984619, 0.09541355073451996, 0.0190243199467659, -0.016711313277482986, -0.3847503960132599, 0.22393843531608582, -0.18624861538410187, 0.053146589547395706, 0.2564544677734375, 0.1337222456932068, 0.018737055361270905, -0.10614995658397675, -0.26711520552635193, 0.05127185583114624, -0.14726829528808594, 0.2443999946117401, 0.04067523404955864, -0.1731547713279724, -0.47188499569892883, -0.0047902874648571014, 0.2520800232887268, -0.13631947338581085, 0.16530491411685944, -0.011283024214208126, -0.6736481189727783, 0.33819571137428284, 0.8597851395606995, 0.311545193195343, 0.1712811440229416, -0.027437575161457062, -0.0719979926943779, -0.417795866727829, -0.014069780707359314, -0.026586215943098068, 0.39952075481414795, 0.04349555820226669, 0.4511452913284302, 0.426277756690979, 0.3701644837856293, -0.4534892141819, -0.2607947885990143, -0.25663694739341736, 0.3571667969226837, 0.1359615921974182, 0.06034129112958908, -0.02154463715851307, 0.005778642371296883, 0.04932039976119995, 0.31765615940093994, 0.020453523844480515, -0.2881087362766266, -0.3068120777606964, 0.08609329909086227, -0.04114466905593872, 0.1643991619348526, 0.05787162110209465, 0.42329198122024536, 0.1269557774066925, -0.0273950956761837, 0.08460214734077454, -0.2170124351978302, -0.1437743455171585, 0.3851301372051239, -0.09247064590454102, 0.1985728144645691, 0.2928465008735657, -0.23946553468704224, -0.06248031556606293, 0.24264590442180634, 0.04268987849354744, -0.08625680208206177, 0.04777376353740692, -0.07709240913391113, -0.11738847196102142, 0.3065493106842041, 0.31740832328796387, 0.3103151321411133, -0.21982383728027344, 0.03597345948219299, 0.0819324254989624, 0.017021631821990013, -0.02859025076031685, 0.05244581773877144, 0.033043209463357925, -0.04570038616657257, 0.09438679367303848, 0.37358558177948, -0.2267707735300064, 0.05353880673646927, -0.06577254831790924, -0.23679862916469574, 0.08366912603378296, 0.27850767970085144, 0.28491976857185364, 0.005187071859836578, -0.03370864689350128, 0.17804354429244995, 0.234578475356102, -0.5813360810279846, 0.007180956192314625, -0.061421576887369156, 0.11928384006023407, -0.026286307722330093, 0.41581499576568604, -0.12726189196109772, -0.055246151983737946, 0.053124453872442245, 0.42436328530311584, 0.3301456570625305, 0.26418599486351013, 0.4085048735141754, 0.25226345658302307, -0.08344167470932007, 0.34143489599227905, -0.059280022978782654, -0.009234175086021423, 0.1517241895198822, 0.2021569311618805, 0.06199919432401657, -0.1312069594860077, -0.22474241256713867, -0.024596499279141426, 0.07082308083772659, -0.21609088778495789, -0.2705107629299164, -0.4276886582374573, -0.2764812707901001, 0.006754495203495026, -0.15747375786304474, -0.05060901865363121, 0.12211909890174866, 0.5043171048164368, -0.10387277603149414, -0.002565033733844757, -0.194951131939888, 0.1544206440448761, -0.12240303307771683, 0.2741193175315857, -0.14930424094200134, 0.32654640078544617, -0.19812537729740143, -0.3260837197303772, 0.32915398478507996, 0.4169163703918457, 0.3645543158054352, 0.10924374312162399, 0.20431219041347504, 0.036513395607471466, -0.3260239362716675, -0.22450074553489685, -0.2148124724626541, 0.15280164778232574, 0.3837190568447113, 0.0854634940624237, -0.060457874089479446, 0.2285706251859665, -0.2135164737701416, 0.17219021916389465, -0.2080206423997879, -0.3140067160129547, -0.2556854486465454, 0.4861680269241333, 0.424466997385025, -0.3534291386604309, -0.03395063430070877, 0.14955030381679535, -0.16863511502742767, 0.07848670333623886, 0.35398852825164795, 0.1541450172662735, 0.08566576987504959, -0.11825114488601685, 0.1461620032787323, 0.1993982344865799, 0.4006218910217285, 0.16247552633285522, -0.19671252369880676, -0.08327324688434601, 0.007070139050483704, -0.12104673683643341, 0.017199121415615082, 0.13260997831821442, 0.005597515031695366, 0.17536583542823792, 0.015657419338822365, -0.03451582044363022, 0.034402575343847275, -0.21645577251911163, 0.10074767470359802, 0.2812027931213379, 0.057946786284446716, -0.5106484889984131, 0.16449378430843353, 0.3504551649093628, 0.2314075529575348, 0.42483270168304443, 0.0012239627540111542, -0.10855044424533844, 0.4265679717063904, 0.15381023287773132, -0.2821187376976013, -0.07891246676445007, 0.33200138807296753, -0.07477866113185883, 0.3719199001789093, 0.23163609206676483, 0.20208825170993805, -0.11646858602762222, -0.031777217984199524, -0.0619693361222744, -0.12561319768428802, -0.3925478458404541, 0.21445360779762268, 0.14725977182388306, 0.2591596245765686, -0.15921740233898163, -0.03129364922642708, -0.03502822294831276, -0.12065515667200089, 0.04730415344238281, -0.22475700080394745, -0.19615162909030914, -0.011145241558551788, 0.008588634431362152, -0.026529761031270027, 0.02344173565506935, 0.5137035250663757, 0.06702452152967453, -0.21954979002475739, -0.3523675799369812, -0.6313914060592651, 0.2589608430862427, 0.057157114148139954, -0.2678018808364868, -0.08235616981983185, 0.18890038132667542, 0.18768759071826935, 0.1840796172618866, -0.8468083143234253, -0.15670962631702423, 0.20865146815776825, -0.19966670870780945, -0.39589712023735046, 0.20293262600898743, 0.013221345841884613, -0.10412954539060593, -0.101250559091568, 0.2604023516178131, -0.15330764651298523, 0.1161264032125473, -0.2859266698360443, -0.3343925476074219 ]
https://github.com/huggingface/datasets/pull/2384
Add args description to DatasetInfo
Thanks for the suggestions! I've included them and made a few minor tweaks along the way
Closes #2354 I am not sure what `post_processed` and `post_processing_size` correspond to, so have left them empty for now. I also took a guess at some of the other fields like `dataset_size` vs `size_in_bytes`, so might have misunderstood their meaning.
16
text: Add args description to DatasetInfo Closes #2354 I am not sure what `post_processed` and `post_processing_size` correspond to, so have left them empty for now. I also took a guess at some of the other fields like `dataset_size` vs `size_in_bytes`, so might have misunderstood their meaning. Thanks for the suggestions! I've included them and made a few minor tweaks along the way
[ -0.2731040120124817, 0.10727263987064362, -0.2962111234664917, 0.006731651723384857, 0.050365135073661804, -0.18130028247833252, 0.016996700316667557, 0.12982606887817383, -0.28620532155036926, 0.010319657623767853, 0.3146213889122009, 0.1333470195531845, 0.28699782490730286, 0.3710065186023712, -0.11576610803604126, 0.08699284493923187, 0.08992856740951538, 0.25468260049819946, -0.26495280861854553, 0.02721075713634491, -0.3946886360645294, 0.1711682230234146, -0.01089688390493393, -0.10885109007358551, -0.03402622044086456, -0.22484970092773438, 0.00025106780230998993, 0.3517560362815857, -0.4102191925048828, -0.5365042686462402, -0.2073812037706375, 0.30361780524253845, -0.2214704006910324, 0.10838670283555984, -0.00010443091741763055, -0.17234012484550476, 0.14369922876358032, -0.005423445254564285, -0.21677163243293762, 0.47658151388168335, -0.34889644384384155, -0.36432719230651855, 0.0691121444106102, -0.29758697748184204, 0.34405526518821716, -0.13724496960639954, -0.07720337063074112, -0.3761606812477112, 0.2552475333213806, 0.3076425790786743, 0.3043874502182007, -0.1787741780281067, 0.3351791203022003, -0.21796555817127228, -0.032307110726833344, 0.30924755334854126, -0.2540191411972046, -0.044221632182598114, 0.3123168349266052, 0.06724436581134796, 0.00974436104297638, 0.3177916407585144, 0.0005726572126150131, -0.026263661682605743, 0.17372798919677734, -0.1628560721874237, 0.2817983627319336, -0.17707709968090057, 0.31800562143325806, -0.0979905053973198, 0.5266396403312683, -0.34667226672172546, -0.2973814904689789, -0.2156488001346588, -0.1996103674173355, -0.4318656921386719, -0.049245089292526245, 0.029353782534599304, 0.03705238178372383, 0.1051236242055893, -0.21971070766448975, -0.13527551293373108, -0.40932735800743103, -0.26479971408843994, 0.0583815798163414, 0.12730911374092102, 0.017027031630277634, -0.041020870208740234, -0.05260150507092476, -0.2589977979660034, -0.011071073822677135, 0.14001449942588806, -0.1189345270395279, -0.014855838380753994, -0.024265814572572708, -0.10035471618175507, 0.19802960753440857, 0.1317497044801712, 0.348569393157959, -0.04005570709705353, -0.2932589054107666, 0.06410889327526093, -0.014086386188864708, 0.07585179805755615, 0.0182016771286726, 0.102017343044281, 0.25265616178512573, -0.21898384392261505, -0.07343843579292297, -0.34516918659210205, -0.2045954167842865, 0.008077152073383331, 0.012958348728716373, -0.2902970016002655, 0.21435768902301788, 0.014215439558029175, 0.30017322301864624, -0.23017153143882751, -0.1118583232164383, 0.40495556592941284, 0.12137342244386673, -0.08134768158197403, -0.3341612219810486, 0.41595253348350525, -0.0737275555729866, 0.019560176879167557, 0.21533869206905365, -0.06177683174610138, -0.05528225004673004, -0.2474043071269989, -0.17740532755851746, -0.11710260808467865, -0.29722145199775696, 0.05702824890613556, 0.02561626210808754, 0.2905331552028656, 0.2426263689994812, 0.14448244869709015, 0.004078082740306854, -0.1264745444059372, 0.34820008277893066, -0.048960380256175995, 0.2424081563949585, 0.35568174719810486, 0.025323260575532913, 0.09199578315019608, 0.04619559645652771, 0.05087492614984512, -0.06989934295415878, 0.43195074796676636, -0.06914103776216507, -0.08975639939308167, -0.42827707529067993, 0.3680988550186157, -0.25370538234710693, -0.36956286430358887, 0.32463616132736206, 0.04627399146556854, 0.0623791441321373, 0.02739441767334938, 0.170242577791214, 0.03250066190958023, -0.279191792011261, -0.21912088990211487, 0.015907274559140205, 0.40017110109329224, -0.4058055877685547, 0.24314677715301514, -0.3564303517341614, -0.2697250247001648, 0.315374493598938, 0.09867285192012787, 0.14351259171962738, 0.43299275636672974, 0.054697588086128235, 0.22728191316127777, 0.2322922945022583, -0.13858558237552643, 0.0007070181891322136, 0.469637930393219, -0.10662058740854263, -0.10637865960597992, 0.24504125118255615, -0.19858014583587646, 0.057860367000103, 0.05145369842648506, 0.04498530924320221, -0.24865908920764923, -0.1426868438720703, 0.11331263929605484, -0.27446091175079346, -0.0329732820391655, 0.33065783977508545, 0.0025476906448602676, 0.29203829169273376, -0.08050120621919632, -0.05778897553682327, -0.24622035026550293, 0.2827744483947754, 0.12141351401805878, 0.0035860894713550806, 0.1738443523645401, 0.4570542275905609, -0.012262128293514252, -0.01050136610865593, -0.03859840705990791, -0.07401882857084274, -0.028759289532899857, 0.02924283966422081, 0.17365671694278717, 0.08045616745948792, -0.28229886293411255, -0.5878710150718689, 0.2433212250471115, 0.14307060837745667, -0.18739262223243713, 0.28685736656188965, -0.029855214059352875, -0.26778388023376465, -0.06803140044212341, -0.05460260808467865, 0.27584806084632874, -0.3881182372570038, -0.08259066194295883, 0.18991254270076752, -0.37286320328712463, -0.02833319641649723, -0.12415505945682526, -0.023617589846253395, 0.06935863196849823, 0.1321893185377121, 0.16962535679340363, -0.06384122371673584, 0.5057463049888611, 0.30819231271743774, 0.13797587156295776, 0.2769833207130432, 0.3420286774635315, -0.09607401490211487, 0.1984407901763916, 0.03376350551843643, -0.269528865814209, 0.03142474591732025, 0.13757169246673584, -0.28760865330696106, 0.024861082434654236, 0.04096020758152008, -0.07239348441362381, 0.27524787187576294, -0.34805163741111755, 0.13858121633529663, -0.34861451387405396, -0.0369313545525074, -0.2128422111272812, -0.18543486297130585, 0.015964781865477562, -0.2147470861673355, 0.31970345973968506, -0.3973477780818939, 0.26943469047546387, 0.34836381673812866, 0.08230768144130707, 0.03731321915984154, 0.23449677228927612, -0.007377490401268005, -0.06696311384439468, 0.295337438583374, 0.14863315224647522, 0.4449654221534729, 0.4157572388648987, 0.09900663793087006, 0.21361024677753448, -0.0038415398448705673, -0.05624759569764137, 0.40169012546539307, 0.16535726189613342, 0.0408935472369194, 0.27430233359336853, -0.0752459242939949, -0.027222059667110443, -0.2240152657032013, -0.0064854696393013, -0.07383102923631668, 0.1843152940273285, -0.30945301055908203, -0.1914035975933075, -0.22121191024780273, -0.3207705020904541, -0.09159877151250839, -0.05306848883628845, 0.07580798864364624, -0.14775115251541138, 0.17120026051998138, -0.03408406302332878, -0.360895574092865, 0.12605154514312744, -0.5518763065338135, 0.3762657046318054, 0.1710766851902008, 0.2617552876472473, -0.01807122677564621, -0.04431720823049545, 0.004530016332864761, 0.2562122941017151, 0.0809263363480568, 0.09972123801708221, 0.5147300362586975, -0.16222530603408813, 0.22946976125240326, -0.2508457601070404, -0.363553911447525, 0.013400845229625702, 0.015880780294537544, 0.16497287154197693, 0.013340219855308533, 0.4609687924385071, -0.14448396861553192, -0.33258575201034546, 0.1331263929605484, 0.09800603985786438, -0.2720632255077362, -0.4890541732311249, 0.026352940127253532, -0.23342159390449524, -0.44541892409324646, -0.47112134099006653, 0.027503199875354767, -0.514722466468811, 0.32762032747268677, 0.037322353571653366, 0.3422066569328308, 0.45490846037864685, 0.19889092445373535, -0.008820910006761551, -0.017670709639787674, 0.31153053045272827, -0.26676660776138306, -0.22378331422805786, 0.1826162040233612, -0.2645064890384674, -0.044543784111738205, 0.2608194053173065, 0.11024214327335358, 0.20778214931488037, -0.08172234147787094, -0.21481813490390778, -0.025543246418237686, -0.05965021252632141, -0.2147810161113739, -0.13985083997249603, 0.09428445994853973, 0.256261944770813, 0.1856095790863037, -0.29329490661621094, -0.27755624055862427, -0.34521377086639404, 0.26912903785705566, -0.1254357397556305, 0.1608549803495407, -0.3259103298187256, 0.3003246486186981, -0.23351022601127625, 0.08701841533184052, -0.12731024622917175, 0.012657880783081055, -0.12566959857940674, -0.07929272204637527, 0.1769113391637802, -0.01778009533882141, -0.15229342877864838, 0.20550470054149628, 0.03287665545940399, -0.29510921239852905, 0.3254408836364746, -0.12521234154701233, -0.06364557147026062, 0.20195500552654266, 0.14128611981868744, -0.47033289074897766, -0.13001391291618347, 0.33524566888809204, 0.17123401165008545, 0.35963892936706543, -0.1945408582687378, -0.2642424702644348, -0.36194613575935364, 0.38362208008766174, -0.16112716495990753, 0.14944881200790405, 0.11258646100759506, -0.14710988104343414, -0.08218050003051758, -0.1466171145439148, -0.10648814588785172, 0.1049131453037262, 0.04478750377893448, 0.10491162538528442, -0.3493345081806183, -0.3206177055835724, -0.052597805857658386, 0.17565415799617767, 0.4079331159591675, -0.13249149918556213, -0.2663528323173523, 0.20547419786453247, -0.0905754417181015, 0.04754936695098877, -0.07392468303442001, -0.003553934395313263, 0.20610211789608002, 0.40738826990127563, 0.2108057290315628, -0.13978275656700134, 0.014760853722691536, 0.2835836410522461, -0.17661301791667938, -0.1427755504846573, -0.2011984884738922, -0.08138736337423325, -0.13163967430591583, -0.3398873805999756, 0.15501080453395844, 0.32318371534347534, -0.08923226594924927, -0.08470957726240158, -0.09425792098045349, 0.12493458390235901, -0.05198119580745697, 0.26005351543426514, 0.2858388125896454, 0.2851122319698334, 0.0775083675980568, -0.035049572587013245, -0.23804953694343567, 0.15344372391700745, 0.1868772953748703, 0.25723642110824585, -0.08972717821598053, 0.2276052087545395, 0.15091654658317566, -0.35500431060791016, 0.4564240574836731, 0.2804344892501831, 0.01523985993117094, 0.2873292863368988, 0.14378806948661804, 0.1936555802822113, -0.38516899943351746, 0.2792619466781616, 0.2224842607975006, -0.1581375151872635, -0.10575101524591446, -0.334144651889801, 0.3238197863101959, -0.24373918771743774, -0.31152504682540894, 0.4285961985588074, 0.20339225232601166, -0.09476348012685776, 0.03916690871119499, 0.04159489646553993, 1.0258152484893799, 0.22214317321777344, -0.24774089455604553, -0.060919731855392456, -0.30577653646469116, -0.09122791886329651, -0.06106872111558914, -0.2042837291955948, -0.07236552238464355, -0.07181622833013535, 0.0850452184677124, -0.1066584512591362, 0.2072114646434784, 0.09910810738801956, -0.44635891914367676, -0.3782300055027008, 0.13992036879062653, -0.043221864849328995, 0.10278956592082977, 0.3022870123386383, -0.07421990483999252, -0.03236451745033264, -0.19787076115608215, 0.22746542096138, -0.05697520822286606, -0.31880828738212585, -0.26781174540519714, -0.23518823087215424, 0.027150671929121017, 0.14939720928668976, -0.21191824972629547, -0.15370312333106995, -0.2407158762216568, -0.11101186275482178, -0.05942663922905922, 0.20563270151615143, -0.011620045639574528, -0.21382948756217957, 0.18772178888320923, 0.23273934423923492, -0.12098202109336853, 0.21512167155742645, -0.12758663296699524, 0.13022330403327942, 0.0382675863802433, -0.005933373235166073, 0.23559720814228058, -0.271058589220047, -0.1672130525112152, -0.09807763248682022, -0.1605243980884552, -0.0392267107963562, 0.058681175112724304, -0.23752103745937347, -0.04479977488517761, -0.5601487755775452, -0.3207828998565674, 0.08962193876504898, -0.10088114440441132, -0.05390111356973648, 0.24609871208667755, 0.1835331916809082, 0.1149212196469307, 0.3804210424423218, -0.04524325206875801, -0.2281161993741989, -0.11977937817573547, 0.04748502001166344, 0.07135839760303497, 0.03243580460548401, 0.2924012839794159, 0.016784068197011948, -0.18341490626335144, -0.3482096195220947, -0.07092814147472382, -0.23921585083007812, 0.027067311108112335, 0.13928067684173584, 0.06727344542741776, -0.19414539635181427, 0.030904822051525116, 0.13483977317810059, 0.18620342016220093, 0.1989206075668335, -0.17417004704475403, -0.14971092343330383, -0.4900220036506653, 0.05971570312976837, -0.20846934616565704, 0.3472052812576294, -0.16455313563346863, 0.21839436888694763, 0.20206916332244873, 0.09721438586711884, -0.482699453830719, -0.24532420933246613, -0.13766837120056152, 0.012381242588162422, 0.045513931661844254, 0.04397915303707123, -0.10520941019058228, -0.2834257483482361, 0.1522628366947174, 0.0738954246044159, -0.2562705874443054, -0.27452048659324646, -0.09566667675971985, 0.12075326591730118, -0.09768706560134888, -0.004011271521449089, 0.30780142545700073, -0.037897687405347824, -0.013276327401399612, 0.18152369558811188, 0.1427181512117386, -0.06634005159139633, -0.14635738730430603, 0.15423528850078583, -0.1213124692440033, 0.05466901510953903, 0.04767958074808121, -0.33909374475479126, 0.22767820954322815, 0.2907167673110962, 0.08292189240455627, 0.04253296181559563, -0.19801318645477295, -0.1297936886548996, 0.5387092232704163, 0.14391955733299255, 0.024567991495132446, -0.09771033376455307, 0.44119793176651, 0.12981000542640686, -0.15342716872692108, 0.3516407012939453, 0.16009487211704254, 0.17956757545471191, -0.25573888421058655, 0.0672207921743393, -0.1588309109210968, 0.40506789088249207, -0.22645770013332367, 0.3218866288661957, 0.13843639194965363, -0.17899464070796967, 0.06649032235145569, 0.12334414571523666, 0.15681588649749756, -0.1276358664035797, 0.3237842917442322, 0.3649066984653473, 0.41683992743492126, -0.2344580441713333, 0.028401361778378487, 0.14083458483219147, -0.25175419449806213, 0.08687575906515121, 0.30403149127960205, 0.2901481091976166, 0.3932674825191498, 0.45665234327316284, 0.482727587223053, 0.31438037753105164, 0.2609790861606598, 0.22779588401317596, -0.015816524624824524, 0.01455691084265709, 0.13278743624687195, 0.3244484066963196, -0.15841498970985413, 0.14249548316001892, 0.3610488772392273, 0.029381077736616135, 0.15547575056552887, -0.1117476373910904, -0.14231829345226288, 0.08663666993379593, -0.2273414134979248, -0.02083006128668785, -0.378162145614624, -0.1999543011188507, -0.2711716890335083, -0.25470227003097534, -0.0860256552696228, -0.04369238764047623, 0.33102208375930786, -0.22953157126903534, 0.057779744267463684, 0.017039524391293526, -0.17959460616111755, -0.053774088621139526, 0.2725743353366852, -0.39712342619895935, 0.09810271859169006, 0.44861525297164917, -0.2610202133655548, 0.17903731763362885, 0.4914919435977936, 0.6490243077278137, 0.35911035537719727, 0.08317834138870239, 0.04187668859958649, 0.11891679465770721, -0.10619009286165237, -0.18884296715259552, 0.23248326778411865, 0.16280388832092285, 0.30138397216796875, 0.0220816507935524, 0.3103022277355194, -0.26393964886665344, 0.1509428173303604, -0.09401591122150421, -0.18894778192043304, 0.0026678908616304398, -0.04676360636949539, 0.42060622572898865, -0.34289786219596863, -0.06456731259822845, -0.0013684406876564026, -0.38539183139801025, -0.17851857841014862, 0.5076287984848022, 0.01824970357120037, 0.1644030511379242, -0.1904139369726181, 0.15415148437023163, 0.08570820093154907, 0.3450154960155487, 0.16728998720645905, 0.10956650972366333, -0.24229732155799866, -0.4217296242713928, -0.41955825686454773, 0.027889370918273926, -0.0418577678501606, -0.23877836763858795, 0.2795815169811249, 0.11400967836380005, 0.2874680161476135, 0.07678167521953583, 0.1651233583688736, -0.42329853773117065, -0.12124108523130417, -0.08409017324447632, -0.44649654626846313, 0.12002769112586975, 0.061637137085199356, 0.057048484683036804, 0.05463476479053497, 0.15635260939598083, 0.22572261095046997, -0.05447472259402275, 0.2812243103981018, -0.03970009461045265, -0.2654115557670593, 0.37775081396102905, 0.11732430756092072, 0.23793239891529083, 0.050147488713264465, 0.4252971410751343, -0.29622095823287964, 0.008762912824749947, 0.07427924126386642, -0.05080857500433922, -0.12844093143939972, -0.055478937923908234, 0.3215673863887787, 0.2546277642250061, 0.1317785084247589, -0.026795346289873123, 0.03281771391630173, 0.09144574403762817, -0.2293284386396408, -0.18153895437717438, -0.131084606051445, 0.19447986781597137, 0.14025434851646423, -0.07430955767631531, -0.02104269713163376, -0.05761343985795975, -0.012064725160598755, 0.0030568018555641174, -0.3446730375289917, -0.4513604938983917, 0.3902427852153778, 0.10793691128492355, -0.4316754639148712, -0.08727706968784332, 0.2513696253299713, -0.19961851835250854, 0.3521929383277893, -0.5487191081047058, 0.060724593698978424, 0.2437218576669693, 0.10184790939092636, -0.10385806858539581, 0.3698268532752991, -0.27997833490371704, -0.17662402987480164, 0.07239870727062225, 0.4685555696487427, -0.009475458413362503, 0.05928197503089905, -0.441734254360199, -0.39180511236190796 ]
https://github.com/huggingface/datasets/pull/2384
Add args description to DatasetInfo
Please merge master into this branch to fix the CI, I just fixed metadata validation tests.
Closes #2354 I am not sure what `post_processed` and `post_processing_size` correspond to, so have left them empty for now. I also took a guess at some of the other fields like `dataset_size` vs `size_in_bytes`, so might have misunderstood their meaning.
16
text: Add args description to DatasetInfo Closes #2354 I am not sure what `post_processed` and `post_processing_size` correspond to, so have left them empty for now. I also took a guess at some of the other fields like `dataset_size` vs `size_in_bytes`, so might have misunderstood their meaning. Please merge master into this branch to fix the CI, I just fixed metadata validation tests.
[ -0.3638640344142914, 0.10850733518600464, -0.20692113041877747, 0.004906900227069855, 0.04213450476527214, -0.09235689043998718, 0.032047174870967865, 0.18533828854560852, -0.3237709701061249, 0.1701304167509079, 0.2588384449481964, 0.0936473086476326, 0.08131104707717896, 0.44455066323280334, -0.31055793166160583, 0.21444131433963776, 0.007591970264911652, 0.12960301339626312, -0.3557598888874054, 0.04872317612171173, -0.11691898852586746, 0.19363006949424744, -0.030662264674901962, -0.12446998059749603, -0.19868920743465424, -0.26183465123176575, 0.02878752537071705, 0.2626729905605316, -0.5823684930801392, -0.5259969830513, -0.0591868981719017, 0.22756001353263855, -0.27554312348365784, 0.3919006288051605, -0.00010502030636416748, -0.06604132056236267, 0.3949686884880066, -0.0420672744512558, -0.3057407736778259, 0.24366629123687744, -0.20246225595474243, -0.08759292960166931, 0.0027786646969616413, -0.15787169337272644, 0.10096175223588943, -0.0039625586941838264, -0.18507477641105652, -0.18084590137004852, 0.1856347918510437, 0.4757870137691498, 0.32151544094085693, 0.025566168129444122, 0.1747041940689087, -0.25941216945648193, -0.12895306944847107, 0.38772982358932495, -0.22606772184371948, 0.06188192963600159, 0.24210625886917114, 0.128631129860878, -0.01823081076145172, 0.2974194586277008, 0.049327410757541656, -0.0440390519797802, 0.0694216936826706, -0.25950896739959717, 0.3657253384590149, -0.30081549286842346, 0.36804458498954773, -0.16641467809677124, 0.5189528465270996, -0.09106253832578659, -0.1975746601819992, -0.005199503153562546, -0.17579850554466248, -0.2755628824234009, 0.10700971633195877, 0.0917474776506424, 0.013618728145956993, 0.04422508925199509, -0.3886678218841553, 0.07992766052484512, -0.17484264075756073, -0.32032716274261475, -0.0758565217256546, 0.1692652702331543, -0.01890391856431961, -0.0720653310418129, 0.09419217705726624, -0.13137708604335785, -0.05430523678660393, 0.14998798072338104, -0.322509765625, -0.0228690467774868, -0.09214067459106445, -0.3346838355064392, 0.16960807144641876, 0.20071661472320557, 0.22113481163978577, 0.20392803847789764, -0.28295233845710754, -0.06260396540164948, 0.035523951053619385, 0.056720707565546036, 0.1726951003074646, 0.18296299874782562, 0.14334797859191895, -0.011411763727664948, 0.035996608436107635, -0.2069629579782486, -0.1982981115579605, 0.07747985422611237, 0.09576041251420975, -0.2930339276790619, 0.07832811772823334, 0.060781072825193405, 0.26564133167266846, -0.4110391139984131, -0.15448924899101257, 0.37694308161735535, 0.12594273686408997, 0.00804012268781662, -0.20572005212306976, 0.4034675657749176, -0.09459705650806427, 0.029783256351947784, 0.06591956317424774, -0.0776563435792923, 0.009612021967768669, -0.09683064371347427, -0.16530655324459076, -0.08660522103309631, -0.30284175276756287, -0.08064322173595428, 0.1272880584001541, -0.10350076854228973, 0.3484669327735901, 0.1389865130186081, 0.15547055006027222, -0.25080761313438416, 0.2437889277935028, -0.11989830434322357, 0.2496601641178131, 0.5070313215255737, 0.03588012233376503, 0.02651008404791355, 0.09922978281974792, -0.09973762929439545, 0.0869719460606575, 0.24452745914459229, -0.1645713448524475, -0.21348798274993896, -0.3630477488040924, 0.39301079511642456, -0.18665269017219543, -0.2291671633720398, 0.17059600353240967, -0.10706540942192078, 0.05883386358618736, 0.020656008273363113, -0.027425311505794525, 0.003632284700870514, -0.05839141830801964, -0.16852188110351562, -0.046273522078990936, 0.31473493576049805, -0.12031227350234985, 0.2174558937549591, -0.26558640599250793, -0.14291253685951233, 0.18657049536705017, 0.21311108767986298, 0.10576780140399933, 0.3458986282348633, -0.11796481162309647, 0.03484511375427246, 0.16892361640930176, -0.38428181409835815, -0.07337795197963715, 0.4961138665676117, -0.14027540385723114, -0.20900702476501465, 0.16333377361297607, -0.28175973892211914, 0.28833314776420593, -0.12029511481523514, -0.05589492619037628, -0.24296759068965912, -0.3360156714916229, 0.18794876337051392, -0.3825020492076874, -0.01770741492509842, 0.08816282451152802, -0.05881468206644058, 0.3074628710746765, -0.0377335324883461, 0.06516045331954956, -0.2084088921546936, 0.2683039903640747, 0.023653093725442886, -0.07851559668779373, 0.2384762018918991, 0.4224182367324829, -0.34781599044799805, -0.017908841371536255, 0.03060223162174225, -0.02420198917388916, 0.0003419220447540283, 0.08211126923561096, 0.4001534581184387, 0.11575545370578766, -0.2820242643356323, -0.5988324880599976, 0.1516638547182083, 0.038475681096315384, -0.2398700714111328, 0.31547099351882935, 0.05440879613161087, -0.16641724109649658, -0.13808558881282806, -0.05150863528251648, 0.1802787035703659, -0.3003002405166626, 0.017256207764148712, 0.13871616125106812, -0.21481706202030182, -0.1966252624988556, -0.0012718113139271736, 0.07115434110164642, 0.013916142284870148, 0.12101678550243378, 0.000010239658877253532, -0.23454591631889343, 0.39189067482948303, 0.2605733275413513, 0.11186282336711884, 0.24565041065216064, 0.3965111970901489, 0.023451300337910652, 0.029047098010778427, -0.12930002808570862, -0.08927534520626068, -0.016119007021188736, 0.115279920399189, -0.36049216985702515, 0.09524434059858322, -0.026207413524389267, -0.11955995112657547, 0.25475573539733887, -0.24786850810050964, 0.30788663029670715, -0.3525025546550751, -0.24669161438941956, -0.32099589705467224, -0.05321847274899483, -0.005786845460534096, -0.2228519171476364, 0.3558623790740967, -0.14676988124847412, 0.010957390069961548, 0.3421720266342163, 0.1328202188014984, -0.0540444478392601, 0.06352490186691284, 0.13091909885406494, -0.01650834083557129, 0.23077115416526794, 0.19381462037563324, 0.5428349375724792, 0.20424437522888184, 0.1273587942123413, 0.23111967742443085, 0.032061368227005005, -0.08498223125934601, 0.4029374420642853, 0.0000044852495193481445, 0.12814363837242126, 0.3332843482494354, 0.0561496764421463, 0.041775599122047424, -0.20234546065330505, 0.11714263260364532, 0.15634851157665253, 0.2279542088508606, -0.24293631315231323, -0.1793539673089981, -0.30112990736961365, -0.14982399344444275, -0.06040502339601517, -0.08887751400470734, 0.010133897885680199, -0.2195391207933426, 0.12792930006980896, 0.14853091537952423, -0.3702635169029236, 0.14840929210186005, -0.3810727596282959, 0.3088623881340027, 0.1359207034111023, 0.2529354691505432, -0.06926171481609344, -0.0535617433488369, -0.13347283005714417, 0.21889528632164001, 0.24949319660663605, -0.06922857463359833, 0.49529215693473816, -0.1192292645573616, 0.18911758065223694, -0.34451285004615784, -0.5790671706199646, 0.061446573585271835, -0.014388181269168854, 0.168940007686615, 0.055646318942308426, 0.25886404514312744, 0.05512116104364395, -0.23568394780158997, 0.08811018615961075, -0.024575399234890938, -0.3288837671279907, -0.3180200159549713, -0.009688246995210648, -0.3082622289657593, -0.5347356200218201, -0.38693881034851074, -0.022742675617337227, -0.48451584577560425, 0.021389733999967575, -0.0027971267700195312, 0.20242486894130707, 0.4466400742530823, 0.008024723269045353, -0.24715225398540497, -0.024081358686089516, 0.06020639091730118, -0.3554665446281433, -0.4001515805721283, 0.0629727765917778, -0.33442795276641846, -0.2453002780675888, 0.3556393086910248, 0.1544235348701477, 0.4989984631538391, -0.10979736596345901, -0.2149597704410553, 0.015096721239387989, 0.020087674260139465, -0.14330723881721497, -0.043368980288505554, -0.10719239711761475, 0.1744883954524994, 0.09391335397958755, -0.2637717127799988, -0.2508019804954529, -0.2766214907169342, 0.11548476666212082, 0.02945237047970295, 0.333976686000824, -0.44192907214164734, 0.34783145785331726, -0.09512002766132355, 0.20676667988300323, -0.007273276336491108, -0.09392750263214111, -0.0948352962732315, 0.011993063613772392, 0.25434038043022156, -0.06865965574979782, -0.2548300325870514, 0.3314031660556793, 0.01364724338054657, -0.3539816737174988, 0.3742416501045227, -0.1356653869152069, -0.13660793006420135, 0.1095258891582489, 0.19025549292564392, -0.27182120084762573, -0.13571108877658844, 0.23200193047523499, -0.08632738888263702, 0.33842629194259644, -0.054936788976192474, -0.11535528302192688, -0.2827458083629608, 0.27102577686309814, -0.09249001741409302, 0.18184396624565125, 0.12240975350141525, -0.15905840694904327, -0.06109151989221573, -0.2168145477771759, -0.14312708377838135, 0.04870407283306122, 0.0073029715567827225, 0.2499193698167801, -0.29264622926712036, -0.1327342987060547, -0.08382487297058105, 0.07989230751991272, 0.30231809616088867, -0.17635542154312134, -0.16126494109630585, 0.1947774738073349, -0.11218059062957764, 0.11389436572790146, -0.27188676595687866, 0.004233166575431824, 0.3283143639564514, 0.4749945104122162, 0.36693069338798523, -0.11835718154907227, -0.17540636658668518, 0.39353668689727783, -0.24767108261585236, -0.13212594389915466, -0.11933965981006622, -0.15545175969600677, -0.27617147564888, -0.37205877900123596, 0.29565614461898804, 0.3011055588722229, -0.05786384269595146, -0.2725468873977661, -0.12455505132675171, 0.04184757173061371, -0.06236967444419861, 0.14160767197608948, 0.29759469628334045, 0.15919238328933716, 0.09351444989442825, 0.04362998530268669, -0.3705202341079712, 0.25485044717788696, 0.28344884514808655, 0.40913906693458557, 0.11271700263023376, 0.179665207862854, 0.23353013396263123, -0.3672848045825958, 0.28964611887931824, 0.19895601272583008, 0.06723766773939133, 0.1735469400882721, 0.12671694159507751, 0.23585809767246246, -0.29846107959747314, 0.3015691936016083, 0.18818864226341248, -0.041442424058914185, -0.2548444867134094, 0.023462066426873207, 0.20666265487670898, -0.08929562568664551, -0.1931489259004593, 0.3615882396697998, -0.017891578376293182, -0.0897054672241211, 0.07854697108268738, 0.3021324574947357, 0.8996977806091309, 0.28453460335731506, -0.3388751745223999, -0.10052534192800522, -0.1533481478691101, -0.060278646647930145, -0.14211171865463257, -0.141719251871109, -0.20329414308071136, -0.32369378209114075, 0.1181783378124237, -0.057019446045160294, 0.2617419958114624, 0.038540467619895935, -0.44534558057785034, -0.21747343242168427, 0.17031683027744293, 0.3142218589782715, 0.19811181724071503, 0.34990131855010986, -0.1025051549077034, -0.0014549791812896729, -0.11851716041564941, 0.25511765480041504, -0.03859124332666397, -0.04202382639050484, -0.29840484261512756, -0.2461882084608078, 0.012852903455495834, -0.09747213125228882, -0.30472999811172485, -0.09699153155088425, -0.19217458367347717, 0.010637553408741951, -0.051399391144514084, 0.18920843303203583, 0.044308606535196304, -0.2798662483692169, 0.3309746980667114, 0.39357927441596985, -0.0982341468334198, 0.30800512433052063, -0.06071729212999344, 0.1351413130760193, -0.03597521036863327, -0.07729776948690414, 0.25116848945617676, -0.3772718608379364, -0.10154105722904205, -0.06267143040895462, -0.22396013140678406, -0.042065832763910294, 0.21355271339416504, -0.10792599618434906, -0.12393078207969666, -0.4193364083766937, -0.21758368611335754, -0.04678487777709961, -0.21785378456115723, -0.07429683208465576, 0.2489948719739914, -0.004546374082565308, 0.007443801499903202, 0.38269761204719543, 0.010282415896654129, -0.19565525650978088, -0.09515935182571411, -0.008268497884273529, 0.13437190651893616, -0.06528496742248535, 0.29614153504371643, -0.09232072532176971, 0.02382359281182289, -0.3948001563549042, -0.05028258264064789, -0.16898757219314575, 0.009688600897789001, 0.25429198145866394, 0.06837280094623566, -0.3041306734085083, 0.16048038005828857, 0.2883740961551666, 0.2820262312889099, 0.2681392729282379, -0.22816944122314453, -0.2671252489089966, -0.6071162819862366, 0.029900018125772476, -0.38767147064208984, 0.3643220365047455, -0.23046791553497314, 0.29403382539749146, 0.09497339278459549, 0.20583796501159668, -0.4675540328025818, -0.21753183007240295, -0.370646208524704, 0.07969595491886139, 0.16084842383861542, -0.02955486625432968, -0.16333678364753723, -0.34260621666908264, 0.13736972212791443, 0.15976554155349731, -0.18467338383197784, -0.29113706946372986, 0.06274078786373138, 0.11204900592565536, 0.03904430568218231, 0.18902969360351562, 0.24929171800613403, 0.12933889031410217, -0.1336783915758133, 0.22002661228179932, 0.2519133687019348, -0.25564879179000854, -0.013141609728336334, 0.005911662243306637, -0.2019016295671463, -0.055788762867450714, 0.07346215099096298, -0.22922194004058838, 0.20537984371185303, 0.1759953796863556, -0.035898417234420776, 0.14270111918449402, -0.04978654533624649, -0.15081466734409332, 0.3324078917503357, 0.13057109713554382, -0.027221843600273132, 0.13804037868976593, 0.38279813528060913, -0.050598494708538055, -0.12877050042152405, 0.34886375069618225, 0.10219696164131165, 0.08618511259555817, -0.05078628286719322, 0.04616875946521759, -0.07030673325061798, 0.4020593762397766, -0.20660220086574554, 0.11266735196113586, 0.07122190296649933, -0.04058029502630234, 0.06024598702788353, 0.01398187130689621, 0.20762479305267334, -0.15745282173156738, 0.40560364723205566, 0.3780212998390198, 0.3780550956726074, -0.1971329152584076, 0.21288779377937317, 0.2498762458562851, -0.252983421087265, 0.10982388257980347, 0.32553181052207947, -0.17477788031101227, 0.21951249241828918, 0.22451995313167572, 0.4358689785003662, 0.5610489845275879, 0.2974089980125427, 0.1521231085062027, 0.16118861734867096, -0.027661945670843124, 0.12093353271484375, 0.11758127808570862, -0.08825193345546722, 0.19596558809280396, 0.3672995865345001, -0.16673073172569275, 0.11131525784730911, -0.41913220286369324, -0.47618332505226135, 0.12675409018993378, -0.23938938975334167, 0.04229828715324402, -0.6508609056472778, -0.17931947112083435, -0.16317422688007355, 0.03567377105355263, -0.07444314658641815, 0.23209068179130554, 0.24425972998142242, -0.04339118301868439, -0.11103135347366333, 0.014881509356200695, -0.37778088450431824, 0.16488784551620483, 0.1286938637495041, -0.3570222556591034, 0.2968948781490326, 0.36263179779052734, -0.2547755241394043, 0.06669435650110245, 0.46371427178382874, 0.7290388941764832, 0.32526519894599915, 0.13199733197689056, 0.013367251493036747, 0.018321294337511063, -0.10636788606643677, -0.08477159589529037, 0.3489089608192444, 0.18730327486991882, 0.14899566769599915, 0.06089107319712639, 0.30711203813552856, -0.2525962293148041, 0.1738494485616684, -0.2762822210788727, -0.3077992796897888, -0.0954204648733139, -0.02691490203142166, 0.48595741391181946, -0.2669104337692261, -0.14671330153942108, 0.09498517960309982, -0.27953362464904785, -0.14249807596206665, 0.49313485622406006, 0.01731923222541809, 0.24451953172683716, -0.24845214188098907, 0.15783217549324036, 0.01996232569217682, 0.5572639107704163, 0.23142360150814056, 0.09060488641262054, -0.2342505007982254, -0.423495888710022, -0.4606982469558716, 0.08968052268028259, 0.06739946454763412, 0.0014201011508703232, 0.1594565212726593, 0.03418383002281189, 0.30269092321395874, 0.08333829790353775, 0.15568512678146362, -0.45361092686653137, 0.033559221774339676, -0.07601228356361389, -0.3880634009838104, 0.2638034522533417, -0.09899425506591797, -0.058583855628967285, 0.04633861780166626, -0.011530939489603043, 0.23474076390266418, 0.07786954194307327, 0.2499459981918335, 0.0850679948925972, -0.20399537682533264, 0.34249162673950195, -0.06287356466054916, 0.1580686867237091, 0.20901402831077576, 0.4561487138271332, -0.21578413248062134, 0.02093120478093624, -0.1634596586227417, 0.00010414747521281242, -0.17990636825561523, 0.003987796604633331, 0.34083831310272217, 0.39350080490112305, 0.1499742865562439, 0.07341629266738892, -0.09362491220235825, -0.054902736097574234, -0.1563253104686737, -0.11769767105579376, -0.09503598511219025, 0.09352349489927292, 0.07408948987722397, 0.017370963469147682, 0.09704399853944778, 0.07269616425037384, 0.008730124682188034, -0.044550493359565735, -0.29992765188217163, -0.4813550114631653, 0.47815269231796265, 0.07258883118629456, -0.3634665608406067, -0.19560764729976654, 0.2605878412723541, -0.18603065609931946, 0.200742706656456, -0.40366777777671814, -0.026340462267398834, 0.12712964415550232, -0.0011132694780826569, -0.20094482600688934, 0.32997387647628784, -0.016491487622261047, -0.044309861958026886, 0.051396775990724564, 0.3676377534866333, 0.012905504554510117, -0.03870926797389984, -0.32581156492233276, -0.1679619997739792 ]
https://github.com/huggingface/datasets/pull/2374
add `desc` to `tqdm` in `Dataset.map()`
Once this is merged, let's update `transformers` examples to use this new code. As currently all those tqdm bars are who knows what they are.... https://github.com/huggingface/transformers/issues/11797
Fixes #2330. Please let me know if anything is also required in this
26
text: add `desc` to `tqdm` in `Dataset.map()` Fixes #2330. Please let me know if anything is also required in this Once this is merged, let's update `transformers` examples to use this new code. As currently all those tqdm bars are who knows what they are.... https://github.com/huggingface/transformers/issues/11797
[ -0.09747129678726196, -0.44489943981170654, -0.018745947629213333, 0.0828268751502037, 0.3543016314506531, -0.2462838888168335, 0.4825414717197418, 0.2658482789993286, -0.25933513045310974, 0.06957711279392242, -0.30441445112228394, 0.4039207100868225, 0.07291225343942642, 0.3114715814590454, 0.054542846977710724, -0.10434189438819885, -0.071405328810215, 0.15263576805591583, -0.5841764211654663, 0.015604838728904724, -0.21024388074874878, 0.3980613946914673, -0.10822366178035736, -0.025878794491291046, -0.5280234813690186, 0.15037545561790466, 0.1216597855091095, 0.32666468620300293, 0.08477108925580978, -0.32844534516334534, 0.18311245739459991, 0.1403266340494156, -0.1422167867422104, 0.3962462544441223, -0.00009930331725627184, 0.21308498084545135, 0.2691577076911926, 0.04142285883426666, 0.10593299567699432, 0.13514621555805206, 0.00771733745932579, -0.21995437145233154, 0.06624817848205566, -0.12993067502975464, -0.15273651480674744, 0.11106277257204056, -0.1819957047700882, 0.15732800960540771, 0.5311740636825562, -0.039415206760168076, 0.3623535633087158, 0.7233541011810303, -0.1337077021598816, -0.08342593908309937, 0.15397214889526367, 0.11758574843406677, -0.1845664232969284, -0.11735217273235321, 0.40858858823776245, 0.05771591514348984, -0.3433111310005188, 0.5114268660545349, 0.2993413209915161, -0.07240724563598633, 0.3043980002403259, 0.08645635843276978, 0.11672212183475494, -0.1460348218679428, 0.09006819874048233, 0.19444286823272705, 0.2912759780883789, -0.19674885272979736, -0.13194909691810608, -0.11893676221370697, -0.27082034945487976, -0.046508826315402985, 0.17111173272132874, -0.2483912706375122, -0.13697747886180878, 0.07095871865749359, -0.5658663511276245, -0.01931462436914444, -0.018564090132713318, -0.22305603325366974, -0.2797040641307831, 0.2548043429851532, -0.1684214323759079, -0.10446102172136307, 0.1442069113254547, -0.24739374220371246, 0.1301446110010147, 0.0708463042974472, -0.06472891569137573, -0.05083206668496132, -0.22565026581287384, -0.42746248841285706, 0.2538949251174927, -0.15131691098213196, 0.032214339822530746, 0.26117217540740967, -0.17807446420192719, 0.2546282708644867, 0.03769269585609436, 0.03993199020624161, 0.09822292625904083, 0.09572549164295197, -0.023166000843048096, 0.16093340516090393, 0.25906938314437866, -0.0007540857186540961, 0.05657899007201195, 0.008594539016485214, 0.23460765182971954, -0.45409488677978516, 0.11606290936470032, 0.1407039314508438, 0.15488256514072418, -0.09406551718711853, 0.19726082682609558, -0.14691618084907532, 0.385960191488266, 0.2571457624435425, 0.04577799513936043, 0.31477075815200806, 0.27583056688308716, -0.003552000969648361, 0.07513631135225296, 0.11295568943023682, -0.044016506522893906, -0.12448856234550476, -0.2436555176973343, -0.1356305480003357, -0.10949212312698364, -0.2455313354730606, 0.06950300931930542, 0.27510392665863037, 0.13550135493278503, -0.009703637100756168, 0.2718314528465271, 0.21262896060943604, -0.13819633424282074, 0.2564156949520111, 0.1773243248462677, 0.42753350734710693, -0.1617695540189743, 0.08470547199249268, 0.02984267845749855, -0.0565638542175293, -0.03919994831085205, 0.058414146304130554, -0.0168532133102417, -0.2239881455898285, -0.11453588306903839, 0.30221718549728394, -0.03367697075009346, -0.1312735378742218, 0.09663887321949005, 0.10371150076389313, 0.0489916130900383, -0.11630243062973022, -0.01404813677072525, 0.08093366026878357, -0.13056571781635284, -0.09540273994207382, 0.16004358232021332, 0.30639731884002686, -0.22413751482963562, -0.3367159962654114, 0.08274315297603607, -0.10144878923892975, 0.02721017599105835, 0.3351120054721832, -0.21967488527297974, 0.027859147638082504, -0.17026221752166748, 0.23829616606235504, 0.07632088661193848, -0.19884809851646423, -0.5199661254882812, 0.3263375461101532, -0.29768073558807373, -0.027940411120653152, -0.09988731890916824, 0.11564823240041733, 0.1660129725933075, -0.004482094664126635, 0.009975962340831757, 0.1360914707183838, -0.15811792016029358, 0.32131892442703247, -0.39143285155296326, -0.010986998677253723, 0.03424789011478424, 0.07294324040412903, 0.23736856877803802, 0.13563469052314758, -0.0384090319275856, -0.05882658809423447, 0.10137822479009628, 0.009952276945114136, 0.1584159880876541, 0.3266352415084839, 0.26200973987579346, -0.39172232151031494, 0.0853092297911644, -0.11753915250301361, -0.5758318305015564, 0.05551803112030029, -0.38397619128227234, 0.2708730697631836, -0.09817226231098175, -0.2635454535484314, -0.4656592905521393, -0.10621297359466553, -0.09456060826778412, -0.18644189834594727, 0.252036988735199, -0.2833561301231384, -0.09360639750957489, -0.24636141955852509, -0.13687771558761597, -0.05500563979148865, 0.4240829050540924, 0.21806849539279938, -0.15711677074432373, 0.3464788794517517, -0.1815042793750763, -0.03445408493280411, -0.0027508698403835297, 0.05232483148574829, 0.16966888308525085, -0.1866573542356491, -0.0987003892660141, 0.3448401391506195, -0.16511030495166779, 0.1719534993171692, 0.048192426562309265, 0.2168402373790741, 0.42024046182632446, -0.1906644105911255, -0.2257882058620453, 0.23506703972816467, 0.003949264995753765, -0.052479200065135956, -0.24446669220924377, 0.2434464395046234, -0.14248672127723694, 0.10216958820819855, 0.04576633870601654, 0.25843915343284607, 0.23908570408821106, -0.1952926367521286, -0.030928727239370346, -0.14751389622688293, -0.040739644318819046, 0.314854234457016, 0.029800858348608017, 0.07322481274604797, -0.08985189348459244, 0.2627061605453491, 0.3671170175075531, 0.0163605697453022, 0.02340708300471306, 0.03887975215911865, -0.25221505761146545, 0.15533608198165894, -0.01643506996333599, 0.24569116532802582, 0.20503561198711395, 0.19935283064842224, 0.03838827461004257, 0.22031579911708832, 0.07690485566854477, -0.22830620408058167, 0.1729886829853058, 0.16454774141311646, -0.005940405651926994, 0.18714672327041626, 0.05954132601618767, 0.04804866388440132, -0.4036298096179962, -0.10675691068172455, 0.09423317015171051, 0.04169122874736786, -0.26721519231796265, -0.09629415720701218, -0.10804174095392227, -0.16803526878356934, -0.14063982665538788, -0.05560017004609108, -0.3345540165901184, -0.3665454089641571, 0.3198096752166748, 0.08023372292518616, -0.45833608508110046, 0.47532540559768677, 0.28376394510269165, 0.500238299369812, 0.22243402898311615, 0.2589045763015747, -0.35880857706069946, -0.20159289240837097, -0.0893578752875328, 0.16119594871997833, 0.04312608391046524, -0.11382713913917542, -0.03994838893413544, -0.3235858082771301, 0.3738190531730652, -0.17859691381454468, -0.5177910923957825, 0.14344091713428497, 0.031818829476833344, 0.23851121962070465, 0.1368766725063324, 0.139688640832901, -0.14672617614269257, 0.0039549339562654495, 0.18115924298763275, -0.21018385887145996, -0.2698940932750702, 0.13859814405441284, 0.046856798231601715, -0.13126881420612335, -0.401795893907547, -0.10407041758298874, 0.07759343832731247, -0.5027536153793335, 0.1373593807220459, -0.2883290648460388, 0.06608496606349945, 0.4252088963985443, -0.2403724640607834, -0.029591549187898636, -0.07938868552446365, -0.17208082973957062, -0.05114706978201866, -0.3529536724090576, 0.39406490325927734, -0.3438316583633423, -0.3808076083660126, -0.21269243955612183, -0.11192462593317032, 0.08638115972280502, -0.12085925042629242, -0.0974394828081131, -0.3147626519203186, -0.3098856806755066, 0.14519624412059784, 0.08219467103481293, 0.19100768864154816, 0.2676732838153839, 0.11598306149244308, -0.20812591910362244, -0.13360726833343506, -0.2363915592432022, 0.0860905721783638, 0.05866085737943649, 0.07711944729089737, -0.3591759502887726, 0.08534754812717438, 0.007782217115163803, 0.5829182863235474, 0.04496433213353157, -0.05861526355147362, 0.11308835446834564, 0.05028343200683594, 0.25304901599884033, 0.04515187814831734, -0.26922541856765747, -0.19078576564788818, -0.09007415175437927, 0.1351620852947235, 0.14207081496715546, 0.15411177277565002, 0.21606872975826263, 0.10131186246871948, 0.07352818548679352, -0.1584073305130005, -0.5453087687492371, 0.025148067623376846, 0.03911829739809036, 0.06218457967042923, 0.2792118787765503, 0.00981120765209198, -0.14424683153629303, 0.17069625854492188, 0.3406619131565094, 0.2138868272304535, -0.008397005498409271, -0.2511409819126129, -0.3289867639541626, 0.18397697806358337, -0.3109205961227417, 0.17430295050144196, -0.00464869337156415, 0.0199861079454422, -0.09066344052553177, -0.33784815669059753, -0.10418368875980377, 0.04738987237215042, 0.7579180598258972, -0.11440735310316086, -0.024049274623394012, 0.07543669641017914, -0.32883766293525696, -0.2652100920677185, 0.05969313159584999, -0.11348287761211395, 0.08810713142156601, 0.38447657227516174, 0.46302610635757446, -0.11604197323322296, -0.1592792570590973, 0.01166444830596447, -0.08097472041845322, -0.19903406500816345, -0.1638258397579193, -0.19173353910446167, -0.23862004280090332, -0.31444334983825684, 0.050142183899879456, 0.3047463297843933, 0.01570296846330166, -0.07271385937929153, -0.21086464822292328, 0.013745520263910294, -0.3863945007324219, -0.036358192563056946, 0.4304780662059784, 0.3201383948326111, 0.08599724620580673, 0.1884436011314392, 0.0012151263654232025, -0.11875508725643158, -0.28037184476852417, 0.40340670943260193, 0.07488400489091873, -0.3777322471141815, 0.09406989812850952, -0.11316137760877609, 0.040406227111816406, 0.2482975572347641, 0.11929479241371155, 0.1570194959640503, 0.08470232784748077, 0.22016455233097076, 0.05631230026483536, 0.14312870800495148, -0.129464790225029, 0.056116871535778046, 0.10385967791080475, 0.28134456276893616, 0.23967143893241882, -0.2697667181491852, -0.09627512842416763, 0.10897448658943176, 0.1927221417427063, -0.10106612741947174, 0.11754001677036285, 0.010256156325340271, 0.8321844339370728, -0.09188789129257202, 0.04562367498874664, 0.08666820824146271, -0.08233823627233505, 0.2131088823080063, -0.11346746236085892, 0.22261229157447815, -0.4516191780567169, -0.2861495614051819, 0.07879479229450226, -0.05236824229359627, -0.012584738433361053, 0.1182049810886383, -0.17479978501796722, 0.023942571133375168, -0.04652795568108559, 0.3141460120677948, -0.10795089602470398, -0.04878495633602142, 0.10491673648357391, -0.34886378049850464, -0.18556050956249237, 0.23572716116905212, 0.04525549337267876, 0.25900140404701233, -0.21310773491859436, -0.30323243141174316, 0.08285696804523468, -0.23512454330921173, -0.03172190859913826, 0.11850021034479141, -0.1148822233080864, 0.4318062663078308, 0.6898708939552307, -0.0002738535404205322, 0.07041032612323761, 0.04292653128504753, 0.3825560212135315, 0.13043199479579926, -0.16678720712661743, 0.35204049944877625, 0.16923871636390686, 0.310822993516922, -0.06467743963003159, 0.13488349318504333, 0.14425154030323029, -0.18400391936302185, -0.060191355645656586, 0.027608312666416168, 0.0872175320982933, -0.12998822331428528, 0.05759258568286896, 0.020722750574350357, -0.18175607919692993, -0.24814331531524658, 0.3878423571586609, 0.03891129791736603, 0.0298488549888134, -0.4223298728466034, 0.23037435114383698, 0.02661130577325821, -0.19505804777145386, 0.10462820529937744, 0.26461371779441833, -0.10822171717882156, 0.02221386507153511, 0.14494796097278595, -0.1425284445285797, -0.048317860811948776, 0.1597876250743866, 0.16835571825504303, -0.2747332453727722, -0.3392975330352783, 0.13781607151031494, 0.1805589348077774, -0.6213759183883667, 0.4295416474342346, -0.2877543270587921, -0.29621422290802, 0.0440068356692791, 0.4513481855392456, 0.13841189444065094, 0.0071355849504470825, -0.17132166028022766, -0.04708157107234001, -0.6964425444602966, 0.13657473027706146, -0.18182292580604553, 0.21785980463027954, 0.02777443826198578, 0.3928459882736206, -0.039845891296863556, 0.18954025208950043, -0.47736304998397827, 0.08902779221534729, -0.35553979873657227, 0.1255931407213211, -0.04407426714897156, -0.5838866233825684, 0.14048795402050018, -0.27436211705207825, 0.13572238385677338, 0.27350863814353943, -0.37924134731292725, -0.3415064811706543, -0.15933068096637726, 0.03722643852233887, -0.02579481154680252, -0.2821059226989746, -0.09341440349817276, 0.4281070828437805, -0.1824691742658615, 0.041683830320835114, 0.26818305253982544, -0.023437857627868652, 0.1479659080505371, 0.2216997593641281, 0.027588795870542526, -0.22603237628936768, -0.14143584668636322, -0.011921316385269165, 0.2828128933906555, 0.04081367701292038, 0.09723341464996338, -0.03551039844751358, -0.21602945029735565, 0.0009141266345977783, 0.14967863261699677, 0.27590182423591614, 0.34616732597351074, 0.056251391768455505, 0.33061593770980835, -0.14266379177570343, -0.029566532000899315, 0.2509516477584839, 0.22187674045562744, -0.0693303793668747, -0.28137341141700745, -0.10305830836296082, -0.005741499364376068, 0.3321925699710846, -0.40947577357292175, -0.11754751950502396, 0.04823555052280426, 0.08164320141077042, 0.2792430818080902, 0.14802846312522888, 0.018480803817510605, 0.09705327451229095, 0.3133908212184906, 0.34505370259284973, 0.2485150545835495, -0.13480022549629211, 0.10096773505210876, 0.09109474718570709, -0.09300342202186584, 0.10519348084926605, 0.4902629554271698, 0.14887212216854095, 0.0687236338853836, 0.08647222071886063, -0.14989358186721802, 0.19568175077438354, -0.4439201354980469, -0.024540860205888748, 0.3508037328720093, -0.22667963802814484, 0.02732461877167225, -0.1341344714164734, 0.02151048183441162, -0.014784656465053558, 0.23326502740383148, -0.07101348787546158, -0.1150590106844902, -0.2878115475177765, -0.27325060963630676, 0.13660216331481934, -0.3598712980747223, -0.1666487157344818, 0.3236120939254761, -0.10564514994621277, -0.03877564147114754, 0.002751540392637253, 0.004148513078689575, 0.08447033911943436, 0.4031454622745514, -0.09103719890117645, 0.12145785242319107, -0.2385098785161972, 0.017713310196995735, 0.13465937972068787, 0.21369266510009766, -0.16414019465446472, 0.09459474682807922, 0.2793816924095154, -0.06992122530937195, 0.06998953968286514, 0.2632126212120056, 0.24915850162506104, 0.1336972862482071, -0.14079968631267548, 0.04696446657180786, -0.0871703028678894, -0.09433485567569733, -0.04893258586525917, 0.12261002510786057, -0.000787094235420227, 0.2750789523124695, 0.28259697556495667, 0.2596283555030823, -0.2772813141345978, 0.010051902383565903, -0.11405442655086517, 0.1664428412914276, -0.03634344041347504, 0.3748830258846283, -0.14877241849899292, -0.1620415449142456, -0.12227647006511688, -0.14010444283485413, -0.26282167434692383, -0.35747745633125305, 0.34015631675720215, -0.20729340612888336, 0.18149110674858093, -0.27133235335350037, 0.1699441820383072, 0.15567274391651154, 0.48343995213508606, 0.20158345997333527, 0.011037640273571014, -0.26054176688194275, -0.05600307881832123, -0.5296638011932373, 0.09928516298532486, 0.3138417899608612, 0.10671593248844147, 0.15674284100532532, 0.176816925406456, 0.005260482430458069, 0.07302184402942657, 0.13341914117336273, -0.12130116671323776, -0.11256790906190872, -0.2962316870689392, -0.28028300404548645, 0.2905808985233307, -0.13630084693431854, -0.15456154942512512, 0.23458045721054077, -0.3033604323863983, 0.1889745593070984, 0.31082582473754883, 0.21274122595787048, -0.002479134127497673, 0.10435087978839874, 0.03655334189534187, -0.10481403768062592, 0.011118493974208832, 0.06884785741567612, 0.15088506042957306, -0.18498334288597107, -0.0990314781665802, -0.0029210709035396576, -0.42923927307128906, -0.08156602829694748, -0.022168263792991638, 0.10372132062911987, 0.23071497678756714, 0.04654429852962494, -0.1065230667591095, -0.250309020280838, -0.2435813844203949, 0.11846204102039337, 0.11993122100830078, -0.30665144324302673, 0.2363291084766388, -0.0754443109035492, 0.12630242109298706, 0.07536657154560089, 0.2646160125732422, 0.06777802109718323, 0.10791432857513428, -0.1853310763835907, -0.6415659189224243, 0.6491859555244446, -0.1731177717447281, -0.4634076952934265, -0.043913908302783966, 0.13872334361076355, 0.08436109870672226, -0.18073104321956635, -0.629014253616333, -0.09907611459493637, 0.024446677416563034, -0.25183025002479553, -0.1448412388563156, 0.30895963311195374, -0.12636718153953552, -0.2022150754928589, -0.09252167493104935, 0.3613297939300537, 0.2997693419456482, -0.11357811838388443, -0.11089380085468292, -0.11837407201528549 ]
https://github.com/huggingface/datasets/pull/2374
add `desc` to `tqdm` in `Dataset.map()`
Sure @stas00! Once this is merged let's discuss what all changes can be done on `transformers` side
Fixes #2330. Please let me know if anything is also required in this
17
text: add `desc` to `tqdm` in `Dataset.map()` Fixes #2330. Please let me know if anything is also required in this Sure @stas00! Once this is merged let's discuss what all changes can be done on `transformers` side
[ -0.18863368034362793, -0.13669373095035553, -0.11821450293064117, 0.1160234659910202, 0.33010828495025635, -0.20207494497299194, 0.28238704800605774, 0.3535492718219757, -0.2508106231689453, 0.00979912281036377, -0.25756150484085083, 0.4953380227088928, 0.10429763793945312, 0.1879832148551941, -0.02814343571662903, 0.09918676316738129, 0.06685285270214081, 0.2131129801273346, -0.6355745792388916, 0.019981734454631805, -0.26115548610687256, 0.3204878866672516, -0.07346434146165848, -0.12137176096439362, -0.44323503971099854, 0.17369116842746735, 0.13666361570358276, 0.3888729512691498, -0.06288526952266693, -0.30822354555130005, 0.11452637612819672, 0.17196540534496307, -0.10683091729879379, 0.36550167202949524, -0.00010210974141955376, 0.2464030236005783, 0.2348373681306839, 0.025747278705239296, 0.07840992510318756, 0.2879304885864258, -0.14476794004440308, -0.13922251760959625, -0.008313069120049477, -0.2360059916973114, -0.035836752504110336, 0.16890113055706024, -0.15437576174736023, 0.010742813348770142, 0.3679611086845398, 0.19023405015468597, 0.33228012919425964, 0.40638214349746704, -0.06928461790084839, -0.1590350866317749, 0.1614941954612732, 0.012870196253061295, 0.0829276517033577, -0.24599814414978027, 0.3328131139278412, -0.0541323646903038, -0.2817385196685791, 0.5385997891426086, 0.18716759979724884, -0.1656588315963745, 0.32224947214126587, -0.11223159730434418, 0.11158183962106705, -0.15138527750968933, 0.14835023880004883, 0.040362074971199036, 0.48848316073417664, -0.1939193606376648, -0.02465640939772129, 0.20075002312660217, -0.2676444947719574, -0.04914235323667526, 0.21718859672546387, -0.30236947536468506, -0.026900213211774826, 0.0853198915719986, -0.27960118651390076, -0.13204343616962433, -0.13850712776184082, -0.22917364537715912, -0.35847917199134827, 0.49945542216300964, 0.0813458189368248, -0.11099674552679062, -0.11767873167991638, -0.24308089911937714, 0.49073293805122375, 0.02318453975021839, -0.024197284132242203, -0.07682253420352936, -0.2636309564113617, -0.4330846071243286, 0.2346603274345398, -0.2820822596549988, -0.055358678102493286, 0.00970287062227726, -0.17812521755695343, 0.20821207761764526, 0.07254333794116974, 0.018898606300354004, 0.2598785161972046, 0.016355155035853386, -0.01507498323917389, 0.36506539583206177, 0.19793759286403656, -0.11357883363962173, -0.012804824858903885, -0.023653730750083923, 0.18097206950187683, -0.3873433470726013, 0.1212816834449768, 0.15548887848854065, 0.13401342928409576, -0.22641701996326447, 0.11682990938425064, -0.17146822810173035, 0.38741907477378845, 0.14230549335479736, 0.009339038282632828, 0.3224780857563019, 0.18205253779888153, 0.18105930089950562, 0.16940003633499146, 0.007261704653501511, -0.05799509584903717, -0.06498394161462784, -0.25467410683631897, -0.06571021676063538, -0.028286688029766083, -0.38514000177383423, 0.05414285138249397, 0.31623128056526184, 0.05117259919643402, -0.04717463627457619, 0.17653727531433105, 0.2508796751499176, -0.04510723426938057, 0.18018797039985657, 0.2951153516769409, 0.41111937165260315, -0.12228275835514069, 0.02062157727777958, 0.05212467908859253, -0.03539947420358658, -0.07315852493047714, 0.19951537251472473, -0.09842730313539505, -0.38400328159332275, -0.14563539624214172, 0.3582365810871124, 0.1190636157989502, -0.19128593802452087, 0.40746957063674927, 0.14218206703662872, 0.10183132439851761, -0.30791881680488586, -0.09800892323255539, 0.1092526763677597, -0.08770345896482468, -0.11969553679227829, 0.09769435226917267, 0.13503120839595795, -0.3873039484024048, -0.0808754488825798, -0.190622478723526, -0.08797900378704071, 0.03802555799484253, 0.2837171256542206, -0.27369850873947144, 0.11036065220832825, -0.05143202841281891, 0.15883836150169373, 0.2596876919269562, -0.3368908762931824, -0.4668658971786499, 0.3343393802642822, -0.2734805941581726, -0.2530127465724945, -0.05562499910593033, 0.1403348296880722, 0.24415674805641174, -0.07956434786319733, 0.18894562125205994, 0.13159950077533722, -0.2642778754234314, 0.3097143769264221, -0.4559018909931183, 0.04168356955051422, 0.1417636275291443, 0.036019232124090195, 0.3103097677230835, 0.08074559271335602, 0.03531140089035034, 0.02281232178211212, 0.03011040762066841, -0.017230462282896042, 0.10258223116397858, 0.29858720302581787, 0.2734023928642273, -0.4008636474609375, 0.11593198031187057, -0.06707191467285156, -0.5837754011154175, -0.09506507217884064, -0.43674683570861816, 0.28259485960006714, -0.11338493227958679, -0.30853980779647827, -0.44939276576042175, -0.07221955806016922, 0.06205054000020027, -0.19363553822040558, 0.31220749020576477, -0.1836501955986023, -0.28273245692253113, -0.3728224039077759, -0.11328500509262085, -0.16834990680217743, 0.3262506127357483, 0.010786417871713638, -0.062112342566251755, 0.23529575765132904, -0.3142692744731903, 0.06615062057971954, -0.020390406250953674, 0.026338059455156326, 0.21908465027809143, -0.059275366365909576, -0.19498631358146667, 0.31229814887046814, -0.1473102867603302, 0.10002483427524567, 0.18865680694580078, 0.22838155925273895, 0.3130597770214081, -0.19288694858551025, -0.1264885812997818, 0.1593768298625946, 0.0808156281709671, -0.13814565539360046, -0.3573435842990875, 0.10868744552135468, -0.18737098574638367, 0.10777262598276138, 0.10709962248802185, 0.19790105521678925, 0.263151615858078, -0.16731040179729462, 0.01783834584057331, -0.16034428775310516, -0.17093895375728607, 0.3432601988315582, -0.1119711697101593, 0.2547960579395294, -0.059763599187135696, 0.24889656901359558, 0.3118172585964203, 0.10425673425197601, -0.0652407631278038, -0.07953911274671555, -0.23033517599105835, -0.0790475606918335, -0.016431542113423347, 0.2578589618206024, 0.26237064599990845, 0.2689840495586395, 0.07574644684791565, 0.12325692176818848, 0.09856550395488739, -0.06633342057466507, 0.32350826263427734, 0.16958622634410858, 0.0498620979487896, 0.3152465522289276, 0.11111612617969513, -0.040882810950279236, -0.2715819776058197, -0.11009325087070465, 0.2686680257320404, 0.18167002499103546, -0.22959694266319275, -0.17716743052005768, -0.08137007802724838, -0.2189323902130127, -0.09205261617898941, 0.059254810214042664, -0.20215396583080292, -0.3812131881713867, 0.28732722997665405, -0.08428673446178436, -0.5539911389350891, 0.4024101495742798, 0.13850924372673035, 0.33079519867897034, 0.26285961270332336, 0.13741256296634674, -0.19436568021774292, -0.3168584108352661, -0.0411691889166832, 0.18240712583065033, 0.1738668829202652, 0.02314750850200653, 0.024365020915865898, -0.1784309446811676, 0.2536870837211609, -0.1844506412744522, -0.5314263701438904, 0.130141943693161, 0.08582586795091629, 0.0909419059753418, 0.19256839156150818, 0.07006382197141647, -0.07953621447086334, -0.26053470373153687, 0.053267136216163635, -0.1644972264766693, -0.2054593563079834, 0.030849337577819824, 0.025291072204709053, -0.10705439746379852, -0.2806878089904785, -0.49030205607414246, -0.004773328080773354, -0.5046581029891968, -0.14094211161136627, -0.2814619243144989, 0.1780908703804016, 0.21366901695728302, -0.15651428699493408, -0.10981721431016922, -0.1380690336227417, -0.2213851660490036, -0.10257342457771301, -0.23466043174266815, 0.4036097228527069, -0.277630478143692, -0.38874581456184387, -0.10363727807998657, -0.19714172184467316, 0.2009897381067276, 0.0029346924275159836, -0.010053325444459915, -0.06845919787883759, -0.13943132758140564, 0.10486949980258942, 0.05906081944704056, 0.08414115756750107, 0.4093414843082428, 0.23093754053115845, -0.23416267335414886, -0.11344639956951141, -0.23918558657169342, -0.026427194476127625, 0.18927767872810364, 0.21104803681373596, -0.4069437086582184, 0.1562536358833313, -0.07925757020711899, 0.5372161269187927, -0.010542653501033783, -0.018430348485708237, 0.04327353090047836, 0.15656150877475739, 0.2250780612230301, 0.06082388758659363, -0.24875691533088684, -0.20070356130599976, -0.07902398705482483, -0.052375130355358124, 0.23191986978054047, 0.008162615820765495, -0.13093528151512146, 0.008389271795749664, 0.07011181116104126, -0.1922946274280548, -0.41366055607795715, 0.11998856067657471, 0.008784487843513489, 0.22349384427070618, 0.3207550048828125, -0.14304214715957642, -0.2991098165512085, 0.1778821051120758, 0.25636717677116394, 0.1690727174282074, -0.07684486359357834, -0.25688594579696655, -0.2582356035709381, 0.17894871532917023, -0.29643186926841736, 0.185491681098938, -0.013600713573396206, 0.1043022871017456, -0.07132329046726227, -0.3555942475795746, -0.17018352448940277, 0.004000402055680752, 0.71538907289505, -0.32134029269218445, -0.10707774758338928, 0.1954294741153717, -0.12242379784584045, -0.01052786037325859, 0.10307088494300842, -0.15593087673187256, 0.17434826493263245, 0.42915210127830505, 0.49469414353370667, -0.15356850624084473, -0.14368917047977448, 0.14299821853637695, -0.17919687926769257, -0.1567988097667694, -0.16360105574131012, -0.030178219079971313, -0.206967294216156, -0.33449482917785645, 0.005597859621047974, 0.34164172410964966, 0.04932887479662895, -0.04039500653743744, -0.14891529083251953, -0.010368965566158295, -0.10630130767822266, 0.048085857182741165, 0.25422680377960205, 0.3539981245994568, 0.032659925520420074, 0.15844036638736725, -0.13338546454906464, -0.046086154878139496, -0.1501508355140686, 0.43190664052963257, 0.049979012459516525, -0.15958085656166077, 0.16203999519348145, -0.17612457275390625, 0.1729821264743805, 0.16404423117637634, 0.08463788777589798, 0.013214252889156342, 0.13162130117416382, 0.07740520685911179, 0.1666337102651596, 0.15834350883960724, -0.0640433207154274, 0.0771380215883255, -0.17618721723556519, 0.17422780394554138, 0.15694847702980042, -0.09391950070858002, -0.215495765209198, 0.09285309910774231, -0.13900621235370636, -0.1759302318096161, 0.27680349349975586, 0.10449226200580597, 0.8484317064285278, -0.08762696385383606, 0.06193508207798004, -0.021110806614160538, -0.17053228616714478, 0.22695408761501312, -0.2716445326805115, 0.1482585370540619, -0.3964666426181793, -0.29933813214302063, 0.01764765940606594, -0.049741923809051514, -0.05129137635231018, 0.2474391609430313, -0.3505910038948059, 0.08231952786445618, 0.08231112360954285, 0.3269057273864746, 0.016511503607034683, 0.18673460185527802, 0.1828947812318802, -0.2710357904434204, 0.042293936014175415, 0.23690974712371826, 0.0086117684841156, -0.0034178122878074646, -0.2895328402519226, -0.38769155740737915, 0.08655399084091187, -0.23748546838760376, 0.0714832991361618, 0.060426563024520874, 0.01881248690187931, 0.4700459837913513, 0.2589438259601593, -0.005267605185508728, 0.1634790450334549, -0.03130706772208214, 0.1992790400981903, 0.1726561039686203, -0.10790391266345978, 0.31911376118659973, 0.2214471399784088, 0.33442091941833496, -0.0009800412226468325, 0.059311531484127045, 0.1693955659866333, -0.196024090051651, -0.05517379939556122, -0.06949015706777573, 0.006371474824845791, -0.1739034652709961, 0.010495632886886597, 0.00048738718032836914, -0.00448889285326004, -0.32171663641929626, 0.19394169747829437, 0.24594692885875702, -0.26060304045677185, -0.3621487319469452, 0.26921266317367554, -0.05273880809545517, -0.23682866990566254, 0.27761712670326233, 0.27404311299324036, -0.1909347027540207, 0.06092137098312378, 0.19677311182022095, 0.097537100315094, -0.10396997630596161, 0.2320564091205597, 0.04315412417054176, -0.2733341455459595, -0.38762739300727844, -0.09282656759023666, 0.016358330845832825, -0.4670907258987427, 0.3900454640388489, -0.2572647035121918, -0.3581989109516144, 0.03952309116721153, 0.278728723526001, 0.15942060947418213, 0.20510292053222656, -0.27069157361984253, 0.024770095944404602, -0.7655892968177795, 0.13402299582958221, -0.08892939984798431, 0.2984157204627991, -0.09902319312095642, 0.38480377197265625, -0.03283298388123512, 0.25049886107444763, -0.4961012899875641, 0.06910397112369537, -0.2526247501373291, 0.2918761372566223, -0.15911823511123657, -0.48939380049705505, -0.07957570254802704, -0.3520605266094208, 0.18725994229316711, 0.1685202419757843, -0.20308631658554077, -0.36802002787590027, 0.08520376682281494, 0.0901888981461525, 0.06303596496582031, -0.17973792552947998, -0.06674515455961227, 0.16445952653884888, -0.18580292165279388, 0.13564422726631165, 0.13897904753684998, -0.07555857300758362, 0.04320530965924263, 0.22988584637641907, 0.09200730919837952, -0.2664909064769745, -0.06497719883918762, 0.11967651546001434, 0.26848506927490234, 0.0027307122945785522, -0.09374736249446869, 0.09328166395425797, -0.18315783143043518, -0.13059833645820618, 0.18944601714611053, 0.1380663812160492, 0.22741957008838654, 0.14258268475532532, 0.33630484342575073, -0.17920136451721191, -0.13074477016925812, 0.3958682119846344, 0.13540175557136536, -0.05707082897424698, -0.256632000207901, -0.08809487521648407, 0.035558752715587616, 0.3793017566204071, -0.5214375257492065, -0.046012140810489655, 0.07569269835948944, -0.05049169808626175, 0.2291140854358673, -0.06479967385530472, 0.14336328208446503, -0.005482286214828491, 0.3260747492313385, 0.4608524441719055, 0.17331746220588684, -0.182356595993042, 0.23713058233261108, 0.16196654736995697, -0.05793683975934982, 0.00571991503238678, 0.37565454840660095, 0.2058665007352829, -0.02820240706205368, 0.20487920939922333, 0.06269175559282303, 0.15024670958518982, -0.20495900511741638, -0.07969464361667633, 0.3238113820552826, -0.06664218008518219, 0.17827342450618744, 0.008817240595817566, 0.08850201964378357, 0.03695700317621231, 0.43934980034828186, -0.16372475028038025, 0.00943012535572052, -0.17888960242271423, -0.1407838761806488, 0.14235317707061768, -0.4286811947822571, -0.07175522297620773, 0.25835075974464417, -0.1398092359304428, -0.0008743107318878174, -0.07850572466850281, 0.037287332117557526, 0.1388373225927353, 0.3849208354949951, 0.0785127654671669, 0.026132091879844666, -0.08426981419324875, 0.1517808735370636, 0.09621615707874298, 0.09486925601959229, -0.23863184452056885, 0.11417841911315918, 0.3127642869949341, -0.0816340297460556, 0.1703580617904663, 0.37473779916763306, 0.2982170283794403, 0.22219696640968323, -0.2502351701259613, 0.14425495266914368, 0.06135368347167969, -0.1724769026041031, -0.0651080459356308, -0.00747859850525856, -0.010647304356098175, 0.25615015625953674, 0.1923133134841919, 0.27994266152381897, -0.25653383135795593, -0.07487368583679199, -0.08388996124267578, 0.07097194343805313, 0.13750310242176056, 0.31444814801216125, 0.2629591226577759, -0.2664969563484192, 0.008930249139666557, -0.01022900640964508, -0.3321368098258972, -0.3559781312942505, 0.34619516134262085, -0.1432761549949646, 0.23052024841308594, -0.1751040667295456, 0.16009919345378876, 0.09811601042747498, 0.3768080770969391, 0.11586589366197586, -0.04044234752655029, -0.3545006513595581, -0.15651187300682068, -0.5662756562232971, 0.06969413161277771, 0.23367324471473694, 0.12983182072639465, 0.22679714858531952, 0.2315344363451004, 0.027460269629955292, -0.07142870128154755, 0.1748645156621933, -0.2770007252693176, -0.17373163998126984, -0.10738442838191986, -0.2607700526714325, 0.28234851360321045, -0.03192360699176788, -0.09392198920249939, 0.2491874396800995, -0.2671615779399872, 0.20831021666526794, 0.4839494824409485, 0.2622404396533966, -0.13487215340137482, -0.05566013604402542, 0.28283950686454773, 0.08911096304655075, -0.054515525698661804, 0.12018202245235443, 0.35922497510910034, -0.31162700057029724, 0.04958157241344452, 0.01842886209487915, -0.3571692705154419, -0.18968822062015533, -0.014345400035381317, 0.2970772087574005, 0.10879959166049957, 0.012232199311256409, -0.0397615022957325, -0.19504117965698242, -0.21240875124931335, -0.17078536748886108, 0.12015312165021896, -0.36085477471351624, 0.18321646749973297, -0.03225215524435043, 0.1315598487854004, -0.11353065073490143, 0.25355425477027893, 0.1511070430278778, 0.06402651220560074, -0.32335853576660156, -0.7392846941947937, 0.6127482652664185, -0.016180530190467834, -0.5391166806221008, -0.13033655285835266, 0.13120727241039276, 0.07779361307621002, 0.03891197592020035, -0.5121708512306213, -0.12440188229084015, 0.09365861862897873, -0.2756606340408325, -0.0036456286907196045, 0.1959589570760727, -0.12446123361587524, -0.018297307193279266, -0.13552172482013702, 0.3215298354625702, 0.21124178171157837, -0.10932985693216324, -0.34751373529434204, -0.1947633922100067 ]
https://github.com/huggingface/datasets/pull/2374
add `desc` to `tqdm` in `Dataset.map()`
Definitely @stas00. From what I could gather, you guys want more meaningful `.map` calls for all examples [here](https://github.com/huggingface/transformers/tree/master/examples/pytorch)?
Fixes #2330. Please let me know if anything is also required in this
18
text: add `desc` to `tqdm` in `Dataset.map()` Fixes #2330. Please let me know if anything is also required in this Definitely @stas00. From what I could gather, you guys want more meaningful `.map` calls for all examples [here](https://github.com/huggingface/transformers/tree/master/examples/pytorch)?
[ -0.03124229423701763, -0.471467524766922, 0.01419784501194954, 0.1605941653251648, 0.30102354288101196, -0.29032179713249207, 0.21300861239433289, 0.1739799529314041, -0.2107621431350708, -0.03557899594306946, -0.011239530518651009, 0.5544543862342834, -0.08414921909570694, 0.204339399933815, 0.08583725988864899, -0.3300783336162567, -0.13500377535820007, 0.15107682347297668, -0.6379801034927368, -0.09781165421009064, -0.22528423368930817, 0.4005482792854309, -0.04919210821390152, -0.0263044610619545, -0.7005797028541565, 0.008595302700996399, -0.08872789889574051, 0.4578211009502411, 0.21328753232955933, -0.39861297607421875, 0.11856944859027863, 0.10356390476226807, -0.06267452239990234, 0.4682939648628235, -0.00010553546599112451, 0.08198484778404236, 0.21025802195072174, -0.03790556639432907, 0.05460928753018379, 0.09047526121139526, 0.1862199902534485, -0.1479557305574417, 0.11664098501205444, -0.36683526635169983, -0.28215622901916504, 0.2383805513381958, -0.07302840054035187, 0.03556352108716965, 0.5226699709892273, 0.21974600851535797, 0.2810799479484558, 0.7191706895828247, -0.05184100940823555, -0.04134950414299965, 0.2968764007091522, 0.2474491000175476, -0.0522770881652832, -0.0006711501628160477, 0.5193114280700684, -0.04563555866479874, -0.35941368341445923, 0.4230097234249115, 0.16744285821914673, -0.05564787611365318, 0.4784560799598694, 0.03410805016756058, 0.07395011931657791, -0.36727115511894226, 0.06108134984970093, 0.2067863643169403, 0.32533958554267883, -0.17382481694221497, -0.11639760434627533, -0.13119393587112427, -0.27723678946495056, -0.15213333070278168, 0.16101789474487305, -0.2048434466123581, -0.1942896693944931, 0.014179056510329247, -0.40247344970703125, -0.020006775856018066, -0.14037209749221802, -0.057778120040893555, -0.14104440808296204, 0.24024751782417297, -0.14457902312278748, 0.002452351152896881, 0.11005440354347229, -0.16625714302062988, 0.11125681549310684, 0.033629514276981354, 0.06026355177164078, 0.0616062693297863, -0.18827657401561737, -0.3604922890663147, 0.2001798450946808, -0.13889658451080322, -0.08869685232639313, 0.004781607538461685, -0.09818167984485626, 0.2169739007949829, -0.008455432951450348, 0.1072654202580452, 0.1690681427717209, 0.03247471898794174, 0.0208166241645813, 0.44324132800102234, 0.2664337456226349, -0.1150631383061409, 0.05155453458428383, 0.09683848917484283, 0.22735509276390076, -0.4654240012168884, 0.24911807477474213, 0.2122327983379364, 0.2571524381637573, -0.0861244797706604, 0.2888590097427368, -0.09195642918348312, 0.0965508446097374, 0.07517721503973007, 0.05583494156599045, 0.30462273955345154, 0.33567681908607483, 0.08552591502666473, 0.1930035948753357, 0.17709869146347046, 0.002426290884613991, -0.1352401077747345, -0.22735995054244995, -0.01909555494785309, -0.1114875003695488, -0.11737791448831558, 0.050904858857393265, 0.07505941390991211, 0.264926940202713, -0.1669774204492569, 0.39542722702026367, 0.04485079646110535, -0.09204582870006561, 0.40102705359458923, 0.1903759241104126, 0.4212532937526703, -0.41403159499168396, 0.005271444097161293, 0.19021214544773102, 0.22368235886096954, -0.17887866497039795, 0.3300507962703705, -0.2610805928707123, -0.46629640460014343, -0.06604142487049103, 0.2293635457754135, -0.10404854267835617, -0.07424823194742203, 0.2058144062757492, 0.11045089364051819, 0.17891906201839447, -0.08412554860115051, 0.2520436644554138, -0.0768466666340828, -0.2813716530799866, -0.1469540297985077, 0.1136675551533699, 0.18807083368301392, 0.030320260673761368, -0.26209309697151184, 0.04783906042575836, 0.020270001143217087, 0.08846951276063919, 0.34236136078834534, -0.314865380525589, 0.23377391695976257, -0.13429483771324158, 0.21478839218616486, 0.28972721099853516, -0.20542791485786438, -0.47103196382522583, 0.27310246229171753, -0.33214229345321655, -0.07421853393316269, -0.12552779912948608, 0.17406725883483887, 0.19272463023662567, 0.06253781169652939, 0.19231286644935608, 0.021940529346466064, -0.09888294339179993, 0.3375323414802551, -0.38577717542648315, 0.08111219108104706, 0.13821405172348022, 0.09719131886959076, 0.24088147282600403, 0.10969185829162598, -0.07644706219434738, -0.2017289102077484, 0.10459024459123611, -0.23245450854301453, 0.0723826065659523, 0.33241093158721924, 0.24997109174728394, -0.31822913885116577, 0.043987877666950226, -0.2752167582511902, -0.6184225082397461, 0.13517937064170837, -0.29811909794807434, 0.29462647438049316, -0.3119133710861206, -0.23597246408462524, -0.23711717128753662, 0.07298311591148376, 0.024297866970300674, -0.3994014263153076, 0.18539251387119293, -0.20706874132156372, 0.02375374361872673, -0.25890812277793884, -0.13382412493228912, -0.16596776247024536, 0.1976904571056366, 0.18829616904258728, -0.030655447393655777, 0.36390945315361023, -0.19009506702423096, -0.12342901527881622, -0.13163724541664124, 0.1447243094444275, 0.22492578625679016, -0.29196062684059143, -0.22862496972084045, 0.36138716340065, -0.08749739080667496, -0.049323976039886475, -0.0525132492184639, 0.2242572009563446, 0.3191337287425995, -0.31678980588912964, -0.0408015176653862, 0.2544695734977722, -0.0696924552321434, -0.193485826253891, -0.22459378838539124, 0.3044903576374054, -0.047988247126340866, 0.11757346987724304, -0.05154496803879738, 0.28961676359176636, 0.00017254799604415894, -0.013470862060785294, -0.1340498924255371, -0.019702620804309845, -0.017101947218179703, 0.2612646222114563, 0.04481970891356468, 0.16108325123786926, -0.14538344740867615, 0.08979078382253647, 0.27382218837738037, -0.2577356994152069, 0.05447087436914444, 0.15988248586654663, -0.07647582143545151, 0.10776463896036148, 0.0315634161233902, 0.09237617254257202, 0.22595947980880737, 0.1858433485031128, 0.07423283904790878, 0.29883843660354614, -0.003381596878170967, -0.09461412578821182, 0.22538229823112488, 0.16425934433937073, 0.080770343542099, 0.04366205260157585, 0.07807108014822006, 0.042899563908576965, -0.3686853349208832, -0.07656257599592209, 0.14920386672019958, 0.1892000436782837, -0.2227567881345749, -0.018495729193091393, 0.027547305449843407, -0.21071243286132812, 0.07553505897521973, -0.08605176955461502, -0.3252255320549011, -0.32767125964164734, 0.1941816806793213, 0.02570398524403572, -0.47745561599731445, 0.4482351839542389, 0.14339958131313324, 0.3773060739040375, 0.2753470242023468, -0.05723520368337631, -0.1420803666114807, -0.4146220088005066, -0.16971278190612793, 0.09374570846557617, 0.014080124907195568, -0.0737498328089714, 0.08022589236497879, -0.39468666911125183, 0.2235102653503418, -0.33085712790489197, -0.5512915849685669, 0.18801690638065338, -0.017406564205884933, 0.11528662592172623, 0.31969183683395386, 0.16796764731407166, -0.0944686159491539, -0.11552952229976654, 0.24934014678001404, -0.3990842401981354, -0.2220664769411087, 0.1546178162097931, 0.08358211815357208, -0.2288927584886551, -0.356041818857193, -0.3193657398223877, 0.1558777242898941, -0.41939207911491394, 0.3252145051956177, -0.327201783657074, 0.27718037366867065, 0.4065020680427551, -0.20432566106319427, 0.18625061213970184, -0.16730938851833344, 0.015481198206543922, -0.08126658201217651, -0.35101452469825745, 0.3422982096672058, -0.19904741644859314, -0.5629441738128662, -0.13628306984901428, -0.28736263513565063, 0.11734361946582794, 0.0008442029356956482, -0.24741439521312714, -0.44614121317863464, -0.344252347946167, 0.33119478821754456, -0.01909373700618744, 0.25686872005462646, 0.4183734953403473, 0.07355870306491852, -0.1371639370918274, -0.0755171850323677, -0.34646356105804443, 0.12527142465114594, 0.33747750520706177, -0.04057518392801285, -0.19526410102844238, 0.34996047616004944, 0.04224548116326332, 0.7904595136642456, -0.001352766528725624, -0.05515231564640999, 0.091886505484581, -0.11868492513895035, 0.17559917271137238, 0.07184524089097977, -0.336450457572937, -0.04458053037524223, -0.26716920733451843, -0.08332226425409317, 0.11668109893798828, 0.04390589892864227, -0.0481393039226532, 0.10634101927280426, -0.1071949452161789, -0.09354549646377563, -0.5054962635040283, 0.17635659873485565, -0.0552339106798172, 0.20607802271842957, -0.0029665380716323853, -0.04597651958465576, -0.2578262686729431, 0.2591731548309326, 0.28336817026138306, 0.14506058394908905, 0.15414972603321075, -0.08666489273309708, -0.5009176135063171, 0.008161252364516258, -0.42029544711112976, 0.309231162071228, 0.11579925566911697, 0.06880337744951248, -0.20362229645252228, -0.1847568154335022, -0.038960814476013184, 0.11370554566383362, 0.7094655632972717, -0.09965158253908157, -0.03703811764717102, 0.11728587746620178, -0.4875014126300812, -0.21239539980888367, 0.09419767558574677, -0.20204676687717438, 0.35211479663848877, 0.4850563704967499, 0.4152390658855438, -0.23354017734527588, -0.233199805021286, 0.18433453142642975, -0.11111157387495041, -0.0984395295381546, -0.2711107134819031, -0.12347620725631714, -0.18842867016792297, -0.3990284502506256, 0.15391410887241364, 0.5190285444259644, -0.0012060357257723808, 0.09928324073553085, 0.09124988317489624, 0.26785317063331604, -0.15205460786819458, -0.11507768929004669, 0.15323173999786377, 0.24016901850700378, 0.14498601853847504, -0.05071660131216049, 0.053851865231990814, 0.029552679508924484, -0.3253691494464874, 0.599324643611908, -0.16922561824321747, -0.2427006959915161, 0.17650267481803894, 0.05722179636359215, 0.3137694001197815, 0.26834386587142944, 0.10260019451379776, -0.009664960205554962, 0.13392846286296844, 0.20296268165111542, -0.015574446879327297, 0.16895078122615814, 0.18959137797355652, 0.0899885892868042, 0.036731183528900146, 0.0651441365480423, 0.36317524313926697, -0.07529136538505554, -0.09313574433326721, 0.2572053074836731, 0.1525251865386963, -0.13231925666332245, 0.10998888313770294, 0.056635912507772446, 0.8429959416389465, -0.14588521420955658, 0.17965175211429596, 0.10350565612316132, -0.17937789857387543, 0.27028122544288635, -0.01896386593580246, 0.12607493996620178, -0.32015350461006165, -0.2581307888031006, 0.03228531777858734, -0.10615374147891998, -0.05204613506793976, 0.22313781082630157, -0.11621858179569244, 0.21895575523376465, 0.10260581970214844, 0.27013447880744934, 0.09230484813451767, 0.04105708748102188, 0.12604838609695435, -0.30855613946914673, -0.06399612873792648, 0.16577209532260895, 0.004640299826860428, 0.25071972608566284, -0.183511883020401, -0.3934122323989868, 0.09526355564594269, -0.41602206230163574, -0.09976866841316223, -0.010376157239079475, -0.33084070682525635, 0.20601747930049896, 0.5313341021537781, -0.02772633358836174, 0.13897055387496948, 0.1975187063217163, 0.06282364577054977, -0.014904133975505829, -0.2642767131328583, 0.05293956398963928, 0.00872010737657547, 0.3303455114364624, 0.040062207728624344, 0.15723536908626556, 0.287167489528656, -0.17875590920448303, -0.0681706964969635, 0.029234927147626877, -0.16843919456005096, -0.12193842977285385, 0.15391948819160461, -0.05412775278091431, -0.13605931401252747, -0.20831458270549774, 0.14709505438804626, 0.04975081607699394, -0.2506648302078247, -0.2650424540042877, 0.18389460444450378, 0.10849995911121368, -0.26763713359832764, -0.0456453412771225, 0.1159631609916687, -0.21944914758205414, 0.06069714576005936, 0.2074187695980072, -0.09111686050891876, 0.05424771457910538, 0.22308678925037384, 0.1552356779575348, -0.16179777681827545, -0.3185189366340637, 0.0019045546650886536, 0.08148155361413956, -0.37637341022491455, 0.3498309552669525, -0.15000216662883759, -0.31278568506240845, -0.1519518941640854, 0.44574087858200073, 0.19448170065879822, 0.046616993844509125, -0.12951137125492096, -0.09867119789123535, -0.8994808197021484, 0.16754646599292755, -0.07704535126686096, 0.33186402916908264, -0.012319525703787804, 0.44922682642936707, 0.07146349549293518, 0.20555932819843292, -0.4350954294204712, 0.03131368011236191, -0.08775316178798676, 0.13821916282176971, 0.1760215014219284, -0.4128324091434479, 0.21233566105365753, -0.13292302191257477, 0.0671534389257431, 0.12414533644914627, -0.343914270401001, -0.26503196358680725, -0.06709244847297668, 0.08144797384738922, 0.08083734661340714, -0.2249072790145874, 0.061662618070840836, 0.13810203969478607, -0.0737847238779068, -0.05758322775363922, 0.22628575563430786, 0.03394398093223572, -0.013113319873809814, 0.48988431692123413, 0.17051160335540771, -0.2619268596172333, -0.07188978791236877, -0.03468036651611328, 0.019668959081172943, -0.08769023418426514, -0.12012708187103271, 0.027849581092596054, -0.20237281918525696, -0.07153388857841492, 0.11956408619880676, 0.11316148191690445, 0.11169516295194626, -0.033218175172805786, 0.40315309166908264, -0.15910086035728455, -0.18226097524166107, 0.0173808541148901, 0.35214781761169434, -0.1622147113084793, -0.3178168833255768, 0.1363622397184372, -0.09894899278879166, 0.27065309882164, -0.42102381587028503, -0.06861868500709534, 0.12594227492809296, 0.018064092844724655, 0.35992613434791565, 0.21697717905044556, 0.014567334204912186, 0.0851903110742569, 0.37907111644744873, 0.22991010546684265, 0.10524208098649979, -0.2166368067264557, 0.2781814634799957, 0.19428932666778564, -0.16483862698078156, 0.09043274074792862, 0.561043918132782, 0.13850748538970947, 0.14071710407733917, -0.08098770678043365, 0.02160600572824478, 0.26234233379364014, -0.2091502845287323, 0.016780909150838852, 0.4596691131591797, -0.09298032522201538, 0.18943741917610168, -0.06015501916408539, 0.189466655254364, 0.06845096498727798, 0.09396077692508698, 0.06469975411891937, -0.24198992550373077, -0.2981404960155487, -0.18833911418914795, 0.22125355899333954, -0.4454540014266968, -0.042303428053855896, 0.39032474160194397, -0.06190476194024086, 0.04891175031661987, -0.14884980022907257, -0.1487036794424057, -0.0009866654872894287, 0.3952668011188507, -0.07145725190639496, 0.02271430194377899, -0.07916345447301865, -0.18052548170089722, 0.04574442282319069, 0.29469209909439087, -0.22982804477214813, 0.23492416739463806, 0.27136367559432983, -0.24966925382614136, 0.0678989440202713, 0.3666267395019531, 0.3342987298965454, 0.23579566180706024, -0.3204450309276581, 0.16614273190498352, -0.06980079412460327, -0.07400891929864883, 0.08357495814561844, 0.15041474997997284, -0.11908836662769318, 0.05084496736526489, 0.2681688070297241, 0.1650044173002243, -0.23815365135669708, 0.10589215159416199, -0.1867830753326416, 0.15989598631858826, -0.04802561178803444, 0.44072410464286804, -0.014493286609649658, -0.30967116355895996, -0.06648154556751251, -0.12271099537611008, -0.2893494665622711, -0.2940261662006378, 0.2393708974123001, -0.1316199004650116, 0.22058087587356567, -0.2168993055820465, 0.14093001186847687, 0.09775659441947937, 0.5110234022140503, 0.230824813246727, 0.07615843415260315, -0.30089178681373596, 0.003104008734226227, -0.594794511795044, 0.08832709491252899, 0.12959064543247223, -0.08267728984355927, 0.4331013560295105, -0.1487150490283966, 0.09531386196613312, 0.0899118036031723, 0.20193830132484436, -0.3410032391548157, -0.33436399698257446, -0.2196689248085022, -0.32088008522987366, 0.1548614650964737, -0.28326690196990967, -0.01089540682733059, 0.33183056116104126, -0.1890276074409485, 0.13493883609771729, 0.44850781559944153, 0.14539536833763123, -0.1242574006319046, 0.14907637238502502, -0.08560680598020554, 0.041318148374557495, -0.15938515961170197, 0.19308730959892273, 0.2627342939376831, -0.15894007682800293, 0.023832732811570168, 0.09901147335767746, -0.3489339351654053, -0.15018780529499054, 0.03874075412750244, 0.10311943292617798, 0.16207341849803925, -0.025336045771837234, -0.337760329246521, -0.4201996624469757, -0.23833507299423218, 0.033787235617637634, -0.048534542322158813, -0.30242785811424255, 0.39589425921440125, -0.10095773637294769, 0.09818028658628464, 0.06162035092711449, 0.36595773696899414, 0.058692850172519684, -0.03127868101000786, -0.2575870752334595, -0.5766714811325073, 0.8680516481399536, -0.37796175479888916, -0.38970518112182617, 0.03890964016318321, 0.2069554179906845, 0.08319985866546631, -0.07153871655464172, -0.5201478004455566, -0.13304342329502106, 0.1800530105829239, -0.1765265166759491, -0.2512569725513458, 0.2785274088382721, -0.17906956374645233, -0.22185035049915314, -0.014370353892445564, 0.7193155288696289, -0.007493786513805389, -0.0850745141506195, -0.24829965829849243, -0.3659048080444336 ]
https://github.com/huggingface/datasets/pull/2374
add `desc` to `tqdm` in `Dataset.map()`
That's exactly right, @bhavitvyamalik Perhaps the best approach is to do one example, see that other maintainers agree on it. and then replicate to other.
Fixes #2330. Please let me know if anything is also required in this
25
text: add `desc` to `tqdm` in `Dataset.map()` Fixes #2330. Please let me know if anything is also required in this That's exactly right, @bhavitvyamalik Perhaps the best approach is to do one example, see that other maintainers agree on it. and then replicate to other.
[ -0.09395109862089157, -0.01846098154783249, -0.12449607253074646, 0.08579176664352417, 0.31409746408462524, -0.3574010133743286, 0.36281800270080566, 0.30615949630737305, -0.17202125489711761, 0.24389100074768066, -0.00008383486419916153, 0.5853174924850464, 0.06044100224971771, 0.17955633997917175, -0.0233791321516037, 0.18287602066993713, -0.12347478419542313, 0.21240860223770142, -0.45406702160835266, -0.015914026647806168, -0.20797626674175262, 0.18309244513511658, 0.0601978600025177, -0.07585568726062775, -0.28348612785339355, 0.0036881286650896072, 0.14351971447467804, 0.48382067680358887, -0.0016407594084739685, -0.4823285639286041, 0.014304867014288902, 0.14332562685012817, -0.17401982843875885, 0.20390936732292175, -0.00009614323789719492, 0.1723909229040146, 0.09656542539596558, -0.043612267822027206, 0.1234646737575531, 0.3812704086303711, -0.18948692083358765, -0.2062080353498459, -0.0623587965965271, -0.3394971191883087, -0.1924491822719574, 0.27530473470687866, -0.1930002123117447, -0.06601548939943314, 0.3791443109512329, 0.1507590115070343, 0.38332659006118774, 0.33092066645622253, -0.13752292096614838, -0.10516554117202759, 0.14862942695617676, -0.18924705684185028, 0.027439558878540993, 0.06740164756774902, 0.3884395956993103, 0.007367480546236038, -0.3733874559402466, 0.6776847839355469, 0.16201908886432648, 0.17353548109531403, 0.21875, -0.061619825661182404, 0.21479952335357666, -0.11367331445217133, 0.18316301703453064, 0.12927287817001343, 0.44901394844055176, -0.1728677749633789, -0.07145130634307861, 0.060597099363803864, -0.07150750607252121, -0.16696491837501526, 0.29298314452171326, -0.2626260221004486, -0.04100188612937927, 0.1361924111843109, -0.23714905977249146, -0.10652528703212738, -0.1391185075044632, -0.1539858877658844, -0.29071107506752014, 0.15814486145973206, -0.06773664057254791, -0.16768628358840942, -0.1357439160346985, -0.28267645835876465, 0.21792040765285492, 0.12412288784980774, -0.052248869091272354, -0.14800116419792175, -0.04103636369109154, -0.38912975788116455, 0.2458721399307251, -0.19256159663200378, 0.14390066266059875, -0.06471759080886841, 0.09189395606517792, 0.3389715254306793, -0.054839055985212326, 0.1076873391866684, -0.05170273408293724, -0.12364333868026733, 0.14999502897262573, 0.18270058929920197, 0.48357540369033813, -0.0503106527030468, -0.3180801272392273, 0.03492280840873718, 0.22872868180274963, -0.4568043649196625, 0.26411116123199463, 0.305681049823761, 0.08049343526363373, -0.22370819747447968, -0.010759567841887474, 0.1015523299574852, 0.17049455642700195, 0.12643714249134064, -0.012104946188628674, 0.3865450918674469, 0.29973649978637695, -0.06279834359884262, 0.07919246703386307, 0.0396476686000824, -0.09998194128274918, -0.3378857672214508, -0.24740712344646454, -0.04777148738503456, -0.010094761848449707, -0.08170197159051895, 0.10684169828891754, 0.21334822475910187, 0.13612669706344604, -0.02668542042374611, -0.009187273681163788, 0.08462035655975342, 0.033843763172626495, 0.24002455174922943, 0.23326006531715393, 0.29246461391448975, -0.10883262753486633, -0.021872008219361305, 0.13448593020439148, -0.10972164571285248, -0.1137952208518982, 0.18350934982299805, -0.14770299196243286, -0.2832907736301422, -0.15499642491340637, 0.37559160590171814, 0.24644337594509125, -0.08375980705022812, 0.522595226764679, 0.18007433414459229, 0.11367147415876389, -0.306249737739563, 0.1754782497882843, 0.18539956212043762, -0.1621568500995636, -0.19137129187583923, 0.11311496049165726, 0.2644171714782715, -0.3290565609931946, -0.02771180123090744, -0.04952552914619446, -0.023378465324640274, 0.09054823219776154, 0.08863478899002075, -0.20153690874576569, 0.15354512631893158, -0.12773315608501434, 0.3040785789489746, 0.3631686270236969, -0.1970277726650238, -0.43022802472114563, 0.23886068165302277, -0.40495455265045166, -0.27401164174079895, 0.010023169219493866, 0.18668629229068756, 0.17718787491321564, -0.02964903973042965, 0.2518746554851532, 0.04541255533695221, -0.11294141411781311, 0.2739132344722748, -0.5721085667610168, 0.028851395472884178, -0.005192343145608902, -0.09294691681861877, 0.20313005149364471, 0.0258830264210701, 0.2603365182876587, -0.22090257704257965, 0.10309167206287384, -0.19716402888298035, 0.07254242897033691, 0.2594665288925171, 0.363418310880661, -0.32358723878860474, -0.10712946206331253, -0.18588745594024658, -0.4372994303703308, 0.08788391202688217, -0.1840369999408722, 0.10533260554075241, 0.045748498290777206, -0.40967822074890137, -0.35470110177993774, -0.0725419893860817, 0.018308237195014954, -0.10362930595874786, 0.3949544131755829, 0.06788210570812225, -0.33405908942222595, -0.19152137637138367, -0.046892061829566956, -0.18820016086101532, 0.060002319514751434, 0.07865097373723984, 0.09823496639728546, 0.1452302634716034, -0.2277180701494217, -0.07842849940061569, 0.06977144628763199, 0.0024317950010299683, 0.22569361329078674, -0.10622342675924301, -0.16022926568984985, 0.3930799663066864, -0.036503780633211136, 0.015485979616641998, 0.1231444776058197, 0.15453431010246277, 0.11473213136196136, -0.08749569952487946, -0.14250671863555908, 0.056280992925167084, -0.0062728929333388805, -0.031453780829906464, -0.19860664010047913, 0.34750181436538696, -0.007939685136079788, -0.053113944828510284, -0.005876131355762482, 0.19788949191570282, 0.2800033986568451, -0.1790667474269867, 0.003770558163523674, -0.4654998183250427, -0.1622253954410553, 0.4228699505329132, -0.20689497888088226, 0.18116708099842072, -0.32024577260017395, 0.3086256980895996, 0.11617635190486908, 0.11493752896785736, 0.18877145648002625, -0.09093796461820602, 0.04197428748011589, 0.01757589355111122, 0.10449888557195663, 0.23100684583187103, 0.226756751537323, 0.2831217348575592, 0.1386043131351471, 0.04193983972072601, 0.05727970227599144, -0.19080330431461334, 0.3243928849697113, -0.04204191267490387, 0.08128294348716736, 0.3011114001274109, 0.17418017983436584, -0.12220510095357895, -0.40100449323654175, 0.04174881801009178, 0.12879978120326996, 0.1579301506280899, -0.4181802272796631, -0.20144785940647125, -0.29182231426239014, -0.2495594620704651, -0.005445119924843311, -0.03362799435853958, -0.16861625015735626, -0.22006233036518097, 0.3833087086677551, -0.13523277640342712, -0.5943660140037537, 0.39043405652046204, -0.12598052620887756, 0.43003565073013306, 0.11957858502864838, 0.2001596987247467, 0.0087856724858284, -0.3048054575920105, -0.1348477303981781, 0.19709379971027374, 0.20693129301071167, 0.08468575775623322, 0.23699040710926056, -0.2820635735988617, 0.14122386276721954, -0.3664788603782654, -0.5536428093910217, 0.11989861726760864, 0.09769661724567413, 0.2063935250043869, 0.27777937054634094, 0.22428591549396515, -0.16288459300994873, -0.05741039663553238, 0.11628774553537369, -0.1340477019548416, -0.14173051714897156, 0.005274945870041847, 0.08012127131223679, 0.03600739315152168, -0.3623778522014618, -0.3759300112724304, 0.10554441809654236, -0.458970308303833, -0.06080281734466553, -0.2557929754257202, 0.2784090042114258, 0.18046855926513672, -0.15225917100906372, -0.015756461769342422, -0.2020912617444992, 0.010157642886042595, -0.2738785445690155, -0.3311338722705841, 0.3140571713447571, -0.3779340982437134, -0.376218318939209, 0.0589260496199131, -0.1787826120853424, 0.2029164433479309, 0.04752061516046524, -0.18284818530082703, -0.38945522904396057, -0.03896002471446991, 0.34604987502098083, -0.06550567597150803, 0.05742443725466728, 0.3010403513908386, 0.13538040220737457, -0.31545811891555786, -0.20724740624427795, -0.32460084557533264, 0.16663485765457153, 0.10279558598995209, -0.04005732387304306, -0.35980045795440674, 0.17521587014198303, 0.04188293591141701, 0.3675358295440674, -0.07163761556148529, 0.008886236697435379, 0.2065514475107193, -0.043946899473667145, 0.3621059060096741, 0.08951489627361298, -0.07674004882574081, 0.03650018572807312, 0.10481920838356018, -0.13410010933876038, 0.3903356194496155, -0.09094489365816116, -0.06862546503543854, 0.06989406049251556, 0.04446578398346901, -0.3268396854400635, -0.5211916565895081, 0.03706149011850357, -0.07823730260133743, 0.24981993436813354, 0.23717445135116577, -0.03993596136569977, -0.1836761236190796, 0.17977160215377808, 0.18512192368507385, 0.16799411177635193, -0.04372980445623398, -0.24770240485668182, -0.4252820312976837, 0.09467499703168869, -0.19169515371322632, 0.3240174353122711, 0.040988992899656296, 0.12251795083284378, -0.14130637049674988, -0.26827383041381836, -0.06912380456924438, -0.02614019066095352, 0.5009546279907227, -0.41232967376708984, 0.08638578653335571, 0.1409837156534195, -0.10541870445013046, -0.01693582534790039, 0.07927361130714417, -0.12855906784534454, 0.29623374342918396, 0.27362558245658875, 0.3901039659976959, -0.20506563782691956, 0.05839714780449867, 0.09074951708316803, -0.15342587232589722, -0.19624033570289612, -0.06921297311782837, 0.03129718825221062, -0.20229998230934143, -0.32410043478012085, 0.21647775173187256, 0.13009150326251984, 0.04204128682613373, 0.12979656457901, -0.16435927152633667, 0.05150793492794037, -0.08797238022089005, -0.025827273726463318, 0.35180824995040894, 0.34672030806541443, 0.14021292328834534, 0.21052365005016327, -0.18999524414539337, 0.003561645746231079, 0.017401156947016716, 0.350544273853302, -0.20880535244941711, 0.03365891054272652, -0.010051950812339783, -0.289994478225708, 0.23509149253368378, 0.2903745174407959, 0.06412269920110703, 0.04332135245203972, 0.030460231006145477, 0.04039858654141426, 0.20391085743904114, 0.16475364565849304, -0.013457836583256721, -0.024101994931697845, 0.029904648661613464, 0.004719333723187447, 0.1583927571773529, -0.0753033459186554, -0.2730085849761963, 0.17750997841358185, 0.025984153151512146, -0.20751239359378815, 0.043116528540849686, 0.32314378023147583, 0.7958056330680847, -0.021900959312915802, 0.05536128580570221, 0.01585192047059536, -0.20386524498462677, 0.1740047186613083, -0.043979279696941376, 0.060713957995176315, -0.3699772357940674, -0.24724309146404266, 0.021938035264611244, 0.01871628686785698, 0.12186425924301147, 0.2814868092536926, -0.21998633444309235, 0.06575173139572144, 0.09755849838256836, 0.23941944539546967, -0.0932873785495758, -0.024909567087888718, -0.02767113782465458, -0.2129002958536148, -0.13766136765480042, 0.2566644549369812, -0.026681765913963318, -0.1792151927947998, -0.24774053692817688, -0.3197394013404846, 0.15837372839450836, -0.19825755059719086, -0.00359538197517395, -0.15573203563690186, -0.39439669251441956, 0.12705209851264954, 0.2162136733531952, -0.0773036926984787, -0.025328602641820908, -0.03697424754500389, 0.20360516011714935, 0.19374980032444, -0.11269788444042206, 0.1574573516845703, 0.2694145143032074, 0.4464660584926605, 0.023846901953220367, 0.04394836351275444, 0.19133411347866058, -0.23122826218605042, 0.03156035393476486, -0.041862644255161285, -0.005170772783458233, -0.012963678687810898, 0.02148599922657013, 0.017453428357839584, 0.01141398772597313, -0.1383402943611145, 0.17264030873775482, 0.08021093904972076, -0.04558961093425751, -0.4195919930934906, 0.2831934094429016, -0.03983563929796219, -0.09036902338266373, 0.17036491632461548, 0.168387308716774, -0.1465722769498825, 0.03886643797159195, 0.10458959639072418, -0.09037206321954727, 0.176336869597435, 0.16012811660766602, -0.09503865987062454, -0.2757831811904907, -0.5106289386749268, 0.0005802065134048462, -0.028428588062524796, -0.11732602119445801, 0.34913158416748047, -0.0778420940041542, -0.33581849932670593, 0.032425228506326675, 0.45307689905166626, 0.07948090881109238, 0.08293847739696503, -0.08733904361724854, -0.11039581894874573, -0.5777299404144287, 0.14158016443252563, -0.1472518891096115, 0.30485954880714417, -0.22876155376434326, 0.4129801094532013, -0.15953338146209717, 0.09572173655033112, -0.5424143075942993, 0.07563067227602005, -0.14490967988967896, 0.11759089678525925, -0.1515066921710968, -0.036662422120571136, -0.13302157819271088, -0.20651525259017944, 0.18757613003253937, 0.2360507696866989, -0.24717095494270325, -0.39515429735183716, 0.0651344358921051, 0.09856276959180832, 0.00040393322706222534, -0.06479547917842865, 0.14084939658641815, -0.004876919090747833, -0.11092329025268555, -0.006497645750641823, 0.05188563093543053, 0.018360931426286697, -0.0013982132077217102, 0.25787320733070374, 0.03380603343248367, -0.05067463964223862, 0.056703537702560425, 0.05415267497301102, 0.10903514921665192, 0.0167618989944458, -0.14298665523529053, 0.035786230117082596, -0.21732604503631592, -0.07960634678602219, 0.37394899129867554, 0.14007781445980072, 0.03291533142328262, 0.15003111958503723, 0.20513221621513367, -0.09240943193435669, -0.08392105996608734, 0.4491790533065796, 0.24016889929771423, 0.05876493826508522, -0.369680792093277, -0.08659649640321732, 0.0616278238594532, 0.45224589109420776, -0.46453434228897095, 0.0770082175731659, 0.05601984262466431, -0.20770080387592316, 0.3517656922340393, 0.1573207974433899, 0.16190886497497559, -0.16692252457141876, 0.08841955661773682, 0.3834800124168396, -0.06946171820163727, -0.26177287101745605, 0.005968177691102028, 0.15807126462459564, -0.16752594709396362, 0.037562768906354904, 0.3980368673801422, 0.23167775571346283, 0.05821000412106514, 0.15853160619735718, 0.16391292214393616, 0.2367391735315323, -0.06078028678894043, -0.13946004211902618, 0.19240374863147736, -0.14728236198425293, 0.41700977087020874, 0.057164452970027924, 0.10768332332372665, 0.07310949265956879, 0.38927164673805237, -0.09955700486898422, -0.025826793164014816, -0.2514118552207947, -0.1609656810760498, 0.084291972219944, -0.3884899914264679, -0.05379277467727661, 0.0007132887840270996, -0.11778901517391205, 0.011879004538059235, -0.06812640279531479, -0.11006221175193787, 0.16802242398262024, 0.39222094416618347, 0.03415828198194504, 0.021472230553627014, -0.41359180212020874, 0.039891064167022705, -0.013454556465148926, 0.16192857921123505, -0.28275710344314575, 0.11919617652893066, 0.19050103425979614, -0.17853808403015137, 0.3480377793312073, 0.27533966302871704, 0.27190545201301575, 0.20624947547912598, -0.10716815292835236, 0.020872801542282104, -0.13388541340827942, -0.06877610087394714, -0.2522144913673401, 0.012937159277498722, -0.035344094038009644, 0.15972061455249786, 0.2798163890838623, 0.24602383375167847, -0.333351731300354, 0.09423080831766129, 0.11907534301280975, 0.06360214948654175, 0.038831304758787155, 0.07146129012107849, 0.22699902951717377, -0.18257412314414978, -0.020998667925596237, -0.1279054582118988, -0.21665528416633606, -0.3775029182434082, 0.22387757897377014, -0.09463436156511307, 0.22235873341560364, -0.19129689037799835, 0.18899881839752197, 0.18227635324001312, 0.38972723484039307, -0.02498326078057289, -0.331832617521286, -0.2397434413433075, -0.21403762698173523, -0.8892602920532227, 0.16968940198421478, 0.06755687296390533, -0.14016257226467133, 0.17203529179096222, 0.12362924218177795, 0.14029106497764587, -0.059655047953128815, 0.21265190839767456, -0.14329877495765686, -0.19122058153152466, -0.04093436151742935, -0.2969925105571747, 0.04178202524781227, -0.07572774589061737, -0.19620731472969055, 0.2314215898513794, -0.2984699010848999, 0.29932042956352234, 0.2513224482536316, 0.28563931584358215, 0.07201825082302094, 0.02105090767145157, 0.19769158959388733, 0.16936025023460388, 0.21210956573486328, 0.16445793211460114, 0.30675140023231506, -0.3857334554195404, -0.024121012538671494, -0.02556386962532997, -0.2697785794734955, -0.2423771321773529, 0.19164453446865082, 0.19515885412693024, 0.13229820132255554, 0.08205651491880417, -0.05841619893908501, -0.19310946762561798, -0.06669114530086517, -0.04631498456001282, 0.16199080646038055, -0.1668880432844162, 0.33632850646972656, 0.08110073953866959, 0.09270468354225159, -0.04496527835726738, 0.22199895977973938, 0.09098862111568451, 0.14433327317237854, -0.326987087726593, -0.7736390233039856, 0.5710102319717407, -0.12799200415611267, -0.4261654317378998, -0.10959141701459885, 0.4315313696861267, 0.04555913805961609, 0.007437161169946194, -0.4538601040840149, -0.0862249806523323, 0.24254505336284637, -0.16572636365890503, -0.1250598132610321, 0.2834247946739197, -0.2168160229921341, -0.1124856024980545, -0.13268090784549713, 0.36426034569740295, 0.17202973365783691, -0.13751591742038727, -0.25882840156555176, -0.2630842924118042 ]
https://github.com/huggingface/datasets/pull/2372
ConvQuestions benchmark added
Thanks for your helpful comments and suggestions! :) I integrated the additional fields, and extended some of the README/dataset card. And I actually realized that we had the cc-by-4.0 for the dataset, so this was also changed.
Hello, I would like to integrate our dataset on conversational QA. The answers are grounded in the KG. The work was published in CIKM 2019 (https://dl.acm.org/doi/10.1145/3357384.3358016). We hope for further research on how to deal with the challenges of factoid conversational QA. Thanks! :)
37
text: ConvQuestions benchmark added Hello, I would like to integrate our dataset on conversational QA. The answers are grounded in the KG. The work was published in CIKM 2019 (https://dl.acm.org/doi/10.1145/3357384.3358016). We hope for further research on how to deal with the challenges of factoid conversational QA. Thanks! :) Thanks for your helpful comments and suggestions! :) I integrated the additional fields, and extended some of the README/dataset card. And I actually realized that we had the cc-by-4.0 for the dataset, so this was also changed.
[ -0.07451266795396805, -0.0994630977511406, -0.167731374502182, 0.03575713187456131, -0.20607520639896393, -0.16134023666381836, 0.2100820690393448, 0.40672990679740906, -0.40826210379600525, -0.027480214834213257, 0.04295438528060913, 0.31386154890060425, 0.00623776949942112, 0.4403133988380432, 0.08313107490539551, 0.024913903325796127, -0.026924200356006622, -0.004716426134109497, -0.12554539740085602, 0.0038963519036769867, -0.17942672967910767, -0.12397527694702148, -0.10463084280490875, -0.08801573514938354, -0.20722757279872894, -0.28661736845970154, -0.127835214138031, 0.06444810330867767, -0.14213763177394867, -0.3253213167190552, -0.03615357726812363, 0.6485914587974548, -0.2422836422920227, 0.2676721215248108, -0.00010384918277850375, -0.40535908937454224, 0.20702315866947174, -0.25911176204681396, -0.3282874524593353, 0.006963863968849182, -0.34258344769477844, -0.04110853374004364, -0.14996226131916046, 0.05873919278383255, -0.15337222814559937, 0.03194086626172066, -0.1607283651828766, -0.01592293754220009, 0.17385515570640564, 0.20710818469524384, 0.2323562204837799, 0.023629140108823776, 0.060042645782232285, 0.0827503427863121, 0.04248378798365593, -0.04968145489692688, -0.14848509430885315, 0.29193630814552307, 0.36009901762008667, 0.04505426436662674, -0.26085197925567627, 0.2961852252483368, 0.20202341675758362, -0.2828066051006317, 0.28187811374664307, -0.45449453592300415, -0.06362221390008926, -0.18135668337345123, 0.20163384079933167, 0.44471392035484314, 0.3746613562107086, -0.07072115689516068, -0.22072234749794006, 0.0010842904448509216, 0.26150327920913696, -0.275981605052948, -0.0231451615691185, -0.2393037974834442, -0.288261353969574, -0.03928758576512337, -0.34240657091140747, -0.05543701723217964, -0.4202985167503357, -0.16598308086395264, 0.05870269238948822, 0.3105461001396179, 0.06117069721221924, -0.09289475530385971, 0.046255916357040405, -0.1746261864900589, 0.09078285843133926, 0.08743955940008163, -0.19607175886631012, -0.12650752067565918, -0.13543733954429626, -0.18259479105472565, 0.4620390236377716, 0.1700194776058197, 0.41482844948768616, -0.06641147285699844, -0.05230473726987839, 0.2365911304950714, -0.1393880993127823, -0.0023644231259822845, 0.2056414932012558, 0.20146602392196655, 0.3415018916130066, -0.058398324996232986, 0.09730812162160873, 0.1443532258272171, -0.04196415841579437, 0.05069926008582115, -0.052671678364276886, 0.24263636767864227, -0.3905736207962036, 0.07462982833385468, -0.09027005732059479, -0.23336929082870483, -0.2785058617591858, 0.08111703395843506, 0.06303740292787552, -0.040820859372615814, -0.16498152911663055, 0.10686872154474258, -0.008122207596898079, 0.24004068970680237, -0.07148975133895874, 0.1767299920320511, 0.10595137625932693, -0.35259079933166504, 0.010667448863387108, -0.09992356598377228, 0.16976487636566162, 0.08483792096376419, 0.12701736390590668, 0.03200872987508774, 0.16368915140628815, -0.2411053627729416, 0.2546389102935791, 0.10276058316230774, 0.02119589038193226, -0.17644116282463074, 0.27425169944763184, -0.0658307671546936, 0.0928911417722702, -0.2408134788274765, -0.1452440619468689, 0.3196282982826233, -0.14917674660682678, 0.04609701782464981, 0.05339948832988739, -0.057507630437612534, -0.10807721316814423, 0.13982656598091125, 0.0025716889649629593, -0.19775433838367462, 0.26486271619796753, 0.6798332929611206, -0.13240516185760498, -0.3411620855331421, 0.09920885413885117, 0.0820750892162323, -0.233620747923851, -0.02386520802974701, 0.13400690257549286, 0.08685925602912903, -0.4236411452293396, 0.06850637495517731, 0.28306692838668823, 0.12189336121082306, -0.1742430329322815, 0.12812307476997375, -0.19415229558944702, 0.27409544587135315, -0.047699935734272, 0.13938522338867188, -0.1465047299861908, -0.4699646532535553, -0.4180735945701599, 0.049350615590810776, 0.016278177499771118, 0.130519837141037, 0.08578512072563171, 0.022991014644503593, 0.42110252380371094, -0.1738976389169693, 0.06503210216760635, 0.2647424042224884, -0.1644047498703003, -0.1426665037870407, -0.14378754794597626, -0.3901556730270386, 0.3458375930786133, 0.009736813604831696, -0.08101719617843628, -0.38107678294181824, 0.2478371560573578, -0.4357108473777771, 0.04022325575351715, -0.08326345682144165, 0.004157100338488817, 0.18058954179286957, 0.4337638020515442, -0.3687475919723511, 0.24670138955116272, 0.22473272681236267, 0.006052609533071518, 0.07321622967720032, 0.09583920240402222, 0.4982204735279083, 0.23778660595417023, -0.11449054628610611, -0.5028884410858154, -0.044042691588401794, 0.015234261751174927, -0.3276360332965851, 0.22878497838974, -0.04541332274675369, -0.16312089562416077, 0.3516380190849304, 0.059361089020967484, 0.3467584550380707, -0.02694609761238098, -0.26922842860221863, 0.10865834355354309, -0.14771577715873718, -0.11073627322912216, -0.02089589461684227, 0.19613690674304962, 0.5457748770713806, -0.059053532779216766, 0.19289369881153107, -0.05505623668432236, 0.3352038264274597, -0.13247936964035034, 0.5011423826217651, 0.42913445830345154, 0.08487560600042343, 0.14887146651744843, -0.2782842516899109, -0.044117845594882965, -0.33096715807914734, 0.10633700340986252, -0.2078917920589447, -0.29316073656082153, 0.3760729432106018, 0.27724000811576843, 0.05920028313994408, 0.05765630304813385, -0.11379162967205048, 0.2276782989501953, 0.07165813446044922, -0.34503594040870667, 0.20844191312789917, 0.08165597915649414, -0.1405228078365326, 0.14561627805233002, 0.07976415008306503, 0.04706069082021713, 0.3223888576030731, 0.36236339807510376, 0.011344768106937408, 0.174361914396286, 0.20795828104019165, -0.2409481406211853, -0.5351500511169434, 0.2797909080982208, -0.21770988404750824, 0.047755248844623566, 0.332278847694397, -0.1025647521018982, 0.05588928610086441, 0.10302460193634033, 0.00499214231967926, 0.2772945165634155, 0.15723839402198792, 0.038205619901418686, 0.32014891505241394, 0.3925495743751526, 0.18024520576000214, -0.10038666427135468, -0.08551356196403503, -0.027521047741174698, 0.07126065343618393, -0.16226033866405487, -0.14746618270874023, -0.021526774391531944, -0.17076033353805542, 0.534615159034729, -0.21763765811920166, -0.19743980467319489, -0.38379713892936707, 0.17746740579605103, -0.12666882574558258, 0.02441396936774254, 0.37413761019706726, 0.05590078607201576, 0.7984423637390137, 0.21130385994911194, 0.2326783984899521, 0.012845203280448914, -0.44850197434425354, -0.20679911971092224, 0.22716188430786133, 0.03085140883922577, 0.24629029631614685, 0.5844258666038513, -0.06480754911899567, 0.25943392515182495, 0.00923230778425932, -0.5968520641326904, 0.1936866194009781, -0.21705640852451324, 0.4897913634777069, 0.12371399253606796, 0.015009008347988129, -0.40701454877853394, -0.12209012359380722, -0.18522748351097107, 0.06336691975593567, -0.25967052578926086, -0.03727399557828903, -0.36583027243614197, -0.0714002251625061, -0.20687371492385864, -0.5631853342056274, 0.013096526265144348, -0.40722042322158813, 0.4753989577293396, -0.08034952729940414, 0.036256033927202225, 0.3252085745334625, 0.02967996895313263, 0.1906132847070694, -0.29147815704345703, -0.15321514010429382, -0.3118478059768677, -0.2850644886493683, 0.22549402713775635, -0.05122056230902672, -0.24497614800930023, -0.07845545560121536, 0.07413698732852936, 0.544269859790802, -0.3646883964538574, -0.39929813146591187, 0.062398511916399, 0.2175721526145935, 0.4559994339942932, 0.0944632962346077, -0.1086370050907135, 0.11623828113079071, -0.09364333003759384, -0.1402253955602646, -0.13356496393680573, -0.10531549155712128, 0.3191854953765869, 0.3613319396972656, 0.30387917160987854, 0.14795362949371338, 0.44115450978279114, 0.3808158338069916, 0.5484712719917297, -0.0485292449593544, 0.15941521525382996, -0.01883126050233841, -0.1073974147439003, 0.3903453052043915, 0.07505081593990326, -0.21855436265468597, 0.39777761697769165, -0.07550671696662903, -0.09212338179349899, 0.43868136405944824, 0.10308923572301865, -0.05690745264291763, -0.23031137883663177, -0.4449613094329834, -0.17281442880630493, -0.19705553352832794, 0.21663355827331543, -0.42176029086112976, 0.2722036838531494, 0.07307121157646179, -0.284627228975296, -0.40112513303756714, -0.26651546359062195, 0.0695216953754425, -0.27783238887786865, 0.23120105266571045, -0.15903423726558685, -0.22411535680294037, 0.24388709664344788, -0.5961578488349915, 0.09289611130952835, 0.22059185802936554, 0.18621213734149933, -0.2916761040687561, 0.07153266668319702, -0.1424311250448227, 0.0076880077831447124, 0.09469496458768845, -0.22723227739334106, -0.23970697820186615, 0.15247124433517456, 0.3390960991382599, -0.29746946692466736, 0.20887313783168793, -0.35932427644729614, -0.20443929731845856, 0.5241457223892212, 0.03405587375164032, -0.14620916545391083, 0.22677618265151978, 0.2461055964231491, -0.31968218088150024, 0.02503097429871559, -0.2168484330177307, -0.13714051246643066, -0.14510419964790344, -0.4465911388397217, 0.13071604073047638, 0.07708559185266495, -0.146697998046875, -0.3880251944065094, -0.22099800407886505, 0.4458858370780945, -0.11649797856807709, 0.3181927800178528, 0.29998353123664856, -0.04763117805123329, -0.04829040542244911, 0.15520808100700378, 0.0432271808385849, -0.138948455452919, 0.31989985704421997, -0.028537951409816742, 0.1885099560022354, 0.04473750293254852, 0.2022998034954071, -0.538921058177948, 0.5549890398979187, 0.21049566566944122, -0.061019595712423325, 0.3605838716030121, -0.16613149642944336, 0.1628844439983368, -0.12345463782548904, 0.057104844599962234, 0.06921897083520889, -0.0073691257275640965, 0.030285842716693878, 0.18914814293384552, 0.22935092449188232, -0.10369223356246948, -0.23698319494724274, -0.11616277694702148, 0.11544980853796005, -0.19414357841014862, 0.06612356007099152, 0.2638133764266968, 1.0869827270507812, 0.21942204236984253, 0.005768761038780212, 0.25100916624069214, -0.18376588821411133, 0.16936348378658295, -0.2799080014228821, 0.0521475113928318, -0.1278190016746521, 0.03502800315618515, -0.029538145288825035, 0.05399775132536888, 0.08158036321401596, -0.20889349281787872, -0.6252623200416565, -0.04429498687386513, -0.14586062729358673, -0.08442336320877075, 0.03704342246055603, 0.1962406188249588, -0.056120894849300385, -0.21560899913311005, 0.10662554204463959, 0.21102124452590942, 0.02896364964544773, -0.18409860134124756, -0.08708139508962631, -0.3670464754104614, -0.25246870517730713, -0.13315007090568542, -0.18525873124599457, 0.01913417875766754, -0.3159392178058624, -0.060589857399463654, 0.030553322285413742, 0.2142949253320694, 0.24834883213043213, 0.11811003088951111, 0.10870438814163208, 0.09675981104373932, -0.359479159116745, 0.3017144501209259, 0.014588415622711182, 0.021121500059962273, 0.35268497467041016, -0.02047913521528244, 0.34097951650619507, -0.2332073450088501, -0.36766907572746277, 0.1484014391899109, -0.1650695949792862, -0.3173108696937561, -0.14429965615272522, -0.09103931486606598, 0.6410757899284363, -0.07708659023046494, 0.019662510603666306, 0.04240073263645172, -0.038681577891111374, -0.23863425850868225, 0.20182542502880096, 0.11628807336091995, -0.010903237387537956, 0.12464424222707748, 0.29660505056381226, -0.10468468815088272, -0.13748660683631897, 0.20418870449066162, 0.010768167674541473, -0.236721470952034, 0.3972903788089752, 0.277141273021698, -0.18628278374671936, -0.34912899136543274, 0.1914815604686737, 0.16655032336711884, -0.22063890099525452, -0.18298842012882233, -0.03530711308121681, -0.19964130222797394, -0.24593833088874817, 0.5901663899421692, 0.1695350557565689, -0.005002602934837341, -0.05726057291030884, -0.23747317492961884, -0.3495873510837555, 0.32072412967681885, -0.44575005769729614, 0.19109691679477692, -0.08499458432197571, -0.10543748736381531, 0.005433192476630211, 0.5603359341621399, -0.4282544255256653, -0.330007404088974, -0.26169705390930176, 0.04816078022122383, 0.35809555649757385, -0.1285620927810669, 0.020777972415089607, -0.022030062973499298, 0.17661702632904053, 0.2810354232788086, -0.2203333079814911, -0.24985840916633606, -0.15085116028785706, 0.057915180921554565, -0.011358626186847687, -0.06402239203453064, -0.16602255403995514, -0.19315105676651, -0.36718156933784485, 0.025162596255540848, -0.010931597091257572, -0.1638389378786087, 0.049648016691207886, -0.1534908562898636, -0.35391223430633545, 0.4334429204463959, -0.04917532205581665, 0.08789800107479095, 0.17748168110847473, 0.1787288784980774, -0.11972858011722565, 0.04055396467447281, -0.1665707379579544, -0.0007213056087493896, 0.3982827365398407, 0.5129117965698242, 0.6273547410964966, 0.005107007920742035, 0.18176940083503723, 0.13934750854969025, 0.058453451842069626, 0.23251859843730927, 0.009422026574611664, -0.12702839076519012, -0.2847079336643219, -0.18286262452602386, -0.009466085582971573, 0.2911863923072815, -0.3693672716617584, -0.025396497920155525, -0.2494339942932129, -0.09772161394357681, 0.024756845086812973, 0.022890791296958923, 0.6512668132781982, -0.23138639330863953, 0.24811488389968872, 0.00585324689745903, -0.2108919620513916, -0.2125026285648346, -0.09400276839733124, 0.013766907155513763, -0.3220755159854889, -0.05062128230929375, 0.20294499397277832, 0.1300528198480606, 0.06329353153705597, 0.07448899000883102, 0.2900121212005615, 0.2758813202381134, 0.14099887013435364, 0.41960251331329346, 0.20586149394512177, -0.09857985377311707, 0.5299019813537598, 0.1021270602941513, -0.2748919427394867, 0.14307506382465363, 0.1753179430961609, 0.4589475095272064, -0.013815830461680889, -0.20940662920475006, -0.38494232296943665, 0.022107400000095367, -0.1675044596195221, 0.03781747445464134, 0.17964953184127808, -0.2071661353111267, -0.32155555486679077, -0.3958878815174103, -0.09121771156787872, 0.045884404331445694, -0.05992695689201355, 0.09661735594272614, -0.04708157479763031, -0.08450818061828613, -0.26711130142211914, 0.08677270263433456, 0.35061120986938477, -0.3083721101284027, 0.36700600385665894, 0.07056368887424469, 0.09249179810285568, 0.0038288459181785583, 0.4358268678188324, 0.33112210035324097, 0.13990917801856995, -0.17406168580055237, 0.07970041781663895, 0.03709540516138077, -0.07497058063745499, 0.16500340402126312, 0.15356793999671936, 0.3933121860027313, 0.2820519804954529, 0.1321129947900772, 0.1965368092060089, -0.17140932381153107, -0.00426100566983223, 0.19766877591609955, 0.17255114018917084, -0.2564273476600647, -0.15802091360092163, -0.10306040942668915, -0.04833398014307022, -0.04100886732339859, 0.07330302894115448, -0.2174103558063507, -0.004433636553585529, 0.26537081599235535, -0.15669237077236176, 0.11901525408029556, -0.3132634162902832, 0.13493677973747253, -0.2865799367427826, 0.3475993275642395, 0.28053557872772217, -0.17381075024604797, -0.0374993272125721, -0.29444122314453125, -0.27114662528038025, 0.14715485274791718, 0.437854528427124, -0.15360622107982635, -0.01821223460137844, 0.046950340270996094, 0.22480106353759766, 0.018886905163526535, -0.013595670461654663, -0.378033846616745, -0.06487824022769928, -0.40950390696525574, -0.408649206161499, 0.09627940505743027, -0.11967922747135162, 0.06945142894983292, -0.028278039768338203, 0.07725008577108383, 0.03289109468460083, 0.13205121457576752, 0.1791173219680786, -0.12263169884681702, -0.16238105297088623, 0.3585435450077057, 0.21270930767059326, 0.050292763859033585, 0.16787290573120117, 0.6150379180908203, -0.057392340153455734, -0.01483994722366333, -0.01957983896136284, -0.004575734492391348, 0.12107720971107483, 0.03621124103665352, 0.15747427940368652, 0.34731465578079224, 0.015851661562919617, -0.33485525846481323, 0.29996180534362793, -0.0036542750895023346, 0.07856735587120056, -0.10260564088821411, -0.3187870979309082, -0.017321737483143806, -0.0545010007917881, 0.08203737437725067, 0.12131287157535553, 0.11859110742807388, 0.0352003276348114, -0.22048798203468323, 0.0012007355690002441, -0.20782485604286194, 0.20240023732185364, 0.04765987768769264, -0.28511497378349304, -0.2575698792934418, 0.23629483580589294, -0.10382276028394699, 0.03589805215597153, -0.6982479691505432, -0.13824832439422607, 0.27825066447257996, 0.15898993611335754, 0.09437976777553558, 0.4108969569206238, 0.12584325671195984, 0.14070409536361694, -0.0737549215555191, 0.19665709137916565, -0.08590623736381531, 0.042386122047901154, -0.06450606882572174, -0.07282374799251556 ]
https://github.com/huggingface/datasets/pull/2370
Adding HendrycksTest dataset
@lhoestq Thank you for the review. I've made the suggested changes. There still might be some problems with dummy data though due to some csv loading issues (which I haven't found the cause to).
Adding Hendrycks test from https://arxiv.org/abs/2009.03300. I'm having a bit of trouble with dummy data creation because some lines in the csv files aren't being loaded properly (only the first entry loaded in a row of length 6). The dataset is loading just fine. Hope you can kindly help! Thank you!
34
text: Adding HendrycksTest dataset Adding Hendrycks test from https://arxiv.org/abs/2009.03300. I'm having a bit of trouble with dummy data creation because some lines in the csv files aren't being loaded properly (only the first entry loaded in a row of length 6). The dataset is loading just fine. Hope you can kindly help! Thank you! @lhoestq Thank you for the review. I've made the suggested changes. There still might be some problems with dummy data though due to some csv loading issues (which I haven't found the cause to).
[ 0.055054325610399246, -0.28605228662490845, -0.12416285276412964, 0.132074773311615, -0.26950305700302124, 0.059125401079654694, 0.4327954947948456, 0.06323905289173126, 0.2892104685306549, -0.17203034460544586, 0.4308431148529053, -0.39990341663360596, 0.26210159063339233, -0.1915462464094162, 0.2870018780231476, 0.2199552208185196, 0.2298811376094818, 0.262800931930542, -0.299162894487381, -0.09934741258621216, -0.36456361413002014, 0.0860707238316536, -0.34541159868240356, -0.1933843344449997, -0.22415752708911896, 0.19933436810970306, -0.31569820642471313, 0.36868971586227417, -0.09615965932607651, -0.256717324256897, 0.24553586542606354, 0.44435667991638184, -0.07522760331630707, 0.5014294385910034, -0.0001131453100242652, -0.21328873932361603, 0.17502610385417938, -0.23774589598178864, -0.20231588184833527, 0.25651177763938904, -0.34130871295928955, -0.33511626720428467, 0.022811973467469215, -0.07413274049758911, -0.046812739223241806, 0.11658221483230591, -0.30707886815071106, -0.35160282254219055, 0.23632089793682098, 0.4332450032234192, 0.20939292013645172, 0.09578428417444229, 0.0003153085708618164, -0.25456875562667847, 0.26352447271347046, 0.1977938413619995, -0.08719456195831299, 0.5768490433692932, 0.12025956809520721, -0.006829531863331795, 0.14618860185146332, -0.13151665031909943, 0.011935381218791008, 0.14527413249015808, 0.3117147982120514, 0.06915421783924103, 0.24889850616455078, -0.1671913117170334, 0.12579385936260223, 0.34501639008522034, 0.7362720370292664, -0.027564220130443573, -0.10542073845863342, -0.08880814909934998, 0.01562560349702835, -0.07753865420818329, 0.19769322872161865, 0.11745768040418625, -0.23893769085407257, 0.021384574472904205, 0.13333497941493988, -0.18089550733566284, -0.20584267377853394, 0.35493040084838867, 0.07722736895084381, -0.47756949067115784, -0.0660780742764473, -0.1109127476811409, 0.024695459753274918, -0.051429592072963715, 0.2506299316883087, -0.39700809121131897, -0.3249560296535492, 0.25870227813720703, 0.0014401786029338837, 0.061385102570056915, -0.14531606435775757, -0.18006262183189392, 0.22932574152946472, -0.20741648972034454, 0.13654227554798126, -0.12148385494947433, 0.059586022049188614, 0.010967627167701721, -0.004520129412412643, 0.009004823863506317, 0.07363972812891006, -0.023691028356552124, 0.08716725558042526, 0.07203464955091476, 0.007364004850387573, 0.007116604596376419, -0.032645441591739655, -0.38682013750076294, 0.14829514920711517, -0.13166314363479614, 0.07064713537693024, -0.4530339241027832, -0.18932698667049408, 0.31296709179878235, 0.0686204731464386, -0.10063916444778442, -0.06426091492176056, 0.3598027527332306, -0.08513785898685455, -0.06095162034034729, 0.3376253843307495, 0.3586335778236389, -0.2963782548904419, -0.19784587621688843, -0.11125212907791138, -0.06639501452445984, -0.3273087739944458, -0.06385483592748642, 0.2649513781070709, 0.17205557227134705, 0.12352462857961655, 0.29498666524887085, 0.06757302582263947, -0.014876190572977066, 0.2022789567708969, -0.11480048298835754, 0.311078816652298, 0.05840493366122246, -0.1931217759847641, -0.15997402369976044, 0.04021287336945534, -0.07512665539979935, 0.09103723615407944, 0.3908531963825226, -0.17952650785446167, -0.17518430948257446, -0.35164448618888855, 0.23722831904888153, -0.3679392337799072, -0.03092222660779953, 0.15755531191825867, 0.04895737022161484, -0.1192934587597847, -0.2770175039768219, -0.043101631104946136, -0.2717379331588745, 0.03256450966000557, -0.12754063308238983, 0.2092425525188446, 0.7570111155509949, -0.8061356544494629, 0.1495295912027359, -0.10780440270900726, 0.09030187129974365, 0.5005695223808289, -0.04481957480311394, -0.11926276981830597, 0.15539765357971191, -0.26597651839256287, -0.18369856476783752, 0.3817271292209625, 0.29766926169395447, -0.06636249274015427, 0.3279094398021698, 0.13816691935062408, 0.21568246185779572, 0.16247110068798065, -0.017107447609305382, 0.06728339195251465, 0.1592279076576233, 0.08158864080905914, -0.09942475706338882, 0.18711088597774506, -0.10825953632593155, -0.45979583263397217, 0.14835651218891144, 0.29167240858078003, 0.15285685658454895, -0.27732574939727783, 0.030404306948184967, -0.019027508795261383, -0.4117131531238556, 0.28151342272758484, -0.21392524242401123, 0.11778583377599716, 0.26383501291275024, 0.1507648527622223, 0.1278534084558487, 0.1739128679037094, 0.44007524847984314, -0.6080594658851624, 0.07079479843378067, -0.0728183314204216, 0.09533548355102539, 0.13256874680519104, -0.10292158275842667, -0.3570822775363922, -0.14890937507152557, -0.10797697305679321, -0.033085133880376816, -0.02979734167456627, 0.0726558119058609, -0.07458412647247314, -0.1303921788930893, 0.09690381586551666, 0.28612691164016724, -0.11219236999750137, 0.08378877490758896, -0.19440621137619019, 0.35682666301727295, 0.08112169057130814, -0.007909390144050121, 0.08355554938316345, 0.47850915789604187, 0.117484912276268, -0.1851518154144287, -0.14855006337165833, 0.26387691497802734, 0.3117942810058594, -0.16830433905124664, 0.3157212734222412, -0.2761586904525757, 0.13630621135234833, 0.09943689405918121, 0.07498224824666977, 0.3888615369796753, 0.11189518868923187, -0.12149950861930847, -0.6374707818031311, 0.49056321382522583, -0.41030532121658325, -0.07721846550703049, -0.15821662545204163, -0.09836685657501221, 0.15620437264442444, -0.06636178493499756, 0.022196175530552864, -0.1873016059398651, 0.49111610651016235, 0.14662155508995056, 0.21823818981647491, 0.11166436225175858, -0.5290662050247192, 0.010900937020778656, -0.14933587610721588, -0.18944920599460602, 0.10324954986572266, 0.22870805859565735, 0.02492101490497589, -0.11055121570825577, 0.26193830370903015, -0.0016127191483974457, 0.37717360258102417, 0.21121451258659363, -0.14882543683052063, -0.1054958626627922, -0.044219620525836945, -0.32623162865638733, 0.20887763798236847, -0.2698030471801758, -0.0302317775785923, 0.17767919600009918, -0.0743439644575119, -0.2382436841726303, -0.32627347111701965, 0.013081870973110199, 0.22262442111968994, 0.3501341938972473, -0.6177423000335693, -0.26506078243255615, -0.0022286605089902878, -0.15521717071533203, -0.28117358684539795, 0.09716933965682983, -0.2783256471157074, -0.2617367208003998, 0.03500944375991821, 0.06142203509807587, -0.2053382396697998, -0.20988869667053223, -0.40471550822257996, 0.33439549803733826, -0.09409897774457932, -0.07524210959672928, -0.25248199701309204, -0.06104351952672005, -0.26761212944984436, 0.1867312639951706, 0.023689016699790955, 0.46170637011528015, 0.45983609557151794, -0.08895958214998245, 0.0175003744661808, 0.0544469952583313, -0.17599961161613464, -0.1066407859325409, 0.0890168845653534, 0.3506646752357483, 0.04102084040641785, 0.48804187774658203, -0.39666956663131714, -0.1199176162481308, 0.04127335548400879, -0.11342982202768326, -0.09537678956985474, 0.13985833525657654, -0.18371160328388214, -0.3277127742767334, -0.2503361999988556, -0.7387980818748474, 0.004470339976251125, -0.14278942346572876, -0.00749582052230835, 0.13537383079528809, 0.031941547989845276, 0.15973268449306488, 0.15781153738498688, -0.09501815587282181, 0.10645467042922974, 0.03016282245516777, -0.32807597517967224, -0.5073918104171753, 0.5128977298736572, -0.2979666590690613, -0.4772387444972992, 0.06445324420928955, -0.23787465691566467, -0.14045073091983795, -0.05340486019849777, -0.37077587842941284, -0.1434188038110733, 0.0026826243847608566, 0.1656402051448822, 0.07131555676460266, -0.13573400676250458, 0.07730676978826523, -0.2022232860326767, -0.0037731584161520004, -0.26626262068748474, 0.010843925178050995, 0.18070483207702637, 0.18930158019065857, 0.3827104866504669, -0.08870774507522583, 0.24056318402290344, -0.5304547548294067, 0.4990025758743286, 0.3312036395072937, 0.2516762316226959, 0.05129410699009895, -0.29503563046455383, 0.29396140575408936, -0.08168330043554306, -0.1419929563999176, -0.10241807252168655, -0.04748745262622833, 0.08896321803331375, 0.194814532995224, 0.13135352730751038, 0.2221621423959732, -0.09219947457313538, 0.34607088565826416, -0.39124271273612976, -0.2608311176300049, 0.08723535388708115, -0.1701977550983429, 0.11107778549194336, -0.004725772887468338, -0.029665987938642502, -0.1571217030286789, -0.21087148785591125, -0.2108646035194397, 0.16362455487251282, 0.355444073677063, -0.08042270690202713, -0.41007575392723083, 0.4876015782356262, -0.4365417957305908, 0.17187900841236115, -0.006005438975989819, 0.257384717464447, -0.130425825715065, 0.039896152913570404, 0.15372931957244873, 0.1704695075750351, 0.8288285136222839, -0.18247133493423462, -0.1343611478805542, 0.17869240045547485, 0.32099100947380066, -0.5547011494636536, -0.08008713275194168, 0.0006109252572059631, -0.025873510167002678, 0.3491452932357788, -0.20133060216903687, -0.31214484572410583, -0.08319313824176788, 0.24228639900684357, 0.17441321909427643, -0.17641758918762207, -0.448352187871933, -0.35252660512924194, 0.03939510136842728, -0.11904515326023102, -0.1328466236591339, -0.13258233666419983, 0.2859727144241333, -0.04818622022867203, -0.10556155443191528, 0.379634290933609, -0.07405421137809753, 0.44944828748703003, 0.20982566475868225, 0.4839586615562439, 0.10173022747039795, 0.38084256649017334, 0.32095372676849365, 0.07925842702388763, 0.06366198509931564, 0.6946499347686768, 0.03686504065990448, -0.3725113570690155, 0.06905990839004517, -0.6207573413848877, 0.5057114362716675, 0.32119879126548767, 0.11755349487066269, 0.1085280030965805, -0.30614447593688965, -0.03812950849533081, -0.029757697135210037, 0.18028880655765533, 0.19796735048294067, 0.019274532794952393, -0.1977936327457428, -0.3767944574356079, 0.3120468854904175, -0.2966872453689575, -0.033371951431035995, 0.3514340817928314, -0.19933398067951202, -0.26317015290260315, 0.3508603572845459, -0.06489699333906174, 0.979079008102417, 0.19164377450942993, 0.19997110962867737, 0.33823058009147644, -0.11336178332567215, -0.049628373235464096, -0.15149655938148499, -0.18345996737480164, -0.37051352858543396, 0.14872229099273682, 0.031157800927758217, -0.13831037282943726, 0.2408115267753601, 0.17551173269748688, -0.34279924631118774, 0.1586545705795288, -0.08854725956916809, 0.10920235514640808, -0.08730755746364594, 0.2383052110671997, 0.30747103691101074, -0.13858789205551147, 0.19479018449783325, 0.10469403862953186, 0.3466436266899109, -0.002422638237476349, -0.1901782751083374, -0.07465033233165741, -0.2679879367351532, -0.052383940666913986, 0.08085814118385315, 0.13117089867591858, -0.058739956468343735, -0.0861029103398323, 0.4072142243385315, -0.3825721740722656, -0.006657839752733707, 0.055427733808755875, 0.23389612138271332, 0.1606471836566925, -0.14033129811286926, 0.19810017943382263, 0.21123987436294556, -0.19053184986114502, -0.08716869354248047, 0.07054028660058975, -0.078177310526371, -0.1518254578113556, -0.3283854126930237, -0.054199300706386566, -0.3314194679260254, -0.23916342854499817, -0.22658765316009521, -0.09315922856330872, -0.030379392206668854, -0.5855298638343811, -0.31009534001350403, 0.1348285675048828, -0.010148709639906883, -0.1711900234222412, 0.17841722071170807, 0.3672284483909607, -0.09042876958847046, 0.12997916340827942, 0.1291567087173462, -0.24445170164108276, -0.20115841925144196, 0.10187900066375732, 0.06977888941764832, 0.23019173741340637, 0.47511976957321167, 0.1199636310338974, -0.14470550417900085, -0.33999449014663696, 0.15377205610275269, 0.3598436117172241, -0.408490389585495, 0.0859217420220375, 0.10891328752040863, -0.05255138874053955, 0.10429488867521286, 0.244813933968544, 0.33964115381240845, 0.07566113770008087, 0.06501981616020203, -0.4041549265384674, -0.08028261363506317, -0.01653001457452774, 0.25286054611206055, 0.5006881952285767, 0.005728621035814285, -0.09562408924102783, 0.03548474609851837, 0.06897123157978058, -0.3313919007778168, 0.08602908998727798, 0.22301852703094482, 0.07186947017908096, -0.04576882719993591, -0.06732595711946487, 0.05682966858148575, -0.2417764812707901, 0.20454266667366028, -0.16306950151920319, -0.14332988858222961, -0.1963973045349121, -0.03162788227200508, 0.16150060296058655, -0.18414723873138428, -0.3796044588088989, 0.0020854207687079906, -0.08834140002727509, -0.13335111737251282, 0.0020350064150989056, -0.049763359129428864, -0.16241610050201416, -0.1749306172132492, -0.028633076697587967, 0.00788687914609909, -0.11469098180532455, -0.3376835584640503, 0.13670291006565094, 0.13112808763980865, 0.3329540491104126, -0.10653793066740036, -0.022872790694236755, -0.1345413774251938, -0.055178236216306686, 0.03350965678691864, 0.37994179129600525, -0.0513155460357666, -0.24765881896018982, 0.3449477553367615, -0.2121916562318802, 0.2674257159233093, 0.06455164402723312, 0.21488900482654572, 0.4432345926761627, -0.18976642191410065, 0.34711402654647827, -0.03488791733980179, 0.22635596990585327, -0.32605651021003723, -0.10891463607549667, 0.060241080820560455, 0.05689745768904686, 0.08831074833869934, -0.02019006758928299, 0.2682343125343323, -0.19380110502243042, 0.05348673462867737, -0.014588060788810253, -0.14771537482738495, -0.06650485098361969, 0.10612718760967255, 0.386943519115448, -0.15557095408439636, 0.14014123380184174, 0.1370667815208435, 0.0067816488444805145, -0.15604564547538757, 0.13587939739227295, 0.5095646381378174, 0.05653233081102371, 0.2640382945537567, 0.24710983037948608, -0.3972282409667969, -0.3196718990802765, 0.42833027243614197, 0.3785066604614258, -0.17223408818244934, 0.1531902551651001, 0.37723422050476074, 0.35235512256622314, -0.18985946476459503, -0.16651585698127747, -0.43822425603866577, -0.33541059494018555, -0.06140321493148804, -0.029933033511042595, -0.14496448636054993, -0.20236578583717346, -0.25059646368026733, -0.05018560215830803, -0.0751318633556366, -0.2825818657875061, -0.06716230511665344, -0.018845602869987488, 0.15003249049186707, -0.07446422427892685, 0.24985039234161377, 0.02592875249683857, 0.19474880397319794, -0.1700187623500824, 0.032343387603759766, 0.041404686868190765, -0.05911801755428314, 0.36600399017333984, 0.290994793176651, 0.3900267779827118, 0.24944372475147247, 0.03467310965061188, -0.13497918844223022, -0.023955173790454865, -0.10425645112991333, 0.10428310930728912, 0.5502946972846985, 0.1573229432106018, 0.055114150047302246, 0.5869664549827576, 0.1809810996055603, -0.1624583899974823, 0.09885941445827484, 0.30027198791503906, -0.2647703289985657, -0.23703555762767792, 0.09692385047674179, -0.0732443630695343, -0.11515414714813232, -0.10506290197372437, -0.2207716405391693, 0.025551602244377136, -0.35171717405319214, 0.36106738448143005, -0.1730967015028, -0.03782879561185837, -0.021220646798610687, 0.09934034198522568, -0.28531670570373535, 0.3741649091243744, 0.1895797848701477, 0.3295866549015045, -0.35386496782302856, -0.2680812478065491, -0.7444890141487122, 0.1519857794046402, -0.4137696623802185, -0.023037992417812347, 0.26189669966697693, 0.07329284399747849, 0.1853143870830536, -0.07966221123933792, -0.07935619354248047, -0.18438729643821716, -0.030756771564483643, 0.11581084877252579, -0.16708225011825562, 0.06759238988161087, 0.10294495522975922, 0.25168514251708984, -0.2722111940383911, -0.2976175546646118, 0.2868005931377411, -0.19684754312038422, -0.03387591242790222, 0.2735432982444763, 0.058700986206531525, 0.12454232573509216, 0.10749267786741257, 0.26281702518463135, -0.05671200156211853, 0.6788510084152222, -0.10619759559631348, 0.2015523612499237, 0.04036944732069969, -0.4280775189399719, 0.2260926514863968, 0.5007286071777344, 0.22783562541007996, 0.2045525759458542, 0.1887788623571396, -0.17400935292243958, 0.0638505294919014, 0.16984349489212036, -0.02152450568974018, 0.1134948879480362, -0.18214811384677887, 0.1535438448190689, -0.09190186113119125, 0.0984368845820427, 0.05961031839251518, 0.05403450131416321, -0.24720388650894165, -0.031441640108823776, 0.23242704570293427, -0.05705568194389343, 0.3009108304977417, 0.03089161217212677, 0.021790560334920883, -0.3096548020839691, 0.2670660614967346, 0.08109437674283981, 0.07342487573623657, -0.5312358736991882, -0.08379336446523666, 0.4370526373386383, -0.04798825830221176, -0.11539709568023682, 0.21661841869354248, 0.1547950804233551, 0.08506058156490326, -0.08293893933296204, 0.7810691595077515, -0.02790416032075882, -0.14145134389400482, 0.17293716967105865, -0.2859587073326111 ]
https://github.com/huggingface/datasets/pull/2370
Adding HendrycksTest dataset
I took a look at the dummy data and some csv lines were cropped. I fixed them :)
Adding Hendrycks test from https://arxiv.org/abs/2009.03300. I'm having a bit of trouble with dummy data creation because some lines in the csv files aren't being loaded properly (only the first entry loaded in a row of length 6). The dataset is loading just fine. Hope you can kindly help! Thank you!
18
text: Adding HendrycksTest dataset Adding Hendrycks test from https://arxiv.org/abs/2009.03300. I'm having a bit of trouble with dummy data creation because some lines in the csv files aren't being loaded properly (only the first entry loaded in a row of length 6). The dataset is loading just fine. Hope you can kindly help! Thank you! I took a look at the dummy data and some csv lines were cropped. I fixed them :)
[ 0.058768805116415024, -0.344417542219162, -0.1010686606168747, 0.19802317023277283, -0.2541278004646301, 0.08988610655069351, 0.440167099237442, 0.06938047707080841, 0.30375295877456665, -0.11879946291446686, 0.4805149734020233, -0.5037385821342468, 0.2874130606651306, -0.15888382494449615, 0.28657153248786926, 0.20351877808570862, 0.18048562109470367, 0.3012526035308838, -0.3010498583316803, -0.12906554341316223, -0.3623911440372467, 0.15619894862174988, -0.39204680919647217, -0.14951813220977783, -0.26296958327293396, 0.19777733087539673, -0.31902047991752625, 0.32670313119888306, -0.12038154155015945, -0.12151313573122025, 0.2703908681869507, 0.3260761499404907, -0.1071801632642746, 0.5173994302749634, -0.00012058154970873147, -0.18550917506217957, 0.14026905596256256, -0.27163001894950867, -0.19718828797340393, 0.27115198969841003, -0.31537768244743347, -0.34321239590644836, 0.04921477288007736, -0.10647617280483246, -0.058133408427238464, 0.18488237261772156, -0.2377060204744339, -0.39321690797805786, 0.276975154876709, 0.4371674060821533, 0.14893096685409546, 0.04746045917272568, -0.05356983095407486, -0.19506165385246277, 0.26344597339630127, 0.22911903262138367, -0.07304561883211136, 0.6023697853088379, 0.01829010248184204, 0.03140649199485779, 0.22301870584487915, -0.16632230579853058, 0.009890304878354073, 0.16100196540355682, 0.2780960202217102, 0.09455054998397827, 0.2531065046787262, -0.19054266810417175, 0.12549224495887756, 0.34341880679130554, 0.6879561543464661, -0.048674337565898895, -0.05479361116886139, -0.12255144864320755, 0.03707478567957878, -0.0708366110920906, 0.19462913274765015, 0.21829989552497864, -0.23514951765537262, 0.0007911771535873413, 0.08248300105333328, -0.17830140888690948, -0.21168288588523865, 0.36315375566482544, 0.01163870096206665, -0.49752768874168396, -0.10877971351146698, -0.06951410323381424, 0.061421722173690796, -0.06397245079278946, 0.24474729597568512, -0.42269715666770935, -0.3212490975856781, 0.336193323135376, 0.01428849995136261, 0.11616571247577667, -0.24329796433448792, -0.1429421603679657, 0.21888679265975952, -0.2592352628707886, 0.16981731355190277, -0.1877163052558899, 0.1378513127565384, 0.06269648671150208, 0.046074651181697845, 0.040285881608724594, 0.06440586596727371, 0.058864496648311615, 0.08990076184272766, 0.06161915138363838, 0.015989698469638824, 0.010174119845032692, -0.0429476723074913, -0.36736297607421875, 0.1488366574048996, -0.11985116451978683, 0.07215466350317001, -0.39706599712371826, -0.17586499452590942, 0.34297889471054077, 0.029646314680576324, -0.06008217856287956, -0.11399047821760178, 0.3236114978790283, -0.08264027535915375, -0.07424192130565643, 0.398878276348114, 0.3438771963119507, -0.325094997882843, -0.2009178102016449, -0.10203375667333603, -0.07789970934391022, -0.301542729139328, -0.0683499425649643, 0.23745356500148773, 0.11012245714664459, 0.18668396770954132, 0.30175352096557617, 0.041838280856609344, -0.08314204216003418, 0.24135437607765198, -0.14533308148384094, 0.26378920674324036, 0.11013436317443848, -0.13277137279510498, -0.14407995343208313, 0.07664674520492554, -0.07684065401554108, 0.13217779994010925, 0.3969729542732239, -0.2620084881782532, -0.1145729273557663, -0.30632632970809937, 0.16340400278568268, -0.39492517709732056, 0.06261074542999268, 0.09922388195991516, 0.020387595519423485, -0.06765813380479813, -0.28437376022338867, -0.026597492396831512, -0.3505675792694092, 0.01607419177889824, -0.12164216488599777, 0.25323235988616943, 0.7524080872535706, -0.8701183795928955, 0.11654923856258392, -0.05819013714790344, 0.06393317878246307, 0.5368267893791199, -0.04907577112317085, -0.04417092353105545, 0.21411213278770447, -0.3551667332649231, -0.15863347053527832, 0.3675500452518463, 0.35429754853248596, -0.08279374986886978, 0.3476957082748413, 0.17404705286026, 0.23810259997844696, 0.12075341492891312, -0.001632543047890067, 0.10390295088291168, 0.22284233570098877, 0.04989585652947426, -0.054944321513175964, 0.16806113719940186, -0.11238330602645874, -0.4171711802482605, 0.17504467070102692, 0.25583794713020325, 0.14151868224143982, -0.3147755265235901, 0.06297776103019714, -0.04802263528108597, -0.40326112508773804, 0.2699035704135895, -0.17430852353572845, 0.10306369513273239, 0.3122592568397522, 0.03987131267786026, 0.09606251120567322, 0.2320290058851242, 0.4021908938884735, -0.6328669190406799, 0.027508266270160675, -0.1021774634718895, -0.005229990929365158, 0.1644241064786911, -0.09688104689121246, -0.4025115370750427, -0.14124809205532074, -0.12135840952396393, 0.04804191738367081, -0.08792192488908768, 0.07572400569915771, -0.09336215257644653, -0.13107049465179443, 0.11142677068710327, 0.3110976219177246, -0.09067694842815399, 0.09637878835201263, -0.2436453253030777, 0.3463316559791565, 0.08497831225395203, -0.03987697511911392, 0.09385381639003754, 0.4385382831096649, 0.16180047392845154, -0.24154873192310333, -0.17317673563957214, 0.2747887074947357, 0.43201500177383423, -0.16356144845485687, 0.243320494890213, -0.3374841809272766, 0.15517272055149078, 0.10539454221725464, 0.06751611828804016, 0.43506118655204773, 0.05738428980112076, -0.1541353315114975, -0.598594069480896, 0.4945397973060608, -0.43658602237701416, -0.04799056798219681, -0.16225436329841614, -0.06498170644044876, 0.15076227486133575, -0.03241868317127228, 0.04900874197483063, -0.2058390974998474, 0.5354356169700623, 0.2659744918346405, 0.26974958181381226, 0.1218009889125824, -0.4628071188926697, -0.032583750784397125, -0.09516513347625732, -0.1882096529006958, 0.07061637938022614, 0.22632524371147156, -0.044246427714824677, -0.07747675478458405, 0.26024821400642395, -0.03233623132109642, 0.34724026918411255, 0.13880304992198944, -0.10971184074878693, -0.0929044559597969, -0.06793615221977234, -0.2905646860599518, 0.150201216340065, -0.29085254669189453, -0.04852994903922081, 0.17144280672073364, -0.16806037724018097, -0.25710541009902954, -0.35356569290161133, 0.05449637398123741, 0.20295695960521698, 0.33980366587638855, -0.6383177638053894, -0.23397356271743774, -0.026883156970143318, -0.13013756275177002, -0.3067411482334137, 0.0737532451748848, -0.26732125878334045, -0.20883268117904663, -0.0009716451168060303, 0.05524040758609772, -0.1642681062221527, -0.24052970111370087, -0.3519819378852844, 0.3488142490386963, -0.057846710085868835, -0.050047919154167175, -0.22913391888141632, -0.029823198914527893, -0.29075396060943604, 0.1422736644744873, -0.022817227989435196, 0.47041141986846924, 0.33587050437927246, -0.10588289797306061, 0.037436287850141525, 0.13981422781944275, -0.16792957484722137, -0.08026744425296783, 0.1527070701122284, 0.379483699798584, 0.044326845556497574, 0.5431857109069824, -0.4113444685935974, -0.07632432878017426, -0.011827105656266212, -0.023634852841496468, -0.1297941952943802, 0.16673654317855835, -0.19823485612869263, -0.3151194155216217, -0.2697502076625824, -0.6559594869613647, -0.013544218614697456, -0.05606210604310036, -0.07250989973545074, 0.13521027565002441, 0.03707529604434967, 0.1239105612039566, 0.16745832562446594, -0.14695926010608673, 0.13482320308685303, 0.02565143257379532, -0.3043683171272278, -0.5411507487297058, 0.5014951825141907, -0.2683555483818054, -0.5039004683494568, 0.09210829436779022, -0.259360134601593, -0.1767270863056183, -0.02274983376264572, -0.3833388090133667, -0.11308543384075165, 0.024626350030303, 0.09595127403736115, 0.07663676142692566, -0.14922235906124115, 0.07562550902366638, -0.2767944037914276, 0.08766484260559082, -0.2662031650543213, -0.01763705350458622, 0.21068471670150757, 0.137369304895401, 0.38868448138237, -0.11406109482049942, 0.2613290250301361, -0.5333095788955688, 0.4796932339668274, 0.3995091915130615, 0.28496038913726807, -0.024107761681079865, -0.3326384723186493, 0.2903679609298706, -0.055750928819179535, -0.1294317990541458, -0.07436113059520721, 0.007542043924331665, 0.09452031552791595, 0.21182309091091156, 0.17473900318145752, 0.2903548777103424, -0.056092530488967896, 0.41553032398223877, -0.4154356122016907, -0.18537437915802002, 0.0317370779812336, -0.2024652510881424, 0.13326525688171387, -0.020771650597453117, 0.00940798968076706, -0.18672412633895874, -0.22935843467712402, -0.26985615491867065, 0.17193937301635742, 0.36902332305908203, -0.05472227558493614, -0.3650733232498169, 0.3971238434314728, -0.340499609708786, 0.1347191482782364, -0.006792792119085789, 0.23187465965747833, -0.1255633682012558, 0.06809718906879425, 0.18497708439826965, 0.20367735624313354, 0.8666694760322571, -0.08614709973335266, -0.13434994220733643, 0.17285962402820587, 0.3498462438583374, -0.5918879508972168, -0.09795078635215759, 0.056289803236722946, -0.09278354793787003, 0.4242762327194214, -0.19287338852882385, -0.28447189927101135, -0.015010927803814411, 0.2369367778301239, 0.2554289400577545, -0.25018686056137085, -0.39959651231765747, -0.3761025071144104, 0.03838207572698593, -0.05271296948194504, -0.1398092806339264, -0.15280859172344208, 0.25646984577178955, -0.04695361852645874, -0.19113527238368988, 0.3258962035179138, -0.11043784767389297, 0.349580854177475, 0.22909130156040192, 0.5303991436958313, 0.08634249866008759, 0.3332159221172333, 0.38272395730018616, 0.08103116601705551, 0.024693984538316727, 0.7847700119018555, 0.07594477385282516, -0.39060890674591064, 0.10470636188983917, -0.646746814250946, 0.489056259393692, 0.22034922242164612, 0.08495771884918213, 0.05856180936098099, -0.35792276263237, 0.008095771074295044, -0.018009807914495468, 0.2101106345653534, 0.20380359888076782, -0.01724299043416977, -0.18478244543075562, -0.3690229654312134, 0.27144086360931396, -0.314216285943985, 0.010940365493297577, 0.34200841188430786, -0.2767472267150879, -0.22319252789020538, 0.2916586399078369, -0.0940365418791771, 0.955082893371582, 0.13803431391716003, 0.1841057389974594, 0.3157235085964203, -0.10853007435798645, 0.016641948372125626, -0.13601408898830414, -0.2383202761411667, -0.3731294870376587, 0.14572708308696747, -0.03767018765211105, -0.13757877051830292, 0.23023831844329834, 0.18657679855823517, -0.35315364599227905, 0.1507798582315445, -0.11164611577987671, 0.08589693158864975, -0.09053794294595718, 0.20131975412368774, 0.3734361231327057, -0.08354261517524719, 0.23481543362140656, 0.05166164040565491, 0.31836575269699097, 0.06640578806400299, -0.16577917337417603, 0.025700069963932037, -0.224494069814682, -0.11835148930549622, 0.03211221098899841, 0.1879541277885437, -0.10881644487380981, -0.10989795625209808, 0.3889659643173218, -0.40925133228302, -0.04634949564933777, 0.10431471467018127, 0.19055595993995667, 0.1903563141822815, -0.12519077956676483, 0.196628600358963, 0.24691477417945862, -0.242580845952034, -0.15308816730976105, 0.15679024159908295, -0.13577648997306824, -0.13601341843605042, -0.3198466897010803, -0.06912974268198013, -0.3257289528846741, -0.21935991942882538, -0.21460077166557312, -0.04993954300880432, -0.006375566124916077, -0.5651229023933411, -0.33733388781547546, 0.05875318497419357, 0.08867157995700836, -0.1370963752269745, 0.11600688099861145, 0.3675915598869324, -0.04144127294421196, 0.09657375514507294, 0.1422651708126068, -0.29258376359939575, -0.19208195805549622, 0.09423060715198517, 0.11676785349845886, 0.21207857131958008, 0.5282334089279175, 0.08949549496173859, -0.1317477524280548, -0.2865176796913147, 0.20748525857925415, 0.37810832262039185, -0.3877609074115753, 0.1021103784441948, 0.1421545445919037, -0.018657244741916656, 0.1166636198759079, 0.2576286196708679, 0.3501906394958496, -0.010831430554389954, 0.04146787151694298, -0.4794642925262451, -0.11274899542331696, -0.10303737223148346, 0.2721625864505768, 0.4962109625339508, 0.08596522361040115, -0.15167106688022614, 0.08382152020931244, 0.13313071429729462, -0.22844526171684265, 0.1297951340675354, 0.21743051707744598, 0.06244533136487007, 0.03220086917281151, -0.009555049240589142, -0.003281150246039033, -0.20297066867351532, 0.14221511781215668, -0.1544460654258728, -0.05274458974599838, -0.13877668976783752, -0.10030600428581238, 0.17241829633712769, -0.1758546531200409, -0.39801666140556335, -0.018718387931585312, -0.08473102748394012, -0.1090632826089859, 0.01251896657049656, -0.028266921639442444, -0.1304410845041275, -0.14950771629810333, 0.01931164413690567, 0.05730026587843895, -0.13923004269599915, -0.3846777081489563, 0.1327473670244217, 0.09771503508090973, 0.3629600405693054, -0.06467944383621216, 0.01534954458475113, -0.08666439354419708, -0.031106822192668915, -0.06687513738870621, 0.30711352825164795, -0.06419382989406586, -0.2860559821128845, 0.3491041958332062, -0.19711385667324066, 0.39493680000305176, -0.007119935005903244, 0.19687333703041077, 0.4393063485622406, -0.16182589530944824, 0.4038589894771576, -0.057597629725933075, 0.1534641534090042, -0.31138673424720764, -0.14223265647888184, 0.10522553324699402, 0.0869731530547142, 0.03484196588397026, -0.08065365999937057, 0.18129821121692657, -0.13766895234584808, 0.06607145816087723, -0.06675845384597778, -0.15772408246994019, -0.0015458203852176666, 0.1408623605966568, 0.42182180285453796, -0.10574696958065033, 0.11824162304401398, 0.1087503731250763, -0.0417945496737957, -0.1452571153640747, 0.09310153871774673, 0.5252999663352966, 0.0308654997497797, 0.22521474957466125, 0.17724017798900604, -0.44065383076667786, -0.39938679337501526, 0.4088291823863983, 0.43490687012672424, -0.20122802257537842, 0.18309664726257324, 0.38352781534194946, 0.3560023307800293, -0.22989793121814728, -0.18212264776229858, -0.45816323161125183, -0.31446999311447144, -0.027404282242059708, -0.05272388458251953, -0.1726541668176651, -0.1788153499364853, -0.23306100070476532, 0.02199546992778778, -0.013397302478551865, -0.28306275606155396, -0.04918429255485535, 0.009011678397655487, 0.09169728308916092, -0.05046062916517258, 0.24171119928359985, 0.06054826080799103, 0.09179124236106873, -0.18695515394210815, 0.05143072083592415, 0.0022854581475257874, -0.02636706829071045, 0.3717813491821289, 0.2653445601463318, 0.3501821458339691, 0.27716273069381714, 0.04904799535870552, -0.1374877244234085, -0.001706782728433609, -0.10820290446281433, 0.06295964121818542, 0.5116636753082275, 0.11404255032539368, 0.10762724280357361, 0.5845427513122559, 0.12610790133476257, -0.11549520492553711, 0.15408575534820557, 0.2651211619377136, -0.27269256114959717, -0.25080180168151855, 0.12329191714525223, -0.17427366971969604, -0.09849372506141663, -0.13057495653629303, -0.24055474996566772, 0.0009204819798469543, -0.32332149147987366, 0.28112363815307617, -0.2088116705417633, -0.05276867747306824, 0.0025466852821409702, 0.0454266220331192, -0.3182763159275055, 0.37262365221977234, 0.2920645773410797, 0.364009290933609, -0.37284475564956665, -0.3094817101955414, -0.6671443581581116, 0.18850868940353394, -0.5002189874649048, -0.09629850089550018, 0.292267769575119, 0.05762498080730438, 0.09433810412883759, -0.09084564447402954, -0.09189717471599579, -0.12256242334842682, -0.0343007929623127, 0.08185206353664398, -0.14606988430023193, 0.015026001259684563, 0.04548380523920059, 0.199615940451622, -0.3145890533924103, -0.37624916434288025, 0.29342472553253174, -0.2082810401916504, -0.10824011266231537, 0.3331426978111267, 0.08245988190174103, 0.12071330845355988, 0.08481037616729736, 0.22626949846744537, -0.04641610383987427, 0.7333118915557861, -0.08106768131256104, 0.30919507145881653, 0.08255722373723984, -0.37499797344207764, 0.2400350272655487, 0.4845268726348877, 0.2041156142950058, 0.2580287456512451, 0.12596209347248077, -0.19485098123550415, 0.08718764036893845, 0.16473865509033203, 0.031717412173748016, 0.07896048575639725, -0.1293877810239792, 0.1703527420759201, -0.1368323266506195, 0.07415910065174103, 0.1495894193649292, 0.043422095477581024, -0.28725022077560425, -0.015043000690639019, 0.34966856241226196, 0.026865215972065926, 0.2630794644355774, 0.0375661738216877, 0.08557051420211792, -0.32022061944007874, 0.2621604800224304, 0.0627165287733078, 0.0710659995675087, -0.5202217698097229, -0.08776073902845383, 0.4912610948085785, -0.10295935720205307, -0.12906289100646973, 0.2444363832473755, 0.17667226493358612, 0.029978472739458084, -0.07097114622592926, 0.8586752414703369, 0.06057383120059967, -0.17427557706832886, 0.21999096870422363, -0.31333214044570923 ]
https://github.com/huggingface/datasets/pull/2364
README updated for SNLI, MNLI
Regarding the license issue, I think we should allow it since it starts with `other-`. Cc @gchhablani what do you think ?
Closes #2275. Mentioned about -1 labels in MNLI, SNLI and how they should be removed before training. @lhoestq `check_code_quality` test might fail for MNLI as the license name `other-Open Portion of the American National Corpus` is not a registered tag for 'licenses'
22
text: README updated for SNLI, MNLI Closes #2275. Mentioned about -1 labels in MNLI, SNLI and how they should be removed before training. @lhoestq `check_code_quality` test might fail for MNLI as the license name `other-Open Portion of the American National Corpus` is not a registered tag for 'licenses' Regarding the license issue, I think we should allow it since it starts with `other-`. Cc @gchhablani what do you think ?
[ 0.13738913834095, 0.05603913962841034, -0.03464553505182266, -0.0856928825378418, -0.19943387806415558, 0.004063889384269714, 0.42827725410461426, 0.2836199104785919, 0.026737798005342484, -0.06476008892059326, -0.247684508562088, 0.4310742914676666, -0.11389397829771042, -0.004550952464342117, -0.017909005284309387, 0.22636686265468597, 0.14435909688472748, -0.04415979981422424, 0.43604400753974915, -0.07038914412260056, -0.4070577919483185, 0.17483215034008026, -0.33428192138671875, 0.1195477545261383, 0.17452314496040344, 0.29289841651916504, 0.1245865672826767, -0.013934992253780365, -0.06820657104253769, -0.6750620007514954, -0.2088114321231842, 0.06343140453100204, 0.052903927862644196, -0.20086997747421265, -0.00011534669465618208, -0.2120196521282196, 0.09554260969161987, 0.07163693755865097, -0.19241739809513092, -0.002787545323371887, 0.08955555409193039, 0.033685170114040375, -0.3106808662414551, 0.07607068866491318, 0.08408140391111374, -0.06370162963867188, -0.022057751193642616, 0.011607572436332703, -0.20141126215457916, 0.17500713467597961, 0.08998426795005798, -0.012730557471513748, 0.04753444716334343, 0.1066645011305809, 0.3081333637237549, -0.27690327167510986, 0.0731055811047554, 0.5789172649383545, 0.5565166473388672, 0.182341068983078, 0.1165471076965332, 0.6131170392036438, -0.10222748667001724, 0.03694390878081322, -0.02208423614501953, -0.04385479539632797, 0.7699350118637085, -0.10344131290912628, 0.09458736330270767, 0.20502158999443054, 0.266373872756958, -0.08396423608064651, 0.0015364554710686207, -0.268665075302124, 0.09066155552864075, -0.09456817060709, 0.2784459590911865, 0.2323865443468094, 0.06631980836391449, 0.20506346225738525, 0.16675075888633728, -0.322661817073822, -0.3401878774166107, 0.11288107186555862, -0.10918731242418289, 0.5865710973739624, 0.12405826896429062, 0.12415722012519836, 0.4892115294933319, 0.11606578528881073, -0.02884594351053238, 0.20242340862751007, -0.18141700327396393, -0.033306874334812164, -0.1437116116285324, -0.2322646677494049, -0.2699905037879944, -0.1993597149848938, 0.19568920135498047, 0.4659971594810486, -0.1309821903705597, -0.025205273181200027, -0.09180982410907745, 0.1460186243057251, 0.07231703400611877, -0.08654114603996277, 0.22823742032051086, 0.4018053412437439, 0.12845119833946228, -0.11551233381032944, 0.12694977223873138, 0.21931898593902588, -0.3076086640357971, -0.36079055070877075, -0.2163461446762085, 0.20231962203979492, -0.2119024246931076, -0.2396552860736847, -0.15892456471920013, 0.5455436706542969, -0.3292792737483978, -0.15425147116184235, 0.168050155043602, 0.242328941822052, 0.2201952189207077, -0.1831294298171997, 0.13933470845222473, -0.1025298684835434, 0.30476468801498413, -0.3786296248435974, 0.20642538368701935, 0.30864039063453674, -0.21672694385051727, -0.05831541121006012, 0.2595120668411255, -0.3194946050643921, 0.021450242027640343, -0.24094250798225403, 0.08013470470905304, -0.0281569454818964, 0.14662566781044006, -0.11603015661239624, 0.600668728351593, 0.44732725620269775, -0.30110159516334534, -0.1196758970618248, -0.1569141000509262, 0.0445060059428215, -0.07342958450317383, 0.43899005651474, -0.11067648977041245, -0.3049124479293823, -0.019169604405760765, 0.16064928472042084, 0.01208416372537613, 0.029337909072637558, 0.38874873518943787, -0.2202707678079605, 0.09632056206464767, -0.41376861929893494, 0.35169607400894165, -0.07387387007474899, -0.02815774641931057, 0.014921536669135094, -0.17005805671215057, 0.09834340214729309, -0.10645487904548645, 0.2270180583000183, -0.037864115089178085, 0.04787871241569519, 0.11190320551395416, 0.3426121175289154, -0.14189110696315765, -0.20530667901039124, -0.3197002410888672, 0.37195807695388794, 0.26957207918167114, -0.3877226412296295, -0.03903637081384659, 0.7595270276069641, -0.4298892021179199, -0.30467885732650757, 0.10081017762422562, 0.10838854312896729, -0.2706984877586365, -0.10690192133188248, 0.027510251849889755, -0.22702795267105103, 0.022314567118883133, -0.28238388895988464, -0.5473403930664062, -0.005569031462073326, 0.23399046063423157, 0.03214146941900253, 0.11636680364608765, 0.022031694650650024, -0.0901835635304451, 0.08876974135637283, 0.4859534204006195, 0.1334645301103592, -0.029975680634379387, -0.2411241978406906, 0.4153520464897156, -0.05496986210346222, 0.23260074853897095, -0.06290338933467865, 0.1480354368686676, 0.014120139181613922, -0.3360339403152466, 0.2848299741744995, 0.4670296311378479, -0.27399665117263794, -0.137748122215271, 0.046816952526569366, 0.02713954821228981, -0.14088234305381775, 0.060208603739738464, 0.08919452875852585, -0.12379227578639984, -0.36056503653526306, -0.1744542121887207, 0.08186734467744827, -0.5996079444885254, 0.1269131600856781, -0.11400824785232544, -0.2664629817008972, -0.3363420069217682, 0.33573976159095764, -0.363627552986145, 0.02336854860186577, 0.07018629461526871, -0.07070372253656387, 0.0744716227054596, 0.2694490849971771, -0.09382927417755127, -0.09588374197483063, 0.07069192826747894, 0.39801162481307983, 0.04111333563923836, -0.5230750441551208, 0.033969681710004807, 0.10254998505115509, -0.11398590356111526, -0.08459444344043732, 0.11936738342046738, 0.16360273957252502, -0.022263940423727036, -0.056104205548763275, -0.080666683614254, -0.0276978500187397, -0.29029712080955505, -0.12844331562519073, -0.4007786214351654, -0.3354787528514862, 0.2706758975982666, 0.12596267461776733, -0.3670380115509033, 0.14546827971935272, 0.005896337330341339, -0.18717685341835022, 0.2253044843673706, -0.22636523842811584, -0.09525131434202194, 0.022719472646713257, 0.08688393235206604, 0.11871417611837387, 0.09619277715682983, 0.13947069644927979, 0.039677828550338745, -0.025039371103048325, 0.01766820251941681, 0.2062029093503952, -0.033359676599502563, -0.4225030839443207, 0.34916234016418457, 0.2555169463157654, -0.13364237546920776, 0.4535137116909027, 0.12654350697994232, 0.11610464006662369, -0.24731114506721497, -0.009899619966745377, 0.20876681804656982, -0.07695050537586212, -0.3304848372936249, 0.05681036412715912, 0.044451676309108734, -0.21347039937973022, -0.4417869448661804, -0.010649156756699085, -0.15332621335983276, -0.004196915775537491, 0.361838161945343, 0.11875475943088531, -0.09732602536678314, 0.1077626571059227, -0.09425845742225647, 0.32602962851524353, -0.5452128648757935, -0.13443201780319214, 0.20638656616210938, -0.07101593911647797, -0.2936868369579315, 0.0634969025850296, 0.34551844000816345, -0.24247555434703827, 0.10471607744693756, -0.20012499392032623, -0.3434000015258789, -0.16466619074344635, -0.3679119348526001, 0.09771506488323212, -0.0341239869594574, -0.06243860721588135, 0.06380168348550797, -0.22759439051151276, 0.0062226541340351105, 0.020471099764108658, -0.14883288741111755, -0.2751602530479431, 0.19505470991134644, -0.16275553405284882, -0.0593426451086998, 0.10950684547424316, -0.4828394055366516, -0.640186607837677, -0.048573821783065796, -0.2188001126050949, 0.1819903552532196, -0.16451019048690796, 0.037909794598817825, 0.569010853767395, -0.43021559715270996, -0.061371173709630966, 0.13936999440193176, 0.27600497007369995, -0.2516619861125946, 0.177312970161438, -0.13688044250011444, 0.01682700775563717, -0.21419326961040497, 0.13627395033836365, 0.1691109836101532, 0.28162285685539246, -0.23288148641586304, -0.2258826196193695, 0.1558455228805542, 0.5584975481033325, 0.19199509918689728, -0.1932152360677719, -0.46526864171028137, 0.12076305598020554, -0.058555494993925095, 0.018905023112893105, -0.11551953107118607, 0.3010706305503845, 0.15787997841835022, -0.2017468512058258, 0.21530988812446594, 0.22092729806900024, -0.0644829124212265, 0.015507835894823074, 0.33078473806381226, 0.21101203560829163, 0.03782813996076584, 0.12495269626379013, 0.09809986501932144, -0.22723586857318878, 0.21651533246040344, -0.012755092233419418, 0.3190608322620392, 0.27698060870170593, -0.3184777498245239, 0.08838419616222382, -0.21539944410324097, 0.1060895100235939, -0.11022292077541351, 0.2627836763858795, -0.16905468702316284, -0.05307139456272125, 0.4604441821575165, 0.05861281603574753, 0.294597864151001, 0.035443779081106186, 0.006744407117366791, -0.08486968278884888, -0.10437050461769104, 0.20244519412517548, 0.5168362259864807, 0.3003874123096466, -0.32712337374687195, -0.0704888179898262, -0.10166474431753159, 0.2099646031856537, 0.08647224307060242, 0.14743389189243317, 0.3092104494571686, -0.2179199755191803, -0.17840787768363953, 0.31190648674964905, -0.00806097500026226, 0.41632962226867676, -0.5232041478157043, 0.1536896526813507, 0.37311428785324097, 0.4545365273952484, 0.12785176932811737, -0.2666567265987396, -0.21629609167575836, -0.4866998791694641, 0.6309096813201904, 0.14421886205673218, -0.17222073674201965, -0.09933352470397949, 0.30041658878326416, -0.1260363757610321, 0.17920923233032227, -0.5153983235359192, -0.14289070665836334, 0.1988719403743744, -0.41350656747817993, -0.14024806022644043, 0.19605626165866852, -0.047217871993780136, -0.2511214315891266, 0.11242987215518951, 0.49226662516593933, -0.05843556672334671, 0.24110539257526398, 0.21835674345493317, -0.2205774188041687, 0.4382193982601166, 0.10436612367630005, -0.0541834756731987, 0.3323153257369995, 0.465534508228302, 0.15764141082763672, -0.21407704055309296, -0.021307416260242462, 0.2419721782207489, -0.22481697797775269, 0.19205769896507263, 0.4507909417152405, 0.05272612348198891, 0.08865455538034439, 0.29717370867729187, -0.3378927707672119, -0.14170552790164948, -0.06875509768724442, -0.038797467947006226, -0.06373043358325958, 0.08671746402978897, -0.26491209864616394, 0.2951372563838959, 0.3040764033794403, -0.49715882539749146, 0.022218767553567886, -0.3678012490272522, -0.00475158728659153, 0.035366374999284744, 0.22160902619361877, 1.1133346557617188, 0.0939876139163971, -0.1817336082458496, -0.05860505253076553, -0.3471318483352661, 0.09957994520664215, -0.3714604377746582, 0.23433998227119446, -0.35927069187164307, 0.22980362176895142, 0.04633636772632599, -0.05497800558805466, 0.05970879644155502, -0.1867464780807495, 0.24000364542007446, -0.2641560733318329, -0.048919711261987686, 0.1309889554977417, 0.05766019970178604, 0.4297458827495575, -0.14682576060295105, 0.12295040488243103, 0.26275625824928284, 0.0198049396276474, 0.11836430430412292, 0.3667527735233307, -0.307147741317749, -0.18574659526348114, -0.18180468678474426, -0.1928340196609497, -0.4051990509033203, -0.1745298206806183, 0.35370033979415894, 0.010836676694452763, 0.157905712723732, 0.04105718433856964, 0.3745573163032532, 0.023395560681819916, 0.820892870426178, 0.0673326924443245, -0.0743199959397316, -0.07798044383525848, 0.5078729391098022, -0.07756980508565903, -0.002574765821918845, 0.07784346491098404, 0.3734762370586395, -0.37666401267051697, -0.08593477308750153, 0.2723049223423004, -0.03192213177680969, -0.0902690663933754, -0.47113603353500366, -0.0022130459547042847, 0.33725279569625854, -0.19082781672477722, 0.29085874557495117, 0.03722105547785759, -0.024680111557245255, -0.11870341002941132, 0.11996683478355408, 0.07609570026397705, -0.3471491038799286, -0.4139217734336853, 0.08044123649597168, -0.20805108547210693, -0.03428397700190544, 0.032535526901483536, 0.005072090774774551, 0.20911425352096558, -0.15880919992923737, -0.0319858193397522, -0.009516265243291855, -0.27345985174179077, -0.15899550914764404, 0.06769820302724838, -0.41624417901039124, -0.23513953387737274, 0.39711230993270874, -0.2892460227012634, 0.07713984698057175, 0.5578471422195435, 0.38332802057266235, 0.5521970987319946, 0.040786292403936386, -0.0975956842303276, -0.22965040802955627, -0.003563627600669861, -0.6625872254371643, 0.04210468754172325, -0.07792996615171432, 0.3555909991264343, -0.15660181641578674, -0.06691469997167587, -0.2665557563304901, -0.1979847401380539, -0.25964033603668213, 0.11667750030755997, -0.29901257157325745, 0.012205157428979874, -0.38141611218452454, -0.08221101760864258, 0.03667251765727997, 0.13087061047554016, -0.3670169711112976, -0.019906900823116302, 0.022911570966243744, 0.18601451814174652, 0.2209402620792389, 0.017193205654621124, -0.1967836171388626, -0.0808846652507782, -0.24988284707069397, 0.37631139159202576, -0.18858523666858673, -0.43535658717155457, 0.21815256774425507, 0.42414188385009766, -0.19707800447940826, 0.10599637031555176, -0.05737295001745224, 0.18433278799057007, -0.2962495982646942, 0.10881278663873672, -0.07513494044542313, -0.07402710616588593, -0.13386237621307373, 0.0021355003118515015, -0.40608733892440796, 0.03922474756836891, -0.04181590676307678, 0.13821160793304443, 0.03862407058477402, -0.011729180812835693, -0.050570301711559296, -0.01218215748667717, 0.06496445834636688, 0.4666731059551239, -0.28154540061950684, -0.32433000206947327, 0.32421743869781494, 0.1434139460325241, -0.06440849602222443, 0.053491491824388504, -0.026652086526155472, -0.11910543590784073, -0.0032194219529628754, 0.24587324261665344, 0.6325346827507019, -0.08677017688751221, 0.13583692908287048, 0.336938738822937, 0.19300082325935364, -0.07998919486999512, -0.08106333017349243, 0.4259101450443268, -0.09746930748224258, 0.2411920130252838, 0.17277148365974426, -0.15508712828159332, -0.14735037088394165, -0.285139262676239, -0.44781744480133057, 0.35791662335395813, 0.32583728432655334, 0.5058845281600952, 0.2386246919631958, 0.09555599093437195, 0.10805228352546692, 0.3384262025356293, -0.15273594856262207, 0.2504676878452301, 0.08137025684118271, 0.13024918735027313, 0.012262439355254173, -0.2568887770175934, 0.0429975688457489, -0.06633205711841583, -0.18726035952568054, -0.15545311570167542, -0.9311733245849609, -0.023943986743688583, 0.061873748898506165, 0.06968343257904053, 0.12960821390151978, 0.23941193521022797, 0.19651584327220917, 0.0742979645729065, -0.24765314161777496, -0.13185063004493713, -0.39387020468711853, 0.09180623292922974, 0.2501804828643799, -0.4386688768863678, 0.05765143781900406, -0.29140931367874146, -0.030538372695446014, 0.45422032475471497, -0.16578920185565948, 0.40465855598449707, -0.013590794056653976, 0.2309616357088089, -0.1859804093837738, -0.42666545510292053, 0.09636128693819046, 0.049528323113918304, 0.3005151152610779, 0.43062448501586914, 0.10428443551063538, 0.2951247990131378, 0.013700122013688087, -0.04998597130179405, 0.30023714900016785, 0.08783143758773804, -0.12289798259735107, -0.11822311580181122, -0.0012085586786270142, 0.2926417291164398, -0.27206310629844666, -0.20694847404956818, 0.07817204296588898, -0.040360815823078156, 0.10637602210044861, 0.23410500586032867, 0.23855341970920563, 0.18751883506774902, 0.020835213363170624, 0.05444013327360153, 0.18578076362609863, 0.21984483301639557, 0.028280384838581085, 0.13918745517730713, -0.3754964768886566, -0.13559019565582275, -0.5366443395614624, 0.4524531364440918, -0.0842808187007904, 0.1341351866722107, -0.10242637246847153, -0.3297887444496155, 0.18765035271644592, 0.0057405587285757065, -0.24908055365085602, 0.20632405579090118, 0.08351612091064453, 0.30299127101898193, -0.15734663605690002, 0.09899770468473434, 0.4100315570831299, 0.058096908032894135, 0.007832750678062439, 0.06123080104589462, 0.15863044559955597, 0.0015227226540446281, -0.10449117422103882, 0.021086953580379486, -0.07492417842149734, 0.06794095039367676, 0.5513546466827393, 0.6323603987693787, -0.004312962293624878, 0.5209252238273621, -0.040062788873910904, -0.026166003197431564, -0.02769610658288002, 0.20846758782863617, -0.050519101321697235, 0.03161969035863876, 0.23943546414375305, -0.07742162048816681, -0.05167572945356369, 0.14080043137073517, -0.16176731884479523, -0.04476233571767807, -0.08945005387067795, 0.11010623723268509, -0.5516931414604187, -0.06466452777385712, 0.04168000817298889, 0.08232146501541138, -0.09333143383264542, -0.22158169746398926, 0.2246543914079666, -0.4128483235836029, -0.3281039297580719, -0.4762631356716156, 0.6902461051940918, -0.4294613003730774, 0.0644354373216629, -0.06686912477016449, 0.4301642179489136, 0.12319714576005936, 0.1342252492904663, -0.7383009791374207, -0.32475122809410095, 0.3505409359931946, 0.19640567898750305, -0.48158660531044006, -0.14014968276023865, 0.18088915944099426, -0.13281023502349854, -0.17446205019950867, -0.25478941202163696, 0.17221003770828247, -0.31520041823387146, -0.029100563377141953, -0.27228301763534546 ]
https://github.com/huggingface/datasets/pull/2362
Fix web_nlg metadata
Hi ! `release_v2.1` and the others are dataset configuration names. The configuration names are used to show the right code snippet in the UI to load the dataset. For example if the parsing of the web_nlg tags worked correctly we would have: ![image](https://user-images.githubusercontent.com/42851186/118475444-8d1e5d00-b70c-11eb-98e9-844d4daf6139.png) Therefore I don't think it's a good idea to rename the configurations from `release_v2.1` to `release_v2_1` as the code snippet would be wrong in this case. Moreover we can't really disallow dots in configuration names and rename the configurations since it would be a big breaking change. It's commonly used, especially with multilingual datasets. For example `load_dataset("indic_glue", "sna.bn")`. Is this something that can be fixed on the moonlanding side instead ?
Our metadata storage system does not support `.` inside keys. cc @Pierrci
114
text: Fix web_nlg metadata Our metadata storage system does not support `.` inside keys. cc @Pierrci Hi ! `release_v2.1` and the others are dataset configuration names. The configuration names are used to show the right code snippet in the UI to load the dataset. For example if the parsing of the web_nlg tags worked correctly we would have: ![image](https://user-images.githubusercontent.com/42851186/118475444-8d1e5d00-b70c-11eb-98e9-844d4daf6139.png) Therefore I don't think it's a good idea to rename the configurations from `release_v2.1` to `release_v2_1` as the code snippet would be wrong in this case. Moreover we can't really disallow dots in configuration names and rename the configurations since it would be a big breaking change. It's commonly used, especially with multilingual datasets. For example `load_dataset("indic_glue", "sna.bn")`. Is this something that can be fixed on the moonlanding side instead ?
[ 0.349126398563385, -0.14763885736465454, -0.01562168076634407, 0.01851966232061386, 0.2531476616859436, 0.21279621124267578, 0.10766150802373886, 0.08071663230657578, 0.05445914342999458, 0.11888967454433441, 0.04814137518405914, 0.10605213046073914, -0.08967933058738708, 0.296749085187912, 0.002331177704036236, 0.18718267977237701, 0.05079467222094536, 0.012663990259170532, 0.08342339098453522, 0.1403973400592804, -0.4059162139892578, 0.05569169670343399, -0.13819648325443268, 0.3278508484363556, -0.14942750334739685, 0.023567654192447662, 0.04218989610671997, 0.30424925684928894, -0.29672592878341675, -0.8067843317985535, -0.17989923059940338, 0.08792967349290848, -0.14763885736465454, -0.05392124503850937, -0.00012243025412317365, 0.1279907524585724, 0.6585398316383362, -0.28019705414772034, -0.48001453280448914, 0.20647062361240387, -0.2851821482181549, 0.04555799067020416, 0.057579681277275085, -0.377175897359848, 0.14845013618469238, -0.16819925606250763, -0.06916556507349014, -0.16555598378181458, 0.022986583411693573, -0.17220668494701385, 0.09718821942806244, 0.36922797560691833, 0.06755547225475311, -0.09581469744443893, 0.06382328271865845, 0.2780773639678955, -0.16386234760284424, 0.5259934663772583, 0.28896480798721313, 0.167573943734169, 0.13274326920509338, 0.34764328598976135, 0.01132664643228054, -0.23884813487529755, 0.45816394686698914, -0.12011591345071793, 0.6018462181091309, -0.3186827003955841, 0.487531453371048, -0.04499790817499161, 0.7291046380996704, -0.15051570534706116, -0.294593870639801, -0.09538455307483673, 0.03527601808309555, 0.07353758066892624, 0.26639366149902344, 0.10143929719924927, -0.14288263022899628, 0.09655295312404633, -0.18527521193027496, -0.60838383436203, -0.08882658183574677, 0.16621176898479462, 0.14924311637878418, 0.8166730403900146, 0.0739978551864624, 0.2778644263744354, -0.053033847361803055, -0.2782982587814331, 0.027830537408590317, -0.10559956729412079, -0.14740251004695892, -0.1608853042125702, 0.11134026944637299, 0.07539127767086029, -0.35856667160987854, 0.010276876389980316, 0.10022858530282974, 0.1133449524641037, -0.0015758657827973366, 0.113035187125206, 0.007812616415321827, 0.35623642802238464, -0.0885951817035675, -0.0578698106110096, 0.42372509837150574, 0.07419838756322861, 0.5031035542488098, -0.1304202675819397, 0.23897215723991394, 0.10162428021430969, -0.1444767266511917, -0.298568457365036, -0.16161130368709564, -0.09781455993652344, 0.2676572799682617, 0.14613673090934753, 0.03465946763753891, 0.00909718032926321, -0.20335978269577026, -0.07586396485567093, -0.012213454581797123, 0.19948285818099976, 0.4245227575302124, -0.19155699014663696, 0.18985030055046082, 0.17845551669597626, 0.2712973654270172, -0.33435869216918945, -0.015993312001228333, -0.05045531317591667, -0.22958838939666748, 0.25782904028892517, -0.11243347823619843, -0.05098678544163704, 0.19321902096271515, 0.22501419484615326, 0.038226380944252014, -0.1299726516008377, -0.15154676139354706, 0.2980514466762543, 0.09852942824363708, 0.40357035398483276, -0.36263057589530945, 0.19855351746082306, -0.030824702233076096, -0.5657826662063599, -0.08062467724084854, 0.2538362741470337, -0.44338053464889526, -0.07063337415456772, -0.24319835007190704, 0.09985598176717758, -0.1377999484539032, -0.07419303059577942, -0.264922171831131, 0.057239338755607605, 0.2673288583755493, 0.26648277044296265, 0.23818284273147583, 0.13493195176124573, 0.04878309741616249, -0.24026834964752197, -0.13852863013744354, 0.40087831020355225, -0.2210288941860199, -0.21258240938186646, 0.08749092370271683, -0.04503749683499336, 0.26597344875335693, 0.14552249014377594, -0.18032371997833252, 0.10538244992494583, -0.26791876554489136, 0.3150591254234314, 0.14635378122329712, -0.2090127319097519, 0.1789698302745819, 0.07814927399158478, -0.1986764669418335, -0.2850976586341858, 0.29540035128593445, 0.015894901007413864, -0.132115438580513, 0.09713722765445709, 0.1129722148180008, -0.17368431389331818, 0.22410762310028076, -0.015878994017839432, -0.40308696031570435, -0.4994502067565918, 0.29475170373916626, 0.00881345197558403, -0.05033409968018532, 0.12508569657802582, 0.10240955650806427, 0.4045847952365875, 0.15799745917320251, -0.24366360902786255, 0.2449340671300888, 0.25656670331954956, 0.13833118975162506, 0.14672152698040009, 0.17185184359550476, 0.18553680181503296, -0.5252324938774109, 0.22406482696533203, 0.3496765196323395, 0.13533401489257812, 0.0022338852286338806, -0.2539069950580597, -0.19733813405036926, -0.024579936638474464, -0.22322790324687958, -0.006800312548875809, -0.09399063140153885, 0.31719428300857544, -0.10033927857875824, 0.04552752897143364, -0.21138055622577667, -0.38596871495246887, 0.056306660175323486, 0.15557336807250977, -0.29629918932914734, 0.1701546162366867, -0.16621029376983643, 0.035365842282772064, -0.16533556580543518, -0.04566996544599533, 0.0831034779548645, -0.0777752622961998, -0.12724149227142334, 0.4254891276359558, -0.08772771060466766, 0.19298022985458374, 0.2902136445045471, 0.6375791430473328, 0.020444229245185852, -0.10694260895252228, 0.2551863193511963, 0.32858410477638245, 0.04962238669395447, -0.07499521225690842, -0.04408104717731476, 0.35981041193008423, -0.0577523373067379, 0.25623053312301636, -0.031990304589271545, -0.16826732456684113, 0.25216642022132874, -0.07050493359565735, -0.42656826972961426, -0.549973726272583, -0.12135438621044159, -0.6263928413391113, 0.43549004197120667, 0.06364858895540237, -0.5213067531585693, -0.14870405197143555, 0.564844012260437, 0.00308840349316597, 0.07708830386400223, 0.02599804475903511, -0.03614484518766403, -0.11717277765274048, -0.20219802856445312, 0.060208190232515335, 0.1101403683423996, 0.09708943217992783, -0.202580064535141, 0.3212711811065674, 0.060703739523887634, -0.49646613001823425, 0.3539728820323944, 0.28447645902633667, 0.21603551506996155, 0.36552026867866516, 0.37096676230430603, -0.09313543140888214, -0.22296521067619324, -0.03131537511944771, 0.09663698822259903, -0.038450658321380615, -0.35134610533714294, -0.015513584017753601, -0.3991895020008087, -0.6561427116394043, -0.47825974225997925, 0.08911257237195969, -0.5904569029808044, -0.4708622992038727, 0.14376088976860046, -0.3011782467365265, -0.38959789276123047, 0.15923239290714264, 0.19221287965774536, 0.4191969633102417, -0.12834233045578003, 0.06376292556524277, -0.2855012118816376, -0.38416436314582825, 0.1459173858165741, -0.1457870900630951, 0.09878979623317719, -0.17148703336715698, 0.3373364210128784, -0.04599373787641525, -0.012918666936457157, -0.4560851752758026, -0.5884196162223816, 0.2656407952308655, 0.16427920758724213, 0.05219322443008423, 0.25476640462875366, -0.04218168556690216, 0.12662158906459808, -0.030201923102140427, 0.33931779861450195, 0.0546332523226738, -0.0014771930873394012, -0.024480223655700684, 0.10336622595787048, -0.23011311888694763, -0.35433849692344666, -0.0870344415307045, -0.05924214422702789, -0.2758193910121918, 0.057426225394010544, -0.31761762499809265, 0.03660256415605545, 0.5328617691993713, -0.3039972186088562, 0.07065805047750473, 0.012525148689746857, -0.1737062633037567, -0.07437033206224442, -0.11733278632164001, 0.17094182968139648, -0.15329797565937042, 0.11672544479370117, 0.15518692135810852, 0.2530882954597473, 0.36493372917175293, -0.21237267553806305, -0.07505471259355545, -0.3959852457046509, 0.01971043087542057, 0.057346243411302567, 0.006665363907814026, 0.050425611436367035, -0.13868841528892517, 0.13184739649295807, -0.10527534037828445, -0.11965436488389969, -0.24703577160835266, 0.2115086019039154, -0.031993694603443146, 0.2419937252998352, 0.3408639430999756, 0.09736655652523041, 0.014671895653009415, 0.5059577226638794, 0.02492426335811615, 0.11580945551395416, 0.0792449414730072, 0.037253156304359436, 0.0788358673453331, 0.023755226284265518, 0.023796165362000465, -0.05992971733212471, 0.13976584374904633, -0.08351374417543411, 0.31276458501815796, -0.06669295579195023, 0.16998253762722015, 0.11164189875125885, 0.05925329402089119, -0.1107400506734848, -0.1466711014509201, 0.06752938032150269, -0.08385568857192993, 0.2735096216201782, -0.09601742029190063, -0.20357245206832886, 0.24640408158302307, -0.022375283762812614, 0.14929214119911194, 0.40527528524398804, 0.07618986070156097, 0.2160579413175583, -0.5693511366844177, -0.31912416219711304, 0.030278634279966354, 0.23275849223136902, -0.08460477739572525, 0.4468148350715637, -0.15981528162956238, 0.0014680810272693634, 0.1431465744972229, -0.046326298266649246, 0.46892571449279785, -0.4384070336818695, 0.2671159505844116, 0.1660395711660385, 0.1491803526878357, -0.2473808228969574, -0.34899550676345825, -0.027842802926898003, 0.27598851919174194, 0.3834809362888336, 0.7964285016059875, -0.12793807685375214, -0.24629278481006622, -0.1717224270105362, 0.35508519411087036, -0.23563449084758759, -0.1463514119386673, -0.3504584729671478, -0.16083762049674988, -0.5305158495903015, -0.04757828265428543, -0.07334417849779129, 0.04173724725842476, 0.15431949496269226, 0.06437721848487854, 0.22107484936714172, -0.0136088402941823, -0.08125576376914978, 0.26371362805366516, 0.07578759640455246, 0.12116701900959015, -0.13487611711025238, 0.05820438265800476, 0.3232446610927582, 0.229197695851326, 0.5054181814193726, 0.19757643342018127, -0.2772931158542633, -0.0921628475189209, -0.35237181186676025, 0.35196852684020996, 0.5061941146850586, -0.10829202085733414, 0.5311946272850037, 0.15257540345191956, 0.2825160026550293, -0.41993454098701477, -0.19456785917282104, -0.047961391508579254, -0.17482627928256989, -0.3543115258216858, -0.2835308611392975, 0.44889208674430847, 0.051702145487070084, -0.1818884015083313, -0.17316986620426178, 0.35351693630218506, -0.5351167917251587, 0.19004279375076294, 0.2291598618030548, 1.154386043548584, -0.3236367702484131, -0.14101168513298035, -0.2208395004272461, -0.17749269306659698, 0.3195849657058716, -0.08452577143907547, -0.0009695887565612793, -0.5149020552635193, 0.33434024453163147, 0.13270819187164307, -0.036265864968299866, 0.37936756014823914, 0.21286837756633759, -0.22488674521446228, 0.20822902023792267, -0.15502789616584778, 0.4815181791782379, -0.055540889501571655, 0.26617431640625, 0.1868743896484375, -0.19820664823055267, -0.08354025334119797, -0.0773995965719223, -0.1870821714401245, 0.015299556776881218, -0.12191199511289597, -0.06348790973424911, -0.15487845242023468, -0.209725484251976, -0.28475528955459595, -0.15853631496429443, 0.0321505069732666, 0.21860580146312714, 0.29872554540634155, 0.2823867201805115, 0.09593905508518219, -0.031021546572446823, 0.5064593553543091, 0.48344603180885315, -0.10709123313426971, 0.07687786221504211, -0.19531139731407166, -0.07947974652051926, -0.31854143738746643, 0.24767151474952698, 0.019670331850647926, -0.03973018005490303, -0.1176605299115181, -0.022404365241527557, -0.020686838775873184, -0.2570338845252991, -0.721516489982605, -0.04151376336812973, -0.03243451565504074, 0.21295702457427979, -0.152866393327713, -0.2288784682750702, -0.09651577472686768, -0.3030819892883301, -0.004741154611110687, -0.2106272131204605, -0.08161254972219467, -0.07122454792261124, 0.14523306488990784, -0.32658684253692627, 0.07316772639751434, 0.36220037937164307, -0.14090359210968018, 0.1122545450925827, 0.16475039720535278, 0.057795774191617966, -0.09337343275547028, -0.219600111246109, 0.22277313470840454, -0.2365187406539917, -0.32903552055358887, 0.21279160678386688, 0.23658974468708038, -0.13953469693660736, -0.10412874817848206, 0.04539111256599426, 0.23062053322792053, 0.15996739268302917, -0.1606486588716507, -0.29452013969421387, -0.03389657288789749, 0.2919924557209015, -0.055081043392419815, -0.08567126095294952, -0.11609861254692078, 0.15336459875106812, -0.2136988639831543, -0.108946293592453, -0.20300008356571198, -0.14265494048595428, -0.17721408605575562, 0.246673122048378, 0.5280194282531738, 0.2353987693786621, -0.30579814314842224, -0.16272249817848206, -0.0409901961684227, -0.21651068329811096, -0.14245925843715668, -0.009509453549981117, -0.2321794629096985, 0.2244568169116974, 0.11835888773202896, 0.14612114429473877, 0.12895488739013672, -0.15777073800563812, 0.04962806776165962, -0.007228156551718712, 0.3912460207939148, 0.19188329577445984, 0.058104466646909714, 0.5600738525390625, -0.19132260978221893, 0.2434367835521698, 0.11023630201816559, 0.004988895729184151, 0.2556551694869995, 0.5478849411010742, 0.04704355448484421, 0.05331782251596451, -0.1269940584897995, -0.10299885272979736, -0.23173774778842926, 0.2230568528175354, -0.3823773264884949, 0.20516136288642883, 0.0001566968858242035, -0.17766201496124268, 0.08816356956958771, 0.4188442528247833, 0.062200337648391724, 0.40639644861221313, -0.3347671627998352, -0.21090364456176758, 0.08621307462453842, 0.0038679521530866623, -0.08446872234344482, -0.41257521510124207, -0.022817064076662064, -0.0018769344314932823, -0.22734937071800232, 0.41671717166900635, 0.455301433801651, 0.022171005606651306, -0.07085931301116943, -0.00034123659133911133, 0.4410308301448822, -0.21971052885055542, 0.03908485174179077, 0.5494683980941772, -0.009495135396718979, 0.13766735792160034, 0.2554551959037781, 0.22007040679454803, 0.23084500432014465, 0.3793306350708008, 0.25733405351638794, 0.20455820858478546, 0.7715649008750916, 0.45834365487098694, 0.003488965332508087, 0.09079988300800323, 0.09274699538946152, 0.3385753929615021, -0.033395931124687195, 0.14002574980258942, 0.12683841586112976, -0.1359119713306427, 0.14116725325584412, -0.2986598312854767, 0.19406883418560028, 0.1507226675748825, 0.004575533792376518, -0.34706005454063416, -0.05371076613664627, -0.14878299832344055, -0.5001417398452759, 0.3077191710472107, -0.26825234293937683, 0.1646294891834259, 0.03152995556592941, -0.2506439685821533, -0.025784410536289215, -0.354371041059494, 0.12586337327957153, 0.12494587153196335, 0.17529705166816711, -0.4935433268547058, 0.18590542674064636, 0.2619726061820984, 0.07637091726064682, 0.22546693682670593, 0.06283250451087952, 0.3419276475906372, 0.4250374436378479, 0.14064741134643555, -0.1289701759815216, -0.5096390843391418, -0.04500775784254074, 0.09015605598688126, 0.1223372295498848, 0.24501654505729675, -0.31134676933288574, 0.4086318016052246, -0.04253378510475159, -0.03496738523244858, 0.07792128622531891, 0.14980758726596832, 0.3714209496974945, 0.17587676644325256, -0.022441953420639038, 0.045820873230695724, -0.00498628243803978, 0.19195541739463806, 0.08583808690309525, -0.6300759315490723, -0.1470576375722885, 0.35329967737197876, 0.29143887758255005, 0.051661305129528046, -0.09840898960828781, 0.035952359437942505, -0.05966249480843544, 0.736679196357727, 0.4324837028980255, -0.2767918109893799, 0.014645129442214966, -0.1843942105770111, -0.3959755301475525, -0.2450968325138092, 0.04689827933907509, -0.18857495486736298, 0.11354024708271027, -0.004824343137443066, 0.17939500510692596, 0.05198661610484123, -0.0703577995300293, -0.0004151428584009409, 0.15972116589546204, -0.14153005182743073, -0.012425994500517845, 0.3248659670352936, 0.2653137445449829, -0.03953435271978378, -0.015439124777913094, -0.36535295844078064, 0.2958277761936188, -0.0627138763666153, -0.1615602970123291, -0.49412649869918823, 0.13916794955730438, 0.09484092891216278, 0.1822100728750229, 0.48789864778518677, -0.037109650671482086, 0.22374533116817474, -0.19778972864151, -0.16322588920593262, -0.4420754313468933, -0.5271592736244202, -0.3176775574684143, 0.44530436396598816, 0.09490175545215607, 0.2522847354412079, -0.229726642370224, -0.12264324724674225, -0.4034968912601471, -0.15080641210079193, -0.45811957120895386, 0.11285162717103958, -0.05778789520263672, 0.19183911383152008, -0.09225402772426605, -0.13092449307441711, -0.14636091887950897, -0.1263534128665924, 0.1864321380853653, -0.2016494870185852, -0.1441841721534729, -0.3394131362438202, 0.542553722858429, 0.4156986176967621, -0.4355810582637787, 0.22385473549365997, 0.2446042150259018, 0.219030499458313, 0.022560078650712967, -0.4962885081768036, -0.1447610855102539, 0.3759537935256958, 0.22728899121284485, -0.5335434675216675, 0.18460188806056976, 0.03324081748723984, -0.17504708468914032, -0.08167190849781036, -0.3135816156864166, 0.11652085930109024, -0.28868362307548523, -0.27164289355278015, -0.21606771647930145 ]
https://github.com/huggingface/datasets/pull/2362
Fix web_nlg metadata
> Is this something that can be fixed on the moonlanding side instead ? Not really unless we change database:) We'll maybe try to find another workaround, but super low-prio given that it's the only dataset that has those dotted keys in the YAML metadata
Our metadata storage system does not support `.` inside keys. cc @Pierrci
45
text: Fix web_nlg metadata Our metadata storage system does not support `.` inside keys. cc @Pierrci > Is this something that can be fixed on the moonlanding side instead ? Not really unless we change database:) We'll maybe try to find another workaround, but super low-prio given that it's the only dataset that has those dotted keys in the YAML metadata
[ 0.3600819408893585, -0.370775431394577, -0.03823570907115936, -0.09038475155830383, 0.3439352512359619, 0.1565854251384735, 0.07607302069664001, 0.035630255937576294, 0.12507665157318115, 0.024912409484386444, 0.16551750898361206, -0.009373723529279232, -0.2445066124200821, 0.2580203711986542, -0.025252774357795715, 0.1998278796672821, 0.01364201307296753, 0.014626488089561462, 0.029104512184858322, 0.09481930732727051, -0.32323718070983887, -0.008557058870792389, -0.07448098063468933, 0.17883533239364624, -0.12783081829547882, -0.015861934050917625, 0.06895085424184799, 0.2714022994041443, -0.24408333003520966, -0.48985037207603455, 0.036503955721855164, -0.03318377211689949, -0.15662910044193268, -0.07000308483839035, -0.00011627480125753209, 0.06403319537639618, 0.5816693902015686, -0.35075318813323975, -0.28608083724975586, 0.35106760263442993, -0.06508190929889679, 0.43770232796669006, 0.04200180619955063, -0.4158596396446228, 0.05629647523164749, 0.03154487535357475, -0.2382989078760147, -0.16409166157245636, -0.07084618508815765, -0.07751542329788208, 0.2067822366952896, 0.3434227705001831, 0.05925002321600914, -0.2368575930595398, 0.14228565990924835, 0.33510345220565796, -0.20214855670928955, 0.36088961362838745, 0.27144211530685425, 0.08128592371940613, 0.052357591688632965, 0.4574976861476898, -0.05255714803934097, -0.18396253883838654, 0.5019009113311768, -0.17891757190227509, 0.8200165033340454, -0.11405625939369202, 0.40346193313598633, -0.13152027130126953, 0.5385449528694153, -0.08447111397981644, 0.07610286772251129, 0.019438840448856354, -0.08251045644283295, 0.1573963463306427, 0.08704943209886551, 0.23721635341644287, -0.14953342080116272, 0.039298832416534424, -0.20224697887897491, -0.4088396430015564, -0.07199660688638687, 0.22584448754787445, -0.08440565317869186, 0.733049750328064, 0.09621890634298325, 0.043996717780828476, -0.0031682364642620087, -0.12328861653804779, 0.054383713752031326, 0.04505661129951477, -0.2194882333278656, 0.006641951389610767, 0.33481305837631226, -0.13434290885925293, -0.14107906818389893, 0.09769408404827118, 0.3954525887966156, -0.012172434478998184, -0.06939667463302612, 0.13670945167541504, -0.11453831195831299, 0.3415941894054413, -0.0026426203548908234, -0.1363927572965622, 0.32953697443008423, -0.031392697244882584, 0.565034806728363, 0.12703929841518402, 0.2623477578163147, 0.05138128995895386, 0.04494244605302811, -0.2164497822523117, 0.18071721494197845, -0.007253129035234451, 0.3279419541358948, 0.09549969434738159, 0.017682941630482674, 0.0581883080303669, -0.4178989827632904, 0.012647252529859543, -0.0633138045668602, 0.21587255597114563, 0.4475000500679016, -0.3713977038860321, 0.20651474595069885, 0.13423866033554077, 0.43067947030067444, -0.3096087574958801, -0.04251587390899658, 0.1276736706495285, 0.003342658281326294, 0.28577056527137756, -0.030692895874381065, -0.08616746962070465, 0.1943889707326889, 0.24827833473682404, 0.18086747825145721, -0.1373538076877594, -0.18129496276378632, 0.3353908658027649, -0.011292122304439545, 0.43861547112464905, -0.32368242740631104, 0.42815032601356506, -0.09689415991306305, -0.3821902275085449, -0.1390097737312317, 0.21938064694404602, -0.333169549703598, -0.25160685181617737, -0.1215679794549942, 0.23817168176174164, -0.14023630321025848, -0.11085616052150726, -0.11956655234098434, -0.23603223264217377, 0.18378885090351105, 0.23137223720550537, 0.26153767108917236, 0.27919459342956543, 0.11331698298454285, -0.17248059809207916, -0.11857995390892029, 0.3201645016670227, -0.03593394160270691, -0.13265278935432434, 0.048462070524692535, 0.2132875621318817, 0.30341261625289917, 0.23226191103458405, -0.13063599169254303, 0.10081874579191208, -0.2722228467464447, 0.49986153841018677, -0.046351008117198944, -0.16260120272636414, 0.058848924934864044, -0.02872503362596035, 0.06675736606121063, -0.14381419122219086, 0.1430617719888687, -0.1337260603904724, -0.12359035015106201, 0.05302479863166809, 0.039866432547569275, 0.06778991222381592, 0.12606358528137207, 0.12190217524766922, -0.5713412165641785, -0.29924243688583374, 0.328485369682312, 0.007241353392601013, 0.1468072384595871, -0.13053297996520996, 0.1891140639781952, 0.50803542137146, 0.05199914053082466, -0.2396562099456787, 0.33889755606651306, 0.19888624548912048, 0.32716262340545654, -0.1277151107788086, 0.20907878875732422, 0.01833227276802063, -0.2285536229610443, 0.06821373105049133, 0.18815189599990845, 0.2063983827829361, -0.23769588768482208, -0.28515154123306274, -0.3521696925163269, -0.013132652267813683, -0.2578011453151703, -0.2279476523399353, 0.12132763862609863, -0.029803819954395294, -0.10554145276546478, 0.19275765120983124, -0.022327987477183342, -0.4951317012310028, 0.14900720119476318, -0.0477897934615612, 0.08403395116329193, 0.09601717442274094, -0.2827366590499878, 0.05975102633237839, -0.148451566696167, 0.09024170786142349, 0.12046775966882706, 0.017663639038801193, -0.10036472976207733, 0.30492618680000305, -0.3748644292354584, 0.019443489611148834, 0.18072333931922913, 0.5647770762443542, 0.19051098823547363, -0.10865911841392517, 0.026508422568440437, 0.3803979456424713, 0.06076626479625702, -0.2498658001422882, -0.0539274588227272, 0.18892589211463928, -0.0013995058834552765, 0.19383952021598816, -0.04511846601963043, 0.14236122369766235, 0.3349839150905609, -0.11630558967590332, -0.33481910824775696, -0.38414713740348816, -0.04620742425322533, -0.671709418296814, 0.0029906034469604492, 0.048839494585990906, -0.3489266037940979, -0.025137335062026978, 0.5141292810440063, -0.008167816326022148, 0.2755727767944336, 0.11520897597074509, -0.32448071241378784, -0.012283336371183395, -0.22589071094989777, 0.03821856155991554, 0.09973810613155365, 0.09569607675075531, -0.04216894134879112, 0.28000447154045105, 0.028728123754262924, -0.4661232829093933, 0.2596052587032318, -0.003573209047317505, 0.3200109004974365, 0.44653040170669556, 0.36768653988838196, -0.05919584259390831, -0.15151114761829376, 0.26478493213653564, -0.028552725911140442, 0.0037973886355757713, -0.28520017862319946, -0.09425796568393707, -0.42294713854789734, -0.6121246814727783, -0.19513991475105286, -0.18701282143592834, -0.5226594805717468, -0.4588721692562103, 0.3900894522666931, -0.2556104362010956, -0.36981064081192017, 0.05373154580593109, 0.19848695397377014, 0.34566330909729004, 0.07906311750411987, 0.13914544880390167, -0.44878023862838745, -0.48111188411712646, 0.16044184565544128, 0.0023480579257011414, 0.06434109061956406, -0.19180980324745178, 0.29455146193504333, 0.042271487414836884, 0.03463256359100342, -0.4734271764755249, -0.42333850264549255, 0.019547753036022186, 0.39560145139694214, -0.07576052844524384, 0.25735658407211304, 0.12454846501350403, 0.14028982818126678, -0.07691679149866104, 0.4465891122817993, 0.021091749891638756, -0.07563214004039764, 0.1460076868534088, -0.10825531929731369, -0.08606572449207306, -0.4968913495540619, 0.08244737237691879, -0.1460692286491394, -0.25847873091697693, -0.1251617670059204, -0.17640097439289093, -0.036871783435344696, 0.37346526980400085, -0.40697482228279114, -0.10558157414197922, -0.18239234387874603, -0.21925006806850433, -0.11457509547472, 0.07053279876708984, 0.521827220916748, -0.2118290811777115, -0.14276167750358582, 0.3136695325374603, 0.12723948061466217, 0.28376010060310364, -0.20843400061130524, -0.03238910436630249, -0.2550278306007385, -0.013745458796620369, 0.08429984748363495, 0.027389537543058395, -0.08594690263271332, -0.00977838784456253, 0.07864151149988174, -0.1346011906862259, -0.14589375257492065, -0.027882473543286324, 0.1651816964149475, -0.16972315311431885, 0.21502098441123962, 0.0759994238615036, 0.06815548241138458, 0.27262067794799805, 0.3116897940635681, -0.2560930848121643, 0.06118536740541458, 0.14655688405036926, 0.12340108305215836, -0.06877835094928741, 0.04056324437260628, -0.05109914392232895, -0.28379836678504944, 0.04326685518026352, 0.08798331022262573, 0.2563895285129547, 0.009640056639909744, 0.13628076016902924, 0.15112930536270142, 0.02429119497537613, -0.04103493317961693, -0.19206447899341583, 0.03270462900400162, -0.11607176065444946, 0.16327321529388428, -0.01365085132420063, -0.24351400136947632, 0.36444616317749023, -0.16046777367591858, 0.26263412833213806, 0.23204034566879272, 0.11642910540103912, 0.24371092021465302, -0.28469738364219666, -0.07921712100505829, 0.1562405824661255, 0.13852785527706146, -0.11733514070510864, 0.2047853171825409, -0.23619212210178375, -0.023142244666814804, 0.19557730853557587, -0.07457968592643738, 0.2905222177505493, -0.21014606952667236, 0.17068016529083252, -0.09558863937854767, 0.1813100427389145, -0.3716201186180115, -0.2972377836704254, 0.06591515243053436, 0.32929736375808716, 0.37803778052330017, 0.7950591444969177, -0.18062357604503632, 0.09466227144002914, -0.16119179129600525, 0.298031210899353, -0.26875656843185425, -0.26857784390449524, -0.2648963928222656, -0.3618311583995819, -0.3974072337150574, 0.008253723382949829, 0.16043555736541748, 0.08551009744405746, 0.10661157220602036, -0.08969324082136154, 0.2480769157409668, 0.08695798367261887, -0.1448884755373001, 0.018246840685606003, 0.06173412501811981, -0.10455675423145294, -0.1719844937324524, -0.0913400948047638, 0.5633776187896729, 0.04663996770977974, 0.1570400595664978, 0.3918693959712982, -0.03972925245761871, -0.22993886470794678, -0.5470741987228394, 0.18641482293605804, 0.23242567479610443, -0.06789067387580872, 0.6474398970603943, 0.0934469923377037, 0.025147031992673874, -0.22096320986747742, -0.42504701018333435, -0.1042342334985733, -0.22699326276779175, -0.21084852516651154, 0.04038061201572418, 0.4041319787502289, -0.10781235992908478, -0.015102870762348175, -0.27479124069213867, 0.17878028750419617, -0.4157152473926544, 0.09194041043519974, 0.28415122628211975, 1.0418757200241089, -0.3197557330131531, -0.155851349234581, -0.267680823802948, 0.09182167053222656, 0.1372496485710144, -0.445939302444458, 0.01691598817706108, -0.39059770107269287, 0.25982001423835754, 0.04139319062232971, 0.11025623977184296, 0.14927232265472412, -0.04852326959371567, -0.31170815229415894, 0.07552830874919891, -0.22151681780815125, 0.4911651909351349, 0.09552492201328278, 0.01405055820941925, 0.0902152881026268, -0.12185698747634888, 0.04047531634569168, 0.03153735399246216, -0.1564430445432663, 0.28225308656692505, -0.13640817999839783, -0.28100866079330444, -0.10309813171625137, -0.34967976808547974, -0.36895036697387695, -0.09247879683971405, -0.029394833371043205, 0.16615931689739227, 0.22343313694000244, 0.3126991391181946, 0.047552671283483505, -0.10391953587532043, 0.39810168743133545, 0.4455719292163849, -0.2523081302642822, 0.0959075316786766, -0.06593701988458633, -0.07856272906064987, -0.2271951287984848, 0.26177045702934265, -0.11384296417236328, -0.25011903047561646, -0.23212209343910217, 0.14519724249839783, -0.07411956042051315, -0.4429427981376648, -0.7218865752220154, 0.07207899540662766, 0.03105352818965912, 0.2716792821884155, -0.19137226045131683, -0.24422624707221985, -0.022641735151410103, -0.24797366559505463, 0.09847183525562286, -0.14561299979686737, -0.000989249674603343, -0.11695870012044907, 0.12987789511680603, -0.28712767362594604, 0.06869786977767944, 0.3691016733646393, -0.2951478660106659, 0.20281752943992615, 0.1463799923658371, 0.0883481353521347, -0.26927778124809265, -0.259189248085022, 0.1761811077594757, -0.025354880839586258, -0.4450571835041046, 0.03564002737402916, 0.22098350524902344, -0.0009854435920715332, -0.2557922899723053, 0.17908699810504913, 0.16845208406448364, -0.014004707336425781, -0.2782234847545624, -0.40663906931877136, 0.03654475510120392, 0.12152940034866333, 0.011187419295310974, -0.2666514813899994, -0.03532816842198372, 0.012867679819464684, 0.00690443255007267, -0.02743619866669178, -0.2948029339313507, -0.10520195960998535, 0.029556879773736, 0.1519984006881714, 0.5937290191650391, 0.17620187997817993, -0.2053670436143875, -0.10319940745830536, 0.08907203376293182, -0.00881320983171463, 0.07368441671133041, -0.16117846965789795, -0.09747472405433655, 0.16291561722755432, 0.08402742445468903, 0.23010694980621338, 0.17071004211902618, -0.09998815506696701, 0.02556690014898777, 0.08984909951686859, 0.12047135829925537, 0.06623177975416183, 0.04725091904401779, 0.4917643070220947, -0.054213616997003555, 0.20261552929878235, -0.17827428877353668, -0.11213339865207672, 0.05475950613617897, 0.4581384062767029, -0.2908288538455963, -0.00422137975692749, 0.031470440328121185, -0.14709427952766418, -0.208817258477211, 0.09491394460201263, -0.46451467275619507, 0.1681135594844818, 0.23329952359199524, -0.2067909687757492, 0.1589047908782959, 0.4318985939025879, 0.10013046115636826, -0.01120554655790329, -0.46340346336364746, -0.14164231717586517, 0.15322965383529663, 0.19135606288909912, -0.3266705870628357, -0.24315473437309265, -0.06993980705738068, 0.03968973830342293, -0.12157823145389557, 0.24044203758239746, 0.4298904836177826, -0.1216314285993576, 0.21231067180633545, 0.154212087392807, 0.31436243653297424, -0.32328474521636963, -0.0075056906789541245, 0.752663791179657, -0.031158043071627617, 0.07891710102558136, 0.13027775287628174, -0.03818102553486824, 0.2637045979499817, 0.41072773933410645, 0.14315468072891235, 0.22227582335472107, 0.7060524225234985, 0.07853945344686508, 0.032480210065841675, 0.03201828524470329, 0.07943429052829742, 0.18802891671657562, 0.35042619705200195, -0.009645313024520874, 0.3437318205833435, 0.3238978385925293, 0.14768579602241516, -0.301241934299469, 0.10302702337503433, 0.06522922217845917, 0.016405951231718063, -0.08492407202720642, 0.02891463041305542, -0.2636330723762512, -0.46645593643188477, 0.19693997502326965, -0.17768427729606628, 0.3676912188529968, 0.11997587978839874, -0.18000276386737823, -0.07104645669460297, -0.348524272441864, 0.13780704140663147, 0.020672405138611794, 0.16766482591629028, -0.5425536632537842, 0.03174395486712456, 0.34389418363571167, -0.10254138708114624, 0.13696661591529846, -0.09786144644021988, 0.2628876268863678, 0.6584279537200928, 0.02595067210495472, 0.12564203143119812, -0.6372339725494385, -0.20186170935630798, 0.10965187847614288, 0.07953648269176483, 0.5535698533058167, -0.3053657114505768, 0.20083190500736237, 0.06205403059720993, -0.18051020801067352, 0.40269699692726135, 0.183942049741745, 0.483992338180542, 0.4742569029331207, -0.18549901247024536, 0.021344002336263657, -0.2014751434326172, 0.12054920941591263, 0.10454566031694412, -0.3917387127876282, -0.21099308133125305, 0.056223779916763306, 0.34201300144195557, 0.10383658856153488, -0.39167433977127075, 0.07987730205059052, 0.14515896141529083, 0.624119758605957, 0.36525604128837585, -0.227815181016922, 0.09941570460796356, -0.05769547447562218, -0.4139237403869629, -0.05611354857683182, -0.25620365142822266, -0.11717517673969269, 0.04880630970001221, 0.01032654382288456, 0.23170170187950134, 0.00219828262925148, -0.01569962501525879, 0.02584126405417919, 0.08682326227426529, -0.2378087043762207, -0.057351648807525635, 0.3192986249923706, 0.3615095615386963, -0.184083953499794, -0.052845701575279236, -0.30909693241119385, 0.3619002401828766, -0.2553770840167999, 0.1514551043510437, -0.42994558811187744, 0.13040319085121155, 0.03265520557761192, 0.4345497190952301, 0.1950681358575821, 0.10976354777812958, 0.31613653898239136, -0.2660226821899414, -0.13346312940120697, -0.27988529205322266, -0.3420652151107788, -0.05736881121993065, 0.15649577975273132, 0.2351519614458084, -0.012342800386250019, -0.12656737864017487, -0.4671487510204315, -0.44216033816337585, 0.10084648430347443, -0.5494868755340576, -0.0234464630484581, -0.21244730055332184, 0.08038833737373352, -0.21493113040924072, -0.17063462734222412, -0.14356254041194916, -0.35113078355789185, -0.09536781907081604, -0.34749576449394226, -0.0709034651517868, -0.3459905683994293, 0.3793983459472656, 0.16974478960037231, -0.24934813380241394, 0.3328436613082886, 0.08796633034944534, 0.40120798349380493, 0.048311419785022736, -0.30914992094039917, -0.25228047370910645, 0.4054858982563019, 0.42882275581359863, -0.3934619426727295, 0.10840491950511932, 0.2896915376186371, -0.1881089210510254, -0.08113214373588562, -0.2254905104637146, 0.21221822500228882, -0.1532912403345108, -0.2088896781206131, -0.24210652709007263 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
Hi @lhoestq, It turns out that pyarrow `ListArray` are not recognized as list-like when we get output from `numpy_to_pyarrow_listarray`. This might cause tests to fail. If possible can we convert that `ListArray` output to list inorder for tests to pass? Under the hood it'll maintain the dtype as that of numpy array passed during input only
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
56
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. Hi @lhoestq, It turns out that pyarrow `ListArray` are not recognized as list-like when we get output from `numpy_to_pyarrow_listarray`. This might cause tests to fail. If possible can we convert that `ListArray` output to list inorder for tests to pass? Under the hood it'll maintain the dtype as that of numpy array passed during input only
[ 0.1316203474998474, -0.11026200652122498, -0.20529481768608093, 0.02055000141263008, 0.6293432116508484, 0.10383497923612595, 0.4864434003829956, 0.6195231080055237, 0.030726131051778793, 0.19317206740379333, -0.14741531014442444, 0.5527904629707336, -0.05065970867872238, -0.16038672626018524, 0.16352766752243042, -0.2826708257198334, -0.04080284386873245, 0.13792824745178223, -0.16133682429790497, 0.12612226605415344, -0.05202946439385414, 0.017903152853250504, -0.0547410249710083, -0.0007628202438354492, 0.10397816449403763, 0.022316716611385345, 0.25436338782310486, -0.18146651983261108, 0.014309100806713104, -0.4098254442214966, 0.13106569647789001, -0.18108642101287842, 0.07083167135715485, 0.1133873239159584, -0.00011340920900693163, 0.07465901970863342, 0.23319056630134583, -0.07266418635845184, -0.1515989601612091, -0.12090526521205902, 0.2508367896080017, -0.3285420536994934, 0.0844755470752716, -0.16687613725662231, -0.24392670392990112, -0.332131028175354, -0.012125717476010323, -0.3197852373123169, 0.24545767903327942, 0.451476126909256, 0.20269858837127686, 0.34867510199546814, 0.2340933233499527, 0.19528913497924805, 0.2752724587917328, 0.3491703271865845, -0.29579514265060425, 0.36062756180763245, 0.39018014073371887, 0.29731738567352295, -0.18062368035316467, -0.052878111600875854, -0.22337773442268372, 0.1302485466003418, 0.23534289002418518, 0.0236308965831995, 0.3338333070278168, -0.11366300284862518, -0.2629234492778778, 0.11708778142929077, 0.3896563947200775, -0.46237632632255554, -0.08558883517980576, -0.031884241849184036, 0.02637329325079918, -0.33668649196624756, -0.14600133895874023, -0.01764887198805809, -0.21473351120948792, 0.11810183525085449, -0.17519770562648773, 0.11140602827072144, -0.3239883780479431, 0.08641956001520157, -0.338700532913208, -0.005008980631828308, 0.2843160033226013, 0.0026226267218589783, -0.15459316968917847, -0.05146791785955429, 0.6331332921981812, 0.01322559267282486, 0.3539021909236908, -0.12288521230220795, -0.16519734263420105, -0.14162525534629822, -0.03903833031654358, -0.6319138407707214, 0.16326287388801575, -0.3055344223976135, 0.06394980847835541, 0.18537214398384094, 0.05195578560233116, -0.012568213045597076, -0.07228812575340271, 0.4141639769077301, 0.09840404987335205, 0.04007282480597496, 0.025657016783952713, 0.09655268490314484, 0.0573379285633564, 0.1312987506389618, 0.1498764008283615, -0.03824272006750107, 0.12524700164794922, 0.36503544449806213, 0.2567635774612427, -0.03797363489866257, -0.2833179831504822, -0.02404472604393959, -0.5446732640266418, 0.08139906823635101, 0.00775719340890646, 0.2621031701564789, 0.3656621277332306, 0.31876465678215027, 0.27214908599853516, 0.13073942065238953, 0.015032405033707619, -0.04267502576112747, 0.07124130427837372, -0.15598665177822113, -0.16802632808685303, -0.19124168157577515, 0.12413865327835083, 0.08639641106128693, 0.1320798397064209, -0.056530505418777466, 0.45824384689331055, 0.22354400157928467, -0.031903401017189026, 0.04066159576177597, 0.4843263626098633, 0.2460016906261444, -0.104021355509758, 0.11891712993383408, 0.20647157728672028, 0.154412180185318, -0.22178763151168823, 0.5924548506736755, 0.008951801806688309, -0.04636755585670471, -0.03281731903553009, 0.11830875277519226, 0.1192680150270462, 0.060730792582035065, 0.0906791016459465, -0.17192648351192474, 0.35742875933647156, -0.1732628047466278, 0.1923607885837555, -0.6039329171180725, 0.0788218080997467, -0.28243741393089294, -0.0570862740278244, -0.3112753629684448, -0.5526798367500305, 0.35800328850746155, 0.13609948754310608, -0.04349382594227791, 0.11331138014793396, 0.3787709176540375, -0.01906721293926239, 0.14075197279453278, -0.3136444389820099, 0.28571802377700806, 0.007071562111377716, -0.02722451090812683, -0.1114039421081543, -0.26043447852134705, 0.03321918845176697, 0.10810656100511551, -0.016071297228336334, 0.2040288895368576, 0.07490626722574234, -0.08420462906360626, -0.14443209767341614, 0.2924124598503113, -0.11360287666320801, 0.18995895981788635, -0.29257893562316895, -0.05209433659911156, 0.6257519125938416, -0.19898776710033417, -0.13478805124759674, 0.05824515223503113, -0.2974388897418976, -0.061069708317518234, 0.4133419096469879, -0.443585067987442, -0.19720575213432312, -0.19785811007022858, 0.24573728442192078, -0.18158729374408722, 0.08617522567510605, 0.040658220648765564, -0.3511737585067749, 0.05318494886159897, -0.3592497408390045, -0.17470897734165192, -0.2111429125070572, -0.25730782747268677, -0.2485082745552063, 0.24196206033229828, 0.08899210393428802, 0.15947000682353973, 0.10711054503917694, 0.02029639109969139, -0.09523102641105652, -0.08170527219772339, 0.03274432197213173, -0.3151806592941284, -0.04073663800954819, -0.06059475243091583, -0.3279706835746765, 0.2965903580188751, -0.07277510315179825, -0.208474799990654, -0.10758759826421738, 0.03610043600201607, -0.003521442413330078, -0.1576002538204193, -0.11674007028341293, 0.1674729734659195, 0.2829948365688324, -0.34297698736190796, -0.4156920611858368, -0.02113807201385498, 0.07816006988286972, -0.17606686055660248, 0.035056766122579575, 0.7883249521255493, -0.12021572142839432, -0.10621707141399384, -0.008908949792385101, 0.4746626615524292, 0.17831841111183167, 0.16932828724384308, -0.21410411596298218, 0.1192215159535408, 0.1068832278251648, 0.2706444561481476, 0.11249012500047684, 0.09755147993564606, 0.0712391585111618, 0.16801099479198456, 0.04392358288168907, -0.21325117349624634, -0.36198586225509644, 0.27333924174308777, 0.2837049961090088, -0.19122622907161713, 0.18151450157165527, -0.020354442298412323, 0.2025894820690155, -0.00872371718287468, 0.22166471183300018, -0.6834670305252075, 0.1814173460006714, 0.1411757618188858, 0.01510079950094223, -0.17758047580718994, -0.09174208343029022, -0.1667911261320114, 0.26326847076416016, -0.03028605878353119, 0.3815676271915436, 0.17992013692855835, 0.32668277621269226, -0.25221431255340576, -0.2451845109462738, 0.17058399319648743, -0.062143996357917786, 0.0587037056684494, -0.5425054430961609, 0.018265260383486748, -0.22365352511405945, -0.26919084787368774, -0.16352884471416473, -0.3959180414676666, -0.09823888540267944, -0.29796943068504333, 0.16752542555332184, 0.15731531381607056, -0.2545498013496399, 0.23927494883537292, 0.37516897916793823, 0.031064972281455994, 0.3190268278121948, -0.120262511074543, -0.465178519487381, -0.1253601610660553, -0.15243962407112122, 0.11507123708724976, 0.376956969499588, 0.0351010225713253, 0.2024013251066208, 0.1400577276945114, -0.15782895684242249, -0.32795247435569763, -0.337684690952301, -0.05537504702806473, -0.2686210870742798, 0.12290826439857483, 0.2983205318450928, 0.44458043575286865, -0.010474961251020432, -0.25268539786338806, -0.1178818941116333, -0.3586239218711853, -0.3180561065673828, 0.24167287349700928, 0.03924635425209999, 0.196980282664299, -0.20477263629436493, -0.4289655387401581, -0.013255791738629341, -0.2655235528945923, -0.030667603015899658, -0.1340567171573639, 0.23093456029891968, -0.11069218069314957, -0.12221402674913406, 0.16451194882392883, -0.033552657812833786, -0.18019984662532806, -0.04293104261159897, 0.17400695383548737, 0.2564047574996948, -0.2560722827911377, -0.2804414629936218, -0.2780044972896576, -0.009502151049673557, -0.034214433282613754, 0.07750912010669708, 0.028465740382671356, -0.36883124709129333, -0.014392854645848274, 0.46975213289260864, -0.104641854763031, -0.31706538796424866, 0.28061240911483765, -0.001658060122281313, -0.14687035977840424, 0.0008813664317131042, 0.1659899204969406, 0.027780748903751373, 0.20803618431091309, 0.2596435844898224, -0.0002917591482400894, 0.011851055547595024, 0.146974116563797, 0.6267780065536499, -0.17186471819877625, -0.33497199416160583, -0.06789743900299072, 0.03847139701247215, 0.07397212088108063, -0.32428520917892456, -0.031634967774152756, -0.2833215594291687, -0.17373204231262207, -0.2509230375289917, -0.013109304010868073, -0.35862046480178833, -0.2747916877269745, 0.3816695809364319, 0.29271388053894043, -0.13835811614990234, -0.3236229121685028, 0.2667406499385834, -0.12122650444507599, 0.1103145033121109, 0.11359210312366486, 0.18813082575798035, -0.01692068576812744, -0.19155728816986084, 0.2676236629486084, -0.09269797801971436, 0.15580502152442932, -0.04212123528122902, -0.2066916674375534, -0.5736143589019775, -0.20218002796173096, 0.4294939637184143, 0.4824581742286682, 0.29948633909225464, 0.14879567921161652, -0.3754463195800781, 0.21375814080238342, -0.026134030893445015, 0.7693171501159668, 0.14419178664684296, 0.07795600593090057, 0.41596555709838867, 0.3689259886741638, 0.12805630266666412, -0.15710200369358063, -0.22903107106685638, -0.052388306707143784, 0.07388369739055634, 0.0085211843252182, -0.2095567286014557, -0.2028205543756485, -0.13149230182170868, 0.30092090368270874, -0.01728319376707077, 0.11380881071090698, -0.29801419377326965, -0.30680838227272034, 0.07720528542995453, 0.11599515378475189, 0.0711289793252945, 0.159048929810524, -0.33175233006477356, -0.17273850739002228, -0.21680226922035217, -0.2281065285205841, -0.1370316594839096, -0.09674564003944397, 0.3637446463108063, -0.0341452956199646, -0.08317545056343079, -0.0324757844209671, 0.2277529537677765, 0.18087917566299438, -0.19332288205623627, -0.20828759670257568, 0.05652116611599922, -0.10420889407396317, -0.07354511320590973, 0.1972593069076538, 0.3901103436946869, -0.08038416504859924, 0.02871040627360344, -0.4265742599964142, -0.028636358678340912, 0.14510586857795715, -0.06402132660150528, 0.09379614144563675, -0.17210005223751068, 0.01958487182855606, 0.0747888907790184, 0.2387111485004425, -0.0897635966539383, 0.08506175875663757, 0.12445991486310959, -0.3357658386230469, -0.24690546095371246, 0.22342664003372192, 0.699396014213562, 1.0389243364334106, -0.518939197063446, 0.3480098843574524, 0.599558413028717, -0.12710273265838623, 0.20376621186733246, 0.04141855239868164, 0.45121628046035767, -0.603797197341919, -0.10401346534490585, -0.05367878079414368, -0.24711956083774567, 0.049591973423957825, -0.19061864912509918, -0.2866274416446686, 0.07164490967988968, -0.2366020679473877, 0.3112221956253052, 0.004064872860908508, 0.031711652874946594, 0.09200304746627808, 0.07915604114532471, -0.43748998641967773, 0.05785602331161499, -0.08274184167385101, -0.19557932019233704, -0.09168364107608795, -0.37599891424179077, -0.1688656061887741, -0.039145711809396744, 0.19172509014606476, -0.099325992166996, -0.3066693842411041, 0.32430458068847656, 0.2726673483848572, -0.5461747646331787, 0.02954740822315216, 0.23236308991909027, -0.11774510145187378, -0.06504108011722565, -0.09641152620315552, -0.10101702809333801, 0.3097895681858063, 0.19508643448352814, 0.10998466610908508, -0.21485577523708344, 0.293617844581604, -0.029515547677874565, 0.16496416926383972, 0.17141704261302948, -0.14219728112220764, -0.26836350560188293, -0.39575234055519104, -0.01517205685377121, 0.33194613456726074, -0.41528943181037903, 0.07437269389629364, 0.021595090627670288, -0.033963169902563095, -0.07697820663452148, 0.1190778911113739, -0.09723348915576935, -0.1656518131494522, 0.2518935799598694, -0.23008473217487335, -0.08445990085601807, 0.27510711550712585, 0.005943365395069122, 0.306073933839798, -0.04759684205055237, 0.22490978240966797, 0.2910657525062561, -0.20643597841262817, -0.165499746799469, 0.30178114771842957, 0.1948843002319336, -0.41390976309776306, 0.5365381240844727, -0.10905279219150543, 0.011696994304656982, -0.09525644779205322, 0.32413163781166077, -0.09148648381233215, 0.25302743911743164, -0.49041426181793213, -0.008330769836902618, -0.29591357707977295, 0.10663677752017975, 0.07482850551605225, 0.36168572306632996, 0.08040863275527954, 0.2415069192647934, -0.13341905176639557, -0.043365202844142914, -0.2904292941093445, -0.18635904788970947, -0.10512914508581161, 0.37806472182273865, -0.35850420594215393, -0.025355778634548187, 0.028488801792263985, -0.04940800741314888, 0.07924715429544449, 0.12674513459205627, -0.22349178791046143, -0.26242417097091675, 0.2134096324443817, 0.1330932378768921, 0.045324645936489105, 0.1433003842830658, 0.18102379143238068, -0.21613185107707977, 0.036699797958135605, 0.016252994537353516, -0.10891230404376984, -0.06852543354034424, -0.055665433406829834, 0.14908631145954132, 0.28709253668785095, 0.3551172614097595, 0.06958337128162384, -0.005126439034938812, -0.20605432987213135, -0.11633840203285217, -0.15547096729278564, 0.28628820180892944, -0.17068363726139069, -0.009188726544380188, -0.06877288222312927, 0.16050194203853607, 0.23140838742256165, -0.0501725971698761, 0.34103357791900635, 0.017547249794006348, -0.40757670998573303, -0.35525500774383545, 0.4252942204475403, 0.16238020360469818, -0.27705639600753784, -0.10026207566261292, 0.09121864289045334, 0.13677440583705902, -0.3168772757053375, 0.02796669490635395, -0.15047642588615417, -0.1775781214237213, -0.12396436929702759, 0.05898477882146835, 0.050014812499284744, 0.23010390996932983, 0.2636123299598694, 0.04826492816209793, 0.10511288046836853, -0.12230026721954346, -0.09600464999675751, 0.6222490072250366, -0.028724681586027145, -0.17090560495853424, 0.20317219197750092, -0.3267115652561188, -0.013658680021762848, 0.14096209406852722, 0.08284703642129898, 0.6820772886276245, -0.04338999092578888, -0.1290498524904251, 0.1697644144296646, 0.24735267460346222, -0.028523821383714676, 0.24043872952461243, 0.1270495504140854, 0.1805422455072403, 0.48432669043540955, 0.4366607964038849, 0.0025491034612059593, -0.42654842138290405, 0.07362978160381317, 0.0904545783996582, -0.017267979681491852, 0.23609960079193115, -0.07429713755846024, 0.0831446424126625, -0.023670107126235962, -0.35240092873573303, -0.19973143935203552, -0.10493171215057373, 0.36767348647117615, 0.40972214937210083, 0.08237137645483017, -0.17228113114833832, 0.30154404044151306, -0.0014039650559425354, 0.1258356124162674, -0.015213970094919205, -0.005788648501038551, 0.12162838131189346, -0.12527500092983246, -0.04546559974551201, 0.1637173295021057, 0.2749304473400116, 0.14247137308120728, -0.42262715101242065, -0.11518733203411102, -0.2634059190750122, -0.13910771906375885, 0.2110157161951065, 0.04323530197143555, -0.019533537328243256, -0.13157831132411957, 0.24462993443012238, 0.1369636356830597, 0.0028264420107007027, 0.1694459766149521, 0.2786591351032257, -0.14519207179546356, 0.1501266360282898, 0.6036862730979919, -0.0036512352526187897, -0.4159831404685974, -0.05736112594604492, -0.306449830532074, -0.30088621377944946, 0.07115305215120316, 0.07307015359401703, 0.048136841505765915, 0.020332522690296173, 0.20628680288791656, 0.10980343818664551, 0.00878947228193283, 0.31250855326652527, -0.09008960425853729, 0.46209651231765747, -0.3609705865383148, 0.08667074143886566, -0.2590293288230896, 0.344710111618042, 0.23168975114822388, 0.03617595136165619, 0.2016574889421463, 0.04753349721431732, 0.31285494565963745, 0.20541350543498993, 0.02680353820323944, -0.16062645614147186, -0.07997090369462967, 0.3248937726020813, -0.09031634032726288, 0.05952154099941254, 0.1117238849401474, -0.19616930186748505, -0.13096792995929718, -0.34445810317993164, 0.2679946720600128, -0.011748284101486206, 0.0683390274643898, -0.2127460539340973, 0.12854939699172974, 0.2054876983165741, 0.4887339770793915, 0.049359098076820374, 0.04929313808679581, 0.28583118319511414, 0.15771710872650146, 0.0009077172726392746, 0.23027776181697845, -0.09108316898345947, -0.07161951065063477, 0.16131359338760376, 0.07765523344278336, 0.28638067841529846, -0.05610472708940506, -0.1665506362915039, -0.27080243825912476, 0.48221537470817566, 0.060209862887859344, -0.030127476900815964, -0.33538809418678284, 0.18048325181007385, -0.4649012088775635, 0.05569618195295334, -0.05691094323992729, -0.07745719701051712, 0.20224599540233612, 0.20242799818515778, -0.6056404709815979, -0.3873770236968994, 0.5186902284622192, -0.14800792932510376, -0.4395345449447632, 0.00320259016007185, 0.19345349073410034, -0.14683467149734497, -0.05419032275676727, -0.6683785319328308, -0.3511338233947754, 0.216539204120636, -0.07553838938474655, 0.036985550075769424, 0.26674938201904297, 0.2617809474468231, 0.19424061477184296, -0.40127643942832947, 0.2435600608587265, 0.21126115322113037, 0.09852299094200134, -0.4646283984184265, -0.4363217353820801 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
Brought down the failing tests from 7 to 4. Let me know if that part looks good. Failing tests are looking quite similar. In `test_map_torch` https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1039 and `test_map_tf`https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1056 they're expecting `float64`. Shouldn't that be `float32` now?
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
36
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. Brought down the failing tests from 7 to 4. Let me know if that part looks good. Failing tests are looking quite similar. In `test_map_torch` https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1039 and `test_map_tf`https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1056 they're expecting `float64`. Shouldn't that be `float32` now?
[ 0.18242977559566498, -0.40522658824920654, -0.18983355164527893, 0.1790410280227661, 0.43195515871047974, 0.1140608862042427, 0.3338022530078888, 0.570043683052063, -0.0340384878218174, 0.05483303964138031, -0.21389684081077576, 0.31996092200279236, -0.06245679408311844, -0.3184302747249603, 0.057688675820827484, -0.42626166343688965, -0.040529586374759674, 0.14945532381534576, -0.3821451961994171, -0.006050381809473038, -0.03288405016064644, 0.14923781156539917, -0.09993612766265869, 0.12053939700126648, -0.020650142803788185, 0.1573590189218521, 0.03770840913057327, -0.018246576189994812, -0.07924949377775192, -0.441668301820755, 0.2227768450975418, -0.23524871468544006, -0.12601730227470398, 0.5482730269432068, -0.00011037570220651105, 0.17048341035842896, 0.28990674018859863, -0.16279760003089905, -0.09403906762599945, 0.10227245092391968, 0.3247941732406616, -0.4177878201007843, 0.07533487677574158, -0.17102637887001038, -0.26362571120262146, -0.3592337667942047, -0.14621135592460632, -0.2599834203720093, 0.3982659578323364, 0.37603455781936646, 0.2618863582611084, 0.4738294780254364, 0.21833257377147675, 0.18290217220783234, 0.18580368161201477, 0.27117374539375305, -0.2619863450527191, 0.3750482499599457, 0.3211764693260193, 0.24317455291748047, -0.14867889881134033, 0.20545202493667603, -0.04197123274207115, 0.27077603340148926, 0.09070298075675964, -0.1851956844329834, 0.24516534805297852, -0.16382135450839996, 0.032173361629247665, 0.19684579968452454, 0.40547847747802734, -0.1999346911907196, -0.1311372071504593, -0.04144851490855217, -0.26089784502983093, -0.24600131809711456, -0.10125602036714554, 0.09690386056900024, -0.25295817852020264, 0.032100021839141846, -0.3054800033569336, 0.12124978005886078, -0.3442046642303467, 0.06802351027727127, -0.33167922496795654, 0.05233645811676979, 0.10132550448179245, 0.09513397514820099, -0.1185457855463028, -0.21999897062778473, 0.21260663866996765, 0.15371322631835938, 0.056046828627586365, 0.046747371554374695, -0.14807164669036865, -0.15660472214221954, 0.07228554785251617, -0.4683840572834015, 0.20430827140808105, -0.23653720319271088, 0.21146659553050995, 0.3907921314239502, 0.025590069591999054, 0.010466795414686203, -0.16591472923755646, 0.26457884907722473, 0.10089955478906631, 0.06729790568351746, 0.17385390400886536, 0.11219743639230728, 0.06943988800048828, 0.14147664606571198, 0.3221350908279419, -0.2663094401359558, -0.06100299209356308, 0.15376240015029907, 0.18922661244869232, -0.21297325193881989, -0.047387152910232544, 0.23209799826145172, -0.42691707611083984, -0.14317111670970917, 0.035627372562885284, 0.30209898948669434, 0.1564495861530304, 0.22005650401115417, 0.0012694261968135834, 0.07411190122365952, -0.07770994305610657, -0.11532051116228104, -0.16143366694450378, -0.1118856817483902, -0.1941409558057785, -0.12729032337665558, 0.2914712727069855, 0.0007807761430740356, 0.3641164302825928, -0.11975911259651184, 0.09277947247028351, 0.19086122512817383, -0.07214467227458954, 0.1861991286277771, 0.5944268107414246, 0.2966090142726898, -0.37104174494743347, 0.08398117870092392, 0.2569648325443268, 0.45445603132247925, -0.09502363950014114, 0.261061429977417, -0.09745901077985764, -0.23966491222381592, 0.019046586006879807, 0.1596347987651825, 0.019728288054466248, 0.08743691444396973, 0.13485334813594818, 0.052997201681137085, 0.19211667776107788, -0.17411276698112488, 0.34461426734924316, -0.39964181184768677, 0.010982941836118698, -0.2775852680206299, 0.1722433865070343, 0.09038479626178741, -0.2516627311706543, 0.13784772157669067, 0.339135080575943, 0.03823662921786308, 0.04308842867612839, 0.26921576261520386, -0.08390398323535919, 0.03514435514807701, -0.3112678527832031, 0.11271294951438904, -0.019978098571300507, -0.11636078357696533, -0.08685730397701263, -0.0651116743683815, 0.25366073846817017, 0.033475734293460846, -0.04645461589097977, -0.12518252432346344, -0.0934372991323471, -0.08437881618738174, -0.029170535504817963, -0.052840061485767365, -0.014685789123177528, 0.08631541579961777, -0.4001345634460449, 0.004316296428442001, 0.38932400941848755, -0.012756597250699997, -0.032179441303014755, -0.3898751437664032, -0.12172568589448929, -0.31445077061653137, 0.35796627402305603, -0.3639799952507019, -0.2609586715698242, -0.004715476185083389, 0.2850331664085388, -0.40335702896118164, 0.054609283804893494, 0.14696171879768372, -0.5990741848945618, 0.20636340975761414, -0.09087999165058136, -0.0018568411469459534, -0.026822835206985474, 0.06140214949846268, -0.2778363823890686, 0.0898708701133728, -0.014744523912668228, -0.2861884832382202, 0.14828436076641083, -0.09164765477180481, 0.009235039353370667, 0.019943170249462128, 0.023078549653291702, -0.4417950212955475, -0.09376899898052216, 0.10216294974088669, -0.265321284532547, 0.2982158660888672, -0.12013711780309677, -0.19246086478233337, -0.1224728673696518, 0.19365043938159943, 0.04201417416334152, -0.3004316985607147, -0.2881644368171692, 0.37434542179107666, 0.03594097122550011, -0.008473038673400879, -0.27474117279052734, 0.18372684717178345, 0.16598400473594666, -0.43945926427841187, 0.09802424162626266, 0.5850194692611694, -0.11869911849498749, -0.08768695592880249, -0.0515056848526001, 0.4816533923149109, 0.08872589468955994, 0.013649381697177887, -0.06396078318357468, -0.08020604401826859, 0.13594919443130493, 0.20840969681739807, 0.03489493578672409, 0.08196364343166351, 0.1534641832113266, 0.13189539313316345, 0.15655654668807983, -0.0044538360089063644, -0.25818848609924316, 0.14504852890968323, 0.07456589490175247, -0.261849045753479, 0.07083533704280853, 0.048493336886167526, 0.03349264711141586, -0.193552166223526, 0.41452011466026306, -0.458479106426239, 0.258158802986145, 0.08391761779785156, -0.037113387137651443, -0.1795525699853897, -0.12100227922201157, -0.30542027950286865, 0.3360256850719452, -0.025119774043560028, 0.049967337399721146, 0.2858142554759979, 0.25078028440475464, -0.14450222253799438, -0.3416498601436615, 0.1748424619436264, -0.0538378581404686, 0.17054958641529083, -0.42767396569252014, -0.07204912602901459, -0.1599212884902954, -0.17421531677246094, -0.2694311738014221, -0.26548486948013306, -0.1533149629831314, -0.5006375312805176, 0.12664321064949036, 0.11113113164901733, -0.2896686792373657, 0.28938063979148865, -0.03862311318516731, 0.16562269628047943, 0.2781820595264435, -0.03236651420593262, -0.3889428973197937, -0.1438455879688263, -0.21043211221694946, 0.09589412808418274, 0.20782305300235748, 0.031188534572720528, 0.3041388988494873, 0.015360819175839424, 0.01985570788383484, -0.32272234559059143, -0.5734086036682129, 0.1266041249036789, -0.4119853973388672, 0.12449324131011963, 0.3406713008880615, 0.46724599599838257, -0.02400410734117031, -0.056984320282936096, 0.11564356833696365, -0.5146085619926453, -0.17211249470710754, 0.1652160882949829, 0.16183950006961823, 0.12815651297569275, -0.26760321855545044, -0.5146968960762024, 0.06907400488853455, -0.3070409893989563, 0.12375348806381226, -0.12718741595745087, 0.13795748353004456, 0.28075939416885376, -0.009500695392489433, 0.4117386043071747, -0.0014934302307665348, 0.0001763002946972847, -0.1784812957048416, 0.07120740413665771, 0.2205122709274292, -0.2901908755302429, -0.2830416262149811, -0.24223342537879944, 0.12612907588481903, 0.06811155378818512, -0.17002613842487335, -0.3148200511932373, -0.33386990427970886, -0.1803193837404251, 0.4267236590385437, -0.12136116623878479, -0.05448754131793976, 0.07263235002756119, 0.004393715877085924, -0.21511147916316986, -0.1465146690607071, 0.09726157784461975, -0.08643684536218643, 0.18839988112449646, 0.28270667791366577, 0.007511178031563759, 0.05739022046327591, -0.06323304772377014, 0.7286595106124878, 0.13677215576171875, -0.46421805024147034, 0.25853681564331055, -0.09567485004663467, 0.28624531626701355, -0.09538627415895462, -0.08363042026758194, -0.0160836149007082, -0.05812770128250122, -0.007476892322301865, 0.10265958309173584, -0.0580708310008049, 0.0014368146657943726, 0.13073542714118958, 0.1747928261756897, -0.10237978398799896, -0.43423354625701904, 0.23344866931438446, -0.2031441628932953, -0.10181117802858353, -0.10394364595413208, 0.30686601996421814, -0.11842912435531616, -0.19034668803215027, 0.3178398609161377, -0.11297444999217987, 0.11638899892568588, -0.13655118644237518, -0.17951807379722595, -0.3007130026817322, -0.5168119072914124, 0.5851824283599854, 0.30271822214126587, 0.543362557888031, -0.008367456495761871, -0.30039605498313904, 0.03518166020512581, 0.0646648183465004, 0.34171777963638306, -0.08436506986618042, -0.05088362842798233, 0.134630486369133, 0.2442154586315155, -0.3195249140262604, -0.23248212039470673, -0.21759437024593353, 0.22385261952877045, 0.07397516816854477, 0.19963997602462769, -0.32134947180747986, -0.3313591778278351, 0.037640202790498734, 0.17738549411296844, -0.0010811388492584229, 0.16894645988941193, -0.27419447898864746, -0.4159369468688965, 0.12130001187324524, -0.12088554352521896, 0.16759173572063446, -0.019180411472916603, -0.30073198676109314, -0.15860523283481598, -0.038674190640449524, -0.17162585258483887, 0.03207038342952728, 0.0924944132566452, 0.3828619122505188, -0.02435300685465336, -0.03968032822012901, 0.1517890989780426, 0.2467537671327591, 0.2461654543876648, 0.1704321801662445, -0.42829427123069763, 0.3252411484718323, 0.049144744873046875, -0.12802667915821075, 0.15837319195270538, 0.4641660153865814, 0.03501645103096962, -0.20233052968978882, -0.5797737836837769, 0.11159707605838776, 0.14040489494800568, 0.004877625498920679, 0.16983218491077423, 0.03948087617754936, 0.06015351042151451, 0.10996562242507935, 0.37616604566574097, -0.09423857927322388, -0.029795922338962555, 0.5193618535995483, -0.16128329932689667, -0.16954267024993896, 0.1738324612379074, 0.5354161858558655, 0.8674973845481873, -0.07662180066108704, 0.3149573504924774, 0.5505512952804565, -0.23065418004989624, 0.06855399161577225, 0.11511777341365814, 0.070712149143219, -0.5089805126190186, -0.03286583721637726, 0.021750645712018013, -0.15607580542564392, 0.01418144628405571, -0.3017616868019104, -0.25626349449157715, 0.255211740732193, 0.01306036114692688, 0.4892353117465973, 0.030651843175292015, 0.027269408106803894, 0.004321329295635223, 0.07993254065513611, -0.2856551706790924, 0.12779247760772705, -0.11060579121112823, 0.03863202780485153, -0.09573013335466385, -0.15435849130153656, -0.19529567658901215, -0.22536200284957886, -0.1585756540298462, -0.17205417156219482, -0.18090812861919403, 0.3861609697341919, 0.4040670096874237, -0.44333189725875854, -0.01650397665798664, 0.273142009973526, 0.04524100944399834, -0.0090847909450531, -0.3823307752609253, -0.020040035247802734, 0.2539174258708954, 0.15435659885406494, 0.10603298991918564, 0.01257199514657259, 0.340523362159729, -0.03576819971203804, -0.1132497489452362, 0.1926056146621704, -0.30353665351867676, -0.19336098432540894, -0.5133975744247437, -0.10748237371444702, -0.02266230434179306, -0.42729121446609497, -0.04520372301340103, -0.29992011189460754, -0.23577368259429932, -0.11461998522281647, 0.15701353549957275, -0.12465079128742218, -0.08241848647594452, 0.22346308827400208, 0.17544613778591156, -0.2899807393550873, 0.12218183279037476, 0.11940373480319977, -0.17666596174240112, -0.26655369997024536, 0.4082851707935333, 0.3102223873138428, -0.1039394959807396, -0.2045115828514099, 0.2574615478515625, 0.4684945046901703, -0.5366416573524475, 0.11962109059095383, -0.39038288593292236, -0.12665507197380066, 0.075352244079113, 0.5208335518836975, 0.2517922520637512, 0.14805370569229126, -0.1595998853445053, 0.05741727352142334, -0.41824212670326233, 0.29332107305526733, 0.15760061144828796, 0.6563388705253601, -0.2068594992160797, -0.08274634182453156, 0.03508662432432175, 0.09277414530515671, -0.34293049573898315, 0.1362469494342804, 0.05196983367204666, 0.13327324390411377, -0.16644510626792908, -0.09995903819799423, 0.09568040817975998, -0.11783841252326965, 0.08090929687023163, 0.24992653727531433, -0.5371830463409424, -0.2133471667766571, 0.15420345962047577, 0.10808500647544861, 0.026946302503347397, -0.21952733397483826, 0.0281950943171978, -0.10437723994255066, 0.07934507727622986, -0.03774558752775192, -0.1594395488500595, -0.07530154287815094, 0.0018550679087638855, 0.2073853611946106, 0.3190833628177643, 0.29973840713500977, 0.036434344947338104, 0.020885728299617767, -0.02767413854598999, 0.27259665727615356, 0.06417099386453629, 0.010650936514139175, -0.030211903154850006, -0.27681639790534973, 0.013551251962780952, 0.28267404437065125, 0.027268871665000916, 0.04890735074877739, 0.247299462556839, -0.0518273189663887, -0.24224528670310974, -0.23020586371421814, 0.5141149759292603, 0.20362085103988647, -0.28353628516197205, -0.13388361036777496, 0.003555556293576956, 0.19491635262966156, -0.13398464024066925, 0.03475913405418396, 0.17943346500396729, 0.08645248413085938, 0.038786862045526505, 0.1820036917924881, 0.18497328460216522, 0.10927432775497437, 0.1693936288356781, 0.15038171410560608, -0.018093597143888474, -0.02630281075835228, -0.03492387756705284, 0.5260475277900696, -0.24067597091197968, -0.21964140236377716, 0.33341288566589355, -0.45790934562683105, 0.2964806854724884, 0.035400573164224625, -0.06772273033857346, 0.6186032295227051, -0.08823031932115555, -0.0760549008846283, 0.024146001785993576, 0.0657459944486618, 0.11507636308670044, 0.03775288909673691, -0.004999443888664246, 0.3861529231071472, 0.3442426025867462, 0.9166107177734375, -0.23819302022457123, -0.5330007672309875, -0.24040193855762482, 0.148467555642128, -0.05985359102487564, 0.0023962557315826416, -0.15027283132076263, -0.08208432793617249, -0.0966128259897232, -0.11689683794975281, -0.22275537252426147, -0.03572162985801697, 0.4957112967967987, 0.27481597661972046, -0.1877053827047348, -0.2489795833826065, 0.2979109585285187, -0.024139560759067535, 0.3731461465358734, 0.08585292100906372, 0.29758837819099426, 0.4692869186401367, -0.3129032254219055, -0.04908787086606026, 0.10484713315963745, 0.3086684048175812, 0.04176643490791321, -0.4793594777584076, -0.07734356075525284, -0.07606744766235352, -0.061992257833480835, 0.23731127381324768, 0.21017472445964813, -0.09755368530750275, -0.34558388590812683, 0.37022337317466736, 0.20194561779499054, -0.11844383925199509, 0.08811794221401215, 0.11854391545057297, 0.048918865621089935, 0.0673748105764389, 0.4240669906139374, -0.12155774235725403, -0.3629292845726013, 0.08433672040700912, -0.3294658958911896, -0.3550516963005066, -0.00007235351949930191, 0.015410450287163258, -0.09198570996522903, 0.11877407878637314, 0.09844249486923218, 0.12914171814918518, -0.07430516183376312, 0.6091269850730896, 0.10454748570919037, 0.1840699315071106, -0.4165477156639099, 0.00972919911146164, -0.4565149247646332, 0.16631324589252472, 0.18205475807189941, 0.07917874306440353, 0.1589188426733017, -0.024473847821354866, 0.2813990116119385, 0.0457296296954155, 0.28176867961883545, -0.1240546926856041, 0.26237210631370544, 0.14235487580299377, -0.4914121925830841, 0.060335271060466766, -0.04317428916692734, -0.01852874644100666, -0.043678466230630875, -0.2587320804595947, 0.2497653365135193, -0.07987373322248459, 0.11214502900838852, -0.24584119021892548, 0.04990629106760025, 0.1704331785440445, 0.10719025135040283, 0.25168442726135254, 0.03910542279481888, 0.2551797032356262, 0.015409853309392929, -0.16162942349910736, 0.037477102130651474, -0.14175570011138916, 0.19028188288211823, 0.3362481892108917, -0.12248919904232025, 0.4019102156162262, 0.11257775127887726, -0.23992310464382172, -0.27351751923561096, 0.47221505641937256, 0.14557817578315735, -0.04347052797675133, -0.2159355878829956, 0.19237710535526276, -0.11205817759037018, -0.22356057167053223, 0.01829403266310692, 0.20974823832511902, 0.04727117344737053, 0.34615758061408997, -0.44881385564804077, -0.5487837195396423, 0.720994234085083, -0.2181093543767929, -0.20377486944198608, -0.009205814450979233, 0.15190795063972473, 0.2301912009716034, 0.07406941056251526, -1.0310313701629639, -0.2041737139225006, 0.15932419896125793, 0.002661094069480896, -0.2624998986721039, 0.25382229685783386, 0.30030059814453125, 0.01336672529578209, -0.1681949943304062, 0.5361677408218384, 0.056972526013851166, 0.05980146676301956, -0.06030186265707016, -0.10594388842582703 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
It's normal: pytorch and tensorflow use `float32` by default, unlike numpy which uses `float64`. I think that we should always keep the precision of the original tensor (torch/tf/numpy). It means that as it is in this PR it's fine (the precision is conserved when doing the torch/tf -> numpy conversion). This is a breaking change but in my opinion the fact that we had Value("float64") for torch.float32 tensors was an issue already. Let me know what you think. Cc @albertvillanova if you have an opinion on this If we agree on doing this breaking change, we can just change the test.
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
101
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. It's normal: pytorch and tensorflow use `float32` by default, unlike numpy which uses `float64`. I think that we should always keep the precision of the original tensor (torch/tf/numpy). It means that as it is in this PR it's fine (the precision is conserved when doing the torch/tf -> numpy conversion). This is a breaking change but in my opinion the fact that we had Value("float64") for torch.float32 tensors was an issue already. Let me know what you think. Cc @albertvillanova if you have an opinion on this If we agree on doing this breaking change, we can just change the test.
[ 0.08737042546272278, -0.45085838437080383, -0.14171192049980164, -0.004619501531124115, 0.32606714963912964, -0.01293109729886055, 0.46019288897514343, 0.44168105721473694, -0.2634970247745514, 0.28017568588256836, -0.03730989247560501, 0.20457887649536133, 0.017556311562657356, -0.3685826361179352, 0.10234584659337997, -0.48740819096565247, 0.000023350119590759277, 0.11617240309715271, -0.2530897259712219, -0.08759206533432007, -0.12603157758712769, -0.0034856926649808884, -0.23083113133907318, -0.012501262128353119, -0.009715380147099495, 0.09328271448612213, 0.17484144866466522, -0.04045890271663666, 0.0795334205031395, -0.19801980257034302, 0.09734227508306503, -0.294284850358963, 0.07336553931236267, 0.41345643997192383, -0.0001108792785089463, 0.1368943750858307, 0.21837273240089417, -0.13550058007240295, 0.0762467235326767, 0.18668100237846375, 0.5158090591430664, -0.3845585584640503, -0.16919578611850739, -0.37309592962265015, -0.13509947061538696, -0.11760895699262619, -0.11582350730895996, -0.22095367312431335, 0.23788274824619293, 0.5470157861709595, 0.2408454567193985, 0.44395166635513306, 0.128220796585083, 0.34123748540878296, 0.05828160047531128, 0.012511610984802246, -0.09793967008590698, 0.31557735800743103, 0.07553979754447937, 0.34532630443573, 0.031442850828170776, 0.31071293354034424, -0.07607248425483704, 0.21357040107250214, 0.2223512828350067, 0.02137228474020958, 0.3170001804828644, -0.2169986069202423, -0.06950698792934418, 0.22420960664749146, 0.2784126400947571, -0.23441368341445923, -0.04343874752521515, -0.03628994897007942, -0.047118574380874634, -0.28797683119773865, -0.10329581052064896, 0.23120054602622986, -0.18090614676475525, -0.06475798785686493, -0.15189558267593384, 0.0858309268951416, -0.432676762342453, 0.033498600125312805, -0.27681276202201843, 0.0771990641951561, 0.16957858204841614, 0.169011652469635, -0.24869562685489655, 0.04519030824303627, 0.45841795206069946, 0.14652520418167114, 0.2953498065471649, -0.09015335142612457, -0.06768999993801117, -0.24080538749694824, -0.0880737379193306, -0.6700453162193298, -0.1326921284198761, -0.5740483999252319, 0.17498771846294403, 0.3448231816291809, 0.15802617371082306, 0.035951703786849976, -0.10830561816692352, 0.31400418281555176, -0.014545999467372894, 0.17446425557136536, 0.25204139947891235, -0.05821126326918602, 0.3468512296676636, 0.21647000312805176, 0.3626716434955597, -0.244480699300766, 0.07859903573989868, 0.13821367919445038, 0.342007040977478, -0.09483522921800613, -0.2043294608592987, 0.24561724066734314, -0.4233347177505493, -0.0070379008539021015, -0.04881466552615166, 0.26185643672943115, -0.015969017520546913, 0.3761104941368103, 0.2272467166185379, 0.09258162975311279, -0.06364583969116211, -0.007905595004558563, -0.15317144989967346, -0.101646289229393, 0.10406635701656342, -0.23642824590206146, 0.02209297940135002, 0.12146613001823425, 0.18056634068489075, 0.08067190647125244, 0.32978492975234985, 0.15073703229427338, 0.048079051077365875, 0.04222631826996803, 0.5649145841598511, 0.2536748945713043, -0.2521413266658783, -0.10823351889848709, 0.049103524535894394, 0.3025413155555725, -0.13974714279174805, 0.6380103826522827, -0.2814600467681885, -0.15492279827594757, -0.2701239287853241, 0.19465473294258118, -0.020527418702840805, 0.037940628826618195, 0.342436820268631, 0.03234002739191055, 0.3887712061405182, 0.029572736471891403, 0.5305957198143005, -0.606817901134491, -0.18634392321109772, -0.25573936104774475, -0.12823733687400818, -0.3094397783279419, -0.3011312484741211, -0.019110023975372314, 0.4263691306114197, 0.044812366366386414, 0.20475929975509644, 0.3696383535861969, -0.14640077948570251, 0.040960539132356644, -0.06867858022451401, 0.10989844799041748, 0.22419342398643494, -0.023319125175476074, -0.2613871395587921, -0.251424640417099, 0.07792487740516663, 0.05980859696865082, -0.04528733342885971, 0.07695906609296799, 0.0856594517827034, -0.06976135820150375, 0.062026821076869965, 0.04210413992404938, -0.11873264610767365, 0.20777522027492523, -0.5131849646568298, 0.2188894897699356, 0.46374374628067017, -0.04179560765624046, 0.12188723683357239, -0.21223092079162598, -0.32064807415008545, -0.05152342468500137, 0.3714907765388489, -0.2988700568675995, -0.2433045655488968, 0.040865782648324966, 0.21595297753810883, -0.2352386862039566, 0.24025097489356995, 0.17331373691558838, -0.3875688910484314, 0.0640043169260025, -0.2834051847457886, 0.17500558495521545, 0.23540261387825012, -0.03672280162572861, -0.08964957296848297, 0.06543953716754913, 0.21519000828266144, -0.18666769564151764, 0.09058437496423721, -0.21953895688056946, -0.14572973549365997, -0.07513360679149628, 0.09391438961029053, -0.17760956287384033, -0.16998931765556335, -0.00259347353130579, -0.13682596385478973, 0.2909831702709198, -0.21546930074691772, -0.19048601388931274, -0.34540173411369324, 0.24852213263511658, -0.029692359268665314, -0.347244530916214, -0.37098297476768494, 0.3028854727745056, 0.022312216460704803, -0.331142783164978, -0.6717290282249451, 0.24810296297073364, 0.3128693997859955, -0.16790878772735596, 0.17107756435871124, 0.35671985149383545, -0.08132336288690567, 0.05370078980922699, 0.015518765896558762, 0.4450346827507019, 0.1064319759607315, -0.17987877130508423, -0.2653931975364685, -0.04918232560157776, 0.018449636176228523, 0.18400809168815613, 0.06064779311418533, 0.13222502171993256, 0.1895269751548767, 0.1358644813299179, -0.13994786143302917, -0.03931145370006561, -0.454088032245636, 0.09619493037462234, 0.31889572739601135, -0.15851622819900513, 0.10190925002098083, 0.24633106589317322, -0.04947172850370407, -0.14469341933727264, 0.23369403183460236, -0.4924373924732208, 0.2767934501171112, 0.08194314688444138, 0.05789431184530258, 0.04519271105527878, -0.11011398583650589, -0.21126689016819, 0.27275168895721436, 0.16227906942367554, 0.12215592712163925, -0.007056303322315216, 0.11476815491914749, 0.03296865522861481, -0.14059269428253174, 0.4888927638530731, 0.0012609846889972687, 0.24414531886577606, -0.3801555335521698, 0.10312414914369583, 0.042599573731422424, -0.17672443389892578, -0.3631620705127716, -0.0733070820569992, -0.15642715990543365, -0.296718567609787, 0.18621832132339478, 0.1009008139371872, -0.29207420349121094, 0.2640334665775299, 0.33024436235427856, 0.1785251498222351, 0.20790165662765503, -0.0016411952674388885, -0.2240549623966217, -0.05653654411435127, -0.22645029425621033, 0.09763495624065399, 0.10303614288568497, -0.1652509719133377, 0.2430257499217987, 0.008125796914100647, -0.15082590281963348, -0.32432281970977783, -0.6684861779212952, -0.019063308835029602, -0.14948716759681702, -0.019142894074320793, 0.29964518547058105, 0.30691319704055786, -0.056989170610904694, -0.12250237911939621, -0.055290792137384415, -0.46299031376838684, -0.1700066328048706, 0.1851874738931656, -0.022182738408446312, 0.14308801293373108, -0.31752926111221313, -0.4517233669757843, -0.008498558774590492, -0.1353731006383896, 0.06775666028261185, -0.12511160969734192, 0.1387142539024353, 0.12848760187625885, -0.1510440707206726, 0.037224579602479935, 0.10501797497272491, -0.0019709989428520203, -0.3455224633216858, 0.07468774914741516, 0.11653359234333038, -0.18859535455703735, -0.4982181489467621, -0.33676302433013916, 0.03399921953678131, 0.1554293930530548, -0.07847535610198975, -0.1679239571094513, -0.3667808473110199, -0.15582308173179626, 0.5834737420082092, -0.19156594574451447, -0.12499476969242096, 0.3727988302707672, -0.09513986855745316, -0.0976705551147461, -0.04578031226992607, 0.0734681487083435, -0.03517555445432663, 0.3442123830318451, 0.18142053484916687, -0.10912308841943741, 0.0530993789434433, 0.13553430140018463, 0.6520584225654602, -0.15369032323360443, -0.5973898768424988, -0.08632136881351471, -0.05889683961868286, 0.20871387422084808, -0.10837063938379288, -0.06370656192302704, 0.3096805512905121, 0.015571698546409607, -0.10912875086069107, -0.041251927614212036, -0.37085360288619995, -0.3259318172931671, 0.16710761189460754, 0.15662328898906708, -0.08182314783334732, -0.31346097588539124, 0.45654231309890747, -0.1409306526184082, -0.02036888152360916, 0.2319032847881317, 0.21825778484344482, -0.23938396573066711, -0.31630122661590576, 0.19569113850593567, -0.09962907433509827, -0.04854855686426163, -0.08874161541461945, -0.1480804830789566, -0.36256587505340576, -0.4136371612548828, 0.54652339220047, 0.4163057208061218, 0.6287403106689453, 0.29078415036201477, -0.3460129201412201, 0.0767064094543457, 0.1658625453710556, 0.4793616533279419, 0.011671455577015877, -0.14043736457824707, 0.04223186522722244, 0.16195225715637207, -0.18762566149234772, -0.24258163571357727, -0.19851301610469818, 0.06306260079145432, 0.2809136211872101, 0.041674379259347916, -0.14281809329986572, -0.22481507062911987, 0.14769399166107178, 0.10622896254062653, -0.1560339778661728, -0.020296679809689522, -0.3929034173488617, -0.22088339924812317, 0.16637735068798065, -0.04812731593847275, 0.18251225352287292, 0.025943400338292122, -0.2971460819244385, 0.002592679113149643, -0.12458203732967377, -0.08786500990390778, -0.2353186458349228, -0.059100192040205, 0.2839021384716034, 0.09231583774089813, -0.13880693912506104, 0.04041518643498421, 0.34242454171180725, 0.08907244354486465, -0.07366862893104553, -0.3213854432106018, -0.02804751694202423, 0.05458417534828186, 0.01744680106639862, 0.19033999741077423, 0.3476197123527527, 0.040269672870635986, -0.2920415699481964, -0.40506505966186523, 0.2642229497432709, -0.044287439435720444, 0.23757360875606537, 0.17990608513355255, 0.2693037986755371, -0.04703030735254288, 0.06657162308692932, 0.21504351496696472, 0.071599081158638, 0.04481743276119232, 0.40812239050865173, -0.4089174270629883, -0.16753599047660828, 0.03248746693134308, 0.577153205871582, 0.8794412016868591, -0.11889243125915527, 0.3736077845096588, 0.5469083786010742, -0.10555754601955414, 0.34076839685440063, -0.1990838348865509, 0.29969286918640137, -0.483798086643219, -0.24582313001155853, -0.007518824189901352, -0.17778296768665314, -0.016207560896873474, -0.5479710102081299, -0.2219640612602234, 0.14773118495941162, 0.06319127976894379, 0.34460321068763733, 0.08543316274881363, 0.05387839674949646, 0.06749600917100906, 0.07022450119256973, 0.11906776577234268, 0.04484736919403076, -0.21914519369602203, 0.12690497934818268, -0.14723458886146545, -0.10542209446430206, -0.1941712200641632, -0.4403119683265686, -0.12299225479364395, -0.20294862985610962, -0.3133889436721802, 0.3275368809700012, 0.2412545084953308, -0.4662148952484131, -0.09229430556297302, 0.2664976418018341, 0.3162793517112732, -0.0717182606458664, -0.19138658046722412, 0.08628957718610764, 0.27859067916870117, 0.13788162171840668, 0.45812010765075684, -0.051936421543359756, 0.3541192412376404, -0.16215871274471283, -0.09420941770076752, 0.07932646572589874, -0.2504357397556305, -0.000009976327419281006, -0.464103639125824, 0.03498183563351631, 0.08470380306243896, -0.2919743061065674, 0.013041583821177483, -0.14332790672779083, -0.19327972829341888, -0.04080613702535629, 0.16110196709632874, -0.1079997569322586, -0.239669531583786, 0.24780869483947754, -0.1321357786655426, -0.44923487305641174, 0.03944580256938934, 0.12109974026679993, 0.25614866614341736, -0.3120400607585907, 0.24879328906536102, 0.022343028336763382, -0.08578982204198837, -0.08504550158977509, 0.22787994146347046, 0.3204672336578369, -0.3858845829963684, 0.15295211970806122, -0.27701374888420105, -0.16672618687152863, -0.26151856780052185, 0.30055922269821167, 0.09126386791467667, 0.3264785408973694, -0.3176455795764923, 0.19485637545585632, -0.3602393567562103, 0.022374283522367477, 0.09327259659767151, 0.41976937651634216, 0.017275385558605194, 0.2623772621154785, 0.07798083126544952, 0.01453788299113512, -0.3228687644004822, -0.07167691737413406, 0.1787043958902359, 0.2210255265235901, -0.1893780529499054, -0.049429021775722504, 0.012878978624939919, -0.22323401272296906, 0.041116222739219666, 0.27459195256233215, -0.16972161829471588, -0.22047081589698792, 0.056435924023389816, 0.0802229568362236, -0.10144013911485672, -0.2192818969488144, 0.08171193301677704, -0.10273079574108124, -0.052962642163038254, 0.19063419103622437, -0.10190631449222565, 0.025012388825416565, -0.02371181547641754, 0.49123018980026245, 0.20187295973300934, 0.3213324248790741, 0.24621163308620453, -0.009791187942028046, -0.12675879895687103, 0.2537131905555725, -0.10593622177839279, 0.3923470079898834, -0.08967064321041107, -0.18855997920036316, -0.1855406016111374, 0.01040753722190857, -0.18781064450740814, 0.025666341185569763, 0.06496653705835342, -0.20985783636569977, -0.1842925101518631, -0.34017083048820496, 0.20831593871116638, 0.2598710060119629, -0.38444626331329346, -0.3188093304634094, 0.08705054223537445, 0.23833678662776947, -0.2711247205734253, 0.0362953245639801, -0.1320067197084427, 0.08918513357639313, -0.05157727748155594, 0.1497921645641327, 0.08685226738452911, 0.31334447860717773, 0.02691560611128807, 0.1458396017551422, -0.12826283276081085, -0.3534702658653259, 0.12381409108638763, 0.4430631101131439, -0.2364884614944458, -0.12662173807621002, 0.21844525635242462, -0.2464238405227661, 0.14058387279510498, -0.020447947084903717, 0.15283173322677612, 0.5906515121459961, -0.019868802279233932, -0.19059282541275024, 0.1188150942325592, 0.2353016585111618, -0.11895056068897247, 0.1479874700307846, -0.13905254006385803, 0.3156282901763916, 0.36671048402786255, 0.4830043911933899, 0.010551347397267818, -0.4939396381378174, -0.13948512077331543, -0.004602614790201187, -0.28550252318382263, 0.19518817961215973, -0.08261764794588089, 0.18790718913078308, 0.009011730551719666, -0.24760527908802032, -0.09664395451545715, 0.08711113780736923, 0.3012147545814514, 0.3097567558288574, -0.2704053521156311, 0.12084712088108063, 0.14206194877624512, -0.04782628268003464, 0.17256438732147217, -0.0589737705886364, 0.10735992342233658, 0.31294018030166626, -0.2844791114330292, -0.04521234706044197, 0.021116500720381737, 0.2714175283908844, 0.14571082592010498, -0.32637742161750793, 0.1196109876036644, -0.09325176477432251, -0.031041722744703293, 0.24687692523002625, 0.12927615642547607, 0.270180881023407, -0.1742846965789795, 0.2335062474012375, 0.1583077609539032, -0.09661639481782913, 0.4288490414619446, -0.05889586731791496, 0.06735075265169144, 0.030442703515291214, 0.5555205345153809, -0.01246057078242302, -0.3468210995197296, -0.12294799089431763, -0.21042340993881226, -0.12465804070234299, 0.0977102518081665, 0.12702706456184387, 0.07391258329153061, 0.06873592734336853, -0.07885818928480148, 0.10678926110267639, 0.005238864570856094, 0.5757429599761963, -0.09456194937229156, 0.3291603624820709, -0.23535238206386566, 0.166523739695549, -0.3189401924610138, 0.2585519254207611, 0.2799473702907562, 0.09425993263721466, 0.2451525181531906, 0.12750302255153656, 0.18171776831150055, 0.04273314028978348, 0.1395295411348343, -0.3069809675216675, 0.10237757861614227, 0.06535390764474869, -0.4162556827068329, 0.07960057258605957, -0.22338511049747467, -0.029531577602028847, 0.15384794771671295, -0.24659892916679382, 0.3694502115249634, -0.09207421541213989, 0.10547558218240738, -0.37838685512542725, 0.1393578052520752, 0.22183974087238312, 0.45679229497909546, 0.1544024646282196, 0.06735861301422119, 0.12698692083358765, 0.005009513348340988, -0.02206711284816265, 0.3124161660671234, -0.1037643626332283, -0.3220171332359314, 0.2561521530151367, -0.013174362480640411, 0.13771361112594604, 0.07047173380851746, -0.3082399368286133, -0.21959078311920166, 0.38517454266548157, 0.1421208381652832, -0.29719364643096924, -0.2989523708820343, 0.13444608449935913, -0.008633770048618317, 0.09132128953933716, 0.011359351687133312, 0.21079105138778687, 0.15437066555023193, 0.21379029750823975, -0.5362173318862915, -0.4627196788787842, 0.8358648419380188, -0.03623039275407791, -0.15925298631191254, -0.1911059021949768, 0.23637396097183228, -0.0567154660820961, -0.09169075638055801, -0.8797829747200012, -0.22539901733398438, 0.27760735154151917, -0.04833133518695831, -0.2912085950374603, 0.2026422917842865, 0.2643851339817047, 0.1610281765460968, -0.2187536358833313, 0.620132327079773, 0.0022673718631267548, -0.05325908586382866, -0.04851324483752251, -0.3160574436187744 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
Hi @lhoestq, Merged master into this branch. Only changing the test is left for now (mentioned below) after which all tests should pass. > Brought down the failing tests from 7 to 4. Let me know if that part looks good. Failing tests are looking quite similar. In `test_map_torch` > > https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1039 > > and `test_map_tf` > https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1056 > > > they're expecting `float64`. Shouldn't that be `float32` now?
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
69
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. Hi @lhoestq, Merged master into this branch. Only changing the test is left for now (mentioned below) after which all tests should pass. > Brought down the failing tests from 7 to 4. Let me know if that part looks good. Failing tests are looking quite similar. In `test_map_torch` > > https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1039 > > and `test_map_tf` > https://github.com/huggingface/datasets/blob/3d46bc384f811435e59e3916faa3aa20a1cf87bc/tests/test_arrow_dataset.py#L1056 > > > they're expecting `float64`. Shouldn't that be `float32` now?
[ 0.10586677491664886, -0.33053603768348694, -0.18697795271873474, 0.20168419182300568, 0.35509103536605835, 0.1543055772781372, 0.3531252443790436, 0.5971403121948242, -0.018265631049871445, 0.0862717255949974, -0.2839895784854889, 0.3748011291027069, -0.0933322161436081, -0.29800811409950256, 0.040577780455350876, -0.3326241970062256, -0.029197581112384796, 0.19262543320655823, -0.44097277522087097, -0.01831858605146408, -0.042752839624881744, 0.17429961264133453, -0.05028229579329491, 0.08842630684375763, -0.07037205994129181, 0.17578157782554626, 0.03743938356637955, 0.03405936807394028, -0.0633542388677597, -0.4007875323295593, 0.2272457629442215, -0.1663581281900406, -0.13390274345874786, 0.6399709582328796, -0.00010783768084365875, 0.1882699579000473, 0.2785313129425049, -0.14554893970489502, -0.1356101632118225, 0.08673843741416931, 0.30458396673202515, -0.3985723853111267, 0.051694564521312714, -0.1724901795387268, -0.22897344827651978, -0.335644394159317, -0.10364596545696259, -0.20091693103313446, 0.35890424251556396, 0.3666476607322693, 0.26304683089256287, 0.4652256965637207, 0.21371491253376007, 0.1400683969259262, 0.16178882122039795, 0.269084632396698, -0.21084842085838318, 0.3147439956665039, 0.2283271998167038, 0.24038994312286377, -0.17928701639175415, 0.1992257833480835, -0.02533656917512417, 0.26052701473236084, 0.15623022615909576, -0.23846350610256195, 0.2764800190925598, -0.16823449730873108, 0.06853596866130829, 0.17819270491600037, 0.3842499852180481, -0.20853102207183838, -0.09434328228235245, -0.017743241041898727, -0.28668835759162903, -0.21713270246982574, -0.054792843759059906, 0.11868470907211304, -0.19645808637142181, 0.02303798496723175, -0.2872297763824463, 0.1269371658563614, -0.3133934736251831, 0.09604998677968979, -0.33155152201652527, 0.037065289914608, 0.1032944992184639, 0.09584414958953857, -0.12179277837276459, -0.15481522679328918, 0.1708051711320877, 0.09270808845758438, 0.030265673995018005, 0.06891591846942902, -0.15056964755058289, -0.17090976238250732, 0.09398744255304337, -0.48725584149360657, 0.16383999586105347, -0.20059065520763397, 0.15145458281040192, 0.38429734110832214, 0.026449639350175858, 0.03254355490207672, -0.14361920952796936, 0.2459895759820938, 0.08458073437213898, 0.09295191615819931, 0.15662455558776855, 0.08525045216083527, 0.013504274189472198, 0.1592591106891632, 0.29823362827301025, -0.2631635069847107, -0.09652918577194214, 0.18933835625648499, 0.20305150747299194, -0.21236871182918549, 0.051439620554447174, 0.15545539557933807, -0.4031430780887604, -0.13362592458724976, 0.031761448830366135, 0.32323911786079407, 0.1891310065984726, 0.2424996793270111, -0.007805671542882919, 0.09529183059930801, -0.07001321017742157, -0.10202307999134064, -0.15918661653995514, -0.14827248454093933, -0.18931040167808533, -0.1688407063484192, 0.31376197934150696, -0.008220184594392776, 0.3333173990249634, -0.09649975597858429, 0.06507128477096558, 0.20340749621391296, -0.09286569803953171, 0.14781063795089722, 0.6139981150627136, 0.2688683569431305, -0.30852288007736206, 0.05665815621614456, 0.238467276096344, 0.42469775676727295, -0.13825500011444092, 0.2801441252231598, -0.05957723408937454, -0.20952105522155762, 0.0036924928426742554, 0.17619387805461884, 0.019556377083063126, 0.1288076639175415, 0.10925712436437607, 0.06065147742629051, 0.16968029737472534, -0.16629895567893982, 0.36258664727211, -0.38460129499435425, 0.001993943005800247, -0.2705157697200775, 0.14584209024906158, 0.08084980398416519, -0.303038090467453, 0.09173841774463654, 0.2652471661567688, -0.04593634977936745, 0.004782460629940033, 0.26095348596572876, -0.06133471429347992, 0.013367541134357452, -0.38223278522491455, 0.07593077421188354, 0.027294330298900604, -0.10105384886264801, -0.0860356017947197, -0.07581836730241776, 0.19962026178836823, 0.044475048780441284, 0.023168787360191345, -0.16379670798778534, -0.05426248162984848, -0.14840367436408997, -0.055251240730285645, -0.046068184077739716, -0.07144800573587418, 0.13204140961170197, -0.3836566209793091, 0.03219831734895706, 0.39897477626800537, 0.005844336003065109, -0.014309678226709366, -0.39749160408973694, -0.09486918896436691, -0.3511330485343933, 0.3193691372871399, -0.3505840003490448, -0.21406017243862152, 0.020221225917339325, 0.2614442706108093, -0.3745127320289612, 0.06457920372486115, 0.17140790820121765, -0.5724148154258728, 0.20502501726150513, -0.1120058074593544, 0.04636182636022568, -0.036480680108070374, 0.062218792736530304, -0.28503113985061646, 0.04024535417556763, -0.06663873791694641, -0.27967867255210876, 0.1700768768787384, -0.038036927580833435, -0.0286561306566, 0.0001846812665462494, 0.05395994707942009, -0.38518890738487244, -0.07246266305446625, 0.08554711937904358, -0.2638498544692993, 0.26654982566833496, -0.14076143503189087, -0.17374813556671143, -0.14572593569755554, 0.19903483986854553, 0.015585098415613174, -0.31835025548934937, -0.31723296642303467, 0.37776196002960205, 0.003890495514497161, -0.012123525142669678, -0.2496776282787323, 0.1676093339920044, 0.16200637817382812, -0.4353754222393036, 0.07476980984210968, 0.5931699872016907, -0.09106346219778061, -0.10292120277881622, -0.04883154481649399, 0.4639948606491089, 0.11981320381164551, 0.0432952418923378, -0.0754174292087555, -0.08240990340709686, 0.08426987379789352, 0.17045263946056366, 0.0405471995472908, 0.05875161290168762, 0.18937820196151733, 0.12172040343284607, 0.1668531894683838, 0.04146094620227814, -0.2022356539964676, 0.14845678210258484, 0.18198366463184357, -0.2387113869190216, 0.023178331553936005, 0.06606905162334442, -0.012591272592544556, -0.14360332489013672, 0.3580852150917053, -0.42439478635787964, 0.25572431087493896, 0.10102460533380508, 0.02028685435652733, -0.13918964564800262, -0.058670759201049805, -0.25700587034225464, 0.3625049293041229, -0.011452160775661469, 0.04810250923037529, 0.25703519582748413, 0.3103518486022949, -0.15696212649345398, -0.33704572916030884, 0.21772831678390503, -0.03131154179573059, 0.11667916923761368, -0.3917074501514435, -0.10747496783733368, -0.16068804264068604, -0.17263638973236084, -0.23914936184883118, -0.23604941368103027, -0.15606741607189178, -0.4945128858089447, 0.15811342000961304, 0.14781345427036285, -0.3003042936325073, 0.351323664188385, 0.006014447659254074, 0.16595758497714996, 0.2433638721704483, -0.031156091019511223, -0.4380943775177002, -0.19469743967056274, -0.19824513792991638, 0.11998964846134186, 0.33649441599845886, 0.0025322590954601765, 0.31285908818244934, 0.029333533719182014, 0.06915097683668137, -0.3183360993862152, -0.6074609756469727, 0.12152338773012161, -0.4520317316055298, 0.08532292395830154, 0.3386767506599426, 0.36317241191864014, 0.011649135500192642, -0.05754462257027626, 0.12047147005796432, -0.538414716720581, -0.2531888484954834, 0.1838258057832718, 0.12636733055114746, 0.09801746904850006, -0.2862962484359741, -0.5428333878517151, 0.05206292122602463, -0.3649882376194, 0.14520730078220367, -0.12465174496173859, 0.20381008088588715, 0.22041143476963043, -0.06670796871185303, 0.3108508586883545, -0.031664468348026276, -0.0018662726506590843, -0.2036699503660202, 0.052328381687402725, 0.19077032804489136, -0.361398309469223, -0.3279302418231964, -0.1795060634613037, 0.11144289374351501, 0.1320963352918625, -0.22983136773109436, -0.2796560525894165, -0.287832647562027, -0.17600630223751068, 0.40552467107772827, -0.06196612864732742, -0.052169881761074066, 0.04338488355278969, 0.05198389291763306, -0.22462965548038483, -0.1520976424217224, 0.0986209511756897, -0.06808275729417801, 0.21678945422172546, 0.2710094153881073, -0.0009597670286893845, 0.0973423570394516, -0.06954295933246613, 0.7140801548957825, 0.1089092344045639, -0.3725476861000061, 0.24363207817077637, -0.07556039839982986, 0.30511146783828735, -0.1670013666152954, -0.1522911936044693, 0.016232095658779144, -0.050261810421943665, -0.027374999597668648, 0.13655145466327667, -0.07993584126234055, -0.050374895334243774, 0.1325601488351822, 0.2052367776632309, -0.1287071853876114, -0.4407869875431061, 0.24490459263324738, -0.23247811198234558, -0.15760087966918945, -0.07112035155296326, 0.20864197611808777, -0.15553155541419983, -0.177259624004364, 0.2903250753879547, -0.05974777042865753, 0.09380821138620377, -0.11081202328205109, -0.22025513648986816, -0.2656419277191162, -0.4626692533493042, 0.5761429667472839, 0.24137236177921295, 0.5291788578033447, -0.03322658687829971, -0.3679216504096985, -0.03405901789665222, 0.05280613526701927, 0.4254632592201233, -0.053561367094516754, -0.04880703240633011, 0.16252371668815613, 0.20031040906906128, -0.29158884286880493, -0.21430960297584534, -0.22794026136398315, 0.15494003891944885, 0.12589547038078308, 0.12435884773731232, -0.322956919670105, -0.4281901717185974, 0.050051040947437286, 0.15728598833084106, -0.011798452585935593, 0.16751983761787415, -0.30382195115089417, -0.3601377606391907, 0.0035534650087356567, -0.06945321708917618, 0.16338808834552765, 0.042971208691596985, -0.3315761387348175, -0.1522771120071411, -0.01510336808860302, -0.22092139720916748, 0.031529441475868225, 0.04503592848777771, 0.3754825294017792, 0.01193154789507389, -0.045998409390449524, 0.12737944722175598, 0.26140648126602173, 0.2326180785894394, 0.18896475434303284, -0.38781270384788513, 0.2925477623939514, 0.10942849516868591, -0.13641849160194397, 0.22148020565509796, 0.435206800699234, 0.05018039792776108, -0.20115971565246582, -0.620466947555542, 0.13127267360687256, 0.09443330764770508, 0.009362952783703804, 0.088065005838871, 0.06662033498287201, 0.0050897118635475636, 0.1081475168466568, 0.30975106358528137, -0.045106418430805206, -0.007862456142902374, 0.5369075536727905, -0.2422669678926468, -0.20801283419132233, 0.18816402554512024, 0.43434250354766846, 0.8738314509391785, -0.06385202705860138, 0.34986379742622375, 0.536688506603241, -0.2338489294052124, 0.03143009915947914, 0.03323028236627579, 0.053669847548007965, -0.4532814025878906, -0.03616415709257126, 0.0062998514622449875, -0.16612379252910614, -0.025701433420181274, -0.2857844829559326, -0.24144616723060608, 0.2777697443962097, 0.05940009653568268, 0.5436537265777588, 0.04083546996116638, 0.08169001340866089, 0.0235585980117321, 0.07556530833244324, -0.2459273636341095, 0.1424180120229721, -0.05164134502410889, 0.03292357549071312, -0.08287451416254044, -0.22685785591602325, -0.22170379757881165, -0.24554282426834106, -0.0666312649846077, -0.1332513689994812, -0.22504036128520966, 0.3778544068336487, 0.3308714032173157, -0.43601566553115845, -0.023973191156983376, 0.19873230159282684, 0.02071220800280571, -0.05433795973658562, -0.2806437611579895, 0.01873023994266987, 0.29845914244651794, 0.19676613807678223, 0.06917040795087814, 0.02849285677075386, 0.35780659317970276, -0.03894606605172157, -0.06205864995718002, 0.1596229523420334, -0.3268136978149414, -0.2060266137123108, -0.4799985885620117, -0.08160887658596039, -0.020668573677539825, -0.3841792345046997, -0.0783328115940094, -0.30307552218437195, -0.3170490860939026, -0.11258117854595184, 0.17374177277088165, -0.17743033170700073, -0.15406407415866852, 0.18056976795196533, 0.16279694437980652, -0.31852030754089355, 0.10376527905464172, 0.12482742220163345, -0.1827039122581482, -0.21528571844100952, 0.440108984708786, 0.3229411244392395, -0.029091184958815575, -0.23137077689170837, 0.2295757234096527, 0.5051677227020264, -0.5530174970626831, 0.1761271059513092, -0.37822213768959045, -0.1698036938905716, 0.12976044416427612, 0.5086725950241089, 0.22671204805374146, 0.1606447398662567, -0.18774361908435822, 0.08535937964916229, -0.5132413506507874, 0.2772029638290405, 0.10105834901332855, 0.6751419901847839, -0.17831218242645264, -0.01495790109038353, -0.007270779460668564, 0.17529651522636414, -0.3695143461227417, 0.15391844511032104, -0.003463584929704666, 0.14889803528785706, -0.16371892392635345, -0.09514007717370987, 0.09548105299472809, -0.16742654144763947, 0.0911361500620842, 0.22565197944641113, -0.589346170425415, -0.23870328068733215, 0.17493751645088196, 0.10295041650533676, 0.04585406184196472, -0.15444466471672058, -0.0021361648105084896, -0.031165271997451782, 0.09911365807056427, -0.0012906808406114578, -0.07833166420459747, -0.17906707525253296, -0.020830966532230377, 0.24287696182727814, 0.29424765706062317, 0.23215368390083313, 0.01225801557302475, 0.015336502343416214, -0.016781620681285858, 0.2045777440071106, 0.017841685563325882, -0.002009231597185135, -0.12313679605722427, -0.26242247223854065, 0.0331084206700325, 0.23232412338256836, 0.033388808369636536, 0.08573077619075775, 0.2162722647190094, -0.07105857133865356, -0.2586326003074646, -0.2585187554359436, 0.4471489489078522, 0.15518233180046082, -0.27696147561073303, -0.13567304611206055, 0.013178015127778053, 0.2073930948972702, -0.16711385548114777, 0.12834301590919495, 0.23923242092132568, 0.10597636550664902, 0.07668952643871307, 0.1421242356300354, 0.2109476923942566, 0.09550544619560242, 0.18010614812374115, 0.2248997688293457, -0.0490434393286705, -0.02958551049232483, 0.045333657413721085, 0.6429293751716614, -0.19370301067829132, -0.14048908650875092, 0.39351412653923035, -0.42006978392601013, 0.25266242027282715, 0.060845647007226944, -0.04513854533433914, 0.6585440635681152, -0.06843950599431992, -0.09479422867298126, 0.11169406771659851, 0.0475614033639431, 0.15356585383415222, 0.07152431458234787, 0.026412218809127808, 0.3633161783218384, 0.323007196187973, 0.9016689658164978, -0.2200525850057602, -0.6460537314414978, -0.21383897960186005, 0.17385295033454895, -0.05598592758178711, 0.04927714169025421, -0.18364384770393372, -0.0795823484659195, -0.08841350674629211, -0.11134524643421173, -0.19637039303779602, -0.03186006844043732, 0.43638119101524353, 0.3104742765426636, -0.17599637806415558, -0.230418860912323, 0.19946065545082092, -0.029643379151821136, 0.3435540795326233, 0.09006322920322418, 0.309356153011322, 0.4525172710418701, -0.30163925886154175, -0.02122076228260994, 0.11697117239236832, 0.3123224079608917, 0.028938231989741325, -0.474016010761261, -0.07382938265800476, -0.0501684807240963, -0.10375726222991943, 0.2552908957004547, 0.2350926250219345, -0.07000024616718292, -0.4039044678211212, 0.32326507568359375, 0.2256448119878769, -0.12611275911331177, 0.06820661574602127, 0.10856977105140686, -0.04059309512376785, 0.09519460797309875, 0.42452818155288696, -0.08296128362417221, -0.3655712604522705, 0.07393914461135864, -0.3455277979373932, -0.33310312032699585, -0.012389837764203548, 0.10617561638355255, -0.0645756945014, 0.13500657677650452, 0.06705310195684433, 0.14321933686733246, -0.011338159441947937, 0.5871665477752686, 0.10785990953445435, 0.1582031548023224, -0.4074645936489105, -0.018466517329216003, -0.48693782091140747, 0.1715998500585556, 0.178594172000885, 0.16165538132190704, 0.20876094698905945, -0.022122785449028015, 0.31745558977127075, 0.006639920175075531, 0.26029595732688904, -0.1560274064540863, 0.264830619096756, 0.18350297212600708, -0.5136687159538269, 0.05872555077075958, -0.032076604664325714, -0.03179197013378143, -0.0359443798661232, -0.27377501130104065, 0.21290545165538788, -0.08634047955274582, 0.1186877116560936, -0.21451793611049652, 0.09564739465713501, 0.19631876051425934, 0.0812566876411438, 0.2446870058774948, 0.008205973543226719, 0.258628249168396, 0.007777657359838486, -0.18633832037448883, 0.07387761771678925, -0.09632141888141632, 0.1021529957652092, 0.31131869554519653, -0.1073089987039566, 0.4136711657047272, 0.10654228925704956, -0.2022923231124878, -0.25717929005622864, 0.4396761357784271, 0.11158771812915802, 0.000042182909965049475, -0.2363227754831314, 0.2232208549976349, -0.09420227259397507, -0.19259607791900635, 0.011417360045015812, 0.27789103984832764, 0.0169646218419075, 0.3400583565235138, -0.49803227186203003, -0.5190016031265259, 0.7350837588310242, -0.16995957493782043, -0.25422564148902893, 0.019979875534772873, 0.09738241136074066, 0.17575544118881226, 0.07640744000673294, -1.0263365507125854, -0.20628173649311066, 0.1350146383047104, -0.005267951637506485, -0.23470547795295715, 0.25690534710884094, 0.3264380097389221, 0.07595473527908325, -0.17333820462226868, 0.4732612073421478, 0.07955582439899445, 0.037415213882923126, -0.07789433002471924, -0.13128137588500977 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
> they're expecting float64. Shouldn't that be float32 now? Yes feel free to update those tests :) It would be nice to have the same test for JAX as well
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
30
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. > they're expecting float64. Shouldn't that be float32 now? Yes feel free to update those tests :) It would be nice to have the same test for JAX as well
[ 0.1653400957584381, -0.40164366364479065, -0.2362615019083023, 0.11739721894264221, 0.35033220052719116, -0.011421442031860352, 0.5051900148391724, 0.5335189700126648, -0.15524806082248688, 0.2812904715538025, -0.13109083473682404, 0.2908244729042053, 0.04410500451922417, -0.24729640781879425, 0.013718870468437672, -0.40912625193595886, 0.05008910223841667, 0.20574913918972015, -0.30031803250312805, -0.03405657410621643, -0.012533675879240036, 0.16547107696533203, -0.1346580684185028, 0.09459344297647476, -0.028026441112160683, 0.14483009278774261, -0.0733535885810852, 0.05250408127903938, 0.01577850431203842, -0.3108177185058594, 0.23499695956707, -0.2029603123664856, 0.001884041354060173, 0.403145432472229, -0.00010429169924464077, 0.08570501208305359, 0.24508380889892578, -0.14798562228679657, -0.017938775941729546, 0.32946979999542236, 0.3859942853450775, -0.38962477445602417, -0.04979993402957916, -0.4121830463409424, -0.25537851452827454, -0.27563849091529846, -0.15919773280620575, -0.2596287131309509, 0.31423062086105347, 0.28120094537734985, 0.284765362739563, 0.3404560983181, 0.16468919813632965, 0.26983579993247986, 0.19144368171691895, 0.16571757197380066, -0.14908799529075623, 0.2568054795265198, 0.33186075091362, 0.17025093734264374, -0.10540682822465897, 0.18356801569461823, -0.09604864567518234, 0.271471232175827, 0.07265591621398926, -0.1079874038696289, 0.24824175238609314, -0.0811271145939827, 0.005474209785461426, 0.21738630533218384, 0.5610600709915161, -0.08124690502882004, 0.05127091705799103, 0.10999719053506851, -0.19652105867862701, -0.20772452652454376, -0.016065776348114014, 0.08729369193315506, -0.2675970494747162, -0.04077455773949623, -0.25294560194015503, 0.14498470723628998, -0.36948254704475403, 0.07160092145204544, -0.37820154428482056, 0.1375575065612793, 0.1443774253129959, 0.03849869966506958, -0.30303093791007996, -0.07589630037546158, 0.3071250319480896, 0.10723415017127991, 0.14260081946849823, 0.06796121597290039, -0.03721186891198158, -0.23568101227283478, 0.11796630918979645, -0.5921540260314941, -0.08383168280124664, -0.3127909302711487, 0.19801700115203857, 0.44361814856529236, 0.12369835376739502, 0.06843437254428864, -0.12343543767929077, 0.24064017832279205, -0.033787138760089874, -0.02552981674671173, 0.23164451122283936, 0.1472979485988617, 0.09465150535106659, 0.07191306352615356, 0.24614815413951874, -0.04833473637700081, 0.09929369390010834, 0.16269221901893616, 0.1900990605354309, -0.25400257110595703, 0.04793817549943924, 0.11867620050907135, -0.4687286913394928, -0.05921317636966705, 0.0029492732137441635, 0.3829118609428406, 0.19790035486221313, 0.2949592173099518, 0.1174883246421814, 0.06017763167619705, -0.18763117492198944, -0.21448920667171478, -0.12023327499628067, -0.09444710612297058, -0.04015665501356125, -0.371001273393631, 0.26523327827453613, 0.08945763111114502, 0.24986425042152405, -0.04569132626056671, 0.06900087743997574, 0.242208331823349, -0.0012568850070238113, 0.12684379518032074, 0.6605514287948608, 0.256684809923172, -0.30805379152297974, -0.17442789673805237, 0.2781330645084381, 0.35332614183425903, -0.17513997852802277, 0.5313433408737183, 0.02676362544298172, -0.018438443541526794, -0.06359098106622696, 0.2170240432024002, 0.0682319700717926, 0.023464621976017952, 0.35110607743263245, 0.029276590794324875, 0.30499976873397827, -0.1383156031370163, 0.4520915746688843, -0.38540977239608765, 0.028676282614469528, -0.2800074517726898, -0.0005852989852428436, -0.04859758913516998, -0.311698853969574, 0.19509971141815186, 0.2054114192724228, -0.11098262667655945, 0.03728292137384415, 0.1548798680305481, -0.06923554092645645, 0.049351491034030914, -0.2750414311885834, 0.1689799427986145, 0.02048465609550476, 0.052465420216321945, -0.0002416735514998436, -0.21878060698509216, 0.2416193038225174, 0.0021293479949235916, 0.07088735699653625, 0.13707444071769714, -0.08922814577817917, -0.07679320126771927, -0.07672812044620514, 0.25184497237205505, -0.09574747085571289, 0.2548096179962158, -0.4057149291038513, 0.17103514075279236, 0.3723289966583252, -0.007184717804193497, 0.06392428278923035, -0.2739100754261017, -0.10064377635717392, -0.08878546208143234, 0.3460523188114166, -0.4212019741535187, -0.37073737382888794, -0.09028260409832001, 0.3663676083087921, -0.3980807065963745, 0.11062590777873993, 0.17943155765533447, -0.34839871525764465, 0.11689063161611557, -0.13854947686195374, -0.0339212492108345, 0.1816314160823822, 0.018214859068393707, -0.25901857018470764, 0.11237066239118576, 0.16715574264526367, -0.19323895871639252, 0.20144878327846527, 0.011483646929264069, 0.022721249610185623, -0.028005775064229965, 0.12717460095882416, -0.3435763716697693, 0.04112537205219269, -0.05836791545152664, -0.12019555270671844, 0.36569127440452576, -0.11589493602514267, -0.21230360865592957, -0.07211428135633469, 0.10814157128334045, -0.0077270641922950745, -0.3758678138256073, -0.3030953109264374, 0.41733014583587646, 0.20329444110393524, -0.1713341325521469, -0.4466775953769684, 0.16721254587173462, 0.06948178261518478, -0.1922953873872757, 0.26547855138778687, 0.5865073204040527, -0.05825785920023918, 0.04431051015853882, -0.07239032536745071, 0.5315223932266235, 0.16594289243221283, -0.19030159711837769, -0.11181122809648514, -0.14196011424064636, 0.07923032343387604, 0.1883900761604309, 0.16998034715652466, 0.06713041663169861, 0.053480364382267, 0.19107180833816528, -0.014205588027834892, -0.03679712116718292, -0.4777434170246124, 0.07706710696220398, 0.21993030607700348, -0.21366633474826813, 0.12013289332389832, 0.019412260502576828, 0.0873480960726738, -0.15688058733940125, 0.35608014464378357, -0.5421410202980042, 0.1628556251525879, 0.17517320811748505, 0.05536247044801712, -0.2499859631061554, -0.09945068508386612, -0.3126989006996155, 0.30832234025001526, -0.022808238863945007, 0.10967399924993515, 0.08976275473833084, 0.3146609663963318, -0.18338502943515778, -0.39127904176712036, 0.38519755005836487, -0.0999872013926506, 0.10194562375545502, -0.2908312678337097, 0.03116130642592907, -0.07214860618114471, -0.34772977232933044, -0.19249825179576874, -0.2673843204975128, -0.1501687467098236, -0.483463317155838, 0.3173428177833557, 0.13138622045516968, -0.30218952894210815, 0.2250208556652069, 0.09266477823257446, 0.23137162625789642, 0.3037939965724945, -0.023756621405482292, -0.43241995573043823, -0.19146698713302612, -0.2741612493991852, 0.1896127313375473, 0.2902751564979553, 0.09242666512727737, 0.2978338599205017, 0.12324575334787369, 0.17997702956199646, -0.1691528707742691, -0.6679216623306274, 0.016309581696987152, -0.23797307908535004, 0.048713404685258865, 0.285773903131485, 0.4415382742881775, 0.06614977866411209, 0.03504437208175659, 0.03466751426458359, -0.6101623177528381, -0.27862581610679626, 0.24937620759010315, 0.2805805206298828, -0.03551502525806427, -0.37513384222984314, -0.50418621301651, 0.18839222192764282, -0.22486679255962372, -0.04907314479351044, -0.069907046854496, 0.1164809986948967, 0.06331203877925873, 0.01380180288106203, 0.29856038093566895, 0.13297496736049652, -0.07662362605333328, -0.1775922030210495, 0.08152036368846893, 0.23883572220802307, -0.21364930272102356, -0.37521111965179443, -0.20998963713645935, 0.009405694901943207, 0.05100296810269356, -0.20176252722740173, -0.24992607533931732, -0.3546460270881653, -0.21163848042488098, 0.454387366771698, -0.06920138746500015, -0.13391298055648804, 0.19136415421962738, -0.03636723384261131, -0.333224356174469, -0.09326072037220001, 0.13831600546836853, -0.05092216283082962, 0.24481716752052307, 0.2457452416419983, -0.1097433790564537, -0.08647112548351288, -0.010633828118443489, 0.48727256059646606, -0.28974997997283936, -0.4837163984775543, 0.2252701222896576, -0.009934229776263237, 0.33605852723121643, -0.12523025274276733, -0.09656691551208496, 0.06852813810110092, 0.04698873311281204, -0.18158984184265137, 0.13326089084148407, -0.23527267575263977, -0.31944769620895386, 0.048072487115859985, 0.1075611263513565, -0.0418834313750267, -0.26693934202194214, 0.21994616091251373, -0.05176100879907608, -0.10631168633699417, 0.11750878393650055, 0.2540874779224396, -0.15333133935928345, -0.1896457076072693, 0.12808331847190857, -0.10333453118801117, -0.09991978853940964, -0.19279354810714722, -0.16351929306983948, -0.33365678787231445, -0.17102819681167603, 0.602558970451355, 0.36993929743766785, 0.48962101340293884, 0.04327486827969551, -0.42763060331344604, 0.04401212930679321, -0.08974804729223251, 0.3670053482055664, 0.0649004727602005, -0.006557334214448929, 0.247482568025589, 0.2742021679878235, -0.07955053448677063, -0.28646332025527954, -0.375358909368515, 0.031885962933301926, 0.09454187750816345, 0.16459932923316956, -0.06754428893327713, -0.25277048349380493, 0.04354917258024216, 0.16343767940998077, -0.15495312213897705, 0.11164189130067825, -0.49049127101898193, -0.2836514115333557, 0.14885029196739197, 0.08774203062057495, -0.06969567388296127, 0.058841850608587265, -0.2422841638326645, -0.12136119604110718, -0.11289112269878387, -0.1937304437160492, -0.22628532350063324, 0.1458507478237152, 0.34176650643348694, -0.09961982071399689, -0.20385189354419708, -0.11740623414516449, 0.17150942981243134, 0.18458455801010132, -0.13090354204177856, -0.2990082800388336, 0.3997054994106293, 0.0092154610902071, -0.14509503543376923, 0.2081262469291687, 0.3344862461090088, -0.04511960223317146, -0.2577956020832062, -0.6010253429412842, 0.19184160232543945, 0.08637595176696777, -0.05341774970293045, 0.08016176521778107, 0.14074930548667908, 0.13609090447425842, 0.15447495877742767, 0.26975348591804504, -0.15505197644233704, 0.02289172261953354, 0.33865100145339966, -0.3360193967819214, -0.15055902302265167, 0.08433087170124054, 0.6689876317977905, 0.8370679020881653, -0.21661032736301422, 0.32718589901924133, 0.6623767018318176, -0.2168884128332138, 0.05881601199507713, -0.066657155752182, 0.16918541491031647, -0.48579028248786926, -0.05898924171924591, -0.009092569351196289, -0.14007297158241272, 0.18719837069511414, -0.40692996978759766, -0.43501999974250793, 0.11427334696054459, -0.017651095986366272, 0.41068151593208313, -0.028636401519179344, 0.13211312890052795, 0.058253273367881775, 0.2537418305873871, -0.24463224411010742, 0.17523644864559174, -0.17997068166732788, -0.040786925703287125, -0.06957445293664932, -0.19903992116451263, -0.2854156494140625, -0.34148603677749634, -0.05363304167985916, -0.06422805786132812, -0.034639447927474976, 0.3883851170539856, 0.3431009352207184, -0.2929702401161194, -0.1683797836303711, 0.18092460930347443, 0.07763954252004623, -0.006390832364559174, -0.22044523060321808, 0.042301058769226074, 0.27504706382751465, 0.07844700664281845, 0.1593230813741684, 0.09231135249137878, 0.37691518664360046, -0.08178998529911041, -0.09662915766239166, 0.14654359221458435, -0.20137254893779755, -0.07587829232215881, -0.45932677388191223, -0.005399152636528015, 0.01570199429988861, -0.35412856936454773, 0.019625326618552208, -0.2612974941730499, -0.22475764155387878, -0.022171424701809883, 0.21535423398017883, -0.22013325989246368, -0.13993734121322632, 0.1512775421142578, 0.09982521831989288, -0.30036985874176025, 0.10620422661304474, 0.1445593237876892, 0.056038372218608856, -0.1669742614030838, 0.2939404845237732, 0.20005904138088226, -0.09661714732646942, -0.25329065322875977, 0.2721417248249054, 0.23908378183841705, -0.2114805281162262, 0.188365176320076, -0.31434503197669983, -0.19313423335552216, 0.013255211524665356, 0.36581388115882874, 0.07658063620328903, 0.21542710065841675, -0.24240495264530182, 0.14164814352989197, -0.4313589334487915, 0.09949696063995361, 0.09471513330936432, 0.5329779386520386, -0.14895211160182953, -0.05036615952849388, 0.20613382756710052, 0.16530828177928925, -0.40173619985580444, -0.0476156547665596, -0.01757868379354477, 0.18795980513095856, -0.20727595686912537, -0.070072703063488, -0.036538321524858475, -0.20327742397785187, 0.16278797388076782, 0.12357714027166367, -0.49485111236572266, -0.3133404552936554, 0.17553162574768066, 0.058169543743133545, -0.011557966470718384, -0.11008752882480621, 0.09161033481359482, -0.07349655032157898, 0.009215731173753738, 0.03287508338689804, -0.22472356259822845, -0.22413110733032227, -0.09688165783882141, 0.3054431676864624, 0.3489045202732086, 0.32407304644584656, 0.12023177742958069, -0.1218104213476181, -0.12228871881961823, 0.1190301775932312, 0.013074558228254318, 0.0015879012644290924, -0.019605958834290504, -0.2985120415687561, 0.046570468693971634, 0.292439728975296, -0.034283608198165894, -0.04584179073572159, 0.14441895484924316, -0.03089728206396103, -0.19281072914600372, -0.3559347689151764, 0.33981645107269287, 0.1114082857966423, -0.2407388985157013, -0.15814156830310822, 0.02939751371741295, 0.2639290690422058, -0.2858681380748749, 0.17236371338367462, 0.06551192700862885, 0.04382649436593056, -0.032172173261642456, 0.20551306009292603, 0.08863179385662079, 0.21494609117507935, 0.1304933875799179, 0.15353655815124512, -0.060094159096479416, -0.15682755410671234, 0.0614192821085453, 0.5405368208885193, -0.3472910523414612, -0.14705274999141693, 0.2861490547657013, -0.3387710750102997, 0.07519109547138214, 0.05473373830318451, 0.08507149666547775, 0.4760891795158386, -0.01563313603401184, 0.048617757856845856, -0.13026466965675354, 0.15126889944076538, 0.06904695928096771, 0.23182085156440735, -0.007504552602767944, 0.3549988865852356, 0.4172530472278595, 0.6850945353507996, 0.0340154804289341, -0.44396811723709106, -0.3785874843597412, 0.14756178855895996, -0.13591346144676208, 0.0988975316286087, -0.04623819887638092, -0.020588025450706482, -0.16104689240455627, -0.12923991680145264, -0.04030740633606911, 0.11244450509548187, 0.3416321277618408, 0.3414490222930908, -0.16522394120693207, -0.16723859310150146, 0.3637414574623108, -0.08108291774988174, 0.2714957892894745, -0.008617237210273743, 0.14802245795726776, 0.49558836221694946, -0.2660665214061737, 0.11963270604610443, 0.0890195295214653, 0.2897031605243683, 0.11714548617601395, -0.3827548921108246, -0.09803994745016098, -0.18254542350769043, -0.12820011377334595, 0.16148041188716888, 0.14789897203445435, 0.07497762143611908, -0.1287892609834671, 0.24377872049808502, 0.2595295310020447, -0.12973487377166748, 0.2980979382991791, 0.186040461063385, -0.00822167843580246, 0.04301450774073601, 0.34990981221199036, -0.09030631929636002, -0.35710978507995605, -0.06683074682950974, -0.3100580871105194, -0.3998686671257019, -0.018491003662347794, -0.13512271642684937, 0.05462636053562164, 0.08631420135498047, 0.07885576039552689, 0.15251974761486053, 0.034916941076517105, 0.5235105156898499, -0.05676635727286339, 0.21334674954414368, -0.2780616581439972, -0.02962125837802887, -0.5453041791915894, 0.09023617208003998, 0.14258046448230743, -0.08081846684217453, 0.1629699021577835, 0.03379613161087036, 0.36087024211883545, 0.007014486938714981, 0.18687710165977478, -0.12433676421642303, 0.18799172341823578, 0.15970145165920258, -0.4837651252746582, 0.15474510192871094, -0.06682027876377106, -0.21442770957946777, -0.09450824558734894, -0.3046519458293915, 0.22458015382289886, -0.1222279742360115, 0.202905535697937, -0.16665861010551453, 0.0839092880487442, 0.1415076106786728, 0.42759907245635986, 0.08245527744293213, -0.060827650129795074, 0.13340963423252106, 0.06113028526306152, 0.0022162646055221558, 0.2038528323173523, -0.07499200850725174, 0.029739592224359512, 0.27013257145881653, 0.004841959103941917, 0.3005872666835785, 0.029851699247956276, -0.15194641053676605, -0.2561866044998169, 0.5253702402114868, 0.06365647166967392, -0.07741989940404892, -0.16339625418186188, 0.10529741644859314, -0.0914151519536972, -0.09315510094165802, -0.11267853528261185, 0.07765910029411316, 0.06218000873923302, 0.21066267788410187, -0.5075100064277649, -0.4573349356651306, 0.6222351789474487, -0.12104282528162003, -0.3424872159957886, -0.08445197343826294, 0.1541089564561844, 0.07351692020893097, 0.028775501996278763, -0.7594456672668457, -0.13496384024620056, 0.1904541254043579, -0.042814984917640686, -0.20256851613521576, 0.3221292197704315, 0.3040858507156372, 0.08922593295574188, -0.25447356700897217, 0.2949513792991638, 0.06293424963951111, 0.15946514904499054, -0.24927067756652832, -0.10479413717985153 ]
https://github.com/huggingface/datasets/pull/2361
Preserve dtype for numpy/torch/tf/jax arrays
Added same test for for JAX too. Also, I saw that I missed changing `test_cast_to_python_objects_jax` like I did for TF and PyTorch. Finished that as well
Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array.
26
text: Preserve dtype for numpy/torch/tf/jax arrays Fixes #625. This lets the user preserve the dtype of numpy array to pyarrow array which was getting lost due to conversion of numpy array -> list -> pyarrow array. Added same test for for JAX too. Also, I saw that I missed changing `test_cast_to_python_objects_jax` like I did for TF and PyTorch. Finished that as well
[ 0.20924733579158783, -0.2632994055747986, -0.1641015261411667, 0.06086694449186325, 0.5281064510345459, -0.00775667279958725, 0.6192233562469482, 0.5405327081680298, -0.1123812347650528, 0.37522315979003906, -0.14258641004562378, 0.39949461817741394, -0.14056625962257385, -0.14136816561222076, -0.0025975191965699196, -0.24479350447654724, 0.025264911353588104, 0.22010669112205505, -0.28930434584617615, -0.06899020820856094, -0.06812945008277893, 0.11931396275758743, -0.005766823887825012, 0.09534381330013275, -0.13019530475139618, 0.13499602675437927, 0.046285808086395264, 0.02169807255268097, 0.08388756960630417, -0.25631189346313477, 0.09685887396335602, -0.25680842995643616, -0.08367772400379181, 0.384905070066452, -0.00009919042349793017, 0.16413326561450958, 0.1518222838640213, -0.039591751992702484, -0.09961642324924469, 0.22128278017044067, 0.3794805109500885, -0.3524981737136841, 0.09312309324741364, -0.39807894825935364, -0.27052345871925354, -0.30841389298439026, -0.05061797797679901, -0.18944576382637024, 0.18903863430023193, 0.2484346330165863, 0.3284204602241516, 0.38817280530929565, 0.19139593839645386, 0.2031497210264206, 0.1906735748052597, 0.0779917761683464, -0.2547762393951416, 0.17214630544185638, 0.30485591292381287, 0.2565189301967621, -0.2076036036014557, 0.25187140703201294, -0.07930315285921097, 0.19243161380290985, 0.19121703505516052, -0.10711772739887238, 0.2084103226661682, -0.027988120913505554, -0.061731018126010895, 0.045920200645923615, 0.47636327147483826, -0.36664649844169617, -0.0012095901183784008, 0.04086814075708389, 0.01750980317592621, -0.1259068101644516, -0.03806664049625397, 0.12390169501304626, -0.2428334653377533, 0.010037083178758621, -0.18357789516448975, 0.176097571849823, -0.3563779890537262, 0.07376842945814133, -0.18543332815170288, 0.08854924887418747, 0.1541576087474823, -0.03940986841917038, -0.23128114640712738, -0.14107251167297363, 0.426670640707016, -0.030651550740003586, 0.154075026512146, -0.11181366443634033, -0.027408640831708908, -0.22022570669651031, 0.1955188661813736, -0.6282224059104919, -0.07795087993144989, -0.23288576304912567, 0.19191448390483856, 0.4528593420982361, 0.2766042649745941, 0.04838426411151886, -0.11446112394332886, 0.23071463406085968, 0.020473245531320572, -0.06303287297487259, 0.22906412184238434, 0.061358749866485596, 0.010684449225664139, 0.05890744924545288, 0.1482151746749878, -0.05300970375537872, 0.2008061408996582, 0.19230934977531433, 0.25651639699935913, -0.14652277529239655, 0.08234453201293945, 0.0009485818445682526, -0.37472039461135864, 0.14624500274658203, 0.0019335327669978142, 0.3832091689109802, 0.161573588848114, 0.19267308712005615, 0.25517863035202026, 0.09800612181425095, -0.2186221182346344, -0.10893288999795914, -0.16662757098674774, -0.007602505385875702, -0.09453115612268448, -0.35863372683525085, 0.27148160338401794, 0.20231130719184875, 0.22368834912776947, -0.06643950194120407, 0.2558324933052063, 0.09923085570335388, 0.04998505860567093, 0.16361336410045624, 0.4429098069667816, 0.1675645411014557, -0.17585912346839905, -0.09853139519691467, 0.251357764005661, 0.23164837062358856, -0.14111573994159698, 0.343892902135849, 0.0004532560706138611, 0.006134334951639175, -0.09863041341304779, 0.2975418269634247, 0.032030362635850906, 0.008637301623821259, 0.3421376049518585, -0.11385570466518402, 0.22541022300720215, -0.10713030397891998, 0.18967440724372864, -0.3123440146446228, 0.007425282150506973, -0.2873913645744324, 0.012662334367632866, -0.14786873757839203, -0.20187276601791382, 0.10864301025867462, 0.25015556812286377, -0.11200185120105743, 0.033734723925590515, 0.1508808732032776, -0.12132314592599869, 0.1303635686635971, -0.21161940693855286, 0.04297054558992386, 0.10049595683813095, 0.04319177195429802, -0.07754778861999512, -0.2223052978515625, 0.1542833298444748, 0.06500987708568573, 0.005024023354053497, 0.2062496542930603, -0.06435360014438629, -0.05975503847002983, -0.10870440304279327, 0.3071741461753845, 0.004859574139118195, 0.28302201628685, -0.3738718628883362, 0.1314152181148529, 0.2469378262758255, -0.053919583559036255, 0.12118881940841675, -0.1802147924900055, -0.11273501068353653, -0.10950013995170593, 0.2953181862831116, -0.5033252239227295, -0.17555345594882965, -0.05162195861339569, 0.35539618134498596, -0.3599315285682678, 0.09990312904119492, 0.04104573279619217, -0.4078647494316101, 0.14385050535202026, -0.17193593084812164, 0.05199328809976578, -0.021742507815361023, -0.053960852324962616, -0.1816372573375702, 0.18523503839969635, 0.014415591955184937, -0.09900446236133575, 0.2869529128074646, 0.05054096877574921, -0.056246317923069, -0.01130593754351139, 0.21285535395145416, -0.2918112576007843, 0.009000750258564949, 0.0289002638310194, -0.17702671885490417, 0.3208383321762085, -0.1301213800907135, -0.34261658787727356, -0.13274511694908142, 0.19820564985275269, -0.05513565242290497, -0.2747502326965332, -0.19545724987983704, 0.3209972083568573, 0.3016262948513031, -0.14810872077941895, -0.4118868112564087, 0.08225393295288086, 0.05999050289392471, -0.21623067557811737, 0.15622928738594055, 0.6742181777954102, 0.05278255045413971, -0.019992999732494354, -0.11582308262586594, 0.53657066822052, 0.26389333605766296, -0.18748751282691956, 0.012292839586734772, -0.039597608149051666, 0.07172992825508118, 0.15231618285179138, 0.10526090860366821, -0.011005163192749023, 0.03805989399552345, 0.139357328414917, -0.14580678939819336, -0.03053928352892399, -0.46355852484703064, 0.1299535036087036, 0.3780732750892639, -0.0467807799577713, 0.19384169578552246, -0.013324704021215439, 0.020962171256542206, -0.04986952990293503, 0.20150868594646454, -0.41096803545951843, 0.046243809163570404, 0.22202534973621368, 0.07275520265102386, -0.14204192161560059, -0.12187259644269943, -0.18258661031723022, 0.2846939265727997, 0.01869010552763939, 0.1495753973722458, 0.12740057706832886, 0.30288586020469666, -0.24700768291950226, -0.34031516313552856, 0.2163831889629364, -0.07772185653448105, 0.10619214177131653, -0.304442435503006, -0.008414001204073429, -0.17991583049297333, -0.2949961721897125, -0.11706514656543732, -0.2383195012807846, -0.039624761790037155, -0.47121304273605347, 0.3417462706565857, 0.22626665234565735, -0.41618451476097107, 0.3163764476776123, -0.07775251567363739, 0.011306509375572205, 0.2461838573217392, -0.0315123051404953, -0.2545718550682068, -0.25536397099494934, -0.18618473410606384, 0.1831512749195099, 0.3495712876319885, 0.15810562670230865, 0.29439273476600647, 0.10934314876794815, 0.22748976945877075, -0.2168041467666626, -0.5529510378837585, -0.02146320790052414, -0.12821677327156067, 0.029100656509399414, 0.20720690488815308, 0.3342789113521576, 0.11029031872749329, -0.15958872437477112, 0.05995827913284302, -0.5923239588737488, -0.2948569655418396, 0.41793736815452576, 0.2686806917190552, -0.14290648698806763, -0.3490062355995178, -0.476444274187088, 0.16024325788021088, -0.33256995677948, -0.022906504571437836, -0.04636063054203987, 0.11925115436315536, 0.1257968246936798, 0.06568519026041031, 0.21937139332294464, 0.20516656339168549, 0.07618632167577744, -0.10973373055458069, 0.16058330237865448, 0.32839593291282654, -0.29562556743621826, -0.4492068290710449, -0.18242986500263214, -0.11413497477769852, -0.0009308196604251862, -0.11861319839954376, -0.1258557140827179, -0.3402843773365021, -0.14046142995357513, 0.3835882246494293, 0.07702149450778961, -0.18729981780052185, 0.1883339136838913, 0.20801162719726562, -0.33333176374435425, -0.07798734307289124, 0.1000060886144638, 0.012714199721813202, 0.11255840212106705, 0.16997778415679932, -0.15205618739128113, -0.0822199285030365, 0.04360317811369896, 0.48767536878585815, -0.3147481679916382, -0.4398331940174103, 0.23155787587165833, -0.08508943766355515, 0.3022094964981079, -0.2141445279121399, -0.2899620532989502, 0.029442911967635155, -0.10957464575767517, -0.09665393829345703, 0.08543571829795837, -0.3036109209060669, -0.31958767771720886, 0.10934245586395264, 0.21096675097942352, -0.07661467790603638, -0.4441879391670227, 0.2610316276550293, -0.10274268686771393, -0.1391260325908661, 0.10391455888748169, 0.27137723565101624, -0.18439801037311554, -0.08247551321983337, 0.20297779142856598, -0.13514673709869385, -0.2290726900100708, -0.16337129473686218, -0.2256273478269577, -0.33494773507118225, -0.14852198958396912, 0.48956233263015747, 0.3001991808414459, 0.2784634530544281, 0.15654292702674866, -0.522241473197937, 0.03810206428170204, -0.12033893167972565, 0.4265425205230713, 0.0520763173699379, -0.04461103677749634, 0.287556529045105, 0.25953003764152527, -0.10677802562713623, -0.15888433158397675, -0.24471503496170044, 0.02593133971095085, 0.05424688756465912, 0.21972952783107758, -0.09912986308336258, -0.26190051436424255, -0.01701991632580757, 0.23316416144371033, -0.14620818197727203, 0.1121402233839035, -0.3594042956829071, -0.24055182933807373, -0.07862290740013123, -0.012684144079685211, -0.05451842024922371, 0.16136294603347778, -0.1671716868877411, -0.10485304892063141, -0.2561207115650177, -0.2050856053829193, -0.10321146249771118, 0.20487608015537262, 0.3426804840564728, -0.1231132447719574, 0.07368084788322449, -0.19574283063411713, 0.2855965495109558, 0.2390976846218109, -0.08686365187168121, -0.2976466119289398, 0.07620790600776672, -0.03413916006684303, -0.08992365747690201, 0.24719026684761047, 0.21954065561294556, -0.0483284555375576, -0.17384430766105652, -0.5501255989074707, 0.10500356554985046, 0.10580755025148392, -0.013309834524989128, 0.09607537090778351, 0.07829685509204865, 0.13852863013744354, 0.11871154606342316, 0.11619903147220612, -0.19798971712589264, 0.0316624790430069, 0.21475772559642792, -0.24132458865642548, -0.178561270236969, 0.12803861498832703, 0.49096575379371643, 0.8604856729507446, -0.13706952333450317, 0.40771207213401794, 0.6908352971076965, -0.3037525415420532, 0.012214608490467072, 0.026424206793308258, 0.24960371851921082, -0.4950528144836426, -0.1503286212682724, 0.0730770006775856, -0.10476728528738022, 0.08498866856098175, -0.2974269390106201, -0.3308815360069275, 0.1236361637711525, -0.09380671381950378, 0.22222070395946503, -0.1574684977531433, 0.09653893113136292, 0.07893989980220795, -0.06709679961204529, -0.1435682326555252, 0.24018454551696777, -0.13906271755695343, -0.09642989933490753, -0.0382596030831337, -0.25819140672683716, -0.202399343252182, -0.20283888280391693, 0.08717162907123566, 0.1655609905719757, -0.09964820742607117, 0.38060462474823, 0.2643645107746124, -0.4139954447746277, -0.13231819868087769, 0.0860142707824707, -0.016371026635169983, 0.07742135226726532, -0.07144888490438461, 0.06269851326942444, 0.23509865999221802, 0.1469341665506363, -0.04530302435159683, 0.09183309227228165, 0.4809790849685669, -0.10087266564369202, -0.011629462242126465, 0.10625874996185303, -0.1219930350780487, 0.02474147081375122, -0.20252588391304016, -0.050662532448768616, -0.011415891349315643, -0.3983812928199768, -0.1028357595205307, -0.12373858690261841, -0.22576870024204254, -0.1529102623462677, 0.2679263949394226, -0.19927464425563812, -0.23754848539829254, 0.19832099974155426, -0.05207892879843712, -0.19927799701690674, 0.10964316129684448, 0.08200915157794952, 0.1361926943063736, -0.10948590934276581, 0.2926105260848999, 0.20373038947582245, -0.16357861459255219, -0.31756454706192017, 0.2354629635810852, 0.3394932746887207, -0.24053627252578735, 0.26847025752067566, -0.21721789240837097, -0.2473660111427307, -0.06443820893764496, 0.2691650986671448, -0.0634431317448616, 0.13929176330566406, -0.23401501774787903, 0.26357683539390564, -0.46502557396888733, 0.18376652896404266, 0.15129157900810242, 0.531075656414032, -0.19089218974113464, 0.21762637794017792, 0.060328707098960876, 0.08534931391477585, -0.4570310115814209, -0.07483980059623718, -0.17667685449123383, 0.17620843648910522, -0.1590678095817566, -0.18561556935310364, 0.06404158473014832, -0.14744678139686584, 0.24652481079101562, 0.07974770665168762, -0.3091953694820404, -0.35532647371292114, 0.0327083058655262, 0.006994590163230896, -0.03840252757072449, 0.0898139700293541, 0.13770543038845062, 0.03857904672622681, -0.0015209540724754333, -0.10942455381155014, -0.17542359232902527, -0.0834479033946991, -0.10394024848937988, 0.37779808044433594, 0.25188148021698, 0.2447882890701294, 0.25571876764297485, -0.21233655512332916, -0.12194882333278656, 0.11966178566217422, -0.043811265379190445, -0.052953459322452545, -0.10486973077058792, -0.22357487678527832, 0.08048012852668762, 0.20873430371284485, -0.011458322405815125, 0.031809333711862564, 0.20754259824752808, -0.019736312329769135, -0.28332340717315674, -0.21969878673553467, 0.34389516711235046, 0.0648178681731224, -0.20615753531455994, -0.13302066922187805, 0.12058105319738388, 0.3196244239807129, -0.3605170249938965, 0.059492576867341995, -0.017626244574785233, -0.1627025008201599, 0.07154464721679688, 0.07794809341430664, -0.13433001935482025, 0.22780558466911316, 0.008419662714004517, 0.14005032181739807, -0.06052078679203987, -0.2013448178768158, 0.01606566272675991, 0.391510009765625, -0.28794875741004944, -0.16682098805904388, 0.3051103353500366, -0.08082568645477295, 0.17217563092708588, 0.19524148106575012, 0.008294783532619476, 0.4369224011898041, 0.00044480711221694946, -0.05768616124987602, 0.03195374459028244, 0.14863044023513794, -0.04178958013653755, 0.09766675531864166, -0.027907758951187134, 0.3381309509277344, 0.30520257353782654, 0.46493852138519287, -0.013612399809062481, -0.46156176924705505, -0.17589734494686127, 0.2817615866661072, -0.20145690441131592, 0.13387708365917206, 0.04295071214437485, 0.06929924339056015, -0.07490695267915726, -0.18866325914859772, 0.00592442974448204, 0.035168521106243134, 0.2342185080051422, 0.2646700143814087, -0.0697934627532959, -0.1609725058078766, 0.33276110887527466, -0.07285397499799728, 0.30090415477752686, -0.09761139005422592, 0.07256315648555756, 0.3752792477607727, -0.22933700680732727, -0.13981102406978607, 0.0045244041830301285, 0.34159308671951294, 0.056133829057216644, -0.3607385456562042, -0.017324887216091156, -0.21502362191677094, -0.19760367274284363, 0.024442143738269806, 0.15039144456386566, 0.09250393509864807, -0.12529601156711578, 0.24158574640750885, 0.248742014169693, -0.18899159133434296, 0.11361938714981079, 0.22844047844409943, -0.045209988951683044, 0.11662779748439789, 0.4604160785675049, -0.10815006494522095, -0.4504826068878174, -0.08666805177927017, -0.2624562382698059, -0.39573606848716736, -0.10706089437007904, 0.09101898968219757, 0.10265219956636429, 0.08195695281028748, -0.07594200223684311, 0.18716785311698914, 0.13418474793434143, 0.4957495927810669, -0.16007108986377716, 0.24891653656959534, -0.22707286477088928, 0.09233641624450684, -0.43993079662323, 0.1455639749765396, 0.07918455451726913, -0.11548374593257904, 0.09195329993963242, 0.04641008377075195, 0.318169504404068, -0.11485633254051208, -0.017444074153900146, 0.0028905472718179226, 0.16666167974472046, 0.21111813187599182, -0.4775221645832062, 0.08019804954528809, -0.0690661072731018, -0.2542794644832611, 0.10834385454654694, -0.3307788372039795, 0.04933539032936096, -0.10829003900289536, 0.2766134738922119, -0.11815667152404785, 0.0476422980427742, 0.1355200558900833, 0.3467057943344116, 0.07551929354667664, -0.13288697600364685, 0.1863161325454712, -0.0382843017578125, 0.005533002316951752, 0.23082000017166138, -0.1930648386478424, -0.02519325539469719, 0.21536102890968323, 0.18119896948337555, 0.17464298009872437, 0.09253381937742233, -0.0012965798377990723, -0.21050380170345306, 0.4450352191925049, 0.16664370894432068, -0.09042081236839294, -0.12143931537866592, 0.25285881757736206, -0.1576773226261139, 0.024817822501063347, -0.15801788866519928, 0.17453186213970184, -0.011945612728595734, 0.18759624660015106, -0.47126448154449463, -0.5138058662414551, 0.6346116065979004, -0.06450909376144409, -0.5041125416755676, 0.01201538648456335, 0.2116360366344452, -0.19287636876106262, 0.03987957537174225, -0.660607099533081, -0.05106401443481445, 0.14041583240032196, -0.14226120710372925, -0.17176274955272675, 0.31746089458465576, 0.2224588394165039, 0.04175712540745735, -0.1838040053844452, 0.33201536536216736, 0.14669576287269592, 0.1554330438375473, -0.24508260190486908, -0.07585829496383667 ]
https://github.com/huggingface/datasets/pull/2358
Roman Urdu Stopwords List
Hi ! Thanks for sharing :) I think the best place to share this is probably the `Languages at Hugging Face` section of the forum: https://discuss.huggingface.co/c/languages-at-hugging-face/15 Since this is not a dataset, I'm closing this PR if you don't mind
A list of most frequently used Roman Urdu words with different spellings and usages. This is a very basic effort to collect some basic stopwords for Roman Urdu to help efforts of analyzing text data in roman Urdu which makes up a huge part of daily internet interaction of Roman-Urdu users.
40
text: Roman Urdu Stopwords List A list of most frequently used Roman Urdu words with different spellings and usages. This is a very basic effort to collect some basic stopwords for Roman Urdu to help efforts of analyzing text data in roman Urdu which makes up a huge part of daily internet interaction of Roman-Urdu users. Hi ! Thanks for sharing :) I think the best place to share this is probably the `Languages at Hugging Face` section of the forum: https://discuss.huggingface.co/c/languages-at-hugging-face/15 Since this is not a dataset, I'm closing this PR if you don't mind
[ 0.17489677667617798, -0.1866426169872284, -0.20610176026821136, 0.4808282256126404, 0.0112737026065588, 0.07862205058336258, 0.17865683138370514, 0.2565154731273651, -0.019627414643764496, 0.02346033602952957, -0.10592655837535858, -0.18268263339996338, -0.11529070883989334, 0.036106958985328674, 0.33754053711891174, -0.09519930183887482, -0.05281304568052292, 0.06559872627258301, -0.18459826707839966, 0.2997450828552246, 0.0940549224615097, 0.5578704476356506, -0.2246721237897873, 0.08053921163082123, -0.07921677827835083, 0.26916512846946716, -0.14456970989704132, -0.00812365859746933, 0.13985460996627808, -0.26043397188186646, 0.10050196945667267, 0.122908815741539, -0.11969972401857376, 0.30467307567596436, -0.00011089196777902544, -0.34280329942703247, -0.08825057744979858, -0.2337777465581894, -0.26668283343315125, -0.18972302973270416, 0.09462945908308029, -0.1050465926527977, -0.2663046419620514, -0.5593549609184265, 0.04394790530204773, 0.06524576991796494, 0.049657683819532394, -0.2034548819065094, -0.08362120389938354, 0.2059413492679596, 0.17504902184009552, 0.15794619917869568, -0.11284425854682922, -0.23783494532108307, 0.3147340714931488, 0.02319949120283127, -0.23883487284183502, -0.021780796349048615, 0.6736515760421753, -0.00915786623954773, -0.3143317401409149, 0.24489878118038177, -0.4215059280395508, -0.40045246481895447, -0.4711317718029022, -0.043202873319387436, -0.0905335322022438, -0.4445421099662781, 0.8461987376213074, 0.22846201062202454, 0.1963857114315033, -0.5236408114433289, 0.2240215241909027, -0.3677380383014679, 0.008525902405381203, 0.5308791995048523, 0.01852474734187126, 0.15384222567081451, -0.2349623590707779, 0.32548439502716064, 0.4414645731449127, -0.037236958742141724, -0.10520333051681519, -0.01874658465385437, -0.0032227300107479095, -0.041527509689331055, -0.029373548924922943, -0.2714018225669861, 0.32887160778045654, -0.33632057905197144, -0.05727950111031532, -0.25040027499198914, -0.03603281453251839, 0.1359022855758667, 0.0650864690542221, -0.13225166499614716, -0.0548047199845314, 0.08978734165430069, 0.350605309009552, -0.1346181184053421, 0.22260671854019165, 0.15647011995315552, 0.09165526926517487, -0.08002076297998428, 0.020257961004972458, -0.2855541706085205, 0.4055366516113281, -0.19026562571525574, 0.10243746638298035, 0.0938945785164833, 0.14191067218780518, 0.17398762702941895, 0.07899078726768494, 0.20760077238082886, -0.17453143000602722, -0.3536430895328522, -0.0294560045003891, -0.22114966809749603, -0.09122830629348755, 0.2165425717830658, -0.6595159769058228, -0.21232056617736816, -0.09662017971277237, -0.07515262812376022, 0.21523787081241608, 0.21487581729888916, -0.20315998792648315, -0.1384417563676834, 0.23378236591815948, -0.5900510549545288, 0.054448798298835754, -0.0595918633043766, -0.31999415159225464, 0.03625573217868805, 0.1420787125825882, -0.1726246178150177, 0.04322444647550583, -0.13029272854328156, 0.1103469580411911, 0.1314096748828888, 0.27561333775520325, -0.21454820036888123, 0.0992116704583168, -0.017863865941762924, 0.22622919082641602, 0.1285681575536728, 0.18597900867462158, -0.08968605101108551, -0.3837191164493561, 0.49463993310928345, 0.15526887774467468, -0.06060677394270897, 0.2794228494167328, 0.12322624027729034, -0.000039340928196907043, -0.03968773037195206, 0.5822481513023376, 0.23272205889225006, 0.0923839658498764, 0.241580069065094, 0.45923343300819397, 0.41624021530151367, -0.17521452903747559, -0.25536447763442993, 0.18824917078018188, 0.4065648913383484, -0.6126705408096313, -0.24174194037914276, -0.11900217831134796, -0.14347952604293823, -0.03154873102903366, 0.15736326575279236, 0.039830539375543594, 0.24210193753242493, -0.2430313676595688, 0.07451389729976654, 0.4025750756263733, 0.13139207661151886, -0.2284083068370819, 0.22470036149024963, 0.03919170796871185, 0.16431520879268646, -0.13594847917556763, 0.011812723241746426, 0.5634773969650269, -0.18539048731327057, 0.33013272285461426, 0.032005131244659424, 0.04436562955379486, -0.004086090251803398, -0.07615996152162552, -0.38946428894996643, 0.4013829827308655, 0.0669528990983963, 0.09470793604850769, -0.07343830913305283, -0.10596530884504318, 0.013742323033511639, 0.3007567524909973, -0.02464010939002037, 0.052551887929439545, 0.1587945818901062, 0.11248107254505157, 0.31101173162460327, 0.4072954058647156, -0.15013659000396729, 0.06093483790755272, 0.14925402402877808, 0.09118004888296127, 0.2969633936882019, -0.22731147706508636, 0.05693572759628296, -0.42138394713401794, -0.13465844094753265, 0.34875255823135376, -0.022442743182182312, 0.17035943269729614, -0.2306755781173706, -0.03044026531279087, 0.5018712282180786, -0.07157866656780243, 0.3438919186592102, -0.29618099331855774, -0.11538531631231308, -0.15104790031909943, 0.3068879544734955, -0.03376718610525131, -0.14190536737442017, -0.11355988681316376, 0.25835666060447693, -0.07132909446954727, 0.07707475870847702, 0.22397878766059875, -0.0674450695514679, -0.045209892094135284, -0.05701759457588196, 0.5015114545822144, 0.5265259146690369, 0.018416358157992363, -0.3400780260562897, 0.29089683294296265, 0.11640167236328125, -0.08517198264598846, -0.40113070607185364, 0.4215267300605774, 0.10403086245059967, 0.3790562152862549, -0.08098041266202927, -0.040204018354415894, 0.1130383238196373, 0.0098958071321249, -0.0949859768152237, -0.27697789669036865, -0.3226622939109802, 0.349505215883255, 0.032538339495658875, 0.3329896926879883, 0.4808546006679535, -0.2039373368024826, -0.13815408945083618, 0.3894626200199127, -0.1334528625011444, 0.12561647593975067, 0.38860827684402466, 0.05173895135521889, -0.03630244359374046, -0.29626041650772095, -0.10750159621238708, 0.2644229531288147, 0.1597776710987091, 0.11477839946746826, -0.11858051270246506, 0.44097089767456055, -0.22898316383361816, 0.09547454118728638, 0.24683229625225067, 0.033479735255241394, -0.11099297553300858, 0.07566192746162415, 0.24954628944396973, -0.37584349513053894, 0.04126947745680809, -0.0859546884894371, -0.10597454011440277, 0.03493110463023186, 0.07613480091094971, 0.2067209631204605, -0.3152328431606293, 0.30201777815818787, -0.2709469497203827, -0.298412561416626, 0.04042864590883255, 0.03197631984949112, -0.2732296288013458, 0.2161988765001297, 0.14253920316696167, -0.5330320596694946, 0.7449859380722046, -0.07712467759847641, -0.011167703196406364, -0.49431225657463074, -0.42507630586624146, -0.18421125411987305, 0.153040811419487, 0.12572376430034637, -0.07043113559484482, 0.42939677834510803, -0.347819060087204, 0.05712512880563736, -0.16122829914093018, -0.41386258602142334, 0.04171695187687874, -0.20807930827140808, -0.4435070753097534, 0.08098562806844711, 0.11960483342409134, -0.28001028299331665, 0.01984317973256111, -0.13099324703216553, -0.11904850602149963, 0.06057346612215042, -0.17174331843852997, -0.2824220657348633, -0.038770899176597595, 0.06547170877456665, 0.12598542869091034, -0.07069855183362961, -0.12490005791187286, -0.17042356729507446, -0.051850784569978714, 0.07554492354393005, -0.48705002665519714, -0.45000219345092773, 0.3789553940296173, -0.027460483834147453, 0.06227980554103851, -0.24811191856861115, -0.18735730648040771, -0.0322122760117054, -0.031649623066186905, -0.17817743122577667, 0.04472995176911354, -0.08733155578374863, 0.0947144478559494, -0.06914827972650528, -0.2690778374671936, 0.20476992428302765, -0.12551641464233398, 0.4161321818828583, -0.06237480044364929, -0.4537465572357178, -0.09212444722652435, 0.060147128999233246, 0.09485020488500595, 0.17946478724479675, -0.20502889156341553, 0.10872206091880798, 0.008436739444732666, 0.07935341447591782, 0.47220900654792786, -0.31992900371551514, 0.5206606984138489, 0.0874009057879448, 0.09282320737838745, 0.061850741505622864, 0.020502079278230667, 0.07119650393724442, 0.05571659281849861, -0.11941636353731155, -0.42134806513786316, -0.07160823792219162, 0.08592455834150314, -0.08110727369785309, 0.2272338569164276, 0.15948158502578735, -0.13513001799583435, -0.15818709135055542, -0.0933007150888443, -0.5182299613952637, -0.14869359135627747, 0.058621183037757874, -0.36632880568504333, 0.5522588491439819, -0.1433052271604538, -0.2306707799434662, -0.0013581737875938416, -0.05282578244805336, 0.35358941555023193, -0.0991351306438446, -0.2083437740802765, -0.16407842934131622, -0.14236609637737274, 0.27086302638053894, -0.3766898512840271, 0.019637927412986755, 0.09462768584489822, -0.12604458630084991, -0.5136271119117737, -0.03864739462733269, 0.07691638916730881, 0.1915869414806366, 0.8760080337524414, 0.12846772372722626, -0.023515164852142334, 0.3521226942539215, 0.19093142449855804, -0.2834779620170593, 0.07603719830513, -0.4284589886665344, -0.34197258949279785, 0.6416258811950684, -0.037789955735206604, -0.37015071511268616, -0.03858601301908493, 0.12351638078689575, -0.010408861562609673, -0.08739691972732544, 0.03758486360311508, 0.049664150923490524, -0.3323744833469391, -0.2261267900466919, 0.11537902057170868, -0.006082423031330109, -0.0470753014087677, -0.23807977139949799, 0.15031403303146362, 0.483308881521225, 0.23437750339508057, 0.22075417637825012, 0.06914520263671875, -0.04638420790433884, 0.06073901057243347, 0.19943974912166595, 0.21612648665905, -0.3231552541255951, -0.11520157754421234, -0.05902211368083954, -0.2781001329421997, -0.19533652067184448, -0.03348725289106369, -0.3088854253292084, 0.3358469605445862, 0.27739834785461426, 0.11723998934030533, 0.4453093409538269, 0.05780280381441116, -0.31963592767715454, -0.08500958979129791, -0.5565964579582214, 0.4164949655532837, 0.06152693182229996, -0.4679071605205536, -0.25563010573387146, 0.017632976174354553, 0.10977736115455627, -0.18209081888198853, 0.08738948404788971, 0.05152739956974983, 0.03550124168395996, 0.3734186291694641, 0.02360934019088745, 1.2064015865325928, -0.32692962884902954, 0.22733113169670105, -0.18713834881782532, -0.09595781564712524, -0.20974329113960266, 0.4293319582939148, -0.34603381156921387, -0.13167627155780792, 0.3292393386363983, -0.2026543766260147, -0.0010101720690727234, 0.12706319987773895, 0.04146873205900192, -0.43769919872283936, -0.27764439582824707, -0.021038632839918137, 0.2711939811706543, 0.2874055504798889, -0.08202405273914337, -0.3288714289665222, -0.3800935447216034, -0.3633708655834198, 0.11695004999637604, 0.03987875208258629, 0.23839718103408813, 0.0809604600071907, -0.1411246359348297, 0.05690521374344826, -0.042264990508556366, -0.5282313823699951, -0.018153659999370575, -0.20632843673229218, -0.05005376785993576, 0.3622354567050934, -0.30865228176116943, 0.05323684588074684, 0.27404332160949707, 0.4071987271308899, 0.045814067125320435, -0.005086071789264679, -0.05374446138739586, -0.012308865785598755, -0.18182671070098877, 0.370795875787735, 0.0697689950466156, -0.1662101447582245, -0.168704092502594, -0.15091265738010406, 0.4574461877346039, 0.28857162594795227, 0.5156053304672241, -0.47186267375946045, 0.12302625179290771, 0.11315926909446716, -0.12741167843341827, -0.3850082755088806, 0.27526819705963135, -0.28407013416290283, -0.07442186772823334, 0.13450196385383606, 0.09230756759643555, 0.07858262211084366, -0.06519777327775955, -0.16518822312355042, 0.003216780722141266, -0.040399421006441116, 0.14977732300758362, 0.15613597631454468, -0.012392163276672363, 0.11416730284690857, 0.4336645305156708, -0.15719908475875854, -0.18390610814094543, 0.3119150698184967, -0.33737507462501526, 0.005080141127109528, 0.04924742504954338, -0.048785071820020676, -0.09050263464450836, -0.15692031383514404, -0.028500806540250778, 0.09594698250293732, -0.019839130342006683, 0.032855693250894547, -0.03886951133608818, -0.18142074346542358, 0.19147297739982605, 0.4611331820487976, -0.19709475338459015, 0.1344364881515503, -0.1327354460954666, -0.12979650497436523, -0.09442482143640518, -0.2979745864868164, 0.2251739352941513, -0.20479626953601837, 0.15706978738307953, 0.30785879492759705, -0.15637922286987305, 0.1836269348859787, 0.06467434763908386, 0.1157262772321701, 0.19041621685028076, 0.00017879996448755264, -0.20135676860809326, -0.05863822251558304, 0.10703200846910477, -0.16385099291801453, 0.0825607180595398, -0.09692350029945374, -0.2852299213409424, 0.16962440311908722, -0.047108788043260574, 0.026652388274669647, 0.5739059448242188, 0.16332677006721497, 0.26886990666389465, -0.10427841544151306, 0.1453569233417511, -0.020806528627872467, 0.11515865474939346, -0.1598244607448578, 0.08100950717926025, 0.45541760325431824, 0.053141362965106964, -0.03349876031279564, -0.0040851011872291565, 0.1318073272705078, 0.41596800088882446, 0.47834986448287964, -0.1518617868423462, 0.12518037855625153, 0.14684054255485535, 0.0012357234954833984, 0.10157131403684616, 0.06670264899730682, -0.15867488086223602, -0.18506860733032227, -0.16827335953712463, 0.3129245936870575, 0.10133722424507141, -0.05867251381278038, -0.25315484404563904, 0.04737904667854309, -0.23690229654312134, -0.0014794543385505676, 0.2848235070705414, 0.0470709390938282, -0.16219741106033325, 0.009235918521881104, 0.00694723054766655, 0.5169902443885803, -0.23153235018253326, 0.03431768715381622, 0.15316924452781677, 0.43656396865844727, 0.08096111565828323, -0.14483429491519928, 0.12304063141345978, -0.002541564404964447, 0.01377078890800476, -0.05930490046739578, 0.4813337028026581, 0.2495032250881195, 0.2709842324256897, 0.38097870349884033, -0.21456392109394073, 0.12798631191253662, 0.25713491439819336, -0.38835814595222473, 0.18901291489601135, 0.0013947486877441406, 0.2869557738304138, 0.579325795173645, 0.09114358574151993, -0.01290156226605177, -0.3326074481010437, 0.09984251856803894, 0.31256282329559326, -0.04374624788761139, -0.26259705424308777, -0.042108919471502304, -0.24508972465991974, 0.29753577709198, -0.14466586709022522, 0.2691672444343567, -0.07590806484222412, 0.22643761336803436, -0.06651198118925095, -0.16161084175109863, -0.29898717999458313, 0.00038502365350723267, -0.21229858696460724, -0.05735098570585251, -0.14988045394420624, -0.23379990458488464, -0.07062295079231262, 0.10969065874814987, 0.1970343440771103, -0.1784290224313736, 0.08370645344257355, 0.31562790274620056, -0.4079136848449707, 0.014210591092705727, -0.06530431658029556, 0.31385207176208496, 0.22638531029224396, -0.09230677783489227, -0.13882963359355927, 0.07945789396762848, -0.09729470312595367, -0.24661223590373993, 0.45252352952957153, -0.12989482283592224, -0.0037230264861136675, 0.08466779440641403, 0.036071792244911194, -0.40484097599983215, -0.19077782332897186, 0.14890512824058533, -0.34006303548812866, -0.035210203379392624, 0.5008636713027954, 0.019198965281248093, 0.09248759597539902, -0.07035158574581146, 0.07672698050737381, 0.34319430589675903, 0.152358740568161, 0.35632750391960144, 0.21400782465934753, -0.03144912049174309, -0.36400341987609863, -0.25103819370269775, 0.10983263701200485, -0.2555330693721771, 0.5129532217979431, 0.03589218109846115, -0.26458674669265747, 0.28575900197029114, 0.43485236167907715, 0.17433303594589233, 0.0006755655631422997, -0.24783189594745636, -0.1266583502292633, -0.18597719073295593, -0.19291968643665314, -0.24857737123966217, 0.20976941287517548, -0.26955053210258484, 0.15516266226768494, -0.010768469423055649, -0.12571997940540314, 0.018342018127441406, -0.37631720304489136, -0.3353937566280365, 0.2070361077785492, 0.26819348335266113, -0.11082607507705688, -0.03504007309675217, 0.16635972261428833, -0.1834200918674469, 0.139114648103714, 0.4589475393295288, 0.03564709797501564, 0.25696584582328796, 0.02680545672774315, 0.28357821702957153, -0.6404609680175781, -0.19304101169109344, -0.47593382000923157, 0.16751158237457275, 0.5775118470191956, 0.23516888916492462, 0.05951399356126785, -0.17386862635612488, -0.09042995423078537, 0.381792277097702, -0.05811455845832825, -0.10759056359529495, 0.1380617916584015, -0.01485520601272583, -0.014197507873177528, 0.13097620010375977, 0.171950563788414, 0.34897851943969727, -0.18976418673992157, -0.25415265560150146, -0.30650660395622253, 0.22686997056007385, -0.22307410836219788, 0.004588384181261063, 0.037066392600536346, -0.32341688871383667, 0.4335803985595703, 0.08034937083721161, -0.001539081335067749, 0.4083486497402191, 0.12182211875915527, 0.03394431248307228, -0.05347110331058502, -0.11140607297420502, -0.013446163386106491, 0.0289060827344656, -0.07955919206142426, -0.2538824677467346 ]
https://github.com/huggingface/datasets/pull/2358
Roman Urdu Stopwords List
Thank you I will look into the link that you have shared with me. On Mon, May 17, 2021 at 7:05 PM Quentin Lhoest ***@***.***> wrote: > Closed #2358 <https://github.com/huggingface/datasets/pull/2358>. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/pull/2358#event-4754836267>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AN7SJYJVY4C5XQRDNET743DTOEPC7ANCNFSM443AZ3MA> > . >
A list of most frequently used Roman Urdu words with different spellings and usages. This is a very basic effort to collect some basic stopwords for Roman Urdu to help efforts of analyzing text data in roman Urdu which makes up a huge part of daily internet interaction of Roman-Urdu users.
63
text: Roman Urdu Stopwords List A list of most frequently used Roman Urdu words with different spellings and usages. This is a very basic effort to collect some basic stopwords for Roman Urdu to help efforts of analyzing text data in roman Urdu which makes up a huge part of daily internet interaction of Roman-Urdu users. Thank you I will look into the link that you have shared with me. On Mon, May 17, 2021 at 7:05 PM Quentin Lhoest ***@***.***> wrote: > Closed #2358 <https://github.com/huggingface/datasets/pull/2358>. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/pull/2358#event-4754836267>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AN7SJYJVY4C5XQRDNET743DTOEPC7ANCNFSM443AZ3MA> > . >
[ 0.1098041832447052, -0.14414989948272705, -0.22923848032951355, 0.45807385444641113, 0.00854475423693657, -0.019151993095874786, 0.18173539638519287, 0.2192704677581787, -0.0021168291568756104, 0.12804538011550903, -0.046212829649448395, -0.09794958680868149, -0.016639437526464462, -0.11014464497566223, 0.259046345949173, -0.04625551402568817, -0.0743166133761406, 0.10854010283946991, -0.3021264672279358, 0.13391798734664917, 0.07906114310026169, 0.5331944227218628, -0.20462918281555176, 0.1377691626548767, -0.11661910265684128, 0.2252146452665329, -0.0728880763053894, 0.17310203611850739, 0.08526895195245743, -0.21580727398395538, 0.17847982048988342, 0.22918164730072021, -0.16646936535835266, 0.21088683605194092, -0.00010150208981940523, -0.3442702889442444, -0.020377792418003082, -0.09175200760364532, -0.31365740299224854, -0.14345906674861908, 0.012995313853025436, -0.1404554694890976, -0.1995009481906891, -0.5258105993270874, 0.02974691241979599, 0.2002420723438263, 0.13675925135612488, -0.13574837148189545, 0.039902858436107635, 0.19224876165390015, 0.22849319875240326, 0.17821729183197021, 0.1732683628797531, -0.33203956484794617, 0.23640325665473938, -0.06763315200805664, -0.22972552478313446, 0.12907174229621887, 0.6460217237472534, 0.0524294450879097, -0.29807624220848083, 0.3310803472995758, -0.37363556027412415, -0.22570298612117767, -0.34013840556144714, -0.1993618607521057, -0.14668625593185425, -0.3540313243865967, 0.8645610213279724, 0.1417212337255478, 0.19736909866333008, -0.5572072267532349, 0.2415289431810379, -0.3623048663139343, -0.02207416668534279, 0.2294774204492569, 0.11393994092941284, 0.13414901494979858, -0.2792147099971771, 0.3382258415222168, 0.4161709249019623, -0.08701043576002121, -0.15407264232635498, 0.06781687587499619, -0.09414784610271454, -0.031200632452964783, -0.05158436670899391, -0.26185232400894165, 0.30983594059944153, -0.24571169912815094, -0.07752874493598938, -0.1900216042995453, 0.09891493618488312, 0.13435019552707672, -0.0006008557975292206, -0.1622503101825714, -0.0017341077327728271, 0.10399487614631653, 0.49928367137908936, -0.03069840371608734, 0.13796548545360565, 0.30607032775878906, 0.05411509796977043, -0.012445762753486633, -0.0893116295337677, -0.25259333848953247, 0.22812649607658386, -0.18317054212093353, 0.09836734086275101, 0.14541256427764893, 0.05199252441525459, 0.20917963981628418, 0.08834163844585419, -0.00816255807876587, -0.2818215787410736, -0.23498883843421936, -0.05240033566951752, -0.19699423015117645, -0.11280287802219391, 0.1393204778432846, -0.6126424670219421, -0.23101933300495148, -0.14743901789188385, -0.02028515934944153, 0.06671475619077682, 0.1282636821269989, -0.20916642248630524, -0.17094042897224426, 0.09019944816827774, -0.4860907793045044, -0.0903693214058876, 0.014134284108877182, -0.300785094499588, 0.035473257303237915, 0.07161547243595123, -0.33250191807746887, 0.03155214339494705, -0.08812752366065979, -0.016984649002552032, 0.13717086613178253, 0.19734011590480804, -0.14994242787361145, 0.05013056471943855, 0.12185299396514893, 0.14834515750408173, 0.11718196421861649, 0.09230954945087433, -0.010050192475318909, -0.22742149233818054, 0.47454169392585754, 0.08671586215496063, -0.0695982426404953, 0.15364593267440796, 0.21483829617500305, -0.05204043537378311, -0.14085090160369873, 0.5544726252555847, 0.07852845638990402, -0.03024866431951523, 0.33168259263038635, 0.30180561542510986, 0.4496307373046875, -0.2939818203449249, -0.08568144589662552, 0.11856935173273087, 0.3237158954143524, -0.46997830271720886, -0.25373998284339905, -0.17681549489498138, -0.11954498291015625, 0.17465028166770935, 0.3373063802719116, 0.042837392538785934, 0.24198901653289795, -0.18329983949661255, 0.09965422749519348, 0.33880218863487244, -0.04681185632944107, -0.21490123867988586, 0.162918359041214, -0.04154098778963089, 0.07939120382070541, -0.03510449081659317, -0.14537149667739868, 0.6893426179885864, -0.26111364364624023, 0.4056859016418457, -0.19780796766281128, 0.13219621777534485, -0.12850841879844666, -0.1990855634212494, -0.3335147500038147, 0.3317691683769226, 0.04381836578249931, 0.0947931557893753, -0.08980999141931534, -0.16070201992988586, -0.004368011839687824, 0.3767089545726776, -0.05562411621212959, 0.018079593777656555, 0.25445523858070374, 0.03900935873389244, 0.3107103705406189, 0.30728551745414734, -0.10091893374919891, -0.031274184584617615, 0.09394528716802597, 0.0782955065369606, 0.4446694254875183, -0.2551726698875427, 0.10072338581085205, -0.4754165709018707, -0.0971541702747345, 0.21683074533939362, -0.09257687628269196, 0.21576735377311707, -0.1602223962545395, -0.021119646728038788, 0.43089282512664795, -0.048371821641922, 0.23529180884361267, -0.3904513716697693, -0.03827209025621414, -0.14645671844482422, 0.18584008514881134, -0.08490072935819626, -0.05840734392404556, -0.06930483877658844, 0.27764907479286194, 0.058124247938394547, 0.03342687711119652, 0.2927720248699188, -0.14093703031539917, -0.13423217833042145, -0.04437924921512604, 0.45939120650291443, 0.5597987174987793, -0.02480149082839489, -0.34591805934906006, 0.21812231838703156, 0.18829962611198425, 0.00931569654494524, -0.31190845370292664, 0.3100613057613373, 0.2032923847436905, 0.5453177094459534, -0.25341445207595825, 0.008499596267938614, -0.010677537880837917, 0.05566195398569107, -0.13524365425109863, -0.27932217717170715, -0.2470729798078537, 0.3162034749984741, -0.015574634075164795, 0.3129830062389374, 0.4649474024772644, -0.23610317707061768, -0.17069053649902344, 0.472048819065094, -0.15332484245300293, 0.17847326397895813, 0.40525153279304504, 0.01163223385810852, -0.023875460028648376, -0.2091451734304428, -0.11216585338115692, 0.1810085028409958, 0.1822216808795929, 0.10877183079719543, -0.10202982276678085, 0.30648818612098694, -0.34883660078048706, 0.19583766162395477, 0.4015575647354126, 0.0337693877518177, -0.019906342029571533, 0.057426221668720245, 0.25045791268348694, -0.5256479978561401, 0.055476006120443344, -0.10938142985105515, -0.08726774901151657, -0.008100457489490509, -0.04918282479047775, 0.11763244867324829, -0.3550093173980713, 0.15080027282238007, -0.24492789804935455, -0.30694907903671265, -0.09000618755817413, 0.17278708517551422, -0.11496825516223907, 0.10374009609222412, 0.3202158212661743, -0.502315878868103, 0.6670812964439392, -0.10877390950918198, 0.08673784881830215, -0.48328912258148193, -0.28268253803253174, -0.24463379383087158, 0.21918891370296478, 0.14891240000724792, -0.1312519609928131, 0.48817840218544006, -0.33707085251808167, 0.025558367371559143, -0.4147626757621765, -0.42312005162239075, 0.11516699939966202, -0.18840907514095306, -0.5026048421859741, 0.09494923800230026, 0.17892365157604218, -0.23330850899219513, -0.048349760472774506, -0.092496857047081, -0.03172639012336731, 0.034092895686626434, -0.26303455233573914, -0.2514835000038147, 0.05961674079298973, -0.08379435539245605, -0.053755663335323334, -0.0010755714029073715, -0.23681320250034332, -0.05869975686073303, 0.07865269482135773, 0.1854909509420395, -0.1504920870065689, -0.402118444442749, 0.37013280391693115, -0.007287788670510054, 0.07413866370916367, -0.3414163589477539, -0.20117469131946564, 0.10074363648891449, -0.006137339398264885, -0.22244314849376678, 0.11187693476676941, -0.10892102122306824, 0.1839674711227417, -0.2526863217353821, -0.26104047894477844, 0.06896430999040604, -0.016656124964356422, 0.3877909779548645, -0.0346706360578537, -0.40336844325065613, -0.004635550081729889, -0.05591607838869095, -0.038379646837711334, 0.11766669899225235, -0.05277092009782791, 0.11497750878334045, -0.18868687748908997, 0.09016964584589005, 0.3788297474384308, -0.24194759130477905, 0.5495660305023193, 0.1709374487400055, 0.01971382275223732, 0.06446947157382965, 0.03931353613734245, 0.020693760365247726, 0.05083014816045761, -0.11054646223783493, -0.3795720934867859, -0.08708537369966507, 0.06476089358329773, -0.02464643307030201, 0.29671990871429443, 0.093466617166996, -0.14851658046245575, -0.10506588220596313, -0.10844996571540833, -0.5444968342781067, -0.29252347350120544, 0.004115033894777298, -0.2830554246902466, 0.4250800311565399, -0.0769127756357193, -0.10557390749454498, -0.02091498114168644, -0.04764684662222862, 0.38596683740615845, 0.04174422845244408, -0.13701152801513672, -0.25488540530204773, -0.11740128695964813, 0.3642200827598572, -0.445723295211792, 0.11120728403329849, 0.0737408697605133, -0.06313282996416092, -0.4810424745082855, -0.03966214507818222, 0.16352516412734985, 0.1372125893831253, 0.885213315486908, 0.2537018656730652, 0.044926825910806656, 0.37574082612991333, 0.2511777877807617, -0.06031069904565811, 0.11401866376399994, -0.48260530829429626, -0.2143491506576538, 0.6377691626548767, -0.11121775209903717, -0.4083302617073059, -0.14690566062927246, 0.19783459603786469, -0.20063017308712006, 0.04778694733977318, 0.0019607041031122208, 0.08452051877975464, -0.3827597200870514, -0.43474990129470825, 0.14705531299114227, 0.29739299416542053, 0.0857190415263176, -0.2499389946460724, 0.05741683766245842, 0.4589325189590454, 0.08529140055179596, 0.2724302411079407, -0.0034378087148070335, -0.07651765644550323, 0.12686674296855927, 0.09942635893821716, 0.16038884222507477, -0.23313739895820618, -0.08871019631624222, -0.11460322141647339, -0.18711939454078674, -0.1870378851890564, 0.002809591591358185, -0.1343257576227188, 0.24479714035987854, 0.2998911142349243, 0.08962728828191757, 0.42903831601142883, 0.20359165966510773, -0.18367455899715424, -0.06923823058605194, -0.5652998685836792, 0.3836643099784851, 0.08777959644794464, -0.3873959183692932, -0.2141619473695755, 0.037767428904771805, 0.0513959638774395, -0.23206768929958344, 0.06924194097518921, 0.08357040584087372, -0.08022083342075348, 0.17805828154087067, 0.026599790900945663, 1.1855281591415405, -0.2056913822889328, 0.2087588757276535, -0.09132462739944458, -0.04837591201066971, -0.1925615668296814, 0.43345189094543457, -0.24854694306850433, -0.1649014800786972, 0.38374683260917664, -0.13839583098888397, 0.05125154182314873, -0.0005229562520980835, 0.12435219436883926, -0.29051414132118225, -0.13978439569473267, 0.12314465641975403, 0.29042723774909973, 0.24418625235557556, 0.0016707926988601685, -0.4417656660079956, -0.354733407497406, -0.47870442271232605, 0.19745227694511414, 0.17081889510154724, 0.36866462230682373, 0.01137012243270874, -0.1858491599559784, 0.1583707630634308, -0.044454120099544525, -0.427619993686676, -0.07778706401586533, -0.37725457549095154, -0.11698001623153687, 0.3295581042766571, -0.23246443271636963, 0.026095416396856308, 0.16899512708187103, 0.32232940196990967, 0.11835859715938568, 0.07169054448604584, 0.044629037380218506, -0.016077332198619843, -0.2801256775856018, 0.25421467423439026, 0.10770085453987122, -0.01857774890959263, -0.2472296953201294, -0.05781599506735802, 0.3176251947879791, 0.20794172585010529, 0.2611590027809143, -0.3243068754673004, 0.15433666110038757, 0.09774918854236603, -0.15601903200149536, -0.3571375608444214, 0.18713048100471497, -0.30872493982315063, -0.13510970771312714, 0.19719675183296204, 0.12390711903572083, 0.14267751574516296, -0.13205689191818237, -0.19147346913814545, 0.0019777417182922363, -0.12203790247440338, 0.25425177812576294, 0.0750521868467331, -0.1057402491569519, 0.15873432159423828, 0.5139173865318298, -0.2660832405090332, -0.3046765923500061, 0.08270096033811569, -0.3648684620857239, -0.09151171892881393, 0.1428370624780655, 0.10301272571086884, -0.07815644890069962, -0.19090908765792847, 0.16711758077144623, 0.03293886035680771, -0.044589027762413025, -0.0683223158121109, -0.16438110172748566, -0.24173897504806519, 0.24197542667388916, 0.34183743596076965, -0.15484264492988586, 0.22258049249649048, 0.1525111198425293, -0.10912100970745087, -0.2518233358860016, -0.4244527816772461, 0.28910166025161743, -0.256483793258667, 0.005752617493271828, 0.34625527262687683, -0.2369755208492279, 0.2878887951374054, 0.08877235651016235, 0.20647814869880676, 0.2048334926366806, -0.13782741129398346, -0.28990381956100464, 0.07050821185112, 0.06890694051980972, -0.14250651001930237, 0.11824410408735275, -0.09275147318840027, -0.15460677444934845, 0.19378569722175598, 0.07849679887294769, 0.03985641524195671, 0.5771108269691467, 0.22654128074645996, 0.24373488128185272, -0.009309958666563034, 0.1940474808216095, -0.08685898780822754, -0.07314877212047577, -0.10217192769050598, 0.1719944179058075, 0.373797744512558, 0.025231482461094856, -0.18346284329891205, -0.023437079042196274, 0.06198538839817047, 0.30665481090545654, 0.47629648447036743, -0.15723255276679993, 0.2115144431591034, 0.0964706689119339, -0.20488862693309784, 0.2736280560493469, 0.049321673810482025, -0.22425499558448792, -0.2723575532436371, -0.2892036736011505, 0.3067951500415802, 0.202042356133461, 0.01580110564827919, -0.19757992029190063, -0.10481059551239014, -0.3569120466709137, 0.10117131471633911, 0.146182119846344, 0.10614673793315887, -0.19986598193645477, 0.09114498645067215, 0.10199318081140518, 0.5265305042266846, -0.29717981815338135, -0.042463839054107666, 0.11063114553689957, 0.3557950556278229, 0.05086385831236839, -0.0214467141777277, 0.12841852009296417, 0.06462377309799194, 0.043774303048849106, -0.09331571310758591, 0.3924071788787842, 0.21058893203735352, 0.34794458746910095, 0.33643367886543274, -0.25760340690612793, 0.12969478964805603, 0.34295421838760376, -0.39306795597076416, 0.2807617783546448, 0.046654343605041504, 0.2513236403465271, 0.599871039390564, 0.15520265698432922, -0.03178779408335686, -0.05273505672812462, -0.034238770604133606, 0.14641080796718597, -0.23413100838661194, -0.31199589371681213, -0.029696892946958542, -0.20936086773872375, 0.15468263626098633, -0.04814855754375458, 0.23486660420894623, -0.19951574504375458, 0.06138379126787186, 0.08367466181516647, -0.15879428386688232, -0.2762831747531891, 0.04607516527175903, -0.20070795714855194, 0.11042789369821548, -0.08361683785915375, -0.17664934694766998, -0.13514943420886993, 0.2035321444272995, 0.38219037652015686, -0.34107619524002075, 0.14095157384872437, 0.17609551548957825, -0.30848124623298645, -0.05453842133283615, -0.05413714796304703, 0.2938125431537628, 0.25370311737060547, -0.02140423282980919, -0.0901322215795517, 0.14720237255096436, -0.25188130140304565, -0.23481662571430206, 0.4025091826915741, -0.006197340786457062, 0.06673015654087067, 0.025744915008544922, -0.0040940456092357635, -0.4058952331542969, -0.3119924068450928, 0.2741040885448456, -0.32086002826690674, 0.062198419123888016, 0.4207877814769745, -0.07413303107023239, 0.10291984677314758, -0.12562847137451172, 0.12489010393619537, 0.2435382902622223, 0.17661301791667938, 0.2892247438430786, 0.11732413619756699, -0.024159573018550873, -0.34912413358688354, -0.17600226402282715, 0.2253572940826416, -0.19078849256038666, 0.42231300473213196, -0.0012713363394141197, -0.24117356538772583, 0.3093511164188385, 0.30639857053756714, 0.11771567165851593, -0.16424508392810822, -0.12873664498329163, -0.11544300615787506, -0.24187074601650238, -0.001386009156703949, -0.10237281024456024, 0.08691971749067307, -0.1546715646982193, 0.13187101483345032, 0.08514967560768127, -0.26008132100105286, 0.07327376306056976, -0.26768189668655396, -0.19135786592960358, 0.13054540753364563, 0.14484860002994537, -0.10307718813419342, 0.027025792747735977, 0.15085089206695557, -0.19913747906684875, 0.08937251567840576, 0.4433608651161194, 0.08967851102352142, 0.2065831869840622, 0.075259730219841, 0.23373323678970337, -0.5244202613830566, 0.013860803097486496, -0.41835591197013855, 0.24284113943576813, 0.5902568101882935, 0.09908033907413483, 0.040014754980802536, -0.2055976688861847, 0.03901667892932892, 0.31344497203826904, 0.005845284089446068, -0.12958897650241852, 0.14645794034004211, 0.00423499196767807, -0.0693001076579094, -0.0898442342877388, -0.16399185359477997, 0.4449405074119568, -0.2865196764469147, -0.28818953037261963, -0.2994837760925293, 0.3482028543949127, -0.12343377619981766, -0.04182102531194687, -0.14897188544273376, -0.2021884322166443, 0.325935035943985, 0.10707004368305206, -0.06453686952590942, 0.38495615124702454, 0.10068616271018982, -0.0014758296310901642, -0.01593649946153164, -0.0032113119959831238, 0.011568237096071243, -0.06515522301197052, -0.09459416568279266, -0.2679438591003418 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Oh one other thing. Mentioned in the PR was that I would need to regenerate the dataset_infos.json once the camel casing was done. However, I am unsure why this is the case since there is no reference to any object names in the dataset_infos.json file. If it needs to be reran, I can try it do it on my own machine, but I've had a memory issues with a previous dataset due to my compute constraints so I'd prefer to hopefully avoid it all together if not necessary to regenerate.
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
90
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Oh one other thing. Mentioned in the PR was that I would need to regenerate the dataset_infos.json once the camel casing was done. However, I am unsure why this is the case since there is no reference to any object names in the dataset_infos.json file. If it needs to be reran, I can try it do it on my own machine, but I've had a memory issues with a previous dataset due to my compute constraints so I'd prefer to hopefully avoid it all together if not necessary to regenerate.
[ -0.12395717203617096, 0.2547895312309265, -0.10034704208374023, 0.1447959989309311, -0.01766842231154442, 0.17172229290008545, -0.33160704374313354, 0.25032374262809753, -0.04746841639280319, -0.4120900630950928, 0.008404936641454697, 0.16976024210453033, 0.18786603212356567, 0.0807465985417366, 0.5147892236709595, -0.167276069521904, 0.20940685272216797, 0.16269272565841675, 0.47251009941101074, -0.11823786795139313, -0.40122681856155396, 0.354562371969223, -0.10671263188123703, 0.09336340427398682, 0.31223273277282715, -0.18561241030693054, -0.38887858390808105, 0.4333048164844513, -0.3826369643211365, -0.4209837019443512, 0.01156538911163807, 0.38133400678634644, 0.20923937857151031, 0.060836464166641235, -0.00011516211088746786, -0.16593188047409058, 0.2105696201324463, -0.155926913022995, -0.0325685515999794, 0.009825244545936584, -0.17547520995140076, -0.3341931998729706, -0.3052355945110321, -0.07378917932510376, -0.027244362980127335, -0.5308626294136047, -0.03614281117916107, -0.5576112866401672, 0.0805375799536705, 0.2190781980752945, 0.13935956358909607, -0.04503640532493591, 0.3072948455810547, -0.10797956585884094, 0.4549780786037445, 0.021602660417556763, -0.12387645989656448, 0.10547684133052826, 0.5521582365036011, -0.08452676981687546, 0.07201047241687775, 0.43601521849632263, -0.1189185306429863, -0.1899908185005188, 0.28182172775268555, -0.21055616438388824, -0.35242006182670593, -0.2517414689064026, 0.2570684850215912, 0.06177457422018051, 0.45589524507522583, -0.4490559995174408, -0.23368065059185028, -0.20744550228118896, -0.12476127594709396, -0.6426279544830322, 0.13585606217384338, 0.20287036895751953, -0.046864841133356094, 0.20136255025863647, 0.023954464122653008, -0.621505081653595, -0.13287261128425598, -0.01528766006231308, -0.05034894868731499, 0.1930532306432724, 0.03809400275349617, 0.020753446966409683, 0.18606075644493103, 0.35721272230148315, 0.28767651319503784, -0.20419615507125854, -0.4831967055797577, 0.004421126563102007, -0.09776830673217773, -0.02889879234135151, 0.1922295093536377, 0.37392860651016235, 0.23353344202041626, 0.0936102420091629, 0.08975036442279816, 0.1977922022342682, -0.0014044446870684624, -0.10607706755399704, 0.11949294805526733, 0.021778691560029984, 0.27853214740753174, -0.021211892366409302, -0.01895231008529663, 0.02546178549528122, 0.20586875081062317, -0.2073502242565155, -0.1367708444595337, -0.08454857021570206, -0.2895665168762207, 0.20023342967033386, 0.025564920157194138, -0.23009935021400452, -0.0008415877819061279, 0.2647911608219147, -0.33509746193885803, -0.37240365147590637, -0.20452146232128143, 0.21340245008468628, 0.08738884329795837, 0.12247740477323532, 0.124410480260849, 0.04040088504552841, 0.029749499633908272, -0.31897643208503723, 0.004801617469638586, 0.22763307392597198, -0.4236932396888733, 0.2965293228626251, -0.11731073260307312, -0.12612508237361908, 0.01852487213909626, 0.14064715802669525, -0.11660803854465485, 0.08886533975601196, 0.12004268169403076, 0.027772460132837296, 0.45645228028297424, 0.05050234869122505, -0.06169360876083374, 0.07513777911663055, 0.13509495556354523, -0.3784227967262268, -0.3045828342437744, 0.2632823586463928, 0.02283765748143196, -0.16237904131412506, -0.410403847694397, 0.068389393389225, -0.23544242978096008, -0.20260992646217346, 0.05373667553067207, 0.6682928204536438, 0.042725518345832825, 0.09024576842784882, 0.34602537751197815, 0.028720850124955177, -0.03268101066350937, 0.01806585304439068, -0.09346231073141098, 0.3444390892982483, -1.0855711698532104, 0.18542224168777466, 0.1306951642036438, 0.12142534554004669, -0.014350444078445435, 0.07863987982273102, -0.31276971101760864, 0.297989159822464, -0.023520704358816147, -0.10294301807880402, 0.42422714829444885, -0.24586692452430725, -0.07945883274078369, 0.2869719862937927, 0.12719634175300598, 0.057841889560222626, 0.20757803320884705, -0.17933717370033264, 0.4887470304965973, 0.13817015290260315, 0.14715132117271423, -0.09903011471033096, -0.1389840841293335, -0.2661873400211334, -0.27941256761550903, -0.15245750546455383, 0.1787356287240982, 0.091872438788414, 0.2104567289352417, 0.09534979611635208, 0.07986126095056534, 0.07370685040950775, 0.3747083842754364, -0.07023799419403076, 0.11308509111404419, 0.4998317360877991, 0.34535908699035645, 0.11872930824756622, 0.219289630651474, 0.08838535100221634, -0.2589409351348877, -0.15679281949996948, -0.06206357479095459, 0.4490252435207367, 0.27726155519485474, -0.03627576306462288, -0.25102144479751587, -0.08513204753398895, -0.20969919860363007, -0.4430285394191742, 0.030636832118034363, -0.00967283546924591, -0.10558031499385834, -0.0323183611035347, -0.16987116634845734, 0.3190864622592926, -0.007072616368532181, 0.12376349419355392, -0.29982155561447144, 0.08865702152252197, -0.25938552618026733, -0.10981911420822144, -0.04339249059557915, 0.25096258521080017, 0.11228923499584198, -0.18841736018657684, -0.014123300090432167, 0.1048908531665802, -0.2577122449874878, -0.3423720598220825, 0.25522440671920776, 0.5301167368888855, 0.23819459974765778, -0.1519307941198349, 0.3793395161628723, -0.2337852567434311, 0.035233043134212494, -0.0352293998003006, -0.07295551151037216, 0.28816545009613037, 0.5128872394561768, 0.14963123202323914, -0.1640939861536026, -0.4335504174232483, 0.008528182283043861, -0.019223425537347794, -0.11521641910076141, 0.23815122246742249, 0.07337553799152374, 0.09601543843746185, 0.2523285448551178, -0.09691767394542694, -0.12726566195487976, 0.23107874393463135, 0.8283184766769409, -0.1589958518743515, -0.22491782903671265, 0.21828395128250122, -0.13741257786750793, -0.20610496401786804, 0.09477432072162628, -0.10625054687261581, 0.2983641028404236, 0.30547910928726196, 0.07661902904510498, -0.016646916046738625, 0.15340584516525269, -0.13781560957431793, 0.37337827682495117, 0.1761394739151001, -0.10942674428224564, -0.1292721927165985, 0.05177077651023865, -0.019920822232961655, -0.4076259136199951, -0.287965327501297, 0.08578532934188843, 0.1832924485206604, 0.05211157724261284, 0.13165907561779022, 0.007701823487877846, -0.4399919807910919, -0.28433510661125183, 0.17029619216918945, -0.2862420678138733, -0.3104572892189026, 0.0849066972732544, -0.14825834333896637, 0.25254908204078674, 0.21243605017662048, -0.07038377225399017, 0.434042751789093, -0.1756911724805832, 0.0941198319196701, -0.4914620518684387, -0.14879155158996582, -0.3461817800998688, 0.04500783607363701, 0.273748517036438, -0.21239860355854034, 0.36376869678497314, -0.05627104640007019, 0.235320046544075, -0.5272876620292664, -0.5328267812728882, 0.3515896499156952, -0.2612117528915405, 0.10440648347139359, 0.10303925722837448, 0.02267603576183319, 0.14744366705417633, -0.13661974668502808, -0.1206488087773323, 0.0030862372368574142, -0.05002564936876297, -0.502622663974762, -0.4089333713054657, -0.044912248849868774, -0.015313105657696724, -0.2915169298648834, -0.0544063076376915, -0.3215966522693634, 0.23955537378787994, -0.09065417945384979, -0.046707309782505035, 0.07107438892126083, -0.025321919471025467, -0.07588397711515427, -0.0711519867181778, -0.238858163356781, -0.14593154191970825, -0.32076260447502136, 0.1391931027173996, -0.05849335715174675, -0.036482419818639755, 0.08795379102230072, -0.021159980446100235, 0.2984638810157776, -0.3660486936569214, -0.3727666139602661, -0.12118466943502426, 0.007682915776968002, 0.18322496116161346, -0.06946393102407455, 0.2416493445634842, 0.09606470912694931, -0.09248761087656021, -0.12268179655075073, -0.015703260898590088, -0.47916653752326965, -0.12350813299417496, 0.049575358629226685, 0.27376508712768555, 0.04597865045070648, 0.0520886592566967, 0.004427775740623474, 0.264669805765152, 0.08291466534137726, -0.014583047479391098, 0.42742428183555603, 0.17702043056488037, 0.615942656993866, -0.06159777194261551, -0.44981348514556885, 0.006279561668634415, -0.16364309191703796, 0.18225952982902527, 0.2418738156557083, -0.020161055028438568, -0.4057568311691284, 0.1801326721906662, 0.20289346575737, -0.08745904266834259, -0.14870329201221466, 0.4015099108219147, 0.02421005815267563, 0.073845773935318, 0.17574936151504517, -0.018543124198913574, -0.4142107665538788, -0.08508072048425674, 0.3326493203639984, 0.3856143355369568, -0.0765567198395729, 0.204115092754364, -0.2649114429950714, -0.04456501826643944, -0.2773067057132721, 0.47893601655960083, -0.1467178612947464, 0.1153695285320282, -0.18447840213775635, 0.14706915616989136, 0.2005699872970581, -0.0027452497743070126, 0.5838205218315125, -0.38748759031295776, -0.7651896476745605, 0.47097650170326233, 0.40997573733329773, 0.44882795214653015, -0.15813328325748444, -0.11714231967926025, 0.2995408773422241, 0.4608016610145569, 0.10267230868339539, -0.3362572193145752, -0.18888643383979797, 0.17062023282051086, 0.15927372872829437, -0.014659486711025238, -0.0900544598698616, -0.2867075502872467, -0.471567839384079, -0.33618074655532837, 0.26965951919555664, 0.22902877628803253, 0.1856115311384201, -0.26028919219970703, 0.02753010019659996, 0.4655555784702301, 0.10242577642202377, 0.2873150706291199, -0.04739606752991676, -0.08828312158584595, 0.3098129630088806, -0.2204681932926178, -0.042534179985523224, 0.14876757562160492, 0.11141620576381683, 0.3095008432865143, -0.09026768803596497, -0.24407237768173218, 0.358458548784256, -0.14279070496559143, 0.43825143575668335, 0.6169062256813049, 0.12261985242366791, 0.3597447872161865, 0.203958198428154, 0.028417441993951797, 0.009216568432748318, 0.044582560658454895, 0.08844384551048279, -0.06989861279726028, -0.5966342091560364, -0.6920642852783203, 0.08061186969280243, 0.00906437449157238, -0.2654622197151184, 0.21735627949237823, 0.171761155128479, -0.2941362261772156, 0.27767741680145264, -0.022788621485233307, 1.3224087953567505, -0.26581937074661255, 0.12238280475139618, -0.15879634022712708, -0.5076338052749634, 0.37310120463371277, -0.6894755959510803, 0.07334250211715698, -0.4505043923854828, 0.11054731905460358, -0.032079681754112244, 0.005881641060113907, 0.37040942907333374, 0.04877608269453049, -0.10450588166713715, 0.22048106789588928, 0.4722762107849121, -0.045977313071489334, 0.1539425253868103, 0.47887545824050903, -0.254986047744751, -0.279780775308609, -0.15369443595409393, 0.04091677814722061, 0.029129493981599808, 0.1581415832042694, -0.21410036087036133, -0.5552110075950623, -0.029477130621671677, -0.23588231205940247, -0.5678372383117676, -0.25833365321159363, -0.35363295674324036, -0.1490970253944397, 0.12178228795528412, -0.523086667060852, 0.5952510833740234, -0.1617038995027542, 0.5975253582000732, -0.000613480806350708, -0.10518857836723328, 0.15680691599845886, 0.3139039874076843, -0.16889353096485138, 0.20770731568336487, -0.2631765604019165, 0.09916575253009796, 0.11225757747888565, -0.12298360466957092, 0.19093316793441772, -0.1204240620136261, -0.20748302340507507, -0.5821201801300049, 0.1575120985507965, 0.3018273115158081, -0.32960695028305054, 0.18627071380615234, 0.3712896406650543, 0.25340536236763, -0.2945072054862976, 0.08063071966171265, 0.18818023800849915, 0.03718552738428116, -0.07265137881040573, -0.15095391869544983, -0.18513116240501404, -0.20428016781806946, -0.038408227264881134, 0.05589708685874939, -0.3010674715042114, 0.1460667848587036, 0.33562788367271423, -0.20538826286792755, -0.16721531748771667, 0.1573539674282074, 0.6171083450317383, -0.5096598863601685, -0.23187871277332306, 0.21502801775932312, -0.2273455262184143, -0.12683643400669098, 0.22795531153678894, 0.13975760340690613, -0.03348691016435623, 0.09099368751049042, -0.006232239305973053, 0.015137268230319023, 0.35083019733428955, -0.17429326474666595, 0.14519931375980377, -0.022819887846708298, 0.33070388436317444, -0.07866618037223816, 0.0035826899111270905, -0.2972078025341034, 0.08185868710279465, 0.028815029188990593, -0.020178452134132385, 0.11998812109231949, -0.2509464621543884, -0.24064086377620697, -0.068763867020607, -0.032103486359119415, 0.03301304951310158, -0.21900947391986847, -0.07897621393203735, -0.03799457103013992, 0.20942550897598267, 0.017391901463270187, 0.006084839813411236, 0.021648120135068893, -0.042961593717336655, 0.1340288668870926, 0.03562627732753754, 0.0819808691740036, -0.3066119849681854, 0.10791013389825821, 0.05509291961789131, -0.20912949740886688, 0.14844077825546265, 0.07831373065710068, 0.055499136447906494, 0.10209235548973083, 0.6107855439186096, 0.065728098154068, 0.13667136430740356, -0.0719442144036293, 0.12452441453933716, 0.255171000957489, 0.39656728506088257, 0.2940923571586609, 0.4521389901638031, 0.1658385694026947, -0.024656593799591064, 0.003891691565513611, 0.4232444167137146, 0.14863094687461853, 0.2166231870651245, -0.141380175948143, -0.04241682216525078, 0.15641233325004578, 0.08173027634620667, -0.14475426077842712, -0.21800734102725983, 0.16527628898620605, -0.4125080406665802, -0.050522759556770325, 0.25919651985168457, 0.4910818636417389, 0.24079099297523499, 0.46818065643310547, -0.10676280409097672, 0.7044984698295593, 0.1353345811367035, -0.05877242609858513, -0.2375548779964447, -0.03728708252310753, 0.04983152821660042, 0.4544498920440674, 0.4770081043243408, 0.034543491899967194, 0.12733608484268188, 0.2035234272480011, -0.04538639634847641, 0.35073959827423096, 0.35077938437461853, -0.1319408118724823, -0.3829527795314789, 0.18672290444374084, -0.14174506068229675, 0.37023746967315674, 0.2738614082336426, 0.0444425605237484, 0.23007109761238098, 0.09367627650499344, -0.049032725393772125, 0.0077391136437654495, 0.07832256704568863, -0.046874985098838806, -0.00991864874958992, 0.042756885290145874, -0.1292637586593628, -0.03972192853689194, -0.06782788038253784, -0.031436096876859665, -0.0829269140958786, 0.035735003650188446, -0.27936720848083496, -0.029238395392894745, 0.12596869468688965, -0.13687920570373535, -0.16930177807807922, -0.03270792216062546, -0.2056593894958496, 0.39067140221595764, 0.051939211785793304, -0.038605399429798126, 0.09524614363908768, 0.18518948554992676, 0.3151065707206726, -0.04885034263134003, -0.11427071690559387, -0.09006183594465256, -0.07214640080928802, -0.06341677159070969, 0.05977081507444382, 0.13441047072410583, 0.33295154571533203, 0.024969961494207382, -0.021094199270009995, 0.03743946552276611, -0.011309608817100525, -0.10963773727416992, 0.05030178651213646, -0.20377784967422485, 0.13661223649978638, 0.09296418726444244, 0.052369579672813416, -0.2637676000595093, -0.19938525557518005, 0.015859387814998627, -0.18811428546905518, 0.136648491024971, 0.35132235288619995, -0.12427250295877457, -0.0515640489757061, -0.15142783522605896, 0.05648388713598251, 0.23796303570270538, 0.16499793529510498, 0.33965039253234863, 0.16961811482906342, -0.4355892837047577, -0.13995416462421417, -0.31076163053512573, 0.062018536031246185, -0.04047296568751335, -0.024435102939605713, -0.052791472524404526, 0.1780097633600235, 0.5738558173179626, 0.03339988738298416, -0.14505960047245026, -0.013336841017007828, -0.015431753359735012, 0.0861349031329155, -0.3198319375514984, 0.09814964234828949, 0.5073742866516113, 0.34938544034957886, -0.03083295002579689, 0.07431303709745407, 0.20882661640644073, 0.18686512112617493, -0.023580236360430717, -0.5839294791221619, -0.06226401403546333, 0.35065388679504395, -0.28114622831344604, 0.15696457028388977, 0.02545296587049961, 0.09231792390346527, -0.0329592227935791, -0.3229772448539734, 0.006879329681396484, -0.14181111752986908, -0.08575083315372467, 0.41271236538887024, -0.070500448346138, 0.255447655916214, 0.036441266536712646, -0.5778853297233582, -0.24438802897930145, 0.20626001060009003, -0.03270503133535385, 0.2424745261669159, -0.43887659907341003, 0.31811845302581787, -0.15918096899986267, 0.18104146420955658, 0.04377371817827225, 0.29269760847091675, 0.13804873824119568, 0.1489207148551941, -0.4592333436012268, -0.2479516714811325, 0.4878532886505127, -0.2372196465730667, -0.3245003819465637, 0.2945799231529236, 0.07178044319152832, 0.3172186315059662, 0.10616093128919601, -0.4570782482624054, -0.1596205234527588, 0.2742597758769989, -0.004725154489278793, -0.27434590458869934, 0.2651842534542084, 0.027988169342279434, 0.10940784215927124, -0.10951390862464905, -0.02392762154340744, -0.009245775640010834, -0.40128186345100403, -0.23634275794029236, -0.19029170274734497 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Was just reviewing the `builder_name`s of each dataset and it seems like it is already following this format: `CodeXGlueCcCloneDetectionBigCloneBenchMain -> code_x_glue_cc_clone_detection_big_clone_bench_main` Is there a location I am missing?
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
28
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Was just reviewing the `builder_name`s of each dataset and it seems like it is already following this format: `CodeXGlueCcCloneDetectionBigCloneBenchMain -> code_x_glue_cc_clone_detection_big_clone_bench_main` Is there a location I am missing?
[ -0.15376341342926025, 0.2833794951438904, -0.15045718848705292, 0.25775808095932007, -0.05034644156694412, 0.07906999439001083, -0.2805286943912506, 0.2004905492067337, -0.0010721925646066666, -0.20705492794513702, -0.06860554963350296, -0.031531281769275665, 0.052024178206920624, 0.11478511244058609, 0.4593859612941742, -0.07595379650592804, 0.197407066822052, 0.20765869319438934, 0.5353782176971436, -0.2511271834373474, -0.3707244396209717, 0.3891500234603882, -0.02479255571961403, 0.21757683157920837, 0.22872619330883026, -0.10637562721967697, -0.2807897925376892, 0.2347370982170105, -0.34125620126724243, -0.5286766886711121, -0.17074161767959595, 0.4348492920398712, 0.093935027718544, 0.3075752258300781, -0.00012085019989171997, -0.09845801442861557, 0.11169430613517761, -0.19209004938602448, 0.06337596476078033, 0.08935217559337616, -0.1941494643688202, -0.3277800381183624, -0.2603647708892822, -0.05317958816885948, -0.17838114500045776, -0.5210296511650085, 0.06077961623668671, -0.7374895811080933, -0.04981192946434021, 0.35539373755455017, 0.08503497391939163, -0.05772196874022484, 0.19889847934246063, -0.0787368044257164, 0.39044296741485596, -0.05807715654373169, -0.10680734366178513, 0.1186058521270752, 0.787911057472229, 0.08825244009494781, -0.08581974357366562, 0.42593875527381897, -0.027204914018511772, -0.13816826045513153, 0.3903305232524872, -0.15338385105133057, -0.1527092158794403, -0.3449585437774658, 0.23994863033294678, 0.057348139584064484, 0.3680647015571594, -0.40673911571502686, -0.0829726904630661, -0.2876281142234802, -0.2270941287279129, -0.5635315179824829, 0.05440463125705719, 0.07786112278699875, -0.13029570877552032, 0.22243249416351318, -0.11201044172048569, -0.6484189033508301, 0.014580436050891876, -0.01855350285768509, -0.01470533013343811, 0.07464728504419327, 0.00586014986038208, 0.03746659308671951, 0.1133669912815094, 0.3973335027694702, 0.31647980213165283, -0.19452035427093506, -0.2515586018562317, -0.06971360743045807, -0.04033467546105385, 0.07567121088504791, 0.16730362176895142, 0.2800457775592804, 0.030427545309066772, 0.1824437379837036, -0.1410912275314331, 0.09806035459041595, -0.017991170287132263, -0.12471363693475723, 0.09528447687625885, -0.09219156205654144, 0.37043124437332153, -0.05076352879405022, 0.021456707268953323, -0.10928506404161453, 0.08757272362709045, -0.21896544098854065, -0.24129128456115723, -0.13394205272197723, -0.1913767009973526, 0.10158391296863556, -0.0004102550446987152, -0.09676763415336609, -0.14571595191955566, 0.23777420818805695, -0.32018783688545227, -0.35649940371513367, -0.031799428164958954, 0.24495095014572144, 0.15066583454608917, -0.14804112911224365, 0.08609989285469055, 0.07495487481355667, -0.07708299905061722, -0.32148098945617676, -0.11836078017950058, 0.12012176215648651, -0.4340236783027649, 0.13179275393486023, -0.12298564612865448, -0.3006516396999359, 0.018816817551851273, 0.14574691653251648, 0.036125969141721725, -0.026494119316339493, -0.0034800032153725624, 0.022383250296115875, 0.5019375681877136, 0.08277034759521484, -0.13406908512115479, -0.007519937120378017, 0.14772862195968628, -0.588886559009552, -0.29526233673095703, 0.21557152271270752, -0.10965689271688461, -0.11094753444194794, -0.3881646394729614, 0.03237593546509743, -0.13323041796684265, -0.06802000105381012, 0.09068822860717773, 0.6437343955039978, 0.11274222284555435, 0.04473428800702095, 0.4171626567840576, -0.013243239372968674, 0.010037515312433243, 0.0602945052087307, 0.024301229044795036, 0.4091160297393799, -0.8709800243377686, 0.09179168939590454, 0.15013077855110168, 0.1047181636095047, 0.09233324229717255, 0.04828385263681412, -0.20919419825077057, 0.27414074540138245, -0.22676724195480347, 0.06594112515449524, 0.4695102274417877, -0.28334861993789673, 0.031662069261074066, 0.2270384430885315, 0.06869004666805267, -0.09464142471551895, 0.3527306318283081, -0.19760355353355408, 0.39963817596435547, 0.06936267763376236, 0.009784124791622162, -0.2888011336326599, -0.16328394412994385, -0.2211742252111435, -0.12879471480846405, -0.11329519748687744, 0.13777360320091248, 0.05078132078051567, 0.34522807598114014, 0.009156346321105957, 0.18355603516101837, 0.07829629629850388, 0.33166423439979553, -0.004108823835849762, 0.019633127376437187, 0.3455686569213867, 0.2834499180316925, 0.12574374675750732, 0.2330232709646225, 0.01602846011519432, -0.042504459619522095, -0.09565382450819016, -0.17190690338611603, 0.32992303371429443, 0.3306925892829895, -0.012750143185257912, -0.22059696912765503, -0.04396410658955574, -0.38131314516067505, -0.31098294258117676, 0.01646624132990837, 0.09962265193462372, -0.19943782687187195, -0.007252929732203484, -0.16342994570732117, 0.2351457178592682, -0.23217974603176117, 0.07282105088233948, -0.27386873960494995, 0.20397202670574188, -0.1501801609992981, -0.13997472822666168, -0.17546628415584564, 0.2720603942871094, 0.21032214164733887, -0.17723514139652252, -0.027701485902071, 0.19663318991661072, -0.01799195632338524, -0.25755131244659424, 0.2572426199913025, 0.522729218006134, 0.1587713658809662, -0.3227052688598633, 0.5105229616165161, -0.0062049273401498795, -0.06961767375469208, -0.0710330680012703, 0.016345258802175522, 0.2312663495540619, 0.39551982283592224, 0.23937132954597473, 0.02357523888349533, -0.40880540013313293, -0.019121984019875526, 0.08820687234401703, -0.09601254016160965, 0.1352185308933258, 0.13432617485523224, 0.14603449404239655, 0.5883434414863586, 0.013095252215862274, -0.23771415650844574, 0.20089882612228394, 0.9776354432106018, -0.05495591461658478, -0.1650482714176178, 0.14031954109668732, -0.12489057332277298, -0.25852832198143005, 0.059003837406635284, -0.1733926385641098, 0.1175321564078331, 0.18735478818416595, 0.2354726493358612, 0.03522840514779091, 0.16394270956516266, -0.21309226751327515, 0.32404378056526184, 0.20960435271263123, -0.1613718718290329, -0.10224676877260208, -0.05914562940597534, -0.06682190299034119, -0.45038825273513794, -0.15676520764827728, -0.033271078020334244, -0.008891208097338676, -0.09306925535202026, 0.22158046066761017, -0.012918064370751381, -0.3184422552585602, -0.4640332758426666, 0.20011140406131744, -0.4160340130329132, -0.32399076223373413, 0.16685625910758972, -0.38784849643707275, 0.27868854999542236, 0.21652938425540924, -0.009096413850784302, 0.43474990129470825, -0.33782845735549927, 0.14629805088043213, -0.27124035358428955, -0.03302859887480736, -0.41110411286354065, -0.03645067289471626, 0.21431414783000946, -0.05028777942061424, 0.3917524814605713, -0.22990478575229645, 0.22129540145397186, -0.4863242506980896, -0.610943078994751, 0.4462929964065552, -0.15644429624080658, 0.11280254274606705, 0.23526714742183685, -0.17805136740207672, 0.1283848136663437, -0.16446997225284576, -0.20347683131694794, -0.0039220210164785385, -0.04970202594995499, -0.35368990898132324, -0.42015984654426575, -0.013570214621722698, 0.12548500299453735, -0.33639535307884216, -0.22523127496242523, -0.24252626299858093, 0.19752956926822662, -0.008210156112909317, 0.007749740034341812, 0.25004860758781433, -0.12424442172050476, 0.03468003869056702, -0.09108510613441467, 0.02153932675719261, -0.13335831463336945, -0.2714398205280304, -0.10621218383312225, -0.08043326437473297, 0.10534504055976868, 0.021571729332208633, 0.09767074137926102, 0.2724842131137848, -0.2704572081565857, -0.24616196751594543, 0.028767645359039307, -0.03856581449508667, 0.23293247818946838, 0.1617898792028427, 0.2482985407114029, 0.11696960031986237, -0.06616384536027908, -0.059227198362350464, -0.050308145582675934, -0.25606000423431396, 0.018819838762283325, -0.06731212884187698, 0.22584351897239685, 0.037126995623111725, -0.10102847963571548, -0.02037741057574749, 0.4494215250015259, 0.21286769211292267, 0.029925212264060974, 0.341620534658432, 0.20780672132968903, 0.6537469625473022, -0.1440943479537964, -0.4340839385986328, 0.18168099224567413, -0.02744784951210022, 0.048743218183517456, 0.26034462451934814, -0.02284490317106247, -0.24222703278064728, 0.2926981747150421, 0.21767573058605194, -0.10138757526874542, -0.04930918663740158, 0.3429979085922241, -0.0651312991976738, 0.11646528542041779, -0.050468914210796356, 0.10028506070375443, -0.3133710026741028, -0.04874704033136368, 0.1301036924123764, 0.4194795489311218, 0.006971493363380432, 0.150589719414711, -0.26329556107521057, -0.09743550419807434, -0.25592443346977234, 0.38214558362960815, -0.15318217873573303, 0.04491381719708443, -0.23027454316616058, 0.1736856997013092, 0.23178234696388245, 0.017524801194667816, 0.3976896405220032, -0.34947317838668823, -0.5702876448631287, 0.38902658224105835, 0.3482236862182617, 0.5398641228675842, -0.19216784834861755, -0.13022907078266144, 0.32881247997283936, 0.5916670560836792, 0.03474641963839531, -0.2668769657611847, -0.3044852316379547, 0.22596855461597443, 0.1756608486175537, -0.028201747685670853, -0.035563282668590546, -0.26550692319869995, -0.379093199968338, -0.29417774081230164, 0.22842606902122498, 0.39390280842781067, 0.15494930744171143, -0.22966013848781586, 0.07134386897087097, 0.4372100830078125, 0.09760072082281113, 0.27252650260925293, -0.11747696995735168, 0.06050701439380646, 0.2841933071613312, -0.2280559241771698, 0.0352976955473423, 0.1531820148229599, -0.020660022273659706, 0.35882630944252014, -0.37241920828819275, -0.3823891580104828, 0.44747835397720337, -0.37025946378707886, 0.49782273173332214, 0.7450742721557617, 0.03255045786499977, 0.2312105894088745, 0.2895485758781433, -0.01776012033224106, -0.04834434390068054, 0.16220572590827942, 0.19232363998889923, -0.021905064582824707, -0.517123818397522, -0.7793095111846924, 0.14128632843494415, 0.08679361641407013, -0.2582339644432068, 0.28787294030189514, 0.28689467906951904, -0.35522595047950745, 0.16664114594459534, -0.04235970228910446, 1.249603271484375, -0.14141444861888885, 0.047721024602651596, -0.1496025025844574, -0.45453107357025146, 0.09168009459972382, -0.637839138507843, -0.019263729453086853, -0.3647248446941376, -0.11296014487743378, -0.12244387716054916, -0.08617249131202698, 0.3162749409675598, 0.15527620911598206, -0.05749449133872986, 0.3057594299316406, 0.30341005325317383, 0.08344767987728119, 0.14524708688259125, 0.4969397187232971, -0.0229256059974432, -0.07364006340503693, 0.06788767874240875, -0.021607406437397003, -0.00966169685125351, 0.1645018607378006, -0.15852707624435425, -0.41264450550079346, 0.03489376977086067, -0.12484900653362274, -0.7302296161651611, -0.40281400084495544, -0.3427048325538635, -0.12564872205257416, 0.1769661009311676, -0.5609230399131775, 0.5753758549690247, -0.17639677226543427, 0.789806067943573, 0.07610057294368744, -0.10371324419975281, 0.21917285025119781, 0.5536057353019714, -0.17673201858997345, 0.23736247420310974, -0.24253755807876587, -0.016038479283452034, 0.08230989426374435, 0.03778255730867386, 0.12607038021087646, -0.11285512149333954, -0.29871606826782227, -0.6670151352882385, 0.12490426748991013, 0.1447335034608841, -0.22207506000995636, 0.16703401505947113, 0.3884448707103729, 0.20048612356185913, -0.2673560082912445, 0.03400620445609093, 0.13241223990917206, -0.018799589946866035, -0.17144465446472168, -0.2115647941827774, -0.26959729194641113, -0.18865741789340973, -0.21410104632377625, 0.17894232273101807, -0.390102744102478, 0.12587745487689972, 0.33268076181411743, -0.26045235991477966, -0.12344027310609818, 0.08500891178846359, 0.7838895320892334, -0.47835057973861694, -0.15006358921527863, -0.024008378386497498, -0.2693282961845398, 0.006278044544160366, 0.3259376883506775, 0.07624490559101105, -0.05065188556909561, -0.06095969304442406, 0.07801689207553864, 0.08664514124393463, 0.1938912570476532, -0.12353299558162689, 0.16495893895626068, 0.021987468004226685, 0.2823047935962677, 0.013541555032134056, 0.006761940196156502, -0.2365892231464386, 0.07613640278577805, -0.08431048691272736, -0.08987642079591751, -0.014879465103149414, -0.16004908084869385, -0.28566962480545044, -0.07838892936706543, -0.10129835456609726, -0.14097528159618378, -0.2874946594238281, -0.010764680802822113, 0.028143879026174545, 0.23353807628154755, -0.08978382498025894, 0.05234524607658386, 0.15920132398605347, 0.03753799945116043, 0.0648854523897171, 0.013638400472700596, 0.009591236710548401, -0.28894302248954773, 0.154778391122818, 0.07268328964710236, -0.07297214865684509, -0.0051965415477752686, 0.18204541504383087, -0.04451315850019455, 0.11884686350822449, 0.6960068345069885, 0.12873117625713348, 0.19044972956180573, -0.08349977433681488, 0.05382469296455383, 0.26881423592567444, 0.49498671293258667, 0.10141342878341675, 0.5186706185340881, 0.09138021618127823, -0.06999315321445465, 0.10989704728126526, 0.3932691514492035, 0.06808315962553024, 0.3104057013988495, -0.20220959186553955, -0.10011482983827591, -0.02375151962041855, 0.06828828901052475, -0.12271633744239807, -0.2606063485145569, 0.17544785141944885, -0.31440481543540955, 0.04381401464343071, 0.44135114550590515, 0.685156524181366, 0.31211307644844055, 0.48036932945251465, 0.0039602406322956085, 0.6216663718223572, -0.027318794280290604, 0.03440307080745697, -0.05200590565800667, 0.18097040057182312, 0.17602510750293732, 0.5810273885726929, 0.3932444453239441, -0.13273540139198303, 0.19678995013237, 0.025658946484327316, 0.12039299309253693, 0.3877505660057068, 0.17991645634174347, 0.0675886943936348, -0.2451484650373459, 0.25370827317237854, -0.03720320761203766, 0.1746269166469574, 0.2506963610649109, -0.04324498772621155, 0.17702865600585938, -0.08341710269451141, -0.048250626772642136, 0.11156237870454788, 0.08434903621673584, -0.12300107628107071, 0.019540030509233475, 0.061491623520851135, -0.16869497299194336, -0.18199566006660461, -0.06939302384853363, -0.07331809401512146, -0.0815868079662323, -0.06288909912109375, -0.3233490586280823, -0.0354062020778656, 0.041380926966667175, -0.08616361767053604, -0.4622803032398224, 0.025485843420028687, -0.2585930824279785, 0.5209519267082214, -0.030582919716835022, 0.011300981044769287, 0.173526331782341, 0.29196301102638245, 0.3493596911430359, 0.006829509511590004, -0.10142529010772705, -0.20652897655963898, -0.002756638452410698, -0.15498089790344238, -0.023183664306998253, 0.051987066864967346, 0.2052769660949707, 0.16659411787986755, 0.014697715640068054, 0.004707757383584976, 0.05116034299135208, -0.13983812928199768, 0.1919175535440445, -0.31723442673683167, 0.008284476585686207, 0.2552414834499359, 0.04117655009031296, -0.2270626723766327, -0.23148012161254883, -0.10803265124559402, -0.26427313685417175, 0.19979090988636017, 0.5198407769203186, -0.11524603515863419, -0.023195309564471245, -0.06824837625026703, 0.028627943247556686, 0.3178778886795044, 0.09421494603157043, 0.2925112545490265, 0.3731483221054077, -0.523002028465271, -0.2420337051153183, -0.29698577523231506, 0.13928620517253876, -0.005285385996103287, -0.04315109923481941, 0.04207010567188263, 0.1587906777858734, 0.4827626943588257, -0.01058778166770935, 0.022002391517162323, 0.13896238803863525, -0.008089732378721237, 0.03746715933084488, -0.32430994510650635, 0.04174989461898804, 0.47787415981292725, 0.3675149083137512, -0.0718415156006813, 0.2170821726322174, 0.28538110852241516, 0.20031103491783142, -0.06951521337032318, -0.4582272171974182, -0.03607847914099693, 0.4513188600540161, -0.2555106580257416, 0.03677700087428093, -0.18964870274066925, 0.11195068061351776, -0.14686155319213867, -0.24931290745735168, 0.07381857186555862, -0.02941814251244068, -0.3285696804523468, 0.368410587310791, -0.16447146236896515, 0.1988242119550705, -0.05366773158311844, -0.5171301960945129, -0.3187113404273987, 0.1385737806558609, 0.1526934951543808, 0.3388957679271698, -0.43711352348327637, 0.21411733329296112, -0.1525321900844574, 0.09045633673667908, 0.18987658619880676, 0.27532896399497986, 0.16455262899398804, 0.04822192341089249, -0.31727468967437744, -0.22012436389923096, 0.3371100127696991, -0.08150225877761841, -0.2827114164829254, 0.004181207157671452, 0.05577828362584114, 0.39046165347099304, 0.21765239536762238, -0.4836691915988922, -0.2592256963253021, 0.4123592674732208, 0.0033874716609716415, -0.16739030182361603, 0.22590233385562897, 0.038423217833042145, 0.0909460037946701, -0.0630868673324585, -0.03626491129398346, 0.1932099461555481, -0.40873560309410095, -0.251117080450058, -0.2830781936645508 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
> Was just reviewing the `builder_name`s of each dataset and it seems like it is already following this format: > > `CodeXGlueCcCloneDetectionBigCloneBenchMain -> code_x_glue_cc_clone_detection_big_clone_bench_main` Is there a location I am missing? If it's already in this format then it's fine thanks ! It's all good then To fix the CI you just need to add the `encoding=` parameters to the `open()` calls
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
62
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. > Was just reviewing the `builder_name`s of each dataset and it seems like it is already following this format: > > `CodeXGlueCcCloneDetectionBigCloneBenchMain -> code_x_glue_cc_clone_detection_big_clone_bench_main` Is there a location I am missing? If it's already in this format then it's fine thanks ! It's all good then To fix the CI you just need to add the `encoding=` parameters to the `open()` calls
[ -0.19169367849826813, 0.30404844880104065, -0.101015105843544, 0.22974100708961487, -0.015510287135839462, 0.027104705572128296, -0.30751362442970276, 0.2566830813884735, -0.16101665794849396, -0.1585952192544937, -0.10258971899747849, -0.08384954929351807, 0.08646678179502487, 0.21336810290813446, 0.305339515209198, -0.1481691151857376, 0.1493743509054184, 0.20688380300998688, 0.5904133319854736, -0.25293001532554626, -0.3373492658138275, 0.4380508065223694, -0.010248236358165741, 0.24207065999507904, 0.28752994537353516, -0.2142699658870697, -0.3194303810596466, 0.3048778474330902, -0.4240303635597229, -0.4628239572048187, -0.18044832348823547, 0.4756675958633423, 0.17043538391590118, 0.3817647099494934, -0.00011907900625374168, -0.108208566904068, 0.14259961247444153, -0.180900439620018, 0.024110406637191772, 0.058373309671878815, -0.10554476827383041, -0.3027726411819458, -0.28507208824157715, -0.09923253208398819, -0.21632307767868042, -0.5014861822128296, -0.027857555076479912, -0.7277848124504089, 0.020087994635105133, 0.3491237163543701, 0.1238236129283905, 0.036526307463645935, 0.18284520506858826, -0.10005973279476166, 0.4224240183830261, 0.005128629505634308, -0.19724611937999725, 0.13345441222190857, 0.7606203556060791, 0.10749975591897964, -0.03124118596315384, 0.39691483974456787, -0.12794283032417297, -0.18793119490146637, 0.238080233335495, -0.14870642125606537, -0.16655248403549194, -0.41464513540267944, 0.26959896087646484, 0.04611928015947342, 0.3390190005302429, -0.34227022528648376, -0.12153831869363785, -0.12198088318109512, -0.14616255462169647, -0.627501368522644, 0.11033397912979126, 0.14901630580425262, -0.17054089903831482, 0.1941869854927063, -0.14857472479343414, -0.5584179162979126, 0.003786906599998474, -0.05740709602832794, 0.047638602554798126, 0.008594617247581482, -0.04334891587495804, 0.038119126111269, 0.14287260174751282, 0.34468507766723633, 0.2567894458770752, -0.19817224144935608, -0.37362340092658997, -0.0999179407954216, 0.02490919828414917, -0.009952466934919357, 0.15361759066581726, 0.40661507844924927, 0.03433170169591904, 0.24165096879005432, -0.14812342822551727, 0.16750285029411316, -0.027030665427446365, -0.1606997549533844, 0.013787200674414635, 0.03269476816058159, 0.31733182072639465, 0.024779312312602997, 0.004123479127883911, -0.0298424381762743, 0.04598456248641014, -0.14029407501220703, -0.24552108347415924, -0.19439846277236938, -0.2465716004371643, 0.16900593042373657, 0.03618672117590904, -0.13596655428409576, -0.1195705235004425, 0.312654048204422, -0.24282175302505493, -0.22911319136619568, -0.0658954381942749, 0.2418290376663208, 0.07554739713668823, -0.11677367240190506, 0.16836558282375336, 0.09113557636737823, -0.11329519003629684, -0.2720996141433716, -0.07070925831794739, 0.11814413964748383, -0.41919639706611633, 0.13903361558914185, -0.17585965991020203, -0.3135089576244354, -0.04621744155883789, 0.15434077382087708, 0.18343022465705872, -0.053603921085596085, 0.021521667018532753, 0.04082702472805977, 0.5323867201805115, 0.06023981422185898, -0.049501433968544006, 0.02976231463253498, 0.1990015059709549, -0.7683231830596924, -0.2614942193031311, 0.1796606481075287, -0.21139171719551086, -0.039495132863521576, -0.5741575360298157, 0.06437531113624573, -0.1678544580936432, -0.01510700210928917, 0.10812430083751678, 0.532245934009552, 0.08805155754089355, -0.009119365364313126, 0.3065413534641266, -0.05005749315023422, 0.03537784144282341, 0.048224352300167084, 0.05068282037973404, 0.4096054434776306, -0.7651000022888184, 0.18163460493087769, 0.1405334323644638, 0.1265174150466919, 0.10271710902452469, 0.08454900979995728, -0.19998973608016968, 0.2141033411026001, -0.2653751075267792, -0.04760722070932388, 0.5079846978187561, -0.3661343455314636, 0.002185272052884102, 0.345151424407959, 0.07173441350460052, -0.04738759621977806, 0.24917450547218323, -0.2804957628250122, 0.5086971521377563, 0.040148165076971054, -0.004451744258403778, -0.24276407063007355, -0.19441905617713928, -0.20793823897838593, -0.23518653213977814, -0.1246124729514122, -0.011022664606571198, 0.020381156355142593, 0.27749505639076233, 0.0699319913983345, 0.2755042612552643, -0.021899346262216568, 0.3462218940258026, -0.08007825911045074, 0.005282135680317879, 0.37269777059555054, 0.30831095576286316, 0.02390124276280403, 0.2148805558681488, 0.14252832531929016, -0.055934108793735504, -0.11105729639530182, -0.22018687427043915, 0.42330652475357056, 0.31779956817626953, -0.0912679135799408, -0.20619654655456543, 0.012102505192160606, -0.3870126008987427, -0.2841639518737793, 0.048288531601428986, 0.13002198934555054, -0.22707459330558777, -0.013167459517717361, -0.09528730064630508, 0.14284005761146545, -0.19793681800365448, 0.01127274427562952, -0.19570663571357727, 0.12893514335155487, -0.21797826886177063, -0.09668085724115372, -0.20672057569026947, 0.25845715403556824, 0.18103370070457458, -0.1688196063041687, -0.15547719597816467, 0.22052940726280212, -0.11473699659109116, -0.21876369416713715, 0.2052326202392578, 0.4904918074607849, 0.17243623733520508, -0.34798601269721985, 0.42211344838142395, -0.011934317648410797, -0.07054407894611359, -0.07523071765899658, -0.09962191432714462, 0.3459703326225281, 0.2938576936721802, 0.1884428858757019, 0.05051977187395096, -0.3386581838130951, 0.06254950910806656, -0.0020816102623939514, -0.23016206920146942, 0.04053046554327011, 0.13686278462409973, 0.1630205512046814, 0.43687179684638977, -0.004891583696007729, -0.18535655736923218, 0.16586562991142273, 0.8909714818000793, -0.05507170408964157, -0.21470767259597778, 0.1347881704568863, -0.011719614267349243, -0.16801339387893677, 0.03847411274909973, -0.11563907563686371, 0.162959486246109, 0.15312527120113373, 0.16403287649154663, 0.10552000999450684, 0.2075362652540207, -0.19651904702186584, 0.35086941719055176, 0.13338345289230347, -0.13978132605552673, -0.02597326785326004, 0.009699728339910507, 0.03211524337530136, -0.4091245234012604, -0.1826688051223755, -0.022230016067624092, 0.0030208565294742584, -0.07225354760885239, 0.22236350178718567, -0.03260015323758125, -0.3140144348144531, -0.3993212580680847, 0.225005641579628, -0.3346840739250183, -0.24249044060707092, 0.12568247318267822, -0.30089688301086426, 0.20155569911003113, 0.2513566315174103, -0.059339605271816254, 0.43955907225608826, -0.2925467789173126, 0.08460115641355515, -0.17442670464515686, -0.03360056132078171, -0.4383612275123596, -0.01269848458468914, 0.2604338228702545, -0.13247635960578918, 0.3565957248210907, -0.28562578558921814, 0.26966267824172974, -0.5533340573310852, -0.6480157971382141, 0.47676488757133484, -0.134205162525177, 0.1851739138364792, 0.1530912220478058, -0.19761542975902557, 0.024019993841648102, -0.20289747416973114, -0.10972832143306732, 0.04614827781915665, -0.023251794278621674, -0.307203471660614, -0.4680086672306061, -0.18512392044067383, 0.028460677713155746, -0.25740358233451843, -0.20608001947402954, -0.26540127396583557, 0.10972849279642105, 0.022303108125925064, -0.0037066489458084106, 0.37027707695961, -0.09961149096488953, -0.05416326969861984, 0.0030559024307876825, -0.02724873088300228, -0.18772268295288086, -0.392875999212265, -0.006495807319879532, -0.17160244286060333, -0.08800868690013885, 0.0504528246819973, 0.029873229563236237, 0.30649158358573914, -0.2614237070083618, -0.24981452524662018, -0.006148372311145067, 0.00367126427590847, 0.1933290809392929, 0.2135830670595169, 0.2031332403421402, 0.13602466881275177, -0.018617287278175354, -0.09192013740539551, -0.058677058666944504, -0.2993082106113434, 0.016426406800746918, -0.02473984658718109, 0.29236361384391785, -0.02080487087368965, 0.04540877044200897, -0.08273261785507202, 0.34711331129074097, 0.30488401651382446, 0.04436420649290085, 0.3637213706970215, 0.1640302687883377, 0.7604708075523376, -0.10904651135206223, -0.49195194244384766, 0.185995951294899, -0.05203884840011597, -0.03552773594856262, 0.35046401619911194, -0.046930499374866486, -0.36124342679977417, 0.23584258556365967, 0.26897189021110535, -0.02638510800898075, -0.09642623364925385, 0.3776203989982605, -0.23569536209106445, 0.11966072767972946, 0.013881608843803406, 0.1345030665397644, -0.378315806388855, -0.13339930772781372, 0.15770801901817322, 0.3968523144721985, 0.018411777913570404, 0.09266135096549988, -0.24795538187026978, -0.12351392954587936, -0.14550262689590454, 0.4371299147605896, -0.06946755200624466, 0.10045401751995087, -0.23975111544132233, 0.20770028233528137, 0.2337391972541809, -0.0076029072515666485, 0.3027823567390442, -0.38662609457969666, -0.6857402920722961, 0.5303252935409546, 0.35732272267341614, 0.45632416009902954, -0.25503215193748474, -0.09828288853168488, 0.39126646518707275, 0.49506181478500366, 0.08782057464122772, -0.1893072873353958, -0.30082008242607117, 0.2738463282585144, 0.18461070954799652, -0.07995439320802689, 0.007554939948022366, -0.3120483458042145, -0.46016207337379456, -0.3351787030696869, 0.2409754991531372, 0.37024563550949097, 0.2019478678703308, -0.33527129888534546, 0.03372528776526451, 0.3961765468120575, 0.1985451877117157, 0.2859950661659241, -0.0650913268327713, 0.0927867442369461, 0.3392347991466522, -0.22759544849395752, -0.1291143149137497, 0.13808473944664001, -0.013132179155945778, 0.4096156060695648, -0.27847835421562195, -0.3283405005931854, 0.45455560088157654, -0.3094145655632019, 0.3827042877674103, 0.7236984968185425, 0.0664268508553505, 0.13954894244670868, 0.33686619997024536, 0.09757349640130997, -0.0405210517346859, 0.173734650015831, 0.17001739144325256, -0.035510119050741196, -0.6157612204551697, -0.5963157415390015, 0.06028599664568901, 0.06366145610809326, -0.2370131015777588, 0.22948305308818817, 0.32427483797073364, -0.2815324068069458, 0.25772929191589355, 0.039793744683265686, 1.2729296684265137, -0.07634775340557098, -0.02564544603228569, -0.1171007826924324, -0.32216787338256836, 0.11875403672456741, -0.5646175146102905, -0.03847264125943184, -0.36505046486854553, -0.2343490719795227, -0.06727395206689835, -0.05144049599766731, 0.31651777029037476, 0.08305354416370392, -0.189505934715271, 0.20664046704769135, 0.28522419929504395, 0.19155371189117432, 0.2234628051519394, 0.4521302282810211, -0.05364100635051727, -0.12570904195308685, 0.15515229105949402, 0.0224899984896183, -0.03815407305955887, 0.1912744790315628, -0.21187028288841248, -0.46563297510147095, 0.05708981677889824, -0.13743947446346283, -0.7160788774490356, -0.2232789397239685, -0.3763720691204071, -0.10810095071792603, 0.1254744976758957, -0.5997878909111023, 0.59555584192276, -0.15564170479774475, 0.9062524437904358, 0.1476563662290573, -0.09257511794567108, 0.23961670696735382, 0.5938641428947449, -0.12061043083667755, 0.25736579298973083, -0.280262291431427, -0.0022262800484895706, 0.04375944286584854, 0.02651805430650711, 0.153253972530365, -0.0580168180167675, -0.20435170829296112, -0.558387041091919, 0.045240338891744614, 0.18378131091594696, -0.21658754348754883, 0.20560352504253387, 0.25029605627059937, 0.20924200117588043, -0.2504311800003052, 0.05075162649154663, 0.023454822599887848, 0.026569250971078873, -0.09005997329950333, -0.10545618832111359, -0.28723812103271484, -0.1113663762807846, -0.21125027537345886, 0.2565087676048279, -0.49941983819007874, 0.16541239619255066, 0.30869966745376587, -0.2520942687988281, -0.1294584572315216, 0.14243987202644348, 0.5947510600090027, -0.41987699270248413, -0.11839058250188828, -0.04882067069411278, -0.2719217538833618, -0.05701382830739021, 0.447299987077713, 0.12032511830329895, 0.011591825634241104, 0.020364951342344284, 0.05816885828971863, -0.030361752957105637, 0.21402627229690552, -0.17729976773262024, 0.16886529326438904, 0.04597550630569458, 0.2846018075942993, -0.01884055882692337, 0.0006007160991430283, -0.27014052867889404, 0.01904306933283806, -0.13045598566532135, -0.1268559843301773, 0.1296330690383911, -0.1334468126296997, -0.30195364356040955, -0.08123573660850525, -0.09446734935045242, -0.11651824414730072, -0.297166109085083, -0.02006370946764946, -0.02631969377398491, 0.2364645004272461, -0.08005048334598541, -0.05912823975086212, 0.19102147221565247, 0.05887991935014725, 0.06903652846813202, -0.04116251692175865, 0.017810244113206863, -0.29932960867881775, 0.15264621376991272, -0.07216167449951172, -0.2505119740962982, 0.004679858684539795, 0.14945723116397858, -0.058606088161468506, 0.19322019815444946, 0.7489543557167053, 0.05686366930603981, 0.1850389540195465, -0.040819454938173294, -0.024275507777929306, 0.3232499659061432, 0.44663289189338684, 0.1652865707874298, 0.5366907119750977, 0.1493014246225357, -0.0800260603427887, 0.14947199821472168, 0.46392008662223816, 0.08953570574522018, 0.2246895432472229, -0.18909184634685516, -0.07298890501260757, 0.04905177280306816, 0.0682762935757637, -0.10287338495254517, -0.20707428455352783, 0.1397181749343872, -0.33586058020591736, -0.02405143715441227, 0.35180217027664185, 0.602083683013916, 0.23584815859794617, 0.51338130235672, -0.0030170567333698273, 0.6190531849861145, -0.03035425767302513, 0.0929708480834961, -0.09496311843395233, 0.1388097107410431, 0.19637556374073029, 0.5339844822883606, 0.2708829939365387, -0.11909636110067368, 0.08173716068267822, -0.024157844483852386, 0.05368158221244812, 0.4089975953102112, 0.2881756126880646, 0.07420936226844788, -0.3432614505290985, 0.31428608298301697, -0.18285733461380005, 0.21925857663154602, 0.3136942982673645, 0.026533208787441254, 0.07509680092334747, -0.09102693945169449, -0.1650906205177307, -0.009439965710043907, 0.1584777683019638, -0.1777096390724182, 0.013282505795359612, -0.035451680421829224, -0.1412588208913803, -0.18071870505809784, 0.005027618259191513, -0.10691507160663605, 0.10144302248954773, -0.07974685728549957, -0.2659860849380493, -0.04680798947811127, 0.07877901196479797, -0.19944587349891663, -0.38660335540771484, 0.0062787458300590515, -0.3186623752117157, 0.6055263876914978, 0.0664411336183548, -0.017397262156009674, 0.008146069943904877, 0.3231792747974396, 0.42976048588752747, 0.06522201746702194, -0.06356726586818695, -0.19079267978668213, -0.01691868156194687, -0.11256814002990723, 0.0294191911816597, 0.07257658243179321, 0.23137660324573517, 0.0980062484741211, -0.029943129047751427, 0.024079037830233574, 0.028025764971971512, -0.12158846855163574, 0.09200235456228256, -0.3229218125343323, 0.061535898596048355, 0.1778593361377716, 0.11138758063316345, -0.17716994881629944, -0.29498136043548584, -0.15202072262763977, -0.17394056916236877, 0.19201572239398956, 0.48725730180740356, -0.07543593645095825, -0.002529820427298546, -0.14177903532981873, 0.05612502992153168, 0.3617273271083832, 0.12307678163051605, 0.3289947211742401, 0.29795145988464355, -0.47117117047309875, -0.24100598692893982, -0.3306140899658203, 0.20769479870796204, 0.10700593143701553, 0.027061032131314278, 0.037577059119939804, 0.12721502780914307, 0.5251452326774597, 0.02310478314757347, -0.04229550063610077, 0.10889741033315659, 0.05673989653587341, 0.008316472172737122, -0.3578694760799408, 0.17660634219646454, 0.4544672966003418, 0.26661795377731323, -0.07427568733692169, 0.11611654609441757, 0.3123305141925812, 0.15420439839363098, -0.04106593132019043, -0.42663389444351196, -0.0923374593257904, 0.3220057487487793, -0.4036494493484497, 0.09057708829641342, -0.04025597125291824, 0.1089368611574173, -0.16349104046821594, -0.21428252756595612, -0.00023343786597251892, -0.06490486115217209, -0.2333361804485321, 0.4200584590435028, -0.07991813123226166, 0.23559951782226562, 0.0322582945227623, -0.4738994538784027, -0.33967775106430054, 0.019291849806904793, 0.13571125268936157, 0.34547051787376404, -0.42545443773269653, 0.21778340637683868, -0.13823097944259644, 0.11725904792547226, 0.22492589056491852, 0.30971625447273254, 0.1474735140800476, 0.18205232918262482, -0.33127889037132263, -0.2980519235134125, 0.4531680941581726, -0.1187547817826271, -0.2935541868209839, 0.05569517984986305, 0.1071547120809555, 0.28328198194503784, 0.17808103561401367, -0.32655036449432373, -0.19641388952732086, 0.2837558686733246, -0.017229411751031876, -0.1605011373758316, 0.23312534391880035, 0.0028771674260497093, 0.13072286546230316, -0.0555194616317749, 0.03607991710305214, 0.1420668065547943, -0.43635645508766174, -0.2560185492038727, -0.2530048191547394 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
@lhoestq I think everything should be good to go besides the code styling, which seem to be due to missing or unsupported metadata tags for the READMEs, is this something I should worry about since all the other datasets seem to be failing as well?
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
45
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. @lhoestq I think everything should be good to go besides the code styling, which seem to be due to missing or unsupported metadata tags for the READMEs, is this something I should worry about since all the other datasets seem to be failing as well?
[ -0.19406907260417938, 0.23208481073379517, -0.13841113448143005, 0.18215857446193695, 0.0052459631115198135, 0.03725113719701767, -0.4111754894256592, 0.2115267962217331, -0.004552528262138367, -0.362102746963501, -0.1548115462064743, -0.09367923438549042, 0.008760606870055199, 0.09582166373729706, 0.3472813367843628, -0.17743484675884247, 0.16342344880104065, 0.04999279975891113, 0.5100511908531189, -0.2970840334892273, -0.4422709047794342, 0.32870033383369446, -0.08511610329151154, 0.13950686156749725, 0.29417678713798523, -0.12264396995306015, -0.3148711919784546, 0.436987042427063, -0.38135015964508057, -0.4353967010974884, -0.19895611703395844, 0.3345917761325836, 0.14268475770950317, 0.3048720061779022, -0.00011648447252810001, -0.1796986162662506, 0.1711377203464508, -0.1255386471748352, 0.10369355976581573, 0.01667191833257675, -0.07019944489002228, -0.3349562883377075, -0.3342263102531433, 0.05729583650827408, -0.10743866860866547, -0.5480250120162964, -0.06705078482627869, -0.7816002368927002, 0.0055082738399505615, 0.34170785546302795, 0.12675628066062927, -0.014822700060904026, 0.20859555900096893, -0.0828012004494667, 0.4983370304107666, -0.02984045445919037, -0.06649073958396912, 0.07189935445785522, 0.8332408666610718, -0.04608026146888733, 0.03545621782541275, 0.37569791078567505, -0.10007727146148682, -0.17328116297721863, 0.3187152147293091, -0.17784489691257477, -0.2183416783809662, -0.2927781641483307, 0.15722087025642395, 0.11924764513969421, 0.3657137155532837, -0.3119856119155884, -0.23488788306713104, -0.30928486585617065, -0.15787585079669952, -0.6370555758476257, 0.061632223427295685, 0.10691459476947784, -0.04619304835796356, 0.2052985578775406, -0.030789265409111977, -0.6162785887718201, -0.03445984050631523, 0.09178796410560608, 0.002310723066329956, 0.17025241255760193, 0.0312594436109066, -0.015689700841903687, 0.17649342119693756, 0.31720250844955444, 0.1748962551355362, -0.10227139294147491, -0.3466227054595947, -0.021264564245939255, -0.07525268197059631, 0.04497872292995453, 0.12375256419181824, 0.2297026813030243, 0.10190612822771072, 0.09639612585306168, -0.20134539902210236, 0.2548663020133972, -0.141043558716774, -0.22939667105674744, 0.24252134561538696, -0.1380234956741333, 0.25094032287597656, -0.02449418604373932, 0.07934663444757462, -0.21115386486053467, 0.24676543474197388, -0.14465150237083435, -0.06329382956027985, -0.18327680230140686, -0.2460053414106369, 0.14402306079864502, 0.06868815422058105, -0.26333916187286377, 0.007740912958979607, 0.303438276052475, -0.29820021986961365, -0.4002130925655365, -0.21628129482269287, 0.22647830843925476, 0.1573515087366104, 0.03518364578485489, 0.1554531455039978, 0.10500594228506088, -0.09323529154062271, -0.33973410725593567, -0.06840444356203079, 0.13673187792301178, -0.41682764887809753, 0.14739885926246643, -0.14187464118003845, -0.17354267835617065, -0.0779615044593811, 0.1672481894493103, -0.02057383954524994, 0.06939397007226944, 0.018666209653019905, -0.03850649669766426, 0.3998693823814392, 0.03191215544939041, -0.15757480263710022, 0.014186175540089607, 0.15145540237426758, -0.46554625034332275, -0.2133110761642456, 0.10867021977901459, 0.0719134509563446, -0.10938723385334015, -0.3733407258987427, 0.09948860853910446, -0.12465376406908035, -0.084157794713974, 0.07649114727973938, 0.7213866114616394, -0.015413060784339905, 0.015619747340679169, 0.37929537892341614, -0.0700220912694931, -0.04337934032082558, 0.08507217466831207, -0.1032773107290268, 0.4584922790527344, -0.8414942622184753, 0.16132639348506927, 0.16437682509422302, 0.11329177021980286, 0.009833037853240967, 0.09748470783233643, -0.19218043982982635, 0.2113029658794403, -0.1418723464012146, 0.004400953650474548, 0.40418171882629395, -0.2994638681411743, 0.03145908936858177, 0.3024615943431854, 0.14124341309070587, 0.004297679290175438, 0.1324213743209839, -0.17079077661037445, 0.5032974481582642, 0.03568713739514351, 0.12845951318740845, -0.18698474764823914, -0.1338154822587967, -0.2933613061904907, -0.35734593868255615, -0.03399297595024109, 0.10945804417133331, 0.11781133711338043, 0.34101834893226624, -0.07654992491006851, 0.24140241742134094, 0.052395306527614594, 0.32316091656684875, -0.01599225029349327, 0.02909037657082081, 0.338262140750885, 0.32029470801353455, 0.1952960342168808, 0.1521800309419632, -0.00385887548327446, -0.0973096415400505, -0.13433051109313965, -0.08482669293880463, 0.43365970253944397, 0.3810465931892395, 0.008129436522722244, -0.1587357521057129, -0.08681288361549377, -0.2621167004108429, -0.31685033440589905, 0.06720372289419174, 0.013690173625946045, -0.2737419605255127, 0.11329598724842072, -0.17149706184864044, 0.2917678654193878, -0.1518099308013916, 0.06368391960859299, -0.21824662387371063, 0.23761509358882904, -0.1830952763557434, -0.1815348118543625, -0.10673646628856659, 0.31318747997283936, 0.1837315857410431, -0.23486001789569855, -0.06213057041168213, 0.17359000444412231, -0.0734502524137497, -0.273631751537323, 0.18697062134742737, 0.5574648976325989, 0.30699145793914795, -0.2488468885421753, 0.44352301955223083, -0.06442388892173767, -0.010798321105539799, -0.17747116088867188, -0.016877658665180206, 0.22846895456314087, 0.2602909803390503, 0.17815238237380981, 0.003343205899000168, -0.40059539675712585, -0.006905611604452133, 0.0697171539068222, -0.1001163050532341, 0.14636990427970886, 0.16229580342769623, 0.052950453013181686, 0.38376912474632263, -0.109427809715271, -0.25618818402290344, 0.21278706192970276, 0.8574767708778381, -0.088632732629776, -0.1358410120010376, 0.13715410232543945, -0.09191665798425674, -0.27558550238609314, 0.1099739596247673, -0.27594050765037537, 0.2027793824672699, 0.23889774084091187, 0.12693515419960022, 0.1362612247467041, 0.16211289167404175, -0.18326981365680695, 0.2851898670196533, 0.16106057167053223, -0.17922809720039368, 0.010606978088617325, -0.02967076562345028, 0.013021652586758137, -0.4616411626338959, -0.19475968182086945, 0.008002180606126785, 0.1542876809835434, -0.08827321231365204, 0.1019417867064476, 0.022673482075333595, -0.35508403182029724, -0.29277870059013367, 0.1153874397277832, -0.3394795060157776, -0.34960389137268066, 0.13752208650112152, -0.285123735666275, 0.20280605554580688, 0.13860881328582764, -0.034021344035863876, 0.3954676687717438, -0.2794989347457886, 0.16317518055438995, -0.33656251430511475, -0.10224917531013489, -0.39185482263565063, 0.02182278037071228, 0.37973305583000183, 0.019084615632891655, 0.3907935619354248, -0.09325425326824188, 0.17165565490722656, -0.49918484687805176, -0.5354849696159363, 0.3315134048461914, -0.23151718080043793, 0.1507880687713623, 0.06427440792322159, -0.13855421543121338, 0.18532076478004456, -0.05853242799639702, -0.1246967539191246, -0.0891290009021759, -0.05603308975696564, -0.4123079478740692, -0.3082290291786194, -0.1020442545413971, 0.08601802587509155, -0.3861461877822876, -0.283321350812912, -0.32519957423210144, 0.19393014907836914, -0.055162228643894196, -0.13993285596370697, 0.2117711454629898, -0.055249933153390884, -0.010913688689470291, -0.10017329454421997, -0.15736328065395355, -0.16480375826358795, -0.10637950897216797, -0.013449002057313919, -0.010301310569047928, -0.05026726797223091, 0.11475197970867157, 0.1372942477464676, 0.19176243245601654, -0.2509925961494446, -0.3628842830657959, -0.06727293878793716, 0.004050379619002342, 0.26505687832832336, -0.07081501185894012, 0.2226196676492691, 0.14485950767993927, -0.06819204241037369, -0.11819420754909515, 0.003225918859243393, -0.27988648414611816, -0.12783917784690857, -0.05247848480939865, 0.16671356558799744, -0.04592614620923996, 0.00944533385336399, -0.07184363156557083, 0.38005560636520386, 0.08961586654186249, 0.04881330952048302, 0.41770994663238525, 0.25917956233024597, 0.7165963649749756, -0.06416115909814835, -0.500101625919342, 0.18441112339496613, -0.09432785212993622, 0.20135849714279175, 0.2422899454832077, -0.015032796189188957, -0.27754467725753784, 0.18875545263290405, 0.1905955672264099, -0.04368655011057854, -0.07778991758823395, 0.36929965019226074, -0.01022304967045784, 0.1114257425069809, 0.05295516178011894, 0.15079286694526672, -0.27798014879226685, -0.0868191346526146, 0.29179373383522034, 0.40454769134521484, 0.0102633535861969, 0.14754807949066162, -0.28464844822883606, 0.03890405222773552, -0.1823398470878601, 0.41006970405578613, -0.0879937931895256, 0.22759085893630981, -0.1788233071565628, 0.19326049089431763, 0.15301038324832916, -0.0001239241100847721, 0.4433531165122986, -0.44784098863601685, -0.6619389057159424, 0.4994736611843109, 0.35326912999153137, 0.4670240879058838, -0.14787627756595612, -0.24174930155277252, 0.26516515016555786, 0.5554717779159546, 0.19503530859947205, -0.2970333695411682, -0.2267131507396698, 0.16555702686309814, 0.17269864678382874, 0.004999533295631409, -0.05033969506621361, -0.20639583468437195, -0.4211582541465759, -0.30771514773368835, 0.2603377103805542, 0.2611473798751831, 0.07279288023710251, -0.3792436122894287, 0.09950664639472961, 0.3921452760696411, 0.07603875547647476, 0.3031768798828125, -0.09548927843570709, -0.032033152878284454, 0.22366026043891907, -0.1697290539741516, 0.004887513816356659, 0.037967003881931305, 0.06155051290988922, 0.4248116910457611, -0.2754698693752289, -0.38942790031433105, 0.4104146361351013, -0.3780437707901001, 0.4243672788143158, 0.7046027183532715, 0.18172290921211243, 0.23849081993103027, 0.20659343898296356, 0.0026282817125320435, 0.021690741181373596, 0.13534031808376312, 0.21177087724208832, 0.07605904340744019, -0.5193572044372559, -0.7439355254173279, 0.10431081056594849, 0.024130355566740036, -0.19203691184520721, 0.18612362444400787, 0.268379807472229, -0.26282036304473877, 0.2002420872449875, -0.016146354377269745, 1.226710319519043, -0.1753765046596527, 0.044478364288806915, -0.16847261786460876, -0.5061222910881042, 0.1566230058670044, -0.6788292527198792, -0.07017689198255539, -0.3663056492805481, 0.010035723447799683, -0.05167239159345627, 0.023258987814188004, 0.33116430044174194, 0.007380753755569458, -0.10076300799846649, 0.21973924338817596, 0.4474409818649292, -0.0776156336069107, 0.17229142785072327, 0.5943171381950378, -0.006891058757901192, -0.09818901121616364, -0.06222604960203171, 0.0614374577999115, -0.0828903466463089, 0.11348100006580353, -0.23369178175926208, -0.4486042857170105, -0.044769011437892914, -0.0998215526342392, -0.6624338626861572, -0.2949012219905853, -0.2686834931373596, -0.16286426782608032, 0.11106915771961212, -0.5997377634048462, 0.718133807182312, -0.28312844038009644, 0.7823501229286194, 0.07993114739656448, -0.11090663075447083, 0.12408573925495148, 0.43752142786979675, -0.1620185524225235, 0.2194262444972992, -0.16966919600963593, 0.03195885196328163, 0.07146823406219482, -0.11633341759443283, 0.2511979341506958, -0.09205979108810425, -0.20666036009788513, -0.7757371068000793, 0.10545233637094498, 0.14761720597743988, -0.2451658844947815, 0.1744213104248047, 0.45359688997268677, 0.17415177822113037, -0.22952432930469513, 0.07008859515190125, 0.1602359116077423, 0.07361182570457458, -0.08891160041093826, -0.04441786929965019, -0.25200071930885315, -0.20046663284301758, -0.15156176686286926, 0.10621268302202225, -0.41447335481643677, 0.14549323916435242, 0.4524686336517334, -0.28020986914634705, -0.16010281443595886, 0.09514490514993668, 0.65980464220047, -0.4555358588695526, -0.2353266328573227, 0.07102308422327042, -0.19425025582313538, 0.015580360777676105, 0.2762463688850403, 0.15059752762317657, -0.1426563262939453, 0.09229236841201782, 0.074766606092453, 0.09813544899225235, 0.28515297174453735, -0.1360655277967453, 0.11480845510959625, -0.09623478353023529, 0.2817474901676178, -0.028542891144752502, 0.04502891004085541, -0.2910223603248596, 0.05381932854652405, 0.01643087901175022, -0.1541983038187027, 0.0970296636223793, -0.2839392125606537, -0.3935113251209259, -0.12686297297477722, -0.046148039400577545, -0.005663122981786728, -0.3325006365776062, -0.02645040489733219, 0.05736855790019035, 0.20330192148685455, -0.0033995192497968674, -0.09002538025379181, 0.10306312888860703, -0.005865832790732384, 0.09685947000980377, 0.035251110792160034, -0.04781002551317215, -0.2000572383403778, 0.05349981039762497, 0.09555968642234802, -0.08261844515800476, 0.05277468264102936, 0.2178191989660263, 0.0596136674284935, 0.14971283078193665, 0.5833529233932495, 0.030261263251304626, 0.16246354579925537, 0.1139443889260292, 0.040086500346660614, 0.3057856559753418, 0.332689106464386, 0.21202421188354492, 0.5287618637084961, 0.19163018465042114, -0.11021183431148529, 0.17638295888900757, 0.40281111001968384, 0.08020412176847458, 0.3565739393234253, -0.2067248374223709, -0.06898890435695648, 0.12102026492357254, 0.09392985701560974, -0.21611367166042328, -0.1875830888748169, 0.17022909224033356, -0.23714883625507355, 0.041224267333745956, 0.28614190220832825, 0.6174558401107788, 0.26842519640922546, 0.4283446669578552, 0.008806044235825539, 0.6199610829353333, 0.04214989393949509, -0.019975999370217323, -0.19037866592407227, 0.0683734118938446, -0.005309011787176132, 0.44331178069114685, 0.42001432180404663, -0.12669751048088074, 0.15228426456451416, 0.045375727117061615, 0.024329891428351402, 0.29410120844841003, 0.2889060974121094, -0.12263917177915573, -0.4113704264163971, 0.20679539442062378, -0.10540658235549927, 0.2640906572341919, 0.25135013461112976, -0.008480735123157501, 0.10672511160373688, -0.006487379781901836, -0.1694963574409485, 0.18395374715328217, 0.034150369465351105, -0.07066531479358673, 0.1422732025384903, 0.15146440267562866, -0.19608977437019348, -0.17273955047130585, -0.06363160163164139, -0.1381334811449051, -0.070375457406044, 0.01715577393770218, -0.19596455991268158, -0.024250969290733337, 0.04475250840187073, -0.11573830991983414, -0.4205033779144287, -0.01725989580154419, -0.14988012611865997, 0.4723286032676697, 0.15679623186588287, 0.03963055461645126, 0.13748612999916077, 0.25776392221450806, 0.2969610095024109, 0.09243317693471909, -0.2875247895717621, -0.009233620949089527, -0.03154246136546135, -0.05520258843898773, 0.07218218594789505, 0.1478278934955597, 0.30148589611053467, 0.14743617177009583, 0.00032497942447662354, 0.0381808876991272, 0.011067993007600307, 0.011133551597595215, 0.033162061125040054, -0.3731324076652527, -0.005818123929202557, 0.2725924253463745, 0.0648326575756073, -0.2527749538421631, -0.26623454689979553, -0.1516112983226776, -0.26223865151405334, 0.15380863845348358, 0.47225940227508545, -0.09219224005937576, -0.008765916340053082, -0.10749762505292892, 0.05481237173080444, 0.3518233299255371, 0.1205434799194336, 0.3406948745250702, 0.3845375180244446, -0.40269342064857483, -0.08533474802970886, -0.4570271074771881, 0.14829888939857483, -0.08001446723937988, 0.017005430534482002, -0.04636526480317116, 0.15263763070106506, 0.6069057583808899, 0.10498262196779251, -0.01717604696750641, 0.13889968395233154, -0.08647435158491135, 0.04570266604423523, -0.39467039704322815, 0.13528814911842346, 0.5348911881446838, 0.3191335201263428, -0.08468222618103027, 0.24348002672195435, 0.2538016736507416, 0.22611123323440552, -0.004395294934511185, -0.5130483508110046, -0.025511596351861954, 0.2791643738746643, -0.21210238337516785, -0.014431335031986237, -0.004823558032512665, 0.19600167870521545, -0.052028216421604156, -0.24386829137802124, -0.04936930909752846, -0.09681935608386993, -0.14755579829216003, 0.3905509412288666, -0.06896291673183441, 0.20204034447669983, 0.04797385632991791, -0.6335721015930176, -0.31218817830085754, 0.168701633810997, 0.04368011653423309, 0.3836270272731781, -0.5101914405822754, 0.2704423666000366, -0.032693393528461456, 0.014431525021791458, -0.03893670067191124, 0.2597837746143341, 0.1696949303150177, 0.12392453849315643, -0.459858775138855, -0.20365343987941742, 0.41532012820243835, -0.07137633115053177, -0.24494066834449768, 0.0681745633482933, -0.010090142488479614, 0.444369912147522, 0.133839413523674, -0.5033958554267883, -0.2616105079650879, 0.34441813826560974, 0.03160218521952629, -0.13795791566371918, 0.2259109616279602, 0.01737736538052559, -0.027178073301911354, -0.08486232161521912, -0.11961480975151062, 0.09964805841445923, -0.327146977186203, -0.07868371903896332, -0.1452883929014206 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Awesome! Just committed your changes and I will begin on adding the TOCs and filling in the content for the new sections/subsections. Also, I see that we are having to only use the `code` tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search.
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
77
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Awesome! Just committed your changes and I will begin on adding the TOCs and filling in the content for the new sections/subsections. Also, I see that we are having to only use the `code` tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search.
[ -0.1552266627550125, 0.17148208618164062, -0.17089316248893738, 0.09755490720272064, 0.051723018288612366, 0.08713338524103165, -0.3558403253555298, 0.30422359704971313, 0.05638815835118294, -0.21008850634098053, -0.2067091017961502, 0.08830844610929489, 0.05271821841597557, 0.21902507543563843, 0.4016934335231781, -0.18135425448417664, 0.18203362822532654, 0.10777934640645981, 0.39942866563796997, -0.16467878222465515, -0.2782740592956543, 0.3330014646053314, -0.05023111402988434, 0.14063677191734314, 0.1805618852376938, -0.14412285387516022, -0.22854338586330414, 0.3955988883972168, -0.4504619836807251, -0.489667147397995, -0.032516960054636, 0.3919571042060852, 0.18927457928657532, 0.20676425099372864, -0.00010828971426235512, -0.23954419791698456, 0.21563628315925598, -0.06430523842573166, -0.04978473484516144, -0.011434316635131836, -0.1819620132446289, -0.34662744402885437, -0.29734739661216736, -0.008406572043895721, -0.19186526536941528, -0.3576158285140991, -0.05754232406616211, -0.6625685691833496, -0.04438592493534088, 0.30288004875183105, 0.19612713158130646, 0.004102541133761406, 0.2729955315589905, -0.21886706352233887, 0.43621328473091125, -0.02976318448781967, -0.16391517221927643, 0.14301307499408722, 0.8933961391448975, -0.059338249266147614, -0.0028824806213378906, 0.39530810713768005, -0.04686670005321503, -0.22178047895431519, 0.5072575807571411, -0.23513196408748627, -0.35041946172714233, -0.3673096001148224, 0.1825222671031952, 0.17346274852752686, 0.41863226890563965, -0.4776569902896881, -0.16856473684310913, -0.3053012490272522, -0.1849362552165985, -0.520263671875, 0.03019862249493599, 0.08087856322526932, -0.03403650224208832, 0.2140006422996521, 0.052078504115343094, -0.6785423755645752, -0.10369838774204254, 0.012159749865531921, -0.016942482441663742, 0.05879218876361847, -0.037091463804244995, -0.0714418962597847, 0.1338001936674118, 0.20546045899391174, 0.15962529182434082, -0.23373335599899292, -0.34270116686820984, 0.03068603202700615, -0.15866081416606903, -0.054890573024749756, 0.1592395007610321, 0.24677473306655884, 0.19397130608558655, 0.1189160943031311, -0.16852441430091858, 0.23979607224464417, -0.22336533665657043, -0.17508569359779358, 0.09784732758998871, 0.0442202165722847, 0.32718390226364136, 0.0018651122227311134, 0.0416695699095726, -0.21326999366283417, 0.21441739797592163, -0.19866451621055603, -0.05835821107029915, -0.11439359933137894, -0.26116564869880676, 0.12415874004364014, 0.07725083082914352, -0.19075080752372742, -0.07154639065265656, 0.2517562210559845, -0.12751299142837524, -0.26581719517707825, -0.09542662650346756, 0.2506487965583801, 0.18650467693805695, -0.0486200675368309, 0.004194948822259903, 0.14917251467704773, -0.03415698558092117, -0.29321983456611633, -0.13082431256771088, 0.21066966652870178, -0.3544841706752777, 0.21340139210224152, -0.026220014318823814, -0.31721997261047363, -0.12825830280780792, 0.22509068250656128, 0.06347770243883133, -0.0007677711546421051, -0.010821929201483727, -0.01959308236837387, 0.41836702823638916, -0.029844101518392563, -0.11627325415611267, 0.0450880229473114, 0.16608302295207977, -0.5230742692947388, -0.31207481026649475, 0.16856612265110016, -0.0367535799741745, -0.18183042109012604, -0.4853819012641907, 0.1451645940542221, -0.18726806342601776, -0.17095473408699036, -0.04739553481340408, 0.7041634917259216, -0.11766032129526138, 0.1415196657180786, 0.3548491299152374, 0.07802992314100266, -0.03993283212184906, 0.06071338802576065, -0.07443898171186447, 0.36821120977401733, -0.7755060791969299, 0.16774208843708038, 0.148788183927536, 0.03791014105081558, -0.016984179615974426, 0.0037463288754224777, -0.19168156385421753, 0.31582462787628174, -0.12852692604064941, 0.1807919591665268, 0.402557909488678, -0.28818395733833313, -0.03328248858451843, 0.27446311712265015, 0.07494726777076721, -0.10512210428714752, 0.12598174810409546, -0.1110578179359436, 0.5183956623077393, 0.06530002504587173, 0.07143136113882065, -0.11650240421295166, -0.12399199604988098, -0.2164537012577057, -0.2805735170841217, -0.02744121477007866, 0.018466811627149582, 0.13011333346366882, 0.3201192617416382, 0.03157452866435051, 0.2676996886730194, 0.019126195460557938, 0.3356088399887085, -0.07146921753883362, 0.12909726798534393, 0.3447043299674988, 0.35155022144317627, 0.1833442747592926, 0.21744029223918915, -0.1282620131969452, -0.13746443390846252, -0.028727255761623383, -0.08023525774478912, 0.4463312327861786, 0.2768520712852478, -0.05484885722398758, -0.23843249678611755, -0.0430450439453125, -0.27268967032432556, -0.24462994933128357, 0.11496372520923615, -0.16590963304042816, -0.16630196571350098, 0.023501884192228317, -0.1895478516817093, 0.4114282429218292, -0.21588225662708282, 0.10589517652988434, -0.22745026648044586, 0.253778338432312, -0.16166631877422333, -0.11860832571983337, -0.06435388326644897, 0.2952381372451782, 0.193803071975708, -0.09399309754371643, -0.12032973021268845, 0.12364966422319412, -0.11376363039016724, -0.2594432830810547, 0.3421068489551544, 0.5328927040100098, 0.3145171105861664, -0.34444543719291687, 0.4746360778808594, -0.12335404753684998, 0.0988951027393341, -0.07650621980428696, -0.06252335757017136, 0.21922168135643005, 0.22734680771827698, 0.16220560669898987, -0.028523050248622894, -0.3379473388195038, 0.09632569551467896, 0.08032375574111938, -0.09718696027994156, 0.10332316160202026, 0.06620871275663376, 0.13978736102581024, 0.2813328206539154, -0.10286612808704376, -0.19729559123516083, 0.3007916510105133, 0.7629633545875549, -0.1484936624765396, -0.13579672574996948, 0.15451709926128387, -0.22019246220588684, -0.19857755303382874, 0.13025231659412384, -0.2278117537498474, 0.07094696164131165, 0.30655190348625183, 0.14595195651054382, 0.08224213868379593, 0.13600678741931915, -0.16271646320819855, 0.31839025020599365, 0.15969839692115784, -0.1870206594467163, -0.00006525591015815735, -0.005199439357966185, 0.02726631611585617, -0.41559991240501404, -0.24157004058361053, -0.09237892925739288, 0.09252449125051498, -0.0740303322672844, 0.04872991889715195, -0.022297505289316177, -0.4585672914981842, -0.24824976921081543, 0.14643068611621857, -0.31266897916793823, -0.35258013010025024, 0.2019306868314743, -0.2072731852531433, 0.19455376267433167, 0.0977381244301796, -0.08675684034824371, 0.5041893720626831, -0.24854421615600586, 0.16775044798851013, -0.29235440492630005, -0.021848898380994797, -0.3235924541950226, 0.0969173014163971, 0.2948412001132965, 0.013835588470101357, 0.4555666148662567, -0.014891108497977257, 0.3904428482055664, -0.5694743990898132, -0.5156629085540771, 0.31922265887260437, -0.1657559722661972, 0.06573523581027985, 0.03132594749331474, -0.1301078349351883, 0.16604819893836975, -0.12426364421844482, -0.1849338710308075, -0.07729538530111313, -0.046011097729206085, -0.36088332533836365, -0.3506106436252594, -0.07367688417434692, 0.09044508635997772, -0.266937255859375, -0.20002706348896027, -0.3391857147216797, 0.14239045977592468, -0.1294223517179489, -0.002577275037765503, 0.20194955170154572, -0.10898983478546143, 0.026215024292469025, -0.1212180107831955, -0.16237157583236694, -0.14994826912879944, -0.178008571267128, 0.0008813776075839996, -0.11036399006843567, -0.017523806542158127, 0.08175724744796753, 0.062468282878398895, 0.11393816769123077, -0.2951555848121643, -0.16048915684223175, -0.019419681280851364, -0.08016341179609299, 0.3138211965560913, 0.020344655960798264, 0.23333676159381866, 0.10329482704401016, -0.01927974820137024, -0.15155799686908722, -0.01611999422311783, -0.2925542891025543, -0.12366684526205063, 0.10454186797142029, 0.10032394528388977, 0.03691265732049942, -0.08641710877418518, -0.015656139701604843, 0.369304358959198, 0.21331124007701874, 0.1465764343738556, 0.5389652252197266, 0.25002321600914, 0.6245560050010681, -0.121658094227314, -0.4512018859386444, 0.08548559248447418, -0.07940438389778137, 0.2044210433959961, 0.27873486280441284, 0.07487849146127701, -0.29408541321754456, 0.22498634457588196, -0.0146957878023386, -0.05804235488176346, -0.09841841459274292, 0.37192171812057495, -0.02738795429468155, 0.09228147566318512, 0.034571412950754166, -0.02180403098464012, -0.36351439356803894, -0.12522010505199432, 0.28467297554016113, 0.4014950394630432, -0.0665542408823967, 0.15448062121868134, -0.2436744123697281, -0.11692441254854202, -0.3517433702945709, 0.3252694010734558, -0.06252644956111908, 0.058027055114507675, -0.18359529972076416, 0.1343538463115692, 0.17229612171649933, 0.07975685596466064, 0.4207271337509155, -0.4741167426109314, -0.5318578481674194, 0.42522087693214417, 0.3574046790599823, 0.477133184671402, -0.09867539256811142, -0.1838177889585495, 0.4437482953071594, 0.34936150908470154, 0.1932254433631897, -0.19783030450344086, -0.24942639470100403, 0.03290393203496933, 0.10831796377897263, -0.003775767982006073, -0.08796994388103485, -0.04212236404418945, -0.32228559255599976, -0.38348275423049927, 0.2610396146774292, 0.40867358446121216, 0.24619974195957184, -0.25280728936195374, -0.022601133212447166, 0.3233841061592102, 0.1554998755455017, 0.2882554531097412, -0.16989794373512268, 0.02524041384458542, 0.34671878814697266, -0.1076476126909256, -0.09178751707077026, 0.017403263598680496, 0.012561707757413387, 0.4165799915790558, -0.3041047155857086, -0.3453085720539093, 0.24803557991981506, -0.2519976794719696, 0.3537181317806244, 0.6626613140106201, 0.17859375476837158, 0.32191455364227295, 0.15419456362724304, 0.020020879805088043, -0.10299564152956009, 0.09895101934671402, -0.027618294581770897, 0.01301672961562872, -0.5524760484695435, -0.649495542049408, 0.08273729681968689, -0.018705498427152634, -0.24359577894210815, 0.22153373062610626, 0.3520117402076721, -0.2730706036090851, 0.11653397232294083, -0.04135524481534958, 1.178916573524475, -0.23562444746494293, 0.029458779841661453, -0.196325421333313, -0.43409502506256104, 0.24516591429710388, -0.673321545124054, -0.060635216534137726, -0.4344703257083893, -0.1262722760438919, -0.03416065499186516, 0.01590396836400032, 0.25783079862594604, 0.0043511763215065, -0.12657560408115387, 0.21719253063201904, 0.35993683338165283, 0.10538781434297562, 0.13528619706630707, 0.6626250743865967, -0.18025755882263184, -0.21902945637702942, -0.05484122037887573, 0.1392906904220581, 0.025698719546198845, 0.1724904179573059, -0.18996864557266235, -0.46226632595062256, 0.012501109391450882, -0.10549313575029373, -0.6347334384918213, -0.2304953634738922, -0.17725132405757904, -0.12095002830028534, 0.033092793077230453, -0.518351674079895, 0.7127393484115601, -0.2721100449562073, 0.7059096097946167, 0.13896270096302032, -0.19332031905651093, 0.06905680894851685, 0.3892149031162262, -0.13071300089359283, 0.17338453233242035, -0.21714307367801666, 0.06924229115247726, 0.031076230108737946, -0.12375333905220032, 0.15874618291854858, 0.01455151941627264, -0.2420630306005478, -0.6026728749275208, 0.0840286910533905, 0.03196012228727341, -0.2446899563074112, 0.13535451889038086, 0.394581139087677, 0.14457900822162628, -0.25037023425102234, 0.1394571214914322, 0.25222599506378174, 0.010542093776166439, -0.03611909598112106, -0.07106474041938782, -0.227962926030159, -0.1525459885597229, -0.1560547649860382, 0.12997201085090637, -0.3833830952644348, 0.06161084026098251, 0.4181543290615082, -0.34148532152175903, -0.203426331281662, 0.12661772966384888, 0.7592668533325195, -0.3815634548664093, -0.1515417844057083, 0.06597461551427841, -0.10754109174013138, -0.02024325542151928, 0.20733442902565002, 0.12465463578701019, -0.07690555602312088, -0.0027334876358509064, 0.09410326182842255, 0.08652957528829575, 0.2441154271364212, -0.1727849543094635, 0.18573248386383057, -0.10154073685407639, 0.2252340465784073, -0.03170911967754364, 0.05584169179201126, -0.36993077397346497, 0.116404689848423, -0.033570244908332825, -0.14231660962104797, 0.05670181289315224, -0.2069123387336731, -0.32591110467910767, -0.2144586741924286, -0.02324201911687851, -0.10711570084095001, -0.33689939975738525, -0.15458983182907104, 0.07331418991088867, 0.17462903261184692, 0.016495471820235252, -0.03610759973526001, 0.03284032270312309, -0.09153620153665543, 0.04994944483041763, -0.004647382535040379, 0.07754047214984894, -0.20010867714881897, 0.04880494624376297, 0.0780773013830185, 0.042632974684238434, 0.003160521388053894, 0.21606256067752838, 0.11124979704618454, 0.215968519449234, 0.5858357548713684, 0.013285845518112183, 0.12352485209703445, 0.032466329634189606, 0.09115192294120789, 0.3962208330631256, 0.45565682649612427, 0.25326967239379883, 0.394351601600647, 0.06524693220853806, 0.031469929963350296, 0.06209380552172661, 0.5037482380867004, 0.06624209880828857, 0.19136632978916168, -0.20476801693439484, 0.00216665118932724, 0.06333999335765839, 0.16815972328186035, -0.14365267753601074, -0.2803744971752167, 0.13938072323799133, -0.4128982126712799, 0.05193730816245079, 0.28346142172813416, 0.60993891954422, 0.3711155354976654, 0.407359778881073, -0.04102359339594841, 0.6377359628677368, 0.09075407683849335, 0.0009792980272322893, -0.12750431895256042, 0.1971329003572464, -0.0025258734822273254, 0.4390908181667328, 0.39863571524620056, -0.10014379769563675, 0.19577305018901825, 0.08420748263597488, 0.07978758215904236, 0.3768843710422516, 0.28057828545570374, 0.0919262021780014, -0.3344235122203827, 0.18789279460906982, -0.10778865218162537, 0.20690086483955383, 0.15919484198093414, 0.047528449445962906, 0.04319639503955841, 0.006213858257979155, -0.12232884019613266, 0.18719510734081268, -0.01748117059469223, -0.09009362012147903, 0.1040918380022049, 0.12265753746032715, -0.20480206608772278, -0.1722419559955597, -0.147147074341774, -0.16599617898464203, -0.12319815158843994, -0.11046616733074188, -0.2671723961830139, -0.046306923031806946, 0.06991326808929443, -0.03636285662651062, -0.20083707571029663, 0.03814304992556572, -0.13007470965385437, 0.4015079438686371, -0.043682634830474854, 0.09313985705375671, 0.10515002906322479, 0.31812894344329834, 0.2846694588661194, 0.05086713284254074, -0.21986731886863708, 0.0067879436537623405, -0.07561202347278595, -0.11694289743900299, 0.08057406544685364, 0.03173203021287918, 0.15548701584339142, 0.029566658660769463, 0.011261550709605217, 0.09094685316085815, -0.0025852350518107414, -0.1407010406255722, -0.029643718153238297, -0.3088296353816986, 0.0405997596681118, 0.21442586183547974, 0.15535637736320496, -0.19651076197624207, -0.2650810480117798, -0.006797581911087036, -0.31492936611175537, 0.18160800635814667, 0.5983340740203857, -0.1318722367286682, -0.02188909612596035, -0.151455357670784, 0.10634543001651764, 0.2614654302597046, 0.12265084683895111, 0.2611055076122284, 0.40979212522506714, -0.42761722207069397, -0.15408149361610413, -0.30255141854286194, 0.06210748851299286, -0.05939137563109398, 0.020304406061768532, 0.06948652863502502, 0.13557979464530945, 0.4829937815666199, 0.05659862607717514, -0.03200404345989227, 0.11346656829118729, 0.030825551599264145, 0.019939802587032318, -0.32183030247688293, 0.15136617422103882, 0.5862340331077576, 0.28603601455688477, -0.03420846909284592, 0.18312880396842957, 0.2906631529331207, 0.1744561642408371, 0.021951213479042053, -0.44643014669418335, 0.06483492255210876, 0.33857446908950806, -0.42206722497940063, 0.15198403596878052, -0.08641520142555237, 0.11919113248586655, -0.09785549342632294, -0.18921905755996704, 0.026053283363580704, -0.09730282425880432, -0.22764426469802856, 0.2729599177837372, -0.03892814740538597, 0.13676509261131287, 0.032646916806697845, -0.6660903692245483, -0.15763665735721588, 0.11736857146024704, 0.037823133170604706, 0.37702250480651855, -0.45111414790153503, 0.19991493225097656, -0.18839097023010254, 0.06911390274763107, -0.06394801288843155, 0.19427618384361267, 0.12993285059928894, 0.1473018079996109, -0.3390390872955322, -0.3462066352367401, 0.3589784502983093, 0.04242022708058357, -0.34865841269493103, -0.009578138589859009, 0.0750282034277916, 0.4321019947528839, 0.16891683638095856, -0.39498576521873474, -0.17346251010894775, 0.29307475686073303, -0.04694367200136185, -0.14428535103797913, 0.2928427457809448, 0.0429178923368454, 0.11820811033248901, -0.15340860188007355, -0.16439048945903778, 0.08732540905475616, -0.25302213430404663, -0.2552768588066101, -0.31451714038848877 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
> Also, I see that we are having to only use the code tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search. Yes I agree. We'll be able to reuse the tags per programming language from this PR when we allow this feature cc @yjernite what do you think about extending our languages taxonomy to programming languages ?
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
92
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. > Also, I see that we are having to only use the code tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search. Yes I agree. We'll be able to reuse the tags per programming language from this PR when we allow this feature cc @yjernite what do you think about extending our languages taxonomy to programming languages ?
[ -0.1647157222032547, 0.22383978962898254, -0.18302135169506073, 0.14248189330101013, 0.0595424622297287, 0.007840283215045929, -0.3684088885784149, 0.28387710452079773, 0.15296316146850586, -0.2503592371940613, -0.20517930388450623, 0.12902046740055084, -0.11854427307844162, 0.2624417841434479, 0.4467800259590149, -0.21596628427505493, 0.24851003289222717, -0.07357308268547058, 0.3586099445819855, -0.1371842920780182, -0.31678658723831177, 0.28881576657295227, 0.002444542944431305, 0.18165867030620575, 0.09710396826267242, -0.11758222430944443, -0.30713945627212524, 0.2770494818687439, -0.38710111379623413, -0.4665679633617401, -0.04835495352745056, 0.23232361674308777, 0.32808956503868103, 0.23798590898513794, -0.00011278040619799867, -0.27413731813430786, 0.12957362830638885, 0.006206745281815529, 0.015421627089381218, -0.09215424954891205, -0.12417974323034286, -0.2705256938934326, -0.33832255005836487, 0.08534113317728043, -0.11281906813383102, -0.4780848026275635, -0.1058463454246521, -0.7358417510986328, -0.18515722453594208, 0.2276899367570877, 0.12784379720687866, -0.07891853153705597, 0.2529181241989136, -0.22729676961898804, 0.3543512225151062, -0.026965327560901642, -0.10370945185422897, 0.17283222079277039, 0.941991925239563, -0.10860037803649902, -0.07332289963960648, 0.4042133390903473, 0.07809857279062271, -0.3122071325778961, 0.43518051505088806, -0.18009959161281586, -0.2976173758506775, -0.5235128402709961, 0.2631049156188965, 0.11529119312763214, 0.4921386241912842, -0.37094834446907043, -0.23812474310398102, -0.313251256942749, -0.19265715777873993, -0.5325932502746582, -0.022990278899669647, 0.20072853565216064, 0.014648618176579475, 0.26737844944000244, 0.12648092210292816, -0.7145651578903198, -0.15347516536712646, 0.09605388343334198, -0.062146179378032684, 0.2533513903617859, 0.03592631220817566, -0.0005629509687423706, 0.1378106027841568, 0.18998487293720245, 0.3144475817680359, -0.1836594045162201, -0.24470585584640503, 0.03828020766377449, -0.09717890620231628, -0.012260980904102325, 0.18917445838451385, 0.4310220181941986, 0.23631611466407776, 0.16344907879829407, -0.21602706611156464, 0.15090739727020264, -0.17445160448551178, -0.22632896900177002, 0.28155574202537537, -0.06764200329780579, 0.35608792304992676, 0.12562407553195953, 0.058756642043590546, -0.32273590564727783, 0.10005974769592285, -0.2204740345478058, -0.047764867544174194, -0.030116692185401917, -0.1642806977033615, 0.12189105898141861, 0.06894876807928085, -0.16641667485237122, 0.10586700588464737, 0.225701242685318, -0.3320712745189667, -0.32633522152900696, -0.026188109070062637, 0.1712481677532196, 0.21554993093013763, 0.0482306070625782, -0.11191705614328384, 0.12194221466779709, 0.05271805077791214, -0.32414767146110535, -0.08981845527887344, 0.23684653639793396, -0.4777716398239136, 0.10880926251411438, -0.05000188946723938, -0.17360812425613403, -0.14404606819152832, 0.15074379742145538, 0.20984716713428497, -0.0752505213022232, -0.09757798910140991, 0.013574212789535522, 0.404445618391037, -0.04014436528086662, -0.2317444533109665, -0.10226783901453018, 0.06950248777866364, -0.43104612827301025, -0.3697538375854492, 0.19906824827194214, -0.06043899804353714, -0.27190113067626953, -0.449697345495224, 0.11036211252212524, -0.14971411228179932, -0.14266206324100494, -0.017357677221298218, 0.7554109692573547, -0.1299837827682495, 0.1440429985523224, 0.3484105169773102, -0.009842492640018463, 0.016390684992074966, 0.052290260791778564, -0.11074306815862656, 0.1911843866109848, -0.8012257218360901, 0.13939757645130157, 0.23637276887893677, 0.10528279840946198, -0.004471808671951294, 0.07522764056921005, -0.30876296758651733, 0.3529423475265503, -0.10653122514486313, 0.18489165604114532, 0.42821741104125977, -0.12287579476833344, 0.08590681850910187, 0.1408546268939972, 0.17499202489852905, -0.08793987333774567, 0.06526156514883041, -0.11316394805908203, 0.48238417506217957, 0.16363811492919922, 0.10000179708003998, -0.1470942348241806, -0.13329428434371948, -0.28688693046569824, -0.2502439618110657, -0.005895895883440971, 0.20778192579746246, 0.10250401496887207, 0.3660200238227844, 0.01481955498456955, 0.2130100280046463, 0.1545119434595108, 0.32990384101867676, -0.14931467175483704, 0.11093118041753769, 0.09590227156877518, 0.37400349974632263, 0.3771290183067322, 0.21386943757534027, -0.28873592615127563, -0.2076585590839386, -0.000482119619846344, -0.09634054452180862, 0.379058301448822, 0.31242817640304565, -0.09431031346321106, -0.13874974846839905, 0.05438821762800217, -0.1938306838274002, -0.1780686229467392, 0.04801543056964874, -0.16132859885692596, -0.20556648075580597, 0.0904620885848999, -0.2120503932237625, 0.40541383624076843, -0.17123977839946747, 0.1126972958445549, -0.1433737426996231, 0.23252345621585846, -0.23017920553684235, -0.08961907774209976, -0.17735059559345245, 0.3182844817638397, 0.07231660187244415, -0.26679888367652893, 0.0016747545450925827, 0.06392700970172882, 0.10949894785881042, -0.30783283710479736, 0.33119338750839233, 0.5243857502937317, 0.357919305562973, -0.22420327365398407, 0.41051581501960754, -0.13078631460666656, 0.014375790022313595, -0.040520429611206055, 0.05011359602212906, 0.24709300696849823, 0.314731240272522, 0.18036505579948425, -0.07005582749843597, -0.37305817008018494, 0.010142816230654716, 0.23370659351348877, -0.19410452246665955, 0.14037509262561798, 0.06356722861528397, 0.002901429310441017, 0.18889915943145752, -0.04377882927656174, -0.2820929288864136, 0.21166330575942993, 0.7001582980155945, -0.14300329983234406, -0.08772555738687515, 0.2034004032611847, -0.12208213657140732, -0.17348387837409973, 0.25963202118873596, -0.19648875296115875, 0.03620074689388275, 0.27919265627861023, 0.19320625066757202, 0.04231146350502968, 0.09626706689596176, -0.09242710471153259, 0.27650439739227295, 0.2829679846763611, -0.1999603658914566, -0.10273634642362595, -0.006146453786641359, 0.05060213431715965, -0.4793814420700073, -0.2600153684616089, -0.16312764585018158, 0.13096289336681366, -0.006828431040048599, 0.1531667560338974, -0.03881893679499626, -0.5384290218353271, -0.1936458945274353, 0.00953738484531641, -0.46202754974365234, -0.314802885055542, 0.16393227875232697, -0.3027183711528778, 0.11212095618247986, 0.1313895434141159, -0.10905420780181885, 0.4423127770423889, -0.41135871410369873, 0.1225067600607872, -0.23341050744056702, -0.04679112136363983, -0.28205934166908264, 0.04725373163819313, 0.3346847891807556, -0.08718188852071762, 0.5347666144371033, 0.06584683060646057, 0.22933724522590637, -0.4791049063205719, -0.6914672255516052, 0.2517653703689575, -0.0625251904129982, 0.060873568058013916, 0.0744057446718216, -0.26373499631881714, 0.10708843171596527, -0.15352411568164825, -0.22299550473690033, -0.08731585741043091, 0.0007115025073289871, -0.4291413724422455, -0.19923990964889526, 0.03720738738775253, 0.044894520193338394, -0.3749202787876129, -0.29906636476516724, -0.32171884179115295, 0.18355853855609894, -0.031061425805091858, -0.040820956230163574, 0.16443400084972382, -0.10653714090585709, -0.04606720805168152, -0.2001323103904724, -0.2296532541513443, -0.1063951700925827, -0.0726010650396347, -0.0758686363697052, -0.022514207288622856, 0.059951573610305786, 0.15775549411773682, 0.02222299948334694, 0.14979113638401031, -0.16893912851810455, -0.1308632791042328, -0.08375179022550583, 0.0186921339482069, 0.4223439395427704, -0.014527451246976852, 0.1443040817975998, 0.11182021349668503, 0.006347148213535547, -0.0643499419093132, 0.12541550397872925, -0.26931920647621155, -0.11396946758031845, 0.14373299479484558, 0.08639994263648987, 0.05312252417206764, -0.11154479533433914, -0.0478975847363472, 0.3418107032775879, 0.12334978580474854, 0.19544394314289093, 0.4834095239639282, 0.2924732267856598, 0.5296638607978821, -0.26181113719940186, -0.4768340587615967, 0.10937950015068054, -0.1112959086894989, 0.07417333871126175, 0.27715644240379333, 0.20558035373687744, -0.3361624479293823, 0.14933036267757416, -0.005747202783823013, 0.006784085184335709, -0.08182401210069656, 0.41896238923072815, 0.00925980880856514, 0.20270630717277527, -0.006550757214426994, -0.06447432190179825, -0.36906975507736206, -0.0874052494764328, 0.20786167681217194, 0.3483120799064636, 0.024969592690467834, 0.2571913003921509, -0.34928813576698303, -0.1232047751545906, -0.3384663164615631, 0.2749602198600769, 0.07922349870204926, 0.019776109606027603, -0.0823475643992424, 0.11916973441839218, 0.1733173131942749, 0.09269530326128006, 0.3716045022010803, -0.41897547245025635, -0.6190130710601807, 0.35595616698265076, 0.15980786085128784, 0.6222735643386841, -0.03259643167257309, -0.17012406885623932, 0.28702419996261597, 0.48014068603515625, 0.24697239696979523, -0.28869712352752686, -0.2019672691822052, 0.027644654735922813, 0.17020568251609802, 0.10747706890106201, -0.011237923055887222, 0.014202889055013657, -0.21355286240577698, -0.2867533266544342, 0.3056761622428894, 0.4225834608078003, 0.2760373055934906, -0.16033734381198883, 0.06262755393981934, 0.36836695671081543, -0.08433633297681808, 0.29925310611724854, -0.046156417578458786, -0.0969160869717598, 0.23327180743217468, -0.13986684381961823, -0.2136644721031189, 0.12141521275043488, 0.06855859607458115, 0.23574887216091156, -0.4055759608745575, -0.42914873361587524, 0.16283613443374634, -0.26529955863952637, 0.44925135374069214, 0.5142319798469543, 0.08872801810503006, 0.3057277798652649, 0.09864499419927597, -0.10714046657085419, -0.13668909668922424, 0.11512153595685959, 0.010663834400475025, 0.09634615480899811, -0.5873397588729858, -0.7047119140625, 0.0823899358510971, 0.056030552834272385, -0.32448089122772217, 0.20773130655288696, 0.3095090389251709, -0.31220537424087524, 0.1352825164794922, -0.05803228169679642, 1.1347721815109253, -0.12701115012168884, 0.011132311075925827, -0.2046707570552826, -0.4868103861808777, 0.3829710781574249, -0.5073327422142029, -0.055246949195861816, -0.3304698169231415, 0.008789283223450184, -0.001756051555275917, 0.04554854705929756, 0.31951093673706055, 0.056422509253025055, -0.040163006633520126, 0.22244945168495178, 0.4074332118034363, -0.0024434849619865417, 0.10024848580360413, 0.6278195977210999, -0.08836264908313751, -0.18042272329330444, -0.10262920707464218, 0.08069054037332535, -0.04332704842090607, 0.12843888998031616, -0.18254348635673523, -0.34555208683013916, 0.03616056218743324, -0.06841770559549332, -0.6276845335960388, -0.2759673595428467, -0.16976594924926758, -0.1565980613231659, 0.00885515846312046, -0.5560166835784912, 0.836044430732727, -0.26578274369239807, 0.6054107546806335, 0.09210307151079178, -0.05348427593708038, 0.05797111243009567, 0.24067801237106323, -0.1872791051864624, 0.1601385474205017, -0.2660215198993683, 0.05176975950598717, -0.015866896137595177, -0.12769177556037903, 0.15332797169685364, 0.03722171485424042, -0.2470652014017105, -0.7998998761177063, 0.2222665250301361, 0.2435256391763687, -0.2204490453004837, 0.1317238211631775, 0.39850202202796936, 0.08858667314052582, -0.21976329386234283, 0.09405514597892761, 0.22709287703037262, -0.010770383290946484, -0.03534948080778122, -0.025376226752996445, -0.1496715247631073, -0.25865650177001953, -0.26155588030815125, 0.0982954353094101, -0.25906217098236084, -0.02870430052280426, 0.3826158940792084, -0.3641219735145569, -0.20182448625564575, 0.07954541593790054, 0.6696164011955261, -0.39559614658355713, -0.15054774284362793, 0.1658392995595932, -0.1702510416507721, -0.036237459629774094, 0.1328841745853424, 0.24429820477962494, -0.07515677064657211, -0.02033238671720028, 0.10326023399829865, 0.11462622135877609, 0.23255452513694763, -0.20801346004009247, 0.12400288879871368, -0.05956938862800598, 0.3039688766002655, 0.020090894773602486, 0.015474232845008373, -0.29259002208709717, 0.06986214965581894, 0.008385686203837395, -0.06416471302509308, -0.03476197272539139, -0.23152244091033936, -0.38454514741897583, -0.17438022792339325, -0.08286473155021667, -0.18232788145542145, -0.2166563868522644, -0.08233113586902618, 0.07659997045993805, 0.1659814566373825, 0.10189877450466156, 0.09337502717971802, 0.12286857515573502, 0.013619448989629745, 0.13556188344955444, -0.005740414373576641, 0.03217790648341179, -0.2368822693824768, 0.05053040757775307, 0.1423451453447342, 0.10225385427474976, 0.051202401518821716, 0.28282779455184937, 0.22991877794265747, 0.19333764910697937, 0.5038279294967651, 0.13698695600032806, 0.1747637391090393, 0.07418990880250931, 0.09279167652130127, 0.26085537672042847, 0.4706183671951294, 0.13370844721794128, 0.32647383213043213, 0.12741562724113464, 0.054367512464523315, 0.07441315054893494, 0.4673605263233185, 0.12035192549228668, 0.24188940227031708, -0.03289326652884483, 0.008258607238531113, 0.16900965571403503, 0.11262558400630951, -0.1867198646068573, -0.2289903163909912, 0.24038615822792053, -0.3091276288032532, 0.07890419661998749, 0.44728684425354004, 0.6027641296386719, 0.4344955086708069, 0.3758113980293274, -0.07127583026885986, 0.6770123243331909, 0.02971966192126274, 0.04525848105549812, -0.1572408527135849, 0.09572987258434296, 0.08453650027513504, 0.43801605701446533, 0.4060048758983612, -0.0886615440249443, 0.16978660225868225, -0.001687474548816681, 0.16247403621673584, 0.46107274293899536, 0.2377634048461914, 0.0976514145731926, -0.26533570885658264, 0.08751392364501953, -0.03409230709075928, 0.22767531871795654, 0.12857162952423096, 0.01423540711402893, 0.022400878369808197, -0.0975777730345726, -0.2028975635766983, 0.27415913343429565, -0.025034788995981216, -0.09162840992212296, 0.18456809222698212, 0.12320426106452942, -0.13802535831928253, -0.11433473974466324, -0.13951228559017181, -0.22517290711402893, -0.1689797192811966, -0.06516450643539429, -0.2952277660369873, -0.10219995677471161, 0.014214066788554192, -0.04915158450603485, -0.38356807827949524, 0.05711251124739647, -0.04849865287542343, 0.33204543590545654, -0.1766197234392166, 0.046545155346393585, 0.02711494266986847, 0.3000972270965576, 0.21166114509105682, 0.09166954457759857, -0.09822359681129456, -0.1218097135424614, -0.08262425661087036, -0.008177801966667175, 0.021037522703409195, 0.0798061192035675, 0.23326489329338074, 0.09768100082874298, 0.10356637835502625, 0.04403627663850784, 0.062131382524967194, -0.07638390362262726, 0.09462971240282059, -0.3344250023365021, -0.030912380665540695, 0.3250381052494049, 0.17558206617832184, -0.2135172188282013, -0.20715738832950592, 0.012555547058582306, -0.20321276783943176, 0.2592962384223938, 0.4056185185909271, -0.10119014233350754, -0.06383809447288513, -0.10690633952617645, 0.055516697466373444, 0.27328139543533325, 0.1511167585849762, 0.1952294558286667, 0.39447060227394104, -0.3665819764137268, -0.14698725938796997, -0.25996553897857666, 0.01096072793006897, -0.14593975245952606, 0.10623739659786224, 0.003696685191243887, 0.1683269739151001, 0.42048752307891846, 0.042663734406232834, -0.09153671562671661, 0.12107127159833908, -0.03754208981990814, 0.05291726812720299, -0.3433765470981598, 0.1152929812669754, 0.6019369959831238, 0.3543820381164551, -0.043171774595975876, 0.25211551785469055, 0.2502526640892029, 0.1490650177001953, -0.08275644481182098, -0.40749168395996094, 0.10926924645900726, 0.2820483446121216, -0.3813750445842743, 0.14924705028533936, -0.001837562769651413, 0.1446463167667389, 0.04306097328662872, -0.1464083194732666, -0.1196947991847992, -0.2460961788892746, -0.24300351738929749, 0.353981077671051, 0.001863040030002594, 0.1361977756023407, -0.07620479166507721, -0.7313618063926697, -0.1334792971611023, 0.24457252025604248, 0.06707977503538132, 0.29725104570388794, -0.33085617423057556, 0.259245902299881, -0.10429542511701584, -0.05119289457798004, -0.07769704610109329, 0.2591007351875305, 0.09969405829906464, -0.009285982698202133, -0.30420705676078796, -0.2613540589809418, 0.2582087516784668, 0.10044357180595398, -0.3881778419017792, -0.09857772290706635, -0.017649173736572266, 0.4858546555042267, 0.05534636974334717, -0.47337108850479126, -0.30344879627227783, 0.32442644238471985, 0.017543263733386993, -0.10181312263011932, 0.34729984402656555, 0.0053478628396987915, -0.041514307260513306, -0.19991661608219147, -0.181969553232193, 0.019958551973104477, -0.28637048602104187, -0.07007482647895813, -0.2640001177787781 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Hey @lhoestq, just finalizing the READMEs and testing them against the automated test. For the non, WIN tests, it seems like there is some dependency issue that doesn't have to do with the new datasets. For the WIN tests, it looks like some of the headings are mislabeled such as "Supported Tasks and Leaderboards" -> "Supported Tasks" in the TOC you posted. Should I base my TOC on the one you posted or on the one that the test script is using? Also, it throws errors for some of the fields being empty, such as "Source Data" in the `code_x_glue_tt_text_to_text` dataset. However, I am not familiar with this dataset, so I put the `[More Information Needed]` stub, similar to the other sections I couldn't easily answer. For some of the sections like "Source Data", is this info required?
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
138
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Hey @lhoestq, just finalizing the READMEs and testing them against the automated test. For the non, WIN tests, it seems like there is some dependency issue that doesn't have to do with the new datasets. For the WIN tests, it looks like some of the headings are mislabeled such as "Supported Tasks and Leaderboards" -> "Supported Tasks" in the TOC you posted. Should I base my TOC on the one you posted or on the one that the test script is using? Also, it throws errors for some of the fields being empty, such as "Source Data" in the `code_x_glue_tt_text_to_text` dataset. However, I am not familiar with this dataset, so I put the `[More Information Needed]` stub, similar to the other sections I couldn't easily answer. For some of the sections like "Source Data", is this info required?
[ -0.18057875335216522, 0.15411144495010376, -0.10342657566070557, 0.163885235786438, -0.10276217758655548, 0.1424597203731537, -0.3937161862850189, 0.2946731746196747, 0.06438758969306946, -0.3477427363395691, 0.002231285674497485, -0.08430001884698868, 0.04092489555478096, 0.150542214512825, 0.26387813687324524, -0.1971072405576706, 0.04459603875875473, 0.05423750355839729, 0.2908250689506531, -0.16738048195838928, -0.39139947295188904, 0.407549113035202, -0.15083716809749603, 0.11372093111276627, 0.2651140093803406, -0.27492326498031616, -0.32898688316345215, 0.5701465606689453, -0.3607969582080841, -0.5576918125152588, -0.13261915743350983, 0.3485027849674225, 0.12609009444713593, 0.25949761271476746, -0.00011297190940240398, -0.3495572805404663, 0.15016764402389526, -0.0836448222398758, 0.09177866578102112, 0.09462985396385193, -0.029312944039702415, -0.25569868087768555, -0.33473634719848633, -0.07161152362823486, -0.06886570155620575, -0.23240114748477936, -0.1220502257347107, -0.5107806324958801, 0.04959665238857269, 0.5591443181037903, 0.164215087890625, -0.004941446706652641, 0.24867887794971466, -0.18125075101852417, 0.5211424827575684, -0.050843268632888794, -0.0824851542711258, 0.1153130829334259, 0.849601149559021, -0.1724020093679428, -0.024582594633102417, 0.23554010689258575, -0.03055032342672348, -0.11785374581813812, 0.2927777171134949, -0.24975229799747467, -0.2510968744754791, -0.3335246741771698, 0.16101332008838654, 0.20420020818710327, 0.32259777188301086, -0.4424090087413788, -0.04876737296581268, -0.18216055631637573, -0.2101188600063324, -0.5242570638656616, 0.11797065287828445, -0.015236059203743935, -0.03612764924764633, 0.14782026410102844, -0.08470271527767181, -0.5428997874259949, -0.19489306211471558, -0.09949636459350586, -0.07837016135454178, -0.011694252490997314, -0.11546041071414948, -0.07644680887460709, 0.14003022015094757, 0.28323036432266235, -0.002965920604765415, -0.2553911507129669, -0.4466772675514221, 0.059090182185173035, -0.11105440557003021, -0.27524909377098083, 0.10272553563117981, 0.3647429645061493, 0.14773133397102356, 0.11604654043912888, -0.21808524429798126, 0.18179291486740112, -0.3220639228820801, -0.2449307143688202, 0.15067212283611298, 0.08024214208126068, 0.2436535656452179, 0.05232279375195503, -0.09297125041484833, 0.035756513476371765, 0.12023191154003143, -0.05972667038440704, -0.03517463803291321, -0.24460995197296143, -0.2289402037858963, 0.1669294834136963, 0.10652521252632141, -0.45186886191368103, -0.22164253890514374, 0.3486647605895996, 0.04261676222085953, -0.26013296842575073, -0.13449251651763916, 0.2767048478126526, 0.054600790143013, -0.04063553363084793, 0.1360868364572525, 0.2648022174835205, -0.1461346447467804, -0.16252972185611725, -0.012212364934384823, 0.25892263650894165, -0.37504836916923523, 0.28166094422340393, 0.1322934329509735, 0.06031102314591408, -0.05116221308708191, 0.23495842516422272, -0.018987640738487244, 0.11486028134822845, 0.03804433345794678, -0.07222023606300354, 0.38684898614883423, -0.10615970194339752, -0.05174630135297775, -0.009952171705663204, 0.18341434001922607, -0.42523467540740967, -0.29662060737609863, 0.17597916722297668, 0.0255170539021492, -0.13135077059268951, -0.14707137644290924, 0.1470080018043518, -0.31781190633773804, -0.14050114154815674, 0.02792011946439743, 0.5609050393104553, -0.10313888639211655, 0.059862446039915085, 0.31846681237220764, -0.010396543890237808, -0.10440045595169067, 0.047356534749269485, -0.12245717644691467, 0.4682844281196594, -0.606145977973938, 0.289722740650177, 0.1553572565317154, 0.025733372196555138, -0.03861423581838608, 0.007850153371691704, -0.048190273344516754, 0.33078113198280334, -0.1667802631855011, 0.00653742253780365, 0.16598676145076752, -0.2791256010532379, 0.07889490574598312, 0.3039757013320923, 0.02922198921442032, 0.020492205396294594, 0.1378084123134613, -0.2662554085254669, 0.4768179655075073, -0.16899541020393372, 0.07597742974758148, -0.18031299114227295, -0.21051616966724396, -0.2290567308664322, -0.5068932175636292, 0.080502450466156, -0.07387439906597137, 0.08557859063148499, 0.2809317409992218, -0.020517155528068542, 0.1776963174343109, -0.19230547547340393, 0.3316163122653961, -0.06172962114214897, 0.0429452508687973, 0.43484973907470703, 0.3678892254829407, -0.038571424782276154, 0.06967927515506744, 0.02698269486427307, -0.16846472024917603, -0.011572666466236115, -0.019984468817710876, 0.6070854067802429, 0.4628986120223999, -0.024950791150331497, -0.38837167620658875, -0.09020662307739258, -0.16679520905017853, -0.37822476029396057, 0.04569683223962784, 0.004509970545768738, -0.14702393114566803, -0.10360391438007355, -0.07459515333175659, 0.20450960099697113, -0.2793225347995758, 0.06985221058130264, -0.04896796867251396, 0.107026606798172, -0.16431677341461182, -0.18052901327610016, 0.07738605886697769, 0.3214397430419922, 0.2011682093143463, -0.16004787385463715, -0.13474497199058533, 0.21236079931259155, -0.07067161053419113, -0.16319803893566132, 0.21674495935440063, 0.5498085618019104, 0.2528517246246338, -0.33912354707717896, 0.4604375660419464, -0.054018449038267136, 0.11883141100406647, -0.1497366726398468, -0.1865052878856659, 0.42114800214767456, 0.010157378390431404, 0.1747777760028839, 0.10857716202735901, -0.32945361733436584, -0.006466992199420929, -0.09898287802934647, -0.10612405836582184, 0.16193293035030365, 0.21469441056251526, 0.236989825963974, 0.13906711339950562, -0.13154776394367218, -0.19856955111026764, 0.32476773858070374, 0.6862715482711792, -0.11569355428218842, -0.27336573600769043, 0.09095700085163116, -0.06691198796033859, -0.19064053893089294, 0.14277634024620056, -0.21149206161499023, 0.2851772904396057, 0.3000941872596741, 0.18760116398334503, 0.20108118653297424, -0.016407791525125504, -0.17460650205612183, 0.290769100189209, -0.05924816429615021, -0.2090252935886383, 0.08981464803218842, -0.1376047432422638, -0.010913160629570484, -0.1944844126701355, -0.07751716673374176, -0.1191762387752533, 0.14846332371234894, -0.31614091992378235, -0.03091023862361908, 0.12205962836742401, -0.15717750787734985, -0.27798306941986084, 0.10700563341379166, -0.17377600073814392, -0.3492624759674072, 0.22223539650440216, -0.10856392979621887, 0.15112963318824768, 0.12024881690740585, -0.1990412324666977, 0.5419822931289673, -0.3239319622516632, 0.1657334715127945, -0.27564147114753723, -0.13951528072357178, -0.37098750472068787, 0.09656360745429993, 0.4414723217487335, 0.1430884152650833, 0.48645639419555664, -0.16406673192977905, 0.2774884104728699, -0.30009695887565613, -0.44818350672721863, 0.2124965488910675, -0.3348093032836914, 0.16782936453819275, -0.09759105741977692, 0.07916130125522614, 0.192066952586174, -0.11694415658712387, -0.20078524947166443, -0.1858663707971573, -0.12087728083133698, -0.3022436201572418, -0.3025893270969391, -0.358241468667984, 0.04329346492886543, -0.5927106142044067, 0.016003966331481934, -0.2406296730041504, 0.26481056213378906, 0.0801907628774643, -0.03593585640192032, 0.20142203569412231, -0.043930329382419586, 0.02387610822916031, -0.0775357037782669, -0.13892054557800293, -0.158268004655838, -0.17568032443523407, 0.02700072154402733, -0.11453253775835037, -0.08012931048870087, 0.1348569244146347, 0.046488747000694275, 0.2080014944076538, -0.303111732006073, -0.2598630487918854, -0.056524790823459625, -0.08247336745262146, 0.3042985200881958, 0.019458089023828506, 0.15200254321098328, 0.21291285753250122, -0.057356346398591995, -0.15172886848449707, -0.03460126370191574, -0.2225835770368576, 0.040212731808423996, -0.05298656225204468, 0.13864023983478546, -0.06736446171998978, -0.05501318722963333, -0.14258010685443878, 0.5202631950378418, 0.224604070186615, 0.1053408682346344, 0.28042206168174744, 0.040053948760032654, 0.6309465169906616, 0.004914022982120514, -0.45278745889663696, 0.19682219624519348, -0.12049281597137451, 0.12872783839702606, 0.3749385476112366, -0.03450988605618477, -0.1690378338098526, 0.18775475025177002, 0.3519012928009033, -0.13717862963676453, -0.20734868943691254, 0.3861786723136902, -0.16029980778694153, 0.1626070886850357, -0.05466257035732269, 0.0759836956858635, -0.3121938705444336, -0.23285940289497375, 0.34810635447502136, 0.4338582158088684, -0.08179185539484024, 0.02029678225517273, -0.40338602662086487, 0.06594563275575638, -0.28665614128112793, 0.46869826316833496, -0.14709824323654175, 0.15257897973060608, -0.24423888325691223, 0.05289880931377411, 0.02189403772354126, -0.013563362881541252, 0.3445630669593811, -0.508020281791687, -0.46630555391311646, 0.634063184261322, 0.5023879408836365, 0.4395938217639923, -0.10879403352737427, -0.40098071098327637, 0.4197557270526886, 0.40862369537353516, 0.20240634679794312, -0.18692708015441895, -0.20707392692565918, 0.15163913369178772, 0.07622230052947998, 0.04531025514006615, -0.033875513821840286, -0.05307144671678543, -0.38651570677757263, -0.30144432187080383, 0.325419157743454, 0.30447521805763245, 0.1386326551437378, -0.5779964923858643, 0.1646171510219574, 0.41575631499290466, 0.20493751764297485, 0.3793535828590393, -0.16342657804489136, -0.0055403923615813255, 0.2307468056678772, -0.02140285074710846, -0.15635904669761658, -0.11018157005310059, 0.021743854507803917, 0.43241289258003235, -0.32294967770576477, -0.18500447273254395, 0.2501083314418793, -0.252614289522171, 0.4112946093082428, 0.7065727710723877, 0.1954803317785263, 0.182035893201828, -0.052000902593135834, 0.0663534551858902, -0.07789190113544464, 0.27553117275238037, 0.04200158268213272, 0.10273396968841553, -0.3165598511695862, -0.4888925552368164, 0.010542429983615875, -0.05049477145075798, -0.2590711712837219, 0.23286671936511993, 0.3371089696884155, -0.28156617283821106, 0.10067077726125717, -0.048618562519550323, 1.19065260887146, -0.09719601273536682, 0.008725464344024658, 0.005291486158967018, -0.30046194791793823, 0.01090758852660656, -0.5697245597839355, -0.09338650852441788, -0.42007750272750854, 0.03351416811347008, 0.03257608413696289, 0.008099634200334549, 0.27372050285339355, 0.03782575577497482, -0.2744043469429016, 0.3069398105144501, 0.5147190690040588, -0.04323164001107216, 0.16452910006046295, 0.5707406997680664, -0.11854084581136703, -0.1620209813117981, 0.05506152659654617, 0.10403594374656677, 0.1123727560043335, 0.13934139907360077, -0.2572338879108429, -0.3030429482460022, -0.07761331647634506, -0.11734259873628616, -0.6260928511619568, -0.10218915343284607, -0.3136160969734192, -0.37178289890289307, 0.15743015706539154, -0.369793176651001, 0.7302577495574951, -0.16069817543029785, 0.8241031765937805, 0.23679819703102112, -0.24959757924079895, 0.08569870889186859, 0.36727964878082275, -0.17628416419029236, 0.36631280183792114, -0.11273206025362015, 0.1737447828054428, 0.10616559535264969, -0.17504911124706268, 0.1231129914522171, -0.08344368636608124, -0.001365620642900467, -0.46427053213119507, -0.16700558364391327, 0.03344210982322693, -0.4408542811870575, 0.06793884932994843, 0.4059220552444458, 0.08440756797790527, -0.1940584033727646, 0.1517351269721985, 0.09293907880783081, -0.06909617781639099, 0.1329706609249115, -0.10026407241821289, -0.29945462942123413, -0.039741311222314835, -0.19028425216674805, -0.03414204716682434, -0.35681232810020447, 0.0707244873046875, 0.46243494749069214, -0.14681462943553925, -0.30346745252609253, 0.12195662409067154, 0.6340345144271851, -0.30788731575012207, -0.314582884311676, 0.06652889400720596, -0.1487107127904892, 0.04808279871940613, 0.3472973108291626, 0.32613974809646606, -0.08918382972478867, 0.13309252262115479, 0.08476051688194275, -0.03849831223487854, 0.27094870805740356, 0.030141837894916534, 0.24466264247894287, -0.2575688064098358, 0.2394714504480362, -0.022622933611273766, 0.2035064548254013, -0.36813926696777344, 0.054978519678115845, -0.0374266617000103, -0.07136157155036926, 0.21997666358947754, -0.2333182990550995, -0.31164827942848206, -0.19896288216114044, 0.01620032824575901, -0.11711092293262482, -0.34043580293655396, -0.12944838404655457, 0.15293201804161072, 0.18302308022975922, 0.01006039883941412, -0.252299040555954, 0.08046526461839676, -0.03810049593448639, 0.09606166183948517, 0.061937976628541946, -0.06825266778469086, -0.3093978762626648, -0.027417510747909546, 0.023575522005558014, -0.16921183466911316, 0.23190796375274658, 0.08708339929580688, 0.05187322199344635, 0.06933626532554626, 0.5851548910140991, 0.002831165213137865, 0.13455486297607422, 0.011257961392402649, -0.05770241469144821, 0.5317285060882568, 0.43811213970184326, 0.4647214412689209, 0.3804509937763214, 0.13133713603019714, 0.04624634608626366, 0.03940928354859352, 0.32310330867767334, 0.10850207507610321, 0.32310909032821655, -0.2681390345096588, 0.12106041610240936, -0.01349455863237381, 0.19636270403862, -0.1438273787498474, 0.04649490490555763, 0.08950662612915039, -0.366057813167572, 0.06838755309581757, 0.27006402611732483, 0.48239317536354065, 0.12871283292770386, 0.49587368965148926, -0.009291710332036018, 0.40974485874176025, 0.11838340759277344, -0.11842124164104462, -0.23150721192359924, 0.06733246147632599, -0.03136967495083809, 0.4056040346622467, 0.34936150908470154, -0.09103227406740189, -0.10834822058677673, 0.23336976766586304, 0.05411437898874283, 0.07504573464393616, 0.32461830973625183, -0.06330613046884537, -0.3832407295703888, 0.18817009031772614, -0.14795386791229248, 0.2870003879070282, 0.19436338543891907, 0.09468276053667068, 0.22372031211853027, -0.1000543013215065, -0.23164692521095276, 0.015020756050944328, -0.09339778125286102, -0.031859517097473145, 0.042334359139204025, 0.004240415990352631, -0.2285255789756775, -0.3026476204395294, -0.12826918065547943, -0.12072204053401947, -0.05374312400817871, -0.03747674822807312, -0.24144385755062103, -0.09101270139217377, 0.05986800789833069, -0.0981396958231926, -0.21257638931274414, 0.024191968142986298, -0.16610293090343475, 0.5806260704994202, 0.04937919229269028, 0.16871891915798187, 0.05019014701247215, 0.4145057201385498, 0.4570409953594208, 0.07949238270521164, -0.46047133207321167, -0.0069518378004431725, -0.03085075318813324, -0.04278985410928726, 0.18554994463920593, 0.1504436731338501, 0.07348325103521347, 0.08413371443748474, 0.038435228168964386, 0.07749263197183609, 0.042086850851774216, 0.012741580605506897, -0.09044000506401062, -0.5899659395217896, 0.023307470604777336, 0.23359808325767517, 0.17501550912857056, -0.3260912299156189, -0.22623273730278015, -0.14210769534111023, -0.2308148741722107, 0.060262713581323624, 0.396023154258728, -0.15659967064857483, 0.09411870688199997, -0.013975006528198719, 0.13474100828170776, 0.3053167462348938, 0.1122741550207138, 0.1436287760734558, 0.5282151103019714, -0.5589199066162109, -0.25772982835769653, -0.491626113653183, 0.08431609719991684, 0.058537233620882034, -0.028240451589226723, 0.02026825211942196, 0.047308288514614105, 0.5790905952453613, 0.08217059075832367, -0.22529931366443634, 0.12023898959159851, -0.0299421064555645, 0.055564578622579575, -0.3754613697528839, 0.20959407091140747, 0.48309195041656494, 0.18140345811843872, -0.02526455745100975, 0.11031318455934525, 0.0889638215303421, 0.22208832204341888, 0.013966694474220276, -0.31096351146698, 0.0666205883026123, 0.3810294568538666, -0.12833137810230255, 0.0011081770062446594, -0.07611089199781418, 0.4080142676830292, -0.0660845935344696, -0.1773330420255661, 0.03811151534318924, -0.025632059201598167, -0.1275801956653595, 0.26534491777420044, -0.11380952596664429, 0.031577982008457184, 0.0895967185497284, -0.5534753203392029, -0.15602511167526245, -0.046491190791130066, 0.17329159379005432, 0.3209894597530365, -0.38844171166419983, 0.14229819178581238, -0.18892282247543335, 0.18785889446735382, 0.08611749112606049, 0.3477621078491211, 0.06524105370044708, 0.2643691301345825, -0.4454493522644043, -0.16074344515800476, 0.41801920533180237, 0.1126062422990799, -0.13888351619243622, 0.023589130491018295, 0.2405627965927124, 0.2917279601097107, 0.0939955785870552, -0.47065839171409607, -0.27987998723983765, 0.2796509563922882, -0.09610498696565628, -0.11949391663074493, 0.16950994729995728, -0.006385531276464462, -0.03404632955789566, -0.060974642634391785, 0.21103596687316895, -0.0006020106375217438, -0.20863157510757446, -0.19086714088916779, -0.26259419322013855 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Yes you're right, it is `Supported Tasks and Leaderboards` that we need to use, sorry about that I also noticed the same for the splits section: we have to use `Data Splits` (not Data Splits Sample Size)
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
37
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Yes you're right, it is `Supported Tasks and Leaderboards` that we need to use, sorry about that I also noticed the same for the splits section: we have to use `Data Splits` (not Data Splits Sample Size)
[ -0.24796101450920105, 0.13512581586837769, -0.17324717342853546, 0.15074574947357178, 0.017586126923561096, 0.009154953062534332, -0.32333898544311523, 0.138739213347435, 0.1837039291858673, -0.17095352709293365, -0.007226003333926201, 0.00414638314396143, 0.05985645204782486, 0.3360311686992645, 0.36715438961982727, -0.21112143993377686, 0.17006756365299225, 0.10804261267185211, 0.48000118136405945, -0.10457167774438858, -0.41121599078178406, 0.27288293838500977, -0.12417565286159515, 0.10856425762176514, 0.25043225288391113, -0.17359107732772827, -0.20742149651050568, 0.3789329528808594, -0.35444390773773193, -0.47860944271087646, -0.14730015397071838, 0.23982560634613037, 0.16072878241539001, 0.15096376836299896, -0.00011522308341227472, -0.13436558842658997, 0.15181401371955872, -0.1756182163953781, -0.005088448524475098, 0.019982166588306427, -0.20362409949302673, -0.3394598364830017, -0.23165899515151978, -0.027071788907051086, -0.17974698543548584, -0.37132272124290466, -0.017574625089764595, -0.7302564382553101, 0.12355614453554153, 0.35803529620170593, 0.11625653505325317, 0.02720094844698906, 0.1411496251821518, -0.2984556257724762, 0.5056901574134827, 0.013954564929008484, -0.10845885425806046, 0.05613981559872627, 0.8609850406646729, -0.025504130870103836, -0.1278786063194275, 0.35679107904434204, -0.006990490481257439, -0.06434659659862518, 0.3217817544937134, -0.2576218843460083, -0.21759390830993652, -0.3532838523387909, 0.22637900710105896, 0.16236895322799683, 0.2715138792991638, -0.24626031517982483, -0.00887046568095684, -0.3403366208076477, -0.3345213830471039, -0.558381974697113, 0.011992525309324265, 0.14675173163414001, -0.05062635987997055, 0.2032608538866043, 0.007410126738250256, -0.5865248441696167, -0.03544286638498306, 0.01636606454849243, -0.04422372579574585, 0.1839779019355774, -0.01280889566987753, 0.030777186155319214, 0.29906165599823, 0.3756256699562073, 0.09633410722017288, 0.11305101215839386, -0.32219380140304565, -0.14185471832752228, -0.10945093631744385, -0.00884166732430458, 0.1072143018245697, 0.18070870637893677, 0.18585002422332764, 0.18614090979099274, -0.18405979871749878, 0.11663884669542313, -0.017946898937225342, -0.10867910832166672, 0.31715792417526245, -0.067252978682518, 0.31758391857147217, 0.05871424823999405, -0.08068601787090302, -0.07337518036365509, 0.25925159454345703, -0.2059212028980255, 0.015075701288878918, -0.17087829113006592, -0.3417537808418274, 0.2240782082080841, -0.09123190492391586, -0.20880712568759918, -0.21128343045711517, 0.17535272240638733, -0.1199754849076271, -0.3950253129005432, -0.15446309745311737, 0.3053759038448334, 0.19902999699115753, -0.09330179542303085, -0.017223957926034927, 0.17488133907318115, -0.04584551602602005, -0.4153425097465515, -0.08070109784603119, 0.1280277520418167, -0.44960206747055054, 0.23359666764736176, -0.037890348583459854, -0.2193930298089981, 0.037430405616760254, 0.19458027184009552, 0.10920552164316177, -0.09108532220125198, 0.05142185091972351, -0.0945531576871872, 0.46762093901634216, 0.10907499492168427, 0.038163941353559494, -0.09937015920877457, 0.21851746737957, -0.34777045249938965, -0.2848077416419983, 0.3198337256908417, -0.06582001596689224, -0.18418122828006744, -0.3432997763156891, 0.07449104636907578, -0.09790161997079849, -0.1250290721654892, -0.013327933847904205, 0.7809783220291138, -0.01870577782392502, 0.08284752070903778, 0.42406755685806274, 0.05649814009666443, -0.1530812829732895, 0.04353027045726776, -0.049077536910772324, 0.29444563388824463, -0.8016873598098755, 0.07290415465831757, 0.0070416429080069065, -0.03407863900065422, 0.019426316022872925, 0.09707540273666382, -0.17345629632472992, 0.2739313542842865, -0.08601830899715424, 0.22519223392009735, 0.37076741456985474, -0.26796168088912964, 0.020994441583752632, 0.2755937874317169, 0.13991862535476685, -0.15927700698375702, 0.2578900158405304, -0.20663273334503174, 0.7072346210479736, 0.07022523134946823, -0.042321912944316864, -0.12432962656021118, -0.19380858540534973, -0.20477353036403656, -0.17631541192531586, -0.12462277710437775, 0.1957239955663681, 0.19698801636695862, 0.3817770183086395, -0.007835149765014648, 0.2723388969898224, 0.12887929379940033, 0.31485864520072937, -0.032559413462877274, 0.10431356728076935, 0.28621506690979004, 0.2593529224395752, 0.2519494891166687, 0.24602572619915009, -0.09775335341691971, -0.08732815831899643, -0.20973622798919678, -0.08635562658309937, 0.35841599106788635, 0.42914360761642456, -0.10891743749380112, -0.4088248014450073, -0.15356804430484772, -0.21223218739032745, -0.4036960303783417, 0.04245828837156296, -0.21687176823616028, -0.2589408755302429, -0.05155252292752266, -0.13530784845352173, 0.26510488986968994, -0.3282012343406677, 0.07102161645889282, -0.14489665627479553, 0.24510549008846283, -0.17735996842384338, -0.20970115065574646, -0.06650769710540771, 0.33903932571411133, 0.18570849299430847, -0.18067026138305664, -0.04650344327092171, 0.14624348282814026, 0.023808440193533897, -0.2775570750236511, 0.26908665895462036, 0.449160635471344, 0.22262397408485413, -0.37568098306655884, 0.4214740991592407, 0.10953138768672943, -0.030800282955169678, -0.0987616553902626, -0.03412747383117676, 0.22359725832939148, 0.23993439972400665, 0.23650124669075012, 0.0000775456428527832, -0.346451997756958, -0.006879450753331184, 0.05731719359755516, -0.05974593013525009, 0.10783021152019501, 0.11233198642730713, 0.0256427563726902, 0.3515539765357971, -0.10594294965267181, -0.18097615242004395, 0.23535776138305664, 1.0637651681900024, -0.08526232838630676, -0.08225976675748825, 0.2429284155368805, -0.12086421996355057, -0.32871267199516296, 0.10366611182689667, -0.22079859673976898, 0.14273183047771454, 0.23213113844394684, 0.22011873126029968, 0.10108543932437897, 0.17506396770477295, -0.19791768491268158, 0.3191228210926056, 0.2098906934261322, -0.15065772831439972, -0.06343463063240051, -0.147923082113266, -0.14684976637363434, -0.37606701254844666, -0.07752294838428497, -0.10512945801019669, 0.10017883777618408, -0.08294278383255005, 0.10673906654119492, 0.04657898098230362, -0.3745889663696289, -0.3283485770225525, 0.2143404483795166, -0.39065203070640564, -0.3495332598686218, 0.16020368039608002, -0.29961511492729187, 0.17293615639209747, 0.18745627999305725, 0.10312561690807343, 0.45559102296829224, -0.3435003161430359, 0.31331324577331543, -0.27416926622390747, -0.14011570811271667, -0.3489314019680023, 0.040848035365343094, 0.20053468644618988, -0.010916244238615036, 0.46199265122413635, -0.23834599554538727, 0.17316044867038727, -0.4350707530975342, -0.4478297233581543, 0.3706135153770447, -0.1946437954902649, 0.09210322052240372, 0.0523931160569191, 0.004546858370304108, 0.09011343121528625, -0.0769912376999855, -0.19683419167995453, -0.18151116371154785, -0.05904126167297363, -0.464815616607666, -0.3467724919319153, 0.1307334005832672, 0.04281782731413841, -0.5791022181510925, -0.28501904010772705, -0.37547701597213745, 0.26515454053878784, -0.016776902601122856, -0.002909146249294281, 0.11314244568347931, -0.013321423903107643, 0.0027161813341081142, -0.030395226553082466, -0.10391204804182053, -0.24909649789333344, -0.043156977742910385, -0.14982479810714722, -0.07697095721960068, 0.000792965292930603, 0.1562553495168686, 0.133320614695549, 0.13088592886924744, -0.20641976594924927, -0.246452197432518, 0.05253428593277931, 0.04247181862592697, 0.18269552290439606, -0.049831144511699677, 0.2770306169986725, 0.133743017911911, -0.1246950700879097, -0.11817049980163574, -0.028329581022262573, -0.2811228334903717, -0.025718174874782562, -0.09692534059286118, 0.13509073853492737, 0.016308989375829697, 0.028171122074127197, 0.06244981661438942, 0.47310870885849, 0.2694910168647766, 0.26030203700065613, 0.3630859851837158, 0.1701405644416809, 0.5541550517082214, -0.18023917078971863, -0.4036060869693756, 0.2622940242290497, -0.12900400161743164, 0.16836310923099518, 0.3512689471244812, 0.016002828255295753, -0.28933635354042053, 0.2669820487499237, 0.09485326707363129, -0.09595590084791183, -0.08938106894493103, 0.40321817994117737, 0.11893483996391296, 0.2696843147277832, -0.0261671282351017, 0.12078318744897842, -0.2727341949939728, -0.12982335686683655, 0.20490369200706482, 0.45475858449935913, -0.0606355145573616, 0.2189195156097412, -0.1925133615732193, -0.019536400213837624, -0.24761483073234558, 0.3894718289375305, -0.10704299062490463, 0.033863577991724014, -0.2766067385673523, 0.08338057994842529, 0.24594219028949738, 0.09585827589035034, 0.35623085498809814, -0.34920692443847656, -0.5341557264328003, 0.2892465591430664, 0.37872183322906494, 0.6126304864883423, -0.08968044817447662, -0.2780074179172516, 0.3118588924407959, 0.5510736703872681, 0.10493841767311096, -0.32002630829811096, -0.269898921251297, 0.20925390720367432, 0.09954874962568283, -0.011823754757642746, -0.08315351605415344, -0.2771884500980377, -0.31988272070884705, -0.41650334000587463, 0.34364187717437744, 0.46269774436950684, 0.07094289362430573, -0.3243204951286316, 0.05646957829594612, 0.4544876217842102, 0.07027272880077362, 0.19456689059734344, -0.1288604438304901, 0.04715915396809578, 0.19823119044303894, -0.2882031500339508, 0.05760343000292778, 0.005582775920629501, 0.011302550323307514, 0.3870837092399597, -0.31346559524536133, -0.2460595965385437, 0.4050458073616028, -0.43304842710494995, 0.46247801184654236, 0.6339461803436279, 0.1086266040802002, 0.35748887062072754, 0.27077630162239075, 0.03632616624236107, -0.1868094950914383, 0.050393614917993546, 0.11257841438055038, -0.057914551347494125, -0.42578017711639404, -0.7781951427459717, 0.06444807350635529, 0.12882877886295319, -0.18321824073791504, 0.1635008007287979, 0.19456082582473755, -0.21647481620311737, 0.12300099432468414, -0.09276487678289413, 1.1690906286239624, -0.19938455522060394, 0.005905508995056152, -0.1184982880949974, -0.528450608253479, 0.15615373849868774, -0.5752403736114502, -0.02167689800262451, -0.38858485221862793, -0.03668086975812912, -0.06496609002351761, -0.001124359667301178, 0.3493845462799072, 0.1470954716205597, -0.20114946365356445, 0.33813443779945374, 0.3777802586555481, -0.005901165306568146, 0.0787317231297493, 0.5228220224380493, -0.023691387847065926, -0.14139610528945923, -0.01942266896367073, 0.03733526170253754, -0.06468038260936737, 0.08287200331687927, -0.1314411461353302, -0.3825850486755371, 0.01243065670132637, -0.13899460434913635, -0.7523431777954102, -0.37543585896492004, -0.1354363113641739, -0.1526750773191452, 0.16707675158977509, -0.5454276204109192, 0.7580549716949463, -0.3599035143852234, 0.6904752850532532, 0.007485970854759216, -0.11644524335861206, 0.10334481298923492, 0.36838528513908386, -0.21436770260334015, 0.16610507667064667, -0.0684811919927597, 0.04602232575416565, 0.024734020233154297, -0.1555933952331543, 0.17930153012275696, -0.11348799616098404, -0.2839815020561218, -0.7256665229797363, 0.21725095808506012, 0.1482534408569336, -0.29957473278045654, 0.20286118984222412, 0.35533568263053894, 0.183689683675766, -0.29171010851860046, 0.08621735870838165, 0.10144845396280289, 0.08028870820999146, -0.14211410284042358, -0.07083339989185333, -0.24517576396465302, -0.2263534516096115, -0.2509077787399292, 0.18222984671592712, -0.2913161516189575, 0.029539551585912704, 0.44434255361557007, -0.28149428963661194, -0.25963544845581055, 0.10904204100370407, 0.6757648587226868, -0.4768913686275482, -0.18412639200687408, 0.09919852018356323, -0.2606269121170044, 0.02253126911818981, 0.32893314957618713, 0.1302308589220047, 0.02049773558974266, -0.029975302517414093, 0.0021957382559776306, 0.03977549076080322, 0.19509869813919067, -0.20192362368106842, 0.011954184621572495, -0.002589542418718338, 0.22576722502708435, 0.06055322289466858, 0.13239076733589172, -0.2820450961589813, 0.09399444609880447, -0.09483715146780014, -0.014978930354118347, 0.09414788335561752, -0.3006359338760376, -0.2918068468570709, -0.04418465122580528, -0.08357105404138565, -0.07404983043670654, -0.340768963098526, -0.05054435878992081, 0.029090996831655502, 0.2030124068260193, -0.02611977979540825, 0.004558057989925146, 0.036718107759952545, 0.02413567155599594, 0.030545590445399284, 0.05279999598860741, 0.03445309400558472, -0.3400258421897888, 0.11614453792572021, 0.13936388492584229, 0.015090007334947586, 0.13513800501823425, 0.11729110777378082, 0.048481933772563934, 0.10941344499588013, 0.6297270655632019, -0.09795808792114258, 0.14345157146453857, 0.0032840718049556017, 0.12325692176818848, 0.2342156618833542, 0.3964783251285553, 0.4847652316093445, 0.4779389202594757, 0.049003709107637405, 0.057765066623687744, 0.12447506189346313, 0.2754041254520416, 0.12133969366550446, 0.29510587453842163, -0.18035604059696198, -0.025999536737799644, 0.04119650274515152, 0.11370638757944107, -0.21884426474571228, -0.10264462232589722, 0.2232111245393753, -0.3489683270454407, 0.0474243126809597, 0.3961828052997589, 0.7210695743560791, 0.39994949102401733, 0.5624918341636658, 0.01000613160431385, 0.5046339631080627, -0.033307041972875595, 0.062495168298482895, -0.13635249435901642, 0.15410000085830688, 0.02282731980085373, 0.46209248900413513, 0.25228244066238403, -0.008889168500900269, 0.13679617643356323, 0.11950169503688812, 0.1344628781080246, 0.3902454972267151, 0.28436270356178284, -0.017687156796455383, -0.2475934475660324, 0.1295183300971985, -0.05820649862289429, 0.15243634581565857, 0.08601433783769608, 0.00690951943397522, 0.31763648986816406, -0.14186078310012817, -0.12720134854316711, 0.1420680433511734, -0.12321636080741882, -0.0784788727760315, 0.1299298107624054, 0.16153495013713837, -0.18475878238677979, -0.3728332817554474, -0.08460035920143127, -0.07151597738265991, -0.0009633824229240417, 0.13294613361358643, -0.30270916223526, -0.02371671050786972, 0.10116207599639893, -0.1418071985244751, -0.29506054520606995, -0.018999524414539337, -0.18231692910194397, 0.4091157019138336, -0.14681990444660187, 0.17326167225837708, 0.26043620705604553, 0.34136882424354553, 0.25430577993392944, 0.00952870212495327, -0.22121107578277588, -0.17382194101810455, 0.04729559272527695, -0.1205422580242157, 0.016495119780302048, 0.03559873625636101, 0.2423889935016632, 0.18206097185611725, 0.022068552672863007, 0.01618547923862934, -0.021111521869897842, -0.08849816024303436, 0.07203628122806549, -0.44816070795059204, -0.011928843334317207, 0.33309218287467957, 0.05798136442899704, -0.21871861815452576, -0.16115207970142365, -0.16949686408042908, -0.3543711006641388, 0.25081947445869446, 0.32733091711997986, -0.13529996573925018, 0.03292793408036232, -0.18778841197490692, 0.05053249001502991, 0.27331340312957764, 0.1970815658569336, 0.19652830064296722, 0.3772520124912262, -0.43032151460647583, -0.24319413304328918, -0.33574676513671875, 0.1037399172782898, -0.13840334117412567, 0.02401256375014782, 0.060388002544641495, 0.12754662334918976, 0.3895004987716675, 0.21551258862018585, 0.05412942171096802, 0.06420449167490005, 0.10209537297487259, -0.031133927404880524, -0.3596772253513336, 0.04572764039039612, 0.6104128956794739, 0.3033890426158905, -0.04063156992197037, 0.22022053599357605, 0.23074595630168915, 0.2559612989425659, -0.04082793369889259, -0.4754287600517273, -0.09187410771846771, 0.5303497314453125, -0.17398260533809662, 0.053118474781513214, -0.1017247661948204, 0.1475067436695099, -0.10680841654539108, -0.24560797214508057, 0.13776199519634247, -0.02156800962984562, -0.24805548787117004, 0.3242027461528778, -0.07517634332180023, 0.16253243386745453, -0.09277636557817459, -0.632629930973053, -0.2601620852947235, 0.13451077044010162, 0.051511138677597046, 0.37946194410324097, -0.45783692598342896, 0.22866320610046387, -0.07559215277433395, 0.031742483377456665, 0.027428530156612396, 0.2259756326675415, 0.10035255551338196, -0.012175140902400017, -0.39536792039871216, -0.2187715470790863, 0.2678687274456024, 0.05536338686943054, -0.28768032789230347, -0.028278134763240814, 0.028054386377334595, 0.5184389352798462, 0.13978281617164612, -0.5290090441703796, -0.24314075708389282, 0.3079507350921631, 0.03187976032495499, -0.09981583058834076, 0.19374850392341614, -0.039542172104120255, -0.0059336163103580475, -0.045396190136671066, -0.0970349907875061, 0.13511332869529724, -0.3527880907058716, -0.03829836845397949, -0.25430673360824585 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Some subsections are also missing: `Initial Data Collection and Normalization`, `Who are the source language producers?`. If you are interested you can fill those sections as well, or leave them empty for now. This will also fix the error regarding "Source Data" You can see the template of the readme here: https://github.com/huggingface/datasets/blob/9d8bf36fdb861d9b2922d7c782fb58f9f542997c/templates/README.md
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
52
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Some subsections are also missing: `Initial Data Collection and Normalization`, `Who are the source language producers?`. If you are interested you can fill those sections as well, or leave them empty for now. This will also fix the error regarding "Source Data" You can see the template of the readme here: https://github.com/huggingface/datasets/blob/9d8bf36fdb861d9b2922d7c782fb58f9f542997c/templates/README.md
[ -0.15999723970890045, 0.0465681254863739, -0.08739203214645386, 0.16596315801143646, 0.019413936883211136, 0.15201649069786072, -0.34650805592536926, 0.1548338532447815, -0.013122114352881908, -0.23709897696971893, 0.0008657670114189386, -0.022109419107437134, 0.09996267408132553, 0.1663406789302826, 0.4540153443813324, -0.2158103585243225, 0.08280585706233978, 0.1585736870765686, 0.4081515669822693, -0.23934289813041687, -0.28837835788726807, 0.46147164702415466, -0.12835964560508728, 0.044101566076278687, 0.25924909114837646, -0.13867780566215515, -0.2592988908290863, 0.4438779950141907, -0.49174410104751587, -0.33272942900657654, -0.032926157116889954, 0.20189210772514343, 0.09773074090480804, 0.20203834772109985, -0.00011271941912127659, -0.19888339936733246, 0.17863903939723969, -0.1622668206691742, 0.08937883377075195, -0.005713343620300293, -0.10223408043384552, -0.3685797154903412, -0.26734229922294617, 0.03887229412794113, -0.09431704133749008, -0.5221892595291138, -0.05908828228712082, -0.5775930881500244, 0.13233359158039093, 0.42480024695396423, 0.16585206985473633, -0.09786836057901382, 0.39891740679740906, -0.18245446681976318, 0.42000675201416016, 0.049579642713069916, -0.12335959821939468, 0.12227419018745422, 0.6885552406311035, -0.09046867489814758, 0.04720905050635338, 0.40923264622688293, -0.08064499497413635, -0.20364665985107422, 0.46023523807525635, -0.16313473880290985, -0.21911472082138062, -0.4412367641925812, 0.22203055024147034, 0.11707562208175659, 0.4136544167995453, -0.3874239921569824, -0.13712415099143982, -0.31919437646865845, -0.14142319560050964, -0.5638944506645203, 0.12131793797016144, 0.20097018778324127, -0.17305026948451996, 0.21220402419567108, -0.05094068869948387, -0.6567850112915039, -0.04137289896607399, -0.021537572145462036, 0.02682655304670334, 0.032614078372716904, -0.0967218428850174, -0.0810919776558876, 0.19678284227848053, 0.23922432959079742, 0.07868495583534241, -0.07055413722991943, -0.35051897168159485, 0.14290975034236908, -0.08736294507980347, 0.022305145859718323, 0.1728522926568985, 0.11158774793148041, 0.2671269476413727, 0.05494895577430725, -0.1944727897644043, 0.1176859438419342, -0.1776648908853531, -0.0801640972495079, 0.21300815045833588, -0.0024336297065019608, 0.26704391837120056, -0.08930481970310211, -0.04922017455101013, -0.1417372226715088, 0.34906139969825745, -0.2309480905532837, -0.0769994929432869, -0.197564497590065, -0.2044067084789276, 0.06551216542720795, 0.0805368572473526, -0.28098517656326294, -0.0840848907828331, 0.2085205465555191, -0.28364652395248413, -0.2628842294216156, -0.19845035672187805, 0.23592662811279297, 0.13802707195281982, 0.024551212787628174, 0.19471268355846405, 0.11398700624704361, -0.11178739368915558, -0.3167881667613983, -0.11867967993021011, 0.22903254628181458, -0.42889052629470825, 0.2238776683807373, -0.036184050142765045, -0.29831463098526, 0.09434419125318527, 0.2719587981700897, 0.03755269944667816, -0.08325745165348053, 0.030392898246645927, 0.12090332806110382, 0.36524465680122375, 0.11258932203054428, 0.03362276032567024, 0.09496112912893295, 0.23293428122997284, -0.48849767446517944, -0.2051042914390564, 0.1022484302520752, -0.22051700949668884, -0.23473171889781952, -0.464049756526947, 0.1411849409341812, -0.12940527498722076, -0.06660499423742294, -0.11402300745248795, 0.6622244119644165, -0.04449094086885452, 0.03141215816140175, 0.37205076217651367, 0.03652627766132355, -0.029615754261612892, -0.007129166275262833, 0.17289510369300842, 0.438301146030426, -0.7078647613525391, 0.12958203256130219, 0.06692518293857574, 0.06879329681396484, 0.051420167088508606, 0.07385048270225525, -0.2145247757434845, 0.2763042151927948, -0.24092771112918854, 0.22270263731479645, 0.28448691964149475, -0.3000706732273102, 0.0627797469496727, 0.2889970541000366, 0.01612524688243866, 0.04893707484006882, 0.021251358091831207, -0.2702021598815918, 0.4348755478858948, 0.114949531853199, 0.16764524579048157, -0.08926299959421158, -0.10449130833148956, -0.19868910312652588, -0.24368029832839966, -0.0768493041396141, -0.11769083142280579, -0.011101621203124523, 0.22043073177337646, 0.051575325429439545, 0.3002769351005554, 0.08304043114185333, 0.3013290762901306, -0.04448186233639717, 0.13279902935028076, 0.5858125686645508, 0.35410693287849426, 0.23455192148685455, 0.2151281237602234, 0.020232830196619034, -0.14892113208770752, -0.12312459945678711, -0.047881536185741425, 0.46856170892715454, 0.24817505478858948, -0.07929462939500809, -0.27458733320236206, -0.09206508100032806, -0.22182594239711761, -0.489106148481369, 0.10326153039932251, -0.05827949941158295, -0.21081607043743134, 0.029529377818107605, -0.11485880613327026, 0.2974165678024292, -0.2079245001077652, 0.10585497319698334, -0.3716259300708771, 0.22550266981124878, -0.17107640206813812, -0.18943503499031067, 0.09611859917640686, 0.26583755016326904, 0.15038719773292542, -0.11193075776100159, -0.07360392063856125, 0.1934123933315277, -0.16567157208919525, -0.1575445681810379, 0.22988295555114746, 0.5483006834983826, 0.1721961945295334, -0.45340657234191895, 0.3780266344547272, -0.20537219941616058, 0.04654868319630623, -0.09484955668449402, -0.08828086405992508, 0.16750040650367737, 0.27484339475631714, 0.12851351499557495, -0.02645813301205635, -0.22235028445720673, 0.11527621746063232, -0.0039198994636535645, -0.026782184839248657, 0.11701369285583496, 0.13451778888702393, 0.07750476896762848, 0.26743245124816895, -0.18392746150493622, -0.29425883293151855, 0.3033652603626251, 0.7920702695846558, -0.12439744174480438, -0.11954163759946823, 0.19128569960594177, -0.27977773547172546, -0.28191128373146057, 0.05325845628976822, -0.22534899413585663, 0.17589068412780762, 0.27860352396965027, 0.15806108713150024, 0.19945235550403595, 0.18405744433403015, -0.10974360257387161, 0.38966473937034607, 0.13813939690589905, -0.12992100417613983, -0.004691716283559799, -0.08270148932933807, 0.05048864334821701, -0.41925081610679626, -0.14655184745788574, -0.1258656084537506, 0.22248807549476624, -0.1794072687625885, 0.0541110560297966, -0.016374677419662476, -0.22462987899780273, -0.2761041224002838, 0.09046001732349396, -0.38807743787765503, -0.3209231197834015, 0.05017749220132828, -0.13540498912334442, 0.21937787532806396, 0.06090064346790314, 0.012667752802371979, 0.3725840449333191, -0.1882510632276535, 0.23534798622131348, -0.30908581614494324, -0.013517573475837708, -0.33404672145843506, 0.06778821349143982, 0.22600673139095306, 0.15124362707138062, 0.3926627039909363, -0.208317831158638, 0.2506442070007324, -0.5341675281524658, -0.542831301689148, 0.379206120967865, -0.2037891447544098, 0.21106064319610596, 0.15886318683624268, 0.024416528642177582, 0.06694790720939636, -0.08773655444383621, -0.15397325158119202, -0.15713806450366974, -0.1601189374923706, -0.3390198349952698, -0.3137205243110657, -0.06430478394031525, 0.009009283035993576, -0.33417269587516785, -0.13382643461227417, -0.311276376247406, 0.15274083614349365, -0.10177633166313171, -0.030406303703784943, 0.31009700894355774, 0.05556746944785118, 0.14236734807491302, -0.182423397898674, -0.0760902687907219, -0.1577071100473404, -0.31264588236808777, 0.09340254962444305, -0.10726834088563919, -0.10998746752738953, 0.2647441327571869, 0.13290372490882874, 0.1300312876701355, -0.23981565237045288, -0.41773778200149536, -0.02976679429411888, -0.041622646152973175, 0.17803682386875153, -0.04648398607969284, 0.3253193497657776, 0.18797241151332855, -0.08019251376390457, -0.12341754138469696, -0.13114456832408905, -0.30394721031188965, -0.17514443397521973, -0.1010056808590889, 0.16593652963638306, 0.0023239776492118835, 0.06207265704870224, 0.004889868199825287, 0.5098856091499329, 0.2769657373428345, 0.16827288269996643, 0.4010797142982483, 0.16687823832035065, 0.7075112462043762, -0.06720920652151108, -0.5100609064102173, 0.16148509085178375, -0.12982958555221558, 0.20568746328353882, 0.3082839250564575, 0.09844433516263962, -0.20255911350250244, 0.22318413853645325, 0.09033071994781494, -0.1309189796447754, -0.18871568143367767, 0.2954355776309967, 0.12121593952178955, 0.1892150193452835, 0.028320953249931335, 0.0406947061419487, -0.29925885796546936, -0.0960434228181839, 0.31940957903862, 0.5252563953399658, -0.04235074669122696, 0.2863997519016266, -0.26778513193130493, -0.03551880642771721, -0.3472016751766205, 0.30646783113479614, -0.13492748141288757, 0.11572077870368958, -0.24469147622585297, 0.19861778616905212, 0.15119846165180206, 0.0774397999048233, 0.4820104241371155, -0.5088488459587097, -0.5535755753517151, 0.31207749247550964, 0.3399427831172943, 0.5409162640571594, -0.03160201758146286, -0.14331857860088348, 0.4012377858161926, 0.5271000266075134, 0.11111344397068024, -0.3140568733215332, -0.27409857511520386, 0.15496034920215607, 0.1433277577161789, 0.03040355071425438, -0.08145083487033844, -0.16372787952423096, -0.47174596786499023, -0.3478853404521942, 0.09319480508565903, 0.43486249446868896, 0.1707991361618042, -0.24730482697486877, 0.05511477217078209, 0.4014122784137726, 0.24360576272010803, 0.3101964294910431, -0.2078445851802826, 0.1443132758140564, 0.26818740367889404, -0.1593444049358368, 0.04839218407869339, 0.05420603230595589, 0.022221462801098824, 0.5026760101318359, -0.22045424580574036, -0.4009140431880951, 0.3747613728046417, -0.32229772210121155, 0.34909799695014954, 0.5083392858505249, 0.14587906002998352, 0.16866257786750793, 0.27083706855773926, 0.032692890614271164, -0.05116644874215126, 0.09308824688196182, 0.1453358381986618, 0.03888021782040596, -0.49309253692626953, -0.7476183176040649, 0.13053327798843384, 0.07395318150520325, -0.09950128197669983, 0.3664688467979431, 0.37087053060531616, -0.2823721766471863, 0.03098931536078453, -0.06437679380178452, 1.1680326461791992, -0.02223186194896698, -0.020923417061567307, -0.07257558405399323, -0.34898507595062256, 0.19130632281303406, -0.5817103385925293, -0.0768604651093483, -0.3457823097705841, -0.10956510156393051, -0.08476518839597702, -0.07081159949302673, 0.2509824335575104, -0.03154792636632919, -0.09661076962947845, 0.13269612193107605, 0.4167625308036804, -0.07859472930431366, 0.21525825560092926, 0.5379394888877869, -0.06989818066358566, -0.19079045951366425, -0.02840663492679596, 0.10407130420207977, -0.015854962170124054, 0.22478057444095612, -0.19813981652259827, -0.49278080463409424, 0.012640316039323807, -0.20052161812782288, -0.7889831066131592, -0.24939608573913574, -0.23351077735424042, -0.1764012724161148, 0.19423459470272064, -0.4992735981941223, 0.7072152495384216, -0.2270512580871582, 0.6307122707366943, 0.0764656588435173, -0.32758617401123047, 0.09877423197031021, 0.39173227548599243, -0.2807808816432953, 0.1598840206861496, -0.16140413284301758, 0.06686121225357056, 0.06383000314235687, -0.060245413333177567, 0.21319544315338135, -0.17950795590877533, -0.17124423384666443, -0.5318083763122559, 0.036058735102415085, -0.013417541980743408, -0.1686750203371048, 0.11716762185096741, 0.4258275330066681, 0.25947654247283936, -0.30591192841529846, 0.0924043208360672, 0.30127787590026855, -0.016312023624777794, -0.2098574936389923, -0.10614950954914093, -0.1918698102235794, -0.16419951617717743, -0.15030696988105774, 0.04819503054022789, -0.451246976852417, 0.13315731287002563, 0.5232965350151062, -0.2685283124446869, -0.17741668224334717, 0.11035657674074173, 0.6417242884635925, -0.5399552583694458, -0.22199714183807373, 0.029160166159272194, -0.09786901623010635, 0.04020259901881218, 0.2643660306930542, 0.1261589229106903, -0.1269439458847046, 0.10562580823898315, -0.1568755805492401, 0.05068027228116989, 0.2635100185871124, -0.26768404245376587, 0.07809534668922424, -0.025581438094377518, 0.15428201854228973, 0.09677356481552124, 0.009068749845027924, -0.346221923828125, 0.09247268736362457, -0.026346279308199883, -0.09974774718284607, 0.15411816537380219, -0.1861962080001831, -0.22144630551338196, -0.21820974349975586, -0.05522201210260391, 0.008501483127474785, -0.2982701361179352, -0.08205367624759674, 0.03319414705038071, 0.19472619891166687, -0.05704449862241745, -0.14444652199745178, 0.15772801637649536, -0.021720468997955322, -0.043270502239465714, -0.028955228626728058, 0.06366032361984253, -0.17550545930862427, 0.07069843262434006, -0.05270044133067131, -0.11442862451076508, 0.09687845408916473, 0.06801452487707138, -0.00018628686666488647, 0.22835731506347656, 0.5088172554969788, -0.025494275614619255, 0.11230085790157318, -0.022576630115509033, 0.07413037121295929, 0.33809924125671387, 0.3983028531074524, 0.26390784978866577, 0.3981022238731384, 0.22045952081680298, -0.1287304162979126, 0.11642538011074066, 0.3891730010509491, 0.12984107434749603, 0.15633772313594818, -0.2983066737651825, 0.1601507067680359, 0.13042406737804413, 0.13972485065460205, -0.21913595497608185, -0.1484745293855667, 0.15208807587623596, -0.2870906591415405, 0.01131024956703186, 0.20633283257484436, 0.5362309217453003, 0.2581222653388977, 0.41690248250961304, 0.06193681061267853, 0.5649105906486511, 0.05777788907289505, 0.019850365817546844, -0.09893441200256348, -0.00789819285273552, 0.03616883605718613, 0.3825579881668091, 0.4440755546092987, -0.04361746460199356, 0.18665234744548798, 0.13699539005756378, 0.04991430416703224, 0.25881507992744446, 0.2309551239013672, -0.11009224504232407, -0.47010207176208496, 0.1762186884880066, -0.018939122557640076, 0.22328174114227295, 0.26356565952301025, -0.012975111603736877, 0.12995734810829163, 0.014441749081015587, -0.043844930827617645, 0.1636255979537964, 0.1476561576128006, -0.13346779346466064, 0.15058347582817078, 0.17063850164413452, -0.17717894911766052, -0.19904100894927979, -0.12011708319187164, -0.0032990016043186188, -0.11554314196109772, 0.015810735523700714, -0.2766249179840088, -0.10747472941875458, -0.014207175001502037, -0.061605118215084076, -0.1720426380634308, -0.05030421167612076, -0.20662032067775726, 0.38610243797302246, -0.012425355613231659, -0.06110166013240814, 0.05850847437977791, 0.37675783038139343, 0.4316181540489197, 0.06950677931308746, -0.12150008976459503, -0.04164214804768562, 0.0682120993733406, -0.10803039371967316, 0.05549773573875427, 0.08531959354877472, 0.16899976134300232, 0.11475212872028351, 0.0023609548807144165, 0.07646377384662628, -0.04102715104818344, -0.1566159576177597, 0.014914285391569138, -0.22787052392959595, -0.02432251162827015, 0.19307485222816467, -0.06592454016208649, -0.15637971460819244, -0.2864605784416199, -0.05884971469640732, -0.2638176679611206, 0.15868504345417023, 0.5652061104774475, -0.041241422295570374, -0.13507741689682007, -0.25477081537246704, 0.09417581558227539, 0.24108672142028809, 0.08174311369657516, 0.4882175326347351, 0.3381580710411072, -0.34839317202568054, -0.2502772808074951, -0.5544571876525879, 0.12304867058992386, -0.10102909803390503, -0.10312594473361969, 0.10536955296993256, 0.14238840341567993, 0.5430785417556763, 0.11536291241645813, -0.019318237900733948, 0.18217270076274872, 0.003230086527764797, 0.08982235193252563, -0.2435332089662552, 0.021800139918923378, 0.4277690649032593, 0.3243955671787262, 0.01029122993350029, 0.20729893445968628, 0.2719518542289734, 0.1630173623561859, 0.04838214069604874, -0.46667200326919556, 0.10873757302761078, 0.21778912842273712, -0.17132456600666046, 0.03955953195691109, 0.04597502946853638, 0.08120200037956238, -0.19013038277626038, -0.3217591941356659, -0.062059272080659866, -0.07510309666395187, -0.15611179172992706, 0.45010051131248474, -0.15369606018066406, 0.19073666632175446, -0.028355227783322334, -0.697746992111206, -0.3514936864376068, 0.08080955594778061, 0.10335598886013031, 0.24890290200710297, -0.5679285526275635, 0.36708056926727295, -0.21529409289360046, 0.13723374903202057, 0.15118448436260223, 0.21060794591903687, 0.08925044536590576, 0.06480385363101959, -0.36486953496932983, -0.31772419810295105, 0.3878244459629059, -0.19238519668579102, -0.2351813167333603, 0.044968072324991226, 0.12717558443546295, 0.34865471720695496, 0.05546356737613678, -0.5712246298789978, -0.16084012389183044, 0.31018394231796265, 0.10371804237365723, -0.15133735537528992, 0.19870036840438843, -0.08928936719894409, 0.10590992867946625, -0.08058832585811615, 0.035555820912122726, 0.21592825651168823, -0.3315012753009796, -0.04289839789271355, -0.2217349112033844 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
> > Also, I see that we are having to only use the code tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search. > > Yes I agree. We'll be able to reuse the tags per programming language from this PR when we allow this feature > > cc @yjernite what do you think about extending our languages taxonomy to programming languages ? Sounds good, as long as they all share a prefix! maybe `code_cpp`, `code_java`, etc. ? I don't think we currently have `_` in language codes/names, but also don't see what it would break *a priori*
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
132
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. > > Also, I see that we are having to only use the code tag instead of individual langs and I get that is required for indexing or showing available tags on the datasets hub. However, as a future feature, it might be good to add tags for individual programming languages to make it easier to search. > > Yes I agree. We'll be able to reuse the tags per programming language from this PR when we allow this feature > > cc @yjernite what do you think about extending our languages taxonomy to programming languages ? Sounds good, as long as they all share a prefix! maybe `code_cpp`, `code_java`, etc. ? I don't think we currently have `_` in language codes/names, but also don't see what it would break *a priori*
[ -0.16175410151481628, 0.19561484456062317, -0.1751735955476761, 0.13650090992450714, 0.023085013031959534, -0.012348953634500504, -0.3890053331851959, 0.32096654176712036, 0.06323297321796417, -0.24720434844493866, -0.19169087707996368, 0.12380300462245941, -0.044021304696798325, 0.24399490654468536, 0.4314912259578705, -0.22665822505950928, 0.17578911781311035, -0.03056897222995758, 0.4309687614440918, -0.13698911666870117, -0.3135940134525299, 0.2853480577468872, -0.03942428529262543, 0.23479992151260376, 0.17662884294986725, -0.11699283868074417, -0.32961317896842957, 0.38741451501846313, -0.46227848529815674, -0.43773365020751953, -0.049834318459033966, 0.35916605591773987, 0.2451809048652649, 0.2321404218673706, -0.00011052296031266451, -0.2799763083457947, 0.18180441856384277, 0.012396829202771187, -0.004175183363258839, -0.0972825139760971, -0.13392353057861328, -0.3237484097480774, -0.37210580706596375, 0.05998941510915756, -0.11174372583627701, -0.4793942868709564, -0.14808230102062225, -0.6381590962409973, -0.10565918684005737, 0.2444150149822235, 0.16090646386146545, -0.07637858390808105, 0.293135404586792, -0.2489538937807083, 0.3271232545375824, -0.006078973412513733, -0.11948581784963608, 0.1405465453863144, 0.8675593137741089, -0.13768988847732544, 0.005138389766216278, 0.3291068375110626, 0.0021388456225395203, -0.33635565638542175, 0.4475623071193695, -0.18740342557430267, -0.278428316116333, -0.43596842885017395, 0.2740094065666199, 0.11052726209163666, 0.43619009852409363, -0.4185454845428467, -0.24505077302455902, -0.3095989227294922, -0.17364077270030975, -0.6135261058807373, -0.000688605010509491, 0.19542470574378967, -0.018339741975069046, 0.22229090332984924, 0.05759170278906822, -0.635004460811615, -0.17758207023143768, 0.04568151757121086, -0.013996846973896027, 0.13491667807102203, 0.0037930684629827738, -0.046157777309417725, 0.12643709778785706, 0.21821480989456177, 0.29023513197898865, -0.26097431778907776, -0.23336222767829895, 0.05171849951148033, -0.09485024213790894, -0.044536516070365906, 0.20521825551986694, 0.38051971793174744, 0.28962311148643494, 0.16896981000900269, -0.19666984677314758, 0.17209789156913757, -0.1571388840675354, -0.22533509135246277, 0.223679780960083, -0.024805458262562752, 0.30538398027420044, 0.09624536335468292, 0.049782175570726395, -0.23414866626262665, 0.16635079681873322, -0.20513567328453064, -0.06158335134387016, -0.07484335452318192, -0.22406058013439178, 0.17368364334106445, 0.07344037294387817, -0.2110905647277832, 0.07040564715862274, 0.25439780950546265, -0.27592936158180237, -0.3165413737297058, -0.059999238699674606, 0.18740546703338623, 0.18483135104179382, 0.07574927806854248, -0.0729493722319603, 0.09065722674131393, 0.02598472870886326, -0.30870652198791504, -0.10528910160064697, 0.18172834813594818, -0.4984785318374634, 0.14030864834785461, -0.060354821383953094, -0.16361187398433685, -0.14373795688152313, 0.23889343440532684, 0.20626281201839447, -0.03301328420639038, -0.01898239366710186, 0.01758555695414543, 0.3620544672012329, -0.06226548179984093, -0.23065918684005737, -0.0776522308588028, 0.09866128861904144, -0.4441971778869629, -0.3555724620819092, 0.23640018701553345, -0.0019834786653518677, -0.2964216470718384, -0.434474915266037, 0.1454317718744278, -0.17268094420433044, -0.10238482058048248, 0.013793811202049255, 0.7153400778770447, -0.14168909192085266, 0.16778570413589478, 0.3511684238910675, -0.004938129335641861, -0.0005232207477092743, 0.04661019891500473, -0.09531596302986145, 0.22403079271316528, -0.8441754579544067, 0.1654733568429947, 0.1960601508617401, 0.0417187325656414, -0.013515874743461609, 0.05238635092973709, -0.28925925493240356, 0.32174110412597656, -0.10367923229932785, 0.15654198825359344, 0.4199911057949066, -0.12100653350353241, 0.09256019443273544, 0.1628207415342331, 0.08627338707447052, -0.09498298913240433, 0.0998653918504715, -0.14800748229026794, 0.44895070791244507, 0.12457432597875595, 0.09205581247806549, -0.1457066535949707, -0.15414857864379883, -0.3194601237773895, -0.324910432100296, -0.0049795303493738174, 0.11970680207014084, 0.10796211659908295, 0.3035902976989746, 0.027475260198116302, 0.21940377354621887, 0.12497568875551224, 0.2989044785499573, -0.14882071316242218, 0.08837627619504929, 0.167012020945549, 0.37165647745132446, 0.34707868099212646, 0.16547922790050507, -0.1869836151599884, -0.23401281237602234, 0.004178062081336975, -0.0859939306974411, 0.38105708360671997, 0.3346977233886719, -0.08579547703266144, -0.15028166770935059, 0.02851787768304348, -0.1734595000743866, -0.23333534598350525, 0.07937005162239075, -0.13847173750400543, -0.17549718916416168, 0.04353399947285652, -0.2638365924358368, 0.40956926345825195, -0.17817597091197968, 0.10095556825399399, -0.1743202954530716, 0.22388552129268646, -0.2571861743927002, -0.05099400505423546, -0.17597123980522156, 0.36423227190971375, 0.10348793864250183, -0.16480280458927155, 0.007977314293384552, 0.0789555087685585, 0.011023765429854393, -0.32196521759033203, 0.3173198103904724, 0.5530114769935608, 0.3670397996902466, -0.21081915497779846, 0.4624883234500885, -0.20904694497585297, 0.033370278775691986, -0.07384508848190308, -0.00026678666472435, 0.34548237919807434, 0.27925965189933777, 0.18059757351875305, -0.06000162288546562, -0.38717469573020935, -0.03596367686986923, 0.12231460213661194, -0.15568074584007263, 0.17301850020885468, 0.11106473207473755, 0.12029705941677094, 0.2125874012708664, -0.06086280196905136, -0.23897668719291687, 0.26557567715644836, 0.6605199575424194, -0.17788609862327576, -0.15512144565582275, 0.21463671326637268, -0.08845079690217972, -0.18880435824394226, 0.17771469056606293, -0.18854007124900818, 0.11493061482906342, 0.2976658344268799, 0.11013811826705933, 0.07002947479486465, 0.08855044096708298, -0.1266295611858368, 0.2997501790523529, 0.27052372694015503, -0.25475063920021057, -0.04844886064529419, 0.018210778012871742, 0.0857124775648117, -0.3978489339351654, -0.26825031638145447, -0.10109452158212662, 0.1295166015625, -0.0023661181330680847, 0.08819825202226639, 0.025872187688946724, -0.5047690868377686, -0.19900009036064148, 0.10145091265439987, -0.4049498736858368, -0.2911253869533539, 0.1840190291404724, -0.27327054738998413, 0.10263065993785858, 0.13699613511562347, -0.09405356645584106, 0.5193518996238708, -0.3823959529399872, 0.12480464577674866, -0.24590156972408295, -0.08429079502820969, -0.2957751452922821, 0.07222086191177368, 0.33007463812828064, -0.04469282552599907, 0.5503405928611755, 0.11373733729124069, 0.24184001982212067, -0.5169179439544678, -0.6524532437324524, 0.24101310968399048, -0.12667664885520935, 0.03972730040550232, 0.09252183139324188, -0.22833867371082306, 0.08742529153823853, -0.16566403210163116, -0.16689276695251465, -0.05105092376470566, -0.046960338950157166, -0.4384208917617798, -0.21479730308055878, 0.037319764494895935, 0.017683543264865875, -0.3158252239227295, -0.23845140635967255, -0.3591899275779724, 0.234866663813591, -0.07091297209262848, -0.044265858829021454, 0.20303644239902496, -0.07064096629619598, -0.010939182713627815, -0.13018116354942322, -0.25031766295433044, -0.1282198131084442, -0.100295789539814, -0.08702968060970306, -0.06569421291351318, 0.031444985419511795, 0.08653023838996887, 0.025098111480474472, 0.10752221941947937, -0.23275095224380493, -0.17871344089508057, -0.1719062328338623, 0.04225494712591171, 0.46414947509765625, 0.010575570166110992, 0.18076708912849426, 0.10318448394536972, 0.011637035757303238, -0.1194186806678772, 0.10280802100896835, -0.3128651976585388, -0.14761066436767578, 0.11179670691490173, 0.13182282447814941, 0.07181793451309204, -0.0620078444480896, -0.07650364935398102, 0.4373941421508789, 0.16511379182338715, 0.18629023432731628, 0.458486407995224, 0.3248226046562195, 0.5535333156585693, -0.2197267711162567, -0.4766189455986023, 0.11765086650848389, -0.10901299118995667, 0.09674712270498276, 0.26944679021835327, 0.1623431146144867, -0.3159526288509369, 0.16836173832416534, 0.024494729936122894, 0.03602050989866257, -0.05623529106378555, 0.41866958141326904, 0.0172530896961689, 0.16209274530410767, -0.03776388615369797, -0.1338120698928833, -0.4017934203147888, -0.08179841190576553, 0.20165231823921204, 0.31790804862976074, -0.00018768757581710815, 0.18576593697071075, -0.34688618779182434, -0.042501069605350494, -0.3245862126350403, 0.3037821054458618, 0.013865180313587189, 0.010713249444961548, -0.11177763342857361, 0.11691562086343765, 0.15328893065452576, 0.07531286776065826, 0.41427284479141235, -0.4287041127681732, -0.627385139465332, 0.42437976598739624, 0.1804414838552475, 0.5886989235877991, -0.05588613823056221, -0.16540145874023438, 0.3080959916114807, 0.43123817443847656, 0.18956351280212402, -0.281300812959671, -0.202893927693367, 0.061958882957696915, 0.1623990386724472, 0.11142060160636902, -0.005474886856973171, -0.014352791011333466, -0.28622230887413025, -0.31722259521484375, 0.29555025696754456, 0.4146120250225067, 0.2661880850791931, -0.23173712193965912, 0.06734035909175873, 0.4111328721046448, -0.03426593542098999, 0.26750877499580383, -0.10477003455162048, -0.08353335410356522, 0.21622340381145477, -0.1382797360420227, -0.11169935762882233, 0.07194287329912186, 0.05386738479137421, 0.2452680915594101, -0.4047069549560547, -0.38944700360298157, 0.1941385269165039, -0.22214913368225098, 0.4394451975822449, 0.6081986427307129, 0.13563524186611176, 0.2999815046787262, 0.09050556272268295, 0.009662546217441559, -0.11229278147220612, 0.07594131678342819, 0.0011702924966812134, 0.043265651911497116, -0.5982391238212585, -0.7222049832344055, 0.09925971925258636, 0.06566685438156128, -0.3102032542228699, 0.1939413845539093, 0.30851441621780396, -0.3063165545463562, 0.16420771181583405, -0.05058620125055313, 1.1857980489730835, -0.12735971808433533, 0.03241626173257828, -0.1896679699420929, -0.4697408080101013, 0.34491512179374695, -0.5616529583930969, -0.047506511211395264, -0.3734254837036133, -0.03348354995250702, 0.007358213886618614, 0.010544929653406143, 0.2806713581085205, 0.037682369351387024, -0.059992361813783646, 0.1897571086883545, 0.3640875220298767, 0.007740288972854614, 0.14502419531345367, 0.6187764406204224, -0.06074197590351105, -0.18520328402519226, -0.08243460953235626, 0.1140483021736145, -0.004373777657747269, 0.1368115395307541, -0.23074743151664734, -0.3801726698875427, 0.012681979686021805, -0.11327460408210754, -0.6532102227210999, -0.2775515913963318, -0.1864996701478958, -0.1314184069633484, 0.012168856337666512, -0.5786957144737244, 0.7715489268302917, -0.26904037594795227, 0.6724779605865479, 0.09448030591011047, -0.057162776589393616, 0.04778053238987923, 0.3267388641834259, -0.15186476707458496, 0.1689353883266449, -0.27466559410095215, 0.03664378821849823, 0.004699405282735825, -0.07627203315496445, 0.15695542097091675, 0.011547434143722057, -0.23708413541316986, -0.7986232042312622, 0.15822972357273102, 0.19696521759033203, -0.2253056764602661, 0.16628259420394897, 0.3354182243347168, 0.10916619002819061, -0.22056247293949127, 0.11716833710670471, 0.24358579516410828, -0.02888043038547039, -0.07430882006883621, -0.016153927892446518, -0.162881538271904, -0.2131899893283844, -0.23110431432724, 0.08934532105922699, -0.35504865646362305, 0.0014439523220062256, 0.3918467164039612, -0.35120105743408203, -0.21871665120124817, 0.07736321538686752, 0.6577781438827515, -0.41766923666000366, -0.11222968995571136, 0.1378011405467987, -0.19904321432113647, -0.010149016976356506, 0.17691972851753235, 0.253984659910202, -0.04153364896774292, 0.055866580456495285, 0.0996103435754776, 0.096352718770504, 0.2405807077884674, -0.18382474780082703, 0.18735359609127045, -0.13442614674568176, 0.3162551820278168, 0.0022352132946252823, -0.0037640277296304703, -0.3375343680381775, 0.0819602906703949, -0.03059789538383484, -0.0756278708577156, 0.017453301697969437, -0.2595915198326111, -0.41470959782600403, -0.21177713572978973, -0.044647958129644394, -0.1418198049068451, -0.2719746530056, -0.11443807184696198, 0.06589734554290771, 0.1811853051185608, 0.06512312591075897, 0.041593968868255615, 0.11837948858737946, 0.026704881340265274, 0.13267047703266144, 0.030815698206424713, 0.050698477774858475, -0.21715810894966125, 0.07471618801355362, 0.06899584084749222, 0.039112381637096405, 0.08258135616779327, 0.23999036848545074, 0.20572499930858612, 0.22816644608974457, 0.5695844292640686, 0.1014079749584198, 0.1598721295595169, 0.03811279311776161, 0.08788397908210754, 0.3101029694080353, 0.42638787627220154, 0.18441548943519592, 0.36292657256126404, 0.11555899679660797, 0.033426202833652496, 0.028781499713659286, 0.4834362268447876, 0.12666203081607819, 0.2508009970188141, -0.11216559261083603, 0.010818535462021828, 0.1841990351676941, 0.14899219572544098, -0.17279209196567535, -0.18434670567512512, 0.1949012130498886, -0.3495147228240967, 0.045942943543195724, 0.39271828532218933, 0.6126870512962341, 0.37639501690864563, 0.3660297393798828, -0.0333084762096405, 0.6687442660331726, 0.060900937765836716, 0.05602592974901199, -0.12529659271240234, 0.0954282134771347, 0.05630772188305855, 0.425458699464798, 0.45709457993507385, -0.08193998783826828, 0.14083148539066315, 0.03327515348792076, 0.15073610842227936, 0.38658708333969116, 0.2791750729084015, 0.09270249307155609, -0.27696454524993896, 0.19534540176391602, -0.04826273024082184, 0.2048599272966385, 0.1290387511253357, -0.006358817219734192, 0.0577959269285202, -0.05666417255997658, -0.18930310010910034, 0.22593837976455688, -0.0012219958007335663, -0.05898158997297287, 0.19358094036579132, 0.09761050343513489, -0.18778666853904724, -0.1506676971912384, -0.12667164206504822, -0.1976836621761322, -0.11642816662788391, -0.0202573761343956, -0.2665885090827942, -0.10683666169643402, 0.019364038482308388, -0.06449616700410843, -0.3152400553226471, 0.04964376986026764, -0.08442369103431702, 0.32319071888923645, -0.11255142092704773, 0.0433698371052742, 0.01746402494609356, 0.33275869488716125, 0.2335725575685501, 0.11177519708871841, -0.1879408359527588, -0.08767645806074142, -0.06391410529613495, -0.012760644778609276, 0.07614120841026306, 0.07477930188179016, 0.24344736337661743, 0.06281246989965439, 0.07000572979450226, 0.05948982387781143, 0.02964930236339569, -0.05869334563612938, 0.0730092003941536, -0.3467975854873657, -0.03214815631508827, 0.30849170684814453, 0.22942224144935608, -0.2362281084060669, -0.1757849007844925, -0.026324734091758728, -0.1947581171989441, 0.2362864464521408, 0.4532029926776886, -0.06562404334545135, -0.051435019820928574, -0.12298449873924255, 0.08402816951274872, 0.262930303812027, 0.13653813302516937, 0.2382645308971405, 0.3205803632736206, -0.4153122901916504, -0.12819765508174896, -0.3085448145866394, 0.04001113772392273, -0.15004222095012665, 0.09340965747833252, 0.01634766347706318, 0.14547890424728394, 0.43185046315193176, 0.07910820096731186, -0.14704401791095734, 0.1104498952627182, -0.029542405158281326, 0.06713123619556427, -0.37223485112190247, 0.14591488242149353, 0.6341376304626465, 0.29817020893096924, -0.03870623931288719, 0.21002617478370667, 0.22294850647449493, 0.17520003020763397, -0.027198387309908867, -0.4297797679901123, 0.10740500688552856, 0.33208176493644714, -0.36919426918029785, 0.10858224332332611, 0.037810370326042175, 0.13412657380104065, 0.06315065920352936, -0.17904219031333923, -0.08748629689216614, -0.19562533497810364, -0.22381731867790222, 0.36031147837638855, -0.019110802561044693, 0.07873527705669403, -0.00042128097265958786, -0.738375723361969, -0.18221746385097504, 0.2272091805934906, 0.07330431044101715, 0.30761465430259705, -0.3749018609523773, 0.2118193358182907, -0.0645633414387703, -0.021442845463752747, -0.08799492567777634, 0.2456393539905548, 0.07972510159015656, 0.0952281802892685, -0.3617097735404968, -0.30614978075027466, 0.29244691133499146, 0.03422839939594269, -0.37358760833740234, -0.023235280066728592, 0.04577144235372543, 0.41316190361976624, 0.0912460908293724, -0.440559446811676, -0.26191943883895874, 0.30061861872673035, -0.03094329684972763, -0.16124498844146729, 0.3293919265270233, 0.03981959819793701, -0.016043145209550858, -0.1872296780347824, -0.10984247922897339, -0.020124651491642, -0.32229289412498474, -0.07012862712144852, -0.2676808834075928 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
We don't use `_` but there are some languages that use `-` though like `en-US`. Let's use `-` maybe, to match the same hierarchy pattern ?
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
26
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. We don't use `_` but there are some languages that use `-` though like `en-US`. Let's use `-` maybe, to match the same hierarchy pattern ?
[ -0.22994749248027802, 0.2819521129131317, -0.18168236315250397, 0.19665205478668213, 0.0292399562895298, -0.0652627944946289, -0.33472269773483276, 0.1525058150291443, 0.21753153204917908, -0.28553134202957153, -0.0980457291007042, 0.01236744411289692, -0.11437893658876419, 0.21017494797706604, 0.4759446382522583, -0.08981592953205109, 0.15828412771224976, 0.09582096338272095, 0.3636455833911896, -0.20610970258712769, -0.4496210217475891, 0.27172404527664185, 0.015493638813495636, 0.16533875465393066, 0.3691997826099396, -0.139044851064682, -0.19802261888980865, 0.40105047821998596, -0.28635212779045105, -0.5135056376457214, -0.13889926671981812, 0.26678529381752014, 0.08031024038791656, 0.18732984364032745, -0.00011608783097472042, -0.03630763664841652, 0.10729461908340454, -0.15500010550022125, 0.05702598765492439, -0.07271458208560944, -0.13758182525634766, -0.2422231137752533, -0.2626025378704071, 0.012289546430110931, -0.1445780098438263, -0.42745211720466614, 0.02612512931227684, -0.8647233247756958, 0.011180892586708069, 0.369926780462265, 0.09874668717384338, -0.06821709871292114, 0.12593412399291992, -0.09790367633104324, 0.40757355093955994, 0.001113295555114746, -0.020121831446886063, 0.060603514313697815, 0.9077683687210083, -0.00011798553168773651, -0.0931566134095192, 0.39654040336608887, -0.09233582764863968, -0.22861842811107635, 0.3704945147037506, -0.20626111328601837, -0.1607171893119812, -0.22586259245872498, 0.1922668218612671, 0.02405649796128273, 0.34480589628219604, -0.37086647748947144, -0.008413738571107388, -0.3150409162044525, -0.3774826228618622, -0.6071271300315857, 0.06782259047031403, 0.1320711225271225, -0.06306344270706177, 0.2664928436279297, -0.0007676779059693217, -0.6080026626586914, -0.03990258648991585, 0.0565386563539505, 0.04006058722734451, 0.13168993592262268, 0.12107472866773605, 0.040196020156145096, 0.17726486921310425, 0.2727847695350647, 0.23362131416797638, -0.042913347482681274, -0.2586364448070526, -0.11075235158205032, -0.05880388244986534, 0.07219687849283218, 0.15350551903247833, 0.20118147134780884, 0.19467693567276, 0.15833954513072968, -0.17286190390586853, 0.17145726084709167, -0.15571385622024536, -0.11819449812173843, 0.20285454392433167, -0.11680042743682861, 0.4079136848449707, -0.03447021171450615, 0.01910431683063507, -0.23883134126663208, 0.08418112993240356, -0.17418831586837769, -0.10683359950780869, -0.07118856906890869, -0.23173728585243225, 0.17381766438484192, -0.041997067630290985, -0.10871762037277222, -0.057349786162376404, 0.238745778799057, -0.34223076701164246, -0.4211508631706238, -0.0620390810072422, 0.30879729986190796, 0.27428364753723145, -0.07324260473251343, 0.07373595982789993, 0.11253593116998672, 0.03013552911579609, -0.388828307390213, -0.10985331982374191, 0.13333548605442047, -0.4348950684070587, 0.1638563722372055, -0.1711415946483612, -0.24811995029449463, -0.01799774169921875, 0.17370732128620148, 0.007350325584411621, -0.017051802948117256, -0.008153285831212997, -0.023396696895360947, 0.43842077255249023, 0.10015295445919037, -0.15102727711200714, -0.11851609498262405, 0.2303909957408905, -0.6014123558998108, -0.31188470125198364, 0.3309723138809204, -0.001450762152671814, -0.19711199402809143, -0.27666810154914856, 0.05673102289438248, -0.1122441291809082, -0.1116189956665039, -0.0702805295586586, 0.7618722915649414, -0.035656727850437164, 0.04912618175148964, 0.4216681122779846, 0.01933356560766697, -0.1187162771821022, 0.037087127566337585, -0.15871280431747437, 0.36725807189941406, -0.7978841662406921, 0.13609614968299866, 0.22366182506084442, 0.07600992918014526, 0.07368335872888565, 0.07451067864894867, -0.28915780782699585, 0.22106432914733887, -0.1306982934474945, 0.12355963885784149, 0.44529783725738525, -0.37348780035972595, 0.0998799204826355, 0.29622992873191833, 0.08843013644218445, -0.15768837928771973, 0.3101423680782318, -0.1787075400352478, 0.39432239532470703, 0.09059219807386398, 0.04509897530078888, -0.2038385570049286, -0.1298493593931198, -0.13784407079219818, -0.21885722875595093, -0.0686391144990921, 0.21457697451114655, 0.07737457752227783, 0.35302042961120605, -0.009611427783966064, 0.3043789863586426, 0.07872434705495834, 0.44880226254463196, -0.05566373094916344, -0.08030491322278976, 0.219374418258667, 0.35428285598754883, 0.2621927261352539, 0.200319305062294, -0.06624259799718857, 0.0254535973072052, -0.16024941205978394, -0.0653967559337616, 0.30752524733543396, 0.32265418767929077, -0.04830438271164894, -0.21655172109603882, -0.069329634308815, -0.205962672829628, -0.3059556484222412, 0.04941058158874512, -0.012745656073093414, -0.22438625991344452, 0.15149182081222534, -0.11442524194717407, 0.38920649886131287, -0.23651741445064545, 0.11017998307943344, -0.3050927519798279, 0.28620705008506775, -0.11803243309259415, -0.14116793870925903, -0.16989077627658844, 0.24630039930343628, 0.24511080980300903, -0.14397703111171722, -0.00904344953596592, 0.149043470621109, 0.0610363744199276, -0.29326480627059937, 0.25955718755722046, 0.5460788607597351, 0.19173042476177216, -0.3706364035606384, 0.4852481782436371, 0.048019684851169586, -0.01994711346924305, -0.09058669209480286, 0.08111722767353058, 0.14464473724365234, 0.3733070492744446, 0.1715017855167389, 0.0076070502400398254, -0.47064846754074097, -0.04397978633642197, 0.1178840845823288, -0.17445683479309082, 0.17252786457538605, 0.18672293424606323, 0.16188742220401764, 0.3392987847328186, 0.04586002975702286, -0.2722683250904083, 0.1201021745800972, 0.950556218624115, -0.15562887489795685, -0.007902666926383972, 0.25787729024887085, -0.11033997684717178, -0.263919472694397, 0.06686590611934662, -0.18712972104549408, 0.1214197427034378, 0.24440306425094604, 0.11058640480041504, 0.11632943898439407, 0.1581958532333374, -0.17230510711669922, 0.3786487877368927, 0.25129860639572144, -0.1106778159737587, -0.17778679728507996, -0.009678352624177933, -0.10855355858802795, -0.4439983069896698, -0.20493090152740479, -0.15278923511505127, 0.025711625814437866, -0.14345939457416534, 0.18197238445281982, 0.022606706246733665, -0.329698771238327, -0.3537144362926483, 0.22847814857959747, -0.28940463066101074, -0.24437403678894043, 0.11724084615707397, -0.37896957993507385, 0.20337525010108948, 0.13829997181892395, -0.024683423340320587, 0.41543471813201904, -0.33052048087120056, 0.03651493042707443, -0.27837690711021423, -0.05633603781461716, -0.30654478073120117, -0.011795839294791222, 0.3477838933467865, -0.014456145465373993, 0.44798824191093445, -0.20887653529644012, 0.17336158454418182, -0.39129236340522766, -0.6077021956443787, 0.3072468638420105, -0.15659181773662567, 0.11133153736591339, 0.1482146680355072, -0.20010097324848175, 0.07754742354154587, -0.17880764603614807, -0.19896984100341797, -0.09829823672771454, -0.09070290625095367, -0.35806307196617126, -0.27727869153022766, 0.0957820862531662, 0.08260813355445862, -0.3624894917011261, -0.2753499746322632, -0.30842360854148865, 0.26337939500808716, -0.04305705428123474, -0.02647068351507187, 0.25373291969299316, -0.11051850020885468, -0.04241887852549553, -0.13685522973537445, -0.017621073871850967, -0.11249072849750519, -0.19548580050468445, -0.1693643182516098, -0.0028211132157593966, 0.10153210163116455, -0.004212267696857452, 0.04865472763776779, 0.07260052114725113, -0.12551428377628326, -0.30054113268852234, -0.02873416058719158, 0.024165507405996323, 0.21482914686203003, 0.002457711845636368, 0.17301948368549347, 0.09743207693099976, -0.0032056118361651897, -0.0931914821267128, 0.010051574558019638, -0.25258252024650574, -0.049877531826496124, -0.11033868044614792, 0.06977009773254395, 0.220843106508255, 0.06077313423156738, 0.07876758277416229, 0.402074933052063, 0.0825992226600647, 0.10806439816951752, 0.40579795837402344, 0.22085268795490265, 0.5768992304801941, -0.12661528587341309, -0.42917561531066895, 0.11246134340763092, -0.07390910387039185, 0.11498755216598511, 0.22403687238693237, -0.025145094841718674, -0.2893993854522705, 0.22007989883422852, 0.1348877251148224, -0.08869202435016632, -0.05402972921729088, 0.48174503445625305, 0.05729704350233078, 0.19611692428588867, -0.000878823921084404, 0.04650384932756424, -0.2334817498922348, -0.025989791378378868, 0.17571844160556793, 0.4089786410331726, -0.10937901586294174, 0.2251911163330078, -0.20478461682796478, 0.04071221873164177, -0.19876700639724731, 0.38355594873428345, -0.08649679273366928, 0.059970613569021225, -0.20948784053325653, 0.08329588919878006, 0.18608590960502625, -0.03035634011030197, 0.4076579809188843, -0.28808143734931946, -0.5151511430740356, 0.29293155670166016, 0.28961625695228577, 0.514231264591217, -0.01911228336393833, -0.23724988102912903, 0.16721485555171967, 0.5171471834182739, 0.13803942501544952, -0.30556443333625793, -0.20666509866714478, 0.002381216734647751, 0.1378076821565628, 0.032880719751119614, -0.028535276651382446, -0.21562302112579346, -0.44873303174972534, -0.37830430269241333, 0.2929221987724304, 0.41765257716178894, 0.087389275431633, -0.24632440507411957, 0.10670821368694305, 0.37315604090690613, 0.06053720414638519, 0.3572045564651489, -0.17477907240390778, -0.02902863547205925, 0.27015000581741333, -0.16084344685077667, 0.0005722641944885254, 0.05276292935013771, 0.0647822916507721, 0.35618680715560913, -0.3388446271419525, -0.3797580599784851, 0.22473400831222534, -0.40391600131988525, 0.47604039311408997, 0.6542893648147583, 0.06028088927268982, 0.29009389877319336, 0.34529152512550354, -0.09511785209178925, -0.08371054381132126, 0.08798471093177795, 0.06717216968536377, 0.03264506161212921, -0.44485756754875183, -0.9091657400131226, 0.11528002470731735, 0.07544615864753723, -0.2708241939544678, 0.1951484978199005, 0.2029038667678833, -0.34626075625419617, 0.22004690766334534, -0.029932238161563873, 1.2304681539535522, -0.19755099713802338, 0.06578179448843002, -0.1536175012588501, -0.6065251231193542, 0.09745699167251587, -0.6336297392845154, -0.10497698932886124, -0.3475486636161804, -0.03458399325609207, -0.0677390769124031, -0.08450193703174591, 0.35548102855682373, 0.1425589919090271, -0.10628782212734222, 0.2410973459482193, 0.3186572790145874, -0.09075331687927246, 0.19763632118701935, 0.4380585849285126, -0.0260316114872694, -0.052129801362752914, -0.13437771797180176, -0.006973346695303917, -0.09131884574890137, 0.01767008751630783, -0.10017543286085129, -0.44872087240219116, 0.008217055350542068, -0.23515792191028595, -0.7250287532806396, -0.5020372867584229, -0.30996137857437134, -0.09556208550930023, 0.06806311011314392, -0.5860685706138611, 0.7308769822120667, -0.09248022735118866, 0.673717737197876, 0.03094257228076458, 0.002805495634675026, 0.09026924520730972, 0.4265299141407013, -0.16922277212142944, 0.1595737189054489, -0.2062092423439026, 0.06603796780109406, 0.05317924916744232, -0.057993266731500626, 0.18740513920783997, -0.07680575549602509, -0.3674900531768799, -0.717389702796936, 0.25500261783599854, 0.11585988849401474, -0.19982001185417175, 0.12400887906551361, 0.4791589379310608, 0.17319701611995697, -0.21765759587287903, 0.05860128998756409, 0.20846843719482422, 0.08743367344141006, -0.1347632110118866, -0.10103258490562439, -0.28895509243011475, -0.15865445137023926, -0.24767780303955078, 0.18321484327316284, -0.3195437788963318, 0.022788947448134422, 0.35102856159210205, -0.34532594680786133, -0.16103428602218628, 0.21748462319374084, 0.7446177005767822, -0.43371838331222534, -0.13526764512062073, 0.10237696766853333, -0.2031518816947937, -0.02209683321416378, 0.177226722240448, 0.12280932813882828, -0.018236234784126282, 0.10207955539226532, 0.04498931020498276, 0.11678142100572586, 0.2877250909805298, -0.21108101308345795, 0.013842999935150146, 0.10287059098482132, 0.21860414743423462, -0.08985313773155212, 0.007085895165801048, -0.27415376901626587, 0.14055834710597992, -0.0283055379986763, -0.10421624779701233, 0.05944036319851875, -0.20775586366653442, -0.29400569200515747, -0.10672201216220856, -0.06542553752660751, -0.10948026180267334, -0.3044949471950531, -0.031355421990156174, 0.044827964156866074, 0.20253720879554749, 0.016268393024802208, 0.07684330642223358, 0.15430501103401184, -0.032703038305044174, 0.16072838008403778, 0.05493722856044769, -0.039769500494003296, -0.20539093017578125, 0.057633403688669205, 0.10221000760793686, -0.08059506118297577, 0.1025085300207138, 0.13569357991218567, 0.07101122289896011, 0.06970593333244324, 0.7015246152877808, 0.005346193443983793, 0.09963959455490112, -0.06555056571960449, 0.09231965243816376, 0.31462550163269043, 0.45639869570732117, 0.29934191703796387, 0.5317818522453308, 0.04016318544745445, 0.021898169070482254, 0.04954410716891289, 0.39155086874961853, 0.05350591242313385, 0.25797492265701294, -0.2622566223144531, 0.001589784398674965, 0.11708339303731918, 0.08631850779056549, -0.20462408661842346, -0.12429987639188766, 0.18334519863128662, -0.335868775844574, 0.06632885336875916, 0.43554991483688354, 0.6538625359535217, 0.36268141865730286, 0.4821418523788452, -0.03542671352624893, 0.6739652156829834, 0.02458457089960575, 0.013936302624642849, -0.09258797764778137, 0.03572537377476692, -0.03642088547348976, 0.4425992965698242, 0.4850107729434967, -0.0877680554986, 0.2977537512779236, 0.01563962548971176, 0.1659536361694336, 0.39976292848587036, 0.18448230624198914, -0.11063926666975021, -0.22819538414478302, 0.24295303225517273, 0.04747852683067322, 0.08379911631345749, 0.20967808365821838, 0.004471674561500549, 0.131842240691185, 0.07624915987253189, -0.061873797327280045, 0.3023207187652588, 0.027789514511823654, -0.004007469862699509, 0.09482108056545258, 0.05372899770736694, -0.16399648785591125, -0.27094700932502747, -0.03189479559659958, -0.12093265354633331, -0.1452331244945526, 0.005738675594329834, -0.25251251459121704, -0.0027119070291519165, 0.09118962287902832, -0.12305901199579239, -0.44156572222709656, -0.02540583163499832, -0.21475887298583984, 0.48788246512413025, 0.03855101764202118, 0.09141816198825836, 0.32684364914894104, 0.2777614891529083, 0.3227807581424713, -0.010492391884326935, -0.15856222808361053, -0.1107880100607872, -0.11362442374229431, -0.09928686916828156, -0.03682044520974159, 0.03949890285730362, 0.2696768045425415, 0.1630592942237854, 0.024725787341594696, 0.029247401282191277, 0.030070088803768158, -0.10440973937511444, 0.1690247356891632, -0.34646207094192505, -0.017608122900128365, 0.1971963346004486, 0.11100957542657852, -0.17922182381153107, -0.17432764172554016, -0.12205707281827927, -0.32984989881515503, 0.2714153528213501, 0.49095556139945984, -0.082520991563797, 0.009487098082900047, -0.10107860714197159, 0.05005849152803421, 0.38149556517601013, 0.03772377222776413, 0.23611469566822052, 0.4636712968349457, -0.36299070715904236, -0.19664788246154785, -0.37294429540634155, 0.030906587839126587, -0.12381383776664734, 0.023405006155371666, -0.06241095811128616, 0.04454663395881653, 0.6532022953033447, 0.06154873967170715, 0.03982587903738022, 0.11779619753360748, 0.016246028244495392, -0.0033969655632972717, -0.24107804894447327, 0.04870223626494408, 0.7132675051689148, 0.4096042215824127, -0.04661289602518082, 0.2278154492378235, 0.1867205649614334, 0.2095995545387268, -0.01540021225810051, -0.5878264307975769, 0.01173805445432663, 0.31448423862457275, -0.2320365011692047, 0.05481506884098053, -0.10092026740312576, 0.19162100553512573, -0.12296678870916367, -0.22338098287582397, 0.19257405400276184, -0.09227596968412399, -0.2550441026687622, 0.3302471339702606, -0.06140219792723656, 0.11896029114723206, -0.1424063891172409, -0.7363011240959167, -0.205967977643013, 0.2001381814479828, 0.05119889974594116, 0.2660045623779297, -0.5115020871162415, 0.1971139758825302, -0.07054082304239273, -0.06000790372490883, -0.12027370929718018, 0.25879767537117004, 0.13868993520736694, -0.02858288586139679, -0.32604455947875977, -0.2642180025577545, 0.3536423444747925, -0.06649333983659744, -0.2914220988750458, 0.07200384140014648, -0.018335044384002686, 0.4635966420173645, 0.31546658277511597, -0.44041502475738525, -0.24412989616394043, 0.3812653720378876, 0.039553746581077576, -0.2127836048603058, 0.17240846157073975, 0.0015148324891924858, 0.023654308170080185, -0.11282810568809509, -0.1476934850215912, 0.11410012096166611, -0.3899497985839844, -0.13565939664840698, -0.23994098603725433 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Hi guys, I just started working on https://github.com/huggingface/datasets/pull/997 this morning and I just realized that you were finishing it... You may want to get the dataset cards from https://github.com/madlag/datasets, and maybe some code too, as I did a few things like moving _CITATION and _DESCRIPTION to globals.
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
47
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Hi guys, I just started working on https://github.com/huggingface/datasets/pull/997 this morning and I just realized that you were finishing it... You may want to get the dataset cards from https://github.com/madlag/datasets, and maybe some code too, as I did a few things like moving _CITATION and _DESCRIPTION to globals.
[ -0.21296747028827667, 0.19097599387168884, -0.1978302150964737, 0.15923357009887695, 0.0144252460449934, 0.09426512569189072, -0.3360818326473236, 0.20617112517356873, 0.03253905475139618, -0.24543093144893646, -0.04420257359743118, 0.10186155885457993, 0.09905119240283966, 0.23394067585468292, 0.503128707408905, -0.13186544179916382, 0.11408838629722595, 0.12212479114532471, 0.3950291574001312, -0.1824081540107727, -0.34900739789009094, 0.24952879548072815, -0.033325985074043274, 0.1017911434173584, 0.2884545922279358, -0.24546101689338684, -0.25233086943626404, 0.4323364496231079, -0.4096115231513977, -0.4128945767879486, -0.06129399687051773, 0.35352644324302673, 0.07860518246889114, 0.22122234106063843, -0.00010590448800940067, -0.1784856915473938, 0.20446854829788208, -0.08065693080425262, -0.04560760408639908, -0.03274182975292206, -0.15674230456352234, -0.3151159882545471, -0.28814560174942017, 0.004443846642971039, -0.16839390993118286, -0.49707821011543274, -0.004342591390013695, -0.6309052109718323, 0.01743215322494507, 0.24446386098861694, 0.23869478702545166, -0.03773559629917145, 0.28592851758003235, -0.21021650731563568, 0.38171395659446716, -0.025081776082515717, -0.11929148435592651, 0.1470382660627365, 0.7348203659057617, -0.05611944943666458, -0.011498518288135529, 0.44722768664360046, -0.059814006090164185, -0.1865306794643402, 0.47324851155281067, -0.19792073965072632, -0.20684921741485596, -0.28918883204460144, 0.21293169260025024, 0.11213146150112152, 0.4009164273738861, -0.4107970893383026, -0.16913948953151703, -0.29434502124786377, -0.15771611034870148, -0.6063756942749023, 0.06479562073945999, 0.12314336001873016, -0.05094216763973236, 0.20154640078544617, -0.07761721312999725, -0.602069079875946, -0.06445273011922836, 0.046599362045526505, -0.020593442022800446, -0.009074829518795013, -0.09876934438943863, -0.04665554314851761, 0.1817539930343628, 0.23853032290935516, 0.05909869447350502, -0.12720994651317596, -0.3870637118816376, -0.0031732572242617607, -0.06729063391685486, 0.016156703233718872, 0.12336708605289459, 0.17458954453468323, 0.2425113022327423, 0.15460972487926483, -0.12067534029483795, 0.15433689951896667, -0.1443338543176651, -0.10658774524927139, 0.16282586753368378, -0.015342449769377708, 0.2962273955345154, 0.00929646659642458, -0.0024306438863277435, -0.12356453388929367, 0.21933725476264954, -0.1970662772655487, -0.08731656521558762, -0.1026308611035347, -0.2565784752368927, 0.08954218775033951, 0.11948923766613007, -0.22213773429393768, -0.08166725188493729, 0.27937376499176025, -0.25042930245399475, -0.257373571395874, -0.154615581035614, 0.3031424283981323, 0.17552128434181213, -0.10408876091241837, 0.1163901686668396, 0.0499984472990036, 0.03382367640733719, -0.27738600969314575, -0.1487995833158493, 0.1972317099571228, -0.3322773277759552, 0.20364190638065338, -0.09310642629861832, -0.3306770622730255, 0.02949575148522854, 0.20348340272903442, 0.05930718034505844, -0.013356175273656845, 0.0892421156167984, -0.05918014422059059, 0.4407719671726227, 0.05031998082995415, -0.07116090506315231, 0.09226678311824799, 0.13508236408233643, -0.43743324279785156, -0.23484504222869873, 0.15120543539524078, -0.021927133202552795, -0.11731022596359253, -0.40762925148010254, 0.18159036338329315, -0.1443498432636261, -0.22834843397140503, -0.04364699870347977, 0.6757888793945312, -0.028294138610363007, 0.13462978601455688, 0.45538458228111267, 0.08374198526144028, -0.09736403077840805, 0.048542529344558716, 0.03404446691274643, 0.3514399826526642, -0.8519788980484009, 0.13426871597766876, 0.0990634337067604, 0.04298494756221771, 0.03042697161436081, 0.018068064004182816, -0.23832343518733978, 0.25498804450035095, -0.1227206140756607, 0.1061246246099472, 0.3682670593261719, -0.31802478432655334, -0.011991271749138832, 0.25789201259613037, -0.015318349003791809, -0.029138006269931793, 0.13054239749908447, -0.17659977078437805, 0.5142767429351807, 0.08565786480903625, 0.1325015425682068, -0.07155739516019821, -0.10897654294967651, -0.21914227306842804, -0.24179907143115997, -0.14292186498641968, 0.009687164798378944, 0.1406635344028473, 0.2519434094429016, -0.06621801108121872, 0.22209471464157104, 0.007882392965257168, 0.3108431100845337, -0.041267503052949905, 0.06506270915269852, 0.42558884620666504, 0.34857845306396484, 0.2384299486875534, 0.18583030998706818, -0.10209011286497116, -0.09216020256280899, -0.1084054484963417, -0.008177245035767555, 0.34055814146995544, 0.26670193672180176, -0.13726806640625, -0.2674785256385803, -0.09605676680803299, -0.257438600063324, -0.42967987060546875, 0.1587638556957245, -0.10284595191478729, -0.19750899076461792, 0.05007080361247063, -0.15166901051998138, 0.35444024205207825, -0.21241256594657898, 0.09275290369987488, -0.1814803034067154, 0.13869325816631317, -0.17556917667388916, -0.15872009098529816, -0.05958391726016998, 0.30767011642456055, 0.10440501570701599, -0.12457940727472305, -0.03639354556798935, 0.1547766476869583, -0.15854527056217194, -0.2565707564353943, 0.2955317497253418, 0.4754045605659485, 0.25133752822875977, -0.2369082123041153, 0.3713960647583008, -0.06497250497341156, 0.08042101562023163, -0.0708063393831253, -0.04677627235651016, 0.16666746139526367, 0.2886439561843872, 0.0931389108300209, -0.057795580476522446, -0.32897666096687317, 0.03148151934146881, 0.07549351453781128, -0.04423294588923454, 0.16077564656734467, 0.14357443153858185, 0.12291321158409119, 0.35327357053756714, -0.13040874898433685, -0.20158740878105164, 0.2751780152320862, 0.8948269486427307, -0.17189528048038483, -0.05947185307741165, 0.1437688171863556, -0.24019771814346313, -0.22661545872688293, 0.045509904623031616, -0.21249613165855408, 0.1306326985359192, 0.3026030957698822, 0.14037057757377625, 0.1255193054676056, 0.20753569900989532, -0.09702304005622864, 0.3874947428703308, 0.24728873372077942, -0.16719724237918854, -0.07161892205476761, -0.0333743616938591, -0.02723802626132965, -0.3362460136413574, -0.22279134392738342, -0.012281647883355618, 0.11699862778186798, -0.13440030813217163, 0.09236136823892593, 0.01929965429008007, -0.46168991923332214, -0.30998560786247253, 0.15286757051944733, -0.2788095772266388, -0.30857938528060913, 0.0890733152627945, -0.19358736276626587, 0.17408505082130432, 0.13923965394496918, -0.09800943732261658, 0.4423932731151581, -0.21608619391918182, 0.08613358438014984, -0.3093603551387787, -0.054344672709703445, -0.30557793378829956, 0.12098635733127594, 0.2776038348674774, -0.02569952793419361, 0.4947243332862854, -0.008714349009096622, 0.2827444076538086, -0.5544037222862244, -0.5247172713279724, 0.3179161846637726, -0.22629190981388092, 0.09228581935167313, 0.13291242718696594, -0.06683169305324554, 0.07007378339767456, -0.1272887885570526, -0.18863603472709656, -0.11920691281557083, -0.10447657108306885, -0.45025596022605896, -0.3585193157196045, -0.002882079454138875, 0.009026389569044113, -0.33426129817962646, -0.16873972117900848, -0.35217738151550293, 0.3401433229446411, -0.08965586125850677, -0.06613446772098541, 0.26925933361053467, -0.07441765815019608, 0.11091211438179016, -0.15182645618915558, -0.09663114696741104, -0.16885700821876526, -0.22198213636875153, -0.11112046241760254, -0.07307375967502594, -0.042897362262010574, 0.08499525487422943, 0.1274537593126297, 0.07244038581848145, -0.3021557331085205, -0.3082655072212219, -0.1503450572490692, -0.017028050497174263, 0.2958737909793854, -0.01783168315887451, 0.24497205018997192, 0.0828162431716919, -0.10904663056135178, -0.20812548696994781, -0.07303019613027573, -0.2523554265499115, -0.05511791259050369, -0.0064213573932647705, 0.08566385507583618, 0.05951044708490372, 0.008481940254569054, -0.03669888526201248, 0.4296996593475342, 0.2272091507911682, 0.12324352562427521, 0.4156171381473541, 0.21804766356945038, 0.6288259029388428, -0.11349507421255112, -0.5013353228569031, 0.11472360044717789, -0.13271558284759521, 0.17660100758075714, 0.27581167221069336, 0.006800496950745583, -0.27892565727233887, 0.2349207103252411, -0.06487100571393967, -0.11252956837415695, -0.1274254322052002, 0.3437630534172058, 0.06735176593065262, 0.03865569457411766, 0.00005646608769893646, 0.027552463114261627, -0.25768598914146423, -0.09106938540935516, 0.2950305938720703, 0.4321405291557312, -0.12373598664999008, 0.21617403626441956, -0.17326714098453522, 0.010606952011585236, -0.2467115819454193, 0.3863474726676941, -0.10027064383029938, 0.04650873318314552, -0.2556357979774475, 0.15628769993782043, 0.1589183360338211, -0.0006866306066513062, 0.5067126750946045, -0.36921805143356323, -0.5097296237945557, 0.38216671347618103, 0.2814481854438782, 0.49447450041770935, -0.06450215727090836, -0.21305879950523376, 0.3715916574001312, 0.4923284649848938, 0.08114451915025711, -0.2741968035697937, -0.18268990516662598, 0.19259878993034363, 0.07618892192840576, 0.063916876912117, -0.07388231158256531, -0.20407725870609283, -0.40766674280166626, -0.39511048793792725, 0.278961181640625, 0.4272352159023285, 0.19309449195861816, -0.23489990830421448, -0.02240174449980259, 0.3377949595451355, 0.15836545825004578, 0.24261844158172607, -0.1646001636981964, 0.012620924040675163, 0.25560107827186584, -0.12354786694049835, 0.0842352956533432, 0.0028408467769622803, 0.023709086701273918, 0.3538998067378998, -0.27064400911331177, -0.3980914056301117, 0.32309621572494507, -0.3603258430957794, 0.4166862666606903, 0.5494166612625122, 0.0702458843588829, 0.33513107895851135, 0.2555009722709656, -0.050265103578567505, -0.15490098297595978, 0.07364184409379959, 0.043350331485271454, 0.061197809875011444, -0.5344110131263733, -0.8086034655570984, 0.10873088240623474, 0.07332547008991241, -0.20885981619358063, 0.27687203884124756, 0.3376508951187134, -0.3205414116382599, 0.060712188482284546, -0.06408726423978806, 1.1667296886444092, -0.16616497933864594, 0.04883752390742302, -0.15357086062431335, -0.4674947261810303, 0.24671624600887299, -0.5997018218040466, -0.044755954295396805, -0.4141382873058319, -0.17185069620609283, -0.04596930369734764, -0.026958776637911797, 0.28251397609710693, -0.019281737506389618, -0.12874360382556915, 0.22092804312705994, 0.3169670104980469, 0.017931004986166954, 0.11995522677898407, 0.5238438248634338, -0.09066237509250641, -0.17682720720767975, -0.15064772963523865, 0.15186238288879395, 0.015068016946315765, 0.18344764411449432, -0.23658454418182373, -0.4903312921524048, 0.05142384395003319, -0.12168968468904495, -0.6364889740943909, -0.32123348116874695, -0.33866336941719055, -0.09538086503744125, 0.05478735640645027, -0.5134429335594177, 0.6359264850616455, -0.29823052883148193, 0.633230984210968, 0.1215381771326065, -0.17448844015598297, 0.0898546352982521, 0.33368489146232605, -0.16305725276470184, 0.1686902940273285, -0.16933774948120117, 0.13600414991378784, 0.04704748094081879, -0.08283612877130508, 0.1729407012462616, -0.06617792695760727, -0.25140488147735596, -0.5820314884185791, 0.11306467652320862, 0.05327611789107323, -0.18162168562412262, 0.17567451298236847, 0.36038196086883545, 0.2598351538181305, -0.27157828211784363, 0.15236054360866547, 0.2585858702659607, 0.06588675826787949, -0.16854682564735413, -0.06851650774478912, -0.2650918960571289, -0.1911599338054657, -0.11122164875268936, 0.045239031314849854, -0.3964238166809082, 0.12000903487205505, 0.43451276421546936, -0.33275073766708374, -0.2252538502216339, 0.15714457631111145, 0.7250447273254395, -0.5171144008636475, -0.12908177077770233, 0.12983770668506622, -0.13444116711616516, -0.022230926901102066, 0.3152683675289154, 0.08970965445041656, -0.08656864613294601, 0.030114006251096725, -0.024738606065511703, 0.060339994728565216, 0.2313721477985382, -0.2065139263868332, 0.14853951334953308, 0.08397361636161804, 0.21134521067142487, -0.044366203248500824, -0.04590819776058197, -0.4026854932308197, 0.07989856600761414, -0.07830948382616043, -0.13375946879386902, 0.19241562485694885, -0.2655811607837677, -0.17031849920749664, -0.14012281596660614, 0.020850250497460365, -0.023467693477869034, -0.29940515756607056, -0.17114269733428955, 0.020261522382497787, 0.15658730268478394, -0.08731643110513687, 0.0025158775970339775, 0.11075309664011002, -0.057915180921554565, 0.028284255415201187, 0.00018168194219470024, 0.1482391208410263, -0.25817057490348816, 0.13390755653381348, 0.03302377834916115, -0.11092619597911835, 0.08013855665922165, 0.05540679395198822, 0.11809107661247253, 0.13428539037704468, 0.5482069849967957, -0.05683080106973648, 0.10361960530281067, -0.06717045605182648, 0.11230656504631042, 0.3478495180606842, 0.40279412269592285, 0.32096707820892334, 0.45502564311027527, 0.12216919660568237, -0.014624997973442078, 0.11341553926467896, 0.4984927773475647, 0.09380681067705154, 0.17411085963249207, -0.24038149416446686, 0.0036241840571165085, 0.07953621447086334, 0.20890213549137115, -0.1607048511505127, -0.1688680499792099, 0.11367860436439514, -0.3971087336540222, 0.0656704306602478, 0.3172363340854645, 0.4981611669063568, 0.3156639039516449, 0.38111329078674316, 0.013143792748451233, 0.6542543768882751, 0.05946751683950424, -0.03798443451523781, -0.08750809729099274, 0.08614268898963928, -0.018113840371370316, 0.38509461283683777, 0.5353461503982544, -0.02447345107793808, 0.25869524478912354, 0.08572948724031448, 0.08193885535001755, 0.40102702379226685, 0.2257038801908493, 0.06097298115491867, -0.3419249951839447, 0.30100128054618835, 0.030006393790245056, 0.16474303603172302, 0.23766523599624634, -0.005041837692260742, 0.11780107021331787, -0.0011794902384281158, -0.06357061117887497, 0.15405339002609253, 0.054008617997169495, -0.08967910706996918, 0.14679229259490967, 0.1477515697479248, -0.17259618639945984, -0.1436534821987152, -0.12828491628170013, -0.07389755547046661, -0.08546419441699982, -0.04907940328121185, -0.23594988882541656, -0.10194242000579834, 0.030218735337257385, -0.08783566951751709, -0.26668500900268555, 0.0746493861079216, -0.22655950486660004, 0.38086241483688354, 0.04903030768036842, 0.051729194819927216, 0.11605361104011536, 0.3190608620643616, 0.3914956748485565, -0.03887452930212021, -0.16162751615047455, -0.01692045107483864, -0.005207547917962074, -0.061618998646736145, 0.011739552021026611, 0.03181217610836029, 0.19160085916519165, 0.08989816904067993, 0.034369178116321564, 0.12272651493549347, -0.07179201394319534, -0.17500875890254974, 0.10305997729301453, -0.24491384625434875, -0.026264499872922897, 0.15511977672576904, 0.04093846306204796, -0.18269860744476318, -0.30746009945869446, 0.016249239444732666, -0.244988352060318, 0.21795788407325745, 0.5387541651725769, -0.041339173913002014, -0.05333338677883148, -0.13835375010967255, 0.12402276694774628, 0.2933949828147888, 0.16567136347293854, 0.3097016215324402, 0.32001596689224243, -0.37085720896720886, -0.09236139804124832, -0.3818053603172302, 0.11636995524168015, -0.0510784275829792, -0.04051627218723297, 0.029450468719005585, 0.11073644459247589, 0.5504106283187866, 0.04065115377306938, 0.014245375990867615, 0.09181968867778778, 0.014821023680269718, 0.00638168677687645, -0.24434083700180054, 0.058300603181123734, 0.5362588167190552, 0.25481200218200684, 0.03822852671146393, 0.15651732683181763, 0.1950312703847885, 0.11709202826023102, 0.0819096639752388, -0.5206134915351868, 0.00011955201625823975, 0.29899412393569946, -0.36162152886390686, 0.06237724423408508, -0.11582373082637787, 0.09752947837114334, -0.0967867374420166, -0.2877759039402008, 0.07246357202529907, -0.03545504808425903, -0.22071199119091034, 0.3952611982822418, -0.0783795714378357, 0.1363859623670578, 0.04547852277755737, -0.623728334903717, -0.21629378199577332, 0.19825367629528046, 0.05584299564361572, 0.3050630986690521, -0.48120740056037903, 0.2554114758968353, -0.09746576845645905, 0.053432632237672806, -0.008007886819541454, 0.2424408495426178, 0.08295978605747223, 0.01894836686551571, -0.38018959760665894, -0.36712419986724854, 0.3983461856842041, -0.11856795847415924, -0.2739655673503876, 0.023830223828554153, 0.12808898091316223, 0.33704301714897156, 0.18713052570819855, -0.5340446829795837, -0.12389860302209854, 0.35329070687294006, 0.047084130346775055, -0.25019150972366333, 0.25482991337776184, 0.04871653392910957, 0.15220575034618378, -0.14957430958747864, -0.05296391248703003, 0.05195252224802971, -0.336520791053772, -0.09821408987045288, -0.26994848251342773 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
I am renaming the main classes to match the dataset names, for example : CodeXGlueTcTextToCodeMain -> CodeXGlueTcTextToCode . And I am regenerating the dataset_infos.json accordingly.
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
25
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. I am renaming the main classes to match the dataset names, for example : CodeXGlueTcTextToCodeMain -> CodeXGlueTcTextToCode . And I am regenerating the dataset_infos.json accordingly.
[ -0.1549365073442459, 0.2749582529067993, -0.1512763500213623, 0.15413442254066467, 0.008866047486662865, 0.007154032588005066, -0.38030391931533813, 0.25003352761268616, -0.053627535700798035, -0.3096860647201538, -0.09072950482368469, 0.11865244060754776, 0.06594793498516083, 0.15734519064426422, 0.44182655215263367, -0.1962757408618927, 0.1622564047574997, 0.1317175328731537, 0.4641692638397217, -0.20849324762821198, -0.3648747503757477, 0.37464335560798645, -0.052800342440605164, 0.20879922807216644, 0.3401540219783783, -0.17742159962654114, -0.25954189896583557, 0.4445817470550537, -0.3872169256210327, -0.43333175778388977, -0.041745804250240326, 0.3876282870769501, 0.14250342547893524, 0.23205600678920746, -0.00010997084609698504, -0.19801825284957886, 0.15091124176979065, -0.09581610560417175, 0.019447099417448044, 0.035131119191646576, -0.16218531131744385, -0.34020233154296875, -0.30922555923461914, -0.035461023449897766, -0.1641393005847931, -0.5442079901695251, -0.05309437960386276, -0.7552084922790527, 0.004345402121543884, 0.3400062322616577, 0.20247161388397217, -0.10638920962810516, 0.23425741493701935, -0.20038029551506042, 0.4517659842967987, -0.009467676281929016, -0.0999290868639946, 0.043330103158950806, 0.8044785261154175, -0.05231897532939911, 0.010338649153709412, 0.4153367877006531, -0.0962018221616745, -0.1814224272966385, 0.4522729218006134, -0.188445582985878, -0.32921701669692993, -0.2434726357460022, 0.1966184377670288, 0.1565847396850586, 0.3665411174297333, -0.4704437553882599, -0.12412514537572861, -0.27538689970970154, -0.11594128608703613, -0.5894340872764587, 0.03177793323993683, 0.06349321454763412, -0.04150451719760895, 0.17017416656017303, -0.022868620231747627, -0.6050125360488892, -0.0742582231760025, 0.06105421856045723, 0.07501958310604095, 0.06928329169750214, -0.028408829122781754, -0.039515718817710876, 0.134518563747406, 0.15732333064079285, 0.05325878784060478, -0.19169530272483826, -0.40491458773612976, 0.009391777217388153, -0.12516283988952637, 0.007638804614543915, 0.13424986600875854, 0.16671140491962433, 0.28051137924194336, 0.13246458768844604, -0.1235170066356659, 0.1935785710811615, -0.12397217750549316, -0.1914413869380951, 0.09479936957359314, 0.04145484045147896, 0.35001036524772644, -0.023029189556837082, -0.02677871286869049, -0.1388617902994156, 0.1876518875360489, -0.1480294167995453, -0.037222523242235184, -0.14646361768245697, -0.26143187284469604, 0.0690688043832779, 0.11091509461402893, -0.19289515912532806, -0.04621140658855438, 0.3113643527030945, -0.2811383008956909, -0.25814583897590637, -0.16926874220371246, 0.2698575258255005, 0.1636083573102951, 0.0013624168932437897, 0.19921930134296417, 0.1180180236697197, -0.015230179764330387, -0.2646417021751404, -0.09519651532173157, 0.1650320589542389, -0.32070469856262207, 0.2119380384683609, -0.07503187656402588, -0.21453559398651123, -0.02963857166469097, 0.2545520067214966, 0.020099107176065445, -0.0038141533732414246, 0.13244277238845825, 0.060552094131708145, 0.40642598271369934, -0.03610045090317726, -0.11318917572498322, 0.04014336317777634, 0.16258129477500916, -0.5122745633125305, -0.2476276159286499, 0.129927396774292, -0.033645130693912506, -0.13678711652755737, -0.48030346632003784, 0.1565345823764801, -0.11916255950927734, -0.14944300055503845, 0.02609303593635559, 0.6866868734359741, -0.0790211632847786, 0.039504844695329666, 0.4170251190662384, -0.039584703743457794, 0.052983734756708145, 0.07423250377178192, -0.048784978687763214, 0.329584538936615, -0.7982258796691895, 0.1313738226890564, 0.0711255669593811, 0.03465184569358826, -0.01379954069852829, -0.022404003888368607, -0.22817233204841614, 0.2265245020389557, -0.16339904069900513, 0.0750480592250824, 0.3917299509048462, -0.3033277094364166, -0.04941143840551376, 0.2989681363105774, -0.007753580808639526, -0.03390717878937721, 0.10918145626783371, -0.14249612390995026, 0.4695065915584564, 0.11216601729393005, 0.1457482874393463, -0.10195036232471466, -0.12280888855457306, -0.21616370975971222, -0.24101535975933075, -0.12652812898159027, 0.03378850966691971, 0.14492538571357727, 0.28157326579093933, -0.00908004492521286, 0.25361889600753784, 0.09005087614059448, 0.33434590697288513, -0.10452158749103546, 0.09520791471004486, 0.41771817207336426, 0.3402145802974701, 0.18087895214557648, 0.2152176946401596, -0.04439260810613632, -0.1372022032737732, -0.1269383728504181, -0.07154499739408493, 0.38299381732940674, 0.27426356077194214, -0.07456298172473907, -0.20290371775627136, -0.067611925303936, -0.29207420349121094, -0.413902223110199, 0.14082646369934082, 0.051160916686058044, -0.15648673474788666, 0.01043500006198883, -0.14600688219070435, 0.3378002643585205, -0.21877633035182953, 0.07785139232873917, -0.22978468239307404, 0.05625118315219879, -0.13312780857086182, -0.09882234036922455, -0.15558871626853943, 0.28139886260032654, 0.12954926490783691, -0.1513509899377823, -0.08792608976364136, 0.1514216959476471, -0.1906214952468872, -0.3869475722312927, 0.3339056968688965, 0.4915887713432312, 0.20476186275482178, -0.294212281703949, 0.4490555226802826, -0.12767547369003296, 0.026864398270845413, -0.08036039769649506, -0.034370385110378265, 0.2743418216705322, 0.2979377210140228, 0.16853967308998108, -0.09068426489830017, -0.35406795144081116, 0.12274715304374695, -0.009430468082427979, -0.10505453497171402, 0.14892704784870148, 0.1041586846113205, 0.13347527384757996, 0.39613473415374756, -0.15427543222904205, -0.23885759711265564, 0.2509334683418274, 0.8361051082611084, -0.17107875645160675, -0.0896952822804451, 0.18307673931121826, -0.2329733967781067, -0.14505423605442047, 0.06661516427993774, -0.13281086087226868, 0.1833743005990982, 0.2986758053302765, 0.057527486234903336, 0.12248639762401581, 0.18670491874217987, -0.1447933316230774, 0.3662375807762146, 0.15020443499088287, -0.15636223554611206, -0.06037728488445282, 0.035564031451940536, -0.04327331483364105, -0.41848891973495483, -0.2949797809123993, -0.01343658845871687, 0.08768395334482193, -0.038469329476356506, 0.14570626616477966, 0.011409951373934746, -0.35553479194641113, -0.2969913184642792, 0.12734803557395935, -0.2975967228412628, -0.28689053654670715, 0.13286080956459045, -0.26743924617767334, 0.20683157444000244, 0.17699332535266876, -0.10808955132961273, 0.4430031180381775, -0.2473960667848587, -0.0048769377171993256, -0.22824658453464508, -0.03255321830511093, -0.3907241225242615, 0.1030513346195221, 0.28818193078041077, -0.0639360174536705, 0.43219810724258423, -0.07435795664787292, 0.2944669723510742, -0.5751311182975769, -0.5276652574539185, 0.3394118547439575, -0.21165509521961212, 0.030338676646351814, 0.09324892610311508, -0.16056330502033234, 0.16114196181297302, -0.13461394608020782, -0.18016766011714935, -0.09715481102466583, -0.06317206472158432, -0.3666456639766693, -0.3734833598136902, -0.06287189573049545, 0.016165345907211304, -0.3597937524318695, -0.18763765692710876, -0.26391905546188354, 0.25841885805130005, -0.10756304860115051, -0.054883167147636414, 0.1827722191810608, -0.06821257621049881, 0.10689233243465424, -0.09845360368490219, -0.08102016896009445, -0.1609426587820053, -0.1983824372291565, -0.04382200911641121, -0.08053773641586304, -0.010982207953929901, 0.12748301029205322, 0.06245536357164383, 0.0998847633600235, -0.31313836574554443, -0.29727405309677124, -0.13826708495616913, -0.01673520915210247, 0.3282538652420044, 0.015989897772669792, 0.19985955953598022, 0.12036608904600143, -0.05940397456288338, -0.1705216020345688, -0.027627279981970787, -0.365915983915329, -0.04063337296247482, -0.07460101693868637, 0.1599406898021698, 0.033071327954530716, 0.057737331837415695, -0.04056296497583389, 0.35229116678237915, 0.2159491330385208, 0.013519763946533203, 0.37880939245224, 0.18622343242168427, 0.6201272010803223, -0.04338487237691879, -0.4495495557785034, 0.08228885382413864, -0.12862372398376465, 0.16804924607276917, 0.2936328649520874, -0.030232258141040802, -0.26776131987571716, 0.24717390537261963, 0.13948261737823486, -0.03531157225370407, -0.09965424239635468, 0.37357649207115173, -0.03907916694879532, 0.04508661478757858, 0.06900011003017426, 0.04956051707267761, -0.35002997517585754, -0.05213763937354088, 0.23062492907047272, 0.4454227089881897, -0.16883262991905212, 0.20956382155418396, -0.3047403395175934, -0.016573548316955566, -0.24093565344810486, 0.43609559535980225, -0.10512366145849228, 0.14387601613998413, -0.19007614254951477, 0.17419525980949402, 0.1518281102180481, -0.02133805863559246, 0.4805687665939331, -0.3797379434108734, -0.5937913060188293, 0.44939854741096497, 0.27409809827804565, 0.5811365842819214, -0.13797780871391296, -0.21111184358596802, 0.3466908931732178, 0.5400514602661133, 0.14397293329238892, -0.2893594801425934, -0.2562965452671051, 0.15189039707183838, 0.08303450793027878, 0.04804688319563866, -0.03874639421701431, -0.11346334218978882, -0.45449551939964294, -0.3692106008529663, 0.2892772853374481, 0.3716929256916046, 0.2191799432039261, -0.287424236536026, 0.05762587860226631, 0.3279089033603668, 0.1575966775417328, 0.3016323149204254, -0.1560250073671341, 0.019337760284543037, 0.33030030131340027, -0.1882544606924057, -0.11038865149021149, 0.11211425065994263, 0.07578073441982269, 0.4114954173564911, -0.26345038414001465, -0.4344172477722168, 0.33352145552635193, -0.23654285073280334, 0.382914662361145, 0.5959619283676147, 0.14356273412704468, 0.33747807145118713, 0.2375280112028122, 0.04889487475156784, -0.014018810354173183, 0.16697688400745392, 0.11244157701730728, -0.006628974340856075, -0.520541250705719, -0.7803096771240234, 0.10155954211950302, 0.03862931579351425, -0.23833607137203217, 0.20132076740264893, 0.28196442127227783, -0.3357499837875366, 0.0929436907172203, -0.04087715595960617, 1.1303104162216187, -0.2066182643175125, 0.08147691190242767, -0.19866400957107544, -0.4860438108444214, 0.30421772599220276, -0.647095263004303, -0.041339337825775146, -0.4235905408859253, -0.07429207116365433, -0.0029418878257274628, -0.003957279026508331, 0.26067325472831726, 0.02377678081393242, -0.12435455620288849, 0.19648252427577972, 0.34923577308654785, 0.038244761526584625, 0.19502341747283936, 0.6087309718132019, -0.054820939898490906, -0.22048398852348328, -0.10374624282121658, 0.13328516483306885, -0.0471159964799881, 0.10033923387527466, -0.21082741022109985, -0.5235052704811096, -0.0014574117958545685, -0.13520894944667816, -0.6202616691589355, -0.20003709197044373, -0.2975061535835266, -0.08979998528957367, 0.040845926851034164, -0.5457583069801331, 0.6788579225540161, -0.20655089616775513, 0.6774004697799683, 0.08129389584064484, -0.1352352797985077, 0.12885364890098572, 0.39389461278915405, -0.12027177214622498, 0.19009950757026672, -0.21432320773601532, 0.05711064487695694, 0.10511026531457901, -0.0872824564576149, 0.2268616259098053, -0.05935347080230713, -0.2784818708896637, -0.6163125038146973, 0.09701763838529587, 0.11101008206605911, -0.22400328516960144, 0.20772896707057953, 0.405451238155365, 0.2046028971672058, -0.25562989711761475, 0.1351134181022644, 0.2596035599708557, 0.0409904420375824, -0.1365664303302765, -0.03545284643769264, -0.28298312425613403, -0.17322410643100739, -0.14829811453819275, 0.1066163033246994, -0.4269607961177826, 0.17190496623516083, 0.4090352952480316, -0.2193593829870224, -0.185224711894989, 0.172615647315979, 0.6993687152862549, -0.4300832748413086, -0.17996639013290405, 0.1358286440372467, -0.21665407717227936, 0.03113490715622902, 0.21345026791095734, 0.09554755687713623, -0.050029054284095764, 0.062149789184331894, 0.06677550077438354, 0.02553447149693966, 0.24472302198410034, -0.20936782658100128, 0.15721680223941803, 0.04939743131399155, 0.2603868544101715, -0.09115750342607498, 0.018036283552646637, -0.3624546527862549, 0.10484244674444199, -0.02872956171631813, -0.15726812183856964, 0.0924048125743866, -0.20331040024757385, -0.2562609016895294, -0.12333826720714569, -0.007098201662302017, -0.059512995183467865, -0.31775230169296265, -0.13301867246627808, 0.030037567019462585, 0.1720503270626068, -0.027852848172187805, -0.04951082170009613, 0.026390671730041504, -0.10650348663330078, 0.11134649813175201, -0.0017466889694333076, 0.08567872643470764, -0.2652619481086731, 0.09076744318008423, 0.08144783973693848, -0.14887583255767822, 0.013101480901241302, 0.1443777084350586, -0.001694805920124054, 0.15752334892749786, 0.5806312561035156, -0.005842182785272598, 0.15535973012447357, 0.008125467225909233, 0.08388395607471466, 0.355012983083725, 0.4265025556087494, 0.2950893044471741, 0.4876154363155365, 0.09750543534755707, -0.07864098250865936, 0.03825218603014946, 0.4393554627895355, 0.04117247834801674, 0.2577565014362335, -0.2677188515663147, -0.024496955797076225, 0.04825124889612198, 0.15220113098621368, -0.16755639016628265, -0.21340610086917877, 0.14565911889076233, -0.362011581659317, 0.006437826901674271, 0.25782790780067444, 0.5019563436508179, 0.2919357419013977, 0.40706008672714233, -0.013318628072738647, 0.6762049198150635, 0.10099753737449646, 0.03625614941120148, -0.09655018150806427, 0.06504692137241364, 0.010920736938714981, 0.4516897201538086, 0.4767427146434784, 0.012251593172550201, 0.2677643895149231, 0.09370533376932144, 0.045413509011268616, 0.28328055143356323, 0.2614884078502655, -0.02605866640806198, -0.32161471247673035, 0.25377556681632996, -0.04472184181213379, 0.2476450353860855, 0.303402304649353, 0.04954681918025017, 0.08750159293413162, -0.0243876613676548, -0.13431458175182343, 0.15189039707183838, 0.03239800035953522, -0.0929623618721962, 0.08341933786869049, 0.07672515511512756, -0.18089017271995544, -0.11628477275371552, -0.11548464000225067, -0.17975707352161407, -0.07665471732616425, -0.02426774799823761, -0.2749928832054138, -0.06738242506980896, 0.02451230399310589, -0.07165361195802689, -0.2258242964744568, -0.06975413113832474, -0.21483859419822693, 0.39124175906181335, 0.10471788793802261, 0.018018212169408798, 0.14038871228694916, 0.23191028833389282, 0.31714677810668945, 0.051092833280563354, -0.21257241070270538, -0.013323445804417133, -0.018376115709543228, -0.05831538140773773, 0.035934191197156906, 0.010962408035993576, 0.23524720966815948, -0.04341573640704155, -0.02005252055823803, 0.0896356925368309, -0.03037193790078163, -0.13076944649219513, 0.030976690351963043, -0.2578648626804352, 0.05278768017888069, 0.2638328969478607, 0.07460016012191772, -0.15421684086322784, -0.29922500252723694, 0.0006796494126319885, -0.22740361094474792, 0.15129023790359497, 0.502730667591095, -0.08934135735034943, -0.024729575961828232, -0.15932507812976837, 0.09665752202272415, 0.2803986966609955, 0.0890628844499588, 0.2642103433609009, 0.29938527941703796, -0.38398200273513794, -0.1555180549621582, -0.39384907484054565, 0.11780555546283722, -0.04279431328177452, -0.004689110442996025, 0.032040540128946304, 0.12324942648410797, 0.5875154733657837, -0.032194167375564575, -0.028245627880096436, 0.11539056152105331, -0.027292244136333466, 0.025899317115545273, -0.3645631670951843, 0.0996960699558258, 0.5483277440071106, 0.3324700593948364, 0.08278077095746994, 0.1376102864742279, 0.2035166472196579, 0.1337757408618927, 0.056154586374759674, -0.504567563533783, 0.06380368769168854, 0.3420346677303314, -0.3997143507003784, 0.135748490691185, -0.024260563775897026, 0.08198653161525726, -0.149399995803833, -0.2963268756866455, 0.061189036816358566, -0.058150339871644974, -0.22879116237163544, 0.4183076322078705, -0.10279205441474915, 0.19433946907520294, 0.05378985404968262, -0.637366771697998, -0.2025657594203949, 0.11781550943851471, 0.03919125348329544, 0.34447044134140015, -0.5057809352874756, 0.33734631538391113, -0.160941943526268, 0.1349259465932846, -0.031552597880363464, 0.2827455997467041, 0.1328410804271698, 0.1521330177783966, -0.37587183713912964, -0.2861655652523041, 0.4287428557872772, -0.08414780348539352, -0.32237908244132996, 0.10485440492630005, 0.09766657650470734, 0.2959614396095276, 0.1275825798511505, -0.37820717692375183, -0.14180231094360352, 0.301588237285614, 0.029197711497545242, -0.20639939606189728, 0.22993150353431702, -0.006133615970611572, 0.0971410721540451, -0.14407750964164734, -0.04889364540576935, 0.10554389655590057, -0.312531977891922, -0.18072552978992462, -0.2820896804332733 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Thanks for renaming the classes and updating the dataset_infos.json ! This looks all clean now :) This PR looks all good to me :) One just needs to merge master into this branch to make sure the CI is green with the latest changes. It should also fix the current CI issues that are not related to this PR
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
59
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Thanks for renaming the classes and updating the dataset_infos.json ! This looks all clean now :) This PR looks all good to me :) One just needs to merge master into this branch to make sure the CI is green with the latest changes. It should also fix the current CI issues that are not related to this PR
[ -0.22664517164230347, 0.2858455181121826, -0.12363564968109131, 0.08813140541315079, -0.0065578892827034, 0.012333497405052185, -0.38871487975120544, 0.2794707119464874, -0.11586302518844604, -0.296772301197052, -0.08997733891010284, 0.04875921085476875, 0.1519545465707779, 0.2305476814508438, 0.2945571839809418, -0.1860247254371643, 0.13748358190059662, 0.10573538392782211, 0.505399227142334, -0.13239088654518127, -0.3589872419834137, 0.34050342440605164, -0.05402258783578873, 0.2072870433330536, 0.28769057989120483, -0.21200191974639893, -0.3056933581829071, 0.46570277214050293, -0.49746042490005493, -0.3876110911369324, -0.0715089812874794, 0.40063393115997314, 0.1350981891155243, 0.33906856179237366, -0.00010927586845355108, -0.18049761652946472, 0.25727713108062744, -0.032282453030347824, 0.016629023477435112, 0.030413463711738586, -0.1183578372001648, -0.32980775833129883, -0.28324687480926514, 0.001857072114944458, -0.16824871301651, -0.4946616590023041, -0.08595781773328781, -0.5573903322219849, -0.006507381796836853, 0.3386160135269165, 0.22135278582572937, -0.07281678915023804, 0.18529324233531952, -0.2729043662548065, 0.3772597908973694, -0.011511966586112976, -0.0783064141869545, 0.04883990064263344, 0.7177494764328003, -0.05340088903903961, 0.039200060069561005, 0.3786245882511139, -0.14595778286457062, -0.205876424908638, 0.413603812456131, -0.18834927678108215, -0.14523759484291077, -0.305690199136734, 0.2501094937324524, 0.08617008477449417, 0.37279877066612244, -0.34090757369995117, -0.1190105602145195, -0.15459102392196655, -0.10180918872356415, -0.6111260652542114, 0.07875718921422958, 0.1748274564743042, -0.09390497207641602, 0.154486283659935, -0.08643785119056702, -0.5329898595809937, -0.052904702723026276, 0.009925417602062225, -0.030480332672595978, 0.12051990628242493, -0.061073169112205505, -0.04456569254398346, 0.2819131910800934, 0.2180798351764679, 0.0895201787352562, -0.15635749697685242, -0.460653156042099, -0.10852047801017761, -0.0050079189240932465, -0.03662480413913727, 0.18686579167842865, 0.23818111419677734, 0.19155952334403992, 0.22551855444908142, -0.1442626565694809, 0.157632976770401, -0.05851365998387337, -0.20959198474884033, 0.19494850933551788, 0.0033742859959602356, 0.1896781623363495, -0.02326785773038864, 0.05247487872838974, -0.04222091659903526, 0.21546334028244019, -0.10294642299413681, -0.08780498802661896, -0.19172734022140503, -0.3056551516056061, 0.11236661672592163, 0.13397330045700073, -0.25477561354637146, -0.02447538636624813, 0.28918391466140747, -0.19624397158622742, -0.2288288176059723, -0.18109118938446045, 0.25426918268203735, 0.10157352685928345, 0.05591700226068497, 0.17825329303741455, 0.030486196279525757, 0.015490448102355003, -0.19017627835273743, -0.10378675162792206, 0.12405423820018768, -0.41664743423461914, 0.0991823747754097, -0.11386431753635406, -0.28989896178245544, -0.031163591891527176, 0.2328219711780548, 0.13408149778842926, -0.04935078322887421, 0.07404930144548416, 0.050738610327243805, 0.48010849952697754, 0.07391936331987381, -0.06211923062801361, 0.034340858459472656, 0.23983363807201385, -0.5625962018966675, -0.20940253138542175, 0.18154338002204895, -0.023226074874401093, -0.24364085495471954, -0.5408850908279419, 0.1852232813835144, -0.14273202419281006, -0.08006484806537628, 0.02059447020292282, 0.6172671914100647, -0.09505967050790787, 0.0796886533498764, 0.3930363655090332, -0.02355080470442772, -0.009946975857019424, 0.05397573113441467, -0.022096334025263786, 0.3004212975502014, -0.7695997357368469, 0.19960030913352966, 0.053959380835294724, 0.010479418560862541, -0.0010866671800613403, 0.0875837430357933, -0.2000868171453476, 0.25410351157188416, -0.18370598554611206, -0.08735662698745728, 0.3260623812675476, -0.35531505942344666, -0.06153455376625061, 0.3322994112968445, -0.03564669191837311, -0.10822786390781403, 0.11495890468358994, -0.14798720180988312, 0.5009525418281555, 0.03122573532164097, 0.15557889640331268, -0.1496543288230896, -0.16785752773284912, -0.2250027060508728, -0.3206802010536194, -0.1188516765832901, -0.06919267028570175, 0.06683097779750824, 0.211471289396286, 0.08029073476791382, 0.22151196002960205, 0.048261858522892, 0.3292698860168457, -0.08137853443622589, 0.07977190613746643, 0.40085822343826294, 0.3793380856513977, 0.15553918480873108, 0.09464100003242493, 0.073421411216259, -0.11837673932313919, -0.15770530700683594, -0.013924812898039818, 0.43985193967819214, 0.3568347096443176, -0.14346367120742798, -0.22225713729858398, -0.08284424990415573, -0.3084102272987366, -0.4562632739543915, 0.13279707729816437, 0.06935809552669525, -0.23715676367282867, -0.07704727351665497, -0.15090136229991913, 0.1973121613264084, -0.1846122145652771, 0.0477679967880249, -0.13482224941253662, 0.0997752696275711, -0.21509002149105072, -0.03366842865943909, -0.13786038756370544, 0.31371796131134033, 0.1293937861919403, -0.1419232040643692, -0.05097455531358719, 0.15590332448482513, -0.27138787508010864, -0.32940244674682617, 0.21358391642570496, 0.5672019720077515, 0.23065805435180664, -0.2607309818267822, 0.3355836570262909, -0.10063321888446808, -0.032542478293180466, -0.0663335844874382, -0.18877023458480835, 0.348657488822937, 0.18476563692092896, 0.13955125212669373, -0.08160345256328583, -0.28022152185440063, 0.07247805595397949, -0.02212643437087536, -0.14559397101402283, 0.14311042428016663, 0.08382556587457657, 0.19929909706115723, 0.22033925354480743, -0.09833365678787231, -0.11794756352901459, 0.28318706154823303, 0.7488357424736023, -0.15542569756507874, -0.15014079213142395, 0.14689543843269348, -0.107584647834301, -0.17496243119239807, 0.04185197874903679, -0.0531223900616169, 0.19296854734420776, 0.28949329257011414, 0.039371080696582794, 0.18995030224323273, 0.25042423605918884, -0.16605395078659058, 0.3781880736351013, 0.17111942172050476, -0.16783148050308228, 0.039625465869903564, 0.06681109964847565, 0.04624183848500252, -0.330878347158432, -0.18953439593315125, 0.006207434460520744, 0.2547375559806824, -0.023728279396891594, 0.08219342678785324, 0.043198101222515106, -0.40456467866897583, -0.18162083625793457, 0.19055962562561035, -0.21841372549533844, -0.32051989436149597, 0.03738940507173538, -0.1407833844423294, 0.10515014827251434, 0.2128642052412033, -0.05506893992424011, 0.4750702381134033, -0.2299247533082962, 0.07827119529247284, -0.2538628876209259, -0.059717509895563126, -0.31331905722618103, 0.11177538335323334, 0.302438348531723, -0.06288408488035202, 0.37127622961997986, -0.03114553540945053, 0.317324161529541, -0.7344322800636292, -0.6135770678520203, 0.31811410188674927, -0.23961709439754486, 0.08359958231449127, 0.13757309317588806, -0.07452428340911865, 0.10854829847812653, -0.11721233278512955, -0.11943956464529037, -0.10428346693515778, -0.11925302445888519, -0.4185550808906555, -0.38077592849731445, -0.04238408803939819, 0.0008138604462146759, -0.3232491612434387, -0.15687771141529083, -0.4015006422996521, 0.25037461519241333, -0.07887612283229828, -0.07592494785785675, 0.24821984767913818, -0.06357169151306152, 0.012712922878563404, -0.041171636432409286, -0.19991621375083923, -0.1985199749469757, -0.2367004156112671, -0.0890374630689621, -0.10587913542985916, -0.10097610950469971, 0.17766962945461273, 0.08492058515548706, 0.10484153032302856, -0.36701273918151855, -0.32514649629592896, -0.18078847229480743, 0.0012575127184391022, 0.3537718951702118, 0.012635689228773117, 0.17497403919696808, 0.09274345636367798, -0.0698896273970604, -0.21990039944648743, 0.022938154637813568, -0.4022268056869507, -0.13222917914390564, -0.012999549508094788, 0.18504932522773743, -0.016638122498989105, 0.11771491169929504, -0.07160785049200058, 0.3637614846229553, 0.2814803719520569, 0.056542232632637024, 0.2456151247024536, 0.1898306906223297, 0.6981565952301025, -0.08233807235956192, -0.490578830242157, 0.12081553786993027, -0.18268528580665588, 0.12095180153846741, 0.3271923065185547, -0.0014989282935857773, -0.2864373028278351, 0.2291555404663086, 0.14747977256774902, 0.008444640785455704, -0.13728965818881989, 0.35493525862693787, -0.05030388385057449, 0.044962216168642044, 0.05542593076825142, 0.008791454136371613, -0.3438168466091156, -0.082350954413414, 0.24967741966247559, 0.48062020540237427, -0.12378864735364914, 0.16525119543075562, -0.24019119143486023, 0.04514283314347267, -0.23442184925079346, 0.37947797775268555, -0.1413373500108719, 0.1185789480805397, -0.21565914154052734, 0.1039750799536705, 0.16601435840129852, -0.020855510607361794, 0.4760221242904663, -0.47394055128097534, -0.5923037528991699, 0.4929782450199127, 0.20293022692203522, 0.5700188875198364, -0.16064921021461487, -0.19526483118534088, 0.43882349133491516, 0.5361754298210144, 0.16482341289520264, -0.24010434746742249, -0.291765034198761, 0.3022294044494629, 0.00937198381870985, 0.09936405718326569, 0.004919780418276787, -0.21807685494422913, -0.4972292184829712, -0.3823237419128418, 0.3458942174911499, 0.3641989529132843, 0.15696297585964203, -0.3475736677646637, 0.057936396449804306, 0.3737414479255676, 0.17815598845481873, 0.24279160797595978, -0.22093722224235535, -0.029856976121664047, 0.3390527069568634, -0.1956305354833603, -0.1173471212387085, 0.09364244341850281, 0.07303083688020706, 0.45388877391815186, -0.21768200397491455, -0.29148098826408386, 0.44737616181373596, -0.2350989729166031, 0.3368692994117737, 0.6513985395431519, 0.2164655178785324, 0.31877395510673523, 0.2794314920902252, 0.16886043548583984, -0.027111176401376724, 0.08279786258935928, 0.0686899945139885, 0.01921234279870987, -0.5658218264579773, -0.651322066783905, 0.02443474903702736, 0.07289445400238037, -0.25583237409591675, 0.1852242797613144, 0.24707575142383575, -0.22871926426887512, 0.1018940806388855, -0.020387955009937286, 1.1583048105239868, -0.12274730205535889, 0.10131634771823883, -0.15474823117256165, -0.42541682720184326, 0.3359679579734802, -0.6282863616943359, -0.004760961979627609, -0.4175196886062622, -0.14080238342285156, -0.03618557006120682, -0.016511164605617523, 0.18727639317512512, -0.08859613537788391, -0.19272735714912415, 0.13481386005878448, 0.3431892395019531, 0.15598849952220917, 0.26430249214172363, 0.5100982189178467, -0.08047755062580109, -0.09239420294761658, -0.06165367364883423, 0.1324225217103958, -0.03763996809720993, 0.18072400987148285, -0.27150246500968933, -0.49903714656829834, -0.002056349068880081, -0.08818477392196655, -0.6503092646598816, -0.2016201913356781, -0.2588576078414917, -0.06115134060382843, 0.045220840722322464, -0.5927031636238098, 0.5836328864097595, -0.30168893933296204, 0.7546252012252808, 0.1643601655960083, -0.13401393592357635, 0.16102078557014465, 0.40543127059936523, -0.08376900106668472, 0.18870809674263, -0.27656620740890503, 0.04612612724304199, 0.06327735632658005, -0.10021013021469116, 0.21028390526771545, -0.07981574535369873, -0.2516433596611023, -0.596329927444458, 0.15106898546218872, 0.08501701056957245, -0.2162546068429947, 0.21879713237285614, 0.344225138425827, 0.11751586198806763, -0.2658649682998657, 0.13493473827838898, 0.1708211600780487, 0.0483107827603817, -0.20343351364135742, 0.007512006908655167, -0.30783072113990784, -0.1263323426246643, -0.14712348580360413, 0.13243262469768524, -0.44674837589263916, 0.10895828902721405, 0.4310804307460785, -0.20499713718891144, -0.2120411992073059, 0.14656564593315125, 0.608076274394989, -0.42788878083229065, -0.11749393492937088, 0.07003627717494965, -0.2884126901626587, 0.1047646626830101, 0.3292468190193176, 0.1876590996980667, -0.017067886888980865, 0.04294482246041298, 0.05568434298038483, -0.08709412813186646, 0.22800444066524506, -0.2554209530353546, 0.16081030666828156, -0.035400327295064926, 0.320124089717865, -0.019590454176068306, -0.021583950147032738, -0.38037535548210144, 0.1142401397228241, -0.1186181828379631, -0.17764334380626678, 0.16303347051143646, -0.2865198850631714, -0.28366532921791077, -0.14970649778842926, -0.0305604487657547, -0.03530207276344299, -0.3332856595516205, -0.1318620890378952, 0.0931231677532196, 0.1935955435037613, -0.0030837170779705048, -0.10001645982265472, 0.13837862014770508, 0.02829640358686447, 0.040381018072366714, 0.1031770259141922, 0.10522875189781189, -0.2856379747390747, 0.13727474212646484, -0.04500456899404526, -0.220168337225914, -0.006089374423027039, 0.14372560381889343, -0.004426099359989166, 0.204321026802063, 0.561725378036499, -0.09379228949546814, 0.17020180821418762, -0.04315697029232979, 0.030193500220775604, 0.35478702187538147, 0.39237287640571594, 0.339761346578598, 0.5055187344551086, 0.16488930583000183, -0.10174565017223358, 0.02288048341870308, 0.42230743169784546, 0.1277553141117096, 0.15551476180553436, -0.21757109463214874, -0.025705238804221153, 0.044577986001968384, 0.17658507823944092, -0.18464823067188263, -0.12076182663440704, 0.11037574708461761, -0.30449920892715454, 0.0046943798661231995, 0.2298392355442047, 0.5117567181587219, 0.2127973735332489, 0.38489001989364624, 0.08204375207424164, 0.6565215587615967, -0.01656608283519745, 0.0890861451625824, -0.10871507227420807, 0.06673282384872437, -0.004960257560014725, 0.4553920030593872, 0.38522598147392273, -0.02016296237707138, 0.16554301977157593, 0.18085849285125732, 0.08984246104955673, 0.31652578711509705, 0.2372034341096878, 0.023442555218935013, -0.3554649353027344, 0.33057621121406555, -0.08167356252670288, 0.2085644006729126, 0.16764554381370544, 0.11215865612030029, 0.07086843997240067, 0.000812821090221405, -0.20311380922794342, 0.03363359719514847, 0.07927094399929047, -0.12779611349105835, 0.13579973578453064, -0.008247358724474907, -0.19025960564613342, -0.030288394540548325, 0.00031846389174461365, -0.11221723258495331, 0.036947011947631836, -0.017512977123260498, -0.23256884515285492, -0.10497158765792847, -0.02002733014523983, -0.12052234262228012, -0.2415902018547058, 0.006067231297492981, -0.16446037590503693, 0.42739608883857727, 0.1025315523147583, -0.03388688713312149, 0.12118738889694214, 0.3810095489025116, 0.3824211061000824, 0.06934481859207153, -0.14731961488723755, -0.007895498536527157, -0.05210612341761589, -0.05971035361289978, 0.055148519575595856, 0.07515986263751984, 0.27947771549224854, -0.035965967923402786, -0.03026530146598816, 0.10374316573143005, -0.07425151020288467, -0.027668271213769913, -0.059240374714136124, -0.3774701952934265, -0.00021283328533172607, 0.1934250146150589, 0.16944622993469238, -0.25373584032058716, -0.18933908641338348, -0.0020070821046829224, -0.11911234259605408, 0.1499379724264145, 0.5518850088119507, -0.04311139136552811, -0.01654871366918087, -0.19098469614982605, 0.12310591340065002, 0.34356895089149475, 0.10383212566375732, 0.3244200050830841, 0.30184152722358704, -0.40556180477142334, -0.11963195353746414, -0.43023237586021423, 0.187681645154953, -0.03690492734313011, 0.06141166388988495, 0.049229975789785385, 0.10846737027168274, 0.5450826287269592, 0.08502503484487534, -0.012090086936950684, 0.03606152534484863, 0.001282854937016964, -0.07027634978294373, -0.38775166869163513, 0.19496436417102814, 0.5458385348320007, 0.21221987903118134, 0.03378351777791977, 0.05967513471841812, 0.23862960934638977, 0.18081064522266388, 0.0959588959813118, -0.4478342533111572, -0.012102223932743073, 0.31173351407051086, -0.31358861923217773, 0.016758035868406296, 0.0992247685790062, 0.06326501816511154, -0.03942476958036423, -0.2974318563938141, -0.019673209637403488, -0.05394190549850464, -0.20772476494312286, 0.44360992312431335, -0.07477213442325592, 0.20292285084724426, 0.07896479964256287, -0.578924298286438, -0.2744792699813843, 0.05111423134803772, 0.03164985030889511, 0.39321765303611755, -0.5259096622467041, 0.25532305240631104, -0.10438157618045807, 0.16942951083183289, 0.016207486391067505, 0.2620852589607239, 0.10254311561584473, 0.1613396555185318, -0.4675029516220093, -0.3495344817638397, 0.46196314692497253, -0.14086829125881195, -0.2860882580280304, 0.10224436223506927, 0.16525830328464508, 0.22876352071762085, 0.1386440098285675, -0.3418412208557129, -0.17840003967285156, 0.20666703581809998, 0.00436733104288578, -0.31084969639778137, 0.19019481539726257, -0.10189978778362274, 0.06352847814559937, -0.10914614796638489, 0.005965709686279297, 0.043872956186532974, -0.4592821002006531, -0.1314733624458313, -0.2606850862503052 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Woot woot :rocket:! All green, looks like it is ready for showtime. Thank you both @lhoestq and especially @madlag, I think these datasets are going to be a great new addition to :hugs: datasets and I can't wait to use them in my research :nerd_face:.
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
45
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Woot woot :rocket:! All green, looks like it is ready for showtime. Thank you both @lhoestq and especially @madlag, I think these datasets are going to be a great new addition to :hugs: datasets and I can't wait to use them in my research :nerd_face:.
[ -0.1531887948513031, 0.19069772958755493, -0.170442596077919, 0.15374839305877686, -0.01878642663359642, 0.04111237823963165, -0.25762343406677246, 0.14494436979293823, 0.1471744030714035, -0.26668208837509155, -0.17318731546401978, -0.03901611641049385, -0.158971905708313, 0.31186842918395996, 0.5349226593971252, -0.16798362135887146, 0.16963088512420654, 0.055022869259119034, 0.39597150683403015, -0.20611469447612762, -0.3450884222984314, 0.3769759237766266, 0.05814641714096069, 0.19323691725730896, 0.1992412954568863, -0.24769377708435059, -0.16860546171665192, 0.437726229429245, -0.35755231976509094, -0.45778173208236694, -0.11784858256578445, 0.35155707597732544, 0.08370308578014374, 0.20928145945072174, -0.00011274554708506912, -0.15702596306800842, 0.1268814206123352, -0.07835328578948975, -0.026669863611459732, -0.026430830359458923, 0.15140432119369507, -0.29989442229270935, -0.32389140129089355, 0.03906915336847305, -0.1587821990251541, -0.4672214984893799, -0.01351098157465458, -0.7744684815406799, 0.04370533674955368, 0.33810678124427795, 0.14073440432548523, 0.05279522389173508, 0.1375236213207245, -0.11889062076807022, 0.5209934115409851, 0.09764200448989868, -0.09493029117584229, -0.009916568174958229, 0.7929316759109497, -0.07152051478624344, -0.10024314373731613, 0.4837862551212311, -0.09093774855136871, -0.3184773027896881, 0.4872789680957794, -0.14277087152004242, -0.24027854204177856, -0.27978137135505676, 0.11876088380813599, 0.17304366827011108, 0.21720126271247864, -0.3076550364494324, -0.13560275733470917, -0.33090049028396606, -0.23188908398151398, -0.5234376788139343, -0.019078053534030914, 0.05959707498550415, -0.06413629651069641, 0.19459544122219086, -0.10204781591892242, -0.5983791351318359, -0.010491039603948593, 0.05274170637130737, 0.05007721483707428, 0.09157627075910568, -0.012877478264272213, 0.024324875324964523, 0.25978952646255493, 0.19349093735218048, 0.11240395903587341, -0.0629713237285614, -0.3693206012248993, -0.06078902259469032, -0.11566132307052612, 0.07029610127210617, 0.04409708082675934, 0.31421470642089844, 0.2356322705745697, 0.13558310270309448, -0.20023101568222046, 0.10371939837932587, -0.05727288872003555, -0.18171340227127075, 0.09315165877342224, -0.06735662370920181, 0.32821428775787354, -0.01970994845032692, 0.021313555538654327, -0.1973273605108261, 0.23433339595794678, -0.1328946352005005, -0.0958976075053215, -0.0379847027361393, -0.17639124393463135, 0.021516472101211548, -0.08048166334629059, -0.024030491709709167, -0.08489358425140381, 0.32639604806900024, -0.14539465308189392, -0.31624680757522583, -0.08065883815288544, 0.3165549039840698, 0.2564602792263031, -0.10421749204397202, 0.15926560759544373, 0.07979656755924225, 0.10494056344032288, -0.3767816126346588, -0.10961858183145523, 0.1489005982875824, -0.3284275531768799, 0.24054676294326782, -0.06269841641187668, -0.23298808932304382, -0.008003068156540394, 0.08691812306642532, 0.17573222517967224, 0.02149493247270584, -0.07844191789627075, -0.03245619684457779, 0.4999985992908478, 0.07921037077903748, -0.1668543815612793, 0.046581022441387177, 0.21650239825248718, -0.49042874574661255, -0.22855862975120544, 0.17791029810905457, 0.0700988620519638, -0.07923830300569534, -0.4186413586139679, 0.10505510121583939, -0.1996213048696518, -0.25868740677833557, -0.07747263461351395, 0.7141993641853333, -0.05838843435049057, 0.17099907994270325, 0.4811879098415375, 0.013448256999254227, -0.04291433095932007, 0.0650128722190857, -0.05709810554981232, 0.38960832357406616, -0.7762836813926697, 0.01849549263715744, 0.12424317747354507, 0.04736169055104256, -0.020229287445545197, 0.11050647497177124, -0.2433851957321167, 0.21592029929161072, -0.21569199860095978, 0.0651296079158783, 0.43873775005340576, -0.344803124666214, 0.0704592615365982, 0.27040162682533264, 0.03321192413568497, 0.007409537211060524, 0.2304171323776245, -0.07814662903547287, 0.40821540355682373, 0.13776957988739014, 0.07265976071357727, -0.12589694559574127, -0.07215415686368942, -0.24075116217136383, -0.24596017599105835, -0.16085566580295563, 0.2646101117134094, 0.1940464973449707, 0.2741716206073761, -0.0758117064833641, 0.18894533812999725, -0.074195496737957, 0.3924673795700073, -0.028582122176885605, 0.04275640845298767, 0.21600434184074402, 0.26532602310180664, 0.20992961525917053, 0.2612750828266144, -0.09753523766994476, -0.1443987488746643, -0.1589125543832779, -0.005664907395839691, 0.2707664966583252, 0.262275755405426, -0.07377192378044128, -0.24578729271888733, -0.08016899228096008, -0.20386652648448944, -0.41248631477355957, 0.07800548523664474, -0.03565976023674011, -0.20960581302642822, 0.10865040123462677, -0.2271362841129303, 0.4373988211154938, -0.09104667603969574, 0.1265685111284256, -0.18612751364707947, 0.2315625697374344, -0.12667368352413177, -0.10713803768157959, -0.15913856029510498, 0.23735269904136658, 0.11908799409866333, -0.14815010130405426, 0.01713111437857151, 0.16767185926437378, -0.0884094089269638, -0.1858915239572525, 0.30653688311576843, 0.44450926780700684, 0.18225117027759552, -0.2717421054840088, 0.405352920293808, 0.07127095758914948, 0.016780249774456024, -0.13347727060317993, 0.10150204598903656, 0.1984626203775406, 0.24177680909633636, 0.09678681194782257, -0.025449413806200027, -0.3418271541595459, -0.0292391125112772, 0.14190693199634552, -0.21493396162986755, 0.17729271948337555, 0.21257415413856506, -0.004717957228422165, 0.5346980690956116, -0.08058865368366241, -0.2982054352760315, 0.20049220323562622, 0.9786367416381836, -0.1603098064661026, -0.07347040623426437, 0.13439199328422546, -0.2418462634086609, -0.197061687707901, 0.018357176333665848, -0.2635681927204132, 0.081720732152462, 0.278702974319458, 0.05400755628943443, 0.10301242768764496, 0.22964532673358917, -0.1779116690158844, 0.3652094602584839, 0.20396468043327332, -0.07424455881118774, -0.05078104883432388, 0.0038986115250736475, -0.012567735277116299, -0.4809296727180481, -0.18807311356067657, -0.16698354482650757, -0.06357087194919586, -0.11002287268638611, 0.15685710310935974, 0.18566399812698364, -0.44588518142700195, -0.35258716344833374, 0.12612071633338928, -0.387637734413147, -0.28947368264198303, 0.12750646471977234, -0.368007093667984, 0.2444261610507965, 0.017578670755028725, -0.0589713416993618, 0.5529863238334656, -0.3002997040748596, 0.001532960683107376, -0.34387606382369995, -0.07210326194763184, -0.3157046139240265, 0.0468418188393116, 0.22812455892562866, -0.15304359793663025, 0.4068008363246918, -0.11757189780473709, 0.331764817237854, -0.48498958349227905, -0.5936740040779114, 0.2965186536312103, -0.29813623428344727, 0.10825242847204208, 0.11282753944396973, -0.13991975784301758, 0.06537120789289474, -0.16888977587223053, -0.2170516699552536, -0.23583543300628662, -0.11645732074975967, -0.43194305896759033, -0.2757264971733093, -0.0515282079577446, 0.016486886888742447, -0.33397573232650757, -0.33302536606788635, -0.27093589305877686, 0.33193957805633545, -0.18962866067886353, -0.0832279622554779, 0.2740819454193115, -0.2367914617061615, 0.09936472773551941, -0.14026989042758942, -0.19082914292812347, -0.1505783349275589, -0.2319052368402481, -0.04188014194369316, -0.024655241519212723, -0.0270594023168087, 0.057393986731767654, 0.11849045753479004, 0.01843162626028061, -0.29467886686325073, -0.3271486163139343, 0.04481733217835426, -0.11747102439403534, 0.33758544921875, -0.07150200009346008, 0.15114381909370422, 0.04737241566181183, -0.06692378222942352, -0.1387014389038086, -0.09008319675922394, -0.32089290022850037, 0.006705649197101593, -0.06439559161663055, 0.06420455873012543, 0.035828597843647, -0.09793908149003983, 0.025270778685808182, 0.4342716336250305, 0.16895900666713715, 0.09405001997947693, 0.433125764131546, 0.2079756110906601, 0.6380836367607117, -0.06394747644662857, -0.5602986216545105, 0.19877035915851593, -0.11593273282051086, 0.16641955077648163, 0.23130904138088226, -0.04237790405750275, -0.2415798455476761, 0.21930041909217834, 0.14138561487197876, -0.05304626375436783, -0.0480048730969429, 0.3035919964313507, 0.0852753072977066, 0.00857745110988617, -0.0267932191491127, -0.017647743225097656, -0.19745703041553497, -0.10723898559808731, 0.2693632245063782, 0.4769207835197449, -0.042416878044605255, 0.3043586015701294, -0.31070905923843384, -0.003598603652790189, -0.2502228021621704, 0.34555014967918396, -0.027653243392705917, 0.03510512784123421, -0.2454046607017517, 0.06575676798820496, 0.13791672885417938, -0.014617251232266426, 0.6500555276870728, -0.26134276390075684, -0.5253210067749023, 0.3544878363609314, 0.3104325532913208, 0.41473469138145447, -0.11068637669086456, -0.22840122878551483, 0.20798072218894958, 0.4295525550842285, 0.3195228576660156, -0.14848817884922028, -0.1802022010087967, 0.06908091902732849, 0.12885412573814392, 0.027319852262735367, -0.04105290770530701, -0.1605602353811264, -0.3459796607494354, -0.26483815908432007, 0.27576133608818054, 0.3894374370574951, 0.17728406190872192, -0.309102863073349, -0.013067686930298805, 0.41288673877716064, 0.10908251255750656, 0.23844556510448456, -0.15873515605926514, -0.010510336607694626, 0.21140523254871368, -0.17607565224170685, 0.12806524336338043, 0.07552395761013031, 0.041283540427684784, 0.3514138162136078, -0.30727434158325195, -0.42302536964416504, 0.23877397179603577, -0.3648013770580292, 0.42746832966804504, 0.6595252752304077, 0.0078379912301898, 0.3181799054145813, 0.23833030462265015, 0.006129428744316101, -0.09007377177476883, 0.13710257411003113, 0.12082736939191818, 0.027387235313653946, -0.49346181750297546, -0.6739796996116638, 0.04079725220799446, 0.1075577437877655, -0.1851230263710022, 0.1376853585243225, 0.36943191289901733, -0.28470784425735474, 0.07029427587985992, -0.05365116149187088, 1.2561064958572388, -0.2960638999938965, 0.2601127624511719, -0.16557860374450684, -0.5139248371124268, 0.20043684542179108, -0.49650079011917114, -0.06811325997114182, -0.3924456536769867, -0.06076883524656296, -0.0683678686618805, -0.00875680148601532, 0.3082827031612396, 0.004309102892875671, -0.11648228764533997, 0.1865137666463852, 0.32305067777633667, 0.009064558893442154, 0.07144295424222946, 0.5282750129699707, -0.07638983428478241, -0.10037994384765625, -0.08652552962303162, 0.05060518532991409, -0.09624435007572174, 0.1329318732023239, -0.16309428215026855, -0.498787522315979, -0.05835817754268646, -0.15657183527946472, -0.6635721325874329, -0.3524015545845032, -0.34709715843200684, -0.13688243925571442, 0.13644178211688995, -0.606145441532135, 0.6079873442649841, -0.15454214811325073, 0.6773796677589417, 0.059601735323667526, -0.08649927377700806, 0.07764256000518799, 0.26024672389030457, -0.11346568912267685, 0.05493667349219322, -0.1970435231924057, 0.12200245261192322, 0.03120553493499756, -0.13025419414043427, 0.2051626741886139, -0.05036231875419617, -0.3028941750526428, -0.7111654877662659, 0.18648502230644226, 0.11126115918159485, -0.1384415328502655, 0.2576274871826172, 0.3867863118648529, 0.15374435484409332, -0.24188870191574097, 0.08101809024810791, 0.20177845656871796, 0.08834421634674072, -0.2224256992340088, 0.021925782784819603, -0.2913232445716858, -0.17805561423301697, -0.17638692259788513, 0.04053806513547897, -0.3912927508354187, 0.11136850714683533, 0.38445958495140076, -0.31924188137054443, -0.2131759226322174, 0.21900293231010437, 0.791466474533081, -0.497317910194397, -0.14514589309692383, 0.1709137260913849, -0.1499793380498886, -0.0567406490445137, 0.30506762862205505, 0.1016816571354866, -0.034274280071258545, 0.13200713694095612, 0.03819793462753296, 0.06539858877658844, 0.25611793994903564, -0.2875157296657562, 0.06651146709918976, 0.17541298270225525, 0.12677043676376343, -0.05682346224784851, 0.015298119746148586, -0.3227997422218323, 0.18607214093208313, 0.05627095699310303, -0.22393804788589478, 0.08006112277507782, -0.29366010427474976, -0.19357502460479736, -0.16763076186180115, -0.03914137929677963, -0.07948193699121475, -0.3066645860671997, -0.08091714978218079, 0.02207164093852043, 0.17802944779396057, -0.018877025693655014, -0.053015872836112976, 0.12260987609624863, 0.027575135231018066, 0.12747889757156372, -0.020789438858628273, 0.18977044522762299, -0.22622036933898926, 0.12011468410491943, 0.1747443526983261, -0.10258287191390991, 0.08656919747591019, 0.14673466980457306, 0.03734906017780304, 0.1870744526386261, 0.6185155510902405, 0.07930795103311539, 0.060956209897994995, 0.049863893538713455, 0.05846647918224335, 0.39911583065986633, 0.47936365008354187, 0.3565071225166321, 0.5741389989852905, 0.06998035311698914, -0.0974535346031189, 0.030376706272363663, 0.2671511769294739, 0.12058551609516144, 0.2435428500175476, -0.24901819229125977, -0.02407154254615307, 0.10396801680326462, 0.11134016513824463, -0.18667328357696533, -0.21857696771621704, 0.16539821028709412, -0.3374979496002197, 0.05423128977417946, 0.38866913318634033, 0.5763227343559265, 0.41652435064315796, 0.4219821095466614, -0.07259209454059601, 0.719674289226532, 0.16241273283958435, 0.028448225930333138, -0.11290137469768524, 0.07324764132499695, -0.005731519311666489, 0.42892351746559143, 0.5312309265136719, -0.03703337162733078, 0.2400769591331482, 0.014588281512260437, 0.11885590851306915, 0.48137760162353516, 0.28609079122543335, 0.03526013717055321, -0.21826742589473724, 0.22221527993679047, -0.097942054271698, 0.0903872400522232, 0.2579714059829712, -0.043200939893722534, 0.23922768235206604, 0.04433361813426018, -0.15378133952617645, 0.27413904666900635, -0.017377164214849472, -0.025717291980981827, 0.09950537979602814, 0.29291823506355286, -0.17964792251586914, -0.3726577162742615, -0.05891543626785278, -0.14991751313209534, -0.22905974090099335, 0.0576234869658947, -0.19179029762744904, -0.056801795959472656, 0.0035807890817523003, -0.06910116970539093, -0.27681466937065125, 0.06540559977293015, -0.22646009922027588, 0.43165844678878784, 0.10253134369850159, 0.0753953829407692, 0.2651238441467285, 0.2777699828147888, 0.28326281905174255, 0.015507007017731667, -0.1623459756374359, 0.029058698564767838, -0.07900887727737427, -0.06818269193172455, 0.03823067247867584, 0.027823545038700104, 0.250465452671051, 0.012314992025494576, 0.05847017839550972, 0.04003802686929703, -0.02073320746421814, -0.05857296660542488, 0.0827111005783081, -0.18771477043628693, -0.07805199921131134, 0.1942618489265442, -0.05960436165332794, -0.16981583833694458, -0.3898816704750061, -0.0642121210694313, -0.3545527458190918, 0.18898028135299683, 0.5360875129699707, -0.05511994659900665, -0.0028973128646612167, -0.1509484201669693, 0.07248876988887787, 0.32702451944351196, 0.18540802597999573, 0.3591400682926178, 0.43695348501205444, -0.2599523067474365, -0.11599007248878479, -0.272184282541275, 0.04781758785247803, 0.02609837055206299, 0.048584409058094025, -0.1018604189157486, -0.00016046687960624695, 0.5728222727775574, 0.03950418531894684, 0.11624591797590256, 0.07113885879516602, 0.012783232145011425, -0.06898355484008789, -0.24297262728214264, 0.1456737518310547, 0.704132080078125, 0.3795051872730255, -0.001451866701245308, 0.25819632411003113, 0.2608826160430908, 0.20643243193626404, -0.00382126122713089, -0.5045161843299866, -0.010424945503473282, 0.2583029568195343, -0.35245054960250854, 0.0805281475186348, -0.12043587863445282, 0.1330493688583374, -0.12480846792459488, -0.2658611238002777, 0.07584020495414734, -0.04597826302051544, -0.27477285265922546, 0.279975563287735, -0.05596565827727318, 0.2147417664527893, -0.06218135356903076, -0.7344920039176941, -0.18674655258655548, 0.15504775941371918, 0.04048338532447815, 0.27960672974586487, -0.3713451623916626, 0.20992830395698547, -0.07792210578918457, -0.10432767868041992, -0.10064556449651718, 0.31115081906318665, 0.11664113402366638, -0.013972867280244827, -0.3340458571910858, -0.24808359146118164, 0.39981895685195923, -0.023203885182738304, -0.2908358871936798, 0.08415429294109344, 0.06493794918060303, 0.4927530586719513, 0.1968693882226944, -0.5518103837966919, -0.23913714289665222, 0.3017585277557373, 0.03914216160774231, -0.18699043989181519, 0.26475977897644043, 0.008191728964447975, 0.07891982793807983, -0.10614506900310516, -0.056594207882881165, 0.16391006112098694, -0.2596748173236847, -0.13397717475891113, -0.2983354926109314 ]
https://github.com/huggingface/datasets/pull/2357
Adding Microsoft CodeXGlue Datasets
Thanks @ncoop57 for you contribution! It will be really cool to see those datasets used as soon as they are released !
Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq.
22
text: Adding Microsoft CodeXGlue Datasets Hi there, this is a new pull request to get the CodeXGlue datasets into the awesome HF datasets lib. Most of the work has been done in this PR #997 by the awesome @madlag. However, that PR has been stale for a while now and so I spoke with @lhoestq about finishing up the final mile and so he told me to open a new PR with the final changes :smile:. I believe I've met all of the changes still left in the old PR to do, except for the change to the languages. I believe the READMEs should include the different programming languages used rather than just using the tag "code" as when searching for datasets, SE researchers may specifically be looking only for what type of programming language and so being able to quickly filter will be very valuable. Let me know what you think of that or if you still believe it should be the "code" tag @lhoestq. Thanks @ncoop57 for you contribution! It will be really cool to see those datasets used as soon as they are released !
[ -0.19903066754341125, 0.19335860013961792, -0.17118091881275177, 0.16150140762329102, -0.006377961486577988, 0.06486634165048599, -0.29629412293434143, 0.14380085468292236, 0.1906653791666031, -0.28603678941726685, -0.10809382796287537, 0.05128633975982666, -0.10560782998800278, 0.2792038917541504, 0.4925757646560669, -0.11309131979942322, 0.1492859125137329, 0.08289382606744766, 0.4355429410934448, -0.15825453400611877, -0.4255957007408142, 0.28946036100387573, -0.034908268600702286, 0.16057679057121277, 0.2935713231563568, -0.18955466151237488, -0.15753111243247986, 0.3721413016319275, -0.3474428951740265, -0.4953157305717468, -0.07788252830505371, 0.3178364336490631, 0.13983862102031708, 0.1787649691104889, -0.00011438555520726368, -0.11503062397241592, 0.12078139930963516, -0.14530351758003235, 0.0767136961221695, 0.0012263953685760498, -0.12488336116075516, -0.2695319652557373, -0.2910514771938324, 0.025601953268051147, -0.20146822929382324, -0.41642943024635315, 0.004457863047719002, -0.8422856330871582, -0.04230906069278717, 0.3193017244338989, 0.12868142127990723, -0.051448602229356766, 0.13917212188243866, -0.13248929381370544, 0.45092079043388367, -0.032057493925094604, -0.09371615946292877, 0.09648002684116364, 0.9015909433364868, -0.011921686120331287, -0.0908612385392189, 0.4619514048099518, -0.07446077466011047, -0.19308306276798248, 0.469443142414093, -0.19250322878360748, -0.20132291316986084, -0.34736886620521545, 0.1924574375152588, 0.12716194987297058, 0.41323286294937134, -0.32755303382873535, -0.052903078496456146, -0.29874441027641296, -0.3027670979499817, -0.5677542686462402, 0.02042941376566887, 0.10922624915838242, -0.021818919107317924, 0.2231597751379013, -0.0320105217397213, -0.5688970685005188, -0.034035734832286835, 0.03531057760119438, -0.013537038117647171, 0.09163406491279602, -0.008345227688550949, 0.009257849305868149, 0.204129159450531, 0.26004406809806824, 0.18235957622528076, -0.08483931422233582, -0.30431264638900757, -0.06839482486248016, -0.06914566457271576, 0.020681232213974, 0.06974469125270844, 0.1810656189918518, 0.17171132564544678, 0.12308401614427567, -0.11418995261192322, 0.13825571537017822, -0.10432107746601105, -0.1244032010436058, 0.1751973032951355, -0.09340637922286987, 0.355618953704834, -0.04478840157389641, 0.03668414056301117, -0.21725274622440338, 0.19917412102222443, -0.20836827158927917, -0.04775514453649521, -0.04005352035164833, -0.23050494492053986, 0.05673005059361458, -0.0038087312132120132, -0.14788681268692017, -0.1486506462097168, 0.2948318123817444, -0.29961925745010376, -0.34777066111564636, -0.1058012843132019, 0.31913426518440247, 0.25547608733177185, -0.09687178581953049, 0.12904173135757446, 0.11451765149831772, 0.0986618772149086, -0.40070873498916626, -0.09435304999351501, 0.13688555359840393, -0.3443482518196106, 0.187042698264122, -0.08957234025001526, -0.2730603516101837, 0.010065089911222458, 0.14686384797096252, 0.04900561273097992, -0.04256477579474449, 0.012683328241109848, -0.004982618615031242, 0.49209389090538025, 0.104154571890831, -0.12094449996948242, -0.05009220540523529, 0.19971022009849548, -0.5261921286582947, -0.294816792011261, 0.2714652419090271, -0.006582930684089661, -0.15938174724578857, -0.33324235677719116, 0.08121531456708908, -0.1291264295578003, -0.22383922338485718, -0.03848486393690109, 0.7655157446861267, -0.05576900392770767, 0.10011404752731323, 0.4773097634315491, 0.036797668784856796, -0.10020200908184052, 0.0385013073682785, -0.13747237622737885, 0.3458510935306549, -0.8026501536369324, 0.08662326633930206, 0.14363762736320496, 0.036286745220422745, 0.06589192897081375, 0.05095304548740387, -0.23360930383205414, 0.26624196767807007, -0.09924139827489853, 0.09255386888980865, 0.47367388010025024, -0.3480125069618225, 0.038659486919641495, 0.3085457384586334, 0.10169796645641327, -0.060230910778045654, 0.21719425916671753, -0.09303313493728638, 0.4975861608982086, 0.0855599194765091, 0.12953804433345795, -0.11212757229804993, -0.14302968978881836, -0.17784690856933594, -0.21990074217319489, -0.1305055469274521, 0.19618186354637146, 0.17573757469654083, 0.32432281970977783, 0.03585915267467499, 0.2967149615287781, 0.08742640167474747, 0.3537469506263733, 0.003962986171245575, 0.03099888563156128, 0.2503134608268738, 0.30768659710884094, 0.19634103775024414, 0.24451395869255066, -0.08697964251041412, -0.01786363124847412, -0.15583479404449463, -0.03431185334920883, 0.25992918014526367, 0.3347916007041931, -0.03744211047887802, -0.24176087975502014, -0.08051697909832001, -0.23305295407772064, -0.4110146462917328, 0.059856072068214417, -0.12058156728744507, -0.23313984274864197, 0.07274198532104492, -0.1405274122953415, 0.39987146854400635, -0.25336822867393494, 0.09777986258268356, -0.1396675705909729, 0.18993636965751648, -0.11077562719583511, -0.11420454829931259, -0.12287446111440659, 0.23475676774978638, 0.13991406559944153, -0.1654895544052124, -0.016186796128749847, 0.12125053256750107, -0.0429685153067112, -0.3118312358856201, 0.2684857249259949, 0.5240743160247803, 0.20609867572784424, -0.34079959988594055, 0.4605766832828522, 0.03288169950246811, 0.009621692821383476, -0.11957309395074844, 0.06484163552522659, 0.1662428081035614, 0.2957378923892975, 0.1237674281001091, -0.10114498436450958, -0.32734307646751404, 0.004006525501608849, 0.12403404712677002, -0.14243756234645844, 0.1797972023487091, 0.14695560932159424, 0.06661351770162582, 0.43974995613098145, -0.09578180313110352, -0.27140045166015625, 0.15630705654621124, 0.9545607566833496, -0.17183636128902435, -0.0605926588177681, 0.19234058260917664, -0.20697766542434692, -0.2143305540084839, 0.04558906331658363, -0.2283174842596054, 0.1183474212884903, 0.24874970316886902, 0.10491761565208435, 0.05823845416307449, 0.21343527734279633, -0.14163784682750702, 0.3850250840187073, 0.2444382607936859, -0.14080876111984253, -0.10921483486890793, -0.03604385256767273, -0.06468071788549423, -0.4383336901664734, -0.13559626042842865, -0.08808516710996628, 0.04034104198217392, -0.1116730272769928, 0.19233690202236176, 0.08791900426149368, -0.43089672923088074, -0.3428167998790741, 0.2265099734067917, -0.3384481370449066, -0.29826778173446655, 0.12929360568523407, -0.31207606196403503, 0.21702422201633453, 0.12929677963256836, -0.09812909364700317, 0.5154675841331482, -0.3232210576534271, 0.09312503039836884, -0.2712017893791199, 0.00571117689833045, -0.33614104986190796, 0.045662570744752884, 0.3000948429107666, -0.10887759923934937, 0.48400238156318665, -0.11610596626996994, 0.2921884059906006, -0.5029212832450867, -0.5593840479850769, 0.3226442039012909, -0.16955727338790894, 0.09559386223554611, 0.12123153358697891, -0.1510445922613144, 0.1464468091726303, -0.17163749039173126, -0.2548377513885498, -0.15479497611522675, -0.058615051209926605, -0.3892814815044403, -0.34388962388038635, 0.054216884076595306, 0.0503719188272953, -0.3746974468231201, -0.2859003245830536, -0.31055736541748047, 0.2419738620519638, -0.10346084833145142, -0.04881787300109863, 0.18932820856571198, -0.17818863689899445, 0.03662344440817833, -0.13142433762550354, -0.09230535477399826, -0.14725126326084137, -0.17371824383735657, -0.11918926239013672, -0.02520611509680748, 0.04589340090751648, 0.08398266136646271, 0.11048659682273865, 0.07424747198820114, -0.19161173701286316, -0.30406856536865234, -0.021911025047302246, -0.0028393492102622986, 0.28193920850753784, -0.01627042144536972, 0.15349915623664856, 0.07829978317022324, -0.10925687849521637, -0.10437746345996857, -0.07235545665025711, -0.2701805830001831, -0.03458521515130997, -0.07599987834692001, 0.08560787886381149, 0.16456127166748047, 0.04334985464811325, 0.05986286327242851, 0.3991275429725647, 0.19255848228931427, 0.09767188131809235, 0.4594137668609619, 0.23716887831687927, 0.5793642997741699, -0.09922606498003006, -0.47428402304649353, 0.12049908190965652, -0.12106060981750488, 0.1773836314678192, 0.24475887417793274, -0.006566252559423447, -0.34785038232803345, 0.23054787516593933, 0.06298328936100006, -0.06810659915208817, -0.008075669407844543, 0.4112987518310547, 0.06767040491104126, 0.12965184450149536, -0.00212765671312809, 0.028547249734401703, -0.2512394189834595, -0.07265430688858032, 0.25579333305358887, 0.49116051197052, -0.06174268573522568, 0.27473628520965576, -0.14172576367855072, -0.012426560744643211, -0.27152591943740845, 0.3649703860282898, -0.11175442487001419, 0.04644927382469177, -0.23694494366645813, 0.10275807231664658, 0.21826036274433136, 0.04488224536180496, 0.4366198778152466, -0.3688930869102478, -0.5248704552650452, 0.34185123443603516, 0.3130146265029907, 0.5833449959754944, -0.0652259811758995, -0.25742265582084656, 0.27873310446739197, 0.5662274956703186, 0.11448661983013153, -0.23430871963500977, -0.20334264636039734, 0.09569104760885239, 0.09508165717124939, 0.014461416751146317, -0.045911990106105804, -0.15692782402038574, -0.3352052867412567, -0.36894240975379944, 0.3118014931678772, 0.43929222226142883, 0.10414835065603256, -0.2338601052761078, 0.05169638618826866, 0.38488849997520447, 0.14860162138938904, 0.3031718134880066, -0.13522741198539734, -0.013338001444935799, 0.3031677305698395, -0.16819700598716736, -0.009558651596307755, 0.050202541053295135, 0.030824851244688034, 0.3467679023742676, -0.3040330111980438, -0.4154854416847229, 0.30269384384155273, -0.3847275972366333, 0.41718924045562744, 0.6250523924827576, 0.042912375181913376, 0.33020612597465515, 0.2940598130226135, -0.07515433430671692, -0.09784678369760513, 0.10462529212236404, 0.07354838401079178, -0.04912300780415535, -0.5308703780174255, -0.8344421982765198, 0.11966228485107422, 0.07075536251068115, -0.2480412870645523, 0.23876050114631653, 0.2547423243522644, -0.328732430934906, 0.12989071011543274, 0.001242317259311676, 1.2036190032958984, -0.2708650827407837, 0.09703947603702545, -0.22566309571266174, -0.5340608358383179, 0.12012652307748795, -0.6256294846534729, -0.08696354180574417, -0.3447234034538269, -0.048615649342536926, -0.07354951649904251, -0.044282324612140656, 0.28660473227500916, 0.03691577911376953, -0.16212590038776398, 0.21238096058368683, 0.3621938228607178, -0.012447703629732132, 0.11705054342746735, 0.5216891169548035, -0.05260300636291504, -0.10810576379299164, -0.09711799770593643, 0.041298553347587585, -0.07088293135166168, 0.15882189571857452, -0.14517149329185486, -0.5032944083213806, 0.06782032549381256, -0.19536368548870087, -0.7131315469741821, -0.4264616072177887, -0.2605017125606537, -0.10242696851491928, 0.048512883484363556, -0.5643959641456604, 0.7568995952606201, -0.2203361690044403, 0.6646419167518616, 0.025957366451621056, -0.10644268989562988, 0.06888270378112793, 0.42968928813934326, -0.1672515571117401, 0.1424436867237091, -0.19193437695503235, 0.06742920726537704, 0.026572242379188538, -0.04683471471071243, 0.21192064881324768, -0.04244794696569443, -0.3884262442588806, -0.6859079003334045, 0.22299769520759583, 0.10773149132728577, -0.1978367567062378, 0.18990518152713776, 0.4598913788795471, 0.2043750137090683, -0.24150505661964417, 0.07686591148376465, 0.257294237613678, 0.09663568437099457, -0.16649216413497925, -0.09388595819473267, -0.29487448930740356, -0.21349118649959564, -0.2501508891582489, 0.13525554537773132, -0.35014596581459045, 0.040296174585819244, 0.36179083585739136, -0.3366766571998596, -0.1828148365020752, 0.20161667466163635, 0.7395582795143127, -0.4533521234989166, -0.15416154265403748, 0.12271945923566818, -0.18500544130802155, -0.03245859593153, 0.31455790996551514, 0.07830574363470078, -0.056384749710559845, 0.047893647104501724, 0.039400726556777954, 0.10285677760839462, 0.2365141659975052, -0.23416443169116974, 0.061037831008434296, 0.03779678791761398, 0.24384705722332, -0.05106760561466217, -0.0069679152220487595, -0.2930586636066437, 0.15251660346984863, 0.007256662473082542, -0.14876967668533325, 0.1133246123790741, -0.2254587709903717, -0.2790937125682831, -0.10673338174819946, -0.08040140569210052, -0.08575834333896637, -0.3184952437877655, -0.05856645107269287, 0.04149417206645012, 0.20539575815200806, -0.039058417081832886, 0.0013690509367734194, 0.07827594131231308, -0.082823246717453, 0.09932272136211395, 0.041659846901893616, 0.06795752048492432, -0.24522468447685242, 0.09888897836208344, 0.0833529680967331, -0.0636087954044342, 0.07282384485006332, 0.1765066683292389, 0.07666408270597458, 0.06388475745916367, 0.6134954690933228, 0.025502659380435944, 0.09733853489160538, 0.022775856778025627, 0.11596684157848358, 0.3261806070804596, 0.4677230417728424, 0.27723097801208496, 0.49748122692108154, 0.08639703691005707, -0.029078558087348938, 0.09722895920276642, 0.45458680391311646, 0.005599556490778923, 0.2131887972354889, -0.2188735008239746, -0.03395317122340202, 0.07265359163284302, 0.10514957457780838, -0.16943436861038208, -0.21559512615203857, 0.12479645013809204, -0.33691784739494324, 0.02388954535126686, 0.37702834606170654, 0.6245606541633606, 0.4010609984397888, 0.517647922039032, -0.036701545119285583, 0.695060133934021, 0.012033785693347454, 0.005039172247052193, -0.12536029517650604, 0.12779973447322845, 0.018002692610025406, 0.3884725272655487, 0.49280428886413574, -0.07812728732824326, 0.19718319177627563, 0.04046345874667168, 0.06158439815044403, 0.3812102675437927, 0.2014767825603485, -0.015384577214717865, -0.25256022810935974, 0.2326233983039856, -0.014286845922470093, 0.07197079807519913, 0.24771741032600403, 0.046998389065265656, 0.12264297902584076, 0.028370730578899384, -0.07368315011262894, 0.18506868183612823, -0.017714697867631912, -0.04116661101579666, 0.11391788721084595, 0.17136669158935547, -0.18964502215385437, -0.20242390036582947, -0.0533033050596714, -0.12133742868900299, -0.11934611201286316, -0.003035135567188263, -0.22303719818592072, -0.055389970541000366, 0.08107609301805496, -0.14065352082252502, -0.34310078620910645, 0.02360977977514267, -0.21428591012954712, 0.4351539611816406, -0.012493595480918884, 0.08889906853437424, 0.3309081792831421, 0.2676565945148468, 0.29787129163742065, -0.017129849642515182, -0.11514545977115631, -0.03414973244071007, -0.08400049805641174, -0.09660352766513824, -0.03901323676109314, 0.04812268540263176, 0.3040752410888672, 0.1376987248659134, 0.03274427726864815, 0.03102276660501957, 0.023156780749559402, -0.15159277617931366, 0.07452458143234253, -0.2728264033794403, -0.03241049498319626, 0.19080379605293274, 0.04577270522713661, -0.15636539459228516, -0.2655695378780365, -0.03131762892007828, -0.2830173075199127, 0.2896769940853119, 0.4513704180717468, -0.05559124797582626, -0.00823831558227539, -0.10252594947814941, 0.054603211581707, 0.30128538608551025, 0.06651108711957932, 0.24182620644569397, 0.420916885137558, -0.39623114466667175, -0.1417064070701599, -0.34072014689445496, 0.06518629193305969, -0.06530345976352692, 0.03956778347492218, -0.036686595529317856, 0.0660368874669075, 0.6302304863929749, 0.057392917573451996, 0.02952449768781662, 0.06157543882727623, 0.0037030959501862526, 0.017871040850877762, -0.23283861577510834, 0.034481488168239594, 0.6414762139320374, 0.41844943165779114, -0.04609394073486328, 0.2535848915576935, 0.23855355381965637, 0.20992524921894073, 0.00407346710562706, -0.5777962803840637, 0.002712354063987732, 0.3420070707798004, -0.23861324787139893, 0.06284885853528976, -0.1013164296746254, 0.13287311792373657, -0.12219135463237762, -0.2519398629665375, 0.1030479297041893, -0.0895351991057396, -0.25094807147979736, 0.2281082570552826, -0.059207212179899216, 0.14276285469532013, -0.07307055592536926, -0.707830011844635, -0.2098681777715683, 0.18726542592048645, 0.008176211267709732, 0.34928372502326965, -0.4677290618419647, 0.22434867918491364, -0.11167097836732864, 0.027329551056027412, -0.09533658623695374, 0.25023218989372253, 0.16136670112609863, -0.05489582568407059, -0.3371913433074951, -0.2639237940311432, 0.37612441182136536, -0.11116538196802139, -0.27482351660728455, 0.055891457945108414, 0.04068789631128311, 0.42532622814178467, 0.26865094900131226, -0.46673235297203064, -0.24449077248573303, 0.3671749532222748, -0.006394106894731522, -0.1925296038389206, 0.238894984126091, 0.053288400173187256, 0.05362619832158089, -0.12316706776618958, -0.11314773559570312, 0.10672715306282043, -0.37600967288017273, -0.15923963487148285, -0.26360341906547546 ]
https://github.com/huggingface/datasets/pull/2355
normalized TOCs and titles in data cards
Oh right! I'd be in favor of still having the same TOC across the board, we can either leave it as is or add a `[More Info Needed]` `Contributions` Section wherever it's currently missing, wdyt?
I started fixing some of the READMEs that were failing the tests introduced by @gchhablani but then realized that there were some consistent differences between earlier and newer versions of some of the titles (e.g. Data Splits vs Data Splits Sample Size, Supported Tasks vs Supported Tasks and Leaderboards). We also had different versions of the Table of Content This PR normalizes all of them to the newer version
35
text: normalized TOCs and titles in data cards I started fixing some of the READMEs that were failing the tests introduced by @gchhablani but then realized that there were some consistent differences between earlier and newer versions of some of the titles (e.g. Data Splits vs Data Splits Sample Size, Supported Tasks vs Supported Tasks and Leaderboards). We also had different versions of the Table of Content This PR normalizes all of them to the newer version Oh right! I'd be in favor of still having the same TOC across the board, we can either leave it as is or add a `[More Info Needed]` `Contributions` Section wherever it's currently missing, wdyt?
[ -0.09120149910449982, 0.2613927125930786, -0.1354508399963379, -0.08611436188220978, 0.18154022097587585, 0.16500407457351685, 0.1350628137588501, 0.503180742263794, -0.2716101109981537, 0.3417721390724182, -0.0021644863300025463, 0.3735489249229431, 0.2564757466316223, 0.12452686578035355, -0.283860445022583, -0.26802873611450195, 0.33346766233444214, 0.35770756006240845, -0.02279486507177353, -0.03875034675002098, 0.14280104637145996, 0.08338842540979385, 0.04434562474489212, -0.18372775614261627, -0.08661927282810211, 0.37387850880622864, -0.05379832535982132, -0.3750971555709839, -0.09264321625232697, -0.6777408123016357, -0.0943683385848999, 0.5534814596176147, -0.039780087769031525, 0.0555681437253952, -0.00011524134606588632, -0.3063403367996216, 0.23738428950309753, -0.13908159732818604, 0.05998273566365242, -0.03814227879047394, -0.10123369097709656, -0.485766738653183, -0.06822097301483154, -0.04085162281990051, -0.011833511292934418, 0.11376039683818817, -0.06463472545146942, -0.01402221992611885, -0.03829406201839447, -0.18303100764751434, 0.15121226012706757, -0.28042739629745483, -0.07547752559185028, -0.05690682306885719, 0.36136481165885925, 0.5840358138084412, -0.08361237496137619, 0.532357931137085, 0.6940790414810181, 0.13122160732746124, 0.05047747120261192, 0.2943170368671417, -0.05843167006969452, 0.105717733502388, -0.1268441379070282, -0.050327643752098083, 0.046260688453912735, -0.036105960607528687, 0.23188036680221558, 0.3002404272556305, 0.282500296831131, 0.1327756643295288, 0.0995977520942688, -0.4247443377971649, -0.17903566360473633, -0.07801294326782227, -0.09378200024366379, -0.04485982656478882, 0.26335182785987854, -0.12233079969882965, 0.15752770006656647, -0.06954361498355865, -0.033282142132520676, 0.0186157189309597, 0.012478068470954895, 0.2827901244163513, -0.20525294542312622, 0.06314317137002945, -0.08600325882434845, 0.09391380846500397, 0.2157890349626541, 0.3796929717063904, -0.2585026025772095, -0.16169820725917816, 0.11887164413928986, -0.3493610918521881, -0.07524039596319199, -0.2217997908592224, -0.02715473622083664, -0.1641075611114502, 0.08477003872394562, 0.03670741617679596, -0.16036882996559143, -0.15551415085792542, 0.3196665346622467, -0.2522752285003662, 0.42451709508895874, 0.4541783034801483, -0.013518653810024261, 0.28330197930336, -0.1298374980688095, 0.03998616710305214, 0.173042431473732, 0.3154754042625427, -0.3744085133075714, 0.2661572992801666, -0.02392599731683731, -0.36564308404922485, -0.3203878402709961, 0.11021851003170013, 0.5366591215133667, -0.20021012425422668, -0.07467331737279892, 0.14543476700782776, 0.4112049341201782, 0.7440893054008484, -0.260775625705719, -0.07442425191402435, 0.08607691526412964, -0.27091625332832336, -0.14874902367591858, -0.08718621730804443, -0.20064948499202728, 0.32285869121551514, 0.24350892007350922, 0.1499464064836502, -0.16254949569702148, 0.10129204392433167, -0.10727047920227051, -0.04545100778341293, -0.35071516036987305, 0.04851573333144188, 0.40409108996391296, -0.13913282752037048, -0.2369464933872223, 0.3237864077091217, 0.20903927087783813, 0.02576345205307007, -0.4210972189903259, 0.4080624580383301, -0.39679083228111267, 0.009999815374612808, -0.030860839411616325, 0.1798841655254364, 0.16360554099082947, 0.1657826006412506, 0.06801100820302963, 0.41199585795402527, 0.12362481653690338, -0.6527976393699646, 0.35046741366386414, -0.050565093755722046, -0.20090363919734955, 0.05809343606233597, -0.3654593229293823, 0.33837562799453735, -0.3692745864391327, -0.14108674228191376, 0.09751597046852112, -0.1087334007024765, -0.0411953404545784, -0.02551523968577385, -0.1081710085272789, 0.09160197526216507, -0.024333080276846886, 0.18674378097057343, -0.2310963273048401, -0.1951453685760498, -0.34324339032173157, 0.047875434160232544, 0.1294129341840744, -0.41587743163108826, 0.3444521129131317, -0.09049045294523239, 0.3886052668094635, -0.3026272654533386, 0.1878962516784668, -0.5477404594421387, -0.30852609872817993, -0.06921231001615524, -0.25026899576187134, -0.09862018376588821, 0.048721909523010254, 0.11801083385944366, 0.028217889368534088, -0.02387116849422455, 0.2758875787258148, -0.24378295242786407, 0.4359983205795288, -0.1436661183834076, 0.12370827794075012, 0.06842415034770966, 0.3206827640533447, -0.17710797488689423, 0.015374168753623962, -0.17589661478996277, 0.050303079187870026, -0.07590141892433167, 0.047898776829242706, 0.14128582179546356, 0.5819582343101501, -0.40903449058532715, -0.3283788561820984, -0.1891752928495407, 0.18462055921554565, 0.0809985026717186, 0.046398624777793884, 0.021978896111249924, -0.4054678678512573, 0.010162178426980972, -0.33576223254203796, -0.09612270444631577, -0.5867802500724792, 0.03421992436051369, 0.28052985668182373, 0.2830742597579956, -0.08628744632005692, -0.016082998365163803, 0.1690351366996765, 0.40372204780578613, 0.1290518343448639, -0.14894412457942963, -0.24344941973686218, 0.11554612219333649, -0.20408982038497925, 0.18796975910663605, -0.011658765375614166, 0.27995604276657104, 0.2754218876361847, -0.08009494841098785, 0.037830039858818054, 0.27881094813346863, -0.22811083495616913, -0.09246963262557983, -0.15050441026687622, 0.23028449714183807, -0.5195493698120117, 0.09209199249744415, 0.08415506780147552, -0.0835094228386879, 0.008908020332455635, 0.029191885143518448, -0.12065711617469788, -0.6086862087249756, 0.0508686788380146, 0.40749591588974, -0.26780426502227783, 0.10415634512901306, -0.05960361659526825, 0.5953229665756226, 0.6277000308036804, -0.08549271523952484, -0.2130604386329651, 0.10501076281070709, 0.10407590866088867, -0.02237643301486969, 0.28629425168037415, 0.23285134136676788, 0.10326366126537323, 0.18682321906089783, 0.21815145015716553, 0.0213792584836483, 0.39564356207847595, -0.22931064665317535, 0.13381913304328918, -0.10149113833904266, -0.3334047198295593, 0.3606935441493988, -0.006713473703712225, 0.30069541931152344, 0.15628257393836975, 0.22376859188079834, -0.06596286594867706, -0.01573004759848118, -0.04955030605196953, -0.04339629039168358, -0.2170594185590744, -0.25947806239128113, 0.01551463920623064, -0.3073245882987976, -0.38370078802108765, -0.2133621722459793, 0.2111767679452896, 0.014291156083345413, -0.3752637505531311, 0.2681646943092346, 0.019802119582891464, 0.3357560932636261, -0.38159871101379395, 0.31680265069007874, -0.09861737489700317, -0.23881250619888306, -0.11459154635667801, 0.06387534737586975, 0.2772238850593567, -0.2858574390411377, 0.37511682510375977, -0.4647815525531769, 0.23239818215370178, 0.06610023230314255, -0.5484068393707275, 0.11610390990972519, -0.2434447854757309, -0.22032061219215393, -0.17558816075325012, -0.04318776726722717, -0.04574296250939369, -0.27785372734069824, -0.10761261731386185, -0.4167243242263794, 0.05668500065803528, -0.023640964180231094, -0.2298687994480133, -0.24872055649757385, 0.010476715862751007, -0.38691720366477966, -0.028301844373345375, -0.22978070378303528, 0.4545629024505615, -0.3568141758441925, 0.3607698082923889, -0.07527509331703186, -0.4478507936000824, -0.5754774808883667, -0.2993936538696289, -0.028946204110980034, -0.2753956615924835, -0.13163630664348602, -0.029798608273267746, -0.08242450654506683, -0.06883329153060913, -0.129090815782547, 0.2537556290626526, 0.39658790826797485, -0.114517442882061, -0.02556557208299637, 0.26646924018859863, 0.11968272924423218, -0.3145102262496948, 0.10529878735542297, 0.10401228815317154, 0.5799711346626282, 0.23139475286006927, -0.1699693202972412, 0.32843729853630066, -0.21858063340187073, -0.029655389487743378, 0.26238730549812317, -0.12582284212112427, -0.3808273673057556, -0.46312108635902405, 0.07860954105854034, 0.03262645751237869, -0.010833166539669037, 0.2910595238208771, 0.0975673496723175, 0.21336451172828674, 0.3328617215156555, -0.07578632980585098, -0.24977150559425354, 0.3039971888065338, -0.08102063834667206, -0.06863099336624146, 0.41849106550216675, -0.019349604845046997, -0.14032673835754395, -0.10324126482009888, 0.07852698862552643, -0.16159042716026306, -0.45391908288002014, 0.2746434211730957, -0.1730746626853943, 0.3274533748626709, 0.007638290524482727, -0.006986688822507858, -0.11154063045978546, -0.47646915912628174, 0.0871947854757309, 0.3013486862182617, -0.094117172062397, -0.24986252188682556, -0.6485625505447388, -0.20145079493522644, 0.10611391812562943, 0.19099056720733643, 0.21006621420383453, 0.17135685682296753, -0.1710970252752304, -0.23753130435943604, 0.004249900579452515, 0.07055791467428207, -0.34503716230392456, 0.20908331871032715, -0.17342600226402283, 0.3568872809410095, 0.4463539123535156, 0.31753242015838623, -0.2663700580596924, 0.03475909307599068, 0.10787230730056763, 0.3209427297115326, 0.316653847694397, -0.10430024564266205, -0.23064681887626648, 0.13378411531448364, -0.03513561934232712, -0.012165449559688568, -0.1604052484035492, -0.0322272926568985, 0.3819009065628052, -0.03583192080259323, -0.005455702543258667, 0.028574204072356224, -0.05135904625058174, -0.48929670453071594, -0.07009787112474442, 0.06390620768070221, -0.28286609053611755, 0.3358476758003235, -0.06987549364566803, 0.04161437228322029, 0.1619030088186264, -0.030683986842632294, -0.04825472831726074, 0.15134909749031067, 0.2743901312351227, 0.44360628724098206, -0.05113563314080238, 0.15532436966896057, 0.17901092767715454, -0.3704286217689514, 0.13258537650108337, 0.5094089508056641, 0.4172445833683014, 0.11910916119813919, -0.3085772693157196, 0.06261204928159714, -0.2673097550868988, 0.0778321921825409, -0.6165640950202942, -0.052521489560604095, -0.2939656674861908, -0.11933591216802597, 0.26925936341285706, 0.03812558203935623, -0.30880263447761536, 0.41417744755744934, 0.4200825095176697, 0.05262371152639389, 0.040223099291324615, 0.1922057718038559, 1.091474175453186, 0.18282321095466614, 0.3456067740917206, -0.09492900222539902, 0.041480258107185364, 0.5454022288322449, -0.3504177927970886, 0.08074621856212616, -0.44225797057151794, 0.004469101317226887, -0.0785427987575531, 0.17557336390018463, 0.08411256223917007, 0.2111424207687378, -0.27774715423583984, 0.37412747740745544, 0.287361204624176, 0.4266502559185028, 0.1776069551706314, 0.05274245887994766, -0.2158721387386322, -0.08650001883506775, 0.2673550248146057, -0.03580532222986221, -0.26210033893585205, -0.09672155976295471, -0.05130884796380997, -0.005088071338832378, -0.25739148259162903, -0.004609767347574234, -0.20617306232452393, -0.2168944776058197, -0.0978129655122757, -0.2968170642852783, 0.07626679539680481, -0.41370928287506104, 0.37450337409973145, -0.0770292729139328, 0.5271977186203003, -0.001128174364566803, -0.1903495490550995, 0.11017926037311554, 0.06574296951293945, -0.07602044194936752, -0.032565709203481674, -0.04174179211258888, 0.1789507269859314, 0.14995786547660828, -0.12912237644195557, -0.3211100995540619, 0.1687403917312622, -0.27499741315841675, -0.6510937809944153, 0.023220058530569077, 0.05013202875852585, -0.2546785771846771, -0.0293410774320364, 0.19422774016857147, 0.05354506894946098, -0.032174624502658844, 0.16466492414474487, -0.14696069061756134, -0.049647364765405655, 0.05508599430322647, -0.03525620326399803, -0.10810314118862152, 0.017831478267908096, -0.08666088432073593, 0.2099320888519287, -0.5743618011474609, -0.07188720256090164, -0.18337108194828033, -0.12060842663049698, -0.31772977113723755, -0.034548986703157425, 0.42164748907089233, -0.08852918446063995, -0.3590659201145172, -0.3045766353607178, -0.20552577078342438, 0.06250980496406555, 0.09158406406641006, 0.2299133539199829, 0.493367075920105, 0.07994383573532104, 0.027457967400550842, -0.29657286405563354, 0.20670154690742493, -0.1296624094247818, 0.25037243962287903, -0.13569281995296478, -0.03168011084198952, -0.3478493094444275, 0.3224940299987793, -0.24605655670166016, 0.1359224170446396, 0.2926880717277527, 0.003545105457305908, 0.301562637090683, -0.0456128865480423, -0.2929542660713196, -0.36365994811058044, 0.06310064345598221, 0.11925141513347626, 0.027976203709840775, -0.19854894280433655, 0.07927902042865753, 0.17221935093402863, 0.2726461887359619, 0.20494315028190613, -0.06363638490438461, 0.1965925395488739, 0.10683009028434753, -0.08719661831855774, -0.10992799699306488, -0.10908245295286179, 0.04633711278438568, 0.5148645043373108, 0.023534774780273438, 0.35644933581352234, 0.011375635862350464, 0.28520482778549194, 0.1416185051202774, 0.6768730282783508, 0.013230802491307259, 0.2810400724411011, -0.08593258261680603, 0.07126215100288391, -0.1559595912694931, 0.38411909341812134, 0.03363875672221184, 0.06974028050899506, 0.11831241846084595, 0.2474951595067978, 0.12480287253856659, 0.06655614823102951, 0.05228627473115921, 0.33221662044525146, -0.31293120980262756, -0.20450198650360107, 0.0005634771659970284, 0.2499464452266693, 0.1698988378047943, 0.29456770420074463, -0.0949801355600357, 0.18017445504665375, -0.11545336246490479, -0.033705271780490875, 0.820595383644104, -0.28944700956344604, 0.08919265866279602, 0.13145756721496582, 0.004232258535921574, 0.05636557191610336, 0.3543670177459717, 0.34526675939559937, 0.33626270294189453, 0.08645766228437424, 0.2946833372116089, -0.2797355055809021, -0.04716389626264572, -0.10249891877174377, 0.3135782778263092, 0.42953336238861084, 0.355673223733902, 0.11323706805706024, 0.12019265443086624, 0.1721024215221405, 0.004582706838846207, 0.21698534488677979, 0.18682263791561127, -0.06504202634096146, 0.3074057698249817, 0.0799611434340477, -0.10532812029123306, -0.538361668586731, 0.03590622544288635, -0.18571029603481293, -0.01491943746805191, -0.14172227680683136, 0.02517310157418251, -0.1399669349193573, -0.3471638262271881, 0.002833932638168335, -0.11582894623279572, 0.14208203554153442, 0.11062026768922806, 0.13487210869789124, -0.2712336778640747, -0.10991211235523224, 0.13935132324695587, 0.3262891173362732, 0.516891598701477, -0.027200328186154366, 0.05025484412908554, -0.14179927110671997, -0.062249451875686646, 0.34085971117019653, 0.29416120052337646, 0.24349172413349152, 0.22350938618183136, -0.2438390552997589, 0.1257665604352951, -0.34730830788612366, -0.1928183138370514, 0.27679339051246643, -0.006187759339809418, 0.11392244696617126, 0.3208567798137665, -0.014413228258490562, 0.09046438336372375, -0.06579852104187012, -0.1938403844833374, -0.09262801706790924, -0.23075002431869507, -0.046622492372989655, 0.3368055820465088, -0.026133980602025986, -0.28904837369918823, 0.14020070433616638, -0.12100309878587723, -0.4530094861984253, -0.1509510576725006, 0.2915584444999695, -0.1030561551451683, 0.16655659675598145, -0.013567749410867691, 0.08066549897193909, 0.19459545612335205, -0.21232816576957703, -0.11278131604194641, 0.17046698927879333, -0.27355918288230896, -0.6973998546600342, -0.13143640756607056, 0.18158970773220062, 0.4509372413158417, 0.2759014368057251, -0.08451788127422333, -0.06346064805984497, 0.14124023914337158, 0.04432634264230728, -0.08768878877162933, -0.14694444835186005, -0.2562638819217682, -0.12485049664974213, -0.13708803057670593, -0.0344252772629261, -0.03730393201112747, -0.15130020678043365, -0.09303241223096848, -0.04129169136285782, -0.045004237443208694, 0.1954353302717209, -0.11097818613052368, -0.11845728754997253, 0.3282381594181061, 0.20884893834590912, 0.4250403940677643, 0.18966057896614075, 0.12709613144397736, 0.19930583238601685, 0.02363951876759529, -0.08208252489566803, 0.11008041352033615, -0.1476297378540039, -0.2985747456550598, 0.5009848475456238, -0.2414383590221405, 0.16186292469501495, -0.2043115347623825, -0.31112635135650635, -0.17400191724300385, -0.14706888794898987, -0.09757477045059204, 0.31538546085357666, -0.5482733845710754, -0.15848088264465332, 0.2924630641937256, 0.07884996384382248, 0.19260922074317932, 0.2764519453048706, 0.07672391831874847, 0.3337424695491791, -0.28026604652404785, -0.024470938369631767, 0.005178302526473999, 0.21924133598804474, -0.06160540133714676, -0.11226095259189606, 0.27025920152664185, 0.2070196270942688, 0.25590476393699646, -0.60686856508255, -0.2675850987434387, 0.39947643876075745, -0.35950183868408203, -0.2372448444366455, 0.11326096951961517, -0.2562878429889679, -0.3360152840614319, -0.05509830638766289, 0.6988916397094727, 0.1374320089817047, -0.21497742831707, -0.11985138058662415, -0.13518856465816498 ]
https://github.com/huggingface/datasets/pull/2355
normalized TOCs and titles in data cards
Merging for now to avoid conflict since there are so many changes but let's figure out the contributions section next ;)
I started fixing some of the READMEs that were failing the tests introduced by @gchhablani but then realized that there were some consistent differences between earlier and newer versions of some of the titles (e.g. Data Splits vs Data Splits Sample Size, Supported Tasks vs Supported Tasks and Leaderboards). We also had different versions of the Table of Content This PR normalizes all of them to the newer version
21
text: normalized TOCs and titles in data cards I started fixing some of the READMEs that were failing the tests introduced by @gchhablani but then realized that there were some consistent differences between earlier and newer versions of some of the titles (e.g. Data Splits vs Data Splits Sample Size, Supported Tasks vs Supported Tasks and Leaderboards). We also had different versions of the Table of Content This PR normalizes all of them to the newer version Merging for now to avoid conflict since there are so many changes but let's figure out the contributions section next ;)
[ -0.12784478068351746, 0.07376962900161743, -0.2533967196941376, 0.006325267255306244, 0.22696489095687866, 0.009178787469863892, 0.09318673610687256, 0.463700532913208, -0.1445692777633667, 0.29904454946517944, -0.0315861776471138, 0.3359795808792114, 0.21398049592971802, 0.21071478724479675, -0.21306653320789337, -0.2680432200431824, 0.3464672565460205, 0.33880898356437683, -0.1763659417629242, 0.012239553034305573, 0.01540147140622139, 0.15754669904708862, -0.029860548675060272, -0.15255169570446014, -0.04372512176632881, 0.20009194314479828, 0.006727462634444237, 0.03725782036781311, -0.21488310396671295, -0.6969612240791321, -0.16469977796077728, 0.3049020767211914, -0.2498764544725418, 0.23179152607917786, -0.00010046063835034147, -0.4065338969230652, 0.28660255670547485, -0.10540223121643066, -0.10046984255313873, -0.07529033720493317, -0.10326249152421951, -0.44616541266441345, -0.01334538497030735, -0.013644322752952576, -0.08501815050840378, -0.11971087008714676, -0.10849542915821075, -0.06976925581693649, 0.09695564955472946, 0.04846519976854324, 0.3347352147102356, -0.101585753262043, -0.03788863867521286, -0.22830641269683838, 0.3272557258605957, 0.5064921379089355, -0.2258232831954956, 0.4236013889312744, 0.5870321989059448, 0.06435982137918472, 0.02578100562095642, 0.21508295834064484, 0.08476117253303528, -0.02780761942267418, -0.09312563389539719, -0.22238145768642426, -0.10031156986951828, -0.24179396033287048, 0.3062704801559448, 0.29381370544433594, 0.2008466273546219, 0.07679944485425949, 0.06155391037464142, -0.329215407371521, -0.18076227605342865, -0.0005652885884046555, -0.013230174779891968, -0.004965761676430702, 0.21548905968666077, -0.13998745381832123, 0.09848187863826752, 0.1741679310798645, -0.11054643988609314, -0.27750295400619507, 0.041729919612407684, 0.21034543216228485, -0.2524677813053131, -0.06896475702524185, -0.018434714525938034, -0.07291827350854874, 0.11219718307256699, 0.25086647272109985, -0.24365267157554626, -0.01869663968682289, -0.020717915147542953, -0.27172717452049255, 0.1045176088809967, -0.20435261726379395, -0.017835583537817, -0.08725105971097946, 0.051765404641628265, 0.14407631754875183, 0.02931622788310051, -0.16295945644378662, 0.18691757321357727, -0.014005006290972233, 0.3259945213794708, 0.24376554787158966, -0.12607595324516296, 0.19566670060157776, -0.038822241127491, 0.0345752090215683, 0.12140601128339767, 0.06105434149503708, -0.5041722059249878, 0.23550260066986084, -0.10402366518974304, -0.33066895604133606, -0.3355909287929535, 0.03554132580757141, 0.5994904041290283, -0.03181974217295647, -0.10943354666233063, 0.22615140676498413, 0.145146444439888, 0.46146464347839355, -0.2852243185043335, 0.009670253843069077, -0.051246754825115204, -0.07787871360778809, -0.26048919558525085, -0.011524025350809097, -0.29113444685935974, 0.07518091052770615, 0.29289892315864563, 0.13244587182998657, 0.006640047766268253, 0.10273175686597824, -0.05377889424562454, -0.15663239359855652, -0.20197390019893646, 0.055967528373003006, 0.4375499486923218, -0.016870681196451187, -0.012655971571803093, 0.1796758621931076, 0.1756921410560608, 0.04822821915149689, -0.2280295491218567, 0.24459847807884216, -0.3086630403995514, 0.0025108642876148224, -0.2044830024242401, 0.35145580768585205, 0.026257149875164032, 0.1035933792591095, 0.15441863238811493, 0.3395748436450958, 0.08804020285606384, -0.40479806065559387, 0.1443808227777481, -0.03201153874397278, -0.07927073538303375, 0.03128337860107422, -0.1707555055618286, 0.21314089000225067, -0.41552963852882385, -0.12378332018852234, 0.0015430222265422344, -0.22206419706344604, 0.17439377307891846, 0.07283403724431992, -0.06067924201488495, 0.0766250416636467, -0.00003351084887981415, 0.3176864981651306, -0.14278090000152588, -0.1705961525440216, -0.2795500159263611, 0.15176455676555634, 0.021632395684719086, -0.3112182021141052, 0.26267707347869873, -0.18935970962047577, 0.5377094745635986, -0.267979234457016, 0.11911327391862869, -0.2501182556152344, -0.19098630547523499, -0.04064825177192688, -0.27615803480148315, 0.029816793277859688, -0.018765762448310852, 0.087373286485672, 0.008136767894029617, -0.10235019773244858, 0.2853422462940216, -0.31703147292137146, 0.2903944253921509, -0.1633656620979309, 0.05384870618581772, 0.17131184041500092, 0.11115226149559021, -0.21997381746768951, 0.25957801938056946, -0.0684085413813591, 0.053250137716531754, -0.03575780242681503, -0.16331689059734344, 0.22332295775413513, 0.3621249198913574, -0.1644774228334427, -0.5381788611412048, -0.0909370556473732, -0.004022907465696335, 0.04241315647959709, 0.2730887532234192, -0.006827019155025482, -0.39092105627059937, -0.09083415567874908, -0.2031584084033966, 0.009171546436846256, -0.5201104283332825, -0.05068279802799225, 0.18238145112991333, 0.2267003208398819, -0.13280931115150452, -0.11838677525520325, 0.13865242898464203, 0.3408701717853546, 0.15413382649421692, -0.07877728343009949, -0.2638776898384094, 0.22035521268844604, -0.026573603972792625, 0.1823861002922058, 0.18389075994491577, 0.0397944450378418, 0.2328498363494873, -0.2272949516773224, 0.049394480884075165, 0.27758657932281494, -0.08750821650028229, -0.15163135528564453, -0.31460854411125183, 0.3133850395679474, -0.39346107840538025, 0.07822750508785248, 0.2458648532629013, -0.06576082855463028, 0.20775577425956726, -0.04942531883716583, 0.006552770733833313, -0.4752478003501892, 0.2919335663318634, 0.32626381516456604, -0.16457457840442657, 0.027737798169255257, -0.12236756086349487, 0.5770658850669861, 0.6140254735946655, -0.1491735428571701, -0.13236498832702637, 0.11563032865524292, -0.060555629432201385, -0.23606407642364502, 0.3187393248081207, 0.24492068588733673, 0.06498309224843979, 0.23426169157028198, 0.36636996269226074, 0.012978557497262955, 0.1901102513074875, -0.22688327729701996, 0.137663334608078, -0.09981866180896759, -0.3310559093952179, 0.4534775912761688, 0.06627349555492401, 0.14424949884414673, -0.2051331102848053, 0.1425657570362091, 0.0737958624958992, -0.04934639483690262, -0.13719242811203003, -0.05813863128423691, -0.1876930296421051, -0.10610390454530716, 0.1475861817598343, -0.23684218525886536, -0.18712064623832703, -0.30990296602249146, 0.23654931783676147, 0.04572076350450516, -0.40865737199783325, 0.1703873872756958, 0.1245836466550827, 0.2834314703941345, -0.1962868571281433, 0.39282968640327454, -0.19328399002552032, -0.2512821853160858, -0.10650988668203354, 0.2571748197078705, 0.24430154263973236, -0.053785283118486404, 0.40285980701446533, -0.40123260021209717, 0.22000107169151306, 0.03392057865858078, -0.47726595401763916, 0.1792677342891693, -0.21657462418079376, -0.06634018570184708, -0.09318722784519196, 0.03111311048269272, -0.003367394208908081, -0.19101890921592712, -0.08923670649528503, -0.29166048765182495, -0.08459167927503586, 0.038015130907297134, -0.2665153741836548, -0.3799029588699341, -0.19801217317581177, -0.5655696392059326, -0.06875033676624298, -0.2190333753824234, 0.3441481590270996, -0.12314863502979279, 0.31493669748306274, -0.01001062337309122, -0.21110163629055023, -0.23060651123523712, -0.20198523998260498, -0.10456011444330215, -0.2949149012565613, -0.17939166724681854, 0.0853920727968216, -0.4016232490539551, -0.31767141819000244, 0.007561575621366501, 0.2807390093803406, 0.308596670627594, -0.23452483117580414, 0.11628025770187378, 0.3137202560901642, 0.03294196352362633, -0.3676842749118805, 0.09124873578548431, 0.0343131385743618, 0.378784716129303, 0.20783281326293945, -0.35564592480659485, 0.114476777613163, 0.0008486863225698471, -0.015492714941501617, 0.21068322658538818, -0.027048014104366302, -0.4389622211456299, -0.36137768626213074, 0.017927538603544235, 0.17213203012943268, -0.05787041410803795, 0.3137619197368622, 0.18165461719036102, 0.14054271578788757, 0.10019591450691223, -0.14443382620811462, -0.1942255198955536, 0.41167759895324707, -0.07186022400856018, 0.061810582876205444, 0.4781603217124939, 0.10861793905496597, -0.2557849884033203, -0.00241069495677948, 0.2079268842935562, -0.22889471054077148, -0.24138301610946655, 0.24487349390983582, -0.11655420064926147, 0.27399682998657227, 0.016155444085597992, 0.04203273355960846, -0.16198770701885223, -0.33531904220581055, 0.06964415311813354, 0.15136924386024475, -0.11232953518629074, -0.3359352648258209, -0.5858880877494812, -0.14152944087982178, -0.16762706637382507, 0.13270701467990875, 0.1481490582227707, 0.019321443513035774, -0.22187477350234985, -0.2497664988040924, -0.000756092369556427, 0.01952642761170864, -0.05145280063152313, 0.11280921846628189, -0.10526452958583832, 0.3590884804725647, 0.32774847745895386, 0.19363394379615784, -0.2540709972381592, -0.21698318421840668, 0.08961851894855499, 0.256522536277771, 0.3745580315589905, -0.07109755277633667, -0.24145588278770447, -0.018039871007204056, -0.1051703616976738, 0.05523785576224327, -0.13172397017478943, -0.01730426400899887, 0.11153759807348251, -0.18891242146492004, 0.0026381686329841614, 0.09614907205104828, 0.033540990203619, -0.6287252902984619, -0.3325824737548828, 0.07412141561508179, -0.011027656495571136, 0.30563023686408997, 0.04258378967642784, 0.13387349247932434, 0.029953572899103165, -0.057524412870407104, -0.1355966329574585, 0.23182830214500427, 0.22865243256092072, 0.42984539270401, -0.02833264321088791, 0.22905051708221436, 0.35205942392349243, -0.37348005175590515, 0.1618487685918808, 0.3876858949661255, 0.2747688889503479, 0.08092132955789566, -0.2409813404083252, 0.19077524542808533, -0.19109272956848145, 0.15506839752197266, -0.21345636248588562, -0.09502199292182922, -0.26326242089271545, -0.05929575860500336, 0.30235812067985535, 0.0052482616156339645, -0.3226475715637207, 0.36451050639152527, 0.2549297511577606, 0.014850336126983166, 0.12255184352397919, 0.19887039065361023, 1.1033743619918823, 0.09569598734378815, 0.09882493317127228, 0.01804323121905327, -0.1757740080356598, 0.40843459963798523, -0.2665567994117737, -0.030432261526584625, -0.4627774655818939, -0.04065007343888283, -0.05022971332073212, 0.11496128141880035, 0.20383167266845703, 0.22392870485782623, -0.3928837478160858, 0.29634732007980347, 0.10260538756847382, 0.31582728028297424, 0.07041969150304794, 0.15899322926998138, -0.10686714202165604, -0.18317911028862, 0.05460313707590103, 0.22136884927749634, -0.09614816308021545, -0.2892208993434906, -0.057460516691207886, -0.04957016557455063, -0.2607925832271576, 0.11927403509616852, -0.023168809711933136, 0.09695249795913696, -0.15142962336540222, -0.24477605521678925, 0.04987069591879845, -0.34489190578460693, 0.3672938048839569, -0.10899800062179565, 0.2880825400352478, -0.01476433128118515, -0.282990962266922, 0.21453849971294403, 0.03406450152397156, 0.08321842551231384, 0.04568997770547867, 0.00992960762232542, 0.270315021276474, 0.06218038499355316, -0.08130614459514618, -0.3032558262348175, 0.06540504097938538, 0.015251778066158295, -0.43440625071525574, 0.016559403389692307, 0.0066442787647247314, -0.32650986313819885, -0.1882602870464325, -0.003720983862876892, -0.07775990664958954, -0.16011272370815277, 0.31307464838027954, -0.2167961150407791, -0.10892564058303833, 0.12121659517288208, 0.15219567716121674, -0.19106075167655945, -0.04868841543793678, 0.08824674785137177, 0.1626957654953003, -0.3487180471420288, 0.016899460926651955, 0.0556856207549572, -0.2810131311416626, -0.4145168662071228, -0.11886277049779892, 0.42587724328041077, -0.20124948024749756, -0.23390892148017883, -0.2482607215642929, -0.3538140654563904, 0.1759035736322403, 0.1965460181236267, 0.26886528730392456, 0.39117929339408875, -0.07471854239702225, -0.007750201970338821, -0.21647711098194122, 0.11489708721637726, -0.15538381040096283, 0.3086687922477722, -0.16528642177581787, 0.014176150783896446, -0.2031334638595581, 0.29284659028053284, -0.4479667842388153, 0.09052859991788864, 0.0004998855292797089, 0.10004115849733353, 0.179076686501503, -0.11549372225999832, -0.13663692772388458, -0.21022631227970123, 0.2633174955844879, 0.12212689220905304, -0.08681459724903107, -0.4155219793319702, 0.07903818786144257, 0.09424850344657898, 0.16752010583877563, 0.006766846869140863, -0.17155799269676208, 0.17497117817401886, -0.1066294014453888, -0.09837128221988678, -0.02474365383386612, -0.2906220257282257, -0.02113969624042511, 0.3427456319332123, -0.0033327750861644745, 0.28658953309059143, 0.12256449460983276, 0.2006027102470398, 0.20503342151641846, 0.4636436700820923, -0.1676802784204483, 0.07060659676790237, -0.07493552565574646, -0.06814435869455338, -0.08428096026182175, 0.4242604076862335, 0.24880105257034302, 0.12129587680101395, 0.1788782775402069, 0.2017097771167755, 0.052774135023355484, 0.03180190548300743, 0.23727792501449585, 0.21307969093322754, -0.1637982428073883, -0.22777356207370758, -0.0366973951458931, 0.40272238850593567, 0.0673670843243599, 0.01708606816828251, -0.1616402417421341, 0.11109153181314468, -0.029936041682958603, -0.15359875559806824, 0.6839649081230164, -0.1963074654340744, 0.032592225819826126, 0.12734711170196533, 0.11500274389982224, -0.016222044825553894, 0.22536803781986237, 0.3166307508945465, 0.1736679971218109, 0.12375299632549286, 0.29407867789268494, -0.3086678981781006, -0.027340419590473175, 0.22238868474960327, 0.44090163707733154, 0.47413334250450134, 0.41270115971565247, 0.27334627509117126, 0.16156941652297974, 0.11582620441913605, 0.027727190405130386, 0.21298976242542267, 0.10907700657844543, 0.08878585696220398, 0.2684139013290405, 0.14173276722431183, -0.24951858818531036, -0.5083798766136169, -0.10472194105386734, 0.057385124266147614, -0.07685529440641403, -0.12097463011741638, 0.002661198377609253, -0.2446572482585907, -0.3714559078216553, -0.15856385231018066, -0.20159591734409332, 0.23752780258655548, 0.23574002087116241, 0.048732154071331024, -0.15132741630077362, -0.10682826489210129, 0.029678989201784134, 0.31649354100227356, 0.3770124614238739, -0.14492954313755035, 0.18695242702960968, 0.01583459973335266, 0.1184019222855568, 0.14402766525745392, 0.28170037269592285, 0.3526386618614197, 0.1952657401561737, -0.3051551878452301, 0.011864331550896168, -0.18311099708080292, -0.3230085074901581, 0.23888477683067322, 0.10721951723098755, 0.0515516959130764, 0.23315195739269257, 0.13319960236549377, 0.2660157382488251, -0.2703837752342224, -0.2993693947792053, 0.0283183790743351, -0.3163590729236603, 0.0803682953119278, 0.32515445351600647, -0.12516961991786957, -0.27415719628334045, 0.05280166119337082, -0.21231010556221008, -0.6180598735809326, -0.13893119990825653, 0.32134944200515747, -0.10906755179166794, 0.22382324934005737, -0.09450656920671463, 0.16901621222496033, 0.16784915328025818, 0.1823107749223709, -0.11934204399585724, 0.14966091513633728, -0.2216644138097763, -0.6789457201957703, -0.1324993371963501, 0.1712421476840973, 0.41952455043792725, 0.24449124932289124, -0.009463422000408173, -0.019815299659967422, 0.053215183317661285, -0.1101287305355072, -0.061860308051109314, -0.17904949188232422, -0.011520672589540482, -0.079957515001297, -0.3181800842285156, 0.11024898290634155, -0.007584221661090851, -0.029874423518776894, -0.08327430486679077, 0.004792686551809311, 0.11412712186574936, 0.1001705676317215, 0.09120561927556992, -0.11463628709316254, 0.09702378511428833, 0.21316178143024445, 0.26138177514076233, 0.2035563886165619, 0.10877548158168793, 0.40566787123680115, -0.17979952692985535, -0.061299458146095276, 0.15684403479099274, -0.09051405638456345, -0.17219136655330658, 0.4105263352394104, -0.02874060347676277, 0.22320039570331573, 0.1108199879527092, -0.20334362983703613, -0.012420169077813625, -0.10815013945102692, 0.025502562522888184, 0.41937538981437683, -0.5883422493934631, -0.10575682669878006, 0.20330485701560974, -0.0011084175202995539, 0.20683930814266205, 0.2754855751991272, 0.13190916180610657, 0.19512076675891876, -0.25137895345687866, -0.2775208353996277, 0.12555889785289764, 0.264215350151062, -0.23411333560943604, -0.1356099396944046, 0.18237531185150146, 0.19262880086898804, 0.19535061717033386, -0.4382253885269165, -0.1841231882572174, 0.2882018983364105, -0.21483036875724792, -0.12327717244625092, 0.254285603761673, -0.18733657896518707, -0.1786506474018097, -0.09100709855556488, 0.547156572341919, 0.23263749480247498, -0.08321022987365723, -0.13681234419345856, -0.13971751928329468 ]
https://github.com/huggingface/datasets/pull/2352
Set to_json default to JSON lines
This is perfect, @albertvillanova - thank you! Tested it to work. Might it be a good idea to document the args to `to_json`? and also even a very basic progress bar? took 10min for 8M large records for `openwebtext` so perhaps some indication of it's being alive every min or so?
With this PR, the method `Dataset.to_json`: - is added to the docs - defaults to JSON lines
51
text: Set to_json default to JSON lines With this PR, the method `Dataset.to_json`: - is added to the docs - defaults to JSON lines This is perfect, @albertvillanova - thank you! Tested it to work. Might it be a good idea to document the args to `to_json`? and also even a very basic progress bar? took 10min for 8M large records for `openwebtext` so perhaps some indication of it's being alive every min or so?
[ -0.2944559156894684, 0.25852859020233154, -0.09813492000102997, -0.48748838901519775, 0.1630961000919342, 0.05367783457040787, 0.1041661724448204, 0.4826242923736572, 0.08783718943595886, 0.1705884039402008, 0.3035319447517395, 0.3169473111629486, 0.06088286265730858, 0.18966075778007507, -0.09427016228437424, 0.49332737922668457, -0.05350247770547867, 0.3192010819911957, -0.12586486339569092, -0.12821045517921448, -0.4303203225135803, 0.0412004180252552, -0.22293022274971008, -0.16522681713104248, 0.013396555557847023, -0.023285819217562675, 0.2769358158111572, 0.04612003639340401, -0.25907865166664124, -0.40579548478126526, -0.1682376116514206, 0.11449356377124786, -0.22826333343982697, 0.2409285604953766, -0.00010890095290960744, -0.17608265578746796, 0.41359907388687134, -0.01191700343042612, -0.3074205815792084, -0.0892447978258133, -0.671092689037323, -0.368157297372818, 0.16638052463531494, -0.3029205799102783, -0.0913599506020546, -0.384371280670166, 0.3319191336631775, -0.5435108542442322, 0.23253008723258972, 0.4430926740169525, 0.26180127263069153, -0.038107432425022125, 0.436568021774292, 0.05480412021279335, 0.1244402825832367, 0.19376131892204285, -0.24947771430015564, -0.04709448292851448, 0.13985340297222137, 0.20546084642410278, -0.12277967482805252, 0.09028418362140656, 0.2303391695022583, 0.2752246558666229, 0.15303221344947815, 0.013057569041848183, 0.09526887536048889, -0.02294648066163063, 0.0260021910071373, 0.33889803290367126, 0.7134968042373657, -0.36617565155029297, -0.06645655632019043, -0.0350806899368763, -0.25882622599601746, -0.019594930112361908, 0.20669254660606384, 0.29444101452827454, -0.013402199372649193, 0.2748550474643707, -0.14207610487937927, -0.40150216221809387, -0.24076604843139648, 0.11155381798744202, -0.11222989857196808, 0.21543776988983154, -0.05054832249879837, -0.06449782103300095, 0.1455029845237732, -0.05233108252286911, 0.2196102738380432, -0.05563320219516754, -0.12867587804794312, 0.011363963596522808, -0.10679459571838379, -0.21175840497016907, 0.3032621145248413, -0.31123632192611694, 0.19976601004600525, 0.3364463448524475, 0.44186997413635254, 0.32926782965660095, -0.011826959438621998, 0.05634854733943939, 0.2693505883216858, -0.051249176263809204, 0.3594610095024109, -0.14903941750526428, 0.3891962170600891, 0.09449999034404755, 0.014458782970905304, 0.010037824511528015, 0.20033228397369385, -0.33279532194137573, 0.20654185116291046, -0.02411690726876259, 0.6560600996017456, -0.3278809189796448, 0.02390083111822605, -0.015225901268422604, 0.010007835924625397, -0.3168655335903168, -0.4611310362815857, 0.014196135103702545, -0.07772556692361832, -0.04848835617303848, 0.41316288709640503, 0.0008716229349374771, -0.16959117352962494, -0.05054542049765587, -0.17007561028003693, -0.17762786149978638, -0.09842918813228607, 0.0980035737156868, 0.19896958768367767, 0.3624904751777649, 0.15238918364048004, -0.07811514288187027, -0.10650058090686798, -0.1001802533864975, 0.33406898379325867, 0.2545994818210602, 0.2847478985786438, 0.07716953009366989, 0.027745310217142105, 0.13239966332912445, 0.08164729177951813, -0.0867210179567337, -0.33554714918136597, 0.24099808931350708, -0.10107599943876266, -0.3637688457965851, -0.08931247144937515, 0.2092902660369873, 0.073386050760746, -0.09333391487598419, -0.10787216573953629, 0.2730569541454315, 0.01873030513525009, -0.15049800276756287, -0.14080417156219482, 0.2748025059700012, 0.21372884511947632, 0.1064457967877388, 0.10675031691789627, 0.1672898530960083, -0.15993553400039673, -0.07708708196878433, 0.25824669003486633, 0.0008996594697237015, 0.17578774690628052, -0.13801471889019012, -0.08692536503076553, 0.18285007774829865, 0.022255873307585716, 0.08919420838356018, 0.24388322234153748, -0.017742905765771866, -0.028444869443774223, 0.1225970908999443, -0.04455938935279846, -0.3211979269981384, -0.06459163874387741, -0.3990955054759979, 0.264245867729187, -0.09485390037298203, 0.0642147958278656, 0.26889660954475403, 0.008135117590427399, 0.5461543798446655, -0.4606352150440216, -0.3498607873916626, -0.2991141080856323, 0.0633641928434372, -0.2572613060474396, 0.12200537323951721, 0.03662265092134476, 0.04230199009180069, 0.23533380031585693, 0.09122217446565628, 0.10859207063913345, -0.024235866963863373, 0.3009118437767029, -0.40469181537628174, -0.18230760097503662, 0.23904937505722046, -0.006353825330734253, -0.2403932809829712, 0.26254376769065857, 0.3215363323688507, 0.15818704664707184, -0.1693815141916275, -0.20197799801826477, 0.000003930181264877319, -0.10596767067909241, 0.1541913002729416, 0.2121969759464264, 0.13752971589565277, -0.09707102179527283, 0.30330151319503784, -0.3274499475955963, -0.39673876762390137, -0.05020570009946823, 0.02030564844608307, -0.3788694739341736, -0.1190718486905098, 0.1929023712873459, -0.08490989357233047, 0.34825626015663147, -0.13091281056404114, -0.15767061710357666, -0.061059486120939255, -0.2921164035797119, 0.3796168565750122, -0.20501044392585754, 0.10314000397920609, 0.15125641226768494, 0.5057911276817322, -0.05985338240861893, -0.3301665484905243, -0.03067539446055889, 0.2521493136882782, -0.08914189040660858, -0.130433589220047, -0.42146503925323486, 0.0983627587556839, 0.2332187443971634, 0.2906600534915924, -0.00955193117260933, -0.0898820012807846, 0.022521251812577248, -0.26056545972824097, -0.435031533241272, 0.12794946134090424, -0.2685920298099518, 0.17537584900856018, -0.2432144433259964, -0.06611498445272446, -0.11350210756063461, 0.09551090002059937, 0.5554527640342712, 0.012717504054307938, 0.22756606340408325, 0.35350945591926575, 0.05671379715204239, -0.47640302777290344, -0.05598749220371246, -0.08184559643268585, 0.30016854405403137, 0.1903933584690094, 0.378652960062027, -0.05939260870218277, -0.019082769751548767, -0.1754651516675949, 0.2031553089618683, 0.03733496740460396, 0.20159971714019775, 0.21894747018814087, 0.18335078656673431, -0.3801444470882416, -0.35631734132766724, -0.1341038942337036, -0.05020574480295181, 0.2788850665092468, -0.25779205560684204, -0.2649918496608734, -0.15169624984264374, 0.3197885751724243, 0.20514525473117828, -0.17112071812152863, 0.24103643000125885, -0.2585064172744751, 0.07568398863077164, 0.022745849564671516, -0.2924861013889313, 0.4047526717185974, -0.08408904075622559, 0.6434147953987122, 0.040440239012241364, 0.07824274152517319, -0.2786003351211548, -0.1506170928478241, -0.12796008586883545, 0.14949090778827667, 0.09073574841022491, -0.13247050344944, 0.058597203344106674, -0.02729204297065735, 0.008785329759120941, -0.16655190289020538, -0.045893166214227676, 0.08089610189199448, 0.30110782384872437, 0.05586003512144089, 0.12754958868026733, 0.5136836171150208, 0.18168991804122925, -0.1779218465089798, 0.05953800305724144, -0.21631833910942078, -0.05191076174378395, -0.2177690714597702, -0.16061057150363922, 0.24223172664642334, 0.10015968978404999, -0.3636181056499481, 0.05840184539556503, -0.5947258472442627, 0.5033407807350159, 0.04401422664523125, 0.14110910892486572, -0.125777006149292, 0.15753912925720215, -0.06746784597635269, -0.008771251887083054, 0.1889158934354782, -0.16140250861644745, -0.6235781908035278, 0.3546420931816101, -0.24461396038532257, -0.18781678378582, 0.11747683584690094, 0.17608094215393066, -0.020768161863088608, -0.23549187183380127, -0.4608672261238098, -0.031164944171905518, -0.20301948487758636, -0.08966575562953949, -0.12954233586788177, 0.11353800445795059, 0.26358604431152344, 0.29673776030540466, -0.33975645899772644, 0.09889882057905197, -0.38594385981559753, 0.16694699227809906, 0.13208894431591034, 0.19576451182365417, 0.07745513319969177, 0.366729736328125, -0.05202445387840271, -0.1948259323835373, -0.0550643727183342, -0.04135305806994438, 0.1896766573190689, -0.05335155129432678, 0.09393992274999619, -0.20911148190498352, 0.12130333483219147, 0.01221991516649723, -0.05906713008880615, 0.07437655329704285, 0.29645276069641113, 0.24333760142326355, -0.29689642786979675, -0.21492575109004974, 0.2000012844800949, -0.5033613443374634, -0.4204697906970978, 0.037165042012929916, -0.05835079401731491, -0.02661493420600891, 0.009948886930942535, -0.004004377871751785, -0.13570265471935272, -0.042466405779123306, -0.09951329231262207, -0.03969123959541321, 0.09788419306278229, -0.08322633057832718, -0.22464698553085327, 0.4082403779029846, -0.5756626129150391, 0.2640719711780548, -0.43964827060699463, 0.10137668997049332, -0.038738906383514404, -0.2031746804714203, 0.05128713324666023, -0.24883614480495453, 0.376686155796051, -0.00023546069860458374, -0.03214699774980545, 0.019423943012952805, 0.37808915972709656, 0.01396595872938633, 0.08270570635795593, 0.11041916906833649, 0.06229446083307266, 0.484317809343338, -0.03681018203496933, -0.60032057762146, 0.06731819361448288, 0.3675711750984192, -0.25558921694755554, -0.0204014852643013, 0.039561133831739426, 0.02510206028819084, -0.6456317901611328, -0.3536018431186676, -0.037098370492458344, 0.13811300694942474, -0.025930458679795265, -0.20101362466812134, -0.16713827848434448, -0.0025361254811286926, -0.1432684063911438, 0.020437978208065033, -0.10672184824943542, 0.03507523983716965, -0.035258322954177856, 0.14298151433467865, 0.08314311504364014, 0.21474790573120117, 0.29899558424949646, 0.4162983000278473, -0.03285735473036766, -0.03208768367767334, 0.30664581060409546, -0.18042325973510742, 0.22892192006111145, 0.3024304509162903, 0.2890163064002991, 0.04278871417045593, 0.07625086605548859, 0.3703268766403198, -0.04577967897057533, 0.21643418073654175, 0.15341955423355103, -0.07445098459720612, -0.39478302001953125, -0.35584375262260437, 0.5228111147880554, -0.17676286399364471, -0.07087117433547974, 0.34963974356651306, -0.03215375542640686, -0.18721233308315277, 0.141275092959404, 0.11007583141326904, 0.9120395183563232, 0.059815436601638794, 0.044529590755701065, 0.004004480317234993, -0.5014209151268005, 0.17909826338291168, -0.42296820878982544, -0.09204679727554321, -0.1704174429178238, -0.05415663123130798, -0.02556528151035309, -0.09888674318790436, -0.05448698252439499, 0.36193323135375977, -0.38621070981025696, -0.23002727329730988, 0.09804540872573853, -0.2704956531524658, 0.09402197599411011, 0.3652019500732422, -0.2310606837272644, -0.3816390931606293, -0.24273943901062012, 0.20752538740634918, -0.23320035636425018, 0.006968419998884201, 0.07669820636510849, -0.24417151510715485, 0.18806008994579315, -0.12507250905036926, -0.24607892334461212, 0.06658530235290527, 0.14023295044898987, 0.03182227164506912, 0.020343132317066193, 0.1407919079065323, 0.053191449493169785, -0.16358990967273712, 0.2589164674282074, 0.3198331594467163, -0.49486494064331055, 0.23421412706375122, 0.12241367250680923, 0.15305447578430176, 0.023978006094694138, 0.11267867684364319, 0.17245233058929443, -0.24148783087730408, -0.2043226659297943, 0.04710005968809128, -0.1646074801683426, -0.4227984547615051, -0.32908427715301514, -0.130221426486969, 0.07621991634368896, -0.3365274667739868, -0.12264154851436615, 0.3375518321990967, -0.20514489710330963, -0.2188739776611328, 0.20894958078861237, 0.18265968561172485, -0.03674006462097168, 0.6018965840339661, 0.3233289420604706, -0.29461801052093506, -0.1443718820810318, 0.40818527340888977, -0.20053556561470032, 0.1157626211643219, 0.22757364809513092, 0.15536357462406158, -0.09934742003679276, -0.22874808311462402, 0.42487120628356934, 0.5743446350097656, -0.18339306116104126, 0.23277197778224945, -0.01120965275913477, 0.0821256935596466, 0.20577262341976166, 0.5327249765396118, -0.04545293003320694, 0.1909908503293991, 0.1402704268693924, 0.02678142488002777, -0.04650632664561272, 0.0657140463590622, 0.08752160519361496, 0.3543534576892853, -0.17753452062606812, 0.22244766354560852, -0.017858020961284637, -0.12960326671600342, -0.3958309292793274, 0.11603357642889023, -0.17604434490203857, 0.045127272605895996, -0.05949760973453522, 0.06785492599010468, 0.17265209555625916, -0.06640586256980896, 0.11641648411750793, -0.08303523808717728, -0.2040141522884369, -0.303127646446228, 0.08936154842376709, 0.16683730483055115, 0.08914090692996979, -0.1621476411819458, 0.03611769527196884, -0.10373630374670029, -0.3041784465312958, -0.058654844760894775, -0.102525994181633, -0.19783738255500793, -0.2056020349264145, -0.1304941326379776, 0.14625795185565948, -0.09397705644369125, 0.3344724774360657, -0.21331854164600372, 0.07936876267194748, 0.3394050598144531, -0.2180899828672409, 0.04938875511288643, -0.21745680272579193, -0.07758384943008423, -0.09027998894453049, 0.31065574288368225, 0.19308796525001526, 0.38265228271484375, 0.36171942949295044, -0.24609540402889252, -0.12080591917037964, -0.05487058684229851, 0.43486127257347107, 0.06185172498226166, -0.25794821977615356, -0.016522107645869255, -0.15815430879592896, 0.3381863236427307, -0.018640343099832535, 0.07027389854192734, 0.04119691625237465, -0.12479843944311142, 0.2173955738544464, -0.1355818510055542, -0.13356667757034302, -0.16295935213565826, -0.23122014105319977, 0.054650336503982544, 0.26150837540626526, -0.24377883970737457, -0.1562626212835312, 0.13430681824684143, -0.4931911528110504, -0.03998657688498497, 0.20145297050476074, 0.09594519436359406, 0.3381657600402832, -0.055289894342422485, 0.32278332114219666, 0.443600594997406, 0.3550203740596771, 0.11189989000558853, -0.4472668468952179, -0.34838414192199707, 0.31792008876800537, 0.058077163994312286, 0.16052770614624023, 0.23566949367523193, 0.44114241003990173, -0.07289458066225052, -0.166547030210495, -0.0032103261910378933, -0.26237794756889343, 0.1545744687318802, 0.30708780884742737, -0.15785260498523712, -0.1684889793395996, -0.2310318648815155, 0.1539803296327591, -0.07037338614463806, -0.07195793092250824, 0.1059168353676796, -0.17970773577690125, -0.08157357573509216, 0.20680075883865356, -0.3052636682987213, 0.3110100328922272, -0.5751196146011353, 0.5127675533294678, -0.1069701761007309, 0.10308302193880081, -0.17487098276615143, -0.0802464634180069, 0.005643174052238464, 0.5465562343597412, 0.1467537134885788, 0.40846922993659973, -0.14752927422523499, 0.18138524889945984, -0.14643768966197968, -0.08974325656890869, -0.19750231504440308, 0.23786327242851257, 0.5260971784591675, -0.3041782081127167, 0.10189563035964966, 0.223516583442688, -0.11762195825576782, 0.3559437692165375, -0.1918952912092209, -0.2550359070301056, 0.223074272274971, -0.06709376722574234, 0.40937188267707825, -0.35504117608070374, 0.11493358016014099, -0.043302811682224274, -0.24595841765403748, -0.21141216158866882, -0.12259390950202942, -0.30508774518966675, 0.13003525137901306, -0.1495726853609085, 0.1317010372877121, 0.0864446759223938, 0.30913591384887695, -0.16929849982261658, 0.23792055249214172, 0.08252915740013123, -0.30631223320961, -0.25692111253738403, 0.11219555884599686, 0.04415274038910866, -0.08880303055047989, 0.15799562633037567, 0.2801264226436615, 0.2614488899707794, 0.0977494865655899, 0.0012316778302192688, 0.03193218261003494, -0.404908150434494, 0.18217873573303223, -0.37198424339294434, -0.04879263415932655, 0.4196254014968872, 0.44560688734054565, -0.19756369292736053, -0.12436780333518982, 0.20800361037254333, -0.12826888263225555, 0.18407684564590454, -0.19643235206604004, 0.20202019810676575, 0.018807847052812576, 0.14545387029647827, 0.28405964374542236, 0.0922430157661438, 0.02011261135339737, -0.3268376290798187, 0.03575097769498825, -0.07863058149814606, -0.11998425424098969, -0.16710969805717468, 0.13281819224357605, -0.03374483808875084, 0.14274640381336212, 0.17973990738391876, -0.05465623363852501, -0.06902624666690826, 0.07410148531198502, -0.10043393820524216, 0.19625745713710785, -0.20545461773872375, -0.08807291835546494, 0.18490999937057495, -0.07641783356666565, -0.03452287241816521, -0.1612115502357483, -0.020343706011772156, 0.167360320687294, -0.19430673122406006, -0.2715945839881897, 0.43159717321395874, 0.26493555307388306, -0.20785704255104065, -0.11093707382678986, 0.38069605827331543, -0.10744743794202805, 0.12445373088121414, -0.2096816897392273, 0.01892998069524765, 0.3378746509552002, -0.15042045712471008, -0.41660448908805847, 0.40822067856788635, -0.1515129804611206, 0.005756661295890808, -0.14403614401817322, 0.4652152955532074, 0.12034603953361511, -0.06922759860754013, -0.5828223824501038, -0.17769522964954376 ]
https://github.com/huggingface/datasets/pull/2348
Add tests for dataset cards
@lhoestq Should I remove the scripts? or atleast remove running them from the CircleCI config? Also, I hope it is okay that the combined method (metadata+content) is only a slow test, and for the Circle CI, I assume only non-slow tests are run? If yes, this would mean separate tests for content and metadata.
Adding tests for dataset cards This PR will potentially remove the scripts being used for dataset tags and readme validation. Additionally, this will allow testing dataset readmes by providing the name as follows: ```bash pytest tests/test_dataset_cards.py::test_dataset_tags[fashion_mnist] ``` and ```bash pytest tests/test_dataset_cards.py::test_readme_content[fashion_mnist] ``` or a combined test as: ```bash pytest tests/test_dataset_cards.py::test_dataset_card[fashion_mnist] ``` @lhoestq
54
text: Add tests for dataset cards Adding tests for dataset cards This PR will potentially remove the scripts being used for dataset tags and readme validation. Additionally, this will allow testing dataset readmes by providing the name as follows: ```bash pytest tests/test_dataset_cards.py::test_dataset_tags[fashion_mnist] ``` and ```bash pytest tests/test_dataset_cards.py::test_readme_content[fashion_mnist] ``` or a combined test as: ```bash pytest tests/test_dataset_cards.py::test_dataset_card[fashion_mnist] ``` @lhoestq @lhoestq Should I remove the scripts? or atleast remove running them from the CircleCI config? Also, I hope it is okay that the combined method (metadata+content) is only a slow test, and for the Circle CI, I assume only non-slow tests are run? If yes, this would mean separate tests for content and metadata.
[ -0.3489150404930115, -0.32923299074172974, -0.053931429982185364, 0.012625839561223984, -0.26788169145584106, 0.30087417364120483, 0.17626671493053436, 0.18179728090763092, 0.09274016320705414, 0.1211022213101387, 0.09190770238637924, 0.2089853435754776, -0.21541491150856018, 0.3498775064945221, -0.17281854152679443, 0.20087116956710815, 0.10245273262262344, 0.1450994610786438, 0.13735610246658325, 0.2354593425989151, -0.3208678662776947, -0.04925922304391861, -0.03363626077771187, -0.03374839574098587, -0.12463785707950592, -0.435577392578125, -0.009127959609031677, 0.17089109122753143, -0.108199842274189, -0.6025314331054688, 0.002273011952638626, 0.6894246339797974, -0.4004782438278198, 0.07330100238323212, -0.00013071548892185092, -0.11923491954803467, 0.3292822241783142, -0.0964755117893219, 0.004051104187965393, 0.15342764556407928, 0.13125208020210266, 0.2675461769104004, 0.15174561738967896, -0.09577830135822296, 0.203155517578125, 0.24170510470867157, -0.3499675393104553, -0.1351686716079712, -0.17836962640285492, 0.2721785604953766, 0.023509999737143517, 0.23809733986854553, -0.4455399513244629, 0.09593237936496735, 0.12390616536140442, 0.4665716886520386, -0.06330779194831848, 0.001188870519399643, 0.6047083139419556, 0.3666251003742218, 0.1528523713350296, 0.34985268115997314, -0.16487276554107666, 0.06497520953416824, 0.17103968560695648, -0.08434826135635376, 0.35413122177124023, -0.6199796199798584, 0.26853156089782715, -0.029335305094718933, 0.44801950454711914, -0.2691226303577423, 0.12168924510478973, -0.13168340921401978, 0.1166713684797287, -0.3475172221660614, 0.2008078694343567, 0.04916902631521225, -0.12492033839225769, -0.028675619512796402, -0.4725862443447113, -0.2720268964767456, 0.08273030817508698, -0.11967787146568298, -0.10505522787570953, 0.3143024444580078, 0.3223607838153839, 0.17666545510292053, 0.06539691984653473, 0.0377020463347435, 0.24703377485275269, -0.13642333447933197, -0.33190232515335083, -0.061458464711904526, 0.487801194190979, -0.291434645652771, 0.04894685000181198, 0.3687376379966736, 0.2130475640296936, 0.7882311344146729, -0.3109525442123413, 0.18616774678230286, 0.17603318393230438, 0.15222211182117462, 0.10209345817565918, -0.2418784350156784, 0.20887044072151184, 0.7542129158973694, 0.3043573498725891, 0.23062314093112946, 0.21164655685424805, 0.16548344492912292, 0.3714151680469513, -0.014201606623828411, -0.2303970456123352, -0.1193024292588234, 0.2026265263557434, -0.29179513454437256, -0.39639097452163696, 0.09364688396453857, -0.046916697174310684, -0.1362520307302475, 0.2721247673034668, 0.357048362493515, 0.1874990612268448, 0.4437677562236786, 0.07912671566009521, 0.267105370759964, 0.09643905609846115, 0.32372143864631653, -0.0046872044913470745, 0.19974583387374878, 0.020401161164045334, 0.2151230275630951, 0.34569329023361206, 0.11198586225509644, 0.2208421230316162, 0.05961976200342178, 0.23869170248508453, 0.04340827465057373, 0.2350679636001587, -0.13562308251857758, 0.6150737404823303, 0.5975888967514038, -0.007923517376184464, -0.035787031054496765, 0.044037412852048874, -0.05277378857135773, -0.3645819425582886, 0.30346015095710754, -0.2957175672054291, -0.3073083460330963, 0.4449582099914551, 0.11248330771923065, -0.2664339542388916, 0.06269632279872894, 0.006849400699138641, 0.05057312548160553, 0.2232600748538971, -0.30677175521850586, 0.1837715208530426, -0.20197147130966187, -0.3474479615688324, -0.09346859157085419, -0.021048111841082573, 0.48842477798461914, -0.13603363931179047, -0.18313178420066833, 0.17481768131256104, 0.01951519213616848, 0.09466315060853958, 0.21468636393547058, -0.3855988681316376, 0.28744301199913025, -0.34101957082748413, -0.4158676266670227, 0.42870450019836426, -0.8223316073417664, -0.12055307626724243, 0.10485808551311493, 0.029551729559898376, 0.24743692576885223, 0.3033813536167145, -0.006491301581263542, -0.25813841819763184, -0.27449020743370056, 0.11181541532278061, -0.35191404819488525, -0.215826615691185, 0.025371933355927467, -0.18217095732688904, -0.12575018405914307, 0.565497100353241, -0.08638201653957367, 0.18917229771614075, 0.0025544315576553345, -0.15525195002555847, -0.5697280764579773, 0.329990029335022, -0.02919745072722435, -0.13315729796886444, -0.042217060923576355, 0.4440545439720154, -0.3060039281845093, 0.13693767786026, -0.020770208910107613, -0.008328229188919067, 0.07369434088468552, -0.15148472785949707, 0.1536879539489746, -0.13165642321109772, -0.48952436447143555, -0.20395904779434204, -0.16005606949329376, -0.29790231585502625, -0.1775975525379181, -0.16836930811405182, -0.0344056561589241, 0.25527623295783997, -0.3223930895328522, -0.36729153990745544, 0.18304303288459778, -0.20703856647014618, 0.17683134973049164, 0.17469313740730286, -0.1294616460800171, -0.20084072649478912, 0.05485045909881592, -0.18410904705524445, 0.053821861743927, 0.0305099468678236, -0.16132894158363342, 0.16817036271095276, 0.31767168641090393, 0.302549809217453, -0.15754978358745575, -0.06806161254644394, 0.1796206682920456, 0.3121354281902313, -0.15509481728076935, -0.027197284623980522, -0.0631142109632492, 0.02288210019469261, -0.16114768385887146, -0.16504162549972534, 0.2990145683288574, -0.07071812450885773, 0.19165661931037903, 0.043519698083400726, -0.23773695528507233, 0.11327028274536133, 0.17471067607402802, -0.5158113241195679, -0.2820036709308624, 0.09789535403251648, 0.28080692887306213, 0.2655624747276306, 0.10888566821813583, -0.062370866537094116, 0.1816214621067047, 0.1406998485326767, -0.08976339548826218, -0.18358001112937927, 0.11455147713422775, 0.4456078112125397, 0.020420808345079422, -0.2050207555294037, 0.26191002130508423, 0.6943226456642151, 0.04306893050670624, 0.0007385797798633575, 0.267654687166214, 0.05725329741835594, -0.22449804842472076, 0.3036939203739166, 0.386776864528656, -0.1348768174648285, 0.23047998547554016, -0.09570679813623428, -0.004182073287665844, -0.1476215124130249, -0.37306827306747437, 0.29549872875213623, 0.1900942176580429, -0.5852805376052856, 0.04601910710334778, 0.012307627126574516, -0.015792177990078926, 0.1499665379524231, 0.18282900750637054, 0.1972612887620926, -0.2916446924209595, 0.18734705448150635, 0.010076422244310379, -0.1313311606645584, 0.2235603928565979, -0.16990943253040314, 0.48540329933166504, -0.27951493859291077, -0.2527484595775604, -0.39664241671562195, -0.008377183228731155, 0.09864822775125504, -0.03350194916129112, 0.1991383284330368, -0.2296566516160965, 0.5401489734649658, -0.40751221776008606, -0.03506064414978027, -0.11458035558462143, -0.5086153745651245, 0.2957072854042053, -0.2413478046655655, -0.18692199885845184, 0.3305324912071228, 0.04860663041472435, 0.2039080709218979, -0.30040666460990906, 0.06371092796325684, -0.19372893869876862, -0.04680420458316803, -0.16150644421577454, -0.04505637288093567, -0.34899061918258667, -0.404051274061203, -0.4955420196056366, -0.1981431543827057, -0.05844695866107941, -0.06787797808647156, 0.31085872650146484, 0.1611902415752411, 0.35349148511886597, -0.2222253680229187, -0.15140517055988312, 0.0012828600592911243, 0.11977946013212204, -0.1096024289727211, -0.3703424334526062, 0.17516130208969116, -0.10624616593122482, -0.07454873621463776, 0.12966464459896088, -0.061445944011211395, 0.48701563477516174, 0.1847861260175705, -0.174208402633667, -0.20559078454971313, -0.0546594113111496, 0.30727747082710266, -0.20985198020935059, -0.04963887482881546, 0.2103663980960846, 0.475443571805954, 0.014278804883360863, 0.18250420689582825, 0.13861148059368134, 0.0012506693601608276, -0.060099609196186066, 0.009741716086864471, -0.2550244927406311, 0.06425398588180542, -0.21788375079631805, 0.2677571177482605, 0.16469553112983704, 0.07232357561588287, -0.03877745568752289, -0.1065596416592598, 0.4742927849292755, -0.11734630912542343, -0.10968376696109772, 0.026006625965237617, 0.12359156459569931, -0.3052564859390259, -0.015431024134159088, -0.25408437848091125, -0.2785441279411316, -0.17990832030773163, 0.4717911183834076, -0.07596996426582336, -0.1895683854818344, 0.16474607586860657, -0.20155106484889984, 0.4238557517528534, -0.13759073615074158, 0.24960631132125854, -0.07401849329471588, -0.08988821506500244, 0.11009988188743591, 0.26988670229911804, 0.06244596838951111, -0.16041696071624756, -0.6739035844802856, -0.4842142164707184, -0.2989759147167206, 0.25686055421829224, 0.27357128262519836, 0.004006307106465101, -0.21354380249977112, -0.08226613700389862, -0.019526414573192596, -0.3081367313861847, 0.14861935377120972, -0.3705013394355774, -0.11130820214748383, 0.4100727140903473, 0.16254521906375885, -0.1403798609972, -0.1335364431142807, -0.42394542694091797, -0.11522017419338226, -0.06054719164967537, 0.38622644543647766, -0.22965896129608154, -0.21514317393302917, 0.2460351586341858, 0.11412335932254791, -0.06775082647800446, 0.07113738358020782, -0.357454389333725, -0.665659487247467, -0.5176808834075928, 0.3773086667060852, 0.2626197338104248, -0.1196879968047142, -0.5112708806991577, 0.02429986372590065, 0.39298152923583984, -0.1608712077140808, 0.25377994775772095, 0.2974995970726013, 0.17894896864891052, 0.1309211105108261, 0.021903954446315765, -0.24090516567230225, -0.33577802777290344, 0.7513613700866699, 0.3042202293872833, 0.1618073284626007, 0.35323259234428406, 0.09051136672496796, -0.3114585876464844, 0.48900356888771057, 0.6018067598342896, -0.07116925716400146, 0.3268597722053528, -0.2820434868335724, 0.11412054300308228, -0.16082091629505157, 0.193424254655838, 0.02746884897351265, -0.2292383909225464, -0.24272938072681427, -0.31285640597343445, -0.24615934491157532, 0.49555057287216187, -0.27201876044273376, 0.2706884741783142, -0.08744609355926514, -0.36530277132987976, -0.030475251376628876, 0.14139476418495178, 1.242107629776001, 0.1874632090330124, 0.11574576795101166, 0.06982928514480591, -0.16689275205135345, 0.0022978729102760553, -0.21446971595287323, 0.06870104372501373, -0.12705573439598083, 0.11588389426469803, -0.08721688389778137, -0.3388557732105255, 0.6383965015411377, -0.09685520827770233, -0.3758072853088379, 0.164902463555336, -0.3150565028190613, -0.10799695551395416, -0.10082463920116425, 0.4226030707359314, -0.509514331817627, -0.09268106520175934, 0.21603001654148102, -0.06939122825860977, -0.2445150762796402, 0.07825987040996552, -0.10224945843219757, 0.3802344799041748, -0.11042273044586182, -0.45010191202163696, -0.06288578361272812, -0.14517685770988464, -0.31941738724708557, 0.09380830079317093, -0.1516992300748825, -0.28646284341812134, 0.274940550327301, 0.17314481735229492, 0.2066347897052765, 0.266799658536911, -0.06798981130123138, 0.3982647657394409, 0.20447108149528503, 0.1591196358203888, 0.13744542002677917, -0.15852631628513336, 0.08954594284296036, -0.10838925838470459, -0.20466066896915436, 0.07784178107976913, -0.3245590627193451, -0.012318003922700882, -0.23168548941612244, -0.004360876977443695, 0.5794593095779419, -0.35567983984947205, -0.15023529529571533, 0.08864311873912811, -0.31029850244522095, -0.06458857655525208, -0.0452331118285656, 0.08215707540512085, -0.21425077319145203, 0.4238711893558502, -0.2328452318906784, -0.3523589074611664, -0.03851081058382988, -0.1628587543964386, 0.10091465711593628, -0.30102553963661194, 0.32451558113098145, -0.3240841031074524, -0.09340865164995193, -0.24998492002487183, 0.3903979957103729, 0.13618537783622742, 0.030220188200473785, -0.02735758200287819, 0.46392059326171875, -0.3475753664970398, -0.14271682500839233, 0.5505273938179016, 0.0029676109552383423, 0.40085369348526, -0.15348441898822784, -0.03729543834924698, -0.5386582612991333, 0.16772980988025665, 0.30034178495407104, 0.335593581199646, 0.0895649865269661, 0.12124769389629364, -0.04123461991548538, 0.03474970906972885, -0.14923503994941711, -0.18448202311992645, -0.16276364028453827, 0.2774454653263092, -0.1336653083562851, -0.04151365906000137, 0.0060920193791389465, -0.200827956199646, -0.012787718325853348, -0.01417078822851181, -0.08921823650598526, -0.06066406890749931, 0.10750620067119598, 0.24486075341701508, -0.011985473334789276, -0.25658851861953735, 0.13309364020824432, 0.09523747116327286, 0.07677722722291946, 0.045056167989969254, 0.3002048432826996, -0.04813706502318382, 0.10773257911205292, -0.10338061302900314, -0.32400330901145935, -0.28299352526664734, -0.10545117408037186, 0.11874338984489441, -0.27441874146461487, 0.13690510392189026, 0.19436749815940857, 0.15118944644927979, -0.1846335381269455, -0.23027145862579346, 0.3278943598270416, 0.46571239829063416, 0.38263148069381714, 0.3415794372558594, -0.008177869021892548, -0.1581537276506424, -0.008293677121400833, -0.07744461297988892, 0.03905036300420761, 0.521295428276062, -0.21229679882526398, -0.21200059354305267, 0.035907380282878876, 0.015058438293635845, -0.13697385787963867, -0.1105160266160965, -0.12177838385105133, -0.032918501645326614, 0.1273464858531952, 0.4837217926979065, 0.22192984819412231, -0.15848934650421143, 0.174241840839386, 0.03545089438557625, 0.6798292994499207, -0.42531996965408325, 0.15108604729175568, -0.15264426171779633, -0.16692598164081573, 0.10186757147312164, 0.04633248969912529, -0.01816019043326378, -0.14647316932678223, -0.4011465311050415, 0.18164676427841187, 0.6349576115608215, 0.3732970952987671, 0.21733786165714264, 0.1365194469690323, -0.15522582828998566, 0.159171000123024, -0.2793393135070801, -0.113972008228302, 0.07860805094242096, 0.4302261769771576, 0.005121730268001556, -0.13677538931369781, -0.47330090403556824, -0.02493448369204998, -0.08083170652389526, -0.05601446330547333, -0.08183106780052185, -0.44310668110847473, -0.10688077658414841, -0.12058475613594055, 0.030758041888475418, 0.3074377775192261, 0.05486427992582321, 0.0398787297308445, 0.1490490734577179, -0.08765766024589539, 0.032844893634319305, 0.03364730253815651, -0.06608763337135315, 0.321858286857605, -0.18108999729156494, 0.22774778306484222, 0.2642490863800049, -0.12654539942741394, 0.3243195414543152, 0.028587378561496735, 0.4682556986808777, 0.006257941946387291, 0.07707971334457397, -0.06003523990511894, -0.3088203966617584, -0.04795960336923599, -0.07740780711174011, 0.030881330370903015, 0.3164549469947815, -0.009358905255794525, 0.033905722200870514, 0.06857965886592865, -0.03914783149957657, -0.30346134305000305, 0.09303107857704163, -0.0897994339466095, -0.18360114097595215, 0.299826979637146, 0.13253197073936462, -0.273250937461853, 0.0075730979442596436, 0.10615909844636917, -0.21655696630477905, 0.010041172616183758, 0.49770569801330566, 0.08496417850255966, 0.025337934494018555, 0.09700120985507965, -0.001281769946217537, 0.34262144565582275, 0.37143632769584656, 0.048265490680933, 0.004132013767957687, -0.4732264280319214, -0.11477735638618469, -0.23917041718959808, -0.041652895510196686, 0.11302302777767181, -0.1684684008359909, 0.05374186858534813, -0.07297325134277344, 0.24972650408744812, 0.08320394158363342, 0.19348913431167603, -0.10864739120006561, 0.23826560378074646, -0.21538200974464417, -0.025295322760939598, 0.39540037512779236, -0.14979061484336853, 0.18389905989170074, -0.0026610270142555237, -0.13677196204662323, 0.12646551430225372, -0.03732183575630188, -0.12670215964317322, 0.03921079635620117, -0.21220587193965912, 0.22923269867897034, 0.30004456639289856, 0.20529912412166595, 0.04277995973825455, 0.8039252758026123, -0.06121806800365448, -0.03985738009214401, -0.014818619936704636, -0.12629933655261993, -0.039267707616090775, 0.4181140959262848, 0.0032338686287403107, 0.06818731874227524, -0.17522767186164856, -0.16276095807552338, -0.13405121862888336, 0.12381653487682343, 0.09221969544887543, -0.11598720401525497, 0.0431465283036232, 0.07420601695775986, 0.10055964440107346, 0.2815840244293213, 0.0021102502942085266, 0.25294020771980286, 0.09586194157600403, -0.02416200563311577, -0.21506145596504211, -0.2008778303861618, 0.8093771934509277, 0.36201316118240356, -0.3236605226993561, -0.22371648252010345, 0.3722872734069824, -0.13816413283348083, 0.16170310974121094, -0.45880812406539917, -0.3310869038105011, 0.03284725174307823, -0.21589252352714539, -0.5520449876785278, 0.30021971464157104, -0.00447410624474287, -0.2983860373497009, -0.12775588035583496, 0.4522455334663391, -0.16296270489692688, -0.08407408744096756, -0.23927824199199677, -0.0836750790476799 ]
https://github.com/huggingface/datasets/pull/2348
Add tests for dataset cards
Also feel free to remove the scripts from the CI and also remove the scripts files :)
Adding tests for dataset cards This PR will potentially remove the scripts being used for dataset tags and readme validation. Additionally, this will allow testing dataset readmes by providing the name as follows: ```bash pytest tests/test_dataset_cards.py::test_dataset_tags[fashion_mnist] ``` and ```bash pytest tests/test_dataset_cards.py::test_readme_content[fashion_mnist] ``` or a combined test as: ```bash pytest tests/test_dataset_cards.py::test_dataset_card[fashion_mnist] ``` @lhoestq
17
text: Add tests for dataset cards Adding tests for dataset cards This PR will potentially remove the scripts being used for dataset tags and readme validation. Additionally, this will allow testing dataset readmes by providing the name as follows: ```bash pytest tests/test_dataset_cards.py::test_dataset_tags[fashion_mnist] ``` and ```bash pytest tests/test_dataset_cards.py::test_readme_content[fashion_mnist] ``` or a combined test as: ```bash pytest tests/test_dataset_cards.py::test_dataset_card[fashion_mnist] ``` @lhoestq Also feel free to remove the scripts from the CI and also remove the scripts files :)
[ -0.2837527394294739, -0.027995824813842773, -0.1164545863866806, -0.19762156903743744, 0.24284660816192627, 0.4089071452617645, 0.272914320230484, 0.43651849031448364, 0.20457355678081512, 0.18582862615585327, 0.24418562650680542, 0.297416090965271, -0.16596372425556183, 0.3078947365283966, 0.07884447276592255, 0.18103168904781342, 0.06229868531227112, 0.31405580043792725, 0.23482519388198853, 0.16291798651218414, -0.22924421727657318, -0.2608700394630432, 0.028957977890968323, 0.003596067428588867, -0.019539054483175278, -0.2937389016151428, 0.09267163276672363, 0.050890952348709106, -0.33342039585113525, -0.7853176593780518, 0.22976388037204742, 0.47473788261413574, -0.20707516372203827, 0.0021584033966064453, -0.0001101482193917036, -0.04547613486647606, 0.3462101221084595, -0.08101099729537964, -0.250606894493103, -0.23806561529636383, -0.17375880479812622, 0.2090381532907486, 0.13545021414756775, -0.09559616446495056, -0.020558156073093414, -0.36044442653656006, -0.06086163967847824, -0.06306968629360199, -0.03108777105808258, 0.45983627438545227, 0.2114078551530838, 0.06521762162446976, -0.40670615434646606, -0.1407354325056076, 0.2521466314792633, 0.3622446060180664, -0.13064908981323242, -0.05221876874566078, 0.5886526107788086, 0.18200144171714783, 0.29236024618148804, 0.4148634076118469, -0.1623041331768036, 0.14336471259593964, 0.18421626091003418, -0.19936507940292358, 0.43941885232925415, -0.547288179397583, 0.15057583153247833, 0.052447348833084106, 0.45538559556007385, -0.4246525168418884, 0.04197113215923309, -0.14020642638206482, 0.24044346809387207, -0.31661731004714966, 0.07349074631929398, 0.12181217223405838, -0.10067379474639893, 0.01650404743850231, -0.49715548753738403, -0.17607691884040833, -0.05561080574989319, -0.12610147893428802, 0.1426260620355606, 0.16121640801429749, 0.3312777876853943, -0.0061905160546302795, 0.2632409930229187, 0.001094680279493332, 0.17901760339736938, 0.08277885615825653, -0.5070262551307678, -0.11324265599250793, 0.2745690941810608, -0.2792978286743164, 0.08480380475521088, 0.14872139692306519, 0.23259589076042175, 0.490104615688324, -0.19146913290023804, 0.2252245843410492, 0.16176995635032654, 0.2244417369365692, -0.07181352376937866, 0.0006573861464858055, 0.2788639962673187, 0.5715444087982178, 0.1068786233663559, 0.28380733728408813, 0.07699556648731232, 0.03237289562821388, 0.10191159695386887, -0.09050557762384415, -0.118615061044693, 0.19330698251724243, 0.27561426162719727, -0.30491188168525696, -0.2903112471103668, 0.00727827288210392, 0.025351688265800476, -0.07443574070930481, 0.09172829985618591, 0.5793085694313049, 0.2968437373638153, -0.09859789162874222, 0.02256099134683609, 0.14858120679855347, -0.07334776222705841, 0.1774437576532364, -0.10379604250192642, 0.3431127369403839, -0.13404881954193115, -0.029373707249760628, 0.3972247838973999, -0.10808788239955902, 0.22004742920398712, 0.03764393925666809, 0.10851694643497467, -0.08621442317962646, 0.25780338048934937, 0.05269444361329079, 0.6131160855293274, 0.4573284685611725, -0.05300071835517883, -0.1392747163772583, 0.20847880840301514, -0.16331495344638824, -0.25179949402809143, 0.27508142590522766, -0.21875303983688354, -0.23831726610660553, 0.20824097096920013, 0.28665366768836975, -0.2167850285768509, -0.10762360692024231, -0.04015570133924484, -0.16788025200366974, -0.07748677581548691, -0.19887109100818634, 0.27531588077545166, -0.34767794609069824, -0.038714297115802765, -0.019854608923196793, -0.053083471953868866, 0.45840972661972046, -0.28235647082328796, -0.11844853311777115, 0.30069127678871155, -0.20032809674739838, 0.08640773594379425, -0.16101518273353577, -0.2612650692462921, 0.1340276598930359, -0.2175355702638626, -0.22727501392364502, 0.4821344017982483, -0.7599809169769287, -0.06202635169029236, 0.014544791541993618, -0.020242229104042053, -0.10510294884443283, 0.3270449638366699, 0.07967033982276917, 0.046876657754182816, -0.0757470428943634, -0.4116944968700409, -0.17679379880428314, -0.2016710340976715, 0.0639822855591774, -0.06661725789308548, -0.1985352486371994, 0.20787867903709412, 0.05788135156035423, 0.017734959721565247, -0.08744976669549942, 0.09999766945838928, -0.22611956298351288, 0.2522066831588745, -0.2902548909187317, -0.09269343316555023, -0.14483308792114258, 0.5595354437828064, -0.07889828085899353, 0.052211448550224304, -0.07365640997886658, -0.0013878792524337769, 0.12791812419891357, -0.022813234478235245, 0.15037742257118225, -0.048957839608192444, -0.4685700535774231, -0.3548988997936249, -0.11772419512271881, -0.39871788024902344, -0.43184784054756165, 0.046195998787879944, 0.1286832094192505, -0.015861770138144493, -0.27030983567237854, -0.3457302749156952, 0.053198546171188354, -0.22567123174667358, 0.16762922704219818, -0.08628296852111816, -0.12184925377368927, -0.24791137874126434, -0.017395779490470886, -0.07917255908250809, 0.17120027542114258, 0.05615661293268204, -0.2520327866077423, 0.09334617853164673, 0.2890841066837311, 0.36615458130836487, -0.025353170931339264, 0.0361115038394928, 0.20172448456287384, 0.23582911491394043, -0.0896645337343216, -0.19048909842967987, 0.08986823260784149, -0.05571375787258148, 0.13078773021697998, -0.34381136298179626, 0.22083055973052979, 0.017138071358203888, -0.09549296647310257, -0.010277852416038513, -0.18336983025074005, 0.16886185109615326, -0.13963276147842407, -0.29972633719444275, -0.38693779706954956, 0.0006214752793312073, 0.1945861428976059, 0.03733743354678154, -0.008466457948088646, 0.04173128306865692, 0.108125239610672, 0.28154560923576355, 0.04576260969042778, -0.033602871000766754, 0.04801258072257042, 0.1530289202928543, 0.15502172708511353, -0.07429734617471695, 0.4653545916080475, 0.287905752658844, 0.20819763839244843, -0.11120463907718658, 0.17586810886859894, 0.016712725162506104, -0.37910258769989014, 0.35425448417663574, 0.13397334516048431, -0.08171522617340088, -0.030219271779060364, 0.012085767462849617, -0.03540685027837753, -0.20361372828483582, -0.23484663665294647, 0.21026542782783508, 0.22656795382499695, -0.46031832695007324, 0.027710596099495888, -0.354519248008728, -0.27357274293899536, -0.028766077011823654, -0.11673783510923386, 0.3128241300582886, -0.25101250410079956, 0.350211501121521, -0.06893099844455719, -0.2307574450969696, 0.32800307869911194, -0.13233165442943573, 0.2815675139427185, -0.06741984188556671, -0.3296796381473541, -0.29810479283332825, -0.0564170740544796, -0.014312293380498886, 0.113787442445755, 0.17503340542316437, -0.039498552680015564, 0.6414242386817932, -0.23562848567962646, -0.032086268067359924, -0.27152934670448303, -0.43338361382484436, 0.1821509301662445, -0.23586176335811615, 0.17190198600292206, 0.38580355048179626, 0.16772322356700897, 0.2707599997520447, -0.23377205431461334, 0.05914750695228577, -0.29346972703933716, -0.24595333635807037, -0.1738211065530777, 0.042059384286403656, -0.2716311812400818, -0.4996796250343323, -0.6958433985710144, -0.06442555040121078, -0.15927079319953918, -0.05914570391178131, 0.2832416892051697, 0.22517825663089752, 0.4008907079696655, 0.011525300331413746, -0.1484007090330124, -0.30602842569351196, 0.05948162078857422, 0.003023178083822131, -0.20336510241031647, 0.15132662653923035, -0.19035430252552032, -0.11116456985473633, 0.3684246242046356, 0.09165497869253159, 0.2475171536207199, 0.05419990047812462, -0.282291054725647, -0.41533857583999634, 0.05398760735988617, 0.2647327780723572, 0.062075551599264145, -0.16852477192878723, 0.28861597180366516, 0.4700224697589874, -0.23951983451843262, -0.013134293258190155, 0.06116514280438423, -0.14659219980239868, -0.06661117076873779, 0.07227224111557007, -0.21923252940177917, 0.07511183619499207, -0.1307162344455719, 0.18433034420013428, 0.04558250680565834, -0.17690376937389374, 0.14270994067192078, -0.24423354864120483, 0.42342907190322876, -0.034655697643756866, -0.2865721583366394, 0.1248362734913826, 0.11061642318964005, -0.1006159707903862, 0.18260914087295532, -0.27990826964378357, 0.023132655769586563, 0.042164526879787445, 0.3399091958999634, -0.14479151368141174, -0.18203158676624298, 0.18877039849758148, -0.2374102771282196, 0.1679975986480713, -0.12380668520927429, 0.2725869119167328, -0.05753098800778389, -0.1883699893951416, 0.04948270320892334, 0.32837462425231934, 0.1319543421268463, -0.009697562083601952, -0.3079487383365631, -0.3549325466156006, -0.07167456299066544, 0.2564855217933655, 0.13609184324741364, 0.11624941974878311, -0.31146958470344543, -0.009188050404191017, 0.10284207761287689, -0.09537211060523987, 0.20996317267417908, -0.3585526645183563, -0.010699920356273651, 0.2078128308057785, 0.19883832335472107, 0.035953037440776825, -0.13116292655467987, -0.3130975067615509, -0.11686541885137558, -0.0300198532640934, 0.31084054708480835, -0.06363992393016815, -0.12107575684785843, 0.25157415866851807, -0.0072285388596355915, -0.0468742698431015, 0.0522884875535965, -0.3338254392147064, -0.4625248610973358, -0.6593063473701477, 0.4016459286212921, 0.06974374502897263, -0.02799958363175392, -0.5011839270591736, -0.24497516453266144, 0.25785425305366516, -0.05653788521885872, 0.40692758560180664, 0.38105279207229614, 0.09224781394004822, 0.11558021605014801, -0.10450568795204163, -0.09986387193202972, -0.11671751737594604, 0.7893026471138, 0.1478276252746582, -0.12118476629257202, 0.036546651273965836, -0.04336945712566376, -0.25087374448776245, 0.44216787815093994, 0.3822130262851715, -0.04615691304206848, 0.31430694460868835, -0.21631735563278198, -0.04303067922592163, -0.2118321657180786, 0.05705740675330162, -0.0012971637770533562, -0.2033282071352005, -0.12587003409862518, -0.4844397306442261, -0.15895113348960876, 0.23789729177951813, -0.20653559267520905, 0.08520252257585526, -0.02001182734966278, -0.3881992995738983, 0.1645018458366394, 0.32939058542251587, 1.0438321828842163, 0.1064223051071167, -0.010427165776491165, 0.038803644478321075, -0.10409533977508545, 0.2684051990509033, -0.20220620930194855, 0.26477158069610596, -0.3085574507713318, -0.23446018993854523, -0.04262985661625862, -0.2737572491168976, 0.5368357300758362, -0.010737910866737366, -0.42177101969718933, 0.18392696976661682, -0.13621556758880615, 0.08355925977230072, 0.008603181689977646, 0.3402631878852844, -0.4028177857398987, -0.04969557002186775, 0.10637447237968445, 0.16215237975120544, -0.07595585286617279, 0.051802318543195724, -0.08090097457170486, 0.11095231771469116, 0.0330192930996418, -0.3301810026168823, -0.21528360247612, -0.10386759787797928, -0.2258302867412567, -0.267853319644928, -0.10271918773651123, -0.12132582813501358, 0.28942400217056274, 0.26760271191596985, 0.33437174558639526, 0.399127721786499, -0.15195059776306152, 0.35585153102874756, 0.22547411918640137, -0.0054764277301728725, -0.1937611848115921, -0.16898588836193085, 0.18233677744865417, -0.11788398772478104, -0.34444600343704224, 0.01428152620792389, -0.1523856371641159, -0.06171268969774246, -0.1941685676574707, 0.0975843071937561, 0.428256630897522, -0.4126546382904053, -0.12767046689987183, -0.31563252210617065, -0.16063354909420013, -0.23413024842739105, 0.1475249081850052, -0.1342807114124298, -0.24105846881866455, 0.22518116235733032, 0.06147824227809906, -0.3483847379684448, -0.06369468569755554, -0.2798597812652588, -0.09054962545633316, -0.20494964718818665, 0.4629914462566376, -0.12038114666938782, -0.15820786356925964, -0.47146791219711304, 0.007502347230911255, 0.4304743707180023, -0.036445483565330505, -0.15960389375686646, 0.27267229557037354, -0.35615694522857666, 0.14993220567703247, 0.35861536860466003, 0.0963900163769722, 0.3096446394920349, -0.17300176620483398, -0.3061273694038391, -0.3723161220550537, 0.10704958438873291, 0.03642190247774124, 0.5000074505805969, -0.06919510662555695, 0.1916380673646927, 0.07874745875597, 0.21704810857772827, -0.37941068410873413, -0.12189459055662155, -0.2118634581565857, 0.4099855422973633, 0.08543717861175537, 0.001204177737236023, -0.09673551470041275, -0.30956026911735535, 0.09170962125062943, 0.028430847451090813, -0.1689465194940567, -0.27894526720046997, -0.04035446047782898, 0.12113544344902039, -0.1411939561367035, 0.07924572378396988, -0.00027060648426413536, 0.1547875851392746, 0.015086785890161991, -0.06113918125629425, 0.2446390688419342, -0.1754765808582306, 0.03914451599121094, 0.07025744020938873, 0.1576516479253769, 0.00869506224989891, 0.07167260348796844, -0.02318904921412468, -0.22060135006904602, 0.3620663285255432, -0.043022606521844864, 0.0003421418368816376, -0.29298660159111023, -0.15295027196407318, 0.12827104330062866, 0.3935595452785492, 0.6619047522544861, 0.36799392104148865, -0.033982016146183014, 0.08081214129924774, -0.021795790642499924, 0.07079000025987625, 0.11640223860740662, 0.3706764876842499, -0.2321435958147049, -0.032642848789691925, 0.15562298893928528, 0.22911782562732697, -0.15534071624279022, -0.02329324744641781, 0.0016589239239692688, -0.07456640899181366, 0.06893309950828552, 0.4470420479774475, 0.3863917291164398, 0.005609728395938873, 0.14460542798042297, 0.09229813516139984, 0.6231157183647156, -0.4660440683364868, 0.22468307614326477, 0.06225290894508362, -0.3804769217967987, -0.3157043755054474, 0.15736600756645203, -0.07852634787559509, -0.0690552219748497, -0.05463186651468277, 0.10482046753168106, 0.8240545988082886, 0.6055364012718201, 0.10290786623954773, -0.04475443810224533, -0.15570417046546936, 0.32372042536735535, -0.06460532546043396, 0.10373044013977051, 0.12238295376300812, 0.3990103304386139, 0.16736145317554474, -0.06380639225244522, -0.28462275862693787, -0.1076480969786644, 0.1542116403579712, -0.0013927407562732697, -0.045037779957056046, -0.3921508491039276, -0.11687737703323364, -0.11317214369773865, -0.16279950737953186, 0.27738162875175476, -0.06599684059619904, -0.04474253952503204, 0.1469467580318451, -0.2987847924232483, -0.0502251535654068, 0.04952658712863922, 0.15667715668678284, 0.08947692066431046, -0.24389496445655823, 0.2441132366657257, 0.13919052481651306, -0.00353974848985672, 0.35566991567611694, 0.1320735067129135, 0.5041784048080444, 0.07548606395721436, 0.009790949523448944, -0.08036641776561737, -0.36245065927505493, -0.13546355068683624, 0.029659617692232132, 0.20352180302143097, 0.10582787543535233, 0.10822170972824097, 0.025121625512838364, 0.26229509711265564, -0.10341263562440872, -0.2075679451227188, 0.008127912878990173, -0.20450739562511444, 0.12300609052181244, 0.3233611583709717, 0.4351317584514618, -0.15251275897026062, -0.17760328948497772, 0.10869066417217255, -0.2990683913230896, 0.11397699266672134, 0.6256119012832642, 0.08144023269414902, 0.14579689502716064, -0.06475503742694855, 0.1252957284450531, 0.2644444704055786, 0.20158107578754425, 0.2571241855621338, 0.014336109161376953, -0.3733724355697632, 0.029718570411205292, -0.40758636593818665, 0.007311761379241943, -0.0404878668487072, -0.3472447395324707, 0.08854872733354568, -0.16599158942699432, 0.2176201343536377, -0.08228719234466553, 0.10943743586540222, -0.06900745630264282, 0.3690224885940552, 0.054309770464897156, -0.08239394426345825, 0.25062301754951477, 0.09102264046669006, 0.1702001541852951, 0.11614590883255005, -0.19935402274131775, 0.17334766685962677, -0.06604611128568649, 0.09687121957540512, -0.030046451836824417, -0.1169235035777092, 0.3001907467842102, 0.16196738183498383, 0.32299286127090454, -0.027462316676974297, 0.6134767532348633, -0.1633175015449524, 0.0634806677699089, -0.10263916850090027, -0.022965632379055023, -0.0511140339076519, 0.3378986418247223, 0.1498665064573288, 0.14579623937606812, -0.04975670576095581, -0.1842053085565567, -0.3348681628704071, 0.06306269019842148, -0.011092063039541245, -0.16022196412086487, -0.1933378279209137, 0.0383618101477623, -0.060063209384679794, 0.252345472574234, -0.031116049736738205, -0.04594261944293976, -0.04412532597780228, -0.05060845613479614, -0.22720839083194733, -0.48677170276641846, 0.6478056311607361, 0.14567682147026062, -0.38888704776763916, -0.2175443023443222, 0.4194755554199219, -0.15517255663871765, 0.31623396277427673, -0.586043655872345, 0.03217820078134537, 0.1224774718284607, -0.12744101881980896, -0.3322141468524933, 0.29970449209213257, 0.06568314135074615, 0.041477929800748825, -0.1636073738336563, 0.48956769704818726, 0.06368806213140488, 0.11468483507633209, -0.29806211590766907, -0.2448851764202118 ]
https://github.com/huggingface/datasets/pull/2346
Add Qasper Dataset
I saw that the README [template](https://github.com/huggingface/datasets/blob/master/templates/README.md) changed while I was working on this 😅 Some TOC titles may be different but I filled it to the best of my knowledge & readme quality check passes now. ready for review @lhoestq
[Question Answering on Scientific Research Papers](https://allenai.org/project/qasper/home) Doing NLP on NLP papers to do NLP ♻️ I had to add it~ - [x] Add README (just gotta fill out some more ) - [x] Dataloader code - [x] Make dummy dataset - [x] generate dataset infos - [x] Tests
40
text: Add Qasper Dataset [Question Answering on Scientific Research Papers](https://allenai.org/project/qasper/home) Doing NLP on NLP papers to do NLP ♻️ I had to add it~ - [x] Add README (just gotta fill out some more ) - [x] Dataloader code - [x] Make dummy dataset - [x] generate dataset infos - [x] Tests I saw that the README [template](https://github.com/huggingface/datasets/blob/master/templates/README.md) changed while I was working on this 😅 Some TOC titles may be different but I filled it to the best of my knowledge & readme quality check passes now. ready for review @lhoestq
[ -0.05235005170106888, -0.020603470504283905, -0.12977996468544006, 0.2206851989030838, 0.2068379819393158, 0.0687214657664299, 0.12453258037567139, 0.2124534547328949, 0.08359870314598083, 0.20961473882198334, 0.015017926692962646, 0.2753879129886627, 0.06038573011755943, 0.1390615850687027, 0.2002357393503189, 0.0940503403544426, 0.1508179008960724, 0.26206260919570923, -0.1198757141828537, -0.08757344633340836, -0.15395894646644592, 0.27533847093582153, -0.051417648792266846, -0.19706399738788605, 0.10139615088701248, -0.08132670819759369, 0.05269439518451691, -0.07757464796304703, -0.11556936055421829, -0.5150227546691895, 0.0069073643535375595, 0.1925385445356369, -0.20771671831607819, 0.4123028814792633, -0.00010761744488263503, -0.21230682730674744, 0.06684459745883942, -0.16362811625003815, 0.00404234416782856, -0.06914627552032471, -0.3585652709007263, -0.26104822754859924, -0.07938912510871887, -0.006472229957580566, -0.060537539422512054, -0.0034440597519278526, 0.1365618109703064, -0.06937173753976822, 0.14315931499004364, 0.6550835967063904, 0.2613475024700165, -0.009339747950434685, 0.22546590864658356, 0.01156657561659813, 0.3939714729785919, -0.11491632461547852, -0.16916832327842712, 0.11846902966499329, 0.4408291280269623, 0.3564218282699585, -0.06641150265932083, 0.3232206404209137, 0.019710848107933998, -0.09536400437355042, 0.3724400997161865, -0.12146010249853134, 0.21377840638160706, -0.27225154638290405, 0.25071361660957336, 0.20548665523529053, 0.5765963196754456, -0.2742258310317993, 0.054415181279182434, -0.2448100745677948, -0.07996074110269547, -0.2221623808145523, 0.024617120623588562, 0.1463017761707306, 0.13475416600704193, -0.00979827344417572, 0.006449209526181221, -0.46170514822006226, -0.16626077890396118, -0.07049445807933807, -0.08988066017627716, 0.21173101663589478, -0.26473915576934814, -0.023059159517288208, -0.18262998759746552, -0.017864804714918137, 0.3711423873901367, 0.1125316172838211, -0.574388861656189, 0.15589796006679535, -0.07427999377250671, -0.14960560202598572, 0.19649076461791992, -0.012496769428253174, 0.1880539059638977, -0.18999752402305603, -0.0011721225455403328, -0.08823508024215698, -0.375741571187973, 0.002192627638578415, 0.031151024624705315, 0.10237328708171844, 0.05955854058265686, 0.18115702271461487, -0.16181564331054688, 0.337875097990036, 0.03444518521428108, -0.2585050165653229, 0.10795655101537704, 0.08873982727527618, 0.14946648478507996, -0.0455075204372406, 0.11720922589302063, -0.3647911250591278, -0.0785752534866333, 0.2088557630777359, -0.0055706314742565155, -0.24721650779247284, -0.30211958289146423, 0.36603447794914246, 0.058073680847883224, 0.24696063995361328, 0.21139024198055267, 0.17515459656715393, -0.11321758478879929, -0.1563369333744049, -0.17228615283966064, 0.14753012359142303, -0.20007555186748505, 0.09336838871240616, -0.01871553249657154, 0.13351713120937347, 0.22013884782791138, 0.0004488453269004822, -0.02582726627588272, -0.287540465593338, 0.016847068443894386, 0.05651607736945152, 0.2759547233581543, 0.18127577006816864, 0.037086959928274155, 0.21297606825828552, 0.15872733294963837, -0.4517909288406372, -0.25501376390457153, 0.22503960132598877, -0.5731799006462097, 0.06286086142063141, -0.1321592628955841, 0.1955404132604599, -0.07207271456718445, -0.12086504697799683, -0.0005670860409736633, 0.1785457581281662, 0.36543357372283936, -0.22273598611354828, 0.4488414227962494, 0.03991307318210602, -0.22158457338809967, -0.057707689702510834, -0.19769370555877686, 0.2844085693359375, -0.23704877495765686, 0.040372319519519806, 0.14132271707057953, -0.0007271897047758102, 0.021898798644542694, -0.03946785256266594, 0.007805059663951397, 0.29977622628211975, -0.1853470802307129, 0.17641131579875946, 0.18950137495994568, -0.30389517545700073, -0.43385380506515503, 0.1585019826889038, -0.17485907673835754, -0.12333621829748154, 0.3172121047973633, -0.11680057644844055, 0.097101129591465, -0.3076174855232239, 0.06740814447402954, -0.14121343195438385, 0.13864083588123322, 0.16939057409763336, -0.38097119331359863, -0.10369409620761871, -0.2158268541097641, -0.07179433107376099, -0.0040376149117946625, -0.11343427747488022, 0.07586100697517395, -0.2630387544631958, 0.36943328380584717, -0.2040552794933319, 0.07565125823020935, 0.3404196500778198, 0.27094876766204834, -0.2615479826927185, -0.03594851866364479, -0.08079007267951965, -0.12694677710533142, -0.11806320399045944, -0.22771553695201874, 0.35194212198257446, 0.16214503347873688, -0.15797096490859985, -0.39216184616088867, -0.05237698554992676, -0.2720739543437958, -0.6631470918655396, 0.1950918734073639, 0.08974147588014603, -0.18062584102153778, 0.059577424079179764, 0.03797242417931557, 0.37873947620391846, -0.1497787982225418, -0.10663434118032455, -0.5100560188293457, -0.06509026885032654, -0.04837973415851593, -0.03941291943192482, 0.22017371654510498, 0.2132476568222046, 0.1364518254995346, 0.17786727845668793, -0.16320785880088806, 0.288763165473938, -0.14732180535793304, 0.25790274143218994, 0.09644850343465805, 0.16283521056175232, -0.028521427884697914, -0.23803645372390747, 0.28398534655570984, 0.09050056338310242, 0.15884490311145782, -0.12890952825546265, -0.31203052401542664, 0.07103988528251648, 0.11054942011833191, 0.1469058096408844, -0.002966463565826416, -0.17412005364894867, 0.15039679408073425, -0.10783931612968445, -0.007890783250331879, -0.07403739541769028, 0.17288251221179962, 0.5133621692657471, 0.011455416679382324, 0.07432874292135239, -0.1658780574798584, 0.4687595069408417, 0.6445080041885376, -0.09011001884937286, -0.04152833670377731, 0.10515676438808441, -0.1888122856616974, -0.2637772858142853, 0.15106211602687836, 0.18145573139190674, 0.1953842043876648, 0.20648637413978577, 0.03842372074723244, 0.15245352685451508, 0.04200651869177818, -0.2966662049293518, -0.027169175446033478, -0.04080073535442352, -0.059835925698280334, 0.3139052391052246, 0.19455192983150482, -0.023376502096652985, -0.17266130447387695, 0.2496877908706665, -0.07444573193788528, 0.24366487562656403, -0.5882033109664917, 0.015931962057948112, -0.024666039273142815, 0.2747653126716614, -0.1970262974500656, 0.008020413108170033, -0.28038275241851807, -0.43491414189338684, 0.1267310231924057, 0.13890904188156128, 0.12077651917934418, 0.06923169642686844, -0.12744870781898499, 0.2814940810203552, -0.11494245380163193, 0.16978245973587036, -0.008792489767074585, 0.05508120730519295, -0.11692100018262863, 0.1423725187778473, 0.22533142566680908, 0.32073774933815, 0.5241566896438599, -0.2617838680744171, 0.26817119121551514, -0.32856616377830505, -0.2888203263282776, 0.06532400101423264, -0.30598074197769165, 0.687242329120636, 0.10199145972728729, 0.2512180805206299, 0.02831447124481201, -0.10881196707487106, 0.00004071253351867199, -0.014198836870491505, -0.21392400562763214, -0.2724752724170685, -0.3491731882095337, -0.16192509233951569, -0.13332602381706238, -0.5698573589324951, 0.22955363988876343, -0.3544837534427643, 0.2783997654914856, 0.11809685826301575, 0.3738228678703308, 0.006363300606608391, 0.029873602092266083, 0.18670308589935303, -0.01339663565158844, -0.006729522719979286, -0.5272427797317505, -0.5825625061988831, 0.1346680074930191, -0.1617678701877594, -0.23718507587909698, 0.1606850028038025, 0.06801825761795044, 0.6488100290298462, -0.24862484633922577, -0.5481575727462769, -0.04195406287908554, -0.08892212808132172, 0.11747372150421143, 0.16725492477416992, 0.18528522551059723, 0.4725932478904724, 0.020557083189487457, -0.13056011497974396, -0.12898677587509155, -0.15608473122119904, 0.20048415660858154, -0.25097131729125977, 0.39872482419013977, -0.0787828266620636, 0.11368530243635178, -0.1928044855594635, 0.5827443599700928, 0.03517186641693115, 0.28798651695251465, 0.23571570217609406, 0.08450977504253387, 0.5140578150749207, -0.1484285295009613, -0.24966436624526978, 0.2817342281341553, 0.009009972214698792, -0.08797736465930939, 0.17363601922988892, 0.016243234276771545, -0.12323101609945297, 0.0346900075674057, -0.012738926336169243, -0.498989462852478, -0.33606570959091187, 0.2651571035385132, 0.2453014850616455, 0.2633128762245178, -0.12325914204120636, 0.014621153473854065, -0.174800306558609, -0.2832064926624298, 0.10855093598365784, 0.49278318881988525, 0.1833379864692688, -0.15623757243156433, -0.6844822764396667, 0.08857029676437378, -0.5087584853172302, 0.23001167178153992, -0.03455386683344841, 0.13515552878379822, -0.1559714376926422, -0.015396974980831146, 0.06566722691059113, -0.2505612075328827, 0.2636485993862152, -0.2541493773460388, -0.15828274190425873, 0.4751764237880707, 0.5692362189292908, 0.1795320212841034, 0.009523671120405197, -0.16284175217151642, -0.05486001819372177, -0.036098625510931015, -0.031036272644996643, -0.30248698592185974, -0.2043624222278595, 0.09502524882555008, -0.30522701144218445, -0.21899473667144775, -0.13618825376033783, -0.138337180018425, -0.2967396676540375, -0.3375591039657593, -0.04258928447961807, 0.1634792983531952, -0.019809694960713387, -0.11467933654785156, -0.0767848938703537, 0.20301419496536255, 0.03340283781290054, 0.47113001346588135, -0.16587889194488525, 0.10368003696203232, 0.182454451918602, 0.09190373122692108, -0.06410975009202957, -0.28851377964019775, -0.11974269151687622, 0.41509488224983215, -0.5236104726791382, -0.05209463834762573, 0.15364700555801392, -0.3104303777217865, 0.47477900981903076, 0.37930983304977417, 0.09957391768693924, 0.31985965371131897, -0.08880049735307693, 0.017847351729869843, -0.15898407995700836, 0.2458951622247696, 0.09480878710746765, 0.1968708485364914, -0.34580886363983154, -0.41932767629623413, 0.517265260219574, 0.06286604702472687, -0.18481162190437317, 0.1586667001247406, 0.17804928123950958, -0.32862168550491333, -0.022508837282657623, 0.1761976182460785, 1.2571417093276978, 0.006252773106098175, 0.3024921417236328, 0.38669461011886597, 0.003109253942966461, 0.03893306106328964, -0.32659757137298584, -0.09340047091245651, -0.43481677770614624, -0.013608030043542385, -0.19610223174095154, -0.09847307205200195, 0.2379010021686554, -0.14086835086345673, -0.33511245250701904, 0.258003294467926, 0.014716655015945435, -0.13217897713184357, 0.23262566328048706, 0.2843301296234131, -0.18072392046451569, -0.2103419005870819, -0.27045807242393494, 0.1945885568857193, 0.024506602436304092, -0.1138385683298111, 0.07262922823429108, -0.19913655519485474, -0.257511705160141, 0.03169560432434082, -0.2664257884025574, -0.000714888796210289, 0.0009169885888695717, -0.42154890298843384, 0.29307886958122253, -0.22509315609931946, 0.27720510959625244, -0.055023450404405594, 0.20888952910900116, 0.38210976123809814, -0.38917189836502075, 0.39503252506256104, -0.07199490815401077, -0.20245158672332764, 0.11645855009555817, 0.1067420095205307, 0.2909044325351715, 0.05144917964935303, -0.1603134721517563, 0.2526997923851013, -0.05708013102412224, -0.2181539386510849, -0.2983272671699524, -0.1449662148952484, 0.25894325971603394, -0.6003972887992859, -0.3747396469116211, 0.3020118772983551, -0.10145726799964905, -0.11770932376384735, 0.1894313246011734, 0.17383569478988647, 0.008135014213621616, -0.13129892945289612, 0.14592072367668152, -0.26305249333381653, 0.09975758194923401, 0.06655478477478027, 0.3846270442008972, -0.22999387979507446, 0.4365434944629669, 0.20162557065486908, -0.20855958759784698, -0.3923966586589813, 0.09423161298036575, 0.4242137670516968, -0.17431429028511047, -0.1600547432899475, -0.18620973825454712, -0.1800604611635208, -0.04941261559724808, 0.3281858563423157, 0.03501203656196594, 0.0757928416132927, -0.08004610240459442, -0.34570246934890747, -0.23257966339588165, 0.08963421732187271, -0.16885404288768768, 0.23964181542396545, -0.09789838641881943, -0.06592927873134613, -0.02229384146630764, 0.46783706545829773, -0.4211164116859436, 0.038442499935626984, -0.2037329375743866, 0.03704768419265747, 0.35612380504608154, -0.15055808424949646, 0.14701434969902039, -0.13434188067913055, 0.17182183265686035, 0.20447489619255066, -0.4569019377231598, -0.2589845359325409, -0.16332419216632843, 0.10471337288618088, 0.15253281593322754, -0.03328072279691696, 0.07585428655147552, -0.01086114440113306, -0.10841713845729828, -0.0378657691180706, 0.0015723370015621185, -0.22527101635932922, -0.14224223792552948, -0.027650006115436554, 0.0536249503493309, 0.26361289620399475, -0.1296384632587433, 0.09347337484359741, 0.035207271575927734, 0.17284274101257324, -0.1170089915394783, -0.11860209703445435, -0.3945543169975281, 0.06213420629501343, 0.16411574184894562, 0.4292294979095459, 0.4750865697860718, 0.41929101943969727, 0.28970620036125183, -0.06028508394956589, 0.1322760432958603, 0.13555431365966797, -0.1310785412788391, 0.11005547642707825, -0.5019141435623169, 0.12765833735466003, 0.07106497883796692, 0.22996342182159424, -0.02899443730711937, 0.13642814755439758, -0.09522019326686859, -0.3308121860027313, -0.004709552973508835, 0.07354515790939331, 0.1892196387052536, -0.14929763972759247, 0.4165569543838501, 0.4011167883872986, 0.1370699107646942, -0.2984299659729004, -0.08085256814956665, 0.08944268524646759, -0.24255384504795074, -0.00828574225306511, 0.6812209486961365, 0.03294875845313072, -0.18202155828475952, 0.052913565188646317, 0.3275960683822632, 0.33737874031066895, 0.23811644315719604, 0.34137704968452454, -0.09947822242975235, -0.1451774537563324, 0.2991349399089813, 0.3813445270061493, 0.2274656891822815, 0.18854501843452454, 0.2570321559906006, 0.043818313628435135, 0.08141034841537476, -0.02522643841803074, 0.012795394286513329, 0.35737210512161255, -0.11238620430231094, -0.18161527812480927, 0.1704360395669937, -0.22894814610481262, -0.30341339111328125, -0.18650512397289276, 0.004073470830917358, -0.3969044089317322, -0.15768519043922424, -0.12800613045692444, -0.3417704701423645, -0.04439300298690796, -0.23229998350143433, 0.009162865579128265, 0.2696186304092407, -0.17151625454425812, 0.5178313255310059, -0.0472901314496994, 0.1503351926803589, 0.14022618532180786, 0.33695870637893677, 0.3984237015247345, 0.15633010864257812, 0.00443287193775177, 0.08022452145814896, -0.12992613017559052, -0.15835760533809662, 0.3474884331226349, 0.22373373806476593, 0.1725008189678192, 0.17007334530353546, 0.18909595906734467, 0.17406345903873444, -0.23719483613967896, 0.13586987555027008, 0.08530087769031525, 0.12275320291519165, -0.090065598487854, -0.1243821308016777, -0.17534737288951874, -0.12323182821273804, -0.33040523529052734, -0.2157789170742035, -0.6702637672424316, 0.1711980104446411, 0.3632098138332367, -0.27268722653388977, 0.1655515432357788, -0.28210803866386414, 0.13630366325378418, 0.2209579199552536, 0.18054649233818054, 0.167657732963562, 0.2969282269477844, -0.2406773567199707, -0.3185555338859558, -0.6539776921272278, 0.08155345916748047, 0.14514440298080444, -0.06024381145834923, -0.25593310594558716, 0.0076568033546209335, 0.15063317120075226, 0.09860938787460327, -0.05093561112880707, -0.0029574132058769464, 0.06804277747869492, 0.10914997011423111, -0.27889078855514526, 0.008692719042301178, 0.25475114583969116, 0.0025503579527139664, 0.09523683041334152, -0.1399887502193451, 0.11560946702957153, 0.2603200078010559, 0.0953582301735878, -0.039353080093860626, 0.19351106882095337, 0.16809719800949097, 0.37841102480888367, 0.18310923874378204, 0.11879604309797287, 0.39921215176582336, -0.29035240411758423, -0.35942989587783813, -0.033950868993997574, -0.08825851231813431, -0.12426016479730606, 0.15757784247398376, 0.10175812244415283, 0.5015416145324707, 0.06851208955049515, -0.15852074325084686, -0.036823075264692307, 0.0427706241607666, 0.004858504980802536, -0.04150407388806343, -0.5656806230545044, 0.013804996386170387, 0.05819126218557358, 0.07265074551105499, 0.12115862965583801, 0.08030591905117035, 0.2212345153093338, 0.12639419734477997, -0.28192535042762756, -0.11593494564294815, 0.5088029503822327, -0.056704942137002945, -0.12348844110965729, 0.04723481461405754, 0.18132860958576202, -0.38069936633110046, 0.019899467006325722, -1.027774453163147, -0.05752043426036835, 0.49343422055244446, -0.031634047627449036, -0.04694078117609024, 0.2295961081981659, 0.019660940393805504, 0.10140751302242279, -0.16408087313175201, 0.6659716367721558, 0.13163501024246216, -0.22982612252235413, 0.012450233101844788, -0.33622950315475464 ]
https://github.com/huggingface/datasets/pull/2336
Fix overflow issue in interpolation search
~~Seems like the CI failure is unrelated to this PR~~ (fixed with the merge). @lhoestq Can you please verify that everything is OK in terms of speed? Another solution is to change the offsets array dtype to np.int64 (but this doesn't scale in theory compared to Python integer which is unbound). I'm not sure why on my 64-bit machine the default numpy dtype is np.int32 tho.
Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100).
66
text: Fix overflow issue in interpolation search Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100). ~~Seems like the CI failure is unrelated to this PR~~ (fixed with the merge). @lhoestq Can you please verify that everything is OK in terms of speed? Another solution is to change the offsets array dtype to np.int64 (but this doesn't scale in theory compared to Python integer which is unbound). I'm not sure why on my 64-bit machine the default numpy dtype is np.int32 tho.
[ -0.22881370782852173, -0.08009820431470871, -0.08980482816696167, -0.12350684404373169, 0.3095523715019226, -0.45425689220428467, -0.0021985843777656555, 0.2891862988471985, 0.12604351341724396, 0.2562102675437927, -0.0640006884932518, 0.07173159718513489, 0.05813860148191452, 0.5916448831558228, -0.6673417091369629, -0.12523619830608368, 0.040922582149505615, -0.00883118063211441, 0.0036846697330474854, 0.0822000652551651, -0.5236157178878784, 0.1564146727323532, -0.12315572798252106, -0.10810896754264832, 0.04486407712101936, 0.034935157746076584, 0.1337014138698578, 0.39933955669403076, -0.3406653106212616, -0.2998718023300171, 0.11836907267570496, -0.24537980556488037, -0.011620882898569107, 0.2675263285636902, -0.00010898279288085178, 0.006225176155567169, 0.3860967755317688, -0.01927856355905533, 0.01876647397875786, 0.09478895366191864, 0.4691865146160126, -0.38201427459716797, -0.1814635992050171, -0.24622514843940735, -0.330765038728714, 0.32532423734664917, -0.08748709410429001, -0.03683140501379967, 0.322958379983902, 0.2862021327018738, 0.24904754757881165, 0.4946225583553314, 0.16706612706184387, 0.1143178716301918, -0.02047986537218094, -0.24355928599834442, -0.20347712934017181, 0.10237085819244385, 0.49178534746170044, 0.20932364463806152, 0.047867193818092346, 0.24124282598495483, -0.14233170449733734, -0.13975386321544647, 0.25441768765449524, -0.24166546761989594, 0.4677633047103882, -0.2558518350124359, -0.1659272015094757, 0.0022919438779354095, -0.1714518666267395, 0.43654125928878784, -0.08402411639690399, 0.09307258576154709, -0.29873189330101013, -0.39440083503723145, 0.4856359362602234, -0.24955803155899048, -0.24731135368347168, -0.06233375146985054, -0.4078306555747986, 0.047395069152116776, 0.05787748098373413, 0.19586023688316345, -0.08954322338104248, 0.38616642355918884, 0.08910807222127914, 0.04914084076881409, 0.43308180570602417, -0.26529401540756226, 0.05294965207576752, 0.2914614975452423, 0.240010604262352, 0.10200855135917664, -0.38492998480796814, -0.24354371428489685, 0.18466103076934814, 0.13647738099098206, -0.14160585403442383, 0.04157793149352074, -0.12146909534931183, 0.19940510392189026, 0.1914692372083664, -0.17648524045944214, 0.2723943889141083, 0.17402876913547516, -0.4651263952255249, 0.16590438783168793, 0.38181382417678833, 0.12971046566963196, 0.04007066413760185, 0.1352389007806778, 0.08951056003570557, -0.35283538699150085, -0.42861950397491455, -0.06537894159555435, 0.03185487911105156, -0.06371341645717621, -0.3258821666240692, 0.27420321106910706, -0.1111845076084137, 0.06962157785892487, 0.3189079165458679, 0.12249578535556793, 0.2212413251399994, 0.12981653213500977, 0.3583359122276306, -0.0892835259437561, -0.3080920875072479, -0.02301618456840515, -0.138102188706398, -0.08836394548416138, -0.13198848068714142, -0.21449364721775055, -0.02033298835158348, -0.3093767762184143, 0.12186259776353836, 0.1073647066950798, 0.5629095435142517, -0.15796124935150146, -0.1220306009054184, -0.11286771297454834, 0.45081353187561035, 0.16126252710819244, -0.03668167442083359, -0.3824906349182129, 0.07687625288963318, -0.06540988385677338, -0.009840384125709534, 0.2640397846698761, -0.21917858719825745, -0.2524245083332062, -0.4830573797225952, 0.1750868707895279, -0.1524837166070938, 0.33432260155677795, 0.681343674659729, -0.0008406788110733032, 0.1942933201789856, -0.19229738414287567, 0.06558702886104584, -0.2698809504508972, -0.1916482150554657, -0.19822444021701813, 0.27132800221443176, 0.12329506874084473, 0.09993162751197815, 0.10006272792816162, -0.01701139658689499, 0.4565601944923401, 0.47679534554481506, 0.6175010800361633, 0.019601738080382347, -0.21141773462295532, -0.3980000913143158, -0.005894884467124939, 0.17958976328372955, -0.24674421548843384, -0.03514750301837921, 0.13662827014923096, -0.3035147786140442, -0.25255975127220154, -0.12611672282218933, 0.337411493062973, 0.17307108640670776, -0.07451354712247849, -0.011504516005516052, 0.5033612251281738, -0.18040120601654053, 0.23024389147758484, -0.6247805953025818, -0.09599761664867401, -0.23157165944576263, 0.11336706578731537, -0.018198300153017044, -0.11527619510889053, -0.0792524442076683, -0.31180644035339355, -0.019437111914157867, -0.06942640244960785, -0.16999666392803192, 0.21253883838653564, 0.28165456652641296, -0.057321012020111084, 0.04611334949731827, 0.13842365145683289, 0.4256514310836792, 0.021024294197559357, -0.1610797941684723, 0.3811901807785034, 0.4632485508918762, -0.06619442999362946, -0.3988194167613983, -0.09918282926082611, 0.13186398148536682, 0.03084007278084755, 0.1258118599653244, -0.17798259854316711, 0.20449982583522797, -0.18772561848163605, 0.10695217549800873, 0.07820427417755127, -0.3509906828403473, -0.10078839957714081, -0.27954015135765076, 0.40641334652900696, -0.34047842025756836, -0.2844502329826355, -0.29088377952575684, 0.28175631165504456, 0.11463335901498795, -0.031583547592163086, -0.2479856014251709, 0.3799898624420166, -0.38380131125450134, -0.22499553859233856, -0.2723626494407654, 0.15391144156455994, 0.12888087332248688, -0.32232633233070374, 0.1862301528453827, 0.07316771149635315, -0.061385974287986755, -0.15725362300872803, 0.1304498314857483, 0.5321366190910339, -0.45354005694389343, 0.14769324660301208, 0.06511671841144562, 0.06745261698961258, 0.3774392306804657, -0.10893961787223816, -0.14138002693653107, -0.2569873332977295, 0.21069684624671936, 0.1657237857580185, -0.10665294528007507, 0.1450866460800171, -0.12245680391788483, 0.020732417702674866, 0.15071426331996918, 0.181240051984787, -0.15416061878204346, 0.13512304425239563, 0.15206418931484222, -0.18040913343429565, -0.20787698030471802, -0.1670338660478592, 0.363237202167511, 0.10724733024835587, 0.045723967254161835, 0.04042372480034828, -0.036858562380075455, -0.1741495430469513, 0.2971995770931244, 0.17830613255500793, 0.06705775111913681, 0.20982316136360168, 0.18042147159576416, 0.18006817996501923, -0.17067736387252808, 0.0860380232334137, -0.20059622824192047, 0.005296476185321808, -0.11924226582050323, 0.050327546894550323, 0.19288980960845947, -0.5618998408317566, -0.047866180539131165, 0.007347500417381525, -0.028145108371973038, -0.4107191562652588, 0.07300017774105072, 0.16798342764377594, -0.39595773816108704, 0.2006964087486267, -0.05202602967619896, 0.34102192521095276, 0.20232349634170532, 0.013093363493680954, -0.14141890406608582, 0.03707736358046532, -0.11629081517457962, 0.024384774267673492, 0.2446080595254898, -0.0268135666847229, 0.17464637756347656, -0.1221097782254219, -0.01115763932466507, -0.0685349851846695, -0.6993494033813477, -0.03264585882425308, 0.1732117384672165, 0.2542553246021271, 0.22816862165927887, 0.11287909001111984, -0.37970638275146484, -0.403201162815094, 0.13328249752521515, -0.43833649158477783, -0.21362197399139404, 0.009424272924661636, 0.11696671694517136, 0.11949247121810913, -0.31495729088783264, -0.005843035876750946, -0.2076576203107834, -0.5495656132698059, -0.15172871947288513, 0.08617284893989563, -0.07709096372127533, 0.10185770690441132, -0.053119659423828125, -0.17750748991966248, 0.13371534645557404, -0.1636115163564682, -0.45640692114830017, 0.07199214398860931, 0.20069602131843567, -0.0035838366020470858, -0.15414206683635712, -0.021437961608171463, -0.14007139205932617, -0.010405421257019043, -0.1681862771511078, -0.018963955342769623, -0.04075247794389725, -0.3521032929420471, 0.43745341897010803, -0.08572590351104736, 0.18837949633598328, 0.16104593873023987, -0.05592293664813042, -0.22742612659931183, -0.006779570132493973, -0.15477851033210754, 0.07646019756793976, 0.3409087657928467, 0.28417158126831055, 0.042782243341207504, 0.34950903058052063, -0.010891027748584747, 0.27047938108444214, 0.3649544417858124, -0.42181602120399475, 0.31529611349105835, 0.4034007489681244, 0.2788439691066742, -0.14921268820762634, -0.18361397087574005, 0.40026161074638367, 0.13574492931365967, -0.3256615400314331, 0.19036254286766052, -0.04609542340040207, -0.20503219962120056, -0.134787917137146, 0.1877419352531433, -0.00807255133986473, -0.19048520922660828, 0.21043889224529266, 0.2769525647163391, 0.08629775047302246, -0.0016349311918020248, 0.10436276346445084, -0.23745062947273254, -0.18183505535125732, -0.11169567704200745, -0.16635461151599884, 0.07442600280046463, -0.2559361159801483, 0.3163594603538513, -0.3905148208141327, -0.4333230257034302, 0.2937769889831543, 0.18420176208019257, 0.2673918902873993, 0.1006670743227005, -0.4279344379901886, -0.050216853618621826, 0.040452033281326294, 0.2095021903514862, 0.04164773225784302, -0.25895053148269653, 0.10659994184970856, 0.14060519635677338, 0.09680526703596115, -0.2379566729068756, -0.14176885783672333, 0.2645709812641144, 0.8667750954627991, 0.5094345211982727, 0.041603751480579376, 0.04399154707789421, 0.738129734992981, -0.0940045565366745, 0.10870848596096039, -0.08156520873308182, -0.2277308851480484, -0.5855631232261658, 0.14023110270500183, 0.36432909965515137, 0.3775840103626251, 0.16082632541656494, -0.24684087932109833, -0.15885622799396515, -0.0031743068248033524, 0.1653699278831482, -0.191597118973732, -0.0249004028737545, 0.3167155385017395, -0.07906059920787811, 0.1758289486169815, -0.11089591681957245, -0.011505849659442902, 0.035479024052619934, 0.4200016260147095, 0.042270660400390625, 0.10459017008543015, 0.027967561036348343, 0.030735794454813004, -0.1925238072872162, 0.37668487429618835, 0.2512454092502594, -0.23244747519493103, -0.04756645858287811, 0.30956190824508667, -0.05928190425038338, -0.0077276104129850864, -0.21214278042316437, 0.24111786484718323, 0.19348858296871185, 0.46655166149139404, 0.1604415476322174, 0.25912532210350037, 0.0882173627614975, 0.1740231215953827, -0.2274014800786972, 0.03610045462846756, 0.4060899615287781, 0.4624730050563812, 0.9086765050888062, -0.058519430458545685, -0.09765984117984772, 0.1726466715335846, 0.023825235664844513, 0.33753591775894165, 0.18127679824829102, 0.06852169334888458, -0.16113880276679993, -0.5128140449523926, 0.2231602817773819, -0.07640761137008667, -0.10295314341783524, -0.23816139996051788, -0.47315025329589844, 0.0655214712023735, 0.10879620909690857, 0.07234341651201248, -0.14392437040805817, -0.0426197275519371, 0.046550266444683075, 0.028102420270442963, 0.014361931011080742, 0.05615391582250595, -0.0554414764046669, 0.27585533261299133, -0.06351092457771301, -0.2053040713071823, 0.15596650540828705, 0.0016575418412685394, -0.34198570251464844, -0.015511060133576393, -0.10239960998296738, 0.11740268766880035, 0.029314108192920685, 0.00034900009632110596, 0.14613181352615356, -0.08353555202484131, 0.6064863204956055, 0.10342860966920853, -0.07106621563434601, 0.10978429019451141, 0.660812258720398, 0.0583975724875927, 0.3801339566707611, -0.045529309660196304, 0.13859041035175323, -0.12942388653755188, -0.03505580127239227, 0.005449414253234863, -0.08567335456609726, -0.32381659746170044, -0.1904308944940567, 0.1266240030527115, -0.2674914002418518, -0.13495326042175293, 0.035340648144483566, -0.1689983308315277, -0.24717099964618683, -0.3573557436466217, 0.1670457273721695, 0.002767235040664673, 0.01068605575710535, 0.1995086967945099, 0.130141481757164, -0.5219733715057373, -0.009474150836467743, 0.23281535506248474, 0.1782759130001068, -0.5452392101287842, 0.060758791863918304, 0.10858331620693207, -0.3452374339103699, 0.048709720373153687, 0.024156399071216583, -0.40376752614974976, 0.036537885665893555, 0.39800670742988586, -0.03163156285881996, -0.2696356773376465, 0.1956241875886917, 0.2132527381181717, 0.21083082258701324, 0.14604651927947998, -0.4153074324131012, -0.04026469960808754, -0.45323875546455383, 0.12622812390327454, -0.06251159310340881, 0.18726418912410736, -0.19427365064620972, -0.013472534716129303, -0.18424855172634125, -0.3011058270931244, -0.3190680146217346, -0.21838971972465515, -0.6339895129203796, -0.04810349643230438, -0.03716820478439331, -0.3316120505332947, -0.33131858706474304, 0.04836836829781532, 0.039719074964523315, 0.0779193714261055, -0.10029212385416031, -0.1413310170173645, 0.38131949305534363, 0.09518075734376907, -0.11544112116098404, -0.487151175737381, 0.08434748649597168, -0.22345151007175446, -0.11649385094642639, -0.13393817842006683, -0.184596985578537, 0.020418543368577957, -0.044329941272735596, -0.30397671461105347, -0.26626211404800415, -0.0005038902163505554, 0.2920105457305908, 0.15736033022403717, 0.06758628785610199, 0.4536445140838623, -0.14607684314250946, 0.3557923436164856, 0.09101994335651398, -0.21087948977947235, 0.06784156709909439, 0.06468947231769562, -0.020825184881687164, 0.16917335987091064, 0.11681744456291199, -0.02347324788570404, -0.4900686740875244, 0.43971577286720276, 0.16299627721309662, 0.43998026847839355, -0.27524158358573914, -0.27272701263427734, 0.03940293937921524, 0.2436678409576416, -0.29611092805862427, -0.13082166016101837, 0.06080327928066254, 0.13605967164039612, 0.19884885847568512, 0.33317726850509644, 0.2703103721141815, -0.046921391040086746, 0.1752782166004181, 0.24823102355003357, 0.09745126962661743, -0.22126635909080505, 0.10944445431232452, 0.2689478397369385, 0.20666997134685516, -0.2409905344247818, 0.1578148752450943, -0.3654639422893524, 0.298598974943161, 0.29191040992736816, -0.11635326594114304, 0.2826564311981201, -0.07216227799654007, 0.32329845428466797, -0.1684841811656952, -0.06532616913318634, 0.09386239945888519, 0.2668116092681885, -0.3439699709415436, 0.29042932391166687, 0.32800447940826416, -0.06429412215948105, -0.5347079038619995, -0.2777281403541565, -0.4539487361907959, 0.26761823892593384, -0.34306514263153076, 0.11300700902938843, -0.3282514214515686, -0.06770040839910507, -0.26660415530204773, 0.10308104753494263, 0.06993767619132996, 0.516153872013092, 0.33544790744781494, 0.11868658661842346, -0.09515900909900665, -0.036016009747982025, -0.09983610361814499, -0.041069939732551575, 0.34756115078926086, -0.3174970746040344, 0.29940783977508545, 0.34928983449935913, -0.03603958338499069, 0.05294829607009888, 0.33877456188201904, 0.5665073394775391, 0.37493038177490234, -0.18008437752723694, 0.0008255839347839355, -0.1129828691482544, -0.16037942469120026, -0.2918182909488678, 0.10778236389160156, -0.04363842308521271, 0.000698525458574295, 0.10031372308731079, 0.08738549798727036, -0.24813608825206757, -0.03672950342297554, -0.2920754551887512, 0.4546785354614258, 0.052747972309589386, -0.07928546518087387, 0.13260281085968018, -0.06513973325490952, 0.05156999081373215, -0.15854665637016296, -0.040777385234832764, 0.03019777685403824, -0.042347174137830734, 0.05419487506151199, 0.10124021023511887, 0.21686868369579315, 0.11246444284915924, -0.04749521240592003, 0.21051646769046783, 0.4753088057041168, 0.009151894599199295, -0.1923804134130478, -0.27372807264328003, -0.08748584985733032, 0.12069276720285416, 0.05234087258577347, -0.23732081055641174, 0.295744389295578, 0.36196351051330566, -0.08399618417024612, -0.027399741113185883, 0.31331777572631836, -0.16235727071762085, 0.45190802216529846, 0.12384124100208282, -0.263882040977478, 0.04009651020169258, -0.12058226764202118, -0.34661877155303955, 0.15754695236682892, -0.3663654029369354, 0.1322161704301834, 0.07212831825017929, 0.1557246446609497, 0.0012143440544605255, -0.16116344928741455, 0.250907838344574, 0.3532276451587677, 0.07686396688222885, 0.23318755626678467, -0.05674618482589722, -0.1124194860458374, 0.06347551941871643, 0.04226207733154297, -0.1077403798699379, -0.16656498610973358, 0.26203233003616333, 0.024094589054584503, -0.011792613193392754, -0.18046638369560242, 0.03575149178504944, -0.21325436234474182, -0.08095626533031464, -0.1243351399898529, -0.2382051646709442, -0.08025184273719788, -0.04227739945054054, -0.20613467693328857, 0.23480528593063354, 0.11292342841625214, 0.2669568955898285, 0.13335853815078735, 0.10852307081222534, -0.26660916209220886, -0.5899724960327148, 0.4413888454437256, 0.4191288352012634, 0.030673447996377945, -0.31104156374931335, 0.05890341103076935, -0.0710606649518013, 0.23983938992023468, -0.289910227060318, -0.14787454903125763, -0.08827054500579834, 0.23878365755081177, -0.20771710574626923, 0.06728158891201019, -0.09487515687942505, -0.06577194482088089, -0.16821147501468658, 0.09140560775995255, 0.11545766890048981, 0.08007790893316269, -0.0020642876625061035, 0.10588102042675018 ]
https://github.com/huggingface/datasets/pull/2336
Fix overflow issue in interpolation search
Hi ! Thanks for the fix. Unfortunately in terms of speed this is not acceptable :/ The `get_batch_of_1024_random_rows` metric or the `benchmark_getitem_100B ` benchmark is almost at 1sec instead of a few milliseconds. Would it be possible to avoid the overflow by simply passing `dtype=np.int64` to `np.cumsum` ? On windows machines the default is int32 unfortunately so we have to force the dtype to be int64
Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100).
66
text: Fix overflow issue in interpolation search Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100). Hi ! Thanks for the fix. Unfortunately in terms of speed this is not acceptable :/ The `get_batch_of_1024_random_rows` metric or the `benchmark_getitem_100B ` benchmark is almost at 1sec instead of a few milliseconds. Would it be possible to avoid the overflow by simply passing `dtype=np.int64` to `np.cumsum` ? On windows machines the default is int32 unfortunately so we have to force the dtype to be int64
[ -0.2645784020423889, -0.2300497591495514, -0.08033114671707153, 0.04754628986120224, 0.5156000852584839, -0.3260527551174164, -0.14714521169662476, 0.38444429636001587, 0.27972131967544556, 0.465171217918396, 0.30195173621177673, 0.1181127279996872, -0.020577844232320786, 0.4768117070198059, -0.39624249935150146, -0.16795644164085388, -0.07880377024412155, -0.1498907208442688, -0.031578198075294495, 0.13356150686740875, -0.47122302651405334, -0.16882117092609406, 0.0455145463347435, -0.19092972576618195, 0.13541992008686066, 0.10006820410490036, 0.39602190256118774, 0.20169296860694885, -0.24600054323673248, -0.3142247498035431, 0.20201410353183746, -0.2722640335559845, 0.266032874584198, 0.18804500997066498, -0.0001230138586834073, 0.03166011720895767, 0.44975125789642334, -0.11622729152441025, 0.15355630218982697, 0.29787594079971313, 0.4293915033340454, -0.35325029492378235, -0.17446497082710266, -0.35812264680862427, -0.19141992926597595, 0.14060188829898834, -0.07131964713335037, -0.3051324486732483, 0.0044872090220451355, 0.22474324703216553, 0.10762033611536026, 0.38066062331199646, 0.08489903807640076, 0.3222413957118988, 0.19573260843753815, -0.5137112736701965, -0.15072982013225555, 0.40087658166885376, 0.5921764373779297, 0.25960591435432434, -0.056584037840366364, 0.09944644570350647, -0.20552398264408112, -0.04291015490889549, 0.4391990900039673, -0.16605736315250397, 0.8875572681427002, -0.08018665760755539, -0.32666417956352234, 0.13410165905952454, -0.004382267594337463, 0.23922744393348694, -0.31684479117393494, 0.125810444355011, -0.041157789528369904, -0.5882285833358765, 0.3786487281322479, -0.2495495080947876, -0.27836868166923523, -0.1430596262216568, -0.40679287910461426, -0.1644066423177719, -0.08554631471633911, -0.016176074743270874, -0.026064623147249222, 0.24569469690322876, 0.2124190330505371, 0.02669268473982811, 0.43677905201911926, -0.17472337186336517, 0.21214419603347778, 0.2906118333339691, 0.2578536570072174, -0.08379189670085907, -0.24866293370723724, -0.4201637804508209, 0.11712943017482758, 0.08486944437026978, 0.09586557000875473, -0.04807525873184204, -0.08938735723495483, 0.08353592455387115, 0.1390472650527954, -0.35431623458862305, 0.18027937412261963, 0.06313169002532959, -0.3181031048297882, -0.01781076192855835, 0.256227970123291, -0.005831345450133085, 0.11740940809249878, 0.1582040786743164, 0.18636982142925262, -0.2534317970275879, -0.3088773787021637, 0.1776084303855896, 0.017745912075042725, -0.028189532458782196, -0.4516104459762573, 0.21844947338104248, -0.10961873829364777, 0.08056185394525528, 0.4446684420108795, 0.06407653540372849, 0.15887406468391418, 0.04671887680888176, 0.1535843312740326, 0.013041496276855469, -0.3005335330963135, -0.3983001410961151, -0.07974362373352051, -0.10093198716640472, -0.09539401531219482, -0.0453360378742218, 0.11615195870399475, -0.3034428656101227, -0.03392954170703888, 0.029062189161777496, 0.289527028799057, -0.10471335798501968, -0.02834971249103546, -0.26597800850868225, 0.3679931163787842, 0.03855431079864502, -0.07199490070343018, -0.28102248907089233, 0.05251287668943405, 0.026517391204833984, -0.18676485121250153, 0.667988121509552, -0.23193740844726562, -0.22359298169612885, -0.48092663288116455, 0.07966887205839157, -0.09404771775007248, 0.13159984350204468, 0.5633761286735535, 0.023713020607829094, 0.16594961285591125, -0.20843391120433807, 0.25312092900276184, -0.1786327064037323, -0.2968120574951172, -0.1789615899324417, 0.09924960881471634, -0.045915231108665466, -0.3501584827899933, 0.0421903133392334, 0.04574889689683914, 0.3150789737701416, 0.6052442193031311, 0.5356879234313965, 0.04904349148273468, -0.033404938876628876, -0.2769332528114319, 0.13360345363616943, -0.07703090459108353, -0.296235054731369, -0.3488447368144989, -0.07384905964136124, -0.30551135540008545, -0.17846332490444183, 0.034684158861637115, 0.4515993595123291, 0.1606058031320572, -0.14533010125160217, 0.14319461584091187, 0.6070337891578674, -0.15169472992420197, 0.26593461632728577, -0.45226767659187317, -0.15675848722457886, 0.24290649592876434, -0.08482778072357178, -0.10685792565345764, -0.0895194336771965, -0.2375182807445526, -0.21659843623638153, 0.06619292497634888, -0.05419842526316643, -0.25468069314956665, -0.032431624829769135, 0.3479013741016388, 0.14373737573623657, -0.12066670507192612, 0.0322013720870018, 0.18709102272987366, -0.05354885756969452, -0.12275750190019608, 0.09563501179218292, 0.3356139361858368, -0.36146581172943115, -0.16259679198265076, -0.14701318740844727, 0.3742963373661041, 0.36048275232315063, 0.0023100189864635468, -0.14819402992725372, 0.09458790719509125, -0.13847757875919342, 0.17287635803222656, -0.2498895227909088, -0.4747970998287201, -0.0858536809682846, -0.033185768872499466, 0.38352757692337036, 0.05064258724451065, -0.39180243015289307, -0.3169362545013428, 0.14142751693725586, 0.14228606224060059, -0.06956024467945099, -0.17566612362861633, 0.3507304787635803, -0.36428946256637573, -0.22558997571468353, -0.23497051000595093, 0.276061475276947, 0.14500492811203003, -0.4397907257080078, 0.0472102090716362, 0.13276612758636475, -0.0855313390493393, -0.04290784150362015, 0.17278772592544556, 0.47682124376296997, -0.3729158937931061, 0.18634891510009766, -0.0034284554421901703, -0.021025607362389565, 0.27492284774780273, -0.053356654942035675, -0.08285288512706757, -0.21349257230758667, 0.14105224609375, 0.22769984602928162, -0.17283159494400024, -0.11615467071533203, -0.07241129875183105, 0.01215401291847229, 0.20860975980758667, 0.0879010260105133, 0.11855841428041458, 0.04658852517604828, 0.18096952140331268, -0.05738243833184242, -0.11785888671875, -0.3632946312427521, 0.4106931686401367, 0.13737547397613525, -0.049281854182481766, -0.1370425522327423, -0.05703981965780258, -0.05207341909408569, 0.26478731632232666, 0.2116437703371048, 0.016266783699393272, 0.13025447726249695, -0.03178316354751587, 0.11281441152095795, -0.09072408825159073, 0.11068901419639587, -0.011124026961624622, -0.07322251796722412, -0.28904175758361816, -0.16118204593658447, -0.06607312709093094, -0.7146193981170654, 0.09538868814706802, -0.08754400163888931, -0.10305660963058472, -0.2290218472480774, 0.07834385335445404, 0.09771272540092468, -0.3833331763744354, 0.02704673446714878, -0.08679559826850891, 0.5765461921691895, 0.3871193826198578, -0.2172580510377884, -0.12186809629201889, 0.08377180248498917, -0.01777726411819458, -0.09379793703556061, 0.3084474802017212, -0.025535261258482933, 0.3645864725112915, -0.032070837914943695, -0.04512345418334007, -0.25059249997138977, -0.365985631942749, -0.043552398681640625, 0.2558280825614929, 0.48619869351387024, 0.15592551231384277, 0.4088876247406006, -0.3336324095726013, -0.1923455446958542, -0.14523768424987793, -0.38042253255844116, -0.1216040775179863, -0.20534712076187134, 0.15622225403785706, 0.5387400388717651, -0.12225699424743652, 0.08037963509559631, -0.0641745775938034, -0.4258350431919098, -0.22198976576328278, -0.1305573284626007, 0.0046502575278282166, -0.04066091030836105, -0.07028968632221222, 0.07549061626195908, 0.19862794876098633, -0.19350047409534454, -0.3916071653366089, 0.15607613325119019, 0.1678776890039444, -0.08681328594684601, -0.03511043265461922, -0.18143978714942932, -0.02249617874622345, -0.147970512509346, -0.019723916426301003, -0.15866270661354065, 0.08509135991334915, -0.4065060317516327, 0.591766893863678, -0.290667861700058, 0.10055903345346451, 0.2253720909357071, -0.21697770059108734, -0.11228742450475693, -0.0650317370891571, -0.11886775493621826, 0.05487661436200142, 0.16207203269004822, 0.2709149122238159, 0.26112890243530273, 0.4055497348308563, 0.16716043651103973, 0.3688187003135681, 0.26493343710899353, -0.2985664904117584, 0.3228283226490021, 0.32862308621406555, 0.12446935474872589, -0.04509372264146805, 0.014587940648198128, 0.11624231934547424, 0.21343165636062622, -0.2349991500377655, 0.06602491438388824, -0.23966407775878906, 0.0906250923871994, 0.09569905698299408, -0.02464521862566471, 0.06569141149520874, -0.2691643238067627, 0.20494358241558075, 0.26401668787002563, 0.06336366385221481, -0.07864312082529068, 0.16786399483680725, -0.12618394196033478, -0.36280307173728943, 0.17796076834201813, -0.13593319058418274, 0.2945524752140045, -0.03968171775341034, 0.2861143946647644, -0.39952948689460754, -0.4747042655944824, 0.25751760601997375, 0.24332651495933533, 0.3433457612991333, 0.11994321644306183, -0.2214479148387909, -0.12381865084171295, 0.1342400312423706, 0.3659316301345825, 0.06210814416408539, 0.14578434824943542, -0.13153448700904846, 0.2910242974758148, 0.12718497216701508, -0.14528799057006836, -0.24636515974998474, 0.408890962600708, 0.7244200706481934, 0.31451982259750366, -0.09195107221603394, 0.18672701716423035, 0.6658155918121338, 0.007446678355336189, -0.024328244850039482, -0.18764176964759827, -0.10539399087429047, -0.454038143157959, 0.34001752734184265, 0.5622831583023071, 0.6280275583267212, 0.5086610913276672, -0.33269262313842773, -0.19640284776687622, -0.19163575768470764, 0.1628756821155548, 0.04385673254728317, -0.4753262996673584, 0.45748311281204224, 0.04296069219708443, 0.1498703956604004, -0.06452973932027817, -0.0320521742105484, -0.09538540244102478, 0.31156647205352783, 0.07509548962116241, 0.024607442319393158, 0.1598554253578186, -0.13326139748096466, 0.026182860136032104, 0.509705662727356, 0.16902023553848267, -0.05020054429769516, -0.11088982224464417, 0.174276202917099, -0.26339611411094666, 0.009873805567622185, -0.22039417922496796, 0.23937572538852692, 0.17929767072200775, 0.2652060091495514, 0.3863506615161896, 0.3791377544403076, 0.23417584598064423, 0.12289242446422577, 0.25000059604644775, -0.2314441204071045, 0.2400977462530136, 0.6252855062484741, 0.9342296123504639, -0.13749051094055176, 0.029260052368044853, 0.06439624726772308, 0.38644444942474365, 0.3114449977874756, 0.22362975776195526, 0.09935526549816132, -0.15641780197620392, -0.7047895193099976, 0.20792019367218018, -0.13831958174705505, 0.011745955795049667, -0.24602825939655304, -0.45956867933273315, 0.13378997147083282, -0.01955854520201683, -0.4293235242366791, -0.03284569829702377, 0.02012471854686737, -0.09149844944477081, 0.03566896170377731, 0.2469109743833542, -0.06706862151622772, -0.016218110918998718, -0.009927559643983841, -0.026435546576976776, -0.07541389018297195, 0.38407102227211, -0.13834938406944275, -0.496227502822876, -0.31322360038757324, -0.32291287183761597, -0.06534384191036224, -0.09432817995548248, 0.14373737573623657, 0.15008601546287537, -0.18480853736400604, 0.30687272548675537, 0.2117471694946289, -0.09199473261833191, -0.056977760046720505, 0.5531378984451294, -0.016581591218709946, 0.454537570476532, 0.08490384370088577, 0.2441585510969162, -0.01723388396203518, -0.03045690804719925, 0.13710632920265198, 0.05372830480337143, -0.32210737466812134, -0.163795605301857, -0.1993401199579239, -0.2855856418609619, -0.27275124192237854, -0.10789868235588074, -0.3269098401069641, -0.06818944215774536, -0.1428707242012024, 0.04766632989048958, 0.11338231712579727, -0.024332422763109207, 0.19282981753349304, 0.1678161919116974, -0.5749843120574951, 0.07724680006504059, 0.2329738438129425, 0.2108224630355835, -0.5456057786941528, 0.08935877680778503, 0.14205852150917053, -0.37367624044418335, 0.0855548307299614, 0.049510225653648376, -0.2698833644390106, -0.0900052934885025, 0.3218946158885956, -0.2428778111934662, -0.02946077287197113, 0.05994481220841408, 0.1127319484949112, 0.17258940637111664, 0.16300664842128754, -0.45199787616729736, -0.04979700595140457, -0.19937752187252045, 0.3361091613769531, 0.0971742495894432, 0.23571768403053284, -0.2947814166545868, -0.11415793001651764, -0.24465228617191315, -0.39864251017570496, -0.20200055837631226, -0.18126235902309418, -0.24074150621891022, -0.07234106212854385, -0.32245194911956787, 0.03739459067583084, -0.38643118739128113, 0.07054178416728973, -0.07466806471347809, 0.3867555260658264, 0.11950715631246567, -0.08843807876110077, 0.11851811408996582, 0.17260855436325073, -0.12466170638799667, -0.28539419174194336, 0.21443895995616913, -0.3813958764076233, 0.009441801346838474, 0.07887361198663712, -0.19494885206222534, 0.16510292887687683, 0.012310527265071869, -0.08095648884773254, 0.09924352169036865, 0.2174169421195984, 0.28181105852127075, 0.33982688188552856, 0.21080444753170013, 0.6375971436500549, -0.23790524899959564, 0.5049115419387817, 0.03697631508111954, -0.02118891105055809, -0.00830694381147623, -0.16037064790725708, 0.2243407517671585, 0.06904540956020355, -0.10561878234148026, 0.026280030608177185, -0.3505391478538513, 0.4944537281990051, -0.03806569427251816, 0.46130579710006714, -0.6039364337921143, -0.28930309414863586, 0.16981655359268188, 0.18384280800819397, -0.1975773721933365, -0.13494747877120972, -0.23054306209087372, 0.10255907475948334, 0.022385690361261368, 0.4349667429924011, 0.07576267421245575, 0.022116854786872864, 0.06913654506206512, 0.07331870496273041, -0.19185955822467804, 0.09139231592416763, 0.005117425229400396, 0.315032958984375, 0.09454478323459625, -0.43855807185173035, 0.13691815733909607, -0.16773536801338196, 0.1993950754404068, 0.3514307737350464, 0.04653555527329445, 0.08483243733644485, -0.2641177773475647, 0.219071164727211, -0.3974245488643646, -0.03391885384917259, -0.07365360856056213, 0.5278342962265015, -0.4904909133911133, 0.4469805061817169, 0.24047698080539703, 0.16446736454963684, -0.3673734664916992, -0.13373377919197083, -0.3378892242908478, -0.025593172758817673, -0.3076058030128479, -0.05201563984155655, -0.2400776892900467, 0.017323628067970276, -0.4336400628089905, 0.23465800285339355, -0.06087322160601616, 0.5219122767448425, -0.06324629485607147, 0.15967191755771637, -0.03696063160896301, -0.03501646965742111, -0.13531839847564697, -0.09320951253175735, 0.27741923928260803, -0.3348187208175659, 0.03229759261012077, 0.14971435070037842, 0.09809387475252151, 0.028490688651800156, 0.40920525789260864, 0.19964483380317688, 0.36992135643959045, -0.304010272026062, -0.14252056181430817, -0.12398603558540344, 0.04314493387937546, -0.21185865998268127, 0.04549642652273178, 0.13523446023464203, -0.02703481912612915, 0.1524817943572998, -0.04919636249542236, -0.06630993634462357, 0.03896689414978027, -0.06707900762557983, 0.45283564925193787, 0.026694368571043015, 0.08558415621519089, 0.34708455204963684, 0.060889169573783875, 0.09042757749557495, -0.27852874994277954, -0.060826826840639114, 0.04346161708235741, 0.09616394340991974, -0.00008319830521941185, 0.0011116154491901398, 0.20482271909713745, 0.03835649788379669, -0.25660794973373413, 0.38788744807243347, 0.3586633801460266, 0.11357467621564865, -0.3174487352371216, -0.10084759443998337, -0.025950081646442413, 0.1802532970905304, 0.10226668417453766, -0.2849729359149933, 0.49034956097602844, 0.40921369194984436, -0.2667931616306305, 0.12380191683769226, 0.32717305421829224, -0.3159942328929901, 0.24051159620285034, 0.3368051052093506, -0.11287090182304382, -0.2918761074542999, -0.18334658443927765, -0.17788928747177124, 0.15487143397331238, -0.4657815098762512, 0.17305704951286316, 0.1695990115404129, -0.023648230358958244, -0.1796855479478836, -0.06980752944946289, 0.16613861918449402, 0.44257646799087524, 0.28522324562072754, 0.10592693090438843, 0.19421014189720154, -0.16610565781593323, 0.0817032903432846, 0.04648207128047943, -0.022745424881577492, -0.31457650661468506, 0.06555013358592987, 0.028523115441203117, -0.1484752893447876, -0.28751569986343384, 0.20688660442829132, -0.222281351685524, 0.06136811524629593, -0.15622997283935547, -0.15916703641414642, -0.27820083498954773, -0.05092315375804901, -0.1534373164176941, 0.029336534440517426, -0.04867340624332428, 0.12192770838737488, 0.09644070267677307, 0.31716635823249817, -0.24073444306850433, -0.35808998346328735, 0.5445232391357422, 0.22914248704910278, 0.24696345627307892, -0.3380388021469116, 0.25799551606178284, 0.23610106110572815, -0.011048754677176476, -0.47707507014274597, -0.22749853134155273, 0.012824070639908314, 0.335386723279953, -0.12658390402793884, 0.23186095058918, -0.15504591166973114, 0.04316823557019234, -0.2148641049861908, 0.32226330041885376, 0.06485314667224884, 0.11256170272827148, -0.08789794147014618, -0.18226122856140137 ]
https://github.com/huggingface/datasets/pull/2336
Fix overflow issue in interpolation search
Yes, casting the array to np.int64 should work as well. Another option would be to cast the array elements (`arr[i], arr[j]`) in interpolation search to Python integers (bound only with memory) before multiplication (the error stems from this part: `(j - i) * (x - arr[i])`) when working with big values. But for now, the first option is OK for the sake of simplicity.
Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100).
64
text: Fix overflow issue in interpolation search Fixes #2335 More info about this error can be found [here](https://stackoverflow.com/questions/53239890/why-do-i-keep-getting-this-error-runtimewarning-overflow-encountered-in-int-sc/53240100). Yes, casting the array to np.int64 should work as well. Another option would be to cast the array elements (`arr[i], arr[j]`) in interpolation search to Python integers (bound only with memory) before multiplication (the error stems from this part: `(j - i) * (x - arr[i])`) when working with big values. But for now, the first option is OK for the sake of simplicity.
[ -0.13803631067276, -0.18457090854644775, -0.1892290562391281, -0.1161862462759018, 0.5156382322311401, -0.352470725774765, 0.005076870322227478, 0.30444225668907166, 0.2234821766614914, 0.2670537829399109, -0.02070292830467224, 0.2175803780555725, -0.14709097146987915, 0.2748509645462036, -0.2534545958042145, -0.17987856268882751, -0.05630945414304733, -0.08385159075260162, -0.11215706169605255, 0.19121325016021729, -0.493106484413147, -0.007529741153120995, -0.002618037164211273, 0.04859913885593414, 0.05376628413796425, 0.01847168430685997, 0.3043082058429718, 0.1945226788520813, -0.21890603005886078, -0.3581418991088867, -0.07980143278837204, -0.3754804730415344, 0.17630654573440552, 0.022688157856464386, -0.00010181877587456256, 0.08781152963638306, 0.3794650435447693, -0.10077576339244843, 0.1016988456249237, 0.29972440004348755, 0.383504182100296, -0.32178300619125366, -0.19857020676136017, -0.3729841411113739, -0.14321503043174744, -0.0628107562661171, -0.11534860730171204, 0.004403948783874512, 0.23910370469093323, 0.18616801500320435, 0.28774064779281616, 0.30380570888519287, 0.4559984803199768, 0.21724510192871094, 0.1523098200559616, -0.4913485646247864, -0.11198735237121582, -0.020079482346773148, 0.4064304530620575, 0.4086845815181732, 0.10435325652360916, 0.252948522567749, -0.2840896248817444, -0.14042088389396667, 0.25688475370407104, -0.2515062689781189, 0.32187581062316895, -0.10816366970539093, -0.21764138340950012, 0.04778978228569031, -0.0856318399310112, 0.23677903413772583, -0.1232835128903389, 0.08282836526632309, -0.19924145936965942, -0.21481606364250183, 0.2923223674297333, -0.04086308181285858, -0.0961749255657196, -0.06283150613307953, -0.4113101661205292, -0.1139545738697052, 0.02173425257205963, 0.3433069586753845, -0.20657072961330414, 0.42063644528388977, -0.04250875487923622, 0.09386441111564636, 0.4882861077785492, -0.46110081672668457, -0.046280886977910995, 0.3790299892425537, 0.24149435758590698, 0.018502550199627876, -0.18099233508110046, -0.24598969519138336, 0.118670754134655, -0.12374412268400192, 0.06885889917612076, -0.18601395189762115, 0.08181820064783096, 0.29498550295829773, 0.008647116832435131, -0.026665404438972473, 0.14607390761375427, 0.04233158752322197, -0.4336993098258972, 0.09651407599449158, 0.2446763515472412, 0.01029272936284542, 0.031774695962667465, -0.013127796351909637, 0.1732477992773056, -0.22523345053195953, -0.2603924870491028, -0.07005219906568527, -0.016667267307639122, -0.07107877731323242, -0.172041118144989, 0.25227782130241394, -0.2015395164489746, 0.13329946994781494, 0.5275048613548279, 0.3057495951652527, 0.35804930329322815, 0.14065401256084442, 0.2515791058540344, 0.1445280760526657, -0.2044011503458023, -0.37019243836402893, -0.17710331082344055, 0.10229960083961487, -0.07239870727062225, -0.12979666888713837, -0.03135686367750168, 0.09142942726612091, 0.26163536310195923, -0.05096221715211868, 0.24252137541770935, -0.22001811861991882, 0.07567312568426132, -0.06902150809764862, 0.47816577553749084, 0.2104426473379135, -0.08680270612239838, -0.3940596878528595, -0.04739120975136757, 0.1678483486175537, -0.044620923697948456, 0.44539064168930054, -0.12268880754709244, -0.14417009055614471, -0.20571349561214447, 0.2524991035461426, -0.19251272082328796, 0.2591531574726105, 0.5768897533416748, -0.1417171210050583, 0.3693034052848816, -0.2715151309967041, 0.19530326128005981, -0.326147198677063, -0.1307384967803955, -0.2305261790752411, 0.16292311251163483, -0.16041336953639984, 0.06626337766647339, 0.15481898188591003, -0.16985438764095306, 0.4028435945510864, 0.3361583352088928, 0.4635046124458313, -0.04176860675215721, -0.18851110339164734, -0.23853404819965363, 0.3623923063278198, 0.005219250917434692, -0.016645343974232674, -0.0073919035494327545, -0.06696583330631256, -0.11180482804775238, -0.3604758679866791, -0.15785318613052368, 0.3606361150741577, -0.07025299221277237, -0.10441019386053085, -0.1460561603307724, 0.43642163276672363, -0.11298762261867523, 0.3358054757118225, -0.5233167409896851, -0.15960417687892914, 0.037548430263996124, 0.10377679765224457, 0.24269592761993408, -0.18916651606559753, -0.23118829727172852, 0.03734925761818886, -0.09150876849889755, -0.168185755610466, -0.06108630448579788, 0.07461051642894745, 0.3156436085700989, 0.025293055921792984, -0.048124611377716064, -0.1245589554309845, 0.4932810664176941, -0.045987069606781006, -0.18786658346652985, -0.0695636123418808, 0.2649984657764435, -0.18365637958049774, -0.33350053429603577, -0.0874260887503624, 0.22008612751960754, 0.2803349196910858, 0.1938266158103943, -0.18564251065254211, 0.32681554555892944, -0.16435912251472473, 0.14810757339000702, -0.20870038866996765, -0.37668487429618835, -0.19424696266651154, -0.288368821144104, 0.36448320746421814, -0.17115901410579681, -0.27873194217681885, -0.3187066912651062, 0.16510184109210968, 0.27010515332221985, 0.0358726792037487, -0.09822343289852142, 0.3129018545150757, -0.2774951457977295, -0.39808207750320435, -0.39530935883522034, 0.26619061827659607, 0.00996252242475748, -0.5027796030044556, 0.26166456937789917, 0.027560101822018623, 0.07161874324083328, 0.013691112399101257, 0.26561659574508667, 0.3874553442001343, -0.35185706615448, -0.034310124814510345, 0.007665090262889862, 0.06371404975652695, 0.31236740946769714, -0.12466549873352051, 0.0034112781286239624, -0.26137474179267883, -0.13070596754550934, -0.0335095077753067, 0.003096815198659897, 0.010195154696702957, -0.3039882183074951, 0.03426536172628403, 0.15451747179031372, 0.1327458918094635, 0.09693366289138794, 0.06736890971660614, 0.23382669687271118, -0.019756752997636795, -0.3027515411376953, -0.23612453043460846, 0.1267983466386795, 0.22892385721206665, -0.043937329202890396, -0.08377109467983246, 0.02227490395307541, -0.0903656929731369, 0.2612348794937134, 0.33073580265045166, 0.25305888056755066, 0.008104845881462097, 0.06095468997955322, -0.14833015203475952, -0.1170082837343216, 0.13989852368831635, -0.04202698543667793, 0.022013815119862556, -0.25594043731689453, -0.04790431261062622, 0.06445664167404175, -0.4244163930416107, -0.07983336597681046, -0.07995367795228958, -0.11656595766544342, -0.3159695863723755, 0.05159532278776169, 0.2054985761642456, -0.5416864156723022, -0.10585881024599075, -0.1233014166355133, 0.23106710612773895, 0.2183348387479782, 0.14920629560947418, -0.12873074412345886, 0.1323484182357788, 0.10684002935886383, 0.14443379640579224, 0.30166658759117126, 0.004046549554914236, 0.17374703288078308, 0.1720510870218277, -0.10967402160167694, -0.12868575751781464, -0.5388506054878235, -0.046873852610588074, 0.20033861696720123, 0.17799077928066254, 0.1561761498451233, 0.1440107524394989, -0.2949376106262207, -0.26403918862342834, 0.04710796847939491, -0.4725084602832794, -0.1382906287908554, 0.1738259494304657, 0.2411714792251587, 0.2760963439941406, -0.420210599899292, -0.02570900321006775, -0.13704080879688263, -0.5336552858352661, -0.21384401619434357, -0.04678526520729065, -0.09102091193199158, -0.0046502938494086266, 0.15461952984333038, 0.07669895142316818, 0.12343455851078033, -0.13516265153884888, -0.47281429171562195, 0.4452451467514038, 0.22248494625091553, -0.10188646614551544, -0.0729207992553711, -0.2395431399345398, -0.2531730532646179, -0.042842667549848557, -0.09185140579938889, -0.10881206393241882, 0.031289901584386826, -0.4852527379989624, 0.15760448575019836, -0.16236823797225952, -0.002746300771832466, 0.047412510961294174, -0.13916677236557007, -0.27742230892181396, -0.06454737484455109, 0.009852204471826553, 0.17697137594223022, 0.21329396963119507, 0.1245185062289238, 0.12021469324827194, 0.3200741708278656, 0.08682671189308167, 0.2487613409757614, 0.0018626619130373001, -0.2603106200695038, 0.45616334676742554, 0.3643605411052704, 0.11224044859409332, -0.22787296772003174, 0.03785448521375656, 0.13516731560230255, 0.15130886435508728, -0.39536958932876587, 0.039814822375774384, -0.12786370515823364, -0.19770246744155884, 0.08719973266124725, 0.042008157819509506, -0.12441945821046829, -0.19091510772705078, 0.18669317662715912, 0.6180830001831055, -0.007037200033664703, -0.08244901895523071, 0.08747125416994095, -0.1120452731847763, -0.25615301728248596, -0.19456861913204193, -0.4208158850669861, 0.08811779320240021, 0.0008418322540819645, 0.11523450911045074, -0.38207826018333435, -0.25307878851890564, 0.2570664882659912, 0.19680000841617584, 0.38989686965942383, 0.04568767920136452, -0.41811439394950867, -0.1337568312883377, -0.08120672404766083, 0.3278971314430237, 0.193863645195961, 0.03706834465265274, 0.021297641098499298, 0.1519671231508255, -0.03820730000734329, -0.2691469192504883, -0.237337127327919, 0.23244373500347137, 0.5403164625167847, 0.1538647711277008, -0.12974140048027039, 0.1938551515340805, 0.5064165592193604, 0.10706491023302078, 0.0005066320300102234, 0.021990858018398285, -0.19750308990478516, -0.6356739401817322, 0.192648783326149, 0.3548225462436676, 0.4957350790500641, 0.32707828283309937, -0.2049948126077652, -0.07215326279401779, -0.12670251727104187, 0.05051794648170471, -0.056344762444496155, -0.14128704369068146, 0.5237982273101807, 0.0025804154574871063, 0.15104730427265167, -0.15122361481189728, -0.19521641731262207, -0.09647002816200256, 0.31105029582977295, 0.2654166519641876, 0.36217206716537476, 0.02310161478817463, 0.01679455116391182, 0.0008803009986877441, 0.3059517741203308, 0.11343095451593399, -0.2257605791091919, 0.08601326495409012, 0.39195263385772705, -0.013871007598936558, 0.003839717712253332, -0.2841566801071167, 0.17370378971099854, 0.23205982148647308, 0.24101194739341736, 0.4319979250431061, 0.24084027111530304, 0.14666543900966644, 0.044009674340486526, 0.05485285073518753, -0.19728238880634308, 0.43867915868759155, 0.5231661796569824, 0.7403285503387451, -0.31941813230514526, -0.12241169810295105, 0.270939439535141, 0.20728705823421478, 0.2809447646141052, 0.1330527812242508, 0.0785638839006424, -0.2468419373035431, -0.30965328216552734, 0.3315809965133667, -0.08176615834236145, -0.13886839151382446, -0.06627479195594788, -0.3704911470413208, 0.037250272929668427, -0.025972802191972733, -0.20160385966300964, -0.09923919290304184, 0.06494845449924469, 0.08828724175691605, 0.033129870891571045, 0.0010751355439424515, 0.19002267718315125, -0.19431327283382416, -0.15093742311000824, 0.09849730879068375, -0.17922499775886536, 0.21235352754592896, -0.09702315181493759, -0.20071813464164734, -0.08872544765472412, 0.07168783992528915, 0.2890397906303406, 0.06337766349315643, 0.3030065894126892, 0.07729505002498627, 0.00013858824968338013, 0.25995779037475586, 0.1598774790763855, -0.08454453200101852, -0.00840504840016365, 0.36106935143470764, -0.11416678130626678, 0.2864835858345032, 0.2515130937099457, 0.2788035273551941, -0.060340967029333115, -0.09574207663536072, 0.06329801678657532, 0.12820856273174286, -0.23867188394069672, -0.2582835853099823, 0.10207092761993408, -0.23922450840473175, -0.3912138044834137, -0.2521072328090668, -0.02985471487045288, -0.3215729594230652, -0.20231641829013824, 0.19602970778942108, 0.08198290318250656, -0.1650228053331375, 0.17792972922325134, 0.31634071469306946, -0.3986453711986542, 0.11642476916313171, 0.20940211415290833, 0.16673117876052856, -0.1851438283920288, 0.07455621659755707, 0.13315345346927643, -0.32150423526763916, -0.023668501526117325, -0.059111129492521286, -0.4041585326194763, -0.018784232437610626, 0.4792740046977997, -0.07738238573074341, -0.23999270796775818, 0.10957733541727066, -0.15812021493911743, 0.055381570011377335, 0.09055381268262863, -0.27064648270606995, -0.027009055018424988, -0.36514386534690857, 0.25711727142333984, 0.2077924907207489, 0.20509733259677887, -0.08998744189739227, -0.12356418371200562, -0.37768933176994324, -0.3267628252506256, -0.39908021688461304, -0.10428034514188766, -0.5350143909454346, 0.04150516539812088, -0.47590357065200806, -0.31215018033981323, -0.4163319170475006, 0.04694529250264168, 0.11996139585971832, 0.22567860782146454, -0.20134317874908447, -0.2530876696109772, 0.2655450999736786, 0.040922507643699646, -0.04009687900543213, -0.47024574875831604, 0.053367551416158676, -0.25527313351631165, -0.056609172374010086, -0.09812237322330475, -0.11629414558410645, 0.16981187462806702, -0.04304501414299011, -0.011547992005944252, -0.1575181782245636, -0.13007909059524536, 0.3858557939529419, 0.19143423438072205, -0.032433442771434784, 0.41709399223327637, 0.020874902606010437, 0.515814483165741, 0.21983037889003754, -0.1017923504114151, 0.01061438862234354, -0.08707892149686813, -0.09745341539382935, -0.12015872448682785, 0.07785485684871674, -0.0914389044046402, -0.3800739347934723, 0.36549198627471924, 0.20659281313419342, 0.3143506646156311, -0.3916952908039093, -0.07338684797286987, 0.0964113175868988, 0.34120598435401917, -0.2898598611354828, -0.013241556473076344, 0.12946030497550964, 0.14047683775424957, 0.10527907311916351, 0.3452166020870209, 0.19692976772785187, -0.11110281944274902, 0.19573856890201569, 0.2557271420955658, 0.1882593333721161, 0.03034796193242073, 0.10160714387893677, 0.008150987327098846, -0.02045821025967598, -0.43178099393844604, 0.15750053524971008, -0.17469683289527893, 0.32982850074768066, 0.4184878468513489, -0.1919814944267273, 0.33303114771842957, -0.25161704421043396, 0.22529521584510803, -0.1212211325764656, -0.01947961188852787, -0.04829857125878334, 0.4466075599193573, -0.3064875900745392, 0.3955126702785492, -0.040111154317855835, 0.06810788810253143, -0.20512428879737854, -0.1805826872587204, -0.35616248846054077, 0.18177394568920135, -0.4437568783760071, 0.15166927874088287, -0.1608901023864746, -0.10478909313678741, -0.368007093667984, 0.16331948339939117, 0.1488519161939621, 0.10642930865287781, 0.2127906084060669, 0.16188646852970123, -0.11726386845111847, 0.06235416978597641, 0.14075538516044617, -0.014551281929016113, 0.21867778897285461, -0.4932917058467865, 0.07704601436853409, 0.46115756034851074, -0.06789103150367737, 0.25880900025367737, 0.19573454558849335, 0.37648099660873413, 0.43702393770217896, -0.18365570902824402, 0.08153333514928818, -0.11988304555416107, -0.12400471419095993, -0.322224885225296, 0.02015567198395729, 0.049571454524993896, 0.11011846363544464, 0.23345352709293365, 0.16355180740356445, -0.2520928382873535, -0.17422999441623688, -0.05873432382941246, 0.6082306504249573, 0.12944507598876953, -0.1604720950126648, 0.1577630341053009, -0.02198900654911995, -0.04513213038444519, -0.34742113947868347, -0.3394913077354431, 0.03387580066919327, 0.04439675435423851, -0.001527881482616067, 0.09583576768636703, 0.2495643049478531, 0.13713130354881287, -0.1514832079410553, 0.3649821877479553, 0.15356643497943878, -0.058852218091487885, -0.21175970137119293, -0.04069658741354942, -0.033163733780384064, 0.06726209819316864, -0.10599875450134277, -0.20781077444553375, 0.40752631425857544, 0.36102190613746643, -0.06422340124845505, -0.07179081439971924, 0.04098964482545853, 0.0135344248265028, 0.08385413140058517, 0.2991001009941101, -0.16481368243694305, 0.010993335396051407, -0.08798013627529144, -0.057807981967926025, 0.30287855863571167, -0.30727046728134155, 0.09423717856407166, -0.22080183029174805, 0.21133694052696228, -0.007258070632815361, 0.01672477275133133, 0.061587247997522354, 0.29915016889572144, 0.15295927226543427, 0.06983526796102524, 0.1569664627313614, -0.1623607873916626, 0.06174536049365997, 0.2402063012123108, -0.1656249314546585, -0.15764209628105164, 0.07574360817670822, 0.0076819658279418945, 0.17398127913475037, -0.18623168766498566, 0.18396589159965515, -0.20549079775810242, 0.07858820259571075, -0.23854325711727142, -0.06740064173936844, 0.0925200879573822, 0.007754102349281311, -0.30853524804115295, 0.060477372258901596, -0.0072895013727247715, 0.13620401918888092, 0.07806293666362762, 0.179949089884758, -0.25386640429496765, -0.6563299894332886, 0.5968279242515564, 0.2557317316532135, 0.06562264263629913, -0.21864333748817444, 0.11460975557565689, 0.16969653964042664, 0.03515283018350601, -0.47390204668045044, -0.01627403497695923, -0.05744563043117523, 0.14533232152462006, -0.06660333275794983, 0.046732839196920395, -0.11929702758789062, -0.1628475934267044, -0.1325903683900833, 0.006244674324989319, 0.16146793961524963, 0.02195674739778042, -0.1609608680009842, 0.029436670243740082 ]
https://github.com/huggingface/datasets/pull/2329
Add cache dir for in-memory datasets
@lhoestq Sorry for the late reply. Yes, I'll start working on tests. Thanks for the detailed explanation of the current issues with caching (like the idea of adding the `use_caching` parameter to `load_dataset`)
Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322
33
text: Add cache dir for in-memory datasets Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322 @lhoestq Sorry for the late reply. Yes, I'll start working on tests. Thanks for the detailed explanation of the current issues with caching (like the idea of adding the `use_caching` parameter to `load_dataset`)
[ -0.31690678000450134, 0.035230353474617004, -0.13470081984996796, 0.260311484336853, 0.2470695525407791, 0.06844107061624527, 0.26595595479011536, 0.42732852697372437, 0.1345411092042923, 0.14402729272842407, -0.0398881658911705, 0.11719521135091782, 0.06996781378984451, -0.015297089703381062, -0.0052444180473685265, 0.2090144008398056, 0.0164453387260437, -0.0026630237698554993, -0.29842761158943176, 0.07752765715122223, -0.2616521716117859, 0.03244782239198685, -0.130409836769104, -0.2645893096923828, -0.29775795340538025, -0.05450763553380966, 0.010064737871289253, 0.315014511346817, -0.07608117908239365, -0.34043368697166443, 0.299612432718277, 0.13424091041088104, -0.00814701709896326, 0.2163172960281372, -0.00009387676254846156, 0.08164580166339874, 0.31683534383773804, -0.07587572187185287, -0.2254805862903595, 0.2773071527481079, -0.31448259949684143, -0.0073453267104923725, -0.02653248980641365, -0.18293502926826477, -0.05459308624267578, 0.21888543665409088, 0.04691147059202194, -0.49963903427124023, 0.09793965518474579, 0.22947268187999725, 0.4433755576610565, 0.07603827863931656, -0.24443167448043823, -0.21316802501678467, 0.10953351110219955, 0.03990444913506508, -0.2304953634738922, -0.088067427277565, 0.20488771796226501, -0.20530419051647186, -0.25787314772605896, 0.4469478726387024, 0.1750858873128891, 0.3201536238193512, 0.23208850622177124, 0.02334006503224373, 0.003966048359870911, 0.04978327080607414, 0.13203568756580353, -0.2070288062095642, 0.6964324116706848, -0.2813020348548889, -0.22859498858451843, -0.10274828970432281, -0.25173330307006836, -0.19192515313625336, 0.32585257291793823, -0.1011839210987091, -0.05370848625898361, 0.09759046137332916, -0.1712273508310318, -0.19696074724197388, -0.09431800246238708, -0.18497593700885773, -0.05699804425239563, 0.07367803901433945, -0.017614655196666718, -0.12706845998764038, 0.05260274559259415, -0.11293196678161621, 0.2753315567970276, 0.07745108008384705, -0.29185500741004944, -0.03857801482081413, -0.2711942195892334, -0.0038788393139839172, 0.16752450168132782, 0.15863195061683655, 0.20226329565048218, 0.03769458085298538, 0.1760968416929245, 0.20383521914482117, 0.004925751127302647, -0.05423303693532944, 0.11487443745136261, 0.37054356932640076, 0.0036427974700927734, 0.10929396748542786, 0.3555179834365845, -0.016434049233794212, -0.27841007709503174, -0.12658029794692993, 0.0923459455370903, -0.3684791922569275, 0.2808910310268402, 0.019820913672447205, 0.042907536029815674, -0.4570939838886261, -0.07413557916879654, 0.1533484160900116, 0.025558501482009888, -0.0335221141576767, 0.10084877908229828, 0.5280967950820923, 0.03471175953745842, 0.03188549354672432, 0.1393970549106598, 0.009152691811323166, -0.2472367286682129, -0.09107569605112076, -0.33414900302886963, 0.008310840465128422, -0.35339465737342834, 0.15452918410301208, 0.45719724893569946, 0.16322773694992065, 0.18816550076007843, -0.166220024228096, 0.1856899857521057, -0.031139332801103592, 0.25158634781837463, -0.16642557084560394, 0.3345469534397125, 0.21305808424949646, -0.05065717175602913, 0.15077772736549377, 0.11534057557582855, 0.03884635865688324, -0.07626884430646896, 0.18893426656723022, -0.01999630033969879, -0.43630141019821167, 0.11460168659687042, 0.39733368158340454, -0.13340821862220764, -0.09145312011241913, 0.1534861922264099, 0.003441132605075836, 0.13113351166248322, -0.28273364901542664, 0.055642079561948776, 0.09440252184867859, -0.1816006302833557, -0.05376236513257027, 0.1749572604894638, 0.4587589502334595, -0.33458399772644043, 0.08229780197143555, -0.05025773122906685, 0.024128517135977745, 0.1087360754609108, 0.06784071773290634, -0.17523251473903656, 0.09623634815216064, -0.28527238965034485, 0.02384604513645172, 0.06718268990516663, -0.46882545948028564, -0.5336064100265503, 0.10769383609294891, 0.004058323800563812, -0.13965889811515808, 0.1598503142595291, 0.15461425483226776, 0.019154177978634834, -0.04405466467142105, 0.11512106657028198, 0.15776267647743225, 0.02448704093694687, 0.24726000428199768, -0.5634309649467468, -0.05286291241645813, 0.05462352931499481, 0.1380593478679657, 0.18619632720947266, 0.14235897362232208, 0.002386726438999176, 0.049451425671577454, 0.1363450288772583, -0.06940856575965881, 0.15034691989421844, 0.2888965606689453, 0.32530632615089417, -0.10581965744495392, 0.13384659588336945, -0.0031906291842460632, -0.41320303082466125, 0.22378861904144287, 0.07923579961061478, 0.011910896748304367, 0.00035700947046279907, -0.23163306713104248, -0.16572913527488708, -0.07589597254991531, -0.1155858188867569, -0.2555674612522125, 0.3539925813674927, 0.1410442292690277, 0.08944819867610931, -0.18067212402820587, -0.05806354060769081, 0.3837580680847168, -0.003282509744167328, -0.11143200844526291, -0.05560943856835365, 0.13835451006889343, -0.1418897658586502, -0.14124779403209686, 0.009595256298780441, -0.07856074720621109, 0.10363559424877167, 0.010568851605057716, -0.2972699999809265, 0.320860356092453, 0.08754117786884308, 0.16181880235671997, 0.21854931116104126, 0.14274561405181885, 0.017133651301264763, -0.15014027059078217, 0.1083996519446373, -0.10288341343402863, 0.12960582971572876, -0.03555488586425781, -0.27398762106895447, 0.24293971061706543, -0.012348994612693787, 0.062334053218364716, 0.07106392830610275, -0.21493379771709442, 0.2062910795211792, -0.1404392570257187, 0.1895553320646286, -0.21731458604335785, 0.19375433027744293, 0.19462716579437256, 0.19734470546245575, 0.10049255937337875, -0.23907744884490967, 0.20085707306861877, 0.09226326644420624, 0.22788244485855103, 0.05769135430455208, 0.03143865242600441, 0.03705091029405594, -0.26000654697418213, 0.24942828714847565, 0.22059310972690582, 0.4616122245788574, 0.2667991816997528, 0.14651356637477875, -0.004035525023937225, 0.08368843793869019, -0.12262488156557083, 0.26756471395492554, -0.15061497688293457, 0.09390105307102203, 0.21437662839889526, 0.2700364589691162, -0.26392316818237305, -0.4018498659133911, 0.12116992473602295, 0.2559414803981781, 0.25727391242980957, -0.2796860635280609, -0.10399027913808823, -0.22976043820381165, -0.4110942780971527, 0.020077867433428764, 0.019325977191329002, -0.019616935402154922, -0.29100945591926575, 0.12659040093421936, 0.16817404329776764, -0.37151920795440674, 0.24519740045070648, -0.2770882844924927, 0.43757686018943787, 0.11980366706848145, 0.031212225556373596, -0.3995809555053711, -0.2018396556377411, -0.10752532631158829, 0.18626201152801514, 0.180695042014122, 0.030858321115374565, 0.2685023546218872, 0.006352819502353668, 0.14956626296043396, -0.3211689889431, -0.141551211476326, 0.14318367838859558, 0.18829625844955444, 0.24684785306453705, -0.009585976600646973, 0.16615527868270874, 0.07283742725849152, -0.09073111414909363, 0.2395419329404831, -0.33036473393440247, -0.10468193143606186, -0.18952806293964386, 0.08086291700601578, 0.14263911545276642, -0.3120870888233185, -0.4023851454257965, -0.028465142473578453, -0.46521610021591187, -0.05100049823522568, -0.009419437497854233, 0.07988999783992767, 0.25379088521003723, -0.09574762731790543, -0.07149431854486465, 0.14379781484603882, 0.021782636642456055, -0.40678930282592773, -0.41557225584983826, 0.31393858790397644, -0.3014053404331207, -0.22593580186367035, -0.10222882032394409, 0.07678813487291336, 0.21094417572021484, 0.1106923446059227, -0.29477792978286743, -0.31963181495666504, -0.0905313491821289, 0.24494177103042603, 0.011704139411449432, -0.09952342510223389, 0.26986175775527954, -0.01628974638879299, -0.3112334609031677, -0.294890433549881, -0.19020117819309235, 0.2599230408668518, -0.18462109565734863, 0.11193452775478363, -0.2769208252429962, 0.2144533097743988, 0.04157729819417, 0.4111434817314148, -0.2381950467824936, 0.13419048488140106, 0.3194444477558136, 0.09296124428510666, 0.3766254782676697, -0.24756139516830444, 0.022359052672982216, 0.014561816118657589, 0.015169590711593628, -0.4060434103012085, 0.28131771087646484, 0.1164168119430542, -0.39485111832618713, -0.06489014625549316, 0.14321964979171753, -0.057844147086143494, -0.2759629487991333, 0.05015900731086731, -0.02053968608379364, 0.11635617911815643, 0.30219435691833496, 0.03444666415452957, -0.399251252412796, -0.0598776713013649, 0.13719500601291656, 0.03301744908094406, 0.09516356140375137, -0.1423058807849884, -0.1850043535232544, -0.016370190307497978, -0.41634809970855713, 0.14031964540481567, 0.09851118177175522, 0.28261709213256836, -0.18385621905326843, -0.3519001603126526, 0.04252602159976959, -0.13730911910533905, 0.5899348855018616, -0.23039032518863678, 0.15649282932281494, 0.18036404252052307, -0.16001594066619873, 0.0651613250374794, -0.06439865380525589, -0.004438444972038269, 0.3089134991168976, 0.07785169780254364, 0.009062394499778748, -0.06872612237930298, -0.18267318606376648, 0.011592967435717583, -0.05094289779663086, -0.18782742321491241, -0.22539150714874268, -0.12767501175403595, -0.163590669631958, -0.11916198581457138, 0.11008557677268982, 0.10525090247392654, -0.05819656699895859, 0.024285191670060158, 0.04520763084292412, -0.14545652270317078, 0.02702658250927925, -0.0681886076927185, 0.10436776280403137, 0.46312573552131653, 0.034193191677331924, 0.2996583580970764, 0.10039821267127991, 0.1034810021519661, 0.2848545014858246, 0.40450984239578247, -0.202551931142807, 0.24309976398944855, 0.12661372125148773, -0.103794164955616, 0.006683096289634705, 0.2813904881477356, -0.06246413663029671, -0.07240922003984451, -0.15303272008895874, -0.0004198700189590454, -0.3225696384906769, 0.18468178808689117, -0.10190094262361526, -0.04593290388584137, -0.06927324831485748, -0.3489268124103546, 0.4387204349040985, 0.040980707854032516, -0.21249890327453613, 0.5758354067802429, -0.19714497029781342, -0.3359801173210144, 0.10870613157749176, 0.1426287740468979, 0.7731567025184631, 0.02445346489548683, 0.09397439658641815, 0.10871056467294693, 0.05074126273393631, 0.04945682734251022, -0.11977344751358032, 0.2412448674440384, -0.3391771912574768, -0.26418572664260864, 0.10968010127544403, -0.11906641721725464, -0.055991336703300476, -0.0779234915971756, -0.24221530556678772, -0.03622005134820938, -0.051602911204099655, 0.11402775347232819, -0.03311733901500702, 0.03873131424188614, -0.10686095803976059, -0.19763223826885223, -0.07405433058738708, 0.3579254746437073, 0.08563114702701569, 0.009752161800861359, -0.302741676568985, 0.055601585656404495, -0.03473581001162529, 0.008590362966060638, -0.021644048392772675, 0.04300246387720108, -0.1124408170580864, 0.24477814137935638, -0.17514212429523468, -0.02932470291852951, -0.16200757026672363, 0.06639935076236725, 0.1747569441795349, 0.01979813165962696, -0.2811174690723419, 0.42893242835998535, 0.04966718703508377, 0.2774830162525177, -0.024127576500177383, -0.05266876146197319, 0.3072015643119812, -0.08627015352249146, -0.13709582388401031, -0.13876736164093018, -0.22009725868701935, -0.2727256119251251, -0.017444133758544922, -0.0921194851398468, -0.05539819598197937, -0.2713303565979004, -0.11780606210231781, 0.2099923938512802, -0.06367971003055573, -0.1484859436750412, 0.3905643820762634, 0.14823311567306519, -0.03260747343301773, 0.14372682571411133, -0.049934934824705124, -0.2094484120607376, -0.03357948735356331, 0.3592720627784729, -0.04569575935602188, 0.12137404084205627, 0.35977092385292053, 0.03410394862294197, -0.21950003504753113, -0.34710508584976196, -0.18448704481124878, 0.08584779500961304, -0.1488168090581894, 0.32548999786376953, -0.1520676463842392, -0.12676331400871277, 0.15692292153835297, 0.2211180329322815, 0.07011145353317261, -0.03636962175369263, -0.1188235729932785, -0.0190277062356472, -0.4381595551967621, -0.07955776154994965, -0.29864415526390076, 0.3813862204551697, -0.2176680862903595, -0.0807005763053894, 0.02532733418047428, 0.006851211190223694, -0.5349889993667603, -0.05425626039505005, -0.34310799837112427, 0.07963933795690536, -0.15630902349948883, -0.04588146507740021, 0.12682117521762848, -0.1813301146030426, 0.2043171525001526, 0.18751497566699982, -0.2359805554151535, -0.434420645236969, 0.09776334464550018, 0.06439891457557678, -0.0616547092795372, 0.009517479687929153, -0.13530980050563812, -0.10379967838525772, -0.05480490252375603, -0.06467235833406448, 0.10970237851142883, 0.18784105777740479, -0.1235111802816391, 0.1795734316110611, 0.22064343094825745, -0.1538461148738861, -0.01828068122267723, 0.09556333720684052, 0.16527633368968964, 0.1419723927974701, -0.1877436637878418, 0.05765018239617348, -0.24938325583934784, -0.06830089539289474, 0.21956884860992432, 0.09106322377920151, -0.16201560199260712, 0.23253285884857178, 0.24242639541625977, -0.14838741719722748, -0.013534491881728172, 0.39556214213371277, 0.3172314167022705, 0.1440085470676422, -0.16915340721607208, -0.0525360032916069, 0.03535480052232742, 0.4367061257362366, -0.09603474289178848, 0.03730297088623047, -0.11427098512649536, -0.266333669424057, 0.1408638060092926, 0.06749483942985535, 0.20704269409179688, -0.19089485704898834, 0.34462910890579224, 0.2976483404636383, 0.4499828517436981, -0.31844162940979004, -0.002955780830234289, -0.1287204772233963, -0.09769152104854584, 0.01335403323173523, 0.3780418336391449, 0.1393032670021057, 0.17500782012939453, 0.45275604724884033, 0.1317477971315384, 0.3992423415184021, 0.1272253692150116, 0.05461260303854942, -0.2859692871570587, -0.2030738890171051, 0.19482094049453735, 0.2621479034423828, -0.013551726937294006, 0.05468745157122612, -0.03648828715085983, 0.24681395292282104, -0.227149099111557, -0.12711666524410248, -0.1556055247783661, -0.09764911234378815, -0.2879078686237335, -0.1395329236984253, -0.11433116346597672, -0.16847455501556396, 0.004808008670806885, 0.19470810890197754, -0.0948876440525055, 0.2158922553062439, 0.238718181848526, 0.06179158762097359, 0.06959456950426102, -0.13444043695926666, 0.15631648898124695, 0.0626644492149353, 0.1647324413061142, -0.28314241766929626, 0.25660669803619385, 0.02193377912044525, -0.23382440209388733, 0.252347856760025, 0.37848901748657227, 0.2746885120868683, 0.2033950537443161, 0.05674581974744797, -0.12839891016483307, 0.005908063612878323, 0.01843082346022129, -0.3719489574432373, 0.27810248732566833, 0.08527038246393204, -0.02131708338856697, 0.2155522257089615, 0.32342925667762756, -0.2941923439502716, 0.2205067276954651, -0.020271431654691696, -0.04868562892079353, -0.016576718538999557, -0.07294457405805588, 0.22780191898345947, -0.1817912757396698, 0.010088063776493073, -0.05482495576143265, -0.32684001326560974, 0.04940911382436752, 0.20526033639907837, -0.20145145058631897, 0.2416307032108307, -0.08596264570951462, 0.17456695437431335, 0.052071746438741684, 0.6269335746765137, 0.002040281891822815, -0.061211444437503815, -0.2722789943218231, -0.3310525119304657, -0.6598544716835022, 0.1922145038843155, 0.04208885505795479, 0.06530988961458206, -0.006359403021633625, 0.22306443750858307, -0.009450890123844147, -0.24540556967258453, 0.12126778066158295, -0.1686481237411499, -0.02413528971374035, -0.00408482551574707, -0.4967570900917053, 0.038417838513851166, -0.005292877554893494, -0.04995571821928024, 0.1401052623987198, -0.37791934609413147, 0.07425656914710999, 0.08675517141819, 0.33662402629852295, -0.07819031178951263, -0.15351998805999756, 0.09432362020015717, 0.22365505993366241, 0.4847409129142761, -0.0048440489917993546, 0.2674277424812317, -0.09401503205299377, 0.0010293778032064438, -0.2988031804561615, -0.5021355748176575, 0.05195363610982895, -0.3592436611652374, 0.030914705246686935, 0.12156324088573456, -0.15419533848762512, 0.02674918621778488, -0.1872050166130066, 0.09806429594755173, -0.10020089894533157, 0.1664821207523346, -0.17749086022377014, 0.0601184144616127, -0.0736386850476265, 0.1016654297709465, 0.05890249088406563, 0.2934008240699768, -0.002932019531726837, 0.11006994545459747, -0.4646673798561096, -0.28175055980682373, 0.41609007120132446, -0.07737720757722855, -0.3209278881549835, -0.004954586271196604, 0.30591583251953125, 0.23194748163223267, -0.10291806608438492, -0.5318906903266907, 0.018602952361106873, 0.18273121118545532, 0.04066312685608864, -0.18850241601467133, 0.25999578833580017, 0.03676933795213699, 0.07416242361068726, -0.11340197920799255, 0.2442866861820221, 0.21651417016983032, -0.04930703714489937, -0.17130082845687866, -0.08230337500572205 ]
https://github.com/huggingface/datasets/pull/2329
Add cache dir for in-memory datasets
@lhoestq Sure. I'm aware this is a high-priority issue to some extent, so feel free to take over. Few suggestions I have: * there is a slight difference between setting `use_caching` to `False` in `load_dataset` and disabling caching globally with `set_caching_enabled(False)` because the former will never execute the following code (`self._cache_dir` is always `False`): https://github.com/huggingface/datasets/blob/c231abdb174987419bbde3360b5b9d6a4672c736/src/datasets/arrow_dataset.py#L1807-L1824 , so I'm just checking whether this is intended (if yes, maybe the docs should mention this) or not? * think we should add the `use_caching` parameter to every method that has the `keep_in_memory` (and `in_memory` 😃) parameter in its signature for better consistency, but I say let's address this in a separate PR. IMO we need one more PR that will deal exclusively with consistency in the caching logic.
Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322
125
text: Add cache dir for in-memory datasets Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322 @lhoestq Sure. I'm aware this is a high-priority issue to some extent, so feel free to take over. Few suggestions I have: * there is a slight difference between setting `use_caching` to `False` in `load_dataset` and disabling caching globally with `set_caching_enabled(False)` because the former will never execute the following code (`self._cache_dir` is always `False`): https://github.com/huggingface/datasets/blob/c231abdb174987419bbde3360b5b9d6a4672c736/src/datasets/arrow_dataset.py#L1807-L1824 , so I'm just checking whether this is intended (if yes, maybe the docs should mention this) or not? * think we should add the `use_caching` parameter to every method that has the `keep_in_memory` (and `in_memory` 😃) parameter in its signature for better consistency, but I say let's address this in a separate PR. IMO we need one more PR that will deal exclusively with consistency in the caching logic.
[ -0.09885568171739578, 0.18543165922164917, -0.04951588809490204, 0.21860085427761078, 0.45297807455062866, 0.08872667700052261, 0.1280767172574997, 0.32899969816207886, 0.11331206560134888, 0.08964796364307404, 0.02588007226586342, 0.25016990303993225, 0.11535222828388214, -0.004107020795345306, 0.0729532390832901, 0.07159622013568878, 0.13530591130256653, -0.041375696659088135, -0.21943998336791992, 0.11178159713745117, -0.2532098889350891, -0.009065421298146248, -0.08949929475784302, -0.35375118255615234, -0.32506445050239563, -0.0767119750380516, 0.07208392024040222, 0.15157631039619446, -0.06291186809539795, -0.5318199396133423, 0.46983256936073303, 0.19086214900016785, 0.00007135048508644104, 0.10620979964733124, -0.00010317120177205652, 0.09535008668899536, 0.44742918014526367, -0.09927702695131302, -0.23323184251785278, 0.1824028193950653, -0.179965078830719, -0.23728550970554352, 0.12649033963680267, -0.08089133352041245, 0.10797352343797684, 0.1676671802997589, 0.0009272824972867966, -0.48634153604507446, 0.1981724500656128, 0.1831999272108078, 0.30046847462654114, 0.040415626019239426, -0.034121230244636536, -0.013094048947095871, 0.024888526648283005, 0.1329958438873291, -0.2877049446105957, -0.09164172410964966, 0.05960018187761307, -0.1417650580406189, -0.10522577911615372, 0.5090622901916504, 0.042522162199020386, 0.30081120133399963, 0.4751836061477661, 0.051347605884075165, -0.1970425546169281, -0.11007726192474365, 0.03598107770085335, -0.10991447418928146, 0.7391597628593445, -0.4952605664730072, -0.43089044094085693, -0.263456791639328, -0.1409088373184204, -0.432430624961853, 0.28441858291625977, -0.04034978151321411, -0.006070924922823906, 0.11687502264976501, -0.10198195278644562, -0.1967659294605255, -0.034525979310274124, -0.04106926918029785, 0.1849558800458908, 0.04113493114709854, 0.01920097880065441, -0.07799769192934036, 0.08362089842557907, 0.056782472878694534, 0.23846204578876495, -0.03313283994793892, -0.28006863594055176, 0.043751150369644165, -0.3355885148048401, 0.14685657620429993, 0.11817173659801483, 0.28173521161079407, 0.28005313873291016, 0.1496867835521698, 0.15787987411022186, 0.11143892258405685, -0.07219269126653671, -0.043804071843624115, 0.10411955416202545, 0.5213069915771484, -0.11217931658029556, 0.20001985132694244, 0.2519682049751282, 0.014431493356823921, -0.05832333117723465, -0.07467040419578552, 0.12079785019159317, -0.3565213680267334, 0.5550076961517334, 0.046759337186813354, 0.16305966675281525, -0.3656969964504242, 0.06946511566638947, 0.11413098871707916, 0.1208222433924675, -0.1277029663324356, 0.07803450524806976, 0.4094063639640808, 0.06731431931257248, 0.32167717814445496, 0.04868125170469284, 0.07818302512168884, -0.15544091165065765, 0.016649842262268066, -0.31558895111083984, -0.039313964545726776, -0.2875596284866333, 0.4091801047325134, 0.2890077233314514, 0.05308203026652336, 0.23057310283184052, -0.06851628422737122, 0.17106369137763977, -0.06571559607982635, 0.0581890344619751, -0.22519180178642273, 0.265694260597229, 0.2721703350543976, -0.37981754541397095, 0.21239955723285675, 0.21638688445091248, 0.13686935603618622, -0.2430506944656372, 0.32482242584228516, -0.14052602648735046, -0.6738734245300293, 0.05930870771408081, 0.2285316288471222, -0.20662835240364075, -0.17316284775733948, -0.14610639214515686, 0.12732790410518646, 0.2451271414756775, -0.18058380484580994, 0.43546634912490845, -0.0212688148021698, -0.19076016545295715, -0.23015420138835907, 0.28648635745048523, 0.5943305492401123, -0.3387938439846039, -0.05035009980201721, 0.02735568955540657, 0.005272321403026581, 0.04931919649243355, 0.20867601037025452, -0.27045828104019165, -0.0004882887005805969, -0.2513563930988312, -0.0879431664943695, 0.1422930508852005, -0.5353325009346008, -0.6089214086532593, -0.12422510981559753, 0.13593783974647522, -0.09068700671195984, 0.17893318831920624, 0.17111478745937347, -0.028044387698173523, -0.09220948815345764, 0.05172841250896454, 0.2066933661699295, -0.014471376314759254, 0.2253526747226715, -0.4822245240211487, -0.18089169263839722, 0.04173625260591507, 0.1310904175043106, 0.015746433287858963, 0.05054304748773575, -0.11104349046945572, -0.09724493324756622, 0.11230006814002991, 0.029632633551955223, 0.18601875007152557, 0.2532479763031006, 0.4471490681171417, 0.06536971777677536, 0.21257199347019196, 0.21955838799476624, -0.6649147272109985, 0.2999158203601837, 0.21314524114131927, -0.04776443541049957, -0.3631092309951782, -0.28660452365875244, 0.014936408028006554, -0.11043331027030945, -0.3009963631629944, -0.3524220287799835, 0.150075301527977, -0.17148347198963165, 0.24161633849143982, -0.10469220578670502, -0.2400013953447342, 0.4009052515029907, 0.04071367532014847, 0.04738597944378853, -0.09207338094711304, 0.05745571851730347, -0.1304611712694168, -0.0828266516327858, -0.12895137071609497, 0.03894452378153801, 0.07633013278245926, 0.06514657288789749, -0.36724233627319336, 0.43871158361434937, 0.060307394713163376, 0.20955419540405273, 0.12989546358585358, 0.2977807819843292, -0.006999077275395393, -0.1287298947572708, 0.11254677176475525, -0.22314126789569855, 0.11322731524705887, 0.039398401975631714, -0.2266618311405182, 0.21064086258411407, -0.031714390963315964, 0.15254180133342743, -0.08572233468294144, -0.3187732398509979, 0.10164046287536621, 0.06924471259117126, 0.09987060725688934, -0.15217241644859314, 0.0618358738720417, 0.15422503650188446, 0.45840731263160706, 0.22245360910892487, -0.19232067465782166, 0.3901348114013672, 0.2026357352733612, 0.15496905148029327, 0.026244834065437317, 0.09246321767568588, 0.06715889275074005, -0.2605794668197632, 0.245236337184906, 0.2270447462797165, 0.38240718841552734, 0.30006125569343567, 0.017877161502838135, 0.045043088495731354, 0.19169186055660248, -0.14516186714172363, 0.3050084114074707, 0.03890131786465645, 0.20440758764743805, 0.20111587643623352, 0.19773440062999725, -0.14534908533096313, -0.2758353352546692, 0.052288588136434555, 0.15833286941051483, 0.2801380753517151, -0.15303190052509308, -0.07067890465259552, -0.20723092555999756, -0.3424481749534607, -0.14174668490886688, -0.15807829797267914, -0.16040267050266266, -0.2621588408946991, 0.028197607025504112, 0.041268136352300644, -0.25757625699043274, 0.23186154663562775, -0.503150999546051, 0.3850119113922119, 0.06397729367017746, -0.28351399302482605, -0.39409735798835754, -0.21711000800132751, -0.04610423743724823, 0.010818835347890854, 0.2119397521018982, -0.14989979565143585, 0.23765037953853607, 0.2000444233417511, 0.12418109178543091, -0.4478835165500641, -0.1476171612739563, 0.08416874706745148, 0.03307614102959633, 0.09022654592990875, -0.026402980089187622, 0.10518847405910492, 0.11408007144927979, -0.11761507391929626, 0.24469426274299622, -0.38410183787345886, -0.05148184299468994, -0.1902146339416504, 0.018247835338115692, 0.2131716012954712, -0.24901580810546875, -0.38830602169036865, -0.20432183146476746, -0.5502573251724243, 0.11861300468444824, -0.05657535418868065, 0.08706264197826385, 0.35781922936439514, -0.09949293732643127, -0.045275602489709854, 0.06922704726457596, 0.04385782778263092, -0.3473125398159027, -0.43296968936920166, 0.3951980769634247, -0.10583371669054031, -0.01470521092414856, -0.12574586272239685, -0.02246401645243168, 0.2199176698923111, 0.1577000617980957, -0.3367946743965149, -0.40633150935173035, -0.2043367177248001, 0.24408912658691406, -0.046334266662597656, 0.11744502186775208, 0.40596407651901245, 0.03530988469719887, -0.2389133721590042, -0.1882610321044922, -0.33147746324539185, 0.20601384341716766, -0.21086016297340393, 0.15999442338943481, -0.0771656259894371, 0.24790075421333313, 0.16367894411087036, 0.6305539011955261, 0.026891157031059265, 0.24742013216018677, 0.36318227648735046, 0.22734038531780243, 0.45261645317077637, -0.3122080862522125, 0.1058904230594635, 0.08277439326047897, -0.06702469289302826, -0.40432870388031006, 0.07905840873718262, 0.2198272943496704, -0.19591598212718964, 0.05426646023988724, 0.046661388128995895, -0.08030015230178833, -0.2650739848613739, 0.1724049299955368, -0.05952369421720505, 0.09009506553411484, 0.15406085550785065, -0.01753714680671692, -0.3242890536785126, -0.038531139492988586, 0.2364978790283203, 0.19014084339141846, 0.10002154856920242, 0.17649497091770172, -0.08106252551078796, -0.08613879233598709, -0.5508848428726196, 0.20298492908477783, 0.035950638353824615, 0.25806114077568054, 0.008033182471990585, -0.3644433617591858, -0.04205554723739624, -0.006571685429662466, 0.5552406907081604, -0.1332928091287613, -0.11339870095252991, -0.06890735775232315, -0.09027831256389618, 0.03676854074001312, -0.1975647658109665, 0.16672435402870178, 0.3049548864364624, -0.08496300876140594, -0.0687747448682785, -0.2373867630958557, -0.2813285291194916, -0.09660369902849197, 0.0039013572968542576, -0.1406479775905609, -0.25119489431381226, -0.20518076419830322, -0.18935447931289673, -0.19854481518268585, 0.154727041721344, 0.220631405711174, -0.16607765853405, 0.10219462960958481, 0.15731465816497803, -0.11935022473335266, -0.002595501020550728, -0.175541952252388, -0.17190732061862946, 0.5770409107208252, 0.10096415877342224, 0.13522456586360931, 0.30224502086639404, -0.02900666743516922, 0.3049985468387604, 0.6014664769172668, -0.35716187953948975, 0.037438105791807175, -0.13730642199516296, 0.034670569002628326, 0.06193848326802254, 0.3339785933494568, -0.058920349925756454, 0.03777167201042175, -0.035140782594680786, 0.031384244561195374, -0.30652177333831787, -0.07955445349216461, -0.10018011182546616, -0.026884950697422028, -0.19979731738567352, -0.5512987971305847, 0.6769356727600098, 0.24854914844036102, -0.11324283480644226, 0.7047531604766846, 0.1225966066122055, -0.34122562408447266, 0.13624191284179688, 0.1800541877746582, 0.7856435179710388, 0.11905182898044586, 0.23888683319091797, 0.09169822186231613, -0.03530624508857727, 0.2507961690425873, -0.026311904191970825, 0.13007140159606934, -0.23633719980716705, -0.07894246280193329, 0.07170525938272476, -0.20267973840236664, -0.19512665271759033, -0.2194683998823166, -0.2271794080734253, 0.29417505860328674, -0.17342370748519897, -0.029083777219057083, -0.024298319593071938, 0.030512787401676178, -0.3503987789154053, -0.32282570004463196, -0.08440293371677399, 0.24410498142242432, -0.06689733266830444, 0.14422406256198883, -0.16521033644676208, -0.030432164669036865, 0.02487679198384285, -0.023849528282880783, -0.09580077230930328, -0.06078942120075226, -0.3409859240055084, 0.2980046272277832, -0.03570627048611641, -0.08971972018480301, -0.12941519916057587, 0.03730809688568115, 0.23409503698349, -0.2639100253582001, -0.2564467787742615, 0.2492886483669281, 0.14971736073493958, 0.33740079402923584, -0.036751639097929, -0.22040139138698578, 0.4891897737979889, 0.07673507183790207, 0.04621855169534683, -0.28177353739738464, -0.29709064960479736, -0.3521360158920288, -0.012545660138130188, -0.2256324738264084, -0.048745088279247284, -0.1699153035879135, -0.14570412039756775, 0.15357474982738495, -0.04420777037739754, -0.1250331550836563, 0.23355264961719513, 0.2710815668106079, -0.0790109857916832, 0.14219960570335388, -0.2589888572692871, -0.1518840193748474, -0.05924009159207344, 0.13093246519565582, -0.1115516647696495, 0.07052744925022125, 0.38154569268226624, 0.013041634112596512, -0.24438108503818512, -0.12299782782793045, -0.21685823798179626, 0.19048814475536346, -0.24553099274635315, 0.2677127718925476, -0.0890159085392952, -0.01058170199394226, 0.08068389445543289, 0.1164679080247879, 0.15017637610435486, -0.03432723134756088, -0.1823001354932785, -0.06264618039131165, -0.5737552642822266, 0.12332783639431, -0.3175477683544159, 0.4336656630039215, -0.28333669900894165, -0.13500477373600006, 0.11324161291122437, 0.03691113367676735, -0.40663716197013855, -0.1328558474779129, -0.10339139401912689, -0.0253843255341053, -0.12733685970306396, 0.04744437336921692, 0.25707173347473145, -0.2116176337003708, -0.0010809432715177536, 0.14662611484527588, -0.31947895884513855, -0.25190025568008423, 0.0071289390325546265, 0.10745006799697876, 0.02375238761305809, -0.004016228951513767, -0.10577541589736938, -0.17169219255447388, 0.14299197494983673, -0.14874251186847687, 0.12287381291389465, 0.2856452465057373, -0.12690821290016174, 0.2860540747642517, 0.17978639900684357, -0.06563577800989151, 0.06504371762275696, 0.06083130091428757, 0.14925535023212433, 0.056565575301647186, 0.008453898131847382, 0.19271054863929749, -0.31384196877479553, 0.03244847059249878, 0.17842605710029602, 0.1121702492237091, -0.07883118093013763, 0.20410743355751038, -0.03145039826631546, -0.266934335231781, -0.10590624809265137, 0.3365640938282013, 0.35828083753585815, 0.21504725515842438, -0.19832949340343475, -0.05838879942893982, 0.04010741412639618, 0.3079890310764313, -0.09493579715490341, -0.02803802117705345, -0.33213409781455994, -0.1309025138616562, 0.04558037593960762, 0.18476064503192902, 0.3046652674674988, -0.014520153403282166, 0.17396280169487, 0.31321898102760315, 0.4524548351764679, -0.5289047956466675, 0.15712612867355347, -0.2014579474925995, 0.017590459436178207, 0.019279781728982925, 0.5912947058677673, 0.20172126591205597, 0.2473675012588501, 0.40043866634368896, -0.004286602139472961, 0.44997701048851013, 0.23819702863693237, 0.011337365955114365, -0.275829553604126, -0.16552093625068665, 0.060861289501190186, 0.1596161276102066, -0.12802515923976898, -0.041435129940509796, 0.07189223170280457, 0.4777904152870178, -0.13615910708904266, -0.2327827513217926, 0.09562699496746063, -0.12290535867214203, -0.21172308921813965, -0.10559691488742828, 0.042432621121406555, -0.11953422427177429, 0.09414900839328766, 0.13355164229869843, -0.011138975620269775, -0.057437874376773834, 0.44593244791030884, 0.10325918346643448, 0.004218459129333496, -0.26534292101860046, 0.23919576406478882, 0.32475584745407104, 0.4418484568595886, -0.11480668187141418, 0.23686638474464417, 0.027773983776569366, -0.47341427206993103, 0.10597698390483856, 0.4328595697879791, 0.42633575201034546, 0.13994431495666504, 0.058351121842861176, -0.07316213101148605, 0.06731045246124268, -0.018696434795856476, -0.20969192683696747, 0.2583387494087219, 0.003375045955181122, -0.19157171249389648, 0.0022038575261831284, 0.2262507826089859, -0.1920449435710907, 0.21020185947418213, -0.2370080202817917, 0.02196306735277176, -0.06633316725492477, 0.26879674196243286, 0.2356630563735962, -0.20025798678398132, -0.008891690522432327, 0.19676697254180908, -0.3258594572544098, 0.004306370858103037, 0.38766026496887207, -0.12114591151475906, 0.04545245319604874, -0.1695541888475418, 0.13839231431484222, 0.16964413225650787, 0.45179763436317444, 0.19263939559459686, -0.017180748283863068, -0.24288156628608704, -0.0016016140580177307, -0.7837255597114563, 0.04831896722316742, 0.09092923253774643, 0.08806519210338593, 0.20015662908554077, 0.2404710203409195, -0.09977925568819046, -0.192173570394516, 0.15714648365974426, -0.07401597499847412, 0.13959304988384247, -0.1280822455883026, -0.4441850185394287, 0.07926111668348312, -0.04815372824668884, -0.016902020201086998, 0.19416669011116028, -0.3665834367275238, 0.048375844955444336, 0.16390715539455414, 0.16811805963516235, -0.16259010136127472, 0.008117906749248505, 0.24304354190826416, 0.2840607166290283, 0.477535218000412, 0.0913776084780693, 0.024040766060352325, 0.08171787112951279, -0.04333828389644623, -0.4039168059825897, -0.4097521901130676, -0.2182828187942505, -0.22992295026779175, -0.2186213731765747, 0.18978554010391235, -0.3451213240623474, -0.2272769659757614, -0.4350835382938385, 0.04709808528423309, -0.15320491790771484, -0.05801767110824585, -0.29317596554756165, 0.11737637966871262, -0.06429871916770935, 0.2531770169734955, 0.03324886038899422, 0.37373051047325134, 0.12010534107685089, 0.1553707718849182, -0.5691174864768982, -0.40714070200920105, 0.4882006347179413, -0.0625174418091774, -0.1679055094718933, 0.05715874210000038, 0.32598331570625305, 0.46524685621261597, -0.13256053626537323, -0.7767601609230042, 0.10514118522405624, 0.09690184146165848, 0.043228939175605774, -0.4698130488395691, 0.2744215130805969, -0.16082745790481567, 0.20561377704143524, -0.1317400187253952, 0.42210158705711365, 0.08707860112190247, -0.13197876513004303, -0.1379700005054474, -0.13219425082206726 ]
https://github.com/huggingface/datasets/pull/2329
Add cache dir for in-memory datasets
Hi @mariosasko We discussed internally and we think that this feature might not be the direction we're doing to take for these reasons: - it goes against our simple definition of caching: on-disk == uses file cache, and in-memory == nothing is written to disk. I think it adds too much complexity just for a minimal flexibility addition - there are a few edge cases which are really confusing: - map on an in memory dataset with a cache_file_name specified by the user -> should the result be in memory or from disk ? - it would require a special cache directory just for in memory datasets, since they don’t have a preferred directory for caching - it would break a lot of stuff and would require to rewrite significant parts of the core code and the tests So in the end we're probably going to close this PR. Let me know what you think, and thank you anyway for your help on this !
Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322
165
text: Add cache dir for in-memory datasets Adds the cache dir attribute to DatasetInfo as suggested by @lhoestq. Should fix #2322 Hi @mariosasko We discussed internally and we think that this feature might not be the direction we're doing to take for these reasons: - it goes against our simple definition of caching: on-disk == uses file cache, and in-memory == nothing is written to disk. I think it adds too much complexity just for a minimal flexibility addition - there are a few edge cases which are really confusing: - map on an in memory dataset with a cache_file_name specified by the user -> should the result be in memory or from disk ? - it would require a special cache directory just for in memory datasets, since they don’t have a preferred directory for caching - it would break a lot of stuff and would require to rewrite significant parts of the core code and the tests So in the end we're probably going to close this PR. Let me know what you think, and thank you anyway for your help on this !
[ -0.058744557201862335, 0.024250969290733337, -0.14821161329746246, 0.1108521968126297, 0.1823095679283142, 0.2172490656375885, 0.1567409187555313, 0.44924911856651306, 0.20039132237434387, 0.22824427485466003, -0.007203845307230949, 0.20598886907100677, 0.0325365774333477, -0.14096537232398987, 0.15757088363170624, 0.16521969437599182, 0.07932747900485992, -0.09586510062217712, -0.3424544930458069, 0.14076022803783417, -0.3300873041152954, -0.006619816645979881, -0.08174603432416916, -0.3721238970756531, -0.31983935832977295, -0.02524515427649021, 0.10409311950206757, 0.0919676199555397, -0.16935019195079803, -0.45499899983406067, 0.40252646803855896, 0.10216964036226273, -0.00677606463432312, 0.05458015576004982, -0.00009941044845618308, 0.014802031219005585, 0.3020758628845215, -0.11752305924892426, -0.07251162081956863, 0.21380659937858582, -0.3702698349952698, -0.1307624727487564, -0.0921739861369133, -0.25149840116500854, 0.13852787017822266, 0.34107357263565063, 0.15381011366844177, -0.5879021883010864, -0.08333456516265869, 0.2705405056476593, 0.3315662741661072, -0.1672671139240265, -0.31102412939071655, -0.12683361768722534, 0.10914883762598038, 0.14599743485450745, -0.3435388207435608, -0.15596649050712585, 0.14322109520435333, -0.13617222011089325, -0.026650622487068176, 0.5738456845283508, -0.007445579394698143, 0.2938295900821686, 0.48234906792640686, 0.03682583197951317, -0.036647550761699677, -0.10358227789402008, 0.1192125454545021, -0.2162984013557434, 0.811170756816864, -0.39863449335098267, -0.18743157386779785, -0.10048361122608185, -0.17486567795276642, -0.09922493249177933, 0.3062528967857361, -0.09689223021268845, -0.08061441779136658, 0.16276653110980988, -0.24895299971103668, -0.15737001597881317, -0.08095812797546387, -0.1616029590368271, 0.16316580772399902, 0.1805662214756012, -0.07394890487194061, -0.03100144863128662, -0.023958999663591385, 0.1501563936471939, 0.25118446350097656, 0.010802504606544971, -0.22914686799049377, 0.018039902672171593, -0.174076110124588, -0.11414407938718796, 0.08759722858667374, 0.1464150846004486, 0.2790994346141815, 0.03049280494451523, 0.25369253754615784, 0.000368509441614151, -0.053620416671037674, 0.05823807045817375, -0.010718934237957, 0.442155122756958, 0.023898471146821976, 0.1689402014017105, 0.18541333079338074, -0.2960408627986908, -0.047689277678728104, -0.14961710572242737, 0.2432076632976532, -0.3471587896347046, 0.47911936044692993, 0.12230020016431808, 0.050056956708431244, -0.38426995277404785, 0.04390048235654831, 0.00090797059237957, -0.055159132927656174, -0.13291583955287933, 0.09899601340293884, 0.35775113105773926, 0.1557997167110443, 0.033399440348148346, -0.04078330844640732, -0.08204492926597595, 0.02807394601404667, 0.019374322146177292, -0.20306161046028137, 0.0942307859659195, -0.2930126488208771, 0.38877591490745544, 0.3734606206417084, 0.257417768239975, 0.16596730053424835, -0.27344703674316406, 0.18461279571056366, 0.003702029585838318, 0.19912943243980408, -0.161195307970047, 0.44174179434776306, 0.26942548155784607, -0.22850701212882996, 0.1514299064874649, 0.0952100157737732, 0.03223276138305664, -0.324248343706131, 0.4411602318286896, -0.16264131665229797, -0.6182965040206909, 0.15481217205524445, 0.3326714336872101, -0.08476869761943817, -0.16979971528053284, -0.0003064572811126709, 0.22501961886882782, 0.15461066365242004, -0.3254545032978058, 0.3699428141117096, 0.12748469412326813, -0.3453993797302246, -0.22904229164123535, 0.0721360519528389, 0.41054415702819824, -0.32677987217903137, 0.05917347967624664, 0.010651588439941406, 0.09644848108291626, 0.07311872392892838, 0.04865124076604843, -0.2282293140888214, 0.11451875418424606, -0.2759372889995575, 0.04974104464054108, 0.16032223403453827, -0.527326762676239, -0.5949608683586121, 0.07272522151470184, -0.02774926647543907, -0.1972697526216507, 0.2753452956676483, 0.24367833137512207, 0.03644338995218277, -0.11329641193151474, 0.10309663414955139, 0.1076175794005394, -0.14487506449222565, 0.2315031886100769, -0.5039356350898743, -0.09611310809850693, 0.1416333168745041, 0.1782713532447815, 0.11858867108821869, 0.2674327790737152, 0.08527621626853943, 0.031240932643413544, 0.0901247188448906, 0.08708527684211731, 0.2050977498292923, 0.19242143630981445, 0.4470251500606537, -0.09604939818382263, 0.1709158569574356, -0.05676612630486488, -0.5126315951347351, 0.17121988534927368, 0.10667426884174347, 0.032508522272109985, -0.21202407777309418, -0.333345890045166, -0.06532244384288788, -0.08110541105270386, -0.0974048525094986, -0.3811892867088318, 0.2399769425392151, -0.05984485149383545, 0.25408294796943665, -0.3347761631011963, -0.17911379039287567, 0.30747634172439575, 0.10719321668148041, -0.16130617260932922, 0.1514594405889511, 0.045742377638816833, -0.20529094338417053, 0.09242958575487137, -0.2761830687522888, -0.034551121294498444, 0.02445175126194954, -0.02031264267861843, -0.3533861041069031, 0.3773818910121918, 0.06146939843893051, 0.01009482890367508, 0.3136151134967804, 0.3704480528831482, 0.02289826236665249, -0.19047503173351288, 0.1120167002081871, -0.18703849613666534, 0.19843284785747528, 0.012072183191776276, -0.29984918236732483, 0.11519051343202591, -0.04635567590594292, 0.02168355882167816, -0.19619540870189667, -0.26225438714027405, 0.10273315012454987, -0.0667915940284729, 0.10509725660085678, -0.29318469762802124, -0.09050716459751129, 0.21255873143672943, 0.23239271342754364, 0.1770593822002411, -0.08153177797794342, 0.23045894503593445, 0.07751360535621643, 0.0878322422504425, -0.10601908713579178, 0.08176662027835846, 0.130062073469162, -0.2819998860359192, 0.25270918011665344, 0.23959459364414215, 0.5223132371902466, 0.33784422278404236, 0.20294056832790375, 0.05741603672504425, 0.24423447251319885, -0.10395683348178864, 0.3239375948905945, -0.051159217953681946, 0.13731704652309418, 0.16743087768554688, 0.1787760704755783, -0.043138835579156876, -0.13952207565307617, -0.0703805536031723, 0.27695128321647644, 0.27337881922721863, -0.07259540259838104, -0.2412092536687851, -0.1072717159986496, -0.45719340443611145, -0.08353316783905029, 0.08649082481861115, -0.006393957883119583, -0.20182204246520996, 0.17856644093990326, -0.0052521005272865295, -0.3392830491065979, 0.21337151527404785, -0.1703214943408966, 0.5480334162712097, 0.06500064581632614, -0.13382169604301453, -0.40818026661872864, -0.11342602968215942, 0.08428609371185303, 0.14639946818351746, 0.16285572946071625, -0.15402986109256744, 0.32613182067871094, 0.1525379866361618, 0.20377016067504883, -0.6359367370605469, -0.25773924589157104, 0.09923374652862549, 0.0864371731877327, 0.14206339418888092, -0.015302784740924835, -0.018401607871055603, 0.015771858394145966, -0.15475128591060638, 0.08951679617166519, -0.22597160935401917, -0.005423989146947861, -0.29316186904907227, 0.09481518715620041, 0.11863047629594803, -0.36859753727912903, -0.407134473323822, -0.1635032296180725, -0.5225752592086792, 0.06637278944253922, -0.08608962595462799, 0.11923575401306152, 0.21649761497974396, -0.2338399738073349, 0.01781785488128662, 0.10352043062448502, 0.011722237803041935, -0.3943250775337219, -0.4328390061855316, 0.3097324073314667, -0.19829079508781433, -0.0202583447098732, -0.0975930392742157, 0.0993562787771225, 0.1535012423992157, 0.18010492622852325, -0.3021252751350403, -0.3374934494495392, -0.08716447651386261, 0.2606467306613922, -0.05001882463693619, -0.07207601517438889, 0.46511414647102356, 0.06387481838464737, -0.24598601460456848, -0.17412588000297546, -0.26490893959999084, 0.16900452971458435, -0.12269187718629837, 0.05551249906420708, -0.052818745374679565, 0.13027125597000122, 0.24479851126670837, 0.41235631704330444, -0.0833241268992424, 0.3876940608024597, 0.2893417477607727, 0.22240552306175232, 0.3753025233745575, -0.2988874912261963, 0.10002176463603973, 0.11859948188066483, -0.06549936532974243, -0.5783889889717102, 0.15686489641666412, 0.18262794613838196, -0.4317496418952942, -0.022466402500867844, 0.12333445250988007, 0.033897362649440765, -0.1456601470708847, 0.11965422332286835, -0.03892110288143158, 0.12276912480592728, 0.2821017801761627, -0.12361949682235718, -0.41194242238998413, -0.055949389934539795, 0.22312580049037933, 0.21649578213691711, 0.2237151861190796, 0.057892683893442154, -0.29863327741622925, -0.1769026815891266, -0.42473670840263367, 0.06674736738204956, 0.28232839703559875, 0.08777341991662979, -0.18968424201011658, -0.3788522183895111, -0.018641047179698944, 0.06595143675804138, 0.6053403615951538, -0.34236785769462585, 0.032315317541360855, -0.01263348013162613, -0.133816659450531, 0.27005839347839355, -0.06283964216709137, 0.13141317665576935, 0.33409830927848816, 0.006725294515490532, 0.04909177124500275, 0.05116184800863266, -0.08342275768518448, -0.022957026958465576, -0.12507827579975128, -0.07068002223968506, -0.43909338116645813, -0.001425463706254959, -0.12836453318595886, -0.15632782876491547, 0.04753866791725159, 0.2845698297023773, -0.19811026751995087, 0.33108389377593994, 0.08144219219684601, -0.033367447555065155, 0.1946510672569275, -0.08395402133464813, -0.11552058160305023, 0.3150940537452698, 0.19210492074489594, 0.1406349390745163, 0.058616578578948975, 0.07187927514314651, 0.234235942363739, 0.37554436922073364, -0.35474762320518494, 0.2888830602169037, 0.025589002296328545, -0.202073335647583, 0.07525552064180374, 0.2526266574859619, -0.021657593548297882, -0.12115714699029922, -0.06624677777290344, 0.028765935450792313, -0.3483372628688812, 0.04987344890832901, -0.2689371705055237, 0.03935901075601578, -0.2064054161310196, -0.5031826496124268, 0.5833398699760437, 0.20464560389518738, -0.1905898153781891, 0.6774912476539612, -0.006121277809143066, -0.4502534568309784, 0.14765049517154694, 0.13670453429222107, 0.7579374313354492, 0.1421300619840622, 0.1564554125070572, -0.09129628539085388, 0.05885355919599533, 0.15061406791210175, -0.2966957688331604, 0.1737823486328125, -0.13188053667545319, -0.24962709844112396, 0.011663870885968208, -0.11263635754585266, -0.050184354186058044, -0.09543474018573761, -0.37690314650535583, -0.050875965505838394, 0.10573801398277283, 0.06950421631336212, 0.007805759087204933, -0.04785812646150589, -0.21026399731636047, -0.26739501953125, 0.13644017279148102, 0.2834615707397461, 0.07439908385276794, 0.08673936873674393, -0.17079928517341614, -0.0007110573351383209, -0.05281497538089752, 0.046415701508522034, -0.02075915038585663, -0.10799768567085266, -0.22326037287712097, 0.32901209592819214, -0.19330208003520966, 0.19800211489200592, -0.09337502717971802, 0.10469702631235123, 0.2071964293718338, -0.03562883660197258, -0.2932796776294708, 0.17221802473068237, 0.2006002962589264, 0.35167649388313293, 0.022966478019952774, -0.21966968476772308, 0.3400490880012512, -0.08778265118598938, 0.007199726998806, -0.20048579573631287, -0.376569002866745, -0.3671256899833679, -0.0494527742266655, -0.07472449541091919, -0.022295057773590088, -0.24736927449703217, -0.24346819519996643, 0.26268795132637024, -0.17620611190795898, -0.07113183289766312, 0.2862415015697479, 0.08105454593896866, -0.16128265857696533, 0.11654764413833618, -0.1775023341178894, -0.26888707280158997, 0.001819787546992302, 0.1276203691959381, -0.011063788086175919, 0.09637501835823059, 0.23636633157730103, -0.2155626118183136, -0.26682811975479126, -0.23152324557304382, -0.06517800688743591, 0.11511966586112976, -0.04633359983563423, 0.14328455924987793, -0.17880509793758392, -0.029405295848846436, 0.05474071949720383, 0.16488130390644073, 0.30088067054748535, 0.12785787880420685, -0.2226874679327011, -0.0011167898774147034, -0.5044999122619629, 0.038136087357997894, -0.4133542478084564, 0.3846451938152313, -0.23696944117546082, -0.04268131032586098, 0.129196897149086, 0.016695991158485413, -0.47086071968078613, -0.15066224336624146, -0.12045435607433319, 0.10989382117986679, -0.07789773494005203, 0.22494256496429443, 0.08280131965875626, -0.15177160501480103, 0.07299723476171494, 0.2611101567745209, -0.2689465284347534, -0.336862176656723, 0.109377920627594, 0.06439442932605743, 0.11954276263713837, 0.011668499559164047, -0.16631445288658142, -0.10781575739383698, -0.015717431902885437, -0.023488111793994904, 0.1279171109199524, 0.2487097680568695, -0.09661637246608734, 0.3192889094352722, 0.08589235693216324, -0.2786887288093567, -0.08906024694442749, 0.13323095440864563, 0.14382778108119965, 0.04110563546419144, -0.29455503821372986, 0.25122949481010437, -0.38616564869880676, -0.011566758155822754, 0.14146853983402252, 0.16632696986198425, -0.22391630709171295, 0.23270535469055176, 0.09703481197357178, -0.04714850336313248, 0.14617174863815308, 0.5435996651649475, 0.19386331737041473, -0.14255912601947784, -0.23504765331745148, -0.00877666287124157, 0.01712401770055294, 0.3567288815975189, -0.019204773008823395, 0.02367214858531952, -0.049462925642728806, -0.18542568385601044, 0.19572509825229645, 0.19688300788402557, 0.3556790053844452, -0.03462197259068489, 0.4026302099227905, 0.21185007691383362, 0.4091232120990753, -0.4697825312614441, 0.019023742526769638, -0.10635145008563995, -0.012167718261480331, 0.0636541023850441, 0.46190664172172546, 0.20079819858074188, 0.1467922180891037, 0.4798412322998047, 0.10817504674196243, 0.4889923930168152, 0.22797855734825134, -0.010781485587358475, -0.25782740116119385, 0.04299500957131386, 0.31444770097732544, 0.2231995165348053, -0.11882762610912323, 0.006059002131223679, 0.17643827199935913, 0.15262815356254578, -0.31344711780548096, -0.10193144530057907, 0.17804978787899017, -0.29061391949653625, -0.298808217048645, 0.0033742832019925117, 0.022346477955579758, -0.12794603407382965, -0.033904556185007095, 0.1416100561618805, -0.03111710026860237, 0.11399953812360764, 0.4670911133289337, 0.007485918700695038, 0.011676684021949768, 0.11428605765104294, 0.21385174989700317, 0.21843180060386658, 0.29384830594062805, -0.3160512447357178, 0.018557406961917877, -0.27256715297698975, -0.30404481291770935, 0.25215813517570496, 0.37795543670654297, 0.1660504788160324, 0.20709313452243805, 0.14868910610675812, -0.18501202762126923, -0.021073102951049805, -0.06539813429117203, -0.2905963957309723, 0.3020141124725342, 0.09533132612705231, -0.11920927464962006, 0.06128092482686043, 0.2580031454563141, -0.1820298731327057, 0.3223280906677246, -0.07678286731243134, -0.0034117326140403748, -0.0779549777507782, -0.22244301438331604, 0.3149872422218323, -0.2141404151916504, 0.19070877134799957, 0.09826086461544037, -0.2678946554660797, -0.01540201622992754, 0.1772359162569046, -0.25106459856033325, 0.15866535902023315, -0.04167729243636131, 0.15572789311408997, 0.1712244302034378, 0.3777863085269928, 0.07268102467060089, -0.20341068506240845, -0.30144885182380676, -0.18324577808380127, -0.5619308352470398, 0.025432392954826355, 0.22040778398513794, 0.04990066587924957, 0.10996721684932709, 0.14793236553668976, -0.022857628762722015, -0.11340826749801636, 0.061698734760284424, -0.20864802598953247, 0.01972018927335739, -0.051200442016124725, -0.3527635633945465, 0.0931432843208313, 0.06344939023256302, 0.06705322861671448, 0.213344544172287, -0.38274964690208435, 0.06234153360128403, 0.27660414576530457, 0.24087202548980713, -0.24452374875545502, -0.0861004963517189, 0.11884395778179169, 0.3167039155960083, 0.42728036642074585, 0.07261396199464798, 0.1616341471672058, -0.06696118414402008, 0.02689342014491558, -0.22177571058273315, -0.34896379709243774, -0.14770621061325073, -0.3029090464115143, -0.06860175728797913, 0.19262553751468658, -0.33065685629844666, -0.14734682440757751, -0.22474828362464905, 0.07541319727897644, -0.2344047725200653, 0.07550004124641418, -0.30161839723587036, 0.04045519977807999, -0.11172259598970413, 0.17917366325855255, 0.10212185978889465, 0.26704341173171997, 0.17091242969036102, 0.08729773759841919, -0.439078688621521, -0.2390035092830658, 0.41564494371414185, 0.11863798648118973, -0.2784988284111023, 0.01911115273833275, 0.21370311081409454, 0.43907761573791504, -0.036563776433467865, -0.7400293350219727, -0.08239258080720901, 0.21691052615642548, 0.05065310746431351, -0.17748014628887177, 0.2941868305206299, -0.0882834643125534, 0.0565592385828495, -0.11784398555755615, 0.3190433084964752, 0.08383834362030029, -0.08695267885923386, -0.16984274983406067, -0.2887037396430969 ]